halo-pc 1.0.9 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. package/dist/{Article-DDHiBRRG.js → Article-DW8xmG7G.js} +27 -28
  2. package/dist/{ArticleFooter-BAf1rKUX.js → ArticleFooter-rZDYiw3e.js} +34 -26
  3. package/dist/Autocomplete-BxqveRGV.js +54 -0
  4. package/dist/Autocomplete-C82HyuP-.js +55 -0
  5. package/dist/{Autocomplete-Bh4HQ3-C.js → Autocomplete-DWcCXaNn.js} +1 -1
  6. package/dist/{CSharp--lmNVuOo.js → CSharp-D8ezQEtX.js} +1 -1
  7. package/dist/{Calender-CvqWvZsn.js → Calender-B_k72iyA.js} +4 -4
  8. package/dist/Callback-C67JLhPy.js +27 -0
  9. package/dist/Cascader-BKw0lpjA.js +88 -0
  10. package/dist/{Cascader-OM7zmX3M.js → Cascader-lyEPSNPd.js} +10 -11
  11. package/dist/Checkbox-CU7e7xai.js +77 -0
  12. package/dist/{Checkbox-BJdqPlkr.js → Checkbox-DJHaBoD6.js} +1 -1
  13. package/dist/{Code-xVaG8AiI.js → Code-BEIgB_tN.js} +1 -1
  14. package/dist/{Code-BACLmk2L.js → Code-C08nadw6.js} +19 -20
  15. package/dist/{Code-DNa70Dop.js → Code-DGfpK3-r.js} +12 -13
  16. package/dist/Code-Uvb-MceU.js +4 -0
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-FEJ6tUQl.js → Code.vue_vue_type_style_index_0_lang-jlu06Tm1.js} +17 -18
  18. package/dist/{Column-DpxOF0y2.js → Column-30OUakBK.js} +20 -22
  19. package/dist/{Comment-CnA1hoQR.js → Comment-FfW-VCIl.js} +10 -11
  20. package/dist/{Compare-i-c4cpHb.js → Compare-9wMHcb3J.js} +19 -20
  21. package/dist/{Compare-cMfhy2tY.js → Compare-iArf3a53.js} +10 -11
  22. package/dist/{Copy-Ccio6WhB.js → Copy-CEP2A6Ak.js} +11 -12
  23. package/dist/Custom-DPTHxx2H.js +54 -0
  24. package/dist/{DataExport-D9qNEXNc.js → DataExport-B9ptb9if.js} +1 -1
  25. package/dist/DataExport.vue_vue_type_script_setup_true_lang-BppwAGES.js +114 -0
  26. package/dist/{DataImport-IlCpp9MO.js → DataImport-qpPXdMVu.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-a85kfspl.js +177 -0
  28. package/dist/Date-B8lAsZ8-.js +44 -0
  29. package/dist/{Date-BzTn9eRY.js → Date-Tb5glksl.js} +1 -1
  30. package/dist/DateRange-ByObxHWr.js +64 -0
  31. package/dist/DateTime-BbN93UMx.js +45 -0
  32. package/dist/{DateTime-ZXRmiyVk.js → DateTime-Dgn-LEf5.js} +1 -1
  33. package/dist/DateTimeRange-CfTu6qfQ.js +68 -0
  34. package/dist/{Daterange-Xx9aigH9.js → Daterange--45M8p70.js} +16 -17
  35. package/dist/{Decimal-d9D3AKgJ.js → Decimal-CQyZDQj1.js} +1 -1
  36. package/dist/Delete-CE8it9pf.js +62 -0
  37. package/dist/Detail-CCI5cvG0.js +75 -0
  38. package/dist/{Dictionary-41lPMLYE.js → Dictionary-BJDdH2_l.js} +17 -18
  39. package/dist/{Email-ME_MU94C.js → Email-DZOL1E9K.js} +22 -14
  40. package/dist/File-DIlderH6.js +162 -0
  41. package/dist/Image-CMFoU_37.js +9 -0
  42. package/dist/{Index-DzobZNQl.js → Index-Bc53p_JO.js} +1 -1
  43. package/dist/Index-C2t-7E3k.js +4 -0
  44. package/dist/{Index-BJcvZpAZ.js → Index-COw9DWML.js} +48 -49
  45. package/dist/Index-CoPy-O1d.js +4 -0
  46. package/dist/{Index-Cgn9c90j.js → Index-CzAZbNEn.js} +1 -1
  47. package/dist/Index-D4PrMUMh.js +76 -0
  48. package/dist/Index-DkbNMJNW.js +4 -0
  49. package/dist/{Index-Dls8FIg_.js → Index-qIlNyJzW.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-yNHjfgMT.js → Index.vue_vue_type_script_setup_true_lang-Bwczfu3R.js} +17 -19
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DEJe_SEU.js → Index.vue_vue_type_script_setup_true_lang-D-18RRZW.js} +14 -16
  52. package/dist/Index.vue_vue_type_style_index_0_lang-CVdVS4kL.js +123 -0
  53. package/dist/{Install-DjEEO5jv.js → Install-GZLwIm-L.js} +12 -14
  54. package/dist/Int-BxMlKc5S.js +47 -0
  55. package/dist/Int-Cd4aeG9h.js +45 -0
  56. package/dist/List-jf7l4cRX.js +79 -0
  57. package/dist/Maintaince-Cu47JcoS.js +21 -0
  58. package/dist/{Markdown-DWztB-nd.js → Markdown-BsqO5jOE.js} +1 -1
  59. package/dist/{Month-C-O9wmfa.js → Month-C0Ox3gpJ.js} +1 -1
  60. package/dist/Month-CM5JIj7m.js +44 -0
  61. package/dist/Month-D9fXZDRB.js +45 -0
  62. package/dist/{Normal-D0jVbV6S.js → Normal-CMn0BChi.js} +50 -51
  63. package/dist/Paging-DlTJQnwX.js +99 -0
  64. package/dist/PagingHeader-B9x-WwXu.js +148 -0
  65. package/dist/PagingRow-CXS8Wi-G.js +74 -0
  66. package/dist/QueryApi-ByGbsbiP.js +21 -0
  67. package/dist/{Racebar-BHxShEk3.js → Racebar-xbbkT_4q.js} +15 -16
  68. package/dist/{Radio-2lj7_vnv.js → Radio-BIXKco1J.js} +1 -1
  69. package/dist/{Register-Bc6si8eQ.js → Register-IToXmg3F.js} +80 -81
  70. package/dist/{RichText-GzSKa3TU.js → RichText-wJVmSjrB.js} +15 -16
  71. package/dist/{SearchFooter-CljN2rfH.js → SearchFooter-DBpTFZSt.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js → SearchFooter.vue_vue_type_style_index_0_lang-DkleuxZO.js} +1 -1
  73. package/dist/{SearchForm-BVZA2l7U.js → SearchForm-DbSPpcQn.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js → SearchForm.vue_vue_type_style_index_0_lang-Bf6geAOD.js} +33 -34
  75. package/dist/{Select-D60XT9o-.js → Select-BE4N7MYF.js} +32 -33
  76. package/dist/{Select-1KvlCVU4.js → Select-BlkhOHpW.js} +1 -1
  77. package/dist/{Select-CocWBLRX.js → Select-iFf-G5il.js} +35 -36
  78. package/dist/{Single-sr-BkPGL.js → Single-BI8xJRtY.js} +89 -90
  79. package/dist/{Statistic-BYcw_PF8.js → Statistic-CKw4ViCN.js} +13 -14
  80. package/dist/{Stock-BKboB1Yy.js → Stock-5ZRpMQS7.js} +1 -1
  81. package/dist/{Stock-BfJZJOlp.js → Stock-Bu1m4p9F.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-BvNVV3nm.js → Stock.vue_vue_type_style_index_0_lang-Z-3SgPLd.js} +12 -13
  83. package/dist/{Switch-aJlpDaFn.js → Switch-BbUNeOC2.js} +1 -1
  84. package/dist/Table-BcRlmQ2m.js +244 -0
  85. package/dist/Table-CAROsa1z.js +324 -0
  86. package/dist/Text-82BwYbAn.js +60 -0
  87. package/dist/Text-B6PstiXr.js +59 -0
  88. package/dist/Text-C5orxjf_.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-VAeTYPEf.js +60 -0
  90. package/dist/{TextLink-C6iV4AMN.js → TextLink-DZfRceBS.js} +18 -19
  91. package/dist/{Textarea-BMTs6P3r.js → Textarea-CC4hXIZk.js} +1 -1
  92. package/dist/Time-B9wex8w1.js +44 -0
  93. package/dist/{Timeline-CbOh5x0N.js → Timeline-BT4ZPpNS.js} +15 -16
  94. package/dist/{Tree-BYDeBPz8.js → Tree-BYI4GjfQ.js} +9 -10
  95. package/dist/{Tree-CJw57RjB.js → Tree-CZ1fiWdm.js} +72 -73
  96. package/dist/TreeNode-DzgaTe70.js +43 -0
  97. package/dist/Update-08r-FKsq.js +70 -0
  98. package/dist/UpdateChild-1p8CJHyB.js +93 -0
  99. package/dist/Upload-CuiXps92.js +73 -0
  100. package/dist/Upload-gBSGjrw5.js +151 -0
  101. package/dist/UploadApi-TPHxniCc.js +21 -0
  102. package/dist/{Year-MmbPwHcY.js → Year-BVvjywAG.js} +1 -1
  103. package/dist/Year-CHdL2Jrm.js +48 -0
  104. package/dist/{vendor-@monaco-editor-DKC4UNw_.js → assets/@monaco-editor-BCDRi0Ti.js} +1 -1
  105. package/dist/{vendor-clipboard-BqjesuiY.js → assets/clipboard-DjQPoCBJ.js} +110 -130
  106. package/dist/{vendor-clone-BPtCWdXG.js → assets/clone-BZn0cTAu.js} +1 -1
  107. package/dist/{vendor-element-plus-Z7vJFrsh.js → assets/element-plus-Dp3QGoBh.js} +0 -4
  108. package/dist/{vendor-file-saver-CytTIJ-3.js → assets/file-saver-CwlpTZSc.js} +1 -1
  109. package/dist/{vendor-intro.js-DhhZ-dhc.js → assets/intro.js-DxWjEdp_.js} +1 -1
  110. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  111. package/dist/{vendor-underscore.string-BEHfJwHl.js → assets/underscore.string-DVXD2SZo.js} +3 -3
  112. package/dist/{vendor-util-deprecate-DzpNkCzj.js → assets/util-deprecate-Dzun97re.js} +1 -1
  113. package/dist/{vendor-vue-i18n-C3KH15Qn.js → assets/vue-i18n-CLr3brPz.js} +2 -2
  114. package/dist/main-B0cM0pYd.js +8830 -0
  115. package/dist/main.js +146 -121
  116. package/dist/style.css +1 -1
  117. package/esm/coms/business/{HaCrud.vue.d.ts → Crud.vue.d.ts} +1 -1
  118. package/esm/coms/business/{HaDrawer.vue.d.ts → Drawer.vue.d.ts} +1 -1
  119. package/esm/coms/business/{HaDriver.vue.d.ts → Driver.vue.d.ts} +2 -2
  120. package/esm/coms/business/{HaForm.vue.d.ts → Form.vue.d.ts} +1 -1
  121. package/esm/coms/business/index.d.ts +9 -120
  122. package/esm/coms/business/types/CrudProps.d.ts +22 -0
  123. package/esm/coms/business/types/DrawerProps.d.ts +14 -0
  124. package/esm/coms/business/types/DriverProps.d.ts +63 -0
  125. package/esm/coms/business/types/FormProps.d.ts +18 -0
  126. package/esm/coms/business/types/index.d.ts +5 -0
  127. package/esm/coms/commons/{HaTable.vue.d.ts → Table.vue.d.ts} +1 -1
  128. package/esm/coms/commons/index.d.ts +8 -36
  129. package/esm/coms/commons/types/TableProps.d.ts +30 -0
  130. package/esm/coms/commons/types/index.d.ts +2 -0
  131. package/esm/coms/controls/Autocomplete.vue.d.ts +2 -2
  132. package/esm/coms/controls/Cascader.vue.d.ts +2 -2
  133. package/esm/coms/controls/Checkbox.vue.d.ts +2 -2
  134. package/esm/coms/controls/Code.vue.d.ts +2 -2
  135. package/esm/coms/controls/Color.vue.d.ts +2 -2
  136. package/esm/coms/controls/Compare.vue.d.ts +2 -2
  137. package/esm/coms/controls/Date.vue.d.ts +2 -2
  138. package/esm/coms/controls/DateRange.vue.d.ts +2 -2
  139. package/esm/coms/controls/DateTime.vue.d.ts +2 -2
  140. package/esm/coms/controls/DateTimeRange.vue.d.ts +2 -2
  141. package/esm/coms/controls/Decimal.vue.d.ts +2 -2
  142. package/esm/coms/controls/Email.vue.d.ts +2 -2
  143. package/esm/coms/controls/Index.vue.d.ts +1 -1
  144. package/esm/coms/controls/Int.vue.d.ts +2 -2
  145. package/esm/coms/controls/Markdown.vue.d.ts +2 -2
  146. package/esm/coms/controls/Month.vue.d.ts +2 -2
  147. package/esm/coms/controls/Password.vue.d.ts +2 -2
  148. package/esm/coms/controls/Progress.vue.d.ts +2 -2
  149. package/esm/coms/controls/Radio.vue.d.ts +2 -2
  150. package/esm/coms/controls/Rate.vue.d.ts +2 -2
  151. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  152. package/esm/coms/controls/Select.vue.d.ts +2 -2
  153. package/esm/coms/controls/Switch.vue.d.ts +2 -2
  154. package/esm/coms/controls/Text.vue.d.ts +2 -2
  155. package/esm/coms/controls/Textarea.vue.d.ts +2 -2
  156. package/esm/coms/controls/Time.vue.d.ts +2 -2
  157. package/esm/coms/controls/Upload.vue.d.ts +2 -2
  158. package/esm/coms/controls/Year.vue.d.ts +2 -2
  159. package/esm/coms/controls/index.d.ts +1 -26
  160. package/esm/coms/controls/types/ControlProps.d.ts +26 -0
  161. package/esm/coms/controls/types/index.d.ts +2 -0
  162. package/esm/coms/globals/{HaWindow.vue.d.ts → Window.vue.d.ts} +1 -1
  163. package/esm/coms/globals/index.d.ts +9 -70
  164. package/esm/coms/globals/types/WindowOptions.d.ts +38 -0
  165. package/esm/coms/globals/types/WindowProps.d.ts +27 -0
  166. package/esm/coms/globals/types/index.d.ts +3 -0
  167. package/esm/coms/layouts/index.d.ts +2 -6
  168. package/esm/coms/layouts/types/ITaskBar.d.ts +6 -0
  169. package/esm/coms/layouts/types/index.d.ts +2 -0
  170. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  171. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  172. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  173. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  174. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  175. package/esm/coms/lists/index.d.ts +2 -15
  176. package/esm/coms/lists/types/ListProps.d.ts +15 -0
  177. package/esm/coms/lists/types/index.d.ts +2 -0
  178. package/esm/coms/pages/Column.vue.d.ts +1 -1
  179. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  180. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  181. package/esm/coms/pages/List.vue.d.ts +1 -1
  182. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  183. package/esm/coms/pages/Single.vue.d.ts +1 -1
  184. package/esm/coms/pages/index.d.ts +2 -145
  185. package/esm/coms/pages/types/ColumnPageProps.d.ts +14 -0
  186. package/esm/coms/pages/types/CustomPageProps.d.ts +14 -0
  187. package/esm/coms/pages/types/DeletePageProps.d.ts +15 -0
  188. package/esm/coms/pages/types/KeyboardType.d.ts +8 -0
  189. package/esm/coms/pages/types/ListPageProps.d.ts +15 -0
  190. package/esm/coms/pages/types/PageEmit.d.ts +22 -0
  191. package/esm/coms/pages/types/PageProps.d.ts +10 -0
  192. package/esm/coms/pages/types/PagingPageProps.d.ts +15 -0
  193. package/esm/coms/pages/types/SchemaProps.d.ts +30 -0
  194. package/esm/coms/pages/types/SinglePageProps.d.ts +15 -0
  195. package/esm/coms/pages/types/index.d.ts +11 -0
  196. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  197. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  198. package/esm/coms/pagings/File.vue.d.ts +1 -1
  199. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  200. package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
  201. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  202. package/esm/coms/pagings/index.d.ts +2 -11
  203. package/esm/coms/pagings/types/PagingProps.d.ts +11 -0
  204. package/esm/coms/pagings/types/index.d.ts +2 -0
  205. package/esm/coms/panels/{HaOperation.vue.d.ts → Operation.vue.d.ts} +1 -1
  206. package/esm/coms/panels/index.d.ts +5 -13
  207. package/esm/coms/panels/types/OperationProps.d.ts +10 -0
  208. package/esm/coms/panels/types/index.d.ts +2 -0
  209. package/esm/coms/partials/ArticleFooter.vue.d.ts +10 -10
  210. package/esm/coms/partials/Detail.vue.d.ts +6 -6
  211. package/esm/coms/partials/PagingHeader.vue.d.ts +14 -14
  212. package/esm/coms/partials/PagingRow.vue.d.ts +10 -10
  213. package/esm/coms/partials/Update.vue.d.ts +4 -4
  214. package/esm/coms/partials/UpdateChild.vue.d.ts +8 -8
  215. package/esm/coms/partials/types/ArticleFooterEmit.d.ts +26 -0
  216. package/esm/coms/partials/types/DetailEmit.d.ts +18 -0
  217. package/esm/coms/partials/types/PagingHeaderEmit.d.ts +34 -0
  218. package/esm/coms/partials/types/PagingRowEmit.d.ts +26 -0
  219. package/esm/coms/partials/types/UpdateChildEmit.d.ts +22 -0
  220. package/esm/coms/partials/types/UpdateEmit.d.ts +14 -0
  221. package/esm/coms/partials/types/index.d.ts +7 -1
  222. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  223. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  224. package/esm/coms/searches/Int.vue.d.ts +1 -1
  225. package/esm/coms/searches/Month.vue.d.ts +1 -1
  226. package/esm/coms/searches/Select.vue.d.ts +1 -1
  227. package/esm/coms/searches/Text.vue.d.ts +1 -1
  228. package/esm/coms/searches/index.d.ts +1 -1
  229. package/esm/coms/singles/Code.vue.d.ts +1 -1
  230. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  231. package/esm/coms/singles/Index.vue.d.ts +1 -1
  232. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  233. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  234. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  235. package/esm/coms/singles/Table.vue.d.ts +1 -1
  236. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  237. package/esm/coms/singles/index.d.ts +2 -15
  238. package/esm/coms/singles/types/SingleProps.d.ts +15 -0
  239. package/esm/coms/singles/types/index.d.ts +2 -0
  240. package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
  241. package/esm/coms/texts/CSharp.vue.d.ts +1 -1
  242. package/esm/coms/texts/Cascader.vue.d.ts +1 -1
  243. package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
  244. package/esm/coms/texts/Code.vue.d.ts +1 -1
  245. package/esm/coms/texts/Color.vue.d.ts +1 -1
  246. package/esm/coms/texts/Compare.vue.d.ts +1 -1
  247. package/esm/coms/texts/Copy.vue.d.ts +1 -1
  248. package/esm/coms/texts/Date.vue.d.ts +1 -1
  249. package/esm/coms/texts/DateRange.vue.d.ts +1 -1
  250. package/esm/coms/texts/DateTime.vue.d.ts +1 -1
  251. package/esm/coms/texts/Decimal.vue.d.ts +1 -1
  252. package/esm/coms/texts/Dictionary.vue.d.ts +2 -2
  253. package/esm/coms/texts/Email.vue.d.ts +1 -1
  254. package/esm/coms/texts/Index.vue.d.ts +1 -1
  255. package/esm/coms/texts/Int.vue.d.ts +1 -1
  256. package/esm/coms/texts/Markdown.vue.d.ts +1 -1
  257. package/esm/coms/texts/Month.vue.d.ts +1 -1
  258. package/esm/coms/texts/Password.vue.d.ts +1 -1
  259. package/esm/coms/texts/Progress.vue.d.ts +1 -1
  260. package/esm/coms/texts/Radio.vue.d.ts +1 -1
  261. package/esm/coms/texts/Rate.vue.d.ts +2 -2
  262. package/esm/coms/texts/RichText.vue.d.ts +1 -1
  263. package/esm/coms/texts/Select.vue.d.ts +1 -1
  264. package/esm/coms/texts/Switch.vue.d.ts +1 -1
  265. package/esm/coms/texts/Text.vue.d.ts +1 -1
  266. package/esm/coms/texts/TextLink.vue.d.ts +2 -2
  267. package/esm/coms/texts/Textarea.vue.d.ts +1 -1
  268. package/esm/coms/texts/Upload.vue.d.ts +1 -1
  269. package/esm/coms/texts/Year.vue.d.ts +1 -1
  270. package/esm/main.d.ts +6 -7
  271. package/esm/plugins/PcMessenger.d.ts +2 -2
  272. package/esm/plugins/index.d.ts +2 -1
  273. package/esm/svcs/AppSvc.d.ts +1 -1
  274. package/esm/svcs/PageSvc.d.ts +7 -15
  275. package/esm/svcs/PcI18nSvc.d.ts +15 -0
  276. package/esm/svcs/index.d.ts +10 -7
  277. package/package.json +10 -10
  278. package/dist/Autocomplete-BljowPIG.js +0 -56
  279. package/dist/Autocomplete-d0MR8Xx2.js +0 -55
  280. package/dist/Callback-BrvO3W91.js +0 -28
  281. package/dist/Cascader-DIvprKCI.js +0 -88
  282. package/dist/Checkbox-CYpA0Abh.js +0 -69
  283. package/dist/Code-Du9XlTYj.js +0 -4
  284. package/dist/Custom-d7B0U9LW.js +0 -55
  285. package/dist/DataExport.vue_vue_type_script_setup_true_lang-LIX8EWdw.js +0 -115
  286. package/dist/DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js +0 -178
  287. package/dist/Date-BeHsQ2Ow.js +0 -36
  288. package/dist/DateRange-TLadnU8z.js +0 -65
  289. package/dist/DateTime-BfNjKDfI.js +0 -37
  290. package/dist/DateTimeRange-WV8dpf1A.js +0 -69
  291. package/dist/Delete-C1lDzul8.js +0 -63
  292. package/dist/Detail-DwkywBpF.js +0 -77
  293. package/dist/File-CdfGLpx0.js +0 -164
  294. package/dist/Image-j_l1rTVS.js +0 -9
  295. package/dist/Index-CRW3fKQm.js +0 -4
  296. package/dist/Index-DDYN0PN6.js +0 -77
  297. package/dist/Index-DyDnI3Eh.js +0 -4
  298. package/dist/Index-p6jrekIF.js +0 -4
  299. package/dist/Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js +0 -116
  300. package/dist/Int-C-0RMDmy.js +0 -37
  301. package/dist/Int-DCCHJ3Py.js +0 -48
  302. package/dist/List-B0jkK3__.js +0 -80
  303. package/dist/Maintaince-BvSeToFI.js +0 -22
  304. package/dist/Month-B_SzKf02.js +0 -36
  305. package/dist/Month-DfemgHac.js +0 -37
  306. package/dist/Paging-DotrJ4K7.js +0 -100
  307. package/dist/PagingHeader-CBXHiUXR.js +0 -140
  308. package/dist/PagingRow-tny-wHwu.js +0 -66
  309. package/dist/QueryApi-BfzWPAaT.js +0 -22
  310. package/dist/Table-C7utV1zP.js +0 -322
  311. package/dist/Table-Cb3ebUjd.js +0 -242
  312. package/dist/Text-BRRmmXYV.js +0 -52
  313. package/dist/Text-BwvQUh3H.js +0 -4
  314. package/dist/Text-DKpPIUcY.js +0 -51
  315. package/dist/Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js +0 -60
  316. package/dist/Time-BcQzBDX-.js +0 -36
  317. package/dist/TreeNode-f5QIDN_8.js +0 -44
  318. package/dist/Update-4MVWAqee.js +0 -72
  319. package/dist/UpdateChild-B2A3hP6m.js +0 -85
  320. package/dist/Upload-CZH4eCZj.js +0 -74
  321. package/dist/Upload-DLvv8FP4.js +0 -152
  322. package/dist/UploadApi-BP2K-0bT.js +0 -22
  323. package/dist/Year-1ug2_a1g.js +0 -40
  324. package/dist/main-Bf4o1iyx.js +0 -8145
  325. package/dist/vendor-crypto-js-YOeWQTUw.js +0 -4997
  326. package/dist/vendor-xlsx-js-style-DIFxrP6P.js +0 -11862
  327. package/esm/svcs/I18nSvc.d.ts +0 -79
  328. package/esm/vite.config.d.ts +0 -6
  329. /package/dist/{vendor-@intlify-BISCQg1h.js → assets/@intlify-BISCQg1h.js} +0 -0
  330. /package/dist/{vendor-@vue-aVYGocXp.js → assets/@vue-aVYGocXp.js} +0 -0
  331. /package/dist/{vendor-moment-h96o7c8I.js → assets/moment-h96o7c8I.js} +0 -0
  332. /package/dist/{vendor-sprintf-js-BPTdvBYM.js → assets/sprintf-js-BPTdvBYM.js} +0 -0
  333. /package/dist/{vendor-state-local-CEworIRt.js → assets/state-local-CEworIRt.js} +0 -0
  334. /package/dist/{vendor-underscore-B0BCaBxV.js → assets/underscore-B0BCaBxV.js} +0 -0
  335. /package/esm/coms/business/{HaCondition.vue.d.ts → Condition.vue.d.ts} +0 -0
  336. /package/esm/coms/business/{HaFeedback.vue.d.ts → Feedback.vue.d.ts} +0 -0
  337. /package/esm/coms/business/{HaSwitch.vue.d.ts → Switch.vue.d.ts} +0 -0
  338. /package/esm/coms/business/{HaWelcome.vue.d.ts → Welcome.vue.d.ts} +0 -0
  339. /package/esm/coms/commons/{HaCaptcha.vue.d.ts → Captcha.vue.d.ts} +0 -0
  340. /package/esm/coms/commons/{HaDebug.vue.d.ts → Debug.vue.d.ts} +0 -0
  341. /package/esm/coms/commons/{HaEditable.vue.d.ts → Editable.vue.d.ts} +0 -0
  342. /package/esm/coms/commons/{HaLoading.vue.d.ts → Loading.vue.d.ts} +0 -0
  343. /package/esm/coms/commons/{HaMouseContext.vue.d.ts → MouseContext.vue.d.ts} +0 -0
  344. /package/esm/coms/commons/{HaParticles.vue.d.ts → Particles.vue.d.ts} +0 -0
  345. /package/esm/coms/commons/{HaResizer.vue.d.ts → Resizer.vue.d.ts} +0 -0
  346. /package/esm/coms/commons/{HaSpinner.vue.d.ts → Spinner.vue.d.ts} +0 -0
  347. /package/esm/coms/commons/{HaTableColumn.vue.d.ts → TableColumn.vue.d.ts} +0 -0
  348. /package/esm/coms/globals/{HaHeaderTab.vue.d.ts → HeaderTab.vue.d.ts} +0 -0
  349. /package/esm/coms/globals/{HaHeaderTabs.vue.d.ts → HeaderTabs.vue.d.ts} +0 -0
  350. /package/esm/coms/globals/{HaMenu.vue.d.ts → Menu.vue.d.ts} +0 -0
  351. /package/esm/coms/globals/{HaMenuItem.vue.d.ts → MenuItem.vue.d.ts} +0 -0
  352. /package/esm/coms/globals/{HaMissComponent.vue.d.ts → MissComponent.vue.d.ts} +0 -0
  353. /package/esm/coms/globals/{HaSideTab.vue.d.ts → SideTab.vue.d.ts} +0 -0
  354. /package/esm/coms/globals/{HaSideTabs.vue.d.ts → SideTabs.vue.d.ts} +0 -0
  355. /package/esm/coms/panels/{HaGroup.vue.d.ts → Group.vue.d.ts} +0 -0
  356. /package/esm/coms/panels/{HaHeader.vue.d.ts → Header.vue.d.ts} +0 -0
  357. /package/esm/coms/panels/{HaPanel.vue.d.ts → Panel.vue.d.ts} +0 -0
  358. /package/esm/coms/panels/{HaShrink.vue.d.ts → Shrink.vue.d.ts} +0 -0
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ u({
10
10
  modelValue: { type: [String, Number, Boolean] }
11
11
  },
12
12
  setup(a) {
13
- let r = f(() => import("./Dictionary-41lPMLYE.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
13
+ let r = f(() => import("./Dictionary-BJDdH2_l.js")), n = a, { schema: m, table: s, field: i, set: d, row: p, modelValue: t } = c(n);
14
14
  return (h, l) => (b(), w(e(r), {
15
15
  schema: e(m),
16
16
  table: e(s),
@@ -0,0 +1,244 @@
1
+ import { defineComponent as Re, defineAsyncComponent as Se, toRefs as ke, ref as m, onMounted as He, computed as K, watch as $e, resolveComponent as b, openBlock as f, createElementBlock as $, Fragment as X, createVNode as R, unref as e, withCtx as v, createTextVNode as Fe, toDisplayString as I, createBlock as F, createCommentVNode as z, renderList as ze, createElementVNode as C, normalizeStyle as De, resolveDynamicComponent as qe, nextTick as Y } from "vue";
2
+ import { J as Z, P as Be, d as Ie, t as Me, f as Ne, q as ee, s as M, D as y, Q as N, R as te, A as O, O as Oe, N as Te } from "./main-B0cM0pYd.js";
3
+ import "./assets/file-saver-CwlpTZSc.js";
4
+ import "./assets/underscore.string-DVXD2SZo.js";
5
+ import "./assets/@monaco-editor-BCDRi0Ti.js";
6
+ import "./assets/moment-h96o7c8I.js";
7
+ import "./assets/liquidjs-C-LVcoaY.js";
8
+ const We = {
9
+ key: 0,
10
+ class: "required"
11
+ }, Ae = ["onMouseenter"], Ee = /* @__PURE__ */ C("i", { class: "fa fa-question-circle icon-question" }, null, -1), Ve = { class: "footer-left" }, je = { class: "footer-right" }, Ye = /* @__PURE__ */ Re({
12
+ __name: "Table",
13
+ props: {
14
+ route: {},
15
+ validateErrors: {},
16
+ module: {},
17
+ schema: {},
18
+ table: {},
19
+ layout: {},
20
+ next: {},
21
+ set: {}
22
+ },
23
+ emits: ["submit", "change", "row-edit"],
24
+ setup(le, { expose: ae, emit: oe }) {
25
+ let ne = Se(() => import("./Index-Bc53p_JO.js")), D = oe, re = le, { schema: T, table: l, layout: d, set: s, next: Le, route: W, module: S, validateErrors: A } = ke(re), _ = m({ page: 1 }), E = m(), p = m([]), ue = m(!0), k = m(), V = m(), j = m(), L = m(), g = m({ layout: "prev, pager, next", count: 5 }), ie = (t, o, n) => {
26
+ D("row-edit", t, l.value, n);
27
+ }, se = (t) => {
28
+ D("submit", t);
29
+ }, de = (t, o) => {
30
+ let n = l.value.show[o];
31
+ return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
32
+ }, pe = (t, o) => {
33
+ let n = t.target.children[0].offsetWidth, u = l.value.show[o];
34
+ u._headerWidth = n;
35
+ }, me = (t, o, n, u, a) => {
36
+ D("change", t, o, n, u, a);
37
+ }, P = (t) => s.value[l.value.name].indexOf(t), ce = (t) => {
38
+ p.value = t;
39
+ }, fe = async (t, o, n, u, a) => {
40
+ await Z.setColumnWidth(W.value, a.name, n.property, t);
41
+ }, ve = (t) => {
42
+ U(t.contentRect.width), Y(() => {
43
+ J(t.contentRect.height);
44
+ });
45
+ }, U = (t = null) => {
46
+ let o = y.parentUntil(k.value.$el, ".ha-main-form");
47
+ t == null && (t = y.getWidth(o)), t <= 690 ? g.value.count = 5 : g.value.count = 7, t <= 300 ? g.value.layout = "pager" : t <= 620 ? g.value.layout = "prev, pager, next" : g.value.layout = "total, prev, pager, next, jumper";
48
+ }, J = (t = null) => {
49
+ let o = y.parentUntil(k.value.$el, ".ha-main-form");
50
+ t || (t = y.getHeight(o));
51
+ let n = y.getHeight(V.value), u = y.find(o, ".main-footer"), a = y.getHeight(u), i = t - n - a;
52
+ L.value = `${i}px`;
53
+ }, ge = async () => {
54
+ let t = s.value[l.value.name].length, o = M.getDefaultRow(l.value);
55
+ s.value[l.value.name].push(o);
56
+ let n = l.value.fields.filter((a) => a.feature != null);
57
+ for (let a = 0; a < n.length; a++) {
58
+ let i = n[a];
59
+ (await N.feature.create(i.feature.type)).add(l.value, i, s.value, o);
60
+ }
61
+ q(t);
62
+ let u = te.isBottom(".tree-detail");
63
+ await Y(() => {
64
+ u && te.scrollToBottom(".tree-detail");
65
+ });
66
+ }, he = async (t = null) => {
67
+ let o = p.value[0], n = M.getDefaultRow(l.value), u = O.insert(s.value[l.value.name], o, n), a = l.value.fields.filter((i) => i.feature != null);
68
+ for (let i = 0; i < a.length; i++) {
69
+ let c = a[i];
70
+ (await N.feature.create(c.feature.type)).insert(l.value, c, s.value, o, n);
71
+ }
72
+ q(u), t == null || t(u);
73
+ }, ye = async () => {
74
+ let t = l.value.key.name, o = Oe.clone(p.value, (a) => {
75
+ a[t] = null, a[`Old_${t}`] = null;
76
+ }), n = s.value[l.value.name].indexOf(p.value[0]);
77
+ for (let a = 0; a < p.value.length; a++) {
78
+ let i = p.value[a], c = o[a];
79
+ O.append(s.value[l.value.name], i, c);
80
+ }
81
+ let u = l.value.fields.filter((a) => a.feature != null);
82
+ for (let a = 0; a < u.length; a++) {
83
+ let i = u[a];
84
+ (await N.feature.create(i.feature.type)).copy(l.value, i, s.value);
85
+ }
86
+ q(n);
87
+ }, _e = () => {
88
+ O.remove(s.value[l.value.name], p.value), p.value = [];
89
+ }, q = (t) => {
90
+ let o = Te.pageCount(t + 1, d.value.pageSize);
91
+ _.value.page = o;
92
+ }, we = (t) => {
93
+ _.value.page = t;
94
+ }, xe = () => {
95
+ k.value.$el.querySelector("tbody");
96
+ };
97
+ He(async () => {
98
+ E.value = await Z.getFieldConfigs(), xe(), U(), Be.detectLoaded(j, () => {
99
+ J();
100
+ });
101
+ });
102
+ let be = K(() => {
103
+ let t = (_.value.page - 1) * d.value.pageSize, o = _.value.page * d.value.pageSize - 1;
104
+ return s.value[l.value.name].filter((u, a) => a >= t && a <= o);
105
+ }), Ce = K(() => {
106
+ let t = l.value.main ? `/${l.value.name}` : `/${T.value[0].name}/${l.value.name}`;
107
+ return Ie.getComponent(`${t}/update-child`, "partial", "update-child");
108
+ });
109
+ return $e(A, (t, o) => {
110
+ let n = t.find((u) => u.table == l.value.name);
111
+ n != null && (_.value.page = Math.ceil((n.index + 1) / d.value.pageSize));
112
+ }), ae({ resize: ve }), (t, o) => {
113
+ const n = b("el-table-column"), u = b("el-tooltip"), a = b("el-popover"), i = b("el-form-item"), c = b("el-table"), Q = b("el-pagination");
114
+ return f(), $(X, null, [
115
+ R(c, {
116
+ ref_key: "tableRef",
117
+ ref: k,
118
+ class: "ha-table-layout table-default",
119
+ size: "small",
120
+ border: "",
121
+ "max-height": e(L),
122
+ data: e(be),
123
+ onRowClick: o[0] || (o[0] = (r, h, w) => e(ie)(r, h, w)),
124
+ onSelectionChange: e(ce),
125
+ onHeaderDragend: o[1] || (o[1] = (r, h, w, H) => e(fe)(r, h, w, H, e(l)))
126
+ }, {
127
+ empty: v(() => [
128
+ Fe(I(e(Me)("common.no_data")), 1)
129
+ ]),
130
+ default: v(() => [
131
+ e(ue) ? (f(), F(n, {
132
+ key: 0,
133
+ type: "selection",
134
+ width: "40",
135
+ fixed: ""
136
+ })) : z("", !0),
137
+ (f(!0), $(X, null, ze(e(l).show, (r, h) => {
138
+ var w, H, G;
139
+ return f(), F(n, {
140
+ key: r.name,
141
+ "show-overflow-tooltip": "",
142
+ prop: r.name,
143
+ label: r.label,
144
+ "min-width": ((G = (H = (w = e(E)) == null ? void 0 : w[e(W)]) == null ? void 0 : H[e(l).name]) == null ? void 0 : G[r.name]) ?? r.control.width,
145
+ fixed: e(d).fixed.length > 0 ? e(d).fixed.indexOf(r.name) > -1 : h == 0
146
+ }, {
147
+ header: v((x) => [
148
+ e(S).type != "Detail" && r.control.required ? (f(), $("i", We, "*")) : z("", !0),
149
+ R(u, {
150
+ placement: "top",
151
+ content: r.label,
152
+ disabled: e(de)(x, h)
153
+ }, {
154
+ default: v(() => [
155
+ C("span", {
156
+ onMouseenter: (B) => e(pe)(B, h)
157
+ }, [
158
+ C("span", null, I(e(Ne)(e(l).table, r.name)), 1)
159
+ ], 40, Ae)
160
+ ]),
161
+ _: 2
162
+ }, 1032, ["content", "disabled"]),
163
+ r.control.tooltip ? (f(), F(a, {
164
+ key: 1,
165
+ trigger: "hover",
166
+ placement: "top",
167
+ width: "auto",
168
+ title: r.control.tooltip.title
169
+ }, {
170
+ reference: v(() => [
171
+ Ee
172
+ ]),
173
+ default: v(() => [
174
+ C("pre", null, I(r.control.tooltip.content), 1)
175
+ ]),
176
+ _: 2
177
+ }, 1032, ["title"])) : z("", !0)
178
+ ]),
179
+ default: v((x) => [
180
+ R(i, {
181
+ style: De(e(ee).getStyle(r, e(S).type, e(d).type)),
182
+ rules: e(M).getRules(e(A), e(l), r, x.$index),
183
+ prop: `[${e(l).name}][${e(P)(x.row)}][${r.name}]`
184
+ }, {
185
+ default: v(() => [
186
+ R(e(ne), {
187
+ schema: e(T),
188
+ table: e(l),
189
+ field: r,
190
+ set: e(s),
191
+ row: x.row,
192
+ config: e(ee).getConfig(r, e(S).type, e(d).type),
193
+ onSubmit: e(se),
194
+ onChange: (B) => e(me)(B, e(s), e(l), r, e(P)(x.row))
195
+ }, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
196
+ ]),
197
+ _: 2
198
+ }, 1032, ["style", "rules", "prop"])
199
+ ]),
200
+ _: 2
201
+ }, 1032, ["prop", "label", "min-width", "fixed"]);
202
+ }), 128))
203
+ ]),
204
+ _: 1
205
+ }, 8, ["max-height", "data", "onSelectionChange"]),
206
+ e(l).main ? z("", !0) : (f(), $("div", {
207
+ key: 0,
208
+ ref_key: "footerRef",
209
+ ref: V,
210
+ class: "table-footer"
211
+ }, [
212
+ C("div", Ve, [
213
+ (f(), F(qe(e(Ce)), {
214
+ ref_key: "operationRef",
215
+ ref: j,
216
+ module: e(S),
217
+ table: e(l),
218
+ set: e(s),
219
+ selection: e(p),
220
+ onAdd: e(ge),
221
+ onInsert: e(he),
222
+ onCopy: e(ye),
223
+ onRemove: e(_e)
224
+ }, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
225
+ ]),
226
+ C("div", je, [
227
+ R(Q, {
228
+ background: "",
229
+ layout: e(g).layout,
230
+ "current-page": e(_).page,
231
+ "page-size": e(d).pageSize,
232
+ "pager-count": e(g).count,
233
+ total: e(s)[e(l).name].length,
234
+ onCurrentChange: e(we)
235
+ }, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
236
+ ])
237
+ ], 512))
238
+ ], 64);
239
+ };
240
+ }
241
+ });
242
+ export {
243
+ Ye as default
244
+ };
@@ -0,0 +1,324 @@
1
+ import { defineComponent as We, toRefs as He, ref as i, onMounted as Be, nextTick as K, computed as le, resolveComponent as k, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as De, withCtx as h, createTextVNode as oe, toDisplayString as R, Fragment as Te, renderList as Ue, createBlock as S, createCommentVNode as z, createElementVNode as T, resolveDynamicComponent as Ne } from "vue";
2
+ import "./assets/underscore.string-DVXD2SZo.js";
3
+ import { J as P, D as $, d as Ee, K as Le, t as j, f as Me, q as qe, L as Ke, N as Pe, U as je, a as Ae, h as Fe, m as Oe, b as Ie } from "./main-B0cM0pYd.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/@monaco-editor-BCDRi0Ti.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ import "./assets/liquidjs-C-LVcoaY.js";
10
+ import { _ as Je } from "./SearchForm.vue_vue_type_style_index_0_lang-Bf6geAOD.js";
11
+ import { _ as Ge } from "./DataImport.vue_vue_type_script_setup_true_lang-a85kfspl.js";
12
+ import { _ as Qe } from "./DataExport.vue_vue_type_script_setup_true_lang-BppwAGES.js";
13
+ import { _ as Xe } from "./Index.vue_vue_type_style_index_0_lang-CVdVS4kL.js";
14
+ import "vue-router";
15
+ import "./assets/intro.js-DxWjEdp_.js";
16
+ import { _ as Ye } from "./SearchFooter.vue_vue_type_style_index_0_lang-DkleuxZO.js";
17
+ const Ze = {
18
+ key: 0,
19
+ class: "required"
20
+ }, et = ["onMouseenter"], tt = { class: "el-drawer__title" }, at = { key: 0 }, lt = ["href"], _t = /* @__PURE__ */ We({
21
+ __name: "Table",
22
+ props: {
23
+ searchData: {},
24
+ module: {},
25
+ schema: {},
26
+ table: {},
27
+ layout: {},
28
+ next: {},
29
+ set: {}
30
+ },
31
+ emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
32
+ setup(ne, { expose: re, emit: se }) {
33
+ let b = se, ie = ne, { module: ue, schema: U, table: r, layout: u, next: p, set: _, searchData: A } = He(ie), N = i([]), V = i(), E = i(), L = i(), F = i(), O = i(), W = i(), m = i(!1), g = i(!1), I = i(), J = i("120px"), G = i(), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), H = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), de = (t) => {
34
+ x("insert", null, t);
35
+ }, pe = (t, a) => {
36
+ x("detail", t, a);
37
+ }, me = (t, a) => {
38
+ x("update", t, a);
39
+ }, ge = (t, a) => {
40
+ x("copy", t, a);
41
+ }, ce = (t, a) => {
42
+ x("delete", t, a);
43
+ }, Q = (t) => {
44
+ let a = t.map((o) => o[r.value.key.name]);
45
+ Fe.post(p.value.delete.route, a).then((o) => {
46
+ Oe.success(o.message), M();
47
+ });
48
+ }, x = (t, a, o) => {
49
+ let s = ve(t, a);
50
+ o.ctrlKey ? (n.value.row = null, b("navigate", s)) : (n.value.appendToBody = o.altKey, n.value.page = t, n.value.url = s, n.value.row = a, n.value.visible = !0);
51
+ }, ve = (t, a = null) => {
52
+ let o = `${p.value[t].route}`;
53
+ if (a != null) {
54
+ let s = a[r.value.key.name];
55
+ o += `?id=${s}`;
56
+ }
57
+ return o;
58
+ }, fe = () => {
59
+ n.value.visible = !1, b("close");
60
+ }, he = (t) => {
61
+ n.value.title = Ie(t.module.type, t.module.name), n.value.env = t.module.env;
62
+ }, M = () => {
63
+ n.value.visible = !1;
64
+ let t = N.value;
65
+ b("succeed", (a) => {
66
+ let o = a.data.set[r.value.name];
67
+ if (!o.length)
68
+ return;
69
+ let s = r.value.key;
70
+ K(() => {
71
+ let c = n.value.row;
72
+ if (c) {
73
+ let d = o.find((C) => C[s.name] == c[s.name]);
74
+ d && E.value.setCurrentRow(d);
75
+ }
76
+ if (t.length > 0)
77
+ for (let d of t) {
78
+ let C = o.find((l) => l[s.name] == d[s.name]);
79
+ E.value.toggleRowSelection(C, !0);
80
+ }
81
+ });
82
+ });
83
+ }, X = (t) => {
84
+ b("search", t);
85
+ }, ye = (t) => {
86
+ b("page-change", t);
87
+ }, be = (t) => {
88
+ b("size-change", t);
89
+ }, we = (t, a) => {
90
+ let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
91
+ b("sort", o);
92
+ }, _e = (t, a, o, s, c) => {
93
+ }, xe = (t) => {
94
+ J.value = t;
95
+ }, Ce = (t, a) => {
96
+ N.value = t;
97
+ }, ke = (t, a, o) => {
98
+ let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
99
+ o._headerTooltip = c > d;
100
+ }, Re = async (t, a, o, s) => {
101
+ await P.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
102
+ }, Y = () => {
103
+ var s, c, d;
104
+ let t = $.getHeight(V.value), a = $.getHeight([(s = L.value) == null ? void 0 : s.$el, (c = F.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
105
+ I.value = `${o}px`;
106
+ }, Z = () => {
107
+ let t = H.value;
108
+ t <= 690 ? y.value.count = 5 : y.value.count = 7, t <= 300 ? y.value.layout = "pager" : t <= 620 ? y.value.layout = "prev, pager, next" : y.value.layout = "sizes, total, prev, pager, next, jumper";
109
+ }, Se = (t, a) => {
110
+ if (!W.value || !W.value.keyboard)
111
+ return !1;
112
+ W.value.keyboard(t, a);
113
+ }, ze = (t) => {
114
+ L.value.resize(t), H.value = $.getWidth(V.value), Z(), K(() => {
115
+ Y();
116
+ });
117
+ };
118
+ Be(async () => {
119
+ G.value = await P.getFieldConfigs(), H.value = $.getWidth(V.value), Z(), K(() => {
120
+ Y();
121
+ });
122
+ });
123
+ let $e = le(() => {
124
+ let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
125
+ return { prop: a, order: o ? "ascending" : "descending" };
126
+ }), Ve = le(() => {
127
+ let t = `/${r.value.name}/paging-row`;
128
+ return Ee.getComponent(t, "partial", "paging-row");
129
+ });
130
+ return re({ keyboard: Se, resize: ze }), (t, a) => {
131
+ const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), C = k("el-drawer");
132
+ return f(), D("div", {
133
+ ref_key: "pagingRef",
134
+ ref: V,
135
+ class: "paging-table"
136
+ }, [
137
+ v(Je, {
138
+ ref_key: "searchRef",
139
+ ref: L,
140
+ schema: e(U),
141
+ table: e(r),
142
+ layout: e(u),
143
+ "search-data": e(A),
144
+ onSubmit: e(X)
145
+ }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
146
+ v(Ye, {
147
+ ref_key: "headerRef",
148
+ ref: F,
149
+ schema: e(U),
150
+ table: e(r),
151
+ layout: e(u),
152
+ set: e(_),
153
+ next: e(p),
154
+ selection: e(N),
155
+ "search-data": e(A),
156
+ onAdd: e(de),
157
+ onRemove: e(Q),
158
+ onShowImport: a[0] || (a[0] = (l) => w(m) ? m.value = !0 : m = !0),
159
+ onShowExport: a[1] || (a[1] = (l) => w(g) ? g.value = !0 : g = !0),
160
+ onSearch: e(X)
161
+ }, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
162
+ v(c, {
163
+ ref_key: "tableRef",
164
+ ref: E,
165
+ class: De([{ "hide-nav": e(Le).hideNav }, "table-default table-paging"]),
166
+ size: "small",
167
+ border: "",
168
+ "highlight-current-row": "",
169
+ "max-height": e(I),
170
+ data: e(_)[e(r).name],
171
+ "default-sort": e($e),
172
+ onSelectionChange: a[2] || (a[2] = (l) => e(Ce)(l, e(r))),
173
+ onSortChange: a[3] || (a[3] = (l) => e(we)(l, e(r))),
174
+ onHeaderDragend: e(Re)
175
+ }, {
176
+ empty: h(() => [
177
+ oe(R(e(j)("common.no_data")), 1)
178
+ ]),
179
+ default: h(() => [
180
+ v(o, {
181
+ type: "selection",
182
+ width: "30"
183
+ }),
184
+ (f(!0), D(Te, null, Ue(e(r).show, (l, ot) => {
185
+ var ee, te, ae;
186
+ return f(), S(o, {
187
+ sortable: e(r) ? "custom" : !1,
188
+ prop: l.name,
189
+ "sort-orders": ["descending", "ascending"],
190
+ fixed: e(u).fixed.indexOf(l.name) > -1,
191
+ "min-width": ((ae = (te = (ee = e(G)) == null ? void 0 : ee[e(p).paging.route]) == null ? void 0 : te[e(r).name]) == null ? void 0 : ae[l.name]) ?? l.control.width,
192
+ label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
193
+ key: `${e(r).name}.${l.name}`
194
+ }, {
195
+ header: h((B) => [
196
+ l.control.required && l.control.editable ? (f(), D("i", Ze)) : z("", !0),
197
+ v(s, {
198
+ placement: "top",
199
+ content: l.label,
200
+ disabled: !l._headerTooltip
201
+ }, {
202
+ default: h(() => [
203
+ T("span", {
204
+ onMouseenter: (q) => e(ke)(q, B.column, l)
205
+ }, [
206
+ T("span", null, R(e(Me)(e(r).name, l.name)), 1)
207
+ ], 40, et)
208
+ ]),
209
+ _: 2
210
+ }, 1032, ["content", "disabled"])
211
+ ]),
212
+ default: h((B) => [
213
+ v(Xe, {
214
+ schema: e(U),
215
+ table: e(r),
216
+ field: l,
217
+ set: e(_),
218
+ row: B.row,
219
+ config: e(qe).getConfig(l, e(ue).type, e(u).type),
220
+ onChange: (q) => e(_e)(q, e(r), l, e(_), B.row)
221
+ }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
222
+ ]),
223
+ _: 2
224
+ }, 1032, ["sortable", "prop", "fixed", "min-width", "label"]);
225
+ }), 128)),
226
+ v(o, {
227
+ label: e(j)("common.operation"),
228
+ fixed: "right",
229
+ "show-overflow-tooltip": "",
230
+ "min-width": e(J)
231
+ }, {
232
+ default: h((l) => [
233
+ (f(), S(Ne(e(Ve)), {
234
+ table: e(r),
235
+ next: e(p),
236
+ set: e(_),
237
+ row: l.row,
238
+ onPreview: e(pe),
239
+ onEdit: e(me),
240
+ onCopy: e(ge),
241
+ onBeforeRemove: e(ce),
242
+ onRemove: e(Q),
243
+ onChangeWidth: e(xe)
244
+ }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
245
+ ]),
246
+ _: 1
247
+ }, 8, ["label", "min-width"])
248
+ ]),
249
+ _: 1
250
+ }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
251
+ v(e(Ke), {
252
+ ref_key: "footerRef",
253
+ ref: O,
254
+ class: "list-toolbar"
255
+ }, {
256
+ default: h(() => [
257
+ v(d, {
258
+ background: "",
259
+ layout: e(y).layout,
260
+ "current-page": e(u).page,
261
+ "pager-count": e(y).count,
262
+ total: e(u).count,
263
+ "page-sizes": e(y).sizes,
264
+ onCurrentChange: e(ye),
265
+ onSizeChange: e(be),
266
+ "page-size": e(u).pageSize,
267
+ "onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).pageSize = l)
268
+ }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
269
+ ]),
270
+ _: 1
271
+ }, 512),
272
+ e(p).import ? (f(), S(Ge, {
273
+ key: 0,
274
+ next: e(p),
275
+ onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
276
+ onSucceed: e(M),
277
+ modelValue: e(m),
278
+ "onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
279
+ }, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
280
+ e(p).export ? (f(), S(Qe, {
281
+ key: 1,
282
+ route: e(p).export.route,
283
+ "page-count": e(Pe).pageCount(e(u).count, e(u).pageSize),
284
+ onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
285
+ modelValue: e(g),
286
+ "onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
287
+ }, null, 8, ["route", "page-count", "modelValue"])) : z("", !0),
288
+ e(n).page ? (f(), S(C, {
289
+ key: 2,
290
+ "destroy-on-close": "",
291
+ "append-to-body": e(n).appendToBody,
292
+ size: e(P).getDrawerWidth(e(H)),
293
+ modelValue: e(n).visible,
294
+ "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
295
+ }, {
296
+ header: h(() => [
297
+ T("div", tt, [
298
+ oe(R(e(n).title) + " ", 1),
299
+ e(n).env ? (f(), D("span", at, "[" + R(e(n).env) + "]", 1)) : z("", !0),
300
+ T("a", {
301
+ class: "drawer-copy",
302
+ href: e(je).getToUrl(e(n).url)
303
+ }, R(e(j)("common.link")), 9, lt)
304
+ ])
305
+ ]),
306
+ default: h(() => [
307
+ v(e(Ae), {
308
+ ref_key: "pageRef",
309
+ ref: W,
310
+ url: e(n).url,
311
+ onLoaded: e(he),
312
+ onSucceed: e(M),
313
+ onClose: e(fe)
314
+ }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
315
+ ]),
316
+ _: 1
317
+ }, 8, ["append-to-body", "size", "modelValue"])) : z("", !0)
318
+ ], 512);
319
+ };
320
+ }
321
+ });
322
+ export {
323
+ _t as default
324
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent as _, toRefs as g, computed as x, resolveComponent as V, openBlock as C, createBlock as b, unref as e, withKeys as y, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as w } from "vue";
2
+ import "./assets/underscore.string-DVXD2SZo.js";
3
+ import "./assets/clone-BZn0cTAu.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/@monaco-editor-BCDRi0Ti.js";
7
+ import "./assets/moment-h96o7c8I.js";
8
+ import { g as B } from "./main-B0cM0pYd.js";
9
+ import "./assets/liquidjs-C-LVcoaY.js";
10
+ const F = /* @__PURE__ */ _({
11
+ __name: "Text",
12
+ props: {
13
+ schema: {},
14
+ table: {},
15
+ field: {},
16
+ searchData: {},
17
+ modelValue: {}
18
+ },
19
+ emits: ["change", "submit", "update:modelValue"],
20
+ setup(p, { emit: i }) {
21
+ let l = i, u = p, { table: s, field: a, searchData: R, modelValue: d } = g(u), c = (o) => {
22
+ l("change", o);
23
+ }, n = () => {
24
+ l("submit");
25
+ }, f = () => {
26
+ n();
27
+ }, t = x({
28
+ get() {
29
+ return d.value;
30
+ },
31
+ set(o) {
32
+ l("update:modelValue", o);
33
+ }
34
+ });
35
+ return (o, r) => {
36
+ const h = V("el-input");
37
+ return C(), b(h, {
38
+ type: "text",
39
+ placeholder: e(B)(e(s).name, e(a).name),
40
+ clearable: "",
41
+ onKeyup: y(e(n), ["enter", "native"]),
42
+ onChange: e(c),
43
+ onClear: e(f),
44
+ modelValue: e(t),
45
+ "onUpdate:modelValue": r[0] || (r[0] = (m) => v(t) ? t.value = m : t = m)
46
+ }, k({ _: 2 }, [
47
+ e(a).suffix ? {
48
+ name: "append",
49
+ fn: D(() => [
50
+ K(w(e(a).suffix), 1)
51
+ ]),
52
+ key: "0"
53
+ } : void 0
54
+ ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
55
+ };
56
+ }
57
+ });
58
+ export {
59
+ F as default
60
+ };