halo-pc 1.0.9 → 1.0.10

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
@@ -1,322 +0,0 @@
1
- import { defineComponent as Se, toRefs as ze, ref as i, onMounted as $e, nextTick as j, computed as Y, resolveComponent as k, openBlock as f, createElementBlock as D, createVNode as v, unref as e, isRef as w, normalizeClass as Ve, withCtx as h, createTextVNode as Z, toDisplayString as R, Fragment as We, renderList as Be, createBlock as S, createCommentVNode as z, createElementVNode as T, resolveDynamicComponent as He } from "vue";
2
- import "./vendor-underscore.string-BEHfJwHl.js";
3
- import { D as $, c as De, B as Te, p as q, k as Ue, C as Ee, E as Me, U as Ne, a as Le, h as Pe, m as je, i as qe } from "./main-Bf4o1iyx.js";
4
- import "./vendor-underscore-B0BCaBxV.js";
5
- import "./vendor-file-saver-CytTIJ-3.js";
6
- import "./vendor-clone-BPtCWdXG.js";
7
- import "./vendor-@monaco-editor-DKC4UNw_.js";
8
- import "./vendor-moment-h96o7c8I.js";
9
- import "./vendor-crypto-js-YOeWQTUw.js";
10
- import "./vendor-xlsx-js-style-DIFxrP6P.js";
11
- import { _ as Ae } from "./SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js";
12
- import { _ as Ke } from "./DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js";
13
- import { _ as Oe } from "./DataExport.vue_vue_type_script_setup_true_lang-LIX8EWdw.js";
14
- import { _ as Fe } from "./Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js";
15
- import "vue-router";
16
- import "./vendor-intro.js-DhhZ-dhc.js";
17
- import { _ as Ie } from "./SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js";
18
- const Ge = {
19
- key: 0,
20
- class: "required"
21
- }, Je = ["onMouseenter"], Qe = { class: "el-drawer__title" }, Xe = { key: 0 }, Ye = ["href"], ht = /* @__PURE__ */ Se({
22
- __name: "Table",
23
- props: {
24
- searchData: {},
25
- module: {},
26
- schema: {},
27
- table: {},
28
- layout: {},
29
- next: {},
30
- set: {}
31
- },
32
- emits: ["search", "navigate", "sort", "page-change", "size-change", "succeed", "close"],
33
- setup(ee, { expose: te, emit: ae }) {
34
- let b = ae, le = ee, { module: oe, schema: U, table: r, layout: u, next: p, set: _, searchData: A } = ze(le), E = i([]), V = i(), M = i(), N = i(), K = i(), O = i(), W = i(), { t_module: ne } = qe, m = i(!1), g = i(!1), F = i(), I = i("120px"), y = i({ layout: "prev, pager, next", count: 5, sizes: [20, 50, 200, 500, 2e3] }), B = i(), n = i({ title: null, env: null, page: null, url: null, row: null, visible: !1, appendToBody: !1 }), re = (t) => {
35
- C("insert", null, t);
36
- }, se = (t, a) => {
37
- C("detail", t, a);
38
- }, ie = (t, a) => {
39
- C("update", t, a);
40
- }, ue = (t, a) => {
41
- C("copy", t, a);
42
- }, de = (t, a) => {
43
- C("delete", t, a);
44
- }, G = (t) => {
45
- let a = t.map((o) => o[r.value.key.name]);
46
- Pe.post(p.value.delete.route, a).then((o) => {
47
- je.success(o.message), L();
48
- });
49
- }, C = (t, a, o) => {
50
- let s = pe(t, a);
51
- 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);
52
- }, pe = (t, a = null) => {
53
- let o = `${p.value[t].route}`;
54
- if (a != null) {
55
- let s = a[r.value.key.name];
56
- o += `?id=${s}`;
57
- }
58
- return o;
59
- }, me = () => {
60
- n.value.visible = !1, b("close");
61
- }, ge = (t) => {
62
- n.value.title = ne(t.module.type, t.module.name), n.value.env = t.module.env;
63
- }, L = () => {
64
- n.value.visible = !1;
65
- let t = E.value;
66
- b("succeed", (a) => {
67
- let o = a.data.set[r.value.name];
68
- if (!o.length)
69
- return;
70
- let s = r.value.key;
71
- j(() => {
72
- let c = n.value.row;
73
- if (c) {
74
- let d = o.find((x) => x[s.name] == c[s.name]);
75
- d && M.value.setCurrentRow(d);
76
- }
77
- if (t.length > 0)
78
- for (let d of t) {
79
- let x = o.find((l) => l[s.name] == d[s.name]);
80
- M.value.toggleRowSelection(x, !0);
81
- }
82
- });
83
- });
84
- }, J = (t) => {
85
- b("search", t);
86
- }, ce = (t) => {
87
- b("page-change", t);
88
- }, ve = (t) => {
89
- b("size-change", t);
90
- }, fe = (t, a) => {
91
- let o = { [a.name]: { [t.prop]: t.order != "descending" ? "asc" : "desc" } };
92
- b("sort", o);
93
- }, he = (t, a, o, s, c) => {
94
- }, ye = (t) => {
95
- I.value = t;
96
- }, be = (t, a) => {
97
- E.value = t;
98
- }, we = (t, a, o) => {
99
- let s = t.target.children[0], c = $.getWidth(s) + 16 + 14, d = a.realWidth || a.width;
100
- o._headerTooltip = c > d;
101
- }, _e = (t, a, o, s) => {
102
- q.setColumnWidth(p.value.paging.route, r.value.name, o.property, t);
103
- }, Q = () => {
104
- var s, c, d;
105
- let t = $.getHeight(V.value), a = $.getHeight([(s = N.value) == null ? void 0 : s.$el, (c = K.value) == null ? void 0 : c.$el, (d = O.value) == null ? void 0 : d.$el]), o = t - a;
106
- F.value = `${o}px`;
107
- }, X = () => {
108
- let t = B.value;
109
- 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";
110
- }, Ce = (t, a) => {
111
- if (!W.value || !W.value.keyboard)
112
- return !1;
113
- W.value.keyboard(t, a);
114
- }, xe = (t) => {
115
- N.value.resize(t), B.value = $.getWidth(V.value), X(), j(() => {
116
- Q();
117
- });
118
- };
119
- $e(() => {
120
- B.value = $.getWidth(V.value), X(), j(() => {
121
- Q();
122
- });
123
- });
124
- let ke = Y(() => {
125
- let a = Object.keys(u.value.orderBys)[0], o = u.value.orderBys[a];
126
- return { prop: a, order: o ? "ascending" : "descending" };
127
- }), Re = Y(() => {
128
- let t = `/${r.value.name}/paging-row`;
129
- return De.getComponent(t, "partial", "paging-row");
130
- });
131
- return te({ keyboard: Ce, resize: xe }), (t, a) => {
132
- const o = k("el-table-column"), s = k("el-tooltip"), c = k("el-table"), d = k("el-pagination"), x = k("el-drawer");
133
- return f(), D("div", {
134
- ref_key: "pagingRef",
135
- ref: V,
136
- class: "paging-table"
137
- }, [
138
- v(Ae, {
139
- ref_key: "searchRef",
140
- ref: N,
141
- schema: e(U),
142
- table: e(r),
143
- layout: e(u),
144
- "search-data": e(A),
145
- onSubmit: e(J)
146
- }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit"]),
147
- v(Ie, {
148
- ref_key: "headerRef",
149
- ref: K,
150
- schema: e(U),
151
- table: e(r),
152
- layout: e(u),
153
- set: e(_),
154
- next: e(p),
155
- selection: e(E),
156
- "search-data": e(A),
157
- onAdd: e(re),
158
- onRemove: e(G),
159
- onShowImport: a[0] || (a[0] = (l) => w(m) ? m.value = !0 : m = !0),
160
- onShowExport: a[1] || (a[1] = (l) => w(g) ? g.value = !0 : g = !0),
161
- onSearch: e(J)
162
- }, null, 8, ["schema", "table", "layout", "set", "next", "selection", "search-data", "onAdd", "onRemove", "onSearch"]),
163
- v(c, {
164
- ref_key: "tableRef",
165
- ref: M,
166
- class: Ve([{ "hide-nav": e(Te).hideNav }, "table-default table-paging"]),
167
- size: "small",
168
- border: "",
169
- "highlight-current-row": "",
170
- "max-height": e(F),
171
- data: e(_)[e(r).name],
172
- "default-sort": e(ke),
173
- onSelectionChange: a[2] || (a[2] = (l) => e(be)(l, e(r))),
174
- onSortChange: a[3] || (a[3] = (l) => e(fe)(l, e(r))),
175
- onHeaderDragend: e(_e)
176
- }, {
177
- empty: h(() => [
178
- Z(R(t.t("common.no_data")), 1)
179
- ]),
180
- default: h(() => [
181
- v(o, {
182
- type: "selection",
183
- width: "30"
184
- }),
185
- (f(!0), D(We, null, Be(e(r).show, (l, Ze) => (f(), S(o, {
186
- sortable: e(r) ? "custom" : !1,
187
- prop: l.name,
188
- "sort-orders": ["descending", "ascending"],
189
- fixed: e(u).fixed.indexOf(l.name) > -1,
190
- "min-width": e(q).getColumnWidth(e(p).paging.route, e(r).name, l),
191
- label: `${l.label}${l.control.prefix || l.suffix ? "(" + (l.control.prefix || l.suffix) + ")" : ""}`,
192
- key: `${e(r).name}.${l.name}`
193
- }, {
194
- header: h((H) => [
195
- l.control.required && l.control.editable ? (f(), D("i", Ge)) : z("", !0),
196
- v(s, {
197
- placement: "top",
198
- content: l.label,
199
- disabled: !l._headerTooltip
200
- }, {
201
- default: h(() => [
202
- T("span", {
203
- onMouseenter: (P) => e(we)(P, H.column, l)
204
- }, [
205
- T("span", null, R(t.t_field(e(r).name, l.name)), 1)
206
- ], 40, Je)
207
- ]),
208
- _: 2
209
- }, 1032, ["content", "disabled"])
210
- ]),
211
- default: h((H) => [
212
- v(Fe, {
213
- schema: e(U),
214
- table: e(r),
215
- field: l,
216
- set: e(_),
217
- row: H.row,
218
- config: e(Ue).getConfig(l, e(oe).type, e(u).type),
219
- onChange: (P) => e(he)(P, e(r), l, e(_), H.row)
220
- }, null, 8, ["schema", "table", "field", "set", "row", "config", "onChange"])
221
- ]),
222
- _: 2
223
- }, 1032, ["sortable", "prop", "fixed", "min-width", "label"]))), 128)),
224
- v(o, {
225
- label: t.t("common.operation"),
226
- fixed: "right",
227
- "show-overflow-tooltip": "",
228
- "min-width": e(I)
229
- }, {
230
- default: h((l) => [
231
- (f(), S(He(e(Re)), {
232
- table: e(r),
233
- next: e(p),
234
- set: e(_),
235
- row: l.row,
236
- onPreview: e(se),
237
- onEdit: e(ie),
238
- onCopy: e(ue),
239
- onBeforeRemove: e(de),
240
- onRemove: e(G),
241
- onChangeWidth: e(ye)
242
- }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove", "onChangeWidth"]))
243
- ]),
244
- _: 1
245
- }, 8, ["label", "min-width"])
246
- ]),
247
- _: 1
248
- }, 8, ["class", "max-height", "data", "default-sort", "onHeaderDragend"]),
249
- v(e(Ee), {
250
- ref_key: "footerRef",
251
- ref: O,
252
- class: "list-toolbar"
253
- }, {
254
- default: h(() => [
255
- v(d, {
256
- background: "",
257
- layout: e(y).layout,
258
- "current-page": e(u).page,
259
- "pager-count": e(y).count,
260
- total: e(u).count,
261
- "page-sizes": e(y).sizes,
262
- onCurrentChange: e(ce),
263
- onSizeChange: e(ve),
264
- "page-size": e(u).pageSize,
265
- "onUpdate:pageSize": a[4] || (a[4] = (l) => e(u).pageSize = l)
266
- }, null, 8, ["layout", "current-page", "pager-count", "total", "page-sizes", "onCurrentChange", "onSizeChange", "page-size"])
267
- ]),
268
- _: 1
269
- }, 512),
270
- e(p).import ? (f(), S(Ke, {
271
- key: 0,
272
- next: e(p),
273
- onClose: a[5] || (a[5] = (l) => w(m) ? m.value = !1 : m = !1),
274
- onSucceed: e(L),
275
- modelValue: e(m),
276
- "onUpdate:modelValue": a[6] || (a[6] = (l) => w(m) ? m.value = l : m = l)
277
- }, null, 8, ["next", "onSucceed", "modelValue"])) : z("", !0),
278
- e(p).export ? (f(), S(Oe, {
279
- key: 1,
280
- route: e(p).export.route,
281
- "page-count": e(Me).pageCount(e(u).count, e(u).pageSize),
282
- onClose: a[7] || (a[7] = (l) => w(g) ? g.value = !1 : g = !1),
283
- modelValue: e(g),
284
- "onUpdate:modelValue": a[8] || (a[8] = (l) => w(g) ? g.value = l : g = l)
285
- }, null, 8, ["route", "page-count", "modelValue"])) : z("", !0),
286
- e(n).page ? (f(), S(x, {
287
- key: 2,
288
- "destroy-on-close": "",
289
- "append-to-body": e(n).appendToBody,
290
- size: e(q).getDrawerWidth(e(B)),
291
- modelValue: e(n).visible,
292
- "onUpdate:modelValue": a[9] || (a[9] = (l) => e(n).visible = l)
293
- }, {
294
- header: h(() => [
295
- T("div", Qe, [
296
- Z(R(e(n).title) + " ", 1),
297
- e(n).env ? (f(), D("span", Xe, "[" + R(e(n).env) + "]", 1)) : z("", !0),
298
- T("a", {
299
- class: "drawer-copy",
300
- href: e(Ne).getToUrl(e(n).url)
301
- }, R(t.t("common.link")), 9, Ye)
302
- ])
303
- ]),
304
- default: h(() => [
305
- v(e(Le), {
306
- ref_key: "pageRef",
307
- ref: W,
308
- url: e(n).url,
309
- onLoaded: e(ge),
310
- onSucceed: e(L),
311
- onClose: e(me)
312
- }, null, 8, ["url", "onLoaded", "onSucceed", "onClose"])
313
- ]),
314
- _: 1
315
- }, 8, ["append-to-body", "size", "modelValue"])) : z("", !0)
316
- ], 512);
317
- };
318
- }
319
- });
320
- export {
321
- ht as default
322
- };
@@ -1,242 +0,0 @@
1
- import { defineComponent as we, defineAsyncComponent as be, toRefs as xe, ref as c, onMounted as Ce, computed as U, watch as Re, resolveComponent as b, openBlock as f, createElementBlock as H, Fragment as G, createVNode as R, unref as e, withCtx as v, createTextVNode as Se, toDisplayString as I, createBlock as $, createCommentVNode as z, renderList as ke, createElementVNode as x, normalizeStyle as He, resolveDynamicComponent as $e, nextTick as J } from "vue";
2
- import { G as ze, c as De, p as P, k as K, s as W, D as y, I as B, J as Q, A as E, O as Fe, E as Ie } from "./main-Bf4o1iyx.js";
3
- import "./vendor-file-saver-CytTIJ-3.js";
4
- import "./vendor-underscore.string-BEHfJwHl.js";
5
- import "./vendor-@monaco-editor-DKC4UNw_.js";
6
- import "./vendor-moment-h96o7c8I.js";
7
- import "./vendor-crypto-js-YOeWQTUw.js";
8
- import "./vendor-xlsx-js-style-DIFxrP6P.js";
9
- const We = {
10
- key: 0,
11
- class: "required"
12
- }, Be = ["onMouseenter"], Ee = /* @__PURE__ */ x("i", { class: "fa fa-question-circle icon-question" }, null, -1), Me = { class: "footer-left" }, Oe = { class: "footer-right" }, Je = /* @__PURE__ */ we({
13
- __name: "Table",
14
- props: {
15
- route: {},
16
- validateErrors: {},
17
- module: {},
18
- schema: {},
19
- table: {},
20
- layout: {},
21
- next: {},
22
- set: {}
23
- },
24
- emits: ["submit", "change", "row-edit"],
25
- setup(X, { expose: Y, emit: Z }) {
26
- let ee = be(() => import("./Index-DzobZNQl.js")), D = Z, te = X, { schema: M, table: a, layout: m, set: i, next: Te, route: O, module: S, validateErrors: T } = xe(te), _ = c({ page: 1 }), d = c([]), le = c(!0), k = c(), q = c(), A = c(), N = c(), g = c({ layout: "prev, pager, next", count: 5 }), ae = (t, o, n) => {
27
- D("row-edit", t, a.value, n);
28
- }, oe = (t) => {
29
- D("submit", t);
30
- }, ne = (t, o) => {
31
- let n = a.value.show[o];
32
- return n._headerWidth ? (t.column.realWidth || t.column.width) > n._headerWidth + 20 : !0;
33
- }, re = (t, o) => {
34
- let n = t.target.children[0].offsetWidth, u = a.value.show[o];
35
- u._headerWidth = n;
36
- }, ue = (t, o, n, u, l) => {
37
- D("change", t, o, n, u, l);
38
- }, V = (t) => i.value[a.value.name].indexOf(t), ie = (t) => {
39
- d.value = t;
40
- }, se = (t, o, n, u, l) => {
41
- P.setColumnWidth(O.value, l.name, n.property, t);
42
- }, pe = (t) => {
43
- j(t.contentRect.width), J(() => {
44
- L(t.contentRect.height);
45
- });
46
- }, j = (t = null) => {
47
- let o = y.parentUntil(k.value.$el, ".ha-main-form");
48
- 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";
49
- }, L = (t = null) => {
50
- let o = y.parentUntil(k.value.$el, ".ha-main-form");
51
- t || (t = y.getHeight(o));
52
- let n = y.getHeight(q.value), u = y.find(o, ".main-footer"), l = y.getHeight(u), s = t - n - l;
53
- N.value = `${s}px`;
54
- }, me = async () => {
55
- let t = i.value[a.value.name].length, o = W.getDefaultRow(a.value);
56
- i.value[a.value.name].push(o);
57
- let n = a.value.fields.filter((l) => l.feature != null);
58
- for (let l = 0; l < n.length; l++) {
59
- let s = n[l];
60
- (await B.feature.create(s.feature.type)).add(a.value, s, i.value, o);
61
- }
62
- F(t);
63
- let u = Q.isBottom(".tree-detail");
64
- J(() => {
65
- u && Q.scrollToBottom(".tree-detail");
66
- });
67
- }, de = async () => {
68
- let t = d.value[0], o = W.getDefaultRow(a.value), n = E.insert(i.value[a.value.name], t, o), u = a.value.fields.filter((l) => l.feature != null);
69
- for (let l = 0; l < u.length; l++) {
70
- let s = u[l];
71
- (await B.feature.create(s.feature.type)).insert(a.value, s, i.value, t, o);
72
- }
73
- F(n);
74
- }, ce = async () => {
75
- let t = a.value.key.name, o = Fe.clone(d.value, (l) => {
76
- l[t] = null, l[`Old_${t}`] = null;
77
- }), n = i.value[a.value.name].indexOf(d.value[0]);
78
- for (let l = 0; l < d.value.length; l++) {
79
- let s = d.value[l], w = o[l];
80
- E.append(i.value[a.value.name], s, w);
81
- }
82
- let u = a.value.fields.filter((l) => l.feature != null);
83
- for (let l = 0; l < u.length; l++) {
84
- let s = u[l];
85
- (await B.feature.create(s.feature.type)).copy(a.value, s, i.value);
86
- }
87
- F(n);
88
- }, fe = () => {
89
- E.remove(i.value[a.value.name], d.value), d.value = [];
90
- }, F = (t) => {
91
- let o = Ie.pageCount(t + 1, m.value.pageSize);
92
- _.value.page = o;
93
- }, ve = (t) => {
94
- _.value.page = t;
95
- }, ge = () => {
96
- k.value.$el.querySelector("tbody");
97
- };
98
- Ce(() => {
99
- ge(), j(), ze.detectLoaded(A, () => {
100
- L();
101
- });
102
- });
103
- let he = U(() => {
104
- let t = (_.value.page - 1) * m.value.pageSize, o = _.value.page * m.value.pageSize - 1;
105
- return i.value[a.value.name].filter((u, l) => l >= t && l <= o);
106
- }), ye = U(() => {
107
- let t = a.value.main ? `/${a.value.name}` : `/${M.value[0].name}/${a.value.name}`;
108
- return De.getComponent(`${t}/update-child`, "partial", "update-child");
109
- });
110
- return Re(T, (t, o) => {
111
- let n = t.find((u) => u.table == a.value.name);
112
- n != null && (_.value.page = Math.ceil((n.index + 1) / m.value.pageSize));
113
- }), Y({ resize: pe }), (t, o) => {
114
- const n = b("el-table-column"), u = b("el-tooltip"), l = b("el-popover"), s = b("el-form-item"), w = b("el-table"), _e = b("el-pagination");
115
- return f(), H(G, null, [
116
- R(w, {
117
- ref_key: "tableRef",
118
- ref: k,
119
- class: "ha-table-layout table-default",
120
- size: "small",
121
- border: "",
122
- "max-height": e(N),
123
- data: e(he),
124
- onRowClick: o[0] || (o[0] = (r, h, p) => e(ae)(r, h, p)),
125
- onSelectionChange: e(ie),
126
- onHeaderDragend: o[1] || (o[1] = (r, h, p, C) => e(se)(r, h, p, C, e(a)))
127
- }, {
128
- empty: v(() => [
129
- Se(I(t.t("common.no_data")), 1)
130
- ]),
131
- default: v(() => [
132
- e(le) ? (f(), $(n, {
133
- key: 0,
134
- type: "selection",
135
- width: "40",
136
- fixed: ""
137
- })) : z("", !0),
138
- (f(!0), H(G, null, ke(e(a).show, (r, h) => (f(), $(n, {
139
- key: r.name,
140
- "show-overflow-tooltip": "",
141
- prop: r.name,
142
- label: r.label,
143
- "min-width": e(P).getColumnWidth(e(O), e(a).name, r),
144
- fixed: e(m).fixed.length > 0 ? e(m).fixed.indexOf(r.name) > -1 : h == 0
145
- }, {
146
- header: v((p) => [
147
- e(S).type != "Detail" && r.control.required ? (f(), H("i", We, "*")) : z("", !0),
148
- R(u, {
149
- placement: "top",
150
- content: r.label,
151
- disabled: e(ne)(p, h)
152
- }, {
153
- default: v(() => [
154
- x("span", {
155
- onMouseenter: (C) => e(re)(C, h)
156
- }, [
157
- x("span", null, I(t.t_field(e(a).table, r.name)), 1)
158
- ], 40, Be)
159
- ]),
160
- _: 2
161
- }, 1032, ["content", "disabled"]),
162
- r.control.tooltip ? (f(), $(l, {
163
- key: 1,
164
- trigger: "hover",
165
- placement: "top",
166
- width: "auto",
167
- title: r.control.tooltip.title
168
- }, {
169
- reference: v(() => [
170
- Ee
171
- ]),
172
- default: v(() => [
173
- x("pre", null, I(r.control.tooltip.content), 1)
174
- ]),
175
- _: 2
176
- }, 1032, ["title"])) : z("", !0)
177
- ]),
178
- default: v((p) => [
179
- R(s, {
180
- style: He(e(K).getStyle(r, e(S).type, e(m).type)),
181
- rules: e(W).getRules(e(T), e(a), r, p.$index),
182
- prop: `[${e(a).name}][${e(V)(p.row)}][${r.name}]`
183
- }, {
184
- default: v(() => [
185
- R(e(ee), {
186
- schema: e(M),
187
- table: e(a),
188
- field: r,
189
- set: e(i),
190
- row: p.row,
191
- config: e(K).getConfig(r, e(S).type, e(m).type),
192
- onSubmit: e(oe),
193
- onChange: (C) => e(ue)(C, e(i), e(a), r, e(V)(p.row))
194
- }, null, 8, ["schema", "table", "field", "set", "row", "config", "onSubmit", "onChange"])
195
- ]),
196
- _: 2
197
- }, 1032, ["style", "rules", "prop"])
198
- ]),
199
- _: 2
200
- }, 1032, ["prop", "label", "min-width", "fixed"]))), 128))
201
- ]),
202
- _: 1
203
- }, 8, ["max-height", "data", "onSelectionChange"]),
204
- e(a).main ? z("", !0) : (f(), H("div", {
205
- key: 0,
206
- ref_key: "footerRef",
207
- ref: q,
208
- class: "table-footer"
209
- }, [
210
- x("div", Me, [
211
- (f(), $($e(e(ye)), {
212
- ref_key: "operationRef",
213
- ref: A,
214
- module: e(S),
215
- table: e(a),
216
- set: e(i),
217
- selection: e(d),
218
- onAdd: e(me),
219
- onInsert: e(de),
220
- onCopy: e(ce),
221
- onRemove: e(fe)
222
- }, null, 40, ["module", "table", "set", "selection", "onAdd", "onInsert", "onCopy", "onRemove"]))
223
- ]),
224
- x("div", Oe, [
225
- R(_e, {
226
- background: "",
227
- layout: e(g).layout,
228
- "current-page": e(_).page,
229
- "page-size": e(m).pageSize,
230
- "pager-count": e(g).count,
231
- total: e(i)[e(a).name].length,
232
- onCurrentChange: e(ve)
233
- }, null, 8, ["layout", "current-page", "page-size", "pager-count", "total", "onCurrentChange"])
234
- ])
235
- ], 512))
236
- ], 64);
237
- };
238
- }
239
- });
240
- export {
241
- Je as default
242
- };
@@ -1,52 +0,0 @@
1
- import { defineComponent as _, toRefs as V, computed as g, resolveComponent as x, 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
- const S = /* @__PURE__ */ _({
3
- __name: "Text",
4
- props: {
5
- schema: {},
6
- table: {},
7
- field: {},
8
- searchData: {},
9
- modelValue: {}
10
- },
11
- emits: ["change", "submit", "update:modelValue"],
12
- setup(m, { emit: p }) {
13
- let a = p, d = m, { table: i, field: o, searchData: B, modelValue: s } = V(d), c = (t) => {
14
- a("change", t);
15
- }, n = () => {
16
- a("submit");
17
- }, f = () => {
18
- n();
19
- }, l = g({
20
- get() {
21
- return s.value;
22
- },
23
- set(t) {
24
- a("update:modelValue", t);
25
- }
26
- });
27
- return (t, r) => {
28
- const h = x("el-input");
29
- return C(), b(h, {
30
- type: "text",
31
- placeholder: t.t_field_placeholder(e(i).name, e(o).name),
32
- clearable: "",
33
- onKeyup: y(e(n), ["enter", "native"]),
34
- onChange: e(c),
35
- onClear: e(f),
36
- modelValue: e(l),
37
- "onUpdate:modelValue": r[0] || (r[0] = (u) => v(l) ? l.value = u : l = u)
38
- }, k({ _: 2 }, [
39
- e(o).suffix ? {
40
- name: "append",
41
- fn: D(() => [
42
- K(w(e(o).suffix), 1)
43
- ]),
44
- key: "0"
45
- } : void 0
46
- ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
47
- };
48
- }
49
- });
50
- export {
51
- S as default
52
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js";
2
- export {
3
- f as default
4
- };
@@ -1,51 +0,0 @@
1
- import { defineComponent as _, toRefs as b, computed as V, resolveComponent as h, openBlock as x, createBlock as y, unref as e, withKeys as C, isRef as g, createSlots as k, withCtx as v, createTextVNode as w, toDisplayString as K } from "vue";
2
- const S = /* @__PURE__ */ _({
3
- __name: "Text",
4
- props: {
5
- schema: {},
6
- table: {},
7
- field: {},
8
- set: {},
9
- row: {},
10
- modelValue: {}
11
- },
12
- emits: ["submit", "change", "clear", "update:modelValue"],
13
- setup(d, { emit: u }) {
14
- let l = u, m = d, { table: p, field: o, set: B, modelValue: i } = b(m), s = (t) => {
15
- l("submit", t);
16
- }, c = () => {
17
- l("clear");
18
- }, a = V({
19
- get() {
20
- return i.value;
21
- },
22
- set(t) {
23
- l("update:modelValue", t), l("change", t);
24
- }
25
- });
26
- return (t, n) => {
27
- const f = h("el-input");
28
- return x(), y(f, {
29
- type: "text",
30
- disabled: e(o).control.readonly,
31
- placeholder: t.t_field_placeholder(e(p).name, e(o).name),
32
- clearable: "",
33
- onKeyup: C(e(s), ["enter", "native"]),
34
- onClear: e(c),
35
- modelValue: e(a),
36
- "onUpdate:modelValue": n[0] || (n[0] = (r) => g(a) ? a.value = r : a = r)
37
- }, k({ _: 2 }, [
38
- e(o).suffix ? {
39
- name: "append",
40
- fn: v(() => [
41
- w(K(e(o).suffix), 1)
42
- ]),
43
- key: "0"
44
- } : void 0
45
- ]), 1032, ["disabled", "placeholder", "onKeyup", "onClear", "modelValue"]);
46
- };
47
- }
48
- });
49
- export {
50
- S as default
51
- };