hlrender 0.0.206 → 0.0.210

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 (120) hide show
  1. package/{_pdf-253395f0.js → _pdf-7b31f745.js} +6 -6
  2. package/{_txt-a707bc5c.js → _txt-761bd6b8.js} +6 -6
  3. package/{_unsupport-3eb82daa.js → _unsupport-be896e74.js} +1 -1
  4. package/{affix-widget-9ddc9909.js → affix-widget-a27d381f.js} +16 -16
  5. package/{alert-widget-b75af0a6.js → alert-widget-608a4c9b.js} +16 -16
  6. package/{anchor-widget-92f6a72c.js → anchor-widget-ce1d4169.js} +13 -13
  7. package/{auto-complete-widget-58a69dc8.js → auto-complete-widget-75413fc6.js} +16 -16
  8. package/{avatar-widget-c00a510a.js → avatar-widget-dc3a6b58.js} +16 -16
  9. package/{backtop-widget-0faa98ca.js → backtop-widget-ac9b4594.js} +16 -16
  10. package/{badge-widget-4b7945ad.js → badge-widget-13db4e74.js} +16 -16
  11. package/{barcode-widget-5d740bfe.js → barcode-widget-554da648.js} +13 -13
  12. package/{baseImp-0b9badc9.js → baseImp-6af978c3.js} +8 -7
  13. package/{breadcrumb-widget-3ffd9785.js → breadcrumb-widget-f3fa81bd.js} +13 -13
  14. package/{button-widget-4330d78b.js → button-widget-71e6efb8.js} +16 -16
  15. package/{cache-widget-b2a554e7.js → cache-widget-950801c4.js} +15 -15
  16. package/{card-widget-7f693641.js → card-widget-c1a75b28.js} +14 -14
  17. package/{carousel-widget-7dab0441.js → carousel-widget-c6532beb.js} +14 -14
  18. package/{cascader-widget-ba4cc7e3.js → cascader-widget-713c3252.js} +15 -15
  19. package/{chart-widget-6f82e01b.js → chart-widget-5c6ab1eb.js} +13 -13
  20. package/{checkbox-widget-30ee7abd.js → checkbox-widget-c5addadc.js} +15 -15
  21. package/{collapse-widget-ed56e9ce.js → collapse-widget-1c080c3e.js} +14 -14
  22. package/{color-picker-widget-195a3ea3.js → color-picker-widget-b62007c1.js} +15 -15
  23. package/{cont-cell-widget-4f4c2dc7.js → cont-cell-widget-f2bc9dee.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-ba79328e.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d670e895.js} +5 -5
  25. package/{cont-widget-edcb1bef.js → cont-widget-2dd7b49a.js} +5 -5
  26. package/{content-wrapper-26074a64.js → content-wrapper-df13af9e.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-218c9ef7.js → content-wrapper.vue_vue_type_script_setup_true_lang-b34bf827.js} +3 -3
  28. package/{date-picker-range-widget-715aaf81.js → date-picker-range-widget-fd96b715.js} +15 -15
  29. package/{date-picker-widget-29b8b420.js → date-picker-widget-71bcafbd.js} +15 -15
  30. package/default-slot-widget-19085177.js +26 -0
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-382c2367.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c59bd84e.js} +7 -7
  32. package/{descriptions-widget-0860d156.js → descriptions-widget-9d7522e6.js} +14 -14
  33. package/{dialog-1931c6d5.js → dialog-48147b3c.js} +2 -2
  34. package/{dialog-widget-6116c6c0.js → dialog-widget-79d78ce2.js} +15 -15
  35. package/{divider-widget-61b89338.js → divider-widget-9703cc2f.js} +16 -16
  36. package/{drag-wrapper-6fe1fa7c.js → drag-wrapper-1006bc1a.js} +6 -6
  37. package/{drawer-widget-584a4933.js → drawer-widget-cb78aa71.js} +15 -15
  38. package/{dropdown-widget-03803162.js → dropdown-widget-545a36db.js} +14 -14
  39. package/{empty-widget-7006a86b.js → empty-widget-ed321b1d.js} +16 -16
  40. package/{enum-type-f421870d.js → enum-type-5fc48be3.js} +1 -1
  41. package/{enum-type-371a21c2.js → enum-type-9b7b06fd.js} +102 -79
  42. package/{expression-242aaf07.js → expression-0953e6ca.js} +3 -3
  43. package/feedback-widget-70e09abc.js +26 -0
  44. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-47527ebd.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-13bbe8e9.js} +5 -5
  45. package/{fieldobj-45322a50.js → fieldobj-39e632fe.js} +1 -1
  46. package/{file-upload-widget-d4c0318e.js → file-upload-widget-2839c52d.js} +20 -20
  47. package/{form-item-wrapper-6cc630c2.js → form-item-wrapper-1e795c53.js} +11 -11
  48. package/{form-widget-cbc6e330.js → form-widget-887dec4a.js} +10 -10
  49. package/{grid-col-widget-99aae520.js → grid-col-widget-76fd65b3.js} +1 -1
  50. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2814f7a3.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-306391f3.js} +5 -5
  51. package/{grid-widget-37242663.js → grid-widget-5b779b68.js} +5 -5
  52. package/{html-text-widget-5d901d37.js → html-text-widget-6bcc7935.js} +14 -14
  53. package/{icon-widget-578b9c9c.js → icon-widget-f8bd6550.js} +13 -13
  54. package/{iframe-widget-0421d341.js → iframe-widget-d59c098d.js} +13 -13
  55. package/{image-widget-45f2084e.js → image-widget-7552b345.js} +13 -13
  56. package/{index-71414f55.js → index-afa118cb.js} +1 -1
  57. package/{index-e87f6095.js → index-dc41b25c.js} +13 -5
  58. package/{index-0ec53886.js → index-eda67d42.js} +4 -4
  59. package/{input-number-widget-e5f194ee.js → input-number-widget-e1152415.js} +15 -15
  60. package/{input-widget-2e387198.js → input-widget-703b2503.js} +16 -16
  61. package/{label-wrapper-74ac3d25.js → label-wrapper-9fa217cc.js} +5 -5
  62. package/{label-wrapper.vue_vue_type_style_index_0_lang-a752a09a.js → label-wrapper.vue_vue_type_style_index_0_lang-212a221d.js} +3 -3
  63. package/{link-widget-c4b88869.js → link-widget-af1946d6.js} +16 -16
  64. package/{ltable-col-widget-d997607a.js → ltable-col-widget-cd57522e.js} +1 -1
  65. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d76a0dda.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d8a24757.js} +9 -9
  66. package/{ltable-widget-3fd4f8fa.js → ltable-widget-225e34f4.js} +5 -5
  67. package/{menu-widget-4922b9ad.js → menu-widget-105cdb95.js} +14 -14
  68. package/{model-widget-d2b07b57.js → model-widget-d1b2a1cf.js} +13 -13
  69. package/{multirow-0925cb09.js → multirow-f060a97e.js} +6 -6
  70. package/{multirow-widget-438d3717.js → multirow-widget-23a65dca.js} +15 -15
  71. package/package.json +1 -1
  72. package/{pagination-widget-bb45f999.js → pagination-widget-26e81d24.js} +13 -13
  73. package/{picture-upload-widget-6a01717b.js → picture-upload-widget-e5a376ca.js} +16 -16
  74. package/{progress-widget-5e36a47c.js → progress-widget-461fa093.js} +14 -14
  75. package/{propresult-7e5e2a86.js → propresult-b950a881.js} +1 -1
  76. package/{qrcode-widget-1f993823.js → qrcode-widget-62bc94b1.js} +13 -13
  77. package/{radio-widget-845c5f3a.js → radio-widget-35a4cf28.js} +15 -15
  78. package/{range-widget-55e8fc67.js → range-widget-5ec90044.js} +16 -16
  79. package/{rate-widget-488e03ea.js → rate-widget-39dd1702.js} +15 -15
  80. package/render.es.js +32 -32
  81. package/render.umd.js +317 -305
  82. package/{result-widget-a3d87088.js → result-widget-c0e27c4a.js} +14 -14
  83. package/{rich-editor-widget-38df15ad.js → rich-editor-widget-1bbc2c7d.js} +15 -15
  84. package/{router-widget-f444b2b5.js → router-widget-cb64ad20.js} +13 -13
  85. package/{select-widget-c91806f0.js → select-widget-700ecefb.js} +15 -15
  86. package/{sfc-906b2ece.js → sfc-6146205d.js} +8 -8
  87. package/{sfcview-44b09d06.js → sfcview-8a13cf9e.js} +7 -7
  88. package/{share-field-e617229c.js → share-field-970c4072.js} +8 -8
  89. package/{share-file-b00abb8f.js → share-file-c44cc52c.js} +6 -6
  90. package/{slider-widget-14047cb7.js → slider-widget-e96cced2.js} +15 -15
  91. package/{slot-d17a0232.js → slot-c57ca8dc.js} +3 -3
  92. package/{static-text-widget-9fc4c89f.js → static-text-widget-eacdb5b5.js} +14 -14
  93. package/{steps-widget-998ecf65.js → steps-widget-b90dbc1e.js} +13 -13
  94. package/{subMenu-widget-abae98b6.js → subMenu-widget-eb41af47.js} +8 -8
  95. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-92a3f7dd.js → subMenu-widget.vue_vue_type_script_setup_true_lang-1c7e98f8.js} +3 -3
  96. package/{switch-widget-d9e89a5f.js → switch-widget-d4deff5e.js} +15 -15
  97. package/{tab-pane-widget-23653113.js → tab-pane-widget-3bbcd442.js} +1 -1
  98. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ffb2c743.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-985fe319.js} +5 -5
  99. package/table-col-widget-01e2e62d.js +22 -0
  100. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5c097dc4.js +91 -0
  101. package/table-widget-2f0d771d.js +305 -0
  102. package/{tabs-widget-8f782f21.js → tabs-widget-06fcc885.js} +7 -7
  103. package/{tag-widget-308644a0.js → tag-widget-3fc4bbca.js} +16 -16
  104. package/{text-widget-4d09c9f5.js → text-widget-49574f2a.js} +16 -16
  105. package/{textarea-widget-0768353e.js → textarea-widget-94da75fb.js} +15 -15
  106. package/{time-picker-range-widget-b72dc3f2.js → time-picker-range-widget-55007e8b.js} +15 -15
  107. package/{time-picker-widget-d73cf0c9.js → time-picker-widget-4741898b.js} +15 -15
  108. package/{time-select-widget-6c2e583c.js → time-select-widget-8d9013ed.js} +15 -15
  109. package/{tmpl-widget-f9e1d402.js → tmpl-widget-57c02ff4.js} +14 -14
  110. package/{tree-select-widget-52d4da3f.js → tree-select-widget-63c01f05.js} +15 -15
  111. package/{tree-widget-1b6c7c89.js → tree-widget-3d0c40d8.js} +13 -13
  112. package/{uuid-7e57e368.js → uuid-f48611de.js} +1 -1
  113. package/{verifycode-widget-ec65a0c7.js → verifycode-widget-6b66824e.js} +13 -13
  114. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js} +7 -7
  115. package/{wrapper-widget-aeca5e2e.js → wrapper-widget-fc088664.js} +6 -6
  116. package/default-slot-widget-da675376.js +0 -26
  117. package/feedback-widget-0ebf7939.js +0 -26
  118. package/table-col-widget-b85130e9.js +0 -22
  119. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8cd47cfd.js +0 -80
  120. package/table-widget-36fcd9ae.js +0 -255
