halo-pc 1.0.25 → 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. package/dist/{Article-B85JcyzM.js → Article-CTqryR4L.js} +70 -75
  2. package/dist/{ArticleFooter-BCHVxIWa.js → ArticleFooter-BumGH5nC.js} +17 -23
  3. package/dist/{Autocomplete-DUmzcj_9.js → Autocomplete-BNx0bErM.js} +1 -1
  4. package/dist/Autocomplete-C9RS9-qw.js +48 -0
  5. package/dist/Autocomplete-DIucpEpj.js +49 -0
  6. package/dist/{CSharp-CLKgbbVS.js → CSharp-Dt6H75E9.js} +1 -1
  7. package/dist/{Calender-DIjZoC1-.js → Calender-DhKZyJri.js} +1 -1
  8. package/dist/Callback-D6G_933H.js +20 -0
  9. package/dist/Cascader-C6t8Q18c.js +41 -0
  10. package/dist/Cascader-F_XWwXKY.js +81 -0
  11. package/dist/{Checkbox-BJjYhPvp.js → Checkbox-C-iEGB0k.js} +1 -1
  12. package/dist/Checkbox-ipHs0O-8.js +70 -0
  13. package/dist/Code-DKtqow6y.js +36 -0
  14. package/dist/{Code-C5fE_bvq.js → Code-JtSSnUWC.js} +1 -1
  15. package/dist/Code-LeguA9RL.js +54 -0
  16. package/dist/Code-Q_6THgGl.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-DmeXbg91.js +59 -0
  18. package/dist/Column-BeQwafyN.js +70 -0
  19. package/dist/Comment-DIcCHP9F.js +98 -0
  20. package/dist/{Compare-DICZHIEn.js → Compare-DZVrBYEh.js} +19 -25
  21. package/dist/Compare-Dzqm7kPE.js +38 -0
  22. package/dist/Copy-iLieXx22.js +43 -0
  23. package/dist/Custom-BGtEDHlD.js +51 -0
  24. package/dist/{DataExport-f8caAI4D.js → DataExport-DSz5371s.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CbiPENFw.js → DataExport.vue_vue_type_script_setup_true_lang-DL9q81Ti.js} +36 -41
  26. package/dist/{DataImport-CZaVBfZq.js → DataImport-CX7G70a7.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-BWS65Vp1.js +172 -0
  28. package/dist/Date-CNOCOcNz.js +37 -0
  29. package/dist/{Date-DtHzdllB.js → Date-ytWe2gz8.js} +1 -1
  30. package/dist/DateRange-CaIiObxN.js +57 -0
  31. package/dist/DateTime-CH6J1GoP.js +38 -0
  32. package/dist/{DateTime-G4F8DiCI.js → DateTime-p6YgmtGd.js} +1 -1
  33. package/dist/{DateTimeRange-CG9K8X5b.js → DateTimeRange-DGobnXqs.js} +11 -17
  34. package/dist/Daterange-BUSKAGlK.js +57 -0
  35. package/dist/{Decimal-iKOftOtx.js → Decimal-BvyzJq1c.js} +1 -1
  36. package/dist/Delete-BeFC0gjD.js +57 -0
  37. package/dist/{Detail-syloerEZ.js → Detail-DZJ0aUFr.js} +17 -22
  38. package/dist/Dictionary-CsBiv-CI.js +55 -0
  39. package/dist/Email-Dwa6x3jW.js +48 -0
  40. package/dist/{File-IQG0slBy.js → File-BEBElTSS.js} +27 -32
  41. package/dist/{Image-BRH98A7N.js → Image-DDK05SW7.js} +1 -1
  42. package/dist/{Index-CnqiNw5R.js → Index-BiF8qEWf.js} +1 -1
  43. package/dist/Index-Bpe7pY2Z.js +4 -0
  44. package/dist/Index-CUYQxzNd.js +174 -0
  45. package/dist/{Index-CttpoRk-.js → Index-CuEyzMd0.js} +20 -25
  46. package/dist/Index-DMnL8F7Y.js +4 -0
  47. package/dist/Index-DNG25ox2.js +4 -0
  48. package/dist/{Index-BqseRji6.js → Index-DPwdcUO4.js} +1 -1
  49. package/dist/Index-DqUNI6MV.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-C0QNQ1MJ.js → Index.vue_vue_type_script_setup_true_lang-Bp091zxs.js} +15 -20
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-Cx8eXCsw.js → Index.vue_vue_type_script_setup_true_lang-hjy21YuL.js} +12 -17
  52. package/dist/{Install-BEeQqQzM.js → Install-CxuoWpHC.js} +22 -27
  53. package/dist/Int-BFv18KXi.js +38 -0
  54. package/dist/Int-C0ijmdYS.js +41 -0
  55. package/dist/List-CfQzWq_5.js +74 -0
  56. package/dist/Maintaince-BzDEwQcU.js +14 -0
  57. package/dist/{Markdown-DR4rlU3-.js → Markdown-x1hASyA-.js} +1 -1
  58. package/dist/{Month-BRuj2vZ-.js → Month-Bb0tgF-k.js} +1 -1
  59. package/dist/Month-Bp_Pfi_b.js +37 -0
  60. package/dist/Month-CKkjwzza.js +38 -0
  61. package/dist/{Normal-B6h5U5-c.js → Normal-CYmy5sN7.js} +66 -70
  62. package/dist/Paging-DpoBp7x_.js +95 -0
  63. package/dist/{PagingHeader-BEfi7NBv.js → PagingHeader-DWbFl1do.js} +24 -30
  64. package/dist/{PagingRow-C-l9v-bo.js → PagingRow-CR2N1vgm.js} +20 -26
  65. package/dist/QueryApi-VwISnk96.js +13 -0
  66. package/dist/{Racebar-BdLTF_ZH.js → Racebar-BsgDK6Zf.js} +37 -42
  67. package/dist/{Radio-DVmzOE7P.js → Radio-B3Af-uZE.js} +1 -1
  68. package/dist/{Register-CQSkhKvF.js → Register-Cwr3iIZm.js} +40 -44
  69. package/dist/RichText-CNahMrfb.js +41 -0
  70. package/dist/{SearchFooter-CKOh4Fzz.js → SearchFooter-DiILcc_U.js} +1 -1
  71. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D6xp89r9.js → SearchFooter.vue_vue_type_style_index_0_lang-BsIg4tbY.js} +1 -1
  72. package/dist/{SearchForm-WtocjgIQ.js → SearchForm-BOw_kHs2.js} +1 -1
  73. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DFqj7f23.js → SearchForm.vue_vue_type_style_index_0_lang-GMYFgf1H.js} +36 -40
  74. package/dist/{Select-CGC68XKI.js → Select-BdYG1KQE.js} +1 -1
  75. package/dist/Select-BeNZqAP1.js +112 -0
  76. package/dist/Select-CqOE6uI8.js +80 -0
  77. package/dist/{Single-PROE_P9A.js → Single-DqCIZBIB.js} +99 -103
  78. package/dist/{Statistic-R1oy4jve.js → Statistic-B9ZcUUk1.js} +33 -37
  79. package/dist/{Stock-Dzlxs_TK.js → Stock-BiSr7zAF.js} +1 -1
  80. package/dist/{Stock-zGPixaHC.js → Stock-BnBNtuo7.js} +1 -1
  81. package/dist/{Stock.vue_vue_type_style_index_0_lang-DAlvmXf0.js → Stock.vue_vue_type_style_index_0_lang-CZPeF39q.js} +26 -31
  82. package/dist/{Switch-y8TGQEHX.js → Switch-BE4dQcja.js} +1 -1
  83. package/dist/{Table-NDlPEOwH.js → Table-CaH_zu8W.js} +74 -77
  84. package/dist/{Table-D--KFpz3.js → Table-e0uLPRLG.js} +73 -78
  85. package/dist/Text-5803XWI6.js +4 -0
  86. package/dist/{Text-BkKR1LPU.js → Text-BAw88r5O.js} +13 -19
  87. package/dist/{Text-DXGzwZnW.js → Text-BDAob4mp.js} +15 -21
  88. package/dist/Text.vue_vue_type_style_index_0_lang-D1JSHUmS.js +53 -0
  89. package/dist/TextLink-TYXcDAlo.js +59 -0
  90. package/dist/{Textarea-C4PlCQXP.js → Textarea-CU5PjIoa.js} +1 -1
  91. package/dist/Time-Dd-Trib4.js +37 -0
  92. package/dist/Timeline-D6LCIkQp.js +53 -0
  93. package/dist/Tree-BKmFZrK3.js +118 -0
  94. package/dist/{Tree-DzfCEHVR.js → Tree-D-v632h1.js} +101 -105
  95. package/dist/TreeNode-L_A5ZKy0.js +37 -0
  96. package/dist/{Update-BzPazrMP.js → Update-DRAFce7_.js} +15 -20
  97. package/dist/{UpdateChild-BvIiamkv.js → UpdateChild-DMC0FG4Z.js} +17 -23
  98. package/dist/Upload-DJRh4a7g.js +68 -0
  99. package/dist/Upload-Ozg_nOpI.js +147 -0
  100. package/dist/UploadApi-DVx69g-F.js +13 -0
  101. package/dist/{Year-DJPzJlot.js → Year-CpcMBvQ7.js} +1 -1
  102. package/dist/Year-D7XGe2So.js +41 -0
  103. package/dist/assets/halo-fe-B-NiIGas.js +12088 -0
  104. package/dist/main-DB_sVyZe.js +3620 -0
  105. package/dist/main.js +140 -140
  106. package/dist/style.css +1 -1
  107. package/esm/@types/CreatePcOptions.d.ts +15 -0
  108. package/esm/@types/index.d.ts +2 -0
  109. package/esm/coms/business/@types/CrudProps.d.ts +22 -0
  110. package/esm/coms/business/@types/DrawerProps.d.ts +14 -0
  111. package/esm/coms/business/@types/DriverProps.d.ts +63 -0
  112. package/esm/coms/business/@types/FormProps.d.ts +18 -0
  113. package/esm/coms/business/@types/index.d.ts +5 -0
  114. package/esm/coms/business/Crud.vue.d.ts +1 -1
  115. package/esm/coms/business/Drawer.vue.d.ts +1 -1
  116. package/esm/coms/business/Driver.vue.d.ts +1 -1
  117. package/esm/coms/business/Form.vue.d.ts +1 -1
  118. package/esm/coms/business/index.d.ts +1 -1
  119. package/esm/coms/commons/@types/TableProps.d.ts +22 -0
  120. package/esm/coms/commons/@types/index.d.ts +2 -0
  121. package/esm/coms/commons/Table.vue.d.ts +1 -1
  122. package/esm/coms/commons/index.d.ts +1 -1
  123. package/esm/coms/controls/@types/ControlProps.d.ts +26 -0
  124. package/esm/coms/controls/@types/index.d.ts +2 -0
  125. package/esm/coms/controls/Autocomplete.vue.d.ts +1 -1
  126. package/esm/coms/controls/Cascader.vue.d.ts +1 -1
  127. package/esm/coms/controls/Checkbox.vue.d.ts +1 -1
  128. package/esm/coms/controls/Code.vue.d.ts +1 -1
  129. package/esm/coms/controls/Color.vue.d.ts +1 -1
  130. package/esm/coms/controls/Compare.vue.d.ts +1 -1
  131. package/esm/coms/controls/Date.vue.d.ts +1 -1
  132. package/esm/coms/controls/DateRange.vue.d.ts +1 -1
  133. package/esm/coms/controls/DateTime.vue.d.ts +1 -1
  134. package/esm/coms/controls/DateTimeRange.vue.d.ts +1 -1
  135. package/esm/coms/controls/Decimal.vue.d.ts +1 -1
  136. package/esm/coms/controls/Email.vue.d.ts +1 -1
  137. package/esm/coms/controls/Index.vue.d.ts +1 -1
  138. package/esm/coms/controls/Int.vue.d.ts +1 -1
  139. package/esm/coms/controls/Markdown.vue.d.ts +1 -1
  140. package/esm/coms/controls/Month.vue.d.ts +1 -1
  141. package/esm/coms/controls/Password.vue.d.ts +1 -1
  142. package/esm/coms/controls/Progress.vue.d.ts +1 -1
  143. package/esm/coms/controls/Radio.vue.d.ts +1 -1
  144. package/esm/coms/controls/Rate.vue.d.ts +1 -1
  145. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  146. package/esm/coms/controls/Select.vue.d.ts +1 -1
  147. package/esm/coms/controls/Switch.vue.d.ts +1 -1
  148. package/esm/coms/controls/Text.vue.d.ts +1 -1
  149. package/esm/coms/controls/Textarea.vue.d.ts +1 -1
  150. package/esm/coms/controls/Time.vue.d.ts +1 -1
  151. package/esm/coms/controls/Upload.vue.d.ts +1 -1
  152. package/esm/coms/controls/Year.vue.d.ts +1 -1
  153. package/esm/coms/controls/index.d.ts +1 -1
  154. package/esm/coms/globals/@types/WindowOptions.d.ts +38 -0
  155. package/esm/coms/globals/@types/WindowProps.d.ts +27 -0
  156. package/esm/coms/globals/@types/index.d.ts +3 -0
  157. package/esm/coms/globals/Window.vue.d.ts +1 -1
  158. package/esm/coms/globals/index.d.ts +1 -1
  159. package/esm/coms/layouts/@types/ITaskBar.d.ts +6 -0
  160. package/esm/coms/layouts/@types/index.d.ts +2 -0
  161. package/esm/coms/layouts/index.d.ts +1 -1
  162. package/esm/coms/lists/@types/ListProps.d.ts +15 -0
  163. package/esm/coms/lists/@types/index.d.ts +2 -0
  164. package/esm/coms/lists/Racebar.vue.d.ts +1 -1
  165. package/esm/coms/lists/Statistic.vue.d.ts +1 -1
  166. package/esm/coms/lists/Stock.vue.d.ts +1 -1
  167. package/esm/coms/lists/Timeline.vue.d.ts +1 -1
  168. package/esm/coms/lists/Tree.vue.d.ts +1 -1
  169. package/esm/coms/lists/index.d.ts +1 -1
  170. package/esm/coms/pages/@types/ColumnPageProps.d.ts +11 -0
  171. package/esm/coms/pages/@types/CustomPageProps.d.ts +11 -0
  172. package/esm/coms/pages/@types/DeletePageProps.d.ts +15 -0
  173. package/esm/coms/pages/@types/KeyboardType.d.ts +8 -0
  174. package/esm/coms/pages/@types/ListPageProps.d.ts +15 -0
  175. package/esm/coms/pages/@types/PageEmit.d.ts +22 -0
  176. package/esm/coms/pages/@types/PageProps.d.ts +14 -0
  177. package/esm/coms/pages/@types/PagingPageProps.d.ts +15 -0
  178. package/esm/coms/pages/@types/SchemaProps.d.ts +30 -0
  179. package/esm/coms/pages/@types/SinglePageProps.d.ts +15 -0
  180. package/esm/coms/pages/@types/index.d.ts +11 -0
  181. package/esm/coms/pages/Column.vue.d.ts +1 -1
  182. package/esm/coms/pages/Custom.vue.d.ts +1 -1
  183. package/esm/coms/pages/Delete.vue.d.ts +1 -1
  184. package/esm/coms/pages/List.vue.d.ts +1 -1
  185. package/esm/coms/pages/Paging.vue.d.ts +1 -1
  186. package/esm/coms/pages/Single.vue.d.ts +1 -1
  187. package/esm/coms/pages/index.d.ts +1 -1
  188. package/esm/coms/pagings/@types/PagingProps.d.ts +11 -0
  189. package/esm/coms/pagings/@types/index.d.ts +2 -0
  190. package/esm/coms/pagings/Article.vue.d.ts +1 -1
  191. package/esm/coms/pagings/Code.vue.d.ts +1 -1
  192. package/esm/coms/pagings/File.vue.d.ts +1 -1
  193. package/esm/coms/pagings/Index.vue.d.ts +1 -1
  194. package/esm/coms/pagings/Table.vue.d.ts +1 -1
  195. package/esm/coms/pagings/index.d.ts +1 -1
  196. package/esm/coms/panels/@types/OperationProps.d.ts +10 -0
  197. package/esm/coms/panels/@types/index.d.ts +2 -0
  198. package/esm/coms/panels/Operation.vue.d.ts +1 -1
  199. package/esm/coms/panels/index.d.ts +1 -1
  200. package/esm/coms/partials/@types/ArticleFooterEmit.d.ts +26 -0
  201. package/esm/coms/partials/@types/DetailEmit.d.ts +18 -0
  202. package/esm/coms/partials/@types/DetailProps.d.ts +22 -0
  203. package/esm/coms/partials/@types/PagingHeaderEmit.d.ts +34 -0
  204. package/esm/coms/partials/@types/PagingHeaderProps.d.ts +30 -0
  205. package/esm/coms/partials/@types/PagingRowEmit.d.ts +26 -0
  206. package/esm/coms/partials/@types/PagingRowProps.d.ts +22 -0
  207. package/esm/coms/partials/@types/TreeNodeProps.d.ts +22 -0
  208. package/esm/coms/partials/@types/UpdateChildEmit.d.ts +22 -0
  209. package/esm/coms/partials/@types/UpdateChildProps.d.ts +22 -0
  210. package/esm/coms/partials/@types/UpdateEmit.d.ts +14 -0
  211. package/esm/coms/partials/@types/UpdateProps.d.ts +22 -0
  212. package/esm/coms/partials/@types/index.d.ts +13 -0
  213. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  214. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  215. package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
  216. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  217. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  218. package/esm/coms/partials/Update.vue.d.ts +1 -1
  219. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  220. package/esm/coms/partials/index.d.ts +1 -1
  221. package/esm/coms/searches/@types/SearchProps.d.ts +10 -0
  222. package/esm/coms/searches/@types/index.d.ts +2 -0
  223. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  224. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  225. package/esm/coms/searches/Index.vue.d.ts +1 -1
  226. package/esm/coms/searches/Int.vue.d.ts +1 -1
  227. package/esm/coms/searches/Month.vue.d.ts +1 -1
  228. package/esm/coms/searches/Select.vue.d.ts +1 -1
  229. package/esm/coms/searches/Text.vue.d.ts +1 -1
  230. package/esm/coms/searches/index.d.ts +1 -1
  231. package/esm/coms/singles/@types/SingleProps.d.ts +15 -0
  232. package/esm/coms/singles/@types/index.d.ts +2 -0
  233. package/esm/coms/singles/Code.vue.d.ts +1 -1
  234. package/esm/coms/singles/Comment.vue.d.ts +1 -1
  235. package/esm/coms/singles/Index.vue.d.ts +1 -1
  236. package/esm/coms/singles/Normal.vue.d.ts +1 -1
  237. package/esm/coms/singles/Statistic.vue.d.ts +1 -1
  238. package/esm/coms/singles/Stock.vue.d.ts +1 -1
  239. package/esm/coms/singles/Table.vue.d.ts +1 -1
  240. package/esm/coms/singles/Tree.vue.d.ts +1 -1
  241. package/esm/coms/singles/index.d.ts +1 -1
  242. package/esm/coms/texts/Autocomplete.vue.d.ts +1 -1
  243. package/esm/coms/texts/CSharp.vue.d.ts +1 -1
  244. package/esm/coms/texts/Cascader.vue.d.ts +1 -1
  245. package/esm/coms/texts/Checkbox.vue.d.ts +1 -1
  246. package/esm/coms/texts/Code.vue.d.ts +1 -1
  247. package/esm/coms/texts/Color.vue.d.ts +1 -1
  248. package/esm/coms/texts/Compare.vue.d.ts +1 -1
  249. package/esm/coms/texts/Copy.vue.d.ts +1 -1
  250. package/esm/coms/texts/Date.vue.d.ts +1 -1
  251. package/esm/coms/texts/DateRange.vue.d.ts +1 -1
  252. package/esm/coms/texts/DateTime.vue.d.ts +1 -1
  253. package/esm/coms/texts/Decimal.vue.d.ts +1 -1
  254. package/esm/coms/texts/Dictionary.vue.d.ts +1 -1
  255. package/esm/coms/texts/Email.vue.d.ts +1 -1
  256. package/esm/coms/texts/Index.vue.d.ts +1 -1
  257. package/esm/coms/texts/Int.vue.d.ts +1 -1
  258. package/esm/coms/texts/Markdown.vue.d.ts +1 -1
  259. package/esm/coms/texts/Month.vue.d.ts +1 -1
  260. package/esm/coms/texts/Password.vue.d.ts +1 -1
  261. package/esm/coms/texts/Progress.vue.d.ts +1 -1
  262. package/esm/coms/texts/Radio.vue.d.ts +1 -1
  263. package/esm/coms/texts/Rate.vue.d.ts +1 -1
  264. package/esm/coms/texts/RichText.vue.d.ts +1 -1
  265. package/esm/coms/texts/Select.vue.d.ts +1 -1
  266. package/esm/coms/texts/Switch.vue.d.ts +1 -1
  267. package/esm/coms/texts/Text.vue.d.ts +1 -1
  268. package/esm/coms/texts/TextLink.vue.d.ts +1 -1
  269. package/esm/coms/texts/Textarea.vue.d.ts +1 -1
  270. package/esm/coms/texts/Upload.vue.d.ts +1 -1
  271. package/esm/coms/texts/Year.vue.d.ts +1 -1
  272. package/esm/main.d.ts +2 -2
  273. package/package.json +2 -2
  274. package/dist/Autocomplete-BA0pEA9T.js +0 -53
  275. package/dist/Autocomplete-C1MC46ef.js +0 -54
  276. package/dist/Callback-DmCRycGX.js +0 -26
  277. package/dist/Cascader-CQqLPpEF.js +0 -87
  278. package/dist/Cascader-DcM0THgE.js +0 -47
  279. package/dist/Checkbox-CLGuZoor.js +0 -76
  280. package/dist/Code-CVyrDYHh.js +0 -60
  281. package/dist/Code-CfODGNBF.js +0 -42
  282. package/dist/Code-D7kMH044.js +0 -4
  283. package/dist/Code.vue_vue_type_style_index_0_lang-CGIHkYJn.js +0 -65
  284. package/dist/Column-4XWgmnKg.js +0 -75
  285. package/dist/Comment-CNvy-1Iq.js +0 -104
  286. package/dist/Compare-wgk3D3EX.js +0 -44
  287. package/dist/Copy-C_EBpWht.js +0 -49
  288. package/dist/Custom-OUdFT-Z9.js +0 -57
  289. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DIrLf0yN.js +0 -176
  290. package/dist/Date-B1jUMPdx.js +0 -43
  291. package/dist/DateRange-CXUIVfwU.js +0 -63
  292. package/dist/DateTime-6lhPVe1O.js +0 -44
  293. package/dist/Daterange-DbhWv06V.js +0 -63
  294. package/dist/Delete-BU-TdXZR.js +0 -62
  295. package/dist/Dictionary-DYPWj-d0.js +0 -59
  296. package/dist/Email-BTKIb--f.js +0 -54
  297. package/dist/Index-BJWMiDrx.js +0 -178
  298. package/dist/Index-C8CUkTm5.js +0 -4
  299. package/dist/Index-CBAGTH43.js +0 -4
  300. package/dist/Index-D3WQg1HZ.js +0 -4
  301. package/dist/Index-KxibedJH.js +0 -4
  302. package/dist/Int-Ae-gJbt5.js +0 -44
  303. package/dist/Int-BqZ6sIcn.js +0 -46
  304. package/dist/List-D8C_gyVz.js +0 -79
  305. package/dist/Maintaince-DdS89Bbv.js +0 -20
  306. package/dist/Month-BECDFWum.js +0 -44
  307. package/dist/Month-CnScc0mu.js +0 -43
  308. package/dist/Paging-CdUnYWJ1.js +0 -99
  309. package/dist/QueryApi-CwNeSXIs.js +0 -20
  310. package/dist/RichText-D-AaPwkx.js +0 -47
  311. package/dist/Select-DuHwIGlP.js +0 -86
  312. package/dist/Select-RG1Hkpw4.js +0 -117
  313. package/dist/Text-DXGGbFhr.js +0 -4
  314. package/dist/Text.vue_vue_type_style_index_0_lang-CeWH48Pu.js +0 -59
  315. package/dist/TextLink-DYisoDVn.js +0 -65
  316. package/dist/Time-DxojKVPC.js +0 -43
  317. package/dist/Timeline-hBk2KUsH.js +0 -59
  318. package/dist/Tree-Dsrpy8UN.js +0 -122
  319. package/dist/TreeNode-BAZbs0jL.js +0 -42
  320. package/dist/Upload-Dt2pNqjv.js +0 -72
  321. package/dist/Upload-fnKNelcS.js +0 -150
  322. package/dist/UploadApi-D_HwEoQY.js +0 -20
  323. package/dist/Year-BUO5CKKv.js +0 -47
  324. package/dist/assets/clone-BZn0cTAu.js +0 -134
  325. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  326. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  327. package/dist/assets/moment-h96o7c8I.js +0 -2578
  328. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  329. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  330. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  331. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  332. package/dist/main--j4fHmql.js +0 -9084
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string | number;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare function __VLS_template(): {
3
3
  default?(_: {}): any;
4
4
  default?(_: {}): any;
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: number;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string | number | boolean;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  config?: any;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: number;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string | number | boolean;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string | number | boolean;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string | number;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare function __VLS_template(): {
3
3
  default?(_: {}): any;
4
4
  default?(_: {}): any;
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -1,4 +1,4 @@
1
- import { ControlProps } from "../controls/types";
1
+ import { ControlProps } from "../controls/@types";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
package/esm/main.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { App } from "vue";
2
- import { CreatePcOptions } from "./types";
2
+ import { CreatePcOptions } from "./@types";
3
3
  /**
4
4
  * 初始化PC框架
5
5
  * 创建前端基础框架,配置前端环境变量
@@ -9,5 +9,5 @@ export * from "halo-fe";
9
9
  export * from "./coms";
10
10
  export * from "./svcs";
11
11
  export * from "./repos";
12
- export * from "./types";
12
+ export * from "./@types";
13
13
  export { createPc };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -40,7 +40,7 @@
40
40
  "clipboard": "2.0.11",
41
41
  "echarts": "5.5.1",
42
42
  "intro.js": "8.0.0-beta.1",
43
- "halo-fe": "1.0.18",
43
+ "halo-fe": "1.0.20",
44
44
  "sortablejs": "1.15.2",
45
45
  "vue-canvas-nest": "2.0.0",
46
46
  "vue-router": "4.4.3"
@@ -1,53 +0,0 @@
1
- import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { j as B, S as D, h as R } from "./main--j4fHmql.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- const z = /* @__PURE__ */ _({
9
- __name: "Autocomplete",
10
- props: {
11
- schema: {},
12
- table: {},
13
- field: {},
14
- searchData: {},
15
- modelValue: {}
16
- },
17
- emits: ["submit", "change", "update:modelValue"],
18
- setup(p, { emit: i }) {
19
- let m = i, d = p, { table: c, field: s, searchData: j, modelValue: f } = v(d), a = V([]), h = null, g = (l, e) => {
20
- if (a.value.length) {
21
- let t = a.value.filter((u) => D.containsIgnoreCase(l, u.value));
22
- e(t);
23
- return;
24
- }
25
- let n = { text: h, conditions: [] };
26
- R.post(s.value.control.data.route, n).then(({ data: t }) => {
27
- a.value = t.map((u) => ({ value: u.text })), e(a.value);
28
- }).catch(() => {
29
- e([]);
30
- });
31
- }, r = x({
32
- get() {
33
- return f.value;
34
- },
35
- set(l) {
36
- m("update:modelValue", l), m("change", l);
37
- }
38
- });
39
- return (l, e) => {
40
- const n = C("el-autocomplete");
41
- return S(), b(n, {
42
- clearable: "",
43
- placeholder: o(B)(o(c).name, o(s).name),
44
- "fetch-suggestions": o(g),
45
- modelValue: o(r),
46
- "onUpdate:modelValue": e[0] || (e[0] = (t) => k(r) ? r.value = t : r = t)
47
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
48
- };
49
- }
50
- });
51
- export {
52
- z as default
53
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { j as B, S as R, h as j } from "./main--j4fHmql.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- const D = /* @__PURE__ */ _({
9
- __name: "Autocomplete",
10
- props: {
11
- schema: {},
12
- table: {},
13
- field: {},
14
- set: {},
15
- row: {},
16
- modelValue: {}
17
- },
18
- emits: ["submit", "change", "update:modelValue"],
19
- setup(p, { emit: i }) {
20
- let m = i, d = p, { table: c, field: s, set: w, modelValue: f } = v(d), a = V([]), g = null, h = (l, e) => {
21
- if (a.value.length) {
22
- let t = a.value.filter((u) => R.containsIgnoreCase(l, u.value));
23
- e(t);
24
- return;
25
- }
26
- let r = { text: g, conditions: [] };
27
- j.post(s.value.control.data.route, r).then(({ data: t }) => {
28
- a.value = t.map((u) => ({ value: u.text })), e(a.value);
29
- }).catch(() => {
30
- e([]);
31
- });
32
- }, n = x({
33
- get() {
34
- return f.value;
35
- },
36
- set(l) {
37
- m("update:modelValue", l), m("change", l);
38
- }
39
- });
40
- return (l, e) => {
41
- const r = C("el-autocomplete");
42
- return S(), b(r, {
43
- clearable: "",
44
- placeholder: o(B)(o(c).name, o(s).name),
45
- "fetch-suggestions": o(h),
46
- modelValue: o(n),
47
- "onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
48
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
49
- };
50
- }
51
- });
52
- export {
53
- D as default
54
- };
@@ -1,26 +0,0 @@
1
- import { defineComponent as o } from "vue";
2
- import { useRouter as i, useRoute as n } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import "./assets/underscore.string-DVXD2SZo.js";
5
- import "./assets/clone-BZn0cTAu.js";
6
- import "./assets/file-saver-CwlpTZSc.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { m as p, W as s } from "./main--j4fHmql.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const q = /* @__PURE__ */ o({
11
- __name: "Callback",
12
- setup(m) {
13
- let e = i(), t = n().query;
14
- return (async () => {
15
- if (!t.type) {
16
- p.error("缺失type参数");
17
- return;
18
- }
19
- let r = await s.sso.create(t.type.toString());
20
- t.identity = JSON.parse(t.identity.toString()), r.login(t), e.push(t.return_url.toString());
21
- })(), (r, u) => " 登录完毕,处理回调中... ";
22
- }
23
- });
24
- export {
25
- q as default
26
- };
@@ -1,87 +0,0 @@
1
- import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as i, createBlock as T, unref as a, isRef as D, withCtx as I, createElementVNode as P, createTextVNode as j, toDisplayString as c, createElementBlock as m, createCommentVNode as h } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { k as q, T as f, h as H } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const U = {
10
- key: 0,
11
- class: "cascader-suffix"
12
- }, z = {
13
- key: 0,
14
- class: "cascader-length"
15
- }, X = /* @__PURE__ */ E({
16
- __name: "Cascader",
17
- props: {
18
- schema: {},
19
- table: {},
20
- field: {},
21
- set: {},
22
- row: {},
23
- modelValue: {}
24
- },
25
- emits: ["submit", "change", "update:modelValue"],
26
- setup(v, { emit: g }) {
27
- let p = g, _ = v, { table: V, field: t, set: A, row: F, modelValue: b } = w(_), s = N(), d = null, x = () => {
28
- s.value || (s.value = t.value.control.data.data);
29
- let e = b.value, l = [];
30
- return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
31
- let o = f.getParentsById(r, "value", s.value, "children", !0);
32
- o.length > 0 && l.push(o.map((B) => B.value));
33
- }) : f.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
34
- l.push(r.value);
35
- }), l;
36
- }, C = (e) => {
37
- let l;
38
- t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], p("update:modelValue", l), p("change", l);
39
- }, k = (e) => {
40
- e && (d = null, y());
41
- }, y = () => {
42
- let e = { text: d, conditions: [] };
43
- t.value.control.data.conditions.forEach((l) => {
44
- e.conditions.push({ name: l.name, value: null });
45
- }), H.post(t.value.control.data.route, e).then(({ data: l }) => {
46
- s.value = l;
47
- });
48
- }, u = R({
49
- get() {
50
- return x();
51
- },
52
- set(e) {
53
- C(e);
54
- }
55
- });
56
- return (e, l) => {
57
- const n = S("el-cascader");
58
- return i(), T(n, {
59
- ref: "cascaderRef",
60
- placeholder: a(q)(a(V).name, a(t).name),
61
- filterable: "",
62
- "collapse-tags": "",
63
- "collapse-tags-tooltip": "",
64
- "max-collapse-tags": 6,
65
- options: a(s),
66
- disabled: a(t).readonly,
67
- props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
68
- clearable: !a(t).control.required,
69
- onVisibleChange: a(k),
70
- modelValue: a(u),
71
- "onUpdate:modelValue": l[0] || (l[0] = (r) => D(u) ? u.value = r : u = r)
72
- }, {
73
- default: I(({ node: r, data: o }) => [
74
- P("span", null, [
75
- j(c(o.text), 1),
76
- o.suffix ? (i(), m("span", U, "(" + c(o.suffix) + ")", 1)) : h("", !0)
77
- ]),
78
- o.children ? (i(), m("span", z, c(o.children.length), 1)) : h("", !0)
79
- ]),
80
- _: 1
81
- }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
82
- };
83
- }
84
- });
85
- export {
86
- X as default
87
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { T as B } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const C = { class: "text-cascader" }, S = {
10
- key: 0,
11
- class: "cascader-seperator"
12
- }, R = /* @__PURE__ */ y({
13
- __name: "Cascader",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- set: {},
19
- row: {},
20
- modelValue: {}
21
- },
22
- emits: ["submit", "change"],
23
- setup(_, { emit: V }) {
24
- let v = _, { table: w, field: s, set: E, row: T, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
25
- if (u.value.length > 0) {
26
- let p = s.value.control.data.data, a = [];
27
- return u.value.forEach((r) => {
28
- let l = B.getParentsById(r, "value", p, "children", !0);
29
- l.length > 0 && a.push(l);
30
- }), a;
31
- }
32
- return [];
33
- });
34
- return (p, a) => (e(), t("div", C, [
35
- (e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
36
- (e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
37
- style: x({ color: n.color }),
38
- key: n.value
39
- }, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
40
- l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
41
- ]))), 256))
42
- ]));
43
- }
44
- });
45
- export {
46
- R as default
47
- };
@@ -1,76 +0,0 @@
1
- import { defineComponent as N, toRefs as w, ref as h, computed as A, resolveComponent as g, openBlock as m, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as i, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import { t as D } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const F = { class: "control-checkbox" }, L = { class: "check-all" }, O = /* @__PURE__ */ N({
10
- __name: "Checkbox",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["change", "update:modelValue"],
20
- setup(x, { emit: b }) {
21
- let s = b, C = x, { field: d, table: T, set: j, modelValue: p } = w(C), r = h(!1), c = h(!1), y = (n) => {
22
- o.value = n ? d.value.control.data.data.map((e) => e.value) : [], c.value = !1;
23
- }, B = (n) => {
24
- let e = d.value.control.data.data.map((u) => u.value), a = n.filter((u) => e.includes(u));
25
- r.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
26
- }, o = A({
27
- get() {
28
- return p.value ? p.value.split(",") : [];
29
- },
30
- set(n) {
31
- let e = n.toString();
32
- s("update:modelValue", e), s("change", e);
33
- }
34
- });
35
- return (n, e) => {
36
- const a = g("el-checkbox"), u = g("el-checkbox-group");
37
- return m(), f("div", F, [
38
- v(u, {
39
- onChange: t(B),
40
- modelValue: t(o),
41
- "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
42
- }, {
43
- default: i(() => [
44
- (m(!0), f(E, null, R(t(d).control.data.data, (l) => (m(), S(a, {
45
- disabled: t(d).control.readonly,
46
- value: l.value,
47
- key: l.value
48
- }, {
49
- default: i(() => [
50
- V(k(l.text), 1)
51
- ]),
52
- _: 2
53
- }, 1032, ["disabled", "value"]))), 128))
54
- ]),
55
- _: 1
56
- }, 8, ["onChange", "modelValue"]),
57
- U("div", L, [
58
- v(a, {
59
- indeterminate: t(c),
60
- onChange: t(y),
61
- modelValue: t(r),
62
- "onUpdate:modelValue": e[1] || (e[1] = (l) => _(r) ? r.value = l : r = l)
63
- }, {
64
- default: i(() => [
65
- V(k(t(D)("common.select_all")), 1)
66
- ]),
67
- _: 1
68
- }, 8, ["indeterminate", "onChange", "modelValue"])
69
- ])
70
- ]);
71
- };
72
- }
73
- });
74
- export {
75
- O as default
76
- };