hlrender 0.0.88 → 0.0.90

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 (112) hide show
  1. package/{affix-widget-9ab486d0.js → affix-widget-e827514d.js} +16 -16
  2. package/{alert-widget-5cbc7bec.js → alert-widget-0f1ee9e2.js} +16 -16
  3. package/{anchor-widget-d733fdc2.js → anchor-widget-5276e8b4.js} +13 -13
  4. package/{auto-complete-widget-c46f01d4.js → auto-complete-widget-824c99fc.js} +16 -16
  5. package/{avatar-widget-7a25fbc2.js → avatar-widget-e74e617e.js} +16 -16
  6. package/{backtop-widget-6b3f8312.js → backtop-widget-7b709e51.js} +16 -16
  7. package/{badge-widget-40cb0a60.js → badge-widget-0dd553b2.js} +16 -16
  8. package/{baseImp-d99dbe62.js → baseImp-5e9f6c21.js} +242 -242
  9. package/{breadcrumb-widget-2b26e9b7.js → breadcrumb-widget-e47bcad3.js} +13 -13
  10. package/{button-widget-d86e6b3a.js → button-widget-fac68f85.js} +16 -16
  11. package/{cache-widget-a4ecd5ef.js → cache-widget-9a93e7f9.js} +15 -15
  12. package/{card-widget-ebe10b92.js → card-widget-30706434.js} +14 -14
  13. package/{carousel-widget-bfc485a8.js → carousel-widget-b4b62c45.js} +14 -14
  14. package/{cascader-widget-34cc11f0.js → cascader-widget-c6951ba6.js} +15 -15
  15. package/{chart-widget-7bd7b549.js → chart-widget-0e8b4938.js} +13 -13
  16. package/{checkbox-widget-5acdfc69.js → checkbox-widget-464da2ec.js} +15 -15
  17. package/{collapse-widget-403fc9be.js → collapse-widget-1aadcf3b.js} +14 -14
  18. package/{color-picker-widget-fab59394.js → color-picker-widget-8e63f592.js} +15 -15
  19. package/{cont-cell-widget-6207400f.js → cont-cell-widget-e3e723d0.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8f80fe02.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4116c02f.js} +5 -5
  21. package/{cont-widget-16eff328.js → cont-widget-833a2cc8.js} +5 -5
  22. package/{content-wrapper-35ca728f.js → content-wrapper-c80522ba.js} +7 -7
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-8c10d167.js → content-wrapper.vue_vue_type_script_setup_true_lang-dc339d2c.js} +3 -3
  24. package/{date-picker-range-widget-fadc0715.js → date-picker-range-widget-67cd9553.js} +15 -15
  25. package/{date-picker-widget-15006f37.js → date-picker-widget-d136ed28.js} +15 -15
  26. package/default-slot-widget-b67fee9a.js +26 -0
  27. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-ed809fcc.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-abd6eca8.js} +11 -11
  28. package/{descriptions-widget-cb279909.js → descriptions-widget-3a341f1c.js} +14 -14
  29. package/{dialog-5c3187ca.js → dialog-47f6c88e.js} +2 -2
  30. package/{dialog-widget-0679cb19.js → dialog-widget-afeea4fe.js} +15 -15
  31. package/{divider-widget-c35b14b6.js → divider-widget-b8ac07a9.js} +16 -16
  32. package/{drag-wrapper-aecc6ab4.js → drag-wrapper-e9b9ecc5.js} +6 -6
  33. package/{drawer-widget-ebfd4ca1.js → drawer-widget-28eb655b.js} +15 -15
  34. package/{dropdown-widget-6c1f06bd.js → dropdown-widget-876118d9.js} +14 -14
  35. package/{empty-widget-cd372700.js → empty-widget-035c7ae7.js} +16 -16
  36. package/{enum-type-10ef6800.js → enum-type-493ca5fb.js} +49 -49
  37. package/{enum-type-885ba874.js → enum-type-f8c7654b.js} +1 -1
  38. package/{expression-f1d0ef38.js → expression-6a929144.js} +4 -4
  39. package/feedback-widget-e6515822.js +26 -0
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-66601e83.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-efb8bfdf.js} +5 -5
  41. package/{fieldobj-19d22b9e.js → fieldobj-658deb6a.js} +3 -3
  42. package/{file-upload-widget-451fd500.js → file-upload-widget-4e774f00.js} +16 -16
  43. package/{form-item-wrapper-4a937d7c.js → form-item-wrapper-4d5d5aea.js} +11 -11
  44. package/{form-widget-d00f21bd.js → form-widget-a64ff3e5.js} +30 -30
  45. package/{grid-col-widget-a87661cf.js → grid-col-widget-d6b07995.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b14a3e37.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-43413ead.js} +5 -5
  47. package/{grid-widget-490caf75.js → grid-widget-99c58fcc.js} +5 -5
  48. package/{html-text-widget-4b65aeee.js → html-text-widget-a2577861.js} +14 -14
  49. package/{iframe-widget-6b337a68.js → iframe-widget-f0c8998a.js} +13 -13
  50. package/{image-widget-400d2a7a.js → image-widget-d840c0f5.js} +13 -13
  51. package/{index-465a2473.js → index-05c0fa7f.js} +1 -1
  52. package/{index-6d08607f.js → index-7d635a2e.js} +4 -4
  53. package/{index-f2a4e760.js → index-a3039561.js} +5 -5
  54. package/{input-number-widget-c517d53d.js → input-number-widget-3393c446.js} +15 -15
  55. package/{input-widget-d0b02a2a.js → input-widget-7468b85a.js} +16 -16
  56. package/{label-wrapper-3191ce31.js → label-wrapper-a369c106.js} +5 -5
  57. package/{label-wrapper.vue_vue_type_style_index_0_lang-24831683.js → label-wrapper.vue_vue_type_style_index_0_lang-cbeb0230.js} +3 -3
  58. package/{link-widget-24781b4d.js → link-widget-0dfd9bb0.js} +16 -16
  59. package/{ltable-col-widget-e2b72f11.js → ltable-col-widget-8563fd25.js} +1 -1
  60. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f618e042.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c0b14fd6.js} +10 -10
  61. package/{ltable-widget-5e91a1ca.js → ltable-widget-41dd7e16.js} +5 -5
  62. package/{menu-widget-db26029a.js → menu-widget-3034be21.js} +14 -14
  63. package/{model-widget-1745d96b.js → model-widget-a9f60da9.js} +13 -13
  64. package/{multirow-2ec46a69.js → multirow-64cb721f.js} +22 -22
  65. package/{multirow-widget-4a5dc543.js → multirow-widget-826ff2ea.js} +15 -15
  66. package/package.json +1 -1
  67. package/{pagination-widget-04f510b6.js → pagination-widget-39b53106.js} +13 -13
  68. package/{picture-upload-widget-86c02c01.js → picture-upload-widget-7a70a28d.js} +16 -16
  69. package/{progress-widget-e5dd6f1a.js → progress-widget-db964bc8.js} +14 -14
  70. package/{propresult-8f2196af.js → propresult-690661a9.js} +1 -1
  71. package/{radio-widget-1e6744c0.js → radio-widget-449805f5.js} +15 -15
  72. package/{range-widget-48534c97.js → range-widget-60927044.js} +16 -16
  73. package/{rate-widget-54a70e53.js → rate-widget-0b0a0c9e.js} +15 -15
  74. package/render.es.js +151 -151
  75. package/render.style.css +1 -1
  76. package/render.umd.js +190 -190
  77. package/{result-widget-ab5043c8.js → result-widget-5169fc9c.js} +14 -14
  78. package/{rich-editor-widget-c0b77cd3.js → rich-editor-widget-113a1274.js} +22 -22
  79. package/{router-widget-5b504b79.js → router-widget-dd32bdcc.js} +13 -13
  80. package/select-widget-48207888.js +342 -0
  81. package/{sfc-a8463b85.js → sfc-f79a5537.js} +58 -58
  82. package/{share-field-6b8c8747.js → share-field-4ad79e1a.js} +95 -94
  83. package/{share-file-fabcffbf.js → share-file-20adf548.js} +16 -16
  84. package/{slider-widget-7acc8a41.js → slider-widget-013a24a9.js} +15 -15
  85. package/{slot-1745e904.js → slot-7ebda734.js} +3 -3
  86. package/{static-text-widget-3ce17da6.js → static-text-widget-8bbb0a2e.js} +14 -14
  87. package/{steps-widget-ce34b384.js → steps-widget-c264e42a.js} +13 -13
  88. package/{subMenu-widget-ad5c6782.js → subMenu-widget-44b84ee4.js} +8 -8
  89. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-da9f112b.js → subMenu-widget.vue_vue_type_script_setup_true_lang-b6179538.js} +3 -3
  90. package/{switch-widget-d40019f3.js → switch-widget-b7ba7dbf.js} +15 -15
  91. package/{tab-pane-widget-afd079dc.js → tab-pane-widget-125d6044.js} +1 -1
  92. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-211a910a.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-29bab423.js} +5 -5
  93. package/table-col-widget-ee2e176e.js +22 -0
  94. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-106d1c74.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-036c5143.js} +6 -6
  95. package/{table-widget-c547ea04.js → table-widget-f2b94cda.js} +15 -15
  96. package/{tabs-widget-03d8f55b.js → tabs-widget-774c5a0b.js} +11 -11
  97. package/{tag-widget-5d4fc2ad.js → tag-widget-e1b1f50a.js} +16 -16
  98. package/{text-widget-2e4c1bd7.js → text-widget-a7ba3961.js} +16 -16
  99. package/{textarea-widget-84edcdb7.js → textarea-widget-5b245431.js} +15 -15
  100. package/{time-picker-range-widget-a61f20ed.js → time-picker-range-widget-47952cc5.js} +15 -15
  101. package/{time-picker-widget-37dfac3b.js → time-picker-widget-c3a706e0.js} +15 -15
  102. package/{time-select-widget-a7d74fe4.js → time-select-widget-c6c07b7f.js} +15 -15
  103. package/{tmpl-widget-4c48be39.js → tmpl-widget-04694761.js} +27 -27
  104. package/{tree-select-widget-61f96b2b.js → tree-select-widget-ba6a6430.js} +15 -15
  105. package/{tree-widget-c8d224d2.js → tree-widget-2e12e4cc.js} +13 -13
  106. package/{uuid-fa486ad4.js → uuid-42b6e595.js} +1 -1
  107. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js} +7 -7
  108. package/{wrapper-widget-8cd6520c.js → wrapper-widget-e13eb50a.js} +6 -6
  109. package/default-slot-widget-b22c5d0b.js +0 -26
  110. package/feedback-widget-ddc0fa37.js +0 -26
  111. package/select-widget-383e7ba7.js +0 -338
  112. package/table-col-widget-5e1fba03.js +0 -22
