@daisforge/ui 1.20.0 → 1.21.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 (241) hide show
  1. package/chunks/{FiltersActions-UayfdMLv.mjs → FiltersActions-CDZSO0MM.mjs} +2 -2
  2. package/chunks/{FiltersActions-Cw_JG2O2.cjs → FiltersActions-CVtgAJnC.cjs} +1 -1
  3. package/chunks/{ListOfFilters-8rHTfUXT.cjs → ListOfFilters-BAPz0OY9.cjs} +1 -1
  4. package/chunks/{ListOfFilters-B3CA32OD.mjs → ListOfFilters-Bd8CZHDq.mjs} +2 -2
  5. package/chunks/{MassActions-5p7to0R5.cjs → MassActions-C08IgW4a.cjs} +1 -1
  6. package/chunks/{MassActions-BJxR4H1S.mjs → MassActions-D5UwHcNG.mjs} +1 -1
  7. package/chunks/{Table--NExtXRi.cjs → Table-CdaMPDkg.cjs} +6 -6
  8. package/chunks/{Table-bmvWLH9o.mjs → Table-DYSssxRS.mjs} +865 -857
  9. package/chunks/{TableCanvas-DxcB4WOJ.mjs → TableCanvas-DDNRdQjN.mjs} +540 -532
  10. package/chunks/{TableCanvas-DTm2pu0r.cjs → TableCanvas-DPHSYfH3.cjs} +7 -7
  11. package/chunks/{TableGlide-BMBq6g4-.mjs → TableGlide-DAnTJtye.mjs} +4 -1
  12. package/chunks/TableGlide-am_w97mF.cjs +1 -0
  13. package/components/Combobox/index.cjs +1 -1
  14. package/components/Combobox/index.mjs +1 -1
  15. package/components/ListOfFilters/index.cjs +1 -1
  16. package/components/ListOfFilters/index.mjs +1 -1
  17. package/components/MassActions/hooks/index.cjs +1 -1
  18. package/components/MassActions/hooks/index.mjs +1 -1
  19. package/components/MassActions/index.cjs +1 -1
  20. package/components/MassActions/index.mjs +1 -1
  21. package/components/Table/components/TableDropdown/index.cjs +1 -1
  22. package/components/Table/components/TableDropdown/index.mjs +1 -1
  23. package/components/Table/feature-collapse-table/index.cjs +1 -1
  24. package/components/Table/feature-collapse-table/index.mjs +1 -1
  25. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  26. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  27. package/components/Table/feature-column-control/index.cjs +1 -1
  28. package/components/Table/feature-column-control/index.mjs +1 -1
  29. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  30. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  31. package/components/Table/feature-context-menu/index.cjs +1 -1
  32. package/components/Table/feature-context-menu/index.mjs +1 -1
  33. package/components/Table/feature-edit/index.cjs +1 -1
  34. package/components/Table/feature-edit/index.mjs +1 -1
  35. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  36. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  37. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  38. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  39. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  40. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  41. package/components/Table/feature-filtering/index.cjs +1 -1
  42. package/components/Table/feature-filtering/index.mjs +1 -1
  43. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  44. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  45. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  46. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  47. package/components/Table/feature-key-text/index.cjs +1 -1
  48. package/components/Table/feature-key-text/index.mjs +1 -1
  49. package/components/Table/feature-pagination/index.cjs +1 -1
  50. package/components/Table/feature-pagination/index.mjs +1 -1
  51. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  52. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  53. package/components/Table/feature-row-detail/index.cjs +1 -1
  54. package/components/Table/feature-row-detail/index.mjs +1 -1
  55. package/components/Table/feature-row-instruments/index.cjs +1 -1
  56. package/components/Table/feature-row-instruments/index.mjs +1 -1
  57. package/components/Table/feature-row-size/index.cjs +1 -1
  58. package/components/Table/feature-row-size/index.mjs +1 -1
  59. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  60. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  61. package/components/Table/feature-searching/index.cjs +1 -1
  62. package/components/Table/feature-searching/index.mjs +1 -1
  63. package/components/Table/feature-select-row/index.cjs +1 -1
  64. package/components/Table/feature-select-row/index.mjs +1 -1
  65. package/components/Table/feature-sorting/index.cjs +1 -1
  66. package/components/Table/feature-sorting/index.mjs +1 -1
  67. package/components/Table/feature-table-settings/index.cjs +1 -1
  68. package/components/Table/feature-table-settings/index.mjs +1 -1
  69. package/components/Table/feature-tree/index.cjs +1 -1
  70. package/components/Table/feature-tree/index.mjs +1 -1
  71. package/components/Table/index.cjs +1 -1
  72. package/components/Table/index.mjs +1 -1
  73. package/components/Table/renders/formatCell/index.cjs +1 -1
  74. package/components/Table/renders/formatCell/index.mjs +1 -1
  75. package/components/Table/styles/index.cjs +1 -1
  76. package/components/Table/styles/index.mjs +1 -1
  77. package/components/Table/table-hooks/index.cjs +1 -1
  78. package/components/Table/table-hooks/index.mjs +1 -1
  79. package/components/Table/types/index.cjs +1 -1
  80. package/components/Table/types/index.mjs +1 -1
  81. package/components/Table/types/table-config.type.d.ts +1 -0
  82. package/components/Table/utils/index.cjs +1 -1
  83. package/components/Table/utils/index.mjs +1 -1
  84. package/components/Table/widgets/control-block/index.cjs +1 -1
  85. package/components/Table/widgets/control-block/index.mjs +1 -1
  86. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  87. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  88. package/components/Table/widgets/index.cjs +1 -1
  89. package/components/Table/widgets/index.mjs +1 -1
  90. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  91. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  92. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  93. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  94. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  95. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  96. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  97. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  98. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  99. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  100. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  101. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  102. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  103. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  104. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  105. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  106. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  107. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  108. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  109. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  110. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  111. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  112. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  113. package/components/TableCanvas/feature-column-control/index.mjs +1 -1
  114. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  115. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  116. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  117. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  118. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  119. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  120. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  121. package/components/TableCanvas/feature-edit/index.mjs +1 -1
  122. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  123. package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
  124. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  125. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  126. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  127. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  128. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  129. package/components/TableCanvas/feature-filtering/index.mjs +1 -1
  130. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  131. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  132. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  133. package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
  134. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  135. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  136. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  137. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  138. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  139. package/components/TableCanvas/feature-pagination/index.mjs +1 -1
  140. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  141. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  142. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  143. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  144. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  145. package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
  146. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  147. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  148. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  149. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  150. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  151. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  152. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  153. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  154. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  155. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  156. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  157. package/components/TableCanvas/feature-row-size/index.mjs +1 -1
  158. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  159. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  160. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  161. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  162. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  163. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  164. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  165. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  166. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  167. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  168. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  169. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  170. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  171. package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
  172. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  173. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  174. package/components/TableCanvas/index.cjs +1 -1
  175. package/components/TableCanvas/index.mjs +2 -2
  176. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  177. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  178. package/components/TableCanvas/styles/index.cjs +1 -1
  179. package/components/TableCanvas/styles/index.mjs +1 -1
  180. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  181. package/components/TableCanvas/table-hooks/index.mjs +1 -1
  182. package/components/TableCanvas/types/index.cjs +1 -1
  183. package/components/TableCanvas/types/index.mjs +1 -1
  184. package/components/TableCanvas/types/table-config.type.d.ts +1 -0
  185. package/components/TableCanvas/utils/index.cjs +1 -1
  186. package/components/TableCanvas/utils/index.mjs +1 -1
  187. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  188. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  189. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  190. package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
  191. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  192. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  193. package/components/TableCanvas/widgets/index.cjs +1 -1
  194. package/components/TableCanvas/widgets/index.mjs +1 -1
  195. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  196. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  197. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  198. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  199. package/components/TableContract/index.cjs +1 -1
  200. package/components/TableContract/index.mjs +1 -1
  201. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  202. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  203. package/components/TableGlide/index.cjs +1 -1
  204. package/components/TableGlide/index.mjs +1 -1
  205. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  206. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  207. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  208. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  209. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  210. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  211. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  212. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  213. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  214. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  215. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  216. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  217. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  218. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  219. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  220. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  221. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  222. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  223. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  224. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  225. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  226. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  227. package/components/TableGlide/theming/index.cjs +1 -1
  228. package/components/TableGlide/theming/index.mjs +1 -1
  229. package/formComponents/FormCombobox/index.cjs +1 -1
  230. package/formComponents/FormCombobox/index.mjs +1 -1
  231. package/formComponents/FormSwitch/index.cjs +1 -1
  232. package/formComponents/FormSwitch/index.mjs +1 -1
  233. package/index.cjs +1 -1
  234. package/index.mjs +5 -5
  235. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  236. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  237. package/layouts/FiltersActions/index.cjs +1 -1
  238. package/layouts/FiltersActions/index.mjs +1 -1
  239. package/mcp-data/component-index.json +765 -504
  240. package/package.json +2 -2
  241. package/chunks/TableGlide-DtosQrHB.cjs +0 -1
@@ -1,33 +1,33 @@
1
1
  import { TextCellEntry as Kd } from "@glideappsfinal/glide-data-grid";
2
- import { f as Ud, T as Xd, i as un, a as Qd, C as de, c as Zd, g as Cr, s as qd, h as Jd, d as rs, e as Bi, b as Di, l as _d } from "./TableGlide-BMBq6g4-.mjs";
3
- import rt, { useContext as De, useRef as Z, useEffect as fe, createContext as ze, useCallback as Q, useMemo as W, isValidElement as $d, useState as ee, forwardRef as ti, useId as eu, useLayoutEffect as Pr, lazy as tu, Suspense as sl } from "react";
4
- import { DURATION as Wt, COLLAPSE_DECOR_DELAY as vc, COLLAPSE_DECOR_FADE as Ic, HEADER_TOOLTIP_HIDDEN_COLS_ID as nu } from "../components/TableCanvasSharedConstants/index.mjs";
2
+ import { f as Ud, T as Xd, i as un, a as Qd, C as de, c as Zd, g as Cr, s as qd, h as Jd, d as rs, e as Bi, b as Di, l as _d } from "./TableGlide-DAnTJtye.mjs";
3
+ import rt, { useContext as Ne, useRef as Z, useEffect as fe, createContext as ze, useCallback as Q, useMemo as W, isValidElement as $d, useState as ee, forwardRef as ti, useId as eu, useLayoutEffect as Pr, lazy as tu, Suspense as ll } from "react";
4
+ import { DURATION as Wt, COLLAPSE_DECOR_DELAY as Ic, COLLAPSE_DECOR_FADE as Ac, HEADER_TOOLTIP_HIDDEN_COLS_ID as nu } from "../components/TableCanvasSharedConstants/index.mjs";
5
5
  import { jsx as h, jsxs as ne, Fragment as qe } from "react/jsx-runtime";
6
- import { Tabs as Ac, TabItem as Cc, IconButton as Ct, Tooltip as ni, Counter as ru, Divider as ri, Checkbox as jn, Dropdown as ou, EmbedIconButton as Yn, LinkButton as Qn, Button as ot, BodyS as Rc, Pagination as iu, Flow as Nn, BodyXS as su, Image as lu, TextS as cu, Spinner as au } from "@salutejs/sdds-finai";
7
- import { IconClose as Zn, IconChevronDown as Lr, IconChevronRight as du, IconViewSplit4Outline as Ni, IconViewScreen4Outline as Hi, IconSb as uu, IconDone as oi, IconKeyOutline as Fo, IconDotsVerticalCenteredOutline as os, IconCubeOutline as ll, IconDrag as Ec, IconPinListOutline as hu, IconPinFill as Pi, IconPinOutline as Wo, IconListView as pu, IconSearch as jo, IconSettingsFilter as Tc, IconDisclosureLeftOutline as fu, IconDisclosureRightOutline as gu, IconChevronCircleUpFill as kc, IconChevronCircleDownFill as Oc, IconRowHeightMaxOutline as mu, IconRowHeightOutline as wu, IconRowHeightMinOutline as yu, IconArrowUp as xu, IconArrowDown as Su, IconSwapVert as bu, IconDisclosureRight as vu, IconDoubleDisclosureUp as Lc, IconDoubleDisclosureDown as Iu, IconDisclosureDownOutline as Bc, IconPinDashOutline as Au, IconTableColumnPin as Cu, IconSettingsOutline as Ru, IconFullscreenOff as Eu, IconFullscreenOn as Tu, IconMessageDraftFill as ku } from "@salutejs/plasma-icons";
8
- import { c as is, l as ii, d as Dc, f as Ou, h as Lu, v as Bu, m as Mn, q as Yo, t as Nc, u as Du, k as Hc, o as Nu, j as Hu, n as Pu } from "./utils-u1KJ37g3.mjs";
6
+ import { Tabs as Cc, TabItem as Rc, IconButton as Ct, Tooltip as ni, Counter as ru, Divider as ri, Checkbox as jn, Dropdown as ou, EmbedIconButton as Yn, LinkButton as Qn, Button as ot, BodyS as Ec, Pagination as iu, Flow as Nn, BodyXS as su, Image as lu, TextS as cu, Spinner as au } from "@salutejs/sdds-finai";
7
+ import { IconClose as Zn, IconChevronDown as Lr, IconChevronRight as du, IconViewSplit4Outline as Ni, IconViewScreen4Outline as Hi, IconSb as uu, IconDone as oi, IconKeyOutline as Fo, IconDotsVerticalCenteredOutline as os, IconCubeOutline as cl, IconDrag as Tc, IconPinListOutline as hu, IconPinFill as Pi, IconPinOutline as Wo, IconListView as pu, IconSearch as jo, IconSettingsFilter as kc, IconDisclosureLeftOutline as fu, IconDisclosureRightOutline as gu, IconChevronCircleUpFill as Oc, IconChevronCircleDownFill as Lc, IconRowHeightMaxOutline as mu, IconRowHeightOutline as wu, IconRowHeightMinOutline as yu, IconArrowUp as xu, IconArrowDown as Su, IconSwapVert as bu, IconDisclosureRight as vu, IconDoubleDisclosureUp as Bc, IconDoubleDisclosureDown as Iu, IconDisclosureDownOutline as Dc, IconPinDashOutline as Au, IconTableColumnPin as Cu, IconSettingsOutline as Ru, IconFullscreenOff as Eu, IconFullscreenOn as Tu, IconMessageDraftFill as ku } from "@salutejs/plasma-icons";
8
+ import { c as is, l as ii, d as Nc, f as Ou, h as Lu, v as Bu, m as Mn, q as Yo, t as Hc, u as Du, k as Pc, o as Nu, j as Hu, n as Pu } from "./utils-u1KJ37g3.mjs";
9
9
  import { tableTabsClassNames as Fu, useTableTabsContext as zu } from "../components/TableTabs/index.mjs";
10
- import { surfaceSolidCard as qn, outlineSolidPrimary as Jn, borderRadiusXs as zo, outlineNegative as Pc, textAccent as Fc, textSecondary as Ne, textPrimary as ss, surfaceSolidPrimary as Mu, spacing8x as Fi, spacing4x as zc, textTertiary as ls, onDarkOverlayBlur as Vu, inverseSurfaceSolidCard as cl, inverseSurfaceSolidDefault as Gu, bodyXS as si, bodyXSBold as Mc, bodySBold as Ko, textInfo as cs, outlineAccent as al, surfaceTransparentPrimary as Fr, bodyM as li, bodyS as as, surfaceTransparentSecondaryHover as Wu, shadowDownSoftS as ju, shadowDownHardS as Yu, spacing10x as Ku, surfaceSolidTertiary as Uu, onLightOutlineSolidPrimary as Xu, h3Bold as Qu } from "@salutejs/sdds-themes/tokens/sdds_finai";
11
- import { S as zr, a as Zu } from "./FiltersActions-UayfdMLv.mjs";
10
+ import { surfaceSolidCard as qn, outlineSolidPrimary as Jn, borderRadiusXs as zo, outlineNegative as Fc, textAccent as zc, textSecondary as He, textPrimary as ss, surfaceSolidPrimary as Mu, spacing8x as Fi, spacing4x as Mc, textTertiary as ls, onDarkOverlayBlur as Vu, inverseSurfaceSolidCard as al, inverseSurfaceSolidDefault as Gu, bodyXS as si, bodyXSBold as Vc, bodySBold as Ko, textInfo as cs, outlineAccent as dl, surfaceTransparentPrimary as Fr, bodyM as li, bodyS as as, surfaceTransparentSecondaryHover as Wu, shadowDownSoftS as ju, shadowDownHardS as Yu, spacing10x as Ku, surfaceSolidTertiary as Uu, onLightOutlineSolidPrimary as Xu, h3Bold as Qu } from "@salutejs/sdds-themes/tokens/sdds_finai";
11
+ import { S as zr, a as Zu } from "./FiltersActions-CDZSO0MM.mjs";
12
12
  import { Box as xe } from "../components/Box/index.mjs";
13
13
  import { Collapse as ds } from "../components/Collapse/index.mjs";
14
14
  import { createDebugLogger as Ut } from "../shared/utils/debug/index.mjs";
15
15
  import j, { css as X, keyframes as us } from "styled-components";
16
- import { S as zi } from "./Table-bmvWLH9o.mjs";
16
+ import { S as zi } from "./Table-DYSssxRS.mjs";
17
17
  import { NumberFormat as qu } from "../components/NumberFormat/index.mjs";
18
- import { E as Vc } from "./EmptyState-CUCseg9M.mjs";
18
+ import { E as Gc } from "./EmptyState-CUCseg9M.mjs";
19
19
  import { TextField as hs, TextFieldSearch as Ju } from "../components/TextField/index.mjs";
20
- import { u as Gc } from "./ListOfFilters-B3CA32OD.mjs";
21
- import { a as Wc, T as _u } from "./AnalyticalWidget-BtyWKJuu.mjs";
20
+ import { u as Wc } from "./ListOfFilters-Bd8CZHDq.mjs";
21
+ import { a as jc, T as _u } from "./AnalyticalWidget-BtyWKJuu.mjs";
22
22
  import { Autocomplete as $u } from "../components/Autocomplete/index.mjs";
23
23
  import { s as Br } from "../constants/index.mjs";
24
- import { createPortal as jc } from "react-dom";
24
+ import { createPortal as Yc } from "react-dom";
25
25
  import { Popover as eh } from "@salutejs/sdds-finai/beta";
26
26
  import { ErrorPage as th } from "../layouts/ErrorPage/index.mjs";
27
- import { EmptySearchFallback as Yc, StyledSearchBlock as Kc, StyledClearBtn as Uc } from "../shared/ui/Search/index.mjs";
27
+ import { EmptySearchFallback as Kc, StyledSearchBlock as Uc, StyledClearBtn as Xc } from "../shared/ui/Search/index.mjs";
28
28
  import { useVirtualizer as nh } from "@tanstack/react-virtual";
29
29
  import rh from "lodash.isequal";
