@svgrid/enterprise 2.5.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SvAlertRuleEditor.svelte.d.ts +13 -0
- package/dist/SvAlertsManager.svelte.d.ts +14 -0
- package/dist/SvAlertsPanel.svelte.d.ts +9 -0
- package/dist/SvAuthGate.svelte.d.ts +22 -0
- package/dist/SvBoard.svelte.d.ts +35 -0
- package/dist/SvExportMenu.svelte.d.ts +61 -0
- package/dist/SvExpressionEditor.svelte.d.ts +12 -0
- package/dist/SvFileInput.svelte.d.ts +20 -0
- package/dist/SvGridAlerts.svelte.d.ts +77 -0
- package/dist/SvGridBoard.svelte.d.ts +30 -0
- package/dist/SvGridEditPanel.svelte.d.ts +73 -0
- package/dist/SvGridMasterDetail.svelte.d.ts +49 -0
- package/dist/SvGridScheduler.svelte.d.ts +30 -0
- package/dist/SvImportDialog.svelte.d.ts +88 -0
- package/dist/SvLookupInput.svelte.d.ts +21 -0
- package/dist/SvPivotDesigner.svelte.d.ts +176 -0
- package/dist/SvRecordDetail.svelte.d.ts +58 -0
- package/dist/SvSchedule.svelte.d.ts +29 -0
- package/dist/SvSchemaChart.svelte.d.ts +61 -0
- package/dist/SvSchemaDashboard.svelte.d.ts +46 -0
- package/dist/alerts/alert-engine-attach.d.ts +79 -0
- package/dist/alerts/alert-engine-attach.js +106 -0
- package/dist/alerts/alert-engine.d.ts +42 -0
- package/dist/alerts/alert-engine.js +196 -0
- package/dist/alerts/alert-formats.d.ts +26 -0
- package/dist/alerts/alert-formats.js +58 -0
- package/dist/alerts/alert-observer.d.ts +54 -0
- package/dist/alerts/alert-observer.js +156 -0
- package/dist/alerts/alert-scheduler.d.ts +30 -0
- package/dist/alerts/alert-scheduler.js +54 -0
- package/dist/alerts/alert-storage.d.ts +31 -0
- package/dist/alerts/alert-storage.js +92 -0
- package/dist/alerts/alert-store.svelte.d.ts +24 -0
- package/dist/alerts/alert-store.svelte.js +69 -0
- package/dist/alerts/alert-types.d.ts +86 -0
- package/dist/alerts/alert-types.js +1 -0
- package/dist/alerts.d.ts +2 -0
- package/{src/alerts.ts → dist/alerts.js} +9 -9
- package/dist/board.d.ts +7 -0
- package/{src/board.ts → dist/board.js} +13 -14
- package/dist/cdn/svgrid-enterprise.svelte-external.js +2987 -2981
- package/dist/designer/assets/{index-CM5xvaOy.js → index-BF0UH638.js} +3 -3
- package/dist/designer/assets/{src-D-ET9Mmo.js → src-BPJruwB9.js} +184 -184
- package/dist/designer/index.html +2 -2
- package/dist/edit-panel.d.ts +105 -0
- package/dist/edit-panel.js +350 -0
- package/dist/export-conditional.d.ts +31 -0
- package/dist/export-conditional.js +65 -0
- package/dist/export-ooxml.d.ts +93 -0
- package/dist/export-ooxml.js +385 -0
- package/dist/export-pdf.d.ts +107 -0
- package/dist/export-pdf.js +144 -0
- package/dist/export-print.d.ts +55 -0
- package/dist/export-print.js +91 -0
- package/{src/export-serialize.ts → dist/export-serialize.d.ts} +11 -24
- package/dist/export-serialize.js +11 -0
- package/dist/export-xls.d.ts +26 -0
- package/dist/export-xls.js +157 -0
- package/dist/export.d.ts +323 -0
- package/dist/export.js +1021 -0
- package/dist/expressions/evaluate.d.ts +17 -0
- package/dist/expressions/evaluate.js +214 -0
- package/dist/expressions/expression-columns.d.ts +61 -0
- package/dist/expressions/expression-columns.js +72 -0
- package/dist/expressions/expression-types.d.ts +125 -0
- package/dist/expressions/expression-types.js +1 -0
- package/dist/expressions/parse.d.ts +25 -0
- package/dist/expressions/parse.js +537 -0
- package/dist/import.d.ts +232 -0
- package/dist/import.js +846 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.js +91 -0
- package/dist/install.d.ts +70 -0
- package/dist/install.js +61 -0
- package/dist/license-core.d.ts +37 -0
- package/dist/license-core.js +81 -0
- package/dist/license.d.ts +30 -0
- package/dist/license.js +139 -0
- package/dist/master-detail.d.ts +23 -0
- package/dist/master-detail.js +35 -0
- package/dist/node/studio.js +1 -1
- package/dist/pivot-chart.d.ts +28 -0
- package/dist/pivot-chart.js +71 -0
- package/dist/pivot-designer.d.ts +69 -0
- package/dist/pivot-designer.js +38 -0
- package/dist/pivot-enable.d.ts +6 -0
- package/{src/pivot-enable.ts → dist/pivot-enable.js} +13 -18
- package/dist/pivot.d.ts +111 -0
- package/dist/pivot.js +353 -0
- package/dist/print.d.ts +33 -0
- package/dist/print.js +61 -0
- package/dist/revoked.d.ts +1 -0
- package/{src/revoked.ts → dist/revoked.js} +5 -6
- package/dist/scheduler-assignments.d.ts +64 -0
- package/dist/scheduler-assignments.js +92 -0
- package/dist/scheduler-axis.d.ts +81 -0
- package/dist/scheduler-axis.js +180 -0
- package/{src/scheduler-booking.ts → dist/scheduler-booking.d.ts} +10 -43
- package/dist/scheduler-booking.js +50 -0
- package/dist/scheduler-config.d.ts +177 -0
- package/dist/scheduler-config.js +1 -0
- package/dist/scheduler-dependencies.d.ts +89 -0
- package/dist/scheduler-dependencies.js +179 -0
- package/dist/scheduler-freebusy.d.ts +19 -0
- package/{src/scheduler-freebusy.ts → dist/scheduler-freebusy.js} +9 -19
- package/{src/scheduler-heatmap.ts → dist/scheduler-heatmap.d.ts} +12 -35
- package/dist/scheduler-heatmap.js +41 -0
- package/dist/scheduler-resource-tree.d.ts +48 -0
- package/dist/scheduler-resource-tree.js +78 -0
- package/dist/scheduler-slots.d.ts +37 -0
- package/dist/scheduler-slots.js +80 -0
- package/dist/scheduler-summary.d.ts +41 -0
- package/dist/scheduler-summary.js +54 -0
- package/dist/scheduler.d.ts +7 -0
- package/{src/scheduler.ts → dist/scheduler.js} +13 -14
- package/dist/scheduling.d.ts +132 -0
- package/dist/scheduling.js +228 -0
- package/dist/schema-designer.d.ts +42 -0
- package/dist/schema-designer.js +117 -0
- package/dist/schema.d.ts +369 -0
- package/dist/schema.js +216 -0
- package/dist/smart-shim.d.ts +62 -0
- package/dist/smart-shim.js +34 -0
- package/dist/sources/aggregate.d.ts +43 -0
- package/dist/sources/aggregate.js +60 -0
- package/dist/sources/auth-supabase.d.ts +69 -0
- package/dist/sources/auth-supabase.js +39 -0
- package/dist/sources/dashboard.d.ts +65 -0
- package/dist/sources/dashboard.js +95 -0
- package/dist/sources/field-inference.d.ts +23 -0
- package/dist/sources/field-inference.js +52 -0
- package/dist/sources/filters.d.ts +35 -0
- package/dist/sources/filters.js +52 -0
- package/dist/sources/index.d.ts +18 -0
- package/dist/sources/index.js +18 -0
- package/dist/sources/introspect-supabase.d.ts +30 -0
- package/dist/sources/introspect-supabase.js +134 -0
- package/dist/sources/realtime-supabase.d.ts +37 -0
- package/dist/sources/realtime-supabase.js +52 -0
- package/dist/sources/relation-lookup.d.ts +50 -0
- package/dist/sources/relation-lookup.js +77 -0
- package/dist/sources/rest-adapters.d.ts +48 -0
- package/dist/sources/rest-adapters.js +85 -0
- package/dist/sources/rest.d.ts +38 -0
- package/dist/sources/rest.js +86 -0
- package/dist/sources/schema-from-columns.d.ts +37 -0
- package/dist/sources/schema-from-columns.js +48 -0
- package/dist/sources/supabase.d.ts +33 -0
- package/dist/sources/supabase.js +74 -0
- package/dist/sources/with-entity-rules.d.ts +25 -0
- package/dist/sources/with-entity-rules.js +47 -0
- package/dist/sources/with-relation-labels.d.ts +26 -0
- package/dist/sources/with-relation-labels.js +38 -0
- package/dist/staged-editing.d.ts +85 -0
- package/dist/staged-editing.js +0 -0
- package/dist/studio/bug-report.d.ts +61 -0
- package/dist/studio/bug-report.js +126 -0
- package/dist/studio/cli.d.ts +56 -0
- package/dist/studio/cli.js +70 -0
- package/dist/studio/copilot-core.d.ts +22 -0
- package/{src/studio/copilot-core.ts → dist/studio/copilot-core.js} +34 -38
- package/dist/studio/csv.d.ts +36 -0
- package/dist/studio/csv.js +173 -0
- package/dist/studio/db-connect-string.d.ts +45 -0
- package/dist/studio/db-connect-string.js +113 -0
- package/dist/studio/deploy-cli.d.ts +35 -0
- package/dist/studio/deploy-cli.js +81 -0
- package/dist/studio/emit-project.d.ts +77 -0
- package/dist/studio/emit-project.js +5389 -0
- package/dist/studio/emit-schema.d.ts +110 -0
- package/dist/studio/emit-schema.js +1128 -0
- package/dist/studio/index.d.ts +35 -0
- package/dist/studio/index.js +38 -0
- package/dist/studio/init-flow.d.ts +58 -0
- package/dist/studio/init-flow.js +451 -0
- package/dist/studio/introspect-db.d.ts +47 -0
- package/dist/studio/introspect-db.js +255 -0
- package/dist/studio/introspect-openapi.d.ts +19 -0
- package/dist/studio/introspect-openapi.js +244 -0
- package/dist/studio/introspect-prisma.d.ts +25 -0
- package/dist/studio/introspect-prisma.js +164 -0
- package/dist/studio/introspect.d.ts +35 -0
- package/dist/studio/introspect.js +306 -0
- package/dist/studio/project.d.ts +1327 -0
- package/dist/studio/project.js +1798 -0
- package/dist/studio/sample-data.d.ts +19 -0
- package/dist/studio/sample-data.js +207 -0
- package/dist/studio/samples/ats.d.ts +2 -0
- package/dist/studio/samples/ats.js +194 -0
- package/dist/studio/samples/clinic.d.ts +2 -0
- package/dist/studio/samples/clinic.js +171 -0
- package/dist/studio/samples/crm.d.ts +2 -0
- package/dist/studio/samples/crm.js +280 -0
- package/dist/studio/samples/datasets.d.ts +38 -0
- package/dist/studio/samples/datasets.js +296 -0
- package/dist/studio/samples/ecommerce.d.ts +2 -0
- package/dist/studio/samples/ecommerce.js +178 -0
- package/dist/studio/samples/events.d.ts +2 -0
- package/dist/studio/samples/events.js +192 -0
- package/dist/studio/samples/fleet.d.ts +2 -0
- package/dist/studio/samples/fleet.js +203 -0
- package/dist/studio/samples/gym.d.ts +2 -0
- package/dist/studio/samples/gym.js +205 -0
- package/dist/studio/samples/hr.d.ts +2 -0
- package/dist/studio/samples/hr.js +186 -0
- package/dist/studio/samples/index.d.ts +13 -0
- package/dist/studio/samples/index.js +44 -0
- package/dist/studio/samples/insurance.d.ts +2 -0
- package/dist/studio/samples/insurance.js +220 -0
- package/dist/studio/samples/inventory.d.ts +2 -0
- package/dist/studio/samples/inventory.js +204 -0
- package/dist/studio/samples/invoicing.d.ts +2 -0
- package/dist/studio/samples/invoicing.js +154 -0
- package/dist/studio/samples/library.d.ts +2 -0
- package/dist/studio/samples/library.js +171 -0
- package/dist/studio/samples/live-data.d.ts +5 -0
- package/dist/studio/samples/live-data.js +261 -0
- package/dist/studio/samples/projects.d.ts +2 -0
- package/dist/studio/samples/projects.js +203 -0
- package/dist/studio/samples/realestate.d.ts +2 -0
- package/dist/studio/samples/realestate.js +187 -0
- package/dist/studio/samples/restaurant.d.ts +2 -0
- package/dist/studio/samples/restaurant.js +180 -0
- package/dist/studio/samples/school.d.ts +2 -0
- package/dist/studio/samples/school.js +188 -0
- package/dist/studio/samples/shared.d.ts +142 -0
- package/dist/studio/samples/shared.js +164 -0
- package/dist/studio/samples/starter.d.ts +4 -0
- package/dist/studio/samples/starter.js +237 -0
- package/dist/studio/samples/subscriptions.d.ts +2 -0
- package/dist/studio/samples/subscriptions.js +175 -0
- package/dist/studio/samples/support.d.ts +2 -0
- package/dist/studio/samples/support.js +209 -0
- package/dist/studio/scaffold-app.d.ts +22 -0
- package/{src/studio/scaffold-app.ts → dist/studio/scaffold-app.js} +45 -63
- package/dist/studio/scaffold.d.ts +63 -0
- package/dist/studio/scaffold.js +346 -0
- package/dist/studio/screen-suites.d.ts +193 -0
- package/dist/studio/screen-suites.js +297 -0
- package/dist/studio/themes.d.ts +34 -0
- package/dist/studio/themes.js +41 -0
- package/dist/studio/ui-components.d.ts +89 -0
- package/dist/studio/ui-components.generated.d.ts +29 -0
- package/dist/studio/ui-components.generated.js +7139 -0
- package/dist/studio/ui-components.js +673 -0
- package/dist/studio/user-error.d.ts +23 -0
- package/{src/studio/user-error.ts → dist/studio/user-error.js} +10 -13
- package/dist/studio/verify.d.ts +34 -0
- package/dist/studio/verify.js +47 -0
- package/dist/sveltekit/in-memory.d.ts +14 -0
- package/dist/sveltekit/in-memory.js +113 -0
- package/dist/sveltekit/index.d.ts +6 -0
- package/dist/sveltekit/index.js +5 -0
- package/dist/sveltekit/query-plan.d.ts +44 -0
- package/dist/sveltekit/query-plan.js +76 -0
- package/dist/sveltekit/sql-source.d.ts +47 -0
- package/dist/sveltekit/sql-source.js +106 -0
- package/dist/sveltekit/sql.d.ts +48 -0
- package/dist/sveltekit/sql.js +73 -0
- package/dist/sveltekit/transport.d.ts +209 -0
- package/dist/sveltekit/transport.js +219 -0
- package/{src/sveltekit/types.ts → dist/sveltekit/types.d.ts} +8 -11
- package/dist/sveltekit/types.js +1 -0
- package/dist/upgrade-prompt.d.ts +16 -0
- package/dist/upgrade-prompt.js +141 -0
- package/dist/version.d.ts +13 -0
- package/{src/version.ts → dist/version.js} +1 -1
- package/dist/watermark.d.ts +2 -0
- package/dist/watermark.js +146 -0
- package/package.json +26 -24
- package/src/SvBoard.dom.test.ts +0 -67
- package/src/SvGridAlerts.dom.test.ts +0 -113
- package/src/SvGridEditPanel.dom.test.ts +0 -320
- package/src/SvRecordDetail.dom.test.ts +0 -137
- package/src/SvSchedule.dom.test.ts +0 -57
- package/src/ai-export-pdf.dom.test.ts +0 -77
- package/src/ai-export-xlsx.dom.test.ts +0 -90
- package/src/ai-export.dom.test.ts +0 -114
- package/src/alerts/alert-engine-attach.ts +0 -165
- package/src/alerts/alert-engine.test.ts +0 -135
- package/src/alerts/alert-engine.ts +0 -260
- package/src/alerts/alert-formats.test.ts +0 -87
- package/src/alerts/alert-formats.ts +0 -77
- package/src/alerts/alert-observer.test.ts +0 -189
- package/src/alerts/alert-observer.ts +0 -208
- package/src/alerts/alert-scheduler.ts +0 -96
- package/src/alerts/alert-storage.test.ts +0 -54
- package/src/alerts/alert-storage.ts +0 -116
- package/src/alerts/alert-store.svelte.ts +0 -80
- package/src/alerts/alert-types.ts +0 -94
- package/src/board.dom.test.ts +0 -941
- package/src/edit-panel.test.ts +0 -322
- package/src/edit-panel.ts +0 -379
- package/src/export-conditional.test.ts +0 -60
- package/src/export-conditional.ts +0 -94
- package/src/export-ooxml.test.ts +0 -152
- package/src/export-ooxml.ts +0 -489
- package/src/export-pdf.test.ts +0 -138
- package/src/export-pdf.ts +0 -245
- package/src/export-print.test.ts +0 -66
- package/src/export-print.ts +0 -132
- package/src/export-serialize.test.ts +0 -56
- package/src/export-xls.ts +0 -199
- package/src/export-xlsx-roundtrip.test.ts +0 -120
- package/src/export-xlsx.test.ts +0 -150
- package/src/export.test.ts +0 -349
- package/src/export.ts +0 -1464
- package/src/expressions/evaluate.test.ts +0 -111
- package/src/expressions/evaluate.ts +0 -237
- package/src/expressions/expression-columns.ts +0 -133
- package/src/expressions/expression-types.ts +0 -84
- package/src/expressions/parse.test.ts +0 -106
- package/src/expressions/parse.ts +0 -610
- package/src/import-automap.test.ts +0 -131
- package/src/import-hardening.test.ts +0 -158
- package/src/import.test.ts +0 -415
- package/src/import.ts +0 -1044
- package/src/index.ts +0 -569
- package/src/install.ts +0 -154
- package/src/license-core.test.ts +0 -23
- package/src/license-core.ts +0 -107
- package/src/license-expiry.test.ts +0 -127
- package/src/license.ts +0 -137
- package/src/master-detail.test.ts +0 -61
- package/src/master-detail.ts +0 -42
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/_metadata.json +0 -178
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-ZrPsKxob.js +0 -3875
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-ZrPsKxob.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-ACqvWGE2.js +0 -21
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-ACqvWGE2.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-D3w5jt92.js +0 -1938
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-D3w5jt92.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-CC2V3H0y.js +0 -205
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-CC2V3H0y.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-BXP37tAa.js +0 -18
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-BXP37tAa.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-DwubnU5b.js +0 -264
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-DwubnU5b.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-hD7f6PUz.js +0 -697
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-hD7f6PUz.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js +0 -134
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js +0 -55
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_attachments.js +0 -2
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js +0 -46843
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js +0 -237
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_events.js +0 -2
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js +0 -4
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_client.js +0 -7
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js +0 -4
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js +0 -5
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js +0 -5
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js +0 -5
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_server.js +0 -6
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js +0 -83
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js +0 -559
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js +0 -24
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js +0 -122
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_server.js +0 -2
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js +0 -89
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js +0 -241
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DBx1SCN6.js +0 -4938
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DBx1SCN6.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-gjfpSTFS.js +0 -495
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-gjfpSTFS.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-DKoOKg8S.js +0 -190
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-DKoOKg8S.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-C0MiR7eR.js +0 -8
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-C0MiR7eR.js.map +0 -1
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-B6Y7P0Q-.js +0 -138
- package/src/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-B6Y7P0Q-.js.map +0 -1
- package/src/pivot-chart.test.ts +0 -86
- package/src/pivot-chart.ts +0 -112
- package/src/pivot-designer.ts +0 -101
- package/src/pivot.test.ts +0 -335
- package/src/pivot.ts +0 -578
- package/src/print.ts +0 -107
- package/src/scheduler-assignments.test.ts +0 -97
- package/src/scheduler-assignments.ts +0 -134
- package/src/scheduler-axis.test.ts +0 -108
- package/src/scheduler-axis.ts +0 -238
- package/src/scheduler-booking.test.ts +0 -57
- package/src/scheduler-config.ts +0 -179
- package/src/scheduler-dependencies.test.ts +0 -155
- package/src/scheduler-dependencies.ts +0 -223
- package/src/scheduler-freebusy.test.ts +0 -41
- package/src/scheduler-heatmap.test.ts +0 -39
- package/src/scheduler-resource-tree.test.ts +0 -84
- package/src/scheduler-resource-tree.ts +0 -107
- package/src/scheduler-slots.test.ts +0 -53
- package/src/scheduler-slots.ts +0 -94
- package/src/scheduler-summary.test.ts +0 -47
- package/src/scheduler-summary.ts +0 -81
- package/src/scheduling.test.ts +0 -194
- package/src/scheduling.ts +0 -293
- package/src/schema-designer.test.ts +0 -121
- package/src/schema-designer.ts +0 -142
- package/src/schema.test.ts +0 -268
- package/src/schema.ts +0 -562
- package/src/smart-shim.ts +0 -107
- package/src/sources/aggregate.test.ts +0 -79
- package/src/sources/aggregate.ts +0 -102
- package/src/sources/auth-supabase.test.ts +0 -80
- package/src/sources/auth-supabase.ts +0 -87
- package/src/sources/dashboard.kpi.test.ts +0 -50
- package/src/sources/dashboard.test.ts +0 -61
- package/src/sources/dashboard.ts +0 -136
- package/src/sources/field-inference.test.ts +0 -60
- package/src/sources/field-inference.ts +0 -63
- package/src/sources/filters.test.ts +0 -58
- package/src/sources/filters.ts +0 -70
- package/src/sources/index.ts +0 -67
- package/src/sources/introspect-supabase.test.ts +0 -112
- package/src/sources/introspect-supabase.ts +0 -139
- package/src/sources/realtime-supabase.test.ts +0 -93
- package/src/sources/realtime-supabase.ts +0 -99
- package/src/sources/relation-lookup.test.ts +0 -99
- package/src/sources/relation-lookup.ts +0 -128
- package/src/sources/rest-adapters.test.ts +0 -95
- package/src/sources/rest-adapters.ts +0 -120
- package/src/sources/rest.test.ts +0 -104
- package/src/sources/rest.ts +0 -129
- package/src/sources/schema-from-columns.test.ts +0 -106
- package/src/sources/schema-from-columns.ts +0 -88
- package/src/sources/supabase.test.ts +0 -110
- package/src/sources/supabase.ts +0 -99
- package/src/sources/with-entity-rules.test.ts +0 -104
- package/src/sources/with-entity-rules.ts +0 -78
- package/src/sources/with-relation-labels.test.ts +0 -75
- package/src/sources/with-relation-labels.ts +0 -73
- package/src/staged-editing.ts +0 -0
- package/src/studio/bug-report.test.ts +0 -101
- package/src/studio/bug-report.ts +0 -165
- package/src/studio/cli.test.ts +0 -187
- package/src/studio/cli.ts +0 -117
- package/src/studio/copilot-core.test.ts +0 -45
- package/src/studio/csv.test.ts +0 -90
- package/src/studio/csv.ts +0 -165
- package/src/studio/db-connect-string.test.ts +0 -94
- package/src/studio/db-connect-string.ts +0 -128
- package/src/studio/deploy-cli.test.ts +0 -56
- package/src/studio/deploy-cli.ts +0 -100
- package/src/studio/emit-project.test.ts +0 -3324
- package/src/studio/emit-project.ts +0 -5377
- package/src/studio/emit-schema.test.ts +0 -111
- package/src/studio/emit-schema.ts +0 -1181
- package/src/studio/index.ts +0 -380
- package/src/studio/init-flow.test.ts +0 -514
- package/src/studio/init-flow.ts +0 -556
- package/src/studio/introspect-db.test.ts +0 -186
- package/src/studio/introspect-db.ts +0 -312
- package/src/studio/introspect-openapi.test.ts +0 -84
- package/src/studio/introspect-openapi.ts +0 -252
- package/src/studio/introspect-prisma.test.ts +0 -99
- package/src/studio/introspect-prisma.ts +0 -175
- package/src/studio/introspect.test.ts +0 -172
- package/src/studio/introspect.ts +0 -310
- package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/_svelte_metadata.json +0 -1
- package/src/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/package.json +0 -3
- package/src/studio/pipeline.test.ts +0 -42
- package/src/studio/project-robust.test.ts +0 -157
- package/src/studio/project.test.ts +0 -929
- package/src/studio/project.ts +0 -2394
- package/src/studio/sample-data.test.ts +0 -58
- package/src/studio/sample-data.ts +0 -203
- package/src/studio/samples/ats.ts +0 -202
- package/src/studio/samples/clinic.ts +0 -179
- package/src/studio/samples/crm.ts +0 -291
- package/src/studio/samples/datasets.test.ts +0 -84
- package/src/studio/samples/datasets.ts +0 -340
- package/src/studio/samples/ecommerce.ts +0 -187
- package/src/studio/samples/events.ts +0 -201
- package/src/studio/samples/fleet.ts +0 -213
- package/src/studio/samples/gym.ts +0 -215
- package/src/studio/samples/hr.ts +0 -195
- package/src/studio/samples/index.ts +0 -55
- package/src/studio/samples/insurance.ts +0 -229
- package/src/studio/samples/inventory.ts +0 -213
- package/src/studio/samples/invoicing.ts +0 -162
- package/src/studio/samples/library.ts +0 -180
- package/src/studio/samples/live-data.test.ts +0 -99
- package/src/studio/samples/live-data.ts +0 -306
- package/src/studio/samples/projects.ts +0 -212
- package/src/studio/samples/realestate.ts +0 -196
- package/src/studio/samples/restaurant.ts +0 -189
- package/src/studio/samples/samples.test.ts +0 -304
- package/src/studio/samples/school.ts +0 -197
- package/src/studio/samples/seed-floor.test.ts +0 -25
- package/src/studio/samples/shared.ts +0 -237
- package/src/studio/samples/starter.ts +0 -251
- package/src/studio/samples/subscriptions.ts +0 -183
- package/src/studio/samples/support.ts +0 -216
- package/src/studio/scaffold-app.test.ts +0 -91
- package/src/studio/scaffold.test.ts +0 -192
- package/src/studio/scaffold.ts +0 -390
- package/src/studio/screen-suites.test.ts +0 -269
- package/src/studio/screen-suites.ts +0 -448
- package/src/studio/themes.ts +0 -62
- package/src/studio/ui-components-surface.test.ts +0 -185
- package/src/studio/ui-components.generated.ts +0 -7154
- package/src/studio/ui-components.ts +0 -742
- package/src/studio/verify.test.ts +0 -47
- package/src/studio/verify.ts +0 -79
- package/src/sveltekit/in-memory.test.ts +0 -104
- package/src/sveltekit/in-memory.ts +0 -129
- package/src/sveltekit/index.ts +0 -24
- package/src/sveltekit/query-plan.test.ts +0 -109
- package/src/sveltekit/query-plan.ts +0 -125
- package/src/sveltekit/sql-source.test.ts +0 -198
- package/src/sveltekit/sql-source.ts +0 -171
- package/src/sveltekit/sql.test.ts +0 -80
- package/src/sveltekit/sql.ts +0 -131
- package/src/sveltekit/transport-scope.test.ts +0 -125
- package/src/sveltekit/transport.test.ts +0 -201
- package/src/sveltekit/transport.ts +0 -373
- package/src/upgrade-prompt.test.ts +0 -71
- package/src/upgrade-prompt.ts +0 -162
- package/src/version.test.ts +0 -17
- package/src/watermark.test.ts +0 -97
- package/src/watermark.ts +0 -156
- /package/{src → dist}/SvAlertRuleEditor.svelte +0 -0
- /package/{src → dist}/SvAlertsManager.svelte +0 -0
- /package/{src → dist}/SvAlertsPanel.svelte +0 -0
- /package/{src → dist}/SvAuthGate.svelte +0 -0
- /package/{src → dist}/SvBoard.svelte +0 -0
- /package/{src → dist}/SvExportMenu.svelte +0 -0
- /package/{src → dist}/SvExpressionEditor.svelte +0 -0
- /package/{src → dist}/SvFileInput.svelte +0 -0
- /package/{src → dist}/SvGridAlerts.svelte +0 -0
- /package/{src → dist}/SvGridBoard.svelte +0 -0
- /package/{src → dist}/SvGridEditPanel.svelte +0 -0
- /package/{src → dist}/SvGridMasterDetail.svelte +0 -0
- /package/{src → dist}/SvGridScheduler.svelte +0 -0
- /package/{src → dist}/SvImportDialog.svelte +0 -0
- /package/{src → dist}/SvLookupInput.svelte +0 -0
- /package/{src → dist}/SvPivotDesigner.svelte +0 -0
- /package/{src → dist}/SvRecordDetail.svelte +0 -0
- /package/{src → dist}/SvSchedule.svelte +0 -0
- /package/{src → dist}/SvSchemaChart.svelte +0 -0
- /package/{src → dist}/SvSchemaDashboard.svelte +0 -0
- /package/{src → dist}/pdfmake-shims.d.ts +0 -0
- /package/{src → dist}/smart.export.d.ts +0 -0
- /package/{src → dist}/smart.export.js +0 -0
- /package/{src → dist}/studio/HANDLERS-DESIGN.md +0 -0
- /package/{src → dist/studio}/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/_svelte_metadata.json +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/_metadata.json +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js.map +0 -0
- /package/{src → dist/studio}/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/package.json +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_attachments.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_events.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_client.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_server.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_server.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js.map +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js +0 -0
- /package/{src → dist}/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js.map +0 -0
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { Nt as createSubscriber, dn as tag, mt as source, o as get, pt as set } from "./utils-DBx1SCN6.js";
|
|
2
|
-
import "./attachments-ZrPsKxob.js";
|
|
3
|
-
import { c as on } from "./events-CC2V3H0y.js";
|
|
4
|
-
import "./svelte_events.js";
|
|
5
|
-
//#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/reactive-value.js
|
|
6
|
-
/**
|
|
7
|
-
* @template T
|
|
8
|
-
*/
|
|
9
|
-
var ReactiveValue = class {
|
|
10
|
-
#fn;
|
|
11
|
-
#subscribe;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param {() => T} fn
|
|
15
|
-
* @param {(update: () => void) => void} onsubscribe
|
|
16
|
-
*/
|
|
17
|
-
constructor(fn, onsubscribe) {
|
|
18
|
-
this.#fn = fn;
|
|
19
|
-
this.#subscribe = createSubscriber(onsubscribe);
|
|
20
|
-
}
|
|
21
|
-
get current() {
|
|
22
|
-
this.#subscribe();
|
|
23
|
-
return this.#fn();
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/window/index.js
|
|
28
|
-
/**
|
|
29
|
-
* `scrollX.current` is a reactive view of `window.scrollX`. On the server it is `undefined`.
|
|
30
|
-
* @since 5.11.0
|
|
31
|
-
*/
|
|
32
|
-
var scrollX = new ReactiveValue(() => void 0, (update) => on(window, "scroll", update));
|
|
33
|
-
/**
|
|
34
|
-
* `scrollY.current` is a reactive view of `window.scrollY`. On the server it is `undefined`.
|
|
35
|
-
* @since 5.11.0
|
|
36
|
-
*/
|
|
37
|
-
var scrollY = new ReactiveValue(() => void 0, (update) => on(window, "scroll", update));
|
|
38
|
-
/**
|
|
39
|
-
* `innerWidth.current` is a reactive view of `window.innerWidth`. On the server it is `undefined`.
|
|
40
|
-
* @since 5.11.0
|
|
41
|
-
*/
|
|
42
|
-
var innerWidth = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
|
|
43
|
-
/**
|
|
44
|
-
* `innerHeight.current` is a reactive view of `window.innerHeight`. On the server it is `undefined`.
|
|
45
|
-
* @since 5.11.0
|
|
46
|
-
*/
|
|
47
|
-
var innerHeight = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
|
|
48
|
-
/**
|
|
49
|
-
* `outerWidth.current` is a reactive view of `window.outerWidth`. On the server it is `undefined`.
|
|
50
|
-
* @since 5.11.0
|
|
51
|
-
*/
|
|
52
|
-
var outerWidth = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
|
|
53
|
-
/**
|
|
54
|
-
* `outerHeight.current` is a reactive view of `window.outerHeight`. On the server it is `undefined`.
|
|
55
|
-
* @since 5.11.0
|
|
56
|
-
*/
|
|
57
|
-
var outerHeight = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
|
|
58
|
-
/**
|
|
59
|
-
* `screenLeft.current` is a reactive view of `window.screenLeft`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
|
|
60
|
-
* @since 5.11.0
|
|
61
|
-
*/
|
|
62
|
-
var screenLeft = new ReactiveValue(() => void 0, (update) => {
|
|
63
|
-
let value = window.screenLeft;
|
|
64
|
-
let frame = requestAnimationFrame(function check() {
|
|
65
|
-
frame = requestAnimationFrame(check);
|
|
66
|
-
if (value !== (value = window.screenLeft)) update();
|
|
67
|
-
});
|
|
68
|
-
return () => {
|
|
69
|
-
cancelAnimationFrame(frame);
|
|
70
|
-
};
|
|
71
|
-
});
|
|
72
|
-
/**
|
|
73
|
-
* `screenTop.current` is a reactive view of `window.screenTop`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
|
|
74
|
-
* @since 5.11.0
|
|
75
|
-
*/
|
|
76
|
-
var screenTop = new ReactiveValue(() => void 0, (update) => {
|
|
77
|
-
let value = window.screenTop;
|
|
78
|
-
let frame = requestAnimationFrame(function check() {
|
|
79
|
-
frame = requestAnimationFrame(check);
|
|
80
|
-
if (value !== (value = window.screenTop)) update();
|
|
81
|
-
});
|
|
82
|
-
return () => {
|
|
83
|
-
cancelAnimationFrame(frame);
|
|
84
|
-
};
|
|
85
|
-
});
|
|
86
|
-
/**
|
|
87
|
-
* `online.current` is a reactive view of `navigator.onLine`. On the server it is `undefined`.
|
|
88
|
-
* @since 5.11.0
|
|
89
|
-
*/
|
|
90
|
-
var online = new ReactiveValue(() => void 0, (update) => {
|
|
91
|
-
const unsub_online = on(window, "online", update);
|
|
92
|
-
const unsub_offline = on(window, "offline", update);
|
|
93
|
-
return () => {
|
|
94
|
-
unsub_online();
|
|
95
|
-
unsub_offline();
|
|
96
|
-
};
|
|
97
|
-
});
|
|
98
|
-
/**
|
|
99
|
-
* `devicePixelRatio.current` is a reactive view of `window.devicePixelRatio`. On the server it is `undefined`.
|
|
100
|
-
* Note that behaviour differs between browsers — on Chrome it will respond to the current zoom level,
|
|
101
|
-
* on Firefox and Safari it won't.
|
|
102
|
-
* @type {{ get current(): number | undefined }}
|
|
103
|
-
* @since 5.11.0
|
|
104
|
-
*/
|
|
105
|
-
var devicePixelRatio = /* @__PURE__ */ new class DevicePixelRatio {
|
|
106
|
-
#dpr = source(void 0);
|
|
107
|
-
#update() {
|
|
108
|
-
const off = on(window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`), "change", () => {
|
|
109
|
-
set(this.#dpr, window.devicePixelRatio);
|
|
110
|
-
off();
|
|
111
|
-
this.#update();
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
constructor() {
|
|
115
|
-
tag(this.#dpr, "window.devicePixelRatio");
|
|
116
|
-
}
|
|
117
|
-
get current() {
|
|
118
|
-
get(this.#dpr);
|
|
119
|
-
}
|
|
120
|
-
}();
|
|
121
|
-
//#endregion
|
|
122
|
-
export { devicePixelRatio, innerHeight, innerWidth, online, outerHeight, outerWidth, screenLeft, screenTop, scrollX, scrollY };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"svelte_reactivity_window.js","names":["#fn","#subscribe","#dpr","#update"],"sources":["../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/reactive-value.js","../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/window/index.js"],"sourcesContent":["import { createSubscriber } from './create-subscriber.js';\n\n/**\n * @template T\n */\nexport class ReactiveValue {\n\t#fn;\n\t#subscribe;\n\n\t/**\n\t *\n\t * @param {() => T} fn\n\t * @param {(update: () => void) => void} onsubscribe\n\t */\n\tconstructor(fn, onsubscribe) {\n\t\tthis.#fn = fn;\n\t\tthis.#subscribe = createSubscriber(onsubscribe);\n\t}\n\n\tget current() {\n\t\tthis.#subscribe();\n\t\treturn this.#fn();\n\t}\n}\n","import { BROWSER, DEV } from 'esm-env';\nimport { on } from '../../events/index.js';\nimport { ReactiveValue } from '../reactive-value.js';\nimport { get } from '../../internal/client/index.js';\nimport { set, source } from '../../internal/client/reactivity/sources.js';\nimport { tag } from '../../internal/client/dev/tracing.js';\n\n/**\n * `scrollX.current` is a reactive view of `window.scrollX`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const scrollX = new ReactiveValue(\n\tBROWSER ? () => window.scrollX : () => undefined,\n\t(update) => on(window, 'scroll', update)\n);\n\n/**\n * `scrollY.current` is a reactive view of `window.scrollY`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const scrollY = new ReactiveValue(\n\tBROWSER ? () => window.scrollY : () => undefined,\n\t(update) => on(window, 'scroll', update)\n);\n\n/**\n * `innerWidth.current` is a reactive view of `window.innerWidth`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const innerWidth = new ReactiveValue(\n\tBROWSER ? () => window.innerWidth : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `innerHeight.current` is a reactive view of `window.innerHeight`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const innerHeight = new ReactiveValue(\n\tBROWSER ? () => window.innerHeight : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `outerWidth.current` is a reactive view of `window.outerWidth`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const outerWidth = new ReactiveValue(\n\tBROWSER ? () => window.outerWidth : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `outerHeight.current` is a reactive view of `window.outerHeight`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const outerHeight = new ReactiveValue(\n\tBROWSER ? () => window.outerHeight : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `screenLeft.current` is a reactive view of `window.screenLeft`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const screenLeft = new ReactiveValue(\n\tBROWSER ? () => window.screenLeft : () => undefined,\n\t(update) => {\n\t\tlet value = window.screenLeft;\n\n\t\tlet frame = requestAnimationFrame(function check() {\n\t\t\tframe = requestAnimationFrame(check);\n\n\t\t\tif (value !== (value = window.screenLeft)) {\n\t\t\t\tupdate();\n\t\t\t}\n\t\t});\n\n\t\treturn () => {\n\t\t\tcancelAnimationFrame(frame);\n\t\t};\n\t}\n);\n\n/**\n * `screenTop.current` is a reactive view of `window.screenTop`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const screenTop = new ReactiveValue(\n\tBROWSER ? () => window.screenTop : () => undefined,\n\t(update) => {\n\t\tlet value = window.screenTop;\n\n\t\tlet frame = requestAnimationFrame(function check() {\n\t\t\tframe = requestAnimationFrame(check);\n\n\t\t\tif (value !== (value = window.screenTop)) {\n\t\t\t\tupdate();\n\t\t\t}\n\t\t});\n\n\t\treturn () => {\n\t\t\tcancelAnimationFrame(frame);\n\t\t};\n\t}\n);\n\n/**\n * `online.current` is a reactive view of `navigator.onLine`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const online = new ReactiveValue(\n\tBROWSER ? () => navigator.onLine : () => undefined,\n\t(update) => {\n\t\tconst unsub_online = on(window, 'online', update);\n\t\tconst unsub_offline = on(window, 'offline', update);\n\t\treturn () => {\n\t\t\tunsub_online();\n\t\t\tunsub_offline();\n\t\t};\n\t}\n);\n\n/**\n * `devicePixelRatio.current` is a reactive view of `window.devicePixelRatio`. On the server it is `undefined`.\n * Note that behaviour differs between browsers — on Chrome it will respond to the current zoom level,\n * on Firefox and Safari it won't.\n * @type {{ get current(): number | undefined }}\n * @since 5.11.0\n */\nexport const devicePixelRatio = /* @__PURE__ */ new (class DevicePixelRatio {\n\t#dpr = source(BROWSER ? window.devicePixelRatio : undefined);\n\n\t#update() {\n\t\tconst off = on(\n\t\t\twindow.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),\n\t\t\t'change',\n\t\t\t() => {\n\t\t\t\tset(this.#dpr, window.devicePixelRatio);\n\n\t\t\t\toff();\n\t\t\t\tthis.#update();\n\t\t\t}\n\t\t);\n\t}\n\n\tconstructor() {\n\t\tif (BROWSER) {\n\t\t\tthis.#update();\n\t\t}\n\n\t\tif (DEV) {\n\t\t\ttag(this.#dpr, 'window.devicePixelRatio');\n\t\t}\n\t}\n\n\tget current() {\n\t\tget(this.#dpr);\n\t\treturn BROWSER ? window.devicePixelRatio : undefined;\n\t}\n})();\n"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;;AAKA,IAAa,gBAAb,MAA2B;CAC1B;CACA;;;;;;CAOA,YAAY,IAAI,aAAa;EAC5B,KAAKA,MAAM;EACX,KAAKC,aAAa,iBAAiB,WAAW;CAC/C;CAEA,IAAI,UAAU;EACb,KAAKA,WAAW;EAChB,OAAO,KAAKD,IAAI;CACjB;AACD;;;;;;;ACZA,IAAa,UAAU,IAAI,oBACa,KAAA,IACtC,WAAW,GAAG,QAAQ,UAAU,MAAM,CACxC;;;;;AAMA,IAAa,UAAU,IAAI,oBACa,KAAA,IACtC,WAAW,GAAG,QAAQ,UAAU,MAAM,CACxC;;;;;AAMA,IAAa,aAAa,IAAI,oBACa,KAAA,IACzC,WAAW,GAAG,QAAQ,UAAU,MAAM,CACxC;;;;;AAMA,IAAa,cAAc,IAAI,oBACa,KAAA,IAC1C,WAAW,GAAG,QAAQ,UAAU,MAAM,CACxC;;;;;AAMA,IAAa,aAAa,IAAI,oBACa,KAAA,IACzC,WAAW,GAAG,QAAQ,UAAU,MAAM,CACxC;;;;;AAMA,IAAa,cAAc,IAAI,oBACa,KAAA,IAC1C,WAAW,GAAG,QAAQ,UAAU,MAAM,CACxC;;;;;AAMA,IAAa,aAAa,IAAI,oBACa,KAAA,IACzC,WAAW;CACX,IAAI,QAAQ,OAAO;CAEnB,IAAI,QAAQ,sBAAsB,SAAS,QAAQ;EAClD,QAAQ,sBAAsB,KAAK;EAEnC,IAAI,WAAW,QAAQ,OAAO,aAC7B,OAAO;CAET,CAAC;CAED,aAAa;EACZ,qBAAqB,KAAK;CAC3B;AACD,CACD;;;;;AAMA,IAAa,YAAY,IAAI,oBACa,KAAA,IACxC,WAAW;CACX,IAAI,QAAQ,OAAO;CAEnB,IAAI,QAAQ,sBAAsB,SAAS,QAAQ;EAClD,QAAQ,sBAAsB,KAAK;EAEnC,IAAI,WAAW,QAAQ,OAAO,YAC7B,OAAO;CAET,CAAC;CAED,aAAa;EACZ,qBAAqB,KAAK;CAC3B;AACD,CACD;;;;;AAMA,IAAa,SAAS,IAAI,oBACgB,KAAA,IACxC,WAAW;CACX,MAAM,eAAe,GAAG,QAAQ,UAAU,MAAM;CAChD,MAAM,gBAAgB,GAAG,QAAQ,WAAW,MAAM;CAClD,aAAa;EACZ,aAAa;EACb,cAAc;CACf;AACD,CACD;;;;;;;;AASA,IAAa,mCAAmC,IAAK,MAAM,iBAAiB;CAC3E,OAAO,OAA2C,KAAA,CAAS;CAE3D,UAAU;EACT,MAAM,MAAM,GACX,OAAO,WAAW,gBAAgB,OAAO,iBAAiB,MAAM,GAChE,gBACM;GACL,IAAI,KAAKE,MAAM,OAAO,gBAAgB;GAEtC,IAAI;GACJ,KAAKC,QAAQ;EACd,CACD;CACD;CAEA,cAAc;EAMZ,IAAI,KAAKD,MAAM,yBAAyB;CAE1C;CAEA,IAAI,UAAU;EACb,IAAI,KAAKA,IAAI;CAEd;AACD,EAAG"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { $t as readonly, Qt as readable, Xt as derived, Zt as get, en as writable } from "./utils-DBx1SCN6.js";
|
|
2
|
-
//#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/store/index-server.js
|
|
3
|
-
/** @import { Readable, Writable } from './public.js' */
|
|
4
|
-
/**
|
|
5
|
-
* @template V
|
|
6
|
-
* @overload
|
|
7
|
-
* @param {() => V} get
|
|
8
|
-
* @param {(v: V) => void} set
|
|
9
|
-
* @returns {Writable<V>}
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
* @template V
|
|
13
|
-
* @overload
|
|
14
|
-
* @param {() => V} get
|
|
15
|
-
* @returns {Readable<V>}
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* Create a store from a function that returns state, and (to make a writable store), an
|
|
19
|
-
* optional second function that sets state.
|
|
20
|
-
*
|
|
21
|
-
* ```ts
|
|
22
|
-
* import { toStore } from 'svelte/store';
|
|
23
|
-
*
|
|
24
|
-
* let count = $state(0);
|
|
25
|
-
*
|
|
26
|
-
* const store = toStore(() => count, (v) => (count = v));
|
|
27
|
-
* ```
|
|
28
|
-
* @template V
|
|
29
|
-
* @param {() => V} get
|
|
30
|
-
* @param {(v: V) => void} [set]
|
|
31
|
-
* @returns {Writable<V> | Readable<V>}
|
|
32
|
-
*/
|
|
33
|
-
function toStore(get, set) {
|
|
34
|
-
const store = writable(get());
|
|
35
|
-
if (set) return {
|
|
36
|
-
set,
|
|
37
|
-
update: (fn) => set(fn(get())),
|
|
38
|
-
subscribe: store.subscribe
|
|
39
|
-
};
|
|
40
|
-
return { subscribe: store.subscribe };
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @template V
|
|
44
|
-
* @overload
|
|
45
|
-
* @param {Writable<V>} store
|
|
46
|
-
* @returns {{ current: V }}
|
|
47
|
-
*/
|
|
48
|
-
/**
|
|
49
|
-
* @template V
|
|
50
|
-
* @overload
|
|
51
|
-
* @param {Readable<V>} store
|
|
52
|
-
* @returns {{ readonly current: V }}
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* Convert a store to an object with a reactive `current` property. If `store`
|
|
56
|
-
* is a readable store, `current` will be a readonly property.
|
|
57
|
-
*
|
|
58
|
-
* ```ts
|
|
59
|
-
* import { fromStore, get, writable } from 'svelte/store';
|
|
60
|
-
*
|
|
61
|
-
* const store = writable(0);
|
|
62
|
-
*
|
|
63
|
-
* const count = fromStore(store);
|
|
64
|
-
*
|
|
65
|
-
* count.current; // 0;
|
|
66
|
-
* store.set(1);
|
|
67
|
-
* count.current; // 1
|
|
68
|
-
*
|
|
69
|
-
* count.current += 1;
|
|
70
|
-
* get(store); // 2
|
|
71
|
-
* ```
|
|
72
|
-
* @template V
|
|
73
|
-
* @param {Writable<V> | Readable<V>} store
|
|
74
|
-
*/
|
|
75
|
-
function fromStore(store) {
|
|
76
|
-
if ("set" in store) return {
|
|
77
|
-
get current() {
|
|
78
|
-
return get(store);
|
|
79
|
-
},
|
|
80
|
-
set current(v) {
|
|
81
|
-
store.set(v);
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
return { get current() {
|
|
85
|
-
return get(store);
|
|
86
|
-
} };
|
|
87
|
-
}
|
|
88
|
-
//#endregion
|
|
89
|
-
export { derived, fromStore, get, readable, readonly, toStore, writable };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"svelte_store.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/store/index-server.js"],"sourcesContent":["/** @import { Readable, Writable } from './public.js' */\nimport { get, writable } from './shared/index.js';\n\nexport { derived, get, readable, readonly, writable } from './shared/index.js';\n\n/**\n * @template V\n * @overload\n * @param {() => V} get\n * @param {(v: V) => void} set\n * @returns {Writable<V>}\n */\n/**\n * @template V\n * @overload\n * @param {() => V} get\n * @returns {Readable<V>}\n */\n/**\n * Create a store from a function that returns state, and (to make a writable store), an\n * optional second function that sets state.\n *\n * ```ts\n * import { toStore } from 'svelte/store';\n *\n * let count = $state(0);\n *\n * const store = toStore(() => count, (v) => (count = v));\n * ```\n * @template V\n * @param {() => V} get\n * @param {(v: V) => void} [set]\n * @returns {Writable<V> | Readable<V>}\n */\nexport function toStore(get, set) {\n\tconst store = writable(get());\n\n\tif (set) {\n\t\treturn {\n\t\t\tset,\n\t\t\tupdate: (fn) => set(fn(get())),\n\t\t\tsubscribe: store.subscribe\n\t\t};\n\t}\n\n\treturn {\n\t\tsubscribe: store.subscribe\n\t};\n}\n\n/**\n * @template V\n * @overload\n * @param {Writable<V>} store\n * @returns {{ current: V }}\n */\n/**\n * @template V\n * @overload\n * @param {Readable<V>} store\n * @returns {{ readonly current: V }}\n */\n/**\n * Convert a store to an object with a reactive `current` property. If `store`\n * is a readable store, `current` will be a readonly property.\n *\n * ```ts\n * import { fromStore, get, writable } from 'svelte/store';\n *\n * const store = writable(0);\n *\n * const count = fromStore(store);\n *\n * count.current; // 0;\n * store.set(1);\n * count.current; // 1\n *\n * count.current += 1;\n * get(store); // 2\n * ```\n * @template V\n * @param {Writable<V> | Readable<V>} store\n */\nexport function fromStore(store) {\n\tif ('set' in store) {\n\t\treturn {\n\t\t\tget current() {\n\t\t\t\treturn get(store);\n\t\t\t},\n\t\t\tset current(v) {\n\t\t\t\tstore.set(v);\n\t\t\t}\n\t\t};\n\t}\n\n\treturn {\n\t\tget current() {\n\t\t\treturn get(store);\n\t\t}\n\t};\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,QAAQ,KAAK,KAAK;CACjC,MAAM,QAAQ,SAAS,IAAI,CAAC;CAE5B,IAAI,KACH,OAAO;EACN;EACA,SAAS,OAAO,IAAI,GAAG,IAAI,CAAC,CAAC;EAC7B,WAAW,MAAM;CAClB;CAGD,OAAO,EACN,WAAW,MAAM,UAClB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,SAAgB,UAAU,OAAO;CAChC,IAAI,SAAS,OACZ,OAAO;EACN,IAAI,UAAU;GACb,OAAO,IAAI,KAAK;EACjB;EACA,IAAI,QAAQ,GAAG;GACd,MAAM,IAAI,CAAC;EACZ;CACD;CAGD,OAAO,EACN,IAAI,UAAU;EACb,OAAO,IAAI,KAAK;CACjB,EACD;AACD"}
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
import { v as transition_slide_display } from "./warnings-B6Y7P0Q-.js";
|
|
2
|
-
//#region ../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/transition/index.js
|
|
3
|
-
/** @import { BlurParams, CrossfadeParams, DrawParams, FadeParams, FlyParams, ScaleParams, SlideParams, TransitionConfig } from './public' */
|
|
4
|
-
/** @param {number} x */
|
|
5
|
-
var linear = (x) => x;
|
|
6
|
-
/** @param {number} t */
|
|
7
|
-
function cubic_out(t) {
|
|
8
|
-
const f = t - 1;
|
|
9
|
-
return f * f * f + 1;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @param {number} t
|
|
13
|
-
* @returns {number}
|
|
14
|
-
*/
|
|
15
|
-
function cubic_in_out(t) {
|
|
16
|
-
return t < .5 ? 4 * t * t * t : .5 * Math.pow(2 * t - 2, 3) + 1;
|
|
17
|
-
}
|
|
18
|
-
/** @param {number | string} value
|
|
19
|
-
* @returns {[number, string]}
|
|
20
|
-
*/
|
|
21
|
-
function split_css_unit(value) {
|
|
22
|
-
const split = typeof value === "string" && value.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
|
23
|
-
return split ? [parseFloat(split[1]), split[2] || "px"] : [value, "px"];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Animates a `blur` filter alongside an element's opacity.
|
|
27
|
-
*
|
|
28
|
-
* @param {Element} node
|
|
29
|
-
* @param {BlurParams} [params]
|
|
30
|
-
* @returns {TransitionConfig}
|
|
31
|
-
*/
|
|
32
|
-
function blur(node, { delay = 0, duration = 400, easing = cubic_in_out, amount = 5, opacity = 0 } = {}) {
|
|
33
|
-
const style = getComputedStyle(node);
|
|
34
|
-
const target_opacity = +style.opacity;
|
|
35
|
-
const f = style.filter === "none" ? "" : style.filter;
|
|
36
|
-
const od = target_opacity * (1 - opacity);
|
|
37
|
-
const [value, unit] = split_css_unit(amount);
|
|
38
|
-
return {
|
|
39
|
-
delay,
|
|
40
|
-
duration,
|
|
41
|
-
easing,
|
|
42
|
-
css: (_t, u) => `opacity: ${target_opacity - od * u}; filter: ${f} blur(${u * value}${unit});`
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Animates the opacity of an element from 0 to the current opacity for `in` transitions and from the current opacity to 0 for `out` transitions.
|
|
47
|
-
*
|
|
48
|
-
* @param {Element} node
|
|
49
|
-
* @param {FadeParams} [params]
|
|
50
|
-
* @returns {TransitionConfig}
|
|
51
|
-
*/
|
|
52
|
-
function fade(node, { delay = 0, duration = 400, easing = linear } = {}) {
|
|
53
|
-
const o = +getComputedStyle(node).opacity;
|
|
54
|
-
return {
|
|
55
|
-
delay,
|
|
56
|
-
duration,
|
|
57
|
-
easing,
|
|
58
|
-
css: (t) => `opacity: ${t * o}`
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Animates the x and y positions and the opacity of an element. `in` transitions animate from the provided values, passed as parameters to the element's default values. `out` transitions animate from the element's default values to the provided values.
|
|
63
|
-
*
|
|
64
|
-
* @param {Element} node
|
|
65
|
-
* @param {FlyParams} [params]
|
|
66
|
-
* @returns {TransitionConfig}
|
|
67
|
-
*/
|
|
68
|
-
function fly(node, { delay = 0, duration = 400, easing = cubic_out, x = 0, y = 0, opacity = 0 } = {}) {
|
|
69
|
-
const style = getComputedStyle(node);
|
|
70
|
-
const target_opacity = +style.opacity;
|
|
71
|
-
const transform = style.transform === "none" ? "" : style.transform;
|
|
72
|
-
const od = target_opacity * (1 - opacity);
|
|
73
|
-
const [x_value, x_unit] = split_css_unit(x);
|
|
74
|
-
const [y_value, y_unit] = split_css_unit(y);
|
|
75
|
-
return {
|
|
76
|
-
delay,
|
|
77
|
-
duration,
|
|
78
|
-
easing,
|
|
79
|
-
css: (t, u) => `
|
|
80
|
-
transform: ${transform} translate(${(1 - t) * x_value}${x_unit}, ${(1 - t) * y_value}${y_unit});
|
|
81
|
-
opacity: ${target_opacity - od * u}`
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
var slide_warning = false;
|
|
85
|
-
/**
|
|
86
|
-
* Slides an element in and out.
|
|
87
|
-
*
|
|
88
|
-
* @param {Element} node
|
|
89
|
-
* @param {SlideParams} [params]
|
|
90
|
-
* @returns {TransitionConfig}
|
|
91
|
-
*/
|
|
92
|
-
function slide(node, { delay = 0, duration = 400, easing = cubic_out, axis = "y" } = {}) {
|
|
93
|
-
const style = getComputedStyle(node);
|
|
94
|
-
if (!slide_warning && /(contents|inline|table)/.test(style.display)) {
|
|
95
|
-
slide_warning = true;
|
|
96
|
-
Promise.resolve().then(() => slide_warning = false);
|
|
97
|
-
transition_slide_display(style.display);
|
|
98
|
-
}
|
|
99
|
-
const opacity = +style.opacity;
|
|
100
|
-
const primary_property = axis === "y" ? "height" : "width";
|
|
101
|
-
const primary_property_value = parseFloat(style[primary_property]);
|
|
102
|
-
const secondary_properties = axis === "y" ? ["top", "bottom"] : ["left", "right"];
|
|
103
|
-
const capitalized_secondary_properties = secondary_properties.map((e) => `${e[0].toUpperCase()}${e.slice(1)}`);
|
|
104
|
-
const padding_start_value = parseFloat(style[`padding${capitalized_secondary_properties[0]}`]);
|
|
105
|
-
const padding_end_value = parseFloat(style[`padding${capitalized_secondary_properties[1]}`]);
|
|
106
|
-
const margin_start_value = parseFloat(style[`margin${capitalized_secondary_properties[0]}`]);
|
|
107
|
-
const margin_end_value = parseFloat(style[`margin${capitalized_secondary_properties[1]}`]);
|
|
108
|
-
const border_width_start_value = parseFloat(style[`border${capitalized_secondary_properties[0]}Width`]);
|
|
109
|
-
const border_width_end_value = parseFloat(style[`border${capitalized_secondary_properties[1]}Width`]);
|
|
110
|
-
return {
|
|
111
|
-
delay,
|
|
112
|
-
duration,
|
|
113
|
-
easing,
|
|
114
|
-
css: (t) => `overflow: hidden;opacity: ${Math.min(t * 20, 1) * opacity};${primary_property}: ${t * primary_property_value}px;padding-${secondary_properties[0]}: ${t * padding_start_value}px;padding-${secondary_properties[1]}: ${t * padding_end_value}px;margin-${secondary_properties[0]}: ${t * margin_start_value}px;margin-${secondary_properties[1]}: ${t * margin_end_value}px;border-${secondary_properties[0]}-width: ${t * border_width_start_value}px;border-${secondary_properties[1]}-width: ${t * border_width_end_value}px;min-${primary_property}: 0`
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Animates the opacity and scale of an element. `in` transitions animate from the provided values, passed as parameters, to an element's current (default) values. `out` transitions animate from an element's default values to the provided values.
|
|
119
|
-
*
|
|
120
|
-
* @param {Element} node
|
|
121
|
-
* @param {ScaleParams} [params]
|
|
122
|
-
* @returns {TransitionConfig}
|
|
123
|
-
*/
|
|
124
|
-
function scale(node, { delay = 0, duration = 400, easing = cubic_out, start = 0, opacity = 0 } = {}) {
|
|
125
|
-
const style = getComputedStyle(node);
|
|
126
|
-
const target_opacity = +style.opacity;
|
|
127
|
-
const transform = style.transform === "none" ? "" : style.transform;
|
|
128
|
-
const sd = 1 - start;
|
|
129
|
-
const od = target_opacity * (1 - opacity);
|
|
130
|
-
return {
|
|
131
|
-
delay,
|
|
132
|
-
duration,
|
|
133
|
-
easing,
|
|
134
|
-
css: (_t, u) => `
|
|
135
|
-
transform: ${transform} scale(${1 - sd * u});
|
|
136
|
-
opacity: ${target_opacity - od * u}
|
|
137
|
-
`
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Animates the stroke of an SVG element, like a snake in a tube. `in` transitions begin with the path invisible and draw the path to the screen over time. `out` transitions start in a visible state and gradually erase the path. `draw` only works with elements that have a `getTotalLength` method, like `<path>` and `<polyline>`.
|
|
142
|
-
*
|
|
143
|
-
* @param {SVGElement & { getTotalLength(): number }} node
|
|
144
|
-
* @param {DrawParams} [params]
|
|
145
|
-
* @returns {TransitionConfig}
|
|
146
|
-
*/
|
|
147
|
-
function draw(node, { delay = 0, speed, duration, easing = cubic_in_out } = {}) {
|
|
148
|
-
let len = node.getTotalLength();
|
|
149
|
-
const style = getComputedStyle(node);
|
|
150
|
-
if (style.strokeLinecap !== "butt") len += parseInt(style.strokeWidth);
|
|
151
|
-
if (duration === void 0) {
|
|
152
|
-
if (speed === void 0) duration = 800;
|
|
153
|
-
else duration = len / speed;
|
|
154
|
-
} else if (typeof duration === "function") duration = duration(len);
|
|
155
|
-
return {
|
|
156
|
-
delay,
|
|
157
|
-
duration,
|
|
158
|
-
easing,
|
|
159
|
-
css: (_, u) => `
|
|
160
|
-
stroke-dasharray: ${len};
|
|
161
|
-
stroke-dashoffset: ${u * len};
|
|
162
|
-
`
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* @template T
|
|
167
|
-
* @template S
|
|
168
|
-
* @param {T} tar
|
|
169
|
-
* @param {S} src
|
|
170
|
-
* @returns {T & S}
|
|
171
|
-
*/
|
|
172
|
-
function assign(tar, src) {
|
|
173
|
-
for (const k in src) tar[k] = src[k];
|
|
174
|
-
return tar;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* The `crossfade` function creates a pair of [transitions](https://svelte.dev/docs/svelte/transition) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
|
|
178
|
-
*
|
|
179
|
-
* @param {CrossfadeParams & {
|
|
180
|
-
* fallback?: (node: Element, params: CrossfadeParams, intro: boolean) => TransitionConfig;
|
|
181
|
-
* }} params
|
|
182
|
-
* @returns {[(node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig, (node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig]}
|
|
183
|
-
*/
|
|
184
|
-
function crossfade({ fallback, ...defaults }) {
|
|
185
|
-
/** @type {Map<any, Element>} */
|
|
186
|
-
const to_receive = /* @__PURE__ */ new Map();
|
|
187
|
-
/** @type {Map<any, Element>} */
|
|
188
|
-
const to_send = /* @__PURE__ */ new Map();
|
|
189
|
-
/**
|
|
190
|
-
* @param {Element} from_node
|
|
191
|
-
* @param {Element} node
|
|
192
|
-
* @param {CrossfadeParams} params
|
|
193
|
-
* @returns {TransitionConfig}
|
|
194
|
-
*/
|
|
195
|
-
function crossfade(from_node, node, params) {
|
|
196
|
-
const { delay = 0, duration = (d) => Math.sqrt(d) * 30, easing = cubic_out } = assign(assign({}, defaults), params);
|
|
197
|
-
const from = from_node.getBoundingClientRect();
|
|
198
|
-
const to = node.getBoundingClientRect();
|
|
199
|
-
const dx = from.left - to.left;
|
|
200
|
-
const dy = from.top - to.top;
|
|
201
|
-
const dw = from.width / to.width;
|
|
202
|
-
const dh = from.height / to.height;
|
|
203
|
-
const d = Math.sqrt(dx * dx + dy * dy);
|
|
204
|
-
const style = getComputedStyle(node);
|
|
205
|
-
const transform = style.transform === "none" ? "" : style.transform;
|
|
206
|
-
const opacity = +style.opacity;
|
|
207
|
-
return {
|
|
208
|
-
delay,
|
|
209
|
-
duration: typeof duration === "function" ? duration(d) : duration,
|
|
210
|
-
easing,
|
|
211
|
-
css: (t, u) => `
|
|
212
|
-
opacity: ${t * opacity};
|
|
213
|
-
transform-origin: top left;
|
|
214
|
-
transform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${t + (1 - t) * dh});
|
|
215
|
-
`
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* @param {Map<any, Element>} items
|
|
220
|
-
* @param {Map<any, Element>} counterparts
|
|
221
|
-
* @param {boolean} intro
|
|
222
|
-
* @returns {(node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig}
|
|
223
|
-
*/
|
|
224
|
-
function transition(items, counterparts, intro) {
|
|
225
|
-
return (node, params) => {
|
|
226
|
-
items.set(params.key, node);
|
|
227
|
-
return () => {
|
|
228
|
-
if (counterparts.has(params.key)) {
|
|
229
|
-
const other_node = counterparts.get(params.key);
|
|
230
|
-
counterparts.delete(params.key);
|
|
231
|
-
return crossfade(other_node, node, params);
|
|
232
|
-
}
|
|
233
|
-
items.delete(params.key);
|
|
234
|
-
return fallback && fallback(node, params, intro);
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
return [transition(to_send, to_receive, false), transition(to_receive, to_send, true)];
|
|
239
|
-
}
|
|
240
|
-
//#endregion
|
|
241
|
-
export { blur, crossfade, draw, fade, fly, scale, slide };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"svelte_transition.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/transition/index.js"],"sourcesContent":["/** @import { BlurParams, CrossfadeParams, DrawParams, FadeParams, FlyParams, ScaleParams, SlideParams, TransitionConfig } from './public' */\n\nimport { DEV } from 'esm-env';\nimport * as w from '../internal/client/warnings.js';\n\n/** @param {number} x */\nconst linear = (x) => x;\n\n/** @param {number} t */\nfunction cubic_out(t) {\n\tconst f = t - 1.0;\n\treturn f * f * f + 1.0;\n}\n\n/**\n * @param {number} t\n * @returns {number}\n */\nfunction cubic_in_out(t) {\n\treturn t < 0.5 ? 4.0 * t * t * t : 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0;\n}\n\n/** @param {number | string} value\n * @returns {[number, string]}\n */\nfunction split_css_unit(value) {\n\tconst split = typeof value === 'string' && value.match(/^\\s*(-?[\\d.]+)([^\\s]*)\\s*$/);\n\treturn split ? [parseFloat(split[1]), split[2] || 'px'] : [/** @type {number} */ (value), 'px'];\n}\n\n/**\n * Animates a `blur` filter alongside an element's opacity.\n *\n * @param {Element} node\n * @param {BlurParams} [params]\n * @returns {TransitionConfig}\n */\nexport function blur(\n\tnode,\n\t{ delay = 0, duration = 400, easing = cubic_in_out, amount = 5, opacity = 0 } = {}\n) {\n\tconst style = getComputedStyle(node);\n\tconst target_opacity = +style.opacity;\n\tconst f = style.filter === 'none' ? '' : style.filter;\n\tconst od = target_opacity * (1 - opacity);\n\tconst [value, unit] = split_css_unit(amount);\n\treturn {\n\t\tdelay,\n\t\tduration,\n\t\teasing,\n\t\tcss: (_t, u) => `opacity: ${target_opacity - od * u}; filter: ${f} blur(${u * value}${unit});`\n\t};\n}\n\n/**\n * Animates the opacity of an element from 0 to the current opacity for `in` transitions and from the current opacity to 0 for `out` transitions.\n *\n * @param {Element} node\n * @param {FadeParams} [params]\n * @returns {TransitionConfig}\n */\nexport function fade(node, { delay = 0, duration = 400, easing = linear } = {}) {\n\tconst o = +getComputedStyle(node).opacity;\n\treturn {\n\t\tdelay,\n\t\tduration,\n\t\teasing,\n\t\tcss: (t) => `opacity: ${t * o}`\n\t};\n}\n\n/**\n * Animates the x and y positions and the opacity of an element. `in` transitions animate from the provided values, passed as parameters to the element's default values. `out` transitions animate from the element's default values to the provided values.\n *\n * @param {Element} node\n * @param {FlyParams} [params]\n * @returns {TransitionConfig}\n */\nexport function fly(\n\tnode,\n\t{ delay = 0, duration = 400, easing = cubic_out, x = 0, y = 0, opacity = 0 } = {}\n) {\n\tconst style = getComputedStyle(node);\n\tconst target_opacity = +style.opacity;\n\tconst transform = style.transform === 'none' ? '' : style.transform;\n\tconst od = target_opacity * (1 - opacity);\n\tconst [x_value, x_unit] = split_css_unit(x);\n\tconst [y_value, y_unit] = split_css_unit(y);\n\treturn {\n\t\tdelay,\n\t\tduration,\n\t\teasing,\n\t\tcss: (t, u) => `\n\t\t\ttransform: ${transform} translate(${(1 - t) * x_value}${x_unit}, ${(1 - t) * y_value}${y_unit});\n\t\t\topacity: ${target_opacity - od * u}`\n\t};\n}\n\nvar slide_warning = false;\n\n/**\n * Slides an element in and out.\n *\n * @param {Element} node\n * @param {SlideParams} [params]\n * @returns {TransitionConfig}\n */\nexport function slide(node, { delay = 0, duration = 400, easing = cubic_out, axis = 'y' } = {}) {\n\tconst style = getComputedStyle(node);\n\n\tif (DEV && !slide_warning && /(contents|inline|table)/.test(style.display)) {\n\t\tslide_warning = true;\n\t\tPromise.resolve().then(() => (slide_warning = false));\n\t\tw.transition_slide_display(style.display);\n\t}\n\n\tconst opacity = +style.opacity;\n\tconst primary_property = axis === 'y' ? 'height' : 'width';\n\tconst primary_property_value = parseFloat(style[primary_property]);\n\tconst secondary_properties = axis === 'y' ? ['top', 'bottom'] : ['left', 'right'];\n\tconst capitalized_secondary_properties = secondary_properties.map(\n\t\t(e) => /** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */ (`${e[0].toUpperCase()}${e.slice(1)}`)\n\t);\n\tconst padding_start_value = parseFloat(style[`padding${capitalized_secondary_properties[0]}`]);\n\tconst padding_end_value = parseFloat(style[`padding${capitalized_secondary_properties[1]}`]);\n\tconst margin_start_value = parseFloat(style[`margin${capitalized_secondary_properties[0]}`]);\n\tconst margin_end_value = parseFloat(style[`margin${capitalized_secondary_properties[1]}`]);\n\tconst border_width_start_value = parseFloat(\n\t\tstyle[`border${capitalized_secondary_properties[0]}Width`]\n\t);\n\tconst border_width_end_value = parseFloat(\n\t\tstyle[`border${capitalized_secondary_properties[1]}Width`]\n\t);\n\treturn {\n\t\tdelay,\n\t\tduration,\n\t\teasing,\n\t\tcss: (t) =>\n\t\t\t'overflow: hidden;' +\n\t\t\t`opacity: ${Math.min(t * 20, 1) * opacity};` +\n\t\t\t`${primary_property}: ${t * primary_property_value}px;` +\n\t\t\t`padding-${secondary_properties[0]}: ${t * padding_start_value}px;` +\n\t\t\t`padding-${secondary_properties[1]}: ${t * padding_end_value}px;` +\n\t\t\t`margin-${secondary_properties[0]}: ${t * margin_start_value}px;` +\n\t\t\t`margin-${secondary_properties[1]}: ${t * margin_end_value}px;` +\n\t\t\t`border-${secondary_properties[0]}-width: ${t * border_width_start_value}px;` +\n\t\t\t`border-${secondary_properties[1]}-width: ${t * border_width_end_value}px;` +\n\t\t\t`min-${primary_property}: 0`\n\t};\n}\n\n/**\n * Animates the opacity and scale of an element. `in` transitions animate from the provided values, passed as parameters, to an element's current (default) values. `out` transitions animate from an element's default values to the provided values.\n *\n * @param {Element} node\n * @param {ScaleParams} [params]\n * @returns {TransitionConfig}\n */\nexport function scale(\n\tnode,\n\t{ delay = 0, duration = 400, easing = cubic_out, start = 0, opacity = 0 } = {}\n) {\n\tconst style = getComputedStyle(node);\n\tconst target_opacity = +style.opacity;\n\tconst transform = style.transform === 'none' ? '' : style.transform;\n\tconst sd = 1 - start;\n\tconst od = target_opacity * (1 - opacity);\n\treturn {\n\t\tdelay,\n\t\tduration,\n\t\teasing,\n\t\tcss: (_t, u) => `\n\t\t\ttransform: ${transform} scale(${1 - sd * u});\n\t\t\topacity: ${target_opacity - od * u}\n\t\t`\n\t};\n}\n\n/**\n * Animates the stroke of an SVG element, like a snake in a tube. `in` transitions begin with the path invisible and draw the path to the screen over time. `out` transitions start in a visible state and gradually erase the path. `draw` only works with elements that have a `getTotalLength` method, like `<path>` and `<polyline>`.\n *\n * @param {SVGElement & { getTotalLength(): number }} node\n * @param {DrawParams} [params]\n * @returns {TransitionConfig}\n */\nexport function draw(node, { delay = 0, speed, duration, easing = cubic_in_out } = {}) {\n\tlet len = node.getTotalLength();\n\tconst style = getComputedStyle(node);\n\tif (style.strokeLinecap !== 'butt') {\n\t\tlen += parseInt(style.strokeWidth);\n\t}\n\tif (duration === undefined) {\n\t\tif (speed === undefined) {\n\t\t\tduration = 800;\n\t\t} else {\n\t\t\tduration = len / speed;\n\t\t}\n\t} else if (typeof duration === 'function') {\n\t\tduration = duration(len);\n\t}\n\treturn {\n\t\tdelay,\n\t\tduration,\n\t\teasing,\n\t\tcss: (_, u) => `\n\t\t\tstroke-dasharray: ${len};\n\t\t\tstroke-dashoffset: ${u * len};\n\t\t`\n\t};\n}\n\n/**\n * @template T\n * @template S\n * @param {T} tar\n * @param {S} src\n * @returns {T & S}\n */\nfunction assign(tar, src) {\n\t// @ts-ignore\n\tfor (const k in src) tar[k] = src[k];\n\treturn /** @type {T & S} */ (tar);\n}\n\n/**\n * The `crossfade` function creates a pair of [transitions](https://svelte.dev/docs/svelte/transition) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.\n *\n * @param {CrossfadeParams & {\n * \tfallback?: (node: Element, params: CrossfadeParams, intro: boolean) => TransitionConfig;\n * }} params\n * @returns {[(node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig, (node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig]}\n */\nexport function crossfade({ fallback, ...defaults }) {\n\t/** @type {Map<any, Element>} */\n\tconst to_receive = new Map();\n\t/** @type {Map<any, Element>} */\n\tconst to_send = new Map();\n\n\t/**\n\t * @param {Element} from_node\n\t * @param {Element} node\n\t * @param {CrossfadeParams} params\n\t * @returns {TransitionConfig}\n\t */\n\tfunction crossfade(from_node, node, params) {\n\t\tconst {\n\t\t\tdelay = 0,\n\t\t\tduration = /** @param {number} d */ (d) => Math.sqrt(d) * 30,\n\t\t\teasing = cubic_out\n\t\t} = assign(assign({}, defaults), params);\n\t\tconst from = from_node.getBoundingClientRect();\n\t\tconst to = node.getBoundingClientRect();\n\t\tconst dx = from.left - to.left;\n\t\tconst dy = from.top - to.top;\n\t\tconst dw = from.width / to.width;\n\t\tconst dh = from.height / to.height;\n\t\tconst d = Math.sqrt(dx * dx + dy * dy);\n\t\tconst style = getComputedStyle(node);\n\t\tconst transform = style.transform === 'none' ? '' : style.transform;\n\t\tconst opacity = +style.opacity;\n\t\treturn {\n\t\t\tdelay,\n\t\t\tduration: typeof duration === 'function' ? duration(d) : duration,\n\t\t\teasing,\n\t\t\tcss: (t, u) => `\n\t\t\t opacity: ${t * opacity};\n\t\t\t transform-origin: top left;\n\t\t\t transform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${\n\t\t\t\t\t\tt + (1 - t) * dh\n\t\t\t\t\t});\n\t\t `\n\t\t};\n\t}\n\n\t/**\n\t * @param {Map<any, Element>} items\n\t * @param {Map<any, Element>} counterparts\n\t * @param {boolean} intro\n\t * @returns {(node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig}\n\t */\n\tfunction transition(items, counterparts, intro) {\n\t\t// @ts-expect-error TODO improve typings (are the public types wrong?)\n\t\treturn (node, params) => {\n\t\t\titems.set(params.key, node);\n\t\t\treturn () => {\n\t\t\t\tif (counterparts.has(params.key)) {\n\t\t\t\t\tconst other_node = counterparts.get(params.key);\n\t\t\t\t\tcounterparts.delete(params.key);\n\t\t\t\t\treturn crossfade(/** @type {Element} */ (other_node), node, params);\n\t\t\t\t}\n\t\t\t\t// if the node is disappearing altogether\n\t\t\t\t// (i.e. wasn't claimed by the other list)\n\t\t\t\t// then we need to supply an outro\n\t\t\t\titems.delete(params.key);\n\t\t\t\treturn fallback && fallback(node, params, intro);\n\t\t\t};\n\t\t};\n\t}\n\treturn [transition(to_send, to_receive, false), transition(to_receive, to_send, true)];\n}\n"],"x_google_ignoreList":[0],"mappings":"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"}
|