@daisforge/ui 1.10.3 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (751) hide show
  1. package/chunks/{AnalyticalWidget-C7Eg_BvO.mjs → AnalyticalWidget-Ca_EuSTO.mjs} +1 -1
  2. package/chunks/{AnalyticalWidget-B7ClAsdR.cjs → AnalyticalWidget-xgvWcsXx.cjs} +1 -1
  3. package/chunks/{ApprovalCenter-DF3QvU-j.mjs → ApprovalCenter-4aJlJfei.mjs} +2 -2
  4. package/chunks/{ApprovalCenter-BBO6xzlj.cjs → ApprovalCenter-Ij5NMkY-.cjs} +1 -1
  5. package/chunks/{BlockTitle-C-S68hGO.mjs → BlockTitle-CgXVHok6.mjs} +2 -2
  6. package/chunks/{BlockTitle-B9kddQoH.cjs → BlockTitle-SaP9H2PI.cjs} +1 -1
  7. package/chunks/{Container-FDjGjCwM.cjs → Container-ChuCs63G.cjs} +1 -1
  8. package/chunks/{Container-MnZxUYkx.mjs → Container-D8RdjkGo.mjs} +1 -1
  9. package/chunks/{EmptyState-B4btmmsT.cjs → EmptyState-BxUh2dhY.cjs} +1 -1
  10. package/chunks/{EmptyState-Dt-0Lcpf.mjs → EmptyState-C0aHgxrn.mjs} +1 -1
  11. package/chunks/{FiltersActions-B5itGUXL.cjs → FiltersActions-BekNxF-h.cjs} +1 -1
  12. package/chunks/{FiltersActions-B8qHj-O3.mjs → FiltersActions-CSucE-Ql.mjs} +4 -4
  13. package/chunks/FormDatePickers-BCyW24Pr.cjs +1 -0
  14. package/chunks/{FormDatePickers-BClwflaz.mjs → FormDatePickers-DfdGdbwP.mjs} +205 -202
  15. package/chunks/{FormSegmentGroup-BlE9ahgH.cjs → FormSegmentGroup-BKuHtPEn.cjs} +1 -1
  16. package/chunks/{FormSegmentGroup-CLpUa9ZF.mjs → FormSegmentGroup-DqFMVBr0.mjs} +24 -24
  17. package/chunks/{FormTextArea-BNLRTeXN.mjs → FormTextArea-CCrYx4pL.mjs} +63 -64
  18. package/chunks/FormTextArea-sly1mY7h.cjs +1 -0
  19. package/chunks/{GridDND-DCBTab4L.mjs → GridDND-Bycwiynh.mjs} +151 -147
  20. package/chunks/GridDND-MsZt1fXJ.cjs +1 -0
  21. package/chunks/{LeftPanel-DrfExsdt.mjs → LeftPanel-C72uosX_.mjs} +1 -1
  22. package/chunks/{LeftPanel-Bio5yorL.cjs → LeftPanel-Di-IqpZ_.cjs} +1 -1
  23. package/chunks/{ListOfFilters-Bub8eS7H.cjs → ListOfFilters-B3bM1n4w.cjs} +1 -1
  24. package/chunks/{ListOfFilters-CQMba-A5.mjs → ListOfFilters-CPJGgMMc.mjs} +3 -3
  25. package/chunks/{MassActions-BUQnJNLt.cjs → MassActions-BbAXi3z9.cjs} +1 -1
  26. package/chunks/{MassActions-D3pcqOuK.mjs → MassActions-CZm8vqj8.mjs} +3 -3
  27. package/chunks/{PageTitle-BKByYCPS.cjs → PageTitle-DEsijnDg.cjs} +1 -1
  28. package/chunks/{PageTitle-CDzW4L5v.mjs → PageTitle-TusD1S2c.mjs} +2 -2
  29. package/chunks/{SplitView-CXHc8Kth.cjs → SplitView-BHdftJ9A.cjs} +1 -1
  30. package/chunks/{SplitView-Djf6REPV.mjs → SplitView-Cd-xkxCe.mjs} +1 -1
  31. package/chunks/Stories-CR_EUNO7.mjs +1018 -0
  32. package/chunks/Stories-CxsYx2OE.cjs +1 -0
  33. package/chunks/{Table-CNzEc_EO.cjs → Table--05ONCr1.cjs} +1 -1
  34. package/chunks/{Table-DTb3FpsK.mjs → Table-l-P3NNUN.mjs} +6 -6
  35. package/chunks/{TableCanvas-BmR3qLnY.cjs → TableCanvas-D-sndY82.cjs} +2 -2
  36. package/chunks/{TableCanvas-CqJEwXwz.mjs → TableCanvas-D4Bck7wv.mjs} +17 -14
  37. package/chunks/{TableGlide-B0WCOgRq.mjs → TableGlide-B61Yi-Hs.mjs} +1069 -1048
  38. package/chunks/TableGlide-CbvaAM_H.cjs +1 -0
  39. package/chunks/{styles-BFPdR0Hr.mjs → styles-D8FDGdVz.mjs} +1 -1
  40. package/chunks/{styles-B2ZkJ8rO.cjs → styles-OR0WE1xm.cjs} +1 -1
  41. package/chunks/utils-BNelzuI-.mjs +548 -0
  42. package/chunks/utils-C93a2mD7.cjs +25 -0
  43. package/components/AiAgentPopover/AiAgentPopover.utils.d.ts +1 -1
  44. package/components/AiAgentPopover/index.cjs +1 -1
  45. package/components/AiAgentPopover/index.d.ts +1 -1
  46. package/components/AiAgentPopover/index.mjs +1 -1
  47. package/components/AnalyticalWidget/AnalyticalWidget.d.ts +2 -2
  48. package/components/AnalyticalWidget/components/AnalyticalWidgetButtons/index.d.ts +1 -1
  49. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  50. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  51. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/AnalyticalWidgetHeader.d.ts +1 -1
  52. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/AnalyticalWidgetTitle.d.ts +1 -1
  53. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  54. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  55. package/components/AnalyticalWidget/index.cjs +1 -1
  56. package/components/AnalyticalWidget/index.d.ts +1 -1
  57. package/components/AnalyticalWidget/index.mjs +1 -1
  58. package/components/ApprovalCenter/components/index.cjs +1 -1
  59. package/components/ApprovalCenter/components/index.mjs +1 -1
  60. package/components/ApprovalCenter/index.cjs +1 -1
  61. package/components/ApprovalCenter/index.d.ts +1 -1
  62. package/components/ApprovalCenter/index.mjs +1 -1
  63. package/components/AutocompleteSearch/index.cjs +1 -1
  64. package/components/AutocompleteSearch/index.mjs +2 -2
  65. package/components/BlockGradientScroll/index.cjs +1 -1
  66. package/components/BlockGradientScroll/index.d.ts +1 -1
  67. package/components/BlockGradientScroll/index.mjs +1 -1
  68. package/components/BlockTitle/BlockTitle.d.ts +1 -1
  69. package/components/BlockTitle/index.cjs +1 -1
  70. package/components/BlockTitle/index.mjs +1 -1
  71. package/components/BlockTitle/utils/index.cjs +1 -1
  72. package/components/BlockTitle/utils/index.mjs +1 -1
  73. package/components/Calendar/index.d.ts +2 -2
  74. package/components/Cell/index.d.ts +1 -1
  75. package/components/Collapse/Collapse.d.ts +1 -1
  76. package/components/Collapse/index.cjs +1 -1
  77. package/components/Collapse/index.mjs +1 -1
  78. package/components/Combobox/index.cjs +1 -1
  79. package/components/Combobox/index.mjs +1 -1
  80. package/components/DatePicker/DatePicker.types.d.ts +1 -1
  81. package/components/DatePicker/index.d.ts +1 -1
  82. package/components/DateTimePicker/index.d.ts +1 -1
  83. package/components/Drawer/index.d.ts +2 -2
  84. package/components/DrawerDF/components/CloseButton.d.ts +1 -1
  85. package/components/DrawerDF/index.cjs +1 -1
  86. package/components/DrawerDF/index.d.ts +1 -1
  87. package/components/DrawerDF/index.mjs +6 -6
  88. package/components/EmptyState/components/index.cjs +1 -1
  89. package/components/EmptyState/components/index.mjs +1 -1
  90. package/components/EmptyState/index.cjs +1 -1
  91. package/components/EmptyState/index.d.ts +1 -1
  92. package/components/EmptyState/index.mjs +1 -1
  93. package/components/Grid/index.d.ts +1 -1
  94. package/components/GridDND/GridDND.ItemWrapper.d.ts +1 -1
  95. package/components/GridDND/GridDND.d.ts +1 -1
  96. package/components/GridDND/GridDND.styled.d.ts +1 -0
  97. package/components/GridDND/index.cjs +1 -1
  98. package/components/GridDND/index.d.ts +1 -0
  99. package/components/GridDND/index.mjs +5 -4
  100. package/components/GridDND/utils/index.cjs +1 -1
  101. package/components/GridDND/utils/index.mjs +3 -3
  102. package/components/IconButton/IconButtonFilter/Circle.d.ts +1 -1
  103. package/components/IconButton/index.cjs +1 -1
  104. package/components/IconButton/index.d.ts +1 -1
  105. package/components/IconButton/index.mjs +1 -1
  106. package/components/IconSvgSprite/IconSvgSprite.d.ts +1 -1
  107. package/components/InformationWrapper/index.d.ts +1 -1
  108. package/components/LeftPanel/LeftPanel.d.ts +1 -1
  109. package/components/LeftPanel/components/index.cjs +1 -1
  110. package/components/LeftPanel/components/index.mjs +1 -1
  111. package/components/LeftPanel/hooks/index.cjs +1 -1
  112. package/components/LeftPanel/hooks/index.mjs +1 -1
  113. package/components/LeftPanel/hooks/useResize.d.ts +1 -1
  114. package/components/LeftPanel/index.cjs +1 -1
  115. package/components/LeftPanel/index.mjs +1 -1
  116. package/components/LeftPanel/utils/index.cjs +1 -1
  117. package/components/LeftPanel/utils/index.mjs +1 -1
  118. package/components/ListOfFilters/ChipOrGroup.d.ts +1 -1
  119. package/components/ListOfFilters/ListOfFilters.d.ts +1 -1
  120. package/components/ListOfFilters/index.cjs +1 -1
  121. package/components/ListOfFilters/index.mjs +1 -1
  122. package/components/ListOfFilters/useFiltersList.d.ts +1 -1
  123. package/components/MassActions/MassActions.d.ts +1 -1
  124. package/components/MassActions/MassActionsDropdown.d.ts +1 -1
  125. package/components/MassActions/hooks/index.cjs +1 -1
  126. package/components/MassActions/hooks/index.mjs +1 -1
  127. package/components/MassActions/hooks/useMassActionsButtons.d.ts +1 -1
  128. package/components/MassActions/hooks/useMassActionsCollapse.d.ts +1 -1
  129. package/components/MassActions/hooks/useMassActionsCompression.d.ts +1 -1
  130. package/components/MassActions/hooks/useMassActionsEffects.d.ts +1 -1
  131. package/components/MassActions/hooks/useMassActionsPosition.d.ts +1 -1
  132. package/components/MassActions/hooks/useMassActionsSidebar.d.ts +1 -1
  133. package/components/MassActions/index.cjs +1 -1
  134. package/components/MassActions/index.mjs +1 -1
  135. package/components/ModalDF/ctxs.d.ts +1 -1
  136. package/components/ModalDF/index.cjs +1 -1
  137. package/components/ModalDF/index.mjs +1 -1
  138. package/components/ModalDFConfirmation/index.d.ts +1 -1
  139. package/components/Notification/index.cjs +1 -1
  140. package/components/Notification/index.d.ts +1 -1
  141. package/components/Notification/index.mjs +2 -2
  142. package/components/Notification/utils/getClassName.d.ts +1 -1
  143. package/components/PageTitle/index.cjs +1 -1
  144. package/components/PageTitle/index.d.ts +1 -1
  145. package/components/PageTitle/index.mjs +1 -1
  146. package/components/PageTitle/utils/index.cjs +1 -1
  147. package/components/PageTitle/utils/index.mjs +1 -1
  148. package/components/Popover/index.d.ts +1 -1
  149. package/components/PopoverDF/index.cjs +1 -1
  150. package/components/PopoverDF/index.d.ts +1 -1
  151. package/components/PopoverDF/index.mjs +1 -1
  152. package/components/Popup/index.d.ts +2 -2
  153. package/components/PopupDF/index.cjs +1 -1
  154. package/components/PopupDF/index.d.ts +1 -1
  155. package/components/PopupDF/index.mjs +1 -1
  156. package/components/Segment/index.d.ts +1 -1
  157. package/components/Skeleton/index.d.ts +1 -1
  158. package/components/SplitView/components/SplitViewFullscreenWrapper.d.ts +1 -1
  159. package/components/SplitView/hooks/useIsClosingClosedOpening.d.ts +1 -1
  160. package/components/SplitView/hooks/useResize.d.ts +1 -1
  161. package/components/SplitView/hooks/useUpdateSidebarPxOnContainerResize.d.ts +1 -1
  162. package/components/SplitView/index.cjs +1 -1
  163. package/components/SplitView/index.d.ts +1 -1
  164. package/components/SplitView/index.mjs +1 -1
  165. package/components/SplitView/utils/index.cjs +1 -1
  166. package/components/SplitView/utils/index.mjs +1 -1
  167. package/components/Stories/Stories.constants.d.ts +47 -0
  168. package/components/Stories/Stories.d.ts +9 -0
  169. package/components/Stories/Stories.styled.d.ts +1 -0
  170. package/components/Stories/Stories.types.d.ts +96 -0
  171. package/components/Stories/components/StoriesBanner/StoriesBanner.d.ts +6 -0
  172. package/components/Stories/components/StoriesBanner/StoriesBanner.styled.d.ts +7 -0
  173. package/components/Stories/components/StoriesBanner/index.cjs +1 -0
  174. package/components/Stories/components/StoriesBanner/index.d.ts +2 -0
  175. package/components/Stories/components/StoriesBanner/index.mjs +4 -0
  176. package/components/Stories/components/StoriesContent/StoriesContent.d.ts +10 -0
  177. package/components/Stories/components/StoriesContent/StoriesContent.styled.d.ts +9 -0
  178. package/components/Stories/components/StoriesContent/index.cjs +1 -0
  179. package/components/Stories/components/StoriesContent/index.d.ts +2 -0
  180. package/components/Stories/components/StoriesContent/index.mjs +4 -0
  181. package/components/Stories/components/StoriesPreview/StoriesPreview.d.ts +3 -0
  182. package/components/Stories/components/StoriesPreview/StoriesPreview.styled.d.ts +21 -0
  183. package/components/Stories/components/StoriesPreview/StoriesPreview.types.d.ts +5 -0
  184. package/components/Stories/components/StoriesPreview/index.cjs +1 -0
  185. package/components/Stories/components/StoriesPreview/index.d.ts +2 -0
  186. package/components/Stories/components/StoriesPreview/index.mjs +4 -0
  187. package/components/Stories/components/StoriesProgress/StoriesProgress.d.ts +5 -0
  188. package/components/Stories/components/StoriesProgress/StoriesProgress.styled.d.ts +7 -0
  189. package/components/Stories/components/StoriesProgress/index.cjs +1 -0
  190. package/components/Stories/components/StoriesProgress/index.d.ts +2 -0
  191. package/components/Stories/components/StoriesProgress/index.mjs +4 -0
  192. package/components/Stories/components/StoriesViewer/StoriesViewTransitionStyle.d.ts +1 -0
  193. package/components/Stories/components/StoriesViewer/StoriesViewer.d.ts +2 -0
  194. package/components/Stories/components/StoriesViewer/StoriesViewer.lazy.d.ts +2 -0
  195. package/components/Stories/components/StoriesViewer/StoriesViewer.styled.d.ts +15 -0
  196. package/components/Stories/components/StoriesViewer/index.cjs +1 -0
  197. package/components/Stories/components/StoriesViewer/index.d.ts +2 -0
  198. package/components/Stories/components/StoriesViewer/index.mjs +5 -0
  199. package/components/Stories/hooks/useAssetPreloader.d.ts +3 -0
  200. package/components/Stories/hooks/useNavigation.d.ts +16 -0
  201. package/components/Stories/hooks/useTimeline.d.ts +12 -0
  202. package/components/Stories/index.cjs +1 -0
  203. package/components/Stories/index.d.ts +4 -0
  204. package/components/Stories/index.mjs +6 -0
  205. package/components/Stories/store/StoriesContext.d.ts +25 -0
  206. package/components/Stories/store/createStoriesStore.d.ts +13 -0
  207. package/components/Stories/store/useStoriesSnapshot.d.ts +3 -0
  208. package/components/Stories/store/viewTransition.d.ts +5 -0
  209. package/components/Table/Table.d.ts +1 -1
  210. package/components/Table/components/TableDropdown/index.cjs +1 -1
  211. package/components/Table/components/TableDropdown/index.d.ts +1 -1
  212. package/components/Table/components/TableDropdown/index.mjs +1 -1
  213. package/components/Table/contexts.d.ts +2 -2
  214. package/components/Table/feature-collapse-table/index.cjs +1 -1
  215. package/components/Table/feature-collapse-table/index.mjs +1 -1
  216. package/components/Table/feature-column-control/ChangeAllButtonsBlock.d.ts +1 -1
  217. package/components/Table/feature-column-control/ColumnsControlInner.d.ts +1 -1
  218. package/components/Table/feature-column-control/ColumnsList/ColumnsList.d.ts +1 -1
  219. package/components/Table/feature-column-control/ColumnsList/handlers.d.ts +2 -2
  220. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  221. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  222. package/components/Table/feature-column-control/ConfirmOrResetBlock.d.ts +1 -1
  223. package/components/Table/feature-column-control/dnd/DragButton.d.ts +1 -1
  224. package/components/Table/feature-column-control/dnd/useDragAndDrop.d.ts +1 -1
  225. package/components/Table/feature-column-control/index.cjs +1 -1
  226. package/components/Table/feature-column-control/index.mjs +1 -1
  227. package/components/Table/feature-column-control/useColumnsControl.d.ts +1 -1
  228. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  229. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  230. package/components/Table/feature-context-menu/index.cjs +1 -1
  231. package/components/Table/feature-context-menu/index.d.ts +1 -1
  232. package/components/Table/feature-context-menu/index.mjs +1 -1
  233. package/components/Table/feature-edit/index.cjs +1 -1
  234. package/components/Table/feature-edit/index.mjs +1 -1
  235. package/components/Table/feature-edit/selectEditor.d.ts +1 -1
  236. package/components/Table/feature-edit/textEditor.d.ts +2 -2
  237. package/components/Table/feature-filtering/combobox/combobox.d.ts +1 -1
  238. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  239. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  240. package/components/Table/feature-filtering/combobox/styled.d.ts +1937 -4
  241. package/components/Table/feature-filtering/filter-list-block/filter-list-block.d.ts +1 -1
  242. package/components/Table/feature-filtering/filter-list-block/get-chips-array.d.ts +1 -1
  243. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  244. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  245. package/components/Table/feature-filtering/header-filter-button/header-filter-button.d.ts +1 -1
  246. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  247. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  248. package/components/Table/feature-filtering/hooks/use-filter-management.d.ts +1 -1
  249. package/components/Table/feature-filtering/index.cjs +1 -1
  250. package/components/Table/feature-filtering/index.mjs +1 -1
  251. package/components/Table/feature-filtering/sidebar-filter-block/SidebarFilter.d.ts +1 -1
  252. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  253. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  254. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  255. package/components/Table/feature-infinity-scroll/index.d.ts +1 -1
  256. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  257. package/components/Table/feature-infinity-scroll/use-infinity-scroll.d.ts +1 -1
  258. package/components/Table/feature-infinity-scroll/use-stack.d.ts +1 -1
  259. package/components/Table/feature-key-text/constants.d.ts +1 -1
  260. package/components/Table/feature-key-text/handlers.d.ts +2 -2
  261. package/components/Table/feature-key-text/index.cjs +1 -1
  262. package/components/Table/feature-key-text/index.mjs +1 -1
  263. package/components/Table/feature-key-text/useColsWithKeyTextMap.d.ts +1 -1
  264. package/components/Table/feature-pagination/index.cjs +1 -1
  265. package/components/Table/feature-pagination/index.mjs +1 -1
  266. package/components/Table/feature-reorder-columns/handlers.d.ts +6 -6
  267. package/components/Table/feature-reorder-columns/reorderHandler.d.ts +1 -1
  268. package/components/Table/feature-reorder-columns/useReorderDragable.d.ts +1 -1
  269. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  270. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  271. package/components/Table/feature-right-sidebar/ui/SidebarTabs.d.ts +1 -1
  272. package/components/Table/feature-row-detail/ExpandDetailButton.d.ts +1 -1
  273. package/components/Table/feature-row-detail/ctx.d.ts +1 -1
  274. package/components/Table/feature-row-detail/handlers.d.ts +2 -2
  275. package/components/Table/feature-row-detail/index.cjs +1 -1
  276. package/components/Table/feature-row-detail/index.mjs +1 -1
  277. package/components/Table/feature-row-detail/useRowDetailPanel.d.ts +1 -1
  278. package/components/Table/feature-row-instruments/ctx.d.ts +1 -1
  279. package/components/Table/feature-row-instruments/index.cjs +1 -1
  280. package/components/Table/feature-row-instruments/index.mjs +1 -1
  281. package/components/Table/feature-row-instruments/row-instruments-columns.d.ts +1 -1
  282. package/components/Table/feature-row-size/index.cjs +1 -1
  283. package/components/Table/feature-row-size/index.mjs +1 -1
  284. package/components/Table/feature-rows-grouping/RowsGroupingRenderCell.d.ts +1 -1
  285. package/components/Table/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +1 -1
  286. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  287. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  288. package/components/Table/feature-rows-grouping/useGetRowsGroupingBtnProps.d.ts +1 -1
  289. package/components/Table/feature-rows-grouping/useGroupedRows.d.ts +1 -1
  290. package/components/Table/feature-searching/index.cjs +1 -1
  291. package/components/Table/feature-searching/index.mjs +1 -1
  292. package/components/Table/feature-select-row/index.cjs +1 -1
  293. package/components/Table/feature-select-row/index.mjs +1 -1
  294. package/components/Table/feature-select-row/summary-checkbox.d.ts +1 -1
  295. package/components/Table/feature-select-row/useSelectRow.d.ts +1 -1
  296. package/components/Table/feature-sorting/header-sort-button.d.ts +1 -1
  297. package/components/Table/feature-sorting/index.cjs +1 -1
  298. package/components/Table/feature-sorting/index.mjs +1 -1
  299. package/components/Table/feature-sorting/useSortedRows.d.ts +1 -1
  300. package/components/Table/feature-table-settings/index.cjs +1 -1
  301. package/components/Table/feature-table-settings/index.mjs +1 -1
  302. package/components/Table/feature-tree/cell-expand-formatter.d.ts +1 -1
  303. package/components/Table/feature-tree/chevron-tree-btn.d.ts +1 -1
  304. package/components/Table/feature-tree/index.cjs +1 -1
  305. package/components/Table/feature-tree/index.mjs +1 -1
  306. package/components/Table/index.cjs +1 -1
  307. package/components/Table/index.d.ts +3 -3
  308. package/components/Table/index.mjs +1 -1
  309. package/components/Table/renders/formatCell/index.cjs +1 -1
  310. package/components/Table/renders/formatCell/index.mjs +1 -1
  311. package/components/Table/renders/renderCell.d.ts +1 -1
  312. package/components/Table/renders/renderEditCell.d.ts +1 -1
  313. package/components/Table/resize-observer-context.d.ts +2 -2
  314. package/components/Table/styles/index.cjs +1 -1
  315. package/components/Table/styles/index.mjs +1 -1
  316. package/components/Table/table-hooks/index.cjs +1 -1
  317. package/components/Table/table-hooks/index.mjs +1 -1
  318. package/components/Table/table-hooks/useColumns.d.ts +1 -1
  319. package/components/Table/table-hooks/useContextMenuValues.d.ts +2 -2
  320. package/components/Table/table-hooks/useContextsValues.d.ts +1 -1
  321. package/components/Table/table-hooks/useFilteredRows.d.ts +1 -1
  322. package/components/Table/table-hooks/useFlattenedRows.d.ts +1 -1
  323. package/components/Table/table-hooks/useInlineStyle.d.ts +1 -1
  324. package/components/Table/table-hooks/useIsLoadingTable.d.ts +1 -1
  325. package/components/Table/table-hooks/useOnCellClick.d.ts +1 -1
  326. package/components/Table/table-hooks/useOnRowsChange.d.ts +1 -1
  327. package/components/Table/table-hooks/useOnScroll.d.ts +1 -1
  328. package/components/Table/table-hooks/usePrepareTableConfig.d.ts +1 -1
  329. package/components/Table/table-hooks/useRowClass.d.ts +1 -1
  330. package/components/Table/table-hooks/useRowHeight.d.ts +1 -1
  331. package/components/Table/table-hooks/useRowsWithSkeletonsOrNot.d.ts +1 -1
  332. package/components/Table/table-hooks/useSearchValues.d.ts +1 -1
  333. package/components/Table/table-hooks/useSidebarValues.d.ts +1 -1
  334. package/components/Table/table-hooks/useTableCollapseValues.d.ts +1 -1
  335. package/components/Table/types/column-config.type.d.ts +1 -1
  336. package/components/Table/types/index.cjs +1 -1
  337. package/components/Table/types/index.mjs +1 -1
  338. package/components/Table/utils/index.cjs +1 -1
  339. package/components/Table/utils/index.mjs +1 -1
  340. package/components/Table/widgets/control-block/ControlBlock.d.ts +1 -1
  341. package/components/Table/widgets/control-block/ControlBlock.lazy.d.ts +1 -1
  342. package/components/Table/widgets/control-block/ControlBlockWithoutResize.d.ts +1 -1
  343. package/components/Table/widgets/control-block/control-block-actions.d.ts +1 -1
  344. package/components/Table/widgets/control-block/index.cjs +1 -1
  345. package/components/Table/widgets/control-block/index.mjs +1 -1
  346. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  347. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  348. package/components/Table/widgets/control-block/right-side/right-side.d.ts +1 -1
  349. package/components/Table/widgets/control-block/use-feature-array.d.ts +1 -1
  350. package/components/Table/widgets/index.cjs +1 -1
  351. package/components/Table/widgets/index.mjs +1 -1
  352. package/components/Table/widgets/mass-actions/MassActions.d.ts +1 -1
  353. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  354. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  355. package/components/Table/widgets/table-or-card-UI.d.ts +1 -1
  356. package/components/TableCanvas/TableCanvas.d.ts +1 -1
  357. package/components/TableCanvas/TableGlideInstance/adapters/column/adaptColumn.d.ts +1 -1
  358. package/components/TableCanvas/TableGlideInstance/adapters/column/adaptRenderHeaderCell.d.ts +1 -1
  359. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  360. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  361. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  362. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  363. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  364. package/components/TableCanvas/TableGlideInstance/index.d.ts +2 -2
  365. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  366. package/components/TableCanvas/TableGlideInstance/reexports-for-external.d.ts +2 -2
  367. package/components/TableCanvas/TableGlideInstance/type.d.ts +2 -2
  368. package/components/TableCanvas/TableGlideInstance/utils/column/getColumnName.d.ts +1 -1
  369. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  370. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  371. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  372. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  373. package/components/TableCanvas/components/SplitIconButton/SplitIconButton.d.ts +1 -1
  374. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  375. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  376. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  377. package/components/TableCanvas/components/TableDropdown/index.d.ts +1 -1
  378. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  379. package/components/TableCanvas/contexts.d.ts +2 -2
  380. package/components/TableCanvas/feature-cell-transfer/hooks/useClipboard.d.ts +1 -1
  381. package/components/TableCanvas/feature-cell-transfer/hooks/useCopy.d.ts +1 -1
  382. package/components/TableCanvas/feature-cell-transfer/hooks/useFillHandle.d.ts +1 -1
  383. package/components/TableCanvas/feature-cell-transfer/hooks/usePaste.d.ts +1 -1
  384. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  385. package/components/TableCanvas/feature-cell-transfer/index.d.ts +4 -4
  386. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  387. package/components/TableCanvas/feature-cell-transfer/utils/applyValuesToRows.d.ts +1 -1
  388. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  389. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  390. package/components/TableCanvas/feature-column-control/ChangeAllButtonsBlock.d.ts +1 -1
  391. package/components/TableCanvas/feature-column-control/ColumnsControlInner.d.ts +1 -1
  392. package/components/TableCanvas/feature-column-control/ColumnsList/ColumnsList.d.ts +1 -1
  393. package/components/TableCanvas/feature-column-control/ColumnsList/handlers.d.ts +2 -2
  394. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  395. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  396. package/components/TableCanvas/feature-column-control/ConfirmOrResetBlock.d.ts +1 -1
  397. package/components/TableCanvas/feature-column-control/dnd/DragButton.d.ts +1 -1
  398. package/components/TableCanvas/feature-column-control/dnd/useDragAndDrop.d.ts +1 -1
  399. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  400. package/components/TableCanvas/feature-column-control/index.mjs +1 -1
  401. package/components/TableCanvas/feature-column-control/useColumnsControl.d.ts +1 -1
  402. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  403. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  404. package/components/TableCanvas/feature-content-state/TableContentStateOverlay.d.ts +1 -1
  405. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  406. package/components/TableCanvas/feature-content-state/index.d.ts +1 -1
  407. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  408. package/components/TableCanvas/feature-content-state/useContentStateOverlay.d.ts +1 -1
  409. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  410. package/components/TableCanvas/feature-context-menu/index.d.ts +1 -1
  411. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  412. package/components/TableCanvas/feature-context-menu/types.d.ts +1 -1
  413. package/components/TableCanvas/feature-edit/CellEditorCombobox.d.ts +1 -1
  414. package/components/TableCanvas/feature-edit/CellEditorNumberFormat.d.ts +1 -1
  415. package/components/TableCanvas/feature-edit/CellEditorTextArea.d.ts +1 -1
  416. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  417. package/components/TableCanvas/feature-edit/index.mjs +1 -1
  418. package/components/TableCanvas/feature-filtering/combobox/combobox.d.ts +1 -1
  419. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  420. package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
  421. package/components/TableCanvas/feature-filtering/combobox/styled.d.ts +1937 -4
  422. package/components/TableCanvas/feature-filtering/filter-list-block/filter-list-block.d.ts +1 -1
  423. package/components/TableCanvas/feature-filtering/filter-list-block/get-chips-array.d.ts +1 -1
  424. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  425. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  426. package/components/TableCanvas/feature-filtering/header-filter-button/header-filter-button.d.ts +1 -1
  427. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  428. package/components/TableCanvas/feature-filtering/header-filter-button/index.d.ts +1 -1
  429. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  430. package/components/TableCanvas/feature-filtering/hooks/use-filter-management.d.ts +1 -1
  431. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  432. package/components/TableCanvas/feature-filtering/index.mjs +1 -1
  433. package/components/TableCanvas/feature-filtering/sidebar-filter-block/SidebarFilter.d.ts +1 -1
  434. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  435. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  436. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  437. package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
  438. package/components/TableCanvas/feature-infinity-scroll/use-infinity-scroll.d.ts +1 -1
  439. package/components/TableCanvas/feature-infinity-scroll/use-stack.d.ts +1 -1
  440. package/components/TableCanvas/feature-key-text/constants.d.ts +1 -1
  441. package/components/TableCanvas/feature-key-text/handlers.d.ts +2 -2
  442. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  443. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  444. package/components/TableCanvas/feature-key-text/useColsWithKeyTextMap.d.ts +1 -1
  445. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  446. package/components/TableCanvas/feature-notifications/index.d.ts +1 -1
  447. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  448. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  449. package/components/TableCanvas/feature-pagination/index.mjs +1 -1
  450. package/components/TableCanvas/feature-popover-table/components/PopoverContainer.d.ts +1 -1
  451. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  452. package/components/TableCanvas/feature-popover-table/context/index.d.ts +1 -1
  453. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  454. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  455. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  456. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  457. package/components/TableCanvas/feature-popover-table/index.d.ts +1 -1
  458. package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
  459. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  460. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  461. package/components/TableCanvas/feature-reorder-columns/handlers.d.ts +6 -6
  462. package/components/TableCanvas/feature-reorder-columns/reorderHandler.d.ts +1 -1
  463. package/components/TableCanvas/feature-reorder-columns/useReorderDragable.d.ts +1 -1
  464. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  465. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  466. package/components/TableCanvas/feature-right-sidebar/ui/SidebarTabs.d.ts +1 -1
  467. package/components/TableCanvas/feature-row-detail/ExpandDetailButton.d.ts +1 -1
  468. package/components/TableCanvas/feature-row-detail/ExpandDetailButtonComponent.d.ts +1 -1
  469. package/components/TableCanvas/feature-row-detail/ctx.d.ts +1 -1
  470. package/components/TableCanvas/feature-row-detail/handlers.d.ts +2 -2
  471. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  472. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  473. package/components/TableCanvas/feature-row-detail/useRowDetailPanel.d.ts +1 -1
  474. package/components/TableCanvas/feature-row-instruments/ctx.d.ts +1 -1
  475. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  476. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  477. package/components/TableCanvas/feature-row-instruments/row-instruments-columns.d.ts +1 -1
  478. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  479. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  480. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  481. package/components/TableCanvas/feature-row-size/index.mjs +1 -1
  482. package/components/TableCanvas/feature-rows-grouping/RowsGroupingRenderCell.d.ts +1 -1
  483. package/components/TableCanvas/feature-rows-grouping/getColsAfterRowsGrouping.d.ts +1 -1
  484. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  485. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  486. package/components/TableCanvas/feature-rows-grouping/useGetRowsGroupingBtnProps.d.ts +1 -1
  487. package/components/TableCanvas/feature-rows-grouping/useGroupedRows.d.ts +1 -1
  488. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  489. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  490. package/components/TableCanvas/feature-select-row/checbox-column.d.ts +1 -1
  491. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  492. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  493. package/components/TableCanvas/feature-select-row/summary-checkbox.d.ts +2 -2
  494. package/components/TableCanvas/feature-select-row/useCheckboxRowIndexes.d.ts +1 -1
  495. package/components/TableCanvas/feature-select-row/useSelectRow.d.ts +1 -1
  496. package/components/TableCanvas/feature-sorting/header-sort-button.d.ts +1 -1
  497. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  498. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  499. package/components/TableCanvas/feature-sorting/useSortedRows.d.ts +1 -1
  500. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  501. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  502. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  503. package/components/TableCanvas/feature-tooltip/index.d.ts +2 -2
  504. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  505. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  506. package/components/TableCanvas/feature-tooltip/utils/index.d.ts +1 -1
  507. package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
  508. package/components/TableCanvas/feature-tree/cell-expand-formatter.d.ts +1 -1
  509. package/components/TableCanvas/feature-tree/chevron-tree-btn.d.ts +1 -1
  510. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  511. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  512. package/components/TableCanvas/index.cjs +1 -1
  513. package/components/TableCanvas/index.d.ts +6 -6
  514. package/components/TableCanvas/index.mjs +2 -2
  515. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  516. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  517. package/components/TableCanvas/renders/renderCellGlide.d.ts +1 -1
  518. package/components/TableCanvas/renders/renderEditCell.d.ts +1 -1
  519. package/components/TableCanvas/renders/withSelectIcon.d.ts +1 -1
  520. package/components/TableCanvas/resize-observer-context.d.ts +2 -2
  521. package/components/TableCanvas/styles/index.cjs +1 -1
  522. package/components/TableCanvas/styles/index.mjs +1 -1
  523. package/components/TableCanvas/styles/styles.constants.d.ts +1 -1
  524. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  525. package/components/TableCanvas/table-hooks/index.mjs +1 -1
  526. package/components/TableCanvas/table-hooks/useColumns.d.ts +1 -1
  527. package/components/TableCanvas/table-hooks/useContextMenuValues.d.ts +2 -2
  528. package/components/TableCanvas/table-hooks/useContextsValues.d.ts +1 -1
  529. package/components/TableCanvas/table-hooks/useFilteredRows.d.ts +1 -1
  530. package/components/TableCanvas/table-hooks/useFlattenedRows.d.ts +1 -1
  531. package/components/TableCanvas/table-hooks/useInlineStyle.d.ts +1 -1
  532. package/components/TableCanvas/table-hooks/useIsLoadingTable.d.ts +1 -1
  533. package/components/TableCanvas/table-hooks/useOnCellClick.d.ts +1 -1
  534. package/components/TableCanvas/table-hooks/useOnRowsChange.d.ts +1 -1
  535. package/components/TableCanvas/table-hooks/usePrepareTableConfig.d.ts +1 -1
  536. package/components/TableCanvas/table-hooks/useRowClass.d.ts +1 -1
  537. package/components/TableCanvas/table-hooks/useRowHeight.d.ts +1 -1
  538. package/components/TableCanvas/table-hooks/useRowsWithSkeletonsOrNot.d.ts +1 -1
  539. package/components/TableCanvas/table-hooks/useSearchValues.d.ts +1 -1
  540. package/components/TableCanvas/table-hooks/useSidebarValues.d.ts +1 -1
  541. package/components/TableCanvas/table-hooks/useTableCollapseValues.d.ts +1 -1
  542. package/components/TableCanvas/types/index.cjs +1 -1
  543. package/components/TableCanvas/types/index.mjs +1 -1
  544. package/components/TableCanvas/utils/index.cjs +1 -1
  545. package/components/TableCanvas/utils/index.mjs +2 -2
  546. package/components/TableCanvas/widgets/control-block/ControlBlock.d.ts +1 -1
  547. package/components/TableCanvas/widgets/control-block/ControlBlock.lazy.d.ts +1 -1
  548. package/components/TableCanvas/widgets/control-block/ControlBlockWithoutResize.d.ts +1 -1
  549. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  550. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  551. package/components/TableCanvas/widgets/control-block/compression/measure.d.ts +2 -2
  552. package/components/TableCanvas/widgets/control-block/control-block-actions.d.ts +1 -1
  553. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  554. package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
  555. package/components/TableCanvas/widgets/control-block/pinning-menu/PinningFeature.d.ts +1 -1
  556. package/components/TableCanvas/widgets/control-block/pinning-menu/pinning-actions.d.ts +1 -1
  557. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  558. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  559. package/components/TableCanvas/widgets/control-block/right-side/right-side.d.ts +1 -1
  560. package/components/TableCanvas/widgets/control-block/use-feature-array.d.ts +1 -1
  561. package/components/TableCanvas/widgets/filter-sort-header.d.ts +1 -1
  562. package/components/TableCanvas/widgets/index.cjs +1 -1
  563. package/components/TableCanvas/widgets/index.mjs +1 -1
  564. package/components/TableCanvas/widgets/mass-actions/MassActions.d.ts +1 -1
  565. package/components/TableCanvas/widgets/mass-actions/MassActionsDropdown.d.ts +1 -1
  566. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  567. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  568. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsButtons.d.ts +1 -1
  569. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCollapse.d.ts +1 -1
  570. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsCompression.d.ts +1 -1
  571. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsEffects.d.ts +1 -1
  572. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsPosition.d.ts +1 -1
  573. package/components/TableCanvas/widgets/mass-actions/hooks/useMassActionsSidebar.d.ts +1 -1
  574. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  575. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  576. package/components/TableCanvas/widgets/table-or-card-UI.d.ts +1 -1
  577. package/components/TableContract/TableContract.d.ts +1 -1
  578. package/components/TableContract/features/editing.d.ts +1 -1
  579. package/components/TableContract/features/filtering.d.ts +1 -1
  580. package/components/TableContract/features/pagination.d.ts +1 -1
  581. package/components/TableContract/features/searching.d.ts +1 -1
  582. package/components/TableContract/features/sorting.d.ts +1 -1
  583. package/components/TableContract/index.cjs +1 -1
  584. package/components/TableContract/index.mjs +2 -2
  585. package/components/TableContract/ui/AddRowsIconButtonWithPopover.d.ts +1 -1
  586. package/components/TableContract/ui/selectBooleanEditor.d.ts +1 -1
  587. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  588. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  589. package/components/TableGlide/index.cjs +1 -1
  590. package/components/TableGlide/index.mjs +1 -1
  591. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  592. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  593. package/components/TableGlide/lib/canvas/cells/buttons/types.d.ts +2 -0
  594. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  595. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  596. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  597. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  598. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  599. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  600. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  601. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  602. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  603. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  604. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  605. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  606. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  607. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  608. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  609. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  610. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  611. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  612. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  613. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  614. package/components/TableGlide/lib/canvas/utils/portalHoverEvents.d.ts +3 -1
  615. package/components/TableGlide/theming/index.cjs +1 -1
  616. package/components/TableGlide/theming/index.mjs +1 -1
  617. package/components/TableTabs/TableTabs.d.ts +1 -1
  618. package/components/TableTabs/index.cjs +1 -1
  619. package/components/TableTabs/index.d.ts +1 -1
  620. package/components/TableTabs/index.mjs +1 -1
  621. package/components/Tabs/index.d.ts +2 -2
  622. package/components/TextField/TextFieldSearch.d.ts +1938 -5
  623. package/components/TextField/index.cjs +1 -1
  624. package/components/TextField/index.mjs +51 -48
  625. package/components/Toast/index.d.ts +1 -1
  626. package/components/Tooltip/index.cjs +1 -1
  627. package/components/Tooltip/index.mjs +1 -1
  628. package/components/TourWidget/components/TourWidgetGradient.d.ts +1 -1
  629. package/components/TourWidget/index.cjs +1 -1
  630. package/components/TourWidget/index.d.ts +1 -1
  631. package/components/TourWidget/index.mjs +2 -2
  632. package/components/Typography/BaseComponents.d.ts +1 -1
  633. package/components/Typography/index.cjs +1 -1
  634. package/components/Typography/index.d.ts +1 -1
  635. package/components/Typography/index.mjs +1 -1
  636. package/components/Widget/index.cjs +1 -1
  637. package/components/Widget/index.mjs +2 -2
  638. package/formComponents/FormAutocomplete/FormAutocomplete.d.ts +1 -1
  639. package/formComponents/FormAutocomplete/index.cjs +1 -1
  640. package/formComponents/FormAutocomplete/index.mjs +40 -38
  641. package/formComponents/FormCombobox/index.cjs +1 -1
  642. package/formComponents/FormCombobox/index.mjs +29 -29
  643. package/formComponents/FormDatePickers/FormDatePicker/FormDatePicker.d.ts +1 -1
  644. package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
  645. package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
  646. package/formComponents/FormDatePickers/FormDatePickerRange/FormDatePickerRange.d.ts +1 -1
  647. package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
  648. package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
  649. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
  650. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
  651. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/validateRangeDate.d.ts +1 -1
  652. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/validateRequiredHo/321/201.d.ts +1 -1
  653. package/formComponents/FormDatePickers/index.cjs +1 -1
  654. package/formComponents/FormDatePickers/index.mjs +1 -1
  655. package/formComponents/FormDatePickers/lib/ui/RightIconButton.d.ts +1 -1
  656. package/formComponents/FormDatePickers/lib/utils/convertToISO.d.ts +1 -1
  657. package/formComponents/FormDatePickers/lib/utils/validateDate.d.ts +1 -1
  658. package/formComponents/FormMask/FormMask.d.ts +1 -1
  659. package/formComponents/FormMask/index.cjs +1 -1
  660. package/formComponents/FormMask/index.mjs +34 -32
  661. package/formComponents/FormNumberFormat/FormNumberFormat.d.ts +1 -1
  662. package/formComponents/FormNumberFormat/index.cjs +1 -1
  663. package/formComponents/FormNumberFormat/index.mjs +36 -34
  664. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  665. package/formComponents/FormRadioGroupBox/index.mjs +12 -12
  666. package/formComponents/FormSegments/SegmentControlled.d.ts +1 -1
  667. package/formComponents/FormSegments/index.cjs +1 -1
  668. package/formComponents/FormSegments/index.mjs +1 -1
  669. package/formComponents/FormSelect/index.cjs +1 -1
  670. package/formComponents/FormSelect/index.mjs +21 -21
  671. package/formComponents/FormSwitch/index.cjs +1 -1
  672. package/formComponents/FormSwitch/index.mjs +1 -1
  673. package/formComponents/FormTextArea/components/RightContent.d.ts +1 -1
  674. package/formComponents/FormTextArea/index.cjs +1 -1
  675. package/formComponents/FormTextArea/index.mjs +1 -1
  676. package/formComponents/FormTextArea/ui/index.cjs +1 -1
  677. package/formComponents/FormTextArea/ui/index.mjs +1 -1
  678. package/formComponents/FormTextField/index.cjs +1 -1
  679. package/formComponents/FormTextField/index.mjs +21 -21
  680. package/formComponents/utils/getPriorityRequired.d.ts +1 -1
  681. package/formComponents/utils/getRuleValue.d.ts +1 -1
  682. package/formComponents/utils/hasValidationRule.d.ts +1 -1
  683. package/index.cjs +1 -1
  684. package/index.d.ts +1 -0
  685. package/index.mjs +1583 -1576
  686. package/layouts/Container/index.cjs +1 -1
  687. package/layouts/Container/index.d.ts +1 -1
  688. package/layouts/Container/index.mjs +1 -1
  689. package/layouts/Container/lib/utils/index.cjs +1 -1
  690. package/layouts/Container/lib/utils/index.mjs +1 -1
  691. package/layouts/ErrorPage/index.cjs +1 -1
  692. package/layouts/ErrorPage/index.d.ts +1 -1
  693. package/layouts/ErrorPage/index.mjs +1 -1
  694. package/layouts/FiltersActions/FiltersActions.d.ts +1939 -6
  695. package/layouts/FiltersActions/components/Circle.d.ts +1 -1
  696. package/layouts/FiltersActions/components/ListOfFilters.d.ts +1 -1
  697. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  698. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  699. package/layouts/FiltersActions/hooks/useAdaptiveFilters.d.ts +1 -1
  700. package/layouts/FiltersActions/index.cjs +1 -1
  701. package/layouts/FiltersActions/index.d.ts +1 -1
  702. package/layouts/FiltersActions/index.mjs +1 -1
  703. package/layouts/Layout/index.cjs +1 -1
  704. package/layouts/Layout/index.mjs +1 -1
  705. package/layouts/PageLayout/PageLayout.d.ts +1 -1
  706. package/layouts/PageLayout/index.cjs +1 -1
  707. package/layouts/PageLayout/index.mjs +1 -1
  708. package/mixins/blockGradientScroll/index.d.ts +2 -2
  709. package/mixins/index.cjs +1 -1
  710. package/mixins/index.mjs +1 -1
  711. package/mixins/scrollbar/mixin.d.ts +1 -1
  712. package/mixins/tourPulse/mixin.d.ts +1 -1
  713. package/package.json +1 -1
  714. package/shared/ui/Search/styled.d.ts +1937 -4
  715. package/shared/utils/inputs/getClearIcon.d.ts +1 -1
  716. package/shared/utils/inputs/getContentRight.d.ts +1 -1
  717. package/styles/DefaultGlobalStyle.d.ts +3 -3
  718. package/styles/index.cjs +1 -1
  719. package/styles/index.mjs +1 -1
  720. package/themes/index.d.ts +1 -1
  721. package/tokens/border/index.d.ts +1 -1
  722. package/tokens/color/index.d.ts +1 -1
  723. package/tokens/gradient/index.d.ts +1 -1
  724. package/tokens/shadow/index.d.ts +1 -1
  725. package/tokens/spacing/index.d.ts +1 -1
  726. package/tokens/typography/index.d.ts +1 -1
  727. package/types/index.d.ts +1 -1
  728. package/utils/breakpoint/index.cjs +1 -1
  729. package/utils/breakpoint/index.d.ts +1 -1
  730. package/utils/breakpoint/index.mjs +1 -1
  731. package/utils/clickStream/index.cjs +1 -1
  732. package/utils/clickStream/index.d.ts +2 -2
  733. package/utils/clickStream/index.mjs +1 -1
  734. package/utils/eventBus/index.cjs +1 -1
  735. package/utils/eventBus/index.d.ts +1 -1
  736. package/utils/eventBus/index.mjs +1 -1
  737. package/utils/hooks/index.cjs +1 -1
  738. package/utils/hooks/index.d.ts +2 -0
  739. package/utils/hooks/index.mjs +6 -4
  740. package/utils/hooks/useImageLoader.d.ts +10 -0
  741. package/utils/index.cjs +1 -1
  742. package/utils/index.d.ts +3 -3
  743. package/utils/index.mjs +25 -23
  744. package/utils/styles/index.cjs +1 -1
  745. package/utils/styles/index.mjs +1 -1
  746. package/chunks/FormDatePickers-k_9RxQ8v.cjs +0 -1
  747. package/chunks/FormTextArea-gkAcAtRJ.cjs +0 -1
  748. package/chunks/GridDND-Btk25GHs.cjs +0 -1
  749. package/chunks/TableGlide-DBSIrlp_.cjs +0 -1
  750. package/chunks/utils-Ch8gMTzR.mjs +0 -504
  751. package/chunks/utils-DN3rU1Iu.cjs +0 -25
