hldesigner 0.0.253 → 0.0.255
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-3f09b7ba.js → _pdf-186aa265.js} +1 -1
- package/{_share_image-1ae50544.js → _share_image-e84e1ab5.js} +1 -1
- package/{_txt-e4d987b3.js → _txt-d7ef7e2b.js} +1 -1
- package/{affix-widget-dbd37947.js → affix-widget-619790d7.js} +11 -11
- package/{alert-widget-1e537d22.js → alert-widget-83ff5463.js} +11 -11
- package/{anchor-widget-66c2321e.js → anchor-widget-8ace3d09.js} +8 -8
- package/{auto-complete-widget-b9d76d55.js → auto-complete-widget-1e84043b.js} +10 -10
- package/{avatar-widget-895bd399.js → avatar-widget-26197904.js} +11 -11
- package/{backtop-widget-9464cd75.js → backtop-widget-bc4ad6cd.js} +11 -11
- package/badge-widget-794a437d.js +63 -0
- package/{barcode-widget-27b1445c.js → barcode-widget-aed0a3a3.js} +8 -8
- package/{baseImp-c36e2b1d.js → baseImp-0126cc6a.js} +187 -187
- package/{breadcrumb-widget-a59324b9.js → breadcrumb-widget-44051b3b.js} +8 -8
- package/{button-widget-5a944935.js → button-widget-02c15b1c.js} +11 -11
- package/{cache-widget-2743309f.js → cache-widget-6a7cfcde.js} +9 -9
- package/{card-widget-d56a2b60.js → card-widget-0867e83c.js} +9 -9
- package/{carousel-widget-5edabc1e.js → carousel-widget-d127f4a1.js} +9 -9
- package/{cascader-widget-8ce3164e.js → cascader-widget-f8fb1f72.js} +9 -9
- package/{chart-widget-2c970ceb.js → chart-widget-4fcec49a.js} +8 -8
- package/{checkbox-widget-afc573cc.js → checkbox-widget-3f6f2466.js} +9 -9
- package/{collapse-widget-1b250377.js → collapse-widget-a5f4c34d.js} +9 -9
- package/{color-picker-widget-ad845793.js → color-picker-widget-c1ed90c3.js} +9 -9
- package/{common-editor-9888657b.js → common-editor-df0f71b7.js} +8 -8
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-67ef735c.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-937fe92c.js} +2 -2
- package/{configItem-bf595a7c.js → configItem-e64c0b0c.js} +26 -26
- package/{cont-cell-widget-16ecb373.js → cont-cell-widget-0c1dee8f.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-eae94d59.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4e9278e4.js} +4 -4
- package/{cont-widget-cd7eb7b2.js → cont-widget-ba92a4ec.js} +4 -4
- package/{content-wrapper-590659bd.js → content-wrapper-abda98a2.js} +2 -2
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-a61c5ed2.js → content-wrapper.vue_vue_type_script_setup_true_lang-30920126.js} +1 -1
- package/{countdown-widget-ee98e94b.js → countdown-widget-c85d71ef.js} +11 -11
- package/{css-editor-1d0c1fa3.js → css-editor-c6ac49fd.js} +8 -8
- package/{customClass-editor-f1fe49e3.js → customClass-editor-0a715bba.js} +8 -8
- package/{date-picker-range-widget-e0ec0c47.js → date-picker-range-widget-4c700676.js} +9 -9
- package/{date-picker-widget-4b8cbf82.js → date-picker-widget-d0a9721f.js} +9 -9
- package/{default-slot-widget-b30b482d.js → default-slot-widget-ab2b5016.js} +9 -9
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9f6f1946.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1b0152d2.js} +4 -4
- package/{descriptions-widget-27d6d098.js → descriptions-widget-1e5b0ce0.js} +9 -9
- package/designer.es.js +24 -24
- package/designer.style.css +1 -1
- package/designer.umd.js +318 -318
- package/{dialog-widget-1719c509.js → dialog-widget-f8caf865.js} +10 -10
- package/{divider-widget-ac2d99a9.js → divider-widget-6294d993.js} +11 -11
- package/{drag-wrapper-573bd843.js → drag-wrapper-679b61c6.js} +4 -4
- package/{drawer-widget-1abef50b.js → drawer-widget-28bfe311.js} +10 -10
- package/{dropdown-widget-c9847cf0.js → dropdown-widget-87995933.js} +9 -9
- package/{editor-wrapper-6375ecbf.js → editor-wrapper-99e85ec7.js} +6 -6
- package/{empty-widget-4444ddd7.js → empty-widget-e720c95b.js} +11 -11
- package/{feedback-widget-368826de.js → feedback-widget-54d688f4.js} +10 -10
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ac77c231.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f1e1a416.js} +4 -4
- package/{field-editor-78ffc8eb.js → field-editor-d550e0e3.js} +7 -7
- package/{file-upload-widget-4dcd5cf5.js → file-upload-widget-7654f65b.js} +13 -13
- package/{form-item-wrapper-86d5c2c4.js → form-item-wrapper-82b18025.js} +5 -5
- package/form-widget-633d6c53.js +245 -0
- package/{grid-col-widget-610dd403.js → grid-col-widget-ef187b53.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-95231063.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-383bf6af.js} +4 -4
- package/{grid-widget-7c159b07.js → grid-widget-4fd4cbbf.js} +4 -4
- package/{hcard-widget-dccde317.js → hcard-widget-e6cf883e.js} +9 -9
- package/{html-text-widget-c10c83bb.js → html-text-widget-197763dc.js} +9 -9
- package/{icon-widget-212892ba.js → icon-widget-b492b90c.js} +8 -8
- package/iframe-widget-6600e70a.js +117 -0
- package/{image-editor-45d2d649.js → image-editor-1e132162.js} +8 -8
- package/{image-widget-7b55f7b2.js → image-widget-5f4bb6f4.js} +8 -8
- package/{index-a157b1f0.js → index-052963d5.js} +3 -3
- package/{index-a5503188.js → index-2093e417.js} +3 -3
- package/{index-1f75dd10.js → index-20cf9fc9.js} +3 -3
- package/{index-d6943de4.js → index-23f141a1.js} +1 -1
- package/{index-eea9252c.js → index-2656acca.js} +3 -3
- package/{index-a5446e33.js → index-4e614e71.js} +1 -1
- package/{index-4522a56c.js → index-4e7cd3e7.js} +2 -2
- package/{index-f4d00f8f.js → index-505ab07a.js} +4 -4
- package/{index-73b0d3ef.js → index-686af01f.js} +12 -12
- package/{index-9b7db8fd.js → index-720e2385.js} +3 -3
- package/{index-1e6b3b6b.js → index-744ba0ca.js} +5 -5
- package/{index-73ebdc77.js → index-8153214d.js} +8 -8
- package/{index-620b82b5.js → index-83e0aadd.js} +1 -1
- package/{index-bad82d80.js → index-88b64c32.js} +4 -4
- package/{index-56a75c5a.js → index-9173e0dd.js} +3 -3
- package/{index-3ed40b72.js → index-b17b5e61.js} +1 -1
- package/{index-f626b544.js → index-b33ad852.js} +8 -8
- package/{index-e9f2b8f4.js → index-b6bef5c6.js} +1 -1
- package/{index-03f03032.js → index-dd81da86.js} +28 -28
- package/{index-c6654e90.js → index-e6f4156d.js} +27 -27
- package/{index-79db6db9.js → index-ed50d4f1.js} +11 -11
- package/{index-e36c45c3.js → index-fc614e3c.js} +27 -27
- package/{input-number-widget-b09a6f09.js → input-number-widget-32b72d7a.js} +9 -9
- package/{input-tag-widget-724a7f15.js → input-tag-widget-73d969a2.js} +10 -10
- package/{input-widget-3c9543b8.js → input-widget-39ae579a.js} +10 -10
- package/{install-designer-b3e2fb16.js → install-designer-5a9d5b3b.js} +20 -20
- package/{link-widget-cea6bbc5.js → link-widget-7275340e.js} +11 -11
- package/{ltable-col-widget-25e6f2a2.js → ltable-col-widget-ec61a95b.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-10406176.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7d7ecc4f.js} +6 -6
- package/{ltable-widget-acc75798.js → ltable-widget-cbb42126.js} +4 -4
- package/{mention-widget-f5b44bef.js → mention-widget-898866cd.js} +10 -10
- package/{menu-widget-f2a164f5.js → menu-widget-296b72c2.js} +9 -9
- package/{model-widget-5d1a6fc0.js → model-widget-5b3017d2.js} +8 -8
- package/{multirow-15956d83.js → multirow-ca76c99a.js} +3 -3
- package/{multirow-widget-8dd64c0d.js → multirow-widget-e3f1f670.js} +9 -9
- package/{name-editor-e193482c.js → name-editor-26709ae1.js} +7 -7
- package/{optionItem-80f3e3df.js → optionItem-a4ee6887.js} +1 -1
- package/package.json +1 -1
- package/{pagination-widget-88d2e188.js → pagination-widget-25bd4465.js} +8 -8
- package/{picture-upload-widget-83cfdddb.js → picture-upload-widget-dfdcff9d.js} +10 -10
- package/progress-widget-e66f80a8.js +122 -0
- package/{property-base-d7a888b9.js → property-base-101c50eb.js} +1 -1
- package/{qrcode-widget-cf17d994.js → qrcode-widget-ec0b0a20.js} +8 -8
- package/{radio-widget-86657128.js → radio-widget-80d271d0.js} +9 -9
- package/{range-widget-51736c88.js → range-widget-c677d6ae.js} +10 -10
- package/{rate-widget-cddbb7a8.js → rate-widget-5f1717d9.js} +9 -9
- package/{reg-editor.vue_vue_type_script_setup_true_lang-89e38cb5.js → reg-editor.vue_vue_type_script_setup_true_lang-583fa911.js} +1 -1
- package/{result-widget-dbdf88bf.js → result-widget-604dc0ad.js} +9 -9
- package/{rich-editor-widget-7b7ee6e0.js → rich-editor-widget-220b5cca.js} +9 -9
- package/{router-widget-1071acab.js → router-widget-1e459e7a.js} +8 -8
- package/{schemaData-ee79b25f.js → schemaData-7f642877.js} +2 -2
- package/{segmented-widget-10c0bffc.js → segmented-widget-2d1c4542.js} +8 -8
- package/{select-widget-b6fdc490.js → select-widget-950c80b5.js} +163 -160
- package/{sfc-08a4af87.js → sfc-7e46e3df.js} +5 -5
- package/{sfcview-9f1cb41e.js → sfcview-174d7f4a.js} +4 -4
- package/{share-editor-9b861542.js → share-editor-11cf68bd.js} +1 -1
- package/share-field-73511e57.js +842 -0
- package/{share-file-d6743ae7.js → share-file-202187bf.js} +2 -2
- package/{size-editor-6314a424.js → size-editor-19714417.js} +7 -7
- package/{skeleton-widget-bbb07c50.js → skeleton-widget-28148163.js} +11 -11
- package/{skeletonItem-widget-46735914.js → skeletonItem-widget-75b32132.js} +8 -8
- package/slider-widget-0d7c46a1.js +66 -0
- package/{slot-bc0e200f.js → slot-7fd9dcdd.js} +1 -1
- package/{space-widget-c19444ed.js → space-widget-f52d17c3.js} +9 -9
- package/{splitter-widget-c7347c68.js → splitter-widget-fc94a11a.js} +9 -9
- package/{static-text-widget-c2d21cdb.js → static-text-widget-ee315e8b.js} +9 -9
- package/{statistic-widget-9860a510.js → statistic-widget-53e4e42a.js} +11 -11
- package/{steps-widget-dcc2a10d.js → steps-widget-c0a66f62.js} +8 -8
- package/{subMenu-widget-de89d0e1.js → subMenu-widget-956606c0.js} +2 -2
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-f41da07b.js → subMenu-widget.vue_vue_type_script_setup_true_lang-782672ba.js} +1 -1
- package/{switch-widget-e9d487ed.js → switch-widget-005d8251.js} +9 -9
- package/{tab-pane-widget-7c760349.js → tab-pane-widget-5ae4b065.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-150278f1.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-554adbde.js} +4 -4
- package/{table-col-widget-f56e22fa.js → table-col-widget-5acf67b2.js} +8 -8
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-812919b2.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8ceb1a7f.js} +4 -4
- package/{table-widget-2ee5c9b9.js → table-widget-6a270d33.js} +10 -10
- package/{tabs-widget-17aa3f7c.js → tabs-widget-49654beb.js} +5 -5
- package/{tag-widget-78140543.js → tag-widget-ae89ac90.js} +11 -11
- package/{target-code-53cc4456.js → target-code-d91b3112.js} +3 -3
- package/{target-datasource-35a58b18.js → target-datasource-a1fbe91c.js} +28 -28
- package/{target-link-b667cc55.js → target-link-bf2b9646.js} +27 -27
- package/{target-saveForm-340f57ef.js → target-saveForm-95fcd051.js} +27 -27
- package/{target-window-28bddb9c.js → target-window-5d433aa9.js} +4 -4
- package/{text-widget-6658162b.js → text-widget-138aaa7e.js} +11 -11
- package/{textarea-widget-0eed797e.js → textarea-widget-b2396e51.js} +9 -9
- package/{time-picker-range-widget-3c178089.js → time-picker-range-widget-07b2c9f4.js} +9 -9
- package/{time-picker-widget-fe162577.js → time-picker-widget-cd29c5bc.js} +9 -9
- package/{time-select-widget-1a919673.js → time-select-widget-2103d702.js} +9 -9
- package/{timeline-widget-0a98737e.js → timeline-widget-64b4852b.js} +9 -9
- package/{tmpl-widget-6b97ac60.js → tmpl-widget-1d7204d6.js} +9 -9
- package/{tooltip-widget-0587c680.js → tooltip-widget-08b096a0.js} +9 -9
- package/{tour-widget-30cd8acb.js → tour-widget-8bc75bae.js} +8 -8
- package/{transfer-widget-96ad5e57.js → transfer-widget-7d8954b0.js} +10 -10
- package/{tree-select-widget-0f1f7e99.js → tree-select-widget-dfaa77c0.js} +9 -9
- package/{tree-widget-7c048add.js → tree-widget-d1f06048.js} +8 -8
- package/{value-editor-03c9bb9c.js → value-editor-cd876b2b.js} +7 -7
- package/{verifycode-widget-f6b4627a.js → verifycode-widget-4708cd75.js} +8 -8
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7fe08f81.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js} +2 -2
- package/{wrapper-widget-e0016683.js → wrapper-widget-59ce9121.js} +4 -4
- package/badge-widget-fcc6c760.js +0 -58
- package/form-widget-71c3e0e2.js +0 -238
- package/iframe-widget-0c541b5e.js +0 -118
- package/progress-widget-c8c3b31b.js +0 -126
- package/share-field-9563faff.js +0 -837
- package/slider-widget-88fe7b6a.js +0 -66
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { ref as U, reactive as G, onMounted as ue, nextTick as Se, defineComponent as me, computed as ye, resolveComponent as Ee, resolveDirective as Ne, openBlock as le, createBlock as de, mergeProps as J, unref as g, withCtx as re, withDirectives as Re, toHandlers as Me, withModifiers as Ae, createVNode as Pe } from "vue";
|
|
2
|
+
import { I as $e } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as ke } from "./drag-wrapper-679b61c6.js";
|
|
4
|
+
import { _ as Ie } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
5
|
+
import { w as X, a as se, b as I, f as L, c as Be } from "./expression-0c9dacc8.js";
|
|
6
|
+
import { u as He } from "./icon-aff7bde2.js";
|
|
7
|
+
import { u as Te } from "./emitter-8d426aaf.js";
|
|
8
|
+
import { i as qe, a as ze } from "./enum-type-5382518b.js";
|
|
9
|
+
import { $ as Ke, B as Ue } from "./baseImp-0126cc6a.js";
|
|
10
|
+
import { f as Ge } from "./index-2093e417.js";
|
|
11
|
+
import { c as Je, a as Qe, u as Xe } from "./share-field-73511e57.js";
|
|
12
|
+
import { W as Ye } from "./enum-type-2374c955.js";
|
|
13
|
+
import { u as Ze } from "./multirow-ca76c99a.js";
|
|
14
|
+
import { e as Q, f as fe, d as ce, g as et, h as tt, j as ot } from "./obj-fe2f7356.js";
|
|
15
|
+
import { F as nt } from "./slot-7fd9dcdd.js";
|
|
16
|
+
import { _ as at } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
function it(c) {
|
|
18
|
+
const S = c.widget, p = c.designer, F = p == null ? void 0 : p.pageConfig, w = c == null ? void 0 : c.widgetList, y = U({}), E = {}, { fieldModel: B, fieldName: H, fieldEditor: u, attrs: N, events: _, hasFieldOptions: R, exposed: D, fieldObj: T, watchOption: W, propResultOpt: r, extendAttrs: s } = Je(c), { off$: V, on$: O, emit$: M, broadcast: j } = Te();
|
|
19
|
+
var { instance: x } = He();
|
|
20
|
+
const { setAllRefList: pe } = Qe(y.value), Y = { designState: c == null ? void 0 : c.designState, pageConfig: F, globalConfig: r == null ? void 0 : r.globalConfig }, { formModel: A, setData: ve, getData: P, clearData: Z } = Ze(w, { ...Y }), { handleFunc: q } = Xe({ options: F }, Y), z = G({}), ge = () => {
|
|
21
|
+
V(L.fieldChange), O(L.fieldChange, (e) => {
|
|
22
|
+
we(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), D == null || D.setValue(A), be(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
23
|
+
});
|
|
24
|
+
}, he = () => {
|
|
25
|
+
V(L.fieldValidation), O(L.fieldValidation, (e) => {
|
|
26
|
+
var t;
|
|
27
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
28
|
+
});
|
|
29
|
+
}, _e = () => {
|
|
30
|
+
V(L.fieldRuleChange), O(L.fieldRuleChange, (e) => {
|
|
31
|
+
var o;
|
|
32
|
+
var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
|
|
33
|
+
required: n.required,
|
|
34
|
+
message: n.message,
|
|
35
|
+
trigger: n.trigger,
|
|
36
|
+
validator: n.validator
|
|
37
|
+
}));
|
|
38
|
+
Object.assign(z, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = z;
|
|
39
|
+
});
|
|
40
|
+
}, ee = U(!0), K = U(!1), $ = G({}), k = G({}), te = (e) => {
|
|
41
|
+
fe(k), ce(k, e);
|
|
42
|
+
}, Ce = () => ({
|
|
43
|
+
change_info: Q($),
|
|
44
|
+
before_info: Q(k),
|
|
45
|
+
after_info: Q(A),
|
|
46
|
+
flag: K.value
|
|
47
|
+
}), be = (e, t, o) => {
|
|
48
|
+
k[e] == $[e] && (K.value = !0, e && ce($, { [e]: { oldValue: o, newValue: t } }));
|
|
49
|
+
}, Fe = () => {
|
|
50
|
+
K.value = !1, fe($), te(P());
|
|
51
|
+
}, we = (e, t, o) => {
|
|
52
|
+
q(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: A });
|
|
53
|
+
}, De = () => {
|
|
54
|
+
q(_.value.formCreated);
|
|
55
|
+
}, Le = () => {
|
|
56
|
+
q(_.value.formMounted);
|
|
57
|
+
}, We = () => {
|
|
58
|
+
_e(), ge(), he(), De();
|
|
59
|
+
}, Ve = (e) => {
|
|
60
|
+
var t;
|
|
61
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
62
|
+
}, Oe = () => {
|
|
63
|
+
pe(Ye.resetField), Se(() => {
|
|
64
|
+
Ve();
|
|
65
|
+
});
|
|
66
|
+
}, oe = (e, t) => {
|
|
67
|
+
let o = [];
|
|
68
|
+
for (let f in e) {
|
|
69
|
+
var n = e[f], d = n == null ? void 0 : n.filter((i) => (i == null ? void 0 : i.force) === t);
|
|
70
|
+
d == null || d.forEach((i) => {
|
|
71
|
+
var m;
|
|
72
|
+
const v = (m = i == null ? void 0 : i.rule) == null ? void 0 : m.label;
|
|
73
|
+
i.message && o.push(Be(v ? "【" + v + "】" : "", i.message, ":"));
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
return et(o);
|
|
77
|
+
}, je = (e, t) => {
|
|
78
|
+
var o = {};
|
|
79
|
+
return Ge(t, (n) => {
|
|
80
|
+
var d = Ue.getName(n), f = tt(e, d);
|
|
81
|
+
return f && (o[d] = e[d]), f;
|
|
82
|
+
}, !1), o;
|
|
83
|
+
}, xe = (e = !0) => {
|
|
84
|
+
var d, f, i;
|
|
85
|
+
let t = P(), o = function() {
|
|
86
|
+
}, n = new Promise(function(v, m) {
|
|
87
|
+
o = function(a, l) {
|
|
88
|
+
(l ? m : v)({ data: a, isSuccess: !l, message: l });
|
|
89
|
+
};
|
|
90
|
+
});
|
|
91
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((i = (f = u.value) == null ? void 0 : f.validate) == null || i.call(f, (v, m) => {
|
|
92
|
+
if (v)
|
|
93
|
+
o(t);
|
|
94
|
+
else {
|
|
95
|
+
var a = oe(m, !0);
|
|
96
|
+
if (a && a.length > 0) {
|
|
97
|
+
o(t, a);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
var l = oe(m, !1);
|
|
101
|
+
if (l && l.length > 0) {
|
|
102
|
+
l.push(ze.i18nt("designer.hint.continue")), Ke.multiple(l).then((h) => {
|
|
103
|
+
o(t);
|
|
104
|
+
});
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}), n);
|
|
109
|
+
}, ne = (e, t = !0) => {
|
|
110
|
+
if (!S)
|
|
111
|
+
return;
|
|
112
|
+
var o = je(e, [S]);
|
|
113
|
+
ve(o, t);
|
|
114
|
+
const n = ["refList", "widgetRefList"];
|
|
115
|
+
j(X.ContainerWidget, se.setFormData, e, x, n), j(X.FieldWidget, se.setFormData, e, x, n);
|
|
116
|
+
}, ae = (e) => {
|
|
117
|
+
ee.value = !0;
|
|
118
|
+
const t = (o, n) => o == null && n == null;
|
|
119
|
+
return new Promise((o, n) => {
|
|
120
|
+
const d = (a, l) => {
|
|
121
|
+
var C, b, ie;
|
|
122
|
+
let h = (C = s.value) != null && C.formDataLoaded ? (ie = (b = s.value) == null ? void 0 : b.formDataLoaded) == null ? void 0 : ie.call(b, P(), a) : a;
|
|
123
|
+
ot(h) ? ne(h, !l) : h = {}, te(h), ee.value = !1, o(h);
|
|
124
|
+
}, f = () => {
|
|
125
|
+
W(e, I.newDataSource, void 0, (a, l) => {
|
|
126
|
+
t(a, l) || d(a, !0);
|
|
127
|
+
});
|
|
128
|
+
}, i = () => {
|
|
129
|
+
W(e, I.editDataSource, void 0, (a, l) => {
|
|
130
|
+
var C, b;
|
|
131
|
+
if (t(a, l))
|
|
132
|
+
return;
|
|
133
|
+
if (((b = (C = s.value) == null ? void 0 : C.needFormAdd) == null ? void 0 : b.call(C, a)) && m) {
|
|
134
|
+
f();
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
d(a, !1);
|
|
138
|
+
});
|
|
139
|
+
}, v = R(I.editDataSource), m = R(I.newDataSource);
|
|
140
|
+
v ? i() : m && f();
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
return We(), ue(() => {
|
|
144
|
+
qe(), Le();
|
|
145
|
+
}), {
|
|
146
|
+
widgetRefList: y,
|
|
147
|
+
allWidgetRefList: E,
|
|
148
|
+
fieldEditor: u,
|
|
149
|
+
formModel: A,
|
|
150
|
+
pageConfig: F,
|
|
151
|
+
widgetList: w,
|
|
152
|
+
fieldModel: B,
|
|
153
|
+
fieldName: H,
|
|
154
|
+
attrs: N,
|
|
155
|
+
extendAttrs: s,
|
|
156
|
+
events: _,
|
|
157
|
+
rules: z,
|
|
158
|
+
loadData: ae,
|
|
159
|
+
clearData: Z,
|
|
160
|
+
exposed: {
|
|
161
|
+
...D,
|
|
162
|
+
setValue: ne,
|
|
163
|
+
getValue: xe,
|
|
164
|
+
resetField: Oe,
|
|
165
|
+
clearData: Z,
|
|
166
|
+
loadData: ae,
|
|
167
|
+
getData: P,
|
|
168
|
+
//修改痕迹
|
|
169
|
+
clearChangeRecord: Fe,
|
|
170
|
+
getChangeRecord: Ce,
|
|
171
|
+
emit$: M
|
|
172
|
+
},
|
|
173
|
+
fieldObj: T
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
const lt = me({ componentName: X.ContainerWidget }), dt = /* @__PURE__ */ me({
|
|
177
|
+
...lt,
|
|
178
|
+
__name: "form-widget",
|
|
179
|
+
props: { ...$e },
|
|
180
|
+
setup(c, { expose: S }) {
|
|
181
|
+
var W;
|
|
182
|
+
const p = c, { exposed: F, formModel: w, fieldEditor: y, attrs: E, events: B, widgetRefList: H, extendAttrs: u, fieldName: N, fieldObj: _, loadData: R } = it({ ...p, widgetList: (W = p == null ? void 0 : p.widget) == null ? void 0 : W.widgetList }), D = N.value, T = ye(() => {
|
|
183
|
+
var r, s;
|
|
184
|
+
return {
|
|
185
|
+
disabled: (r = E.value) == null ? void 0 : r.disabled,
|
|
186
|
+
readonly: (s = u.value) == null ? void 0 : s.readonly
|
|
187
|
+
};
|
|
188
|
+
});
|
|
189
|
+
return nt.globalProvide({
|
|
190
|
+
globalFormName: D,
|
|
191
|
+
globalDataModel: w,
|
|
192
|
+
globalFormOptions: T
|
|
193
|
+
}), ue(() => {
|
|
194
|
+
var r;
|
|
195
|
+
(r = u.value) != null && r.loadDataWhenInit && !p.designState && R(!0).then((s) => {
|
|
196
|
+
}).catch((s) => {
|
|
197
|
+
}).finally(() => {
|
|
198
|
+
F.clearChangeRecord();
|
|
199
|
+
});
|
|
200
|
+
}), S({ ...F }), (r, s) => {
|
|
201
|
+
const V = Ee("el-form"), O = Ne("loading");
|
|
202
|
+
return le(), de(Ie, J(r.$props, {
|
|
203
|
+
"prop-options": { fieldObj: g(_) }
|
|
204
|
+
}), {
|
|
205
|
+
default: re(({ data: M }) => {
|
|
206
|
+
var j, x;
|
|
207
|
+
return [
|
|
208
|
+
Re((le(), de(V, J({
|
|
209
|
+
ref_key: "fieldEditor",
|
|
210
|
+
ref: y,
|
|
211
|
+
model: g(w)
|
|
212
|
+
}, g(E), Me(g(B)), {
|
|
213
|
+
class: M.injectClass,
|
|
214
|
+
key: (j = g(_)) == null ? void 0 : j.fieldKey,
|
|
215
|
+
"element-loading-text": g(u).loadingText,
|
|
216
|
+
onSubmit: s[0] || (s[0] = Ae(() => {
|
|
217
|
+
}, ["prevent"]))
|
|
218
|
+
}), {
|
|
219
|
+
default: re(() => [
|
|
220
|
+
Pe(ke, J(r.$props, {
|
|
221
|
+
dragClass: "formDrag padSize",
|
|
222
|
+
model: g(w),
|
|
223
|
+
provideModel: !0,
|
|
224
|
+
"component-class": M.componentWrapperClass,
|
|
225
|
+
refList: g(H)
|
|
226
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
227
|
+
]),
|
|
228
|
+
_: 2
|
|
229
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
230
|
+
[O, (x = g(u)) == null ? void 0 : x.showLoading]
|
|
231
|
+
])
|
|
232
|
+
];
|
|
233
|
+
}),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 16, ["prop-options"]);
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
const rt = /* @__PURE__ */ at(dt, [["__scopeId", "data-v-badf0168"]]), Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
240
|
+
__proto__: null,
|
|
241
|
+
default: rt
|
|
242
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
243
|
+
export {
|
|
244
|
+
Wt as _
|
|
245
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-383bf6af.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as r, withCtx as W, createVNode as x } from "vue";
|
|
2
2
|
import { w as k } from "./expression-0c9dacc8.js";
|
|
3
3
|
import { I as A } from "./widget-base-8eece820.js";
|
|
4
|
-
import { D as b } from "./drag-wrapper-
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { c as H } from "./share-field-
|
|
7
|
-
import { c as $ } from "./slot-
|
|
4
|
+
import { D as b } from "./drag-wrapper-679b61c6.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
6
|
+
import { c as H } from "./share-field-73511e57.js";
|
|
7
|
+
import { c as $ } from "./slot-7fd9dcdd.js";
|
|
8
8
|
const z = m({ componentName: k.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
9
|
...z,
|
|
10
10
|
__name: "grid-col-widget",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
|
|
2
2
|
import { w as k, b as y } from "./expression-0c9dacc8.js";
|
|
3
3
|
import { I as C } from "./widget-base-8eece820.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { c as j } from "./share-field-
|
|
7
|
-
import { c as P } from "./slot-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-383bf6af.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
6
|
+
import { c as j } from "./share-field-73511e57.js";
|
|
7
|
+
import { c as P } from "./slot-7fd9dcdd.js";
|
|
8
8
|
const v = p({ componentName: k.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as C, useCssVars as j, computed as t, openBlock as p, createBlock as f, mergeProps as i, unref as r, withCtx as D, createElementBlock as _, normalizeClass as E, createElementVNode as g, Fragment as F, createTextVNode as I, toDisplayString as P, normalizeStyle as H, createVNode as O } from "vue";
|
|
2
|
-
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
3
|
-
import { c as T } from "./share-field-
|
|
4
|
-
import { D as v } from "./drag-wrapper-
|
|
2
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
3
|
+
import { c as T } from "./share-field-73511e57.js";
|
|
4
|
+
import { D as v } from "./drag-wrapper-679b61c6.js";
|
|
5
5
|
import { w as q } from "./expression-0c9dacc8.js";
|
|
6
|
-
import { e as h } from "./slot-
|
|
6
|
+
import { e as h } from "./slot-7fd9dcdd.js";
|
|
7
7
|
import { I as A } from "./widget-base-8eece820.js";
|
|
8
8
|
import { g as l, a as G } from "./color-bae04003.js";
|
|
9
9
|
import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
10
|
import "./enum-type-5382518b.js";
|
|
11
11
|
import "./obj-fe2f7356.js";
|
|
12
|
-
import "./index-
|
|
12
|
+
import "./index-2093e417.js";
|
|
13
13
|
import "./uuid-97f565a9.js";
|
|
14
14
|
import "./enum-type-2374c955.js";
|
|
15
|
-
import "./optionItem-
|
|
16
|
-
import "./baseImp-
|
|
15
|
+
import "./optionItem-a4ee6887.js";
|
|
16
|
+
import "./baseImp-0126cc6a.js";
|
|
17
17
|
import "./icon-aff7bde2.js";
|
|
18
18
|
import "./dialog-628eac9b.js";
|
|
19
19
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-b6bef5c6.js";
|
|
22
22
|
import "./index-76ea6e95.js";
|
|
23
23
|
import "./fieldobj-50c2d8a9.js";
|
|
24
24
|
import "./emitter-8d426aaf.js";
|
|
25
|
-
import "./multirow-
|
|
25
|
+
import "./multirow-ca76c99a.js";
|
|
26
26
|
import "./source-map-b04aec4a.js";
|
|
27
27
|
import "./esprima-e8d15055.js";
|
|
28
28
|
import "./index-da1bd5b7.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
2
|
import { I as C } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { c as P } from "./share-field-
|
|
3
|
+
import { c as P } from "./share-field-73511e57.js";
|
|
4
4
|
import { w as h } from "./expression-0c9dacc8.js";
|
|
5
|
-
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
6
|
+
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-30920126.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
8
|
import "./obj-fe2f7356.js";
|
|
9
9
|
import "./emitter-8d426aaf.js";
|
|
10
10
|
import "./icon-aff7bde2.js";
|
|
11
11
|
import "./enum-type-5382518b.js";
|
|
12
|
-
import "./baseImp-
|
|
12
|
+
import "./baseImp-0126cc6a.js";
|
|
13
13
|
import "./enum-type-2374c955.js";
|
|
14
14
|
import "./dialog-628eac9b.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "./uuid-97f565a9.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./slot-
|
|
18
|
+
import "./slot-7fd9dcdd.js";
|
|
19
19
|
import "./index-da1bd5b7.js";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
20
|
+
import "./index-2093e417.js";
|
|
21
|
+
import "./optionItem-a4ee6887.js";
|
|
22
|
+
import "./index-b6bef5c6.js";
|
|
23
|
+
import "./multirow-ca76c99a.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
import "./index-76ea6e95.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as d, resolveComponent as D, openBlock as i, createBlock as r, mergeProps as a, unref as o, withCtx as f, toHandlers as k, resolveDynamicComponent as v } from "vue";
|
|
2
2
|
import { I as F } from "./field-base-1acf3ada.js";
|
|
3
3
|
import { w as S } from "./expression-0c9dacc8.js";
|
|
4
|
-
import { c as b } from "./share-field-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
+
import { c as b } from "./share-field-73511e57.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
6
6
|
import { S as B } from "./enum-type-2374c955.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
8
|
import "./source-map-b04aec4a.js";
|
|
@@ -13,15 +13,15 @@ import "./_commonjsHelpers-e7ea1525.js";
|
|
|
13
13
|
import "./esprima-e8d15055.js";
|
|
14
14
|
import "./emitter-8d426aaf.js";
|
|
15
15
|
import "./icon-aff7bde2.js";
|
|
16
|
-
import "./baseImp-
|
|
16
|
+
import "./baseImp-0126cc6a.js";
|
|
17
17
|
import "./dialog-628eac9b.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./slot-
|
|
19
|
+
import "./slot-7fd9dcdd.js";
|
|
20
20
|
import "./index-da1bd5b7.js";
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./optionItem-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./multirow-
|
|
21
|
+
import "./index-2093e417.js";
|
|
22
|
+
import "./optionItem-a4ee6887.js";
|
|
23
|
+
import "./index-b6bef5c6.js";
|
|
24
|
+
import "./multirow-ca76c99a.js";
|
|
25
25
|
import "./index-76ea6e95.js";
|
|
26
26
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
27
27
|
import "./fieldobj-50c2d8a9.js";
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent as Q, computed as b, ref as h, onMounted as O, watch as R, resolveComponent as T, resolveDirective as V, openBlock as d, createBlock as I, mergeProps as L, unref as a, withCtx as q, createCommentVNode as U, withDirectives as z, createElementBlock as j, toHandlers as H } from "vue";
|
|
2
|
+
import { z as y } from "./baseImp-0126cc6a.js";
|
|
3
|
+
import { w as K } from "./expression-0c9dacc8.js";
|
|
4
|
+
import { c as M } from "./share-field-73511e57.js";
|
|
5
|
+
import { _ as G } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
6
|
+
import { I as J } from "./field-base-1acf3ada.js";
|
|
7
|
+
import { g as X } from "./uuid-97f565a9.js";
|
|
8
|
+
import { l as B } from "./enum-type-5382518b.js";
|
|
9
|
+
import { _ as Y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
+
import "./obj-fe2f7356.js";
|
|
11
|
+
import "./enum-type-2374c955.js";
|
|
12
|
+
import "./icon-aff7bde2.js";
|
|
13
|
+
import "./dialog-628eac9b.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "element-plus";
|
|
16
|
+
import "./source-map-b04aec4a.js";
|
|
17
|
+
import "./esprima-e8d15055.js";
|
|
18
|
+
import "./emitter-8d426aaf.js";
|
|
19
|
+
import "./slot-7fd9dcdd.js";
|
|
20
|
+
import "./index-da1bd5b7.js";
|
|
21
|
+
import "./index-2093e417.js";
|
|
22
|
+
import "./optionItem-a4ee6887.js";
|
|
23
|
+
import "./index-b6bef5c6.js";
|
|
24
|
+
import "./multirow-ca76c99a.js";
|
|
25
|
+
import "./widget-base-8eece820.js";
|
|
26
|
+
import "./index-76ea6e95.js";
|
|
27
|
+
import "./fieldobj-50c2d8a9.js";
|
|
28
|
+
function Z(s, f) {
|
|
29
|
+
var c;
|
|
30
|
+
if (!s) {
|
|
31
|
+
B.error("iframe is empty");
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const o = (c = s.contentWindow) == null ? void 0 : c.document;
|
|
35
|
+
if (!o) {
|
|
36
|
+
B.error("iframe doc is empty");
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
o.open(), o.write(f), o.close();
|
|
40
|
+
}
|
|
41
|
+
const A = {
|
|
42
|
+
key: 1,
|
|
43
|
+
class: "full-width full-height nopadding nomargin"
|
|
44
|
+
}, ee = ["src", "id"], oe = Q({ componentName: K.FieldWidget }), re = /* @__PURE__ */ Q({
|
|
45
|
+
...oe,
|
|
46
|
+
__name: "iframe-widget",
|
|
47
|
+
props: { ...J },
|
|
48
|
+
setup(s, { expose: f }) {
|
|
49
|
+
const o = s, { exposed: c, fieldEditor: w, events: m, attrs: k, extendAttrs: r, fieldObj: W, fieldKey: $, fieldName: x } = M(o), E = b(() => i.value && !t.value ? "full-width full-height" : "mini-wrapper"), t = h(!1), _ = h(), F = (e) => {
|
|
50
|
+
var l, n;
|
|
51
|
+
const v = ((l = r == null ? void 0 : r.value) == null ? void 0 : l.withQuery) ? y.getLocationQueryParams() : {}, g = y.buildUrl(e, v), p = (n = r == null ? void 0 : r.value) == null ? void 0 : n.hashRouter;
|
|
52
|
+
return y.resolveByCurrentUrl(g, p ? X() + "" : "");
|
|
53
|
+
}, C = h(), i = b(() => {
|
|
54
|
+
if (_.value)
|
|
55
|
+
return _.value;
|
|
56
|
+
const e = C.value || k.value.src;
|
|
57
|
+
return e == "" || e == "#" ? "" : F(e);
|
|
58
|
+
}), N = () => {
|
|
59
|
+
var e, u;
|
|
60
|
+
t.value = !1, (u = (e = m == null ? void 0 : m.value) == null ? void 0 : e.onLoaded) == null || u.call(e);
|
|
61
|
+
}, P = (e) => {
|
|
62
|
+
C.value = e;
|
|
63
|
+
}, S = (e) => {
|
|
64
|
+
_.value = e;
|
|
65
|
+
}, D = (e) => {
|
|
66
|
+
Z(w.value, e);
|
|
67
|
+
};
|
|
68
|
+
return O(() => {
|
|
69
|
+
i.value && (t.value = !0);
|
|
70
|
+
}), R(() => i.value, (e) => {
|
|
71
|
+
e && (t.value = !0);
|
|
72
|
+
}), f({
|
|
73
|
+
...c,
|
|
74
|
+
loadSrc: P,
|
|
75
|
+
loadUrl: S,
|
|
76
|
+
loadContent: D
|
|
77
|
+
}), (e, u) => {
|
|
78
|
+
var p;
|
|
79
|
+
const v = T("el-empty"), g = V("loading");
|
|
80
|
+
return d(), I(G, L(e.$props, {
|
|
81
|
+
"prop-options": { fieldObj: a(W) },
|
|
82
|
+
key: (p = e.widget) == null ? void 0 : p.id
|
|
83
|
+
}), {
|
|
84
|
+
default: q(({ data: l }) => {
|
|
85
|
+
var n;
|
|
86
|
+
return [
|
|
87
|
+
i.value ? U("", !0) : (d(), I(v, {
|
|
88
|
+
key: 0,
|
|
89
|
+
description: (n = a(k)) == null ? void 0 : n.emptyText,
|
|
90
|
+
class: "full-width full-height nopadding nomargin"
|
|
91
|
+
}, null, 8, ["description"])),
|
|
92
|
+
t.value ? z((d(), j("div", A, null, 512)), [
|
|
93
|
+
[g, t.value]
|
|
94
|
+
]) : U("", !0),
|
|
95
|
+
(d(), j("iframe", L({
|
|
96
|
+
ref_key: "fieldEditor",
|
|
97
|
+
ref: w,
|
|
98
|
+
key: `${a($)}_${i.value}`
|
|
99
|
+
}, H(a(m), !0), {
|
|
100
|
+
onLoad: N,
|
|
101
|
+
src: i.value,
|
|
102
|
+
class: [[...l.injectClass, E.value], "nopadding nomargin hlIframe"],
|
|
103
|
+
frameborder: 0,
|
|
104
|
+
style: l.injectStyle,
|
|
105
|
+
id: a(x)
|
|
106
|
+
}), null, 16, ee))
|
|
107
|
+
];
|
|
108
|
+
}),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 16, ["prop-options"]);
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
const We = /* @__PURE__ */ Y(re, [["__scopeId", "data-v-bc4cf8a6"]]);
|
|
115
|
+
export {
|
|
116
|
+
We as default
|
|
117
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as f, createBlock as u, normalizeProps as c, guardReactiveProps as g, withCtx as i, createVNode as m, mergeProps as P, unref as r, isRef as _ } from "vue";
|
|
2
|
-
import { I as E } from "./property-base-
|
|
2
|
+
import { I as E } from "./property-base-101c50eb.js";
|
|
3
3
|
import { w as V } from "./expression-0c9dacc8.js";
|
|
4
|
-
import { u as y } from "./share-editor-
|
|
5
|
-
import { E as C, O as w } from "./editor-wrapper-
|
|
4
|
+
import { u as y } from "./share-editor-11cf68bd.js";
|
|
5
|
+
import { E as C, O as w } from "./editor-wrapper-99e85ec7.js";
|
|
6
6
|
import { d as B, e as I } from "./obj-fe2f7356.js";
|
|
7
7
|
import { ay as h } from "./enum-type-2374c955.js";
|
|
8
|
-
import { h as k } from "./_share_image-
|
|
8
|
+
import { h as k } from "./_share_image-e84e1ab5.js";
|
|
9
9
|
import "./enum-type-5382518b.js";
|
|
10
|
-
import "./baseImp-
|
|
10
|
+
import "./baseImp-0126cc6a.js";
|
|
11
11
|
import "./icon-aff7bde2.js";
|
|
12
12
|
import "./dialog-628eac9b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -17,9 +17,9 @@ import "./source-map-b04aec4a.js";
|
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
18
18
|
import "./share-event-23ffd78d.js";
|
|
19
19
|
import "./emitter-8d426aaf.js";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
20
|
+
import "./index-2093e417.js";
|
|
21
|
+
import "./optionItem-a4ee6887.js";
|
|
22
|
+
import "./index-b6bef5c6.js";
|
|
23
23
|
import "./index-76ea6e95.js";
|
|
24
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
25
|
import "./_share_wrapper-9d61ae87.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as c, computed as j, resolveComponent as k, openBlock as m, createBlock as s, mergeProps as l, unref as e, withCtx as d, toHandlers as F, createSlots as O, renderList as b, resolveDynamicComponent as B } from "vue";
|
|
2
2
|
import { w as E } from "./expression-0c9dacc8.js";
|
|
3
3
|
import { I as L } from "./field-base-1acf3ada.js";
|
|
4
|
-
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { c as P } from "./share-field-
|
|
6
|
-
import { g as $ } from "./slot-
|
|
4
|
+
import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-81fa1cd2.js";
|
|
5
|
+
import { c as P } from "./share-field-73511e57.js";
|
|
6
|
+
import { g as $ } from "./slot-7fd9dcdd.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
8
|
import "./obj-fe2f7356.js";
|
|
9
9
|
import "./uuid-97f565a9.js";
|
|
@@ -11,19 +11,19 @@ import "./enum-type-5382518b.js";
|
|
|
11
11
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
12
|
import "./esprima-e8d15055.js";
|
|
13
13
|
import "./widget-base-8eece820.js";
|
|
14
|
-
import "./index-
|
|
14
|
+
import "./index-2093e417.js";
|
|
15
15
|
import "./enum-type-2374c955.js";
|
|
16
|
-
import "./optionItem-
|
|
17
|
-
import "./baseImp-
|
|
16
|
+
import "./optionItem-a4ee6887.js";
|
|
17
|
+
import "./baseImp-0126cc6a.js";
|
|
18
18
|
import "./icon-aff7bde2.js";
|
|
19
19
|
import "./dialog-628eac9b.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-b6bef5c6.js";
|
|
22
22
|
import "./index-76ea6e95.js";
|
|
23
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
24
|
import "./fieldobj-50c2d8a9.js";
|
|
25
25
|
import "./emitter-8d426aaf.js";
|
|
26
|
-
import "./multirow-
|
|
26
|
+
import "./multirow-ca76c99a.js";
|
|
27
27
|
import "./index-da1bd5b7.js";
|
|
28
28
|
const A = c({ componentName: E.FieldWidget }), le = /* @__PURE__ */ c({
|
|
29
29
|
...A,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as B, useCssVars as K, unref as a, ref as i, watch as M, resolveComponent as C, openBlock as T, createElementBlock as Q, createElementVNode as t, createVNode as r, withCtx as c, toDisplayString as u, mergeProps as I, createBlock as X } from "vue";
|
|
2
2
|
import { c as R, a as v } from "./enum-type-5382518b.js";
|
|
3
|
-
import Y from "./index-
|
|
3
|
+
import Y from "./index-4e614e71.js";
|
|
4
4
|
import { r as Z, q as ee, H as te } from "./expression-0c9dacc8.js";
|
|
5
|
-
import { e as oe, V as le, P as se } from "./baseImp-
|
|
5
|
+
import { e as oe, V as le, P as se } from "./baseImp-0126cc6a.js";
|
|
6
6
|
import { ElTree as N } from "element-plus";
|
|
7
7
|
import { Search as $ } from "./index-6bcfdc22.js";
|
|
8
8
|
import { u as ae } from "./setView-de8aaf40.js";
|
|
9
9
|
import { M as ne } from "./obj-fe2f7356.js";
|
|
10
10
|
import { _ as re } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
|
-
import { I as ie } from "./property-base-
|
|
11
|
+
import { I as ie } from "./property-base-101c50eb.js";
|
|
12
12
|
import "./source-map-b04aec4a.js";
|
|
13
13
|
import "./uuid-97f565a9.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -6,10 +6,10 @@ import { reactive as ft, computed as A, nextTick as Dt, watch as Bt } from "vue"
|
|
|
6
6
|
import { e as Ge, f as nt, c as W, a as Q, j as Ie } from "./enum-type-5382518b.js";
|
|
7
7
|
import { m as Rt, g as Ue, n as $t } from "./uuid-97f565a9.js";
|
|
8
8
|
import { e as E, C as U, f as _t, h as me, i as Gt, L as Wt, P as xe, R as Ht, j as It, k as Vt, l as xt } from "./enum-type-2374c955.js";
|
|
9
|
-
import { w as Mt, C as kt, g as st } from "./optionItem-
|
|
10
|
-
import { B as $, f as N, P as M, h as w, I as Ut } from "./baseImp-
|
|
9
|
+
import { w as Mt, C as kt, g as st } from "./optionItem-a4ee6887.js";
|
|
10
|
+
import { B as $, f as N, P as M, h as w, I as Ut } from "./baseImp-0126cc6a.js";
|
|
11
11
|
import { b as J, r as it, p as ut, d as lt, f as zt } from "./expression-0c9dacc8.js";
|
|
12
|
-
import { q as Se } from "./index-
|
|
12
|
+
import { q as Se } from "./index-b6bef5c6.js";
|
|
13
13
|
function qt(e) {
|
|
14
14
|
return e = e || /* @__PURE__ */ Object.create(null), {
|
|
15
15
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as $, ref as z, resolveComponent as v, openBlock as k, createElementBlock as y, Fragment as E, createVNode as p, withCtx as r, createTextVNode as I, toDisplayString as f, unref as w, createElementVNode as W, renderList as N, createBlock as S, createCommentVNode as A } from "vue";
|
|
2
2
|
import { a as i, c as U } from "./enum-type-5382518b.js";
|
|
3
|
-
import { I as G } from "./property-base-
|
|
4
|
-
import { u as Q } from "./share-editor-
|
|
3
|
+
import { I as G } from "./property-base-101c50eb.js";
|
|
4
|
+
import { u as Q } from "./share-editor-11cf68bd.js";
|
|
5
5
|
import { W as x } from "./enum-type-2374c955.js";
|
|
6
6
|
import { o as j, e as X, d as L } from "./obj-fe2f7356.js";
|
|
7
7
|
import { _ as Y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
8
|
-
import "./baseImp-
|
|
8
|
+
import "./baseImp-0126cc6a.js";
|
|
9
9
|
import "./expression-0c9dacc8.js";
|
|
10
10
|
import "./source-map-b04aec4a.js";
|
|
11
11
|
import "./uuid-97f565a9.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as A, reactive as Z, ref as H, resolveComponent as z, openBlock as Q, createElementBlock as S, Fragment as k, createVNode as o, withCtx as m, createTextVNode as W, toDisplayString as I, unref as j, createElementVNode as a, renderList as O } from "vue";
|
|
2
2
|
import { a as F } from "./enum-type-5382518b.js";
|
|
3
|
-
import { f as D } from "./baseImp-
|
|
3
|
+
import { f as D } from "./baseImp-0126cc6a.js";
|
|
4
4
|
import { _ as $ } from "./_plugin-vue_export-helper-dad06003.js";
|
|
5
5
|
import "./obj-fe2f7356.js";
|
|
6
6
|
import "./enum-type-2374c955.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as _, shallowRef as y, ref as i, onMounted as F, openBlock as x, createBlock as C, resolveDynamicComponent as V, defineAsyncComponent as E } from "vue";
|
|
2
|
-
import { I as k } from "./property-base-
|
|
3
|
-
import { u as p } from "./share-editor-
|
|
2
|
+
import { I as k } from "./property-base-101c50eb.js";
|
|
3
|
+
import { u as p } from "./share-editor-11cf68bd.js";
|
|
4
4
|
import "./enum-type-2374c955.js";
|
|
5
5
|
import "./enum-type-5382518b.js";
|
|
6
6
|
import "./obj-fe2f7356.js";
|
|
7
|
-
import "./baseImp-
|
|
7
|
+
import "./baseImp-0126cc6a.js";
|
|
8
8
|
import "./expression-0c9dacc8.js";
|
|
9
9
|
import "./source-map-b04aec4a.js";
|
|
10
10
|
import "./uuid-97f565a9.js";
|