hlrender 0.0.2 → 0.0.4

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 (131) hide show
  1. package/affix-widget-018ddb2e.js +37 -0
  2. package/alert-widget-10f4e6a7.js +37 -0
  3. package/{anchor-widget-19fdee40.js → anchor-widget-9a0af749.js} +15 -14
  4. package/{auto-complete-widget-6b33917d.js → auto-complete-widget-6e138c0f.js} +23 -22
  5. package/avatar-widget-3e5cbb28.js +37 -0
  6. package/backtop-widget-b213f9ae.js +37 -0
  7. package/{badge-widget-f14aa4e0.js → badge-widget-039e51e1.js} +18 -16
  8. package/{baseImp-2f7dc5e5.js → baseImp-39f6ee3c.js} +2197 -2167
  9. package/{breadcrumb-widget-54d0a3e7.js → breadcrumb-widget-53502929.js} +26 -25
  10. package/{button-widget-a97e7cc1.js → button-widget-850524c1.js} +21 -19
  11. package/{cache-widget-e6abe0d7.js → cache-widget-7306328f.js} +17 -16
  12. package/{card-widget-7af5ea12.js → card-widget-80867906.js} +26 -25
  13. package/{carousel-widget-f3d68e50.js → carousel-widget-fa21559c.js} +19 -18
  14. package/{cascader-widget-2b7d38a6.js → cascader-widget-8aca15de.js} +17 -16
  15. package/{chart-widget-480c7775.js → chart-widget-fc1347e2.js} +15 -14
  16. package/{checkbox-widget-57451194.js → checkbox-widget-66634956.js} +17 -16
  17. package/{collapse-widget-bba73e41.js → collapse-widget-4dbed395.js} +19 -18
  18. package/{color-picker-widget-0e4455c0.js → color-picker-widget-37be5424.js} +17 -16
  19. package/{cont-cell-widget-ad2a1d75.js → cont-cell-widget-159651e7.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-3f294d82.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9c632801.js} +5 -5
  21. package/{cont-widget-1c56baa4.js → cont-widget-b225c693.js} +4 -4
  22. package/content-wrapper-0276640c.js +14 -0
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js → content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js} +10 -9
  24. package/{date-picker-range-widget-40d28967.js → date-picker-range-widget-0adcf7b5.js} +17 -16
  25. package/{date-picker-widget-fb90664a.js → date-picker-widget-f621ad32.js} +17 -16
  26. package/default-slot-widget-bf7b2bef.js +24 -0
  27. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e79d72dd.js +76 -0
  28. package/{descriptions-widget-a24a881d.js → descriptions-widget-fcb4ee13.js} +24 -23
  29. package/{dialog-bb8cdc96.js → dialog-50ad7970.js} +2 -2
  30. package/{dialog-widget-8b257456.js → dialog-widget-d47cb628.js} +17 -16
  31. package/{divider-widget-4e4eb2f3.js → divider-widget-31449cc4.js} +18 -16
  32. package/drag-wrapper-2db7a9b7.js +258 -0
  33. package/{drawer-widget-c494426f.js → drawer-widget-519419fd.js} +17 -16
  34. package/{dropdown-widget-aa024f19.js → dropdown-widget-fb4f1df4.js} +16 -15
  35. package/empty-widget-d1ee6e93.js +37 -0
  36. package/{enum-type-6294b15b.js → enum-type-4f7f8848.js} +66 -55
  37. package/{enum-type-38d1c0a4.js → enum-type-7d30197c.js} +48 -45
  38. package/{template-5d46761c.js → expression-75bf8097.js} +7844 -5654
  39. package/feedback-widget-822f7297.js +24 -0
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2cf9c089.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8925f800.js} +5 -5
  41. package/fieldobj-b3bb7e94.js +13 -0
  42. package/{file-upload-widget-76f0e10a.js → file-upload-widget-6a230baf.js} +21 -20
  43. package/form-item-wrapper-851f1a6c.js +97 -0
  44. package/form-widget-f7bb2e58.js +196 -0
  45. package/{grid-col-widget-48573e2c.js → grid-col-widget-234d6c45.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f9546cb7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ea71889d.js} +5 -5
  47. package/{grid-widget-6d9ef0fb.js → grid-widget-bde19481.js} +5 -5
  48. package/{html-text-widget-ecc420ac.js → html-text-widget-1eb54cf1.js} +16 -15
  49. package/{iframe-widget-c417a6db.js → iframe-widget-72a1dbf2.js} +26 -25
  50. package/{image-widget-55687657.js → image-widget-269da907.js} +19 -18
  51. package/{index-e4aa7784.js → index-72739fed.js} +4 -4
  52. package/{index-4e636f1b.js → index-93c9bbb8.js} +1 -1
  53. package/{index-27e99247.js → index-f18071b7.js} +1088 -1022
  54. package/{input-number-widget-f97b1fb1.js → input-number-widget-d4787180.js} +17 -16
  55. package/{input-widget-d4a46dbd.js → input-widget-edbc67f1.js} +18 -17
  56. package/{label-wrapper-69f9a63d.js → label-wrapper-11b0324f.js} +5 -4
  57. package/label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js +63 -0
  58. package/{link-widget-627c6a9c.js → link-widget-12302f15.js} +22 -20
  59. package/{ltable-col-widget-481028b7.js → ltable-col-widget-08c17235.js} +1 -1
  60. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a01c0458.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cacb9190.js} +10 -10
  61. package/{ltable-widget-ce9402c7.js → ltable-widget-b163b470.js} +5 -5
  62. package/{menu-widget-f79d07d0.js → menu-widget-6b2392d2.js} +16 -15
  63. package/{model-widget-437fe932.js → model-widget-b79ca550.js} +15 -14
  64. package/multirow-c7128853.js +230 -0
  65. package/{multirow-widget-a7c1cffe.js → multirow-widget-ffc7abd7.js} +182 -184
  66. package/package.json +1 -1
  67. package/{pagination-widget-1923eda7.js → pagination-widget-3fa6869c.js} +15 -14
  68. package/{picture-upload-widget-ad37149d.js → picture-upload-widget-3e681eab.js} +18 -17
  69. package/progress-widget-2d21d9f8.js +97 -0
  70. package/{propresult-d557cd2e.js → propresult-5bc45f96.js} +1 -1
  71. package/{radio-widget-bb5a0442.js → radio-widget-0a4c9000.js} +17 -16
  72. package/{range-widget-c481b596.js → range-widget-1091858f.js} +18 -17
  73. package/{rate-widget-f1a7d56c.js → rate-widget-597dc881.js} +17 -16
  74. package/render.es.js +1527 -1517
  75. package/render.style.css +1 -1
  76. package/render.umd.js +545 -545
  77. package/{result-widget-2c9d509e.js → result-widget-2366d7c2.js} +16 -15
  78. package/{rich-editor-widget-1c14f188.js → rich-editor-widget-483ee254.js} +23 -22
  79. package/{router-widget-74ee524a.js → router-widget-30845c47.js} +15 -14
  80. package/{select-widget-9fe9d183.js → select-widget-4ae99485.js} +17 -16
  81. package/{sfc-3b3527b3.js → sfc-4dd1268a.js} +84 -84
  82. package/share-field-bc3299a0.js +693 -0
  83. package/{share-file-ec089cec.js → share-file-21d8dea0.js} +15 -15
  84. package/{slider-widget-983452f0.js → slider-widget-1da21bc8.js} +23 -22
  85. package/slot-75afa351.js +127 -0
  86. package/{static-text-widget-f7c89416.js → static-text-widget-0aa8e754.js} +16 -15
  87. package/{steps-widget-39ca7b01.js → steps-widget-ed9433d8.js} +15 -14
  88. package/subMenu-widget-5a945275.js +16 -0
  89. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-84c082d8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-8d60c766.js} +12 -12
  90. package/{switch-widget-8f97e23d.js → switch-widget-436d00c9.js} +17 -16
  91. package/{tab-pane-widget-8b8fa522.js → tab-pane-widget-7c78d30b.js} +1 -1
  92. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5580e8d0.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ecdfcab5.js} +5 -5
  93. package/table-col-widget-8fbec2c8.js +20 -0
  94. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-72ff215a.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0165f966.js} +17 -17
  95. package/{table-widget-318f51d5.js → table-widget-98c0e580.js} +44 -43
  96. package/{tabs-widget-d5e8a2f3.js → tabs-widget-5fca1b53.js} +9 -9
  97. package/tag-widget-16e11318.js +37 -0
  98. package/{text-widget-618c66c0.js → text-widget-d9eeb677.js} +18 -16
  99. package/{textarea-widget-8a724865.js → textarea-widget-95e45d53.js} +17 -16
  100. package/{time-picker-range-widget-a57e1058.js → time-picker-range-widget-aa4c30be.js} +17 -16
  101. package/{time-picker-widget-792c9e71.js → time-picker-widget-999ad593.js} +17 -16
  102. package/{time-select-widget-35d7fb88.js → time-select-widget-a95afa5a.js} +20 -19
  103. package/{tmpl-widget-b3947cb6.js → tmpl-widget-8ee0d2b4.js} +27 -26
  104. package/{tree-select-widget-d8c47b7f.js → tree-select-widget-286290bc.js} +21 -20
  105. package/{tree-widget-d6a860ed.js → tree-widget-8588a7c1.js} +33 -32
  106. package/{uuid-78f330ef.js → uuid-13f918d6.js} +13 -13
  107. package/vertical-progress-widget-fa6b14ff.js +52 -0
  108. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js +273 -0
  109. package/{wrapper-widget-ac97fa8a.js → wrapper-widget-cd7ccd06.js} +6 -6
  110. package/affix-widget-e0e6d00b.js +0 -35
  111. package/avatar-widget-458b99df.js +0 -35
  112. package/backtop-widget-a56e768d.js +0 -35
  113. package/content-wrapper-fb5e79f4.js +0 -14
  114. package/default-slot-widget-454cd4fa.js +0 -22
  115. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js +0 -59
  116. package/drag-wrapper-defb5ecb.js +0 -258
  117. package/empty-widget-be695b01.js +0 -61
  118. package/expression-b4a2f43c.js +0 -2181
  119. package/feedback-widget-b67b8a24.js +0 -23
  120. package/form-item-wrapper-0c9fcf81.js +0 -111
  121. package/form-widget-5cb0527c.js +0 -182
  122. package/label-wrapper.vue_vue_type_style_index_0_lang-3b90d1bd.js +0 -80
  123. package/multirow-ff736df7.js +0 -340
  124. package/multirow-widget copy-75e6aa65.js +0 -855
  125. package/progress-widget-23d3197a.js +0 -49
  126. package/share-field-ab86b13d.js +0 -688
  127. package/slot-84375736.js +0 -17
  128. package/subMenu-widget-00fcdf73.js +0 -16
  129. package/table-col-widget-e6e1ad81.js +0 -20
  130. package/tag-widget-9940f201.js +0 -35
  131. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js +0 -277
