halo-pc 1.0.40 → 1.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/dist/{Article-CqtkXVmQ.js → Article-BMW_FzdK.js} +32 -31
  2. package/dist/{ArticleFooter-DeJdTtZD.js → ArticleFooter-7iPkMQaX.js} +13 -12
  3. package/dist/Autocomplete-B6Mwp9rT.js +50 -0
  4. package/dist/{Autocomplete-0fxB2_FC.js → Autocomplete-C-El55Lz.js} +1 -1
  5. package/dist/{Autocomplete-LQiKcvz1.js → Autocomplete-PZTjEBIx.js} +11 -10
  6. package/dist/{CSharp-BIFRQLaK.js → CSharp-BQUrQwua.js} +1 -1
  7. package/dist/{Calender-DPNTn-S4.js → Calender-CJXR7uhM.js} +2 -2
  8. package/dist/Callback-CyDW9WU2.js +21 -0
  9. package/dist/{Cascader-Vhc81TDV.js → Cascader-CFc_8QSm.js} +18 -17
  10. package/dist/Cascader-DMQjalNv.js +47 -0
  11. package/dist/{Checkbox-D9Sp6ZGQ.js → Checkbox-aU8e779g.js} +12 -11
  12. package/dist/{Checkbox-CIim5NiB.js → Checkbox-pV01os-T.js} +1 -1
  13. package/dist/Code-C0Kxulod.js +4 -0
  14. package/dist/Code-C4pIa8BE.js +60 -0
  15. package/dist/Code-CCJx9RSm.js +42 -0
  16. package/dist/{Code-yDKaH1uF.js → Code-kDBbVC1W.js} +1 -1
  17. package/dist/Code.vue_vue_type_style_index_0_lang-36NN7tgP.js +65 -0
  18. package/dist/Column-BebDf5Z9.js +75 -0
  19. package/dist/{Comment-tU2wBvGO.js → Comment-BgfD9WtL.js} +25 -19
  20. package/dist/{Compare-DqvGyQWA.js → Compare-BZucuvFP.js} +9 -8
  21. package/dist/{Compare-D7Gz-lE9.js → Compare-D-Byn_Gq.js} +11 -10
  22. package/dist/Copy-DW4jSNQi.js +44 -0
  23. package/dist/Custom-DIF-RYi3.js +55 -0
  24. package/dist/{DataExport-BDftKI0U.js → DataExport-CyQy2xjO.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dzy9UC11.js → DataExport.vue_vue_type_script_setup_true_lang-C4n6xWcP.js} +28 -27
  26. package/dist/{DataImport-CRYaaQfA.js → DataImport-BVF83UsQ.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-D7UdCnBM.js → DataImport.vue_vue_type_script_setup_true_lang-BZhFLOqB.js} +31 -30
  28. package/dist/{Date-Dlh1_S7p.js → Date-CqpFvbYZ.js} +1 -1
  29. package/dist/{Date-DPPiYLWw.js → Date-g1XKWU4b.js} +8 -7
  30. package/dist/{DateRange-BgF_T3ls.js → DateRange-B2afkdbT.js} +6 -5
  31. package/dist/{DateTime-DP-VfmtN.js → DateTime-D_x_wBZR.js} +8 -7
  32. package/dist/{DateTime-CNjPeK9t.js → DateTime-Zi3vtH77.js} +1 -1
  33. package/dist/{DateTimeRange-DbEpW4nB.js → DateTimeRange-BFWM_U7H.js} +10 -9
  34. package/dist/{Daterange-DHVjhrK9.js → Daterange-tXA0b0Ak.js} +5 -4
  35. package/dist/{Decimal-BDEWVSsK.js → Decimal-DKQ38XS_.js} +1 -1
  36. package/dist/{Delete-Bl0GmthL.js → Delete-BOkBpAGN.js} +20 -19
  37. package/dist/{Detail-BozyhOTt.js → Detail-SWgERqKG.js} +11 -10
  38. package/dist/{Dictionary-CJwZPQz6.js → Dictionary-Xsj_Qorw.js} +15 -9
  39. package/dist/{Email-D5X1SzuJ.js → Email-DILPnLkb.js} +12 -11
  40. package/dist/{File-DixK0K7p.js → File-BDUTK7hV.js} +40 -39
  41. package/dist/Image-Yx3ZHHJK.js +9 -0
  42. package/dist/Index-BTa4YIN9.js +174 -0
  43. package/dist/Index-BWukqxQl.js +4 -0
  44. package/dist/Index-BahY1OIJ.js +4 -0
  45. package/dist/Index-C9ffFYsl.js +4 -0
  46. package/dist/{Index-j15c7lwJ.js → Index-CiQQmYeA.js} +1 -1
  47. package/dist/Index-DG7Hovsx.js +4 -0
  48. package/dist/{Index-D2FOeoNQ.js → Index-DeYqTT9Q.js} +1 -1
  49. package/dist/{Index-DbXgnBz6.js → Index-WVLyjyqt.js} +16 -15
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DT7eOyjs.js → Index.vue_vue_type_script_setup_true_lang-42C0EEto.js} +13 -12
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-ByxBNAdg.js → Index.vue_vue_type_script_setup_true_lang-DWMiv0dC.js} +21 -15
  52. package/dist/{Install-WR3b4IfI.js → Install-DW5uDsXF.js} +14 -13
  53. package/dist/{Int-GGWiUqO2.js → Int-BM4sbZvh.js} +14 -13
  54. package/dist/{Int-CWsDtoxE.js → Int-BrFE_Hmm.js} +10 -9
  55. package/dist/List-DWjTqrJR.js +72 -0
  56. package/dist/Maintaince-DF3nu9Jd.js +20 -0
  57. package/dist/{Markdown-nVfQs7kc.js → Markdown-BC8l7O_U.js} +1 -1
  58. package/dist/{Month-CxKMP4kO.js → Month-DRa9o-WC.js} +1 -1
  59. package/dist/{Month-DnYlAi7k.js → Month-QG6OiiLU.js} +11 -10
  60. package/dist/Month-Y0kLXgV7.js +38 -0
  61. package/dist/{Normal-RcqEyIFN.js → Normal-CSy3DFPH.js} +50 -49
  62. package/dist/{Paging-DrdGzxeP.js → Paging-BYccIXmC.js} +43 -42
  63. package/dist/{PagingHeader-C8UpM9Kj.js → PagingHeader-U-oJ1TQE.js} +16 -15
  64. package/dist/{PagingRow-oQWCofO4.js → PagingRow-BmokRXX3.js} +14 -13
  65. package/dist/{Racebar-CvoF2ySW.js → Racebar-BvFHNGb8.js} +28 -22
  66. package/dist/{Radio-DhjfkC14.js → Radio-CjfXrTOE.js} +1 -1
  67. package/dist/{Register-B0Vx60wY.js → Register-BG-3_Q2E.js} +55 -54
  68. package/dist/RichText-C88f59ao.js +47 -0
  69. package/dist/{SearchForm-BHVnQaSL.js → SearchForm-C0zqD7UP.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-ByICIL6w.js → SearchForm.vue_vue_type_style_index_0_lang-Bv1_VqSl.js} +46 -45
  71. package/dist/{SearchHeader-C9yovXli.js → SearchHeader-e2LOidgU.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-CHAg97-Y.js → SearchHeader.vue_vue_type_style_index_0_lang-DebuWiG6.js} +1 -1
  73. package/dist/{Select-vgwpegBi.js → Select-CfIvGDPS.js} +21 -20
  74. package/dist/{Select-CX4i5KPQ.js → Select-CvP_zGxM.js} +1 -1
  75. package/dist/{Select-BDoCqD3I.js → Select-Cz6MPDCC.js} +11 -10
  76. package/dist/{Single-C3629BdC.js → Single-p-8OfzhQ.js} +101 -100
  77. package/dist/{Statistic-WPezAlUn.js → Statistic-BIKfbZCI.js} +32 -31
  78. package/dist/{Stock-EPM3j2f_.js → Stock-B7RP-SuF.js} +1 -1
  79. package/dist/{Stock-BD5Acf8y.js → Stock-BhOP8J0c.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-D5RR2MRP.js → Stock.vue_vue_type_style_index_0_lang-Dpw8BlLu.js} +20 -19
  81. package/dist/{Switch-B0XN4K-9.js → Switch-BcDhe4_E.js} +1 -1
  82. package/dist/{Table-BklK1hSh.js → Table-Cy7FarYr.js} +71 -70
  83. package/dist/{Table-JFdOXuME.js → Table-DK-TaejU.js} +58 -57
  84. package/dist/Text-B580p9od.js +49 -0
  85. package/dist/Text-D89aQLxL.js +4 -0
  86. package/dist/{Text-DrJkdxZF.js → Text-YNB0It4-.js} +13 -12
  87. package/dist/Text.vue_vue_type_style_index_0_lang-Dokzd_qM.js +59 -0
  88. package/dist/{TextLink-BnijIoEJ.js → TextLink-CI-AIgdm.js} +9 -8
  89. package/dist/{Textarea-3SWLqQvO.js → Textarea-86C9lCtg.js} +1 -1
  90. package/dist/{Time-C3qlNZkJ.js → Time-BgArfSc6.js} +10 -9
  91. package/dist/{Timeline-B6hUIYhL.js → Timeline-O_jWjdxT.js} +19 -13
  92. package/dist/{Tree-JexLPBXX.js → Tree-BfFRW-xZ.js} +41 -35
  93. package/dist/{Tree-DBvFF4Rj.js → Tree-DayADkaC.js} +73 -72
  94. package/dist/{TreeNode-BOWB2WN9.js → TreeNode-BZp8w6M5.js} +10 -9
  95. package/dist/{Update-CDLYYwgj.js → Update-Bcdz87R4.js} +6 -5
  96. package/dist/{UpdateChild-DUG7pAuO.js → UpdateChild-YzPMnj_r.js} +20 -19
  97. package/dist/{Upload-B2hbxDsT.js → Upload-DU5VOqXj.js} +47 -46
  98. package/dist/Upload-Dj5nSsug.js +71 -0
  99. package/dist/{Year-BUF60NmB.js → Year-B3E0kOiA.js} +8 -7
  100. package/dist/{Year-BRsJ7b1J.js → Year-CcbzIuwy.js} +1 -1
  101. package/dist/assets/{clipboard-ClN4QccS.js → clipboard-DjQPoCBJ.js} +3 -1
  102. package/dist/assets/clone-BZn0cTAu.js +134 -0
  103. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  104. package/dist/assets/liquidjs-BfOWWjtJ.js +2907 -0
  105. package/dist/assets/moment-h96o7c8I.js +2578 -0
  106. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  107. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  108. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  109. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  110. package/dist/main-DxH9UW19.js +10723 -0
  111. package/dist/main.js +60 -59
  112. package/dist/style.css +1 -1
  113. package/esm/coms/drivers/@types/CrudProps.d.ts +2 -2
  114. package/package.json +1 -1
  115. package/dist/Autocomplete-BfhYwZ5G.js +0 -49
  116. package/dist/Callback-Ci5KrWOC.js +0 -20
  117. package/dist/Cascader-CnOEgPDf.js +0 -41
  118. package/dist/Code-BEjqqeFZ.js +0 -54
  119. package/dist/Code-BSrEPuXk.js +0 -4
  120. package/dist/Code-Dp1-k8sW.js +0 -36
  121. package/dist/Code.vue_vue_type_style_index_0_lang-CmkomJXY.js +0 -59
  122. package/dist/Column-B0ViSver.js +0 -69
  123. package/dist/Copy-Dm1LH9qB.js +0 -43
  124. package/dist/Custom-CLKAPWEo.js +0 -49
  125. package/dist/Image-BrelhCGo.js +0 -9
  126. package/dist/Index-BeM6hKX9.js +0 -4
  127. package/dist/Index-BkfLyqpm.js +0 -173
  128. package/dist/Index-D8UVsXwf.js +0 -4
  129. package/dist/Index-FL-dxfFB.js +0 -4
  130. package/dist/Index-fWOqfFkG.js +0 -4
  131. package/dist/List-kRCsHp6d.js +0 -71
  132. package/dist/Maintaince-BG8MUi3A.js +0 -14
  133. package/dist/Month-B1icZmL4.js +0 -37
  134. package/dist/RichText-4wrLw9cy.js +0 -41
  135. package/dist/Text-CNtHdodK.js +0 -4
  136. package/dist/Text-KAuEjP7I.js +0 -48
  137. package/dist/Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js +0 -53
  138. package/dist/Upload-mlk6Y4Po.js +0 -65
  139. package/dist/main-DymfKjqO.js +0 -16480
