hlrender 0.0.4 → 0.0.6

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 (136) hide show
  1. package/{affix-widget-018ddb2e.js → affix-widget-87f571a2.js} +17 -17
  2. package/{alert-widget-10f4e6a7.js → alert-widget-6a08264c.js} +16 -16
  3. package/{anchor-widget-9a0af749.js → anchor-widget-3af9f1f8.js} +14 -14
  4. package/auto-complete-widget-863befe4.js +72 -0
  5. package/{avatar-widget-3e5cbb28.js → avatar-widget-f46eda28.js} +17 -17
  6. package/{backtop-widget-b213f9ae.js → backtop-widget-72db194f.js} +17 -17
  7. package/{badge-widget-039e51e1.js → badge-widget-5b18304c.js} +17 -17
  8. package/{baseImp-39f6ee3c.js → baseImp-55a31c78.js} +3168 -3030
  9. package/{breadcrumb-widget-53502929.js → breadcrumb-widget-aa83ee8f.js} +14 -14
  10. package/{button-widget-850524c1.js → button-widget-50016859.js} +17 -17
  11. package/{cache-widget-7306328f.js → cache-widget-39816985.js} +16 -16
  12. package/{card-widget-80867906.js → card-widget-53b290e6.js} +25 -25
  13. package/{carousel-widget-fa21559c.js → carousel-widget-147d17eb.js} +17 -17
  14. package/{cascader-widget-8aca15de.js → cascader-widget-96259add.js} +39 -39
  15. package/{chart-widget-fc1347e2.js → chart-widget-5be8c83d.js} +14 -14
  16. package/checkbox-widget-9449d643.js +77 -0
  17. package/{collapse-widget-4dbed395.js → collapse-widget-dcdc2356.js} +17 -17
  18. package/color-picker-widget-bfe0eec3.js +54 -0
  19. package/{cont-cell-widget-159651e7.js → cont-cell-widget-a49846a7.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9c632801.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4d1b8bcb.js} +5 -5
  21. package/{cont-widget-b225c693.js → cont-widget-f3836343.js} +4 -4
  22. package/content-wrapper-d1b17003.js +14 -0
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js → content-wrapper.vue_vue_type_script_setup_true_lang-75cf4b25.js} +8 -8
  24. package/date-picker-range-widget-229520ea.js +70 -0
  25. package/date-picker-widget-188eaac5.js +76 -0
  26. package/default-slot-widget-eb3b4aff.js +24 -0
  27. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e79d72dd.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-52cd0b7f.js} +7 -7
  28. package/{descriptions-widget-fcb4ee13.js → descriptions-widget-2a479788.js} +14 -14
  29. package/{dialog-50ad7970.js → dialog-d87ab558.js} +2 -2
  30. package/{dialog-widget-d47cb628.js → dialog-widget-33009ce9.js} +15 -15
  31. package/{divider-widget-31449cc4.js → divider-widget-39dd6a1b.js} +17 -17
  32. package/{drag-wrapper-2db7a9b7.js → drag-wrapper-207a28e8.js} +16 -16
  33. package/{drawer-widget-519419fd.js → drawer-widget-adbb75db.js} +15 -15
  34. package/{dropdown-widget-fb4f1df4.js → dropdown-widget-ea5629f2.js} +14 -14
  35. package/{empty-widget-d1ee6e93.js → empty-widget-6763a79c.js} +17 -17
  36. package/{enum-type-4f7f8848.js → enum-type-64b61a45.js} +87 -70
  37. package/{enum-type-7d30197c.js → enum-type-ebccb1d4.js} +38 -38
  38. package/{expression-75bf8097.js → expression-0623ba51.js} +964 -957
  39. package/feedback-widget-06cb1f22.js +24 -0
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8925f800.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-fdccc54b.js} +5 -5
  41. package/{fieldobj-b3bb7e94.js → fieldobj-d3e96d51.js} +1 -1
  42. package/file-upload-widget-6c5914c8.js +96 -0
  43. package/form-item-wrapper-2d82bad7.js +86 -0
  44. package/form-widget-0f8a1a0d.js +212 -0
  45. package/{grid-col-widget-234d6c45.js → grid-col-widget-43710db5.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ea71889d.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5bc5bdb6.js} +5 -5
  47. package/{grid-widget-bde19481.js → grid-widget-89e86247.js} +5 -5
  48. package/{html-text-widget-1eb54cf1.js → html-text-widget-d98a3cfc.js} +18 -18
  49. package/{iframe-widget-72a1dbf2.js → iframe-widget-a66f109c.js} +14 -14
  50. package/{image-widget-269da907.js → image-widget-4ccf8a08.js} +13 -13
  51. package/{index-f18071b7.js → index-9a0ea20e.js} +196 -198
  52. package/{index-72739fed.js → index-c7185b92.js} +4 -4
  53. package/{index-93c9bbb8.js → index-f6f4c499.js} +1 -1
  54. package/input-number-widget-70cbdcaa.js +64 -0
  55. package/input-widget-3205407a.js +69 -0
  56. package/{label-wrapper-11b0324f.js → label-wrapper-bf5bb22b.js} +5 -5
  57. package/{label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js → label-wrapper.vue_vue_type_style_index_0_lang-5f3ac18a.js} +3 -3
  58. package/{link-widget-12302f15.js → link-widget-0cbccee4.js} +17 -17
  59. package/{ltable-col-widget-08c17235.js → ltable-col-widget-fbdb0bcc.js} +1 -1
  60. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cacb9190.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6fdd4861.js} +10 -10
  61. package/{ltable-widget-b163b470.js → ltable-widget-4591c2d1.js} +5 -5
  62. package/{menu-widget-6b2392d2.js → menu-widget-bf3c83b8.js} +15 -15
  63. package/{model-widget-b79ca550.js → model-widget-461a906b.js} +13 -13
  64. package/multirow-49d1711a.js +226 -0
  65. package/{multirow-widget-ffc7abd7.js → multirow-widget-4ef17834.js} +34 -34
  66. package/package.json +1 -1
  67. package/{pagination-widget-3fa6869c.js → pagination-widget-b47189e7.js} +13 -13
  68. package/picture-upload-widget-28058ff6.js +100 -0
  69. package/progress-widget-4260b2b1.js +119 -0
  70. package/{propresult-5bc45f96.js → propresult-15711ec7.js} +1 -1
  71. package/radio-widget-d9fb0abe.js +77 -0
  72. package/{range-widget-1091858f.js → range-widget-9dac1e43.js} +17 -17
  73. package/rate-widget-82f5e770.js +54 -0
  74. package/render.es.js +142 -141
  75. package/render.style.css +1 -1
  76. package/render.umd.js +525 -525
  77. package/{result-widget-2366d7c2.js → result-widget-4eb3b43d.js} +15 -15
  78. package/rich-editor-widget-1baaee5d.js +75 -0
  79. package/{router-widget-30845c47.js → router-widget-778e07b4.js} +14 -14
  80. package/{select-widget-4ae99485.js → select-widget-4ac628f5.js} +85 -85
  81. package/{sfc-4dd1268a.js → sfc-061cfc5d.js} +85 -85
  82. package/share-field-5ab4a421.js +686 -0
  83. package/{share-file-21d8dea0.js → share-file-df8cf883.js} +15 -15
  84. package/slider-widget-4c710047.js +60 -0
  85. package/{slot-75afa351.js → slot-f5b09143.js} +6 -6
  86. package/{static-text-widget-0aa8e754.js → static-text-widget-b5d505ba.js} +15 -15
  87. package/{steps-widget-ed9433d8.js → steps-widget-b4814b03.js} +14 -14
  88. package/subMenu-widget-bd425443.js +16 -0
  89. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-8d60c766.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a1cef8dd.js} +7 -7
  90. package/switch-widget-a497d6dd.js +54 -0
  91. package/{tab-pane-widget-7c78d30b.js → tab-pane-widget-7284c298.js} +1 -1
  92. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ecdfcab5.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-8f54ee57.js} +5 -5
  93. package/table-col-widget-b0cc4dbf.js +20 -0
  94. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0165f966.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-cb167eb4.js} +17 -17
  95. package/{table-widget-98c0e580.js → table-widget-d4a39355.js} +23 -23
  96. package/{tabs-widget-5fca1b53.js → tabs-widget-e7d303a6.js} +9 -9
  97. package/{tag-widget-16e11318.js → tag-widget-966dfdb0.js} +17 -17
  98. package/{text-widget-d9eeb677.js → text-widget-1bb1ac49.js} +17 -17
  99. package/textarea-widget-74c6bdaa.js +54 -0
  100. package/time-picker-range-widget-49785c91.js +56 -0
  101. package/time-picker-widget-2d632c0a.js +55 -0
  102. package/time-select-widget-d1aac015.js +55 -0
  103. package/{tmpl-widget-8ee0d2b4.js → tmpl-widget-3c125136.js} +15 -15
  104. package/{tree-select-widget-286290bc.js → tree-select-widget-abfb90a7.js} +16 -16
  105. package/{tree-widget-8588a7c1.js → tree-widget-3ec1dbae.js} +14 -14
  106. package/{uuid-13f918d6.js → uuid-63cb6ed5.js} +12 -12
  107. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js} +25 -25
  108. package/{wrapper-widget-cd7ccd06.js → wrapper-widget-aaf5aebe.js} +6 -6
  109. package/auto-complete-widget-6e138c0f.js +0 -72
  110. package/checkbox-widget-66634956.js +0 -77
  111. package/color-picker-widget-37be5424.js +0 -54
  112. package/content-wrapper-0276640c.js +0 -14
  113. package/date-picker-range-widget-0adcf7b5.js +0 -70
  114. package/date-picker-widget-f621ad32.js +0 -76
  115. package/default-slot-widget-bf7b2bef.js +0 -24
  116. package/feedback-widget-822f7297.js +0 -24
  117. package/file-upload-widget-6a230baf.js +0 -96
  118. package/form-item-wrapper-851f1a6c.js +0 -97
  119. package/form-widget-f7bb2e58.js +0 -196
  120. package/input-number-widget-d4787180.js +0 -64
  121. package/input-widget-edbc67f1.js +0 -69
  122. package/multirow-c7128853.js +0 -230
  123. package/picture-upload-widget-3e681eab.js +0 -100
  124. package/progress-widget-2d21d9f8.js +0 -97
  125. package/radio-widget-0a4c9000.js +0 -77
  126. package/rate-widget-597dc881.js +0 -54
  127. package/rich-editor-widget-483ee254.js +0 -75
  128. package/share-field-bc3299a0.js +0 -693
  129. package/slider-widget-1da21bc8.js +0 -60
  130. package/subMenu-widget-5a945275.js +0 -16
  131. package/switch-widget-436d00c9.js +0 -54
  132. package/table-col-widget-8fbec2c8.js +0 -20
  133. package/textarea-widget-95e45d53.js +0 -54
  134. package/time-picker-range-widget-aa4c30be.js +0 -56
  135. package/time-picker-widget-999ad593.js +0 -55
  136. package/time-select-widget-a95afa5a.js +0 -55
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as z, ref as u, resolveComponent as w, resolveDirective as I, openBlock as l, createBlock as r, normalizeStyle as R, withCtx as i, createElementVNode as b, unref as t, createTextVNode as c, toDisplayString as f, createCommentVNode as m, withDirectives as S, createElementBlock as B } from "vue";
2
- import { a as p } from "./enum-type-4f7f8848.js";
3
- import { a as _ } from "./enum-type-7d30197c.js";
4
- import { I as D } from "./dialog-50ad7970.js";
5
- import { u as N } from "./uuid-13f918d6.js";
2
+ import { a as p } from "./enum-type-64b61a45.js";
3
+ import { a as _ } from "./enum-type-ebccb1d4.js";
4
+ import { I as D } from "./dialog-d87ab558.js";
5
+ import { u as N } from "./uuid-63cb6ed5.js";
6
6
  const O = { style: { width: "99%", height: "99%", margin: "0 auto" } }, P = ["src", "id"], $ = { class: "dialog-footer" }, j = /* @__PURE__ */ z({
7
7
  __name: "index",
8
8
  props: { ...D },
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as d, ref as w, shallowRef as z, watch as C, isRef as I, resolveComponent as N, unref as t, openBlock as s, createElementBlock as _, normalizeClass as S, createElementVNode as b, toDisplayString as B, createCommentVNode as $, createBlock as h, withCtx as D, resolveDynamicComponent as E } from "vue";
2
- import { n as R } from "./enum-type-4f7f8848.js";
2
+ import { p as R } from "./enum-type-64b61a45.js";
3
3
  import { u as L, r as V } from "./icon-e9532b43.js";
4
4
  import { _ as W } from "./_plugin-vue_export-helper-dad06003.js";
5
5
  const j = ["width", "height", "color"], q = ["xlink:href"], A = {
@@ -0,0 +1,64 @@
1
+ import { defineComponent as d, resolveComponent as C, openBlock as r, createBlock as m, mergeProps as l, unref as e, withCtx as E, createElementVNode as N, isRef as j, toHandlers as F, createElementBlock as I, toDisplayString as O, createCommentVNode as W } from "vue";
2
+ import { b as h } from "./share-field-5ab4a421.js";
3
+ import { I as z } from "./field-base-5547436d.js";
4
+ import B from "./form-item-wrapper-2d82bad7.js";
5
+ import { w as M } from "./expression-0623ba51.js";
6
+ import { _ as P } from "./_plugin-vue_export-helper-dad06003.js";
7
+ import "./enum-type-64b61a45.js";
8
+ import "./multirow-49d1711a.js";
9
+ import "./baseImp-55a31c78.js";
10
+ import "./uuid-63cb6ed5.js";
11
+ import "./enum-type-ebccb1d4.js";
12
+ import "./icon-e9532b43.js";
13
+ import "./dialog-d87ab558.js";
14
+ import "./_commonjsHelpers-e7ea1525.js";
15
+ import "element-plus";
16
+ import "./index-9a0ea20e.js";
17
+ import "./slot-f5b09143.js";
18
+ import "./widget-base-4c2d6265.js";
19
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
20
+ import "./index-f6f4c499.js";
21
+ import "./fieldobj-d3e96d51.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-5f3ac18a.js";
23
+ const S = { class: "input-with-unit" }, T = {
24
+ key: 0,
25
+ class: "unit"
26
+ }, A = d({ componentName: M.FieldWidget }), D = /* @__PURE__ */ d({
27
+ ...A,
28
+ __name: "input-number-widget",
29
+ props: { ...z },
30
+ setup(u, { expose: _ }) {
31
+ const a = u, { fieldEditor: c, fieldKey: f, fieldModel: t, rules: y, attrs: g, events: b, extendAttrs: i, exposed: x, isError: H, errorMsg: K, fieldObj: v } = h(a);
32
+ return _({ ...x }), (k, p) => {
33
+ const V = C("el-input-number");
34
+ return r(), m(B, l(k.$props, {
35
+ propOptions: { fieldObj: e(v), rules: e(y) }
36
+ }), {
37
+ default: E(({ data: o }) => {
38
+ var s, n;
39
+ return [
40
+ N("div", S, [
41
+ (r(), m(V, l({
42
+ ref_key: "fieldEditor",
43
+ ref: c,
44
+ modelValue: e(t),
45
+ "onUpdate:modelValue": p[0] || (p[0] = (w) => j(t) ? t.value = w : null),
46
+ key: e(f)
47
+ }, e(g), F(e(b)), {
48
+ size: o.size,
49
+ class: o.injectClass,
50
+ style: o.injectStyle
51
+ }), null, 16, ["modelValue", "size", "class", "style"])),
52
+ (s = e(i)) != null && s.unitText ? (r(), I("span", T, O((n = e(i)) == null ? void 0 : n.unitText), 1)) : W("", !0)
53
+ ])
54
+ ];
55
+ }),
56
+ _: 1
57
+ }, 16, ["propOptions"]);
58
+ };
59
+ }
60
+ });
61
+ const ue = /* @__PURE__ */ P(D, [["__scopeId", "data-v-3617c648"]]);
62
+ export {
63
+ ue as default
64
+ };
@@ -0,0 +1,69 @@
1
+ import { defineComponent as f, resolveComponent as S, openBlock as t, createBlock as i, mergeProps as n, unref as r, withCtx as s, isRef as z, toHandlers as D, createSlots as E, renderList as I, resolveDynamicComponent as N, createCommentVNode as l } from "vue";
2
+ import { a as W } from "./enum-type-64b61a45.js";
3
+ import { I as h } from "./field-base-5547436d.js";
4
+ import { b as x } from "./share-field-5ab4a421.js";
5
+ import { g as A } from "./slot-f5b09143.js";
6
+ import B from "./form-item-wrapper-2d82bad7.js";
7
+ import { w as L } from "./expression-0623ba51.js";
8
+ import { D as M } from "./drag-wrapper-207a28e8.js";
9
+ import "./widget-base-4c2d6265.js";
10
+ import "./multirow-49d1711a.js";
11
+ import "./baseImp-55a31c78.js";
12
+ import "./uuid-63cb6ed5.js";
13
+ import "./enum-type-ebccb1d4.js";
14
+ import "./icon-e9532b43.js";
15
+ import "./dialog-d87ab558.js";
16
+ import "./_commonjsHelpers-e7ea1525.js";
17
+ import "element-plus";
18
+ import "./index-9a0ea20e.js";
19
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
20
+ import "./index-f6f4c499.js";
21
+ import "./_plugin-vue_export-helper-dad06003.js";
22
+ import "./fieldobj-d3e96d51.js";
23
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-5f3ac18a.js";
24
+ const P = f({ componentName: L.FieldWidget }), le = /* @__PURE__ */ f({
25
+ ...P,
26
+ __name: "input-widget",
27
+ props: { ...h },
28
+ setup(u, { expose: g }) {
29
+ const c = u, { fieldEditor: y, isError: T, errorMsg: $, fieldKey: w, fieldModel: o, rules: b, slots: k, attrs: C, extendAttrs: V, events: j, exposed: v, fieldObj: F } = x(c);
30
+ return g({ ...v }), (p, a) => {
31
+ const O = S("el-input");
32
+ return t(), i(B, n(p.$props, {
33
+ propOptions: { fieldObj: r(F), rules: r(b) }
34
+ }), {
35
+ default: s(({ data: m }) => {
36
+ var d;
37
+ return [
38
+ (t(), i(O, n({
39
+ ref_key: "fieldEditor",
40
+ ref: y,
41
+ modelValue: r(o),
42
+ "onUpdate:modelValue": a[0] || (a[0] = (e) => z(o) ? o.value = e : null)
43
+ }, r(C), D(r(j)), {
44
+ class: [m.injectClass, "hide-spin-button"],
45
+ key: r(w),
46
+ style: m.injectStyle,
47
+ size: m.size
48
+ }), E({ _: 2 }, [
49
+ I(r(A)(r(k), p.designState, (d = r(V)) == null ? void 0 : d.slotable), (e) => ({
50
+ name: e == null ? void 0 : e.slotName,
51
+ fn: s(() => [
52
+ e != null && e.default ? (t(), i(N(e == null ? void 0 : e.default), { key: 0 })) : l("", !0),
53
+ e != null && e.widgetList ? (t(), i(M, n({ key: 1 }, p.$props, {
54
+ widget: e,
55
+ dragTip: r(W).i18nt("designer.hint.draggableArea1")
56
+ }), null, 16, ["widget", "dragTip"])) : l("", !0)
57
+ ])
58
+ }))
59
+ ]), 1040, ["modelValue", "class", "style", "size"]))
60
+ ];
61
+ }),
62
+ _: 1
63
+ }, 16, ["propOptions"]);
64
+ };
65
+ }
66
+ });
67
+ export {
68
+ le as default
69
+ };
@@ -1,13 +1,13 @@
1
- import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-a26e9dd9.js";
1
+ import { _ as o } from "./label-wrapper.vue_vue_type_style_index_0_lang-5f3ac18a.js";
2
2
  import "vue";
3
3
  import "./field-base-5547436d.js";
4
4
  import "./widget-base-4c2d6265.js";
5
- import "./index-93c9bbb8.js";
6
- import "./enum-type-4f7f8848.js";
5
+ import "./index-f6f4c499.js";
6
+ import "./enum-type-64b61a45.js";
7
7
  import "./icon-e9532b43.js";
8
8
  import "./_plugin-vue_export-helper-dad06003.js";
9
- import "./enum-type-7d30197c.js";
10
- import "./fieldobj-b3bb7e94.js";
9
+ import "./enum-type-ebccb1d4.js";
10
+ import "./fieldobj-d3e96d51.js";
11
11
  export {
12
12
  o as default
13
13
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as h, computed as s, resolveComponent as x, unref as e, openBlock as n, createElementBlock as a, normalizeClass as S, Fragment as o, createVNode as t, withCtx as y, createTextVNode as i, toDisplayString as m } from "vue";
2
2
  import { I as T } from "./field-base-5547436d.js";
3
- import { S as b } from "./index-93c9bbb8.js";
4
- import { f as d } from "./enum-type-7d30197c.js";
5
- import { u as v } from "./fieldobj-b3bb7e94.js";
3
+ import { S as b } from "./index-f6f4c499.js";
4
+ import { f as d } from "./enum-type-ebccb1d4.js";
5
+ import { u as v } from "./fieldobj-d3e96d51.js";
6
6
  const w = { key: 1 }, z = /* @__PURE__ */ h({
7
7
  __name: "label-wrapper",
8
8
  props: {
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as l, openBlock as e, createBlock as r, mergeProps as g, unref as o, withCtx as w, createCommentVNode as a, createVNode as N } from "vue";
2
2
  import { I as O } from "./field-base-5547436d.js";
3
- import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-e79d72dd.js";
4
- import { w as b } from "./expression-75bf8097.js";
5
- import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-124746aa.js";
6
- import { S as c } from "./index-93c9bbb8.js";
7
- import { b as F } from "./share-field-bc3299a0.js";
3
+ import { _ as P } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-52cd0b7f.js";
4
+ import { w as b } from "./expression-0623ba51.js";
5
+ import { _ as C } from "./content-wrapper.vue_vue_type_script_setup_true_lang-75cf4b25.js";
6
+ import { S as c } from "./index-f6f4c499.js";
7
+ import { b as F } from "./share-field-5ab4a421.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./enum-type-4f7f8848.js";
10
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
11
- import "./uuid-13f918d6.js";
12
- import "./index-f18071b7.js";
13
- import "./enum-type-7d30197c.js";
14
- import "./baseImp-39f6ee3c.js";
9
+ import "./enum-type-64b61a45.js";
10
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
11
+ import "./uuid-63cb6ed5.js";
12
+ import "./index-9a0ea20e.js";
13
+ import "./enum-type-ebccb1d4.js";
14
+ import "./baseImp-55a31c78.js";
15
15
  import "./icon-e9532b43.js";
16
- import "./dialog-50ad7970.js";
17
- import "element-plus";
16
+ import "./dialog-d87ab558.js";
18
17
  import "./_commonjsHelpers-e7ea1525.js";
19
- import "./fieldobj-b3bb7e94.js";
20
- import "./slot-75afa351.js";
21
- import "./drag-wrapper-2db7a9b7.js";
18
+ import "element-plus";
19
+ import "./fieldobj-d3e96d51.js";
20
+ import "./slot-f5b09143.js";
21
+ import "./drag-wrapper-207a28e8.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
- import "./multirow-c7128853.js";
23
+ import "./multirow-49d1711a.js";
24
24
  const S = l({ componentName: b.FieldWidget }), Z = /* @__PURE__ */ l({
25
25
  ...S,
26
26
  __name: "link-widget",
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cacb9190.js";
1
+ import { _ as e } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6fdd4861.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as B, computed as n, resolveComponent as k, openBlock as ce, createBlock as be, mergeProps as O, unref as l, withCtx as d, createVNode as s, createTextVNode as v, toDisplayString as p, createElementVNode as Ce } from "vue";
2
- import { a } from "./enum-type-4f7f8848.js";
3
- import { c as $ } from "./uuid-13f918d6.js";
4
- import { w as fe } from "./expression-75bf8097.js";
2
+ import { a } from "./enum-type-64b61a45.js";
3
+ import { c as $ } from "./uuid-63cb6ed5.js";
4
+ import { w as fe } from "./expression-0623ba51.js";
5
5
  import { I as Re } from "./widget-base-4c2d6265.js";
6
- import { a as $e, b as We } from "./index-f18071b7.js";
7
- import { b as Ae } from "./share-field-bc3299a0.js";
8
- import { c as ke } from "./slot-75afa351.js";
9
- import { B as A } from "./baseImp-39f6ee3c.js";
10
- import { S as De } from "./index-93c9bbb8.js";
11
- import { D as Te } from "./drag-wrapper-2db7a9b7.js";
12
- import { _ as _e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
6
+ import { a as $e, b as We } from "./index-9a0ea20e.js";
7
+ import { b as Ae } from "./share-field-5ab4a421.js";
8
+ import { c as ke } from "./slot-f5b09143.js";
9
+ import { B as A } from "./baseImp-55a31c78.js";
10
+ import { S as De } from "./index-f6f4c499.js";
11
+ import { D as Te } from "./drag-wrapper-207a28e8.js";
12
+ import { _ as _e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
13
13
  const he = ["title"], Oe = B({ componentName: fe.ContainerWidget }), Fe = /* @__PURE__ */ B({
14
14
  ...Oe,
15
15
  __name: "ltable-col-widget",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as u, openBlock as t, createBlock as _, mergeProps as I, unref as s, withCtx as O, createElementBlock as r, normalizeClass as j, createElementVNode as c, Fragment as i, renderList as g, createCommentVNode as W } from "vue";
2
- import { w as A } from "./expression-75bf8097.js";
2
+ import { w as A } from "./expression-0623ba51.js";
3
3
  import { I as B } from "./widget-base-4c2d6265.js";
4
- import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
5
- import { _ as N } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cacb9190.js";
6
- import { c as P } from "./slot-75afa351.js";
7
- import { b as S } from "./share-field-bc3299a0.js";
4
+ import { _ as L } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
5
+ import { _ as N } from "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6fdd4861.js";
6
+ import { c as P } from "./slot-f5b09143.js";
7
+ import { b as S } from "./share-field-5ab4a421.js";
8
8
  import { _ as V } from "./_plugin-vue_export-helper-dad06003.js";
9
9
  const $ = { class: "table-layout" }, z = u({ componentName: A.ContainerWidget }), E = /* @__PURE__ */ u({
10
10
  ...z,
@@ -1,24 +1,24 @@
1
1
  import { defineComponent as k, computed as h, resolveComponent as $, openBlock as d, createBlock as y, mergeProps as S, unref as i, withCtx as M, toHandlers as g, createVNode as B } from "vue";
2
- import { d as b } from "./enum-type-4f7f8848.js";
2
+ import { d as b } from "./enum-type-64b61a45.js";
3
3
  import { I as G } from "./field-base-5547436d.js";
4
- import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
5
- import { b as P } from "./share-field-bc3299a0.js";
6
- import { w as R } from "./expression-75bf8097.js";
7
- import { _ as H } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-8d60c766.js";
8
- import { aa as j } from "./enum-type-7d30197c.js";
4
+ import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
5
+ import { b as P } from "./share-field-5ab4a421.js";
6
+ import { w as R } from "./expression-0623ba51.js";
7
+ import { _ as H } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-a1cef8dd.js";
8
+ import { aa as j } from "./enum-type-ebccb1d4.js";
9
9
  import "./widget-base-4c2d6265.js";
10
- import "./uuid-13f918d6.js";
11
- import "./index-f18071b7.js";
12
- import "./baseImp-39f6ee3c.js";
10
+ import "./uuid-63cb6ed5.js";
11
+ import "./index-9a0ea20e.js";
12
+ import "./baseImp-55a31c78.js";
13
13
  import "./icon-e9532b43.js";
14
- import "./dialog-50ad7970.js";
15
- import "element-plus";
14
+ import "./dialog-d87ab558.js";
16
15
  import "./_commonjsHelpers-e7ea1525.js";
17
- import "./index-93c9bbb8.js";
16
+ import "element-plus";
17
+ import "./index-f6f4c499.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./fieldobj-b3bb7e94.js";
20
- import "./multirow-c7128853.js";
21
- import "./slot-75afa351.js";
19
+ import "./fieldobj-d3e96d51.js";
20
+ import "./multirow-49d1711a.js";
21
+ import "./slot-f5b09143.js";
22
22
  const K = k({ componentName: R.FieldWidget }), me = /* @__PURE__ */ k({
23
23
  ...K,
24
24
  __name: "menu-widget",
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as O, resolveComponent as S, openBlock as _, createBlock as v, mergeProps as W, unref as r, withCtx as y, createElementVNode as g, createElementBlock as $, Fragment as j, renderList as K, resolveDynamicComponent as L, createTextVNode as h, toDisplayString as B, createCommentVNode as C } from "vue";
2
2
  import { I as M } from "./widget-base-4c2d6265.js";
3
- import { b as q } from "./share-field-bc3299a0.js";
4
- import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d7f8deb9.js";
5
- import { W as w } from "./enum-type-7d30197c.js";
6
- import { c as I } from "./baseImp-39f6ee3c.js";
7
- import { a as x } from "./enum-type-4f7f8848.js";
3
+ import { b as q } from "./share-field-5ab4a421.js";
4
+ import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-11e82ba1.js";
5
+ import { W as w } from "./enum-type-ebccb1d4.js";
6
+ import { c as I } from "./baseImp-55a31c78.js";
7
+ import { a as x } from "./enum-type-64b61a45.js";
8
8
  import { Plus as G, Edit as H } from "./index-ddd23411.js";
9
- import "./multirow-c7128853.js";
10
- import "./index-f18071b7.js";
11
- import "./uuid-13f918d6.js";
12
- import "./expression-75bf8097.js";
9
+ import "./multirow-49d1711a.js";
10
+ import "./index-9a0ea20e.js";
11
+ import "./uuid-63cb6ed5.js";
12
+ import "./expression-0623ba51.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
- import "./slot-75afa351.js";
14
+ import "./slot-f5b09143.js";
15
15
  import "./icon-e9532b43.js";
16
- import "./index-93c9bbb8.js";
16
+ import "./index-f6f4c499.js";
17
17
  import "./_plugin-vue_export-helper-dad06003.js";
18
- import "./fieldobj-b3bb7e94.js";
19
- import "./dialog-50ad7970.js";
18
+ import "./fieldobj-d3e96d51.js";
19
+ import "./dialog-d87ab558.js";
20
20
  import "element-plus";
21
21
  const J = { style: { display: "flex", "flex-direction": "row" } }, Q = { style: { flex: "1" } }, ve = /* @__PURE__ */ O({
22
22
  __name: "model-widget",
@@ -0,0 +1,226 @@
1
+ import { b as Y, r as Z, B as p, c as L } from "./baseImp-55a31c78.js";
2
+ import { g as I, f as R, t as T, r as k } from "./index-9a0ea20e.js";
3
+ import { c as d, F as rr, g as er } from "./slot-f5b09143.js";
4
+ import { k as a, o as C, d as b, q as x, m as tr, c as q, t as H, e as J } from "./enum-type-64b61a45.js";
5
+ import { reactive as j, watch as sr } from "vue";
6
+ import { u as ur } from "./icon-e9532b43.js";
7
+ import { u as or, g as ir } from "./uuid-63cb6ed5.js";
8
+ import { f as K } from "./expression-0623ba51.js";
9
+ function nr() {
10
+ const t = {}, f = (r, e) => {
11
+ var s, u, i, n;
12
+ return r ? !!((s = r == null ? void 0 : r.proxy) != null && s.$options && ((i = (u = r == null ? void 0 : r.proxy) == null ? void 0 : u.$options) == null ? void 0 : i.componentName) === e || r != null && r.exposed && ((n = r == null ? void 0 : r.exposed) == null ? void 0 : n.componentName) === e) : !1;
13
+ }, l = (r, e, s) => {
14
+ r && C(r).forEach((u) => {
15
+ f(r[u], e) && (s == null || s(r[u]));
16
+ });
17
+ }, c = (r, e, s) => {
18
+ r && (f(r, e) ? s == null || s(r) : c(r.parent, e, s));
19
+ };
20
+ return {
21
+ emit$(r, e) {
22
+ t[r] && t[r].forEach((s) => {
23
+ s(e);
24
+ });
25
+ },
26
+ on$(r, e) {
27
+ t[r] = t[r] || [], t[r].push(e);
28
+ },
29
+ off$(r, e) {
30
+ if (t[r]) {
31
+ if (a(e)) {
32
+ t[r].length = 0;
33
+ return;
34
+ }
35
+ for (let s = 0; s < t[r].length; s++)
36
+ if (t[r][s] === e) {
37
+ t[r].splice(s, 1);
38
+ break;
39
+ }
40
+ }
41
+ },
42
+ dispatch(r, e, s, u) {
43
+ if (!r)
44
+ return;
45
+ let i = u.parent || u.root;
46
+ c(i, r, (n) => {
47
+ var m;
48
+ n && (n.exposed.emit$ && n.exposed.emit$(e, s), n != null && n.proxy && ((m = n == null ? void 0 : n.proxy) == null || m.$emit(e, s)));
49
+ });
50
+ },
51
+ broadcast(r, e, s, u) {
52
+ l(u.widgetRefList, r, (i) => {
53
+ i.emit$ && i.emit$.call(i, e, s);
54
+ }), l(u.refList, r, (i) => {
55
+ i.emit$ && i.emit$.call(i, e, s);
56
+ });
57
+ }
58
+ };
59
+ }
60
+ const N = "", P = "_", M = (t, f) => a(f) ? t || "" : `${N}${t}${P}${f}`, y = (t) => {
61
+ if (t != null && t.includes(P)) {
62
+ var f = t.split(P);
63
+ const l = f == null ? void 0 : f[0].substring(N.length), c = t.substring(N.length + l.length + 1);
64
+ return { id: l, groupName: c };
65
+ }
66
+ return { id: t };
67
+ };
68
+ var fr = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.Inner2Inner = 1] = "Inner2Inner", t[t.Inner2Outer = 2] = "Inner2Outer", t[t.Outer2Inner = 3] = "Outer2Inner", t[t.Outer2Outer = 4] = "Outer2Outer", t[t.DiffInner = 5] = "DiffInner", t))(fr || {});
69
+ const vr = (t, f) => {
70
+ const l = y(t), c = l == null ? void 0 : l.groupName, r = y(f), e = r == null ? void 0 : r.groupName;
71
+ return !c && !e ? 4 : c && !e ? 2 : c && e ? c !== e ? 5 : 1 : !c && e ? 3 : 0;
72
+ };
73
+ function gr(t, f) {
74
+ const l = f == null ? void 0 : f.pageConfig, c = f == null ? void 0 : f.formData, r = j(c || {});
75
+ var { instance: e } = ur();
76
+ return {
77
+ formModel: r,
78
+ pageConfig: l,
79
+ widgetList: t,
80
+ initData: () => {
81
+ var m = I(t);
82
+ m == null || m.forEach((w) => {
83
+ const { computedDefaultValue: O, fieldName: F } = Y(w.field, f, { s_fieldName: !0, s_defaultValue: !0 }, e);
84
+ F.value && b(r, { [F.value]: O.value });
85
+ });
86
+ },
87
+ setData: (m) => {
88
+ x(r) ? C(r).forEach((w) => {
89
+ m && m.hasOwnProperty(w) && (r[w] = tr(m[w]));
90
+ }) : b(r, m);
91
+ },
92
+ getData: () => Z(r),
93
+ clearData: () => {
94
+ for (let m in r)
95
+ delete r[m];
96
+ }
97
+ };
98
+ }
99
+ function cr() {
100
+ const t = (r, e) => k(r, { newName: !0, recordSource: !0 }, (s, u) => M(s || u, e)), f = (r, e, s) => {
101
+ var w, O;
102
+ J(s) && (s = `${(w = or()) == null ? void 0 : w.substring(0, 5)}_${!J(e == null ? void 0 : e.$index) && (e == null ? void 0 : e.$index) >= 0 ? e == null ? void 0 : e.$index : ""}`);
103
+ var u = er(r, !0);
104
+ let i = u == null ? void 0 : u.map((F) => t(F, s));
105
+ const n = c(i), { updateFomulaName: m } = L();
106
+ return (O = C(n)) == null || O.forEach((F) => {
107
+ const E = n[F], B = E == null ? void 0 : E.name;
108
+ i = m(i, B, F);
109
+ }), { widget: i, id: ir(), data: e };
110
+ }, l = (r, e, s, u) => {
111
+ if (e || (e = []), s && (e == null ? void 0 : e.length) < s) {
112
+ const m = s - (e == null ? void 0 : e.length);
113
+ for (var i = 0; i < m; i++) {
114
+ var n = {};
115
+ e == null || e.push(n);
116
+ }
117
+ }
118
+ return e == null ? void 0 : e.map((m, w) => {
119
+ const O = u ? u(m, w) : m;
120
+ return f(r, O, w + "");
121
+ });
122
+ }, c = (r, e) => {
123
+ let s = {};
124
+ return r && T(r, (u) => {
125
+ const i = p.getName(u), n = () => {
126
+ i && (s[i] = u == null ? void 0 : u._source);
127
+ };
128
+ e ? e(u) && n() : n();
129
+ }), s;
130
+ };
131
+ return {
132
+ newSlot: f,
133
+ reflectTargetWithSourceOne: c,
134
+ getSlotFromData: l,
135
+ parseGroupId: y,
136
+ formatGroupId: M
137
+ };
138
+ }
139
+ function Dr(t) {
140
+ const f = t == null ? void 0 : t.fieldName, l = t == null ? void 0 : t.setValue, c = j({}), r = j([]), { newSlot: e, reflectTargetWithSourceOne: s, getSlotFromData: u } = cr(), i = (o, g) => {
141
+ var v;
142
+ let h = {};
143
+ const $ = s(g);
144
+ return (v = C(o)) == null || v.map((D) => {
145
+ var _, V, G;
146
+ const S = (_ = $ == null ? void 0 : $[D]) == null ? void 0 : _.name;
147
+ S && (h[S] = o == null ? void 0 : o[D], (G = (V = C(o)) == null ? void 0 : V.filter((W) => W.startsWith(D + "_"))) == null || G.forEach((W) => {
148
+ h[W == null ? void 0 : W.replace(D, S)] = o == null ? void 0 : o[W];
149
+ }));
150
+ }), h;
151
+ }, n = (o, g) => {
152
+ var v, D;
153
+ let h = {};
154
+ if (x(o)) {
155
+ const S = s(g, (_) => !!(_ != null && _.formItemFlag));
156
+ (v = C(S)) == null || v.map((_) => {
157
+ var V;
158
+ _ && (h[_] = o == null ? void 0 : o[(V = S == null ? void 0 : S[_]) == null ? void 0 : V.name]);
159
+ });
160
+ } else {
161
+ var $ = { pageConfig: (D = t == null ? void 0 : t.designer) == null ? void 0 : D.pageConfig, formData: h, designState: t == null ? void 0 : t.designState };
162
+ const { initData: S } = gr(g, $);
163
+ S();
164
+ }
165
+ return h;
166
+ }, m = (o, g) => {
167
+ const h = n(g, o.widget);
168
+ b(c, h);
169
+ }, w = (o) => {
170
+ const g = n({}, o.widget);
171
+ q(g);
172
+ }, O = () => r == null ? void 0 : r.map((g) => i(c, g == null ? void 0 : g.widget)), F = (o, g) => {
173
+ q(c);
174
+ const h = g(o);
175
+ return h == null || h.forEach(($) => {
176
+ const v = n($ == null ? void 0 : $.data, $ == null ? void 0 : $.widget);
177
+ b(c, v);
178
+ }), r.splice(0, r.length, ...h), r;
179
+ }, E = (o) => {
180
+ var h;
181
+ var g = d({ ...t, widget: o });
182
+ return (h = g.attrs) == null ? void 0 : h.value;
183
+ }, B = (o, g, h) => R(o, g, r, h), A = (o) => {
184
+ var g = O();
185
+ sr(() => c, (h) => {
186
+ var $ = O();
187
+ H($) != H(g) && (g = $, o($));
188
+ }, { deep: !0, immediate: !0 });
189
+ }, { off$: z, on$: Q, emit$: U } = nr(), X = () => {
190
+ z(K.fieldChange), Q(K.fieldChange, (o) => {
191
+ var g;
192
+ l == null || l(O()), (g = t == null ? void 0 : t.fieldChanged) == null || g.call(t);
193
+ });
194
+ };
195
+ return (() => {
196
+ const o = f;
197
+ rr.globalProvide({
198
+ globalFormName: o,
199
+ globalDataModel: c
200
+ }), X();
201
+ })(), {
202
+ getSlotFromData: u,
203
+ fromModel: n,
204
+ toModel: i,
205
+ newSlot: e,
206
+ getWidgetOption: E,
207
+ newFieldModelFromSlot: m,
208
+ removeFieldModelFromSlot: w,
209
+ getValue: O,
210
+ setValue: F,
211
+ findWidgetByNameWithSibId: B,
212
+ listenFormModel: A,
213
+ emit$: U,
214
+ formModel: c,
215
+ rowsData: r
216
+ };
217
+ }
218
+ export {
219
+ nr as a,
220
+ cr as b,
221
+ Dr as c,
222
+ fr as f,
223
+ vr as g,
224
+ y as p,
225
+ gr as u
226
+ };