halo-pc 1.0.38 → 1.0.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/dist/{Article-H_clf90b.js → Article-DZlstqWL.js} +32 -31
  2. package/dist/{ArticleFooter-BLi4TNA7.js → ArticleFooter-BkduiKh8.js} +4 -3
  3. package/dist/{Autocomplete-CcIzTPSr.js → Autocomplete-0Yf6lJQ7.js} +12 -11
  4. package/dist/{Autocomplete-DMm6oI1g.js → Autocomplete-DMKnFezN.js} +1 -1
  5. package/dist/Autocomplete-bc-9LfGa.js +50 -0
  6. package/dist/{CSharp-CZOchOE-.js → CSharp-q8eOBm4y.js} +1 -1
  7. package/dist/{Calender-BoQV7bhA.js → Calender-CseGNCuW.js} +4 -4
  8. package/dist/Callback-D_dFJlfv.js +21 -0
  9. package/dist/{Cascader-DMhl98vw.js → Cascader-BG5ev35M.js} +28 -27
  10. package/dist/Cascader-Dzeoz7ss.js +47 -0
  11. package/dist/{Checkbox-C6t6S7ii.js → Checkbox-CsCA6iQb.js} +1 -1
  12. package/dist/{Checkbox-DtrXMDBR.js → Checkbox-dw8RNAGt.js} +14 -13
  13. package/dist/{Code-DDacfgvl.js → Code-BE8YLGaE.js} +1 -1
  14. package/dist/Code-BRe68AIa.js +42 -0
  15. package/dist/Code-C5QfTMNw.js +60 -0
  16. package/dist/Code-_XoN6vQE.js +4 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js +63 -0
  18. package/dist/Column-C-NHhT2v.js +75 -0
  19. package/dist/{Comment-Ixu0gPk3.js → Comment-kTmfTlbF.js} +25 -19
  20. package/dist/{Compare-C1uq4lgK.js → Compare-DVWaiCUC.js} +10 -9
  21. package/dist/{Compare-NN40QJWm.js → Compare-DlyQBCat.js} +11 -10
  22. package/dist/{Copy-BcfSvyWG.js → Copy-DQFJy3uX.js} +12 -11
  23. package/dist/{Custom-Dn9_vPuD.js → Custom-D5HoD0nQ.js} +22 -21
  24. package/dist/{DataExport-DNGgWqsx.js → DataExport-Um1wXyRe.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-tTTDFXQV.js → DataExport.vue_vue_type_script_setup_true_lang-2YoqwEmA.js} +25 -24
  26. package/dist/{DataImport-CI9eM5T1.js → DataImport-CPMLup4P.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-BCMd1s45.js → DataImport.vue_vue_type_script_setup_true_lang-DsCp0vWo.js} +40 -39
  28. package/dist/{Date-CZGbZKjB.js → Date-BhZ8ltgp.js} +9 -8
  29. package/dist/{Date-CGyzi8yX.js → Date-Cj9lCW_Y.js} +1 -1
  30. package/dist/{DateRange-MbbkmZ_Y.js → DateRange-Bw_Oyawz.js} +10 -9
  31. package/dist/{DateTime-DqUOXGWH.js → DateTime-BU6JaBPk.js} +9 -8
  32. package/dist/{DateTime-DHrHmRLL.js → DateTime-Cv-SRE88.js} +1 -1
  33. package/dist/{DateTimeRange-DgXQkZLx.js → DateTimeRange-B4Ah6LQY.js} +12 -11
  34. package/dist/{Daterange-DLHJuRur.js → Daterange-CSZe4XGO.js} +9 -8
  35. package/dist/{Decimal-BUJuuvfr.js → Decimal-DSDuwW9Z.js} +1 -1
  36. package/dist/{Delete-BGMk0orl.js → Delete-CjPgg-5G.js} +20 -19
  37. package/dist/{Detail-D4KzWdHQ.js → Detail-gj--ICe8.js} +8 -7
  38. package/dist/{Dictionary-Esd3ERAq.js → Dictionary-Ck_02mWa.js} +15 -9
  39. package/dist/{Email-C9K09hwC.js → Email-BSQbDvh1.js} +12 -11
  40. package/dist/{File-ai1eYO7v.js → File-FW4usX43.js} +44 -43
  41. package/dist/{Image-CfY4G1Yn.js → Image-DiAw_6jM.js} +1 -1
  42. package/dist/Index-B_5hshjJ.js +4 -0
  43. package/dist/{Index-DYHrSEZ5.js → Index-BibWDRoP.js} +1 -1
  44. package/dist/Index-BtlD6ocN.js +4 -0
  45. package/dist/Index-C3f38zw0.js +4 -0
  46. package/dist/Index-CB_TnEaw.js +4 -0
  47. package/dist/{Index-B5o7uf36.js → Index-Dq5Vp-ts.js} +16 -15
  48. package/dist/{Index-S1btGSGD.js → Index-MUgqP8jJ.js} +1 -1
  49. package/dist/Index-hgTZyQps.js +174 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-H8ogKL2I.js → Index.vue_vue_type_script_setup_true_lang-BzPCaYCg.js} +20 -14
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-BjE0VeTO.js → Index.vue_vue_type_script_setup_true_lang-CiBvC9Cu.js} +7 -6
  52. package/dist/{Install-D-MgafyF.js → Install-Cpp3BDCS.js} +14 -13
  53. package/dist/{Int-CnvfCxgn.js → Int-Ck1SvK7R.js} +10 -9
  54. package/dist/{Int-D3RqVcmN.js → Int-DcQsipaO.js} +14 -13
  55. package/dist/{List-DA4SO_le.js → List-hWB41wF_.js} +19 -18
  56. package/dist/Maintaince-l-Tdveur.js +20 -0
  57. package/dist/{Markdown-hax8By5O.js → Markdown-BEUz4VZ7.js} +1 -1
  58. package/dist/{Month-BDkwv-vc.js → Month-DJGGGrZr.js} +12 -11
  59. package/dist/Month-DkafiRHq.js +38 -0
  60. package/dist/{Month-CnVTSnyK.js → Month-DmUiyF1G.js} +1 -1
  61. package/dist/{Normal-DoE9t7d7.js → Normal-ACcTHsXb.js} +53 -52
  62. package/dist/Paging-Vfz2RDBo.js +93 -0
  63. package/dist/{PagingHeader-BFtE6jSy.js → PagingHeader-DDkmqv98.js} +36 -35
  64. package/dist/{PagingRow-CSB-kwMz.js → PagingRow-B4Nfa2Vk.js} +20 -19
  65. package/dist/{Racebar-Bc-dDRss.js → Racebar-LfnPLNOY.js} +31 -25
  66. package/dist/{Radio-CMGOtMnx.js → Radio-DcEZI4m7.js} +1 -1
  67. package/dist/{Register-8wi0uixs.js → Register-B4x_zgyH.js} +61 -60
  68. package/dist/RichText-B1Iogpgr.js +47 -0
  69. package/dist/{SearchFooter-DOC21dmS.js → SearchFooter-CmM8qnxP.js} +1 -1
  70. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-CoJZtP84.js → SearchFooter.vue_vue_type_style_index_0_lang-fRS96yRX.js} +3 -3
  71. package/dist/{SearchForm-BMTSPce_.js → SearchForm-DU5QLTbe.js} +1 -1
  72. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js → SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js} +32 -31
  73. package/dist/{Select-DAxdpZlO.js → Select-C3gUeHmu.js} +16 -15
  74. package/dist/{Select-MBD4Simw.js → Select-CMxubJIV.js} +1 -1
  75. package/dist/{Select-DnFyey0n.js → Select-DrDDVJtz.js} +22 -21
  76. package/dist/{Single-D6x6VV_B.js → Single-De-YyuVk.js} +75 -74
  77. package/dist/{Statistic-BS_DA72m.js → Statistic-SvjQ7uGI.js} +30 -29
  78. package/dist/{Stock-CtmevqBK.js → Stock-C2b9p3-N.js} +1 -1
  79. package/dist/{Stock-CbucObTu.js → Stock-XZkBSQw1.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-LfsWg1Ps.js → Stock.vue_vue_type_style_index_0_lang-DwxyyM7p.js} +18 -17
  81. package/dist/{Switch-BlXAy9qH.js → Switch-PJT-5dDt.js} +1 -1
  82. package/dist/{Table-Da9gan1Y.js → Table-CkoZ8OjZ.js} +62 -61
  83. package/dist/{Table-CqsfAMh7.js → Table-Dy1H2IHN.js} +74 -73
  84. package/dist/Text-Bt5jL_KV.js +49 -0
  85. package/dist/{Text-CbZlEVTJ.js → Text-CytgR_l_.js} +12 -11
  86. package/dist/Text-vHouxGHU.js +4 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-CgxtY5ch.js +59 -0
  88. package/dist/{TextLink-SAnZ7BfX.js → TextLink-DINdFWzs.js} +11 -10
  89. package/dist/{Textarea-DphCUpXp.js → Textarea-DakZXfN6.js} +1 -1
  90. package/dist/{Time-DjE8yYdK.js → Time-Bn1Av2wo.js} +11 -10
  91. package/dist/{Timeline-D11vjkpZ.js → Timeline-B32cUvwI.js} +19 -13
  92. package/dist/{Tree-kich05vY.js → Tree-BGfHm4k_.js} +80 -79
  93. package/dist/{Tree-DK73Ou_F.js → Tree-BItAXuSC.js} +41 -35
  94. package/dist/{TreeNode-Dx6cZ31Z.js → TreeNode-DmiM_a2n.js} +11 -10
  95. package/dist/{Update-D2Plm_AG.js → Update-DSTmaeT8.js} +15 -14
  96. package/dist/{UpdateChild-BXV7QqaP.js → UpdateChild-BgBJJwT3.js} +21 -20
  97. package/dist/{Upload-B87EDynn.js → Upload-DMqlcxCt.js} +47 -46
  98. package/dist/Upload-DpQu3z1T.js +71 -0
  99. package/dist/{Year-C93IJgc8.js → Year-Cv92J5pF.js} +9 -8
  100. package/dist/{Year-BPFmIiPX.js → Year-DckBNPK_.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-C2HVw1Ra.js +2901 -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-KNkwb0pq.js +10515 -0
  111. package/dist/main.js +46 -45
  112. package/dist/style.css +1 -1
  113. package/package.json +2 -2
  114. package/dist/Autocomplete-BF9x0F4f.js +0 -49
  115. package/dist/Callback-79Bw4RwY.js +0 -20
  116. package/dist/Cascader-D1Ou5OSg.js +0 -41
  117. package/dist/Code-B8ISTTYK.js +0 -54
  118. package/dist/Code-BMlBvnqa.js +0 -4
  119. package/dist/Code-DIGn8Raz.js +0 -36
  120. package/dist/Code.vue_vue_type_style_index_0_lang-hHYTH50F.js +0 -57
  121. package/dist/Column-DjA11efs.js +0 -69
  122. package/dist/Index-CH3nwnPZ.js +0 -4
  123. package/dist/Index-CTjDkp7e.js +0 -4
  124. package/dist/Index-DSZ8wa7U.js +0 -4
  125. package/dist/Index-DVdiF3gr.js +0 -4
  126. package/dist/Index-DsZPtDYE.js +0 -173
  127. package/dist/Maintaince-BIgEbjrq.js +0 -14
  128. package/dist/Month-5lTUiWin.js +0 -37
  129. package/dist/Paging-5qsCTRWy.js +0 -92
  130. package/dist/RichText-BR4Kvx0J.js +0 -41
  131. package/dist/Text-C72NLZMt.js +0 -48
  132. package/dist/Text-CHvsKR9H.js +0 -4
  133. package/dist/Text.vue_vue_type_style_index_0_lang-aMaBccpg.js +0 -53
  134. package/dist/Upload-CHPjMGFZ.js +0 -65
  135. package/dist/main-nvsTmKXH.js +0 -16321
@@ -1,13 +1,14 @@
1
- import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as re, withCtx as C, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as D, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as E } from "vue";
2
- import { c as ce, d as h, f as de, a as pe, _ as me, i as ve, A as ge } from "./main-nvsTmKXH.js";
3
- import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-wiTxKu-H.js";
1
+ import { defineComponent as le, toRefs as oe, ref as c, onMounted as ae, computed as ne, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as re, withCtx as C, createElementVNode as i, Fragment as se, renderList as ie, withModifiers as U, toDisplayString as d, resolveDynamicComponent as ue, createTextVNode as D } from "vue";
2
+ import { f as ce, U as h, t as de, b as pe, h as me, m as ge, a as ve } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ import { _ as fe } from "./SearchForm.vue_vue_type_style_index_0_lang-BHZrYG6_.js";
4
5
  const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"], be = { class: "article-title" }, ke = {
