halo-pc 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. package/esm/components/business/index.d.ts +8 -8
  2. package/esm/components/controls/Text.vue.d.ts +1 -1
  3. package/esm/components/index.d.ts +8 -8
  4. package/esm/components/layouts/index.d.ts +2 -2
  5. package/esm/components/lists/Tree.vue.d.ts +1 -1
  6. package/esm/components/lists/index.d.ts +1 -1
  7. package/esm/components/pages/Single.vue.d.ts +1 -1
  8. package/esm/components/pagings/Article.vue.d.ts +1 -1
  9. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  10. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  11. package/esm/components/pagings/Index.vue.d.ts +4 -4
  12. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  13. package/esm/components/pagings/Table.vue.d.ts +3 -3
  14. package/esm/components/pagings/index.d.ts +1 -1
  15. package/esm/components/partials/Detail.vue.d.ts +1 -1
  16. package/esm/components/partials/Update.vue.d.ts +1 -1
  17. package/esm/components/singles/index.d.ts +1 -1
  18. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  19. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  20. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  21. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  22. package/esm/components/texts/Code.vue.d.ts +1 -1
  23. package/esm/components/texts/Color.vue.d.ts +1 -1
  24. package/esm/components/texts/Compare.vue.d.ts +1 -1
  25. package/esm/components/texts/Copy.vue.d.ts +1 -1
  26. package/esm/components/texts/Date.vue.d.ts +1 -1
  27. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  28. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  29. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  30. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  31. package/esm/components/texts/Email.vue.d.ts +1 -1
  32. package/esm/components/texts/Index.vue.d.ts +1 -1
  33. package/esm/components/texts/Int.vue.d.ts +1 -1
  34. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  35. package/esm/components/texts/Month.vue.d.ts +1 -1
  36. package/esm/components/texts/Password.vue.d.ts +1 -1
  37. package/esm/components/texts/Progress.vue.d.ts +1 -1
  38. package/esm/components/texts/Radio.vue.d.ts +1 -1
  39. package/esm/components/texts/Rate.vue.d.ts +1 -1
  40. package/esm/components/texts/RichText.vue.d.ts +1 -1
  41. package/esm/components/texts/Select.vue.d.ts +1 -1
  42. package/esm/components/texts/Switch.vue.d.ts +1 -1
  43. package/esm/components/texts/Text.vue.d.ts +1 -1
  44. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  45. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  46. package/esm/components/texts/Upload.vue.d.ts +1 -1
  47. package/esm/components/texts/Year.vue.d.ts +1 -1
  48. package/esm/main.d.ts +5 -5
  49. package/esm/plugins/index.d.ts +1 -0
  50. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  51. package/esm/sdks/commons/index.d.ts +1 -59
  52. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  53. package/esm/sdks/globals/index.d.ts +4 -0
  54. package/esm/sdks/index.d.ts +4 -7
  55. package/esm/services/MessageService.d.ts +9 -8
  56. package/esm/services/index.d.ts +1 -3
  57. package/esm/stores/index.d.ts +1 -7
  58. package/package.json +17 -21
  59. package/dist/Article-D4qXG55i.js +0 -195
  60. package/dist/ArticleFooter-BAf1rKUX.js +0 -78
  61. package/dist/Autocomplete-BOxOjTFs.js +0 -51
  62. package/dist/Autocomplete-BdKldPfG.js +0 -27
  63. package/dist/Autocomplete-CV4D7693.js +0 -52
  64. package/dist/CSharp-D_fhmKNi.js +0 -27
  65. package/dist/Calender-B1bjnNK5.js +0 -10
  66. package/dist/Callback-DjHhgx-q.js +0 -20
  67. package/dist/Cascader-B6OhUHVe.js +0 -44
  68. package/dist/Cascader-K4fh1YbW.js +0 -83
  69. package/dist/Checkbox-CkfHA52y.js +0 -27
  70. package/dist/Checkbox-D928Sp6S.js +0 -69
  71. package/dist/Code-3c6-02U1.js +0 -39
  72. package/dist/Code-BTDq_0B6.js +0 -57
  73. package/dist/Code-C4HjQm82.js +0 -28
  74. package/dist/Code-RAklwsI8.js +0 -4
  75. package/dist/Code.vue_vue_type_style_index_0_lang-zfBqeJue.js +0 -62
  76. package/dist/Color-CfXtJFUo.js +0 -22
  77. package/dist/Color-Da69pnQg.js +0 -34
  78. package/dist/Column-D9Kx2OQ2.js +0 -68
  79. package/dist/Comment-DCArar0n.js +0 -101
  80. package/dist/Compare-7rmSR2Vp.js +0 -57
  81. package/dist/Compare-D-WXTccH.js +0 -27
  82. package/dist/Copy-DkFCsKxT.js +0 -43
  83. package/dist/Custom-a5LNK1fz.js +0 -52
  84. package/dist/DataExport-CNacxrr6.js +0 -4
  85. package/dist/DataExport.vue_vue_type_script_setup_true_lang-Dnt8MHYd.js +0 -111
  86. package/dist/DataImport-Dm86g3rr.js +0 -4
  87. package/dist/DataImport.vue_vue_type_script_setup_true_lang-DieNCc_-.js +0 -172
  88. package/dist/Date-2zsvAlTg.js +0 -27
  89. package/dist/Date-B9tmMFuT.js +0 -36
  90. package/dist/DateRange-DM7_QCBw.js +0 -60
  91. package/dist/DateRange-DrYK_l0Y.js +0 -19
  92. package/dist/DateTime-Ce1NnyqQ.js +0 -37
  93. package/dist/DateTime-DMECNCs4.js +0 -27
  94. package/dist/DateTimeRange-Cr_pV6VX.js +0 -61
  95. package/dist/Daterange-b5lnauDR.js +0 -60
  96. package/dist/Decimal-C38-N54B.js +0 -36
  97. package/dist/Decimal-DtTHo5uv.js +0 -27
  98. package/dist/Delete-CJYIlwyA.js +0 -55
  99. package/dist/Detail-vOrhBm_q.js +0 -69
  100. package/dist/Dictionary-B9oe1_S6.js +0 -58
  101. package/dist/Email-BGc1mV9s.js +0 -47
  102. package/dist/Email-BKW9GRcH.js +0 -19
  103. package/dist/File-Bmnp2oNs.js +0 -157
  104. package/dist/Image-8u9oIiGp.js +0 -9
  105. package/dist/Index-9AheG9bs.js +0 -4
  106. package/dist/Index-BNXlbQ4E.js +0 -4
  107. package/dist/Index-B_P8rY63.js +0 -4
  108. package/dist/Index-CS11p-lU.js +0 -73
  109. package/dist/Index-CSqSf17l.js +0 -4
  110. package/dist/Index-DiMWhBFC.js +0 -4
  111. package/dist/Index-DtM8VZwV.js +0 -170
  112. package/dist/Index-ujUgBmOq.js +0 -4
  113. package/dist/Index.vue_vue_type_script_setup_true_lang-BPj8s6sN.js +0 -68
  114. package/dist/Index.vue_vue_type_script_setup_true_lang-CKE6hz5m.js +0 -75
  115. package/dist/Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js +0 -36
  116. package/dist/Index.vue_vue_type_style_index_0_lang-CqDJToNR.js +0 -112
  117. package/dist/Install-DU27ycRi.js +0 -129
  118. package/dist/Int-AE2e9jyG.js +0 -37
  119. package/dist/Int-B-t8edhd.js +0 -19
  120. package/dist/Int-BuRUWpC5.js +0 -44
  121. package/dist/List-DmUA_Qjf.js +0 -75
  122. package/dist/Maintaince-BxK8vEL8.js +0 -15
  123. package/dist/Markdown-BzMP3m7o.js +0 -37
  124. package/dist/Markdown-DuJREXXg.js +0 -27
  125. package/dist/Month-BVKakHhk.js +0 -36
  126. package/dist/Month-D366v-0Q.js +0 -27
  127. package/dist/Month-D9r3wt_e.js +0 -37
  128. package/dist/Normal-CPn8hp3t.js +0 -253
  129. package/dist/Paging-D1DvQER2.js +0 -93
  130. package/dist/PagingHeader-CBXHiUXR.js +0 -140
  131. package/dist/PagingRow-tny-wHwu.js +0 -66
  132. package/dist/Password-DuyYEgzR.js +0 -55
  133. package/dist/Password-yHtlY-Qa.js +0 -24
  134. package/dist/Progress-C3D821AQ.js +0 -34
  135. package/dist/Progress-CKVzMO-W.js +0 -25
  136. package/dist/QueryApi-B7_jCs5e.js +0 -13
  137. package/dist/Racebar-ng-7K86M.js +0 -165
  138. package/dist/Radio-DW7t0gUT.js +0 -27
  139. package/dist/Radio-DkcBKBvX.js +0 -47
  140. package/dist/Rate-B7jKTFKT.js +0 -34
  141. package/dist/Rate-BmC4gw_0.js +0 -34
  142. package/dist/Register-oG9MMCqJ.js +0 -201
  143. package/dist/RichText-Bk0Msyhl.js +0 -22
  144. package/dist/RichText-Bpw54w7L.js +0 -104
  145. package/dist/SearchFooter-TOtn9psJ.js +0 -4
  146. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-aQwf-Jl6.js +0 -55
  147. package/dist/SearchForm-tCH9rcrw.js +0 -4
  148. package/dist/SearchForm.vue_vue_type_style_index_0_lang-U5f9oExf.js +0 -148
  149. package/dist/Select-CGOTSJVh.js +0 -114
  150. package/dist/Select-DhpaFdqx.js +0 -27
  151. package/dist/Select-Dz8akTqG.js +0 -80
  152. package/dist/Single-BETJuNyR.js +0 -322
  153. package/dist/Statistic-B_mgjlnr.js +0 -76
  154. package/dist/Statistic-DzF-1c5_.js +0 -160
  155. package/dist/Stock-9Ja_G9Dg.js +0 -28
  156. package/dist/Stock-CfI244Nf.js +0 -4
  157. package/dist/Stock.vue_vue_type_style_index_0_lang-DbTd0pjx.js +0 -301
  158. package/dist/Switch-DhFaku5L.js +0 -50
  159. package/dist/Switch-HAej2klZ.js +0 -27
  160. package/dist/Table-Bes5hPBu.js +0 -238
  161. package/dist/Table-Q1QCTkqH.js +0 -317
  162. package/dist/Text-CLMVbFyi.js +0 -52
  163. package/dist/Text-DgINICKw.js +0 -4
  164. package/dist/Text-EQNK15_K.js +0 -51
  165. package/dist/Text.vue_vue_type_style_index_0_lang-Bw2lRC5n.js +0 -55
  166. package/dist/TextLink-o-e-724y.js +0 -65
  167. package/dist/Textarea-2hZMIygc.js +0 -28
  168. package/dist/Textarea-D9TgF9ig.js +0 -37
  169. package/dist/Time-CRVru-6c.js +0 -36
  170. package/dist/Timeline-B2unIcOQ.js +0 -56
  171. package/dist/Tree-Bt7FIc2Z.js +0 -120
  172. package/dist/Tree-DO2eaZZT.js +0 -294
  173. package/dist/TreeNode-k4qKfs3W.js +0 -37
  174. package/dist/Tree_Old-h__WmqFA.js +0 -11
  175. package/dist/Update-BH1SivST.js +0 -64
  176. package/dist/UpdateChild-CA0P17tZ.js +0 -85
  177. package/dist/Upload-Bhp3QMff.js +0 -70
  178. package/dist/Upload-Cw7Ln3cd.js +0 -146
  179. package/dist/UploadApi-DdQy8bcl.js +0 -17
  180. package/dist/Year-DBuvSBYN.js +0 -40
  181. package/dist/Year-Q2Y-HAuh.js +0 -27
  182. package/dist/main-iF34LtMW.js +0 -6023
  183. package/dist/main.js +0 -91
  184. package/dist/style.css +0 -1
  185. package/dist/vendor-@intlify-BISCQg1h.js +0 -2189
  186. package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
  187. package/dist/vendor-@vue-aVYGocXp.js +0 -93
  188. package/dist/vendor-axios-ud9O0vdJ.js +0 -1670
  189. package/dist/vendor-clipboard-BqjesuiY.js +0 -521
  190. package/dist/vendor-clone-BPtCWdXG.js +0 -134
  191. package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
  192. package/dist/vendor-element-plus-Z7vJFrsh.js +0 -456
  193. package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
  194. package/dist/vendor-intro.js-CZkClzQO.js +0 -1695
  195. package/dist/vendor-moment-h96o7c8I.js +0 -2578
  196. package/dist/vendor-pinia-yrN6kSxh.js +0 -861
  197. package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
  198. package/dist/vendor-state-local-CEworIRt.js +0 -131
  199. package/dist/vendor-underscore-DVTek3G4.js +0 -1070
  200. package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
  201. package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
  202. package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
  203. package/dist/vendor-vue-i18n-C3KH15Qn.js +0 -1670
  204. package/esm/components/business/HoCondition.vue.d.ts +0 -18
  205. package/esm/components/business/HoCrud.vue.d.ts +0 -29
  206. package/esm/components/business/HoDrawer.vue.d.ts +0 -24
  207. package/esm/components/business/HoDriver.vue.d.ts +0 -52
  208. package/esm/components/business/HoFeedback.vue.d.ts +0 -8
  209. package/esm/components/business/HoForm.vue.d.ts +0 -23
  210. package/esm/components/business/HoSwitch.vue.d.ts +0 -24
  211. package/esm/components/business/HoWelcome.vue.d.ts +0 -8
  212. package/esm/drivers/IDriver.d.ts +0 -10
  213. package/esm/drivers/cdns/Cdn.d.ts +0 -13
  214. package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
  215. package/esm/drivers/cdns/ICdn.d.ts +0 -30
  216. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -8
  217. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -11
  218. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -8
  219. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -8
  220. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -8
  221. package/esm/drivers/driver-helper.d.ts +0 -36
  222. package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
  223. package/esm/drivers/excels/IExcel.d.ts +0 -18
  224. package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
  225. package/esm/drivers/explainers/Explainer.d.ts +0 -4
  226. package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
  227. package/esm/drivers/explainers/IExplainer.d.ts +0 -3
  228. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
  229. package/esm/drivers/features/FeatureFactory.d.ts +0 -11
  230. package/esm/drivers/features/IFeature.d.ts +0 -23
  231. package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
  232. package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
  233. package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
  234. package/esm/drivers/index.d.ts +0 -7
  235. package/esm/drivers/providers/IProvider.d.ts +0 -43
  236. package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
  237. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
  238. package/esm/drivers/requesters/IRequester.d.ts +0 -17
  239. package/esm/drivers/requesters/Requester.d.ts +0 -8
  240. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -11
  241. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -22
  242. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  243. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -7
  244. package/esm/drivers/signers/ISigner.d.ts +0 -33
  245. package/esm/drivers/signers/SignerFactory.d.ts +0 -11
  246. package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -16
  247. package/esm/drivers/ssos/ISso.d.ts +0 -41
  248. package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
  249. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
  250. package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
  251. package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
  252. package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
  253. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
  254. package/esm/sdks/commons/HaCode.vue.d.ts +0 -39
  255. package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
  256. package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
  257. package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
  258. package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
  259. package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
  260. package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
  261. package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
  262. package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
  263. package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
  264. package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
  265. package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
  266. package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
  267. package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
  268. package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
  269. package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
  270. package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
  271. package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
  272. package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
  273. package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
  274. package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
  275. package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
  276. package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
  277. package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
  278. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
  279. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
  280. package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
  281. package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
  282. package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
  283. package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
  284. package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
  285. package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
  286. package/esm/sdks/helpers/array-helper.d.ts +0 -97
  287. package/esm/sdks/helpers/component-helper.d.ts +0 -10
  288. package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
  289. package/esm/sdks/helpers/dom-helper.d.ts +0 -74
  290. package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
  291. package/esm/sdks/helpers/event-helper.d.ts +0 -30
  292. package/esm/sdks/helpers/file-helper.d.ts +0 -22
  293. package/esm/sdks/helpers/html-helper.d.ts +0 -10
  294. package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
  295. package/esm/sdks/helpers/image-helper.d.ts +0 -10
  296. package/esm/sdks/helpers/index.d.ts +0 -25
  297. package/esm/sdks/helpers/json-helper.d.ts +0 -27
  298. package/esm/sdks/helpers/math-helper.d.ts +0 -42
  299. package/esm/sdks/helpers/micro-helper.d.ts +0 -10
  300. package/esm/sdks/helpers/mount-helper.d.ts +0 -14
  301. package/esm/sdks/helpers/object-helper.d.ts +0 -34
  302. package/esm/sdks/helpers/script-helper.d.ts +0 -31
  303. package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
  304. package/esm/sdks/helpers/storage-helper.d.ts +0 -34
  305. package/esm/sdks/helpers/string-helper.d.ts +0 -94
  306. package/esm/sdks/helpers/task-helper.d.ts +0 -26
  307. package/esm/sdks/helpers/time-helper.d.ts +0 -62
  308. package/esm/sdks/helpers/tree-helper.d.ts +0 -54
  309. package/esm/sdks/helpers/type-helper.d.ts +0 -26
  310. package/esm/sdks/helpers/url-helper.d.ts +0 -92
  311. package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
  312. package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
  313. package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
  314. package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
  315. package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
  316. package/esm/sdks/stores/window.d.ts +0 -25
  317. package/esm/sdks/thirds/index.d.ts +0 -8
  318. package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
  319. package/esm/sdks/utilities/EventUtility.d.ts +0 -30
  320. package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
  321. package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
  322. package/esm/sdks/utilities/index.d.ts +0 -4
  323. package/esm/services/HttpService.d.ts +0 -22
  324. package/esm/services/SettingService.d.ts +0 -5
  325. package/esm/stores/app.d.ts +0 -44
  326. package/esm/stores/component.d.ts +0 -30
  327. package/esm/stores/config.d.ts +0 -55
  328. package/esm/stores/driver.d.ts +0 -37
  329. package/esm/stores/i18n.d.ts +0 -67
  330. package/esm/stores/layout.d.ts +0 -13
  331. package/esm/stores/log.d.ts +0 -20
  332. package/esm/stores/router.d.ts +0 -20
  333. package/esm/stores/setting.d.ts +0 -43
  334. package/esm/stores/socket.d.ts +0 -27
  335. package/esm/stores/user.d.ts +0 -40
