hlrender 0.0.275 → 0.0.277
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.
- package/{_pdf-9300deb1.js → _pdf-9b5d27b4.js} +6 -6
- package/{_txt-980f8fe5.js → _txt-0593d0e0.js} +6 -6
- package/{_unsupport-1b097ae2.js → _unsupport-da233192.js} +1 -1
- package/{affix-widget-3d9d3ab4.js → affix-widget-5eff7539.js} +16 -16
- package/{alert-widget-a7df34cd.js → alert-widget-8cd84657.js} +16 -16
- package/{anchor-widget-04d9e748.js → anchor-widget-d58f6e60.js} +13 -13
- package/{auto-complete-widget-7fdb981a.js → auto-complete-widget-166082a5.js} +16 -16
- package/{avatar-widget-055c78ce.js → avatar-widget-f97be7ac.js} +16 -16
- package/{backtop-widget-92937e86.js → backtop-widget-1006665d.js} +16 -16
- package/{badge-widget-1f5e7de4.js → badge-widget-1d0ed75f.js} +16 -16
- package/{barcode-widget-231a8df0.js → barcode-widget-25155300.js} +13 -13
- package/{baseImp-59f32ed8.js → baseImp-400cad07.js} +755 -755
- package/{breadcrumb-widget-87f4990a.js → breadcrumb-widget-bdd20066.js} +13 -13
- package/{button-widget-b60683fd.js → button-widget-880d8d0c.js} +16 -16
- package/{cache-widget-e87f1b12.js → cache-widget-5c727929.js} +15 -15
- package/{card-widget-397b114d.js → card-widget-f179a2e6.js} +14 -14
- package/{carousel-widget-1f45fb6f.js → carousel-widget-36fae939.js} +14 -14
- package/{cascader-widget-aa8de234.js → cascader-widget-b1c95acc.js} +15 -15
- package/{chart-widget-1515bc55.js → chart-widget-4ca61f96.js} +13 -13
- package/{checkbox-widget-fad2b786.js → checkbox-widget-2f21494c.js} +15 -15
- package/{collapse-widget-61a38835.js → collapse-widget-3b1dff24.js} +14 -14
- package/{color-picker-widget-fbdaccd2.js → color-picker-widget-1b2e9202.js} +15 -15
- package/{cont-cell-widget-eb40d148.js → cont-cell-widget-70f95189.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-eb5196fd.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-41f5c952.js} +5 -5
- package/{cont-widget-7d6df43f.js → cont-widget-6651a278.js} +5 -5
- package/{content-wrapper-3d003ed0.js → content-wrapper-34143ad2.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a50f99a8.js → content-wrapper.vue_vue_type_script_setup_true_lang-4a379729.js} +3 -3
- package/{countdown-widget-699a4d4f.js → countdown-widget-b23ab287.js} +16 -16
- package/{date-picker-range-widget-3b175549.js → date-picker-range-widget-140bbecb.js} +15 -15
- package/{date-picker-widget-10ddbefb.js → date-picker-widget-80cabeb6.js} +15 -15
- package/default-slot-widget-7edc42af.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a2a01c7e.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-16bebcdc.js} +7 -7
- package/{descriptions-widget-0f8df31f.js → descriptions-widget-9f167292.js} +14 -14
- package/{dialog-003d60d4.js → dialog-ba82cdec.js} +2 -2
- package/{dialog-widget-4341f34e.js → dialog-widget-2a57427d.js} +15 -15
- package/{divider-widget-21683346.js → divider-widget-71a9e507.js} +16 -16
- package/{drag-wrapper-de2e2fbe.js → drag-wrapper-0704d6d1.js} +6 -6
- package/{drawer-widget-42a61e46.js → drawer-widget-fa8cf284.js} +15 -15
- package/{dropdown-widget-18eb8f5b.js → dropdown-widget-2ef54612.js} +35 -35
- package/{empty-widget-500c1eb7.js → empty-widget-4d0f6c1a.js} +16 -16
- package/{enum-type-e5e6ba33.js → enum-type-c811e210.js} +1 -1
- package/{enum-type-6ac4c4d4.js → enum-type-e79908ad.js} +2 -2
- package/{expression-22698064.js → expression-33c6675c.js} +2 -2
- package/feedback-widget-400446d0.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c5ed0f4e.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0b73037d.js} +6 -6
- package/{fieldobj-7311a036.js → fieldobj-f85abb19.js} +1 -1
- package/{file-upload-widget-152afe9d.js → file-upload-widget-e26dd00d.js} +20 -20
- package/{form-item-wrapper-a15a3788.js → form-item-wrapper-34a76f45.js} +11 -11
- package/{form-widget-11b08925.js → form-widget-af38cc51.js} +25 -25
- package/{grid-col-widget-a7135e3b.js → grid-col-widget-5b120c88.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3e46c8e3.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5832033b.js} +5 -5
- package/{grid-widget-37783953.js → grid-widget-2bbce1f4.js} +5 -5
- package/{hcard-widget-251f924f.js → hcard-widget-08c0c173.js} +14 -14
- package/{html-text-widget-3398f3f3.js → html-text-widget-4d24ba9c.js} +14 -14
- package/{icon-widget-c40670f3.js → icon-widget-16401900.js} +13 -13
- package/{iframe-widget-95725850.js → iframe-widget-f326d813.js} +13 -13
- package/{image-widget-4dccb3cb.js → image-widget-7ea56ba3.js} +13 -13
- package/{index-170931d8.js → index-2bf9b2be.js} +1 -1
- package/{index-50ac6b9c.js → index-ae0006aa.js} +5 -5
- package/{index-6b1b38bd.js → index-c0a3d6e7.js} +4 -4
- package/{input-number-widget-35e2b7c8.js → input-number-widget-29452144.js} +15 -15
- package/{input-tag-widget-e94c22a9.js → input-tag-widget-9f8109eb.js} +16 -16
- package/{input-widget-7707f453.js → input-widget-aeb57864.js} +16 -16
- package/{label-wrapper-005f6858.js → label-wrapper-7e729f44.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-f6d14143.js → label-wrapper.vue_vue_type_style_index_0_lang-cc21dbd8.js} +3 -3
- package/{link-widget-b2175e6a.js → link-widget-a4457819.js} +16 -16
- package/{ltable-col-widget-f615cad7.js → ltable-col-widget-8b738da7.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-bddd15f2.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-49396695.js} +9 -9
- package/{ltable-widget-d31e15a1.js → ltable-widget-aea8e6d2.js} +5 -5
- package/{mention-widget-96100894.js → mention-widget-a1f5438d.js} +16 -16
- package/{menu-widget-148fd4ea.js → menu-widget-c996b76e.js} +14 -14
- package/{model-widget-6a052edf.js → model-widget-c1ffd4d7.js} +13 -13
- package/multirow-08ac8d9a.js +230 -0
- package/{multirow-widget-fa96667f.js → multirow-widget-247be0f8.js} +142 -142
- package/package.json +1 -1
- package/{pagination-widget-66e2f0a2.js → pagination-widget-3a85115a.js} +13 -13
- package/{picture-upload-widget-075e05c1.js → picture-upload-widget-18fa68b4.js} +16 -16
- package/{progress-widget-333d7a0a.js → progress-widget-e763c498.js} +14 -14
- package/{qrcode-widget-045e0c9a.js → qrcode-widget-e9ee4a6e.js} +13 -13
- package/{radio-widget-fe12d4c8.js → radio-widget-d23aedc3.js} +15 -15
- package/{range-widget-fc86ae7e.js → range-widget-1dd729bf.js} +16 -16
- package/{rate-widget-d778af5d.js → rate-widget-4bbc2e66.js} +15 -15
- package/render.es.js +62 -62
- package/render.style.css +1 -1
- package/render.umd.js +314 -314
- package/{result-widget-46f08a0a.js → result-widget-bbe17dd2.js} +14 -14
- package/{rich-editor-widget-5b1f66ab.js → rich-editor-widget-21fa8e4c.js} +15 -15
- package/{router-widget-8f1aad9c.js → router-widget-d51b8479.js} +13 -13
- package/{segmented-widget-2a0b784f.js → segmented-widget-18a04c75.js} +13 -13
- package/{select-widget-5468d1da.js → select-widget-c2bf646a.js} +15 -15
- package/{sfc-617b09f7.js → sfc-31e7b9c3.js} +8 -8
- package/{sfcview-8b8843f7.js → sfcview-97706d6a.js} +7 -7
- package/{share-field-3a9e6bb1.js → share-field-81883144.js} +178 -175
- package/{share-file-d70f8343.js → share-file-0a8dc7ab.js} +6 -6
- package/{skeleton-widget-5387eed4.js → skeleton-widget-6db08389.js} +16 -16
- package/{skeletonItem-widget-ecdd9a97.js → skeletonItem-widget-22f3cbe2.js} +13 -13
- package/{slider-widget-1f440f9c.js → slider-widget-62638317.js} +15 -15
- package/{slot-6351573b.js → slot-474db76c.js} +3 -3
- package/{space-widget-9d18ca7c.js → space-widget-43b960bf.js} +14 -14
- package/{splitter-widget-98a807ad.js → splitter-widget-190aaa61.js} +14 -14
- package/{static-text-widget-21ac4878.js → static-text-widget-90b0cfc8.js} +14 -14
- package/{statistic-widget-db1a0147.js → statistic-widget-fd6f6f6a.js} +16 -16
- package/{steps-widget-9f35d784.js → steps-widget-eaefe865.js} +13 -13
- package/{subMenu-widget-851a139d.js → subMenu-widget-4d9681aa.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-4590af73.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5d15c8c6.js} +3 -3
- package/{switch-widget-5a370968.js → switch-widget-97664e9a.js} +15 -15
- package/{tab-pane-widget-a7bd2ceb.js → tab-pane-widget-cbed5317.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7699e876.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-72f1e2bd.js} +5 -5
- package/table-col-widget-173f4dc6.js +23 -0
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7284959f.js +117 -0
- package/{table-widget-4d183bab.js → table-widget-18ccb965.js} +79 -79
- package/{tabs-widget-5a65c0d7.js → tabs-widget-22b82ad0.js} +7 -7
- package/{tag-widget-1579b309.js → tag-widget-e7db4e04.js} +16 -16
- package/{text-widget-4638bd8d.js → text-widget-51be8fe5.js} +16 -16
- package/{textarea-widget-bf728b3e.js → textarea-widget-747dc446.js} +15 -15
- package/{time-picker-range-widget-e6623bbc.js → time-picker-range-widget-1109a59d.js} +15 -15
- package/{time-picker-widget-7e096da7.js → time-picker-widget-553b16f2.js} +15 -15
- package/{time-select-widget-5ad455af.js → time-select-widget-43f6185d.js} +15 -15
- package/{timeline-widget-e9682df9.js → timeline-widget-aa087667.js} +44 -43
- package/tmpl-widget-eadd7932.js +98 -0
- package/{tooltip-widget-c955b957.js → tooltip-widget-330fb645.js} +14 -14
- package/{tour-widget-2f93943e.js → tour-widget-ab373a54.js} +13 -13
- package/{transfer-widget-ae894a04.js → transfer-widget-fec3ecb0.js} +16 -16
- package/{tree-select-widget-7ba9d526.js → tree-select-widget-fafa708c.js} +15 -15
- package/{tree-widget-d501b9d5.js → tree-widget-d28f3bc9.js} +13 -13
- package/{uuid-432548c7.js → uuid-803a2cf2.js} +1 -1
- package/{verifycode-widget-99e9067a.js → verifycode-widget-cfaac442.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b10bd579.js} +7 -7
- package/{wrapper-widget-9e9c2a52.js → wrapper-widget-92e202dc.js} +6 -6
- package/default-slot-widget-94f14120.js +0 -27
- package/feedback-widget-0206c486.js +0 -27
- package/multirow-9ca4ca37.js +0 -230
- package/table-col-widget-09f03c57.js +0 -23
- package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-13c6965a.js +0 -114
- package/tmpl-widget-6e0ba669.js +0 -98
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c5ed0f4e.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-8eece820.js";
|
|
4
|
-
import "./drag-wrapper-de2e2fbe.js";
|
|
5
|
-
import "./enum-type-6ac4c4d4.js";
|
|
6
|
-
import "./baseImp-59f32ed8.js";
|
|
7
|
-
import "./enum-type-e5e6ba33.js";
|
|
8
|
-
import "./expression-22698064.js";
|
|
9
|
-
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-432548c7.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./icon-1fc5d00d.js";
|
|
14
|
-
import "axios";
|
|
15
|
-
import "./dialog-003d60d4.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./index-50ac6b9c.js";
|
|
18
|
-
import "./slot-6351573b.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
|
|
21
|
-
import "./index-170931d8.js";
|
|
22
|
-
import "./fieldobj-7311a036.js";
|
|
23
|
-
import "./share-field-3a9e6bb1.js";
|
|
24
|
-
import "./multirow-9ca4ca37.js";
|
|
25
|
-
export {
|
|
26
|
-
o as default
|
|
27
|
-
};
|
package/multirow-9ca4ca37.js
DELETED
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { b as x, B as I, d as L } from "./baseImp-59f32ed8.js";
|
|
2
|
-
import { g as T, c as P, t as k, r as p } from "./index-50ac6b9c.js";
|
|
3
|
-
import { c as R, F as a, g as d } from "./slot-6351573b.js";
|
|
4
|
-
import { i as J, o as B, d as V, I as rr, M as Q, D as er, g as tr, k as K } from "./enum-type-6ac4c4d4.js";
|
|
5
|
-
import { reactive as _, ref as sr } from "vue";
|
|
6
|
-
import { u as nr } from "./icon-1fc5d00d.js";
|
|
7
|
-
import { u as or, g as ir } from "./uuid-432548c7.js";
|
|
8
|
-
import { f as q } from "./expression-22698064.js";
|
|
9
|
-
function ur() {
|
|
10
|
-
const e = {}, g = (r, t) => {
|
|
11
|
-
var s, o, i, n;
|
|
12
|
-
return r ? !!((s = r == null ? void 0 : r.proxy) != null && s.$options && ((i = (o = r == null ? void 0 : r.proxy) == null ? void 0 : o.$options) == null ? void 0 : i.componentName) === t || r != null && r.exposed && ((n = r == null ? void 0 : r.exposed) == null ? void 0 : n.componentName) === t) : !1;
|
|
13
|
-
}, h = (r, t, s) => {
|
|
14
|
-
r && B(r).forEach((o) => {
|
|
15
|
-
g(r[o], t) && (s == null || s(r[o]));
|
|
16
|
-
});
|
|
17
|
-
}, $ = (r, t, s) => {
|
|
18
|
-
r && (g(r, t) ? s == null || s(r) : $(r.parent, t, s));
|
|
19
|
-
};
|
|
20
|
-
return {
|
|
21
|
-
emit$(r, t) {
|
|
22
|
-
e[r] && e[r].forEach((s) => {
|
|
23
|
-
s(t);
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
on$(r, t) {
|
|
27
|
-
e[r] = e[r] || [], e[r].push(t);
|
|
28
|
-
},
|
|
29
|
-
off$(r, t) {
|
|
30
|
-
if (e[r]) {
|
|
31
|
-
if (J(t)) {
|
|
32
|
-
e[r].length = 0;
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
for (let s = 0; s < e[r].length; s++)
|
|
36
|
-
if (e[r][s] === t) {
|
|
37
|
-
e[r].splice(s, 1);
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
dispatch(r, t, s, o) {
|
|
43
|
-
if (!r)
|
|
44
|
-
return;
|
|
45
|
-
let i = o.parent || o.root;
|
|
46
|
-
$(i, r, (n) => {
|
|
47
|
-
var c;
|
|
48
|
-
n && (n.exposed.emit$ && n.exposed.emit$(t, s), n != null && n.proxy && ((c = n == null ? void 0 : n.proxy) == null || c.$emit(t, s)));
|
|
49
|
-
});
|
|
50
|
-
},
|
|
51
|
-
broadcast(r, t, s, o, i = []) {
|
|
52
|
-
i == null || i.forEach((n) => {
|
|
53
|
-
h(o[n], r, (c) => {
|
|
54
|
-
c.emit$ && c.emit$.call(c, t, s);
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const j = "", N = "_", z = (e, g) => J(g) ? e || "" : `${j}${e}${N}${g}`, A = (e) => {
|
|
61
|
-
if (e != null && e.includes(N)) {
|
|
62
|
-
var g = e.split(N);
|
|
63
|
-
const h = g == null ? void 0 : g[0].substring(j.length), $ = e.substring(j.length + h.length + 1);
|
|
64
|
-
return { id: h, groupName: $ };
|
|
65
|
-
}
|
|
66
|
-
return { id: e };
|
|
67
|
-
};
|
|
68
|
-
var fr = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Inner2Inner = 1] = "Inner2Inner", e[e.Inner2Outer = 2] = "Inner2Outer", e[e.Outer2Inner = 3] = "Outer2Inner", e[e.Outer2Outer = 4] = "Outer2Outer", e[e.DiffInner = 5] = "DiffInner", e))(fr || {});
|
|
69
|
-
const Wr = (e, g) => {
|
|
70
|
-
const h = A(e), $ = h == null ? void 0 : h.groupName, r = A(g), t = r == null ? void 0 : r.groupName;
|
|
71
|
-
return !$ && !t ? 4 : $ && !t ? 2 : $ && t ? $ !== t ? 5 : 1 : !$ && t ? 3 : 0;
|
|
72
|
-
};
|
|
73
|
-
function gr(e, g) {
|
|
74
|
-
const h = g == null ? void 0 : g.pageConfig, $ = g == null ? void 0 : g.formData, r = _({});
|
|
75
|
-
V(r, $);
|
|
76
|
-
var { instance: t } = nr();
|
|
77
|
-
const s = () => {
|
|
78
|
-
var c = T(e);
|
|
79
|
-
c == null || c.forEach((S) => {
|
|
80
|
-
const { computedDefaultValue: v, fieldName: w, hasDefaultValue: O } = x(S.field, g, { s_fieldName: !0 }, t);
|
|
81
|
-
w.value && O() && rr(v()).then((W) => {
|
|
82
|
-
V(r, { [w.value]: W });
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
}, o = () => {
|
|
86
|
-
Q(r);
|
|
87
|
-
};
|
|
88
|
-
return {
|
|
89
|
-
formModel: r,
|
|
90
|
-
pageConfig: h,
|
|
91
|
-
widgetList: e,
|
|
92
|
-
initData: s,
|
|
93
|
-
setData: (c, S = !0) => {
|
|
94
|
-
S && o(), V(r, c);
|
|
95
|
-
},
|
|
96
|
-
getData: () => er(r),
|
|
97
|
-
clearData: o
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
function cr() {
|
|
101
|
-
const e = (t, s) => p(t, { newName: !0, recordSource: !0 }, (i, n) => z(i || n, s), (i) => !!i.dynamicItemFlag), g = (t, s, o) => {
|
|
102
|
-
var v, w;
|
|
103
|
-
K(o) && (o = `${(v = or()) == null ? void 0 : v.substring(0, 5)}_${!K(s == null ? void 0 : s.$index) && (s == null ? void 0 : s.$index) >= 0 ? s == null ? void 0 : s.$index : ""}`);
|
|
104
|
-
var i = d(t, !0);
|
|
105
|
-
let n = i == null ? void 0 : i.map((O) => e(O, o));
|
|
106
|
-
const c = r(n), { updateFomulaName: S } = L();
|
|
107
|
-
return (w = B(c)) == null || w.forEach((O) => {
|
|
108
|
-
const W = c[O], M = W == null ? void 0 : W.name;
|
|
109
|
-
n = S(n, M, O);
|
|
110
|
-
}), { widget: n, id: o, key: ir(), data: s };
|
|
111
|
-
}, h = (t, s) => {
|
|
112
|
-
if (t || (t = []), s && (t == null ? void 0 : t.length) < s) {
|
|
113
|
-
const n = s - (t == null ? void 0 : t.length);
|
|
114
|
-
for (var o = 0; o < n; o++) {
|
|
115
|
-
var i = {};
|
|
116
|
-
t == null || t.push(i);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
return t;
|
|
120
|
-
}, $ = (t, s, o, i) => {
|
|
121
|
-
if (Array.isArray(s))
|
|
122
|
-
return s = h(s, o), s == null ? void 0 : s.map((n, c) => {
|
|
123
|
-
const S = i ? i(n, c) : n;
|
|
124
|
-
return g(t, S, c + "");
|
|
125
|
-
});
|
|
126
|
-
}, r = (t, s) => {
|
|
127
|
-
let o = {};
|
|
128
|
-
return t && k(t, (i) => {
|
|
129
|
-
const n = I.getName(i), c = () => {
|
|
130
|
-
n && (o[n] = i == null ? void 0 : i._source);
|
|
131
|
-
};
|
|
132
|
-
s ? s(i) && c() : c();
|
|
133
|
-
}), o;
|
|
134
|
-
};
|
|
135
|
-
return {
|
|
136
|
-
newSlot: g,
|
|
137
|
-
reflectTargetWithSourceOne: r,
|
|
138
|
-
getSlotFromData: $,
|
|
139
|
-
getMinRowData: h,
|
|
140
|
-
parseGroupId: A,
|
|
141
|
-
formatGroupId: z
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
function Cr(e) {
|
|
145
|
-
const g = e == null ? void 0 : e.fieldName, h = e == null ? void 0 : e.setValue, $ = sr({}), r = _({}), t = _([]), { newSlot: s, reflectTargetWithSourceOne: o, getSlotFromData: i, getMinRowData: n } = cr(), c = (u, m) => {
|
|
146
|
-
var C;
|
|
147
|
-
let f = {};
|
|
148
|
-
const l = o(m);
|
|
149
|
-
return (C = B(u)) == null || C.map((E) => {
|
|
150
|
-
var D, y, H;
|
|
151
|
-
const F = (D = l == null ? void 0 : l[E]) == null ? void 0 : D.name;
|
|
152
|
-
F && (f[F] = u == null ? void 0 : u[E], (H = (y = B(u)) == null ? void 0 : y.filter((b) => b.startsWith(E + "_"))) == null || H.forEach((b) => {
|
|
153
|
-
f[b == null ? void 0 : b.replace(E, F)] = u == null ? void 0 : u[b];
|
|
154
|
-
}));
|
|
155
|
-
}), f;
|
|
156
|
-
}, S = (u, m) => {
|
|
157
|
-
var C, E;
|
|
158
|
-
let f = {};
|
|
159
|
-
if (tr(u)) {
|
|
160
|
-
const F = o(m, (D) => !!(D != null && D.formItemFlag));
|
|
161
|
-
(C = B(F)) == null || C.map((D) => {
|
|
162
|
-
var y;
|
|
163
|
-
D && (f[D] = u == null ? void 0 : u[(y = F == null ? void 0 : F[D]) == null ? void 0 : y.name]);
|
|
164
|
-
});
|
|
165
|
-
} else {
|
|
166
|
-
var l = { globalConfig: e == null ? void 0 : e.globalConfig, pageConfig: (E = e == null ? void 0 : e.designer) == null ? void 0 : E.pageConfig, formData: f, designState: e == null ? void 0 : e.designState };
|
|
167
|
-
const { formModel: F, initData: D } = gr(m, l);
|
|
168
|
-
D(), V(f, F);
|
|
169
|
-
}
|
|
170
|
-
return f;
|
|
171
|
-
}, v = (u, m) => {
|
|
172
|
-
const f = S(m, u.widget);
|
|
173
|
-
return V(r, f), f;
|
|
174
|
-
}, w = (u) => {
|
|
175
|
-
var m;
|
|
176
|
-
(m = B(r)) == null || m.forEach((f) => {
|
|
177
|
-
const l = A(f);
|
|
178
|
-
(l == null ? void 0 : l.groupName) == u.id && delete r[f];
|
|
179
|
-
});
|
|
180
|
-
}, O = () => t == null ? void 0 : t.map((m) => c(r, m == null ? void 0 : m.widget)), W = (u, m) => {
|
|
181
|
-
Q(r);
|
|
182
|
-
const f = m(u);
|
|
183
|
-
return f == null || f.forEach((l) => {
|
|
184
|
-
const C = S(l == null ? void 0 : l.data, l == null ? void 0 : l.widget);
|
|
185
|
-
V(r, C);
|
|
186
|
-
}), t.splice(0, t.length), f && f.length > 0 && t.push(...f), t;
|
|
187
|
-
}, M = (u) => {
|
|
188
|
-
var f;
|
|
189
|
-
var m = R({ ...e, widget: u });
|
|
190
|
-
return (f = m.attrs) == null ? void 0 : f.value;
|
|
191
|
-
}, G = (u, m, f) => P(u, m, t, f), { off$: U, on$: X, emit$: Y } = ur(), Z = () => {
|
|
192
|
-
U(q.fieldChange), X(q.fieldChange, (u) => {
|
|
193
|
-
var m;
|
|
194
|
-
h == null || h(O()), (m = e == null ? void 0 : e.fieldChanged) == null || m.call(e);
|
|
195
|
-
});
|
|
196
|
-
};
|
|
197
|
-
return (() => {
|
|
198
|
-
const u = g;
|
|
199
|
-
a.globalProvide({
|
|
200
|
-
globalFormName: u,
|
|
201
|
-
globalDataModel: r
|
|
202
|
-
}), Z();
|
|
203
|
-
})(), {
|
|
204
|
-
getSlotFromData: i,
|
|
205
|
-
getMinRowData: n,
|
|
206
|
-
fromModel: S,
|
|
207
|
-
toModel: c,
|
|
208
|
-
newSlot: s,
|
|
209
|
-
getWidgetOption: M,
|
|
210
|
-
newFieldModelFromSlot: v,
|
|
211
|
-
removeFieldModelFromSlot: w,
|
|
212
|
-
getValue: O,
|
|
213
|
-
setValue: W,
|
|
214
|
-
findWidgetByNameWithSibId: G,
|
|
215
|
-
// listenFormModel,
|
|
216
|
-
emit$: Y,
|
|
217
|
-
formModel: r,
|
|
218
|
-
rowsData: t,
|
|
219
|
-
widgetRefList: $
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
export {
|
|
223
|
-
ur as a,
|
|
224
|
-
cr as b,
|
|
225
|
-
Cr as c,
|
|
226
|
-
fr as f,
|
|
227
|
-
Wr as g,
|
|
228
|
-
A as p,
|
|
229
|
-
gr as u
|
|
230
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-13c6965a.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-6ac4c4d4.js";
|
|
4
|
-
import "./drag-wrapper-de2e2fbe.js";
|
|
5
|
-
import "./baseImp-59f32ed8.js";
|
|
6
|
-
import "./enum-type-e5e6ba33.js";
|
|
7
|
-
import "./expression-22698064.js";
|
|
8
|
-
import "./source-map-b04aec4a.js";
|
|
9
|
-
import "./uuid-432548c7.js";
|
|
10
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
|
-
import "./esprima-e8d15055.js";
|
|
12
|
-
import "./icon-1fc5d00d.js";
|
|
13
|
-
import "axios";
|
|
14
|
-
import "./dialog-003d60d4.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./widget-base-8eece820.js";
|
|
17
|
-
import "./index-50ac6b9c.js";
|
|
18
|
-
import "./slot-6351573b.js";
|
|
19
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./multirow-9ca4ca37.js";
|
|
21
|
-
export {
|
|
22
|
-
o as default
|
|
23
|
-
};
|
package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-13c6965a.js
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { defineComponent as G, computed as L, resolveComponent as H, openBlock as g, createBlock as v, normalizeProps as J, guardReactiveProps as K, withCtx as P, unref as r, resolveDynamicComponent as R, createCommentVNode as b, createElementBlock as W, Fragment as $, renderList as O } from "vue";
|
|
2
|
-
import { j as E, e as N, c as j } from "./enum-type-6ac4c4d4.js";
|
|
3
|
-
import { D as z } from "./drag-wrapper-de2e2fbe.js";
|
|
4
|
-
import { b as Q } from "./baseImp-59f32ed8.js";
|
|
5
|
-
import { d as y } from "./slot-6351573b.js";
|
|
6
|
-
import { b as U } from "./multirow-9ca4ca37.js";
|
|
7
|
-
import { g as X } from "./uuid-432548c7.js";
|
|
8
|
-
import { am as Y } from "./enum-type-e5e6ba33.js";
|
|
9
|
-
const Z = /* @__PURE__ */ G({
|
|
10
|
-
__name: "table-col-widget",
|
|
11
|
-
props: {
|
|
12
|
-
options: {},
|
|
13
|
-
designState: { type: Boolean },
|
|
14
|
-
designer: {},
|
|
15
|
-
propResultParam: {},
|
|
16
|
-
realTableData: {},
|
|
17
|
-
ctx: {}
|
|
18
|
-
},
|
|
19
|
-
setup(t) {
|
|
20
|
-
const o = t, { attrs: u, extendAttrs: S, slots: h } = Q(
|
|
21
|
-
{ options: o.options },
|
|
22
|
-
o.propResultParam,
|
|
23
|
-
{
|
|
24
|
-
s_slots: !0,
|
|
25
|
-
s_extendAttr: !0,
|
|
26
|
-
s_attr: !0,
|
|
27
|
-
fn_attr: (s) => !["children"].includes(s)
|
|
28
|
-
}
|
|
29
|
-
), A = L(() => {
|
|
30
|
-
var i, e, d, n;
|
|
31
|
-
var s = (i = S.value) == null ? void 0 : i.filterable, l = ((e = u.value) == null ? void 0 : e.fixed) === !1 || ((d = u.value) == null ? void 0 : d.fixed) === Y.none ? !1 : (n = u.value) == null ? void 0 : n.fixed;
|
|
32
|
-
return s ? {
|
|
33
|
-
...u.value,
|
|
34
|
-
fixed: l,
|
|
35
|
-
filters: I.value,
|
|
36
|
-
filterMethod: M
|
|
37
|
-
} : {
|
|
38
|
-
...u.value,
|
|
39
|
-
fixed: l
|
|
40
|
-
};
|
|
41
|
-
}), I = L(() => {
|
|
42
|
-
var n, f, m;
|
|
43
|
-
var s = (n = o.realTableData) == null ? void 0 : n.map((a) => {
|
|
44
|
-
var x;
|
|
45
|
-
const c = (x = u.value) == null ? void 0 : x.prop;
|
|
46
|
-
return a == null ? void 0 : a[c];
|
|
47
|
-
});
|
|
48
|
-
const l = [...new Set(s)];
|
|
49
|
-
var i = (f = l == null ? void 0 : l.filter((a) => !E(a))) == null ? void 0 : f.map((a) => ({ text: a, value: a }));
|
|
50
|
-
l != null && l.some((a) => E(a)) && i.push({ text: N.i18nt("designer.hint.empty"), value: "" });
|
|
51
|
-
var e = (m = S.value) == null ? void 0 : m.filtersDatasource;
|
|
52
|
-
return (e ? e == null ? void 0 : e(o.realTableData, u.value) : null) || i;
|
|
53
|
-
}), M = (s, l, i) => {
|
|
54
|
-
var n;
|
|
55
|
-
var e = (n = u.value) == null ? void 0 : n.filterMethod;
|
|
56
|
-
return e ? e == null ? void 0 : e(s, l, i, o.ctx) : ((f, m, a) => {
|
|
57
|
-
const c = a.property;
|
|
58
|
-
return m[c] === f;
|
|
59
|
-
})(s, l, i);
|
|
60
|
-
}, { newSlot: V } = U();
|
|
61
|
-
return (s, l) => {
|
|
62
|
-
const i = H("el-table-column");
|
|
63
|
-
return g(), v(i, J(K(A.value)), {
|
|
64
|
-
header: P((e) => {
|
|
65
|
-
var d, n;
|
|
66
|
-
return [
|
|
67
|
-
(d = r(y)(r(h), "header")) != null && d.hasDefault ? (g(), v(R((n = r(y)(r(h), "header")) == null ? void 0 : n.default()), {
|
|
68
|
-
key: 0,
|
|
69
|
-
scope: e,
|
|
70
|
-
ctx: t.ctx
|
|
71
|
-
}, null, 8, ["scope", "ctx"])) : b("", !0)
|
|
72
|
-
];
|
|
73
|
-
}),
|
|
74
|
-
default: P((e) => {
|
|
75
|
-
var d, n, f, m, a, c, p, x, w, k, D, T, C, B;
|
|
76
|
-
return [
|
|
77
|
-
(((n = (d = t.options) == null ? void 0 : d.children) == null ? void 0 : n.length) || 0) > 0 ? (g(!0), W($, { key: 0 }, O((f = t.options) == null ? void 0 : f.children, (F, q) => (g(), v(Z, {
|
|
78
|
-
designState: t.designState,
|
|
79
|
-
designer: t.designer,
|
|
80
|
-
key: F.uuid,
|
|
81
|
-
options: F,
|
|
82
|
-
"real-table-data": t.realTableData
|
|
83
|
-
}, null, 8, ["designState", "designer", "options", "real-table-data"]))), 128)) : b("", !0),
|
|
84
|
-
(m = r(S)) != null && m.slotable && (t.designState && ((c = (a = o.options) == null ? void 0 : a.default) != null && c.widgetList) || !t.designState || ((w = (x = (p = o.options) == null ? void 0 : p.default) == null ? void 0 : x.widgetList) == null ? void 0 : w.length) > 0) ? (g(), W($, { key: 1 }, [
|
|
85
|
-
t.designState ? (g(), v(z, {
|
|
86
|
-
key: 0,
|
|
87
|
-
designState: t.designState,
|
|
88
|
-
designer: t.designer,
|
|
89
|
-
widget: r(j)((k = o.options) == null ? void 0 : k.default),
|
|
90
|
-
dragTip: r(N).i18nt("designer.hint.draggableArea1"),
|
|
91
|
-
"row-scope": e
|
|
92
|
-
}, null, 8, ["designState", "designer", "widget", "dragTip", "row-scope"])) : (g(), v(z, {
|
|
93
|
-
designState: t.designState,
|
|
94
|
-
designer: t.designer,
|
|
95
|
-
key: r(X)() + (e == null ? void 0 : e.$index),
|
|
96
|
-
widget: r(j)((T = r(V)([(D = o.options) == null ? void 0 : D.default], e, (e == null ? void 0 : e.$index) < 0 ? "header" : e == null ? void 0 : e.$index)) == null ? void 0 : T.widget[0]),
|
|
97
|
-
"row-scope": e
|
|
98
|
-
}, null, 8, ["designState", "designer", "widget", "row-scope"]))
|
|
99
|
-
], 64)) : b("", !0),
|
|
100
|
-
(C = r(y)(r(h), "default")) != null && C.hasDefault ? (g(), v(R((B = r(y)(r(h), "default")) == null ? void 0 : B.default()), {
|
|
101
|
-
key: 2,
|
|
102
|
-
scope: e,
|
|
103
|
-
ctx: t.ctx
|
|
104
|
-
}, null, 8, ["scope", "ctx"])) : b("", !0)
|
|
105
|
-
];
|
|
106
|
-
}),
|
|
107
|
-
_: 1
|
|
108
|
-
}, 16);
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
export {
|
|
113
|
-
Z as _
|
|
114
|
-
};
|
package/tmpl-widget-6e0ba669.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, computed as I, inject as T, ref as L, onMounted as M, resolveDirective as P, openBlock as a, createBlock as m, mergeProps as d, unref as o, withCtx as R, createElementBlock as s, Fragment as u, withDirectives as z, renderList as A, createTextVNode as E, toDisplayString as J } from "vue";
|
|
2
|
-
import { e as q, t as G, f as H } from "./enum-type-6ac4c4d4.js";
|
|
3
|
-
import { I as K } from "./widget-base-8eece820.js";
|
|
4
|
-
import { a as Q } from "./share-field-3a9e6bb1.js";
|
|
5
|
-
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e3509187.js";
|
|
6
|
-
import { D as v } from "./drag-wrapper-de2e2fbe.js";
|
|
7
|
-
import { i as X, d as Y } from "./slot-6351573b.js";
|
|
8
|
-
import { c as Z } from "./multirow-9ca4ca37.js";
|
|
9
|
-
import { d as ee, b as te } from "./expression-22698064.js";
|
|
10
|
-
import { _ as oe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
-
import "./icon-1fc5d00d.js";
|
|
12
|
-
import "./baseImp-59f32ed8.js";
|
|
13
|
-
import "./enum-type-e5e6ba33.js";
|
|
14
|
-
import "axios";
|
|
15
|
-
import "./dialog-003d60d4.js";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./uuid-432548c7.js";
|
|
18
|
-
import "element-plus";
|
|
19
|
-
import "./index-50ac6b9c.js";
|
|
20
|
-
import "./index-170931d8.js";
|
|
21
|
-
import "./fieldobj-7311a036.js";
|
|
22
|
-
import "./source-map-b04aec4a.js";
|
|
23
|
-
import "./esprima-e8d15055.js";
|
|
24
|
-
const re = ["element-loading-text"], ae = /* @__PURE__ */ F({
|
|
25
|
-
__name: "tmpl-widget",
|
|
26
|
-
props: {
|
|
27
|
-
...K
|
|
28
|
-
},
|
|
29
|
-
setup(h, { expose: y }) {
|
|
30
|
-
const c = h, { slots: f, exposed: D, attrs: i, events: b, fieldObj: k, fieldName: x, watchOption: S } = Q(c), C = I(() => X(f.value)), V = T(ee.globalConfig, {}), { getSlotFromData: $, emit$: O, rowsData: n, getValue: N, setValue: W } = Z({
|
|
31
|
-
...c,
|
|
32
|
-
globalConfig: V,
|
|
33
|
-
fieldName: x.value
|
|
34
|
-
}), g = (e) => W(G(H(e), !0), (t) => j(t)), p = L(!1), _ = () => {
|
|
35
|
-
S(te.data, () => {
|
|
36
|
-
p.value = !0;
|
|
37
|
-
}, (e) => {
|
|
38
|
-
var t, r;
|
|
39
|
-
g(e), setTimeout(() => {
|
|
40
|
-
p.value = !1;
|
|
41
|
-
}, 1e3), (r = (t = b.value) == null ? void 0 : t.completed) == null || r.call(t, e);
|
|
42
|
-
});
|
|
43
|
-
}, j = (e) => {
|
|
44
|
-
var r;
|
|
45
|
-
const t = (r = i == null ? void 0 : i.value) != null && r.alwaysShow ? [{}] : null;
|
|
46
|
-
return $(f.value, e || t);
|
|
47
|
-
};
|
|
48
|
-
return M(() => {
|
|
49
|
-
_();
|
|
50
|
-
}), y({
|
|
51
|
-
...D,
|
|
52
|
-
refresh: _,
|
|
53
|
-
emit$: O,
|
|
54
|
-
setValue: g,
|
|
55
|
-
getValue: N
|
|
56
|
-
}), (e, t) => {
|
|
57
|
-
const r = P("loading");
|
|
58
|
-
return a(), m(U, d(e.$props, {
|
|
59
|
-
"prop-options": { fieldObj: o(k) },
|
|
60
|
-
"show-wrapper-component": !0
|
|
61
|
-
}), {
|
|
62
|
-
default: R(() => {
|
|
63
|
-
var w;
|
|
64
|
-
return [
|
|
65
|
-
e.designState ? (a(), m(v, d({ key: 0 }, e.$props, {
|
|
66
|
-
widget: o(Y)(C.value, "row"),
|
|
67
|
-
dragClass: "dragSize"
|
|
68
|
-
}), null, 16, ["widget"])) : (a(), s(u, { key: 1 }, [
|
|
69
|
-
o(n) && ((w = o(n)) == null ? void 0 : w.length) > 0 ? z((a(), s("div", {
|
|
70
|
-
key: 0,
|
|
71
|
-
"element-loading-text": o(i).loadingText
|
|
72
|
-
}, [
|
|
73
|
-
(a(!0), s(u, null, A(o(n), (l, B) => (a(), m(v, d({
|
|
74
|
-
key: l.key,
|
|
75
|
-
ref_for: !0
|
|
76
|
-
}, e.$props, {
|
|
77
|
-
widget: l.widget[0],
|
|
78
|
-
componentName: "div",
|
|
79
|
-
"row-scope": { row: l.data, $index: B },
|
|
80
|
-
componentClass: "flex full-width"
|
|
81
|
-
}), null, 16, ["widget", "row-scope"]))), 128))
|
|
82
|
-
], 8, re)), [
|
|
83
|
-
[r, o(i).showLoading && p.value]
|
|
84
|
-
]) : (a(), s(u, { key: 1 }, [
|
|
85
|
-
E(J(o(i).noData || o(q).i18nt("designer.hint.noData")), 1)
|
|
86
|
-
], 64))
|
|
87
|
-
], 64))
|
|
88
|
-
];
|
|
89
|
-
}),
|
|
90
|
-
_: 1
|
|
91
|
-
}, 16, ["prop-options"]);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
const $e = /* @__PURE__ */ oe(ae, [["__scopeId", "data-v-196b9dbd"]]);
|
|
96
|
-
export {
|
|
97
|
-
$e as default
|
|
98
|
-
};
|