@@ -0,0 +1,305 @@
1
+ import { defineComponent as ue, ref as x, computed as te, reactive as Te, onMounted as Ie, resolveComponent as z, resolveDirective as Me, openBlock as _, createBlock as O, mergeProps as ne, unref as i, withCtx as R, withDirectives as we, createElementBlock as ae, createVNode as re, createTextVNode as Le, toDisplayString as We, createCommentVNode as oe, toHandlers as Ue, Fragment as Ae, renderList as Be } from "vue";
2
+ import { I as $e } from "./field-base-5547436d.js";
3
+ import { _ as Ge } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
4
+ import { b as Ke } from "./share-field-970c4072.js";
5
+ import { w as He, b as Je } from "./expression-0953e6ca.js";
6
+ import { _ as qe } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5c097dc4.js";
7
+ import { x as Qe, e as w, g as le, a as Xe, f as Ye, t as ie, o as Ze, a0 as et } from "./enum-type-9b7b06fd.js";
8
+ import { F as tt } from "./slot-c57ca8dc.js";
9
+ import { c as nt, p as se } from "./multirow-f060a97e.js";
10
+ import { L as at, g as rt, P as I, M as ot, b as lt, d as it } from "./baseImp-6af978c3.js";
11
+ import { S as st } from "./enum-type-5fc48be3.js";
12
+ import { u as ut } from "./icon-a0e0cdb0.js";
13
+ import "./widget-base-4c2d6265.js";
14
+ import "./index-dc41b25c.js";
15
+ import "./uuid-f48611de.js";
16
+ import "./_commonjsHelpers-e7ea1525.js";
17
+ import "./index-afa118cb.js";
18
+ import "./_plugin-vue_export-helper-dad06003.js";
19
+ import "./fieldobj-39e632fe.js";
20
+ import "./source-map-b04aec4a.js";
21
+ import "./esprima-e8d15055.js";
22
+ import "./drag-wrapper-1006bc1a.js";
23
+ import "./dialog-48147b3c.js";
24
+ import "element-plus";
25
+ function ct() {
26
+ return {
27
+ splitNumericUnit: (d) => {
28
+ if (d === st.auto)
29
+ return {
30
+ original: d,
31
+ numeric: null,
32
+ unit: d,
33
+ valid: !0
34
+ };
35
+ const h = d == null ? void 0 : d.replace(/\s+/g, ""), C = h == null ? void 0 : h.match(/^(-?\d*\.?\d+)([^\d]*)$/);
36
+ if (!C)
37
+ return {
38
+ original: d,
39
+ numeric: null,
40
+ unit: "",
41
+ valid: !1
42
+ };
43
+ const u = parseFloat(C[1]), j = C[2] || "";
44
+ return {
45
+ original: d,
46
+ numeric: isNaN(u) ? null : u,
47
+ unit: j,
48
+ valid: j !== null && !isNaN(u)
49
+ };
50
+ }
51
+ };
52
+ }
53
+ const pt = { key: 1 }, dt = ue({ componentName: He.FieldWidget }), wt = /* @__PURE__ */ ue({
54
+ ...dt,
55
+ __name: "table-widget",
56
+ props: { ...$e },
57
+ setup(L, { expose: d }) {
58
+ var K;
59
+ const h = L, { fieldName: C, exposed: u, fieldEditor: j, fieldKey: ce, attrs: b, extendAttrs: p, events: pe, optionItems: m, watchOption: de, fieldObj: fe, propResultOpt: D, getFieldOptions: me } = Ke({ ...h, exposedWholeInstance: !0 }), { toModel: ge } = nt({
60
+ ...h,
61
+ fieldName: C.value
62
+ }), V = x(), ve = (e) => {
63
+ var n, t;
64
+ V.value = { ...e }, (t = (n = b.value) == null ? void 0 : n.filterChange) == null || t.call(n, e);
65
+ }, { instance: he } = ut(), W = () => {
66
+ let e = [...g.value];
67
+ if (!V.value || V.value.length <= 0)
68
+ return e;
69
+ var n = et(m == null ? void 0 : m.value, "children", (t) => I.getValue(t == null ? void 0 : t.filterable) || !1);
70
+ return n && n.length > 0 && (n == null || n.forEach((t) => {
71
+ e = e.filter(
72
+ (l) => {
73
+ var r;
74
+ const a = t.prop, o = I.getValue(t == null ? void 0 : t.filterMethod), s = V.value[a];
75
+ if (!o)
76
+ return !0;
77
+ const c = (r = ie(s, !0)) == null ? void 0 : r.some((f) => ot(o, { value: f, row: l, col: { ...t, property: a }, ctx: B }, he));
78
+ return a && c;
79
+ }
80
+ );
81
+ })), e;
82
+ }, F = x([]), _e = () => {
83
+ const e = W();
84
+ return F.value.length === 0 ? [...e] : [...e].sort((n, t) => {
85
+ for (const l of F.value) {
86
+ const { prop: a, order: o } = l;
87
+ let s = n[a], c = t[a];
88
+ if (s == null && c == null)
89
+ continue;
90
+ if (s == null)
91
+ return o === "ascending" ? -1 : 1;
92
+ if (c == null)
93
+ return o === "ascending" ? 1 : -1;
94
+ typeof s == "string" && (s = s.toLowerCase(), c = c.toLowerCase());
95
+ let r = 0;
96
+ if (s < c ? r = -1 : s > c && (r = 1), o === "descending" && (r = -r), r !== 0)
97
+ return r;
98
+ }
99
+ return 0;
100
+ });
101
+ }, be = ({ column: e, prop: n, order: t }) => {
102
+ const l = F.value.findIndex((a) => a.prop === n);
103
+ if (t == null)
104
+ l !== -1 && F.value.splice(l, 1);
105
+ else {
106
+ const a = { prop: n, order: t };
107
+ l !== -1 ? F.value[l] = a : F.value.push(a);
108
+ }
109
+ g.value = _e(), y.value = 1;
110
+ }, y = x(1), k = x((K = p.value) == null ? void 0 : K.pageSize), M = x(10), ye = (e) => {
111
+ k.value = e;
112
+ }, Se = (e) => {
113
+ y.value = e;
114
+ }, T = x(!1), g = x(), Ne = te(() => {
115
+ var n;
116
+ if (h.designState)
117
+ return [{}];
118
+ if ((n = p.value) != null && n.allowPage) {
119
+ var e = Qe(g.value, y.value, k.value);
120
+ return M.value = e == null ? void 0 : e.totalItems, e == null ? void 0 : e.data;
121
+ } else
122
+ return g.value;
123
+ }), xe = () => {
124
+ y.value = 1, M.value = 0, g.value = [];
125
+ }, U = (e = !1) => new Promise((n, t) => {
126
+ const l = (a) => {
127
+ g.value = a, T.value = !1, n(a);
128
+ };
129
+ de(e, Je.data, () => {
130
+ xe(), T.value = !0;
131
+ }, (a) => {
132
+ var o, s;
133
+ (o = p.value) != null && o.beforeTableRender ? (s = p.value) == null || s.beforeTableRender(a, (c) => {
134
+ l(c);
135
+ }) : l(a);
136
+ });
137
+ }), Ce = (e) => {
138
+ Xe(e) && (e = Ye(e)), g.value = ie(e, !0);
139
+ }, Fe = () => g.value, Pe = (e = !0) => {
140
+ T.value = e;
141
+ }, A = Te({}), ze = C.value;
142
+ tt.globalProvide({
143
+ globalFormName: ze,
144
+ globalDataModel: A
145
+ });
146
+ const Oe = w.i18nt("designer.hint.noData"), ke = () => {
147
+ var n;
148
+ var e = {};
149
+ return (n = Object.keys(u == null ? void 0 : u.allRefList)) == null || n.forEach((t) => {
150
+ var o, s, c;
151
+ var l = (c = (s = (o = u == null ? void 0 : u.allRefList[t]) == null ? void 0 : o.exposed) == null ? void 0 : s.getField) == null ? void 0 : c.call(s);
152
+ if (l) {
153
+ const r = se(t);
154
+ if (!(r != null && r.groupName) || (r == null ? void 0 : r.groupName) === "header")
155
+ return;
156
+ var a = e[r == null ? void 0 : r.groupName];
157
+ a || (a = []), a.push(l), e[r == null ? void 0 : r.groupName] = a;
158
+ }
159
+ }), Ze(e).map((t) => ge(A, e[t]));
160
+ }, Ee = (e) => {
161
+ var n;
162
+ !e || e.length <= 0 || (n = Object.keys(u == null ? void 0 : u.allRefList)) == null || n.forEach((t) => {
163
+ var c, r, f, v, S, N, E;
164
+ var l = (f = (r = (c = u == null ? void 0 : u.allRefList[t]) == null ? void 0 : c.exposed) == null ? void 0 : r.getField) == null ? void 0 : f.call(r);
165
+ if (!l)
166
+ return;
167
+ const a = se(t);
168
+ if (!(a != null && a.groupName))
169
+ return;
170
+ var o = e == null ? void 0 : e[parseInt(a == null ? void 0 : a.groupName)];
171
+ const s = (v = l == null ? void 0 : l._source) == null ? void 0 : v.name;
172
+ (o == null ? void 0 : o[s]) != null && ((E = (N = (S = u == null ? void 0 : u.allRefList[t]) == null ? void 0 : S.exposed) == null ? void 0 : N.setValue) == null || E.call(N, o == null ? void 0 : o[s]));
173
+ });
174
+ }, Re = te(() => {
175
+ var e;
176
+ return (e = p.value) == null ? void 0 : e.enableExport;
177
+ }), { exporting: je, exportExcel: De } = at(), { splitNumericUnit: Ve } = ct(), B = rt({ instance: D == null ? void 0 : D.instance }), $ = (e) => {
178
+ var n;
179
+ return ((n = e == null ? void 0 : e.filter((t) => !!I.getValue(t.exportable))) == null ? void 0 : n.map((t) => {
180
+ var o;
181
+ const { getWidgetOptionByPropValue: l } = lt({ options: t }), a = (o = Ve(t.width + "")) == null ? void 0 : o.numeric;
182
+ return {
183
+ prop: t.prop,
184
+ label: t.label,
185
+ children: $(t.children),
186
+ width: a,
187
+ formatter: (s, c, r, f) => {
188
+ const v = t.formatter;
189
+ if (!v || !I.getValue(v))
190
+ return r;
191
+ const S = { row: s, column: c, cellValue: r, index: f, ctx: B };
192
+ return it(l(v), S);
193
+ }
194
+ };
195
+ })) || [];
196
+ }, G = (e) => {
197
+ var l, a, o;
198
+ const n = {
199
+ filename: (l = p.value) == null ? void 0 : l.exportFileName,
200
+ sheetName: (a = p.value) == null ? void 0 : a.exportSheetName,
201
+ autoWidth: (o = p.value) == null ? void 0 : o.exportAutoWidth
202
+ }, t = $(m == null ? void 0 : m.value);
203
+ return De(W(), t, { ...n, ...e });
204
+ };
205
+ return Ie(() => {
206
+ h.designState || U(!0);
207
+ }), d({
208
+ ...u,
209
+ setValue: Ce,
210
+ getValue: Fe,
211
+ refresh: U,
212
+ getTableData: ke,
213
+ setTableData: Ee,
214
+ setLoading: Pe,
215
+ exporting: je,
216
+ exportToExcel: G,
217
+ currentPage: () => y.value,
218
+ pageSize: () => k.value
219
+ }), (e, n) => {
220
+ const t = z("el-empty"), l = z("el-button"), a = z("el-col"), o = z("el-row"), s = z("el-table"), c = z("el-pagination"), r = Me("loading");
221
+ return _(), O(Ge, ne(e.$props, {
222
+ "prop-options": { fieldObj: i(fe) }
223
+ }), {
224
+ default: R(({ data: f }) => {
225
+ var v, S, N, E, H, J, q, Q, X, Y, Z, ee;
226
+ return [
227
+ !i(m) || ((v = i(m)) == null ? void 0 : v.length) <= 0 || ((S = i(m)) == null ? void 0 : S[0]) == null ? (_(), O(t, {
228
+ key: 0,
229
+ description: i(w).i18nt("designer.hint.tableSetting")
230
+ }, null, 8, ["description"])) : we((_(), ae("div", pt, [
231
+ i(Re) ? (_(), O(o, {
232
+ key: 0,
233
+ justify: "end"
234
+ }, {
235
+ default: R(() => [
236
+ re(a, {
237
+ span: 24,
238
+ style: { "text-align": "right", margin: "10px" }
239
+ }, {
240
+ default: R(() => [
241
+ re(l, { onClick: G }, {
242
+ default: R(() => [
243
+ Le(We(i(w).i18nt("designer.hint.export")), 1)
244
+ ]),
245
+ _: 1
246
+ })
247
+ ]),
248
+ _: 1
249
+ })
250
+ ]),
251
+ _: 1
252
+ })) : oe("", !0),
253
+ (_(), O(s, ne({
254
+ ref_key: "fieldEditor",
255
+ ref: j
256
+ }, i(b), Ue(i(pe)), {
257
+ key: i(ce),
258
+ "empty-text": ((N = i(b)) == null ? void 0 : N.emptyText) || i(Oe),
259
+ size: f.size,
260
+ defaultSort: i(le)((E = i(b)) == null ? void 0 : E.defaultSort) ? (H = i(b)) == null ? void 0 : H.defaultSort : void 0,
261
+ treeProps: i(le)((J = i(b)) == null ? void 0 : J.treeProps) ? (q = i(b)) == null ? void 0 : q.treeProps : void 0,
262
+ class: f.injectClass,
263
+ style: f.injectStyle,
264
+ data: i(Ne),
265
+ onFilterChange: ve,
266
+ onSortChange: be
267
+ }), {
268
+ default: R(() => [
269
+ (_(!0), ae(Ae, null, Be(i(me)("optionItems"), (P, ft) => (_(), O(qe, {
270
+ key: P.uuid,
271
+ options: P,
272
+ designer: e.designer,
273
+ propResultOpt: i(D),
274
+ designState: e.designState,
275
+ "real-table-data": g.value
276
+ }, null, 8, ["options", "designer", "propResultOpt", "designState", "real-table-data"]))), 128))
277
+ ]),
278
+ _: 2
279
+ }, 1040, ["empty-text", "size", "defaultSort", "treeProps", "class", "style", "data"])),
280
+ (Q = i(p)) != null && Q.allowPage ? (_(), O(c, {
281
+ key: 1,
282
+ "current-page": y.value,
283
+ "onUpdate:current-page": n[0] || (n[0] = (P) => y.value = P),
284
+ "page-size": k.value,
285
+ "onUpdate:page-size": n[1] || (n[1] = (P) => k.value = P),
286
+ "page-sizes": (X = i(p)) == null ? void 0 : X.pageSizes,
287
+ hideOnSinglePage: (Y = i(p)) == null ? void 0 : Y.hideOnSinglePage,
288
+ layout: (ee = (Z = i(p)) == null ? void 0 : Z.layout) == null ? void 0 : ee.join(","),
289
+ total: M.value,
290
+ onSizeChange: ye,
291
+ onCurrentChange: Se
292
+ }, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) : oe("", !0)
293
+ ])), [
294
+ [r, !e.designState && T.value]
295
+ ])
296
+ ];
297
+ }),
298
+ _: 1
299
+ }, 16, ["prop-options"]);
300
+ };
301
+ }
302
+ });
303
+ export {
304
+ wt as default
305
+ };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as y, computed as _, ref as L, resolveComponent as R, resolveDirective as U, openBlock as r, createBlock as d, mergeProps as v, unref as t, withCtx as w, withDirectives as W, toHandlers as z, isRef as E, createElementBlock as q, Fragment as G, renderList as J } from "vue";
2
- import { c as n, k as Q } from "./enum-type-371a21c2.js";
3
- import { b as X, w as Y } from "./expression-242aaf07.js";
2
+ import { c as n, k as Q } from "./enum-type-9b7b06fd.js";
3
+ import { b as X, w as Y } from "./expression-0953e6ca.js";
4
4
  import { I as Z } from "./widget-base-4c2d6265.js";
