@epam/ai-dial-ui-kit 0.16.0-dev.6 → 0.16.0-dev.61

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 (527) hide show
  1. package/README.md +24 -11
  2. package/dist/CHANGELOG.md +110 -0
  3. package/dist/{DateCellRenderer-ElULb0hY.cjs → DateCellRenderer-BFcpoREG.cjs} +32 -32
  4. package/dist/MarkdownEditor-5Jq0NTTP.cjs +1 -0
  5. package/dist/_virtual/_commonjsHelpers.js +3 -28
  6. package/dist/_virtual/index.js +5 -3
  7. package/dist/components/Dropdown/constants.js +2 -2
  8. package/dist/components/IconButton/IconButton.js +7 -7
  9. package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
  10. package/dist/components/Loader/Loader.js +8 -8
  11. package/dist/components/New/Analytics/Bar/Bar.js +104 -0
  12. package/dist/components/New/Analytics/BarGroup/BarGroup.js +143 -0
  13. package/dist/components/New/Analytics/Card/Card.js +107 -0
  14. package/dist/components/New/Analytics/Histogram/Histogram.js +212 -0
  15. package/dist/components/New/Avatar/Avatar.js +17 -16
  16. package/dist/components/New/BottomSheet/BottomSheet.js +53 -52
  17. package/dist/components/New/Breadcrumbs/constants.js +1 -1
  18. package/dist/components/New/Calendar/Calendar.js +324 -228
  19. package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
  20. package/dist/components/New/Calendar/constants.js +27 -25
  21. package/dist/components/New/CaptionText/CaptionText.js +31 -26
  22. package/dist/components/New/Checkbox/Checkbox.js +23 -21
  23. package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
  24. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
  25. package/dist/components/New/Dropdown/Dropdown.js +350 -261
  26. package/dist/components/New/Dropdown/constants.js +21 -18
  27. package/dist/components/New/Dropdown/search.js +37 -0
  28. package/dist/components/New/EntityIdentity/EntityIdentity.js +62 -60
  29. package/dist/components/New/FileName/FileName.js +38 -37
  30. package/dist/components/New/FolderPath/FolderPath.js +151 -46
  31. package/dist/components/New/FormSection/FormSection.js +87 -0
  32. package/dist/components/New/Grid/Grid.js +187 -174
  33. package/dist/components/New/Grid/constants.js +9 -8
  34. package/dist/components/New/Input/Input.js +121 -107
  35. package/dist/components/New/LabelledText/LabelledText.js +43 -0
  36. package/dist/components/New/LiveRegion/LiveRegion.js +33 -0
  37. package/dist/components/New/MarkdownEditor/MarkdownEditor.js +40 -28
  38. package/dist/components/New/MenuItem/MenuItem.js +17 -17
  39. package/dist/components/New/NoDataContent/NoDataContent.js +22 -27
  40. package/dist/components/New/NoDataContent/NoDataIllustration.js +53 -0
  41. package/dist/components/New/Notification/Notification.js +51 -39
  42. package/dist/components/New/Notification/constants.js +26 -17
  43. package/dist/components/New/PasswordInput/PasswordInput.js +33 -32
  44. package/dist/components/New/Popup/constants.js +1 -1
  45. package/dist/components/New/Radio/Radio.js +19 -17
  46. package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
  47. package/dist/components/New/SchemaRenderer/components/SchemaField.js +45 -44
  48. package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +41 -38
  49. package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +45 -39
  50. package/dist/components/New/Select/Select.js +205 -202
  51. package/dist/components/New/Select/constants.js +29 -38
  52. package/dist/components/New/SelectedEntityCard/SelectedEntityCard.js +86 -0
  53. package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
  54. package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
  55. package/dist/components/New/StateScreen/StateScreen.js +63 -0
  56. package/dist/components/New/Steps/Steps.js +86 -0
  57. package/dist/components/New/Switch/Switch.js +19 -17
  58. package/dist/components/New/Tabs/Tabs.js +91 -58
  59. package/dist/components/New/Tag/Tag.js +34 -34
  60. package/dist/components/New/Tag/constants.js +13 -4
  61. package/dist/components/New/Textarea/Textarea.js +37 -33
  62. package/dist/components/New/ToggleChip/ToggleChip.js +54 -0
  63. package/dist/components/New/ToggleChip/constants.js +11 -0
  64. package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
  65. package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
  66. package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
  67. package/dist/components/ProgressBar/ProgressBar.js +43 -38
  68. package/dist/components-manifest.json +3712 -6488
  69. package/dist/constants/public-class-names.js +34 -7
  70. package/dist/dial-ui-kit.cjs +4 -2
  71. package/dist/dial-ui-kit.js +387 -467
  72. package/dist/editors.cjs +1 -1
  73. package/dist/editors.js +4 -10
  74. package/dist/grid.cjs +1 -1
  75. package/dist/grid.js +22 -29
  76. package/dist/{merge-classes-BEJXjzkx.cjs → icon-4D9xu6E_.cjs} +1 -1
  77. package/dist/index.css +2 -6
  78. package/dist/migration-guides/0.16.0/caption-text-no-alert-role.md +90 -0
  79. package/dist/migration-guides/0.16.0/legacy-analytics-and-steps-removal.md +54 -0
  80. package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +91 -0
  81. package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
  82. package/dist/migration-guides/0.16.0/unused-legacy-components-removal.md +128 -0
  83. package/dist/migration-guides/README.md +5 -0
  84. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
  85. package/dist/node_modules/react-dnd/dist/internals/registration.js +5 -13
  86. package/dist/src/components/Dropdown/constants.d.ts +1 -1
  87. package/dist/src/components/{Analytics → New/Analytics}/Bar/Bar.d.ts +6 -6
  88. package/dist/src/components/{Analytics → New/Analytics}/Bar/utils.d.ts +1 -1
  89. package/dist/src/components/{Analytics → New/Analytics}/BarGroup/BarGroup.d.ts +7 -7
  90. package/dist/src/components/{Analytics → New/Analytics}/Card/Card.d.ts +14 -8
  91. package/dist/src/components/{Analytics → New/Analytics}/Histogram/Histogram.d.ts +5 -5
  92. package/dist/src/components/{Analytics → New/Analytics}/Histogram/utils.d.ts +1 -1
  93. package/dist/src/components/New/Analytics/index.d.ts +11 -0
  94. package/dist/src/components/New/Avatar/Avatar.d.ts +3 -0
  95. package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
  96. package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
  97. package/dist/src/components/New/Calendar/Calendar.d.ts +17 -2
  98. package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
  99. package/dist/src/components/New/Calendar/constants.d.ts +7 -5
  100. package/dist/src/components/New/CaptionText/CaptionText.d.ts +24 -2
  101. package/dist/src/components/New/Dropdown/Dropdown.d.ts +95 -1
  102. package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
  103. package/dist/src/components/New/Dropdown/search.d.ts +9 -0
  104. package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +6 -2
  105. package/dist/src/components/New/FileName/FileName.d.ts +11 -0
  106. package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
  107. package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
  108. package/dist/src/components/New/FormSection/FormSection.d.ts +63 -0
  109. package/dist/src/components/New/Grid/Grid.d.ts +8 -2
  110. package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
  111. package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
  112. package/dist/src/components/New/Grid/constants.d.ts +2 -0
  113. package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
  114. package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
  115. package/dist/src/components/New/LiveRegion/LiveRegion.d.ts +58 -0
  116. package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +6 -0
  117. package/dist/src/components/New/MarkdownEditor/lazy.d.ts +9 -3
  118. package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
  119. package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +16 -8
  120. package/dist/src/components/New/NoDataContent/NoDataIllustration.d.ts +7 -0
  121. package/dist/src/components/New/Notification/Notification.d.ts +24 -2
  122. package/dist/src/components/New/Notification/constants.d.ts +11 -0
  123. package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +6 -0
  124. package/dist/src/components/New/Popup/constants.d.ts +1 -1
  125. package/dist/src/components/New/ResizeHandle/ResizeHandle.d.ts +68 -0
  126. package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +1 -0
  127. package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +2 -0
  128. package/dist/src/components/New/SchemaRenderer/types.d.ts +3 -1
  129. package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +3 -3
  130. package/dist/src/components/New/Select/Select.d.ts +2 -0
  131. package/dist/src/components/New/Select/constants.d.ts +3 -4
  132. package/dist/src/components/New/SelectedEntityCard/SelectedEntityCard.d.ts +67 -0
  133. package/dist/src/components/New/StateScreen/StateScreen.d.ts +55 -0
  134. package/dist/src/components/New/Steps/Steps.d.ts +55 -0
  135. package/dist/src/components/New/Tabs/Tabs.d.ts +17 -1
  136. package/dist/src/components/New/Tag/Tag.d.ts +9 -5
  137. package/dist/src/components/New/Tag/constants.d.ts +12 -4
  138. package/dist/src/components/New/ToggleChip/ToggleChip.d.ts +70 -0
  139. package/dist/src/components/New/ToggleChip/constants.d.ts +12 -0
  140. package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
  141. package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
  142. package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
  143. package/dist/src/components/ProgressBar/ProgressBar.d.ts +23 -3
  144. package/dist/src/constants/public-class-names.d.ts +34 -7
  145. package/dist/src/index.d.ts +36 -82
  146. package/dist/src/models/step.d.ts +2 -0
  147. package/dist/src/subpaths/editors.d.ts +9 -15
  148. package/dist/src/subpaths/grid.d.ts +3 -9
  149. package/dist/src/types/dropdown.d.ts +16 -0
  150. package/dist/src/types/editor.d.ts +0 -6
  151. package/dist/src/types/form-section.d.ts +9 -0
  152. package/dist/src/types/grid.d.ts +10 -0
  153. package/dist/src/types/live-region.d.ts +17 -0
  154. package/dist/src/types/notification.d.ts +11 -0
  155. package/dist/src/types/progress-bar.d.ts +13 -0
  156. package/dist/src/types/tab.d.ts +5 -0
  157. package/dist/src/types/tag.d.ts +3 -1
  158. package/dist/src/utils/grid-registration.d.ts +6 -8
  159. package/dist/src/utils/sub-menu-floating.d.ts +1 -1
  160. package/dist/types/dropdown.js +5 -4
  161. package/dist/types/form-section.js +4 -0
  162. package/dist/types/grid.js +3 -2
  163. package/dist/types/live-region.js +5 -0
  164. package/dist/types/notification.js +3 -2
  165. package/dist/types/progress-bar.js +4 -0
  166. package/dist/types/tab.js +5 -4
  167. package/dist/types/tag.js +2 -2
  168. package/dist/utils/merge-classes.js +39 -7
  169. package/dist/utils/sub-menu-floating.js +8 -8
  170. package/package.json +12 -26
  171. package/dist/DateCellRenderer-C7yExfh5.cjs +0 -1
  172. package/dist/IconButton-DHOFapLo.cjs +0 -1
  173. package/dist/JsonEditor-Bxui5wJH.cjs +0 -1
  174. package/dist/MarkdownEditor-BKtFs714.cjs +0 -1
  175. package/dist/MarkdownEditor-Bapd1ycU.cjs +0 -1
  176. package/dist/MarkdownEditorContainer-B5aHwoYF.cjs +0 -1
  177. package/dist/Switch-DE6MrcqJ.cjs +0 -1
  178. package/dist/_virtual/___vite-browser-external.js +0 -6
  179. package/dist/_virtual/__vite-browser-external.js +0 -4
  180. package/dist/_virtual/index2.js +0 -4
  181. package/dist/_virtual/index3.js +0 -7
  182. package/dist/assets/icons/add-child.svg.js +0 -5
  183. package/dist/assets/icons/add-sibling.svg.js +0 -5
  184. package/dist/assets/icons/copy-to.svg.js +0 -5
  185. package/dist/assets/icons/file/c.svg.js +0 -5
  186. package/dist/assets/icons/file/cpp.svg.js +0 -5
  187. package/dist/assets/icons/file/cs.svg.js +0 -5
  188. package/dist/assets/icons/file/ini.svg.js +0 -5
  189. package/dist/assets/icons/file/json.svg.js +0 -5
  190. package/dist/assets/icons/file/md.svg.js +0 -5
  191. package/dist/assets/icons/file/py.svg.js +0 -5
  192. package/dist/assets/icons/move-to.svg.js +0 -5
  193. package/dist/assets/icons/no-data.svg.js +0 -5
  194. package/dist/assets/icons/open-popup.svg.js +0 -5
  195. package/dist/assets/icons/unshare.svg.js +0 -5
  196. package/dist/components/Analytics/Bar/Bar.js +0 -80
  197. package/dist/components/Analytics/BarGroup/BarGroup.js +0 -142
  198. package/dist/components/Analytics/Card/Card.js +0 -87
  199. package/dist/components/Analytics/ErrorTag/ErrorTag.js +0 -19
  200. package/dist/components/Analytics/Histogram/Histogram.js +0 -200
  201. package/dist/components/AutocompleteInput/AutocompleteInputValue.js +0 -21
  202. package/dist/components/ButtonDropdown/ButtonDropdown.js +0 -33
  203. package/dist/components/ButtonDropdown/constants.js +0 -8
  204. package/dist/components/Checkbox/Checkbox.js +0 -64
  205. package/dist/components/Checkbox/constants.js +0 -4
  206. package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +0 -84
  207. package/dist/components/ConfirmationPopup/ConfirmationPopup.js +0 -75
  208. package/dist/components/ConfirmationPopup/constants.js +0 -32
  209. package/dist/components/DraggableItem/DraggableItem.js +0 -61
  210. package/dist/components/DraggableItem/constants.js +0 -6
  211. package/dist/components/DropdownIcon/DropdownIcon.js +0 -103
  212. package/dist/components/FileIcon/FileIcon.js +0 -37
  213. package/dist/components/FileIcon/constants.js +0 -60
  214. package/dist/components/FileManager/FileManager.js +0 -888
  215. package/dist/components/FileManager/FileManagerContext.js +0 -5
  216. package/dist/components/FileManager/FileManagerProvider.js +0 -772
  217. package/dist/components/FileManager/FileManagerTooltip.js +0 -92
  218. package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
  219. package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
  220. package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
  221. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
  222. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
  223. package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
  224. package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
  225. package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
  226. package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
  227. package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
  228. package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
  229. package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
  230. package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
  231. package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
  232. package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
  233. package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
  234. package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
  235. package/dist/components/FileManager/constants.js +0 -28
  236. package/dist/components/FileManager/errors.js +0 -10
  237. package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
  238. package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
  239. package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
  240. package/dist/components/FileManager/hooks/use-current-path.js +0 -29
  241. package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
  242. package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
  243. package/dist/components/FileManager/hooks/use-file-download.js +0 -16
  244. package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
  245. package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
  246. package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
  247. package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
  248. package/dist/components/FileManager/hooks/use-file-search.js +0 -90
  249. package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
  250. package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
  251. package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
  252. package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
  253. package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
  254. package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
  255. package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
  256. package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
  257. package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
  258. package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
  259. package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
  260. package/dist/components/FileManager/utils.js +0 -129
  261. package/dist/components/FileName/FileName.js +0 -68
  262. package/dist/components/FolderName/FolderName.js +0 -57
  263. package/dist/components/FormItem/FormItem.js +0 -90
  264. package/dist/components/FormItem/constants.js +0 -9
  265. package/dist/components/FormPopup/FormPopup.js +0 -59
  266. package/dist/components/FormPopup/constants.js +0 -6
  267. package/dist/components/Grid/Grid.js +0 -333
  268. package/dist/components/Grid/constants.js +0 -33
  269. package/dist/components/Grid/renderers/DateCellRenderer.js +0 -27
  270. package/dist/components/Grid/renderers/constants.js +0 -25
  271. package/dist/components/InputPopup/InputPopup.js +0 -174
  272. package/dist/components/JsonEditor/JsonEditor.js +0 -65
  273. package/dist/components/JsonEditor/lazy.js +0 -4
  274. package/dist/components/MarkdownEditor/MarkdownEditor.js +0 -39
  275. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +0 -82
  276. package/dist/components/MarkdownEditor/lazy.js +0 -4
  277. package/dist/components/Notification/Notification.js +0 -67
  278. package/dist/components/Notification/constants.js +0 -24
  279. package/dist/components/NumberInput/NumberInput.js +0 -41
  280. package/dist/components/Pagination/Pagination.js +0 -80
  281. package/dist/components/Pagination/utils.js +0 -10
  282. package/dist/components/PasswordInput/Icons/HideIcon.js +0 -16
  283. package/dist/components/PasswordInput/Icons/ShowIcon.js +0 -16
  284. package/dist/components/PasswordInput/PasswordInput.js +0 -21
  285. package/dist/components/Popup/Popup.js +0 -110
  286. package/dist/components/Popup/constants.js +0 -12
  287. package/dist/components/RadioButton/RadioButton.js +0 -103
  288. package/dist/components/RadioGroup/RadioGroup.js +0 -92
  289. package/dist/components/RadioGroup/constants.js +0 -10
  290. package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +0 -101
  291. package/dist/components/ResizableContainer/ConditionalResizableContainer.js +0 -6
  292. package/dist/components/ResizableContainer/ResizableContainer.js +0 -79
  293. package/dist/components/ResizableContainer/components/ResizeHandle.js +0 -20
  294. package/dist/components/ResizableContainer/components/ResizeIcon.js +0 -11
  295. package/dist/components/SchemaRenderer/SchemaRenderer.js +0 -151
  296. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +0 -56
  297. package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +0 -74
  298. package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +0 -118
  299. package/dist/components/SchemaRenderer/components/SchemaField.js +0 -78
  300. package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +0 -114
  301. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +0 -272
  302. package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +0 -36
  303. package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +0 -192
  304. package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +0 -161
  305. package/dist/components/SchemaRenderer/components/SchemaSection.js +0 -81
  306. package/dist/components/SchemaRenderer/context.js +0 -12
  307. package/dist/components/Search/Search.js +0 -63
  308. package/dist/components/Search/constants.js +0 -27
  309. package/dist/components/SegmentedControl/SegmentedControl.js +0 -87
  310. package/dist/components/SegmentedControl/constants.js +0 -8
  311. package/dist/components/Select/MultiSelectTags.js +0 -23
  312. package/dist/components/Select/Select.js +0 -435
  313. package/dist/components/Select/SelectSubMenuItem.js +0 -90
  314. package/dist/components/Select/constants.js +0 -15
  315. package/dist/components/SelectField/SelectField.js +0 -66
  316. package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +0 -34
  317. package/dist/components/Slider/Slider.js +0 -158
  318. package/dist/components/Steps/Step.js +0 -34
  319. package/dist/components/Steps/Steps.js +0 -27
  320. package/dist/components/Steps/utils.js +0 -42
  321. package/dist/components/Switch/Switch.js +0 -70
  322. package/dist/components/TagInput/TagInput.js +0 -179
  323. package/dist/components/Textarea/Textarea.js +0 -43
  324. package/dist/constants/editor.js +0 -52
  325. package/dist/constants/file-grid-columns.js +0 -176
  326. package/dist/file-manager.cjs +0 -1
  327. package/dist/file-manager.js +0 -22
  328. package/dist/hooks/use-flexible-actions.js +0 -72
  329. package/dist/hooks/use-width-breakpoint.js +0 -15
  330. package/dist/icon-CrGVkVpG.cjs +0 -1
  331. package/dist/icon-DhjrDQ8I.cjs +0 -1
  332. package/dist/lazy-_W6FYhKg.cjs +0 -1
  333. package/dist/node_modules/mime-db/db.json.js +0 -2527
  334. package/dist/node_modules/mime-db/index.js +0 -8
  335. package/dist/node_modules/mime-types/index.js +0 -70
  336. package/dist/node_modules/mime-types/mimeScore.js +0 -38
  337. package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +0 -25
  338. package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +0 -21
  339. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +0 -20
  340. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +0 -19
  341. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +0 -22
  342. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +0 -15
  343. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +0 -13
  344. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +0 -23
  345. package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +0 -88
  346. package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +0 -87
  347. package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
  348. package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
  349. package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +0 -22
  350. package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
  351. package/dist/src/components/Analytics/index.d.ts +0 -13
  352. package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +0 -34
  353. package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
  354. package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
  355. package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +0 -24
  356. package/dist/src/components/ButtonDropdown/constants.d.ts +0 -2
  357. package/dist/src/components/Checkbox/Checkbox.d.ts +0 -36
  358. package/dist/src/components/Checkbox/constants.d.ts +0 -1
  359. package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +0 -46
  360. package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +0 -55
  361. package/dist/src/components/ConfirmationPopup/constants.d.ts +0 -18
  362. package/dist/src/components/DraggableItem/DraggableItem.d.ts +0 -33
  363. package/dist/src/components/DraggableItem/constants.d.ts +0 -3
  364. package/dist/src/components/DropdownIcon/DropdownIcon.d.ts +0 -38
  365. package/dist/src/components/FileIcon/FileIcon.d.ts +0 -33
  366. package/dist/src/components/FileIcon/constants.d.ts +0 -9
  367. package/dist/src/components/FileManager/FileManager.d.ts +0 -326
  368. package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
  369. package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
  370. package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
  371. package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
  372. package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
  373. package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
  374. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
  375. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
  376. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
  377. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
  378. package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
  379. package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
  380. package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
  381. package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
  382. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
  383. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
  384. package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
  385. package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
  386. package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
  387. package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
  388. package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
  389. package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
  390. package/dist/src/components/FileManager/constants.d.ts +0 -21
  391. package/dist/src/components/FileManager/errors.d.ts +0 -6
  392. package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
  393. package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
  394. package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
  395. package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
  396. package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
  397. package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
  398. package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
  399. package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
  400. package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
  401. package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
  402. package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
  403. package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
  404. package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
  405. package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
  406. package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
  407. package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
  408. package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
  409. package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
  410. package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
  411. package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
  412. package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
  413. package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
  414. package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
  415. package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
  416. package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
  417. package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
  418. package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
  419. package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
  420. package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
  421. package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
  422. package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
  423. package/dist/src/components/FileManager/utils.d.ts +0 -69
  424. package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
  425. package/dist/src/components/FileName/FileName.d.ts +0 -49
  426. package/dist/src/components/FolderName/FolderName.d.ts +0 -37
  427. package/dist/src/components/FormItem/FormItem.d.ts +0 -66
  428. package/dist/src/components/FormItem/constants.d.ts +0 -3
  429. package/dist/src/components/FormPopup/FormPopup.d.ts +0 -46
  430. package/dist/src/components/FormPopup/constants.d.ts +0 -3
  431. package/dist/src/components/Grid/Grid.d.ts +0 -120
  432. package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +0 -1
  433. package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
  434. package/dist/src/components/Grid/constants.d.ts +0 -28
  435. package/dist/src/components/Grid/renderers/DateCellRenderer.d.ts +0 -34
  436. package/dist/src/components/Grid/renderers/constants.d.ts +0 -7
  437. package/dist/src/components/Grid/renderers/utils.d.ts +0 -1
  438. package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
  439. package/dist/src/components/InputPopup/InputPopup.d.ts +0 -61
  440. package/dist/src/components/JsonEditor/JsonEditor.d.ts +0 -25
  441. package/dist/src/components/JsonEditor/lazy.d.ts +0 -14
  442. package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +0 -38
  443. package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +0 -51
  444. package/dist/src/components/MarkdownEditor/lazy.d.ts +0 -7
  445. package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
  446. package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
  447. package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
  448. package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
  449. package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
  450. package/dist/src/components/Notification/Notification.d.ts +0 -58
  451. package/dist/src/components/Notification/constants.d.ts +0 -8
  452. package/dist/src/components/NumberInput/NumberInput.d.ts +0 -34
  453. package/dist/src/components/Pagination/Pagination.d.ts +0 -11
  454. package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
  455. package/dist/src/components/Pagination/utils.d.ts +0 -9
  456. package/dist/src/components/PasswordInput/Icons/HideIcon.d.ts +0 -16
  457. package/dist/src/components/PasswordInput/Icons/ShowIcon.d.ts +0 -16
  458. package/dist/src/components/PasswordInput/PasswordInput.d.ts +0 -26
  459. package/dist/src/components/Popup/Popup.d.ts +0 -64
  460. package/dist/src/components/Popup/constants.d.ts +0 -5
  461. package/dist/src/components/RadioButton/RadioButton.d.ts +0 -54
  462. package/dist/src/components/RadioGroup/RadioGroup.d.ts +0 -66
  463. package/dist/src/components/RadioGroup/constants.d.ts +0 -5
  464. package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +0 -74
  465. package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +0 -35
  466. package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +0 -72
  467. package/dist/src/components/ResizableContainer/components/ResizeHandle.d.ts +0 -10
  468. package/dist/src/components/ResizableContainer/components/ResizeIcon.d.ts +0 -8
  469. package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +0 -30
  470. package/dist/src/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.d.ts +0 -20
  471. package/dist/src/components/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +0 -31
  472. package/dist/src/components/SchemaRenderer/components/SchemaArrayEditor.d.ts +0 -31
  473. package/dist/src/components/SchemaRenderer/components/SchemaField.d.ts +0 -29
  474. package/dist/src/components/SchemaRenderer/components/SchemaFieldContent.d.ts +0 -25
  475. package/dist/src/components/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +0 -33
  476. package/dist/src/components/SchemaRenderer/components/SchemaObjectEditor.d.ts +0 -31
  477. package/dist/src/components/SchemaRenderer/components/SchemaOneOfEditor.d.ts +0 -31
  478. package/dist/src/components/SchemaRenderer/components/SchemaPrimitiveField.d.ts +0 -31
  479. package/dist/src/components/SchemaRenderer/components/SchemaSection.d.ts +0 -33
  480. package/dist/src/components/SchemaRenderer/context.d.ts +0 -19
  481. package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
  482. package/dist/src/components/SchemaRenderer/types.d.ts +0 -62
  483. package/dist/src/components/SchemaRenderer/utils.d.ts +0 -1
  484. package/dist/src/components/Search/Search.d.ts +0 -35
  485. package/dist/src/components/Search/constants.d.ts +0 -8
  486. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -40
  487. package/dist/src/components/SegmentedControl/constants.d.ts +0 -5
  488. package/dist/src/components/Select/MultiSelectTags.d.ts +0 -8
  489. package/dist/src/components/Select/Select.d.ts +0 -100
  490. package/dist/src/components/Select/SelectSubMenuItem.d.ts +0 -8
  491. package/dist/src/components/Select/constants.d.ts +0 -9
  492. package/dist/src/components/SelectField/SelectField.d.ts +0 -42
  493. package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +0 -31
  494. package/dist/src/components/Slider/Slider.d.ts +0 -57
  495. package/dist/src/components/Steps/Step.d.ts +0 -9
  496. package/dist/src/components/Steps/Steps.d.ts +0 -26
  497. package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
  498. package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
  499. package/dist/src/components/Steps/utils.d.ts +0 -3
  500. package/dist/src/components/Switch/Switch.d.ts +0 -34
  501. package/dist/src/components/TagInput/TagInput.d.ts +0 -52
  502. package/dist/src/components/Textarea/Textarea.d.ts +0 -39
  503. package/dist/src/constants/editor.d.ts +0 -2
  504. package/dist/src/constants/file-grid-columns.d.ts +0 -4
  505. package/dist/src/constants/storybook/form-item.d.ts +0 -3
  506. package/dist/src/models/file-manager.d.ts +0 -19
  507. package/dist/src/models/segmented-control.d.ts +0 -7
  508. package/dist/src/subpaths/file-manager.d.ts +0 -21
  509. package/dist/src/types/file-manager.d.ts +0 -59
  510. package/dist/src/types/form-item.d.ts +0 -31
  511. package/dist/src/types/select.d.ts +0 -8
  512. package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
  513. package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
  514. package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
  515. package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
  516. package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
  517. package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
  518. package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
  519. package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
  520. package/dist/src/utils/grid-registration.spec.d.ts +0 -1
  521. package/dist/types/file-manager.js +0 -12
  522. package/dist/types/form-item.js +0 -4
  523. package/dist/types/select.js +0 -5
  524. package/dist/use-file-manager-tabs-Bgh8mfOJ.cjs +0 -3
  525. package/dist/utils/path.js +0 -4
  526. /package/dist/components/{Analytics → New/Analytics}/Bar/utils.js +0 -0
  527. /package/dist/components/{Analytics → New/Analytics}/Histogram/utils.js +0 -0
