@txgw/payout-components 0.5.2 → 0.6.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 (356) hide show
  1. package/dist/{AMIS-C5eEfOtM.js → AMIS--SZXSfKF.js} +6 -6
  2. package/dist/Action-D7O1nxY2.js +10 -0
  3. package/dist/{Action-CErPyqhd.js → Action-DpRShNiD.js} +21 -22
  4. package/dist/{Alert-CL6AxX9W.js → Alert-sakO0sgo.js} +8 -10
  5. package/dist/{AnchorNav-BQgaqBoy.js → AnchorNav-1OrNpCPU.js} +8 -10
  6. package/dist/App-mzRv6t1L.js +213 -0
  7. package/dist/{Audio-XJ-ya7eJ.js → Audio-CmGRzA8C.js} +8 -10
  8. package/dist/{Avatar-QQXB9S3Q.js → Avatar-C0g_Dcsr.js} +8 -10
  9. package/dist/{BarCode-Ddyw9A94.js → BarCode-Bgr2-a69.js} +7 -7
  10. package/dist/{BarCode-B3PHYs21.js → BarCode-f_fuunrs.js} +10 -10
  11. package/dist/{Breadcrumb-CbrEDG1L.js → Breadcrumb-3pb8787J.js} +8 -10
  12. package/dist/{ButtonGroup-Bc6JSoXR.js → ButtonGroup-DBJgP_U6.js} +7 -7
  13. package/dist/{ButtonGroupSelect-7uctYLWK.js → ButtonGroupSelect-BV8FHgm0.js} +9 -9
  14. package/dist/ButtonGroupSelect-Cl2irnYh.js +8 -0
  15. package/dist/{ButtonToolbar-EWvVGJ7N.js → ButtonToolbar-DMCBgh9w.js} +6 -6
  16. package/dist/{CRUD-C4gXxs8g.js → CRUD-DFP1DIcc.js} +44 -46
  17. package/dist/{CRUD2-L5l1_8In.js → CRUD2-BGpsdJ3D.js} +21 -23
  18. package/dist/{Calendar-DhRJvxTd.js → Calendar-D_aFq70_.js} +9 -11
  19. package/dist/Card-C54K-VRd.js +14 -0
  20. package/dist/{Card-BcxXrhE8.js → Card-FmRg7dLO.js} +26 -26
  21. package/dist/{Card2-RbgvR51k.js → Card2-Blr9gGoC.js} +8 -10
  22. package/dist/Cards-B7J3bYtx.js +485 -0
  23. package/dist/{Carousel-Crf07aHf.js → Carousel-Ba4JeK7n.js} +9 -11
  24. package/dist/{ChainedSelect-CFsJF5y3.js → ChainedSelect-CUU7qCFQ.js} +15 -17
  25. package/dist/{Chart-CYLdl6k0.js → Chart-BmOD9NEG.js} +11 -11
  26. package/dist/{ChartRadios-DlJuRNrx.js → ChartRadios-Bm7pnICh.js} +7 -7
  27. package/dist/{Checkbox-Cf_mVMHF.js → Checkbox-CcjG9Mv4.js} +5 -5
  28. package/dist/Checkbox-yvPZaH8N.js +10 -0
  29. package/dist/{Checkboxes-Dl2pbr1w.js → Checkboxes-Babxqar9.js} +13 -15
  30. package/dist/{Code-BIDd8kXb.js → Code-B7FhTic-.js} +10 -10
  31. package/dist/{Collapse-Bd9jyO8r.js → Collapse-BYdoEOZ2.js} +5 -5
  32. package/dist/Collapse-C9riUcKK.js +9 -0
  33. package/dist/{CollapseGroup-C35H5tbk.js → CollapseGroup-B7DmpWY1.js} +8 -10
  34. package/dist/{Color-CIbFLrBz.js → Color-BM1Qa0C1.js} +6 -6
  35. package/dist/{ColorPicker-DI5bOtYt.js → ColorPicker-BXmi_OWm.js} +30 -50
  36. package/dist/{ColumnToggler-fr1rfdSO.js → ColumnToggler-3QYyVjVf.js} +5 -5
  37. package/dist/ColumnToggler-D0NlxwMq.js +10 -0
  38. package/dist/{ColumnToggler-B13Y3e57.js → ColumnToggler-DLFwzPef.js} +11 -12
  39. package/dist/{Combo-CDtsyRSt.js → Combo-BsouWVHB.js} +37 -38
  40. package/dist/Combo-Cabifvbg.js +9 -0
  41. package/dist/{ConditionBuilder-CBl4Jioc.js → ConditionBuilder-BacjsaTh.js} +8 -10
  42. package/dist/{Container-B28GA5ym.js → Container-C5-66abH.js} +10 -12
  43. package/dist/{Control-BIDzpbuX.js → Control-krTArjIv.js} +6 -6
  44. package/dist/{Custom-6j0e0K6V.js → Custom-DawY4LgO.js} +6 -6
  45. package/dist/{Date-jzCX5NLQ.js → Date-C9Kib09x.js} +8 -8
  46. package/dist/{DateRange-ChlEtQuv.js → DateRange-D2lKQT_J.js} +6 -6
  47. package/dist/Dialog-oNlQLXnk.js +508 -0
  48. package/dist/{DiffEditor-fyqXITH0.js → DiffEditor-DY8XdtJS.js} +8 -10
  49. package/dist/{Divider-kXNT8Kpb.js → Divider-BgpLhaqf.js} +6 -6
  50. package/dist/{Drawer-DftiktlX.js → Drawer-DslUxLot.js} +24 -26
  51. package/dist/{DropDownButton-DQUNUwC3.js → DropDownButton-BIuAagmC.js} +9 -11
  52. package/dist/{Each-CgFfmNjU.js → Each-CA8gaJkL.js} +6 -6
  53. package/dist/{FieldSet-CpPow_4p.js → FieldSet-Cg1pE5gA.js} +4 -4
  54. package/dist/FieldSet-DVAa2H_Q.js +10 -0
  55. package/dist/{Flex-zWosUfSI.js → Flex-Baz4bI9u.js} +6 -6
  56. package/dist/{Formula-Djn7fCCV.js → Formula-ABhgdx_Q.js} +6 -6
  57. package/dist/{Grid2D-C79HuAFZ.js → Grid2D-DmdOVnhu.js} +8 -8
  58. package/dist/{GridNav-CE6lQbai.js → GridNav-lHAunT1M.js} +8 -10
  59. package/dist/{Group-kIPmyKmJ.js → Group-7sGnjMli.js} +13 -13
  60. package/dist/HBox-DxchKWfv.js +7 -0
  61. package/dist/{HBox-DEkb4cam.js → HBox-s88aG83B.js} +4 -4
  62. package/dist/{Hidden-DeRVSV3K.js → Hidden-BrTWoL8d.js} +6 -6
  63. package/dist/{IFrame-9oEnVjDw.js → IFrame-DaZ1v2-9.js} +6 -6
  64. package/dist/{Icon-CLZR3aiB.js → Icon-DNbdrsn8.js} +8 -10
  65. package/dist/{IconPicker-eyVR_kSQ.js → IconPicker-DqNlu5Zd.js} +13 -15
  66. package/dist/{IconSelect-CX-y4dt9.js → IconSelect-CvBITEcy.js} +9 -11
  67. package/dist/{IconSelectStore-6_CnklYA.js → IconSelectStore-CTqJPujB.js} +2 -2
  68. package/dist/{Image-Ba6YDbFB.js → Image-BBs8tnny.js} +11 -11
  69. package/dist/Image-DM9_Ii2b.js +9 -0
  70. package/dist/{Images-C_0GsHXi.js → Images-cRmH380W.js} +9 -11
  71. package/dist/{InputArray-DNhgr7Im.js → InputArray-Dov-RBrP.js} +9 -11
  72. package/dist/{InputCity-D-mfLobT.js → InputCity-owVpsIaD.js} +10 -12
  73. package/dist/{InputColor-DJRDQXkw.js → InputColor-DhVJhPp6.js} +8 -8
  74. package/dist/{InputDate-CgSiKBtx.js → InputDate-DLOwHbwT.js} +9 -11
  75. package/dist/InputDate-DWaIvnAp.js +292 -0
  76. package/dist/InputDateRange-CnGNwIFe.js +10 -0
  77. package/dist/InputDateRange-Diqw3JLp.js +170 -0
  78. package/dist/InputExcel-BjWNYvnN.js +427 -0
  79. package/dist/{InputFile-De-y47_A.js → InputFile-89BOwWJE.js} +31 -32
  80. package/dist/InputFile-DOym0HDc.js +10 -0
  81. package/dist/{InputFormula-BQ_TLuJU.js → InputFormula-CV5j31Ow.js} +8 -10
  82. package/dist/{InputGroup-CSy_Oi7L.js → InputGroup-C7O2ba0g.js} +6 -6
  83. package/dist/InputImage-BF7DAF8L.js +12 -0
  84. package/dist/{InputImage-Dk5CE1jT.js → InputImage-DcsVQf7c.js} +16 -17
  85. package/dist/{InputMonthRange-DU8TlVfr.js → InputMonthRange-BjD3hmwp.js} +10 -12
  86. package/dist/InputNumber-DKMOkba-.js +255 -0
  87. package/dist/{InputQuarterRange-CAkb2TQ0.js → InputQuarterRange-DZKnkZ_s.js} +10 -12
  88. package/dist/{InputRange-_k9JA4Ez.js → InputRange-DiHKf3tP.js} +9 -11
  89. package/dist/{InputRating-Cyewk6xh.js → InputRating-Bc8Od5b8.js} +9 -11
  90. package/dist/{InputRepeat-BhWIVzBa.js → InputRepeat-BhF5KVB2.js} +8 -10
  91. package/dist/InputRichText-BBBdDFA2.js +7 -0
  92. package/dist/InputRichText-CieHn0fO.js +198 -0
  93. package/dist/{InputSignature-D0qET_Np.js → InputSignature-CbfGjJlU.js} +8 -10
  94. package/dist/InputSubForm-BkM_3Rjg.js +236 -0
  95. package/dist/InputTable-CgOqC6Pc.js +900 -0
  96. package/dist/InputTag-35kCFM5X.js +464 -0
  97. package/dist/{InputText-CNHLKdgJ.js → InputText-BbEjGBtv.js} +59 -61
  98. package/dist/{InputTree-COEe1VLr.js → InputTree-DchkyMbL.js} +42 -44
  99. package/dist/{InputVerificationCode-B_Pt9Ykt.js → InputVerificationCode-kMxc8wW7.js} +8 -10
  100. package/dist/{InputYearRange-Aqp87FUU.js → InputYearRange-WJKJeloR.js} +10 -12
  101. package/dist/{JSONSchema-CNZcSSTE.js → JSONSchema-Bs0EWcHb.js} +8 -10
  102. package/dist/{JSONSchemaEditor-Dhu7duy-.js → JSONSchemaEditor-BoAK9FOL.js} +8 -10
  103. package/dist/{Json-2q0fMUg1.js → Json-DFjy1HRw.js} +7 -7
  104. package/dist/Link-nYGLB6gy.js +57 -0
  105. package/dist/List-D3183f4Z.js +14 -0
  106. package/dist/{List-xzPGRAx6.js → List-W3IAZR_6.js} +20 -21
  107. package/dist/{ListSelect-DmnMCqJK.js → ListSelect-DWGbHVxd.js} +7 -7
  108. package/dist/{LocationPicker-BXLzlI_f.js → LocationPicker-2G9yOxtm.js} +9 -11
  109. package/dist/{Log-DJEArjlY.js → Log-D6VU702y.js} +11 -13
  110. package/dist/{Mapping-DdrG3Ztj.js → Mapping-BATMD_xR.js} +12 -14
  111. package/dist/{Markdown-CuqQU4CA.js → Markdown-Baxbu8lV.js} +7 -7
  112. package/dist/{Markdown-DJBaZlcc.js → Markdown-Cg-xahnQ.js} +2 -2
  113. package/dist/{MatrixCheckboxes-f-7KmMUU.js → MatrixCheckboxes-B9hmFakW.js} +12 -14
  114. package/dist/{MultilineText-BmZvDSK_.js → MultilineText-0fMQhUCY.js} +8 -10
  115. package/dist/{Nav-5b-3S31N.js → Nav-DHIehZOG.js} +35 -37
  116. package/dist/NestedSelect-tQztH4PI.js +517 -0
  117. package/dist/{Number-cMwAUHkr.js → Number-Cndoqeyx.js} +6 -6
  118. package/dist/{OfficeViewer-CF4PyOxB.js → OfficeViewer-BVD_e5eZ.js} +10 -12
  119. package/dist/{Operation-CufqCpnG.js → Operation-DIv6n9dT.js} +6 -6
  120. package/dist/{Page-DCnma03q.js → Page-WoZtIIfk.js} +8 -10
  121. package/dist/{Pagination-UOrn4c0P.js → Pagination-DHvYHd_3.js} +8 -10
  122. package/dist/{PaginationWrapper-B-j0uFhf.js → PaginationWrapper-CtIJOXdw.js} +6 -6
  123. package/dist/{Panel-CdZuyRjC.js → Panel-Dt4KQrKa.js} +10 -12
  124. package/dist/{Password-DklNUFUB.js → Password-Wjfq7MSA.js} +8 -10
  125. package/dist/{Picker-5cxnpnwV.js → Picker-Cu52ukRg.js} +13 -15
  126. package/dist/{Plain-CPFHDxkg.js → Plain-DIlG753a.js} +6 -6
  127. package/dist/{Spinner-BSnTm3TK.js → PopUp-Bgkvnd4X.js} +356 -44
  128. package/dist/{Portlet-9v4hDYGt.js → Portlet-3Nh2cWeq.js} +8 -10
  129. package/dist/{Progress-CiHMdfZl.js → Progress-Dh2FTsky.js} +8 -10
  130. package/dist/{Property-BnEjeZVl.js → Property-DRSklFlT.js} +6 -6
  131. package/dist/{QRCode-BUFMyD3p.js → QRCode-BeUD-g8-.js} +10 -10
  132. package/dist/{Radio-ccx7KeaP.js → Radio-DrJJfNFI.js} +9 -11
  133. package/dist/{Radios-BlIx8v_G.js → Radios-CL3mreXa.js} +31 -33
  134. package/dist/{Remark-800xur3N.js → Remark-Cmo-r6dp.js} +4 -5
  135. package/dist/Remark-DuAbEmCW.js +9 -0
  136. package/dist/{RichText-CFya1zyE.js → RichText-jkERm8rC.js} +3 -3
  137. package/dist/{SearchBox-yVg7P7NW.js → SearchBox-CTxSMcV2.js} +8 -10
  138. package/dist/{Select-niHiH7nS.js → Select-D3LTuHwe.js} +20 -22
  139. package/dist/Service-CN2v_Z9z.js +347 -0
  140. package/dist/{Shape-DGcW-OLJ.js → Shape-Bi93tLCN.js} +8 -10
  141. package/dist/{Slider-C87MpqPU.js → Slider-C0jqeBGt.js} +8 -10
  142. package/dist/{SparkLine-Bc2KqhrP.js → SparkLine-Ce6-mdqG.js} +8 -10
  143. package/dist/{Spinner-3hXPV1FN.js → Spinner-DZDEct1A.js} +8 -10
  144. package/dist/{StaticHoc-DIk0DX4D.js → StaticHoc-BAdofX5w.js} +3 -3
  145. package/dist/Status-CDC2e2_o.js +93 -0
  146. package/dist/{Steps-DJRoyvU0.js → Steps-CGyTaaVI.js} +15 -17
  147. package/dist/{Switch-DJ1dcPVX.js → Switch-QA0l7uEg.js} +9 -11
  148. package/dist/{SwitchContainer-D3dNc78M.js → SwitchContainer-zXvaPFlG.js} +6 -6
  149. package/dist/Table-B8tWpiPU.js +13 -0
  150. package/dist/{Table-BbLdIOwp.js → Table-DzGbNFxu.js} +473 -474
  151. package/dist/Table2-CQZ3und9.js +1198 -0
  152. package/dist/{TableView-IVH5o169.js → TableView-nlFBhvL1.js} +10 -10
  153. package/dist/{Tabs-CC5ITl4F.js → Tabs-XleB-2Mc.js} +41 -43
  154. package/dist/{TabsTransfer-BoFtWaFp.js → TabsTransfer-CLLGXAkP.js} +24 -24
  155. package/dist/TabsTransfer-Cs_Rg0TU.js +11 -0
  156. package/dist/{TabsTransferPicker-DIlgk3ei.js → TabsTransferPicker-VA3Vlla-.js} +11 -13
  157. package/dist/{Tag-BQHuKVQ1.js → Tag-tr5RKBfl.js} +8 -10
  158. package/dist/{Tasks-6kY93Am4.js → Tasks-C2-ayUd-.js} +17 -19
  159. package/dist/{Textarea-Lhz3n5BX.js → Textarea-_KbIxQet.js} +9 -11
  160. package/dist/{Timeline-D2j_CiFR.js → Timeline-CctoJRQo.js} +8 -10
  161. package/dist/{TooltipWrapper-yKnGGKt7.js → TooltipWrapper-BGNr8U2K.js} +8 -10
  162. package/dist/Tpl-C28lpITc.js +152 -0
  163. package/dist/Transfer-Hjc9zR8W.js +288 -0
  164. package/dist/Transfer-tYS9Rx8U.js +10 -0
  165. package/dist/{TransferPicker-CoMThimo.js → TransferPicker-C7Wzyuct.js} +10 -12
  166. package/dist/{TreeSelect-DJCdycVn.js → TreeSelect-DAlWCEqs.js} +21 -23
  167. package/dist/{UUID-CyCEB9U4.js → UUID-B5UZnlxW.js} +6 -6
  168. package/dist/{UserSelect-DQzTWNEb.js → UserSelect-DqZZQB83.js} +20 -22
  169. package/dist/{VBox-jpFiQClW.js → VBox-C1OZZT8-.js} +6 -6
  170. package/dist/{Video-D_LLCdU7.js → Video-C1FRwLLL.js} +136 -136
  171. package/dist/{WebComponent-DiKfJl3_.js → WebComponent-g8Zc9zXp.js} +6 -6
  172. package/dist/{Wizard-B0z3wr80.js → Wizard-DkqCsGz-.js} +34 -36
  173. package/dist/{Words-B4Munegf.js → Words-DUuKqyIf.js} +16 -18
  174. package/dist/{Wrapper-HYrWbYb6.js → Wrapper-DmZ78GYG.js} +6 -6
  175. package/dist/{_createAssigner-Bm5lVWE-.js → _getTag-CWmGzIun.js} +41 -22
  176. package/dist/beneficiary-form-DCl2L16P.js +3773 -0
  177. package/dist/{client-Blt2XYIL.js → client-BEyTOBXT.js} +3 -3
  178. package/dist/crypto-js-DUFYRUag.js +3694 -0
  179. package/dist/{doc-CN4Z162V.js → doc-B-Im0Knb.js} +2 -2
  180. package/dist/{es-DK1r3YUJ.js → es-CsUppg1O.js} +3 -3
  181. package/dist/{esm-ChS65zTd.js → esm-Cj_BRpNI.js} +1246 -1190
  182. package/dist/{esm-DufZUL0t.js → esm-DEyK_c3W.js} +45 -35
  183. package/dist/{esm-CCV9JQyG.js → esm-SCCPj-cs.js} +3 -3
  184. package/dist/{function-Dbcnxw2H.js → function-CNJMA2ft.js} +2 -2
  185. package/dist/index.css +1 -1
  186. package/dist/index.d.ts +4 -3
  187. package/dist/index.js +5 -4
  188. package/dist/{isEqual-B1XgbWvm.js → isEqual-E2NjjS0_.js} +1 -1
  189. package/dist/{main-Dy7FH0sS.js → main-Bf7MY24z.js} +2 -2
  190. package/dist/mi18n-react.esm-y-nzmW0A.js +1138 -0
  191. package/dist/{objectSpread2-Dh0ABAXt.js → objectSpread2-smpSKONV.js} +2 -2
  192. package/dist/{omitBy-BBeQc7XG.js → omitBy-CD5n2TA7.js} +3 -3
  193. package/dist/{papaparse.min-ChqWm6yK.js → papaparse.min-3xa9r8Qi.js} +1 -1
  194. package/dist/{react-CHA_DGKo.js → react-RxxVsDMo.js} +1 -1
  195. package/dist/{react-cropper.es-O79UQPZ6.js → react-cropper.es-anJ2KE7h.js} +2 -2
  196. package/dist/{react-dom-tGNlN-2_.js → react-dom-D1mxcNoQ.js} +2 -2
  197. package/dist/react-g40aymqL.js +2 -0
  198. package/dist/xor-D-ggRBpm.js +20 -0
  199. package/package.json +13 -9
  200. package/dist/Action-BD84dQm7.js +0 -12
  201. package/dist/App-BjMDDfGp.js +0 -215
  202. package/dist/ButtonGroupSelect-Cxk8s81t.js +0 -8
  203. package/dist/Card-DP8rtHME.js +0 -16
  204. package/dist/Cards-DmOZWmYb.js +0 -487
  205. package/dist/Checkbox-DRgpdqR5.js +0 -12
  206. package/dist/CityDB-De7mzIWs.js +0 -3912
  207. package/dist/Collapse-DuyoxLtz.js +0 -11
  208. package/dist/ColumnToggler-DwURF6Gb.js +0 -12
  209. package/dist/Combo-mV4e8GoD.js +0 -11
  210. package/dist/Dialog-BAyLX0mi.js +0 -510
  211. package/dist/FieldSet-CTGWoAvC.js +0 -12
  212. package/dist/HBox-DdghBtxG.js +0 -7
  213. package/dist/Image-DYN6XwCv.js +0 -11
  214. package/dist/Input-CCDZqV8p.js +0 -52
  215. package/dist/InputDate-DSHN3zU4.js +0 -292
  216. package/dist/InputDateRange-CbpsnaCe.js +0 -12
  217. package/dist/InputDateRange-D6ELYD-x.js +0 -170
  218. package/dist/InputExcel-DjBIVGLo.js +0 -429
  219. package/dist/InputFile-b23f0dU0.js +0 -12
  220. package/dist/InputImage-DAUcgoKE.js +0 -14
  221. package/dist/InputNumber-p2UxlJX6.js +0 -257
  222. package/dist/InputRichText-C0NpxT6H.js +0 -7
  223. package/dist/InputRichText-CI2mXkzF.js +0 -198
  224. package/dist/InputSubForm-BtYTSrB4.js +0 -238
  225. package/dist/InputTable-CGMRFZUr.js +0 -902
  226. package/dist/InputTag-DXvCPL8J.js +0 -466
  227. package/dist/Link-B8iRSer9.js +0 -59
  228. package/dist/List-BKMt5KwT.js +0 -16
  229. package/dist/NestedSelect-CHnw2quX.js +0 -519
  230. package/dist/PdfViewer-BjkhimjY.js +0 -12607
  231. package/dist/PdfViewer-CkLbk1Th.js +0 -175
  232. package/dist/PopUp-reEZw5g2.js +0 -320
  233. package/dist/Remark-Df6vguZu.js +0 -11
  234. package/dist/Service-DIFAk9JU.js +0 -349
  235. package/dist/Status-BWasOOK9.js +0 -95
  236. package/dist/Table-BaCrZbR5.js +0 -15
  237. package/dist/Table2-MEQHOl_4.js +0 -1200
  238. package/dist/TabsTransfer-BXtj0vE-.js +0 -13
  239. package/dist/Tinymce-k7uU44j9.js +0 -63587
  240. package/dist/Tpl-C8SFSbv-.js +0 -154
  241. package/dist/Transfer-BDiet-S3.js +0 -12
  242. package/dist/Transfer-CoTV9nws.js +0 -288
  243. package/dist/__vite-browser-external-C1LsZvBw.js +0 -5
  244. package/dist/abap-CvDIJoq4.js +0 -122
  245. package/dist/apex-DJH2mRfT.js +0 -170
  246. package/dist/azcli-ChomlZy5.js +0 -53
  247. package/dist/bat-CmdEL5vQ.js +0 -123
  248. package/dist/beneficiary-form-DN5LSPin.js +0 -2130
  249. package/dist/bicep-CwtEaRi-.js +0 -221
  250. package/dist/bmap-BGH_bIhJ.js +0 -163
  251. package/dist/cameligo-mvwpGYSL.js +0 -189
  252. package/dist/clojure-DWgwR_x3.js +0 -146
  253. package/dist/codemirror-10K4F0d6.js +0 -5607
  254. package/dist/codemirror-CVXFHKur.js +0 -2
  255. package/dist/coffee-1AL9EmdD.js +0 -260
  256. package/dist/cpp-BAX9fjE6.js +0 -240
  257. package/dist/csharp-CFXvbZbk.js +0 -260
  258. package/dist/csp-DkenAN-1.js +0 -46
  259. package/dist/css-D0qiRMVz.js +0 -284
  260. package/dist/cssMode-31Qcr_YV.js +0 -1388
  261. package/dist/dart-CDGtSHr2.js +0 -236
  262. package/dist/dataTool-8juTlvT3.js +0 -127
  263. package/dist/dockerfile-CSknzC0F.js +0 -191
  264. package/dist/echarts-DYeQ7frz.js +0 -2
  265. package/dist/echarts-ioNbC02k.js +0 -40645
  266. package/dist/echarts-stat-DZqjnVuR.js +0 -758
  267. package/dist/echarts-wordcloud-CUlo6Bhd.js +0 -41196
  268. package/dist/ecl-HK8mA97g.js +0 -226
  269. package/dist/editor.api-DJvvWnxi.js +0 -52799
  270. package/dist/editor.main-B4dfb_aD.js +0 -25006
  271. package/dist/elixir-D9yfDUre.js +0 -502
  272. package/dist/exceljs.min-nuhAzUL9.js +0 -32053
  273. package/dist/flow9-kyy_2-D4.js +0 -176
  274. package/dist/fsharp-QJQUokTY.js +0 -147
  275. package/dist/go-Cq-NPpAC.js +0 -165
  276. package/dist/graphql-DSnjTp0n.js +0 -174
  277. package/dist/handlebars-sJdKcL8O.js +0 -411
  278. package/dist/hcl-RK8WN3Ur.js +0 -219
  279. package/dist/hls-DLPj3KFH.js +0 -11744
  280. package/dist/html-KRygywuV.js +0 -324
  281. package/dist/htmlMode-DNoCXiyS.js +0 -1315
  282. package/dist/htmlmixed-C2cKuIw-.js +0 -752
  283. package/dist/ini-CEgsI8Mb.js +0 -94
  284. package/dist/java-BBQ3kncu.js +0 -173
  285. package/dist/javascript-CWijH8KU.js +0 -3
  286. package/dist/javascript-CpPvjWyU.js +0 -20
  287. package/dist/javascript-z3V1O3DL.js +0 -644
  288. package/dist/jsonMode-DZXtN-nK.js +0 -1732
  289. package/dist/jsx-runtime-Bj1H-jyL.js +0 -483
  290. package/dist/julia-Cv1I7dyz.js +0 -414
  291. package/dist/kotlin-BYSXt0U8.js +0 -183
  292. package/dist/less-DqJSumRC.js +0 -242
  293. package/dist/lexon-DetymABe.js +0 -185
  294. package/dist/liquid-DQQKpMld.js +0 -198
  295. package/dist/lua-DAbeykJS.js +0 -200
  296. package/dist/m3-CXUxQdad.js +0 -193
  297. package/dist/markdown-qE4QfNoY.js +0 -262
  298. package/dist/mi18n-react.esm-m9XBudzT.js +0 -1131
  299. package/dist/mips-2NqZOK30.js +0 -128
  300. package/dist/monaco-editor-core-CDGnFY-Z.js +0 -0
  301. package/dist/monaco-editor-core-CK7t9yq3.js +0 -0
  302. package/dist/monaco-editor-core-CxtO33k4.js +0 -0
  303. package/dist/monaco-editor-core-D11wn0Vr.js +0 -0
  304. package/dist/monaco.contribution-Cr8Vbcwg.js +0 -143
  305. package/dist/mpegts-BTpx1WVy.js +0 -8265
  306. package/dist/msdax-DE7X9pbi.js +0 -156
  307. package/dist/multiplex-CsNuufkn.js +0 -87
  308. package/dist/mysql-AWNf5THv.js +0 -167
  309. package/dist/objective-c-BGe6xR-Y.js +0 -144
  310. package/dist/pascal-D-y7r-4l.js +0 -176
  311. package/dist/pascaligo-qL5heFeC.js +0 -201
  312. package/dist/perl-DzKQDF4r.js +0 -316
  313. package/dist/pgsql-Ci2RUqhT.js +0 -158
  314. package/dist/php-PNEASzvZ.js +0 -471
  315. package/dist/pla-CXNCf5pc.js +0 -146
  316. package/dist/placeholder-C7cTLPU8.js +0 -51
  317. package/dist/postiats-DkKv8Z8y.js +0 -504
  318. package/dist/powerquery-D97XJ_Ls.js +0 -190
  319. package/dist/powershell-BenhISae.js +0 -211
  320. package/dist/protobuf-DDlDyjNL.js +0 -655
  321. package/dist/pug-BPLU_T3S.js +0 -300
  322. package/dist/python-DV8AFCx6.js +0 -193
  323. package/dist/qsharp-BbxHsJRN.js +0 -126
  324. package/dist/r-C_bVYF4d.js +0 -189
  325. package/dist/razor-DJab8AU0.js +0 -518
  326. package/dist/react-C8icmfXK.js +0 -2
  327. package/dist/redis-24lhqnEF.js +0 -123
  328. package/dist/redshift-BA-vs3-a.js +0 -158
  329. package/dist/restructuredtext-DZvLRfxd.js +0 -287
  330. package/dist/ruby-DIOUuTge.js +0 -527
  331. package/dist/rust-DEGENBgy.js +0 -178
  332. package/dist/sb-YqQRy1Aj.js +0 -143
  333. package/dist/scala-CJaYjW7T.js +0 -551
  334. package/dist/scheme-Behwu3d2.js +0 -170
  335. package/dist/scss-DWPywJva.js +0 -417
  336. package/dist/shell-BuaejZUe.js +0 -220
  337. package/dist/simple-XEv7ggwt.js +0 -159
  338. package/dist/solidity-DwtWGZKw.js +0 -147
  339. package/dist/sophia-B_rmISO8.js +0 -147
  340. package/dist/sparql-4CH2wq-R.js +0 -124
  341. package/dist/sql-KrQAp8jb.js +0 -171
  342. package/dist/st-BdgF2Ved.js +0 -476
  343. package/dist/swift-DPhf5yMV.js +0 -227
  344. package/dist/systemverilog-D-r12h5g.js +0 -298
  345. package/dist/tcl-B1JtbBR-.js +0 -223
  346. package/dist/tsMode-DN-aeyWM.js +0 -988
  347. package/dist/twig-DKeEvrnL.js +0 -388
  348. package/dist/typescript-BPg7EmrG.js +0 -255
  349. package/dist/typescript-eArQtZ8F.js +0 -4
  350. package/dist/vb-cBZKS6-O.js +0 -260
  351. package/dist/xlsx-C-JaSvuM.js +0 -19361
  352. package/dist/xml-DlMwoWd-.js +0 -129
  353. package/dist/xor-D1jDwNN7.js +0 -20
  354. package/dist/yaml-ByFeqOGo.js +0 -216
  355. /package/dist/{IconPickerIcons-BjNW_Tas.js → IconPickerIcons-dHFcDHrv.js} +0 -0
  356. /package/dist/{chunk-BztcrWZM.js → rolldown-runtime-DwW8Tac2.js} +0 -0