@@ -1,37 +0,0 @@
1
- import { defineComponent as i, toRefs as f, computed as h, resolveComponent as _, openBlock as V, createBlock as b, unref as e, isRef as k } from "vue";
2
- import { T as Y } from "./main-DymfKjqO.js";
3
- const x = /* @__PURE__ */ i({
4
- __name: "Month",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- searchData: {},
10
- modelValue: {}
11
- },
12
- emits: ["submit", "change", "update:modelValue"],
13
- setup(n, { emit: r }) {
14
- let a = r, p = n, { table: u, field: o, searchData: g, modelValue: s } = f(p), l = h({
15
- get() {
16
- return s.value;
17
- },
18
- set(t) {
19
- a("update:modelValue", t), a("change", t);
20
- }
21
- });
22
- return (t, m) => {
23
- const c = _("el-date-picker");
24
- return V(), b(c, {
25
- type: "month",
26
- placeholder: e(Y)(e(u).name, e(o).name),
27
- "value-format": "YYYY-MM",
28
- disabled: e(o).control.readonly,
29
- modelValue: e(l),
30
- "onUpdate:modelValue": m[0] || (m[0] = (d) => k(l) ? l.value = d : l = d)
31
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
32
- };
33
- }
34
- });
35
- export {
36
- x as default
37
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as g, mergeModels as x, toRefs as S, useModel as M, ref as p, onMounted as w, computed as m, watch as v, openBlock as F, createBlock as R, unref as r, normalizeStyle as b, isRef as k } from "vue";
2
- import { F as B } from "./main-DymfKjqO.js";
3
- const O = /* @__PURE__ */ g({
4
- __name: "RichText",
5
- props: /* @__PURE__ */ x({
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {}
11
- }, {
12
- modelValue: {},
13
- modelModifiers: {}
14
- }),
15
- emits: ["update:modelValue"],
16
- setup(n) {
17
- let f = n, { field: e, table: h, set: C, row: s } = S(f), u = M(n, "modelValue"), t = p({ readonly: !1, scrollTop: 0 }), i = p(), y = (l) => {
18
- a.value != null && (s.value[a.value.name] = l.scrollTop);
19
- }, T = () => e.value.control.height ? `height: ${e.value.control.height}px` : "min-height: 300px;", V = () => {
20
- t.value.readonly = e.value.control.readonly, t.value.scrollTop = d.value, i.value = T();
21
- };
22
- w(() => {
23
- V();
24
- });
25
- let d = m(() => a.value ? s.value[a.value.name] : null), a = m(() => e.value.control.scrollTop ? h.value.fields.find((o) => o.name == e.value.control.scrollTop) : null);
26
- return v(() => d.value, (l, o) => {
27
- t.value.scrollTop = l;
28
- }), v(() => e.value.control.readonly, (l, o) => {
29
- t.value.readonly = l;
30
- }), (l, o) => (F(), R(r(B), {
31
- style: b(r(i)),
32
- options: r(t),
33
- onScroll: r(y),
34
- modelValue: r(u),
35
- "onUpdate:modelValue": o[0] || (o[0] = (c) => k(u) ? u.value = c : u = c)
36
- }, null, 8, ["style", "options", "onScroll", "modelValue"]));
37
- }
38
- });
39
- export {
40
- O as default
41
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-BJIbv4kF.js";
2
- export {
3
- f as default
4
- };
@@ -1,48 +0,0 @@
1
- import { defineComponent as x, mergeModels as s, toRefs as g, useModel as C, resolveComponent as V, openBlock as b, createBlock as y, unref as e, withKeys as _, isRef as v, createSlots as k, withCtx as D, createTextVNode as K, toDisplayString as M } from "vue";
2
- import { E as w } from "./main-DymfKjqO.js";
3
- const S = /* @__PURE__ */ x({
4
- __name: "Text",
5
- props: /* @__PURE__ */ s({
6
- schema: {},
7
- table: {},
8
- field: {},
9
- searchData: {}
10
- }, {
11
- modelValue: {},
12
- modelModifiers: {}
13
- }),
14
- emits: /* @__PURE__ */ s(["change", "submit"], ["update:modelValue"]),
15
- setup(a, { emit: u }) {
16
- let o = u, d = a, { table: p, field: l, searchData: B } = g(d), t = C(a, "modelValue"), c = (m) => {
17
- m == "" && (t.value = null), o("change", t.value);
18
- }, n = () => {
19
- o("submit");
20
- }, f = () => {
21
- n();
22
- };
23
- return (m, r) => {
24
- const h = V("el-input");
25
- return b(), y(h, {
26
- type: "text",
27
- placeholder: e(w)(e(p).name, e(l).name),
28
- clearable: "",
29
- onKeyup: _(e(n), ["enter", "native"]),
30
- onChange: e(c),
31
- onClear: e(f),
32
- modelValue: e(t),
33
- "onUpdate:modelValue": r[0] || (r[0] = (i) => v(t) ? t.value = i : t = i)
34
- }, k({ _: 2 }, [
35
- e(l).suffix ? {
36
- name: "append",
37
- fn: D(() => [
38
- K(M(e(l).suffix), 1)
39
- ]),
40
- key: "0"
41
- } : void 0
42
- ]), 1032, ["placeholder", "onKeyup", "onChange", "onClear", "modelValue"]);
43
- };
44
- }
45
- });
46
- export {
47
- S as default
48
- };
@@ -1,53 +0,0 @@
1
- import { defineComponent as v, toRefs as V, ref as d, computed as y, resolveComponent as _, openBlock as u, createElementBlock as s, Fragment as g, unref as l, createBlock as B, isRef as p, createElementVNode as C, createCommentVNode as R, nextTick as T } from "vue";
2
- import { d as H } from "./main-DymfKjqO.js";
3
- const b = ["innerHTML"], F = /* @__PURE__ */ v({
4
- __name: "Text",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- setup(c) {
14
- let k = c, { table: w, field: a, set: E, row: L, modelValue: x } = V(k), t = d(!1), i = d(), m = () => {
15
- t.value = !0, T(() => {
16
- i.value.focus();
17
- });
18
- }, o = y(() => {
19
- var r;
20
- let f = H.html.getHtml((r = x.value) == null ? void 0 : r.toString());
21
- return (a.value.control.prefix || "") + (f || "") + (a.value.control.suffix || "");
22
- });
23
- return (f, e) => {
24
- const r = _("el-input");
25
- return u(), s(g, null, [
26
- l(t) ? (u(), B(r, {
27
- key: 1,
28
- ref_key: "editRef",
29
- ref: i,
30
- type: "text",
31
- onBlur: e[0] || (e[0] = (n) => p(t) ? t.value = !1 : t = !1),
32
- modelValue: l(o),
33
- "onUpdate:modelValue": e[1] || (e[1] = (n) => p(o) ? o.value = n : o = n)
34
- }, null, 8, ["modelValue"])) : (u(), s("span", {
35
- key: 0,
36
- class: "text-text",
37
- innerHTML: l(o)
38
- }, null, 8, b)),
39
- l(t) ? R("", !0) : (u(), s("span", {
40
- key: 2,
41
- class: "edit-inline",
42
- onClick: e[2] || (e[2] = //@ts-ignore
43
- (...n) => l(m) && l(m)(...n))
44
- }, e[3] || (e[3] = [
45
- C("i", { class: "fa fa-edit" }, null, -1)
46
- ])))
47
- ], 64);
48
- };
49
- }
50
- });
51
- export {
52
- F as _
53
- };
@@ -1,65 +0,0 @@
1
- import { defineComponent as b, toRefs as w, ref as r, onMounted as U, computed as x, resolveComponent as C, openBlock as d, createElementBlock as n, Fragment as E, renderList as F, unref as s, createVNode as $, isRef as y, withCtx as B, createElementVNode as I } from "vue";
2
- import { X as c, k as K, d as v, K as N, u as R } from "./main-DymfKjqO.js";
3
- const X = { class: "text-upload" }, j = ["src", "onClick", "alt"], A = ["src"], z = /* @__PURE__ */ b({
4
- __name: "Upload",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- setup(f) {
14
- let g = f, { table: H, field: L, set: M, row: O, modelValue: _ } = w(g), i = r(), t = r(!1), p = r([]), m = r(), h = (e) => {
15
- t.value = !0, m.value = e.url;
16
- }, k = () => {
17
- if (o.value)
18
- if (c.upload.method == "box")
19
- K.getUploadToken().then((e) => {
20
- o.value.split(",").forEach((a) => {
21
- let l = `${c.upload.address}/api/objects/download?slug=${a}&token=${e}`;
22
- p.value.push({ name: a, url: l });
23
- });
24
- });
25
- else {
26
- let e = v.url.httpOrHttps(o.value) ? o.value : N.api.url + o.value;
27
- v.file.isImage(e) ? i.value = e : i.value = R.getFileIcon(e);
28
- }
29
- };
30
- U(() => {
31
- k();
32
- });
33
- let o = x(() => _.value);
34
- return (e, u) => {
35
- const a = C("el-dialog");
36
- return d(), n("div", X, [
37
- (d(!0), n(E, null, F(s(p), (l, V) => (d(), n("img", {
38
- class: "detail-image",
39
- src: l.url,
40
- onClick: (S) => s(h)(l),
41
- alt: l.name,
42
- key: V
43
- }, null, 8, j))), 128)),
44
- $(a, {
45
- draggable: "",
46
- "append-to-body": "",
47
- top: "5vh",
48
- modelValue: s(t),
49
- "onUpdate:modelValue": u[0] || (u[0] = (l) => y(t) ? t.value = l : t = l)
50
- }, {
51
- default: B(() => [
52
- I("img", {
53
- width: "100%",
54
- src: s(m)
55
- }, null, 8, A)
56
- ]),
57
- _: 1
58
- }, 8, ["modelValue"])
59
- ]);
60
- };
61
- }
62
- });
63
- export {
64
- z as default
65
- };