halo-pc 1.0.35 → 1.0.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/{Article-BqULjBoz.js → Article-CSL7LnKj.js} +4 -5
  2. package/dist/{ArticleFooter-CRepUD0G.js → ArticleFooter-_CUySAZu.js} +3 -4
  3. package/dist/{Autocomplete-Dl8yr0gI.js → Autocomplete-BTBqlR6B.js} +5 -6
  4. package/dist/{Autocomplete-DxWoCy2-.js → Autocomplete-Buw1Hs35.js} +7 -8
  5. package/dist/{Autocomplete-DW-EQzP_.js → Autocomplete-CIRk6M3c.js} +1 -1
  6. package/dist/{CSharp-CHmrfPD-.js → CSharp-CMmXPS2i.js} +1 -1
  7. package/dist/{Calender-BX22DnMb.js → Calender-P8tmSbW2.js} +1 -1
  8. package/dist/{Callback-BGchl5Pt.js → Callback-SEWVfpG_.js} +5 -6
  9. package/dist/{Cascader-Wmh_fOfd.js → Cascader-CeQ0jUxU.js} +8 -9
  10. package/dist/Cascader-DWNTommi.js +47 -0
  11. package/dist/{Checkbox-BhDHYVQv.js → Checkbox--pNX7Slb.js} +3 -4
  12. package/dist/{Checkbox-ClYubr5_.js → Checkbox-Fddc4Zgy.js} +1 -1
  13. package/dist/{Code-Dw8__whP.js → Code-C6A3DOQp.js} +1 -1
  14. package/dist/Code-CQSTwwc4.js +4 -0
  15. package/dist/Code-CXMdFELH.js +42 -0
  16. package/dist/Code-THGJ7IzI.js +60 -0
  17. package/dist/Code.vue_vue_type_style_index_0_lang-BXOFkrGK.js +63 -0
  18. package/dist/{Column-CNqrSNAW.js → Column-CucHIBYv.js} +23 -19
  19. package/dist/{Comment-BNLLGPGB.js → Comment-T5XWLthu.js} +15 -11
  20. package/dist/{Compare-C5P2t4Iq.js → Compare-KV2Q7Tb7.js} +8 -9
  21. package/dist/{Compare-BjIr4vt8.js → Compare-jjtb6UdZ.js} +11 -12
  22. package/dist/{Copy-CvBsdMqw.js → Copy-Ck1HeTdy.js} +8 -9
  23. package/dist/Custom-CkyWaXAB.js +61 -0
  24. package/dist/{DataExport-J7a12xRD.js → DataExport-BY1fIwSd.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BQ0WNRqq.js → DataExport.vue_vue_type_script_setup_true_lang-Bv4Pc10r.js} +12 -13
  26. package/dist/{DataImport-BgrxhdBP.js → DataImport--xUxoWAq.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-0AgII-Ro.js → DataImport.vue_vue_type_script_setup_true_lang-BhPGLJCz.js} +3 -4
  28. package/dist/{Date-CqL3Xp1L.js → Date-C3H04U5q.js} +1 -1
  29. package/dist/{Date-iWorFEXN.js → Date-DRk7BsnD.js} +8 -9
  30. package/dist/{DateRange-Cfpeirwq.js → DateRange-CICZ9gVp.js} +3 -4
  31. package/dist/{DateTime-Dv0U5rlW.js → DateTime-CjTCtAm4.js} +5 -6
  32. package/dist/{DateTime-fa-BOHE8.js → DateTime-DXHkaHtE.js} +1 -1
  33. package/dist/{DateTimeRange-B0pw5ZiA.js → DateTimeRange-CuEYJBUE.js} +6 -7
  34. package/dist/{Daterange-DMGOeSyF.js → Daterange-cmpjJVxl.js} +8 -9
  35. package/dist/{Decimal-ynN-XKqW.js → Decimal-BzR8o8bv.js} +1 -1
  36. package/dist/{Delete-DKYI0lCr.js → Delete-B2VzOnk8.js} +15 -16
  37. package/dist/{Detail-Br-ULMjV.js → Detail-ayakHymC.js} +3 -4
  38. package/dist/{Dictionary-C3z2FWDL.js → Dictionary-BiSpx7nU.js} +10 -6
  39. package/dist/{Email-B2DsICjF.js → Email-BbipkOFP.js} +7 -8
  40. package/dist/{File-hdUkjji3.js → File-B131KRit.js} +5 -6
  41. package/dist/{Image-CwVoPF1W.js → Image-Cb1PzLpD.js} +1 -1
  42. package/dist/Index-2vdi0Nq0.js +4 -0
  43. package/dist/{Index-ySmCcOc1.js → Index-B20QLMmF.js} +1 -1
  44. package/dist/Index-BOKSKn0N.js +4 -0
  45. package/dist/{Index-Bnw6u3PZ.js → Index-BnudlpyF.js} +4 -5
  46. package/dist/{Index-BQB6vWfH.js → Index-Bps1k5-m.js} +1 -1
  47. package/dist/{Index-ChcEoqTf.js → Index-CymZGuJo.js} +33 -34
  48. package/dist/Index-Cz0Ti6rP.js +4 -0
  49. package/dist/Index-Dhg6Vts6.js +4 -0
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-GUuR0vzO.js → Index.vue_vue_type_script_setup_true_lang-C-7l_RSt.js} +8 -9
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-CZXsC-E_.js → Index.vue_vue_type_script_setup_true_lang-IX-mfiEH.js} +17 -13
  52. package/dist/{Install-0oA4rPM7.js → Install-BnCA1XK8.js} +3 -4
  53. package/dist/{Int-CYCrDfkF.js → Int-BSA4Srky.js} +6 -7
  54. package/dist/{Int-CNHen_OB.js → Int-BlwraOyw.js} +3 -4
  55. package/dist/{List-Ci3F9DOP.js → List-BnT_8B_q.js} +8 -9
  56. package/dist/Maintaince-CwL7tseR.js +20 -0
  57. package/dist/{Markdown-CcnI9mz9.js → Markdown-Can2d8HC.js} +1 -1
  58. package/dist/{Month-BBF1HARy.js → Month-CRmTCjQr.js} +6 -7
  59. package/dist/{Month-N0iGv8-c.js → Month-ClTpaaAr.js} +6 -7
  60. package/dist/{Month-D_9DFUV2.js → Month-Dyt_wc8r.js} +1 -1
  61. package/dist/{Normal-DwZJydUM.js → Normal-DBRpkCNs.js} +20 -21
  62. package/dist/{Paging-bRw8LIxA.js → Paging-ByJhfHCh.js} +18 -19
  63. package/dist/{PagingHeader-GXUua6cK.js → PagingHeader-BQ-8s0NC.js} +4 -5
  64. package/dist/{PagingRow-DeZCXdLB.js → PagingRow-CqAYVjxH.js} +3 -4
  65. package/dist/{Racebar-BXFHoJrk.js → Racebar-BhRmArVA.js} +24 -20
  66. package/dist/{Radio-nUkqPIGx.js → Radio-DCVAYEgh.js} +1 -1
  67. package/dist/{Register-DNXmULLI.js → Register-Dr5HF0B6.js} +24 -25
  68. package/dist/{RichText-COY92auQ.js → RichText-Dj93TxtW.js} +16 -12
  69. package/dist/{SearchFooter-B-2TAXcZ.js → SearchFooter-D02JAZez.js} +1 -1
  70. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-dBZJFNo0.js +55 -0
  71. package/dist/{SearchForm-B1KLbbyY.js → SearchForm-DhrX5Akr.js} +1 -1
  72. package/dist/SearchForm.vue_vue_type_style_index_0_lang-Dx26ti3G.js +145 -0
  73. package/dist/{Select-CGamhz-L.js → Select-CaGb3SAi.js} +1 -1
  74. package/dist/{Select-Bw_B6ufE.js → Select-ChwyjjbN.js} +11 -12
  75. package/dist/{Select-D8xfJf8j.js → Select-DK5-x-rC.js} +3 -4
  76. package/dist/{Single-DIveQskP.js → Single-DIyLnILS.js} +4 -5
  77. package/dist/{Statistic-D5iiPISQ.js → Statistic-ArzDDFwp.js} +21 -22
  78. package/dist/{Stock-bO6XUouM.js → Stock-CsVIZtQ4.js} +1 -1
  79. package/dist/{Stock-B3zJIs1k.js → Stock-DapT2McI.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-CCOJ4-No.js → Stock.vue_vue_type_style_index_0_lang-JABRw23-.js} +8 -9
  81. package/dist/{Switch-DssI1IBh.js → Switch-B0VJc80B.js} +1 -1
  82. package/dist/{Table-BO316Cbq.js → Table-C5kHBVpV.js} +77 -82
  83. package/dist/{Table-DXcpuTmH.js → Table-Cwe8QuVi.js} +28 -29
  84. package/dist/{Text-Eu5ow8IQ.js → Text-CK1PT6x8.js} +5 -6
  85. package/dist/{Text-BhvhxnY_.js → Text-D2P-_cQT.js} +3 -4
  86. package/dist/Text-oKVRjuSR.js +4 -0
  87. package/dist/Text.vue_vue_type_style_index_0_lang-epPB32IU.js +59 -0
  88. package/dist/{TextLink-jLpxiMgK.js → TextLink-Bn_Z4Ajl.js} +5 -6
  89. package/dist/{Textarea-Bx3eU0TB.js → Textarea-C6Pi4p9b.js} +1 -1
  90. package/dist/{Time-CwdRY8H-.js → Time-DWG3pwjK.js} +9 -10
  91. package/dist/{Timeline-BPtq0iG0.js → Timeline-Bqq3rFbX.js} +14 -10
  92. package/dist/{Tree-DxerBKds.js → Tree-CU2UHknq.js} +3 -4
  93. package/dist/{Tree-IuRYghPt.js → Tree-DRUGEHR3.js} +43 -39
  94. package/dist/{TreeNode-DAY80hF6.js → TreeNode-DD-YfbgL.js} +5 -6
  95. package/dist/{Update-CSuOw8uK.js → Update-BdbT4B2n.js} +3 -4
  96. package/dist/{UpdateChild-d6-0uHpZ.js → UpdateChild-CVgQs6_A.js} +3 -4
  97. package/dist/{Upload-CQoGLh54.js → Upload-BCGGzOTn.js} +13 -9
  98. package/dist/{Upload-Qrc2AkBp.js → Upload-CKHSikDI.js} +3 -4
  99. package/dist/{Year-FnibDcf1.js → Year-CnA4ZUPj.js} +7 -8
  100. package/dist/{Year-DmEcvxnt.js → Year-nGY1S5_T.js} +1 -1
  101. package/dist/assets/{liquidjs-B8dqQyVv.js → liquidjs-C2HVw1Ra.js} +82 -81
  102. package/dist/main-BLb5AIWJ.js +10249 -0
  103. package/dist/main.js +132 -126
  104. package/dist/style.css +1 -1
  105. package/esm/coms/business/@types/DriverProps.d.ts +1 -6
  106. package/esm/coms/business/@types/FormProps.d.ts +0 -12
  107. package/esm/coms/business/@types/index.d.ts +1 -3
  108. package/esm/coms/business/Condition.vue.d.ts +6 -3
  109. package/esm/coms/business/Drawer.vue.d.ts +9 -4
  110. package/esm/coms/business/Driver.vue.d.ts +1 -0
  111. package/esm/coms/business/Form.vue.d.ts +1 -6
  112. package/esm/coms/business/index.d.ts +1 -3
  113. package/esm/coms/commons/index.d.ts +1 -2
  114. package/esm/coms/controls/RichText.vue.d.ts +1 -1
  115. package/esm/coms/drivers/@types/CrudProps.d.ts +22 -0
  116. package/esm/coms/drivers/@types/DriverBaseProps.d.ts +14 -0
  117. package/esm/coms/drivers/@types/DriverFormProps.d.ts +15 -0
  118. package/esm/coms/drivers/@types/DriverProps.d.ts +29 -0
  119. package/esm/coms/drivers/@types/KindFormProps.d.ts +20 -0
  120. package/esm/coms/drivers/@types/KindProps.d.ts +21 -0
  121. package/esm/coms/drivers/@types/index.d.ts +4 -0
  122. package/esm/coms/drivers/Crud.vue.d.ts +27 -0
  123. package/esm/coms/drivers/Index.vue.d.ts +117 -0
  124. package/esm/coms/drivers/Kind.vue.d.ts +33 -0
  125. package/esm/coms/drivers/index.d.ts +5 -0
  126. package/esm/coms/globals/@types/WindowEmit.d.ts +14 -0
  127. package/esm/coms/globals/@types/index.d.ts +2 -1
  128. package/esm/coms/globals/HeaderTabs.vue.d.ts +6 -3
  129. package/esm/coms/globals/Window.vue.d.ts +1 -38
  130. package/esm/coms/index.d.ts +1 -0
  131. package/esm/coms/lists/Tree.vue.d.ts +2 -2
  132. package/esm/coms/pages/Delete.vue.d.ts +2 -2
  133. package/esm/coms/pages/List.vue.d.ts +2 -2
  134. package/esm/coms/pages/Paging.vue.d.ts +2 -2
  135. package/esm/coms/pages/Single.vue.d.ts +4 -4
  136. package/esm/coms/pagings/@types/SearchFooterProps.d.ts +10 -0
  137. package/esm/coms/pagings/@types/SearchFormProps.d.ts +7 -0
  138. package/esm/coms/pagings/@types/index.d.ts +3 -1
  139. package/esm/coms/pagings/Article.vue.d.ts +2 -2
  140. package/esm/coms/pagings/Index.vue.d.ts +2 -2
  141. package/esm/coms/pagings/SearchFooter.vue.d.ts +6 -109
  142. package/esm/coms/pagings/SearchForm.vue.d.ts +6 -65
  143. package/esm/coms/pagings/Table.vue.d.ts +2 -2
  144. package/esm/coms/panels/Operation.vue.d.ts +3 -2
  145. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  146. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  147. package/esm/coms/partials/PagingHeader.vue.d.ts +3 -3
  148. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  149. package/esm/coms/partials/Update.vue.d.ts +1 -1
  150. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  151. package/esm/repos/index.d.ts +1 -2
  152. package/esm/svcs/RouterSvc.d.ts +1 -1
  153. package/esm/svcs/StandardSvc.d.ts +2 -6
  154. package/esm/svcs/WindowSvc.d.ts +2 -2
  155. package/package.json +10 -10
  156. package/dist/Cascader-BpXwryCx.js +0 -43
  157. package/dist/Code-BQxUo4S4.js +0 -38
  158. package/dist/Code-BjpkNJAb.js +0 -4
  159. package/dist/Code-Co49-iRF.js +0 -56
  160. package/dist/Code.vue_vue_type_style_index_0_lang-DNzXcIII.js +0 -60
  161. package/dist/Custom-QVZ_RHXN.js +0 -62
  162. package/dist/Index-BC2FQhAY.js +0 -4
  163. package/dist/Index-CBDxaC44.js +0 -4
  164. package/dist/Index-CT0cKXYs.js +0 -4
  165. package/dist/Index-D1ZbAjix.js +0 -4
  166. package/dist/Maintaince-D7QKNnFc.js +0 -16
  167. package/dist/SearchFooter.vue_vue_type_style_index_0_lang-97vAug1N.js +0 -55
  168. package/dist/SearchForm.vue_vue_type_style_index_0_lang-B3LUX2ZJ.js +0 -146
  169. package/dist/Text-BCIG-FSm.js +0 -4
  170. package/dist/Text.vue_vue_type_style_index_0_lang-C2rphbrS.js +0 -55
  171. package/dist/main-BCxKY4GT.js +0 -9933
