@erxes/ui 3.4.22 → 4.0.0-v2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1545) hide show
  1. package/README.md +28 -58
  2. package/dist/base.css +137 -0
  3. package/dist/components/accordion.d.ts +10 -0
  4. package/dist/components/accordion.js +34 -0
  5. package/dist/components/alert-dialog.d.ts +24 -0
  6. package/dist/components/alert-dialog.js +57 -0
  7. package/dist/components/alert.d.ts +13 -0
  8. package/dist/components/alert.js +40 -0
  9. package/dist/components/avatar.d.ts +17 -0
  10. package/dist/components/avatar.js +52 -0
  11. package/dist/components/background-gradient-animation.d.ts +7 -0
  12. package/dist/components/background-gradient-animation.js +51 -0
  13. package/dist/components/badge.d.ts +10 -0
  14. package/dist/components/badge.js +53 -0
  15. package/dist/components/breadcrumb.d.ts +23 -0
  16. package/dist/components/breadcrumb.js +66 -0
  17. package/dist/components/button.d.ts +18 -0
  18. package/dist/components/button.js +66 -0
  19. package/dist/components/calendar.d.ts +4 -0
  20. package/dist/components/calendar.js +102 -0
  21. package/dist/components/card.d.ts +15 -0
  22. package/dist/components/card.js +42 -0
  23. package/dist/components/chart-config.d.ts +26 -0
  24. package/dist/components/chart-config.js +35 -0
  25. package/dist/components/charts.d.ts +27 -0
  26. package/dist/components/charts.js +117 -0
  27. package/dist/components/checkbox.d.ts +2 -0
  28. package/dist/components/checkbox.js +35 -0
  29. package/dist/components/choicebox-group.d.ts +19 -0
  30. package/dist/components/choicebox-group.js +42 -0
  31. package/dist/components/collapsible.d.ts +9 -0
  32. package/dist/components/collapsible.js +16 -0
  33. package/dist/components/color-picker.d.ts +27 -0
  34. package/dist/components/color-picker.js +130 -0
  35. package/dist/components/combobox.d.ts +48 -0
  36. package/dist/components/combobox.js +141 -0
  37. package/dist/components/command-bar.d.ts +17 -0
  38. package/dist/components/command-bar.js +59 -0
  39. package/dist/components/command.d.ts +51 -0
  40. package/dist/components/command.js +145 -0
  41. package/dist/components/context-menu.d.ts +22 -0
  42. package/dist/components/context-menu.js +33 -0
  43. package/dist/components/copy-text.d.ts +7 -0
  44. package/dist/components/copy-text.js +29 -0
  45. package/dist/components/date-picker-value.d.ts +32 -0
  46. package/dist/components/date-picker-value.js +120 -0
  47. package/dist/components/date-picker.d.ts +29 -0
  48. package/dist/components/date-picker.js +167 -0
  49. package/dist/components/date-text-input.d.ts +26 -0
  50. package/dist/components/date-text-input.js +87 -0
  51. package/dist/components/date-time-input.d.ts +12 -0
  52. package/dist/components/date-time-input.js +21 -0
  53. package/dist/components/dialog.d.ts +34 -0
  54. package/dist/components/dialog.js +88 -0
  55. package/dist/components/drag-handle.d.ts +4 -0
  56. package/dist/components/drag-handle.js +17 -0
  57. package/dist/components/dropdown-menu.d.ts +53 -0
  58. package/dist/components/dropdown-menu.js +121 -0
  59. package/dist/components/empty.d.ts +18 -0
  60. package/dist/components/empty.js +65 -0
  61. package/dist/components/form.d.ts +48 -0
  62. package/dist/components/form.js +109 -0
  63. package/dist/components/hover-card.d.ts +9 -0
  64. package/dist/components/hover-card.js +26 -0
  65. package/dist/components/info-card.d.ts +12 -0
  66. package/dist/components/info-card.js +36 -0
  67. package/dist/components/input-group.d.ts +22 -0
  68. package/dist/components/input-group.js +42 -0
  69. package/dist/components/input.d.ts +28 -0
  70. package/dist/components/input.js +67 -0
  71. package/dist/components/kbd.d.ts +7 -0
  72. package/dist/components/kbd.js +16 -0
  73. package/dist/components/label.d.ts +8 -0
  74. package/dist/components/label.js +22 -0
  75. package/dist/components/multiselect.d.ts +21 -0
  76. package/dist/components/multiselect.js +107 -0
  77. package/dist/components/on-demand.d.ts +17 -0
  78. package/dist/components/on-demand.js +42 -0
  79. package/dist/components/popover.d.ts +22 -0
  80. package/dist/components/popover.js +46 -0
  81. package/dist/components/radio-group.d.ts +9 -0
  82. package/dist/components/radio-group.js +30 -0
  83. package/dist/components/resizable.d.ts +14 -0
  84. package/dist/components/resizable.js +19 -0
  85. package/dist/components/scroll-area.d.ts +20 -0
  86. package/dist/components/scroll-area.js +41 -0
  87. package/dist/components/select.d.ts +30 -0
  88. package/dist/components/select.js +115 -0
  89. package/dist/components/separator.d.ts +8 -0
  90. package/dist/components/separator.js +17 -0
  91. package/dist/components/sheet.d.ts +35 -0
  92. package/dist/components/sheet.js +118 -0
  93. package/dist/components/sidebar/constants.d.ts +10 -0
  94. package/dist/components/sidebar/constants.js +16 -0
  95. package/dist/components/sidebar/context.d.ts +29 -0
  96. package/dist/components/sidebar/context.js +123 -0
  97. package/dist/components/sidebar/group.d.ts +10 -0
  98. package/dist/components/sidebar/group.js +43 -0
  99. package/dist/components/sidebar/layout.d.ts +14 -0
  100. package/dist/components/sidebar/layout.js +57 -0
  101. package/dist/components/sidebar/menu-sub.d.ts +9 -0
  102. package/dist/components/sidebar/menu-sub.js +36 -0
  103. package/dist/components/sidebar/menu.d.ts +24 -0
  104. package/dist/components/sidebar/menu.js +86 -0
  105. package/dist/components/sidebar/panel.d.ts +7 -0
  106. package/dist/components/sidebar/panel.js +110 -0
  107. package/dist/components/sidebar/root.d.ts +10 -0
  108. package/dist/components/sidebar/root.js +81 -0
  109. package/dist/components/sidebar/trigger.d.ts +3 -0
  110. package/dist/components/sidebar/trigger.js +27 -0
  111. package/dist/components/sidebar-tree-indicator.d.ts +7 -0
  112. package/dist/components/sidebar-tree-indicator.js +69 -0
  113. package/dist/components/sidebar.d.ts +38 -0
  114. package/dist/components/sidebar.js +40 -0
  115. package/dist/components/skeleton.d.ts +7 -0
  116. package/dist/components/skeleton.js +26 -0
  117. package/dist/components/slider.d.ts +6 -0
  118. package/dist/components/slider.js +24 -0
  119. package/dist/components/spinner.d.ts +14 -0
  120. package/dist/components/spinner.js +52 -0
  121. package/dist/components/string-array.d.ts +9 -0
  122. package/dist/components/string-array.js +44 -0
  123. package/dist/components/switch.d.ts +7 -0
  124. package/dist/components/switch.js +25 -0
  125. package/dist/components/table.d.ts +30 -0
  126. package/dist/components/table.js +78 -0
  127. package/dist/components/tabs.d.ts +45 -0
  128. package/dist/components/tabs.js +122 -0
  129. package/dist/components/text-overflow.d.ts +15 -0
  130. package/dist/components/text-overflow.js +53 -0
  131. package/dist/components/textarea.d.ts +9 -0
  132. package/dist/components/textarea.js +33 -0
  133. package/dist/components/toaster.d.ts +2 -0
  134. package/dist/components/toaster.js +46 -0
  135. package/dist/components/toggle-group.d.ts +12 -0
  136. package/dist/components/toggle-group.js +36 -0
  137. package/dist/components/toggle.d.ts +7 -0
  138. package/dist/components/toggle.js +33 -0
  139. package/dist/components/tooltip.d.ts +10 -0
  140. package/dist/components/tooltip.js +28 -0
  141. package/dist/components/upload.d.ts +41 -0
  142. package/dist/components/upload.js +200 -0
  143. package/dist/components.css +325 -0
  144. package/dist/constants/CountryPhoneCodes.d.ts +7 -0
  145. package/dist/constants/CountryPhoneCodes.js +13 -0
  146. package/dist/constants/IntlLanguages.d.ts +74 -0
  147. package/dist/constants/IntlLanguages.js +76 -0
  148. package/dist/constants/SexCodes.d.ts +4 -0
  149. package/dist/constants/SexCodes.js +9 -0
  150. package/dist/federation.d.ts +10 -0
  151. package/dist/federation.js +24 -0
  152. package/dist/fonts.css +5 -0
  153. package/dist/hooks/use-confirm.d.ts +25 -0
  154. package/dist/hooks/use-confirm.js +131 -0
  155. package/dist/hooks/use-media-query.d.ts +1 -0
  156. package/dist/hooks/use-media-query.js +13 -0
  157. package/dist/hooks/use-mobile.d.ts +1 -0
  158. package/dist/hooks/use-mobile.js +6 -0
  159. package/dist/hooks/use-query-state.d.ts +16 -0
  160. package/dist/hooks/use-query-state.js +122 -0
  161. package/dist/hooks/use-toast.d.ts +19 -0
  162. package/dist/hooks/use-toast.js +18 -0
  163. package/dist/hooks/use-upload.d.ts +34 -0
  164. package/dist/hooks/use-upload.js +77 -0
  165. package/dist/index.d.ts +104 -0
  166. package/dist/index.js +99 -0
  167. package/dist/lib/cn-tables.d.ts +27 -0
  168. package/dist/lib/cn-tables.js +128 -0
  169. package/dist/lib/keyed-atom.d.ts +3 -0
  170. package/dist/lib/keyed-atom.js +6 -0
  171. package/dist/lib/utils.d.ts +14 -0
  172. package/dist/lib/utils.js +15 -0
  173. package/dist/modules/attachments/attachment-media.d.ts +10 -0
  174. package/dist/modules/attachments/attachment-media.js +87 -0
  175. package/dist/modules/attachments/use-carousel.d.ts +10 -0
  176. package/dist/modules/attachments/use-carousel.js +27 -0
  177. package/dist/modules/blocks/components/BarcodeAttribute.d.ts +10 -0
  178. package/dist/modules/blocks/components/BarcodeAttribute.js +91 -0
  179. package/dist/modules/blocks/components/BarcodeSizeSettings.d.ts +5 -0
  180. package/dist/modules/blocks/components/BarcodeSizeSettings.js +104 -0
  181. package/dist/modules/blocks/components/BlockEditor.d.ts +2 -0
  182. package/dist/modules/blocks/components/BlockEditor.js +77 -0
  183. package/dist/modules/blocks/components/BlockEditorInlineContent.d.ts +30 -0
  184. package/dist/modules/blocks/components/BlockEditorInlineContent.js +56 -0
  185. package/dist/modules/blocks/components/BlockToolbar.d.ts +7 -0
  186. package/dist/modules/blocks/components/BlockToolbar.js +30 -0
  187. package/dist/modules/blocks/components/CustomFileBlock.d.ts +14 -0
  188. package/dist/modules/blocks/components/CustomFileBlock.js +51 -0
  189. package/dist/modules/blocks/components/CustomImageBlock.d.ts +29 -0
  190. package/dist/modules/blocks/components/CustomImageBlock.js +163 -0
  191. package/dist/modules/blocks/components/CustomVideoBlock.d.ts +27 -0
  192. package/dist/modules/blocks/components/CustomVideoBlock.js +69 -0
  193. package/dist/modules/blocks/components/DocumentPlaceholderBlock.d.ts +14 -0
  194. package/dist/modules/blocks/components/DocumentPlaceholderBlock.js +68 -0
  195. package/dist/modules/blocks/components/Editor.d.ts +2 -0
  196. package/dist/modules/blocks/components/Editor.js +28 -0
  197. package/dist/modules/blocks/components/FontFamilyButton.d.ts +1 -0
  198. package/dist/modules/blocks/components/FontFamilyButton.js +34 -0
  199. package/dist/modules/blocks/components/FontSizeButton.d.ts +1 -0
  200. package/dist/modules/blocks/components/FontSizeButton.js +51 -0
  201. package/dist/modules/blocks/components/GalleryBlock.d.ts +8 -0
  202. package/dist/modules/blocks/components/GalleryBlock.js +27 -0
  203. package/dist/modules/blocks/components/GalleryBlockContent.d.ts +2 -0
  204. package/dist/modules/blocks/components/GalleryBlockContent.js +86 -0
  205. package/dist/modules/blocks/components/GalleryBlockParts.d.ts +17 -0
  206. package/dist/modules/blocks/components/GalleryBlockParts.js +97 -0
  207. package/dist/modules/blocks/components/GalleryExternalHtml.d.ts +2 -0
  208. package/dist/modules/blocks/components/GalleryExternalHtml.js +36 -0
  209. package/dist/modules/blocks/components/ImageExternalHtml.d.ts +2 -0
  210. package/dist/modules/blocks/components/ImageExternalHtml.js +51 -0
  211. package/dist/modules/blocks/components/ImageStyleButton.d.ts +1 -0
  212. package/dist/modules/blocks/components/ImageStyleButton.js +42 -0
  213. package/dist/modules/blocks/components/LazyEditor.d.ts +9 -0
  214. package/dist/modules/blocks/components/LazyEditor.js +14 -0
  215. package/dist/modules/blocks/components/MediaBlockWrapper.d.ts +24 -0
  216. package/dist/modules/blocks/components/MediaBlockWrapper.js +98 -0
  217. package/dist/modules/blocks/components/SlashMenu.d.ts +2 -0
  218. package/dist/modules/blocks/components/SlashMenu.js +48 -0
  219. package/dist/modules/blocks/components/SuggestionMenu.d.ts +7 -0
  220. package/dist/modules/blocks/components/SuggestionMenu.js +35 -0
  221. package/dist/modules/blocks/components/TableColorPicker.d.ts +3 -0
  222. package/dist/modules/blocks/components/TableColorPicker.js +104 -0
  223. package/dist/modules/blocks/components/TableHandleWithRemove.d.ts +2 -0
  224. package/dist/modules/blocks/components/TableHandleWithRemove.js +81 -0
  225. package/dist/modules/blocks/components/toolbar/ToolbarContents.d.ts +1 -0
  226. package/dist/modules/blocks/components/toolbar/ToolbarContents.js +36 -0
  227. package/dist/modules/blocks/components/toolbar/ToolbarRoot.d.ts +2 -0
  228. package/dist/modules/blocks/components/toolbar/ToolbarRoot.js +9 -0
  229. package/dist/modules/blocks/components/toolbar/buttons/ToolbarButton.d.ts +3 -0
  230. package/dist/modules/blocks/components/toolbar/buttons/ToolbarButton.js +9 -0
  231. package/dist/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.d.ts +2 -0
  232. package/dist/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.js +20 -0
  233. package/dist/modules/blocks/components/toolbar/buttons/ToolbarToggle.d.ts +3 -0
  234. package/dist/modules/blocks/components/toolbar/buttons/ToolbarToggle.js +9 -0
  235. package/dist/modules/blocks/components/toolbar/menus/MenuCheckboxItem.d.ts +3 -0
  236. package/dist/modules/blocks/components/toolbar/menus/MenuCheckboxItem.js +8 -0
  237. package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.d.ts +2 -0
  238. package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.js +9 -0
  239. package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuItem.d.ts +2 -0
  240. package/dist/modules/blocks/components/toolbar/menus/ToolbarMenuItem.js +9 -0
  241. package/dist/modules/blocks/components/toolbar/menus/ToolbarSelect.d.ts +2 -0
  242. package/dist/modules/blocks/components/toolbar/menus/ToolbarSelect.js +33 -0
  243. package/dist/modules/blocks/constant/blockEditorSchema.d.ts +334 -0
  244. package/dist/modules/blocks/constant/blockEditorSchema.js +71 -0
  245. package/dist/modules/blocks/constant/galleryBlockConfig.d.ts +14 -0
  246. package/dist/modules/blocks/constant/galleryBlockConfig.js +10 -0
  247. package/dist/modules/blocks/constant/imageBlockConfig.d.ts +46 -0
  248. package/dist/modules/blocks/constant/imageBlockConfig.js +39 -0
  249. package/dist/modules/blocks/constant/toolbar/codeIncompatibleControls.d.ts +1 -0
  250. package/dist/modules/blocks/constant/toolbar/codeIncompatibleControls.js +11 -0
  251. package/dist/modules/blocks/constant/toolbar/editorUIComponents.d.ts +2 -0
  252. package/dist/modules/blocks/constant/toolbar/editorUIComponents.js +14 -0
  253. package/dist/modules/blocks/constant/toolbar/fontFamilies.d.ts +4 -0
  254. package/dist/modules/blocks/constant/toolbar/fontFamilies.js +88 -0
  255. package/dist/modules/blocks/constant/toolbar/imageStyleOptions.d.ts +2 -0
  256. package/dist/modules/blocks/constant/toolbar/imageStyleOptions.js +25 -0
  257. package/dist/modules/blocks/hooks/toolbar/useCodeActive.d.ts +1 -0
  258. package/dist/modules/blocks/hooks/toolbar/useCodeActive.js +10 -0
  259. package/dist/modules/blocks/hooks/toolbar/useStringStyle.d.ts +9 -0
  260. package/dist/modules/blocks/hooks/toolbar/useStringStyle.js +27 -0
  261. package/dist/modules/blocks/hooks/toolbar/useToolbarComponents.d.ts +2 -0
  262. package/dist/modules/blocks/hooks/toolbar/useToolbarComponents.js +29 -0
  263. package/dist/modules/blocks/hooks/useBarcodeResize.d.ts +32 -0
  264. package/dist/modules/blocks/hooks/useBarcodeResize.js +64 -0
  265. package/dist/modules/blocks/hooks/useBarcodeSizeForm.d.ts +25 -0
  266. package/dist/modules/blocks/hooks/useBarcodeSizeForm.js +71 -0
  267. package/dist/modules/blocks/hooks/useBlockEditor.d.ts +9 -0
  268. package/dist/modules/blocks/hooks/useBlockEditor.js +47 -0
  269. package/dist/modules/blocks/hooks/useBlockEditorEditable.d.ts +2 -0
  270. package/dist/modules/blocks/hooks/useBlockEditorEditable.js +5 -0
  271. package/dist/modules/blocks/hooks/useBlockEditorKeys.d.ts +13 -0
  272. package/dist/modules/blocks/hooks/useBlockEditorKeys.js +46 -0
  273. package/dist/modules/blocks/hooks/useEditorValue.d.ts +13 -0
  274. package/dist/modules/blocks/hooks/useEditorValue.js +39 -0
  275. package/dist/modules/blocks/hooks/useGalleryUpload.d.ts +11 -0
  276. package/dist/modules/blocks/hooks/useGalleryUpload.js +46 -0
  277. package/dist/modules/blocks/types/EditorBlock.d.ts +2 -0
  278. package/dist/modules/blocks/types/TextEditor.d.ts +30 -0
  279. package/dist/modules/blocks/types/toolbar/FormattingShortcut.d.ts +7 -0
  280. package/dist/modules/blocks/types/toolbar/ImageStyleOption.d.ts +7 -0
  281. package/dist/modules/blocks/types/toolbar/ToolbarFormattingButtonProps.d.ts +5 -0
  282. package/dist/modules/blocks/utils/galleryImages.d.ts +19 -0
  283. package/dist/modules/blocks/utils/galleryImages.js +26 -0
  284. package/dist/modules/blocks/utils/getSlashMenuItems.d.ts +3 -0
  285. package/dist/modules/blocks/utils/getSlashMenuItems.js +28 -0
  286. package/dist/modules/blocks/utils/isEmptyBlock.d.ts +2 -0
  287. package/dist/modules/blocks/utils/isEmptyBlock.js +6 -0
  288. package/dist/modules/blocks/utils/parseBlocks.d.ts +5 -0
  289. package/dist/modules/blocks/utils/parseBlocks.js +22 -0
  290. package/dist/modules/blocks/utils/removeCodeFormattingFromHTML.d.ts +1 -0
  291. package/dist/modules/blocks/utils/removeCodeFormattingFromHTML.js +11 -0
  292. package/dist/modules/blocks/utils/toolbar/isCodeFormattingShortcut.d.ts +2 -0
  293. package/dist/modules/blocks/utils/toolbar/isCodeFormattingShortcut.js +11 -0
  294. package/dist/modules/display/components/EmailDisplay.d.ts +2 -0
  295. package/dist/modules/display/components/EmailDisplay.js +63 -0
  296. package/dist/modules/display/components/PhoneDisplay.d.ts +4 -0
  297. package/dist/modules/display/components/PhoneDisplay.js +28 -0
  298. package/dist/modules/display/components/RelativeDateDisplay.d.ts +15 -0
  299. package/dist/modules/display/components/RelativeDateDisplay.js +23 -0
  300. package/dist/modules/display/components/SexDisplay.d.ts +4 -0
  301. package/dist/modules/display/components/SexDisplay.js +5 -0
  302. package/dist/modules/display/types/emailDisplay.d.ts +7 -0
  303. package/dist/modules/display/utils/formatEmails.d.ts +3 -0
  304. package/dist/modules/display/utils/formatEmails.js +12 -0
  305. package/dist/modules/display/utils/formatPhones.d.ts +3 -0
  306. package/dist/modules/display/utils/formatPhones.js +13 -0
  307. package/dist/modules/filter/components/Filter.d.ts +21 -0
  308. package/dist/modules/filter/components/Filter.js +23 -0
  309. package/dist/modules/filter/components/FilterBar.d.ts +16 -0
  310. package/dist/modules/filter/components/FilterBar.js +73 -0
  311. package/dist/modules/filter/components/FilterDialog.d.ts +7 -0
  312. package/dist/modules/filter/components/FilterDialog.js +63 -0
  313. package/dist/modules/filter/components/FilterPopover.d.ts +24 -0
  314. package/dist/modules/filter/components/FilterPopover.js +129 -0
  315. package/dist/modules/filter/components/FilterProvider.d.ts +5 -0
  316. package/dist/modules/filter/components/FilterProvider.js +30 -0
  317. package/dist/modules/filter/context/FilterContext.d.ts +2 -0
  318. package/dist/modules/filter/context/FilterContext.js +4 -0
  319. package/dist/modules/filter/hooks/useFilterContext.d.ts +2 -0
  320. package/dist/modules/filter/hooks/useFilterContext.js +9 -0
  321. package/dist/modules/filter/hooks/useFilterQueryState.d.ts +4 -0
  322. package/dist/modules/filter/hooks/useFilterQueryState.js +14 -0
  323. package/dist/modules/filter/states/filterStates.d.ts +4 -0
  324. package/dist/modules/filter/states/filterStates.js +7 -0
  325. package/dist/modules/filter/types/filter.d.ts +9 -0
  326. package/dist/modules/hotkey/components/PopoverScoped.d.ts +11 -0
  327. package/dist/modules/hotkey/components/PopoverScoped.js +54 -0
  328. package/dist/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +2 -0
  329. package/dist/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.js +6 -0
  330. package/dist/modules/hotkey/constants/initialHotkeysScope.d.ts +2 -0
  331. package/dist/modules/hotkey/constants/initialHotkeysScope.js +12 -0
  332. package/dist/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +5 -0
  333. package/dist/modules/hotkey/hooks/usePreviousHotkeyScope.js +22 -0
  334. package/dist/modules/hotkey/hooks/useScopedHotkeys.d.ts +3 -0
  335. package/dist/modules/hotkey/hooks/useScopedHotkeys.js +23 -0
  336. package/dist/modules/hotkey/hooks/useSetHotkeyScope.d.ts +2 -0
  337. package/dist/modules/hotkey/hooks/useSetHotkeyScope.js +14 -0
  338. package/dist/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +4 -0
  339. package/dist/modules/hotkey/states/internal/currentHotkeyScopeState.js +5 -0
  340. package/dist/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.d.ts +3 -0
  341. package/dist/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.js +4 -0
  342. package/dist/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +4 -0
  343. package/dist/modules/hotkey/states/internal/previousHotkeyScopeState.js +4 -0
  344. package/dist/modules/hotkey/states/setHotkeyScopeState.d.ts +7 -0
  345. package/dist/modules/hotkey/states/setHotkeyScopeState.js +37 -0
  346. package/dist/modules/hotkey/types/AppHotkeyScope.d.ts +7 -0
  347. package/dist/modules/hotkey/types/AppHotkeyScope.js +10 -0
  348. package/dist/modules/hotkey/types/CustomHotkeyScope.d.ts +6 -0
  349. package/dist/modules/hotkey/types/HotkeyScope.d.ts +5 -0
  350. package/dist/modules/icons/components/IconComponent.d.ts +5 -0
  351. package/dist/modules/icons/components/IconComponent.js +11 -0
  352. package/dist/modules/icons/components/IconPicker.d.ts +5 -0
  353. package/dist/modules/icons/components/IconPicker.js +45 -0
  354. package/dist/modules/icons/components/TablerIcons.d.ts +2 -0
  355. package/dist/modules/icons/components/TablerIcons.js +1 -0
  356. package/dist/modules/icons/hooks/useIcons.d.ts +4 -0
  357. package/dist/modules/icons/hooks/useIcons.js +20 -0
  358. package/dist/modules/icons/providers/IconsProvider.d.ts +4 -0
  359. package/dist/modules/icons/providers/IconsProvider.js +12 -0
  360. package/dist/modules/icons/states/iconsState.d.ts +4 -0
  361. package/dist/modules/icons/states/iconsState.js +4 -0
  362. package/dist/modules/inputs/components/ContactFieldParts.d.ts +20 -0
  363. package/dist/modules/inputs/components/ContactFieldParts.js +66 -0
  364. package/dist/modules/inputs/components/EmailField.d.ts +11 -0
  365. package/dist/modules/inputs/components/EmailField.js +75 -0
  366. package/dist/modules/inputs/components/EmailFieldForm.d.ts +11 -0
  367. package/dist/modules/inputs/components/EmailFieldForm.js +73 -0
  368. package/dist/modules/inputs/components/FullNameField.d.ts +9 -0
  369. package/dist/modules/inputs/components/FullNameField.js +90 -0
  370. package/dist/modules/inputs/components/PhoneField.d.ts +11 -0
  371. package/dist/modules/inputs/components/PhoneField.js +81 -0
  372. package/dist/modules/inputs/components/PhoneFieldForm.d.ts +11 -0
  373. package/dist/modules/inputs/components/PhoneFieldForm.js +63 -0
  374. package/dist/modules/inputs/components/SexField.d.ts +5 -0
  375. package/dist/modules/inputs/components/SexField.js +18 -0
  376. package/dist/modules/inputs/contexts/FullNameFieldContext.d.ts +7 -0
  377. package/dist/modules/inputs/contexts/FullNameFieldContext.js +4 -0
  378. package/dist/modules/inputs/hooks/useContactFieldInput.d.ts +14 -0
  379. package/dist/modules/inputs/hooks/useContactFieldInput.js +34 -0
  380. package/dist/modules/inputs/hooks/useFullNameField.d.ts +7 -0
  381. package/dist/modules/inputs/hooks/useFullNameField.js +9 -0
  382. package/dist/modules/inputs/types/emailField.d.ts +15 -0
  383. package/dist/modules/inputs/types/phoneField.d.ts +13 -0
  384. package/dist/modules/inputs/validations/emailValidation.d.ts +4 -0
  385. package/dist/modules/inputs/validations/emailValidation.js +4 -0
  386. package/dist/modules/inputs/validations/phoneValidation.d.ts +4 -0
  387. package/dist/modules/inputs/validations/phoneValidation.js +4 -0
  388. package/dist/modules/layout/components/AppLayout.d.ts +22 -0
  389. package/dist/modules/layout/components/AppLayout.js +190 -0
  390. package/dist/modules/layout/components/AppLayoutPageSlot.d.ts +2 -0
  391. package/dist/modules/layout/components/AppLayoutPageSlot.js +27 -0
  392. package/dist/modules/layout/components/AppLayoutResizeHandle.d.ts +20 -0
  393. package/dist/modules/layout/components/AppLayoutResizeHandle.js +70 -0
  394. package/dist/modules/layout/components/Page.d.ts +10 -0
  395. package/dist/modules/layout/components/Page.js +28 -0
  396. package/dist/modules/layout/components/PageHeader.d.ts +20 -0
  397. package/dist/modules/layout/components/PageHeader.js +45 -0
  398. package/dist/modules/layout/states/appLayoutPageState.d.ts +6 -0
  399. package/dist/modules/layout/states/appLayoutPageState.js +5 -0
  400. package/dist/modules/navigation-menu/components/NavigationMenu.d.ts +11 -0
  401. package/dist/modules/navigation-menu/components/NavigationMenu.js +42 -0
  402. package/dist/modules/navigation-menu/components/NavigationMenuItemControls.d.ts +11 -0
  403. package/dist/modules/navigation-menu/components/NavigationMenuItemControls.js +5 -0
  404. package/dist/modules/record-field/components/NumberField.d.ts +12 -0
  405. package/dist/modules/record-field/components/NumberField.js +65 -0
  406. package/dist/modules/record-field/components/TextField.d.ts +12 -0
  407. package/dist/modules/record-field/components/TextField.js +62 -0
  408. package/dist/modules/record-field/meta-inputs/components/PhoneInput.d.ts +16 -0
  409. package/dist/modules/record-field/meta-inputs/components/PhoneInput.js +152 -0
  410. package/dist/modules/record-table/components/CheckboxColumn.d.ts +6 -0
  411. package/dist/modules/record-table/components/CheckboxColumn.js +94 -0
  412. package/dist/modules/record-table/components/MoreColumn.d.ts +3 -0
  413. package/dist/modules/record-table/components/MoreColumn.js +18 -0
  414. package/dist/modules/record-table/components/RecordTable.d.ts +35 -0
  415. package/dist/modules/record-table/components/RecordTable.js +38 -0
  416. package/dist/modules/record-table/components/RecordTableCell.d.ts +8 -0
  417. package/dist/modules/record-table/components/RecordTableCell.js +35 -0
  418. package/dist/modules/record-table/components/RecordTableCellInline.d.ts +25 -0
  419. package/dist/modules/record-table/components/RecordTableCellInline.js +83 -0
  420. package/dist/modules/record-table/components/RecordTableColumnSelector.d.ts +3 -0
  421. package/dist/modules/record-table/components/RecordTableColumnSelector.js +135 -0
  422. package/dist/modules/record-table/components/RecordTableContainer.d.ts +11 -0
  423. package/dist/modules/record-table/components/RecordTableContainer.js +45 -0
  424. package/dist/modules/record-table/components/RecordTableCursor.d.ts +25 -0
  425. package/dist/modules/record-table/components/RecordTableCursor.js +107 -0
  426. package/dist/modules/record-table/components/RecordTableDnDProvider.d.ts +7 -0
  427. package/dist/modules/record-table/components/RecordTableDnDProvider.js +31 -0
  428. package/dist/modules/record-table/components/RecordTableHead.d.ts +10 -0
  429. package/dist/modules/record-table/components/RecordTableHead.js +78 -0
  430. package/dist/modules/record-table/components/RecordTableHeader.d.ts +3 -0
  431. package/dist/modules/record-table/components/RecordTableHeader.js +64 -0
  432. package/dist/modules/record-table/components/RecordTableInlineHead.d.ts +5 -0
  433. package/dist/modules/record-table/components/RecordTableInlineHead.js +9 -0
  434. package/dist/modules/record-table/components/RecordTableProvider.d.ts +42 -0
  435. package/dist/modules/record-table/components/RecordTableProvider.js +73 -0
  436. package/dist/modules/record-table/components/RecordTableRoot.d.ts +3 -0
  437. package/dist/modules/record-table/components/RecordTableRoot.js +12 -0
  438. package/dist/modules/record-table/components/RecordTableRow.d.ts +12 -0
  439. package/dist/modules/record-table/components/RecordTableRow.js +29 -0
  440. package/dist/modules/record-table/components/RecordTableRowList.d.ts +11 -0
  441. package/dist/modules/record-table/components/RecordTableRowList.js +40 -0
  442. package/dist/modules/record-table/components/RecordTableRowSkeleton.d.ts +7 -0
  443. package/dist/modules/record-table/components/RecordTableRowSkeleton.js +28 -0
  444. package/dist/modules/record-table/components/RecordTableScroll.d.ts +2 -0
  445. package/dist/modules/record-table/components/RecordTableScroll.js +17 -0
  446. package/dist/modules/record-table/hooks/useColumnLayout.d.ts +25 -0
  447. package/dist/modules/record-table/hooks/useColumnLayout.js +81 -0
  448. package/dist/modules/record-table/hooks/useCursorScroll.d.ts +13 -0
  449. package/dist/modules/record-table/hooks/useCursorScroll.js +34 -0
  450. package/dist/modules/record-table/hooks/useTablePreferences.d.ts +27 -0
  451. package/dist/modules/record-table/hooks/useTablePreferences.js +50 -0
  452. package/dist/modules/record-table/states/RecordTableCursorState.d.ts +1 -0
  453. package/dist/modules/record-table/states/RecordTableCursorState.js +4 -0
  454. package/dist/modules/record-table/types/RecordTableCursorTypes.d.ts +4 -0
  455. package/dist/modules/record-table/types/RecordTableCursorTypes.js +7 -0
  456. package/dist/modules/record-table/utils/columnLayout.d.ts +36 -0
  457. package/dist/modules/record-table/utils/columnLayout.js +58 -0
  458. package/dist/modules/record-table/utils/columnUtils.d.ts +4 -0
  459. package/dist/modules/record-table/utils/columnUtils.js +5 -0
  460. package/dist/modules/record-table/utils/rowFields.d.ts +14 -0
  461. package/dist/modules/record-table/utils/rowFields.js +25 -0
  462. package/dist/state/sidebarPanelState.d.ts +1 -0
  463. package/dist/state/sidebarPanelState.js +4 -0
  464. package/dist/state/themeState.d.ts +2 -0
  465. package/dist/state/themeState.js +4 -0
  466. package/dist/styles.css +16 -0
  467. package/dist/theme.css +313 -0
  468. package/dist/types/CountryCode.d.ts +6 -0
  469. package/dist/types/SexCode.d.ts +6 -0
  470. package/dist/types/SexCode.js +9 -0
  471. package/dist/types/Theme.d.ts +1 -0
  472. package/dist/types/UIConfig.d.ts +125 -0
  473. package/dist/types/ValidationStatus.d.ts +4 -0
  474. package/dist/types/ValidationStatus.js +7 -0
  475. package/dist/utils/IsUndefinedOrNull.d.ts +1 -0
  476. package/dist/utils/IsUndefinedOrNull.js +3 -0
  477. package/dist/utils/core.d.ts +5 -0
  478. package/dist/utils/core.js +7 -0
  479. package/dist/utils/file-storage.d.ts +18 -0
  480. package/dist/utils/file-storage.js +17 -0
  481. package/dist/utils/format/formatPhoneNumber.d.ts +5 -0
  482. package/dist/utils/format/formatPhoneNumber.js +6 -0
  483. package/dist/utils/getPluginAssetsUrl.d.ts +1 -0
  484. package/dist/utils/getPluginAssetsUrl.js +8 -0
  485. package/dist/utils/isDefined.d.ts +1 -0
  486. package/dist/utils/isDefined.js +3 -0
  487. package/dist/utils/json.d.ts +6 -0
  488. package/dist/utils/json.js +18 -0
  489. package/dist/utils/localization/formatDateISOStringToRelativeDate.d.ts +2 -0
  490. package/dist/utils/localization/formatDateISOStringToRelativeDate.js +16 -0
  491. package/dist/utils/plugin-runtime.d.ts +51 -0
  492. package/dist/utils/plugin-runtime.js +93 -0
  493. package/dist/utils/record-timeline.d.ts +14 -0
  494. package/dist/utils/record-timeline.js +19 -0
  495. package/dist/utils/videoEmbed.d.ts +15 -0
  496. package/dist/utils/videoEmbed.js +33 -0
  497. package/package.json +76 -488
  498. package/LICENSE.md +0 -672
  499. package/chunks/chunk-27DB3V2L.js +0 -10
  500. package/chunks/chunk-2R3JGXIB.js +0 -121
  501. package/chunks/chunk-2UIHFMOO.js +0 -14
  502. package/chunks/chunk-2VXTM7NQ.js +0 -93
  503. package/chunks/chunk-34R3Q65T.js +0 -199
  504. package/chunks/chunk-3HIMHBLG.js +0 -33
  505. package/chunks/chunk-3J5VNBOP.js +0 -13
  506. package/chunks/chunk-3KAFS4LM.js +0 -65
  507. package/chunks/chunk-3WLTIKD7.js +0 -124
  508. package/chunks/chunk-43GXDTDI.js +0 -16
  509. package/chunks/chunk-45CVREXI.js +0 -25
  510. package/chunks/chunk-4ATZGPMG.js +0 -28
  511. package/chunks/chunk-4CCLUOX6.js +0 -144
  512. package/chunks/chunk-4EIP6AVX.js +0 -29
  513. package/chunks/chunk-4GSYMR2A.js +0 -31
  514. package/chunks/chunk-4IUFKR3Z.js +0 -43
  515. package/chunks/chunk-4J36M6XR.js +0 -14
  516. package/chunks/chunk-4JJAB43E.js +0 -7
  517. package/chunks/chunk-53UJM7YO.js +0 -10
  518. package/chunks/chunk-55FS4R5Q.js +0 -12
  519. package/chunks/chunk-5BDR2SO5.js +0 -15
  520. package/chunks/chunk-5NH4WZCY.js +0 -49
  521. package/chunks/chunk-5V3DI2JS.js +0 -80
  522. package/chunks/chunk-5Z3GGJHV.js +0 -228
  523. package/chunks/chunk-6AOLCRV5.js +0 -30
  524. package/chunks/chunk-6FIFKPLP.js +0 -37
  525. package/chunks/chunk-6GO23OUL.js +0 -49
  526. package/chunks/chunk-6H233CIJ.js +0 -15
  527. package/chunks/chunk-6J2ZJOES.js +0 -9
  528. package/chunks/chunk-6VR6SGPC.js +0 -31
  529. package/chunks/chunk-734JLHAF.js +0 -24
  530. package/chunks/chunk-73TX6ZQQ.js +0 -18
  531. package/chunks/chunk-7FIVWVHV.js +0 -25
  532. package/chunks/chunk-7GRGQLFS.js +0 -264
  533. package/chunks/chunk-7IPMUU22.js +0 -64
  534. package/chunks/chunk-7O4K7V5O.js +0 -72
  535. package/chunks/chunk-7QLWA64F.js +0 -18
  536. package/chunks/chunk-7T23XKCT.js +0 -24
  537. package/chunks/chunk-7TL2WV5V.js +0 -150
  538. package/chunks/chunk-7VGTZ76T.js +0 -9304
  539. package/chunks/chunk-7ZIALLII.js +0 -77
  540. package/chunks/chunk-A6CNIFNS.js +0 -11
  541. package/chunks/chunk-A6ID2P5A.js +0 -47
  542. package/chunks/chunk-AIRW6SHV.js +0 -29
  543. package/chunks/chunk-AJCSQFCK.js +0 -11
  544. package/chunks/chunk-ALHJUUD5.js +0 -12
  545. package/chunks/chunk-ANRBWR3H.js +0 -193
  546. package/chunks/chunk-ATAEEVLB.js +0 -41
  547. package/chunks/chunk-AV4CRRSS.js +0 -109
  548. package/chunks/chunk-B2CYD52N.js +0 -11
  549. package/chunks/chunk-B2WUSPB5.js +0 -50
  550. package/chunks/chunk-B6WEOYCY.js +0 -11
  551. package/chunks/chunk-BATNONIA.js +0 -31
  552. package/chunks/chunk-BJARUVP3.js +0 -243
  553. package/chunks/chunk-BNHHTDLC.js +0 -49
  554. package/chunks/chunk-BR6S5JY5.js +0 -14
  555. package/chunks/chunk-BR7WQVF4.js +0 -7
  556. package/chunks/chunk-C4TFL7CS.js +0 -16
  557. package/chunks/chunk-C6NKYLT3.js +0 -58
  558. package/chunks/chunk-CAV3X4PT.js +0 -14
  559. package/chunks/chunk-CHDXXCMI.js +0 -65
  560. package/chunks/chunk-CPF6PSFR.js +0 -56
  561. package/chunks/chunk-CUFSLOE4.js +0 -12
  562. package/chunks/chunk-CXEGOUML.js +0 -324
  563. package/chunks/chunk-D3VC2SRW.js +0 -46
  564. package/chunks/chunk-D63SZO4E.js +0 -71
  565. package/chunks/chunk-D6HNEGMV.js +0 -181
  566. package/chunks/chunk-DCCZEG7Z.js +0 -55
  567. package/chunks/chunk-DHS7XAKB.js +0 -23
  568. package/chunks/chunk-DJMMAGMX.js +0 -363
  569. package/chunks/chunk-DKEJIAFP.js +0 -11
  570. package/chunks/chunk-DUSKF3PG.js +0 -97
  571. package/chunks/chunk-DUVG2QQC.js +0 -63
  572. package/chunks/chunk-E5FW3ERE.js +0 -207
  573. package/chunks/chunk-EEW7RLNA.js +0 -87
  574. package/chunks/chunk-EKACQ5FS.js +0 -45
  575. package/chunks/chunk-ELBCBP27.js +0 -51
  576. package/chunks/chunk-F2VATUUS.js +0 -46
  577. package/chunks/chunk-FDI6FB6D.js +0 -13
  578. package/chunks/chunk-FEXWVX6N.js +0 -7
  579. package/chunks/chunk-FEYF56QM.js +0 -55
  580. package/chunks/chunk-FIMKTPWK.js +0 -71
  581. package/chunks/chunk-FJLBHW7X.js +0 -190
  582. package/chunks/chunk-FJTUANXN.js +0 -10
  583. package/chunks/chunk-FL4BZTMQ.js +0 -71
  584. package/chunks/chunk-FSE4KVKE.js +0 -74
  585. package/chunks/chunk-FTTQ6J3Y.js +0 -28
  586. package/chunks/chunk-G2QQZN4L.js +0 -162
  587. package/chunks/chunk-GAYFYYXL.js +0 -14
  588. package/chunks/chunk-GEVRIBPF.js +0 -173
  589. package/chunks/chunk-GHBZJCIA.js +0 -28
  590. package/chunks/chunk-GIBFUQI4.js +0 -8
  591. package/chunks/chunk-GNV7UG3U.js +0 -13
  592. package/chunks/chunk-GTW4DI5C.js +0 -28
  593. package/chunks/chunk-GXARUX2O.js +0 -19
  594. package/chunks/chunk-GZ7VO7KA.js +0 -81
  595. package/chunks/chunk-GZNR5Y3B.js +0 -0
  596. package/chunks/chunk-H32OMVSR.js +0 -8
  597. package/chunks/chunk-H5OTBPGB.js +0 -14
  598. package/chunks/chunk-HHT5SPZG.js +0 -218
  599. package/chunks/chunk-HSEBNAEA.js +0 -12
  600. package/chunks/chunk-HT6R7GVC.js +0 -31
  601. package/chunks/chunk-I2LZMWEI.js +0 -118
  602. package/chunks/chunk-I3G3HVMC.js +0 -16
  603. package/chunks/chunk-I3I7T4UD.js +0 -21
  604. package/chunks/chunk-I5PPLXSZ.js +0 -125
  605. package/chunks/chunk-I7XARNX4.js +0 -32
  606. package/chunks/chunk-IGQ6UQUM.js +0 -94
  607. package/chunks/chunk-IIK24XSW.js +0 -601
  608. package/chunks/chunk-IJVY23RC.js +0 -20
  609. package/chunks/chunk-IKDLWUZ7.js +0 -19
  610. package/chunks/chunk-IM5IHH3X.js +0 -23
  611. package/chunks/chunk-IMKAHINH.js +0 -7
  612. package/chunks/chunk-IN7H6TNM.js +0 -28
  613. package/chunks/chunk-INFZPSGC.js +0 -44
  614. package/chunks/chunk-IQR2LD6K.js +0 -41
  615. package/chunks/chunk-ITLNFLKR.js +0 -35
  616. package/chunks/chunk-IWPK637H.js +0 -105
  617. package/chunks/chunk-J4T4WIBM.js +0 -51
  618. package/chunks/chunk-J65EQMDN.js +0 -76
  619. package/chunks/chunk-J75NVPXJ.js +0 -0
  620. package/chunks/chunk-JKEWLTH7.js +0 -160
  621. package/chunks/chunk-JKZ776CQ.js +0 -58
  622. package/chunks/chunk-JMDEHBWJ.js +0 -179
  623. package/chunks/chunk-JPCD46D4.js +0 -0
  624. package/chunks/chunk-JSZTGL4T.js +0 -7
  625. package/chunks/chunk-JVFLCNKB.js +0 -67
  626. package/chunks/chunk-JWRKTKTI.js +0 -57
  627. package/chunks/chunk-K4QWFHHP.js +0 -106
  628. package/chunks/chunk-KTBDECJI.js +0 -62
  629. package/chunks/chunk-KTNEDC7K.js +0 -20
  630. package/chunks/chunk-KW4MCMRZ.js +0 -125
  631. package/chunks/chunk-KXW36NG2.js +0 -30
  632. package/chunks/chunk-L5TCGIYY.js +0 -42
  633. package/chunks/chunk-LE4PIQPL.js +0 -0
  634. package/chunks/chunk-LPNW25XF.js +0 -45
  635. package/chunks/chunk-LVNNZDXL.js +0 -59
  636. package/chunks/chunk-M66JMKRR.js +0 -11
  637. package/chunks/chunk-MM5MMNXN.js +0 -19
  638. package/chunks/chunk-MNNGKWCI.js +0 -56
  639. package/chunks/chunk-MSAEUPAX.js +0 -35
  640. package/chunks/chunk-MSSVDJPS.js +0 -72
  641. package/chunks/chunk-MZ4RKADP.js +0 -27
  642. package/chunks/chunk-N4UKAPHL.js +0 -36
  643. package/chunks/chunk-N6SOBDY7.js +0 -11
  644. package/chunks/chunk-NCKIHIJR.js +0 -9
  645. package/chunks/chunk-NDGKMVC7.js +0 -10
  646. package/chunks/chunk-NDIVNBGK.js +0 -212
  647. package/chunks/chunk-NJFDVNW5.js +0 -13
  648. package/chunks/chunk-NJJVZ3JY.js +0 -9
  649. package/chunks/chunk-NLHLWEDB.js +0 -92
  650. package/chunks/chunk-NLJ6XLH7.js +0 -6
  651. package/chunks/chunk-NNF3YJY2.js +0 -70
  652. package/chunks/chunk-NSAKTQ2Q.js +0 -17
  653. package/chunks/chunk-NUGJ3NYH.js +0 -149
  654. package/chunks/chunk-O6IUPS6U.js +0 -7
  655. package/chunks/chunk-O735ESAQ.js +0 -35
  656. package/chunks/chunk-O76CR475.js +0 -79
  657. package/chunks/chunk-OADHO5WP.js +0 -231
  658. package/chunks/chunk-ODVGCL6C.js +0 -33
  659. package/chunks/chunk-OKRWCATR.js +0 -12
  660. package/chunks/chunk-OMGBQTKQ.js +0 -225
  661. package/chunks/chunk-ONOUIZ6L.js +0 -20
  662. package/chunks/chunk-OOAGMFCJ.js +0 -0
  663. package/chunks/chunk-OQSM2FFV.js +0 -37
  664. package/chunks/chunk-OSSJ2FMG.js +0 -9
  665. package/chunks/chunk-PDVNR7LI.js +0 -24
  666. package/chunks/chunk-PNTO4UDY.js +0 -0
  667. package/chunks/chunk-PPQ4DIII.js +0 -0
  668. package/chunks/chunk-PPRBTD5G.js +0 -38
  669. package/chunks/chunk-PUDZPB4P.js +0 -24
  670. package/chunks/chunk-Q3CMFGM7.js +0 -81
  671. package/chunks/chunk-QPHY7OAH.js +0 -13
  672. package/chunks/chunk-QPJFUBIS.js +0 -7
  673. package/chunks/chunk-QS54MMOE.js +0 -48
  674. package/chunks/chunk-QTKFDPZO.js +0 -7
  675. package/chunks/chunk-QWLVJ3B3.js +0 -40
  676. package/chunks/chunk-QY5RA3NM.js +0 -19
  677. package/chunks/chunk-R2RAAS4Y.js +0 -39
  678. package/chunks/chunk-R3MJDVPP.js +0 -0
  679. package/chunks/chunk-R3V3G4FN.js +0 -59
  680. package/chunks/chunk-R7LIWID7.js +0 -73
  681. package/chunks/chunk-R7LWDDDY.js +0 -26
  682. package/chunks/chunk-R7PWUR7Z.js +0 -84
  683. package/chunks/chunk-RGR6MIXH.js +0 -64
  684. package/chunks/chunk-RREVMRKX.js +0 -95
  685. package/chunks/chunk-RRL4XQSY.js +0 -24
  686. package/chunks/chunk-RTKGTC5M.js +0 -21
  687. package/chunks/chunk-RZM4UL7J.js +0 -132
  688. package/chunks/chunk-S2HOHADT.js +0 -20
  689. package/chunks/chunk-S2UZYA2K.js +0 -142
  690. package/chunks/chunk-SBVVGYRA.js +0 -23
  691. package/chunks/chunk-SIWINSCP.js +0 -0
  692. package/chunks/chunk-SL6UK5XI.js +0 -0
  693. package/chunks/chunk-SN5JDDNY.js +0 -184
  694. package/chunks/chunk-SRNSMVXB.js +0 -192
  695. package/chunks/chunk-TRZXPKUK.js +0 -17
  696. package/chunks/chunk-TUQK5HP5.js +0 -10
  697. package/chunks/chunk-U363OCVD.js +0 -61
  698. package/chunks/chunk-U3Q5J7XQ.js +0 -12
  699. package/chunks/chunk-U46BZAPJ.js +0 -134
  700. package/chunks/chunk-U64G5PZP.js +0 -129
  701. package/chunks/chunk-UC7SM7BM.js +0 -55
  702. package/chunks/chunk-UD2ZXWEI.js +0 -115
  703. package/chunks/chunk-UKLVO5YZ.js +0 -47
  704. package/chunks/chunk-ULRPDB6S.js +0 -79
  705. package/chunks/chunk-UOEXGF6S.js +0 -7
  706. package/chunks/chunk-UQJA4TBO.js +0 -32
  707. package/chunks/chunk-UQYVKPRU.js +0 -6
  708. package/chunks/chunk-UXDXIN6Q.js +0 -65
  709. package/chunks/chunk-UZREMEFG.js +0 -10
  710. package/chunks/chunk-V42CIN6H.js +0 -55
  711. package/chunks/chunk-VAQZFKAX.js +0 -12
  712. package/chunks/chunk-VBW6O2FL.js +0 -51
  713. package/chunks/chunk-VBZAZNZK.js +0 -160
  714. package/chunks/chunk-VZTFOYF3.js +0 -65
  715. package/chunks/chunk-W3NXVJX4.js +0 -18
  716. package/chunks/chunk-W5KVCFS2.js +0 -126
  717. package/chunks/chunk-WAES3OQO.js +0 -21
  718. package/chunks/chunk-WC5GDWV2.js +0 -164
  719. package/chunks/chunk-WFVSF7GY.js +0 -17
  720. package/chunks/chunk-WJC7I7VI.js +0 -58
  721. package/chunks/chunk-WKBUEFOB.js +0 -7
  722. package/chunks/chunk-WKCCSZLB.js +0 -0
  723. package/chunks/chunk-WLKDIP4Y.js +0 -17
  724. package/chunks/chunk-WOOM5JC4.js +0 -82
  725. package/chunks/chunk-WS4SMSBU.js +0 -244
  726. package/chunks/chunk-WUKJ4QY7.js +0 -14
  727. package/chunks/chunk-WX3NKKHS.js +0 -12
  728. package/chunks/chunk-X2W2IRYX.js +0 -94
  729. package/chunks/chunk-XAEONXTN.js +0 -360
  730. package/chunks/chunk-XBMSMK3U.js +0 -0
  731. package/chunks/chunk-XD4PKWF4.js +0 -94
  732. package/chunks/chunk-XD4TBZYB.js +0 -44
  733. package/chunks/chunk-XEQJYWZP.js +0 -67
  734. package/chunks/chunk-XGRCG2DK.js +0 -344
  735. package/chunks/chunk-XHYJBJV7.js +0 -0
  736. package/chunks/chunk-XJKGUTA5.js +0 -0
  737. package/chunks/chunk-XQGH7WSU.js +0 -18
  738. package/chunks/chunk-XREHNAPK.js +0 -172
  739. package/chunks/chunk-XWJKQS3Q.js +0 -60
  740. package/chunks/chunk-XX3GPHFO.js +0 -25
  741. package/chunks/chunk-Y4PHXFJG.js +0 -8
  742. package/chunks/chunk-YDWH4BVW.js +0 -9
  743. package/chunks/chunk-YG5KZSTP.js +0 -16
  744. package/chunks/chunk-YH5K7V44.js +0 -161
  745. package/chunks/chunk-YLDPFS3W.js +0 -78
  746. package/chunks/chunk-YV4XDAHC.js +0 -84
  747. package/chunks/chunk-YZMSGM54.js +0 -9
  748. package/chunks/chunk-YZNP3ZEJ.js +0 -36
  749. package/chunks/chunk-YZXFCISZ.js +0 -54
  750. package/chunks/chunk-Z2GG4YSV.js +0 -49
  751. package/chunks/chunk-Z37GI372.js +0 -34
  752. package/chunks/chunk-Z3U4QH2C.js +0 -9
  753. package/chunks/chunk-Z4JRW5OO.js +0 -0
  754. package/chunks/chunk-ZBV3RCPW.js +0 -19
  755. package/chunks/chunk-ZGLCEJEN.js +0 -37
  756. package/chunks/chunk-ZQBIGO4Q.js +0 -30
  757. package/chunks/chunk-ZSFHU5S3.js +0 -25
  758. package/chunks/chunk-ZXLAVUFZ.js +0 -56
  759. package/components/accordion.d.ts +0 -7
  760. package/components/accordion.js +0 -9
  761. package/components/alert-dialog.d.ts +0 -20
  762. package/components/alert-dialog.js +0 -11
  763. package/components/alert.d.ts +0 -13
  764. package/components/alert.js +0 -9
  765. package/components/avatar.d.ts +0 -13
  766. package/components/avatar.js +0 -11
  767. package/components/background-gradient-animation.d.ts +0 -16
  768. package/components/background-gradient-animation.js +0 -11
  769. package/components/badge.d.ts +0 -9
  770. package/components/badge.js +0 -13
  771. package/components/breadcrumb.d.ts +0 -19
  772. package/components/breadcrumb.js +0 -10
  773. package/components/button.d.ts +0 -10
  774. package/components/button.js +0 -12
  775. package/components/calendar.d.ts +0 -5
  776. package/components/calendar.js +0 -14
  777. package/components/card.d.ts +0 -8
  778. package/components/card.js +0 -10
  779. package/components/charts.d.ts +0 -61
  780. package/components/charts.js +0 -19
  781. package/components/checkbox.d.ts +0 -3
  782. package/components/checkbox.js +0 -10
  783. package/components/choicebox-group.d.ts +0 -16
  784. package/components/choicebox-group.js +0 -274
  785. package/components/collapsible.d.ts +0 -10
  786. package/components/collapsible.js +0 -278
  787. package/components/color-picker.d.ts +0 -34
  788. package/components/color-picker.js +0 -276
  789. package/components/combobox.d.ts +0 -99
  790. package/components/combobox.js +0 -32
  791. package/components/command-bar.d.ts +0 -17
  792. package/components/command-bar.js +0 -11
  793. package/components/command.d.ts +0 -205
  794. package/components/command.js +0 -12
  795. package/components/context-menu.d.ts +0 -27
  796. package/components/context-menu.js +0 -9
  797. package/components/copy-text.d.ts +0 -7
  798. package/components/copy-text.js +0 -11
  799. package/components/date-picker.d.ts +0 -30
  800. package/components/date-picker.js +0 -14
  801. package/components/dialog.d.ts +0 -30
  802. package/components/dialog.js +0 -11
  803. package/components/drag-handle.d.ts +0 -3
  804. package/components/drag-handle.js +0 -11
  805. package/components/dropdown-menu.d.ts +0 -27
  806. package/components/dropdown-menu.js +0 -9
  807. package/components/empty.d.ts +0 -18
  808. package/components/empty.js +0 -9
  809. package/components/erxes-logo-icon.d.ts +0 -1
  810. package/components/erxes-logo-icon.js +0 -8
  811. package/components/form.d.ts +0 -25
  812. package/components/form.js +0 -10
  813. package/components/hover-card.d.ts +0 -6
  814. package/components/hover-card.js +0 -9
  815. package/components/index.d.ts +0 -60
  816. package/components/index.js +0 -517
  817. package/components/info-card.d.ts +0 -9
  818. package/components/info-card.js +0 -12
  819. package/components/input-otp.d.ts +0 -36
  820. package/components/input-otp.js +0 -9
  821. package/components/input.d.ts +0 -296
  822. package/components/input.js +0 -13
  823. package/components/kbd.d.ts +0 -7
  824. package/components/kbd.js +0 -10
  825. package/components/label.d.ts +0 -6
  826. package/components/label.js +0 -9
  827. package/components/multiselect.d.ts +0 -72
  828. package/components/multiselect.js +0 -274
  829. package/components/popover.d.ts +0 -12
  830. package/components/popover.js +0 -11
  831. package/components/radio-group.d.ts +0 -6
  832. package/components/radio-group.js +0 -10
  833. package/components/resizable.d.ts +0 -24
  834. package/components/resizable.js +0 -10
  835. package/components/scroll-area.d.ts +0 -13
  836. package/components/scroll-area.js +0 -9
  837. package/components/search-order-select.d.ts +0 -8
  838. package/components/search-order-select.js +0 -11
  839. package/components/select.d.ts +0 -14
  840. package/components/select.js +0 -10
  841. package/components/separator.d.ts +0 -5
  842. package/components/separator.js +0 -9
  843. package/components/sheet.d.ts +0 -39
  844. package/components/sheet.js +0 -15
  845. package/components/sidebar/constants.d.ts +0 -11
  846. package/components/sidebar/constants.js +0 -24
  847. package/components/sidebar/context.d.ts +0 -26
  848. package/components/sidebar/context.js +0 -25
  849. package/components/sidebar/group.d.ts +0 -9
  850. package/components/sidebar/group.js +0 -15
  851. package/components/sidebar/hooks.d.ts +0 -2
  852. package/components/sidebar/hooks.js +0 -6
  853. package/components/sidebar/layout.d.ts +0 -11
  854. package/components/sidebar/layout.js +0 -20
  855. package/components/sidebar/menu-sub.d.ts +0 -8
  856. package/components/sidebar/menu-sub.js +0 -15
  857. package/components/sidebar/menu.d.ts +0 -22
  858. package/components/sidebar/menu.js +0 -33
  859. package/components/sidebar/panel.d.ts +0 -6
  860. package/components/sidebar/panel.js +0 -16
  861. package/components/sidebar/root.d.ts +0 -9
  862. package/components/sidebar/root.js +0 -29
  863. package/components/sidebar/trigger.d.ts +0 -2
  864. package/components/sidebar/trigger.js +0 -24
  865. package/components/sidebar-tree-indicator.d.ts +0 -8
  866. package/components/sidebar-tree-indicator.js +0 -11
  867. package/components/sidebar.d.ts +0 -78
  868. package/components/sidebar.js +0 -39
  869. package/components/skeleton.d.ts +0 -4
  870. package/components/skeleton.js +0 -11
  871. package/components/slider.d.ts +0 -6
  872. package/components/slider.js +0 -10
  873. package/components/spinner.d.ts +0 -14
  874. package/components/spinner.js +0 -10
  875. package/components/stepper.d.ts +0 -28
  876. package/components/stepper.js +0 -10
  877. package/components/string-array.d.ts +0 -16
  878. package/components/string-array.js +0 -12
  879. package/components/switch.d.ts +0 -6
  880. package/components/switch.js +0 -9
  881. package/components/table.d.ts +0 -10
  882. package/components/table.js +0 -9
  883. package/components/tabs.d.ts +0 -13
  884. package/components/tabs.js +0 -10
  885. package/components/text-overflow.d.ts +0 -15
  886. package/components/text-overflow.js +0 -12
  887. package/components/textarea.d.ts +0 -2
  888. package/components/textarea.js +0 -9
  889. package/components/time-picker.d.ts +0 -11
  890. package/components/time-picker.js +0 -16
  891. package/components/toaster.d.ts +0 -1
  892. package/components/toaster.js +0 -11
  893. package/components/toasts.d.ts +0 -19
  894. package/components/toasts.js +0 -9
  895. package/components/toggle-group.d.ts +0 -12
  896. package/components/toggle-group.js +0 -10
  897. package/components/toggle.d.ts +0 -11
  898. package/components/toggle.js +0 -11
  899. package/components/tooltip.d.ts +0 -7
  900. package/components/tooltip.js +0 -9
  901. package/components/upload-new.d.ts +0 -16
  902. package/components/upload-new.js +0 -22
  903. package/components/upload.d.ts +0 -23
  904. package/components/upload.js +0 -274
  905. package/constants/AttachmentGql.d.ts +0 -1
  906. package/constants/AttachmentGql.js +0 -6
  907. package/constants/CountryPhoneCodes.d.ts +0 -2
  908. package/constants/CountryPhoneCodes.js +0 -6
  909. package/constants/CurrencyCodes.d.ts +0 -6
  910. package/constants/CurrencyCodes.js +0 -6
  911. package/constants/EmailValidationStatusInfos.d.ts +0 -11
  912. package/constants/EmailValidationStatusInfos.js +0 -10
  913. package/constants/GraphqlConstants.d.ts +0 -3
  914. package/constants/GraphqlConstants.js +0 -10
  915. package/constants/IanaTimeZones.d.ts +0 -5
  916. package/constants/IanaTimeZones.js +0 -6
  917. package/constants/IntlLanguages.d.ts +0 -74
  918. package/constants/IntlLanguages.js +0 -6
  919. package/constants/PhoneValidationStatusInfos.d.ts +0 -12
  920. package/constants/PhoneValidationStatusInfos.js +0 -10
  921. package/constants/SexCodes.d.ts +0 -4
  922. package/constants/SexCodes.js +0 -18
  923. package/constants/index.d.ts +0 -5
  924. package/constants/index.js +0 -39
  925. package/fonts.css +0 -5
  926. package/hooks/index.d.ts +0 -9
  927. package/hooks/index.js +0 -310
  928. package/hooks/use-confirm.d.ts +0 -29
  929. package/hooks/use-confirm.js +0 -276
  930. package/hooks/use-cursor-pagination.d.ts +0 -10
  931. package/hooks/use-cursor-pagination.js +0 -34
  932. package/hooks/use-is-matching-location.d.ts +0 -1
  933. package/hooks/use-is-matching-location.js +0 -8
  934. package/hooks/use-media-query.d.ts +0 -1
  935. package/hooks/use-media-query.js +0 -8
  936. package/hooks/use-mobile.d.ts +0 -1
  937. package/hooks/use-mobile.js +0 -9
  938. package/hooks/use-query-state.d.ts +0 -25
  939. package/hooks/use-query-state.js +0 -16
  940. package/hooks/use-toast.d.ts +0 -21
  941. package/hooks/use-toast.js +0 -10
  942. package/hooks/use-upload-chunked.d.ts +0 -13
  943. package/hooks/use-upload-chunked.js +0 -33
  944. package/hooks/use-upload-new.d.ts +0 -73
  945. package/hooks/use-upload-new.js +0 -35
  946. package/hooks/use-upload.d.ts +0 -45
  947. package/hooks/use-upload.js +0 -274
  948. package/index.d.ts +0 -8
  949. package/index.js +0 -1035
  950. package/lib/index.d.ts +0 -1
  951. package/lib/index.js +0 -13
  952. package/lib/utils.d.ts +0 -11
  953. package/lib/utils.js +0 -12
  954. package/modules/attachments/attachments.d.ts +0 -38
  955. package/modules/attachments/attachments.js +0 -274
  956. package/modules/attachments/context.d.ts +0 -12
  957. package/modules/attachments/context.js +0 -10
  958. package/modules/attachments/index.d.ts +0 -5
  959. package/modules/attachments/index.js +0 -280
  960. package/modules/attachments/types.d.ts +0 -19
  961. package/modules/attachments/types.js +0 -6
  962. package/modules/blocks/components/BarcodeAttribute.d.ts +0 -10
  963. package/modules/blocks/components/BarcodeAttribute.js +0 -18
  964. package/modules/blocks/components/BlockEditor.d.ts +0 -3
  965. package/modules/blocks/components/BlockEditor.js +0 -279
  966. package/modules/blocks/components/BlockEditorComments.d.ts +0 -6
  967. package/modules/blocks/components/BlockEditorComments.js +0 -274
  968. package/modules/blocks/components/BlockEditorInlineContent.d.ts +0 -40
  969. package/modules/blocks/components/BlockEditorInlineContent.js +0 -21
  970. package/modules/blocks/components/BlockEditorReadOnly.d.ts +0 -5
  971. package/modules/blocks/components/BlockEditorReadOnly.js +0 -274
  972. package/modules/blocks/components/BlockToolbar.d.ts +0 -1
  973. package/modules/blocks/components/BlockToolbar.js +0 -274
  974. package/modules/blocks/components/CustomFileBlock.d.ts +0 -40
  975. package/modules/blocks/components/CustomFileBlock.js +0 -274
  976. package/modules/blocks/components/CustomImageBlock.d.ts +0 -79
  977. package/modules/blocks/components/CustomImageBlock.js +0 -276
  978. package/modules/blocks/components/CustomVideoBlock.d.ts +0 -70
  979. package/modules/blocks/components/CustomVideoBlock.js +0 -36
  980. package/modules/blocks/components/DocumentPlaceholderBlock.d.ts +0 -40
  981. package/modules/blocks/components/DocumentPlaceholderBlock.js +0 -8
  982. package/modules/blocks/components/Editor.d.ts +0 -2
  983. package/modules/blocks/components/Editor.js +0 -274
  984. package/modules/blocks/components/FontFamilyButton.d.ts +0 -1
  985. package/modules/blocks/components/FontFamilyButton.js +0 -10
  986. package/modules/blocks/components/FontSizeButton.d.ts +0 -1
  987. package/modules/blocks/components/FontSizeButton.js +0 -9
  988. package/modules/blocks/components/GalleryBlock.d.ts +0 -30
  989. package/modules/blocks/components/GalleryBlock.js +0 -274
  990. package/modules/blocks/components/ImageStyleButton.d.ts +0 -1
  991. package/modules/blocks/components/ImageStyleButton.js +0 -274
  992. package/modules/blocks/components/SlashMenu.d.ts +0 -2
  993. package/modules/blocks/components/SlashMenu.js +0 -274
  994. package/modules/blocks/components/SuggestionMenu.d.ts +0 -7
  995. package/modules/blocks/components/SuggestionMenu.js +0 -276
  996. package/modules/blocks/components/TableHandleWithRemove.d.ts +0 -2
  997. package/modules/blocks/components/TableHandleWithRemove.js +0 -8
  998. package/modules/blocks/components/index.d.ts +0 -6
  999. package/modules/blocks/components/index.js +0 -291
  1000. package/modules/blocks/components/toolbar/ToolbarContents.d.ts +0 -1
  1001. package/modules/blocks/components/toolbar/ToolbarContents.js +0 -274
  1002. package/modules/blocks/components/toolbar/ToolbarRoot.d.ts +0 -2
  1003. package/modules/blocks/components/toolbar/ToolbarRoot.js +0 -10
  1004. package/modules/blocks/components/toolbar/buttons/ToolbarButton.d.ts +0 -1
  1005. package/modules/blocks/components/toolbar/buttons/ToolbarButton.js +0 -274
  1006. package/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.d.ts +0 -2
  1007. package/modules/blocks/components/toolbar/buttons/ToolbarFormattingButton.js +0 -10
  1008. package/modules/blocks/components/toolbar/buttons/ToolbarToggle.js +0 -274
  1009. package/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.d.ts +0 -2
  1010. package/modules/blocks/components/toolbar/menus/ToolbarMenuDropdown.js +0 -10
  1011. package/modules/blocks/components/toolbar/menus/ToolbarMenuItem.d.ts +0 -2
  1012. package/modules/blocks/components/toolbar/menus/ToolbarMenuItem.js +0 -274
  1013. package/modules/blocks/components/toolbar/menus/ToolbarSelect.d.ts +0 -2
  1014. package/modules/blocks/components/toolbar/menus/ToolbarSelect.js +0 -274
  1015. package/modules/blocks/constant/blockEditorSchema.d.ts +0 -732
  1016. package/modules/blocks/constant/blockEditorSchema.js +0 -278
  1017. package/modules/blocks/constant/index.d.ts +0 -1
  1018. package/modules/blocks/constant/index.js +0 -280
  1019. package/modules/blocks/constant/toolbar/codeIncompatibleControls.d.ts +0 -1
  1020. package/modules/blocks/constant/toolbar/codeIncompatibleControls.js +0 -6
  1021. package/modules/blocks/constant/toolbar/editorUIComponents.d.ts +0 -3
  1022. package/modules/blocks/constant/toolbar/editorUIComponents.js +0 -272
  1023. package/modules/blocks/constant/toolbar/fontFamilies.d.ts +0 -4
  1024. package/modules/blocks/constant/toolbar/fontFamilies.js +0 -6
  1025. package/modules/blocks/constant/toolbar/imageStyleOptions.d.ts +0 -2
  1026. package/modules/blocks/constant/toolbar/imageStyleOptions.js +0 -6
  1027. package/modules/blocks/hooks/toolbar/useCodeActive.d.ts +0 -1
  1028. package/modules/blocks/hooks/toolbar/useCodeActive.js +0 -7
  1029. package/modules/blocks/hooks/toolbar/useFontFamily.d.ts +0 -2
  1030. package/modules/blocks/hooks/toolbar/useFontFamily.js +0 -7
  1031. package/modules/blocks/hooks/toolbar/useFontSize.d.ts +0 -2
  1032. package/modules/blocks/hooks/toolbar/useFontSize.js +0 -7
  1033. package/modules/blocks/hooks/toolbar/useToolbarComponents.d.ts +0 -2
  1034. package/modules/blocks/hooks/toolbar/useToolbarComponents.js +0 -273
  1035. package/modules/blocks/hooks/useBarcodeAttribute.d.ts +0 -35
  1036. package/modules/blocks/hooks/useBarcodeAttribute.js +0 -11
  1037. package/modules/blocks/hooks/useBlockEditor.d.ts +0 -12
  1038. package/modules/blocks/hooks/useBlockEditor.js +0 -274
  1039. package/modules/blocks/hooks/useBlockEditorCommentComposer.d.ts +0 -6
  1040. package/modules/blocks/hooks/useBlockEditorCommentComposer.js +0 -273
  1041. package/modules/blocks/hooks/useBlockEditorEditable.d.ts +0 -2
  1042. package/modules/blocks/hooks/useBlockEditorEditable.js +0 -9
  1043. package/modules/blocks/index.d.ts +0 -5
  1044. package/modules/blocks/index.js +0 -310
  1045. package/modules/blocks/types/EditorBlock.d.ts +0 -2
  1046. package/modules/blocks/types/TextEditor.d.ts +0 -30
  1047. package/modules/blocks/types/TextEditor.js +0 -1
  1048. package/modules/blocks/types/index.d.ts +0 -1
  1049. package/modules/blocks/types/index.js +0 -4
  1050. package/modules/blocks/types/toolbar/EditorVisibleBounds.d.ts +0 -6
  1051. package/modules/blocks/types/toolbar/EditorVisibleBounds.js +0 -0
  1052. package/modules/blocks/types/toolbar/FontFamily.d.ts +0 -5
  1053. package/modules/blocks/types/toolbar/FontFamily.js +0 -0
  1054. package/modules/blocks/types/toolbar/FontSize.d.ts +0 -5
  1055. package/modules/blocks/types/toolbar/FontSize.js +0 -0
  1056. package/modules/blocks/types/toolbar/FormattingShortcut.d.ts +0 -7
  1057. package/modules/blocks/types/toolbar/ImageStyleOption.d.ts +0 -7
  1058. package/modules/blocks/types/toolbar/ToolbarFormattingButtonProps.d.ts +0 -5
  1059. package/modules/blocks/types/toolbar/ToolbarMenuItemProps.d.ts +0 -4
  1060. package/modules/blocks/types/toolbar/ToolbarMenuItemProps.js +0 -0
  1061. package/modules/blocks/types/toolbar/ToolbarPositioningOptions.d.ts +0 -3
  1062. package/modules/blocks/types/toolbar/ToolbarPositioningOptions.js +0 -0
  1063. package/modules/blocks/utils/getBlockAttachments.d.ts +0 -12
  1064. package/modules/blocks/utils/getBlockAttachments.js +0 -6
  1065. package/modules/blocks/utils/getMentionedUserIds.d.ts +0 -2
  1066. package/modules/blocks/utils/getMentionedUserIds.js +0 -6
  1067. package/modules/blocks/utils/getSlashMenuItems.d.ts +0 -3
  1068. package/modules/blocks/utils/getSlashMenuItems.js +0 -8
  1069. package/modules/blocks/utils/index.d.ts +0 -3
  1070. package/modules/blocks/utils/index.js +0 -17
  1071. package/modules/blocks/utils/isEmptyBlock.d.ts +0 -2
  1072. package/modules/blocks/utils/isEmptyBlock.js +0 -6
  1073. package/modules/blocks/utils/parseBlocks.d.ts +0 -2
  1074. package/modules/blocks/utils/parseBlocks.js +0 -6
  1075. package/modules/blocks/utils/removeCodeFormattingFromHTML.d.ts +0 -1
  1076. package/modules/blocks/utils/removeCodeFormattingFromHTML.js +0 -6
  1077. package/modules/blocks/utils/toolbar/getEditorVisibleBounds.d.ts +0 -2
  1078. package/modules/blocks/utils/toolbar/getEditorVisibleBounds.js +0 -6
  1079. package/modules/blocks/utils/toolbar/getToolbarPositioning.d.ts +0 -2
  1080. package/modules/blocks/utils/toolbar/getToolbarPositioning.js +0 -7
  1081. package/modules/blocks/utils/toolbar/isCodeFormattingShortcut.d.ts +0 -2
  1082. package/modules/blocks/utils/toolbar/isCodeFormattingShortcut.js +0 -6
  1083. package/modules/board/components/Board.d.ts +0 -22
  1084. package/modules/board/components/Board.js +0 -278
  1085. package/modules/board/contexts/BoardContext.d.ts +0 -2
  1086. package/modules/board/contexts/BoardContext.js +0 -6
  1087. package/modules/board/index.d.ts +0 -2
  1088. package/modules/board/index.js +0 -278
  1089. package/modules/board/states/boardStates.d.ts +0 -2
  1090. package/modules/board/states/boardStates.js +0 -8
  1091. package/modules/board/types/boardTypes.d.ts +0 -42
  1092. package/modules/board/types/boardTypes.js +0 -1
  1093. package/modules/chat-viz/components/ChatVizArea.d.ts +0 -9
  1094. package/modules/chat-viz/components/ChatVizArea.js +0 -13
  1095. package/modules/chat-viz/components/ChatVizBar.d.ts +0 -9
  1096. package/modules/chat-viz/components/ChatVizBar.js +0 -13
  1097. package/modules/chat-viz/components/ChatVizCartesianDecorations.d.ts +0 -7
  1098. package/modules/chat-viz/components/ChatVizCartesianDecorations.js +0 -11
  1099. package/modules/chat-viz/components/ChatVizLine.d.ts +0 -9
  1100. package/modules/chat-viz/components/ChatVizLine.js +0 -13
  1101. package/modules/chat-viz/components/ChatVizMessage.d.ts +0 -16
  1102. package/modules/chat-viz/components/ChatVizMessage.js +0 -21
  1103. package/modules/chat-viz/components/ChatVizPie.d.ts +0 -13
  1104. package/modules/chat-viz/components/ChatVizPie.js +0 -12
  1105. package/modules/chat-viz/components/ChatVizSendButton.d.ts +0 -17
  1106. package/modules/chat-viz/components/ChatVizSendButton.js +0 -12
  1107. package/modules/chat-viz/hooks/useChatVizSend.d.ts +0 -11
  1108. package/modules/chat-viz/hooks/useChatVizSend.js +0 -8
  1109. package/modules/chat-viz/hooks/useIsClient.d.ts +0 -8
  1110. package/modules/chat-viz/hooks/useIsClient.js +0 -7
  1111. package/modules/chat-viz/index.d.ts +0 -12
  1112. package/modules/chat-viz/index.js +0 -60
  1113. package/modules/chat-viz/types/chatVizTypes.d.ts +0 -53
  1114. package/modules/chat-viz/types/chatVizTypes.js +0 -0
  1115. package/modules/chat-viz/utils/chartVizPresentation.d.ts +0 -10
  1116. package/modules/chat-viz/utils/chartVizPresentation.js +0 -10
  1117. package/modules/chat-viz/utils/chartVizTransforms.d.ts +0 -19
  1118. package/modules/chat-viz/utils/chartVizTransforms.js +0 -11
  1119. package/modules/chat-viz/utils/chatVizSanitize.d.ts +0 -25
  1120. package/modules/chat-viz/utils/chatVizSanitize.js +0 -10
  1121. package/modules/display/components/CurrencyDisplay.d.ts +0 -15
  1122. package/modules/display/components/CurrencyDisplay.js +0 -40
  1123. package/modules/display/components/EllipsisDisplay.d.ts +0 -2
  1124. package/modules/display/components/EllipsisDisplay.js +0 -10
  1125. package/modules/display/components/EmailDisplay.d.ts +0 -2
  1126. package/modules/display/components/EmailDisplay.js +0 -274
  1127. package/modules/display/components/PhoneDisplay.d.ts +0 -4
  1128. package/modules/display/components/PhoneDisplay.js +0 -274
  1129. package/modules/display/components/RelativeDateDisplay.d.ts +0 -288
  1130. package/modules/display/components/RelativeDateDisplay.js +0 -274
  1131. package/modules/display/components/SexDisplay.d.ts +0 -4
  1132. package/modules/display/components/SexDisplay.js +0 -26
  1133. package/modules/display/index.d.ts +0 -6
  1134. package/modules/display/index.js +0 -289
  1135. package/modules/display/types/emailDisplay.d.ts +0 -7
  1136. package/modules/display/utils/formatEmails.d.ts +0 -3
  1137. package/modules/display/utils/formatEmails.js +0 -6
  1138. package/modules/display/utils/formatPhones.d.ts +0 -3
  1139. package/modules/display/utils/formatPhones.js +0 -18
  1140. package/modules/email-editor/components/EmailEditor.d.ts +0 -3
  1141. package/modules/email-editor/components/EmailEditor.js +0 -276
  1142. package/modules/email-editor/components/EmailPreviewDeviceToggle.d.ts +0 -7
  1143. package/modules/email-editor/components/EmailPreviewDeviceToggle.js +0 -274
  1144. package/modules/email-editor/components/EmailPreviewFrame.d.ts +0 -8
  1145. package/modules/email-editor/components/EmailPreviewFrame.js +0 -10
  1146. package/modules/email-editor/components/EmailTableBackground.d.ts +0 -4
  1147. package/modules/email-editor/components/EmailTableBackground.js +0 -274
  1148. package/modules/email-editor/components/EmailTableToolbar.d.ts +0 -8
  1149. package/modules/email-editor/components/EmailTableToolbar.js +0 -274
  1150. package/modules/email-editor/components/index.d.ts +0 -3
  1151. package/modules/email-editor/components/index.js +0 -281
  1152. package/modules/email-editor/constant/index.d.ts +0 -4
  1153. package/modules/email-editor/constant/index.js +0 -9
  1154. package/modules/email-editor/extensions/documentPlaceholder.d.ts +0 -20
  1155. package/modules/email-editor/extensions/documentPlaceholder.js +0 -6
  1156. package/modules/email-editor/extensions/documentPlaceholderBlock.d.ts +0 -19
  1157. package/modules/email-editor/extensions/documentPlaceholderBlock.js +0 -12
  1158. package/modules/email-editor/extensions/table.d.ts +0 -38
  1159. package/modules/email-editor/extensions/table.js +0 -16
  1160. package/modules/email-editor/extensions/tableBlock.d.ts +0 -12
  1161. package/modules/email-editor/extensions/tableBlock.js +0 -8
  1162. package/modules/email-editor/hooks/useEmailHtml.d.ts +0 -6
  1163. package/modules/email-editor/hooks/useEmailHtml.js +0 -9
  1164. package/modules/email-editor/index.d.ts +0 -6
  1165. package/modules/email-editor/index.js +0 -295
  1166. package/modules/email-editor/types/index.d.ts +0 -29
  1167. package/modules/email-editor/types/index.js +0 -3
  1168. package/modules/email-editor/utils/expandCustomNodes.d.ts +0 -2
  1169. package/modules/email-editor/utils/expandCustomNodes.js +0 -6
  1170. package/modules/email-editor/utils/renderEmailHtml.d.ts +0 -5
  1171. package/modules/email-editor/utils/renderEmailHtml.js +0 -7
  1172. package/modules/filter/components/Filter.d.ts +0 -909
  1173. package/modules/filter/components/Filter.js +0 -274
  1174. package/modules/filter/context/FilterContext.d.ts +0 -2
  1175. package/modules/filter/context/FilterContext.js +0 -8
  1176. package/modules/filter/date-filter/components/DateFilterCommand.d.ts +0 -7
  1177. package/modules/filter/date-filter/components/DateFilterCommand.js +0 -274
  1178. package/modules/filter/date-filter/components/DialogDateView.d.ts +0 -9
  1179. package/modules/filter/date-filter/components/DialogDateView.js +0 -276
  1180. package/modules/filter/date-filter/constants/dateTypes.d.ts +0 -4
  1181. package/modules/filter/date-filter/constants/dateTypes.js +0 -14
  1182. package/modules/filter/date-filter/index.d.ts +0 -2
  1183. package/modules/filter/date-filter/index.js +0 -279
  1184. package/modules/filter/date-filter/utils/dateTokens.d.ts +0 -9
  1185. package/modules/filter/date-filter/utils/dateTokens.js +0 -11
  1186. package/modules/filter/date-filter/utils/getActiveTab.d.ts +0 -1
  1187. package/modules/filter/date-filter/utils/getActiveTab.js +0 -7
  1188. package/modules/filter/date-filter/utils/getDisplayValue.d.ts +0 -1
  1189. package/modules/filter/date-filter/utils/getDisplayValue.js +0 -8
  1190. package/modules/filter/date-filter/utils/getYears.d.ts +0 -1
  1191. package/modules/filter/date-filter/utils/getYears.js +0 -6
  1192. package/modules/filter/date-filter/utils/parseDateRangeFromString.d.ts +0 -4
  1193. package/modules/filter/date-filter/utils/parseDateRangeFromString.js +0 -34
  1194. package/modules/filter/hooks/useFilterContext.d.ts +0 -1
  1195. package/modules/filter/hooks/useFilterContext.js +0 -9
  1196. package/modules/filter/hooks/useFilterQueryState.d.ts +0 -4
  1197. package/modules/filter/hooks/useFilterQueryState.js +0 -10
  1198. package/modules/filter/index.d.ts +0 -5
  1199. package/modules/filter/index.js +0 -287
  1200. package/modules/filter/states/filterStates.d.ts +0 -15
  1201. package/modules/filter/states/filterStates.js +0 -14
  1202. package/modules/filter/types/filter.d.ts +0 -23
  1203. package/modules/filter/types/filter.js +0 -1
  1204. package/modules/focus-sheet/components/focus-sheet.d.ts +0 -59
  1205. package/modules/focus-sheet/components/focus-sheet.js +0 -278
  1206. package/modules/hotkey/components/PopoverScoped.d.ts +0 -10
  1207. package/modules/hotkey/components/PopoverScoped.js +0 -274
  1208. package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.d.ts +0 -2
  1209. package/modules/hotkey/constants/defaultHotkeysScopeCustomScopes.js +0 -6
  1210. package/modules/hotkey/constants/initialHotkeysScope.d.ts +0 -2
  1211. package/modules/hotkey/constants/initialHotkeysScope.js +0 -7
  1212. package/modules/hotkey/hooks/usePreviousHotkeyScope.d.ts +0 -5
  1213. package/modules/hotkey/hooks/usePreviousHotkeyScope.js +0 -19
  1214. package/modules/hotkey/hooks/useScopedHotKeysCallback.d.ts +0 -9
  1215. package/modules/hotkey/hooks/useScopedHotKeysCallback.js +0 -12
  1216. package/modules/hotkey/hooks/useScopedHotkeys.d.ts +0 -3
  1217. package/modules/hotkey/hooks/useScopedHotkeys.js +0 -13
  1218. package/modules/hotkey/hooks/useSequenceHotkeys.d.ts +0 -4
  1219. package/modules/hotkey/hooks/useSequenceHotkeys.js +0 -21
  1220. package/modules/hotkey/hooks/useSetHotkeyScope.d.ts +0 -2
  1221. package/modules/hotkey/hooks/useSetHotkeyScope.js +0 -17
  1222. package/modules/hotkey/index.d.ts +0 -13
  1223. package/modules/hotkey/index.js +0 -306
  1224. package/modules/hotkey/states/internal/currentHotkeyScopeState.d.ts +0 -4
  1225. package/modules/hotkey/states/internal/currentHotkeyScopeState.js +0 -8
  1226. package/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.d.ts +0 -3
  1227. package/modules/hotkey/states/internal/internalHotkeysEnabledScopeState.js +0 -6
  1228. package/modules/hotkey/states/internal/pendingHotkeyState.d.ts +0 -2
  1229. package/modules/hotkey/states/internal/pendingHotkeyState.js +0 -6
  1230. package/modules/hotkey/states/internal/previousHotkeyScopeState.d.ts +0 -2
  1231. package/modules/hotkey/states/internal/previousHotkeyScopeState.js +0 -6
  1232. package/modules/hotkey/states/setHotkeyScopeState.d.ts +0 -5
  1233. package/modules/hotkey/states/setHotkeyScopeState.js +0 -12
  1234. package/modules/hotkey/types/AppHotkeyScope.d.ts +0 -7
  1235. package/modules/hotkey/types/AppHotkeyScope.js +0 -6
  1236. package/modules/hotkey/types/CustomHotkeyScope.d.ts +0 -6
  1237. package/modules/hotkey/types/CustomHotkeyScope.js +0 -1
  1238. package/modules/hotkey/types/HotkeyScope.d.ts +0 -5
  1239. package/modules/hotkey/types/HotkeyScope.js +0 -1
  1240. package/modules/hotkey/utils/isNonTextWritingKey.d.ts +0 -1
  1241. package/modules/hotkey/utils/isNonTextWritingKey.js +0 -6
  1242. package/modules/icons/components/IconComponent.d.ts +0 -5
  1243. package/modules/icons/components/IconComponent.js +0 -10
  1244. package/modules/icons/components/IconPicker.d.ts +0 -6
  1245. package/modules/icons/components/IconPicker.js +0 -274
  1246. package/modules/icons/components/TablerIcons.d.ts +0 -294
  1247. package/modules/icons/components/TablerIcons.js +0 -592
  1248. package/modules/icons/hooks/useIcons.d.ts +0 -4
  1249. package/modules/icons/hooks/useIcons.js +0 -8
  1250. package/modules/icons/index.d.ts +0 -3
  1251. package/modules/icons/index.js +0 -280
  1252. package/modules/icons/providers/IconsProvider.d.ts +0 -5
  1253. package/modules/icons/providers/IconsProvider.js +0 -9
  1254. package/modules/icons/states/iconsState.d.ts +0 -4
  1255. package/modules/icons/states/iconsState.js +0 -6
  1256. package/modules/index.d.ts +0 -22
  1257. package/modules/index.js +0 -609
  1258. package/modules/inputs/components/CurrencyField.d.ts +0 -442
  1259. package/modules/inputs/components/CurrencyField.js +0 -274
  1260. package/modules/inputs/components/EmailField.d.ts +0 -30
  1261. package/modules/inputs/components/EmailField.js +0 -276
  1262. package/modules/inputs/components/FullNameField.d.ts +0 -9
  1263. package/modules/inputs/components/FullNameField.js +0 -276
  1264. package/modules/inputs/components/LanguageSelect.d.ts +0 -7
  1265. package/modules/inputs/components/LanguageSelect.js +0 -274
  1266. package/modules/inputs/components/NumberField.d.ts +0 -6
  1267. package/modules/inputs/components/NumberField.js +0 -10
  1268. package/modules/inputs/components/PhoneField.d.ts +0 -56
  1269. package/modules/inputs/components/PhoneField.js +0 -276
  1270. package/modules/inputs/components/SexField.d.ts +0 -5
  1271. package/modules/inputs/components/SexField.js +0 -274
  1272. package/modules/inputs/components/TimezoneSelect.d.ts +0 -7
  1273. package/modules/inputs/components/TimezoneSelect.js +0 -274
  1274. package/modules/inputs/contexts/EmailFieldsContext.d.ts +0 -8
  1275. package/modules/inputs/contexts/EmailFieldsContext.js +0 -8
  1276. package/modules/inputs/contexts/FullNameFieldContext.d.ts +0 -7
  1277. package/modules/inputs/contexts/FullNameFieldContext.js +0 -8
  1278. package/modules/inputs/contexts/PhoneFieldsContext.d.ts +0 -6
  1279. package/modules/inputs/contexts/PhoneFieldsContext.js +0 -8
  1280. package/modules/inputs/hooks/useEmailFields.d.ts +0 -6
  1281. package/modules/inputs/hooks/useEmailFields.js +0 -9
  1282. package/modules/inputs/hooks/useFullNameField.d.ts +0 -7
  1283. package/modules/inputs/hooks/useFullNameField.js +0 -9
  1284. package/modules/inputs/hooks/usePhoneFields.d.ts +0 -5
  1285. package/modules/inputs/hooks/usePhoneFields.js +0 -9
  1286. package/modules/inputs/index.d.ts +0 -8
  1287. package/modules/inputs/index.js +0 -295
  1288. package/modules/inputs/states/emailFieldStates.d.ts +0 -8
  1289. package/modules/inputs/states/emailFieldStates.js +0 -10
  1290. package/modules/inputs/states/phoneFieldStates.d.ts +0 -8
  1291. package/modules/inputs/states/phoneFieldStates.js +0 -10
  1292. package/modules/inputs/validations/emailValidation.d.ts +0 -8
  1293. package/modules/inputs/validations/emailValidation.js +0 -6
  1294. package/modules/inputs/validations/phoneValidation.d.ts +0 -8
  1295. package/modules/inputs/validations/phoneValidation.js +0 -6
  1296. package/modules/layout/components/AppLayout.d.ts +0 -22
  1297. package/modules/layout/components/AppLayout.js +0 -44
  1298. package/modules/layout/components/AppLayoutPageSlot.d.ts +0 -2
  1299. package/modules/layout/components/AppLayoutPageSlot.js +0 -9
  1300. package/modules/layout/components/Page.d.ts +0 -5
  1301. package/modules/layout/components/Page.js +0 -12
  1302. package/modules/layout/index.d.ts +0 -3
  1303. package/modules/layout/index.js +0 -56
  1304. package/modules/layout/states/appLayoutPageState.d.ts +0 -4
  1305. package/modules/layout/states/appLayoutPageState.js +0 -8
  1306. package/modules/motion/components/TextEffect.d.ts +0 -26
  1307. package/modules/motion/components/TextEffect.js +0 -10
  1308. package/modules/motion/components/TextLoop.d.ts +0 -12
  1309. package/modules/motion/components/TextLoop.js +0 -10
  1310. package/modules/motion/index.d.ts +0 -2
  1311. package/modules/motion/index.js +0 -15
  1312. package/modules/navigation-menu/components/NavigationMenu.d.ts +0 -60
  1313. package/modules/navigation-menu/components/NavigationMenu.js +0 -280
  1314. package/modules/navigation-menu/components/NavigationMenuItemControls.d.ts +0 -11
  1315. package/modules/navigation-menu/components/NavigationMenuItemControls.js +0 -10
  1316. package/modules/navigation-menu/index.d.ts +0 -3
  1317. package/modules/navigation-menu/index.js +0 -288
  1318. package/modules/navigation-menu/states/activePluginState.d.ts +0 -1
  1319. package/modules/navigation-menu/states/activePluginState.js +0 -8
  1320. package/modules/preview/components/Preview.d.ts +0 -43
  1321. package/modules/preview/components/Preview.js +0 -278
  1322. package/modules/preview/context/PreviewContext.d.ts +0 -6
  1323. package/modules/preview/context/PreviewContext.js +0 -10
  1324. package/modules/record-field/components/NumberField.d.ts +0 -18
  1325. package/modules/record-field/components/NumberField.js +0 -274
  1326. package/modules/record-field/components/TextField.d.ts +0 -18
  1327. package/modules/record-field/components/TextField.js +0 -274
  1328. package/modules/record-field/index.d.ts +0 -3
  1329. package/modules/record-field/index.js +0 -278
  1330. package/modules/record-field/meta-inputs/components/EmailVerificationInput.d.ts +0 -8
  1331. package/modules/record-field/meta-inputs/components/EmailVerificationInput.js +0 -372
  1332. package/modules/record-field/meta-inputs/components/PhoneInput.d.ts +0 -13
  1333. package/modules/record-field/meta-inputs/components/PhoneInput.js +0 -274
  1334. package/modules/record-field/meta-inputs/components/PhoneVerificationInput.d.ts +0 -8
  1335. package/modules/record-field/meta-inputs/components/PhoneVerificationInput.js +0 -350
  1336. package/modules/record-field/meta-inputs/components/TextFieldInput.d.ts +0 -4
  1337. package/modules/record-field/meta-inputs/components/TextFieldInput.js +0 -293
  1338. package/modules/record-table/components/CheckboxColumn.d.ts +0 -2
  1339. package/modules/record-table/components/CheckboxColumn.js +0 -11
  1340. package/modules/record-table/components/MoreColumn.d.ts +0 -3
  1341. package/modules/record-table/components/MoreColumn.js +0 -274
  1342. package/modules/record-table/components/RecordTableArrowEffect.d.ts +0 -4
  1343. package/modules/record-table/components/RecordTableArrowEffect.js +0 -274
  1344. package/modules/record-table/components/RecordTableCell.d.ts +0 -5
  1345. package/modules/record-table/components/RecordTableCell.js +0 -274
  1346. package/modules/record-table/components/RecordTableCellInline.d.ts +0 -14
  1347. package/modules/record-table/components/RecordTableCellInline.js +0 -276
  1348. package/modules/record-table/components/RecordTableColumnSelector.d.ts +0 -4
  1349. package/modules/record-table/components/RecordTableColumnSelector.js +0 -274
  1350. package/modules/record-table/components/RecordTableContainer.d.ts +0 -7
  1351. package/modules/record-table/components/RecordTableContainer.js +0 -10
  1352. package/modules/record-table/components/RecordTableCursor.d.ts +0 -20
  1353. package/modules/record-table/components/RecordTableCursor.js +0 -278
  1354. package/modules/record-table/components/RecordTableDnDProvider.d.ts +0 -8
  1355. package/modules/record-table/components/RecordTableDnDProvider.js +0 -8
  1356. package/modules/record-table/components/RecordTableHead.d.ts +0 -9
  1357. package/modules/record-table/components/RecordTableHead.js +0 -276
  1358. package/modules/record-table/components/RecordTableHeader.d.ts +0 -3
  1359. package/modules/record-table/components/RecordTableHeader.js +0 -274
  1360. package/modules/record-table/components/RecordTableHotkeyCell.d.ts +0 -8
  1361. package/modules/record-table/components/RecordTableHotkeyCell.js +0 -274
  1362. package/modules/record-table/components/RecordTableInlineHead.d.ts +0 -5
  1363. package/modules/record-table/components/RecordTableInlineHead.js +0 -8
  1364. package/modules/record-table/components/RecordTableProvider.d.ts +0 -13
  1365. package/modules/record-table/components/RecordTableProvider.js +0 -15
  1366. package/modules/record-table/components/RecordTableRoot.d.ts +0 -2
  1367. package/modules/record-table/components/RecordTableRoot.js +0 -274
  1368. package/modules/record-table/components/RecordTableRow.d.ts +0 -6
  1369. package/modules/record-table/components/RecordTableRow.js +0 -274
  1370. package/modules/record-table/components/RecordTableRowList.d.ts +0 -5
  1371. package/modules/record-table/components/RecordTableRowList.js +0 -274
  1372. package/modules/record-table/components/RecordTableRowSkeleton.d.ts +0 -6
  1373. package/modules/record-table/components/RecordTableRowSkeleton.js +0 -274
  1374. package/modules/record-table/components/RecordTableScroll.d.ts +0 -4
  1375. package/modules/record-table/components/RecordTableScroll.js +0 -274
  1376. package/modules/record-table/components/RecordTableTree.d.ts +0 -23
  1377. package/modules/record-table/components/RecordTableTree.js +0 -274
  1378. package/modules/record-table/contexts/RecordTableCursorContext.d.ts +0 -2
  1379. package/modules/record-table/contexts/RecordTableCursorContext.js +0 -8
  1380. package/modules/record-table/contexts/RecordTableHotkeyContext.d.ts +0 -16
  1381. package/modules/record-table/contexts/RecordTableHotkeyContext.js +0 -276
  1382. package/modules/record-table/contexts/RecordTableTreeContext.d.ts +0 -2
  1383. package/modules/record-table/contexts/RecordTableTreeContext.js +0 -8
  1384. package/modules/record-table/hooks/usePopoverOnEnter.d.ts +0 -3
  1385. package/modules/record-table/hooks/usePopoverOnEnter.js +0 -300
  1386. package/modules/record-table/hooks/useRecordTableCursor.d.ts +0 -6
  1387. package/modules/record-table/hooks/useRecordTableCursor.js +0 -9
  1388. package/modules/record-table/hooks/useRecordTableCursorContext.d.ts +0 -1
  1389. package/modules/record-table/hooks/useRecordTableCursorContext.js +0 -9
  1390. package/modules/record-table/hooks/useRecordTableTree.d.ts +0 -9
  1391. package/modules/record-table/hooks/useRecordTableTree.js +0 -12
  1392. package/modules/record-table/hooks/useTablePreferences.d.ts +0 -11
  1393. package/modules/record-table/hooks/useTablePreferences.js +0 -7
  1394. package/modules/record-table/index.d.ts +0 -71
  1395. package/modules/record-table/index.js +0 -302
  1396. package/modules/record-table/states/EditModePositionComponentState.d.ts +0 -3
  1397. package/modules/record-table/states/EditModePositionComponentState.js +0 -9
  1398. package/modules/record-table/states/RecordTableCursorState.d.ts +0 -3
  1399. package/modules/record-table/states/RecordTableCursorState.js +0 -6
  1400. package/modules/record-table/states/RecordTableTreeState.d.ts +0 -3
  1401. package/modules/record-table/states/RecordTableTreeState.js +0 -6
  1402. package/modules/record-table/types/RecordTableCursorTypes.d.ts +0 -23
  1403. package/modules/record-table/types/RecordTableCursorTypes.js +0 -8
  1404. package/modules/record-table/types/RecordTableScope.d.ts +0 -3
  1405. package/modules/record-table/types/RecordTableScope.js +0 -8
  1406. package/modules/record-table/types/RecordTableTreeTypes.d.ts +0 -6
  1407. package/modules/record-table/types/RecordTableTreeTypes.js +0 -0
  1408. package/modules/record-table/types/recordTableTypes.d.ts +0 -7
  1409. package/modules/record-table/types/recordTableTypes.js +0 -0
  1410. package/modules/record-table/utils/columnUtils.d.ts +0 -4
  1411. package/modules/record-table/utils/columnUtils.js +0 -10
  1412. package/modules/record-table/utils/cursorUtils.d.ts +0 -25
  1413. package/modules/record-table/utils/cursorUtils.js +0 -9
  1414. package/modules/report/components/report-page-container.d.ts +0 -4
  1415. package/modules/report/components/report-page-container.js +0 -276
  1416. package/modules/report/components/report-table.d.ts +0 -19
  1417. package/modules/report/components/report-table.js +0 -9
  1418. package/modules/report/index.d.ts +0 -2
  1419. package/modules/report/index.js +0 -279
  1420. package/modules/report/states/reportSettingsState.d.ts +0 -13
  1421. package/modules/report/states/reportSettingsState.js +0 -6
  1422. package/modules/select-operation/components/SelectOperation.d.ts +0 -17
  1423. package/modules/select-operation/components/SelectOperation.js +0 -278
  1424. package/modules/select-operation/index.d.ts +0 -1
  1425. package/modules/select-operation/index.js +0 -278
  1426. package/modules/select-tree/components/SelectTree.d.ts +0 -63
  1427. package/modules/select-tree/components/SelectTree.js +0 -284
  1428. package/modules/select-tree/context/SelectTreeContext.d.ts +0 -3
  1429. package/modules/select-tree/context/SelectTreeContext.js +0 -10
  1430. package/modules/select-tree/hooks/useSelectTreeHide.d.ts +0 -6
  1431. package/modules/select-tree/hooks/useSelectTreeHide.js +0 -10
  1432. package/modules/select-tree/index.d.ts +0 -1
  1433. package/modules/select-tree/index.js +0 -284
  1434. package/modules/select-tree/states/selectTreeStates.d.ts +0 -3
  1435. package/modules/select-tree/states/selectTreeStates.js +0 -8
  1436. package/modules/select-tree/types/selectTreeTypes.d.ts +0 -11
  1437. package/modules/select-tree/types/selectTreeTypes.js +0 -0
  1438. package/modules/side-menu/components/SideMenu.d.ts +0 -34
  1439. package/modules/side-menu/components/SideMenu.js +0 -284
  1440. package/modules/side-menu/context/SideMenuContext.d.ts +0 -8
  1441. package/modules/side-menu/context/SideMenuContext.js +0 -10
  1442. package/state/index.d.ts +0 -2
  1443. package/state/index.js +0 -11
  1444. package/state/sidebarPanelState.d.ts +0 -1
  1445. package/state/sidebarPanelState.js +0 -6
  1446. package/state/themeState.d.ts +0 -2
  1447. package/state/themeState.js +0 -6
  1448. package/styles.css +0 -2
  1449. package/theme.css +0 -285
  1450. package/types/CountryCode.d.ts +0 -6
  1451. package/types/CountryCode.js +0 -1
  1452. package/types/CurrencyCode.d.ts +0 -159
  1453. package/types/CurrencyCode.js +0 -6
  1454. package/types/Displays.d.ts +0 -5
  1455. package/types/Displays.js +0 -1
  1456. package/types/Gql.d.ts +0 -14
  1457. package/types/Gql.js +0 -8
  1458. package/types/Key.d.ts +0 -997
  1459. package/types/Key.js +0 -6
  1460. package/types/Relations.d.ts +0 -13
  1461. package/types/Relations.js +0 -1
  1462. package/types/SexCode.d.ts +0 -6
  1463. package/types/SexCode.js +0 -6
  1464. package/types/Theme.d.ts +0 -2
  1465. package/types/Theme.js +0 -1
  1466. package/types/UIConfig.d.ts +0 -221
  1467. package/types/UIConfig.js +0 -1
  1468. package/types/Utils.d.ts +0 -11
  1469. package/types/Utils.js +0 -1
  1470. package/types/ValidationStatus.d.ts +0 -4
  1471. package/types/ValidationStatus.js +0 -6
  1472. package/types/index.d.ts +0 -11
  1473. package/types/index.js +0 -31
  1474. package/utils/IsUndefinedOrNull.d.ts +0 -1
  1475. package/utils/IsUndefinedOrNull.js +0 -6
  1476. package/utils/colors.d.ts +0 -7
  1477. package/utils/colors.js +0 -8
  1478. package/utils/config/index.d.ts +0 -14
  1479. package/utils/config/index.js +0 -19
  1480. package/utils/config/readProcessEnvironment.d.ts +0 -1
  1481. package/utils/config/readProcessEnvironment.js +0 -6
  1482. package/utils/cookie-storage.d.ts +0 -9
  1483. package/utils/cookie-storage.js +0 -6
  1484. package/utils/core.d.ts +0 -2
  1485. package/utils/core.js +0 -33
  1486. package/utils/fixOrder.d.ts +0 -4
  1487. package/utils/fixOrder.js +0 -6
  1488. package/utils/format/formatAmount.d.ts +0 -1
  1489. package/utils/format/formatAmount.js +0 -6
  1490. package/utils/format/formatPhoneNumber.d.ts +0 -5
  1491. package/utils/format/formatPhoneNumber.js +0 -6
  1492. package/utils/format/index.d.ts +0 -2
  1493. package/utils/format/index.js +0 -11
  1494. package/utils/getPluginAssetsUrl.d.ts +0 -1
  1495. package/utils/getPluginAssetsUrl.js +0 -6
  1496. package/utils/highlightMatch.d.ts +0 -1
  1497. package/utils/highlightMatch.js +0 -8
  1498. package/utils/index.d.ts +0 -18
  1499. package/utils/index.js +0 -119
  1500. package/utils/isAnObject.d.ts +0 -1
  1501. package/utils/isAnObject.js +0 -6
  1502. package/utils/isDeeplyEqual.d.ts +0 -3
  1503. package/utils/isDeeplyEqual.js +0 -6
  1504. package/utils/isDefined.d.ts +0 -1
  1505. package/utils/isDefined.js +0 -6
  1506. package/utils/isEnabled.d.ts +0 -1
  1507. package/utils/isEnabled.js +0 -7
  1508. package/utils/localization/detectTimeZone.d.ts +0 -5
  1509. package/utils/localization/detectTimeZone.js +0 -6
  1510. package/utils/localization/formatDateISOStringToRelativeDate.d.ts +0 -2
  1511. package/utils/localization/formatDateISOStringToRelativeDate.js +0 -8
  1512. package/utils/localization/formatTimeZoneLabel.d.ts +0 -7
  1513. package/utils/localization/formatTimeZoneLabel.js +0 -6
  1514. package/utils/localization/index.d.ts +0 -3
  1515. package/utils/localization/index.js +0 -17
  1516. package/utils/logDebug.d.ts +0 -1
  1517. package/utils/logDebug.js +0 -6
  1518. package/utils/regex/index.d.ts +0 -1
  1519. package/utils/regex/index.js +0 -7
  1520. package/utils/regex/passwordRegex.d.ts +0 -1
  1521. package/utils/regex/passwordRegex.js +0 -6
  1522. package/utils/searchProvider.d.ts +0 -9
  1523. package/utils/searchProvider.js +0 -13
  1524. package/utils/string-array.d.ts +0 -6
  1525. package/utils/string-array.js +0 -6
  1526. package/utils/stripHtml.d.ts +0 -5
  1527. package/utils/stripHtml.js +0 -8
  1528. package/utils/urlParser.d.ts +0 -8
  1529. package/utils/urlParser.js +0 -10
  1530. package/utils/videoEmbed.d.ts +0 -14
  1531. package/utils/videoEmbed.js +0 -8
  1532. /package/{modules → dist/modules}/blocks/types/EditorBlock.js +0 -0
  1533. /package/{chunks/chunk-2OQPZ7Y3.js → dist/modules/blocks/types/TextEditor.js} +0 -0
  1534. /package/{modules → dist/modules}/blocks/types/toolbar/FormattingShortcut.js +0 -0
  1535. /package/{modules → dist/modules}/blocks/types/toolbar/ImageStyleOption.js +0 -0
  1536. /package/{modules → dist/modules}/blocks/types/toolbar/ToolbarFormattingButtonProps.js +0 -0
  1537. /package/{modules → dist/modules}/display/types/emailDisplay.js +0 -0
  1538. /package/{chunks/chunk-5U37WCDE.js → dist/modules/filter/types/filter.js} +0 -0
  1539. /package/{chunks/chunk-6CKZMMTO.js → dist/modules/hotkey/types/CustomHotkeyScope.js} +0 -0
  1540. /package/{chunks/chunk-6JSVJV3E.js → dist/modules/hotkey/types/HotkeyScope.js} +0 -0
  1541. /package/{chunks/chunk-76MIPBCD.js → dist/modules/inputs/types/emailField.js} +0 -0
  1542. /package/{chunks/chunk-7C7JTY65.js → dist/modules/inputs/types/phoneField.js} +0 -0
  1543. /package/{chunks/chunk-E545F45A.js → dist/types/CountryCode.js} +0 -0
  1544. /package/{chunks/chunk-F7VYTUUZ.js → dist/types/Theme.js} +0 -0
  1545. /package/{chunks/chunk-FWDXQCUE.js → dist/types/UIConfig.js} +0 -0
