halo-pc 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) 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/lists/Tree.vue.d.ts +1 -1
  5. package/esm/components/lists/index.d.ts +1 -1
  6. package/esm/components/pages/Single.vue.d.ts +1 -1
  7. package/esm/components/pagings/Article.vue.d.ts +1 -1
  8. package/esm/components/pagings/DataExport.vue.d.ts +1 -1
  9. package/esm/components/pagings/DataImport.vue.d.ts +1 -1
  10. package/esm/components/pagings/Index.vue.d.ts +4 -4
  11. package/esm/components/pagings/SearchFooter.vue.d.ts +1 -1
  12. package/esm/components/pagings/Table.vue.d.ts +3 -3
  13. package/esm/components/pagings/index.d.ts +1 -1
  14. package/esm/components/partials/Detail.vue.d.ts +1 -1
  15. package/esm/components/partials/Update.vue.d.ts +1 -1
  16. package/esm/components/singles/index.d.ts +1 -1
  17. package/esm/components/texts/Autocomplete.vue.d.ts +1 -1
  18. package/esm/components/texts/CSharp.vue.d.ts +1 -1
  19. package/esm/components/texts/Cascader.vue.d.ts +1 -1
  20. package/esm/components/texts/Checkbox.vue.d.ts +1 -1
  21. package/esm/components/texts/Code.vue.d.ts +1 -1
  22. package/esm/components/texts/Color.vue.d.ts +1 -1
  23. package/esm/components/texts/Compare.vue.d.ts +1 -1
  24. package/esm/components/texts/Copy.vue.d.ts +1 -1
  25. package/esm/components/texts/Date.vue.d.ts +1 -1
  26. package/esm/components/texts/DateRange.vue.d.ts +1 -1
  27. package/esm/components/texts/DateTime.vue.d.ts +1 -1
  28. package/esm/components/texts/Decimal.vue.d.ts +1 -1
  29. package/esm/components/texts/Dictionary.vue.d.ts +1 -1
  30. package/esm/components/texts/Email.vue.d.ts +1 -1
  31. package/esm/components/texts/Index.vue.d.ts +1 -1
  32. package/esm/components/texts/Int.vue.d.ts +1 -1
  33. package/esm/components/texts/Markdown.vue.d.ts +1 -1
  34. package/esm/components/texts/Month.vue.d.ts +1 -1
  35. package/esm/components/texts/Password.vue.d.ts +1 -1
  36. package/esm/components/texts/Progress.vue.d.ts +1 -1
  37. package/esm/components/texts/Radio.vue.d.ts +1 -1
  38. package/esm/components/texts/Rate.vue.d.ts +1 -1
  39. package/esm/components/texts/RichText.vue.d.ts +1 -1
  40. package/esm/components/texts/Select.vue.d.ts +1 -1
  41. package/esm/components/texts/Switch.vue.d.ts +1 -1
  42. package/esm/components/texts/Text.vue.d.ts +1 -1
  43. package/esm/components/texts/TextLink.vue.d.ts +1 -1
  44. package/esm/components/texts/Textarea.vue.d.ts +1 -1
  45. package/esm/components/texts/Upload.vue.d.ts +1 -1
  46. package/esm/components/texts/Year.vue.d.ts +1 -1
  47. package/esm/main.d.ts +5 -5
  48. package/esm/plugins/index.d.ts +1 -0
  49. package/esm/sdks/commons/HaTable.vue.d.ts +1 -1
  50. package/esm/sdks/commons/index.d.ts +1 -59
  51. package/esm/sdks/globals/HaWindow.vue.d.ts +4 -4
  52. package/esm/sdks/globals/index.d.ts +4 -0
  53. package/esm/sdks/index.d.ts +4 -7
  54. package/esm/services/MessageService.d.ts +9 -8
  55. package/esm/services/index.d.ts +1 -3
  56. package/esm/stores/index.d.ts +1 -7
  57. package/package.json +17 -21
  58. package/dist/Article-DievbQaS.js +0 -196
  59. package/dist/ArticleFooter-BAf1rKUX.js +0 -78
  60. package/dist/Autocomplete-9Dw6RZUJ.js +0 -53
  61. package/dist/Autocomplete-BC9yw7bd.js +0 -52
  62. package/dist/Autocomplete-CA9lAfcX.js +0 -27
  63. package/dist/CSharp-9TTxxjTd.js +0 -27
  64. package/dist/Calender-Cvt1swho.js +0 -10
  65. package/dist/Callback-3bTaCoQy.js +0 -20
  66. package/dist/Cascader-B8DEKaGU.js +0 -84
  67. package/dist/Cascader-DCbx-Xfo.js +0 -45
  68. package/dist/Checkbox-BPaKVuvv.js +0 -27
  69. package/dist/Checkbox-D928Sp6S.js +0 -69
  70. package/dist/Code--ryEmiLJ.js +0 -40
  71. package/dist/Code-CnU5c_Xk.js +0 -4
  72. package/dist/Code-DS9dwk0s.js +0 -58
  73. package/dist/Code-DVUf05Qa.js +0 -28
  74. package/dist/Code.vue_vue_type_style_index_0_lang-BQQ6Jatk.js +0 -63
  75. package/dist/Color-CfXtJFUo.js +0 -22
  76. package/dist/Color-Da69pnQg.js +0 -34
  77. package/dist/Column-BzM9a1Ai.js +0 -69
  78. package/dist/Comment-5gH4WF9C.js +0 -102
  79. package/dist/Compare-7rmSR2Vp.js +0 -57
  80. package/dist/Compare-D-WXTccH.js +0 -27
  81. package/dist/Copy-DcAUXAJq.js +0 -43
  82. package/dist/Custom-lSjUvIAb.js +0 -53
  83. package/dist/DataExport-Cl2LRmuu.js +0 -4
  84. package/dist/DataExport.vue_vue_type_script_setup_true_lang-DFuUWnTj.js +0 -112
  85. package/dist/DataImport-C8MggQON.js +0 -4
  86. package/dist/DataImport.vue_vue_type_script_setup_true_lang-Qgy5ODur.js +0 -172
  87. package/dist/Date-B9tmMFuT.js +0 -36
  88. package/dist/Date-BRd0o_ib.js +0 -27
  89. package/dist/DateRange-DrYK_l0Y.js +0 -19
  90. package/dist/DateRange-Q6osbxfF.js +0 -61
  91. package/dist/DateTime-Ce1NnyqQ.js +0 -37
  92. package/dist/DateTime-DSUMg60T.js +0 -27
  93. package/dist/DateTimeRange-Cr_pV6VX.js +0 -61
  94. package/dist/Daterange-0qtKemST.js +0 -61
  95. package/dist/Decimal-BBYZHN-L.js +0 -27
  96. package/dist/Decimal-C38-N54B.js +0 -36
  97. package/dist/Delete-DkSX4BUu.js +0 -55
  98. package/dist/Detail-DlJeIF7u.js +0 -70
  99. package/dist/Dictionary-DH3ukOm9.js +0 -59
  100. package/dist/Email-BGc1mV9s.js +0 -47
  101. package/dist/Email-BKW9GRcH.js +0 -19
  102. package/dist/File-27vOsF_i.js +0 -158
  103. package/dist/Image-BejU08yZ.js +0 -9
  104. package/dist/Index-9AheG9bs.js +0 -4
  105. package/dist/Index-BaxI_lNq.js +0 -4
  106. package/dist/Index-BnNuVSxA.js +0 -4
  107. package/dist/Index-BtK4Riqs.js +0 -170
  108. package/dist/Index-ByC6qZPq.js +0 -74
  109. package/dist/Index-CtQ5rwyH.js +0 -4
  110. package/dist/Index-DEDLWObm.js +0 -4
  111. package/dist/Index-DMdBkj-p.js +0 -4
  112. package/dist/Index.vue_vue_type_script_setup_true_lang-3zk23es9.js +0 -69
  113. package/dist/Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js +0 -75
  114. package/dist/Index.vue_vue_type_script_setup_true_lang-gv23r-9D.js +0 -36
  115. package/dist/Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js +0 -113
  116. package/dist/Install-DzOXL82w.js +0 -130
  117. package/dist/Int-AE2e9jyG.js +0 -37
  118. package/dist/Int-B-t8edhd.js +0 -19
  119. package/dist/Int-D3k7ZnH3.js +0 -45
  120. package/dist/List-BeoZ2a1r.js +0 -76
  121. package/dist/Maintaince-BMLmBQI9.js +0 -15
  122. package/dist/Markdown-BVhD-lo1.js +0 -27
  123. package/dist/Markdown-BzMP3m7o.js +0 -37
  124. package/dist/Month--2hXaJkd.js +0 -27
  125. package/dist/Month-BVKakHhk.js +0 -36
  126. package/dist/Month-D9r3wt_e.js +0 -37
  127. package/dist/Normal-B3Xs7sFU.js +0 -254
  128. package/dist/Paging-CqpaB0Mn.js +0 -94
  129. package/dist/PagingHeader-CBXHiUXR.js +0 -140
  130. package/dist/PagingRow-tny-wHwu.js +0 -66
  131. package/dist/Password-DuyYEgzR.js +0 -55
  132. package/dist/Password-yHtlY-Qa.js +0 -24
  133. package/dist/Progress-C3D821AQ.js +0 -34
  134. package/dist/Progress-CKVzMO-W.js +0 -25
  135. package/dist/QueryApi-BqpLpqXT.js +0 -13
  136. package/dist/Racebar-CvsmozFH.js +0 -166
  137. package/dist/Radio-DMlWrRLV.js +0 -27
  138. package/dist/Radio-DkcBKBvX.js +0 -47
  139. package/dist/Rate-B7jKTFKT.js +0 -34
  140. package/dist/Rate-BmC4gw_0.js +0 -34
  141. package/dist/Register-B7KEYSdN.js +0 -202
  142. package/dist/RichText-BX7WZjO-.js +0 -105
  143. package/dist/RichText-Bk0Msyhl.js +0 -22
  144. package/dist/SearchFooter-BSHxMoTL.js +0 -4
  145. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-CgAQfUu-.js +0 -55
  146. package/dist/SearchForm-CH5YWxKr.js +0 -4
  147. package/dist/SearchForm.vue_vue_type_style_index_0_lang-By2w2biv.js +0 -149
  148. package/dist/Select-B7VB4CHX.js +0 -27
  149. package/dist/Select-Dmr_Q332.js +0 -115
  150. package/dist/Select-zZ9NAS5C.js +0 -80
  151. package/dist/Single-z7YLL5yh.js +0 -323
  152. package/dist/Statistic-B_mgjlnr.js +0 -76
  153. package/dist/Statistic-SFo_gi_N.js +0 -161
  154. package/dist/Stock-DInt0W2k.js +0 -28
  155. package/dist/Stock-cw7lE17E.js +0 -4
  156. package/dist/Stock.vue_vue_type_style_index_0_lang-DKGuyQ08.js +0 -302
  157. package/dist/Switch-DhFaku5L.js +0 -50
  158. package/dist/Switch-gkN2GOAQ.js +0 -27
  159. package/dist/Table-BRSX9_5r.js +0 -238
  160. package/dist/Table-ByUYlERR.js +0 -318
  161. package/dist/Text-CLMVbFyi.js +0 -52
  162. package/dist/Text-CXXJqJ8N.js +0 -4
  163. package/dist/Text-EQNK15_K.js +0 -51
  164. package/dist/Text.vue_vue_type_style_index_0_lang-Cwyu-GMz.js +0 -56
  165. package/dist/TextLink-KC_xsgpi.js +0 -66
  166. package/dist/Textarea-D9TgF9ig.js +0 -37
  167. package/dist/Textarea-DoE5sGRR.js +0 -28
  168. package/dist/Time-CRVru-6c.js +0 -36
  169. package/dist/Timeline-CTj1FAtR.js +0 -57
  170. package/dist/Tree-B2ILQtRK.js +0 -295
  171. package/dist/Tree-DfY_7l-G.js +0 -121
  172. package/dist/TreeNode-BV9BiCFt.js +0 -38
  173. package/dist/Tree_Old-h__WmqFA.js +0 -11
  174. package/dist/Update-C6EmSv2D.js +0 -65
  175. package/dist/UpdateChild-CA0P17tZ.js +0 -85
  176. package/dist/Upload-CQo4b32p.js +0 -147
  177. package/dist/Upload-z2mEnrlN.js +0 -71
  178. package/dist/UploadApi-C0wC0lME.js +0 -18
  179. package/dist/Year-CEHCOGTW.js +0 -27
  180. package/dist/Year-DBuvSBYN.js +0 -40
  181. package/dist/main-CgmRyjET.js +0 -6158
  182. package/dist/main.js +0 -92
  183. package/dist/style.css +0 -1
  184. package/dist/vendor-@intlify-BISCQg1h.js +0 -2189
  185. package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
  186. package/dist/vendor-@vue-aVYGocXp.js +0 -93
  187. package/dist/vendor-axios-ud9O0vdJ.js +0 -1670
  188. package/dist/vendor-clipboard-BqjesuiY.js +0 -521
  189. package/dist/vendor-clone-BPtCWdXG.js +0 -134
  190. package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
  191. package/dist/vendor-element-plus-Z7vJFrsh.js +0 -456
  192. package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
  193. package/dist/vendor-intro.js-CZkClzQO.js +0 -1695
  194. package/dist/vendor-moment-h96o7c8I.js +0 -2578
  195. package/dist/vendor-pinia-yrN6kSxh.js +0 -861
  196. package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
  197. package/dist/vendor-state-local-CEworIRt.js +0 -131
  198. package/dist/vendor-underscore-DVTek3G4.js +0 -1070
  199. package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
  200. package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
  201. package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
  202. package/dist/vendor-vue-i18n-C3KH15Qn.js +0 -1670
  203. package/esm/components/business/HoCondition.vue.d.ts +0 -18
  204. package/esm/components/business/HoCrud.vue.d.ts +0 -29
  205. package/esm/components/business/HoDrawer.vue.d.ts +0 -24
  206. package/esm/components/business/HoDriver.vue.d.ts +0 -52
  207. package/esm/components/business/HoFeedback.vue.d.ts +0 -8
  208. package/esm/components/business/HoForm.vue.d.ts +0 -23
  209. package/esm/components/business/HoSwitch.vue.d.ts +0 -24
  210. package/esm/components/business/HoWelcome.vue.d.ts +0 -8
  211. package/esm/drivers/IDriver.d.ts +0 -10
  212. package/esm/drivers/cdns/Cdn.d.ts +0 -14
  213. package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
  214. package/esm/drivers/cdns/ICdn.d.ts +0 -34
  215. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  216. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
  217. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
  218. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
  219. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
  220. package/esm/drivers/driver-helper.d.ts +0 -46
  221. package/esm/drivers/encoders/Encoder.d.ts +0 -11
  222. package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
  223. package/esm/drivers/encoders/IEncoder.d.ts +0 -22
  224. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
  225. package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
  226. package/esm/drivers/excels/IExcel.d.ts +0 -18
  227. package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
  228. package/esm/drivers/explainers/Explainer.d.ts +0 -4
  229. package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
  230. package/esm/drivers/explainers/IExplainer.d.ts +0 -3
  231. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
  232. package/esm/drivers/features/FeatureFactory.d.ts +0 -11
  233. package/esm/drivers/features/IFeature.d.ts +0 -23
  234. package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
  235. package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
  236. package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
  237. package/esm/drivers/hashers/Hasher.d.ts +0 -10
  238. package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
  239. package/esm/drivers/hashers/IHasher.d.ts +0 -19
  240. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
  241. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
  242. package/esm/drivers/index.d.ts +0 -7
  243. package/esm/drivers/providers/IProvider.d.ts +0 -43
  244. package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
  245. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
  246. package/esm/drivers/requesters/IRequester.d.ts +0 -17
  247. package/esm/drivers/requesters/Requester.d.ts +0 -11
  248. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -17
  249. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -22
  250. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  251. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -7
  252. package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -39
  253. package/esm/drivers/signers/ISigner.d.ts +0 -33
  254. package/esm/drivers/signers/SignerFactory.d.ts +0 -11
  255. package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
  256. package/esm/drivers/ssos/ISso.d.ts +0 -41
  257. package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
  258. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
  259. package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
  260. package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
  261. package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
  262. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
  263. package/esm/sdks/commons/HaCode.vue.d.ts +0 -39
  264. package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
  265. package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
  266. package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
  267. package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
  268. package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
  269. package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
  270. package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
  271. package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
  272. package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
  273. package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
  274. package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
  275. package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
  276. package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
  277. package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
  278. package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
  279. package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
  280. package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
  281. package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
  282. package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
  283. package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
  284. package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
  285. package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
  286. package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
  287. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
  288. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
  289. package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
  290. package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
  291. package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
  292. package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
  293. package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
  294. package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
  295. package/esm/sdks/helpers/array-helper.d.ts +0 -97
  296. package/esm/sdks/helpers/component-helper.d.ts +0 -10
  297. package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
  298. package/esm/sdks/helpers/dictionary-helper.d.ts +0 -10
  299. package/esm/sdks/helpers/dom-helper.d.ts +0 -74
  300. package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
  301. package/esm/sdks/helpers/event-helper.d.ts +0 -30
  302. package/esm/sdks/helpers/file-helper.d.ts +0 -22
  303. package/esm/sdks/helpers/html-helper.d.ts +0 -10
  304. package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
  305. package/esm/sdks/helpers/image-helper.d.ts +0 -10
  306. package/esm/sdks/helpers/index.d.ts +0 -26
  307. package/esm/sdks/helpers/json-helper.d.ts +0 -31
  308. package/esm/sdks/helpers/math-helper.d.ts +0 -42
  309. package/esm/sdks/helpers/micro-helper.d.ts +0 -10
  310. package/esm/sdks/helpers/mount-helper.d.ts +0 -14
  311. package/esm/sdks/helpers/object-helper.d.ts +0 -34
  312. package/esm/sdks/helpers/script-helper.d.ts +0 -31
  313. package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
  314. package/esm/sdks/helpers/sign-helper.d.ts +0 -14
  315. package/esm/sdks/helpers/storage-helper.d.ts +0 -34
  316. package/esm/sdks/helpers/string-helper.d.ts +0 -94
  317. package/esm/sdks/helpers/task-helper.d.ts +0 -26
  318. package/esm/sdks/helpers/time-helper.d.ts +0 -62
  319. package/esm/sdks/helpers/tree-helper.d.ts +0 -54
  320. package/esm/sdks/helpers/type-helper.d.ts +0 -26
  321. package/esm/sdks/helpers/url-helper.d.ts +0 -92
  322. package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
  323. package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
  324. package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
  325. package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
  326. package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
  327. package/esm/sdks/stores/window.d.ts +0 -25
  328. package/esm/sdks/thirds/index.d.ts +0 -8
  329. package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
  330. package/esm/sdks/utilities/EventUtility.d.ts +0 -30
  331. package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
  332. package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
  333. package/esm/sdks/utilities/index.d.ts +0 -4
  334. package/esm/services/HttpService.d.ts +0 -22
  335. package/esm/services/SettingService.d.ts +0 -5
  336. package/esm/stores/app.d.ts +0 -44
  337. package/esm/stores/component.d.ts +0 -30
  338. package/esm/stores/config.d.ts +0 -55
  339. package/esm/stores/driver.d.ts +0 -37
  340. package/esm/stores/i18n.d.ts +0 -67
  341. package/esm/stores/layout.d.ts +0 -13
  342. package/esm/stores/log.d.ts +0 -20
  343. package/esm/stores/router.d.ts +0 -20
  344. package/esm/stores/setting.d.ts +0 -43
  345. package/esm/stores/socket.d.ts +0 -27
  346. package/esm/stores/user.d.ts +0 -40
