halo-pc 1.0.15 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/Article-BZph3Slr.js +194 -0
  2. package/dist/{ArticleFooter-BFYDplbW.js → ArticleFooter-BW_G0Irk.js} +17 -24
  3. package/dist/Autocomplete-CuAwiHhE.js +49 -0
  4. package/dist/Autocomplete-Dw1r9LjJ.js +48 -0
  5. package/dist/{Autocomplete-CIXGPZaG.js → Autocomplete-qmcT2ECx.js} +1 -1
  6. package/dist/{CSharp-BGzxI5QJ.js → CSharp-BWYY3ixE.js} +1 -1
  7. package/dist/{Calender-DkBPl9bM.js → Calender-CGxlpOR0.js} +3 -3
  8. package/dist/Callback-phrGGQ_Q.js +20 -0
  9. package/dist/Cascader-CT7ASkSy.js +41 -0
  10. package/dist/Cascader-CsJ1jVBY.js +81 -0
  11. package/dist/{Checkbox-CuRjXSPc.js → Checkbox-BOC7ECAx.js} +1 -1
  12. package/dist/Checkbox-BePH3x-V.js +70 -0
  13. package/dist/Code-CE-Fe7WB.js +36 -0
  14. package/dist/{Code-BlwPnx9J.js → Code-CWxVzJHq.js} +1 -1
  15. package/dist/Code-CqLG9fEE.js +54 -0
  16. package/dist/Code-TBB9w4CV.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-oiyt3bsp.js +59 -0
  18. package/dist/Column-Ctyq9hqP.js +68 -0
  19. package/dist/Comment-RyVJJjTd.js +98 -0
  20. package/dist/Compare-DEccApnU.js +56 -0
  21. package/dist/Compare-ZBeSkf8f.js +26 -0
  22. package/dist/Copy-CNJ1TZJl.js +43 -0
  23. package/dist/Custom-DHvr_EJi.js +51 -0
  24. package/dist/{DataExport-C0jItlVY.js → DataExport-39v2Wzii.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dx7mLyuz.js → DataExport.vue_vue_type_script_setup_true_lang-Bmm7IDoz.js} +34 -40
  26. package/dist/{DataImport-BfBkneEy.js → DataImport-C1O_zTRs.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-C9qjFakZ.js → DataImport.vue_vue_type_script_setup_true_lang-CGKObmMj.js} +54 -59
  28. package/dist/{Date-B8b9JXpP.js → Date-BAk-TE4a.js} +1 -1
  29. package/dist/Date-CsIPLFzI.js +37 -0
  30. package/dist/DateRange-BXSMqDJ0.js +57 -0
  31. package/dist/DateTime-2RoBkqWb.js +38 -0
  32. package/dist/{DateTime-DjhuyxFC.js → DateTime-DSiPx95t.js} +1 -1
  33. package/dist/{DateTimeRange-D01wtitk.js → DateTimeRange-l6kVSbZe.js} +13 -20
  34. package/dist/Daterange-DRq9WIRI.js +57 -0
  35. package/dist/{Decimal-DqMMTfvl.js → Decimal-DGia5Sy8.js} +1 -1
  36. package/dist/Delete-B7X35s7r.js +56 -0
  37. package/dist/{Detail-C-OFWPso.js → Detail-wJXhceca.js} +16 -23
  38. package/dist/Dictionary-CUFHT-1d.js +55 -0
  39. package/dist/Email-BqiiArN8.js +48 -0
  40. package/dist/{File-C2fLmTcj.js → File-DngRHLmK.js} +40 -47
  41. package/dist/Image-D3FNAo-5.js +9 -0
  42. package/dist/Index-B3hh_9-f.js +4 -0
  43. package/dist/{Index-D7DerkIw.js → Index-B4bG41Qh.js} +1 -1
  44. package/dist/Index-BJ4rN3ua.js +4 -0
  45. package/dist/Index-C3EFws1o.js +4 -0
  46. package/dist/Index-ChQl4mWS.js +70 -0
  47. package/dist/{Index-B90giDWQ.js → Index-D6WfgZso.js} +1 -1
  48. package/dist/Index-Dec7ANPo.js +173 -0
  49. package/dist/{Index-CQURvmzd.js → Index-yxohMYWu.js} +1 -1
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-B93cecQQ.js → Index.vue_vue_type_script_setup_true_lang-BzE42p5R.js} +16 -23
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DZdvfweh.js → Index.vue_vue_type_script_setup_true_lang-CCvdKImo.js} +14 -21
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-DYwz3Eu2.js → Index.vue_vue_type_style_index_0_lang-AFTrgrBJ.js} +30 -36
  53. package/dist/{Install-Cqj44p9F.js → Install-DvLkDt-G.js} +20 -27
  54. package/dist/{Int-Bj3Gagp5.js → Int-CTZDyiRf.js} +9 -16
  55. package/dist/Int-DUxDmxeN.js +41 -0
  56. package/dist/List-DhQAnj6h.js +73 -0
  57. package/dist/Maintaince-DlOgC995.js +14 -0
  58. package/dist/{Markdown-COY9enBf.js → Markdown-BBZs8Oeu.js} +1 -1
  59. package/dist/Month-BOpeFNyJ.js +37 -0
  60. package/dist/Month-CGeJVL3p.js +38 -0
  61. package/dist/{Month-B7jIGlKI.js → Month-UvBNgDPi.js} +1 -1
  62. package/dist/{Normal-B8YL2DeI.js → Normal-AYl3k_ON.js} +43 -49
  63. package/dist/Paging-B45u8Pwz.js +94 -0
  64. package/dist/{PagingHeader-c1vaXeWH.js → PagingHeader-BKtQX0FN.js} +37 -44
  65. package/dist/{PagingRow-CHDlm8UI.js → PagingRow-C1sBqbWn.js} +21 -28
  66. package/dist/QueryApi-DwKYCq-u.js +13 -0
  67. package/dist/{Racebar-ClsuYbRj.js → Racebar-DEHtOLFI.js} +43 -49
  68. package/dist/{Radio-C6j5nvI9.js → Radio-i6CjikAh.js} +1 -1
  69. package/dist/{Register-BnwfjjXP.js → Register-SHm6xbyk.js} +74 -80
  70. package/dist/RichText-Bxc-XIY-.js +41 -0
  71. package/dist/{SearchFooter-D10vYX7H.js → SearchFooter-Co8AjPaU.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-B3AD4sx-.js → SearchFooter.vue_vue_type_style_index_0_lang-CL0CnYJg.js} +1 -1
  73. package/dist/{SearchForm-BRKHMJRS.js → SearchForm-CMiBnK26.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js → SearchForm.vue_vue_type_style_index_0_lang-OBkIrjUP.js} +34 -40
  75. package/dist/{Select-BiFIpc5-.js → Select-B-gNnoDq.js} +1 -1
  76. package/dist/Select-DuecGTXX.js +111 -0
  77. package/dist/{Select-Z8b2t5QQ.js → Select-t1xYHXcV.js} +19 -26
  78. package/dist/{Single-DdcVVH9V.js → Single-Da4zGSt4.js} +116 -122
  79. package/dist/{Statistic-B7niMPBf.js → Statistic-MUCQAxl_.js} +25 -31
  80. package/dist/{Stock-CRsu1vcy.js → Stock-C0gpktjX.js} +1 -1
  81. package/dist/{Stock-xm8v4vDf.js → Stock-CFVyfAIN.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-Cb3jPDk8.js → Stock.vue_vue_type_style_index_0_lang-B-uQM5GU.js} +26 -32
  83. package/dist/{Switch-BaER4xWy.js → Switch-CT0S6MHJ.js} +1 -1
  84. package/dist/{Table-C2dYPoGi.js → Table-CU6q8l3a.js} +54 -61
  85. package/dist/{Table-a5uj25Nj.js → Table-NC8CrrxW.js} +63 -68
  86. package/dist/Text-Bx4cfjya.js +52 -0
  87. package/dist/{Text-CMEzogZ8.js → Text-ChJQSLGE.js} +1 -1
  88. package/dist/Text-ChdZDU0g.js +53 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-BZNDg39p.js +53 -0
  90. package/dist/TextLink-DIHx9sjo.js +59 -0
  91. package/dist/{Textarea-DAICkidp.js → Textarea-CRi6hLdT.js} +1 -1
  92. package/dist/Time-Cn6eQVUQ.js +37 -0
  93. package/dist/Timeline-DpEcUmkJ.js +53 -0
  94. package/dist/{Tree-BwQkDP2T.js → Tree-B0Rqvp37.js} +73 -79
  95. package/dist/Tree-nr0ZIvCA.js +117 -0
  96. package/dist/TreeNode-e51TMrSj.js +37 -0
  97. package/dist/{Update-BZe92EwV.js → Update-QF8Zkcdq.js} +13 -20
  98. package/dist/{UpdateChild-DN6pwrUK.js → UpdateChild-DouQaV7E.js} +19 -26
  99. package/dist/Upload-0ba29Dyr.js +67 -0
  100. package/dist/Upload-BXj28BSA.js +146 -0
  101. package/dist/UploadApi-Boq1A5E-.js +13 -0
  102. package/dist/Year-DuBH5ghc.js +41 -0
  103. package/dist/{Year-2tcz8PDF.js → Year-x4NXoaB_.js} +1 -1
  104. package/dist/main-RFuk2-Bk.js +19837 -0
  105. package/dist/main.js +54 -56
  106. package/dist/style.css +1 -1
  107. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  108. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  109. package/esm/vite.config.d.ts +6 -0
  110. package/package.json +1 -1
  111. package/dist/Article-BH4dl6Bf.js +0 -201
  112. package/dist/Autocomplete-DYxWYClO.js +0 -55
  113. package/dist/Autocomplete-SOenNkH4.js +0 -54
  114. package/dist/Callback-B57W83N1.js +0 -27
  115. package/dist/Cascader-BI6T7N-q.js +0 -88
  116. package/dist/Cascader-BoN_F8v4.js +0 -48
  117. package/dist/Checkbox-DdolP6wO.js +0 -77
  118. package/dist/Code--y8oCkjX.js +0 -43
  119. package/dist/Code-C48Gf7gU.js +0 -61
  120. package/dist/Code-DiOQvIZv.js +0 -4
  121. package/dist/Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js +0 -66
  122. package/dist/Column-BNGw36Iq.js +0 -75
  123. package/dist/Comment-D37SdQb6.js +0 -105
  124. package/dist/Compare-C09T8aaU.js +0 -33
  125. package/dist/Compare-CnnCTG12.js +0 -63
  126. package/dist/Copy-DNrXXJRQ.js +0 -50
  127. package/dist/Custom--I04Jyzr.js +0 -58
  128. package/dist/Date-TKW4HbCJ.js +0 -44
  129. package/dist/DateRange-JCP1Eokf.js +0 -64
  130. package/dist/DateTime-DVOVXS_f.js +0 -45
  131. package/dist/Daterange-CqHXC9JN.js +0 -64
  132. package/dist/Delete-PcTE_3Cp.js +0 -63
  133. package/dist/Dictionary-Cfhmc2OQ.js +0 -60
  134. package/dist/Email-Rj-ZvdfJ.js +0 -55
  135. package/dist/Image-zgBgvAup.js +0 -9
  136. package/dist/Index-9fyKz8TT.js +0 -4
  137. package/dist/Index-CAlWNb2l.js +0 -179
  138. package/dist/Index-CjFLlnmH.js +0 -4
  139. package/dist/Index-Cr2WAY6Z.js +0 -76
  140. package/dist/Index-Izl4chSJ.js +0 -4
  141. package/dist/Int-dlbcQ6_t.js +0 -47
  142. package/dist/List-BsAOvgmQ.js +0 -80
  143. package/dist/Maintaince-DjSvIfbu.js +0 -21
  144. package/dist/Month-BhNUuzcc.js +0 -44
  145. package/dist/Month-KDuTRSA0.js +0 -45
  146. package/dist/Paging-BlFnu-w0.js +0 -100
  147. package/dist/QueryApi-Bc_kmvgs.js +0 -21
  148. package/dist/RichText-BImFNkHQ.js +0 -48
  149. package/dist/Select-f15Y0Ko-.js +0 -118
  150. package/dist/Text-CqKE2xDo.js +0 -59
  151. package/dist/Text-DfqLW_KH.js +0 -60
  152. package/dist/Text.vue_vue_type_style_index_0_lang-BNpeGb1c.js +0 -60
  153. package/dist/TextLink-XJurKE8Q.js +0 -66
  154. package/dist/Time-BmdIHgOY.js +0 -44
  155. package/dist/Timeline-BOPAiaK-.js +0 -60
  156. package/dist/Tree-BR8gmBBa.js +0 -123
  157. package/dist/TreeNode-CdBVgaRW.js +0 -43
  158. package/dist/Upload-BtErvzEO.js +0 -151
  159. package/dist/Upload-vPTA8ndw.js +0 -73
  160. package/dist/UploadApi-CpwS4Kf1.js +0 -21
  161. package/dist/Year-CVqwpSLR.js +0 -48
  162. package/dist/assets/@intlify-BISCQg1h.js +0 -2189
  163. package/dist/assets/@monaco-editor-BCDRi0Ti.js +0 -258
  164. package/dist/assets/@vue-aVYGocXp.js +0 -93
  165. package/dist/assets/clone-BZn0cTAu.js +0 -134
  166. package/dist/assets/file-saver-CwlpTZSc.js +0 -74
  167. package/dist/assets/liquidjs-C-LVcoaY.js +0 -2893
  168. package/dist/assets/moment-h96o7c8I.js +0 -2578
  169. package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
  170. package/dist/assets/state-local-CEworIRt.js +0 -131
  171. package/dist/assets/underscore-B0BCaBxV.js +0 -1070
  172. package/dist/assets/underscore.string-DVXD2SZo.js +0 -425
  173. package/dist/assets/util-deprecate-Dzun97re.js +0 -28
  174. package/dist/assets/vue-i18n-CLr3brPz.js +0 -1670
  175. package/dist/main-BS_9gx1M.js +0 -8937