@@ -0,0 +1,104 @@
1
+ import { Accordion } from "./components/accordion.js";
2
+ import { AlertDialog } from "./components/alert-dialog.js";
3
+ import { Alert } from "./components/alert.js";
4
+ import { Avatar, AvatarProps } from "./components/avatar.js";
5
+ import { BackgroundGradientAnimation } from "./components/background-gradient-animation.js";
6
+ import { Badge, BadgeProps, badgeVariants } from "./components/badge.js";
7
+ import { Breadcrumb } from "./components/breadcrumb.js";
8
+ import { Button, ButtonProps, buttonVariants } from "./components/button.js";
9
+ import { Calendar, CalendarProps } from "./components/calendar.js";
10
+ import { Card } from "./components/card.js";
11
+ import { ChartConfig } from "./components/chart-config.js";
12
+ import { ChartContainer, ChartLegendContent, ChartTooltipContent } from "./components/charts.js";
13
+ import { Checkbox } from "./components/checkbox.js";
14
+ import { ChoiceboxGroup } from "./components/choicebox-group.js";
15
+ import { Collapsible } from "./components/collapsible.js";
16
+ import { ColorPicker } from "./components/color-picker.js";
17
+ import { Combobox } from "./components/combobox.js";
18
+ import { CommandBar } from "./components/command-bar.js";
19
+ import { Command } from "./components/command.js";
20
+ import { ContextMenu } from "./components/context-menu.js";
21
+ import { CopyText } from "./components/copy-text.js";
22
+ import { DatePicker } from "./components/date-picker.js";
23
+ import { DateInput, TimeField } from "./components/date-time-input.js";
24
+ import { Dialog } from "./components/dialog.js";
25
+ import { DragHandle } from "./components/drag-handle.js";
26
+ import { DropdownMenu } from "./components/dropdown-menu.js";
27
+ import { Empty } from "./components/empty.js";
28
+ import { Form } from "./components/form.js";
29
+ import { HoverCard } from "./components/hover-card.js";
30
+ import { InfoCard } from "./components/info-card.js";
31
+ import { Input } from "./components/input.js";
32
+ import { InputGroup } from "./components/input-group.js";
33
+ import { Kbd } from "./components/kbd.js";
34
+ import { Label } from "./components/label.js";
35
+ import { MultipleSelector, Resizable, Slider } from "./components/on-demand.js";
36
+ import { MultiSelectOption } from "./components/multiselect.js";
37
+ import { Popover } from "./components/popover.js";
38
+ import { RadioGroup } from "./components/radio-group.js";
39
+ import { ScrollArea } from "./components/scroll-area.js";
40
+ import { Select } from "./components/select.js";
41
+ import { Separator } from "./components/separator.js";
42
+ import { Sheet } from "./components/sheet.js";
43
+ import { Sidebar } from "./components/sidebar.js";
44
+ import { Skeleton } from "./components/skeleton.js";
45
+ import { Spinner } from "./components/spinner.js";
46
+ import { StringArrayInput } from "./components/string-array.js";
47
+ import { Switch } from "./components/switch.js";
48
+ import { Table } from "./components/table.js";
49
+ import { TabButton, Tabs } from "./components/tabs.js";
50
+ import { TextOverflowTooltip } from "./components/text-overflow.js";
51
+ import { Textarea } from "./components/textarea.js";
52
+ import { Toaster } from "./components/toaster.js";
53
+ import { ToggleGroup } from "./components/toggle-group.js";
54
+ import { Toggle } from "./components/toggle.js";
55
+ import { Tooltip } from "./components/tooltip.js";
56
+ import { Upload } from "./components/upload.js";
57
+ import { useConfirm } from "./hooks/use-confirm.js";
58
+ import { useMultiQueryState, useQueryState } from "./hooks/use-query-state.js";
59
+ import { toast, useToast } from "./hooks/use-toast.js";
60
+ import { useUpload } from "./hooks/use-upload.js";
61
+ import { cn } from "./lib/utils.js";
62
+ import { Editor } from "./modules/blocks/components/LazyEditor.js";
63
+ import { editorText } from "./modules/blocks/utils/parseBlocks.js";
64
+ import { EmailDisplay } from "./modules/display/components/EmailDisplay.js";
65
+ import { PhoneDisplay } from "./modules/display/components/PhoneDisplay.js";
66
+ import { RelativeDateDisplay } from "./modules/display/components/RelativeDateDisplay.js";
67
+ import { SexDisplay } from "./modules/display/components/SexDisplay.js";
68
+ import { Filter } from "./modules/filter/components/Filter.js";
69
+ import { useFilterContext } from "./modules/filter/hooks/useFilterContext.js";
70
+ import { useFilterQueryState } from "./modules/filter/hooks/useFilterQueryState.js";
71
+ import { PopoverScoped } from "./modules/hotkey/components/PopoverScoped.js";
72
+ import { usePreviousHotkeyScope } from "./modules/hotkey/hooks/usePreviousHotkeyScope.js";
73
+ import { useScopedHotkeys } from "./modules/hotkey/hooks/useScopedHotkeys.js";
74
+ import { IconComponent } from "./modules/icons/components/IconComponent.js";
75
+ import { IconPicker } from "./modules/icons/components/IconPicker.js";
76
+ import { IconsProvider } from "./modules/icons/providers/IconsProvider.js";
77
+ import { EmailListField } from "./modules/inputs/components/EmailField.js";
78
+ import { FullNameField, FullNameValue } from "./modules/inputs/components/FullNameField.js";
79
+ import { PhoneField } from "./modules/inputs/components/PhoneField.js";
80
+ import { SexField } from "./modules/inputs/components/SexField.js";
81
+ import { AppLayout, AppLayoutFooterLink } from "./modules/layout/components/AppLayout.js";
82
+ import { PageContainer, PageSubHeader } from "./modules/layout/components/Page.js";
83
+ import { PageHeader } from "./modules/layout/components/PageHeader.js";
84
+ import { NavigationMenuLinkItem } from "./modules/navigation-menu/components/NavigationMenu.js";
85
+ import { NumberField } from "./modules/record-field/components/NumberField.js";
86
+ import { TextField } from "./modules/record-field/components/TextField.js";
87
+ import { PhoneInput } from "./modules/record-field/meta-inputs/components/PhoneInput.js";
88
+ import { RecordTable } from "./modules/record-table/components/RecordTable.js";
89
+ import { RecordTableColumnDef } from "./modules/record-table/components/RecordTableProvider.js";
90
+ import { RecordTableInlineCell } from "./modules/record-table/components/RecordTableCellInline.js";
91
+ import { EnumCursorDirection } from "./modules/record-table/types/RecordTableCursorTypes.js";
92
+ import { themeState } from "./state/themeState.js";
93
+ import { SexCode } from "./types/SexCode.js";
94
+ import { ThemeOption } from "./types/Theme.js";
95
+ import { IUIConfig, TActivityRowProps, TDashboardWidgetPreview, TPropertyInputMeta, TPropertyInputProps } from "./types/UIConfig.js";
96
+ import { isUndefinedOrNull } from "./utils/IsUndefinedOrNull.js";
97
+ import { readImage } from "./utils/core.js";
98
+ import { FileStorageAdapter, setFileStorage } from "./utils/file-storage.js";
99
+ import { formatPhoneNumber } from "./utils/format/formatPhoneNumber.js";
100
+ import { getPluginAssetsUrl } from "./utils/getPluginAssetsUrl.js";
101
+ import { jsonOf } from "./utils/json.js";
102
+ import { PluginLiveMessage, PluginRuntime, PluginSession, getPluginRuntime, pluginFetch, pluginJson, setPluginRuntime, useLiveSignal } from "./utils/plugin-runtime.js";
103
+ import { RecordTimeline, RecordTimelineProps, setRecordTimeline } from "./utils/record-timeline.js";
104
+ export { Accordion, Alert, AlertDialog, AppLayout, AppLayoutFooterLink, Avatar, type AvatarProps, BackgroundGradientAnimation, Badge, type BadgeProps, Breadcrumb, Button, type ButtonProps, Calendar, type CalendarProps, Card, type ChartConfig, ChartContainer, ChartLegendContent, ChartTooltipContent, Checkbox, ChoiceboxGroup, Collapsible, ColorPicker, Combobox, Command, CommandBar, ContextMenu, CopyText, DateInput, DatePicker, Dialog, DragHandle, DropdownMenu, Editor, EmailDisplay, EmailListField, Empty, EnumCursorDirection, type FileStorageAdapter, Filter, Form, FullNameField, FullNameValue, HoverCard, type IUIConfig, IconComponent, IconPicker, IconsProvider, InfoCard, Input, InputGroup, Kbd, Label, type MultiSelectOption, MultipleSelector, NavigationMenuLinkItem, NumberField, PageContainer, PageHeader, PageSubHeader, PhoneDisplay, PhoneField, PhoneInput, type PluginLiveMessage, type PluginRuntime, type PluginSession, Popover, PopoverScoped, RadioGroup, RecordTable, type RecordTableColumnDef, RecordTableInlineCell, RecordTimeline, type RecordTimelineProps, RelativeDateDisplay, Resizable, ScrollArea, Select, Separator, SexCode, SexDisplay, SexField, Sheet, Sidebar, Skeleton, Slider, Spinner, StringArrayInput, Switch, type TActivityRowProps, type TDashboardWidgetPreview, type TPropertyInputMeta, type TPropertyInputProps, TabButton, Table, Tabs, TextField, TextOverflowTooltip, Textarea, type ThemeOption, TimeField, Toaster, Toggle, ToggleGroup, Tooltip, Upload, badgeVariants, buttonVariants, cn, editorText, formatPhoneNumber, getPluginAssetsUrl, getPluginRuntime, isUndefinedOrNull, jsonOf, pluginFetch, pluginJson, readImage, setFileStorage, setPluginRuntime, setRecordTimeline, themeState, toast, useConfirm, useFilterContext, useFilterQueryState, useLiveSignal, useMultiQueryState, usePreviousHotkeyScope, useQueryState, useScopedHotkeys, useToast, useUpload };
package/dist/index.js ADDED
@@ -0,0 +1,99 @@
1
+ import { Accordion } from "./components/accordion.js";
2
+ import { AlertDialog } from "./components/alert-dialog.js";
3
+ import { Alert } from "./components/alert.js";
4
+ import { Avatar } from "./components/avatar.js";
5
+ import { BackgroundGradientAnimation } from "./components/background-gradient-animation.js";
6
+ import { Badge, badgeVariants } from "./components/badge.js";
7
+ import { Breadcrumb } from "./components/breadcrumb.js";
8
+ import { Button, buttonVariants } from "./components/button.js";
9
+ import { Calendar } from "./components/calendar.js";
10
+ import { Card } from "./components/card.js";
11
+ import { ChartContainer, ChartLegendContent, ChartTooltipContent } from "./components/charts.js";
12
+ import { Checkbox } from "./components/checkbox.js";
13
+ import { ChoiceboxGroup } from "./components/choicebox-group.js";
14
+ import { Collapsible } from "./components/collapsible.js";
15
+ import { ColorPicker } from "./components/color-picker.js";
16
+ import { Combobox } from "./components/combobox.js";
17
+ import { CommandBar } from "./components/command-bar.js";
18
+ import { Command } from "./components/command.js";
19
+ import { ContextMenu } from "./components/context-menu.js";
20
+ import { CopyText } from "./components/copy-text.js";
21
+ import { DatePicker } from "./components/date-picker.js";
22
+ import { DateInput, TimeField } from "./components/date-time-input.js";
23
+ import { Dialog } from "./components/dialog.js";
24
+ import { DragHandle } from "./components/drag-handle.js";
25
+ import { DropdownMenu } from "./components/dropdown-menu.js";
26
+ import { Empty } from "./components/empty.js";
27
+ import { Form } from "./components/form.js";
28
+ import { HoverCard } from "./components/hover-card.js";
29
+ import { InfoCard } from "./components/info-card.js";
30
+ import { Input } from "./components/input.js";
31
+ import { InputGroup } from "./components/input-group.js";
32
+ import { Kbd } from "./components/kbd.js";
33
+ import { Label } from "./components/label.js";
34
+ import { MultipleSelector, Resizable, Slider } from "./components/on-demand.js";
35
+ import { Popover } from "./components/popover.js";
36
+ import { RadioGroup } from "./components/radio-group.js";
37
+ import { ScrollArea } from "./components/scroll-area.js";
38
+ import { Select } from "./components/select.js";
39
+ import { Separator } from "./components/separator.js";
40
+ import { Sheet } from "./components/sheet.js";
41
+ import { Sidebar } from "./components/sidebar.js";
42
+ import { Skeleton } from "./components/skeleton.js";
43
+ import { Spinner } from "./components/spinner.js";
44
+ import { StringArrayInput } from "./components/string-array.js";
45
+ import { Switch } from "./components/switch.js";
46
+ import { Table } from "./components/table.js";
47
+ import { TabButton, Tabs } from "./components/tabs.js";
48
+ import { TextOverflowTooltip } from "./components/text-overflow.js";
49
+ import { Textarea } from "./components/textarea.js";
50
+ import { Toaster } from "./components/toaster.js";
51
+ import { ToggleGroup } from "./components/toggle-group.js";
52
+ import { Toggle } from "./components/toggle.js";
53
+ import { Tooltip } from "./components/tooltip.js";
54
+ import { Upload } from "./components/upload.js";
55
+ import { useConfirm } from "./hooks/use-confirm.js";
56
+ import { useMultiQueryState, useQueryState } from "./hooks/use-query-state.js";
57
+ import { toast, useToast } from "./hooks/use-toast.js";
58
+ import { useUpload } from "./hooks/use-upload.js";
59
+ import { cn } from "./lib/utils.js";
60
+ import { Editor } from "./modules/blocks/components/LazyEditor.js";
61
+ import { editorText } from "./modules/blocks/utils/parseBlocks.js";
62
+ import { EmailDisplay } from "./modules/display/components/EmailDisplay.js";
63
+ import { PhoneDisplay } from "./modules/display/components/PhoneDisplay.js";
64
+ import { RelativeDateDisplay } from "./modules/display/components/RelativeDateDisplay.js";
65
+ import { SexDisplay } from "./modules/display/components/SexDisplay.js";
66
+ import { Filter } from "./modules/filter/components/Filter.js";
67
+ import { useFilterContext } from "./modules/filter/hooks/useFilterContext.js";
68
+ import { useFilterQueryState } from "./modules/filter/hooks/useFilterQueryState.js";
69
+ import { PopoverScoped } from "./modules/hotkey/components/PopoverScoped.js";
70
+ import { usePreviousHotkeyScope } from "./modules/hotkey/hooks/usePreviousHotkeyScope.js";
71
+ import { useScopedHotkeys } from "./modules/hotkey/hooks/useScopedHotkeys.js";
72
+ import { IconComponent } from "./modules/icons/components/IconComponent.js";
73
+ import { IconPicker } from "./modules/icons/components/IconPicker.js";
74
+ import { IconsProvider } from "./modules/icons/providers/IconsProvider.js";
75
+ import { EmailListField } from "./modules/inputs/components/EmailField.js";
76
+ import { FullNameField, FullNameValue } from "./modules/inputs/components/FullNameField.js";
77
+ import { PhoneField } from "./modules/inputs/components/PhoneField.js";
78
+ import { SexField } from "./modules/inputs/components/SexField.js";
79
+ import { AppLayout, AppLayoutFooterLink } from "./modules/layout/components/AppLayout.js";
80
+ import { PageContainer, PageSubHeader } from "./modules/layout/components/Page.js";
81
+ import { PageHeader } from "./modules/layout/components/PageHeader.js";
82
+ import { NavigationMenuLinkItem } from "./modules/navigation-menu/components/NavigationMenu.js";
83
+ import { NumberField } from "./modules/record-field/components/NumberField.js";
84
+ import { TextField } from "./modules/record-field/components/TextField.js";
85
+ import { PhoneInput } from "./modules/record-field/meta-inputs/components/PhoneInput.js";
86
+ import { RecordTable } from "./modules/record-table/components/RecordTable.js";
87
+ import { RecordTableInlineCell } from "./modules/record-table/components/RecordTableCellInline.js";
88
+ import { EnumCursorDirection } from "./modules/record-table/types/RecordTableCursorTypes.js";
89
+ import { themeState } from "./state/themeState.js";
90
+ import { SexCode } from "./types/SexCode.js";
91
+ import { isUndefinedOrNull } from "./utils/IsUndefinedOrNull.js";
92
+ import { readImage } from "./utils/core.js";
93
+ import { setFileStorage } from "./utils/file-storage.js";
94
+ import { formatPhoneNumber } from "./utils/format/formatPhoneNumber.js";
95
+ import { getPluginAssetsUrl } from "./utils/getPluginAssetsUrl.js";
96
+ import { jsonOf } from "./utils/json.js";
97
+ import { getPluginRuntime, pluginFetch, pluginJson, setPluginRuntime, useLiveSignal } from "./utils/plugin-runtime.js";
98
+ import { RecordTimeline, setRecordTimeline } from "./utils/record-timeline.js";
99
+ export { Accordion, Alert, AlertDialog, AppLayout, AppLayoutFooterLink, Avatar, BackgroundGradientAnimation, Badge, Breadcrumb, Button, Calendar, Card, ChartContainer, ChartLegendContent, ChartTooltipContent, Checkbox, ChoiceboxGroup, Collapsible, ColorPicker, Combobox, Command, CommandBar, ContextMenu, CopyText, DateInput, DatePicker, Dialog, DragHandle, DropdownMenu, Editor, EmailDisplay, EmailListField, Empty, EnumCursorDirection, Filter, Form, FullNameField, FullNameValue, HoverCard, IconComponent, IconPicker, IconsProvider, InfoCard, Input, InputGroup, Kbd, Label, MultipleSelector, NavigationMenuLinkItem, NumberField, PageContainer, PageHeader, PageSubHeader, PhoneDisplay, PhoneField, PhoneInput, Popover, PopoverScoped, RadioGroup, RecordTable, RecordTableInlineCell, RecordTimeline, RelativeDateDisplay, Resizable, ScrollArea, Select, Separator, SexCode, SexDisplay, SexField, Sheet, Sidebar, Skeleton, Slider, Spinner, StringArrayInput, Switch, TabButton, Table, Tabs, TextField, TextOverflowTooltip, Textarea, TimeField, Toaster, Toggle, ToggleGroup, Tooltip, Upload, badgeVariants, buttonVariants, cn, editorText, formatPhoneNumber, getPluginAssetsUrl, getPluginRuntime, isUndefinedOrNull, jsonOf, pluginFetch, pluginJson, readImage, setFileStorage, setPluginRuntime, setRecordTimeline, themeState, toast, useConfirm, useFilterContext, useFilterQueryState, useLiveSignal, useMultiQueryState, usePreviousHotkeyScope, useQueryState, useScopedHotkeys, useToast, useUpload };
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ GROUP_COUNT: number;
3
+ customValidatorNames: string[];
4
+ edgeStart: Int32Array<ArrayBufferLike>;
5
+ labelStart: Int32Array<ArrayBufferLike>;
6
+ labelText: string;
7
+ edgeTarget: Int32Array<ArrayBuffer>;
8
+ nodeGroup: Int32Array<ArrayBufferLike>;
9
+ nodeVlist: Int32Array<ArrayBuffer>;
10
+ vlistPat: Int32Array<ArrayBufferLike>;
11
+ vlistOps: Int32Array<ArrayBufferLike>;
12
+ vlistRef: Int32Array<ArrayBufferLike>;
13
+ vlistGroup: Int32Array<ArrayBufferLike>;
14
+ litAnchor: Int32Array<ArrayBuffer>;
15
+ litGroup: Int32Array<ArrayBuffer>;
16
+ litPool: Int32Array<ArrayBuffer>;
17
+ poolOffsets: Int32Array<ArrayBuffer>;
18
+ poolText: string;
19
+ adjGid: Int32Array<ArrayBufferLike>;
20
+ adjStart: Int32Array<ArrayBufferLike>;
21
+ adjTgt: Int32Array<ArrayBufferLike>;
22
+ patGid: Int32Array<ArrayBufferLike>;
23
+ patTgt: Int32Array<ArrayBufferLike>;
24
+ postfixLookupGroups: Int32Array<ArrayBufferLike>;
25
+ orderSensitiveModifiers: string;
26
+ };
27
+ export { _default as default };
@@ -0,0 +1,128 @@
1
+ // src/lib/cn-tables.ts
2
+ const P = 48;
3
+ const U = (s, o = 0) => {
4
+ const out = new Int32Array(s.length);
5
+ for (let i = 0; i < s.length; i++) out[i] = s.charCodeAt(i) - P - o;
6
+ return out;
7
+ };
8
+ const PS = (counts) => {
9
+ const out = new Int32Array(counts.length + 1);
10
+ for (let i = 0; i < counts.length; i++) out[i + 1] = out[i] + counts[i];
11
+ return out;
12
+ };
13
+ const DZ = (s) => {
14
+ const out = new Int32Array(s.length);
15
+ let a = 0;
16
+ for (let i = 0; i < s.length; i++) {
17
+ const z = s.charCodeAt(i) - P;
18
+ a += z >>> 1 ^ -(z & 1);
19
+ out[i] = a;
20
+ }
21
+ return out;
22
+ };
23
+ const GROUP_COUNT = 384;
24
+ const customValidatorNames = [];
25
+ const edgeStart = PS(U("E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010"));
26
+ const labelStart = PS(U(":11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3"));
27
+ const labelText = "@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom";
28
+ const edgeTarget = (() => {
29
+ const N = edgeStart.length - 1;
30
+ const sizes = new Int32Array(N);
31
+ for (let i = N - 1; i >= 0; i--) {
32
+ let s = 1;
33
+ let c = i + 1;
34
+ for (let k = edgeStart[i]; k < edgeStart[i + 1]; k++) {
35
+ s += sizes[c];
36
+ c += sizes[c];
37
+ }
38
+ sizes[i] = s;
39
+ }
40
+ const out = new Int32Array(edgeStart[N]);
41
+ let e = 0;
42
+ for (let i = 0; i < N; i++) {
43
+ let c = i + 1;
44
+ for (let k = edgeStart[i]; k < edgeStart[i + 1]; k++) {
45
+ out[e++] = c;
46
+ c += sizes[c];
47
+ }
48
+ }
49
+ return out;
50
+ })();
51
+ const nodeGroup = U("02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000…ŏ000ˆ0000ŏ0000000000—0000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000", 1);
52
+ const vlistPat = PS(U("123333359346463635126536711575"));
53
+ const vlistOps = U("93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;032B:032");
54
+ const vlistRef = U("012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199");
55
+ const vlistGroup = DZ("020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j000200200020020002002000200200020020002002000200020000200000200200200200200020002000020000200200200200200200202002002020020020020020020020020020202002002002002002002002000200200202002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002002000200200200200200200020020020200200200200200200020202020002000200020002002002002000020200200");
56
+ const nodeVlist = (() => {
57
+ const out = (/* @__PURE__ */ new Int32Array(319)).fill(-1);
58
+ const A = DZ("02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222");
59
+ const V = DZ("02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222");
60
+ for (let i = 0; i < A.length; i++) out[A[i]] = V[i];
61
+ return out;
62
+ })();
63
+ const SETS = "container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| accordion-down accordion-up appear bounce fifth first fourth none ping pulse second spin third| auto square video| auto cell fr max min px|none | auto cell full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto cell dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate| cell px|auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out out-quad out-quint spring| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto cell dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto cell dvw fit full lvw max min px screen svw| cell loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto cell px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| cell dvh fit full lh lvh max min none px screen svh| auto cell dvh dvw fit full lh lvh lvw max min none px screen svh svw| cell dvw fit full lvw max min none px screen svw| auto cell dvh dvw fit full lvh lvw max min none prose px svh svw| auto cell dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full lg md none sm|3d | auto smooth|gutter- auto both stable| auto none thin| button-outline button-primary destructive focus focus-destructive inner lg none sm subtle xl xs| auto cell dvh dvw fit full lvh lvw max min px svh svw| 2xl 2xs 3xs 4xs base lg sm xl xs| center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| cell full px| auto cell dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform".split("|").map((s) => {
64
+ const tails = s.split(" ");
65
+ const prefix = tails.shift();
66
+ for (let i = 0; i < tails.length; i++) tails[i] = prefix + tails[i];
67
+ return tails;
68
+ });
69
+ const AA = DZ("0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422");
70
+ const AG = DZ("ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>6ʰ22ʷʺʷʺʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622");
71
+ const AS = DZ("02222222222222222222222222222222222222222222222222222222222222222202021422222222CF2200GJ021042222WZ222IL0ad2c10h2222U00X202[^2w0000120zy|}€22ƒ†…:22z22222222222G000q†OVI00000{˜2™<40000Œ›@00000G¦§000ª00000000000000021K¬«00®“000000000000000000000–222›HGH_1¸222½2¾2222ÇÊ000­°2±");
72
+ const litAnchor = /* @__PURE__ */ new Int32Array(1148);
73
+ const litGroup = /* @__PURE__ */ new Int32Array(1148);
74
+ const litPool = /* @__PURE__ */ new Int32Array(1148);
75
+ let poolText = "";
76
+ const poolOffsets = /* @__PURE__ */ new Int32Array(1072);
77
+ {
78
+ const tailRef = /* @__PURE__ */ new Map();
79
+ let nextRef = 0;
80
+ let e = 0;
81
+ for (let i = 0; i < AA.length; i++) for (const tail of SETS[AS[i]]) {
82
+ let r = tailRef.get(tail);
83
+ if (r === void 0) {
84
+ r = nextRef++;
85
+ tailRef.set(tail, r);
86
+ poolOffsets[r * 2] = poolText.length;
87
+ poolOffsets[r * 2 + 1] = tail.length;
88
+ poolText += tail;
89
+ }
90
+ litAnchor[e] = AA[i];
91
+ litGroup[e] = AG[i];
92
+ litPool[e] = r;
93
+ e++;
94
+ }
95
+ }
96
+ const adjGid = DZ("0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p");
97
+ const adjStart = PS(U("1::24444432:442:44:44>222222:44:4421322511111311111114"));
98
+ const adjTgt = DZ("2Š4A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅҜ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=„ƧNž2Đå242L222290000f22500ɛ000ǘ222");
99
+ const patGid = U("ij");
100
+ const patTgt = U("—");
101
+ const postfixLookupGroups = U("1");
102
+ var cn_tables_default = {
103
+ GROUP_COUNT,
104
+ customValidatorNames,
105
+ edgeStart,
106
+ labelStart,
107
+ labelText,
108
+ edgeTarget,
109
+ nodeGroup,
110
+ nodeVlist,
111
+ vlistPat,
112
+ vlistOps,
113
+ vlistRef,
114
+ vlistGroup,
115
+ litAnchor,
116
+ litGroup,
117
+ litPool,
118
+ poolOffsets,
119
+ poolText,
120
+ adjGid,
121
+ adjStart,
122
+ adjTgt,
123
+ patGid,
124
+ patTgt,
125
+ postfixLookupGroups,
126
+ orderSensitiveModifiers: "* ** after backdrop before details-content file first-letter first-line marker placeholder selection"
127
+ };
128
+ export { cn_tables_default as default };
@@ -0,0 +1,3 @@
1
+ import { PrimitiveAtom } from "jotai";
2
+ /** One writable atom per key (a record id, a filter id), each starting at `initial`. */
3
+ export declare const keyedAtom: <Value>(initial: Value) => import("jotai-family").AtomFamily<string, PrimitiveAtom<Value>>;
@@ -0,0 +1,6 @@
1
+ import { atom } from "jotai";
2
+ import { atomFamily } from "jotai-family";
3
+ // src/lib/keyed-atom.ts
4
+ /** One writable atom per key (a record id, a filter id), each starting at `initial`. */
5
+ const keyedAtom = (initial) => atomFamily(() => atom(initial));
6
+ export { keyedAtom };
@@ -0,0 +1,14 @@
1
+ import { Ref, RefCallback } from "react";
2
+ declare module 'react' {
3
+ interface CSSProperties {
4
+ [variable: `--${string}`]: string | number | undefined;
5
+ }
6
+ }
7
+ /**
8
+ * Joins classes and drops the ones a later class overrides. The merge tables include the
9
+ * scales theme.css and styles.css declare in `@theme`, so `cn('shadow-sm', 'shadow-focus')`
10
+ * keeps only the last; `pnpm check:generated` fails when they are older than the theme.
11
+ */
12
+ export declare const cn: import("cn").CnFunction;
13
+ /** One ref callback that sets every given ref, for an element both the component and its caller need. */
14
+ export declare const mergeRefs: <T>(...refs: (Ref<T> | undefined)[]) => RefCallback<T>;
@@ -0,0 +1,15 @@
1
+ import cn_tables_default from "./cn-tables.js";
2
+ import { createCn } from "cn/engine";
3
+ // src/lib/utils.ts
4
+ /**
5
+ * Joins classes and drops the ones a later class overrides. The merge tables include the
6
+ * scales theme.css and styles.css declare in `@theme`, so `cn('shadow-sm', 'shadow-focus')`
7
+ * keeps only the last; `pnpm check:generated` fails when they are older than the theme.
8
+ */
9
+ const cn = createCn(cn_tables_default);
10
+ /** One ref callback that sets every given ref, for an element both the component and its caller need. */
11
+ const mergeRefs = (...refs) => (node) => {
12
+ for (const ref of refs) if (typeof ref === "function") ref(node);
13
+ else if (ref) ref.current = node;
14
+ };
15
+ export { cn, mergeRefs };
@@ -0,0 +1,10 @@
1
+ type AttachmentPreviewProps = {
2
+ images: {
3
+ url: string;
4
+ name: string;
5
+ }[];
6
+ renderThumbnails: (openPreview: (index: number) => void) => React.ReactNode;
7
+ };
8
+ /** Thumbnails drawn by `renderThumbnails`, each opening its image in a lightbox. */
9
+ export declare const AttachmentPreview: ({ images, renderThumbnails }: AttachmentPreviewProps) => import("react").JSX.Element | null;
10
+ export {};
@@ -0,0 +1,87 @@
1
+ import { Button, buttonVariants } from "../../components/button.js";
2
+ import { Dialog } from "../../components/dialog.js";
3
+ import { cn } from "../../lib/utils.js";
4
+ import { readImage } from "../../utils/core.js";
5
+ import { useCarousel } from "./use-carousel.js";
6
+ import { IconChevronLeft, IconChevronRight, IconDownload, IconX } from "@tabler/icons-react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ import { useState } from "react";
9
+ // src/modules/attachments/attachment-media.tsx
10
+ /** Thumbnails drawn by `renderThumbnails`, each opening its image in a lightbox. */
11
+ const AttachmentPreview = ({ images, renderThumbnails }) => {
12
+ const [open, setOpen] = useState(false);
13
+ const carousel = useCarousel(images.length, open);
14
+ const current = images[carousel.index];
15
+ if (!current) return null;
16
+ const openAt = (index) => {
17
+ carousel.show(index);
18
+ setOpen(true);
19
+ };
20
+ return /* @__PURE__ */ jsxs("div", { children: [renderThumbnails(openAt), /* @__PURE__ */ jsx(Dialog, {
21
+ open,
22
+ onOpenChange: setOpen,
23
+ children: /* @__PURE__ */ jsxs(Dialog.Content, {
24
+ variant: "bare",
25
+ className: "max-w-fit",
26
+ "aria-describedby": void 0,
27
+ children: [/* @__PURE__ */ jsx(Dialog.Title, {
28
+ className: "sr-only",
29
+ children: current.name || "Image preview"
30
+ }), /* @__PURE__ */ jsxs("div", {
31
+ className: "relative p-6",
32
+ children: [
33
+ /* @__PURE__ */ jsx(Button, {
34
+ variant: "overlay",
35
+ size: "icon",
36
+ className: "absolute top-6 -right-4 z-50",
37
+ onClick: () => setOpen(false),
38
+ "aria-label": "Close lightbox",
39
+ children: /* @__PURE__ */ jsx(IconX, { size: 20 })
40
+ }),
41
+ /* @__PURE__ */ jsx("a", {
42
+ "aria-label": "Download file",
43
+ target: "_blank",
44
+ rel: "noreferrer",
45
+ href: readImage(current.url),
46
+ className: cn(buttonVariants({
47
+ variant: "overlay",
48
+ size: "icon"
49
+ }), "absolute top-20 -right-4 z-50 -translate-y-1/2"),
50
+ children: /* @__PURE__ */ jsx(IconDownload, {})
51
+ }),
52
+ /* @__PURE__ */ jsx(Button, {
53
+ variant: "overlay",
54
+ size: "icon",
55
+ className: "absolute -left-4 top-1/2 z-50 -translate-y-1/2",
56
+ onClick: carousel.prev,
57
+ "aria-label": "Previous image",
58
+ children: /* @__PURE__ */ jsx(IconChevronLeft, { size: 24 })
59
+ }),
60
+ /* @__PURE__ */ jsx("img", {
61
+ src: readImage(current.url),
62
+ alt: current.name,
63
+ className: "max-w-lightbox max-h-lightbox object-contain rounded shadow-2xl select-none",
64
+ draggable: false
65
+ }, current.url),
66
+ /* @__PURE__ */ jsx(Button, {
67
+ variant: "overlay",
68
+ size: "icon",
69
+ className: "absolute -right-4 top-1/2 z-50 -translate-y-1/2",
70
+ onClick: carousel.next,
71
+ "aria-label": "Next image",
72
+ children: /* @__PURE__ */ jsx(IconChevronRight, { size: 24 })
73
+ }),
74
+ images.length > 1 && /* @__PURE__ */ jsxs("div", {
75
+ className: "absolute bottom-4 left-1/2 -translate-x-1/2 bg-background/70 text-foreground text-xs px-3 py-1 rounded-full",
76
+ children: [
77
+ carousel.index + 1,
78
+ " / ",
79
+ images.length
80
+ ]
81
+ })
82
+ ]
83
+ })]
84
+ })
85
+ })] });
86
+ };
87
+ export { AttachmentPreview };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Which item of a lightbox is shown. The index stays inside the list as it shrinks, and
3
+ * the arrow keys move it while the lightbox is open.
4
+ */
5
+ export declare const useCarousel: (length: number, open: boolean) => {
6
+ index: number;
7
+ show: import("react").Dispatch<import("react").SetStateAction<number>>;
8
+ prev: () => void;
9
+ next: () => void;
10
+ };
@@ -0,0 +1,27 @@
1
+ import { useEffect, useState } from "react";
2
+ // src/modules/attachments/use-carousel.ts
3
+ /** The index `delta` steps from `index`, wrapping around a list of `length`. */
4
+ const step = (index, length, delta) => ((Math.min(index, length - 1) + delta) % length + length) % length;
5
+ /**
6
+ * Which item of a lightbox is shown. The index stays inside the list as it shrinks, and
7
+ * the arrow keys move it while the lightbox is open.
8
+ */
9
+ const useCarousel = (length, open) => {
10
+ const [index, setIndex] = useState(0);
11
+ useEffect(() => {
12
+ if (!open || length === 0) return;
13
+ const onKey = (event) => {
14
+ if (event.key === "ArrowRight") setIndex((i) => step(i, length, 1));
15
+ if (event.key === "ArrowLeft") setIndex((i) => step(i, length, -1));
16
+ };
17
+ document.addEventListener("keydown", onKey);
18
+ return () => document.removeEventListener("keydown", onKey);
19
+ }, [open, length]);
20
+ return {
21
+ index: Math.max(0, Math.min(index, length - 1)),
22
+ show: setIndex,
23
+ prev: () => setIndex((i) => step(i, length, -1)),
24
+ next: () => setIndex((i) => step(i, length, 1))
25
+ };
26
+ };
27
+ export { useCarousel };
@@ -0,0 +1,10 @@
1
+ import { BarcodeSize } from "../hooks/useBarcodeResize.js";
2
+ type BarcodeAttributeProps = Readonly<{
3
+ editable: boolean;
4
+ height: number;
5
+ onResize: (size: BarcodeSize) => void;
6
+ onRemove: (element: HTMLElement) => void;
7
+ width: number;
8
+ }>;
9
+ export declare const BarcodeAttribute: ({ editable, height, onResize, onRemove, width }: BarcodeAttributeProps) => import("react").JSX.Element;
10
+ export {};