@@ -1,14 +1,14 @@
1
- import Ln, { GridCellKind as Mt, CompactSelection as P } from "@glideappsfinal/glide-data-grid";
2
- import { bodyM as Bn, bodyS as kn, bodyXXS as zn } from "@salutejs/sdds-themes/tokens/sdds_finai";
3
- import { split as _n } from "canvas-hypertxt";
4
- import ce, { isValidElement as Qr, useLayoutEffect as ui, useRef as it, useCallback as U, useEffect as wt, useMemo as M, useState as at } from "react";
5
- import { renderToString as Mn } from "react-dom/server";
1
+ import Bn, { GridCellKind as Mt, CompactSelection as L } from "@glideappsfinal/glide-data-grid";
2
+ import { bodyM as kn, bodyS as zn, bodyXXS as _n } from "@salutejs/sdds-themes/tokens/sdds_finai";
3
+ import { split as Mn } from "canvas-hypertxt";
4
+ import ce, { isValidElement as to, useLayoutEffect as ui, useRef as it, useCallback as U, useEffect as wt, useMemo as M, useState as at } from "react";
5
+ import { renderToString as Rn } from "react-dom/server";
6
6
  import { j as Ft } from "./vendor-BG4P-329.mjs";
7
7
  import "@glideappsfinal/glide-data-grid/dist/index.css";