@@ -1,23 +1,23 @@
1
- import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
2
- import { a as E, f as J } from "./enum-type-10ef6800.js";
1
+ import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as c, unref as t, withCtx as M, createElementBlock as n, Fragment as u, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
2
+ import { a as E, f as J } from "./enum-type-493ca5fb.js";
3
3
  import { I as q } from "./widget-base-4c2d6265.js";
4
- import { b as G } from "./share-field-6b8c8747.js";
5
- import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
6
- import { D as v } from "./drag-wrapper-aecc6ab4.js";
7
- import { i as K, a as Q } from "./slot-1745e904.js";
8
- import { c as U } from "./multirow-2ec46a69.js";
9
- import { g as X } from "./expression-f1d0ef38.js";
10
- import { t as Y } from "./uuid-fa486ad4.js";
4
+ import { b as G } from "./share-field-4ad79e1a.js";
5
+ import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
6
+ import { D as v } from "./drag-wrapper-e9b9ecc5.js";
7
+ import { i as K, a as Q } from "./slot-7ebda734.js";
8
+ import { c as U } from "./multirow-64cb721f.js";
9
+ import { g as X } from "./expression-6a929144.js";
10
+ import { t as Y } from "./uuid-42b6e595.js";
11
11
  import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
12
12
  import "./icon-e9532b43.js";
