hldesigner 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/FileSaver.min-b57403e6.js +103 -0
  2. package/_commonjsHelpers-e7ea1525.js +36 -0
  3. package/_plugin-vue_export-helper-dad06003.js +9 -0
  4. package/affix-widget-94198099.js +38 -0
  5. package/anchor-link-widget-919ac0ee.js +5 -0
  6. package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +35 -0
  7. package/anchor-widget-77003871.js +57 -0
  8. package/auto-complete-widget-8d76ea70.js +74 -0
  9. package/avatar-widget-3cd63f01.js +38 -0
  10. package/backtop-widget-6fc3db98.js +38 -0
  11. package/badge-widget-f36a769c.js +44 -0
  12. package/baseImp-8c4be88e.js +11050 -0
  13. package/breadcrumb-widget-422a9d28.js +79 -0
  14. package/button-widget-918dde3f.js +48 -0
  15. package/cache-widget-a1637f5f.js +53 -0
  16. package/card-widget-2db8e9d4.js +112 -0
  17. package/carousel-widget-838cc8c9.js +75 -0
  18. package/cascader-widget-42482528.js +97 -0
  19. package/chart-widget-ac07a466.js +44285 -0
  20. package/checkbox-widget-ee1fcb0c.js +79 -0
  21. package/clipboard-fc4d858d.js +497 -0
  22. package/code-cf4fbc89.js +82 -0
  23. package/collapse-widget-1a93bdb5.js +89 -0
  24. package/color-picker-widget-e893711a.js +56 -0
  25. package/common-editor-76ac2e32.js +24 -0
  26. package/common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-634a504e.js +25 -0
  27. package/configItem-6bfa74e0.js +113 -0
  28. package/cont-cell-widget-42f96421.js +8 -0
  29. package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d3be593a.js +59 -0
  30. package/cont-widget-9dda9135.js +42 -0
  31. package/content-wrapper-20c559ac.js +14 -0
  32. package/content-wrapper.vue_vue_type_script_setup_true_lang-4a97c453.js +37 -0
  33. package/customClass-editor-9088a8cf.js +43 -0
  34. package/date-picker-range-widget-b9287f93.js +72 -0
  35. package/date-picker-widget-21595fd5.js +78 -0
  36. package/default-slot-widget-fc87ed0a.js +24 -0
  37. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fb8e1cc.js +59 -0
  38. package/descriptions-widget-33a02f1a.js +83 -0
  39. package/designer.es.js +42 -0
  40. package/designer.style.css +11 -0
  41. package/designer.umd.js +161882 -0
  42. package/dialog-5e196819.js +124 -0
  43. package/dialog-widget-22714c34.js +33 -0
  44. package/divider-widget-adf656f2.js +38 -0
  45. package/drag-wrapper-f9fb1533.js +259 -0
  46. package/drawer-widget-404cb6db.js +33 -0
  47. package/dropdown-widget-a4a1e2f7.js +92 -0
  48. package/editor-wrapper-e6b30023.js +779 -0
  49. package/emitter-2b9b9409.js +53 -0
  50. package/empty-widget-c53b07dd.js +64 -0
  51. package/enum-type-255ade69.js +543 -0
  52. package/enum-type-287a50b6.js +2054 -0
  53. package/expression-ea95606e.js +2181 -0
  54. package/feedback-widget-c041b474.js +26 -0
  55. package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-efe168a5.js +82 -0
  56. package/field-base-5547436d.js +7 -0
  57. package/field-editor-3e1ce4f3.js +69 -0
  58. package/file-upload-widget-941b9493.js +98 -0
  59. package/form-item-wrapper-8039c512.js +113 -0
  60. package/form-widget-98a02c28.js +184 -0
  61. package/grid-col-widget-3ea371ea.js +8 -0
  62. package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f40c8e16.js +41 -0
  63. package/grid-widget-f0635d43.js +43 -0
  64. package/html-text-widget-c440e86d.js +50 -0
  65. package/icon-2bb9fa65.js +129 -0
  66. package/iframe-widget-37ef665f.js +77 -0
  67. package/image-widget-871d5987.js +64 -0
  68. package/import-config-1eb9a66b.js +13156 -0
  69. package/index-0a2f2997.js +225 -0
  70. package/index-12505eec.js +42 -0
  71. package/index-18720c06.js +138 -0
  72. package/index-188b745d.js +132 -0
  73. package/index-28f32a55.js +216 -0
  74. package/index-2936e7cf.js +3265 -0
  75. package/index-2d29f8d3.js +7233 -0
  76. package/index-3d5d5fac.js +23 -0
  77. package/index-50c3e002.js +227 -0
  78. package/index-6a276ef7.js +131 -0
  79. package/index-6d56f058.js +45 -0
  80. package/index-7b38fd82.js +330 -0
  81. package/index-7c2a8e33.js +17993 -0
  82. package/index-7fa591e3.js +4817 -0
  83. package/index-82f2c56a.js +135 -0
  84. package/index-8713c192.js +344 -0
  85. package/index-8d537d38.js +2393 -0
  86. package/index-9fd4a537.js +99 -0
  87. package/index-ad538d7e.js +832 -0
  88. package/index-c1b1f59f.js +88 -0
  89. package/index-d6fa09d6.js +39 -0
  90. package/index-db2305dc.js +117 -0
  91. package/index-ddd23411.js +4884 -0
  92. package/index-e795786b.js +119 -0
  93. package/index-f146282d.js +1356 -0
  94. package/index-f849ef29.js +216 -0
  95. package/index-ffbcbc43.js +65 -0
  96. package/input-number-widget-64f89b9d.js +66 -0
  97. package/input-widget-0fe7c3d7.js +71 -0
  98. package/install-designer-bed2e18a.js +4752 -0
  99. package/item-4be3cb5b.js +34 -0
  100. package/item-ddbdee11.js +24 -0
  101. package/itemDetail-b31192a5.js +43 -0
  102. package/label-wrapper-91b95fb0.js +12 -0
  103. package/label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js +80 -0
  104. package/link-widget-0f2bb61c.js +56 -0
  105. package/ltable-col-widget-9f26b93d.js +8 -0
  106. package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-639ee976.js +256 -0
  107. package/ltable-widget-b78a72ee.js +69 -0
  108. package/menu-widget-15fdd710.js +96 -0
  109. package/model-widget-3f2b1368.js +122 -0
  110. package/multirow-e1e1205c.js +292 -0
  111. package/multirow-widget copy-671ebd9c.js +858 -0
  112. package/multirow-widget-d256cac6.js +694 -0
  113. package/name-editor-05685151.js +104 -0
  114. package/optionItem-0ac4a3ae.js +4667 -0
  115. package/package.json +13 -0
  116. package/pagination-widget-31a7301d.js +81 -0
  117. package/picture-upload-widget-46ea42a0.js +102 -0
  118. package/postcss-2c4d92ea.js +2285 -0
  119. package/progress-widget-fc1f9557.js +52 -0
  120. package/property-base-e63e2f28.js +78 -0
  121. package/propresult-8fdf23e2.js +22 -0
  122. package/radio-widget-fbc63c11.js +79 -0
  123. package/range-widget-b0882319.js +74 -0
  124. package/rate-widget-9719ca7d.js +56 -0
  125. package/reg-editor.vue_vue_type_script_setup_true_lang-56504fb0.js +61 -0
  126. package/result-widget-925a5426.js +67 -0
  127. package/rich-editor-widget-426f0b19.js +77 -0
  128. package/router-widget-209f0eb1.js +54 -0
  129. package/schemaData-ab87bd49.js +333 -0
  130. package/select-widget-0b560a2f.js +288 -0
  131. package/setView-de8aaf40.js +84 -0
  132. package/sfc-10e3d29c.js +2570 -0
  133. package/share-editor-27d43940.js +448 -0
  134. package/share-event-dd8ff2ba.js +26 -0
  135. package/share-field-451430de.js +690 -0
  136. package/share-file-124a4d83.js +121 -0
  137. package/size-editor-ea05760c.js +92 -0
  138. package/slider-widget-fb4efa96.js +62 -0
  139. package/slot-04a83a27.js +17 -0
  140. package/static-text-widget-2efdd909.js +51 -0
  141. package/steps-widget-6f283f21.js +91 -0
  142. package/subMenu-widget-77e295cb.js +16 -0
  143. package/subMenu-widget.vue_vue_type_script_setup_true_lang-b051a10e.js +69 -0
  144. package/switch-widget-f1120b6c.js +56 -0
  145. package/tab-pane-widget-99c21615.js +8 -0
  146. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bc962788.js +35 -0
  147. package/table-col-widget-d6d5d21f.js +23 -0
  148. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2efa4d60.js +80 -0
  149. package/table-widget-9b8d9798.js +163 -0
  150. package/tabs-widget-88393072.js +68 -0
  151. package/tag-widget-33c17c06.js +38 -0
  152. package/target-code-48e9d055.js +33 -0
  153. package/target-datasource-35dfcb1d.js +221 -0
  154. package/target-link-3ffd0149.js +126 -0
  155. package/target-saveForm-012b7de1.js +136 -0
  156. package/target-widget-3d7f6104.js +59 -0
  157. package/target-window-7556d301.js +54 -0
  158. package/template-c30585f4.js +251740 -0
  159. package/text-widget-8b5ece83.js +38 -0
  160. package/textarea-widget-e7c1d9ed.js +56 -0
  161. package/time-picker-range-widget-b8dfcc3b.js +58 -0
  162. package/time-picker-widget-73bde0a3.js +57 -0
  163. package/time-select-widget-08008b76.js +57 -0
  164. package/tmpl-widget-7d245d41.js +92 -0
  165. package/tooltip-wrapper-2922e49e.js +31 -0
  166. package/tree-select-widget-67231123.js +94 -0
  167. package/tree-widget-ab91165f.js +90 -0
  168. package/uuid-39f0308a.js +196 -0
  169. package/value-editor-27783d6c.js +89 -0
  170. package/vue3-sfc-loader-b70bdce4.js +34688 -0
  171. package/widget-base-4c2d6265.js +27 -0
  172. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js +277 -0
  173. package/wrapper-widget-5702502d.js +78 -0
