@svgrid/enterprise 2.7.0 → 3.0.1

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.
Files changed (238) hide show
  1. package/README.md +95 -95
  2. package/dist/ExpressionEditorHarness.svelte.d.ts +2 -2
  3. package/dist/SvAdvancedFilter.svelte.d.ts +2 -2
  4. package/dist/SvAlertRuleEditor.svelte.d.ts +2 -2
  5. package/dist/SvAlertsManager.svelte.d.ts +3 -3
  6. package/dist/SvAlertsPanel.svelte.d.ts +1 -1
  7. package/dist/SvAuthGate.svelte +115 -115
  8. package/dist/SvAuthGate.svelte.d.ts +1 -1
  9. package/dist/SvBoard.svelte.d.ts +1 -1
  10. package/dist/SvExportMenu.svelte +553 -553
  11. package/dist/SvExportMenu.svelte.d.ts +2 -2
  12. package/dist/SvExpressionEditor.svelte.d.ts +2 -2
  13. package/dist/SvFileInput.svelte +113 -113
  14. package/dist/SvGridAlerts.svelte.d.ts +2 -2
  15. package/dist/SvGridBoard.svelte +2358 -2358
  16. package/dist/SvGridBulkEditDrawer.svelte.d.ts +1 -1
  17. package/dist/SvGridEditPanel.svelte +1157 -1157
  18. package/dist/SvGridEditPanel.svelte.d.ts +3 -3
  19. package/dist/SvGridMasterDetail.svelte +116 -116
  20. package/dist/SvGridMasterDetail.svelte.d.ts +1 -1
  21. package/dist/SvGridScheduler.svelte +5358 -5358
  22. package/dist/SvImportDialog.svelte +1020 -1020
  23. package/dist/SvImportDialog.svelte.d.ts +2 -2
  24. package/dist/SvLookupInput.svelte +180 -180
  25. package/dist/SvLookupInput.svelte.d.ts +1 -1
  26. package/dist/SvPivotDesigner.svelte +1990 -1990
  27. package/dist/SvPivotDesigner.svelte.d.ts +2 -2
  28. package/dist/SvRecordDetail.svelte.d.ts +1 -1
  29. package/dist/SvSchedule.svelte.d.ts +1 -1
  30. package/dist/SvSchemaChart.svelte +234 -234
  31. package/dist/SvSchemaChart.svelte.d.ts +2 -2
  32. package/dist/SvSchemaDashboard.svelte +130 -130
  33. package/dist/SvSchemaDashboard.svelte.d.ts +3 -3
  34. package/dist/advanced-filter/expr-columns-from-grid.d.ts +1 -1
  35. package/dist/advanced-filter-enable.js +3 -3
  36. package/dist/alerts/alert-engine-attach.d.ts +2 -2
  37. package/dist/alerts/alert-engine-attach.js +3 -3
  38. package/dist/alerts/alert-engine.d.ts +1 -1
  39. package/dist/alerts/alert-engine.js +2 -2
  40. package/dist/alerts/alert-formats.d.ts +1 -1
  41. package/dist/alerts/alert-formats.js +1 -1
  42. package/dist/alerts/alert-observer.d.ts +3 -3
  43. package/dist/alerts/alert-observer.js +1 -1
  44. package/dist/alerts/alert-storage.d.ts +1 -1
  45. package/dist/alerts/alert-store.svelte.d.ts +1 -1
  46. package/dist/alerts/alert-types.d.ts +2 -2
  47. package/dist/alerts.js +2 -2
  48. package/dist/board.js +2 -2
  49. package/dist/cdn/svgrid-enterprise.svelte-external.js +1162 -1145
  50. package/dist/designer/assets/GridMenus-B1JtIN21.js +8 -0
  51. package/dist/designer/assets/SvDateRangeInput-C0iCCZ8o.css +1 -0
  52. package/dist/designer/assets/{SvDateRangeInput-CVn-yqrQ.js → SvDateRangeInput-CjO7nn_x.js} +1 -1
  53. package/dist/designer/assets/SvDateTimePicker-ByBD_ov6.js +1 -0
  54. package/dist/designer/assets/SvDateTimePicker-DPv09DIT.css +1 -0
  55. package/dist/designer/assets/SvField-YDLipR6O.css +1 -0
  56. package/dist/designer/assets/{SvField-BsqiA5me.js → SvField-cj1PFNgZ.js} +1 -1
  57. package/dist/designer/assets/{preload-helper-CG0n22O7.js → SvGrid.helpers-BgT-gnCo.js} +1 -1
  58. package/dist/designer/assets/SvGridCellEditor-0W1L2hJ1.js +2 -0
  59. package/dist/designer/assets/SvGridChart-DBOR4xcz.js +2 -0
  60. package/dist/designer/assets/SvGridChart-fkMWeh1J.css +1 -0
  61. package/dist/designer/assets/SvGridChartPanel-symrhNnR.js +11 -0
  62. package/dist/designer/assets/SvGridChartView-BmRxq6mU.js +1 -0
  63. package/dist/designer/assets/SvGridChartView-DUc-1RUf.css +1 -0
  64. package/dist/designer/assets/SvGridDropdown-Bb3HH2Aj.js +1 -0
  65. package/dist/designer/assets/SvGridDropdown-CcidB3rm.css +1 -0
  66. package/dist/designer/assets/SvListBox-1oUF6Iav.js +110 -0
  67. package/dist/designer/assets/SvListBox-BXfyqy4a.css +1 -0
  68. package/dist/designer/assets/cell-formatting-wr5wm7US.js +1 -0
  69. package/dist/designer/assets/chart-DXFganU8.js +1 -0
  70. package/dist/designer/assets/date-format-DGagAqRc.css +1 -0
  71. package/dist/designer/assets/{date-format-4DJvNtG2.js → date-format-onlYDsrY.js} +1 -1
  72. package/dist/designer/assets/export-format-D-eP4b2l.js +6 -0
  73. package/dist/designer/assets/{index-BvaLmQSd.js → index-C_a9Cj8Y.js} +2984 -141
  74. package/dist/designer/assets/index-k2stW6L8.css +1 -0
  75. package/dist/designer/assets/preload-helper-HclGiUj8.js +1 -0
  76. package/dist/designer/assets/{row-drag-touch-IuJPEt0z.js → row-drag-touch-BdknxBNL.js} +1 -1
  77. package/dist/designer/assets/src-D9p27OGC.js +58 -0
  78. package/dist/designer/index.html +22 -22
  79. package/dist/export-conditional.d.ts +1 -1
  80. package/dist/export-print.js +19 -19
  81. package/dist/export-xls.d.ts +2 -2
  82. package/dist/export.d.ts +2 -2
  83. package/dist/export.js +7 -7
  84. package/dist/expressions/builder-tree.d.ts +2 -2
  85. package/dist/expressions/builder-tree.js +1 -1
  86. package/dist/expressions/compile.d.ts +1 -1
  87. package/dist/import.js +1 -1
  88. package/dist/index.d.ts +53 -53
  89. package/dist/index.js +50 -50
  90. package/dist/install.d.ts +4 -4
  91. package/dist/install.js +11 -11
  92. package/dist/license.d.ts +3 -2
  93. package/dist/license.js +9 -4
  94. package/dist/node/studio.js +124 -115
  95. package/dist/pivot-chart.d.ts +1 -1
  96. package/dist/pivot-designer.d.ts +1 -1
  97. package/dist/pivot-enable.js +3 -3
  98. package/dist/print.d.ts +1 -1
  99. package/dist/print.js +4 -4
  100. package/dist/scheduler-config.d.ts +5 -5
  101. package/dist/scheduler-freebusy.d.ts +1 -1
  102. package/dist/scheduler-freebusy.js +1 -1
  103. package/dist/scheduler.js +2 -2
  104. package/dist/schema-designer.d.ts +1 -1
  105. package/dist/schema-designer.js +2 -2
  106. package/dist/selection-bar.js +2 -2
  107. package/dist/sources/aggregate.d.ts +1 -1
  108. package/dist/sources/auth-supabase.js +1 -1
  109. package/dist/sources/dashboard.d.ts +2 -2
  110. package/dist/sources/dashboard.js +1 -1
  111. package/dist/sources/index.d.ts +13 -13
  112. package/dist/sources/index.js +13 -13
  113. package/dist/sources/realtime-supabase.js +1 -1
  114. package/dist/sources/relation-lookup.d.ts +1 -1
  115. package/dist/sources/relation-lookup.js +1 -1
  116. package/dist/sources/rest-adapters.d.ts +1 -1
  117. package/dist/sources/rest-adapters.js +1 -1
  118. package/dist/sources/rest.d.ts +2 -2
  119. package/dist/sources/rest.js +3 -3
  120. package/dist/sources/supabase.d.ts +2 -2
  121. package/dist/sources/supabase.js +3 -3
  122. package/dist/sources/with-entity-rules.d.ts +1 -1
  123. package/dist/sources/with-entity-rules.js +1 -1
  124. package/dist/sources/with-relation-labels.d.ts +1 -1
  125. package/dist/studio/emit-project.js +2161 -2127
  126. package/dist/studio/emit-schema.js +369 -369
  127. package/dist/studio/index.d.ts +1 -1
  128. package/dist/studio/index.js +1 -1
  129. package/dist/studio/introspect-db.js +45 -45
  130. package/dist/studio/project.d.ts +10 -0
  131. package/dist/studio/samples/crm.js +6 -6
  132. package/dist/studio/samples/fleet.js +7 -7
  133. package/dist/studio/samples/insurance.js +9 -9
  134. package/dist/studio/samples/inventory.js +12 -12
  135. package/dist/studio/samples/projects.js +5 -5
  136. package/dist/studio/samples/support.js +8 -8
  137. package/dist/studio/scaffold-app.js +104 -104
  138. package/dist/studio/scaffold.js +151 -151
  139. package/dist/studio/ui-components.d.ts +7 -0
  140. package/dist/studio/ui-components.js +35 -0
  141. package/dist/sveltekit/in-memory.d.ts +3 -3
  142. package/dist/sveltekit/in-memory.js +4 -4
  143. package/dist/sveltekit/index.d.ts +6 -6
  144. package/dist/sveltekit/index.js +5 -5
  145. package/dist/sveltekit/query-plan.d.ts +1 -1
  146. package/dist/sveltekit/sql-source.d.ts +4 -4
  147. package/dist/sveltekit/sql-source.js +4 -4
  148. package/dist/sveltekit/sql.d.ts +1 -1
  149. package/dist/sveltekit/transport.d.ts +2 -2
  150. package/dist/sveltekit/transport.js +1 -1
  151. package/dist/upgrade-prompt.js +25 -25
  152. package/dist/version.d.ts +1 -1
  153. package/dist/version.js +1 -1
  154. package/package.json +6 -3
  155. package/dist/designer/assets/GridMenus-Cgilexpk.js +0 -8
  156. package/dist/designer/assets/SvDateRangeInput-BV5OXYQ2.css +0 -1
  157. package/dist/designer/assets/SvDateTimePicker-BdioTrJQ.js +0 -1
  158. package/dist/designer/assets/SvDateTimePicker-CY8TK4BT.css +0 -1
  159. package/dist/designer/assets/SvField-BF-9TJSd.css +0 -1
  160. package/dist/designer/assets/SvGridCellEditor-dLY7_kk9.js +0 -2
  161. package/dist/designer/assets/SvGridChart-BEDNTdc5.js +0 -2
  162. package/dist/designer/assets/SvGridChart-Vu4Nvjiv.css +0 -1
  163. package/dist/designer/assets/SvGridChartPanel-x3lzSxuf.js +0 -10
  164. package/dist/designer/assets/SvGridChartView-CAKhPELi.js +0 -1
  165. package/dist/designer/assets/SvGridChartView-DX9HfkBR.css +0 -1
  166. package/dist/designer/assets/SvGridDropdown-CAYG7Y-O.js +0 -1
  167. package/dist/designer/assets/SvGridDropdown-Crwb2P3Q.css +0 -1
  168. package/dist/designer/assets/SvListBox-CVYQcLX9.js +0 -1
  169. package/dist/designer/assets/SvListBox-DgN8kvjt.css +0 -1
  170. package/dist/designer/assets/chart-DHEgt4lN.js +0 -1
  171. package/dist/designer/assets/date-format-Dzy4mTGh.css +0 -1
  172. package/dist/designer/assets/export-format-DwjuTfrQ.js +0 -6
  173. package/dist/designer/assets/index-Cp7fDJ3b.css +0 -1
  174. package/dist/designer/assets/js-scroller.svelte-Bhxqb3-c.js +0 -110
  175. package/dist/designer/assets/src-7qOYsBug.js +0 -2896
  176. package/dist/designer/assets/src-B7DNcoQK.css +0 -1
  177. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/_svelte_metadata.json +0 -1
  178. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/_metadata.json +0 -178
  179. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js +0 -3875
  180. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/attachments-BOv1rBKp.js.map +0 -1
  181. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js +0 -21
  182. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/constants-B9vgIdCd.js.map +0 -1
  183. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js +0 -1938
  184. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/dev-T1qbW_qD.js.map +0 -1
  185. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js +0 -205
  186. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/events-Bo11SfVK.js.map +0 -1
  187. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js +0 -18
  188. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/flags-X7D4vfrZ.js.map +0 -1
  189. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js +0 -264
  190. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/hydration-oyUje5i1.js.map +0 -1
  191. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js +0 -697
  192. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/legacy-client-DeSQgSFm.js.map +0 -1
  193. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/package.json +0 -3
  194. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js +0 -134
  195. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte.js.map +0 -1
  196. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js +0 -55
  197. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_animate.js.map +0 -1
  198. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_attachments.js +0 -2
  199. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js +0 -46843
  200. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_compiler.js.map +0 -1
  201. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js +0 -237
  202. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_easing.js.map +0 -1
  203. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_events.js +0 -2
  204. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js +0 -4
  205. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal.js.map +0 -1
  206. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_client.js +0 -7
  207. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js +0 -4
  208. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_disclose-version.js.map +0 -1
  209. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js +0 -5
  210. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_async.js.map +0 -1
  211. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js +0 -5
  212. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_legacy.js.map +0 -1
  213. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js +0 -5
  214. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_flags_tracing.js.map +0 -1
  215. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_internal_server.js +0 -6
  216. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js +0 -83
  217. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_legacy.js.map +0 -1
  218. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js +0 -559
  219. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_motion.js.map +0 -1
  220. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js +0 -24
  221. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity.js.map +0 -1
  222. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js +0 -122
  223. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_reactivity_window.js.map +0 -1
  224. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_server.js +0 -2
  225. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js +0 -89
  226. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_store.js.map +0 -1
  227. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js +0 -241
  228. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/svelte_transition.js.map +0 -1
  229. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js +0 -4938
  230. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-BbWyXNk1.js.map +0 -1
  231. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js +0 -495
  232. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/utils-DI_fC7vt.js.map +0 -1
  233. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js +0 -190
  234. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/validate-Dyr3lQv9.js.map +0 -1
  235. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js +0 -8
  236. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/version-_9FHH-LF.js.map +0 -1
  237. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js +0 -138
  238. package/dist/studio/node_modules/.vite/vitest/be65d27ae088a0e03fd8e1331d90b01649464cb6/deps___vitest__/warnings-CUbSPnyP.js.map +0 -1
