@svgrid/enterprise 3.0.0 → 3.0.2
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/README.md +95 -95
- package/dist/ExpressionEditorHarness.svelte.d.ts +2 -2
- package/dist/SvAdvancedFilter.svelte.d.ts +2 -2
- package/dist/SvAlertRuleEditor.svelte.d.ts +2 -2
- package/dist/SvAlertsManager.svelte.d.ts +3 -3
- package/dist/SvAlertsPanel.svelte.d.ts +1 -1
- package/dist/SvAuthGate.svelte +115 -115
- package/dist/SvAuthGate.svelte.d.ts +1 -1
- package/dist/SvBoard.svelte.d.ts +1 -1
- package/dist/SvExportMenu.svelte +553 -553
- package/dist/SvExportMenu.svelte.d.ts +2 -2
- package/dist/SvExpressionEditor.svelte.d.ts +2 -2
- package/dist/SvFileInput.svelte +113 -113
- package/dist/SvFormulaBar.svelte +606 -0
- package/dist/SvFormulaBar.svelte.d.ts +62 -0
- package/dist/SvGridAlerts.svelte.d.ts +2 -2
- package/dist/SvGridBoard.svelte +2358 -2358
- package/dist/SvGridBulkEditDrawer.svelte.d.ts +1 -1
- package/dist/SvGridEditPanel.svelte +1157 -1157
- package/dist/SvGridEditPanel.svelte.d.ts +3 -3
- package/dist/SvGridMasterDetail.svelte +116 -116
- package/dist/SvGridMasterDetail.svelte.d.ts +1 -1
- package/dist/SvGridScheduler.svelte +5358 -5358
- package/dist/SvImportDialog.svelte +1020 -1020
- package/dist/SvImportDialog.svelte.d.ts +2 -2
- package/dist/SvLookupInput.svelte +180 -180
- package/dist/SvLookupInput.svelte.d.ts +1 -1
- package/dist/SvPivotDesigner.svelte +2041 -1990
- package/dist/SvPivotDesigner.svelte.d.ts +2 -2
- package/dist/SvRecordDetail.svelte.d.ts +1 -1
- package/dist/SvRibbonIcon.svelte +46 -0
- package/dist/SvRibbonIcon.svelte.d.ts +17 -0
- package/dist/SvSchedule.svelte.d.ts +1 -1
- package/dist/SvSchemaChart.svelte +236 -234
- package/dist/SvSchemaChart.svelte.d.ts +2 -2
- package/dist/SvSchemaDashboard.svelte +130 -130
- package/dist/SvSchemaDashboard.svelte.d.ts +3 -3
- package/dist/SvSheet.svelte +4114 -0
- package/dist/SvSheet.svelte.d.ts +142 -0
- package/dist/SvSheetComment.svelte +98 -0
- package/dist/SvSheetComment.svelte.d.ts +22 -0
- package/dist/SvSheetConditionalFormat.svelte +162 -0
- package/dist/SvSheetConditionalFormat.svelte.d.ts +14 -0
- package/dist/SvSheetDataValidation.svelte +249 -0
- package/dist/SvSheetDataValidation.svelte.d.ts +14 -0
- package/dist/SvSheetFilterMenu.svelte +217 -0
- package/dist/SvSheetFilterMenu.svelte.d.ts +17 -0
- package/dist/SvSheetFindReplace.svelte +132 -0
- package/dist/SvSheetFindReplace.svelte.d.ts +10 -0
- package/dist/SvSheetFormatCells.svelte +421 -0
- package/dist/SvSheetFormatCells.svelte.d.ts +17 -0
- package/dist/SvSheetGoalSeek.svelte +144 -0
- package/dist/SvSheetGoalSeek.svelte.d.ts +12 -0
- package/dist/SvSheetInsertFunction.svelte +147 -0
- package/dist/SvSheetInsertFunction.svelte.d.ts +8 -0
- package/dist/SvSheetListPicker.svelte +89 -0
- package/dist/SvSheetListPicker.svelte.d.ts +16 -0
- package/dist/SvSheetManageRules.svelte +185 -0
- package/dist/SvSheetManageRules.svelte.d.ts +16 -0
- package/dist/SvSheetNameManager.svelte +225 -0
- package/dist/SvSheetNameManager.svelte.d.ts +11 -0
- package/dist/SvSheetPasteSpecial.svelte +105 -0
- package/dist/SvSheetPasteSpecial.svelte.d.ts +12 -0
- package/dist/SvSheetRemoveDuplicates.svelte +149 -0
- package/dist/SvSheetRemoveDuplicates.svelte.d.ts +12 -0
- package/dist/SvSheetRibbon.svelte +1201 -0
- package/dist/SvSheetRibbon.svelte.d.ts +34 -0
- package/dist/SvSheetSizeDialog.svelte +58 -0
- package/dist/SvSheetSizeDialog.svelte.d.ts +11 -0
- package/dist/SvSheetTabs.svelte +441 -0
- package/dist/SvSheetTabs.svelte.d.ts +36 -0
- package/dist/SvSheetTabs.test-harness.svelte.d.ts +17 -0
- package/dist/SvSheetTabs.test-harness.svelte.js +22 -0
- package/dist/SvSheetTextToColumns.svelte +172 -0
- package/dist/SvSheetTextToColumns.svelte.d.ts +13 -0
- package/dist/SvSheetValidationAlert.svelte +83 -0
- package/dist/SvSheetValidationAlert.svelte.d.ts +15 -0
- package/dist/advanced-filter/expr-columns-from-grid.d.ts +1 -1
- package/dist/advanced-filter-enable.js +3 -3
- package/dist/alerts/alert-engine-attach.d.ts +2 -2
- package/dist/alerts/alert-engine-attach.js +3 -3
- package/dist/alerts/alert-engine.d.ts +1 -1
- package/dist/alerts/alert-engine.js +2 -2
- package/dist/alerts/alert-formats.d.ts +1 -1
- package/dist/alerts/alert-formats.js +1 -1
- package/dist/alerts/alert-observer.d.ts +3 -3
- package/dist/alerts/alert-observer.js +1 -1
- package/dist/alerts/alert-storage.d.ts +1 -1
- package/dist/alerts/alert-store.svelte.d.ts +1 -1
- package/dist/alerts/alert-types.d.ts +2 -2
- package/dist/alerts.js +2 -2
- package/dist/board.js +2 -2
- package/dist/cdn/svgrid-enterprise.svelte-external.js +19046 -5428
- package/dist/designer/assets/GridMenus-BlsvL_aU.js +8 -0
- package/dist/designer/assets/SvChartMenu-BYO9cYdy.css +1 -0
- package/dist/designer/assets/SvChartMenu-D9hEeHar.js +1 -0
- package/dist/designer/assets/SvDateRangeInput-BBRzrQeg.js +1 -0
- package/dist/designer/assets/SvDateRangeInput-C0iCCZ8o.css +1 -0
- package/dist/designer/assets/SvDateTimePicker-DARvKUL2.js +1 -0
- package/dist/designer/assets/SvDateTimePicker-DPv09DIT.css +1 -0
- package/dist/designer/assets/{preload-helper-CG0n22O7.js → SvGrid.helpers-BgT-gnCo.js} +1 -1
- package/dist/designer/assets/SvGridCellEditor-C7uQXYds.js +4 -0
- package/dist/designer/assets/SvGridChart-B8j1SSy3.js +3 -0
- package/dist/designer/assets/SvGridChart-BgLuPO7I.css +1 -0
- package/dist/designer/assets/SvGridChartBuilder-08YWWeqY.css +1 -0
- package/dist/designer/assets/SvGridChartBuilder-kvyIU_Rl.js +1 -0
- package/dist/designer/assets/SvGridChartPanel-4Pc8y5yO.css +1 -0
- package/dist/designer/assets/SvGridChartPanel-pT6ITc2P.js +4 -0
- package/dist/designer/assets/SvGridChartView-7msfnWZT.css +1 -0
- package/dist/designer/assets/SvGridChartView-bg281UA1.js +1 -0
- package/dist/designer/assets/SvGridDropdown-Bb3HH2Aj.js +1 -0
- package/dist/designer/assets/SvGridDropdown-CcidB3rm.css +1 -0
- package/dist/designer/assets/SvListBox-BDS66lmZ.js +110 -0
- package/dist/designer/assets/SvListBox-BXfyqy4a.css +1 -0
- package/dist/designer/assets/SvMenuList-DJ47ba1h.css +1 -0
- package/dist/designer/assets/SvMenuList-Dgq2D5VN.js +1 -0
- package/dist/designer/assets/SvTabs-DKmwb5p1.css +1 -0
- package/dist/designer/assets/SvTabs-UFCMTHXS.js +1 -0
- package/dist/designer/assets/cell-formatting-wr5wm7US.js +1 -0
- package/dist/designer/assets/chart-cIPUsbM5.js +1 -0
- package/dist/designer/assets/chart-export-B6bkQ3X8.js +11 -0
- package/dist/designer/assets/chart-export-pdf-BbA28-gt.js +11 -0
- package/dist/designer/assets/chart-panel-messages-DtTxpBUU.js +1 -0
- package/dist/designer/assets/chart-summary-Czu_5epb.js +1 -0
- package/dist/designer/assets/chart-trend-D5I5VEe8.js +1 -0
- package/dist/designer/assets/chart-validate-BMqM-qkF.js +1 -0
- package/dist/designer/assets/column-resize-BYDzR1Ve.js +1 -0
- package/dist/designer/assets/date-format-B8JbEtIG.js +1 -0
- package/dist/designer/assets/date-format-DKS-z0xS.css +1 -0
- package/dist/designer/assets/editor-contract-Bpoa7A5g.js +1 -0
- package/dist/designer/assets/export-format-D-eP4b2l.js +6 -0
- package/dist/designer/assets/focus-trap-CAreAhlU.js +1 -0
- package/dist/designer/assets/index-CMFgAoVV.css +1 -0
- package/dist/designer/assets/{index-zUBix-JQ.js → index-DwU7CAMm.js} +2985 -141
- package/dist/designer/assets/list-option-BP_dWS66.js +1 -0
- package/dist/designer/assets/preload-helper-HclGiUj8.js +1 -0
- package/dist/designer/assets/row-resize-DLktcqUK.js +1 -0
- package/dist/designer/assets/src-CITpcm6b.js +1 -0
- package/dist/designer/assets/src-EdI3Xqds.js +58 -0
- package/dist/designer/index.html +32 -23
- package/dist/export-conditional.d.ts +1 -1
- package/dist/export-pdf.d.ts +89 -0
- package/dist/export-pdf.js +130 -0
- package/dist/export-print.js +19 -19
- package/dist/export-xls.d.ts +2 -2
- package/dist/export.d.ts +2 -2
- package/dist/export.js +23 -16
- package/dist/expressions/builder-tree.d.ts +2 -2
- package/dist/expressions/builder-tree.js +1 -1
- package/dist/expressions/compile.d.ts +1 -1
- package/dist/import.js +1 -1
- package/dist/index.d.ts +116 -53
- package/dist/index.js +117 -50
- package/dist/install.d.ts +4 -4
- package/dist/install.js +16 -11
- package/dist/license.d.ts +3 -2
- package/dist/license.js +9 -4
- package/dist/node/studio.js +187 -116
- package/dist/pivot-chart.d.ts +26 -2
- package/dist/pivot-chart.js +25 -69
- package/dist/pivot-designer.d.ts +1 -1
- package/dist/pivot-enable.js +3 -3
- package/dist/print.d.ts +1 -1
- package/dist/print.js +4 -4
- package/dist/scheduler-config.d.ts +5 -5
- package/dist/scheduler-freebusy.d.ts +1 -1
- package/dist/scheduler-freebusy.js +1 -1
- package/dist/scheduler.js +2 -2
- package/dist/schema-designer.d.ts +1 -1
- package/dist/schema-designer.js +2 -2
- package/dist/selection-bar.js +2 -2
- package/dist/sheet/address.d.ts +43 -0
- package/dist/sheet/address.js +81 -0
- package/dist/sheet/ast.d.ts +94 -0
- package/dist/sheet/ast.js +56 -0
- package/dist/sheet/auto-filter.d.ts +66 -0
- package/dist/sheet/auto-filter.js +147 -0
- package/dist/sheet/autocomplete.d.ts +42 -0
- package/dist/sheet/autocomplete.js +162 -0
- package/dist/sheet/coerce.d.ts +31 -0
- package/dist/sheet/coerce.js +122 -0
- package/dist/sheet/commands.d.ts +89 -0
- package/dist/sheet/commands.js +230 -0
- package/dist/sheet/comments.d.ts +29 -0
- package/dist/sheet/comments.js +73 -0
- package/dist/sheet/conditional-formats.d.ts +144 -0
- package/dist/sheet/conditional-formats.js +316 -0
- package/dist/sheet/deps.d.ts +60 -0
- package/dist/sheet/deps.js +199 -0
- package/dist/sheet/document.d.ts +150 -0
- package/dist/sheet/document.js +264 -0
- package/dist/sheet/edit-keys.d.ts +14 -0
- package/dist/sheet/edit-keys.js +40 -0
- package/dist/sheet/entry.d.ts +31 -0
- package/dist/sheet/entry.js +76 -0
- package/dist/sheet/evaluate.d.ts +61 -0
- package/dist/sheet/evaluate.js +337 -0
- package/dist/sheet/find-replace.d.ts +62 -0
- package/dist/sheet/find-replace.js +152 -0
- package/dist/sheet/format-store.d.ts +99 -0
- package/dist/sheet/format-store.js +233 -0
- package/dist/sheet/freeze.d.ts +54 -0
- package/dist/sheet/freeze.js +58 -0
- package/dist/sheet/function-catalog.d.ts +10 -0
- package/dist/sheet/function-catalog.js +94 -0
- package/dist/sheet/functions.d.ts +28 -0
- package/dist/sheet/functions.js +362 -0
- package/dist/sheet/goal-seek.d.ts +73 -0
- package/dist/sheet/goal-seek.js +153 -0
- package/dist/sheet/index.d.ts +53 -0
- package/dist/sheet/index.js +53 -0
- package/dist/sheet/merges.d.ts +71 -0
- package/dist/sheet/merges.js +137 -0
- package/dist/sheet/names.d.ts +31 -0
- package/dist/sheet/names.js +87 -0
- package/dist/sheet/navigate.d.ts +52 -0
- package/dist/sheet/navigate.js +135 -0
- package/dist/sheet/number-format.d.ts +63 -0
- package/dist/sheet/number-format.js +508 -0
- package/dist/sheet/palette.d.ts +19 -0
- package/dist/sheet/palette.js +84 -0
- package/dist/sheet/parse.d.ts +13 -0
- package/dist/sheet/parse.js +108 -0
- package/dist/sheet/paste-special.d.ts +164 -0
- package/dist/sheet/paste-special.js +592 -0
- package/dist/sheet/protection.d.ts +21 -0
- package/dist/sheet/protection.js +48 -0
- package/dist/sheet/rects.d.ts +45 -0
- package/dist/sheet/rects.js +112 -0
- package/dist/sheet/refs.d.ts +82 -0
- package/dist/sheet/refs.js +266 -0
- package/dist/sheet/ribbon-icons.d.ts +31 -0
- package/dist/sheet/ribbon-icons.js +350 -0
- package/dist/sheet/ribbon.d.ts +173 -0
- package/dist/sheet/ribbon.js +753 -0
- package/dist/sheet/shortcuts.d.ts +164 -0
- package/dist/sheet/shortcuts.js +623 -0
- package/dist/sheet/structure.d.ts +87 -0
- package/dist/sheet/structure.js +166 -0
- package/dist/sheet/tables.d.ts +70 -0
- package/dist/sheet/tables.js +147 -0
- package/dist/sheet/tokenize.d.ts +54 -0
- package/dist/sheet/tokenize.js +304 -0
- package/dist/sheet/transforms.d.ts +76 -0
- package/dist/sheet/transforms.js +154 -0
- package/dist/sheet/validation.d.ts +92 -0
- package/dist/sheet/validation.js +241 -0
- package/dist/sheet/workbook.d.ts +72 -0
- package/dist/sheet/workbook.js +409 -0
- package/dist/sheet-enable.d.ts +6 -0
- package/dist/sheet-enable.js +46 -0
- package/dist/sources/aggregate.d.ts +1 -1
- package/dist/sources/auth-supabase.js +1 -1
- package/dist/sources/dashboard.d.ts +2 -2
- package/dist/sources/dashboard.js +1 -1
- package/dist/sources/index.d.ts +13 -13
- package/dist/sources/index.js +13 -13
- package/dist/sources/realtime-supabase.js +1 -1
- package/dist/sources/relation-lookup.d.ts +1 -1
- package/dist/sources/relation-lookup.js +1 -1
- package/dist/sources/rest-adapters.d.ts +1 -1
- package/dist/sources/rest-adapters.js +1 -1
- package/dist/sources/rest.d.ts +2 -2
- package/dist/sources/rest.js +3 -3
- package/dist/sources/supabase.d.ts +2 -2
- package/dist/sources/supabase.js +3 -3
- package/dist/sources/with-entity-rules.d.ts +1 -1
- package/dist/sources/with-entity-rules.js +1 -1
- package/dist/sources/with-relation-labels.d.ts +1 -1
- package/dist/studio/emit-project.js +2161 -2127
- package/dist/studio/emit-schema.js +369 -369
- package/dist/studio/index.d.ts +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/studio/introspect-db.js +45 -45
- package/dist/studio/project.d.ts +10 -0
- package/dist/studio/samples/crm.js +6 -6
- package/dist/studio/samples/fleet.js +7 -7
- package/dist/studio/samples/insurance.js +9 -9
- package/dist/studio/samples/inventory.js +12 -12
- package/dist/studio/samples/projects.js +5 -5
- package/dist/studio/samples/support.js +8 -8
- package/dist/studio/scaffold-app.js +104 -104
- package/dist/studio/scaffold.js +151 -151
- package/dist/studio/ui-components.d.ts +7 -0
- package/dist/studio/ui-components.generated.js +63 -1
- package/dist/studio/ui-components.js +35 -0
- package/dist/sveltekit/in-memory.d.ts +3 -3
- package/dist/sveltekit/in-memory.js +4 -4
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/sveltekit/index.js +5 -5
- package/dist/sveltekit/query-plan.d.ts +1 -1
- package/dist/sveltekit/sql-source.d.ts +4 -4
- package/dist/sveltekit/sql-source.js +4 -4
- package/dist/sveltekit/sql.d.ts +1 -1
- package/dist/sveltekit/transport.d.ts +2 -2
- package/dist/sveltekit/transport.js +1 -1
- package/dist/upgrade-prompt.js +25 -25
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +12 -4
- package/dist/designer/assets/GridMenus-Cgilexpk.js +0 -8
- package/dist/designer/assets/SvDateRangeInput-BV5OXYQ2.css +0 -1
- package/dist/designer/assets/SvDateRangeInput-CVn-yqrQ.js +0 -1
- package/dist/designer/assets/SvDateTimePicker-BdioTrJQ.js +0 -1
- package/dist/designer/assets/SvDateTimePicker-CY8TK4BT.css +0 -1
- package/dist/designer/assets/SvField-BF-9TJSd.css +0 -1
- package/dist/designer/assets/SvField-BsqiA5me.js +0 -1
- package/dist/designer/assets/SvGridCellEditor-dLY7_kk9.js +0 -2
- package/dist/designer/assets/SvGridChart-BEDNTdc5.js +0 -2
- package/dist/designer/assets/SvGridChart-Vu4Nvjiv.css +0 -1
- package/dist/designer/assets/SvGridChartPanel-x3lzSxuf.js +0 -10
- package/dist/designer/assets/SvGridChartView-CAKhPELi.js +0 -1
- package/dist/designer/assets/SvGridChartView-DX9HfkBR.css +0 -1
- package/dist/designer/assets/SvGridDropdown-CAYG7Y-O.js +0 -1
- package/dist/designer/assets/SvGridDropdown-Crwb2P3Q.css +0 -1
- package/dist/designer/assets/SvListBox-CVYQcLX9.js +0 -1
- package/dist/designer/assets/SvListBox-DgN8kvjt.css +0 -1
- package/dist/designer/assets/chart-DHEgt4lN.js +0 -1
- package/dist/designer/assets/column-resize-C_inr5zT.js +0 -1
- package/dist/designer/assets/date-format-4DJvNtG2.js +0 -1
- package/dist/designer/assets/date-format-Dzy4mTGh.css +0 -1
- package/dist/designer/assets/easing-zaypKrr0.js +0 -3
- package/dist/designer/assets/export-format-DwjuTfrQ.js +0 -6
- package/dist/designer/assets/index-Cp7fDJ3b.css +0 -1
- package/dist/designer/assets/js-scroller.svelte-Bhxqb3-c.js +0 -110
- package/dist/designer/assets/row-resize-B0FWHcNr.js +0 -1
- package/dist/designer/assets/src-B7DNcoQK.css +0 -1
- package/dist/designer/assets/src-BoYyigAC.js +0 -2896
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/_svelte_metadata.json +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/_metadata.json +0 -178
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js +0 -3875
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js +0 -21
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js +0 -1938
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js +0 -205
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js +0 -18
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js +0 -264
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js +0 -697
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/package.json +0 -3
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js +0 -134
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js +0 -55
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_attachments.js +0 -2
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js +0 -46843
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js +0 -237
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_events.js +0 -2
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js +0 -4
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_client.js +0 -7
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js +0 -4
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js +0 -5
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js +0 -5
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js +0 -5
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_server.js +0 -6
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js +0 -83
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js +0 -559
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js +0 -24
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js +0 -122
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_server.js +0 -2
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js +0 -89
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js +0 -241
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js +0 -4938
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js +0 -495
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js +0 -190
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js +0 -8
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js.map +0 -1
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js +0 -138
- package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js.map +0 -1
package/dist/export.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Import the pure formatters from the grid's Svelte-free `/format` subpath so
|
|
2
2
|
// this module (and the enterprise unit tests) don't drag in SvGrid.svelte.
|
|
3
3
|
import { formatValueForExport, toExcelNumFmt, valueForExcel } from '@svgrid/grid/format';
|
|
4
|
-
import { assertEnterpriseLicensed } from './license';
|
|
5
|
-
import { installSmartShim } from './smart-shim';
|
|
6
|
-
import { downloadBlobFile, downloadTextFile, serializeDelimited, serializeHtml, serializeJson, serializeMarkdown, serializeXml, } from './export-serialize';
|
|
7
|
-
import { serializeSpreadsheetML } from './export-xls';
|
|
8
|
-
import { buildXlsxParts, packageXlsx } from './export-ooxml';
|
|
9
|
-
import { buildPdfDocDefinition } from './export-pdf';
|
|
10
|
-
import { buildConditionalResolver } from './export-conditional';
|
|
4
|
+
import { assertEnterpriseLicensed } from './license.js';
|
|
5
|
+
import { installSmartShim } from './smart-shim.js';
|
|
6
|
+
import { downloadBlobFile, downloadTextFile, serializeDelimited, serializeHtml, serializeJson, serializeMarkdown, serializeXml, } from './export-serialize.js';
|
|
7
|
+
import { serializeSpreadsheetML } from './export-xls.js';
|
|
8
|
+
import { buildXlsxParts, packageXlsx } from './export-ooxml.js';
|
|
9
|
+
import { buildPdfDocDefinition, registerPdfFonts, resolvePdfCharts } from './export-pdf.js';
|
|
10
|
+
import { buildConditionalResolver } from './export-conditional.js';
|
|
11
11
|
/** Formats served by the native, dependency-free, streaming serializers. */
|
|
12
12
|
const NATIVE_TEXT_FORMATS = [
|
|
13
13
|
'csv',
|
|
@@ -68,14 +68,11 @@ async function ensureGlobals(format) {
|
|
|
68
68
|
'Install it with: pnpm add pdfmake');
|
|
69
69
|
}
|
|
70
70
|
const pdfMake = (pdfMakeMod.default ?? pdfMakeMod);
|
|
71
|
-
|
|
72
|
-
//
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
vfsRoot.default?.vfs;
|
|
77
|
-
if (candidate)
|
|
78
|
-
pdfMake.vfs = candidate;
|
|
71
|
+
// Explicit, on this instance: the fonts module's own registration is a
|
|
72
|
+
// side effect on a global that can point at a stale instance.
|
|
73
|
+
if (!registerPdfFonts(pdfMake, vfsMod)) {
|
|
74
|
+
throw new Error('@svgrid/enterprise: "pdfmake/build/vfs_fonts" did not contain a font map; the installed pdfmake is not one this export knows.');
|
|
75
|
+
}
|
|
79
76
|
g.pdfMake = pdfMake;
|
|
80
77
|
}
|
|
81
78
|
}
|
|
@@ -637,13 +634,22 @@ async function exportPdf(api, opts) {
|
|
|
637
634
|
...opts.pdf,
|
|
638
635
|
pageOrientation: opts.pdf?.pageOrientation ?? opts.pageOrientation,
|
|
639
636
|
};
|
|
637
|
+
// Charts handed over as elements are rasterised here, once, through the
|
|
638
|
+
// grid chart's own PNG path at 2x, so the page gets the picture on screen.
|
|
639
|
+
// The rasteriser comes from the grid's barrel, imported on demand: the
|
|
640
|
+
// barrel carries the Svelte components, and a static import would drag them
|
|
641
|
+
// into every export call site (and into the Svelte-free test project).
|
|
642
|
+
const charts = await resolvePdfCharts(pdfOpts.charts, async (el) => {
|
|
643
|
+
const { chartToPngBlob } = await import('@svgrid/grid');
|
|
644
|
+
return chartToPngBlob(el, { scale: 2 });
|
|
645
|
+
});
|
|
640
646
|
const now = new Date();
|
|
641
647
|
let def;
|
|
642
648
|
if (effGroupBy?.length) {
|
|
643
649
|
// Conditional formatting is skipped for grouped PDFs (group / subtotal
|
|
644
650
|
// rows own the layout); the grid colors still show on screen.
|
|
645
651
|
const body = buildGroupedPdfBody(cols, sourceRows, effGroupBy);
|
|
646
|
-
def = buildPdfDocDefinition({ columns, body, opts: pdfOpts, now });
|
|
652
|
+
def = buildPdfDocDefinition({ columns, body, opts: pdfOpts, charts, now });
|
|
647
653
|
}
|
|
648
654
|
else {
|
|
649
655
|
const projected = await projectRows(sourceRows, cols, opts);
|
|
@@ -667,6 +673,7 @@ async function exportPdf(api, opts) {
|
|
|
667
673
|
},
|
|
668
674
|
dataCellLink: link,
|
|
669
675
|
opts: pdfOpts,
|
|
676
|
+
charts,
|
|
670
677
|
now,
|
|
671
678
|
});
|
|
672
679
|
}
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* component, and so the round-trip property can be asserted directly.
|
|
23
23
|
*/
|
|
24
24
|
import type { ExcelFilterOperator } from '@svgrid/grid';
|
|
25
|
-
import { type ExprColumn } from './expression-columns';
|
|
26
|
-
import type { PredicateExpr } from './expression-types';
|
|
25
|
+
import { type ExprColumn } from './expression-columns.js';
|
|
26
|
+
import type { PredicateExpr } from './expression-types.js';
|
|
27
27
|
/** One column/operator/value row. */
|
|
28
28
|
export type BuilderCondition = {
|
|
29
29
|
kind: 'cond';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isRangeOperator, isSetOperator, isValueless, operatorsForType, } from './expression-columns';
|
|
1
|
+
import { isRangeOperator, isSetOperator, isValueless, operatorsForType, } from './expression-columns.js';
|
|
2
2
|
/** How deep the UI allows nesting. */
|
|
3
3
|
export const MAX_BUILDER_DEPTH = 4;
|
|
4
4
|
/** A blank condition on the first column, with that column's first operator. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PredicateExpr, ScalarExpr } from './expression-types';
|
|
1
|
+
import type { PredicateExpr, ScalarExpr } from './expression-types.js';
|
|
2
2
|
type Scalar = number | string | boolean | null;
|
|
3
3
|
export type CompileOptions<TRow> = {
|
|
4
4
|
getValue: (row: TRow, columnId: string) => unknown;
|
package/dist/import.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* Both go through the same polite license soft-gate as `exportData` and
|
|
24
24
|
* `print`, so unlicensed evaluation works but emits a one-time nudge.
|
|
25
25
|
*/
|
|
26
|
-
import { assertEnterpriseLicensed } from './license';
|
|
26
|
+
import { assertEnterpriseLicensed } from './license.js';
|
|
27
27
|
// ---------------------------------------------------------------------------
|
|
28
28
|
// Lazy peer dependency: jszip (xlsx only)
|
|
29
29
|
// ---------------------------------------------------------------------------
|
package/dist/index.d.ts
CHANGED
|
@@ -1,41 +1,104 @@
|
|
|
1
|
-
export { setLicenseKey, clearLicenseKey, getLicenseKey, isLicenseKeySet, hasValidLicense, assertEnterpriseLicensed, nudgeEnterprise, checkLicenseKey, isLicenseExpired, getLicenseExpiry, type LicenseInfo, type LicenseStatus, } from './license';
|
|
2
|
-
export { parseLicenseExpiry } from './license-core';
|
|
3
|
-
export { exportGrid, copyExportToClipboard, type ExportFormat, type ExportOptions, type ExportColumn, type ExportCellStyle, type ExportStyles, type ExportHeaderFooterLine, type ExportSheet, type ExportRowSource, type ExportProgress, type ExportResult, type ClipboardFormat, type ClipboardExportOptions, } from './export';
|
|
1
|
+
export { setLicenseKey, clearLicenseKey, getLicenseKey, isLicenseKeySet, hasValidLicense, assertEnterpriseLicensed, nudgeEnterprise, checkLicenseKey, isLicenseExpired, getLicenseExpiry, type LicenseInfo, type LicenseStatus, } from './license.js';
|
|
2
|
+
export { parseLicenseExpiry } from './license-core.js';
|
|
3
|
+
export { exportGrid, copyExportToClipboard, type ExportFormat, type ExportOptions, type ExportColumn, type ExportCellStyle, type ExportStyles, type ExportHeaderFooterLine, type ExportSheet, type ExportRowSource, type ExportProgress, type ExportResult, type ClipboardFormat, type ClipboardExportOptions, } from './export.js';
|
|
4
4
|
export { default as SvExportMenu } from './SvExportMenu.svelte';
|
|
5
|
-
export { buildPdfDocDefinition, type PdfExportOptions, type PdfPageSize } from './export-pdf';
|
|
6
|
-
export { printGrid, type PrintOptions } from './print';
|
|
7
|
-
export { importData, readImportMatrix, mapImportMatrix, mapImportMatrixAsync, autoMapColumns, inferImportColumnTypes, type ImportFormat, type ImportFieldType, type ImportOptions, type ImportResult, type ImportProgress, type ImportColumnMap, type ImportColumnTypes, type ImportGridColumn, type ImportRowError, type ImportValidator, } from './import';
|
|
5
|
+
export { buildPdfDocDefinition, resolvePdfCharts, resolvePdfVfs, registerPdfFonts, type PdfExportOptions, type PdfPageSize, type PdfChart, type PdfKpi, type PdfChartImage, type PdfVirtualFileSystem, type PdfMakeLike } from './export-pdf.js';
|
|
6
|
+
export { printGrid, type PrintOptions } from './print.js';
|
|
7
|
+
export { importData, readImportMatrix, mapImportMatrix, mapImportMatrixAsync, autoMapColumns, inferImportColumnTypes, type ImportFormat, type ImportFieldType, type ImportOptions, type ImportResult, type ImportProgress, type ImportColumnMap, type ImportColumnTypes, type ImportGridColumn, type ImportRowError, type ImportValidator, } from './import.js';
|
|
8
8
|
export { default as SvImportDialog } from './SvImportDialog.svelte';
|
|
9
|
-
export { installEnterprise, type EnterpriseGridApi, type EnterpriseAIApi, type EnterprisePivotApi } from './install';
|
|
10
|
-
export { enableSchedulerView, SvGridScheduler } from './scheduler';
|
|
11
|
-
export { enableBoardView, SvGridBoard } from './board';
|
|
12
|
-
export { enableSelectionBar, SvGridSelectionBar } from './selection-bar';
|
|
13
|
-
export { applyBulkEdit, bulkEditableFields, bulkEditInitialValues, coerceBulkValue, type BulkEditField, type BulkEditResult } from './bulk-edit';
|
|
9
|
+
export { installEnterprise, type EnterpriseGridApi, type EnterpriseAIApi, type EnterprisePivotApi } from './install.js';
|
|
10
|
+
export { enableSchedulerView, SvGridScheduler } from './scheduler.js';
|
|
11
|
+
export { enableBoardView, SvGridBoard } from './board.js';
|
|
12
|
+
export { enableSelectionBar, SvGridSelectionBar } from './selection-bar.js';
|
|
13
|
+
export { applyBulkEdit, bulkEditableFields, bulkEditInitialValues, coerceBulkValue, type BulkEditField, type BulkEditResult } from './bulk-edit.js';
|
|
14
14
|
export { default as SvGridBulkEditDrawer } from './SvGridBulkEditDrawer.svelte';
|
|
15
|
-
export { enablePivot } from './pivot-enable';
|
|
16
|
-
export {
|
|
15
|
+
export { enablePivot } from './pivot-enable.js';
|
|
16
|
+
export { enableSheet } from './sheet-enable.js';
|
|
17
|
+
export { createTableRegistry, isValidTableName, resolveTableRange, columnIndexOf, rowCountOf, type TableRegion, type TableRegistry, type TableRange, type TableSpecifier, } from './sheet/tables.js';
|
|
18
|
+
export { goalSeek, goalSeekCell, type GoalSeekOptions, type GoalSeekResult, type GoalSeekSheet, type CellAddress as GoalSeekCellAddress, } from './sheet/goal-seek.js';
|
|
19
|
+
export { default as SvSheetTabs } from './SvSheetTabs.svelte';
|
|
20
|
+
export { createWorkbook, isValidSheetName, type Workbook, type SheetData, type WorkbookOptions, } from './sheet/workbook.js';
|
|
21
|
+
export { setWorkbook, getWorkbook } from './sheet/shortcuts.js';
|
|
22
|
+
export { createSheetDocument, type SheetDocument, type SheetDocumentInit, type SheetState, type SheetStateEntry, type PerSheetState, type SheetChangeReason, } from './sheet/document.js';
|
|
23
|
+
export { shiftRect, shiftRects, subtractRect, rectContains, rectsIntersect, remapNotes, lineShift, type NotesMap } from './sheet/rects.js';
|
|
24
|
+
export { isLocked, rectsHaveLocked, rectsMixLocked, PROTECTED_MESSAGE } from './sheet/protection.js';
|
|
25
|
+
export { commentAt, withComment, listComments, nextComment } from './sheet/comments.js';
|
|
26
|
+
export { ruleAt, rulesIn, checkEntry, listChoices, shiftValidation, removeValidation, describeRule, dateValue, validationId, DEFAULT_ALERT_MESSAGE, OPERATOR_LABELS, type ValidationRule, type ValidationAllow, type ValidationOperator, type ValidationContext, type ValidationVerdict, type ValidationSpec, } from './sheet/validation.js';
|
|
27
|
+
export { ruleStats, evaluateCf, shiftCf, removeCf, cfIn, describeCf, scaleColor, iconIndex, hasStyle, cfId, CF_PRESET_STYLES, COLOR_SCALES, DATA_BAR_COLOR, type CfRule, type CfRuleBody, type CfStyledRule, type CfBody, type CfPreset, type CfStyle, type CfStats, type CfResult, type CfContext, type CfOperator, type CfTextMatch, type CfIconSet, type CfScaleColors, type CfKind, } from './sheet/conditional-formats.js';
|
|
28
|
+
export { mergePlan, unmergePlan, mergeDropsValues, mergesIn, mergeAt as sheetMergeAt, isCoveredCell, selectionMerged, toGridMerges, sortBlockedByMerges, reorderMerges, normalRect, type MergeKind, type MergePlan, } from './sheet/merges.js';
|
|
29
|
+
export { distinctValues, hiddenRowsFor, passesFilter, isFiltering, withColumnFilter, valuesFilter, shiftAutoFilter, describeFilter, type AutoFilterState, type ColumnFilter, type FilterCondition, type FilterValue, } from './sheet/auto-filter.js';
|
|
30
|
+
export { splitText, textToColumns, guessDelimiter, findDuplicates, removeDuplicates, type SplitOptions, type DuplicateOptions, type DuplicateReport, } from './sheet/transforms.js';
|
|
31
|
+
export { insertRows, deleteRows, insertColumns, deleteColumns, axisForSelection, setStructureTarget, getStructureTarget, rewriteFormulas, type StructureTarget, } from './sheet/structure.js';
|
|
32
|
+
export { findAll, findNext, replaceOne, replaceAll, replaceInText, cellMatches, setFindTarget, getFindTarget, type FindOptions, type FindHit, type FindTarget, } from './sheet/find-replace.js';
|
|
33
|
+
export { splitFrozenRows, frozenColumnIds, applyFreeze, freezeAtActiveCell, freezeTopRow, freezeFirstColumn, unfreeze, type FreezeState, type FreezeSplit, } from './sheet/freeze.js';
|
|
34
|
+
export { buildClipboardPayload, parseClipboard, parseClipboardText, parseClipboardHtml, readClipboardOrigin, anchorForeignFormulas, resolvePasteCell, planPaste, msoNumberFormat, numFmtFromMso, isR1C1, r1c1ToA1, type PasteSpecialOptions, type PasteWhat, type PasteOperation, type ClipboardCell, type ClipboardGrid, type PasteResolution, } from './sheet/paste-special.js';
|
|
35
|
+
export { setFindReplaceHandler, setPasteSpecialHandler, setRibbonActionHandler, nudgeFontSize, type RibbonKeyAction } from './sheet/shortcuts.js';
|
|
36
|
+
export { default as SvFormulaBar } from './SvFormulaBar.svelte';
|
|
37
|
+
export { default as SvSheet } from './SvSheet.svelte';
|
|
38
|
+
export { default as SvSheetRibbon } from './SvSheetRibbon.svelte';
|
|
39
|
+
export { default as SvSheetFindReplace } from './SvSheetFindReplace.svelte';
|
|
40
|
+
export { default as SvSheetPasteSpecial } from './SvSheetPasteSpecial.svelte';
|
|
41
|
+
export { default as SvSheetFormatCells } from './SvSheetFormatCells.svelte';
|
|
42
|
+
export { default as SvSheetInsertFunction } from './SvSheetInsertFunction.svelte';
|
|
43
|
+
export { default as SvSheetSizeDialog } from './SvSheetSizeDialog.svelte';
|
|
44
|
+
export { default as SvSheetComment } from './SvSheetComment.svelte';
|
|
45
|
+
export { default as SvSheetDataValidation } from './SvSheetDataValidation.svelte';
|
|
46
|
+
export { default as SvSheetValidationAlert } from './SvSheetValidationAlert.svelte';
|
|
47
|
+
export { default as SvSheetListPicker } from './SvSheetListPicker.svelte';
|
|
48
|
+
export { default as SvSheetConditionalFormat } from './SvSheetConditionalFormat.svelte';
|
|
49
|
+
export { default as SvSheetManageRules } from './SvSheetManageRules.svelte';
|
|
50
|
+
export { default as SvSheetFilterMenu } from './SvSheetFilterMenu.svelte';
|
|
51
|
+
export { default as SvSheetNameManager } from './SvSheetNameManager.svelte';
|
|
52
|
+
export { default as SvSheetGoalSeek } from './SvSheetGoalSeek.svelte';
|
|
53
|
+
export { default as SvSheetTextToColumns } from './SvSheetTextToColumns.svelte';
|
|
54
|
+
export { default as SvSheetRemoveDuplicates } from './SvSheetRemoveDuplicates.svelte';
|
|
55
|
+
export { functionCatalog, FUNCTION_GROUPS, type FunctionInfo, type FunctionGroup } from './sheet/function-catalog.js';
|
|
56
|
+
export { parseEntry, completeEntry, type ParsedEntry } from './sheet/entry.js';
|
|
57
|
+
export { cycleReference, type TextEdit } from './sheet/edit-keys.js';
|
|
58
|
+
export { RIBBON_TABS, ribbonItems, withDecimals, applyBorders, type RibbonTab, type RibbonGroup, type RibbonItem, type RibbonOption, type RibbonItemKind, type RibbonActionId, type BorderPreset, } from './sheet/ribbon.js';
|
|
59
|
+
export { RIBBON_ICONS, RIBBON_ICON_NAMES, type RibbonIconName, type IconPath } from './sheet/ribbon-icons.js';
|
|
60
|
+
export { THEME_COLOURS, STANDARD_COLOURS, ALL_COLOURS, tint, type PaletteColour } from './sheet/palette.js';
|
|
61
|
+
export { default as SvRibbonIcon } from './SvRibbonIcon.svelte';
|
|
62
|
+
export { move, selectRegion, selectLine, applyFormat, toggleFormat, preset, autoSum, structural, switchSheet, gridOf, } from './sheet/shortcuts.js';
|
|
63
|
+
export { compileNumberFormat, formatWithPattern, FORMAT_PRESETS, type CompiledFormat, type FormatPresetName, } from './sheet/number-format.js';
|
|
64
|
+
export { createFormatStore, entryToStyle, borderShadows, type SheetFormatStore, type CellFormatEntry, type CellAddressLookup, } from './sheet/format-store.js';
|
|
65
|
+
export { createNames, isValidName, type SheetNames, type DefinedName, } from './sheet/names.js';
|
|
66
|
+
export { suggestFunctions, applySuggestion, signatureAt, partialAt, SIGNATURES, type FunctionSuggestion, } from './sheet/autocomplete.js';
|
|
67
|
+
export { setFormatTarget, getFormatTarget, setFormatDialogHandler, type SheetFormatTarget, } from './sheet/shortcuts.js';
|
|
68
|
+
export { parseFormula, parse as parseFormulaTokens } from './sheet/parse.js';
|
|
69
|
+
export { tokenize as tokenizeFormula, type Token as FormulaToken } from './sheet/tokenize.js';
|
|
70
|
+
export { evaluate as evaluateFormula, formatValue as formatCellValue, type EvalContext as SheetEvalContext, } from './sheet/evaluate.js';
|
|
71
|
+
export { FUNCTIONS as SHEET_FUNCTIONS, withCustomFunctions, type SheetFunction, type FnArgs as SheetFnArgs, } from './sheet/functions.js';
|
|
72
|
+
export { translateFormula, fixupReferences, renameSheetReferences, formatFormula, referenceSpans, REFERENCE_COLOURS, type StructuralEdit, type EditScope, type ReferenceSpan, } from './sheet/refs.js';
|
|
73
|
+
export { createDependencyGraph as createSheetDependencyGraph, precedentsOf, cellKey, parseCellKey, type DependencyGraph as SheetDependencyGraph, type CellKey, } from './sheet/deps.js';
|
|
74
|
+
export { parseA1, formatA1, colToLetters, lettersToCol, type CellRef, } from './sheet/address.js';
|
|
75
|
+
export { isError as isFormulaError, type CellValue as SheetCellValue, type SheetError, type Node as FormulaNode, } from './sheet/ast.js';
|
|
76
|
+
export { SHEET_BINDINGS, handleSheetKey, type SheetBinding, type SheetCommand, } from './sheet/shortcuts.js';
|
|
77
|
+
export { edgeOfRegion, currentRegion, isBlankValue, type Direction as SheetDirection, } from './sheet/navigate.js';
|
|
78
|
+
export { fillDown, fillRight, fillSelection, stampDate, stampNow, copyFromAbove, copyValueFromAbove, guessSumRange, looksNumeric, setFillTranslator, type FillTranslator, } from './sheet/commands.js';
|
|
79
|
+
export { enableAdvancedFilter } from './advanced-filter-enable.js';
|
|
17
80
|
export { default as SvAdvancedFilter } from './SvAdvancedFilter.svelte';
|
|
18
|
-
export { exprColumnsFromGrid, type ExprColumnsOptions, } from './advanced-filter/expr-columns-from-grid';
|
|
19
|
-
export { compilePredicate, compileScalar, type CompileOptions, } from './expressions/compile';
|
|
20
|
-
export type { SchedulerProConfig } from './scheduler-config';
|
|
21
|
-
export { buildDependencyGraph, topoOrder, hasCycle, requiredStart, cascade, violations, type DependencyType, type SchedulerDependency, type EventTimes, type DependencyGraph, type CascadeOptions, } from './scheduler-dependencies';
|
|
22
|
-
export { expandAssignments, resourceLoad, overallocations, assignedMinutes, type SchedulerAssignment, type Allocation, type Overallocation, } from './scheduler-assignments';
|
|
23
|
-
export { columnSummaries, sumReducer, countReducer, busyMinutesReducer, type ColumnReducer, type SummaryItem, } from './scheduler-summary';
|
|
24
|
-
export { buildAxis, timeToX, xToTime, resolveZoom, zoomPresets, type Axis, type AxisSegment, type AxisSegmentKind, type BuildAxisOptions, type ZoomLevel, type ZoomMajorUnit, } from './scheduler-axis';
|
|
25
|
-
export { buildResourceRows, visibleResourceIds, type SchedulerResourceGroup, type ResourceRow, } from './scheduler-resource-tree';
|
|
26
|
-
export { heatCells, heatPeak, type HeatCell } from './scheduler-heatmap';
|
|
27
|
-
export { respectsBuffer, withinDurationBounds, afterLead, type BusyEvent, type GapMin, } from './scheduler-booking';
|
|
28
|
-
export { availableSlots, mergeIntervals, subtractIntervals, type Interval, type Slot, type SlotOptions, } from './scheduler-slots';
|
|
29
|
-
export { mergeBusy, commonFree } from './scheduler-freebusy';
|
|
30
|
-
export { createStagedEditing, type StagedChange, type StagedEditingApi, type StagedEditingEvent, } from './staged-editing';
|
|
31
|
-
export { createScheduler, parseCron, cronMatches, cronMatchesParsed, isScheduleDue, nextRun, CRON_PRESETS, type Schedule, type Scheduler, type SchedulerOptions, } from './scheduling';
|
|
32
|
-
export { dismissUnlicensedNudge } from './watermark';
|
|
33
|
-
export { showUpgradePrompt, dismissUpgradePrompt, type EnterpriseFeatureLabel, } from './upgrade-prompt';
|
|
34
|
-
export { createPivotModel, pivotAggregators, filterCollapsedPivotRows, type PivotAggregator, type PivotAggregatorId, type PivotConfig, type PivotResult, type PivotRow, type PivotRowKind, type PivotValueConfig, } from './pivot';
|
|
35
|
-
export { titleCase, resolveIdField, schemaToColumns, schemaToFormFields, isFieldHidden, validateField, applyComputed, validateEntity, type EntitySchema, type EntityField, type EntityFieldType, type EntityHooks, type FormFieldDescriptor, type FormLayout, type FormSection, type StudioEditorType, type StandardSchemaV1, type StandardSchemaResult, type ValidationOp, type ValidationRuleSpec, } from './schema';
|
|
36
|
-
export { planQuery, coerce, createInMemoryDataSource, createKitDataSource, createKitHandlers, createSqlDataSource, planToSql, type QueryPlan, type PlanPredicate, type PlanOp, type KitDataSourceOptions, type KitHandlerOptions, type KitScope, type KitHandlers, type KitMessage, type SqlDialect, type SqlPlan, type SqlExecutor, type SqlDataSourceConfig, type WritableDataSource, } from './sveltekit';
|
|
37
|
-
export { createSupabaseDataSource, createRestDataSource, offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, introspectSupabaseTable, listSupabaseTables, createSupabaseRealtime, createRelationLookup, createSupabaseAuth, aggregateRows, chartFieldsFromSchema, normalizeFilters, buildEntitySchema, pickLabelField, linkRelationLabels, type SupabaseDataSourceConfig, type SupabaseClientLike, type RestDataSourceConfig, type RestAdapter, type OffsetLimitOptions, type IntrospectSupabaseOptions, type IntrospectedColumn, type ColumnReference, type NormalizedFilter, type NormalizedPredicate, type SupabaseRealtimeConfig, type SupabaseRealtimeClientLike, type SupabaseRealtimeHandle, type RealtimeChannelLike, type RealtimeChange, type RelationLookup, type RelationLookupConfig, type RelationOption, type SupabaseAuthConfig, type SupabaseAuthController, type SupabaseAuthClientLike, type AuthState, type AuthUser, withEntityRules, withRelationLabels, reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, type AggregateReduce, type AggregateRequest, type AggregateBucket, type AggregateSource, type DashboardSpec, type DashboardWidget, type KpiWidget, type ChartWidget, type RelationLabelConfig, } from './sources';
|
|
38
|
-
export { buildInitialValues, controlKind, editMode, evalValidationRules, fieldState, sectionVisible, hasFieldConditions, rowId, stripHiddenValues, toSubmitValues, validateAll, visibleFormFields, type EditMode, type ControlKind, type FieldState, } from './edit-panel';
|
|
81
|
+
export { exprColumnsFromGrid, type ExprColumnsOptions, } from './advanced-filter/expr-columns-from-grid.js';
|
|
82
|
+
export { compilePredicate, compileScalar, type CompileOptions, } from './expressions/compile.js';
|
|
83
|
+
export type { SchedulerProConfig } from './scheduler-config.js';
|
|
84
|
+
export { buildDependencyGraph, topoOrder, hasCycle, requiredStart, cascade, violations, type DependencyType, type SchedulerDependency, type EventTimes, type DependencyGraph, type CascadeOptions, } from './scheduler-dependencies.js';
|
|
85
|
+
export { expandAssignments, resourceLoad, overallocations, assignedMinutes, type SchedulerAssignment, type Allocation, type Overallocation, } from './scheduler-assignments.js';
|
|
86
|
+
export { columnSummaries, sumReducer, countReducer, busyMinutesReducer, type ColumnReducer, type SummaryItem, } from './scheduler-summary.js';
|
|
87
|
+
export { buildAxis, timeToX, xToTime, resolveZoom, zoomPresets, type Axis, type AxisSegment, type AxisSegmentKind, type BuildAxisOptions, type ZoomLevel, type ZoomMajorUnit, } from './scheduler-axis.js';
|
|
88
|
+
export { buildResourceRows, visibleResourceIds, type SchedulerResourceGroup, type ResourceRow, } from './scheduler-resource-tree.js';
|
|
89
|
+
export { heatCells, heatPeak, type HeatCell } from './scheduler-heatmap.js';
|
|
90
|
+
export { respectsBuffer, withinDurationBounds, afterLead, type BusyEvent, type GapMin, } from './scheduler-booking.js';
|
|
91
|
+
export { availableSlots, mergeIntervals, subtractIntervals, type Interval, type Slot, type SlotOptions, } from './scheduler-slots.js';
|
|
92
|
+
export { mergeBusy, commonFree } from './scheduler-freebusy.js';
|
|
93
|
+
export { createStagedEditing, type StagedChange, type StagedEditingApi, type StagedEditingEvent, } from './staged-editing.js';
|
|
94
|
+
export { createScheduler, parseCron, cronMatches, cronMatchesParsed, isScheduleDue, nextRun, CRON_PRESETS, type Schedule, type Scheduler, type SchedulerOptions, } from './scheduling.js';
|
|
95
|
+
export { dismissUnlicensedNudge } from './watermark.js';
|
|
96
|
+
export { showUpgradePrompt, dismissUpgradePrompt, type EnterpriseFeatureLabel, } from './upgrade-prompt.js';
|
|
97
|
+
export { createPivotModel, pivotAggregators, filterCollapsedPivotRows, type PivotAggregator, type PivotAggregatorId, type PivotConfig, type PivotResult, type PivotRow, type PivotRowKind, type PivotValueConfig, } from './pivot.js';
|
|
98
|
+
export { titleCase, resolveIdField, schemaToColumns, schemaToFormFields, isFieldHidden, validateField, applyComputed, validateEntity, type EntitySchema, type EntityField, type EntityFieldType, type EntityHooks, type FormFieldDescriptor, type FormLayout, type FormSection, type StudioEditorType, type StandardSchemaV1, type StandardSchemaResult, type ValidationOp, type ValidationRuleSpec, } from './schema.js';
|
|
99
|
+
export { planQuery, coerce, createInMemoryDataSource, createKitDataSource, createKitHandlers, createSqlDataSource, planToSql, type QueryPlan, type PlanPredicate, type PlanOp, type KitDataSourceOptions, type KitHandlerOptions, type KitScope, type KitHandlers, type KitMessage, type SqlDialect, type SqlPlan, type SqlExecutor, type SqlDataSourceConfig, type WritableDataSource, } from './sveltekit/index.js';
|
|
100
|
+
export { createSupabaseDataSource, createRestDataSource, offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, introspectSupabaseTable, listSupabaseTables, createSupabaseRealtime, createRelationLookup, createSupabaseAuth, aggregateRows, chartFieldsFromSchema, normalizeFilters, buildEntitySchema, pickLabelField, linkRelationLabels, type SupabaseDataSourceConfig, type SupabaseClientLike, type RestDataSourceConfig, type RestAdapter, type OffsetLimitOptions, type IntrospectSupabaseOptions, type IntrospectedColumn, type ColumnReference, type NormalizedFilter, type NormalizedPredicate, type SupabaseRealtimeConfig, type SupabaseRealtimeClientLike, type SupabaseRealtimeHandle, type RealtimeChannelLike, type RealtimeChange, type RelationLookup, type RelationLookupConfig, type RelationOption, type SupabaseAuthConfig, type SupabaseAuthController, type SupabaseAuthClientLike, type AuthState, type AuthUser, withEntityRules, withRelationLabels, reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, type AggregateReduce, type AggregateRequest, type AggregateBucket, type AggregateSource, type DashboardSpec, type DashboardWidget, type KpiWidget, type ChartWidget, type RelationLabelConfig, } from './sources/index.js';
|
|
101
|
+
export { buildInitialValues, controlKind, editMode, evalValidationRules, fieldState, sectionVisible, hasFieldConditions, rowId, stripHiddenValues, toSubmitValues, validateAll, visibleFormFields, type EditMode, type ControlKind, type FieldState, } from './edit-panel.js';
|
|
39
102
|
export { default as SvGridEditPanel } from './SvGridEditPanel.svelte';
|
|
40
103
|
export { default as SvLookupInput } from './SvLookupInput.svelte';
|
|
41
104
|
export { default as SvFileInput } from './SvFileInput.svelte';
|
|
@@ -45,28 +108,28 @@ export { default as SvSchemaDashboard } from './SvSchemaDashboard.svelte';
|
|
|
45
108
|
export { default as SvBoard } from './SvBoard.svelte';
|
|
46
109
|
export { default as SvSchedule } from './SvSchedule.svelte';
|
|
47
110
|
export { default as SvRecordDetail } from './SvRecordDetail.svelte';
|
|
48
|
-
export { FIELD_TYPES, blankField, addField, removeField, updateField, moveField, validateSchema, isSchemaValid, sampleRows, type SchemaIssue, type SchemaIssueLevel, } from './schema-designer';
|
|
49
|
-
export { createProject, defaultScreenFor, emitStudioProject, emitStudioAppBundle, emitStudioApp, sampleApps, getSampleApp, starterProject, liveDataSamples, getLiveDataSample, type SampleApp, starterDatasets, getStarterDataset, type StarterDataset, crudSuiteScreens, addCrudSuite, crudAppFromSchemas, type CrudScreenKind, type CrudEditingMode, type CrudSuiteOptions, type CrudAppOptions, introspectJson, sanitizeStudioProject, buildStudioBugReport, type BugReport, type BugReportInput, addBlock, addBlockAt, removeBlock, moveBlock, reorderBlock, updateBlock, addScreen, removeScreen, updateScreen, duplicateScreen, reorderScreen, insertBlock, addEntity, removeEntity, updateEntity, formPlan, setEntityForm, setFormColumns, addFormSection, updateFormSection, removeFormSection, moveFormSection, moveFormField, moveFormFields, setFieldConditions, updateEntityField, setFieldInput, setFieldHidden, formControlsFor, formControlSettings, suggestFormSections, setDataSource, defaultEntitySource, setEntityDataSource, entityDataSource, setTheme, setThemePreset, setShell, sanitizeProject, screenFromTemplate, addScreenFromTemplate, addFreestandingScreen, serializeProject, parseProject, blockPalette, validateProject, isProjectValid, entityOf, studioThemes, defaultStudioTheme, getStudioTheme, resolveThemeTokens, isDarkTheme, themeStyleString, type StudioTheme, type StudioProject, type Screen, type ScreenNav, type Block, type BlockKind, type BlockConfig, type GridConfig, type GridEditing, type GridDensity, type GridAlign, type PagerPosition, type GridColumnConfig, type ChartConfig, type KpiConfig, type KpiFormat, type DashboardConfig, type MasterDetailConfig, type LookupConfig, type Reduce, type DataSourceKind, type EntityDataSource, type MemorySource, type RestSource, type SqlSource, type SupabaseSource, type RestMethod, type ParamLocation, type ParamType, type RequestParam, type SqlDialectKind, type ProjectTheme, type ShellConfig, type ShellStyle, type ScreenTemplate, type PaletteItem, type ProjectIssue, type GeneratedFile, } from './studio';
|
|
50
|
-
export { buildConnectionString, parseConnectionString, redactConnectionString, isFileDialect, DRIVER_PACKAGE, DEFAULT_PORT, countTableRows, probeConnection, type SqlConnectionParts, type TableRowCount, type SqlDialectName, } from './studio';
|
|
51
|
-
export { buildDisplayRows, isDetailRow, toggleExpanded, type DetailRow, } from './master-detail';
|
|
111
|
+
export { FIELD_TYPES, blankField, addField, removeField, updateField, moveField, validateSchema, isSchemaValid, sampleRows, type SchemaIssue, type SchemaIssueLevel, } from './schema-designer.js';
|
|
112
|
+
export { createProject, defaultScreenFor, emitStudioProject, emitStudioAppBundle, emitStudioApp, sampleApps, getSampleApp, starterProject, liveDataSamples, getLiveDataSample, type SampleApp, starterDatasets, getStarterDataset, type StarterDataset, crudSuiteScreens, addCrudSuite, crudAppFromSchemas, type CrudScreenKind, type CrudEditingMode, type CrudSuiteOptions, type CrudAppOptions, introspectJson, sanitizeStudioProject, buildStudioBugReport, type BugReport, type BugReportInput, addBlock, addBlockAt, removeBlock, moveBlock, reorderBlock, updateBlock, addScreen, removeScreen, updateScreen, duplicateScreen, reorderScreen, insertBlock, addEntity, removeEntity, updateEntity, formPlan, setEntityForm, setFormColumns, addFormSection, updateFormSection, removeFormSection, moveFormSection, moveFormField, moveFormFields, setFieldConditions, updateEntityField, setFieldInput, setFieldHidden, formControlsFor, formControlSettings, suggestFormSections, setDataSource, defaultEntitySource, setEntityDataSource, entityDataSource, setTheme, setThemePreset, setShell, sanitizeProject, screenFromTemplate, addScreenFromTemplate, addFreestandingScreen, serializeProject, parseProject, blockPalette, validateProject, isProjectValid, entityOf, studioThemes, defaultStudioTheme, getStudioTheme, resolveThemeTokens, isDarkTheme, themeStyleString, type StudioTheme, type StudioProject, type Screen, type ScreenNav, type Block, type BlockKind, type BlockConfig, type GridConfig, type GridEditing, type GridDensity, type GridAlign, type PagerPosition, type GridColumnConfig, type ChartConfig, type KpiConfig, type KpiFormat, type DashboardConfig, type MasterDetailConfig, type LookupConfig, type Reduce, type DataSourceKind, type EntityDataSource, type MemorySource, type RestSource, type SqlSource, type SupabaseSource, type RestMethod, type ParamLocation, type ParamType, type RequestParam, type SqlDialectKind, type ProjectTheme, type ShellConfig, type ShellStyle, type ScreenTemplate, type PaletteItem, type ProjectIssue, type GeneratedFile, } from './studio/index.js';
|
|
113
|
+
export { buildConnectionString, parseConnectionString, redactConnectionString, isFileDialect, DRIVER_PACKAGE, DEFAULT_PORT, countTableRows, probeConnection, type SqlConnectionParts, type TableRowCount, type SqlDialectName, } from './studio/index.js';
|
|
114
|
+
export { buildDisplayRows, isDetailRow, toggleExpanded, type DetailRow, } from './master-detail.js';
|
|
52
115
|
export { default as SvGridMasterDetail } from './SvGridMasterDetail.svelte';
|
|
53
116
|
export { default as SvPivotDesigner } from './SvPivotDesigner.svelte';
|
|
54
|
-
export { ALL_AGGREGATORS, AGG_LABEL, EMPTY_LAYOUT, defaultLayoutFor, type PivotField, type PivotValueChip, type PivotFilterChip, type PivotLayout, type PivotPreset, type Well, } from './pivot-designer';
|
|
55
|
-
export { pivotToChartSpec, type PivotChartOptions } from './pivot-chart';
|
|
56
|
-
export { evaluatePredicate, evaluateScalar, evaluateChange, BUILTIN_FUNCTION_NAMES, isBuiltinFunction, } from './expressions/evaluate';
|
|
57
|
-
export { parsePredicate, stringifyPredicate, stringifyScalar, validateExpression, collectColumnRefs, ExpressionParseError, } from './expressions/parse';
|
|
58
|
-
export { OPERATORS, operatorMeta, operatorsForType, isValueless, isSetOperator, isRangeOperator, columnById, resolveColumnRef, columnLabel, columnRefText, type ExprColumn, type ExprColumnType, type OperatorMeta, } from './expressions/expression-columns';
|
|
59
|
-
export type { ScalarExpr, PredicateExpr, ChangeExpr, ComparisonOp, ArithmeticOp, AggFn, EvalContext, ExprRow, } from './expressions/expression-types';
|
|
117
|
+
export { ALL_AGGREGATORS, AGG_LABEL, EMPTY_LAYOUT, defaultLayoutFor, type PivotField, type PivotValueChip, type PivotFilterChip, type PivotLayout, type PivotPreset, type Well, } from './pivot-designer.js';
|
|
118
|
+
export { pivotToChartSpec, type PivotChartOptions } from './pivot-chart.js';
|
|
119
|
+
export { evaluatePredicate, evaluateScalar, evaluateChange, BUILTIN_FUNCTION_NAMES, isBuiltinFunction, } from './expressions/evaluate.js';
|
|
120
|
+
export { parsePredicate, stringifyPredicate, stringifyScalar, validateExpression, collectColumnRefs, ExpressionParseError, } from './expressions/parse.js';
|
|
121
|
+
export { OPERATORS, operatorMeta, operatorsForType, isValueless, isSetOperator, isRangeOperator, columnById, resolveColumnRef, columnLabel, columnRefText, type ExprColumn, type ExprColumnType, type OperatorMeta, } from './expressions/expression-columns.js';
|
|
122
|
+
export type { ScalarExpr, PredicateExpr, ChangeExpr, ComparisonOp, ArithmeticOp, AggFn, EvalContext, ExprRow, } from './expressions/expression-types.js';
|
|
60
123
|
export { default as SvExpressionEditor } from './SvExpressionEditor.svelte';
|
|
61
|
-
export { enableAlerts } from './alerts';
|
|
62
|
-
export { createAlertEngine, renderTemplate, type AlertEngine, type AlertEngineOptions, type ValidateEditResult, } from './alerts/alert-engine';
|
|
63
|
-
export { attachAlertEngine, applyAlertEvents, type AlertAttachment, type AttachAlertOptions, type FlashTarget, } from './alerts/alert-engine-attach';
|
|
64
|
-
export { memoryAlertRules, localStorageAlertRules, createAlertRules, type AlertRulesStorage, type AlertRulesManager, } from './alerts/alert-storage';
|
|
65
|
-
export { createAlertObserver, type AlertObserver, type AlertObserverOptions, } from './alerts/alert-observer';
|
|
66
|
-
export { createAlertScheduler, type AlertScheduler, type AlertSchedulerMode, } from './alerts/alert-scheduler';
|
|
67
|
-
export { toConditionalFormats, rulesToConditionalFormats, type StylingContext } from './alerts/alert-formats';
|
|
68
|
-
export { alertStore } from './alerts/alert-store.svelte';
|
|
69
|
-
export type { AlertRule, AlertEvent, AlertTrigger, AlertAction, AlertActionKind, AlertActionStyle, AlertScope, AlertSeverity, } from './alerts/alert-types';
|
|
124
|
+
export { enableAlerts } from './alerts.js';
|
|
125
|
+
export { createAlertEngine, renderTemplate, type AlertEngine, type AlertEngineOptions, type ValidateEditResult, } from './alerts/alert-engine.js';
|
|
126
|
+
export { attachAlertEngine, applyAlertEvents, type AlertAttachment, type AttachAlertOptions, type FlashTarget, } from './alerts/alert-engine-attach.js';
|
|
127
|
+
export { memoryAlertRules, localStorageAlertRules, createAlertRules, type AlertRulesStorage, type AlertRulesManager, } from './alerts/alert-storage.js';
|
|
128
|
+
export { createAlertObserver, type AlertObserver, type AlertObserverOptions, } from './alerts/alert-observer.js';
|
|
129
|
+
export { createAlertScheduler, type AlertScheduler, type AlertSchedulerMode, } from './alerts/alert-scheduler.js';
|
|
130
|
+
export { toConditionalFormats, rulesToConditionalFormats, type StylingContext } from './alerts/alert-formats.js';
|
|
131
|
+
export { alertStore } from './alerts/alert-store.svelte.js';
|
|
132
|
+
export type { AlertRule, AlertEvent, AlertTrigger, AlertAction, AlertActionKind, AlertActionStyle, AlertScope, AlertSeverity, } from './alerts/alert-types.js';
|
|
70
133
|
export { default as SvGridAlerts } from './SvGridAlerts.svelte';
|
|
71
134
|
export { default as SvAlertRuleEditor } from './SvAlertRuleEditor.svelte';
|
|
72
135
|
export { default as SvAlertsManager } from './SvAlertsManager.svelte';
|
package/dist/index.js
CHANGED
|
@@ -1,55 +1,122 @@
|
|
|
1
1
|
export { setLicenseKey, clearLicenseKey, getLicenseKey, isLicenseKeySet, hasValidLicense, assertEnterpriseLicensed, nudgeEnterprise, checkLicenseKey,
|
|
2
2
|
// Trial expiry. The built-in card already appears on its own once a trial
|
|
3
3
|
// lapses; these are for hosts that would rather render their own banner.
|
|
4
|
-
isLicenseExpired, getLicenseExpiry, } from './license';
|
|
5
|
-
export { parseLicenseExpiry } from './license-core';
|
|
6
|
-
export { exportGrid, copyExportToClipboard, } from './export';
|
|
4
|
+
isLicenseExpired, getLicenseExpiry, } from './license.js';
|
|
5
|
+
export { parseLicenseExpiry } from './license-core.js';
|
|
6
|
+
export { exportGrid, copyExportToClipboard, } from './export.js';
|
|
7
7
|
export { default as SvExportMenu } from './SvExportMenu.svelte';
|
|
8
|
-
export { buildPdfDocDefinition } from './export-pdf';
|
|
9
|
-
export { printGrid } from './print';
|
|
10
|
-
export { importData, readImportMatrix, mapImportMatrix, mapImportMatrixAsync, autoMapColumns, inferImportColumnTypes, } from './import';
|
|
8
|
+
export { buildPdfDocDefinition, resolvePdfCharts, resolvePdfVfs, registerPdfFonts } from './export-pdf.js';
|
|
9
|
+
export { printGrid } from './print.js';
|
|
10
|
+
export { importData, readImportMatrix, mapImportMatrix, mapImportMatrixAsync, autoMapColumns, inferImportColumnTypes, } from './import.js';
|
|
11
11
|
export { default as SvImportDialog } from './SvImportDialog.svelte';
|
|
12
|
-
export { installEnterprise } from './install';
|
|
12
|
+
export { installEnterprise } from './install.js';
|
|
13
13
|
// Scheduler / calendar view (Pro). `enableSchedulerView()` registers the
|
|
14
14
|
// renderer so `<SvGrid scheduler={...}>` shows a Month/Week/Day/Agenda calendar.
|
|
15
15
|
// The pure model helpers + config types live in @svgrid/grid; import them from there.
|
|
16
|
-
export { enableSchedulerView, SvGridScheduler } from './scheduler';
|
|
16
|
+
export { enableSchedulerView, SvGridScheduler } from './scheduler.js';
|
|
17
17
|
// Kanban board view (Pro). `enableBoardView()` registers the renderer so
|
|
18
18
|
// `<SvGrid board={...}>` shows lanes of cards. Config types live in @svgrid/grid.
|
|
19
|
-
export { enableBoardView, SvGridBoard } from './board';
|
|
19
|
+
export { enableBoardView, SvGridBoard } from './board.js';
|
|
20
20
|
// Bulk-action bar over the row selection (Pro). `enableSelectionBar()` registers
|
|
21
21
|
// the renderer so `<SvGrid selectionBar={...}>` floats a bar over the grid while
|
|
22
22
|
// rows are selected. The prop + its config types live in @svgrid/grid.
|
|
23
|
-
export { enableSelectionBar, SvGridSelectionBar } from './selection-bar';
|
|
23
|
+
export { enableSelectionBar, SvGridSelectionBar } from './selection-bar.js';
|
|
24
24
|
// Bulk edit engine behind the bar's `editFields` button - exported so an app
|
|
25
25
|
// can drive the same write from its own UI.
|
|
26
|
-
export { applyBulkEdit, bulkEditableFields, bulkEditInitialValues, coerceBulkValue } from './bulk-edit';
|
|
26
|
+
export { applyBulkEdit, bulkEditableFields, bulkEditInitialValues, coerceBulkValue } from './bulk-edit.js';
|
|
27
27
|
export { default as SvGridBulkEditDrawer } from './SvGridBulkEditDrawer.svelte';
|
|
28
28
|
// In-grid pivot mode (Pro). `enablePivot()` registers the pivot engine so
|
|
29
29
|
// `<SvGrid pivot={...}>` renders a pivot table in place of the flat table.
|
|
30
|
-
export { enablePivot } from './pivot-enable';
|
|
31
|
-
export {
|
|
30
|
+
export { enablePivot } from './pivot-enable.js';
|
|
31
|
+
export { enableSheet } from './sheet-enable.js';
|
|
32
|
+
export { createTableRegistry, isValidTableName, resolveTableRange, columnIndexOf, rowCountOf, } from './sheet/tables.js';
|
|
33
|
+
export { goalSeek, goalSeekCell, } from './sheet/goal-seek.js';
|
|
34
|
+
export { default as SvSheetTabs } from './SvSheetTabs.svelte';
|
|
35
|
+
export { createWorkbook, isValidSheetName, } from './sheet/workbook.js';
|
|
36
|
+
export { setWorkbook, getWorkbook } from './sheet/shortcuts.js';
|
|
37
|
+
export { createSheetDocument, } from './sheet/document.js';
|
|
38
|
+
export { shiftRect, shiftRects, subtractRect, rectContains, rectsIntersect, remapNotes, lineShift } from './sheet/rects.js';
|
|
39
|
+
export { isLocked, rectsHaveLocked, rectsMixLocked, PROTECTED_MESSAGE } from './sheet/protection.js';
|
|
40
|
+
export { commentAt, withComment, listComments, nextComment } from './sheet/comments.js';
|
|
41
|
+
export { ruleAt, rulesIn, checkEntry, listChoices, shiftValidation, removeValidation, describeRule, dateValue, validationId, DEFAULT_ALERT_MESSAGE, OPERATOR_LABELS, } from './sheet/validation.js';
|
|
42
|
+
export { ruleStats, evaluateCf, shiftCf, removeCf, cfIn, describeCf, scaleColor, iconIndex, hasStyle, cfId, CF_PRESET_STYLES, COLOR_SCALES, DATA_BAR_COLOR, } from './sheet/conditional-formats.js';
|
|
43
|
+
export { mergePlan, unmergePlan, mergeDropsValues, mergesIn, mergeAt as sheetMergeAt, isCoveredCell, selectionMerged, toGridMerges, sortBlockedByMerges, reorderMerges, normalRect, } from './sheet/merges.js';
|
|
44
|
+
export { distinctValues, hiddenRowsFor, passesFilter, isFiltering, withColumnFilter, valuesFilter, shiftAutoFilter, describeFilter, } from './sheet/auto-filter.js';
|
|
45
|
+
export { splitText, textToColumns, guessDelimiter, findDuplicates, removeDuplicates, } from './sheet/transforms.js';
|
|
46
|
+
export { insertRows, deleteRows, insertColumns, deleteColumns, axisForSelection, setStructureTarget, getStructureTarget, rewriteFormulas, } from './sheet/structure.js';
|
|
47
|
+
export { findAll, findNext, replaceOne, replaceAll, replaceInText, cellMatches, setFindTarget, getFindTarget, } from './sheet/find-replace.js';
|
|
48
|
+
export { splitFrozenRows, frozenColumnIds, applyFreeze, freezeAtActiveCell, freezeTopRow, freezeFirstColumn, unfreeze, } from './sheet/freeze.js';
|
|
49
|
+
export { buildClipboardPayload, parseClipboard, parseClipboardText, parseClipboardHtml, readClipboardOrigin, anchorForeignFormulas, resolvePasteCell, planPaste, msoNumberFormat, numFmtFromMso, isR1C1, r1c1ToA1, } from './sheet/paste-special.js';
|
|
50
|
+
export { setFindReplaceHandler, setPasteSpecialHandler, setRibbonActionHandler, nudgeFontSize } from './sheet/shortcuts.js';
|
|
51
|
+
export { default as SvFormulaBar } from './SvFormulaBar.svelte';
|
|
52
|
+
export { default as SvSheet } from './SvSheet.svelte';
|
|
53
|
+
export { default as SvSheetRibbon } from './SvSheetRibbon.svelte';
|
|
54
|
+
export { default as SvSheetFindReplace } from './SvSheetFindReplace.svelte';
|
|
55
|
+
export { default as SvSheetPasteSpecial } from './SvSheetPasteSpecial.svelte';
|
|
56
|
+
export { default as SvSheetFormatCells } from './SvSheetFormatCells.svelte';
|
|
57
|
+
export { default as SvSheetInsertFunction } from './SvSheetInsertFunction.svelte';
|
|
58
|
+
export { default as SvSheetSizeDialog } from './SvSheetSizeDialog.svelte';
|
|
59
|
+
export { default as SvSheetComment } from './SvSheetComment.svelte';
|
|
60
|
+
export { default as SvSheetDataValidation } from './SvSheetDataValidation.svelte';
|
|
61
|
+
export { default as SvSheetValidationAlert } from './SvSheetValidationAlert.svelte';
|
|
62
|
+
export { default as SvSheetListPicker } from './SvSheetListPicker.svelte';
|
|
63
|
+
export { default as SvSheetConditionalFormat } from './SvSheetConditionalFormat.svelte';
|
|
64
|
+
export { default as SvSheetManageRules } from './SvSheetManageRules.svelte';
|
|
65
|
+
export { default as SvSheetFilterMenu } from './SvSheetFilterMenu.svelte';
|
|
66
|
+
export { default as SvSheetNameManager } from './SvSheetNameManager.svelte';
|
|
67
|
+
export { default as SvSheetGoalSeek } from './SvSheetGoalSeek.svelte';
|
|
68
|
+
export { default as SvSheetTextToColumns } from './SvSheetTextToColumns.svelte';
|
|
69
|
+
export { default as SvSheetRemoveDuplicates } from './SvSheetRemoveDuplicates.svelte';
|
|
70
|
+
export { functionCatalog, FUNCTION_GROUPS } from './sheet/function-catalog.js';
|
|
71
|
+
export { parseEntry, completeEntry } from './sheet/entry.js';
|
|
72
|
+
export { cycleReference } from './sheet/edit-keys.js';
|
|
73
|
+
export { RIBBON_TABS, ribbonItems, withDecimals, applyBorders, } from './sheet/ribbon.js';
|
|
74
|
+
export { RIBBON_ICONS, RIBBON_ICON_NAMES } from './sheet/ribbon-icons.js';
|
|
75
|
+
export { THEME_COLOURS, STANDARD_COLOURS, ALL_COLOURS, tint } from './sheet/palette.js';
|
|
76
|
+
export { default as SvRibbonIcon } from './SvRibbonIcon.svelte';
|
|
77
|
+
export { move, selectRegion, selectLine, applyFormat, toggleFormat, preset, autoSum, structural, switchSheet, gridOf, } from './sheet/shortcuts.js';
|
|
78
|
+
export { compileNumberFormat, formatWithPattern, FORMAT_PRESETS, } from './sheet/number-format.js';
|
|
79
|
+
export { createFormatStore, entryToStyle, borderShadows, } from './sheet/format-store.js';
|
|
80
|
+
export { createNames, isValidName, } from './sheet/names.js';
|
|
81
|
+
export { suggestFunctions, applySuggestion, signatureAt, partialAt, SIGNATURES, } from './sheet/autocomplete.js';
|
|
82
|
+
export { setFormatTarget, getFormatTarget, setFormatDialogHandler, } from './sheet/shortcuts.js';
|
|
83
|
+
// The formula engine. Names are Sheet-prefixed HERE because the barrel already
|
|
84
|
+
// exports a `DependencyGraph` (scheduler) and an `EvalContext` (the expression
|
|
85
|
+
// language), and two different things under one name in one namespace is worse
|
|
86
|
+
// than a prefix. The `@svgrid/enterprise/sheet` subpath exports them unprefixed.
|
|
87
|
+
export { parseFormula, parse as parseFormulaTokens } from './sheet/parse.js';
|
|
88
|
+
export { tokenize as tokenizeFormula } from './sheet/tokenize.js';
|
|
89
|
+
export { evaluate as evaluateFormula, formatValue as formatCellValue, } from './sheet/evaluate.js';
|
|
90
|
+
export { FUNCTIONS as SHEET_FUNCTIONS, withCustomFunctions, } from './sheet/functions.js';
|
|
91
|
+
export { translateFormula, fixupReferences, renameSheetReferences, formatFormula, referenceSpans, REFERENCE_COLOURS, } from './sheet/refs.js';
|
|
92
|
+
export { createDependencyGraph as createSheetDependencyGraph, precedentsOf, cellKey, parseCellKey, } from './sheet/deps.js';
|
|
93
|
+
export { parseA1, formatA1, colToLetters, lettersToCol, } from './sheet/address.js';
|
|
94
|
+
export { isError as isFormulaError, } from './sheet/ast.js';
|
|
95
|
+
export { SHEET_BINDINGS, handleSheetKey, } from './sheet/shortcuts.js';
|
|
96
|
+
export { edgeOfRegion, currentRegion, isBlankValue, } from './sheet/navigate.js';
|
|
97
|
+
export { fillDown, fillRight, fillSelection, stampDate, stampNow, copyFromAbove, copyValueFromAbove, guessSumRange, looksNumeric, setFillTranslator, } from './sheet/commands.js';
|
|
98
|
+
export { enableAdvancedFilter } from './advanced-filter-enable.js';
|
|
32
99
|
export { default as SvAdvancedFilter } from './SvAdvancedFilter.svelte';
|
|
33
|
-
export { exprColumnsFromGrid, } from './advanced-filter/expr-columns-from-grid';
|
|
34
|
-
export { compilePredicate, compileScalar, } from './expressions/compile';
|
|
35
|
-
export { buildDependencyGraph, topoOrder, hasCycle, requiredStart, cascade, violations, } from './scheduler-dependencies';
|
|
36
|
-
export { expandAssignments, resourceLoad, overallocations, assignedMinutes, } from './scheduler-assignments';
|
|
37
|
-
export { columnSummaries, sumReducer, countReducer, busyMinutesReducer, } from './scheduler-summary';
|
|
38
|
-
export { buildAxis, timeToX, xToTime, resolveZoom, zoomPresets, } from './scheduler-axis';
|
|
39
|
-
export { buildResourceRows, visibleResourceIds, } from './scheduler-resource-tree';
|
|
40
|
-
export { heatCells, heatPeak } from './scheduler-heatmap';
|
|
41
|
-
export { respectsBuffer, withinDurationBounds, afterLead, } from './scheduler-booking';
|
|
42
|
-
export { availableSlots, mergeIntervals, subtractIntervals, } from './scheduler-slots';
|
|
43
|
-
export { mergeBusy, commonFree } from './scheduler-freebusy';
|
|
44
|
-
export { createStagedEditing, } from './staged-editing';
|
|
45
|
-
export { createScheduler, parseCron, cronMatches, cronMatchesParsed, isScheduleDue, nextRun, CRON_PRESETS, } from './scheduling';
|
|
46
|
-
export { dismissUnlicensedNudge } from './watermark';
|
|
47
|
-
export { showUpgradePrompt, dismissUpgradePrompt, } from './upgrade-prompt';
|
|
48
|
-
export { createPivotModel, pivotAggregators, filterCollapsedPivotRows, } from './pivot';
|
|
49
|
-
export { titleCase, resolveIdField, schemaToColumns, schemaToFormFields, isFieldHidden, validateField, applyComputed, validateEntity, } from './schema';
|
|
50
|
-
export { planQuery, coerce, createInMemoryDataSource, createKitDataSource, createKitHandlers, createSqlDataSource, planToSql, } from './sveltekit';
|
|
51
|
-
export { createSupabaseDataSource, createRestDataSource, offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, introspectSupabaseTable, listSupabaseTables, createSupabaseRealtime, createRelationLookup, createSupabaseAuth, aggregateRows, chartFieldsFromSchema, normalizeFilters, buildEntitySchema, pickLabelField, linkRelationLabels, withEntityRules, withRelationLabels, reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, } from './sources';
|
|
52
|
-
export { buildInitialValues, controlKind, editMode, evalValidationRules, fieldState, sectionVisible, hasFieldConditions, rowId, stripHiddenValues, toSubmitValues, validateAll, visibleFormFields, } from './edit-panel';
|
|
100
|
+
export { exprColumnsFromGrid, } from './advanced-filter/expr-columns-from-grid.js';
|
|
101
|
+
export { compilePredicate, compileScalar, } from './expressions/compile.js';
|
|
102
|
+
export { buildDependencyGraph, topoOrder, hasCycle, requiredStart, cascade, violations, } from './scheduler-dependencies.js';
|
|
103
|
+
export { expandAssignments, resourceLoad, overallocations, assignedMinutes, } from './scheduler-assignments.js';
|
|
104
|
+
export { columnSummaries, sumReducer, countReducer, busyMinutesReducer, } from './scheduler-summary.js';
|
|
105
|
+
export { buildAxis, timeToX, xToTime, resolveZoom, zoomPresets, } from './scheduler-axis.js';
|
|
106
|
+
export { buildResourceRows, visibleResourceIds, } from './scheduler-resource-tree.js';
|
|
107
|
+
export { heatCells, heatPeak } from './scheduler-heatmap.js';
|
|
108
|
+
export { respectsBuffer, withinDurationBounds, afterLead, } from './scheduler-booking.js';
|
|
109
|
+
export { availableSlots, mergeIntervals, subtractIntervals, } from './scheduler-slots.js';
|
|
110
|
+
export { mergeBusy, commonFree } from './scheduler-freebusy.js';
|
|
111
|
+
export { createStagedEditing, } from './staged-editing.js';
|
|
112
|
+
export { createScheduler, parseCron, cronMatches, cronMatchesParsed, isScheduleDue, nextRun, CRON_PRESETS, } from './scheduling.js';
|
|
113
|
+
export { dismissUnlicensedNudge } from './watermark.js';
|
|
114
|
+
export { showUpgradePrompt, dismissUpgradePrompt, } from './upgrade-prompt.js';
|
|
115
|
+
export { createPivotModel, pivotAggregators, filterCollapsedPivotRows, } from './pivot.js';
|
|
116
|
+
export { titleCase, resolveIdField, schemaToColumns, schemaToFormFields, isFieldHidden, validateField, applyComputed, validateEntity, } from './schema.js';
|
|
117
|
+
export { planQuery, coerce, createInMemoryDataSource, createKitDataSource, createKitHandlers, createSqlDataSource, planToSql, } from './sveltekit/index.js';
|
|
118
|
+
export { createSupabaseDataSource, createRestDataSource, offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, introspectSupabaseTable, listSupabaseTables, createSupabaseRealtime, createRelationLookup, createSupabaseAuth, aggregateRows, chartFieldsFromSchema, normalizeFilters, buildEntitySchema, pickLabelField, linkRelationLabels, withEntityRules, withRelationLabels, reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, } from './sources/index.js';
|
|
119
|
+
export { buildInitialValues, controlKind, editMode, evalValidationRules, fieldState, sectionVisible, hasFieldConditions, rowId, stripHiddenValues, toSubmitValues, validateAll, visibleFormFields, } from './edit-panel.js';
|
|
53
120
|
export { default as SvGridEditPanel } from './SvGridEditPanel.svelte';
|
|
54
121
|
export { default as SvLookupInput } from './SvLookupInput.svelte';
|
|
55
122
|
export { default as SvFileInput } from './SvFileInput.svelte';
|
|
@@ -59,7 +126,7 @@ export { default as SvSchemaDashboard } from './SvSchemaDashboard.svelte';
|
|
|
59
126
|
export { default as SvBoard } from './SvBoard.svelte';
|
|
60
127
|
export { default as SvSchedule } from './SvSchedule.svelte';
|
|
61
128
|
export { default as SvRecordDetail } from './SvRecordDetail.svelte';
|
|
62
|
-
export { FIELD_TYPES, blankField, addField, removeField, updateField, moveField, validateSchema, isSchemaValid, sampleRows, } from './schema-designer';
|
|
129
|
+
export { FIELD_TYPES, blankField, addField, removeField, updateField, moveField, validateSchema, isSchemaValid, sampleRows, } from './schema-designer.js';
|
|
63
130
|
// NOTE: The visual designer components (SvSchemaDesigner, SvStudioDesigner) are
|
|
64
131
|
// the commercial "SvGrid Studio" seller. They live entirely in the PRIVATE
|
|
65
132
|
// website repo (website/src/lib/designer), NOT in this public package - they
|
|
@@ -67,36 +134,36 @@ export { FIELD_TYPES, blankField, addField, removeField, updateField, moveField,
|
|
|
67
134
|
// the MCP server depends on it.
|
|
68
135
|
// The Studio project model + codegen (also on the pure `@svgrid/enterprise/studio`
|
|
69
136
|
// subpath) - re-exported so the designer and its model come from one import.
|
|
70
|
-
export { createProject, defaultScreenFor, emitStudioProject, emitStudioAppBundle, emitStudioApp, sampleApps, getSampleApp, starterProject, liveDataSamples, getLiveDataSample, starterDatasets, getStarterDataset, crudSuiteScreens, addCrudSuite, crudAppFromSchemas, introspectJson, sanitizeStudioProject, buildStudioBugReport, addBlock, addBlockAt, removeBlock, moveBlock, reorderBlock, updateBlock, addScreen, removeScreen, updateScreen, duplicateScreen, reorderScreen, insertBlock, addEntity, removeEntity, updateEntity, formPlan, setEntityForm, setFormColumns, addFormSection, updateFormSection, removeFormSection, moveFormSection, moveFormField, moveFormFields, setFieldConditions, updateEntityField, setFieldInput, setFieldHidden, formControlsFor, formControlSettings, suggestFormSections, setDataSource, defaultEntitySource, setEntityDataSource, entityDataSource, setTheme, setThemePreset, setShell, sanitizeProject, screenFromTemplate, addScreenFromTemplate, addFreestandingScreen, serializeProject, parseProject, blockPalette, validateProject, isProjectValid, entityOf, studioThemes, defaultStudioTheme, getStudioTheme, resolveThemeTokens, isDarkTheme, themeStyleString, } from './studio';
|
|
71
|
-
export { buildConnectionString, parseConnectionString, redactConnectionString, isFileDialect, DRIVER_PACKAGE, DEFAULT_PORT, countTableRows, probeConnection, } from './studio';
|
|
72
|
-
export { buildDisplayRows, isDetailRow, toggleExpanded, } from './master-detail';
|
|
137
|
+
export { createProject, defaultScreenFor, emitStudioProject, emitStudioAppBundle, emitStudioApp, sampleApps, getSampleApp, starterProject, liveDataSamples, getLiveDataSample, starterDatasets, getStarterDataset, crudSuiteScreens, addCrudSuite, crudAppFromSchemas, introspectJson, sanitizeStudioProject, buildStudioBugReport, addBlock, addBlockAt, removeBlock, moveBlock, reorderBlock, updateBlock, addScreen, removeScreen, updateScreen, duplicateScreen, reorderScreen, insertBlock, addEntity, removeEntity, updateEntity, formPlan, setEntityForm, setFormColumns, addFormSection, updateFormSection, removeFormSection, moveFormSection, moveFormField, moveFormFields, setFieldConditions, updateEntityField, setFieldInput, setFieldHidden, formControlsFor, formControlSettings, suggestFormSections, setDataSource, defaultEntitySource, setEntityDataSource, entityDataSource, setTheme, setThemePreset, setShell, sanitizeProject, screenFromTemplate, addScreenFromTemplate, addFreestandingScreen, serializeProject, parseProject, blockPalette, validateProject, isProjectValid, entityOf, studioThemes, defaultStudioTheme, getStudioTheme, resolveThemeTokens, isDarkTheme, themeStyleString, } from './studio/index.js';
|
|
138
|
+
export { buildConnectionString, parseConnectionString, redactConnectionString, isFileDialect, DRIVER_PACKAGE, DEFAULT_PORT, countTableRows, probeConnection, } from './studio/index.js';
|
|
139
|
+
export { buildDisplayRows, isDetailRow, toggleExpanded, } from './master-detail.js';
|
|
73
140
|
export { default as SvGridMasterDetail } from './SvGridMasterDetail.svelte';
|
|
74
141
|
export { default as SvPivotDesigner } from './SvPivotDesigner.svelte';
|
|
75
|
-
export { ALL_AGGREGATORS, AGG_LABEL, EMPTY_LAYOUT, defaultLayoutFor, } from './pivot-designer';
|
|
142
|
+
export { ALL_AGGREGATORS, AGG_LABEL, EMPTY_LAYOUT, defaultLayoutFor, } from './pivot-designer.js';
|
|
76
143
|
// The AI helpers (setAIProvider, aiFilter, aiSmartFill, aiSummarize, aiClassify,
|
|
77
144
|
// aiExport, aiFindAnomalies, aiChart, enableAiCharting, ...) are now BUILT-IN and
|
|
78
145
|
// FREE in @svgrid/grid - import them from there. Enterprise only registers its
|
|
79
146
|
// export engine so AI-planned Excel/PDF exports can run (see install.ts).
|
|
80
|
-
export { pivotToChartSpec } from './pivot-chart';
|
|
147
|
+
export { pivotToChartSpec } from './pivot-chart.js';
|
|
81
148
|
// Expression / query language (Pro). One predicate/scalar/change model that
|
|
82
149
|
// powers alerts (and, in time, styled + calculated columns). Leaf comparisons
|
|
83
150
|
// reuse the grid's own `applyExcelFilter`, so operators match the filter row.
|
|
84
|
-
export { evaluatePredicate, evaluateScalar, evaluateChange, BUILTIN_FUNCTION_NAMES, isBuiltinFunction, } from './expressions/evaluate';
|
|
85
|
-
export { parsePredicate, stringifyPredicate, stringifyScalar, validateExpression, collectColumnRefs, ExpressionParseError, } from './expressions/parse';
|
|
86
|
-
export { OPERATORS, operatorMeta, operatorsForType, isValueless, isSetOperator, isRangeOperator, columnById, resolveColumnRef, columnLabel, columnRefText, } from './expressions/expression-columns';
|
|
151
|
+
export { evaluatePredicate, evaluateScalar, evaluateChange, BUILTIN_FUNCTION_NAMES, isBuiltinFunction, } from './expressions/evaluate.js';
|
|
152
|
+
export { parsePredicate, stringifyPredicate, stringifyScalar, validateExpression, collectColumnRefs, ExpressionParseError, } from './expressions/parse.js';
|
|
153
|
+
export { OPERATORS, operatorMeta, operatorsForType, isValueless, isSetOperator, isRangeOperator, columnById, resolveColumnRef, columnLabel, columnRefText, } from './expressions/expression-columns.js';
|
|
87
154
|
export { default as SvExpressionEditor } from './SvExpressionEditor.svelte';
|
|
88
155
|
// Alert Rules engine (Pro). Declarative "when this holds / this moves -> toast /
|
|
89
156
|
// badge / highlight / flash / prevent-edit / log". Authored at runtime,
|
|
90
157
|
// persisted, shareable. Surfacing reuses the grid's toast + conditional-format
|
|
91
158
|
// engines; `<SvGridAlerts>` is the runtime overlay the consumer mounts.
|
|
92
|
-
export { enableAlerts } from './alerts';
|
|
93
|
-
export { createAlertEngine, renderTemplate, } from './alerts/alert-engine';
|
|
94
|
-
export { attachAlertEngine, applyAlertEvents, } from './alerts/alert-engine-attach';
|
|
95
|
-
export { memoryAlertRules, localStorageAlertRules, createAlertRules, } from './alerts/alert-storage';
|
|
96
|
-
export { createAlertObserver, } from './alerts/alert-observer';
|
|
97
|
-
export { createAlertScheduler, } from './alerts/alert-scheduler';
|
|
98
|
-
export { toConditionalFormats, rulesToConditionalFormats } from './alerts/alert-formats';
|
|
99
|
-
export { alertStore } from './alerts/alert-store.svelte';
|
|
159
|
+
export { enableAlerts } from './alerts.js';
|
|
160
|
+
export { createAlertEngine, renderTemplate, } from './alerts/alert-engine.js';
|
|
161
|
+
export { attachAlertEngine, applyAlertEvents, } from './alerts/alert-engine-attach.js';
|
|
162
|
+
export { memoryAlertRules, localStorageAlertRules, createAlertRules, } from './alerts/alert-storage.js';
|
|
163
|
+
export { createAlertObserver, } from './alerts/alert-observer.js';
|
|
164
|
+
export { createAlertScheduler, } from './alerts/alert-scheduler.js';
|
|
165
|
+
export { toConditionalFormats, rulesToConditionalFormats } from './alerts/alert-formats.js';
|
|
166
|
+
export { alertStore } from './alerts/alert-store.svelte.js';
|
|
100
167
|
export { default as SvGridAlerts } from './SvGridAlerts.svelte';
|
|
101
168
|
export { default as SvAlertRuleEditor } from './SvAlertRuleEditor.svelte';
|
|
102
169
|
export { default as SvAlertsManager } from './SvAlertsManager.svelte';
|
package/dist/install.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { RowData, TableFeatures, SvGridApi } from '@svgrid/grid';
|
|
2
|
-
import { type ExportOptions, type ExportResult, type ClipboardExportOptions } from './export';
|
|
3
|
-
import { type PrintOptions } from './print';
|
|
4
|
-
import { type ImportOptions, type ImportResult } from './import';
|
|
2
|
+
import { type ExportOptions, type ExportResult, type ClipboardExportOptions } from './export.js';
|
|
3
|
+
import { type PrintOptions } from './print.js';
|
|
4
|
+
import { type ImportOptions, type ImportResult } from './import.js';
|
|
5
5
|
import { type AIChartOptions, type AIChartPlan, type AIFilterOptions, type AIFilterResult, type AISmartFillOptions, type AISmartFillResult, type AISummarizeOptions, type AISummary, type AIClassifyOptions, type AIClassifyResult, type AIExportOptions, type AIExportPlan, type AIAnomalyOptions, type AIAnomalyResult } from '@svgrid/grid';
|
|
6
|
-
import { type PivotConfig, type PivotResult } from './pivot';
|
|
6
|
+
import { type PivotConfig, type PivotResult } from './pivot.js';
|
|
7
7
|
/** The `api.ai.*` namespace added by the enterprise install. */
|
|
8
8
|
export type EnterpriseAIApi<TData extends RowData> = {
|
|
9
9
|
/** Natural-language -> filter + sort plan (and optionally apply it). */
|