@@ -1,66 +0,0 @@
1
- import { defineComponent as C, toRefs as h, ref as i, onMounted as k, resolveComponent as s, openBlock as n, createElementBlock as m, createVNode as d, unref as e, isRef as b, withCtx as p, Fragment as c, renderList as B, createBlock as E, createTextVNode as _, toDisplayString as f, createCommentVNode as L } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { k as N } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- import { Q } from "./QueryApi-Bc_kmvgs.js";
11
- const R = { class: "ha-code-layout" }, O = /* @__PURE__ */ C({
12
- __name: "Code",
13
- props: {
14
- route: {},
15
- validateErrors: {},
16
- module: {},
17
- schema: {},
18
- table: {},
19
- layout: {},
20
- next: {},
21
- set: {}
22
- },
23
- emits: ["submit", "change"],
24
- setup(g, { emit: U }) {
25
- let V = g, { module: w, schema: A, table: D, layout: a, next: F, set: M } = h(V), l = i({}), t = i(), v = () => {
26
- t.value = a.value.languages[0];
27
- };
28
- return k(() => {
29
- v(), Q.loadCodeLanguage().then((u) => {
30
- u.forEach((r) => {
31
- l.value[r.text] = r.suffix;
32
- });
33
- });
34
- }), (u, r) => {
35
- const x = s("el-radio"), y = s("el-radio-group");
36
- return n(), m("div", R, [
37
- d(y, {
38
- modelValue: e(t),
39
- "onUpdate:modelValue": r[0] || (r[0] = (o) => b(t) ? t.value = o : t = o)
40
- }, {
41
- default: p(() => [
42
- (n(!0), m(c, null, B(e(a).languages, (o) => (n(), E(x, { value: o }, {
43
- default: p(() => [
44
- _(f(o) + " ", 1),
45
- e(l)[o] ? (n(), m(c, { key: 0 }, [
46
- _("(" + f(e(l)[o]) + ")", 1)
47
- ], 64)) : L("", !0)
48
- ]),
49
- _: 2
50
- }, 1032, ["value"]))), 256))
51
- ]),
52
- _: 1
53
- }, 8, ["modelValue"]),
54
- d(e(N), {
55
- border: "",
56
- config: { language: e(l)[e(t)] },
57
- modelValue: e(a).codes[e(t)],
58
- "onUpdate:modelValue": r[1] || (r[1] = (o) => e(a).codes[e(t)] = o)
59
- }, null, 8, ["config", "modelValue"])
60
- ]);
61
- };
62
- }
63
- });
64
- export {
65
- O as _
66
- };
@@ -1,75 +0,0 @@
1
- import { defineComponent as H, toRefs as M, onMounted as S, computed as f, openBlock as l, createBlock as h, unref as e, withCtx as k, createElementBlock as n, Fragment as b, renderList as D, normalizeClass as E, createCommentVNode as i, createElementVNode as a, toDisplayString as u, resolveDynamicComponent as L, createVNode as $, createTextVNode as s } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { u as z, U as C, _ as F, H as P } from "./main-BS_9gx1M.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- import "vue-router";
11
- import "./assets/intro.js-DxWjEdp_.js";
12
- const R = {
13
- key: 0,
14
- class: "menus"
15
- }, T = ["onClick"], j = { class: "title" }, q = {
16
- key: 1,
17
- class: "column-empty"
18
- }, A = /* @__PURE__ */ a("br", null, null, -1), G = /* @__PURE__ */ a("br", null, null, -1), re = /* @__PURE__ */ H({
19
- __name: "Column",
20
- props: {
21
- view: {},
22
- url: {},
23
- win: {}
24
- },
25
- emits: ["loaded", "navigate"],
26
- setup(y, { expose: g, emit: x }) {
27
- let m = x, U = y, { url: c, view: p } = M(U), w = (t) => !0, B = (t) => !0, N = () => {
28
- d();
29
- }, d = () => {
30
- m("loaded", r.value.title);
31
- }, V = (t) => {
32
- let v = C.getUrl(t.url, { m: t.id });
33
- m("navigate", v);
34
- };
35
- S(() => {
36
- d();
37
- });
38
- let r = f(() => z.getMenuByUrl(c.value)), _ = f(() => C.getPath(c.value));
39
- return g({ shouldLoad: w, shouldSpin: B, refresh: N }), (t, v) => (l(), h(e(F), null, {
40
- default: k(() => [
41
- e(r) ? (l(), n("div", R, [
42
- (l(!0), n(b, null, D(e(r).children, (o) => (l(), n("div", {
43
- class: "menu",
44
- key: o.id,
45
- onClick: (I) => e(V)(o)
46
- }, [
47
- o.icon ? (l(), n("i", {
48
- key: 0,
49
- class: E(o.icon)
50
- }, null, 2)) : i("", !0),
51
- a("div", j, u(o.title), 1)
52
- ], 8, T))), 128))
53
- ])) : i("", !0),
54
- (l(), h(L(e(p)))),
55
- (!e(r) || e(r).children == 0) && !e(p) ? (l(), n("div", q, [
56
- $(e(P), null, {
57
- default: k(() => [
58
- s(" 此栏目页不存在子菜单或自定义部分视图,无内容可展示 ")
59
- ]),
60
- _: 1
61
- }),
62
- s(" 可考虑以下任一选项:"),
63
- A,
64
- s(" 1. 在 src/views 中实现自定义页面:" + u(e(_)), 1),
65
- G,
66
- s(" 2. 在 src/components/partials 中实现自定义首页部分视图:" + u(e(_)), 1)
67
- ])) : i("", !0)
68
- ]),
69
- _: 1
70
- }));
71
- }
72
- });
73
- export {
74
- re as default
75
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as E, toRefs as N, ref as S, computed as y, resolveComponent as d, openBlock as u, createElementBlock as _, createElementVNode as t, createVNode as v, createTextVNode as n, toDisplayString as l, unref as e, withCtx as b, Fragment as j, renderList as B, createBlock as U, createCommentVNode as T } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as q } from "./main-BS_9gx1M.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const D = { class: "ha-comment-layout" }, F = { class: "comment-add" }, H = { class: "add-footer" }, L = { class: "footer-title" }, M = /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }, null, -1), R = { class: "comment-user" }, $ = { class: "avatar" }, A = /* @__PURE__ */ t("img", {
11
- src: "https://upload.jianshu.io/users/upload_avatars/2859365/cce8943353eb.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/80/h/80/format/webp",
12
- alt: ""
13
- }, null, -1), G = { class: "comment-body" }, J = { class: "comment-time" }, K = { class: "comment-content" }, O = /* @__PURE__ */ t("div", { class: "content-footer" }, [
14
- /* @__PURE__ */ t("span", null, [
15
- /* @__PURE__ */ t("i", { class: "fa fa-thumbs-up" }),
16
- /* @__PURE__ */ n("20")
17
- ]),
18
- /* @__PURE__ */ t("span", null, [
19
- /* @__PURE__ */ t("i", { class: "el-icon-s-comment" }),
20
- /* @__PURE__ */ n("回复")
21
- ])
22
- ], -1), P = { class: "comment-footer" }, le = /* @__PURE__ */ E({
23
- __name: "Comment",
24
- props: {
25
- route: {},
26
- validateErrors: {},
27
- module: {},
28
- schema: {},
29
- table: {},
30
- layout: {},
31
- next: {},
32
- set: {}
33
- },
34
- setup(C) {
35
- let x = C, { schema: Q, table: r, layout: o, set: p, validateErrors: W } = N(x), i = S(1), k = (a) => {
36
- i.value = a;
37
- }, w = y(() => {
38
- let a = (i.value - 1) * o.value.pageSize, c = i.value * o.value.pageSize - 1;
39
- return p.value[r.value.name].filter((f, m) => m >= a && m <= c);
40
- }), h = y(() => r.value.fields.find((c) => c.name == o.value.userId));
41
- return (a, c) => {
42
- const g = d("el-input"), f = d("el-button"), m = d("router-link"), I = d("el-pagination");
43
- return u(), _("div", D, [
44
- t("div", F, [
45
- v(g, { type: "textarea" }),
46
- t("div", H, [
47
- t("div", L, [
48
- M,
49
- n("全部评论 (" + l(e(p)[e(r).name].length) + ")", 1)
50
- ]),
51
- v(f, {
52
- type: "primary",
53
- class: "btn-comment",
54
- icon: "el-icon-s-promotion"
55
- }, {
56
- default: b(() => [
57
- n("评论")
58
- ]),
59
- _: 1
60
- })
61
- ])
62
- ]),
63
- (u(!0), _(j, null, B(e(w), (s, z) => (u(), _("div", {
64
- class: "comment",
65
- key: z
66
- }, [
67
- t("div", R, [
68
- t("div", $, [
69
- A,
70
- n(" " + l(s[e(o).avatar]), 1)
71
- ])
72
- ]),
73
- t("div", G, [
74
- e(h) ? (u(), U(m, {
75
- key: 0,
76
- class: "comment-name",
77
- to: e(q).getUrl("/sys_user/detail", { id: s[e(o).userId], m: a.$route.query.m })
78
- }, {
79
- default: b(() => [
80
- n(l(e(h).control.data.data.find((V) => V.value == s[e(o).userId]).text), 1)
81
- ]),
82
- _: 2
83
- }, 1032, ["to"])) : T("", !0),
84
- t("div", J, l(s[e(o).commentTime]), 1),
85
- t("div", K, l(s[e(o).content]), 1),
86
- O
87
- ])
88
- ]))), 128)),
89
- t("div", P, [
90
- v(I, {
91
- background: "",
92
- layout: "total, prev, pager, next, jumper",
93
- "current-page": e(i),
94
- "page-size": e(o).pageSize,
95
- total: e(p)[e(r).name].length,
96
- onCurrentChange: e(k)
97
- }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
98
- ])
99
- ]);
100
- };
101
- }
102
- });
103
- export {
104
- le as default
105
- };
@@ -1,33 +0,0 @@
1
- import { defineComponent as c, toRefs as d, computed as o, unref as r, openBlock as f, createElementBlock as v, normalizeClass as _, createCommentVNode as C } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import { l as x } from "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const L = /* @__PURE__ */ c({
11
- __name: "Compare",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- setup(l) {
21
- let a = l, { table: e, field: t, set: m, row: n, modelValue: p } = d(a), i = e.value.name + "-" + t.value.name + "-" + m.value[e.value.name].indexOf(n.value);
22
- x.init().then((u) => {
23
- });
24
- let s = o(() => p || "");
25
- return o(() => t.value.control.type.toLowerCase()), (u, h) => r(s) ? (f(), v("div", {
26
- key: 0,
27
- class: _(`text-compare ${r(i)}`)
28
- }, null, 2)) : C("", !0);
29
- }
30
- });
31
- export {
32
- L as default
33
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as b, toRefs as k, ref as h, computed as S, watch as v, openBlock as w, createElementBlock as B, normalizeStyle as D, unref as R, nextTick as W } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import { l as z } from "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const I = /* @__PURE__ */ b({
11
- __name: "Compare",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(V, { emit: E }) {
22
- let m = E, M = V, { table: y, field: a, set: L, row: n, modelValue: c } = k(M), r = null, f = null, p = null, t = null, l = null, g = h(), s = h(), _ = (e) => {
23
- s.value = C(), W(() => {
24
- let o = n.value[d.value.name], i = a.value.control.language;
25
- f = e.editor.createModel(c.value, i), p = e.editor.createModel(o, i), r = e.editor.createDiffEditor(g.value, {
26
- originalEditable: !0,
27
- automaticLayout: !0,
28
- renderSideBySide: !a.value.control.inline
29
- //是否启用行内模式
30
- }), r.setModel({ original: f, modified: p }), t = r.getOriginalEditor(), t.onDidChangeModelContent((x) => {
31
- let u = t.getValue();
32
- m("update:modelValue", u), m("change", u);
33
- }), l = r.getModifiedEditor(), l.onDidChangeModelContent((x) => {
34
- let u = l.getValue();
35
- n.value[d.value.name] = u;
36
- });
37
- });
38
- }, C = () => a.value.control.height ? `height: ${a.value.control.height}px` : "min-height: 200px;";
39
- z.init().then((e) => {
40
- _(e);
41
- });
42
- let d = S(() => y.value.fields.find((o) => o.name == a.value.control.compareWith));
43
- return v(() => c.value, (e, o) => {
44
- if (!t)
45
- return;
46
- let i = t.getValue();
47
- e != i && t.setValue(e ?? "");
48
- }), v(() => n.value[d.value.name], (e, o) => {
49
- if (!l)
50
- return;
51
- let i = l.getValue();
52
- e != i && l.setValue(e ?? "");
53
- }), (e, o) => (w(), B("div", {
54
- ref_key: "compareRef",
55
- ref: g,
56
- class: "control-compare",
57
- style: D(R(s))
58
- }, null, 4));
59
- }
60
- });
61
- export {
62
- I as default
63
- };
@@ -1,50 +0,0 @@
1
- import { defineComponent as y, toRefs as g, computed as _, unref as r, renderSlot as n, openBlock as v, createElementBlock as b, createElementVNode as i } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { m as p } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- import { C } from "./assets/clipboard-DjQPoCBJ.js";
11
- const k = {
12
- key: 1,
13
- class: "copy-container"
14
- }, J = /* @__PURE__ */ i("img", {
15
- src: "/default/images/clippy.svg",
16
- alt: "复制文本"
17
- }, null, -1), h = [
18
- J
19
- ], z = /* @__PURE__ */ y({
20
- __name: "Copy",
21
- props: {
22
- schema: {},
23
- table: {},
24
- field: {},
25
- set: {},
26
- row: {},
27
- modelValue: {}
28
- },
29
- setup(a) {
30
- let c = a, { table: w, field: l, set: N, row: S, modelValue: m } = g(c), u = (e) => JSON.stringify(JSON.parse(e), null, 2), d = () => o.value && l.value.control.type == "Json" ? u(o.value).replace(/"/g, "'") : o.value, s = () => {
31
- let e = new C(".btn-copy", { text: () => d() });
32
- e.on("success", function(t) {
33
- p.success("复制成功"), e.destroy();
34
- }), e.on("error", function(t) {
35
- p.error("复制失败"), e.destroy();
36
- });
37
- }, o = _(() => m.value);
38
- return (e, t) => r(l).control.copy ? (v(), b("div", k, [
39
- i("i", {
40
- class: "btn-copy",
41
- onClick: t[0] || (t[0] = //@ts-ignore
42
- (...f) => r(s) && r(s)(...f))
43
- }, h),
44
- n(e.$slots, "default")
45
- ])) : n(e.$slots, "default", { key: 0 });
46
- }
47
- });
48
- export {
49
- z as default
50
- };
@@ -1,58 +0,0 @@
1
- import { defineComponent as x, toRefs as U, ref as z, openBlock as n, createBlock as i, KeepAlive as L, resolveDynamicComponent as R, unref as o } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { U as B, m as N, t as A } from "./main-BS_9gx1M.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const F = /* @__PURE__ */ x({
11
- __name: "Custom",
12
- props: {
13
- view: {},
14
- url: {},
15
- win: {}
16
- },
17
- emits: ["loaded", "navigate"],
18
- setup(s, { expose: u, emit: m }) {
19
- let a = m, f = s, { url: p, view: d, win: v } = U(f), r = z(), c = (e, t) => {
20
- if (!r.value || !r.value.keyboard)
21
- return !1;
22
- r.value.keyboard(e, t);
23
- }, h = (e) => !0, g = (e) => !0, w = () => {
24
- var t;
25
- let e = (t = r.value) == null ? void 0 : t.refresh;
26
- if (!e) {
27
- let l = B.getPath(p.value);
28
- N.notify(A("common.tips"), `要实现自定义刷新功能,请在组件 ${l} 内部定义并暴露refresh方法即可`, "warning");
29
- return;
30
- }
31
- e();
32
- }, _ = (e) => {
33
- var l;
34
- let t = (l = r.value) == null ? void 0 : l.beforeClose;
35
- t && t(e);
36
- }, b = (e) => {
37
- r.value && r.value.resize && r.value.resize(e);
38
- }, k = (e) => {
39
- r.value.handler(e);
40
- }, y = (e) => {
41
- a("loaded", e);
42
- }, C = (e) => {
43
- a("navigate", e);
44
- };
45
- return u({ shouldLoad: h, shouldSpin: g, refresh: w, beforeClose: _, keyboard: c, resize: b, handler: k }), (e, t) => (n(), i(L, null, [
46
- (n(), i(R(o(d)), {
47
- ref_key: "customRef",
48
- ref: r,
49
- win: o(v),
50
- onLoaded: o(y),
51
- onNavigate: o(C)
52
- }, null, 40, ["win", "onLoaded", "onNavigate"]))
53
- ], 1024));
54
- }
55
- });
56
- export {
57
- F as default
58
- };
@@ -1,44 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { j as g } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const q = /* @__PURE__ */ c({
11
- __name: "Date",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(p, { emit: d }) {
22
- let l = d, i = p, { table: n, field: a, set: x, modelValue: s } = f(i), t = _({
23
- get() {
24
- return s.value;
25
- },
26
- set(o) {
27
- l("update:modelValue", o), l("change", o);
28
- }
29
- });
30
- return (o, m) => {
31
- const u = V("el-date-picker");
32
- return h(), b(u, {
33
- type: "date",
34
- placeholder: e(g)(e(n).name, e(a).name),
35
- disabled: e(a).control.readonly,
36
- modelValue: e(t),
37
- "onUpdate:modelValue": m[0] || (m[0] = (r) => k(t) ? t.value = r : t = r)
38
- }, null, 8, ["placeholder", "disabled", "modelValue"]);
39
- };
40
- }
41
- });
42
- export {
43
- q as default
44
- };
@@ -1,64 +0,0 @@
1
- import { defineComponent as f, toRefs as h, ref as k, computed as V, resolveComponent as b, openBlock as g, createBlock as v, unref as o, isRef as x } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import { l as e, t as r } from "./main-BS_9gx1M.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const j = /* @__PURE__ */ f({
11
- __name: "DateRange",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(s, { emit: p }) {
22
- let m = p, i = s, { table: M, field: u, set: Y, modelValue: c } = h(i), t = e.formatDate(/* @__PURE__ */ new Date()), D = k({
23
- shortcuts: [{
24
- text: r("common.latest_one_week"),
25
- value() {
26
- return [e.formatDate(e.addDays(t, -7)), t];
27
- }
28
- }, {
29
- text: r("common.latest_one_month"),
30
- value() {
31
- return [e.formatDate(e.addMonths(t, -1)), t];
32
- }
33
- }, {
34
- text: r("common.latest_three_months"),
35
- value() {
36
- return [e.formatDate(e.addMonths(t, -3)), t];
37
- }
38
- }]
39
- }), l = V({
40
- get() {
41
- return c.value;
42
- },
43
- set(a) {
44
- m("update:modelValue", a), m("change", a);
45
- }
46
- });
47
- return (a, n) => {
48
- const _ = b("el-date-picker");
49
- return g(), v(_, {
50
- type: "daterange",
51
- "value-dataat": "YYYY-MM-DD",
52
- "start-placeholder": o(r)("common.start_date"),
53
- "end-placeholder": o(r)("common.end_date"),
54
- "picker-options": o(D),
55
- disabled: o(u).control.readonly,
56
- modelValue: o(l),
57
- "onUpdate:modelValue": n[0] || (n[0] = (d) => x(l) ? l.value = d : l = d)
58
- }, null, 8, ["start-placeholder", "end-placeholder", "picker-options", "disabled", "modelValue"]);
59
- };
60
- }
61
- });
62
- export {
63
- j as default
64
- };
@@ -1,45 +0,0 @@
1
- import { defineComponent as c, toRefs as f, computed as _, resolveComponent as V, openBlock as h, createBlock as b, unref as e, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { j as Y } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const R = /* @__PURE__ */ c({
11
- __name: "DateTime",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(p, { emit: d }) {
22
- let l = d, i = p, { table: n, field: m, set: g, modelValue: s } = f(i), t = _({
23
- get() {
24
- return s.value;
25
- },
26
- set(o) {
27
- l("update:modelValue", o), l("change", o);
28
- }
29
- });
30
- return (o, a) => {
31
- const u = V("el-date-picker");
32
- return h(), b(u, {
33
- type: "datetime",
34
- "value-format": "YYYY-MM-DD HH:mm:ss SSS",
35
- disabled: e(m).control.readonly,
36
- placeholder: e(Y)(e(n).name, e(m).name),
37
- modelValue: e(t),
38
- "onUpdate:modelValue": a[0] || (a[0] = (r) => k(t) ? t.value = r : t = r)
39
- }, null, 8, ["disabled", "placeholder", "modelValue"]);
40
- };
41
- }
42
- });
43
- export {
44
- R as default
45
- };
@@ -1,64 +0,0 @@
1
- import { defineComponent as _, toRefs as g, ref as V, computed as k, resolveComponent as v, openBlock as x, createBlock as b, unref as o, isRef as C } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import "./assets/clone-BZn0cTAu.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import { l as t, t as r } from "./main-BS_9gx1M.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const z = /* @__PURE__ */ _({
11
- __name: "Daterange",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- searchData: {},
17
- modelValue: {}
18
- },
19
- emits: ["change", "update:modelValue"],
20
- setup(s, { emit: p }) {
21
- let n = p, c = s, { table: M, field: u, searchData: Y, modelValue: i } = g(c), a = t.formatDate(/* @__PURE__ */ new Date()), h = V([{
22
- text: r("common.latest_one_week"),
23
- value() {
24
- return [t.formatDate(t.addDays(a, -7)), a];
25
- }
26
- }, {
27
- text: r("common.latest_one_month"),
28
- value() {
29
- return [t.formatDate(t.addMonths(a, -1)), a];
30
- }
31
- }, {
32
- text: r("common.latest_three_months"),
33
- value() {
34
- return [t.formatDate(t.addMonths(a, -3)), a];
35
- }
36
- }]), D = (e) => {
37
- n("change", e);
38
- }, l = k({
39
- get() {
40
- return i.value;
41
- },
42
- set(e) {
43
- n("update:modelValue", e), n("change", e);
44
- }
45
- });
46
- return (e, m) => {
47
- const f = v("el-date-picker");
48
- return x(), b(f, {
49
- type: "daterange",
50
- "value-format": "YYYY-MM-DD",
51
- "start-placeholder": o(r)("common.start_date"),
52
- "end-placeholder": o(r)("common.end_date"),
53
- shortcuts: o(h),
54
- disabled: o(u).control.readonly,
55
- onChange: o(D),
56
- modelValue: o(l),
57
- "onUpdate:modelValue": m[0] || (m[0] = (d) => C(l) ? l.value = d : l = d)
58
- }, null, 8, ["start-placeholder", "end-placeholder", "shortcuts", "disabled", "onChange", "modelValue"]);
59
- };
60
- }
61
- });
62
- export {
63
- z as default
64
- };