@daisforge/ui 1.12.1 → 1.12.2

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 (468) hide show
  1. package/chunks/AnalyticalWidget-CBi-2MtJ.mjs +528 -0
  2. package/chunks/AnalyticalWidget-fBDe37Ur.cjs +43 -0
  3. package/chunks/ApprovalCenter-ClCoA3cr.mjs +176 -0
  4. package/chunks/ApprovalCenter-oACSjXxE.cjs +1 -0
  5. package/chunks/BlockTitle-CylSY2DM.cjs +1 -0
  6. package/chunks/BlockTitle-DTaIqiFF.mjs +85 -0
  7. package/chunks/Container-CV4sT-bB.mjs +117 -0
  8. package/chunks/Container-D8Bcg69e.cjs +17 -0
  9. package/chunks/EmptyState-BD6Ic-OX.cjs +1 -0
  10. package/chunks/EmptyState-Bct6Wrxv.mjs +459 -0
  11. package/chunks/FiltersActions-C3yWFtQT.mjs +429 -0
  12. package/chunks/FiltersActions-D1aQXh5d.cjs +1 -0
  13. package/chunks/FormDatePickers-BefllAQ_.cjs +1 -0
  14. package/chunks/FormDatePickers-_soI8Uaa.mjs +503 -0
  15. package/chunks/FormSegmentGroup-C8kROjlQ.mjs +168 -0
  16. package/chunks/FormSegmentGroup-DIaBZRWv.cjs +1 -0
  17. package/chunks/FormTextArea-BBYV56iU.mjs +107 -0
  18. package/chunks/FormTextArea-C7KG9PXC.cjs +1 -0
  19. package/chunks/GridDND-BP_H26We.cjs +1 -0
  20. package/chunks/GridDND-rVSi0xX1.mjs +852 -0
  21. package/chunks/LeftPanel-CgexykUg.cjs +1 -0
  22. package/chunks/LeftPanel-bKmeEOHx.mjs +162 -0
  23. package/chunks/ListOfFilters-DgInAZFi.cjs +1 -0
  24. package/chunks/ListOfFilters-IEPKSKxx.mjs +243 -0
  25. package/chunks/MassActions-BCgI08G9.cjs +1 -0
  26. package/chunks/MassActions-D4nb1_gx.mjs +966 -0
  27. package/chunks/PageTitle-B0tuR3fU.mjs +123 -0
  28. package/chunks/PageTitle-BC0PnHgQ.cjs +1 -0
  29. package/chunks/SplitView-C8de8YKV.mjs +236 -0
  30. package/chunks/SplitView-OUGciQ51.cjs +12 -0
  31. package/chunks/Stories--_pE4YtR.mjs +668 -0
  32. package/chunks/Stories-Dvh6rMeV.cjs +1 -0
  33. package/chunks/Table-Bj2se1hR.mjs +7757 -0
  34. package/chunks/Table-CnWVNNoW.cjs +31 -0
  35. package/chunks/TableCanvas-Y53zQ7M0.mjs +11857 -0
  36. package/chunks/TableCanvas-eYhmqTbp.cjs +30 -0
  37. package/chunks/{TableGlide-B61Yi-Hs.mjs → TableGlide-CuBMIM6Q.mjs} +1417 -1554
  38. package/chunks/TableGlide-CvMz7x7a.cjs +1 -0
  39. package/chunks/styles-Dd4uEa27.mjs +128 -0
  40. package/chunks/styles-kPI9R7DO.cjs +2 -0
  41. package/chunks/{utils-BNelzuI-.mjs → utils-C5SQhoON.mjs} +126 -151
  42. package/chunks/utils-DKi1rqLX.cjs +25 -0
  43. package/chunks/{vendor-D8Dozc4m.cjs → vendor-BauZZ2hr.mjs} +7 -33
  44. package/chunks/{vendor-BG4P-329.mjs → vendor-C47eH0xy.cjs} +2 -634
  45. package/components/AiAgentPopover/index.cjs +2 -2
  46. package/components/AiAgentPopover/index.mjs +248 -373
  47. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.cjs +1 -1
  48. package/components/AnalyticalWidget/components/AnalyticalWidgetChips/index.mjs +1 -1
  49. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.cjs +1 -1
  50. package/components/AnalyticalWidget/components/AnalyticalWidgetHeader/index.mjs +1 -1
  51. package/components/AnalyticalWidget/index.cjs +1 -1
  52. package/components/AnalyticalWidget/index.mjs +1 -1
  53. package/components/ApprovalCenter/components/index.cjs +1 -1
  54. package/components/ApprovalCenter/components/index.mjs +1 -1
  55. package/components/ApprovalCenter/index.cjs +1 -1
  56. package/components/ApprovalCenter/index.mjs +1 -1
  57. package/components/Autocomplete/index.cjs +1 -1
  58. package/components/Autocomplete/index.mjs +22 -35
  59. package/components/AutocompleteSearch/index.cjs +1 -1
  60. package/components/AutocompleteSearch/index.mjs +33 -83
  61. package/components/BlockGradientScroll/index.cjs +1 -1
  62. package/components/BlockGradientScroll/index.mjs +41 -53
  63. package/components/BlockTitle/index.cjs +1 -1
  64. package/components/BlockTitle/index.mjs +1 -1
  65. package/components/BlockTitle/utils/index.cjs +1 -1
  66. package/components/BlockTitle/utils/index.mjs +1 -1
  67. package/components/Box/index.mjs +17 -7
  68. package/components/Collapse/index.cjs +1 -1
  69. package/components/Collapse/index.mjs +41 -62
  70. package/components/Combobox/index.cjs +1 -1
  71. package/components/Combobox/index.mjs +1 -1
  72. package/components/DatePicker/index.cjs +1 -1
  73. package/components/DatePicker/index.mjs +21 -59
  74. package/components/DrawerDF/index.cjs +1 -1
  75. package/components/DrawerDF/index.mjs +144 -391
  76. package/components/EmptyState/components/index.cjs +1 -1
  77. package/components/EmptyState/components/index.mjs +1 -1
  78. package/components/EmptyState/index.cjs +1 -1
  79. package/components/EmptyState/index.mjs +1 -1
  80. package/components/GridDND/index.cjs +1 -1
  81. package/components/GridDND/index.mjs +1 -1
  82. package/components/GridDND/utils/index.cjs +1 -1
  83. package/components/GridDND/utils/index.mjs +1 -1
  84. package/components/IconButton/index.cjs +1 -1
  85. package/components/IconButton/index.mjs +49 -112
  86. package/components/IconSvgSprite/index.cjs +1 -1
  87. package/components/IconSvgSprite/index.mjs +13 -49
  88. package/components/LeftPanel/components/index.cjs +1 -1
  89. package/components/LeftPanel/components/index.mjs +1 -1
  90. package/components/LeftPanel/hooks/index.cjs +1 -1
  91. package/components/LeftPanel/hooks/index.mjs +1 -1
  92. package/components/LeftPanel/index.cjs +1 -1
  93. package/components/LeftPanel/index.mjs +1 -1
  94. package/components/LeftPanel/utils/index.cjs +1 -1
  95. package/components/LeftPanel/utils/index.mjs +1 -1
  96. package/components/ListOfFilters/index.cjs +1 -1
  97. package/components/ListOfFilters/index.mjs +1 -1
  98. package/components/MassActions/hooks/index.cjs +1 -1
  99. package/components/MassActions/hooks/index.mjs +1 -1
  100. package/components/MassActions/index.cjs +1 -1
  101. package/components/MassActions/index.mjs +1 -1
  102. package/components/MassActionsStatic/index.cjs +2 -2
  103. package/components/MassActionsStatic/index.mjs +13 -34
  104. package/components/ModalDF/index.cjs +1 -1
  105. package/components/ModalDF/index.mjs +169 -381
  106. package/components/ModalDFConfirmation/index.cjs +1 -1
  107. package/components/ModalDFConfirmation/index.mjs +66 -114
  108. package/components/Notification/index.cjs +1 -1
  109. package/components/Notification/index.mjs +16 -22
  110. package/components/NumberFormat/index.cjs +1 -1
  111. package/components/NumberFormat/index.mjs +24 -37
  112. package/components/NumberFormatAmount/index.cjs +1 -1
  113. package/components/NumberFormatAmount/index.mjs +12 -27
  114. package/components/PageTitle/index.cjs +1 -1
  115. package/components/PageTitle/index.mjs +1 -1
  116. package/components/PageTitle/utils/index.cjs +1 -1
  117. package/components/PageTitle/utils/index.mjs +1 -1
  118. package/components/PopoverDF/index.cjs +1 -1
  119. package/components/PopoverDF/index.mjs +125 -261
  120. package/components/PopupDF/index.cjs +1 -1
  121. package/components/PopupDF/index.mjs +141 -308
  122. package/components/SplitView/index.cjs +1 -1
  123. package/components/SplitView/index.mjs +1 -1
  124. package/components/SplitView/utils/index.cjs +1 -1
  125. package/components/SplitView/utils/index.mjs +1 -1
  126. package/components/Stories/components/StoriesBanner/index.cjs +1 -1
  127. package/components/Stories/components/StoriesBanner/index.mjs +1 -1
  128. package/components/Stories/components/StoriesContent/index.cjs +1 -1
  129. package/components/Stories/components/StoriesContent/index.mjs +1 -1
  130. package/components/Stories/components/StoriesPreview/index.cjs +1 -1
  131. package/components/Stories/components/StoriesPreview/index.mjs +1 -1
  132. package/components/Stories/components/StoriesProgress/index.cjs +1 -1
  133. package/components/Stories/components/StoriesProgress/index.mjs +1 -1
  134. package/components/Stories/components/StoriesViewer/index.cjs +1 -1
  135. package/components/Stories/components/StoriesViewer/index.mjs +1 -1
  136. package/components/Stories/index.cjs +1 -1
  137. package/components/Stories/index.mjs +1 -1
  138. package/components/Table/components/TableDropdown/index.cjs +1 -1
  139. package/components/Table/components/TableDropdown/index.mjs +1 -1
  140. package/components/Table/feature-collapse-table/index.cjs +1 -1
  141. package/components/Table/feature-collapse-table/index.mjs +1 -1
  142. package/components/Table/feature-column-control/ColumnsList/index.cjs +1 -1
  143. package/components/Table/feature-column-control/ColumnsList/index.mjs +1 -1
  144. package/components/Table/feature-column-control/index.cjs +1 -1
  145. package/components/Table/feature-column-control/index.mjs +1 -1
  146. package/components/Table/feature-columns-grouping/index.cjs +1 -1
  147. package/components/Table/feature-columns-grouping/index.mjs +1 -1
  148. package/components/Table/feature-context-menu/index.cjs +1 -1
  149. package/components/Table/feature-context-menu/index.mjs +1 -1
  150. package/components/Table/feature-edit/index.cjs +1 -1
  151. package/components/Table/feature-edit/index.mjs +1 -1
  152. package/components/Table/feature-filtering/combobox/index.cjs +1 -1
  153. package/components/Table/feature-filtering/combobox/index.mjs +1 -1
  154. package/components/Table/feature-filtering/filter-list-block/index.cjs +1 -1
  155. package/components/Table/feature-filtering/filter-list-block/index.mjs +1 -1
  156. package/components/Table/feature-filtering/header-filter-button/index.cjs +1 -1
  157. package/components/Table/feature-filtering/header-filter-button/index.mjs +1 -1
  158. package/components/Table/feature-filtering/index.cjs +1 -1
  159. package/components/Table/feature-filtering/index.mjs +1 -1
  160. package/components/Table/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  161. package/components/Table/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  162. package/components/Table/feature-infinity-scroll/index.cjs +1 -1
  163. package/components/Table/feature-infinity-scroll/index.mjs +1 -1
  164. package/components/Table/feature-key-text/index.cjs +1 -1
  165. package/components/Table/feature-key-text/index.mjs +1 -1
  166. package/components/Table/feature-pagination/index.cjs +1 -1
  167. package/components/Table/feature-pagination/index.mjs +1 -1
  168. package/components/Table/feature-right-sidebar/index.cjs +1 -1
  169. package/components/Table/feature-right-sidebar/index.mjs +1 -1
  170. package/components/Table/feature-row-detail/index.cjs +1 -1
  171. package/components/Table/feature-row-detail/index.mjs +1 -1
  172. package/components/Table/feature-row-instruments/index.cjs +1 -1
  173. package/components/Table/feature-row-instruments/index.mjs +1 -1
  174. package/components/Table/feature-row-size/index.cjs +1 -1
  175. package/components/Table/feature-row-size/index.mjs +1 -1
  176. package/components/Table/feature-rows-grouping/index.cjs +1 -1
  177. package/components/Table/feature-rows-grouping/index.mjs +1 -1
  178. package/components/Table/feature-searching/index.cjs +1 -1
  179. package/components/Table/feature-searching/index.mjs +1 -1
  180. package/components/Table/feature-select-row/index.cjs +1 -1
  181. package/components/Table/feature-select-row/index.mjs +1 -1
  182. package/components/Table/feature-sorting/index.cjs +1 -1
  183. package/components/Table/feature-sorting/index.mjs +1 -1
  184. package/components/Table/feature-table-settings/index.cjs +1 -1
  185. package/components/Table/feature-table-settings/index.mjs +1 -1
  186. package/components/Table/feature-tree/index.cjs +1 -1
  187. package/components/Table/feature-tree/index.mjs +1 -1
  188. package/components/Table/index.cjs +1 -1
  189. package/components/Table/index.mjs +1 -1
  190. package/components/Table/renders/formatCell/index.cjs +1 -1
  191. package/components/Table/renders/formatCell/index.mjs +1 -1
  192. package/components/Table/styles/index.cjs +1 -1
  193. package/components/Table/styles/index.mjs +1 -1
  194. package/components/Table/table-hooks/index.cjs +1 -1
  195. package/components/Table/table-hooks/index.mjs +1 -1
  196. package/components/Table/types/index.cjs +1 -1
  197. package/components/Table/types/index.mjs +1 -1
  198. package/components/Table/utils/index.cjs +1 -1
  199. package/components/Table/utils/index.mjs +1 -1
  200. package/components/Table/widgets/control-block/index.cjs +1 -1
  201. package/components/Table/widgets/control-block/index.mjs +1 -1
  202. package/components/Table/widgets/control-block/right-side/index.cjs +1 -1
  203. package/components/Table/widgets/control-block/right-side/index.mjs +1 -1
  204. package/components/Table/widgets/index.cjs +1 -1
  205. package/components/Table/widgets/index.mjs +1 -1
  206. package/components/Table/widgets/mass-actions/index.cjs +1 -1
  207. package/components/Table/widgets/mass-actions/index.mjs +1 -1
  208. package/components/TableCanvas/TableGlideInstance/adapters/column/index.cjs +1 -1
  209. package/components/TableCanvas/TableGlideInstance/adapters/column/index.mjs +1 -1
  210. package/components/TableCanvas/TableGlideInstance/adapters/index.cjs +1 -1
  211. package/components/TableCanvas/TableGlideInstance/adapters/index.mjs +1 -1
  212. package/components/TableCanvas/TableGlideInstance/index.cjs +1 -1
  213. package/components/TableCanvas/TableGlideInstance/index.mjs +2 -2
  214. package/components/TableCanvas/TableGlideInstance/utils/column/index.cjs +1 -1
  215. package/components/TableCanvas/TableGlideInstance/utils/column/index.mjs +1 -1
  216. package/components/TableCanvas/TableGlideInstance/utils/index.cjs +1 -1
  217. package/components/TableCanvas/TableGlideInstance/utils/index.mjs +1 -1
  218. package/components/TableCanvas/components/SplitIconButton/index.cjs +1 -1
  219. package/components/TableCanvas/components/SplitIconButton/index.mjs +1 -1
  220. package/components/TableCanvas/components/TableDropdown/index.cjs +1 -1
  221. package/components/TableCanvas/components/TableDropdown/index.mjs +1 -1
  222. package/components/TableCanvas/feature-cell-transfer/index.cjs +1 -1
  223. package/components/TableCanvas/feature-cell-transfer/index.mjs +1 -1
  224. package/components/TableCanvas/feature-collapse-table/index.cjs +1 -1
  225. package/components/TableCanvas/feature-collapse-table/index.mjs +1 -1
  226. package/components/TableCanvas/feature-column-control/ColumnsList/index.cjs +1 -1
  227. package/components/TableCanvas/feature-column-control/ColumnsList/index.mjs +1 -1
  228. package/components/TableCanvas/feature-column-control/index.cjs +1 -1
  229. package/components/TableCanvas/feature-column-control/index.mjs +1 -1
  230. package/components/TableCanvas/feature-columns-grouping/index.cjs +1 -1
  231. package/components/TableCanvas/feature-columns-grouping/index.mjs +1 -1
  232. package/components/TableCanvas/feature-content-state/index.cjs +1 -1
  233. package/components/TableCanvas/feature-content-state/index.mjs +1 -1
  234. package/components/TableCanvas/feature-context-menu/index.cjs +1 -1
  235. package/components/TableCanvas/feature-context-menu/index.mjs +1 -1
  236. package/components/TableCanvas/feature-edit/index.cjs +1 -1
  237. package/components/TableCanvas/feature-edit/index.mjs +1 -1
  238. package/components/TableCanvas/feature-filtering/combobox/index.cjs +1 -1
  239. package/components/TableCanvas/feature-filtering/combobox/index.mjs +1 -1
  240. package/components/TableCanvas/feature-filtering/filter-list-block/index.cjs +1 -1
  241. package/components/TableCanvas/feature-filtering/filter-list-block/index.mjs +1 -1
  242. package/components/TableCanvas/feature-filtering/header-filter-button/index.cjs +1 -1
  243. package/components/TableCanvas/feature-filtering/header-filter-button/index.mjs +1 -1
  244. package/components/TableCanvas/feature-filtering/index.cjs +1 -1
  245. package/components/TableCanvas/feature-filtering/index.mjs +1 -1
  246. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.cjs +1 -1
  247. package/components/TableCanvas/feature-filtering/sidebar-filter-block/index.mjs +1 -1
  248. package/components/TableCanvas/feature-infinity-scroll/index.cjs +1 -1
  249. package/components/TableCanvas/feature-infinity-scroll/index.mjs +1 -1
  250. package/components/TableCanvas/feature-key-text/index.cjs +1 -1
  251. package/components/TableCanvas/feature-key-text/index.mjs +1 -1
  252. package/components/TableCanvas/feature-notifications/index.cjs +1 -1
  253. package/components/TableCanvas/feature-notifications/index.mjs +1 -1
  254. package/components/TableCanvas/feature-pagination/index.cjs +1 -1
  255. package/components/TableCanvas/feature-pagination/index.mjs +1 -1
  256. package/components/TableCanvas/feature-popover-table/context/index.cjs +1 -1
  257. package/components/TableCanvas/feature-popover-table/context/index.mjs +1 -1
  258. package/components/TableCanvas/feature-popover-table/hooks/index.cjs +1 -1
  259. package/components/TableCanvas/feature-popover-table/hooks/index.mjs +1 -1
  260. package/components/TableCanvas/feature-popover-table/index.cjs +1 -1
  261. package/components/TableCanvas/feature-popover-table/index.mjs +1 -1
  262. package/components/TableCanvas/feature-popover-table/utils/index.cjs +1 -1
  263. package/components/TableCanvas/feature-popover-table/utils/index.mjs +1 -1
  264. package/components/TableCanvas/feature-right-sidebar/index.cjs +1 -1
  265. package/components/TableCanvas/feature-right-sidebar/index.mjs +1 -1
  266. package/components/TableCanvas/feature-row-detail/index.cjs +1 -1
  267. package/components/TableCanvas/feature-row-detail/index.mjs +1 -1
  268. package/components/TableCanvas/feature-row-instruments/index.cjs +1 -1
  269. package/components/TableCanvas/feature-row-instruments/index.mjs +1 -1
  270. package/components/TableCanvas/feature-row-markers/index.cjs +1 -1
  271. package/components/TableCanvas/feature-row-markers/index.mjs +1 -1
  272. package/components/TableCanvas/feature-row-size/index.cjs +1 -1
  273. package/components/TableCanvas/feature-row-size/index.mjs +1 -1
  274. package/components/TableCanvas/feature-rows-grouping/index.cjs +1 -1
  275. package/components/TableCanvas/feature-rows-grouping/index.mjs +1 -1
  276. package/components/TableCanvas/feature-searching/index.cjs +1 -1
  277. package/components/TableCanvas/feature-searching/index.mjs +1 -1
  278. package/components/TableCanvas/feature-select-row/index.cjs +1 -1
  279. package/components/TableCanvas/feature-select-row/index.mjs +1 -1
  280. package/components/TableCanvas/feature-sorting/index.cjs +1 -1
  281. package/components/TableCanvas/feature-sorting/index.mjs +1 -1
  282. package/components/TableCanvas/feature-table-settings/index.cjs +1 -1
  283. package/components/TableCanvas/feature-table-settings/index.mjs +1 -1
  284. package/components/TableCanvas/feature-tooltip/index.cjs +1 -1
  285. package/components/TableCanvas/feature-tooltip/index.mjs +1 -1
  286. package/components/TableCanvas/feature-tooltip/utils/index.cjs +1 -1
  287. package/components/TableCanvas/feature-tooltip/utils/index.mjs +1 -1
  288. package/components/TableCanvas/feature-tree/index.cjs +1 -1
  289. package/components/TableCanvas/feature-tree/index.mjs +1 -1
  290. package/components/TableCanvas/index.cjs +1 -1
  291. package/components/TableCanvas/index.mjs +2 -2
  292. package/components/TableCanvas/renders/formatCell/index.cjs +1 -1
  293. package/components/TableCanvas/renders/formatCell/index.mjs +1 -1
  294. package/components/TableCanvas/styles/index.cjs +1 -1
  295. package/components/TableCanvas/styles/index.mjs +1 -1
  296. package/components/TableCanvas/table-hooks/index.cjs +1 -1
  297. package/components/TableCanvas/table-hooks/index.mjs +1 -1
  298. package/components/TableCanvas/types/index.cjs +1 -1
  299. package/components/TableCanvas/types/index.mjs +1 -1
  300. package/components/TableCanvas/utils/index.cjs +1 -1
  301. package/components/TableCanvas/utils/index.mjs +2 -2
  302. package/components/TableCanvas/widgets/control-block/compression/index.cjs +1 -1
  303. package/components/TableCanvas/widgets/control-block/compression/index.mjs +1 -1
  304. package/components/TableCanvas/widgets/control-block/index.cjs +1 -1
  305. package/components/TableCanvas/widgets/control-block/index.mjs +1 -1
  306. package/components/TableCanvas/widgets/control-block/right-side/index.cjs +1 -1
  307. package/components/TableCanvas/widgets/control-block/right-side/index.mjs +1 -1
  308. package/components/TableCanvas/widgets/index.cjs +1 -1
  309. package/components/TableCanvas/widgets/index.mjs +1 -1
  310. package/components/TableCanvas/widgets/mass-actions/hooks/index.cjs +1 -1
  311. package/components/TableCanvas/widgets/mass-actions/hooks/index.mjs +1 -1
  312. package/components/TableCanvas/widgets/mass-actions/index.cjs +1 -1
  313. package/components/TableCanvas/widgets/mass-actions/index.mjs +1 -1
  314. package/components/TableContract/index.cjs +2 -2
  315. package/components/TableContract/index.mjs +540 -798
  316. package/components/TableGlide/hooks/selection/index.cjs +1 -1
  317. package/components/TableGlide/hooks/selection/index.mjs +1 -1
  318. package/components/TableGlide/index.cjs +1 -1
  319. package/components/TableGlide/index.mjs +1 -1
  320. package/components/TableGlide/lib/canvas/cells/buttons/index.cjs +1 -1
  321. package/components/TableGlide/lib/canvas/cells/buttons/index.mjs +1 -1
  322. package/components/TableGlide/lib/canvas/cells/iconSprites/index.cjs +1 -1
  323. package/components/TableGlide/lib/canvas/cells/iconSprites/index.mjs +1 -1
  324. package/components/TableGlide/lib/canvas/cells/index.cjs +1 -1
  325. package/components/TableGlide/lib/canvas/cells/index.mjs +1 -1
  326. package/components/TableGlide/lib/canvas/cells/renderer/index.cjs +1 -1
  327. package/components/TableGlide/lib/canvas/cells/renderer/index.mjs +1 -1
  328. package/components/TableGlide/lib/canvas/core/helpers/index.cjs +1 -1
  329. package/components/TableGlide/lib/canvas/core/helpers/index.mjs +1 -1
  330. package/components/TableGlide/lib/canvas/core/index.cjs +1 -1
  331. package/components/TableGlide/lib/canvas/core/index.mjs +1 -1
  332. package/components/TableGlide/lib/canvas/hooks/index.cjs +1 -1
  333. package/components/TableGlide/lib/canvas/hooks/index.mjs +1 -1
  334. package/components/TableGlide/lib/canvas/index.cjs +1 -1
  335. package/components/TableGlide/lib/canvas/index.mjs +1 -1
  336. package/components/TableGlide/lib/canvas/miniflex/index.cjs +1 -1
  337. package/components/TableGlide/lib/canvas/miniflex/index.mjs +1 -1
  338. package/components/TableGlide/lib/canvas/primitives/index.cjs +1 -1
  339. package/components/TableGlide/lib/canvas/primitives/index.mjs +1 -1
  340. package/components/TableGlide/lib/canvas/utils/index.cjs +1 -1
  341. package/components/TableGlide/lib/canvas/utils/index.mjs +1 -1
  342. package/components/TableGlide/theming/index.cjs +1 -1
  343. package/components/TableGlide/theming/index.mjs +1 -1
  344. package/components/TableTabs/index.cjs +1 -1
  345. package/components/TableTabs/index.mjs +136 -305
  346. package/components/TextArea/index.cjs +1 -1
  347. package/components/TextArea/index.mjs +26 -40
  348. package/components/TextField/index.cjs +1 -1
  349. package/components/TextField/index.mjs +38 -82
  350. package/components/Tooltip/index.cjs +1 -1
  351. package/components/Tooltip/index.mjs +1 -1
  352. package/components/TourWidget/index.cjs +15 -15
  353. package/components/TourWidget/index.mjs +176 -371
  354. package/components/Typography/index.cjs +1 -1
  355. package/components/Typography/index.mjs +1 -1
  356. package/components/Widget/index.cjs +1 -1
  357. package/components/Widget/index.mjs +151 -363
  358. package/formComponents/FormAutocomplete/index.cjs +1 -1
  359. package/formComponents/FormAutocomplete/index.mjs +63 -68
  360. package/formComponents/FormCheckbox/index.cjs +1 -1
  361. package/formComponents/FormCheckbox/index.mjs +27 -55
  362. package/formComponents/FormCombobox/index.cjs +1 -1
  363. package/formComponents/FormCombobox/index.mjs +61 -75
  364. package/formComponents/FormDatePickers/FormDatePicker/index.cjs +1 -1
  365. package/formComponents/FormDatePickers/FormDatePicker/index.mjs +1 -1
  366. package/formComponents/FormDatePickers/FormDatePickerRange/index.cjs +1 -1
  367. package/formComponents/FormDatePickers/FormDatePickerRange/index.mjs +1 -1
  368. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.cjs +1 -1
  369. package/formComponents/FormDatePickers/FormDatePickerRange/lib/utils/index.mjs +1 -1
  370. package/formComponents/FormDatePickers/index.cjs +1 -1
  371. package/formComponents/FormDatePickers/index.mjs +1 -1
  372. package/formComponents/FormMask/index.cjs +1 -1
  373. package/formComponents/FormMask/index.mjs +61 -66
  374. package/formComponents/FormNumberFormat/index.cjs +1 -1
  375. package/formComponents/FormNumberFormat/index.mjs +56 -68
  376. package/formComponents/FormRadioGroupBox/index.cjs +1 -1
  377. package/formComponents/FormRadioGroupBox/index.mjs +71 -144
  378. package/formComponents/FormSegments/index.cjs +1 -1
  379. package/formComponents/FormSegments/index.mjs +1 -1
  380. package/formComponents/FormSelect/index.cjs +1 -1
  381. package/formComponents/FormSelect/index.mjs +62 -76
  382. package/formComponents/FormSwitch/index.cjs +1 -1
  383. package/formComponents/FormSwitch/index.mjs +25 -53
  384. package/formComponents/FormTextArea/index.cjs +1 -1
  385. package/formComponents/FormTextArea/index.mjs +1 -1
  386. package/formComponents/FormTextArea/ui/index.cjs +1 -1
  387. package/formComponents/FormTextArea/ui/index.mjs +1 -1
  388. package/formComponents/FormTextField/index.cjs +1 -1
  389. package/formComponents/FormTextField/index.mjs +70 -101
  390. package/index.cjs +1 -1
  391. package/index.mjs +21 -21
  392. package/layouts/Container/index.cjs +1 -1
  393. package/layouts/Container/index.mjs +1 -1
  394. package/layouts/Container/lib/utils/index.cjs +1 -1
  395. package/layouts/Container/lib/utils/index.mjs +1 -1
  396. package/layouts/ErrorPage/index.cjs +1 -1
  397. package/layouts/ErrorPage/index.mjs +81 -146
  398. package/layouts/FiltersActions/hooks/index.cjs +1 -1
  399. package/layouts/FiltersActions/hooks/index.mjs +1 -1
  400. package/layouts/FiltersActions/index.cjs +1 -1
  401. package/layouts/FiltersActions/index.mjs +1 -1
  402. package/layouts/Layout/index.cjs +5 -5
  403. package/layouts/Layout/index.mjs +78 -115
  404. package/layouts/PageLayout/index.cjs +2 -2
  405. package/layouts/PageLayout/index.mjs +15 -32
  406. package/mixins/index.cjs +1 -1
  407. package/mixins/index.mjs +1 -1
  408. package/package.json +1 -1
  409. package/shared/ui/Search/index.cjs +1 -1
  410. package/shared/ui/Search/index.mjs +30 -52
  411. package/shared/utils/inputs/index.cjs +1 -1
  412. package/shared/utils/inputs/index.mjs +33 -48
  413. package/styles/index.cjs +1 -1
  414. package/styles/index.mjs +1 -1
  415. package/themes/index.cjs +1 -1
  416. package/themes/index.mjs +1 -1
  417. package/utils/breakpoint/index.cjs +1 -1
  418. package/utils/breakpoint/index.mjs +1 -1
  419. package/utils/clickStream/index.cjs +1 -1
  420. package/utils/clickStream/index.mjs +1 -1
  421. package/utils/eventBus/index.cjs +1 -1
  422. package/utils/eventBus/index.mjs +1 -1
  423. package/utils/hooks/index.cjs +1 -1
  424. package/utils/hooks/index.mjs +1 -1
  425. package/utils/index.cjs +1 -1
  426. package/utils/index.mjs +1 -1
  427. package/utils/styles/index.cjs +1 -1
  428. package/utils/styles/index.mjs +1 -1
  429. package/chunks/AnalyticalWidget-Ca_EuSTO.mjs +0 -868
  430. package/chunks/AnalyticalWidget-xgvWcsXx.cjs +0 -43
  431. package/chunks/ApprovalCenter-4aJlJfei.mjs +0 -531
  432. package/chunks/ApprovalCenter-Ij5NMkY-.cjs +0 -1
  433. package/chunks/BlockTitle-CgXVHok6.mjs +0 -180
  434. package/chunks/BlockTitle-SaP9H2PI.cjs +0 -1
  435. package/chunks/Container-ChuCs63G.cjs +0 -17
  436. package/chunks/Container-D8RdjkGo.mjs +0 -180
  437. package/chunks/EmptyState-BxUh2dhY.cjs +0 -1
  438. package/chunks/EmptyState-C0aHgxrn.mjs +0 -615
  439. package/chunks/FiltersActions-BekNxF-h.cjs +0 -1
  440. package/chunks/FiltersActions-CSucE-Ql.mjs +0 -637
  441. package/chunks/FormDatePickers-BCyW24Pr.cjs +0 -1
  442. package/chunks/FormDatePickers-DfdGdbwP.mjs +0 -538
  443. package/chunks/FormSegmentGroup-BKuHtPEn.cjs +0 -1
  444. package/chunks/FormSegmentGroup-DqFMVBr0.mjs +0 -268
  445. package/chunks/FormTextArea-CCrYx4pL.mjs +0 -159
  446. package/chunks/FormTextArea-sly1mY7h.cjs +0 -1
  447. package/chunks/GridDND-Bycwiynh.mjs +0 -1086
  448. package/chunks/GridDND-MsZt1fXJ.cjs +0 -1
  449. package/chunks/LeftPanel-C72uosX_.mjs +0 -303
  450. package/chunks/LeftPanel-Di-IqpZ_.cjs +0 -1
  451. package/chunks/ListOfFilters-B3bM1n4w.cjs +0 -1
  452. package/chunks/ListOfFilters-CPJGgMMc.mjs +0 -462
  453. package/chunks/MassActions-BbAXi3z9.cjs +0 -1
  454. package/chunks/MassActions-CZm8vqj8.mjs +0 -1352
  455. package/chunks/PageTitle-DEsijnDg.cjs +0 -1
  456. package/chunks/PageTitle-TusD1S2c.mjs +0 -282
  457. package/chunks/SplitView-BHdftJ9A.cjs +0 -12
  458. package/chunks/SplitView-Cd-xkxCe.mjs +0 -339
  459. package/chunks/Stories-CR_EUNO7.mjs +0 -1018
  460. package/chunks/Stories-CxsYx2OE.cjs +0 -1
  461. package/chunks/Table--05ONCr1.cjs +0 -31
  462. package/chunks/Table-l-P3NNUN.mjs +0 -11944
  463. package/chunks/TableCanvas-BYKPeWME.mjs +0 -16941
  464. package/chunks/TableCanvas-ZmjSKk64.cjs +0 -30
  465. package/chunks/TableGlide-CbvaAM_H.cjs +0 -1
  466. package/chunks/styles-D8FDGdVz.mjs +0 -240
  467. package/chunks/styles-OR0WE1xm.cjs +0 -2
  468. package/chunks/utils-C93a2mD7.cjs +0 -25