5
- import { b as ee } from "./share-field-e617229c.js";
6
- import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
7
- import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ffb2c743.js";
8
- import { u as oe } from "./index-e87f6095.js";
9
- import { B as T } from "./baseImp-0b9badc9.js";
5
+ import { b as ee } from "./share-field-970c4072.js";
6
+ import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
7
+ import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-985fe319.js";
8
+ import { u as oe } from "./index-dc41b25c.js";
9
+ import { B as T } from "./baseImp-6af978c3.js";
10
10
  const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
11
11
  ...se,
12
12
  __name: "tabs-widget",
@@ -1,28 +1,28 @@
1
1
  import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-5547436d.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-382c2367.js";
4
- import { w as d } from "./expression-242aaf07.js";
5
- import { b as _ } from "./share-field-e617229c.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c59bd84e.js";
4
+ import { w as d } from "./expression-0953e6ca.js";
5
+ import { b as _ } from "./share-field-970c4072.js";
6
6
  import "./widget-base-4c2d6265.js";
7
- import "./enum-type-371a21c2.js";
8
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
9
- import "./index-e87f6095.js";
10
- import "./uuid-7e57e368.js";
11
- import "./enum-type-f421870d.js";
12
- import "./baseImp-0b9badc9.js";
7
+ import "./enum-type-9b7b06fd.js";
8
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
9
+ import "./index-dc41b25c.js";
10
+ import "./uuid-f48611de.js";
11
+ import "./enum-type-5fc48be3.js";
12
+ import "./baseImp-6af978c3.js";
13
13
  import "./icon-a0e0cdb0.js";