@@ -12,3 +12,19 @@ export declare enum DropdownItemType {
12
12
  Divider = "divider",
13
13
  PlainText = "plainText"
14
14
  }
15
+ /**
16
+ * Role of the 2.0 `Dropdown`'s floating overlay, and with it the
17
+ * `aria-haspopup` value its trigger announces.
18
+ */
19
+ export declare enum DropdownOverlayRole {
20
+ /** `role="menu"`, trigger `aria-haspopup="menu"`; options are arrow-key navigated. */
21
+ Menu = "menu",
22
+ /** `role="dialog"`, trigger `aria-haspopup="dialog"`; for a panel of free-form content. */
23
+ Dialog = "dialog",
24
+ /**
25
+ * No role on the overlay and no `aria-haspopup` on the trigger, which keeps
26
+ * `aria-expanded`/`aria-controls` as a disclosure; for an overlay whose
27
+ * content supplies its own semantics (a `region`, its own `dialog`).
28
+ */
29
+ None = "none"
30
+ }
@@ -1,9 +1,3 @@
1
- import { editor } from 'monaco-editor';
2
- export type JSONEditorError = editor.IMarker;
3
- export type JSONEditorThemeConfig = editor.IStandaloneThemeData;
4
- export interface JSONEditorErrorNotification extends JSONEditorError {
5
- id: string;
6
- }
7
1
  export declare enum EditorThemes {
8
2
  dark = "dark",
9
3
  light = "light"
@@ -0,0 +1,9 @@
1
+ /** How a `FormSection` sets its heading, description and content. */
2
+ export declare enum FormSectionVariant {
3
+ /** A field of a form: small semibold heading, small description, an 8px header gap. */
4
+ Row = "row",
5
+ /** A titled group of a builder column: caption-lead heading, tiny description. */
6
+ Caption = "caption",
7
+ /** One setting inside a group: tiny semibold heading, tiny description. */
8
+ Setting = "setting"
9
+ }
@@ -6,3 +6,13 @@ export declare enum GridColorScheme {
6
6
  Light = "light",
7
7
  Dark = "dark"
8
8
  }
9
+ /**
10
+ * Visual treatment of `Grid`. `Default` is the framed data grid. `Chat` is the
11
+ * "Chat table" of the design: a borderless card with a 12px corner and the MD
12
+ * shadow, 12px of cell padding on both sides, row dividers inset by that
13
+ * padding, and rounded hover and selected rows.
14
+ */
15
+ export declare enum GridAppearance {
16
+ Default = "default",
17
+ Chat = "chat"
18
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * How urgently a `LiveRegion` asks a screen reader to read a change.
3
+ */
4
+ export declare enum LiveRegionPoliteness {
5
+ /** `role="status"` + `aria-live="polite"`: read once the user is idle, queued behind other speech. */
6
+ Polite = "polite",
7
+ /** `role="alert"` + `aria-live="assertive"`: interrupts current speech. Reserve for failures the user must act on. */
8
+ Assertive = "assertive"
9
+ }
10
+ /**
11
+ * The element a `LiveRegion` renders as its always-mounted wrapper.
12
+ */
13
+ export declare enum LiveRegionElement {
14
+ Div = "div",
15
+ Span = "span",
16
+ P = "p"
17
+ }
@@ -10,3 +10,14 @@ export declare enum NotificationType {
10
10
  Toast = "toast",
11
11
  SectionMessage = "section-message"
12
12
  }
13
+ /**
14
+ * Which surface a `Notification` draws on.
15
+ *
16
+ * - `Variant` — the variant's own coloured surface (`bg-info`, `bg-warning` …).
17
+ * - `Neutral` — the neutral sunken layer (`bg-layer-sunken`) with primary text;
18
+ * the variant still picks the icon, the icon colour and the live-region role.
19
+ */
20
+ export declare enum NotificationSurface {
21
+ Variant = "variant",
22
+ Neutral = "neutral"
23
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The ARIA role a `ProgressBar` renders, which decides what its value means to
3
+ * a screen reader.
4
+ */
5
+ export declare enum ProgressBarRole {
6
+ /** `role="progressbar"`: how far a task has got toward completion — an upload, an import. */
7
+ Progressbar = "progressbar",
8
+ /**
9
+ * `role="meter"`: a scalar inside a known range that is not a task's
10
+ * progress — capacity used, a quota, a score. It never "completes".
11
+ */
12
+ Meter = "meter"
13
+ }
@@ -2,6 +2,11 @@ export declare enum TabOrientation {
2
2
  Horizontal = "horizontal",
3
3
  Vertical = "vertical"
4
4
  }
5
+ /** Validation state a tab can flag on itself, e.g. a form section with problems. */
6
+ export declare enum TabStatus {
7
+ Error = "error",
8
+ Warning = "warning"
9
+ }
5
10
  export declare enum TabView {
6
11
  Default = "default",
7
12
  Inline = "inline"
@@ -1,4 +1,6 @@
1
1
  export declare enum TagAppearance {
2
2
  Outlined = "outlined",
3
- Selectable = "selectable"
3
+ Selectable = "selectable",
4
+ /** The compact, rimmed chip of a value in a form field (a host, a variable). */
5
+ Bordered = "bordered"
4
6
  }
@@ -1,14 +1,12 @@
1
1
  /**
2
2
  * Registers AG Grid's community modules and configures its test-id
3
- * attribute exactly once, the first time either Grid generation actually
4
- * renders - never merely because a module that re-exports `DialGrid`/`Grid`
5
- * was imported or evaluated.
3
+ * attribute exactly once, the first time the Grid actually renders - never
4
+ * merely because a module that re-exports `Grid` was imported or evaluated.
6
5
  *
7
- * Both Grid generations (`src/components/Grid/Grid.tsx`,
8
- * `src/components/New/Grid/Grid.tsx`) call this at the top of their render
9
- * path instead of running the registration at module scope. That keeps the
10
- * side effect provably absent from the module body itself: a consumer's
11
- * bundler that ends up retaining either Grid module in its graph for some
6
+ * The Grid (`src/components/New/Grid/Grid.tsx`) calls this at the top of its
7
+ * render path instead of running the registration at module scope. That
8
+ * keeps the side effect provably absent from the module body itself: a
9
+ * consumer's bundler that ends up retaining the Grid module in its graph for some
12
10
  * other reason (e.g. an eager root-barrel re-export it cannot prove is
13
11
  * unused) no longer thereby executes `ag-grid-community`/`ag-grid-react`
14
12
  * registration - only actually rendering a Grid does.
@@ -64,5 +64,5 @@ interface SubMenuPanelProps {
64
64
  * Shared floating panel wrapper (FloatingPortal → FloatingFocusManager → container div).
65
65
  * Used by DropdownSubMenuItem and SelectSubMenuItem.
66
66
  */
67
- export declare const SubMenuPanel: ({ refs, floatingStyles, context, getFloatingProps, role, surfaceClassName, className, children, }: SubMenuPanelProps) => import("react/jsx-runtime").JSX.Element;
67
+ export declare const SubMenuPanel: ({ refs, floatingStyles, context, getFloatingProps, role, surfaceClassName, className, children, }: SubMenuPanelProps) => import('react/jsx-runtime').JSX.Element;
68
68
  export {};
@@ -1,6 +1,7 @@
1
- var t = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(t || {}), n = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(n || {}), i = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e.PlainText = "plainText", e))(i || {});
1
+ var n = /* @__PURE__ */ ((e) => (e.Dropdown = "dropdown", e.Menu = "menu", e))(n || {}), t = /* @__PURE__ */ ((e) => (e.Click = "click", e.Hover = "hover", e.ContextMenu = "contextMenu", e))(t || {}), u = /* @__PURE__ */ ((e) => (e.Item = "item", e.Divider = "divider", e.PlainText = "plainText", e))(u || {}), i = /* @__PURE__ */ ((e) => (e.Menu = "menu", e.Dialog = "dialog", e.None = "none", e))(i || {});
2
2
  export {
3
- i as DropdownItemType,
4
- n as DropdownTrigger,
5
- t as DropdownType
3
+ u as DropdownItemType,
4
+ i as DropdownOverlayRole,
5
+ t as DropdownTrigger,
6
+ n as DropdownType
6
7
  };
@@ -0,0 +1,4 @@
1
+ var p = /* @__PURE__ */ ((t) => (t.Row = "row", t.Caption = "caption", t.Setting = "setting", t))(p || {});
2
+ export {
3
+ p as FormSectionVariant
4
+ };
@@ -1,4 +1,5 @@
1
- var t = /* @__PURE__ */ ((r) => (r.Light = "light", r.Dark = "dark", r))(t || {});
1
+ var a = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(a || {}), r = /* @__PURE__ */ ((t) => (t.Default = "default", t.Chat = "chat", t))(r || {});
2
2
  export {
3
- t as GridColorScheme
3
+ r as GridAppearance,
4
+ a as GridColorScheme
4
5
  };
@@ -0,0 +1,5 @@
1
+ var a = /* @__PURE__ */ ((r) => (r.Polite = "polite", r.Assertive = "assertive", r))(a || {}), p = /* @__PURE__ */ ((r) => (r.Div = "div", r.Span = "span", r.P = "p", r))(p || {});
2
+ export {
3
+ p as LiveRegionElement,
4
+ a as LiveRegionPoliteness
5
+ };
@@ -1,5 +1,6 @@
1
- var r = /* @__PURE__ */ ((e) => (e.Info = "info", e.Success = "success", e.Warning = "warning", e.Error = "error", e.Loading = "loading", e.General = "general", e))(r || {}), s = /* @__PURE__ */ ((e) => (e.Toast = "toast", e.SectionMessage = "section-message", e))(s || {});
1
+ var e = /* @__PURE__ */ ((r) => (r.Info = "info", r.Success = "success", r.Warning = "warning", r.Error = "error", r.Loading = "loading", r.General = "general", r))(e || {}), s = /* @__PURE__ */ ((r) => (r.Toast = "toast", r.SectionMessage = "section-message", r))(s || {}), g = /* @__PURE__ */ ((r) => (r.Variant = "variant", r.Neutral = "neutral", r))(g || {});
2
2
  export {
3
+ g as NotificationSurface,
3
4
  s as NotificationType,
4
- r as NotificationVariant
5
+ e as NotificationVariant
5
6
  };
@@ -0,0 +1,4 @@
1
+ var e = /* @__PURE__ */ ((r) => (r.Progressbar = "progressbar", r.Meter = "meter", r))(e || {});
2
+ export {
3
+ e as ProgressBarRole
4
+ };
package/dist/types/tab.js CHANGED
@@ -1,6 +1,7 @@
1
- var l = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(l || {}), t = /* @__PURE__ */ ((r) => (r.Default = "default", r.Inline = "inline", r))(t || {}), e = /* @__PURE__ */ ((r) => (r.Mobile = "mobile", r.Tablet = "tablet", r))(e || {});
1
+ var e = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(e || {}), l = /* @__PURE__ */ ((r) => (r.Error = "error", r.Warning = "warning", r))(l || {}), n = /* @__PURE__ */ ((r) => (r.Default = "default", r.Inline = "inline", r))(n || {}), a = /* @__PURE__ */ ((r) => (r.Mobile = "mobile", r.Tablet = "tablet", r))(a || {});
2
2
  export {
3
- e as ScreenResolution,
4
- l as TabOrientation,
5
- t as TabView
3
+ a as ScreenResolution,
4
+ e as TabOrientation,
5
+ l as TabStatus,
6
+ n as TabView
6
7
  };
package/dist/types/tag.js CHANGED
@@ -1,4 +1,4 @@
1
- var l = /* @__PURE__ */ ((e) => (e.Outlined = "outlined", e.Selectable = "selectable", e))(l || {});
1
+ var d = /* @__PURE__ */ ((e) => (e.Outlined = "outlined", e.Selectable = "selectable", e.Bordered = "bordered", e))(d || {});
2
2
  export {
3
- l as TagAppearance
3
+ d as TagAppearance
4
4
  };
@@ -1,15 +1,47 @@
1
- import t from "classnames";
2
- import { extendTailwindMerge as o } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
3
- const r = o({
1
+ import a from "classnames";
2
+ import { extendTailwindMerge as t } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
3
+ const e = [
4
+ "display1",
5
+ "display2",
6
+ "display3",
7
+ "h1",
8
+ "h2",
9
+ "h3",
10
+ "body",
11
+ "body-semi",
12
+ "body-paragraph",
13
+ "body-paragraph-semi",
14
+ "small",
15
+ "small-semi",
16
+ "small-paragraph",
17
+ "small-paragraph-semi",
18
+ "tiny",
19
+ "tiny-semi",
20
+ "tiny-lead",
21
+ "tiny-lead-semi",
22
+ "caption",
23
+ "caption-lead-semi",
24
+ "code",
25
+ "code-semi",
26
+ "tiny-code",
27
+ "tiny-code-semi",
28
+ "italic",
29
+ "small-italic",
30
+ "tiny-italic",
31
+ "caption-italic"
32
+ ], l = t({
4
33
  extend: {
5
34
  classGroups: {
6
- z: [{ z: ["popup", "floating", "interactive-tooltip", "tooltip"] }]
35
+ z: [{ z: ["popup", "floating", "interactive-tooltip", "tooltip"] }],
36
+ "dial-typography": e.map(
37
+ (i) => `dial-${i}-text`
38
+ )
7
39
  }
8
40
  }
9
41
  });
10
- function n(...e) {
11
- return r(t(e));
42
+ function p(...i) {
43
+ return l(a(i));
12
44
  }
13
45
  export {
14
- n as mergeClasses
46
+ p as mergeClasses
15
47
  };
@@ -14,7 +14,7 @@ const Z = '[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"],
14
14
  return n === -1 ? s === 1 ? 0 : o - 1 : (n + s + o) % o;
15
15
  };
16
16
  function le(t, n = "menu", o = !1, s) {
17
- const [r, i] = b(!1), u = M(), { refs: a, elements: p, floatingStyles: S, context: c } = k({
17
+ const [r, i] = b(!1), u = M(), { refs: a, elements: d, floatingStyles: S, context: c } = k({
18
18
  nodeId: u,
19
19
  placement: "right-start",
20
20
  open: r,
@@ -40,13 +40,13 @@ function le(t, n = "menu", o = !1, s) {
40
40
  }), T = z(c, { role: n }), {
41
41
  getReferenceProps: g,
42
42
  getFloatingProps: y
43
- } = X([O, D, R, T]), [w, h] = b(!1), d = p.floating;
43
+ } = X([O, D, R, T]), [h, w] = b(!1), p = d.floating;
44
44
  Q(() => {
45
- !r || !w || d == null || (A(d)[0]?.focus(), h(!1));
46
- }, [r, w, d]);
45
+ !r || !h || p == null || (A(p)[0]?.focus(), w(!1));
46
+ }, [r, h, p]);
47
47
  const F = f(
48
48
  (e) => {
49
- o || !(e.key === v(e.currentTarget) || e.key === "Enter" || e.key === " ") || (e.preventDefault(), e.stopPropagation(), i(!0), h(!0));
49
+ o || !(e.key === v(e.currentTarget) || e.key === "Enter" || e.key === " ") || (e.preventDefault(), e.stopPropagation(), i(!0), w(!0));
50
50
  },
51
51
  [o]
52
52
  ), E = f(
@@ -97,7 +97,7 @@ const ne = "rounded bg-layer-0 shadow", ue = ({
97
97
  className: u,
98
98
  children: a
99
99
  }) => {
100
- const p = W();
100
+ const d = W();
101
101
  return /* @__PURE__ */ m(Y, { children: /* @__PURE__ */ m(
102
102
  G,
103
103
  {
@@ -112,9 +112,9 @@ const ne = "rounded bg-layer-0 shadow", ue = ({
112
112
  style: n,
113
113
  role: r,
114
114
  className: J(
115
- "z-floating overflow-auto text-primary focus-visible:outline-none",
115
+ "z-floating overflow-auto text-primary focus-visible:outline-hidden",
116
116
  i ?? ne,
117
- p,
117
+ d,
118
118
  u
119
119
  ),
120
120
  ...s(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.16.0-dev.6",
3
+ "version": "0.16.0-dev.61",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -24,11 +24,6 @@
24
24
  "import": "./dist/grid.js",
25
25
  "require": "./dist/grid.cjs"
26
26
  },
27
- "./file-manager": {
28
- "types": "./dist/src/subpaths/file-manager.d.ts",
29
- "import": "./dist/file-manager.js",
30
- "require": "./dist/file-manager.cjs"
31
- },
32
27
  "./editors": {
33
28
  "types": "./dist/src/subpaths/editors.d.ts",
34
29
  "import": "./dist/editors.js",
@@ -80,10 +75,12 @@
80
75
  ]
81
76
  },
82
77
  "overrides": {
83
- "dompurify": "3.4.16",
84
78
  "esbuild": "0.28.1",
85
79
  "shell-quote": "1.11.0",
86
- "postcss-selector-parser": "^7.1.6"
80
+ "postcss-selector-parser": "^7.1.6",
81
+ "@tailwindcss/cli": {
82
+ "@parcel/watcher": "2.6.0"
83
+ }
87
84
  },
88
85
  "dependencies": {
89
86
  "@floating-ui/react": "^0.27.19",
@@ -99,9 +96,7 @@
99
96
  },
100
97
  "peerDependencies": {
101
98
  "@modelcontextprotocol/sdk": "^1.29.0",
102
- "@monaco-editor/react": "^4.7.0",
103
99
  "@uiw/react-md-editor": "^4.1.0",
104
- "monaco-editor": "^0.55.1",
105
100
  "react": "^19.2.5",
106
101
  "react-dom": "^19.2.5"
107
102
  },
@@ -109,25 +104,19 @@
109
104
  "@modelcontextprotocol/sdk": {
110
105
  "optional": true
111
106
  },
112
- "@monaco-editor/react": {
113
- "optional": true
114
- },
115
107
  "@uiw/react-md-editor": {
116
108
  "optional": true
117
- },
118
- "monaco-editor": {
119
- "optional": true
120
109
  }
121
110
  },
122
111
  "devDependencies": {
123
112
  "@chromatic-com/storybook": "^5.2.1",
124
113
  "@eslint/js": "^9.39.2",
125
114
  "@modelcontextprotocol/sdk": "^1.29.0",
126
- "@monaco-editor/react": "^4.7.0",
127
115
  "@storybook/addon-a11y": "^10.4.4",
128
116
  "@storybook/addon-docs": "^10.4.4",
129
117
  "@storybook/addon-vitest": "^10.4.4",
130
118
  "@storybook/react-vite": "^10.4.4",
119
+ "@tailwindcss/cli": "^4.3.3",
131
120
  "@testing-library/dom": "^10.4.1",
132
121
  "@testing-library/react": "^16.3.0",
133
122
  "@types/jsdom": "^28.0.1",
@@ -138,9 +127,8 @@
138
127
  "@uiw/react-markdown-preview": "^5.2.0",
139
128
  "@uiw/react-md-editor": "^4.1.0",
140
129
  "@vitejs/plugin-react": "^4.6.0",
141
- "@vitest/browser": "^4.1.10",
142
- "@vitest/coverage-v8": "^4.1.10",
143
- "autoprefixer": "^10.5.0",
130
+ "@vitest/browser": "^4.1.12",
131
+ "@vitest/coverage-v8": "^4.1.12",
144
132
  "concurrently": "^10.0.3",
145
133
  "esbuild": "0.28.1",
146
134
  "eslint": "^9.39.2",
@@ -151,25 +139,23 @@
151
139
  "eslint-plugin-react": "^7.37.5",
152
140
  "eslint-plugin-react-hooks": "^7.1.1",
153
141
  "eslint-plugin-storybook": "^10.4.4",
154
- "eslint-plugin-tailwindcss": "^3.18.3",
142
+ "eslint-plugin-tailwindcss": "4.4.1-beta.1",
155
143
  "globals": "^16.3.0",
156
144
  "jsdom": "^26.1.0",
157
145
  "lint-staged": "^16.1.2",
158
- "monaco-editor": "^0.55.1",
159
146
  "postcss": "^8.5.6",
160
- "postcss-import": "^16.1.1",
161
147
  "prettier": "^3.8.3",
162
148
  "sass": "^1.99.0",
163
149
  "sass-embedded": "^1.99.0",
164
150
  "storybook": "^10.4.4",
165
151
  "storybook-addon-pseudo-states": "^10.4.4",
166
- "tailwindcss": "^3.4.19",
152
+ "tailwindcss": "^4.3.3",
167
153
  "tsx": "^4.20.5",
168
154
  "typescript": "~5.9.3",
169
155
  "typescript-eslint": "^8.59.1",
170
156
  "vite": "^7.1.5",
171
- "vite-plugin-dts": "^4.5.4",
157
+ "vite-plugin-dts": "^5.1.2",
172
158
  "vite-plugin-svgr": "^4.5.0",
173
- "vitest": "^4.1.8"
159
+ "vitest": "^4.1.12"
174
160
  }
175
161
  }
@@ -1 +0,0 @@
1
- "use strict";const t=require("react/jsx-runtime"),g=require("./DateCellRenderer-ElULb0hY.cjs"),X=require("@tabler/icons-react"),o=require("react"),h=require("./merge-classes-BEJXjzkx.cjs"),C=require("@floating-ui/react"),be=require("./icon-DhjrDQ8I.cjs"),ae=require("./icon-CrGVkVpG.cjs"),p=require("./IconButton-DHOFapLo.cjs"),xt=require("classnames");function bt(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(s,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return s.default=e,Object.freeze(s)}const me=bt(o);var Se=(e=>(e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left",e))(Se||{}),Ce=(e=>(e.Hover="hover",e.Click="click",e))(Ce||{});const St=7,It=2,Nt=500,vt="fill-control-inverted",Et="z-tooltip max-w-[376px] whitespace-pre-wrap break-words rounded-lg bg-control-inverted px-3 py-2 dial-small-text text-control-inverted shadow-xs",Ue=o.createContext(null),$e=()=>{const e=o.useContext(Ue);if(e==null)throw new Error("Tooltip components must be wrapped in <TooltipContainer />");return e},yt=({initialOpen:e=!1,placement:s=Se.Bottom,isTriggerClickable:n=!1,open:r,onOpenChange:i}={})=>{const[d,l]=o.useState(e),u=o.useRef(null),m=r??d,x=i??l,S=C.useFloating({placement:s,open:m,onOpenChange:x,whileElementsMounted:C.autoUpdate,middleware:[C.offset(St+It),C.flip({fallbackAxisSideDirection:"start",padding:5}),C.shift({padding:5}),C.arrow({element:u})]}),f=C.useHover(S.context,{move:!1,enabled:r==null,mouseOnly:n,delay:{open:Nt,close:0}}),I=C.useFocus(S.context,{enabled:r==null}),y=C.useDismiss(S.context),_=C.useRole(S.context,{role:"tooltip"}),L=C.useInteractions([f,I,y,_]);return o.useEffect(()=>{if(!m)return;const k=S.refs.reference.current;if(!(k instanceof Element))return;const w=new IntersectionObserver(([j])=>{j.isIntersecting||x(!1)},{root:null,threshold:0});return w.observe(k),()=>w.disconnect()},[m,S.refs.reference,x]),o.useMemo(()=>({open:m,setOpen:x,arrowRef:u,...L,...S}),[m,x,L,S])},we=({children:e,...s})=>{const n=yt(s);return t.jsx(Ue.Provider,{value:n,children:e})},Re=({style:e,...s})=>{const n=$e(),r=p.useHasHover(),i=g.useThemeScope(),d=o.useRef(null),l=C.useMergeRefs([n.refs.setFloating,d]);return!n.open||!r?null:t.jsx(C.FloatingPortal,{id:"tooltip-portal",children:t.jsxs("div",{ref:l,"data-placement":n.placement,style:{...n.floatingStyles,...e},...n.getFloatingProps(s),className:xt(Et,i,n.getFloatingProps(s).className,g.DIAL_KIT_CLASS.tooltip),children:[s.children,t.jsx(C.FloatingArrow,{ref:n.arrowRef,context:n.context,className:vt})]})})},De=({children:e,asChild:s=!1,...n})=>{const r=$e(),i=s&&o.isValidElement(e),d=i?e.props?.ref:null,l=C.useMergeRefs([r.refs.setReference,...d?[d]:[]]);if(i){const u=e.props;return o.cloneElement(e,r.getReferenceProps({...u,...n,className:h.mergeClasses(u.className,n.className)||void 0,ref:l}))}return t.jsx("span",{ref:l,...r.getReferenceProps(n),className:n.className??"text-start",children:e})},qe=({hideTooltip:e=!1,tooltip:s,children:n,asChild:r=!1,triggerClassName:i,contentClassName:d,...l})=>{const u=!e&&!!s;return t.jsxs(we,{...l,children:[t.jsx(De,{asChild:r,className:i,children:n}),u&&t.jsx(Re,{className:d,children:s})]})},Pe={[p.ButtonVariant.Primary]:{[p.ButtonAppearance.Solid]:"dial-kit-primary-solid-button",[p.ButtonAppearance.Ghost]:"dial-kit-primary-ghost-button",[p.ButtonAppearance.Link]:"dial-kit-primary-link-button"},[p.ButtonVariant.Neutral]:{[p.ButtonAppearance.Solid]:"dial-kit-neutral-solid-button",[p.ButtonAppearance.Outlined]:"dial-kit-neutral-outlined-button"},[p.ButtonVariant.Danger]:{[p.ButtonAppearance.Solid]:"dial-kit-danger-solid-button",[p.ButtonAppearance.Ghost]:"dial-kit-danger-ghost-button",[p.ButtonAppearance.Outlined]:"dial-kit-danger-outlined-button"},[p.ButtonVariant.Static]:{[p.ButtonAppearance.Solid]:"dial-kit-static-solid-button"},[p.ButtonVariant.Starter]:{[p.ButtonAppearance.Outlined]:"dial-kit-starter-outlined-button"},[p.ButtonVariant.Success]:{},[p.ButtonVariant.Secondary]:{},[p.ButtonVariant.Tertiary]:{}},kt=e=>{e.preventDefault()},Xe=(e,s,n)=>{const r=s!=null&&!s.hideTooltip&&s.tooltip!=null&&s.tooltip!=="";return e&&r?{disabled:void 0,"aria-disabled":!0,onClick:kt}:{disabled:e,onClick:n}},Ye=(e=p.ButtonVariant.Primary,s=p.ButtonAppearance.Solid)=>{const n=Pe[e]?.[s];return n||(console.warn(`Could not find Button styles for variant: ${e} and appearance: ${s}. Using default primary solid button styles.`),Pe[p.ButtonVariant.Primary][p.ButtonAppearance.Solid])},Tt={[p.ElementSize.Small]:"size-[24px]",[p.ElementSize.Standard]:"size-[40px] dial-kit-enhanced-target",[p.ElementSize.Large]:"size-[48px] dial-kit-enhanced-target"},Ie=({variant:e,appearance:s=p.ButtonAppearance.Solid,size:n=p.ElementSize.Standard,className:r,icon:i,tooltipProps:d,type:l="button",disabled:u,...m})=>{const x=h.mergeClasses("dial-kit-base-icon-button dial-kit-base-button",e&&Ye(e,s),Tt[n],r),S=t.jsx("button",{...m,...Xe(u,d,m.onClick),type:l,className:x,"aria-label":p.resolveAccessibleName(m["aria-label"],d?.tooltip),children:i});return d?t.jsx(qe,{asChild:!0,...d,children:S}):S},Je=({caption:e,onClick:s,"aria-label":n})=>{if(!e)return null;const r=h.mergeClasses("text-secondary hover:text-control-accent-hover active:text-control-accent-active","focus-visible:outline focus-visible:outline-focus",g.DIAL_KIT_CLASS.infoButton);return t.jsx(Ie,{"aria-label":n,className:r,icon:t.jsx(X.IconInfoCircle,{size:ae.DIAL_ICON_SIZE.SM,stroke:be.DIAL_KIT_ICON_STROKE,"aria-hidden":"true"}),onClick:s,size:p.ElementSize.Small,tooltipProps:{tooltip:e}})},je=({label:e,required:s,className:n,containerClassName:r,caption:i,size:d=p.ElementSize.Small,...l})=>e?t.jsxs("span",{className:h.mergeClasses("flex items-center gap-0.5",r,g.DIAL_KIT_CLASS.label),children:[t.jsxs("label",{...l,className:h.mergeClasses("text-secondary flex items-center gap-0.5",d===p.ElementSize.Small?"dial-tiny-semi-text":"dial-small-text",n),children:[typeof e=="string"?t.jsx("span",{className:"min-h-4",children:e}):e,s&&t.jsxs(t.Fragment,{children:[t.jsx("span",{"aria-hidden":"true",className:"text-error dial-tiny-text",children:"*"}),t.jsx("span",{className:"sr-only",children:"(required)"})]})]}),t.jsx(Je,{caption:i})]}):null;var D=(e=>(e.None="none",e.Check="check",e.Tint="tint",e.Checkbox="checkbox",e.Highlight="highlight",e))(D||{});const ze={size:14,stroke:3,"aria-hidden":!0},He=({isSelected:e=!1,isIndeterminate:s=!1,invalid:n=!1,disabled:r=!1,htmlFor:i,className:d})=>{const l=s||e,u=!!i,m=h.mergeClasses("grid size-[20px] shrink-0 place-items-center rounded border transition-colors duration-200",u&&"dial-kit-minimum-target",u&&"peer-focus-visible:outline peer-focus-visible:outline-focus",r?"border-transparent bg-control-disable-primary text-control-disable-primary":h.mergeClasses(n&&l&&"border-transparent bg-control-error text-control-permanent",n&&!l&&"border-error bg-control-neutral",!n&&l&&"border-transparent bg-control-accent text-control-permanent hover:bg-control-accent-hover",!n&&!l&&"border-default bg-control-neutral hover:border-accent hover:bg-control-accent-alpha-hover"),r?"cursor-not-allowed":u&&"cursor-pointer",d,g.DIAL_KIT_CLASS.checkboxBox),x=s?t.jsx(X.IconMinus,{...ze}):e&&t.jsx(X.IconCheck,{...ze});return u?t.jsx("label",{htmlFor:i,className:m,children:x}):t.jsx("span",{"aria-hidden":"true",className:m,children:x})},Be=({id:e,labelProps:s,isSelected:n=!1,isIndeterminate:r=!1,invalid:i=!1,disabled:d,onChange:l,caption:u,className:m,boxClassName:x,...S})=>{const f=o.useId(),I=e??f,y=u?`${I}-caption`:void 0,_=o.useCallback(k=>{l?.(k.target.checked)},[l]),L=o.useCallback(k=>{k&&(k.indeterminate=r)},[r]);return t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsxs("div",{className:h.mergeClasses("flex items-center gap-2",m,g.DIAL_KIT_CLASS.checkbox),children:[t.jsx("input",{...S,ref:L,type:"checkbox",id:I,checked:n,disabled:d,onChange:_,"aria-checked":r?"mixed":n,"aria-invalid":i||void 0,"aria-label":p.resolveAccessibleName(typeof s?.label!="string"?S["aria-label"]:void 0),"aria-describedby":y,className:"peer sr-only"}),t.jsx(He,{htmlFor:I,isSelected:n,isIndeterminate:r,invalid:i,disabled:d,className:x}),s&&t.jsx(je,{size:p.ElementSize.Standard,...s,htmlFor:I,className:h.mergeClasses("py-[1px]",d?"cursor-not-allowed text-control-disable-primary":"cursor-pointer text-primary",s.className)})]}),u&&t.jsx("span",{id:y,className:"dial-tiny-text text-secondary ml-[28px]",children:u})]})},At=8,_t=400,Lt="z-interactive-tooltip max-w-[320px] rounded-xl bg-layer-0 p-4 dial-small-text text-primary shadow-md",pe=({content:e,placement:s=Se.Right,children:n,asChild:r=!1,hideTooltip:i=!1,initialOpen:d=!1,trigger:l=Ce.Hover,open:u,onOpenChange:m,triggerClassName:x,contentClassName:S})=>{const f=g.useIsMobileScreen(),I=l===Ce.Click,y=g.useThemeScope(),[_,L]=o.useState(d),k=u??_,w=K=>{m?.(K),u==null&&L(K)},j=C.useFloatingNodeId(),{refs:H,floatingStyles:Y,context:T}=C.useFloating({nodeId:j,placement:s,open:k,onOpenChange:w,whileElementsMounted:C.autoUpdate,middleware:[C.offset(At),C.flip({padding:5}),C.shift({padding:5})]}),V=C.useHover(T,{enabled:u==null&&!I,handleClose:C.safePolygon(),delay:{open:_t,close:0}}),Z=C.useFocus(T,{enabled:u==null&&!I}),W=C.useClick(T,{enabled:I}),v=C.useDismiss(T),{getReferenceProps:J,getFloatingProps:ne}=C.useInteractions([V,Z,W,v]),se=o.useRef(null),G=C.useMergeRefs(o.useMemo(()=>[H.setFloating,se],[H.setFloating])),A=r&&o.isValidElement(n),M=A?n.props?.ref:null,O=C.useMergeRefs(o.useMemo(()=>[H.setReference,...M?[M]:[]],[H.setReference,M])),B=!i&&(I||!f)&&!!e,E=A?o.cloneElement(n,J({...n.props,ref:O,className:h.mergeClasses(n.props.className,x)||void 0})):t.jsx("span",{ref:O,...J(),className:x??"text-start",children:n});return t.jsxs(t.Fragment,{children:[E,k&&B&&t.jsx(C.FloatingPortal,{id:"interactive-tooltip-portal",children:t.jsx(C.FloatingFocusManager,{context:T,modal:!1,initialFocus:-1,returnFocus:!1,order:["reference","content"],children:t.jsx("div",{ref:G,"data-placement":T.placement,style:Y,...ne(),className:h.mergeClasses(Lt,y,S,g.DIAL_KIT_CLASS.interactiveTooltip),children:e})})})]})},Me="rounded-xl bg-layer-raised p-1 shadow-md",Oe="flex flex-col gap-0.5",Qe=h.mergeClasses(Me,"w-max"),et=h.mergeClasses(Qe,Oe,"py-2"),tt=h.mergeClasses("flex w-full shrink-0 cursor-pointer items-center gap-2 px-3 h-[40px] rounded-lg","dial-small-text text-primary truncate","hover:bg-control-accent-alpha-hover","focus-visible:outline focus-visible:outline-focus"),nt="bg-control-accent-alpha",wt=h.mergeClasses(nt,"text-accent"),Rt=h.mergeClasses("cursor-not-allowed text-control-disable-primary","bg-transparent hover:bg-transparent"),st=4,Dt=h.mergeClasses("flex items-center gap-2 align-middle","h-auto px-0 bg-transparent border-0"),jt=h.mergeClasses("z-floating focus-visible:outline-none",Me),Ht=Qe,Bt=et,Mt=h.mergeClasses(Oe,"py-1"),Ot="my-1 border-t border-tertiary",te=st,Ft=t.jsx(X.IconChevronRight,{size:ae.DIAL_ICON_SIZE.SM,stroke:be.DIAL_KIT_ICON_STROKE,"aria-hidden":"true"}),Fe=(e,s)=>({appearance:r,...i})=>t.jsx(Ie,{...i,variant:e,appearance:r||s}),rt=(e,s)=>({variant:r,...i})=>t.jsx(Ie,{...i,variant:r||s,appearance:e}),Vt=Fe(p.ButtonVariant.Primary,p.ButtonAppearance.Solid),Gt=Fe(p.ButtonVariant.Neutral,p.ButtonAppearance.Solid),Pt=Fe(p.ButtonVariant.Danger,p.ButtonAppearance.Ghost),ot=rt(p.ButtonAppearance.Ghost,p.ButtonVariant.Primary),zt=rt(p.ButtonAppearance.Solid,p.ButtonVariant.Static),at=({ariaLabel:e="Close",className:s,size:n=p.ElementSize.Small,onClose:r,...i})=>t.jsx(ot,{...i,size:n,"aria-label":e,className:h.mergeClasses(s,g.DIAL_KIT_CLASS.closeButton),onClick:r,icon:t.jsx(X.IconX,{size:n===p.ElementSize.Small?ae.DIAL_ICON_SIZE.SM:ae.DIAL_ICON_SIZE.MD,stroke:be.DIAL_KIT_ICON_STROKE,"aria-hidden":"true"})}),Zt=e=>{const s=o.useRef(null),[n,r]=o.useState(!1),[i,d]=o.useState(""),l=o.useRef(!1),u=o.useCallback(()=>{const x=s.current;x&&(l.current&&d(x.textContent??""),r(x.scrollWidth>x.clientWidth))},[]),m=o.useCallback(()=>g.scheduleMeasure(u),[u]);return o.useEffect(()=>{const x=s.current;if(x)return g.observeElementSize(x,u)},[u]),o.useEffect(()=>{l.current=typeof e!="string",m()},[e,m]),{ref:s,isTruncated:n,textContent:i,remeasure:m}},Ne=({text:e,className:s,contentClassName:n,hideTooltip:r=!1,id:i,customTooltipContent:d,...l})=>{const{ref:u,isTruncated:m,textContent:x,remeasure:S}=Zt(e),f=typeof e=="string"?e:x,I=o.useMemo(()=>r||!m?null:d??f,[d,f,r,m]);return t.jsxs(we,{...l,children:[t.jsx(De,{asChild:!0,onMouseEnter:S,onFocusCapture:S,children:t.jsx("span",{id:i,ref:u,"aria-label":m&&f?f:void 0,className:h.mergeClasses("block min-w-0 max-w-full flex-1 truncate text-start",s,g.DIAL_KIT_CLASS.ellipsisTooltip),children:e})}),!!I&&t.jsx(Re,{className:n,children:I})]})},Wt=t.jsx(X.IconCheck,{size:ae.DIAL_ICON_SIZE.SM,stroke:be.DIAL_KIT_ICON_STROKE,className:`shrink-0 ${g.DIAL_KIT_CLASS.menuItemCheck}`,"aria-hidden":!0}),ge=({label:e,icon:s,description:n,mark:r=D.None,selected:i=!1,danger:d=!1,trailing:l,rightControl:u,ellipsisLabel:m=!1,labelClassName:x,children:S,className:f,disabled:I=!1,type:y="button",..._})=>{const L=i&&r===D.Highlight,k=i&&(r===D.Checkbox||r===D.Tint),w=h.mergeClasses(d&&"text-error",I&&"text-control-disable-primary"),j=h.mergeClasses(tt,"aria-expanded:bg-control-accent-alpha-hover",L&&wt,k&&nt,I&&Rt,d&&"text-error",f,g.DIAL_KIT_CLASS.menuItem),H=t.jsxs("button",{type:y,disabled:I,"data-menu-item-row":u?"":void 0,className:u?"flex h-full min-w-0 flex-1 items-center gap-2 truncate text-start focus-visible:outline-none":j,..._,children:[S??t.jsxs(t.Fragment,{children:[r===D.Checkbox&&t.jsx(He,{isSelected:i,disabled:I}),s&&t.jsx(g.DialIcon,{icon:s,className:w}),m?t.jsx(Ne,{text:e,className:h.mergeClasses(w,x)}):t.jsx("span",{className:h.mergeClasses("min-w-0 flex-1 truncate text-start",w,x),children:e}),n&&t.jsx("span",{className:h.mergeClasses("shrink-0 text-secondary dial-small-text",I&&"text-control-disable-primary"),children:n}),i&&r===D.Check&&Wt]}),l&&t.jsx("span",{className:h.mergeClasses("ml-auto shrink-0",w),children:l})]});return u?t.jsxs("div",{role:"none",className:h.mergeClasses(j,"has-[[data-menu-item-row]:focus-visible]:outline","has-[[data-menu-item-row]:focus-visible]:outline-focus"),children:[H,u]}):H},he=e=>e.mark??(e.selectable?D.Checkbox:D.None),lt=e=>e.selectable?"menuitemcheckbox":he(e)===D.Check?"menuitemradio":"menuitem",Kt=({item:e,onRootClose:s})=>{const{isOpen:n,nodeId:r,refs:i,floatingStyles:d,context:l,getReferenceProps:u,getFloatingProps:m}=g.useSubMenuFloating(te,"menu",!!e.disabled),x=o.useCallback(f=>I=>{f.disabled||(f.onClick?.({key:f.key,domEvent:I}),f.selectable||s())},[s]),S=t.jsx(ge,{ref:i.setReference,role:"menuitem","aria-haspopup":"menu","aria-expanded":n,"aria-disabled":!!e.disabled,disabled:e.disabled,icon:e.icon,label:e.label,trailing:Ft,className:e.className,...u(),children:e.renderItem?.(e)});return t.jsxs(C.FloatingNode,{id:r,children:[e.interactiveTooltip?t.jsx(pe,{asChild:!0,placement:e.interactiveTooltip.placement,content:e.interactiveTooltip.content,contentClassName:e.interactiveTooltip.contentClassName,children:S}):S,n&&t.jsx(g.SubMenuPanel,{refs:i,floatingStyles:d,context:l,getFloatingProps:m,role:"menu",surfaceClassName:e.renderSubMenu?Ht:Bt,children:e.renderSubMenu?e.renderSubMenu():t.jsxs(t.Fragment,{children:[e.menuHeader&&(typeof e.menuHeader=="function"?e.menuHeader():e.menuHeader),e.children.map(f=>{const I=lt(f),y=t.jsx(ge,{role:I,"aria-checked":I==="menuitem"?void 0:!!f.checked,"aria-current":he(f)===D.Highlight&&f.checked?!0:void 0,"aria-disabled":!!f.disabled,disabled:f.disabled,mark:he(f),selected:!!f.checked,danger:f.danger,icon:f.icon,label:f.label,className:f.className,rightControl:f.rightControl,onClick:x(f),children:f.renderItem?.(f)});return t.jsx(o.Fragment,{children:f.interactiveTooltip?t.jsx(pe,{asChild:!0,placement:f.interactiveTooltip.placement,content:f.interactiveTooltip.content,contentClassName:f.interactiveTooltip.contentClassName,children:y}):y},f.key)}),e.menuFooter&&(typeof e.menuFooter=="function"?e.menuFooter():e.menuFooter)]})})]})},Ut='[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]',$t=e=>!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true",qt=["ArrowDown","ArrowUp","Home","End"],Xt=(e,s,n)=>{if(e==="Home")return 0;if(e==="End")return n-1;const r=e==="ArrowDown"?1:-1;return s===-1?r===1?0:n-1:(s+r+n)%n},Yt=e=>"clientWidth"in e?e.clientWidth:e.getBoundingClientRect?.()?.width??0,ct=({children:e,items:s,onItemClick:n,menuHeader:r,menuFooter:i,renderOverlay:d,trigger:l=[g.DropdownTrigger.Click],placement:u,disabled:m=!1,open:x,defaultOpen:S=!1,onOpenChange:f,closable:I=!1,onClose:y,className:_,overlayContentClassName:L,separatorClassName:k,listClassName:w,listStyle:j,outsidePressIgnoreRef:H,outsideClosable:Y=!0,allowedPlacements:T,anchorToMouse:V=!1,matchReferenceWidth:Z=!0,maxDropdownHeight:W,initialFocus:v})=>{const J=g.useThemeScope(),[ne,se]=o.useState(S),G=x!==void 0,A=G?!!x:ne,M=o.useRef(null),[O,B]=o.useState(!0),E=o.useCallback((a,N,c)=>{a&&B(c!=="hover"&&c!=="safe-polygon"),G||se(a),f?.(a)},[G,f]),K=o.useId(),ve=u===void 0,le=C.useFloatingNodeId(),{refs:U,floatingStyles:P,context:F}=C.useFloating({nodeId:le,placement:u,open:A,onOpenChange:E,whileElementsMounted:C.autoUpdate,middleware:[C.offset({mainAxis:te,crossAxis:0}),ve?C.autoPlacement({alignment:"start",crossAxis:!0,padding:te,allowedPlacements:T}):C.flip({padding:te}),C.shift({padding:te}),C.size({padding:te,apply({availableWidth:a,availableHeight:N,elements:c}){const b=c.floating,R=Yt(c.reference);b.style.setProperty("--fui-available-height",`${Math.floor(N)}px`),b.style.setProperty("--reference-width",Z?`${Math.round(R)}px`:"0px"),Z?b.style.minWidth=`${Math.round(R)}px`:b.style.removeProperty("min-width"),b.style.maxWidth=`${Math.floor(a)}px`;const $=Math.floor(N);b.style.maxHeight=`${W?Math.min($,W):$}px`}})]}),re=C.useClick(F,{enabled:l.includes(g.DropdownTrigger.Click)&&!m}),Q=C.useHover(F,{enabled:l.includes(g.DropdownTrigger.Hover)&&!m,move:!1,restMs:40,handleClose:C.safePolygon(),delay:{open:80,close:80}}),Ee=C.useDismiss(F,{bubbles:!0,referencePress:!1,outsidePress:a=>{if(!Y)return!1;const N=a.target;return!(H?.current&&N instanceof Node&&H.current.contains(N))}}),oe=C.useRole(F,{role:"menu"}),{getReferenceProps:ce,getFloatingProps:ye}=C.useInteractions([re,Q,Ee,oe]),q=o.useCallback((a,N)=>{U.setPositionReference({getBoundingClientRect:()=>({width:0,height:0,x:a,y:N,top:N,left:a,right:a,bottom:N})})},[U]),ee=o.useCallback(a=>{!l.includes(g.DropdownTrigger.ContextMenu)||m||(a.preventDefault(),V&&(q(a.clientX,a.clientY),M.current=document.elementFromPoint(a.clientX,a.clientY)),E(!0))},[V,m,E,q,l]),ke=o.useCallback(a=>{!V||m||(l.includes(g.DropdownTrigger.ContextMenu)&&A&&E(!1),q(a.clientX,a.clientY),M.current=document.elementFromPoint(a.clientX,a.clientY))},[V,m,q,A,l,E]);o.useEffect(()=>{m&&A&&E(!1)},[m,A,E]);const Te=o.useCallback(a=>{if(a.defaultPrevented||!qt.includes(a.key)||!a.currentTarget.contains(a.target))return;const N=Array.from(a.currentTarget.querySelectorAll(Ut)).filter($t);if(N.length===0)return;a.preventDefault();const c=a.currentTarget.ownerDocument.activeElement,b=N.findIndex(R=>R===c);N[Xt(a.key,b,N.length)]?.focus()},[]),ie=o.useCallback(a=>N=>{a.disabled||(a.onClick?.({key:a.key,domEvent:N}),n?.({key:a.key,domEvent:N}),a.selectable||E(!1))},[n,E]),Ae=o.useMemo(()=>d?d():s?t.jsxs(t.Fragment,{children:[r&&t.jsx(t.Fragment,{children:typeof r=="function"?r():r}),t.jsx("div",{role:"none",className:h.mergeClasses(Mt,L,g.DIAL_KIT_CLASS.dropdownList),"aria-label":"dropdown",children:s.map(a=>{if(a.type===g.DropdownItemType.Divider)return t.jsx("div",{role:"separator",className:h.mergeClasses(Ot,k)},a.key);if(a.type===g.DropdownItemType.PlainText)return t.jsx("div",{className:h.mergeClasses("px-3 py-2 text-secondary dial-caption-text",a.className),children:a.label},a.key);if(a.children?.length)return t.jsx(Kt,{item:a,onRootClose:()=>E(!1)},a.key);const N=he(a),c=lt(a),b=t.jsx(ge,{role:c,"aria-checked":c==="menuitem"?void 0:!!a.checked,"aria-current":N===D.Highlight&&a.checked?!0:void 0,"aria-disabled":!!a.disabled,disabled:a.disabled,mark:N,selected:!!a.checked,danger:a.danger,icon:a.icon,label:a.label,className:a.className,rightControl:a.rightControl,onClick:ie(a),children:a.renderItem?.(a)});return t.jsx(o.Fragment,{children:a.interactiveTooltip?t.jsx(pe,{asChild:!0,placement:a.interactiveTooltip.placement,content:a.interactiveTooltip.content,contentClassName:a.interactiveTooltip.contentClassName,children:b}):b},a.key)})}),i&&t.jsx(t.Fragment,{children:typeof i=="function"?i():i})]}):null,[ie,s,i,r,d,E,L,k]),ue=ce({onContextMenu:ee,onMouseDown:ke});return o.useEffect(()=>{if(!A)return;const a=U.reference.current;let N=null;if(a instanceof Element?N=a:M.current instanceof Element&&(N=M.current),!N)return;const c=new IntersectionObserver(([b])=>{b.isIntersecting||E(!1)},{root:null,threshold:0});return c.observe(N),()=>c.disconnect()},[A,U.reference,E]),t.jsx(C.FloatingTree,{children:t.jsxs(C.FloatingNode,{id:le,children:[t.jsx("span",{ref:U.setReference,className:h.mergeClasses(Dt,m&&"!cursor-not-allowed opacity-75",_,g.DIAL_KIT_CLASS.dropdown),"aria-haspopup":"menu","aria-expanded":A,"aria-controls":K,...ue,children:e}),A&&t.jsx(C.FloatingPortal,{children:t.jsx(C.FloatingFocusManager,{context:F,modal:!1,initialFocus:v!==void 0?v:O?0:-1,returnFocus:!0,children:t.jsxs("div",{id:K,ref:U.setFloating,style:j?{...j,...P}:P,className:h.mergeClasses(jt,!Z&&"w-max","overflow-auto",J,w),...ye({onKeyDown:Te}),children:[I&&t.jsx("div",{className:"flex items-center justify-between px-2 pt-2",children:t.jsx(at,{ariaLabel:"Close dropdown",onClose:a=>{y?.(a),E(!1)}})}),Ae]})})})]})})},it=e=>me.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},me.createElement("path",{d:"M20.2954 16.7035C20.2954 17.088 20.6029 17.4069 20.9737 17.4069C21.3445 17.4069 21.6519 17.088 21.6519 16.7035C21.6519 16.3189 21.3445 16 20.9737 16C20.6029 16 20.2954 16.3189 20.2954 16.7035Z",fill:"currentColor"}),me.createElement("path",{d:"M11.7041 16.7035C11.7041 17.088 11.3966 17.4069 11.0258 17.4069C10.655 17.4069 10.3476 17.088 10.3476 16.7035C10.3476 16.3189 10.655 16 11.0258 16C11.3966 16 11.7041 16.3189 11.7041 16.7035Z",fill:"currentColor"}),me.createElement("path",{d:"M19.0221 2.40002L19.5525 1.86969C19.4118 1.72904 19.221 1.65002 19.0221 1.65002V2.40002ZM26.5777 9.95558H27.3277C27.3277 9.75667 27.2487 9.5659 27.108 9.42525L26.5777 9.95558ZM5.42212 29.6H4.67212C4.67212 30.0142 5.00791 30.35 5.42212 30.35V29.6ZM8.44434 2.40002V1.65002V2.40002ZM13.8932 19.5173C13.8932 19.9315 14.229 20.2673 14.6432 20.2673C15.0574 20.2673 15.3932 19.9315 15.3932 19.5173H14.6432H13.8932ZM16.6063 19.5173C16.6063 19.9315 16.9421 20.2673 17.3563 20.2673C17.7705 20.2673 18.1063 19.9315 18.1063 19.5173H17.3563H16.6063ZM19.0221 2.40002H18.2721V8.44447H19.0221H19.7721V2.40002H19.0221ZM19.0221 8.44447H18.2721C18.2721 9.04415 18.5103 9.61927 18.9344 10.0433L19.4647 9.51299L19.995 8.98266C19.8523 8.83992 19.7721 8.64633 19.7721 8.44447H19.0221ZM19.4647 9.51299L18.9344 10.0433C19.3584 10.4674 19.9335 10.7056 20.5332 10.7056V9.95558V9.20558C20.3314 9.20558 20.1378 9.12539 19.995 8.98266L19.4647 9.51299ZM20.5332 9.95558V10.7056H26.5777V9.95558V9.20558H20.5332V9.95558ZM5.42212 29.6H6.17212V5.42225H5.42212H4.67212V29.6H5.42212ZM5.42212 5.42225H6.17212C6.17212 4.81962 6.41151 4.24167 6.83764 3.81554L6.30731 3.28521L5.77698 2.75488C5.06955 3.46231 4.67212 4.42179 4.67212 5.42225H5.42212ZM6.30731 3.28521L6.83764 3.81554C7.26376 3.38942 7.84171 3.15002 8.44434 3.15002V2.40002V1.65002C7.44389 1.65002 6.48441 2.04745 5.77698 2.75488L6.30731 3.28521ZM8.44434 2.40002V3.15002H19.0221V2.40002V1.65002H8.44434V2.40002ZM19.0221 2.40002L18.4918 2.93035L26.0473 10.4859L26.5777 9.95558L27.108 9.42525L19.5525 1.86969L19.0221 2.40002ZM26.5777 9.95558H25.8277V26.5778H26.5777H27.3277V9.95558H26.5777ZM26.5777 26.5778H25.8277C25.8277 27.1804 25.5883 27.7584 25.1622 28.1845L25.6925 28.7148L26.2228 29.2452C26.9302 28.5377 27.3277 27.5783 27.3277 26.5778H26.5777ZM25.6925 28.7148L25.1622 28.1845C24.736 28.6106 24.1581 28.85 23.5555 28.85V29.6V30.35C24.5559 30.35 25.5154 29.9526 26.2228 29.2452L25.6925 28.7148ZM23.5555 29.6V28.85H5.42212V29.6V30.35H23.5555V29.6ZM20.9737 16V16.75C20.9388 16.75 20.9181 16.7345 20.9119 16.7281C20.906 16.722 20.9019 16.7133 20.9019 16.7035H21.6519H22.4019C22.4019 15.9307 21.7842 15.25 20.9737 15.25V16ZM21.6519 16.7035H20.9019C20.9019 16.6936 20.906 16.685 20.9119 16.6788C20.9181 16.6724 20.9388 16.6569 20.9737 16.6569V17.4069V18.1569C21.7842 18.1569 22.4019 17.4762 22.4019 16.7035H21.6519ZM20.9737 17.4069V16.6569C21.0086 16.6569 21.0292 16.6724 21.0354 16.6788C21.0414 16.685 21.0454 16.6936 21.0454 16.7035H20.2954H19.5454C19.5454 17.4762 20.1631 18.1569 20.9737 18.1569V17.4069ZM20.2954 16.7035H21.0454C21.0454 16.7133 21.0414 16.722 21.0354 16.7281C21.0292 16.7345 21.0086 16.75 20.9737 16.75V16V15.25C20.1631 15.25 19.5454 15.9307 19.5454 16.7035H20.2954ZM11.0258 16V16.75C10.9909 16.75 10.9703 16.7345 10.9641 16.7281C10.9582 16.722 10.9541 16.7133 10.9541 16.7035H11.7041H12.4541C12.4541 15.9307 11.8364 15.25 11.0258 15.25V16ZM11.7041 16.7035H10.9541C10.9541 16.6936 10.9582 16.685 10.9641 16.6788C10.9703 16.6724 10.9909 16.6569 11.0258 16.6569V17.4069V18.1569C11.8364 18.1569 12.4541 17.4762 12.4541 16.7035H11.7041ZM11.0258 17.4069V16.6569C11.0607 16.6569 11.0814 16.6724 11.0876 16.6788C11.0935 16.685 11.0976 16.6936 11.0976 16.7035H10.3476H9.59757C9.59757 17.4762 10.2153 18.1569 11.0258 18.1569V17.4069ZM10.3476 16.7035H11.0976C11.0976 16.7133 11.0935 16.722 11.0876 16.7281C11.0814 16.7345 11.0607 16.75 11.0258 16.75V16V15.25C10.2153 15.25 9.59757 15.9307 9.59757 16.7035H10.3476ZM14.6432 19.5173H15.3932C15.3932 19.127 15.6889 18.8604 15.9998 18.8604V18.1104V17.3604C14.8094 17.3604 13.8932 18.3506 13.8932 19.5173H14.6432ZM15.9998 18.1104V18.8604C16.3106 18.8604 16.6063 19.127 16.6063 19.5173H17.3563H18.1063C18.1063 18.3506 17.1901 17.3604 15.9998 17.3604V18.1104Z",fill:"currentColor"})),ut=({id:e,name:s,value:n,labelProps:r,isSelected:i=!1,disabled:d,onChange:l,caption:u,className:m,...x})=>{const S=o.useId(),f=e??S,I=u?`${f}-caption`:void 0,y=o.useCallback(_=>{_.target.checked&&l?.(n)},[l,n]);return t.jsxs("div",{className:"flex flex-col gap-1",children:[t.jsxs("div",{className:h.mergeClasses("flex items-center gap-2 ",m,g.DIAL_KIT_CLASS.radio),children:[t.jsx("input",{...x,type:"radio",id:f,name:s,value:n,checked:i,disabled:d,onChange:y,"aria-label":p.resolveAccessibleName(typeof r?.label!="string"?x["aria-label"]:void 0),"aria-describedby":I,className:"peer sr-only"}),t.jsx("label",{htmlFor:f,className:h.mergeClasses("group grid size-[20px] shrink-0 place-items-center rounded-full border transition-colors duration-200 hover:bg-control-accent-alpha-hover","dial-kit-minimum-target","peer-focus-visible:outline peer-focus-visible:outline-focus",d?"cursor-not-allowed border-default bg-control-disable-primary":h.mergeClasses("cursor-pointer",i?"border border-accent bg-control-neutral":"border-default bg-control-neutral")),children:i&&t.jsx("span",{className:h.mergeClasses("size-3 rounded-full",d?"bg-control-disable-secondary":"bg-control-accent")})}),r&&t.jsx(je,{size:p.ElementSize.Standard,...r,htmlFor:f,className:h.mergeClasses("py-[1px]",d?"cursor-not-allowed text-control-disable-primary":"cursor-pointer text-primary",r.className)})]}),u&&t.jsx("span",{id:I,className:"dial-tiny-text text-secondary ml-[26px]",children:u})]})},Ze=32,dt=({title:e,description:s,icon:n,live:r=!1,className:i,titleClassName:d,descriptionClassName:l})=>t.jsxs("div",{role:r?"status":void 0,className:h.mergeClasses("flex size-full flex-col items-center justify-center gap-2 text-tertiary",i,g.DIAL_KIT_CLASS.noDataContent),children:[n??t.jsx(it,{width:Ze,height:Ze,"aria-hidden":"true"}),t.jsx("span",{className:h.mergeClasses("dial-tiny-text text-secondary",d),children:e}),s&&t.jsx("span",{className:h.mergeClasses("dial-tiny-text text-secondary",l),children:s})]});var xe=(e=>(e.Light="light",e.Dark="dark",e))(xe||{});const mt="dial-kit-grid",Jt="dial-kit-grid-with-selection",Qt="dial-kit-grid-without-header-borders",en="dial-kit-grid-row-select",tn="dial-kit-grid-header-select",nn="dial-kit-grid-selection-visible",sn="dial-kit-grid-align-right",Le=40,We="0.5px solid var(--stroke-tertiary, #E0E6F0)",fe={accentColor:"var(--bg-control-accent, #1D4ED8)",backgroundColor:"var(--bg-layer-raised, #FCFCFC)",oddRowBackgroundColor:"var(--bg-layer-sunken, #EEF1F7)",selectedRowBackgroundColor:"var(--bg-control-accent-alpha-active-subtle, #2764D914)",rowHoverColor:"var(--bg-control-accent-alpha-hover-subtle, #2764D90A)",borderColor:"var(--stroke-tertiary, #E0E6F0)",rowBorder:We,headerRowBorder:!1,headerColumnBorder:We,headerColumnBorderHeight:12,chromeBackgroundColor:"var(--bg-layer-base, #F5F7FA)",headerBackgroundColor:"var(--bg-layer-raised, #FCFCFC)",foregroundColor:"var(--text-primary, #161B2D)",headerTextColor:"var(--text-secondary, #57647A)",browserColorScheme:"light",headerFontSize:14,headerFontWeight:600,fontSize:14,fontFamily:"var(--theme-font, var(--font-inter))",spacing:4,borderRadius:4,inputBorderRadius:8,wrapperBorderRadius:8};var z=(e=>(e.API="api",e.ROW_DATA_CHANGED="rowDataChanged",e.CHECKBOX_SELECTED="checkboxSelected",e))(z||{});const rn=({params:e,mode:s,label:n,radioName:r,rowId:i,disabled:d})=>{const l=e.node,[u,m]=o.useState(()=>!!l.isSelected());o.useEffect(()=>{const S=()=>m(!!l.isSelected());return S(),l.addEventListener("rowSelected",S),()=>l.removeEventListener("rowSelected",S)},[l]);const x=S=>{d||l.setSelected(S,s===g.GridSelectionMode.SINGLE,z.CHECKBOX_SELECTED)};return s===g.GridSelectionMode.SINGLE?t.jsx(ut,{name:r,value:i,isSelected:u,disabled:d,"aria-label":n,onChange:()=>x(!0)}):t.jsx(Be,{isSelected:u,disabled:d,"aria-label":n,onChange:x})},Ke=e=>{let s=0,n=0;return e.forEachNodeAfterFilter(r=>{r.selectable!==!1&&(n++,r.isSelected()&&s++)}),{selected:s,selectable:n}},on=({api:e,label:s})=>{const[{selected:n,selectable:r},i]=o.useState(()=>Ke(e));o.useEffect(()=>{const l=()=>i(Ke(e));return l(),e.addEventListener("selectionChanged",l),e.addEventListener("modelUpdated",l),()=>{e.isDestroyed()||(e.removeEventListener("selectionChanged",l),e.removeEventListener("modelUpdated",l))}},[e]);const d=o.useCallback(l=>{if(l){e.selectAll("filtered",z.CHECKBOX_SELECTED);return}e.deselectAll("filtered",z.CHECKBOX_SELECTED)},[e]);return t.jsx(Be,{isSelected:r>0&&n===r,isIndeterminate:n>0&&n<r,disabled:r===0,"aria-label":s,onChange:d})},ft="en-US",Ct={year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},_e=40,an={minWidth:_e,width:_e,maxWidth:_e,resizable:!1,sortable:!1,filter:!1,floatingFilter:!1,suppressMovable:!0,suppressHeaderMenuButton:!0,suppressAutoSize:!0,suppressSizeToFit:!0},pt="dial-kit-grid-selection",ln=150,cn=100,un=({columnDefs:e,rowData:s,additionalGridOptions:n,getContextMenuItems:r,className:i,ariaLabel:d="Data grid",wrapCustomCellRenderers:l=!0,disabledRowIds:u,selectedRowIds:m,onSelectionChange:x,onGridApiChange:S,getRowId:f,alternateOddRowColors:I=!1,filterPlaceholder:y="Enter value",emptyStateIcon:_,emptyStateTitle:L="No results found",emptyStateDescription:k="Sorry, we couldn't find any results for your search.",loading:w=!1,wrapperBorder:j=!0,withoutHeaderBorders:H=!1,allowDisabledContextMenu:Y=!1,selectionMode:T,selectRowLabel:V,selectAllLabel:Z="Select all rows",colorScheme:W=xe.Light})=>{g.registerAgGridModulesOnce();const[v,J]=o.useState(),ne=g.useIsMobileScreen(),se=g.useIsTabletScreen(),G=o.useRef(new Set),A=o.useRef(void 0),M=`dial-kit-grid-selection-${o.useId()}`,O=o.useRef({getRowId:f,getContextMenuItems:r,onSelectionChange:x,selectRowLabel:V,wrapCustomCellRenderers:l});O.current={getRowId:f,getContextMenuItems:r,onSelectionChange:x,selectRowLabel:V,wrapCustomCellRenderers:l};const B=o.useCallback(c=>{const b=O.current.getRowId;return b?b(c):String(c.id??JSON.stringify(c))},[]),E=!!r,K=!!l,ve=o.useMemo(()=>g.themeBalham.withPart(W===xe.Dark?g.colorSchemeDark:g.colorSchemeLight).withParams({...fe,browserColorScheme:W,oddRowBackgroundColor:I?fe.oddRowBackgroundColor:fe.backgroundColor,wrapperBorder:j}),[I,W,j]),le=o.useCallback(c=>{c.api.sizeColumnsToFit()},[]),U=ne||se||(m?.size??0)>0,P=o.useCallback(c=>!!c&&!!u?.has(B(c)),[u,B]),F=o.useCallback((c,b,R)=>E?t.jsx(ct,{trigger:[g.DropdownTrigger.ContextMenu],items:c.data?O.current.getContextMenuItems?.(c.data)??[]:[],anchorToMouse:!0,matchReferenceWidth:!0,className:h.mergeClasses("size-full",R&&"cursor-not-allowed opacity-75"),disabled:R&&!Y,children:t.jsx("span",{className:"block min-w-0 max-w-full flex-1",children:b})}):b,[E,Y]),re=o.useCallback(c=>{if(!c.data)return null;const b=P(c.data);return F(c,t.jsx(Ne,{text:c.value==null?"":String(c.value),className:"max-w-full dial-small-text text-primary",hideTooltip:b}),b)},[P,F]),Q=o.useCallback(c=>c===z.API||c===z.ROW_DATA_CHANGED,[]),Ee=o.useMemo(()=>g.debounceFn(c=>{const R=(c.selectedNodes??[]).map(Ve=>Ve.data),$=new Set(R.map(B));G.current=$,A.current=c.source,!Q(c.source)&&O.current.onSelectionChange?.($,R)},cn),[Q,B]),oe=o.useMemo(()=>{if(T)return{...an,colId:pt,headerName:"",headerClass:tn,cellClass:en,headerComponent:T===g.GridSelectionMode.MULTIPLE?on:void 0,headerComponentParams:{label:Z},cellRenderer:c=>{if(!c.data)return null;const b=B(c.data);return t.jsx(rn,{params:c,mode:T,rowId:b,radioName:M,label:O.current.selectRowLabel?.(c.data)??"Select row",disabled:u?.has(b)})}}},[T,Z,B,u,M]),ce=o.useCallback(c=>{if(!c.cellRenderer)return{...c,cellRenderer:re};const b=O.current.wrapCustomCellRenderers;if(!(typeof b=="function"?b(c):!!b))return c;const $=c.cellRenderer;return{...c,cellRenderer:de=>{const gt=P(de.data),Ge=typeof $=="function"?$:void 0,ht=Ge?t.jsx(Ge,{...de}):re(de);return F(de,ht,gt)}}},[P,re,F]),ye=o.useMemo(()=>{const c=K?(e??[]).map(ce):e??[];return oe?[oe,...c]:c},[e,K,ce,oe]),{defaultColDef:q,rowSelection:ee,...ke}=n??{},Te=o.useMemo(()=>({minWidth:ln,resizable:!0,sortable:!0,floatingFilter:!0,filter:"agTextColumnFilter",filterParams:{filterPlaceholder:y,buttons:["reset"]},comparator:g.baseColumnComparator,...g.omitUndefined(q)}),[y,q]),ie=c=>{c.api.sizeColumnsToFit(),J(c.api),n?.onGridReady?.(c),S?.(c.api)};o.useEffect(()=>{v&&s&&v.setGridOption("rowData",s)},[v,s]);const Ae=o.useCallback(()=>t.jsx(dt,{live:!0,title:L,description:k,icon:_??t.jsx(X.IconZoomCancel,{size:100,stroke:.5,"aria-hidden":"true"})}),[L,k,_]),ue=typeof ee=="object"?ee:void 0,a=o.useMemo(()=>T?{isRowSelectable:c=>!P(c.data),...ue,mode:T===g.GridSelectionMode.SINGLE?"singleRow":"multiRow",checkboxes:!1,headerCheckbox:!1}:ee,[ee,ue,P,T]);o.useEffect(()=>{v&&s&&G.current.size&&G.current.forEach(c=>{const b=v.getRowNode(c);b&&!b.isSelected()&&b.setSelected(!0,!1,z.API)})},[v,s]),o.useEffect(()=>{v&&m&&(v.deselectAll("all",z.API),m.forEach(c=>{const b=v.getRowNode(c);b&&!b.isSelected()&&b.setSelected(!0,!1,z.API)}))},[v,m]);const N=o.useCallback(c=>c.data?B(c.data):"",[B]);return o.useEffect(()=>{const c=Q(A.current);if(v&&m?.size&&c){const b=Array.from(m)[0];if(b){const R=v.getRowNode(b);R&&v.ensureNodeVisible(R)}}},[v,Q,m]),t.jsx("div",{className:h.mergeClasses(mt,"size-full",T&&Jt,T&&U&&nn,H&&Qt,i),role:"region","aria-label":d,"aria-busy":w,children:t.jsx("div",{className:"h-full overflow-x-auto",children:t.jsx(g.AgGridReact,{rowModelType:"clientSide",headerHeight:Le,rowHeight:Le,cellSelection:!1,theme:ve,autoSizeStrategy:{type:"fitGridWidth"},columnDefs:ye,defaultColDef:Te,onGridSizeChanged:le,onGridReady:ie,loading:w,suppressCellFocus:!0,suppressDragLeaveHidesColumns:!0,noRowsOverlayComponent:Ae,rowData:s,rowSelection:a,onSelectionChanged:Ee,getRowId:N,...ke})})})},dn=({value:e,locale:s=ft,options:n=Ct,emptyPlaceholder:r,className:i,hideTooltip:d=!1})=>{const l=g.convertToDate(e),u=o.useMemo(()=>l?new Intl.DateTimeFormat(s,n).format(l):r,[l,r,s,n]),m=l?l.toISOString():void 0;return t.jsx(Ne,{text:m?t.jsx("time",{dateTime:m,children:u}):t.jsx("span",{children:u}),className:h.mergeClasses("dial-small-text text-primary",i),hideTooltip:d})};exports.Checkbox=Be;exports.CheckboxBox=He;exports.CloseButton=at;exports.DEFAULT_DATE_FORMAT_OPTIONS=Ct;exports.DEFAULT_LOCALE=ft;exports.DangerIconButton=Pt;exports.DateCellRenderer=dn;exports.Dropdown=ct;exports.EllipsisTooltip=Ne;exports.GRID_ALIGN_RIGHT_CLASS=sn;exports.GRID_ROOT_CLASS=mt;exports.GRID_SELECTION_COLUMN_ID=pt;exports.GRID_THEME_PARAMS=fe;exports.GhostIconButton=ot;exports.Grid=un;exports.GridColorScheme=xe;exports.IconButton=Ie;exports.InfoButton=Je;exports.InteractiveTooltip=pe;exports.InteractiveTooltipTrigger=Ce;exports.Label=je;exports.MenuItem=ge;exports.MenuItemMark=D;exports.NeutralIconButton=Gt;exports.NoDataContent=dt;exports.PrimaryIconButton=Vt;exports.ROW_HEIGHT=Le;exports.Radio=ut;exports.StaticIconButton=zt;exports.SvgNoData=it;exports.Tooltip=qe;exports.TooltipContainer=we;exports.TooltipContent=Re;exports.TooltipPlacement=Se;exports.TooltipTrigger=De;exports.getButtonClassNames=Ye;exports.getDisabledButtonProps=Xe;exports.overlayGap=st;exports.overlayItemClassName=tt;exports.overlayListClassName=Oe;exports.overlaySubMenuListClassName=et;exports.overlaySurfaceClassName=Me;
@@ -1 +0,0 @@
1
- "use strict";const u=require("react/jsx-runtime"),n=require("@floating-ui/react"),c=require("react"),x=require("classnames"),F=require("./merge-classes-BEJXjzkx.cjs");var l=(e=>(e.Primary="primary",e.Neutral="neutral",e.Danger="danger",e.Static="static",e.Starter="starter",e.Success="success",e.Secondary="secondary",e.Tertiary="tertiary",e))(l||{}),r=(e=>(e.Solid="solid",e.Outlined="outlined",e.Ghost="ghost",e.Link="link",e))(r||{});const v={[l.Primary]:{[r.Solid]:"dial-primary-solid-button",[r.Ghost]:"dial-primary-ghost-button",[r.Link]:"dial-primary-link-button"},[l.Neutral]:{[r.Outlined]:"dial-neutral-outlined-button"},[l.Danger]:{[r.Solid]:"dial-danger-solid-button",[r.Ghost]:"dial-danger-ghost-button",[r.Outlined]:"dial-danger-outlined-button"},[l.Success]:{[r.Ghost]:"dial-success-ghost-button"},[l.Secondary]:{[r.Ghost]:"dial-secondary-ghost-button"},[l.Tertiary]:{[r.Ghost]:"dial-tertiary-ghost-button"},[l.Static]:{},[l.Starter]:{}},S=(e=l.Primary,o=r.Solid)=>{const t=v[e]?.[o];return t||(console.warn(`Could not find Button styles for variant: ${e} and appearance: ${o}. Using default primary solid button styles.`),v[l.Primary][r.Solid])};var h=(e=>(e.Small="small",e.Standard="standard",e.Large="large",e))(h||{});const I=7,A=2,C=c.createContext(null),N=()=>{const e=c.useContext(C);if(e==null)throw new Error("Tooltip components must be wrapped in <Tooltip />");return e},q=({initialOpen:e=!1,placement:o="bottom",isTriggerClickable:t=!1,open:s,onOpenChange:a}={})=>{const[i,p]=c.useState(e),g=c.useRef(null),m=s??i,d=a??p,f=n.useFloating({placement:o,open:m,onOpenChange:d,whileElementsMounted:n.autoUpdate,middleware:[n.offset(I+A),n.flip({crossAxis:o.includes("-"),fallbackAxisSideDirection:"start",padding:5}),n.shift({padding:5}),n.arrow({element:g})]}),M=n.useHover(f.context,{move:!1,enabled:s==null,mouseOnly:t,delay:{open:500,close:0}}),k=n.useFocus(f.context,{enabled:s==null}),P=n.useDismiss(f.context),G=n.useRole(f.context,{role:"tooltip"}),b=n.useInteractions([M,k,P,G]);return c.useEffect(()=>{if(!m)return;const y=f.refs.reference.current;if(!(y instanceof Element))return;const w=new IntersectionObserver(([L])=>{L.isIntersecting||d(!1)},{root:null,threshold:0});return w.observe(y),()=>w.disconnect()},[m,f.refs.reference,d]),c.useMemo(()=>({open:m,setOpen:d,arrowRef:g,...b,...f}),[m,d,b,f])},R=({children:e,...o})=>{const t=q(o);return u.jsx(C.Provider,{value:t,children:e})},T="(hover: none)",_=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia(T).matches,D=()=>{const[e,o]=c.useState(()=>!_());return c.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const t=window.matchMedia(T);if(o(!t.matches),typeof t.addEventListener!="function")return;const s=a=>o(!a.matches);return t.addEventListener("change",s),()=>t.removeEventListener("change",s)},[]),e},E=({style:e,...o})=>{const t=N(),s=D(),a=c.useRef(null),i=n.useMergeRefs([t.refs.setFloating,a]);return!t.open||!s?null:u.jsx(n.FloatingPortal,{id:"tooltip-portal",children:u.jsxs("div",{ref:i,style:{...t.floatingStyles,...e},...t.getFloatingProps(o),className:x("z-tooltip whitespace-pre-wrap break-words rounded border border-primary bg-layer-0 px-2 py-1 dial-tiny-text shadow max-w-[300px]",t.getFloatingProps(o).className),children:[o.children,u.jsx(n.FloatingArrow,{ref:t.arrowRef,context:t.context,fill:"currentColor",strokeWidth:1,className:"stroke-primary text-[var(--bg-layer-0,_#000000)]"})]})})},H=({children:e,asChild:o=!1,...t})=>{const s=N(),a=o&&c.isValidElement(e),i=a?e.props?.ref:null,p=n.useMergeRefs([s.refs.setReference,...i?[i]:[]]);return a?c.cloneElement(e,s.getReferenceProps({...e.props,...t,ref:p})):u.jsx("span",{ref:p,...s.getReferenceProps(t),className:t.className??"dial-tooltip-trigger text-start",children:e})},j=({hideTooltip:e,tooltip:o,children:t,triggerClassName:s,contentClassName:a,...i})=>u.jsxs(R,{...i,children:[u.jsx(H,{className:x(s,"truncate"),children:t}),u.jsx(E,{className:x("text-primary",a,"max-w-[300px]",(e||!o)&&"hidden"),children:o})]}),O=(...e)=>e.find(o=>typeof o=="string"&&o.length>0),U=({variant:e,appearance:o=r.Solid,size:t=h.Standard,className:s,icon:a,tooltipProps:i,type:p="button",...g})=>{const m=F.mergeClasses(e&&S(e,o),t===h.Small?"h-[24px] w-[24px]":"h-[40px] w-[40px] dial-kit-enhanced-target","dial-icon-button disabled:cursor-not-allowed focus-visible:outline focus-visible:outline-focus outline-offset-0 disabled:text-controls-secondary-disable",s),d=u.jsx("button",{...g,type:p,className:m,"aria-label":O(g["aria-label"],i?.tooltip),children:a});return i?u.jsx(j,{...i,children:d}):d};exports.ButtonAppearance=r;exports.ButtonVariant=l;exports.DialIconButton=U;exports.DialTooltip=j;exports.DialTooltipContainer=R;exports.DialTooltipContent=E;exports.DialTooltipTrigger=H;exports.ElementSize=h;exports.getButtonClassNames=S;exports.resolveAccessibleName=O;exports.useHasHover=D;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),a=require("./lazy-_W6FYhKg.cjs"),c=require("@monaco-editor/react");function g(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const f=g(c),b={[a.EditorThemes.dark]:{base:"vs-dark",inherit:!1,rules:[{token:"string.key.json",foreground:"#37BABC"},{token:"string.value.json",foreground:"#5C8DEA"},{token:"number",foreground:"#D97C27"},{token:"keyword.json",foreground:"#F4CE46"},{token:"delimiter",foreground:"#EEF1F7"},{token:"delimiter.bracket.json",foreground:"#A972FF"},{token:"delimiter.parenthesis",foreground:"#A972FF"}],colors:{"editor.foreground":"#F76464","editor.background":"#161B2D","editorCursor.foreground":"#EEF1F7","editor.selectionBackground":"#5C8DEA2B","editorLineNumber.foreground":"#242C42","scrollbarSlider.background":"#242C42","scrollbarSlider.hoverBackground":"#242C42","scrollbarSlider.activeBackground":"#242C42"}},[a.EditorThemes.light]:{base:"vs",inherit:!1,rules:[{token:"string.key.json",foreground:"#009D9F"},{token:"string.value.json",foreground:"#2764D9"},{token:"number",foreground:"#B25500"},{token:"keyword.json",foreground:"#3F3D25"},{token:"delimiter",foreground:"#161B2D"},{token:"delimiter.bracket.json",foreground:"#7E39EC"},{token:"delimiter.parenthesis",foreground:"#7E39EC"}],colors:{"editor.foreground":"#AE2F2F","editor.background":"#EEF1F7","editorCursor.foreground":"#161B2D","editor.selectionBackground":"#5C8DEA2B","editorLineNumber.foreground":"#242C42","scrollbarSlider.background":"#242C42","scrollbarSlider.hoverBackground":"#242C42","scrollbarSlider.activeBackground":"#242C42"}}},k=({value:e,onChange:o,onValidateJSON:r,options:t,currentTheme:n,themesConfig:s=b})=>{function d(i){i?.editor?.defineTheme(n,s[n]),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:[{uri:"http://custom-schema/object-required.json",fileMatch:["*"],schema:{type:"object",description:"Top-level value must be an object",additionalProperties:!0}}]})}const{Editor:l}=f;return u.jsx(l,{beforeMount:d,height:"100%",defaultLanguage:"json",value:e,onChange:o,theme:n,onValidate:r,options:{minimap:{enabled:!1},formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!1,automaticLayout:!0,scrollBeyondLastLine:!1,wordWrap:"on",smoothScrolling:!0,overviewRulerLanes:0,scrollbar:{horizontal:"hidden",verticalScrollbarSize:4,verticalSliderSize:4},...t??{}}})};exports.DialJsonEditor=k;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("react"),O=require("@uiw/react-md-editor"),_=require("./lazy-_W6FYhKg.cjs"),k=require("./merge-classes-BEJXjzkx.cjs"),o=require("@tabler/icons-react"),p=require("./icon-DhjrDQ8I.cjs"),f=require("./icon-CrGVkVpG.cjs");function E(n){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const r in n)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(i,r,c.get?c:{enumerable:!0,get:()=>n[r]})}}return i.default=n,Object.freeze(i)}const h=E(O),L=f.DIAL_ICON_SIZE.SM,t={size:L,stroke:p.DIAL_KIT_ICON_STROKE},s=(n,i)=>({...n,icon:i}),M=()=>{const{bold:n,code:i,divider:r,group:c,heading1:a,heading2:d,heading3:u,italic:l,link:m,orderedListCommand:I,quote:g,strikethrough:x,table:j,unorderedListCommand:C}=h;return[s(n,e.jsx(o.IconBold,{...t})),s(l,e.jsx(o.IconItalic,{...t})),s(x,e.jsx(o.IconStrikethrough,{...t})),r,c([a,d,u],{name:"heading",groupName:"heading",icon:e.jsx(o.IconTextSize,{...t}),buttonProps:{"aria-label":"Text style",title:"Text style"}}),r,s(C,e.jsx(o.IconList,{...t})),s(I,e.jsx(o.IconListNumbers,{...t})),r,s(g,e.jsx(o.IconQuote,{...t})),s(m,e.jsx(o.IconLink,{...t})),s(i,e.jsx(o.IconCode,{...t})),r,s(j,e.jsx(o.IconTable,{...t}))]},S=()=>{const{codeEdit:n,codeLive:i,codePreview:r,divider:c,fullscreen:a}=h;return[s(n,e.jsx(o.IconPencil,{...t})),s(i,e.jsx(o.IconLayoutColumns,{...t})),s(r,e.jsx(o.IconEye,{...t})),c,s(a,e.jsx(o.IconMaximize,{...t}))]},T=({value:n,onChange:i,height:r=300,theme:c=_.EditorThemes.light,className:a,placeholder:d,defaultPreview:u="edit",id:l,ariaLabel:m,showDragbar:I=!0})=>{const g=b.useMemo(()=>M(),[]),x=b.useMemo(()=>S(),[]);return e.jsx("div",{"data-color-mode":c,className:k.mergeClasses("dial-kit-markdown-editor",a),children:e.jsx(O,{value:n,onChange:j=>i?.(j||""),height:r,preview:u,visibleDragbar:I,commands:g,extraCommands:x,textareaProps:{placeholder:d,id:l,"aria-label":m}})})};exports.MarkdownEditor=T;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("@uiw/react-md-editor"),u=require("./lazy-_W6FYhKg.cjs"),x=require("./merge-classes-BEJXjzkx.cjs"),g=({value:r,onChange:s,height:o=300,preview:i="edit",theme:a=u.EditorThemes.dark,className:n,placeholder:t,showDragbar:d=!0})=>{const l=t!==void 0&&!r;return e.jsxs("div",{"data-color-mode":a,className:x.mergeClasses("relative",n),children:[e.jsx(m,{value:r,onChange:c=>s?.(c||""),height:o,preview:i,visibleDragbar:d}),l&&e.jsx("div",{className:"pointer-events-none absolute left-0 top-8 px-2 dial-small-text text-secondary opacity-40",children:t})]})};exports.DialMarkdownEditor=g;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),m=require("./Switch-DE6MrcqJ.cjs"),N=require("./lazy-_W6FYhKg.cjs"),b=require("./MarkdownEditor-Bapd1ycU.cjs"),g=({value:r,onChangeValue:l,label:i,headerContent:a,switcherLabel:d,height:c=300,theme:u=N.EditorThemes.dark,onValidateJSON:x,preview:j="edit",showDragbar:w=!0})=>{const C=n.useId(),[t,p]=n.useState(!1),[f,S]=n.useState(null);n.useEffect(()=>{t&&typeof window<"u"&&Promise.resolve().then(()=>require("./JsonEditor-Bxui5wJH.cjs")).then(s=>{S(()=>s.DialJsonEditor)})},[t]);const h=n.useCallback(s=>{l?.(s)},[l]),E=n.useCallback(s=>{x?.(s)},[x]),o=!!d;return e.jsx("div",{className:"size-full flex flex-col",children:e.jsx("div",{className:"flex flex-col gap-8",children:e.jsxs("div",{children:[(i||a||o)&&e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[i&&e.jsx(m.DialLabel,{label:i}),e.jsxs("div",{className:"flex items-center gap-2 flex-1 justify-end",children:[a,o&&e.jsx("label",{className:"flex items-center gap-2 cursor-pointer",children:e.jsx(m.DialSwitch,{isOn:t,label:d,switchId:C,onChange:s=>p(s)})})]})]}),o&&t?e.jsx("div",{className:"border border-primary rounded",style:{height:`${c}px`},children:f&&e.jsx(f,{value:r,onChange:h,onValidateJSON:E,currentTheme:u})}):e.jsx(b.DialMarkdownEditor,{value:r,onChange:h,height:c,preview:j,showDragbar:w,theme:u})]})})})};exports.DialMarkdownEditorContainer=g;
@@ -1 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("./merge-classes-BEJXjzkx.cjs"),d=require("@tabler/icons-react"),i=require("./IconButton-DHOFapLo.cjs"),f=require("./icon-CrGVkVpG.cjs"),l=require("classnames"),h=require("react"),y="w-[24px] h-[24px] border border-solid rounded-[6px] border-transparent flex items-center justify-center text-secondary hover:text-controls-accent-primary-hover active:text-controls-accent-primary-active",o=({caption:t,onClick:a})=>{if(!t)return null;const s=e.jsx(i.DialIconButton,{"aria-label":t,className:y,icon:e.jsx(d.IconInfoCircle,{size:f.DIAL_ICON_SIZE.SM}),onClick:a});return t?e.jsx(i.DialTooltip,{tooltip:t,triggerClassName:"flex justify-center items-center",children:s}):s},j=({label:t,required:a,className:s,caption:r,...n})=>t?e.jsxs("label",{...n,className:p.mergeClasses("dial-tiny-text text-secondary flex items-center gap-1",s),children:[typeof t=="string"?e.jsx("span",{className:"min-h-4",children:t}):t,a&&e.jsx("span",{className:"text-accent-primary",children:"*"}),e.jsx(o,{caption:r})]}):null,N=({label:t,switchId:a,isOn:s=!1,disabled:r,onChange:n,caption:c})=>{const x=l("flex shrink-0 w-[36px] h-[18px] cursor-pointer items-center gap-1 rounded-full p-0.5 transition-all duration-200",s?"flex-row-reverse":"flex-row",r?"pointer-events-none":"",r?s?"bg-controls-disable":"bg-layer-4":s?"bg-accent-primary":"bg-layer-4"),m=h.useCallback(u=>{u.stopPropagation(),n?.(!s)},[n,s]);return e.jsxs("div",{className:"flex flex-row items-start",role:"switch",children:[e.jsx("input",{type:"checkbox",onChange:m,id:a,disabled:r,className:"invisible size-0",checked:s}),e.jsx("label",{htmlFor:a,className:x,"aria-describedby":c&&"caption",children:e.jsx("span",{className:l("size-3 rounded-full",r?"bg-controls-disable-accent":"bg-controls-enable-primary")})}),(t||c)&&e.jsxs("div",{className:"flex flex-col gap-1 ml-2",children:[t&&e.jsx("span",{className:l("dial-small-text py-[1px]",r?"text-secondary":"text-primary"),"aria-label":"switch-title",children:t}),c&&e.jsx("span",{id:"caption",className:"dial-tiny-text text-secondary",children:c})]})]})};exports.DialInfoButton=o;exports.DialLabel=j;exports.DialSwitch=N;
@@ -1,6 +0,0 @@
1
- import * as e from "./__vite-browser-external.js";
2
- import { getAugmentedNamespace as r } from "./_commonjsHelpers.js";
3
- const o = /* @__PURE__ */ r(e);
4
- export {
5
- o as default
6
- };
@@ -1,4 +0,0 @@
1
- const e = {};
2
- export {
3
- e as default
4
- };
@@ -1,4 +0,0 @@
1
- var e = {};
2
- export {
3
- e as __exports
4
- };