@@ -1,43 +1,43 @@
1
- import { BodyM as Ie, BodyS as Ee, NumberInput as Ve, Button as Be, IconButton as je, Popover as De, Select as Pe, Spinner as Ae, H3 as Re } from "@salutejs/sdds-finai";
2
- import { j as d } from "../../chunks/vendor-BG4P-329.mjs";
3
- import { ModalDFConfirmation as _e } from "../ModalDFConfirmation/index.mjs";
4
- import { a as ie, d as X, u as Fe, b as We, c as Le, C as Ce, e as ze, f as qe } from "../../chunks/Table-l-P3NNUN.mjs";
5
- import { useState as P, useCallback as Ge, useEffect as J, useMemo as A, useRef as Xe, useId as Ke, useReducer as Ue } from "react";
6
- import He from "swr";
7
- import { IconTableRowAdd as Me, IconTrashOutline as Je } from "@salutejs/plasma-icons";
8
- import $e from "swr/mutation";
9
- import { s as K } from "../../constants/index.mjs";
10
- import { surfaceSolidCard as Ye, textSecondary as Qe, textPrimary as Ze } from "@salutejs/sdds-themes/tokens/sdds_finai";
11
- import xe from "styled-components";
12
- import { u as en } from "../../chunks/utils-BNelzuI-.mjs";
13
- import { ErrorPage as nn } from "../../layouts/ErrorPage/index.mjs";
14
- const ne = async (o, n) => {
15
- const r = await o(n);
1
+ import { BodyM as xe, BodyS as Ee, NumberInput as Pe, Button as _e, IconButton as Ae, Popover as Ve, Select as Fe, Spinner as je, H3 as Re } from "@salutejs/sdds-finai";
2
+ import { jsx as m, jsxs as ne, Fragment as De } from "react/jsx-runtime";
3
+ import { ModalDFConfirmation as Le } from "../ModalDFConfirmation/index.mjs";
4
+ import { a as ie, d as K, u as ze, b as qe, c as Ge, C as ke, e as Xe, f as Ke } from "../../chunks/Table-Bj2se1hR.mjs";
5
+ import { useState as V, useCallback as Ue, useEffect as M, useMemo as F, useRef as We, useId as He, useReducer as Je } from "react";
6
+ import Me from "swr";
7
+ import { IconTableRowAdd as $e, IconTrashOutline as Ye } from "@salutejs/plasma-icons";
8
+ import Qe from "swr/mutation";
9
+ import { s as U } from "../../constants/index.mjs";
10
+ import { surfaceSolidCard as Ze, textSecondary as et, textPrimary as tt } from "@salutejs/sdds-themes/tokens/sdds_finai";
11
+ import Be from "styled-components";
12
+ import { u as nt } from "../../chunks/utils-C5SQhoON.mjs";
13
+ import { ErrorPage as ot } from "../../layouts/ErrorPage/index.mjs";
14
+ const te = async (o, t) => {
15
+ const r = await o(t);
16
16
  if (!r.ok) {
17
- const s = new Error(), t = await r.json();
18
- throw s.status = r.status, s.info = t, s.message = `An error occurred while fetching the data.
17
+ const i = new Error(), n = await r.json();
18
+ throw i.status = r.status, i.info = n, i.message = `An error occurred while fetching the data.
19
19
 
20
- ${JSON.stringify(t, void 0, 2)}`, s;
20
+ ${JSON.stringify(n, void 0, 2)}`, i;
21
21
  }
22
22
  return r.json();
23
- }, ge = class ge {
23
+ }, me = class me {
24
24
  };
25
- ge.get = async (n, r) => ne(r, n);
26
- let de = ge;
27
- const M = class M {
25
+ me.get = async (t, r) => te(r, t);
26
+ let fe = me;
27
+ const J = class J {
28
28
  };
29
- M.createOne = (n, r) => ne(r, {
29
+ J.createOne = (t, r) => te(r, {
30
30
  method: "POST",
31
- body: JSON.stringify(n)
32
- }), M.deleteOne = (n, r) => ne(r, {
31
+ body: JSON.stringify(t)
32
+ }), J.deleteOne = (t, r) => te(r, {
33
33
  method: "POST",
34
- body: JSON.stringify(n),
34
+ body: JSON.stringify(t),
35
35
  pathParams: "delete"
36
- }), M.updateOne = (n, r) => ne(r, {
36
+ }), J.updateOne = (t, r) => te(r, {
37
37
  method: "PUT",
38
- body: JSON.stringify(n)
38
+ body: JSON.stringify(t)
39
39
  });
40
- let U = M;
40
+ let W = J;
41
41
  const H = {
42
42
  sort: "sort",
43
43
  page: "page",
@@ -46,9 +46,9 @@ const H = {
46
46
  */
47
47
  pageSize: "pageSize",
48
48
  q: "q"
49
- }, Oe = {
49
+ }, Ne = {
50
50
  height: "500px"
51
- }, Dn = [{
51
+ }, Vt = [{
52
52
  ansiSqlType: "Real",
53
53
  semanticType: "FLOAT",
54
54
  jsType: "number"
@@ -84,997 +84,739 @@ const H = {
84
84
  ansiSqlType: "Boolean",
85
85
  semanticType: "BOOLEAN",
86
86
  jsType: "boolean"
87
- }], fe = (o, n) => {
88
- const r = o == null ? void 0 : o[n.shift()];
89
- return !r || !n.length ? r : fe(r, n);
90
- }, $ = (o) => (n) => o.split(",").reduce((t, i) => {
91
- const c = fe(n, i.split(".")) ?? "";
92
- return t + c;
93
- }, ""), q = "AddRowsIconButtonWithPopover", I = {
94
- container: `${q}_container`,
95
- bottomBlock: `${q}_bottomBlock`,
96
- title: `${q}_title`,
97
- description: `${q}_description`,
98
- arrowSelector: `${q}_popover-arrow:before`
99
- }, G = {
100
- spaceX6: () => K.x6,
101
- spaceX8: () => K.x8,
102
- spaceX4: () => K.x4,
103
- spaceX2: () => K.x2
104
- }, tn = xe(De).withConfig({ displayName: "AddRowsIconButtonWithPopover__PopoverStyled" })(
105
- ["& .", ",& .", "{background-color:", ";}.", "{padding:", " 14px;border-radius:", ";.", "{margin-bottom:", ";}.", "{color:", ";}.", "{margin-top:", ";display:flex;gap:", ";}}"],
106
- I.arrowSelector,
107
- I.container,
108
- () => Ye,
109
- I.container,
110
- G.spaceX6,
111
- G.spaceX8,
112
- I.title,
113
- G.spaceX2,
114
- I.description,
115
- () => Qe,
116
- I.bottomBlock,
117
- G.spaceX6,
118
- G.spaceX4
119
- ), on = ({
87
+ }], ye = (o, t) => {
88
+ const r = o == null ? void 0 : o[t.shift()];
89
+ return !r || !t.length ? r : ye(r, t);
90
+ }, $ = (o) => (t) => o.split(",").reduce((n, s) => {
91
+ const a = ye(t, s.split(".")) ?? "";
92
+ return n + a;
93
+ }, ""), G = "AddRowsIconButtonWithPopover", N = {
94
+ container: `${G}_container`,
95
+ bottomBlock: `${G}_bottomBlock`,
96
+ title: `${G}_title`,
97
+ description: `${G}_description`,
98
+ arrowSelector: `${G}_popover-arrow:before`
99
+ }, X = {
100
+ spaceX6: () => U.x6,
101
+ spaceX8: () => U.x8,
102
+ spaceX4: () => U.x4,
103
+ spaceX2: () => U.x2
104
+ }, rt = Be(Ve).withConfig({
105
+ displayName: "AddRowsIconButtonWithPopover__PopoverStyled"
106
+ })(["& .", ",& .", "{background-color:", ";}.", "{padding:", " 14px;border-radius:", ";.", "{margin-bottom:", ";}.", "{color:", ";}.", "{margin-top:", ";display:flex;gap:", ";}}"], N.arrowSelector, N.container, () => Ze, N.container, X.spaceX6, X.spaceX8, N.title, X.spaceX2, N.description, () => et, N.bottomBlock, X.spaceX6, X.spaceX4), st = ({
120
107
  onSubmit: o
121
108
  }) => {
122
- const [n, r] = P(!1), [s, t] = P(1);
123
- return /* @__PURE__ */ d.jsxDEV(
124
- tn,
125
- {
126
- opened: n,
127
- usePortal: !0,
128
- onToggle: (i) => r(i),
129
- role: "presentation",
130
- target: /* @__PURE__ */ d.jsxDEV(je, { size: "xs", view: "clear", children: /* @__PURE__ */ d.jsxDEV(Me, { color: "inherit" }, void 0, !1, {
131
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
132
- lineNumber: 65,
133
- columnNumber: 11
134
- }, void 0) }, void 0, !1, {
135
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
136
- lineNumber: 64,
137
- columnNumber: 7
138
- }, void 0),
139
- placement: "bottom",
140
- offset: [0, 8],
141
- trigger: "click",
142
- hasArrow: !0,
143
- closeOnOverlayClick: !0,
144
- closeOnEsc: !0,
145
- isFocusTrapped: !0,
146
- children: /* @__PURE__ */ d.jsxDEV("div", { className: I.container, children: [
147
- /* @__PURE__ */ d.jsxDEV(Ie, { bold: !0, className: I.title, children: "Добавить строки" }, void 0, !1, {
148
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
149
- lineNumber: 77,
150
- columnNumber: 9
151
- }, void 0),
152
- /* @__PURE__ */ d.jsxDEV(Ee, { className: I.description, children: "Введите необходимое количество" }, void 0, !1, {
153
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
154
- lineNumber: 80,
155
- columnNumber: 9
156
- }, void 0),
157
- /* @__PURE__ */ d.jsxDEV("div", { className: I.bottomBlock, children: [
158
- /* @__PURE__ */ d.jsxDEV(
159
- Ve,
160
- {
161
- view: "secondary",
162
- size: "s",
163
- value: s,
164
- min: 0,
165
- onChange: (i, c) => {
166
- c !== void 0 && t(+c);
167
- },
168
- width: 140
169
- },
170
- void 0,
171
- !1,
172
- {
173
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
174
- lineNumber: 84,
175
- columnNumber: 11
176
- },
177
- void 0
178
- ),
179
- /* @__PURE__ */ d.jsxDEV(
180
- Be,
181
- {
182
- size: "s",
183
- view: "accent",
184
- onClick: () => {
185
- o(s), r(!1);
186
- },
187
- children: "Добавить"
188
- },
189
- void 0,
190
- !1,
191
- {
192
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
193
- lineNumber: 96,
194
- columnNumber: 11
195
- },
196
- void 0
197
- )
198
- ] }, void 0, !0, {
199
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
200
- lineNumber: 83,
201
- columnNumber: 9
202
- }, void 0)
203
- ] }, void 0, !0, {
204
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
205
- lineNumber: 76,
206
- columnNumber: 7
207
- }, void 0)
208
- },
209
- void 0,
210
- !1,
211
- {
212
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/AddRowsIconButtonWithPopover.tsx",
213
- lineNumber: 58,
214
- columnNumber: 5
215
- },
216
- void 0
217
- );
218
- }, se = {
109
+ const [t, r] = V(!1), [i, n] = V(1);
110
+ return /* @__PURE__ */ m(rt, { opened: t, usePortal: !0, onToggle: (s) => r(s), role: "presentation", target: /* @__PURE__ */ m(Ae, { size: "xs", view: "clear", children: /* @__PURE__ */ m($e, { color: "inherit" }) }), placement: "bottom", offset: [0, 8], trigger: "click", hasArrow: !0, closeOnOverlayClick: !0, closeOnEsc: !0, isFocusTrapped: !0, children: /* @__PURE__ */ ne("div", { className: N.container, children: [
111
+ /* @__PURE__ */ m(xe, { bold: !0, className: N.title, children: "Добавить строки" }),
112
+ /* @__PURE__ */ m(Ee, { className: N.description, children: "Введите необходимое количество" }),
113
+ /* @__PURE__ */ ne("div", { className: N.bottomBlock, children: [
114
+ /* @__PURE__ */ m(Pe, { view: "secondary", size: "s", value: i, min: 0, onChange: (s, a) => {
115
+ a !== void 0 && n(+a);
116
+ }, width: 140 }),
117
+ /* @__PURE__ */ m(_e, { size: "s", view: "accent", onClick: () => {
118
+ o(i), r(!1);
119
+ }, children: "Добавить" })
120
+ ] })
121
+ ] }) });
122
+ }, ce = {
219
123
  header: "Удалить строку?",
220
124
  body: "Если удалить строку, восстановить ее и продолжить с ней работу будет невозможно.",
221
- mainButton: { view: "negative", text: "Удалить" },
222
- secondaryButton: { view: "secondary", text: "Отменить" }
125
+ mainButton: {
126
+ view: "negative",
127
+ text: "Удалить"
128
+ },
129
+ secondaryButton: {
130
+ view: "secondary",
131
+ text: "Отменить"
132
+ }
223
133
  }, ae = {
224
134
  opened: !1,
225
135
  mainButtonOnClick: () => {
226
136
  },
227
137
  secondaryButtonOnClick: () => {
228
138
  }
229
- }, D = "NEW_ROW_KEY_XXXXXXXXX", Te = (o) => !!(o != null && o[D]), ee = (o) => {
230
- const n = X(o);
231
- return delete n[D], n;
139
+ }, A = "NEW_ROW_KEY_XXXXXXXXX", Oe = (o) => !!(o != null && o[A]), ee = (o) => {
140
+ const t = K(o);
141
+ return delete t[A], t;
232
142
  };
233
- function rn({
143
+ function it({
234
144
  tableConfigBackendSubRows: o,
235
- tableConfigBackendEditing: n,
145
+ tableConfigBackendEditing: t,
236
146
  tableConfigColumnsConfig: r,
237
- setRowsState: s,
238
- fetcher: t,
239
- onRowMutationError: i
147
+ setRowsState: i,
148
+ fetcher: n,
149
+ onRowMutationError: s
240
150
  }) {
241
151
  const {
242
- rowUniqIdKey: c,
152
+ rowUniqIdKey: a,
243
153
  rowEditable: e,
244
- defaultEnabled: u,
245
- showToggleEnabledButton: l,
246
- saving: a
247
- } = n ?? {}, m = (a == null ? void 0 : a.type) ?? "onRowChange", k = !!n, h = !!(n != null && n.defaultEnabled), [S, E] = P([]), [V, R] = P(
248
- !!(n != null && n.defaultEnabled)
249
- ), [C, B] = P(
250
- ae
251
- ), N = Ge(
252
- (b, y) => {
253
- const p = (w) => typeof y == "function" ? y(w) : y;
254
- s((w) => {
255
- const g = w.findIndex(b);
256
- if (g === -1)
257
- return w;
258
- const f = [...w], v = f[g], _ = p(v);
259
- return f[g] = _, f;
260
- });
261
- },
262
- [s]
263
- );
264
- J(() => {
265
- R(h);
154
+ defaultEnabled: l,
155
+ showToggleEnabledButton: u,
156
+ saving: c
157
+ } = t ?? {}, d = (c == null ? void 0 : c.type) ?? "onRowChange", p = !!t, h = !!(t != null && t.defaultEnabled), [C, x] = V([]), [E, j] = V(!!(t != null && t.defaultEnabled)), [T, P] = V(ae), O = Ue((y, S) => {
158
+ const w = (b) => typeof S == "function" ? S(b) : S;
159
+ i((b) => {
160
+ const g = b.findIndex(y);
161
+ if (g === -1)
162
+ return b;
163
+ const f = [...b], v = f[g], R = w(v);
164
+ return f[g] = R, f;
165
+ });
166
+ }, [i]);
167
+ M(() => {
168
+ j(h);
266
169
  }, [h]);
267
- const L = o == null ? void 0 : o.subRowsKey, z = JSON.stringify(e), F = A(
268
- () => {
269
- if (!k || !c)
270
- return null;
271
- const b = $(c);
272
- return {
273
- editing: {
274
- rowKeyGetter: b,
275
- ...z && {
276
- rowEditable(y) {
277
- const p = JSON.parse(z);
278
- return $(p.keyInRow)(y) === p.editableValue;
279
- }
280
- },
281
- async onRowsChange(y, p) {
282
- if (m === "onRowChange") {
283
- const w = p.rows[0], g = p.indexes[0];
284
- if (!w || g === void 0 || g === -1)
285
- return;
286
- const f = w.after, v = w.before;
287
- if (Te(f)) {
288
- const x = r == null ? void 0 : r.every(
289
- (T) => (f == null ? void 0 : f[T.key]) !== void 0
290
- ), O = (T) => (T == null ? void 0 : T[D]) === (f == null ? void 0 : f[D]);
291
- if (!x) {
292
- N(O, f);
293
- return;
294
- }
295
- try {
296
- N(
297
- O,
298
- (W) => ie(W)
299
- );
300
- const T = await U.createOne(
301
- ee(f),
302
- t
303
- );
304
- N(O, ee(T));
305
- } catch (T) {
306
- N(
307
- O,
308
- (W) => X(W)
309
- ), i == null || i(T);
310
- }
170
+ const z = o == null ? void 0 : o.subRowsKey, q = JSON.stringify(e), D = F(() => {
171
+ if (!p || !a)
172
+ return null;
173
+ const y = $(a);
174
+ return {
175
+ editing: {
176
+ rowKeyGetter: y,
177
+ ...q && {
178
+ rowEditable(S) {
179
+ const w = JSON.parse(q);
180
+ return $(w.keyInRow)(S) === w.editableValue;
181
+ }
182
+ },
183
+ async onRowsChange(S, w) {
184
+ if (d === "onRowChange") {
185
+ const b = w.rows[0], g = w.indexes[0];
186
+ if (!b || g === void 0 || g === -1)
187
+ return;
188
+ const f = b.after, v = b.before;
189
+ if (Oe(f)) {
190
+ const I = r == null ? void 0 : r.every((k) => (f == null ? void 0 : f[k.key]) !== void 0), B = (k) => (k == null ? void 0 : k[A]) === (f == null ? void 0 : f[A]);
191
+ if (!I) {
192
+ O(B, f);
311
193
  return;
312
194
  }
313
- const _ = (x) => b(x) === b(v);
314
195
  try {
315
- N(_, (T) => ie(T));
316
- const x = {
317
- before: ee(v),
318
- after: ee(f)
319
- }, O = await U.updateOne(
320
- x,
321
- t
322
- );
323
- N(
324
- _,
325
- X(O.after)
326
- );
327
- } catch (x) {
328
- N(_, (O) => X(O)), i == null || i(x);
196
+ O(B, (L) => ie(L));
197
+ const k = await W.createOne(ee(f), n);
198
+ O(B, ee(k));
199
+ } catch (k) {
200
+ O(B, (L) => K(L)), s == null || s(k);
329
201
  }
202
+ return;
203
+ }
204
+ const R = (I) => y(I) === y(v);
205
+ try {
206
+ O(R, (k) => ie(k));
207
+ const I = {
208
+ before: ee(v),
209
+ after: ee(f)
210
+ }, B = await W.updateOne(I, n);
211
+ O(R, K(B.after));
212
+ } catch (I) {
213
+ O(R, (B) => K(B)), s == null || s(I);
330
214
  }
331
- },
332
- ...L && { subRowsKey: L },
333
- defaultEnabled: u,
334
- showToggleEnabledButton: l,
335
- async onToggleEnableEditing(y) {
336
- y || s((p) => p.filter((w) => !w[D])), R(y);
337
215
  }
216
+ },
217
+ ...z && {
218
+ subRowsKey: z
219
+ },
220
+ defaultEnabled: l,
221
+ showToggleEnabledButton: u,
222
+ async onToggleEnableEditing(S) {
223
+ S || i((w) => w.filter((b) => !b[A])), j(S);
338
224
  }
339
- };
225
+ }
226
+ };
227
+ }, [l, p, n, s, q, a, d, i, u, z, r, O]), {
228
+ isMutating: Y,
229
+ trigger: Q
230
+ } = Qe("saving", async () => n({
231
+ method: "PUT",
232
+ body: JSON.stringify(C)
233
+ }), {
234
+ onError(y, S, w) {
340
235
  },
341
- [
342
- u,
343
- k,
344
- t,
345
- i,
346
- z,
347
- c,
348
- m,
349
- s,
350
- l,
351
- L,
352
- r,
353
- N
354
- ]
355
- ), { isMutating: Y, trigger: Q } = $e(
356
- "saving",
357
- async () => t({ method: "PUT", body: JSON.stringify(S) }),
358
- { onError(b, y, p) {
359
- }, onSuccess(b, y, p) {
360
- } }
361
- ), Z = V && m === "onSubmit" ? {
236
+ onSuccess(y, S, w) {
237
+ }
238
+ }), Z = E && d === "onSubmit" ? {
362
239
  text: "Сохранить",
363
240
  isLoading: Y,
364
- disabled: S.length === 0,
241
+ disabled: C.length === 0,
365
242
  onClick: () => {
366
243
  Q();
367
244
  }
368
245
  } : null;
369
246
  return {
370
- editing: F,
247
+ editing: D,
371
248
  saveButton: Z,
372
- ...V && {
249
+ ...E && {
373
250
  createOneRowButton: {
374
251
  value: "createOneRow",
375
- CustomIconRender: () => /* @__PURE__ */ d.jsxDEV(
376
- on,
377
- {
378
- onSubmit: (b) => {
379
- if (b > 0) {
380
- const y = Array.from({ length: b }, (p, w) => ({ [D]: crypto.randomUUID() }));
381
- s((p) => [...y, ...p]);
382
- }
383
- }
384
- },
385
- void 0,
386
- !1,
387
- {
388
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/features/editing.tsx",
389
- lineNumber: 288,
390
- columnNumber: 5
391
- },
392
- this
393
- )
252
+ CustomIconRender: () => /* @__PURE__ */ m(st, { onSubmit: (y) => {
253
+ if (y > 0) {
254
+ const S = Array.from({
255
+ length: y
256
+ }, (w, b) => ({
257
+ [A]: crypto.randomUUID()
258
+ }));
259
+ i((w) => [...S, ...w]);
260
+ }
261
+ } })
394
262
  },
395
263
  getDeleteOneRowRowInstrument: ({
396
- row: b
264
+ row: y
397
265
  }) => ({
398
266
  value: "delete",
399
267
  label: "Удалить строку",
400
- contentLeft: /* @__PURE__ */ d.jsxDEV(Je, { size: "xs", color: "inherit" }, void 0, !1, {
401
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/features/editing.tsx",
402
- lineNumber: 308,
403
- columnNumber: 18
404
- }, this),
268
+ contentLeft: /* @__PURE__ */ m(Ye, { size: "xs", color: "inherit" }),
405
269
  async onItemSelect() {
406
- var w;
407
- const y = (w = F == null ? void 0 : F.editing) == null ? void 0 : w.rowKeyGetter;
408
- if (!y)
270
+ var b;
271
+ const S = (b = D == null ? void 0 : D.editing) == null ? void 0 : b.rowKeyGetter;
272
+ if (!S)
409
273
  return;
410
- const p = async () => {
411
- if (Te(b)) {
412
- s(
413
- (f) => f.filter((v) => v[D] !== b[D])
414
- );
274
+ const w = async () => {
275
+ if (Oe(y)) {
276
+ i((f) => f.filter((v) => v[A] !== y[A]));
415
277
  return;
416
278
  }
417
- const g = (f) => y(f) === y(b);
279
+ const g = (f) => S(f) === S(y);
418
280
  try {
419
- N(g, ie(b)), await U.deleteOne(b, t), s((f) => f.filter((v) => !g(v)));
281
+ O(g, ie(y)), await W.deleteOne(y, n), i((f) => f.filter((v) => !g(v)));
420
282
  } catch (f) {
421
- N(g, X(b)), i == null || i(f);
283
+ O(g, K(y)), s == null || s(f);
422
284
  }
423
285
  };
424
- B({
286
+ P({
425
287
  opened: !0,
426
288
  mainButtonOnClick: () => {
427
- p(), B(ae);
289
+ w(), P(ae);
428
290
  },
429
291
  secondaryButtonOnClick: () => {
430
- B(ae);
292
+ P(ae);
431
293
  }
432
294
  });
433
295
  }
434
296
  })
435
297
  },
436
- modalDeletePropsState: C
298
+ modalDeletePropsState: T
437
299
  };
438
300
  }
439
- const ce = (o) => Object.fromEntries(o.map((n) => [n.key, ""])), sn = ({
301
+ const le = (o) => Object.fromEntries(o.map((t) => [t.key, ""])), ct = ({
440
302
  tableConfigBackendFiltering: o,
441
- dispatchParams: n,
303
+ dispatchParams: t,
442
304
  columnsConfig: r
443
305
  }) => {
444
- const s = !!o, t = r ?? [], [i, c] = P(ce(t));
445
- J(() => {
446
- c(ce(t));
447
- }, [t.length]);
448
- const e = A(
449
- () => ce(t),
306
+ const i = !!o, n = r ?? [], [s, a] = V(le(n));
307
+ M(() => {
308
+ a(le(n));
309
+ }, [n.length]);
310
+ const e = F(
311
+ () => le(n),
450
312
  // удаления колонок нет - поэтому можно полагаться на длину - (ссылка меняется каждый раз после запроса)
451
313
  // eslint-disable-next-line react-hooks/exhaustive-deps
452
- [t.length]
453
- ), u = en(i, 1e3);
454
- return J(() => {
455
- n(["filters", u]);
456
- }, [u, n]), A(() => !s || !(Object.keys(e).length === Object.keys(i).length) ? null : {
314
+ [n.length]
315
+ ), l = nt(s, 1e3);
316
+ return M(() => {
317
+ t(["filters", l]);
318
+ }, [l, t]), F(() => !i || !(Object.keys(e).length === Object.keys(s).length) ? null : {
457
319
  filtering: {
458
- state: [i, c],
320
+ state: [s, a],
459
321
  manualFiltering: !0,
460
322
  clearedValue: e
461
323
  }
462
- }, [e, i, s]);
324
+ }, [e, s, i]);
463
325
  };
464
- function Ne(o) {
465
- const n = Number(o);
466
- return typeof o != "number" && n === 0 || Number.isNaN(n) ? null : n;
326
+ function ve(o) {
327
+ const t = Number(o);
328
+ return typeof o != "number" && t === 0 || Number.isNaN(t) ? null : t;
467
329
  }
468
- function an({
330
+ function at({
469
331
  tableConfigBackendPagination: o,
470
- params: n,
332
+ params: t,
471
333
  dispatchParams: r
472
334
  }) {
473
335
  const {
474
- defaultPage: s,
475
- defaultPageSize: t,
476
- total: i,
477
- pageSizeList: c
336
+ defaultPage: i,
337
+ defaultPageSize: n,
338
+ total: s,
339
+ pageSizeList: a
478
340
  } = o ?? {};
479
- return A(() => {
480
- if (!s || !t || !i)
341
+ return F(() => {
342
+ if (!i || !n || !s)
481
343
  return null;
482
- const e = Ne(n.get(H.page)) ?? s, u = Ne(n.get(H.pageSize)) ?? t;
344
+ const e = ve(t.get(H.page)) ?? i, l = ve(t.get(H.pageSize)) ?? n;
483
345
  return {
484
346
  pagination: {
485
- count: i,
347
+ count: s,
486
348
  value: e,
487
- perPage: u,
488
- ...c && {
489
- perPageList: c
349
+ perPage: l,
350
+ ...a && {
351
+ perPageList: a
490
352
  },
491
- onChange: (l, a, m) => {
492
- if (typeof l != "number")
353
+ onChange: (u, c, d) => {
354
+ if (typeof u != "number")
493
355
  return;
494
- const k = e !== l, h = !!u && !!a && +u !== a, S = {};
495
- if (k && (S.page = l, S.pageSize = a), h) {
496
- S.pageSize = a;
497
- const E = i ? Math.ceil(i / a) : 0;
498
- if (+e > E) {
499
- const V = E;
500
- S.page = V;
356
+ const p = e !== u, h = !!l && !!c && +l !== c, C = {};
357
+ if (p && (C.page = u, C.pageSize = c), h) {
358
+ C.pageSize = c;
359
+ const x = s ? Math.ceil(s / c) : 0;
360
+ if (+e > x) {
361
+ const E = x;
362
+ C.page = E;
501
363
  }
502
364
  }
503
- Object.keys(S).length && (r(["pagination", S]), m());
365
+ Object.keys(C).length && (r(["pagination", C]), d());
504
366
  }
505
367
  }
506
368
  };
507
- }, [s, t, r, i, n]);
369
+ }, [i, n, r, s, t]);
508
370
  }
509
- const cn = {
371
+ const lt = {
510
372
  debounceDelay: 1e3
511
373
  };
512
- function un({
374
+ function ut({
513
375
  tableConfigBackendSearching: o,
514
- dispatchParams: n
376
+ dispatchParams: t
515
377
  }) {
516
378
  const {
517
379
  enabled: r,
518
- type: s,
519
- defaultSearchQuery: t,
520
- showSearchBlock: i,
521
- debounceDelay: c,
380
+ type: i,
381
+ defaultSearchQuery: n,
382
+ showSearchBlock: s,
383
+ debounceDelay: a,
522
384
  isDebounceActive: e,
523
- searchClasses: u,
524
- placeholder: l
385
+ searchClasses: l,
386
+ placeholder: u
525
387
  } = o ?? {};
526
- return A(() => {
388
+ return F(() => {
527
389
  if (!r)
528
390
  return null;
529
- const a = {
530
- defaultSearchQuery: t,
531
- showSearchBlock: i,
532
- debounceDelay: c,
391
+ const c = {
392
+ defaultSearchQuery: n,
393
+ showSearchBlock: s,
394
+ debounceDelay: a,
533
395
  isDebounceActive: e,
534
- searchClasses: u,
535
- placeholder: l
396
+ searchClasses: l,
397
+ placeholder: u
536
398
  };
537
- return s === "frontend" ? {
399
+ return i === "frontend" ? {
538
400
  searching: {
539
401
  enabled: !0,
540
402
  manualSearching: !1,
541
- ...a
403
+ ...c
542
404
  }
543
405
  } : {
544
406
  searching: {
545
407
  enabled: !0,
546
408
  manualSearching: !0,
547
- onDebouncedChange(m) {
548
- n(["q", m]);
409
+ onDebouncedChange(d) {
410
+ t(["q", d]);
549
411
  },
550
- ...a,
551
- debounceDelay: a.debounceDelay ?? cn.debounceDelay
412
+ ...c,
413
+ debounceDelay: c.debounceDelay ?? lt.debounceDelay
552
414
  }
553
415
  };
554
- }, [r, t, i, c, e, u, l, s, n]);
416
+ }, [r, n, s, a, e, l, u, i, t]);
555
417
  }
556
- const te = "sortKey", me = "sortOrder";
557
- function ln(o, n) {
418
+ const oe = "sortKey", ge = "sortOrder";
419
+ function dt(o, t) {
558
420
  return o ? {
559
421
  columnKey: o,
560
- direction: n ? n.toUpperCase() : "ASC"
422
+ direction: t ? t.toUpperCase() : "ASC"
561
423
  } : null;
562
424
  }
563
- function dn({
425
+ function ft({
564
426
  params: o,
565
- dispatchParams: n,
427
+ dispatchParams: t,
566
428
  tableConfigBackendSorting: r
567
429
  }) {
568
- const s = !!r, t = (r == null ? void 0 : r.type) === "backend", i = o.get(te), c = o.get(me), e = P([]), u = A(() => {
569
- const a = ln(i, c), m = a ? [a] : [];
570
- return [m, (k) => {
571
- let h = m;
572
- typeof k == "function" ? h = k(m) : h = k, n([te, h]);
430
+ const i = !!r, n = (r == null ? void 0 : r.type) === "backend", s = o.get(oe), a = o.get(ge), e = V([]), l = F(() => {
431
+ const c = dt(s, a), d = c ? [c] : [];
432
+ return [d, (p) => {
433
+ let h = d;
434
+ typeof p == "function" ? h = p(d) : h = p, t([oe, h]);
573
435
  }];
574
- }, [n, i, c]), l = s && (t ? u : e);
575
- return l ? {
436
+ }, [t, s, a]), u = i && (n ? l : e);
437
+ return u ? {
576
438
  sorting: {
577
- state: l,
578
- manualSorting: t
439
+ state: u,
440
+ manualSorting: n
579
441
  }
580
442
  } : null;
581
443
  }
582
- function mn(o) {
444
+ function gt(o) {
583
445
  const {
584
- subRowsKey: n,
446
+ subRowsKey: t,
585
447
  rowUniqIdKey: r
586
- } = o ?? {}, s = !!o;
587
- return A(() => !s || n === void 0 || r === void 0 ? null : {
448
+ } = o ?? {}, i = !!o;
449
+ return F(() => !i || t === void 0 || r === void 0 ? null : {
588
450
  subRows: {
589
- getSubRows(t) {
590
- let i = [n];
591
- n.includes(".") && (i = n.split("."));
592
- const c = fe(t, i);
593
- return Array.isArray(c) ? c : void 0;
451
+ getSubRows(n) {
452
+ let s = [t];
453
+ t.includes(".") && (s = t.split("."));
454
+ const a = ye(n, s);
455
+ return Array.isArray(a) ? a : void 0;
594
456
  },
595
457
  rowKeyGetter: $(r)
596
458
  }
597
- }, [s, r, n]);
459
+ }, [i, r, t]);
598
460
  }
599
- function fn(o, n) {
600
- const [r, s] = n;
461
+ function yt(o, t) {
462
+ const [r, i] = t;
601
463
  switch (r) {
602
464
  case "sortKey": {
603
- const t = new URLSearchParams(o), [i] = s;
604
- return i ? (t.set(te, i.columnKey), t.set(me, i.direction.toLowerCase())) : (t.delete(te), t.delete(me)), t;
465
+ const n = new URLSearchParams(o), [s] = i;
466
+ return s ? (n.set(oe, s.columnKey), n.set(ge, s.direction.toLowerCase())) : (n.delete(oe), n.delete(ge)), n;
605
467
  }
606
468
  case "pagination": {
607
- const t = new URLSearchParams(o);
608
- return Object.entries(s).forEach(([i, c]) => {
609
- c && t.set(i, c.toString());
610
- }), t;
469
+ const n = new URLSearchParams(o);
470
+ return Object.entries(i).forEach(([s, a]) => {
471
+ a && n.set(s, a.toString());
472
+ }), n;
611
473
  }
612
474
  case "q": {
613
- const t = new URLSearchParams(o);
614
- return t.set(H.q, s), t;
475
+ const n = new URLSearchParams(o);
476
+ return n.set(H.q, i), n;
615
477
  }
616
478
  case "filters": {
617
- const t = new URLSearchParams(o);
618
- return Object.entries(s).forEach(([c, e]) => {
479
+ const n = new URLSearchParams(o);
480
+ return Object.entries(i).forEach(([a, e]) => {
619
481
  if (!((e == null ? void 0 : e.trim()) ?? "")) {
620
- t.delete(c);
482
+ n.delete(a);
621
483
  return;
622
484
  }
623
- t.set(c, e);
624
- }), o.get(H.page) && t.set(H.page, "1"), t;
485
+ n.set(a, e);
486
+ }), o.get(H.page) && n.set(H.page, "1"), n;
625
487
  }
626
488
  default:
627
489
  return o;
628
490
  }
629
491
  }
630
- const gn = {
492
+ const mt = {
631
493
  true: !0,
632
494
  false: !1
633
- }, bn = [
634
- {
635
- value: "true",
636
- label: "true"
637
- },
638
- {
639
- value: "false",
640
- label: "false"
641
- }
642
- ];
643
- function yn({
495
+ }, St = [{
496
+ value: "true",
497
+ label: "true"
498
+ }, {
499
+ value: "false",
500
+ label: "false"
501
+ }];
502
+ function wt({
644
503
  row: o,
645
- column: n,
504
+ column: t,
646
505
  // columnConfig,
647
506
  onRowChange: r
648
507
  }) {
649
- const s = Fe(), t = o[n.key], i = t === void 0 ? t : t.toString(), c = Xe(null), e = We();
650
- return J(() => {
508
+ const i = ze(), n = o[t.key], s = n === void 0 ? n : n.toString(), a = We(null), e = qe();
509
+ return M(() => {
651
510
  setTimeout(() => {
652
- var u, l;
653
- (l = (u = c.current) == null ? void 0 : u.click) == null || l.call(u);
511
+ var l, u;
512
+ (u = (l = a.current) == null ? void 0 : l.click) == null || u.call(l);
654
513
  }, 0);
655
- }, []), /* @__PURE__ */ d.jsxDEV(
656
- Pe,
657
- {
658
- ref: c,
659
- portal: e,
660
- listWidth: "200px",
661
- value: i,
662
- size: Le[s.rowSize].input,
663
- onChange: (u) => {
664
- typeof u == "string" && r(
665
- { ...o, [n.key]: gn[u] },
666
- !0
667
- );
668
- },
669
- items: bn
670
- },
671
- void 0,
672
- !1,
673
- {
674
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/ui/selectBooleanEditor.tsx",
675
- lineNumber: 60,
676
- columnNumber: 5
677
- },
678
- this
679
- );
514
+ }, []), /* @__PURE__ */ m(Fe, { ref: a, portal: e, listWidth: "200px", value: s, size: Ge[i.rowSize].input, onChange: (l) => {
515
+ typeof l == "string" && r({
516
+ ...o,
517
+ [t.key]: mt[l]
518
+ }, !0);
519
+ }, items: St });
680
520
  }
681
- const pn = {
521
+ const bt = {
682
522
  Boolean: {
683
- component: (o) => /* @__PURE__ */ d.jsxDEV(yn, { ...o }, void 0, !1, {
684
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/responseMapper.tsx",
685
- lineNumber: 19,
686
- columnNumber: 5
687
- }, void 0)
523
+ component: (o) => /* @__PURE__ */ m(wt, { ...o })
524
+ },
525
+ Text: {
526
+ component: "inputString"
688
527
  },
689
- Text: { component: "inputString" },
690
528
  // Numbers
691
- "Integer/Int/Int4": { component: "inputNumber" },
692
- "Numeric/decimal": { component: "inputNumber" },
693
- Real: { component: "inputNumber" },
529
+ "Integer/Int/Int4": {
530
+ component: "inputNumber"
531
+ },
532
+ "Numeric/decimal": {
533
+ component: "inputNumber"
534
+ },
535
+ Real: {
536
+ component: "inputNumber"
537
+ },
694
538
  // Dates
695
- Date: { component: "inputString" },
696
- Time: { component: "inputString" },
697
- "Timestamp with timezone": { component: "inputString" },
698
- "Timestamp without timezone": { component: "inputString" }
699
- }, ue = (o, n) => {
539
+ Date: {
540
+ component: "inputString"
541
+ },
542
+ Time: {
543
+ component: "inputString"
544
+ },
545
+ "Timestamp with timezone": {
546
+ component: "inputString"
547
+ },
548
+ "Timestamp without timezone": {
549
+ component: "inputString"
550
+ }
551
+ }, ue = (o, t) => {
700
552
  if (!o)
701
- return n ? {
702
- ...pn[n],
703
- error: { value: () => !1 },
553
+ return t ? {
554
+ ...bt[t],
555
+ error: {
556
+ value: () => !1
557
+ },
704
558
  editable: !0
705
559
  } : void 0;
706
- const { error: r, editable: s, ...t } = o, i = r ? {
707
- value: (u) => $(r.value.keyInRow)(u) === r.value.errorValue
708
- } : void 0, c = s ? (u) => s ? $(s.keyInRow)(u) === s.editableValue : !1 : void 0;
560
+ const {
561
+ error: r,
562
+ editable: i,
563
+ ...n
564
+ } = o, s = r ? {
565
+ value: (l) => $(r.value.keyInRow)(l) === r.value.errorValue
566
+ } : void 0, a = i ? (l) => i ? $(i.keyInRow)(l) === i.editableValue : !1 : void 0;
709
567
  return {
710
- ...i && { error: i },
711
- ...c && { editable: c },
712
- ...t
568
+ ...s && {
569
+ error: s
570
+ },
571
+ ...a && {
572
+ editable: a
573
+ },
574
+ ...n
713
575
  };
714
- }, wn = (o, n) => o.map((r) => {
715
- const { columnType: s } = r, t = [];
716
- n != null && n.filtering && t.push(
717
- [
718
- "filtering",
719
- {
720
- component: "input",
721
- filter: "includes",
722
- keyInFilterState: r.key
723
- }
724
- ]
725
- );
726
- const i = Object.entries(r).map((e) => {
727
- const u = e[0];
728
- switch (u) {
576
+ }, ht = (o, t) => o.map((r) => {
577
+ const {
578
+ columnType: i
579
+ } = r, n = [];
580
+ t != null && t.filtering && n.push(["filtering", {
581
+ component: "input",
582
+ filter: "includes",
583
+ keyInFilterState: r.key
584
+ }]);
585
+ const s = Object.entries(r).map((e) => {
586
+ const l = e[0];
587
+ switch (l) {
729
588
  case "subRow": {
730
- let l = null;
731
- const a = e[1];
732
- if (!a)
733
- return [u, a];
589
+ let u = null;
590
+ const c = e[1];
591
+ if (!c)
592
+ return [l, c];
734
593
  const {
735
- contentFormat: m,
736
- keyOfColumnInSubRow: k,
594
+ contentFormat: d,
595
+ keyOfColumnInSubRow: p,
737
596
  editingCell: h,
738
- ...S
739
- } = a, E = h ? ue(h, s) : void 0;
740
- return l = {
741
- ...S,
742
- ...m && {
743
- contentFormat: m
597
+ ...C
598
+ } = c, x = h ? ue(h, i) : void 0;
599
+ return u = {
600
+ ...C,
601
+ ...d && {
602
+ contentFormat: d
744
603
  },
745
- ...E && {
746
- editingCell: E
604
+ ...x && {
605
+ editingCell: x
747
606
  },
748
- ...k && {
749
- keyOfColumnInSubRow: (V) => {
750
- var C, B;
751
- return typeof a.keyOfColumnInSubRow == "string" || typeof a.keyOfColumnInSubRow == "number" ? a.keyOfColumnInSubRow : ((C = a.keyOfColumnInSubRow) == null ? void 0 : C[V]) ?? ((B = a.keyOfColumnInSubRow) == null ? void 0 : B.default) ?? "";
607
+ ...p && {
608
+ keyOfColumnInSubRow: (E) => {
609
+ var T, P;
610
+ return typeof c.keyOfColumnInSubRow == "string" || typeof c.keyOfColumnInSubRow == "number" ? c.keyOfColumnInSubRow : ((T = c.keyOfColumnInSubRow) == null ? void 0 : T[E]) ?? ((P = c.keyOfColumnInSubRow) == null ? void 0 : P.default) ?? "";
752
611
  }
753
612
  }
754
- }, [u, l];
613
+ }, [l, u];
755
614
  }
756
615
  case "searching": {
757
- const l = e[1];
758
- return l ? [u, {
759
- valueInRow(m) {
760
- return m == null ? void 0 : m[l.keyInRow];
616
+ const u = e[1];
617
+ return u ? [l, {
618
+ valueInRow(d) {
619
+ return d == null ? void 0 : d[u.keyInRow];
761
620
  }
762
- }] : [u, l];
621
+ }] : [l, u];
763
622
  }
764
623
  case "summaryCell": {
765
- const l = "renderSummaryCell", a = e[1];
766
- return !a || !a.key && !a.text ? [l, void 0] : [l, ({ row: k }) => a.text !== void 0 ? a.text : a.key ? k[a.key] : null];
624
+ const u = "renderSummaryCell", c = e[1];
625
+ return !c || !c.key && !c.text ? [u, void 0] : [u, ({
626
+ row: p
627
+ }) => c.text !== void 0 ? c.text : c.key ? p[c.key] : null];
767
628
  }
768
629
  case "columnType": {
769
- const l = e[1], a = [u, l];
770
- if (!l)
771
- return a;
772
- const m = r.editingCell;
773
- if (!!m)
774
- return a;
775
- const h = "editingCell", S = ue(
776
- m,
777
- s
778
- );
779
- return t.push([h, S]), a;
630
+ const u = e[1], c = [l, u];
631
+ if (!u)
632
+ return c;
633
+ const d = r.editingCell;
634
+ if (!!d)
635
+ return c;
636
+ const h = "editingCell", C = ue(d, i);
637
+ return n.push([h, C]), c;
780
638
  }
781
639
  case "editingCell": {
782
- const l = e[1], a = ue(l, s);
783
- return [u, a];
640
+ const u = e[1], c = ue(u, i);
641
+ return [l, c];
784
642
  }
785
643
  default:
786
644
  return e;
787
645
  }
788
646
  });
789
- return Object.fromEntries(
790
- [
791
- ...t,
792
- ...i
793
- ]
794
- );
795
- }), hn = (o) => {
647
+ return Object.fromEntries([...n, ...s]);
648
+ }), pt = (o) => {
796
649
  const {
797
650
  data: {
798
- main: n,
651
+ main: t,
799
652
  topSummary: r,
800
- bottomSummary: s
653
+ bottomSummary: i
801
654
  },
802
- meta: { tableConfig: t, columns: i }
803
- } = o, c = wn(
804
- i,
805
- t
806
- );
655
+ meta: {
656
+ tableConfig: n,
657
+ columns: s
658
+ }
659
+ } = o, a = ht(s, n);
807
660
  return {
808
- rows: n,
809
- columnsConfig: c,
810
- tableConfigBackend: t,
661
+ rows: t,
662
+ columnsConfig: a,
663
+ tableConfigBackend: n,
811
664
  topSummaryRows: r,
812
- bottomSummaryRows: s
665
+ bottomSummaryRows: i
813
666
  };
814
- }, ve = xe.div.withConfig({ displayName: "TableOtherView__StyledDiv" })(
815
- ["&{border:1px solid ", ";border-radius:", "px;background-color:", ";height:", ";display:flex;justify-content:center;align-items:center;flex-direction:column;& .spinner{margin-bottom:", ";}}"],
816
- () => Ce.border,
817
- () => ze,
818
- () => Ce.white,
819
- () => Oe.height,
820
- () => K.x6
821
- ), le = ({
667
+ }, Ie = Be.div.withConfig({
668
+ displayName: "TableOtherView__StyledDiv"
669
+ })(["&{border:1px solid ", ";border-radius:", "px;background-color:", ";height:", ";display:flex;justify-content:center;align-items:center;flex-direction:column;& .spinner{margin-bottom:", ";}}"], () => ke.border, () => Xe, () => ke.white, () => Ne.height, () => U.x6), de = ({
822
670
  view: o,
823
- ...n
824
- }) => o === "loading" ? /* @__PURE__ */ d.jsxDEV(ve, { ...n, children: [
825
- /* @__PURE__ */ d.jsxDEV(Ae, { view: "default", className: "spinner", size: "xl" }, void 0, !1, {
826
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableOtherView.tsx",
827
- lineNumber: 37,
828
- columnNumber: 9
829
- }, void 0),
830
- /* @__PURE__ */ d.jsxDEV(Re, { color: Ze, children: "Загрузка таблицы" }, void 0, !1, {
831
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableOtherView.tsx",
832
- lineNumber: 38,
833
- columnNumber: 9
834
- }, void 0)
835
- ] }, void 0, !0, {
836
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableOtherView.tsx",
837
- lineNumber: 36,
838
- columnNumber: 7
839
- }, void 0) : /* @__PURE__ */ d.jsxDEV(ve, { ...n, children: /* @__PURE__ */ d.jsxDEV(
840
- nn,
841
- {
842
- unknownStatus: {
843
- title: "Похоже, таблица не загружается",
844
- description: "Попробуйте обновить страницу или зайдите позже"
845
- }
846
- },
847
- void 0,
848
- !1,
849
- {
850
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableOtherView.tsx",
851
- lineNumber: 44,
852
- columnNumber: 7
853
- },
854
- void 0
855
- ) }, void 0, !1, {
856
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableOtherView.tsx",
857
- lineNumber: 43,
858
- columnNumber: 5
859
- }, void 0), Pn = ({
671
+ ...t
672
+ }) => o === "loading" ? /* @__PURE__ */ ne(Ie, { ...t, children: [
673
+ /* @__PURE__ */ m(je, { view: "default", className: "spinner", size: "xl" }),
674
+ /* @__PURE__ */ m(Re, { color: tt, children: "Загрузка таблицы" })
675
+ ] }) : /* @__PURE__ */ m(Ie, { ...t, children: /* @__PURE__ */ m(ot, { unknownStatus: {
676
+ title: "Похоже, таблица не загружается",
677
+ description: "Попробуйте обновить страницу или зайдите позже"
678
+ } }) }), Ft = ({
860
679
  fetcher: o,
861
- stylesBeforeLoad: n,
680
+ stylesBeforeLoad: t,
862
681
  onRowMutationError: r
863
682
  }) => {
864
- var T, W, be, ye, pe, we, he, ke, Se;
865
- const s = Ke(), [t, i] = Ue(
866
- fn,
867
- void 0,
868
- () => new URLSearchParams()
869
- ), c = t.toString(), {
683
+ var k, L, Se, we, be, he, pe, Ce, Te;
684
+ const i = He(), [n, s] = Je(yt, void 0, () => new URLSearchParams()), a = n.toString(), {
870
685
  data: e,
871
- isValidating: u,
872
- isLoading: l,
873
- error: a
874
- } = He(
875
- () => s + c,
876
- async () => {
877
- const j = await de.get({ params: c }, o);
878
- return hn(j);
879
- },
880
- {
881
- keepPreviousData: !0,
882
- staleTime: 3e3,
883
- revalidateOnFocus: !1
884
- }
885
- ), [m, k] = P(
886
- () => {
887
- var j;
888
- return (j = e == null ? void 0 : e.tableConfigBackend) != null && j.editing ? e != null && e.rows ? e.rows : [] : [];
889
- }
890
- ), h = !!((T = e == null ? void 0 : e.tableConfigBackend) != null && T.editing);
891
- J(() => {
892
- h && e != null && e.rows && e != null && e.rows && k(e.rows);
686
+ isValidating: l,
687
+ isLoading: u,
688
+ error: c
689
+ } = Me(() => i + a, async () => {
690
+ const _ = await fe.get({
691
+ params: a
692
+ }, o);
693
+ return pt(_);
694
+ }, {
695
+ keepPreviousData: !0,
696
+ staleTime: 3e3,
697
+ revalidateOnFocus: !1
698
+ }), [d, p] = V(() => {
699
+ var _;
700
+ return (_ = e == null ? void 0 : e.tableConfigBackend) != null && _.editing ? e != null && e.rows ? e.rows : [] : [];
701
+ }), h = !!((k = e == null ? void 0 : e.tableConfigBackend) != null && k.editing);
702
+ M(() => {
703
+ h && e != null && e.rows && e != null && e.rows && p(e.rows);
893
704
  }, [e == null ? void 0 : e.rows, h]);
894
705
  const {
895
- editing: S,
896
- saveButton: E,
897
- createOneRowButton: V,
898
- getDeleteOneRowRowInstrument: R,
899
- modalDeletePropsState: C
900
- } = rn({
901
- tableConfigBackendSubRows: (W = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : W.subRows,
902
- tableConfigBackendEditing: (be = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : be.editing,
706
+ editing: C,
707
+ saveButton: x,
708
+ createOneRowButton: E,
709
+ getDeleteOneRowRowInstrument: j,
710
+ modalDeletePropsState: T
711
+ } = it({
712
+ tableConfigBackendSubRows: (L = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : L.subRows,
713
+ tableConfigBackendEditing: (Se = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : Se.editing,
903
714
  tableConfigColumnsConfig: e == null ? void 0 : e.columnsConfig,
904
- setRowsState: k,
715
+ setRowsState: p,
905
716
  rowsFromBackend: (e == null ? void 0 : e.rows) ?? [],
906
717
  fetcher: o,
907
718
  onRowMutationError: r
908
- }), B = un({
909
- tableConfigBackendSearching: (ye = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : ye.searching,
910
- dispatchParams: i
911
- }), N = sn({
912
- tableConfigBackendFiltering: (pe = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : pe.filtering,
913
- dispatchParams: i,
719
+ }), P = ut({
720
+ tableConfigBackendSearching: (we = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : we.searching,
721
+ dispatchParams: s
722
+ }), O = ct({
723
+ tableConfigBackendFiltering: (be = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : be.filtering,
724
+ dispatchParams: s,
914
725
  columnsConfig: e == null ? void 0 : e.columnsConfig
915
- }), L = an({
916
- tableConfigBackendPagination: (we = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : we.pagination,
917
- params: t,
918
- dispatchParams: i
919
- }), z = dn({
920
- tableConfigBackendSorting: (he = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : he.sorting,
921
- params: t,
922
- dispatchParams: i
923
- }), F = mn(
924
- (ke = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : ke.subRows
925
- ), Y = A(() => R ? {
926
- getRowDropdownConfig: (j) => ({
927
- items: [R(j)],
928
- dropdownProps: { useItemContentAsButtonContent: !0 }
726
+ }), z = at({
727
+ tableConfigBackendPagination: (he = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : he.pagination,
728
+ params: n,
729
+ dispatchParams: s
730
+ }), q = ft({
731
+ tableConfigBackendSorting: (pe = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : pe.sorting,
732
+ params: n,
733
+ dispatchParams: s
734
+ }), D = gt((Ce = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : Ce.subRows), Y = F(() => j ? {
735
+ getRowDropdownConfig: (_) => ({
736
+ items: [j(_)],
737
+ dropdownProps: {
738
+ useItemContentAsButtonContent: !0
739
+ }
929
740
  }),
930
741
  showInControl: !1,
931
742
  openedState: [!0, () => {
932
743
  }]
933
- } : null, [R]);
934
- if (!(e != null && e.rows) && l)
935
- return /* @__PURE__ */ d.jsxDEV(le, { view: "loading", style: n }, void 0, !1, {
936
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableContract.tsx",
937
- lineNumber: 161,
938
- columnNumber: 12
939
- }, void 0);
940
- const Q = (Se = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : Se.containerStyle;
941
- if (!(e != null && e.rows) || a)
942
- return /* @__PURE__ */ d.jsxDEV(
943
- le,
944
- {
945
- view: "error",
946
- style: { ...n, ...Q }
947
- },
948
- void 0,
949
- !1,
950
- {
951
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableContract.tsx",
952
- lineNumber: 167,
953
- columnNumber: 7
954
- },
955
- void 0
956
- );
744
+ } : null, [j]);
745
+ if (!(e != null && e.rows) && u)
746
+ return /* @__PURE__ */ m(de, { view: "loading", style: t });
747
+ const Q = (Te = e == null ? void 0 : e.tableConfigBackend) == null ? void 0 : Te.containerStyle;
748
+ if (!(e != null && e.rows) || c)
749
+ return /* @__PURE__ */ m(de, { view: "error", style: {
750
+ ...t,
751
+ ...Q
752
+ } });
957
753
  if (!(e != null && e.rows))
958
- return /* @__PURE__ */ d.jsxDEV(
959
- le,
960
- {
961
- view: "error",
962
- style: { ...n, ...Q }
963
- },
964
- void 0,
965
- !1,
966
- {
967
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableContract.tsx",
968
- lineNumber: 175,
969
- columnNumber: 7
970
- },
971
- void 0
972
- );
973
- const Z = [
974
- ...E ? [E] : []
975
- ], oe = [
976
- ...V ? [V] : []
977
- ], re = oe.length > 0, b = Z.length > 0, y = b || re, {
978
- rows: p,
979
- columnsConfig: w,
754
+ return /* @__PURE__ */ m(de, { view: "error", style: {
755
+ ...t,
756
+ ...Q
757
+ } });
758
+ const Z = [...x ? [x] : []], re = [...E ? [E] : []], se = re.length > 0, y = Z.length > 0, S = y || se, {
759
+ rows: w,
760
+ columnsConfig: b,
980
761
  tableConfigBackend: g,
981
762
  topSummaryRows: f,
982
763
  bottomSummaryRows: v
983
- } = e, _ = {
764
+ } = e, R = {
984
765
  containerStyle: {
985
766
  ...g == null ? void 0 : g.containerStyle,
986
- height: (g == null ? void 0 : g.height) ?? Oe.height
767
+ height: (g == null ? void 0 : g.height) ?? Ne.height
987
768
  }
988
- }, x = {
989
- ...F,
769
+ }, I = {
770
+ ...D,
771
+ ...q,
990
772
  ...z,
991
- ...L,
992
- ...B,
993
- ...S,
994
- ...N,
773
+ ...P,
774
+ ...C,
775
+ ...O,
995
776
  // styles
996
- ..._
997
- }, O = g ? Object.fromEntries(
998
- Object.entries(g).filter(
999
- ([j]) => !x[j]
1000
- )
1001
- ) : {};
1002
- return /* @__PURE__ */ d.jsxDEV(d.Fragment, { children: [
1003
- /* @__PURE__ */ d.jsxDEV(
1004
- qe,
1005
- {
1006
- tableConfig: {
1007
- isLoading: {
1008
- boolean: u,
1009
- skeletonRowsCount: p.length ?? 10
1010
- },
1011
- ...y && {
1012
- controlBlock: {
1013
- enableAdaptiveCompress: !1,
1014
- ...b && {
1015
- rightSideInner: Z
1016
- },
1017
- ...re && {
1018
- customFeatures: oe
1019
- }
1020
- }
1021
- },
1022
- ...Y && {
1023
- rowInstruments: Y
1024
- },
1025
- ...O,
1026
- ...x
1027
- },
1028
- columnConfig: w,
1029
- rows: S ? m : p,
1030
- topSummaryRows: f,
1031
- bottomSummaryRows: v
777
+ ...R
778
+ }, B = g ? Object.fromEntries(Object.entries(g).filter(([_]) => !I[_])) : {};
779
+ return /* @__PURE__ */ ne(De, { children: [
780
+ /* @__PURE__ */ m(Ke, { tableConfig: {
781
+ isLoading: {
782
+ boolean: l,
783
+ skeletonRowsCount: w.length ?? 10
1032
784
  },
1033
- void 0,
1034
- !1,
1035
- {
1036
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableContract.tsx",
1037
- lineNumber: 233,
1038
- columnNumber: 7
1039
- },
1040
- void 0
1041
- ),
1042
- /* @__PURE__ */ d.jsxDEV(
1043
- _e,
1044
- {
1045
- opened: C == null ? void 0 : C.opened,
1046
- content: {
1047
- ...se,
1048
- mainButton: {
1049
- ...se.mainButton,
1050
- onClick: C == null ? void 0 : C.mainButtonOnClick
785
+ ...S && {
786
+ controlBlock: {
787
+ enableAdaptiveCompress: !1,
788
+ ...y && {
789
+ rightSideInner: Z
1051
790
  },
1052
- secondaryButton: {
1053
- ...se.secondaryButton,
1054
- onClick: C == null ? void 0 : C.secondaryButtonOnClick
791
+ ...se && {
792
+ customFeatures: re
1055
793
  }
1056
794
  }
1057
795
  },
1058
- void 0,
1059
- !1,
1060
- {
1061
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableContract.tsx",
1062
- lineNumber: 262,
1063
- columnNumber: 7
796
+ ...Y && {
797
+ rowInstruments: Y
1064
798
  },
1065
- void 0
1066
- )
1067
- ] }, void 0, !0, {
1068
- fileName: "/home/runner/work/dais-ui/dais-ui/packages/ui-kit/src/components/TableContract/TableContract.tsx",
1069
- lineNumber: 232,
1070
- columnNumber: 5
1071
- }, void 0);
799
+ ...B,
800
+ ...I
801
+ }, columnConfig: b, rows: C ? d : w, topSummaryRows: f, bottomSummaryRows: v }),
802
+ /* @__PURE__ */ m(Le, { opened: T == null ? void 0 : T.opened, content: {
803
+ ...ce,
804
+ mainButton: {
805
+ ...ce.mainButton,
806
+ onClick: T == null ? void 0 : T.mainButtonOnClick
807
+ },
808
+ secondaryButton: {
809
+ ...ce.secondaryButton,
810
+ onClick: T == null ? void 0 : T.secondaryButtonOnClick
811
+ }
812
+ } })
813
+ ] });
1072
814
  };
1073
815
  export {
1074
- Dn as DATA_TYPES,
1075
- de as DataViewApi,
1076
- U as EditingApi,
816
+ Vt as DATA_TYPES,
817
+ fe as DataViewApi,
818
+ W as EditingApi,
1077
819
  H as Q_PARAMS,
1078
- Pn as TableContract,
1079
- ne as fetcherWrapper
820
+ Ft as TableContract,
821
+ te as fetcherWrapper
1080
822
  };