@@ -1,146 +0,0 @@
1
- import { defineComponent as Y, toRefs as Z, ref as p, onMounted as ee, computed as U, watch as le, resolveComponent as x, openBlock as k, createElementBlock as j, normalizeClass as te, unref as t, createVNode as A, withCtx as F, createBlock as ae, createTextVNode as oe, toDisplayString as re, isRef as ue, createElementVNode as ie } from "vue";
2
- import { d as ne, e as se, f as I, M as de, H as N, A as s, C as P, F as $, U as B, g as pe } from "./main-iF34LtMW.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "xlsx-js-style";
6
- import "./QueryApi-B7_jCs5e.js";
7
- import { U as me } from "./UploadApi-DdQy8bcl.js";
8
- const ce = {
9
- key: 0,
10
- class: "fa fa-upload"
11
- }, ve = ["src"], Se = /* @__PURE__ */ Y({
12
- __name: "Upload",
13
- props: {
14
- schema: {},
15
- table: {},
16
- field: {},
17
- set: {},
18
- row: {},
19
- modelValue: {}
20
- },
21
- emits: ["submit", "change", "update:modelValue"],
22
- setup(T, { emit: z }) {
23
- let g = z, E = T, { table: d, field: r, row: h, set: fe, modelValue: L } = Z(E), b = ne(), M = se(), m = p(!1), C = p({}), c = p([]), H = p(), O = p(), f = !0, _ = p({ action: "", data: null }), D = (e) => {
24
- me.getUploadToken().then((l) => {
25
- e.forEach((u) => {
26
- let a = `${b.upload.address}/api/objects/download?slug=${u[0]}&token=${l}`;
27
- c.value.push({ name: u[1], url: a });
28
- });
29
- });
30
- }, q = (e) => {
31
- f = !1;
32
- let l = `/upload?table=${d.value.name}&field=${r.value.name}`;
33
- return _.value.action = I.api.url + l, C.value.Authorization = M.getAuthorization(l), r.value.control.fileType == "Image" ? e.type.indexOf("image") == 0 ? Promise.resolve() : (de.error("请上传正确的图片文件"), Promise.reject()) : Promise.resolve();
34
- }, G = (e, l) => {
35
- f = !1;
36
- let a = [e.name.replace(I.api.url, "")];
37
- return N.post("/upload/delete", { files: a }).then(({ data: o }) => {
38
- let i = l.indexOf(e), V = s.removeIndex(n.value, i, ",");
39
- if (g("update:modelValue", V), r.value.control.name) {
40
- let v = d.value.fields.find((S) => S.name == r.value.control.name), y = P.getValue(o.value, i, d.value, v), w = s.removeIndex(y, i, ",");
41
- P.setValue(w, o.value, d.value, i, v);
42
- }
43
- return Promise.resolve();
44
- }).catch(() => Promise.reject());
45
- }, J = (e) => {
46
- m.value = !0, H.value = e.url;
47
- }, K = (e, l, u) => {
48
- }, Q = (e, l) => {
49
- N.handleResponseBody(e).then((u) => {
50
- let { name: a, url: o } = u.data[0];
51
- b.upload.method == "box" || $.isImage(o) || (l.url = B.getFileIcon(o));
52
- let V = s.split(n.value, ",", o).join(",");
53
- if (n.value = V, r.value.control.name) {
54
- let v = d.value.fields.find((S) => S.name == r.value.control.name), y = h.value[v.value], w = s.split(y, ",", a);
55
- h.value[v.value] = w.join(",");
56
- }
57
- }).catch(() => {
58
- c.value = [];
59
- }).finally(() => {
60
- f = !0;
61
- });
62
- }, R = () => {
63
- if (c.value = [], !n.value)
64
- return;
65
- let e = s.split(n.value, ","), l = [];
66
- if (r.value.control.name) {
67
- let a = d.value.fields.find((i) => i.name == r.value.control.name), o = h.value[a.name];
68
- l = s.split(o, ",");
69
- }
70
- let u = s.combine(e, l);
71
- if (b.upload.method == "box")
72
- D(u);
73
- else {
74
- let a = pe.httpOrHttps(n.value) ? n.value : I.api.url + n.value, o = { name: a, url: null };
75
- $.isImage(a) ? o.url = a : o.url = B.getFileIcon(a), c.value.push(o);
76
- }
77
- };
78
- ee(() => {
79
- R();
80
- });
81
- let n = U({
82
- get() {
83
- return L.value;
84
- },
85
- set(e) {
86
- g("update:modelValue", e), g("change", e);
87
- }
88
- }), W = U(() => r.value.control.preview ? "picture-card" : null), X = U(() => X);
89
- return le(() => n.value, (e, l) => {
90
- f && R();
91
- }), (e, l) => {
92
- const u = x("el-button"), a = x("el-upload"), o = x("el-dialog");
93
- return k(), j("div", {
94
- class: te(t(r).control.preview ? "control-file-preview" : "control-file")
95
- }, [
96
- A(a, {
97
- ref_key: "uploadRef",
98
- ref: O,
99
- "list-type": t(W),
100
- action: t(_).action,
101
- headers: t(C),
102
- data: t(_).data,
103
- "file-list": t(c),
104
- "before-upload": t(q),
105
- "before-remove": t(G),
106
- "on-preview": t(J),
107
- "on-success": t(Q),
108
- "on-progress": t(K),
109
- disabled: t(r).readonly
110
- }, {
111
- default: F(() => [
112
- t(r).control.preview ? (k(), j("i", ce)) : (k(), ae(u, {
113
- key: 1,
114
- icon: "el-icon-upload",
115
- type: "primary"
116
- }, {
117
- default: F(() => [
118
- oe(re(e.$t("common.click_upload")), 1)
119
- ]),
120
- _: 1
121
- }))
122
- ]),
123
- _: 1
124
- }, 8, ["list-type", "action", "headers", "data", "file-list", "before-upload", "before-remove", "on-preview", "on-success", "on-progress", "disabled"]),
125
- A(o, {
126
- draggable: "",
127
- "append-to-body": "",
128
- modelValue: t(m),
129
- "onUpdate:modelValue": l[0] || (l[0] = (i) => ue(m) ? m.value = i : m = i)
130
- }, {
131
- default: F(() => [
132
- ie("img", {
133
- width: "100%",
134
- src: t(H),
135
- alt: ""
136
- }, null, 8, ve)
137
- ]),
138
- _: 1
139
- }, 8, ["modelValue"])
140
- ], 2);
141
- };
142
- }
143
- });
144
- export {
145
- Se as default
146
- };
@@ -1,17 +0,0 @@
1
- import "vue";
2
- import { H as o, a as t } from "./main-iF34LtMW.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "xlsx-js-style";
6
- let e = null;
7
- class a {
8
- /**
9
- * 获取上传令牌,过期自动获取
10
- */
11
- static async getUploadToken() {
12
- return e == null || t.getTime() >= t.getTime(e.expireTime) ? o.get("/upload/token").then(({ data: r }) => (e = r, Promise.resolve(e.token))).catch(() => Promise.reject()) : Promise.resolve(e.token);
13
- }
14
- }
15
- export {
16
- a as U
17
- };
@@ -1,40 +0,0 @@
1
- import { defineComponent as f, toRefs as _, computed as h, resolveComponent as V, openBlock as b, createBlock as g, unref as e, isRef as Y } from "vue";
2
- const v = /* @__PURE__ */ f({
3
- __name: "Year",
4
- props: {
5
- schema: {},
6
- table: {},
7
- field: {},
8
- set: {},
9
- row: {},
10
- modelValue: {}
11
- },
12
- emits: ["submit", "change", "update:modelValue"],
13
- setup(r, { emit: m }) {
14
- let t = m, u = r, { table: p, field: a, row: k, set: C, modelValue: s } = _(u), c = () => {
15
- t("submit");
16
- }, l = h({
17
- get() {
18
- return s.value;
19
- },
20
- set(o) {
21
- t("update:modelValue", o), t("change", o);
22
- }
23
- });
24
- return (o, n) => {
25
- const i = V("el-date-picker");
26
- return b(), g(i, {
27
- type: "year",
28
- placeholder: o.$t_field_choose_placeholder(e(p).name, e(a).name),
29
- "value-format": "YYYY",
30
- disabled: e(a).control.readonly,
31
- onChange: e(c),
32
- modelValue: e(l),
33
- "onUpdate:modelValue": n[0] || (n[0] = (d) => Y(l) ? l.value = d : l = d)
34
- }, null, 8, ["placeholder", "disabled", "onChange", "modelValue"]);
35
- };
36
- }
37
- });
38
- export {
39
- v as default
40
- };
@@ -1,27 +0,0 @@
1
- import { defineComponent as u, defineAsyncComponent as i, toRefs as c, openBlock as V, createBlock as b, unref as e, isRef as w } from "vue";
2
- const h = /* @__PURE__ */ u({
3
- __name: "Year",
4
- props: {
5
- schema: {},
6
- table: {},
7
- field: {},
8
- set: {},
9
- row: {},
10
- modelValue: {}
11
- },
12
- setup(a) {
13
- let r = i(() => import("./Text-DgINICKw.js")), s = a, { schema: m, table: n, field: d, set: f, row: p, modelValue: l } = c(s);
14
- return (x, t) => (V(), b(e(r), {
15
- schema: e(m),
16
- table: e(n),
17
- field: e(d),
18
- row: e(p),
19
- set: e(f),
20
- modelValue: e(l),
21
- "onUpdate:modelValue": t[0] || (t[0] = (o) => w(l) ? l.value = o : l = o)
22
- }, null, 8, ["schema", "table", "field", "row", "set", "modelValue"]));
23
- }
24
- });
25
- export {
26
- h as default
27
- };