14
- import "./dialog-1931c6d5.js";
14
+ import "./dialog-48147b3c.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
- import "./index-71414f55.js";
17
+ import "./index-afa118cb.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./fieldobj-45322a50.js";
20
- import "./slot-d17a0232.js";
21
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-218c9ef7.js";
22
- import "./drag-wrapper-6fe1fa7c.js";
19
+ import "./fieldobj-39e632fe.js";
20
+ import "./slot-c57ca8dc.js";
21
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-b34bf827.js";
22
+ import "./drag-wrapper-1006bc1a.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- import "./multirow-0925cb09.js";
25
+ import "./multirow-f060a97e.js";
26
26
  const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
27
27
  ...u,
28
28
  __name: "tag-widget",
@@ -1,28 +1,28 @@
1
1
  import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-5547436d.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-382c2367.js";
4
- import { w as d } from "./expression-242aaf07.js";
5
- import { b as _ } from "./share-field-e617229c.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c59bd84e.js";
4
+ import { w as d } from "./expression-0953e6ca.js";
5
+ import { b as _ } from "./share-field-970c4072.js";
6
6
  import "./widget-base-4c2d6265.js";
7
- import "./enum-type-371a21c2.js";
8
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
9
- import "./index-e87f6095.js";
10
- import "./uuid-7e57e368.js";
11
- import "./enum-type-f421870d.js";
12
- import "./baseImp-0b9badc9.js";
7
+ import "./enum-type-9b7b06fd.js";
8
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
9
+ import "./index-dc41b25c.js";
10
+ import "./uuid-f48611de.js";
11
+ import "./enum-type-5fc48be3.js";
12
+ import "./baseImp-6af978c3.js";
13
13
  import "./icon-a0e0cdb0.js";
