halo-pc 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/{Article-7pMF1N-k.js → Article-BbJTCOkX.js} +66 -62
  2. package/dist/{Autocomplete-CEjjKXwo.js → Autocomplete-A0m1RW7z.js} +1 -1
  3. package/dist/Autocomplete-C3d_yunJ.js +52 -0
  4. package/dist/Autocomplete-H0_xgWsN.js +53 -0
  5. package/dist/{CSharp-DatSqpip.js → CSharp-Bwl97exE.js} +1 -1
  6. package/dist/{Calender-B1HoFiQg.js → Calender-C3vbVYIN.js} +1 -1
  7. package/dist/Callback-oU2ap8v9.js +24 -0
  8. package/dist/Cascader-ClSabtOx.js +45 -0
  9. package/dist/Cascader-DRErYyH6.js +84 -0
  10. package/dist/{Checkbox-B6IkMrWB.js → Checkbox-BJS0a1NT.js} +1 -1
  11. package/dist/{Code-SZuIImtp.js → Code-9I77CMRV.js} +1 -1
  12. package/dist/Code-B2DrYXDa.js +58 -0
  13. package/dist/Code-BgqGTky1.js +40 -0
  14. package/dist/Code-Cv1pm18C.js +4 -0
  15. package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +63 -0
  16. package/dist/Column-Dgs0SdWX.js +71 -0
  17. package/dist/Comment-Cy6lpmqk.js +102 -0
  18. package/dist/Compare-5cTiHEdo.js +30 -0
  19. package/dist/Compare-CWeuLw9n.js +60 -0
  20. package/dist/Copy-C6WEtRhC.js +47 -0
  21. package/dist/Custom-QDHQJoxC.js +53 -0
  22. package/dist/{DataExport-I9iG4oEo.js → DataExport-BHh7NvbT.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js → DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js} +37 -33
  24. package/dist/{DataImport-2KtOy-of.js → DataImport-CtBsCyNb.js} +1 -1
  25. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js → DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js} +59 -55
  26. package/dist/{Date-PERpDDy_.js → Date-IV1FwqTW.js} +1 -1
  27. package/dist/{DateRange-BaxHMjcx.js → DateRange-IWmDLSuy.js} +11 -7
  28. package/dist/{DateTime-B7gHENiu.js → DateTime-Di6sr-tq.js} +1 -1
  29. package/dist/{DateTimeRange-yI9Y2qgC.js → DateTimeRange-BNUGYgWf.js} +14 -10
  30. package/dist/{Daterange-DqvBvK-B.js → Daterange-rrlMT4tD.js} +17 -13
  31. package/dist/{Decimal-AXwMeqBW.js → Decimal-D9TVQqyS.js} +1 -1
  32. package/dist/Delete-B-k4PTWk.js +59 -0
  33. package/dist/{Detail-aWACqVnM.js → Detail-HAblGKTY.js} +20 -16
  34. package/dist/Dictionary-BUmany6B.js +59 -0
  35. package/dist/{File--NsXL6XX.js → File-MF1QgEQX.js} +45 -41
  36. package/dist/{Image-CuwfJLKW.js → Image-Dps_vfcZ.js} +1 -1
  37. package/dist/{Index-BNOFdDjW.js → Index-7cTFT9Xb.js} +19 -15
  38. package/dist/{Index-CQ9S2R9b.js → Index-C_mfWEwr.js} +1 -1
  39. package/dist/Index-Cgets8DK.js +4 -0
  40. package/dist/Index-DGnHsBz4.js +4 -0
  41. package/dist/{Index-Cewv4-Ik.js → Index-DupYRMRj.js} +45 -41
  42. package/dist/{Index-DA2wAurY.js → Index-XBFHPLbK.js} +1 -1
  43. package/dist/{Index-Cj79dCuO.js → Index-hgpg_5ma.js} +1 -1
  44. package/dist/{Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js → Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js} +15 -11
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js → Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js} +16 -12
  46. package/dist/{Index.vue_vue_type_style_index_0_lang-DApNHvNX.js → Index.vue_vue_type_style_index_0_lang-DBERwM_v.js} +31 -27
  47. package/dist/{Install-BWdNbtVx.js → Install-A9qs4Vg-.js} +20 -16
  48. package/dist/{Int-nmVkFRqG.js → Int-B3L54Gcc.js} +16 -12
  49. package/dist/List-Om6OdbbR.js +76 -0
  50. package/dist/Maintaince-CrfEX-5B.js +19 -0
  51. package/dist/{Markdown-DD6ufwhM.js → Markdown-wcGRlabe.js} +1 -1
  52. package/dist/{Month-BqbTFGgo.js → Month-C1tCQKvO.js} +1 -1
  53. package/dist/{Normal-f4HN1ciI.js → Normal-HoU_elKy.js} +51 -47
  54. package/dist/Paging-C_StoYuZ.js +94 -0
  55. package/dist/QueryApi-BrYyIwqV.js +18 -0
  56. package/dist/{Racebar-Bou-XNCm.js → Racebar-BXuP1N9F.js} +27 -23
  57. package/dist/{Radio-BmikzeCv.js → Radio-D6W9guyM.js} +1 -1
  58. package/dist/{Register-CgbRZH9W.js → Register-DGhIjRDD.js} +79 -75
  59. package/dist/{RichText-BeK3zZam.js → RichText-B3Br1uzj.js} +22 -18
  60. package/dist/{SearchFooter-C4PeAkaR.js → SearchFooter-D3-9GTr1.js} +1 -1
  61. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js → SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js} +1 -1
  62. package/dist/{SearchForm-C7fZiQaW.js → SearchForm-rWozLa4B.js} +1 -1
  63. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js → SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js} +30 -26
  64. package/dist/{Select-C1-NVZdG.js → Select-64nQiHNA.js} +21 -17
  65. package/dist/{Select-DR5fQH0d.js → Select-CAmBUDp3.js} +40 -36
  66. package/dist/{Select-DlbQvxQu.js → Select-qCdhL7vC.js} +1 -1
  67. package/dist/{Single-BLRyJKB-.js → Single-Bnrt5Hxb.js} +81 -77
  68. package/dist/{Statistic-BOtmYiRA.js → Statistic-BTbwlH9l.js} +35 -31
  69. package/dist/{Stock-Dnwof0R1.js → Stock-Br_02hsI.js} +1 -1
  70. package/dist/{Stock-BqQ6lM5B.js → Stock-DbExd680.js} +1 -1
  71. package/dist/{Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js → Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js} +26 -22
  72. package/dist/{Switch-DuMBV0AX.js → Switch-J2GIv4Wa.js} +1 -1
  73. package/dist/{Table-Be-rPXr_.js → Table-DjBx2UGm.js} +68 -64
  74. package/dist/{Table-RMVT0hlE.js → Table-X4vTHlpm.js} +52 -48
  75. package/dist/{Text-DSXRKFPa.js → Text-BFZc81F2.js} +1 -1
  76. package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +56 -0
  77. package/dist/TextLink-C_lFWaZv.js +66 -0
  78. package/dist/{Textarea-3ypOGE1S.js → Textarea-Dw_qLc3Y.js} +1 -1
  79. package/dist/{Timeline-CLezCcgQ.js → Timeline-DaaRGmGd.js} +21 -17
  80. package/dist/Tree-CDD2Nd6q.js +121 -0
  81. package/dist/{Tree-B6RBRT1y.js → Tree-Cmp10DWw.js} +85 -81
  82. package/dist/TreeNode-BM8-GyIc.js +38 -0
  83. package/dist/{Update-Dc3Tdkn0.js → Update-PffbXMXH.js} +17 -13
  84. package/dist/Upload-F6HXe76H.js +71 -0
  85. package/dist/Upload-kwwpaDe6.js +147 -0
  86. package/dist/{UploadApi-Bs507D0w.js → UploadApi-D2W_aGKA.js} +8 -3
  87. package/dist/{Year-DKxOQNyS.js → Year-Dr5ST0Pk.js} +1 -1
  88. package/dist/main-B8RC13GR.js +6528 -0
  89. package/dist/main.js +113 -113
  90. package/dist/style.css +1 -1
  91. package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
  92. package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
  93. package/dist/vendor-clone-BPtCWdXG.js +134 -0
  94. package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
  95. package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
  96. package/dist/{vendor-intro.js-DwWqhM1v.js → vendor-intro.js-CZkClzQO.js} +1 -1
  97. package/dist/vendor-moment-h96o7c8I.js +2578 -0
  98. package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
  99. package/dist/vendor-state-local-CEworIRt.js +131 -0
  100. package/dist/vendor-underscore-DVTek3G4.js +1070 -0
  101. package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
  102. package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
  103. package/esm/coms/controls/Text.vue.d.ts +1 -1
  104. package/esm/coms/globals/HaMenu.vue.d.ts +1 -1
  105. package/esm/coms/globals/HaWindow.vue.d.ts +1 -1
  106. package/esm/coms/pages/Delete.vue.d.ts +2 -2
  107. package/esm/coms/pages/Single.vue.d.ts +2 -2
  108. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  109. package/esm/coms/pagings/DataExport.vue.d.ts +2 -2
  110. package/esm/coms/pagings/DataImport.vue.d.ts +2 -2
  111. package/esm/coms/pagings/Index.vue.d.ts +2 -2
  112. package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
  113. package/esm/coms/pagings/Table.vue.d.ts +2 -2
  114. package/esm/main.d.ts +4 -3
  115. package/esm/services/ServiceFactory.d.ts +3 -0
  116. package/esm/types/PcOptions.d.ts +18 -0
  117. package/esm/types/index.d.ts +2 -0
  118. package/package.json +2 -2
  119. package/dist/Autocomplete-DqKo5NiJ.js +0 -49
  120. package/dist/Autocomplete-K5ipzchR.js +0 -48
  121. package/dist/Callback-PyCjejiv.js +0 -20
  122. package/dist/Cascader-B9lLRKjA.js +0 -80
  123. package/dist/Cascader-BNvlqc5t.js +0 -41
  124. package/dist/Code-BdK547kD.js +0 -4
  125. package/dist/Code-DfFF-84i.js +0 -36
  126. package/dist/Code-LFQVJotC.js +0 -54
  127. package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +0 -59
  128. package/dist/Column-DVjYrrr7.js +0 -67
  129. package/dist/Comment-Do7Mjpjr.js +0 -98
  130. package/dist/Compare-C_iDn27Q.js +0 -56
  131. package/dist/Compare-CrX3yfD4.js +0 -26
  132. package/dist/Copy-_sbdQvHJ.js +0 -43
  133. package/dist/Custom-DarpQFG8.js +0 -49
  134. package/dist/Delete-BY3vAVWa.js +0 -55
  135. package/dist/Dictionary-DpQuFYQ5.js +0 -55
  136. package/dist/Index-B_a_HzsB.js +0 -4
  137. package/dist/Index-Cx2J_P37.js +0 -4
  138. package/dist/List-BjdY1rMk.js +0 -72
  139. package/dist/Maintaince-DzYzyrAc.js +0 -15
  140. package/dist/Paging-BMPtLi8P.js +0 -90
  141. package/dist/QueryApi-CbP5cCyH.js +0 -13
  142. package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +0 -52
  143. package/dist/TextLink-BZW-y_FS.js +0 -62
  144. package/dist/Tree-CLpCeirT.js +0 -117
  145. package/dist/TreeNode-C16N8jqm.js +0 -34
  146. package/dist/Upload-DvWyjK3a.js +0 -143
  147. package/dist/Upload-SEu1V1yX.js +0 -67
  148. package/dist/main-QtNG6p7a.js +0 -16673
  149. package/dist/vendor-pinia-yrN6kSxh.js +0 -861
  150. package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