13
- import "./baseImp-d99dbe62.js";
14
- import "./enum-type-885ba874.js";
15
- import "./dialog-5c3187ca.js";
13
+ import "./baseImp-5e9f6c21.js";
14
+ import "./enum-type-f8c7654b.js";
15
+ import "./dialog-47f6c88e.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "element-plus";
18
- import "./index-f2a4e760.js";
19
- import "./index-465a2473.js";
20
- import "./fieldobj-19d22b9e.js";
18
+ import "./index-a3039561.js";
19
+ import "./index-05c0fa7f.js";
20
+ import "./fieldobj-658deb6a.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
23
23
  const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
@@ -26,22 +26,22 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
26
26
  ...q
27
27
  },
28
28
  setup(h, { expose: y }) {
29
- const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = G(f), O = I(() => K(g.value)), { getSlotFromData: V, emit$: C, rowsData: p, getValue: N, setValue: W } = U({
29
+ const f = h, { slots: g, exposed: D, attrs: i, events: k, fieldObj: S, fieldName: x, watchOption: $ } = G(f), b = I(() => K(g.value)), { getSlotFromData: O, emit$: C, rowsData: p, getValue: N, setValue: V } = U({
30
30
  ...f,
31
31
  fieldName: x.value
32
- }), _ = (e) => W(Y(J(e), !0), (r) => b(r)), l = T(!1), w = (e = !1) => {
32
+ }), _ = (e) => V(Y(J(e), !0), (r) => W(r)), l = T(!1), w = (e = !1) => {
33
33
  $(e, X.data, () => {
34
34
  l.value = !0;
35
35
  }, (r) => {
36
36
  var o, s;
37
- _(r), setTimeout(() => {
37
+ console.log(r), _(r), setTimeout(() => {
38
38
  l.value = !1;
39
39
  }, 1e3), (s = (o = k.value) == null ? void 0 : o.completed) == null || s.call(o, r);
40
40
  });
41
- }, b = (e) => {
41
+ }, W = (e) => {
42
42
  var o;
43
43
  const r = (o = i == null ? void 0 : i.value) != null && o.alwaysShow ? [{}] : null;
44
- return V(g.value, e || r);
44
+ return O(g.value, e || r);
45
45
  };
46
46
  return j(() => {
47
47
  w(!0);
@@ -53,22 +53,22 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
53
53
  getValue: N
54
54
  }), (e, r) => {
55
55
  const o = L("loading");
56
- return a(), d(H, u(e.$props, {
56
+ return a(), d(H, c(e.$props, {
57
57
  "prop-options": { fieldObj: t(S) },
58
58
  "show-wrapper-component": !0
59
59
  }), {
60
60
  default: M(() => {
61
61
  var s;
62
62
  return [
63
- e.designState ? (a(), d(v, u({ key: 0 }, e.$props, {
64
- widget: t(Q)(t(O), "row"),
63
+ e.designState ? (a(), d(v, c({ key: 0 }, e.$props, {
64
+ widget: t(Q)(t(b), "row"),
65
65
  dragClass: "dragSize"
66
- }), null, 16, ["widget"])) : (a(), n(c, { key: 1 }, [
66
+ }), null, 16, ["widget"])) : (a(), n(u, { key: 1 }, [
67
67
  t(p) && ((s = t(p)) == null ? void 0 : s.length) > 0 ? P((a(), n("div", {
68
68
  key: 0,
69
69
  "element-loading-text": t(i).loadingText
70
70
  }, [
71
- (a(!0), n(c, null, R(t(p), (m, B) => (a(), d(v, u({
71
+ (a(!0), n(u, null, R(t(p), (m, B) => (a(), d(v, c({
72
72
  key: m.key
73
73
  }, e.$props, {
74
74
  widget: m.widget[0],
@@ -78,7 +78,7 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
78
78
  }), null, 16, ["widget", "row-scope"]))), 128))
79
79
  ], 8, ee)), [
80
80
  [o, t(i).showLoading && l.value]
81
- ]) : (a(), n(c, { key: 1 }, [
81
+ ]) : (a(), n(u, { key: 1 }, [
82
82
  z(A(t(i).noData || t(E).i18nt("designer.hint.noData")), 1)
83
83
  ], 64))
84
84
  ], 64))
@@ -89,7 +89,7 @@ const ee = ["element-loading-text"], te = /* @__PURE__ */ F({
89
89
  };
90
90
  }
91
91
  });
92
- const xe = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-03255958"]]);
92
+ const xe = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-b3f000ce"]]);
93
93
  export {
94
94
  xe as default
95
95
  };
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
2
- import { s as f } from "./enum-type-10ef6800.js";
3
- import { t as D } from "./uuid-fa486ad4.js";
2
+ import { s as f } from "./enum-type-493ca5fb.js";
3
+ import { t as D } from "./uuid-42b6e595.js";
4
4
  import { I as te } from "./field-base-5547436d.js";
5
- import { b as oe } from "./share-field-6b8c8747.js";
6
- import re from "./form-item-wrapper-4a937d7c.js";
7
- import { g as y, w as le } from "./expression-f1d0ef38.js";
5
+ import { b as oe } from "./share-field-4ad79e1a.js";
6
+ import re from "./form-item-wrapper-4d5d5aea.js";
7
+ import { g as y, w as le } from "./expression-6a929144.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./multirow-2ec46a69.js";
10
- import "./baseImp-d99dbe62.js";
11
- import "./enum-type-885ba874.js";
9
+ import "./multirow-64cb721f.js";
10
+ import "./baseImp-5e9f6c21.js";
11
+ import "./enum-type-f8c7654b.js";
12
12
  import "./icon-e9532b43.js";
13
- import "./dialog-5c3187ca.js";
13
+ import "./dialog-47f6c88e.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "element-plus";
16
- import "./index-f2a4e760.js";
17
- import "./slot-1745e904.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
19
- import "./index-465a2473.js";
16
+ import "./index-a3039561.js";
17
+ import "./slot-7ebda734.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
19
+ import "./index-05c0fa7f.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-19d22b9e.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-24831683.js";
21
+ import "./fieldobj-658deb6a.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-cbeb0230.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const se = T({ componentName: le.FieldWidget }), Pe = /* @__PURE__ */ T({
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
2
2
  import { I as R } from "./field-base-5547436d.js";
3
- import { b as U } from "./share-field-6b8c8747.js";
4
- import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
5
- import { g as n, w as G } from "./expression-f1d0ef38.js";
6
- import { s as a } from "./enum-type-10ef6800.js";
3
+ import { b as U } from "./share-field-4ad79e1a.js";
4
+ import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
5
+ import { g as n, w as G } from "./expression-6a929144.js";
6
+ import { s as a } from "./enum-type-493ca5fb.js";
7
7
  import "./widget-base-4c2d6265.js";
8
- import "./multirow-2ec46a69.js";
9
- import "./baseImp-d99dbe62.js";
10
- import "./uuid-fa486ad4.js";
11
- import "./enum-type-885ba874.js";
8
+ import "./multirow-64cb721f.js";
9
+ import "./baseImp-5e9f6c21.js";
10
+ import "./uuid-42b6e595.js";
11
+ import "./enum-type-f8c7654b.js";
12
12
  import "./icon-e9532b43.js";
13
- import "./dialog-5c3187ca.js";
13
+ import "./dialog-47f6c88e.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "element-plus";
16
- import "./index-f2a4e760.js";
17
- import "./slot-1745e904.js";
18
- import "./index-465a2473.js";
16
+ import "./index-a3039561.js";
17
+ import "./slot-7ebda734.js";
18
+ import "./index-05c0fa7f.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-19d22b9e.js";
20
+ import "./fieldobj-658deb6a.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
23
23
  const J = h({ componentName: G.FieldWidget }), ve = /* @__PURE__ */ h({
@@ -1,4 +1,4 @@
1
- import { e as f } from "./enum-type-10ef6800.js";
1
+ import { e as f } from "./enum-type-493ca5fb.js";
2
2
  function p(e) {
3
3
  if (!f(e))
4
4
  return e;
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as de, resolveComponent as V, openBlock as l, createElementBlock as v, Fragment as N, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ee, withCtx as a, createElementVNode as U, renderList as te, createTextVNode as c, toDisplayString as k, withModifiers as w, unref as n, renderSlot as O, computed as S, ref as ne, resolveDynamicComponent as ie, mergeProps as z, toHandlers as ae } from "vue";
2
- import { c as re } from "./uuid-fa486ad4.js";
2
+ import { c as re } from "./uuid-42b6e595.js";
3
3
  import { I as pe, a as ue } from "./widget-base-4c2d6265.js";
4
- import { a as g, N as se } from "./enum-type-10ef6800.js";
5
- import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-f2a4e760.js";
6
- import { S as m } from "./index-465a2473.js";
7
- import { f as ve } from "./baseImp-d99dbe62.js";
8
- import { c as Q } from "./enum-type-885ba874.js";
9
- import { u as ye } from "./fieldobj-19d22b9e.js";
4
+ import { a as g, N as se } from "./enum-type-493ca5fb.js";
5
+ import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-a3039561.js";
6
+ import { S as m } from "./index-05c0fa7f.js";
7
+ import { f as ve } from "./baseImp-5e9f6c21.js";
8
+ import { c as Q } from "./enum-type-f8c7654b.js";
9
+ import { u as ye } from "./fieldobj-658deb6a.js";
10
10
  const We = { key: 0 }, he = { class: "clWhite" }, Ce = { class: "clWhite" }, ce = ["title"], ke = ["title"], Le = ["title"], be = ["title"], $e = /* @__PURE__ */ de({
11
11
  __name: "drag-handler",
12
12
  props: { ...pe, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
@@ -1,11 +1,11 @@
1
1
  import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
2
2
  import { I as k } from "./widget-base-4c2d6265.js";
3
- import { D as A } from "./drag-wrapper-aecc6ab4.js";
4
- import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
5
- import { w as F } from "./expression-f1d0ef38.js";
6
- import { W as v } from "./enum-type-885ba874.js";
7
- import { b as N, a as $ } from "./share-field-6b8c8747.js";
8
- import { c as E } from "./slot-1745e904.js";
3
+ import { D as A } from "./drag-wrapper-e9b9ecc5.js";
4
+ import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
5
+ import { w as F } from "./expression-6a929144.js";
6
+ import { W as v } from "./enum-type-f8c7654b.js";
7
+ import { b as N, a as $ } from "./share-field-4ad79e1a.js";
8
+ import { c as E } from "./slot-7ebda734.js";
9
9
  function H(i) {
10
10
  const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: m, fieldKey: f, fieldObj: g } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
11
11
  l(v.setDisabled, { flag: o });
@@ -1,26 +0,0 @@
1
- import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-ed809fcc.js";
2
- import "vue";
3
- import "./enum-type-10ef6800.js";
4
- import "./field-base-5547436d.js";
5
- import "./widget-base-4c2d6265.js";
6
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
7
- import "./uuid-fa486ad4.js";
8
- import "./index-f2a4e760.js";
9
- import "./enum-type-885ba874.js";
10
- import "./baseImp-d99dbe62.js";
11
- import "./icon-e9532b43.js";
12
- import "./expression-f1d0ef38.js";
13
- import "./source-map-b04aec4a.js";
14
- import "./_commonjsHelpers-e7ea1525.js";
15
- import "./esprima-e8d15055.js";
16
- import "./dialog-5c3187ca.js";
17
- import "element-plus";
18
- import "./index-465a2473.js";
19
- import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-19d22b9e.js";
21
- import "./slot-1745e904.js";
22
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-8c10d167.js";
23
- import "./drag-wrapper-aecc6ab4.js";
24
- export {
25
- o as default
26
- };
@@ -1,26 +0,0 @@
1
- import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-66601e83.js";
2
- import "vue";
3
- import "./widget-base-4c2d6265.js";
4
- import "./drag-wrapper-aecc6ab4.js";
5
- import "./baseImp-d99dbe62.js";
6
- import "./enum-type-10ef6800.js";
7
- import "./uuid-fa486ad4.js";
8
- import "./enum-type-885ba874.js";
9
- import "./icon-e9532b43.js";
10
- import "./expression-f1d0ef38.js";
11
- import "./source-map-b04aec4a.js";
12
- import "./_commonjsHelpers-e7ea1525.js";
13
- import "./esprima-e8d15055.js";
14
- import "./dialog-5c3187ca.js";
15
- import "element-plus";
16
- import "./index-f2a4e760.js";
17
- import "./slot-1745e904.js";
18
- import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
20
- import "./index-465a2473.js";
21
- import "./fieldobj-19d22b9e.js";
22
- import "./share-field-6b8c8747.js";
23
- import "./multirow-2ec46a69.js";
24
- export {
25
- o as default
26
- };
@@ -1,338 +0,0 @@
1
- import { defineComponent as se, ref as z, computed as ae, shallowRef as re, watch as Ae, resolveComponent as P, openBlock as t, createBlock as v, mergeProps as K, unref as e, withCtx as f, isRef as te, toHandlers as ue, createElementBlock as k, createVNode as Fe, createTextVNode as Ie, toDisplayString as we, createCommentVNode as O, Fragment as g, renderList as N, resolveDynamicComponent as j } from "vue";
2
- import { g as T, a as H } from "./enum-type-10ef6800.js";
3
- import { d as ze } from "./baseImp-d99dbe62.js";
4
- import { t as ne } from "./uuid-fa486ad4.js";
5
- import { b as Ne } from "./share-field-6b8c8747.js";
6
- import { I as Se } from "./field-base-5547436d.js";
7
- import Be from "./form-item-wrapper-4a937d7c.js";
8
- import { g as Ee, w as Pe } from "./expression-f1d0ef38.js";
9
- import { a as oe } from "./slot-1745e904.js";
10
- import "./enum-type-885ba874.js";
11
- import "./icon-e9532b43.js";
12
- import "./dialog-5c3187ca.js";
13
- import "./_commonjsHelpers-e7ea1525.js";
14
- import "element-plus";
15
- import "./multirow-2ec46a69.js";
16
- import "./index-f2a4e760.js";
17
- import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js";
19
- import "./index-465a2473.js";
20
- import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-19d22b9e.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-24831683.js";
23
- import "./source-map-b04aec4a.js";
24
- import "./esprima-e8d15055.js";
25
- const De = {
26
- key: 0,
27
- class: "el-select-dropdown__item"
28
- }, Ue = se({ componentName: Pe.FieldWidget }), il = /* @__PURE__ */ se({
29
- ...Ue,
30
- __name: "select-widget",
31
- props: { ...Se },
32
- setup(de, { expose: ie }) {
33
- const ve = de, {
34
- fieldEditor: q,
35
- fieldKey: J,
36
- fieldModel: p,
37
- objFieldModel: Q,
38
- rules: ce,
39
- attrs: c,
40
- extendAttrs: u,
41
- events: X,
42
- slots: fe,
43
- exposed: ye,
44
- fieldObj: me,
45
- setOptionItems: pe,
46
- getFieldOptions: he,
47
- getWidgetOption: Y,
48
- getCheckedOptionItems: ke,
49
- watchOption: ge
50
- } = Ne(ve), A = z(), F = z(), _e = z(!1), I = (l) => {
51
- var a, r;
52
- return (a = u.value) != null && a.allItemAsValue ? l : l == null ? void 0 : l[(r = u.value) == null ? void 0 : r.valueKey];
53
- }, D = ae({
54
- get: () => ne(p.value, !1),
55
- set: (l) => {
56
- p.value = l;
57
- }
58
- }), U = ae({
59
- get: () => Q.value == null ? [] : ne(L(Q.value), !0),
60
- set: (l) => {
61
- p.value = L(l);
62
- }
63
- }), B = z(!1);
64
- let y = re(), S = re();
65
- Ae(fe, (l) => {
66
- var a, r;
67
- y.value = (a = oe(l, "optionDefault")) == null ? void 0 : a.default, S.value = (r = oe(l, "prefix")) == null ? void 0 : r.default;
68
- }, { immediate: !0 });
69
- var W = Y("filterMethod");
70
- const be = (l, a) => {
71
- var n;
72
- if (W) {
73
- var r = (n = F.value) == null ? void 0 : n.filter((d) => {
74
- var h, m;
75
- var V = ze(W, { keyword: l, option: { ...d, label: d == null ? void 0 : d[(h = u.value) == null ? void 0 : h.labelKey], value: d == null ? void 0 : d[(m = u.value) == null ? void 0 : m.valueKey] } });
76
- return V;
77
- });
78
- a && a(r);
79
- }
80
- };
81
- W && Object.assign(c.value, { filterMethod: (l) => {
82
- G(l, be);
83
- } });
84
- var Z = Y("remoteMethod");
85
- const G = (l, a) => {
86
- a && (_e.value = !0, l ? (B.value = !0, a(l, (r) => {
87
- A.value = r, B.value = !1;
88
- })) : A.value = F.value);
89
- };
90
- Z && Object.assign(c.value, { remoteMethod: (l) => {
91
- G(l, Z);
92
- } });
93
- const x = () => {
94
- var a;
95
- var l = he("valueKey");
96
- return l ? (a = F == null ? void 0 : F.value) == null ? void 0 : a.map((r) => r == null ? void 0 : r[l]) : [];
97
- };
98
- var Ke = () => {
99
- if (!p.value)
100
- return !1;
101
- if (!Array.isArray(p.value))
102
- return !0;
103
- var l = x();
104
- return !(l != null && l.some((a) => {
105
- var r;
106
- return ((r = p.value) == null ? void 0 : r.indexOf(a)) === -1;
107
- }));
108
- };
109
- const ee = z(Ke()), Oe = (l) => {
110
- l ? p.value = x() : p.value = [];
111
- }, $ = z(), L = (l) => {
112
- var o, C, M;
113
- const a = T(l);
114
- if (!((o = c == null ? void 0 : c.value) != null && o.multiple) || !((C = u == null ? void 0 : u.value) != null && C.selectOnlyOneGroup) || (a == null ? void 0 : a.length) <= 0)
115
- return $.value = a, (M = c == null ? void 0 : c.value) != null && M.multiple ? a : a == null ? void 0 : a[0];
116
- for (var r = "", n = [], d = T(A.value), V = a.length - 1; V >= 0; V--) {
117
- const s = a[V];
118
- var h = d == null ? void 0 : d.some((i) => s === (i == null ? void 0 : i.value));
119
- h && n.push(s);
120
- var m = d == null ? void 0 : d.find((i) => {
121
- var _;
122
- return (_ = T(i == null ? void 0 : i.children)) == null ? void 0 : _.some((w) => s === (w == null ? void 0 : w.value));
123
- });
124
- (m && (m == null ? void 0 : m.value) === r || !r) && (n.push(s), r || (r = m == null ? void 0 : m.value));
125
- }
126
- return $.value = n, n;
127
- }, Ve = (l) => L(l), E = (l) => {
128
- var a;
129
- if (p.value !== void 0)
130
- return (a = c.value) != null && a.remote ? $.value : ke(l);
131
- }, Ce = (l) => {
132
- var a, r;
133
- return (r = (a = E(l)) == null ? void 0 : a.map((n) => {
134
- var d;
135
- return n == null ? void 0 : n[(d = u.value) == null ? void 0 : d.labelKey];
136
- })) == null ? void 0 : r.join(",");
137
- }, Me = (l) => {
138
- var a;
139
- return (a = E(l)) == null ? void 0 : a.map((r) => {
140
- var n;
141
- return r == null ? void 0 : r[(n = u.value) == null ? void 0 : n.labelKey];
142
- });
143
- }, je = (l) => {
144
- var a;
145
- return (a = E(l)) == null ? void 0 : a.map((r) => {
146
- var n;
147
- return r == null ? void 0 : r[(n = u.value) == null ? void 0 : n.valueKey];
148
- });
149
- }, le = (l) => {
150
- F.value = l, A.value = l, pe(l);
151
- };
152
- return ge(!0, Ee.optionItems, void 0, (l) => {
153
- le(l);
154
- }), ie({
155
- ...ye,
156
- handleBeforeChange: Ve,
157
- loadOptionItems: le,
158
- getCheckedItems: E,
159
- getCheckedLabels: Me,
160
- getCheckedValues: je,
161
- getCheckedText: Ce
162
- }), (l, a) => {
163
- const r = P("el-checkbox"), n = P("el-option"), d = P("el-option-group"), V = P("el-select");
164
- return t(), v(Be, K(l.$props, {
165
- propOptions: { fieldObj: e(me), rules: e(ce) }
166
- }), {
167
- default: f(({ data: h }) => {
168
- var m;
169
- return [
170
- (m = e(c)) != null && m.multiple ? (t(), v(V, K({
171
- ref_key: "fieldEditor",
172
- ref: q,
173
- modelValue: e(U),
174
- "onUpdate:modelValue": a[1] || (a[1] = (o) => te(U) ? U.value = o : null),
175
- key: `${e(J)}_multiple`
176
- }, e(c), ue(e(X)), {
177
- "value-key": e(u).valueKey,
178
- loading: B.value,
179
- size: h.size,
180
- class: h.injectClass,
181
- style: h.injectStyle,
182
- placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
183
- }), {
184
- default: f(() => {
185
- var o, C, M;
186
- return [
187
- e(c).multiple && !e(u).selectOnlyOneGroup ? (t(), k("li", De, [
188
- Fe(r, {
189
- modelValue: ee.value,
190
- "onUpdate:modelValue": a[0] || (a[0] = (s) => ee.value = s),
191
- indeterminate: ((o = e(p)) == null ? void 0 : o.length) < (((C = A.value) == null ? void 0 : C.length) || 0) && ((M = e(p)) == null ? void 0 : M.length) !== 0,
192
- onChange: Oe
193
- }, {
194
- default: f(() => [
195
- Ie(we(e(H).i18nt("designer.hint.checkAll")), 1)
196
- ]),
197
- _: 1
198
- }, 8, ["modelValue", "indeterminate"])
199
- ])) : O("", !0),
200
- (t(!0), k(g, null, N(A.value, (s, i) => {
201
- var _, w;
202
- return t(), k(g, {
203
- key: s.value
204
- }, [
205
- ((_ = s == null ? void 0 : s.children) == null ? void 0 : _.length) > 0 ? (t(), k(g, { key: 0 }, [
206
- (w = e(u)) != null && w.showGroup ? (t(), v(d, {
207
- label: s[e(u).labelKey],
208
- key: i
209
- }, {
210
- default: f(() => [
211
- (t(!0), k(g, null, N(s.children, (b, R) => (t(), v(n, {
212
- value: I(b),
213
- label: b[e(u).labelKey],
214
- key: R
215
- }, {
216
- default: f(() => [
217
- e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: b }, {
218
- key: b[e(u).valueKey]
219
- }), null, 16)) : O("", !0)
220
- ]),
221
- _: 2
222
- }, 1032, ["value", "label"]))), 128))
223
- ]),
224
- _: 2
225
- }, 1032, ["label"])) : (t(!0), k(g, { key: 1 }, N(s.children, (b, R) => (t(), v(n, {
226
- value: I(b),
227
- label: b[e(u).labelKey],
228
- key: R
229
- }, {
230
- default: f(() => [
231
- e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: b }, {
232
- key: b[e(u).valueKey]
233
- }), null, 16)) : O("", !0)
234
- ]),
235
- _: 2
236
- }, 1032, ["value", "label"]))), 128))
237
- ], 64)) : (t(), v(n, {
238
- value: I(s),
239
- label: s[e(u).labelKey],
240
- key: i
241
- }, {
242
- default: f(() => [
243
- e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: s }, {
244
- key: s[e(u).valueKey]
245
- }), null, 16)) : O("", !0)
246
- ]),
247
- _: 2
248
- }, 1032, ["value", "label"]))
249
- ], 64);
250
- }), 128))
251
- ];
252
- }),
253
- prefix: f(() => [
254
- e(S) ? (t(), v(j(e(S)), { key: 0 })) : O("", !0)
255
- ]),
256
- _: 2
257
- }, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"])) : (t(), v(V, K({
258
- ref_key: "fieldEditor",
259
- ref: q,
260
- modelValue: e(D),
261
- "onUpdate:modelValue": a[2] || (a[2] = (o) => te(D) ? D.value = o : null),
262
- key: `${e(J)}_single`
263
- }, e(c), ue(e(X)), {
264
- "value-key": e(u).valueKey,
265
- loading: B.value,
266
- size: h.size,
267
- class: h.injectClass,
268
- style: h.injectStyle,
269
- placeholder: e(c).placeholder || e(H).i18nt("render.hint.selectPlaceholder")
270
- }), {
271
- default: f(() => [
272
- (t(!0), k(g, null, N(A.value, (o, C) => {
273
- var M, s;
274
- return t(), k(g, {
275
- key: o.value
276
- }, [
277
- ((M = o == null ? void 0 : o.children) == null ? void 0 : M.length) > 0 ? (t(), k(g, { key: 0 }, [
278
- (s = e(u)) != null && s.showGroup ? (t(), v(d, {
279
- label: o[e(u).labelKey],
280
- key: C
281
- }, {
282
- default: f(() => [
283
- (t(!0), k(g, null, N(o.children, (i, _) => (t(), v(n, {
284
- value: I(i),
285
- label: i[e(u).labelKey],
286
- key: _
287
- }, {
288
- default: f(() => [
289
- e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: i }, {
290
- key: i[e(u).valueKey]
291
- }), null, 16)) : O("", !0)
292
- ]),
293
- _: 2
294
- }, 1032, ["value", "label"]))), 128))
295
- ]),
296
- _: 2
297
- }, 1032, ["label"])) : (t(!0), k(g, { key: 1 }, N(o.children, (i, _) => (t(), v(n, {
298
- value: I(i),
299
- label: i[e(u).labelKey],
300
- key: _
301
- }, {
302
- default: f(() => [
303
- e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: i }, {
304
- key: i[e(u).valueKey]
305
- }), null, 16)) : O("", !0)
306
- ]),
307
- _: 2
308
- }, 1032, ["value", "label"]))), 128))
309
- ], 64)) : (t(), v(n, {
310
- value: I(o),
311
- label: o[e(u).labelKey],
312
- key: C
313
- }, {
314
- default: f(() => [
315
- e(y) ? (t(), v(j(e(y)), K({ key: 0 }, { item: o }, {
316
- key: o[e(u).valueKey]
317
- }), null, 16)) : O("", !0)
318
- ]),
319
- _: 2
320
- }, 1032, ["value", "label"]))
321
- ], 64);
322
- }), 128))
323
- ]),
324
- prefix: f(() => [
325
- e(S) ? (t(), v(j(e(S)), { key: 0 })) : O("", !0)
326
- ]),
327
- _: 2
328
- }, 1040, ["modelValue", "value-key", "loading", "size", "class", "style", "placeholder"]))
329
- ];
330
- }),
331
- _: 1
332
- }, 16, ["propOptions"]);
333
- };
334
- }
335
- });
336
- export {
337
- il as default
338
- };
@@ -1,22 +0,0 @@
1
- import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-106d1c74.js";
2
- import "vue";
3
- import "./enum-type-10ef6800.js";
4
- import "./uuid-fa486ad4.js";
5
- import "./baseImp-d99dbe62.js";
6
- import "./enum-type-885ba874.js";
7
- import "./icon-e9532b43.js";
8
- import "./expression-f1d0ef38.js";
9
- import "./source-map-b04aec4a.js";
10
- import "./_commonjsHelpers-e7ea1525.js";
11
- import "./esprima-e8d15055.js";
12
- import "./dialog-5c3187ca.js";
13
- import "element-plus";
14
- import "./drag-wrapper-aecc6ab4.js";
15
- import "./widget-base-4c2d6265.js";
16
- import "./index-f2a4e760.js";
17
- import "./slot-1745e904.js";
18
- import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./multirow-2ec46a69.js";
20
- export {
21
- o as default
22
- };