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,46 +0,0 @@
1
- import { defineComponent as b, toRefs as f, computed as _, resolveComponent as V, openBlock as g, createBlock as h, unref as e, withKeys as v, isRef as y } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { S as K, j as k } 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 I = /* @__PURE__ */ b({
9
- __name: "Int",
10
- props: {
11
- schema: {},
12
- table: {},
13
- field: {},
14
- set: {},
15
- row: {},
16
- modelValue: {}
17
- },
18
- emits: ["submit", "change", "update:modelValue"],
19
- setup(i, { emit: u }) {
20
- let l = u, p = i, { table: s, field: r, set: w, modelValue: a } = f(p), d = () => {
21
- l("submit");
22
- }, t = _({
23
- get() {
24
- if (K.isNumber(a.value))
25
- return a.value;
26
- },
27
- set(o) {
28
- l("update:modelValue", o), l("change", o);
29
- }
30
- });
31
- return (o, n) => {
32
- const c = V("el-input-number");
33
- return g(), h(c, {
34
- "aria-label": e(k)(e(s).name, e(r).name),
35
- "controls-position": "right",
36
- disabled: e(r).control.readonly,
37
- onKeyup: v(e(d), ["enter", "native"]),
38
- modelValue: e(t),
39
- "onUpdate:modelValue": n[0] || (n[0] = (m) => y(t) ? t.value = m : t = m)
40
- }, null, 8, ["aria-label", "disabled", "onKeyup", "modelValue"]);
41
- };
42
- }
43
- });
44
- export {
45
- I as default
46
- };
@@ -1,79 +0,0 @@
1
- import { defineComponent as U, toRefs as B, ref as r, watch as E, openBlock as F, createBlock as H, resolveDynamicComponent as T, unref as t, withCtx as V, createElementVNode as $, toDisplayString as j } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as n, b as A, i as G, s as v, c as I } from "./main--j4fHmql.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const J = { class: "not-support" }, te = /* @__PURE__ */ U({
10
- __name: "List",
11
- props: {
12
- base: {},
13
- route: {},
14
- url: {},
15
- win: {}
16
- },
17
- emits: ["load", "navigate"],
18
- setup(_, { expose: S, emit: P }) {
19
- let d = P, k = _, { url: h, base: p, route: u } = B(k), f = r(), i = r(), s = r(), y = r(), g = r(), o = r(), c = r(), q = (e) => {
20
- let l = n.getPath(e), a = n.getPath(h.value);
21
- return l != a;
22
- }, C = (e) => {
23
- let l = n.getPath(h.value), a = n.getPath(e);
24
- return l != a;
25
- }, x = (e) => {
26
- var a;
27
- let l = A(e.module.type, e.module.name);
28
- G.setTitle(l, e.module.env), f.value = e.module, i.value = v.expandSchema(e.schema, e.set), s.value = (a = i.value) == null ? void 0 : a[0], y.value = e.next, g.value = v.expandSet(e.schema, e.set), c.value = v.getConditionForm(i.value, u.value.query.condition);
29
- }, m = (e = null, l = null) => {
30
- let a = e ?? u.value.query, N = n.getUrl(u.value.path, a);
31
- d("load", N, !1, l);
32
- }, R = (e) => {
33
- m(null, e);
34
- }, w = (e) => {
35
- d("navigate", e);
36
- }, D = async (e) => {
37
- let l = u.value.query;
38
- l.condition = I.encode(c.value), m(l, e);
39
- }, b = () => {
40
- m();
41
- }, z = (e, l) => {
42
- if (!o.value || !o.value.keyboard)
43
- return !1;
44
- o.value.keyboard(e, l);
45
- }, L = (e) => {
46
- if (!o.value || !o.value.resize)
47
- return !1;
48
- o.value.resize(e);
49
- };
50
- return (() => {
51
- x(p.value.data);
52
- })(), E(() => p.value, (e) => {
53
- x(e.data);
54
- }), S({ shouldLoad: q, shouldSpin: C, refresh: b, keyboard: z, resize: L }), (e, l) => (F(), H(T(`list-${t(s).layouts[0].type.toLowerCase()}`), {
55
- ref_key: "listRef",
56
- ref: o,
57
- route: t(u),
58
- module: t(f),
59
- schema: t(i),
60
- table: t(s),
61
- layout: t(s).layouts[0],
62
- next: t(y),
63
- set: t(g),
64
- "search-data": t(c),
65
- onSucceed: t(R),
66
- onSearch: t(D),
67
- onNavigate: t(w),
68
- onRefresh: t(b)
69
- }, {
70
- default: V(() => [
71
- $("div", J, "未支持的列表布局方式:" + j(t(s).layouts[0].type), 1)
72
- ]),
73
- _: 1
74
- }, 40, ["route", "module", "schema", "table", "layout", "next", "set", "search-data", "onSucceed", "onSearch", "onNavigate", "onRefresh"]));
75
- }
76
- });
77
- export {
78
- te as default
79
- };
@@ -1,20 +0,0 @@
1
- import { defineComponent as e, openBlock as o, createElementBlock as i, createElementVNode as t, toDisplayString as n, unref as r } 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 { B as s } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const c = { class: "maintenance" }, a = /* @__PURE__ */ t("div", { class: "title" }, "系统维护中", -1), m = { class: "description" }, x = /* @__PURE__ */ e({
10
- __name: "Maintaince",
11
- setup(p) {
12
- return (_, d) => (o(), i("div", c, [
13
- a,
14
- t("div", m, n(r(s)), 1)
15
- ]));
16
- }
17
- });
18
- export {
19
- x as default
20
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } 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 Y } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const U = /* @__PURE__ */ c({
10
- __name: "Month",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(p, { emit: d }) {
21
- let l = d, n = p, { table: i, field: a, set: g, modelValue: u } = f(n), o = _({
22
- get() {
23
- return u.value;
24
- },
25
- set(t) {
26
- l("update:modelValue", t), l("change", t);
27
- }
28
- });
29
- return (t, m) => {
30
- const s = h("el-date-picker");
31
- return V(), b(s, {
32
- type: "month",
33
- placeholder: e(Y)(e(i).name, e(a).name),
34
- "value-format": "YYYY-MM",
35
- disabled: e(a).control.readonly,
36
- modelValue: e(o),
37
- "onUpdate:modelValue": m[0] || (m[0] = (r) => k(o) ? o.value = r : o = r)
38
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
39
- };
40
- }
41
- });
42
- export {
43
- U as default
44
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as h, openBlock as V, createBlock as b, unref as e, isRef as k } 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 Y } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const U = /* @__PURE__ */ c({
10
- __name: "Month",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- searchData: {},
16
- modelValue: {}
17
- },
18
- emits: ["submit", "change", "update:modelValue"],
19
- setup(p, { emit: d }) {
20
- let l = d, n = p, { table: i, field: a, searchData: g, modelValue: u } = f(n), o = _({
21
- get() {
22
- return u.value;
23
- },
24
- set(t) {
25
- l("update:modelValue", t), l("change", t);
26
- }
27
- });
28
- return (t, m) => {
29
- const s = h("el-date-picker");
30
- return V(), b(s, {
31
- type: "month",
32
- placeholder: e(Y)(e(i).name, e(a).name),
33
- "value-format": "YYYY-MM",
34
- disabled: e(a).control.readonly,
35
- modelValue: e(o),
36
- "onUpdate:modelValue": m[0] || (m[0] = (r) => k(o) ? o.value = r : o = r)
37
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
38
- };
39
- }
40
- });
41
- export {
42
- U as default
43
- };
@@ -1,99 +0,0 @@
1
- import { defineComponent as V, toRefs as $, ref as r, onMounted as A, watch as E, unref as a, openBlock as G, createBlock as I, createCommentVNode as K } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as s, b as Q, i as W, s as h, O as X, c as b } from "./main--j4fHmql.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/moment-h96o7c8I.js";
7
- import "./assets/liquidjs-C-LVcoaY.js";
8
- import { _ as Y } from "./Index.vue_vue_type_script_setup_true_lang-Cx8eXCsw.js";
9
- const oe = /* @__PURE__ */ V({
10
- __name: "Paging",
11
- props: {
12
- base: {},
13
- route: {},
14
- url: {},
15
- win: {}
16
- },
17
- emits: ["navigate", "load"],
18
- setup(q, { expose: k, emit: z }) {
19
- let g = z, P = q, { url: d, base: y, route: u } = $(P), f = r(), v = r(), c = r(), m = r(), x = r(), C = r(), p = r(), o = r(), N = (e) => !0, L = (e) => {
20
- let l = s.getPath(d.value), t = s.getPath(e);
21
- return l != t;
22
- }, O = (e = null) => {
23
- _(e);
24
- }, R = () => {
25
- }, S = (e) => {
26
- var t;
27
- let l = Q(e.module.type, e.module.name);
28
- W.setTitle(l, e.module.env), f.value = e.module, x.value = e.next, C.value = h.expandSet(e.schema, e.set), v.value = h.expandSchema(e.schema, e.set), c.value = (t = v.value) == null ? void 0 : t[0], m.value = c.value.layouts[0], p.value = h.getConditionForm(v.value, u.value.query.condition);
29
- }, U = (e = null, l = null) => {
30
- let t = e ?? u.value.query, n = s.getUrl(u.value.path, t);
31
- g("load", n, !1, (T) => {
32
- l && l(T);
33
- });
34
- }, i = (e, l) => {
35
- g("navigate", e, l);
36
- }, w = async (e) => {
37
- let l = u.value.query;
38
- l.page = 1;
39
- let t = X.pure(p.value);
40
- l.condition = b.encode(t);
41
- let n = s.getUrl(u.value.path, l);
42
- n == d.value ? U(l, e) : i(n, e);
43
- }, B = (e, l) => {
44
- let t = u.value.query;
45
- t.order_by = b.encode(JSON.stringify(e));
46
- let n = s.getUrl(u.value.path, t);
47
- i(n, l);
48
- }, D = (e, l = null) => {
49
- let t = u.value.query;
50
- t.page = e;
51
- let n = s.getUrl(u.value.path, t);
52
- i(n, l);
53
- }, H = (e, l = null) => {
54
- let t = u.value.query;
55
- t.size = e;
56
- let n = s.getUrl(u.value.path, t);
57
- i(n, l);
58
- }, j = (e) => {
59
- m.value = c.value.layouts.find((l) => l.type == e);
60
- }, F = () => {
61
- S(y.value.data);
62
- }, _ = (e = null) => U(null, e), J = (e) => {
63
- if (!o.value || !o.value.resize)
64
- return !1;
65
- o.value.resize(e);
66
- }, M = (e, l) => {
67
- if (!o.value || !o.value.keyboard)
68
- return !1;
69
- o.value.keyboard(e, l);
70
- };
71
- return A(async () => {
72
- F();
73
- }), E(() => y.value, (e) => {
74
- S(e.data);
75
- }), k({ shouldLoad: N, shouldSpin: L, refresh: _, keyboard: M, resize: J }), (e, l) => a(m) ? (G(), I(Y, {
76
- key: 0,
77
- ref_key: "pagingRef",
78
- ref: o,
79
- module: a(f),
80
- next: a(x),
81
- set: a(C),
82
- schema: a(v),
83
- table: a(c),
84
- layout: a(m),
85
- "search-data": a(p),
86
- onNavigate: a(i),
87
- onSort: a(B),
88
- onSearch: a(w),
89
- onPageChange: a(D),
90
- onSizeChange: a(H),
91
- onLayoutChange: a(j),
92
- onSucceed: a(O),
93
- onClose: a(R)
94
- }, null, 8, ["module", "next", "set", "schema", "table", "layout", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onLayoutChange", "onSucceed", "onClose"])) : K("", !0);
95
- }
96
- });
97
- export {
98
- oe as default
99
- };
@@ -1,20 +0,0 @@
1
- import "./assets/underscore-B0BCaBxV.js";
2
- import "vue";
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 { h as r } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- class o {
10
- /**
11
- * 查询代码语言和文本语言映射关系
12
- */
13
- static async loadCodeLanguage() {
14
- return r.post("/dictionary/code_language").then((t) => t.data);
15
- }
16
- }
17
- const d = o;
18
- export {
19
- d as Q
20
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as d, onMounted as _, computed as c, watch as v, openBlock as w, createBlock as R, unref as r, normalizeStyle as b, isRef as k } 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 { v as B } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const D = /* @__PURE__ */ g({
10
- __name: "RichText",
11
- props: /* @__PURE__ */ x({
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {}
17
- }, {
18
- modelValue: {},
19
- modelModifiers: {}
20
- }),
21
- emits: ["update:modelValue"],
22
- setup(n) {
23
- let f = n, { field: e, table: h, set: C, row: i } = S(f), u = M(n, "modelValue"), t = d({ readonly: !1, scrollTop: 0 }), s = d(), y = (l) => {
24
- a.value != null && (i.value[a.value.name] = l.scrollTop);
25
- }, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
26
- t.value.readonly = e.value.control.readonly, t.value.scrollTop = m.value, s.value = T();
27
- };
28
- _(() => {
29
- V();
30
- });
31
- let m = c(() => a.value ? i.value[a.value.name] : null), a = c(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
32
- return v(() => m.value, (l, o) => {
33
- t.value.scrollTop = l;
34
- }), v(() => e.value.control.readonly, (l, o) => {
35
- t.value.readonly = l;
36
- }), (l, o) => (w(), R(r(B), {
37
- style: b(r(s)),
38
- options: r(t),
39
- onScroll: r(y),
40
- modelValue: r(u),
41
- "onUpdate:modelValue": o[0] || (o[0] = (p) => k(u) ? u.value = p : u = p)
42
- }, null, 8, ["style", "options", "onScroll", "modelValue"]));
43
- }
44
- });
45
- export {
46
- D as default
47
- };
@@ -1,86 +0,0 @@
1
- import { defineComponent as K, toRefs as R, ref as i, computed as S, resolveComponent as p, openBlock as r, createBlock as c, unref as t, withKeys as M, withModifiers as N, isRef as F, withCtx as f, createElementBlock as h, Fragment as L, renderList as U, createElementVNode as j, toDisplayString as _, createCommentVNode as q } 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 z, f as A, h as G } from "./main--j4fHmql.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const H = { class: "option-text" }, I = {
10
- key: 0,
11
- class: "option-suffix"
12
- }, ee = /* @__PURE__ */ K({
13
- __name: "Select",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- searchData: {},
19
- modelValue: { type: [String, Boolean] }
20
- },
21
- emits: ["change", "submit", "update:modelValue"],
22
- setup(v, { emit: x }) {
23
- let s = x, b = v, { schema: J, table: g, field: a, searchData: y, modelValue: V } = R(b), k = i(!1), m = i(), d = i(a.value.control.data.data), C = () => {
24
- s("submit");
25
- }, w = () => {
26
- }, B = (l) => {
27
- m.value = l, D();
28
- }, D = () => {
29
- let l = { text: m.value, conditions: [] };
30
- a.value.control.data.conditions.forEach((o) => {
31
- let u = y.value[o.table][o.field];
32
- l.conditions.push({ name: o.name, value: u });
33
- }), G.post(a.value.control.data.route, l).then(({ data: o }) => {
34
- d.value = o;
35
- }).finally(() => {
36
- k.value = !1;
37
- });
38
- }, n = S({
39
- get() {
40
- return V.value;
41
- },
42
- set(l) {
43
- s("update:modelValue", l), s("change", l);
44
- }
45
- });
46
- return (l, o) => {
47
- const u = p("el-option"), E = p("el-select");
48
- return r(), c(E, {
49
- ref: "selectRef",
50
- filterable: "",
51
- remote: "",
52
- "reserve-keyword": "",
53
- clearable: "",
54
- "default-first-option": "",
55
- "remote-show-suffix": "",
56
- placeholder: t(z)("common.please_choose") + t(A)(t(g).name, t(a).name),
57
- multiple: t(a).control.multiple,
58
- "loading-text": "加载中",
59
- "remote-method": t(B),
60
- disabled: t(a).control.readonly,
61
- onKeyup: M(N(t(C), ["alt"]), ["enter", "native"]),
62
- onChange: t(w),
63
- modelValue: t(n),
64
- "onUpdate:modelValue": o[0] || (o[0] = (e) => F(n) ? n.value = e : n = e)
65
- }, {
66
- default: f(() => [
67
- (r(!0), h(L, null, U(t(d), (e, O) => (r(), c(u, {
68
- label: e.text + (e.suffix ? "(" + e.suffix + ")" : ""),
69
- value: e.value,
70
- key: e.value
71
- }, {
72
- default: f(() => [
73
- j("span", H, _(e.text), 1),
74
- e.suffix ? (r(), h("span", I, "(" + _(e.suffix) + ")", 1)) : q("", !0)
75
- ]),
76
- _: 2
77
- }, 1032, ["label", "value"]))), 128))
78
- ]),
79
- _: 1
80
- }, 8, ["placeholder", "multiple", "remote-method", "disabled", "onKeyup", "onChange", "modelValue"]);
81
- };
82
- }
83
- });
84
- export {
85
- ee as default
86
- };
@@ -1,117 +0,0 @@
1
- import { defineComponent as A, toRefs as D, ref as f, computed as H, resolveComponent as b, openBlock as c, createBlock as y, unref as n, withKeys as L, withModifiers as O, isRef as U, withCtx as V, createElementBlock as k, Fragment as $, renderList as q, createElementVNode as z, toDisplayString as w, createCommentVNode as G, nextTick as I } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { k as J, w as P, x as Q, h as W } from "./main--j4fHmql.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 "./assets/liquidjs-C-LVcoaY.js";
9
- const X = { class: "option-text" }, Y = {
10
- key: 0,
11
- class: "option-suffix"
12
- }, ue = /* @__PURE__ */ A({
13
- __name: "Select",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- set: {},
19
- row: {},
20
- modelValue: { type: [String, Number, Boolean, Array] }
21
- },
22
- emits: ["submit", "change", "update:modelValue"],
23
- setup(C, { emit: E }) {
24
- let s = E, B = C, { schema: S, field: r, table: p, set: v, row: R, modelValue: m } = D(B), x = f(), g = f(), h = f(!1), d = f(r.value.control.data.data), K = (t) => {
25
- t == "" && (t = null);
26
- let e;
27
- if (P.isString(t) && r.value.control.multiple ? e = t.join(",") : e = t, u.value = e, r.value.control.text) {
28
- let a = p.value.fields.find((l) => l.name == r.value.control.text), o;
29
- e && (o = d.value.find((i) => i.value == e).text);
30
- debugger;
31
- R.value[a.name] = o;
32
- }
33
- _(p.value, r.value), s("change", t);
34
- }, N = () => {
35
- s("submit");
36
- }, T = () => {
37
- }, j = () => {
38
- h.value = !0;
39
- let t = { text: g.value, conditions: [] };
40
- r.value.control.data.conditions.forEach((e) => {
41
- let a = v.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
42
- t.conditions.push({ name: e.name, value: o });
43
- }), W.post(r.value.control.data.route, t).then(({ data: e }) => {
44
- d.value = e;
45
- }).finally(() => {
46
- h.value = !1, I(() => {
47
- let e = d.value.find((a) => a.value == u.value);
48
- x.value.scrollToOption(e);
49
- });
50
- });
51
- }, F = (t) => {
52
- g.value = t, j();
53
- }, M = (t, e) => {
54
- let a = [];
55
- return S.value.forEach((o) => {
56
- o.fields.forEach((l) => {
57
- l.dictionary && l.dictionary.conditions.forEach((i) => {
58
- i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
59
- });
60
- });
61
- }), a;
62
- }, _ = (t, e) => {
63
- M(t, e).forEach((o) => {
64
- Q.setRowsValue(null, v.value, o.table, o.field), _(o.table, o.field);
65
- });
66
- }, u = H({
67
- get() {
68
- return r.value.control.multiple ? m.value == null ? [] : m.value.toString().split(",") : m.value;
69
- },
70
- set(t) {
71
- s("update:modelValue", t), s("change", t);
72
- }
73
- });
74
- return (t, e) => {
75
- const a = b("el-option"), o = b("el-select");
76
- return c(), y(o, {
77
- ref_key: "selectRef",
78
- ref: x,
79
- filterable: "",
80
- remote: "",
81
- "reserve-keyword": "",
82
- "default-first-option": "",
83
- "remote-show-suffix": "",
84
- "loading-text": "加载中",
85
- clearable: "",
86
- placeholder: n(J)(n(p).name, n(r).name),
87
- multiple: n(r).control.multiple,
88
- "remote-method": n(F),
89
- loading: n(h),
90
- disabled: n(r).control.readonly,
91
- onKeyup: L(O(n(N), ["alt"]), ["enter", "native"]),
92
- onBlur: n(T),
93
- onChange: n(K),
94
- modelValue: n(u),
95
- "onUpdate:modelValue": e[0] || (e[0] = (l) => U(u) ? u.value = l : u = l)
96
- }, {
97
- default: V(() => [
98
- (c(!0), k($, null, q(n(d), (l, i) => (c(), y(a, {
99
- label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
100
- value: l.value,
101
- key: l.value
102
- }, {
103
- default: V(() => [
104
- z("span", X, w(l.text), 1),
105
- l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : G("", !0)
106
- ]),
107
- _: 2
108
- }, 1032, ["label", "value"]))), 128))
109
- ]),
110
- _: 1
111
- }, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
112
- };
113
- }
114
- });
115
- export {
116
- ue as default
117
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-CeWH48Pu.js";
2
- export {
3
- f as default
4
- };
@@ -1,59 +0,0 @@
1
- import { defineComponent as x, toRefs as v, ref as f, computed as V, resolveComponent as y, openBlock as i, createElementBlock as s, Fragment as H, unref as l, createBlock as g, isRef as d, createCommentVNode as B, nextTick as C, createElementVNode as R } 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 { I as T } from "./main--j4fHmql.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./assets/liquidjs-C-LVcoaY.js";
9
- const b = ["innerHTML"], w = /* @__PURE__ */ R("i", { class: "fa fa-edit" }, null, -1), E = [
10
- w
11
- ], A = /* @__PURE__ */ x({
12
- __name: "Text",
13
- props: {
14
- schema: {},
15
- table: {},
16
- field: {},
17
- set: {},
18
- row: {},
19
- modelValue: {}
20
- },
21
- setup(c) {
22
- let _ = c, { table: L, field: m, set: M, row: N, modelValue: k } = v(_), t = f(!1), u = f(), a = () => {
23
- t.value = !0, C(() => {
24
- u.value.focus();
25
- });
26
- }, o = V(() => {
27
- var r;
28
- let p = T.getHtml((r = k.value) == null ? void 0 : r.toString());
29
- return (m.value.control.prefix || "") + (p || "") + (m.value.control.suffix || "");
30
- });
31
- return (p, e) => {
32
- const r = y("el-input");
33
- return i(), s(H, null, [
34
- l(t) ? (i(), g(r, {
35
- key: 1,
36
- ref_key: "editRef",
37
- ref: u,
38
- type: "text",
39
- onBlur: e[0] || (e[0] = (n) => d(t) ? t.value = !1 : t = !1),
40
- modelValue: l(o),
41
- "onUpdate:modelValue": e[1] || (e[1] = (n) => d(o) ? o.value = n : o = n)
42
- }, null, 8, ["modelValue"])) : (i(), s("span", {
43
- key: 0,
44
- class: "text-text",
45
- innerHTML: l(o)
46
- }, null, 8, b)),
47
- l(t) ? B("", !0) : (i(), s("span", {
48
- key: 2,
49
- class: "edit-inline",
50
- onClick: e[2] || (e[2] = //@ts-ignore
51
- (...n) => l(a) && l(a)(...n))
52
- }, E))
53
- ], 64);
54
- };
55
- }
56
- });
57
- export {
58
- A as _
59
- };