@@ -0,0 +1,425 @@
1
+ import { g as ee } from "./vendor-clipboard-BqjesuiY.js";
2
+ import { b as F } from "./vendor-util-deprecate-DzpNkCzj.js";
3
+ import { r as D } from "./vendor-sprintf-js-BPTdvBYM.js";
4
+ var l = function(e) {
5
+ return e == null ? "" : "" + e;
6
+ }, re = l, H = function(e) {
7
+ return /^\s*$/.test(re(e));
8
+ }, ne = l, ae = function(e) {
9
+ return ne(e).replace(/<\/?[^>]+>/g, "");
10
+ }, te = l, S = function(e, r) {
11
+ e = te(e);
12
+ var n = r ? e.slice(1).toLowerCase() : e.slice(1);
13
+ return e.charAt(0).toUpperCase() + n;
14
+ }, ie = l, I = function(e) {
15
+ return e = ie(e), e.charAt(0).toLowerCase() + e.slice(1);
16
+ }, ue = function(e, r) {
17
+ return e == null ? [] : (e = String(e), r = ~~r, r > 0 ? e.match(new RegExp(".{1," + r + "}", "g")) : [e]);
18
+ }, le = l, N = function(e) {
19
+ return le(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1");
20
+ }, ce = N, w = function(e) {
21
+ return e == null ? "\\s" : e.source ? e.source : "[" + ce(e) + "]";
22
+ }, oe = l, ve = w, C = String.prototype.trim, h = function(e, r) {
23
+ return e = oe(e), !r && C ? C.call(e) : (r = ve(r), e.replace(new RegExp("^" + r + "+|" + r + "+$", "g"), ""));
24
+ }, fe = h, pe = function(e) {
25
+ return fe(e).replace(/\s\s+/g, " ");
26
+ }, ge = l, d = "ąàáäâãåæăćčĉęèéëêĝĥìíïîĵłľńňòóöőôõðøśșşšŝťțţŭùúüűûñÿýçżźž", m = "aaaaaaaaaccceeeeeghiiiijllnnoooooooossssstttuuuuuunyyczzz";
27
+ d += d.toUpperCase();
28
+ m += m.toUpperCase();
29
+ m = m.split("");
30
+ d += "ß";
31
+ m.push("ss");
32
+ var P = function(e) {
33
+ return ge(e).replace(/.{1}/g, function(r) {
34
+ var n = d.indexOf(r);
35
+ return n === -1 ? r : m[n];
36
+ });
37
+ }, L = l, he = function(t, e) {
38
+ return t = L(t), e = L(e), t.length === 0 || e.length === 0 ? 0 : t.split(e).length - 1;
39
+ }, me = l, k = function(e) {
40
+ return me(e).split("");
41
+ }, se = l, de = function(e) {
42
+ return se(e).replace(/\S/g, function(r) {
43
+ return r === r.toUpperCase() ? r.toLowerCase() : r.toUpperCase();
44
+ });
45
+ }, $e = {
46
+ "¢": "cent",
47
+ "£": "pound",
48
+ "¥": "yen",
49
+ "€": "euro",
50
+ "©": "copy",
51
+ "®": "reg",
52
+ "<": "lt",
53
+ ">": "gt",
54
+ '"': "quot",
55
+ "&": "amp",
56
+ "'": "#39"
57
+ }, Se = $e, we = l, _ = Se, z = "[";
58
+ for (var ke in _)
59
+ z += ke;
60
+ z += "]";
61
+ var ze = new RegExp(z, "g"), Re = function(e) {
62
+ return we(e).replace(ze, function(r) {
63
+ return "&" + _[r] + ";";
64
+ });
65
+ }, ye = {
66
+ nbsp: " ",
67
+ cent: "¢",
68
+ pound: "£",
69
+ yen: "¥",
70
+ euro: "€",
71
+ copy: "©",
72
+ reg: "®",
73
+ lt: "<",
74
+ gt: ">",
75
+ quot: '"',
76
+ amp: "&",
77
+ apos: "'"
78
+ }, Ce = ye, Le = l, x = Ce, xe = function(e) {
79
+ return Le(e).replace(/\&([^;]{1,10});/g, function(r, n) {
80
+ var i;
81
+ return n in x ? x[n] : (i = n.match(/^#x([\da-fA-F]+)$/)) ? String.fromCharCode(parseInt(i[1], 16)) : (i = n.match(/^#(\d+)$/)) ? String.fromCharCode(~~i[1]) : r;
82
+ });
83
+ }, Me = k, q = function(e, r, n, i) {
84
+ var u = Me(e);
85
+ return u.splice(~~r, ~~n, i), u.join("");
86
+ }, Ae = q, Ee = function(e, r, n) {
87
+ return Ae(e, r, 0, n);
88
+ }, Te = l, je = function(e, r, n, i) {
89
+ var u = i === !0 ? "gi" : "g", o = new RegExp(r, u);
90
+ return Te(e).replace(o, n);
91
+ }, Be = l, We = function(e, r) {
92
+ return r === "" ? !0 : Be(e).indexOf(r) !== -1;
93
+ }, Oe = l, Ue = [].slice, be = function() {
94
+ var e = Ue.call(arguments), r = e.shift();
95
+ return e.join(Oe(r));
96
+ }, Fe = function(e) {
97
+ return e == null ? [] : String(e).split(/\r\n?|\n/);
98
+ }, De = l;
99
+ function He(t) {
100
+ for (var e = t.match(/^[\s\\t]*/gm), r = e[0].length, n = 1; n < e.length; n++)
101
+ r = Math.min(e[n].length, r);
102
+ return r;
103
+ }
104
+ var Ie = function(e, r) {
105
+ e = De(e);
106
+ var n = He(e), i;
107
+ return n === 0 ? e : (typeof r == "string" ? i = new RegExp("^" + r, "gm") : i = new RegExp("^[ \\t]{" + n + "}", "gm"), e.replace(i, ""));
108
+ }, Ne = k, Pe = function(e) {
109
+ return Ne(e).reverse().join("");
110
+ }, Z = function(e) {
111
+ return e < 0 ? 0 : +e || 0;
112
+ }, _e = l, qe = Z, Ze = function(e, r, n) {
113
+ return e = _e(e), r = "" + r, n = n == null ? 0 : Math.min(qe(n), e.length), e.lastIndexOf(r, n) === n;
114
+ }, Ve = l, Ge = Z, Je = function(e, r, n) {
115
+ return e = Ve(e), r = "" + r, typeof n > "u" ? n = e.length - r.length : n = Math.min(Ge(n), e.length) - r.length, n >= 0 && e.indexOf(r, n) === n;
116
+ }, Ke = l, V = function(e, r) {
117
+ return e = Ke(e), e.length === 0 ? "" : e.slice(0, -1) + String.fromCharCode(e.charCodeAt(e.length - 1) + r);
118
+ }, Qe = V, Xe = function(e) {
119
+ return Qe(e, -1);
120
+ }, Ye = V, er = function(e) {
121
+ return Ye(e, 1);
122
+ }, rr = l, nr = function(e) {
123
+ return rr(e).toLowerCase().replace(/(?:^|\s|-)\S/g, function(r) {
124
+ return r.toUpperCase();
125
+ });
126
+ }, ar = h, tr = I, G = function(e, r) {
127
+ return e = ar(e).replace(/[-_\s]+(.)?/g, function(n, i) {
128
+ return i ? i.toUpperCase() : "";
129
+ }), r === !0 ? tr(e) : e;
130
+ }, ir = h, J = function(e) {
131
+ return ir(e).replace(/([a-z\d])([A-Z]+)/g, "$1_$2").replace(/[-\s]+/g, "_").toLowerCase();
132
+ }, ur = h, K = function(e) {
133
+ return ur(e).replace(/([A-Z])/g, "-$1").replace(/[-_\s]+/g, "-").toLowerCase();
134
+ }, lr = S, cr = G, or = l, vr = function(e) {
135
+ return e = or(e), lr(cr(e.replace(/[\W_]/g, " ")).replace(/\s/g, ""));
136
+ }, fr = S, pr = J, gr = h, hr = function(e) {
137
+ return fr(gr(pr(e).replace(/_id$/, "").replace(/_/g, " ")));
138
+ }, mr = l, sr = w, M = String.prototype.trimLeft, dr = function(e, r) {
139
+ return e = mr(e), !r && M ? M.call(e) : (r = sr(r), e.replace(new RegExp("^" + r + "+"), ""));
140
+ }, $r = l, Sr = w, A = String.prototype.trimRight, R = function(e, r) {
141
+ return e = $r(e), !r && A ? A.call(e) : (r = Sr(r), e.replace(new RegExp(r + "+$"), ""));
142
+ }, wr = l, kr = function(e, r, n) {
143
+ return e = wr(e), n = n || "...", r = ~~r, e.length > r ? e.slice(0, r) + n : e;
144
+ }, zr = l, Rr = R, yr = function(e, r, n) {
145
+ if (e = zr(e), r = ~~r, n = n != null ? String(n) : "...", e.length <= r) return e;
146
+ var i = function(o) {
147
+ return o.toUpperCase() !== o.toLowerCase() ? "A" : " ";
148
+ }, u = e.slice(0, r + 1).replace(/.(?=\W*\w*$)/g, i);
149
+ return u.slice(u.length - 2).match(/\w\w/) ? u = u.replace(/\s*\S+$/, "") : u = Rr(u.slice(0, u.length - 1)), (u + n).length > e.length ? e : e.slice(0, u.length) + n;
150
+ }, Cr = H, Lr = h, xr = function(e, r) {
151
+ return Cr(e) ? [] : Lr(e, r).split(r || /\s+/);
152
+ }, Q = function(e, r) {
153
+ if (r < 1) return "";
154
+ for (var n = ""; r > 0; )
155
+ r & 1 && (n += e), r >>= 1, e += e;
156
+ return n;
157
+ }, Mr = l, s = Q, $ = function(e, r, n, i) {
158
+ e = Mr(e), r = ~~r;
159
+ var u = 0;
160
+ switch (n ? n.length > 1 && (n = n.charAt(0)) : n = " ", i) {
161
+ case "right":
162
+ return u = r - e.length, e + s(n, u);
163
+ case "both":
164
+ return u = r - e.length, s(n, Math.ceil(u / 2)) + e + s(n, Math.floor(u / 2));
165
+ default:
166
+ return u = r - e.length, s(n, u) + e;
167
+ }
168
+ }, Ar = $, Er = function(e, r, n) {
169
+ return Ar(e, r, n);
170
+ }, Tr = $, jr = function(e, r, n) {
171
+ return Tr(e, r, n, "right");
172
+ }, Br = $, Wr = function(e, r, n) {
173
+ return Br(e, r, n, "both");
174
+ }, Or = F, Ur = Or(
175
+ D().sprintf,
176
+ "sprintf() will be removed in the next major release, use the sprintf-js package instead."
177
+ ), br = F, Fr = br(
178
+ D().vsprintf,
179
+ "vsprintf() will be removed in the next major release, use the sprintf-js package instead."
180
+ ), Dr = function(e, r) {
181
+ if (e == null) return 0;
182
+ var n = Math.pow(10, isFinite(r) ? r : 0);
183
+ return Math.round(e * n) / n;
184
+ }, Hr = function(e, r, n, i) {
185
+ if (isNaN(e) || e == null) return "";
186
+ e = e.toFixed(~~r), i = typeof i == "string" ? i : ",";
187
+ var u = e.split("."), o = u[0], f = u[1] ? (n || ".") + u[1] : "";
188
+ return o.replace(/(\d)(?=(?:\d{3})+$)/g, "$1" + i) + f;
189
+ }, E = l, Ir = function(e, r) {
190
+ e = E(e), r = E(r);
191
+ var n = r ? e.indexOf(r) : -1;
192
+ return ~n ? e.slice(n + r.length, e.length) : e;
193
+ }, T = l, Nr = function(e, r) {
194
+ e = T(e), r = T(r);
195
+ var n = r ? e.lastIndexOf(r) : -1;
196
+ return ~n ? e.slice(n + r.length, e.length) : e;
197
+ }, j = l, Pr = function(e, r) {
198
+ e = j(e), r = j(r);
199
+ var n = r ? e.indexOf(r) : -1;
200
+ return ~n ? e.slice(0, n) : e;
201
+ }, B = l, _r = function(e, r) {
202
+ e = B(e), r = B(r);
203
+ var n = e.lastIndexOf(r);
204
+ return ~n ? e.slice(0, n) : e;
205
+ }, qr = R, X = function(e, r, n, i) {
206
+ r = r || ", ", n = n || " and ";
207
+ var u = e.slice(), o = u.pop();
208
+ return e.length > 2 && i && (n = qr(r) + n), u.length ? u.join(r) + n + o : o;
209
+ }, Zr = X, Vr = function(e, r, n) {
210
+ return Zr(e, r, n, !0);
211
+ }, Gr = h, Jr = K, Kr = P, Qr = function(e) {
212
+ return Gr(Jr(Kr(e).replace(/[^\w\s-]/g, "-").toLowerCase()), "-");
213
+ }, Y = function(e, r) {
214
+ return [r, e, r].join("");
215
+ }, Xr = Y, Yr = function(e, r) {
216
+ return Xr(e, r || '"');
217
+ }, en = function(e, r) {
218
+ return r = r || '"', e[0] === r && e[e.length - 1] === r ? e.slice(1, e.length - 1) : e;
219
+ }, rn = l, nn = Q, an = function(e, r, n) {
220
+ if (e = rn(e), r = ~~r, n == null) return nn(e, r);
221
+ for (var i = []; r > 0; i[--r] = e)
222
+ ;
223
+ return i.join(n);
224
+ }, tn = function(e, r) {
225
+ if (e == r) return 0;
226
+ if (!e) return -1;
227
+ if (!r) return 1;
228
+ for (var n = /(\.\d+|\d+|\D+)/g, i = String(e).match(n), u = String(r).match(n), o = Math.min(i.length, u.length), f = 0; f < o; f++) {
229
+ var c = i[f], g = u[f];
230
+ if (c !== g) {
231
+ var v = +c, p = +g;
232
+ return v === v && p === p ? v > p ? 1 : -1 : c < g ? -1 : 1;
233
+ }
234
+ }
235
+ return i.length != u.length ? i.length - u.length : e < r ? -1 : 1;
236
+ }, W = l, un = function(e, r) {
237
+ if (e = W(e), r = W(r), e === r) return 0;
238
+ if (!e || !r) return Math.max(e.length, r.length);
239
+ for (var n = new Array(r.length + 1), i = 0; i < n.length; ++i)
240
+ n[i] = i;
241
+ for (i = 0; i < e.length; ++i) {
242
+ for (var u = i + 1, o = 0; o < r.length; ++o) {
243
+ var f = u;
244
+ u = n[o] + (e.charAt(i) === r.charAt(o) ? 0 : 1);
245
+ var c = f + 1;
246
+ u > c && (u = c), c = n[o + 1] + 1, u > c && (u = c), n[o] = f;
247
+ }
248
+ n[o] = u;
249
+ }
250
+ return u;
251
+ }, ln = h;
252
+ function O(t, e) {
253
+ var r, n, i = t.toLowerCase();
254
+ for (e = [].concat(e), r = 0; r < e.length; r += 1)
255
+ if (n = e[r], !!n && (n.test && n.test(t) || n.toLowerCase() === i))
256
+ return !0;
257
+ }
258
+ var cn = function(e, r, n) {
259
+ if (typeof e == "number" && (e = "" + e), typeof e != "string") return !!e;
260
+ if (e = ln(e), O(e, r || ["true", "1"])) return !0;
261
+ if (O(e, n || ["false", "0"])) return !1;
262
+ }, on = function() {
263
+ var t = {};
264
+ for (var e in this)
265
+ !this.hasOwnProperty(e) || e.match(/^(?:include|contains|reverse|join|map|wrap)$/) || (t[e] = this[e]);
266
+ return t;
267
+ }, vn = l, fn = function(e, r) {
268
+ e = vn(e), r = r || {};
269
+ var n = r.width || 75, i = r.seperator || `
270
+ `, u = r.cut || !1, o = r.preserveSpaces || !1, f = r.trailingSpaces || !1, c;
271
+ if (n <= 0)
272
+ return e;
273
+ if (u) {
274
+ var p = 0;
275
+ for (c = ""; p < e.length; )
276
+ p % n == 0 && p > 0 && (c += i), c += e.charAt(p), p++;
277
+ if (f)
278
+ for (; p % n > 0; )
279
+ c += " ", p++;
280
+ return c;
281
+ } else {
282
+ var g = e.split(" "), v = 0;
283
+ for (c = ""; g.length > 0; ) {
284
+ if (1 + g[0].length + v > n && v > 0) {
285
+ if (o)
286
+ c += " ", v++;
287
+ else if (f)
288
+ for (; v < n; )
289
+ c += " ", v++;
290
+ c += i, v = 0;
291
+ }
292
+ v > 0 && (c += " ", v++), c += g[0], v += g[0].length, g.shift();
293
+ }
294
+ if (f)
295
+ for (; v < n; )
296
+ c += " ", v++;
297
+ return c;
298
+ }
299
+ }, pn = l, gn = function(t, e) {
300
+ return t = pn(t), t.length === 0 || typeof e != "function" ? t : t.replace(/./g, e);
301
+ };
302
+ /*
303
+ * Underscore.string
304
+ * (c) 2010 Esa-Matti Suuronen <esa-matti aet suuronen dot org>
305
+ * Underscore.string is freely distributable under the terms of the MIT license.
306
+ * Documentation: https://github.com/epeli/underscore.string
307
+ * Some code is borrowed from MooTools and Alexandru Marasteanu.
308
+ * Version '3.3.6'
309
+ * @preserve
310
+ */
311
+ function a(t) {
312
+ if (!(this instanceof a)) return new a(t);
313
+ this._wrapped = t;
314
+ }
315
+ a.VERSION = "3.3.6";
316
+ a.isBlank = H;
317
+ a.stripTags = ae;
318
+ a.capitalize = S;
319
+ a.decapitalize = I;
320
+ a.chop = ue;
321
+ a.trim = h;
322
+ a.clean = pe;
323
+ a.cleanDiacritics = P;
324
+ a.count = he;
325
+ a.chars = k;
326
+ a.swapCase = de;
327
+ a.escapeHTML = Re;
328
+ a.unescapeHTML = xe;
329
+ a.splice = q;
330
+ a.insert = Ee;
331
+ a.replaceAll = je;
332
+ a.include = We;
333
+ a.join = be;
334
+ a.lines = Fe;
335
+ a.dedent = Ie;
336
+ a.reverse = Pe;
337
+ a.startsWith = Ze;
338
+ a.endsWith = Je;
339
+ a.pred = Xe;
340
+ a.succ = er;
341
+ a.titleize = nr;
342
+ a.camelize = G;
343
+ a.underscored = J;
344
+ a.dasherize = K;
345
+ a.classify = vr;
346
+ a.humanize = hr;
347
+ a.ltrim = dr;
348
+ a.rtrim = R;
349
+ a.truncate = kr;
350
+ a.prune = yr;
351
+ a.words = xr;
352
+ a.pad = $;
353
+ a.lpad = Er;
354
+ a.rpad = jr;
355
+ a.lrpad = Wr;
356
+ a.sprintf = Ur;
357
+ a.vsprintf = Fr;
358
+ a.toNumber = Dr;
359
+ a.numberFormat = Hr;
360
+ a.strRight = Ir;
361
+ a.strRightBack = Nr;
362
+ a.strLeft = Pr;
363
+ a.strLeftBack = _r;
364
+ a.toSentence = X;
365
+ a.toSentenceSerial = Vr;
366
+ a.slugify = Qr;
367
+ a.surround = Y;
368
+ a.quote = Yr;
369
+ a.unquote = en;
370
+ a.repeat = an;
371
+ a.naturalCmp = tn;
372
+ a.levenshtein = un;
373
+ a.toBoolean = cn;
374
+ a.exports = on;
375
+ a.escapeRegExp = N;
376
+ a.wrap = fn;
377
+ a.map = gn;
378
+ a.strip = a.trim;
379
+ a.lstrip = a.ltrim;
380
+ a.rstrip = a.rtrim;
381
+ a.center = a.lrpad;
382
+ a.rjust = a.lpad;
383
+ a.ljust = a.rpad;
384
+ a.contains = a.include;
385
+ a.q = a.quote;
386
+ a.toBool = a.toBoolean;
387
+ a.camelcase = a.camelize;
388
+ a.mapChars = a.map;
389
+ a.prototype = {
390
+ value: function() {
391
+ return this._wrapped;
392
+ }
393
+ };
394
+ function y(t, e) {
395
+ typeof e == "function" && (a.prototype[t] = function() {
396
+ var r = [this._wrapped].concat(Array.prototype.slice.call(arguments)), n = e.apply(null, r);
397
+ return typeof n == "string" ? new a(n) : n;
398
+ });
399
+ }
400
+ for (var U in a) y(U, a[U]);
401
+ y("tap", function(e, r) {
402
+ return r(e);
403
+ });
404
+ function hn(t) {
405
+ y(t, function(e) {
406
+ var r = Array.prototype.slice.call(arguments, 1);
407
+ return String.prototype[t].apply(e, r);
408
+ });
409
+ }
410
+ var b = [
411
+ "toUpperCase",
412
+ "toLowerCase",
413
+ "split",
414
+ "replace",
415
+ "slice",
416
+ "substring",
417
+ "substr",
418
+ "concat"
419
+ ];
420
+ for (var mn in b) hn(b[mn]);
421
+ var sn = a;
422
+ const wn = /* @__PURE__ */ ee(sn);
423
+ export {
424
+ wn as _
425
+ };
@@ -0,0 +1,28 @@
1
+ import { c as o } from "./vendor-clipboard-BqjesuiY.js";
2
+ var i = c;
3
+ function c(e, r) {
4
+ if (a("noDeprecation"))
5
+ return e;
6
+ var t = !1;
7
+ function n() {
8
+ if (!t) {
9
+ if (a("throwDeprecation"))
10
+ throw new Error(r);
11
+ a("traceDeprecation") ? console.trace(r) : console.warn(r), t = !0;
12
+ }
13
+ return e.apply(this, arguments);
14
+ }
15
+ return n;
16
+ }
17
+ function a(e) {
18
+ try {
19
+ if (!o.localStorage) return !1;
20
+ } catch {
21
+ return !1;
22
+ }
23
+ var r = o.localStorage[e];
24
+ return r == null ? !1 : String(r).toLowerCase() === "true";
25
+ }
26
+ export {
27
+ i as b
28
+ };
@@ -2,8 +2,8 @@ import { ControlProps } from "./index";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ControlProps & {
3
3
  modelValue?: string;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- change: (...args: any[]) => void;
6
5
  clear: (...args: any[]) => void;
6
+ change: (...args: any[]) => void;
7
7
  "update:modelValue": (...args: any[]) => void;
8
8
  submit: (...args: any[]) => void;
9
9
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ControlProps & {
@@ -68,8 +68,8 @@ declare const _default: import("vue").DefineComponent<{
68
68
  type: StringConstructor;
69
69
  };
70
70
  }>> & {
71
- "onUpdate:modelValue"?: (...args: any[]) => any;
72
71
  onClick?: (...args: any[]) => any;
72
+ "onUpdate:modelValue"?: (...args: any[]) => any;
73
73
  }, {
74
74
  direction: string;
75
75
  expandActive: boolean;
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
25
25
  bottom: number;
26
26
  }>>> & {
27
- "onUpdate:modelValue"?: (modelValue: boolean) => any;
28
27
  onClose?: (...args: any[]) => any;
28
+ "onUpdate:modelValue"?: (modelValue: boolean) => any;
29
29
  onFocus?: (...args: any[]) => any;
30
30
  onBlur?: (...args: any[]) => any;
31
31
  onMin?: (...args: any[]) => any;
@@ -1,12 +1,12 @@
1
1
  import { DeletePageProps } from "./index";
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<DeletePageProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ close: (...args: any[]) => void;
3
4
  succeed: (...args: any[]) => void;
4
5
  navigate: (...args: any[]) => void;
5
- close: (...args: any[]) => void;
6
6
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<DeletePageProps>>> & {
7
+ onClose?: (...args: any[]) => any;
7
8
  onSucceed?: (...args: any[]) => any;
8
9
  onNavigate?: (...args: any[]) => any;
9
- onClose?: (...args: any[]) => any;
10
10
  }, {}, {}>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -6,14 +6,14 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Si
6
6
  refresh: () => void;
7
7
  resize: (event: ResizeObserverEntry) => void;
8
8
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ close: (...args: any[]) => void;
9
10
  succeed: (...args: any[]) => void;
10
11
  navigate: (...args: any[]) => void;
11
- close: (...args: any[]) => void;
12
12
  load: (...args: any[]) => void;
13
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<SinglePageProps>>> & {
14
+ onClose?: (...args: any[]) => any;
14
15
  onSucceed?: (...args: any[]) => any;
15
16
  onNavigate?: (...args: any[]) => any;
16
- onClose?: (...args: any[]) => any;
17
17
  onLoad?: (...args: any[]) => any;
18
18
  }, {}, {}>;
19
19
  export default _default;
@@ -4,14 +4,14 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Pa
4
4
  resize: (event: ResizeObserverEntry) => void;
5
5
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  search: (...args: any[]) => void;
7
+ close: (...args: any[]) => void;
7
8
  succeed: (...args: any[]) => void;
8
9
  navigate: (...args: any[]) => void;
9
- close: (...args: any[]) => void;
10
10
  "page-change": (...args: any[]) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PagingProps>>> & {
12
+ onClose?: (...args: any[]) => any;
12
13
  onSucceed?: (...args: any[]) => any;
13
14
  onNavigate?: (...args: any[]) => any;
14
- onClose?: (...args: any[]) => any;
15
15
  onSearch?: (...args: any[]) => any;
16
16
  "onPage-change"?: (...args: any[]) => any;
17
17
  }, {}, {}>;
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: BooleanConstructor;
11
11
  };
12
12
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:modelValue": (...args: any[]) => void;
14
13
  close: (...args: any[]) => void;
14
+ "update:modelValue": (...args: any[]) => void;
15
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  route: {
17
17
  type: StringConstructor;
@@ -24,8 +24,8 @@ declare const _default: import("vue").DefineComponent<{
24
24
  type: BooleanConstructor;
25
25
  };
26
26
  }>> & {
27
- "onUpdate:modelValue"?: (...args: any[]) => any;
28
27
  onClose?: (...args: any[]) => any;
28
+ "onUpdate:modelValue"?: (...args: any[]) => any;
29
29
  }, {
30
30
  modelValue: boolean;
31
31
  pageCount: number;
@@ -2,16 +2,16 @@ declare const _default: import("vue").DefineComponent<{
2
2
  next: ObjectConstructor;
3
3
  modelValue: BooleanConstructor;
4
4
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ close: (...args: any[]) => void;
5
6
  succeed: (...args: any[]) => void;
6
7
  "update:modelValue": (...args: any[]) => void;
7
- close: (...args: any[]) => void;
8
8
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  next: ObjectConstructor;
10
10
  modelValue: BooleanConstructor;
11
11
  }>> & {
12
+ onClose?: (...args: any[]) => any;
12
13
  onSucceed?: (...args: any[]) => any;
13
14
  "onUpdate:modelValue"?: (...args: any[]) => any;
14
- onClose?: (...args: any[]) => any;
15
15
  }, {
16
16
  modelValue: boolean;
17
17
  }, {}>;
@@ -4,17 +4,17 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Pa
4
4
  keyboard: (type: string, event: KeyboardEvent) => boolean;
5
5
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  search: (...args: any[]) => void;
7
+ close: (...args: any[]) => void;
7
8
  succeed: (...args: any[]) => void;
8
9
  sort: (...args: any[]) => void;
9
10
  navigate: (...args: any[]) => void;
10
- close: (...args: any[]) => void;
11
11
  "page-change": (...args: any[]) => void;
12
12
  "size-change": (...args: any[]) => void;
13
13
  "layout-change": (...args: any[]) => void;
14
14
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PagingProps>>> & {
15
+ onClose?: (...args: any[]) => any;
15
16
  onSucceed?: (...args: any[]) => any;
16
17
  onNavigate?: (...args: any[]) => any;
17
- onClose?: (...args: any[]) => any;
18
18
  onSearch?: (...args: any[]) => any;
19
19
  onSort?: (...args: any[]) => any;
20
20
  "onPage-change"?: (...args: any[]) => any;
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<{
51
51
  type: ObjectConstructor;
52
52
  };
53
53
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- search: (...args: any[]) => void;
55
54
  add: (...args: any[]) => void;
55
+ search: (...args: any[]) => void;
56
56
  succeed: (...args: any[]) => void;
57
57
  remove: (...args: any[]) => void;
58
58
  copy: (...args: any[]) => void;
@@ -4,16 +4,16 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Pa
4
4
  resize: (event: ResizeObserverEntry) => void;
5
5
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
6
  search: (...args: any[]) => void;
7
+ close: (...args: any[]) => void;
7
8
  succeed: (...args: any[]) => void;
8
9
  sort: (...args: any[]) => void;
9
10
  navigate: (...args: any[]) => void;
10
- close: (...args: any[]) => void;
11
11
  "page-change": (...args: any[]) => void;
12
12
  "size-change": (...args: any[]) => void;
13
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PagingProps>>> & {
14
+ onClose?: (...args: any[]) => any;
14
15
  onSucceed?: (...args: any[]) => any;
15
16
  onNavigate?: (...args: any[]) => any;
16
- onClose?: (...args: any[]) => any;
17
17
  onSearch?: (...args: any[]) => any;
18
18
  onSort?: (...args: any[]) => any;
19
19
  "onPage-change"?: (...args: any[]) => any;
package/esm/main.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- declare let app: import("vue").App<Element>;
1
+ import { App } from "vue";
2
+ import { PcOptions } from "./types";
2
3
  export * from "halo-fe";
3
4
  export * from "./coms";
4
5
  export * from "./services";
5
6
  export * from "./stores";
6
7
  /**
7
8
  * 初始化PC框架
9
+ * 创建前端基础框架,配置前端环境变量
8
10
  */
9
- declare let createPc: (env: any) => Promise<void>;
11
+ declare let createPc: (app: App<Element>, options: PcOptions) => Promise<void>;
10
12
  export { createPc };
11
- export default app;
@@ -0,0 +1,3 @@
1
+ declare class ServiceFactory {
2
+ }
3
+ export default ServiceFactory;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * PC初始化选项
3
+ */
4
+ declare interface PcOptions {
5
+ /**
6
+ * 前端环境变量
7
+ */
8
+ env: any;
9
+ /**
10
+ * 自定义路由
11
+ */
12
+ routes: any[];
13
+ /**
14
+ * 多语言配置
15
+ */
16
+ lang: any;
17
+ }
18
+ export { PcOptions };
@@ -0,0 +1,2 @@
1
+ import { PcOptions } from "./PcOptions";
2
+ export { PcOptions };