@@ -1,146 +0,0 @@
1
- import { defineComponent as I, toRefs as J, ref as p, onMounted as K, nextTick as P, computed as O, watch as Q, resolveComponent as m, openBlock as r, createBlock as i, withCtx as n, unref as a, withModifiers as X, createElementBlock as v, Fragment as g, renderList as x, createVNode as y, createTextVNode as U, toDisplayString as Y, createCommentVNode as Z } from "vue";
2
- import { U as ee, s as B, f as te, C as ae } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const se = /* @__PURE__ */ I({
6
- __name: "SearchForm",
7
- props: {
8
- schema: { type: Array, required: !0 },
9
- table: { type: Object, required: !0 },
10
- layout: { type: Object, required: !0 },
11
- searchData: { type: Object, required: !0 }
12
- },
13
- emits: ["change", "submit", "mounted"],
14
- setup(D, { expose: M, emit: N }) {
15
- let C = N, T = D, { schema: F, table: u, layout: w, searchData: h } = J(T), V = p(), k = p(), W = p(), d = p(), E = (e) => {
16
- C("change", e);
17
- }, S = (e = null) => {
18
- C("submit");
19
- }, L = (e, t) => {
20
- let l = e == "*" ? null : e;
21
- h.value[u.value.name][t.name] = l, S();
22
- }, R = () => {
23
- V.value && (k.value = V.value.$el.clientWidth);
24
- }, $ = (e) => {
25
- R();
26
- }, j = () => {
27
- let e = w.value.tabs;
28
- if (e)
29
- for (let t = 0; t < e.length; t++) {
30
- let l = e[t];
31
- d.value[u.value.name][l] || (d.value[u.value.name][l] = "*");
32
- }
33
- };
34
- d.value = ee.object.clone(h.value), j(), K(() => {
35
- R(), P(() => {
36
- C("mounted");
37
- });
38
- });
39
- let z = O(() => {
40
- if (!k.value)
41
- return [];
42
- let e = Math.ceil(k.value / 200), t = B.expandSearch(F.value), l = w.value.tabs ?? [], c = t.filter((f) => l.indexOf(f.name) == -1);
43
- return B.getLines(c, e, (f) => f, () => 1);
44
- }), q = O(() => {
45
- let e = [], t = w.value.tabs;
46
- return t && t.forEach((l) => {
47
- let c = u.value.fields.find((b) => b.name == l);
48
- e.push(c);
49
- }), e;
50
- });
51
- return Q(() => h.value, (e, t) => {
52
- j();
53
- }), M({ resize: $ }), (e, t) => {
54
- const l = m("el-radio-button"), c = m("el-radio-group"), b = m("el-form-item"), f = m("el-col"), A = m("el-row"), G = m("el-form"), H = m("el-scrollbar");
55
- return r(), i(H, {
56
- "max-height": "200px",
57
- class: "search-form"
58
- }, {
59
- default: n(() => [
60
- a(u).search.length > 0 ? (r(), i(G, {
61
- key: 0,
62
- ref_key: "searchFormRef",
63
- ref: V,
64
- "label-position": "left",
65
- inline: "",
66
- onSubmit: t[0] || (t[0] = X(() => {
67
- }, ["prevent"]))
68
- }, {
69
- default: n(() => [
70
- (r(!0), v(g, null, x(a(q), (s, _) => (r(), i(b, {
71
- class: "search-tab",
72
- label: s.label,
73
- "label-width": 50
74
- }, {
75
- default: n(() => [
76
- y(c, {
77
- ref_for: !0,
78
- ref_key: "tabRefs",
79
- ref: W,
80
- onChange: (o) => a(L)(o, s),
81
- modelValue: a(d)[a(u).name][s.name],
82
- "onUpdate:modelValue": (o) => a(d)[a(u).name][s.name] = o
83
- }, {
84
- default: n(() => [
85
- y(l, { value: "*" }, {
86
- default: n(() => t[1] || (t[1] = [
87
- U("全部")
88
- ])),
89
- _: 1
90
- }),
91
- (r(!0), v(g, null, x(s.control.data.data, (o) => (r(), i(l, {
92
- value: o.value
93
- }, {
94
- default: n(() => [
95
- U(Y(o.text), 1)
96
- ]),
97
- _: 2
98
- }, 1032, ["value"]))), 256))
99
- ]),
100
- _: 2
101
- }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])
102
- ]),
103
- _: 2
104
- }, 1032, ["label"]))), 256)),
105
- (r(!0), v(g, null, x(a(z), (s) => (r(), i(A, {
106
- class: "search-row",
107
- label: a(q).length ? "其它" : "",
108
- "label-width": 50,
109
- gutter: 5
110
- }, {
111
- default: n(() => [
112
- (r(!0), v(g, null, x(s, ({ data: _, span: o }, le) => (r(), i(f, { span: o }, {
113
- default: n(() => [
114
- y(b, {
115
- label: a(te)(_.table.name, _.name)
116
- }, {
117
- default: n(() => [
118
- y(ae, {
119
- schema: a(F),
120
- table: _.table,
121
- field: _,
122
- "search-data": a(h),
123
- onChange: a(E),
124
- onSubmit: a(S)
125
- }, null, 8, ["schema", "table", "field", "search-data", "onChange", "onSubmit"])
126
- ]),
127
- _: 2
128
- }, 1032, ["label"])
129
- ]),
130
- _: 2
131
- }, 1032, ["span"]))), 256))
132
- ]),
133
- _: 2
134
- }, 1032, ["label"]))), 256))
135
- ]),
136
- _: 1
137
- }, 512)) : Z("", !0)
138
- ]),
139
- _: 1
140
- });
141
- };
142
- }
143
- });
144
- export {
145
- se as _
146
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-C2rphbrS.js";
2
- export {
3
- f as default
4
- };
@@ -1,55 +0,0 @@
1
- import { defineComponent as v, toRefs as V, ref as p, computed as y, resolveComponent as _, openBlock as s, createElementBlock as u, Fragment as g, unref as l, createBlock as B, isRef as d, createElementVNode as C, createCommentVNode as R, nextTick as T } from "vue";
2
- import { U as H } from "./main-BCxKY4GT.js";
3
- import "./assets/moment-h96o7c8I.js";
4
- import "./assets/liquidjs-B8dqQyVv.js";
5
- const U = ["innerHTML"], S = /* @__PURE__ */ v({
6
- __name: "Text",
7
- props: {
8
- schema: {},
9
- table: {},
10
- field: {},
11
- set: {},
12
- row: {},
13
- modelValue: {}
14
- },
15
- setup(c) {
16
- let k = c, { table: b, field: i, set: w, row: E, modelValue: x } = V(k), t = p(!1), a = p(), m = () => {
17
- t.value = !0, T(() => {
18
- a.value.focus();
19
- });
20
- }, o = y(() => {
21
- var r;
22
- let f = H.html.getHtml((r = x.value) == null ? void 0 : r.toString());
23
- return (i.value.control.prefix || "") + (f || "") + (i.value.control.suffix || "");
24
- });
25
- return (f, e) => {
26
- const r = _("el-input");
27
- return s(), u(g, null, [
28
- l(t) ? (s(), B(r, {
29
- key: 1,
30
- ref_key: "editRef",
31
- ref: a,
32
- type: "text",
33
- onBlur: e[0] || (e[0] = (n) => d(t) ? t.value = !1 : t = !1),
34
- modelValue: l(o),
35
- "onUpdate:modelValue": e[1] || (e[1] = (n) => d(o) ? o.value = n : o = n)
36
- }, null, 8, ["modelValue"])) : (s(), u("span", {
37
- key: 0,
38
- class: "text-text",
39
- innerHTML: l(o)
40
- }, null, 8, U)),
41
- l(t) ? R("", !0) : (s(), u("span", {
42
- key: 2,
43
- class: "edit-inline",
44
- onClick: e[2] || (e[2] = //@ts-ignore
45
- (...n) => l(m) && l(m)(...n))
46
- }, e[3] || (e[3] = [
47
- C("i", { class: "fa fa-edit" }, null, -1)
48
- ])))
49
- ], 64);
50
- };
51
- }
52
- });
53
- export {
54
- S as _
55
- };