14
- import "./dialog-1931c6d5.js";
14
+ import "./dialog-48147b3c.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
- import "./index-71414f55.js";
17
+ import "./index-afa118cb.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./fieldobj-45322a50.js";
20
- import "./slot-d17a0232.js";
21
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-218c9ef7.js";
22
- import "./drag-wrapper-6fe1fa7c.js";
19
+ import "./fieldobj-39e632fe.js";
20
+ import "./slot-c57ca8dc.js";
21
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-b34bf827.js";
22
+ import "./drag-wrapper-1006bc1a.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- import "./multirow-0925cb09.js";
25
+ import "./multirow-f060a97e.js";
26
26
  const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
27
27
  ...u,
28
28
  __name: "text-widget",
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
2
- import { b as V } from "./share-field-e617229c.js";
2
+ import { b as V } from "./share-field-970c4072.js";
3
3
  import { I as b } from "./field-base-5547436d.js";
4
- import v from "./form-item-wrapper-6cc630c2.js";
5
- import { w as I } from "./expression-242aaf07.js";
6
- import "./enum-type-371a21c2.js";
7
- import "./multirow-0925cb09.js";
8
- import "./baseImp-0b9badc9.js";
9
- import "./enum-type-f421870d.js";
4
+ import v from "./form-item-wrapper-1e795c53.js";
5
+ import { w as I } from "./expression-0953e6ca.js";
6
+ import "./enum-type-9b7b06fd.js";
7
+ import "./multirow-f060a97e.js";
8
+ import "./baseImp-6af978c3.js";
9
+ import "./enum-type-5fc48be3.js";
10
10
  import "./icon-a0e0cdb0.js";