8
- import { x as lr, t as Rn, n as Nn, q as cr } from "./utils-Ch8gMTzR.mjs";
9
- import { createPortal as Le } from "react-dom";
10
- import to from "styled-components";
11
- const q = {
8
+ import { z as lr, t as Nn, n as On, q as cr } from "./utils-BNelzuI-.mjs";
9
+ import { createPortal as Pe } from "react-dom";
10
+ import eo from "styled-components";
11
+ const K = {
12
12
  small: {
13
13
  rowHeight: 20,
14
14
  cellVerticalPadding: 4,
@@ -27,41 +27,41 @@ const q = {
27
27
  cellHorizontalPadding: 16,
28
28
  textfieldSize: "s"
29
29
  }
30
- }, Je = (r) => q[r].rowHeight, Qe = (r) => q[r].textfieldSize, On = {
31
- small: q.small.rowHeight,
32
- medium: q.medium.rowHeight,
33
- big: q.big.rowHeight
34
- }, au = {
30
+ }, Je = (r) => K[r].rowHeight, Qe = (r) => K[r].textfieldSize, Wn = {
31
+ small: K.small.rowHeight,
32
+ medium: K.medium.rowHeight,
33
+ big: K.big.rowHeight
34
+ }, lu = {
35
35
  kind: Mt.Text,
36
36
  data: "",
37
37
  displayData: "",
38
38
  allowOverlay: !0,
39
39
  readonly: !0
40
- }, Wn = {
40
+ }, Gn = {
41
41
  big: {
42
- cellVerticalPadding: q.big.cellVerticalPadding,
43
- cellHorizontalPadding: q.big.cellHorizontalPadding,
44
- textfieldSize: q.big.textfieldSize
42
+ cellVerticalPadding: K.big.cellVerticalPadding,
43
+ cellHorizontalPadding: K.big.cellHorizontalPadding,
44
+ textfieldSize: K.big.textfieldSize
45
45
  },
46
46
  medium: {
47
- cellVerticalPadding: q.medium.cellVerticalPadding,
48
- cellHorizontalPadding: q.medium.cellHorizontalPadding,
49
- textfieldSize: q.medium.textfieldSize
47
+ cellVerticalPadding: K.medium.cellVerticalPadding,
48
+ cellHorizontalPadding: K.medium.cellHorizontalPadding,
49
+ textfieldSize: K.medium.textfieldSize
50
50
  },
51
51
  small: {
52
- cellVerticalPadding: q.small.cellVerticalPadding,
53
- cellHorizontalPadding: q.small.cellHorizontalPadding,
54
- textfieldSize: q.small.textfieldSize
52
+ cellVerticalPadding: K.small.cellVerticalPadding,
53
+ cellHorizontalPadding: K.small.cellHorizontalPadding,
54
+ textfieldSize: K.small.textfieldSize
55
55
  }
56
56
  }, ti = {
57
57
  "padding-block": "0px",
58
58
  "padding-inline": "0px"
59
- }, Xt = (r) => `${r}px`, lu = {
59
+ }, Xt = (r) => `${r}px`, cu = {
60
60
  small: {
61
61
  rowHeight: Je("small"),
62
62
  cell: {
63
- "padding-block": Xt(q.small.cellVerticalPadding),
64
- "padding-inline": Xt(q.small.cellHorizontalPadding)
63
+ "padding-block": Xt(K.small.cellVerticalPadding),
64
+ "padding-inline": Xt(K.small.cellHorizontalPadding)
65
65
  },
66
66
  editorCell: ti,
67
67
  input: Qe("small"),
@@ -69,13 +69,13 @@ const q = {
69
69
  combobox: "s",
70
70
  checkboxOfCombobox: "s",
71
71
  switch: "s",
72
- font: () => zn
72
+ font: () => _n
73
73
  },
74
74
  medium: {
75
75
  rowHeight: Je("medium"),
76
76
  cell: {
77
- "padding-block": Xt(q.medium.cellVerticalPadding),
78
- "padding-inline": Xt(q.medium.cellHorizontalPadding)
77
+ "padding-block": Xt(K.medium.cellVerticalPadding),
78
+ "padding-inline": Xt(K.medium.cellHorizontalPadding)
79
79
  },
80
80
  editorCell: ti,
81
81
  input: Qe("medium"),
@@ -83,13 +83,13 @@ const q = {
83
83
  combobox: "m",
84
84
  checkboxOfCombobox: "m",
85
85
  switch: "s",
86
- font: () => kn
86
+ font: () => zn
87
87
  },
88
88
  big: {
89
89
  rowHeight: Je("big"),
90
90
  cell: {
91
- "padding-block": Xt(q.big.cellVerticalPadding),
92
- "padding-inline": Xt(q.big.cellHorizontalPadding)
91
+ "padding-block": Xt(K.big.cellVerticalPadding),
92
+ "padding-inline": Xt(K.big.cellHorizontalPadding)
93
93
  },
94
94
  editorCell: ti,
95
95
  input: Qe("big"),
@@ -97,9 +97,9 @@ const q = {
97
97
  combobox: "l",
98
98
  checkboxOfCombobox: "l",
99
99
  switch: "l",
100
- font: () => Bn
100
+ font: () => kn
101
101
  }
102
- }, hi = 33, Gn = {
102
+ }, hi = 33, $n = {
103
103
  bodyM: {
104
104
  "font-size": "1rem",
105
105
  "font-weight": 400,
@@ -132,24 +132,24 @@ const q = {
132
132
  "bold-font-weight": 600,
133
133
  "bold-line-height": "0.75rem"
134
134
  }
135
- }, $n = 16;
136
- function ur(r, t = $n) {
135
+ }, Un = 16;
136
+ function ur(r, t = Un) {
137
137
  const e = parseFloat(r);
138
138
  return Number.isFinite(e) ? r.endsWith("rem") ? e * t : e : 0;
139
139
  }
140
- const Un = (r, t = !1) => {
140
+ const Xn = (r, t = !1) => {
141
141
  const e = t ? r["bold-font-weight"] : r["font-weight"], i = t ? r["bold-font-size"] : r["font-size"], o = t ? r["bold-line-height"] : r["line-height"];
142
142
  return `${e} normal ${i}/${o}`;
143
- }, Xn = (r, t = !1) => {
143
+ }, Vn = (r, t = !1) => {
144
144
  const e = t ? r["bold-font-size"] : r["font-size"], i = t ? r["bold-line-height"] : r["line-height"];
145
145
  return {
146
146
  fontSize: ur(e),
147
147
  lineHeightPx: ur(i)
148
148
  };
149
- }, eo = (r) => Object.entries(Gn).reduce((t, [e, i]) => {
149
+ }, io = (r) => Object.entries($n).reduce((t, [e, i]) => {
150
150
  const o = e;
151
151
  return t.push([o, r(i)], [`${o}Bold`, r(i, !0)]), t;
152
- }, []), di = Object.fromEntries(eo(Un)), io = Object.fromEntries(eo(Xn)), Vn = {
152
+ }, []), di = Object.fromEntries(io(Xn)), ro = Object.fromEntries(io(Vn)), Yn = {
153
153
  flexGrow: 0,
154
154
  flexShrink: 1,
155
155
  flexBasis: 0,
@@ -158,14 +158,14 @@ const Un = (r, t = !1) => {
158
158
  height: void 0,
159
159
  // Обычный элемент участвует в расчете размера линии.
160
160
  crossAxisSizing: "auto"
161
- }, Yn = {
161
+ }, Kn = {
162
162
  top: 0,
163
163
  right: 0,
164
164
  bottom: 0,
165
165
  left: 0
166
166
  };
167
- class ro {
168
- constructor(t = Vn) {
167
+ class oo {
168
+ constructor(t = Yn) {
169
169
  this.size = {
170
170
  width: 0,
171
171
  height: 0
@@ -185,21 +185,21 @@ class ro {
185
185
  }, this.id = t.id, this.metadata = t.metadata;
186
186
  }
187
187
  }
188
- class qn extends ro {
188
+ class qn extends oo {
189
189
  build() {
190
190
  }
191
191
  }
192
- class Pt extends ro {
192
+ class Lt extends oo {
193
193
  constructor(t, e, i = {}) {
194
194
  super({}), this.children = [], this.direction = "row", this.wrap = "nowrap", this.columnGap = 0, this.rowGap = 0, this.justifyContent = "flex-start", this.alignItems = "stretch", this.alignContent = "stretch", this.padding = {
195
195
  top: 0,
196
196
  right: 0,
197
197
  bottom: 0,
198
198
  left: 0
199
- }, this.size.width = t, this.size.height = e, this.id = i.id, i.direction !== void 0 && (this.direction = i.direction), i.wrap !== void 0 && (this.wrap = i.wrap), i.columnGap !== void 0 && (this.columnGap = i.columnGap), i.rowGap !== void 0 && (this.rowGap = i.rowGap), i.justifyContent !== void 0 && (this.justifyContent = i.justifyContent), i.alignItems !== void 0 && (this.alignItems = i.alignItems), i.alignContent !== void 0 && (this.alignContent = i.alignContent), this.padding = Kn(i.padding);
199
+ }, this.size.width = t, this.size.height = e, this.id = i.id, i.direction !== void 0 && (this.direction = i.direction), i.wrap !== void 0 && (this.wrap = i.wrap), i.columnGap !== void 0 && (this.columnGap = i.columnGap), i.rowGap !== void 0 && (this.rowGap = i.rowGap), i.justifyContent !== void 0 && (this.justifyContent = i.justifyContent), i.alignItems !== void 0 && (this.alignItems = i.alignItems), i.alignContent !== void 0 && (this.alignContent = i.alignContent), this.padding = Zn(i.padding);
200
200
  }
201
201
  addChild(t, e) {
202
- if (t instanceof Pt) {
202
+ if (t instanceof Lt) {
203
203
  const o = t;
204
204
  if (e) {
205
205
  const n = o.style;
@@ -376,17 +376,17 @@ class Pt extends ro {
376
376
  for (let v = c; v !== u; v += f) {
377
377
  const C = t[v];
378
378
  if (C !== void 0) {
379
- const x = C.style, m = C.size, F = C.position;
379
+ const x = C.style, p = C.size, F = C.position;
380
380
  if (i) {
381
- const I = this.direction === "row" ? g : e.main - g - m.width;
381
+ const I = this.direction === "row" ? g : e.main - g - p.width;
382
382
  F.x = a + I;
383
383
  } else {
384
- const I = this.direction === "column" ? g : e.main - g - m.height;
384
+ const I = this.direction === "column" ? g : e.main - g - p.height;
385
385
  F.y = l + I;
386
386
  }
387
387
  const b = x.alignSelf !== "auto" ? x.alignSelf : this.alignItems, S = this.getCrossSize(C, o, i);
388
388
  let y = 0;
389
- b === "flex-end" ? y = o - S : b === "center" && (y = (o - S) * 0.5), i ? (F.y = l + h + y, g += m.width + s) : (F.x = a + h + y, g += m.height + s);
389
+ b === "flex-end" ? y = o - S : b === "center" && (y = (o - S) * 0.5), i ? (F.y = l + h + y, g += p.width + s) : (F.x = a + h + y, g += p.height + s);
390
390
  }
391
391
  }
392
392
  }
@@ -423,11 +423,11 @@ class Pt extends ro {
423
423
  this.positionChildren(u, i, e, x, v, C, l, h, d), d += x + a;
424
424
  }
425
425
  for (const c of t)
426
- c instanceof Pt && c.build();
426
+ c instanceof Lt && c.build();
427
427
  }
428
428
  }
429
- function Kn(r) {
430
- return r === void 0 ? Yn : typeof r == "number" ? {
429
+ function Zn(r) {
430
+ return r === void 0 ? Kn : typeof r == "number" ? {
431
431
  top: r,
432
432
  right: r,
433
433
  bottom: r,
@@ -439,7 +439,7 @@ function Kn(r) {
439
439
  left: r.left ?? 0
440
440
  };
441
441
  }
442
- class oo extends Pt {
442
+ class no extends Lt {
443
443
  constructor(t, e, i = {}) {
444
444
  super(t, e, i);
445
445
  }
@@ -456,7 +456,7 @@ class oo extends Pt {
456
456
  e[n] = {
457
457
  position: o.position,
458
458
  size: o.size
459
- }, o instanceof Pt && this._collectLayout(o, e, i);
459
+ }, o instanceof Lt && this._collectLayout(o, e, i);
460
460
  }
461
461
  }
462
462
  }
@@ -467,7 +467,7 @@ const ie = {
467
467
  justifyContent: "flex-start",
468
468
  alignItems: "stretch"
469
469
  };
470
- function no(r) {
470
+ function so(r) {
471
471
  const t = r;
472
472
  return {
473
473
  id: r.id,
@@ -478,18 +478,18 @@ function no(r) {
478
478
  alignItems: t.alignItems ?? ie.alignItems
479
479
  };
480
480
  }
481
- function so(r, t) {
481
+ function ao(r, t) {
482
482
  if (t != null && t.length)
483
483
  for (const e of t)
484
484
  if (e.children && e.children.length > 0) {
485
- const i = new Pt(e.width ?? 0, e.height ?? 0, no(e));
486
- r.addChild(i, e), so(i, e.children);
485
+ const i = new Lt(e.width ?? 0, e.height ?? 0, so(e));
486
+ r.addChild(i, e), ao(i, e.children);
487
487
  } else
488
488
  r.addChild(e);
489
489
  }
490
- const cu = (r) => {
491
- const t = r.width ?? 0, e = r.height ?? 0, i = no(r), o = new oo(t, e, i);
492
- return so(o, r.children), o.getLayout();
490
+ const uu = (r) => {
491
+ const t = r.width ?? 0, e = r.height ?? 0, i = so(r), o = new no(t, e, i);
492
+ return ao(o, r.children), o.getLayout();
493
493
  }, Ne = class Ne {
494
494
  constructor(t) {
495
495
  this.debugColor = "magenta", this.parent = null, this.children = [], this.rect = {
@@ -640,7 +640,7 @@ const cu = (r) => {
640
640
  };
641
641
  Ne.DEBUG = !1;
642
642
  let Zt = Ne;
643
- class Zn {
643
+ class jn {
644
644
  constructor() {
645
645
  this.defaultFlexStyle = {
646
646
  flexGrow: 0,
@@ -703,7 +703,7 @@ class Zn {
703
703
  * Добавляет дочерний элемент-контейнер в flex-дерево.
704
704
  */
705
705
  addContainerChild(t, e) {
706
- const i = new Pt(0, 0, t.flexOptions);
706
+ const i = new Lt(0, 0, t.flexOptions);
707
707
  i.size.width = t.rect.width, i.size.height = t.rect.height, e.addChild(i, this.defaultFlexStyle), this.build(t, i);
708
708
  }
709
709
  /**
@@ -715,7 +715,7 @@ class Zn {
715
715
  }
716
716
  }
717
717
  const Se = 0.5;
718
- class jn {
718
+ class Jn {
719
719
  constructor(t) {
720
720
  this.positionResolver = t;
721
721
  }
@@ -737,7 +737,7 @@ class jn {
737
737
  } = e, h = l !== null ? l.rect : n;
738
738
  a = this.updateNodePosition(e, i, h ?? e.rect);
739
739
  const d = o ?? e.children.filter((u) => !u.isAbsolute()), c = d.length > 0;
740
- if (c && i instanceof Pt) {
740
+ if (c && i instanceof Lt) {
741
741
  const u = this.reconcileChildLayouts(t, d, i, n);
742
742
  if (a = a || u, this.isContainer(e) && !s) {
743
743
  const f = this.updateContainerFromContent(e, i);
@@ -793,8 +793,8 @@ class jn {
793
793
  } else {
794
794
  let l = 0;
795
795
  for (let C = 0; C < s; C += 1) {
796
- const x = n[C], m = x.position.x + x.size.width, F = x.position.y + x.size.height;
797
- m > a && (a = m), F > l && (l = F);
796
+ const x = n[C], p = x.position.x + x.size.width, F = x.position.y + x.size.height;
797
+ p > a && (a = p), F > l && (l = F);
798
798
  }
799
799
  const h = a > 0 ? a + o.right : 0, d = t.style.width;
800
800
  let c = !1, u = !1, f = !1;
@@ -1019,12 +1019,12 @@ class Ii {
1019
1019
  return o.addGap(i, e), o.getSize();
1020
1020
  }
1021
1021
  }
1022
- const Jn = 3, ao = {
1022
+ const Qn = 3, lo = {
1023
1023
  top: 0,
1024
1024
  right: 0,
1025
1025
  bottom: 0,
1026
1026
  left: 0
1027
- }, Qn = (r) => r === void 0 || r === "row" || r === "row-reverse", ts = (r) => r === void 0 ? ao : typeof r == "number" ? {
1027
+ }, ts = (r) => r === void 0 || r === "row" || r === "row-reverse", es = (r) => r === void 0 ? lo : typeof r == "number" ? {
1028
1028
  top: r,
1029
1029
  right: r,
1030
1030
  bottom: r,
@@ -1035,9 +1035,9 @@ const Jn = 3, ao = {
1035
1035
  bottom: r.bottom ?? 0,
1036
1036
  left: r.left ?? 0
1037
1037
  };
1038
- class pt extends Zt {
1038
+ class mt extends Zt {
1039
1039
  constructor(t, e = {}, i = "transparent") {
1040
- super(t), this.cachedPadding = ao, this.cachedIsRow = !0, this.cachedGap = 0, this.optionsCacheValid = !1, this.flexOptionsValue = e, this.positionResolver = new It(), this.flexTreeBuilder = new Zn(), this.layoutReconciler = new jn(this.positionResolver), this.invalidateOptionsCache(), this.backgroundColor = i;
1040
+ super(t), this.cachedPadding = lo, this.cachedIsRow = !0, this.cachedGap = 0, this.optionsCacheValid = !1, this.flexOptionsValue = e, this.positionResolver = new It(), this.flexTreeBuilder = new jn(), this.layoutReconciler = new Jn(this.positionResolver), this.invalidateOptionsCache(), this.backgroundColor = i;
1041
1041
  }
1042
1042
  get flexOptions() {
1043
1043
  return this.flexOptionsValue;
@@ -1055,7 +1055,7 @@ class pt extends Zt {
1055
1055
  if (this.optionsCacheValid)
1056
1056
  return;
1057
1057
  const t = this.flexOptionsValue;
1058
- this.cachedIsRow = Qn(t.direction), this.cachedGap = this.cachedIsRow ? t.columnGap ?? 0 : t.rowGap ?? 0, this.cachedPadding = ts(t.padding), this.optionsCacheValid = !0;
1058
+ this.cachedIsRow = ts(t.direction), this.cachedGap = this.cachedIsRow ? t.columnGap ?? 0 : t.rowGap ?? 0, this.cachedPadding = es(t.padding), this.optionsCacheValid = !0;
1059
1059
  }
1060
1060
  measure(t) {
1061
1061
  this.measureChildren(t), this.computeIntrinsicSize(), this.applySizeConstraints(), this.clearMeasureDirty();
@@ -1095,7 +1095,7 @@ class pt extends Zt {
1095
1095
  const {
1096
1096
  parent: e
1097
1097
  } = this;
1098
- if (!(e instanceof pt))
1098
+ if (!(e instanceof mt))
1099
1099
  return e != null && e.rect[t] && e.rect[t] > 0 ? e.rect[t] : void 0;
1100
1100
  e.ensureOptionsCache();
1101
1101
  const i = e.cachedPadding, o = t === "width" ? i.left + i.right : i.top + i.bottom, n = e.rect[t] - o;
@@ -1113,18 +1113,18 @@ class pt extends Zt {
1113
1113
  i.length > 0 && this.layoutPhase1Flexbox(t, i, e), o.length > 0 && this.isPositioningContext() && this.layoutPhase2Absolute(t, o), this.clearLayoutDirty();
1114
1114
  }
1115
1115
  layoutPhase1Flexbox(t, e, i = !1) {
1116
- const o = new oo(this.rect.width, this.rect.height, this.flexOptionsValue);
1116
+ const o = new no(this.rect.width, this.rect.height, this.flexOptionsValue);
1117
1117
  this.flexTreeBuilder.build(this, o, e);
1118
1118
  let n = 0, s;
1119
1119
  do
1120
1120
  o.build(), s = this.layoutReconciler.reconcile(t, this, o, e, this.rect, i), n += 1;
1121
- while (s && n < Jn);
1121
+ while (s && n < Qn);
1122
1122
  }
1123
1123
  layoutPhase2Absolute(t, e) {
1124
1124
  this.ensureOptionsCache(), this.positionResolver.positionAbsoluteChildren(this.rect, this.cachedPadding, e, (i) => i.measure(t), (i) => this.layoutAbsoluteChildSubtree(t, i));
1125
1125
  }
1126
1126
  layoutAbsoluteChildSubtree(t, e) {
1127
- if (!(e instanceof pt))
1127
+ if (!(e instanceof mt))
1128
1128
  return;
1129
1129
  const i = e.parent;
1130
1130
  e.parent = null;
@@ -1141,7 +1141,7 @@ class pt extends Zt {
1141
1141
  if (t === null || t.rect.width <= 0)
1142
1142
  return;
1143
1143
  let e = t.rect.width;
1144
- t instanceof pt && (t.ensureOptionsCache(), e -= t.cachedPadding.left + t.cachedPadding.right), e = Math.max(0, e), this.rect.width > e && (this.rect.width = e);
1144
+ t instanceof mt && (t.ensureOptionsCache(), e -= t.cachedPadding.left + t.cachedPadding.right), e = Math.max(0, e), this.rect.width > e && (this.rect.width = e);
1145
1145
  }
1146
1146
  separateChildrenByLayoutMode() {
1147
1147
  const t = [], e = [];
@@ -1158,18 +1158,18 @@ class pt extends Zt {
1158
1158
  i.paint(t, e);
1159
1159
  }
1160
1160
  }
1161
- const es = {
1161
+ const is = {
1162
1162
  minX: 1 / 0,
1163
1163
  minY: 1 / 0,
1164
1164
  maxX: -1 / 0,
1165
1165
  maxY: -1 / 0
1166
- }, is = (r, t) => ({
1166
+ }, rs = (r, t) => ({
1167
1167
  minX: Math.min(r.minX, t.rect.x),
1168
1168
  minY: Math.min(r.minY, t.rect.y),
1169
1169
  maxX: Math.max(r.maxX, t.rect.x + t.rect.width),
1170
1170
  maxY: Math.max(r.maxY, t.rect.y + t.rect.height)
1171
- }), rs = (r) => r.minX === 1 / 0 || r.maxX === -1 / 0;
1172
- class uu extends pt {
1171
+ }), os = (r) => r.minX === 1 / 0 || r.maxX === -1 / 0;
1172
+ class hu extends mt {
1173
1173
  performLayout(t) {
1174
1174
  const e = this.layoutChildren(t);
1175
1175
  if (!e) {
@@ -1180,11 +1180,11 @@ class uu extends pt {
1180
1180
  }
1181
1181
  layoutChildren(t) {
1182
1182
  let e = {
1183
- ...es
1183
+ ...is
1184
1184
  };
1185
1185
  return this.children.forEach((i) => {
1186
- i instanceof pt ? i.performLayout(t) : i.measure(t), e = is(e, i);
1187
- }), rs(e) ? null : e;
1186
+ i instanceof mt ? i.performLayout(t) : i.measure(t), e = rs(e, i);
1187
+ }), os(e) ? null : e;
1188
1188
  }
1189
1189
  expandToFitBounds(t) {
1190
1190
  const e = t.maxX - this.rect.x, i = t.maxY - this.rect.y;
@@ -1194,7 +1194,7 @@ class uu extends pt {
1194
1194
  this.backgroundColor && this.backgroundColor !== "transparent" && t.fillRect(this.rect.x, this.rect.y, this.rect.width, this.rect.height, this.backgroundColor), this.borderWidth > 0 && this.borderColor && this.borderColor !== "transparent" && t.strokeRect(this.rect.x + this.borderWidth / 2, this.rect.y + this.borderWidth / 2, this.rect.width - this.borderWidth, this.rect.height - this.borderWidth, this.borderColor, this.borderWidth), super.onPaint(t, e);
1195
1195
  }
1196
1196
  }
1197
- class lo {
1197
+ class co {
1198
1198
  constructor(t = {}) {
1199
1199
  this.options = t, this.hoveredNode = null, this.activePortalNode = null, this.currentCursor = "default", this.bounds = null;
1200
1200
  }
@@ -1336,11 +1336,11 @@ const ne = {
1336
1336
  editor: "normal",
1337
1337
  contextMenu: "normal"
1338
1338
  };
1339
- function os(r) {
1339
+ function ns(r) {
1340
1340
  return r.selection !== void 0 || r.cellClick !== void 0 || r.editor !== void 0 || r.contextMenu !== void 0;
1341
1341
  }
1342
- function ns(r) {
1343
- if (!r || !os(r))
1342
+ function ss(r) {
1343
+ if (!r || !ns(r))
1344
1344
  return;
1345
1345
  const t = {
1346
1346
  selection: r.selection ?? ne.selection,
@@ -1350,12 +1350,12 @@ function ns(r) {
1350
1350
  };
1351
1351
  return t.editor === "open-on-click" && t.selection === "keep" && (console.warn('[TableCanvas interaction] `editor: "open-on-click"` требует обычного selection. Editor не будет открыт, чтобы не менять выделение неожиданно.'), t.editor = "normal"), t.editor === "open-on-click" && t.cellClick === "stop" && (console.warn('[TableCanvas interaction] `editor: "open-on-click"` требует обычного cellClick, потому что editor открывается через click pipeline таблицы. Editor не будет открыт.'), t.editor = "normal"), t;
1352
1352
  }
1353
- function ss() {
1353
+ function as() {
1354
1354
  return {
1355
1355
  ...ne
1356
1356
  };
1357
1357
  }
1358
- class as {
1358
+ class ls {
1359
1359
  constructor() {
1360
1360
  this.nodes = /* @__PURE__ */ new Map(), this.listeners = /* @__PURE__ */ new Set();
1361
1361
  }
@@ -1377,7 +1377,7 @@ class as {
1377
1377
  this.listeners.forEach((e) => e(t));
1378
1378
  }
1379
1379
  }
1380
- function ls(r, t) {
1380
+ function cs(r, t) {
1381
1381
  return r.zIndex !== t.zIndex ? r.zIndex - t.zIndex : r.order - t.order;
1382
1382
  }
1383
1383
  const hr = typeof Path2D < "u" && typeof CanvasRenderingContext2D.prototype.roundRect == "function";
@@ -1523,7 +1523,7 @@ class Hi {
1523
1523
  } = this, i = e.length;
1524
1524
  if (i === 0)
1525
1525
  return;
1526
- e.sort(ls);
1526
+ e.sort(cs);
1527
1527
  let o = "", n = "", s = -1, a = "", l = "", h = "";
1528
1528
  for (let d = 0; d < i; d++) {
1529
1529
  const c = e[d];
@@ -1576,15 +1576,15 @@ class Hi {
1576
1576
  radius: a,
1577
1577
  gradientStops: l,
1578
1578
  angle: h
1579
- } = e, d = (h - 90) * Math.PI / 180, c = Math.cos(d), u = Math.sin(d), f = n / 2, g = s / 2, v = i + f, C = o + g, m = (Math.abs(c * n) + Math.abs(u * s)) / 2, F = v - c * m, b = C - u * m, S = v + c * m, y = C + u * m, I = t.createLinearGradient(F, b, S, y);
1579
+ } = e, d = (h - 90) * Math.PI / 180, c = Math.cos(d), u = Math.sin(d), f = n / 2, g = s / 2, v = i + f, C = o + g, p = (Math.abs(c * n) + Math.abs(u * s)) / 2, F = v - c * p, b = C - u * p, S = v + c * p, y = C + u * p, I = t.createLinearGradient(F, b, S, y);
1580
1580
  for (const A of l)
1581
1581
  I.addColorStop(A.offset, A.color);
1582
1582
  if (t.fillStyle = I, a > 0)
1583
1583
  if (hr)
1584
1584
  t.beginPath(), t.roundRect(i, o, n, s, a), t.fill();
1585
1585
  else {
1586
- const A = a, L = i + n, R = o + s;
1587
- t.beginPath(), t.moveTo(i + A, o), t.lineTo(L - A, o), t.quadraticCurveTo(L, o, L, o + A), t.lineTo(L, R - A), t.quadraticCurveTo(L, R, L - A, R), t.lineTo(i + A, R), t.quadraticCurveTo(i, R, i, R - A), t.lineTo(i, o + A), t.quadraticCurveTo(i, o, i + A, o), t.closePath(), t.fill();
1586
+ const A = a, P = i + n, R = o + s;
1587
+ t.beginPath(), t.moveTo(i + A, o), t.lineTo(P - A, o), t.quadraticCurveTo(P, o, P, o + A), t.lineTo(P, R - A), t.quadraticCurveTo(P, R, P - A, R), t.lineTo(i + A, R), t.quadraticCurveTo(i, R, i, R - A), t.lineTo(i, o + A), t.quadraticCurveTo(i, o, i + A, o), t.closePath(), t.fill();
1588
1588
  }
1589
1589
  else
1590
1590
  t.fillRect(i, o, n, s);
@@ -1612,12 +1612,12 @@ class Hi {
1612
1612
  l && (t.fillStyle = l, t.fill()), h && (t.strokeStyle = h, d !== void 0 && (t.lineWidth = d), t.stroke());
1613
1613
  }
1614
1614
  }
1615
- const hu = new Hi();
1616
- class du {
1615
+ const du = new Hi();
1616
+ class fu {
1617
1617
  constructor(t, e) {
1618
1618
  this.eventHandlers = /* @__PURE__ */ new Map(), this.batcher = new Hi(), this.canvas = t, this.ctx = t.getContext("2d", {
1619
1619
  alpha: !1
1620
- }), this.rootNode = e, this.hoverController = new lo({
1620
+ }), this.rootNode = e, this.hoverController = new co({
1621
1621
  onCursorChange: (i) => {
1622
1622
  var o;
1623
1623
  return (o = this.onCursorChange) == null ? void 0 : o.call(this, i);
@@ -1711,7 +1711,7 @@ class du {
1711
1711
  this.rootNode.rect.width = t.width, this.rootNode.rect.height = t.height, this.rootNode.rect.x = 0, this.rootNode.rect.y = 0;
1712
1712
  }
1713
1713
  layoutRoot() {
1714
- this.rootNode instanceof pt ? this.rootNode.performLayout(this.ctx) : this.rootNode.measure(this.ctx);
1714
+ this.rootNode instanceof mt ? this.rootNode.performLayout(this.ctx) : this.rootNode.measure(this.ctx);
1715
1715
  }
1716
1716
  }
1717
1717
  const nt = {
@@ -1744,7 +1744,7 @@ const nt = {
1744
1744
  iconSize: 20
1745
1745
  }
1746
1746
  };
1747
- function cs(r) {
1747
+ function us(r) {
1748
1748
  return {
1749
1749
  default: {
1750
1750
  bgColor: r.surfaceSolidDefault,
@@ -1825,32 +1825,46 @@ function cs(r) {
1825
1825
  }
1826
1826
  };
1827
1827
  }
1828
- const Pi = {
1829
- default: {
1830
- bgColor: "#060A0C",
1831
- bgColorHover: "#111C22",
1832
- borderColor: "#060A0C",
1833
- textColor: "#FFFFFF",
1834
- iconColor: "#FFFFFF"
1835
- },
1828
+ const dr = {
1829
+ bgColor: "#060A0C",
1830
+ bgColorHover: "#13181B",
1831
+ borderColor: "transparent",
1832
+ textColor: "#FFFFFF",
1833
+ /**
1834
+ *#F2F5F893 --on-dark-text-primary-hover
1835
+ */
1836
+ textColorHover: "#F2F5F893",
1837
+ iconColor: "#FFFFFF",
1838
+ /**
1839
+ *#F2F5F893 --on-dark-text-primary-hover
1840
+ */
1841
+ iconColorHover: "#F2F5F893"
1842
+ }, Li = {
1843
+ default: dr,
1836
1844
  primary: {
1837
1845
  bgColor: "#060A0C",
1838
1846
  bgColorHover: "#111C22",
1839
- borderColor: "#060A0C",
1847
+ borderColor: "transparent",
1840
1848
  textColor: "#FFFFFF",
1841
1849
  iconColor: "#FFFFFF"
1842
1850
  },
1843
1851
  accent: {
1844
1852
  bgColor: "#118CDF",
1845
1853
  bgColorHover: "#1798EE",
1846
- borderColor: "#118CDF",
1854
+ borderColor: "transparent",
1847
1855
  textColor: "#FFFFFF",
1848
1856
  iconColor: "#FFFFFF"
1849
1857
  },
1850
1858
  secondary: {
1851
- bgColor: "transparent",
1852
- bgColorHover: "rgba(6, 10, 12, 0.08)",
1853
- borderColor: "#060A0C",
1859
+ /**
1860
+ * surface transparent secondary
1861
+ */
1862
+ bgColor: "#ADB9C238",
1863
+ /**
1864
+ * surface transparent secondary hover
1865
+ */
1866
+ bgColorHover: "#ADB9C247",
1867
+ borderColor: "transparent",
1854
1868
  textColor: "#060A0C",
1855
1869
  iconColor: "#060A0C"
1856
1870
  },
@@ -1864,54 +1878,61 @@ const Pi = {
1864
1878
  success: {
1865
1879
  bgColor: "#1A9E32",
1866
1880
  bgColorHover: "#1EB83A",
1867
- borderColor: "#1A9E32",
1881
+ borderColor: "transparent",
1868
1882
  textColor: "#FFFFFF",
1869
1883
  iconColor: "#FFFFFF"
1870
1884
  },
1871
1885
  warning: {
1872
1886
  bgColor: "#FA5F05",
1873
1887
  bgColorHover: "#FB782D",
1874
- borderColor: "#FA5F05",
1888
+ borderColor: "transparent",
1875
1889
  textColor: "#FFFFFF",
1876
1890
  iconColor: "#FFFFFF"
1877
1891
  },
1878
1892
  critical: {
1879
1893
  bgColor: "#FF293E",
1880
1894
  bgColorHover: "#FF5263",
1881
- borderColor: "#FF293E",
1895
+ borderColor: "transparent",
1882
1896
  textColor: "#FFFFFF",
1883
1897
  iconColor: "#FFFFFF"
1884
1898
  },
1885
1899
  dark: {
1886
- bgColor: "#13181B",
1887
- bgColorHover: "#23292D",
1888
- borderColor: "#13181B",
1889
- textColor: "#FFFFFF",
1890
- iconColor: "#FFFFFF"
1891
- },
1892
- black: {
1893
- bgColor: "#060A0C",
1894
- bgColorHover: "#13181B",
1895
- borderColor: "#060A0C",
1900
+ /**
1901
+ * #30373CC7 --on-light-surface-transparent-deep
1902
+ */
1903
+ bgColor: "#30373CC7",
1904
+ bgColorHover: "#30373CC7",
1905
+ borderColor: "transparent",
1896
1906
  textColor: "#FFFFFF",
1897
- iconColor: "#FFFFFF"
1907
+ textColorHover: "#F2F5F893",
1908
+ iconColor: "#FFFFFF",
1909
+ iconColorHover: "#F2F5F893"
1898
1910
  },
1911
+ black: dr,
1899
1912
  white: {
1900
1913
  bgColor: "#FFFFFF",
1901
- bgColorHover: "#F2F5F8",
1902
- borderColor: "#D5DFE6",
1914
+ bgColorHover: "#FFFFFF",
1915
+ borderColor: "transparent",
1903
1916
  textColor: "#060A0C",
1904
- iconColor: "#060A0C"
1905
- }
1906
- }, de = 4, fe = 4, us = 16, co = 20, uo = 4, Lt = 1, ho = 6, fu = 4, Li = "s", Bi = "default", fo = "#d32f2f", ze = "#ffffff", hs = "rgba(30, 136, 229, 0.08)", dr = "#ffffff", ds = "#E8EEF2", fs = "#D5DFE6", fr = "#8A959D", go = "|", gs = "#", Cs = 35, Co = 15, fi = /* @__PURE__ */ new Map(), gi = /* @__PURE__ */ new Map();
1907
- function vo(r, t) {
1908
- if (r.charCodeAt(0) === Cs) {
1917
+ /**
1918
+ * #13181B93 --on-light-text-primary-hover
1919
+ */
1920
+ textColorHover: "#13181B93",
1921
+ iconColor: "#060A0C",
1922
+ /**
1923
+ * #13181B93 --on-light-text-primary-hover
1924
+ */
1925
+ iconColorHover: "#13181B93"
1926
+ }
1927
+ }, de = 4, fe = 4, hs = 16, uo = 20, ho = 4, Pt = 1, fo = 6, gu = 4, Pi = "s", Bi = "default", go = "#d32f2f", ze = "#ffffff", ds = "rgba(30, 136, 229, 0.08)", fr = "#ffffff", fs = "#E8EEF2", gs = "#D5DFE6", gr = "#8A959D", Co = "|", Cs = "#", vs = 35, vo = 15, fi = /* @__PURE__ */ new Map(), gi = /* @__PURE__ */ new Map();
1928
+ function po(r, t) {
1929
+ if (r.charCodeAt(0) === vs) {
1909
1930
  const e = parseInt(r.slice(1), 16), i = Math.min(255, (e >> 16 & 255) + t), o = Math.min(255, (e >> 8 & 255) + t), n = Math.min(255, (e & 255) + t);
1910
- return `${gs}${(i << 16 | o << 8 | n).toString(16).padStart(6, "0")}`;
1931
+ return `${Cs}${(i << 16 | o << 8 | n).toString(16).padStart(6, "0")}`;
1911
1932
  }
1912
1933
  return r;
1913
1934
  }
1914
- function gr(r, t) {
1935
+ function Cr(r, t) {
1915
1936
  const e = Math.min(1, Math.max(0, t));
1916
1937
  if (r.charCodeAt(0) !== 35)
1917
1938
  throw new Error("Only HEX color format is supported");
@@ -1924,31 +1945,31 @@ function gr(r, t) {
1924
1945
  throw new Error(`Invalid HEX color format: ${r}`);
1925
1946
  return `rgba(${o}, ${n}, ${s}, ${e})`;
1926
1947
  }
1927
- function vs(r, t) {
1928
- const e = `${r}${go}${t}`;
1948
+ function ps(r, t) {
1949
+ const e = `${r}${Co}${t}`;
1929
1950
  let i = fi.get(e);
1930
- return i === void 0 && (i = vo(r, t), fi.set(e, i)), i;
1951
+ return i === void 0 && (i = po(r, t), fi.set(e, i)), i;
1931
1952
  }
1932
1953
  function mo(r, t, e) {
1933
- const i = `${e}${go}${t}`;
1954
+ const i = `${e}${Co}${t}`;
1934
1955
  let o = gi.get(i);
1935
1956
  return o === void 0 && (r.font = e, o = r.measureText(t).width, gi.set(i, o)), o;
1936
1957
  }
1937
- function po(r, t, e, i, o, n) {
1958
+ function yo(r, t, e, i, o, n) {
1938
1959
  if (r !== "auto")
1939
1960
  return r;
1940
1961
  let s = 0;
1941
1962
  return o && (s += e + i), n && (s += e + i), t + s + 4;
1942
1963
  }
1943
- function yo(r, t, e, i, o) {
1964
+ function bo(r, t, e, i, o) {
1944
1965
  let n = r;
1945
1966
  return i && (n += t + e), o && (n += t + e), n;
1946
1967
  }
1947
- function gu() {
1968
+ function Cu() {
1948
1969
  fi.clear(), gi.clear();
1949
1970
  }
1950
- const ms = vo(fo, Co);
1951
- function bo(r, t, e, i) {
1971
+ const ms = po(go, vo);
1972
+ function Fo(r, t, e, i) {
1952
1973
  if (e)
1953
1974
  return {
1954
1975
  bgColor: r.bgCell,
@@ -1958,21 +1979,21 @@ function bo(r, t, e, i) {
1958
1979
  };
1959
1980
  switch (t) {
1960
1981
  case "primary":
1961
- return Cr(r, i);
1982
+ return vr(r, i);
1962
1983
  case "secondary":
1963
- return ys(r, i);
1984
+ return bs(r, i);
1964
1985
  case "danger":
1965
- return bs(i);
1986
+ return Fs(i);
1966
1987
  default:
1967
- return Cr(r, i);
1988
+ return vr(r, i);
1968
1989
  }
1969
1990
  }
1970
- function ps(r, t, e, i, o) {
1991
+ function ys(r, t, e, i, o) {
1971
1992
  const {
1972
1993
  accentColor: n
1973
1994
  } = r, s = r.accentFg || ze, a = r.accentFg || ze, l = 0.4;
1974
1995
  if (t || e) {
1975
- const u = o ? gr(n, l) : n;
1996
+ const u = o ? Cr(n, l) : n;
1976
1997
  return {
1977
1998
  bgColor: u,
1978
1999
  borderColor: u,
@@ -1980,7 +2001,7 @@ function ps(r, t, e, i, o) {
1980
2001
  iconColor: a
1981
2002
  };
1982
2003
  }
1983
- const h = "#485056B0", d = "white", c = o ? gr(h, l) : h;
2004
+ const h = "#485056B0", d = "white", c = o ? Cr(h, l) : h;
1984
2005
  return {
1985
2006
  bgColor: d,
1986
2007
  borderColor: c,
@@ -1988,10 +2009,10 @@ function ps(r, t, e, i, o) {
1988
2009
  iconColor: a
1989
2010
  };
1990
2011
  }
1991
- function Cr(r, t) {
2012
+ function vr(r, t) {
1992
2013
  const {
1993
2014
  accentColor: e
1994
- } = r, i = t ? vs(e, Co) : e;
2015
+ } = r, i = t ? ps(e, vo) : e;
1995
2016
  return {
1996
2017
  bgColor: i,
1997
2018
  borderColor: i,
@@ -1999,49 +2020,49 @@ function Cr(r, t) {
1999
2020
  iconColor: r.accentFg || ze
2000
2021
  };
2001
2022
  }
2002
- function ys(r, t) {
2023
+ function bs(r, t) {
2003
2024
  return {
2004
- bgColor: t ? r.accentLight || hs : r.bgCell,
2025
+ bgColor: t ? r.accentLight || ds : r.bgCell,
2005
2026
  borderColor: r.accentColor,
2006
2027
  textColor: r.accentColor,
2007
2028
  iconColor: r.accentColor
2008
2029
  };
2009
2030
  }
2010
- function bs(r) {
2011
- const t = r ? ms : fo;
2031
+ function Fs(r) {
2032
+ const t = r ? ms : go;
2012
2033
  return {
2013
2034
  bgColor: t,
2014
2035
  borderColor: t,
2015
- textColor: dr,
2016
- iconColor: dr
2036
+ textColor: fr,
2037
+ iconColor: fr
2017
2038
  };
2018
2039
  }
2019
- function Fo(r, t, e) {
2040
+ function xo(r, t, e) {
2020
2041
  return t ? {
2021
- bgColor: ds,
2022
- borderColor: fs,
2023
- textColor: fr,
2024
- iconColor: fr
2042
+ bgColor: fs,
2043
+ borderColor: gs,
2044
+ textColor: gr,
2045
+ iconColor: gr
2025
2046
  } : {
2026
2047
  bgColor: e ? r.bgColorHover : r.bgColor,
2027
2048
  borderColor: r.borderColor,
2028
- textColor: r.textColor,
2029
- iconColor: r.iconColor
2049
+ textColor: e && r.textColorHover ? r.textColorHover : r.textColor,
2050
+ iconColor: e && r.iconColorHover ? r.iconColorHover : r.iconColor
2030
2051
  };
2031
2052
  }
2032
- const Kt = -1, vr = 0, dt = {
2033
- colIndex: Kt,
2034
- rowIndex: Kt
2053
+ const qt = -1, pr = 0, dt = {
2054
+ colIndex: qt,
2055
+ rowIndex: qt
2035
2056
  }, Q = {
2036
- x: vr,
2037
- y: vr
2038
- }, Fs = 2;
2057
+ x: pr,
2058
+ y: pr
2059
+ }, xs = 2;
2039
2060
  function ei(r) {
2040
2061
  const {
2041
2062
  location: t
2042
2063
  } = r;
2043
- if (Array.isArray(t) && t.length >= Fs)
2044
- return dt.colIndex = t[0] ?? Kt, dt.rowIndex = t[1] ?? Kt, dt;
2064
+ if (Array.isArray(t) && t.length >= xs)
2065
+ return dt.colIndex = t[0] ?? qt, dt.rowIndex = t[1] ?? qt, dt;
2045
2066
  const {
2046
2067
  col: e
2047
2068
  } = r, {
@@ -2054,7 +2075,7 @@ function ei(r) {
2054
2075
  } = r, {
2055
2076
  rowIndex: n
2056
2077
  } = r;
2057
- return typeof o == "number" && typeof n == "number" ? (dt.colIndex = o, dt.rowIndex = n, dt) : (dt.colIndex = Kt, dt.rowIndex = Kt, dt);
2078
+ return typeof o == "number" && typeof n == "number" ? (dt.colIndex = o, dt.rowIndex = n, dt) : (dt.colIndex = qt, dt.rowIndex = qt, dt);
2058
2079
  }
2059
2080
  const Ae = "-", mr = 0;
2060
2081
  function ue(r, t) {
@@ -2064,7 +2085,7 @@ function ue(r, t) {
2064
2085
  } = r;
2065
2086
  return e >= mr && i >= mr ? `${e}${Ae}${i}` : `${t.x}${Ae}${t.y}${Ae}${t.width}${Ae}${t.height}`;
2066
2087
  }
2067
- function pr(r) {
2088
+ function yr(r) {
2068
2089
  const {
2069
2090
  posX: t
2070
2091
  } = r, {
@@ -2089,11 +2110,11 @@ function pr(r) {
2089
2110
  }
2090
2111
  return null;
2091
2112
  }
2092
- function yr(r, t) {
2113
+ function br(r, t) {
2093
2114
  const e = r.x, i = r.y, o = t.x, n = t.y;
2094
2115
  return e >= o && e <= o + t.width && i >= n && i <= n + t.height ? (Q.x = e - o, Q.y = i - n, Q) : r;
2095
2116
  }
2096
- function xs(r, t, e) {
2117
+ function ws(r, t, e) {
2097
2118
  if (typeof r != "number" || typeof t != "number")
2098
2119
  return;
2099
2120
  const i = e.width, o = e.height, n = e.x, s = e.y;
@@ -2102,7 +2123,7 @@ function xs(r, t, e) {
2102
2123
  if (r >= n - 1 && r <= n + i + 1 && t >= s - 1 && t <= s + o + 1)
2103
2124
  return Q.x = r - n, Q.y = t - s, Q;
2104
2125
  }
2105
- function xo(r, t, e) {
2126
+ function wo(r, t, e) {
2106
2127
  const i = e.x, o = e.y;
2107
2128
  return r >= i && r <= i + e.width && t >= o && t <= o + e.height;
2108
2129
  }
@@ -2127,17 +2148,17 @@ function Jt(r, t) {
2127
2148
  function ii() {
2128
2149
  return typeof window < "u" ? Math.ceil(window.devicePixelRatio) : 1;
2129
2150
  }
2130
- function ws(r) {
2151
+ function Ss(r) {
2131
2152
  let t = 0;
2132
2153
  for (let e = 0; e < r.length; e++)
2133
2154
  t = (t << 5) - t + r.charCodeAt(e), t |= 0;
2134
2155
  return t.toString(36);
2135
2156
  }
2136
- function br(r, t) {
2157
+ function Fr(r, t) {
2137
2158
  let e = r;
2138
2159
  return t && (e = e.replace(/currentColor/g, t), !e.includes("fill=") && !e.includes("stroke=") && (e = e.replace("<svg", `<svg fill="${t}"`))), `data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`;
2139
2160
  }
2140
- class Ss {
2161
+ class As {
2141
2162
  constructor() {
2142
2163
  this.iconRegistry = /* @__PURE__ */ new Map(), this.svgDataUrlCache = /* @__PURE__ */ new Map(), this.spriteCache = /* @__PURE__ */ new Map(), this.pendingLoads = /* @__PURE__ */ new Set(), this.loadListeners = /* @__PURE__ */ new Set(), this.inFlightCount = 0, this.stats = {
2143
2164
  requests: 0,
@@ -2283,15 +2304,15 @@ class Ss {
2283
2304
  const i = e ?? "", o = this.iconRegistry.get(t);
2284
2305
  if (o) {
2285
2306
  const s = `r:${t}:${i}`;
2286
- return this.svgDataUrlCache.has(s) || this.svgDataUrlCache.set(s, br(o, e)), {
2307
+ return this.svgDataUrlCache.has(s) || this.svgDataUrlCache.set(s, Fr(o, e)), {
2287
2308
  key: s,
2288
2309
  url: this.svgDataUrlCache.get(s)
2289
2310
  };
2290
2311
  }
2291
2312
  const n = t.trimStart();
2292
2313
  if (n.startsWith("<svg")) {
2293
- const s = `s:${ws(n)}:${i}`;
2294
- return this.svgDataUrlCache.has(s) || this.svgDataUrlCache.set(s, br(n, e)), {
2314
+ const s = `s:${Ss(n)}:${i}`;
2315
+ return this.svgDataUrlCache.has(s) || this.svgDataUrlCache.set(s, Fr(n, e)), {
2295
2316
  key: s,
2296
2317
  url: this.svgDataUrlCache.get(s)
2297
2318
  };
@@ -2323,63 +2344,63 @@ class Ss {
2323
2344
  this.loadListeners.forEach((t) => t());
2324
2345
  }
2325
2346
  }
2326
- const Bt = new Ss();
2327
- function As(r) {
2347
+ const Bt = new As();
2348
+ function Ts(r) {
2328
2349
  return Bt.onLoad(r);
2329
2350
  }
2330
- function Cu(r, t = {}) {
2351
+ function vu(r, t = {}) {
2331
2352
  Bt.register(r, t);
2332
2353
  }
2333
- function Ts(r, t, e) {
2354
+ function Es(r, t, e) {
2334
2355
  return Bt.getSprite(r, t, e);
2335
2356
  }
2336
- function Es(r, t) {
2357
+ function Ds(r, t) {
2337
2358
  Bt.preload(r, t);
2338
2359
  }
2339
- function Ds(r, t, e, i, o, n) {
2360
+ function Is(r, t, e, i, o, n) {
2340
2361
  Bt.draw(r, t, e, i, o, n);
2341
2362
  }
2342
- function Is(r, t) {
2363
+ function Hs(r, t) {
2343
2364
  return Bt.getImageDirect(r);
2344
2365
  }
2345
- function vu() {
2366
+ function pu() {
2346
2367
  return Bt.getStats();
2347
2368
  }
2348
2369
  function mu() {
2349
2370
  Bt.clearSpriteCache();
2350
2371
  }
2351
- const pu = Ds;
2372
+ const yu = Is;
2352
2373
  function Ct(r, t, e, i, o, n) {
2353
2374
  if (!t || o <= 0)
2354
2375
  return;
2355
- const s = Ts(t, o, n);
2376
+ const s = Es(t, o, n);
2356
2377
  if (s) {
2357
2378
  r.drawImage(s, e, i, o, o);
2358
2379
  return;
2359
2380
  }
2360
- const a = Is(t);
2381
+ const a = Hs(t);
2361
2382
  a && r.drawImage(a, e, i, o, o);
2362
2383
  }
2363
- function Hs(r, t, e, i, o, n, s, a = "primary", l = !1, h = !1, d, c, u, f = ho) {
2364
- const g = de, v = o - g * 2, C = Math.min(v - fe, us), x = s.baseFontFull, m = u ? mo(u, n, x) : 0, F = po(i, m, C, f, d, c), b = e + g, S = Jt(h, {
2384
+ function Ls(r, t, e, i, o, n, s, a = "primary", l = !1, h = !1, d, c, u, f = fo) {
2385
+ const g = de, v = o - g * 2, C = Math.min(v - fe, hs), x = s.baseFontFull, p = u ? mo(u, n, x) : 0, F = yo(i, p, C, f, d, c), b = e + g, S = Jt(h, {
2365
2386
  x: t,
2366
2387
  y: e,
2367
2388
  width: F,
2368
2389
  height: o
2369
- }), y = bo(s, a, l, S), I = t + F * 0.5, A = b + v * 0.5;
2370
- r.roundedRect(t, b, F, v, uo, {
2390
+ }), y = Fo(s, a, l, S), I = t + F * 0.5, A = b + v * 0.5;
2391
+ r.roundedRect(t, b, F, v, ho, {
2371
2392
  fillStyle: y.bgColor,
2372
2393
  strokeStyle: y.borderColor,
2373
- lineWidth: Lt
2394
+ lineWidth: Pt
2374
2395
  });
2375
- const L = yo(m, C, f, d, c);
2376
- let R = I - L * 0.5;
2396
+ const P = bo(p, C, f, d, c);
2397
+ let R = I - P * 0.5;
2377
2398
  if (d) {
2378
2399
  const lt = A - C * 0.5;
2379
2400
  Ct(r, d, R, lt, C, y.textColor), R += C + f;
2380
2401
  }
2381
2402
  if (r.fillText(n, R, A, x, y.textColor, "middle", "left"), c) {
2382
- const lt = R + m + f, N = A - C * 0.5;
2403
+ const lt = R + p + f, N = A - C * 0.5;
2383
2404
  Ct(r, c, lt, N, C, y.textColor);
2384
2405
  }
2385
2406
  return {
@@ -2390,41 +2411,41 @@ function Hs(r, t, e, i, o, n, s, a = "primary", l = !1, h = !1, d, c, u, f = ho)
2390
2411
  actualWidth: F
2391
2412
  };
2392
2413
  }
2393
- function Ps(r, t, e, i, o, n = Bi, s = Li, a = !1, l = !1, h, d, c, u = ho, f) {
2394
- const g = nt[s], v = f ? f[n] : Pi[n], C = `${g.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`, x = c ? mo(c, o, C) : 0, m = po(i, x, g.iconSize, u, h, d), F = Jt(l, {
2414
+ function Ps(r, t, e, i, o, n = Bi, s = Pi, a = !1, l = !1, h, d, c, u = fo, f) {
2415
+ const g = nt[s], v = f ? f[n] : Li[n], C = `${g.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`, x = c ? mo(c, o, C) : 0, p = yo(i, x, g.iconSize, u, h, d), F = Jt(l, {
2395
2416
  x: t,
2396
2417
  y: e,
2397
- width: m,
2418
+ width: p,
2398
2419
  height: g.height
2399
- }), b = Fo(v, a, F), S = t + m * 0.5, y = e + g.height * 0.5;
2400
- b.bgColor !== "transparent" ? r.roundedRect(t, e, m, g.height, g.borderRadius, {
2420
+ }), b = xo(v, a, F), S = t + p * 0.5, y = e + g.height * 0.5;
2421
+ b.bgColor !== "transparent" ? r.roundedRect(t, e, p, g.height, g.borderRadius, {
2401
2422
  fillStyle: b.bgColor,
2402
2423
  strokeStyle: b.borderColor !== "transparent" ? b.borderColor : void 0,
2403
- lineWidth: b.borderColor !== "transparent" ? Lt : 0
2404
- }) : b.borderColor !== "transparent" && r.roundedRect(t, e, m, g.height, g.borderRadius, {
2424
+ lineWidth: b.borderColor !== "transparent" ? Pt : 0
2425
+ }) : b.borderColor !== "transparent" && r.roundedRect(t, e, p, g.height, g.borderRadius, {
2405
2426
  fillStyle: b.bgColor,
2406
2427
  strokeStyle: b.borderColor,
2407
- lineWidth: Lt
2428
+ lineWidth: Pt
2408
2429
  });
2409
- const I = yo(x, g.iconSize, u, h, d);
2430
+ const I = bo(x, g.iconSize, u, h, d);
2410
2431
  let A = S - I * 0.5;
2411
2432
  if (h) {
2412
- const L = y - g.iconSize * 0.5;
2413
- Ct(r, h, A, L, g.iconSize, b.textColor), A += g.iconSize + u;
2433
+ const P = y - g.iconSize * 0.5;
2434
+ Ct(r, h, A, P, g.iconSize, b.textColor), A += g.iconSize + u;
2414
2435
  }
2415
2436
  if (r.fillText(o, A, y, C, b.textColor, "middle", "left"), d) {
2416
- const L = A + x + u, R = y - g.iconSize * 0.5;
2417
- Ct(r, d, L, R, g.iconSize, b.textColor);
2437
+ const P = A + x + u, R = y - g.iconSize * 0.5;
2438
+ Ct(r, d, P, R, g.iconSize, b.textColor);
2418
2439
  }
2419
2440
  return {
2420
2441
  x: t,
2421
2442
  y: e,
2422
- width: m,
2443
+ width: p,
2423
2444
  height: g.height,
2424
- actualWidth: m
2445
+ actualWidth: p
2425
2446
  };
2426
2447
  }
2427
- const Ls = {
2448
+ const Bs = {
2428
2449
  100: "FF",
2429
2450
  90: "E6",
2430
2451
  80: "CC",
@@ -2438,7 +2459,7 @@ const Ls = {
2438
2459
  20: "33",
2439
2460
  10: "1A",
2440
2461
  0: "00"
2441
- }, Bs = (r, t) => r.length !== 6 ? r : r.slice(0, 4) + Ls[t], Vt = "transparent", ks = Object.fromEntries(Object.entries(Pi).map(([r, t]) => r === "secondary" ? [r, {
2462
+ }, ks = (r, t) => r.length !== 6 ? r : r.slice(0, 4) + Bs[t], Vt = "transparent", zs = Object.fromEntries(Object.entries(Li).map(([r, t]) => r === "secondary" ? [r, {
2442
2463
  bgColor: Vt,
2443
2464
  borderColor: Vt,
2444
2465
  textColor: "#485056B0",
@@ -2453,41 +2474,41 @@ const Ls = {
2453
2474
  iconColor: t.bgColor,
2454
2475
  iconColorHovered: t.bgColorHover
2455
2476
  }]));
2456
- function zs(r, t, e, i, o = Bi, n = Li, s = !1, a = !1, l) {
2457
- const h = nt[n], d = ks[o], c = (l == null ? void 0 : l.overrideSquareSize) ?? h.height, u = (l == null ? void 0 : l.overrideIconSize) ?? h.iconSize, f = Jt(a, {
2477
+ function _s(r, t, e, i, o = Bi, n = Pi, s = !1, a = !1, l) {
2478
+ const h = nt[n], d = zs[o], c = (l == null ? void 0 : l.overrideSquareSize) ?? h.height, u = (l == null ? void 0 : l.overrideIconSize) ?? h.iconSize, f = Jt(a, {
2458
2479
  x: t,
2459
2480
  y: e,
2460
2481
  width: c,
2461
2482
  height: c
2462
- }), g = d, v = t + c * 0.5, C = e + c * 0.5, x = v - u * 0.5, m = C - u * 0.5;
2483
+ }), g = d, v = t + c * 0.5, C = e + c * 0.5, x = v - u * 0.5, p = C - u * 0.5;
2463
2484
  g.bgColor !== "transparent" ? r.roundedRect(t, e, c, c, h.borderRadius, {
2464
2485
  fillStyle: g.bgColor,
2465
2486
  strokeStyle: g.borderColor !== "transparent" ? g.borderColor : void 0,
2466
- lineWidth: g.borderColor !== "transparent" ? Lt : 0
2487
+ lineWidth: g.borderColor !== "transparent" ? Pt : 0
2467
2488
  }) : g.borderColor !== "transparent" && r.roundedRect(t, e, c, c, h.borderRadius, {
2468
2489
  fillStyle: g.bgColor,
2469
2490
  strokeStyle: g.borderColor,
2470
- lineWidth: Lt
2491
+ lineWidth: Pt
2471
2492
  });
2472
- const F = (l == null ? void 0 : l.iconColor) ?? g.iconColor, b = (l == null ? void 0 : l.iconColorHovered) ?? (l == null ? void 0 : l.iconColor) ?? g.iconColorHovered, S = s ? Bs(F, 40) : f ? b : F;
2473
- return Ct(r, i, x, m, u, S), {
2493
+ const F = (l == null ? void 0 : l.iconColor) ?? g.iconColor, b = (l == null ? void 0 : l.iconColorHovered) ?? (l == null ? void 0 : l.iconColor) ?? g.iconColorHovered, S = s ? ks(F, 40) : f ? b : F;
2494
+ return Ct(r, i, x, p, u, S), {
2474
2495
  x: t,
2475
2496
  y: e,
2476
2497
  width: c,
2477
2498
  height: c
2478
2499
  };
2479
2500
  }
2480
- function wo(r, t, e, i, o, n, s, a = "primary", l = !1, h = !1) {
2481
- const d = de, c = o - d * 2, u = Math.min(c - fe, co), f = i === "auto" ? u : i, g = e + d, v = Jt(h, {
2501
+ function So(r, t, e, i, o, n, s, a = "primary", l = !1, h = !1) {
2502
+ const d = de, c = o - d * 2, u = Math.min(c - fe, uo), f = i === "auto" ? u : i, g = e + d, v = Jt(h, {
2482
2503
  x: t,
2483
2504
  y: e,
2484
2505
  width: f,
2485
2506
  height: o
2486
- }), C = bo(s, a, l, v), x = t + f * 0.5, m = g + c * 0.5, F = x - u * 0.5, b = m - u * 0.5;
2487
- return r.roundedRect(t, g, f, c, uo, {
2507
+ }), C = Fo(s, a, l, v), x = t + f * 0.5, p = g + c * 0.5, F = x - u * 0.5, b = p - u * 0.5;
2508
+ return r.roundedRect(t, g, f, c, ho, {
2488
2509
  fillStyle: C.bgColor,
2489
2510
  strokeStyle: C.borderColor,
2490
- lineWidth: Lt
2511
+ lineWidth: Pt
2491
2512
  }), Ct(r, n, F, b, u, C.iconColor), {
2492
2513
  x: t,
2493
2514
  y: g,
@@ -2495,21 +2516,21 @@ function wo(r, t, e, i, o, n, s, a = "primary", l = !1, h = !1) {
2495
2516
  height: c
2496
2517
  };
2497
2518
  }
2498
- function _s(r, t, e, i, o = Bi, n = Li, s = !1, a = !1) {
2499
- const l = nt[n], h = Pi[o], d = l.height, c = Jt(a, {
2519
+ function Ms(r, t, e, i, o = Bi, n = Pi, s = !1, a = !1) {
2520
+ const l = nt[n], h = Li[o], d = l.height, c = Jt(a, {
2500
2521
  x: t,
2501
2522
  y: e,
2502
2523
  width: d,
2503
2524
  height: d
2504
- }), u = Fo(h, s, c), f = t + d * 0.5, g = e + d * 0.5, v = f - l.iconSize * 0.5, C = g - l.iconSize * 0.5;
2525
+ }), u = xo(h, s, c), f = t + d * 0.5, g = e + d * 0.5, v = f - l.iconSize * 0.5, C = g - l.iconSize * 0.5;
2505
2526
  return u.bgColor !== "transparent" ? r.roundedRect(t, e, d, d, l.borderRadius, {
2506
2527
  fillStyle: u.bgColor,
2507
2528
  strokeStyle: u.borderColor !== "transparent" ? u.borderColor : void 0,
2508
- lineWidth: u.borderColor !== "transparent" ? Lt : 0
2529
+ lineWidth: u.borderColor !== "transparent" ? Pt : 0
2509
2530
  }) : u.borderColor !== "transparent" && r.roundedRect(t, e, d, d, l.borderRadius, {
2510
2531
  fillStyle: u.bgColor,
2511
2532
  strokeStyle: u.borderColor,
2512
- lineWidth: Lt
2533
+ lineWidth: Pt
2513
2534
  }), Ct(r, i, v, C, l.iconSize, u.iconColor), {
2514
2535
  x: t,
2515
2536
  y: e,
@@ -2517,7 +2538,7 @@ function _s(r, t, e, i, o = Bi, n = Li, s = !1, a = !1) {
2517
2538
  height: d
2518
2539
  };
2519
2540
  }
2520
- const Fr = {
2541
+ const xr = {
2521
2542
  xs: {
2522
2543
  height: 16,
2523
2544
  fontSize: 10,
@@ -2543,7 +2564,7 @@ const Fr = {
2543
2564
  borderRadius: 7
2544
2565
  }
2545
2566
  };
2546
- function Ms(r) {
2567
+ function Rs(r) {
2547
2568
  return {
2548
2569
  default: {
2549
2570
  bgColor: r.surfaceSolidDefault,
@@ -2589,19 +2610,19 @@ function Ms(r) {
2589
2610
  }
2590
2611
  };
2591
2612
  }
2592
- const Rs = "|", Te = 6, xr = /* @__PURE__ */ new Map(), wr = {
2613
+ const Ns = "|", Te = 6, wr = /* @__PURE__ */ new Map(), Sr = {
2593
2614
  xs: 10,
2594
2615
  s: 12,
2595
2616
  m: 14,
2596
2617
  l: 16
2597
2618
  };
2598
- class Ns extends At {
2619
+ class Os extends At {
2599
2620
  constructor(t, e, i) {
2600
2621
  var o;
2601
- super(t), this.view = "default", this.size = "s", this.transparent = !1, this.clear = !1, this.pilled = !1, this.viewColors = {}, this.text = e, i && (i.view !== void 0 && (this.view = i.view), i.size !== void 0 && (this.size = i.size), i.transparent !== void 0 && (this.transparent = i.transparent), i.clear !== void 0 && (this.clear = i.clear), i.pilled !== void 0 && (this.pilled = i.pilled), this.leftIcon = i.leftIcon, this.rightIcon = i.rightIcon, this.customColor = i.customColor, this.customBackgroundColor = i.customBackgroundColor, (o = i.theme) != null && o.tokens && (this.viewColors = Ms(i.theme.tokens)));
2622
+ super(t), this.view = "default", this.size = "s", this.transparent = !1, this.clear = !1, this.pilled = !1, this.viewColors = {}, this.text = e, i && (i.view !== void 0 && (this.view = i.view), i.size !== void 0 && (this.size = i.size), i.transparent !== void 0 && (this.transparent = i.transparent), i.clear !== void 0 && (this.clear = i.clear), i.pilled !== void 0 && (this.pilled = i.pilled), this.leftIcon = i.leftIcon, this.rightIcon = i.rightIcon, this.customColor = i.customColor, this.customBackgroundColor = i.customBackgroundColor, (o = i.theme) != null && o.tokens && (this.viewColors = Rs(i.theme.tokens)));
2602
2623
  }
2603
2624
  measure(t) {
2604
- const e = Fr[this.size], i = wr[this.size], o = `${e.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`, n = Sr(t, o, this.text);
2625
+ const e = xr[this.size], i = Sr[this.size], o = `${e.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`, n = Ar(t, o, this.text);
2605
2626
  let s = 0;
2606
2627
  this.leftIcon && (s += i + Te), this.rightIcon && (s += i + Te), this.rect.width = n + s + e.paddingX * 2, this.rect.height = e.height;
2607
2628
  }
@@ -2611,7 +2632,7 @@ class Ns extends At {
2611
2632
  y: o,
2612
2633
  width: n,
2613
2634
  height: s
2614
- } = this.rect, a = Fr[this.size], l = wr[this.size], h = this.viewColors[this.view];
2635
+ } = this.rect, a = xr[this.size], l = Sr[this.size], h = this.viewColors[this.view];
2615
2636
  if (!h)
2616
2637
  return;
2617
2638
  const d = `${a.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`;
@@ -2629,17 +2650,17 @@ class Ns extends At {
2629
2650
  Ct(t, this.leftIcon, g, v, l, u), g += l + Te;
2630
2651
  }
2631
2652
  if (t.fillText(this.text, g, f, d, u, "middle"), this.rightIcon) {
2632
- const v = Sr(e, d, this.text), C = g + v + Te, x = f - l / 2;
2653
+ const v = Ar(e, d, this.text), C = g + v + Te, x = f - l / 2;
2633
2654
  Ct(t, this.rightIcon, C, x, l, u);
2634
2655
  }
2635
2656
  }
2636
2657
  }
2637
- function Sr(r, t, e) {
2638
- const i = `${t}${Rs}${e}`;
2639
- let o = xr.get(i);
2640
- return o === void 0 && (r.font = t, o = r.measureText(e).width, xr.set(i, o)), o;
2658
+ function Ar(r, t, e) {
2659
+ const i = `${t}${Ns}${e}`;
2660
+ let o = wr.get(i);
2661
+ return o === void 0 && (r.font = t, o = r.measureText(e).width, wr.set(i, o)), o;
2641
2662
  }
2642
- const Os = "default", Ws = "s", ri = "pointer", Ee = 8, Gs = {
2663
+ const Ws = "default", Gs = "s", ri = "pointer", Ee = 8, $s = {
2643
2664
  accentColor: "#1e88e5",
2644
2665
  accentLight: "rgba(30, 136, 229, 0.16)",
2645
2666
  accentFg: "#ffffff",
@@ -2647,14 +2668,14 @@ const Os = "default", Ws = "s", ri = "pointer", Ee = 8, Gs = {
2647
2668
  borderColor: "#e0e0e0",
2648
2669
  textLight: "#9e9e9e",
2649
2670
  baseFontFull: "13px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"
2650
- }, Ar = /* @__PURE__ */ new Map();
2651
- class $s extends At {
2671
+ }, Tr = /* @__PURE__ */ new Map();
2672
+ class Us extends At {
2652
2673
  constructor(t, e, i) {
2653
2674
  var o;
2654
- super(t), this.variant = "primary", this.view = Os, this.size = Ws, this.disabled = !1, this.isHovered = !1, this.useNewApi = !1, this.text = e, super.style = {
2675
+ super(t), this.variant = "primary", this.view = Ws, this.size = Gs, this.disabled = !1, this.isHovered = !1, this.useNewApi = !1, this.text = e, super.style = {
2655
2676
  ...super.style,
2656
2677
  cursor: ri
2657
- }, i && (i.view !== void 0 ? (this.view = i.view, this.useNewApi = !0) : i.variant !== void 0 && (this.variant = i.variant), i.size !== void 0 && (this.size = i.size, this.useNewApi = !0), this.leftIcon = i.leftIcon, this.rightIcon = i.rightIcon, i.disabled !== void 0 && (this.disabled = i.disabled), i.onClick && (this.onClick = i.onClick), (o = i.theme) != null && o.tokens && (this.viewColors = cs(i.theme.tokens)));
2678
+ }, i && (i.view !== void 0 ? (this.view = i.view, this.useNewApi = !0) : i.variant !== void 0 && (this.variant = i.variant), i.size !== void 0 && (this.size = i.size, this.useNewApi = !0), this.leftIcon = i.leftIcon, this.rightIcon = i.rightIcon, i.disabled !== void 0 && (this.disabled = i.disabled), i.onClick && (this.onClick = i.onClick), (o = i.theme) != null && o.tokens && (this.viewColors = us(i.theme.tokens)));
2658
2679
  }
2659
2680
  set style(t) {
2660
2681
  super.style = {
@@ -2668,7 +2689,7 @@ class $s extends At {
2668
2689
  return t.cursor || (t.cursor = ri), t;
2669
2690
  }
2670
2691
  measure(t) {
2671
- const e = nt[this.size], i = `${e.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`, o = Us(t, this.text, i);
2692
+ const e = nt[this.size], i = `${e.fontSize}px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`, o = Xs(t, this.text, i);
2672
2693
  let n = 0;
2673
2694
  this.leftIcon && (n += e.iconSize + Ee), this.rightIcon && (n += e.iconSize + Ee), this.rect.width = o + n + e.paddingX * 2, this.rect.height = e.height;
2674
2695
  }
@@ -2682,7 +2703,7 @@ class $s extends At {
2682
2703
  Ps(t, i, o, n, this.text, this.view, this.size, this.disabled, this.isHovered, this.leftIcon, this.rightIcon, e, Ee, this.viewColors);
2683
2704
  else {
2684
2705
  const s = nt[this.size];
2685
- Hs(t, i, o, n, s.height, this.text, Gs, this.variant, this.disabled, this.isHovered, this.leftIcon, this.rightIcon, e, Ee);
2706
+ Ls(t, i, o, n, s.height, this.text, $s, this.variant, this.disabled, this.isHovered, this.leftIcon, this.rightIcon, e, Ee);
2686
2707
  }
2687
2708
  }
2688
2709
  onMouseEnter() {
@@ -2692,12 +2713,12 @@ class $s extends At {
2692
2713
  this.isHovered = !1;
2693
2714
  }
2694
2715
  }
2695
- function Us(r, t, e) {
2716
+ function Xs(r, t, e) {
2696
2717
  const i = `${e}|${t}`;
2697
- let o = Ar.get(i);
2698
- return o === void 0 && (r.font = e, o = r.measureText(t).width, Ar.set(i, o)), o;
2718
+ let o = Tr.get(i);
2719
+ return o === void 0 && (r.font = e, o = r.measureText(t).width, Tr.set(i, o)), o;
2699
2720
  }
2700
- const Tr = 16, Er = "black", Dr = 0, Xs = Math.PI / 2, Vs = 1.8, Yt = {
2721
+ const Er = 16, Dr = "black", Ir = 0, Vs = Math.PI / 2, Ys = 1.8, Yt = {
2701
2722
  startX: -3.5,
2702
2723
  startY: -4.25,
2703
2724
  middleX: 2.75,
@@ -2705,9 +2726,9 @@ const Tr = 16, Er = "black", Dr = 0, Xs = Math.PI / 2, Vs = 1.8, Yt = {
2705
2726
  endX: -3.5,
2706
2727
  endY: 4.25
2707
2728
  };
2708
- class yu extends At {
2729
+ class bu extends At {
2709
2730
  constructor(t, e = {}) {
2710
- super(t), this.rotation = Dr, this.color = Er, this.rotation = e.rotation ?? Dr, this.color = e.color ?? Er, this.rect.width = Tr, this.rect.height = Tr;
2731
+ super(t), this.rotation = Ir, this.color = Dr, this.rotation = e.rotation ?? Ir, this.color = e.color ?? Dr, this.rect.width = Er, this.rect.height = Er;
2711
2732
  }
2712
2733
  measure(t) {
2713
2734
  }
@@ -2717,13 +2738,13 @@ class yu extends At {
2717
2738
  y: o,
2718
2739
  width: n,
2719
2740
  height: s
2720
- } = this.rect, a = i + n / 2, l = o + s / 2, h = this.rotation * Xs;
2741
+ } = this.rect, a = i + n / 2, l = o + s / 2, h = this.rotation * Vs;
2721
2742
  t.custom((d) => {
2722
- d.save(), d.translate(a, l), d.rotate(h), d.strokeStyle = this.color, d.lineWidth = Vs, d.lineCap = "round", d.lineJoin = "round", d.beginPath(), d.moveTo(Yt.startX, Yt.startY), d.lineTo(Yt.middleX, Yt.middleY), d.lineTo(Yt.endX, Yt.endY), d.stroke(), d.restore();
2743
+ d.save(), d.translate(a, l), d.rotate(h), d.strokeStyle = this.color, d.lineWidth = Ys, d.lineCap = "round", d.lineJoin = "round", d.beginPath(), d.moveTo(Yt.startX, Yt.startY), d.lineTo(Yt.middleX, Yt.middleY), d.lineTo(Yt.endX, Yt.endY), d.stroke(), d.restore();
2723
2744
  });
2724
2745
  }
2725
2746
  }
2726
- const Ys = 28, qs = "default", Ks = "s", Zs = "pointer", js = 20, Js = {
2747
+ const Ks = 28, qs = "default", Zs = "s", js = "pointer", Js = 20, Qs = {
2727
2748
  accentColor: "#1e88e5",
2728
2749
  accentLight: "rgba(30, 136, 229, 0.16)",
2729
2750
  accentFg: "#ffffff",
@@ -2731,9 +2752,9 @@ const Ys = 28, qs = "default", Ks = "s", Zs = "pointer", js = 20, Js = {
2731
2752
  borderColor: "#e0e0e0",
2732
2753
  textLight: "#9e9e9e"
2733
2754
  };
2734
- class Ir extends At {
2755
+ class Hr extends At {
2735
2756
  constructor(t, e, i) {
2736
- super(t), this.view = qs, this.buttonSize = Ks, this.isHovered = !1, this.useNewApi = !1, this.getDisabled = () => this.disabled ? "default" : Zs, this.icon = e, this.size = (i == null ? void 0 : i.size) ?? "auto", this.variant = (i == null ? void 0 : i.variant) ?? "primary", this.disabled = (i == null ? void 0 : i.disabled) ?? !1, super.style = {
2757
+ super(t), this.view = qs, this.buttonSize = Zs, this.isHovered = !1, this.useNewApi = !1, this.getDisabled = () => this.disabled ? "default" : js, this.icon = e, this.size = (i == null ? void 0 : i.size) ?? "auto", this.variant = (i == null ? void 0 : i.variant) ?? "primary", this.disabled = (i == null ? void 0 : i.disabled) ?? !1, super.style = {
2737
2758
  ...super.style,
2738
2759
  cursor: this.getDisabled()
2739
2760
  }, (i == null ? void 0 : i.view) !== void 0 && (this.view = i.view, this.useNewApi = !0), (i == null ? void 0 : i.buttonSize) !== void 0 && (this.buttonSize = i.buttonSize, this.useNewApi = !0), (i == null ? void 0 : i.overrideSquareSize) !== void 0 && (this.overrideSquareSize = i.overrideSquareSize), (i == null ? void 0 : i.overrideIconSize) !== void 0 && (this.overrideIconSize = i.overrideIconSize), (i == null ? void 0 : i.iconColor) !== void 0 && (this.iconColor = i.iconColor), (i == null ? void 0 : i.iconColorHovered) !== void 0 && (this.iconColorHovered = i.iconColorHovered), i != null && i.onClick && (this.onClick = (o) => {
@@ -2757,7 +2778,7 @@ class Ir extends At {
2757
2778
  const e = nt[this.buttonSize], i = this.overrideSquareSize ?? e.height;
2758
2779
  this.rect.height = i, this.rect.width = i;
2759
2780
  } else {
2760
- const e = Hr(this.size);
2781
+ const e = Lr(this.size);
2761
2782
  this.rect.height = e.height, this.rect.width = e.width;
2762
2783
  }
2763
2784
  }
@@ -2775,12 +2796,12 @@ class Ir extends At {
2775
2796
  iconColor: this.iconColor,
2776
2797
  iconColorHovered: this.iconColorHovered
2777
2798
  } : void 0;
2778
- if (zs(t, i, o, this.icon, this.view, this.buttonSize, this.disabled, this.isHovered, a), Zt.DEBUG) {
2799
+ if (_s(t, i, o, this.icon, this.view, this.buttonSize, this.disabled, this.isHovered, a), Zt.DEBUG) {
2779
2800
  const l = nt[this.buttonSize], h = this.overrideSquareSize ?? l.height, d = this.overrideIconSize ?? l.iconSize, c = i + (h - d) * 0.5, u = o + (h - d) * 0.5;
2780
2801
  t.strokeRect(c, u, d, d, "cyan", 1);
2781
2802
  }
2782
2803
  } else
2783
- wo(t, i, o, n, s, this.icon, Js, this.variant, this.disabled, this.isHovered);
2804
+ So(t, i, o, n, s, this.icon, Qs, this.variant, this.disabled, this.isHovered);
2784
2805
  }
2785
2806
  onMouseEnter() {
2786
2807
  this.isHovered = !0;
@@ -2800,12 +2821,12 @@ class Ir extends At {
2800
2821
  };
2801
2822
  return Pr(t, e, a);
2802
2823
  }
2803
- const i = Hr(this.size, this.rect.height), o = Qs(this.rect.x, this.rect.y, i);
2824
+ const i = Lr(this.size, this.rect.height), o = ta(this.rect.x, this.rect.y, i);
2804
2825
  return Pr(t, e, o);
2805
2826
  }
2806
2827
  }
2807
- function Hr(r, t) {
2808
- const e = typeof r == "number" ? r : t ?? Ys, i = 0, o = de, n = Math.min(e - o * 2 - fe, js), s = typeof r == "number" ? r : n + i * 2;
2828
+ function Lr(r, t) {
2829
+ const e = typeof r == "number" ? r : t ?? Ks, i = 0, o = de, n = Math.min(e - o * 2 - fe, Js), s = typeof r == "number" ? r : n + i * 2;
2809
2830
  return {
2810
2831
  height: e,
2811
2832
  width: s,
@@ -2814,7 +2835,7 @@ function Hr(r, t) {
2814
2835
  iconSize: n
2815
2836
  };
2816
2837
  }
2817
- function Qs(r, t, e) {
2838
+ function ta(r, t, e) {
2818
2839
  return {
2819
2840
  x: r + e.paddingX,
2820
2841
  y: t + e.paddingY,
@@ -2825,10 +2846,10 @@ function Qs(r, t, e) {
2825
2846
  function Pr(r, t, e) {
2826
2847
  return r >= e.x && r <= e.x + e.width && t >= e.y && t <= e.y + e.height;
2827
2848
  }
2828
- const ta = 16, ea = "transparent";
2829
- class ia extends At {
2849
+ const ea = 16, ia = "transparent";
2850
+ class ra extends At {
2830
2851
  constructor(t, e, i) {
2831
- super(t), this.icon = e, this.size = (i == null ? void 0 : i.size) ?? ta, this.color = i == null ? void 0 : i.color;
2852
+ super(t), this.icon = e, this.size = (i == null ? void 0 : i.size) ?? ea, this.color = i == null ? void 0 : i.color;
2832
2853
  }
2833
2854
  measure(t) {
2834
2855
  this.rect.width = this.size, this.rect.height = this.size;
@@ -2840,10 +2861,10 @@ class ia extends At {
2840
2861
  width: n,
2841
2862
  height: s
2842
2863
  } = this.rect;
2843
- this.backgroundColor && this.backgroundColor !== ea && t.fillRect(i, o, n, s, this.backgroundColor), Ct(t, this.icon, i, o, this.size, this.color);
2864
+ this.backgroundColor && this.backgroundColor !== ia && t.fillRect(i, o, n, s, this.backgroundColor), Ct(t, this.icon, i, o, this.size, this.color);
2844
2865
  }
2845
2866
  }
2846
- const ra = 28, oa = "default", na = "s", oi = "pointer", sa = 20, aa = {
2867
+ const oa = 28, na = "default", sa = "s", oi = "pointer", aa = 20, la = {
2847
2868
  accentColor: "#1e88e5",
2848
2869
  accentLight: "rgba(30, 136, 229, 0.16)",
2849
2870
  accentFg: "#ffffff",
@@ -2851,9 +2872,9 @@ const ra = 28, oa = "default", na = "s", oi = "pointer", sa = 20, aa = {
2851
2872
  borderColor: "#e0e0e0",
2852
2873
  textLight: "#9e9e9e"
2853
2874
  };
2854
- class la extends At {
2875
+ class ca extends At {
2855
2876
  constructor(t, e, i) {
2856
- super(t), this.view = oa, this.buttonSize = na, this.isHovered = !1, this.useNewApi = !1, this.icon = e, this.size = (i == null ? void 0 : i.size) ?? "auto", this.variant = (i == null ? void 0 : i.variant) ?? "primary", this.disabled = (i == null ? void 0 : i.disabled) ?? !1, super.style = {
2877
+ super(t), this.view = na, this.buttonSize = sa, this.isHovered = !1, this.useNewApi = !1, this.icon = e, this.size = (i == null ? void 0 : i.size) ?? "auto", this.variant = (i == null ? void 0 : i.variant) ?? "primary", this.disabled = (i == null ? void 0 : i.disabled) ?? !1, super.style = {
2857
2878
  ...super.style,
2858
2879
  cursor: oi
2859
2880
  }, (i == null ? void 0 : i.view) !== void 0 && (this.view = i.view, this.useNewApi = !0), (i == null ? void 0 : i.buttonSize) !== void 0 && (this.buttonSize = i.buttonSize, this.useNewApi = !0), i != null && i.onClick && (this.onClick = (o) => {
@@ -2877,7 +2898,7 @@ class la extends At {
2877
2898
  const e = nt[this.buttonSize];
2878
2899
  this.rect.height = e.height, this.rect.width = e.height;
2879
2900
  } else {
2880
- const e = Lr(this.size);
2901
+ const e = Br(this.size);
2881
2902
  this.rect.height = e.height, this.rect.width = e.width;
2882
2903
  }
2883
2904
  }
@@ -2888,7 +2909,7 @@ class la extends At {
2888
2909
  width: n,
2889
2910
  height: s
2890
2911
  } = this.rect;
2891
- this.useNewApi ? _s(t, i, o, this.icon, this.view, this.buttonSize, this.disabled, this.isHovered) : wo(t, i, o, n, s, this.icon, aa, this.variant, this.disabled, this.isHovered);
2912
+ this.useNewApi ? Ms(t, i, o, this.icon, this.view, this.buttonSize, this.disabled, this.isHovered) : So(t, i, o, n, s, this.icon, la, this.variant, this.disabled, this.isHovered);
2892
2913
  }
2893
2914
  onMouseEnter() {
2894
2915
  this.isHovered = !0;
@@ -2906,14 +2927,14 @@ class la extends At {
2906
2927
  width: n.height,
2907
2928
  height: n.height
2908
2929
  };
2909
- return Br(t, e, s);
2930
+ return kr(t, e, s);
2910
2931
  }
2911
- const i = Lr(this.size, this.rect.height), o = ca(this.rect.x, this.rect.y, i);
2912
- return Br(t, e, o);
2932
+ const i = Br(this.size, this.rect.height), o = ua(this.rect.x, this.rect.y, i);
2933
+ return kr(t, e, o);
2913
2934
  }
2914
2935
  }
2915
- function Lr(r, t) {
2916
- const e = typeof r == "number" ? r : t ?? ra, i = 0, o = de, n = Math.min(e - o * 2 - fe, sa), s = typeof r == "number" ? r : n + i * 2;
2936
+ function Br(r, t) {
2937
+ const e = typeof r == "number" ? r : t ?? oa, i = 0, o = de, n = Math.min(e - o * 2 - fe, aa), s = typeof r == "number" ? r : n + i * 2;
2917
2938
  return {
2918
2939
  height: e,
2919
2940
  width: s,
@@ -2922,7 +2943,7 @@ function Lr(r, t) {
2922
2943
  iconSize: n
2923
2944
  };
2924
2945
  }
2925
- function ca(r, t, e) {
2946
+ function ua(r, t, e) {
2926
2947
  return {
2927
2948
  x: r + e.paddingX,
2928
2949
  y: t + e.paddingY,
@@ -2930,13 +2951,13 @@ function ca(r, t, e) {
2930
2951
  height: e.height - e.paddingY * 2
2931
2952
  };
2932
2953
  }
2933
- function Br(r, t, e) {
2954
+ function kr(r, t, e) {
2934
2955
  return r >= e.x && r <= e.x + e.width && t >= e.y && t <= e.y + e.height;
2935
2956
  }
2936
- const re = "transparent", ua = 0;
2937
- class ha extends At {
2957
+ const re = "transparent", ha = 0;
2958
+ class da extends At {
2938
2959
  constructor(t, e = re) {
2939
- super(t), this.color = re, this.borderColor = re, this.borderWidth = ua, this.color = e;
2960
+ super(t), this.color = re, this.borderColor = re, this.borderWidth = ha, this.color = e;
2940
2961
  }
2941
2962
  measure(t) {
2942
2963
  const {
@@ -2958,14 +2979,14 @@ class ha extends At {
2958
2979
  }
2959
2980
  }
2960
2981
  }
2961
- const So = "|", da = 2, fa = 1e4, Ci = /* @__PURE__ */ new Map(), vi = /* @__PURE__ */ new Map();
2962
- function Ao(r, t, e) {
2963
- r.size >= fa && r.clear(), r.set(t, e);
2982
+ const Ao = "|", fa = 2, ga = 1e4, Ci = /* @__PURE__ */ new Map(), vi = /* @__PURE__ */ new Map();
2983
+ function To(r, t, e) {
2984
+ r.size >= ga && r.clear(), r.set(t, e);
2964
2985
  }
2965
- function ga(r, t) {
2966
- return `${r}${So}${t}`;
2986
+ function Ca(r, t) {
2987
+ return `${r}${Ao}${t}`;
2967
2988
  }
2968
- function Ca({
2989
+ function va({
2969
2990
  text: r,
2970
2991
  font: t,
2971
2992
  maxWidth: e,
@@ -2973,14 +2994,14 @@ function Ca({
2973
2994
  ellipsis: o,
2974
2995
  forceEllipsis: n
2975
2996
  }) {
2976
- return [t, r, e.toFixed(da), i, o, n ? "force" : "normal"].join(So);
2997
+ return [t, r, e.toFixed(fa), i, o, n ? "force" : "normal"].join(Ao);
2977
2998
  }
2978
- function mi(r, t, e) {
2979
- const i = ga(e, t);
2999
+ function pi(r, t, e) {
3000
+ const i = Ca(e, t);
2980
3001
  let o = Ci.get(i);
2981
- return o === void 0 && (r.font = e, o = r.measureText(t).width, Ao(Ci, i, o)), o;
3002
+ return o === void 0 && (r.font = e, o = r.measureText(t).width, To(Ci, i, o)), o;
2982
3003
  }
2983
- function va(r) {
3004
+ function pa(r) {
2984
3005
  const t = typeof Intl < "u" ? Intl.Segmenter : void 0;
2985
3006
  if (typeof t == "function") {
2986
3007
  const e = new t(void 0, {
@@ -2993,17 +3014,17 @@ function va(r) {
2993
3014
  return Array.from(r);
2994
3015
  }
2995
3016
  function ma(r, t, e, i, o) {
2996
- const n = mi(r, o, e);
3017
+ const n = pi(r, o, e);
2997
3018
  if (n > i)
2998
3019
  return {
2999
3020
  text: "",
3000
3021
  didTruncate: !0,
3001
3022
  width: 0
3002
3023
  };
3003
- const s = va(t);
3024
+ const s = pa(t);
3004
3025
  let a = 0, l = s.length, h = o, d = n;
3005
3026
  for (; a <= l; ) {
3006
- const c = Math.floor((a + l) / 2), u = `${s.slice(0, c).join("")}${o}`, f = mi(r, u, e);
3027
+ const c = Math.floor((a + l) / 2), u = `${s.slice(0, c).join("")}${o}`, f = pi(r, u, e);
3007
3028
  f <= i ? (h = u, d = f, a = c + 1) : l = c - 1;
3008
3029
  }
3009
3030
  return {
@@ -3012,7 +3033,7 @@ function ma(r, t, e, i, o) {
3012
3033
  width: d
3013
3034
  };
3014
3035
  }
3015
- function pi(r) {
3036
+ function mi(r) {
3016
3037
  const {
3017
3038
  ctx: t,
3018
3039
  text: e,
@@ -3028,7 +3049,7 @@ function pi(r) {
3028
3049
  didTruncate: e.length > 0,
3029
3050
  width: 0
3030
3051
  };
3031
- const h = Ca({
3052
+ const h = va({
3032
3053
  text: e,
3033
3054
  font: i,
3034
3055
  maxWidth: l,
@@ -3038,7 +3059,7 @@ function pi(r) {
3038
3059
  }), d = vi.get(h);
3039
3060
  if (d)
3040
3061
  return d;
3041
- const c = mi(t, e, i);
3062
+ const c = pi(t, e, i);
3042
3063
  let u;
3043
3064
  return c <= l && !a ? u = {
3044
3065
  text: e,
@@ -3048,9 +3069,9 @@ function pi(r) {
3048
3069
  text: e,
3049
3070
  didTruncate: !0,
3050
3071
  width: c
3051
- } : u = ma(t, e, i, l, s), Ao(vi, h, u), u;
3072
+ } : u = ma(t, e, i, l, s), To(vi, h, u), u;
3052
3073
  }
3053
- function kr({
3074
+ function zr({
3054
3075
  ctx: r,
3055
3076
  lines: t,
3056
3077
  font: e,
@@ -3062,7 +3083,7 @@ function kr({
3062
3083
  const a = Math.max(0, Math.floor(o)), l = Math.min(t.length, a), h = t.slice(0, l), d = t.length > l;
3063
3084
  if (n === "ellipsis" && h.length > 0) {
3064
3085
  const c = h.length - 1, u = h[c] ?? "";
3065
- h[c] = pi({
3086
+ h[c] = mi({
3066
3087
  ctx: r,
3067
3088
  text: u,
3068
3089
  font: e,
@@ -3077,32 +3098,32 @@ function kr({
3077
3098
  didClamp: d
3078
3099
  };
3079
3100
  }
3080
- function pa() {
3101
+ function ya() {
3081
3102
  Ci.clear(), vi.clear();
3082
3103
  }
3083
- const ya = "14px sans-serif", ba = "black", Fa = 1, xa = 14, wa = "visible", Sa = "clip", Aa = "…", Ta = /(\d*\.?\d+)px/, yt = "|", Ea = 30, Da = `${yt}precise-wrap`, Ia = 1e4, Ha = 5e3, Pa = /[\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F\u200D\uFE0E\uFE0F\u2600-\u27BF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/, yi = /* @__PURE__ */ new Map(), bi = /* @__PURE__ */ new Map(), Fi = /* @__PURE__ */ new Map();
3104
+ const ba = "14px sans-serif", Fa = "black", xa = 1, wa = 14, Sa = "visible", Aa = "clip", Ta = "…", Ea = /(\d*\.?\d+)px/, yt = "|", Da = 30, Ia = `${yt}precise-wrap`, Ha = 1e4, La = 5e3, Pa = /[\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F\u200D\uFE0E\uFE0F\u2600-\u27BF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/, yi = /* @__PURE__ */ new Map(), bi = /* @__PURE__ */ new Map(), Fi = /* @__PURE__ */ new Map();
3084
3105
  let ni = null;
3085
- function La() {
3106
+ function Ba() {
3086
3107
  return ni === null && typeof document < "u" && (ni = document.createElement("canvas").getContext("2d")), ni;
3087
3108
  }
3088
- function To(r, t, e, i) {
3109
+ function Eo(r, t, e, i) {
3089
3110
  r.size >= i && r.clear(), r.set(t, e);
3090
3111
  }
3091
- function Ba(r, t, e, i) {
3112
+ function ka(r, t, e, i) {
3092
3113
  return `${r}${yt}${t}${yt}${e ?? ""}${yt}${i ?? ""}`;
3093
3114
  }
3094
- function ka(r, t) {
3115
+ function za(r, t) {
3095
3116
  return `${r}${yt}${t}`;
3096
3117
  }
3097
- function za(r, t, e) {
3118
+ function _a(r, t, e) {
3098
3119
  return `${r}${yt}${t}${yt}${e}`;
3099
3120
  }
3100
- function Eo(r, t, e, i) {
3121
+ function Do(r, t, e, i) {
3101
3122
  return `${r}${yt}${t}${yt}${e}${yt}${i}`;
3102
3123
  }
3103
- class Do extends Zt {
3124
+ class Io extends Zt {
3104
3125
  constructor(t, e, i) {
3105
- super(t), this.font = ya, this.color = ba, this.wordWrap = !1, this.lineHeight = Fa, this.overflow = wa, this.textOverflow = Sa, this.ellipsis = Aa, this.lastMeasureKey = "", this.cachedLines = null, this.cachedLinesKey = "", this.lastPaintedTextWidth = 0, this.text = e, i && (i.font && (this.font = i.font), i.fontSize !== void 0 && (this.fontSize = i.fontSize), i.lineHeightPx !== void 0 && (this.lineHeightPx = i.lineHeightPx), i.color && (this.color = i.color), i.wordWrap !== void 0 && (this.wordWrap = i.wordWrap), i.lineHeight !== void 0 && (this.lineHeight = i.lineHeight, this.lineHeightPx = void 0), i.overflow !== void 0 && (this.overflow = i.overflow), i.textOverflow !== void 0 && (this.textOverflow = i.textOverflow), i.ellipsis !== void 0 && (this.ellipsis = i.ellipsis), i.maxLines !== void 0 && (this.maxLines = i.maxLines), i.autoTooltip !== void 0 && (this.autoTooltip = i.autoTooltip));
3126
+ super(t), this.font = ba, this.color = Fa, this.wordWrap = !1, this.lineHeight = xa, this.overflow = Sa, this.textOverflow = Aa, this.ellipsis = Ta, this.lastMeasureKey = "", this.cachedLines = null, this.cachedLinesKey = "", this.lastPaintedTextWidth = 0, this.text = e, i && (i.font && (this.font = i.font), i.fontSize !== void 0 && (this.fontSize = i.fontSize), i.lineHeightPx !== void 0 && (this.lineHeightPx = i.lineHeightPx), i.color && (this.color = i.color), i.wordWrap !== void 0 && (this.wordWrap = i.wordWrap), i.lineHeight !== void 0 && (this.lineHeight = i.lineHeight, this.lineHeightPx = void 0), i.overflow !== void 0 && (this.overflow = i.overflow), i.textOverflow !== void 0 && (this.textOverflow = i.textOverflow), i.ellipsis !== void 0 && (this.ellipsis = i.ellipsis), i.maxLines !== void 0 && (this.maxLines = i.maxLines), i.autoTooltip !== void 0 && (this.autoTooltip = i.autoTooltip));
3106
3127
  }
3107
3128
  measure(t) {
3108
3129
  const {
@@ -3114,25 +3135,25 @@ class Do extends Zt {
3114
3135
  fontSize: a
3115
3136
  } = this, {
3116
3137
  lineHeightPx: l
3117
- } = zr(e, n, a, this.lineHeightPx);
3138
+ } = _r(e, n, a, this.lineHeightPx);
3118
3139
  this.isSingleLineClampEnabled() ? this.measureSingleLineClamp(t, e, i, l, s) : o ? this.measureWordWrap(t, e, i, l, s) : this.measureSingleLine(t, e, i, l, s);
3119
3140
  }
3120
3141
  measureWordWrap(t, e, i, o, n) {
3121
- const s = _r(this.style.width, n.width);
3142
+ const s = Mr(this.style.width, n.width);
3122
3143
  if (s > 0) {
3123
- const a = this.getResolvedMaxLines(), h = !(this.overflow === "hidden" && a !== void 0 && a > 1 && Ma(i)), d = Eo(e, i, s, h);
3124
- (d !== this.cachedLinesKey || this.cachedLines === null) && (this.cachedLines = _a(t, i, e, s, h), this.cachedLinesKey = d), n.width = s;
3144
+ const a = this.getResolvedMaxLines(), h = !(this.overflow === "hidden" && a !== void 0 && a > 1 && Ra(i)), d = Do(e, i, s, h);
3145
+ (d !== this.cachedLinesKey || this.cachedLines === null) && (this.cachedLines = Ma(t, i, e, s, h), this.cachedLinesKey = d), n.width = s;
3125
3146
  const c = a !== void 0 && this.overflow === "hidden" ? Math.min(this.cachedLines.length, a) : this.cachedLines.length;
3126
3147
  n.height = c * o;
3127
3148
  } else
3128
3149
  n.width = De(t, i, e), n.height = o, this.cachedLines = null;
3129
3150
  }
3130
3151
  measureSingleLineClamp(t, e, i, o, n) {
3131
- const s = _r(this.style.width, n.width);
3152
+ const s = Mr(this.style.width, n.width);
3132
3153
  s > 0 ? (n.width = s, n.height = o) : (n.width = De(t, i, e), n.height = o), this.cachedLines = null;
3133
3154
  }
3134
3155
  measureSingleLine(t, e, i, o, n) {
3135
- const s = za(e, i, o);
3156
+ const s = _a(e, i, o);
3136
3157
  s !== this.lastMeasureKey && (this.lastMeasureKey = s, n.width = De(t, i, e), n.height = o), this.cachedLines = null;
3137
3158
  }
3138
3159
  getLastPaintedTextWidth() {
@@ -3181,13 +3202,13 @@ class Do extends Zt {
3181
3202
  computeIsTruncated() {
3182
3203
  if (this.overflow !== "hidden" || this.textOverflow !== "ellipsis")
3183
3204
  return !1;
3184
- const t = La();
3205
+ const t = Ba();
3185
3206
  if (!t)
3186
3207
  return !1;
3187
3208
  const e = this.cachedLines;
3188
3209
  if (e !== null && e.length > 0) {
3189
3210
  const i = this.getResolvedMaxLines();
3190
- return i === void 0 ? !1 : kr({
3211
+ return i === void 0 ? !1 : zr({
3191
3212
  ctx: t,
3192
3213
  lines: e,
3193
3214
  font: this.font,
@@ -3197,7 +3218,7 @@ class Do extends Zt {
3197
3218
  ellipsis: this.ellipsis
3198
3219
  }).didClamp;
3199
3220
  }
3200
- return pi({
3221
+ return mi({
3201
3222
  ctx: t,
3202
3223
  text: this.text,
3203
3224
  font: this.font,
@@ -3230,7 +3251,7 @@ class Do extends Zt {
3230
3251
  paintMultiline(t, e, i, o, n, s) {
3231
3252
  const {
3232
3253
  lineHeightPx: a
3233
- } = zr(i, this.lineHeight, this.fontSize, this.lineHeightPx), l = this.getResolvedMaxLines(), h = this.isMultilineClampEnabled() && l !== void 0 ? kr({
3254
+ } = _r(i, this.lineHeight, this.fontSize, this.lineHeightPx), l = this.getResolvedMaxLines(), h = this.isMultilineClampEnabled() && l !== void 0 ? zr({
3234
3255
  ctx: e,
3235
3256
  lines: n,
3236
3257
  font: i,
@@ -3249,7 +3270,7 @@ class Do extends Zt {
3249
3270
  paintSingleLine(t, e, i, o, n, s) {
3250
3271
  const a = s.y + s.height * 0.5;
3251
3272
  if (this.overflow === "hidden") {
3252
- const l = pi({
3273
+ const l = mi({
3253
3274
  ctx: e,
3254
3275
  text: i,
3255
3276
  font: o,
@@ -3265,11 +3286,11 @@ class Do extends Zt {
3265
3286
  this.lastPaintedTextWidth = De(e, i, o), t.fillText(i, s.x, a, o, n, "middle");
3266
3287
  }
3267
3288
  }
3268
- function zr(r, t, e, i) {
3269
- const o = Ba(r, t, e, i);
3289
+ function _r(r, t, e, i) {
3290
+ const o = ka(r, t, e, i);
3270
3291
  let n = yi.get(o);
3271
3292
  if (n === void 0) {
3272
- const s = Ta.exec(r), a = e ?? (s && s[1] !== void 0 ? Number(s[1]) : xa);
3293
+ const s = Ea.exec(r), a = e ?? (s && s[1] !== void 0 ? Number(s[1]) : wa);
3273
3294
  n = {
3274
3295
  fontSize: a,
3275
3296
  lineHeightPx: i ?? a * t
@@ -3278,34 +3299,34 @@ function zr(r, t, e, i) {
3278
3299
  return n;
3279
3300
  }
3280
3301
  function De(r, t, e) {
3281
- const i = ka(e, t);
3302
+ const i = za(e, t);
3282
3303
  let o = bi.get(i);
3283
- return o === void 0 && (r.font = e, o = r.measureText(t).width, To(bi, i, o, Ia)), o;
3304
+ return o === void 0 && (r.font = e, o = r.measureText(t).width, Eo(bi, i, o, Ha)), o;
3284
3305
  }
3285
- function _a(r, t, e, i, o) {
3306
+ function Ma(r, t, e, i, o) {
3286
3307
  r.font = e;
3287
- const n = Math.max(i, Ea), s = Eo(e, t, n, o);
3308
+ const n = Math.max(i, Da), s = Do(e, t, n, o);
3288
3309
  let a = Fi.get(s);
3289
3310
  if (!a) {
3290
- const l = o ? e : `${e}${Da}`;
3291
- a = Ra(_n(r, t, l, n, o)), To(Fi, s, a, Ha);
3311
+ const l = o ? e : `${e}${Ia}`;
3312
+ a = Na(Mn(r, t, l, n, o)), Eo(Fi, s, a, La);
3292
3313
  }
3293
3314
  return a;
3294
3315
  }
3295
- function _r(r, t) {
3316
+ function Mr(r, t) {
3296
3317
  return typeof r == "number" && r > 0 ? r : t > 0 ? t : 0;
3297
3318
  }
3298
- function Ma(r) {
3319
+ function Ra(r) {
3299
3320
  return Pa.test(r);
3300
3321
  }
3301
- function Ra(r) {
3322
+ function Na(r) {
3302
3323
  if (Array.isArray(r))
3303
3324
  return r;
3304
3325
  const t = r;
3305
3326
  return t.lines && Array.isArray(t.lines) ? t.lines : [];
3306
3327
  }
3307
- function Na() {
3308
- yi.clear(), bi.clear(), Fi.clear(), pa();
3328
+ function Oa() {
3329
+ yi.clear(), bi.clear(), Fi.clear(), ya();
3309
3330
  }
3310
3331
  const se = {
3311
3332
  250: 15.625,
@@ -3319,9 +3340,9 @@ const se = {
3319
3340
  12: 0.75,
3320
3341
  8: 0.5,
3321
3342
  0: 0
3322
- }, Mr = 16, oe = 16, Io = 90, Rr = "rgba(8, 8, 8, 0.08)", Oa = 4e3, Wa = 1920, Ga = "linear-gradient( 90deg, rgba(8, 8, 8, 0.09) 0%, rgba(8, 8, 8, 0.08) 6.25%, rgba(8, 8, 8, 0.05) 12.5%, rgba(8, 8, 8, 0.01) 25%, rgba(8, 8, 8, 0.05) 37.5%, rgba(8, 8, 8, 0.08) 43.75%, rgba(8, 8, 8, 0.09) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.05) 62.5%, rgba(8, 8, 8, 0.01) 75%, rgba(8, 8, 8, 0.05) 87.5%, rgba(8, 8, 8, 0.08) 93.75%, rgba(8, 8, 8, 0.09) 100% )", $a = "linear-gradient( 90deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.32) 6.25%, rgba(8, 8, 8, 0.20) 12.5%, rgba(8, 8, 8, 0.04) 25%, rgba(8, 8, 8, 0.20) 37.5%, rgba(8, 8, 8, 0.32) 43.75%, rgba(8, 8, 8, 0.36) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.20) 62.5%, rgba(8, 8, 8, 0.04) 75%, rgba(8, 8, 8, 0.20) 87.5%, rgba(8, 8, 8, 0.32) 93.75%, rgba(8, 8, 8, 0.36) 100% )";
3323
- let Nr = null;
3324
- const Ua = {
3343
+ }, Rr = 16, oe = 16, Ho = 90, Nr = "rgba(8, 8, 8, 0.08)", Wa = 4e3, Ga = 1920, $a = "linear-gradient( 90deg, rgba(8, 8, 8, 0.09) 0%, rgba(8, 8, 8, 0.08) 6.25%, rgba(8, 8, 8, 0.05) 12.5%, rgba(8, 8, 8, 0.01) 25%, rgba(8, 8, 8, 0.05) 37.5%, rgba(8, 8, 8, 0.08) 43.75%, rgba(8, 8, 8, 0.09) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.05) 62.5%, rgba(8, 8, 8, 0.01) 75%, rgba(8, 8, 8, 0.05) 87.5%, rgba(8, 8, 8, 0.08) 93.75%, rgba(8, 8, 8, 0.09) 100% )", Ua = "linear-gradient( 90deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.32) 6.25%, rgba(8, 8, 8, 0.20) 12.5%, rgba(8, 8, 8, 0.04) 25%, rgba(8, 8, 8, 0.20) 37.5%, rgba(8, 8, 8, 0.32) 43.75%, rgba(8, 8, 8, 0.36) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.20) 62.5%, rgba(8, 8, 8, 0.04) 75%, rgba(8, 8, 8, 0.20) 87.5%, rgba(8, 8, 8, 0.32) 93.75%, rgba(8, 8, 8, 0.36) 100% )";
3344
+ let Or = null;
3345
+ const Xa = {
3325
3346
  right: 90,
3326
3347
  left: 270,
3327
3348
  top: 0,
@@ -3335,11 +3356,11 @@ const Ua = {
3335
3356
  "top left": 315,
3336
3357
  "left top": 315
3337
3358
  };
3338
- class Xa extends At {
3359
+ class Va extends At {
3339
3360
  constructor(t, e) {
3340
- super(t), this._gradientStops = null, this._gradientAngle = Io;
3341
- const i = (e == null ? void 0 : e.customGradientColor) ?? (e != null && e.lighter ? $a : Ga), o = Ka(i);
3342
- o && (this._gradientStops = o.stops, this._gradientAngle = o.angle), this.borderRadius = Va(e == null ? void 0 : e.roundness), this.animated = (e == null ? void 0 : e.animated) ?? !0, this.shimmerDuration = (e == null ? void 0 : e.shimmerDuration) ?? Oa;
3361
+ super(t), this._gradientStops = null, this._gradientAngle = Ho;
3362
+ const i = (e == null ? void 0 : e.customGradientColor) ?? (e != null && e.lighter ? Ua : $a), o = Za(i);
3363
+ o && (this._gradientStops = o.stops, this._gradientAngle = o.angle), this.borderRadius = Ya(e == null ? void 0 : e.roundness), this.animated = (e == null ? void 0 : e.animated) ?? !0, this.shimmerDuration = (e == null ? void 0 : e.shimmerDuration) ?? Wa;
3343
3364
  }
3344
3365
  measure(t) {
3345
3366
  const {
@@ -3364,8 +3385,8 @@ class Xa extends At {
3364
3385
  } = this;
3365
3386
  if (!a || a.length < 2) {
3366
3387
  l > 0 ? t.roundedRect(i, o, n, s, l, {
3367
- fillStyle: Rr
3368
- }) : t.fillRect(i, o, n, s, Rr);
3388
+ fillStyle: Nr
3389
+ }) : t.fillRect(i, o, n, s, Nr);
3369
3390
  return;
3370
3391
  }
3371
3392
  const h = t.getAnimationContext(), d = h == null ? void 0 : h.frameTime;
@@ -3373,33 +3394,33 @@ class Xa extends At {
3373
3394
  t.linearGradientRect(i, o, n, s, l, a, this._gradientAngle);
3374
3395
  return;
3375
3396
  }
3376
- Nr ?? (Nr = d);
3377
- const u = (d - Nr) % this.shimmerDuration / this.shimmerDuration;
3397
+ Or ?? (Or = d);
3398
+ const u = (d - Or) % this.shimmerDuration / this.shimmerDuration;
3378
3399
  t.custom((g) => {
3379
3400
  g.save(), g.beginPath(), l > 0 ? g.roundRect(i, o, n, s, l) : g.rect(i, o, n, s), g.clip();
3380
3401
  const {
3381
3402
  startX: v,
3382
3403
  startY: C,
3383
3404
  endX: x,
3384
- endY: m
3385
- } = Za(i, o, s, u), F = g.createLinearGradient(v, C, x, m);
3405
+ endY: p
3406
+ } = ja(i, o, s, u), F = g.createLinearGradient(v, C, x, p);
3386
3407
  for (const b of a)
3387
3408
  F.addColorStop(b.offset, b.color);
3388
3409
  g.fillStyle = F, g.fillRect(i, o, n, s), g.restore();
3389
3410
  }), (f = h == null ? void 0 : h.requestAnimationFrame) == null || f.call(h);
3390
3411
  }
3391
3412
  }
3392
- function Or(r) {
3413
+ function Wr(r) {
3393
3414
  return r in se;
3394
3415
  }
3395
- function Va(r) {
3416
+ function Ya(r) {
3396
3417
  if (r === void 0)
3397
- return se[Mr] * oe;
3418
+ return se[Rr] * oe;
3398
3419
  if (typeof r == "number")
3399
- return Or(r) ? se[r] * oe : r;
3420
+ return Wr(r) ? se[r] * oe : r;
3400
3421
  const t = r.trim(), e = Number(t);
3401
3422
  if (!Number.isNaN(e))
3402
- return Or(e) ? se[e] * oe : e;
3423
+ return Wr(e) ? se[e] * oe : e;
3403
3424
  const i = t.match(/^(-?\d+(?:\.\d+)?)px$/i);
3404
3425
  if (i) {
3405
3426
  const [, n] = i;
@@ -3410,9 +3431,9 @@ function Va(r) {
3410
3431
  const [, n] = o;
3411
3432
  return parseFloat(n) * oe;
3412
3433
  }
3413
- return se[Mr] * oe;
3434
+ return se[Rr] * oe;
3414
3435
  }
3415
- function Ya(r) {
3436
+ function Ka(r) {
3416
3437
  var i;
3417
3438
  const t = r.trim(), e = t.match(/^var\s*\(\s*[^,]+,\s*([\s\S]+)\s*\)$/i);
3418
3439
  return ((i = e == null ? void 0 : e[1]) == null ? void 0 : i.trim()) ?? t;
@@ -3429,8 +3450,8 @@ function qa(r, t) {
3429
3450
  return r;
3430
3451
  }
3431
3452
  }
3432
- function Ka(r) {
3433
- const e = Ya(r).match(/^linear-gradient\s*\(([\s\S]+)\)$/i);
3453
+ function Za(r) {
3454
+ const e = Ka(r).match(/^linear-gradient\s*\(([\s\S]+)\)$/i);
3434
3455
  if (!(e != null && e[1]))
3435
3456
  return null;
3436
3457
  const i = [];
@@ -3441,13 +3462,13 @@ function Ka(r) {
3441
3462
  const [s] = i;
3442
3463
  if (i.length < 2 || !s)
3443
3464
  return null;
3444
- let a = Io, l = 0;
3465
+ let a = Ho, l = 0;
3445
3466
  const h = s.match(/^(-?\d+(?:\.\d+)?)(deg|rad|turn|grad)?$/i);
3446
3467
  if (h != null && h[1]) {
3447
3468
  const [, u, f = "deg"] = h;
3448
3469
  a = qa(parseFloat(u), f), l = 1;
3449
3470
  } else if (s.startsWith("to ")) {
3450
- const u = s.substring(3).trim().toLowerCase(), f = Ua[u];
3471
+ const u = s.substring(3).trim().toLowerCase(), f = Xa[u];
3451
3472
  f !== void 0 && (a = f, l = 1);
3452
3473
  }
3453
3474
  const d = [], c = i.slice(l);
@@ -3458,9 +3479,9 @@ function Ka(r) {
3458
3479
  const g = f.trim().match(/^(#[0-9a-fA-F]{3,8}|rgba?\s*\([^)]+\)|hsla?\s*\([^)]+\)|[a-zA-Z]+)(?:\s+(-?\d+(?:\.\d+)?)(%))?$/);
3459
3480
  if (!(g != null && g[1]))
3460
3481
  continue;
3461
- const [, v, C, x] = g, m = x === "%" ? parseFloat(C) / 100 : c.length > 1 ? u / (c.length - 1) : 0;
3482
+ const [, v, C, x] = g, p = x === "%" ? parseFloat(C) / 100 : c.length > 1 ? u / (c.length - 1) : 0;
3462
3483
  d.push({
3463
- offset: Math.max(0, Math.min(1, m)),
3484
+ offset: Math.max(0, Math.min(1, p)),
3464
3485
  color: v
3465
3486
  });
3466
3487
  }
@@ -3469,8 +3490,8 @@ function Ka(r) {
3469
3490
  angle: a
3470
3491
  };
3471
3492
  }
3472
- function Za(r, t, e, i) {
3473
- const o = Wa, n = i * o, s = r - o + n, a = r + o + n, l = t + e / 2;
3493
+ function ja(r, t, e, i) {
3494
+ const o = Ga, n = i * o, s = r - o + n, a = r + o + n, l = t + e / 2;
3474
3495
  return {
3475
3496
  startX: s,
3476
3497
  startY: l,
@@ -3478,14 +3499,14 @@ function Za(r, t, e, i) {
3478
3499
  endY: l
3479
3500
  };
3480
3501
  }
3481
- function ja(r, t) {
3502
+ function Ja(r, t) {
3482
3503
  const e = r.replace("#", "");
3483
3504
  let i, o, n, s = 255;
3484
3505
  e.length === 3 || e.length === 4 ? (i = parseInt(e[0] + e[0], 16), o = parseInt(e[1] + e[1], 16), n = parseInt(e[2] + e[2], 16), e.length === 4 && (s = parseInt(e[3] + e[3], 16))) : (i = parseInt(e.slice(0, 2), 16), o = parseInt(e.slice(2, 4), 16), n = parseInt(e.slice(4, 6), 16), e.length === 8 && (s = parseInt(e.slice(6, 8), 16)));
3485
3506
  const a = Math.round(s * t), l = (h) => h.toString(16).padStart(2, "0");
3486
3507
  return `#${l(i)}${l(o)}${l(n)}${l(a)}`;
3487
3508
  }
3488
- function Ja(r) {
3509
+ function Qa(r) {
3489
3510
  return {
3490
3511
  default: {
3491
3512
  color: r.textPrimary,
@@ -3536,14 +3557,14 @@ function Ja(r) {
3536
3557
  }
3537
3558
  };
3538
3559
  }
3539
- const Qa = "default", si = "pointer", tl = 0.4, el = 2, il = 1;
3540
- class rl extends Do {
3560
+ const tl = "default", si = "pointer", el = 0.4, il = 2, rl = 1;
3561
+ class ol extends Io {
3541
3562
  constructor(t, e, i) {
3542
3563
  var o;
3543
- super(t, e, i), this.view = Qa, this.disabled = !1, this.isHovered = !1, this.isActive = !1, this.hasCustomColor = !1, super.style = {
3564
+ super(t, e, i), this.view = tl, this.disabled = !1, this.isHovered = !1, this.isActive = !1, this.hasCustomColor = !1, super.style = {
3544
3565
  ...super.style,
3545
3566
  cursor: si
3546
- }, i && (this.href = i.href, this.target = i.target, this.rel = i.rel, i.view !== void 0 && (this.view = i.view), i.disabled !== void 0 && (this.disabled = i.disabled), this.hasCustomColor = i.color !== void 0, (o = i.theme) != null && o.tokens && (this.viewColors = Ja(i.theme.tokens))), !this.hasCustomColor && this.viewColors && (this.color = this.viewColors[this.view].color);
3567
+ }, i && (this.href = i.href, this.target = i.target, this.rel = i.rel, i.view !== void 0 && (this.view = i.view), i.disabled !== void 0 && (this.disabled = i.disabled), this.hasCustomColor = i.color !== void 0, (o = i.theme) != null && o.tokens && (this.viewColors = Qa(i.theme.tokens))), !this.hasCustomColor && this.viewColors && (this.color = this.viewColors[this.view].color);
3547
3568
  }
3548
3569
  set style(t) {
3549
3570
  super.style = {
@@ -3567,7 +3588,7 @@ class rl extends Do {
3567
3588
  const e = this.viewColors[this.view];
3568
3589
  this.isActive ? t = e.colorActive : this.isHovered ? t = e.colorHover : t = e.color;
3569
3590
  }
3570
- return this.disabled && (t = ja(t, tl)), t;
3591
+ return this.disabled && (t = Ja(t, el)), t;
3571
3592
  }
3572
3593
  onPaint(t, e) {
3573
3594
  const i = this.color;
@@ -3584,9 +3605,9 @@ class rl extends Do {
3584
3605
  x: i,
3585
3606
  y: o,
3586
3607
  height: n
3587
- } = this.rect, s = o + n + el, a = this.resolveColor();
3608
+ } = this.rect, s = o + n + il, a = this.resolveColor();
3588
3609
  t.custom((l) => {
3589
- l.beginPath(), l.moveTo(i, s), l.lineTo(i + e, s), l.strokeStyle = a, l.lineWidth = il, l.stroke();
3610
+ l.beginPath(), l.moveTo(i, s), l.lineTo(i + e, s), l.strokeStyle = a, l.lineWidth = rl, l.stroke();
3590
3611
  });
3591
3612
  }
3592
3613
  onMouseEnter() {
@@ -3624,25 +3645,25 @@ class rl extends Do {
3624
3645
  }
3625
3646
  let ae = 0;
3626
3647
  const _e = /* @__PURE__ */ new Set();
3627
- function bu() {
3648
+ function Fu() {
3628
3649
  ae++, ae === 1 && _e.forEach((t) => t(!0));
3629
3650
  let r = !1;
3630
3651
  return () => {
3631
3652
  r || (r = !0, ae--, ae === 0 && _e.forEach((t) => t(!1)));
3632
3653
  };
3633
3654
  }
3634
- function Fu() {
3655
+ function xu() {
3635
3656
  return ae > 0;
3636
3657
  }
3637
- function xu(r) {
3658
+ function wu(r) {
3638
3659
  return _e.add(r), () => {
3639
3660
  _e.delete(r);
3640
3661
  };
3641
3662
  }
3642
- const xi = "basic-grid-canvas-portal-hover", ol = 400;
3643
- let nl = 0;
3663
+ const xi = "basic-grid-canvas-portal-hover", nl = 400;
3664
+ let sl = 0;
3644
3665
  const ai = "__canvasPortalTargetId";
3645
- function sl(r) {
3666
+ function al(r) {
3646
3667
  var i;
3647
3668
  if (!r)
3648
3669
  return "window";
@@ -3650,10 +3671,10 @@ function sl(r) {
3650
3671
  if ((i = t.dataset) != null && i.portalTargetId)
3651
3672
  return t.dataset.portalTargetId;
3652
3673
  const e = r;
3653
- return e[ai] || (e[ai] = ++nl), String(e[ai]);
3674
+ return e[ai] || (e[ai] = ++sl), String(e[ai]);
3654
3675
  }
3655
3676
  const jt = /* @__PURE__ */ new Map();
3656
- function al(r, t) {
3677
+ function ll(r, t) {
3657
3678
  return `${r ?? "default"}:${t ?? "default"}`;
3658
3679
  }
3659
3680
  function wi(r, t) {
@@ -3662,28 +3683,28 @@ function wi(r, t) {
3662
3683
  });
3663
3684
  t ? t.dispatchEvent(e) : window.dispatchEvent(e);
3664
3685
  }
3665
- function Wr(r) {
3686
+ function Gr(r) {
3666
3687
  const t = jt.get(r);
3667
3688
  t !== void 0 && (window.clearTimeout(t), jt.delete(r));
3668
3689
  }
3669
- function ll(r) {
3690
+ function cl(r) {
3670
3691
  const t = `${r}:`;
3671
3692
  for (const [e, i] of jt.entries())
3672
3693
  e.startsWith(t) && (window.clearTimeout(i), jt.delete(e));
3673
3694
  }
3674
- function cl(r, t, e) {
3695
+ function ul(r, t, e) {
3675
3696
  const i = window.setTimeout(() => {
3676
3697
  jt.delete(r), wi(t, e);
3677
- }, ol);
3698
+ }, nl);
3678
3699
  jt.set(r, i);
3679
3700
  }
3680
3701
  function Be(r, t, e) {
3681
3702
  if (typeof window > "u")
3682
3703
  return;
3683
- const i = sl(t), o = `${i}:${al(r.source, r.originId)}`;
3684
- r.visible ? (ll(i), wi(r, t)) : e ? (Wr(o), wi(r, t)) : (Wr(o), cl(o, r, t));
3704
+ const i = al(t), o = `${i}:${ll(r.source, r.originId)}`;
3705
+ r.visible ? (cl(i), wi(r, t)) : e ? (Gr(o), wi(r, t)) : (Gr(o), ul(o, r, t));
3685
3706
  }
3686
- function wu(r, t) {
3707
+ function Su(r, t) {
3687
3708
  if (typeof window > "u")
3688
3709
  return () => {
3689
3710
  };
@@ -3695,17 +3716,17 @@ function wu(r, t) {
3695
3716
  e.removeEventListener(xi, i);
3696
3717
  };
3697
3718
  }
3698
- const ul = "cell";
3719
+ const hl = "cell";
3699
3720
  class St {
3700
3721
  constructor(t, e) {
3701
- this.bounds = null, this.batcher = new Hi(), this.portalEventTarget = null, this.tooltipContext = void 0, this.rootNode = t, this.hoverController = new lo({
3722
+ this.bounds = null, this.batcher = new Hi(), this.portalEventTarget = null, this.tooltipContext = void 0, this.rootNode = t, this.hoverController = new co({
3702
3723
  onCursorChange: (i) => {
3703
3724
  var o;
3704
3725
  return (o = this.onCursorChange) == null ? void 0 : o.call(this, i);
3705
3726
  },
3706
3727
  portalHoverDispatch: Be,
3707
3728
  getPortalEventTarget: () => this.portalEventTarget,
3708
- portalSource: ul,
3729
+ portalSource: hl,
3709
3730
  getTooltipContext: () => this.tooltipContext
3710
3731
  });
3711
3732
  }
@@ -3835,7 +3856,7 @@ class St {
3835
3856
  this.hoverController.handlePointerLeave();
3836
3857
  }
3837
3858
  prepareRootNode(t, e) {
3838
- this.rootNode.rect.x = 0, this.rootNode.rect.y = 0, this.rootNode.rect.width = e.width, this.rootNode.rect.height = e.height, this.rootNode instanceof pt ? this.rootNode.performLayout(t) : this.rootNode.measure(t);
3859
+ this.rootNode.rect.x = 0, this.rootNode.rect.y = 0, this.rootNode.rect.width = e.width, this.rootNode.rect.height = e.height, this.rootNode instanceof mt ? this.rootNode.performLayout(t) : this.rootNode.measure(t);
3839
3860
  }
3840
3861
  computeCursor(t, e) {
3841
3862
  return this.hoverController.computeCursor(t, e, this.rootNode);
@@ -3848,7 +3869,7 @@ class St {
3848
3869
  }
3849
3870
  }
3850
3871
  const ki = "canvas-cell";
3851
- function hl(r, t, e, i) {
3872
+ function dl(r, t, e, i) {
3852
3873
  return {
3853
3874
  kind: Mt.Custom,
3854
3875
  allowOverlay: !1,
@@ -3862,17 +3883,17 @@ function hl(r, t, e, i) {
3862
3883
  ...i
3863
3884
  };
3864
3885
  }
3865
- function Ho(r) {
3886
+ function Lo(r) {
3866
3887
  var e;
3867
3888
  const t = r;
3868
3889
  return !!(t && t.kind === Mt.Custom && ((e = t.data) == null ? void 0 : e.kind) === ki);
3869
3890
  }
3870
- const Ie = 5, dl = [["hoverX", "hoverY"], ["mouseX", "mouseY"], ["pointerX", "pointerY"], ["posX", "posY"], ["x", "y"]], fl = "default", gl = "pointer";
3871
- function Cl(r, t) {
3872
- for (const [e, i] of dl) {
3891
+ const Ie = 5, fl = [["hoverX", "hoverY"], ["mouseX", "mouseY"], ["pointerX", "pointerY"], ["posX", "posY"], ["x", "y"]], gl = "default", Cl = "pointer";
3892
+ function vl(r, t) {
3893
+ for (const [e, i] of fl) {
3873
3894
  const o = r[e], n = r[i];
3874
3895
  if (typeof o == "number" && typeof n == "number" && !Number.isNaN(o) && !Number.isNaN(n)) {
3875
- if (vl(o, n, t))
3896
+ if (pl(o, n, t))
3876
3897
  return {
3877
3898
  x: o - t.x,
3878
3899
  y: n - t.y
@@ -3885,13 +3906,13 @@ function Cl(r, t) {
3885
3906
  }
3886
3907
  }
3887
3908
  }
3888
- function vl(r, t, e) {
3909
+ function pl(r, t, e) {
3889
3910
  return r >= e.x && r <= e.x + e.width && t >= e.y && t <= e.y + e.height;
3890
3911
  }
3891
3912
  function ml(r, t, e) {
3892
3913
  return r >= -Ie && r <= e.width + Ie && t >= -Ie && t <= e.height + Ie;
3893
3914
  }
3894
- function pl(r, t, e) {
3915
+ function yl(r, t, e) {
3895
3916
  if ((r == null ? void 0 : r.canvasRoot) instanceof St) {
3896
3917
  const i = e ? "nativeEvent" in e ? e.nativeEvent : e : void 0;
3897
3918
  return r.canvasRoot.dispatchPointerEvent("click", t.x, t.y, i);
@@ -3901,25 +3922,25 @@ function pl(r, t, e) {
3901
3922
  suppressGridDefault: !1
3902
3923
  };
3903
3924
  }
3904
- function yl(r, t) {
3925
+ function bl(r, t) {
3905
3926
  if (r != null && r.clickHandlers && Array.isArray(r.clickHandlers)) {
3906
3927
  for (const {
3907
3928
  area: e,
3908
3929
  handler: i
3909
3930
  } of r.clickHandlers)
3910
- if (xo(t.x, t.y, e))
3931
+ if (wo(t.x, t.y, e))
3911
3932
  return i(), !0;
3912
3933
  }
3913
3934
  return !1;
3914
3935
  }
3915
- function bl(r, t, e, i, o, n) {
3936
+ function Fl(r, t, e, i, o, n) {
3916
3937
  const {
3917
3938
  onClick: s
3918
3939
  } = r.data;
3919
3940
  return s ? !!s(t.x, t.y, e, i, o, n ?? void 0) : !1;
3920
3941
  }
3921
3942
  const Si = /* @__PURE__ */ new WeakMap(), Po = /* @__PURE__ */ new Map();
3922
- function Fl(r, t, e) {
3943
+ function xl(r, t, e) {
3923
3944
  const i = {
3924
3945
  ...e ?? {}
3925
3946
  };
@@ -3928,23 +3949,23 @@ function Fl(r, t, e) {
3928
3949
  function he(r, t) {
3929
3950
  return t.data.renderData ?? Po.get(r);
3930
3951
  }
3931
- function xl(r, t) {
3952
+ function wl(r, t) {
3932
3953
  var i, o;
3933
3954
  (((i = Si.get(r)) == null ? void 0 : i.hovered) ?? !1) !== t && (Si.set(r, {
3934
3955
  hovered: t
3935
- }), t ? (o = r.onMouseEnter) == null || o.call(r) : wl(r));
3956
+ }), t ? (o = r.onMouseEnter) == null || o.call(r) : Sl(r));
3936
3957
  }
3937
- function wl(r) {
3958
+ function Sl(r) {
3938
3959
  const {
3939
3960
  renderData: t
3940
3961
  } = r;
3941
3962
  (t == null ? void 0 : t.canvasRoot) instanceof St && t.canvasRoot.forcePortalHide();
3942
3963
  }
3943
- function Sl(r) {
3964
+ function Al(r) {
3944
3965
  var t;
3945
3966
  return (t = Si.get(r)) == null ? void 0 : t.hovered;
3946
3967
  }
3947
- function Al(r, t, e, i) {
3968
+ function Tl(r, t, e, i) {
3948
3969
  var o;
3949
3970
  if (r instanceof St)
3950
3971
  if (t) {
@@ -3953,16 +3974,16 @@ function Al(r, t, e, i) {
3953
3974
  r.dispatchPointerEvent("mousemove", t.x, t.y, s);
3954
3975
  }
3955
3976
  const n = r.computeCursor(t.x, t.y);
3956
- n && n !== fl && ((o = i.overrideCursor) == null || o.call(i, n));
3977
+ n && n !== gl && ((o = i.overrideCursor) == null || o.call(i, n));
3957
3978
  } else
3958
3979
  r.handleMouseLeave(), r.forcePortalHide();
3959
3980
  }
3960
- function Tl(r, t, e, i, o) {
3981
+ function El(r, t, e, i, o) {
3961
3982
  var l;
3962
- const n = !!(t && e.some((h) => xo(t.x, t.y, h))), s = Sl(r) ?? !1, a = !!t;
3963
- a !== s && xl(r, a), n && !i && ((l = o.overrideCursor) == null || l.call(o, gl));
3983
+ const n = !!(t && e.some((h) => wo(t.x, t.y, h))), s = Al(r) ?? !1, a = !!t;
3984
+ a !== s && wl(r, a), n && !i && ((l = o.overrideCursor) == null || l.call(o, Cl));
3964
3985
  }
3965
- function Lo({
3986
+ function Bo({
3966
3987
  cell: r,
3967
3988
  rect: t,
3968
3989
  relativePoint: e,
@@ -3971,16 +3992,16 @@ function Lo({
3971
3992
  rowIndex: n,
3972
3993
  event: s
3973
3994
  }) {
3974
- const a = pl(i, e, s);
3995
+ const a = yl(i, e, s);
3975
3996
  return a.propagationStopped ? {
3976
3997
  handled: !0,
3977
3998
  propagationStopped: !0,
3978
3999
  suppressGridDefault: a.suppressGridDefault
3979
- } : yl(i, e) ? {
4000
+ } : bl(i, e) ? {
3980
4001
  handled: !0,
3981
4002
  propagationStopped: !1,
3982
4003
  suppressGridDefault: a.suppressGridDefault
3983
- } : bl(r, e, t, o, n, i) ? {
4004
+ } : Fl(r, e, t, o, n, i) ? {
3984
4005
  handled: !0,
3985
4006
  propagationStopped: !1,
3986
4007
  suppressGridDefault: a.suppressGridDefault
@@ -3990,7 +4011,7 @@ function Lo({
3990
4011
  suppressGridDefault: a.suppressGridDefault
3991
4012
  };
3992
4013
  }
3993
- function Bo(r) {
4014
+ function ko(r) {
3994
4015
  const t = r.selection === "keep", e = r.cellClick === "stop", i = r.editor === "never", o = r.contextMenu === "keep-selection" ? "manual-keep-selection" : r.contextMenu === "none" ? "none" : "normal";
3995
4016
  return {
3996
4017
  suppressEarlyGridSelect: t,
@@ -4008,7 +4029,7 @@ function Bo(r) {
4008
4029
  } : {}
4009
4030
  };
4010
4031
  }
4011
- function El({
4032
+ function Dl({
4012
4033
  decision: r,
4013
4034
  propagationStopped: t,
4014
4035
  suppressGridDefault: e
@@ -4019,21 +4040,21 @@ function El({
4019
4040
  };
4020
4041
  return !i && r.editorRequest && (o.editorRequest = r.editorRequest), o;
4021
4042
  }
4022
- function Dl({
4043
+ function Il({
4023
4044
  renderData: r,
4024
4045
  relativePoint: t
4025
4046
  }) {
4026
4047
  const e = (r == null ? void 0 : r.canvasRoot) instanceof St ? r.canvasRoot.getInteractionAtPoint(t.x, t.y) : void 0;
4027
4048
  return e ? {
4028
4049
  handled: !0,
4029
- suppressEarlyGridSelect: Bo(e).suppressEarlyGridSelect,
4050
+ suppressEarlyGridSelect: ko(e).suppressEarlyGridSelect,
4030
4051
  interaction: e
4031
4052
  } : {
4032
4053
  handled: !1,
4033
4054
  suppressEarlyGridSelect: !1
4034
4055
  };
4035
4056
  }
4036
- function ko(r = {}) {
4057
+ function zo(r = {}) {
4037
4058
  return {
4038
4059
  kind: Mt.Custom,
4039
4060
  isMatch: (t) => {
@@ -4044,10 +4065,10 @@ function ko(r = {}) {
4044
4065
  needsHoverPosition: !0,
4045
4066
  onSelect: (t) => {
4046
4067
  var u;
4047
- const e = t.cell, i = t.bounds, o = pr(t);
4068
+ const e = t.cell, i = t.bounds, o = yr(t);
4048
4069
  if (!o)
4049
4070
  return;
4050
- const n = yr(o, i), s = ei(t), a = ue(s, i), l = he(a, e), h = Dl({
4071
+ const n = br(o, i), s = ei(t), a = ue(s, i), l = he(a, e), h = Il({
4051
4072
  renderData: l,
4052
4073
  relativePoint: n
4053
4074
  }), d = t.location ?? [s.colIndex, s.rowIndex], c = h.interaction && r.beginOrGetInteractionSession ? r.beginOrGetInteractionSession({
@@ -4063,16 +4084,16 @@ function ko(r = {}) {
4063
4084
  },
4064
4085
  onClick: (t) => {
4065
4086
  var u, f;
4066
- const e = t.cell, i = t.bounds, o = pr(t);
4087
+ const e = t.cell, i = t.bounds, o = yr(t);
4067
4088
  if (!o)
4068
4089
  return;
4069
- const n = yr(o, i), s = ei(t), a = ue(s, i), l = he(a, e), h = t.location ?? [s.colIndex, s.rowIndex], c = ((u = r.consumeCanvasClickResult) == null ? void 0 : u.call(r, {
4090
+ const n = br(o, i), s = ei(t), a = ue(s, i), l = he(a, e), h = t.location ?? [s.colIndex, s.rowIndex], c = ((u = r.consumeCanvasClickResult) == null ? void 0 : u.call(r, {
4070
4091
  cell: h,
4071
4092
  relativePoint: n,
4072
4093
  ...t.button !== void 0 ? {
4073
4094
  button: t.button
4074
4095
  } : {}
4075
- })) ?? Lo({
4096
+ })) ?? Bo({
4076
4097
  cell: e,
4077
4098
  rect: i,
4078
4099
  relativePoint: n,
@@ -4101,32 +4122,32 @@ function ko(r = {}) {
4101
4122
  event: t.event,
4102
4123
  frameTime: t.frameTime,
4103
4124
  requestAnimationFrame: t.requestAnimationFrame
4104
- }, c = xs(t.hoverX, t.hoverY, o) ?? Cl(d, o);
4125
+ }, c = ws(t.hoverX, t.hoverY, o) ?? vl(d, o);
4105
4126
  i.save();
4106
4127
  const u = he(h, e), f = s(i, o, a, c == null ? void 0 : c.x, c == null ? void 0 : c.y, {
4107
4128
  ...d,
4108
4129
  canvasRoot: u == null ? void 0 : u.canvasRoot
4109
4130
  }), g = (f == null ? void 0 : f.hoveredAreas) ?? [];
4110
- Fl(h, e, f);
4131
+ xl(h, e, f);
4111
4132
  const v = (f == null ? void 0 : f.canvasRoot) ?? (u == null ? void 0 : u.canvasRoot);
4112
- Al(v, c, d, t), Tl(e.data, c, g, v, t), i.restore();
4133
+ Tl(v, c, d, t), El(e.data, c, g, v, t), i.restore();
4113
4134
  },
4114
4135
  onPaste: () => {
4115
4136
  }
4116
4137
  };
4117
4138
  }
4118
- const Su = ko(), Me = /* @__PURE__ */ new Map();
4119
- function Il(r) {
4120
- const t = Hl(r), e = Me.get(t);
4139
+ const Au = zo(), Me = /* @__PURE__ */ new Map();
4140
+ function Hl(r) {
4141
+ const t = Ll(r), e = Me.get(t);
4121
4142
  if (e)
4122
4143
  return e;
4123
- const o = Mn(r).match(/<svg[\s\S]*?<\/svg>/);
4144
+ const o = Rn(r).match(/<svg[\s\S]*?<\/svg>/);
4124
4145
  if (!o)
4125
4146
  return console.warn("Could not extract SVG from React icon component:", r.type), "";
4126
4147
  const n = o[0];
4127
4148
  return Me.set(t, n), n;
4128
4149
  }
4129
- function Hl(r) {
4150
+ function Ll(r) {
4130
4151
  const t = r.type, e = typeof t == "function" || typeof t == "object" ? t.displayName || t.name || "Anonymous" : String(t), {
4131
4152
  size: i,
4132
4153
  color: o,
@@ -4139,18 +4160,18 @@ function Hl(r) {
4139
4160
  return `${e}:${s}`;
4140
4161
  }
4141
4162
  function Ht(r) {
4142
- return Qr(r);
4163
+ return to(r);
4143
4164
  }
4144
4165
  function xt(r) {
4145
- return typeof r == "string" ? r : Ht(r) ? Il(r) : "";
4166
+ return typeof r == "string" ? r : Ht(r) ? Hl(r) : "";
4146
4167
  }
4147
- function Au() {
4168
+ function Tu() {
4148
4169
  Me.clear();
4149
4170
  }
4150
- function Tu() {
4171
+ function Eu() {
4151
4172
  return Me.size;
4152
4173
  }
4153
- const Gr = (r) => {
4174
+ const $r = (r) => {
4154
4175
  if (r === void 0)
4155
4176
  return;
4156
4177
  if (typeof r == "number")
@@ -4167,7 +4188,7 @@ const Gr = (r) => {
4167
4188
  const o = Number(t);
4168
4189
  if (!Number.isNaN(o))
4169
4190
  return o;
4170
- }, $r = {
4191
+ }, Ur = {
4171
4192
  small: {
4172
4193
  radius: 4,
4173
4194
  stroke: 1.5
@@ -4182,35 +4203,35 @@ const Gr = (r) => {
4182
4203
  }
4183
4204
  };
4184
4205
  function Pl(r, t, e, i, o, n, s, a, l, h, d = !1, c = !1) {
4185
- const f = s - 0, v = Math.min(f - 0, co), C = n === "auto" ? v : n, x = e + 0, m = (l == null ? void 0 : l.rowSize) || "medium", F = !i && !o, b = Jt(c, {
4206
+ const f = s - 0, v = Math.min(f - 0, uo), C = n === "auto" ? v : n, x = e + 0, p = (l == null ? void 0 : l.rowSize) || "medium", F = !i && !o, b = Jt(c, {
4186
4207
  x: t,
4187
4208
  y: e,
4188
4209
  width: C,
4189
4210
  height: s
4190
- }), S = ps(l, i, o, b, d), y = t + C * 0.5, I = x + f * 0.5, A = y - v * 0.5, L = I - v * 0.5;
4191
- return r.roundedRect(t, x, C, f, $r[m].radius, {
4211
+ }), S = ys(l, i, o, b, d), y = t + C * 0.5, I = x + f * 0.5, A = y - v * 0.5, P = I - v * 0.5;
4212
+ return r.roundedRect(t, x, C, f, Ur[p].radius, {
4192
4213
  fillStyle: S.bgColor,
4193
4214
  strokeStyle: S.borderColor,
4194
- lineWidth: F ? $r[m].stroke : void 0
4195
- }), Ct(r, a, A, L, v, S.iconColor), {
4215
+ lineWidth: F ? Ur[p].stroke : void 0
4216
+ }), Ct(r, a, A, P, v, S.iconColor), {
4196
4217
  x: t,
4197
4218
  y: x,
4198
4219
  width: C,
4199
4220
  height: f
4200
4221
  };
4201
4222
  }
4202
- const Ll = 28, Bl = "default", kl = "s", Ur = "pointer", zl = 20, Ai = {
4223
+ const Bl = 28, kl = "default", zl = "s", Xr = "pointer", _l = 20, Ai = {
4203
4224
  indeterminateIcon: '<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="none"><path stroke-linecap="round" stroke-width="2" stroke="currentColor" d="m5.09449,9.0315l8,0"></path></svg>',
4204
4225
  checkedIcon: '<svg viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="none"><path fill="currentColor" d="m5.70711,8.15582c-0.39053,-0.39052 -1.02369,-0.39052 -1.41422,0c-0.39052,0.39053 -0.39052,1.02369 0,1.41422l3.70666,3.70666l6.71095,-6.70248c0.3908,-0.39027 0.3912,-1.02344 0.0009,-1.41421c-0.3903,-0.39077 -1.02344,-0.39117 -1.41421,-0.00089l-5.29674,5.29004l-2.29334,-2.29334z"></path></svg>'
4205
- }, _l = Object.values(Ai), Ml = {
4226
+ }, Ml = Object.values(Ai), Rl = {
4206
4227
  accentColor: "#1e88e5",
4207
4228
  accentFg: "#ffffff"
4208
4229
  };
4209
- class Rl extends At {
4230
+ class Nl extends At {
4210
4231
  constructor(t, e, i = !1, o = !1, n) {
4211
- super(t), this.view = Bl, this.buttonSize = kl, this.isHovered = !1, this.useNewApi = !1, this.icon = e, this.checked = i, this.indeterminate = o, this.size = (n == null ? void 0 : n.size) ?? "auto", this.theme = n == null ? void 0 : n.theme, this.view = (n == null ? void 0 : n.view) ?? "primary", this.disabled = (n == null ? void 0 : n.disabled) ?? !1, super.style = {
4232
+ super(t), this.view = kl, this.buttonSize = zl, this.isHovered = !1, this.useNewApi = !1, this.icon = e, this.checked = i, this.indeterminate = o, this.size = (n == null ? void 0 : n.size) ?? "auto", this.theme = n == null ? void 0 : n.theme, this.view = (n == null ? void 0 : n.view) ?? "primary", this.disabled = (n == null ? void 0 : n.disabled) ?? !1, super.style = {
4212
4233
  ...super.style,
4213
- cursor: this.disabled ? "auto" : Ur
4234
+ cursor: this.disabled ? "auto" : Xr
4214
4235
  }, !this.disabled && (n != null && n.onClick) && (this.onClick = (s) => {
4215
4236
  var a;
4216
4237
  return (a = n.onClick) == null ? void 0 : a.call(n, s);
@@ -4224,14 +4245,14 @@ class Rl extends At {
4224
4245
  }
4225
4246
  get style() {
4226
4247
  const t = super.style;
4227
- return t.cursor || (t.cursor = Ur), t;
4248
+ return t.cursor || (t.cursor = Xr), t;
4228
4249
  }
4229
4250
  measure(t) {
4230
4251
  if (this.useNewApi) {
4231
4252
  const e = nt[this.buttonSize];
4232
4253
  this.rect.height = e.height, this.rect.width = e.height;
4233
4254
  } else {
4234
- const e = Nl(this.size);
4255
+ const e = Ol(this.size);
4235
4256
  this.rect.height = e.height, this.rect.width = e.width;
4236
4257
  }
4237
4258
  }
@@ -4242,7 +4263,7 @@ class Rl extends At {
4242
4263
  width: n,
4243
4264
  height: s
4244
4265
  } = this.rect;
4245
- Pl(t, i, o, this.checked, this.indeterminate, n, s, this.icon, this.theme ?? Ml, this.view, this.disabled, this.isHovered);
4266
+ Pl(t, i, o, this.checked, this.indeterminate, n, s, this.icon, this.theme ?? Rl, this.view, this.disabled, this.isHovered);
4246
4267
  }
4247
4268
  onMouseEnter() {
4248
4269
  this.isHovered = !0;
@@ -4272,8 +4293,8 @@ class Rl extends At {
4272
4293
  // return [];
4273
4294
  // }
4274
4295
  }
4275
- function Nl(r, t) {
4276
- const e = typeof r == "number" ? r : Ll, i = 0, o = de, n = Math.min(e - o * 2 - fe, zl), s = typeof r == "number" ? r : n + i * 2;
4296
+ function Ol(r, t) {
4297
+ const e = typeof r == "number" ? r : Bl, i = 0, o = de, n = Math.min(e - o * 2 - fe, _l), s = typeof r == "number" ? r : n + i * 2;
4277
4298
  return {
4278
4299
  height: e,
4279
4300
  width: s,
@@ -4282,10 +4303,10 @@ function Nl(r, t) {
4282
4303
  iconSize: n
4283
4304
  };
4284
4305
  }
4285
- const Ol = ({ backgroundColor: r, __backgroundColorResolver: t }, e) => (t == null ? void 0 : t(e)) ?? r, vt = (r) => {
4306
+ const Wl = ({ backgroundColor: r, __backgroundColorResolver: t }, e) => (t == null ? void 0 : t(e)) ?? r, vt = (r) => {
4286
4307
  const t = (e) => null;
4287
4308
  return t.__canvasType = r, t;
4288
- }, Eu = ce.memo(
4309
+ }, Du = ce.memo(
4289
4310
  ({
4290
4311
  cellId: r,
4291
4312
  renderContent: t,
@@ -4306,18 +4327,18 @@ const Ol = ({ backgroundColor: r, __backgroundColorResolver: t }, e) => (t == nu
4306
4327
  [e]
4307
4328
  ), null;
4308
4329
  }
4309
- ), Wl = vt("Skeleton"), Gl = vt("Container"), $l = vt("Text"), Ul = vt("Icon"), Xl = vt("Button"), Vl = vt("IconButton"), Yl = vt("EmbedIconButton"), ql = vt("Rect"), Kl = vt("Badge"), Zl = vt("Checkbox"), jl = vt("Link"), He = {
4310
- Container: Gl,
4311
- Text: $l,
4312
- Icon: Ul,
4313
- Button: Xl,
4314
- IconButton: Vl,
4315
- EmbedIconButton: Yl,
4316
- Checkbox: Zl,
4330
+ ), Gl = vt("Skeleton"), $l = vt("Container"), Ul = vt("Text"), Xl = vt("Icon"), Vl = vt("Button"), Yl = vt("IconButton"), Kl = vt("EmbedIconButton"), ql = vt("Rect"), Zl = vt("Badge"), jl = vt("Checkbox"), Jl = vt("Link"), He = {
4331
+ Container: $l,
4332
+ Text: Ul,
4333
+ Icon: Xl,
4334
+ Button: Vl,
4335
+ IconButton: Yl,
4336
+ EmbedIconButton: Kl,
4337
+ Checkbox: jl,
4317
4338
  Rect: ql,
4318
- Badge: Kl,
4319
- Skeleton: Wl,
4320
- Link: jl,
4339
+ Badge: Zl,
4340
+ Skeleton: Gl,
4341
+ Link: Jl,
4321
4342
  /**
4322
4343
  * Convert a React icon component to SVG string.
4323
4344
  * Results are cached for performance.
@@ -4344,7 +4365,7 @@ function Ti({
4344
4365
  idPrefix: t = "root",
4345
4366
  theme: e
4346
4367
  }) {
4347
- const i = [], o = zo(r, t, 0, i, e);
4368
+ const i = [], o = _o(r, t, 0, i, e);
4348
4369
  if (i.length > 0) {
4349
4370
  const n = /* @__PURE__ */ new Map();
4350
4371
  for (const { icon: s, size: a } of i) {
@@ -4354,7 +4375,7 @@ function Ti({
4354
4375
  l.push(s), n.set(a, l);
4355
4376
  }
4356
4377
  n.forEach((s, a) => {
4357
- Es(s, { size: a });
4378
+ Ds(s, { size: a });
4358
4379
  });
4359
4380
  }
4360
4381
  return o;
@@ -4362,7 +4383,7 @@ function Ti({
4362
4383
  function Ei(r) {
4363
4384
  return r == null ? "" : typeof r == "string" || typeof r == "number" ? String(r) : Array.isArray(r) ? r.map(Ei).join("") : "";
4364
4385
  }
4365
- function Xr(r, t, e) {
4386
+ function Vr(r, t, e) {
4366
4387
  const i = r.fontMetrics, o = r.fonts;
4367
4388
  if (i === void 0 || o === void 0)
4368
4389
  return {};
@@ -4377,7 +4398,7 @@ function Xr(r, t, e) {
4377
4398
  ...e === void 0 ? { lineHeightPx: a.lineHeightPx } : {}
4378
4399
  };
4379
4400
  }
4380
- function zo(r, t, e, i, o) {
4401
+ function _o(r, t, e, i, o) {
4381
4402
  if (!r || !ce.isValidElement(r))
4382
4403
  throw new Error("Invalid element. Use Canvas.* components.");
4383
4404
  const n = r.type, s = n.__canvasType;
@@ -4404,7 +4425,7 @@ function zo(r, t, e, i, o) {
4404
4425
  size: v
4405
4426
  });
4406
4427
  } else if (s === "Checkbox")
4407
- _l.forEach((g) => {
4428
+ Ml.forEach((g) => {
4408
4429
  i.push({
4409
4430
  icon: c(g),
4410
4431
  size: 20
@@ -4429,21 +4450,21 @@ function zo(r, t, e, i, o) {
4429
4450
  size: C
4430
4451
  });
4431
4452
  }
4432
- const u = Jl(s, d, a, o);
4453
+ const u = Ql(s, d, a, o);
4433
4454
  if (a.portalHoverEnabled && (u.portalHoverEnabled = !0), a.tooltip !== void 0 && (u.tooltip = a.tooltip), a.autoTooltip !== void 0) {
4434
4455
  const g = a.autoTooltip;
4435
4456
  (g === !0 || typeof g == "object" && g !== null && g.enabled !== !1) && (u.portalHoverEnabled = !0);
4436
4457
  }
4437
- a.interaction !== void 0 && (u.interaction = ns(a.interaction)), typeof a.zIndex == "number" && (u.zIndex = a.zIndex), a.style && (u.style = a.style);
4458
+ a.interaction !== void 0 && (u.interaction = ss(a.interaction)), typeof a.zIndex == "number" && (u.zIndex = a.zIndex), a.style && (u.style = a.style);
4438
4459
  const { children: f } = a;
4439
- return f && u instanceof pt && ce.Children.toArray(f).forEach((v, C) => {
4460
+ return f && u instanceof mt && ce.Children.toArray(f).forEach((v, C) => {
4440
4461
  if (ce.isValidElement(v)) {
4441
- const x = zo(v, d, C, i, o);
4462
+ const x = _o(v, d, C, i, o);
4442
4463
  u.addChild(x);
4443
4464
  }
4444
4465
  }), u;
4445
4466
  }
4446
- function Jl(r, t, e, i) {
4467
+ function Ql(r, t, e, i) {
4447
4468
  switch (r) {
4448
4469
  case "Container": {
4449
4470
  const o = e, {
@@ -4460,7 +4481,7 @@ function Jl(r, t, e, i) {
4460
4481
  onClick: v,
4461
4482
  onMouseEnter: C,
4462
4483
  onMouseLeave: x,
4463
- onMouseDown: m,
4484
+ onMouseDown: p,
4464
4485
  backgroundColor: F,
4465
4486
  __backgroundColorResolver: b,
4466
4487
  portalHoverEnabled: S,
@@ -4469,14 +4490,14 @@ function Jl(r, t, e, i) {
4469
4490
  ...y,
4470
4491
  columnGap: a ?? s ?? 0,
4471
4492
  rowGap: l ?? s ?? 0
4472
- }, A = new pt(
4493
+ }, A = new mt(
4473
4494
  t,
4474
4495
  I,
4475
- Ol(o, i)
4496
+ Wl(o, i)
4476
4497
  );
4477
4498
  h && (A.position = h), d !== void 0 && (A.left = d), c !== void 0 && (A.top = c), u !== void 0 && (A.right = u), f !== void 0 && (A.bottom = f);
4478
- const L = ft(v), R = ft(C), lt = ft(x), N = ft(m);
4479
- return L && (A.onClick = L), R && (A.onMouseEnter = R), lt && (A.onMouseLeave = lt), N && (A.onMouseDown = N), A;
4499
+ const P = ft(v), R = ft(C), lt = ft(x), N = ft(p);
4500
+ return P && (A.onClick = P), R && (A.onMouseEnter = R), lt && (A.onMouseLeave = lt), N && (A.onMouseDown = N), A;
4480
4501
  }
4481
4502
  case "Text": {
4482
4503
  const {
@@ -4494,12 +4515,12 @@ function Jl(r, t, e, i) {
4494
4515
  left: v,
4495
4516
  top: C,
4496
4517
  right: x,
4497
- bottom: m,
4518
+ bottom: p,
4498
4519
  portalHoverEnabled: F
4499
4520
  } = e, b = Ei(o), S = i.fontFamily || '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif';
4500
4521
  let y;
4501
4522
  n ? y = /["']|sans-serif|serif|monospace/i.test(n) ? n : `${n} ${S}` : y = i.baseFontStyle ? `${i.baseFontStyle} ${S}` : `13px ${S}`;
4502
- const I = Xr(i, n, l), A = new Do(t, b, {
4523
+ const I = Vr(i, n, l), A = new Io(t, b, {
4503
4524
  font: y,
4504
4525
  ...I,
4505
4526
  color: s,
@@ -4511,7 +4532,7 @@ function Jl(r, t, e, i) {
4511
4532
  maxLines: u,
4512
4533
  autoTooltip: f
4513
4534
  });
4514
- return g && (A.position = g), v !== void 0 && (A.left = v), C !== void 0 && (A.top = C), x !== void 0 && (A.right = x), m !== void 0 && (A.bottom = m), A;
4535
+ return g && (A.position = g), v !== void 0 && (A.left = v), C !== void 0 && (A.top = C), x !== void 0 && (A.right = x), p !== void 0 && (A.bottom = p), A;
4515
4536
  }
4516
4537
  case "Icon": {
4517
4538
  const {
@@ -4528,10 +4549,10 @@ function Jl(r, t, e, i) {
4528
4549
  onMouseEnter: g,
4529
4550
  onMouseLeave: v,
4530
4551
  onMouseDown: C
4531
- } = e, x = Ht(o) ? xt(o) : o, m = new ia(t, x, { size: n, color: s });
4532
- a && (m.backgroundColor = a), l && (m.position = l), h !== void 0 && (m.left = h), d !== void 0 && (m.top = d), c !== void 0 && (m.right = c), u !== void 0 && (m.bottom = u);
4552
+ } = e, x = Ht(o) ? xt(o) : o, p = new ra(t, x, { size: n, color: s });
4553
+ a && (p.backgroundColor = a), l && (p.position = l), h !== void 0 && (p.left = h), d !== void 0 && (p.top = d), c !== void 0 && (p.right = c), u !== void 0 && (p.bottom = u);
4533
4554
  const F = ft(f), b = ft(g), S = ft(v), y = ft(C);
4534
- return F && (m.onClick = F), b && (m.onMouseEnter = b), S && (m.onMouseLeave = S), y && (m.onMouseDown = y), m;
4555
+ return F && (p.onClick = F), b && (p.onMouseEnter = b), S && (p.onMouseLeave = S), y && (p.onMouseDown = y), p;
4535
4556
  }
4536
4557
  case "Button": {
4537
4558
  const {
@@ -4548,11 +4569,11 @@ function Jl(r, t, e, i) {
4548
4569
  right: g,
4549
4570
  bottom: v,
4550
4571
  onClick: C
4551
- } = e, x = typeof o == "string" ? o : "", m = Ht(l) ? xt(l) : l, F = Ht(h) ? xt(h) : h, b = new $s(t, x, {
4572
+ } = e, x = typeof o == "string" ? o : "", p = Ht(l) ? xt(l) : l, F = Ht(h) ? xt(h) : h, b = new Us(t, x, {
4552
4573
  variant: n,
4553
4574
  view: s,
4554
4575
  size: a,
4555
- leftIcon: m,
4576
+ leftIcon: p,
4556
4577
  rightIcon: F,
4557
4578
  disabled: d,
4558
4579
  theme: i
@@ -4580,7 +4601,7 @@ function Jl(r, t, e, i) {
4580
4601
  right: v,
4581
4602
  bottom: C,
4582
4603
  onClick: x
4583
- } = e, m = Ht(o) ? xt(o) : o, F = r === "IconButton" ? la : Ir, b = new F(t, m, {
4604
+ } = e, p = Ht(o) ? xt(o) : o, F = r === "IconButton" ? ca : Hr, b = new F(t, p, {
4584
4605
  size: n,
4585
4606
  variant: s,
4586
4607
  view: a,
@@ -4589,7 +4610,7 @@ function Jl(r, t, e, i) {
4589
4610
  overrideIconSize: d,
4590
4611
  disabled: c
4591
4612
  });
4592
- if (b instanceof Ir) {
4613
+ if (b instanceof Hr) {
4593
4614
  const { iconColor: S, iconColorHovered: y } = e;
4594
4615
  S !== void 0 && (b.iconColor = S), y !== void 0 && (b.iconColorHovered = y);
4595
4616
  }
@@ -4616,7 +4637,7 @@ function Jl(r, t, e, i) {
4616
4637
  onClick: C
4617
4638
  } = e, x = xt(
4618
4639
  o ? Ai.checkedIcon : Ai.indeterminateIcon
4619
- ), m = new Rl(
4640
+ ), p = new Nl(
4620
4641
  t,
4621
4642
  x,
4622
4643
  o,
@@ -4629,11 +4650,11 @@ function Jl(r, t, e, i) {
4629
4650
  disabled: d
4630
4651
  }
4631
4652
  );
4632
- if (c && (m.position = c), u !== void 0 && (m.left = u), f !== void 0 && (m.top = f), g !== void 0 && (m.right = g), v !== void 0 && (m.bottom = v), !d) {
4653
+ if (c && (p.position = c), u !== void 0 && (p.left = u), f !== void 0 && (p.top = f), g !== void 0 && (p.right = g), v !== void 0 && (p.bottom = v), !d) {
4633
4654
  const F = ft(C);
4634
- F && (m.onClick = F);
4655
+ F && (p.onClick = F);
4635
4656
  }
4636
- return m;
4657
+ return p;
4637
4658
  }
4638
4659
  case "Rect": {
4639
4660
  const {
@@ -4645,7 +4666,7 @@ function Jl(r, t, e, i) {
4645
4666
  top: h,
4646
4667
  right: d,
4647
4668
  bottom: c
4648
- } = e, u = new ha(t, o);
4669
+ } = e, u = new da(t, o);
4649
4670
  return n && (u.borderColor = n), s && (u.borderWidth = s), a && (u.position = a), l !== void 0 && (u.left = l), h !== void 0 && (u.top = h), d !== void 0 && (u.right = d), c !== void 0 && (u.bottom = c), u;
4650
4671
  }
4651
4672
  case "Badge": {
@@ -4664,9 +4685,9 @@ function Jl(r, t, e, i) {
4664
4685
  top: v,
4665
4686
  right: C,
4666
4687
  bottom: x,
4667
- portalHoverEnabled: m,
4688
+ portalHoverEnabled: p,
4668
4689
  pilled: F
4669
- } = e, b = Ht(h) ? xt(h) : h, S = Ht(d) ? xt(d) : d, y = new Ns(t, o, {
4690
+ } = e, b = Ht(h) ? xt(h) : h, S = Ht(d) ? xt(d) : d, y = new Os(t, o, {
4670
4691
  view: n,
4671
4692
  size: s,
4672
4693
  transparent: a,
@@ -4691,11 +4712,11 @@ function Jl(r, t, e, i) {
4691
4712
  shimmerDuration: d,
4692
4713
  style: c,
4693
4714
  portalHoverEnabled: u
4694
- } = e, f = Gr(o), g = Gr(n), v = {
4715
+ } = e, f = $r(o), g = $r(n), v = {
4695
4716
  ...c,
4696
4717
  ...f !== void 0 ? { width: f } : null,
4697
4718
  ...g !== void 0 ? { height: g } : null
4698
- }, C = new Xa(t, {
4719
+ }, C = new Va(t, {
4699
4720
  roundness: s,
4700
4721
  lighter: a,
4701
4722
  customGradientColor: l,
@@ -4720,16 +4741,16 @@ function Jl(r, t, e, i) {
4720
4741
  ellipsis: v,
4721
4742
  maxLines: C,
4722
4743
  position: x,
4723
- left: m,
4744
+ left: p,
4724
4745
  top: F,
4725
4746
  right: b,
4726
4747
  bottom: S,
4727
4748
  onClick: y,
4728
4749
  portalHoverEnabled: I
4729
- } = e, A = Ei(o), L = i.fontFamily || '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif';
4750
+ } = e, A = Ei(o), P = i.fontFamily || '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif';
4730
4751
  let R;
4731
- h ? R = /["']|sans-serif|serif|monospace/i.test(h) ? h : `${h} ${L}` : R = i.baseFontStyle ? `${i.baseFontStyle} ${L}` : `13px ${L}`;
4732
- const lt = Xr(i, h, u), N = new rl(t, A, {
4752
+ h ? R = /["']|sans-serif|serif|monospace/i.test(h) ? h : `${h} ${P}` : R = i.baseFontStyle ? `${i.baseFontStyle} ${P}` : `13px ${P}`;
4753
+ const lt = Vr(i, h, u), N = new ol(t, A, {
4733
4754
  font: R,
4734
4755
  ...lt,
4735
4756
  color: d,
@@ -4745,7 +4766,7 @@ function Jl(r, t, e, i) {
4745
4766
  disabled: l,
4746
4767
  theme: i
4747
4768
  });
4748
- if (x && (N.position = x), m !== void 0 && (N.left = m), F !== void 0 && (N.top = F), b !== void 0 && (N.right = b), S !== void 0 && (N.bottom = S), !l) {
4769
+ if (x && (N.position = x), p !== void 0 && (N.left = p), F !== void 0 && (N.top = F), b !== void 0 && (N.right = b), S !== void 0 && (N.bottom = S), !l) {
4749
4770
  const rt = ft(y);
4750
4771
  rt && N.setOnClick(rt);
4751
4772
  }
@@ -4755,18 +4776,18 @@ function Jl(r, t, e, i) {
4755
4776
  throw new Error(`Unknown canvas component type: ${r}`);
4756
4777
  }
4757
4778
  }
4758
- const Ql = '400 normal 1rem/1.25rem "SB Sans Text", sans-serif, Inter, Roboto, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, noto, arial, sans-serif', tc = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ec = 30, ic = 50, rc = 3;
4759
- async function oc() {
4779
+ const tc = '400 normal 1rem/1.25rem "SB Sans Text", sans-serif, Inter, Roboto, -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, noto, arial, sans-serif', ec = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ic = 30, rc = 50, oc = 3;
4780
+ async function nc() {
4760
4781
  return typeof document > "u" || !document.fonts ? Promise.resolve() : document.fonts.ready.then(() => {
4761
4782
  });
4762
4783
  }
4763
- function nc(r = {}) {
4784
+ function sc(r = {}) {
4764
4785
  const {
4765
- testFont: t = Ql,
4766
- testText: e = tc,
4767
- maxChecks: i = ec,
4768
- checkInterval: o = ic,
4769
- stableThreshold: n = rc
4786
+ testFont: t = tc,
4787
+ testText: e = ec,
4788
+ maxChecks: i = ic,
4789
+ checkInterval: o = rc,
4790
+ stableThreshold: n = oc
4770
4791
  } = r;
4771
4792
  return new Promise((s) => {
4772
4793
  if (typeof document > "u") {
@@ -4789,10 +4810,10 @@ function nc(r = {}) {
4789
4810
  u();
4790
4811
  });
4791
4812
  }
4792
- function sc(r) {
4793
- return oc().then(() => nc(r));
4813
+ function ac(r) {
4814
+ return nc().then(() => sc(r));
4794
4815
  }
4795
- function _o({
4816
+ function Mo({
4796
4817
  dataEditorRef: r,
4797
4818
  rowCount: t,
4798
4819
  columnCount: e,
@@ -4809,7 +4830,7 @@ function _o({
4809
4830
  });
4810
4831
  a.length > 0 && o.updateCells(a);
4811
4832
  }
4812
- function Mo(r) {
4833
+ function Ro(r) {
4813
4834
  let t = null;
4814
4835
  return () => {
4815
4836
  t === null && (t = requestAnimationFrame(() => {
@@ -4817,47 +4838,47 @@ function Mo(r) {
4817
4838
  }));
4818
4839
  };
4819
4840
  }
4820
- function Du() {
4821
- const r = it(null), t = U(() => (r.current || (r.current = new as()), r.current), []);
4841
+ function Iu() {
4842
+ const r = it(null), t = U(() => (r.current || (r.current = new ls()), r.current), []);
4822
4843
  return {
4823
4844
  registry: t(),
4824
4845
  getRegistry: t
4825
4846
  };
4826
4847
  }
4827
- function ac({
4848
+ function lc({
4828
4849
  dataEditorRef: r,
4829
4850
  rowCount: t,
4830
4851
  columnCount: e,
4831
4852
  headerAndGroupHeaderRowsCount: i
4832
4853
  }) {
4833
4854
  ui(() => {
4834
- const o = Mo(() => {
4835
- Na(), _o({
4855
+ const o = Ro(() => {
4856
+ Oa(), Mo({
4836
4857
  dataEditorRef: r,
4837
4858
  rowCount: t,
4838
4859
  columnCount: e,
4839
4860
  headerAndGroupHeaderRowsCount: i
4840
4861
  });
4841
4862
  });
4842
- sc().then(o);
4863
+ ac().then(o);
4843
4864
  }, [r, t, e, i]);
4844
4865
  }
4845
- function lc({
4866
+ function cc({
4846
4867
  dataEditorRef: r,
4847
4868
  rowCount: t,
4848
4869
  columnCount: e,
4849
4870
  headerAndGroupHeaderRowsCount: i
4850
4871
  }) {
4851
4872
  wt(() => {
4852
- const o = Mo(() => {
4853
- _o({
4873
+ const o = Ro(() => {
4874
+ Mo({
4854
4875
  dataEditorRef: r,
4855
4876
  rowCount: t,
4856
4877
  columnCount: e,
4857
4878
  headerAndGroupHeaderRowsCount: i
4858
4879
  });
4859
4880
  });
4860
- return As(o);
4881
+ return Ts(o);
4861
4882
  }, [r, t, e, i]);
4862
4883
  }
4863
4884
  Mt.Text;
@@ -4882,38 +4903,38 @@ const Di = (r, t) => ({
4882
4903
  ...e
4883
4904
  };
4884
4905
  };
4885
- function cc(r) {
4906
+ function uc(r) {
4886
4907
  const t = r;
4887
4908
  return !!(t != null && t.kind);
4888
4909
  }
4889
- function Iu(r) {
4910
+ function Hu(r) {
4890
4911
  return typeof r == "object" && r !== null && !Array.isArray(r);
4891
4912
  }
4892
- function Ro(r) {
4913
+ function No(r) {
4893
4914
  return typeof r != "object" && !Array.isArray(r) || r === null;
4894
4915
  }
4895
- function uc(r) {
4916
+ function hc(r) {
4896
4917
  return r == null || typeof r == "boolean";
4897
4918
  }
4898
4919
  const zi = (r) => {
4899
- if (!r || !Qr(r))
4920
+ if (!r || !to(r))
4900
4921
  return !1;
4901
4922
  const t = r.type;
4902
4923
  return !!(t != null && t.__canvasType);
4903
- }, No = (r) => typeof r == "string", Vr = (r) => No(r) ? !0 : zi(r), Hu = (r) => No(r) ? !0 : zi(r), Yr = ({
4924
+ }, Oo = (r) => typeof r == "string", Yr = (r) => Oo(r) ? !0 : zi(r), Lu = (r) => Oo(r) ? !0 : zi(r), Kr = ({
4904
4925
  jsxElement: r,
4905
4926
  canvasCellCache: t,
4906
4927
  cellInfo: e,
4907
4928
  options: i
4908
4929
  }) => {
4909
4930
  let o = null;
4910
- if (cc(r))
4931
+ if (uc(r))
4911
4932
  return {
4912
4933
  ...r,
4913
4934
  ...i
4914
4935
  };
4915
- if (Ro(r))
4916
- return uc(r) ? le(i) : Di(String(r), i);
4936
+ if (No(r))
4937
+ return hc(r) ? le(i) : Di(String(r), i);
4917
4938
  if (!zi(r)) {
4918
4939
  const x = "передан НЕ CanvasEl";
4919
4940
  return Di(x, {
@@ -4930,7 +4951,7 @@ const zi = (r) => {
4930
4951
  id: h
4931
4952
  } = l, d = i.getPortalEventTarget;
4932
4953
  let c = null;
4933
- const u = `cell-${n}-${s}`, f = (x, m, F, b, S, y) => {
4954
+ const u = `cell-${n}-${s}`, f = (x, p, F, b, S, y) => {
4934
4955
  let I = (y == null ? void 0 : y.canvasRoot) instanceof St ? y.canvasRoot : c;
4935
4956
  {
4936
4957
  if (!r)
@@ -4949,21 +4970,21 @@ const zi = (r) => {
4949
4970
  y: S
4950
4971
  } : void 0;
4951
4972
  I.rootNode.style = {
4952
- width: m.width,
4953
- height: m.height
4973
+ width: p.width,
4974
+ height: p.height
4954
4975
  }, o || (o = x.canvas.getBoundingClientRect());
4955
- const L = {
4956
- x: o.left + m.x,
4957
- y: o.top + m.y,
4958
- width: m.width,
4959
- height: m.height
4976
+ const P = {
4977
+ x: o.left + p.x,
4978
+ y: o.top + p.y,
4979
+ width: p.width,
4980
+ height: p.height
4960
4981
  };
4961
4982
  return I.setPortalEventTarget((d == null ? void 0 : d()) ?? null), I.setTooltipContext({
4962
4983
  column: e.column,
4963
4984
  row: e.row,
4964
4985
  ctxs: e.ctxs,
4965
4986
  refTable: i.refTable
4966
- }), I.render(x, m, A, L, {
4987
+ }), I.render(x, p, A, P, {
4967
4988
  frameTime: y == null ? void 0 : y.frameTime,
4968
4989
  requestAnimationFrame: y == null ? void 0 : y.requestAnimationFrame
4969
4990
  }), c = I, {
@@ -4973,11 +4994,11 @@ const zi = (r) => {
4973
4994
  data: g,
4974
4995
  ...v
4975
4996
  } = i, C = l.copyData ? typeof l.copyData == "function" ? l.copyData(a) : l.copyData : g;
4976
- return hl(f, void 0, C, v);
4977
- }, Oo = (r, t, e) => r ? t >= r.x && t < r.x + r.width && e >= r.y && e < r.y + r.height : !1, hc = (r) => {
4997
+ return dl(f, void 0, C, v);
4998
+ }, Wo = (r, t, e) => r ? t >= r.x && t < r.x + r.width && e >= r.y && e < r.y + r.height : !1, dc = (r) => {
4978
4999
  const t = r.findIndex((e) => !e.isServiceColumn);
4979
5000
  return t === -1 ? r.length : t;
4980
- }, dc = (r, t) => {
5001
+ }, fc = (r, t) => {
4981
5002
  if (!r)
4982
5003
  return;
4983
5004
  const e = Math.max(r.x, t), i = Math.max(0, r.x + r.width - e);
@@ -4989,7 +5010,7 @@ const zi = (r) => {
4989
5010
  height: r.height
4990
5011
  };
4991
5012
  };
4992
- function fc({
5013
+ function gc({
4993
5014
  cellsSelectionMode: r,
4994
5015
  selection: t,
4995
5016
  baseTheme: e,
@@ -5033,7 +5054,7 @@ function fc({
5033
5054
  }), c(), h.length > 0 ? h : void 0;
5034
5055
  }, [r, t, e.selectionActiveBg, e.selectionActiveCheckboxBg, e.selectionServiceActiveBg, e.errorOutlineColor, e.accentColor, i, o, n, s, a, l]);
5035
5056
  }
5036
- function gc({
5057
+ function Cc({
5037
5058
  baseRegions: r,
5038
5059
  selectedColumnIndexes: t,
5039
5060
  headerSelectedRowIndexes: e,
@@ -5050,20 +5071,20 @@ function gc({
5050
5071
  const c = t.length > 0, u = e.length > 0, f = i !== void 0, g = ((n == null ? void 0 : n.length) ?? 0) > 0;
5051
5072
  if (!c && !u && !f && !g)
5052
5073
  return r;
5053
- const v = h - l, C = [...r ?? []], x = (m, F) => {
5054
- const [b, ...S] = [...m].sort((L, R) => L - R);
5074
+ const v = h - l, C = [...r ?? []], x = (p, F) => {
5075
+ const [b, ...S] = [...p].sort((P, R) => P - R);
5055
5076
  if (b === void 0)
5056
5077
  return;
5057
5078
  let y = b, I = b;
5058
- const A = (L, R) => {
5079
+ const A = (P, R) => {
5059
5080
  C.push({
5060
5081
  color: d.accentColor,
5061
- range: F(L, R),
5082
+ range: F(P, R),
5062
5083
  style: "solid-outline"
5063
5084
  });
5064
5085
  };
5065
- for (const L of S)
5066
- L === I + 1 || (A(y, I), y = L), I = L;
5086
+ for (const P of S)
5087
+ P === I + 1 || (A(y, I), y = P), I = P;
5067
5088
  A(y, I);
5068
5089
  };
5069
5090
  if (c) {
@@ -5077,59 +5098,59 @@ function gc({
5077
5098
  },
5078
5099
  style: "no-outline"
5079
5100
  });
5080
- for (const m of t)
5101
+ for (const p of t)
5081
5102
  C.push({
5082
5103
  color: d.selectionActiveBg,
5083
5104
  range: {
5084
- x: m,
5105
+ x: p,
5085
5106
  y: 0,
5086
5107
  width: 1,
5087
5108
  height: a
5088
5109
  },
5089
5110
  style: "no-outline"
5090
5111
  });
5091
- x(t, (m, F) => ({
5092
- x: m,
5112
+ x(t, (p, F) => ({
5113
+ x: p,
5093
5114
  y: 0,
5094
- width: F - m + 1,
5115
+ width: F - p + 1,
5095
5116
  height: a
5096
5117
  }));
5097
5118
  }
5098
5119
  if (u && v > 0) {
5099
5120
  if (l > 0)
5100
- for (const m of e)
5121
+ for (const p of e)
5101
5122
  C.push({
5102
5123
  color: d.selectionServiceActiveBg,
5103
5124
  range: {
5104
5125
  x: 0,
5105
- y: m,
5126
+ y: p,
5106
5127
  width: l,
5107
5128
  height: 1
5108
5129
  },
5109
5130
  style: "no-outline"
5110
5131
  });
5111
- for (const m of e)
5132
+ for (const p of e)
5112
5133
  C.push({
5113
5134
  color: d.selectionActiveBg,
5114
5135
  range: {
5115
5136
  x: l,
5116
- y: m,
5137
+ y: p,
5117
5138
  width: v,
5118
5139
  height: 1
5119
5140
  },
5120
5141
  style: "no-outline"
5121
5142
  });
5122
- x(e, (m, F) => ({
5143
+ x(e, (p, F) => ({
5123
5144
  x: l,
5124
- y: m,
5145
+ y: p,
5125
5146
  width: v,
5126
- height: F - m + 1
5147
+ height: F - p + 1
5127
5148
  }));
5128
5149
  }
5129
5150
  if (i !== void 0 && v > 0) {
5130
- const m = s != null && s.has(i) ? d.selectionActiveCheckboxBg : d.selectionCheckboxBg, F = (S, y) => {
5151
+ const p = s != null && s.has(i) ? d.selectionActiveCheckboxBg : d.selectionCheckboxBg, F = (S, y) => {
5131
5152
  y > 0 && C.push({
5132
- color: m,
5153
+ color: p,
5133
5154
  range: {
5134
5155
  x: S,
5135
5156
  y: i,
@@ -5147,14 +5168,14 @@ function gc({
5147
5168
  }
5148
5169
  }
5149
5170
  if (g && n && l > 0) {
5150
- const m = /* @__PURE__ */ new Set();
5171
+ const p = /* @__PURE__ */ new Set();
5151
5172
  for (const F of n) {
5152
5173
  const b = Math.max(F.x, l);
5153
5174
  if (!(F.x + F.width - b <= 0 || F.height <= 0))
5154
5175
  for (let y = F.y; y < F.y + F.height; y += 1)
5155
- m.add(y);
5176
+ p.add(y);
5156
5177
  }
5157
- for (const F of m)
5178
+ for (const F of p)
5158
5179
  C.push({
5159
5180
  color: d.selectionServiceActiveBg,
5160
5181
  range: {
@@ -5169,21 +5190,21 @@ function gc({
5169
5190
  return C;
5170
5191
  }, [r, t, e, i, o, n, s, a, l, h, d.selectionActiveBg, d.selectionActiveCheckboxBg, d.selectionCheckboxBg, d.selectionServiceActiveBg, d.accentColor]);
5171
5192
  }
5172
- const Pe = {
5173
- columns: P.empty(),
5174
- rows: P.empty(),
5193
+ const Le = {
5194
+ columns: L.empty(),
5195
+ rows: L.empty(),
5175
5196
  current: void 0
5176
5197
  };
5177
- function Cc({
5198
+ function vc({
5178
5199
  cellsSelectionMode: r,
5179
5200
  gridSelection: t,
5180
5201
  onGridSelectionChange: e,
5181
5202
  onSelectionEmit: i
5182
5203
  }) {
5183
- const [o, n] = at(Pe), s = t !== void 0, a = t ?? o, l = U((c) => {
5204
+ const [o, n] = at(Le), s = t !== void 0, a = t ?? o, l = U((c) => {
5184
5205
  s ? e == null || e(c) : n(c), i == null || i(c);
5185
5206
  }, [s, e, i]), h = U(() => {
5186
- s ? e == null || e(Pe) : n(Pe), i == null || i(Pe);
5207
+ s ? e == null || e(Le) : n(Le), i == null || i(Le);
5187
5208
  }, [s, e, i]), d = M(() => r === "range-cell" ? "rect" : r === "multi-range-cell" ? "multi-rect" : r === "disabled" ? "none" : "cell", [r]);
5188
5209
  return {
5189
5210
  selection: a,
@@ -5192,7 +5213,7 @@ function Cc({
5192
5213
  rangeSelect: d
5193
5214
  };
5194
5215
  }
5195
- const qt = /* @__PURE__ */ new Set(), qr = ({
5216
+ const Kt = /* @__PURE__ */ new Set(), qr = ({
5196
5217
  start: r,
5197
5218
  length: t
5198
5219
  }) => {
@@ -5201,21 +5222,21 @@ const qt = /* @__PURE__ */ new Set(), qr = ({
5201
5222
  e.add(r + i);
5202
5223
  return e;
5203
5224
  };
5204
- function vc({
5225
+ function pc({
5205
5226
  columns: r,
5206
5227
  selection: t,
5207
5228
  cellsSelectionMode: e,
5208
5229
  checkboxSelectedRowIndexes: i
5209
5230
  }) {
5210
5231
  return M(() => {
5211
- const o = t.current, n = hc(r);
5232
+ const o = t.current, n = dc(r);
5212
5233
  if (!(e !== "disabled" && o !== void 0) || !o)
5213
5234
  return {
5214
5235
  hasAnyActiveSelection: !1,
5215
5236
  firstDataColumnIndex: n,
5216
5237
  leadingServiceColumnsCount: n,
5217
- activeRows: qt,
5218
- activeColumns: qt,
5238
+ activeRows: Kt,
5239
+ activeColumns: Kt,
5219
5240
  activeDataRange: void 0,
5220
5241
  isSingleCellCustomHighlight: !1,
5221
5242
  outlineRange: void 0,
@@ -5228,14 +5249,14 @@ function vc({
5228
5249
  isActiveDataCell: (u, f) => !1,
5229
5250
  isActiveHeaderColumn: (u) => !1
5230
5251
  };
5231
- const a = dc(o.range, n), l = a !== void 0, h = e === "cell" && a !== void 0 && a.width === 1 && a.height === 1;
5252
+ const a = fc(o.range, n), l = a !== void 0, h = e === "cell" && a !== void 0 && a.width === 1 && a.height === 1;
5232
5253
  if (!l)
5233
5254
  return {
5234
5255
  hasAnyActiveSelection: !1,
5235
5256
  firstDataColumnIndex: n,
5236
5257
  leadingServiceColumnsCount: n,
5237
- activeRows: qt,
5238
- activeColumns: qt,
5258
+ activeRows: Kt,
5259
+ activeColumns: Kt,
5239
5260
  activeDataRange: void 0,
5240
5261
  isSingleCellCustomHighlight: !1,
5241
5262
  outlineRange: void 0,
@@ -5251,10 +5272,10 @@ function vc({
5251
5272
  const d = a != null && a.height && a.height > 0 ? qr({
5252
5273
  start: a.y,
5253
5274
  length: a.height
5254
- }) : qt, c = a != null && a.width && a.width > 0 ? qr({
5275
+ }) : Kt, c = a != null && a.width && a.width > 0 ? qr({
5255
5276
  start: a.x,
5256
5277
  length: a.width
5257
- }) : qt;
5278
+ }) : Kt;
5258
5279
  return {
5259
5280
  hasAnyActiveSelection: l,
5260
5281
  firstDataColumnIndex: n,
@@ -5273,7 +5294,7 @@ function vc({
5273
5294
  },
5274
5295
  isActiveRow: (u) => d.has(u),
5275
5296
  isCheckboxSelectedRow: (u) => (i == null ? void 0 : i.has(u)) ?? !1,
5276
- isActiveDataCell: (u, f) => Oo(a, u, f),
5297
+ isActiveDataCell: (u, f) => Wo(a, u, f),
5277
5298
  isActiveHeaderColumn: (u) => r[u] ? c.has(u) : !1
5278
5299
  };
5279
5300
  }, [r, e, i, t]);
@@ -5291,14 +5312,14 @@ function mc({
5291
5312
  commitActiveRow: a
5292
5313
  };
5293
5314
  }
5294
- function pc({
5315
+ function yc({
5295
5316
  columns: r
5296
5317
  }) {
5297
- const [t, e] = at(() => P.empty()), i = M(() => t.toArray().filter((h) => {
5318
+ const [t, e] = at(() => L.empty()), i = M(() => t.toArray().filter((h) => {
5298
5319
  var d;
5299
5320
  return !((d = r[h]) != null && d.isServiceColumn);
5300
5321
  }), [t, r]), o = M(() => new Set(i), [i]), n = it(void 0), [s, a] = at(!1), l = U(() => {
5301
- e(P.empty());
5322
+ e(L.empty());
5302
5323
  }, []);
5303
5324
  return {
5304
5325
  selectedColumns: t,
@@ -5311,10 +5332,10 @@ function pc({
5311
5332
  clearColumnSelection: l
5312
5333
  };
5313
5334
  }
5314
- function yc() {
5315
- const [r, t] = at(() => P.empty()), e = M(() => r.toArray(), [r]), i = it(r);
5335
+ function bc() {
5336
+ const [r, t] = at(() => L.empty()), e = M(() => r.toArray(), [r]), i = it(r);
5316
5337
  i.current = r;
5317
- const o = it(!1), n = it(P.empty()), s = it(!1);
5338
+ const o = it(!1), n = it(L.empty()), s = it(!1);
5318
5339
  wt(() => {
5319
5340
  const l = (d) => {
5320
5341
  o.current = d.ctrlKey || d.metaKey, n.current = i.current, s.current = !0;
@@ -5326,7 +5347,7 @@ function yc() {
5326
5347
  };
5327
5348
  }, []);
5328
5349
  const a = U(() => {
5329
- t(P.empty());
5350
+ t(L.empty());
5330
5351
  }, []);
5331
5352
  return {
5332
5353
  selectedRows: r,
@@ -5339,7 +5360,7 @@ function yc() {
5339
5360
  clearRowSelection: a
5340
5361
  };
5341
5362
  }
5342
- function bc({
5363
+ function Fc({
5343
5364
  columns: r,
5344
5365
  selection: t,
5345
5366
  cellsSelectionMode: e,
@@ -5360,19 +5381,19 @@ function bc({
5360
5381
  selectedColumns: v,
5361
5382
  setSelectedColumns: C,
5362
5383
  selectedColumnIndexes: x,
5363
- selectedColumnSet: m,
5384
+ selectedColumnSet: p,
5364
5385
  lastSelectedColumnRef: F,
5365
5386
  isNativeColumnSelection: b,
5366
5387
  setIsNativeColumnSelection: S
5367
- } = pc({
5388
+ } = yc({
5368
5389
  columns: r
5369
5390
  }), {
5370
5391
  setSelectedRows: y,
5371
5392
  headerSelectedRowIndexes: I,
5372
5393
  ctrlGestureRef: A,
5373
- ctrlBaseRowsRef: L,
5394
+ ctrlBaseRowsRef: P,
5374
5395
  pointerGestureRef: R
5375
- } = yc(), {
5396
+ } = bc(), {
5376
5397
  activeRow: lt,
5377
5398
  commitActiveRow: N
5378
5399
  } = mc({
@@ -5393,8 +5414,8 @@ function bc({
5393
5414
  const X = $.x + $.width - O;
5394
5415
  return X <= 0 ? {
5395
5416
  current: void 0,
5396
- rows: P.empty(),
5397
- columns: P.empty()
5417
+ rows: L.empty(),
5418
+ columns: L.empty()
5398
5419
  } : {
5399
5420
  ..._,
5400
5421
  current: {
@@ -5413,13 +5434,13 @@ function bc({
5413
5434
  const $ = a, X = W.range.y, ct = X + Math.max(W.range.height, 1);
5414
5435
  if (A.current) {
5415
5436
  const Y = ct - X <= 1;
5416
- let Z = L.current;
5437
+ let Z = P.current;
5417
5438
  if (Z.length === 0 && t.current && t.current.cell[0] === rt) {
5418
5439
  const bt = t.current.range;
5419
- Z = P.empty().add([bt.y, bt.y + Math.max(bt.height, 1)]), L.current = Z;
5440
+ Z = L.empty().add([bt.y, bt.y + Math.max(bt.height, 1)]), P.current = Z;
5420
5441
  }
5421
5442
  let tt;
5422
- Y ? tt = Z.hasIndex(X) ? Z.remove(X) : Z.add(X) : tt = Z.add([X, ct]), C(P.empty()), y(tt), N(void 0), S(!1), h({
5443
+ Y ? tt = Z.hasIndex(X) ? Z.remove(X) : Z.add(X) : tt = Z.add([X, ct]), C(L.empty()), y(tt), N(void 0), S(!1), h({
5423
5444
  ..._,
5424
5445
  current: {
5425
5446
  ...W,
@@ -5433,19 +5454,19 @@ function bc({
5433
5454
  }), c == null || c({
5434
5455
  current: void 0,
5435
5456
  rows: tt,
5436
- columns: P.empty()
5457
+ columns: L.empty()
5437
5458
  });
5438
5459
  return;
5439
5460
  }
5440
- const K = Math.max(r.length - $, 0);
5441
- C(P.empty()), y(P.empty()), N(void 0), S(!1), h({
5461
+ const q = Math.max(r.length - $, 0);
5462
+ C(L.empty()), y(L.empty()), N(void 0), S(!1), h({
5442
5463
  ..._,
5443
5464
  current: {
5444
5465
  ...W,
5445
5466
  range: {
5446
5467
  x: $,
5447
5468
  y: W.range.y,
5448
- width: K,
5469
+ width: q,
5449
5470
  height: W.range.height
5450
5471
  }
5451
5472
  }
@@ -5453,9 +5474,9 @@ function bc({
5453
5474
  return;
5454
5475
  }
5455
5476
  const O = ge(_);
5456
- (O.current !== void 0 || O.rows.length > 0) && (C(P.empty()), y(P.empty())), S(!1), i === "row" ? R.current && O.current && N(O.current.cell[1]) : N(void 0), h(O);
5457
- }, [r, t, h, ge, rt, n, a, i, c, N, A, L, R, C, y, S]), Qt = U(() => {
5458
- C(P.empty()), y(P.empty()), N(void 0), S(!1), d();
5477
+ (O.current !== void 0 || O.rows.length > 0) && (C(L.empty()), y(L.empty())), S(!1), i === "row" ? R.current && O.current && N(O.current.cell[1]) : N(void 0), h(O);
5478
+ }, [r, t, h, ge, rt, n, a, i, c, N, A, P, R, C, y, S]), Qt = U(() => {
5479
+ C(L.empty()), y(L.empty()), N(void 0), S(!1), d();
5459
5480
  }, [d, N, C, y, S]), kt = M(() => {
5460
5481
  var W;
5461
5482
  const _ = new Set(x);
@@ -5476,7 +5497,7 @@ function bc({
5476
5497
  const Y = a, Z = Math.max(r.length - Y, 0);
5477
5498
  if (Z === 0 || l === 0)
5478
5499
  return;
5479
- C(P.empty()), y(P.empty()), N(void 0), S(!0), h({
5500
+ C(L.empty()), y(L.empty()), N(void 0), S(!0), h({
5480
5501
  current: {
5481
5502
  cell: [Y, 0],
5482
5503
  range: {
@@ -5487,8 +5508,8 @@ function bc({
5487
5508
  },
5488
5509
  rangeStack: []
5489
5510
  },
5490
- rows: P.empty(),
5491
- columns: P.empty()
5511
+ rows: L.empty(),
5512
+ columns: L.empty()
5492
5513
  });
5493
5514
  return;
5494
5515
  }
@@ -5505,39 +5526,39 @@ function bc({
5505
5526
  Y = Y.add([tt.x, tt.x + tt.width]);
5506
5527
  }
5507
5528
  const Z = Y.hasIndex(_) ? Y.remove(_) : Y.add(_);
5508
- F.current = _, C(Z), y(P.empty()), N(void 0), S(!1), h({
5529
+ F.current = _, C(Z), y(L.empty()), N(void 0), S(!1), h({
5509
5530
  current: void 0,
5510
- rows: P.empty(),
5511
- columns: P.empty()
5531
+ rows: L.empty(),
5532
+ columns: L.empty()
5512
5533
  }), c == null || c({
5513
5534
  current: void 0,
5514
- rows: P.empty(),
5535
+ rows: L.empty(),
5515
5536
  columns: Z
5516
5537
  });
5517
5538
  return;
5518
5539
  }
5519
- let ct, K;
5520
- $ && F.current !== void 0 ? (ct = Math.min(F.current, _), K = Math.max(F.current, _)) : (ct = _, K = _, F.current = _), C(P.empty()), y(P.empty()), N(void 0), S(!0), h({
5540
+ let ct, q;
5541
+ $ && F.current !== void 0 ? (ct = Math.min(F.current, _), q = Math.max(F.current, _)) : (ct = _, q = _, F.current = _), C(L.empty()), y(L.empty()), N(void 0), S(!0), h({
5521
5542
  current: {
5522
5543
  cell: [ct, 0],
5523
5544
  range: {
5524
5545
  x: ct,
5525
5546
  y: 0,
5526
- width: K - ct + 1,
5547
+ width: q - ct + 1,
5527
5548
  height: l
5528
5549
  },
5529
5550
  rangeStack: []
5530
5551
  },
5531
- rows: P.empty(),
5532
- columns: P.empty()
5552
+ rows: L.empty(),
5553
+ columns: L.empty()
5533
5554
  });
5534
5555
  }, [o, s, rt, e, a, r, t, b, v, l, h, c, N, F, C, y, S]), Rt = U((_) => {
5535
5556
  const W = new Set(_), O = r.map((Y, Z) => !Y.isServiceColumn && W.has(Y.id) ? Z : -1).filter((Y) => Y >= 0);
5536
- if (y(P.empty()), N(void 0), O.length === 0) {
5537
- C(P.empty()), S(!1), h({
5557
+ if (y(L.empty()), N(void 0), O.length === 0) {
5558
+ C(L.empty()), S(!1), h({
5538
5559
  current: void 0,
5539
- rows: P.empty(),
5540
- columns: P.empty()
5560
+ rows: L.empty(),
5561
+ columns: L.empty()
5541
5562
  });
5542
5563
  return;
5543
5564
  }
@@ -5546,7 +5567,7 @@ function bc({
5546
5567
  return;
5547
5568
  const ct = X - $ === O.length - 1;
5548
5569
  if (F.current = X, ct) {
5549
- C(P.empty()), S(!0), h({
5570
+ C(L.empty()), S(!0), h({
5550
5571
  current: {
5551
5572
  cell: [$, 0],
5552
5573
  range: {
@@ -5557,25 +5578,25 @@ function bc({
5557
5578
  },
5558
5579
  rangeStack: []
5559
5580
  },
5560
- rows: P.empty(),
5561
- columns: P.empty()
5581
+ rows: L.empty(),
5582
+ columns: L.empty()
5562
5583
  });
5563
5584
  return;
5564
5585
  }
5565
- let K = P.empty();
5586
+ let q = L.empty();
5566
5587
  O.forEach((Y) => {
5567
- K = K.add(Y);
5568
- }), C(K), S(!1), h({
5588
+ q = q.add(Y);
5589
+ }), C(q), S(!1), h({
5569
5590
  current: void 0,
5570
- rows: P.empty(),
5571
- columns: P.empty()
5591
+ rows: L.empty(),
5592
+ columns: L.empty()
5572
5593
  });
5573
5594
  }, [r, l, h, C, y, S, N, F]);
5574
5595
  return {
5575
5596
  selectedColumnIndexes: x,
5576
5597
  selectedColumnKeysAll: kt,
5577
5598
  selectColumnsByKeys: Rt,
5578
- selectedColumnSet: m,
5599
+ selectedColumnSet: p,
5579
5600
  headerSelectedRowIndexes: I,
5580
5601
  activeRow: lt,
5581
5602
  numberingColumnIndex: rt,
@@ -5585,7 +5606,7 @@ function bc({
5585
5606
  handleSelectionClearedWithColumns: Qt
5586
5607
  };
5587
5608
  }
5588
- function Fc(r, t, e, i) {
5609
+ function xc(r, t, e, i) {
5589
5610
  const o = performance.now();
5590
5611
  function n(s) {
5591
5612
  const a = s - o, l = Math.min(a / i, 1), h = t + (e - t) * l;
@@ -5593,13 +5614,13 @@ function Fc(r, t, e, i) {
5593
5614
  }
5594
5615
  requestAnimationFrame(n);
5595
5616
  }
5596
- const xc = (r) => {
5617
+ const wc = (r) => {
5597
5618
  const t = typeof r == "number", [e, i] = at(() => t ? r : 56);
5598
5619
  return wt(() => {
5599
- t && Fc(i, e, r, 300);
5620
+ t && xc(i, e, r, 300);
5600
5621
  }, [r]), t ? e : r;
5601
5622
  };
5602
- function Wo({
5623
+ function Go({
5603
5624
  cell: r,
5604
5625
  glideCell: t,
5605
5626
  rect: e,
@@ -5621,7 +5642,7 @@ function Wo({
5621
5642
  } : {}
5622
5643
  };
5623
5644
  }
5624
- function wc({
5645
+ function Sc({
5625
5646
  dataEditor: r,
5626
5647
  getCellContent: t,
5627
5648
  clientX: e,
@@ -5632,7 +5653,7 @@ function wc({
5632
5653
  if (!n || n.kind !== "cell")
5633
5654
  return;
5634
5655
  const s = [n.location[0], n.location[1]], a = t(s);
5635
- if (!Ho(a))
5656
+ if (!Lo(a))
5636
5657
  return;
5637
5658
  const l = n.bounds, h = ue({
5638
5659
  colIndex: s[0],
@@ -5641,7 +5662,7 @@ function wc({
5641
5662
  x: n.localEventX,
5642
5663
  y: n.localEventY
5643
5664
  };
5644
- return Wo({
5665
+ return Go({
5645
5666
  cell: s,
5646
5667
  mouseArgs: n,
5647
5668
  glideCell: a,
@@ -5650,7 +5671,7 @@ function wc({
5650
5671
  relativePoint: c
5651
5672
  });
5652
5673
  }
5653
- function Sc({
5674
+ function Ac({
5654
5675
  eventTarget: r,
5655
5676
  dataEditorRef: t,
5656
5677
  getCellContent: e,
@@ -5667,7 +5688,7 @@ function Sc({
5667
5688
  const a = s;
5668
5689
  if (a.clientX === 0 && a.clientY === 0)
5669
5690
  return;
5670
- const l = wc({
5691
+ const l = Sc({
5671
5692
  dataEditor: t.current,
5672
5693
  getCellContent: e,
5673
5694
  clientX: a.clientX,
@@ -5706,10 +5727,10 @@ function Sc({
5706
5727
  };
5707
5728
  }, [t, r, e, i, o]);
5708
5729
  }
5709
- const Ac = 250;
5710
- function Tc(r) {
5730
+ const Tc = 250;
5731
+ function Ec(r) {
5711
5732
  return U((t, e) => {
5712
- const i = r.consumeEditorRequest(t, Ac);
5733
+ const i = r.consumeEditorRequest(t, Tc);
5713
5734
  return !i || i.target !== "self" ? e : {
5714
5735
  ...e,
5715
5736
  activationBehaviorOverride: "single-click"
@@ -5717,32 +5738,32 @@ function Tc(r) {
5717
5738
  }, [r]);
5718
5739
  }
5719
5740
  const ke = 350;
5720
- function Kr(r) {
5741
+ function Zr(r) {
5721
5742
  return Math.round(r);
5722
5743
  }
5723
- function Ec({
5744
+ function Dc({
5724
5745
  cell: r,
5725
5746
  relativePoint: t,
5726
5747
  button: e
5727
5748
  }) {
5728
- return [r[0], r[1], e ?? "unknown", Kr(t.x), Kr(t.y)].join(":");
5749
+ return [r[0], r[1], e ?? "unknown", Zr(t.x), Zr(t.y)].join(":");
5729
5750
  }
5730
5751
  function Re(r, t) {
5731
5752
  return r[0] === t[0] && r[1] === t[1];
5732
5753
  }
5733
- function Go(r, t) {
5754
+ function $o(r, t) {
5734
5755
  return Math.abs(r.x - t.x) <= 1 && Math.abs(r.y - t.y) <= 1;
5735
5756
  }
5736
- function Dc(r, t) {
5737
- return !Re(r.cell, t.cell) || r.button !== void 0 && t.button !== void 0 && r.button !== t.button ? !1 : Go(r.relativePoint, t.relativePoint);
5738
- }
5739
5757
  function Ic(r, t) {
5740
- return Date.now() - r.startedAt > (t.maxAgeMs ?? ke) || !Re(r.cell, t.cell) || r.button !== void 0 && t.button !== void 0 && r.button !== t.button ? !1 : Go(r.relativePoint, t.relativePoint);
5758
+ return !Re(r.cell, t.cell) || r.button !== void 0 && t.button !== void 0 && r.button !== t.button ? !1 : $o(r.relativePoint, t.relativePoint);
5759
+ }
5760
+ function Hc(r, t) {
5761
+ return Date.now() - r.startedAt > (t.maxAgeMs ?? ke) || !Re(r.cell, t.cell) || r.button !== void 0 && t.button !== void 0 && r.button !== t.button ? !1 : $o(r.relativePoint, t.relativePoint);
5741
5762
  }
5742
- function Hc() {
5763
+ function Lc() {
5743
5764
  let r, t = 1;
5744
5765
  const e = (i) => {
5745
- if (!(!r || !Ic(r, i)))
5766
+ if (!(!r || !Hc(r, i)))
5746
5767
  return r;
5747
5768
  };
5748
5769
  return {
@@ -5750,13 +5771,13 @@ function Hc() {
5750
5771
  const o = e(i);
5751
5772
  return o || (r = {
5752
5773
  id: t++,
5753
- key: Ec(i),
5774
+ key: Dc(i),
5754
5775
  cell: i.cell,
5755
5776
  relativePoint: i.relativePoint,
5756
5777
  interaction: i.interaction,
5757
5778
  // Decision рассчитывается один раз на session, чтобы разные фазы одного
5758
5779
  // gesture не приняли разные policy-решения из-за повторного hit-test.
5759
- decision: Bo(i.interaction),
5780
+ decision: ko(i.interaction),
5760
5781
  consumedPhases: /* @__PURE__ */ new Set(),
5761
5782
  startedAt: i.startedAt ?? Date.now(),
5762
5783
  source: i.source,
@@ -5774,7 +5795,7 @@ function Hc() {
5774
5795
  const o = r;
5775
5796
  if (!(o != null && o.clickResult))
5776
5797
  return;
5777
- if (!Dc(o, i)) {
5798
+ if (!Ic(o, i)) {
5778
5799
  delete o.clickResult;
5779
5800
  return;
5780
5801
  }
@@ -5816,14 +5837,14 @@ function Hc() {
5816
5837
  };
5817
5838
  }
5818
5839
  function Pc() {
5819
- const r = M(() => Hc(), []), t = U((i) => r.beginOrGet(i), [r]), e = U((i) => r.consumeClickResult(i), [r]);
5840
+ const r = M(() => Lc(), []), t = U((i) => r.beginOrGet(i), [r]), e = U((i) => r.consumeClickResult(i), [r]);
5820
5841
  return {
5821
5842
  interactionSessionStore: r,
5822
5843
  beginOrGetInteractionSession: t,
5823
5844
  consumeCanvasClickResult: e
5824
5845
  };
5825
5846
  }
5826
- function Lc(r = {}) {
5847
+ function Bc(r = {}) {
5827
5848
  const t = M(
5828
5849
  // () => columns.some((column) => Boolean(column?.renderCell)),
5829
5850
  () => !0,
@@ -5831,7 +5852,7 @@ function Lc(r = {}) {
5831
5852
  );
5832
5853
  return M(() => {
5833
5854
  const e = [];
5834
- return t && e.push(ko({
5855
+ return t && e.push(zo({
5835
5856
  beginOrGetInteractionSession: r.beginOrGetInteractionSession,
5836
5857
  consumeCanvasClickResult: r.consumeCanvasClickResult
5837
5858
  })), e.length > 0 ? e : void 0;
@@ -5842,7 +5863,7 @@ const li = {
5842
5863
  glideTable: "gdg-table",
5843
5864
  glideUnderlay: "dvn-underlay"
5844
5865
  };
5845
- function Bc(r) {
5866
+ function kc(r) {
5846
5867
  const t = (r == null ? void 0 : r.querySelector(`.${li.glideTable}`)) ?? null, e = (t == null ? void 0 : t.querySelector(`.${li.glideScroller}`)) ?? null, i = (t == null ? void 0 : t.querySelector(`.${li.glideUnderlay}`)) ?? null;
5847
5868
  return {
5848
5869
  container: t,
@@ -5850,12 +5871,12 @@ function Bc(r) {
5850
5871
  underlay: i
5851
5872
  };
5852
5873
  }
5853
- const Zr = "[useGlideElements]";
5854
- function kc(r, t) {
5874
+ const jr = "[useGlideElements]";
5875
+ function zc(r, t) {
5855
5876
  const [e, i] = at(null), [o, n] = at(null), [s, a] = at(null), l = it(null);
5856
5877
  wt(() => {
5857
5878
  const d = r == null ? void 0 : r.current;
5858
- if (lr(Zr, "useEffect fired", {
5879
+ if (lr(jr, "useEffect fired", {
5859
5880
  hasWrapper: !!d,
5860
5881
  fullScreened: t
5861
5882
  }), !d)
@@ -5865,8 +5886,8 @@ function kc(r, t) {
5865
5886
  container: f,
5866
5887
  scroller: g,
5867
5888
  underlay: v
5868
- } = Bc(d);
5869
- return lr(Zr, "tryFind", {
5889
+ } = kc(d);
5890
+ return lr(jr, "tryFind", {
5870
5891
  containerFound: !!f,
5871
5892
  scrollerFound: !!g,
5872
5893
  underlayFound: !!v
@@ -5886,7 +5907,7 @@ function kc(r, t) {
5886
5907
  cancelAnimationFrame(u), l.current && (l.current.disconnect(), l.current = null), i(null), n(null), a(null);
5887
5908
  };
5888
5909
  }, [r, t]);
5889
- const h = U((d) => e ? Le(d, e) : null, [e]);
5910
+ const h = U((d) => e ? Pe(d, e) : null, [e]);
5890
5911
  return {
5891
5912
  /** `.gdg-table` - основной контейнер Glide. */
5892
5913
  glideContainer: e,
@@ -5900,7 +5921,7 @@ function kc(r, t) {
5900
5921
  renderInContainer: h
5901
5922
  };
5902
5923
  }
5903
- function zc(r) {
5924
+ function _c(r) {
5904
5925
  const t = document.createElement("div");
5905
5926
  t.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;pointer-events:none;visibility:hidden", r.appendChild(t);
5906
5927
  const e = t.getBoundingClientRect();
@@ -5909,18 +5930,18 @@ function zc(r) {
5909
5930
  y: e.top
5910
5931
  };
5911
5932
  }
5912
- function _c(r, t) {
5933
+ function Mc(r, t) {
5913
5934
  wt(() => {
5914
5935
  if (!t)
5915
5936
  return;
5916
5937
  const e = r.current;
5917
5938
  if (!e)
5918
5939
  return;
5919
- const i = Rn(() => {
5940
+ const i = Nn(() => {
5920
5941
  const {
5921
5942
  x: o,
5922
5943
  y: n
5923
- } = zc(e);
5944
+ } = _c(e);
5924
5945
  e.style.setProperty("--gdg-portal-offset-x", `${o}px`), e.style.setProperty("--gdg-portal-offset-y", `${n}px`);
5925
5946
  }, 100);
5926
5947
  return i(), window.addEventListener("resize", i), e.addEventListener("resize", i), () => {
@@ -5928,7 +5949,7 @@ function _c(r, t) {
5928
5949
  };
5929
5950
  }, [r, t]);
5930
5951
  }
5931
- function Mc(r, t) {
5952
+ function Rc(r, t) {
5932
5953
  const {
5933
5954
  columnsLast: e,
5934
5955
  rows: i,
@@ -5957,7 +5978,7 @@ function Mc(r, t) {
5957
5978
  );
5958
5979
  }, []);
5959
5980
  return U((f) => {
5960
- var x, m, F;
5981
+ var x, p, F;
5961
5982
  l == null || l(f), h == null || h(f.kind === "cell" ? f.location[1] : void 0);
5962
5983
  const g = (a == null ? void 0 : a.current) ?? null, v = (x = f.location) == null ? void 0 : x[0], C = v != null ? e[v] : void 0;
5963
5984
  if (f.kind === "header") {
@@ -5967,7 +5988,7 @@ function Mc(r, t) {
5967
5988
  }
5968
5989
  const b = `header-tooltip-${v}`;
5969
5990
  d.current === b || c(g);
5970
- const y = (m = t.current) == null ? void 0 : m.getBounds(v, -1);
5991
+ const y = (p = t.current) == null ? void 0 : p.getBounds(v, -1);
5971
5992
  if (!y)
5972
5993
  return;
5973
5994
  d.current = b, Be({
@@ -6026,7 +6047,7 @@ function Mc(r, t) {
6026
6047
  c(g);
6027
6048
  }, [e, i, o, n, s, a, l, h, c, t]);
6028
6049
  }
6029
- function Rc({
6050
+ function Nc({
6030
6051
  enabled: r,
6031
6052
  portalEventTargetRef: t,
6032
6053
  headerHeight: e,
@@ -6054,7 +6075,7 @@ function Rc({
6054
6075
  if (!g || !v)
6055
6076
  return;
6056
6077
  const C = () => {
6057
- const m = g.scrollTop, F = Math.min(m, h.current);
6078
+ const p = g.scrollTop, F = Math.min(p, h.current);
6058
6079
  s(-1 * F), v.style.overflowY = "visible", v.style.transform = `translateY(-${F}px)`;
6059
6080
  };
6060
6081
  g.addEventListener("scroll", C), a.current = () => {
@@ -6069,11 +6090,11 @@ function Rc({
6069
6090
  mergedExperimental: c
6070
6091
  };
6071
6092
  }
6072
- const ci = to.div.withConfig({
6093
+ const ci = eo.div.withConfig({
6073
6094
  displayName: "styled__StyledOverlayPortal"
6074
- })(["[id^='gdg-overlay-']{position:fixed;z-index:9001;margin-left:calc(-1 * var(--gdg-portal-offset-x,0px));margin-top:calc(-1 * var(--gdg-portal-offset-y,0px));}"]), Nc = to(Ln).withConfig({
6095
+ })(["[id^='gdg-overlay-']{position:fixed;z-index:9001;margin-left:calc(-1 * var(--gdg-portal-offset-x,0px));margin-top:calc(-1 * var(--gdg-portal-offset-y,0px));}"]), Oc = eo(Bn).withConfig({
6075
6096
  displayName: "styled__StyledGlideDataEditor"
6076
- })([""]), $o = {
6097
+ })([""]), Uo = {
6077
6098
  // Text tokens (--text-*)
6078
6099
  textPrimary: "#13181BF5",
6079
6100
  textPrimaryHover: "#13181B93",
@@ -6181,7 +6202,7 @@ const ci = to.div.withConfig({
6181
6202
  dataCyanDark: "#04C6C9",
6182
6203
  dataLime: "#93E006",
6183
6204
  dataTeal: "#14CC98"
6184
- }, Oc = {
6205
+ }, Wc = {
6185
6206
  // Text tokens
6186
6207
  textPrimary: "#13181BF5",
6187
6208
  textPrimaryHover: "#13181B93",
@@ -6312,13 +6333,13 @@ const ci = to.div.withConfig({
6312
6333
  dataCyanDark: "#00AAAD",
6313
6334
  dataLime: "#7FC400",
6314
6335
  dataTeal: "#00B082"
6315
- }, Wc = {
6316
- ...$o
6317
6336
  }, Gc = {
6318
- light: $o,
6319
- dark: Wc,
6320
- highContrastLight: Oc
6321
- }, $c = (r = "light") => Gc[r], gt = {
6337
+ ...Uo
6338
+ }, $c = {
6339
+ light: Uo,
6340
+ dark: Gc,
6341
+ highContrastLight: Wc
6342
+ }, Uc = (r = "light") => $c[r], gt = {
6322
6343
  bgEditableCell: {
6323
6344
  light: "#FFF6E5",
6324
6345
  dark: "#211807",
@@ -6381,12 +6402,12 @@ const ci = to.div.withConfig({
6381
6402
  dark: "#DEECF5",
6382
6403
  highContrastLight: "#C2DCEB"
6383
6404
  }
6384
- }, Uc = (r) => ({
6405
+ }, Xc = (r) => ({
6385
6406
  /**
6386
6407
  * Токены для canvas-рендереров (бейджи, статусы, кнопки внутри ячеек).
6387
6408
  * Пример: theme.tokens.textSecondary
6388
6409
  */
6389
- tokens: $c(r),
6410
+ tokens: Uc(r),
6390
6411
  /**
6391
6412
  * Строки шрифтов для компонентов.
6392
6413
  * Пример: theme.fonts.bodyS
@@ -6395,7 +6416,7 @@ const ci = to.div.withConfig({
6395
6416
  /**
6396
6417
  * Числовые метрики тех же шрифтов для canvas layout.
6397
6418
  */
6398
- fontMetrics: io,
6419
+ fontMetrics: ro,
6399
6420
  bgEditableCell: gt.bgEditableCell[r],
6400
6421
  bgEditableCellHovered: gt.bgEditableCellHovered[r],
6401
6422
  selectionCheckboxBg: gt.selectionCheckboxBg[r],
@@ -6473,7 +6494,7 @@ const ci = to.div.withConfig({
6473
6494
  dark: "#DEECF5",
6474
6495
  highContrastLight: "#C2DCEB"
6475
6496
  }
6476
- }, Xc = (r) => ({
6497
+ }, Vc = (r) => ({
6477
6498
  accentColor: st.accentColor[r],
6478
6499
  accentLight: st.accentLight[r],
6479
6500
  textDark: st.textDark[r],
@@ -6487,12 +6508,12 @@ const ci = to.div.withConfig({
6487
6508
  borderColor: st.borderColor[r],
6488
6509
  bgGroupHeader: st.bgGroupHeader[r],
6489
6510
  bgGroupHeaderHovered: st.bgGroupHeaderHovered[r]
6490
- }), jr = {
6511
+ }), Jr = {
6491
6512
  small: "bodyXXS",
6492
6513
  medium: "bodyS",
6493
6514
  big: "bodyM"
6494
- }, Vc = (r = "big") => {
6495
- const t = di[jr[r]], e = io[jr[r]], i = `${e.fontSize}px`, o = e.lineHeightPx, n = Wn[r], {
6515
+ }, Yc = (r = "big") => {
6516
+ const t = di[Jr[r]], e = ro[Jr[r]], i = `${e.fontSize}px`, o = e.lineHeightPx, n = Gn[r], {
6496
6517
  cellHorizontalPadding: s,
6497
6518
  cellVerticalPadding: a
6498
6519
  } = n;
@@ -6506,20 +6527,20 @@ const ci = to.div.withConfig({
6506
6527
  cellVerticalPadding: a,
6507
6528
  activeSizes: n
6508
6529
  };
6509
- }, Uo = (r = "big", t = "light") => ({
6530
+ }, Xo = (r = "big", t = "light") => ({
6531
+ ...Vc(t),
6532
+ ...Yc(r),
6510
6533
  ...Xc(t),
6511
- ...Vc(r),
6512
- ...Uc(t),
6513
6534
  rowSize: r
6514
- }), Pu = Uo(), Jr = (r, t) => {
6535
+ }), Pu = Xo(), Qr = (r, t) => {
6515
6536
  if (r == null)
6516
6537
  return null;
6517
6538
  const e = typeof r == "number" ? r : r(t);
6518
6539
  return [t.colInd, t.colInd + e];
6519
6540
  };
6520
- function Yc(...r) {
6541
+ function Kc(...r) {
6521
6542
  }
6522
- const qc = {}, Lu = ({
6543
+ const qc = {}, Bu = ({
6523
6544
  columns: r,
6524
6545
  rows: t,
6525
6546
  bottomSummaryRows: e,
@@ -6538,14 +6559,14 @@ const qc = {}, Lu = ({
6538
6559
  resizableColumn: v = !0,
6539
6560
  minColumnWidth: C = 56,
6540
6561
  maxColumnWidth: x,
6541
- maxColumnAutoWidth: m,
6562
+ maxColumnAutoWidth: p,
6542
6563
  containerRef: F,
6543
6564
  containerClassName: b,
6544
6565
  containerStyle: S,
6545
6566
  renderOverlayFeatures: y,
6546
6567
  hideGrid: I,
6547
6568
  contentStateNode: A,
6548
- fullScreened: L,
6569
+ fullScreened: P,
6549
6570
  editorOverlayPortal: R,
6550
6571
  highlightActiveType: lt = "disabled",
6551
6572
  // Режим фактического выделения ячеек (нативный glide). Независим от
@@ -6574,95 +6595,95 @@ const qc = {}, Lu = ({
6574
6595
  onHighlightActiveRowChange: $,
6575
6596
  highlightActiveRowControlled: X,
6576
6597
  highlightRegions: ct,
6577
- checkboxSelectedRowIndexes: K,
6598
+ checkboxSelectedRowIndexes: q,
6578
6599
  checkboxVisibleRowIndexes: Y,
6579
6600
  hoverEffects: Z,
6580
6601
  onCellClicked: tt,
6581
6602
  onCellContextMenu: bt,
6582
6603
  onMouseMove: ve,
6583
- portalElementRef: Kc,
6604
+ portalElementRef: Zc,
6584
6605
  // на всякий вытащили, чтобы в составе resProps не перезаписал внутреннюю логику.
6585
6606
  ...Nt
6586
6607
  }) => {
6587
6608
  var Qi, tr;
6588
- const _i = Nn(), B = M(
6589
- () => Uo(n, _i),
6609
+ const _i = On(), B = M(
6610
+ () => Xo(n, _i),
6590
6611
  [n, _i]
6591
- ), Xo = M(() => {
6592
- const p = typeof i == "number" ? i : void 0;
6593
- if (p)
6594
- return p;
6595
- const w = On[n], T = typeof i == "function" ? i : void 0;
6612
+ ), Vo = M(() => {
6613
+ const m = typeof i == "number" ? i : void 0;
6614
+ if (m)
6615
+ return m;
6616
+ const w = Wn[n], T = typeof i == "function" ? i : void 0;
6596
6617
  return T ? (E) => {
6597
6618
  const H = t[E];
6598
6619
  if (!H)
6599
- return p ?? w;
6620
+ return m ?? w;
6600
6621
  const k = T(H, {
6601
6622
  rowSizeName: n,
6602
6623
  rowSizeValue: w
6603
6624
  }, E);
6604
6625
  return typeof k == "number" && !Number.isNaN(k) ? k : w;
6605
6626
  } : w;
6606
- }, [t, i, n]), Ot = (e == null ? void 0 : e.length) ?? 0, Vo = xc(Xo), [me, Yo] = at(
6627
+ }, [t, i, n]), Ot = (e == null ? void 0 : e.length) ?? 0, Yo = wc(Vo), [pe, Ko] = at(
6607
6628
  /* @__PURE__ */ new Map()
6608
6629
  ), qo = U(
6609
- (p, w, T, E) => {
6610
- const H = p;
6611
- H.id && (l == null || l(H, w, T, E), Yo((D) => (D.set(H.id, w), new Map(D))));
6630
+ (m, w, T, E) => {
6631
+ const H = m;
6632
+ H.id && (l == null || l(H, w, T, E), Ko((D) => (D.set(H.id, w), new Map(D))));
6612
6633
  },
6613
6634
  [l]
6614
- ), Wt = M(() => me.size === 0 ? r : r.map((p) => me.has(p.id) ? { ...p, width: me.get(p.id), grow: 0 } : p), [r, me]), [Mi, Zc] = at(0), Ge = M(
6635
+ ), Wt = M(() => pe.size === 0 ? r : r.map((m) => pe.has(m.id) ? { ...m, width: pe.get(m.id), grow: 0 } : m), [r, pe]), [Mi, jc] = at(0), Ge = M(
6615
6636
  () => /* @__PURE__ */ new WeakMap(),
6616
6637
  []
6617
6638
  ), $e = it(
6618
6639
  null
6619
6640
  ), Tt = it(null);
6620
6641
  wt(() => {
6621
- var p;
6622
- (kt == null ? void 0 : kt.current) !== void 0 && ((p = Tt.current) == null || p.focus());
6642
+ var m;
6643
+ (kt == null ? void 0 : kt.current) !== void 0 && ((m = Tt.current) == null || m.focus());
6623
6644
  }, [kt]);
6624
6645
  const {
6625
6646
  interactionSessionStore: ut,
6626
- beginOrGetInteractionSession: Ko,
6627
- consumeCanvasClickResult: Zo
6628
- } = Pc(), Ri = Tc(
6647
+ beginOrGetInteractionSession: Zo,
6648
+ consumeCanvasClickResult: jo
6649
+ } = Pc(), Ri = Ec(
6629
6650
  ut
6630
6651
  ), {
6631
- selection: mt,
6632
- handleGridSelectionChange: jo,
6633
- handleSelectionCleared: Jo,
6634
- rangeSelect: Qo
6635
- } = Cc({
6652
+ selection: pt,
6653
+ handleGridSelectionChange: Jo,
6654
+ handleSelectionCleared: Qo,
6655
+ rangeSelect: tn
6656
+ } = vc({
6636
6657
  cellsSelectionMode: N,
6637
6658
  gridSelection: kt,
6638
6659
  onGridSelectionChange: We,
6639
6660
  onSelectionEmit: Ce
6640
- }), ot = vc({
6661
+ }), ot = pc({
6641
6662
  columns: Wt,
6642
- selection: mt,
6663
+ selection: pt,
6643
6664
  cellsSelectionMode: N,
6644
- checkboxSelectedRowIndexes: K
6645
- }), tn = M(
6646
- () => $ ? (p) => $(
6647
- p,
6648
- p !== void 0 ? t[p] : void 0
6665
+ checkboxSelectedRowIndexes: q
6666
+ }), en = M(
6667
+ () => $ ? (m) => $(
6668
+ m,
6669
+ m !== void 0 ? t[m] : void 0
6649
6670
  ) : void 0,
6650
6671
  [$, t]
6651
6672
  ), {
6652
- selectedColumnIndexes: en,
6673
+ selectedColumnIndexes: rn,
6653
6674
  selectedColumnKeysAll: Ni,
6654
6675
  selectColumnsByKeys: Oi,
6655
6676
  selectedColumnSet: Wi,
6656
6677
  headerSelectedRowIndexes: Gi,
6657
- activeRow: rn,
6678
+ activeRow: on,
6658
6679
  numberingColumnIndex: $i,
6659
- drawFocusRing: on,
6680
+ drawFocusRing: nn,
6660
6681
  selectColumnFromHeader: Ui,
6661
- handleGridSelectionWithColumnReset: nn,
6662
- handleSelectionClearedWithColumns: sn
6663
- } = bc({
6682
+ handleGridSelectionWithColumnReset: sn,
6683
+ handleSelectionClearedWithColumns: an
6684
+ } = Fc({
6664
6685
  columns: Wt,
6665
- selection: mt,
6686
+ selection: pt,
6666
6687
  cellsSelectionMode: N,
6667
6688
  highlightActiveType: lt,
6668
6689
  enableColumnSelection: rt,
@@ -6670,11 +6691,11 @@ const qc = {}, Lu = ({
6670
6691
  enableSelectAll: Oe,
6671
6692
  leadingServiceColumnsCount: ot.leadingServiceColumnsCount,
6672
6693
  dataRowCount: t.length + Ot,
6673
- handleGridSelectionChange: jo,
6674
- handleSelectionCleared: Jo,
6694
+ handleGridSelectionChange: Jo,
6695
+ handleSelectionCleared: Qo,
6675
6696
  onSelectionEmit: Ce,
6676
6697
  highlightActiveRow: O,
6677
- onHighlightActiveRowChange: tn,
6698
+ onHighlightActiveRowChange: en,
6678
6699
  isHighlightActiveRowControlled: X
6679
6700
  });
6680
6701
  wt(() => {
@@ -6684,8 +6705,8 @@ const qc = {}, Lu = ({
6684
6705
  if (!_)
6685
6706
  return;
6686
6707
  Oi(_);
6687
- const p = setTimeout(() => W == null ? void 0 : W(), 0);
6688
- return () => clearTimeout(p);
6708
+ const m = setTimeout(() => W == null ? void 0 : W(), 0);
6709
+ return () => clearTimeout(m);
6689
6710
  },
6690
6711
  [
6691
6712
  _,
@@ -6696,24 +6717,24 @@ const qc = {}, Lu = ({
6696
6717
  );
6697
6718
  const Xi = Gi.length > 0, Vi = M(() => {
6698
6719
  var T;
6699
- const p = /* @__PURE__ */ new Set(), w = (T = mt.current) == null ? void 0 : T.rangeStack;
6720
+ const m = /* @__PURE__ */ new Set(), w = (T = pt.current) == null ? void 0 : T.rangeStack;
6700
6721
  if (w) {
6701
6722
  const E = ot.firstDataColumnIndex;
6702
6723
  for (const H of w) {
6703
6724
  const D = Math.max(H.x, E);
6704
6725
  for (let k = D; k < H.x + H.width; k += 1)
6705
- p.add(k);
6726
+ m.add(k);
6706
6727
  }
6707
6728
  }
6708
- return p;
6709
- }, [mt, ot.firstDataColumnIndex]), J = M(
6710
- () => Wt.map((p, w) => {
6711
- const T = { ...p.themeOverride ?? {} };
6729
+ return m;
6730
+ }, [pt, ot.firstDataColumnIndex]), J = M(
6731
+ () => Wt.map((m, w) => {
6732
+ const T = { ...m.themeOverride ?? {} };
6712
6733
  let E = Object.keys(T).length > 0;
6713
- return p.isServiceColumn && (T.bgCell = B.selectionServiceBg, E = !0), w === $i && (T.accentLight = "transparent", T.accentColor = "transparent", E = !0), ot.isActiveHeaderColumn(w) && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), Wi.has(w) && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), Vi.has(w) && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), Xi && !p.isServiceColumn && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), E ? {
6714
- ...p,
6734
+ return m.isServiceColumn && (T.bgCell = B.selectionServiceBg, E = !0), w === $i && (T.accentLight = "transparent", T.accentColor = "transparent", E = !0), ot.isActiveHeaderColumn(w) && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), Wi.has(w) && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), Vi.has(w) && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), Xi && !m.isServiceColumn && (T.bgHeader = B.selectionServiceActiveBg, T.bgHeaderHasFocus = B.selectionServiceActiveBg, E = !0), E ? {
6735
+ ...m,
6715
6736
  themeOverride: T
6716
- } : p;
6737
+ } : m;
6717
6738
  }),
6718
6739
  [
6719
6740
  Wt,
@@ -6725,13 +6746,13 @@ const qc = {}, Lu = ({
6725
6746
  B.selectionServiceBg,
6726
6747
  B.selectionServiceActiveBg
6727
6748
  ]
6728
- ), an = M(() => {
6749
+ ), ln = M(() => {
6729
6750
  var T;
6730
- const p = (T = mt.current) == null ? void 0 : T.range, w = [];
6751
+ const m = (T = pt.current) == null ? void 0 : T.range, w = [];
6731
6752
  return J.forEach((E, H) => {
6732
6753
  E.isServiceColumn || !E.isErrorCell || t.forEach((D, k) => {
6733
6754
  var z;
6734
- (z = E.isErrorCell) != null && z.call(E, D) && (Oo(p, H, k) || w.push({
6755
+ (z = E.isErrorCell) != null && z.call(E, D) && (Wo(m, H, k) || w.push({
6735
6756
  x: H,
6736
6757
  y: k,
6737
6758
  width: 1,
@@ -6739,21 +6760,21 @@ const qc = {}, Lu = ({
6739
6760
  }));
6740
6761
  });
6741
6762
  }), w;
6742
- }, [J, t, mt.current]), pe = U(
6743
- ([p, w], T) => {
6763
+ }, [J, t, pt.current]), me = U(
6764
+ ([m, w], T) => {
6744
6765
  var xe, or, we, nr;
6745
- Yc(Mi);
6746
- const E = (T == null ? void 0 : T.applyCanvasEditorActivation) !== !1, H = (Dt) => E ? Ri([p, w], Dt) : Dt, D = !!e && w > t.length - 1, k = t[w], z = J[p];
6766
+ Kc(Mi);
6767
+ const E = (T == null ? void 0 : T.applyCanvasEditorActivation) !== !1, H = (Dt) => E ? Ri([m, w], Dt) : Dt, D = !!e && w > t.length - 1, k = t[w], z = J[m];
6747
6768
  if (!z)
6748
6769
  return le();
6749
6770
  if (D) {
6750
- const Dt = e[w - t.length], { renderSummaryCell: sr, colSpan: In } = z;
6771
+ const Dt = e[w - t.length], { renderSummaryCell: sr, colSpan: Hn } = z;
6751
6772
  if (!sr || !Dt)
6752
6773
  return le();
6753
6774
  const je = {
6754
6775
  row: Dt,
6755
6776
  column: z,
6756
- colInd: p,
6777
+ colInd: m,
6757
6778
  rowInd: w,
6758
6779
  ctxs: s,
6759
6780
  theme: B,
@@ -6765,18 +6786,18 @@ const qc = {}, Lu = ({
6765
6786
  cellActive: !1,
6766
6787
  rowActive: !1
6767
6788
  }
6768
- }, Hn = sr(
6789
+ }, Ln = sr(
6769
6790
  je
6770
- ), ar = Jr(
6771
- In,
6791
+ ), ar = Qr(
6792
+ Hn,
6772
6793
  je
6773
6794
  ), Pn = {
6774
6795
  data: "",
6775
6796
  ...ar && { span: ar }
6776
6797
  };
6777
6798
  return H(
6778
- Yr({
6779
- jsxElement: Hn,
6799
+ Kr({
6800
+ jsxElement: Ln,
6780
6801
  canvasCellCache: Ge,
6781
6802
  cellInfo: je,
6782
6803
  options: {
@@ -6792,17 +6813,17 @@ const qc = {}, Lu = ({
6792
6813
  const j = $e.current, V = {
6793
6814
  row: k,
6794
6815
  column: z,
6795
- colInd: p,
6816
+ colInd: m,
6796
6817
  rowInd: w,
6797
6818
  ctxs: s,
6798
6819
  theme: B,
6799
6820
  hovered: {
6800
- cellHover: (j == null ? void 0 : j.colInd) === p && (j == null ? void 0 : j.rowInd) === w,
6821
+ cellHover: (j == null ? void 0 : j.colInd) === m && (j == null ? void 0 : j.rowInd) === w,
6801
6822
  rowHover: (j == null ? void 0 : j.rowInd) === w
6802
6823
  },
6803
6824
  active: {
6804
6825
  // Источник активного состояния тот же, что используется для визуальной подсветки таблицы.
6805
- cellActive: ot.isActiveDataCell(p, w),
6826
+ cellActive: ot.isActiveDataCell(m, w),
6806
6827
  rowActive: ot.isActiveRow(w)
6807
6828
  }
6808
6829
  }, {
@@ -6812,7 +6833,7 @@ const qc = {}, Lu = ({
6812
6833
  editable: Et,
6813
6834
  contentAlign: _t,
6814
6835
  columnThemeOverride: be
6815
- } = z, Fe = ((or = (xe = k[ht]) == null ? void 0 : xe.toString) == null ? void 0 : or.call(xe)) ?? "NOT FOUND", er = Jr(G, V), ir = Et ? typeof Et == "boolean" ? Et : Et(k) : !1, Ke = typeof be == "function" ? be(V) : void 0, Ze = {
6836
+ } = z, Fe = ((or = (xe = k[ht]) == null ? void 0 : xe.toString) == null ? void 0 : or.call(xe)) ?? "NOT FOUND", er = Qr(G, V), ir = Et ? typeof Et == "boolean" ? Et : Et(k) : !1, qe = typeof be == "function" ? be(V) : void 0, Ze = {
6816
6837
  data: ((nr = (we = k[ht]) == null ? void 0 : we.toString) == null ? void 0 : nr.call(we)) ?? "NOT FOUND",
6817
6838
  ...ir ? {
6818
6839
  readonly: !1,
@@ -6823,7 +6844,7 @@ const qc = {}, Lu = ({
6823
6844
  ...z.hasPreview === "none" && { allowOverlay: !1 }
6824
6845
  },
6825
6846
  themeOverride: {
6826
- ...Ke,
6847
+ ...qe,
6827
6848
  ...ir && { bgCell: B.bgEditableCell }
6828
6849
  },
6829
6850
  contentAlign: _t,
@@ -6831,14 +6852,14 @@ const qc = {}, Lu = ({
6831
6852
  };
6832
6853
  if (!et) {
6833
6854
  const Dt = String(Fe);
6834
- return Ro(Dt) ? H(
6855
+ return No(Dt) ? H(
6835
6856
  Di(Dt, Ze)
6836
6857
  ) : H(le(Ze));
6837
6858
  }
6838
- const rr = Ke ? { ...V, theme: { ...B, ...Ke } } : V, Dn = et(rr);
6859
+ const rr = qe ? { ...V, theme: { ...B, ...qe } } : V, In = et(rr);
6839
6860
  return H(
6840
- Yr({
6841
- jsxElement: Dn,
6861
+ Kr({
6862
+ jsxElement: In,
6842
6863
  canvasCellCache: Ge,
6843
6864
  cellInfo: rr,
6844
6865
  options: {
@@ -6861,14 +6882,14 @@ const qc = {}, Lu = ({
6861
6882
  u,
6862
6883
  Ri
6863
6884
  ]
6864
- ), ln = U(
6865
- (p, w) => {
6885
+ ), cn = U(
6886
+ (m, w) => {
6866
6887
  var G;
6867
- const T = pe(p, {
6888
+ const T = me(m, {
6868
6889
  applyCanvasEditorActivation: !1
6869
6890
  });
6870
- if (!Ho(T)) {
6871
- tt == null || tt(p, w);
6891
+ if (!Lo(T)) {
6892
+ tt == null || tt(m, w);
6872
6893
  return;
6873
6894
  }
6874
6895
  let E = !1;
@@ -6877,37 +6898,37 @@ const qc = {}, Lu = ({
6877
6898
  E = !0, H();
6878
6899
  };
6879
6900
  const D = ue(
6880
- { colIndex: p[0], rowIndex: p[1] },
6901
+ { colIndex: m[0], rowIndex: m[1] },
6881
6902
  w.bounds
6882
6903
  ), k = he(D, T), z = {
6883
6904
  x: w.localEventX,
6884
6905
  y: w.localEventY
6885
- }, j = Wo({
6886
- cell: p,
6906
+ }, j = Go({
6907
+ cell: m,
6887
6908
  glideCell: T,
6888
6909
  rect: w.bounds,
6889
6910
  renderData: k,
6890
6911
  relativePoint: z
6891
6912
  }), V = j ? ut.beginOrGet({
6892
- cell: p,
6913
+ cell: m,
6893
6914
  relativePoint: z,
6894
6915
  interaction: j.interaction,
6895
6916
  button: w.button,
6896
6917
  source: "click"
6897
6918
  }) : ut.beginOrGet({
6898
- cell: p,
6919
+ cell: m,
6899
6920
  relativePoint: z,
6900
- interaction: ss(),
6921
+ interaction: as(),
6901
6922
  button: w.button,
6902
6923
  source: "click"
6903
- }), et = Lo({
6924
+ }), et = Bo({
6904
6925
  cell: T,
6905
6926
  rect: w.bounds,
6906
6927
  relativePoint: z,
6907
6928
  renderData: k,
6908
- rowData: t[p[1]],
6909
- rowIndex: p[1]
6910
- }), ht = V ? El({
6929
+ rowData: t[m[1]],
6930
+ rowIndex: m[1]
6931
+ }), ht = V ? Dl({
6911
6932
  decision: V.decision,
6912
6933
  propagationStopped: et.propagationStopped,
6913
6934
  suppressGridDefault: et.suppressGridDefault
@@ -6918,30 +6939,30 @@ const qc = {}, Lu = ({
6918
6939
  if (V && (ut.consumePhase(V, "cell-click"), ut.storeClickResult(V, et)), w.button === 0 && ((G = ht.editorRequest) == null ? void 0 : G.target) === "self" && ut.armEditorRequest(
6919
6940
  V,
6920
6941
  ht.editorRequest
6921
- ), ht.suppressGridDefaultForClick && (w.preventDefault(), V != null && V.decision.editorRequest && ut.clear()), ht.suppressExternalCellClick || tt == null || tt(p, w), E || w.button === 1) {
6942
+ ), ht.suppressGridDefaultForClick && (w.preventDefault(), V != null && V.decision.editorRequest && ut.clear()), ht.suppressExternalCellClick || tt == null || tt(m, w), E || w.button === 1) {
6922
6943
  ut.clear();
6923
6944
  return;
6924
6945
  }
6925
6946
  },
6926
- [pe, ut, tt, t]
6927
- ), cn = U(
6928
- (p, w) => {
6929
- ut.isMatchingRecent("contextmenu-capture", p) || bt == null || bt(p, w);
6947
+ [me, ut, tt, t]
6948
+ ), un = U(
6949
+ (m, w) => {
6950
+ ut.isMatchingRecent("contextmenu-capture", m) || bt == null || bt(m, w);
6930
6951
  },
6931
6952
  [ut, bt]
6932
- ), un = Lc({
6933
- beginOrGetInteractionSession: Ko,
6934
- consumeCanvasClickResult: Zo
6953
+ ), hn = Bc({
6954
+ beginOrGetInteractionSession: Zo,
6955
+ consumeCanvasClickResult: jo
6935
6956
  }), Gt = it(null), $t = it(null), te = M(
6936
6957
  () => /* @__PURE__ */ new Map(),
6937
6958
  []
6938
6959
  ), Yi = M(
6939
6960
  () => /* @__PURE__ */ new Map(),
6940
6961
  []
6941
- ), Ue = it(null), zt = it(null), hn = M(
6962
+ ), Ue = it(null), zt = it(null), dn = M(
6942
6963
  () => cr(zt, F),
6943
6964
  [F]
6944
- ), { drawHeader: dn, onHeaderClicked: fn } = M(
6965
+ ), { drawHeader: fn, onHeaderClicked: gn } = M(
6945
6966
  () => ({ drawHeader: (T, E) => {
6946
6967
  var Fe;
6947
6968
  const { ctx: H, rect: D, columnIndex: k } = T, z = J[k];
@@ -6954,7 +6975,7 @@ const qc = {}, Lu = ({
6954
6975
  theme: B
6955
6976
  };
6956
6977
  let V = z.renderHeaderCell(j);
6957
- if (!Vr(V))
6978
+ if (!Yr(V))
6958
6979
  return E();
6959
6980
  typeof V == "string" && (V = /* @__PURE__ */ Ft.jsxDEV(He.Container, { style: { width: "100%" }, alignItems: "center", children: /* @__PURE__ */ Ft.jsxDEV(He.Text, { children: V }, void 0, !1, {
6960
6981
  fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableGlide/TableGlide.tsx",
@@ -7024,36 +7045,36 @@ const qc = {}, Lu = ({
7024
7045
  ]
7025
7046
  ), {
7026
7047
  glideContainer: Xe,
7027
- isReady: gn,
7028
- renderInContainer: Cn
7029
- } = kc(zt, L), qi = R === "inside";
7030
- _c(zt, qi), Sc({
7048
+ isReady: Cn,
7049
+ renderInContainer: vn
7050
+ } = zc(zt, P), Ki = R === "inside";
7051
+ Mc(zt, Ki), Ac({
7031
7052
  eventTarget: Xe ?? zt.current,
7032
7053
  dataEditorRef: Tt,
7033
- getCellContent: pe,
7054
+ getCellContent: me,
7034
7055
  interactionSessionStore: ut,
7035
7056
  onCellContextMenuExternal: bt
7036
7057
  });
7037
- const { unstickyCallbackRef: Ki, mergedExperimental: Ve } = Rc({
7058
+ const { unstickyCallbackRef: qi, mergedExperimental: Ve } = Nc({
7038
7059
  enabled: g,
7039
7060
  portalEventTargetRef: u,
7040
7061
  headerHeight: Nt.headerHeight,
7041
7062
  groupHeaderHeight: Nt.groupHeaderHeight,
7042
7063
  experimental: Nt.experimental
7043
- }), vn = M(
7044
- () => cr(Tt, d, Ki),
7045
- [d, Ki]
7064
+ }), pn = M(
7065
+ () => cr(Tt, d, qi),
7066
+ [d, qi]
7046
7067
  ), mn = M(() => Qt === void 0 ? Ve : {
7047
7068
  ...Ve,
7048
7069
  enableLowDprHairline: Qt
7049
7070
  }, [Qt, Ve]), Zi = U(
7050
- (...p) => {
7071
+ (...m) => {
7051
7072
  var H;
7052
7073
  const w = Tt.current;
7053
7074
  if (!w)
7054
7075
  return;
7055
7076
  const T = /* @__PURE__ */ new Set();
7056
- p.forEach((D) => {
7077
+ m.forEach((D) => {
7057
7078
  typeof D == "number" && D >= 0 && D < t.length && T.add(D);
7058
7079
  });
7059
7080
  const E = [];
@@ -7065,44 +7086,44 @@ const qc = {}, Lu = ({
7065
7086
  },
7066
7087
  [J, t.length]
7067
7088
  ), ye = U(
7068
- (p) => {
7089
+ (m) => {
7069
7090
  const w = $e.current;
7070
- (w == null ? void 0 : w.colInd) === (p == null ? void 0 : p.colInd) && (w == null ? void 0 : w.rowInd) === (p == null ? void 0 : p.rowInd) || ($e.current = p, Zi(
7091
+ (w == null ? void 0 : w.colInd) === (m == null ? void 0 : m.colInd) && (w == null ? void 0 : w.rowInd) === (m == null ? void 0 : m.rowInd) || ($e.current = m, Zi(
7071
7092
  w == null ? void 0 : w.rowInd,
7072
- p == null ? void 0 : p.rowInd
7093
+ m == null ? void 0 : m.rowInd
7073
7094
  ));
7074
7095
  },
7075
7096
  [Zi]
7076
- ), pn = U(
7077
- (p) => {
7078
- ve == null || ve(p), p.kind === "cell" ? (() => {
7079
- const T = p.location[0], E = p.location[1], H = t[E], D = J[T];
7097
+ ), yn = U(
7098
+ (m) => {
7099
+ ve == null || ve(m), m.kind === "cell" ? (() => {
7100
+ const T = m.location[0], E = m.location[1], H = t[E], D = J[T];
7080
7101
  if (!H || !D || D.isServiceColumn) {
7081
7102
  ye(null);
7082
7103
  return;
7083
7104
  }
7084
7105
  ye({ colInd: T, rowInd: E });
7085
- })() : ye(null), p.kind === "group-header" ? (() => {
7086
- if (typeof p.group != "string") {
7106
+ })() : ye(null), m.kind === "group-header" ? (() => {
7107
+ if (typeof m.group != "string") {
7087
7108
  $t.current = null;
7088
7109
  return;
7089
7110
  }
7090
7111
  $t.current = {
7091
- id: p.group,
7092
- x: p.localEventX,
7093
- y: p.localEventY
7112
+ id: m.group,
7113
+ x: m.localEventX,
7114
+ y: m.localEventY
7094
7115
  };
7095
- })() : $t.current = null, p.kind === "header" ? (() => {
7116
+ })() : $t.current = null, m.kind === "header" ? (() => {
7096
7117
  var D, k;
7097
- const T = p.location[0], E = p.location[1], H = J[T];
7118
+ const T = m.location[0], E = m.location[1], H = J[T];
7098
7119
  if (!H || !(H != null && H.renderHeaderCell)) {
7099
7120
  Gt.current = null;
7100
7121
  return;
7101
7122
  }
7102
7123
  Gt.current = {
7103
7124
  id: H.id,
7104
- x: p.localEventX,
7105
- y: p.localEventY
7125
+ x: m.localEventX,
7126
+ y: m.localEventY
7106
7127
  }, (k = (D = Tt.current) == null ? void 0 : D.updateCells) == null || k.call(
7107
7128
  D,
7108
7129
  [
@@ -7119,24 +7140,24 @@ const qc = {}, Lu = ({
7119
7140
  headerAndGroupHeaderRowsCount: 1 + (Nt.groupHeaderHeight ?? []).length
7120
7141
  /* 1 - это сам header */
7121
7142
  };
7122
- lc(ji), ac(ji);
7123
- const yn = M(() => c ? (w, T) => {
7143
+ cc(ji), lc(ji);
7144
+ const bn = M(() => c ? (w, T) => {
7124
7145
  var D, k;
7125
7146
  const E = (D = J[w]) == null ? void 0 : D.id, H = (k = J[T]) == null ? void 0 : k.id;
7126
7147
  typeof E != "string" || typeof H != "string" || c(E, H);
7127
- } : void 0, [J, c]), bn = M(
7148
+ } : void 0, [J, c]), Fn = M(
7128
7149
  () => {
7129
7150
  if (h)
7130
- return (p, w) => {
7151
+ return (m, w) => {
7131
7152
  var _t;
7132
- const T = h(p);
7153
+ const T = h(m);
7133
7154
  if (T === "default")
7134
7155
  return w();
7135
7156
  if ("defaultWithCustomGroupName" in T)
7136
7157
  return w(T.defaultWithCustomGroupName);
7137
- const { groupName: H, rect: D, ctx: k } = p;
7158
+ const { groupName: H, rect: D, ctx: k } = m;
7138
7159
  let z = T;
7139
- if (!Vr(z))
7160
+ if (!Yr(z))
7140
7161
  return w();
7141
7162
  typeof z == "string" && (z = /* @__PURE__ */ Ft.jsxDEV(He.Container, { style: { width: "100%" }, alignItems: "center", children: /* @__PURE__ */ Ft.jsxDEV(He.Text, { children: z }, void 0, !1, {
7142
7163
  fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableGlide/TableGlide.tsx",
@@ -7173,15 +7194,15 @@ const qc = {}, Lu = ({
7173
7194
  B,
7174
7195
  u
7175
7196
  ]
7176
- ), Ye = Z == null ? void 0 : Z.row, ee = !!Ye, Ji = typeof Ye == "object" ? Ye.color : void 0, [Ut, Fn] = at(void 0), xn = U((p) => {
7177
- Fn((w) => w === p ? w : p);
7178
- }, []), wn = M(
7197
+ ), Ye = Z == null ? void 0 : Z.row, ee = !!Ye, Ji = typeof Ye == "object" ? Ye.color : void 0, [Ut, xn] = at(void 0), wn = U((m) => {
7198
+ xn((w) => w === m ? w : m);
7199
+ }, []), Sn = M(
7179
7200
  () => {
7180
- const p = !!(K != null && K.size), w = ee ? Ut : void 0;
7181
- if (!Ot && !p && w === void 0)
7201
+ const m = !!(q != null && q.size), w = ee ? Ut : void 0;
7202
+ if (!Ot && !m && w === void 0)
7182
7203
  return;
7183
7204
  const T = Ji ?? B.bgRowHovered;
7184
- return (E) => E > t.length - 1 ? { bgCell: B.bgHeader } : K != null && K.has(E) ? {
7205
+ return (E) => E > t.length - 1 ? { bgCell: B.bgHeader } : q != null && q.has(E) ? {
7185
7206
  bgCell: E === w ? B.bgSelectedRowHovered : B.selectionCheckboxBg
7186
7207
  } : E === w ? { bgCell: T } : {};
7187
7208
  },
@@ -7192,12 +7213,12 @@ const qc = {}, Lu = ({
7192
7213
  B.selectionCheckboxBg,
7193
7214
  B.bgRowHovered,
7194
7215
  B.bgSelectedRowHovered,
7195
- K,
7216
+ q,
7196
7217
  ee,
7197
7218
  Ut,
7198
7219
  Ji
7199
7220
  ]
7200
- ), Sn = Mc(
7221
+ ), An = Rc(
7201
7222
  {
7202
7223
  columnsLast: J,
7203
7224
  rows: t,
@@ -7206,55 +7227,55 @@ const qc = {}, Lu = ({
7206
7227
  theme: B,
7207
7228
  portalEventTargetRef: u,
7208
7229
  externalOnItemHovered: f,
7209
- onHoverRowChange: ee ? xn : void 0
7230
+ onHoverRowChange: ee ? wn : void 0
7210
7231
  },
7211
7232
  Tt
7212
- ), An = fc({
7233
+ ), Tn = gc({
7213
7234
  cellsSelectionMode: N,
7214
- selection: mt,
7235
+ selection: pt,
7215
7236
  baseTheme: B,
7216
7237
  serviceColumnsCount: ot.leadingServiceColumnsCount,
7217
7238
  activeDataRange: ot.activeDataRange,
7218
7239
  outlineRange: ot.outlineRange,
7219
- checkboxSelectedRowIndexes: K,
7220
- errorCellRanges: an,
7240
+ checkboxSelectedRowIndexes: q,
7241
+ errorCellRanges: ln,
7221
7242
  highlightRegionsExternal: ct
7222
- }), qe = gc({
7223
- baseRegions: An,
7224
- selectedColumnIndexes: en,
7243
+ }), Ke = Cc({
7244
+ baseRegions: Tn,
7245
+ selectedColumnIndexes: rn,
7225
7246
  headerSelectedRowIndexes: Gi,
7226
- activeRow: rn,
7227
- activeRange: (Qi = mt.current) == null ? void 0 : Qi.range,
7228
- selectionRangeStack: (tr = mt.current) == null ? void 0 : tr.rangeStack,
7247
+ activeRow: on,
7248
+ activeRange: (Qi = pt.current) == null ? void 0 : Qi.range,
7249
+ selectionRangeStack: (tr = pt.current) == null ? void 0 : tr.rangeStack,
7229
7250
  checkboxAvailableRowIndexes: Y,
7230
7251
  totalRows: t.length + Ot,
7231
7252
  firstDataCol: ot.leadingServiceColumnsCount,
7232
7253
  columnsCount: Wt.length,
7233
7254
  theme: B
7234
- }), Tn = M(
7255
+ }), En = M(
7235
7256
  () => {
7236
- const p = ot.leadingServiceColumnsCount;
7257
+ const m = ot.leadingServiceColumnsCount;
7237
7258
  return !ee || Ut === void 0 || Ut > t.length - 1 || // summary-строки hover не получают
7238
- p === 0 ? qe : [
7259
+ m === 0 ? Ke : [
7239
7260
  // Первым в массиве — самый нижний слой: остальные регионы (селектинг,
7240
7261
  // активная строка) рисуются поверх.
7241
7262
  {
7242
7263
  color: B.bgServiceRowHovered,
7243
- range: { x: 0, y: Ut, width: p, height: 1 },
7264
+ range: { x: 0, y: Ut, width: m, height: 1 },
7244
7265
  style: "no-outline"
7245
7266
  },
7246
- ...qe ?? []
7267
+ ...Ke ?? []
7247
7268
  ];
7248
7269
  },
7249
7270
  [
7250
- qe,
7271
+ Ke,
7251
7272
  ot.leadingServiceColumnsCount,
7252
7273
  ee,
7253
7274
  Ut,
7254
7275
  t.length,
7255
7276
  B.bgServiceRowHovered
7256
7277
  ]
7257
- ), En = M(() => {
7278
+ ), Dn = M(() => {
7258
7279
  if (!(!S && !A && !I))
7259
7280
  return {
7260
7281
  ...S,
@@ -7265,16 +7286,16 @@ const qc = {}, Lu = ({
7265
7286
  return /* @__PURE__ */ Ft.jsxDEV(
7266
7287
  "div",
7267
7288
  {
7268
- ref: hn,
7289
+ ref: dn,
7269
7290
  className: b,
7270
- style: En,
7291
+ style: Dn,
7271
7292
  children: [
7272
- qi ? Le(
7293
+ Ki ? Pe(
7273
7294
  /* @__PURE__ */ Ft.jsxDEV(
7274
7295
  ci,
7275
7296
  {
7276
7297
  ref: Ue,
7277
- onAnimationEndCapture: (p) => p.stopPropagation(),
7298
+ onAnimationEndCapture: (m) => m.stopPropagation(),
7278
7299
  id: "portal"
7279
7300
  },
7280
7301
  void 0,
@@ -7287,7 +7308,7 @@ const qc = {}, Lu = ({
7287
7308
  void 0
7288
7309
  ),
7289
7310
  (zt == null ? void 0 : zt.current) ?? document.body
7290
- ) : Le(
7311
+ ) : Pe(
7291
7312
  /* @__PURE__ */ Ft.jsxDEV(ci, { id: "portal", ref: Ue }, void 0, !1, {
7292
7313
  fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableGlide/TableGlide.tsx",
7293
7314
  lineNumber: 1437,
@@ -7295,7 +7316,7 @@ const qc = {}, Lu = ({
7295
7316
  }, void 0),
7296
7317
  document.body
7297
7318
  ),
7298
- Le(
7319
+ Pe(
7299
7320
  /* @__PURE__ */ Ft.jsxDEV(ci, { id: "portal2" }, void 0, !1, {
7300
7321
  fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableGlide/TableGlide.tsx",
7301
7322
  lineNumber: 1442,
@@ -7304,44 +7325,44 @@ const qc = {}, Lu = ({
7304
7325
  document.body
7305
7326
  ),
7306
7327
  !I && /* @__PURE__ */ Ft.jsxDEV(
7307
- Nc,
7328
+ Oc,
7308
7329
  {
7309
- ref: vn,
7330
+ ref: pn,
7310
7331
  className: "gdg-table",
7311
7332
  portalElementRef: Ue,
7312
7333
  theme: B,
7313
- getRowThemeOverride: wn,
7314
- onHeaderClicked: fn,
7315
- onMouseMove: pn,
7316
- drawHeader: dn,
7317
- drawGroupHeader: bn,
7318
- getCellContent: pe,
7334
+ getRowThemeOverride: Sn,
7335
+ onHeaderClicked: gn,
7336
+ onMouseMove: yn,
7337
+ drawHeader: fn,
7338
+ drawGroupHeader: Fn,
7339
+ getCellContent: me,
7319
7340
  columns: J,
7320
7341
  rows: t.length + Ot,
7321
7342
  freezeTrailingRows: Ot,
7322
7343
  freezeColumns: a,
7323
7344
  minColumnWidth: C,
7324
- maxColumnAutoWidth: m,
7345
+ maxColumnAutoWidth: p,
7325
7346
  maxColumnWidth: x,
7326
7347
  columnSelect: "none",
7327
7348
  columnSelectionBlending: "exclusive",
7328
- drawFocusRing: on,
7329
- gridSelection: mt,
7330
- onGridSelectionChange: nn,
7331
- onSelectionCleared: sn,
7349
+ drawFocusRing: nn,
7350
+ gridSelection: pt,
7351
+ onGridSelectionChange: sn,
7352
+ onSelectionCleared: an,
7332
7353
  width: o ?? "100%",
7333
- onColumnMoved: yn,
7354
+ onColumnMoved: bn,
7334
7355
  onColumnResize: v ? qo : void 0,
7335
- customRenderers: un,
7336
- rowHeight: Vo,
7337
- highlightRegions: Tn,
7338
- rangeSelect: Qo,
7356
+ customRenderers: hn,
7357
+ rowHeight: Yo,
7358
+ highlightRegions: En,
7359
+ rangeSelect: tn,
7339
7360
  smoothScrollX: !0,
7340
7361
  smoothScrollY: !0,
7341
7362
  headerHeight: hi,
7342
- onCellClicked: ln,
7343
- onCellContextMenu: cn,
7344
- onItemHovered: Sn,
7363
+ onCellClicked: cn,
7364
+ onCellContextMenu: un,
7365
+ onItemHovered: An,
7345
7366
  ...Nt,
7346
7367
  experimental: mn,
7347
7368
  keybindings: { ...Nt.keybindings, copy: !1, paste: !1 },
@@ -7357,9 +7378,9 @@ const qc = {}, Lu = ({
7357
7378
  void 0
7358
7379
  ),
7359
7380
  A,
7360
- gn && Xe && (y == null ? void 0 : y({
7381
+ Cn && Xe && (y == null ? void 0 : y({
7361
7382
  containerElement: Xe,
7362
- renderInContainer: Cn
7383
+ renderInContainer: vn
7363
7384
  }))
7364
7385
  ]
7365
7386
  },
@@ -7374,171 +7395,171 @@ const qc = {}, Lu = ({
7374
7395
  );
7375
7396
  };
7376
7397
  export {
7377
- dr as $,
7378
- ns as A,
7379
- ts as B,
7398
+ fr as $,
7399
+ ss as A,
7400
+ es as B,
7380
7401
  He as C,
7381
- On as D,
7382
- br as E,
7383
- Pt as F,
7402
+ Wn as D,
7403
+ Fr as E,
7404
+ Lt as F,
7384
7405
  Bt as G,
7385
- Ds as H,
7386
- Ss as I,
7387
- pu as J,
7406
+ Is as H,
7407
+ As as I,
7408
+ yu as J,
7388
7409
  ii as K,
7389
- jn as L,
7390
- Is as M,
7391
- Ts as N,
7392
- vu as O,
7410
+ Jn as L,
7411
+ Hs as M,
7412
+ Es as N,
7413
+ pu as O,
7393
7414
  It as P,
7394
- ws as Q,
7395
- oo as R,
7415
+ Ss as Q,
7416
+ no as R,
7396
7417
  Ii as S,
7397
- Lu as T,
7398
- As as U,
7399
- Es as V,
7400
- Cu as W,
7418
+ Bu as T,
7419
+ Ts as U,
7420
+ Ds as V,
7421
+ vu as W,
7401
7422
  mu as X,
7402
7423
  de as Y,
7403
- go as Z,
7404
- fo as _,
7405
- lu as a,
7424
+ Co as Z,
7425
+ go as _,
7426
+ cu as a,
7406
7427
  ki as a$,
7407
7428
  ze as a0,
7408
- Lt as a1,
7409
- uo as a2,
7410
- us as a3,
7411
- ho as a4,
7412
- hs as a5,
7413
- Li as a6,
7414
- fu as a7,
7429
+ Pt as a1,
7430
+ ho as a2,
7431
+ hs as a3,
7432
+ fo as a4,
7433
+ ds as a5,
7434
+ Pi as a6,
7435
+ gu as a7,
7415
7436
  Bi as a8,
7416
- ds as a9,
7417
- Fo as aA,
7418
- Ns as aB,
7419
- $s as aC,
7420
- yu as aD,
7421
- Ir as aE,
7422
- ia as aF,
7423
- la as aG,
7424
- rl as aH,
7425
- ha as aI,
7426
- Xa as aJ,
7427
- Do as aK,
7428
- fl as aL,
7429
- gl as aM,
7430
- dl as aN,
7437
+ fs as a9,
7438
+ xo as aA,
7439
+ Os as aB,
7440
+ Us as aC,
7441
+ bu as aD,
7442
+ Hr as aE,
7443
+ ra as aF,
7444
+ ca as aG,
7445
+ ol as aH,
7446
+ da as aI,
7447
+ Va as aJ,
7448
+ Io as aK,
7449
+ gl as aL,
7450
+ Cl as aM,
7451
+ fl as aN,
7431
7452
  Ie as aO,
7432
- Su as aP,
7433
- ko as aQ,
7434
- Cl as aR,
7435
- pl as aS,
7436
- Al as aT,
7437
- bl as aU,
7438
- yl as aV,
7439
- vl as aW,
7453
+ Au as aP,
7454
+ zo as aQ,
7455
+ vl as aR,
7456
+ yl as aS,
7457
+ Tl as aT,
7458
+ Fl as aU,
7459
+ bl as aV,
7460
+ pl as aW,
7440
7461
  ml as aX,
7441
- Lo as aY,
7442
- Dl as aZ,
7443
- Tl as a_,
7444
- fs as aa,
7445
- fr as ab,
7446
- Cs as ac,
7447
- gs as ad,
7462
+ Bo as aY,
7463
+ Il as aZ,
7464
+ El as a_,
7465
+ gs as aa,
7466
+ gr as ab,
7467
+ vs as ac,
7468
+ Cs as ad,
7448
7469
  fe as ae,
7449
- Co as af,
7450
- co as ag,
7470
+ vo as af,
7471
+ uo as ag,
7451
7472
  nt as ah,
7452
- Pi as ai,
7453
- cs as aj,
7454
- po as ak,
7455
- yo as al,
7456
- gu as am,
7457
- Hs as an,
7473
+ Li as ai,
7474
+ us as aj,
7475
+ yo as ak,
7476
+ bo as al,
7477
+ Cu as am,
7478
+ Ls as an,
7458
7479
  Ps as ao,
7459
- zs as ap,
7480
+ _s as ap,
7460
7481
  Ct as aq,
7461
- wo as ar,
7462
- _s as as,
7482
+ So as ar,
7483
+ Ms as as,
7463
7484
  mo as at,
7464
- vo as au,
7465
- vs as av,
7466
- bo as aw,
7467
- bs as ax,
7468
- Cr as ay,
7469
- ys as az,
7485
+ po as au,
7486
+ ps as av,
7487
+ Fo as aw,
7488
+ Fs as ax,
7489
+ vr as ay,
7490
+ bs as az,
7470
7491
  Di as b,
7471
7492
  St as b0,
7472
7493
  ue as b1,
7473
- hl as b2,
7494
+ dl as b2,
7474
7495
  ei as b3,
7475
- Sl as b4,
7476
- Ho as b5,
7496
+ Al as b4,
7497
+ Lo as b5,
7477
7498
  Jt as b6,
7478
- xo as b7,
7479
- xs as b8,
7480
- pr as b9,
7481
- gc as bA,
7482
- Cc as bB,
7483
- vc as bC,
7484
- bc as bD,
7485
- Uo as bE,
7499
+ wo as b7,
7500
+ ws as b8,
7501
+ yr as b9,
7502
+ Cc as bA,
7503
+ vc as bB,
7504
+ pc as bC,
7505
+ Fc as bD,
7506
+ Xo as bE,
7486
7507
  hi as bF,
7487
- au as bG,
7488
- Wn as bH,
7489
- Hu as bI,
7490
- Iu as bJ,
7491
- Ro as bK,
7492
- uc as bL,
7493
- Bc as bM,
7508
+ lu as bG,
7509
+ Gn as bH,
7510
+ Lu as bI,
7511
+ Hu as bJ,
7512
+ No as bK,
7513
+ hc as bL,
7514
+ kc as bM,
7494
7515
  he as ba,
7495
- Fl as bb,
7496
- yr as bc,
7497
- xl as bd,
7516
+ xl as bb,
7517
+ br as bc,
7518
+ wl as bd,
7498
7519
  xi as be,
7499
- Au as bf,
7520
+ Tu as bf,
7500
7521
  Be as bg,
7501
- Tu as bh,
7502
- Fu as bi,
7522
+ Eu as bh,
7523
+ xu as bi,
7503
7524
  Ht as bj,
7504
- bu as bk,
7505
- Gr as bl,
7525
+ Fu as bk,
7526
+ $r as bl,
7506
7527
  xt as bm,
7507
- Il as bn,
7508
- Mo as bo,
7509
- _o as bp,
7510
- Du as bq,
7511
- ac as br,
7512
- lc as bs,
7513
- nc as bt,
7514
- oc as bu,
7515
- sc as bv,
7516
- Eu as bw,
7528
+ Hl as bn,
7529
+ Ro as bo,
7530
+ Mo as bp,
7531
+ Iu as bq,
7532
+ lc as br,
7533
+ cc as bs,
7534
+ sc as bt,
7535
+ nc as bu,
7536
+ ac as bv,
7537
+ Du as bw,
7517
7538
  Ti as bx,
7518
- Oo as by,
7519
- fc as bz,
7539
+ Wo as by,
7540
+ gc as bz,
7520
7541
  le as c,
7521
7542
  zi as d,
7522
- No as e,
7523
- cc as f,
7524
- xu as g,
7543
+ Oo as e,
7544
+ uc as f,
7545
+ wu as g,
7525
7546
  di as h,
7526
- Vr as i,
7547
+ Yr as i,
7527
7548
  Pu as j,
7528
7549
  Je as k,
7529
7550
  qn as l,
7530
- cu as m,
7531
- Zn as n,
7532
- uu as o,
7533
- pt as p,
7534
- lo as q,
7535
- Kn as r,
7536
- wu as s,
7551
+ uu as m,
7552
+ jn as n,
7553
+ hu as o,
7554
+ mt as p,
7555
+ co as q,
7556
+ Zn as r,
7557
+ Su as s,
7537
7558
  At as t,
7538
7559
  Zt as u,
7539
- as as v,
7540
- du as w,
7560
+ ls as v,
7561
+ fu as w,
7541
7562
  Hi as x,
7542
- ss as y,
7543
- hu as z
7563
+ as as y,
7564
+ du as z
7544
7565
  };