@@ -1,16 +1,15 @@
1
- import { o as __toDynamicImportESM, s as __toESM } from "./chunk-BztcrWZM.js";
2
- import { t as require_react } from "./react-CHA_DGKo.js";
1
+ import { s as __toESM } from "./rolldown-runtime-DwW8Tac2.js";
2
+ import { t as require_react } from "./react-RxxVsDMo.js";
3
3
  import { a as __generator, c as __rest, d as __values, i as __extends, n as __awaiter, o as __metadata, r as __decorate, s as __read, t as __assign, u as __spreadArray } from "./tslib.es6-DJiA3ePV.js";
4
- import { L as init_moment, R as moment_default, c as require_isPlainObject, v as require_memoize } from "./function-Dbcnxw2H.js";
5
- import { t as require_isEqual } from "./isEqual-B1XgbWvm.js";
6
- import { $t as toDataURL, B as RootClose, C as decodeEntity, Ct as normalizeOptions, D as loopTooMuch, Dr as noop, En as require_find, Fn as buildTrackExpression, Ir as removeHTMLTag, L as PopOver$1, Mn as anyChanged, Pi as resolveVariableAndFilter, Pn as autobind, Qr as isPureVariable, Qt as getImageDimensions, R as Overlay, Ri as matchSorter, Rn as changedEffect, Rt as Animation, S as arraySlice, U as getStyleNumber, Un as eachTree, Vn as difference, Vt as require_hoist_non_react_statics_cjs, Wn as evalTrackExpression, Xn as flattenTree, Xt as resizeSensor, Zr as filter, Zt as require_debounce, _n as observer$1, bi as keyToPath, bn as require_omit, ca as reaction, cn as isEffectiveApi, ct as getRendererByName, di as isObject, er as getPropValue, fi as setVariable, ft as ScopedContext, gn as offset, hn as position, hr as isClickOnInput, ht as getMatchedEventTargets, ia as isAlive, in as require_FileSaver_min, it as Renderer, kr as padArr, kt as TableStore, nn as chromeVersion, nr as getScrollParent, on as isApiOutdated, pr as isArrayChildrenModified, ra as getSnapshot, rn as isSafari, rt as useInView, si as createObject, tn as ColorScale, tt as themeable, un as normalizeApi, vi as resolveVariable, vn as observer, xn as require_flatten, yi as getVariable, yr as isNumeric } from "./esm-DufZUL0t.js";
7
- import { t as require_react_dom } from "./react-dom-tGNlN-2_.js";
8
- import { Bt as require_keycode, Ct as sortable_esm_default, G as SearchBox$1, L as Badge, Mt as Checkbox$1, V as require_intersection } from "./esm-ChS65zTd.js";
9
- import { n as Button$1, r as TooltipWrapper$1 } from "./PopUp-reEZw5g2.js";
10
- import { n as Spinner$1, r as Icon } from "./Spinner-BSnTm3TK.js";
11
- import { t as Action } from "./Action-CErPyqhd.js";
12
- import { t as require_xor } from "./xor-D1jDwNN7.js";
13
- import { t as ColumnToggler } from "./ColumnToggler-B13Y3e57.js";
4
+ import { L as init_moment, R as moment_default, c as require_isPlainObject, v as require_memoize } from "./function-CNJMA2ft.js";
5
+ import { t as require_isEqual } from "./isEqual-E2NjjS0_.js";
6
+ import { $n as getPropValue, B as RootClose, Bn as difference, C as decodeEntity, D as loopTooMuch, Er as noop, Fr as removeHTMLTag, Hn as eachTree, L as PopOver$1, Li as matchSorter, Ln as changedEffect, Ni as resolveVariableAndFilter, Nn as autobind, Or as padArr, Ot as TableStore, Pn as buildTrackExpression, Qt as toDataURL, R as Overlay, Rt as Animation, S as arraySlice, St as normalizeOptions, Tn as require_find, U as getStyleNumber, Un as evalTrackExpression, Vt as require_hoist_non_react_statics_cjs, Xr as filter, Xt as require_debounce, Yn as flattenTree, Yt as resizeSensor, Zr as isPureVariable, Zt as getImageDimensions, _i as resolveVariable, _n as observer, an as isApiOutdated, bn as require_flatten, di as setVariable, dt as ScopedContext, en as ColorScale, fr as isArrayChildrenModified, gn as observer$1, hn as offset, it as Renderer, jn as anyChanged, ln as normalizeApi, mn as position, mr as isClickOnInput, mt as getMatchedEventTargets, na as getSnapshot, nn as isSafari, oi as createObject, ra as isAlive, rn as require_FileSaver_min, rt as useInView, sa as reaction, sn as isEffectiveApi, st as getRendererByName, tn as chromeVersion, tr as getScrollParent, tt as themeable, ui as isObject, vi as getVariable, vr as isNumeric, yi as keyToPath, yn as require_omit } from "./esm-DEyK_c3W.js";
7
+ import { t as require_react_dom } from "./react-dom-D1mxcNoQ.js";
8
+ import { Ct as sortable_esm_default, G as SearchBox$1, L as Badge, Nt as Checkbox$1, V as require_intersection, Vt as require_keycode } from "./esm-Cj_BRpNI.js";
9
+ import { a as TooltipWrapper$1, i as Spinner$1, n as Button$1, s as Icon } from "./PopUp-Bgkvnd4X.js";
10
+ import { t as Action } from "./Action-DpRShNiD.js";
11
+ import { t as require_xor } from "./xor-D-ggRBpm.js";
12
+ import { t as ColumnToggler } from "./ColumnToggler-DLFwzPef.js";
14
13
  var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom$2 = require_react_dom(), import_hoist_non_react_statics_cjs$2 = /* @__PURE__ */ __toESM(require_hoist_non_react_statics_cjs()), import_keycode = /* @__PURE__ */ __toESM(require_keycode()), import_omit$1 = /* @__PURE__ */ __toESM(require_omit()), inited = !1, currentOpened, HocQuickEdit = function(e) {
15
14
  return e === void 0 && (e = {}), function(e) {
16
15
  var t = function(t) {
@@ -231,32 +230,32 @@ var import_react = /* @__PURE__ */ __toESM(require_react()), import_react_dom$2
231
230
  quickEditFormItemRef: null
232
231
  });
233
232
  }, n.prototype.render = function() {
234
- var t = this.props, n = t.onQuickChange, r = t.quickEdit, a = t.quickEditEnabled, o = t.className, s = t.classnames, c = t.render, l = t.noHoc;
233
+ var t = this.props, n = t.onQuickChange, i = t.quickEdit, a = t.quickEditEnabled, o = t.className, s = t.classnames, c = t.render, l = t.noHoc;
235
234
  t.canAccessSuperData;
236
- var u = t.disabled, f = t.static, p = this.props;
235
+ var d = t.disabled, f = t.static, p = this.props;
237
236
  p.buildItemProps, p.quickEditFormRef, p.quickEditFormItemRef;
238
237
  var m = __rest(p, [
239
238
  "buildItemProps",
240
239
  "quickEditFormRef",
241
240
  "quickEditFormItemRef"
242
241
  ]);
243
- return f || !r || !n || !(typeof r == "object" && r?.isQuickEditFormMode) && a === !1 || l ? import_react.createElement(e, __assign({}, m, { formItemRef: this.formItemRef })) : r.mode === "inline" || r.isFormMode ? import_react.createElement(e, __assign({}, m, {
242
+ return f || !i || !n || !(typeof i == "object" && i?.isQuickEditFormMode) && a === !1 || l ? import_react.createElement(e, __assign({}, m, { formItemRef: this.formItemRef })) : i.mode === "inline" || i.isFormMode ? import_react.createElement(e, __assign({}, m, {
244
243
  className: s("Field--quickEditable", o),
245
- tabIndex: r.focusable === !1 ? void 0 : "0",
246
- onKeyUp: u ? noop : this.handleKeyUp
244
+ tabIndex: i.focusable === !1 ? void 0 : "0",
245
+ onKeyUp: d ? noop : this.handleKeyUp
247
246
  }), this.renderInlineForm()) : import_react.createElement(e, __assign({}, m, {
248
247
  className: s("Field--quickEditable", o, { in: this.state.isOpened }),
249
- tabIndex: r.focusable === !1 ? void 0 : "0",
250
- onKeyUp: u ? noop : this.handleKeyUp
248
+ tabIndex: i.focusable === !1 ? void 0 : "0",
249
+ onKeyUp: d ? noop : this.handleKeyUp
251
250
  }), import_react.createElement(e, __assign({}, m, {
252
251
  contentsOnly: !0,
253
252
  noHoc: !0
254
- })), u ? null : c("quick-edit-button", {
253
+ })), d ? null : c("quick-edit-button", {
255
254
  type: "button",
256
255
  tabIndex: "-1",
257
256
  onClick: this.openQuickEdit,
258
257
  className: "Field-quickEditBtn",
259
- icon: r.icon || "edit",
258
+ icon: i.icon || "edit",
260
259
  level: "link"
261
260
  }), this.state.isOpened ? this.renderPopOver() : null);
262
261
  }, n.ComposedComponent = e, n;
@@ -385,8 +384,8 @@ var import_react_dom$1 = require_react_dom(), import_hoist_non_react_statics_cjs
385
384
  n.showIcon;
386
385
  var l = this.getClassName();
387
386
  if (!r && !l || i === !1 || s || a === !1) return import_react.createElement(t, __assign({}, this.props));
388
- var u = {};
389
- return r?.trigger === "hover" || l === "ellipsis" && !r ? (u.onMouseEnter = this.openPopOver, u.onMouseLeave = this.closePopOverLater) : u.onClick = this.openPopOver, import_react.createElement(t, __assign({}, this.props, {
387
+ var d = {};
388
+ return r?.trigger === "hover" || l === "ellipsis" && !r ? (d.onMouseEnter = this.openPopOver, d.onMouseLeave = this.closePopOverLater) : d.onClick = this.openPopOver, import_react.createElement(t, __assign({}, this.props, {
390
389
  className: c("Field--popOverAble", o, { in: this.state.isOpened }),
391
390
  ref: e.targetOutter ? this.targetRef : void 0
392
391
  }), r?.showIcon !== !1 && r ? import_react.createElement(import_react.Fragment, null, import_react.createElement(t, __assign({}, this.props, {
@@ -395,10 +394,10 @@ var import_react_dom$1 = require_react_dom(), import_hoist_non_react_statics_cjs
395
394
  })), import_react.createElement("span", __assign({
396
395
  key: "popover-btn",
397
396
  className: c("Field-popOverBtn")
398
- }, u, { ref: e.targetOutter ? void 0 : this.targetRef }), import_react.createElement(Icon, {
397
+ }, d, { ref: e.targetOutter ? void 0 : this.targetRef }), import_react.createElement(Icon, {
399
398
  icon: "zoom-in",
400
399
  className: "icon"
401
- })), this.state.isOpened ? this.renderPopOver() : null) : import_react.createElement(import_react.Fragment, null, import_react.createElement("div", __assign({ className: c("Field-popOverWrap", l ? "Field-popOverWrap-" + l : "") }, u, { ref: e.targetOutter ? void 0 : this.targetRef }), import_react.createElement(t, __assign({}, this.props, {
400
+ })), this.state.isOpened ? this.renderPopOver() : null) : import_react.createElement(import_react.Fragment, null, import_react.createElement("div", __assign({ className: c("Field-popOverWrap", l ? "Field-popOverWrap-" + l : "") }, d, { ref: e.targetOutter ? void 0 : this.targetRef }), import_react.createElement(t, __assign({}, this.props, {
402
401
  contentsOnly: !0,
403
402
  noHoc: !0
404
403
  }))), this.state.isOpened ? this.renderPopOver() : null));
@@ -417,9 +416,9 @@ var import_react_dom$1 = require_react_dom(), import_hoist_non_react_statics_cjs
417
416
  var t = this.props, n = t.env, r = t.copyFormat;
418
417
  n.copy && n.copy(e, { format: r });
419
418
  }, n.prototype.render = function() {
420
- var t = this.props, n = t.name, r = t.className, i = t.data, a = t.noHoc, o = t.classnames, s = t.translate, c = t.env, l = t.tooltipContainer, u = this.props.copyable;
421
- if (u && !a) {
422
- var f = filter(u.content || "${" + n + " | raw }", i), p = u?.tooltip == null ? u?.tooltip : filter(u.tooltip, i);
419
+ var t = this.props, n = t.name, r = t.className, i = t.data, a = t.noHoc, o = t.classnames, s = t.translate, c = t.env, l = t.tooltipContainer, d = this.props.copyable;
420
+ if (d && !a) {
421
+ var f = filter(d.content || "${" + n + " | raw }", i), p = d?.tooltip == null ? d?.tooltip : filter(d.tooltip, i);
423
422
  if (f) return import_react.createElement(e, __assign({}, this.props, { className: o("Field--copyable", r) }), import_react.createElement(e, __assign({}, this.props, {
424
423
  contentsOnly: !0,
425
424
  noHoc: !0
@@ -451,56 +450,56 @@ var import_react_dom$1 = require_react_dom(), import_hoist_non_react_statics_cjs
451
450
  return t.prototype.render = function() {
452
451
  var e = this.props, t = e.classnames, n = e.className;
453
452
  e.classNameExpr;
454
- var r = e.render, a = e.style, o = a === void 0 ? {} : a, s = e.wrapperComponent, c = e.contentsOnly, l = e.column, p = e.value, m = e.data, h = e.children, g = e.width, _ = e.align, v = e.vAlign, y = e.innerClassName;
453
+ var i = e.render, a = e.style, o = a === void 0 ? {} : a, s = e.wrapperComponent, c = e.contentsOnly, f = e.column, p = e.value, m = e.data, h = e.children, g = e.width, _ = e.align, v = e.vAlign, y = e.innerClassName;
455
454
  e.label;
456
455
  var b = e.tabIndex, x = e.onKeyUp, S = e.rowSpan;
457
456
  e.body, e.tpl, e.remark;
458
457
  var C = e.cellPrefix, w = e.cellAffix, T = e.isHead;
459
458
  e.colIndex;
460
- var E = e.row, D = e.showBadge, O = e.itemBadge, A = e.textOverflow, M = e.testIdBuilder, N = __rest(e, /* @__PURE__ */ "classnames.className.classNameExpr.render.style.wrapperComponent.contentsOnly.column.value.data.children.width.align.vAlign.innerClassName.label.tabIndex.onKeyUp.rowSpan.body.tpl.remark.cellPrefix.cellAffix.isHead.colIndex.row.showBadge.itemBadge.textOverflow.testIdBuilder".split("."));
459
+ var E = e.row, D = e.showBadge, k = e.itemBadge, A = e.textOverflow, j = e.testIdBuilder, M = __rest(e, /* @__PURE__ */ "classnames.className.classNameExpr.render.style.wrapperComponent.contentsOnly.column.value.data.children.width.align.vAlign.innerClassName.label.tabIndex.onKeyUp.rowSpan.body.tpl.remark.cellPrefix.cellAffix.isHead.colIndex.row.showBadge.itemBadge.textOverflow.testIdBuilder".split("."));
461
460
  T ? s = "th" : s ||= "td";
462
- var P = s === "td" || s === "th", F = __assign(__assign({}, l), {
461
+ var N = s === "td" || s === "th", P = __assign(__assign({}, f), {
463
462
  visibleOn: "",
464
463
  hiddenOn: "",
465
464
  visible: !0,
466
465
  hidden: !1,
467
- style: l.innerStyle,
466
+ style: f.innerStyle,
468
467
  className: y,
469
- type: l && l.type || "plain"
468
+ type: f && f.type || "plain"
470
469
  });
471
- F.type !== "button" && F.type !== "dropdown-button" && delete F.label;
472
- var I = h || r("field", F, __assign(__assign({}, (0, import_omit.default)(N, Object.keys(F), this.propsNeedRemove)), {
470
+ P.type !== "button" && P.type !== "dropdown-button" && delete P.label;
471
+ var F = h || i("field", P, __assign(__assign({}, (0, import_omit.default)(M, Object.keys(P), this.propsNeedRemove)), {
473
472
  inputOnly: !0,
474
473
  value: p,
475
474
  data: m
476
475
  }));
477
- if (P ? o = (0, import_omit.default)(o, [
476
+ if (N ? o = (0, import_omit.default)(o, [
478
477
  "width",
479
478
  "position",
480
479
  "display"
481
- ]) : g && (o = __assign(__assign({}, o), { width: o && o.width || g })), _ && (o = __assign(__assign({}, o), { textAlign: _ })), v && (o = __assign(__assign({}, o), { verticalAlign: v })), l.backgroundScale) {
482
- var L = l.backgroundScale, R = L.min, z = L.max;
483
- isPureVariable(R) && (R = resolveVariableAndFilter(R, m, "| raw")), isPureVariable(z) && (z = resolveVariableAndFilter(z, m, "| raw")), R === void 0 && (R = Math.min.apply(Math, __spreadArray([], __read(m.rows.map(function(e) {
484
- return e[l.name];
485
- })), !1))), z === void 0 && (z = Math.max.apply(Math, __spreadArray([], __read(m.rows.map(function(e) {
486
- return e[l.name];
480
+ ]) : g && (o = __assign(__assign({}, o), { width: o && o.width || g })), _ && (o = __assign(__assign({}, o), { textAlign: _ })), v && (o = __assign(__assign({}, o), { verticalAlign: v })), f.backgroundScale) {
481
+ var I = f.backgroundScale, L = I.min, R = I.max;
482
+ isPureVariable(L) && (L = resolveVariableAndFilter(L, m, "| raw")), isPureVariable(R) && (R = resolveVariableAndFilter(R, m, "| raw")), L === void 0 && (L = Math.min.apply(Math, __spreadArray([], __read(m.rows.map(function(e) {
483
+ return e[f.name];
484
+ })), !1))), R === void 0 && (R = Math.max.apply(Math, __spreadArray([], __read(m.rows.map(function(e) {
485
+ return e[f.name];
487
486
  })), !1)));
488
- var B = new ColorScale(R, z, L.colors || ["#FFEF9C", "#FF7127"]), V = m[l.name];
489
- isPureVariable(L.source) && (V = resolveVariableAndFilter(L.source, m, "| raw"));
490
- var H = B.getColor(Number(V)).toHexString();
491
- o.background = H;
487
+ var z = new ColorScale(L, R, I.colors || ["#FFEF9C", "#FF7127"]), B = m[f.name];
488
+ isPureVariable(I.source) && (B = resolveVariableAndFilter(I.source, m, "| raw"));
489
+ var V = z.getColor(Number(B)).toHexString();
490
+ o.background = V;
492
491
  }
493
- return c ? I : import_react.createElement(s, __assign({
492
+ return c ? F : import_react.createElement(s, __assign({
494
493
  rowSpan: S > 1 ? S : void 0,
495
494
  style: o,
496
495
  className: t(n),
497
496
  tabIndex: b,
498
497
  onKeyUp: x
499
- }, M?.getChild("cell").getTestId()), D ? import_react.createElement(Badge, {
498
+ }, j?.getChild("cell").getTestId()), D ? import_react.createElement(Badge, {
500
499
  classnames: t,
501
- badge: __assign(__assign({}, O), { className: t("Table-badge", O?.className) }),
500
+ badge: __assign(__assign({}, k), { className: t("Table-badge", k?.className) }),
502
501
  data: E.data
503
- }) : null, C, A === "ellipsis" ? import_react.createElement("div", { className: t("TableCell-ellipsis") }, I) : I, w);
502
+ }) : null, C, A === "ellipsis" ? import_react.createElement("div", { className: t("TableCell-ellipsis") }, F) : F, w);
504
503
  }, t.defaultProps = { wrapperComponent: "td" }, t.propsList = [
505
504
  "type",
506
505
  "label",
@@ -579,11 +578,11 @@ var import_xor = /* @__PURE__ */ __toESM(require_xor()), import_react_dom = requ
579
578
  (this.props.data ? this.props.data[n] : void 0) !== (e.data ? e.data[n] : void 0) && this.state.filterOptions.length && t.filterOptions !== this.props.filterOptions && this.setState({ filterOptions: this.alterOptions(this.state.filterOptions) }), this.sourceInvalid && this.fetchOptions();
580
579
  }, t.prototype.fetchOptions = function() {
581
580
  return __awaiter(this, void 0, void 0, function() {
582
- var e, t, n, i, a, o, s;
583
- return __generator(this, function(r) {
584
- switch (r.label) {
585
- case 0: return e = this.props, t = e.env, n = e.filterable, i = e.data, isEffectiveApi(n.source, i) ? (a = normalizeApi(n.source), a.cache = 3e3, [4, t.fetcher(a, i)]) : [2];
586
- case 1: return o = r.sent(), s = o.data && o.data.options || [], this.setState({ filterOptions: o && o.data && this.alterOptions(s) }), [2];
581
+ var e, t, r, i, a, o, s;
582
+ return __generator(this, function(n) {
583
+ switch (n.label) {
584
+ case 0: return e = this.props, t = e.env, r = e.filterable, i = e.data, isEffectiveApi(r.source, i) ? (a = normalizeApi(r.source), a.cache = 3e3, [4, t.fetcher(a, i)]) : [2];
585
+ case 1: return o = n.sent(), s = o.data && o.data.options || [], this.setState({ filterOptions: o && o.data && this.alterOptions(s) }), [2];
587
586
  }
588
587
  });
589
588
  });
@@ -608,12 +607,12 @@ var import_xor = /* @__PURE__ */ __toESM(require_xor()), import_react_dom = requ
608
607
  this.close();
609
608
  }, t.prototype.open = function() {
610
609
  return __awaiter(this, void 0, void 0, function() {
611
- var e, t, n, i;
612
- return __generator(this, function(r) {
613
- switch (r.label) {
614
- case 0: return e = this.props, t = e.filterable, n = e.source, t.refreshOnOpen && t.source ? n && isPureVariable(n) ? (i = resolveVariableAndFilter(n, this.props.superData, "| raw"), this.setState({ filterOptions: this.alterOptions(i) }), [3, 3]) : [3, 1] : [3, 3];
610
+ var e, t, r, i;
611
+ return __generator(this, function(n) {
612
+ switch (n.label) {
613
+ case 0: return e = this.props, t = e.filterable, r = e.source, t.refreshOnOpen && t.source ? r && isPureVariable(r) ? (i = resolveVariableAndFilter(r, this.props.superData, "| raw"), this.setState({ filterOptions: this.alterOptions(i) }), [3, 3]) : [3, 1] : [3, 3];
615
614
  case 1: return [4, this.fetchOptions()];
616
- case 2: r.sent(), r.label = 3;
615
+ case 2: n.sent(), n.label = 3;
617
616
  case 3: return this.setState({ isOpened: !0 }), [2];
618
617
  }
619
618
  });
@@ -622,40 +621,40 @@ var import_xor = /* @__PURE__ */ __toESM(require_xor()), import_react_dom = requ
622
621
  this.setState({ isOpened: !1 });
623
622
  }, t.prototype.handleClick = function(e) {
624
623
  return __awaiter(this, void 0, void 0, function() {
625
- var t, n, i, a, o, s, c;
626
- return __generator(this, function(r) {
627
- switch (r.label) {
628
- case 0: return t = this.props, n = t.onQuery, i = t.name, a = t.data, o = t.dispatchEvent, [4, o("columnFilter", createObject(a, {
624
+ var t, r, i, a, o, s, c;
625
+ return __generator(this, function(n) {
626
+ switch (n.label) {
627
+ case 0: return t = this.props, r = t.onQuery, i = t.name, a = t.data, o = t.dispatchEvent, [4, o("columnFilter", createObject(a, {
629
628
  filterName: i,
630
629
  filterValue: e
631
630
  }))];
632
- case 1: return s = r.sent(), s?.prevented ? [2] : (n((c = {}, c[i] = e, c), !1, !1, !0), this.close(), [2]);
631
+ case 1: return s = n.sent(), s?.prevented ? [2] : (r((c = {}, c[i] = e, c), !1, !1, !0), this.close(), [2]);
633
632
  }
634
633
  });
635
634
  });
636
635
  }, t.prototype.handleCheck = function(e) {
637
636
  return __awaiter(this, void 0, void 0, function() {
638
- var t, n, i, a, o, s, c, l;
639
- return __generator(this, function(r) {
640
- switch (r.label) {
641
- case 0: return t = this.props, n = t.data, i = t.name, a = t.onQuery, o = t.dispatchEvent, s = n[i] && n[i] === e ? "" : n[i] && (0, import_xor.default)(n[i].split(","), [e]).join(",") || e, [4, o("columnFilter", createObject(n, {
637
+ var t, r, i, a, o, s, c, l;
638
+ return __generator(this, function(n) {
639
+ switch (n.label) {
640
+ case 0: return t = this.props, r = t.data, i = t.name, a = t.onQuery, o = t.dispatchEvent, s = r[i] && r[i] === e ? "" : r[i] && (0, import_xor.default)(r[i].split(","), [e]).join(",") || e, [4, o("columnFilter", createObject(r, {
642
641
  filterName: i,
643
642
  filterValue: s
644
643
  }))];
645
- case 1: return c = r.sent(), c?.prevented || a((l = {}, l[i] = s, l)), [2];
644
+ case 1: return c = n.sent(), c?.prevented || a((l = {}, l[i] = s, l)), [2];
646
645
  }
647
646
  });
648
647
  });
649
648
  }, t.prototype.handleReset = function() {
650
649
  return __awaiter(this, void 0, void 0, function() {
651
- var e, t, n, i, a, o, s;
652
- return __generator(this, function(r) {
653
- switch (r.label) {
654
- case 0: return e = this.props, t = e.name, n = e.dispatchEvent, i = e.data, a = e.onQuery, [4, n("columnFilter", createObject(i, {
650
+ var e, t, r, i, a, o, s;
651
+ return __generator(this, function(n) {
652
+ switch (n.label) {
653
+ case 0: return e = this.props, t = e.name, r = e.dispatchEvent, i = e.data, a = e.onQuery, [4, r("columnFilter", createObject(i, {
655
654
  filterName: t,
656
655
  filterValue: void 0
657
656
  }))];
658
- case 1: return o = r.sent(), o?.prevented ? [2] : (a((s = {}, s[t] = void 0, s), !1, !1, !0), this.close(), [2]);
657
+ case 1: return o = n.sent(), o?.prevented ? [2] : (a((s = {}, s[t] = void 0, s), !1, !1, !0), this.close(), [2]);
659
658
  }
660
659
  });
661
660
  });
@@ -722,9 +721,9 @@ var import_xor = /* @__PURE__ */ __toESM(require_xor()), import_react_dom = requ
722
721
  ], t.prototype, "handleSearch", null), t;
723
722
  }(import_react.Component);
724
723
  function HeadCellSearchDropDown(e) {
725
- var t = this, n = e.searchable, i = e.name, a = e.label, o = e.onQuery, c = e.data, l = e.dispatchEvent, f = e.onAction, p = e.classnames, m = e.translate, h = e.classPrefix, g = e.popOverContainer, _ = e.render, v = e.testIdBuilder, y = import_react.createRef(), b = __read(import_react.useMemo(function() {
724
+ var t = this, r = e.searchable, i = e.name, a = e.label, s = e.onQuery, c = e.data, d = e.dispatchEvent, f = e.onAction, p = e.classnames, m = e.translate, h = e.classPrefix, g = e.popOverContainer, _ = e.render, v = e.testIdBuilder, y = import_react.createRef(), b = __read(import_react.useMemo(function() {
726
725
  var e, t = [];
727
- n === !0 ? e = {
726
+ r === !0 ? e = {
728
727
  title: "",
729
728
  body: [{
730
729
  type: "input-text",
@@ -732,21 +731,21 @@ function HeadCellSearchDropDown(e) {
732
731
  placeholder: a,
733
732
  clearable: !0
734
733
  }]
735
- } : n && (e = !n.type && (n.body || n.tabs || n.fieldSet) ? __assign(__assign({ title: "" }, n), { body: Array.isArray(n.body) ? n.body.concat() : void 0 }) : {
734
+ } : r && (e = !r.type && (r.body || r.tabs || r.fieldSet) ? __assign(__assign({ title: "" }, r), { body: Array.isArray(r.body) ? r.body.concat() : void 0 }) : {
736
735
  title: "",
737
- className: n.formClassName,
736
+ className: r.formClassName,
738
737
  body: [__assign({
739
- type: n.type || "input-text",
740
- name: n.name || i,
738
+ type: r.type || "input-text",
739
+ name: r.name || i,
741
740
  placeholder: a
742
- }, n)]
741
+ }, r)]
743
742
  });
744
- function r(e) {
743
+ function n(e) {
745
744
  Array.isArray(e.body) && e.body.forEach(function(e) {
746
- e.name && t.push(e.name), e.extraName && typeof e.extraName == "string" && t.push(e.extraName), r(e);
745
+ e.name && t.push(e.name), e.extraName && typeof e.extraName == "string" && t.push(e.extraName), n(e);
747
746
  });
748
747
  }
749
- return e &&= (r(e), __assign(__assign({}, e), {
748
+ return e &&= (n(e), __assign(__assign({}, e), {
750
749
  type: "form",
751
750
  wrapperComponent: "div",
752
751
  canAccessSuperData: !1,
@@ -769,23 +768,23 @@ function HeadCellSearchDropDown(e) {
769
768
  ]
770
769
  })), [e || "error", t];
771
770
  }, [
772
- n,
771
+ r,
773
772
  i,
774
773
  a
775
- ]), 2), x = b[0], S = b[1], C = __read(import_react.useState(!1), 2), w = C[0], T = C[1], E = import_react.useCallback(function() {
776
- return T(!0);
774
+ ]), 2), x = b[0], S = b[1], C = __read(import_react.useState(!1), 2), w = C[0], E = C[1], D = import_react.useCallback(function() {
775
+ return E(!0);
777
776
  }, []), O = import_react.useCallback(function() {
778
- return T(!1);
777
+ return E(!1);
779
778
  }, []), k = import_react.useCallback(function(e) {
780
779
  return __awaiter(t, void 0, void 0, function() {
781
780
  var t;
782
781
  return __generator(this, function(n) {
783
782
  switch (n.label) {
784
- case 0: return [4, l("columnSearch", createObject(c, {
783
+ case 0: return [4, d("columnSearch", createObject(c, {
785
784
  searchName: i,
786
785
  searchValue: e
787
786
  }))];
788
- case 1: return t = n.sent(), t?.prevented ? [2] : (O(), o(e), [2]);
787
+ case 1: return t = n.sent(), t?.prevented ? [2] : (O(), s(e), [2]);
789
788
  }
790
789
  });
791
790
  });
@@ -803,7 +802,7 @@ function HeadCellSearchDropDown(e) {
803
802
  var e = __assign({}, c);
804
803
  S.forEach(function(t) {
805
804
  return setVariable(e, t, void 0);
806
- }), o(e);
805
+ }), s(e);
807
806
  }, [c]), M = import_react.useMemo(function() {
808
807
  return S.some(function(e) {
809
808
  return c?.[e];
@@ -812,7 +811,7 @@ function HeadCellSearchDropDown(e) {
812
811
  return import_react.createElement("span", __assign({
813
812
  ref: y,
814
813
  className: p(`${h}TableCell-searchBtn`, M ? "is-active" : "", w ? "is-opened" : "")
815
- }, v?.getTestId()), import_react.createElement("span", { onClick: E }, import_react.createElement(Icon, {
814
+ }, v?.getTestId()), import_react.createElement("span", { onClick: D }, import_react.createElement(Icon, {
816
815
  icon: "search",
817
816
  className: "icon"
818
817
  })), w ? import_react.createElement(Overlay, {
@@ -827,7 +826,7 @@ function HeadCellSearchDropDown(e) {
827
826
  }, import_react.createElement(PopOver$1, {
828
827
  classPrefix: h,
829
828
  onHide: O,
830
- className: p(`${h}TableCell-searchPopOver`, n.className),
829
+ className: p(`${h}TableCell-searchPopOver`, r.className),
831
830
  overlay: !0
832
831
  }, _("quick-search-form", x, {
833
832
  popOverContainer: g,
@@ -849,11 +848,11 @@ var TableRow = function(e) {
849
848
  i?.(n, r);
850
849
  }, t.prototype.handleItemClick = function(e) {
851
850
  return __awaiter(this, void 0, void 0, function() {
852
- var t, n, i, a, o, s, c, l, u, d;
853
- return __generator(this, function(r) {
854
- switch (r.label) {
855
- case 0: return isClickOnInput(e) ? [2] : (t = e.nativeEvent?.shiftKey, e.preventDefault(), e.stopPropagation(), n = this.props, i = n.itemAction, a = n.onAction, o = n.item, s = n.itemIndex, c = n.onCheck, l = n.onRowClick, u = n.checkOnItemClick, [4, l?.(o, s)]);
856
- case 1: return d = r.sent(), d?.prevented || (i ? a && a(e, i, o?.locals) : o.checkable && o.isCheckAvaiableOnClick && u && c?.(o, !o.checked, t)), [2];
851
+ var t, r, i, a, o, s, c, l, u, d;
852
+ return __generator(this, function(n) {
853
+ switch (n.label) {
854
+ case 0: return isClickOnInput(e) ? [2] : (t = e.nativeEvent?.shiftKey, e.preventDefault(), e.stopPropagation(), r = this.props, i = r.itemAction, a = r.onAction, o = r.item, s = r.itemIndex, c = r.onCheck, l = r.onRowClick, u = r.checkOnItemClick, [4, l?.(o, s)]);
855
+ case 1: return d = n.sent(), d?.prevented || (i ? a && a(e, i, o?.locals) : o.checkable && o.isCheckAvaiableOnClick && u && c?.(o, !o.checked, t)), [2];
857
856
  }
858
857
  });
859
858
  });
@@ -872,18 +871,18 @@ var TableRow = function(e) {
872
871
  c.length > 1 && (s[c[0]] = __assign({}, a.data[c[0]])), setVariable(s, t, e), o?.(a, s, n, r);
873
872
  }
874
873
  }, t.prototype.render = function() {
875
- var e, t, n = this, r = this.props, a = r.itemClassName, o = r.itemIndex, s = r.item, c = r.columns, l = r.renderCell;
876
- r.children;
877
- var u = r.footableMode, f = r.ignoreFootableContent, p = r.footableColSpan, m = r.regionPrefix, h = r.checkOnItemClick;
878
- r.classPrefix;
879
- var g = r.render, _ = r.classnames, v = r.parent, y = r.itemAction, b = r.onEvent, x = r.expanded;
880
- r.parentExpanded;
881
- var S = r.id, C = r.newIndex, w = r.isHover, T = r.checked, E = r.modified, D = r.moved, O = r.depth, k = r.expandable;
882
- r.checkdisable;
883
- var A = r.trRef;
884
- r.isNested, r.checkable;
885
- var j = r.testIdBuilder, M = r.rowPath, N = __rest(r, /* @__PURE__ */ "itemClassName.itemIndex.item.columns.renderCell.children.footableMode.ignoreFootableContent.footableColSpan.regionPrefix.checkOnItemClick.classPrefix.render.classnames.parent.itemAction.onEvent.expanded.parentExpanded.id.newIndex.isHover.checked.modified.moved.depth.expandable.checkdisable.trRef.isNested.checkable.testIdBuilder.rowPath".split("."));
886
- return u ? x ? import_react.createElement("tr", {
874
+ var e, t, n = this, i = this.props, a = i.itemClassName, o = i.itemIndex, s = i.item, c = i.columns, l = i.renderCell;
875
+ i.children;
876
+ var d = i.footableMode, f = i.ignoreFootableContent, p = i.footableColSpan, m = i.regionPrefix, h = i.checkOnItemClick;
877
+ i.classPrefix;
878
+ var g = i.render, _ = i.classnames, v = i.parent, y = i.itemAction, b = i.onEvent, x = i.expanded;
879
+ i.parentExpanded;
880
+ var S = i.id, C = i.newIndex, w = i.isHover, T = i.checked, E = i.modified, D = i.moved, O = i.depth, k = i.expandable;
881
+ i.checkdisable;
882
+ var A = i.trRef;
883
+ i.isNested, i.checkable;
884
+ var j = i.testIdBuilder, M = i.rowPath, N = __rest(i, /* @__PURE__ */ "itemClassName.itemIndex.item.columns.renderCell.children.footableMode.ignoreFootableContent.footableColSpan.regionPrefix.checkOnItemClick.classPrefix.render.classnames.parent.itemAction.onEvent.expanded.parentExpanded.id.newIndex.isHover.checked.modified.moved.depth.expandable.checkdisable.trRef.isNested.checkable.testIdBuilder.rowPath".split("."));
885
+ return d ? x ? import_react.createElement("tr", {
887
886
  ref: A,
888
887
  "data-id": S,
889
888
  "data-index": C,
@@ -1017,7 +1016,7 @@ var TableRow = function(e) {
1017
1016
  }));
1018
1017
  });
1019
1018
  function VirtualTableBody(e) {
1020
- var t = e.className, n = e.rows, r = e.store, i = e.classPrefix, a = import_react.useRef(null), o = import_react.useRef(null), s = import_react.useRef(null), c = __read(import_react.useState(0), 2), l = c[0], d = c[1], f = import_react.useRef(44), p = import_react.useRef(20), m = 10, h = Math.floor(l / f.current), g = Math.max(0, h - m), _ = import_react.useMemo(function() {
1019
+ var t = e.className, n = e.rows, r = e.store, i = e.classPrefix, a = import_react.useRef(null), o = import_react.useRef(null), s = import_react.useRef(null), c = __read(import_react.useState(0), 2), u = c[0], d = c[1], f = import_react.useRef(44), p = import_react.useRef(20), m = 10, h = Math.floor(u / f.current), g = Math.max(0, h - m), _ = import_react.useMemo(function() {
1021
1020
  return n.slice(g, h + p.current + m);
1022
1021
  }, [
1023
1022
  n,
@@ -1077,9 +1076,9 @@ var VirtualTableBody$1 = themeable(VirtualTableBody), import_flatten = /* @__PUR
1077
1076
  }, t.prototype.renderRows = function(e, t, n, r) {
1078
1077
  var i = this;
1079
1078
  t === void 0 && (t = this.props.columns), n === void 0 && (n = {});
1080
- var a = this.props, o = a.rowClassName, s = a.rowClassNameExpr, c = a.onAction, l = a.buildItemProps, p = a.checkOnItemClick, m = a.classnames, h = a.render, g = a.renderCell, _ = a.onCheck, v = a.onQuickChange, y = a.footable, b = a.ignoreFootableContent, x = a.footableColumns, S = a.itemAction, C = a.onRowClick, w = a.onRowDbClick, T = a.onRowMouseEnter, E = a.onRowMouseLeave, D = a.store;
1079
+ var a = this.props, o = a.rowClassName, s = a.rowClassNameExpr, c = a.onAction, f = a.buildItemProps, p = a.checkOnItemClick, m = a.classnames, h = a.render, g = a.renderCell, _ = a.onCheck, v = a.onQuickChange, y = a.footable, b = a.ignoreFootableContent, x = a.footableColumns, S = a.itemAction, C = a.onRowClick, w = a.onRowDbClick, T = a.onRowMouseEnter, E = a.onRowMouseLeave, D = a.store;
1081
1080
  return e.map(function(a, O) {
1082
- var k = l ? l(a, O) : null, A = `${r ? r + "/" : ""}${O}`, j = [import_react.createElement(TableRow$1, __assign({}, k, {
1081
+ var k = f ? f(a, O) : null, A = `${r ? r + "/" : ""}${O}`, j = [import_react.createElement(TableRow$1, __assign({}, k, {
1083
1082
  testIdBuilder: i.testIdBuilder,
1084
1083
  store: D,
1085
1084
  itemAction: S,
@@ -1127,7 +1126,7 @@ var VirtualTableBody$1 = themeable(VirtualTableBody), import_flatten = /* @__PUR
1127
1126
  }, n, { testIdBuilder: i.testIdBuilder }))) : a.children.length && a.expanded && j.push.apply(j, __spreadArray([], __read(i.renderRows(a.children, t, __assign(__assign({}, n), { parent: a }), A)), !1)), j;
1128
1127
  });
1129
1128
  }, t.prototype.renderSummaryRow = function(e, t, n) {
1130
- var r = this.props, i = r.columns, a = r.render, o = r.data, s = r.classnames, c = r.rows, l = r.prefixRowClassName, f = r.affixRowClassName, p = r.store;
1129
+ var r = this.props, i = r.columns, a = r.render, o = r.data, s = r.classnames, c = r.rows, d = r.prefixRowClassName, f = r.affixRowClassName, p = r.store;
1131
1130
  if (!(Array.isArray(t) && t.length)) return null;
1132
1131
  var m = 0, h = t.map(function(e, t) {
1133
1132
  var n = [m + t];
@@ -1179,17 +1178,17 @@ var VirtualTableBody$1 = themeable(VirtualTableBody), import_flatten = /* @__PUR
1179
1178
  return e.locals;
1180
1179
  }) });
1181
1180
  return import_react.createElement("tr", {
1182
- className: s("Table-table-tr", "is-summary", e === "prefix" ? l : "", e === "affix" ? f : ""),
1181
+ className: s("Table-table-tr", "is-summary", e === "prefix" ? d : "", e === "affix" ? f : ""),
1183
1182
  key: `summary-${e}-${n || 0}`
1184
1183
  }, h.map(function(e, t) {
1185
1184
  var n = e.isHead ? "th" : "td", r = e.firstColumn, i = e.lastColumn, o = __assign({}, e.style);
1186
1185
  e.align && (o.textAlign = e.align), e.vAlign && (o.verticalAlign = e.vAlign);
1187
- var s = __read(p.getStickyStyles(i.fixed === "right" ? i : r, p.filteredColumns, e.colSpan), 2), c = s[0], l = s[1];
1186
+ var s = __read(p.getStickyStyles(i.fixed === "right" ? i : r, p.filteredColumns, e.colSpan), 2), c = s[0], d = s[1];
1188
1187
  return Object.assign(o, c), import_react.createElement(n, {
1189
1188
  key: t,
1190
1189
  colSpan: e.colSpan == 1 ? void 0 : e.colSpan,
1191
1190
  style: o,
1192
- className: (e.cellClassName || "") + " " + l
1191
+ className: (e.cellClassName || "") + " " + d
1193
1192
  }, a(`summary-row/${t}`, e, { data: x }));
1194
1193
  }));
1195
1194
  }, t.prototype.renderSummary = function(e, t) {
@@ -1305,7 +1304,7 @@ var TableContent = function(e) {
1305
1304
  return e !== null && e.apply(this, arguments) || this;
1306
1305
  }
1307
1306
  return t.prototype.render = function() {
1308
- var e = this.props, t = e.placeholder, n = e.classnames, r = e.render, i = e.className, a = e.columns, o = e.columnsGroup, s = e.onMouseMove, c = e.onScroll, l = e.tableRef, d = e.rows, f = e.renderHeadCell, p = e.renderCell, m = e.onCheck, h = e.onRowClick, g = e.onRowDbClick, _ = e.onRowMouseEnter, v = e.onRowMouseLeave, y = e.rowClassName, b = e.onQuickChange, x = e.footable, S = e.footableColumns, C = e.checkOnItemClick, w = e.buildItemProps, T = e.onAction, E = e.rowClassNameExpr, D = e.affixRowClassName, O = e.prefixRowClassName, k = e.data, A = e.prefixRow, j = e.locale, M = e.translate, N = e.itemAction, P = e.affixRow, F = e.store, I = e.dispatchEvent, L = e.onEvent, R = e.loading, z = e.testIdBuilder, B = e.children, V = n("Table-table", this.props.tableClassName), H = a.every(function(e) {
1307
+ var e = this.props, t = e.placeholder, n = e.classnames, r = e.render, i = e.className, a = e.columns, o = e.columnsGroup, s = e.onMouseMove, c = e.onScroll, u = e.tableRef, d = e.rows, f = e.renderHeadCell, p = e.renderCell, m = e.onCheck, h = e.onRowClick, g = e.onRowDbClick, _ = e.onRowMouseEnter, v = e.onRowMouseLeave, y = e.rowClassName, b = e.onQuickChange, x = e.footable, S = e.footableColumns, C = e.checkOnItemClick, w = e.buildItemProps, T = e.onAction, E = e.rowClassNameExpr, D = e.affixRowClassName, O = e.prefixRowClassName, k = e.data, A = e.prefixRow, j = e.locale, M = e.translate, N = e.itemAction, P = e.affixRow, F = e.store, I = e.dispatchEvent, L = e.onEvent, R = e.loading, z = e.testIdBuilder, B = e.children, V = n("Table-table", this.props.tableClassName), Nt = a.every(function(e) {
1309
1308
  return !e.label;
1310
1309
  });
1311
1310
  return import_react.createElement("div", {
@@ -1313,7 +1312,7 @@ var TableContent = function(e) {
1313
1312
  className: n("Table-content", i),
1314
1313
  onScroll: c
1315
1314
  }, import_react.createElement("table", {
1316
- ref: l,
1315
+ ref: u,
1317
1316
  className: n(V)
1318
1317
  }, import_react.createElement(ColGroup$1, {
1319
1318
  columns: a,
@@ -1335,7 +1334,7 @@ var TableContent = function(e) {
1335
1334
  style: i,
1336
1335
  className: a
1337
1336
  }, e.label ? r("tpl", e.label) : null);
1338
- })) : null, import_react.createElement("tr", { className: H ? "fake-hide" : "" }, a.map(function(e) {
1337
+ })) : null, import_react.createElement("tr", { className: Nt ? "fake-hide" : "" }, a.map(function(e) {
1339
1338
  return o.find(function(t) {
1340
1339
  return ~t.has.indexOf(e);
1341
1340
  })?.rowSpan === 2 ? null : f(e, {
@@ -1395,7 +1394,7 @@ var TableContent = function(e) {
1395
1394
  }), import_FileSaver_min = require_FileSaver_min(), import_memoize = /* @__PURE__ */ __toESM(require_memoize());
1396
1395
  init_moment();
1397
1396
  var loadDb = function() {
1398
- return import("./CityDB-De7mzIWs.js");
1397
+ return Promise.resolve({});
1399
1398
  }, getAbsoluteUrl = (function() {
1400
1399
  var e;
1401
1400
  return function(t) {
@@ -1430,19 +1429,19 @@ var loadDb = function() {
1430
1429
  }
1431
1430
  return {};
1432
1431
  }), applyCellStyle = function(e, t, n, r) {
1433
- var i, o, s, c, l = {};
1432
+ var a, o, s, c, l = {};
1434
1433
  if (n.className) try {
1435
- for (var u = __values(n.className.split(/\s+/)), f = u.next(); !f.done; f = u.next()) {
1434
+ for (var d = __values(n.className.split(/\s+/)), f = d.next(); !f.done; f = d.next()) {
1436
1435
  var p = f.value, m = getCellStyleByClassName(p);
1437
1436
  m && (l = __assign(__assign({}, l), m));
1438
1437
  }
1439
1438
  } catch (e) {
1440
- i = { error: e };
1439
+ a = { error: e };
1441
1440
  } finally {
1442
1441
  try {
1443
- f && !f.done && (o = u.return) && o.call(u);
1442
+ f && !f.done && (o = d.return) && o.call(d);
1444
1443
  } finally {
1445
- if (i) throw i.error;
1444
+ if (a) throw a.error;
1446
1445
  }
1447
1446
  }
1448
1447
  if (n.classNameExpr) {
@@ -1464,7 +1463,7 @@ var loadDb = function() {
1464
1463
  }
1465
1464
  l.font && Object.keys(l.font).length > 0 && (e.getCell(t).font = l.font), l.fill && Object.keys(l.fill).length > 0 && (e.getCell(t).fill = l.fill);
1466
1465
  }, renderSummary = function(e, t, n, r) {
1467
- var i, o, s, c;
1466
+ var a, o, s, c;
1468
1467
  if (n && n.length > 0) {
1469
1468
  var l = n[0], u = n;
1470
1469
  Array.isArray(l) || (u = [n]);
@@ -1489,49 +1488,49 @@ var loadDb = function() {
1489
1488
  }
1490
1489
  }
1491
1490
  } catch (e) {
1492
- i = { error: e };
1491
+ a = { error: e };
1493
1492
  } finally {
1494
1493
  try {
1495
1494
  f && !f.done && (o = d.return) && o.call(d);
1496
1495
  } finally {
1497
- if (i) throw i.error;
1496
+ if (a) throw a.error;
1498
1497
  }
1499
1498
  }
1500
1499
  }
1501
1500
  return r;
1502
1501
  };
1503
- function getMap(e, t, n, i, a) {
1502
+ function getMap(e, t, r, i, a) {
1504
1503
  return __awaiter(this, void 0, void 0, function() {
1505
1504
  var o, s, c, l, u;
1506
- return __generator(this, function(r) {
1507
- switch (r.label) {
1508
- case 0: return o = n.pristine.map, s = n.pristine.source, s ? (c = s, isPureVariable(s) ? (o = resolveVariableAndFilter(s, a, "| raw"), [3, 4]) : [3, 1]) : [3, 4];
1505
+ return __generator(this, function(n) {
1506
+ switch (n.label) {
1507
+ case 0: return o = r.pristine.map, s = r.pristine.source, s ? (c = s, isPureVariable(s) ? (o = resolveVariableAndFilter(s, a, "| raw"), [3, 4]) : [3, 1]) : [3, 4];
1509
1508
  case 1: return isEffectiveApi(s, i) ? (l = JSON.stringify(s), l in e ? (o = e[l], [3, 4]) : [3, 2]) : [3, 4];
1510
1509
  case 2: return [4, t.fetcher(c, a)];
1511
- case 3: u = r.sent(), u.data && (e[l] = u.data, o = u.data), r.label = 4;
1510
+ case 3: u = n.sent(), u.data && (e[l] = u.data, o = u.data), n.label = 4;
1512
1511
  case 4: return [2, o];
1513
1512
  }
1514
1513
  });
1515
1514
  });
1516
1515
  }
1517
- function exportExcel(e, t, n, i) {
1518
- return i === void 0 && (i = !1), __awaiter(this, void 0, void 0, function() {
1519
- var o, s, c, l, u, f, p, h, g, _, y, x, S, C, w, T, D, O, A, N, P, F, I, R, z, B, V, H, U, W, G, K, q, J, Y, Ft, X, Z, R, It, Lt, Q, Rt, zt, Bt, Vt, Ht, Ut, Wt, Gt;
1516
+ function exportExcel(e, t, r, a) {
1517
+ return a === void 0 && (a = !1), __awaiter(this, void 0, void 0, function() {
1518
+ var o, s, c, l, d, f, m, h, g, _, v, y, x, S, w, T, E, D, k, A, M, P, F, L, R, z, B, V, H, U, W, G, K, q, J, Ft, Y, X, L, It, Lt, Z, Rt, zt, Bt, Vt, Ht, Ut, Q, Wt;
1520
1519
  return __generator(this, function($) {
1521
1520
  switch ($.label) {
1522
- case 0: return o = t.store, s = t.env, t.classnames, c = t.translate, l = t.data, u = t.prefixRow, f = t.affixRow, p = o.exportColumns || [], h = [], _ = "data", typeof n == "object" && n.api ? (y = n.pageField || "page", x = n.perPageField || "perPage", S = createObject(l, __assign(__assign({}, t.query), (Q = {}, Q[y] = l.page || 1, Q[x] = l.perPage || 10, Q))), [4, s.fetcher(n.api, S, {
1521
+ case 0: return o = t.store, s = t.env, t.classnames, c = t.translate, l = t.data, d = t.prefixRow, f = t.affixRow, m = o.exportColumns || [], h = [], _ = "data", typeof r == "object" && r.api ? (v = r.pageField || "page", y = r.perPageField || "perPage", x = createObject(l, __assign(__assign({}, t.query), (Z = {}, Z[v] = l.page || 1, Z[y] = l.perPage || 10, Z))), [4, s.fetcher(r.api, x, {
1523
1522
  autoAppend: !0,
1524
- pageField: y,
1525
- perPageField: x
1523
+ pageField: v,
1524
+ perPageField: y
1526
1525
  })]) : [3, 2];
1527
1526
  case 1:
1528
- if (C = $.sent(), !C.data) return s.notify("warning", c("placeholder.noData")), [2];
1529
- if (Array.isArray(C.data)) h = C.data;
1530
- else if (Array.isArray(C.data?.rows)) h = C.data.rows;
1531
- else if (Array.isArray(C.data?.items)) h = C.data.items;
1527
+ if (S = $.sent(), !S.data) return s.notify("warning", c("placeholder.noData")), [2];
1528
+ if (Array.isArray(S.data)) h = S.data;
1529
+ else if (Array.isArray(S.data?.rows)) h = S.data.rows;
1530
+ else if (Array.isArray(S.data?.items)) h = S.data.items;
1532
1531
  else try {
1533
- for (w = __values(Object.keys(C.data)), T = w.next(); !T.done; T = w.next()) if (D = T.value, C.data.hasOwnProperty(D) && Array.isArray(C.data[D])) {
1534
- h = C.data[D];
1532
+ for (w = __values(Object.keys(S.data)), T = w.next(); !T.done; T = w.next()) if (E = T.value, S.data.hasOwnProperty(E) && Array.isArray(S.data[E])) {
1533
+ h = S.data[E];
1535
1534
  break;
1536
1535
  }
1537
1536
  } catch (e) {
@@ -1546,43 +1545,43 @@ function exportExcel(e, t, n, i) {
1546
1545
  return g = TableStore.create(getSnapshot(o)), g.initRows(h), h = g.rows, [3, 3];
1547
1546
  case 2: h = o.rows, $.label = 3;
1548
1547
  case 3:
1549
- if (typeof n == "object" && n.filename && (_ = filter(n.filename, l, "| raw")), h.length === 0) return s.notify("warning", c("placeholder.noData")), [2];
1550
- if (O = new e.Workbook(), A = O.addWorksheet("sheet", { properties: { defaultColWidth: 15 } }), A.views = [{
1548
+ if (typeof r == "object" && r.filename && (_ = filter(r.filename, l, "| raw")), h.length === 0) return s.notify("warning", c("placeholder.noData")), [2];
1549
+ if (D = new e.Workbook(), k = D.addWorksheet("sheet", { properties: { defaultColWidth: 15 } }), k.views = [{
1551
1550
  state: "frozen",
1552
1551
  xSplit: 0,
1553
1552
  ySplit: 1
1554
- }], N = n.columns, isPureVariable(N) && (N = resolveVariableAndFilter(N, l, "| raw")), P = n.exportColumns && Array.isArray(n.exportColumns), P) {
1555
- p = n.exportColumns;
1553
+ }], A = r.columns, isPureVariable(A) && (A = resolveVariableAndFilter(A, l, "| raw")), M = r.exportColumns && Array.isArray(r.exportColumns), M) {
1554
+ m = r.exportColumns;
1556
1555
  try {
1557
- for (F = __values(p), I = F.next(); !I.done; I = F.next()) R = I.value, R.pristine = R;
1556
+ for (P = __values(m), F = P.next(); !F.done; F = P.next()) L = F.value, L.pristine = L;
1558
1557
  } catch (e) {
1559
1558
  Bt = { error: e };
1560
1559
  } finally {
1561
1560
  try {
1562
- I && !I.done && (Vt = F.return) && Vt.call(F);
1561
+ F && !F.done && (Vt = P.return) && Vt.call(P);
1563
1562
  } finally {
1564
1563
  if (Bt) throw Bt.error;
1565
1564
  }
1566
1565
  }
1567
1566
  }
1568
- if (z = N ? p.filter(function(e) {
1569
- var t = N;
1570
- return e.name && t.indexOf(e.name) !== -1 ? P ? !0 : e?.type !== "operation" : !1;
1571
- }) : p.filter(function(e) {
1567
+ if (R = A ? m.filter(function(e) {
1568
+ var t = A;
1569
+ return e.name && t.indexOf(e.name) !== -1 ? M ? !0 : e?.type !== "operation" : !1;
1570
+ }) : m.filter(function(e) {
1572
1571
  return e?.type !== "operation";
1573
- }), B = z.map(function(e) {
1572
+ }), z = R.map(function(e) {
1574
1573
  return filter(e.label, l);
1575
- }), V = A.getRow(1), V.values = B, A.autoFilter = {
1574
+ }), B = k.getRow(1), B.values = z, k.autoFilter = {
1576
1575
  from: {
1577
1576
  row: 1,
1578
1577
  column: 1
1579
1578
  },
1580
1579
  to: {
1581
1580
  row: 1,
1582
- column: B.length
1581
+ column: z.length
1583
1582
  }
1584
- }, i) return [2, exportExcelWithoutData(O, A, z, _, s, l)];
1585
- H = {}, U = 1, n.rowSlice && (h = arraySlice(h, n.rowSlice)), U = renderSummary(A, l, u, U), h = flattenTree(h, function(e) {
1583
+ }, a) return [2, exportExcelWithoutData(D, k, R, _, s, l)];
1584
+ V = {}, H = 1, r.rowSlice && (h = arraySlice(h, r.rowSlice)), H = renderSummary(k, l, d, H), h = flattenTree(h, function(e) {
1586
1585
  return e;
1587
1586
  }), $.label = 4;
1588
1587
  case 4: $.trys.push([
@@ -1590,35 +1589,35 @@ function exportExcel(e, t, n, i) {
1590
1589
  15,
1591
1590
  16,
1592
1591
  17
1593
- ]), W = __values(h), G = W.next(), $.label = 5;
1592
+ ]), U = __values(h), W = U.next(), $.label = 5;
1594
1593
  case 5:
1595
- if (G.done) return [3, 14];
1596
- K = G.value, q = createObject(l, K.data), U += 1, J = A.getRow(U), Y = 0, Ft = function(e) {
1597
- var t, n, i, a, o, c, u, d, f, p, h, g, _, y, g, x, S, C, w, T, D, N, P, S, N, F, I, L, R, z, B, V, Pt, W, G;
1598
- return __generator(this, function(r) {
1599
- switch (r.label) {
1594
+ if (W.done) return [3, 14];
1595
+ G = W.value, K = createObject(l, G.data), H += 1, q = k.getRow(H), J = 0, Ft = function(e) {
1596
+ var t, r, i, a, o, c, u, d, f, m, h, g, _, v, g, y, x, S, w, T, E, A, j, x, A, M, P, F, I, L, R, z, B, Pt, U;
1597
+ return __generator(this, function(n) {
1598
+ switch (n.label) {
1600
1599
  case 0:
1601
- if (Y += 1, t = e.name, n = getVariable(q, t), n === void 0 && !e.pristine.tpl) return [2, "continue"];
1602
- if (t in K.rowSpans) {
1603
- if (K.rowSpans[t] === 0) return [2, "continue"];
1604
- A.mergeCells(U, Y, U + K.rowSpans[t] - 1, Y);
1600
+ if (J += 1, t = e.name, r = getVariable(K, t), r === void 0 && !e.pristine.tpl) return [2, "continue"];
1601
+ if (t in G.rowSpans) {
1602
+ if (G.rowSpans[t] === 0) return [2, "continue"];
1603
+ k.mergeCells(H, J, H + G.rowSpans[t] - 1, J);
1605
1604
  }
1606
- if (applyCellStyle(J, Y, e.pristine, q), i = e.type || "plain", !((i === "image" || i === "static-image") && n)) return [3, 6];
1607
- r.label = 1;
1608
- case 1: return r.trys.push([
1605
+ if (applyCellStyle(q, J, e.pristine, K), i = e.type || "plain", !((i === "image" || i === "static-image") && r)) return [3, 6];
1606
+ n.label = 1;
1607
+ case 1: return n.trys.push([
1609
1608
  1,
1610
1609
  4,
1611
1610
  ,
1612
1611
  5
1613
- ]), [4, toDataURL(n)];
1614
- case 2: return a = r.sent(), [4, getImageDimensions(a)];
1615
- case 3: return o = r.sent(), c = o.width, u = o.height, d = 100, c > u ? c > d && (u = d * u / c, c = d) : u > d && (c = d * c / u, u = d), f = a.match(/data:image\/(.*);/), p = "png", f && (p = f[1]), p != "png" && p != "jpeg" && p != "gif" ? (J.getCell(Y).value = n, [2, "continue"]) : (h = O.addImage({
1612
+ ]), [4, toDataURL(r)];
1613
+ case 2: return a = n.sent(), [4, getImageDimensions(a)];
1614
+ case 3: return o = n.sent(), c = o.width, u = o.height, d = 100, c > u ? c > d && (u = d * u / c, c = d) : u > d && (c = d * c / u, u = d), f = a.match(/data:image\/(.*);/), m = "png", f && (m = f[1]), m != "png" && m != "jpeg" && m != "gif" ? (q.getCell(J).value = r, [2, "continue"]) : (h = D.addImage({
1616
1615
  base64: a,
1617
- extension: p
1618
- }), g = getAbsoluteUrl(n), A.addImage(h, {
1616
+ extension: m
1617
+ }), g = getAbsoluteUrl(r), k.addImage(h, {
1619
1618
  tl: {
1620
- col: Y - 1,
1621
- row: U - 1
1619
+ col: J - 1,
1620
+ row: H - 1
1622
1621
  },
1623
1622
  ext: {
1624
1623
  width: c,
@@ -1626,14 +1625,14 @@ function exportExcel(e, t, n, i) {
1626
1625
  },
1627
1626
  hyperlinks: { tooltip: g }
1628
1627
  }), [3, 5]);
1629
- case 4: return _ = r.sent(), console.warn(_), [3, 5];
1628
+ case 4: return _ = n.sent(), console.warn(_), [3, 5];
1630
1629
  case 5: return [3, 13];
1631
- case 6: return i == "link" || i === "static-link" ? (y = e.pristine.href, g = (typeof y == "string" && y ? filter(y, q, "| raw") : void 0) || n, x = e.pristine.body, S = typeof x == "string" && x ? filter(x, q, "| raw") : void 0, C = getAbsoluteUrl(g), J.getCell(Y).value = {
1632
- text: S || C,
1633
- hyperlink: C
1630
+ case 6: return i == "link" || i === "static-link" ? (v = e.pristine.href, g = (typeof v == "string" && v ? filter(v, K, "| raw") : void 0) || r, y = e.pristine.body, x = typeof y == "string" && y ? filter(y, K, "| raw") : void 0, S = getAbsoluteUrl(g), q.getCell(J).value = {
1631
+ text: x || S,
1632
+ hyperlink: S
1634
1633
  }, [3, 13]) : [3, 7];
1635
- case 7: return i === "mapping" || i === "static-mapping" ? [4, getMap(H, s, e, l, q)] : [3, 9];
1636
- case 8: return w = r.sent(), T = e.pristine.valueField || "value", D = e.pristine.labelField || "label", Array.isArray(w) && (w = w.reduce(function(e, t) {
1634
+ case 7: return i === "mapping" || i === "static-mapping" ? [4, getMap(V, s, e, l, K)] : [3, 9];
1635
+ case 8: return w = n.sent(), T = e.pristine.valueField || "value", E = e.pristine.labelField || "label", Array.isArray(w) && (w = w.reduce(function(e, t) {
1637
1636
  if (t == null) return e;
1638
1637
  if (isObject(t)) {
1639
1638
  var n = Object.keys(t);
@@ -1642,12 +1641,12 @@ function exportExcel(e, t, n, i) {
1642
1641
  }), e[n[0]] = t[n[0]]) : n.length > 1 && (e[t[T]] = t);
1643
1642
  }
1644
1643
  return e;
1645
- }, {})), n !== void 0 && w && (w[n] ?? w["*"]) ? (N = w[n] ?? (n === !0 && w[1] ? w[1] : n === !1 && w[0] ? w[0] : w["*"]), P = N, isObject(N) && (D === void 0 || D === "" ? N.hasOwnProperty("type") || (P = N.label) : P = N[D || "label"]), S = removeHTMLTag(P), S = isPureVariable(S) ? resolveVariableAndFilter(S, q, "| raw") : filter(S, q), J.getCell(Y).value = S) : J.getCell(Y).value = removeHTMLTag(n), [3, 13];
1646
- case 9: return i === "date" || i === "static-date" ? (N = void 0, F = e.pristine, I = F.fromNow, L = F.format, R = L === void 0 ? "YYYY-MM-DD" : L, z = F.valueFormat, B = z === void 0 ? "X" : z, n && (V = moment_default(n, moment_default.ISO_8601), Pt = moment_default(n, B), N = V.isValid() ? V.format(R) : Pt.isValid() ? Pt.format(R) : !1), I && (N = moment_default(n).fromNow()), N && (J.getCell(Y).value = N), [3, 13]) : [3, 10];
1644
+ }, {})), r !== void 0 && w && (w[r] ?? w["*"]) ? (A = w[r] ?? (r === !0 && w[1] ? w[1] : r === !1 && w[0] ? w[0] : w["*"]), j = A, isObject(A) && (E === void 0 || E === "" ? A.hasOwnProperty("type") || (j = A.label) : j = A[E || "label"]), x = removeHTMLTag(j), x = isPureVariable(x) ? resolveVariableAndFilter(x, K, "| raw") : filter(x, K), q.getCell(J).value = x) : q.getCell(J).value = removeHTMLTag(r), [3, 13];
1645
+ case 9: return i === "date" || i === "static-date" ? (A = void 0, M = e.pristine, P = M.fromNow, F = M.format, I = F === void 0 ? "YYYY-MM-DD" : F, L = M.valueFormat, R = L === void 0 ? "X" : L, r && (z = moment_default(r, moment_default.ISO_8601), B = moment_default(r, R), A = z.isValid() ? z.format(I) : B.isValid() ? B.format(I) : !1), P && (A = moment_default(r).fromNow()), A && (q.getCell(J).value = A), [3, 13]) : [3, 10];
1647
1646
  case 10: return i === "input-city" ? [4, loadDb()] : [3, 12];
1648
- case 11: return W = r.sent(), W.default && n && n in W.default && (J.getCell(Y).value = W.default[n]), [3, 13];
1649
- case 12: e.pristine.tpl ? J.getCell(Y).value = removeHTMLTag(decodeEntity(filter(e.pristine.tpl, q))) : J.getCell(Y).value = n, r.label = 13;
1650
- case 13: return G = J.getCell(Y).value, Number.isInteger(G) && (J.getCell(Y).numFmt = "0"), [2];
1647
+ case 11: return Pt = n.sent(), Pt.default && r && r in Pt.default && (q.getCell(J).value = Pt.default[r]), [3, 13];
1648
+ case 12: e.pristine.tpl ? q.getCell(J).value = removeHTMLTag(decodeEntity(filter(e.pristine.tpl, K))) : q.getCell(J).value = r, n.label = 13;
1649
+ case 13: return U = q.getCell(J).value, Number.isInteger(U) && (q.getCell(J).numFmt = "0"), [2];
1651
1650
  }
1652
1651
  });
1653
1652
  }, $.label = 6;
@@ -1656,41 +1655,41 @@ function exportExcel(e, t, n, i) {
1656
1655
  11,
1657
1656
  12,
1658
1657
  13
1659
- ]), X = (Wt = void 0, __values(z)), Z = X.next(), $.label = 7;
1660
- case 7: return Z.done ? [3, 10] : (R = Z.value, [5, Ft(R)]);
1658
+ ]), Y = (Q = void 0, __values(R)), X = Y.next(), $.label = 7;
1659
+ case 7: return X.done ? [3, 10] : (L = X.value, [5, Ft(L)]);
1661
1660
  case 8: $.sent(), $.label = 9;
1662
- case 9: return Z = X.next(), [3, 7];
1661
+ case 9: return X = Y.next(), [3, 7];
1663
1662
  case 10: return [3, 13];
1664
- case 11: return It = $.sent(), Wt = { error: It }, [3, 13];
1663
+ case 11: return It = $.sent(), Q = { error: It }, [3, 13];
1665
1664
  case 12:
1666
1665
  try {
1667
- Z && !Z.done && (Gt = X.return) && Gt.call(X);
1666
+ X && !X.done && (Wt = Y.return) && Wt.call(Y);
1668
1667
  } finally {
1669
- if (Wt) throw Wt.error;
1668
+ if (Q) throw Q.error;
1670
1669
  }
1671
1670
  return [7];
1672
- case 13: return G = W.next(), [3, 5];
1671
+ case 13: return W = U.next(), [3, 5];
1673
1672
  case 14: return [3, 17];
1674
1673
  case 15: return Lt = $.sent(), Ht = { error: Lt }, [3, 17];
1675
1674
  case 16:
1676
1675
  try {
1677
- G && !G.done && (Ut = W.return) && Ut.call(W);
1676
+ W && !W.done && (Ut = U.return) && Ut.call(U);
1678
1677
  } finally {
1679
1678
  if (Ht) throw Ht.error;
1680
1679
  }
1681
1680
  return [7];
1682
- case 17: return renderSummary(A, l, f, U), downloadFile(O, _), [2];
1681
+ case 17: return renderSummary(k, l, f, H), downloadFile(D, _), [2];
1683
1682
  }
1684
1683
  });
1685
1684
  });
1686
1685
  }
1687
1686
  function downloadFile(e, t) {
1688
1687
  return __awaiter(this, void 0, void 0, function() {
1689
- var n, i;
1690
- return __generator(this, function(r) {
1691
- switch (r.label) {
1688
+ var r, i;
1689
+ return __generator(this, function(n) {
1690
+ switch (n.label) {
1692
1691
  case 0: return [4, e.xlsx.writeBuffer()];
1693
- case 1: return n = r.sent(), n && (i = new Blob([n], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), (0, import_FileSaver_min.saveAs)(i, t + ".xlsx")), [2];
1692
+ case 1: return r = n.sent(), r && (i = new Blob([r], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), (0, import_FileSaver_min.saveAs)(i, t + ".xlsx")), [2];
1694
1693
  }
1695
1694
  });
1696
1695
  });
@@ -1699,29 +1698,29 @@ function numberToLetters(e) {
1699
1698
  for (var t = ""; e >= 0;) t = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[e % 26] + t, e = Math.floor(e / 26) - 1;
1700
1699
  return t;
1701
1700
  }
1702
- function exportExcelWithoutData(e, t, n, i, o, c) {
1701
+ function exportExcelWithoutData(e, t, r, a, s, c) {
1703
1702
  return __awaiter(this, void 0, void 0, function() {
1704
- var s, l, u, d, f, p, m, h, g, _, v, y;
1705
- return __generator(this, function(r) {
1706
- switch (r.label) {
1707
- case 0: s = 0, l = 100, u = {}, r.label = 1;
1708
- case 1: r.trys.push([
1703
+ var o, l, u, d, f, p, m, h, g, _, v, y;
1704
+ return __generator(this, function(n) {
1705
+ switch (n.label) {
1706
+ case 0: o = 0, l = 100, u = {}, n.label = 1;
1707
+ case 1: n.trys.push([
1709
1708
  1,
1710
1709
  6,
1711
1710
  7,
1712
1711
  8
1713
- ]), d = __values(n), f = d.next(), r.label = 2;
1714
- case 2: return f.done ? [3, 5] : (p = f.value, s += 1, p.pristine?.type === "mapping" ? [4, getMap(u, o, p, c, {})] : [3, 4]);
1712
+ ]), d = __values(r), f = d.next(), n.label = 2;
1713
+ case 2: return f.done ? [3, 5] : (p = f.value, o += 1, p.pristine?.type === "mapping" ? [4, getMap(u, s, p, c, {})] : [3, 4]);
1715
1714
  case 3:
1716
- if (m = r.sent(), m && isObject(m)) for (h = Object.keys(m), g = 1; g < l; g++) t.getCell(numberToLetters(s) + g).dataValidation = {
1715
+ if (m = n.sent(), m && isObject(m)) for (h = Object.keys(m), g = 1; g < l; g++) t.getCell(numberToLetters(o) + g).dataValidation = {
1717
1716
  type: "list",
1718
1717
  allowBlank: !0,
1719
1718
  formulae: [`"${h.join(",")}"`]
1720
1719
  };
1721
- r.label = 4;
1720
+ n.label = 4;
1722
1721
  case 4: return f = d.next(), [3, 2];
1723
1722
  case 5: return [3, 8];
1724
- case 6: return _ = r.sent(), v = { error: _ }, [3, 8];
1723
+ case 6: return _ = n.sent(), v = { error: _ }, [3, 8];
1725
1724
  case 7:
1726
1725
  try {
1727
1726
  f && !f.done && (y = d.return) && y.call(d);
@@ -1729,18 +1728,18 @@ function exportExcelWithoutData(e, t, n, i, o, c) {
1729
1728
  if (v) throw v.error;
1730
1729
  }
1731
1730
  return [7];
1732
- case 8: return downloadFile(e, i), [2];
1731
+ case 8: return downloadFile(e, a), [2];
1733
1732
  }
1734
1733
  });
1735
1734
  });
1736
1735
  }
1737
1736
  function AutoFilterForm(e) {
1738
- var t = e.autoGenerateFilter, n = e.searchFormExpanded, r = e.activedSearchableColumns, i = e.searchableColumns, a = e.onItemToggleExpanded, o = e.onToggleExpanded, s = e.classnames, c = e.translate, l = e.render, u = e.data, f = e.onSearchableFromReset, p = e.onSearchableFromSubmit, m = e.onSearchableFromInit, h = e.popOverContainer, g = e.testIdBuilder, _ = e.canAccessSuperData;
1737
+ var t = e.autoGenerateFilter, n = e.searchFormExpanded, r = e.activedSearchableColumns, i = e.searchableColumns, a = e.onItemToggleExpanded, o = e.onToggleExpanded, s = e.classnames, c = e.translate, l = e.render, d = e.data, f = e.onSearchableFromReset, p = e.onSearchableFromSubmit, m = e.onSearchableFromInit, h = e.popOverContainer, g = e.testIdBuilder, _ = e.canAccessSuperData;
1739
1738
  return l("searchable-form", import_react.useMemo(function() {
1740
1739
  var e = typeof t == "boolean" ? {
1741
1740
  columnsNum: 3,
1742
1741
  showBtnToolbar: !0
1743
- } : t, l = e.columnsNum, u = e.showBtnToolbar, f = padArr(r, l).map(function(e) {
1742
+ } : t, l = e.columnsNum, d = e.showBtnToolbar, f = padArr(r, l).map(function(e) {
1744
1743
  return {
1745
1744
  type: "group",
1746
1745
  body: e.map(function(e) {
@@ -1784,7 +1783,7 @@ function AutoFilterForm(e) {
1784
1783
  trigger: "click",
1785
1784
  size: "sm",
1786
1785
  align: "right",
1787
- visible: u,
1786
+ visible: d,
1788
1787
  testIdBuilder: v,
1789
1788
  buttons: i.map(function(e) {
1790
1789
  return { children: function(t) {
@@ -1859,12 +1858,12 @@ function AutoFilterForm(e) {
1859
1858
  onSubmit: p,
1860
1859
  onInit: m,
1861
1860
  formStore: void 0,
1862
- data: u,
1861
+ data: d,
1863
1862
  popOverContainer: h
1864
1863
  });
1865
1864
  }
1866
1865
  var AutoFilterForm$1 = observer$1(function(e) {
1867
- var t = e.store, n = e.query, r = e.data, a = __rest(e, [
1866
+ var t = e.store, n = e.query, i = e.data, a = __rest(e, [
1868
1867
  "store",
1869
1868
  "query",
1870
1869
  "data"
@@ -1873,8 +1872,8 @@ var AutoFilterForm$1 = observer$1(function(e) {
1873
1872
  }, []), s = import_react.useCallback(function() {
1874
1873
  t.toggleSearchFormExpanded();
1875
1874
  }, []), c = import_react.useMemo(function() {
1876
- return n ? createObject(r, n) : r;
1877
- }, [n, r]);
1875
+ return n ? createObject(i, n) : i;
1876
+ }, [n, i]);
1878
1877
  return import_react.createElement(AutoFilterForm, __assign({}, a, {
1879
1878
  activedSearchableColumns: t.activedSearchableColumns,
1880
1879
  searchableColumns: t.searchableColumns,
@@ -1885,14 +1884,14 @@ var AutoFilterForm$1 = observer$1(function(e) {
1885
1884
  }));
1886
1885
  });
1887
1886
  function Cell(e) {
1888
- var t = e.region, n = e.column, r = e.item, i = e.props, a = e.ignoreDrag, o = e.render, s = e.filterItemIndex, c = e.store, l = e.multiple, f = e.itemBadge, p = e.classnames, m = e.classPrefix, h = e.canAccessSuperData, g = e.onCheck, _ = e.onDragStart, v = e.popOverContainer, y = e.quickEditFormRef, b = e.onImageEnlarge, x = e.translate, S = e.testIdBuilder, C = e.offset;
1887
+ var t = e.region, n = e.column, r = e.item, i = e.props, a = e.ignoreDrag, o = e.render, s = e.filterItemIndex, c = e.store, d = e.multiple, f = e.itemBadge, p = e.classnames, m = e.classPrefix, h = e.canAccessSuperData, g = e.onCheck, _ = e.onDragStart, v = e.popOverContainer, y = e.quickEditFormRef, b = e.onImageEnlarge, x = e.translate, S = e.testIdBuilder, C = e.offset;
1889
1888
  if (n.name && r.rowSpans[n.name] === 0) return null;
1890
1889
  var w = __read(import_react.useMemo(function() {
1891
1890
  var e = __assign({}, n.pristine.style), t = __read(c.getStickyStyles(n, c.filteredColumns), 2), r = t[0], i = t[1];
1892
1891
  return [Object.assign(e, r), i];
1893
- }, []), 2), E = w[0], D = w[1], O = import_react.useCallback(function(e, t) {
1892
+ }, []), 2), T = w[0], E = w[1], D = import_react.useCallback(function(e, t) {
1894
1893
  g?.(r, e, t);
1895
- }, []), k = __read(import_react.useMemo(function() {
1894
+ }, []), O = __read(import_react.useMemo(function() {
1896
1895
  var e = [], t = [], i = "";
1897
1896
  return n.isPrimary && c.isNested && (i = "Table-primayCell", e.push(import_react.createElement("span", {
1898
1897
  key: "indent",
@@ -1940,7 +1939,7 @@ function Cell(e) {
1940
1939
  r.loading,
1941
1940
  n.isPrimary,
1942
1941
  c.isNested
1943
- ]), 3), A = k[0], j = k[1], M = k[2], N = n.pristine.trackExpression !== void 0, P = N ? n.pristine.trackExpression : import_react.useMemo(function() {
1942
+ ]), 3), k = O[0], A = O[1], j = O[2], N = n.pristine.trackExpression !== void 0, P = N ? n.pristine.trackExpression : import_react.useMemo(function() {
1944
1943
  return buildTrackExpression(n.pristine);
1945
1944
  }, []), F = import_react.useMemo(function() {
1946
1945
  return r.locals;
@@ -1951,38 +1950,38 @@ function Cell(e) {
1951
1950
  popOverContainer: v,
1952
1951
  rowSpan: r.rowSpans[n.name],
1953
1952
  quickEditFormRef: y,
1954
- cellPrefix: A,
1955
- cellAffix: j,
1953
+ cellPrefix: k,
1954
+ cellAffix: A,
1956
1955
  onImageEnlarge: b,
1957
1956
  canAccessSuperData: I,
1958
1957
  row: r,
1959
1958
  itemBadge: f,
1960
1959
  showBadge: !i.isHead && f && c.firstToggledColumnIndex === i.colIndex,
1961
1960
  onQuery: void 0,
1962
- style: E,
1963
- className: p(n.pristine.className, D, M),
1961
+ style: T,
1962
+ className: p(n.pristine.className, E, j),
1964
1963
  testIdBuilder: S?.getChild(n.name || n.value)
1965
1964
  });
1966
1965
  return delete L.label, n.type === "__checkme" ? import_react.createElement("td", __assign({
1967
- style: E,
1968
- className: p(n.pristine.className, D)
1966
+ style: T,
1967
+ className: p(n.pristine.className, E)
1969
1968
  }, S?.getTestId()), import_react.createElement(Checkbox$1, {
1970
1969
  classPrefix: m,
1971
- type: l ? "checkbox" : "radio",
1972
- partial: l ? r.partial : !1,
1973
- checked: r.checked || (l ? r.partial : !1),
1970
+ type: d ? "checkbox" : "radio",
1971
+ partial: d ? r.partial : !1,
1972
+ checked: r.checked || (d ? r.partial : !1),
1974
1973
  disabled: r.checkdisable || !r.checkable,
1975
- onChange: O,
1974
+ onChange: D,
1976
1975
  testIdBuilder: S?.getChild("chekbx")
1977
1976
  })) : n.type === "__dragme" ? import_react.createElement("td", __assign({
1978
- style: E,
1979
- className: p(n.pristine.className, D, { "is-dragDisabled": !r.draggable })
1977
+ style: T,
1978
+ className: p(n.pristine.className, E, { "is-dragDisabled": !r.draggable })
1980
1979
  }, S?.getChild("drag").getTestId()), r.draggable ? import_react.createElement(Icon, {
1981
1980
  icon: "drag",
1982
1981
  className: "icon"
1983
1982
  }) : null) : n.type === "__expandme" ? import_react.createElement("td", {
1984
- style: E,
1985
- className: p(n.pristine.className, D)
1983
+ style: T,
1984
+ className: p(n.pristine.className, E)
1986
1985
  }, r.expandable ? import_react.createElement("a", __assign({
1987
1986
  className: p("Table-expandBtn", r.expanded ? "is-active" : ""),
1988
1987
  onClick: r.toggleExpanded
@@ -1990,8 +1989,8 @@ function Cell(e) {
1990
1989
  icon: "right-arrow-bold",
1991
1990
  className: "icon"
1992
1991
  })) : null) : n.type === "__index" ? import_react.createElement("td", {
1993
- style: E,
1994
- className: p(n.pristine.className, D)
1992
+ style: T,
1993
+ className: p(n.pristine.className, E)
1995
1994
  }, `${s ? s(r.path, r) : r.path}`.split(".").map(function(e) {
1996
1995
  return parseInt(e, 10) + 1 + (C || 0);
1997
1996
  }).join(".")) : o(t, __assign(__assign({}, n.pristine), {
@@ -2016,10 +2015,10 @@ var VCell = observer(function(e) {
2016
2015
  style: e.style,
2017
2016
  className: e.className
2018
2017
  }, import_react.createElement("div", { className: t("Table-emptyBlock") }, "\xA0"));
2019
- }), import_isEqual = /* @__PURE__ */ __toESM(require_isEqual()), import_find = /* @__PURE__ */ __toESM(require_find()), import_debounce = /* @__PURE__ */ __toESM(require_debounce()), import_intersection = /* @__PURE__ */ __toESM(require_intersection()), import_isPlainObject = /* @__PURE__ */ __toESM(require_isPlainObject()), Table = function(t) {
2020
- __extends(n, t);
2021
- function n(e, r) {
2022
- var i = t.call(this, e) || this;
2018
+ }), import_isEqual = /* @__PURE__ */ __toESM(require_isEqual()), import_find = /* @__PURE__ */ __toESM(require_find()), import_debounce = /* @__PURE__ */ __toESM(require_debounce()), import_intersection = /* @__PURE__ */ __toESM(require_intersection()), import_isPlainObject = /* @__PURE__ */ __toESM(require_isPlainObject()), Table = function(e) {
2019
+ __extends(t, e);
2020
+ function t(n, r) {
2021
+ var i = e.call(this, n) || this;
2023
2022
  i.dom = import_react.createRef(), i.renderedToolbars = [], i.subForms = {}, i.toDispose = [], i.updateTableInfoLazy = (0, import_debounce.default)(i.updateTableInfo.bind(i), 250, {
2024
2023
  trailing: !0,
2025
2024
  leading: !1
@@ -2027,10 +2026,10 @@ var VCell = observer(function(e) {
2027
2026
  trailing: !0,
2028
2027
  leading: !1
2029
2028
  }), r.registerComponent(i), i.handleOutterScroll = i.handleOutterScroll.bind(i), i.tableRef = i.tableRef.bind(i), i.affixedTableRef = i.affixedTableRef.bind(i), i.updateTableInfo = i.updateTableInfo.bind(i), i.handleAction = i.handleAction.bind(i), i.handleCheck = i.handleCheck.bind(i), i.handleCheckAll = i.handleCheckAll.bind(i), i.handleQuickChange = i.handleQuickChange.bind(i), i.handleSave = i.handleSave.bind(i), i.handleSaveOrder = i.handleSaveOrder.bind(i), i.reset = i.reset.bind(i), i.dragTipRef = i.dragTipRef.bind(i), i.getPopOverContainer = i.getPopOverContainer.bind(i), i.renderCell = i.renderCell.bind(i), i.renderHeadCell = i.renderHeadCell.bind(i), i.renderToolbar = i.renderToolbar.bind(i), i.handleMouseMove = i.handleMouseMove.bind(i), i.handleMouseLeave = i.handleMouseLeave.bind(i), i.subFormRef = i.subFormRef.bind(i), i.handleColumnToggle = i.handleColumnToggle.bind(i), i.handleRowClick = i.handleRowClick.bind(i), i.handleRowDbClick = i.handleRowDbClick.bind(i), i.handleRowMouseEnter = i.handleRowMouseEnter.bind(i), i.handleRowMouseLeave = i.handleRowMouseLeave.bind(i), i.updateAutoFillHeight = i.updateAutoFillHeight.bind(i);
2030
- var a = e.store, o = e.columns, s = e.selectable, c = e.columnsTogglable, l = e.draggable, u = e.orderBy, d = e.orderDir, f = e.multiple, p = e.footable, m = e.primaryField, h = e.itemCheckableOn, g = e.itemDraggableOn, _ = e.hideCheckToggler, v = e.combineFromIndex, y = e.expandConfig, b = e.formItem, x = e.keepItemSelectionOnPageChange, S = e.maxKeepItemSelectionLength, C = e.maxItemSelectionLength, w = e.onQuery, T = e.autoGenerateFilter, E = e.loading, D = e.canAccessSuperData, O = e.lazyRenderAfter, A = e.tableLayout, j = e.resolveDefinitions, M = e.showIndex, N = e.persistKey;
2031
- e.useVirtualList;
2032
- var P = e.combineNum;
2033
- return typeof P == "string" && (P = parseInt(resolveVariableAndFilter(P, e.data, "| raw"), 10)), a.update({
2029
+ var a = n.store, o = n.columns, s = n.selectable, c = n.columnsTogglable, l = n.draggable, u = n.orderBy, d = n.orderDir, f = n.multiple, p = n.footable, m = n.primaryField, h = n.itemCheckableOn, g = n.itemDraggableOn, _ = n.hideCheckToggler, v = n.combineFromIndex, y = n.expandConfig, b = n.formItem, x = n.keepItemSelectionOnPageChange, S = n.maxKeepItemSelectionLength, C = n.maxItemSelectionLength, w = n.onQuery, T = n.autoGenerateFilter, E = n.loading, D = n.canAccessSuperData, k = n.lazyRenderAfter, A = n.tableLayout, j = n.resolveDefinitions, M = n.showIndex, N = n.persistKey;
2030
+ n.useVirtualList;
2031
+ var P = n.combineNum;
2032
+ return typeof P == "string" && (P = parseInt(resolveVariableAndFilter(P, n.data, "| raw"), 10)), a.update({
2034
2033
  selectable: s,
2035
2034
  draggable: l,
2036
2035
  columns: o,
@@ -2051,11 +2050,11 @@ var VCell = observer(function(e) {
2051
2050
  maxItemSelectionLength: C,
2052
2051
  loading: E,
2053
2052
  canAccessSuperData: D,
2054
- lazyRenderAfter: O,
2053
+ lazyRenderAfter: k,
2055
2054
  tableLayout: A,
2056
2055
  showIndex: M,
2057
2056
  persistKey: N
2058
- }, { resolveDefinitions: j }), (0, import_isPlainObject.default)(T) && T.defaultCollapsed === !1 && a.setSearchFormExpanded(!0), b && isAlive(b) && b.setSubStore(a), n.syncRows(a, i.props, void 0) && i.syncSelected(), i.toDispose.push(reaction(function() {
2057
+ }, { resolveDefinitions: j }), (0, import_isPlainObject.default)(T) && T.defaultCollapsed === !1 && a.setSearchFormExpanded(!0), b && isAlive(b) && b.setSubStore(a), t.syncRows(a, i.props, void 0) && i.syncSelected(), i.toDispose.push(reaction(function() {
2059
2058
  return a.getExpandedRows().filter(function(e) {
2060
2059
  return e.defer && !e.loaded && !e.loading && !e.error;
2061
2060
  });
@@ -2063,7 +2062,7 @@ var VCell = observer(function(e) {
2063
2062
  return e.forEach(i.loadDeferredRow);
2064
2063
  })), i;
2065
2064
  }
2066
- return n.syncRows = function(e, t, n, r) {
2065
+ return t.syncRows = function(e, t, n, r) {
2067
2066
  r === void 0 && (r = !1);
2068
2067
  var i = t.source, a = getPropValue(t, function(e) {
2069
2068
  return e.items;
@@ -2076,38 +2075,38 @@ var VCell = observer(function(e) {
2076
2075
  l === c || loopTooMuch(`Table.syncRows${e.id}`) && (0, import_isEqual.default)(l, c) ? s = !1 : (s = !0, o = Array.isArray(c) ? c : []);
2077
2076
  }
2078
2077
  return s ? e.initRows(o, t.getEntryId, t.reUseRow, t.fullItems, t.selected) : t.reUseRow === !1 && (s = !0, e.initRows(a, t.getEntryId, t.reUseRow, t.fullItems, t.selected)), Array.isArray(t.selected) && e.updateSelected(t.selected, t.valueField), s;
2079
- }, n.prototype.componentDidMount = function() {
2078
+ }, t.prototype.componentDidMount = function() {
2080
2079
  var e = this.dom.current;
2081
2080
  this.initAutoFillHeight(), this.toDispose.push(resizeSensor(e, this.updateTableInfoLazy, !1, "width")), this.table;
2082
2081
  var t = this.props, n = t.store, r = t.autoGenerateFilter, i = t.onSearchableFromInit;
2083
2082
  r && !n.searchableColumns.length && i && i({});
2084
- }, n.prototype.loadDeferredRow = function(e) {
2083
+ }, t.prototype.loadDeferredRow = function(e) {
2085
2084
  return __awaiter(this, void 0, void 0, function() {
2086
- var t, n, i, a;
2087
- return __generator(this, function(r) {
2088
- switch (r.label) {
2085
+ var t, r, i, a;
2086
+ return __generator(this, function(n) {
2087
+ switch (n.label) {
2089
2088
  case 0:
2090
- if (t = this.props.env, n = e.data.deferApi || this.props.deferApi, !isEffectiveApi(n)) throw Error("deferApi is required");
2091
- r.label = 1;
2092
- case 1: return r.trys.push([
2089
+ if (t = this.props.env, r = e.data.deferApi || this.props.deferApi, !isEffectiveApi(r)) throw Error("deferApi is required");
2090
+ n.label = 1;
2091
+ case 1: return n.trys.push([
2093
2092
  1,
2094
2093
  3,
2095
2094
  4,
2096
2095
  5
2097
- ]), e.markLoading(!0), [4, t.fetcher(n, e.locals)];
2096
+ ]), e.markLoading(!0), [4, t.fetcher(r, e.locals)];
2098
2097
  case 2:
2099
- if (i = r.sent(), !i.ok) throw Error(i.msg);
2098
+ if (i = n.sent(), !i.ok) throw Error(i.msg);
2100
2099
  return e.updateData(i.data), e.markLoaded(!0), e.setError(""), [3, 5];
2101
- case 3: return a = r.sent(), e.setError(a.message), t.notify("error", a.message), [3, 5];
2100
+ case 3: return a = n.sent(), e.setError(a.message), t.notify("error", a.message), [3, 5];
2102
2101
  case 4: return e.markLoading(!1), [7];
2103
2102
  case 5: return [2];
2104
2103
  }
2105
2104
  });
2106
2105
  });
2107
- }, n.prototype.initAutoFillHeight = function() {
2106
+ }, t.prototype.initAutoFillHeight = function() {
2108
2107
  var e = this.props, t = this.dom.current;
2109
2108
  e.autoFillHeight && (this.autoFillHeightDispose = resizeSensor(t.parentElement, this.updateAutoFillHeightLazy, !1, "height"), this.toDispose.push(this.autoFillHeightDispose), this.autoFillHeightDispose2 = resizeSensor(document.body, this.updateAutoFillHeight, !1, "height"), this.toDispose.push(this.autoFillHeightDispose2), this.updateAutoFillHeight());
2110
- }, n.prototype.updateAutoFillHeight = function() {
2109
+ }, t.prototype.updateAutoFillHeight = function() {
2111
2110
  var e = this, t = this.props, n = t.autoFillHeight;
2112
2111
  if (t.footerToolbar, t.classPrefix, n) {
2113
2112
  var r = this.table.parentElement;
@@ -2136,8 +2135,8 @@ var VCell = observer(function(e) {
2136
2135
  r.style[v] = b, r.style.setProperty(`--Table-content-${v}`, b);
2137
2136
  }
2138
2137
  }
2139
- }, n.prototype.componentDidUpdate = function(e) {
2140
- var t = this, r = this.props, i = r.store, a = !1;
2138
+ }, t.prototype.componentDidUpdate = function(e) {
2139
+ var n = this, r = this.props, i = r.store, a = !1;
2141
2140
  if (changedEffect([
2142
2141
  "selectable",
2143
2142
  "columnsTogglable",
@@ -2166,7 +2165,7 @@ var VCell = observer(function(e) {
2166
2165
  "source",
2167
2166
  "value",
2168
2167
  "items"
2169
- ], e, r) || !r.value && !r.items && (r.data !== e.data || typeof r.source == "string" && isPureVariable(r.source))) n.syncRows(i, r, e, a) && this.syncSelected();
2168
+ ], e, r) || !r.value && !r.items && (r.data !== e.data || typeof r.source == "string" && isPureVariable(r.source))) t.syncRows(i, r, e, a) && this.syncSelected();
2170
2169
  else if (isArrayChildrenModified(e.selected, r.selected)) {
2171
2170
  var o = i.selectedRows.map(function(e) {
2172
2171
  return e.id;
@@ -2178,40 +2177,40 @@ var VCell = observer(function(e) {
2178
2177
  if (r.autoFillHeight !== e.autoFillHeight) {
2179
2178
  if (this.autoFillHeightDispose) {
2180
2179
  this.toDispose = this.toDispose.filter(function(e) {
2181
- return ![t.autoFillHeightDispose, t.autoFillHeightDispose2].includes(e);
2180
+ return ![n.autoFillHeightDispose, n.autoFillHeightDispose2].includes(e);
2182
2181
  }), this.autoFillHeightDispose(), delete this.autoFillHeightDispose, delete this.autoFillHeightDispose2;
2183
2182
  var s = this.table?.parentElement;
2184
2183
  s && (s.style.height = "");
2185
2184
  }
2186
2185
  this.initAutoFillHeight();
2187
2186
  }
2188
- }, n.prototype.componentWillUnmount = function() {
2187
+ }, t.prototype.componentWillUnmount = function() {
2189
2188
  var e = this.props.formItem;
2190
2189
  this.toDispose.forEach(function(e) {
2191
2190
  return e();
2192
2191
  }), this.toDispose = [], delete this.autoFillHeightDispose, delete this.autoFillHeightDispose2, this.updateTableInfoLazy.cancel(), this.updateAutoFillHeightLazy.cancel(), e && isAlive(e) && e.setSubStore(null), clearTimeout(this.timer), this.context.unRegisterComponent(this);
2193
- }, n.prototype.scrollToTop = function() {
2192
+ }, t.prototype.scrollToTop = function() {
2194
2193
  var e, t;
2195
2194
  (e = this.dom.current) == null || e.scrollIntoView(), this.props.autoFillHeight && ((t = this.table) == null || t.scrollIntoView());
2196
2195
  var n = window.scrollY;
2197
2196
  n && window.scroll(0, n);
2198
- }, n.prototype.subFormRef = function(e, t, n) {
2197
+ }, t.prototype.subFormRef = function(e, t, n) {
2199
2198
  var r = this.props.quickEditFormRef;
2200
2199
  r && r(e, t, n), this.subForms[`${t}-${n}`] = e, e && this.props.store.addForm(e.props.store, n);
2201
- }, n.prototype.handleAction = function(e, t, n) {
2200
+ }, t.prototype.handleAction = function(e, t, n) {
2202
2201
  var r = this.props.onAction;
2203
2202
  return r(e, t, n);
2204
- }, n.prototype.handleCheck = function(e, t, n) {
2203
+ }, t.prototype.handleCheck = function(e, t, r) {
2205
2204
  return __awaiter(this, void 0, void 0, function() {
2206
2205
  var i, a, o, s, c;
2207
- return __generator(this, function(r) {
2208
- switch (r.label) {
2209
- case 0: return i = this.props, a = i.store, o = i.data, s = i.dispatchEvent, c = i.selectable, c ? (t = t === void 0 ? !e.checked : t, n ? a.toggleShift(e, t) : e.toggle(t), this.syncSelected(), [4, s("selectedChange", createObject(o, __assign(__assign({}, a.eventContext), { item: e.data })))]) : [2];
2210
- case 1: return r.sent(), [2];
2206
+ return __generator(this, function(n) {
2207
+ switch (n.label) {
2208
+ case 0: return i = this.props, a = i.store, o = i.data, s = i.dispatchEvent, c = i.selectable, c ? (t = t === void 0 ? !e.checked : t, r ? a.toggleShift(e, t) : e.toggle(t), this.syncSelected(), [4, s("selectedChange", createObject(o, __assign(__assign({}, a.eventContext), { item: e.data })))]) : [2];
2209
+ case 1: return n.sent(), [2];
2211
2210
  }
2212
2211
  });
2213
2212
  });
2214
- }, n.prototype.handleRowClick = function(e, t) {
2213
+ }, t.prototype.handleRowClick = function(e, t) {
2215
2214
  var n = this.props, r = n.dispatchEvent, i = n.filterItemIndex;
2216
2215
  n.store;
2217
2216
  var a = n.data;
@@ -2221,7 +2220,7 @@ var VCell = observer(function(e) {
2221
2220
  index: parseInt(`${i?.(e.index, e) ?? e.index}`, 10),
2222
2221
  indexPath: i?.(e.path, e) ?? e.path
2223
2222
  }));
2224
- }, n.prototype.handleRowDbClick = function(e, t) {
2223
+ }, t.prototype.handleRowDbClick = function(e, t) {
2225
2224
  var n = this.props, r = n.dispatchEvent, i = n.filterItemIndex;
2226
2225
  n.store;
2227
2226
  var a = n.data;
@@ -2230,7 +2229,7 @@ var VCell = observer(function(e) {
2230
2229
  index: parseInt(`${i?.(e.index, e) ?? e.index}`, 10),
2231
2230
  indexPath: i?.(e.path, e) ?? e.path
2232
2231
  }));
2233
- }, n.prototype.handleRowMouseEnter = function(e, t) {
2232
+ }, t.prototype.handleRowMouseEnter = function(e, t) {
2234
2233
  var n = this.props, r = n.dispatchEvent, i = n.filterItemIndex;
2235
2234
  n.store;
2236
2235
  var a = n.data;
@@ -2239,7 +2238,7 @@ var VCell = observer(function(e) {
2239
2238
  index: parseInt(`${i?.(e.index, e) ?? e.index}`, 10),
2240
2239
  indexPath: i?.(e.path, e) ?? e.path
2241
2240
  }));
2242
- }, n.prototype.handleRowMouseLeave = function(e, t) {
2241
+ }, t.prototype.handleRowMouseLeave = function(e, t) {
2243
2242
  var n = this.props, r = n.dispatchEvent, i = n.filterItemIndex;
2244
2243
  n.store;
2245
2244
  var a = n.data;
@@ -2248,17 +2247,17 @@ var VCell = observer(function(e) {
2248
2247
  index: parseInt(`${i?.(e.index, e) ?? e.index}`, 10),
2249
2248
  indexPath: i?.(e.path, e) ?? e.path
2250
2249
  }));
2251
- }, n.prototype.handleCheckAll = function() {
2250
+ }, t.prototype.handleCheckAll = function() {
2252
2251
  return __awaiter(this, void 0, void 0, function() {
2253
- var e, t, n, i;
2254
- return __generator(this, function(r) {
2255
- switch (r.label) {
2256
- case 0: return e = this.props, t = e.store, n = e.data, i = e.dispatchEvent, t.toggleAll(), this.syncSelected(), [4, i("selectedChange", createObject(n, __assign({}, t.eventContext)))];
2257
- case 1: return r.sent(), [2];
2252
+ var e, t, r, i;
2253
+ return __generator(this, function(n) {
2254
+ switch (n.label) {
2255
+ case 0: return e = this.props, t = e.store, r = e.data, i = e.dispatchEvent, t.toggleAll(), this.syncSelected(), [4, i("selectedChange", createObject(r, __assign({}, t.eventContext)))];
2256
+ case 1: return n.sent(), [2];
2258
2257
  }
2259
2258
  });
2260
2259
  });
2261
- }, n.prototype.handleQuickChange = function(e, t, n, r, i) {
2260
+ }, t.prototype.handleQuickChange = function(e, t, n, r, i) {
2262
2261
  if (isAlive(e)) {
2263
2262
  var a = this.props, o = a.onSave, s = a.onPristineChange, c = a.saveImmediately, l = a.primaryField, u = a.onItemChange;
2264
2263
  if (e.change(t, r), e.modified && this.syncSelected(), r) {
@@ -2277,19 +2276,19 @@ var VCell = observer(function(e) {
2277
2276
  o && o(e.data, difference(e.data, e.pristine, ["id", l]), e.path, void 0, e.pristine, i);
2278
2277
  }
2279
2278
  }
2280
- }, n.prototype.handleSave = function() {
2279
+ }, t.prototype.handleSave = function() {
2281
2280
  return __awaiter(this, void 0, void 0, function() {
2282
- var e, t, n, i, a, o, s, o, c, l, u, d, f = this;
2283
- return __generator(this, function(r) {
2284
- switch (r.label) {
2285
- case 0: return e = this.props, t = e.store, n = e.onSave, i = e.primaryField, !n || !t.modifiedRows.length ? [2] : (a = [], Object.keys(this.subForms).forEach(function(e) {
2281
+ var e, t, r, i, a, o, s, o, c, l, u, d, f = this;
2282
+ return __generator(this, function(n) {
2283
+ switch (n.label) {
2284
+ case 0: return e = this.props, t = e.store, r = e.onSave, i = e.primaryField, !r || !t.modifiedRows.length ? [2] : (a = [], Object.keys(this.subForms).forEach(function(e) {
2286
2285
  return f.subForms[e] && a.push(f.subForms[e]);
2287
2286
  }), a.length ? [4, Promise.all(a.map(function(e) {
2288
2287
  return e.validate();
2289
2288
  }))] : [3, 2]);
2290
2289
  case 1:
2291
- if (o = r.sent(), ~o.indexOf(!1)) return [2];
2292
- r.label = 2;
2290
+ if (o = n.sent(), ~o.indexOf(!1)) return [2];
2291
+ n.label = 2;
2293
2292
  case 2: return s = t.children.filter(function(e) {
2294
2293
  return e?.storeType === "FormItemStore";
2295
2294
  }), s.length ? [4, Promise.all(s.map(function(e) {
@@ -2297,8 +2296,8 @@ var VCell = observer(function(e) {
2297
2296
  return e.rowIndex && t.rows[e.rowIndex] && (n = t.rows[e.rowIndex].data), e.validate(n);
2298
2297
  }))] : [3, 4];
2299
2298
  case 3:
2300
- if (o = r.sent(), ~o.indexOf(!1)) return [2];
2301
- r.label = 4;
2299
+ if (o = n.sent(), ~o.indexOf(!1)) return [2];
2300
+ n.label = 4;
2302
2301
  case 4: return c = t.modifiedRows.map(function(e) {
2303
2302
  return e.data;
2304
2303
  }), l = t.modifiedRows.map(function(e) {
@@ -2309,34 +2308,34 @@ var VCell = observer(function(e) {
2309
2308
  return !e.modified;
2310
2309
  }).map(function(e) {
2311
2310
  return e.data;
2312
- }), [2, n(c, u, l, d, t.modifiedRows.map(function(e) {
2311
+ }), [2, r(c, u, l, d, t.modifiedRows.map(function(e) {
2313
2312
  return e.pristine;
2314
2313
  }))];
2315
2314
  }
2316
2315
  });
2317
2316
  });
2318
- }, n.prototype.handleSaveOrder = function() {
2317
+ }, t.prototype.handleSaveOrder = function() {
2319
2318
  return __awaiter(this, void 0, void 0, function() {
2320
- var e, t, n, i, a, o, s, c;
2321
- return __generator(this, function(r) {
2322
- switch (r.label) {
2323
- case 0: return e = this.props, t = e.store, n = e.onSaveOrder, i = e.data, a = e.dispatchEvent, o = t.movedRows.map(function(e) {
2319
+ var e, t, r, i, a, o, s, c;
2320
+ return __generator(this, function(n) {
2321
+ switch (n.label) {
2322
+ case 0: return e = this.props, t = e.store, r = e.onSaveOrder, i = e.data, a = e.dispatchEvent, o = t.movedRows.map(function(e) {
2324
2323
  return e.data;
2325
2324
  }), s = t.rows.map(function(e) {
2326
2325
  return e.getDataWithModifiedChilden();
2327
2326
  }), [4, a("orderChange", createObject(i, { movedItems: o }))];
2328
- case 1: return c = r.sent(), c?.prevented || !n || !t.movedRows.length || n(o, s), [2];
2327
+ case 1: return c = n.sent(), c?.prevented || !r || !t.movedRows.length || r(o, s), [2];
2329
2328
  }
2330
2329
  });
2331
2330
  });
2332
- }, n.prototype.syncSelected = function() {
2331
+ }, t.prototype.syncSelected = function() {
2333
2332
  var e = this.props, t = e.store, n = e.onSelect;
2334
2333
  n && n(t.selectedRows.map(function(e) {
2335
2334
  return e.data;
2336
2335
  }), t.unSelectedRows.map(function(e) {
2337
2336
  return e.data;
2338
2337
  }));
2339
- }, n.prototype.reset = function() {
2338
+ }, t.prototype.reset = function() {
2340
2339
  var e = this, t = this.props.store;
2341
2340
  t.reset();
2342
2341
  var n = [];
@@ -2351,7 +2350,7 @@ var VCell = observer(function(e) {
2351
2350
  r.length && r.map(function(e) {
2352
2351
  return e.reset();
2353
2352
  });
2354
- }, n.prototype.bulkUpdate = function(e, t) {
2353
+ }, t.prototype.bulkUpdate = function(e, t) {
2355
2354
  var n = this.props, r = n.store, i = n.primaryField;
2356
2355
  if (i && e.ids) {
2357
2356
  var a = e.ids.split(","), o = r.rows.filter(function(e) {
@@ -2370,13 +2369,13 @@ var VCell = observer(function(e) {
2370
2369
  return t.change(e);
2371
2370
  });
2372
2371
  }
2373
- }, n.prototype.getSelected = function() {
2372
+ }, t.prototype.getSelected = function() {
2374
2373
  return this.props.store.selectedRows.map(function(e) {
2375
2374
  return e.data;
2376
2375
  });
2377
- }, n.prototype.updateTableInfo = function(e) {
2376
+ }, t.prototype.updateTableInfo = function(e) {
2378
2377
  this.resizeLine || (this.props.store.initTableWidth(), this.props.store.syncTableWidth(), this.handleOutterScroll(), e && setTimeout(e, 20));
2379
- }, n.prototype.handleOutterScroll = function() {
2378
+ }, t.prototype.handleOutterScroll = function() {
2380
2379
  var e = this.table;
2381
2380
  if (e) {
2382
2381
  var t = e?.parentNode, n = t.scrollLeft;
@@ -2391,17 +2390,17 @@ var VCell = observer(function(e) {
2391
2390
  });
2392
2391
  }
2393
2392
  }
2394
- }, n.prototype.tableRef = function(e) {
2393
+ }, t.prototype.tableRef = function(e) {
2395
2394
  var t = this, n;
2396
2395
  this.table = e, isAlive(this.props.store) && this.props.store.setTable(e), (n = this.tableUnWatchResize) == null || n.call(this), e && (this.handleOutterScroll(), this.tableUnWatchResize = resizeSensor(e, function() {
2397
2396
  t.handleOutterScroll();
2398
2397
  }));
2399
- }, n.prototype.dragTipRef = function(e) {
2398
+ }, t.prototype.dragTipRef = function(e) {
2400
2399
  !this.dragTip && e ? this.initDragging() : this.dragTip && !e && this.destroyDragging(), this.dragTip = e;
2401
- }, n.prototype.affixedTableRef = function(e) {
2400
+ }, t.prototype.affixedTableRef = function(e) {
2402
2401
  this.affixedTable = e, e && this.handleOutterScroll();
2403
- }, n.prototype.initDragging = function() {
2404
- var e = this, t = this.props, n = t.store, i = t.classPrefix;
2402
+ }, t.prototype.initDragging = function() {
2403
+ var e = this, t = this.props, r = t.store, i = t.classPrefix;
2405
2404
  this.sortable = new sortable_esm_default(this.table.querySelector(":scope>tbody"), {
2406
2405
  group: "table",
2407
2406
  animation: 150,
@@ -2411,17 +2410,17 @@ var VCell = observer(function(e) {
2411
2410
  onEnd: function(t) {
2412
2411
  return __awaiter(e, void 0, void 0, function() {
2413
2412
  var e;
2414
- return __generator(this, function(r) {
2415
- return t.newIndex === t.oldIndex ? [2] : (e = t.to, t.oldIndex < e.childNodes.length - 1 ? e.insertBefore(t.item, e.childNodes[t.oldIndex > t.newIndex ? t.oldIndex + 1 : t.oldIndex]) : e.appendChild(t.item), n.exchange(t.oldIndex, t.newIndex), [2]);
2413
+ return __generator(this, function(n) {
2414
+ return t.newIndex === t.oldIndex ? [2] : (e = t.to, t.oldIndex < e.childNodes.length - 1 ? e.insertBefore(t.item, e.childNodes[t.oldIndex > t.newIndex ? t.oldIndex + 1 : t.oldIndex]) : e.appendChild(t.item), r.exchange(t.oldIndex, t.newIndex), [2]);
2416
2415
  });
2417
2416
  });
2418
2417
  }
2419
2418
  });
2420
- }, n.prototype.destroyDragging = function() {
2419
+ }, t.prototype.destroyDragging = function() {
2421
2420
  this.sortable && this.sortable.destroy();
2422
- }, n.prototype.getPopOverContainer = function() {
2421
+ }, t.prototype.getPopOverContainer = function() {
2423
2422
  return this.dom.current;
2424
- }, n.prototype.handleMouseMove = function(e) {
2423
+ }, t.prototype.handleMouseMove = function(e) {
2425
2424
  var t = e.target.closest("tr[data-id]");
2426
2425
  if (t) {
2427
2426
  var n = this.props, r = n.store;
@@ -2431,9 +2430,9 @@ var VCell = observer(function(e) {
2431
2430
  return e.setIsHover(e.id === i);
2432
2431
  });
2433
2432
  }
2434
- }, n.prototype.handleMouseLeave = function() {
2433
+ }, t.prototype.handleMouseLeave = function() {
2435
2434
  this.props.store.hoverRow?.setIsHover(!1);
2436
- }, n.prototype.handleDragStart = function(e) {
2435
+ }, t.prototype.handleDragStart = function(e) {
2437
2436
  var t = this.props.store, n = this.draggingTr = e.currentTarget.closest("tr"), r = n.getAttribute("data-id"), i = n.parentNode;
2438
2437
  this.originIndex = Array.prototype.indexOf.call(i.childNodes, n), i.classList.add("is-dragging"), n.classList.add("is-dragging"), e.dataTransfer.effectAllowed = "move", e.dataTransfer.setData("text/plain", r), e.dataTransfer.setDragImage(n, 0, 0);
2439
2438
  var a = t.getRowById(r);
@@ -2445,7 +2444,7 @@ var VCell = observer(function(e) {
2445
2444
  var t = i.querySelector(`:scope>tr[data-id="${e.id}"]`);
2446
2445
  return t.classList.add("is-drop-allowed"), t;
2447
2446
  }), n.addEventListener("dragend", this.handleDragEnd);
2448
- }, n.prototype.handleDragOver = function(e) {
2447
+ }, t.prototype.handleDragOver = function(e) {
2449
2448
  if (e.target) {
2450
2449
  e.preventDefault(), e.dataTransfer.dropEffect = "move";
2451
2450
  var t = e.target.closest("tr");
@@ -2456,19 +2455,19 @@ var VCell = observer(function(e) {
2456
2455
  a ? n.insertBefore(this.draggingTr, a) : n.appendChild(this.draggingTr), Animation.animateAll();
2457
2456
  }
2458
2457
  }
2459
- }, n.prototype.handleDrop = function() {
2458
+ }, t.prototype.handleDrop = function() {
2460
2459
  return __awaiter(this, void 0, void 0, function() {
2461
- var e, t, n, i, a;
2462
- return __generator(this, function(r) {
2463
- return e = this.props.store, t = this.draggingTr, n = t.parentElement, i = Array.prototype.indexOf.call(n.childNodes, t), a = e.getRowById(t.getAttribute("data-id")), this.handleDragEnd(), e.exchange(this.originIndex, i, a), [2];
2460
+ var e, t, r, i, a;
2461
+ return __generator(this, function(n) {
2462
+ return e = this.props.store, t = this.draggingTr, r = t.parentElement, i = Array.prototype.indexOf.call(r.childNodes, t), a = e.getRowById(t.getAttribute("data-id")), this.handleDragEnd(), e.exchange(this.originIndex, i, a), [2];
2464
2463
  });
2465
2464
  });
2466
- }, n.prototype.handleDragEnd = function() {
2465
+ }, t.prototype.handleDragEnd = function() {
2467
2466
  var e = this.draggingTr, t = e.parentElement, n = Array.prototype.indexOf.call(t.childNodes, e);
2468
2467
  t.insertBefore(e, t.childNodes[n < this.originIndex ? this.originIndex + 1 : this.originIndex]), e.classList.remove("is-dragging"), t.classList.remove("is-dragging"), e.removeEventListener("dragend", this.handleDragEnd), t.removeEventListener("dragover", this.handleDragOver), t.removeEventListener("drop", this.handleDrop), this.draggingSibling.forEach(function(e) {
2469
2468
  return e.classList.remove("is-drop-allowed");
2470
2469
  });
2471
- }, n.prototype.handleImageEnlarge = function(e, t) {
2470
+ }, t.prototype.handleImageEnlarge = function(e, t) {
2472
2471
  var n = this.props.onImageEnlarge;
2473
2472
  if (Array.isArray(e.list) && e.enlargeWithGallary !== !0 || e.enlargeWithGallary === !1) return n && n(e, t);
2474
2473
  var r = this.props.store, i = r.columns[t.colIndex].pristine, a = t.rowIndex, o = [];
@@ -2491,19 +2490,19 @@ var VCell = observer(function(e) {
2491
2490
  list: o,
2492
2491
  index: a
2493
2492
  }), t) : n && n(e, t);
2494
- }, n.prototype.handleColResizeMouseDown = function(e) {
2493
+ }, t.prototype.handleColResizeMouseDown = function(e) {
2495
2494
  this.lineStartX = e.clientX, this.resizeLine = e.currentTarget;
2496
2495
  var t = this.props.store, n = parseInt(this.resizeLine.getAttribute("data-index"), 10), r = t.columns[n];
2497
2496
  this.lineStartWidth = r.realWidth || r.width, this.resizeLine.classList.add("is-resizing"), document.addEventListener("mousemove", this.handleColResizeMouseMove), document.addEventListener("mouseup", this.handleColResizeMouseUp), e.preventDefault(), e.stopPropagation();
2498
- }, n.prototype.handleColResizeMouseMove = function(e) {
2497
+ }, t.prototype.handleColResizeMouseMove = function(e) {
2499
2498
  var t = e.clientX - this.lineStartX, n = this.props.store, r = parseInt(this.resizeLine.getAttribute("data-index"), 10), i = n.columns[r];
2500
2499
  i.setWidth(Math.max(this.lineStartWidth + t, 30, i.minWidth));
2501
- }, n.prototype.handleColResizeMouseUp = function(e) {
2500
+ }, t.prototype.handleColResizeMouseUp = function(e) {
2502
2501
  this.resizeLine.classList.remove("is-resizing"), delete this.resizeLine, document.removeEventListener("mousemove", this.handleColResizeMouseMove), document.removeEventListener("mouseup", this.handleColResizeMouseUp);
2503
- }, n.prototype.handleColumnToggle = function(e) {
2502
+ }, t.prototype.handleColumnToggle = function(e) {
2504
2503
  var t = this.props.store;
2505
2504
  t.updateColumns(e), t.persistSaveToggledColumns();
2506
- }, n.prototype.renderAutoFilterForm = function() {
2505
+ }, t.prototype.renderAutoFilterForm = function() {
2507
2506
  var e = this.props, t = e.render, n = e.store, r = e.onSearchableFromReset, i = e.onSearchableFromSubmit, a = e.onSearchableFromInit, o = e.classnames, s = e.translate, c = e.query, l = e.data, u = e.autoGenerateFilter, d = e.testIdBuilder, f = e.filterCanAccessSuperData, p = f === void 0 ? !0 : f;
2508
2507
  return n.searchableColumns.length ? import_react.createElement(AutoFilterForm$1, {
2509
2508
  store: n,
@@ -2520,7 +2519,7 @@ var VCell = observer(function(e) {
2520
2519
  popOverContainer: this.getPopOverContainer,
2521
2520
  testIdBuilder: d?.getChild("filter")
2522
2521
  }) : null;
2523
- }, n.prototype.renderHeading = function() {
2522
+ }, t.prototype.renderHeading = function() {
2524
2523
  var e = this.props, t = e.title, n = e.store, r = e.hideQuickSaveBtn, i = e.data, a = e.classnames, o = e.saveImmediately, s = e.headingClassName, c = e.quickSaveApi, l = e.translate, u = e.columns, d = !1;
2525
2524
  if (n.modifiedRows.length === 1) {
2526
2525
  var f = u?.map(function(e) {
@@ -2562,8 +2561,8 @@ var VCell = observer(function(e) {
2562
2561
  icon: "close",
2563
2562
  className: "icon m-r-xs"
2564
2563
  }), l("Table.discard"))) : t ? filter(t, i) : "") : null;
2565
- }, n.prototype.renderHeadCell = function(e, t) {
2566
- var n = this, a = this.props, o = a.store, c = a.query, l = a.onQuery, f = a.render, p = a.classPrefix, m = a.resizable, h = a.classnames, g = a.autoGenerateFilter, _ = a.dispatchEvent, v = a.data, y = a.testIdBuilder, b = a.translate, x = y?.getChild(`head-cell-${e.name}`), S = __assign({}, t.style), C = __read(o.getStickyStyles(e, o.filteredColumns), 2), w = C[0], T = C[1];
2564
+ }, t.prototype.renderHeadCell = function(e, t) {
2565
+ var i = this, a = this.props, s = a.store, c = a.query, d = a.onQuery, f = a.render, p = a.classPrefix, m = a.resizable, h = a.classnames, g = a.autoGenerateFilter, _ = a.dispatchEvent, v = a.data, y = a.testIdBuilder, b = a.translate, x = y?.getChild(`head-cell-${e.name}`), S = __assign({}, t.style), C = __read(s.getStickyStyles(e, s.filteredColumns), 2), w = C[0], T = C[1];
2567
2566
  Object.assign(S, w);
2568
2567
  var E = import_react.createElement("div", {
2569
2568
  className: h("Table-content-colDragLine"),
@@ -2577,11 +2576,11 @@ var VCell = observer(function(e) {
2577
2576
  key: D,
2578
2577
  style: S,
2579
2578
  className: h(e.pristine.className, T)
2580
- }), o.rows.length && o.multiple ? import_react.createElement(Checkbox$1, {
2579
+ }), s.rows.length && s.multiple ? import_react.createElement(Checkbox$1, {
2581
2580
  classPrefix: p,
2582
- partial: o.someChecked && !o.allChecked,
2583
- checked: o.someChecked,
2584
- disabled: o.isSelectionThresholdReached && !o.someChecked,
2581
+ partial: s.someChecked && !s.allChecked,
2582
+ checked: s.someChecked,
2583
+ disabled: s.isSelectionThresholdReached && !s.someChecked,
2585
2584
  onChange: this.handleCheckAll
2586
2585
  }) : "\xA0", m === !1 ? null : E);
2587
2586
  if (e.type === "__dragme") return import_react.createElement("th", __assign({}, O, {
@@ -2593,9 +2592,9 @@ var VCell = observer(function(e) {
2593
2592
  key: D,
2594
2593
  style: S,
2595
2594
  className: h(e.pristine.className, T)
2596
- }), o.footable && (o.footable.expandAll === !1 || o.footable.accordion) || o.expandConfig && (o.expandConfig.expandAll === !1 || o.expandConfig.accordion) ? null : import_react.createElement("a", {
2597
- className: h("Table-expandBtn", o.allExpanded ? "is-active" : ""),
2598
- onClick: o.toggleExpandAll
2595
+ }), s.footable && (s.footable.expandAll === !1 || s.footable.accordion) || s.expandConfig && (s.expandConfig.expandAll === !1 || s.expandConfig.accordion) ? null : import_react.createElement("a", {
2596
+ className: h("Table-expandBtn", s.allExpanded ? "is-active" : ""),
2597
+ onClick: s.toggleExpandAll
2599
2598
  }, import_react.createElement(Icon, {
2600
2599
  icon: "right-arrow-bold",
2601
2600
  className: "icon"
@@ -2606,15 +2605,15 @@ var VCell = observer(function(e) {
2606
2605
  className: h(e.pristine.className, T)
2607
2606
  }), b("Table.index"), m === !1 ? null : E);
2608
2607
  var k = [], A = [];
2609
- return e.isPrimary && o.isNested && (o.footable && (o.footable.expandAll === !1 || o.footable.accordion) || o.expandConfig && (o.expandConfig.expandAll === !1 || o.expandConfig.accordion) || k.push(import_react.createElement("a", {
2608
+ return e.isPrimary && s.isNested && (s.footable && (s.footable.expandAll === !1 || s.footable.accordion) || s.expandConfig && (s.expandConfig.expandAll === !1 || s.expandConfig.accordion) || k.push(import_react.createElement("a", {
2610
2609
  key: "expandBtn",
2611
- className: h("Table-expandBtn2", o.allExpanded ? "is-active" : ""),
2612
- onClick: o.toggleExpandAll
2610
+ className: h("Table-expandBtn2", s.allExpanded ? "is-active" : ""),
2611
+ onClick: s.toggleExpandAll
2613
2612
  }, import_react.createElement(Icon, {
2614
2613
  icon: "right-arrow-bold",
2615
2614
  className: "icon"
2616
2615
  })))), e.searchable && e.name && !g && A.push(import_react.createElement(HeadCellSearchDropDown, __assign({}, O, { key: "table-head-search" }, this.props, {
2617
- onQuery: l,
2616
+ onQuery: d,
2618
2617
  name: e.name,
2619
2618
  searchable: e.searchable,
2620
2619
  type: e.type,
@@ -2625,33 +2624,33 @@ var VCell = observer(function(e) {
2625
2624
  key: "table-head-sort",
2626
2625
  className: h("TableCell-sortBtn"),
2627
2626
  onClick: function() {
2628
- return __awaiter(n, void 0, void 0, function() {
2629
- var t, n, i, a;
2630
- return __generator(this, function(r) {
2631
- switch (r.label) {
2632
- case 0: return t = "", n = "", e.name === o.orderBy ? o.orderDir !== "desc" && (t = e.name, n = "desc") : t = e.name, i = t ? n ? "desc" : "asc" : "", [4, _("columnSort", createObject(v, {
2627
+ return __awaiter(i, void 0, void 0, function() {
2628
+ var t, r, i, a;
2629
+ return __generator(this, function(n) {
2630
+ switch (n.label) {
2631
+ case 0: return t = "", r = "", e.name === s.orderBy ? s.orderDir !== "desc" && (t = e.name, r = "desc") : t = e.name, i = t ? r ? "desc" : "asc" : "", [4, _("columnSort", createObject(v, {
2633
2632
  orderBy: t,
2634
2633
  orderDir: i
2635
2634
  }))];
2636
- case 1: return a = r.sent(), a?.prevented || (!l || l({
2635
+ case 1: return a = n.sent(), a?.prevented || (!d || d({
2637
2636
  orderBy: t,
2638
2637
  orderDir: i
2639
- }) === !1) && o.changeOrder(t, i), [2];
2638
+ }) === !1) && s.changeOrder(t, i), [2];
2640
2639
  }
2641
2640
  });
2642
2641
  });
2643
2642
  }
2644
- }), import_react.createElement("i", { className: h("TableCell-sortBtn--down", o.orderBy === e.name && o.orderDir === "desc" ? "is-active" : "") }, import_react.createElement(Icon, {
2643
+ }), import_react.createElement("i", { className: h("TableCell-sortBtn--down", s.orderBy === e.name && s.orderDir === "desc" ? "is-active" : "") }, import_react.createElement(Icon, {
2645
2644
  icon: "sort-desc",
2646
2645
  className: "icon"
2647
- })), import_react.createElement("i", { className: h("TableCell-sortBtn--up", o.orderBy === e.name && o.orderDir === "asc" ? "is-active" : "") }, import_react.createElement(Icon, {
2646
+ })), import_react.createElement("i", { className: h("TableCell-sortBtn--up", s.orderBy === e.name && s.orderDir === "asc" ? "is-active" : "") }, import_react.createElement(Icon, {
2648
2647
  icon: "sort-asc",
2649
2648
  className: "icon"
2650
- })), import_react.createElement("i", { className: h("TableCell-sortBtn--default", o.orderBy === e.name ? "" : "is-active") }, import_react.createElement(Icon, {
2649
+ })), import_react.createElement("i", { className: h("TableCell-sortBtn--default", s.orderBy === e.name ? "" : "is-active") }, import_react.createElement(Icon, {
2651
2650
  icon: "sort-default",
2652
2651
  className: "icon"
2653
- })))), !e.searchable && e.filterable && e.name && l && A.push(import_react.createElement(HeadCellFilterDropDown, __assign({ key: "table-head-filter" }, this.props, {
2654
- onQuery: l,
2652
+ })))), !e.searchable && e.filterable && e.name && d && A.push(import_react.createElement(HeadCellFilterDropDown, __assign({ key: "table-head-filter" }, this.props, {
2653
+ onQuery: d,
2655
2654
  name: e.name,
2656
2655
  type: e.type,
2657
2656
  data: c,
@@ -2677,7 +2676,7 @@ var VCell = observer(function(e) {
2677
2676
  tooltip: e.remark,
2678
2677
  container: this.getPopOverContainer
2679
2678
  }) : null), A, m === !1 ? null : E);
2680
- }, n.prototype.renderCell = function(e, t, n, r, i) {
2679
+ }, t.prototype.renderCell = function(e, t, n, r, i) {
2681
2680
  i === void 0 && (i = !1);
2682
2681
  var a = this.props, o = a.render, s = a.store, c = a.classPrefix, l = a.classnames, u = a.canAccessSuperData, d = a.itemBadge, f = a.translate, p = a.testIdBuilder, m = a.filterItemIndex, h = a.offset, g = s.filteredColumns.length > 20 && !t.fixed ? VCell : Cell;
2683
2682
  return import_react.createElement(g, {
@@ -2704,12 +2703,12 @@ var VCell = observer(function(e) {
2704
2703
  testIdBuilder: p?.getChild(`cell-${r.rowPath}-${t.index}`),
2705
2704
  offset: h
2706
2705
  });
2707
- }, n.prototype.renderAffixHeader = function(e) {
2706
+ }, t.prototype.renderAffixHeader = function(e) {
2708
2707
  var t = this, n = this.props, r = n.store, i = n.affixHeader, a = n.render, o = n.classnames, s = n.autoFillHeight;
2709
2708
  n.env;
2710
2709
  var c = r.filteredColumns.every(function(e) {
2711
2710
  return !e.label;
2712
- }), l = r.columnGroup;
2711
+ }), u = r.columnGroup;
2713
2712
  return i && !s ? import_react.createElement(import_react.Fragment, null, import_react.createElement("div", { className: o("Table-fixedTop", { "is-fakeHide": c }) }, this.renderHeader(!1), this.renderHeading(), r.columnWidthReady ? import_react.createElement("div", { className: o("Table-wrapper") }, import_react.createElement("table", {
2714
2713
  ref: this.affixedTableRef,
2715
2714
  className: o(e, r.tableLayout === "fixed" ? "is-layout-fixed" : "")
@@ -2720,8 +2719,8 @@ var VCell = observer(function(e) {
2720
2719
  style: t,
2721
2720
  key: e.id
2722
2721
  });
2723
- })), import_react.createElement("thead", null, l.length ? import_react.createElement("tr", null, l.map(function(e, n) {
2724
- var i = __read(r.getStickyStyles(e, l), 2), o = i[0], s = i[1];
2722
+ })), import_react.createElement("thead", null, u.length ? import_react.createElement("tr", null, u.map(function(e, n) {
2723
+ var i = __read(r.getStickyStyles(e, u), 2), o = i[0], s = i[1];
2725
2724
  return e.rowSpan === 1 ? import_react.createElement("th", {
2726
2725
  key: n,
2727
2726
  "data-index": e.index,
@@ -2739,41 +2738,41 @@ var VCell = observer(function(e) {
2739
2738
  className: s
2740
2739
  });
2741
2740
  })) : null, import_react.createElement("tr", null, r.filteredColumns.map(function(e) {
2742
- return l.find(function(t) {
2741
+ return u.find(function(t) {
2743
2742
  return ~t.has.indexOf(e);
2744
2743
  })?.rowSpan === 2 ? null : t.renderHeadCell(e, {
2745
2744
  key: e.index,
2746
2745
  "data-index": e.index
2747
2746
  });
2748
2747
  }))))) : null)) : null;
2749
- }, n.prototype.renderToolbar = function(e) {
2748
+ }, t.prototype.renderToolbar = function(e) {
2750
2749
  var t = e.type || e;
2751
2750
  if (t === "columns-toggler") return this.renderedToolbars.push(t), this.renderColumnsToggler(e);
2752
2751
  if (t === "drag-toggler") return this.renderedToolbars.push(t), this.renderDragToggler();
2753
2752
  if (t === "export-excel") return this.renderedToolbars.push(t), this.renderExportExcel(e);
2754
2753
  if (t === "export-excel-template") return this.renderedToolbars.push(t), this.renderExportExcelTemplate(e);
2755
- }, n.prototype.renderColumnsToggler = function(e) {
2756
- var t = this, n = this.props;
2757
- n.className;
2758
- var a = n.store, o = n.classPrefix, c = n.classnames;
2759
- n.affixRow;
2760
- var l = __rest(n, [
2754
+ }, t.prototype.renderColumnsToggler = function(e) {
2755
+ var t = this, i = this.props;
2756
+ i.className;
2757
+ var a = i.store, s = i.classPrefix, c = i.classnames;
2758
+ i.affixRow;
2759
+ var l = __rest(i, [
2761
2760
  "className",
2762
2761
  "store",
2763
2762
  "classPrefix",
2764
2763
  "classnames",
2765
2764
  "affixRow"
2766
- ]), u = l.translate, f = l.env, p = this.props.render;
2765
+ ]), d = l.translate, f = l.env, p = this.props.render;
2767
2766
  return a.columnsTogglable ? import_react.createElement(ColumnToggler, __assign({}, l, isObject(e) ? e : {}, {
2768
2767
  tooltip: {
2769
- content: e?.tooltip || u("Table.columnsVisibility"),
2768
+ content: e?.tooltip || d("Table.columnsVisibility"),
2770
2769
  placement: "bottom"
2771
2770
  },
2772
2771
  tooltipContainer: l.popOverContainer || f.getModalContainer,
2773
2772
  align: e?.align ?? "left",
2774
2773
  isActived: a.hasColumnHidden(),
2775
2774
  classnames: c,
2776
- classPrefix: o,
2775
+ classPrefix: s,
2777
2776
  key: "columns-toggable",
2778
2777
  size: e?.size || "sm",
2779
2778
  icon: e?.icon,
@@ -2787,49 +2786,49 @@ var VCell = observer(function(e) {
2787
2786
  key: "selectAll",
2788
2787
  onClick: function() {
2789
2788
  return __awaiter(t, void 0, void 0, function() {
2790
- var e, t, n, i, o;
2791
- return __generator(this, function(r) {
2792
- switch (r.label) {
2793
- case 0: return e = this.props, t = e.data, n = e.dispatchEvent, i = a.activeToggaleColumns.length !== a.toggableColumns.length, [4, n("columnToggled", createObject(t, { columns: i ? a.toggableColumns.map(function(e) {
2789
+ var e, t, r, i, o;
2790
+ return __generator(this, function(n) {
2791
+ switch (n.label) {
2792
+ case 0: return e = this.props, t = e.data, r = e.dispatchEvent, i = a.activeToggaleColumns.length !== a.toggableColumns.length, [4, r("columnToggled", createObject(t, { columns: i ? a.toggableColumns.map(function(e) {
2794
2793
  return e.pristine;
2795
2794
  }) : [] }))];
2796
- case 1: return o = r.sent(), o?.prevented || a.toggleAllColumns(), [2];
2795
+ case 1: return o = n.sent(), o?.prevented || a.toggleAllColumns(), [2];
2797
2796
  }
2798
2797
  });
2799
2798
  });
2800
2799
  }
2801
2800
  }, import_react.createElement(Checkbox$1, {
2802
2801
  size: "sm",
2803
- classPrefix: o,
2802
+ classPrefix: s,
2804
2803
  key: "checkall",
2805
2804
  checked: !!a.activeToggaleColumns.length,
2806
2805
  partial: !!(a.activeToggaleColumns.length && a.activeToggaleColumns.length !== a.toggableColumns.length)
2807
- }, u("Select.checkAll"))) : null, !e?.draggable && a.toggableColumns.map(function(e) {
2806
+ }, d("Select.checkAll"))) : null, !e?.draggable && a.toggableColumns.map(function(e) {
2808
2807
  return import_react.createElement("li", {
2809
2808
  className: c("ColumnToggler-menuItem"),
2810
2809
  key: e.index,
2811
2810
  onClick: function() {
2812
2811
  return __awaiter(t, void 0, void 0, function() {
2813
- var t, n, i, o, s;
2814
- return __generator(this, function(r) {
2815
- switch (r.label) {
2816
- case 0: return t = this.props, n = t.data, i = t.dispatchEvent, o = a.activeToggaleColumns.map(function(e) {
2812
+ var t, r, i, o, s;
2813
+ return __generator(this, function(n) {
2814
+ switch (n.label) {
2815
+ case 0: return t = this.props, r = t.data, i = t.dispatchEvent, o = a.activeToggaleColumns.map(function(e) {
2817
2816
  return e.pristine;
2818
2817
  }), e.toggled ? o = o.filter(function(t) {
2819
2818
  return t.name !== e.pristine.name;
2820
- }) : o.push(e.pristine), [4, i("columnToggled", createObject(n, { columns: o }))];
2821
- case 1: return s = r.sent(), s?.prevented || e.toggleToggle(), [2];
2819
+ }) : o.push(e.pristine), [4, i("columnToggled", createObject(r, { columns: o }))];
2820
+ case 1: return s = n.sent(), s?.prevented || e.toggleToggle(), [2];
2822
2821
  }
2823
2822
  });
2824
2823
  });
2825
2824
  }
2826
2825
  }, import_react.createElement(Checkbox$1, {
2827
2826
  size: "sm",
2828
- classPrefix: o,
2827
+ classPrefix: s,
2829
2828
  checked: e.toggled
2830
2829
  }, e.label ? p("tpl", e.label) : null));
2831
2830
  })) : null;
2832
- }, n.prototype.renderDragToggler = function() {
2831
+ }, t.prototype.renderDragToggler = function() {
2833
2832
  var e = this.props, t = e.store, n = e.env, r = e.draggable, i = e.classPrefix, a = e.translate, o = e.popOverContainer;
2834
2833
  return !r || t.isNested ? null : import_react.createElement(Button$1, {
2835
2834
  disabled: !!t.modified,
@@ -2850,26 +2849,26 @@ var VCell = observer(function(e) {
2850
2849
  icon: "exchange",
2851
2850
  className: "icon"
2852
2851
  }));
2853
- }, n.prototype.renderExportExcel = function(t) {
2854
- var n = this, i = this.props, a = i.store, o = i.translate, c = i.render;
2855
- return a.filteredColumns, c("exportExcel", __assign(__assign({ label: o("CRUD.exportExcel") }, t), { type: "button" }), {
2856
- loading: a.exportExcelLoading,
2852
+ }, t.prototype.renderExportExcel = function(e) {
2853
+ var t = this, r = this.props, i = r.store, a = r.translate, s = r.render;
2854
+ return i.filteredColumns, s("exportExcel", __assign(__assign({ label: a("CRUD.exportExcel") }, e), { type: "button" }), {
2855
+ loading: i.exportExcelLoading,
2857
2856
  onAction: function() {
2858
- a.update({ exportExcelLoading: !0 }), import("./exceljs.min-nuhAzUL9.js").then(__toDynamicImportESM()).then(function(e) {
2859
- return __awaiter(n, void 0, void 0, function() {
2860
- var n, i;
2861
- return __generator(this, function(r) {
2862
- switch (r.label) {
2863
- case 0: n = e.default || e, r.label = 1;
2864
- case 1: return r.trys.push([
2857
+ i.update({ exportExcelLoading: !0 }), Promise.resolve({}).then(function(r) {
2858
+ return __awaiter(t, void 0, void 0, function() {
2859
+ var t, a;
2860
+ return __generator(this, function(n) {
2861
+ switch (n.label) {
2862
+ case 0: t = r.default || r, n.label = 1;
2863
+ case 1: return n.trys.push([
2865
2864
  1,
2866
2865
  3,
2867
2866
  4,
2868
2867
  5
2869
- ]), [4, exportExcel(n, this.props, t)];
2870
- case 2: return r.sent(), [3, 5];
2871
- case 3: return i = r.sent(), console.error(i), [3, 5];
2872
- case 4: return a.update({ exportExcelLoading: !1 }), [7];
2868
+ ]), [4, exportExcel(t, this.props, e)];
2869
+ case 2: return n.sent(), [3, 5];
2870
+ case 3: return a = n.sent(), console.error(a), [3, 5];
2871
+ case 4: return i.update({ exportExcelLoading: !1 }), [7];
2873
2872
  case 5: return [2];
2874
2873
  }
2875
2874
  });
@@ -2877,30 +2876,30 @@ var VCell = observer(function(e) {
2877
2876
  });
2878
2877
  }
2879
2878
  });
2880
- }, n.prototype.renderExportExcelTemplate = function(t) {
2881
- var n = this, i = this.props, a = i.store, o = i.translate, c = i.render;
2882
- return a.filteredColumns, c("exportExcelTemplate", __assign(__assign({ label: o("CRUD.exportExcelTemplate") }, t), { type: "button" }), { onAction: function() {
2883
- import("./exceljs.min-nuhAzUL9.js").then(__toDynamicImportESM()).then(function(e) {
2884
- return __awaiter(n, void 0, void 0, function() {
2885
- var n, i;
2886
- return __generator(this, function(r) {
2887
- switch (r.label) {
2888
- case 0: n = e.default || e, r.label = 1;
2889
- case 1: return r.trys.push([
2879
+ }, t.prototype.renderExportExcelTemplate = function(e) {
2880
+ var t = this, r = this.props, i = r.store, a = r.translate, s = r.render;
2881
+ return i.filteredColumns, s("exportExcelTemplate", __assign(__assign({ label: a("CRUD.exportExcelTemplate") }, e), { type: "button" }), { onAction: function() {
2882
+ Promise.resolve({}).then(function(r) {
2883
+ return __awaiter(t, void 0, void 0, function() {
2884
+ var t, i;
2885
+ return __generator(this, function(n) {
2886
+ switch (n.label) {
2887
+ case 0: t = r.default || r, n.label = 1;
2888
+ case 1: return n.trys.push([
2890
2889
  1,
2891
2890
  3,
2892
2891
  ,
2893
2892
  4
2894
- ]), [4, exportExcel(n, this.props, t, !0)];
2895
- case 2: return r.sent(), [3, 4];
2896
- case 3: return i = r.sent(), console.error(i), [3, 4];
2893
+ ]), [4, exportExcel(t, this.props, e, !0)];
2894
+ case 2: return n.sent(), [3, 4];
2895
+ case 3: return i = n.sent(), console.error(i), [3, 4];
2897
2896
  case 4: return [2];
2898
2897
  }
2899
2898
  });
2900
2899
  });
2901
2900
  });
2902
2901
  } });
2903
- }, n.prototype.renderActions = function(e) {
2902
+ }, t.prototype.renderActions = function(e) {
2904
2903
  var t = this, n = this.props, r = n.actions, i = n.render, a = n.store, o = n.classnames, s = n.data;
2905
2904
  return r = Array.isArray(r) ? r.concat() : [], a.toggable && e === "header" && !~this.renderedToolbars.indexOf("columns-toggler") && r.push({
2906
2905
  type: "button",
@@ -2916,32 +2915,32 @@ var VCell = observer(function(e) {
2916
2915
  data: a.getData(s)
2917
2916
  });
2918
2917
  })) : null;
2919
- }, n.prototype.renderHeader = function(e) {
2920
- var t = this.props, n = t.header, r = t.headerClassName, i = t.toolbarClassName, a = t.headerToolbarClassName, o = t.headerToolbarRender, s = t.render, c = t.showHeader, l = t.store, u = t.classnames, f = t.data, p = t.translate;
2918
+ }, t.prototype.renderHeader = function(e) {
2919
+ var t = this.props, n = t.header, r = t.headerClassName, i = t.toolbarClassName, a = t.headerToolbarClassName, o = t.headerToolbarRender, s = t.render, c = t.showHeader, l = t.store, d = t.classnames, f = t.data, p = t.translate;
2921
2920
  if (c === !1) return null;
2922
2921
  var m = {}, h = o ? o(__assign(__assign(__assign({}, this.props), l.eventContext), m), this.renderToolbar) : null, g = this.renderActions("header"), _ = g || h || l.dragging ? import_react.createElement("div", {
2923
- className: u("Table-toolbar Table-headToolbar", i, a),
2922
+ className: d("Table-toolbar Table-headToolbar", i, a),
2924
2923
  key: "header-toolbar"
2925
2924
  }, g, h, l.dragging ? import_react.createElement("div", {
2926
- className: u("Table-dragTip"),
2925
+ className: d("Table-dragTip"),
2927
2926
  ref: this.dragTipRef
2928
2927
  }, p("Table.dragTip")) : null) : null, v = n && (!Array.isArray(n) || n.length) ? import_react.createElement("div", {
2929
- className: u("Table-header", r),
2928
+ className: d("Table-header", r),
2930
2929
  key: "header"
2931
2930
  }, s("header", n, __assign(__assign({}, e === !1 ? m : null), { data: l.getData(f) }))) : null;
2932
2931
  return v && _ ? [v, _] : v || _ || null;
2933
- }, n.prototype.renderFooter = function() {
2934
- var e = this.props, t = e.footer, n = e.toolbarClassName, r = e.footerToolbarClassName, i = e.footerClassName, a = e.footerToolbarRender, o = e.render, s = e.showFooter, c = e.store, l = e.data, u = e.classnames, f = e.affixFooter;
2932
+ }, t.prototype.renderFooter = function() {
2933
+ var e = this.props, t = e.footer, n = e.toolbarClassName, r = e.footerToolbarClassName, i = e.footerClassName, a = e.footerToolbarRender, o = e.render, s = e.showFooter, c = e.store, l = e.data, d = e.classnames, f = e.affixFooter;
2935
2934
  if (s === !1) return null;
2936
2935
  var p = a ? a(__assign(__assign({}, this.props), c.eventContext), this.renderToolbar) : null, m = this.renderActions("footer"), h = t && (!Array.isArray(t) || t.length) ? import_react.createElement("div", {
2937
- className: u("Table-footer", i, f ? "Table-footer--affix" : ""),
2936
+ className: d("Table-footer", i, f ? "Table-footer--affix" : ""),
2938
2937
  key: "footer"
2939
2938
  }, o("footer", t, { data: c.getData(l) })) : null, g = m || p ? import_react.createElement("div", {
2940
- className: u("Table-toolbar Table-footToolbar", n, r, !h && f ? "Table-footToolbar--affix" : ""),
2939
+ className: d("Table-toolbar Table-footToolbar", n, r, !h && f ? "Table-footToolbar--affix" : ""),
2941
2940
  key: "footer-toolbar"
2942
2941
  }, m, p) : null;
2943
2942
  return h && g ? [g, h] : h || g || null;
2944
- }, n.prototype.renderTableContent = function() {
2943
+ }, t.prototype.renderTableContent = function() {
2945
2944
  var e = this.props, t = e.classnames, n = e.tableClassName, r = e.store, i = e.placeholder, a = e.render, o = e.checkOnItemClick, s = e.buildItemProps, c = e.rowClassNameExpr, l = e.rowClassName, u = e.prefixRow, d = e.locale, f = e.affixRow, p = e.tableContentClassName, m = e.translate, h = e.itemAction;
2946
2945
  e.affixRowClassNameExpr;
2947
2946
  var g = e.affixRowClassName;
@@ -3003,10 +3002,10 @@ var VCell = observer(function(e) {
3003
3002
  overlay: !0,
3004
3003
  show: r.loading
3005
3004
  }));
3006
- }, n.prototype.render = function() {
3005
+ }, t.prototype.render = function() {
3007
3006
  var e = this.props, t = e.className, n = e.style, r = e.store, i = e.classnames;
3008
3007
  e.affixColumns;
3009
- var a = e.affixHeader, o = e.autoFillHeight, s = e.autoGenerateFilter, c = e.mobileUI, l = e.testIdBuilder, u = e.id;
3008
+ var a = e.affixHeader, o = e.autoFillHeight, s = e.autoGenerateFilter, c = e.mobileUI, l = e.testIdBuilder, d = e.id;
3010
3009
  this.renderedToolbars = [];
3011
3010
  var f = a && !o ? null : this.renderHeading(), p = a && !o ? null : this.renderHeader(), m = this.renderFooter(), h = i("Table-table", this.props.tableClassName, { "Table-table--withCombine": r.combineNum > 0 });
3012
3011
  return import_react.createElement("div", __assign({
@@ -3016,12 +3015,12 @@ var VCell = observer(function(e) {
3016
3015
  "Table--autoFillHeight": o
3017
3016
  }),
3018
3017
  style: r.buildStyles(n),
3019
- "data-id": u
3018
+ "data-id": d
3020
3019
  }, l?.getTestId()), s ? this.renderAutoFilterForm() : null, this.renderAffixHeader(h), p, f, import_react.createElement("div", {
3021
3020
  className: i("Table-contentWrap"),
3022
3021
  onMouseLeave: this.handleMouseLeave
3023
3022
  }, this.renderTableContent()), m);
3024
- }, n.contextType = ScopedContext, n.propsList = /* @__PURE__ */ "header.headerToolbarRender.footer.footerToolbarRender.footable.expandConfig.placeholder.tableClassName.headingClassName.source.selectable.columnsTogglable.affixHeader.affixColumns.headerClassName.footerClassName.selected.multiple.primaryField.hideQuickSaveBtn.itemCheckableOn.itemDraggableOn.draggable.checkOnItemClick.hideCheckToggler.itemAction.itemActions.combineNum.combineFromIndex.items.columns.valueField.saveImmediately.rowClassName.rowClassNameExpr.affixRowClassNameExpr.prefixRowClassNameExpr.popOverContainer.headerToolbarClassName.toolbarClassName.footerToolbarClassName.itemBadge.autoFillHeight.onSelect.keepItemSelectionOnPageChange.maxKeepItemSelectionLength.maxItemSelectionLength.autoGenerateFilter".split("."), n.defaultProps = {
3023
+ }, t.contextType = ScopedContext, t.propsList = /* @__PURE__ */ "header.headerToolbarRender.footer.footerToolbarRender.footable.expandConfig.placeholder.tableClassName.headingClassName.source.selectable.columnsTogglable.affixHeader.affixColumns.headerClassName.footerClassName.selected.multiple.primaryField.hideQuickSaveBtn.itemCheckableOn.itemDraggableOn.draggable.checkOnItemClick.hideCheckToggler.itemAction.itemActions.combineNum.combineFromIndex.items.columns.valueField.saveImmediately.rowClassName.rowClassNameExpr.affixRowClassNameExpr.prefixRowClassNameExpr.popOverContainer.headerToolbarClassName.toolbarClassName.footerToolbarClassName.itemBadge.autoFillHeight.onSelect.keepItemSelectionOnPageChange.maxKeepItemSelectionLength.maxItemSelectionLength.autoGenerateFilter".split("."), t.defaultProps = {
3025
3024
  className: "",
3026
3025
  placeholder: "placeholder.noData",
3027
3026
  tableClassName: "",
@@ -3045,47 +3044,47 @@ var VCell = observer(function(e) {
3045
3044
  __metadata("design:type", Function),
3046
3045
  __metadata("design:paramtypes", [Object]),
3047
3046
  __metadata("design:returntype", Promise)
3048
- ], n.prototype, "loadDeferredRow", null), __decorate([
3047
+ ], t.prototype, "loadDeferredRow", null), __decorate([
3049
3048
  autobind,
3050
3049
  __metadata("design:type", Function),
3051
3050
  __metadata("design:paramtypes", [Object]),
3052
3051
  __metadata("design:returntype", void 0)
3053
- ], n.prototype, "handleDragStart", null), __decorate([
3052
+ ], t.prototype, "handleDragStart", null), __decorate([
3054
3053
  autobind,
3055
3054
  __metadata("design:type", Function),
3056
3055
  __metadata("design:paramtypes", [Object]),
3057
3056
  __metadata("design:returntype", void 0)
3058
- ], n.prototype, "handleDragOver", null), __decorate([
3057
+ ], t.prototype, "handleDragOver", null), __decorate([
3059
3058
  autobind,
3060
3059
  __metadata("design:type", Function),
3061
3060
  __metadata("design:paramtypes", []),
3062
3061
  __metadata("design:returntype", Promise)
3063
- ], n.prototype, "handleDrop", null), __decorate([
3062
+ ], t.prototype, "handleDrop", null), __decorate([
3064
3063
  autobind,
3065
3064
  __metadata("design:type", Function),
3066
3065
  __metadata("design:paramtypes", []),
3067
3066
  __metadata("design:returntype", void 0)
3068
- ], n.prototype, "handleDragEnd", null), __decorate([
3067
+ ], t.prototype, "handleDragEnd", null), __decorate([
3069
3068
  autobind,
3070
3069
  __metadata("design:type", Function),
3071
3070
  __metadata("design:paramtypes", [Object, Object]),
3072
3071
  __metadata("design:returntype", void 0)
3073
- ], n.prototype, "handleImageEnlarge", null), __decorate([
3072
+ ], t.prototype, "handleImageEnlarge", null), __decorate([
3074
3073
  autobind,
3075
3074
  __metadata("design:type", Function),
3076
3075
  __metadata("design:paramtypes", [Object]),
3077
3076
  __metadata("design:returntype", void 0)
3078
- ], n.prototype, "handleColResizeMouseDown", null), __decorate([
3077
+ ], t.prototype, "handleColResizeMouseDown", null), __decorate([
3079
3078
  autobind,
3080
3079
  __metadata("design:type", Function),
3081
3080
  __metadata("design:paramtypes", [MouseEvent]),
3082
3081
  __metadata("design:returntype", void 0)
3083
- ], n.prototype, "handleColResizeMouseMove", null), __decorate([
3082
+ ], t.prototype, "handleColResizeMouseMove", null), __decorate([
3084
3083
  autobind,
3085
3084
  __metadata("design:type", Function),
3086
3085
  __metadata("design:paramtypes", [MouseEvent]),
3087
3086
  __metadata("design:returntype", void 0)
3088
- ], n.prototype, "handleColResizeMouseUp", null), n;
3087
+ ], t.prototype, "handleColResizeMouseUp", null), t;
3089
3088
  }(import_react.Component), TableRendererBase = function(e) {
3090
3089
  __extends(t, e);
3091
3090
  function t() {
@@ -3095,39 +3094,39 @@ var VCell = observer(function(e) {
3095
3094
  var n, r = this.context;
3096
3095
  if (this.props?.host) return (n = this.props.host).receive?.call(n, e, t);
3097
3096
  if (t) return r.send(t, e);
3098
- }, t.prototype.getEventTargets = function(e, t, n, i) {
3097
+ }, t.prototype.getEventTargets = function(e, t, r, i) {
3099
3098
  return __awaiter(this, void 0, void 0, function() {
3100
3099
  var a;
3101
- return __generator(this, function(r) {
3102
- return a = this.props.store, [2, getMatchedEventTargets(a.rows, e || this.props.data, t, n, i)];
3100
+ return __generator(this, function(n) {
3101
+ return a = this.props.store, [2, getMatchedEventTargets(a.rows, e || this.props.data, t, r, i)];
3103
3102
  });
3104
3103
  });
3105
- }, t.prototype.reload = function(e, t, n, i, a, o) {
3104
+ }, t.prototype.reload = function(e, t, r, i, a, s) {
3106
3105
  var c;
3107
3106
  return __awaiter(this, void 0, void 0, function() {
3108
- var i, a, s = this;
3109
- return __generator(this, function(r) {
3110
- switch (r.label) {
3111
- case 0: return o?.index || o?.condition ? [4, this.getEventTargets(n || this.props.data, o.index, o?.condition)] : [3, 3];
3112
- case 1: return i = r.sent(), [4, Promise.all(i.map(function(e) {
3113
- return s.loadDeferredRow(e);
3107
+ var i, a, o = this;
3108
+ return __generator(this, function(n) {
3109
+ switch (n.label) {
3110
+ case 0: return s?.index || s?.condition ? [4, this.getEventTargets(r || this.props.data, s.index, s?.condition)] : [3, 3];
3111
+ case 1: return i = n.sent(), [4, Promise.all(i.map(function(e) {
3112
+ return o.loadDeferredRow(e);
3114
3113
  }))];
3115
- case 2: return r.sent(), [2];
3116
- case 3: return a = this.context, this.props?.host ? [2, (c = this.props.host).reload?.call(c, e, t, n)] : e ? [2, a.reload(e, n)] : [2];
3114
+ case 2: return n.sent(), [2];
3115
+ case 3: return a = this.context, this.props?.host ? [2, (c = this.props.host).reload?.call(c, e, t, r)] : e ? [2, a.reload(e, r)] : [2];
3117
3116
  }
3118
3117
  });
3119
3118
  });
3120
- }, t.prototype.setData = function(e, t, n, i) {
3119
+ }, t.prototype.setData = function(e, t, r, i) {
3121
3120
  var a;
3122
3121
  return __awaiter(this, void 0, void 0, function() {
3123
3122
  var o, s, c;
3124
- return __generator(this, function(r) {
3125
- switch (r.label) {
3126
- case 0: return o = this.props.store, n !== void 0 || i !== void 0 ? [4, this.getEventTargets(this.props.data, n, i)] : [3, 2];
3127
- case 1: return s = r.sent(), s.forEach(function(t) {
3123
+ return __generator(this, function(n) {
3124
+ switch (n.label) {
3125
+ case 0: return o = this.props.store, r !== void 0 || i !== void 0 ? [4, this.getEventTargets(this.props.data, r, i)] : [3, 2];
3126
+ case 1: return s = n.sent(), s.forEach(function(t) {
3128
3127
  t.updateData(e);
3129
3128
  }), [3, 3];
3130
- case 2: return this.props?.host ? [2, (a = this.props.host).setData?.call(a, e, t, n, i)] : (c = __assign(__assign({}, e), { rows: e.rows ?? e.items }), [2, o.updateData(c, void 0, t)]);
3129
+ case 2: return this.props?.host ? [2, (a = this.props.host).setData?.call(a, e, t, r, i)] : (c = __assign(__assign({}, e), { rows: e.rows ?? e.items }), [2, o.updateData(c, void 0, t)]);
3131
3130
  case 3: return [2];
3132
3131
  }
3133
3132
  });
@@ -3137,13 +3136,13 @@ var VCell = observer(function(e) {
3137
3136
  return t.getData(n);
3138
3137
  }, t.prototype.hasModifiedItems = function() {
3139
3138
  return this.props.store.modified;
3140
- }, t.prototype.doAction = function(e, t, n, i) {
3139
+ }, t.prototype.doAction = function(e, t, r, i) {
3141
3140
  return __awaiter(this, void 0, void 0, function() {
3142
- var n, a, o, s, c, l, u, d, f;
3143
- return __generator(this, function(r) {
3144
- switch (r.label) {
3141
+ var r, a, o, s, c, l, u, d, f;
3142
+ return __generator(this, function(n) {
3143
+ switch (n.label) {
3145
3144
  case 0:
3146
- switch (n = this.props, a = n.store, o = n.valueField, s = n.data, c = e?.actionType, l = c, l) {
3145
+ switch (r = this.props, a = r.store, o = r.valueField, s = r.data, c = e?.actionType, l = c, l) {
3147
3146
  case "selectAll": return [3, 1];
3148
3147
  case "clearAll": return [3, 2];
3149
3148
  case "select": return [3, 3];
@@ -3157,18 +3156,18 @@ var VCell = observer(function(e) {
3157
3156
  case 1: return a.clear(), a.toggleAll(), this.syncSelected(), [3, 13];
3158
3157
  case 2: return a.clear(), this.syncSelected(), [3, 13];
3159
3158
  case 3: return [4, this.getEventTargets(t, i.index, i.condition, i.selected)];
3160
- case 4: return u = r.sent(), a.updateSelected(u.map(function(e) {
3159
+ case 4: return u = n.sent(), a.updateSelected(u.map(function(e) {
3161
3160
  return e.data;
3162
3161
  }), o), this.syncSelected(), [3, 13];
3163
3162
  case 5: return a.startDragging(), [3, 13];
3164
3163
  case 6: return a.stopDragging(), [3, 13];
3165
3164
  case 7: return this.handleSave(), [3, 13];
3166
3165
  case 8: return [4, this.getEventTargets(t, i.index, i.condition)];
3167
- case 9: return d = r.sent(), d.forEach(function(e) {
3166
+ case 9: return d = n.sent(), d.forEach(function(e) {
3168
3167
  a.toggleExpanded(e);
3169
3168
  }), [3, 13];
3170
3169
  case 10: return [4, this.getEventTargets(t, i.index, i.condition)];
3171
- case 11: return f = r.sent(), f.forEach(function(e) {
3170
+ case 11: return f = n.sent(), f.forEach(function(e) {
3172
3171
  a.setExpanded(e, !!i.value);
3173
3172
  }), [3, 13];
3174
3173
  case 12: return [2, this.handleAction(void 0, e, s)];