30
- const Xc = Symbol("COLUMN_GROUPS_SYMBOL"), oh = Symbol("COLUMN_GROUPS_MAP_SYMBOL"), ih = (e, t) => e[t], sh = ({
30
+ const Qc = Symbol("COLUMN_GROUPS_SYMBOL"), oh = Symbol("COLUMN_GROUPS_MAP_SYMBOL"), ih = (e, t) => e[t], sh = ({
31
31
  column: e
32
32
  }) => (t) => {
33
33
  if (typeof (e == null ? void 0 : e.renderHeaderCell) > "u")
@@ -87,7 +87,7 @@ const ah = ({
87
87
  renderCellPreview: E
88
88
  } = e, T = typeof i == "number", k = !!a;
89
89
  k && n && n();
90
- const B = ih(e, Xc), R = Array.isArray(B) ? B.length : 0, O = c ? sh({
90
+ const B = ih(e, Qc), R = Array.isArray(B) ? B.length : 0, O = c ? sh({
91
91
  column: e
92
92
  }) : void 0, L = lh(y, e), N = ch(b, e), P = (H) => ({
93
93
  ...H,
@@ -154,7 +154,7 @@ const ah = ({
154
154
  groupLength: R
155
155
  };
156
156
  }, ps = ze(null), fs = (e) => {
157
- const t = De(ps);
157
+ const t = Ne(ps);
158
158
  if (!t)
159
159
  throw new Error("useTableResizeObserver must be used within TableResizeObserverProvider");
160
160
  const n = Z(e);
@@ -165,7 +165,7 @@ const ah = ({
165
165
  return t.subscribe(r);
166
166
  }, [t]);
167
167
  }, gs = () => {
168
- const e = De(ps);
168
+ const e = Ne(ps);
169
169
  if (!e)
170
170
  throw new Error("useTableResizeObserverWidth must be used within TableResizeObserverProvider");
171
171
  return e.getCurrentWidth;
@@ -227,43 +227,43 @@ const ah = ({
227
227
  return rt.useLayoutEffect(() => {
228
228
  t != null && t.current && r(t.current);
229
229
  }, [t]), /* @__PURE__ */ h(dh, { element: n, children: e });
230
- }, Qc = ze({
230
+ }, Zc = ze({
231
231
  rowSize: "big"
232
232
  }), wn = () => {
233
- const e = De(Qc);
233
+ const e = Ne(Zc);
234
234
  if (!e)
235
235
  throw new Error("useRowContext must be used within a Provider");
236
236
  return e;
237
- }, Zc = ze(null), qc = ze(null), Jc = () => {
238
- const e = De(Zc), t = De(qc);
237
+ }, qc = ze(null), Jc = ze(null), _c = () => {
238
+ const e = Ne(qc), t = Ne(Jc);
239
239
  if (e === void 0 || t === void 0)
240
240
  throw new Error("useExpandedRowsContext must be used within a Provider");
241
241
  return {
242
242
  expandedRowsIds: e,
243
243
  setExpandedRowsIds: t
244
244
  };
245
- }, _c = ze({}), st = () => {
246
- const e = De(_c);
245
+ }, $c = ze({}), st = () => {
246
+ const e = Ne($c);
247
247
  if (!e)
248
248
  throw new Error("useHeaderContext must be used within a Provider");
249
249
  return e;
250
- }, $c = ze(null), ea = () => {
251
- const e = De($c);
250
+ }, ea = ze(null), ta = () => {
251
+ const e = Ne(ea);
252
252
  if (!e)
253
253
  throw new Error("useContextMenu used outside Provider");
254
254
  return e;
255
- }, ta = ze(null), hh = () => {
256
- const e = De(ta);
255
+ }, na = ze(null), hh = () => {
256
+ const e = Ne(na);
257
257
  if (!e)
258
258
  throw new Error("useSearchContext must be used within a Provider");
259
259
  return e;
260
- }, na = ze(null), ci = () => {
261
- const e = De(na);
260
+ }, ra = ze(null), ci = () => {
261
+ const e = Ne(ra);
262
262
  if (!e)
263
263
  throw new Error("useSidebar used outside Provider");
264
264
  return e;
265
- }, ra = ze(null), _n = () => {
266
- const e = De(ra);
265
+ }, oa = ze(null), _n = () => {
266
+ const e = Ne(oa);
267
267
  if (!e)
268
268
  throw new Error("useTableCollapse used outside Provider");
269
269
  return e;
@@ -276,46 +276,46 @@ const ah = ({
276
276
  contextMenuCtxV: i,
277
277
  sideBarCtxV: s,
278
278
  tableCollapseCtxV: c
279
- }) => /* @__PURE__ */ h(_c.Provider, { value: t, children: /* @__PURE__ */ h(Qc.Provider, { value: n, children: /* @__PURE__ */ h(Zc.Provider, { value: r[0], children: /* @__PURE__ */ h(qc.Provider, { value: r[1], children: /* @__PURE__ */ h(ta.Provider, { value: o, children: /* @__PURE__ */ h($c.Provider, { value: i, children: /* @__PURE__ */ h(na.Provider, { value: s, children: /* @__PURE__ */ h(ra.Provider, { value: c, children: e }) }) }) }) }) }) }) }), oa = ze(null), fh = () => {
280
- const e = De(oa);
279
+ }) => /* @__PURE__ */ h($c.Provider, { value: t, children: /* @__PURE__ */ h(Zc.Provider, { value: n, children: /* @__PURE__ */ h(qc.Provider, { value: r[0], children: /* @__PURE__ */ h(Jc.Provider, { value: r[1], children: /* @__PURE__ */ h(na.Provider, { value: o, children: /* @__PURE__ */ h(ea.Provider, { value: i, children: /* @__PURE__ */ h(ra.Provider, { value: s, children: /* @__PURE__ */ h(oa.Provider, { value: c, children: e }) }) }) }) }) }) }) }), ia = ze(null), fh = () => {
280
+ const e = Ne(ia);
281
281
  if (e === void 0)
282
282
  throw new Error("вне провайдера контекст - refTableContext");
283
283
  return e;
284
- }, ia = ze(null), ms = () => {
285
- const e = De(ia);
284
+ }, sa = ze(null), ms = () => {
285
+ const e = Ne(sa);
286
286
  if (e === void 0)
287
287
  throw new Error("вне провайдера контекст - refTableContext");
288
288
  return e ?? void 0;
289
- }, sa = ze(null), la = () => {
290
- const e = De(sa);
289
+ }, la = ze(null), ca = () => {
290
+ const e = Ne(la);
291
291
  if (e === void 0)
292
292
  throw new Error("вне провайдера контекст - refTableContext");
293
293
  return e ?? void 0;
294
- }, ca = ze({
294
+ }, aa = ze({
295
295
  maxLevelOfGroups: 0,
296
296
  columnsGroupingIsActive: !1,
297
297
  allGroupsMap: /* @__PURE__ */ new Map()
298
298
  }), gh = () => {
299
- const e = De(ca);
299
+ const e = Ne(aa);
300
300
  if (e === void 0)
301
301
  throw new Error("вне провайдера контекст - refTableContext");
302
302
  return e ?? void 0;
303
303
  };
304
- function aa(e, t, n) {
304
+ function da(e, t, n) {
305
305
  return {
306
306
  rowInd: n,
307
307
  colInd: t,
308
308
  row: e[n]
309
309
  };
310
310
  }
311
- function da(e, t, n, r) {
311
+ function ua(e, t, n, r) {
312
312
  const {
313
313
  colSpan: o
314
314
  } = e ?? {};
315
315
  if (typeof o == "number")
316
316
  return o;
317
317
  if (typeof o == "function") {
318
- const i = aa(t, n, r);
318
+ const i = da(t, n, r);
319
319
  return o(i);
320
320
  }
321
321
  return 0;
@@ -326,20 +326,20 @@ function Uo(e, t, n, r) {
326
326
  } = e ?? {};
327
327
  if (typeof o != "function")
328
328
  return null;
329
- const i = aa(t, n, r);
329
+ const i = da(t, n, r);
330
330
  return o(i) ?? null;
331
331
  }
332
332
  function ws(e, t, n, r) {
333
333
  return Ud(e, t, (o, i) => {
334
- const s = da(n[o], r, o, i);
334
+ const s = ua(n[o], r, o, i);
335
335
  return s > 0 ? [o, o + s] : null;
336
336
  }, (o, i) => Uo(n[o], r, o, i));
337
337
  }
338
- function ua(e, t, n, r) {
338
+ function ha(e, t, n, r) {
339
339
  const [o, i] = ws(e, t, n, r), s = n[o];
340
340
  if (!s)
341
341
  return null;
342
- const c = o + da(s, r, o, i), l = Uo(s, r, o, i), d = l ? l[1] : i;
342
+ const c = o + ua(s, r, o, i), l = Uo(s, r, o, i), d = l ? l[1] : i;
343
343
  return c <= o && d <= i ? null : {
344
344
  startCol: o,
345
345
  endCol: c,
@@ -357,7 +357,7 @@ function mh({
357
357
  targetRows: s
358
358
  }) {
359
359
  var d;
360
- const c = ua(e, t, n, r);
360
+ const c = ha(e, t, n, r);
361
361
  if (!c)
362
362
  return null;
363
363
  const l = [];
@@ -408,7 +408,7 @@ const wh = us(["from{opacity:0;transform:translateY(8px) scale(0.985);}to{opacit
408
408
  ...((i = e.errorPageProps) == null ? void 0 : i.unknownStatus) ?? {}
409
409
  }, ...e.errorPageProps });
410
410
  const o = Sh.empty;
411
- return /* @__PURE__ */ h(Vc, { size: e.size ?? "l", centered: e.centered ?? !0, title: e.title ?? o.title, subtitle: e.subtitle ?? o.subtitle, variant: e.variant ?? o.variant, icon: e.icon, iconProps: e.iconProps, buttons: e.buttons, extraButton: e.extraButton, className: e.className, classes: e.classes, $css: e.$css });
411
+ return /* @__PURE__ */ h(Gc, { size: e.size ?? "l", centered: e.centered ?? !0, title: e.title ?? o.title, subtitle: e.subtitle ?? o.subtitle, variant: e.variant ?? o.variant, icon: e.icon, iconProps: e.iconProps, buttons: e.buttons, extraButton: e.extraButton, className: e.className, classes: e.classes, $css: e.$css });
412
412
  })();
413
413
  return /* @__PURE__ */ h(yh, { $topOffset: t, $displayMode: n, $borderLeftTopRadiusRounded: e.borderLeftTopRadiusRounded ?? !1, $borderRightTopRadiusRounded: e.borderRightTopRadiusRounded ?? !1, $borderLeftBottomRadiusRounded: e.borderLeftBottomRadiusRounded ?? !1, $borderRightBottomRadiusRounded: e.borderRightBottomRadiusRounded ?? !1, children: /* @__PURE__ */ h(xh, { children: r }) });
414
414
  }, vh = ({
@@ -463,11 +463,11 @@ const wh = us(["from{opacity:0;transform:translateY(8px) scale(0.985);}to{opacit
463
463
  showEmptyState: a,
464
464
  contentStateOverlay: u
465
465
  };
466
- }, ha = ze(null), Ih = ({
466
+ }, pa = ze(null), Ih = ({
467
467
  children: e,
468
468
  value: t
469
- }) => /* @__PURE__ */ h(ha.Provider, { value: t, children: e }), pa = () => {
470
- const e = De(ha);
469
+ }) => /* @__PURE__ */ h(pa.Provider, { value: t, children: e }), fa = () => {
470
+ const e = Ne(pa);
471
471
  if (!e)
472
472
  throw new Error("useSelectingCheckBoxCellContext must be used within DataGrid cells");
473
473
  return e;
@@ -499,11 +499,11 @@ const wh = us(["from{opacity:0;transform:translateY(8px) scale(0.985);}to{opacit
499
499
  IS_HAVE: Th
500
500
  } = Fe, kh = {
501
501
  IS_HAVE: Th
502
- }, ys = (e) => !!(e != null && e[Fe.IS_HAVE]), fa = (e) => !!(e != null && e[Fe.IS_HAVE_EXPANDED]), ai = (e) => !!(e != null && e[Fe.IS_DETAIL_PANEL_ROW]), Oh = (e, t) => 200, Lh = (e) => {
502
+ }, ys = (e) => !!(e != null && e[Fe.IS_HAVE]), ga = (e) => !!(e != null && e[Fe.IS_HAVE_EXPANDED]), ai = (e) => !!(e != null && e[Fe.IS_DETAIL_PANEL_ROW]), Oh = (e, t) => 200, Lh = (e) => {
503
503
  Object.values(Fe).forEach((t) => {
504
504
  delete e[t];
505
505
  });
506
- }, Xo = (e, t) => e == null ? void 0 : e[t === "closed" ? Fe.EXPAND_ICON_CLOSED : Fe.EXPAND_ICON_OPENED], ga = (e) => e == null ? void 0 : e[Fe.EXPAND_ICON_BUTTON_PROPS], $n = "treeId", xs = "__treeLvl", pn = "subRows", Mi = {
506
+ }, Xo = (e, t) => e == null ? void 0 : e[t === "closed" ? Fe.EXPAND_ICON_CLOSED : Fe.EXPAND_ICON_OPENED], ma = (e) => e == null ? void 0 : e[Fe.EXPAND_ICON_BUTTON_PROPS], $n = "treeId", xs = "__treeLvl", pn = "subRows", Mi = {
507
507
  level: "level",
508
508
  parent: "parent",
509
509
  customProps: "customProps"
@@ -583,7 +583,7 @@ const Qo = (e, t, n, r, o, i, s) => Array.prototype.concat.apply(e == null ? voi
583
583
  return o(e), {
584
584
  allParents: r
585
585
  };
586
- }, ma = (e) => ({
586
+ }, wa = (e) => ({
587
587
  levels: (e == null ? void 0 : e.levels) ?? Ah.levels
588
588
  // TODO доработать логику
589
589
  // changebleDisabledRow:
@@ -592,17 +592,17 @@ const Qo = (e, t, n, r, o, i, s) => Array.prototype.concat.apply(e == null ? voi
592
592
  // changebleOfRowWithoutCheckbox:
593
593
  // selectingRules?.changebleOfRowWithoutCheckbox ??
594
594
  // SELECTING_RULES_DEFAULT.changebleOfRowWithoutCheckbox,
595
- }), wa = ze(void 0), zh = ({
595
+ }), ya = ze(void 0), zh = ({
596
596
  children: e,
597
597
  ...t
598
- }) => /* @__PURE__ */ h(wa.Provider, { value: t, children: e });
598
+ }) => /* @__PURE__ */ h(ya.Provider, { value: t, children: e });
599
599
  function bs() {
600
- const e = De(wa);
600
+ const e = Ne(ya);
601
601
  if (e === void 0)
602
602
  throw new Error("useSelectingRowContext must be used within DataGrid cells");
603
603
  return e;
604
604
  }
605
- const wr = (e, t) => typeof t == "number" ? e === t : t === "all" ? !0 : typeof t == "function" ? t(e) : t.some((n) => n === e), ya = (e) => {
605
+ const wr = (e, t) => typeof t == "number" ? e === t : t === "all" ? !0 : typeof t == "function" ? t(e) : t.some((n) => n === e), xa = (e) => {
606
606
  const {
607
607
  flattenedRowsArrAndMap: t,
608
608
  selectingRowConfig: n,
@@ -620,7 +620,7 @@ const wr = (e, t) => typeof t == "number" ? e === t : t === "all" ? !0 : typeof
620
620
  selectingRules: f,
621
621
  rowCheckboxDisabled: w,
622
622
  rowShowCheckbox: p
623
- } = n, m = ma(f), {
623
+ } = n, m = wa(f), {
624
624
  levels: g
625
625
  } = m, {
626
626
  isRowSelected: S,
@@ -849,7 +849,7 @@ const Gh = ({
849
849
  columnsInGlideOrder: [...F, ...M],
850
850
  groupMaxLength: U
851
851
  };
852
- }, [e]), I = Jc(), A = wn(), C = st(), E = pa(), T = bs(), {
852
+ }, [e]), I = _c(), A = wn(), C = st(), E = fa(), T = bs(), {
853
853
  allGroupsMap: k
854
854
  } = gh(), B = W(() => {
855
855
  const Y = /* @__PURE__ */ new Map();
@@ -1003,7 +1003,7 @@ const Gh = ({
1003
1003
  initialValue: ye,
1004
1004
  portalElementRef: me,
1005
1005
  activation: Le
1006
- } = ae, Ae = $.contentAlign ?? "left", {
1006
+ } = ae, Ce = $.contentAlign ?? "left", {
1007
1007
  contentFormat: Me
1008
1008
  } = $;
1009
1009
  return /* @__PURE__ */ h(
@@ -1011,7 +1011,7 @@ const Gh = ({
1011
1011
  {
1012
1012
  readOnly: !0,
1013
1013
  formatOptions: Me,
1014
- contentAlign: Ae,
1014
+ contentAlign: Ce,
1015
1015
  disableLeftOffset: !1,
1016
1016
  cellWidth: ge.width,
1017
1017
  cellHeight: ge.height,
@@ -1044,9 +1044,9 @@ const Gh = ({
1044
1044
  target: ye,
1045
1045
  initialValue: me,
1046
1046
  portalElementRef: Le,
1047
- activation: Ae
1047
+ activation: Ce
1048
1048
  } = ue;
1049
- return /* @__PURE__ */ h(se, { readOnly: we, cellWidth: ye.width, cellHeight: ye.height, colInd: M, activation: Ae, initialValue: me, rowInd: U, column: $, portalElementRef: Le, ctxs: O, row: J, theme: ae, onRowChange: (Me, Ye) => {
1049
+ return /* @__PURE__ */ h(se, { readOnly: we, cellWidth: ye.width, cellHeight: ye.height, colInd: M, activation: Ce, initialValue: me, rowInd: U, column: $, portalElementRef: Le, ctxs: O, row: J, theme: ae, onRowChange: (Me, Ye) => {
1050
1050
  (Ye ? ge : ie)({
1051
1051
  ...Y,
1052
1052
  data: Me
@@ -1151,7 +1151,7 @@ const Gh = ({
1151
1151
  HIDE_COLUMN: "hide-column",
1152
1152
  /** Показ столбца. detail.columnKey — ключ столбца */
1153
1153
  SHOW_COLUMN: "show-column"
1154
- }, dl = {
1154
+ }, ul = {
1155
1155
  headerColor: {
1156
1156
  light: "#ECF6FC",
1157
1157
  dark: "#071A26",
@@ -1183,13 +1183,13 @@ const Gh = ({
1183
1183
  betaCoreLight: "#E6F5FF"
1184
1184
  }
1185
1185
  }, Wh = () => {
1186
- const e = Object.fromEntries(Object.keys(dl).map((o) => [o, `--${o}`])), t = Object.keys(e).map((o) => [o, `var(${e[o]})`]), n = Object.fromEntries(t);
1186
+ const e = Object.fromEntries(Object.keys(ul).map((o) => [o, `--${o}`])), t = Object.keys(e).map((o) => [o, `var(${e[o]})`]), n = Object.fromEntries(t);
1187
1187
  return {
1188
1188
  customColorTokensKeys: e,
1189
1189
  customColorTokens: n,
1190
1190
  customColorGlobalVars: (o) => t.map(([s]) => {
1191
1191
  const c = s;
1192
- return `${e[c]}: ${dl[c][o]};`;
1192
+ return `${e[c]}: ${ul[c][o]};`;
1193
1193
  }).join(`
1194
1194
  `)
1195
1195
  };
@@ -1207,20 +1207,20 @@ const Gh = ({
1207
1207
  headerColor: dn.headerColor,
1208
1208
  rowHoverColor: Mu,
1209
1209
  textColor: ss,
1210
- headerTextColor: Ne,
1211
- selectCellColor: Fc,
1210
+ headerTextColor: He,
1211
+ selectCellColor: zc,
1212
1212
  editableCellColor: dn.editableCellColor,
1213
1213
  editableCellHoverColor: dn.editableCellHoverColor,
1214
1214
  editedSuccessfullyCellColor: dn.editedSuccessfullyCellColor,
1215
1215
  editedSuccessfullyCellHoverColor: dn.editedSuccessfullyCellHoverColor,
1216
1216
  white: qn,
1217
1217
  border: Jn,
1218
- red: Pc
1219
- }, je = 8, xa = "lvl-1-row", Rr = "detail-panel-row", Sa = "row-idx-", Gi = `${Sa}0`, ba = {
1218
+ red: Fc
1219
+ }, je = 8, Sa = "lvl-1-row", Rr = "detail-panel-row", ba = "row-idx-", Gi = `${ba}0`, va = {
1220
1220
  small: "200px",
1221
1221
  medium: "240px",
1222
1222
  big: "320px"
1223
- }, va = "0.3s", Mr = `all ${va} ease-out`, Ia = Wt, fn = {
1223
+ }, Ia = "0.3s", Mr = `all ${Ia} ease-out`, Zo = Wt, fn = {
1224
1224
  tableSidebarLayout: "rdg-table-sidebar-layout",
1225
1225
  tableSidebarTableContainer: "rdg-table-sidebar-layout-table-container",
1226
1226
  tableSidebarToggleIcon: "rdg-table-sidebar-layout__toggle-icon",
@@ -1228,7 +1228,7 @@ const Gh = ({
1228
1228
  tableSidebarContent: "rdg-table-sidebar-layout__sidebar-content",
1229
1229
  tableSidebarToggleButton: "rdg-table-sidebar-layout__toggle-button",
1230
1230
  tableSidebarCloseButton: "rdg-table-sidebar-layout__close-button"
1231
- }, Zo = `all ${Ia}s ease`, Uh = us(["from{opacity:0;}to{opacity:1;}"]), Xh = (e, t) => X(["border-radius:0px ", "px ", "px 0px;"], e ? je : 0, t ? je : 0), Qh = j(xe).withConfig({
1231
+ }, Is = `all ${Zo}s ease`, Uh = us(["from{opacity:0;}to{opacity:1;}"]), Xh = (e, t) => X(["border-radius:0px ", "px ", "px 0px;"], e ? je : 0, t ? je : 0), Qh = j(xe).withConfig({
1232
1232
  displayName: "styled__StyledTitleBox"
1233
1233
  })({
1234
1234
  height: "32px",
@@ -1243,7 +1243,7 @@ const Gh = ({
1243
1243
  marginRight: "16px"
1244
1244
  }), Zh = j(xe).withConfig({
1245
1245
  displayName: "styled__SidebarContainer"
1246
- })(["--table-sidebar-toggle-panel-width:44px;display:flex;flex-direction:row-reverse;border:1px solid ", ";border-left:none;box-sizing:border-box;overflow-x:hidden;transition:", ";will-change:width,min-width;background-color:", ";max-width:calc( ", "px + var(--table-sidebar-toggle-panel-width) );& .", "{width:32px;aspect-ratio:1 / 1;margin-left:auto;}", " ", ""], () => Jn, Zo, () => qn, ({
1246
+ })(["--table-sidebar-toggle-panel-width:44px;display:flex;flex-direction:row-reverse;border:1px solid ", ";border-left:none;box-sizing:border-box;overflow-x:hidden;transition:", ";will-change:width,min-width;background-color:", ";max-width:calc( ", "px + var(--table-sidebar-toggle-panel-width) );& .", "{width:32px;aspect-ratio:1 / 1;margin-left:auto;}", " ", ""], () => Jn, Is, () => qn, ({
1247
1247
  $contentWidth: e
1248
1248
  }) => e, fn.tableSidebarCloseButton, ({
1249
1249
  isOpen: e,
@@ -1253,13 +1253,18 @@ const Gh = ({
1253
1253
  $borderRightBottomRadiusRounded: t
1254
1254
  }) => Xh(e, t)), qh = j(xe).withConfig({
1255
1255
  displayName: "styled__SidebarTogglePanel"
1256
- })(["width:var(--table-sidebar-toggle-panel-width);min-width:var(--table-sidebar-toggle-panel-width);display:flex;flex-direction:column;align-items:center;border:none;border-left:1px solid ", ";background-color:", ";padding:0;margin-bottom:", ";margin-top:", ";gap:", ";& .", "{background:none;border:none;cursor:pointer;padding:0;margin:0;display:flex;align-items:center;justify-content:center;& .", "{transition:", ";transform:", ";}}"], Jn, qn, Fi, Fi, zc, fn.tableSidebarToggleButton, fn.tableSidebarToggleIcon, Zo, ({
1256
+ })(["width:var(--table-sidebar-toggle-panel-width);min-width:var(--table-sidebar-toggle-panel-width);display:flex;flex-direction:column;align-items:center;border:none;border-left:1px solid ", ";background-color:", ";padding:0;margin-bottom:", ";margin-top:", ";gap:", ";& .", "{background:none;border:none;cursor:pointer;padding:0;margin:0;display:flex;align-items:center;justify-content:center;& .", "{transition:", ";transform:", ";}}"], Jn, qn, Fi, Fi, Mc, fn.tableSidebarToggleButton, fn.tableSidebarToggleIcon, Is, ({
1257
1257
  isOpen: e
1258
1258
  }) => e ? "scaleX(-1)" : ""), Jh = j(xe).withConfig({
1259
1259
  displayName: "styled__SidebarContent"
1260
- })(["min-width:", ";padding:", ";flex-grow:1;transition:", ";overflow-y:auto;& .", "{overflow:hidden;height:100%;opacity:0;transition:", ";animation:", ";animation-delay:0.1s;animation-duration:0.3s;animation-fill-mode:forwards;}", ""], ({
1261
- $contentWidth: e
1262
- }) => `${e}px`, Fi, Zo, fn.tableSidebarContent, Zo, Uh, ({
1260
+ })(["min-width:", ";padding:", ";flex-grow:1;transition:", ";transition-delay:", ";overflow-y:auto;& .", "{overflow:hidden;height:100%;opacity:0;", "}", ""], ({
1261
+ isOpen: e,
1262
+ $contentWidth: t
1263
+ }) => e ? `${t}px` : "0", Fi, Is, ({
1264
+ isOpen: e
1265
+ }) => e ? "0s" : `${Zo}s`, fn.tableSidebarContent, ({
1266
+ isOpen: e
1267
+ }) => e ? X(["visibility:visible;animation:", ";animation-delay:0.1s;animation-duration:0.3s;animation-fill-mode:forwards;"], Uh) : X(["opacity:1;visibility:hidden;animation:none;transition:visibility 0s linear ", "s;"], Zo), ({
1263
1268
  isOpen: e
1264
1269
  }) => e ? `
1265
1270
  pointer-events: auto;
@@ -1271,9 +1276,9 @@ const Gh = ({
1271
1276
  displayName: "styled__SidebarLayoutHeader"
1272
1277
  })(["height:var(--table-sidebar-layout-header);display:flex;align-items:center;margin-bottom:var(--table-sidebar-layout-header-margin-bottom);"]), ep = j.div.withConfig({
1273
1278
  displayName: "styled__SidebarLayoutContent"
1274
- })(["height:calc( 100% - var(--table-sidebar-layout-header) - var(--table-sidebar-layout-header-margin-bottom) );display:flex;flex-direction:column;"]), tp = j(Cc).withConfig({
1279
+ })(["height:calc( 100% - var(--table-sidebar-layout-header) - var(--table-sidebar-layout-header-margin-bottom) );display:flex;flex-direction:column;"]), tp = j(Rc).withConfig({
1275
1280
  displayName: "styled__TabItemStyled"
1276
- })(["width:var(--table-sidebar-toggle-panel-width,44px);height:40px;&&::after{left:-1px;}"]), np = j(Ac).withConfig({
1281
+ })(["width:var(--table-sidebar-toggle-panel-width,44px);height:40px;&&::after{left:-1px;}"]), np = j(Cc).withConfig({
1277
1282
  displayName: "styled__TabsStyled"
1278
1283
  })(["width:100%;flex-direction:column;& > button{display:none;}& .tabs-clip-show-all{padding:0;}&::after{width:0;}"]), rp = ({
1279
1284
  title: e,
@@ -1287,7 +1292,7 @@ const Gh = ({
1287
1292
  return /* @__PURE__ */ ne(_h, { children: [
1288
1293
  /* @__PURE__ */ ne($h, { children: [
1289
1294
  /* @__PURE__ */ ne(Qh, { children: [
1290
- /* @__PURE__ */ h(Wc, { variant: "H4", bold: !0, lines: 1, tooltipText: e, tooltipProps: {
1295
+ /* @__PURE__ */ h(jc, { variant: "H4", bold: !0, lines: 1, tooltipText: e, tooltipProps: {
1291
1296
  placement: "top"
1292
1297
  }, children: e }),
1293
1298
  t
@@ -1307,7 +1312,7 @@ const Gh = ({
1307
1312
  children: e,
1308
1313
  ...t
1309
1314
  }) => {
1310
- const n = la();
1315
+ const n = ca();
1311
1316
  return /* @__PURE__ */ h(ni, { trigger: "hover", usePortal: !0, hasArrow: !0, frame: n, mouseEnterDelay: Ca, ...t, children: e });
1312
1317
  }, sp = ({
1313
1318
  tabs: e,
@@ -1552,7 +1557,7 @@ const Gh = ({
1552
1557
  return [void 0, !0];
1553
1558
  const r = n.find((o) => t >= o.minWidth);
1554
1559
  return [r == null ? void 0 : r.slots, (r == null ? void 0 : r.hasQuickJump) ?? !0];
1555
- }, gp = (e, t) => e ? up[t ?? ji] + Xe[t ?? ji] * 2 : 0, yn = "row-instruments-column-key", Ro = "row-instruments-column-cellclass", ul = "row-instruments-column-header-cellclass", WS = "row-instruments-column-summary-cellclass", Eo = "row-instruments-active", hl = 56, Mo = {
1560
+ }, gp = (e, t) => e ? up[t ?? ji] + Xe[t ?? ji] * 2 : 0, yn = "row-instruments-column-key", Ro = "row-instruments-column-cellclass", hl = "row-instruments-column-header-cellclass", WS = "row-instruments-column-summary-cellclass", Eo = "row-instruments-active", pl = 56, Mo = {
1556
1561
  big: {
1557
1562
  checkboxSize: 24,
1558
1563
  cellWidth: 48,
@@ -1734,7 +1739,7 @@ const Gh = ({
1734
1739
  var re, G;
1735
1740
  const {
1736
1741
  down: o
1737
- } = Dc(), s = o("xl") ? "BodyXS" : "BodyS", {
1742
+ } = Nc(), s = o("xl") ? "BodyXS" : "BodyS", {
1738
1743
  rows: c,
1739
1744
  flattenedRowsArrAndMap: l,
1740
1745
  selectingRowConfig: d,
@@ -1908,7 +1913,7 @@ function xp(e) {
1908
1913
  isIndeterminate: r,
1909
1914
  isRowSelectionDisabled: o,
1910
1915
  onChange: i
1911
- } = ya(e);
1916
+ } = xa(e);
1912
1917
  if (!t)
1913
1918
  return Zd();
1914
1919
  const {
@@ -1947,9 +1952,9 @@ const Sp = ({
1947
1952
  cellWithExpandButton: "cell-with-expand-button"
1948
1953
  }, qo = {
1949
1954
  subrowContainerPaddingLeft: "--subrow-container-padding-left"
1950
- }, Nt = (e, t) => X(["&::before{content:'';display:block;position:absolute;top:0;bottom:0;left:0;right:0;", " z-index:1;pointer-events:none;}"], () => `border${t ? `-${t}` : ""}: 1px solid ${e ?? oe.selectCellColor};`), Ta = X(["&[aria-selected='true']{", "}"], Nt()), bp = X(["&.", ":not(.", "){background-color:", ";}&:hover.", ":not(.", "){background-color:", ";}"], te.editableCell, te.editingCell, oe.editableCellColor, te.editableCell, te.editingCell, oe.editableCellHoverColor), vp = X(["&.", ":not(.", "):not( [aria-selected='true'] ){", "}"], te.editedWithErrorCell, te.editingCell, () => Nt(Pc)), Ip = X(["&.", ":not(.", "):not( [aria-selected='true'] ){background-color:", ";&:hover{background-color:", ";}}"], te.editedSuccessfullyCell, te.editingCell, oe.editedSuccessfullyCellColor, oe.editedSuccessfullyCellHoverColor), Ap = X(["content:'';position:absolute;right:0px;width:1px;background-color:", ";"], oe.border), Cp = (e) => e ? X(["& .rdg-cell{border-right:1px solid ", ";}"], oe.border) : X(["& .rdg-cell:not(:last-of-type):not(:only-of-type)::after{", " top:50%;transform:translate(0,-50%);height:calc(100% - 15px);border-radius:2px;}"], Ap), ka = `.${te.headerCellRightIcons}`, To = `.${te.headerCellFilterIsActive}`, Pn = `.${te.headerCellFilterIsAvailable}`, ko = `.${te.headerCellSortingIsActive}`, Fn = `.${te.headerCellSortingIsAvailable}`, Rp = X(["", "{flex-shrink:0;display:flex;opacity:0;width:0;transition:", ";margin-left:auto;gap:4px;background-color:", ";min-width:0;&:has(", ",", "){opacity:1;&:has(", "):has(", "){width:36px;& ", ",& ", "{opacity:1;width:16px;}}&:has(", "):not(:has(", ")){width:16px;gap:0;& ", "{opacity:0;width:0;}}&:has(", "):not(:has(", ")){width:16px;gap:0;transition:none;& ", "{transition:none;opacity:0;width:0;}}}}"], ka, Mr, oe.headerColor, To, ko, Pn, Fn, To, ko, To, ko, Fn, ko, To, Pn), Ep = X(["&:hover,&[aria-selected='true']{", "{opacity:1;&:has(", "):has(", "){width:36px;gap:4px;& ", ",& ", "{opacity:1;width:16px;}}&:has(", "):not(:has(", ")){width:16px;gap:0;}&:has(", "):not(:has(", ")){width:16px;gap:0;}}}"], ka, Pn, Fn, Pn, Fn, Fn, Pn, Pn, Fn), Jo = `:has(.${te.cell}[aria-selected='true'])`, xi = `.${te.row}:not(.${te.headerRow}):not(.${te.summaryRow})`, Oa = `.${te.topSummaryRow}${Jo}`, Tp = `${Oa}:nth-child(1 of .${te.topSummaryRow})`, kp = `.${te.topSummaryRow}:has(+ .${te.topSummaryRow} > .${te.cell}[aria-selected='true'])`, Is = `.${te.bottomSummaryRow}${Jo}`, Op = `${Is} + .${te.bottomSummaryRow}`, Lp = `${Is}:nth-last-child(1 of .${te.bottomSummaryRow})`, Bp = X(["", "", "{&.", "{.", "{", ";}}&:not(.", "){.", "{border-top:1px solid ", ";}}& + ", "{.", "{border-top:1px solid ", ";}}&:nth-last-child(1 of ", "){.", "{border-block-end:1px solid ", ";}}&{.", "{&:first-of-type{", ";}&:last-of-type{", ";}}}}.", "{.", "{", "}}", ",", "{.", "{border-block-end-color:", ";}}", "{.", "{", ";}}", ",", "{.", "{border-block-start-color:", ";}}", "{.", "{", ";}}.", "", "{.", "{&:first-of-type{", ";}&:last-of-type{", ";}}}"], xi, Jo, Gi, te.cell, () => Nt(void 0, "top"), Gi, te.cell, oe.selectCellColor, xi, te.cell, oe.selectCellColor, xi, te.cell, oe.selectCellColor, te.cell, () => Nt(void 0, "left"), () => Nt(void 0, "right"), te.headerRow, te.cell, Ta, kp, Oa, te.cell, oe.selectCellColor, Tp, te.cell, () => Nt(void 0, "top"), Is, Op, te.cell, oe.selectCellColor, Lp, te.cell, () => Nt(void 0, "bottom"), te.summaryRow, Jo, te.cell, () => Nt(void 0, "left"), () => Nt(void 0, "right")), Dp = X(["", ":0;z-index:", ";&.", ",&.", "{z-index:calc(", " + 1);}"], vs.zIndexCell, dn.zIndexCell, te.cellPinnedLeft, Wi, dn.zIndexCell), Np = X(["", ":1;"], vs.zIndexCell), Hp = X(["--digit-max:50;--digit-1:0;--digit-2:0;--current-z-index:calc(var(--digit-max) - (var(--digit-1) + var(--digit-2)));z-index:var(--current-z-index);&:nth-of-type(10n + 0){--digit-1:0;}&:nth-of-type(10n + 1){--digit-1:1;}&:nth-of-type(10n + 2){--digit-1:2;}&:nth-of-type(10n + 3){--digit-1:3;}&:nth-of-type(10n + 4){--digit-1:4;}&:nth-of-type(10n + 5){--digit-1:5;}&:nth-of-type(10n + 6){--digit-1:6;}&:nth-of-type(10n + 7){--digit-1:7;}&:nth-of-type(10n + 8){--digit-1:8;}&:nth-of-type(10n + 9){--digit-1:9;}&:nth-of-type(-n + 10){--digit-2:0;}&:nth-of-type(n + 10):nth-of-type(-n + 20){--digit-2:10;}&:nth-of-type(n + 20):nth-of-type(-n + 30){--digit-2:20;}&:nth-of-type(n + 30):nth-of-type(-n + 40){--digit-2:30;}&:nth-of-type(n + 40):nth-of-type(-n + 50){--digit-2:40;}&:nth-of-type(n + 50):nth-of-type(-n + 60){--digit-2:50;}&:nth-of-type(n + 60):nth-of-type(-n + 70){--digit-2:60;}&:nth-of-type(n + 70):nth-of-type(-n + 80){--digit-2:70;}&:nth-of-type(n + 80):nth-of-type(-n + 90){--digit-2:80;}&:nth-of-type(n + 90):nth-of-type(-n + 100){--digit-2:90;}&:nth-of-type(n + 100):nth-of-type(-n + 110){--digit-2:100;}"]), La = (e = "right") => `${e === "left" ? "-" : ""}48px 24px 48px -8px rgba(0, 0, 0, 0.04)`, Pp = (e) => X(Ee[e].font()), Yi = ({
1955
+ }, Nt = (e, t) => X(["&::before{content:'';display:block;position:absolute;top:0;bottom:0;left:0;right:0;", " z-index:1;pointer-events:none;}"], () => `border${t ? `-${t}` : ""}: 1px solid ${e ?? oe.selectCellColor};`), Ta = X(["&[aria-selected='true']{", "}"], Nt()), bp = X(["&.", ":not(.", "){background-color:", ";}&:hover.", ":not(.", "){background-color:", ";}"], te.editableCell, te.editingCell, oe.editableCellColor, te.editableCell, te.editingCell, oe.editableCellHoverColor), vp = X(["&.", ":not(.", "):not( [aria-selected='true'] ){", "}"], te.editedWithErrorCell, te.editingCell, () => Nt(Fc)), Ip = X(["&.", ":not(.", "):not( [aria-selected='true'] ){background-color:", ";&:hover{background-color:", ";}}"], te.editedSuccessfullyCell, te.editingCell, oe.editedSuccessfullyCellColor, oe.editedSuccessfullyCellHoverColor), Ap = X(["content:'';position:absolute;right:0px;width:1px;background-color:", ";"], oe.border), Cp = (e) => e ? X(["& .rdg-cell{border-right:1px solid ", ";}"], oe.border) : X(["& .rdg-cell:not(:last-of-type):not(:only-of-type)::after{", " top:50%;transform:translate(0,-50%);height:calc(100% - 15px);border-radius:2px;}"], Ap), ka = `.${te.headerCellRightIcons}`, To = `.${te.headerCellFilterIsActive}`, Pn = `.${te.headerCellFilterIsAvailable}`, ko = `.${te.headerCellSortingIsActive}`, Fn = `.${te.headerCellSortingIsAvailable}`, Rp = X(["", "{flex-shrink:0;display:flex;opacity:0;width:0;transition:", ";margin-left:auto;gap:4px;background-color:", ";min-width:0;&:has(", ",", "){opacity:1;&:has(", "):has(", "){width:36px;& ", ",& ", "{opacity:1;width:16px;}}&:has(", "):not(:has(", ")){width:16px;gap:0;& ", "{opacity:0;width:0;}}&:has(", "):not(:has(", ")){width:16px;gap:0;transition:none;& ", "{transition:none;opacity:0;width:0;}}}}"], ka, Mr, oe.headerColor, To, ko, Pn, Fn, To, ko, To, ko, Fn, ko, To, Pn), Ep = X(["&:hover,&[aria-selected='true']{", "{opacity:1;&:has(", "):has(", "){width:36px;gap:4px;& ", ",& ", "{opacity:1;width:16px;}}&:has(", "):not(:has(", ")){width:16px;gap:0;}&:has(", "):not(:has(", ")){width:16px;gap:0;}}}"], ka, Pn, Fn, Pn, Fn, Fn, Pn, Pn, Fn), Jo = `:has(.${te.cell}[aria-selected='true'])`, xi = `.${te.row}:not(.${te.headerRow}):not(.${te.summaryRow})`, Oa = `.${te.topSummaryRow}${Jo}`, Tp = `${Oa}:nth-child(1 of .${te.topSummaryRow})`, kp = `.${te.topSummaryRow}:has(+ .${te.topSummaryRow} > .${te.cell}[aria-selected='true'])`, As = `.${te.bottomSummaryRow}${Jo}`, Op = `${As} + .${te.bottomSummaryRow}`, Lp = `${As}:nth-last-child(1 of .${te.bottomSummaryRow})`, Bp = X(["", "", "{&.", "{.", "{", ";}}&:not(.", "){.", "{border-top:1px solid ", ";}}& + ", "{.", "{border-top:1px solid ", ";}}&:nth-last-child(1 of ", "){.", "{border-block-end:1px solid ", ";}}&{.", "{&:first-of-type{", ";}&:last-of-type{", ";}}}}.", "{.", "{", "}}", ",", "{.", "{border-block-end-color:", ";}}", "{.", "{", ";}}", ",", "{.", "{border-block-start-color:", ";}}", "{.", "{", ";}}.", "", "{.", "{&:first-of-type{", ";}&:last-of-type{", ";}}}"], xi, Jo, Gi, te.cell, () => Nt(void 0, "top"), Gi, te.cell, oe.selectCellColor, xi, te.cell, oe.selectCellColor, xi, te.cell, oe.selectCellColor, te.cell, () => Nt(void 0, "left"), () => Nt(void 0, "right"), te.headerRow, te.cell, Ta, kp, Oa, te.cell, oe.selectCellColor, Tp, te.cell, () => Nt(void 0, "top"), As, Op, te.cell, oe.selectCellColor, Lp, te.cell, () => Nt(void 0, "bottom"), te.summaryRow, Jo, te.cell, () => Nt(void 0, "left"), () => Nt(void 0, "right")), Dp = X(["", ":0;z-index:", ";&.", ",&.", "{z-index:calc(", " + 1);}"], vs.zIndexCell, dn.zIndexCell, te.cellPinnedLeft, Wi, dn.zIndexCell), Np = X(["", ":1;"], vs.zIndexCell), Hp = X(["--digit-max:50;--digit-1:0;--digit-2:0;--current-z-index:calc(var(--digit-max) - (var(--digit-1) + var(--digit-2)));z-index:var(--current-z-index);&:nth-of-type(10n + 0){--digit-1:0;}&:nth-of-type(10n + 1){--digit-1:1;}&:nth-of-type(10n + 2){--digit-1:2;}&:nth-of-type(10n + 3){--digit-1:3;}&:nth-of-type(10n + 4){--digit-1:4;}&:nth-of-type(10n + 5){--digit-1:5;}&:nth-of-type(10n + 6){--digit-1:6;}&:nth-of-type(10n + 7){--digit-1:7;}&:nth-of-type(10n + 8){--digit-1:8;}&:nth-of-type(10n + 9){--digit-1:9;}&:nth-of-type(-n + 10){--digit-2:0;}&:nth-of-type(n + 10):nth-of-type(-n + 20){--digit-2:10;}&:nth-of-type(n + 20):nth-of-type(-n + 30){--digit-2:20;}&:nth-of-type(n + 30):nth-of-type(-n + 40){--digit-2:30;}&:nth-of-type(n + 40):nth-of-type(-n + 50){--digit-2:40;}&:nth-of-type(n + 50):nth-of-type(-n + 60){--digit-2:50;}&:nth-of-type(n + 60):nth-of-type(-n + 70){--digit-2:60;}&:nth-of-type(n + 70):nth-of-type(-n + 80){--digit-2:70;}&:nth-of-type(n + 80):nth-of-type(-n + 90){--digit-2:80;}&:nth-of-type(n + 90):nth-of-type(-n + 100){--digit-2:90;}&:nth-of-type(n + 100):nth-of-type(-n + 110){--digit-2:100;}"]), La = (e = "right") => `${e === "left" ? "-" : ""}48px 24px 48px -8px rgba(0, 0, 0, 0.04)`, Pp = (e) => X(Ee[e].font()), Yi = ({
1951
1956
  maxHeight: e
1952
- } = {}) => X(["transition:grid-template-rows ", "s ease,max-height ", "s linear,border-radius ", "s ease,border-color ", "s ease;"], Wt, e ?? Wt, Wt + 0.2, Wt + 0.2), pl = (e, t, n, r) => X(["border-radius:", "px ", "px ", "px ", "px;"], e ? je : 0, t ? je : 0, r ? je : 0, n ? je : 0), Fp = () => X(si), zp = X(["> .rdg-header-row,> .rdg-row{transition:line-height 0.5s ease,font-size 0.5s ease,line-height 0.5s ease,padding 0.5s ease;}> .rdg-header-row{.rdg-cell *{}}"]), Mp = X(["&& .popover-root > *{--plasma-tooltip-background-color:", ";--plasma-popover-arrow-background:", ";--plasma-tooltip-color:", ";}"], () => cl, () => cl, () => Gu), fl = (e) => X(["", " --rdg-color:", ";--rdg-border-color:", ";--rdg-summary-border-color:", ";--rdg-background-color:", ";--rdg-selection-color:transparent;--rdg-header-background-color:", ";--rdg-header-draggable-background-color:", ";--rdg-row-hover-background-color:", ";--rdg-row-selected-background-color:", ";--rdg-row-selected-hover-background-color:", ";--rdg-checkbox-color:hsl(207deg 100% 29%);--rdg-checkbox-focus-color:hsl(207deg 100% 69%);--rdg-checkbox-disabled-border-color:#ccc;--rdg-checkbox-disabled-background-color:#ddd;--rdg-cell-frozen-box-shadow:", ";"], () => X(["", ""], Kh(e)), oe.textColor, oe.border, oe.border, oe.white, oe.headerColor, oe.headerColor, oe.rowHoverColor, oe.white, oe.headerColor, La()), gl = X(["&::-webkit-scrollbar{width:16px;height:16px;background-color:", ";&-track{margin:0px;&:hover{margin:0px;}&:vertical{border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-left:1px solid ", ";}&:horizontal{border-top-right-radius:0px;border-top-left-radius:0px;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top:1px solid ", ";}}&-thumb{background-color:", ";background-clip:content-box;cursor:pointer;&:hover{background-color:", ";}&:vertical{border-left:4px solid transparent;border-right:3px solid transparent;border-top-left-radius:7px;border-bottom-left-radius:7px;border-top-right-radius:6.25px;border-bottom-right-radius:6.25px;}&:horizontal{border-top:4px solid transparent;border-bottom:3px solid transparent;border-top-left-radius:7px;border-top-right-radius:7px;border-bottom-left-radius:6.25px;border-bottom-right-radius:6.25px;}}&-corner{border-left:1px solid ", ";background-color:", ";}}"], oe.white, oe.border, oe.border, () => ls, () => Ne, oe.border, oe.white), Vp = X(["& .", ",& .rdg-header-row .", ",.rdg-row .", ",& .rdg-summary-row .", "{display:flex;justify-content:center;align-items:center;border-inline-end:1px solid ", ";}& .", ".", ",& .rdg-header-row .", ".", ",.rdg-row .", ".", ",& .rdg-summary-row .", ".", "{border-inline-end:0px;}& .rdg-header-row .", "{&::after{display:none;}}"], ut, ut, ut, ut, oe.border, ut, Eo, ut, Eo, ut, Eo, ut, Eo, Ch), Gp = X(["& .", "{border-inline-end:0px solid ", " !important;}& .", ",& .rdg-header-row .", ",.rdg-row .", ",& .rdg-summary-row .", "{display:flex;justify-content:center;align-items:center;border-inline-end:1px solid ", ";}& .rdg-header-row .rdg-cell:has(+ .", "){&::after{display:none;}}"], ul, oe.border, Ro, Ro, Ro, Ro, oe.border, ul), ml = {
1957
+ } = {}) => X(["transition:grid-template-rows ", "s ease,max-height ", "s linear,border-radius ", "s ease,border-color ", "s ease;"], Wt, e ?? Wt, Wt + 0.2, Wt + 0.2), fl = (e, t, n, r) => X(["border-radius:", "px ", "px ", "px ", "px;"], e ? je : 0, t ? je : 0, r ? je : 0, n ? je : 0), Fp = () => X(si), zp = X(["> .rdg-header-row,> .rdg-row{transition:line-height 0.5s ease,font-size 0.5s ease,line-height 0.5s ease,padding 0.5s ease;}> .rdg-header-row{.rdg-cell *{}}"]), Mp = X(["&& .popover-root > *{--plasma-tooltip-background-color:", ";--plasma-popover-arrow-background:", ";--plasma-tooltip-color:", ";}"], () => al, () => al, () => Gu), gl = (e) => X(["", " --rdg-color:", ";--rdg-border-color:", ";--rdg-summary-border-color:", ";--rdg-background-color:", ";--rdg-selection-color:transparent;--rdg-header-background-color:", ";--rdg-header-draggable-background-color:", ";--rdg-row-hover-background-color:", ";--rdg-row-selected-background-color:", ";--rdg-row-selected-hover-background-color:", ";--rdg-checkbox-color:hsl(207deg 100% 29%);--rdg-checkbox-focus-color:hsl(207deg 100% 69%);--rdg-checkbox-disabled-border-color:#ccc;--rdg-checkbox-disabled-background-color:#ddd;--rdg-cell-frozen-box-shadow:", ";"], () => X(["", ""], Kh(e)), oe.textColor, oe.border, oe.border, oe.white, oe.headerColor, oe.headerColor, oe.rowHoverColor, oe.white, oe.headerColor, La()), ml = X(["&::-webkit-scrollbar{width:16px;height:16px;background-color:", ";&-track{margin:0px;&:hover{margin:0px;}&:vertical{border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:inherit;border-bottom-right-radius:inherit;border-left:1px solid ", ";}&:horizontal{border-top-right-radius:0px;border-top-left-radius:0px;border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;border-top:1px solid ", ";}}&-thumb{background-color:", ";background-clip:content-box;cursor:pointer;&:hover{background-color:", ";}&:vertical{border-left:4px solid transparent;border-right:3px solid transparent;border-top-left-radius:7px;border-bottom-left-radius:7px;border-top-right-radius:6.25px;border-bottom-right-radius:6.25px;}&:horizontal{border-top:4px solid transparent;border-bottom:3px solid transparent;border-top-left-radius:7px;border-top-right-radius:7px;border-bottom-left-radius:6.25px;border-bottom-right-radius:6.25px;}}&-corner{border-left:1px solid ", ";background-color:", ";}}"], oe.white, oe.border, oe.border, () => ls, () => He, oe.border, oe.white), Vp = X(["& .", ",& .rdg-header-row .", ",.rdg-row .", ",& .rdg-summary-row .", "{display:flex;justify-content:center;align-items:center;border-inline-end:1px solid ", ";}& .", ".", ",& .rdg-header-row .", ".", ",.rdg-row .", ".", ",& .rdg-summary-row .", ".", "{border-inline-end:0px;}& .rdg-header-row .", "{&::after{display:none;}}"], ut, ut, ut, ut, oe.border, ut, Eo, ut, Eo, ut, Eo, ut, Eo, Ch), Gp = X(["& .", "{border-inline-end:0px solid ", " !important;}& .", ",& .rdg-header-row .", ",.rdg-row .", ",& .rdg-summary-row .", "{display:flex;justify-content:center;align-items:center;border-inline-end:1px solid ", ";}& .rdg-header-row .rdg-cell:has(+ .", "){&::after{display:none;}}"], hl, oe.border, Ro, Ro, Ro, Ro, oe.border, hl), wl = {
1953
1958
  allRows: X(["&.", "{position:sticky;right:0;&:nth-child(1 of &){box-shadow:", ";}}"], Wi, La("left")),
1954
1959
  header: X(["&.", "{background-color:", ";z-index:calc(var(--current-z-index) + 100);}"], Wi, oe.headerColor)
1955
1960
  }, Wp = X(["position:fixed;z-index:9000;top:0;left:0;margin:", ";width:", ";max-width:", ";min-width:", ";height:", ";max-height:", ";min-height:", ";padding:8px;background-color:", ";border-radius:16px;box-shadow:0px 0px 0px ", " ", ";&::before{content:'';position:absolute;z-index:-1;top:-", ";left:-", ";width:100dvw;height:100dvh;}& > .rdg{", ";}"], Qe.MARGIN, Qe.WIDTH_TABLE_CONTAINER, Qe.WIDTH_TABLE_CONTAINER, Qe.WIDTH_TABLE_CONTAINER, Qe.HEIGHT_TABLE_CONTAINER, Qe.HEIGHT_TABLE_CONTAINER, Qe.HEIGHT_TABLE_CONTAINER, oe.white, Qe.BOX_SHADOW, () => Vu, Qe.MARGIN, Qe.MARGIN, () => Yi({
@@ -1974,11 +1979,11 @@ const Sp = ({
1974
1979
  $highlightActiveType: l,
1975
1980
  $activeTheme: d,
1976
1981
  $css: a
1977
- }) => e === "cards" ? X(["", " & .", "{transition:opacity 2s ease,max-height 0.3s ease;border:1px solid transparent;}"], gl, te.tableCardsViewContainer) : X(["", " ", " & .", "{border:1px solid var(--rdg-border-color);}& .", "{", " ", "}& .rdg{border:1px solid var(--rdg-border-color);", " ", " ", " ", " & .rdg-cell{align-content:center;", " &:not(.", "){border-inline-end:0px;}", " padding-block:", ";padding-inline:", ";border-block-end:0px;&.rdg-editor-container.rdg-editable-cell{& .input-wrapper{padding-block:", ";padding-inline:", ";}}& .", "{padding-right:", ";}& .", " .", "{padding-right:", ";}&.rdg-editable-cell{& .", "{margin-left:12px;margin-right:-2px;margin-block:-1px;}}&.expanded-row-cell{}", " ", " ", " ", " ", "}& .rdg-editor-container{padding-block:", ";padding-inline:", ";}& .rdg-row.", " .rdg-cell > *{height:100%;}& .rdg-header-row{z-index:5;& .rdg-cell{contain:strict;display:flex;width:100%;min-width:0;overflow:hidden;.", "{flex-shrink:0;margin-right:6px;display:inline-flex;gap:4px;color:", ";}.", "{display:flex;max-height:16px;position:relative;width:100%;min-width:0;}.", "{display:flex;align-items:center;flex-shrink:1;min-width:0;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:flex 0.2s ease;}", " ", " color:", ";border-block-end:1px solid ", ";align-content:start;", " ", " ", " overflow:hidden;padding-block:8px !important;padding-inline:16px;border-inline-end:0px;&.rdg-cell-draggable{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab;&:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing;}}}", " &:not(:last-of-type):not(:only-of-type){& .rdg-cell:not(.rdg-cell[aria-rowspan='1']){align-content:center;}}}&:nth-last-child(1 of .rdg-row:not(.rdg-bottom-summary-row)){.rdg-cell{box-shadow:0 1px 0px 0px ", ";}}& .rdg-row.", ":not(.", "){& .rdg-cell{border-block-start:1px solid ", ";}}", " & .rdg-row{&.", " .rdg-cell:not(.", "){border-block-start:1px solid ", ";}&.", " + .rdg-row{.rdg-cell:not(.", "){border-block-start:1px solid ", ";}}}& .rdg-row.", ":hover{background-color:inherit;}& .rdg-summary-row{background-color:", ";& .rdg-cell{", "}&.rdg-top-summary-row{& .rdg-cell{border-block-start:0px;border-block-end:1px solid var(--rdg-summary-border-color);}}&.rdg-bottom-summary-row{& .rdg-cell{border-block-start:1px solid var(--rdg-summary-border-color);border-block-end:0px;}}}", " ", " & .rdg-header-row:has(+ .rdg-header-row){& .rdg-cell{text-align:center;}}", "}"], Mp, fl(d), te.table, te.tableAndTableScroller, gl, pl(r, o, i, s), fl(d), () => Yi(), t && zp, pl(r, o, i, s), Dp, ut, Pp(c), Ee[c].cell["padding-block"], Ee[c].cell["padding-inline"], Ee[c].cell["padding-block"], Ee[c].cell["padding-inline"], Re.editableCellWithExpandButton, Ee[c].cell["padding-inline"], Re.cellWithExpandButton, Re.selectArrowContainer, Ee[c].cell["padding-inline"], Re.selectArrow, ml.allRows, bp, Ip, vp, l === "cell" && Ta, Ee[c].editorCell["padding-block"], Ee[c].editorCell["padding-inline"], Rr, te.headerCellLeftIcons, () => ls, te.headerCellContainer, te.headerCellTextContent, Rp, Ep, oe.headerTextColor, oe.border, () => Fp(), Hp, ml.header, () => Cp(n), oe.border, xa, Gi, oe.border, l === "row" && Bp, Rr, ut, oe.border, Rr, ut, oe.border, Rr, oe.headerColor, Np, Vp, Gp, a), ({
1982
+ }) => e === "cards" ? X(["", " & .", "{transition:opacity 2s ease,max-height 0.3s ease;border:1px solid transparent;}"], ml, te.tableCardsViewContainer) : X(["", " ", " & .", "{border:1px solid var(--rdg-border-color);}& .", "{", " ", "}& .rdg{border:1px solid var(--rdg-border-color);", " ", " ", " ", " & .rdg-cell{align-content:center;", " &:not(.", "){border-inline-end:0px;}", " padding-block:", ";padding-inline:", ";border-block-end:0px;&.rdg-editor-container.rdg-editable-cell{& .input-wrapper{padding-block:", ";padding-inline:", ";}}& .", "{padding-right:", ";}& .", " .", "{padding-right:", ";}&.rdg-editable-cell{& .", "{margin-left:12px;margin-right:-2px;margin-block:-1px;}}&.expanded-row-cell{}", " ", " ", " ", " ", "}& .rdg-editor-container{padding-block:", ";padding-inline:", ";}& .rdg-row.", " .rdg-cell > *{height:100%;}& .rdg-header-row{z-index:5;& .rdg-cell{contain:strict;display:flex;width:100%;min-width:0;overflow:hidden;.", "{flex-shrink:0;margin-right:6px;display:inline-flex;gap:4px;color:", ";}.", "{display:flex;max-height:16px;position:relative;width:100%;min-width:0;}.", "{display:flex;align-items:center;flex-shrink:1;min-width:0;margin-right:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:flex 0.2s ease;}", " ", " color:", ";border-block-end:1px solid ", ";align-content:start;", " ", " ", " overflow:hidden;padding-block:8px !important;padding-inline:16px;border-inline-end:0px;&.rdg-cell-draggable{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab;&:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:-ms-grabbing;cursor:grabbing;}}}", " &:not(:last-of-type):not(:only-of-type){& .rdg-cell:not(.rdg-cell[aria-rowspan='1']){align-content:center;}}}&:nth-last-child(1 of .rdg-row:not(.rdg-bottom-summary-row)){.rdg-cell{box-shadow:0 1px 0px 0px ", ";}}& .rdg-row.", ":not(.", "){& .rdg-cell{border-block-start:1px solid ", ";}}", " & .rdg-row{&.", " .rdg-cell:not(.", "){border-block-start:1px solid ", ";}&.", " + .rdg-row{.rdg-cell:not(.", "){border-block-start:1px solid ", ";}}}& .rdg-row.", ":hover{background-color:inherit;}& .rdg-summary-row{background-color:", ";& .rdg-cell{", "}&.rdg-top-summary-row{& .rdg-cell{border-block-start:0px;border-block-end:1px solid var(--rdg-summary-border-color);}}&.rdg-bottom-summary-row{& .rdg-cell{border-block-start:1px solid var(--rdg-summary-border-color);border-block-end:0px;}}}", " ", " & .rdg-header-row:has(+ .rdg-header-row){& .rdg-cell{text-align:center;}}", "}"], Mp, gl(d), te.table, te.tableAndTableScroller, ml, fl(r, o, i, s), gl(d), () => Yi(), t && zp, fl(r, o, i, s), Dp, ut, Pp(c), Ee[c].cell["padding-block"], Ee[c].cell["padding-inline"], Ee[c].cell["padding-block"], Ee[c].cell["padding-inline"], Re.editableCellWithExpandButton, Ee[c].cell["padding-inline"], Re.cellWithExpandButton, Re.selectArrowContainer, Ee[c].cell["padding-inline"], Re.selectArrow, wl.allRows, bp, Ip, vp, l === "cell" && Ta, Ee[c].editorCell["padding-block"], Ee[c].editorCell["padding-inline"], Rr, te.headerCellLeftIcons, () => ls, te.headerCellContainer, te.headerCellTextContent, Rp, Ep, oe.headerTextColor, oe.border, () => Fp(), Hp, wl.header, () => Cp(n), oe.border, Sa, Gi, oe.border, l === "row" && Bp, Rr, ut, oe.border, Rr, ut, oe.border, Rr, oe.headerColor, Np, Vp, Gp, a), ({
1978
1983
  $containerCss: e
1979
1984
  }) => e, ({
1980
1985
  $fullScreened: e
1981
- }) => e && Wp), gn = 40, Ki = 33, Ui = 350, Si = 316, wl = (e, t, n, r, o, i, s, c, l = "inside", d = gn) => {
1986
+ }) => e && Wp), gn = 40, Ki = 33, Ui = 350, Si = 316, yl = (e, t, n, r, o, i, s, c, l = "inside", d = gn) => {
1982
1987
  if (c)
1983
1988
  return "0px";
1984
1989
  const a = e ?? Ui, u = typeof a == "number" && a < Si ? Si : a;
@@ -1988,13 +1993,13 @@ const Sp = ({
1988
1993
  }
1989
1994
  }, Yp = (e, t, n, r, o, i, s, c, l, d, a = "inside", u = gn) => {
1990
1995
  if (o) {
1991
- const m = wl(Qe.HEIGHT_TABLE, n, r, i, s, c, l, d, a, u);
1996
+ const m = yl(Qe.HEIGHT_TABLE, n, r, i, s, c, l, d, a, u);
1992
1997
  return {
1993
1998
  height: m,
1994
1999
  maxHeight: m
1995
2000
  };
1996
2001
  }
1997
- const f = (m) => wl(m, n, r, i, s, c, l, d, a, u), w = f(e), p = t === void 0 ? w : f(t);
2002
+ const f = (m) => yl(m, n, r, i, s, c, l, d, a, u), w = f(e), p = t === void 0 ? w : f(t);
1998
2003
  return {
1999
2004
  height: w,
2000
2005
  maxHeight: p
@@ -2003,7 +2008,7 @@ const Sp = ({
2003
2008
  displayName: "TableDropdown__StyledDropdown"
2004
2009
  })(({
2005
2010
  $css: e
2006
- }) => e), yl = () => {
2011
+ }) => e), xl = () => {
2007
2012
  document.dispatchEvent(new MouseEvent("mousedown", {
2008
2013
  bubbles: !0
2009
2014
  }));
@@ -2023,7 +2028,7 @@ const Sp = ({
2023
2028
  if (!l.current)
2024
2029
  return;
2025
2030
  const w = f.target;
2026
- (p = w == null ? void 0 : w.closest) != null && p.call(w, `.${te.tableAndTableScroller}`) && yl();
2031
+ (p = w == null ? void 0 : w.closest) != null && p.call(w, `.${te.tableAndTableScroller}`) && xl();
2027
2032
  };
2028
2033
  return document.addEventListener("pointerdown", u, {
2029
2034
  capture: !0
@@ -2033,9 +2038,9 @@ const Sp = ({
2033
2038
  }, []);
2034
2039
  const d = s !== void 0, a = d ? (u, f) => {
2035
2040
  var p;
2036
- o == null || o(u, f), !((p = u.items) != null && p.length) && (s != null && s(u)) && yl();
2041
+ o == null || o(u, f), !((p = u.items) != null && p.length) && (s != null && s(u)) && xl();
2037
2042
  } : o;
2038
- return /* @__PURE__ */ h(Ba, { portal: t, listWidth: ba[n], size: Ee[n].input, ...c, closeOnSelect: d ? !1 : i, onItemSelect: a, onToggle: (u, f) => {
2043
+ return /* @__PURE__ */ h(Ba, { portal: t, listWidth: va[n], size: Ee[n].input, ...c, closeOnSelect: d ? !1 : i, onItemSelect: a, onToggle: (u, f) => {
2039
2044
  l.current = u, r == null || r(u, f);
2040
2045
  } });
2041
2046
  }, Kp = ({
@@ -2065,10 +2070,10 @@ const Sp = ({
2065
2070
  capture: !0
2066
2071
  }), document.removeEventListener("keydown", l);
2067
2072
  };
2068
- }, [t, e, n, o]), /* @__PURE__ */ h(Ba, { listWidth: ba[i], size: Ee[i].input, closeOnOverlayClick: !1, portal: n, ...r });
2073
+ }, [t, e, n, o]), /* @__PURE__ */ h(Ba, { listWidth: va[i], size: Ee[i].input, closeOnOverlayClick: !1, portal: n, ...r });
2069
2074
  }, Up = j.div.withConfig({
2070
2075
  displayName: "SplitIconButtonstyled__Root"
2071
- })(["display:flex;align-items:center;padding-left:8px;padding-right:4px;& > div{display:flex;align-items:center;}& > div > div{display:flex;align-items:center;}"]), xl = j.span.withConfig({
2076
+ })(["display:flex;align-items:center;padding-left:8px;padding-right:4px;& > div{display:flex;align-items:center;}& > div > div{display:flex;align-items:center;}"]), Sl = j.span.withConfig({
2072
2077
  displayName: "SplitIconButtonstyled__IconSlot"
2073
2078
  })(["display:flex;align-items:center;line-height:0;", ""], ({
2074
2079
  $flippable: e,
@@ -2089,7 +2094,7 @@ const Sp = ({
2089
2094
  iconDomMetadata: f,
2090
2095
  chevronDomMetadata: w
2091
2096
  }) => {
2092
- const [p, m] = ee(!1), g = /* @__PURE__ */ h(Yn, { size: i, onClick: t, ...f, children: /* @__PURE__ */ h(xl, { children: e }) }), S = /* @__PURE__ */ h(Yn, { size: i, onClick: s ? void 0 : l, ...w, children: /* @__PURE__ */ h(xl, { $flippable: !0, $open: p, children: r ?? /* @__PURE__ */ h(Lr, { size: o }) }) });
2097
+ const [p, m] = ee(!1), g = /* @__PURE__ */ h(Yn, { size: i, onClick: t, ...f, children: /* @__PURE__ */ h(Sl, { children: e }) }), S = /* @__PURE__ */ h(Yn, { size: i, onClick: s ? void 0 : l, ...w, children: /* @__PURE__ */ h(Sl, { $flippable: !0, $open: p, children: r ?? /* @__PURE__ */ h(Lr, { size: o }) }) });
2093
2098
  return /* @__PURE__ */ ne(Up, { ...u, children: [
2094
2099
  n ? /* @__PURE__ */ h(Vr, { text: n, animated: !0, target: g }) : g,
2095
2100
  s ? /* @__PURE__ */ h(Pt, { items: s, onItemSelect: c, onToggle: (x) => {
@@ -2103,7 +2108,7 @@ function Da(e, t) {
2103
2108
  } = e;
2104
2109
  return n === void 0 ? !1 : typeof n == "function" ? n(t) : n;
2105
2110
  }
2106
- function Sl(e) {
2111
+ function bl(e) {
2107
2112
  const {
2108
2113
  rowIndex: t,
2109
2114
  colIndex: n,
@@ -2115,7 +2120,7 @@ function Sl(e) {
2115
2120
  } = e;
2116
2121
  return !r || !o ? "no-row" : o.isServiceColumn ? "service" : c && n >= c.x && n < c.x + c.width && t >= c.y && t < c.y + c.height ? "inside-source" : i > 0 && !s ? "sub-row-disallowed" : Da(o, r) ? null : "not-editable";
2117
2122
  }
2118
- function bl(e, t, n) {
2123
+ function vl(e, t, n) {
2119
2124
  const {
2120
2125
  editingCell: r,
2121
2126
  contentFormat: o
@@ -2124,7 +2129,7 @@ function bl(e, t, n) {
2124
2129
  return !1;
2125
2130
  const i = typeof r.component == "string" ? r.component : void 0;
2126
2131
  if (i === "inputNumber" || (o === "number" || typeof o == "object" && "type" in o && o.type === "number") && i !== "select")
2127
- return vl(e, o);
2132
+ return Il(e, o);
2128
2133
  if (i === "select" && "options" in r) {
2129
2134
  const c = Qp(r.options, n);
2130
2135
  return c ? c.some((l) => String(l.value) === e || String(l.text) === e) : !0;
@@ -2142,7 +2147,7 @@ function Ha(e, t, n) {
2142
2147
  let r = e;
2143
2148
  return n && (r = r.split(n).join("")), t !== "." && (r = r.replace(t, ".")), r;
2144
2149
  }
2145
- function vl(e, t) {
2150
+ function Il(e, t) {
2146
2151
  if (e.trim() === "")
2147
2152
  return !1;
2148
2153
  const {
@@ -2151,7 +2156,7 @@ function vl(e, t) {
2151
2156
  } = Na(t), o = Ha(e, n, r);
2152
2157
  return !Number.isNaN(Number(o));
2153
2158
  }
2154
- function Il(e, t) {
2159
+ function Al(e, t) {
2155
2160
  const {
2156
2161
  editingCell: n,
2157
2162
  contentFormat: r
@@ -2196,7 +2201,7 @@ function Pa(e, t) {
2196
2201
  if (r)
2197
2202
  return e.key;
2198
2203
  }
2199
- function Al(e, t, n, r) {
2204
+ function Cl(e, t, n, r) {
2200
2205
  if (n > 0) {
2201
2206
  const o = Pa(t, n);
2202
2207
  return o === void 0 ? e : {
@@ -2244,7 +2249,7 @@ function Fa({
2244
2249
  if (v === void 0)
2245
2250
  continue;
2246
2251
  const I = t[v];
2247
- if (Sl({
2252
+ if (bl({
2248
2253
  rowIndex: S,
2249
2254
  colIndex: v,
2250
2255
  row: x,
@@ -2277,7 +2282,7 @@ function Fa({
2277
2282
  if (v === void 0)
2278
2283
  continue;
2279
2284
  const I = t[v];
2280
- if (Sl({
2285
+ if (bl({
2281
2286
  rowIndex: S,
2282
2287
  colIndex: v,
2283
2288
  row: u[S],
@@ -2287,7 +2292,7 @@ function Fa({
2287
2292
  source: d
2288
2293
  }) || !I)
2289
2294
  continue;
2290
- const C = o(g, b), E = a ? ua(v, S, t, u) : null;
2295
+ const C = o(g, b), E = a ? ha(v, S, t, u) : null;
2291
2296
  if (E) {
2292
2297
  const B = `${E.startCol},${E.startRow}`;
2293
2298
  if (m.has(B))
@@ -2295,7 +2300,7 @@ function Fa({
2295
2300
  const R = t[E.startCol];
2296
2301
  if (!R)
2297
2302
  continue;
2298
- if (c === "type-check" && !bl(C, R, l)) {
2303
+ if (c === "type-check" && !vl(C, R, l)) {
2299
2304
  p.push({
2300
2305
  col: E.startCol,
2301
2306
  row: E.startRow,
@@ -2304,7 +2309,7 @@ function Fa({
2304
2309
  });
2305
2310
  continue;
2306
2311
  }
2307
- const O = Il(C, R);
2312
+ const O = Al(C, R);
2308
2313
  for (let L = E.startRow; L <= E.endRow; L += 1) {
2309
2314
  let N = u[L];
2310
2315
  if (!N)
@@ -2312,14 +2317,14 @@ function Fa({
2312
2317
  const P = Ze(N).lvl;
2313
2318
  for (let V = E.startCol; V <= E.endCol; V += 1) {
2314
2319
  const H = t[V];
2315
- H && (N = Al(N, H, P, O));
2320
+ H && (N = Cl(N, H, P, O));
2316
2321
  }
2317
2322
  u[L] = N, f.add(L);
2318
2323
  }
2319
2324
  m.add(B), w || (w = R);
2320
2325
  continue;
2321
2326
  }
2322
- if (c === "type-check" && !bl(C, I, l)) {
2327
+ if (c === "type-check" && !vl(C, I, l)) {
2323
2328
  p.push({
2324
2329
  col: v,
2325
2330
  row: S,
@@ -2331,8 +2336,8 @@ function Fa({
2331
2336
  const T = u[S];
2332
2337
  if (!T)
2333
2338
  continue;
2334
- const k = Il(C, I);
2335
- u[S] = Al(T, I, y, k), f.add(S), w || (w = I);
2339
+ const k = Al(C, I);
2340
+ u[S] = Cl(T, I, y, k), f.add(S), w || (w = I);
2336
2341
  }
2337
2342
  }
2338
2343
  return {
@@ -2447,10 +2452,10 @@ function Oo(e, t) {
2447
2452
  return (o ? l : !l) && e.shiftKey === i && e.altKey === s && (c ? e.metaKey : !0);
2448
2453
  });
2449
2454
  }
2450
- const Cl = {
2455
+ const Rl = {
2451
2456
  code: "KeyC",
2452
2457
  ctrl: !0
2453
- }, Rl = {
2458
+ }, El = {
2454
2459
  code: "KeyV",
2455
2460
  ctrl: !0
2456
2461
  };
@@ -2463,7 +2468,7 @@ function $p(e) {
2463
2468
  `);
2464
2469
  return n.length > 0 && n[n.length - 1] === "" && n.pop(), n.map((r) => r.split(" "));
2465
2470
  }
2466
- const As = (e) => !(e != null && e.current) && !!(e != null && e.columns) && e.columns.length > 0, Ma = (e) => !(e != null && e.current) && !As(e) && !!(e != null && e.rows) && e.rows.length > 0, ef = (e, t) => {
2471
+ const Cs = (e) => !(e != null && e.current) && !!(e != null && e.columns) && e.columns.length > 0, Ma = (e) => !(e != null && e.current) && !Cs(e) && !!(e != null && e.rows) && e.rows.length > 0, ef = (e, t) => {
2467
2472
  var n;
2468
2473
  return (((n = e == null ? void 0 : e.columns) == null ? void 0 : n.toArray()) ?? []).filter((r) => {
2469
2474
  var o;
@@ -2571,7 +2576,7 @@ function Va(e, t, n) {
2571
2576
  contiguousCols: !0
2572
2577
  }) : on;
2573
2578
  }
2574
- if (As(e)) {
2579
+ if (Cs(e)) {
2575
2580
  const o = ef(e, t), i = o[0];
2576
2581
  return i === void 0 ? on : On({
2577
2582
  kind: "columns",
@@ -2775,7 +2780,7 @@ function sf({
2775
2780
  Ge(We, "skip: нет onRowsChange");
2776
2781
  return;
2777
2782
  }
2778
- const f = o.current, w = As(f), p = Ma(f);
2783
+ const f = o.current, w = Cs(f), p = Ma(f);
2779
2784
  if (!(f != null && f.current) && !w && !p) {
2780
2785
  Ge(We, "skip: нет выделения");
2781
2786
  return;
@@ -2912,7 +2917,7 @@ function sf({
2912
2917
  };
2913
2918
  }
2914
2919
  const yr = Ut("TABLE_CANVAS_CLIPBOARD"), xr = "[TableCanvas/clipboard]", lf = ["INPUT", "TEXTAREA", "SELECT"];
2915
- function El(e) {
2920
+ function Tl(e) {
2916
2921
  if (!e)
2917
2922
  return !1;
2918
2923
  if (lf.includes(e.tagName) || e.isContentEditable)
@@ -2959,8 +2964,8 @@ function cf({
2959
2964
  const w = o.current;
2960
2965
  if (!w)
2961
2966
  return;
2962
- const p = !!((v = navigator.clipboard) != null && v.readText), m = (I = t == null ? void 0 : t.hotkeys) == null ? void 0 : I.copy, g = (A = t == null ? void 0 : t.hotkeys) == null ? void 0 : A.paste, S = m ?? Cl, x = g ?? Rl, y = (C) => {
2963
- if (!El(C.target)) {
2967
+ const p = !!((v = navigator.clipboard) != null && v.readText), m = (I = t == null ? void 0 : t.hotkeys) == null ? void 0 : I.copy, g = (A = t == null ? void 0 : t.hotkeys) == null ? void 0 : A.paste, S = m ?? Rl, x = g ?? El, y = (C) => {
2968
+ if (!Tl(C.target)) {
2964
2969
  if (Oo(C, S)) {
2965
2970
  yr(xr, "хоткей копирования сработал", {
2966
2971
  code: C.code,
@@ -2969,7 +2974,7 @@ function cf({
2969
2974
  }), C.preventDefault(), u();
2970
2975
  return;
2971
2976
  }
2972
- if (m && Oo(C, Cl)) {
2977
+ if (m && Oo(C, Rl)) {
2973
2978
  yr(xr, "дефолтный copy подавлен (задан кастомный хоткей)"), C.preventDefault();
2974
2979
  return;
2975
2980
  }
@@ -2981,11 +2986,11 @@ function cf({
2981
2986
  }), p && (C.preventDefault(), f());
2982
2987
  return;
2983
2988
  }
2984
- g && Oo(C, Rl) && (yr(xr, "дефолтный paste подавлен (задан кастомный хоткей)"), C.preventDefault());
2989
+ g && Oo(C, El) && (yr(xr, "дефолтный paste подавлен (задан кастомный хоткей)"), C.preventDefault());
2985
2990
  }
2986
2991
  }, b = (C) => {
2987
2992
  var T;
2988
- if (El(C.target) || p)
2993
+ if (Tl(C.target) || p)
2989
2994
  return;
2990
2995
  const E = (T = C.clipboardData) == null ? void 0 : T.getData("text/plain");
2991
2996
  E && (yr(xr, "fallback paste event", {
@@ -3184,7 +3189,7 @@ function df({
3184
3189
  onSelectionChangeForFill: a
3185
3190
  };
3186
3191
  }
3187
- const Tl = {
3192
+ const kl = {
3188
3193
  searching: {
3189
3194
  font: "16px SB Sans Text, sans-serif",
3190
3195
  indent: 68,
@@ -3301,8 +3306,8 @@ const hf = j(xe).withConfig({
3301
3306
  }, ({
3302
3307
  $collapsedTable: e
3303
3308
  }) => {
3304
- const t = e ? vc : 0;
3305
- return X(["all ", "s ease,border-radius 0s linear ", "s,border-bottom-color ", "s ease ", "s"], Wt, t, Ic, t);
3309
+ const t = e ? Ic : 0;
3310
+ return X(["all ", "s ease,border-radius 0s linear ", "s,border-bottom-color ", "s ease ", "s"], Wt, t, Ac, t);
3306
3311
  }, ({
3307
3312
  $activeView: e
3308
3313
  }) => X({
@@ -3319,7 +3324,7 @@ const hf = j(xe).withConfig({
3319
3324
  }) => e && t === "rows" ? oe.border : "transparent"), pf = {
3320
3325
  m: Ko,
3321
3326
  s: Ko,
3322
- xs: Mc
3327
+ xs: Vc
3323
3328
  }, ff = j.div.withConfig({
3324
3329
  displayName: "CollapseBlockAbove__TitleText"
3325
3330
  })(["display:inline-block;", ""], ({
@@ -3402,7 +3407,7 @@ function yf(e) {
3402
3407
  const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "function" ? e(t) : e, xf = (e) => /* @__PURE__ */ h("span", { style: {
3403
3408
  display: "inline-flex",
3404
3409
  opacity: 0
3405
- }, children: /* @__PURE__ */ h(uu, { size: e }) }), Cs = (e, t, n = "") => {
3410
+ }, children: /* @__PURE__ */ h(uu, { size: e }) }), Rs = (e, t, n = "") => {
3406
3411
  const r = [], o = /* @__PURE__ */ new Map();
3407
3412
  return e.forEach((i, s) => {
3408
3413
  const c = `${n}-${s}`, l = i.value || c, d = {
@@ -3410,7 +3415,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3410
3415
  value: l
3411
3416
  };
3412
3417
  if (t && o.set(l.toString(), t), i.items) {
3413
- const [a, u] = Cs(i.items, t, c);
3418
+ const [a, u] = Rs(i.items, t, c);
3414
3419
  u.forEach((f, w) => o.set(w, f)), d.items = a;
3415
3420
  }
3416
3421
  r.push(d);
@@ -3447,7 +3452,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3447
3452
  };
3448
3453
  }
3449
3454
  case "select": {
3450
- const i = r, [s, c] = Cs(i.options.map((l) => ({
3455
+ const i = r, [s, c] = Rs(i.options.map((l) => ({
3451
3456
  label: l.label,
3452
3457
  value: l.value,
3453
3458
  contentLeft: l.contentLeft,
@@ -3522,7 +3527,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3522
3527
  m.itemID === _o ? I = Ua : I = `group-${m.key || m.text}`;
3523
3528
  const A = !!((y = m.dropdown.items) != null && y.length);
3524
3529
  m.dropdown.onItemSelect && !A && d.set(I.toString(), m.dropdown.onItemSelect);
3525
- const [C, E] = Cs(m.dropdown.items || [], m.dropdown.onItemSelect);
3530
+ const [C, E] = Rs(m.dropdown.items || [], m.dropdown.onItemSelect);
3526
3531
  E.forEach((T, k) => d.set(k, T)), m.itemID === _o && Xa(C, c), (b = m.dropdown) != null && b.$css && Object.assign(l, (v = m.dropdown) == null ? void 0 : v.$css), s.push({
3527
3532
  label: m.text ?? "",
3528
3533
  value: I,
@@ -3614,7 +3619,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3614
3619
  text: i
3615
3620
  });
3616
3621
  return n.push(...s), n;
3617
- }, []), Rs = ({
3622
+ }, []), Es = ({
3618
3623
  keyText: e,
3619
3624
  onItemSelect: t,
3620
3625
  rowSize: n
@@ -3639,7 +3644,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3639
3644
  const o = ((i = hi[e]) == null ? void 0 : i.label) ?? "Ключ и текст";
3640
3645
  return /* @__PURE__ */ h(Pt, { onItemSelect: (s) => {
3641
3646
  t(s.value);
3642
- }, items: Rs({
3647
+ }, items: Es({
3643
3648
  keyText: e
3644
3649
  }), children: /* @__PURE__ */ h(ot, { size: "xs", view: "secondary", text: o, contentRight: /* @__PURE__ */ h(Lr, { size: "xs" }), className: n, ...r }) });
3645
3650
  }, XS = ({
@@ -3654,7 +3659,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3654
3659
  } = st();
3655
3660
  return /* @__PURE__ */ h(Pt, { onItemSelect: (i) => {
3656
3661
  t(i.value);
3657
- }, items: Rs({
3662
+ }, items: Es({
3658
3663
  keyText: e,
3659
3664
  rowSize: o
3660
3665
  }), children: /* @__PURE__ */ h(Vr, { text: "Ключ текст", animated: !0, target: /* @__PURE__ */ h(
@@ -3696,7 +3701,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3696
3701
  setKeyText: n
3697
3702
  };
3698
3703
  }, Qa = ze(null), Tf = () => {
3699
- const e = De(Qa);
3704
+ const e = Ne(Qa);
3700
3705
  if (typeof e > "u")
3701
3706
  throw new Error("useRowInstrumentsCtx должен вызываться внутри контекста");
3702
3707
  return e;
@@ -3710,7 +3715,7 @@ const Kt = (e) => e === "small" ? "xs" : "s", Kn = (e, t) => typeof e == "functi
3710
3715
  }), Lf = {
3711
3716
  title: "Инструменты строки",
3712
3717
  children: /* @__PURE__ */ h(os, { size: "xs", color: "inherit" })
3713
- }, kl = ({
3718
+ }, Ol = ({
3714
3719
  children: e,
3715
3720
  ...t
3716
3721
  }) => /* @__PURE__ */ h(Of, { view: "secondary", size: "xs", ...t, children: e });
@@ -3736,7 +3741,7 @@ function Bf({
3736
3741
  if (i != null && i.useItemContentAsButtonContent && o.length === 1 && o[0]) {
3737
3742
  const s = o[0], c = s.contentLeft ?? s.contentRight;
3738
3743
  if (c)
3739
- return /* @__PURE__ */ h(kl, { title: s.label, onClick: (l) => {
3744
+ return /* @__PURE__ */ h(Ol, { title: s.label, onClick: (l) => {
3740
3745
  if (i != null && i.onItemSelect) {
3741
3746
  i.onItemSelect(s, l);
3742
3747
  return;
@@ -3746,14 +3751,14 @@ function Bf({
3746
3751
  }
3747
3752
  return /* @__PURE__ */ h(Pt, { onItemSelect: (s, c) => {
3748
3753
  s.onItemSelect && s.onItemSelect(s, c);
3749
- }, items: o, ...i, children: /* @__PURE__ */ h(kl, { ...Lf }) });
3754
+ }, items: o, ...i, children: /* @__PURE__ */ h(Ol, { ...Lf }) });
3750
3755
  }
3751
3756
  const Df = {
3752
3757
  key: yn,
3753
3758
  name: "",
3754
3759
  isServiceColumn: !0,
3755
- width: hl,
3756
- minWidth: hl,
3760
+ width: pl,
3761
+ minWidth: pl,
3757
3762
  // maxWidth: ROW_I_COLUMN_WIDTH,
3758
3763
  // cellClass: `${ROW_I_COL_CLASS}`,
3759
3764
  // headerCellClass: `${ROW_I_COL_CLASS} ${ROW_I_HEADER_COL_CLASS}`,
@@ -3815,7 +3820,7 @@ const Df = {
3815
3820
  }, children: /* @__PURE__ */ h(de.Text, { font: f.baseFontStyle, color: f.tokens.textSecondary, children: String(b) }) });
3816
3821
  }
3817
3822
  };
3818
- }, Ol = ({
3823
+ }, Ll = ({
3819
3824
  rowsGrouping: e,
3820
3825
  renderCellProps: t,
3821
3826
  groupByArr: n,
@@ -3906,7 +3911,7 @@ function zf({
3906
3911
  } = f;
3907
3912
  return {
3908
3913
  ...m,
3909
- renderCell: (g) => Ol({
3914
+ renderCell: (g) => Ll({
3910
3915
  renderCellProps: g,
3911
3916
  rowsGrouping: w,
3912
3917
  col: f,
@@ -3915,7 +3920,7 @@ function zf({
3915
3920
  }),
3916
3921
  subRow: {
3917
3922
  isColumnWithArrow: f.key === a.key,
3918
- renderSubRowCell: (g) => Ol({
3923
+ renderSubRowCell: (g) => Ll({
3919
3924
  renderCellProps: g,
3920
3925
  rowsGrouping: w,
3921
3926
  col: f,
@@ -3952,17 +3957,17 @@ const Gf = () => ({
3952
3957
  }
3953
3958
  }
3954
3959
  }
3955
- }), Ll = ({
3960
+ }), Bl = ({
3956
3961
  checked: e
3957
3962
  }) => /* @__PURE__ */ h(jn, { size: "m", style: {
3958
3963
  pointerEvents: "none"
3959
3964
  }, checked: e, onChange: () => {
3960
- } }), Bl = ({
3965
+ } }), Dl = ({
3961
3966
  text: e
3962
3967
  }) => /* @__PURE__ */ h(Ea, { view: "accent", size: "xs", count: Number(e) }, `${e}`), Wf = j.span.withConfig({
3963
3968
  displayName: "useGetRowsGroupingBtnProps__Counter"
3964
3969
  })({
3965
- color: Ne,
3970
+ color: He,
3966
3971
  marginLeft: "0.25rem",
3967
3972
  overflow: "hidden",
3968
3973
  textOverflow: "ellipsis",
@@ -3997,18 +4002,18 @@ const Gf = () => ({
3997
4002
  return {
3998
4003
  value: g.key,
3999
4004
  label: y,
4000
- contentLeft: /* @__PURE__ */ h(Ll, { checked: x }),
4005
+ contentLeft: /* @__PURE__ */ h(Bl, { checked: x }),
4001
4006
  ...x && {
4002
- contentRight: /* @__PURE__ */ h(Bl, { text: S + 1 })
4007
+ contentRight: /* @__PURE__ */ h(Dl, { text: S + 1 })
4003
4008
  }
4004
4009
  };
4005
4010
  }), w = (c ?? []).map((g) => {
4006
4011
  u.visible.push(g.value.toString());
4007
4012
  const S = (n == null ? void 0 : n.findIndex((y) => y === g.value)) ?? -1, x = S > -1;
4008
4013
  return {
4009
- contentLeft: /* @__PURE__ */ h(Ll, { checked: x }),
4014
+ contentLeft: /* @__PURE__ */ h(Bl, { checked: x }),
4010
4015
  ...x && {
4011
- contentRight: /* @__PURE__ */ h(Bl, { text: S + 1 })
4016
+ contentRight: /* @__PURE__ */ h(Dl, { text: S + 1 })
4012
4017
  },
4013
4018
  ...g
4014
4019
  };
@@ -4027,10 +4032,10 @@ const Gf = () => ({
4027
4032
  return {
4028
4033
  rowsGroupingButtonProps: {
4029
4034
  text: "Группировать",
4030
- contentLeft: /* @__PURE__ */ h(ll, { color: "inherit" }),
4035
+ contentLeft: /* @__PURE__ */ h(cl, { color: "inherit" }),
4031
4036
  // В overflow дропдауне иконку берём на ступень меньше на маленьком
4032
4037
  // rowSize (как остальные пункты дропдауна)
4033
- dropdownIconRender: (g) => /* @__PURE__ */ h(ll, { color: "inherit", size: Kt(g.rowSize) }),
4038
+ dropdownIconRender: (g) => /* @__PURE__ */ h(cl, { color: "inherit", size: Kt(g.rowSize) }),
4034
4039
  view: "secondary",
4035
4040
  contentRight: p > 0 && /* @__PURE__ */ h(Wf, { children: p.toString() }),
4036
4041
  // Справа счётчик, а не шеврон — не зеркалить его при открытии дропдауна
@@ -4110,7 +4115,7 @@ function Ja(e, t) {
4110
4115
  o.push(...Ja(i, r));
4111
4116
  return o;
4112
4117
  }
4113
- function Dl(e, t) {
4118
+ function Nl(e, t) {
4114
4119
  return (n) => {
4115
4120
  let r = "";
4116
4121
  for (let o = 0; o <= t; o += 1)
@@ -4326,7 +4331,7 @@ const _a = ({
4326
4331
  }), Object.values(c).forEach((l) => {
4327
4332
  l(t);
4328
4333
  });
4329
- }, Nl = ({
4334
+ }, Hl = ({
4330
4335
  columnConfig: e,
4331
4336
  tableConfigDefaultOrder: t,
4332
4337
  rowMarkersIsActive: n,
@@ -4501,15 +4506,15 @@ const ng = ({
4501
4506
  display: "inline",
4502
4507
  height: "24px",
4503
4508
  ...n ? {
4504
- color: Ne,
4509
+ color: He,
4505
4510
  pointerEvents: "none"
4506
4511
  } : {
4507
4512
  color: ls,
4508
4513
  ...r && {
4509
- color: Ne
4514
+ color: He
4510
4515
  }
4511
4516
  }
4512
- }, children: /* @__PURE__ */ h(Ec, { color: "inherit" }) }), rg = j(xe).withConfig({
4517
+ }, children: /* @__PURE__ */ h(Tc, { color: "inherit" }) }), rg = j(xe).withConfig({
4513
4518
  displayName: "styled__StyledDragContainer"
4514
4519
  })((e) => ({
4515
4520
  overflowY: "auto",
@@ -4530,7 +4535,7 @@ const ng = ({
4530
4535
  }
4531
4536
  },
4532
4537
  "&, & *": {
4533
- transition: `margin ${va} ease-in-out`
4538
+ transition: `margin ${Ia} ease-in-out`
4534
4539
  },
4535
4540
  ...e.$isEmptySearch ? {
4536
4541
  display: "flex",
@@ -4567,7 +4572,7 @@ const ng = ({
4567
4572
  top: "-6px",
4568
4573
  left: "0px",
4569
4574
  width: "100%",
4570
- backgroundColor: al,
4575
+ backgroundColor: dl,
4571
4576
  height: "2px",
4572
4577
  borderRadius: "12px 12px 2px 2px"
4573
4578
  }
@@ -4579,7 +4584,7 @@ const ng = ({
4579
4584
  bottom: "-4px",
4580
4585
  left: "0px",
4581
4586
  width: "100%",
4582
- backgroundColor: al,
4587
+ backgroundColor: dl,
4583
4588
  height: "2px",
4584
4589
  borderRadius: "12px 12px 2px 2px"
4585
4590
  }
@@ -4616,14 +4621,14 @@ const ng = ({
4616
4621
  p.preventDefault(), r && i && r !== i && t(r, i), n(r), d(""), s("");
4617
4622
  }
4618
4623
  };
4619
- }, Hl = "$$dropped:1:", sg = () => {
4624
+ }, Pl = "$$dropped:1:", sg = () => {
4620
4625
  const [e, t] = ee(""), n = (s) => {
4621
- t((c) => c.startsWith(Hl) ? c.split(":")[2] ?? "" : s);
4626
+ t((c) => c.startsWith(Pl) ? c.split(":")[2] ?? "" : s);
4622
4627
  };
4623
4628
  return {
4624
4629
  hoveredId: e,
4625
4630
  setDroppedAsHovered: (s) => {
4626
- e && t(`${Hl}${s}`);
4631
+ e && t(`${Pl}${s}`);
4627
4632
  },
4628
4633
  onDragIconHoverStart: (s, c) => {
4629
4634
  !c && s !== e && n(s);
@@ -4632,7 +4637,7 @@ const ng = ({
4632
4637
  !c && e && n("");
4633
4638
  }
4634
4639
  };
4635
- }, Pl = ({
4640
+ }, Fl = ({
4636
4641
  columnsControlConfig: e,
4637
4642
  key: t,
4638
4643
  isHiddenColumn: n,
@@ -4708,7 +4713,7 @@ const ng = ({
4708
4713
  onColumnsReorder: n,
4709
4714
  setDroppedAsHovered: S
4710
4715
  }), k = W(() => new Map(i.map((U) => [U.key, U])), [i]), B = Ou(p, "vertical"), R = typeof B == "boolean" ? B : B.vertical, O = !!s.reorderingAside, L = !!s.pinning, N = !!s.hiding, P = W(() => e ? m.filter((U) => {
4711
- const $ = c.get(U), J = Pl({
4716
+ const $ = c.get(U), J = Fl({
4712
4717
  columnsControlConfig: s,
4713
4718
  columnsConfigMap: k,
4714
4719
  isHiddenColumn: w.has(U),
@@ -4730,16 +4735,16 @@ const ng = ({
4730
4735
  index: $
4731
4736
  })), K = D == null ? void 0 : D[0], Y = D == null ? void 0 : D[D.length - 1], F = K ? K.start : 0, M = Y ? G.getTotalSize() - Y.end : 0;
4732
4737
  return /* @__PURE__ */ ne(rg, { onDrop: T, onDragOver: E, ref: p, $hasScroll: R, $isEmptySearch: V, children: [
4733
- V && /* @__PURE__ */ h(Yc, { icon: /* @__PURE__ */ h(hu, { size: "m" }) }),
4738
+ V && /* @__PURE__ */ h(Kc, { icon: /* @__PURE__ */ h(hu, { size: "m" }) }),
4734
4739
  /* @__PURE__ */ h("div", { style: {
4735
4740
  paddingTop: F,
4736
4741
  paddingBottom: M
4737
4742
  }, children: z.map((U, $) => {
4738
- var he, ve, Te, He;
4743
+ var he, ve, Te, Pe;
4739
4744
  const J = P[U.index];
4740
4745
  if (J === void 0)
4741
4746
  return null;
4742
- const se = w.has(J), we = f.has(J), ue = u.has(J), ae = a.has(J), ie = c.get(J), ge = Pl({
4747
+ const se = w.has(J), we = f.has(J), ue = u.has(J), ae = a.has(J), ie = c.get(J), ge = Fl({
4743
4748
  columnsControlConfig: s,
4744
4749
  columnsConfigMap: k,
4745
4750
  isHiddenColumn: se,
@@ -4749,26 +4754,26 @@ const ng = ({
4749
4754
  keyText: l,
4750
4755
  tableConfigKeyTextBoolean: d
4751
4756
  }), ye = () => {
4752
- L && r(we ? (pe) => pe.filter((Ie) => ie ? Ie !== ie.keyKey && Ie !== ie.textKey : Ie !== J) : (pe) => ie ? [...pe, ie.keyKey, ie.textKey] : [...pe, J]);
4757
+ L && r(we ? (pe) => pe.filter((Ae) => ie ? Ae !== ie.keyKey && Ae !== ie.textKey : Ae !== J) : (pe) => ie ? [...pe, ie.keyKey, ie.textKey] : [...pe, J]);
4753
4758
  }, me = () => {
4754
- N && o(se ? (pe) => pe.filter((Ie) => ie ? Ie !== ie.keyKey && Ie !== ie.textKey : Ie !== J) : (pe) => ie ? [...pe, ie.keyKey, ie.textKey] : [...pe, J]);
4759
+ N && o(se ? (pe) => pe.filter((Ae) => ie ? Ae !== ie.keyKey && Ae !== ie.textKey : Ae !== J) : (pe) => ie ? [...pe, ie.keyKey, ie.textKey] : [...pe, J]);
4755
4760
  }, Le = eg({
4756
4761
  keyText: l,
4757
4762
  colsWithKeyTextMap: c,
4758
4763
  currentId: J,
4759
4764
  borderPlacement: I,
4760
4765
  tableConfigKeyTextBoolean: d
4761
- }), Ae = v === J, Me = tg({
4766
+ }), Ce = v === J, Me = tg({
4762
4767
  colsWithKeyTextMap: c,
4763
4768
  draggingId: b,
4764
4769
  currentId: J,
4765
- currentIsDraggingOver: Ae,
4770
+ currentIsDraggingOver: Ce,
4766
4771
  tableConfigKeyTextBoolean: d
4767
4772
  }), Ye = Hr(u, {
4768
4773
  colsWithKeyTextMap: c,
4769
4774
  currentKey: J,
4770
4775
  tableConfigKeyTextBoolean: d
4771
- }), le = Hr(a, {
4776
+ }), ce = Hr(a, {
4772
4777
  colsWithKeyTextMap: c,
4773
4778
  currentKey: J,
4774
4779
  tableConfigKeyTextBoolean: d
@@ -4788,32 +4793,32 @@ const ng = ({
4788
4793
  draggable: !0,
4789
4794
  onDragStart: A,
4790
4795
  onDragEnd: C,
4791
- $isOvered: Me ?? Ae,
4796
+ $isOvered: Me ?? Ce,
4792
4797
  $borderPlacement: Le ?? I,
4793
4798
  title: "Перетащить колонку"
4794
4799
  },
4795
4800
  children: [
4796
4801
  O && /* @__PURE__ */ h(ng, { itemIsDragging: b === J, itemIsHovered: g === J, onMouseEnter: () => x(J, b), onMouseLeave: () => y(J, b) }),
4797
- L && /* @__PURE__ */ h(Ct, { disabled: le ?? ae, id: "pin-column-btn", title: we ? "Открепить" : "Закрепить", view: "clear", size: "s", style: {
4802
+ L && /* @__PURE__ */ h(Ct, { disabled: ce ?? ae, id: "pin-column-btn", title: we ? "Открепить" : "Закрепить", view: "clear", size: "s", style: {
4798
4803
  flexShrink: 0
4799
4804
  }, onClick: (pe) => {
4800
- var Ie, _;
4801
- ye(), (_ = (Ie = s == null ? void 0 : s.pinDomMetadata) == null ? void 0 : Ie.onClick) == null || _.call(Ie, pe, {
4805
+ var Ae, _;
4806
+ ye(), (_ = (Ae = s == null ? void 0 : s.pinDomMetadata) == null ? void 0 : Ae.onClick) == null || _.call(Ae, pe, {
4802
4807
  action: we ? At.UNPIN_COLUMN : At.PIN_COLUMN,
4803
4808
  columnKey: J,
4804
4809
  enabled: !we
4805
4810
  });
4806
- }, className: (he = s == null ? void 0 : s.pinDomMetadata) == null ? void 0 : he.className, ...(ve = s == null ? void 0 : s.pinDomMetadata) == null ? void 0 : ve.dataAttributes, children: we ? /* @__PURE__ */ h(Pi, { color: Ne }) : /* @__PURE__ */ h(Wo, { color: Ne }) }),
4811
+ }, className: (he = s == null ? void 0 : s.pinDomMetadata) == null ? void 0 : he.className, ...(ve = s == null ? void 0 : s.pinDomMetadata) == null ? void 0 : ve.dataAttributes, children: we ? /* @__PURE__ */ h(Pi, { color: He }) : /* @__PURE__ */ h(Wo, { color: He }) }),
4807
4812
  /* @__PURE__ */ h(xe, { $css: {
4808
4813
  flex: 1,
4809
4814
  minWidth: 0
4810
- }, children: /* @__PURE__ */ h(Wc, { variant: "BodyS", tooltipText: ge, children: ge }) }),
4815
+ }, children: /* @__PURE__ */ h(jc, { variant: "BodyS", tooltipText: ge, children: ge }) }),
4811
4816
  N && /* @__PURE__ */ h(xe, { title: se ? "Показать" : "Скрыть", $css: {
4812
4817
  marginLeft: "auto",
4813
4818
  flexShrink: 0
4814
- }, className: (Te = s == null ? void 0 : s.switchDomMetadata) == null ? void 0 : Te.className, ...(He = s == null ? void 0 : s.switchDomMetadata) == null ? void 0 : He.dataAttributes, children: /* @__PURE__ */ h(zr, { checked: !se, disabled: Ye ?? ue, onChange: (pe) => {
4815
- var Ie, _;
4816
- me(), (_ = (Ie = s == null ? void 0 : s.switchDomMetadata) == null ? void 0 : Ie.onClick) == null || _.call(Ie, pe, {
4819
+ }, className: (Te = s == null ? void 0 : s.switchDomMetadata) == null ? void 0 : Te.className, ...(Pe = s == null ? void 0 : s.switchDomMetadata) == null ? void 0 : Pe.dataAttributes, children: /* @__PURE__ */ h(zr, { checked: !se, disabled: Ye ?? ue, onChange: (pe) => {
4820
+ var Ae, _;
4821
+ me(), (_ = (Ae = s == null ? void 0 : s.switchDomMetadata) == null ? void 0 : Ae.onClick) == null || _.call(Ae, pe, {
4817
4822
  action: se ? At.SHOW_COLUMN : At.HIDE_COLUMN,
4818
4823
  columnKey: J,
4819
4824
  enabled: se
@@ -4885,7 +4890,7 @@ j(hs).withConfig({
4885
4890
  })(["&& .input-wrapper{height:100%;max-height:40px;padding-block:12px;padding-inline:10px;border-radius:8px;background:", ";}"], () => Fr);
4886
4891
  j(Ct).withConfig({
4887
4892
  displayName: "styled__StyledClearBtn"
4888
- })(["background-color:transparent;height:100%;width:24px !important;color:", ";&:hover{background-color:transparent;color:", ";}"], () => Ne, () => Ne);
4893
+ })(["background-color:transparent;height:100%;width:24px !important;color:", ";&:hover{background-color:transparent;color:", ";}"], () => He, () => He);
4889
4894
  const dg = ({
4890
4895
  clearLocalPinned: e,
4891
4896
  disabledClearPinnedButton: t,
@@ -5013,9 +5018,9 @@ const dg = ({
5013
5018
  }, [s]), /* @__PURE__ */ ne(qe, { children: [
5014
5019
  v && /* @__PURE__ */ h(xe, { $css: {
5015
5020
  marginBottom: "12px"
5016
- }, children: /* @__PURE__ */ h(Kc, { placeholder: "Поиск", value: y, onChange: I, contentLeft: /* @__PURE__ */ h("span", { style: {
5021
+ }, children: /* @__PURE__ */ h(Uc, { placeholder: "Поиск", value: y, onChange: I, contentLeft: /* @__PURE__ */ h("span", { style: {
5017
5022
  marginRight: "2px"
5018
- }, children: /* @__PURE__ */ h(jo, {}) }), contentRight: y ? /* @__PURE__ */ h(Uc, { onClick: A, "aria-label": "Очистить поиск", children: /* @__PURE__ */ h(Zn, {}) }) : void 0, clear: !0 }) }),
5023
+ }, children: /* @__PURE__ */ h(jo, {}) }), contentRight: y ? /* @__PURE__ */ h(Xc, { onClick: A, "aria-label": "Очистить поиск", children: /* @__PURE__ */ h(Zn, {}) }) : void 0, clear: !0 }) }),
5019
5024
  /* @__PURE__ */ h(dg, { disabledClearPinnedButton: q, columnsControlConfig: d, clearLocalPinned: re, resetToDefaultOrder: () => p(n()), disableResetToDefaultOrderButton: C, ...L }),
5020
5025
  /* @__PURE__ */ h(lg, { searchQuery: y, columnsOrder: w, onColumnsReorder: E, setPinnedCols: g, setHiddenCols: x, columnConfig: l, columnsControlConfig: d, colsWithKeyTextMap: a, keyText: u, tableConfigKeyTextBoolean: f, disableHidingSet: B, disablePinningSet: P, pinnedColsSet: N, hiddenColsSet: k }),
5021
5026
  /* @__PURE__ */ h(ug, { ...T })
@@ -5158,7 +5163,7 @@ const Sg = ({
5158
5163
  onUnpinColumn: g,
5159
5164
  getColumnPinningDisabled: S
5160
5165
  };
5161
- }, Es = (e, t) => {
5166
+ }, Ts = (e, t) => {
5162
5167
  const n = [], r = [];
5163
5168
  return e.forEach((o) => {
5164
5169
  (t(o) ? n : r).push(o);
@@ -5192,7 +5197,7 @@ const Sg = ({
5192
5197
  const l = W(() => {
5193
5198
  if (!e || n.length === 0)
5194
5199
  return;
5195
- const p = new Set(i), m = new Set(n), g = new Set(r), S = Es(t.filter((v) => p.has(v) || m.has(v)), (v) => g.has(v)), x = bg({
5200
+ const p = new Set(i), m = new Set(n), g = new Set(r), S = Ts(t.filter((v) => p.has(v) || m.has(v)), (v) => g.has(v)), x = bg({
5196
5201
  fullRenderOrder: S,
5197
5202
  hiddenCols: n
5198
5203
  }), y = gg(s), b = /* @__PURE__ */ new Map();
@@ -5242,11 +5247,11 @@ const Sg = ({
5242
5247
  onHiddenColumnsIndicatorClicked: w
5243
5248
  };
5244
5249
  };
5245
- function Ts(e) {
5250
+ function ks(e) {
5246
5251
  return e.children === void 0;
5247
5252
  }
5248
5253
  const rd = (e, t) => {
5249
- if (Ts(e)) {
5254
+ if (ks(e)) {
5250
5255
  t.push({
5251
5256
  ...e
5252
5257
  });
@@ -5276,7 +5281,7 @@ const od = (e, t, n, r, o) => Array.prototype.concat.apply(e == null ? void 0 :
5276
5281
  return e;
5277
5282
  let o = null;
5278
5283
  const i = (s) => {
5279
- const c = Ts(s) ? (
5284
+ const c = ks(s) ? (
5280
5285
  // чтобы на последнем уровне вложенности была колонка со всеми фичами (в просто column потеряны все фичевые ключи)
5281
5286
  n.get(s.key) ?? s
5282
5287
  ) : s;
@@ -5321,7 +5326,7 @@ const od = (e, t, n, r, o) => Array.prototype.concat.apply(e == null ? void 0 :
5321
5326
  columnsWithParentGroups: e
5322
5327
  };
5323
5328
  const r = new Map(t.reduce((s, c) => {
5324
- if (s.push([c.key, c]), Ts(c) && c.keyText) {
5329
+ if (s.push([c.key, c]), ks(c) && c.keyText) {
5325
5330
  const l = pi(c.keyText, "key"), d = {
5326
5331
  ...l,
5327
5332
  ...c.parent && {
@@ -5349,7 +5354,7 @@ const od = (e, t, n, r, o) => Array.prototype.concat.apply(e == null ? void 0 :
5349
5354
  const d = [], a = r.get(l.key);
5350
5355
  return sd(d, i, a, r), o < d.length && (o = d.length), {
5351
5356
  ...l,
5352
- [Xc]: d,
5357
+ [Qc]: d,
5353
5358
  [oh]: i
5354
5359
  };
5355
5360
  }), c = t.length > 0 && t.length !== n.length;
@@ -5428,7 +5433,7 @@ const Vo = (e) => {
5428
5433
  overflow: "hidden",
5429
5434
  textOverflow: "ellipsis"
5430
5435
  };
5431
- function ks(e, t, n) {
5436
+ function Os(e, t, n) {
5432
5437
  const r = n.getBoundingClientRect();
5433
5438
  return {
5434
5439
  x: e - r.left + n.scrollLeft,
@@ -5459,7 +5464,7 @@ const Mg = [-5, -15], Vg = j.button.withConfig({
5459
5464
  offset: s,
5460
5465
  open: c,
5461
5466
  ...l
5462
- } = ea(), d = Z(null), a = W(() => r ? e ? ks(r.x, r.y, e) : r : null, [r, e]), u = Q((f) => {
5467
+ } = ta(), d = Z(null), a = W(() => r ? e ? Os(r.x, r.y, e) : r : null, [r, e]), u = Q((f) => {
5463
5468
  f == null || f.click();
5464
5469
  }, []);
5465
5470
  return !t || !r || !a ? null : n && /* @__PURE__ */ h(Gg, { position: a, ref: d, $isOpen: t, "data-testid": "table-context-menu", children: /* @__PURE__ */ h(Kp, { items: n, portal: d, offset: s ?? Mg, onItemSelect: i, listWidth: void 0, closeOnOverlayClick: !1, isOpen: t, onClose: o, ...l, children: /* @__PURE__ */ h(Vg, { ref: u, type: "button" }) }, `${a.x}-${a.y}`) });
@@ -5576,7 +5581,7 @@ const Kg = j(zi).withConfig({
5576
5581
  }
5577
5582
  );
5578
5583
  });
5579
- function Fl({
5584
+ function zl({
5580
5585
  row: e,
5581
5586
  column: t,
5582
5587
  cellWidth: n,
@@ -5739,7 +5744,7 @@ const _g = (e) => e ? _i : Ji, $g = (e) => {
5739
5744
  readOnly: !0
5740
5745
  }
5741
5746
  );
5742
- }, em = (e, t) => typeof e > "u" ? t : typeof e == "boolean" ? [e, null] : e, zl = (e) => {
5747
+ }, em = (e, t) => typeof e > "u" ? t : typeof e == "boolean" ? [e, null] : e, Ml = (e) => {
5743
5748
  const t = e;
5744
5749
  return typeof (t == null ? void 0 : t.editable) == "boolean" && !!t.editable;
5745
5750
  }, vi = (e, t, n) => e ? e.editable === void 0 ? n ? n(t) : !0 : typeof e.editable == "boolean" ? e.editable : e.editable(t) : !1, Do = "[filter-focus]", No = Ut("TABLE_CANVAS_FILTER"), Sr = (e) => {
@@ -5837,7 +5842,7 @@ const nm = (e) => {
5837
5842
  displayName: "styled__StyledList"
5838
5843
  })(["*{box-sizing:border-box;}padding:0px;margin:0px;max-height:", ";overflow-y:auto;overflow-x:hidden;"], ({
5839
5844
  $maxHeight: e
5840
- }) => e || "360px"), Ml = j.li.withConfig({
5845
+ }) => e || "360px"), Vl = j.li.withConfig({
5841
5846
  displayName: "styled__StyledListItem"
5842
5847
  })(["cursor:pointer;display:flex;align-items:center;min-width:0;overflow-wrap:anywhere;", " ", ""], ({
5843
5848
  $size: e = "medium",
@@ -5893,7 +5898,7 @@ const sm = {
5893
5898
  }, onKeyDown: ad }),
5894
5899
  /* @__PURE__ */ ne(im, { $maxHeight: l, children: [
5895
5900
  i,
5896
- !Er(n) && p.length > 1 && /* @__PURE__ */ h(rm, { $listIsNonEmpty: !!p.length, $beforeList: !!i, children: /* @__PURE__ */ ne(Ml, { $size: c, $selected: m.checked, onClick: () => {
5901
+ !Er(n) && p.length > 1 && /* @__PURE__ */ h(rm, { $listIsNonEmpty: !!p.length, $beforeList: !!i, children: /* @__PURE__ */ ne(Vl, { $size: c, $selected: m.checked, onClick: () => {
5897
5902
  if (u(""), m.checked) {
5898
5903
  t([]);
5899
5904
  return;
@@ -5906,9 +5911,9 @@ const sm = {
5906
5911
  } }),
5907
5912
  "Выбрать всё"
5908
5913
  ] }) }),
5909
- p.length === 0 ? /* @__PURE__ */ h(Vc, { size: "s", variant: "not-result", title: "Ничего не найдено" }) : p.map((b) => {
5914
+ p.length === 0 ? /* @__PURE__ */ h(Gc, { size: "s", variant: "not-result", title: "Ничего не найдено" }) : p.map((b) => {
5910
5915
  const v = lm(b, n, e);
5911
- return /* @__PURE__ */ ne(Ml, { $size: c, $selected: v, onClick: () => {
5916
+ return /* @__PURE__ */ ne(Vl, { $size: c, $selected: v, onClick: () => {
5912
5917
  if (Er(n)) {
5913
5918
  t(b.value), u(b.text);
5914
5919
  return;
@@ -5926,7 +5931,7 @@ const sm = {
5926
5931
  alignItems: "center",
5927
5932
  marginRight: "8px",
5928
5933
  visibility: v ? "visible" : "hidden"
5929
- }, children: /* @__PURE__ */ h(oi, { size: S, color: Fc }) }),
5934
+ }, children: /* @__PURE__ */ h(oi, { size: S, color: zc }) }),
5930
5935
  n === "multiple" && /* @__PURE__ */ h(jn, { checked: v, onChange: () => {
5931
5936
  }, size: g, style: {
5932
5937
  pointerEvents: "none",
@@ -6011,7 +6016,7 @@ const sm = {
6011
6016
  filtersInfo: i,
6012
6017
  filtersOrder: s
6013
6018
  };
6014
- }, um = 1, hm = 8, Vl = `${um}px solid ${oe.border}`, Gl = {}, pm = ({
6019
+ }, um = 1, hm = 8, Gl = `${um}px solid ${oe.border}`, Wl = {}, pm = ({
6015
6020
  isOpened: e,
6016
6021
  activeView: t,
6017
6022
  columnConfig: n,
@@ -6033,13 +6038,13 @@ const sm = {
6033
6038
  }), {
6034
6039
  filterList: f,
6035
6040
  clearAll: w
6036
- } = Gc({
6037
- filters: c ?? Gl,
6041
+ } = Wc({
6042
+ filters: c ?? Wl,
6038
6043
  // empty object if filters is undefined
6039
6044
  options: d,
6040
6045
  updateFilters: (g, S) => {
6041
6046
  l && l((x) => ({
6042
- ...x ?? Gl,
6047
+ ...x ?? Wl,
6043
6048
  [g]: S
6044
6049
  }));
6045
6050
  },
@@ -6048,8 +6053,8 @@ const sm = {
6048
6053
  });
6049
6054
  return r.filtering ? /* @__PURE__ */ h(Zu, { clearAll: w, opened: e, items: f, sizeOnOpen: Ki, paddingTop: 0, paddingInline: hm, maxHeight: Ki, extraCss: {
6050
6055
  marginTop: 0,
6051
- borderInline: Vl,
6052
- borderTop: Vl,
6056
+ borderInline: Gl,
6057
+ borderTop: Gl,
6053
6058
  borderTopLeftRadius: i ? je : void 0,
6054
6059
  borderTopRightRadius: s ? je : void 0,
6055
6060
  backgroundColor: oe.white,
@@ -6059,7 +6064,7 @@ const sm = {
6059
6064
  borderColor: "transparent"
6060
6065
  }
6061
6066
  }, chipStyle: r.filtering.chipStyle, renderGroupLabel: r.filtering.renderGroupLabel, renderChipLabel: r.filtering.renderChipLabel }) : null;
6062
- }, pd = "header-tooltip-drag", fd = "header-tooltip-filter", gd = "header-tooltip-sorting", Os = "header-tooltip-expand-all-rows", Ls = "header-tooltip-hide-all-rows", md = "header-tooltip-column-is-pinned", wd = "header-tooltip-column-unpin", fm = 500, gm = (e, t, n) => {
6067
+ }, pd = "header-tooltip-drag", fd = "header-tooltip-filter", gd = "header-tooltip-sorting", Ls = "header-tooltip-expand-all-rows", Bs = "header-tooltip-hide-all-rows", md = "header-tooltip-column-is-pinned", wd = "header-tooltip-column-unpin", fm = 500, gm = (e, t, n) => {
6063
6068
  var l, d, a, u;
6064
6069
  const r = (l = e.filtering) == null ? void 0 : l.keyInFilterState;
6065
6070
  if (!r)
@@ -6086,7 +6091,7 @@ const sm = {
6086
6091
  buttonSize: "xs",
6087
6092
  view: e ? "accent" : "secondary",
6088
6093
  onClick: t,
6089
- icon: /* @__PURE__ */ h(Tc, { size: "xs", color: Ne }),
6094
+ icon: /* @__PURE__ */ h(kc, { size: "xs", color: He }),
6090
6095
  id: fd,
6091
6096
  portalHoverEnabled: !0
6092
6097
  }
@@ -6332,7 +6337,7 @@ const Am = ({
6332
6337
  }), S.map((T) => E.get(T)).filter((T) => T ? T.key.toLowerCase().includes(l.toLowerCase()) || T.label.toLowerCase().includes(l.toLowerCase()) : !1);
6333
6338
  }, [S, w, p, l]), {
6334
6339
  clearAll: y
6335
- } = Gc({
6340
+ } = Wc({
6336
6341
  filters: r ?? Bn,
6337
6342
  // empty object if filters is undefined
6338
6343
  options: m,
@@ -6347,19 +6352,19 @@ const Am = ({
6347
6352
  o(n.filters || Bn);
6348
6353
  }, [n.filters]), v = W(() => !rh(r, n.filters || Bn), [r, n.filters]), I = !!(x.length === 0 && l), A = w.length + p.length;
6349
6354
  return /* @__PURE__ */ ne(bm, { $isEmptySearch: I, children: [
6350
- A >= 1 && /* @__PURE__ */ h("div", { className: hn.tableSidebarFilterSearchBlock, children: /* @__PURE__ */ h(Kc, { placeholder: "Поиск по фильтрам", value: l, onChange: a, contentLeft: /* @__PURE__ */ h("span", { style: {
6355
+ A >= 1 && /* @__PURE__ */ h("div", { className: hn.tableSidebarFilterSearchBlock, children: /* @__PURE__ */ h(Uc, { placeholder: "Поиск по фильтрам", value: l, onChange: a, contentLeft: /* @__PURE__ */ h("span", { style: {
6351
6356
  marginRight: "2px"
6352
- }, children: /* @__PURE__ */ h(jo, {}) }), contentRight: l ? /* @__PURE__ */ h(Uc, { onClick: u, "aria-label": "Очистить поиск", children: /* @__PURE__ */ h(Zn, {}) }) : void 0, clear: !0 }) }),
6357
+ }, children: /* @__PURE__ */ h(jo, {}) }), contentRight: l ? /* @__PURE__ */ h(Xc, { onClick: u, "aria-label": "Очистить поиск", children: /* @__PURE__ */ h(Zn, {}) }) : void 0, clear: !0 }) }),
6353
6358
  /* @__PURE__ */ ne(Sm, { $isEmptySearch: I, children: [
6354
- I && /* @__PURE__ */ h(Yc, { icon: /* @__PURE__ */ h(Tc, { size: "m" }) }),
6359
+ I && /* @__PURE__ */ h(Kc, { icon: /* @__PURE__ */ h(kc, { size: "m" }) }),
6355
6360
  x.map((E) => /* @__PURE__ */ ne("div", { className: hn.tableSidebarFilterItem, children: [
6356
- /* @__PURE__ */ h(Rc, { className: hn.tableSidebarFilterLabel, color: ss, children: E.label }),
6361
+ /* @__PURE__ */ h(Ec, { className: hn.tableSidebarFilterLabel, color: ss, children: E.label }),
6357
6362
  /* @__PURE__ */ h("div", { className: hn.tableSidebarFilterControl, children: E.render() })
6358
6363
  ] }, E.key))
6359
6364
  ] }),
6360
6365
  /* @__PURE__ */ h(Am, { clear: y, apply: s, reset: b, isDirty: v })
6361
6366
  ] });
6362
- }, Xn = "skeletonXXXXXXXXX", Gn = "SKELETON_CELLS_XXXXXXXXX", Wl = {
6367
+ }, Xn = "skeletonXXXXXXXXX", Gn = "SKELETON_CELLS_XXXXXXXXX", jl = {
6363
6368
  [Xn]: !0
6364
6369
  }, _S = (e, t) => {
6365
6370
  const n = e == null ? void 0 : e[Gn];
@@ -6450,7 +6455,7 @@ const Am = ({
6450
6455
  children: e,
6451
6456
  value: t
6452
6457
  }) => /* @__PURE__ */ h(yd.Provider, { value: t, children: e }), Om = () => {
6453
- const e = De(yd);
6458
+ const e = Ne(yd);
6454
6459
  if (!e)
6455
6460
  throw new Error("useTablePopover must be used within TablePopoverProvider");
6456
6461
  return e;
@@ -6478,7 +6483,7 @@ function Lm(e, t = {}) {
6478
6483
  }
6479
6484
  const nb = (e) => {
6480
6485
  const t = Z(/* @__PURE__ */ new Map()), n = Z(
6481
- Nc((s) => {
6486
+ Hc((s) => {
6482
6487
  var c;
6483
6488
  e.updatePosition({
6484
6489
  x: s,
@@ -6509,7 +6514,7 @@ const nb = (e) => {
6509
6514
  saveInitialColumnWidth: o,
6510
6515
  clearColumnWidths: i
6511
6516
  };
6512
- }, jl = "[useTablePopoverState]", Yl = Ut("TABLE_CANVAS_FILTER"), Bm = 300, Dm = () => {
6517
+ }, Yl = "[useTablePopoverState]", Kl = Ut("TABLE_CANVAS_FILTER"), Bm = 300, Dm = () => {
6513
6518
  const [e, t] = ee({
6514
6519
  isOpen: !1,
6515
6520
  position: null,
@@ -6529,7 +6534,7 @@ const nb = (e) => {
6529
6534
  s();
6530
6535
  return;
6531
6536
  }
6532
- s(), Yl(jl, "OPEN called", {
6537
+ s(), Kl(Yl, "OPEN called", {
6533
6538
  position: a,
6534
6539
  contentType: u,
6535
6540
  columnId: w
@@ -6548,7 +6553,7 @@ const nb = (e) => {
6548
6553
  isOpen: !1
6549
6554
  }));
6550
6555
  }, []), d = Q((a) => {
6551
- Yl(jl, "UPDATE POSITION called", {
6556
+ Kl(Yl, "UPDATE POSITION called", {
6552
6557
  position: a
6553
6558
  }), t((u) => ({
6554
6559
  ...u,
@@ -6561,7 +6566,7 @@ const nb = (e) => {
6561
6566
  close: l,
6562
6567
  updatePosition: d
6563
6568
  }), [e, c, l, d]);
6564
- }, Ii = "[FilterComponentInPopover]", Ai = Ut("TABLE_CANVAS_FILTER"), Kl = {
6569
+ }, Ii = "[FilterComponentInPopover]", Ai = Ut("TABLE_CANVAS_FILTER"), Ul = {
6565
6570
  small: "192px",
6566
6571
  medium: "232px",
6567
6572
  big: "232px"
@@ -6603,7 +6608,7 @@ const nb = (e) => {
6603
6608
  [y]: v.target.value
6604
6609
  }));
6605
6610
  };
6606
- return /* @__PURE__ */ h(Nm, { size: Ee[c].input, width: Kl[c], value: i == null ? void 0 : i[y], onChange: b });
6611
+ return /* @__PURE__ */ h(Nm, { size: Ee[c].input, width: Ul[c], value: i == null ? void 0 : i[y], onChange: b });
6607
6612
  }
6608
6613
  const d = l.keyInFilterState, a = i == null ? void 0 : i[d], u = l.filter.typeOfValue, f = (y) => {
6609
6614
  Ai(Ii, "handleSingleChange", {
@@ -6649,10 +6654,10 @@ const nb = (e) => {
6649
6654
  beforeList: /* @__PURE__ */ h(S, { ...e }),
6650
6655
  afterList: /* @__PURE__ */ h(x, { ...e }),
6651
6656
  listMaxHeight: l.listMaxHeight ?? "360px",
6652
- width: Kl[c]
6657
+ width: Ul[c]
6653
6658
  }
6654
6659
  );
6655
- }, Pm = rt.memo(Hm), Ul = "data-popover-trigger", Fm = -10, zm = 9001, Mm = 4, Vm = 8, Gm = j.div.withConfig({
6660
+ }, Pm = rt.memo(Hm), Xl = "data-popover-trigger", Fm = -10, zm = 9001, Mm = 4, Vm = 8, Gm = j.div.withConfig({
6656
6661
  displayName: "styled__StyledPopoverContainer"
6657
6662
  })(["position:absolute;left:", "px;top:", "px;width:1px;height:1px;"], ({
6658
6663
  $x: e
@@ -6684,13 +6689,13 @@ const nb = (e) => {
6684
6689
  position: o,
6685
6690
  contentType: i,
6686
6691
  contentData: s
6687
- } = t, c = eu(), l = W(() => o ? e ? ks(o.x, o.y, e) : o : null, [o, e]);
6692
+ } = t, c = eu(), l = W(() => o ? e ? Os(o.x, o.y, e) : o : null, [o, e]);
6688
6693
  if (fs(() => {
6689
6694
  r && i === "filter" && n();
6690
6695
  }), fe(() => {
6691
6696
  r && e && requestAnimationFrame(() => {
6692
6697
  requestAnimationFrame(() => {
6693
- const a = e.querySelector(`[${Ul}="${c}"]`);
6698
+ const a = e.querySelector(`[${Xl}="${c}"]`);
6694
6699
  a == null || a.click();
6695
6700
  });
6696
6701
  });
@@ -6711,7 +6716,7 @@ const nb = (e) => {
6711
6716
  {
6712
6717
  trigger: "click",
6713
6718
  shift: !0,
6714
- target: /* @__PURE__ */ h(jm, { type: "button", [Ul]: c, "aria-hidden": "true", tabIndex: -1 }),
6719
+ target: /* @__PURE__ */ h(jm, { type: "button", [Xl]: c, "aria-hidden": "true", tabIndex: -1 }),
6715
6720
  outsideClick: !0,
6716
6721
  onToggle: (a) => {
6717
6722
  a || n({
@@ -6733,17 +6738,17 @@ function Qm(e) {
6733
6738
  var t, n, r, o, i;
6734
6739
  return (((t = e.cellBounds) == null ? void 0 : t.y) ?? 0) + (((r = (n = e.target) == null ? void 0 : n.rect) == null ? void 0 : r.y) ?? 0) + (((i = (o = e.target) == null ? void 0 : o.rect) == null ? void 0 : i.height) ?? 0);
6735
6740
  }
6736
- const Xl = ({
6741
+ const Ql = ({
6737
6742
  handleExpandRowDetail: e,
6738
6743
  row: t
6739
6744
  }) => {
6740
6745
  const n = Xo(t, "closed"), r = Xo(t, "opened"), {
6741
6746
  onClick: o,
6742
6747
  ...i
6743
- } = ga(t) ?? {}, s = fa(t) ? (
6748
+ } = ma(t) ?? {}, s = ga(t) ? (
6744
6749
  // TODO custom icons
6745
- r ?? /* @__PURE__ */ h(kc, { color: "inherit" })
6746
- ) : n ?? /* @__PURE__ */ h(Oc, { color: "inherit" });
6750
+ r ?? /* @__PURE__ */ h(Oc, { color: "inherit" })
6751
+ ) : n ?? /* @__PURE__ */ h(Lc, { color: "inherit" });
6747
6752
  return /* @__PURE__ */ h(de.Container, { padding: {
6748
6753
  left: 8
6749
6754
  }, children: /* @__PURE__ */ h(
@@ -6771,13 +6776,13 @@ const Xl = ({
6771
6776
  const r = Xo(t, "closed"), o = Xo(t, "opened"), {
6772
6777
  onClick: i,
6773
6778
  ...s
6774
- } = ga(t) ?? {};
6779
+ } = ma(t) ?? {};
6775
6780
  return /* @__PURE__ */ h(xe, { className: n, $css: {
6776
6781
  display: "inline-block",
6777
6782
  paddingLeft: "8px"
6778
6783
  }, children: /* @__PURE__ */ h(Ct, { size: "s", view: "clear", onClick: (c) => {
6779
6784
  e == null || e(t), i && i(c);
6780
- }, ...s, children: fa(t) ? o ?? /* @__PURE__ */ h(kc, { color: "inherit" }) : r ?? /* @__PURE__ */ h(Oc, { color: "inherit" }) }) });
6785
+ }, ...s, children: ga(t) ? o ?? /* @__PURE__ */ h(Oc, { color: "inherit" }) : r ?? /* @__PURE__ */ h(Lc, { color: "inherit" }) }) });
6781
6786
  }, Zm = ({
6782
6787
  rows: e,
6783
6788
  tableConfigRowDetail: t
@@ -6884,7 +6889,7 @@ const Xl = ({
6884
6889
  displayName: "styled__StyledAutocompleteBlock"
6885
6890
  })(["", ""], Sd), ow = j(Ct).withConfig({
6886
6891
  displayName: "styled__StyledClearBtn"
6887
- })(["background-color:transparent;height:100%;width:24px !important;color:", ";&:hover{background-color:transparent;color:", ";}"], () => Ne, () => Ne), bd = ({
6892
+ })(["background-color:transparent;height:100%;width:24px !important;color:", ";&:hover{background-color:transparent;color:", ";}"], () => He, () => He), bd = ({
6888
6893
  isVisible: e = !1,
6889
6894
  size: t = "s",
6890
6895
  iconSize: n = "s",
@@ -6952,7 +6957,7 @@ const Xl = ({
6952
6957
  } = y;
6953
6958
  return /* @__PURE__ */ h(rw, { placeholder: p, value: m, onChange: C, onKeyDown: k, contentLeft: /* @__PURE__ */ h("span", { style: {
6954
6959
  marginRight: "4px"
6955
- }, children: /* @__PURE__ */ h(jo, { size: n, color: Ne }) }), onClear: m ? E : void 0, onSuggestionSelect: B, portal: o, className: Mn(w, S == null ? void 0 : S.className), $isFullHeight: r, ...O, ...S == null ? void 0 : S.dataAttributes });
6960
+ }, children: /* @__PURE__ */ h(jo, { size: n, color: He }) }), onClear: m ? E : void 0, onSuggestionSelect: B, portal: o, className: Mn(w, S == null ? void 0 : S.className), $isFullHeight: r, ...O, ...S == null ? void 0 : S.dataAttributes });
6956
6961
  }
6957
6962
  return /* @__PURE__ */ h(nw, { placeholder: p, size: t, value: m, onChange: C, onKeyDown: k, contentLeft: /* @__PURE__ */ h("span", { style: {
6958
6963
  marginRight: "2px"
@@ -7011,17 +7016,17 @@ const Xl = ({
7011
7016
  }, sw = "ru", lw = {
7012
7017
  numeric: !0,
7013
7018
  sensitivity: "base"
7014
- }, Ql = (e) => String(e ?? "").trim() === "", Zl = (e) => String(e ?? "").trim(), ql = (e) => {
7019
+ }, Zl = (e) => String(e ?? "").trim() === "", ql = (e) => String(e ?? "").trim(), Jl = (e) => {
7015
7020
  const t = String(e ?? "").trim();
7016
7021
  if (!t)
7017
7022
  return null;
7018
7023
  const n = t.replace(/\s/g, "").replace(",", "."), r = Number(n);
7019
7024
  return Number.isFinite(r) ? r : null;
7020
7025
  }, cw = (e) => (t, n) => {
7021
- const r = Zl(t[e]), o = Zl(n[e]);
7026
+ const r = ql(t[e]), o = ql(n[e]);
7022
7027
  return !r && !o ? 0 : r ? o ? r.localeCompare(o, sw, lw) : -1 : 1;
7023
7028
  }, aw = (e) => (t, n) => {
7024
- const r = ql(t[e]), o = ql(n[e]);
7029
+ const r = Jl(t[e]), o = Jl(n[e]);
7025
7030
  return r === null && o === null ? 0 : r === null ? 1 : o === null ? -1 : r - o;
7026
7031
  }, dw = ({
7027
7032
  rows: e,
@@ -7042,7 +7047,7 @@ const Xl = ({
7042
7047
  return 0;
7043
7048
  const b = (x.sortingType === "stringSort" ? cw(S.columnKey) : x.sortingType === "numberSort" ? aw(S.columnKey) : x.sortingType)(m, g);
7044
7049
  if (b !== 0) {
7045
- const v = x.sortingType === "stringSort" || x.sortingType === "numberSort", I = Ql(m[S.columnKey]) || Ql(g[S.columnKey]);
7050
+ const v = x.sortingType === "stringSort" || x.sortingType === "numberSort", I = Zl(m[S.columnKey]) || Zl(g[S.columnKey]);
7046
7051
  return v && I || S.direction === "ASC" ? b : -b;
7047
7052
  }
7048
7053
  }
@@ -7117,7 +7122,7 @@ const Xl = ({
7117
7122
  textAlign: "right",
7118
7123
  paddingInline: "0",
7119
7124
  cursor: "pointer",
7120
- color: Ne,
7125
+ color: He,
7121
7126
  ...ei()
7122
7127
  });
7123
7128
  j(xe).withConfig({
@@ -7185,7 +7190,7 @@ const gw = j(xe).withConfig({
7185
7190
  flexWrap: "nowrap"
7186
7191
  }, children: [
7187
7192
  /* @__PURE__ */ h(Nn, { alignment: "center", children: Kn(a.icon, n) }),
7188
- /* @__PURE__ */ h(Rc, { style: {
7193
+ /* @__PURE__ */ h(Ec, { style: {
7189
7194
  marginLeft: "auto",
7190
7195
  ...ei()
7191
7196
  }, children: e.details.label })
@@ -7202,7 +7207,7 @@ const gw = j(xe).withConfig({
7202
7207
  /* @__PURE__ */ h(fw, { children: /* @__PURE__ */ h(su, { style: {
7203
7208
  ...ei()
7204
7209
  }, ref: o, children: `${(d = e.details.options.find((u) => u.value === (a == null ? void 0 : a.value))) == null ? void 0 : d.label}` }) }),
7205
- /* @__PURE__ */ h("div", { ref: i, children: /* @__PURE__ */ h(vu, { size: "xs", color: Ne }) })
7210
+ /* @__PURE__ */ h("div", { ref: i, children: /* @__PURE__ */ h(vu, { size: "xs", color: He }) })
7206
7211
  ] }) }) })
7207
7212
  ] });
7208
7213
  }
@@ -7302,16 +7307,16 @@ const gw = j(xe).withConfig({
7302
7307
  return /* @__PURE__ */ h(qe, { children: a[0] && a[0].content });
7303
7308
  const m = a.find((g) => g.id === p);
7304
7309
  return /* @__PURE__ */ ne(qe, { children: [
7305
- /* @__PURE__ */ h(ww, { children: /* @__PURE__ */ h(Ac, { view: "divider", orientation: "horizontal", size: "s", stretch: !0, children: a.map((g) => {
7310
+ /* @__PURE__ */ h(ww, { children: /* @__PURE__ */ h(Cc, { view: "divider", orientation: "horizontal", size: "s", stretch: !0, children: a.map((g) => {
7306
7311
  var S, x;
7307
- return /* @__PURE__ */ h(Cc, { view: "divider", size: "s", selected: g.id === (w && u ? u : p), onClick: () => f(g.id), tabIndex: 0, style: {
7312
+ return /* @__PURE__ */ h(Rc, { view: "divider", size: "s", selected: g.id === (w && u ? u : p), onClick: () => f(g.id), tabIndex: 0, style: {
7308
7313
  flexGrow: "1"
7309
7314
  }, className: (S = g == null ? void 0 : g.domMetadata) == null ? void 0 : S.className, ...((x = g == null ? void 0 : g.domMetadata) == null ? void 0 : x.dataAttributes) || {}, children: g.label }, g.id);
7310
7315
  }) }) }),
7311
7316
  /* @__PURE__ */ h(xw, { children: m == null ? void 0 : m.content }, p)
7312
7317
  ] });
7313
7318
  }, Aw = 200;
7314
- function Jl() {
7319
+ function _l() {
7315
7320
  return {
7316
7321
  visible: !1,
7317
7322
  leaving: !1,
@@ -7332,7 +7337,7 @@ function Cw(e) {
7332
7337
  defaultMouseEnterDelay: i = 0,
7333
7338
  defaultMouseLeaveDelay: s = 0,
7334
7339
  getDelays: c
7335
- } = e, [l, d] = ee(Jl), a = Z(null), u = Z(null), f = Z(null), w = Z(Jl()), p = Z(!1), m = Z(null), g = Z(null), S = Z(0), x = Q(() => {
7340
+ } = e, [l, d] = ee(_l), a = Z(null), u = Z(null), f = Z(null), w = Z(_l()), p = Z(!1), m = Z(null), g = Z(null), S = Z(0), x = Q(() => {
7336
7341
  a.current !== null && (window.clearTimeout(a.current), a.current = null), u.current !== null && (window.clearTimeout(u.current), u.current = null), f.current !== null && (window.clearTimeout(f.current), f.current = null);
7337
7342
  }, []), y = Q(() => {
7338
7343
  x(), m.current = null, g.current = null, S.current = 0, d(w.current);
@@ -7417,7 +7422,7 @@ function $i(e) {
7417
7422
  mouseLeaveDelay: r
7418
7423
  };
7419
7424
  }
7420
- const Bs = {
7425
+ const Ds = {
7421
7426
  big: {
7422
7427
  overrideSquareSize: 24,
7423
7428
  overrideIconSize: 24
@@ -7430,7 +7435,7 @@ const Bs = {
7430
7435
  overrideSquareSize: 20,
7431
7436
  overrideIconSize: 12
7432
7437
  }
7433
- }, _l = {
7438
+ }, $l = {
7434
7439
  big: 8,
7435
7440
  medium: 2,
7436
7441
  small: 0
@@ -7480,12 +7485,12 @@ const Bs = {
7480
7485
  const {
7481
7486
  overrideSquareSize: t,
7482
7487
  overrideIconSize: n
7483
- } = Bs[e];
7488
+ } = Ds[e];
7484
7489
  return {
7485
7490
  squareSize: t,
7486
7491
  iconSize: n
7487
7492
  };
7488
- }, Ds = (e) => {
7493
+ }, Ns = (e) => {
7489
7494
  const {
7490
7495
  squareSize: t,
7491
7496
  iconSize: n
@@ -7514,39 +7519,39 @@ const Bs = {
7514
7519
  big: 1,
7515
7520
  medium: 0.5,
7516
7521
  small: 0
7517
- }, Ns = (e) => Lw(e) - Dw[e], $l = (e) => Ns(e) + Bw(fi.doubleDisclosure, Ds(e)) / 2 - Ad(e) / 2, wi = ({
7522
+ }, Hs = (e) => Lw(e) - Dw[e], ec = (e) => Hs(e) + Bw(fi.doubleDisclosure, Ns(e)) / 2 - Ad(e) / 2, wi = ({
7518
7523
  glyph: e,
7519
7524
  box: t,
7520
7525
  state: n,
7521
7526
  insetPx: r
7522
- }) => /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: t.squareSize, height: t.squareSize, viewBox: kw(e, t, r), "aria-hidden": "true", focusable: "false", children: e[n].map((o) => /* @__PURE__ */ h("path", { fill: "currentColor", d: o }, o)) }), Hs = ({
7527
+ }) => /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: t.squareSize, height: t.squareSize, viewBox: kw(e, t, r), "aria-hidden": "true", focusable: "false", children: e[n].map((o) => /* @__PURE__ */ h("path", { fill: "currentColor", d: o }, o)) }), Ps = ({
7523
7528
  size: e = "big"
7524
7529
  }) => /* @__PURE__ */ h(wi, { glyph: mi(e), box: gi(e), state: "expanded" });
7525
- Hs.displayName = "IconTreeExpanded";
7526
- const Ps = ({
7530
+ Ps.displayName = "IconTreeExpanded";
7531
+ const Fs = ({
7527
7532
  size: e = "big"
7528
7533
  }) => /* @__PURE__ */ h(wi, { glyph: mi(e), box: gi(e), state: "collapsed" });
7529
- Ps.displayName = "IconTreeCollapsed";
7534
+ Fs.displayName = "IconTreeCollapsed";
7530
7535
  const Cd = ({
7531
7536
  size: e = "big"
7532
- }) => /* @__PURE__ */ h(wi, { glyph: fi.doubleDisclosure, box: Ds(e), state: "expanded", insetPx: Ns(e) });
7537
+ }) => /* @__PURE__ */ h(wi, { glyph: fi.doubleDisclosure, box: Ns(e), state: "expanded", insetPx: Hs(e) });
7533
7538
  Cd.displayName = "IconTreeCollapseAll";
7534
7539
  const Rd = ({
7535
7540
  size: e = "big"
7536
- }) => /* @__PURE__ */ h(wi, { glyph: fi.doubleDisclosure, box: Ds(e), state: "collapsed", insetPx: Ns(e) });
7541
+ }) => /* @__PURE__ */ h(wi, { glyph: fi.doubleDisclosure, box: Ns(e), state: "collapsed", insetPx: Hs(e) });
7537
7542
  Rd.displayName = "IconTreeExpandAll";
7538
7543
  const Nw = {
7539
7544
  [pd]: "Перетащить колонку",
7540
7545
  [fd]: "Отфильтровать по данной колонке",
7541
7546
  [gd]: "Отсортировать по данной колонке",
7542
- [Os]: "Раскрыть все дочерние строки",
7543
- [Ls]: "Скрыть все дочерние строки",
7547
+ [Ls]: "Раскрыть все дочерние строки",
7548
+ [Bs]: "Скрыть все дочерние строки",
7544
7549
  [md]: "Колонка закреплена",
7545
7550
  [wd]: "Открепить колонку",
7546
7551
  [nu]: "Дважды нажмите, чтобы развернуть"
7547
7552
  }, Hw = {
7548
- [Os]: $l,
7549
- [Ls]: $l
7553
+ [Ls]: ec,
7554
+ [Bs]: ec
7550
7555
  }, Pw = (e) => {
7551
7556
  var t, n;
7552
7557
  return ((n = (t = e.tooltipContext) == null ? void 0 : t.theme) == null ? void 0 : n.rowSize) ?? "big";
@@ -7614,7 +7619,7 @@ function Vw(e, t) {
7614
7619
  }
7615
7620
  const Gw = j.div.withConfig({
7616
7621
  displayName: "styled__StyledContainer"
7617
- })(["& .popover-wrapper,.popover-target{height:100%;width:100%;}"]), ec = (e) => {
7622
+ })(["& .popover-wrapper,.popover-target{height:100%;width:100%;}"]), tc = (e) => {
7618
7623
  if (e !== void 0)
7619
7624
  return typeof e == "number" ? `${e}px` : e;
7620
7625
  }, Ed = rt.memo(({
@@ -7642,8 +7647,8 @@ const Gw = j.div.withConfig({
7642
7647
  const d = e == null ? void 0 : e.current;
7643
7648
  if (!d || !(d instanceof HTMLElement))
7644
7649
  return null;
7645
- const a = ks(l.x, l.y, d);
7646
- return jc(/* @__PURE__ */ h(Gw, { style: {
7650
+ const a = Os(l.x, l.y, d);
7651
+ return Yc(/* @__PURE__ */ h(Gw, { style: {
7647
7652
  position: "absolute",
7648
7653
  // offsetX — сдвиг якоря, когда видимая часть ноды не по её центру
7649
7654
  left: a.x + (((f = (u = l.data) == null ? void 0 : u.tooltipProps) == null ? void 0 : f.offsetX) ?? 0),
@@ -7652,7 +7657,7 @@ const Gw = j.div.withConfig({
7652
7657
  height: Math.max(0, l.height),
7653
7658
  pointerEvents: "none",
7654
7659
  boxSizing: "border-box"
7655
- }, children: /* @__PURE__ */ h(ni, { opened: l.visible && !l.leaving, placement: ((p = (w = l.data) == null ? void 0 : w.tooltipProps) == null ? void 0 : p.placement) ?? "top", text: ((m = l == null ? void 0 : l.data) == null ? void 0 : m.tooltipText) ?? "", view: ((S = (g = l.data) == null ? void 0 : g.tooltipProps) == null ? void 0 : S.view) ?? "default", minWidth: ec(((y = (x = l.data) == null ? void 0 : x.tooltipProps) == null ? void 0 : y.minWidth) ?? o), maxWidth: ec(((v = (b = l.data) == null ? void 0 : b.tooltipProps) == null ? void 0 : v.maxWidth) ?? i), style: {
7660
+ }, children: /* @__PURE__ */ h(ni, { opened: l.visible && !l.leaving, placement: ((p = (w = l.data) == null ? void 0 : w.tooltipProps) == null ? void 0 : p.placement) ?? "top", text: ((m = l == null ? void 0 : l.data) == null ? void 0 : m.tooltipText) ?? "", view: ((S = (g = l.data) == null ? void 0 : g.tooltipProps) == null ? void 0 : S.view) ?? "default", minWidth: tc(((y = (x = l.data) == null ? void 0 : x.tooltipProps) == null ? void 0 : y.minWidth) ?? o), maxWidth: tc(((v = (b = l.data) == null ? void 0 : b.tooltipProps) == null ? void 0 : v.maxWidth) ?? i), style: {
7656
7661
  position: "relative",
7657
7662
  ...((A = (I = l.data) == null ? void 0 : I.tooltipProps) == null ? void 0 : A.preserveLineBreaks) && {
7658
7663
  whiteSpace: "pre-line"
@@ -7674,9 +7679,9 @@ function jw({
7674
7679
  } = wn();
7675
7680
  return /* @__PURE__ */ h(Ww, { className: r, onClick: n, onKeyDown: (s) => {
7676
7681
  (s.key === " " || s.key === "Enter") && (s.preventDefault(), n());
7677
- }, children: /* @__PURE__ */ h(Yn, { tabIndex: e, view: "secondary", stretching: "auto", children: t ? /* @__PURE__ */ h(Hs, { size: o }) : /* @__PURE__ */ h(Ps, { size: o }) }) });
7682
+ }, children: /* @__PURE__ */ h(Yn, { tabIndex: e, view: "secondary", stretching: "auto", children: t ? /* @__PURE__ */ h(Ps, { size: o }) : /* @__PURE__ */ h(Fs, { size: o }) }) });
7678
7683
  }
7679
- function tc({
7684
+ function nc({
7680
7685
  tabIndex: e,
7681
7686
  tableConfigSubRows: t,
7682
7687
  row: n,
@@ -7686,7 +7691,7 @@ function tc({
7686
7691
  const {
7687
7692
  expandedRowsIds: o,
7688
7693
  setExpandedRowsIds: i
7689
- } = Jc(), s = ((l = t == null ? void 0 : t.rowKeyGetter) == null ? void 0 : l.call(t, n)) ?? "trololo", c = !!(o != null && o.has(s));
7694
+ } = _c(), s = ((l = t == null ? void 0 : t.rowKeyGetter) == null ? void 0 : l.call(t, n)) ?? "trololo", c = !!(o != null && o.has(s));
7690
7695
  return /* @__PURE__ */ h(jw, { className: r, tabIndex: e, expanded: !!c, onCellExpand: () => {
7691
7696
  i == null || i((d) => {
7692
7697
  const a = new Set(d);
@@ -7704,7 +7709,7 @@ const ob = () => {
7704
7709
  }, children: /* @__PURE__ */ h(Vr, { text: `${t ? "Скрыть" : "Раскрыть"} все дочерние строки`, animated: !0, placement: "top", target: /* @__PURE__ */ h(Ct, { size: "s", view: "clear", style: {
7705
7710
  width: 16,
7706
7711
  height: 16
7707
- }, onClick: n, children: t ? /* @__PURE__ */ h(Lc, { size: "xs", color: Ne }) : /* @__PURE__ */ h(Iu, { size: "xs", color: Ne }) }) }) });
7712
+ }, onClick: n, children: t ? /* @__PURE__ */ h(Bc, { size: "xs", color: He }) : /* @__PURE__ */ h(Iu, { size: "xs", color: He }) }) }) });
7708
7713
  }, ib = (e) => !!(e != null && e[Eh.IS_DETAIL_PANEL_ROW]), sb = (e) => !!(e != null && e[kh.IS_HAVE]), Yw = ({
7709
7714
  borders: e,
7710
7715
  orderedColumnKeys: t,
@@ -7744,7 +7749,7 @@ const ob = () => {
7744
7749
  reorderedColumns: t,
7745
7750
  rowsRef: n
7746
7751
  }) => {
7747
- const r = W(() => Es(t, (o) => !!o.frozen).map((o) => o.key), [t]);
7752
+ const r = W(() => Ts(t, (o) => !!o.frozen).map((o) => o.key), [t]);
7748
7753
  return W(() => Yw({
7749
7754
  borders: e,
7750
7755
  orderedColumnKeys: r,
@@ -7785,7 +7790,7 @@ const ob = () => {
7785
7790
  infinityScrollHasMore: i
7786
7791
  };
7787
7792
  };
7788
- function nc(e, t) {
7793
+ function rc(e, t) {
7789
7794
  const n = /* @__PURE__ */ new Set();
7790
7795
  return e.forEach((r, o) => {
7791
7796
  try {
@@ -7805,7 +7810,7 @@ function qw({
7805
7810
  }) {
7806
7811
  const c = W(() => {
7807
7812
  if (!(!t || !(n != null && n.size) || !e.length))
7808
- return nc(e, (d) => n.has(t(d)));
7813
+ return rc(e, (d) => n.has(t(d)));
7809
7814
  }, [e, n, t]), l = W(() => {
7810
7815
  if (!(r != null && r.selectingRowsIsActive) || !t || !e.length)
7811
7816
  return;
@@ -7817,10 +7822,10 @@ function qw({
7817
7822
  rowKeyGetter: t,
7818
7823
  rowsGroupingIsActive: s
7819
7824
  };
7820
- return nc(e, (a) => {
7825
+ return rc(e, (a) => {
7821
7826
  const {
7822
7827
  isHaveCheckbox: u
7823
- } = ya({
7828
+ } = xa({
7824
7829
  row: a,
7825
7830
  ctxs: {
7826
7831
  selectingRowCtx: d
@@ -7849,7 +7854,7 @@ function Jw({
7849
7854
  ...L
7850
7855
  } = e.selecting ?? {};
7851
7856
  return {
7852
- selectingRules: ma(O),
7857
+ selectingRules: wa(O),
7853
7858
  selectingRowsIsActive: o,
7854
7859
  ...L
7855
7860
  };
@@ -7894,7 +7899,7 @@ function Jw({
7894
7899
  }
7895
7900
  };
7896
7901
  }
7897
- const Fs = (e) => {
7902
+ const zs = (e) => {
7898
7903
  var t;
7899
7904
  return (e == null ? void 0 : e.view) === "merged" && (((t = e.mergedColumns) == null ? void 0 : t.length) ?? 0) > 0;
7900
7905
  };
@@ -7925,7 +7930,7 @@ const _w = ({
7925
7930
  colsWithKeyTextMap: a,
7926
7931
  pinnedCols: u
7927
7932
  }) => {
7928
- const f = n == null ? void 0 : n.orderDefault, [w, p] = ee(() => t ? Nl({
7933
+ const f = n == null ? void 0 : n.orderDefault, [w, p] = ee(() => t ? Hl({
7929
7934
  columnConfig: r,
7930
7935
  tableConfigDefaultOrder: f,
7931
7936
  rowMarkersIsActive: i,
@@ -7934,7 +7939,7 @@ const _w = ({
7934
7939
  keyText: d,
7935
7940
  rowsGroupingIsActive: s,
7936
7941
  showRowInstruments: c
7937
- }) : []), m = () => Nl({
7942
+ }) : []), m = () => Hl({
7938
7943
  columnConfig: r,
7939
7944
  tableConfigDefaultOrder: f,
7940
7945
  rowMarkersIsActive: i,
@@ -7992,7 +7997,7 @@ const _w = ({
7992
7997
  function Tr(e) {
7993
7998
  return e == null ? "" : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" ? e.toString() : JSON.stringify(e);
7994
7999
  }
7995
- function rc(e, t = {}) {
8000
+ function oc(e, t = {}) {
7996
8001
  if (e == null)
7997
8002
  return "";
7998
8003
  const n = Number(e);
@@ -8023,11 +8028,11 @@ const ey = (e, t) => {
8023
8028
  }
8024
8029
  return Tr(e);
8025
8030
  }
8026
- return t === "number" ? rc(e, {
8031
+ return t === "number" ? oc(e, {
8027
8032
  locales: "ru-RU",
8028
8033
  thousandSeparator: " ",
8029
8034
  decimalSeparator: ","
8030
- }) : typeof t == "object" && "type" in t && t.type === "number" ? rc(e, {
8035
+ }) : typeof t == "object" && "type" in t && t.type === "number" ? oc(e, {
8031
8036
  decimalSeparator: t.decimalSeparator,
8032
8037
  thousandSeparator: t.thousandSeparator,
8033
8038
  locales: t.locales,
@@ -8039,7 +8044,7 @@ const ey = (e, t) => {
8039
8044
  big: 50,
8040
8045
  medium: 36,
8041
8046
  small: 28
8042
- }, Wn = 16, Od = (e, t = "big") => ty[t] * e, ny = (e) => 0, oc = (e, t, n, r) => e + Od(t, n) + ny(), ry = {
8047
+ }, Wn = 16, Od = (e, t = "big") => ty[t] * e, ny = (e) => 0, ic = (e, t, n, r) => e + Od(t, n) + ny(), ry = {
8043
8048
  editor: "open-on-click"
8044
8049
  }, oy = {
8045
8050
  top: "flex-start",
@@ -8050,7 +8055,7 @@ const ey = (e, t) => {
8050
8055
  center: "center",
8051
8056
  right: "flex-end"
8052
8057
  }, sy = 8, ly = {
8053
- big: Bc,
8058
+ big: Dc,
8054
8059
  medium: Lr,
8055
8060
  small: Lr
8056
8061
  }, an = (e, {
@@ -8069,7 +8074,7 @@ const ey = (e, t) => {
8069
8074
  } = o, {
8070
8075
  overrideSquareSize: u,
8071
8076
  overrideIconSize: f
8072
- } = Bs[s], w = ly[s];
8077
+ } = Ds[s], w = ly[s];
8073
8078
  return /* @__PURE__ */ h(de.Container, { direction: "column", justifyContent: d ? oy[d] : "center", padding: {
8074
8079
  top: l,
8075
8080
  bottom: l
@@ -8091,10 +8096,10 @@ const ey = (e, t) => {
8091
8096
  ] }) });
8092
8097
  }
8093
8098
  return r && Bi(e) ? /* @__PURE__ */ h(de.Text, { children: e }) : e;
8094
- }, ic = (e, t, n = "big") => {
8099
+ }, sc = (e, t, n = "big") => {
8095
8100
  const {
8096
8101
  overrideSquareSize: r
8097
- } = Bs[n], o = e ? Hs : Ps;
8102
+ } = Ds[n], o = e ? Ps : Fs;
8098
8103
  return /* @__PURE__ */ h(
8099
8104
  de.EmbedIconButton,
8100
8105
  {
@@ -8204,11 +8209,11 @@ const ey = (e, t) => {
8204
8209
  editModeEnabled: o,
8205
8210
  visual: b
8206
8211
  }), v(w));
8207
- const ye = ie ? _l[p] : 8;
8212
+ const ye = ie ? $l[p] : 8;
8208
8213
  return /* @__PURE__ */ ne(de.Container, { direction: "row", alignItems: "center", columnGap: ye, padding: {
8209
- left: oc(E, N, p)
8214
+ left: ic(E, N, p)
8210
8215
  }, children: [
8211
- ie && ic(O, L, l.rowSize),
8216
+ ie && sc(O, L, l.rowSize),
8212
8217
  an(A, {
8213
8218
  isSelect: w,
8214
8219
  editModeEnabled: o,
@@ -8257,23 +8262,23 @@ const ey = (e, t) => {
8257
8262
  textInCanvasText: "textInCanvasText",
8258
8263
  visual: b
8259
8264
  }),
8260
- Xl({
8265
+ Ql({
8261
8266
  row: s,
8262
8267
  handleExpandRowDetail: u
8263
8268
  })
8264
8269
  ] }), E);
8265
- const z = D ? _l[p] : 8;
8270
+ const z = D ? $l[p] : 8;
8266
8271
  return /* @__PURE__ */ ne(de.Container, { direction: "row", alignItems: "center", columnGap: z, padding: {
8267
- left: oc(E, N, p)
8272
+ left: ic(E, N, p)
8268
8273
  }, children: [
8269
- D && ic(O, L, l.rowSize),
8274
+ D && sc(O, L, l.rowSize),
8270
8275
  an(H, {
8271
8276
  isSelect: q,
8272
8277
  editModeEnabled: o,
8273
8278
  textInCanvasText: "textInCanvasText",
8274
8279
  visual: b
8275
8280
  }),
8276
- V && Xl({
8281
+ V && Ql({
8277
8282
  row: s,
8278
8283
  handleExpandRowDetail: u
8279
8284
  })
@@ -8301,7 +8306,7 @@ const ey = (e, t) => {
8301
8306
  $columnHasArrow: n
8302
8307
  } = e;
8303
8308
  return n ? (o = (r = Ee == null ? void 0 : Ee[t]) == null ? void 0 : r.cell) == null ? void 0 : o["padding-inline"] : "0px";
8304
- }, sc = j.div.withConfig({
8309
+ }, lc = j.div.withConfig({
8305
8310
  displayName: "styled__SubRowContainer"
8306
8311
  })(["", " ", ":calc(", "px + ", ");padding-left:var(", ");& span.", "{", "}& .", ".", "{display:inline-flex;}& .", "{", "}"], Bd, qo.subrowContainerPaddingLeft, dy, uy, qo.subrowContainerPaddingLeft, Re.cellContent, Dd, Re.cellContent, Re.subRowCell, Re.expandDetailButton, Nd), Ei = j(xe).withConfig({
8307
8312
  displayName: "styled__StyledCellContainer"
@@ -8318,12 +8323,12 @@ const ey = (e, t) => {
8318
8323
  } = e, {
8319
8324
  handleExpandRowDetail: s,
8320
8325
  expandButtonColumnKey: c
8321
- } = pa(), {
8326
+ } = fa(), {
8322
8327
  rowSize: l
8323
8328
  } = wn(), d = (A) => {
8324
8329
  const C = !!A;
8325
8330
  if (t.editingCell)
8326
- return t.editingCell.component === "inputString" ? /* @__PURE__ */ h(Ji, { ...e, disableLeftOffset: C }) : t.editingCell.component === "inputNumber" ? /* @__PURE__ */ h(_i, { ...e, formatOptions: t == null ? void 0 : t.contentFormat, disableLeftOffset: C }) : t.editingCell.component === "select" ? /* @__PURE__ */ h(Fl, { ...e, disableLeftOffset: C }) : t.editingCell.component(e, 0, C);
8331
+ return t.editingCell.component === "inputString" ? /* @__PURE__ */ h(Ji, { ...e, disableLeftOffset: C }) : t.editingCell.component === "inputNumber" ? /* @__PURE__ */ h(_i, { ...e, formatOptions: t == null ? void 0 : t.contentFormat, disableLeftOffset: C }) : t.editingCell.component === "select" ? /* @__PURE__ */ h(zl, { ...e, disableLeftOffset: C }) : t.editingCell.component(e, 0, C);
8327
8332
  }, a = !!n, u = !!r;
8328
8333
  if (!a && !u)
8329
8334
  return d();
@@ -8343,11 +8348,11 @@ const ey = (e, t) => {
8343
8348
  return !p && !T ? d() : !p && T ? /* @__PURE__ */ ne(Ei, { className: Re.editableCellWithExpandButton, children: [
8344
8349
  d(),
8345
8350
  /* @__PURE__ */ h(br, { className: Re.expandDetailButton, row: i, handleExpandRowDetail: s })
8346
- ] }) : /* @__PURE__ */ ne(sc, { className: Re.editableCellWithExpandButton, $lvl: w, $editingMode: {
8351
+ ] }) : /* @__PURE__ */ ne(lc, { className: Re.editableCellWithExpandButton, $lvl: w, $editingMode: {
8347
8352
  $columnHasArrow: p,
8348
8353
  $rowSize: l
8349
8354
  }, children: [
8350
- E && /* @__PURE__ */ h(tc, { tabIndex: void 0, className: Re.expandTreeButton, row: i, tableConfigSubRows: n }),
8355
+ E && /* @__PURE__ */ h(nc, { tabIndex: void 0, className: Re.expandTreeButton, row: i, tableConfigSubRows: n }),
8351
8356
  d("disableLeftOffset"),
8352
8357
  T && /* @__PURE__ */ h(br, { className: Re.expandDetailButton, row: i, handleExpandRowDetail: s })
8353
8358
  ] });
@@ -8374,16 +8379,16 @@ const ey = (e, t) => {
8374
8379
  ...B,
8375
8380
  column: R
8376
8381
  };
8377
- return t.subRow.editingCell.component === "inputString" ? /* @__PURE__ */ h(Ji, { ...O, disableLeftOffset: C }) : t.subRow.editingCell.component === "inputNumber" ? /* @__PURE__ */ h(_i, { ...O, formatOptions: t == null ? void 0 : t.contentFormat, disableLeftOffset: C }) : t.subRow.editingCell.component === "select" ? /* @__PURE__ */ h(Fl, { ...O, disableLeftOffset: C }) : t.subRow.editingCell.component(O, w, C);
8382
+ return t.subRow.editingCell.component === "inputString" ? /* @__PURE__ */ h(Ji, { ...O, disableLeftOffset: C }) : t.subRow.editingCell.component === "inputNumber" ? /* @__PURE__ */ h(_i, { ...O, formatOptions: t == null ? void 0 : t.contentFormat, disableLeftOffset: C }) : t.subRow.editingCell.component === "select" ? /* @__PURE__ */ h(zl, { ...O, disableLeftOffset: C }) : t.subRow.editingCell.component(O, w, C);
8378
8383
  }, S = (I = n == null ? void 0 : n.getSubRows) == null ? void 0 : I.call(n, i), x = a && !!(S != null && S.length), y = p && x;
8379
8384
  return !p && !m ? g() : !p && m ? /* @__PURE__ */ ne(Ei, { className: Re.editableCellWithExpandButton, children: [
8380
8385
  g(),
8381
8386
  /* @__PURE__ */ h(br, { className: Re.expandDetailButton, row: i, handleExpandRowDetail: s })
8382
- ] }) : /* @__PURE__ */ ne(sc, { className: Re.editableCellWithExpandButton, $lvl: w, $editingMode: {
8387
+ ] }) : /* @__PURE__ */ ne(lc, { className: Re.editableCellWithExpandButton, $lvl: w, $editingMode: {
8383
8388
  $columnHasArrow: p,
8384
8389
  $rowSize: l
8385
8390
  }, children: [
8386
- y && /* @__PURE__ */ h(tc, { className: Re.expandTreeButton, tabIndex: void 0, row: i, tableConfigSubRows: n }),
8391
+ y && /* @__PURE__ */ h(nc, { className: Re.expandTreeButton, tabIndex: void 0, row: i, tableConfigSubRows: n }),
8387
8392
  g("disableLeftOffset"),
8388
8393
  m && /* @__PURE__ */ h(br, { className: Re.expandDetailButton, row: i, handleExpandRowDetail: s })
8389
8394
  ] });
@@ -8438,7 +8443,7 @@ function py({
8438
8443
  flexShrink: 0
8439
8444
  },
8440
8445
  portalHoverEnabled: !0,
8441
- id: y ? Ls : Os,
8446
+ id: y ? Bs : Ls,
8442
8447
  icon: y ? /* @__PURE__ */ h(Cd, { size: u.rowSize }) : /* @__PURE__ */ h(Rd, { size: u.rowSize })
8443
8448
  }
8444
8449
  ) }),
@@ -8448,7 +8453,7 @@ function py({
8448
8453
  /* @__PURE__ */ h(de.Container, { interaction: {
8449
8454
  selection: "keep",
8450
8455
  cellClick: "stop"
8451
- }, children: /* @__PURE__ */ h(de.EmbedIconButton, { buttonSize: "xs", view: "secondary", overrideSquareSize: v.squareSize, overrideIconSize: v.iconSize, icon: /* @__PURE__ */ h(Ec, {}), id: pd, tooltip: "Перетащить колонку", portalHoverEnabled: !0, style: {
8456
+ }, children: /* @__PURE__ */ h(de.EmbedIconButton, { buttonSize: "xs", view: "secondary", overrideSquareSize: v.squareSize, overrideIconSize: v.iconSize, icon: /* @__PURE__ */ h(Tc, {}), id: pd, tooltip: "Перетащить колонку", portalHoverEnabled: !0, style: {
8452
8457
  flexShrink: 0
8453
8458
  } }) }),
8454
8459
  r && (o ? (
@@ -8518,7 +8523,7 @@ function fy(e, t) {
8518
8523
  };
8519
8524
  return (i) => (o(t.current), r.get(i.rowInd) ?? null);
8520
8525
  }
8521
- const lc = (e) => e.every((t, n) => n === 0 || t === e[n - 1] + 1);
8526
+ const cc = (e) => e.every((t, n) => n === 0 || t === e[n - 1] + 1);
8522
8527
  function gy(e, t, n, r) {
8523
8528
  const o = /* @__PURE__ */ new Set();
8524
8529
  e.forEach((d) => d.colKeys.forEach((a) => o.add(a)));
@@ -8532,7 +8537,7 @@ function gy(e, t, n, r) {
8532
8537
  const f = /* @__PURE__ */ new Map();
8533
8538
  d.forEach((w, p) => f.set(r(w), p)), e.forEach((w) => {
8534
8539
  const p = [...new Set(w.colKeys)].map((I) => u.get(I)).filter((I) => I !== void 0).sort((I, A) => I - A), m = [...new Set(w.rowKeys)].map((I) => f.get(I)).filter((I) => I !== void 0).sort((I, A) => I - A);
8535
- if (p.length === 0 || m.length === 0 || !lc(p) || !lc(m))
8540
+ if (p.length === 0 || m.length === 0 || !cc(p) || !cc(m))
8536
8541
  return;
8537
8542
  const g = p[0], S = p[p.length - 1] - g, x = m[0], y = m[m.length - 1], b = a[g];
8538
8543
  if (b === void 0)
@@ -8577,7 +8582,7 @@ function Hd(e) {
8577
8582
  keys: t
8578
8583
  };
8579
8584
  const n = (i = e.subRows) == null ? void 0 : i.mergedColumns;
8580
- return Fs(e.subRows) && n ? {
8585
+ return zs(e.subRows) && n ? {
8581
8586
  kind: "subRows",
8582
8587
  keys: n
8583
8588
  } : null;
@@ -8619,7 +8624,7 @@ const my = ({
8619
8624
  columnId: $.key
8620
8625
  });
8621
8626
  }, [w]), v = !!t.filtering, I = !!t.sorting, A = f, C = !!t.rowsGrouping, E = !!t.subRows, T = !1, k = (Y = (K = t.rowsGrouping ?? {}) == null ? void 0 : K.groupByState) == null ? void 0 : Y[0], B = Hd(t), R = (B == null ? void 0 : B.kind) === "grouping", O = B == null ? void 0 : B.keys, L = B !== null, N = !!(t != null && t.rowMarkers), P = Z([]), V = W(() => {
8622
- var Me, Ye, le, he, ve, Te, He, pe, Ie;
8627
+ var Me, Ye, ce, he, ve, Te, Pe, pe, Ae;
8623
8628
  const $ = zf({
8624
8629
  rowsGroupingIsActiveInConfig: C,
8625
8630
  groupByArr: k ?? [],
@@ -8631,7 +8636,7 @@ const my = ({
8631
8636
  rowSize: x
8632
8637
  }) : null, se = N ? Ff({
8633
8638
  startIndex: ((Ye = t.rowMarkers) == null ? void 0 : Ye.startIndex) ?? 1,
8634
- width: (le = t.rowMarkers) == null ? void 0 : le.width,
8639
+ width: (ce = t.rowMarkers) == null ? void 0 : ce.width,
8635
8640
  size: (he = t.rowMarkers) == null ? void 0 : he.size,
8636
8641
  rowsRef: g,
8637
8642
  rowSize: x,
@@ -8641,16 +8646,16 @@ const my = ({
8641
8646
  allRowsMapRef: S,
8642
8647
  rowKeyGetter: (Te = t.subRows) == null ? void 0 : Te.rowKeyGetter
8643
8648
  }) : null, we = [...N ? [se] : [], ...n ? [J] : [], ...l ? [Df] : [], ...$], ue = a ? Af(we, d) : we, ae = new Set(i), ie = ae.size ? ue.filter((_) => !ae.has(_.key)) : ue, ge = new Set(o), ye = /* @__PURE__ */ new Map();
8644
- if ((((He = t.mergeCells) == null ? void 0 : He.mergeByCellValues) ?? []).forEach((_) => {
8649
+ if ((((Pe = t.mergeCells) == null ? void 0 : Pe.mergeByCellValues) ?? []).forEach((_) => {
8645
8650
  typeof _ == "string" ? ye.set(_, (Ve) => Ve[_]) : ye.set(_.colKey, _.value);
8646
8651
  }), L && O) {
8647
8652
  O.forEach((Ve, lt) => {
8648
- ye.set(Ve, Dl(O, lt));
8653
+ ye.set(Ve, Nl(O, lt));
8649
8654
  });
8650
- const _ = Dl(O, 0);
8655
+ const _ = Nl(O, 0);
8651
8656
  ye.set(it, _), ye.set(pt, _);
8652
8657
  }
8653
- const me = (pe = t.mergeCells) == null ? void 0 : pe.mergedCellsRegions, Le = (Ie = t.mergeCells) == null ? void 0 : Ie.rowKeyGetter, Ae = me && me.length > 0 && Le ? gy(me, P, g, Le) : null;
8658
+ const me = (pe = t.mergeCells) == null ? void 0 : pe.mergedCellsRegions, Le = (Ae = t.mergeCells) == null ? void 0 : Ae.rowKeyGetter, Ce = me && me.length > 0 && Le ? gy(me, P, g, Le) : null;
8654
8659
  return ie.map((_, Ve, lt) => {
8655
8660
  var zt, _t, Mt, Vt, $t;
8656
8661
  const ft = ge.has(_.key), gt = (zt = lt[0]) == null ? void 0 : zt.key, Rt = c && !y(_) && _.key !== Ht && _.key !== it, mt = E && Ss((_t = _.subRow) == null ? void 0 : _t.isColumnWithArrow, d), Et = R && !!((Mt = t.rowsGrouping) != null && Mt.disableGroupColumnsSort) && !!(k != null && k.includes(_.key)), Xt = Et ? {
@@ -8658,7 +8663,7 @@ const my = ({
8658
8663
  sortingType: void 0
8659
8664
  } : _, xn = !!_.filtering, Sn = !Et && !!_.sortingType, Qt = (Se) => {
8660
8665
  var Lt, St;
8661
- if (zl(_))
8666
+ if (Ml(_))
8662
8667
  return !0;
8663
8668
  if (!A || r || Se != null && Se[Xn])
8664
8669
  return !1;
@@ -8741,17 +8746,17 @@ const my = ({
8741
8746
  } = Ze(Se), at = Vn(Se);
8742
8747
  return !!(ke === 0 ? (Ot = (xt = _.editingCell) == null ? void 0 : xt.error) != null && Ot.value(at, ke) : (St = (Lt = (_e = _.subRow) == null ? void 0 : _e.editingCell) == null ? void 0 : Lt.error) != null && St.value(at, ke));
8743
8748
  }, In = (() => {
8744
- if (zl(_))
8749
+ if (Ml(_))
8745
8750
  return _.renderEditCell;
8746
8751
  if (!(!A || r))
8747
8752
  return (Se) => /* @__PURE__ */ h(hy, { editingCellInfo: Se, column: _, tableConfigSubRows: t.subRows, tableConfigRowDetailPanel: void 0, currIndex: Ve, indexZeroColKey: gt, keyText: d });
8748
- })(), Tt = y(_) ? !1 : t.resizableColumn, Je = (Ae == null ? void 0 : Ae.regionCols.has(_.key)) ?? !1, Ft = ye.get(_.key);
8753
+ })(), Tt = y(_) ? !1 : t.resizableColumn, Je = (Ce == null ? void 0 : Ce.regionCols.has(_.key)) ?? !1, Ft = ye.get(_.key);
8749
8754
  let wt, yt;
8750
- Je && Ae ? (wt = Ae.colSpan(_.key), yt = Ae.rowSpan(_.key)) : (wt = void 0, yt = Ft ? fy(Ft, g) : void 0);
8755
+ Je && Ce ? (wt = Ce.colSpan(_.key), yt = Ce.rowSpan(_.key)) : (wt = void 0, yt = Ft ? fy(Ft, g) : void 0);
8751
8756
  const Zt = L && (O != null && O.includes(_.key) || y(_)) && (B == null ? void 0 : B.kind) === "grouping" ? (Vt = t.rowsGrouping) == null ? void 0 : Vt.mergedCellsAlign : void 0, ct = _.mergedCellsAlign ?? Zt ?? (($t = t.mergeCells) == null ? void 0 : $t.mergedCellsAlign), qt = (Se) => typeof ct == "function" ? ct(Se.row) : ct;
8752
8757
  let kt;
8753
- if (Je && Ae) {
8754
- const Se = Ae.align(_.key);
8758
+ if (Je && Ce) {
8759
+ const Se = Ce.align(_.key);
8755
8760
  kt = ct ? (ke) => Se(ke) ?? qt(ke) : Se;
8756
8761
  } else
8757
8762
  yt !== void 0 && (kt = typeof ct == "function" ? qt : ct);
@@ -8856,7 +8861,7 @@ const my = ({
8856
8861
  keyText: d,
8857
8862
  colsWithKeyTextMap: u,
8858
8863
  pinnedCols: o
8859
- }), z = W(() => Es(H, ($) => !!$.frozen).map(($) => $.key), [H]);
8864
+ }), z = W(() => Ts(H, ($) => !!$.frozen).map(($) => $.key), [H]);
8860
8865
  return P.current = z, {
8861
8866
  columns: V,
8862
8867
  reorderedColumns: H,
@@ -9195,7 +9200,7 @@ const my = ({
9195
9200
  fe(() => {
9196
9201
  n && s(/* @__PURE__ */ new Set());
9197
9202
  }, [n]);
9198
- const c = !!t.subRows, l = Fs(t.subRows), d = (x = t.subRows) == null ? void 0 : x.mergedColumns, {
9203
+ const c = !!t.subRows, l = zs(t.subRows), d = (x = t.subRows) == null ? void 0 : x.mergedColumns, {
9199
9204
  expandedAllRowsIds: a,
9200
9205
  allRowsMap: u
9201
9206
  } = W(() => {
@@ -9403,9 +9408,9 @@ const my = ({
9403
9408
  },
9404
9409
  // [onCellClickExternal]
9405
9410
  []
9406
- ), cc = (e) => typeof e == "object" ? Array.isArray(e) ? [...e] : {
9411
+ ), ac = (e) => typeof e == "object" ? Array.isArray(e) ? [...e] : {
9407
9412
  ...e
9408
- } : e, Ay = (e) => Hc ? structuredClone(e) : JSON.parse(JSON.stringify(e));
9413
+ } : e, Ay = (e) => Pc ? structuredClone(e) : JSON.parse(JSON.stringify(e));
9409
9414
  function Cy(e, t) {
9410
9415
  return t !== -1;
9411
9416
  }
@@ -9446,7 +9451,7 @@ const Ry = ({
9446
9451
  if (Cy(v, b)) {
9447
9452
  const I = s ? Ay(v) : v, A = y.slice(1).join("."), C = Fg(I, A), E = S;
9448
9453
  f.rows.push({
9449
- before: cc(C),
9454
+ before: ac(C),
9450
9455
  after: E
9451
9456
  }), f.indexes.push(b), Pg(I, A, E), s && (u[b] = I);
9452
9457
  }
@@ -9457,7 +9462,7 @@ const Ry = ({
9457
9462
  if (x >= 0) {
9458
9463
  const y = u[x], b = p;
9459
9464
  f.indexes.push(x), f.rows.push({
9460
- before: cc(y),
9465
+ before: ac(y),
9461
9466
  after: b
9462
9467
  }), u[x] = b;
9463
9468
  }
@@ -9509,8 +9514,8 @@ const Ry = ({
9509
9514
  const s = (e == null ? void 0 : e(o, i)) ?? "";
9510
9515
  let c = "";
9511
9516
  const l = !t || typeof (o == null ? void 0 : o[$n]) > "u", d = n && ai(o);
9512
- l && !d && (c = `${xa} ${c}`), d && (c = `${Rr} ${c}`);
9513
- const a = `${Sa}${i}`;
9517
+ l && !d && (c = `${Sa} ${c}`), d && (c = `${Rr} ${c}`);
9518
+ const a = `${ba}${i}`;
9514
9519
  return `${s} ${a} ${c}`;
9515
9520
  },
9516
9521
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -9555,7 +9560,7 @@ const Ry = ({
9555
9560
  },
9556
9561
  getRowDropdownConfig: (e == null ? void 0 : e.getRowDropdownConfig) ?? null
9557
9562
  };
9558
- }, ac = (e) => Array.from({
9563
+ }, dc = (e) => Array.from({
9559
9564
  length: e
9560
9565
  }, (t, n) => n), Oy = ({
9561
9566
  isLoadingTable: e,
@@ -9564,7 +9569,7 @@ const Ry = ({
9564
9569
  infinityScrollActiveInConfig: r,
9565
9570
  infinityScrollHasMore: o
9566
9571
  }) => ({
9567
- rowsWithSkeletonsOrNot: W(() => e ? ac(t).map(() => Wl) : r && o ? [...n, ...ac(Td).map(() => Wl)] : n, [t, n, o, r, e])
9572
+ rowsWithSkeletonsOrNot: W(() => e ? dc(t).map(() => jl) : r && o ? [...n, ...dc(Td).map(() => jl)] : n, [t, n, o, r, e])
9568
9573
  }), Ly = ({
9569
9574
  tableConfig: e
9570
9575
  }) => {
@@ -9611,7 +9616,7 @@ const Ry = ({
9611
9616
  toggle: () => {
9612
9617
  o(!r), setTimeout(() => {
9613
9618
  t != null && t.current && Nu(t == null ? void 0 : t.current, Aa.recalculateWidth);
9614
- }, Ia * 1e3 + By);
9619
+ }, Zo * 1e3 + By);
9615
9620
  },
9616
9621
  setWidth: s
9617
9622
  };
@@ -9659,15 +9664,15 @@ const Ry = ({
9659
9664
  pointerEvents: "none"
9660
9665
  }, onChange: () => {
9661
9666
  }, ...t });
9662
- }, dc = /* @__PURE__ */ new WeakMap(), ts = (e) => Hc ? structuredClone(e) : JSON.parse(JSON.stringify(e)), Hy = (e) => {
9667
+ }, uc = /* @__PURE__ */ new WeakMap(), ts = (e) => Pc ? structuredClone(e) : JSON.parse(JSON.stringify(e)), Hy = (e) => {
9663
9668
  if (!e)
9664
9669
  return {
9665
9670
  cache: /* @__PURE__ */ new Map()
9666
9671
  };
9667
- let t = dc.get(e);
9672
+ let t = uc.get(e);
9668
9673
  return t || (t = {
9669
9674
  cache: /* @__PURE__ */ new Map()
9670
- }, dc.set(e, t)), t;
9675
+ }, uc.set(e, t)), t;
9671
9676
  }, Py = (e, t, n) => {
9672
9677
  const r = e.cache.get(t);
9673
9678
  if (!r)
@@ -9690,16 +9695,16 @@ const Ry = ({
9690
9695
  }, zy = Ut("CB"), yi = () => typeof window < "u" && // eslint-disable-next-line no-underscore-dangle
9691
9696
  !!window.__CB_DEBUG__;
9692
9697
  let ns = !1, Go = 0;
9693
- const zs = (e) => {
9698
+ const Ms = (e) => {
9694
9699
  zy("[CB]", JSON.stringify(e));
9695
9700
  }, zn = (e) => Math.round(e), Ir = (e) => e == null ? void 0 : e.map(zn), My = (e, t) => {
9696
- zs({
9701
+ Ms({
9697
9702
  ev: "skip",
9698
9703
  reason: e,
9699
9704
  avail: zn(t)
9700
9705
  });
9701
9706
  }, Vy = (e, t, n, r) => {
9702
- !yi() || ns || (ns = !0, zs({
9707
+ !yi() || ns || (ns = !0, Ms({
9703
9708
  ev: "init",
9704
9709
  active: {
9705
9710
  collapse: e.leftSide.collapsingBlock.isActive,
@@ -9716,7 +9721,7 @@ const zs = (e) => {
9716
9721
  spacing: n,
9717
9722
  options: r
9718
9723
  }));
9719
- }, uc = (e) => {
9724
+ }, hc = (e) => {
9720
9725
  if (!yi())
9721
9726
  return;
9722
9727
  const {
@@ -9730,7 +9735,7 @@ const zs = (e) => {
9730
9735
  } = e, l = Go > 0 ? t < Go ? "shrink" : "expand" : "first";
9731
9736
  Go = t;
9732
9737
  const d = s;
9733
- zs({
9738
+ Ms({
9734
9739
  ev: "compress",
9735
9740
  dir: l,
9736
9741
  avail: zn(t),
@@ -9767,7 +9772,7 @@ const zs = (e) => {
9767
9772
  });
9768
9773
  }, Gy = () => {
9769
9774
  ns = !1, Go = 0;
9770
- }, hc = 210, Wy = 1, pc = 48, jy = 40, Yy = 126, Ky = 48, Uy = 28, Xy = (e, t, n, r) => {
9775
+ }, pc = 210, Wy = 1, fc = 48, jy = 40, Yy = 126, Ky = 48, Uy = 28, Xy = (e, t, n, r) => {
9771
9776
  var p, m;
9772
9777
  const o = n;
9773
9778
  let i = 0;
@@ -9786,12 +9791,12 @@ const zs = (e) => {
9786
9791
  }
9787
9792
  if (d && s("editModeLeftSlot", t.editModeLeftSlot), e.leftSide.editRowFeature.isActive)
9788
9793
  for (let g = 0; g < l; g += 1)
9789
- e.leftSide.editRowFeature.isLabelVisible ? s(`featureLeftBtn[${g}]`, ((p = t == null ? void 0 : t.featureLeftButtons) == null ? void 0 : p[g]) ?? 0) : s(`featureLeftBtn[${g}]icon`, ((m = t == null ? void 0 : t.featureLeftButtonsIcon) == null ? void 0 : m[g]) ?? pc);
9794
+ e.leftSide.editRowFeature.isLabelVisible ? s(`featureLeftBtn[${g}]`, ((p = t == null ? void 0 : t.featureLeftButtons) == null ? void 0 : p[g]) ?? 0) : s(`featureLeftBtn[${g}]icon`, ((m = t == null ? void 0 : t.featureLeftButtonsIcon) == null ? void 0 : m[g]) ?? fc);
9790
9795
  c && s("leftSideInnerBlock", (t == null ? void 0 : t.leftSideInnerBlock) ?? Yy), e.middle.searchingFeature.isActive && s("search", e.middle.searchingFeature.minWidth);
9791
9796
  let f = 0;
9792
9797
  e.rightSide.buttons.forEach((g, S) => {
9793
9798
  var y, b;
9794
- e.rightSide.overflowItems.some((v) => v.sourceType === "button" && v.sourceIndex === S && v.isInDropdown) || (f += 1, g.isLabelVisible ? s(`rightBtn[${S}]`, ((y = t == null ? void 0 : t.rightButtons) == null ? void 0 : y[S]) ?? 0) : s(`rightBtn[${S}]icon`, ((b = t == null ? void 0 : t.rightButtonsIcon) == null ? void 0 : b[S]) ?? pc));
9799
+ e.rightSide.overflowItems.some((v) => v.sourceType === "button" && v.sourceIndex === S && v.isInDropdown) || (f += 1, g.isLabelVisible ? s(`rightBtn[${S}]`, ((y = t == null ? void 0 : t.rightButtons) == null ? void 0 : y[S]) ?? 0) : s(`rightBtn[${S}]icon`, ((b = t == null ? void 0 : t.rightButtonsIcon) == null ? void 0 : b[S]) ?? fc));
9795
9800
  });
9796
9801
  let w = 0;
9797
9802
  return e.rightSide.customFeatures.forEach((g, S) => {
@@ -9818,10 +9823,10 @@ const zs = (e) => {
9818
9823
  apply: (e) => {
9819
9824
  e.leftSide.editRowFeature.isLabelVisible = !1;
9820
9825
  }
9821
- }, fc = {
9822
- applies: (e, t) => t.allowSearchShrink && e.middle.searchingFeature.isActive && e.middle.searchingFeature.minWidth > hc,
9826
+ }, gc = {
9827
+ applies: (e, t) => t.allowSearchShrink && e.middle.searchingFeature.isActive && e.middle.searchingFeature.minWidth > pc,
9823
9828
  apply: (e) => {
9824
- e.middle.searchingFeature.minWidth = hc;
9829
+ e.middle.searchingFeature.minWidth = pc;
9825
9830
  }
9826
9831
  }, ki = {
9827
9832
  applies: (e) => Zy(e),
@@ -9835,13 +9840,13 @@ const zs = (e) => {
9835
9840
  ...Ti,
9836
9841
  name: "1(edit): editRow labels to icon-only"
9837
9842
  }, {
9838
- ...fc,
9843
+ ...gc,
9839
9844
  name: "2(edit): search 250 to 210"
9840
9845
  }, {
9841
9846
  ...ki,
9842
9847
  name: "3(edit): right buttons labels to icon-only"
9843
9848
  }] : e.hasGroupingCounter ? [{
9844
- ...fc,
9849
+ ...gc,
9845
9850
  name: "1(group): search 250 to 210"
9846
9851
  }, {
9847
9852
  ...ki,
@@ -9855,7 +9860,7 @@ const zs = (e) => {
9855
9860
  }, {
9856
9861
  ...Ti,
9857
9862
  name: "2: editRow labels to icon-only"
9858
- }], Jy = 48, _y = 64, $y = 40, ex = 48, gc = 1, tx = ({
9863
+ }], Jy = 48, _y = 64, $y = 40, ex = 48, mc = 1, tx = ({
9859
9864
  leftSideInner: e,
9860
9865
  rightButtons: t,
9861
9866
  featureLeftButtons: n,
@@ -9886,7 +9891,7 @@ const zs = (e) => {
9886
9891
  featureLeftButtonsIcon: n.map(I),
9887
9892
  customFeatures: r.map((A) => {
9888
9893
  const C = "CustomIconRender" in A, E = C ? ex : $y, T = !C && "dividerLeft" in A && A.dividerLeft;
9889
- return E + (T ? gc : 0);
9894
+ return E + (T ? mc : 0);
9890
9895
  })
9891
9896
  };
9892
9897
  }, [t, n, r]), x = JSON.stringify({
@@ -9931,7 +9936,7 @@ const zs = (e) => {
9931
9936
  }), Object.entries(l.current).forEach(([R, O]) => {
9932
9937
  if (!O)
9933
9938
  return;
9934
- const L = Number(R), N = A[L], P = N && !("CustomIconRender" in N) && N.dividerLeft ? gc : 0;
9939
+ const L = Number(R), N = A[L], P = N && !("CustomIconRender" in N) && N.dividerLeft ? mc : 0;
9935
9940
  k("customFeatures", L, O.getBoundingClientRect().width + P);
9936
9941
  }), p.current && T("leftSideInnerBlock", p.current.getBoundingClientRect().width), w.current && T("overflowTrigger", w.current.getBoundingClientRect().width), E) {
9937
9942
  const R = (O) => O ? [...O] : void 0;
@@ -10051,7 +10056,7 @@ const zs = (e) => {
10051
10056
  }
10052
10057
  const v = Py(u.current, f(), g);
10053
10058
  if (v) {
10054
- uc({
10059
+ hc({
10055
10060
  availableWidth: g,
10056
10061
  contentWidthBefore: 0,
10057
10062
  steps: [],
@@ -10069,7 +10074,7 @@ const zs = (e) => {
10069
10074
  const E = {};
10070
10075
  let T = w(A, E);
10071
10076
  const k = T, B = () => {
10072
- uc({
10077
+ hc({
10073
10078
  availableWidth: g,
10074
10079
  contentWidthBefore: k,
10075
10080
  steps: C,
@@ -10142,7 +10147,7 @@ const zs = (e) => {
10142
10147
  calculateCurrentWidth: w,
10143
10148
  resetCompression: m
10144
10149
  };
10145
- }, mc = ({
10150
+ }, wc = ({
10146
10151
  buttons: e = [],
10147
10152
  dividerIndexes: t = [],
10148
10153
  triggerSlot: n,
@@ -10168,7 +10173,7 @@ const zs = (e) => {
10168
10173
  transition: "transform 0.2s ease",
10169
10174
  display: "inline-flex",
10170
10175
  alignItems: "center"
10171
- }, children: /* @__PURE__ */ h(Bc, { size: "s" }) }), style: {
10176
+ }, children: /* @__PURE__ */ h(Dc, { size: "s" }) }), style: {
10172
10177
  fontWeight: 500,
10173
10178
  paddingInline: "16px"
10174
10179
  } })
@@ -10183,7 +10188,7 @@ j(Qn).withConfig({
10183
10188
  })({
10184
10189
  paddingInline: Br.x8
10185
10190
  });
10186
- const Ms = j(ri).withConfig({
10191
+ const Vs = j(ri).withConfig({
10187
10192
  displayName: "control-block-button__StyledDivider"
10188
10193
  })({
10189
10194
  paddingLeft: "1px"
@@ -10193,7 +10198,7 @@ const Ms = j(ri).withConfig({
10193
10198
  $hasDropdown: e
10194
10199
  }) => e && X(["& > div > span:last-child{max-width:fit-content;min-width:unset;}"]), ({
10195
10200
  $buttonStyles: e
10196
- }) => e && X(["", ";"], e)), sx = (e) => !e || e.startsWith("link") ? "secondary" : e, wc = (e, t) => {
10201
+ }) => e && X(["", ";"], e)), sx = (e) => !e || e.startsWith("link") ? "secondary" : e, yc = (e, t) => {
10197
10202
  var n;
10198
10203
  return !t || !rt.isValidElement(e) || ((n = e.props) == null ? void 0 : n.size) != null ? e : rt.cloneElement(e, {
10199
10204
  size: t
@@ -10224,8 +10229,8 @@ const Ms = j(ri).withConfig({
10224
10229
  transition: "transform 0.2s ease"
10225
10230
  }, children: O }), k = v ? /* @__PURE__ */ h(Lr, { color: "inherit" }) : w.contentRight, B = f ? {
10226
10231
  ...w,
10227
- contentLeft: wc(w.contentLeft, f),
10228
- contentRight: T(wc(k, f))
10232
+ contentLeft: yc(w.contentLeft, f),
10233
+ contentRight: T(yc(k, f))
10229
10234
  } : {
10230
10235
  ...w,
10231
10236
  contentRight: T(k)
@@ -10233,7 +10238,7 @@ const Ms = j(ri).withConfig({
10233
10238
  let R = /* @__PURE__ */ h(ix, { ...m, size: u, ...B, view: S, text: x, $hasDropdown: y, $showLabel: o, $buttonStyles: c });
10234
10239
  return e && !A && (R = /* @__PURE__ */ h(Pt, { ...e, onToggle: (O) => E(O), children: R })), I && (R = /* @__PURE__ */ h(ni, { trigger: "hover", placement: "top", text: d, target: R })), /* @__PURE__ */ ne(qe, { children: [
10235
10240
  R,
10236
- !t && !l && /* @__PURE__ */ h(Ms, { orientation: "vertical", length: "16px" })
10241
+ !t && !l && /* @__PURE__ */ h(Vs, { orientation: "vertical", length: "16px" })
10237
10242
  ] });
10238
10243
  }, Fd = {
10239
10244
  s: {
@@ -10303,7 +10308,7 @@ const Ms = j(ri).withConfig({
10303
10308
  !!t.length && /* @__PURE__ */ h(qe, { children: t.map((l) => "CustomIconRender" in l || !(l != null && l.modal) ? null : l == null ? void 0 : l.modal) })
10304
10309
  ] })
10305
10310
  );
10306
- }, Vs = j(xe).withConfig({
10311
+ }, Gs = j(xe).withConfig({
10307
10312
  displayName: "styled__ControlBlockStyled"
10308
10313
  })(["display:flex;justify-content:space-between;align-items:center;height:", "px;max-height:", "px;padding-inline:", "px;border:1px solid;border-radius:", ";transition:", ";", " border-bottom-color:", ";overflow-y:hidden;overflow-x:auto;", ""], ({
10309
10314
  $containerHeight: e
@@ -10311,7 +10316,7 @@ const Ms = j(ri).withConfig({
10311
10316
  $containerHeight: e
10312
10317
  }) => e ?? gn, ({
10313
10318
  $containerPadding: e
10314
- }) => e ?? Tl.paddingInline, ({
10319
+ }) => e ?? kl.paddingInline, ({
10315
10320
  $borderTopRounded: e,
10316
10321
  $collapsedTable: t
10317
10322
  }) => {
@@ -10320,8 +10325,8 @@ const Ms = j(ri).withConfig({
10320
10325
  }, ({
10321
10326
  $collapsedTable: e
10322
10327
  }) => {
10323
- const t = e ? vc : 0;
10324
- return X(["all ", "s ease,border-radius 0s linear ", "s,border-bottom-color ", "s ease ", "s"], Wt, t, Ic, t);
10328
+ const t = e ? Ic : 0;
10329
+ return X(["all ", "s ease,border-radius 0s linear ", "s,border-bottom-color ", "s ease ", "s"], Wt, t, Ac, t);
10325
10330
  }, ({
10326
10331
  $activeView: e
10327
10332
  }) => X({
@@ -10344,7 +10349,7 @@ const Ms = j(ri).withConfig({
10344
10349
  font: r,
10345
10350
  indent: o,
10346
10351
  letterSpacing: i
10347
- } = Tl.searching, c = Hu(t || "", r, i);
10352
+ } = kl.searching, c = Hu(t || "", r, i);
10348
10353
  if (!t || t.length === 0)
10349
10354
  return X(["width:100%;min-width:", "px;"], n ?? 250);
10350
10355
  const l = o;
@@ -10362,7 +10367,7 @@ const Ms = j(ri).withConfig({
10362
10367
  })(["display:flex;align-items:center;"]), cx = {
10363
10368
  m: Ko,
10364
10369
  s: Ko,
10365
- xs: Mc
10370
+ xs: Vc
10366
10371
  }, ax = j.span.withConfig({
10367
10372
  displayName: "styled__InlineTitleText"
10368
10373
  })(["", " flex-shrink:0;padding-inline:8px;"], ({
@@ -10407,7 +10412,7 @@ const Ms = j(ri).withConfig({
10407
10412
  collapseButtonPlacement: T,
10408
10413
  titleText: k,
10409
10414
  titleRender: B
10410
- } = _n(), R = C && b === "inside", O = Z(null), L = W(() => [...t ?? [], ...a], [t, a]), N = W(() => L.some((le) => le.itemID === _o && !!le.contentRight), [L]), P = tx({
10415
+ } = _n(), R = C && b === "inside", O = Z(null), L = W(() => [...t ?? [], ...a], [t, a]), N = W(() => L.some((ce) => ce.itemID === _o && !!ce.contentRight), [L]), P = tx({
10411
10416
  leftSideInner: e,
10412
10417
  rightButtons: L,
10413
10418
  featureLeftButtons: u,
@@ -10443,16 +10448,16 @@ const Ms = j(ri).withConfig({
10443
10448
  buttons: L.map(() => ({
10444
10449
  isLabelVisible: !0
10445
10450
  })),
10446
- customFeatures: l.map((le) => ({
10451
+ customFeatures: l.map((ce) => ({
10447
10452
  // По умолчанию фича может уезжать в overflow-дропдаун (true).
10448
10453
  // Обязательные фичи (fullScreen, rowSize) ставят false явно.
10449
- canBeCompressed: le.canBeCompressedInToolsMenu ?? !0
10454
+ canBeCompressed: ce.canBeCompressedInToolsMenu ?? !0
10450
10455
  })),
10451
10456
  overflowItems: [],
10452
10457
  isOverflowTriggerVisible: !1,
10453
10458
  hasGroupingCounter: N
10454
10459
  }
10455
- }), [R, c.editingMode, i, e, f, w, L, N, l]), K = la(), {
10460
+ }), [R, c.editingMode, i, e, f, w, L, N, l]), K = ca(), {
10456
10461
  compressedState: Y,
10457
10462
  compress: F
10458
10463
  } = rx(z, V, K == null ? void 0 : K.current, {
@@ -10477,16 +10482,16 @@ const Ms = j(ri).withConfig({
10477
10482
  editModeEnabled: i,
10478
10483
  isCollapsed: E
10479
10484
  });
10480
- const M = Q((le) => {
10485
+ const M = Q((ce) => {
10481
10486
  var ve;
10482
- const he = le[0];
10487
+ const he = ce[0];
10483
10488
  if (he) {
10484
10489
  const {
10485
10490
  width: Te
10486
10491
  } = he.contentRect;
10487
10492
  Te && typeof Te == "number" && F(((ve = O.current) == null ? void 0 : ve.clientWidth) ?? Te);
10488
10493
  }
10489
- }, [F]), U = W(() => Nc(M, 100), [M]);
10494
+ }, [F]), U = W(() => Hc(M, 100), [M]);
10490
10495
  fs(U), Pr(() => {
10491
10496
  O.current && F(O.current.clientWidth);
10492
10497
  }, [F]), fe(() => {
@@ -10499,35 +10504,35 @@ const Ms = j(ri).withConfig({
10499
10504
  const {
10500
10505
  overflowItems: $,
10501
10506
  isOverflowTriggerVisible: J
10502
- } = Y.rightSide, se = Q((le, he) => $.some((ve) => ve.sourceType === le && ve.sourceIndex === he && ve.isInDropdown), [$]), we = e ?? [], ue = we.length >= 2, ae = L.filter((le, he) => !se("button", he)), ie = l.filter((le, he) => !se("customFeature", he)), ge = ["full-screen", "rowSize", "view-mode"];
10507
+ } = Y.rightSide, se = Q((ce, he) => $.some((ve) => ve.sourceType === ce && ve.sourceIndex === he && ve.isInDropdown), [$]), we = e ?? [], ue = we.length >= 2, ae = L.filter((ce, he) => !se("button", he)), ie = l.filter((ce, he) => !se("customFeature", he)), ge = ["full-screen", "rowSize", "view-mode"];
10503
10508
  let ye = 0;
10504
- for (const le of ie) {
10505
- if (!ge.includes(le.value))
10509
+ for (const ce of ie) {
10510
+ if (!ge.includes(ce.value))
10506
10511
  break;
10507
10512
  ye += 1;
10508
10513
  }
10509
10514
  const me = W(() => {
10510
10515
  if (!J)
10511
10516
  return [];
10512
- const le = [];
10517
+ const ce = [];
10513
10518
  return L.forEach((he, ve) => {
10514
- se("button", ve) && le.push(he);
10519
+ se("button", ve) && ce.push(he);
10515
10520
  }), l.forEach((he, ve) => {
10516
- se("customFeature", ve) && le.push(he);
10517
- }), le;
10518
- }, [J, L, l, se]), Le = f && w, Ae = ae.length > 0, Me = ie.length > 0, Ye = () => ue ? /* @__PURE__ */ h(mc, { buttons: we, dropdownProps: x }) : we.map((le, he) => {
10521
+ se("customFeature", ve) && ce.push(he);
10522
+ }), ce;
10523
+ }, [J, L, l, se]), Le = f && w, Ce = ae.length > 0, Me = ie.length > 0, Ye = () => ue ? /* @__PURE__ */ h(wc, { buttons: we, dropdownProps: x }) : we.map((ce, he) => {
10519
10524
  var ve, Te;
10520
- return /* @__PURE__ */ h(rt.Fragment, { children: /* @__PURE__ */ h(Oi, { ref: (He) => H(He, he, "leftSideInner"), children: /* @__PURE__ */ h(Or, { ...le, index: he, buttonSize: I.sideInnerButton, iconSize: I.sideInnerIcon, showLabel: ((Te = (ve = Y.leftSide.leftSideInner) == null ? void 0 : ve[he]) == null ? void 0 : Te.isLabelVisible) ?? !0 }) }) }, le.key ?? `${le.text}${he}`);
10525
+ return /* @__PURE__ */ h(rt.Fragment, { children: /* @__PURE__ */ h(Oi, { ref: (Pe) => H(Pe, he, "leftSideInner"), children: /* @__PURE__ */ h(Or, { ...ce, index: he, buttonSize: I.sideInnerButton, iconSize: I.sideInnerIcon, showLabel: ((Te = (ve = Y.leftSide.leftSideInner) == null ? void 0 : ve[he]) == null ? void 0 : Te.isLabelVisible) ?? !0 }) }) }, ce.key ?? `${ce.text}${he}`);
10521
10526
  });
10522
- return /* @__PURE__ */ h(ds, { isOpen: n, sizeOnOpen: A.containerHeight, unMountOnClose: !0, children: /* @__PURE__ */ ne(Vs, { ref: O, $activeView: r, $borderTopRounded: b === "above" ? !1 : g, $isVisibleSearching: Le, $calculatedSearchQuery: p, $searchMinWidth: Y.middle.searchingFeature.minWidth, $placeholderSearchBlock: m, $collapsedTable: E, $containerPadding: A.containerPadding, $containerHeight: A.containerHeight, children: [
10527
+ return /* @__PURE__ */ h(ds, { isOpen: n, sizeOnOpen: A.containerHeight, unMountOnClose: !0, children: /* @__PURE__ */ ne(Gs, { ref: O, $activeView: r, $borderTopRounded: b === "above" ? !1 : g, $isVisibleSearching: Le, $calculatedSearchQuery: p, $searchMinWidth: Y.middle.searchingFeature.minWidth, $placeholderSearchBlock: m, $collapsedTable: E, $containerPadding: A.containerPadding, $containerHeight: A.containerHeight, children: [
10523
10528
  T !== "above" && (k || B) ? B || /* @__PURE__ */ h(ax, { ref: q, $size: v || "m", children: k }) : null,
10524
10529
  (R || i && s || u.length > 0 || we.length > 0) && /* @__PURE__ */ ne(Nn, { alignment: "center", style: {
10525
10530
  flexWrap: "nowrap"
10526
10531
  }, children: [
10527
- R && /* @__PURE__ */ h(ui, { ref: (le) => H(le, 0, "collapsingBlock"), buttonSize: I.collapsingButton, iconSize: I.collapsingIcon }),
10532
+ R && /* @__PURE__ */ h(ui, { ref: (ce) => H(ce, 0, "collapsingBlock"), buttonSize: I.collapsingButton, iconSize: I.collapsingIcon }),
10528
10533
  /* @__PURE__ */ ne(Md, { $gap: A.leftPartGap, $paddingRight: A.leftPartPaddingRight, children: [
10529
10534
  i && s && /* @__PURE__ */ h("div", { ref: re, children: s }),
10530
- u.map((le, he, ve) => /* @__PURE__ */ h(rt.Fragment, { children: /* @__PURE__ */ h(Oi, { ref: (Te) => H(Te, he, "featureLeftButton"), children: /* @__PURE__ */ h(Or, { ...le, index: he, buttonSize: I.sideInnerButton, iconSize: I.sideInnerIcon, isLastButtonInnArray: (le == null ? void 0 : le.skipRightDivider) || he === ve.length - 1 && we.length === 0, showLabel: Y.leftSide.editRowFeature.isLabelVisible ?? !0 }) }) }, le.key ?? `${le.text}${he}`)),
10535
+ u.map((ce, he, ve) => /* @__PURE__ */ h(rt.Fragment, { children: /* @__PURE__ */ h(Oi, { ref: (Te) => H(Te, he, "featureLeftButton"), children: /* @__PURE__ */ h(Or, { ...ce, index: he, buttonSize: I.sideInnerButton, iconSize: I.sideInnerIcon, isLastButtonInnArray: (ce == null ? void 0 : ce.skipRightDivider) || he === ve.length - 1 && we.length === 0, showLabel: Y.leftSide.editRowFeature.isLabelVisible ?? !0 }) }) }, ce.key ?? `${ce.text}${he}`)),
10531
10536
  we.length > 0 && /* @__PURE__ */ h("div", { ref: D, style: {
10532
10537
  display: "flex",
10533
10538
  alignItems: "center"
@@ -10536,17 +10541,17 @@ const Ms = j(ri).withConfig({
10536
10541
  ] }),
10537
10542
  /* @__PURE__ */ h("div", { className: ht.searchControlBlock, children: Le && /* @__PURE__ */ h(bd, { isVisible: w, size: I.searchField, iconSize: I.searchIcon }) }),
10538
10543
  /* @__PURE__ */ ne(xe, { $css: "display: flex; align-items: center;", className: ht.rightControlBlock, children: [
10539
- Ae && /* @__PURE__ */ h(Vd, { $gap: A.rightButtonsGap, $paddingInline: A.rightButtonsPaddingInline, children: ae.map((le) => {
10544
+ Ce && /* @__PURE__ */ h(Vd, { $gap: A.rightButtonsGap, $paddingInline: A.rightButtonsPaddingInline, children: ae.map((ce) => {
10540
10545
  var ve;
10541
- const he = L.indexOf(le);
10542
- return /* @__PURE__ */ h(rt.Fragment, { children: /* @__PURE__ */ h(Oi, { ref: (Te) => H(Te, he, "rightButton"), children: /* @__PURE__ */ h(Or, { ...le, index: he, buttonSize: I.sideInnerButton, iconSize: I.sideInnerIcon, showLabel: ((ve = Y.rightSide.buttons[he]) == null ? void 0 : ve.isLabelVisible) ?? !0 }) }) }, le.key ?? `${le.text}${he}`);
10546
+ const he = L.indexOf(ce);
10547
+ return /* @__PURE__ */ h(rt.Fragment, { children: /* @__PURE__ */ h(Oi, { ref: (Te) => H(Te, he, "rightButton"), children: /* @__PURE__ */ h(Or, { ...ce, index: he, buttonSize: I.sideInnerButton, iconSize: I.sideInnerIcon, showLabel: ((ve = Y.rightSide.buttons[he]) == null ? void 0 : ve.isLabelVisible) ?? !0 }) }) }, ce.key ?? `${ce.text}${he}`);
10543
10548
  }) }),
10544
- Me && Ae && /* @__PURE__ */ h(Ms, { orientation: "vertical", length: "16px" }),
10545
- /* @__PURE__ */ h(zd, { icons: ie, featureItems: d, featureIconSize: I.featureIcon, triggerAfterCount: ye, triggerSlot: J ? /* @__PURE__ */ h("div", { ref: G, children: /* @__PURE__ */ h(mc, { buttons: me, triggerSlot: /* @__PURE__ */ h(Qn, { size: I.overflowTriggerButton, contentRight: /* @__PURE__ */ h(os, { size: I.overflowTriggerIcon }), style: {
10549
+ Me && Ce && /* @__PURE__ */ h(Vs, { orientation: "vertical", length: "16px" }),
10550
+ /* @__PURE__ */ h(zd, { icons: ie, featureItems: d, featureIconSize: I.featureIcon, triggerAfterCount: ye, triggerSlot: J ? /* @__PURE__ */ h("div", { ref: G, children: /* @__PURE__ */ h(wc, { buttons: me, triggerSlot: /* @__PURE__ */ h(Qn, { size: I.overflowTriggerButton, contentRight: /* @__PURE__ */ h(os, { size: I.overflowTriggerIcon }), style: {
10546
10551
  paddingInline: "5px 8px"
10547
- } }), dropdownProps: y }) }) : void 0, registerIconRef: (le, he) => {
10552
+ } }), dropdownProps: y }) }) : void 0, registerIconRef: (ce, he) => {
10548
10553
  const ve = l.findIndex((Te) => Te.value === he);
10549
- ve > -1 && H(le, ve, "customFeatures");
10554
+ ve > -1 && H(ce, ve, "customFeatures");
10550
10555
  } })
10551
10556
  ] })
10552
10557
  ] }) });
@@ -10579,7 +10584,7 @@ const Ms = j(ri).withConfig({
10579
10584
  const {
10580
10585
  isCollapsed: m
10581
10586
  } = _n(), g = di(p), S = Wa(p), x = [...t ?? [], ...s], y = [...c, ...e ?? []];
10582
- return /* @__PURE__ */ h(ds, { isOpen: n, sizeOnOpen: gn, unMountOnClose: !0, children: /* @__PURE__ */ ne(Vs, { $activeView: r, $borderTopRounded: w === "above" ? !1 : f, $isVisibleSearching: l && d, $calculatedSearchQuery: a, $placeholderSearchBlock: u, $collapsedTable: m, $containerPadding: S.containerPadding, $containerHeight: S.containerHeight, children: [
10587
+ return /* @__PURE__ */ h(ds, { isOpen: n, sizeOnOpen: gn, unMountOnClose: !0, children: /* @__PURE__ */ ne(Gs, { $activeView: r, $borderTopRounded: w === "above" ? !1 : f, $isVisibleSearching: l && d, $calculatedSearchQuery: a, $placeholderSearchBlock: u, $collapsedTable: m, $containerPadding: S.containerPadding, $containerHeight: S.containerHeight, children: [
10583
10588
  /* @__PURE__ */ ne(Nn, { alignment: "center", style: {
10584
10589
  flexWrap: "nowrap"
10585
10590
  }, children: [
@@ -10589,11 +10594,11 @@ const Ms = j(ri).withConfig({
10589
10594
  l && /* @__PURE__ */ h("div", { className: ht.searchControlBlock, children: /* @__PURE__ */ h(bd, { isVisible: d }) }),
10590
10595
  /* @__PURE__ */ ne(xe, { $css: "display: flex; align-items: center;", className: ht.rightControlBlock, children: [
10591
10596
  !!x.length && /* @__PURE__ */ h(Vd, { $gap: S.rightButtonsGap, $paddingInline: S.rightButtonsPaddingInline, children: x.map((b, v) => /* @__PURE__ */ h(Or, { ...b, index: v, buttonSize: g.sideInnerButton, iconSize: g.sideInnerIcon, showLabel: !0 }, b.key ?? `${b == null ? void 0 : b.text} ${v}`)) }),
10592
- !!x.length && !!o.length && /* @__PURE__ */ h(Ms, { orientation: "vertical", length: "16px" }),
10597
+ !!x.length && !!o.length && /* @__PURE__ */ h(Vs, { orientation: "vertical", length: "16px" }),
10593
10598
  /* @__PURE__ */ h(zd, { icons: o, featureItems: i, featureIconSize: g.featureIcon })
10594
10599
  ] })
10595
10600
  ] }) });
10596
- }, fx = "mass-actions-panel", yc = {
10601
+ }, fx = "mass-actions-panel", xc = {
10597
10602
  surfaceSolidCard: () => qn,
10598
10603
  outlineSolidPrimary: () => Jn
10599
10604
  }, gx = j(Qn).withConfig({
@@ -10612,7 +10617,7 @@ const Ms = j(ri).withConfig({
10612
10617
  $bottom: e
10613
10618
  }) => e ?? 24, ({
10614
10619
  $translateX: e
10615
- }) => e !== void 0 ? `translateX(calc(-50% + ${e}px))` : "translateX(-50%)", yc.surfaceSolidCard, yc.outlineSolidPrimary, ({
10620
+ }) => e !== void 0 ? `translateX(calc(-50% + ${e}px))` : "translateX(-50%)", xc.surfaceSolidCard, xc.outlineSolidPrimary, ({
10616
10621
  $isCollapsed: e,
10617
10622
  $size: t
10618
10623
  }) => {
@@ -10646,7 +10651,7 @@ const Ms = j(ri).withConfig({
10646
10651
  displayName: "styled__ButtonMeasurementWrapper"
10647
10652
  })(["display:inline-flex;width:auto;height:auto;"]), Rx = j.div.withConfig({
10648
10653
  displayName: "styled__VisibleButtonWrapper"
10649
- })(["margin-left:0;"]), Ex = j(Lc).withConfig({
10654
+ })(["margin-left:0;"]), Ex = j(Bc).withConfig({
10650
10655
  displayName: "styled__CollapseIcon"
10651
10656
  })(["transition:all 0.3s;transform:", ";"], ({
10652
10657
  $isCollapsed: e
@@ -11055,7 +11060,7 @@ const kx = (e) => {
11055
11060
  }) => {
11056
11061
  const r = e.size ?? (t ? n : "s");
11057
11062
  return /* @__PURE__ */ h(Wd, { ...e, size: r, showLabel: !0 });
11058
- }, xc = (e, t, n = "xs") => e.type === "button" ? /* @__PURE__ */ h(jx, { button: e, isCompact: t, compactSize: n }) : /* @__PURE__ */ h(Yx, { button: e, isCompact: t, compactSize: n }), Kx = ({
11063
+ }, Sc = (e, t, n = "xs") => e.type === "button" ? /* @__PURE__ */ h(jx, { button: e, isCompact: t, compactSize: n }) : /* @__PURE__ */ h(Yx, { button: e, isCompact: t, compactSize: n }), Kx = ({
11059
11064
  buttons: e,
11060
11065
  isHaveSomeFeatureInSidebar: t = !1,
11061
11066
  collapsedDropdownProps: n,
@@ -11065,7 +11070,7 @@ const kx = (e) => {
11065
11070
  }) => {
11066
11071
  const {
11067
11072
  down: s
11068
- } = Dc(), c = i ? i === "xs" : s("xl"), l = i ? "xxs" : "xs", {
11073
+ } = Nc(), c = i ? i === "xs" : s("xl"), l = i ? "xxs" : "xs", {
11069
11074
  selectedRows: d,
11070
11075
  selectingRowConfig: a
11071
11076
  } = bs(), {
@@ -11148,7 +11153,7 @@ const kx = (e) => {
11148
11153
  const Y = z.key ?? `${z.text}${K}`;
11149
11154
  return /* @__PURE__ */ h(Cx, { ref: (F) => {
11150
11155
  S.current[K] = F;
11151
- }, children: xc(z, c, l) }, `measure-${Y}`);
11156
+ }, children: Sc(z, c, l) }, `measure-${Y}`);
11152
11157
  }) }),
11153
11158
  I && /* @__PURE__ */ h("div", { ref: b, children: /* @__PURE__ */ h(yp, { isHaveRightDivider: !1, hideCheckbox: !0, onChangeHandlerRef: D }) }),
11154
11159
  /* @__PURE__ */ ne(Sx, { $isCollapsed: f, children: [
@@ -11166,7 +11171,7 @@ const kx = (e) => {
11166
11171
  ...n
11167
11172
  }, triggerSlot: /* @__PURE__ */ h(Ct, { view: "secondary", size: c ? l : "s", contentLeft: /* @__PURE__ */ h(os, { size: c ? "xs" : "s" }) }) }) }),
11168
11173
  q.map((z, K, Y) => {
11169
- const F = z.key ?? `${z.text}${K}`, M = /* @__PURE__ */ h(Rx, { $isFirst: K === 0, $isLast: K + 1 === Y.length, $hasDropdown: re.length > 0, children: xc(z, c, l) }, F);
11174
+ const F = z.key ?? `${z.text}${K}`, M = /* @__PURE__ */ h(Rx, { $isFirst: K === 0, $isLast: K + 1 === Y.length, $hasDropdown: re.length > 0, children: Sc(z, c, l) }, F);
11170
11175
  return z.disabled && z.disabledTooltipProps ? /* @__PURE__ */ h(ni, { trigger: "hover", ...z.disabledTooltipProps, children: M }, F) : M;
11171
11176
  })
11172
11177
  ] }),
@@ -11221,7 +11226,7 @@ const kx = (e) => {
11221
11226
  displayName: "TableLoadingOverlay__Title"
11222
11227
  })(["padding:0;margin:0;margin-bottom:6px;", " text-align:center;color:", ";opacity:0;animation:", " 0.3s ease-out forwards;animation-delay:0.2s;transition:", ";"], () => Zx(), () => ss, ii, Mr), _x = j.h3.withConfig({
11223
11228
  displayName: "TableLoadingOverlay__Subtitle"
11224
- })(["padding:0;margin:0;min-height:20px;", " text-align:center;color:", ";opacity:0;transform:translateY(-10px);transition:", ";", ""], () => qx(), () => Ne, Mr, ({
11229
+ })(["padding:0;margin:0;min-height:20px;", " text-align:center;color:", ";opacity:0;transform:translateY(-10px);transition:", ";", ""], () => qx(), () => He, Mr, ({
11225
11230
  $show: e
11226
11231
  }) => e && X(["opacity:1;transform:translateY(0);"])), $x = j.div.withConfig({
11227
11232
  displayName: "TableLoadingOverlay__Container"
@@ -11229,7 +11234,7 @@ const kx = (e) => {
11229
11234
  $borderTopRounded: e
11230
11235
  }) => e ? zo : `0 0 ${zo} ${zo}`, () => qn, Mr, ii), eS = j.div.withConfig({
11231
11236
  displayName: "TableLoadingOverlay__SpinnerContainer"
11232
- })(["margin-bottom:", ";align-self:center;transition:", ";animation:", " 0.2s ease-out forwards;animation-delay:0.1s;"], zc, Mr, ii), tS = ({
11237
+ })(["margin-bottom:", ";align-self:center;transition:", ";animation:", " 0.2s ease-out forwards;animation-delay:0.1s;"], Mc, Mr, ii), tS = ({
11233
11238
  loadingOverlayConfig: e = {},
11234
11239
  containerStyle: t,
11235
11240
  borderTopRounded: n = !0
@@ -11306,7 +11311,7 @@ const rS = ({
11306
11311
  enableHeaderContextMenu: D,
11307
11312
  enableCellContextMenu: z,
11308
11313
  openCellContextMenu: K
11309
- } = ea(), Y = nS("cards", e), F = !Y, M = m ? te.tableContainerFullScreened : "", {
11314
+ } = ta(), Y = nS("cards", e), F = !Y, M = m ? te.tableContainerFullScreened : "", {
11310
11315
  isCollapsed: U,
11311
11316
  enableCollapse: $
11312
11317
  } = _n(), J = Pu(), se = W(() => ({
@@ -11371,8 +11376,8 @@ const rS = ({
11371
11376
  ] })
11372
11377
  }
11373
11378
  );
11374
- return m && g ? jc(ue, g) : ue;
11375
- }, Li = "control-block__edit-btn", oS = "control-block__edit-btn__cancel", Sc = Number.MAX_SAFE_INTEGER;
11379
+ return m && g ? Yc(ue, g) : ue;
11380
+ }, Li = "control-block__edit-btn", oS = "control-block__edit-btn__cancel", bc = Number.MAX_SAFE_INTEGER;
11376
11381
  function iS(e, t = []) {
11377
11382
  const n = e.map((o) => ({
11378
11383
  ...o
@@ -11398,13 +11403,13 @@ function iS(e, t = []) {
11398
11403
  item: o,
11399
11404
  index: i
11400
11405
  })).sort((o, i) => {
11401
- const s = o.item.order ?? Sc, c = i.item.order ?? Sc;
11406
+ const s = o.item.order ?? bc, c = i.item.order ?? bc;
11402
11407
  return s !== c ? s - c : o.index - i.index;
11403
11408
  }).map(({
11404
11409
  item: o
11405
11410
  }) => o);
11406
11411
  }
11407
- const sS = "pinning-menu", bc = {
11412
+ const sS = "pinning-menu", vc = {
11408
11413
  reset: "reset-pinning",
11409
11414
  pinColumns: "pin-columns"
11410
11415
  };
@@ -11419,14 +11424,14 @@ function lS({
11419
11424
  onIconClick: c
11420
11425
  }) {
11421
11426
  const l = Fd[o].icon, d = [{
11422
- value: bc.reset,
11427
+ value: vc.reset,
11423
11428
  label: "Открепить всё",
11424
11429
  icon: (w) => /* @__PURE__ */ h(Au, { color: "inherit", size: Kt(w.rowSize) }),
11425
11430
  onClick: r,
11426
11431
  order: 100,
11427
11432
  dividerAfter: !0
11428
11433
  }, {
11429
- value: bc.pinColumns,
11434
+ value: vc.pinColumns,
11430
11435
  label: "Закрепить столбцы",
11431
11436
  icon: (w) => /* @__PURE__ */ h(Cu, { color: "inherit", size: Kt(w.rowSize) }),
11432
11437
  onClick: n,
@@ -11550,16 +11555,16 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11550
11555
  }), [H, q, re]), $ = Q(() => {
11551
11556
  D.length > 0 && z(D);
11552
11557
  }, [D, z]), J = Q(() => {
11553
- var ce;
11558
+ var le;
11554
11559
  if (D.length === 0) {
11555
- (ce = e.notifications) == null || ce.onNotification(jt.pinNoSelection());
11560
+ (le = e.notifications) == null || le.onNotification(jt.pinNoSelection());
11556
11561
  return;
11557
11562
  }
11558
- L((Ce) => wg(Ce, D, U)), $();
11563
+ L((Ie) => wg(Ie, D, U)), $();
11559
11564
  }, [L, D, U, e.notifications, $]), se = Q(() => {
11560
- L((ce) => nd(ce, D, U)), $();
11565
+ L((le) => nd(le, D, U)), $();
11561
11566
  }, [L, D, U, $]), we = Q(() => {
11562
- L((ce) => yg(ce, U)), $();
11567
+ L((le) => yg(le, U)), $();
11563
11568
  }, [L, U, $]), ue = xg({
11564
11569
  selectedKeys: D,
11565
11570
  pinnedCols: O,
@@ -11586,8 +11591,8 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11586
11591
  contentLeft: /* @__PURE__ */ h(Zn, { size: "xs", color: "inherit" }),
11587
11592
  ...me == null ? void 0 : me.cancel,
11588
11593
  onClick: () => {
11589
- var ce, Ce, Pe;
11590
- return (ce = e.editing) != null && ce.onCancel ? (Pe = (Ce = e.editing) == null ? void 0 : Ce.onCancel) == null ? void 0 : Pe.call(Ce, ye) : ye();
11594
+ var le, Ie, Be;
11595
+ return (le = e.editing) != null && le.onCancel ? (Be = (Ie = e.editing) == null ? void 0 : Ie.onCancel) == null ? void 0 : Be.call(Ie, ye) : ye();
11591
11596
  },
11592
11597
  className: Mn(Li, oS, (wt = (Ft = (Je = e == null ? void 0 : e.editing) == null ? void 0 : Je.domMetadata) == null ? void 0 : Ft.cancelButton) == null ? void 0 : wt.className, (yt = me == null ? void 0 : me.cancel) == null ? void 0 : yt.className),
11593
11598
  ...(qt = (ct = (Zt = e.editing) == null ? void 0 : Zt.domMetadata) == null ? void 0 : ct.cancelButton) == null ? void 0 : qt.dataAttributes
@@ -11598,8 +11603,8 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11598
11603
  contentLeft: /* @__PURE__ */ h(oi, { size: "xs", color: "inherit" }),
11599
11604
  ...me == null ? void 0 : me.save,
11600
11605
  onClick: () => {
11601
- var ce, Ce, Pe;
11602
- return (ce = e.editing) != null && ce.onSave ? (Pe = (Ce = e.editing) == null ? void 0 : Ce.onSave) == null ? void 0 : Pe.call(Ce, ye) : ye();
11606
+ var le, Ie, Be;
11607
+ return (le = e.editing) != null && le.onSave ? (Be = (Ie = e.editing) == null ? void 0 : Ie.onSave) == null ? void 0 : Be.call(Ie, ye) : ye();
11603
11608
  },
11604
11609
  className: Mn(Li, (An = (Jt = (kt = e == null ? void 0 : e.editing) == null ? void 0 : kt.domMetadata) == null ? void 0 : Jt.saveButton) == null ? void 0 : An.className, (zt = me == null ? void 0 : me.save) == null ? void 0 : zt.className),
11605
11610
  ...(Vt = (Mt = (_t = e.editing) == null ? void 0 : _t.domMetadata) == null ? void 0 : Mt.saveButton) == null ? void 0 : Vt.dataAttributes
@@ -11610,12 +11615,12 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11610
11615
  contentLeft: /* @__PURE__ */ h(ku, { size: "xs", color: "inherit" }),
11611
11616
  ...me == null ? void 0 : me.edit,
11612
11617
  onClick: () => {
11613
- var ce;
11614
- return (ce = e.editing) != null && ce.onEnableEditing ? e.editing.onEnableEditing(ge) : ge();
11618
+ var le;
11619
+ return (le = e.editing) != null && le.onEnableEditing ? e.editing.onEnableEditing(ge) : ge();
11615
11620
  },
11616
11621
  className: Mn(Li, (ke = (Se = ($t = e == null ? void 0 : e.editing) == null ? void 0 : $t.domMetadata) == null ? void 0 : Se.enableButton) == null ? void 0 : ke.className, (at = me == null ? void 0 : me.edit) == null ? void 0 : at.className),
11617
11622
  ...(_e = (Ot = (xt = e.editing) == null ? void 0 : xt.domMetadata) == null ? void 0 : Ot.enableButton) == null ? void 0 : _e.dataAttributes
11618
- })], Ae = [...Ar(M.keyText, {
11623
+ })], Ce = [...Ar(M.keyText, {
11619
11624
  text: "Ключ-текст",
11620
11625
  // Ключик виден ВСЕГДА (и с лейблом, и в icon-only).
11621
11626
  // Шеврон раскрытия справа рисует сама кнопка (авто-шеврон по dropdown),
@@ -11623,10 +11628,10 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11623
11628
  contentLeft: /* @__PURE__ */ h(Fo, { color: "inherit" }),
11624
11629
  // В overflow дропдауне иконку берём на ступень меньше на маленьком
11625
11630
  // rowSize (как остальные пункты дропдауна)
11626
- dropdownIconRender: (ce) => /* @__PURE__ */ h(Fo, { color: "inherit", size: Kt(ce.rowSize) }),
11631
+ dropdownIconRender: (le) => /* @__PURE__ */ h(Fo, { color: "inherit", size: Kt(le.rowSize) }),
11627
11632
  dropdown: {
11628
- onItemSelect: (ce) => m(ce.value),
11629
- items: Rs({
11633
+ onItemSelect: (le) => m(le.value),
11634
+ items: Es({
11630
11635
  keyText: p,
11631
11636
  rowSize: c
11632
11637
  })
@@ -11643,11 +11648,11 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11643
11648
  placeholderSearchBlock: E
11644
11649
  }, {
11645
11650
  all: Ye,
11646
- icons: le,
11651
+ icons: ce,
11647
11652
  featureItems: he
11648
11653
  } = (() => {
11649
11654
  var Tn, et, nr, rr, or, ir, go, mo, sr, wo, yo, lr, xo, So, bo, vo, cr, ar, dr, ur, hr, pr;
11650
- const ce = [
11655
+ const le = [
11651
11656
  ...Dn(M.fullScreen, {
11652
11657
  value: "full-screen",
11653
11658
  label: a ? "Выйти из полноэкранного режима" : "На весь экран",
@@ -11655,7 +11660,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11655
11660
  // левее). Дивайдер один, слева от связки: если rowSize активен —
11656
11661
  // дивайдер у него, иначе у fullScreen.
11657
11662
  dividerLeft: !M.rowSize,
11658
- onClick: () => u((Be) => !Be),
11663
+ onClick: () => u((De) => !De),
11659
11664
  Icon: a ? Eu : Tu,
11660
11665
  mandatory: !0,
11661
11666
  // Добавляем флаг обязательности
@@ -11670,14 +11675,14 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11670
11675
  label: tw(c),
11671
11676
  onClick: () => {
11672
11677
  var fr, nn, gr;
11673
- let Be;
11678
+ let De;
11674
11679
  l((Io) => {
11675
11680
  var rn, mr;
11676
11681
  const kn = $m(Io, e.rowSize);
11677
- return (mr = (rn = e.rowSize) == null ? void 0 : rn.onRowSizeChange) == null || mr.call(rn, kn), Be = kn, kn;
11682
+ return (mr = (rn = e.rowSize) == null ? void 0 : rn.onRowSizeChange) == null || mr.call(rn, kn), De = kn, kn;
11678
11683
  }), (gr = (nn = (fr = e.rowSize) == null ? void 0 : fr.domMetadata) == null ? void 0 : nn.onClick) == null || gr.call(nn, void 0, {
11679
11684
  action: At.CHANGE_ROW_SIZE,
11680
- size: Be
11685
+ size: De
11681
11686
  });
11682
11687
  },
11683
11688
  Icon: ew(c),
@@ -11697,7 +11702,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11697
11702
  value: "view-mode",
11698
11703
  label: "Изменить вид отображения",
11699
11704
  onClick: () => {
11700
- n((Be) => Be === "cards" && "rows" || "cards");
11705
+ n((De) => De === "cards" && "rows" || "cards");
11701
11706
  },
11702
11707
  Icon: t === "rows" && Ni || Hi,
11703
11708
  mandatory: !0,
@@ -11723,7 +11728,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11723
11728
  iconTooltip: ue.tooltip,
11724
11729
  onIconClick: ae
11725
11730
  }))
11726
- ], Ce = [
11731
+ ], Ie = [
11727
11732
  // Перенеслись в sidebar
11728
11733
  // ...ifTrue(isActivated.summaryRows, {
11729
11734
  // value: 'summary-rows',
@@ -11769,12 +11774,12 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11769
11774
  // },
11770
11775
  // },
11771
11776
  // }),
11772
- ...(((ar = e.controlBlock) == null ? void 0 : ar.customFeatures) ?? []).map((Be) => ({
11773
- ...Be,
11774
- mandatory: Be.mandatory || !1,
11775
- canBeCompressedInToolsMenu: Be.canBeCompressedInToolsMenu ?? !0
11777
+ ...(((ar = e.controlBlock) == null ? void 0 : ar.customFeatures) ?? []).map((De) => ({
11778
+ ...De,
11779
+ mandatory: De.mandatory || !1,
11780
+ canBeCompressedInToolsMenu: De.canBeCompressedInToolsMenu ?? !0
11776
11781
  }))
11777
- ], Pe = [
11782
+ ], Be = [
11778
11783
  // keyText перенесён в featureRightButtons как обычная кнопка с dropdown,
11779
11784
  // здесь — только select для сайдбара
11780
11785
  ...Dn(M.keyText, {
@@ -11786,25 +11791,25 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11786
11791
  icon: /* @__PURE__ */ h(Fo, { color: "inherit", size: "s" }),
11787
11792
  value: p,
11788
11793
  options: Ka,
11789
- onChange: (Be) => m(Be),
11794
+ onChange: (De) => m(De),
11790
11795
  className: typeof (e == null ? void 0 : e.keyText) != "boolean" ? (ur = (dr = e.keyText) == null ? void 0 : dr.sidebar.domMetadata) == null ? void 0 : ur.className : "",
11791
11796
  ...typeof (e == null ? void 0 : e.keyText) != "boolean" ? ((pr = (hr = e.keyText) == null ? void 0 : hr.sidebar.domMetadata) == null ? void 0 : pr.dataAttributes) || {} : {}
11792
11797
  }
11793
11798
  })
11794
- ], bt = [...ce, ...Ce.filter((Be) => Be.mandatory)], Gt = Ce.filter((Be) => !Be.mandatory), Ue = [...bt, ...Gt], be = [...Pe, ...Gt];
11799
+ ], bt = [...le, ...Ie.filter((De) => De.mandatory)], Gt = Ie.filter((De) => !De.mandatory), Ue = [...bt, ...Gt], be = [...Be, ...Gt];
11795
11800
  return {
11796
- all: [...bt, ...Gt, ...Pe],
11801
+ all: [...bt, ...Gt, ...Be],
11797
11802
  icons: Ue,
11798
11803
  featureItems: be
11799
11804
  };
11800
- })(), ve = Ye.length > 0 || Le.length > 0 || Ae.length > 0 || Me.isActiveSearching || M.collapsing, Te = G ? he.some((ce) => "details" in ce && ce.details != null) : he.length > 0, He = Q((ce) => {
11801
- var Ce, Pe;
11802
- return (Pe = (Ce = e == null ? void 0 : e.sidebarConfig) == null ? void 0 : Ce.defaultTabs) == null ? void 0 : Pe.find((bt) => bt.id === ce);
11805
+ })(), ve = Ye.length > 0 || Le.length > 0 || Ce.length > 0 || Me.isActiveSearching || M.collapsing, Te = G ? he.some((le) => "details" in le && le.details != null) : he.length > 0, Pe = Q((le) => {
11806
+ var Ie, Be;
11807
+ return (Be = (Ie = e == null ? void 0 : e.sidebarConfig) == null ? void 0 : Ie.defaultTabs) == null ? void 0 : Be.find((bt) => bt.id === le);
11803
11808
  }, [(Ur = e == null ? void 0 : e.sidebarConfig) == null ? void 0 : Ur.defaultTabs]), pe = {
11804
- general: He("tableSettings"),
11805
- filtering: He("filtering"),
11806
- columns: He("columns")
11807
- }, Ie = [...M.summaryRows ? [{
11809
+ general: Pe("tableSettings"),
11810
+ filtering: Pe("filtering"),
11811
+ columns: Pe("columns")
11812
+ }, Ae = [...M.summaryRows ? [{
11808
11813
  value: "summary-rows",
11809
11814
  label: "Итоговые строки",
11810
11815
  onClick: () => {
@@ -11815,7 +11820,10 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11815
11820
  label: "Итоговые строки",
11816
11821
  checked: r,
11817
11822
  className: (Xr = (dt = e.summaryRows) == null ? void 0 : dt.domMetadata) == null ? void 0 : Xr.className,
11818
- onChange: (ce) => o(ce.target.checked),
11823
+ onChange: (le) => {
11824
+ var Ie, Be;
11825
+ o(le.target.checked), (Be = (Ie = e.summaryRows) == null ? void 0 : Ie.onChange) == null || Be.call(Ie, le.target.checked);
11826
+ },
11819
11827
  ...(Qr = (Cn = e.summaryRows) == null ? void 0 : Cn.domMetadata) == null ? void 0 : Qr.dataAttributes
11820
11828
  }
11821
11829
  }] : [], ...M.selectingRows ? [{
@@ -11828,7 +11836,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11828
11836
  type: "switch",
11829
11837
  label: "Выбор строк",
11830
11838
  checked: i,
11831
- onChange: (ce) => s(ce.target.checked),
11839
+ onChange: (le) => s(le.target.checked),
11832
11840
  className: (Jr = (qr = (Zr = e.selecting) == null ? void 0 : Zr.sidebar) == null ? void 0 : qr.domMetadata) == null ? void 0 : Jr.className,
11833
11841
  ...($r = (_r = (en = e.selecting) == null ? void 0 : en.sidebar) == null ? void 0 : _r.domMetadata) == null ? void 0 : $r.dataAttributes
11834
11842
  }
@@ -11842,7 +11850,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11842
11850
  type: "switch",
11843
11851
  label: "Инструменты в строках",
11844
11852
  checked: f,
11845
- onChange: (ce) => w(ce.target.checked)
11853
+ onChange: (le) => w(le.target.checked)
11846
11854
  }
11847
11855
  }] : []], _ = !!pe.general && "customGeneralSettingsSlot" in pe.general && !!((eo = pe.general) != null && eo.customGeneralSettingsSlot), Ve = {
11848
11856
  general: {
@@ -11851,7 +11859,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11851
11859
  titleRightSlot: (Rn = pe.general) == null ? void 0 : Rn.titleRightSlot,
11852
11860
  label: ((er = pe.general) == null ? void 0 : er.label) ?? cn.general.label,
11853
11861
  iconTooltipText: ((tn = pe.general) == null ? void 0 : tn.iconTooltipText) ?? cn.general.iconTooltipText,
11854
- show: (Ie.length > 0 || he.length > 0 || _ || Te) && (((tr = pe.general) == null ? void 0 : tr.showInSidebar) ?? !0)
11862
+ show: (Ae.length > 0 || he.length > 0 || _ || Te) && (((tr = pe.general) == null ? void 0 : tr.showInSidebar) ?? !0)
11855
11863
  },
11856
11864
  filtering: {
11857
11865
  id: "filtering",
@@ -11867,7 +11875,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11867
11875
  titleRightSlot: (lo = pe.columns) == null ? void 0 : lo.titleRightSlot,
11868
11876
  show: M.columnsControl && (((co = pe.columns) == null ? void 0 : co.showInSidebar) ?? !0)
11869
11877
  }
11870
- }, lt = Object.values(Ve).filter((ce) => ce.show), ft = lt.length === 1 && lt[0] ? lt[0] : Ve.general, gt = [{
11878
+ }, lt = Object.values(Ve).filter((le) => le.show), ft = lt.length === 1 && lt[0] ? lt[0] : Ve.general, gt = [{
11871
11879
  id: "tableSettings",
11872
11880
  icon: /* @__PURE__ */ h(Ru, { size: "s" }),
11873
11881
  // Показываем таб если
@@ -11877,31 +11885,31 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11877
11885
  /** ` label:` - в рамках таба с id: 'tableSettings' - это текст для тултипа иконки шестеренки */
11878
11886
  label: Ve.general.iconTooltipText,
11879
11887
  domMetadata: (ao = pe.general) == null ? void 0 : ao.domMetadata,
11880
- content: /* @__PURE__ */ h(Iw, { generalSettings: Ie, customFeatures: he, defaultTabsInfo: Ve, activeSettingsTabId: Y, setActiveSettingsTabId: F, filteringDomMetadata: (uo = pe.filtering) == null ? void 0 : uo.domMetadata, columnsDomMetadata: (ho = pe.columns) == null ? void 0 : ho.domMetadata, customGeneralSettingsSlot: _ && ((po = pe == null ? void 0 : pe.general) == null ? void 0 : po.id) === "tableSettings" ? ($e = pe.general) == null ? void 0 : $e.customGeneralSettingsSlot : null, filteringContent: /* @__PURE__ */ h(Cm, { tableConfig: e, columnConfig: y }), columnsContent: /* @__PURE__ */ h(pg, { opened: T, onClose: () => k(!1), setColumnsOrder: B, columnsOrder: R, pinnedCols: O, setPinnedCols: L, hiddenCols: N, setHiddenCols: P, getDefaultColumnsOrder: V, columnConfig: y, columnsControlConfig: H, colsWithKeyTextMap: q, keyText: p, tableConfigKeyTextBoolean: re }) })
11888
+ content: /* @__PURE__ */ h(Iw, { generalSettings: Ae, customFeatures: he, defaultTabsInfo: Ve, activeSettingsTabId: Y, setActiveSettingsTabId: F, filteringDomMetadata: (uo = pe.filtering) == null ? void 0 : uo.domMetadata, columnsDomMetadata: (ho = pe.columns) == null ? void 0 : ho.domMetadata, customGeneralSettingsSlot: _ && ((po = pe == null ? void 0 : pe.general) == null ? void 0 : po.id) === "tableSettings" ? ($e = pe.general) == null ? void 0 : $e.customGeneralSettingsSlot : null, filteringContent: /* @__PURE__ */ h(Cm, { tableConfig: e, columnConfig: y }), columnsContent: /* @__PURE__ */ h(pg, { opened: T, onClose: () => k(!1), setColumnsOrder: B, columnsOrder: R, pinnedCols: O, setPinnedCols: L, hiddenCols: N, setHiddenCols: P, getDefaultColumnsOrder: V, columnConfig: y, columnsControlConfig: H, colsWithKeyTextMap: q, keyText: p, tableConfigKeyTextBoolean: re }) })
11881
11889
  }], Rt = (() => {
11882
- var Ce;
11883
- const ce = [...gt];
11884
- if ((Ce = e.sidebarConfig) != null && Ce.customTabs) {
11890
+ var Ie;
11891
+ const le = [...gt];
11892
+ if ((Ie = e.sidebarConfig) != null && Ie.customTabs) {
11885
11893
  const {
11886
- customTabs: Pe,
11894
+ customTabs: Be,
11887
11895
  customTabsOrder: bt
11888
11896
  } = e.sidebarConfig;
11889
11897
  if (bt) {
11890
- const Gt = bt.map((be) => Pe.find((Tn) => Tn.id === be)).filter(Boolean), Ue = Pe.filter((be) => !bt.includes(be.id));
11891
- ce.push(...Gt, ...Ue);
11898
+ const Gt = bt.map((be) => Be.find((Tn) => Tn.id === be)).filter(Boolean), Ue = Be.filter((be) => !bt.includes(be.id));
11899
+ le.push(...Gt, ...Ue);
11892
11900
  } else
11893
- ce.push(...Pe);
11901
+ le.push(...Be);
11894
11902
  }
11895
- return ce;
11903
+ return le;
11896
11904
  })(), mt = (() => {
11897
- const ce = Rt.find((Ce) => Ce.showInSidebar);
11898
- return ce ? ce.id : null;
11905
+ const le = Rt.find((Ie) => Ie.showInSidebar);
11906
+ return le ? le.id : null;
11899
11907
  })();
11900
11908
  return {
11901
- icons: le,
11909
+ icons: ce,
11902
11910
  featureItems: he,
11903
11911
  all: Ye,
11904
- featureRightButtons: Ae,
11912
+ featureRightButtons: Ce,
11905
11913
  featureLeftButtons: Le,
11906
11914
  isHaveSomeFeature: ve,
11907
11915
  featureSearching: Me,
@@ -11909,7 +11917,7 @@ const Dn = (e, t) => e ? [t] : [], Ar = Dn, cS = ({
11909
11917
  onPinSelectedColumns: J,
11910
11918
  onResetPinning: we
11911
11919
  },
11912
- isHaveSomeFeatureInSidebar: (((fo = e.sidebarConfig) == null ? void 0 : fo.enabled) ?? !0) && Rt.some((ce) => ce.showInSidebar),
11920
+ isHaveSomeFeatureInSidebar: (((fo = e.sidebarConfig) == null ? void 0 : fo.enabled) ?? !0) && Rt.some((le) => le.showInSidebar),
11913
11921
  activeSidebarTabId: mt,
11914
11922
  sidebarTabs: Rt,
11915
11923
  isActivated: M
@@ -11927,7 +11935,7 @@ function ub({
11927
11935
  refTableContainer: c
11928
11936
  // внешний ref (может быть RefObject или callback)
11929
11937
  }) {
11930
- var cr, ar, dr, ur, hr, pr, Be, fr, nn, gr, Io, kn, rn, mr, Gs, Ws, js, Ys, Ks, Us, Xs, Qs, Zs, qs, Js, _s, $s, el, tl, nl;
11938
+ var cr, ar, dr, ur, hr, pr, De, fr, nn, gr, Io, kn, rn, mr, Ws, js, Ys, Ks, Us, Xs, Qs, Zs, qs, Js, _s, $s, el, tl, nl, rl;
11931
11939
  const l = Z(null), d = Z(null), a = W(() => Yo(d, c), [c]), u = Z(null), f = Z([]), w = Z(null), {
11932
11940
  tableConfig: p
11933
11941
  } = Ey({
@@ -11970,7 +11978,7 @@ function ub({
11970
11978
  ky(p == null ? void 0 : p.rowInstruments)
11971
11979
  ), G = W(() => {
11972
11980
  const Oe = p == null ? void 0 : p.subRows;
11973
- return Fs(Oe) && (Oe != null && Oe.getSubRows) && (Oe != null && Oe.mergedColumns) ? kd(n, Oe.getSubRows, Oe.mergedColumns) : n;
11981
+ return zs(Oe) && (Oe != null && Oe.getSubRows) && (Oe != null && Oe.mergedColumns) ? kd(n, Oe.getSubRows, Oe.mergedColumns) : n;
11974
11982
  }, [n, p == null ? void 0 : p.subRows]), {
11975
11983
  selectingRowsIsActive: D,
11976
11984
  setSelectingRowsIsActive: z,
@@ -11994,10 +12002,10 @@ function ub({
11994
12002
  reorderIsActive: ye,
11995
12003
  pinnedCols: me,
11996
12004
  setPinnedCols: Le,
11997
- hiddenCols: Ae,
12005
+ hiddenCols: Ce,
11998
12006
  setHiddenCols: Me,
11999
12007
  openControlModal: Ye,
12000
- setOpenControlModal: le,
12008
+ setOpenControlModal: ce,
12001
12009
  onUnpinColumn: he,
12002
12010
  getColumnPinningDisabled: ve
12003
12011
  } = Sg({
@@ -12005,7 +12013,7 @@ function ub({
12005
12013
  tableConfigKeyTextBoolean: L,
12006
12014
  colsWithKeyTextMap: V,
12007
12015
  columnsGroupingIsActive: S
12008
- }), Te = ee(!!p.editing && !!((cr = p == null ? void 0 : p.editing) != null && cr.defaultEnabled)), [He, pe] = em((ar = p.editing) == null ? void 0 : ar.enabled, Te), Ie = Dm(), _ = Lm(Ie), [Ve, lt] = ee(() => _m(p.rowSize)), {
12016
+ }), Te = ee(!!p.editing && !!((cr = p == null ? void 0 : p.editing) != null && cr.defaultEnabled)), [Pe, pe] = em((ar = p.editing) == null ? void 0 : ar.enabled, Te), Ae = Dm(), _ = Lm(Ae), [Ve, lt] = ee(() => _m(p.rowSize)), {
12009
12017
  columns: ft,
12010
12018
  reorderedColumns: gt,
12011
12019
  renderColKeys: Rt,
@@ -12019,15 +12027,15 @@ function ub({
12019
12027
  selectingRowsIsActive: D,
12020
12028
  isLoadingTable: x,
12021
12029
  pinnedCols: me,
12022
- hiddenCols: Ae,
12030
+ hiddenCols: Ce,
12023
12031
  reorderIsActive: ye,
12024
12032
  reorderInHeaderIsActive: ge,
12025
12033
  showRowInstruments: H,
12026
12034
  keyText: N,
12027
12035
  tableConfigKeyTextBoolean: L,
12028
12036
  colsWithKeyTextMap: V,
12029
- editModeEnabled: He,
12030
- tablePopoverValue: Ie,
12037
+ editModeEnabled: Pe,
12038
+ tablePopoverValue: Ae,
12031
12039
  onUnpinColumn: he,
12032
12040
  getColumnPinningDisabled: ve,
12033
12041
  rowsRef: f,
@@ -12041,7 +12049,7 @@ function ub({
12041
12049
  // columnsOrder пуст до первого эффекта useReorderDragable, на этот случай
12042
12050
  // берём полный порядок по умолчанию, иначе индикатор не считался бы.
12043
12051
  fullColumnsOrder: mt.length ? mt : Et(),
12044
- hiddenCols: Ae,
12052
+ hiddenCols: Ce,
12045
12053
  pinnedCols: me,
12046
12054
  setHiddenCols: Me,
12047
12055
  renderColKeys: Rt,
@@ -12069,7 +12077,7 @@ function ub({
12069
12077
  isManualSearching: _t
12070
12078
  } = Zt, Mt = wy({
12071
12079
  tableConfig: p,
12072
- popover: Ie
12080
+ popover: Ae
12073
12081
  }), Vt = Rg(Mt), $t = Q((...Oe) => {
12074
12082
  _(...Oe), Vt(...Oe), T && A(...Oe);
12075
12083
  }, [_, Vt, A, T]), Se = Dy({
@@ -12137,7 +12145,7 @@ function ub({
12137
12145
  }), {
12138
12146
  onGridSelectionChange: er
12139
12147
  } = cf({
12140
- editModeEnabled: !!He,
12148
+ editModeEnabled: !!Pe,
12141
12149
  cellTransferConfig: p.cellTransfer,
12142
12150
  rowContextValue: i,
12143
12151
  headerContextValue: o,
@@ -12150,7 +12158,7 @@ function ub({
12150
12158
  fillHandleProps: tn,
12151
12159
  onSelectionChangeForFill: tr
12152
12160
  } = df({
12153
- editModeEnabled: !!He,
12161
+ editModeEnabled: !!Pe,
12154
12162
  cellTransferConfig: p.cellTransfer,
12155
12163
  columns: gt,
12156
12164
  flattenedRows: en,
@@ -12210,16 +12218,16 @@ function ub({
12210
12218
  }), po = W(() => {
12211
12219
  const Oe = p.highlightActiveRow;
12212
12220
  if (Oe)
12213
- return (rl, Yd) => {
12214
- var Ao, ol, il;
12215
- (ol = (Ao = Oe.state) == null ? void 0 : Ao[1]) == null || ol.call(Ao, rl), (il = Oe.onChange) == null || il.call(Oe, {
12216
- index: rl,
12221
+ return (ol, Yd) => {
12222
+ var Ao, il, sl;
12223
+ (il = (Ao = Oe.state) == null ? void 0 : Ao[1]) == null || il.call(Ao, ol), (sl = Oe.onChange) == null || sl.call(Oe, {
12224
+ index: ol,
12217
12225
  row: Yd
12218
12226
  });
12219
12227
  };
12220
12228
  }, [p.highlightActiveRow]), {
12221
12229
  isInTabs: $e
12222
- } = zu(), [, fo] = ee(), ce = ((Be = p.controlBlock) == null ? void 0 : Be.enableAdaptiveCompress) ?? !0, [Ce, Pe] = ee([]), [bt, Gt] = ee(null), Ue = cS({
12230
+ } = zu(), [, fo] = ee(), le = ((De = p.controlBlock) == null ? void 0 : De.enableAdaptiveCompress) ?? !0, [Ie, Be] = ee([]), [bt, Gt] = ee(null), Ue = cS({
12223
12231
  tableConfig: p,
12224
12232
  activeView: Je,
12225
12233
  setActiveView: Ft,
@@ -12240,7 +12248,7 @@ function ub({
12240
12248
  groupedCols: dt,
12241
12249
  setGroupedCols: Xr,
12242
12250
  columnConfig: g,
12243
- editModeEnabled: He,
12251
+ editModeEnabled: Pe,
12244
12252
  setEditModeEnabled: pe,
12245
12253
  showSearchBlock: Jt,
12246
12254
  setShowSearchBlock: An,
@@ -12248,19 +12256,19 @@ function ub({
12248
12256
  placeholderSearchBlock: zt,
12249
12257
  // ControlBlock props
12250
12258
  openControlModal: Ye,
12251
- setOpenControlModal: le,
12259
+ setOpenControlModal: ce,
12252
12260
  setColumnsOrder: Xt,
12253
12261
  columnsOrder: mt,
12254
12262
  pinnedCols: me,
12255
12263
  setPinnedCols: Le,
12256
- hiddenCols: Ae,
12264
+ hiddenCols: Ce,
12257
12265
  setHiddenCols: Me,
12258
12266
  getDefaultColumnsOrder: Et,
12259
12267
  columnsControlConfig: ae,
12260
12268
  colsWithKeyTextMap: V,
12261
12269
  tableConfigKeyTextBoolean: L,
12262
- enableAdaptiveCompress: ce,
12263
- selectedColumnKeys: Ce,
12270
+ enableAdaptiveCompress: le,
12271
+ selectedColumnKeys: Ie,
12264
12272
  setPendingSelectKeys: Gt
12265
12273
  }), {
12266
12274
  controlBlock: be = {
@@ -12324,16 +12332,16 @@ function ub({
12324
12332
  setActiveView: Ft,
12325
12333
  activeView: Je
12326
12334
  }), bo = xo, vo = W(() => Yo(s, u), [s]);
12327
- return /* @__PURE__ */ h(ia.Provider, { value: l, children: /* @__PURE__ */ h(sa.Provider, { value: d, children: /* @__PURE__ */ h(oa.Provider, { value: u, children: /* @__PURE__ */ h(ph, { headerCtxV: bo, rowCtxV: So, expandedRowCtxV: _r, searchCtxV: Zt, contextMenuCtxV: Mt, sideBarCtxV: Se, tableCollapseCtxV: ke, children: /* @__PURE__ */ h(km, { value: Ie, children: /* @__PURE__ */ h(kf, { value: re, children: /* @__PURE__ */ h(
12328
- ca.Provider,
12335
+ return /* @__PURE__ */ h(sa.Provider, { value: l, children: /* @__PURE__ */ h(la.Provider, { value: d, children: /* @__PURE__ */ h(ia.Provider, { value: u, children: /* @__PURE__ */ h(ph, { headerCtxV: bo, rowCtxV: So, expandedRowCtxV: _r, searchCtxV: Zt, contextMenuCtxV: Mt, sideBarCtxV: Se, tableCollapseCtxV: ke, children: /* @__PURE__ */ h(km, { value: Ae, children: /* @__PURE__ */ h(kf, { value: re, children: /* @__PURE__ */ h(
12336
+ aa.Provider,
12329
12337
  {
12330
12338
  value: m,
12331
12339
  children: /* @__PURE__ */ h(zh, { selectingRowConfig: F, rows: G, flattenedRowsArrAndMap: M, selectedRows: K, setSelectedRows: Y, rowKeyGetter: (gr = p == null ? void 0 : p.selecting) == null ? void 0 : gr.rowKeyGetter, rowsGroupingIsActive: Cn && !!(dt != null && dt.length), isRowsGroupingCounterVisible: Qr, setIsRowsGroupingCounterVisible: Zr, setIsRowsGroupingLabelVisible: Jr, isRowsGroupingLabelVisible: qr, isSelectingRowCounterVisible: U, setIsSelectingRowCounterVisible: $, isSelectingRowLabelVisible: J, setIsSelectingRowLabelVisible: se, controlBlock: we, sidebar: ue, children: /* @__PURE__ */ h(Ih, { value: lo, children: /* @__PURE__ */ h(uh, { refTableContainer: l, children: /* @__PURE__ */ h(rS, { containerProps: {
12332
12340
  controlBlock: /* @__PURE__ */ ne("div", { className: te.rootControlBlock, children: [
12333
- ce ? /* @__PURE__ */ h(sl, { fallback: et ? /* @__PURE__ */ h(Vs, { $isVisibleSearching: !1, $activeView: "rows", $borderTopRounded: !$e || b, $placeholderSearchBlock: zt, $calculatedSearchQuery: "", $collapsedTable: ke.isCollapsed, children: /* @__PURE__ */ h("p", { children: "Загрузка панели управления..." }) }) : null, children: /* @__PURE__ */ h(hx, { isHaveControlBlock: et, leftSideInner: be == null ? void 0 : be.leftSideInner, rightSideInner: be == null ? void 0 : be.rightSideInner, activeView: Je, featuresObj: Ue, $borderTopRounded: !$e || b, setCompressionVisibility: fo, editModeEnabled: He, editModeLeftSlot: (Io = p.editing) == null ? void 0 : Io.editModeLeftSlot, fullScreened: b, controlBlockLeftSideDropdownProps: be.leftSideDropdownProps, controlBlockRightSideDropdownProps: be.rightSideDropdownProps, collapseButtonPlacement: ke.collapseButtonPlacement, controlBlockSize: be == null ? void 0 : be.size }) }) : /* @__PURE__ */ h(px, { isHaveControlBlock: et, leftSideInner: be == null ? void 0 : be.leftSideInner, rightSideInner: be == null ? void 0 : be.rightSideInner, activeView: Je, featuresObj: Ue, $borderTopRounded: !$e || b, collapseButtonPlacement: ke.collapseButtonPlacement, controlBlockSize: be == null ? void 0 : be.size }),
12334
- /* @__PURE__ */ h(sl, { fallback: null, children: /* @__PURE__ */ h(pm, { isOpened: _e && !ke.isCollapsed, activeView: Je, tableConfig: p, columnConfig: g, headerContextValue: o, $borderLeftTopRadiusRounded: !$e && !et, $borderRightTopRadiusRounded: !$e && !et }) })
12341
+ le ? /* @__PURE__ */ h(ll, { fallback: et ? /* @__PURE__ */ h(Gs, { $isVisibleSearching: !1, $activeView: "rows", $borderTopRounded: !$e || b, $placeholderSearchBlock: zt, $calculatedSearchQuery: "", $collapsedTable: ke.isCollapsed, children: /* @__PURE__ */ h("p", { children: "Загрузка панели управления..." }) }) : null, children: /* @__PURE__ */ h(hx, { isHaveControlBlock: et, leftSideInner: be == null ? void 0 : be.leftSideInner, rightSideInner: be == null ? void 0 : be.rightSideInner, activeView: Je, featuresObj: Ue, $borderTopRounded: !$e || b, setCompressionVisibility: fo, editModeEnabled: Pe, editModeLeftSlot: (Io = p.editing) == null ? void 0 : Io.editModeLeftSlot, fullScreened: b, controlBlockLeftSideDropdownProps: be.leftSideDropdownProps, controlBlockRightSideDropdownProps: be.rightSideDropdownProps, collapseButtonPlacement: ke.collapseButtonPlacement, controlBlockSize: be == null ? void 0 : be.size }) }) : /* @__PURE__ */ h(px, { isHaveControlBlock: et, leftSideInner: be == null ? void 0 : be.leftSideInner, rightSideInner: be == null ? void 0 : be.rightSideInner, activeView: Je, featuresObj: Ue, $borderTopRounded: !$e || b, collapseButtonPlacement: ke.collapseButtonPlacement, controlBlockSize: be == null ? void 0 : be.size }),
12342
+ /* @__PURE__ */ h(ll, { fallback: null, children: /* @__PURE__ */ h(pm, { isOpened: _e && !ke.isCollapsed, activeView: Je, tableConfig: p, columnConfig: g, headerContextValue: o, $borderLeftTopRadiusRounded: !$e && !et, $borderRightTopRadiusRounded: !$e && !et }) })
12335
12343
  ] }),
12336
- sidebarBlock: (((kn = p.sidebarConfig) == null ? void 0 : kn.enabled) ?? !0) && Ue.isHaveSomeFeatureInSidebar ? /* @__PURE__ */ h(lp, { $borderRightBottomRadiusRounded: !B, $borderRightTopRadiusRounded: !$e && !et, activeTabId: Ue.activeSidebarTabId, sidebarTabs: Ue.sidebarTabs, defaultActiveTabId: (rn = p.sidebarConfig) == null ? void 0 : rn.defaultActiveTabId, activeTabState: (mr = p.sidebarConfig) == null ? void 0 : mr.activeTabState, onActiveTabChange: (Gs = p.sidebarConfig) == null ? void 0 : Gs.onActiveTabChange }) : null,
12344
+ sidebarBlock: (((kn = p.sidebarConfig) == null ? void 0 : kn.enabled) ?? !0) && Ue.isHaveSomeFeatureInSidebar ? /* @__PURE__ */ h(lp, { $borderRightBottomRadiusRounded: !B, $borderRightTopRadiusRounded: !$e && !et, activeTabId: Ue.activeSidebarTabId, sidebarTabs: Ue.sidebarTabs, defaultActiveTabId: (rn = p.sidebarConfig) == null ? void 0 : rn.defaultActiveTabId, activeTabState: (mr = p.sidebarConfig) == null ? void 0 : mr.activeTabState, onActiveTabChange: (Ws = p.sidebarConfig) == null ? void 0 : Ws.onActiveTabChange }) : null,
12337
12345
  refTableGlobalContainer: l,
12338
12346
  refTableContainer: a,
12339
12347
  $tableAndSidebarContainerHeightStyle: yo,
@@ -12376,16 +12384,16 @@ function ub({
12376
12384
  onSelectionEmit: no,
12377
12385
  // Ключи выделенных колонок наверх → контрл-блок
12378
12386
  // (нативный экшен «Закрепить столбцы»).
12379
- onColumnSelectionChange: Pe,
12387
+ onColumnSelectionChange: Be,
12380
12388
  // Follow: перевыделение после пина/анпина.
12381
12389
  pendingColumnSelectionKeys: bt,
12382
12390
  onColumnSelectionApplied: () => Gt(null),
12383
12391
  // --------- внешний (controlled) контроль выделения
12384
- gridSelection: (js = (Ws = p.cellsSelection) == null ? void 0 : Ws.state) == null ? void 0 : js[0],
12385
- onGridSelectionChange: (Ks = (Ys = p.cellsSelection) == null ? void 0 : Ys.state) == null ? void 0 : Ks[1],
12386
- highlightActiveRow: (Xs = (Us = p.highlightActiveRow) == null ? void 0 : Us.state) == null ? void 0 : Xs[0],
12392
+ gridSelection: (Ys = (js = p.cellsSelection) == null ? void 0 : js.state) == null ? void 0 : Ys[0],
12393
+ onGridSelectionChange: (Us = (Ks = p.cellsSelection) == null ? void 0 : Ks.state) == null ? void 0 : Us[1],
12394
+ highlightActiveRow: (Qs = (Xs = p.highlightActiveRow) == null ? void 0 : Xs.state) == null ? void 0 : Qs[0],
12387
12395
  // controlled только если задан state-кортеж.
12388
- highlightActiveRowControlled: !!((Qs = p.highlightActiveRow) != null && Qs.state),
12396
+ highlightActiveRowControlled: !!((Zs = p.highlightActiveRow) != null && Zs.state),
12389
12397
  onHighlightActiveRowChange: po,
12390
12398
  // glide требует для чтения source range
12391
12399
  getCellsForSelection: !0,
@@ -12445,9 +12453,9 @@ function ub({
12445
12453
  maxColumnWidth: p.maxColumnWidth,
12446
12454
  maxColumnAutoWidth: p.maxColumnAutoWidth,
12447
12455
  resizableColumn: p.resizableColumn,
12448
- spanGroupHeader: ((Zs = p.columnsGrouping) == null ? void 0 : Zs.squashEmptyCells) ?? !0,
12449
- spanShallowGroups: ((qs = p.columnsGrouping) == null ? void 0 : qs.squashEmptyCells) ?? !0,
12450
- spanAlign: (Js = p.columnsGrouping) == null ? void 0 : Js.squashedHeaderAlign,
12456
+ spanGroupHeader: ((qs = p.columnsGrouping) == null ? void 0 : qs.squashEmptyCells) ?? !0,
12457
+ spanShallowGroups: ((Js = p.columnsGrouping) == null ? void 0 : Js.squashEmptyCells) ?? !0,
12458
+ spanAlign: (_s = p.columnsGrouping) == null ? void 0 : _s.squashedHeaderAlign,
12451
12459
  hiddenColumnsIndicator: Qt,
12452
12460
  onHiddenColumnsIndicatorClicked: Ke,
12453
12461
  verticalBorder: bn,
@@ -12456,14 +12464,14 @@ function ub({
12456
12464
  editorOverlayPortal: p.editorOverlayPortal,
12457
12465
  checkboxSelectedRowIndexes: uo,
12458
12466
  checkboxVisibleRowIndexes: ho,
12459
- enableColumnSelection: ((_s = p.cellsSelection) == null ? void 0 : _s.enableColumnSelection) ?? !0,
12460
- enableRowSelection: (($s = p.cellsSelection) == null ? void 0 : $s.enableRowSelection) ?? !0,
12461
- enableSelectAll: ((el = p.cellsSelection) == null ? void 0 : el.enableSelectAll) ?? !0,
12462
- cellsSelectionMode: ((tl = p.cellsSelection) == null ? void 0 : tl.mode) ?? "range-cell",
12467
+ enableColumnSelection: (($s = p.cellsSelection) == null ? void 0 : $s.enableColumnSelection) ?? !0,
12468
+ enableRowSelection: ((el = p.cellsSelection) == null ? void 0 : el.enableRowSelection) ?? !0,
12469
+ enableSelectAll: ((tl = p.cellsSelection) == null ? void 0 : tl.enableSelectAll) ?? !0,
12470
+ cellsSelectionMode: ((nl = p.cellsSelection) == null ? void 0 : nl.mode) ?? "range-cell",
12463
12471
  hoverEffects: p.hoverEffects,
12464
12472
  enableLowDprHairline: p.enableLowDprHairline
12465
12473
  })
12466
- }, pagination: k, setPaginationHeight: O, loadingOverlayConfig: p.loadingOverlay, containerStyle: p.containerStyle, tooltip: p.tooltip, massActionPanel: (nl = p == null ? void 0 : p.controlBlock) == null ? void 0 : nl.massActionPanel, fullScreened: b }) }) }) })
12474
+ }, pagination: k, setPaginationHeight: O, loadingOverlayConfig: p.loadingOverlay, containerStyle: p.containerStyle, tooltip: p.tooltip, massActionPanel: (rl = p == null ? void 0 : p.controlBlock) == null ? void 0 : rl.massActionPanel, fullScreened: b }) }) }) })
12467
12475
  }
12468
12476
  ) }) }) }) }) }) });
12469
12477
  }
@@ -12481,20 +12489,20 @@ export {
12481
12489
  Wp as I,
12482
12490
  Yp as J,
12483
12491
  Gp as K,
12484
- ba as L,
12492
+ va as L,
12485
12493
  Si as M,
12486
- gl as N,
12487
- pl as O,
12494
+ ml as N,
12495
+ fl as O,
12488
12496
  te as P,
12489
12497
  Xp as Q,
12490
- Sa as R,
12498
+ ba as R,
12491
12499
  rp as S,
12492
12500
  ub as T,
12493
12501
  Pt as U,
12494
12502
  Kp as V,
12495
12503
  jt as W,
12496
- Cl as X,
12497
- Rl as Y,
12504
+ Rl as X,
12505
+ El as Y,
12498
12506
  Fa as Z,
12499
12507
  qp as _,
12500
12508
  ah as a,
@@ -12505,15 +12513,15 @@ export {
12505
12513
  Da as a3,
12506
12514
  jS as a4,
12507
12515
  Oo as a5,
12508
- Il as a6,
12516
+ Al as a6,
12509
12517
  $p as a7,
12510
12518
  It as a8,
12511
12519
  Pa as a9,
12512
12520
  yn as aA,
12513
- hl as aB,
12521
+ pl as aB,
12514
12522
  Eo as aC,
12515
12523
  Ro as aD,
12516
- ul as aE,
12524
+ hl as aE,
12517
12525
  WS as aF,
12518
12526
  Df as aG,
12519
12527
  Bf as aH,
@@ -12537,13 +12545,13 @@ export {
12537
12545
  lg as aZ,
12538
12546
  pg as a_,
12539
12547
  Va as aa,
12540
- Sl as ab,
12548
+ bl as ab,
12541
12549
  cf as ac,
12542
12550
  rf as ad,
12543
12551
  df as ae,
12544
12552
  sf as af,
12545
- bl as ag,
12546
- Al as ah,
12553
+ vl as ag,
12554
+ Cl as ah,
12547
12555
  gf as ai,
12548
12556
  ui as aj,
12549
12557
  mf as ak,
@@ -12557,7 +12565,7 @@ export {
12557
12565
  Af as as,
12558
12566
  YS as at,
12559
12567
  pi as au,
12560
- Rs as av,
12568
+ Es as av,
12561
12569
  KS as aw,
12562
12570
  If as ax,
12563
12571
  Cf as ay,
@@ -12569,7 +12577,7 @@ export {
12569
12577
  od as b2,
12570
12578
  Ig as b3,
12571
12579
  Ag as b4,
12572
- Ts as b5,
12580
+ ks as b5,
12573
12581
  id as b6,
12574
12582
  ZS as b7,
12575
12583
  Cg as b8,
@@ -12581,7 +12589,7 @@ export {
12581
12589
  JS as bE,
12582
12590
  Cm as bF,
12583
12591
  Gn as bG,
12584
- Wl as bH,
12592
+ jl as bH,
12585
12593
  Xn as bI,
12586
12594
  _S as bJ,
12587
12595
  eb as bK,
@@ -12605,11 +12613,11 @@ export {
12605
12613
  zg as bb,
12606
12614
  Tg as bc,
12607
12615
  Pg as bd,
12608
- ks as be,
12616
+ Os as be,
12609
12617
  Wg as bf,
12610
12618
  Rg as bg,
12611
12619
  Ug as bh,
12612
- Fl as bi,
12620
+ zl as bi,
12613
12621
  Jg as bj,
12614
12622
  _i as bk,
12615
12623
  ld as bl,
@@ -12618,10 +12626,10 @@ export {
12618
12626
  Qg as bo,
12619
12627
  Xg as bp,
12620
12628
  em as bq,
12621
- zl as br,
12629
+ Ml as br,
12622
12630
  cm as bs,
12623
12631
  im as bt,
12624
- Ml as bu,
12632
+ Vl as bu,
12625
12633
  ud as bv,
12626
12634
  rm as bw,
12627
12635
  pm as bx,
@@ -12629,13 +12637,13 @@ export {
12629
12637
  mm as bz,
12630
12638
  bh as c,
12631
12639
  px as c$,
12632
- Ul as c0,
12640
+ Xl as c0,
12633
12641
  Vm as c1,
12634
12642
  Mm as c2,
12635
12643
  Fm as c3,
12636
12644
  zm as c4,
12637
12645
  Um as c5,
12638
- Xl as c6,
12646
+ Ql as c6,
12639
12647
  br as c7,
12640
12648
  Zm as c8,
12641
12649
  vr as c9,
@@ -12662,7 +12670,7 @@ export {
12662
12670
  tx as cU,
12663
12671
  nx as cV,
12664
12672
  zd as cW,
12665
- Tl as cX,
12673
+ kl as cX,
12666
12674
  dx as cY,
12667
12675
  hx as cZ,
12668
12676
  ab as c_,
@@ -12687,7 +12695,7 @@ export {
12687
12695
  zw as cs,
12688
12696
  $i as ct,
12689
12697
  Vw as cu,
12690
- tc as cv,
12698
+ nc as cv,
12691
12699
  ob as cw,
12692
12700
  Ss as cx,
12693
12701
  Bh as cy,
@@ -12729,12 +12737,12 @@ export {
12729
12737
  dn as p,
12730
12738
  vs as q,
12731
12739
  jp as r,
12732
- va as s,
12740
+ Ia as s,
12733
12741
  fn as t,
12734
12742
  vh as u,
12735
12743
  Rr as v,
12736
12744
  Ki as w,
12737
12745
  Ui as x,
12738
- xa as y,
12746
+ Sa as y,
12739
12747
  Ee as z
12740
12748
  };