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,201 +0,0 @@
1
- import { defineComponent as oe, toRefs as ae, ref as c, onMounted as re, computed as ne, resolveComponent as k, openBlock as u, createElementBlock as f, unref as e, createBlock as b, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as V, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as D } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import "./assets/underscore.string-DVXD2SZo.js";
4
- import { d as de, G as U, U as pe, t as me, a as ve, h as ge, m as fe, D as E } 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 { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-B-YCROWC.js";
11
- const _e = { class: "article-layout" }, ye = ["href", "onClick"], ke = ["src"], be = { class: "article-title" }, we = {
12
- key: 0,
13
- class: "article-content"
14
- }, Ce = { class: "article-time" }, Re = {
15
- key: 1,
16
- class: "article-view-count"
17
- }, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), He = { class: "el-drawer__title" }, Be = ["href"], Pe = /* @__PURE__ */ oe({
18
- __name: "Article",
19
- props: {
20
- searchData: {},
21
- module: {},
22
- schema: {},
23
- table: {},
24
- layout: {},
25
- next: {},
26
- set: {}
27
- },
28
- emits: ["page-change", "navigate", "search", "succeed", "close"],
29
- setup(M, { expose: N, emit: F }) {
30
- let p = F, K = M, { module: P, schema: j, table: r, layout: n, next: m, set: R, searchData: A } = ae(K), x = c(), y = c(), $ = c(), H = c(), h = c();
31
- c({ layout: "prev, pager, next", count: 5 });
32
- let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), B = (t) => {
33
- g("insert", null, t);
34
- }, G = (t, l) => {
35
- g("detail", t, l);
36
- }, L = (t, l) => {
37
- g("update", t, l);
38
- }, q = (t, l) => {
39
- g("copy", t, l);
40
- }, I = (t, l) => {
41
- g("delete", t, l);
42
- }, J = (t) => {
43
- let l = t.map((s) => s[r.value.key.name]);
44
- ge.post(m.value.delete.route, l).then((s) => {
45
- fe.success(s.message), z();
46
- });
47
- }, g = (t, l, s) => {
48
- let v = S(t, l);
49
- s.ctrlKey ? (o.value.row = null, p("navigate", v)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = v, o.value.row = l, o.value.visible = !0);
50
- }, S = (t, l = null) => {
51
- let s = `${m.value[t].route}`;
52
- if (l != null) {
53
- let v = l[r.value.key.name];
54
- s += `?id=${v}`;
55
- }
56
- return s;
57
- }, O = () => {
58
- o.value.visible = !1, p("close");
59
- }, z = (t = null) => {
60
- o.value.visible = !1, p("succeed", t);
61
- }, Q = (t) => {
62
- p("page-change", t);
63
- }, W = (t) => {
64
- p("navigate", t);
65
- }, X = () => {
66
- p("search");
67
- }, Y = () => {
68
- T();
69
- }, Z = (t, l) => {
70
- if (!h.value || !h.value.keyboard)
71
- return !1;
72
- h.value.keyboard(t, l);
73
- }, ee = (t) => {
74
- T();
75
- }, T = () => {
76
- if (y.value == null)
77
- return;
78
- let t = E.getHeight(x.value), l = E.getHeight([y.value.$el, $.value]);
79
- H.value = t - l;
80
- };
81
- re(() => {
82
- });
83
- let te = ne(() => {
84
- let t = `/${r.value.name}/article-footer`;
85
- return de.getComponent(t, "partial", "article-footer");
86
- });
87
- return N({ keyboard: Z, resize: ee }), (t, l) => {
88
- const s = k("el-scrollbar"), v = k("el-pagination"), le = k("el-drawer");
89
- return u(), f("div", {
90
- ref_key: "pagingRef",
91
- ref: x,
92
- class: "paging-article"
93
- }, [
94
- e(r).search.length > 0 ? (u(), b(he, {
95
- key: 0,
96
- ref_key: "searchRef",
97
- ref: y,
98
- schema: e(j),
99
- table: e(r),
100
- layout: e(n),
101
- "search-data": e(A),
102
- onSubmit: e(X),
103
- onMounted: e(Y)
104
- }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
105
- w(s, {
106
- class: "article-scroller",
107
- style: se({ height: e(H) + "px" })
108
- }, {
109
- default: C(() => [
110
- i("div", _e, [
111
- (u(!0), f(ie, null, ue(e(R)[e(r).name], (a) => (u(), f("a", {
112
- class: "article",
113
- href: `${e(m).detail.route}?id=${a[e(r).key.name]}`,
114
- onClick: V((Se) => e(W)(`${e(m).detail.route}?id=${a[e(r).key.name]}`), ["prevent"]),
115
- key: a[e(r).key.name]
116
- }, [
117
- i("img", {
118
- class: "article-image",
119
- src: a[e(n).image]
120
- }, null, 8, ke),
121
- i("div", be, d(a[e(n).title]), 1),
122
- e(U).getText(a[e(n).content]) ? (u(), f("div", we, d(e(U).getText(a[e(n).content])), 1)) : _("", !0),
123
- i("div", Ce, d(a[e(n).time]), 1),
124
- a[e(n).viewCount] ? (u(), f("div", Re, d(a[e(n).viewCount]), 1)) : _("", !0),
125
- (u(), b(ce(e(te)), {
126
- table: e(r),
127
- next: e(m),
128
- set: e(R),
129
- row: a,
130
- onPreview: e(G),
131
- onEdit: e(L),
132
- onCopy: e(q),
133
- onBeforeRemove: e(I),
134
- onRemove: e(J)
135
- }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
136
- ], 8, ye))), 128)),
137
- i("a", {
138
- href: e(S)("insert"),
139
- class: "article-add",
140
- onClick: l[0] || (l[0] = V(
141
- //@ts-ignore
142
- (...a) => e(B) && e(B)(...a),
143
- ["prevent"]
144
- ))
145
- }, [
146
- $e,
147
- D(" 添加新" + d(e(r).title), 1)
148
- ], 8, xe)
149
- ])
150
- ]),
151
- _: 1
152
- }, 8, ["style"]),
153
- i("div", {
154
- ref_key: "footerRef",
155
- ref: $,
156
- class: "article-bottom"
157
- }, [
158
- w(v, {
159
- background: "",
160
- layout: "total, prev, pager, next, jumper",
161
- "current-page": e(n).page,
162
- "page-size": e(n).pageSize,
163
- total: e(n).count,
164
- onCurrentChange: e(Q)
165
- }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
166
- ], 512),
167
- e(o).page ? (u(), b(le, {
168
- key: 1,
169
- "destroy-on-close": "",
170
- "append-to-body": e(o).appendToBody,
171
- size: `${e(P).width ?? "60%"}`,
172
- modelValue: e(o).visible,
173
- "onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
174
- }, {
175
- header: C(() => [
176
- i("div", He, [
177
- D(d(e(m)[e(o).page].title) + " ", 1),
178
- i("a", {
179
- class: "drawer-copy",
180
- href: e(pe).getToUrl(e(o).url)
181
- }, d(e(me)("common.link")), 9, Be)
182
- ])
183
- ]),
184
- default: C(() => [
185
- w(e(ve), {
186
- ref_key: "pageRef",
187
- ref: h,
188
- url: e(o).url,
189
- onSucceed: e(z),
190
- onClose: e(O)
191
- }, null, 8, ["url", "onSucceed", "onClose"])
192
- ]),
193
- _: 1
194
- }, 8, ["append-to-body", "size", "modelValue"])) : _("", !0)
195
- ], 512);
196
- };
197
- }
198
- });
199
- export {
200
- Pe as default
201
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { g as B, S as R, h as w } from "./main-BS_9gx1M.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 "./assets/liquidjs-C-LVcoaY.js";
9
- const E = /* @__PURE__ */ _({
10
- __name: "Autocomplete",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(s, { emit: i }) {
21
- let m = i, d = s, { table: c, field: p, set: A, modelValue: f } = v(d), a = V([]), g = null, h = (l, e) => {
22
- if (a.value.length) {
23
- let t = a.value.filter((u) => R.containsIgnoreCase(l, u.value));
24
- e(t);
25
- return;
26
- }
27
- let n = { text: g, conditions: [] };
28
- w.post(p.value.control.data.route, n).then(({ data: t }) => {
29
- a.value = t.map((u) => ({ value: u.text })), e(a.value);
30
- }).catch(() => {
31
- e([]);
32
- });
33
- }, r = x({
34
- get() {
35
- return f.value;
36
- },
37
- set(l) {
38
- m("update:modelValue", l), m("change", l);
39
- }
40
- });
41
- return (l, e) => {
42
- const n = C("el-autocomplete");
43
- return S(), b(n, {
44
- clearable: "",
45
- placeholder: o(B)(o(c).name, o(p).name),
46
- "fetch-suggestions": o(h),
47
- modelValue: o(r),
48
- "onUpdate:modelValue": e[0] || (e[0] = (t) => k(r) ? r.value = t : r = t)
49
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
50
- };
51
- }
52
- });
53
- export {
54
- E as default
55
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as S, createBlock as b, unref as o, isRef as k } from "vue";
2
- import "./assets/underscore-B0BCaBxV.js";
3
- import { g as B, S as D, h as R } from "./main-BS_9gx1M.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 "./assets/liquidjs-C-LVcoaY.js";
9
- const E = /* @__PURE__ */ _({
10
- __name: "Autocomplete",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- searchData: {},
16
- modelValue: {}
17
- },
18
- emits: ["submit", "change", "update:modelValue"],
19
- setup(s, { emit: i }) {
20
- let m = i, d = s, { table: c, field: p, searchData: A, modelValue: f } = v(d), a = V([]), h = null, g = (l, e) => {
21
- if (a.value.length) {
22
- let t = a.value.filter((u) => D.containsIgnoreCase(l, u.value));
23
- e(t);
24
- return;
25
- }
26
- let n = { text: h, conditions: [] };
27
- R.post(p.value.control.data.route, n).then(({ data: t }) => {
28
- a.value = t.map((u) => ({ value: u.text })), e(a.value);
29
- }).catch(() => {
30
- e([]);
31
- });
32
- }, r = x({
33
- get() {
34
- return f.value;
35
- },
36
- set(l) {
37
- m("update:modelValue", l), m("change", l);
38
- }
39
- });
40
- return (l, e) => {
41
- const n = C("el-autocomplete");
42
- return S(), b(n, {
43
- clearable: "",
44
- placeholder: o(B)(o(c).name, o(p).name),
45
- "fetch-suggestions": o(g),
46
- modelValue: o(r),
47
- "onUpdate:modelValue": e[0] || (e[0] = (t) => k(r) ? r.value = t : r = t)
48
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
49
- };
50
- }
51
- });
52
- export {
53
- E as default
54
- };
@@ -1,27 +0,0 @@
1
- import { defineComponent as o } from "vue";
2
- import { useRouter as i, useRoute as n } from "vue-router";
3
- import "./assets/underscore-B0BCaBxV.js";
4
- import "./assets/underscore.string-DVXD2SZo.js";
5
- import "./assets/clone-BZn0cTAu.js";
6
- import "./assets/file-saver-CwlpTZSc.js";
7
- import "./assets/@monaco-editor-BCDRi0Ti.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- import { m as p, R as s } from "./main-BS_9gx1M.js";
10
- import "./assets/liquidjs-C-LVcoaY.js";
11
- const q = /* @__PURE__ */ o({
12
- __name: "Callback",
13
- setup(m) {
14
- let e = i(), t = n().query;
15
- return (async () => {
16
- if (!t.type) {
17
- p.error("缺失type参数");
18
- return;
19
- }
20
- let r = await s.sso.create(t.type.toString());
21
- t.identity = JSON.parse(t.identity.toString()), r.login(t), e.push(t.return_url.toString());
22
- })(), (r, u) => " 登录完毕,处理回调中... ";
23
- }
24
- });
25
- export {
26
- q as default
27
- };
@@ -1,88 +0,0 @@
1
- import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as i, createBlock as T, unref as a, isRef as j, withCtx as D, createElementVNode as I, createTextVNode as P, toDisplayString as c, createElementBlock as m, createCommentVNode as h } 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 q, T as f, h as H } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const U = {
11
- key: 0,
12
- class: "cascader-suffix"
13
- }, z = {
14
- key: 0,
15
- class: "cascader-length"
16
- }, Y = /* @__PURE__ */ E({
17
- __name: "Cascader",
18
- props: {
19
- schema: {},
20
- table: {},
21
- field: {},
22
- set: {},
23
- row: {},
24
- modelValue: {}
25
- },
26
- emits: ["submit", "change", "update:modelValue"],
27
- setup(v, { emit: g }) {
28
- let p = g, _ = v, { table: V, field: t, set: A, row: F, modelValue: b } = w(_), s = N(), d = null, x = () => {
29
- s.value || (s.value = t.value.control.data.data);
30
- let e = b.value, l = [];
31
- return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
32
- let o = f.getParentsById(r, "value", s.value, "children", !0);
33
- o.length > 0 && l.push(o.map((B) => B.value));
34
- }) : f.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
35
- l.push(r.value);
36
- }), l;
37
- }, C = (e) => {
38
- let l;
39
- t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], p("update:modelValue", l), p("change", l);
40
- }, y = (e) => {
41
- e && (d = null, k());
42
- }, k = () => {
43
- let e = { text: d, conditions: [] };
44
- t.value.control.data.conditions.forEach((l) => {
45
- e.conditions.push({ name: l.name, value: null });
46
- }), H.post(t.value.control.data.route, e).then(({ data: l }) => {
47
- s.value = l;
48
- });
49
- }, u = R({
50
- get() {
51
- return x();
52
- },
53
- set(e) {
54
- C(e);
55
- }
56
- });
57
- return (e, l) => {
58
- const n = S("el-cascader");
59
- return i(), T(n, {
60
- ref: "cascaderRef",
61
- placeholder: a(q)(a(V).name, a(t).name),
62
- filterable: "",
63
- "collapse-tags": "",
64
- "collapse-tags-tooltip": "",
65
- "max-collapse-tags": 6,
66
- options: a(s),
67
- disabled: a(t).readonly,
68
- props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
69
- clearable: !a(t).control.required,
70
- onVisibleChange: a(y),
71
- modelValue: a(u),
72
- "onUpdate:modelValue": l[0] || (l[0] = (r) => j(u) ? u.value = r : u = r)
73
- }, {
74
- default: D(({ node: r, data: o }) => [
75
- I("span", null, [
76
- P(c(o.text), 1),
77
- o.suffix ? (i(), m("span", U, "(" + c(o.suffix) + ")", 1)) : h("", !0)
78
- ]),
79
- o.children ? (i(), m("span", z, c(o.children.length), 1)) : h("", !0)
80
- ]),
81
- _: 1
82
- }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
83
- };
84
- }
85
- });
86
- export {
87
- Y as default
88
- };
@@ -1,48 +0,0 @@
1
- import { defineComponent as y, toRefs as k, computed as c, openBlock as e, createElementBlock as t, Fragment as m, renderList as d, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } 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 { T as B } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const C = { class: "text-cascader" }, S = {
11
- key: 0,
12
- class: "cascader-seperator"
13
- }, j = /* @__PURE__ */ y({
14
- __name: "Cascader",
15
- props: {
16
- schema: {},
17
- table: {},
18
- field: {},
19
- set: {},
20
- row: {},
21
- modelValue: {}
22
- },
23
- emits: ["submit", "change"],
24
- setup(_, { emit: V }) {
25
- let v = _, { table: w, field: s, set: E, row: T, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
26
- if (u.value.length > 0) {
27
- let p = s.value.control.data.data, a = [];
28
- return u.value.forEach((r) => {
29
- let l = B.getParentsById(r, "value", p, "children", !0);
30
- l.length > 0 && a.push(l);
31
- }), a;
32
- }
33
- return [];
34
- });
35
- return (p, a) => (e(), t("div", C, [
36
- (e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
37
- (e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
38
- style: x({ color: n.color }),
39
- key: n.value
40
- }, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
41
- l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
42
- ]))), 256))
43
- ]));
44
- }
45
- });
46
- export {
47
- j as default
48
- };
@@ -1,77 +0,0 @@
1
- import { defineComponent as N, toRefs as w, ref as h, computed as A, resolveComponent as g, openBlock as m, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as i, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } 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 { t as D } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const F = { class: "control-checkbox" }, L = { class: "check-all" }, P = /* @__PURE__ */ N({
11
- __name: "Checkbox",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["change", "update:modelValue"],
21
- setup(x, { emit: b }) {
22
- let s = b, C = x, { field: d, table: T, set: j, modelValue: p } = w(C), r = h(!1), c = h(!1), y = (n) => {
23
- o.value = n ? d.value.control.data.data.map((e) => e.value) : [], c.value = !1;
24
- }, B = (n) => {
25
- let e = d.value.control.data.data.map((u) => u.value), a = n.filter((u) => e.includes(u));
26
- r.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
27
- }, o = A({
28
- get() {
29
- return p.value ? p.value.split(",") : [];
30
- },
31
- set(n) {
32
- let e = n.toString();
33
- s("update:modelValue", e), s("change", e);
34
- }
35
- });
36
- return (n, e) => {
37
- const a = g("el-checkbox"), u = g("el-checkbox-group");
38
- return m(), f("div", F, [
39
- v(u, {
40
- onChange: t(B),
41
- modelValue: t(o),
42
- "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
43
- }, {
44
- default: i(() => [
45
- (m(!0), f(E, null, R(t(d).control.data.data, (l) => (m(), S(a, {
46
- disabled: t(d).control.readonly,
47
- value: l.value,
48
- key: l.value
49
- }, {
50
- default: i(() => [
51
- V(k(l.text), 1)
52
- ]),
53
- _: 2
54
- }, 1032, ["disabled", "value"]))), 128))
55
- ]),
56
- _: 1
57
- }, 8, ["onChange", "modelValue"]),
58
- U("div", L, [
59
- v(a, {
60
- indeterminate: t(c),
61
- onChange: t(y),
62
- modelValue: t(r),
63
- "onUpdate:modelValue": e[1] || (e[1] = (l) => _(r) ? r.value = l : r = l)
64
- }, {
65
- default: i(() => [
66
- V(k(t(D)("common.select_all")), 1)
67
- ]),
68
- _: 1
69
- }, 8, ["indeterminate", "onChange", "modelValue"])
70
- ])
71
- ]);
72
- };
73
- }
74
- });
75
- export {
76
- P as default
77
- };
@@ -1,43 +0,0 @@
1
- import { defineComponent as v, toRefs as h, ref as i, openBlock as V, createBlock as y, unref as u, normalizeStyle as _, 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 "./assets/@monaco-editor-BCDRi0Ti.js";
7
- import "./assets/moment-h96o7c8I.js";
8
- import { k as F } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const j = /* @__PURE__ */ v({
11
- __name: "Code",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- setup(f) {
21
- let m = f, { table: s, field: t, set: b, row: g, modelValue: o } = h(m), n = i(), a = i({ language: null, readonly: !0, lineNumbers: "off" }), d = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", p = (e) => e ? s.value.fields.find((r) => r.name == e) : null, c = (e) => {
22
- let l = p(e);
23
- return l ? g.value[l.name] : null;
24
- };
25
- return (() => {
26
- if (n.value = d(), t.value.control.languageField == null)
27
- a.value.language = t.value.control.language;
28
- else {
29
- let e = c(t.value.control.languageField);
30
- e && (a.value.language = e);
31
- }
32
- })(), (e, l) => (V(), y(u(F), {
33
- class: "text-code",
34
- config: u(a),
35
- style: _(u(n)),
36
- modelValue: u(o),
37
- "onUpdate:modelValue": l[0] || (l[0] = (r) => x(o) ? o.value = r : o = r)
38
- }, null, 8, ["config", "style", "modelValue"]));
39
- }
40
- });
41
- export {
42
- j as default
43
- };
@@ -1,61 +0,0 @@
1
- import { defineComponent as b, toRefs as h, ref as F, computed as T, watch as _, openBlock as k, createBlock as w, unref as r, isRef as N } 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 x } from "./main-BS_9gx1M.js";
9
- import "./assets/liquidjs-C-LVcoaY.js";
10
- const z = /* @__PURE__ */ b({
11
- __name: "Code",
12
- props: {
13
- schema: {},
14
- table: {},
15
- field: {},
16
- set: {},
17
- row: {},
18
- modelValue: {}
19
- },
20
- emits: ["submit", "change", "update:modelValue"],
21
- setup(d, { emit: g }) {
22
- let i = g, p = d, { table: c, field: o, set: y, row: m, modelValue: f } = h(p), a = F({ language: null, scrollTop: 0, lineNumbers: null, schema: null, category: null }), v = (e) => {
23
- let l = s(o.value.control.scrollTop);
24
- l && (m.value[l.name] = e);
25
- }, V = () => {
26
- let e = n(o.value.control.scrollTop);
27
- if (e && (a.value.scrollTop = parseInt(e)), a.value.lineNumbers = o.value.control.lineNumbers, o.value.control.languageField == null)
28
- a.value.language = o.value.control.language;
29
- else {
30
- let l = n(o.value.control.languageField);
31
- l && (a.value.language = l);
32
- }
33
- o.value.control.schema && (a.value.schema = o.value.control.schema, a.value.category = `${c.value.name}.${o.value.name}`);
34
- }, n = (e) => {
35
- let l = s(e);
36
- return l ? m.value[l.name] : null;
37
- }, s = (e) => e ? c.value.fields.find((t) => t.name == e) : null;
38
- V();
39
- let u = T({
40
- get() {
41
- return f.value ?? "";
42
- },
43
- set(e) {
44
- i("update:modelValue", e), i("change", e);
45
- }
46
- });
47
- return _(() => n(o.value.control.languageField), (e, l) => {
48
- a.value.language = e;
49
- }), (e, l) => (k(), w(r(x), {
50
- class: "control-code",
51
- border: "",
52
- config: r(a),
53
- onScroll: r(v),
54
- modelValue: r(u),
55
- "onUpdate:modelValue": l[0] || (l[0] = (t) => N(u) ? u.value = t : u = t)
56
- }, null, 8, ["config", "onScroll", "modelValue"]));
57
- }
58
- });
59
- export {
60
- z as default
61
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-DlLh3JlB.js";
2
- export {
3
- f as default
4
- };