hlrender 0.0.31 → 0.0.33
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/{affix-widget-30f2ea6c.js → affix-widget-ffc00e67.js} +16 -16
- package/{alert-widget-c04a1725.js → alert-widget-44dc2773.js} +16 -16
- package/{anchor-widget-9d07cd7e.js → anchor-widget-2ee9e1a6.js} +13 -13
- package/{auto-complete-widget-b1f7aa7a.js → auto-complete-widget-68458862.js} +16 -16
- package/{avatar-widget-709f7ee7.js → avatar-widget-c71fb31b.js} +16 -16
- package/{backtop-widget-9ad291ef.js → backtop-widget-a2511867.js} +16 -16
- package/{badge-widget-25f42960.js → badge-widget-c6ed96b0.js} +16 -16
- package/{baseImp-9dc35637.js → baseImp-42b8a74e.js} +7 -7
- package/{breadcrumb-widget-94a9873d.js → breadcrumb-widget-af757a8f.js} +13 -13
- package/{button-widget-8ffb0ecd.js → button-widget-8b5fa025.js} +16 -16
- package/{cache-widget-d581bc9d.js → cache-widget-985ebe1c.js} +15 -15
- package/{card-widget-4e298c77.js → card-widget-b9a32b20.js} +14 -14
- package/{carousel-widget-20f6df18.js → carousel-widget-bf07e80f.js} +14 -14
- package/{cascader-widget-564492f6.js → cascader-widget-9bb52070.js} +15 -15
- package/{chart-widget-7d1e36dc.js → chart-widget-bdbf03e0.js} +13 -13
- package/{checkbox-widget-8f68a90e.js → checkbox-widget-9d024b79.js} +15 -15
- package/{collapse-widget-541ad6d5.js → collapse-widget-b1271c84.js} +14 -14
- package/{color-picker-widget-df756adc.js → color-picker-widget-473d60cc.js} +15 -15
- package/{cont-cell-widget-5c8b3431.js → cont-cell-widget-12817868.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-174b4ab2.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a8152801.js} +5 -5
- package/{cont-widget-9b88d171.js → cont-widget-b9451de3.js} +5 -5
- package/content-wrapper-f2d6d586.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-8b6e8053.js → content-wrapper.vue_vue_type_script_setup_true_lang-3561b20b.js} +3 -3
- package/{date-picker-range-widget-d4246a3f.js → date-picker-range-widget-287f7367.js} +15 -15
- package/{date-picker-widget-5d34aa42.js → date-picker-widget-649acead.js} +15 -15
- package/default-slot-widget-2fbf71e0.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6ec19694.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-4dcf1673.js} +7 -7
- package/{descriptions-widget-6a91fa34.js → descriptions-widget-347b8505.js} +14 -14
- package/{dialog-f934cab6.js → dialog-1e3ad5e2.js} +2 -2
- package/{dialog-widget-f3a1824d.js → dialog-widget-cfce6d78.js} +15 -15
- package/{divider-widget-4816aab2.js → divider-widget-5e0a01d5.js} +16 -16
- package/{drag-wrapper-dc4fb2cf.js → drag-wrapper-244d66f5.js} +6 -6
- package/{drawer-widget-872f4b90.js → drawer-widget-21f89466.js} +15 -15
- package/{dropdown-widget-5b7a4fd2.js → dropdown-widget-6c6251a1.js} +14 -14
- package/{empty-widget-22dd02bf.js → empty-widget-12ef52cb.js} +16 -16
- package/{enum-type-a8dcfe1b.js → enum-type-40ac9749.js} +1 -1
- package/{enum-type-3ddfb3c0.js → enum-type-f9ec26c7.js} +3 -1
- package/{expression-fca39f89.js → expression-5071e53a.js} +941 -941
- package/feedback-widget-cc475361.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-05f55615.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-864b78c0.js} +5 -5
- package/{fieldobj-4a037177.js → fieldobj-fd344656.js} +1 -1
- package/{file-upload-widget-5be694b9.js → file-upload-widget-a27e9af3.js} +16 -16
- package/{form-item-wrapper-553d43e5.js → form-item-wrapper-bd1d5bd5.js} +11 -11
- package/{form-widget-2090a045.js → form-widget-1ae9d7f1.js} +11 -11
- package/{grid-col-widget-f7a64f05.js → grid-col-widget-dde9b65f.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3af5cc0b.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d9f16be4.js} +5 -5
- package/{grid-widget-49ecc8d6.js → grid-widget-be5c0fa7.js} +5 -5
- package/{html-text-widget-23447632.js → html-text-widget-3145e8ae.js} +14 -14
- package/{iframe-widget-32638539.js → iframe-widget-5a7be52b.js} +13 -13
- package/{image-widget-b51e3a19.js → image-widget-b3d2f3be.js} +13 -13
- package/{index-8fc40e72.js → index-282328c0.js} +1112 -1092
- package/{index-297620ce.js → index-613c262d.js} +4 -4
- package/{index-6ea9df19.js → index-d242151f.js} +1 -1
- package/{input-number-widget-82b3eb71.js → input-number-widget-ec9f2d45.js} +15 -15
- package/{input-widget-9c5eb8ac.js → input-widget-bac4b1e9.js} +16 -16
- package/{label-wrapper-6797d3c9.js → label-wrapper-ce65258e.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-f0b84b56.js → label-wrapper.vue_vue_type_style_index_0_lang-2a561443.js} +3 -3
- package/{link-widget-e25835d2.js → link-widget-58fa2f87.js} +16 -16
- package/{ltable-col-widget-b00ff3b0.js → ltable-col-widget-893d8ee5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f71b0e83.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ac7b45be.js} +10 -10
- package/{ltable-widget-613feacf.js → ltable-widget-334b285e.js} +5 -5
- package/{menu-widget-3c88cb9a.js → menu-widget-1296db28.js} +14 -14
- package/{model-widget-a3a17d60.js → model-widget-3aec6cfb.js} +13 -13
- package/multirow-0a1bfc44.js +223 -0
- package/{multirow-widget-25801739.js → multirow-widget-98dbd159.js} +142 -140
- package/package.json +1 -1
- package/{pagination-widget-b87ed861.js → pagination-widget-68271138.js} +13 -13
- package/{picture-upload-widget-b82f8ab2.js → picture-upload-widget-862cd5c0.js} +16 -16
- package/{progress-widget-00f1ae8d.js → progress-widget-1eda299b.js} +14 -14
- package/{propresult-0e9f8eac.js → propresult-6c3b0080.js} +1 -1
- package/{radio-widget-662bafc5.js → radio-widget-d650bc6d.js} +15 -15
- package/{range-widget-063f3573.js → range-widget-21dc1fb1.js} +16 -16
- package/{rate-widget-ac9b7360.js → rate-widget-481ee500.js} +15 -15
- package/render.es.js +30 -30
- package/render.style.css +1 -1
- package/render.umd.js +306 -306
- package/{result-widget-0c49cc9d.js → result-widget-7d8e0918.js} +14 -14
- package/{rich-editor-widget-5cb28fbb.js → rich-editor-widget-ac434766.js} +15 -15
- package/{router-widget-3b96deb2.js → router-widget-b8f7b366.js} +13 -13
- package/select-widget-ed88218f.js +333 -0
- package/{sfc-f3c94efa.js → sfc-91053601.js} +8 -8
- package/share-field-b61760d2.js +759 -0
- package/{share-file-0e405a6a.js → share-file-62add046.js} +5 -5
- package/{slider-widget-e1f80bfb.js → slider-widget-4c807031.js} +15 -15
- package/{slot-04ed2c7f.js → slot-f3edc854.js} +3 -3
- package/{static-text-widget-4f70cd16.js → static-text-widget-e5086f4d.js} +14 -14
- package/{steps-widget-309ebb8d.js → steps-widget-8bbce365.js} +13 -13
- package/subMenu-widget-4a0d21e4.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-24c94a78.js → subMenu-widget.vue_vue_type_script_setup_true_lang-91fba867.js} +3 -3
- package/{switch-widget-b43af6e7.js → switch-widget-79294bbc.js} +15 -15
- package/{tab-pane-widget-8c06770f.js → tab-pane-widget-c34bf633.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1d40f13e.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ae077790.js} +5 -5
- package/table-col-widget-725a7400.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ab34f780.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-90cabdd5.js} +6 -6
- package/{table-widget-a4b48cc0.js → table-widget-57333169.js} +15 -15
- package/{tabs-widget-d69689c4.js → tabs-widget-6b1f6bb3.js} +8 -8
- package/{tag-widget-8aca6042.js → tag-widget-a0aad1ab.js} +16 -16
- package/{text-widget-fa03122f.js → text-widget-9ef3e432.js} +16 -16
- package/{textarea-widget-778c63c8.js → textarea-widget-c2bc700c.js} +15 -15
- package/{time-picker-range-widget-72c58c84.js → time-picker-range-widget-4f5e85d1.js} +15 -15
- package/{time-picker-widget-3f7f0afb.js → time-picker-widget-4119bf94.js} +15 -15
- package/{time-select-widget-3abe8814.js → time-select-widget-c24d2fa4.js} +15 -15
- package/tmpl-widget-f877f91c.js +91 -0
- package/{tree-select-widget-c8a7fb5b.js → tree-select-widget-f3040e96.js} +15 -15
- package/{tree-widget-a358258a.js → tree-widget-408a9f12.js} +13 -13
- package/{uuid-9d29d969.js → uuid-e78dc4f0.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6de179d0.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f3a5bd3f.js} +7 -7
- package/wrapper-widget-eeb3fd66.js +74 -0
- package/content-wrapper-ac73895d.js +0 -14
- package/default-slot-widget-531d53f5.js +0 -24
- package/feedback-widget-49ab9421.js +0 -24
- package/multirow-bb2e2620.js +0 -226
- package/select-widget-d5b6d368.js +0 -311
- package/share-field-2202d5e4.js +0 -740
- package/subMenu-widget-b3e859bb.js +0 -16
- package/table-col-widget-b6cf0124.js +0 -20
- package/tmpl-widget-1f7a0f5c.js +0 -90
- package/wrapper-widget-8c5a1980.js +0 -71
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent as B, computed as j, ref as A, onMounted as L, resolveDirective as M, openBlock as a, createBlock as d, mergeProps as u, unref as o, withCtx as P, createElementBlock as n, Fragment as c, withDirectives as R, renderList as T, createTextVNode as z, toDisplayString as E } from "vue";
|
|
2
|
+
import { a as J, f as q } from "./enum-type-f9ec26c7.js";
|
|
3
|
+
import { I as G } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { b as H } from "./share-field-b61760d2.js";
|
|
5
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f3a5bd3f.js";
|
|
6
|
+
import { D as v } from "./drag-wrapper-244d66f5.js";
|
|
7
|
+
import { i as Q, a as U } from "./slot-f3edc854.js";
|
|
8
|
+
import { c as X } from "./multirow-0a1bfc44.js";
|
|
9
|
+
import { g as Y } from "./expression-5071e53a.js";
|
|
10
|
+
import { t as Z } from "./uuid-e78dc4f0.js";
|
|
11
|
+
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
+
import "./icon-e9532b43.js";
|
|
13
|
+
import "./baseImp-42b8a74e.js";
|
|
14
|
+
import "./enum-type-40ac9749.js";
|
|
15
|
+
import "./dialog-1e3ad5e2.js";
|
|
16
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-282328c0.js";
|
|
19
|
+
import "./index-d242151f.js";
|
|
20
|
+
import "./fieldobj-fd344656.js";
|
|
21
|
+
const te = { key: 0 }, oe = /* @__PURE__ */ B({
|
|
22
|
+
__name: "tmpl-widget",
|
|
23
|
+
props: {
|
|
24
|
+
...G
|
|
25
|
+
},
|
|
26
|
+
setup(h, { expose: D }) {
|
|
27
|
+
const f = h, { slots: g, exposed: y, extendAttrs: S, attrs: i, events: k, fieldObj: x, fieldName: O, watchOption: $, getFieldOptions: re } = H(f), b = j(() => Q(g.value)), { getSlotFromData: V, emit$: W, rowsData: p, getValue: C, setValue: F } = X({
|
|
28
|
+
...f,
|
|
29
|
+
fieldName: O.value
|
|
30
|
+
}), _ = (e) => F(Z(q(e), !0), (r) => I(r)), l = A(!1), w = (e = !1) => {
|
|
31
|
+
$(e, Y.data, () => {
|
|
32
|
+
l.value = !0;
|
|
33
|
+
}, (r) => {
|
|
34
|
+
var t, s;
|
|
35
|
+
_(r), setTimeout(() => {
|
|
36
|
+
l.value = !1;
|
|
37
|
+
}, 1e3), (s = (t = k.value) == null ? void 0 : t.completed) == null || s.call(t, r);
|
|
38
|
+
});
|
|
39
|
+
}, I = (e) => {
|
|
40
|
+
var t;
|
|
41
|
+
const r = (t = i == null ? void 0 : i.value) != null && t.alwaysShow ? [{}] : null;
|
|
42
|
+
return V(g.value, e || r);
|
|
43
|
+
};
|
|
44
|
+
return L(() => {
|
|
45
|
+
var e;
|
|
46
|
+
(e = S.value) != null && e.loadDataWhenInit && w(!0);
|
|
47
|
+
}), D({
|
|
48
|
+
...y,
|
|
49
|
+
refresh: w,
|
|
50
|
+
emit$: W,
|
|
51
|
+
setValue: _,
|
|
52
|
+
getValue: C
|
|
53
|
+
}), (e, r) => {
|
|
54
|
+
const t = M("loading");
|
|
55
|
+
return a(), d(K, u(e.$props, {
|
|
56
|
+
"prop-options": { fieldObj: o(x) },
|
|
57
|
+
"show-wrapper-component": !0
|
|
58
|
+
}), {
|
|
59
|
+
default: P(() => {
|
|
60
|
+
var s;
|
|
61
|
+
return [
|
|
62
|
+
e.designState ? (a(), d(v, u({ key: 0 }, e.$props, {
|
|
63
|
+
widget: o(U)(o(b), "row"),
|
|
64
|
+
dragClass: "dragSize"
|
|
65
|
+
}), null, 16, ["widget"])) : (a(), n(c, { key: 1 }, [
|
|
66
|
+
o(p) && ((s = o(p)) == null ? void 0 : s.length) > 0 ? R((a(), n("div", te, [
|
|
67
|
+
(a(!0), n(c, null, T(o(p), (m, N) => (a(), d(v, u({
|
|
68
|
+
key: m.id
|
|
69
|
+
}, e.$props, {
|
|
70
|
+
widget: m.widget[0],
|
|
71
|
+
componentName: "div",
|
|
72
|
+
"row-scope": { row: m.data, $index: N },
|
|
73
|
+
componentClass: "flex full-width"
|
|
74
|
+
}), null, 16, ["widget", "row-scope"]))), 128))
|
|
75
|
+
])), [
|
|
76
|
+
[t, o(i).showLoading && l.value]
|
|
77
|
+
]) : (a(), n(c, { key: 1 }, [
|
|
78
|
+
z(E(o(i).noData || o(J).i18nt("designer.hint.noData")), 1)
|
|
79
|
+
], 64))
|
|
80
|
+
], 64))
|
|
81
|
+
];
|
|
82
|
+
}),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 16, ["prop-options"]);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
const xe = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-20cb4608"]]);
|
|
89
|
+
export {
|
|
90
|
+
xe as default
|
|
91
|
+
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
|
|
2
|
-
import { s as f } from "./enum-type-
|
|
3
|
-
import { t as D } from "./uuid-
|
|
2
|
+
import { s as f } from "./enum-type-f9ec26c7.js";
|
|
3
|
+
import { t as D } from "./uuid-e78dc4f0.js";
|
|
4
4
|
import { I as te } from "./field-base-5547436d.js";
|
|
5
|
-
import { b as oe } from "./share-field-
|
|
6
|
-
import re from "./form-item-wrapper-
|
|
7
|
-
import { g as y, w as le } from "./expression-
|
|
5
|
+
import { b as oe } from "./share-field-b61760d2.js";
|
|
6
|
+
import re from "./form-item-wrapper-bd1d5bd5.js";
|
|
7
|
+
import { g as y, w as le } from "./expression-5071e53a.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
9
|
+
import "./multirow-0a1bfc44.js";
|
|
10
|
+
import "./baseImp-42b8a74e.js";
|
|
11
|
+
import "./enum-type-40ac9749.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-1e3ad5e2.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
16
|
+
import "./index-282328c0.js";
|
|
17
|
+
import "./slot-f3edc854.js";
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f3a5bd3f.js";
|
|
19
|
+
import "./index-d242151f.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-fd344656.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-2a561443.js";
|
|
23
23
|
const se = T({ componentName: le.FieldWidget }), je = /* @__PURE__ */ T({
|
|
24
24
|
...se,
|
|
25
25
|
__name: "tree-select-widget",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { g as n, w as G } from "./expression-
|
|
6
|
-
import { s as a } from "./enum-type-
|
|
3
|
+
import { b as U } from "./share-field-b61760d2.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f3a5bd3f.js";
|
|
5
|
+
import { g as n, w as G } from "./expression-5071e53a.js";
|
|
6
|
+
import { s as a } from "./enum-type-f9ec26c7.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-0a1bfc44.js";
|
|
9
|
+
import "./baseImp-42b8a74e.js";
|
|
10
|
+
import "./uuid-e78dc4f0.js";
|
|
11
|
+
import "./enum-type-40ac9749.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-1e3ad5e2.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./index-
|
|
16
|
+
import "./index-282328c0.js";
|
|
17
|
+
import "./slot-f3edc854.js";
|
|
18
|
+
import "./index-d242151f.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
20
|
+
import "./fieldobj-fd344656.js";
|
|
21
21
|
const J = h({ componentName: G.FieldWidget }), ye = /* @__PURE__ */ h({
|
|
22
22
|
...J,
|
|
23
23
|
__name: "tree-widget",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as de, resolveComponent as V, openBlock as l, createElementBlock as v, Fragment as j, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as ee, withCtx as a, createElementVNode as U, renderList as te, createTextVNode as c, toDisplayString as k, withModifiers as w, unref as n, renderSlot as O, computed as S, ref as ne, resolveDynamicComponent as ie, mergeProps as z, toHandlers as ae } from "vue";
|
|
2
|
-
import { c as re } from "./uuid-
|
|
2
|
+
import { c as re } from "./uuid-e78dc4f0.js";
|
|
3
3
|
import { I as pe, a as ue } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { a as g, I as se } from "./enum-type-
|
|
5
|
-
import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-
|
|
6
|
-
import { S as m } from "./index-
|
|
7
|
-
import { x as ve } from "./baseImp-
|
|
8
|
-
import { d as Q } from "./enum-type-
|
|
9
|
-
import { u as ye } from "./fieldobj-
|
|
4
|
+
import { a as g, I as se } from "./enum-type-f9ec26c7.js";
|
|
5
|
+
import { a as oe, i as me, j as ge, k as fe, d as we } from "./index-282328c0.js";
|
|
6
|
+
import { S as m } from "./index-d242151f.js";
|
|
7
|
+
import { x as ve } from "./baseImp-42b8a74e.js";
|
|
8
|
+
import { d as Q } from "./enum-type-40ac9749.js";
|
|
9
|
+
import { u as ye } from "./fieldobj-fd344656.js";
|
|
10
10
|
const We = { key: 0 }, he = { class: "clWhite" }, Ce = { class: "clWhite" }, ce = ["title"], ke = ["title"], Le = ["title"], be = ["title"], $e = /* @__PURE__ */ de({
|
|
11
11
|
__name: "drag-handler",
|
|
12
12
|
props: { ...pe, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ref as w, watch as v, defineComponent as W, openBlock as g, createBlock as h, mergeProps as b, unref as s, withCtx as j, createElementBlock as y, normalizeClass as L, createVNode as O } from "vue";
|
|
2
|
+
import { I as P } from "./widget-base-4c2d6265.js";
|
|
3
|
+
import { D } from "./drag-wrapper-244d66f5.js";
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f3a5bd3f.js";
|
|
5
|
+
import { w as k } from "./expression-5071e53a.js";
|
|
6
|
+
import { W as C } from "./enum-type-40ac9749.js";
|
|
7
|
+
import { b as z, a as B } from "./share-field-b61760d2.js";
|
|
8
|
+
import { c as F } from "./slot-f3edc854.js";
|
|
9
|
+
function S(r) {
|
|
10
|
+
const i = w({}), { componentWrapperClass: l, customClass: u } = F({ widget: r.widget }), { exposed: e, attrs: a, fieldKey: c, fieldObj: m } = z(r), { setAllRefList: n } = B(i.value), p = (o = !1) => {
|
|
11
|
+
n(C.setDisabled, { flag: o });
|
|
12
|
+
}, d = (o = !1) => {
|
|
13
|
+
var t;
|
|
14
|
+
(t = e == null ? void 0 : e.setHidden) == null || t.call(e, o);
|
|
15
|
+
}, _ = () => {
|
|
16
|
+
n(C.resetField);
|
|
17
|
+
};
|
|
18
|
+
return ((o) => {
|
|
19
|
+
v(() => {
|
|
20
|
+
var t;
|
|
21
|
+
return (t = a.value) == null ? void 0 : t[o];
|
|
22
|
+
}, (t) => {
|
|
23
|
+
t != null && o === "disabled" && p(t);
|
|
24
|
+
}, { immediate: !0 });
|
|
25
|
+
})("disabled"), {
|
|
26
|
+
attrs: a,
|
|
27
|
+
exposed: {
|
|
28
|
+
...e,
|
|
29
|
+
setDisabled: p,
|
|
30
|
+
setHidden: d,
|
|
31
|
+
// setRequired,
|
|
32
|
+
resetField: _
|
|
33
|
+
},
|
|
34
|
+
componentWrapperClass: l,
|
|
35
|
+
customClass: u,
|
|
36
|
+
fieldKey: c,
|
|
37
|
+
fieldObj: m,
|
|
38
|
+
widgetRefList: i
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const $ = W({ componentName: k.ContainerWidget }), E = /* @__PURE__ */ W({
|
|
42
|
+
...$,
|
|
43
|
+
__name: "wrapper-widget",
|
|
44
|
+
props: { ...P },
|
|
45
|
+
setup(r, { expose: i }) {
|
|
46
|
+
const l = r, { attrs: u, exposed: e, customClass: a, componentWrapperClass: c, fieldObj: m, fieldKey: n, widgetRefList: p } = S(l);
|
|
47
|
+
return i({ ...e }), (d, _) => (g(), h(R, b(d.$props, {
|
|
48
|
+
"prop-options": { fieldObj: s(m), class: [s(a), s(c)] },
|
|
49
|
+
"component-name": "div",
|
|
50
|
+
"show-wrapper-component": !0
|
|
51
|
+
}), {
|
|
52
|
+
default: j(({ data: f }) => [
|
|
53
|
+
(g(), y("div", {
|
|
54
|
+
ref: "fieldEditor",
|
|
55
|
+
class: L([...f.injectClass]),
|
|
56
|
+
key: s(n)
|
|
57
|
+
}, [
|
|
58
|
+
O(D, b(d.$props, {
|
|
59
|
+
dragClass: "dragSize",
|
|
60
|
+
"component-class": f.componentWrapperClass,
|
|
61
|
+
refList: s(p)
|
|
62
|
+
}), null, 16, ["component-class", "refList"])
|
|
63
|
+
], 2))
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 16, ["prop-options"]));
|
|
67
|
+
}
|
|
68
|
+
}), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
69
|
+
__proto__: null,
|
|
70
|
+
default: E
|
|
71
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
72
|
+
export {
|
|
73
|
+
q as _
|
|
74
|
+
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./content-wrapper.vue_vue_type_script_setup_true_lang-8b6e8053.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./expression-fca39f89.js";
|
|
4
|
-
import "./enum-type-3ddfb3c0.js";
|
|
5
|
-
import "./uuid-9d29d969.js";
|
|
6
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
7
|
-
import "./baseImp-9dc35637.js";
|
|
8
|
-
import "./enum-type-a8dcfe1b.js";
|
|
9
|
-
import "./icon-e9532b43.js";
|
|
10
|
-
import "./dialog-f934cab6.js";
|
|
11
|
-
import "element-plus";
|
|
12
|
-
export {
|
|
13
|
-
o as default
|
|
14
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6ec19694.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-3ddfb3c0.js";
|
|
4
|
-
import "./field-base-5547436d.js";
|
|
5
|
-
import "./widget-base-4c2d6265.js";
|
|
6
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6de179d0.js";
|
|
7
|
-
import "./uuid-9d29d969.js";
|
|
8
|
-
import "./index-8fc40e72.js";
|
|
9
|
-
import "./enum-type-a8dcfe1b.js";
|
|
10
|
-
import "./baseImp-9dc35637.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./expression-fca39f89.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./dialog-f934cab6.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-6ea9df19.js";
|
|
17
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./fieldobj-4a037177.js";
|
|
19
|
-
import "./slot-04ed2c7f.js";
|
|
20
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-8b6e8053.js";
|
|
21
|
-
import "./drag-wrapper-dc4fb2cf.js";
|
|
22
|
-
export {
|
|
23
|
-
o as default
|
|
24
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-05f55615.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-dc4fb2cf.js";
|
|
5
|
-
import "./baseImp-9dc35637.js";
|
|
6
|
-
import "./enum-type-3ddfb3c0.js";
|
|
7
|
-
import "./uuid-9d29d969.js";
|
|
8
|
-
import "./enum-type-a8dcfe1b.js";
|
|
9
|
-
import "./icon-e9532b43.js";
|
|
10
|
-
import "./expression-fca39f89.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./dialog-f934cab6.js";
|
|
13
|
-
import "element-plus";
|
|
14
|
-
import "./index-8fc40e72.js";
|
|
15
|
-
import "./slot-04ed2c7f.js";
|
|
16
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6de179d0.js";
|
|
18
|
-
import "./index-6ea9df19.js";
|
|
19
|
-
import "./fieldobj-4a037177.js";
|
|
20
|
-
import "./share-field-2202d5e4.js";
|
|
21
|
-
import "./multirow-bb2e2620.js";
|
|
22
|
-
export {
|
|
23
|
-
o as default
|
|
24
|
-
};
|
package/multirow-bb2e2620.js
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { b as U, r as X, B as Y, c as Z } from "./baseImp-9dc35637.js";
|
|
2
|
-
import { g as L, c as I, t as R, r as T } from "./index-8fc40e72.js";
|
|
3
|
-
import { c as k, F as d, g as rr } from "./slot-04ed2c7f.js";
|
|
4
|
-
import { e as p, o as V, d as b, D as N, c as er, t as J, j as K } from "./enum-type-3ddfb3c0.js";
|
|
5
|
-
import { reactive as j, watch as tr } from "vue";
|
|
6
|
-
import { u as sr } from "./icon-e9532b43.js";
|
|
7
|
-
import { u as ur, g as or } from "./uuid-9d29d969.js";
|
|
8
|
-
import { f as M } from "./expression-fca39f89.js";
|
|
9
|
-
function ir() {
|
|
10
|
-
const t = {}, f = (r, e) => {
|
|
11
|
-
var s, u, i, n;
|
|
12
|
-
return r ? !!((s = r == null ? void 0 : r.proxy) != null && s.$options && ((i = (u = r == null ? void 0 : r.proxy) == null ? void 0 : u.$options) == null ? void 0 : i.componentName) === e || r != null && r.exposed && ((n = r == null ? void 0 : r.exposed) == null ? void 0 : n.componentName) === e) : !1;
|
|
13
|
-
}, h = (r, e, s) => {
|
|
14
|
-
r && V(r).forEach((u) => {
|
|
15
|
-
f(r[u], e) && (s == null || s(r[u]));
|
|
16
|
-
});
|
|
17
|
-
}, c = (r, e, s) => {
|
|
18
|
-
r && (f(r, e) ? s == null || s(r) : c(r.parent, e, s));
|
|
19
|
-
};
|
|
20
|
-
return {
|
|
21
|
-
emit$(r, e) {
|
|
22
|
-
t[r] && t[r].forEach((s) => {
|
|
23
|
-
s(e);
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
on$(r, e) {
|
|
27
|
-
t[r] = t[r] || [], t[r].push(e);
|
|
28
|
-
},
|
|
29
|
-
off$(r, e) {
|
|
30
|
-
if (t[r]) {
|
|
31
|
-
if (p(e)) {
|
|
32
|
-
t[r].length = 0;
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
for (let s = 0; s < t[r].length; s++)
|
|
36
|
-
if (t[r][s] === e) {
|
|
37
|
-
t[r].splice(s, 1);
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
dispatch(r, e, s, u) {
|
|
43
|
-
if (!r)
|
|
44
|
-
return;
|
|
45
|
-
let i = u.parent || u.root;
|
|
46
|
-
c(i, r, (n) => {
|
|
47
|
-
var l;
|
|
48
|
-
n && (n.exposed.emit$ && n.exposed.emit$(e, s), n != null && n.proxy && ((l = n == null ? void 0 : n.proxy) == null || l.$emit(e, s)));
|
|
49
|
-
});
|
|
50
|
-
},
|
|
51
|
-
broadcast(r, e, s, u) {
|
|
52
|
-
h(u.widgetRefList, r, (i) => {
|
|
53
|
-
i.emit$ && i.emit$.call(i, e, s);
|
|
54
|
-
}), h(u.refList, r, (i) => {
|
|
55
|
-
i.emit$ && i.emit$.call(i, e, s);
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const A = "", y = "_", a = (t, f) => p(f) ? t || "" : `${A}${t}${y}${f}`, G = (t) => {
|
|
61
|
-
if (t != null && t.includes(y)) {
|
|
62
|
-
var f = t.split(y);
|
|
63
|
-
const h = f == null ? void 0 : f[0].substring(A.length), c = t.substring(A.length + h.length + 1);
|
|
64
|
-
return { id: h, groupName: c };
|
|
65
|
-
}
|
|
66
|
-
return { id: t };
|
|
67
|
-
};
|
|
68
|
-
var nr = /* @__PURE__ */ ((t) => (t[t.None = 0] = "None", t[t.Inner2Inner = 1] = "Inner2Inner", t[t.Inner2Outer = 2] = "Inner2Outer", t[t.Outer2Inner = 3] = "Outer2Inner", t[t.Outer2Outer = 4] = "Outer2Outer", t[t.DiffInner = 5] = "DiffInner", t))(nr || {});
|
|
69
|
-
const Fr = (t, f) => {
|
|
70
|
-
const h = G(t), c = h == null ? void 0 : h.groupName, r = G(f), e = r == null ? void 0 : r.groupName;
|
|
71
|
-
return !c && !e ? 4 : c && !e ? 2 : c && e ? c !== e ? 5 : 1 : !c && e ? 3 : 0;
|
|
72
|
-
};
|
|
73
|
-
function fr(t, f) {
|
|
74
|
-
const h = f == null ? void 0 : f.pageConfig, c = f == null ? void 0 : f.formData, r = j({});
|
|
75
|
-
b(r, c);
|
|
76
|
-
var { instance: e } = sr();
|
|
77
|
-
const s = () => {
|
|
78
|
-
var l = L(t);
|
|
79
|
-
l == null || l.forEach((D) => {
|
|
80
|
-
const { computedDefaultValue: S, fieldName: F } = U(D.field, f, { s_fieldName: !0, s_defaultValue: !0 }, e);
|
|
81
|
-
F.value && b(r, { [F.value]: S.value });
|
|
82
|
-
});
|
|
83
|
-
}, u = () => {
|
|
84
|
-
N(r);
|
|
85
|
-
};
|
|
86
|
-
return {
|
|
87
|
-
formModel: r,
|
|
88
|
-
pageConfig: h,
|
|
89
|
-
widgetList: t,
|
|
90
|
-
initData: s,
|
|
91
|
-
setData: (l, D = !0) => {
|
|
92
|
-
D && u(), b(r, l);
|
|
93
|
-
},
|
|
94
|
-
getData: () => X(r),
|
|
95
|
-
clearData: u
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
function gr() {
|
|
99
|
-
const t = (r, e) => T(r, { newName: !0, recordSource: !0 }, (s, u) => a(s || u, e)), f = (r, e, s) => {
|
|
100
|
-
var D, S;
|
|
101
|
-
K(s) && (s = `${(D = ur()) == null ? void 0 : D.substring(0, 5)}_${!K(e == null ? void 0 : e.$index) && (e == null ? void 0 : e.$index) >= 0 ? e == null ? void 0 : e.$index : ""}`);
|
|
102
|
-
var u = rr(r, !0);
|
|
103
|
-
let i = u == null ? void 0 : u.map((F) => t(F, s));
|
|
104
|
-
const n = c(i), { updateFomulaName: l } = Z();
|
|
105
|
-
return (S = V(n)) == null || S.forEach((F) => {
|
|
106
|
-
const C = n[F], B = C == null ? void 0 : C.name;
|
|
107
|
-
i = l(i, B, F);
|
|
108
|
-
}), { widget: i, id: or(), data: e };
|
|
109
|
-
}, h = (r, e, s, u) => {
|
|
110
|
-
if (e || (e = []), s && (e == null ? void 0 : e.length) < s) {
|
|
111
|
-
const l = s - (e == null ? void 0 : e.length);
|
|
112
|
-
for (var i = 0; i < l; i++) {
|
|
113
|
-
var n = {};
|
|
114
|
-
e == null || e.push(n);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
if (Array.isArray(e))
|
|
118
|
-
return e == null ? void 0 : e.map((l, D) => {
|
|
119
|
-
const S = u ? u(l, D) : l;
|
|
120
|
-
return f(r, S, D + "");
|
|
121
|
-
});
|
|
122
|
-
}, c = (r, e) => {
|
|
123
|
-
let s = {};
|
|
124
|
-
return r && R(r, (u) => {
|
|
125
|
-
const i = Y.getName(u), n = () => {
|
|
126
|
-
i && (s[i] = u == null ? void 0 : u._source);
|
|
127
|
-
};
|
|
128
|
-
e ? e(u) && n() : n();
|
|
129
|
-
}), s;
|
|
130
|
-
};
|
|
131
|
-
return {
|
|
132
|
-
newSlot: f,
|
|
133
|
-
reflectTargetWithSourceOne: c,
|
|
134
|
-
getSlotFromData: h,
|
|
135
|
-
parseGroupId: G,
|
|
136
|
-
formatGroupId: a
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function Or(t) {
|
|
140
|
-
const f = t == null ? void 0 : t.fieldName, h = t == null ? void 0 : t.setValue, c = j({}), r = j([]), { newSlot: e, reflectTargetWithSourceOne: s, getSlotFromData: u } = gr(), i = (o, g) => {
|
|
141
|
-
var O;
|
|
142
|
-
let m = {};
|
|
143
|
-
const $ = s(g);
|
|
144
|
-
return (O = V(o)) == null || O.map((v) => {
|
|
145
|
-
var w, E, H;
|
|
146
|
-
const _ = (w = $ == null ? void 0 : $[v]) == null ? void 0 : w.name;
|
|
147
|
-
_ && (m[_] = o == null ? void 0 : o[v], (H = (E = V(o)) == null ? void 0 : E.filter((W) => W.startsWith(v + "_"))) == null || H.forEach((W) => {
|
|
148
|
-
m[W == null ? void 0 : W.replace(v, _)] = o == null ? void 0 : o[W];
|
|
149
|
-
}));
|
|
150
|
-
}), m;
|
|
151
|
-
}, n = (o, g) => {
|
|
152
|
-
var O, v;
|
|
153
|
-
let m = {};
|
|
154
|
-
if (er(o)) {
|
|
155
|
-
const _ = s(g, (w) => !!(w != null && w.formItemFlag));
|
|
156
|
-
(O = V(_)) == null || O.map((w) => {
|
|
157
|
-
var E;
|
|
158
|
-
w && (m[w] = o == null ? void 0 : o[(E = _ == null ? void 0 : _[w]) == null ? void 0 : E.name]);
|
|
159
|
-
});
|
|
160
|
-
} else {
|
|
161
|
-
var $ = { pageConfig: (v = t == null ? void 0 : t.designer) == null ? void 0 : v.pageConfig, formData: m, designState: t == null ? void 0 : t.designState };
|
|
162
|
-
const { initData: _ } = fr(g, $);
|
|
163
|
-
_();
|
|
164
|
-
}
|
|
165
|
-
return m;
|
|
166
|
-
}, l = (o, g) => {
|
|
167
|
-
const m = n(g, o.widget);
|
|
168
|
-
b(c, m);
|
|
169
|
-
}, D = (o) => {
|
|
170
|
-
const g = n({}, o.widget);
|
|
171
|
-
N(g);
|
|
172
|
-
}, S = () => r == null ? void 0 : r.map((g) => i(c, g == null ? void 0 : g.widget)), F = (o, g) => {
|
|
173
|
-
N(c);
|
|
174
|
-
const m = g(o);
|
|
175
|
-
return m == null || m.forEach(($) => {
|
|
176
|
-
const O = n($ == null ? void 0 : $.data, $ == null ? void 0 : $.widget);
|
|
177
|
-
b(c, O);
|
|
178
|
-
}), r.splice(0, r.length, ...m), r;
|
|
179
|
-
}, C = (o) => {
|
|
180
|
-
var m;
|
|
181
|
-
var g = k({ ...t, widget: o });
|
|
182
|
-
return (m = g.attrs) == null ? void 0 : m.value;
|
|
183
|
-
}, B = (o, g, m) => I(o, g, r, m), P = (o) => {
|
|
184
|
-
var g = S();
|
|
185
|
-
tr(() => c, (m) => {
|
|
186
|
-
var $ = S();
|
|
187
|
-
J($) != J(g) && (g = $, o($));
|
|
188
|
-
}, { deep: !0, immediate: !0 });
|
|
189
|
-
}, { off$: q, on$: x, emit$: z } = ir(), Q = () => {
|
|
190
|
-
q(M.fieldChange), x(M.fieldChange, (o) => {
|
|
191
|
-
var g;
|
|
192
|
-
h == null || h(S()), (g = t == null ? void 0 : t.fieldChanged) == null || g.call(t);
|
|
193
|
-
});
|
|
194
|
-
};
|
|
195
|
-
return (() => {
|
|
196
|
-
const o = f;
|
|
197
|
-
d.globalProvide({
|
|
198
|
-
globalFormName: o,
|
|
199
|
-
globalDataModel: c
|
|
200
|
-
}), Q();
|
|
201
|
-
})(), {
|
|
202
|
-
getSlotFromData: u,
|
|
203
|
-
fromModel: n,
|
|
204
|
-
toModel: i,
|
|
205
|
-
newSlot: e,
|
|
206
|
-
getWidgetOption: C,
|
|
207
|
-
newFieldModelFromSlot: l,
|
|
208
|
-
removeFieldModelFromSlot: D,
|
|
209
|
-
getValue: S,
|
|
210
|
-
setValue: F,
|
|
211
|
-
findWidgetByNameWithSibId: B,
|
|
212
|
-
listenFormModel: P,
|
|
213
|
-
emit$: z,
|
|
214
|
-
formModel: c,
|
|
215
|
-
rowsData: r
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
export {
|
|
219
|
-
ir as a,
|
|
220
|
-
gr as b,
|
|
221
|
-
Or as c,
|
|
222
|
-
nr as f,
|
|
223
|
-
Fr as g,
|
|
224
|
-
G as p,
|
|
225
|
-
fr as u
|
|
226
|
-
};
|