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,52 @@
1
+ import { defineComponent as a, ref as v, openBlock as O, createBlock as x, mergeProps as b, unref as j } from "vue";
2
+ import { I as F } from "./field-base-5547436d.js";
3
+ import { _ as k } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0fb8e1cc.js";
4
+ import { w } from "./template-c30585f4.js";
5
+ import { c as A } from "./share-field-451430de.js";
6
+ import "./widget-base-4c2d6265.js";
7
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
8
+ import "./uuid-39f0308a.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 "./index-ffbcbc43.js";
20
+ import "./_plugin-vue_export-helper-dad06003.js";
21
+ import "./slot-04a83a27.js";
22
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-4a97c453.js";
23
+ import "./emitter-2b9b9409.js";
24
+ import "./multirow-e1e1205c.js";
25
+ const B = a({ componentName: w.FieldWidget }), X = /* @__PURE__ */ a({
26
+ ...B,
27
+ __name: "progress-widget",
28
+ props: { ...F },
29
+ setup(c, { expose: l }) {
30
+ var s;
31
+ const u = c, { attrs: p, fieldObj: f, exposed: d, extendAttrs: i } = A(u), o = v((s = p.value) == null ? void 0 : s.percentage), _ = (e) => {
32
+ var r;
33
+ o.value = e, m(), e === 100 && setTimeout(() => {
34
+ var t, n;
35
+ (n = (t = i.value) == null ? void 0 : t.completed) == null || n.call(t);
36
+ }, (((r = i.value) == null ? void 0 : r.completeSec) || 0) * 1e3);
37
+ }, g = () => o.value, m = () => {
38
+ Object.assign(
39
+ p.value,
40
+ {
41
+ percentage: o.value
42
+ }
43
+ );
44
+ };
45
+ return m(), l({ ...d, getValue: g, setValue: _ }), (e, r) => (O(), x(k, b(e.$props, {
46
+ propOptions: { elementName: "el-progress", fieldObj: j(f) }
47
+ }), null, 16, ["propOptions"]));
48
+ }
49
+ });
50
+ export {
51
+ X as default
52
+ };
@@ -0,0 +1,78 @@
1
+ var c = Object.defineProperty;
2
+ var g = (e, a, s) => a in e ? c(e, a, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[a] = s;
3
+ var t = (e, a, s) => (g(e, typeof a != "symbol" ? a + "" : a, s), s);
4
+ import { d as r, ag as f } from "./enum-type-255ade69.js";
5
+ import { c as l } from "./uuid-39f0308a.js";
6
+ import { E as o, d as v } from "./enum-type-287a50b6.js";
7
+ import { P as n } from "./baseImp-8c4be88e.js";
8
+ var b = /* @__PURE__ */ ((e) => (e[e.common = 0] = "common", e[e.advanced = 1] = "advanced", e[e.other = 2] = "other", e[e.style = 3] = "style", e[e.event = 4] = "event", e[e.valid = 5] = "valid", e[e.label = 6] = "label", e[e.popper = 7] = "popper", e[e.slot = 8] = "slot", e[e.global = 9] = "global", e))(b || {}), C = /* @__PURE__ */ ((e) => (e.value = "value-editor", e.common = "common-editor", e.name = "name-editor", e.size = "size-editor", e.customClass = "customClass-editor", e.field = "field-editor", e))(C || {});
9
+ class h {
10
+ constructor() {
11
+ t(this, "optionModel", { type: Object, default: {} });
12
+ t(this, "selectedWidget", { type: Object });
13
+ t(this, "designer", { type: Object });
14
+ //注意设成Designer时出现warn:Invalid prop: type check failed for prop "designer". Expected , got Object
15
+ t(this, "pageConfig", { type: Object });
16
+ t(this, "propConfig", { type: Object });
17
+ t(this, "otherConfig", { type: Object, default: {} });
18
+ }
19
+ //用于存储其他需继承的属性
20
+ }
21
+ class M {
22
+ constructor(a) {
23
+ t(this, "tp", 0);
24
+ t(this, "widgetType", r.none);
25
+ t(this, "type", f.input);
26
+ t(this, "editor", "common-editor");
27
+ t(this, "key");
28
+ t(this, "path", "");
29
+ t(this, "name", "");
30
+ t(this, "title", "#");
31
+ t(this, "formula", !1);
32
+ t(this, "variable", !0);
33
+ t(this, "attrs");
34
+ t(this, "options");
35
+ //扩展参数helpUrl
36
+ t(this, "rules");
37
+ t(this, "data", []);
38
+ /**
39
+ * 设置加载,但不可见,防止可见变化时界面抖动
40
+ */
41
+ t(this, "visibleFn");
42
+ /**
43
+ * 属性变动时联动操作
44
+ */
45
+ t(this, "changeFn");
46
+ /**
47
+ * 过滤属性是否可加载
48
+ */
49
+ t(this, "filterFn");
50
+ v(this, a), this.data = a.data;
51
+ }
52
+ }
53
+ class i {
54
+ constructor() {
55
+ t(this, "optionModel");
56
+ t(this, "selectedWidget");
57
+ t(this, "designer");
58
+ t(this, "pageConfig");
59
+ t(this, "propConfig");
60
+ }
61
+ }
62
+ t(i, "getOption", (a, s) => {
63
+ if (a.optionModel) {
64
+ var d = l(o(a.optionModel, s));
65
+ return n.getValue(d);
66
+ }
67
+ }), t(i, "getSelectedWidget", (a, s) => {
68
+ if (a.selectedWidget)
69
+ return l(o(a.selectedWidget, s));
70
+ });
71
+ const F = new h();
72
+ export {
73
+ F as I,
74
+ M as P,
75
+ i as a,
76
+ C as i,
77
+ b as p
78
+ };
@@ -0,0 +1,22 @@
1
+ import { d as n } from "./template-c30585f4.js";
2
+ import { u as i } from "./icon-2bb9fa65.js";
3
+ import { inject as a } from "vue";
4
+ function d(e) {
5
+ const { instance: g } = i();
6
+ return {
7
+ getPropResultForm: () => {
8
+ var t;
9
+ return {
10
+ instance: g,
11
+ designState: e == null ? void 0 : e.designState,
12
+ designer: e == null ? void 0 : e.designer,
13
+ formData: a(n.globalModel),
14
+ globalConfig: a(n.globalConfig),
15
+ pageConfig: (t = e == null ? void 0 : e.designer) == null ? void 0 : t.pageConfig
16
+ };
17
+ }
18
+ };
19
+ }
20
+ export {
21
+ d as u
22
+ };
@@ -0,0 +1,79 @@
1
+ import { defineComponent as g, computed as l, resolveComponent as P, openBlock as s, createBlock as a, mergeProps as b, unref as e, withCtx as n, isRef as T, toHandlers as W, createElementBlock as h, Fragment as A, renderList as H, resolveDynamicComponent as R, normalizeStyle as U, createTextVNode as $, toDisplayString as q } from "vue";
2
+ import { c as G } from "./share-field-451430de.js";
3
+ import { I as J } from "./field-base-5547436d.js";
4
+ import Q from "./form-item-wrapper-8039c512.js";
5
+ import { D as X } from "./enum-type-255ade69.js";
6
+ import { w as Y } from "./template-c30585f4.js";
7
+ import { c as _ } from "./uuid-39f0308a.js";
8
+ import "./enum-type-287a50b6.js";
9
+ import "./emitter-2b9b9409.js";
10
+ import "./icon-2bb9fa65.js";
11
+ import "./baseImp-8c4be88e.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 Z = g({ componentName: Y.FieldWidget }), xe = /* @__PURE__ */ g({
26
+ ...Z,
27
+ __name: "radio-widget",
28
+ props: { ...J },
29
+ setup(v, { expose: k }) {
30
+ const z = v, { fieldEditor: S, fieldKey: C, fieldModel: i, rules: x, attrs: r, extendAttrs: p, events: E, optionItems: F, exposed: I, isError: V, errorMsg: j, getCheckedItems: w, fieldObj: D } = G(z), O = l(() => r.value.border), B = l(() => r.value.disabled), K = l(() => r.value.buttonStyle), d = l(() => p.value.displayStyle);
31
+ return k({ ...I, getCheckedItems: w }), (M, m) => {
32
+ const L = P("el-radio-group");
33
+ return s(), a(Q, b(M.$props, {
34
+ propOptions: { fieldObj: e(D), rules: e(x), isError: e(V), errorMsg: e(j) }
35
+ }), {
36
+ default: n(({ data: t }) => [
37
+ (s(), a(L, b({
38
+ ref_key: "fieldEditor",
39
+ ref: S,
40
+ modelValue: e(i),
41
+ "onUpdate:modelValue": m[0] || (m[0] = (o) => T(i) ? i.value = o : null),
42
+ key: e(C),
43
+ class: t.injectClass,
44
+ style: { ...t.injectStyle, display: e(d) }
45
+ }, e(r), W(e(E)), {
46
+ size: t.size
47
+ }), {
48
+ default: n(() => [
49
+ (s(!0), h(A, null, H(e(F), (o, N) => {
50
+ var u, c, y;
51
+ return s(), a(R(e(K) ? "el-radio-button" : "el-radio"), {
52
+ key: N,
53
+ value: o == null ? void 0 : o[(u = e(p)) == null ? void 0 : u.valueKey],
54
+ disabled: e(B) || ((c = e(_)(o)) == null ? void 0 : c.disabled),
55
+ size: t.size,
56
+ border: e(O) || ((y = e(_)(o)) == null ? void 0 : y.border),
57
+ style: U({ display: e(d) === e(X).inline ? "" : e(d) })
58
+ }, {
59
+ default: n(() => {
60
+ var f;
61
+ return [
62
+ $(q(o == null ? void 0 : o[(f = e(p)) == null ? void 0 : f.labelKey]), 1)
63
+ ];
64
+ }),
65
+ _: 2
66
+ }, 1032, ["value", "disabled", "size", "border", "style"]);
67
+ }), 128))
68
+ ]),
69
+ _: 2
70
+ }, 1040, ["modelValue", "class", "style", "size"]))
71
+ ]),
72
+ _: 1
73
+ }, 16, ["propOptions"]);
74
+ };
75
+ }
76
+ });
77
+ export {
78
+ xe as default
79
+ };
@@ -0,0 +1,74 @@
1
+ import { defineComponent as y, openBlock as o, createBlock as E, mergeProps as i, unref as t, withCtx as F, createElementBlock as p, createElementVNode as l, createVNode as _, toDisplayString as c, createCommentVNode as g } from "vue";
2
+ import { c as I } from "./share-field-451430de.js";
3
+ import { I as N } from "./field-base-5547436d.js";
4
+ import S from "./form-item-wrapper-8039c512.js";
5
+ import { D as f } from "./drag-wrapper-f9fb1533.js";
6
+ import { w as T } from "./template-c30585f4.js";
7
+ import { a as u } from "./slot-04a83a27.js";
8
+ import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
9
+ import "./enum-type-287a50b6.js";
10
+ import "./emitter-2b9b9409.js";
11
+ import "./icon-2bb9fa65.js";
12
+ import "./baseImp-8c4be88e.js";
13
+ import "./uuid-39f0308a.js";
14
+ import "./enum-type-255ade69.js";
15
+ import "./dialog-5e196819.js";
16
+ import "element-plus";
17
+ import "./_commonjsHelpers-e7ea1525.js";
18
+ import "./multirow-e1e1205c.js";
19
+ import "./index-f146282d.js";
20
+ import "./optionItem-0ac4a3ae.js";
21
+ import "./index-7fa591e3.js";
22
+ import "./widget-base-4c2d6265.js";
23
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
24
+ import "./index-ffbcbc43.js";
25
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-0a7f6bdd.js";
26
+ const B = { class: "inputer" }, C = {
27
+ key: 0,
28
+ class: "split"
29
+ }, D = { class: "inputer" }, $ = {
30
+ key: 1,
31
+ class: "unit"
32
+ }, j = y({ componentName: T.FieldWidget }), z = /* @__PURE__ */ y({
33
+ ...j,
34
+ __name: "range-widget",
35
+ props: { ...N },
36
+ setup(w, { expose: h }) {
37
+ const v = w, { fieldEditor: x, fieldKey: k, slots: s, attrs: e, exposed: b, fieldObj: W } = I(v);
38
+ return h({ ...b }), (r, O) => (o(), E(S, i(r.$props, {
39
+ "prop-options": { fieldObj: t(W) }
40
+ }), {
41
+ default: F(({ data: P }) => {
42
+ var a, d, n, m;
43
+ return [
44
+ (o(), p("div", {
45
+ class: "input-with-unit",
46
+ ref_key: "fieldEditor",
47
+ ref: x,
48
+ key: t(k)
49
+ }, [
50
+ l("div", B, [
51
+ _(f, i(r.$props, {
52
+ widget: t(u)(t(s), "left"),
53
+ "drag-class": "dragSize3"
54
+ }), null, 16, ["widget"])
55
+ ]),
56
+ (a = t(e)) != null && a.splitText ? (o(), p("span", C, c((d = t(e)) == null ? void 0 : d.splitText), 1)) : g("", !0),
57
+ l("div", D, [
58
+ _(f, i(r.$props, {
59
+ widget: t(u)(t(s), "right"),
60
+ "drag-class": "dragSize3"
61
+ }), null, 16, ["widget"])
62
+ ]),
63
+ (n = t(e)) != null && n.unitText ? (o(), p("span", $, c((m = t(e)) == null ? void 0 : m.unitText), 1)) : g("", !0)
64
+ ]))
65
+ ];
66
+ }),
67
+ _: 1
68
+ }, 16, ["prop-options"]));
69
+ }
70
+ });
71
+ const lt = /* @__PURE__ */ V(z, [["__scopeId", "data-v-db81db8c"]]);
72
+ export {
73
+ lt as default
74
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent as s, resolveComponent as F, openBlock as i, createBlock as p, mergeProps as m, unref as e, withCtx as O, isRef as V, toHandlers as v } from "vue";
2
+ import { c as x } from "./share-field-451430de.js";
3
+ import { I as z } from "./field-base-5547436d.js";
4
+ import I from "./form-item-wrapper-8039c512.js";
5
+ import { w as M } from "./template-c30585f4.js";
6
+ import "./enum-type-287a50b6.js";
7
+ import "./emitter-2b9b9409.js";
8
+ import "./icon-2bb9fa65.js";
9
+ import "./baseImp-8c4be88e.js";
10
+ import "./uuid-39f0308a.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 b = s({ componentName: M.FieldWidget }), oe = /* @__PURE__ */ s({
26
+ ...b,
27
+ __name: "rate-widget",
28
+ props: { ...z },
29
+ setup(l, { expose: n }) {
30
+ const d = l, { fieldEditor: a, fieldModel: r, rules: f, fieldKey: u, attrs: c, isError: _, errorMsg: g, events: y, exposed: j, fieldObj: k } = x(d);
31
+ return n({ ...j }), (w, t) => {
32
+ const C = F("el-rate");
33
+ return i(), p(I, m(w.$props, {
34
+ propOptions: { fieldObj: e(k), rules: e(f), isError: e(_), errorMsg: e(g) }
35
+ }), {
36
+ default: O(({ data: o }) => [
37
+ (i(), p(C, m({
38
+ ref_key: "fieldEditor",
39
+ ref: a,
40
+ modelValue: e(r),
41
+ "onUpdate:modelValue": t[0] || (t[0] = (E) => V(r) ? r.value = E : null),
42
+ key: e(u)
43
+ }, e(c), v(e(y)), {
44
+ size: o.size,
45
+ class: o.injectClass,
46
+ style: o.injectStyle
47
+ }), null, 16, ["modelValue", "size", "class", "style"]))
48
+ ]),
49
+ _: 1
50
+ }, 16, ["propOptions"]);
51
+ };
52
+ }
53
+ });
54
+ export {
55
+ oe as default
56
+ };
@@ -0,0 +1,61 @@
1
+ import { defineComponent as h, reactive as v, computed as P, ref as k, resolveComponent as w, openBlock as l, createBlock as m, mergeProps as R, withCtx as _, createElementBlock as d, Fragment as g, renderList as x, unref as s, resolveDynamicComponent as B, createCommentVNode as W } from "vue";
2
+ import { ag as b } from "./enum-type-255ade69.js";
3
+ import { u as F } from "./index-2936e7cf.js";
4
+ import { h as N } from "./enum-type-287a50b6.js";
5
+ const T = {
6
+ key: 0,
7
+ class: "full-width regwrapper"
8
+ }, V = /* @__PURE__ */ h({
9
+ __name: "reg-editor",
10
+ props: {
11
+ keys: null,
12
+ widgetType: null,
13
+ data: null,
14
+ path: null,
15
+ formProps: null,
16
+ designer: null,
17
+ pageConfig: null,
18
+ selectedWidget: null
19
+ },
20
+ setup(t, { expose: u }) {
21
+ const r = t, { getPropEditor: f, getPropRegistedByName: c } = F(), p = v(r == null ? void 0 : r.data), C = P(() => {
22
+ var o, i;
23
+ var n = (i = (o = r.keys) == null ? void 0 : o.map((e) => c(e, r.widgetType, r.path))) == null ? void 0 : i.filter((e) => !N(e));
24
+ return n;
25
+ }), a = k();
26
+ return u({
27
+ submit: (n) => {
28
+ a.value && a.value.validate((o) => {
29
+ n && n(o);
30
+ });
31
+ }
32
+ }), (n, o) => {
33
+ const i = w("el-form");
34
+ return l(), m(i, R({
35
+ "label-width": "100px",
36
+ ref_key: "regFormRef",
37
+ ref: a,
38
+ model: p,
39
+ "label-position": "left"
40
+ }, t.formProps), {
41
+ default: _(() => [
42
+ (l(!0), d(g, null, x(s(C), (e, E) => (l(), d(g, null, [
43
+ (e == null ? void 0 : e.type) !== s(b).hidden ? (l(), d("div", T, [
44
+ (l(), m(B(s(f)(e == null ? void 0 : e.editor)), {
45
+ propConfig: e,
46
+ "option-model": t.data,
47
+ designer: t.designer,
48
+ pageConfig: t.pageConfig,
49
+ selectedWidget: t.selectedWidget
50
+ }, null, 8, ["propConfig", "option-model", "designer", "pageConfig", "selectedWidget"]))
51
+ ])) : W("", !0)
52
+ ], 64))), 256))
53
+ ]),
54
+ _: 1
55
+ }, 16, ["model"]);
56
+ };
57
+ }
58
+ });
59
+ export {
60
+ V as _
61
+ };
@@ -0,0 +1,67 @@
1
+ import { defineComponent as d, computed as k, resolveComponent as S, openBlock as i, createBlock as p, mergeProps as m, unref as t, withCtx as n, toHandlers as j, createSlots as v, renderList as h, resolveDynamicComponent as D, createCommentVNode as F, createVNode as V } from "vue";
2
+ import { a as $ } from "./enum-type-287a50b6.js";
3
+ import { I as B } from "./field-base-5547436d.js";
4
+ import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
5
+ import { c as I } from "./share-field-451430de.js";
6
+ import { w as O } from "./template-c30585f4.js";
7
+ import { D as P } from "./drag-wrapper-f9fb1533.js";
8
+ import { g as W } from "./slot-04a83a27.js";
9
+ import "./widget-base-4c2d6265.js";
10
+ import "./uuid-39f0308a.js";
11
+ import "./index-f146282d.js";
12
+ import "./enum-type-255ade69.js";
13
+ import "./optionItem-0ac4a3ae.js";
14
+ import "./baseImp-8c4be88e.js";
15
+ import "./icon-2bb9fa65.js";
16
+ import "./dialog-5e196819.js";
17
+ import "element-plus";
18
+ import "./_commonjsHelpers-e7ea1525.js";
19
+ import "./index-7fa591e3.js";
20
+ import "./index-ffbcbc43.js";
21
+ import "./_plugin-vue_export-helper-dad06003.js";
22
+ import "./emitter-2b9b9409.js";
23
+ import "./multirow-e1e1205c.js";
24
+ const z = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
25
+ ...z,
26
+ __name: "result-widget",
27
+ props: { ...B },
28
+ setup(l, { expose: c }) {
29
+ const s = l, { exposed: f, fieldEditor: u, fieldKey: g, slots: y, attrs: _, events: w, fieldObj: C } = I(s), N = k(() => {
30
+ const r = W(y.value, s.designState);
31
+ return r.map((o) => (o.slotName === "subTitle" && (o.slotName = "sub-title"), o)), r;
32
+ });
33
+ return c({ ...f }), (r, o) => {
34
+ const b = S("el-result");
35
+ return i(), p(E, m(r.$props, {
36
+ "prop-options": { fieldObj: t(C) }
37
+ }), {
38
+ default: n(({ data: a }) => [
39
+ (i(), p(b, m({
40
+ ref_key: "fieldEditor",
41
+ ref: u,
42
+ key: t(g)
43
+ }, t(_), j(t(w)), {
44
+ class: a.injectClass,
45
+ style: a.injectStyle
46
+ }), v({ _: 2 }, [
47
+ h(t(N), (e) => ({
48
+ name: e.slotName,
49
+ fn: n(() => [
50
+ e != null && e.default ? (i(), p(D(e == null ? void 0 : e.default), { key: 0 })) : F("", !0),
51
+ V(P, m(r.$props, {
52
+ widget: e,
53
+ "drag-class": "dragSize1",
54
+ "drag-tip": t($).i18nt("designer.hint.draggableArea1")
55
+ }), null, 16, ["widget", "drag-tip"])
56
+ ])
57
+ }))
58
+ ]), 1040, ["class", "style"]))
59
+ ]),
60
+ _: 1
61
+ }, 16, ["prop-options"]);
62
+ };
63
+ }
64
+ });
65
+ export {
66
+ se as default
67
+ };
@@ -0,0 +1,77 @@
1
+ import { defineComponent as f, computed as d, shallowRef as M, onMounted as b, openBlock as a, createBlock as u, mergeProps as c, unref as o, withCtx as j, createElementVNode as H, normalizeClass as I, normalizeStyle as W, resolveDynamicComponent as q, isRef as x, toHandlers as z } 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 R } from "./template-c30585f4.js";
6
+ import { d as S, k as V } from "./enum-type-287a50b6.js";
7
+ import "./emitter-2b9b9409.js";
8
+ import "./icon-2bb9fa65.js";
9
+ import "./baseImp-8c4be88e.js";
10
+ import "./uuid-39f0308a.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 $ = f({ componentName: R.FieldWidget }), ue = /* @__PURE__ */ f({
26
+ ...$,
27
+ __name: "rich-editor-widget",
28
+ props: { ...N },
29
+ setup(h, { expose: _ }) {
30
+ const g = h, { fieldEditor: v, fieldKey: y, fieldModel: p, rules: E, events: i, getFieldOptions: n, exposed: w, fieldObj: C } = B(g), s = d(() => n("contentHeight")), m = M(), O = () => {
31
+ import("./index-2d29f8d3.js").then((e) => {
32
+ const { quillEditor: r } = e.default;
33
+ m.value = r;
34
+ });
35
+ }, k = S(V(i.value), {
36
+ change: (e) => {
37
+ var t, l;
38
+ const r = e == null ? void 0 : e.html;
39
+ (l = (t = i == null ? void 0 : i.value) == null ? void 0 : t.change) == null || l.call(t, r);
40
+ }
41
+ }), F = d(() => ({
42
+ disabled: n("disabled"),
43
+ placeholder: n("placeholder")
44
+ // modules: {
45
+ // counter: getFieldOptions('showWordLimit')
46
+ // //toolbar: this.customToolbar
47
+ // }
48
+ }));
49
+ return b(() => {
50
+ O();
51
+ }), _({ ...w }), (e, r) => (a(), u(P, c(e.$props, {
52
+ propOptions: { fieldObj: o(C), rules: o(E), isError: e.isError, errorMsg: e.errorMsg }
53
+ }), {
54
+ default: j(({ data: t }) => [
55
+ H("div", {
56
+ class: I(["full-height", t.injectClass]),
57
+ style: W(t.injectStyle)
58
+ }, [
59
+ (a(), u(q(o(m)), c({
60
+ ref_key: "fieldEditor",
61
+ ref: v,
62
+ value: o(p),
63
+ "onUpdate:value": r[0] || (r[0] = (l) => x(p) ? p.value = l : null)
64
+ }, z(o(k)), {
65
+ key: o(y),
66
+ options: o(F),
67
+ style: o(s) ? `height: ${o(s)}` : ""
68
+ }), null, 16, ["value", "options", "style"]))
69
+ ], 6)
70
+ ]),
71
+ _: 1
72
+ }, 16, ["propOptions"]));
73
+ }
74
+ });
75
+ export {
76
+ ue as default
77
+ };
@@ -0,0 +1,54 @@
1
+ import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as y } from "vue";
2
+ import { c as b } from "./share-field-451430de.js";
3
+ import { I as v } from "./field-base-5547436d.js";
4
+ import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bbe0cabe.js";
5
+ import { w as F } from "./template-c30585f4.js";
6
+ import "./enum-type-287a50b6.js";
7
+ import "./emitter-2b9b9409.js";
8
+ import "./icon-2bb9fa65.js";
9
+ import "./baseImp-8c4be88e.js";
10
+ import "./uuid-39f0308a.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 "./index-ffbcbc43.js";
22
+ import "./_plugin-vue_export-helper-dad06003.js";
23
+ const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), T = /* @__PURE__ */ m({
24
+ ...B,
25
+ __name: "router-widget",
26
+ props: { ...v },
27
+ setup(n, { expose: s }) {
28
+ const a = n, { fieldEditor: d, fieldKey: l, exposed: f, getFieldOptions: t, fieldObj: _ } = b(a);
29
+ return s({ ...f }), (r, E) => {
30
+ const c = u("router-view");
31
+ return e(), i(C, g(r.$props, {
32
+ "prop-options": { fieldObj: o(_) }
33
+ }), {
34
+ default: p(() => [
35
+ (e(), i(c, {
36
+ ref_key: "fieldEditor",
37
+ ref: d,
38
+ key: o(l),
39
+ name: o(t)("label")
40
+ }, {
41
+ default: p(() => [
42
+ r.designState ? (e(), k("div", h, w(o(t)("label")), 1)) : y("", !0)
43
+ ]),
44
+ _: 1
45
+ }, 8, ["name"]))
46
+ ]),
47
+ _: 1
48
+ }, 16, ["prop-options"]);
49
+ };
50
+ }
51
+ });
52
+ export {
53
+ T as default
54
+ };