11
- import "./dialog-1931c6d5.js";
11
+ import "./dialog-48147b3c.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-7e57e368.js";
13
+ import "./uuid-f48611de.js";
14
14
  import "element-plus";
15
- import "./index-e87f6095.js";
16
- import "./slot-d17a0232.js";
15
+ import "./index-dc41b25c.js";
16
+ import "./slot-c57ca8dc.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
19
- import "./index-71414f55.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
19
+ import "./index-afa118cb.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-45322a50.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-a752a09a.js";
21
+ import "./fieldobj-39e632fe.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-212a221d.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const B = l({ componentName: I.FieldWidget }), ee = /* @__PURE__ */ l({
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as _, computed as x, resolveComponent as z, openBlock as d, createBlock as u, mergeProps as c, unref as t, withCtx as I, isRef as K, toHandlers as T } from "vue";
2
- import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-371a21c2.js";
3
- import { b as m, d as n } from "./uuid-7e57e368.js";
2
+ import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-9b7b06fd.js";
3
+ import { b as m, d as n } from "./uuid-f48611de.js";
4
4
  import { I as S } from "./field-base-5547436d.js";
5
- import { b as W } from "./share-field-e617229c.js";
6
- import D from "./form-item-wrapper-6cc630c2.js";
7
- import { w as H } from "./expression-242aaf07.js";
5
+ import { b as W } from "./share-field-970c4072.js";
6
+ import D from "./form-item-wrapper-1e795c53.js";
7
+ import { w as H } from "./expression-0953e6ca.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./multirow-0925cb09.js";
10
- import "./baseImp-0b9badc9.js";
11
- import "./enum-type-f421870d.js";
9
+ import "./multirow-f060a97e.js";
10
+ import "./baseImp-6af978c3.js";
11
+ import "./enum-type-5fc48be3.js";
12
12
  import "./icon-a0e0cdb0.js";