@@ -1,170 +0,0 @@
1
- import { defineComponent as P, ref as u, onMounted as D, computed as j, watch as Q, resolveComponent as f, openBlock as d, createElementBlock as b, createVNode as y, unref as t, withCtx as m, createElementVNode as n, toDisplayString as k, createBlock as v, createCommentVNode as h, isRef as $, withKeys as L, normalizeClass as Z, withModifiers as G, createTextVNode as T, Fragment as J, renderList as W, nextTick as H } from "vue";
2
- import { useRoute as X } from "vue-router";
3
- import { d as Y, u as ee, z as te, P as oe, S as le, q as K, g as re, f as se } from "./main-CgmRyjET.js";
4
- import "./vendor-@monaco-editor-DKC4UNw_.js";
5
- import "./vendor-moment-h96o7c8I.js";
6
- const ne = { class: "login-container" }, ae = { class: "title-container" }, ie = { class: "title" }, ue = /* @__PURE__ */ n("span", { class: "svg-container" }, [
7
- /* @__PURE__ */ n("i", { class: "fa fa-user" })
8
- ], -1), de = /* @__PURE__ */ n("span", { class: "svg-container" }, [
9
- /* @__PURE__ */ n("i", { class: "fa fa-key" })
10
- ], -1), pe = { class: "btn-others" }, fe = ["href"], me = ["innerHTML"], we = /* @__PURE__ */ P({
11
- __name: "Index",
12
- setup(ce) {
13
- let a = u({ id: "", secret: "" }), p = u("password"), s = u(!1), _ = u(!1), C = u(), R = u(), w = u(), S = Y(), { $t: i, $t_sys: q } = ee(), U = te(), V = X(), F = {
14
- id: [{
15
- required: !0,
16
- trigger: "blur",
17
- validator: (o, e, r) => {
18
- e ? e.indexOf("@") > -1 ? le.isEmail(e) ? r() : r(new Error("邮箱格式不正确")) : r() : r(new Error(i("common.username_or_email") + " " + i("common.should_not_null")));
19
- }
20
- }]
21
- // secret: [{required: true, trigger: 'blur', validator: validateSecret}]
22
- }, I = (o) => {
23
- o.key && o.key.length == 1 && (o.shiftKey && o.key >= "a" && o.key <= "z" || !o.shiftKey && o.key >= "A" && o.key <= "Z" ? s.value = !0 : s.value = !1), o.key == "CapsLock" && s.value == !0 && (s.value = !1);
24
- }, x = () => {
25
- p.value == "password" ? p.value = "" : p.value = "password", H(() => {
26
- w.value.focus();
27
- });
28
- }, B = (o) => {
29
- _.value = !0, C.value.validate((e) => {
30
- if (!e)
31
- return _.value = !1, !1;
32
- K.getSso(o).login(a.value).then(({ data: c }) => {
33
- re.getBackUrl() ? U.toBackUrl() : U.to("/");
34
- }).finally(() => {
35
- H(() => {
36
- _.value = !1;
37
- });
38
- });
39
- });
40
- }, M = (o) => {
41
- let e = K.getSso(o), r = V.query.return_url, c = `${window.location.origin}/sso/callback?type=${o.toLowerCase()}&return_url=${r}`;
42
- return e.loginUrl(se.api.url + `/user/login?type=${o.toLowerCase()}&callback_url=` + encodeURIComponent(c));
43
- }, N = (o) => Object.keys(o).reduce((e, r) => (e[r] = o[r], e), {});
44
- D(() => {
45
- oe.setI18nTitle("common.login"), g.value != null && (a.value.id == "" ? R.value.focus() : a.value.secret == "" && w.value.focus());
46
- });
47
- let g = j(() => S.ssos.find((e) => e.type.toUpperCase() == "BEARER"));
48
- return Q(() => V, (o) => {
49
- debugger;
50
- const e = o.query;
51
- e && N(e);
52
- }), (o, e) => {
53
- const r = f("el-input"), c = f("el-form-item"), E = f("el-tooltip"), O = f("el-button"), z = f("router-link"), A = f("el-form");
54
- return d(), b("div", ne, [
55
- y(A, {
56
- ref_key: "loginFormRef",
57
- ref: C,
58
- autocomplete: "on",
59
- "label-position": "left",
60
- model: t(a),
61
- rules: t(F)
62
- }, {
63
- default: m(() => [
64
- n("div", ae, [
65
- n("h3", ie, k(t(q)("title")), 1)
66
- ]),
67
- t(g) ? (d(), v(c, {
68
- key: 0,
69
- prop: "id"
70
- }, {
71
- default: m(() => [
72
- ue,
73
- y(r, {
74
- ref_key: "idRef",
75
- ref: R,
76
- placeholder: t(i)("common.username_or_email"),
77
- name: "id",
78
- type: "text",
79
- tabindex: "1",
80
- autocomplete: "on",
81
- modelValue: t(a).id,
82
- "onUpdate:modelValue": e[0] || (e[0] = (l) => t(a).id = l)
83
- }, null, 8, ["placeholder", "modelValue"])
84
- ]),
85
- _: 1
86
- })) : h("", !0),
87
- t(g) ? (d(), v(E, {
88
- key: 1,
89
- content: "Caps lock is On",
90
- placement: "right",
91
- manual: "",
92
- modelValue: t(s),
93
- "onUpdate:modelValue": e[5] || (e[5] = (l) => $(s) ? s.value = l : s = l)
94
- }, {
95
- default: m(() => [
96
- y(c, { prop: "secret" }, {
97
- default: m(() => [
98
- de,
99
- (d(), v(r, {
100
- ref_key: "secretRef",
101
- ref: w,
102
- key: t(p),
103
- type: t(p),
104
- placeholder: t(i)("common.password"),
105
- name: "secret",
106
- tabindex: "2",
107
- autocomplete: "on",
108
- onKeyup: [
109
- L(t(I), ["native"]),
110
- e[2] || (e[2] = L((l) => t(B)("Bearer"), ["enter", "native"]))
111
- ],
112
- onBlur: e[1] || (e[1] = (l) => $(s) ? s.value = !1 : s = !1),
113
- modelValue: t(a).secret,
114
- "onUpdate:modelValue": e[3] || (e[3] = (l) => t(a).secret = l)
115
- }, null, 8, ["type", "placeholder", "onKeyup", "modelValue"])),
116
- n("span", {
117
- class: "btn-pwd",
118
- onClick: e[4] || (e[4] = //@ts-ignore
119
- (...l) => t(x) && t(x)(...l))
120
- }, [
121
- n("i", {
122
- class: Z(t(p) == "password" ? "fa fa-eye" : "fa fa-eye-slash")
123
- }, null, 2)
124
- ])
125
- ]),
126
- _: 1
127
- })
128
- ]),
129
- _: 1
130
- }, 8, ["modelValue"])) : h("", !0),
131
- t(g) ? (d(), v(O, {
132
- key: 2,
133
- type: "primary",
134
- class: "btn-login",
135
- loading: t(_),
136
- onClick: e[6] || (e[6] = G((l) => t(B)("Bearer"), ["prevent"]))
137
- }, {
138
- default: m(() => [
139
- T(k(t(i)("common.login")), 1)
140
- ]),
141
- _: 1
142
- }, 8, ["loading"])) : h("", !0),
143
- n("div", pe, [
144
- (d(!0), b(J, null, W(t(S).ssos.filter((l) => l.type.toUpperCase() != "BEARER"), (l) => (d(), b("a", {
145
- href: t(M)(l.type)
146
- }, k(t(i)(l.text)), 9, fe))), 256)),
147
- y(z, {
148
- class: "btn-register",
149
- to: "/register"
150
- }, {
151
- default: m(() => [
152
- T(k(t(i)("common.register")), 1)
153
- ]),
154
- _: 1
155
- })
156
- ])
157
- ]),
158
- _: 1
159
- }, 8, ["model", "rules"]),
160
- n("div", {
161
- class: "powered-by",
162
- innerHTML: t(i)("sys.powered_by")
163
- }, null, 8, me)
164
- ]);
165
- };
166
- }
167
- });
168
- export {
169
- we as default
170
- };
@@ -1,74 +0,0 @@
1
- import { defineComponent as x, defineAsyncComponent as C, toRefs as D, computed as d, unref as e, openBlock as c, createBlock as f, withCtx as v, resolveDynamicComponent as b, isRef as w, createElementVNode as _, toDisplayString as h } from "vue";
2
- import { S as N } from "./main-CgmRyjET.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
- const H = /* @__PURE__ */ x({
8
- __name: "Index",
9
- props: {
10
- schema: {},
11
- table: {},
12
- field: {},
13
- set: {},
14
- row: {},
15
- config: {}
16
- },
17
- emits: ["submit", "change"],
18
- setup(g, { emit: S }) {
19
- let V = C(() => import("./TextLink-KC_xsgpi.js")), k = g, { schema: u, table: s, field: o, set: i, row: a, config: m } = D(k), p = d(() => {
20
- let l = o.value.control.type;
21
- return m.value && m.value.control && m.value.control.type ? m.value.control.type : l;
22
- }), y = d(() => `text-${N.getDashName(p.value)}`), t = d({
23
- get() {
24
- return a.value[o.value.name];
25
- },
26
- set(l) {
27
- a.value[o.value.name] = l;
28
- }
29
- });
30
- return (l, r) => e(o).link ? (c(), f(e(V), {
31
- key: 0,
32
- schema: e(u),
33
- table: e(s),
34
- field: e(o),
35
- set: e(i),
36
- row: e(a)
37
- }, {
38
- default: v(() => [
39
- (c(), f(b(e(y)), {
40
- schema: e(u),
41
- table: e(s),
42
- field: e(o),
43
- set: e(i),
44
- row: e(a),
45
- modelValue: e(t),
46
- "onUpdate:modelValue": r[0] || (r[0] = (n) => w(t) ? t.value = n : t = n)
47
- }, {
48
- default: v(() => [
49
- _("div", null, h(l.$t("common.unsupported_text_control", [e(p)])), 1)
50
- ]),
51
- _: 1
52
- }, 8, ["schema", "table", "field", "set", "row", "modelValue"]))
53
- ]),
54
- _: 1
55
- }, 8, ["schema", "table", "field", "set", "row"])) : (c(), f(b(e(y)), {
56
- key: 1,
57
- schema: e(u),
58
- table: e(s),
59
- field: e(o),
60
- set: e(i),
61
- row: e(a),
62
- modelValue: e(t),
63
- "onUpdate:modelValue": r[1] || (r[1] = (n) => w(t) ? t.value = n : t = n)
64
- }, {
65
- default: v(() => [
66
- _("div", null, h(l.$t("common.unsupported_text_control", [e(p)])), 1)
67
- ]),
68
- _: 1
69
- }, 8, ["schema", "table", "field", "set", "row", "modelValue"]));
70
- }
71
- });
72
- export {
73
- H as default
74
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-3zk23es9.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Index.vue_vue_type_script_setup_true_lang-CCdCOtFc.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Index.vue_vue_type_style_index_0_lang-DZJCAfOb.js";
2
- export {
3
- f as default
4
- };
@@ -1,69 +0,0 @@
1
- import { defineComponent as E, toRefs as x, ref as R, onMounted as k, openBlock as u, createElementBlock as z, Fragment as B, createVNode as L, unref as e, createBlock as S, resolveDynamicComponent as $, withCtx as D, createElementVNode as N, toDisplayString as V } from "vue";
2
- import { r as F } from "./main-CgmRyjET.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
- import "vue-router";
8
- import "./vendor-intro.js-CZkClzQO.js";
9
- const I = { class: "not-support" }, O = /* @__PURE__ */ E({
10
- __name: "Index",
11
- props: {
12
- route: {},
13
- validateErrors: {},
14
- module: {},
15
- schema: {},
16
- table: {},
17
- layout: {},
18
- next: {},
19
- set: {}
20
- },
21
- emits: ["layout-change", "row-edit", "change", "submit"],
22
- setup(s, { expose: i, emit: m }) {
23
- let o = m, p = s, { module: d, schema: c, table: l, layout: a, next: y, set: h } = x(p), r = R(), f = (t) => {
24
- o("layout-change", t);
25
- }, g = (t, n, w) => {
26
- o("row-edit", t, n, w);
27
- }, _ = () => {
28
- o("change");
29
- }, b = (t) => {
30
- o("submit", t);
31
- }, v = (t) => {
32
- }, C = (t) => {
33
- if (!r.value || !r.value.resize)
34
- return !1;
35
- r.value.resize(t);
36
- };
37
- return k(() => {
38
- }), i({ update: v, resize: C }), (t, n) => (u(), z(B, null, [
39
- L(e(F), {
40
- layout: e(a),
41
- table: e(l),
42
- onLayoutChange: e(f)
43
- }, null, 8, ["layout", "table", "onLayoutChange"]),
44
- (u(), S($(`update-${e(a).type.toLowerCase()}`), {
45
- ref_key: "layoutRef",
46
- ref: r,
47
- module: e(d),
48
- schema: e(c),
49
- table: e(l),
50
- layout: e(a),
51
- next: e(y),
52
- set: e(h),
53
- route: t.route,
54
- "validate-errors": t.validateErrors,
55
- onRowEdit: e(g),
56
- onChange: e(_),
57
- onSubmit: e(b)
58
- }, {
59
- default: D(() => [
60
- N("div", I, V(t.$t("single.not_supported_layout", e(a).type)), 1)
61
- ]),
62
- _: 1
63
- }, 40, ["module", "schema", "table", "layout", "next", "set", "route", "validate-errors", "onRowEdit", "onChange", "onSubmit"]))
64
- ], 64));
65
- }
66
- });
67
- export {
68
- O as _
69
- };
@@ -1,75 +0,0 @@
1
- import { defineComponent as k, toRefs as D, ref as N, openBlock as r, createElementBlock as B, Fragment as L, createVNode as R, unref as e, createBlock as w, resolveDynamicComponent as E, withCtx as P, createElementVNode as V, toDisplayString as $ } from "vue";
2
- import { r as F } from "./main-CgmRyjET.js";
3
- const I = { class: "not-support" }, H = /* @__PURE__ */ k({
4
- __name: "Index",
5
- props: {
6
- searchData: {},
7
- module: {},
8
- schema: {},
9
- table: {},
10
- layout: {},
11
- next: {},
12
- set: {}
13
- },
14
- emits: ["navigate", "sort", "search", "page-change", "size-change", "succeed", "close", "layout-change"],
15
- setup(c, { expose: u, emit: g }) {
16
- let o = g, i = c, { module: h, schema: m, table: s, layout: l, next: p, set: d, searchData: y } = D(i), n = N(), f = (a, t) => {
17
- o("navigate", a, t);
18
- }, C = (a, t) => {
19
- o("sort", a, t);
20
- }, v = (a) => {
21
- o("search", a);
22
- }, _ = (a, t = null) => {
23
- o("page-change", a, t);
24
- }, b = (a, t = null) => {
25
- o("size-change", a, t);
26
- }, x = (a = null) => {
27
- o("succeed", a);
28
- }, z = () => {
29
- o("close");
30
- }, S = (a) => {
31
- o("layout-change", a);
32
- };
33
- return u({ resize: (a) => {
34
- if (!n.value || !n.value.resize)
35
- return !1;
36
- n.value.resize(a);
37
- }, keyboard: (a, t) => {
38
- if (!n.value || !n.value.keyboard)
39
- return !1;
40
- n.value.keyboard(a, t);
41
- } }), (a, t) => (r(), B(L, null, [
42
- R(F, {
43
- layout: e(l),
44
- table: e(s),
45
- onLayoutChange: e(S)
46
- }, null, 8, ["layout", "table", "onLayoutChange"]),
47
- (r(), w(E(`paging-${e(l).type.toLowerCase()}`), {
48
- ref_key: "pagingRef",
49
- ref: n,
50
- module: e(h),
51
- schema: e(m),
52
- table: e(s),
53
- layout: e(l),
54
- next: e(p),
55
- set: e(d),
56
- "search-data": e(y),
57
- onNavigate: e(f),
58
- onSort: e(C),
59
- onSearch: e(v),
60
- onPageChange: e(_),
61
- onSizeChange: e(b),
62
- onSucceed: e(x),
63
- onClose: e(z)
64
- }, {
65
- default: P(() => [
66
- V("div", I, "未支持的分页布局方式:" + $(e(l).type), 1)
67
- ]),
68
- _: 1
69
- }, 40, ["module", "schema", "table", "layout", "next", "set", "search-data", "onNavigate", "onSort", "onSearch", "onPageChange", "onSizeChange", "onSucceed", "onClose"]))
70
- ], 64));
71
- }
72
- });
73
- export {
74
- H as _
75
- };
@@ -1,36 +0,0 @@
1
- import { defineComponent as u, toRefs as f, openBlock as _, createBlock as b, resolveDynamicComponent as g, unref as e, withCtx as C, createElementVNode as D, toDisplayString as V } from "vue";
2
- const x = { class: "not-support" }, k = /* @__PURE__ */ u({
3
- __name: "Index",
4
- props: {
5
- schema: {},
6
- table: {},
7
- field: {},
8
- searchData: {}
9
- },
10
- emits: ["change", "submit"],
11
- setup(m, { emit: r }) {
12
- let s = r, c = m, { schema: i, table: a, field: t, searchData: n } = f(c), h = (o) => {
13
- s("change", o);
14
- }, d = () => {
15
- s("submit");
16
- };
17
- return (o, l) => (_(), b(g(`search-${e(t).search.control.toLowerCase()}`), {
18
- schema: e(i),
19
- table: e(a),
20
- field: e(t),
21
- "search-data": e(n),
22
- onChange: e(h),
23
- onSubmit: e(d),
24
- modelValue: e(n)[e(a).name][e(t).name],
25
- "onUpdate:modelValue": l[0] || (l[0] = (p) => e(n)[e(a).name][e(t).name] = p)
26
- }, {
27
- default: C(() => [
28
- D("div", x, V(o.$t("paging.not_implemented_search_control", [e(t).search.control])), 1)
29
- ]),
30
- _: 1
31
- }, 40, ["schema", "table", "field", "search-data", "onChange", "onSubmit", "modelValue"]));
32
- }
33
- });
34
- export {
35
- k as _
36
- };
@@ -1,113 +0,0 @@
1
- import { defineComponent as E, defineAsyncComponent as I, toRefs as $, ref as z, computed as h, resolveComponent as v, openBlock as n, createElementBlock as u, Fragment as b, unref as e, createBlock as d, withCtx as s, createElementVNode as g, createVNode as _, resolveDynamicComponent as A, toDisplayString as k, createTextVNode as F, createCommentVNode as H } from "vue";
2
- import { S as U } from "./main-CgmRyjET.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
- const j = { class: "text-popover" }, q = {
8
- key: 2,
9
- class: "control-operation"
10
- }, P = /* @__PURE__ */ E({
11
- __name: "Index",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- config: {}
19
- },
20
- emits: ["submit", "change"],
21
- setup(w, { emit: x }) {
22
- let p = I(() => import("./Index-ByC6qZPq.js")), C = x, V = w, { schema: a, table: c, field: t, set: i, row: l, config: o } = $(V), m = z(), N = () => {
23
- }, R = (r) => {
24
- C("submit", r);
25
- }, y = h(() => {
26
- let r = t.value.control.type;
27
- return o.value && o.value.control && o.value.control.type ? o.value.control.type : r;
28
- }), S = h(() => `control-${U.getDashName(y.value)}`);
29
- return (r, f) => {
30
- const B = v("el-popover"), D = v("el-link");
31
- return n(), u(b, null, [
32
- e(t).control.textualize ? (n(), u(b, { key: 0 }, [
33
- e(t).control.popover ? (n(), d(B, {
34
- key: 0,
35
- trigger: "hover",
36
- placement: "top",
37
- width: e(t).control.popover.width
38
- }, {
39
- reference: s(() => [
40
- g("div", j, [
41
- _(e(p), {
42
- ref_key: "controlRef",
43
- ref: m,
44
- schema: e(a),
45
- table: e(c),
46
- field: e(t),
47
- set: e(i),
48
- row: e(l),
49
- config: e(o)
50
- }, null, 8, ["schema", "table", "field", "set", "row", "config"])
51
- ])
52
- ]),
53
- default: s(() => [
54
- _(e(p), {
55
- ref_key: "controlRef",
56
- ref: m,
57
- schema: e(a),
58
- table: e(c),
59
- field: e(t),
60
- set: e(i),
61
- row: e(l),
62
- config: e(o)
63
- }, null, 8, ["schema", "table", "field", "set", "row", "config"])
64
- ]),
65
- _: 1
66
- }, 8, ["width"])) : (n(), d(e(p), {
67
- key: 1,
68
- ref_key: "controlRef",
69
- ref: m,
70
- schema: e(a),
71
- table: e(c),
72
- field: e(t),
73
- set: e(i),
74
- row: e(l),
75
- config: e(o)
76
- }, null, 8, ["schema", "table", "field", "set", "row", "config"]))
77
- ], 64)) : (n(), d(A(e(S)), {
78
- key: 1,
79
- ref_key: "controlRef",
80
- ref: m,
81
- schema: e(a),
82
- table: e(c),
83
- field: e(t),
84
- set: e(i),
85
- row: e(l),
86
- onSubmit: e(R),
87
- onClear: e(N),
88
- modelValue: e(l)[e(t).name],
89
- "onUpdate:modelValue": f[0] || (f[0] = (T) => e(l)[e(t).name] = T)
90
- }, {
91
- default: s(() => [
92
- g("div", null, k(r.$t("common.unsupported_control", [e(y)])), 1)
93
- ]),
94
- _: 1
95
- }, 40, ["schema", "table", "field", "set", "row", "onSubmit", "onClear", "modelValue"])),
96
- e(t).operation ? (n(), u("div", q, [
97
- _(D, {
98
- type: "primary",
99
- underline: !1
100
- }, {
101
- default: s(() => [
102
- F(k(e(t).operation.name), 1)
103
- ]),
104
- _: 1
105
- })
106
- ])) : H("", !0)
107
- ], 64);
108
- };
109
- }
110
- });
111
- export {
112
- P as _
113
- };
@@ -1,130 +0,0 @@
1
- import { defineComponent as k, ref as m, onMounted as C, resolveComponent as r, openBlock as p, createBlock as f, unref as l, withCtx as t, createTextVNode as c, createVNode as a, createElementBlock as v, Fragment as M, renderList as N, createElementVNode as B, toDisplayString as x, createCommentVNode as T } from "vue";
2
- import { n as U, H as w } from "./main-CgmRyjET.js";
3
- import "./vendor-@monaco-editor-DKC4UNw_.js";
4
- import "./vendor-moment-h96o7c8I.js";
5
- import "./vendor-crypto-js-ftX_aBC-.js";
6
- import "xlsx-js-style";
7
- const E = { class: "option-text" }, H = {
8
- key: 0,
9
- class: "option-suffix"
10
- }, L = /* @__PURE__ */ k({
11
- __name: "Install",
12
- setup(O) {
13
- let o = m({ name: null, type: "SqlServer", conn: null }), u = m(!1), i = m(), y = m([
14
- { value: "SqlServer", text: "SqlServer" },
15
- { value: "MySql", text: "MySql" },
16
- { value: "Mongo", text: "Mongo" },
17
- { value: "Sqlite", text: "Sqlite" },
18
- { value: "Oracle", text: "Oracle" },
19
- { value: "Trino", text: "Trino" }
20
- ]), V = () => {
21
- u.value = !0, i.value.validate((_, n) => {
22
- if (!_)
23
- return u.value = !1, !1;
24
- w.post("/app/install", o.value).then(({ data: d }) => {
25
- }).finally(() => {
26
- u.value = !1;
27
- });
28
- });
29
- };
30
- return C(() => {
31
- }), (_, n) => {
32
- const d = r("el-input"), s = r("el-form-item"), S = r("el-option"), g = r("el-select"), q = r("el-button"), b = r("el-form");
33
- return p(), f(l(U), {
34
- class: "ho-install",
35
- title: "数据库信息"
36
- }, {
37
- operation: t(() => [
38
- c("开启您的心动之旅")
39
- ]),
40
- default: t(() => [
41
- a(b, {
42
- ref_key: "formRef",
43
- ref: i,
44
- model: l(o),
45
- "label-width": "80px"
46
- }, {
47
- default: t(() => [
48
- a(s, {
49
- label: "名称",
50
- prop: "name",
51
- rules: [{ required: !0, message: "数据库名不能为空" }]
52
- }, {
53
- default: t(() => [
54
- a(d, {
55
- type: "text",
56
- modelValue: l(o).name,
57
- "onUpdate:modelValue": n[0] || (n[0] = (e) => l(o).name = e)
58
- }, null, 8, ["modelValue"])
59
- ]),
60
- _: 1
61
- }),
62
- a(s, {
63
- label: "类型",
64
- prop: "type",
65
- rules: [{ required: !0, message: "数据库类型不能为空" }]
66
- }, {
67
- default: t(() => [
68
- a(g, {
69
- modelValue: l(o).type,
70
- "onUpdate:modelValue": n[1] || (n[1] = (e) => l(o).type = e)
71
- }, {
72
- default: t(() => [
73
- (p(!0), v(M, null, N(l(y), (e) => (p(), f(S, {
74
- value: e.value,
75
- label: e.text + (e.value ? "(" + e.value + ")" : ""),
76
- key: `${e.value}`
77
- }, {
78
- default: t(() => [
79
- B("span", E, x(e.text), 1),
80
- e.value ? (p(), v("span", H, "(" + x(e.value) + ")", 1)) : T("", !0)
81
- ]),
82
- _: 2
83
- }, 1032, ["value", "label"]))), 128))
84
- ]),
85
- _: 1
86
- }, 8, ["modelValue"])
87
- ]),
88
- _: 1
89
- }),
90
- a(s, {
91
- label: "连接串",
92
- prop: "conn",
93
- rules: [{ required: !0, message: "数据库连接串不能为空" }]
94
- }, {
95
- default: t(() => [
96
- a(d, {
97
- type: "textarea",
98
- modelValue: l(o).conn,
99
- "onUpdate:modelValue": n[2] || (n[2] = (e) => l(o).conn = e)
100
- }, null, 8, ["modelValue"])
101
- ]),
102
- _: 1
103
- }),
104
- a(s, null, {
105
- default: t(() => [
106
- a(q, {
107
- type: "primary",
108
- loading: l(u),
109
- onClick: l(V)
110
- }, {
111
- default: t(() => [
112
- c("立即安装")
113
- ]),
114
- _: 1
115
- }, 8, ["loading", "onClick"])
116
- ]),
117
- _: 1
118
- })
119
- ]),
120
- _: 1
121
- }, 8, ["model"])
122
- ]),
123
- _: 1
124
- });
125
- };
126
- }
127
- });
128
- export {
129
- L as default
130
- };