@algorisys/zen-ui-react 0.0.0-stage → 13.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1783) hide show
  1. package/AGENTS.md +301 -0
  2. package/COMMERCIAL.md +73 -0
  3. package/LICENSE +79 -0
  4. package/README.md +45 -2
  5. package/dist/_core/aggregate.d.ts +35 -0
  6. package/dist/_core/analytic-chart-echarts.d.ts +47 -0
  7. package/dist/_core/analytic-chart.d.ts +250 -0
  8. package/dist/_core/andon.d.ts +31 -0
  9. package/dist/_core/barcode.d.ts +91 -0
  10. package/dist/_core/capacity.d.ts +45 -0
  11. package/dist/_core/chart.d.ts +88 -0
  12. package/dist/_core/chunk-upload.d.ts +55 -0
  13. package/dist/_core/cn.d.ts +2 -0
  14. package/dist/_core/color.d.ts +50 -0
  15. package/dist/_core/column-filter.d.ts +50 -0
  16. package/dist/_core/column-mapper.d.ts +40 -0
  17. package/dist/_core/columns.d.ts +158 -0
  18. package/dist/_core/countdown.d.ts +57 -0
  19. package/dist/_core/critical-path.d.ts +80 -0
  20. package/dist/_core/date-input.d.ts +36 -0
  21. package/dist/_core/date-range.d.ts +113 -0
  22. package/dist/_core/density.d.ts +27 -0
  23. package/dist/_core/diff.d.ts +74 -0
  24. package/dist/_core/direction.d.ts +66 -0
  25. package/dist/_core/document.d.ts +58 -0
  26. package/dist/_core/export-request.d.ts +131 -0
  27. package/dist/_core/filter.d.ts +114 -0
  28. package/dist/_core/flexible-column-layout.d.ts +56 -0
  29. package/dist/_core/gantt.d.ts +866 -0
  30. package/dist/_core/genealogy.d.ts +36 -0
  31. package/dist/_core/grid-range.d.ts +60 -0
  32. package/dist/_core/icons.d.ts +88 -0
  33. package/dist/_core/index.d.ts +46 -0
  34. package/dist/_core/keys.d.ts +62 -0
  35. package/dist/_core/line-eta.d.ts +30 -0
  36. package/dist/_core/live.d.ts +11 -0
  37. package/dist/_core/lookup.d.ts +43 -0
  38. package/dist/_core/machine-state.d.ts +48 -0
  39. package/dist/_core/mask.d.ts +67 -0
  40. package/dist/_core/measurement.d.ts +41 -0
  41. package/dist/_core/media.d.ts +100 -0
  42. package/dist/_core/messages.d.ts +970 -0
  43. package/dist/_core/number-format.d.ts +86 -0
  44. package/dist/_core/oee.d.ts +61 -0
  45. package/dist/_core/pivot.d.ts +154 -0
  46. package/dist/_core/planned-vs-actual.d.ts +46 -0
  47. package/dist/_core/planning.d.ts +140 -0
  48. package/dist/_core/production-progress.d.ts +33 -0
  49. package/dist/_core/production.d.ts +404 -0
  50. package/dist/_core/rate-bars.d.ts +39 -0
  51. package/dist/_core/reason-codes.d.ts +27 -0
  52. package/dist/_core/release-notes.d.ts +68 -0
  53. package/dist/_core/reschedule.d.ts +131 -0
  54. package/dist/_core/routing.d.ts +41 -0
  55. package/dist/_core/row-keys.d.ts +39 -0
  56. package/dist/_core/scan.d.ts +39 -0
  57. package/dist/_core/shifts.d.ts +51 -0
  58. package/dist/_core/sidebar.d.ts +26 -0
  59. package/dist/_core/sortable.d.ts +118 -0
  60. package/dist/_core/splitter.d.ts +91 -0
  61. package/dist/_core/spreadsheet.d.ts +66 -0
  62. package/dist/_core/state-timeline.d.ts +106 -0
  63. package/dist/_core/status-bar.d.ts +28 -0
  64. package/dist/_core/step-runner.d.ts +63 -0
  65. package/dist/_core/theme.d.ts +27 -0
  66. package/dist/_core/tree-select.d.ts +60 -0
  67. package/dist/_core/uno-preset.d.ts +194 -0
  68. package/dist/_core/variants.d.ts +111 -0
  69. package/dist/_core/views.d.ts +54 -0
  70. package/dist/_core/virtual-window.d.ts +53 -0
  71. package/dist/components/NavTag.d.ts +12 -0
  72. package/dist/components/NavTag.d.ts.map +1 -0
  73. package/dist/components/ReleaseNotes.d.ts +3 -0
  74. package/dist/components/ReleaseNotes.d.ts.map +1 -0
  75. package/dist/components/Welcome.d.ts +3 -0
  76. package/dist/components/Welcome.d.ts.map +1 -0
  77. package/dist/components/accordion/accordion.d.ts +34 -0
  78. package/dist/components/accordion/accordion.d.ts.map +1 -0
  79. package/dist/components/alert/alert.d.ts +47 -0
  80. package/dist/components/alert/alert.d.ts.map +1 -0
  81. package/dist/components/analytic-chart/analytic-chart.d.ts +56 -0
  82. package/dist/components/analytic-chart/analytic-chart.d.ts.map +1 -0
  83. package/dist/components/andon/andon.d.ts +84 -0
  84. package/dist/components/andon/andon.d.ts.map +1 -0
  85. package/dist/components/avatar/avatar.d.ts +32 -0
  86. package/dist/components/avatar/avatar.d.ts.map +1 -0
  87. package/dist/components/badge/badge.d.ts +14 -0
  88. package/dist/components/badge/badge.d.ts.map +1 -0
  89. package/dist/components/banner/banner.d.ts +45 -0
  90. package/dist/components/banner/banner.d.ts.map +1 -0
  91. package/dist/components/barcode/barcode.d.ts +53 -0
  92. package/dist/components/barcode/barcode.d.ts.map +1 -0
  93. package/dist/components/breadcrumb/breadcrumb.d.ts +36 -0
  94. package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
  95. package/dist/components/button/button-family.d.ts +48 -0
  96. package/dist/components/button/button-family.d.ts.map +1 -0
  97. package/dist/components/button/button.d.ts +31 -0
  98. package/dist/components/button/button.d.ts.map +1 -0
  99. package/dist/components/camera/camera.d.ts +23 -0
  100. package/dist/components/camera/camera.d.ts.map +1 -0
  101. package/dist/components/capacity-heatmap/capacity-heatmap.d.ts +68 -0
  102. package/dist/components/capacity-heatmap/capacity-heatmap.d.ts.map +1 -0
  103. package/dist/components/card/card.d.ts +37 -0
  104. package/dist/components/card/card.d.ts.map +1 -0
  105. package/dist/components/card/card.selectable.d.ts +41 -0
  106. package/dist/components/card/card.selectable.d.ts.map +1 -0
  107. package/dist/components/carousel/carousel.d.ts +40 -0
  108. package/dist/components/carousel/carousel.d.ts.map +1 -0
  109. package/dist/components/chart/chart.d.ts +58 -0
  110. package/dist/components/chart/chart.d.ts.map +1 -0
  111. package/dist/components/chunk-uploader/chunk-uploader.d.ts +58 -0
  112. package/dist/components/chunk-uploader/chunk-uploader.d.ts.map +1 -0
  113. package/dist/components/code-editor/code-editor.d.ts +98 -0
  114. package/dist/components/code-editor/code-editor.d.ts.map +1 -0
  115. package/dist/components/collapsible/collapsible.d.ts +25 -0
  116. package/dist/components/collapsible/collapsible.d.ts.map +1 -0
  117. package/dist/components/color-picker/color-palette.d.ts +29 -0
  118. package/dist/components/color-picker/color-palette.d.ts.map +1 -0
  119. package/dist/components/color-picker/color-picker.d.ts +37 -0
  120. package/dist/components/color-picker/color-picker.d.ts.map +1 -0
  121. package/dist/components/column-mapper/column-mapper.d.ts +42 -0
  122. package/dist/components/column-mapper/column-mapper.d.ts.map +1 -0
  123. package/dist/components/combobox/combobox.d.ts +118 -0
  124. package/dist/components/combobox/combobox.d.ts.map +1 -0
  125. package/dist/components/combobox/command.d.ts +100 -0
  126. package/dist/components/combobox/command.d.ts.map +1 -0
  127. package/dist/components/combobox/multi-combobox.d.ts +71 -0
  128. package/dist/components/combobox/multi-combobox.d.ts.map +1 -0
  129. package/dist/components/context-menu/context-menu.d.ts +54 -0
  130. package/dist/components/context-menu/context-menu.d.ts.map +1 -0
  131. package/dist/components/countdown/countdown.d.ts +63 -0
  132. package/dist/components/countdown/countdown.d.ts.map +1 -0
  133. package/dist/components/data-table/body-table.d.ts +66 -0
  134. package/dist/components/data-table/body-table.d.ts.map +1 -0
  135. package/dist/components/data-table/data-table.d.ts +475 -0
  136. package/dist/components/data-table/data-table.d.ts.map +1 -0
  137. package/dist/components/data-table/edit-cell.d.ts +84 -0
  138. package/dist/components/data-table/edit-cell.d.ts.map +1 -0
  139. package/dist/components/data-table/filters.d.ts +77 -0
  140. package/dist/components/data-table/filters.d.ts.map +1 -0
  141. package/dist/components/data-table/table.d.ts +33 -0
  142. package/dist/components/data-table/table.d.ts.map +1 -0
  143. package/dist/components/demo-helpers.d.ts +21 -0
  144. package/dist/components/demo-helpers.d.ts.map +1 -0
  145. package/dist/components/diagram-canvas/diagram-canvas.d.ts +87 -0
  146. package/dist/components/diagram-canvas/diagram-canvas.d.ts.map +1 -0
  147. package/dist/components/dialog/alert-dialog.d.ts +47 -0
  148. package/dist/components/dialog/alert-dialog.d.ts.map +1 -0
  149. package/dist/components/dialog/dialog.d.ts +59 -0
  150. package/dist/components/dialog/dialog.d.ts.map +1 -0
  151. package/dist/components/diff-view/diff-view.d.ts +42 -0
  152. package/dist/components/diff-view/diff-view.d.ts.map +1 -0
  153. package/dist/components/direction/direction.d.ts +37 -0
  154. package/dist/components/direction/direction.d.ts.map +1 -0
  155. package/dist/components/divider/divider.d.ts +13 -0
  156. package/dist/components/divider/divider.d.ts.map +1 -0
  157. package/dist/components/document-tabs/document-tabs.d.ts +76 -0
  158. package/dist/components/document-tabs/document-tabs.d.ts.map +1 -0
  159. package/dist/components/document-viewer/document-viewer.d.ts +67 -0
  160. package/dist/components/document-viewer/document-viewer.d.ts.map +1 -0
  161. package/dist/components/dropdown-menu/dropdown-menu.d.ts +72 -0
  162. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  163. package/dist/components/dropdown-menu/menu-parts.d.ts +20 -0
  164. package/dist/components/dropdown-menu/menu-parts.d.ts.map +1 -0
  165. package/dist/components/dynamic-page/dynamic-page.d.ts +36 -0
  166. package/dist/components/dynamic-page/dynamic-page.d.ts.map +1 -0
  167. package/dist/components/empty-state/empty-state.d.ts +42 -0
  168. package/dist/components/empty-state/empty-state.d.ts.map +1 -0
  169. package/dist/components/fab/fab.d.ts +23 -0
  170. package/dist/components/fab/fab.d.ts.map +1 -0
  171. package/dist/components/file-upload/file-upload.d.ts +53 -0
  172. package/dist/components/file-upload/file-upload.d.ts.map +1 -0
  173. package/dist/components/filter-bar/filter-bar.d.ts +56 -0
  174. package/dist/components/filter-bar/filter-bar.d.ts.map +1 -0
  175. package/dist/components/filter-builder/filter-builder.d.ts +38 -0
  176. package/dist/components/filter-builder/filter-builder.d.ts.map +1 -0
  177. package/dist/components/flexible-column-layout/flexible-column-layout.d.ts +62 -0
  178. package/dist/components/flexible-column-layout/flexible-column-layout.d.ts.map +1 -0
  179. package/dist/components/form/amount-field/amount-field.d.ts +83 -0
  180. package/dist/components/form/amount-field/amount-field.d.ts.map +1 -0
  181. package/dist/components/form/checkbox/checkbox.d.ts +18 -0
  182. package/dist/components/form/checkbox/checkbox.d.ts.map +1 -0
  183. package/dist/components/form/date-picker/date-input.d.ts +50 -0
  184. package/dist/components/form/date-picker/date-input.d.ts.map +1 -0
  185. package/dist/components/form/date-picker/date-picker.d.ts +46 -0
  186. package/dist/components/form/date-picker/date-picker.d.ts.map +1 -0
  187. package/dist/components/form/date-picker/date-range-picker.d.ts +37 -0
  188. package/dist/components/form/date-picker/date-range-picker.d.ts.map +1 -0
  189. package/dist/components/form/date-picker/date-time-picker.d.ts +36 -0
  190. package/dist/components/form/date-picker/date-time-picker.d.ts.map +1 -0
  191. package/dist/components/form/dynamic-date-range/dynamic-date-range.d.ts +40 -0
  192. package/dist/components/form/dynamic-date-range/dynamic-date-range.d.ts.map +1 -0
  193. package/dist/components/form/input/input.constants.d.ts +2 -0
  194. package/dist/components/form/input/input.constants.d.ts.map +1 -0
  195. package/dist/components/form/input/input.d.ts +13 -0
  196. package/dist/components/form/input/input.d.ts.map +1 -0
  197. package/dist/components/form/input/speech-recognition.types.d.ts +46 -0
  198. package/dist/components/form/input/speech-recognition.types.d.ts.map +1 -0
  199. package/dist/components/form/input/textarea.d.ts +10 -0
  200. package/dist/components/form/input/textarea.d.ts.map +1 -0
  201. package/dist/components/form/label/label.d.ts +41 -0
  202. package/dist/components/form/label/label.d.ts.map +1 -0
  203. package/dist/components/form/mask-input/mask-input.d.ts +47 -0
  204. package/dist/components/form/mask-input/mask-input.d.ts.map +1 -0
  205. package/dist/components/form/native-select/native-select.d.ts +42 -0
  206. package/dist/components/form/native-select/native-select.d.ts.map +1 -0
  207. package/dist/components/form/number-field/number-field.d.ts +24 -0
  208. package/dist/components/form/number-field/number-field.d.ts.map +1 -0
  209. package/dist/components/form/otp/otp.d.ts +48 -0
  210. package/dist/components/form/otp/otp.d.ts.map +1 -0
  211. package/dist/components/form/password-input/password-input.d.ts +29 -0
  212. package/dist/components/form/password-input/password-input.d.ts.map +1 -0
  213. package/dist/components/form/phone-input/phone-input.constants.d.ts +3 -0
  214. package/dist/components/form/phone-input/phone-input.constants.d.ts.map +1 -0
  215. package/dist/components/form/phone-input/phone-input.d.ts +36 -0
  216. package/dist/components/form/phone-input/phone-input.d.ts.map +1 -0
  217. package/dist/components/form/radio/radio-group.d.ts +31 -0
  218. package/dist/components/form/radio/radio-group.d.ts.map +1 -0
  219. package/dist/components/form/search/search.d.ts +33 -0
  220. package/dist/components/form/search/search.d.ts.map +1 -0
  221. package/dist/components/form/select/select.d.ts +97 -0
  222. package/dist/components/form/select/select.d.ts.map +1 -0
  223. package/dist/components/form/slider/slider.d.ts +33 -0
  224. package/dist/components/form/slider/slider.d.ts.map +1 -0
  225. package/dist/components/form/switch/switch.d.ts +18 -0
  226. package/dist/components/form/switch/switch.d.ts.map +1 -0
  227. package/dist/components/form/tag-input/tag-input.d.ts +48 -0
  228. package/dist/components/form/tag-input/tag-input.d.ts.map +1 -0
  229. package/dist/components/form/time-picker/time-picker.d.ts +36 -0
  230. package/dist/components/form/time-picker/time-picker.d.ts.map +1 -0
  231. package/dist/components/form-builder/bound-fields.d.ts +79 -0
  232. package/dist/components/form-builder/bound-fields.d.ts.map +1 -0
  233. package/dist/components/form-builder/form.d.ts +56 -0
  234. package/dist/components/form-builder/form.d.ts.map +1 -0
  235. package/dist/components/gantt/gantt.d.ts +271 -0
  236. package/dist/components/gantt/gantt.d.ts.map +1 -0
  237. package/dist/components/gantt/schedule-grid.d.ts +268 -0
  238. package/dist/components/gantt/schedule-grid.d.ts.map +1 -0
  239. package/dist/components/genealogy-graph/genealogy-graph.d.ts +51 -0
  240. package/dist/components/genealogy-graph/genealogy-graph.d.ts.map +1 -0
  241. package/dist/components/icon/icon.d.ts +13 -0
  242. package/dist/components/icon/icon.d.ts.map +1 -0
  243. package/dist/components/line-card/line-card.d.ts +70 -0
  244. package/dist/components/line-card/line-card.d.ts.map +1 -0
  245. package/dist/components/link/link.d.ts +37 -0
  246. package/dist/components/link/link.d.ts.map +1 -0
  247. package/dist/components/listbox/virtualized-items.d.ts +80 -0
  248. package/dist/components/listbox/virtualized-items.d.ts.map +1 -0
  249. package/dist/components/live-indicator/live-indicator.d.ts +37 -0
  250. package/dist/components/live-indicator/live-indicator.d.ts.map +1 -0
  251. package/dist/components/loading/loading.d.ts +24 -0
  252. package/dist/components/loading/loading.d.ts.map +1 -0
  253. package/dist/components/locale/locale.d.ts +36 -0
  254. package/dist/components/locale/locale.d.ts.map +1 -0
  255. package/dist/components/lookup-field/lookup-field.d.ts +84 -0
  256. package/dist/components/lookup-field/lookup-field.d.ts.map +1 -0
  257. package/dist/components/map/map.d.ts +28 -0
  258. package/dist/components/map/map.d.ts.map +1 -0
  259. package/dist/components/measurement-input/measurement-input.d.ts +48 -0
  260. package/dist/components/measurement-input/measurement-input.d.ts.map +1 -0
  261. package/dist/components/media-timeline/media-timeline.d.ts +102 -0
  262. package/dist/components/media-timeline/media-timeline.d.ts.map +1 -0
  263. package/dist/components/message-popover/message-popover.d.ts +63 -0
  264. package/dist/components/message-popover/message-popover.d.ts.map +1 -0
  265. package/dist/components/micro-chart/micro-chart.d.ts +85 -0
  266. package/dist/components/micro-chart/micro-chart.d.ts.map +1 -0
  267. package/dist/components/notifications-inbox/notifications-inbox.d.ts +66 -0
  268. package/dist/components/notifications-inbox/notifications-inbox.d.ts.map +1 -0
  269. package/dist/components/object/object.d.ts +82 -0
  270. package/dist/components/object/object.d.ts.map +1 -0
  271. package/dist/components/object-page/object-page.d.ts +87 -0
  272. package/dist/components/object-page/object-page.d.ts.map +1 -0
  273. package/dist/components/oee-gauge/oee-gauge.d.ts +41 -0
  274. package/dist/components/oee-gauge/oee-gauge.d.ts.map +1 -0
  275. package/dist/components/page/page.d.ts +27 -0
  276. package/dist/components/page/page.d.ts.map +1 -0
  277. package/dist/components/page-header/page-header.d.ts +46 -0
  278. package/dist/components/page-header/page-header.d.ts.map +1 -0
  279. package/dist/components/pagination/pagination.d.ts +37 -0
  280. package/dist/components/pagination/pagination.d.ts.map +1 -0
  281. package/dist/components/paper/paper.d.ts +25 -0
  282. package/dist/components/paper/paper.d.ts.map +1 -0
  283. package/dist/components/patterns/list-report-data.d.ts +37 -0
  284. package/dist/components/patterns/list-report-data.d.ts.map +1 -0
  285. package/dist/components/pivot/index.d.ts +18 -0
  286. package/dist/components/pivot/index.d.ts.map +1 -0
  287. package/dist/components/pivot/internal/use-windowed-option-pages.d.ts +40 -0
  288. package/dist/components/pivot/internal/use-windowed-option-pages.d.ts.map +1 -0
  289. package/dist/components/pivot/internal/windowed-virtual-list.d.ts +35 -0
  290. package/dist/components/pivot/internal/windowed-virtual-list.d.ts.map +1 -0
  291. package/dist/components/pivot/pivot-drop-zone.d.ts +22 -0
  292. package/dist/components/pivot/pivot-drop-zone.d.ts.map +1 -0
  293. package/dist/components/pivot/pivot-field-chip.d.ts +38 -0
  294. package/dist/components/pivot/pivot-field-chip.d.ts.map +1 -0
  295. package/dist/components/pivot/pivot-filter-menu.d.ts +41 -0
  296. package/dist/components/pivot/pivot-filter-menu.d.ts.map +1 -0
  297. package/dist/components/pivot/pivot-grid.d.ts +91 -0
  298. package/dist/components/pivot/pivot-grid.d.ts.map +1 -0
  299. package/dist/components/pivot/pivot-workbench.d.ts +29 -0
  300. package/dist/components/pivot/pivot-workbench.d.ts.map +1 -0
  301. package/dist/components/pivot-demo-data.d.ts +33 -0
  302. package/dist/components/pivot-demo-data.d.ts.map +1 -0
  303. package/dist/components/planned-vs-actual/planned-vs-actual.d.ts +58 -0
  304. package/dist/components/planned-vs-actual/planned-vs-actual.d.ts.map +1 -0
  305. package/dist/components/planning-calendar/planning-calendar.d.ts +83 -0
  306. package/dist/components/planning-calendar/planning-calendar.d.ts.map +1 -0
  307. package/dist/components/popover/popover.d.ts +19 -0
  308. package/dist/components/popover/popover.d.ts.map +1 -0
  309. package/dist/components/proctor/proctor.d.ts +77 -0
  310. package/dist/components/proctor/proctor.d.ts.map +1 -0
  311. package/dist/components/production-progress/production-progress.d.ts +53 -0
  312. package/dist/components/production-progress/production-progress.d.ts.map +1 -0
  313. package/dist/components/production-schedule/production-schedule.d.ts +248 -0
  314. package/dist/components/production-schedule/production-schedule.d.ts.map +1 -0
  315. package/dist/components/progress/progress.d.ts +20 -0
  316. package/dist/components/progress/progress.d.ts.map +1 -0
  317. package/dist/components/qr-scanner/qr-scanner.d.ts +80 -0
  318. package/dist/components/qr-scanner/qr-scanner.d.ts.map +1 -0
  319. package/dist/components/rate-bars/rate-bars.d.ts +54 -0
  320. package/dist/components/rate-bars/rate-bars.d.ts.map +1 -0
  321. package/dist/components/reason-code-picker/reason-code-picker.d.ts +42 -0
  322. package/dist/components/reason-code-picker/reason-code-picker.d.ts.map +1 -0
  323. package/dist/components/rich-text/rich-text.d.ts +56 -0
  324. package/dist/components/rich-text/rich-text.d.ts.map +1 -0
  325. package/dist/components/routing-graph/routing-graph.d.ts +49 -0
  326. package/dist/components/routing-graph/routing-graph.d.ts.map +1 -0
  327. package/dist/components/scan-input/scan-input.d.ts +64 -0
  328. package/dist/components/scan-input/scan-input.d.ts.map +1 -0
  329. package/dist/components/schedule-backlog/schedule-backlog.d.ts +62 -0
  330. package/dist/components/schedule-backlog/schedule-backlog.d.ts.map +1 -0
  331. package/dist/components/scroll-area/scroll-area.d.ts +17 -0
  332. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
  333. package/dist/components/select-dialog/select-dialog.d.ts +56 -0
  334. package/dist/components/select-dialog/select-dialog.d.ts.map +1 -0
  335. package/dist/components/select-list/filter.d.ts +4 -0
  336. package/dist/components/select-list/filter.d.ts.map +1 -0
  337. package/dist/components/select-list/select-list.d.ts +40 -0
  338. package/dist/components/select-list/select-list.d.ts.map +1 -0
  339. package/dist/components/sheet/sheet.d.ts +64 -0
  340. package/dist/components/sheet/sheet.d.ts.map +1 -0
  341. package/dist/components/shellbar/shellbar.d.ts +72 -0
  342. package/dist/components/shellbar/shellbar.d.ts.map +1 -0
  343. package/dist/components/shift-navigator/shift-navigator.d.ts +50 -0
  344. package/dist/components/shift-navigator/shift-navigator.d.ts.map +1 -0
  345. package/dist/components/shortcuts/shortcuts.d.ts +132 -0
  346. package/dist/components/shortcuts/shortcuts.d.ts.map +1 -0
  347. package/dist/components/sidebar/sidebar.d.ts +155 -0
  348. package/dist/components/sidebar/sidebar.d.ts.map +1 -0
  349. package/dist/components/skeleton/skeleton.d.ts +13 -0
  350. package/dist/components/skeleton/skeleton.d.ts.map +1 -0
  351. package/dist/components/skip-to-content/skip-to-content.d.ts +23 -0
  352. package/dist/components/skip-to-content/skip-to-content.d.ts.map +1 -0
  353. package/dist/components/sortable-list/sortable-list.d.ts +72 -0
  354. package/dist/components/sortable-list/sortable-list.d.ts.map +1 -0
  355. package/dist/components/splitter/splitter.d.ts +57 -0
  356. package/dist/components/splitter/splitter.d.ts.map +1 -0
  357. package/dist/components/spreadsheet-grid/spreadsheet-grid.d.ts +67 -0
  358. package/dist/components/spreadsheet-grid/spreadsheet-grid.d.ts.map +1 -0
  359. package/dist/components/stack/stack.d.ts +41 -0
  360. package/dist/components/stack/stack.d.ts.map +1 -0
  361. package/dist/components/stat-card/stat-card.d.ts +77 -0
  362. package/dist/components/stat-card/stat-card.d.ts.map +1 -0
  363. package/dist/components/state-pill/state-pill.d.ts +42 -0
  364. package/dist/components/state-pill/state-pill.d.ts.map +1 -0
  365. package/dist/components/state-timeline/state-timeline.d.ts +67 -0
  366. package/dist/components/state-timeline/state-timeline.d.ts.map +1 -0
  367. package/dist/components/status-bar/status-bar.d.ts +58 -0
  368. package/dist/components/status-bar/status-bar.d.ts.map +1 -0
  369. package/dist/components/step-runner/step-runner.d.ts +61 -0
  370. package/dist/components/step-runner/step-runner.d.ts.map +1 -0
  371. package/dist/components/stepper/stepper.d.ts +111 -0
  372. package/dist/components/stepper/stepper.d.ts.map +1 -0
  373. package/dist/components/survey/likert.d.ts +84 -0
  374. package/dist/components/survey/likert.d.ts.map +1 -0
  375. package/dist/components/survey/nps.d.ts +42 -0
  376. package/dist/components/survey/nps.d.ts.map +1 -0
  377. package/dist/components/survey/rating.d.ts +49 -0
  378. package/dist/components/survey/rating.d.ts.map +1 -0
  379. package/dist/components/svg_components.d.ts +36 -0
  380. package/dist/components/svg_components.d.ts.map +1 -0
  381. package/dist/components/tabs/tabs.d.ts +49 -0
  382. package/dist/components/tabs/tabs.d.ts.map +1 -0
  383. package/dist/components/theme/theme.d.ts +37 -0
  384. package/dist/components/theme/theme.d.ts.map +1 -0
  385. package/dist/components/theme-switcher.d.ts +13 -0
  386. package/dist/components/theme-switcher.d.ts.map +1 -0
  387. package/dist/components/tile/tile.d.ts +62 -0
  388. package/dist/components/tile/tile.d.ts.map +1 -0
  389. package/dist/components/timeline/timeline.d.ts +75 -0
  390. package/dist/components/timeline/timeline.d.ts.map +1 -0
  391. package/dist/components/toast/toast.d.ts +41 -0
  392. package/dist/components/toast/toast.d.ts.map +1 -0
  393. package/dist/components/toast/toaster.d.ts +26 -0
  394. package/dist/components/toast/toaster.d.ts.map +1 -0
  395. package/dist/components/toast/use-toast.d.ts +104 -0
  396. package/dist/components/toast/use-toast.d.ts.map +1 -0
  397. package/dist/components/toolbar/toolbar.d.ts +45 -0
  398. package/dist/components/toolbar/toolbar.d.ts.map +1 -0
  399. package/dist/components/tooltip/tooltip.d.ts +28 -0
  400. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  401. package/dist/components/tree/tree.d.ts +54 -0
  402. package/dist/components/tree/tree.d.ts.map +1 -0
  403. package/dist/components/tree-select/tree-select.d.ts +53 -0
  404. package/dist/components/tree-select/tree-select.d.ts.map +1 -0
  405. package/dist/components/tree-table/tree-table.d.ts +77 -0
  406. package/dist/components/tree-table/tree-table.d.ts.map +1 -0
  407. package/dist/components/upload-collection/upload-collection.d.ts +64 -0
  408. package/dist/components/upload-collection/upload-collection.d.ts.map +1 -0
  409. package/dist/components/url-data-table/url-data-table.d.ts +102 -0
  410. package/dist/components/url-data-table/url-data-table.d.ts.map +1 -0
  411. package/dist/components/value-help/value-help.d.ts +65 -0
  412. package/dist/components/value-help/value-help.d.ts.map +1 -0
  413. package/dist/components/view-manager/view-manager.d.ts +52 -0
  414. package/dist/components/view-manager/view-manager.d.ts.map +1 -0
  415. package/dist/components/view-settings/view-settings-dialog.d.ts +66 -0
  416. package/dist/components/view-settings/view-settings-dialog.d.ts.map +1 -0
  417. package/dist/components/waveform/waveform.d.ts +61 -0
  418. package/dist/components/waveform/waveform.d.ts.map +1 -0
  419. package/dist/index.d.ts +373 -0
  420. package/dist/index.d.ts.map +1 -0
  421. package/dist/index.js +764 -0
  422. package/dist/index.js.map +1 -0
  423. package/dist/index10.js +62 -0
  424. package/dist/index10.js.map +1 -0
  425. package/dist/index100.js +136 -0
  426. package/dist/index100.js.map +1 -0
  427. package/dist/index101.js +253 -0
  428. package/dist/index101.js.map +1 -0
  429. package/dist/index102.js +145 -0
  430. package/dist/index102.js.map +1 -0
  431. package/dist/index103.js +25 -0
  432. package/dist/index103.js.map +1 -0
  433. package/dist/index104.js +124 -0
  434. package/dist/index104.js.map +1 -0
  435. package/dist/index105.js +1794 -0
  436. package/dist/index105.js.map +1 -0
  437. package/dist/index106.js +241 -0
  438. package/dist/index106.js.map +1 -0
  439. package/dist/index107.js +424 -0
  440. package/dist/index107.js.map +1 -0
  441. package/dist/index108.js +198 -0
  442. package/dist/index108.js.map +1 -0
  443. package/dist/index109.js +844 -0
  444. package/dist/index109.js.map +1 -0
  445. package/dist/index11.js +105 -0
  446. package/dist/index11.js.map +1 -0
  447. package/dist/index110.js +582 -0
  448. package/dist/index110.js.map +1 -0
  449. package/dist/index111.js +765 -0
  450. package/dist/index111.js.map +1 -0
  451. package/dist/index112.js +224 -0
  452. package/dist/index112.js.map +1 -0
  453. package/dist/index113.js +142 -0
  454. package/dist/index113.js.map +1 -0
  455. package/dist/index114.js +113 -0
  456. package/dist/index114.js.map +1 -0
  457. package/dist/index115.js +51 -0
  458. package/dist/index115.js.map +1 -0
  459. package/dist/index116.js +46 -0
  460. package/dist/index116.js.map +1 -0
  461. package/dist/index117.js +107 -0
  462. package/dist/index117.js.map +1 -0
  463. package/dist/index118.js +24 -0
  464. package/dist/index118.js.map +1 -0
  465. package/dist/index119.js +205 -0
  466. package/dist/index119.js.map +1 -0
  467. package/dist/index12.js +165 -0
  468. package/dist/index12.js.map +1 -0
  469. package/dist/index120.js +69 -0
  470. package/dist/index120.js.map +1 -0
  471. package/dist/index121.js +122 -0
  472. package/dist/index121.js.map +1 -0
  473. package/dist/index122.js +29 -0
  474. package/dist/index122.js.map +1 -0
  475. package/dist/index123.js +127 -0
  476. package/dist/index123.js.map +1 -0
  477. package/dist/index124.js +20 -0
  478. package/dist/index124.js.map +1 -0
  479. package/dist/index125.js +110 -0
  480. package/dist/index125.js.map +1 -0
  481. package/dist/index126.js +39 -0
  482. package/dist/index126.js.map +1 -0
  483. package/dist/index127.js +76 -0
  484. package/dist/index127.js.map +1 -0
  485. package/dist/index128.js +26 -0
  486. package/dist/index128.js.map +1 -0
  487. package/dist/index129.js +129 -0
  488. package/dist/index129.js.map +1 -0
  489. package/dist/index13.js +107 -0
  490. package/dist/index13.js.map +1 -0
  491. package/dist/index130.js +47 -0
  492. package/dist/index130.js.map +1 -0
  493. package/dist/index131.js +191 -0
  494. package/dist/index131.js.map +1 -0
  495. package/dist/index132.js +34 -0
  496. package/dist/index132.js.map +1 -0
  497. package/dist/index133.js +56 -0
  498. package/dist/index133.js.map +1 -0
  499. package/dist/index134.js +9 -0
  500. package/dist/index134.js.map +1 -0
  501. package/dist/index135.js +89 -0
  502. package/dist/index135.js.map +1 -0
  503. package/dist/index136.js +21 -0
  504. package/dist/index136.js.map +1 -0
  505. package/dist/index137.js +88 -0
  506. package/dist/index137.js.map +1 -0
  507. package/dist/index138.js +82 -0
  508. package/dist/index138.js.map +1 -0
  509. package/dist/index139.js +88 -0
  510. package/dist/index139.js.map +1 -0
  511. package/dist/index14.js +151 -0
  512. package/dist/index14.js.map +1 -0
  513. package/dist/index140.js +33 -0
  514. package/dist/index140.js.map +1 -0
  515. package/dist/index141.js +79 -0
  516. package/dist/index141.js.map +1 -0
  517. package/dist/index142.js +44 -0
  518. package/dist/index142.js.map +1 -0
  519. package/dist/index143.js +86 -0
  520. package/dist/index143.js.map +1 -0
  521. package/dist/index144.js +7 -0
  522. package/dist/index144.js.map +1 -0
  523. package/dist/index145.js +71 -0
  524. package/dist/index145.js.map +1 -0
  525. package/dist/index146.js +40 -0
  526. package/dist/index146.js.map +1 -0
  527. package/dist/index147.js +118 -0
  528. package/dist/index147.js.map +1 -0
  529. package/dist/index148.js +91 -0
  530. package/dist/index148.js.map +1 -0
  531. package/dist/index149.js +108 -0
  532. package/dist/index149.js.map +1 -0
  533. package/dist/index15.js +142 -0
  534. package/dist/index15.js.map +1 -0
  535. package/dist/index150.js +46 -0
  536. package/dist/index150.js.map +1 -0
  537. package/dist/index151.js +198 -0
  538. package/dist/index151.js.map +1 -0
  539. package/dist/index152.js +62 -0
  540. package/dist/index152.js.map +1 -0
  541. package/dist/index153.js +81 -0
  542. package/dist/index153.js.map +1 -0
  543. package/dist/index154.js +162 -0
  544. package/dist/index154.js.map +1 -0
  545. package/dist/index155.js +162 -0
  546. package/dist/index155.js.map +1 -0
  547. package/dist/index156.js +175 -0
  548. package/dist/index156.js.map +1 -0
  549. package/dist/index157.js +125 -0
  550. package/dist/index157.js.map +1 -0
  551. package/dist/index158.js +123 -0
  552. package/dist/index158.js.map +1 -0
  553. package/dist/index159.js +222 -0
  554. package/dist/index159.js.map +1 -0
  555. package/dist/index16.js +121 -0
  556. package/dist/index16.js.map +1 -0
  557. package/dist/index160.js +147 -0
  558. package/dist/index160.js.map +1 -0
  559. package/dist/index161.js +20 -0
  560. package/dist/index161.js.map +1 -0
  561. package/dist/index162.js +146 -0
  562. package/dist/index162.js.map +1 -0
  563. package/dist/index163.js +50 -0
  564. package/dist/index163.js.map +1 -0
  565. package/dist/index164.js +187 -0
  566. package/dist/index164.js.map +1 -0
  567. package/dist/index165.js +35 -0
  568. package/dist/index165.js.map +1 -0
  569. package/dist/index166.js +60 -0
  570. package/dist/index166.js.map +1 -0
  571. package/dist/index167.js +223 -0
  572. package/dist/index167.js.map +1 -0
  573. package/dist/index168.js +48 -0
  574. package/dist/index168.js.map +1 -0
  575. package/dist/index169.js +117 -0
  576. package/dist/index169.js.map +1 -0
  577. package/dist/index17.js +202 -0
  578. package/dist/index17.js.map +1 -0
  579. package/dist/index170.js +51 -0
  580. package/dist/index170.js.map +1 -0
  581. package/dist/index171.js +111 -0
  582. package/dist/index171.js.map +1 -0
  583. package/dist/index172.js +20 -0
  584. package/dist/index172.js.map +1 -0
  585. package/dist/index173.js +100 -0
  586. package/dist/index173.js.map +1 -0
  587. package/dist/index174.js +299 -0
  588. package/dist/index174.js.map +1 -0
  589. package/dist/index175.js +59 -0
  590. package/dist/index175.js.map +1 -0
  591. package/dist/index176.js +168 -0
  592. package/dist/index176.js.map +1 -0
  593. package/dist/index177.js +241 -0
  594. package/dist/index177.js.map +1 -0
  595. package/dist/index178.js +308 -0
  596. package/dist/index178.js.map +1 -0
  597. package/dist/index179.js +287 -0
  598. package/dist/index179.js.map +1 -0
  599. package/dist/index18.js +153 -0
  600. package/dist/index18.js.map +1 -0
  601. package/dist/index180.js +118 -0
  602. package/dist/index180.js.map +1 -0
  603. package/dist/index181.js +103 -0
  604. package/dist/index181.js.map +1 -0
  605. package/dist/index182.js +110 -0
  606. package/dist/index182.js.map +1 -0
  607. package/dist/index183.js +541 -0
  608. package/dist/index183.js.map +1 -0
  609. package/dist/index184.js +160 -0
  610. package/dist/index184.js.map +1 -0
  611. package/dist/index185.js +227 -0
  612. package/dist/index185.js.map +1 -0
  613. package/dist/index186.js +795 -0
  614. package/dist/index186.js.map +1 -0
  615. package/dist/index187.js +62 -0
  616. package/dist/index187.js.map +1 -0
  617. package/dist/index188.js +166 -0
  618. package/dist/index188.js.map +1 -0
  619. package/dist/index189.js +54 -0
  620. package/dist/index189.js.map +1 -0
  621. package/dist/index19.js +121 -0
  622. package/dist/index19.js.map +1 -0
  623. package/dist/index190.js +61 -0
  624. package/dist/index190.js.map +1 -0
  625. package/dist/index191.js +53 -0
  626. package/dist/index191.js.map +1 -0
  627. package/dist/index192.js +135 -0
  628. package/dist/index192.js.map +1 -0
  629. package/dist/index193.js +155 -0
  630. package/dist/index193.js.map +1 -0
  631. package/dist/index194.js +283 -0
  632. package/dist/index194.js.map +1 -0
  633. package/dist/index195.js +205 -0
  634. package/dist/index195.js.map +1 -0
  635. package/dist/index196.js +56 -0
  636. package/dist/index196.js.map +1 -0
  637. package/dist/index197.js +75 -0
  638. package/dist/index197.js.map +1 -0
  639. package/dist/index198.js +206 -0
  640. package/dist/index198.js.map +1 -0
  641. package/dist/index199.js +31 -0
  642. package/dist/index199.js.map +1 -0
  643. package/dist/index20.js +268 -0
  644. package/dist/index20.js.map +1 -0
  645. package/dist/index200.js +36 -0
  646. package/dist/index200.js.map +1 -0
  647. package/dist/index201.js +139 -0
  648. package/dist/index201.js.map +1 -0
  649. package/dist/index202.js +245 -0
  650. package/dist/index202.js.map +1 -0
  651. package/dist/index203.js +11 -0
  652. package/dist/index203.js.map +1 -0
  653. package/dist/index204.js +245 -0
  654. package/dist/index204.js.map +1 -0
  655. package/dist/index205.js +11 -0
  656. package/dist/index205.js.map +1 -0
  657. package/dist/index206.js +82 -0
  658. package/dist/index206.js.map +1 -0
  659. package/dist/index207.js +26 -0
  660. package/dist/index207.js.map +1 -0
  661. package/dist/index208.js +137 -0
  662. package/dist/index208.js.map +1 -0
  663. package/dist/index209.js +371 -0
  664. package/dist/index209.js.map +1 -0
  665. package/dist/index21.js +112 -0
  666. package/dist/index21.js.map +1 -0
  667. package/dist/index210.js +31 -0
  668. package/dist/index210.js.map +1 -0
  669. package/dist/index211.js +82 -0
  670. package/dist/index211.js.map +1 -0
  671. package/dist/index212.js +242 -0
  672. package/dist/index212.js.map +1 -0
  673. package/dist/index213.js +252 -0
  674. package/dist/index213.js.map +1 -0
  675. package/dist/index214.js +376 -0
  676. package/dist/index214.js.map +1 -0
  677. package/dist/index215.js +232 -0
  678. package/dist/index215.js.map +1 -0
  679. package/dist/index216.js +888 -0
  680. package/dist/index216.js.map +1 -0
  681. package/dist/index217.js +525 -0
  682. package/dist/index217.js.map +1 -0
  683. package/dist/index218.js +52 -0
  684. package/dist/index218.js.map +1 -0
  685. package/dist/index219.js +108 -0
  686. package/dist/index219.js.map +1 -0
  687. package/dist/index22.js +101 -0
  688. package/dist/index22.js.map +1 -0
  689. package/dist/index220.js +108 -0
  690. package/dist/index220.js.map +1 -0
  691. package/dist/index221.js +52 -0
  692. package/dist/index221.js.map +1 -0
  693. package/dist/index222.js +44 -0
  694. package/dist/index222.js.map +1 -0
  695. package/dist/index223.js +113 -0
  696. package/dist/index223.js.map +1 -0
  697. package/dist/index224.js +152 -0
  698. package/dist/index224.js.map +1 -0
  699. package/dist/index225.js +8 -0
  700. package/dist/index225.js.map +1 -0
  701. package/dist/index226.js +25 -0
  702. package/dist/index226.js.map +1 -0
  703. package/dist/index227.js +85 -0
  704. package/dist/index227.js.map +1 -0
  705. package/dist/index228.js +533 -0
  706. package/dist/index228.js.map +1 -0
  707. package/dist/index229.js +339 -0
  708. package/dist/index229.js.map +1 -0
  709. package/dist/index23.js +165 -0
  710. package/dist/index23.js.map +1 -0
  711. package/dist/index230.js +227 -0
  712. package/dist/index230.js.map +1 -0
  713. package/dist/index231.js +41 -0
  714. package/dist/index231.js.map +1 -0
  715. package/dist/index232.js +126 -0
  716. package/dist/index232.js.map +1 -0
  717. package/dist/index233.js +245 -0
  718. package/dist/index233.js.map +1 -0
  719. package/dist/index234.js +331 -0
  720. package/dist/index234.js.map +1 -0
  721. package/dist/index235.js +233 -0
  722. package/dist/index235.js.map +1 -0
  723. package/dist/index236.js +101 -0
  724. package/dist/index236.js.map +1 -0
  725. package/dist/index237.js +447 -0
  726. package/dist/index237.js.map +1 -0
  727. package/dist/index238.js +15 -0
  728. package/dist/index238.js.map +1 -0
  729. package/dist/index239.js +1022 -0
  730. package/dist/index239.js.map +1 -0
  731. package/dist/index24.js +248 -0
  732. package/dist/index24.js.map +1 -0
  733. package/dist/index240.js +236 -0
  734. package/dist/index240.js.map +1 -0
  735. package/dist/index241.js +121 -0
  736. package/dist/index241.js.map +1 -0
  737. package/dist/index242.js +164 -0
  738. package/dist/index242.js.map +1 -0
  739. package/dist/index243.js +95 -0
  740. package/dist/index243.js.map +1 -0
  741. package/dist/index244.js +91 -0
  742. package/dist/index244.js.map +1 -0
  743. package/dist/index245.js +2680 -0
  744. package/dist/index245.js.map +1 -0
  745. package/dist/index246.js +483 -0
  746. package/dist/index246.js.map +1 -0
  747. package/dist/index247.js +236 -0
  748. package/dist/index247.js.map +1 -0
  749. package/dist/index248.js +250 -0
  750. package/dist/index248.js.map +1 -0
  751. package/dist/index249.js +62 -0
  752. package/dist/index249.js.map +1 -0
  753. package/dist/index25.js +111 -0
  754. package/dist/index25.js.map +1 -0
  755. package/dist/index250.js +62 -0
  756. package/dist/index250.js.map +1 -0
  757. package/dist/index251.js +30 -0
  758. package/dist/index251.js.map +1 -0
  759. package/dist/index252.js +160 -0
  760. package/dist/index252.js.map +1 -0
  761. package/dist/index253.js +626 -0
  762. package/dist/index253.js.map +1 -0
  763. package/dist/index254.js +1955 -0
  764. package/dist/index254.js.map +1 -0
  765. package/dist/index255.js +107 -0
  766. package/dist/index255.js.map +1 -0
  767. package/dist/index256.js +8 -0
  768. package/dist/index256.js.map +1 -0
  769. package/dist/index257.js +650 -0
  770. package/dist/index257.js.map +1 -0
  771. package/dist/index258.js +155 -0
  772. package/dist/index258.js.map +1 -0
  773. package/dist/index259.js +18807 -0
  774. package/dist/index259.js.map +1 -0
  775. package/dist/index26.js +79 -0
  776. package/dist/index26.js.map +1 -0
  777. package/dist/index260.js +64 -0
  778. package/dist/index260.js.map +1 -0
  779. package/dist/index261.js +34 -0
  780. package/dist/index261.js.map +1 -0
  781. package/dist/index262.js +76 -0
  782. package/dist/index262.js.map +1 -0
  783. package/dist/index263.js +313 -0
  784. package/dist/index263.js.map +1 -0
  785. package/dist/index264.js +24 -0
  786. package/dist/index264.js.map +1 -0
  787. package/dist/index265.js +97 -0
  788. package/dist/index265.js.map +1 -0
  789. package/dist/index266.js +11683 -0
  790. package/dist/index266.js.map +1 -0
  791. package/dist/index267.js +109 -0
  792. package/dist/index267.js.map +1 -0
  793. package/dist/index268.js +71 -0
  794. package/dist/index268.js.map +1 -0
  795. package/dist/index269.js +71 -0
  796. package/dist/index269.js.map +1 -0
  797. package/dist/index27.js +180 -0
  798. package/dist/index27.js.map +1 -0
  799. package/dist/index270.js +30 -0
  800. package/dist/index270.js.map +1 -0
  801. package/dist/index271.js +17 -0
  802. package/dist/index271.js.map +1 -0
  803. package/dist/index272.js +10 -0
  804. package/dist/index272.js.map +1 -0
  805. package/dist/index273.js +57 -0
  806. package/dist/index273.js.map +1 -0
  807. package/dist/index274.js +221 -0
  808. package/dist/index274.js.map +1 -0
  809. package/dist/index275.js +19 -0
  810. package/dist/index275.js.map +1 -0
  811. package/dist/index276.js +139 -0
  812. package/dist/index276.js.map +1 -0
  813. package/dist/index277.js +14 -0
  814. package/dist/index277.js.map +1 -0
  815. package/dist/index278.js +263 -0
  816. package/dist/index278.js.map +1 -0
  817. package/dist/index279.js +16 -0
  818. package/dist/index279.js.map +1 -0
  819. package/dist/index28.js +222 -0
  820. package/dist/index28.js.map +1 -0
  821. package/dist/index280.js +97 -0
  822. package/dist/index280.js.map +1 -0
  823. package/dist/index281.js +37 -0
  824. package/dist/index281.js.map +1 -0
  825. package/dist/index282.js +53 -0
  826. package/dist/index282.js.map +1 -0
  827. package/dist/index283.js +53 -0
  828. package/dist/index283.js.map +1 -0
  829. package/dist/index284.js +12 -0
  830. package/dist/index284.js.map +1 -0
  831. package/dist/index285.js +33 -0
  832. package/dist/index285.js.map +1 -0
  833. package/dist/index286.js +642 -0
  834. package/dist/index286.js.map +1 -0
  835. package/dist/index287.js +11 -0
  836. package/dist/index287.js.map +1 -0
  837. package/dist/index288.js +7 -0
  838. package/dist/index288.js.map +1 -0
  839. package/dist/index289.js +7 -0
  840. package/dist/index289.js.map +1 -0
  841. package/dist/index29.js +65 -0
  842. package/dist/index29.js.map +1 -0
  843. package/dist/index290.js +189 -0
  844. package/dist/index290.js.map +1 -0
  845. package/dist/index291.js +28 -0
  846. package/dist/index291.js.map +1 -0
  847. package/dist/index292.js +9 -0
  848. package/dist/index292.js.map +1 -0
  849. package/dist/index293.js +51 -0
  850. package/dist/index293.js.map +1 -0
  851. package/dist/index294.js +233 -0
  852. package/dist/index294.js.map +1 -0
  853. package/dist/index295.js +25 -0
  854. package/dist/index295.js.map +1 -0
  855. package/dist/index296.js +396 -0
  856. package/dist/index296.js.map +1 -0
  857. package/dist/index297.js +790 -0
  858. package/dist/index297.js.map +1 -0
  859. package/dist/index298.js +25 -0
  860. package/dist/index298.js.map +1 -0
  861. package/dist/index299.js +28 -0
  862. package/dist/index299.js.map +1 -0
  863. package/dist/index30.js +135 -0
  864. package/dist/index30.js.map +1 -0
  865. package/dist/index300.js +32 -0
  866. package/dist/index300.js.map +1 -0
  867. package/dist/index301.js +8 -0
  868. package/dist/index301.js.map +1 -0
  869. package/dist/index302.js +57 -0
  870. package/dist/index302.js.map +1 -0
  871. package/dist/index303.js +103 -0
  872. package/dist/index303.js.map +1 -0
  873. package/dist/index304.js +34 -0
  874. package/dist/index304.js.map +1 -0
  875. package/dist/index305.js +54 -0
  876. package/dist/index305.js.map +1 -0
  877. package/dist/index306.js +18 -0
  878. package/dist/index306.js.map +1 -0
  879. package/dist/index307.js +8 -0
  880. package/dist/index307.js.map +1 -0
  881. package/dist/index308.js +6 -0
  882. package/dist/index308.js.map +1 -0
  883. package/dist/index309.js +27 -0
  884. package/dist/index309.js.map +1 -0
  885. package/dist/index31.js +261 -0
  886. package/dist/index31.js.map +1 -0
  887. package/dist/index310.js +116 -0
  888. package/dist/index310.js.map +1 -0
  889. package/dist/index311.js +19 -0
  890. package/dist/index311.js.map +1 -0
  891. package/dist/index312.js +512 -0
  892. package/dist/index312.js.map +1 -0
  893. package/dist/index313.js +129 -0
  894. package/dist/index313.js.map +1 -0
  895. package/dist/index314.js +137 -0
  896. package/dist/index314.js.map +1 -0
  897. package/dist/index315.js +3016 -0
  898. package/dist/index315.js.map +1 -0
  899. package/dist/index316.js +72 -0
  900. package/dist/index316.js.map +1 -0
  901. package/dist/index317.js +12 -0
  902. package/dist/index317.js.map +1 -0
  903. package/dist/index318.js +17 -0
  904. package/dist/index318.js.map +1 -0
  905. package/dist/index319.js +69 -0
  906. package/dist/index319.js.map +1 -0
  907. package/dist/index32.js +167 -0
  908. package/dist/index32.js.map +1 -0
  909. package/dist/index320.js +68 -0
  910. package/dist/index320.js.map +1 -0
  911. package/dist/index321.js +53 -0
  912. package/dist/index321.js.map +1 -0
  913. package/dist/index322.js +8 -0
  914. package/dist/index322.js.map +1 -0
  915. package/dist/index323.js +16 -0
  916. package/dist/index323.js.map +1 -0
  917. package/dist/index324.js +9 -0
  918. package/dist/index324.js.map +1 -0
  919. package/dist/index325.js +21 -0
  920. package/dist/index325.js.map +1 -0
  921. package/dist/index326.js +8 -0
  922. package/dist/index326.js.map +1 -0
  923. package/dist/index327.js +8 -0
  924. package/dist/index327.js.map +1 -0
  925. package/dist/index328.js +9 -0
  926. package/dist/index328.js.map +1 -0
  927. package/dist/index329.js +9 -0
  928. package/dist/index329.js.map +1 -0
  929. package/dist/index33.js +57 -0
  930. package/dist/index33.js.map +1 -0
  931. package/dist/index330.js +8 -0
  932. package/dist/index330.js.map +1 -0
  933. package/dist/index331.js +8 -0
  934. package/dist/index331.js.map +1 -0
  935. package/dist/index332.js +10 -0
  936. package/dist/index332.js.map +1 -0
  937. package/dist/index333.js +28 -0
  938. package/dist/index333.js.map +1 -0
  939. package/dist/index334.js +8 -0
  940. package/dist/index334.js.map +1 -0
  941. package/dist/index335.js +8 -0
  942. package/dist/index335.js.map +1 -0
  943. package/dist/index336.js +8 -0
  944. package/dist/index336.js.map +1 -0
  945. package/dist/index337.js +9 -0
  946. package/dist/index337.js.map +1 -0
  947. package/dist/index338.js +8 -0
  948. package/dist/index338.js.map +1 -0
  949. package/dist/index339.js +9 -0
  950. package/dist/index339.js.map +1 -0
  951. package/dist/index34.js +68 -0
  952. package/dist/index34.js.map +1 -0
  953. package/dist/index340.js +8 -0
  954. package/dist/index340.js.map +1 -0
  955. package/dist/index341.js +12 -0
  956. package/dist/index341.js.map +1 -0
  957. package/dist/index342.js +9 -0
  958. package/dist/index342.js.map +1 -0
  959. package/dist/index343.js +8 -0
  960. package/dist/index343.js.map +1 -0
  961. package/dist/index344.js +8 -0
  962. package/dist/index344.js.map +1 -0
  963. package/dist/index345.js +10 -0
  964. package/dist/index345.js.map +1 -0
  965. package/dist/index346.js +156 -0
  966. package/dist/index346.js.map +1 -0
  967. package/dist/index347.js +43 -0
  968. package/dist/index347.js.map +1 -0
  969. package/dist/index348.js +8 -0
  970. package/dist/index348.js.map +1 -0
  971. package/dist/index349.js +11 -0
  972. package/dist/index349.js.map +1 -0
  973. package/dist/index35.js +25 -0
  974. package/dist/index35.js.map +1 -0
  975. package/dist/index350.js +17 -0
  976. package/dist/index350.js.map +1 -0
  977. package/dist/index351.js +17 -0
  978. package/dist/index351.js.map +1 -0
  979. package/dist/index352.js +11 -0
  980. package/dist/index352.js.map +1 -0
  981. package/dist/index353.js +35 -0
  982. package/dist/index353.js.map +1 -0
  983. package/dist/index354.js +14 -0
  984. package/dist/index354.js.map +1 -0
  985. package/dist/index355.js +14 -0
  986. package/dist/index355.js.map +1 -0
  987. package/dist/index356.js +12 -0
  988. package/dist/index356.js.map +1 -0
  989. package/dist/index357.js +17 -0
  990. package/dist/index357.js.map +1 -0
  991. package/dist/index358.js +105 -0
  992. package/dist/index358.js.map +1 -0
  993. package/dist/index359.js +23 -0
  994. package/dist/index359.js.map +1 -0
  995. package/dist/index36.js +37 -0
  996. package/dist/index36.js.map +1 -0
  997. package/dist/index360.js +57 -0
  998. package/dist/index360.js.map +1 -0
  999. package/dist/index361.js +76 -0
  1000. package/dist/index361.js.map +1 -0
  1001. package/dist/index362.js +13 -0
  1002. package/dist/index362.js.map +1 -0
  1003. package/dist/index363.js +24 -0
  1004. package/dist/index363.js.map +1 -0
  1005. package/dist/index364.js +20 -0
  1006. package/dist/index364.js.map +1 -0
  1007. package/dist/index365.js +27 -0
  1008. package/dist/index365.js.map +1 -0
  1009. package/dist/index366.js +10 -0
  1010. package/dist/index366.js.map +1 -0
  1011. package/dist/index367.js +9 -0
  1012. package/dist/index367.js.map +1 -0
  1013. package/dist/index368.js +27 -0
  1014. package/dist/index368.js.map +1 -0
  1015. package/dist/index369.js +38 -0
  1016. package/dist/index369.js.map +1 -0
  1017. package/dist/index37.js +82 -0
  1018. package/dist/index37.js.map +1 -0
  1019. package/dist/index370.js +17 -0
  1020. package/dist/index370.js.map +1 -0
  1021. package/dist/index371.js +8 -0
  1022. package/dist/index371.js.map +1 -0
  1023. package/dist/index372.js +8 -0
  1024. package/dist/index372.js.map +1 -0
  1025. package/dist/index373.js +8 -0
  1026. package/dist/index373.js.map +1 -0
  1027. package/dist/index374.js +8 -0
  1028. package/dist/index374.js.map +1 -0
  1029. package/dist/index375.js +8 -0
  1030. package/dist/index375.js.map +1 -0
  1031. package/dist/index376.js +7 -0
  1032. package/dist/index376.js.map +1 -0
  1033. package/dist/index377.js +8 -0
  1034. package/dist/index377.js.map +1 -0
  1035. package/dist/index378.js +25 -0
  1036. package/dist/index378.js.map +1 -0
  1037. package/dist/index379.js +9 -0
  1038. package/dist/index379.js.map +1 -0
  1039. package/dist/index38.js +43 -0
  1040. package/dist/index38.js.map +1 -0
  1041. package/dist/index380.js +8 -0
  1042. package/dist/index380.js.map +1 -0
  1043. package/dist/index381.js +9 -0
  1044. package/dist/index381.js.map +1 -0
  1045. package/dist/index382.js +7 -0
  1046. package/dist/index382.js.map +1 -0
  1047. package/dist/index383.js +7 -0
  1048. package/dist/index383.js.map +1 -0
  1049. package/dist/index384.js +8 -0
  1050. package/dist/index384.js.map +1 -0
  1051. package/dist/index385.js +7 -0
  1052. package/dist/index385.js.map +1 -0
  1053. package/dist/index386.js +8 -0
  1054. package/dist/index386.js.map +1 -0
  1055. package/dist/index387.js +7 -0
  1056. package/dist/index387.js.map +1 -0
  1057. package/dist/index388.js +7 -0
  1058. package/dist/index388.js.map +1 -0
  1059. package/dist/index389.js +7 -0
  1060. package/dist/index389.js.map +1 -0
  1061. package/dist/index39.js +172 -0
  1062. package/dist/index39.js.map +1 -0
  1063. package/dist/index390.js +116 -0
  1064. package/dist/index390.js.map +1 -0
  1065. package/dist/index391.js +132 -0
  1066. package/dist/index391.js.map +1 -0
  1067. package/dist/index392.js +9 -0
  1068. package/dist/index392.js.map +1 -0
  1069. package/dist/index393.js +38 -0
  1070. package/dist/index393.js.map +1 -0
  1071. package/dist/index394.js +13 -0
  1072. package/dist/index394.js.map +1 -0
  1073. package/dist/index395.js +10 -0
  1074. package/dist/index395.js.map +1 -0
  1075. package/dist/index396.js +19 -0
  1076. package/dist/index396.js.map +1 -0
  1077. package/dist/index397.js +20 -0
  1078. package/dist/index397.js.map +1 -0
  1079. package/dist/index398.js +9 -0
  1080. package/dist/index398.js.map +1 -0
  1081. package/dist/index399.js +9 -0
  1082. package/dist/index399.js.map +1 -0
  1083. package/dist/index4.js +29 -0
  1084. package/dist/index4.js.map +1 -0
  1085. package/dist/index40.js +71 -0
  1086. package/dist/index40.js.map +1 -0
  1087. package/dist/index400.js +62 -0
  1088. package/dist/index400.js.map +1 -0
  1089. package/dist/index401.js +91 -0
  1090. package/dist/index401.js.map +1 -0
  1091. package/dist/index402.js +10 -0
  1092. package/dist/index402.js.map +1 -0
  1093. package/dist/index403.js +8 -0
  1094. package/dist/index403.js.map +1 -0
  1095. package/dist/index404.js +10 -0
  1096. package/dist/index404.js.map +1 -0
  1097. package/dist/index405.js +20 -0
  1098. package/dist/index405.js.map +1 -0
  1099. package/dist/index406.js +8 -0
  1100. package/dist/index406.js.map +1 -0
  1101. package/dist/index407.js +8 -0
  1102. package/dist/index407.js.map +1 -0
  1103. package/dist/index408.js +16 -0
  1104. package/dist/index408.js.map +1 -0
  1105. package/dist/index409.js +13 -0
  1106. package/dist/index409.js.map +1 -0
  1107. package/dist/index41.js +402 -0
  1108. package/dist/index41.js.map +1 -0
  1109. package/dist/index410.js +17 -0
  1110. package/dist/index410.js.map +1 -0
  1111. package/dist/index411.js +17 -0
  1112. package/dist/index411.js.map +1 -0
  1113. package/dist/index412.js +8 -0
  1114. package/dist/index412.js.map +1 -0
  1115. package/dist/index413.js +9 -0
  1116. package/dist/index413.js.map +1 -0
  1117. package/dist/index414.js +10 -0
  1118. package/dist/index414.js.map +1 -0
  1119. package/dist/index415.js +9 -0
  1120. package/dist/index415.js.map +1 -0
  1121. package/dist/index416.js +58 -0
  1122. package/dist/index416.js.map +1 -0
  1123. package/dist/index417.js +12 -0
  1124. package/dist/index417.js.map +1 -0
  1125. package/dist/index418.js +8 -0
  1126. package/dist/index418.js.map +1 -0
  1127. package/dist/index419.js +8 -0
  1128. package/dist/index419.js.map +1 -0
  1129. package/dist/index42.js +83 -0
  1130. package/dist/index42.js.map +1 -0
  1131. package/dist/index420.js +12 -0
  1132. package/dist/index420.js.map +1 -0
  1133. package/dist/index421.js +8 -0
  1134. package/dist/index421.js.map +1 -0
  1135. package/dist/index422.js +8 -0
  1136. package/dist/index422.js.map +1 -0
  1137. package/dist/index423.js +7 -0
  1138. package/dist/index423.js.map +1 -0
  1139. package/dist/index424.js +14 -0
  1140. package/dist/index424.js.map +1 -0
  1141. package/dist/index425.js +13 -0
  1142. package/dist/index425.js.map +1 -0
  1143. package/dist/index426.js +13 -0
  1144. package/dist/index426.js.map +1 -0
  1145. package/dist/index427.js +14 -0
  1146. package/dist/index427.js.map +1 -0
  1147. package/dist/index428.js +14 -0
  1148. package/dist/index428.js.map +1 -0
  1149. package/dist/index429.js +13 -0
  1150. package/dist/index429.js.map +1 -0
  1151. package/dist/index43.js +49 -0
  1152. package/dist/index43.js.map +1 -0
  1153. package/dist/index430.js +10 -0
  1154. package/dist/index430.js.map +1 -0
  1155. package/dist/index431.js +9 -0
  1156. package/dist/index431.js.map +1 -0
  1157. package/dist/index432.js +8 -0
  1158. package/dist/index432.js.map +1 -0
  1159. package/dist/index433.js +9 -0
  1160. package/dist/index433.js.map +1 -0
  1161. package/dist/index434.js +10 -0
  1162. package/dist/index434.js.map +1 -0
  1163. package/dist/index435.js +9 -0
  1164. package/dist/index435.js.map +1 -0
  1165. package/dist/index436.js +12 -0
  1166. package/dist/index436.js.map +1 -0
  1167. package/dist/index437.js +23 -0
  1168. package/dist/index437.js.map +1 -0
  1169. package/dist/index438.js +27 -0
  1170. package/dist/index438.js.map +1 -0
  1171. package/dist/index439.js +20 -0
  1172. package/dist/index439.js.map +1 -0
  1173. package/dist/index44.js +232 -0
  1174. package/dist/index44.js.map +1 -0
  1175. package/dist/index440.js +11 -0
  1176. package/dist/index440.js.map +1 -0
  1177. package/dist/index441.js +14 -0
  1178. package/dist/index441.js.map +1 -0
  1179. package/dist/index442.js +14 -0
  1180. package/dist/index442.js.map +1 -0
  1181. package/dist/index443.js +25 -0
  1182. package/dist/index443.js.map +1 -0
  1183. package/dist/index444.js +12 -0
  1184. package/dist/index444.js.map +1 -0
  1185. package/dist/index445.js +13 -0
  1186. package/dist/index445.js.map +1 -0
  1187. package/dist/index446.js +13 -0
  1188. package/dist/index446.js.map +1 -0
  1189. package/dist/index447.js +8 -0
  1190. package/dist/index447.js.map +1 -0
  1191. package/dist/index448.js +9 -0
  1192. package/dist/index448.js.map +1 -0
  1193. package/dist/index449.js +20 -0
  1194. package/dist/index449.js.map +1 -0
  1195. package/dist/index45.js +86 -0
  1196. package/dist/index45.js.map +1 -0
  1197. package/dist/index450.js +13 -0
  1198. package/dist/index450.js.map +1 -0
  1199. package/dist/index451.js +22 -0
  1200. package/dist/index451.js.map +1 -0
  1201. package/dist/index452.js +24 -0
  1202. package/dist/index452.js.map +1 -0
  1203. package/dist/index453.js +16 -0
  1204. package/dist/index453.js.map +1 -0
  1205. package/dist/index454.js +33 -0
  1206. package/dist/index454.js.map +1 -0
  1207. package/dist/index455.js +16 -0
  1208. package/dist/index455.js.map +1 -0
  1209. package/dist/index456.js +29 -0
  1210. package/dist/index456.js.map +1 -0
  1211. package/dist/index457.js +9 -0
  1212. package/dist/index457.js.map +1 -0
  1213. package/dist/index458.js +7 -0
  1214. package/dist/index458.js.map +1 -0
  1215. package/dist/index459.js +26 -0
  1216. package/dist/index459.js.map +1 -0
  1217. package/dist/index46.js +55 -0
  1218. package/dist/index46.js.map +1 -0
  1219. package/dist/index460.js +15 -0
  1220. package/dist/index460.js.map +1 -0
  1221. package/dist/index461.js +7 -0
  1222. package/dist/index461.js.map +1 -0
  1223. package/dist/index462.js +26 -0
  1224. package/dist/index462.js.map +1 -0
  1225. package/dist/index463.js +16 -0
  1226. package/dist/index463.js.map +1 -0
  1227. package/dist/index464.js +31 -0
  1228. package/dist/index464.js.map +1 -0
  1229. package/dist/index465.js +8 -0
  1230. package/dist/index465.js.map +1 -0
  1231. package/dist/index466.js +8 -0
  1232. package/dist/index466.js.map +1 -0
  1233. package/dist/index467.js +21 -0
  1234. package/dist/index467.js.map +1 -0
  1235. package/dist/index468.js +16 -0
  1236. package/dist/index468.js.map +1 -0
  1237. package/dist/index469.js +89 -0
  1238. package/dist/index469.js.map +1 -0
  1239. package/dist/index47.js +44 -0
  1240. package/dist/index47.js.map +1 -0
  1241. package/dist/index470.js +8 -0
  1242. package/dist/index470.js.map +1 -0
  1243. package/dist/index471.js +8 -0
  1244. package/dist/index471.js.map +1 -0
  1245. package/dist/index472.js +7 -0
  1246. package/dist/index472.js.map +1 -0
  1247. package/dist/index473.js +19 -0
  1248. package/dist/index473.js.map +1 -0
  1249. package/dist/index474.js +12 -0
  1250. package/dist/index474.js.map +1 -0
  1251. package/dist/index475.js +9 -0
  1252. package/dist/index475.js.map +1 -0
  1253. package/dist/index476.js +8 -0
  1254. package/dist/index476.js.map +1 -0
  1255. package/dist/index477.js +549 -0
  1256. package/dist/index477.js.map +1 -0
  1257. package/dist/index478.js +50 -0
  1258. package/dist/index478.js.map +1 -0
  1259. package/dist/index479.js +21 -0
  1260. package/dist/index479.js.map +1 -0
  1261. package/dist/index48.js +100 -0
  1262. package/dist/index48.js.map +1 -0
  1263. package/dist/index480.js +9 -0
  1264. package/dist/index480.js.map +1 -0
  1265. package/dist/index481.js +11 -0
  1266. package/dist/index481.js.map +1 -0
  1267. package/dist/index482.js +10 -0
  1268. package/dist/index482.js.map +1 -0
  1269. package/dist/index483.js +11 -0
  1270. package/dist/index483.js.map +1 -0
  1271. package/dist/index484.js +15 -0
  1272. package/dist/index484.js.map +1 -0
  1273. package/dist/index485.js +12 -0
  1274. package/dist/index485.js.map +1 -0
  1275. package/dist/index486.js +16 -0
  1276. package/dist/index486.js.map +1 -0
  1277. package/dist/index487.js +71 -0
  1278. package/dist/index487.js.map +1 -0
  1279. package/dist/index488.js +34 -0
  1280. package/dist/index488.js.map +1 -0
  1281. package/dist/index489.js +12 -0
  1282. package/dist/index489.js.map +1 -0
  1283. package/dist/index49.js +190 -0
  1284. package/dist/index49.js.map +1 -0
  1285. package/dist/index490.js +156 -0
  1286. package/dist/index490.js.map +1 -0
  1287. package/dist/index491.js +111 -0
  1288. package/dist/index491.js.map +1 -0
  1289. package/dist/index492.js +8 -0
  1290. package/dist/index492.js.map +1 -0
  1291. package/dist/index493.js +59 -0
  1292. package/dist/index493.js.map +1 -0
  1293. package/dist/index494.js +19 -0
  1294. package/dist/index494.js.map +1 -0
  1295. package/dist/index495.js +32 -0
  1296. package/dist/index495.js.map +1 -0
  1297. package/dist/index496.js +16 -0
  1298. package/dist/index496.js.map +1 -0
  1299. package/dist/index497.js +10 -0
  1300. package/dist/index497.js.map +1 -0
  1301. package/dist/index5.js +24 -0
  1302. package/dist/index5.js.map +1 -0
  1303. package/dist/index50.js +308 -0
  1304. package/dist/index50.js.map +1 -0
  1305. package/dist/index51.js +22 -0
  1306. package/dist/index51.js.map +1 -0
  1307. package/dist/index52.js +345 -0
  1308. package/dist/index52.js.map +1 -0
  1309. package/dist/index53.js +90 -0
  1310. package/dist/index53.js.map +1 -0
  1311. package/dist/index54.js +236 -0
  1312. package/dist/index54.js.map +1 -0
  1313. package/dist/index55.js +185 -0
  1314. package/dist/index55.js.map +1 -0
  1315. package/dist/index56.js +107 -0
  1316. package/dist/index56.js.map +1 -0
  1317. package/dist/index57.js +270 -0
  1318. package/dist/index57.js.map +1 -0
  1319. package/dist/index58.js +207 -0
  1320. package/dist/index58.js.map +1 -0
  1321. package/dist/index59.js +113 -0
  1322. package/dist/index59.js.map +1 -0
  1323. package/dist/index6.js +11 -0
  1324. package/dist/index6.js.map +1 -0
  1325. package/dist/index60.js +234 -0
  1326. package/dist/index60.js.map +1 -0
  1327. package/dist/index61.js +103 -0
  1328. package/dist/index61.js.map +1 -0
  1329. package/dist/index62.js +146 -0
  1330. package/dist/index62.js.map +1 -0
  1331. package/dist/index63.js +35 -0
  1332. package/dist/index63.js.map +1 -0
  1333. package/dist/index64.js +21 -0
  1334. package/dist/index64.js.map +1 -0
  1335. package/dist/index65.js +25 -0
  1336. package/dist/index65.js.map +1 -0
  1337. package/dist/index66.js +45 -0
  1338. package/dist/index66.js.map +1 -0
  1339. package/dist/index67.js +91 -0
  1340. package/dist/index67.js.map +1 -0
  1341. package/dist/index68.js +18 -0
  1342. package/dist/index68.js.map +1 -0
  1343. package/dist/index69.js +39 -0
  1344. package/dist/index69.js.map +1 -0
  1345. package/dist/index7.js +34 -0
  1346. package/dist/index7.js.map +1 -0
  1347. package/dist/index70.js +149 -0
  1348. package/dist/index70.js.map +1 -0
  1349. package/dist/index71.js +79 -0
  1350. package/dist/index71.js.map +1 -0
  1351. package/dist/index72.js +34 -0
  1352. package/dist/index72.js.map +1 -0
  1353. package/dist/index73.js +122 -0
  1354. package/dist/index73.js.map +1 -0
  1355. package/dist/index74.js +155 -0
  1356. package/dist/index74.js.map +1 -0
  1357. package/dist/index75.js +116 -0
  1358. package/dist/index75.js.map +1 -0
  1359. package/dist/index76.js +42 -0
  1360. package/dist/index76.js.map +1 -0
  1361. package/dist/index77.js +103 -0
  1362. package/dist/index77.js.map +1 -0
  1363. package/dist/index78.js +375 -0
  1364. package/dist/index78.js.map +1 -0
  1365. package/dist/index79.js +130 -0
  1366. package/dist/index79.js.map +1 -0
  1367. package/dist/index8.js +45 -0
  1368. package/dist/index8.js.map +1 -0
  1369. package/dist/index80.js +83 -0
  1370. package/dist/index80.js.map +1 -0
  1371. package/dist/index81.js +167 -0
  1372. package/dist/index81.js.map +1 -0
  1373. package/dist/index82.js +117 -0
  1374. package/dist/index82.js.map +1 -0
  1375. package/dist/index83.js +41 -0
  1376. package/dist/index83.js.map +1 -0
  1377. package/dist/index84.js +117 -0
  1378. package/dist/index84.js.map +1 -0
  1379. package/dist/index85.js +150 -0
  1380. package/dist/index85.js.map +1 -0
  1381. package/dist/index86.js +46 -0
  1382. package/dist/index86.js.map +1 -0
  1383. package/dist/index87.js +19 -0
  1384. package/dist/index87.js.map +1 -0
  1385. package/dist/index88.js +161 -0
  1386. package/dist/index88.js.map +1 -0
  1387. package/dist/index89.js +16 -0
  1388. package/dist/index89.js.map +1 -0
  1389. package/dist/index9.js +79 -0
  1390. package/dist/index9.js.map +1 -0
  1391. package/dist/index90.js +29 -0
  1392. package/dist/index90.js.map +1 -0
  1393. package/dist/index91.js +90 -0
  1394. package/dist/index91.js.map +1 -0
  1395. package/dist/index92.js +89 -0
  1396. package/dist/index92.js.map +1 -0
  1397. package/dist/index93.js +89 -0
  1398. package/dist/index93.js.map +1 -0
  1399. package/dist/index94.js +127 -0
  1400. package/dist/index94.js.map +1 -0
  1401. package/dist/index95.js +134 -0
  1402. package/dist/index95.js.map +1 -0
  1403. package/dist/index96.js +75 -0
  1404. package/dist/index96.js.map +1 -0
  1405. package/dist/index97.js +41 -0
  1406. package/dist/index97.js.map +1 -0
  1407. package/dist/index98.js +103 -0
  1408. package/dist/index98.js.map +1 -0
  1409. package/dist/index99.js +95 -0
  1410. package/dist/index99.js.map +1 -0
  1411. package/dist/lib/anchored.d.ts +28 -0
  1412. package/dist/lib/anchored.d.ts.map +1 -0
  1413. package/dist/lib/cn.d.ts +2 -0
  1414. package/dist/lib/cn.d.ts.map +1 -0
  1415. package/dist/lib/theme.d.ts +15 -0
  1416. package/dist/lib/theme.d.ts.map +1 -0
  1417. package/dist/nav.d.ts +63 -0
  1418. package/dist/nav.d.ts.map +1 -0
  1419. package/dist/preflight.css +95 -0
  1420. package/dist/previews/accordion.jpg +0 -0
  1421. package/dist/previews/alert.jpg +0 -0
  1422. package/dist/previews/amount-field.jpg +0 -0
  1423. package/dist/previews/analytic-chart.jpg +0 -0
  1424. package/dist/previews/andon.jpg +0 -0
  1425. package/dist/previews/avatar-new.jpg +0 -0
  1426. package/dist/previews/avatar.jpg +0 -0
  1427. package/dist/previews/badge-new.jpg +0 -0
  1428. package/dist/previews/badge.jpg +0 -0
  1429. package/dist/previews/banner.jpg +0 -0
  1430. package/dist/previews/barcode.jpg +0 -0
  1431. package/dist/previews/bound-fields.jpg +0 -0
  1432. package/dist/previews/breadcrumb.jpg +0 -0
  1433. package/dist/previews/button-family.jpg +0 -0
  1434. package/dist/previews/button-new.jpg +0 -0
  1435. package/dist/previews/button.jpg +0 -0
  1436. package/dist/previews/camera.jpg +0 -0
  1437. package/dist/previews/capacity-heatmap.jpg +0 -0
  1438. package/dist/previews/card.jpg +0 -0
  1439. package/dist/previews/carousel.jpg +0 -0
  1440. package/dist/previews/chart.jpg +0 -0
  1441. package/dist/previews/checkbox-new.jpg +0 -0
  1442. package/dist/previews/checkbox.jpg +0 -0
  1443. package/dist/previews/chunk-uploader.jpg +0 -0
  1444. package/dist/previews/code-editor.jpg +0 -0
  1445. package/dist/previews/collapsible.jpg +0 -0
  1446. package/dist/previews/color-picker.jpg +0 -0
  1447. package/dist/previews/column-mapper.jpg +0 -0
  1448. package/dist/previews/combobox.jpg +0 -0
  1449. package/dist/previews/context-menu.jpg +0 -0
  1450. package/dist/previews/countdown.jpg +0 -0
  1451. package/dist/previews/data-table.jpg +0 -0
  1452. package/dist/previews/date-input.jpg +0 -0
  1453. package/dist/previews/date-picker-new.jpg +0 -0
  1454. package/dist/previews/date-picker.jpg +0 -0
  1455. package/dist/previews/date-range-picker.jpg +0 -0
  1456. package/dist/previews/date-time-picker.jpg +0 -0
  1457. package/dist/previews/diagram-canvas.jpg +0 -0
  1458. package/dist/previews/dialog.jpg +0 -0
  1459. package/dist/previews/diff-view.jpg +0 -0
  1460. package/dist/previews/direction.jpg +0 -0
  1461. package/dist/previews/document-tabs.jpg +0 -0
  1462. package/dist/previews/document-viewer.jpg +0 -0
  1463. package/dist/previews/dropdown-menu.jpg +0 -0
  1464. package/dist/previews/dynamic-date-range.jpg +0 -0
  1465. package/dist/previews/dynamic-page.jpg +0 -0
  1466. package/dist/previews/empty-state.jpg +0 -0
  1467. package/dist/previews/fab-new.jpg +0 -0
  1468. package/dist/previews/fab.jpg +0 -0
  1469. package/dist/previews/file-upload.jpg +0 -0
  1470. package/dist/previews/filter-bar.jpg +0 -0
  1471. package/dist/previews/filter-builder.jpg +0 -0
  1472. package/dist/previews/flexible-column-layout.jpg +0 -0
  1473. package/dist/previews/form-bound.jpg +0 -0
  1474. package/dist/previews/form-new.jpg +0 -0
  1475. package/dist/previews/form.jpg +0 -0
  1476. package/dist/previews/gantt.jpg +0 -0
  1477. package/dist/previews/genealogy-graph.jpg +0 -0
  1478. package/dist/previews/icon.jpg +0 -0
  1479. package/dist/previews/input-new.jpg +0 -0
  1480. package/dist/previews/input.jpg +0 -0
  1481. package/dist/previews/label.jpg +0 -0
  1482. package/dist/previews/lazy-options.jpg +0 -0
  1483. package/dist/previews/likert.jpg +0 -0
  1484. package/dist/previews/line-card.jpg +0 -0
  1485. package/dist/previews/link.jpg +0 -0
  1486. package/dist/previews/list-report.jpg +0 -0
  1487. package/dist/previews/live-indicator.jpg +0 -0
  1488. package/dist/previews/loading-new.jpg +0 -0
  1489. package/dist/previews/loading.jpg +0 -0
  1490. package/dist/previews/localization.jpg +0 -0
  1491. package/dist/previews/lookup-field.jpg +0 -0
  1492. package/dist/previews/map.jpg +0 -0
  1493. package/dist/previews/mask-input.jpg +0 -0
  1494. package/dist/previews/measurement-input.jpg +0 -0
  1495. package/dist/previews/media-timeline.jpg +0 -0
  1496. package/dist/previews/message-popover.jpg +0 -0
  1497. package/dist/previews/micro-chart.jpg +0 -0
  1498. package/dist/previews/multi-combobox.jpg +0 -0
  1499. package/dist/previews/native-select.jpg +0 -0
  1500. package/dist/previews/notifications-inbox.jpg +0 -0
  1501. package/dist/previews/nps.jpg +0 -0
  1502. package/dist/previews/number-field-new.jpg +0 -0
  1503. package/dist/previews/number-field.jpg +0 -0
  1504. package/dist/previews/object-page.jpg +0 -0
  1505. package/dist/previews/object.jpg +0 -0
  1506. package/dist/previews/oee-gauge.jpg +0 -0
  1507. package/dist/previews/otp-new.jpg +0 -0
  1508. package/dist/previews/otp.jpg +0 -0
  1509. package/dist/previews/page-header.jpg +0 -0
  1510. package/dist/previews/page.jpg +0 -0
  1511. package/dist/previews/pagination.jpg +0 -0
  1512. package/dist/previews/paper.jpg +0 -0
  1513. package/dist/previews/password-input.jpg +0 -0
  1514. package/dist/previews/phone-input-new.jpg +0 -0
  1515. package/dist/previews/phone-input.jpg +0 -0
  1516. package/dist/previews/pivot.jpg +0 -0
  1517. package/dist/previews/planned-vs-actual.jpg +0 -0
  1518. package/dist/previews/planning-calendar.jpg +0 -0
  1519. package/dist/previews/popover.jpg +0 -0
  1520. package/dist/previews/proctor.jpg +0 -0
  1521. package/dist/previews/production-progress.jpg +0 -0
  1522. package/dist/previews/production-schedule.jpg +0 -0
  1523. package/dist/previews/progress-new.jpg +0 -0
  1524. package/dist/previews/progress.jpg +0 -0
  1525. package/dist/previews/qr-scanner.jpg +0 -0
  1526. package/dist/previews/radio-group.jpg +0 -0
  1527. package/dist/previews/rate-bars.jpg +0 -0
  1528. package/dist/previews/rating.jpg +0 -0
  1529. package/dist/previews/reason-code-picker.jpg +0 -0
  1530. package/dist/previews/rich-text.jpg +0 -0
  1531. package/dist/previews/routing-graph.jpg +0 -0
  1532. package/dist/previews/scan-input.jpg +0 -0
  1533. package/dist/previews/scroll-area-new.jpg +0 -0
  1534. package/dist/previews/scroll-area.jpg +0 -0
  1535. package/dist/previews/search.jpg +0 -0
  1536. package/dist/previews/select-dialog.jpg +0 -0
  1537. package/dist/previews/select-new.jpg +0 -0
  1538. package/dist/previews/select.jpg +0 -0
  1539. package/dist/previews/separator.jpg +0 -0
  1540. package/dist/previews/sheet.jpg +0 -0
  1541. package/dist/previews/shellbar.jpg +0 -0
  1542. package/dist/previews/shift-navigator.jpg +0 -0
  1543. package/dist/previews/shortcuts.jpg +0 -0
  1544. package/dist/previews/sidebar.jpg +0 -0
  1545. package/dist/previews/skeleton-new.jpg +0 -0
  1546. package/dist/previews/skeleton.jpg +0 -0
  1547. package/dist/previews/skip-to-content.jpg +0 -0
  1548. package/dist/previews/slider-new.jpg +0 -0
  1549. package/dist/previews/slider.jpg +0 -0
  1550. package/dist/previews/sortable-list.jpg +0 -0
  1551. package/dist/previews/splitter.jpg +0 -0
  1552. package/dist/previews/spreadsheet-grid.jpg +0 -0
  1553. package/dist/previews/stack.jpg +0 -0
  1554. package/dist/previews/stat-card.jpg +0 -0
  1555. package/dist/previews/state-pill.jpg +0 -0
  1556. package/dist/previews/state-timeline.jpg +0 -0
  1557. package/dist/previews/status-bar.jpg +0 -0
  1558. package/dist/previews/step-runner.jpg +0 -0
  1559. package/dist/previews/stepper.jpg +0 -0
  1560. package/dist/previews/switch-new.jpg +0 -0
  1561. package/dist/previews/switch.jpg +0 -0
  1562. package/dist/previews/tabs.jpg +0 -0
  1563. package/dist/previews/tag-input.jpg +0 -0
  1564. package/dist/previews/textarea.jpg +0 -0
  1565. package/dist/previews/theme.jpg +0 -0
  1566. package/dist/previews/tile.jpg +0 -0
  1567. package/dist/previews/time-picker.jpg +0 -0
  1568. package/dist/previews/timeline.jpg +0 -0
  1569. package/dist/previews/toast.jpg +0 -0
  1570. package/dist/previews/toolbar.jpg +0 -0
  1571. package/dist/previews/tooltip-new.jpg +0 -0
  1572. package/dist/previews/tooltip.jpg +0 -0
  1573. package/dist/previews/tree-select.jpg +0 -0
  1574. package/dist/previews/tree-table.jpg +0 -0
  1575. package/dist/previews/tree.jpg +0 -0
  1576. package/dist/previews/upload-collection.jpg +0 -0
  1577. package/dist/previews/value-help.jpg +0 -0
  1578. package/dist/previews/view-manager.jpg +0 -0
  1579. package/dist/previews/view-settings.jpg +0 -0
  1580. package/dist/previews/virtualized-items.jpg +0 -0
  1581. package/dist/previews/waveform.jpg +0 -0
  1582. package/dist/release-notes.d.ts +7 -0
  1583. package/dist/release-notes.d.ts.map +1 -0
  1584. package/dist/style.css +1 -0
  1585. package/dist/styles.d.ts +2 -0
  1586. package/dist/vite.svg +1 -0
  1587. package/package.json +163 -4
  1588. package/skills/zen-ui/SKILL.md +171 -0
  1589. package/skills/zen-ui/references/api/accordion.md +35 -0
  1590. package/skills/zen-ui/references/api/alert-dialog.md +66 -0
  1591. package/skills/zen-ui/references/api/alert.md +51 -0
  1592. package/skills/zen-ui/references/api/amount-field.md +67 -0
  1593. package/skills/zen-ui/references/api/analytic-chart-analytic-chart.md +48 -0
  1594. package/skills/zen-ui/references/api/andon-andon.md +45 -0
  1595. package/skills/zen-ui/references/api/avatar.md +46 -0
  1596. package/skills/zen-ui/references/api/badge.md +27 -0
  1597. package/skills/zen-ui/references/api/banner.md +51 -0
  1598. package/skills/zen-ui/references/api/barcode.md +43 -0
  1599. package/skills/zen-ui/references/api/bound-fields.md +106 -0
  1600. package/skills/zen-ui/references/api/breadcrumb.md +42 -0
  1601. package/skills/zen-ui/references/api/button-family.md +75 -0
  1602. package/skills/zen-ui/references/api/button.md +33 -0
  1603. package/skills/zen-ui/references/api/camera.md +27 -0
  1604. package/skills/zen-ui/references/api/capacity-heatmap.md +27 -0
  1605. package/skills/zen-ui/references/api/capacity.md +40 -0
  1606. package/skills/zen-ui/references/api/card.md +46 -0
  1607. package/skills/zen-ui/references/api/card.selectable.md +32 -0
  1608. package/skills/zen-ui/references/api/carousel.md +26 -0
  1609. package/skills/zen-ui/references/api/chart-chart.md +32 -0
  1610. package/skills/zen-ui/references/api/checkbox.md +27 -0
  1611. package/skills/zen-ui/references/api/chunk-upload.md +27 -0
  1612. package/skills/zen-ui/references/api/chunk-uploader.md +42 -0
  1613. package/skills/zen-ui/references/api/code-editor.md +70 -0
  1614. package/skills/zen-ui/references/api/collapsible.md +29 -0
  1615. package/skills/zen-ui/references/api/color-palette.md +28 -0
  1616. package/skills/zen-ui/references/api/color-picker.md +28 -0
  1617. package/skills/zen-ui/references/api/color.md +17 -0
  1618. package/skills/zen-ui/references/api/column-mapper-column-mapper.md +26 -0
  1619. package/skills/zen-ui/references/api/combobox.md +45 -0
  1620. package/skills/zen-ui/references/api/command.md +52 -0
  1621. package/skills/zen-ui/references/api/components-pivot.md +100 -0
  1622. package/skills/zen-ui/references/api/context-menu.md +106 -0
  1623. package/skills/zen-ui/references/api/countdown-countdown.md +46 -0
  1624. package/skills/zen-ui/references/api/critical-path.md +38 -0
  1625. package/skills/zen-ui/references/api/data-table.md +110 -0
  1626. package/skills/zen-ui/references/api/date-input.md +41 -0
  1627. package/skills/zen-ui/references/api/date-picker.md +32 -0
  1628. package/skills/zen-ui/references/api/date-range-picker.md +33 -0
  1629. package/skills/zen-ui/references/api/date-range.md +38 -0
  1630. package/skills/zen-ui/references/api/date-time-picker.md +30 -0
  1631. package/skills/zen-ui/references/api/diagram-canvas.md +53 -0
  1632. package/skills/zen-ui/references/api/dialog.md +66 -0
  1633. package/skills/zen-ui/references/api/diff-view.md +30 -0
  1634. package/skills/zen-ui/references/api/diff.md +34 -0
  1635. package/skills/zen-ui/references/api/direction.md +25 -0
  1636. package/skills/zen-ui/references/api/divider.md +22 -0
  1637. package/skills/zen-ui/references/api/document-tabs.md +37 -0
  1638. package/skills/zen-ui/references/api/document-viewer.md +42 -0
  1639. package/skills/zen-ui/references/api/document.md +29 -0
  1640. package/skills/zen-ui/references/api/dropdown-menu.md +97 -0
  1641. package/skills/zen-ui/references/api/dynamic-date-range.md +29 -0
  1642. package/skills/zen-ui/references/api/dynamic-page.md +49 -0
  1643. package/skills/zen-ui/references/api/edit-cell.md +22 -0
  1644. package/skills/zen-ui/references/api/empty-state.md +42 -0
  1645. package/skills/zen-ui/references/api/fab.md +29 -0
  1646. package/skills/zen-ui/references/api/file-upload.md +38 -0
  1647. package/skills/zen-ui/references/api/filter-bar.md +39 -0
  1648. package/skills/zen-ui/references/api/filter-builder.md +60 -0
  1649. package/skills/zen-ui/references/api/filters.md +29 -0
  1650. package/skills/zen-ui/references/api/flexible-column-layout.md +39 -0
  1651. package/skills/zen-ui/references/api/form.md +44 -0
  1652. package/skills/zen-ui/references/api/gantt-gantt.md +88 -0
  1653. package/skills/zen-ui/references/api/genealogy-graph.md +33 -0
  1654. package/skills/zen-ui/references/api/genealogy.md +26 -0
  1655. package/skills/zen-ui/references/api/icon.md +31 -0
  1656. package/skills/zen-ui/references/api/index.md +202 -0
  1657. package/skills/zen-ui/references/api/input.constants.md +16 -0
  1658. package/skills/zen-ui/references/api/input.md +20 -0
  1659. package/skills/zen-ui/references/api/label.md +27 -0
  1660. package/skills/zen-ui/references/api/lib-theme.md +27 -0
  1661. package/skills/zen-ui/references/api/likert.md +39 -0
  1662. package/skills/zen-ui/references/api/line-card.md +30 -0
  1663. package/skills/zen-ui/references/api/line-eta.md +20 -0
  1664. package/skills/zen-ui/references/api/link.md +29 -0
  1665. package/skills/zen-ui/references/api/live-indicator.md +25 -0
  1666. package/skills/zen-ui/references/api/live.md +17 -0
  1667. package/skills/zen-ui/references/api/loading.md +27 -0
  1668. package/skills/zen-ui/references/api/locale.md +977 -0
  1669. package/skills/zen-ui/references/api/lookup-field.md +45 -0
  1670. package/skills/zen-ui/references/api/machine-state.md +24 -0
  1671. package/skills/zen-ui/references/api/map.md +31 -0
  1672. package/skills/zen-ui/references/api/mask-input.md +27 -0
  1673. package/skills/zen-ui/references/api/mask.md +16 -0
  1674. package/skills/zen-ui/references/api/measurement-input.md +28 -0
  1675. package/skills/zen-ui/references/api/measurement.md +44 -0
  1676. package/skills/zen-ui/references/api/media-timeline.md +41 -0
  1677. package/skills/zen-ui/references/api/media.md +29 -0
  1678. package/skills/zen-ui/references/api/message-popover.md +40 -0
  1679. package/skills/zen-ui/references/api/micro-chart.md +77 -0
  1680. package/skills/zen-ui/references/api/multi-combobox.md +37 -0
  1681. package/skills/zen-ui/references/api/native-select.md +20 -0
  1682. package/skills/zen-ui/references/api/notifications-inbox.md +45 -0
  1683. package/skills/zen-ui/references/api/nps.md +31 -0
  1684. package/skills/zen-ui/references/api/number-field.md +26 -0
  1685. package/skills/zen-ui/references/api/object-page.md +42 -0
  1686. package/skills/zen-ui/references/api/object.md +59 -0
  1687. package/skills/zen-ui/references/api/oee-gauge.md +29 -0
  1688. package/skills/zen-ui/references/api/oee.md +46 -0
  1689. package/skills/zen-ui/references/api/otp.md +49 -0
  1690. package/skills/zen-ui/references/api/page-header.md +28 -0
  1691. package/skills/zen-ui/references/api/page.md +32 -0
  1692. package/skills/zen-ui/references/api/pagination.md +30 -0
  1693. package/skills/zen-ui/references/api/paper.md +45 -0
  1694. package/skills/zen-ui/references/api/password-input.md +23 -0
  1695. package/skills/zen-ui/references/api/phone-input.constants.md +17 -0
  1696. package/skills/zen-ui/references/api/phone-input.md +33 -0
  1697. package/skills/zen-ui/references/api/planned-vs-actual-planned-vs-actual.md +30 -0
  1698. package/skills/zen-ui/references/api/planning-calendar.md +55 -0
  1699. package/skills/zen-ui/references/api/planning.md +16 -0
  1700. package/skills/zen-ui/references/api/popover.md +35 -0
  1701. package/skills/zen-ui/references/api/proctor.md +55 -0
  1702. package/skills/zen-ui/references/api/production-progress-production-progress.md +27 -0
  1703. package/skills/zen-ui/references/api/production-schedule.md +92 -0
  1704. package/skills/zen-ui/references/api/production.md +89 -0
  1705. package/skills/zen-ui/references/api/progress.md +29 -0
  1706. package/skills/zen-ui/references/api/qr-scanner.md +38 -0
  1707. package/skills/zen-ui/references/api/radio-group.md +37 -0
  1708. package/skills/zen-ui/references/api/rate-bars-rate-bars.md +29 -0
  1709. package/skills/zen-ui/references/api/rating.md +33 -0
  1710. package/skills/zen-ui/references/api/reason-code-picker.md +28 -0
  1711. package/skills/zen-ui/references/api/reason-codes.md +25 -0
  1712. package/skills/zen-ui/references/api/reschedule.md +48 -0
  1713. package/skills/zen-ui/references/api/rich-text.md +30 -0
  1714. package/skills/zen-ui/references/api/routing-graph.md +37 -0
  1715. package/skills/zen-ui/references/api/routing.md +31 -0
  1716. package/skills/zen-ui/references/api/row-keys.md +24 -0
  1717. package/skills/zen-ui/references/api/scan-input.md +32 -0
  1718. package/skills/zen-ui/references/api/scan.md +36 -0
  1719. package/skills/zen-ui/references/api/schedule-backlog.md +33 -0
  1720. package/skills/zen-ui/references/api/scroll-area.md +24 -0
  1721. package/skills/zen-ui/references/api/search.md +30 -0
  1722. package/skills/zen-ui/references/api/select-dialog.md +40 -0
  1723. package/skills/zen-ui/references/api/select.md +72 -0
  1724. package/skills/zen-ui/references/api/sheet.md +71 -0
  1725. package/skills/zen-ui/references/api/shellbar.md +62 -0
  1726. package/skills/zen-ui/references/api/shift-navigator.md +27 -0
  1727. package/skills/zen-ui/references/api/shifts.md +39 -0
  1728. package/skills/zen-ui/references/api/shortcuts.md +60 -0
  1729. package/skills/zen-ui/references/api/sidebar.md +110 -0
  1730. package/skills/zen-ui/references/api/skeleton.md +20 -0
  1731. package/skills/zen-ui/references/api/skip-to-content.md +24 -0
  1732. package/skills/zen-ui/references/api/slider.md +28 -0
  1733. package/skills/zen-ui/references/api/sortable-list.md +44 -0
  1734. package/skills/zen-ui/references/api/sortable.md +46 -0
  1735. package/skills/zen-ui/references/api/splitter-splitter.md +49 -0
  1736. package/skills/zen-ui/references/api/spreadsheet-grid.md +46 -0
  1737. package/skills/zen-ui/references/api/spreadsheet.md +40 -0
  1738. package/skills/zen-ui/references/api/stack.md +26 -0
  1739. package/skills/zen-ui/references/api/stat-card.md +42 -0
  1740. package/skills/zen-ui/references/api/state-pill.md +28 -0
  1741. package/skills/zen-ui/references/api/state-timeline-state-timeline.md +36 -0
  1742. package/skills/zen-ui/references/api/status-bar-status-bar.md +44 -0
  1743. package/skills/zen-ui/references/api/step-runner-step-runner.md +34 -0
  1744. package/skills/zen-ui/references/api/stepper.md +64 -0
  1745. package/skills/zen-ui/references/api/switch.md +27 -0
  1746. package/skills/zen-ui/references/api/table.md +50 -0
  1747. package/skills/zen-ui/references/api/tabs.md +49 -0
  1748. package/skills/zen-ui/references/api/tag-input.md +33 -0
  1749. package/skills/zen-ui/references/api/textarea.md +20 -0
  1750. package/skills/zen-ui/references/api/theme-theme.md +22 -0
  1751. package/skills/zen-ui/references/api/tile.md +37 -0
  1752. package/skills/zen-ui/references/api/time-picker.md +33 -0
  1753. package/skills/zen-ui/references/api/timeline.md +44 -0
  1754. package/skills/zen-ui/references/api/toast.md +58 -0
  1755. package/skills/zen-ui/references/api/toaster.md +24 -0
  1756. package/skills/zen-ui/references/api/toolbar.md +36 -0
  1757. package/skills/zen-ui/references/api/tooltip.md +41 -0
  1758. package/skills/zen-ui/references/api/tree-select.md +44 -0
  1759. package/skills/zen-ui/references/api/tree-table.md +57 -0
  1760. package/skills/zen-ui/references/api/tree.md +38 -0
  1761. package/skills/zen-ui/references/api/upload-collection.md +44 -0
  1762. package/skills/zen-ui/references/api/url-data-table.md +62 -0
  1763. package/skills/zen-ui/references/api/use-toast.md +44 -0
  1764. package/skills/zen-ui/references/api/value-help.md +55 -0
  1765. package/skills/zen-ui/references/api/view-manager.md +37 -0
  1766. package/skills/zen-ui/references/api/view-settings-dialog.md +56 -0
  1767. package/skills/zen-ui/references/api/virtualized-items.md +28 -0
  1768. package/skills/zen-ui/references/api/waveform.md +35 -0
  1769. package/skills/zen-ui/references/api/zen-ui-core-analytic-chart.md +98 -0
  1770. package/skills/zen-ui/references/api/zen-ui-core-andon.md +26 -0
  1771. package/skills/zen-ui/references/api/zen-ui-core-chart.md +25 -0
  1772. package/skills/zen-ui/references/api/zen-ui-core-column-mapper.md +42 -0
  1773. package/skills/zen-ui/references/api/zen-ui-core-countdown.md +20 -0
  1774. package/skills/zen-ui/references/api/zen-ui-core-gantt.md +119 -0
  1775. package/skills/zen-ui/references/api/zen-ui-core-pivot.md +88 -0
  1776. package/skills/zen-ui/references/api/zen-ui-core-planned-vs-actual.md +44 -0
  1777. package/skills/zen-ui/references/api/zen-ui-core-production-progress.md +35 -0
  1778. package/skills/zen-ui/references/api/zen-ui-core-rate-bars.md +34 -0
  1779. package/skills/zen-ui/references/api/zen-ui-core-splitter.md +29 -0
  1780. package/skills/zen-ui/references/api/zen-ui-core-state-timeline.md +67 -0
  1781. package/skills/zen-ui/references/api/zen-ui-core-status-bar.md +25 -0
  1782. package/skills/zen-ui/references/api/zen-ui-core-step-runner.md +44 -0
  1783. package/skills/zen-ui/references/catalogue.md +168 -0