13
- import "./dialog-1931c6d5.js";
13
+ import "./dialog-48147b3c.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "element-plus";
16
- import "./index-e87f6095.js";
17
- import "./slot-d17a0232.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
19
- import "./index-71414f55.js";
16
+ import "./index-dc41b25c.js";
17
+ import "./slot-c57ca8dc.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
19
+ import "./index-afa118cb.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-45322a50.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-a752a09a.js";
21
+ import "./fieldobj-39e632fe.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-212a221d.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const J = _({ componentName: H.FieldWidget }), ue = /* @__PURE__ */ _({
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as a, resolveComponent as C, openBlock as p, createBlock as m, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as b } from "vue";
2
- import { e as x, c as z } from "./enum-type-371a21c2.js";
3
- import { b as I } from "./share-field-e617229c.js";
2
+ import { e as x, c as z } from "./enum-type-9b7b06fd.js";
3
+ import { b as I } from "./share-field-970c4072.js";
4
4
  import { I as K } from "./field-base-5547436d.js";
5
- import P from "./form-item-wrapper-6cc630c2.js";
6
- import { w as B } from "./expression-242aaf07.js";
7
- import { t as E } from "./uuid-7e57e368.js";
8
- import "./multirow-0925cb09.js";
9
- import "./baseImp-0b9badc9.js";
10
- import "./enum-type-f421870d.js";
5
+ import P from "./form-item-wrapper-1e795c53.js";
6
+ import { w as B } from "./expression-0953e6ca.js";
7
+ import { t as E } from "./uuid-f48611de.js";
8
+ import "./multirow-f060a97e.js";
9
+ import "./baseImp-6af978c3.js";
10
+ import "./enum-type-5fc48be3.js";
11
11
  import "./icon-a0e0cdb0.js";
