hlrender 0.0.273 → 0.0.275

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 (146) hide show
  1. package/{_pdf-e1a1506a.js → _pdf-9300deb1.js} +6 -6
  2. package/{_txt-97439bbf.js → _txt-980f8fe5.js} +6 -6
  3. package/{_unsupport-a9cf76e3.js → _unsupport-1b097ae2.js} +1 -1
  4. package/{affix-widget-7936798e.js → affix-widget-3d9d3ab4.js} +16 -16
  5. package/{alert-widget-02e47d49.js → alert-widget-a7df34cd.js} +16 -16
  6. package/{anchor-widget-d359f5b9.js → anchor-widget-04d9e748.js} +20 -20
  7. package/auto-complete-widget-7fdb981a.js +75 -0
  8. package/{avatar-widget-487e0e2e.js → avatar-widget-055c78ce.js} +18 -18
  9. package/{backtop-widget-0a2ff607.js → backtop-widget-92937e86.js} +19 -19
  10. package/{badge-widget-e3c4ea9b.js → badge-widget-1f5e7de4.js} +16 -16
  11. package/{barcode-widget-7e4a9662.js → barcode-widget-231a8df0.js} +13 -13
  12. package/{baseImp-8fc5fcd1.js → baseImp-59f32ed8.js} +2909 -2905
  13. package/{breadcrumb-widget-f089673b.js → breadcrumb-widget-87f4990a.js} +19 -19
  14. package/{button-widget-bcf30b90.js → button-widget-b60683fd.js} +16 -16
  15. package/{cache-widget-0f398e05.js → cache-widget-e87f1b12.js} +23 -23
  16. package/{card-widget-84258823.js → card-widget-397b114d.js} +43 -43
  17. package/{carousel-widget-7cb76f10.js → carousel-widget-1f45fb6f.js} +19 -19
  18. package/{cascader-widget-04d87b8c.js → cascader-widget-aa8de234.js} +21 -21
  19. package/chart-widget-1515bc55.js +89 -0
  20. package/{checkbox-widget-5fc7b8bc.js → checkbox-widget-fad2b786.js} +15 -15
  21. package/{collapse-widget-6944d866.js → collapse-widget-61a38835.js} +27 -27
  22. package/{color-picker-widget-ff3b4581.js → color-picker-widget-fbdaccd2.js} +21 -21
  23. package/{cont-cell-widget-478a08e3.js → cont-cell-widget-eb40d148.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4f659a6d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-eb5196fd.js} +9 -9
  25. package/{cont-widget-aebc2a42.js → cont-widget-7d6df43f.js} +5 -5
  26. package/{content-wrapper-983bcc73.js → content-wrapper-3d003ed0.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-451c0a3d.js → content-wrapper.vue_vue_type_script_setup_true_lang-a50f99a8.js} +3 -3
  28. package/{countdown-widget-eeda1eaf.js → countdown-widget-699a4d4f.js} +21 -21
  29. package/{date-picker-range-widget-15987f45.js → date-picker-range-widget-3b175549.js} +20 -20
  30. package/date-picker-widget-10ddbefb.js +114 -0
  31. package/default-slot-widget-94f14120.js +27 -0
  32. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a2a01c7e.js +84 -0
  33. package/{descriptions-widget-0fc16cba.js → descriptions-widget-0f8df31f.js} +25 -25
  34. package/{dialog-6b873daf.js → dialog-003d60d4.js} +2 -2
  35. package/{dialog-widget-e9e73aaa.js → dialog-widget-4341f34e.js} +15 -15
  36. package/{divider-widget-636b1e74.js → divider-widget-21683346.js} +19 -19
  37. package/{drag-wrapper-2b219253.js → drag-wrapper-de2e2fbe.js} +6 -6
  38. package/{drawer-widget-07908557.js → drawer-widget-42a61e46.js} +15 -15
  39. package/{dropdown-widget-e3387a58.js → dropdown-widget-18eb8f5b.js} +14 -14
  40. package/{empty-widget-cc2c4fb8.js → empty-widget-500c1eb7.js} +16 -16
  41. package/{enum-type-6c255e6f.js → enum-type-6ac4c4d4.js} +20 -19
  42. package/{enum-type-fac871cf.js → enum-type-e5e6ba33.js} +1 -1
  43. package/{expression-2e171e7f.js → expression-22698064.js} +64 -64
  44. package/feedback-widget-0206c486.js +27 -0
  45. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b57b9ab8.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c5ed0f4e.js} +32 -32
  46. package/{fieldobj-41bfe99f.js → fieldobj-7311a036.js} +1 -1
  47. package/{file-upload-widget-a11d1c9e.js → file-upload-widget-152afe9d.js} +47 -47
  48. package/{form-item-wrapper-8744cd1f.js → form-item-wrapper-a15a3788.js} +11 -11
  49. package/form-widget-11b08925.js +264 -0
  50. package/{grid-col-widget-e3b4c2a1.js → grid-col-widget-a7135e3b.js} +1 -1
  51. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d395b847.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3e46c8e3.js} +9 -9
  52. package/{grid-widget-32dc5fe8.js → grid-widget-37783953.js} +5 -5
  53. package/{hcard-widget-4247c63c.js → hcard-widget-251f924f.js} +14 -14
  54. package/{html-text-widget-255fe86b.js → html-text-widget-3398f3f3.js} +18 -18
  55. package/{icon-widget-3f3d68d9.js → icon-widget-c40670f3.js} +23 -23
  56. package/iframe-widget-95725850.js +122 -0
  57. package/image-widget-4dccb3cb.js +65 -0
  58. package/{index-67c61ead.js → index-170931d8.js} +1 -1
  59. package/{index-348deabd.js → index-50ac6b9c.js} +9 -5
  60. package/{index-35c49dd8.js → index-6b1b38bd.js} +4 -4
  61. package/{input-number-widget-e64f1066.js → input-number-widget-35e2b7c8.js} +18 -18
  62. package/{input-widget-373c8845.js → input-tag-widget-e94c22a9.js} +28 -28
  63. package/input-widget-7707f453.js +72 -0
  64. package/{label-wrapper-4bcc17bf.js → label-wrapper-005f6858.js} +5 -5
  65. package/{label-wrapper.vue_vue_type_style_index_0_lang-258b8a5f.js → label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js} +3 -3
  66. package/{link-widget-a61ed3b5.js → link-widget-b2175e6a.js} +24 -24
  67. package/{ltable-col-widget-8739bb8c.js → ltable-col-widget-f615cad7.js} +1 -1
  68. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d6eb60e4.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-bddd15f2.js} +9 -9
  69. package/{ltable-widget-270df165.js → ltable-widget-d31e15a1.js} +10 -10
  70. package/mention-widget-96100894.js +83 -0
  71. package/{menu-widget-b0f7df61.js → menu-widget-148fd4ea.js} +40 -40
  72. package/{model-widget-a310d47d.js → model-widget-6a052edf.js} +13 -13
  73. package/multirow-9ca4ca37.js +230 -0
  74. package/{multirow-widget-2afb3f54.js → multirow-widget-fa96667f.js} +15 -15
  75. package/package.json +1 -1
  76. package/{pagination-widget-931e32bf.js → pagination-widget-66e2f0a2.js} +30 -30
  77. package/{picture-upload-widget-024f7208.js → picture-upload-widget-075e05c1.js} +16 -16
  78. package/{progress-widget-297be943.js → progress-widget-333d7a0a.js} +14 -14
  79. package/{qrcode-widget-0e94e6cd.js → qrcode-widget-045e0c9a.js} +13 -13
  80. package/{radio-widget-c0b6bda6.js → radio-widget-fe12d4c8.js} +15 -15
  81. package/{range-widget-b81d2028.js → range-widget-fc86ae7e.js} +24 -24
  82. package/{rate-widget-5163cce2.js → rate-widget-d778af5d.js} +18 -18
  83. package/render.es.js +63 -63
  84. package/render.style.css +1 -1
  85. package/render.umd.js +333 -333
  86. package/{result-widget-1efc29eb.js → result-widget-46f08a0a.js} +25 -25
  87. package/{rich-editor-widget-5a6d29eb.js → rich-editor-widget-5b1f66ab.js} +25 -25
  88. package/{router-widget-cccd7536.js → router-widget-8f1aad9c.js} +16 -16
  89. package/{segmented-widget-6e2c42f6.js → segmented-widget-2a0b784f.js} +13 -13
  90. package/{select-widget-97c0e613.js → select-widget-5468d1da.js} +17 -17
  91. package/{sfc-44f6eaf9.js → sfc-617b09f7.js} +8 -8
  92. package/{sfcview-14201ef8.js → sfcview-8b8843f7.js} +7 -7
  93. package/share-field-3a9e6bb1.js +853 -0
  94. package/{share-file-195aab56.js → share-file-d70f8343.js} +13 -13
  95. package/{skeleton-widget-c2725956.js → skeleton-widget-5387eed4.js} +30 -30
  96. package/{skeletonItem-widget-a258a8d3.js → skeletonItem-widget-ecdd9a97.js} +16 -16
  97. package/{slider-widget-f903dd0c.js → slider-widget-1f440f9c.js} +20 -20
  98. package/{slot-41107354.js → slot-6351573b.js} +3 -3
  99. package/{space-widget-aa9906ab.js → space-widget-9d18ca7c.js} +23 -23
  100. package/{splitter-widget-9ded3175.js → splitter-widget-98a807ad.js} +19 -19
  101. package/{static-text-widget-5c0e3989.js → static-text-widget-21ac4878.js} +18 -18
  102. package/{statistic-widget-37a5d38a.js → statistic-widget-db1a0147.js} +16 -16
  103. package/{steps-widget-46f2f124.js → steps-widget-9f35d784.js} +22 -22
  104. package/{subMenu-widget-9f88f073.js → subMenu-widget-851a139d.js} +8 -8
  105. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-ec228fc3.js → subMenu-widget.vue_vue_type_script_setup_true_lang-4590af73.js} +3 -3
  106. package/{switch-widget-4bf3daab.js → switch-widget-5a370968.js} +17 -17
  107. package/{tab-pane-widget-316279a0.js → tab-pane-widget-a7bd2ceb.js} +1 -1
  108. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7c5c0905.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7699e876.js} +7 -7
  109. package/table-col-widget-09f03c57.js +23 -0
  110. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-13c6965a.js +114 -0
  111. package/table-widget-4d183bab.js +353 -0
  112. package/{tabs-widget-989e56f0.js → tabs-widget-5a65c0d7.js} +7 -7
  113. package/{tag-widget-c1addcf0.js → tag-widget-1579b309.js} +16 -16
  114. package/{text-widget-24037c00.js → text-widget-4638bd8d.js} +16 -16
  115. package/{textarea-widget-13b18d40.js → textarea-widget-bf728b3e.js} +19 -19
  116. package/{time-picker-range-widget-a6257007.js → time-picker-range-widget-e6623bbc.js} +19 -19
  117. package/{time-picker-widget-5e1fda13.js → time-picker-widget-7e096da7.js} +21 -21
  118. package/{time-select-widget-606fde34.js → time-select-widget-5ad455af.js} +20 -20
  119. package/{timeline-widget-a6c591d3.js → timeline-widget-e9682df9.js} +45 -45
  120. package/{tmpl-widget-6c42545d.js → tmpl-widget-6e0ba669.js} +21 -21
  121. package/{tooltip-widget-4b035973.js → tooltip-widget-c955b957.js} +34 -34
  122. package/{tour-widget-b8f0de0f.js → tour-widget-2f93943e.js} +19 -19
  123. package/transfer-widget-ae894a04.js +82 -0
  124. package/{tree-select-widget-ede67c5e.js → tree-select-widget-7ba9d526.js} +23 -23
  125. package/{tree-widget-f815c52f.js → tree-widget-d501b9d5.js} +20 -20
  126. package/{uuid-42d0510c.js → uuid-432548c7.js} +1 -1
  127. package/{verifycode-widget-486a92e1.js → verifycode-widget-99e9067a.js} +13 -13
  128. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js} +7 -7
  129. package/{wrapper-widget-bab1bc99.js → wrapper-widget-9e9c2a52.js} +6 -6
  130. package/auto-complete-widget-880e7e0f.js +0 -75
  131. package/chart-widget-74cf9fec.js +0 -88
  132. package/date-picker-widget-09025df8.js +0 -114
  133. package/default-slot-widget-8808befb.js +0 -27
  134. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cc526709.js +0 -84
  135. package/feedback-widget-34e7dc2e.js +0 -27
  136. package/form-widget-f3f0dee4.js +0 -246
  137. package/iframe-widget-a2c32d14.js +0 -113
  138. package/image-widget-95731da3.js +0 -65
  139. package/input-tag-widget-bdddfff8.js +0 -72
  140. package/mention-widget-c266845d.js +0 -83
  141. package/multirow-7c1d3611.js +0 -230
  142. package/share-field-c413e55b.js +0 -839
  143. package/table-col-widget-30c875ce.js +0 -23
  144. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-576d6688.js +0 -114
  145. package/table-widget-cccbdbb1.js +0 -352
  146. package/transfer-widget-2f490760.js +0 -82