@@ -12,11 +12,11 @@
12
12
  * - Wave C: non-working-time collapse + continuous zoom
13
13
  */
14
14
  import type { SchedulerConfig, SchedulerResource, TableFeatures, RowData } from '@svgrid/grid';
15
- import type { SchedulerDependency } from './scheduler-dependencies';
16
- import type { SchedulerAssignment } from './scheduler-assignments';
17
- import type { ColumnReducer } from './scheduler-summary';
18
- import type { ZoomLevel } from './scheduler-axis';
19
- import type { SchedulerResourceGroup } from './scheduler-resource-tree';
15
+ import type { SchedulerDependency } from './scheduler-dependencies.js';
16
+ import type { SchedulerAssignment } from './scheduler-assignments.js';
17
+ import type { ColumnReducer } from './scheduler-summary.js';
18
+ import type { ZoomLevel } from './scheduler-axis.js';
19
+ import type { SchedulerResourceGroup } from './scheduler-resource-tree.js';
20
20
  export type SchedulerProConfig<TFeatures extends TableFeatures = TableFeatures, TData extends RowData = RowData> = SchedulerConfig<TFeatures, TData> & {
21
21
  /**
22
22
  * Event dependency links (predecessor -> successor). `from` / `to` are row ids
@@ -5,7 +5,7 @@
5
5
  * Deterministic - the caller supplies all dates. Reuses the interval algebra from
6
6
  * scheduler-slots (`mergeIntervals` / `subtractIntervals`).
7
7
  */
8
- import { type Interval } from './scheduler-slots';
8
+ import { type Interval } from './scheduler-slots.js';
9
9
  export type { Interval };
10
10
  /** Union of a set of busy intervals into a sorted, disjoint list (an alias of the
11
11
  * slots merge, named for the free/busy domain). */
@@ -5,7 +5,7 @@
5
5
  * Deterministic - the caller supplies all dates. Reuses the interval algebra from
6
6
  * scheduler-slots (`mergeIntervals` / `subtractIntervals`).
7
7
  */
8
- import { mergeIntervals, subtractIntervals } from './scheduler-slots';
8
+ import { mergeIntervals, subtractIntervals } from './scheduler-slots.js';
9
9
  const MS_MIN = 60000;
10
10
  /** Union of a set of busy intervals into a sorted, disjoint list (an alias of the
11
11
  * slots merge, named for the free/busy domain). */
package/dist/scheduler.js CHANGED
@@ -16,8 +16,8 @@
16
16
  * ```
17
17
  */
18
18
  import { registerSchedulerView } from '@svgrid/grid';
19
- import { isLicenseKeySet } from './license';
20
- import { emitUnlicensedNudge } from './watermark';
19
+ import { isLicenseKeySet } from './license.js';
20
+ import { emitUnlicensedNudge } from './watermark.js';
21
21
  import SvGridScheduler from './SvGridScheduler.svelte';
22
22
  let enabled = false;
23
23
  /**
@@ -7,7 +7,7 @@
7
7
  * Pure (no Svelte, no DOM), mirroring the pivot-designer / edit-panel split.
8
8
  * Every mutation returns a NEW schema so Svelte reactivity and undo stay simple.
9
9
  */
10
- import type { EntityField, EntityFieldType, EntitySchema } from './schema';
10
+ import type { EntityField, EntityFieldType, EntitySchema } from './schema.js';
11
11
  /** All field types the designer offers, in menu order. */
12
12
  export declare const FIELD_TYPES: ReadonlyArray<EntityFieldType>;
13
13
  /** A fresh field with a name unique within the schema. */
@@ -1,5 +1,5 @@
1
- import { resolveIdField } from './schema';
2
- import { generateRows } from './studio/sample-data';
1
+ import { resolveIdField } from './schema.js';
2
+ import { generateRows } from './studio/sample-data.js';
3
3
  /** All field types the designer offers, in menu order. */
4
4
  export const FIELD_TYPES = [
5
5
  'text',
@@ -22,8 +22,8 @@
22
22
  * ```
23
23
  */
24
24
  import { registerSelectionBarView } from '@svgrid/grid';
25
- import { isLicenseKeySet } from './license';
26
- import { emitUnlicensedNudge } from './watermark';
25
+ import { isLicenseKeySet } from './license.js';
26
+ import { emitUnlicensedNudge } from './watermark.js';
27
27
  import SvGridSelectionBar from './SvGridSelectionBar.svelte';
28
28
  let enabled = false;
29
29
  /**
@@ -6,7 +6,7 @@
6
6
  * consumes either.
7
7
  */
8
8
  import type { RowData, ServerFilterModel } from '@svgrid/grid';
9
- import type { EntitySchema } from '../schema';
9
+ import type { EntitySchema } from '../schema.js';
10
10
  export type AggregateReduce = 'sum' | 'avg' | 'count' | 'min' | 'max';
11
11
  export type AggregateRequest = {
12
12
  /**
@@ -9,7 +9,7 @@
9
9
  * await auth.signIn(email, password)
10
10
  * // ... auth.signOut(); auth.dispose() on unmount
11
11
  */
12
- import { nudgeEnterprise } from '../license';
12
+ import { nudgeEnterprise } from '../license.js';
13
13
  const userOf = (session) => session?.user ? { id: session.user.id, email: session.user.email } : null;
14
14
  export function createSupabaseAuth(config) {
15
15
  nudgeEnterprise('Studio'); // soft-gate; never blocks
@@ -7,8 +7,8 @@
7
7
  * / `getAggregate` seam), so nothing here re-implements aggregation.
8
8
  */
9
9
  import type { RowData } from '@svgrid/grid';
10
- import type { EntitySchema } from '../schema';
11
- import { type AggregateReduce } from './aggregate';
10
+ import type { EntitySchema } from '../schema.js';
11
+ import { type AggregateReduce } from './aggregate.js';
12
12
  import type { ChartType } from '@svgrid/grid';
13
13
  /** A single-number tile: reduce `measure` over the rows (count ignores measure). */
14
14
  export type KpiWidget = {
@@ -1,4 +1,4 @@
1
- import { chartFieldsFromSchema } from './aggregate';
1
+ import { chartFieldsFromSchema } from './aggregate.js';
2
2
  const num = (v) => {
3
3
  const n = Number(v);
4
4
  return Number.isFinite(n) ? n : 0;
@@ -3,16 +3,16 @@
3
3
  * `ServerDataSource` over a specific backend, so the grid, edit form, sorting,
4
4
  * filtering, and paging work identically regardless of where the data lives.
5
5
  */
6
- export { normalizeFilters, type NormalizedFilter, type NormalizedPredicate } from './filters';
7
- export { buildEntitySchema, pickLabelField, linkRelationLabels, type IntrospectedColumn, type ColumnReference, } from './schema-from-columns';
8
- export { createSupabaseDataSource, type SupabaseDataSourceConfig, type SupabaseClientLike } from './supabase';
9
- export { createRestDataSource, type RestDataSourceConfig } from './rest';
10
- export { offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, type RestAdapter, type OffsetLimitOptions, } from './rest-adapters';
11
- export { introspectSupabaseTable, listSupabaseTables, type IntrospectSupabaseOptions } from './introspect-supabase';
12
- export { createSupabaseRealtime, type SupabaseRealtimeConfig, type SupabaseRealtimeClientLike, type SupabaseRealtimeHandle, type RealtimeChannelLike, type RealtimeChange, } from './realtime-supabase';
13
- export { createRelationLookup, type RelationLookup, type RelationLookupConfig, type RelationOption, } from './relation-lookup';
14
- export { createSupabaseAuth, type SupabaseAuthConfig, type SupabaseAuthController, type SupabaseAuthClientLike, type AuthState, type AuthUser, } from './auth-supabase';
15
- export { aggregateRows, chartFieldsFromSchema, type AggregateReduce, type AggregateRequest, type AggregateBucket, type AggregateSource, } from './aggregate';
16
- export { withEntityRules } from './with-entity-rules';
17
- export { withRelationLabels, type RelationLabelConfig } from './with-relation-labels';
18
- export { reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, type DashboardSpec, type DashboardWidget, type KpiWidget, type ChartWidget, } from './dashboard';
6
+ export { normalizeFilters, type NormalizedFilter, type NormalizedPredicate } from './filters.js';
7
+ export { buildEntitySchema, pickLabelField, linkRelationLabels, type IntrospectedColumn, type ColumnReference, } from './schema-from-columns.js';
8
+ export { createSupabaseDataSource, type SupabaseDataSourceConfig, type SupabaseClientLike } from './supabase.js';
9
+ export { createRestDataSource, type RestDataSourceConfig } from './rest.js';
10
+ export { offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, type RestAdapter, type OffsetLimitOptions, } from './rest-adapters.js';
11
+ export { introspectSupabaseTable, listSupabaseTables, type IntrospectSupabaseOptions } from './introspect-supabase.js';
12
+ export { createSupabaseRealtime, type SupabaseRealtimeConfig, type SupabaseRealtimeClientLike, type SupabaseRealtimeHandle, type RealtimeChannelLike, type RealtimeChange, } from './realtime-supabase.js';
13
+ export { createRelationLookup, type RelationLookup, type RelationLookupConfig, type RelationOption, } from './relation-lookup.js';
14
+ export { createSupabaseAuth, type SupabaseAuthConfig, type SupabaseAuthController, type SupabaseAuthClientLike, type AuthState, type AuthUser, } from './auth-supabase.js';
15
+ export { aggregateRows, chartFieldsFromSchema, type AggregateReduce, type AggregateRequest, type AggregateBucket, type AggregateSource, } from './aggregate.js';
16
+ export { withEntityRules } from './with-entity-rules.js';
17
+ export { withRelationLabels, type RelationLabelConfig } from './with-relation-labels.js';
18
+ export { reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, type DashboardSpec, type DashboardWidget, type KpiWidget, type ChartWidget, } from './dashboard.js';
@@ -3,16 +3,16 @@
3
3
  * `ServerDataSource` over a specific backend, so the grid, edit form, sorting,
4
4
  * filtering, and paging work identically regardless of where the data lives.
5
5
  */
6
- export { normalizeFilters } from './filters';
7
- export { buildEntitySchema, pickLabelField, linkRelationLabels, } from './schema-from-columns';
8
- export { createSupabaseDataSource } from './supabase';
9
- export { createRestDataSource } from './rest';
10
- export { offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, } from './rest-adapters';
11
- export { introspectSupabaseTable, listSupabaseTables } from './introspect-supabase';
12
- export { createSupabaseRealtime, } from './realtime-supabase';
13
- export { createRelationLookup, } from './relation-lookup';
14
- export { createSupabaseAuth, } from './auth-supabase';
15
- export { aggregateRows, chartFieldsFromSchema, } from './aggregate';
16
- export { withEntityRules } from './with-entity-rules';
17
- export { withRelationLabels } from './with-relation-labels';
18
- export { reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, } from './dashboard';
6
+ export { normalizeFilters } from './filters.js';
7
+ export { buildEntitySchema, pickLabelField, linkRelationLabels, } from './schema-from-columns.js';
8
+ export { createSupabaseDataSource } from './supabase.js';
9
+ export { createRestDataSource } from './rest.js';
10
+ export { offsetLimitAdapter, dummyJsonAdapter, jsonServerAdapter, } from './rest-adapters.js';
11
+ export { introspectSupabaseTable, listSupabaseTables } from './introspect-supabase.js';
12
+ export { createSupabaseRealtime, } from './realtime-supabase.js';
13
+ export { createRelationLookup, } from './relation-lookup.js';
14
+ export { createSupabaseAuth, } from './auth-supabase.js';
15
+ export { aggregateRows, chartFieldsFromSchema, } from './aggregate.js';
16
+ export { withEntityRules } from './with-entity-rules.js';
17
+ export { withRelationLabels } from './with-relation-labels.js';
18
+ export { reduceValue, kpiSeries, sparklinePoints, seriesDelta, formatKpiValue, dashboardFromSchema, } from './dashboard.js';
@@ -17,7 +17,7 @@
17
17
  * coalesce bursts into a single refetch. For per-row effects (e.g. flashing a
18
18
  * changed row) read the normalized event passed to `onChange`.
19
19
  */
20
- import { nudgeEnterprise } from '../license';
20
+ import { nudgeEnterprise } from '../license.js';
21
21
  export function createSupabaseRealtime(config) {
22
22
  nudgeEnterprise('Studio'); // soft-gate; never blocks
23
23
  const schema = config.schema ?? 'public';
@@ -17,7 +17,7 @@
17
17
  * `companyId` relation field renders a searchable picker instead of a raw input.
18
18
  */
19
19
  import type { RowData, ServerDataSource } from '@svgrid/grid';
20
- import { type EntitySchema } from '../schema';
20
+ import { type EntitySchema } from '../schema.js';
21
21
  export type RelationOption = {
22
22
  value: string;
23
23
  label: string;
@@ -1,4 +1,4 @@
1
- import { resolveIdField } from '../schema';
1
+ import { resolveIdField } from '../schema.js';
2
2
  export function createRelationLookup(config) {
3
3
  const pageSize = config.pageSize ?? 20;
4
4
  const valueField = config.valueField ?? (config.schema ? resolveIdField(config.schema) : 'id');
@@ -12,7 +12,7 @@
12
12
  * `jsonServerAdapter` are ready-made presets for two very common shapes.
13
13
  */
14
14
  import type { RowData } from '@svgrid/grid';
15
- import type { RestDataSourceConfig } from './rest';
15
+ import type { RestDataSourceConfig } from './rest.js';
16
16
  /** The parts of a REST config that describe a backend's wire format. */
17
17
  export type RestAdapter<TData extends RowData> = Required<Pick<RestDataSourceConfig<TData>, 'buildQuery' | 'parse'>>;
18
18
  export type OffsetLimitOptions = {
@@ -1,4 +1,4 @@
1
- import { normalizeFilters } from './filters';
1
+ import { normalizeFilters } from './filters.js';
2
2
  const pick = (body, keys) => {
3
3
  const b = (body ?? {});
4
4
  for (const k of keys)
@@ -15,8 +15,8 @@
15
15
  * where `sort` is a comma list with `-` for descending (e.g. `-createdAt,name`).
16
16
  */
17
17
  import type { RowData, ServerRequest, ServerResult } from '@svgrid/grid';
18
- import { type EntitySchema } from '../schema';
19
- import type { WritableDataSource } from '../sveltekit/types';
18
+ import { type EntitySchema } from '../schema.js';
19
+ import type { WritableDataSource } from '../sveltekit/types.js';
20
20
  export type RestDataSourceConfig<TData extends RowData> = {
21
21
  /** Collection endpoint, e.g. `/api/customers`. */
22
22
  url: string;
@@ -1,6 +1,6 @@
1
- import { resolveIdField } from '../schema';
2
- import { nudgeEnterprise } from '../license';
3
- import { normalizeFilters } from './filters';
1
+ import { resolveIdField } from '../schema.js';
2
+ import { nudgeEnterprise } from '../license.js';
3
+ import { normalizeFilters } from './filters.js';
4
4
  const encodePredicate = (p) => {
5
5
  if (p.op === 'in')
6
6
  return `in:${p.values.join(',')}`;
@@ -13,8 +13,8 @@
13
13
  * stripped from inserts (it's database-generated).
14
14
  */
15
15
  import type { RowData } from '@svgrid/grid';
16
- import { type EntitySchema } from '../schema';
17
- import type { WritableDataSource } from '../sveltekit/types';
16
+ import { type EntitySchema } from '../schema.js';
17
+ import type { WritableDataSource } from '../sveltekit/types.js';
18
18
  /** The slice of a `supabase-js` client this adapter needs. */
19
19
  export type SupabaseClientLike = {
20
20
  from(table: string): any;
@@ -1,6 +1,6 @@
1
- import { resolveIdField } from '../schema';
2
- import { nudgeEnterprise } from '../license';
3
- import { normalizeFilters } from './filters';
1
+ import { resolveIdField } from '../schema.js';
2
+ import { nudgeEnterprise } from '../license.js';
3
+ import { normalizeFilters } from './filters.js';
4
4
  const sanitize = (term) => term.replace(/[%,()]/g, '');
5
5
  export function createSupabaseDataSource(config) {
6
6
  nudgeEnterprise('Studio'); // soft-gate; never blocks
@@ -21,5 +21,5 @@
21
21
  * correct (a source must return the same row shape from all methods).
22
22
  */
23
23
  import type { RowData, ServerDataSource } from '@svgrid/grid';
24
- import { type EntitySchema } from '../schema';
24
+ import { type EntitySchema } from '../schema.js';
25
25
  export declare function withEntityRules<TData extends RowData, S extends ServerDataSource<TData>>(source: S, schema: EntitySchema<TData>): S;
@@ -1,4 +1,4 @@
1
- import { applyComputed, validateEntity } from '../schema';
1
+ import { applyComputed, validateEntity } from '../schema.js';
2
2
  function firstError(errors) {
3
3
  return Object.values(errors)[0] ?? 'Validation failed';
4
4
  }
@@ -14,7 +14,7 @@
14
14
  * correct.
15
15
  */
16
16
  import type { RowData, ServerDataSource } from '@svgrid/grid';
17
- import type { RelationLookup } from './relation-lookup';
17
+ import type { RelationLookup } from './relation-lookup.js';
18
18
  export type RelationLabelConfig = {
19
19
  /** Local foreign-key field to resolve. */
20
20
  fk: string;