Merge remote-tracking branch 'origin/master' into automation-branching-ux-updates
This commit is contained in:
commit
dfc0493177
|
@ -22,7 +22,6 @@ export function price(): PurchasedPrice {
|
||||||
currency: "usd",
|
currency: "usd",
|
||||||
duration: PriceDuration.MONTHLY,
|
duration: PriceDuration.MONTHLY,
|
||||||
priceId: "price_123",
|
priceId: "price_123",
|
||||||
dayPasses: undefined,
|
|
||||||
isPerUser: true,
|
isPerUser: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,11 +49,6 @@ export function quotas(): Quotas {
|
||||||
value: 1,
|
value: 1,
|
||||||
triggers: [],
|
triggers: [],
|
||||||
},
|
},
|
||||||
dayPasses: {
|
|
||||||
name: "Queries",
|
|
||||||
value: 1,
|
|
||||||
triggers: [],
|
|
||||||
},
|
|
||||||
budibaseAICredits: {
|
budibaseAICredits: {
|
||||||
name: "Budibase AI Credits",
|
name: "Budibase AI Credits",
|
||||||
value: 1,
|
value: 1,
|
||||||
|
|
|
@ -15,7 +15,6 @@ export const usage = (users: number = 0, creators: number = 0): QuotaUsage => {
|
||||||
monthly: {
|
monthly: {
|
||||||
"01-2023": {
|
"01-2023": {
|
||||||
automations: 0,
|
automations: 0,
|
||||||
dayPasses: 0,
|
|
||||||
queries: 0,
|
queries: 0,
|
||||||
budibaseAICredits: 0,
|
budibaseAICredits: 0,
|
||||||
triggers: {},
|
triggers: {},
|
||||||
|
@ -45,14 +44,12 @@ export const usage = (users: number = 0, creators: number = 0): QuotaUsage => {
|
||||||
},
|
},
|
||||||
"02-2023": {
|
"02-2023": {
|
||||||
automations: 0,
|
automations: 0,
|
||||||
dayPasses: 0,
|
|
||||||
queries: 0,
|
queries: 0,
|
||||||
budibaseAICredits: 0,
|
budibaseAICredits: 0,
|
||||||
triggers: {},
|
triggers: {},
|
||||||
},
|
},
|
||||||
current: {
|
current: {
|
||||||
automations: 0,
|
automations: 0,
|
||||||
dayPasses: 0,
|
|
||||||
queries: 0,
|
queries: 0,
|
||||||
budibaseAICredits: 0,
|
budibaseAICredits: 0,
|
||||||
triggers: {},
|
triggers: {},
|
||||||
|
|
|
@ -1,81 +0,0 @@
|
||||||
<script>
|
|
||||||
import { Modal, ModalContent, Body, TooltipWrapper } from "@budibase/bbui"
|
|
||||||
import { licensing, auth, admin } from "stores/portal"
|
|
||||||
|
|
||||||
export let onDismiss = () => {}
|
|
||||||
export let onShow = () => {}
|
|
||||||
|
|
||||||
let dayPassModal
|
|
||||||
|
|
||||||
$: accountUrl = $admin.accountPortalUrl
|
|
||||||
$: upgradeUrl = `${accountUrl}/portal/upgrade`
|
|
||||||
|
|
||||||
$: daysRemaining = $licensing.quotaResetDaysRemaining
|
|
||||||
$: quotaResetDate = $licensing.quotaResetDate
|
|
||||||
$: dayPassesUsed =
|
|
||||||
$licensing.usageMetrics?.dayPasses > 100
|
|
||||||
? 100
|
|
||||||
: $licensing.usageMetrics?.dayPasses
|
|
||||||
$: dayPassesTitle =
|
|
||||||
dayPassesUsed >= 100
|
|
||||||
? "You have run out of Day Passes"
|
|
||||||
: "You are almost out of Day Passes"
|
|
||||||
$: dayPassesBody =
|
|
||||||
dayPassesUsed >= 100
|
|
||||||
? "Upgrade your account to bring your apps back online."
|
|
||||||
: "Upgrade your account to prevent your apps from going offline."
|
|
||||||
|
|
||||||
export function show() {
|
|
||||||
dayPassModal.show()
|
|
||||||
}
|
|
||||||
|
|
||||||
export function hide() {
|
|
||||||
dayPassModal.hide()
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<Modal bind:this={dayPassModal} on:show={onShow} on:hide={onDismiss}>
|
|
||||||
{#if $auth.user.accountPortalAccess}
|
|
||||||
<ModalContent
|
|
||||||
title={dayPassesTitle}
|
|
||||||
size="M"
|
|
||||||
confirmText="Upgrade"
|
|
||||||
onConfirm={() => {
|
|
||||||
window.location.href = upgradeUrl
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Body>
|
|
||||||
You have used <span class="daypass_percent">{dayPassesUsed}%</span> of
|
|
||||||
your plans Day Passes with {daysRemaining} day{daysRemaining == 1
|
|
||||||
? ""
|
|
||||||
: "s"} remaining.
|
|
||||||
<span class="tooltip">
|
|
||||||
<TooltipWrapper tooltip={quotaResetDate} size="S" />
|
|
||||||
</span>
|
|
||||||
</Body>
|
|
||||||
<Body>{dayPassesBody}</Body>
|
|
||||||
</ModalContent>
|
|
||||||
{:else}
|
|
||||||
<ModalContent title={dayPassesTitle} size="M" showCancelButton={false}>
|
|
||||||
<Body>
|
|
||||||
You have used <span class="daypass_percent">{dayPassesUsed}%</span> of
|
|
||||||
your plans Day Passes with {daysRemaining} day{daysRemaining == 1
|
|
||||||
? ""
|
|
||||||
: "s"} remaining.
|
|
||||||
<span class="tooltip">
|
|
||||||
<TooltipWrapper tooltip={quotaResetDate} size="S" />
|
|
||||||
</span>
|
|
||||||
</Body>
|
|
||||||
<Body>Please contact your account holder to upgrade.</Body>
|
|
||||||
</ModalContent>
|
|
||||||
{/if}
|
|
||||||
</Modal>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.tooltip {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
.tooltip :global(.icon-container) {
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
</style>
|
|
|
@ -1,7 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { licensing, auth, temporalStore } from "stores/portal"
|
import { licensing, auth, temporalStore } from "stores/portal"
|
||||||
import { onMount } from "svelte"
|
import { onMount } from "svelte"
|
||||||
import DayPassWarningModal from "./DayPassWarningModal.svelte"
|
|
||||||
import PaymentFailedModal from "./PaymentFailedModal.svelte"
|
import PaymentFailedModal from "./PaymentFailedModal.svelte"
|
||||||
import AccountDowngradedModal from "./AccountDowngradedModal.svelte"
|
import AccountDowngradedModal from "./AccountDowngradedModal.svelte"
|
||||||
import { ExpiringKeys } from "./constants"
|
import { ExpiringKeys } from "./constants"
|
||||||
|
@ -12,7 +11,6 @@
|
||||||
|
|
||||||
let queuedBanners = []
|
let queuedBanners = []
|
||||||
let queuedModals = []
|
let queuedModals = []
|
||||||
let dayPassModal
|
|
||||||
let paymentFailedModal
|
let paymentFailedModal
|
||||||
let accountDowngradeModal
|
let accountDowngradeModal
|
||||||
let userLoaded = false
|
let userLoaded = false
|
||||||
|
@ -26,18 +24,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const dismissableModals = [
|
const dismissableModals = [
|
||||||
{
|
|
||||||
key: ExpiringKeys.LICENSING_DAYPASS_WARNING_MODAL,
|
|
||||||
criteria: () => {
|
|
||||||
return $licensing?.usageMetrics?.dayPasses >= 90
|
|
||||||
},
|
|
||||||
action: () => {
|
|
||||||
dayPassModal.show()
|
|
||||||
},
|
|
||||||
cache: () => {
|
|
||||||
defaultCacheFn(ExpiringKeys.LICENSING_DAYPASS_WARNING_MODAL)
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: ExpiringKeys.LICENSING_PAYMENT_FAILED,
|
key: ExpiringKeys.LICENSING_PAYMENT_FAILED,
|
||||||
criteria: () => {
|
criteria: () => {
|
||||||
|
@ -102,7 +88,6 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<DayPassWarningModal bind:this={dayPassModal} onDismiss={showNextModal} />
|
|
||||||
<PaymentFailedModal bind:this={paymentFailedModal} onDismiss={showNextModal} />
|
<PaymentFailedModal bind:this={paymentFailedModal} onDismiss={showNextModal} />
|
||||||
<AccountDowngradedModal
|
<AccountDowngradedModal
|
||||||
bind:this={accountDowngradeModal}
|
bind:this={accountDowngradeModal}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
export const ExpiringKeys = {
|
export const ExpiringKeys = {
|
||||||
LICENSING_DAYPASS_WARNING_MODAL: "licensing_daypass_warning_90_modal",
|
|
||||||
LICENSING_DAYPASS_WARNING_BANNER: "licensing_daypass_warning_90_banner",
|
|
||||||
LICENSING_PAYMENT_FAILED: "licensing_payment_failed",
|
LICENSING_PAYMENT_FAILED: "licensing_payment_failed",
|
||||||
LICENSING_ACCOUNT_DOWNGRADED_MODAL: "licensing_account_downgraded_modal",
|
LICENSING_ACCOUNT_DOWNGRADED_MODAL: "licensing_account_downgraded_modal",
|
||||||
LICENSING_APP_LIMIT_MODAL: "licensing_app_limit_modal",
|
LICENSING_APP_LIMIT_MODAL: "licensing_app_limit_modal",
|
||||||
|
|
|
@ -84,45 +84,6 @@ const buildUsageInfoBanner = (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const buildDayPassBanner = () => {
|
|
||||||
const appAuth = get(auth)
|
|
||||||
const appLicensing = get(licensing)
|
|
||||||
if (get(licensing)?.usageMetrics["dayPasses"] >= 100) {
|
|
||||||
return {
|
|
||||||
key: "max_dayPasses",
|
|
||||||
type: BANNER_TYPES.NEGATIVE,
|
|
||||||
criteria: () => {
|
|
||||||
return true
|
|
||||||
},
|
|
||||||
message: `Your apps are currently offline. You have exceeded your plans limit for Day Passes. ${
|
|
||||||
appAuth.user.accountPortalAccess
|
|
||||||
? ""
|
|
||||||
: "Please contact your account holder to upgrade."
|
|
||||||
}`,
|
|
||||||
...upgradeAction(),
|
|
||||||
showCloseButton: false,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return buildUsageInfoBanner(
|
|
||||||
"dayPasses",
|
|
||||||
"Day Passes",
|
|
||||||
ExpiringKeys.LICENSING_DAYPASS_WARNING_BANNER,
|
|
||||||
90,
|
|
||||||
`You have used ${
|
|
||||||
appLicensing?.usageMetrics["dayPasses"]
|
|
||||||
}% of your monthly usage of Day Passes with ${
|
|
||||||
appLicensing?.quotaResetDaysRemaining
|
|
||||||
} day${
|
|
||||||
get(licensing).quotaResetDaysRemaining == 1 ? "" : "s"
|
|
||||||
} remaining. All apps will be taken offline if this limit is reached. ${
|
|
||||||
appAuth.user.accountPortalAccess
|
|
||||||
? ""
|
|
||||||
: "Please contact your account holder to upgrade."
|
|
||||||
}`
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
const buildPaymentFailedBanner = () => {
|
const buildPaymentFailedBanner = () => {
|
||||||
return {
|
return {
|
||||||
key: "payment_Failed",
|
key: "payment_Failed",
|
||||||
|
@ -166,7 +127,6 @@ const buildUsersAboveLimitBanner = EXPIRY_KEY => {
|
||||||
export const getBanners = () => {
|
export const getBanners = () => {
|
||||||
return [
|
return [
|
||||||
buildPaymentFailedBanner(),
|
buildPaymentFailedBanner(),
|
||||||
buildDayPassBanner(ExpiringKeys.LICENSING_DAYPASS_WARNING_BANNER),
|
|
||||||
buildUsageInfoBanner(
|
buildUsageInfoBanner(
|
||||||
"rows",
|
"rows",
|
||||||
"Rows",
|
"Rows",
|
||||||
|
|
|
@ -68,7 +68,6 @@ export const OnboardingType = {
|
||||||
|
|
||||||
export const PlanModel = {
|
export const PlanModel = {
|
||||||
PER_USER: "perUser",
|
PER_USER: "perUser",
|
||||||
DAY_PASS: "dayPass",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const ChangelogURL = "https://docs.budibase.com/changelog"
|
export const ChangelogURL = "https://docs.budibase.com/changelog"
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
</Body>
|
</Body>
|
||||||
</Layout>
|
</Layout>
|
||||||
<Divider />
|
<Divider />
|
||||||
{#if $licensing.usageMetrics?.dayPasses >= 100 || $licensing.errUserLimit}
|
{#if $licensing.errUserLimit}
|
||||||
<div>
|
<div>
|
||||||
<Layout gap="S" justifyItems="center">
|
<Layout gap="S" justifyItems="center">
|
||||||
<img class="spaceman" alt="spaceman" src={Spaceman} />
|
<img class="spaceman" alt="spaceman" src={Spaceman} />
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
const upgradeUrl = `${$admin.accountPortalUrl}/portal/upgrade`
|
const upgradeUrl = `${$admin.accountPortalUrl}/portal/upgrade`
|
||||||
const manageUrl = `${$admin.accountPortalUrl}/portal/billing`
|
const manageUrl = `${$admin.accountPortalUrl}/portal/billing`
|
||||||
|
|
||||||
const WARN_USAGE = ["Queries", "Automations", "Rows", "Day Passes", "Users"]
|
const WARN_USAGE = ["Queries", "Automations", "Rows", "Users"]
|
||||||
const oneDayInSeconds = 86400
|
const oneDayInSeconds = 86400
|
||||||
|
|
||||||
const EXCLUDE_QUOTAS = {
|
const EXCLUDE_QUOTAS = {
|
||||||
|
@ -36,9 +36,6 @@
|
||||||
Users: license => {
|
Users: license => {
|
||||||
return license.plan.model !== PlanModel.PER_USER
|
return license.plan.model !== PlanModel.PER_USER
|
||||||
},
|
},
|
||||||
"Day Passes": license => {
|
|
||||||
return license.plan.model !== PlanModel.DAY_PASS
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function excludeQuota(name) {
|
function excludeQuota(name) {
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
"./manifest.json": "./manifest.json"
|
"./manifest.json": "./manifest.json"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "vite build",
|
||||||
"dev": "rollup -cw"
|
"dev": "vite build --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@budibase/bbui": "0.0.0",
|
"@budibase/bbui": "0.0.0",
|
||||||
|
@ -36,19 +36,9 @@
|
||||||
"svelte-spa-router": "^4.0.1"
|
"svelte-spa-router": "^4.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-alias": "^5.1.0",
|
"@sveltejs/vite-plugin-svelte": "1.4.0",
|
||||||
"@rollup/plugin-commonjs": "^25.0.7",
|
"vite": "^4.5.0",
|
||||||
"@rollup/plugin-image": "^3.0.3",
|
"vite-plugin-css-injected-by-js": "3.5.2"
|
||||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
||||||
"postcss": "^8.4.35",
|
|
||||||
"rollup": "^4.9.6",
|
|
||||||
"rollup-plugin-json": "^4.0.0",
|
|
||||||
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
||||||
"rollup-plugin-postcss": "^4.0.2",
|
|
||||||
"rollup-plugin-svelte": "^7.1.6",
|
|
||||||
"rollup-plugin-svg": "^2.0.0",
|
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
|
||||||
"rollup-plugin-visualizer": "^5.12.0"
|
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"loader-utils": "1.4.1"
|
"loader-utils": "1.4.1"
|
||||||
|
|
|
@ -1,117 +0,0 @@
|
||||||
import commonjs from "@rollup/plugin-commonjs"
|
|
||||||
import resolve from "@rollup/plugin-node-resolve"
|
|
||||||
import alias from "@rollup/plugin-alias"
|
|
||||||
import svelte from "rollup-plugin-svelte"
|
|
||||||
import { terser } from "rollup-plugin-terser"
|
|
||||||
import postcss from "rollup-plugin-postcss"
|
|
||||||
import svg from "rollup-plugin-svg"
|
|
||||||
import image from "@rollup/plugin-image"
|
|
||||||
import json from "rollup-plugin-json"
|
|
||||||
import nodePolyfills from "rollup-plugin-polyfill-node"
|
|
||||||
import path from "path"
|
|
||||||
import { visualizer } from "rollup-plugin-visualizer"
|
|
||||||
|
|
||||||
const production = !process.env.ROLLUP_WATCH
|
|
||||||
const ignoredWarnings = [
|
|
||||||
"unused-export-let",
|
|
||||||
"css-unused-selector",
|
|
||||||
"module-script-reactive-declaration",
|
|
||||||
"a11y-no-onchange",
|
|
||||||
"a11y-click-events-have-key-events",
|
|
||||||
]
|
|
||||||
|
|
||||||
const devPaths = production
|
|
||||||
? []
|
|
||||||
: [
|
|
||||||
{
|
|
||||||
find: "@budibase/shared-core",
|
|
||||||
replacement: path.resolve("../shared-core/dist/index"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "@budibase/types",
|
|
||||||
replacement: path.resolve("../types/dist/index"),
|
|
||||||
},
|
|
||||||
]
|
|
||||||
|
|
||||||
export default {
|
|
||||||
input: "src/index.js",
|
|
||||||
output: [
|
|
||||||
{
|
|
||||||
sourcemap: false,
|
|
||||||
format: "iife",
|
|
||||||
file: `./dist/budibase-client.js`,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
onwarn(warning, warn) {
|
|
||||||
if (
|
|
||||||
warning.code === "THIS_IS_UNDEFINED" ||
|
|
||||||
warning.code === "CIRCULAR_DEPENDENCY" ||
|
|
||||||
warning.code === "EVAL"
|
|
||||||
) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
warn(warning)
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
alias({
|
|
||||||
entries: [
|
|
||||||
{
|
|
||||||
find: "manifest.json",
|
|
||||||
replacement: path.resolve("./manifest.json"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "api",
|
|
||||||
replacement: path.resolve("./src/api"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "components",
|
|
||||||
replacement: path.resolve("./src/components"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "stores",
|
|
||||||
replacement: path.resolve("./src/stores"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "utils",
|
|
||||||
replacement: path.resolve("./src/utils"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "constants",
|
|
||||||
replacement: path.resolve("./src/constants"),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
find: "sdk",
|
|
||||||
replacement: path.resolve("./src/sdk"),
|
|
||||||
},
|
|
||||||
...devPaths,
|
|
||||||
],
|
|
||||||
}),
|
|
||||||
svelte({
|
|
||||||
emitCss: true,
|
|
||||||
onwarn: (warning, handler) => {
|
|
||||||
// Ignore some warnings
|
|
||||||
if (!ignoredWarnings.includes(warning.code)) {
|
|
||||||
handler(warning)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
postcss(),
|
|
||||||
commonjs(),
|
|
||||||
nodePolyfills(),
|
|
||||||
resolve({
|
|
||||||
preferBuiltins: true,
|
|
||||||
browser: true,
|
|
||||||
dedupe: ["svelte", "svelte/internal"],
|
|
||||||
}),
|
|
||||||
svg(),
|
|
||||||
image({
|
|
||||||
exclude: "**/*.svg",
|
|
||||||
}),
|
|
||||||
json(),
|
|
||||||
production && terser(),
|
|
||||||
!production && visualizer(),
|
|
||||||
],
|
|
||||||
watch: {
|
|
||||||
clearScreen: false,
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -10,7 +10,7 @@ import {
|
||||||
eventStore,
|
eventStore,
|
||||||
hoverStore,
|
hoverStore,
|
||||||
} from "./stores"
|
} from "./stores"
|
||||||
import loadSpectrumIcons from "@budibase/bbui/spectrum-icons-rollup.js"
|
import loadSpectrumIcons from "@budibase/bbui/spectrum-icons-vite.js"
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
import { initWebsocket } from "./websocket.js"
|
import { initWebsocket } from "./websocket.js"
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"target": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"resolveJsonModule": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@budibase/*": [
|
"@budibase/*": [
|
||||||
"../*/src/index.ts",
|
"../*/src/index.ts",
|
||||||
|
@ -12,6 +16,5 @@
|
||||||
],
|
],
|
||||||
"*": ["./src/*"]
|
"*": ["./src/*"]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"include": ["src/**/*"]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,89 @@
|
||||||
|
import { svelte } from "@sveltejs/vite-plugin-svelte"
|
||||||
|
import { defineConfig } from "vite"
|
||||||
|
import path from "path"
|
||||||
|
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"
|
||||||
|
|
||||||
|
const ignoredWarnings = [
|
||||||
|
"unused-export-let",
|
||||||
|
"css-unused-selector",
|
||||||
|
"module-script-reactive-declaration",
|
||||||
|
"a11y-no-onchange",
|
||||||
|
"a11y-click-events-have-key-events",
|
||||||
|
]
|
||||||
|
|
||||||
|
export default defineConfig(({ mode }) => {
|
||||||
|
const isProduction = mode === "production"
|
||||||
|
|
||||||
|
return {
|
||||||
|
server: {
|
||||||
|
open: false,
|
||||||
|
},
|
||||||
|
build: {
|
||||||
|
lib: {
|
||||||
|
entry: "src/index.js",
|
||||||
|
formats: ["iife"],
|
||||||
|
outDir: "dist",
|
||||||
|
name: "budibase_client",
|
||||||
|
fileName: () => "budibase-client.js",
|
||||||
|
minify: isProduction,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
plugins: [
|
||||||
|
svelte({
|
||||||
|
emitCss: true,
|
||||||
|
onwarn: (warning, handler) => {
|
||||||
|
// Ignore some warnings
|
||||||
|
if (!ignoredWarnings.includes(warning.code)) {
|
||||||
|
handler(warning)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
cssInjectedByJsPlugin(),
|
||||||
|
],
|
||||||
|
resolve: {
|
||||||
|
dedupe: ["svelte", "svelte/internal"],
|
||||||
|
alias: [
|
||||||
|
{
|
||||||
|
find: "manifest.json",
|
||||||
|
replacement: path.resolve("./manifest.json"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "api",
|
||||||
|
replacement: path.resolve("./src/api"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "components",
|
||||||
|
replacement: path.resolve("./src/components"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "stores",
|
||||||
|
replacement: path.resolve("./src/stores"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "utils",
|
||||||
|
replacement: path.resolve("./src/utils"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "constants",
|
||||||
|
replacement: path.resolve("./src/constants"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "sdk",
|
||||||
|
replacement: path.resolve("./src/sdk"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "@budibase/types",
|
||||||
|
replacement: path.resolve("../types/src"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "@budibase/shared-core",
|
||||||
|
replacement: path.resolve("../shared-core/src"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
find: "@budibase/bbui",
|
||||||
|
replacement: path.resolve("../bbui/src"),
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
})
|
|
@ -1 +1 @@
|
||||||
Subproject commit 25dd40ee12b048307b558ebcedb36548d6e042cd
|
Subproject commit e8ef2205de8bca5adcf18d07573096086aa9a606
|
|
@ -44,7 +44,6 @@ export interface StaticUsage {
|
||||||
export interface MonthlyUsage {
|
export interface MonthlyUsage {
|
||||||
[MonthlyQuotaName.QUERIES]: number
|
[MonthlyQuotaName.QUERIES]: number
|
||||||
[MonthlyQuotaName.AUTOMATIONS]: number
|
[MonthlyQuotaName.AUTOMATIONS]: number
|
||||||
[MonthlyQuotaName.DAY_PASSES]: number
|
|
||||||
[MonthlyQuotaName.BUDIBASE_AI_CREDITS]: number
|
[MonthlyQuotaName.BUDIBASE_AI_CREDITS]: number
|
||||||
triggers: {
|
triggers: {
|
||||||
[key in MonthlyQuotaName]?: QuotaTriggers
|
[key in MonthlyQuotaName]?: QuotaTriggers
|
||||||
|
|
|
@ -62,7 +62,6 @@ export interface User extends Document {
|
||||||
password?: string
|
password?: string
|
||||||
status?: UserStatus
|
status?: UserStatus
|
||||||
createdAt?: number // override the default createdAt behaviour - users sdk historically set this to Date.now()
|
createdAt?: number // override the default createdAt behaviour - users sdk historically set this to Date.now()
|
||||||
dayPassRecordedAt?: string
|
|
||||||
userGroups?: string[]
|
userGroups?: string[]
|
||||||
onboardedAt?: string
|
onboardedAt?: string
|
||||||
freeTrialConfirmedAt?: string
|
freeTrialConfirmedAt?: string
|
||||||
|
|
|
@ -38,7 +38,6 @@ export interface AvailablePrice {
|
||||||
export enum PlanModel {
|
export enum PlanModel {
|
||||||
PER_USER = "perUser",
|
PER_USER = "perUser",
|
||||||
PER_CREATOR_PER_USER = "per_creator_per_user",
|
PER_CREATOR_PER_USER = "per_creator_per_user",
|
||||||
DAY_PASS = "dayPass",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PurchasedPlan {
|
export interface PurchasedPlan {
|
||||||
|
@ -49,7 +48,6 @@ export interface PurchasedPlan {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PurchasedPrice extends AvailablePrice {
|
export interface PurchasedPrice extends AvailablePrice {
|
||||||
dayPasses: number | undefined
|
|
||||||
/** @deprecated - now at the plan level via model */
|
/** @deprecated - now at the plan level via model */
|
||||||
isPerUser: boolean
|
isPerUser: boolean
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,6 @@ export enum StaticQuotaName {
|
||||||
export enum MonthlyQuotaName {
|
export enum MonthlyQuotaName {
|
||||||
QUERIES = "queries",
|
QUERIES = "queries",
|
||||||
AUTOMATIONS = "automations",
|
AUTOMATIONS = "automations",
|
||||||
DAY_PASSES = "dayPasses",
|
|
||||||
BUDIBASE_AI_CREDITS = "budibaseAICredits",
|
BUDIBASE_AI_CREDITS = "budibaseAICredits",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +62,6 @@ export type PlanQuotas = { [key in PlanType]: Quotas | undefined }
|
||||||
export type MonthlyQuotas = {
|
export type MonthlyQuotas = {
|
||||||
[MonthlyQuotaName.QUERIES]: Quota
|
[MonthlyQuotaName.QUERIES]: Quota
|
||||||
[MonthlyQuotaName.AUTOMATIONS]: Quota
|
[MonthlyQuotaName.AUTOMATIONS]: Quota
|
||||||
[MonthlyQuotaName.DAY_PASSES]: Quota
|
|
||||||
[MonthlyQuotaName.BUDIBASE_AI_CREDITS]: Quota
|
[MonthlyQuotaName.BUDIBASE_AI_CREDITS]: Quota
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
jest.mock("nodemailer")
|
jest.mock("nodemailer")
|
||||||
import { TestConfiguration, mocks } from "../../../../tests"
|
import { TestConfiguration } from "../../../../tests"
|
||||||
import { events } from "@budibase/backend-core"
|
import { events } from "@budibase/backend-core"
|
||||||
|
|
||||||
describe("/api/global/self", () => {
|
describe("/api/global/self", () => {
|
||||||
|
@ -39,7 +39,6 @@ describe("/api/global/self", () => {
|
||||||
const dbUser = (await config.getUser(user.email))!
|
const dbUser = (await config.getUser(user.email))!
|
||||||
|
|
||||||
user._rev = dbUser._rev
|
user._rev = dbUser._rev
|
||||||
user.dayPassRecordedAt = mocks.date.MOCK_DATE.toISOString()
|
|
||||||
expect(res.body._id).toBe(user._id)
|
expect(res.body._id).toBe(user._id)
|
||||||
expect(events.user.updated).toHaveBeenCalledTimes(1)
|
expect(events.user.updated).toHaveBeenCalledTimes(1)
|
||||||
expect(events.user.updated).toHaveBeenCalledWith(dbUser)
|
expect(events.user.updated).toHaveBeenCalledWith(dbUser)
|
||||||
|
@ -62,7 +61,6 @@ describe("/api/global/self", () => {
|
||||||
const dbUser = (await config.getUser(user.email))!
|
const dbUser = (await config.getUser(user.email))!
|
||||||
|
|
||||||
user._rev = dbUser._rev
|
user._rev = dbUser._rev
|
||||||
user.dayPassRecordedAt = mocks.date.MOCK_DATE.toISOString()
|
|
||||||
expect(dbUser.onboardedAt).toBe("2023-03-07T14:10:54.869Z")
|
expect(dbUser.onboardedAt).toBe("2023-03-07T14:10:54.869Z")
|
||||||
expect(dbUser.freeTrialConfirmedAt).toBe("2024-03-17T14:10:54.869Z")
|
expect(dbUser.freeTrialConfirmedAt).toBe("2024-03-17T14:10:54.869Z")
|
||||||
expect(res.body._id).toBe(user._id)
|
expect(res.body._id).toBe(user._id)
|
||||||
|
|
110
yarn.lock
110
yarn.lock
|
@ -4075,13 +4075,6 @@
|
||||||
resolved "https://registry.yarnpkg.com/@redis/time-series/-/time-series-1.0.4.tgz#af85eb080f6934580e4d3b58046026b6c2b18717"
|
resolved "https://registry.yarnpkg.com/@redis/time-series/-/time-series-1.0.4.tgz#af85eb080f6934580e4d3b58046026b6c2b18717"
|
||||||
integrity sha512-ThUIgo2U/g7cCuZavucQTQzA9g9JbDDY2f64u3AbAoz/8vE2lt2U37LamDUVChhaDA3IRT9R6VvJwqnUfTJzng==
|
integrity sha512-ThUIgo2U/g7cCuZavucQTQzA9g9JbDDY2f64u3AbAoz/8vE2lt2U37LamDUVChhaDA3IRT9R6VvJwqnUfTJzng==
|
||||||
|
|
||||||
"@rollup/plugin-alias@^5.1.0":
|
|
||||||
version "5.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-5.1.0.tgz#99a94accc4ff9a3483be5baeedd5d7da3b597e93"
|
|
||||||
integrity sha512-lpA3RZ9PdIG7qqhEfv79tBffNaoDuukFDrmhLqg9ifv99u/ehn+lOg30x2zmhf8AQqQUZaMk/B9fZraQ6/acDQ==
|
|
||||||
dependencies:
|
|
||||||
slash "^4.0.0"
|
|
||||||
|
|
||||||
"@rollup/plugin-commonjs@16.0.0", "@rollup/plugin-commonjs@^16.0.0":
|
"@rollup/plugin-commonjs@16.0.0", "@rollup/plugin-commonjs@^16.0.0":
|
||||||
version "16.0.0"
|
version "16.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-16.0.0.tgz#169004d56cd0f0a1d0f35915d31a036b0efe281f"
|
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-16.0.0.tgz#169004d56cd0f0a1d0f35915d31a036b0efe281f"
|
||||||
|
@ -4120,14 +4113,6 @@
|
||||||
is-reference "1.2.1"
|
is-reference "1.2.1"
|
||||||
magic-string "^0.30.3"
|
magic-string "^0.30.3"
|
||||||
|
|
||||||
"@rollup/plugin-image@^3.0.3":
|
|
||||||
version "3.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-image/-/plugin-image-3.0.3.tgz#025b557180bae20f2349ff5130ef2114169feaac"
|
|
||||||
integrity sha512-qXWQwsXpvD4trSb8PeFPFajp8JLpRtqqOeNYRUKnEQNHm7e5UP7fuSRcbjQAJ7wDZBbnJvSdY5ujNBQd9B1iFg==
|
|
||||||
dependencies:
|
|
||||||
"@rollup/pluginutils" "^5.0.1"
|
|
||||||
mini-svg-data-uri "^1.4.4"
|
|
||||||
|
|
||||||
"@rollup/plugin-inject@^5.0.4", "@rollup/plugin-inject@^5.0.5":
|
"@rollup/plugin-inject@^5.0.4", "@rollup/plugin-inject@^5.0.5":
|
||||||
version "5.0.5"
|
version "5.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz#616f3a73fe075765f91c5bec90176608bed277a3"
|
resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz#616f3a73fe075765f91c5bec90176608bed277a3"
|
||||||
|
@ -10885,11 +10870,6 @@ estraverse@^5.1.0, estraverse@^5.2.0:
|
||||||
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
|
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
|
||||||
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
|
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
|
||||||
|
|
||||||
estree-walker@^0.2.1:
|
|
||||||
version "0.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.2.1.tgz#bdafe8095383d8414d5dc2ecf4c9173b6db9412e"
|
|
||||||
integrity sha512-6/I1dwNKk0N9iGOU3ydzAAurz4NPo/ttxZNCqgIVbWFvWyzWBSNonRrJ5CpjDuyBfmM7ENN7WCzUi9aT/UPXXQ==
|
|
||||||
|
|
||||||
estree-walker@^0.5.2:
|
estree-walker@^0.5.2:
|
||||||
version "0.5.2"
|
version "0.5.2"
|
||||||
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39"
|
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39"
|
||||||
|
@ -15653,11 +15633,6 @@ min-indent@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
|
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
|
||||||
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
|
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
|
||||||
|
|
||||||
mini-svg-data-uri@^1.4.4:
|
|
||||||
version "1.4.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/mini-svg-data-uri/-/mini-svg-data-uri-1.4.4.tgz#8ab0aabcdf8c29ad5693ca595af19dd2ead09939"
|
|
||||||
integrity sha512-r9deDe9p5FJUPZAk3A59wGH7Ii9YrjjWw0jmw/liSbHl2CHiyXj6FcDXDu2K3TjVAXqiJdaw3xxwlZZr9E6nHg==
|
|
||||||
|
|
||||||
minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
|
minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
|
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
|
||||||
|
@ -15668,7 +15643,7 @@ minimalistic-crypto-utils@^1.0.1:
|
||||||
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
|
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
|
||||||
integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==
|
integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==
|
||||||
|
|
||||||
"minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
|
"minimatch@2 || 3", minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
|
||||||
version "3.1.2"
|
version "3.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
|
||||||
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
|
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
|
||||||
|
@ -17924,7 +17899,7 @@ postcss-values-parser@^6.0.2:
|
||||||
is-url-superb "^4.0.0"
|
is-url-superb "^4.0.0"
|
||||||
quote-unquote "^1.0.0"
|
quote-unquote "^1.0.0"
|
||||||
|
|
||||||
postcss@^8.1.7, postcss@^8.2.9, postcss@^8.3.11, postcss@^8.4.12, postcss@^8.4.27, postcss@^8.4.29, postcss@^8.4.35, postcss@^8.4.5:
|
postcss@^8.1.7, postcss@^8.2.9, postcss@^8.3.11, postcss@^8.4.12, postcss@^8.4.27, postcss@^8.4.29, postcss@^8.4.5:
|
||||||
version "8.4.41"
|
version "8.4.41"
|
||||||
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.41.tgz#d6104d3ba272d882fe18fc07d15dc2da62fa2681"
|
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.41.tgz#d6104d3ba272d882fe18fc07d15dc2da62fa2681"
|
||||||
integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==
|
integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==
|
||||||
|
@ -19245,13 +19220,6 @@ rollup-plugin-inject-process-env@^1.3.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
magic-string "^0.25.7"
|
magic-string "^0.25.7"
|
||||||
|
|
||||||
rollup-plugin-json@^4.0.0:
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-json/-/rollup-plugin-json-4.0.0.tgz#a18da0a4b30bf5ca1ee76ddb1422afbb84ae2b9e"
|
|
||||||
integrity sha512-hgb8N7Cgfw5SZAkb3jf0QXii6QX/FOkiIq2M7BAQIEydjHvTyxXHQiIzZaTFgx1GK0cRCHOCBHIyEkkLdWKxow==
|
|
||||||
dependencies:
|
|
||||||
rollup-pluginutils "^2.5.0"
|
|
||||||
|
|
||||||
rollup-plugin-node-builtins@^2.1.2:
|
rollup-plugin-node-builtins@^2.1.2:
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-node-builtins/-/rollup-plugin-node-builtins-2.1.2.tgz#24a1fed4a43257b6b64371d8abc6ce1ab14597e9"
|
resolved "https://registry.yarnpkg.com/rollup-plugin-node-builtins/-/rollup-plugin-node-builtins-2.1.2.tgz#24a1fed4a43257b6b64371d8abc6ce1ab14597e9"
|
||||||
|
@ -19292,7 +19260,7 @@ rollup-plugin-polyfill-node@^0.13.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
"@rollup/plugin-inject" "^5.0.4"
|
"@rollup/plugin-inject" "^5.0.4"
|
||||||
|
|
||||||
rollup-plugin-postcss@^4.0.0, rollup-plugin-postcss@^4.0.2:
|
rollup-plugin-postcss@^4.0.0:
|
||||||
version "4.0.2"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-postcss/-/rollup-plugin-postcss-4.0.2.tgz#15e9462f39475059b368ce0e49c800fa4b1f7050"
|
resolved "https://registry.yarnpkg.com/rollup-plugin-postcss/-/rollup-plugin-postcss-4.0.2.tgz#15e9462f39475059b368ce0e49c800fa4b1f7050"
|
||||||
integrity sha512-05EaY6zvZdmvPUDi3uCcAQoESDcYnv8ogJJQRp6V5kZ6J6P7uAVJlrTZcaaA20wTH527YTnKfkAoPxWI/jPp4w==
|
integrity sha512-05EaY6zvZdmvPUDi3uCcAQoESDcYnv8ogJJQRp6V5kZ6J6P7uAVJlrTZcaaA20wTH527YTnKfkAoPxWI/jPp4w==
|
||||||
|
@ -19311,7 +19279,7 @@ rollup-plugin-postcss@^4.0.0, rollup-plugin-postcss@^4.0.2:
|
||||||
safe-identifier "^0.4.2"
|
safe-identifier "^0.4.2"
|
||||||
style-inject "^0.3.0"
|
style-inject "^0.3.0"
|
||||||
|
|
||||||
rollup-plugin-svelte@^7.1.0, rollup-plugin-svelte@^7.1.6:
|
rollup-plugin-svelte@^7.1.0:
|
||||||
version "7.1.6"
|
version "7.1.6"
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.6.tgz#44a4ea6c6e8ed976824d9fd40c78d048515e5838"
|
resolved "https://registry.yarnpkg.com/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.6.tgz#44a4ea6c6e8ed976824d9fd40c78d048515e5838"
|
||||||
integrity sha512-nVFRBpGWI2qUY1OcSiEEA/kjCY2+vAjO9BI8SzA7NRrh2GTunLd6w2EYmnMt/atgdg8GvcNjLsmZmbQs/u4SQA==
|
integrity sha512-nVFRBpGWI2qUY1OcSiEEA/kjCY2+vAjO9BI8SzA7NRrh2GTunLd6w2EYmnMt/atgdg8GvcNjLsmZmbQs/u4SQA==
|
||||||
|
@ -19319,13 +19287,6 @@ rollup-plugin-svelte@^7.1.0, rollup-plugin-svelte@^7.1.6:
|
||||||
"@rollup/pluginutils" "^4.1.0"
|
"@rollup/pluginutils" "^4.1.0"
|
||||||
resolve.exports "^2.0.0"
|
resolve.exports "^2.0.0"
|
||||||
|
|
||||||
rollup-plugin-svg@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-svg/-/rollup-plugin-svg-2.0.0.tgz#ce11b55e915d5b2190328c4e6632bd6b4fe12ee9"
|
|
||||||
integrity sha512-DmE7dSQHo1SC5L2uH2qul3Mjyd5oV6U1aVVkyvTLX/mUsRink7f1b1zaIm+32GEBA6EHu8H/JJi3DdWqM53ySQ==
|
|
||||||
dependencies:
|
|
||||||
rollup-pluginutils "^1.3.1"
|
|
||||||
|
|
||||||
rollup-plugin-terser@^7.0.2:
|
rollup-plugin-terser@^7.0.2:
|
||||||
version "7.0.2"
|
version "7.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d"
|
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d"
|
||||||
|
@ -19336,30 +19297,12 @@ rollup-plugin-terser@^7.0.2:
|
||||||
serialize-javascript "^4.0.0"
|
serialize-javascript "^4.0.0"
|
||||||
terser "^5.0.0"
|
terser "^5.0.0"
|
||||||
|
|
||||||
rollup-plugin-visualizer@^5.12.0:
|
|
||||||
version "5.12.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz#661542191ce78ee4f378995297260d0c1efb1302"
|
|
||||||
integrity sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==
|
|
||||||
dependencies:
|
|
||||||
open "^8.4.0"
|
|
||||||
picomatch "^2.3.1"
|
|
||||||
source-map "^0.7.4"
|
|
||||||
yargs "^17.5.1"
|
|
||||||
|
|
||||||
rollup-plugin-web-worker-loader@^1.6.1:
|
rollup-plugin-web-worker-loader@^1.6.1:
|
||||||
version "1.6.1"
|
version "1.6.1"
|
||||||
resolved "https://registry.yarnpkg.com/rollup-plugin-web-worker-loader/-/rollup-plugin-web-worker-loader-1.6.1.tgz#9d7a27575b64b0780fe4e8b3bc87470d217e485f"
|
resolved "https://registry.yarnpkg.com/rollup-plugin-web-worker-loader/-/rollup-plugin-web-worker-loader-1.6.1.tgz#9d7a27575b64b0780fe4e8b3bc87470d217e485f"
|
||||||
integrity sha512-4QywQSz1NXFHKdyiou16mH3ijpcfLtLGOrAqvAqu1Gx+P8+zj+3gwC2BSL/VW1d+LW4nIHC8F7d7OXhs9UdR2A==
|
integrity sha512-4QywQSz1NXFHKdyiou16mH3ijpcfLtLGOrAqvAqu1Gx+P8+zj+3gwC2BSL/VW1d+LW4nIHC8F7d7OXhs9UdR2A==
|
||||||
|
|
||||||
rollup-pluginutils@^1.3.1:
|
rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2:
|
||||||
version "1.5.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz#1e156e778f94b7255bfa1b3d0178be8f5c552408"
|
|
||||||
integrity sha512-SjdWWWO/CUoMpDy8RUbZ/pSpG68YHmhk5ROKNIoi2En9bJ8bTt3IhYi254RWiTclQmL7Awmrq+rZFOhZkJAHmQ==
|
|
||||||
dependencies:
|
|
||||||
estree-walker "^0.2.1"
|
|
||||||
minimatch "^3.0.2"
|
|
||||||
|
|
||||||
rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.5.0, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2:
|
|
||||||
version "2.8.2"
|
version "2.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
|
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
|
||||||
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
|
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
|
||||||
|
@ -19817,11 +19760,6 @@ slash@3.0.0, slash@^3.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
||||||
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
||||||
|
|
||||||
slash@^4.0.0:
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7"
|
|
||||||
integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==
|
|
||||||
|
|
||||||
slice-ansi@^5.0.0:
|
slice-ansi@^5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a"
|
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a"
|
||||||
|
@ -20288,16 +20226,7 @@ string-range@~1.2, string-range@~1.2.1:
|
||||||
resolved "https://registry.yarnpkg.com/string-range/-/string-range-1.2.2.tgz#a893ed347e72299bc83befbbf2a692a8d239d5dd"
|
resolved "https://registry.yarnpkg.com/string-range/-/string-range-1.2.2.tgz#a893ed347e72299bc83befbbf2a692a8d239d5dd"
|
||||||
integrity sha512-tYft6IFi8SjplJpxCUxyqisD3b+R2CSkomrtJYCkvuf1KuCAWgz7YXt4O0jip7efpfCemwHEzTEAO8EuOYgh3w==
|
integrity sha512-tYft6IFi8SjplJpxCUxyqisD3b+R2CSkomrtJYCkvuf1KuCAWgz7YXt4O0jip7efpfCemwHEzTEAO8EuOYgh3w==
|
||||||
|
|
||||||
"string-width-cjs@npm:string-width@^4.2.0":
|
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
|
||||||
version "4.2.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
|
||||||
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
||||||
dependencies:
|
|
||||||
emoji-regex "^8.0.0"
|
|
||||||
is-fullwidth-code-point "^3.0.0"
|
|
||||||
strip-ansi "^6.0.1"
|
|
||||||
|
|
||||||
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
|
|
||||||
version "4.2.3"
|
version "4.2.3"
|
||||||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||||
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
||||||
|
@ -20389,7 +20318,7 @@ stringify-object@^3.2.1:
|
||||||
is-obj "^1.0.1"
|
is-obj "^1.0.1"
|
||||||
is-regexp "^1.0.0"
|
is-regexp "^1.0.0"
|
||||||
|
|
||||||
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
|
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
||||||
version "6.0.1"
|
version "6.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
||||||
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
||||||
|
@ -20403,13 +20332,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-regex "^4.1.0"
|
ansi-regex "^4.1.0"
|
||||||
|
|
||||||
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
|
||||||
version "6.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
|
||||||
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
|
||||||
dependencies:
|
|
||||||
ansi-regex "^5.0.1"
|
|
||||||
|
|
||||||
strip-ansi@^7.0.1:
|
strip-ansi@^7.0.1:
|
||||||
version "7.0.1"
|
version "7.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
|
||||||
|
@ -21897,6 +21819,11 @@ vite-node@0.29.8:
|
||||||
picocolors "^1.0.0"
|
picocolors "^1.0.0"
|
||||||
vite "^3.0.0 || ^4.0.0"
|
vite "^3.0.0 || ^4.0.0"
|
||||||
|
|
||||||
|
vite-plugin-css-injected-by-js@3.5.2:
|
||||||
|
version "3.5.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/vite-plugin-css-injected-by-js/-/vite-plugin-css-injected-by-js-3.5.2.tgz#1f75d16ad5c05b6b49bf18018099a189ec2e46ad"
|
||||||
|
integrity sha512-2MpU/Y+SCZyWUB6ua3HbJCrgnF0KACAsmzOQt1UvRVJCGF6S8xdA3ZUhWcWdM9ivG4I5az8PnQmwwrkC2CAQrQ==
|
||||||
|
|
||||||
vite-plugin-static-copy@^0.17.0:
|
vite-plugin-static-copy@^0.17.0:
|
||||||
version "0.17.0"
|
version "0.17.0"
|
||||||
resolved "https://registry.yarnpkg.com/vite-plugin-static-copy/-/vite-plugin-static-copy-0.17.0.tgz#e45527da186c4a3818d09635797b6fc7cc9e035f"
|
resolved "https://registry.yarnpkg.com/vite-plugin-static-copy/-/vite-plugin-static-copy-0.17.0.tgz#e45527da186c4a3818d09635797b6fc7cc9e035f"
|
||||||
|
@ -22226,7 +22153,7 @@ worker-farm@1.7.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
errno "~0.1.7"
|
errno "~0.1.7"
|
||||||
|
|
||||||
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
|
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
|
||||||
version "7.0.0"
|
version "7.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
||||||
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
||||||
|
@ -22244,15 +22171,6 @@ wrap-ansi@^5.1.0:
|
||||||
string-width "^3.0.0"
|
string-width "^3.0.0"
|
||||||
strip-ansi "^5.0.0"
|
strip-ansi "^5.0.0"
|
||||||
|
|
||||||
wrap-ansi@^7.0.0:
|
|
||||||
version "7.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
|
||||||
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
||||||
dependencies:
|
|
||||||
ansi-styles "^4.0.0"
|
|
||||||
string-width "^4.1.0"
|
|
||||||
strip-ansi "^6.0.0"
|
|
||||||
|
|
||||||
wrap-ansi@^8.1.0:
|
wrap-ansi@^8.1.0:
|
||||||
version "8.1.0"
|
version "8.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
|
||||||
|
@ -22534,7 +22452,7 @@ yargs@16.2.0, yargs@^16.1.0, yargs@^16.2.0:
|
||||||
y18n "^5.0.5"
|
y18n "^5.0.5"
|
||||||
yargs-parser "^20.2.2"
|
yargs-parser "^20.2.2"
|
||||||
|
|
||||||
yargs@^17.3.1, yargs@^17.5.1, yargs@^17.6.2, yargs@^17.7.2:
|
yargs@^17.3.1, yargs@^17.6.2, yargs@^17.7.2:
|
||||||
version "17.7.2"
|
version "17.7.2"
|
||||||
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
|
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
|
||||||
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
|
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
|
||||||
|
|
Loading…
Reference in New Issue