@@ -0,0 +1,353 @@
1
+ import { defineComponent as ve, inject as Je, ref as k, computed as j, reactive as qe, onMounted as Qe, resolveComponent as V, resolveDirective as Xe, openBlock as g, createBlock as h, mergeProps as G, unref as o, withCtx as W, withDirectives as Ye, createElementBlock as A, createElementVNode as de, createCommentVNode as x, createTextVNode as Ze, toDisplayString as we, toHandlers as Re, createSlots as et, renderList as ce, Fragment as K, resolveDynamicComponent as pe, createVNode as tt } from "vue";
2
+ import { a2 as rt, x as at, e as B, g as D, t as fe, v as nt, a as ot, f as it, o as lt } from "./enum-type-6ac4c4d4.js";
3
+ import { L as st, g as ut, P as U, K as dt, b as ct, c as pt } from "./baseImp-59f32ed8.js";
4
+ import { I as ft } from "./field-base-1acf3ada.js";
5
+ import { _ as gt } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
6
+ import { a as mt } from "./share-field-3a9e6bb1.js";
7
+ import { d as vt, s as ht, w as bt, b as yt } from "./expression-22698064.js";
8
+ import { _ as St } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-13c6965a.js";
9
+ import { F as _t, d as Nt, g as Pt } from "./slot-6351573b.js";
10
+ import { c as kt, p as ge } from "./multirow-9ca4ca37.js";
11
+ import { S as Ct } from "./enum-type-e5e6ba33.js";
12
+ import { D as me } from "./drag-wrapper-de2e2fbe.js";
13
+ import { Grid as Ft } from "./index-6bcfdc22.js";
14
+ import "./icon-1fc5d00d.js";
15
+ import "axios";
16
+ import "./dialog-003d60d4.js";
17
+ import "./_commonjsHelpers-e7ea1525.js";
18
+ import "./uuid-432548c7.js";
19
+ import "element-plus";
20
+ import "./widget-base-8eece820.js";
21
+ import "./index-50ac6b9c.js";
22
+ import "./index-170931d8.js";
23
+ import "./_plugin-vue_export-helper-dad06003.js";
24
+ import "./fieldobj-7311a036.js";
25
+ import "./source-map-b04aec4a.js";
26
+ import "./esprima-e8d15055.js";
27
+ function xt() {
28
+ return {
29
+ splitNumericUnit: (v) => {
30
+ if (v === Ct.auto)
31
+ return {
32
+ original: v,
33
+ numeric: null,
34
+ unit: v,
35
+ valid: !0
36
+ };
37
+ const b = v == null ? void 0 : v.replace(/\s+/g, ""), C = b == null ? void 0 : b.match(/^(-?\d*\.?\d+)([^\d]*)$/);
38
+ if (!C)
39
+ return {
40
+ original: v,
41
+ numeric: null,
42
+ unit: "",
43
+ valid: !1
44
+ };
45
+ const d = parseFloat(C[1]), M = C[2] || "";
46
+ return {
47
+ original: v,
48
+ numeric: isNaN(d) ? null : d,
49
+ unit: M,
50
+ valid: M !== null && !isNaN(d)
51
+ };
52
+ }
53
+ };
54
+ }
55
+ const zt = { key: 1 }, Ot = { style: { flex: "1" } }, Tt = ve({ componentName: bt.FieldWidget }), nr = /* @__PURE__ */ ve({
56
+ ...Tt,
57
+ __name: "table-widget",
58
+ props: { ...ft },
59
+ setup(H, { expose: v }) {
60
+ var R;
61
+ const b = H, { fieldName: C, exposed: d, fieldEditor: M, fieldKey: he, attrs: N, slots: J, extendAttrs: p, events: be, optionItems: y, watchOption: ye, fieldObj: Se, propResultOpt: _e, getFieldOptions: Ne, instance: Pe } = mt(b), ke = Je(vt.globalConfig, {}), { toModel: Ce } = kt({
62
+ ...b,
63
+ globalConfig: ke,
64
+ fieldName: C.value
65
+ }), q = k();
66
+ var Fe = j(() => rt(y == null ? void 0 : y.value, "children", (e) => U.getValue(e == null ? void 0 : e.filterable) || !1));
67
+ const xe = (e) => {
68
+ var t, r;
69
+ q.value = { ...e }, (r = (t = N.value) == null ? void 0 : t.filterChange) == null || r.call(t, e);
70
+ }, ze = (e, t, r) => {
71
+ if (!e || (e == null ? void 0 : e.length) <= 0)
72
+ return e;
73
+ let l = [...e];
74
+ return !t || t.length <= 0 || r && r.length > 0 && (r == null || r.forEach((n) => {
75
+ l = l == null ? void 0 : l.filter(
76
+ (i) => {
77
+ var m;
78
+ const u = n.prop, c = U.getValue(n == null ? void 0 : n.filterMethod), a = t[u];
79
+ if (!c || !D(a))
80
+ return !0;
81
+ const f = (m = fe(a, !0)) == null ? void 0 : m.some((S) => dt(c, { value: S, row: i, col: { ...n, property: u }, ctx: T }));
82
+ return u && f;
83
+ }
84
+ );
85
+ })), l;
86
+ }, z = k([]), Oe = (e, t) => {
87
+ if (!e || (e == null ? void 0 : e.length) <= 0)
88
+ return e;
89
+ const r = [...e];
90
+ if (t.length === 0)
91
+ return r;
92
+ const l = {
93
+ descending: "desc",
94
+ ascending: "asc"
95
+ };
96
+ var n = t == null ? void 0 : t.map((i) => ({
97
+ selector: (u, c) => {
98
+ var a, f;
99
+ return ((f = (a = i.column).sortBy) == null ? void 0 : f.call(a, u, c, T)) || u[i.prop];
100
+ },
101
+ method: i.column.sortMethod == null ? (u, c) => {
102
+ var a, f;
103
+ return (f = (a = i.column).sortMethod) == null ? void 0 : f.call(a, u, c, T);
104
+ } : void 0,
105
+ direction: l[i.order]
106
+ }));
107
+ return nt(r, ...n);
108
+ }, Te = ({ column: e, prop: t, order: r }) => {
109
+ const l = z.value.findIndex((n) => n.prop === t);
110
+ if (r == null)
111
+ l !== -1 && z.value.splice(l, 1);
112
+ else {
113
+ const n = { column: e, prop: t, order: r };
114
+ l !== -1 ? z.value[l] = n : z.value.push(n);
115
+ }
116
+ _.value = 1;
117
+ }, _ = k(1), O = k((R = p.value) == null ? void 0 : R.pageSize), L = k(10), Ee = (e) => {
118
+ O.value = e;
119
+ }, Q = (e) => {
120
+ _.value = e;
121
+ }, F = k(), je = j(() => {
122
+ var t;
123
+ if (b.designState)
124
+ return [{}];
125
+ if ((t = p.value) != null && t.allowPage) {
126
+ var e = at($.value, _.value, O.value);
127
+ return L.value = e == null ? void 0 : e.totalItems, e == null ? void 0 : e.data;
128
+ } else
129
+ return $.value;
130
+ }), $ = j(() => {
131
+ let e = F.value;
132
+ return e = ze(e, q.value, Fe.value), e = Oe(e, z.value), e;
133
+ }), I = k(!1), Ve = () => {
134
+ _.value = 1, L.value = 0, F.value = [];
135
+ }, X = (e = !0) => {
136
+ const t = _.value;
137
+ return new Promise((r, l) => {
138
+ const n = (i) => {
139
+ F.value = i, I.value = !1, e && t > 1 && Q(t), r(i);
140
+ };
141
+ ye(yt.data, () => {
142
+ Ve(), I.value = !0;
143
+ }, (i) => {
144
+ var u, c;
145
+ if (!((u = p.value) != null && u.beforeTableRender)) {
146
+ n(i);
147
+ return;
148
+ }
149
+ (c = p.value) == null || c.beforeTableRender(i, (a) => {
150
+ n(a);
151
+ });
152
+ });
153
+ });
154
+ }, Me = (e) => {
155
+ ot(e) && (e = it(e)), F.value = fe(e, !0);
156
+ }, Ie = () => F.value, We = (e = !0) => {
157
+ I.value = e;
158
+ }, Y = qe({}), Ae = C.value;
159
+ _t.globalProvide({
160
+ globalFormName: Ae,
161
+ globalDataModel: Y
162
+ });
163
+ const Be = B.i18nt("designer.hint.noData"), Ue = () => {
164
+ var t;
165
+ var e = {};
166
+ return (t = Object.keys(d == null ? void 0 : d.allRefList)) == null || t.forEach((r) => {
167
+ var i, u, c;
168
+ var l = (c = (u = (i = d == null ? void 0 : d.allRefList[r]) == null ? void 0 : i.exposed) == null ? void 0 : u.getField) == null ? void 0 : c.call(u);
169
+ if (l) {
170
+ const a = ge(r);
171
+ if (!(a != null && a.groupName) || (a == null ? void 0 : a.groupName) === "header")
172
+ return;
173
+ var n = e[a == null ? void 0 : a.groupName];
174
+ n || (n = []), n.push(l), e[a == null ? void 0 : a.groupName] = n;
175
+ }
176
+ }), lt(e).map((r) => Ce(Y, e[r]));
177
+ }, Le = (e) => {
178
+ var t;
179
+ !e || e.length <= 0 || (t = Object.keys(d == null ? void 0 : d.allRefList)) == null || t.forEach((r) => {
180
+ var c, a, f, m, S, P, E;
181
+ var l = (f = (a = (c = d == null ? void 0 : d.allRefList[r]) == null ? void 0 : c.exposed) == null ? void 0 : a.getField) == null ? void 0 : f.call(a);
182
+ if (!l)
183
+ return;
184
+ const n = ge(r);
185
+ if (!(n != null && n.groupName))
186
+ return;
187
+ var i = e == null ? void 0 : e[parseInt(n == null ? void 0 : n.groupName)];
188
+ const u = (m = l == null ? void 0 : l._source) == null ? void 0 : m.name;
189
+ (i == null ? void 0 : i[u]) != null && ((E = (P = (S = d == null ? void 0 : d.allRefList[r]) == null ? void 0 : S.exposed) == null ? void 0 : P.setValue) == null || E.call(P, i == null ? void 0 : i[u]));
190
+ });
191
+ }, $e = j(() => {
192
+ var e;
193
+ return (e = p.value) == null ? void 0 : e.showToolbar;
194
+ }), Ge = j(() => {
195
+ var e;
196
+ return (e = p.value) == null ? void 0 : e.enableExport;
197
+ }), { exporting: Ke, exportExcel: De } = st(), { splitNumericUnit: He } = xt(), T = ut({ instance: Pe }), Z = (e) => {
198
+ var t;
199
+ return ((t = e == null ? void 0 : e.filter((r) => !!U.getValue(r.exportable))) == null ? void 0 : t.map((r) => {
200
+ var i;
201
+ const { getWidgetOptionByPropValue: l } = ct({ options: r }), n = (i = He(r.width + "")) == null ? void 0 : i.numeric;
202
+ return {
203
+ prop: r.prop,
204
+ label: r.label,
205
+ children: Z(r.children),
206
+ width: n,
207
+ formatter: (u, c, a, f) => {
208
+ const m = r.formatter;
209
+ if (!m || !U.getValue(m))
210
+ return a;
211
+ const S = { row: u, column: c, cellValue: a, index: f, ctx: T };
212
+ return pt(l(m), S);
213
+ }
214
+ };
215
+ })) || [];
216
+ }, w = (e) => {
217
+ var l, n, i;
218
+ if (b.designState)
219
+ return;
220
+ const t = {
221
+ filename: (l = p.value) == null ? void 0 : l.exportFileName,
222
+ sheetName: (n = p.value) == null ? void 0 : n.exportSheetName,
223
+ autoWidth: (i = p.value) == null ? void 0 : i.exportAutoWidth
224
+ }, r = Z(y == null ? void 0 : y.value);
225
+ return De($.value, r, { ...t, ...e });
226
+ };
227
+ return Qe(() => {
228
+ b.designState || X();
229
+ }), v({
230
+ ...d,
231
+ setValue: Me,
232
+ getValue: Ie,
233
+ refresh: X,
234
+ getTableData: Ue,
235
+ setTableData: Le,
236
+ setLoading: We,
237
+ exporting: Ke,
238
+ exportToExcel: w,
239
+ currentPage: () => _.value,
240
+ pageSize: () => O.value
241
+ }), (e, t) => {
242
+ const r = V("el-empty"), l = V("el-button"), n = V("el-row"), i = V("el-table"), u = V("el-pagination"), c = Xe("loading");
243
+ return g(), h(gt, G(e.$props, {
244
+ "prop-options": { fieldObj: o(Se) }
245
+ }), {
246
+ default: W(({ data: a }) => {
247
+ var f, m, S, P, E, ee, te, re, ae, ne, oe, ie;
248
+ return [
249
+ !o(y) || ((f = o(y)) == null ? void 0 : f.length) <= 0 || ((m = o(y)) == null ? void 0 : m[0]) == null ? (g(), h(r, {
250
+ key: 0,
251
+ description: o(B).i18nt("designer.hint.tableSetting")
252
+ }, null, 8, ["description"])) : Ye((g(), A("div", zt, [
253
+ $e.value ? (g(), h(n, {
254
+ key: 0,
255
+ justify: "space-between",
256
+ style: { padding: "10px" }
257
+ }, {
258
+ default: W(() => {
259
+ var s;
260
+ return [
261
+ de("div", Ot, [
262
+ (s = o(p)) != null && s.slotable ? (g(), h(me, {
263
+ key: 0,
264
+ designState: e.designState,
265
+ designer: e.designer,
266
+ widget: o(Nt)(o(J), "toolbar"),
267
+ dragTip: o(B).i18nt("designer.hint.draggableArea1")
268
+ }, null, 8, ["designState", "designer", "widget", "dragTip"])) : x("", !0)
269
+ ]),
270
+ de("div", null, [
271
+ Ge.value ? (g(), h(l, {
272
+ key: 0,
273
+ link: "",
274
+ onClick: w,
275
+ icon: o(Ft)
276
+ }, {
277
+ default: W(() => [
278
+ Ze(we(o(B).i18nt("designer.hint.export")), 1)
279
+ ]),
280
+ _: 1
281
+ }, 8, ["icon"])) : x("", !0)
282
+ ])
283
+ ];
284
+ }),
285
+ _: 1
286
+ })) : x("", !0),
287
+ (g(), h(i, G({
288
+ ref_key: "fieldEditor",
289
+ ref: M
290
+ }, o(N), Re(o(be)), {
291
+ key: o(he),
292
+ "empty-text": ((S = o(N)) == null ? void 0 : S.emptyText) || o(Be),
293
+ size: a.size,
294
+ defaultSort: o(D)((P = o(N)) == null ? void 0 : P.defaultSort) ? (E = o(N)) == null ? void 0 : E.defaultSort : void 0,
295
+ treeProps: o(D)((ee = o(N)) == null ? void 0 : ee.treeProps) ? (te = o(N)) == null ? void 0 : te.treeProps : void 0,
296
+ class: a.injectClass,
297
+ style: a.injectStyle,
298
+ data: je.value,
299
+ onFilterChange: xe,
300
+ onSortChange: Te
301
+ }), et({ _: 2 }, [
302
+ ce(o(Pt)(o(J), !1), (s) => ({
303
+ name: s.slotName,
304
+ fn: W(() => {
305
+ var le, se;
306
+ return [
307
+ (s == null ? void 0 : s.slotName) === o(ht).default ? (g(), A(K, { key: 0 }, [
308
+ s != null && s.default && ((le = o(p)) != null && le.slotable) ? (g(), h(pe(s == null ? void 0 : s.default), { key: 0 })) : (g(!0), A(K, { key: 1 }, ce(o(Ne)("optionItems"), (ue, Et) => (g(), h(St, {
309
+ key: ue.uuid,
310
+ options: ue,
311
+ designer: e.designer,
312
+ propResultParam: o(_e),
313
+ ctx: o(T),
314
+ designState: e.designState,
315
+ "real-table-data": F.value
316
+ }, null, 8, ["options", "designer", "propResultParam", "ctx", "designState", "real-table-data"]))), 128))
317
+ ], 64)) : (se = o(p)) != null && se.slotable ? (g(), A(K, { key: 1 }, [
318
+ s != null && s.default ? (g(), h(pe(s == null ? void 0 : s.default), { key: 0 })) : x("", !0),
319
+ tt(me, G(e.$props, {
320
+ widget: s,
321
+ "drag-class": "dragSize1"
322
+ }), null, 16, ["widget"])
323
+ ], 64)) : x("", !0)
324
+ ];
325
+ })
326
+ }))
327
+ ]), 1040, ["empty-text", "size", "defaultSort", "treeProps", "class", "style", "data"])),
328
+ (re = o(p)) != null && re.allowPage ? (g(), h(u, {
329
+ key: 1,
330
+ "current-page": _.value,
331
+ "onUpdate:currentPage": t[0] || (t[0] = (s) => _.value = s),
332
+ "page-size": O.value,
333
+ "onUpdate:pageSize": t[1] || (t[1] = (s) => O.value = s),
334
+ "page-sizes": (ae = o(p)) == null ? void 0 : ae.pageSizes,
335
+ hideOnSinglePage: (ne = o(p)) == null ? void 0 : ne.hideOnSinglePage,
336
+ layout: (ie = (oe = o(p)) == null ? void 0 : oe.layout) == null ? void 0 : ie.join(","),
337
+ total: L.value,
338
+ onSizeChange: Ee,
339
+ onCurrentChange: Q
340
+ }, null, 8, ["current-page", "page-size", "page-sizes", "hideOnSinglePage", "layout", "total"])) : x("", !0)
341
+ ])), [
342
+ [c, !e.designState && I.value]
343
+ ])
344
+ ];
345
+ }),
346
+ _: 1
347
+ }, 16, ["prop-options"]);
348
+ };
349
+ }
350
+ });
351
+ export {
352
+ nr as default
353
+ };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as y, computed as _, ref as L, resolveComponent as U, resolveDirective as W, openBlock as i, createBlock as d, mergeProps as v, unref as t, withCtx as w, withDirectives as z, toHandlers as E, createElementBlock as R, Fragment as q, renderList as G } from "vue";
2
- import { c as n, k as J } from "./enum-type-6c255e6f.js";
3
- import { b as Q, w as X } from "./expression-2e171e7f.js";
2
+ import { c as n, k as J } from "./enum-type-6ac4c4d4.js";
3
+ import { b as Q, w as X } from "./expression-22698064.js";
4
4
  import { I as Y } from "./widget-base-8eece820.js";