12
- import "./dialog-1931c6d5.js";
12
+ import "./dialog-48147b3c.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
14
  import "element-plus";
15
- import "./index-e87f6095.js";
16
- import "./slot-d17a0232.js";
15
+ import "./index-dc41b25c.js";
16
+ import "./slot-c57ca8dc.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
19
- import "./index-71414f55.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
19
+ import "./index-afa118cb.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-45322a50.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-a752a09a.js";
21
+ import "./fieldobj-39e632fe.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-212a221d.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const W = a({ componentName: B.FieldWidget }), pe = /* @__PURE__ */ a({
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
2
- import { e as V } from "./enum-type-371a21c2.js";
3
- import { b } from "./share-field-e617229c.js";
2
+ import { e as V } from "./enum-type-9b7b06fd.js";
3
+ import { b } from "./share-field-970c4072.js";
4
4
  import { I as v } from "./field-base-5547436d.js";
5
- import x from "./form-item-wrapper-6cc630c2.js";
6
- import { w as z } from "./expression-242aaf07.js";
7
- import "./multirow-0925cb09.js";
8
- import "./baseImp-0b9badc9.js";
9
- import "./enum-type-f421870d.js";
5
+ import x from "./form-item-wrapper-1e795c53.js";
6
+ import { w as z } from "./expression-0953e6ca.js";
7
+ import "./multirow-f060a97e.js";
8
+ import "./baseImp-6af978c3.js";
9
+ import "./enum-type-5fc48be3.js";
10
10
  import "./icon-a0e0cdb0.js";
11
- import "./dialog-1931c6d5.js";
11
+ import "./dialog-48147b3c.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-7e57e368.js";
13
+ import "./uuid-f48611de.js";
14
14
  import "element-plus";
15
- import "./index-e87f6095.js";
16
- import "./slot-d17a0232.js";
15
+ import "./index-dc41b25c.js";
16
+ import "./slot-c57ca8dc.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
19
- import "./index-71414f55.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
19
+ import "./index-afa118cb.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-45322a50.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-a752a09a.js";
21
+ import "./fieldobj-39e632fe.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-212a221d.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const I = s({ componentName: z.FieldWidget }), oe = /* @__PURE__ */ s({
@@ -1,23 +1,23 @@
1
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 { e as E, t as J, f as q } from "./enum-type-371a21c2.js";
2
+ import { e as E, t as J, f as q } from "./enum-type-9b7b06fd.js";
3
3
  import { I as G } from "./widget-base-4c2d6265.js";
4
- import { b as H } from "./share-field-e617229c.js";
5
- import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-00da89c5.js";
6
- import { D as v } from "./drag-wrapper-6fe1fa7c.js";
7
- import { i as Q, d as U } from "./slot-d17a0232.js";
8
- import { c as X } from "./multirow-0925cb09.js";
9
- import { b as Y } from "./expression-242aaf07.js";
4
+ import { b as H } from "./share-field-970c4072.js";
5
+ import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c6d8d6a5.js";
6
+ import { D as v } from "./drag-wrapper-1006bc1a.js";
7
+ import { i as Q, d as U } from "./slot-c57ca8dc.js";
8
+ import { c as X } from "./multirow-f060a97e.js";
9
+ import { b as Y } from "./expression-0953e6ca.js";
10
10
  import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
11
11
  import "./icon-a0e0cdb0.js";
12
- import "./baseImp-0b9badc9.js";
13
- import "./enum-type-f421870d.js";
14
- import "./dialog-1931c6d5.js";
12
+ import "./baseImp-6af978c3.js";
13
+ import "./enum-type-5fc48be3.js";
14
+ import "./dialog-48147b3c.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
- import "./uuid-7e57e368.js";
16
+ import "./uuid-f48611de.js";
17
17
  import "element-plus";
18
- import "./index-e87f6095.js";
19
- import "./index-71414f55.js";
20
- import "./fieldobj-45322a50.js";
18
+ import "./index-dc41b25c.js";
19
+ import "./index-afa118cb.js";
20
+ import "./fieldobj-39e632fe.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
23
23
  const ee = ["element-loading-text"], te = /* @__PURE__ */ F({