@@ -1,21 +1,21 @@
1
- import { ref as x, computed as g } from "vue";
2
- import { d as O, a as f, k as m } from "./enum-type-6294b15b.js";
1
+ import { ref as g, computed as x } from "vue";
2
+ import { d as O, a as f, l as m } from "./enum-type-4f7f8848.js";
3
3
  import { u as re } from "./icon-e9532b43.js";
4
- import { b as ne } from "./share-field-ab86b13d.js";
5
- import { f as s } from "./template-5d46761c.js";
6
- import { k as oe } from "./uuid-78f330ef.js";
7
- import { G as ae, x as v } from "./baseImp-2f7dc5e5.js";
4
+ import { b as ne } from "./share-field-bc3299a0.js";
5
+ import { f as s } from "./expression-75bf8097.js";
6
+ import { k as oe } from "./uuid-13f918d6.js";
7
+ import { H as ae, y as v } from "./baseImp-39f6ee3c.js";
8
8
  function me(S) {
9
- const k = x({});
9
+ const k = g({});
10
10
  let o = [];
11
11
  const B = (e) => {
12
12
  e && (o = oe(e, !0));
13
13
  }, D = () => {
14
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: G, syncUpdateFormModel: C, emitFieldDataChange: M, existEvent: b, handleEvent: d, getWidgetOption: $, rules: j, fieldObj: H } = ne({ ...S, extInitFieldModel: B, exResetField: D }), { instance: K } = re(), N = ae({ instance: K }), F = x({ key: "" }), W = g(() => {
15
+ }, { fieldEditor: E, fieldKey: I, fieldModel: a, field: P, attrs: U, extendAttrs: i, events: T, exposed: V, isError: A, errorMsg: H, syncUpdateFormModel: C, emitFieldDataChange: M, existEvent: b, handleEvent: d, getWidgetOption: $, rules: j, fieldObj: G } = ne({ ...S, extInitFieldModel: B, exResetField: D }), { instance: K } = re(), N = ae({ instance: K }), F = g({ key: "" }), W = x(() => {
16
16
  var e;
17
17
  return o.length >= ((e = i.value) == null ? void 0 : e.limit);
18
- }), q = g(() => {
18
+ }), q = x(() => {
19
19
  var e;
20
20
  return (e = i.value) == null ? void 0 : e.uploadTip;
21
21
  }), J = (e, r) => {
@@ -67,8 +67,8 @@ function me(S) {
67
67
  }, ee = (e, r) => {
68
68
  let n = m(a.value);
69
69
  a.value.splice(e, 1), C(a.value), M(a.value, n);
70
- }, w = x(1), y = g(() => o == null ? void 0 : o.map((e) => e.url)), le = (e) => {
71
- w.value = y.value.indexOf(e);
70
+ }, y = g(1), w = x(() => o == null ? void 0 : o.map((e) => e.url)), le = (e) => {
71
+ y.value = w.value.indexOf(e);
72
72
  };
73
73
  return O(U.value, {
74
74
  onRemove: null,
@@ -87,17 +87,17 @@ function me(S) {
87
87
  fieldModel: a,
88
88
  attrs: U,
89
89
  events: T,
90
- fieldObj: H,
90
+ fieldObj: G,
91
91
  fileList: o,
92
92
  fieldEditor: E,
93
93
  headers: k,
94
94
  uploadBtnHidden: W,
95
95
  uploadData: F,
96
96
  uploadTip: q,
97
- previewIndex: w,
98
- previewList: y,
97
+ previewIndex: y,
98
+ previewList: w,
99
99
  isError: A,
100
- errorMsg: G,
100
+ errorMsg: H,
101
101
  exposed: {
102
102
  ...V
103
103
  // initFileList
@@ -1,25 +1,26 @@
1
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 b, toHandlers as z, createTextVNode as I, toDisplayString as M } from "vue";
2
- import { b as B } from "./share-field-ab86b13d.js";
2
+ import { b as B } from "./share-field-bc3299a0.js";
3
3
  import { I as N } from "./field-base-5547436d.js";
4
- import P from "./form-item-wrapper-0c9fcf81.js";
5
- import { w as S } from "./template-5d46761c.js";
6
- import { k as a } from "./uuid-78f330ef.js";
7
- import "./enum-type-6294b15b.js";
8
- import "./multirow-ff736df7.js";
9
- import "./baseImp-2f7dc5e5.js";
10
- import "./enum-type-38d1c0a4.js";
4
+ import P from "./form-item-wrapper-851f1a6c.js";
5
+ import { w as S } from "./expression-75bf8097.js";
6
+ import { k as a } from "./uuid-13f918d6.js";
7
+ import "./enum-type-4f7f8848.js";
8
+ import "./multirow-c7128853.js";
9
+ import "./baseImp-39f6ee3c.js";
10
+ import "./enum-type-7d30197c.js";
11
11
  import "./icon-e9532b43.js";
12
- import "./dialog-bb8cdc96.js";
12
+ import "./dialog-50ad7970.js";
13
13
  import "element-plus";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
- import "./index-27e99247.js";
16
- import "./slot-84375736.js";
15
+ import "./index-f18071b7.js";
16
+ import "./slot-75afa351.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
19
- import "./index-4e636f1b.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
19
+ import "./index-93c9bbb8.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./label-wrapper.vue_vue_type_style_index_0_lang-3b90d1bd.js";
22
- const W = d({ componentName: S.FieldWidget }), ie = /* @__PURE__ */ d({
21
+ import "./fieldobj-b3bb7e94.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
23
+ const W = d({ componentName: S.FieldWidget }), pe = /* @__PURE__ */ d({
23
24
  ...W,
24
25
  __name: "slider-widget",
25
26
  props: { ...N },
@@ -30,22 +31,22 @@ const W = d({ componentName: S.FieldWidget }), ie = /* @__PURE__ */ d({
30
31
  r.value = a(i, o.value.range);
31
32
  }
32
33
  });
33
- return f({ ...O }), (i, p) => {
34
+ return f({ ...O }), (i, s) => {
34
35
  const w = E("el-slider");
35
36
  return l(), m(P, n(i.$props, {
36
37
  propOptions: { fieldObj: e(k), rules: e(v), isError: e(V), errorMsg: e(j) }
37
38
  }), {
38
- default: F(({ data: s }) => [
39
+ default: F(({ data: p }) => [
39
40
  (l(), m(w, n({
40
41
  ref_key: "fieldEditor",
41
42
  ref: _,
42
43
  modelValue: e(t),
43
- "onUpdate:modelValue": p[0] || (p[0] = (x) => b(t) ? t.value = x : null),
44
+ "onUpdate:modelValue": s[0] || (s[0] = (x) => b(t) ? t.value = x : null),
44
45
  key: e(g)
45
46
  }, e(o), z(e(y)), {
46
- size: s.size,
47
- class: s.injectClass,
48
- style: s.injectStyle
47
+ size: p.size,
48
+ class: p.injectClass,
49
+ style: p.injectStyle
49
50
  }), null, 16, ["modelValue", "size", "class", "style"])),
50
51
  I(" " + M(e(r)), 1)
51
52
  ]),
@@ -55,5 +56,5 @@ const W = d({ componentName: S.FieldWidget }), ie = /* @__PURE__ */ d({
55
56
  }
56
57
  });
57
58
  export {
58
- ie as default
59
+ pe as default
59
60
  };
@@ -0,0 +1,127 @@
1
+ var H = Object.defineProperty;
2
+ var c = (o, l, t) => l in o ? H(o, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[l] = t;
3
+ var n = (o, l, t) => (c(o, typeof l != "symbol" ? l + "" : l, t), t);
4
+ import { inject as e, provide as L, computed as b } from "vue";
5
+ import { d as i, c as f, l as O } from "./expression-75bf8097.js";
6
+ import { B as q } from "./baseImp-39f6ee3c.js";
7
+ import { c as W } from "./uuid-13f918d6.js";
8
+ import { p as T, d as V } from "./enum-type-4f7f8848.js";
9
+ class M {
10
+ constructor() {
11
+ /**
12
+ * 当前表单引用库
13
+ * 假设表单组件位于表单form中,则该引用注册入库
14
+ */
15
+ n(this, "formRefList", {});
16
+ /**
17
+ * 全局引用库
18
+ */
19
+ n(this, "globalRefList", {});
20
+ /**
21
+ * 全局数据对象
22
+ */
23
+ n(this, "globalDataModel", {});
24
+ /**
25
+ * 当前表单名称
26
+ */
27
+ n(this, "globalFormName", "");
28
+ /**
29
+ * 全局页面名称
30
+ */
31
+ // globalPageName?: string = "";
32
+ /**
33
+ * 用于类似template组件的数据绑定传递
34
+ */
35
+ n(this, "rowScope", {});
36
+ /**
37
+ * 渲染器调用者传入的配置参数,如接口地址、密钥等
38
+ */
39
+ n(this, "globalConfig", {});
40
+ }
41
+ static globalInject() {
42
+ const l = new M();
43
+ return l.formRefList = e(i.refList, {}), l.globalRefList = e(i.allRefList, {}), l.globalDataModel = e(i.globalModel, {}), l.rowScope = e(i.rowScope, {}), l.globalFormName = e(i.globalForm, ""), l.globalConfig = e(i.globalConfig, {}), l;
44
+ }
45
+ static globalProvide(l) {
46
+ if ((l == null ? void 0 : l.globalDataModel) !== void 0) {
47
+ const t = (l == null ? void 0 : l.globalDataModel) || {};
48
+ L(i.globalModel, t);
49
+ }
50
+ if ((l == null ? void 0 : l.rowScope) !== void 0) {
51
+ const t = (l == null ? void 0 : l.rowScope) || {};
52
+ L(i.rowScope, t);
53
+ }
54
+ if ((l == null ? void 0 : l.globalRefList) !== void 0) {
55
+ const t = (l == null ? void 0 : l.globalRefList) || {};
56
+ L(i.allRefList, t);
57
+ }
58
+ if ((l == null ? void 0 : l.formRefList) !== void 0) {
59
+ const t = (l == null ? void 0 : l.formRefList) || {};
60
+ L(i.refList, t);
61
+ }
62
+ if ((l == null ? void 0 : l.globalFormName) !== void 0) {
63
+ const t = (l == null ? void 0 : l.globalFormName) || "";
64
+ L(i.globalForm, t);
65
+ }
66
+ if ((l == null ? void 0 : l.globalConfig) !== void 0) {
67
+ const t = (l == null ? void 0 : l.globalConfig) || "";
68
+ L(i.globalConfig, t);
69
+ }
70
+ }
71
+ }
72
+ function Q(o) {
73
+ const l = (g, a = !1) => q.getOptions(o == null ? void 0 : o.widget, g, a, !(o != null && o.designState)), t = b(() => l(f.ctrlWidth) || "auto"), u = b(() => l(f.ctrlHeight) || "auto"), s = b(() => {
74
+ var g = l(f.customClass);
75
+ return Array.isArray(g) ? g == null ? void 0 : g.join(" ") : "";
76
+ }), C = b(() => {
77
+ var g = l(f.componentWrapperClass);
78
+ return Array.isArray(g) ? g == null ? void 0 : g.join(" ") : "";
79
+ }), N = b(() => {
80
+ var g, a;
81
+ return (a = W((g = l(f.required, !0)) == null ? void 0 : g.options)) == null ? void 0 : a.enable;
82
+ }), D = b(() => l(f.displayLayout)), w = b(() => l(f.labelTooltip)), R = b(() => l(f.labelIconClass)), h = b(() => l(f.labelIconPosition)), S = b(() => l(f.labelHidden)), y = b(() => l(f.label)), A = b(() => l(f.labelWidth)), F = b(() => l(f.labelAlign));
83
+ return {
84
+ //size,
85
+ attrs: b(() => ({
86
+ required: N.value,
87
+ label: y.value,
88
+ labelHidden: S.value,
89
+ labelAlign: F.value,
90
+ labelIconClass: R.value,
91
+ labelIconPosition: h.value,
92
+ labelTooltip: w.value,
93
+ labelWidth: A.value,
94
+ ctrlWidth: t.value
95
+ })),
96
+ labelAlign: F,
97
+ labelHidden: S,
98
+ labelIconClass: R,
99
+ labelIconPosition: h,
100
+ labelTooltip: w,
101
+ labelWidth: A,
102
+ label: y,
103
+ displayLayout: D,
104
+ // hidden,
105
+ // required,
106
+ ctrlWidth: t,
107
+ ctrlHeight: u,
108
+ customClass: s,
109
+ componentWrapperClass: C
110
+ };
111
+ }
112
+ const U = (o, l = !0, t) => {
113
+ if (t != null && t === !1)
114
+ return [];
115
+ const u = B(o);
116
+ return l || (o == null ? void 0 : o.length) <= 0 ? u : u == null ? void 0 : u.filter((s) => {
117
+ var C;
118
+ return !!(s != null && s.widgetList) && ((C = s == null ? void 0 : s.widgetList) == null ? void 0 : C.length) > 0 || !!s.default || (s == null ? void 0 : s.slotName) === O.default;
119
+ });
120
+ }, X = (o, l) => o == null ? void 0 : o.find((t) => (t == null ? void 0 : t.slotName) === l), B = (o) => T(o) ? Array.isArray(o) ? o == null ? void 0 : o.map((l) => (V(l, { widgetList: [] }), W(l))) : (console.log("error slots", o), []) : [];
121
+ export {
122
+ M as F,
123
+ X as a,
124
+ Q as c,
125
+ U as g,
126
+ B as i
127
+ };
@@ -1,24 +1,25 @@
1
1
  import { defineComponent as e, openBlock as c, createBlock as d, mergeProps as _, unref as o, withCtx as u, createVNode as x } from "vue";
2
2
  import { I as g } from "./field-base-5547436d.js";
3
- import { b as w } from "./share-field-ab86b13d.js";
4
- import { w as C } from "./template-5d46761c.js";
5
- import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
6
- import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
7
- import { G as h } from "./enum-type-6294b15b.js";
3
+ import { b as w } from "./share-field-bc3299a0.js";
4
+ import { w as C } from "./expression-75bf8097.js";
5
+ import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
6
+ import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js";
7
+ import { H as h } from "./enum-type-4f7f8848.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./multirow-ff736df7.js";
10
- import "./baseImp-2f7dc5e5.js";
11
- import "./uuid-78f330ef.js";
12
- import "./enum-type-38d1c0a4.js";
9
+ import "./multirow-c7128853.js";
10
+ import "./baseImp-39f6ee3c.js";
11
+ import "./uuid-13f918d6.js";
12
+ import "./enum-type-7d30197c.js";
13
13
  import "./icon-e9532b43.js";
14
- import "./dialog-bb8cdc96.js";
14
+ import "./dialog-50ad7970.js";
15
15
  import "element-plus";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
- import "./index-27e99247.js";
18
- import "./slot-84375736.js";
19
- import "./index-4e636f1b.js";
17
+ import "./index-f18071b7.js";
18
+ import "./slot-75afa351.js";
19
+ import "./index-93c9bbb8.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- const k = e({ componentName: C.FieldWidget }), M = /* @__PURE__ */ e({
21
+ import "./fieldobj-b3bb7e94.js";
22
+ const k = e({ componentName: C.FieldWidget }), Q = /* @__PURE__ */ e({
22
23
  ...k,
23
24
  __name: "static-text-widget",
24
25
  props: { ...g },
@@ -44,5 +45,5 @@ const k = e({ componentName: C.FieldWidget }), M = /* @__PURE__ */ e({
44
45
  }
45
46
  });
46
47
  export {
47
- M as default
48
+ Q as default
48
49
  };
@@ -1,23 +1,24 @@
1
1
  import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as M, createElementBlock as S, Fragment as T, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
2
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-3609acb8.js";
4
- import { b as K } from "./share-field-ab86b13d.js";
5
- import { S as W } from "./index-4e636f1b.js";
6
- import { w as q } from "./template-5d46761c.js";
7
- import { c as p } from "./uuid-78f330ef.js";
3
+ import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
4
+ import { b as K } from "./share-field-bc3299a0.js";
5
+ import { S as W } from "./index-93c9bbb8.js";
6
+ import { w as q } from "./expression-75bf8097.js";
7
+ import { c as p } from "./uuid-13f918d6.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./enum-type-6294b15b.js";
10
- import "./index-27e99247.js";
11
- import "./enum-type-38d1c0a4.js";
12
- import "./baseImp-2f7dc5e5.js";
9
+ import "./enum-type-4f7f8848.js";
10
+ import "./index-f18071b7.js";
11
+ import "./enum-type-7d30197c.js";
12
+ import "./baseImp-39f6ee3c.js";
13
13
  import "./icon-e9532b43.js";
14
- import "./dialog-bb8cdc96.js";
14
+ import "./dialog-50ad7970.js";
15
15
  import "element-plus";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
- import "./multirow-ff736df7.js";
18
- import "./slot-84375736.js";
17
+ import "./fieldobj-b3bb7e94.js";
18
+ import "./multirow-c7128853.js";
19
+ import "./slot-75afa351.js";
19
20
  import "./_plugin-vue_export-helper-dad06003.js";
20
- const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }), _e = /* @__PURE__ */ f({
21
+ const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }), fe = /* @__PURE__ */ f({
21
22
  ...D,
22
23
  __name: "steps-widget",
23
24
  props: { ...P },
@@ -84,5 +85,5 @@ const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget
84
85
  }
85
86
  });
86
87
  export {
87
- _e as default
88
+ fe as default
88
89
  };
@@ -0,0 +1,16 @@
1
+ import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-8d60c766.js";
2
+ import "vue";
3
+ import "./index-93c9bbb8.js";
4
+ import "./enum-type-4f7f8848.js";
5
+ import "./icon-e9532b43.js";
6
+ import "./_plugin-vue_export-helper-dad06003.js";
7
+ import "./enum-type-7d30197c.js";
8
+ import "./baseImp-39f6ee3c.js";
9
+ import "./uuid-13f918d6.js";
10
+ import "./expression-75bf8097.js";
11
+ import "./_commonjsHelpers-e7ea1525.js";
12
+ import "./dialog-50ad7970.js";
13
+ import "element-plus";
14
+ export {
15
+ o as default
16
+ };
@@ -1,7 +1,7 @@
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-4e636f1b.js";
3
- import { a9 as a } from "./enum-type-38d1c0a4.js";
4
- import { h as M, P as v } from "./baseImp-2f7dc5e5.js";
1
+ import { defineComponent as g, openBlock as u, createElementBlock as t, Fragment as y, renderList as b, createBlock as a, 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-93c9bbb8.js";
3
+ import { aa as o } from "./enum-type-7d30197c.js";
4
+ import { h as M, P as v } from "./baseImp-39f6ee3c.js";
5
5
  const N = /* @__PURE__ */ g({
6
6
  __name: "subMenu-widget",
7
7
  props: {
@@ -11,17 +11,17 @@ const N = /* @__PURE__ */ g({
11
11
  setup(c) {
12
12
  const k = (n) => {
13
13
  var e;
14
- if (n.menuItemType === a.None || !n.menuItemType)
14
+ if (n.menuItemType === o.None || !n.menuItemType)
15
15
  return ((e = n == null ? void 0 : n.children) == null ? void 0 : e.length) > 0 ? "el-sub-menu" : "el-menu-item";
16
16
  let l = "";
17
17
  switch (n.menuItemType) {
18
- case a.MenuItem:
18
+ case o.MenuItem:
19
19
  l = "el-menu-item";
20
20
  break;
21
- case a.MenuItemGroup:
21
+ case o.MenuItemGroup:
22
22
  l = "el-menu-item-group";
23
23
  break;
24
- case a.SubMenu:
24
+ case o.SubMenu:
25
25
  l = "el-sub-menu";
26
26
  break;
27
27
  default:
@@ -30,7 +30,7 @@ const N = /* @__PURE__ */ g({
30
30
  }
31
31
  return l;
32
32
  };
33
- return (n, l) => (u(!0), t(y, null, b(c.items, (e, f) => (u(), o(C(k(e)), {
33
+ return (n, l) => (u(!0), t(y, null, b(c.items, (e, f) => (u(), a(C(k(e)), {
34
34
  key: f,
35
35
  index: c.useRouter ? e == null ? void 0 : e.route : (e == null ? void 0 : e.value) + "",
36
36
  onClick: (r) => {
@@ -41,7 +41,7 @@ const N = /* @__PURE__ */ g({
41
41
  title: d(() => {
42
42
  var r;
43
43
  return [
44
- ((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) > 0 ? (u(), o(h, {
44
+ ((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) > 0 ? (u(), a(h, {
45
45
  key: 0,
46
46
  name: e == null ? void 0 : e.icon
47
47
  }, null, 8, ["name"])) : I("", !0),
@@ -51,10 +51,10 @@ const N = /* @__PURE__ */ g({
51
51
  default: d(() => {
52
52
  var r;
53
53
  return [
54
- ((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) <= 0 ? (u(), o(h, {
54
+ ((r = e == null ? void 0 : e.children) == null ? void 0 : r.length) <= 0 ? (u(), a(h, {
55
55
  key: 0,
56
56
  name: e == null ? void 0 : e.icon
57
- }, null, 8, ["name"])) : (u(), o(N, {
57
+ }, null, 8, ["name"])) : (u(), a(N, {
58
58
  key: 1,
59
59
  items: e == null ? void 0 : e.children
60
60
  }, null, 8, ["items"]))
@@ -1,25 +1,26 @@
1
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 b } from "vue";
2
- import { w as h } from "./template-5d46761c.js";
3
- import { b as v } from "./share-field-ab86b13d.js";
2
+ import { w as h } from "./expression-75bf8097.js";
3
+ import { b as v } from "./share-field-bc3299a0.js";
4
4
  import { I as x } from "./field-base-5547436d.js";
5
- import z from "./form-item-wrapper-0c9fcf81.js";
5
+ import z from "./form-item-wrapper-851f1a6c.js";
6
+ import "./enum-type-4f7f8848.js";
7
+ import "./uuid-13f918d6.js";
6
8
  import "./_commonjsHelpers-e7ea1525.js";
7
- import "./enum-type-6294b15b.js";
8
- import "./uuid-78f330ef.js";
9
- import "./multirow-ff736df7.js";
10
- import "./baseImp-2f7dc5e5.js";
11
- import "./enum-type-38d1c0a4.js";
9
+ import "./multirow-c7128853.js";
10
+ import "./baseImp-39f6ee3c.js";
11
+ import "./enum-type-7d30197c.js";
12
12
  import "./icon-e9532b43.js";
13
- import "./dialog-bb8cdc96.js";
13
+ import "./dialog-50ad7970.js";
14
14
  import "element-plus";
15
- import "./index-27e99247.js";
16
- import "./slot-84375736.js";
15
+ import "./index-f18071b7.js";
16
+ import "./slot-75afa351.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
19
- import "./index-4e636f1b.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
19
+ import "./index-93c9bbb8.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./label-wrapper.vue_vue_type_style_index_0_lang-3b90d1bd.js";
22
- const I = m({ componentName: h.FieldWidget }), Z = /* @__PURE__ */ m({
21
+ import "./fieldobj-b3bb7e94.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
23
+ const I = m({ componentName: h.FieldWidget }), ee = /* @__PURE__ */ m({
23
24
  ...I,
24
25
  __name: "switch-widget",
25
26
  props: { ...x },
@@ -49,5 +50,5 @@ const I = m({ componentName: h.FieldWidget }), Z = /* @__PURE__ */ m({
49
50
  }
50
51
  });
51
52
  export {
52
- Z as default
53
+ ee as default
53
54
  };
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5580e8d0.js";
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ecdfcab5.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,10 +1,10 @@
1
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-5d46761c.js";
2
+ import { w as u } from "./expression-75bf8097.js";
3
3
  import { I as w } from "./widget-base-4c2d6265.js";
4
- import { D as C } from "./drag-wrapper-defb5ecb.js";
5
- import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
6
- import { c as b } from "./multirow-ff736df7.js";
7
- import { b as h } from "./share-field-ab86b13d.js";
4
+ import { D as C } from "./drag-wrapper-2db7a9b7.js";
5
+ import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
6
+ import { c as b } from "./slot-75afa351.js";
7
+ import { b as h } from "./share-field-bc3299a0.js";
8
8
  const k = s({ componentName: u.ContainerWidget }), j = /* @__PURE__ */ s({
9
9
  ...k,
10
10
  __name: "tab-pane-widget",
@@ -0,0 +1,20 @@
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0165f966.js";
2
+ import "vue";
3
+ import "./enum-type-4f7f8848.js";
4
+ import "./icon-e9532b43.js";
5
+ import "./uuid-13f918d6.js";
6
+ import "./baseImp-39f6ee3c.js";
7
+ import "./enum-type-7d30197c.js";
8
+ import "./expression-75bf8097.js";
9
+ import "./_commonjsHelpers-e7ea1525.js";
10
+ import "./dialog-50ad7970.js";
11
+ import "element-plus";
12
+ import "./drag-wrapper-2db7a9b7.js";
13
+ import "./widget-base-4c2d6265.js";
14
+ import "./index-f18071b7.js";
15
+ import "./slot-75afa351.js";
16
+ import "./_plugin-vue_export-helper-dad06003.js";
17
+ import "./multirow-c7128853.js";
18
+ export {
19
+ o as default
20
+ };
@@ -1,12 +1,12 @@
1
- import { defineComponent as z, resolveComponent as E, openBlock as i, createBlock as a, normalizeProps as I, guardReactiveProps as N, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as l, createElementBlock as F, Fragment as L, renderList as V } from "vue";
2
- import { a as j } from "./enum-type-6294b15b.js";
3
- import { u as q } from "./icon-e9532b43.js";
4
- import { c as R } from "./uuid-78f330ef.js";
5
- import { b as H, G as J } from "./baseImp-2f7dc5e5.js";
6
- import { D as W } from "./drag-wrapper-defb5ecb.js";
7
- import { a as u } from "./slot-84375736.js";
8
- import { b as K } from "./multirow-ff736df7.js";
9
- const M = /* @__PURE__ */ z({
1
+ import { defineComponent as E, resolveComponent as G, openBlock as i, createBlock as a, normalizeProps as H, guardReactiveProps as I, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as l, createElementBlock as F, Fragment as L, renderList as N } from "vue";
2
+ import { a as V } from "./enum-type-4f7f8848.js";
3
+ import { u as j } from "./icon-e9532b43.js";
4
+ import { c as R } from "./uuid-13f918d6.js";
5
+ import { b as q, H as J } from "./baseImp-39f6ee3c.js";
6
+ import { D as W } from "./drag-wrapper-2db7a9b7.js";
7
+ import { a as u } from "./slot-75afa351.js";
8
+ import { b as K } from "./multirow-c7128853.js";
9
+ const M = /* @__PURE__ */ E({
10
10
  __name: "table-col-widget",
11
11
  props: {
12
12
  options: null,
@@ -15,7 +15,7 @@ const M = /* @__PURE__ */ z({
15
15
  propResultOpt: null
16
16
  },
17
17
  setup(t) {
18
- const r = t, { attrs: G, extendAttrs: O, slots: s } = H(
18
+ const r = t, { attrs: O, extendAttrs: P, slots: s } = q(
19
19
  { options: r.options },
20
20
  r.propResultOpt,
21
21
  {
@@ -24,10 +24,10 @@ const M = /* @__PURE__ */ z({
24
24
  s_attr: !0,
25
25
  fn_attr: (c) => !["children"].includes(c)
26
26
  }
27
- ), { newSlot: P } = K(), { instance: T } = q(), g = J({ instance: T });
27
+ ), { newSlot: T } = K(), { instance: $ } = j(), g = J({ instance: $ });
28
28
  return (c, Q) => {
29
- const $ = E("el-table-column");
30
- return i(), a($, I(N(e(G))), {
29
+ const z = G("el-table-column");
30
+ return i(), a(z, H(I(e(O))), {
31
31
  header: v((n) => {
32
32
  var o, d;
33
33
  return [
@@ -41,25 +41,25 @@ const M = /* @__PURE__ */ z({
41
41
  default: v((n) => {
42
42
  var o, d, m, f, S, p, w, h, x, k, y, b, C, B;
43
43
  return [
44
- (((d = (o = t.options) == null ? void 0 : o.children) == null ? void 0 : d.length) || 0) > 0 ? (i(!0), F(L, { key: 0 }, V((m = t.options) == null ? void 0 : m.children, (D, U) => (i(), a(M, {
44
+ (((d = (o = t.options) == null ? void 0 : o.children) == null ? void 0 : d.length) || 0) > 0 ? (i(!0), F(L, { key: 0 }, N((m = t.options) == null ? void 0 : m.children, (D, U) => (i(), a(M, {
45
45
  designState: t.designState,
46
46
  designer: t.designer,
47
47
  key: D.uuid,
48
48
  options: D
49
49
  }, null, 8, ["designState", "designer", "options"]))), 128)) : l("", !0),
50
- (f = e(O)) != null && f.slotable && (t.designState && ((p = (S = r.options) == null ? void 0 : S.default) != null && p.widgetList) || !t.designState || ((x = (h = (w = r.options) == null ? void 0 : w.default) == null ? void 0 : h.widgetList) == null ? void 0 : x.length) > 0) ? (i(), F(L, { key: 1 }, [
50
+ (f = e(P)) != null && f.slotable && (t.designState && ((p = (S = r.options) == null ? void 0 : S.default) != null && p.widgetList) || !t.designState || ((x = (h = (w = r.options) == null ? void 0 : w.default) == null ? void 0 : h.widgetList) == null ? void 0 : x.length) > 0) ? (i(), F(L, { key: 1 }, [
51
51
  t.designState ? (i(), a(W, {
52
52
  key: 0,
53
53
  designState: t.designState,
54
54
  designer: t.designer,
55
55
  widget: e(R)((k = r.options) == null ? void 0 : k.default),
56
- dragTip: e(j).i18nt("designer.hint.draggableArea1"),
56
+ dragTip: e(V).i18nt("designer.hint.draggableArea1"),
57
57
  "row-scope": n
58
58
  }, null, 8, ["designState", "designer", "widget", "dragTip", "row-scope"])) : (i(), a(W, {
59
59
  key: 1,
60
60
  designState: t.designState,
61
61
  designer: t.designer,
62
- widget: e(R)((b = e(P)([(y = r.options) == null ? void 0 : y.default], n, (n == null ? void 0 : n.$index) < 0 ? "header" : n == null ? void 0 : n.$index)) == null ? void 0 : b.widget[0]),
62
+ widget: e(R)((b = e(T)([(y = r.options) == null ? void 0 : y.default], n, (n == null ? void 0 : n.$index) < 0 ? "header" : n == null ? void 0 : n.$index)) == null ? void 0 : b.widget[0]),
63
63
  "row-scope": n
64
64
  }, null, 8, ["designState", "designer", "widget", "row-scope"]))
65
65
  ], 64)) : l("", !0),