5
- import { b as Z } from "./share-field-c413e55b.js";
6
- import { _ as ee } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
7
- import { _ as te } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7c5c0905.js";
8
- import { u as ae } from "./index-348deabd.js";
9
- import { B as T } from "./baseImp-8fc5fcd1.js";
5
+ import { a as Z } from "./share-field-3a9e6bb1.js";
6
+ import { _ as ee } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
7
+ import { _ as te } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7699e876.js";
8
+ import { u as ae } from "./index-50ac6b9c.js";
9
+ import { B as T } from "./baseImp-59f32ed8.js";
10
10
  const oe = y({ componentName: X.ContainerWidget }), se = /* @__PURE__ */ y({
11
11
  ...oe,
12
12
  __name: "tabs-widget",
@@ -1,29 +1,29 @@
1
1
  import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-1acf3ada.js";
3
- import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cc526709.js";
4
- import { w as c } from "./expression-2e171e7f.js";
5
- import { b as u } from "./share-field-c413e55b.js";
3
+ import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a2a01c7e.js";
4
+ import { w as c } from "./expression-22698064.js";
5
+ import { a as u } from "./share-field-3a9e6bb1.js";
6
6
  import "./widget-base-8eece820.js";
7
- import "./enum-type-6c255e6f.js";
8
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
9
- import "./index-348deabd.js";
10
- import "./uuid-42d0510c.js";
11
- import "./enum-type-fac871cf.js";
12
- import "./baseImp-8fc5fcd1.js";
7
+ import "./enum-type-6ac4c4d4.js";
8
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
9
+ import "./index-50ac6b9c.js";
10
+ import "./uuid-432548c7.js";
11
+ import "./enum-type-e5e6ba33.js";
12
+ import "./baseImp-59f32ed8.js";
13
13
  import "./icon-1fc5d00d.js";
14
14
  import "axios";
15
- import "./dialog-6b873daf.js";
15
+ import "./dialog-003d60d4.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "element-plus";
18
- import "./index-67c61ead.js";
18
+ import "./index-170931d8.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-41bfe99f.js";
21
- import "./slot-41107354.js";
22
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-451c0a3d.js";
23
- import "./drag-wrapper-2b219253.js";
20
+ import "./fieldobj-7311a036.js";
21
+ import "./slot-6351573b.js";
22
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-a50f99a8.js";
23
+ import "./drag-wrapper-de2e2fbe.js";
24
24
  import "./source-map-b04aec4a.js";
25
25
  import "./esprima-e8d15055.js";
26
- import "./multirow-7c1d3611.js";
26
+ import "./multirow-9ca4ca37.js";
27
27
  const g = t({ componentName: c.FieldWidget }), L = /* @__PURE__ */ t({
28
28
  ...g,
29
29
  __name: "tag-widget",
@@ -1,29 +1,29 @@
1
1
  import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as f, unref as l } from "vue";
2
2
  import { I as a } from "./field-base-1acf3ada.js";
3
- import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cc526709.js";
4
- import { w as c } from "./expression-2e171e7f.js";
5
- import { b as u } from "./share-field-c413e55b.js";
3
+ import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a2a01c7e.js";
4
+ import { w as c } from "./expression-22698064.js";
5
+ import { a as u } from "./share-field-3a9e6bb1.js";
6
6
  import "./widget-base-8eece820.js";
7
- import "./enum-type-6c255e6f.js";
8
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
9
- import "./index-348deabd.js";
10
- import "./uuid-42d0510c.js";
11
- import "./enum-type-fac871cf.js";
12
- import "./baseImp-8fc5fcd1.js";
7
+ import "./enum-type-6ac4c4d4.js";
8
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
9
+ import "./index-50ac6b9c.js";
10
+ import "./uuid-432548c7.js";
11
+ import "./enum-type-e5e6ba33.js";
12
+ import "./baseImp-59f32ed8.js";
13
13
  import "./icon-1fc5d00d.js";
14
14
  import "axios";
15
- import "./dialog-6b873daf.js";
15
+ import "./dialog-003d60d4.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "element-plus";
18
- import "./index-67c61ead.js";
18
+ import "./index-170931d8.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-41bfe99f.js";
21
- import "./slot-41107354.js";
22
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-451c0a3d.js";
23
- import "./drag-wrapper-2b219253.js";
20
+ import "./fieldobj-7311a036.js";
21
+ import "./slot-6351573b.js";
22
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-a50f99a8.js";
23
+ import "./drag-wrapper-de2e2fbe.js";
24
24
  import "./source-map-b04aec4a.js";
25
25
  import "./esprima-e8d15055.js";
26
- import "./multirow-7c1d3611.js";
26
+ import "./multirow-9ca4ca37.js";
27
27
  const g = t({ componentName: c.FieldWidget }), L = /* @__PURE__ */ t({
28
28
  ...g,
29
29
  __name: "text-widget",
@@ -1,37 +1,37 @@
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-c413e55b.js";
3
- import { I as b } from "./field-base-1acf3ada.js";
4
- import v from "./form-item-wrapper-8744cd1f.js";
5
- import { w as I } from "./expression-2e171e7f.js";
6
- import "./enum-type-6c255e6f.js";
7
- import "./multirow-7c1d3611.js";
8
- import "./baseImp-8fc5fcd1.js";
9
- import "./enum-type-fac871cf.js";
2
+ import { a as V } from "./share-field-3a9e6bb1.js";
3
+ import { I as v } from "./field-base-1acf3ada.js";
4
+ import I from "./form-item-wrapper-a15a3788.js";
5
+ import { w as b } from "./expression-22698064.js";
6
+ import "./enum-type-6ac4c4d4.js";
7
+ import "./multirow-9ca4ca37.js";
8
+ import "./baseImp-59f32ed8.js";
9
+ import "./enum-type-e5e6ba33.js";
10
10
  import "./icon-1fc5d00d.js";
11
11
  import "axios";
12
- import "./dialog-6b873daf.js";
12
+ import "./dialog-003d60d4.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
- import "./uuid-42d0510c.js";
14
+ import "./uuid-432548c7.js";
15
15
  import "element-plus";
16
- import "./index-348deabd.js";
17
- import "./slot-41107354.js";
16
+ import "./index-50ac6b9c.js";
17
+ import "./slot-6351573b.js";
18
18
  import "./widget-base-8eece820.js";
19
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
20
- import "./index-67c61ead.js";
19
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
20
+ import "./index-170931d8.js";
21
21
  import "./_plugin-vue_export-helper-dad06003.js";
22
- import "./fieldobj-41bfe99f.js";
23
- import "./label-wrapper.vue_vue_type_style_index_0_lang-258b8a5f.js";
22
+ import "./fieldobj-7311a036.js";
23
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js";
24
24
  import "./source-map-b04aec4a.js";
25
25
  import "./esprima-e8d15055.js";
26
- const B = l({ componentName: I.FieldWidget }), oe = /* @__PURE__ */ l({
26
+ const B = l({ componentName: b.FieldWidget }), oe = /* @__PURE__ */ l({
27
27
  ...B,
28
28
  __name: "textarea-widget",
29
- props: { ...b },
29
+ props: { ...v },
30
30
  setup(s, { expose: n }) {
31
31
  const a = s, { fieldEditor: d, fieldKey: f, fieldModel: o, rules: u, attrs: c, events: _, exposed: y, fieldObj: x } = V(a);
32
32
  return n({ ...y }), (g, t) => {
33
33
  const j = w("el-input");
34
- return p(), i(v, m(g.$props, {
34
+ return p(), i(I, m(g.$props, {
35
35
  propOptions: { fieldObj: e(x), rules: e(u) }
36
36
  }), {
37
37
  default: C(({ data: r }) => [
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as _, computed as C, resolveComponent as z, openBlock as d, createBlock as u, mergeProps as c, unref as t, withCtx as I, toHandlers as K } from "vue";
2
- import { a as T, f as B, n as E, e as f, c as p } from "./enum-type-6c255e6f.js";
3
- import { b as s, d as m } from "./uuid-42d0510c.js";
2
+ import { a as T, f as B, n as E, e as f, c as p } from "./enum-type-6ac4c4d4.js";
3
+ import { b as s, d as m } from "./uuid-432548c7.js";
4
4
  import { I as M } from "./field-base-1acf3ada.js";
5
- import { b as S } from "./share-field-c413e55b.js";
6
- import W from "./form-item-wrapper-8744cd1f.js";
7
- import { w as D } from "./expression-2e171e7f.js";
5
+ import { a as S } from "./share-field-3a9e6bb1.js";
6
+ import W from "./form-item-wrapper-a15a3788.js";
7
+ import { w as D } from "./expression-22698064.js";
8
8
  import "./widget-base-8eece820.js";
9
- import "./multirow-7c1d3611.js";
10
- import "./baseImp-8fc5fcd1.js";
11
- import "./enum-type-fac871cf.js";
9
+ import "./multirow-9ca4ca37.js";
10
+ import "./baseImp-59f32ed8.js";
11
+ import "./enum-type-e5e6ba33.js";
12
12
  import "./icon-1fc5d00d.js";
13
13
  import "axios";
14
- import "./dialog-6b873daf.js";
14
+ import "./dialog-003d60d4.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
- import "./index-348deabd.js";
18
- import "./slot-41107354.js";
19
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
20
- import "./index-67c61ead.js";
17
+ import "./index-50ac6b9c.js";
18
+ import "./slot-6351573b.js";
19
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
20
+ import "./index-170931d8.js";
21
21
  import "./_plugin-vue_export-helper-dad06003.js";
22
- import "./fieldobj-41bfe99f.js";
23
- import "./label-wrapper.vue_vue_type_style_index_0_lang-258b8a5f.js";
22
+ import "./fieldobj-7311a036.js";
23
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js";
24
24
  import "./source-map-b04aec4a.js";
25
25
  import "./esprima-e8d15055.js";
26
26
  const H = _({ componentName: D.FieldWidget }), ue = /* @__PURE__ */ _({
@@ -28,7 +28,7 @@ const H = _({ componentName: D.FieldWidget }), ue = /* @__PURE__ */ _({
28
28
  __name: "time-picker-range-widget",
29
29
  props: { ...M },
30
30
  setup(h, { expose: v }) {
31
- const y = h, { fieldModel: i, fieldEditor: g, fieldKey: k, rules: V, events: b, attrs: l, exposed: j, fieldObj: F, watchKeyValue: P, refreshKey: w } = S(y), O = P(
31
+ const y = h, { fieldModel: i, fieldEditor: g, fieldKey: k, rules: V, events: j, attrs: l, exposed: F, fieldObj: P, watchKeyValue: b, refreshKey: w } = S(y), O = b(
32
32
  "defaultValue",
33
33
  (r) => {
34
34
  var e;
@@ -51,10 +51,10 @@ const H = _({ componentName: D.FieldWidget }), ue = /* @__PURE__ */ _({
51
51
  i.value = (e = s(p(r))) == null ? void 0 : e.map((o) => m(o));
52
52
  }
53
53
  });
54
- return v({ ...j }), (r, e) => {
54
+ return v({ ...F }), (r, e) => {
55
55
  const o = z("el-time-picker");
56
56
  return d(), u(W, c(r.$props, {
57
- propOptions: { fieldObj: t(F), rules: t(V) }
57
+ propOptions: { fieldObj: t(P), rules: t(V) }
58
58
  }), {
59
59
  default: I(({ data: a }) => [
60
60
  (d(), u(o, c({
@@ -63,7 +63,7 @@ const H = _({ componentName: D.FieldWidget }), ue = /* @__PURE__ */ _({
63
63
  modelValue: n.value,
64
64
  "onUpdate:modelValue": e[0] || (e[0] = (x) => n.value = x),
65
65
  key: t(k)
66
- }, t(l), K(t(b)), {
66
+ }, t(l), K(t(j)), {
67
67
  size: a.size,
68
68
  class: a.injectClass,
69
69
  style: a.injectStyle,