5
6
  key: 0,
6
7
  class: "article-content"
7
8
  }, we = { class: "article-time" }, Ce = {
8
9
  key: 1,
9
10
  class: "article-view-count"
10
- }, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"], Te = /* @__PURE__ */ le({
11
+ }, Re = ["href"], xe = { class: "el-drawer__title" }, $e = ["href"], Ve = /* @__PURE__ */ le({
11
12
  __name: "Article",
12
13
  props: {
13
14
  searchData: {},
@@ -19,32 +20,32 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
19
20
  set: {}
20
21
  },
21
22
  emits: ["page-change", "navigate", "search", "succeed", "close"],
22
- setup(M, { expose: N, emit: U }) {
23
- let p = U, A = M, { module: K, schema: F, table: n, layout: r, next: m, set: R, searchData: P } = oe(A), x = c(), y = c(), $ = c(), B = c(), H = c();
23
+ setup(E, { expose: M, emit: N }) {
24
+ let p = N, K = E, { module: F, schema: P, table: n, layout: r, next: m, set: R, searchData: j } = oe(K), x = c(), y = c(), $ = c(), B = c(), H = c();
24
25
  c({ layout: "prev, pager, next", count: 5 });
25
26
  let o = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), z = (t) => {
26
- g("insert", null, t);
27
- }, j = (t, l) => {
28
- g("detail", t, l);
27
+ v("insert", null, t);
28
+ }, A = (t, l) => {
29
+ v("detail", t, l);
29
30
  }, L = (t, l) => {
30
- g("update", t, l);
31
+ v("update", t, l);
31
32
  }, q = (t, l) => {
32
- g("copy", t, l);
33
+ v("copy", t, l);
33
34
  }, G = (t, l) => {
34
- g("delete", t, l);
35
+ v("delete", t, l);
35
36
  }, I = (t) => {
36
37
  let l = t.map((s) => s[n.value.key.name]);
37
38
  me.post(m.value.delete.route, l).then((s) => {
38
- ve.success(s.message), T();
39
+ ge.success(s.message), T();
39
40
  });
40
- }, g = (t, l, s) => {
41
- let v = S(t, l);
42
- 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);
41
+ }, v = (t, l, s) => {
42
+ let g = S(t, l);
43
+ s.ctrlKey ? (o.value.row = null, p("navigate", g)) : (o.value.appendToBody = s.altKey, o.value.page = t, o.value.url = g, o.value.row = l, o.value.visible = !0);
43
44
  }, S = (t, l = null) => {
44
45
  let s = `${m.value[t].route}`;
45
46
  if (l != null) {
46
- let v = l[n.value.key.name];
47
- s += `?id=${v}`;
47
+ let g = l[n.value.key.name];
48
+ s += `?id=${g}`;
48
49
  }
49
50
  return s;
50
51
  }, J = () => {
@@ -60,7 +61,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
60
61
  }, X = () => {
61
62
  V();
62
63
  }, Y = (t, l) => {
63
- ge.triggerKeyboardHandler(H.value, t, l);
64
+ ve.triggerKeyboardHandler(H.value, t, l);
64
65
  }, Z = (t) => {
65
66
  V();
66
67
  }, V = () => {
@@ -75,8 +76,8 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
75
76
  let t = `/${n.value.name}/article-footer`;
76
77
  return ce.getComponent(t, "partial", "article-footer");
77
78
  });
78
- return N({ keyboardHandler: Y, resize: Z }), (t, l) => {
79
- const s = b("el-scrollbar"), v = b("el-pagination"), te = b("el-drawer");
79
+ return M({ keyboardHandler: Y, resize: Z }), (t, l) => {
80
+ const s = b("el-scrollbar"), g = b("el-pagination"), te = b("el-drawer");
80
81
  return u(), f("div", {
81
82
  ref_key: "pagingRef",
82
83
  ref: x,
@@ -86,10 +87,10 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
86
87
  key: 0,
87
88
  ref_key: "searchRef",
88
89
  ref: y,
89
- schema: e(F),
90
+ schema: e(P),
90
91
  table: e(n),
91
92
  layout: e(r),
92
- "search-data": e(P),
93
+ "search-data": e(j),
93
94
  onSubmit: e(W),
94
95
  onMounted: e(X)
95
96
  }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
@@ -102,7 +103,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
102
103
  (u(!0), f(se, null, ie(e(R)[e(n).name], (a) => (u(), f("a", {
103
104
  class: "article",
104
105
  href: `${e(m).detail.route}?id=${a[e(n).key.name]}`,
105
- onClick: D((Be) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
106
+ onClick: U((Be) => e(Q)(`${e(m).detail.route}?id=${a[e(n).key.name]}`), ["prevent"]),
106
107
  key: a[e(n).key.name]
107
108
  }, [
108
109
  i("img", {
@@ -118,7 +119,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
118
119
  next: e(m),
119
120
  set: e(R),
120
121
  row: a,
121
- onPreview: e(j),
122
+ onPreview: e(A),
122
123
  onEdit: e(L),
123
124
  onCopy: e(q),
124
125
  onBeforeRemove: e(G),
@@ -128,14 +129,14 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
128
129
  i("a", {
129
130
  href: e(S)("insert"),
130
131
  class: "article-add",
131
- onClick: l[0] || (l[0] = D(
132
+ onClick: l[0] || (l[0] = U(
132
133
  //@ts-ignore
133
134
  (...a) => e(z) && e(z)(...a),
134
135
  ["prevent"]
135
136
  ))
136
137
  }, [
137
138
  l[2] || (l[2] = i("i", { class: "fa fa-plus" }, null, -1)),
138
- E(" 添加新" + d(e(n).title), 1)
139
+ D(" 添加新" + d(e(n).title), 1)
139
140
  ], 8, Re)
140
141
  ])
141
142
  ]),
@@ -146,7 +147,7 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
146
147
  ref: $,
147
148
  class: "article-bottom"
148
149
  }, [
149
- w(v, {
150
+ w(g, {
150
151
  background: "",
151
152
  layout: "total, prev, pager, next, jumper",
152
153
  "current-page": e(r).page,
@@ -159,13 +160,13 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
159
160
  key: 1,
160
161
  "destroy-on-close": "",
161
162
  "append-to-body": e(o).appendToBody,
162
- size: `${e(K).width ?? "60%"}`,
163
+ size: `${e(F).width ?? "60%"}`,
163
164
  modelValue: e(o).visible,
164
165
  "onUpdate:modelValue": l[1] || (l[1] = (a) => e(o).visible = a)
165
166
  }, {
166
167
  header: C(() => [
167
168
  i("div", xe, [
168
- E(d(e(m)[e(o).page].title) + " ", 1),
169
+ D(d(e(m)[e(o).page].title) + " ", 1),
169
170
  i("a", {
170
171
  class: "drawer-copy",
171
172
  href: e(h).url.getToUrl(e(o).url)
@@ -188,5 +189,5 @@ const he = { class: "article-layout" }, _e = ["href", "onClick"], ye = ["src"],
188
189
  }
189
190
  });
190
191
  export {
191
- Te as default
192
+ Ve as default
192
193
  };
@@ -1,6 +1,7 @@
1
1
  import { defineComponent as w, toRefs as _, resolveComponent as B, openBlock as r, createElementBlock as m, unref as e, withModifiers as p, createCommentVNode as s, createBlock as E, withCtx as N, createElementVNode as R } from "vue";
2
- import { f as a } from "./main-nvsTmKXH.js";
3
- const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
2
+ import { t as a } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const V = { class: "article-footer" }, q = /* @__PURE__ */ w({
4
5
  __name: "ArticleFooter",
5
6
  props: {
6
7
  table: {},
@@ -75,5 +76,5 @@ const V = { class: "article-footer" }, j = /* @__PURE__ */ w({
75
76
  }
76
77
  });
77
78
  export {
78
- j as default
79
+ q as default
79
80
  };
@@ -1,6 +1,7 @@
1
- import { defineComponent as v, toRefs as _, ref as V, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
2
- import { h as D, d as R, _ as A } from "./main-nvsTmKXH.js";
3
- const q = /* @__PURE__ */ v({
1
+ import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as a, isRef as k } from "vue";
2
+ import { l as B, U as D, h as R } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const w = /* @__PURE__ */ _({
4
5
  __name: "Autocomplete",
5
6
  props: {
6
7
  schema: {},
@@ -10,15 +11,15 @@ const q = /* @__PURE__ */ v({
10
11
  modelValue: {}
11
12
  },
12
13
  emits: ["submit", "change", "update:modelValue"],
13
- setup(d, { emit: p }) {
14
- let s = p, c = d, { table: i, field: m, searchData: I, modelValue: f } = _(c), o = V([]), h = null, g = (l, e) => {
14
+ setup(p, { emit: d }) {
15
+ let s = d, c = p, { table: i, field: m, searchData: A, modelValue: f } = v(c), o = V([]), h = null, g = (l, e) => {
15
16
  if (o.value.length) {
16
- let t = o.value.filter((r) => R.string.containsIgnoreCase(l, r.value));
17
+ let t = o.value.filter((r) => D.string.containsIgnoreCase(l, r.value));
17
18
  e(t);
18
19
  return;
19
20
  }
20
21
  let u = { text: h, conditions: [] };
21
- A.post(m.value.control.data.route, u).then(({ data: t }) => {
22
+ R.post(m.value.control.data.route, u).then(({ data: t }) => {
22
23
  o.value = t.map((r) => ({ value: r.text })), e(o.value);
23
24
  }).catch(() => {
24
25
  e([]);
@@ -33,16 +34,16 @@ const q = /* @__PURE__ */ v({
33
34
  });
34
35
  return (l, e) => {
35
36
  const u = C("el-autocomplete");
36
- return b(), k(u, {
37
+ return U(), b(u, {
37
38
  clearable: "",
38
- placeholder: a(D)(a(i).name, a(m).name),
39
+ placeholder: a(B)(a(i).name, a(m).name),
39
40
  "fetch-suggestions": a(g),
40
41
  modelValue: a(n),
41
- "onUpdate:modelValue": e[0] || (e[0] = (t) => B(n) ? n.value = t : n = t)
42
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
42
43
  }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
43
44
  };
44
45
  }
45
46
  });
46
47
  export {
47
- q as default
48
+ w as default
48
49
  };
@@ -10,7 +10,7 @@ const x = /* @__PURE__ */ f({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let m = i(() => import("./Text-CHvsKR9H.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
13
+ let m = i(() => import("./Text-vHouxGHU.js")), s = a, { table: r, field: n, set: d, row: p, modelValue: l } = c(s);
14
14
  return (u, o) => (V(), b(e(m), {
15
15
  schema: u.schema,
16
16
  table: e(r),
@@ -0,0 +1,50 @@
1
+ import { defineComponent as _, toRefs as v, ref as V, computed as x, resolveComponent as C, openBlock as U, createBlock as b, unref as o, isRef as k } from "vue";
2
+ import { l as B, U as R, h as w } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const y = /* @__PURE__ */ _({
5
+ __name: "Autocomplete",
6
+ props: {
7
+ schema: {},
8
+ table: {},
9
+ field: {},
10
+ set: {},
11
+ row: {},
12
+ modelValue: {}
13
+ },
14
+ emits: ["submit", "change", "update:modelValue"],
15
+ setup(p, { emit: d }) {
16
+ let r = d, i = p, { table: c, field: m, set: A, modelValue: f } = v(i), a = V([]), h = null, g = (l, e) => {
17
+ if (a.value.length) {
18
+ let t = a.value.filter((s) => R.string.containsIgnoreCase(l, s.value));
19
+ e(t);
20
+ return;
21
+ }
22
+ let u = { text: h, conditions: [] };
23
+ w.post(m.value.control.data.route, u).then(({ data: t }) => {
24
+ a.value = t.map((s) => ({ value: s.text })), e(a.value);
25
+ }).catch(() => {
26
+ e([]);
27
+ });
28
+ }, n = x({
29
+ get() {
30
+ return f.value;
31
+ },
32
+ set(l) {
33
+ r("update:modelValue", l), r("change", l);
34
+ }
35
+ });
36
+ return (l, e) => {
37
+ const u = C("el-autocomplete");
38
+ return U(), b(u, {
39
+ clearable: "",
40
+ placeholder: o(B)(o(c).name, o(m).name),
41
+ "fetch-suggestions": o(g),
42
+ modelValue: o(n),
43
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => k(n) ? n.value = t : n = t)
44
+ }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
45
+ };
46
+ }
47
+ });
48
+ export {
49
+ y as default
50
+ };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ u({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = i(() => import("./Code-DIGn8Raz.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
13
+ let r = i(() => import("./Code-BRe68AIa.js")), s = a, { schema: m, table: n, field: d, set: p, row: f, modelValue: l } = c(s);
14
14
  return (w, o) => (V(), b(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -1,10 +1,10 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { l as c } from "./main-nvsTmKXH.js";
2
+ import { q as c } from "./main-KNkwb0pq.js";
3
3
  const n = {};
4
- function o(t, l) {
4
+ function o(t, _) {
5
5
  return e(), r("div", null, "日历");
6
6
  }
7
- const f = /* @__PURE__ */ c(n, [["render", o]]);
7
+ const l = /* @__PURE__ */ c(n, [["render", o]]);
8
8
  export {
9
- f as default
9
+ l as default
10
10
  };
@@ -0,0 +1,21 @@
1
+ import { defineComponent as o } from "vue";
2
+ import { useRouter as i, useRoute as n } from "vue-router";
3
+ import { m as s, N as a } from "./main-KNkwb0pq.js";
4
+ import "./assets/moment-h96o7c8I.js";
5
+ const f = /* @__PURE__ */ o({
6
+ __name: "Callback",
7
+ setup(u) {
8
+ let r = i(), t = n().query;
9
+ return (async () => {
10
+ if (!t.type) {
11
+ s.error("缺失type参数");
12
+ return;
13
+ }
14
+ let e = await a.sso.createAsync(t.type.toString());
15
+ t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
16
+ })(), (e, m) => " 登录完毕,处理回调中... ";
17
+ }
18
+ });
19
+ export {
20
+ f as default
21
+ };
@@ -1,12 +1,13 @@
1
- import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as D, unref as a, isRef as I, withCtx as P, createElementVNode as j, createTextVNode as q, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
2
- import { k as T, d as h, _ as U } from "./main-nvsTmKXH.js";
1
+ import { defineComponent as E, toRefs as w, ref as N, computed as R, resolveComponent as S, openBlock as c, createBlock as U, unref as a, isRef as D, withCtx as I, createElementVNode as P, createTextVNode as j, toDisplayString as i, createElementBlock as m, createCommentVNode as h } from "vue";
2
+ import { n as q, U as f, h as T } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
3
4
  const z = {
4
5
  key: 0,
5
6
  class: "cascader-suffix"
6
7
  }, A = {
7
8
  key: 0,
8
9
  class: "cascader-length"
9
- }, K = /* @__PURE__ */ E({
10
+ }, L = /* @__PURE__ */ E({
10
11
  __name: "Cascader",
11
12
  props: {
12
13
  schema: {},
@@ -18,58 +19,58 @@ const z = {
18
19
  },
19
20
  emits: ["submit", "change", "update:modelValue"],
20
21
  setup(v, { emit: g }) {
21
- let d = g, V = v, { table: _, field: t, set: F, row: G, modelValue: b } = w(V), n = N(), p = null, x = () => {
22
- n.value || (n.value = t.value.control.data.data);
22
+ let d = g, _ = v, { table: V, field: t, set: F, row: G, modelValue: b } = w(_), s = N(), p = null, x = () => {
23
+ s.value || (s.value = t.value.control.data.data);
23
24
  let e = b.value, l = [];
24
25
  return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((r) => {
25
- let o = h.tree.getParentsById(r, "value", n.value, "children", !0);
26
+ let o = f.tree.getParentsById(r, "value", s.value, "children", !0);
26
27
  o.length > 0 && l.push(o.map((B) => B.value));
27
- }) : h.tree.getParentsById(e, "value", n.value, "children", !0).forEach((r) => {
28
+ }) : f.tree.getParentsById(e, "value", s.value, "children", !0).forEach((r) => {
28
29
  l.push(r.value);
29
30
  }), l;
30
- }, k = (e) => {
31
- let l;
32
- t.value.control.multiple ? l = e.map((s) => s[s.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
33
31
  }, C = (e) => {
34
- e && (p = null, y());
35
- }, y = () => {
32
+ let l;
33
+ t.value.control.multiple ? l = e.map((n) => n[n.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
34
+ }, y = (e) => {
35
+ e && (p = null, k());
36
+ }, k = () => {
36
37
  let e = { text: p, conditions: [] };
37
38
  t.value.control.data.conditions.forEach((l) => {
38
39
  e.conditions.push({ name: l.name, value: null });
39
- }), U.post(t.value.control.data.route, e).then(({ data: l }) => {
40
- n.value = l;
40
+ }), T.post(t.value.control.data.route, e).then(({ data: l }) => {
41
+ s.value = l;
41
42
  });
42
43
  }, u = R({
43
44
  get() {
44
45
  return x();
45
46
  },
46
47
  set(e) {
47
- k(e);
48
+ C(e);
48
49
  }
49
50
  });
50
51
  return (e, l) => {
51
- const s = S("el-cascader");
52
- return c(), D(s, {
52
+ const n = S("el-cascader");
53
+ return c(), U(n, {
53
54
  ref: "cascaderRef",
54
- placeholder: a(T)(a(_).name, a(t).name),
55
+ placeholder: a(q)(a(V).name, a(t).name),
55
56
  filterable: "",
56
57
  "collapse-tags": "",
57
58
  "collapse-tags-tooltip": "",
58
59
  "max-collapse-tags": 6,
59
- options: a(n),
60
+ options: a(s),
60
61
  disabled: a(t).readonly,
61
62
  props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
62
63
  clearable: !a(t).control.required,
63
- onVisibleChange: a(C),
64
+ onVisibleChange: a(y),
64
65
  modelValue: a(u),
65
- "onUpdate:modelValue": l[0] || (l[0] = (r) => I(u) ? u.value = r : u = r)
66
+ "onUpdate:modelValue": l[0] || (l[0] = (r) => D(u) ? u.value = r : u = r)
66
67
  }, {
67
- default: P(({ node: r, data: o }) => [
68
- j("span", null, [
69
- q(i(o.text), 1),
70
- o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) : f("", !0)
68
+ default: I(({ node: r, data: o }) => [
69
+ P("span", null, [
70
+ j(i(o.text), 1),
71
+ o.suffix ? (c(), m("span", z, "(" + i(o.suffix) + ")", 1)) : h("", !0)
71
72
  ]),
72
- o.children ? (c(), m("span", A, i(o.children.length), 1)) : f("", !0)
73
+ o.children ? (c(), m("span", A, i(o.children.length), 1)) : h("", !0)
73
74
  ]),
74
75
  _: 1
75
76
  }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
@@ -77,5 +78,5 @@ const z = {
77
78
  }
78
79
  });
79
80
  export {
80
- K as default
81
+ L as default
81
82
  };
@@ -0,0 +1,47 @@
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 { U as B } from "./main-KNkwb0pq.js";
3
+ import "./assets/liquidjs-C2HVw1Ra.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ const C = { class: "text-cascader" }, S = {
10
+ key: 0,
11
+ class: "cascader-seperator"
12
+ }, j = /* @__PURE__ */ y({
13
+ __name: "Cascader",
14
+ props: {
15
+ schema: {},
16
+ table: {},
17
+ field: {},
18
+ set: {},
19
+ row: {},
20
+ modelValue: {}
21
+ },
22
+ emits: ["submit", "change"],
23
+ setup(_, { emit: V }) {
24
+ let v = _, { table: w, field: s, set: E, row: U, modelValue: o } = k(v), u = c(() => s.value.control.multiple ? o.value ? o.value.toString().split(",") : [] : o.value), i = c(() => {
25
+ if (u.value.length > 0) {
26
+ let p = s.value.control.data.data, a = [];
27
+ return u.value.forEach((r) => {
28
+ let l = B.tree.getParentsById(r, "value", p, "children", !0);
29
+ l.length > 0 && a.push(l);
30
+ }), a;
31
+ }
32
+ return [];
33
+ });
34
+ return (p, a) => (e(), t("div", C, [
35
+ (e(!0), t(m, null, d(f(i), (r, l) => (e(), t("span", null, [
36
+ (e(!0), t(m, null, d(r, (n, g) => (e(), t("span", {
37
+ style: x({ color: n.color }),
38
+ key: n.value
39
+ }, h(n.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
40
+ l != f(i).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
41
+ ]))), 256))
42
+ ]));
43
+ }
44
+ });
45
+ export {
46
+ j as default
47
+ };
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ p({
10
10
  modelValue: {}
11
11
  },
12
12
  setup(a) {
13
- let r = u(() => import("./Dictionary-Esd3ERAq.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
13
+ let r = u(() => import("./Dictionary-Ck_02mWa.js")), s = a, { schema: m, table: n, field: d, set: f, row: i, modelValue: l } = c(s);
14
14
  return (w, o) => (b(), V(e(r), {
15
15
  schema: e(m),
16
16
  table: e(n),
@@ -1,6 +1,7 @@
1
- import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as f, openBlock as s, createElementBlock as g, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as R, createBlock as S, createTextVNode as V, toDisplayString as k, createElementVNode as U } from "vue";
2
- import { f as D } from "./main-nvsTmKXH.js";
3
- const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__PURE__ */ N({
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 { t as D } from "./main-KNkwb0pq.js";
3
+ import "./assets/moment-h96o7c8I.js";
4
+ const F = { class: "control-checkbox" }, L = { class: "check-all" }, H = /* @__PURE__ */ N({
4
5
  __name: "Checkbox",
5
6
  props: {
6
7
  schema: {},
@@ -12,35 +13,35 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
12
13
  },
13
14
  emits: ["change", "update:modelValue"],
14
15
  setup(x, { emit: b }) {
15
- let i = b, C = x, { field: r, table: T, set: j, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
16
+ let s = b, C = x, { field: r, table: T, set: j, modelValue: p } = w(C), u = h(!1), c = h(!1), y = (n) => {
16
17
  o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
17
18
  }, B = (n) => {
18
19
  let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
19
20
  u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
20
21
  }, o = A({
21
22
  get() {
22
- return h.value ? h.value.split(",") : [];
23
+ return p.value ? p.value.split(",") : [];
23
24
  },
24
25
  set(n) {
25
26
  let e = n.toString();
26
- i("update:modelValue", e), i("change", e);
27
+ s("update:modelValue", e), s("change", e);
27
28
  }
28
29
  });
29
30
  return (n, e) => {
30
- const a = f("el-checkbox"), d = f("el-checkbox-group");
31
- return s(), g("div", F, [
31
+ const a = g("el-checkbox"), d = g("el-checkbox-group");
32
+ return m(), f("div", F, [
32
33
  v(d, {
33
34
  onChange: t(B),
34
35
  modelValue: t(o),
35
36
  "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
36
37
  }, {
37
- default: m(() => [
38
- (s(!0), g(E, null, R(t(r).control.data.data, (l) => (s(), S(a, {
38
+ default: i(() => [
39
+ (m(!0), f(E, null, R(t(r).control.data.data, (l) => (m(), S(a, {
39
40
  disabled: t(r).control.readonly,
40
41
  value: l.value,
41
42
  key: l.value
42
43
  }, {
43
- default: m(() => [
44
+ default: i(() => [
44
45
  V(k(l.text), 1)
45
46
  ]),
46
47
  _: 2
@@ -55,7 +56,7 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
55
56
  modelValue: t(u),
56
57
  "onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
57
58
  }, {
58
- default: m(() => [
59
+ default: i(() => [
59
60
  V(k(t(D)("common.select_all")), 1)
60
61
  ]),
61
62
  _: 1
@@ -66,5 +67,5 @@ const F = { class: "control-checkbox" }, L = { class: "check-all" }, G = /* @__P
66
67
  }
67
68
  });
68
69
  export {
69
- G as default
70
+ H as default
70
71
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, toRefs as u, openBlock as p, createBlock as _, unref as e } from "vue";
2
- import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-hHYTH50F.js";
2
+ import { _ as f } from "./Code.vue_vue_type_style_index_0_lang-D2hJ7lYF.js";
3
3
  const b = /* @__PURE__ */ r({
4
4
  __name: "Code",
5
5
  props: {
@@ -0,0 +1,42 @@
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 { o as F } from "./main-KNkwb0pq.js";
3
+ import "./assets/liquidjs-C2HVw1Ra.js";
4
+ import "./assets/underscore-B0BCaBxV.js";
5
+ import "./assets/file-saver-CwlpTZSc.js";
6
+ import "./assets/clone-BZn0cTAu.js";
7
+ import "./assets/underscore.string-DVXD2SZo.js";
8
+ import "./assets/moment-h96o7c8I.js";
9
+ const $ = /* @__PURE__ */ v({
10
+ __name: "Code",
11
+ props: {
12
+ schema: {},
13
+ table: {},
14
+ field: {},
15
+ set: {},
16
+ row: {},
17
+ modelValue: {}
18
+ },
19
+ setup(s) {
20
+ let m = s, { table: f, field: t, set: b, row: g, modelValue: r } = h(m), n = i(), a = i({ language: null, readonly: !0, lineNumbers: "off" }), p = () => t.value.control.height ? `height: ${t.value.control.height}px` : "min-height: 200px;", d = (e) => e ? f.value.fields.find((o) => o.name == e) : null, c = (e) => {
21
+ let l = d(e);
22
+ return l ? g.value[l.name] : null;
23
+ };
24
+ return (() => {
25
+ if (n.value = p(), t.value.control.languageField == null)
26
+ a.value.language = t.value.control.language;
27
+ else {
28
+ let e = c(t.value.control.languageField);
29
+ e && (a.value.language = e);
30
+ }
31
+ })(), (e, l) => (V(), y(u(F), {
32
+ class: "text-code",
33
+ options: u(a),
34
+ style: _(u(n)),
35
+ modelValue: u(r),
36
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => x(r) ? r.value = o : r = o)
37
+ }, null, 8, ["options", "style", "modelValue"]));
38
+ }
39
+ });
40
+ export {
41
+ $ as default
42
+ };