@@ -0,0 +1,121 @@
1
+ import { ref as g, computed as x } from "vue";
2
+ import { d as O, a as f, k as m } from "./enum-type-287a50b6.js";
3
+ import { u as re } from "./icon-2bb9fa65.js";
4
+ import { c as ne } from "./share-field-451430de.js";
5
+ import { g as s } from "./template-c30585f4.js";
6
+ import { k as oe } from "./uuid-39f0308a.js";
7
+ import { K as ae, f as v } from "./baseImp-8c4be88e.js";
8
+ function me(S) {
9
+ const k = g({});
10
+ let o = [];
11
+ const B = (e) => {
12
+ e && (o = oe(e, !0));
13
+ }, D = () => {
14
+ E.value.clearFiles(), o.splice(0, o.length);
15
+ }, { fieldEditor: E, fieldKey: I, fieldModel: a, field: P, attrs: U, extendAttrs: i, events: T, exposed: V, isError: A, errorMsg: K, syncUpdateFormModel: C, emitFieldDataChange: M, existEvent: b, handleEvent: d, getWidgetOption: $, rules: j, fieldObj: G } = ne({ ...S, extInitFieldModel: B, exResetField: D }), { instance: H } = re(), N = ae({ instance: H }), F = g({ key: "" }), W = x(() => {
16
+ var e;
17
+ return o.length >= ((e = i.value) == null ? void 0 : e.limit);
18
+ }), q = x(() => {
19
+ var e;
20
+ return (e = i.value) == null ? void 0 : e.uploadTip;
21
+ }), J = (e, r) => {
22
+ var l;
23
+ let n = (l = i.value) == null ? void 0 : l.limit;
24
+ v.warning(f.i18nt("render.hint.uploadExceed").replace("${uploadLimit}", n));
25
+ }, Q = (e) => {
26
+ var z, L;
27
+ let r = !1, n = e.name.substring(e.name.lastIndexOf(".") + 1), l = (z = i.value) == null ? void 0 : z.fileTypes;
28
+ if (l && (l == null ? void 0 : l.length) > 0 && (r = l.some((h) => n.toLowerCase() === h.toLowerCase())), !r)
29
+ return v.error(f.i18nt("render.hint.unsupportedFileType") + n), !1;
30
+ let u = !1, t = 5, p = (L = i == null ? void 0 : i.value) == null ? void 0 : L.fileMaxSize;
31
+ if (p && (t = p), u = (e.size || 0) / 1024 / 1024 <= t, !u)
32
+ return v.error(f.i18nt("render.hint.fileSizeExceed") + t + "MB"), !1;
33
+ F.value.key = e.name;
34
+ const c = $("dataFn");
35
+ if (c) {
36
+ const h = c == null ? void 0 : c(N);
37
+ O(F.value, h);
38
+ }
39
+ return R(e);
40
+ }, R = (e) => {
41
+ if (b(s.onBeforeUpload)) {
42
+ let r = d(s.onBeforeUpload, { file: e });
43
+ return typeof r == "boolean" ? r : !0;
44
+ }
45
+ return !0;
46
+ }, X = (e, r, n) => {
47
+ if (r.status !== "success")
48
+ return;
49
+ let l = d(s.onUploadSuccess, { result: e, file: r, fileList: n });
50
+ _(n, l, e), l && l.name && (r.name = l.name), l && l.url && (r.url = l.url), o = m(n);
51
+ }, Y = (e, r, n) => {
52
+ b(s.onUploadError) ? d(s.onUploadError, { error: e, file: r, fileList: n }) : v.error(f.i18nt("render.hint.uploadError") + e);
53
+ }, Z = (e, r, n) => {
54
+ let l = -1, u = null;
55
+ o.forEach((t, p) => {
56
+ t.name === e && (t.url === r || n && t.uid === n) && (l = p, u = t);
57
+ }), l >= 0 && (o.splice(l, 1), ee(l), d(s.onFileRemove, { file: u, fileList: o.values }));
58
+ }, _ = (e, r, n) => {
59
+ let l = m(a.value);
60
+ r && r.name && r.url ? a.value.push({
61
+ name: r.name,
62
+ url: r.url
63
+ }) : n && n.name && n.url ? a.value.push({
64
+ name: n.name,
65
+ url: n.url
66
+ }) : a.value = m(e), C(a.value), M(a.value, l);
67
+ }, ee = (e, r) => {
68
+ let n = m(a.value);
69
+ a.value.splice(e, 1), C(a.value), M(a.value, n);
70
+ }, w = g(1), y = x(() => o == null ? void 0 : o.map((e) => e.url)), le = (e) => {
71
+ w.value = y.value.indexOf(e);
72
+ };
73
+ return O(U.value, {
74
+ onRemove: null,
75
+ onProgress: null,
76
+ onChange: null,
77
+ beforeRemove: null,
78
+ onPreview: le,
79
+ onSuccess: X,
80
+ onError: Y,
81
+ onExceed: J,
82
+ beforeUpload: Q
83
+ }), {
84
+ rules: j,
85
+ field: P,
86
+ fieldKey: I,
87
+ fieldModel: a,
88
+ attrs: U,
89
+ events: T,
90
+ fieldObj: G,
91
+ fileList: o,
92
+ fieldEditor: E,
93
+ headers: k,
94
+ uploadBtnHidden: W,
95
+ uploadData: F,
96
+ uploadTip: q,
97
+ previewIndex: w,
98
+ previewList: y,
99
+ isError: A,
100
+ errorMsg: K,
101
+ exposed: {
102
+ ...V
103
+ // initFileList
104
+ },
105
+ // getFieldOptions,
106
+ // handleEvent,
107
+ // handleFileExceed,
108
+ // beforeFileUpload,
109
+ // handleOnBeforeUpload,
110
+ // updateFieldModelAndEmitDataChangeForUpload,
111
+ // handleFileUpload,
112
+ // updateFieldModelAndEmitDataChangeForRemove,
113
+ removeUploadFile: Z
114
+ // handleUploadError,
115
+ // syncUpdateFormModel,
116
+ // emitFieldDataChange
117
+ };
118
+ }
119
+ export {
120
+ me as u
121
+ };
@@ -0,0 +1,92 @@
1
+ import { defineComponent as V, ref as b, computed as N, watch as d, openBlock as c, createBlock as S, normalizeProps as U, guardReactiveProps as x, withCtx as s, createVNode as f, mergeProps as F, unref as l, createElementBlock as I, Fragment as O, renderList as j } from "vue";
2
+ import { ElInput as A, ElSelect as T, ElOption as W } from "element-plus";
3
+ import { I as $ } from "./property-base-e63e2f28.js";
4
+ import { w as z } from "./template-c30585f4.js";
5
+ import { u as L } from "./share-editor-27d43940.js";
6
+ import { c as v, t as R } from "./uuid-39f0308a.js";
7
+ import { E as q, O as D } from "./editor-wrapper-e6b30023.js";
8
+ import { d as G, k as H, h as J, j as K } from "./enum-type-287a50b6.js";
9
+ import { ag as Q, S as i } from "./enum-type-255ade69.js";
10
+ import "./baseImp-8c4be88e.js";
11
+ import "./icon-2bb9fa65.js";
12
+ import "./dialog-5e196819.js";
13
+ import "./_commonjsHelpers-e7ea1525.js";
14
+ import "./share-event-dd8ff2ba.js";
15
+ import "./emitter-2b9b9409.js";
16
+ import "./index-f146282d.js";
17
+ import "./optionItem-0ac4a3ae.js";
18
+ import "./index-7fa591e3.js";
19
+ import "./index-ffbcbc43.js";
20
+ import "./_plugin-vue_export-helper-dad06003.js";
21
+ const X = V({ componentName: z.PropertyEditor }), ye = /* @__PURE__ */ V({
22
+ ...X,
23
+ __name: "size-editor",
24
+ props: { ...$ },
25
+ setup(k) {
26
+ const g = k, { propValue: m, propData: p } = L(g), C = G(H(g.propConfig), { type: Q.slot }), P = (e) => {
27
+ var u;
28
+ var o = v(p == null ? void 0 : p.value), r = o == null ? void 0 : o.find((M) => {
29
+ var _;
30
+ return e.endsWith((_ = v(M)) == null ? void 0 : _.value);
31
+ });
32
+ return (u = v(r)) == null ? void 0 : u.value;
33
+ }, h = (e) => {
34
+ if (e === "" || J(e))
35
+ return null;
36
+ var o = P(e), r = e.replaceAll(o, "");
37
+ return K(r) ? null : R(r);
38
+ }, n = (e, o) => {
39
+ m.value = E(e, o);
40
+ }, t = b(), a = b(), w = N(() => t.value === i.auto), y = () => {
41
+ const e = m.value;
42
+ t.value = P(String(e)), a.value = h(String(e));
43
+ }, E = (e, o) => e ? Array.from(/* @__PURE__ */ new Set([e, o])).join("") : o === i.auto ? o : "", B = () => E(a.value, t.value);
44
+ return y(), d(t, (e, o) => {
45
+ e === i.auto ? (a.value = "", n("", e)) : o == i.auto ? n("1", e) : n(a.value, e);
46
+ }), d(a, (e) => {
47
+ n(e, t.value);
48
+ }), d(m, (e) => {
49
+ e !== B() && y();
50
+ }), (e, o) => (c(), S(q, U(x(e.$props)), {
51
+ slotEditor: s(() => [
52
+ f(D, F(e.$props, { "prop-config": l(C) }), {
53
+ specialEditor: s(() => [
54
+ f(l(A), {
55
+ modelValue: a.value,
56
+ "onUpdate:modelValue": o[1] || (o[1] = (r) => a.value = r),
57
+ readonly: l(w),
58
+ type: "number",
59
+ class: "hide-spin-button"
60
+ }, {
61
+ append: s(() => [
62
+ f(l(T), {
63
+ modelValue: t.value,
64
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => t.value = r),
65
+ "suffix-icon": "",
66
+ style: { width: "70px" },
67
+ placeholder: " ",
68
+ teleported: !1
69
+ }, {
70
+ default: s(() => [
71
+ (c(!0), I(O, null, j(l(p), (r, u) => (c(), S(l(W), {
72
+ key: u,
73
+ label: r == null ? void 0 : r.label,
74
+ value: r == null ? void 0 : r.value
75
+ }, null, 8, ["label", "value"]))), 128))
76
+ ]),
77
+ _: 1
78
+ }, 8, ["modelValue"])
79
+ ]),
80
+ _: 1
81
+ }, 8, ["modelValue", "readonly"])
82
+ ]),
83
+ _: 1
84
+ }, 16, ["prop-config"])
85
+ ]),
86
+ _: 1
87
+ }, 16));
88
+ }
89
+ });
90
+ export {
91
+ ye as default
92
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent as d, computed as C, resolveComponent as E, openBlock as l, createBlock as m, mergeProps as n, unref as e, withCtx as F, isRef as z, toHandlers as I, createTextVNode as M, toDisplayString as b } from "vue";
2
+ import { c as B } from "./share-field-451430de.js";
3
+ import { I as N } from "./field-base-5547436d.js";
4
+ import P from "./form-item-wrapper-8039c512.js";
5
+ import { w as S } from "./template-c30585f4.js";
6
+ import { k as a } from "./uuid-39f0308a.js";
7
+ import "./enum-type-287a50b6.js";
8
+ import "./emitter-2b9b9409.js";
9
+ import "./icon-2bb9fa65.js";
10
+ import "./baseImp-8c4be88e.js";
11
+ import "./enum-type-255ade69.js";
12
+ import "./dialog-5e196819.js";
13
+ import "element-plus";
14
+ import "./_commonjsHelpers-e7ea1525.js";
15
+ import "./multirow-e1e1205c.js";
16
+ import "./index-f146282d.js";
17
+ import "./optionItem-0ac4a3ae.js";
18
+ import "./index-7fa591e3.js";
19
+ import "./slot-04a83a27.js";
20
+ import "./widget-base-4c2d6265.js";
21
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
22
+ import "./index-ffbcbc43.js";
23
+ import "./_plugin-vue_export-helper-dad06003.js";
24
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js";
25
+ const W = d({ componentName: S.FieldWidget }), le = /* @__PURE__ */ d({
26
+ ...W,
27
+ __name: "slider-widget",
28
+ props: { ...N },
29
+ setup(u, { expose: f }) {
30
+ const c = u, { fieldEditor: _, fieldModel: r, fieldKey: g, rules: v, attrs: o, events: y, exposed: O, fieldObj: k, isError: V, errorMsg: j } = B(c), t = C({
31
+ get: () => a(r.value, o.value.range),
32
+ set: (i) => {
33
+ r.value = a(i, o.value.range);
34
+ }
35
+ });
36
+ return f({ ...O }), (i, s) => {
37
+ const w = E("el-slider");
38
+ return l(), m(P, n(i.$props, {
39
+ propOptions: { fieldObj: e(k), rules: e(v), isError: e(V), errorMsg: e(j) }
40
+ }), {
41
+ default: F(({ data: p }) => [
42
+ (l(), m(w, n({
43
+ ref_key: "fieldEditor",
44
+ ref: _,
45
+ modelValue: e(t),
46
+ "onUpdate:modelValue": s[0] || (s[0] = (x) => z(t) ? t.value = x : null),
47
+ key: e(g)
48
+ }, e(o), I(e(y)), {
49
+ size: p.size,
50
+ class: p.injectClass,
51
+ style: p.injectStyle
52
+ }), null, 16, ["modelValue", "size", "class", "style"])),
53
+ M(" " + b(e(r)), 1)
54
+ ]),
55
+ _: 1
56
+ }, 16, ["propOptions"]);
57
+ };
58
+ }
59
+ });
60
+ export {
61
+ le as default
62
+ };
@@ -0,0 +1,17 @@
1
+ import { m as f, d as u } from "./enum-type-287a50b6.js";
2
+ import { s as g } from "./template-c30585f4.js";
3
+ import { c as m } from "./uuid-39f0308a.js";
4
+ const w = (r, t = !0, i) => {
5
+ if (i != null && i === !1)
6
+ return [];
7
+ const a = d(r);
8
+ return t || (r == null ? void 0 : r.length) <= 0 ? a : a == null ? void 0 : a.filter((e) => {
9
+ var n;
10
+ return !!(e != null && e.widgetList) && ((n = e == null ? void 0 : e.widgetList) == null ? void 0 : n.length) > 0 || !!e.default || (e == null ? void 0 : e.slotName) === g.default;
11
+ });
12
+ }, L = (r, t) => r == null ? void 0 : r.find((i) => (i == null ? void 0 : i.slotName) === t), d = (r) => f(r) ? Array.isArray(r) ? r == null ? void 0 : r.map((t) => (u(t, { widgetList: [] }), m(t))) : (console.log("error slots", r), []) : [];
13
+ export {
14
+ L as a,
15
+ w as g,
16
+ d as i
17
+ };
@@ -0,0 +1,51 @@
1
+ import { defineComponent as e, openBlock as l, createBlock as d, mergeProps as _, unref as o, withCtx as u, createVNode as x } from "vue";
2
+ import { I as g } from "./field-base-5547436d.js";
3
+ import { c as w } from "./share-field-451430de.js";
4
+ import { w as C } from "./template-c30585f4.js";
5
+ import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
6
+ import { _ as h } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4a97c453.js";
7
+ import { G as k } from "./enum-type-287a50b6.js";
8
+ import "./widget-base-4c2d6265.js";
9
+ import "./emitter-2b9b9409.js";
10
+ import "./icon-2bb9fa65.js";
11
+ import "./baseImp-8c4be88e.js";
12
+ import "./uuid-39f0308a.js";
13
+ import "./enum-type-255ade69.js";
14
+ import "./dialog-5e196819.js";
15
+ import "element-plus";
16
+ import "./_commonjsHelpers-e7ea1525.js";
17
+ import "./multirow-e1e1205c.js";
18
+ import "./index-f146282d.js";
19
+ import "./optionItem-0ac4a3ae.js";
20
+ import "./index-7fa591e3.js";
21
+ import "./slot-04a83a27.js";
22
+ import "./index-ffbcbc43.js";
23
+ import "./_plugin-vue_export-helper-dad06003.js";
24
+ const F = e({ componentName: C.FieldWidget }), S = /* @__PURE__ */ e({
25
+ ...F,
26
+ __name: "static-text-widget",
27
+ props: { ...g },
28
+ setup(p, { expose: i }) {
29
+ const m = p, { exposed: s, fieldEditor: n, attrs: a, extendAttrs: t, fieldObj: c } = w(m);
30
+ return i({ ...s }), (f, $) => (l(), d(P, _(f.$props, {
31
+ "prop-options": { fieldObj: o(c) }
32
+ }), {
33
+ default: u(() => {
34
+ var r;
35
+ return [
36
+ x(h, {
37
+ ref_key: "fieldEditor",
38
+ ref: n,
39
+ "component-name": "div",
40
+ allProps: { customClass: o(k)((r = o(t)) == null ? void 0 : r.customClass), content: o(a).content || o(t).content },
41
+ tohtml: !1
42
+ }, null, 8, ["allProps"])
43
+ ];
44
+ }),
45
+ _: 1
46
+ }, 16, ["prop-options"]));
47
+ }
48
+ });
49
+ export {
50
+ S as default
51
+ };
@@ -0,0 +1,91 @@
1
+ import { defineComponent as f, computed as F, ref as M, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as S, createElementBlock as T, Fragment as b, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
2
+ import { I as P } from "./field-base-5547436d.js";
3
+ import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
4
+ import { c as K } from "./share-field-451430de.js";
5
+ import { S as W } from "./index-ffbcbc43.js";
6
+ import { w as q } from "./template-c30585f4.js";
7
+ import { c as p } from "./uuid-39f0308a.js";
8
+ import "./widget-base-4c2d6265.js";
9
+ import "./enum-type-287a50b6.js";
10
+ import "./index-f146282d.js";
11
+ import "./enum-type-255ade69.js";
12
+ import "./optionItem-0ac4a3ae.js";
13
+ import "./baseImp-8c4be88e.js";
14
+ import "./icon-2bb9fa65.js";
15
+ import "./dialog-5e196819.js";
16
+ import "element-plus";
17
+ import "./_commonjsHelpers-e7ea1525.js";
18
+ import "./index-7fa591e3.js";
19
+ import "./emitter-2b9b9409.js";
20
+ import "./multirow-e1e1205c.js";
21
+ import "./slot-04a83a27.js";
22
+ import "./_plugin-vue_export-helper-dad06003.js";
23
+ const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }), ge = /* @__PURE__ */ f({
24
+ ...D,
25
+ __name: "steps-widget",
26
+ props: { ...P },
27
+ setup(v, { expose: g }) {
28
+ const y = v, { fieldEditor: V, fieldKey: k, events: I, attrs: H, optionItems: L, activeOptionItemIndex: h, exposed: j, fieldObj: w } = K(y), l = F(() => a.value || h.value), a = M();
29
+ return g({
30
+ ...j,
31
+ setValue: (n) => {
32
+ a.value = n;
33
+ },
34
+ getValue: () => l.value
35
+ }), (n, Q) => {
36
+ const x = u("el-step"), C = u("el-steps");
37
+ return r(), s($, i(n.$props, {
38
+ "prop-options": { fieldObj: e(w) }
39
+ }), {
40
+ default: o(({ data: c }) => [
41
+ (r(), s(C, i({
42
+ ref_key: "fieldEditor",
43
+ ref: V,
44
+ key: e(k)
45
+ }, e(H), S(e(I)), {
46
+ active: e(l),
47
+ class: c.injectClass,
48
+ style: c.injectStyle
49
+ }), {
50
+ default: o(() => [
51
+ (r(!0), T(b, null, B(e(L), (t, E) => {
52
+ var m;
53
+ return r(), s(x, i(t, { key: E }), N({
54
+ title: o(() => [
55
+ _("span", {
56
+ innerHTML: t == null ? void 0 : t.label
57
+ }, null, 8, z)
58
+ ]),
59
+ description: o(() => {
60
+ var d;
61
+ return [
62
+ _("span", {
63
+ innerHTML: (d = e(p)(t)) == null ? void 0 : d.description
64
+ }, null, 8, A)
65
+ ];
66
+ }),
67
+ _: 2
68
+ }, [
69
+ (m = e(p)(t)) != null && m.icon ? {
70
+ name: "icon",
71
+ fn: o(() => [
72
+ O(W, {
73
+ name: e(p)(t).icon
74
+ }, null, 8, ["name"])
75
+ ]),
76
+ key: "0"
77
+ } : void 0
78
+ ]), 1040);
79
+ }), 128))
80
+ ]),
81
+ _: 2
82
+ }, 1040, ["active", "class", "style"]))
83
+ ]),
84
+ _: 1
85
+ }, 16, ["prop-options"]);
86
+ };
87
+ }
88
+ });
89
+ export {
90
+ ge as default
91
+ };
@@ -0,0 +1,16 @@
1
+ import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-b051a10e.js";
2
+ import "vue";
3
+ import "./index-ffbcbc43.js";
4
+ import "./enum-type-287a50b6.js";
5
+ import "./icon-2bb9fa65.js";
6
+ import "./_plugin-vue_export-helper-dad06003.js";
7
+ import "./enum-type-255ade69.js";
8
+ import "./baseImp-8c4be88e.js";
9
+ import "./uuid-39f0308a.js";
10
+ import "./template-c30585f4.js";
11
+ import "./_commonjsHelpers-e7ea1525.js";
12
+ import "./dialog-5e196819.js";
13
+ import "element-plus";
14
+ export {
15
+ o as default
16
+ };
@@ -0,0 +1,69 @@
1
+ import { defineComponent as g, openBlock as u, createElementBlock as t, Fragment as y, renderList as b, createBlock as o, resolveDynamicComponent as C, unref as p, withCtx as d, createCommentVNode as I, createElementVNode as _, toDisplayString as x } from "vue";
2
+ import { S as h } from "./index-ffbcbc43.js";
3
+ import { ae as a } from "./enum-type-255ade69.js";
4
+ import { h as M, P as v } from "./baseImp-8c4be88e.js";
5
+ const N = /* @__PURE__ */ g({
6
+ __name: "subMenu-widget",
7
+ props: {
8
+ items: null,
9
+ useRouter: null
10
+ },
11
+ setup(c) {
12
+ const k = (n) => {
13
+ var e;
14
+ if (n.menuItemType === a.None || !n.menuItemType)
15
+ return ((e = n == null ? void 0 : n.children) == null ? void 0 : e.length) > 0 ? "el-sub-menu" : "el-menu-item";
16
+ let l = "";
17
+ switch (n.menuItemType) {
18
+ case a.MenuItem:
19
+ l = "el-menu-item";
20
+ break;
21
+ case a.MenuItemGroup:
22
+ l = "el-menu-item-group";
23
+ break;
24
+ case a.SubMenu:
25
+ l = "el-sub-menu";
26
+ break;
27
+ default:
28
+ l = "el-menu-item";
29
+ break;
30
+ }
31
+ return l;
32
+ };
33
+ return (n, l) => (u(!0), t(y, null, b(c.items, (e, f) => (u(), o(C(k(e)), {
34
+ key: f,
35
+ index: c.useRouter ? e == null ? void 0 : e.route : (e == null ? void 0 : e.value) + "",
36
+ onClick: (r) => {
37
+ var s;
38
+ return ((s = e == null ? void 0 : e.children) == null ? void 0 : s.length) <= 0 ? p(M)(p(v).getValue(e == null ? void 0 : e.click) || "") : "";
39
+ }
40
+ }, {
41
+ title: d(() => {
42
+ var r;
43
+ return [
44
+ ((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) > 0 ? (u(), o(h, {
45
+ key: 0,
46
+ name: e == null ? void 0 : e.icon
47
+ }, null, 8, ["name"])) : I("", !0),
48
+ _("span", null, x(e.label), 1)
49
+ ];
50
+ }),
51
+ default: d(() => {
52
+ var r;
53
+ return [
54
+ ((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) <= 0 ? (u(), o(h, {
55
+ key: 0,
56
+ name: e == null ? void 0 : e.icon
57
+ }, null, 8, ["name"])) : (u(), o(N, {
58
+ key: 1,
59
+ items: e == null ? void 0 : e.children
60
+ }, null, 8, ["items"]))
61
+ ];
62
+ }),
63
+ _: 2
64
+ }, 1032, ["index", "onClick"]))), 128));
65
+ }
66
+ });
67
+ export {
68
+ N as _
69
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent as m, resolveComponent as F, openBlock as i, createBlock as p, mergeProps as s, unref as e, withCtx as O, isRef as V, toHandlers as h } from "vue";
2
+ import { w as v } from "./template-c30585f4.js";
3
+ import { c as x } from "./share-field-451430de.js";
4
+ import { I as z } from "./field-base-5547436d.js";
5
+ import I from "./form-item-wrapper-8039c512.js";
6
+ import "./_commonjsHelpers-e7ea1525.js";
7
+ import "./enum-type-287a50b6.js";
8
+ import "./uuid-39f0308a.js";
9
+ import "./emitter-2b9b9409.js";
10
+ import "./icon-2bb9fa65.js";
11
+ import "./baseImp-8c4be88e.js";
12
+ import "./enum-type-255ade69.js";
13
+ import "./dialog-5e196819.js";
14
+ import "element-plus";
15
+ import "./multirow-e1e1205c.js";
16
+ import "./index-f146282d.js";
17
+ import "./optionItem-0ac4a3ae.js";
18
+ import "./index-7fa591e3.js";
19
+ import "./slot-04a83a27.js";
20
+ import "./widget-base-4c2d6265.js";
21
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
22
+ import "./index-ffbcbc43.js";
23
+ import "./_plugin-vue_export-helper-dad06003.js";
24
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js";
25
+ const M = m({ componentName: v.FieldWidget }), re = /* @__PURE__ */ m({
26
+ ...M,
27
+ __name: "switch-widget",
28
+ props: { ...z },
29
+ setup(l, { expose: n }) {
30
+ const d = l, { fieldEditor: f, fieldKey: a, fieldModel: o, rules: c, attrs: u, events: _, exposed: w, isError: g, errorMsg: y, fieldObj: j } = x(d);
31
+ return n({ ...w }), (k, t) => {
32
+ const C = F("el-switch");
33
+ return i(), p(I, s(k.$props, {
34
+ propOptions: { fieldObj: e(j), rules: e(c), isError: e(g), errorMsg: e(y) }
35
+ }), {
36
+ default: O(({ data: r }) => [
37
+ (i(), p(C, s({
38
+ ref_key: "fieldEditor",
39
+ ref: f,
40
+ modelValue: e(o),
41
+ "onUpdate:modelValue": t[0] || (t[0] = (E) => V(o) ? o.value = E : null),
42
+ key: e(a)
43
+ }, e(u), h(e(_)), {
44
+ size: r.size,
45
+ class: r.injectClass,
46
+ style: r.injectStyle
47
+ }), null, 16, ["modelValue", "size", "class", "style"]))
48
+ ]),
49
+ _: 1
50
+ }, 16, ["propOptions"]);
51
+ };
52
+ }
53
+ });
54
+ export {
55
+ re as default
56
+ };
@@ -0,0 +1,8 @@
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bc962788.js";
2
+ const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ __proto__: null,
4
+ default: e
5
+ }, Symbol.toStringTag, { value: "Module" }));
6
+ export {
7
+ o as _
8
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as p, unref as e, withCtx as g, createVNode as _ } from "vue";
2
+ import { w as u } from "./template-c30585f4.js";
3
+ import { I as w } from "./widget-base-4c2d6265.js";
4
+ import { D as C } from "./drag-wrapper-f9fb1533.js";
5
+ import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
6
+ import { c as b } from "./multirow-e1e1205c.js";
7
+ import { c as h } from "./share-field-451430de.js";
8
+ const k = s({ componentName: u.ContainerWidget }), j = /* @__PURE__ */ s({
9
+ ...k,
10
+ __name: "tab-pane-widget",
11
+ props: { ...w },
12
+ setup(n, { expose: a }) {
13
+ const t = n, { attrs: m, exposed: i } = h(t), { componentWrapperClass: c, customClass: d } = b({ widget: t.widget });
14
+ return a({ ...i }), (o, $) => {
15
+ var r;
16
+ return l(), f(W, p(o.$props, {
17
+ "show-wrapper-component": !0,
18
+ "component-name": "el-tab-pane",
19
+ key: (r = o.widget) == null ? void 0 : r.id,
20
+ "prop-options": { fieldObj: { attrs: e(m) }, class: ["content-cell", e(d)] }
21
+ }), {
22
+ default: g(() => [
23
+ _(C, p(o.$props, {
24
+ dragClass: "dragSize",
25
+ "component-class": e(c)
26
+ }), null, 16, ["component-class"])
27
+ ]),
28
+ _: 1
29
+ }, 16, ["prop-options"]);
30
+ };
31
+ }
32
+ });
33
+ export {
34
+ j as _
35
+ };
@@ -0,0 +1,23 @@
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2efa4d60.js";
2
+ import "vue";
3
+ import "./enum-type-287a50b6.js";
4
+ import "./icon-2bb9fa65.js";
5
+ import "./uuid-39f0308a.js";
6
+ import "./baseImp-8c4be88e.js";
7
+ import "./enum-type-255ade69.js";
8
+ import "./template-c30585f4.js";
9
+ import "./_commonjsHelpers-e7ea1525.js";
10
+ import "./dialog-5e196819.js";
11
+ import "element-plus";
12
+ import "./drag-wrapper-f9fb1533.js";
13
+ import "./widget-base-4c2d6265.js";
14
+ import "./index-f146282d.js";
15
+ import "./optionItem-0ac4a3ae.js";
16
+ import "./index-7fa591e3.js";
17
+ import "./multirow-e1e1205c.js";
18
+ import "./slot-04a83a27.js";
19
+ import "./emitter-2b9b9409.js";
20
+ import "./_plugin-vue_export-helper-dad06003.js";
21
+ export {
22
+ o as default
23
+ };