@@ -0,0 +1,109 @@
1
+ const W = 200, x = 50;
2
+ function c(t, n) {
3
+ return n <= 0 || t <= 0 ? 0 : Math.floor(t / n) * n;
4
+ }
5
+ function d(t, n, e) {
6
+ if (n < t)
7
+ return [];
8
+ const r = c(t, e), o = c(n, e), s = [];
9
+ for (let a = r; a <= o; a += e)
10
+ s.push(a);
11
+ return s;
12
+ }
13
+ function h(t, n) {
14
+ return t.find((e) => e.startIndex === n);
15
+ }
16
+ function g(t, n, e) {
17
+ const r = t.startIndex + t.length - 1;
18
+ return n >= t.startIndex && e <= r;
19
+ }
20
+ function E(t, n, e, r) {
21
+ const o = d(n, e, r), s = [];
22
+ for (const a of o) {
23
+ const u = a + r - 1, i = Math.max(n, a), l = Math.min(e, u), f = h(t, a);
24
+ f && f.length > 0 && g(f, i, l) || s.push(a);
25
+ }
26
+ return s;
27
+ }
28
+ function I(t, n, e, r) {
29
+ if (r <= 0 || t.length === 0)
30
+ return [...t];
31
+ const o = Math.max(0, c(n, r) - r), s = c(e, r) + r * 2 - 1;
32
+ return t.filter((a) => a.startIndex + Math.max(a.length, 1) - 1 >= o && a.startIndex <= s);
33
+ }
34
+ function R(t, n, e) {
35
+ let r = t[0], o = Math.abs(r + e / 2 - n);
36
+ for (let s = 1; s < t.length; s++) {
37
+ const a = t[s], u = Math.abs(a + e / 2 - n);
38
+ u < o && (r = a, o = u);
39
+ }
40
+ return r;
41
+ }
42
+ const v = 4;
43
+ function M(t) {
44
+ return t.map((n) => ({
45
+ startIndex: n.startIndex,
46
+ length: n.values.length
47
+ }));
48
+ }
49
+ function _(t, n, e) {
50
+ const r = t.startIndex + t.values.length - 1;
51
+ return n < t.startIndex || e > r ? !1 : e - t.startIndex < t.values.length;
52
+ }
53
+ function p(t, n, e, r) {
54
+ return E(M(t), n, e, r).filter(
55
+ (o) => {
56
+ const s = o + r - 1;
57
+ return !L(n, s, t, e);
58
+ }
59
+ );
60
+ }
61
+ function L(t, n, e, r) {
62
+ const o = Math.min(r, n);
63
+ if (o < t)
64
+ return !1;
65
+ for (const s of e) {
66
+ if (s.values.length === 0 || r < s.startIndex || s.startIndex - t > v)
67
+ continue;
68
+ const a = Math.min(
69
+ r,
70
+ s.startIndex + s.values.length - 1
71
+ );
72
+ if (o < s.startIndex && _(s, s.startIndex, a))
73
+ return !0;
74
+ }
75
+ return !1;
76
+ }
77
+ function A(t, n, e, r) {
78
+ return I(
79
+ t.map((o) => ({
80
+ startIndex: o.startIndex,
81
+ length: o.values.length,
82
+ window: o
83
+ })),
84
+ n,
85
+ e,
86
+ r
87
+ ).map((o) => o.window);
88
+ }
89
+ function C(t, n) {
90
+ for (const e of t) {
91
+ const r = n - e.startIndex;
92
+ if (r >= 0 && r < e.values.length)
93
+ return e.values[r];
94
+ }
95
+ }
96
+ export {
97
+ v as PIVOT_FILTER_LEADING_OVERSCAN_SLACK,
98
+ W as VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS,
99
+ x as VIRTUAL_SCROLL_WINDOW_PAGE_SIZE,
100
+ c as alignWindowStart,
101
+ E as missingWindowStarts,
102
+ R as pickNearestWindowStart,
103
+ p as pivotFilterMissingWindowStarts,
104
+ C as pivotFilterWindowValueAt,
105
+ A as prunePivotFilterWindows,
106
+ I as pruneWindowsByRange,
107
+ d as requiredWindowStarts
108
+ };
109
+ //# sourceMappingURL=index267.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index267.js","sources":["../../core/src/virtual-window.ts"],"sourcesContent":["/**\n * Window maths for virtualized, server-paged lists.\n *\n * Framework-agnostic and, unlike the rest of the pivot, not pivot-specific:\n * page alignment, which windows are missing for a visible range, pruning what\n * has scrolled away, and picking the nearest page to fetch next. Nothing else\n * in the library does this — DataTable virtualizes rows it already has, and\n * VirtualizedItems takes a materialized array — so this is real infrastructure\n * rather than a duplicate.\n *\n * It lived in packages/solid/src/components/pivot/internal, where its own\n * doc comment said it was meant to keep \"pivot grids, filter dropdowns, and\n * future large lists consistent\" — a cross-cutting intent, filed somewhere\n * nothing could cross-cut to, and unreachable from React entirely.\n *\n * Pinned by scripts/check-virtual-window.ts.\n */\n\n/** Debounce after scroll settles before fetching the next data window. */\nexport const VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS = 200;\n\n/** Default server page size for sliding row/value windows (TM1-style segments). */\nexport const VIRTUAL_SCROLL_WINDOW_PAGE_SIZE = 50;\n\n/** Aligns an index down to the start of its page-sized window. */\nexport function alignWindowStart(minIndex: number, windowSize: number): number {\n if (windowSize <= 0) {\n return 0;\n }\n // Clamped at 0: Math.floor(-5 / 50) * 50 is -50, and a negative page start\n // becomes `offset: -50` in a fetch — which a server answers with a 400 or,\n // worse, with something. A virtualizer's overscan subtracts from the first\n // visible index, so a negative arrives here the moment anyone scrolls to the\n // top of a list without clamping first.\n if (minIndex <= 0) {\n return 0;\n }\n return Math.floor(minIndex / windowSize) * windowSize;\n}\n\n/** Page-aligned offsets that intersect `[minIndex, maxIndex]`. */\nexport function requiredWindowStarts(\n minIndex: number,\n maxIndex: number,\n pageSize: number,\n): number[] {\n // An inverted range is not a range. It used to return page 0 and fetch it for\n // nothing, because both ends aligned to the same place.\n if (maxIndex < minIndex) {\n return [];\n }\n const start = alignWindowStart(minIndex, pageSize);\n const end = alignWindowStart(maxIndex, pageSize);\n const starts: number[] = [];\n for (let offset = start; offset <= end; offset += pageSize) {\n starts.push(offset);\n }\n return starts;\n}\n\nexport type WindowLength = {\n startIndex: number;\n /** Number of loaded slots in this window (may be shorter than pageSize). */\n length: number;\n};\n\nfunction findWindowAt(\n windows: readonly WindowLength[],\n startIndex: number,\n): WindowLength | undefined {\n return windows.find((window) => window.startIndex === startIndex);\n}\n\nfunction windowCoversLocalRange(\n window: WindowLength,\n from: number,\n to: number,\n): boolean {\n const windowEnd = window.startIndex + window.length - 1;\n return from >= window.startIndex && to <= windowEnd;\n}\n\n/** Page offsets still needed to cover the visible index range. */\nexport function missingWindowStarts(\n windows: readonly WindowLength[],\n minIndex: number,\n maxIndex: number,\n pageSize: number,\n): number[] {\n const required = requiredWindowStarts(minIndex, maxIndex, pageSize);\n const missing: number[] = [];\n for (const pageStart of required) {\n const pageEnd = pageStart + pageSize - 1;\n const segmentStart = Math.max(minIndex, pageStart);\n const segmentEnd = Math.min(maxIndex, pageEnd);\n const window = findWindowAt(windows, pageStart);\n if (\n window &&\n window.length > 0 &&\n windowCoversLocalRange(window, segmentStart, segmentEnd)\n ) {\n continue;\n }\n missing.push(pageStart);\n }\n return missing;\n}\n\n/**\n * Drops windows outside the visible range plus one page of keep buffer\n * on each side.\n */\nexport function pruneWindowsByRange<T extends WindowLength>(\n windows: readonly T[],\n minIndex: number,\n maxIndex: number,\n pageSize: number,\n): T[] {\n if (pageSize <= 0 || windows.length === 0) {\n return [...windows];\n }\n const keepMin = Math.max(0, alignWindowStart(minIndex, pageSize) - pageSize);\n const keepMaxEnd =\n alignWindowStart(maxIndex, pageSize) + pageSize * 2 - 1;\n return windows.filter((window) => {\n const windowEnd = window.startIndex + Math.max(window.length, 1) - 1;\n return windowEnd >= keepMin && window.startIndex <= keepMaxEnd;\n });\n}\n\n/** Picks the missing page whose center is nearest the visible midpoint. */\nexport function pickNearestWindowStart(\n missing: readonly number[],\n mid: number,\n pageSize: number,\n): number {\n let best = missing[0];\n let bestDist = Math.abs(best + pageSize / 2 - mid);\n for (let i = 1; i < missing.length; i++) {\n const start = missing[i];\n const dist = Math.abs(start + pageSize / 2 - mid);\n if (dist < bestDist) {\n best = start;\n bestDist = dist;\n }\n }\n return best;\n}\n\nexport type PivotFilterOptionsWindow = {\n startIndex: number;\n values: string[];\n};\n\n\n/** Rows before window.startIndex that may render blank while scrolling forward. */\nexport const PIVOT_FILTER_LEADING_OVERSCAN_SLACK = 4;\n\nfunction toSpans(windows: readonly PivotFilterOptionsWindow[]) {\n return windows.map((window) => ({\n startIndex: window.startIndex,\n length: window.values.length,\n }));\n}\n\nfunction windowCoversIndexRange(\n window: PivotFilterOptionsWindow,\n from: number,\n to: number,\n): boolean {\n const windowEnd = window.startIndex + window.values.length - 1;\n if (from < window.startIndex || to > windowEnd) {\n return false;\n }\n return to - window.startIndex < window.values.length;\n}\n\n/** Returns whether cached windows already cover the visible index range. */\nexport function pivotFilterWindowCoversRange(\n windows: readonly PivotFilterOptionsWindow[],\n minIndex: number,\n maxIndex: number,\n pageSize: number,\n): boolean {\n return (\n pivotFilterMissingWindowStarts(windows, minIndex, maxIndex, pageSize)\n .length === 0\n );\n}\n\n/** Page offsets that still need to be fetched for the visible range. */\nexport function pivotFilterMissingWindowStarts(\n windows: readonly PivotFilterOptionsWindow[],\n minIndex: number,\n maxIndex: number,\n pageSize: number,\n): number[] {\n return missingWindowStarts(toSpans(windows), minIndex, maxIndex, pageSize).filter(\n (pageStart) => {\n const pageEnd = pageStart + pageSize - 1;\n return !isLeadingOverscanOnly(minIndex, pageEnd, windows, maxIndex);\n },\n );\n}\n\nfunction isLeadingOverscanOnly(\n minIndex: number,\n pageEnd: number,\n windows: readonly PivotFilterOptionsWindow[],\n maxIndex: number,\n): boolean {\n const segmentEnd = Math.min(maxIndex, pageEnd);\n if (segmentEnd < minIndex) {\n return false;\n }\n for (const window of windows) {\n if (window.values.length === 0 || maxIndex < window.startIndex) {\n continue;\n }\n if (window.startIndex - minIndex > PIVOT_FILTER_LEADING_OVERSCAN_SLACK) {\n continue;\n }\n const trailingEnd = Math.min(\n maxIndex,\n window.startIndex + window.values.length - 1,\n );\n if (\n segmentEnd < window.startIndex &&\n windowCoversIndexRange(window, window.startIndex, trailingEnd)\n ) {\n return true;\n }\n }\n return false;\n}\n\n/** Drops windows outside the visible range plus one page of keep buffer. */\nexport function prunePivotFilterWindows(\n windows: readonly PivotFilterOptionsWindow[],\n minIndex: number,\n maxIndex: number,\n pageSize: number,\n): PivotFilterOptionsWindow[] {\n return pruneWindowsByRange(\n windows.map((window) => ({\n startIndex: window.startIndex,\n length: window.values.length,\n window,\n })),\n minIndex,\n maxIndex,\n pageSize,\n ).map((entry) => entry.window);\n}\n\n/** Reads a value from cached windows by global index. */\nexport function pivotFilterWindowValueAt(\n windows: readonly PivotFilterOptionsWindow[],\n index: number,\n): string | undefined {\n for (const window of windows) {\n const localIndex = index - window.startIndex;\n if (localIndex >= 0 && localIndex < window.values.length) {\n return window.values[localIndex];\n }\n }\n return undefined;\n}\n\n"],"names":["VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS","VIRTUAL_SCROLL_WINDOW_PAGE_SIZE","alignWindowStart","minIndex","windowSize","requiredWindowStarts","maxIndex","pageSize","start","end","starts","offset","findWindowAt","windows","startIndex","window","windowCoversLocalRange","from","to","windowEnd","missingWindowStarts","required","missing","pageStart","pageEnd","segmentStart","segmentEnd","pruneWindowsByRange","keepMin","keepMaxEnd","pickNearestWindowStart","mid","best","bestDist","i","dist","PIVOT_FILTER_LEADING_OVERSCAN_SLACK","toSpans","windowCoversIndexRange","pivotFilterMissingWindowStarts","isLeadingOverscanOnly","trailingEnd","prunePivotFilterWindows","entry","pivotFilterWindowValueAt","index","localIndex"],"mappings":"AAmBO,MAAMA,IAAmC,KAGnCC,IAAkC;AAGxC,SAASC,EAAiBC,GAAkBC,GAA4B;AAS7E,SARIA,KAAc,KAQdD,KAAY,IACP,IAEF,KAAK,MAAMA,IAAWC,CAAU,IAAIA;AAC7C;AAGO,SAASC,EACdF,GACAG,GACAC,GACU;AAGV,MAAID,IAAWH;AACb,WAAO,CAAA;AAET,QAAMK,IAAQN,EAAiBC,GAAUI,CAAQ,GAC3CE,IAAMP,EAAiBI,GAAUC,CAAQ,GACzCG,IAAmB,CAAA;AACzB,WAASC,IAASH,GAAOG,KAAUF,GAAKE,KAAUJ;AAChD,IAAAG,EAAO,KAAKC,CAAM;AAEpB,SAAOD;AACT;AAQA,SAASE,EACPC,GACAC,GAC0B;AAC1B,SAAOD,EAAQ,KAAK,CAACE,MAAWA,EAAO,eAAeD,CAAU;AAClE;AAEA,SAASE,EACPD,GACAE,GACAC,GACS;AACT,QAAMC,IAAYJ,EAAO,aAAaA,EAAO,SAAS;AACtD,SAAOE,KAAQF,EAAO,cAAcG,KAAMC;AAC5C;AAGO,SAASC,EACdP,GACAV,GACAG,GACAC,GACU;AACV,QAAMc,IAAWhB,EAAqBF,GAAUG,GAAUC,CAAQ,GAC5De,IAAoB,CAAA;AAC1B,aAAWC,KAAaF,GAAU;AAChC,UAAMG,IAAUD,IAAYhB,IAAW,GACjCkB,IAAe,KAAK,IAAItB,GAAUoB,CAAS,GAC3CG,IAAa,KAAK,IAAIpB,GAAUkB,CAAO,GACvCT,IAASH,EAAaC,GAASU,CAAS;AAC9C,IACER,KACAA,EAAO,SAAS,KAChBC,EAAuBD,GAAQU,GAAcC,CAAU,KAIzDJ,EAAQ,KAAKC,CAAS;AAAA,EACxB;AACA,SAAOD;AACT;AAMO,SAASK,EACdd,GACAV,GACAG,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O,CAACiC,EAAsBrC,GAAUqB,GAASX,GAASP,CAAQ;AAAA,IACpE;AAAA,EAAA;AAEJ;AAEA,SAASkC,EACPrC,GACAqB,GACAX,GACAP,GACS;AACT,QAAMoB,IAAa,KAAK,IAAIpB,GAAUkB,CAAO;AAC7C,MAAIE,IAAavB;AACf,WAAO;AAET,aAAWY,KAAUF,GAAS;AAI5B,QAHIE,EAAO,OAAO,WAAW,KAAKT,IAAWS,EAAO,cAGhDA,EAAO,aAAaZ,IAAWiC;AACjC;AAEF,UAAMK,IAAc,KAAK;AAAA,MACvBnC;AAAA,MACAS,EAAO,aAAaA,EAAO,OAAO,SAAS;AAAA,IAAA;AAE7C,QACEW,IAAaX,EAAO,cACpBuB,EAAuBvB,GAAQA,EAAO,YAAY0B,CAAW;AAE7D,aAAO;AAAA,EAEX;AACA,SAAO;AACT;AAGO,SAASC,EACd7B,GACAV,GACAG,GACAC,GAC4B;AAC5B,SAAOoB;AAAA,IACLd,EAAQ,IAAI,CAACE,OAAY;AAAA,MACvB,YAAYA,EAAO;AAAA,MACnB,QAAQA,EAAO,OAAO;AAAA,MACtB,QAAAA;AAAA,IAAA,EACA;AAAA,IACFZ;AAAA,IACAG;AAAA,IACAC;AAAA,EAAA,EACA,IAAI,CAACoC,MAAUA,EAAM,MAAM;AAC/B;AAGO,SAASC,EACd/B,GACAgC,GACoB;AACpB,aAAW9B,KAAUF,GAAS;AAC5B,UAAMiC,IAAaD,IAAQ9B,EAAO;AAClC,QAAI+B,KAAc,KAAKA,IAAa/B,EAAO,OAAO;AAChD,aAAOA,EAAO,OAAO+B,CAAU;AAAA,EAEnC;AAEF;"}
@@ -0,0 +1,71 @@
1
+ import * as e from "react";
2
+ import { prunePivotFilterWindows as M, pivotFilterMissingWindowStarts as N, pickNearestWindowStart as P, VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS as L, PIVOT_FILTER_LEADING_OVERSCAN_SLACK as b, alignWindowStart as V } from "./index267.js";
3
+ function D(n) {
4
+ const [_, S] = e.useState([]), [k, v] = e.useState(0), [A, R] = e.useState(!1), [z, E] = e.useState(!1), [F, h] = e.useState(!1), u = e.useRef(0), o = e.useRef(/* @__PURE__ */ new Set()), r = e.useRef({ minIndex: 0, maxIndex: 0 }), l = e.useRef(null), d = e.useRef(n);
5
+ d.current = n;
6
+ const m = e.useCallback(() => {
7
+ u.current += 1, o.current.clear(), S([]), v(0), h(!1);
8
+ }, []), s = e.useCallback(async (t, c) => {
9
+ const { pageSize: f, loadPage: g, search: x } = d.current;
10
+ if (o.current.has(t)) return;
11
+ o.current.add(t);
12
+ const i = u.current;
13
+ c ? R(!0) : E(!0);
14
+ try {
15
+ const a = await g(t, f, x);
16
+ if (i !== u.current) return;
17
+ h(!1), v(a.total), S((I) => {
18
+ const W = I.filter((w) => w.startIndex !== t).concat({ startIndex: t, values: a.values });
19
+ return W.sort((w, y) => w.startIndex - y.startIndex), M(W, r.current.minIndex, r.current.maxIndex, f);
20
+ });
21
+ } catch {
22
+ if (i !== u.current) return;
23
+ h(!0);
24
+ } finally {
25
+ o.current.delete(t), i === u.current && (c ? R(!1) : E(!1));
26
+ }
27
+ }, []), T = e.useCallback(() => {
28
+ const { pageSize: t, isActive: c } = d.current;
29
+ if (!c) return;
30
+ const { minIndex: f, maxIndex: g } = r.current;
31
+ S((x) => {
32
+ const i = N(x, f, g, t).filter(
33
+ (a) => !o.current.has(a)
34
+ );
35
+ if (i.length) {
36
+ const a = (f + g) / 2, I = P(i, a, t);
37
+ I !== void 0 && s(I, x.length === 0);
38
+ }
39
+ return x;
40
+ });
41
+ }, [s]), C = e.useCallback(() => {
42
+ l.current && clearTimeout(l.current), l.current = setTimeout(T, L);
43
+ }, [T]), O = e.useCallback(
44
+ (t, c) => {
45
+ r.current = {
46
+ minIndex: Math.max(0, t - b),
47
+ maxIndex: c + b
48
+ }, C();
49
+ },
50
+ [C]
51
+ ), p = e.useCallback(() => {
52
+ m(), r.current = { minIndex: 0, maxIndex: d.current.pageSize - 1 }, s(V(0, d.current.pageSize), !0);
53
+ }, [m, s]);
54
+ return e.useEffect(() => {
55
+ if (!n.isActive) return;
56
+ m();
57
+ const t = setTimeout(() => {
58
+ r.current = { minIndex: 0, maxIndex: n.pageSize - 1 }, s(0, !0);
59
+ }, L);
60
+ return () => clearTimeout(t);
61
+ }, [n.search, n.isActive, n.pageSize, m, s]), e.useEffect(
62
+ () => () => {
63
+ l.current && clearTimeout(l.current);
64
+ },
65
+ []
66
+ ), { loading: A, loadingWindow: z, optionsWindows: _, totalCount: k, loadError: F, handleVisibleRange: O, scheduleFetch: C, openPanelFetch: p };
67
+ }
68
+ export {
69
+ D as useWindowedOptionPages
70
+ };
71
+ //# sourceMappingURL=index268.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index268.js","sources":["../src/components/pivot/internal/use-windowed-option-pages.ts"],"sourcesContent":["import * as React from \"react\";\nimport {\n PIVOT_FILTER_LEADING_OVERSCAN_SLACK,\n VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS,\n alignWindowStart,\n pickNearestWindowStart,\n pivotFilterMissingWindowStarts,\n prunePivotFilterWindows,\n type PivotFilterOptionsWindow,\n} from \"@algorisys/zen-ui-core/virtual-window\";\n\n/**\n * Fetches pages of options as a list scrolls, and keeps only the ones near the\n * viewport.\n *\n * The index arithmetic — alignment, which pages are missing, what to prune,\n * which to fetch first — is all in @algorisys/zen-ui-core/virtual-window, shared\n * with the Solid binding and pinned by scripts/check-virtual-window.ts. What is\n * left here is the part that cannot be shared: the state machine, in React's\n * idiom rather than Solid's signals.\n *\n * The three things that make it not a for-loop:\n * - a fetch is debounced, because scrolling produces a range per frame\n * - a fetch can be overtaken, so responses carry a sequence number and stale\n * ones are dropped rather than painted over fresh data\n * - the same page must never be in flight twice\n */\n\nexport interface UseWindowedOptionPagesProps {\n pageSize: number;\n /** Fetch nothing while the panel is closed. */\n isActive: boolean;\n search: string;\n loadPage: (offset: number, limit: number, search: string) => Promise<{ values: string[]; hasMore: boolean; total: number }>;\n}\n\nexport interface WindowedOptionPages {\n loading: boolean;\n loadingWindow: boolean;\n optionsWindows: PivotFilterOptionsWindow[];\n totalCount: number;\n loadError: boolean;\n handleVisibleRange: (minIndex: number, maxIndex: number) => void;\n scheduleFetch: () => void;\n openPanelFetch: () => void;\n}\n\nexport function useWindowedOptionPages(props: UseWindowedOptionPagesProps): WindowedOptionPages {\n const [optionsWindows, setOptionsWindows] = React.useState<PivotFilterOptionsWindow[]>([]);\n const [totalCount, setTotalCount] = React.useState(0);\n const [loading, setLoading] = React.useState(false);\n const [loadingWindow, setLoadingWindow] = React.useState(false);\n const [loadError, setLoadError] = React.useState(false);\n\n // Refs, not state: none of these paint, and every one of them is read inside\n // an async callback that must see the CURRENT value rather than the value\n // captured when the fetch started.\n const seq = React.useRef(0);\n const inFlight = React.useRef(new Set<number>());\n const range = React.useRef({ minIndex: 0, maxIndex: 0 });\n const debounce = React.useRef<ReturnType<typeof setTimeout> | null>(null);\n\n // The props a fetch needs, read at fetch time. Without this the debounced\n // callback closes over the first render's props and searches for whatever was\n // typed when the component mounted.\n const latest = React.useRef(props);\n latest.current = props;\n\n const reset = React.useCallback(() => {\n seq.current += 1; // orphan anything in flight\n inFlight.current.clear();\n setOptionsWindows([]);\n setTotalCount(0);\n setLoadError(false);\n }, []);\n\n const fetchWindow = React.useCallback(async (start: number, isFirstPage: boolean) => {\n const { pageSize, loadPage, search } = latest.current;\n if (inFlight.current.has(start)) return;\n inFlight.current.add(start);\n\n const mySeq = seq.current;\n if (isFirstPage) setLoading(true);\n else setLoadingWindow(true);\n\n try {\n const res = await loadPage(start, pageSize, search);\n // Overtaken: the search changed, or the panel closed and reopened. Painting\n // this would show the previous question's answers.\n if (mySeq !== seq.current) return;\n\n setLoadError(false);\n setTotalCount(res.total);\n setOptionsWindows((prev) => {\n const next = prev.filter((w) => w.startIndex !== start).concat({ startIndex: start, values: res.values });\n next.sort((a, b) => a.startIndex - b.startIndex);\n // Windows are memory: a long list scrolled end to end would otherwise\n // hold every page it ever showed.\n return prunePivotFilterWindows(next, range.current.minIndex, range.current.maxIndex, pageSize);\n });\n } catch {\n if (mySeq !== seq.current) return;\n // Reported, not swallowed. This was computed and dropped, so a failed\n // fetch rendered as \"No matching values\".\n setLoadError(true);\n } finally {\n inFlight.current.delete(start);\n if (mySeq === seq.current) {\n if (isFirstPage) setLoading(false);\n else setLoadingWindow(false);\n }\n }\n }, []);\n\n const fetchMissing = React.useCallback(() => {\n const { pageSize, isActive } = latest.current;\n if (!isActive) return;\n const { minIndex, maxIndex } = range.current;\n\n setOptionsWindows((current) => {\n const missing = pivotFilterMissingWindowStarts(current, minIndex, maxIndex, pageSize).filter(\n (s) => !inFlight.current.has(s),\n );\n if (missing.length) {\n // Nearest to what the user is actually looking at, not first in the\n // array: at the bottom of a long list, page 0 is the least useful thing\n // to fetch.\n const mid = (minIndex + maxIndex) / 2;\n const next = pickNearestWindowStart(missing, mid, pageSize);\n if (next !== undefined) void fetchWindow(next, current.length === 0);\n }\n return current; // read-only pass\n });\n }, [fetchWindow]);\n\n const scheduleFetch = React.useCallback(() => {\n if (debounce.current) clearTimeout(debounce.current);\n // Scrolling produces a visible range every frame. Without this, so would the\n // fetches.\n debounce.current = setTimeout(fetchMissing, VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS);\n }, [fetchMissing]);\n\n const handleVisibleRange = React.useCallback(\n (minIndex: number, maxIndex: number) => {\n // Slack, so a one-row scroll does not re-fetch the page you are on.\n range.current = {\n minIndex: Math.max(0, minIndex - PIVOT_FILTER_LEADING_OVERSCAN_SLACK),\n maxIndex: maxIndex + PIVOT_FILTER_LEADING_OVERSCAN_SLACK,\n };\n scheduleFetch();\n },\n [scheduleFetch],\n );\n\n const openPanelFetch = React.useCallback(() => {\n reset();\n range.current = { minIndex: 0, maxIndex: latest.current.pageSize - 1 };\n void fetchWindow(alignWindowStart(0, latest.current.pageSize), true);\n }, [reset, fetchWindow]);\n\n // A new question needs new answers: the search changed, so everything loaded\n // is about the previous one.\n React.useEffect(() => {\n if (!props.isActive) return;\n reset();\n const id = setTimeout(() => {\n range.current = { minIndex: 0, maxIndex: props.pageSize - 1 };\n void fetchWindow(0, true);\n }, VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS);\n return () => clearTimeout(id);\n }, [props.search, props.isActive, props.pageSize, reset, fetchWindow]);\n\n React.useEffect(\n () => () => {\n if (debounce.current) clearTimeout(debounce.current);\n },\n [],\n );\n\n return { loading, loadingWindow, optionsWindows, totalCount, loadError, handleVisibleRange, scheduleFetch, openPanelFetch };\n}\n"],"names":["useWindowedOptionPages","props","optionsWindows","setOptionsWindows","React","totalCount","setTotalCount","loading","setLoading","loadingWindow","setLoadingWindow","loadError","setLoadError","seq","inFlight","range","debounce","latest","reset","fetchWindow","start","isFirstPage","pageSize","loadPage","search","mySeq","res","prev","next","a","b","prunePivotFilterWindows","fetchMissing","isActive","minIndex","maxIndex","current","missing","pivotFilterMissingWindowStarts","s","mid","pickNearestWindowStart","scheduleFetch","VIRTUAL_SCROLL_FETCH_DEBOUNCE_MS","handleVisibleRange","PIVOT_FILTER_LEADING_OVERSCAN_SLACK","openPanelFetch","alignWindowStart","id"],"mappings":";;AA+CO,SAASA,EAAuBC,GAAyD;AAC9F,QAAM,CAACC,GAAgBC,CAAiB,IAAIC,EAAM,SAAqC,CAAA,CAAE,GACnF,CAACC,GAAYC,CAAa,IAAIF,EAAM,SAAS,CAAC,GAC9C,CAACG,GAASC,CAAU,IAAIJ,EAAM,SAAS,EAAK,GAC5C,CAACK,GAAeC,CAAgB,IAAIN,EAAM,SAAS,EAAK,GACxD,CAACO,GAAWC,CAAY,IAAIR,EAAM,SAAS,EAAK,GAKhDS,IAAMT,EAAM,OAAO,CAAC,GACpBU,IAAWV,EAAM,OAAO,oBAAI,KAAa,GACzCW,IAAQX,EAAM,OAAO,EAAE,UAAU,GAAG,UAAU,GAAG,GACjDY,IAAWZ,EAAM,OAA6C,IAAI,GAKlEa,IAASb,EAAM,OAAOH,CAAK;AACjC,EA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,IAAAiB,EAAA;AACA,UAAM8B,IAAK,WAAW,MAAM;AAC1B,MAAAjC,EAAM,UAAU,EAAE,UAAU,GAAG,UAAUd,EAAM,WAAW,EAAA,GACrDkB,EAAY,GAAG,EAAI;AAAA,IAC1B,GAAGwB,CAAgC;AACnC,WAAO,MAAM,aAAaK,CAAE;AAAA,EAC9B,GAAG,CAAC/C,EAAM,QAAQA,EAAM,UAAUA,EAAM,UAAUiB,GAAOC,CAAW,CAAC,GAErEf,EAAM;AAAA,IACJ,MAAM,MAAM;AACV,MAAIY,EAAS,WAAS,aAAaA,EAAS,OAAO;AAAA,IACrD;AAAA,IACA,CAAA;AAAA,EAAC,GAGI,EAAE,SAAAT,GAAS,eAAAE,GAAe,gBAAAP,GAAgB,YAAAG,GAAY,WAAAM,GAAW,oBAAAiC,GAAoB,eAAAF,GAAe,gBAAAI,EAAA;AAC7G;"}
@@ -0,0 +1,71 @@
1
+ import { jsx as n, jsxs as i } from "react/jsx-runtime";
2
+ import "react";
3
+ import { pivotFilterWindowValueAt as p } from "./index267.js";
4
+ import { VirtualizedItems as f } from "./index175.js";
5
+ import { useLocale as b } from "./index90.js";
6
+ import { cn as z } from "./index199.js";
7
+ const h = 36, x = ({
8
+ totalCount: o,
9
+ optionsWindows: s,
10
+ isSelected: r,
11
+ onToggle: a,
12
+ onVisibleRange: l,
13
+ formatValue: t,
14
+ label: d,
15
+ className: m,
16
+ singleSelect: u
17
+ }) => {
18
+ const c = b();
19
+ return /* @__PURE__ */ n("ul", { role: "listbox", "aria-label": c.t("pivot.values", { label: d }), className: "zen-m-0 zen-list-none zen-p-0", children: /* @__PURE__ */ n(
20
+ f,
21
+ {
22
+ totalCount: o,
23
+ getItem: (e) => p(s, e),
24
+ onVisibleRange: l,
25
+ estimateSize: h,
26
+ maxHeight: 256,
27
+ overscan: 4,
28
+ className: z("zen-p-1", m),
29
+ children: ({ item: e }) => e === void 0 ? (
30
+ // A skeleton, not a blank: an empty row reads as "no value" rather
31
+ // than "not yet".
32
+ /* @__PURE__ */ i("div", { className: "zen-flex zen-h-full zen-w-full zen-items-center zen-gap-2 zen-px-2", "aria-hidden": !0, children: [
33
+ /* @__PURE__ */ n("div", { className: "zen-size-4 zen-shrink-0 zen-rounded-zen-sm zen-border zen-border-zen-border zen-bg-zen-muted motion-safe:zen-animate-pulse" }),
34
+ /* @__PURE__ */ n("div", { className: "zen-h-3 zen-w-3/4 zen-rounded-zen-sm zen-bg-zen-muted motion-safe:zen-animate-pulse" })
35
+ ] })
36
+ ) : /* @__PURE__ */ i(
37
+ "button",
38
+ {
39
+ type: "button",
40
+ role: "option",
41
+ "aria-selected": r(e),
42
+ onClick: () => a(e),
43
+ className: z(
44
+ "zen-flex zen-h-full zen-w-full zen-cursor-pointer zen-items-center zen-gap-2 zen-rounded-zen-sm zen-border-0 zen-bg-transparent zen-px-2 zen-text-start zen-text-sm zen-text-zen-foreground zen-transition-colors",
45
+ "hover:zen-bg-zen-muted focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-zen-primary"
46
+ ),
47
+ children: [
48
+ /* @__PURE__ */ n(
49
+ "span",
50
+ {
51
+ "aria-hidden": !0,
52
+ className: z(
53
+ "zen-flex zen-size-4 zen-shrink-0 zen-items-center zen-justify-center zen-border zen-border-zen-border",
54
+ u ? "zen-rounded-full" : "zen-rounded-zen-sm",
55
+ r(e) && "zen-bg-zen-primary zen-text-zen-primary-fg"
56
+ ),
57
+ children: r(e) ? "✓" : ""
58
+ }
59
+ ),
60
+ /* @__PURE__ */ n("span", { className: "zen-truncate", children: t ? t(e) : e })
61
+ ]
62
+ }
63
+ )
64
+ }
65
+ ) });
66
+ };
67
+ x.displayName = "WindowedVirtualList";
68
+ export {
69
+ x as WindowedVirtualList
70
+ };
71
+ //# sourceMappingURL=index269.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index269.js","sources":["../src/components/pivot/internal/windowed-virtual-list.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { pivotFilterWindowValueAt, type PivotFilterOptionsWindow } from \"@algorisys/zen-ui-core/virtual-window\";\nimport { cn } from \"../../../lib/cn\";\nimport { VirtualizedItems } from \"../../listbox/virtualized-items\";\nimport { useLocale } from \"../../locale/locale\";\n\n/**\n * A listbox over values that are not all loaded.\n *\n * The windowing is VirtualizedItems' sparse mode — this file used to carry its\n * own createVirtualizer, its own absolute-positioned row layer and its own\n * visible-range reporting, all of which VirtualizedItems already had in dense\n * form. The only thing that was genuinely missing was \"the list is longer than\n * what is loaded\", so that went into VirtualizedItems where every other listbox\n * in the library can reach it, rather than staying here where nothing could.\n *\n * What is left is the part that IS about pivot filters: an option row, a\n * checkbox, and a skeleton for rows whose page has not arrived.\n *\n * Mirrors the Solid binding.\n */\n\nexport interface WindowedVirtualListProps {\n totalCount: number;\n optionsWindows: PivotFilterOptionsWindow[];\n isSelected: (value: string) => boolean;\n onToggle: (value: string) => void;\n onVisibleRange: (minIndex: number, maxIndex: number) => void;\n formatValue?: (value: string) => string;\n label: string;\n className?: string;\n /**\n * Draw the indicator as a radio rather than a checkbox. A square box is a\n * promise you can tick more than one; when the menu takes a single value that\n * promise is a lie, and the user only finds out by trying. Mirrors Solid.\n */\n singleSelect?: boolean;\n}\n\nconst ROW_HEIGHT = 36;\n\nexport const WindowedVirtualList: React.FC<WindowedVirtualListProps> = ({\n totalCount,\n optionsWindows,\n isSelected,\n onToggle,\n onVisibleRange,\n formatValue,\n label,\n className,\n singleSelect,\n}) => {\n const loc = useLocale();\n return (\n <ul role=\"listbox\" aria-label={loc.t(\"pivot.values\", { label })} className=\"zen-m-0 zen-list-none zen-p-0\">\n <VirtualizedItems<string>\n totalCount={totalCount}\n // Sparse by global index: value 120 lives at offset 20 of the page that\n // starts at 100. undefined means \"not loaded\", not \"no value\".\n getItem={(index) => pivotFilterWindowValueAt(optionsWindows, index)}\n onVisibleRange={onVisibleRange}\n estimateSize={ROW_HEIGHT}\n maxHeight={256}\n overscan={4}\n className={cn(\"zen-p-1\", className)}\n >\n {({ item }) =>\n item === undefined ? (\n // A skeleton, not a blank: an empty row reads as \"no value\" rather\n // than \"not yet\".\n <div className=\"zen-flex zen-h-full zen-w-full zen-items-center zen-gap-2 zen-px-2\" aria-hidden>\n <div className=\"zen-size-4 zen-shrink-0 zen-rounded-zen-sm zen-border zen-border-zen-border zen-bg-zen-muted motion-safe:zen-animate-pulse\" />\n <div className=\"zen-h-3 zen-w-3/4 zen-rounded-zen-sm zen-bg-zen-muted motion-safe:zen-animate-pulse\" />\n </div>\n ) : (\n <button\n type=\"button\"\n role=\"option\"\n aria-selected={isSelected(item)}\n onClick={() => onToggle(item)}\n className={cn(\n \"zen-flex zen-h-full zen-w-full zen-cursor-pointer zen-items-center zen-gap-2 zen-rounded-zen-sm zen-border-0 zen-bg-transparent zen-px-2 zen-text-start zen-text-sm zen-text-zen-foreground zen-transition-colors\",\n \"hover:zen-bg-zen-muted focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-zen-primary\",\n )}\n >\n <span\n aria-hidden\n className={cn(\n \"zen-flex zen-size-4 zen-shrink-0 zen-items-center zen-justify-center zen-border zen-border-zen-border\",\n singleSelect ? \"zen-rounded-full\" : \"zen-rounded-zen-sm\",\n isSelected(item) && \"zen-bg-zen-primary zen-text-zen-primary-fg\",\n )}\n >\n {isSelected(item) ? \"✓\" : \"\"}\n </span>\n <span className=\"zen-truncate\">{formatValue ? formatValue(item) : item}</span>\n </button>\n )\n }\n </VirtualizedItems>\n </ul>\n );\n};\nWindowedVirtualList.displayName = \"WindowedVirtualList\";\n"],"names":["ROW_HEIGHT","WindowedVirtualList","totalCount","optionsWindows","isSelected","onToggle","onVisibleRange","formatValue","label","className","singleSelect","loc","useLocale","jsx","VirtualizedItems","index","pivotFilterWindowValueAt","cn","item","jsxs"],"mappings":";;;;;;AAuCA,MAAMA,IAAa,IAENC,IAA0D,CAAC;AAAA,EACtE,YAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;A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AAAL,EAAC,UAAK,WAAU,gBAAgB,cAAcN,EAAYW,CAAI,IAAIA,EAAA,CAAK;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACzE;AAAA,EAAA,GAIR;AAEF;AACAjB,EAAoB,cAAc;"}
@@ -0,0 +1,180 @@
1
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
+ import * as l from "react";
3
+ import { DATE_RANGE_OPERATORS as I, operatorMeta as $, resolveDateRange as E, formatDateRangeValue as K, toISODate as p, parseISODate as w } from "./index28.js";
4
+ import { useLocale as X } from "./index90.js";
5
+ import { Button as S } from "./index71.js";
6
+ import { Icon as Z } from "./index63.js";
7
+ import { Input as ee } from "./index4.js";
8
+ import { Popover as ne, PopoverTrigger as te, PopoverContent as oe } from "./index35.js";
9
+ import { Calendar as j } from "./index13.js";
10
+ import { cn as O } from "./index199.js";
11
+ const re = ["Day", "Week", "Month", "Quarter", "Year", "Rolling", "Fixed"], ae = ({
12
+ value: r,
13
+ defaultValue: d,
14
+ onValueChange: u,
15
+ operators: y,
16
+ weekStartsOn: f = 0,
17
+ now: b,
18
+ placeholder: W,
19
+ disabled: B,
20
+ formatDate: v = (a) => a.toLocaleDateString(),
21
+ className: L
22
+ }) => {
23
+ const a = X(), _ = W ?? a.t("dynamicDateRange.selectAPeriod"), R = (n, t) => a.t(n, t), [g, N] = l.useState(!1), [F, P] = l.useState(d), M = r !== void 0, [G, Q] = l.useState(r);
24
+ r !== G && (Q(r), r === void 0 && P(void 0));
25
+ const m = M ? r : F, x = l.useMemo(() => b ?? /* @__PURE__ */ new Date(), [b, g]), T = l.useMemo(
26
+ () => y ? I.filter((n) => y.includes(n.operator)) : I,
27
+ [y]
28
+ ), U = l.useMemo(() => {
29
+ const n = /* @__PURE__ */ new Map();
30
+ for (const t of T) {
31
+ const i = n.get(t.group) ?? [];
32
+ i.push(t), n.set(t.group, i);
33
+ }
34
+ return re.filter((t) => n.has(t)).map((t) => [t, n.get(t)]);
35
+ }, [T]), [e, c] = l.useState(m);
36
+ l.useEffect(() => {
37
+ g && c(m);
38
+ }, [g]);
39
+ const h = e?.operator, z = h ? $(h) : void 0, D = l.useMemo(
40
+ () => E(e, x, { weekStartsOn: f }),
41
+ [e, x, f]
42
+ ), A = !!(D.from || D.to), Y = (n) => {
43
+ const t = $(n);
44
+ if (!t) return;
45
+ const i = e && "count" in e ? e.count : 1, J = e && "includeCurrent" in e ? e.includeCurrent : !1, k = p(x);
46
+ t.arity === "count" ? c({ operator: n, count: i, includeCurrent: J }) : t.arity === "date" ? c({ operator: n, date: e && "date" in e ? e.date : k }) : t.arity === "range" ? c({
47
+ operator: "BETWEEN",
48
+ from: e && "from" in e ? e.from : k,
49
+ to: e && "to" in e ? e.to : k
50
+ }) : c({ operator: n });
51
+ }, q = (n) => {
52
+ M || P(n), u?.(n, E(n, b ?? /* @__PURE__ */ new Date(), { weekStartsOn: f })), N(!1);
53
+ }, H = m ? K(m, v, R) : _, C = m ? E(m, x, { weekStartsOn: f }) : {};
54
+ return /* @__PURE__ */ s(ne, { open: g, onOpenChange: N, children: [
55
+ /* @__PURE__ */ o(te, { asChild: !0, children: /* @__PURE__ */ s(
56
+ S,
57
+ {
58
+ variant: "outline",
59
+ color: "neutral",
60
+ disabled: B,
61
+ className: O("zen-justify-start zen-gap-2 zen-font-normal", L),
62
+ children: [
63
+ /* @__PURE__ */ o(Z, { name: "calendar", size: 16, className: "zen-shrink-0 zen-text-zen-muted-fg" }),
64
+ /* @__PURE__ */ o("span", { className: O(!m && "zen-text-zen-muted-fg"), children: H }),
65
+ m && (C.from || C.to) ? (
66
+ // The trigger says "Last 7 days"; this says which 7. Both matter —
67
+ // the name is the intent, the dates are the fact.
68
+ /* @__PURE__ */ s("span", { className: "zen-text-xs zen-text-zen-muted-fg", children: [
69
+ "(",
70
+ V(C, v, R),
71
+ ")"
72
+ ] })
73
+ ) : null
74
+ ]
75
+ }
76
+ ) }),
77
+ /* @__PURE__ */ o(oe, { className: "zen-w-auto zen-p-0", align: "start", children: /* @__PURE__ */ s("div", { className: "zen-flex zen-max-w-[34rem] zen-flex-col zen-gap-0 sm:zen-flex-row", children: [
78
+ /* @__PURE__ */ o(
79
+ "div",
80
+ {
81
+ role: "listbox",
82
+ "aria-label": a.t("dynamicDateRange.period"),
83
+ className: "zen-max-h-72 zen-w-48 zen-shrink-0 zen-overflow-y-auto zen-border-b zen-border-zen-border zen-p-1 sm:zen-border-b-0 sm:zen-border-r",
84
+ children: U.map(([n, t]) => /* @__PURE__ */ s("div", { children: [
85
+ /* @__PURE__ */ o("div", { className: "zen-px-2 zen-pb-1 zen-pt-2 zen-text-xs zen-font-medium zen-uppercase zen-tracking-wide zen-text-zen-muted-fg", children: a.t(`dateRange.group.${n}`) }),
86
+ t.map((i) => /* @__PURE__ */ o(
87
+ "button",
88
+ {
89
+ type: "button",
90
+ role: "option",
91
+ "aria-selected": h === i.operator,
92
+ onClick: () => Y(i.operator),
93
+ className: O(
94
+ "zen-flex zen-w-full zen-cursor-pointer zen-items-center zen-rounded-zen-sm zen-border-0 zen-px-2 zen-py-1.5",
95
+ "zen-text-start zen-text-sm zen-transition-colors",
96
+ "focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-zen-ring",
97
+ h === i.operator ? "zen-bg-zen-primary zen-text-zen-primary-fg" : "zen-bg-transparent zen-text-zen-foreground hover:zen-bg-zen-muted"
98
+ ),
99
+ children: a.t(`dateRange.op.${i.operator}`)
100
+ },
101
+ i.operator
102
+ ))
103
+ ] }, n))
104
+ }
105
+ ),
106
+ /* @__PURE__ */ s("div", { className: "zen-flex zen-min-w-[16rem] zen-flex-col zen-gap-3 zen-p-3", children: [
107
+ e ? null : /* @__PURE__ */ o("p", { className: "zen-m-0 zen-py-8 zen-text-center zen-text-sm zen-text-zen-muted-fg", children: a.t("dynamicDateRange.pickAPeriodOnThe") }),
108
+ z?.arity === "count" && e && "count" in e ? /* @__PURE__ */ s("div", { className: "zen-flex zen-flex-col zen-gap-2", children: [
109
+ /* @__PURE__ */ s("label", { className: "zen-flex zen-items-center zen-gap-2 zen-text-sm", children: [
110
+ /* @__PURE__ */ o("span", { className: "zen-text-zen-muted-fg", children: e.operator.startsWith("LAST") ? a.t("dynamicDateRange.last") : a.t("dynamicDateRange.next") }),
111
+ /* @__PURE__ */ o(
112
+ ee,
113
+ {
114
+ type: "number",
115
+ min: 0,
116
+ value: String(e.count),
117
+ onChange: (n) => {
118
+ const t = Number(n.target.value);
119
+ c({ ...e, count: Number.isFinite(t) ? t : 0 });
120
+ },
121
+ "aria-label": a.t(`dynamicDateRange.numberOf.${z.unit}`),
122
+ className: "zen-h-8 zen-w-20"
123
+ }
124
+ ),
125
+ /* @__PURE__ */ o("span", { className: "zen-text-zen-muted-fg", children: a.t(`dynamicDateRange.units.${z.unit}`) })
126
+ ] }),
127
+ /* @__PURE__ */ s("label", { className: "zen-flex zen-cursor-pointer zen-items-center zen-gap-2 zen-text-sm zen-text-zen-muted-fg", children: [
128
+ /* @__PURE__ */ o(
129
+ "input",
130
+ {
131
+ type: "checkbox",
132
+ checked: !!e.includeCurrent,
133
+ onChange: (n) => c({ ...e, includeCurrent: n.target.checked })
134
+ }
135
+ ),
136
+ a.t(`dynamicDateRange.includeCurrent.${z.unit}`)
137
+ ] })
138
+ ] }) : null,
139
+ z?.arity === "date" && e && "date" in e ? /* @__PURE__ */ o(
140
+ j,
141
+ {
142
+ mode: "single",
143
+ selected: w(e.date) ?? void 0,
144
+ onSelect: (n) => n && c({ ...e, date: p(n) })
145
+ }
146
+ ) : null,
147
+ z?.arity === "range" && e && "from" in e ? /* @__PURE__ */ o(
148
+ j,
149
+ {
150
+ mode: "range",
151
+ selected: { from: w(e.from) ?? void 0, to: w(e.to) ?? void 0 },
152
+ onSelect: (n) => c({
153
+ operator: "BETWEEN",
154
+ from: n?.from ? p(n.from) : e.from,
155
+ to: n?.to ? p(n.to) : n?.from ? p(n.from) : e.to
156
+ })
157
+ }
158
+ ) : null,
159
+ e ? /* @__PURE__ */ o(
160
+ "div",
161
+ {
162
+ "aria-live": "polite",
163
+ className: "zen-rounded-zen-md zen-bg-zen-muted zen-px-3 zen-py-2 zen-text-xs zen-text-zen-muted-fg",
164
+ children: A ? V(D, v, R) : "—"
165
+ }
166
+ ) : null,
167
+ /* @__PURE__ */ s("div", { className: "zen-flex zen-justify-end zen-gap-2", children: [
168
+ /* @__PURE__ */ o(S, { variant: "ghost", color: "neutral", size: "sm", onClick: () => N(!1), children: a.t("dynamicDateRange.cancel") }),
169
+ /* @__PURE__ */ o(S, { size: "sm", disabled: !e || !A, onClick: () => q(e), children: a.t("dynamicDateRange.apply") })
170
+ ] })
171
+ ] })
172
+ ] }) })
173
+ ] });
174
+ };
175
+ ae.displayName = "DynamicDateRange";
176
+ const V = (r, d, u) => r.from && r.to ? u("dateRange.span", { from: d(r.from), to: d(r.to) }) : r.from ? u("dateRange.from", { date: d(r.from) }) : r.to ? u("dateRange.until", { date: d(r.to) }) : "—";
177
+ export {
178
+ ae as DynamicDateRange
179
+ };
180
+ //# sourceMappingURL=index27.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index27.js","sources":["../src/components/form/dynamic-date-range/dynamic-date-range.tsx"],"sourcesContent":["import * as React from \"react\";\nimport {\n DATE_RANGE_OPERATORS,\n formatDateRangeValue,\n operatorMeta,\n parseISODate,\n resolveDateRange,\n toISODate,\n type DateRangeOperator,\n type DateRangeValue,\n type OperatorMeta,\n type DateRangeTranslate,\n type ResolvedRange,\n} from \"@algorisys/zen-ui-core/date-range\";\nimport { useLocale, type MessageKey } from \"../../locale/locale\";\nimport { cn } from \"../../../lib/cn\";\nimport { Button } from \"../../button/button\";\nimport { Icon } from \"../../icon/icon\";\nimport { Input } from \"../input/input\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"../../popover/popover\";\nimport { Calendar } from \"../date-picker/date-picker\";\n\n/**\n * DynamicDateRange — a date range you describe rather than point at.\n *\n * <DynamicDateRange value={v} onValueChange={(v, resolved) => …} />\n *\n * The difference from DateRangePicker is the value, not the popover.\n * DateRangePicker answers \"which two dates?\" and stores two dates.\n * This answers \"which period?\" and stores the period — `{operator:\n * \"LAST_DAYS\", count: 7}`. Save that in a filter variant and it still means\n * the last seven days next month; save two dates and it means the same frozen\n * week forever. That is the entire point, so `onValueChange` hands back both:\n * the semantic value to store, and the resolved dates to query with.\n *\n * All the date maths is in @algorisys/zen-ui-core/date-range, so this and the\n * Solid binding cannot disagree about when a quarter starts.\n *\n * The popover previews the dates the choice resolves to. A semantic range that\n * will not tell you what it currently means is a filter people stop trusting.\n */\n\nexport interface DynamicDateRangeProps {\n value?: DateRangeValue;\n defaultValue?: DateRangeValue;\n /** Hands back the value to STORE and the dates to QUERY with. */\n onValueChange?: (value: DateRangeValue | undefined, resolved: ResolvedRange) => void;\n /** Restrict the operator list. Defaults to all of them. */\n operators?: DateRangeOperator[];\n /** 0 = Sunday, matching the calendar. */\n weekStartsOn?: number;\n /** Override \"now\". For tests and stories — resolution is otherwise live. */\n now?: Date;\n placeholder?: string;\n disabled?: boolean;\n /** Formats dates in the trigger and the preview. */\n formatDate?: (date: Date) => string;\n className?: string;\n}\n\nconst GROUP_ORDER = [\"Day\", \"Week\", \"Month\", \"Quarter\", \"Year\", \"Rolling\", \"Fixed\"] as const; // i18n-ignore (group ids: shown through dateRange.group.<id>)\n\nexport const DynamicDateRange: React.FC<DynamicDateRangeProps> = ({\n value,\n defaultValue,\n onValueChange,\n operators,\n weekStartsOn = 0,\n now,\n placeholder: placeholderProp,\n disabled,\n formatDate = (d) => d.toLocaleDateString(),\n className,\n}) => {\n const loc = useLocale();\n const placeholder = placeholderProp ?? loc.t(\"dynamicDateRange.selectAPeriod\");\n // Core builds its phrases by catalogue key through this, so a translation reaches them too.\n const say: DateRangeTranslate = (key, values) => loc.t(key as MessageKey, values);\n const [open, setOpen] = React.useState(false);\n const [internal, setInternal] = React.useState<DateRangeValue | undefined>(defaultValue);\n const isControlled = value !== undefined;\n /*\n * A parent that controlled the value and then hands back `undefined` is\n * clearing it — that is the only way to say \"empty\" under this contract. The\n * component falls back to its own state at that point, so that state must not\n * still hold whatever was picked while it was briefly uncontrolled: a List\n * Report's Clear emptied the field once, and after picking \"Today\" a second\n * Clear left \"Today\" showing. Adjusted during render rather than in an\n * effect, so the stale value is never painted.\n */\n const [prevValue, setPrevValue] = React.useState(value);\n if (value !== prevValue) {\n setPrevValue(value);\n if (value === undefined) setInternal(undefined);\n }\n const current = isControlled ? value : internal;\n\n // A fresh Date every render would make every memo below a new object each\n // time. Pinned per open instead — and a popover that changed its own preview\n // while you read it would be worse than slightly stale.\n //\n // `open` is not a memo input, so the rule calls it unnecessary; it is here to\n // RE-pin the clock each time the popover opens, or a tab left open overnight\n // would preview yesterday's dates. Deliberate, not an oversight.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const clock = React.useMemo(() => now ?? new Date(), [now, open]);\n\n const list = React.useMemo(\n () => (operators ? DATE_RANGE_OPERATORS.filter((o) => operators.includes(o.operator)) : DATE_RANGE_OPERATORS),\n [operators],\n );\n\n const groups = React.useMemo(() => {\n const by = new Map<string, OperatorMeta[]>();\n for (const o of list) {\n const g = by.get(o.group) ?? [];\n g.push(o);\n by.set(o.group, g);\n }\n return GROUP_ORDER.filter((g) => by.has(g)).map((g) => [g, by.get(g)!] as const);\n }, [list]);\n\n // The popover edits a draft and commits on Apply, matching DateRangePicker's\n // Cancel/Done contract. A half-built \"Between\" with only one end is a normal\n // state to be in, not a value to emit.\n const [draft, setDraft] = React.useState<DateRangeValue | undefined>(current);\n // Seeded on open only. Re-seeding while open would overwrite what is being\n // typed the moment a controlled parent re-rendered for any other reason.\n React.useEffect(() => {\n if (open) setDraft(current);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [open]);\n\n const draftOp = draft?.operator;\n const meta = draftOp ? operatorMeta(draftOp) : undefined;\n const preview = React.useMemo(\n () => resolveDateRange(draft, clock, { weekStartsOn }),\n [draft, clock, weekStartsOn],\n );\n const previewValid = !!(preview.from || preview.to);\n\n const pick = (op: DateRangeOperator) => {\n const m = operatorMeta(op);\n if (!m) return;\n // Carry the count across a change of unit: someone who typed 7 for days and\n // then switches to weeks meant 7 weeks, not a reset to 1.\n const keptCount = draft && \"count\" in draft ? draft.count : 1;\n const keptIncl = draft && \"includeCurrent\" in draft ? draft.includeCurrent : false;\n const today = toISODate(clock);\n if (m.arity === \"count\") setDraft({ operator: op as never, count: keptCount, includeCurrent: keptIncl });\n else if (m.arity === \"date\") setDraft({ operator: op as never, date: draft && \"date\" in draft ? draft.date : today });\n else if (m.arity === \"range\")\n setDraft({\n operator: \"BETWEEN\",\n from: draft && \"from\" in draft ? draft.from : today,\n to: draft && \"to\" in draft ? draft.to : today,\n });\n else setDraft({ operator: op as never });\n };\n\n const commit = (next: DateRangeValue | undefined) => {\n if (!isControlled) setInternal(next);\n onValueChange?.(next, resolveDateRange(next, now ?? new Date(), { weekStartsOn }));\n setOpen(false);\n };\n\n const label = current ? formatDateRangeValue(current, formatDate, say) : placeholder;\n const resolvedNow = current ? resolveDateRange(current, clock, { weekStartsOn }) : {};\n\n return (\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger asChild>\n <Button\n variant=\"outline\"\n color=\"neutral\"\n disabled={disabled}\n className={cn(\"zen-justify-start zen-gap-2 zen-font-normal\", className)}\n >\n <Icon name=\"calendar\" size={16} className=\"zen-shrink-0 zen-text-zen-muted-fg\" />\n <span className={cn(!current && \"zen-text-zen-muted-fg\")}>{label}</span>\n {current && (resolvedNow.from || resolvedNow.to) ? (\n // The trigger says \"Last 7 days\"; this says which 7. Both matter —\n // the name is the intent, the dates are the fact.\n <span className=\"zen-text-xs zen-text-zen-muted-fg\">({describe(resolvedNow, formatDate, say)})</span>\n ) : null}\n </Button>\n </PopoverTrigger>\n\n <PopoverContent className=\"zen-w-auto zen-p-0\" align=\"start\">\n <div className=\"zen-flex zen-max-w-[34rem] zen-flex-col zen-gap-0 sm:zen-flex-row\">\n <div\n role=\"listbox\"\n aria-label={loc.t(\"dynamicDateRange.period\")}\n className=\"zen-max-h-72 zen-w-48 zen-shrink-0 zen-overflow-y-auto zen-border-b zen-border-zen-border zen-p-1 sm:zen-border-b-0 sm:zen-border-r\"\n >\n {groups.map(([group, items]) => (\n <div key={group}>\n <div className=\"zen-px-2 zen-pb-1 zen-pt-2 zen-text-xs zen-font-medium zen-uppercase zen-tracking-wide zen-text-zen-muted-fg\">\n {loc.t(`dateRange.group.${group}` as MessageKey)}\n </div>\n {items.map((o) => (\n <button\n key={o.operator}\n type=\"button\"\n role=\"option\"\n aria-selected={draftOp === o.operator}\n onClick={() => pick(o.operator)}\n className={cn(\n \"zen-flex zen-w-full zen-cursor-pointer zen-items-center zen-rounded-zen-sm zen-border-0 zen-px-2 zen-py-1.5\",\n \"zen-text-start zen-text-sm zen-transition-colors\",\n \"focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-zen-ring\",\n draftOp === o.operator\n ? \"zen-bg-zen-primary zen-text-zen-primary-fg\"\n : \"zen-bg-transparent zen-text-zen-foreground hover:zen-bg-zen-muted\",\n )}\n >\n {loc.t(`dateRange.op.${o.operator}` as MessageKey)}\n </button>\n ))}\n </div>\n ))}\n </div>\n\n <div className=\"zen-flex zen-min-w-[16rem] zen-flex-col zen-gap-3 zen-p-3\">\n {!draft ? (\n <p className=\"zen-m-0 zen-py-8 zen-text-center zen-text-sm zen-text-zen-muted-fg\">\n {loc.t(\"dynamicDateRange.pickAPeriodOnThe\")}\n </p>\n ) : null}\n\n {meta?.arity === \"count\" && draft && \"count\" in draft ? (\n <div className=\"zen-flex zen-flex-col zen-gap-2\">\n <label className=\"zen-flex zen-items-center zen-gap-2 zen-text-sm\">\n <span className=\"zen-text-zen-muted-fg\">\n {draft.operator.startsWith(\"LAST\") ? loc.t(\"dynamicDateRange.last\") : loc.t(\"dynamicDateRange.next\")}\n </span>\n <Input\n type=\"number\"\n min={0}\n value={String(draft.count)}\n onChange={(e) => {\n const n = Number(e.target.value);\n setDraft({ ...draft, count: Number.isFinite(n) ? n : 0 });\n }}\n aria-label={loc.t(`dynamicDateRange.numberOf.${meta.unit}` as MessageKey)}\n className=\"zen-h-8 zen-w-20\"\n />\n <span className=\"zen-text-zen-muted-fg\">{loc.t(`dynamicDateRange.units.${meta.unit}` as MessageKey)}</span>\n </label>\n <label className=\"zen-flex zen-cursor-pointer zen-items-center zen-gap-2 zen-text-sm zen-text-zen-muted-fg\">\n <input\n type=\"checkbox\"\n checked={!!draft.includeCurrent}\n onChange={(e) => setDraft({ ...draft, includeCurrent: e.target.checked })}\n />\n {/* Named for what it does to the dates, not \"includeCurrent\" —\n the whole hazard is that the difference is invisible. */}\n {loc.t(`dynamicDateRange.includeCurrent.${meta.unit}` as MessageKey)}\n </label>\n </div>\n ) : null}\n\n {meta?.arity === \"date\" && draft && \"date\" in draft ? (\n <Calendar\n mode=\"single\"\n selected={parseISODate(draft.date) ?? undefined}\n onSelect={(d) => d && setDraft({ ...draft, date: toISODate(d) })}\n />\n ) : null}\n\n {meta?.arity === \"range\" && draft && \"from\" in draft ? (\n <Calendar\n mode=\"range\"\n selected={{ from: parseISODate(draft.from) ?? undefined, to: parseISODate(draft.to) ?? undefined }}\n onSelect={(r) =>\n setDraft({\n operator: \"BETWEEN\",\n from: r?.from ? toISODate(r.from) : draft.from,\n to: r?.to ? toISODate(r.to) : r?.from ? toISODate(r.from) : draft.to,\n })\n }\n />\n ) : null}\n\n {draft ? (\n <div\n aria-live=\"polite\"\n className=\"zen-rounded-zen-md zen-bg-zen-muted zen-px-3 zen-py-2 zen-text-xs zen-text-zen-muted-fg\"\n >\n {previewValid ? describe(preview, formatDate, say) : \"—\"}\n </div>\n ) : null}\n\n <div className=\"zen-flex zen-justify-end zen-gap-2\">\n <Button variant=\"ghost\" color=\"neutral\" size=\"sm\" onClick={() => setOpen(false)}>\n {loc.t(\"dynamicDateRange.cancel\")}\n </Button>\n <Button size=\"sm\" disabled={!draft || !previewValid} onClick={() => commit(draft)}>\n {loc.t(\"dynamicDateRange.apply\")}\n </Button>\n </div>\n </div>\n </div>\n </PopoverContent>\n </Popover>\n );\n};\nDynamicDateRange.displayName = \"DynamicDateRange\";\n\n/** \"1 Jul – 7 Jul\", \"from 1 Jul\", \"until 7 Jul\". */\nconst describe = (r: ResolvedRange, formatDate: (d: Date) => string, say: DateRangeTranslate): string => {\n if (r.from && r.to) return say(\"dateRange.span\", { from: formatDate(r.from), to: formatDate(r.to) });\n if (r.from) return say(\"dateRange.from\", { date: formatDate(r.from) });\n if (r.to) return say(\"dateRange.until\", { date: formatDate(r.to) });\n return \"—\";\n};\n"],"names":["GROUP_ORDER","DynamicDateRange","value","defaultValue","onValueChange","operators","weekStartsOn","now","placeholderProp","disabled","formatDate","d","className","loc","useLocale","placeholder","say","key","values","open","setOpen","React","internal","setInternal","isControlled","prevValue","setPrevValue","current","clock","list","DATE_RANGE_OPERATORS","o","groups","by","g","draft","setDraft","draftOp","meta","operatorMeta","preview","resolveDateRange","previewValid","pick","op","m","keptCount","keptIncl","today","toISODate","commit","next","label","formatDateRangeValue","resolvedNow","jsxs","Popover","jsx","PopoverTrigger","Button","cn","Icon","describe","PopoverContent","group","items","Input","e","n","Calendar","parseISODate","r"],"mappings":";;;;;;;;;;AA4DA,MAAMA,KAAc,CAAC,OAAO,QAAQ,SAAS,WAAW,QAAQ,WAAW,OAAO,GAErEC,KAAoD,CAAC;AAAA,EAChE,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,KAAAC;AAAA,EACA,aAAaC;AAAA,EACb,UAAAC;AAAA,EACA,YAAAC,IAAa,CAACC,MAAMA,EAAE,mBAAA;AAAA,EACtB,WAAAC;AACF,MAAM;AACJ,QAAMC,IAAMC,EAAA,GACNC,IAAcP,KAAmBK,EAAI,EAAE,gCAAgC,GAEvEG,IAA0B,CAACC,GAAKC,MAAWL,EAAI,EAAEI,GAAmBC,CAAM,GAC1E,CAACC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B,GAAYM,CAAG,IAAI;AAAA,UAAA;AAAA,QAAA,IAErD;AAAA,QAEJ,gBAAAuC,EAAC,OAAA,EAAI,WAAU,sCACb,UAAA;AAAA,UAAA,gBAAAE,EAACE,GAAA,EAAO,SAAQ,SAAQ,OAAM,WAAU,MAAK,MAAK,SAAS,MAAMvC,EAAQ,EAAK,GAC3E,UAAAP,EAAI,EAAE,yBAAyB,GAClC;AAAA,4BACC8C,GAAA,EAAO,MAAK,MAAK,UAAU,CAACxB,KAAS,CAACO,GAAc,SAAS,MAAMQ,EAAOf,CAAK,GAC7E,UAAAtB,EAAI,EAAE,wBAAwB,EAAA,CACjC;AAAA,QAAA,EAAA,CACF;AAAA,MAAA,EAAA,CACF;AAAA,IAAA,EAAA,CACF,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;AACAZ,GAAiB,cAAc;AAG/B,MAAM6D,IAAW,CAAC,GAAkBpD,GAAiCM,MAC/D,EAAE,QAAQ,EAAE,KAAWA,EAAI,kBAAkB,EAAE,MAAMN,EAAW,EAAE,IAAI,GAAG,IAAIA,EAAW,EAAE,EAAE,GAAG,IAC/F,EAAE,OAAaM,EAAI,kBAAkB,EAAE,MAAMN,EAAW,EAAE,IAAI,GAAG,IACjE,EAAE,KAAWM,EAAI,mBAAmB,EAAE,MAAMN,EAAW,EAAE,EAAE,GAAG,IAC3D;"}
@@ -0,0 +1,30 @@
1
+ import * as f from "react";
2
+ function l(n, o) {
3
+ if (typeof n == "function")
4
+ return n(o);
5
+ n != null && (n.current = o);
6
+ }
7
+ function i(...n) {
8
+ return (o) => {
9
+ let u = !1;
10
+ const c = n.map((t) => {
11
+ const e = l(t, o);
12
+ return !u && typeof e == "function" && (u = !0), e;
13
+ });
14
+ if (u)
15
+ return () => {
16
+ for (let t = 0; t < c.length; t++) {
17
+ const e = c[t];
18
+ typeof e == "function" ? e() : l(n[t], null);
19
+ }
20
+ };
21
+ };
22
+ }
23
+ function s(...n) {
24
+ return f.useCallback(i(...n), n);
25
+ }
26
+ export {
27
+ i as composeRefs,
28
+ s as useComposedRefs
29
+ };
30
+ //# sourceMappingURL=index270.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index270.js","sources":["../../../node_modules/.bun/@radix-ui+react-compose-refs@1.1.3+e14d3f224186685e/node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACT,CAAC;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAO,IAEPR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAExB;AAAA,MACF;AAAA,EAEJ;AACF;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ function i(r) {
2
+ var f, n, t = "";
3
+ if (typeof r == "string" || typeof r == "number") t += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) {
5
+ var o = r.length;
6
+ for (f = 0; f < o; f++) r[f] && (n = i(r[f])) && (t && (t += " "), t += n);
7
+ } else for (n in r) r[n] && (t && (t += " "), t += n);
8
+ return t;
9
+ }
10
+ function a() {
11
+ for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = i(r)) && (t && (t += " "), t += f);
12
+ return t;
13
+ }
14
+ export {
15
+ a as clsx
16
+ };
17
+ //# sourceMappingURL=index271.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index271.js","sources":["../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["r","e","t","f","n","clsx"],"mappings":"AAAA,SAASA,EAAEC,GAAE;AAAC,MAAIC,GAAEC,GAAEC,IAAE;AAAG,MAAa,OAAOH,KAAjB,YAA8B,OAAOA,KAAjB,SAAmB,CAAAG,KAAGH;AAAA,WAAoB,OAAOA,KAAjB,SAAmB,KAAG,MAAM,QAAQA,CAAC,GAAE;AAAC,QAAI,IAAEA,EAAE;AAAO,SAAIC,IAAE,GAAEA,IAAE,GAAEA,IAAI,CAAAD,EAAEC,CAAC,MAAIC,IAAEH,EAAEC,EAAEC,CAAC,CAAC,OAAKE,MAAIA,KAAG,MAAKA,KAAGD;AAAA,EAAE,MAAM,MAAIA,KAAKF,EAAE,CAAAA,EAAEE,CAAC,MAAIC,MAAIA,KAAG,MAAKA,KAAGD;AAAG,SAAOC;AAAC;AAAQ,SAASC,IAAM;AAAC,WAAQJ,GAAEC,GAAEC,IAAE,GAAEC,IAAE,IAAG,IAAE,UAAU,QAAOD,IAAE,GAAEA,IAAI,EAACF,IAAE,UAAUE,CAAC,OAAKD,IAAEF,EAAEC,CAAC,OAAKG,MAAIA,KAAG,MAAKA,KAAGF;AAAG,SAAOE;AAAC;","x_google_ignoreList":[0]}
@@ -0,0 +1,10 @@
1
+ function f(n, r, { checkForDefaultPrevented: t = !0 } = {}) {
2
+ return function(e) {
3
+ if (n?.(e), t === !1 || !e || !e.defaultPrevented)
4
+ return r?.(e);
5
+ };
6
+ }
7
+ export {
8
+ f as composeEventHandlers
9
+ };
10
+ //# sourceMappingURL=index272.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index272.js","sources":["../../../node_modules/.bun/@radix-ui+primitive@1.1.5/node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AAEA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAI,IAAK,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,IAAuBG,CAAK,GACxBD,MAA6B,MAAS,CAACC,KAAS,CAACA,EAAM;AACzD,aAAOF,IAAkBE,CAAK;AAAA,EAElC;AACF;","x_google_ignoreList":[0]}