hldesigner 0.0.249 → 0.0.251
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-54c0ca83.js → _pdf-3f09b7ba.js} +2 -2
- package/{_share_image-9aad9f8d.js → _share_image-1ae50544.js} +1 -1
- package/{_txt-db408cc8.js → _txt-e4d987b3.js} +2 -2
- package/{affix-widget-7ad54f4d.js → affix-widget-b14dcef7.js} +12 -12
- package/{alert-widget-a89ec8c3.js → alert-widget-7b233d91.js} +12 -12
- package/{anchor-widget-848a6026.js → anchor-widget-29602c2d.js} +9 -9
- package/{auto-complete-widget-956b539c.js → auto-complete-widget-5344e6e4.js} +11 -11
- package/{avatar-widget-72c73bd3.js → avatar-widget-1d4d4d97.js} +12 -12
- package/{backtop-widget-b0ac378b.js → backtop-widget-1c14b84c.js} +12 -12
- package/{badge-widget-7951aec8.js → badge-widget-4875e76f.js} +12 -12
- package/{barcode-widget-b71a2d52.js → barcode-widget-b0fd8257.js} +9 -9
- package/{baseImp-69fb75ff.js → baseImp-c36e2b1d.js} +2 -2
- package/{breadcrumb-widget-0f169098.js → breadcrumb-widget-e44699f1.js} +9 -9
- package/{button-widget-416815dd.js → button-widget-48a6dc5d.js} +12 -12
- package/{cache-widget-c0164702.js → cache-widget-55e00411.js} +10 -10
- package/{card-widget-c9c0606e.js → card-widget-47e0bdab.js} +10 -10
- package/{carousel-widget-ec330845.js → carousel-widget-2e46c442.js} +10 -10
- package/{cascader-widget-5e494792.js → cascader-widget-692112dc.js} +10 -10
- package/{chart-widget-cd7788ad.js → chart-widget-851ad0ac.js} +9 -9
- package/{checkbox-widget-f24eefb7.js → checkbox-widget-eea3fe6a.js} +10 -10
- package/{collapse-widget-37eaab5c.js → collapse-widget-32b33d94.js} +10 -10
- package/{color-picker-widget-90a24d93.js → color-picker-widget-63ea65e6.js} +10 -10
- package/{common-editor-505188a1.js → common-editor-acef0b6a.js} +10 -10
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e953fd86.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-31084165.js} +2 -2
- package/{configItem-eeca203d.js → configItem-f9248047.js} +27 -27
- package/{cont-cell-widget-cceb2ba0.js → cont-cell-widget-4e38d49b.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-40655546.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-79246404.js} +5 -5
- package/{cont-widget-e8f7cd01.js → cont-widget-23304c92.js} +5 -5
- package/{content-wrapper-6c719c20.js → content-wrapper-590659bd.js} +3 -3
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-6d393e20.js → content-wrapper.vue_vue_type_script_setup_true_lang-a61c5ed2.js} +2 -2
- package/{countdown-widget-2211bfa1.js → countdown-widget-1dccab4c.js} +12 -12
- package/{css-editor-5c70c004.js → css-editor-8c1fec0e.js} +10 -10
- package/{customClass-editor-d076b6cf.js → customClass-editor-65000b5e.js} +10 -10
- package/{date-picker-range-widget-8954a461.js → date-picker-range-widget-92af693a.js} +10 -10
- package/{date-picker-widget-e6ec4758.js → date-picker-widget-57446ced.js} +10 -10
- package/{default-slot-widget-09702a3e.js → default-slot-widget-19df4a8a.js} +10 -10
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1f8308bd.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b2dd43f8.js} +5 -5
- package/{descriptions-widget-c71d22b3.js → descriptions-widget-f0a3db81.js} +10 -10
- package/designer.es.js +25 -25
- package/designer.style.css +1 -1
- package/designer.umd.js +367 -367
- package/{dialog-widget-deb9b038.js → dialog-widget-5d389588.js} +11 -11
- package/{divider-widget-829f1b6a.js → divider-widget-81af9546.js} +12 -12
- package/{drag-wrapper-30ddc60b.js → drag-wrapper-316665a3.js} +5 -5
- package/{drawer-widget-7de24499.js → drawer-widget-53b916da.js} +11 -11
- package/{dropdown-widget-7ada8f5b.js → dropdown-widget-3168b5e7.js} +10 -10
- package/{editor-wrapper-c3ddd24d.js → editor-wrapper-70bec4a9.js} +8 -8
- package/{empty-widget-a0d0a02e.js → empty-widget-d66f14dc.js} +12 -12
- package/{expression-c1e2572e.js → expression-0c9dacc8.js} +65 -65
- package/{feedback-widget-137bb48d.js → feedback-widget-7e0f319d.js} +11 -11
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-18b04711.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-5e8671e4.js} +5 -5
- package/{field-editor-fc500db4.js → field-editor-e1f3cedb.js} +9 -9
- package/{file-upload-widget-b0c6ed0e.js → file-upload-widget-5ea23182.js} +14 -14
- package/{form-item-wrapper-93530a1f.js → form-item-wrapper-d3262084.js} +6 -6
- package/form-widget-2b707d2f.js +237 -0
- package/{grid-col-widget-83e406c3.js → grid-col-widget-6575e600.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5f173b3b.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b08e8c63.js} +5 -5
- package/{grid-widget-a53a975a.js → grid-widget-2f081e01.js} +5 -5
- package/{hcard-widget-1792987a.js → hcard-widget-b2a94897.js} +10 -10
- package/{html-text-widget-7f440361.js → html-text-widget-c0919f1d.js} +10 -10
- package/{icon-widget-c455e254.js → icon-widget-0d589202.js} +9 -9
- package/{iframe-widget-ecf29465.js → iframe-widget-159af976.js} +9 -9
- package/{image-editor-93870a64.js → image-editor-d5d4a394.js} +10 -10
- package/{image-widget-12fcfeb5.js → image-widget-831fd968.js} +9 -9
- package/{index-4f1b8632.js → index-04865432.js} +6 -6
- package/{index-dfbdd42d.js → index-0ed3e582.js} +29 -29
- package/{index-8aeb5f72.js → index-172c105d.js} +4 -4
- package/{index-c7181cf6.js → index-1f75dd10.js} +4 -4
- package/{index-64c4cd2a.js → index-31e5f711.js} +28 -28
- package/{index-6734ea5f.js → index-3ed40b72.js} +2 -2
- package/{index-57b18dc0.js → index-41ec94a0.js} +9 -9
- package/{index-ca5f2c3e.js → index-56a75c5a.js} +4 -4
- package/{index-88d2cbbc.js → index-5a9aca9a.js} +28 -28
- package/{index-848656fb.js → index-5adc7079.js} +12 -12
- package/{index-ddc90d9d.js → index-620b82b5.js} +2 -2
- package/{index-0bc5897b.js → index-8111309f.js} +5 -5
- package/{index-f34fbb28.js → index-a157b1f0.js} +4 -4
- package/{index-febae740.js → index-a5446e33.js} +2 -2
- package/{index-63b12900.js → index-bacec032.js} +4 -4
- package/{index-56db1292.js → index-bad82d80.js} +5 -5
- package/{index-0dd4e2a9.js → index-d5f121e2.js} +9 -9
- package/{index-282b7d47.js → index-d6943de4.js} +2 -2
- package/{index-4a3de27b.js → index-e9f2b8f4.js} +1 -1
- package/{index-388bfc7d.js → index-ebfb1695.js} +13 -13
- package/{index-0001abc6.js → index-eea9252c.js} +4 -4
- package/{index-f275fc11.js → index-f4d00f8f.js} +5 -5
- package/{input-number-widget-845ed26e.js → input-number-widget-e4a52bdb.js} +10 -10
- package/{input-tag-widget-4599633e.js → input-tag-widget-116d4ff8.js} +11 -11
- package/{input-widget-82d30d19.js → input-widget-a1afb511.js} +11 -11
- package/{install-designer-7a63063b.js → install-designer-60fe5421.js} +21 -21
- package/{link-widget-6f0fa791.js → link-widget-e0af047b.js} +12 -12
- package/{ltable-col-widget-43b9b0a4.js → ltable-col-widget-a0f71db4.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-e9d196f2.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0c795688.js} +7 -7
- package/{ltable-widget-bc09421e.js → ltable-widget-6af9927c.js} +5 -5
- package/{mention-widget-5e095249.js → mention-widget-088a852c.js} +11 -11
- package/{menu-widget-766cc772.js → menu-widget-cd1b3629.js} +10 -10
- package/{model-widget-4bac50ba.js → model-widget-2f1ed33c.js} +9 -9
- package/{multirow-a65ac222.js → multirow-99c8825a.js} +52 -52
- package/{multirow-widget-e7ce0b85.js → multirow-widget-3991776f.js} +87 -87
- package/{name-editor-3be17132.js → name-editor-d3cb50d3.js} +9 -9
- package/{optionItem-23c227a9.js → optionItem-80568388.js} +2 -2
- package/package.json +1 -1
- package/{pagination-widget-beb68380.js → pagination-widget-3a9d4ff7.js} +9 -9
- package/{picture-upload-widget-28fa0ba3.js → picture-upload-widget-43e280a4.js} +11 -11
- package/{progress-widget-c701a84e.js → progress-widget-dd2a224a.js} +10 -10
- package/{property-base-171b5b65.js → property-base-d7a888b9.js} +1 -1
- package/{qrcode-widget-a6bfc83e.js → qrcode-widget-b19f6006.js} +9 -9
- package/{radio-widget-93bb653e.js → radio-widget-97f93d63.js} +10 -10
- package/{range-widget-fdeb3aaf.js → range-widget-04cfb481.js} +11 -11
- package/{rate-widget-9c7b03d5.js → rate-widget-cf1c78c1.js} +10 -10
- package/{reg-editor.vue_vue_type_script_setup_true_lang-07c2885c.js → reg-editor.vue_vue_type_script_setup_true_lang-1a4f3757.js} +1 -1
- package/{result-widget-90c9b4f7.js → result-widget-c80af157.js} +10 -10
- package/{rich-editor-widget-8d7269fe.js → rich-editor-widget-b9e1554d.js} +10 -10
- package/{router-widget-7307f896.js → router-widget-a5909bb0.js} +9 -9
- package/{schemaData-41df7462.js → schemaData-ee79b25f.js} +3 -3
- package/{segmented-widget-505c4de0.js → segmented-widget-1d73bd77.js} +9 -9
- package/{select-widget-a3881487.js → select-widget-7210996e.js} +10 -10
- package/{sfc-82544bb3.js → sfc-c179f099.js} +6 -6
- package/{sfcview-d4f391f9.js → sfcview-395bcee8.js} +5 -5
- package/{share-editor-7fae7ec3.js → share-editor-9b861542.js} +2 -2
- package/{share-event-12a6d238.js → share-event-23ffd78d.js} +1 -1
- package/share-field-05201bd7.js +822 -0
- package/{share-file-ad05fe05.js → share-file-e909ec2b.js} +3 -3
- package/{size-editor-5ad1787c.js → size-editor-83bedc6a.js} +9 -9
- package/{skeleton-widget-c479d19e.js → skeleton-widget-e780f3dd.js} +12 -12
- package/{skeletonItem-widget-63a8237a.js → skeletonItem-widget-90a76338.js} +9 -9
- package/{slider-widget-b144fc45.js → slider-widget-bf726867.js} +10 -10
- package/slot-bc0e200f.js +312 -0
- package/{space-widget-3fc12b3a.js → space-widget-9fef0e18.js} +10 -10
- package/{splitter-widget-3e2eec9a.js → splitter-widget-528209f3.js} +10 -10
- package/{static-text-widget-c97155f2.js → static-text-widget-f25f80bc.js} +10 -10
- package/{statistic-widget-e5704254.js → statistic-widget-d532b80b.js} +12 -12
- package/{steps-widget-83a6d29e.js → steps-widget-62d8f28e.js} +9 -9
- package/{subMenu-widget-b64cd06a.js → subMenu-widget-de89d0e1.js} +3 -3
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-941a284d.js → subMenu-widget.vue_vue_type_script_setup_true_lang-f41da07b.js} +1 -1
- package/{switch-widget-449078b6.js → switch-widget-6883a9e4.js} +10 -10
- package/{tab-pane-widget-548be729.js → tab-pane-widget-1f6802b5.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-9289b8ee.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-83508f66.js} +5 -5
- package/{table-col-widget-83fe6f61.js → table-col-widget-5f7c50a6.js} +9 -9
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-80100f85.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-d0e7e402.js} +4 -4
- package/{table-widget-d9b7e1ad.js → table-widget-71e978dc.js} +92 -91
- package/{tabs-widget-ba9f1190.js → tabs-widget-6b9bbe5a.js} +6 -6
- package/{tag-widget-b997cd36.js → tag-widget-a49d5020.js} +12 -12
- package/{target-code-f68a8a61.js → target-code-53cc4456.js} +4 -4
- package/{target-datasource-ce566681.js → target-datasource-9c4e10b6.js} +29 -29
- package/{target-link-c9a7bc91.js → target-link-b403ad98.js} +28 -28
- package/{target-saveForm-54b532f7.js → target-saveForm-3d0bafde.js} +28 -28
- package/{target-window-f8080fab.js → target-window-67740c5e.js} +5 -5
- package/{text-widget-1e2ef147.js → text-widget-53173846.js} +12 -12
- package/{textarea-widget-a091c574.js → textarea-widget-2061eaf0.js} +10 -10
- package/{time-picker-range-widget-bcc64f2c.js → time-picker-range-widget-8b242bcf.js} +10 -10
- package/{time-picker-widget-a1916084.js → time-picker-widget-f1f534bf.js} +10 -10
- package/{time-select-widget-29ac1ce8.js → time-select-widget-92aecfb0.js} +10 -10
- package/{timeline-widget-0c4a658b.js → timeline-widget-b9694570.js} +10 -10
- package/tmpl-widget-1d56a5bc.js +102 -0
- package/{tooltip-widget-9e75f552.js → tooltip-widget-6da60f9c.js} +10 -10
- package/tour-widget-34baf354.js +153 -0
- package/{transfer-widget-0e741b45.js → transfer-widget-0b2f8cfc.js} +11 -11
- package/{tree-select-widget-ee51187a.js → tree-select-widget-3fe65449.js} +10 -10
- package/{tree-widget-eb64428b.js → tree-widget-bf276322.js} +9 -9
- package/{value-editor-7cc2b84b.js → value-editor-06a5afa1.js} +9 -9
- package/{verifycode-widget-be4db726.js → verifycode-widget-7886b563.js} +9 -9
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a0bdcff.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js} +3 -3
- package/wrapper-widget-bd2bb0df.js +91 -0
- package/form-widget-3054ff51.js +0 -231
- package/share-field-15e24eaf.js +0 -815
- package/slot-a2386598.js +0 -304
- package/tmpl-widget-f10495f1.js +0 -101
- package/tour-widget-c902f5f5.js +0 -153
- package/wrapper-widget-397e2daf.js +0 -84
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { ref as oe, reactive as K, onMounted as fe, nextTick as je, defineComponent as ce, computed as xe, resolveComponent as Ne, resolveDirective as Se, openBlock as ne, createBlock as ae, mergeProps as U, unref as h, withCtx as ie, withDirectives as Ee, toHandlers as Re, withModifiers as ye, createVNode as Me } from "vue";
|
|
2
|
+
import { I as Ae } from "./widget-base-8eece820.js";
|
|
3
|
+
import { D as Pe } from "./drag-wrapper-316665a3.js";
|
|
4
|
+
import { _ as $e } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js";
|
|
5
|
+
import { w as G, a as le, b as A, f as D, c as ke } from "./expression-0c9dacc8.js";
|
|
6
|
+
import { u as Ie } from "./icon-aff7bde2.js";
|
|
7
|
+
import { u as Be } from "./emitter-8d426aaf.js";
|
|
8
|
+
import { i as He, a as Te } from "./enum-type-5382518b.js";
|
|
9
|
+
import { $ as qe, B as ze } from "./baseImp-c36e2b1d.js";
|
|
10
|
+
import { f as Ke } from "./index-172c105d.js";
|
|
11
|
+
import { c as Ue, a as Ge, u as Je } from "./share-field-05201bd7.js";
|
|
12
|
+
import { W as Qe } from "./enum-type-2374c955.js";
|
|
13
|
+
import { u as Xe } from "./multirow-99c8825a.js";
|
|
14
|
+
import { e as de, f as re, d as se, g as Ye, h as Ze, j as et } from "./obj-fe2f7356.js";
|
|
15
|
+
import { F as tt } from "./slot-bc0e200f.js";
|
|
16
|
+
import { _ as ot } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
|
+
function nt(s) {
|
|
18
|
+
const x = s.widget, m = s.designer, F = m == null ? void 0 : m.pageConfig, b = s == null ? void 0 : s.widgetList, N = oe({}), S = {}, { fieldModel: P, fieldName: $, fieldEditor: u, attrs: E, events: _, hasFieldOptions: R, exposed: w, fieldObj: k, watchOption: V, propResultOpt: r, extendAttrs: p } = Ue(s), { off$: L, on$: W, emit$: y, broadcast: O } = Be();
|
|
19
|
+
var { instance: j } = Ie();
|
|
20
|
+
const { setAllRefList: me } = Ge(N.value), J = { designState: s == null ? void 0 : s.designState, pageConfig: F, globalConfig: r == null ? void 0 : r.globalConfig }, { formModel: I, setData: ue, getData: M, clearData: Q } = Xe(b, { ...J }), { handleFunc: B } = Je({ options: F }, J), H = K({}), pe = () => {
|
|
21
|
+
L(D.fieldChange), W(D.fieldChange, (e) => {
|
|
22
|
+
Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(I), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
23
|
+
});
|
|
24
|
+
}, ve = () => {
|
|
25
|
+
L(D.fieldValidation), W(D.fieldValidation, (e) => {
|
|
26
|
+
var t;
|
|
27
|
+
(t = u.value) == null || t.validateField(e == null ? void 0 : e.propName);
|
|
28
|
+
});
|
|
29
|
+
}, ge = () => {
|
|
30
|
+
L(D.fieldRuleChange), W(D.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(H, { [e == null ? void 0 : e.fieldName]: t }), E.value.rules = H;
|
|
39
|
+
});
|
|
40
|
+
}, T = oe(!1), q = K({}), z = K({}), X = (e) => {
|
|
41
|
+
re(z), se(z, e);
|
|
42
|
+
}, he = () => ({
|
|
43
|
+
change_info: de(q),
|
|
44
|
+
before_info: de(z),
|
|
45
|
+
flag: T.value
|
|
46
|
+
}), _e = (e, t, o) => {
|
|
47
|
+
T.value = !0, e && se(q, { [e]: { oldValue: o, newValue: t } });
|
|
48
|
+
}, Ce = () => {
|
|
49
|
+
T.value = !1, re(q), X(M());
|
|
50
|
+
}, Fe = (e, t, o) => {
|
|
51
|
+
B(_.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: I });
|
|
52
|
+
}, be = () => {
|
|
53
|
+
B(_.value.formCreated);
|
|
54
|
+
}, we = () => {
|
|
55
|
+
B(_.value.formMounted);
|
|
56
|
+
}, De = () => {
|
|
57
|
+
ge(), pe(), ve(), be();
|
|
58
|
+
}, Ve = (e) => {
|
|
59
|
+
var t;
|
|
60
|
+
(t = u.value) == null || t.clearValidate(e);
|
|
61
|
+
}, Le = () => {
|
|
62
|
+
me(Qe.resetField), je(() => {
|
|
63
|
+
Ve();
|
|
64
|
+
});
|
|
65
|
+
}, Y = (e, t) => {
|
|
66
|
+
let o = [];
|
|
67
|
+
for (let f in e) {
|
|
68
|
+
var n = e[f], d = n == null ? void 0 : n.filter((l) => (l == null ? void 0 : l.force) === t);
|
|
69
|
+
d == null || d.forEach((l) => {
|
|
70
|
+
var a;
|
|
71
|
+
const c = (a = l == null ? void 0 : l.rule) == null ? void 0 : a.label;
|
|
72
|
+
l.message && o.push(ke(c ? "【" + c + "】" : "", l.message, ":"));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return Ye(o);
|
|
76
|
+
}, We = (e, t) => {
|
|
77
|
+
var o = {};
|
|
78
|
+
return Ke(t, (n) => {
|
|
79
|
+
var d = ze.getName(n), f = Ze(e, d);
|
|
80
|
+
return f && (o[d] = e[d]), f;
|
|
81
|
+
}, !1), o;
|
|
82
|
+
}, Oe = (e = !0) => {
|
|
83
|
+
var d, f, l;
|
|
84
|
+
let t = M(), o = function() {
|
|
85
|
+
}, n = new Promise(function(c, a) {
|
|
86
|
+
o = function(v, i) {
|
|
87
|
+
(i ? a : c)({ data: v, isSuccess: !i, message: i });
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
return !((d = u.value) != null && d.validate) || !e ? (o(t), n) : ((l = (f = u.value) == null ? void 0 : f.validate) == null || l.call(f, (c, a) => {
|
|
91
|
+
if (c)
|
|
92
|
+
o(t);
|
|
93
|
+
else {
|
|
94
|
+
var v = Y(a, !0);
|
|
95
|
+
if (v && v.length > 0) {
|
|
96
|
+
o(t, v);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
var i = Y(a, !1);
|
|
100
|
+
if (i && i.length > 0) {
|
|
101
|
+
i.push(Te.i18nt("designer.hint.continue")), qe.multiple(i).then((g) => {
|
|
102
|
+
o(t);
|
|
103
|
+
});
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}), n);
|
|
108
|
+
}, Z = (e, t = !0) => {
|
|
109
|
+
if (!x)
|
|
110
|
+
return;
|
|
111
|
+
var o = We(e, [x]);
|
|
112
|
+
ue(o, t);
|
|
113
|
+
const n = ["refList", "widgetRefList"];
|
|
114
|
+
O(G.ContainerWidget, le.setFormData, e, j, n), O(G.FieldWidget, le.setFormData, e, j, n);
|
|
115
|
+
}, ee = (e) => new Promise((t, o) => {
|
|
116
|
+
const n = (a, v) => {
|
|
117
|
+
var g, C, te;
|
|
118
|
+
let i = (g = p.value) != null && g.formDataLoaded ? (te = (C = p.value) == null ? void 0 : C.formDataLoaded) == null ? void 0 : te.call(C, M(), a) : a;
|
|
119
|
+
et(i) ? Z(i, !v) : i = {}, X(i), t(i);
|
|
120
|
+
}, d = () => {
|
|
121
|
+
V(e, A.newDataSource, void 0, (a, v) => {
|
|
122
|
+
n(a, !0);
|
|
123
|
+
});
|
|
124
|
+
}, f = () => {
|
|
125
|
+
V(e, A.editDataSource, void 0, (a, v) => {
|
|
126
|
+
var g, C;
|
|
127
|
+
if (((C = (g = p.value) == null ? void 0 : g.needFormAdd) == null ? void 0 : C.call(g, a)) && c) {
|
|
128
|
+
d();
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
n(a, !1);
|
|
132
|
+
});
|
|
133
|
+
}, l = R(A.editDataSource), c = R(A.newDataSource);
|
|
134
|
+
l ? f() : c && d();
|
|
135
|
+
});
|
|
136
|
+
return De(), fe(() => {
|
|
137
|
+
He(), we();
|
|
138
|
+
}), {
|
|
139
|
+
widgetRefList: N,
|
|
140
|
+
allWidgetRefList: S,
|
|
141
|
+
fieldEditor: u,
|
|
142
|
+
formModel: I,
|
|
143
|
+
pageConfig: F,
|
|
144
|
+
widgetList: b,
|
|
145
|
+
fieldModel: P,
|
|
146
|
+
fieldName: $,
|
|
147
|
+
attrs: E,
|
|
148
|
+
extendAttrs: p,
|
|
149
|
+
events: _,
|
|
150
|
+
rules: H,
|
|
151
|
+
loadData: ee,
|
|
152
|
+
clearData: Q,
|
|
153
|
+
exposed: {
|
|
154
|
+
...w,
|
|
155
|
+
setValue: Z,
|
|
156
|
+
getValue: Oe,
|
|
157
|
+
resetField: Le,
|
|
158
|
+
clearData: Q,
|
|
159
|
+
loadData: ee,
|
|
160
|
+
getData: M,
|
|
161
|
+
//修改痕迹
|
|
162
|
+
clearChangeRecord: Ce,
|
|
163
|
+
getChangeRecord: he,
|
|
164
|
+
emit$: y
|
|
165
|
+
},
|
|
166
|
+
fieldObj: k
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
const at = ce({ componentName: G.ContainerWidget }), it = /* @__PURE__ */ ce({
|
|
170
|
+
...at,
|
|
171
|
+
__name: "form-widget",
|
|
172
|
+
props: { ...Ae },
|
|
173
|
+
setup(s, { expose: x }) {
|
|
174
|
+
var V;
|
|
175
|
+
const m = s, { exposed: F, formModel: b, fieldEditor: N, attrs: S, events: P, widgetRefList: $, extendAttrs: u, fieldName: E, fieldObj: _, loadData: R } = nt({ ...m, widgetList: (V = m == null ? void 0 : m.widget) == null ? void 0 : V.widgetList }), w = E.value, k = xe(() => {
|
|
176
|
+
var r;
|
|
177
|
+
return {
|
|
178
|
+
disabled: (r = S.value) == null ? void 0 : r.disabled
|
|
179
|
+
};
|
|
180
|
+
});
|
|
181
|
+
return tt.globalProvide({
|
|
182
|
+
globalFormName: w,
|
|
183
|
+
globalDataModel: b,
|
|
184
|
+
globalFormOptions: k
|
|
185
|
+
}), fe(() => {
|
|
186
|
+
var r;
|
|
187
|
+
(r = u.value) != null && r.loadDataWhenInit && !m.designState && R(!0).then((p) => {
|
|
188
|
+
}).catch((p) => {
|
|
189
|
+
}).finally(() => {
|
|
190
|
+
F.clearChangeRecord();
|
|
191
|
+
});
|
|
192
|
+
}), x({ ...F }), (r, p) => {
|
|
193
|
+
const L = Ne("el-form"), W = Se("loading");
|
|
194
|
+
return ne(), ae($e, U(r.$props, {
|
|
195
|
+
"prop-options": { fieldObj: h(_) }
|
|
196
|
+
}), {
|
|
197
|
+
default: ie(({ data: y }) => {
|
|
198
|
+
var O, j;
|
|
199
|
+
return [
|
|
200
|
+
Ee((ne(), ae(L, U({
|
|
201
|
+
ref_key: "fieldEditor",
|
|
202
|
+
ref: N,
|
|
203
|
+
model: h(b)
|
|
204
|
+
}, h(S), Re(h(P)), {
|
|
205
|
+
class: y.injectClass,
|
|
206
|
+
key: (O = h(_)) == null ? void 0 : O.fieldKey,
|
|
207
|
+
"element-loading-text": h(u).loadingText,
|
|
208
|
+
onSubmit: p[0] || (p[0] = ye(() => {
|
|
209
|
+
}, ["prevent"]))
|
|
210
|
+
}), {
|
|
211
|
+
default: ie(() => [
|
|
212
|
+
Me(Pe, U(r.$props, {
|
|
213
|
+
dragClass: "formDrag padSize",
|
|
214
|
+
model: h(b),
|
|
215
|
+
provideModel: !0,
|
|
216
|
+
"component-class": y.componentWrapperClass,
|
|
217
|
+
refList: h($)
|
|
218
|
+
}), null, 16, ["model", "component-class", "refList"])
|
|
219
|
+
]),
|
|
220
|
+
_: 2
|
|
221
|
+
}, 1040, ["model", "class", "element-loading-text"])), [
|
|
222
|
+
[W, (j = h(u)) == null ? void 0 : j.showLoading]
|
|
223
|
+
])
|
|
224
|
+
];
|
|
225
|
+
}),
|
|
226
|
+
_: 1
|
|
227
|
+
}, 16, ["prop-options"]);
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
const lt = /* @__PURE__ */ ot(it, [["__scopeId", "data-v-5d4838f9"]]), Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
232
|
+
__proto__: null,
|
|
233
|
+
default: lt
|
|
234
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
235
|
+
export {
|
|
236
|
+
Dt as _
|
|
237
|
+
};
|
|
@@ -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-b08e8c63.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
|
-
import { w as k } from "./expression-
|
|
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-316665a3.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js";
|
|
6
|
+
import { c as H } from "./share-field-05201bd7.js";
|
|
7
|
+
import { c as $ } from "./slot-bc0e200f.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
|
-
import { w as k, b as y } from "./expression-
|
|
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-b08e8c63.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js";
|
|
6
|
+
import { c as j } from "./share-field-05201bd7.js";
|
|
7
|
+
import { c as P } from "./slot-bc0e200f.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-
|
|
5
|
-
import { w as q } from "./expression-
|
|
6
|
-
import { e as h } from "./slot-
|
|
2
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js";
|
|
3
|
+
import { c as T } from "./share-field-05201bd7.js";
|
|
4
|
+
import { D as v } from "./drag-wrapper-316665a3.js";
|
|
5
|
+
import { w as q } from "./expression-0c9dacc8.js";
|
|
6
|
+
import { e as h } from "./slot-bc0e200f.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-172c105d.js";
|
|
13
13
|
import "./uuid-97f565a9.js";
|
|
14
14
|
import "./enum-type-2374c955.js";
|
|
15
|
-
import "./optionItem-
|
|
16
|
-
import "./baseImp-
|
|
15
|
+
import "./optionItem-80568388.js";
|
|
16
|
+
import "./baseImp-c36e2b1d.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-e9f2b8f4.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-99c8825a.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-
|
|
4
|
-
import { w as h } from "./expression-
|
|
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-
|
|
3
|
+
import { c as P } from "./share-field-05201bd7.js";
|
|
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-07f9e10f.js";
|
|
6
|
+
import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-a61c5ed2.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-c36e2b1d.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-bc0e200f.js";
|
|
19
19
|
import "./index-da1bd5b7.js";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./multirow-
|
|
20
|
+
import "./index-172c105d.js";
|
|
21
|
+
import "./optionItem-80568388.js";
|
|
22
|
+
import "./index-e9f2b8f4.js";
|
|
23
|
+
import "./multirow-99c8825a.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
|
-
import { w as S } from "./expression-
|
|
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-
|
|
3
|
+
import { w as S } from "./expression-0c9dacc8.js";
|
|
4
|
+
import { c as b } from "./share-field-05201bd7.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.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-c36e2b1d.js";
|
|
17
17
|
import "./dialog-628eac9b.js";
|
|
18
18
|
import "element-plus";
|
|
19
|
-
import "./slot-
|
|
19
|
+
import "./slot-bc0e200f.js";
|
|
20
20
|
import "./index-da1bd5b7.js";
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./optionItem-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./multirow-
|
|
21
|
+
import "./index-172c105d.js";
|
|
22
|
+
import "./optionItem-80568388.js";
|
|
23
|
+
import "./index-e9f2b8f4.js";
|
|
24
|
+
import "./multirow-99c8825a.js";
|
|
25
25
|
import "./index-76ea6e95.js";
|
|
26
26
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
27
27
|
import "./fieldobj-50c2d8a9.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, computed as k, ref as C, onMounted as D, watch as O, resolveComponent as R, resolveDirective as T, openBlock as d, createBlock as I, mergeProps as L, unref as s, withCtx as V, createCommentVNode as U, withDirectives as q, createElementBlock as b, toHandlers as z } from "vue";
|
|
2
|
-
import { z as y } from "./baseImp-
|
|
3
|
-
import { w as H } from "./expression-
|
|
4
|
-
import { c as K } from "./share-field-
|
|
5
|
-
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
2
|
+
import { z as y } from "./baseImp-c36e2b1d.js";
|
|
3
|
+
import { w as H } from "./expression-0c9dacc8.js";
|
|
4
|
+
import { c as K } from "./share-field-05201bd7.js";
|
|
5
|
+
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js";
|
|
6
6
|
import { I as G } from "./field-base-1acf3ada.js";
|
|
7
7
|
import { g as J } from "./uuid-97f565a9.js";
|
|
8
8
|
import { l as j } from "./enum-type-5382518b.js";
|
|
@@ -16,12 +16,12 @@ import "element-plus";
|
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
18
18
|
import "./emitter-8d426aaf.js";
|
|
19
|
-
import "./slot-
|
|
19
|
+
import "./slot-bc0e200f.js";
|
|
20
20
|
import "./index-da1bd5b7.js";
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./optionItem-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./multirow-
|
|
21
|
+
import "./index-172c105d.js";
|
|
22
|
+
import "./optionItem-80568388.js";
|
|
23
|
+
import "./index-e9f2b8f4.js";
|
|
24
|
+
import "./multirow-99c8825a.js";
|
|
25
25
|
import "./widget-base-8eece820.js";
|
|
26
26
|
import "./index-76ea6e95.js";
|
|
27
27
|
import "./fieldobj-50c2d8a9.js";
|
|
@@ -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-
|
|
3
|
-
import { w as V } from "./expression-
|
|
4
|
-
import { u as y } from "./share-editor-
|
|
5
|
-
import { E as C, O as w } from "./editor-wrapper-
|
|
2
|
+
import { I as E } from "./property-base-d7a888b9.js";
|
|
3
|
+
import { w as V } from "./expression-0c9dacc8.js";
|
|
4
|
+
import { u as y } from "./share-editor-9b861542.js";
|
|
5
|
+
import { E as C, O as w } from "./editor-wrapper-70bec4a9.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-1ae50544.js";
|
|
9
9
|
import "./enum-type-5382518b.js";
|
|
10
|
-
import "./baseImp-
|
|
10
|
+
import "./baseImp-c36e2b1d.js";
|
|
11
11
|
import "./icon-aff7bde2.js";
|
|
12
12
|
import "./dialog-628eac9b.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
@@ -15,11 +15,11 @@ import "./uuid-97f565a9.js";
|
|
|
15
15
|
import "element-plus";
|
|
16
16
|
import "./source-map-b04aec4a.js";
|
|
17
17
|
import "./esprima-e8d15055.js";
|
|
18
|
-
import "./share-event-
|
|
18
|
+
import "./share-event-23ffd78d.js";
|
|
19
19
|
import "./emitter-8d426aaf.js";
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./optionItem-
|
|
22
|
-
import "./index-
|
|
20
|
+
import "./index-172c105d.js";
|
|
21
|
+
import "./optionItem-80568388.js";
|
|
22
|
+
import "./index-e9f2b8f4.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
|
-
import { w as E } from "./expression-
|
|
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-07f9e10f.js";
|
|
5
|
+
import { c as P } from "./share-field-05201bd7.js";
|
|
6
|
+
import { g as $ } from "./slot-bc0e200f.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-172c105d.js";
|
|
15
15
|
import "./enum-type-2374c955.js";
|
|
16
|
-
import "./optionItem-
|
|
17
|
-
import "./baseImp-
|
|
16
|
+
import "./optionItem-80568388.js";
|
|
17
|
+
import "./baseImp-c36e2b1d.js";
|
|
18
18
|
import "./icon-aff7bde2.js";
|
|
19
19
|
import "./dialog-628eac9b.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-e9f2b8f4.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-99c8825a.js";
|
|
27
27
|
import "./index-da1bd5b7.js";
|
|
28
28
|
const A = c({ componentName: E.FieldWidget }), le = /* @__PURE__ */ c({
|
|
29
29
|
...A,
|
|
@@ -3,14 +3,14 @@ import { a as l, g as ie, l as le, f as oe } from "./enum-type-5382518b.js";
|
|
|
3
3
|
import { j as re, e as se } from "./obj-fe2f7356.js";
|
|
4
4
|
import { g as ce } from "./uuid-97f565a9.js";
|
|
5
5
|
import { u as de } from "./icon-aff7bde2.js";
|
|
6
|
-
import { w as u } from "./optionItem-
|
|
6
|
+
import { w as u } from "./optionItem-80568388.js";
|
|
7
7
|
import { S as pe } from "./index-76ea6e95.js";
|
|
8
8
|
import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import { u as ue } from "./index-
|
|
10
|
-
import { d as S } from "./expression-
|
|
11
|
-
import { B as h, z as _e } from "./baseImp-
|
|
9
|
+
import { u as ue } from "./index-172c105d.js";
|
|
10
|
+
import { d as S } from "./expression-0c9dacc8.js";
|
|
11
|
+
import { B as h, z as _e } from "./baseImp-c36e2b1d.js";
|
|
12
12
|
import "./enum-type-2374c955.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-e9f2b8f4.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "./source-map-b04aec4a.js";
|
|
16
16
|
import "./esprima-e8d15055.js";
|
|
@@ -74,7 +74,7 @@ const ye = /* @__PURE__ */ me(ge, [["render", he]]), be = { class: "collapse_tit
|
|
|
74
74
|
le.error(n);
|
|
75
75
|
});
|
|
76
76
|
}, A = async (e) => {
|
|
77
|
-
(await import("./index-
|
|
77
|
+
(await import("./index-620b82b5.js")).default.get(e).then((a) => {
|
|
78
78
|
B(a.data);
|
|
79
79
|
}).catch((a) => {
|
|
80
80
|
b.error(l.i18nt("designer.hint.loadFormTemplateFailed") + ":" + a);
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { defineComponent as Vt, computed as Q, ref as u, shallowRef as ue, resolveComponent as V, openBlock as p, createElementBlock as b, createElementVNode as m, createVNode as n, withCtx as l, unref as r, toDisplayString as s, createTextVNode as d, createBlock as g, createCommentVNode as f, Fragment as bt, renderList as _t, renderSlot as ht, mergeProps as D, resolveDynamicComponent as h, nextTick as pe, defineAsyncComponent as me } from "vue";
|
|
2
2
|
import { a as o, f as wt, j as ce, d as ge } from "./enum-type-5382518b.js";
|
|
3
|
-
import { P as kt, f as le, C as Ft, z as xt } from "./baseImp-
|
|
4
|
-
import { u as ve } from "./index-
|
|
5
|
-
import { F as St } from "./install-designer-
|
|
3
|
+
import { P as kt, f as le, C as Ft, z as xt } from "./baseImp-c36e2b1d.js";
|
|
4
|
+
import { u as ve } from "./index-172c105d.js";
|
|
5
|
+
import { F as St } from "./install-designer-60fe5421.js";
|
|
6
6
|
import { S as $ } from "./index-76ea6e95.js";
|
|
7
7
|
import { e as fe } from "./obj-fe2f7356.js";
|
|
8
8
|
import { g as j } from "./uuid-97f565a9.js";
|
|
9
|
-
import { p as ye } from "./expression-
|
|
9
|
+
import { p as ye } from "./expression-0c9dacc8.js";
|
|
10
10
|
import { _ as Dt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
11
|
import "./enum-type-2374c955.js";
|
|
12
12
|
import "./icon-aff7bde2.js";
|
|
13
13
|
import "./dialog-628eac9b.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
15
|
import "element-plus";
|
|
16
|
-
import "./optionItem-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./cont-cell-widget-
|
|
19
|
-
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-
|
|
16
|
+
import "./optionItem-80568388.js";
|
|
17
|
+
import "./index-e9f2b8f4.js";
|
|
18
|
+
import "./cont-cell-widget-4e38d49b.js";
|
|
19
|
+
import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-79246404.js";
|
|
20
20
|
import "./widget-base-8eece820.js";
|
|
21
|
-
import "./drag-wrapper-
|
|
22
|
-
import "./slot-
|
|
21
|
+
import "./drag-wrapper-316665a3.js";
|
|
22
|
+
import "./slot-bc0e200f.js";
|
|
23
23
|
import "./index-da1bd5b7.js";
|
|
24
|
-
import "./share-field-
|
|
24
|
+
import "./share-field-05201bd7.js";
|
|
25
25
|
import "./emitter-8d426aaf.js";
|
|
26
|
-
import "./multirow-
|
|
27
|
-
import "./cont-widget-
|
|
28
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
26
|
+
import "./multirow-99c8825a.js";
|
|
27
|
+
import "./cont-widget-23304c92.js";
|
|
28
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-07f9e10f.js";
|
|
29
29
|
import "./fieldobj-50c2d8a9.js";
|
|
30
|
-
import "./form-widget-
|
|
31
|
-
import "./grid-col-widget-
|
|
32
|
-
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
33
|
-
import "./grid-widget-
|
|
34
|
-
import "./ltable-col-widget-
|
|
35
|
-
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-
|
|
36
|
-
import "./ltable-widget-
|
|
37
|
-
import "./tab-pane-widget-
|
|
38
|
-
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
39
|
-
import "./tabs-widget-
|
|
40
|
-
import "./wrapper-widget-
|
|
30
|
+
import "./form-widget-2b707d2f.js";
|
|
31
|
+
import "./grid-col-widget-6575e600.js";
|
|
32
|
+
import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b08e8c63.js";
|
|
33
|
+
import "./grid-widget-2f081e01.js";
|
|
34
|
+
import "./ltable-col-widget-a0f71db4.js";
|
|
35
|
+
import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0c795688.js";
|
|
36
|
+
import "./ltable-widget-6af9927c.js";
|
|
37
|
+
import "./tab-pane-widget-1f6802b5.js";
|
|
38
|
+
import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-83508f66.js";
|
|
39
|
+
import "./tabs-widget-6b9bbe5a.js";
|
|
40
|
+
import "./wrapper-widget-bd2bb0df.js";
|
|
41
41
|
import "./index-4451967d.js";
|
|
42
42
|
import "./index-7a2b1efd.js";
|
|
43
43
|
import "./color-bae04003.js";
|
|
@@ -174,7 +174,7 @@ const Jt = { class: "full-height" }, Tt = { class: "toolbar-container" }, Bt = {
|
|
|
174
174
|
let t = ce(c.designer.widgetList), e = ce(c.designer.pageConfig);
|
|
175
175
|
q.value = ge({ widgetList: t, pageConfig: e }, void 0, " "), ee.value = ge({ widgetList: t, pageConfig: e }), M(), H.value = !0;
|
|
176
176
|
}, F = (t, e, a, y) => {
|
|
177
|
-
import("./index-
|
|
177
|
+
import("./index-3ed40b72.js").then((v) => {
|
|
178
178
|
const { copyToClipboard: _ } = v;
|
|
179
179
|
_(
|
|
180
180
|
t,
|
|
@@ -216,12 +216,12 @@ const Jt = { class: "full-height" }, Tt = { class: "toolbar-container" }, Bt = {
|
|
|
216
216
|
}, st = () => {
|
|
217
217
|
J(x.value, `vform${j()}.html`);
|
|
218
218
|
}, L = u(!1), U = u(""), E = u(""), dt = () => {
|
|
219
|
-
import("./sfcview-
|
|
219
|
+
import("./sfcview-395bcee8.js").then((t) => {
|
|
220
220
|
const { useGenFieldItemList: e } = t, { filterFieldItems: a } = e(c.designer.widgetList);
|
|
221
221
|
return a();
|
|
222
222
|
});
|
|
223
223
|
}, ut = () => {
|
|
224
|
-
dt(), import("./sfc-
|
|
224
|
+
dt(), import("./sfc-c179f099.js").then((t) => {
|
|
225
225
|
const { genSFC: e } = t;
|
|
226
226
|
U.value = e(c.designer.pageConfig, c.designer.widgetList, !1), E.value = e(c.designer.pageConfig, c.designer.widgetList, !0), M(), L.value = !0;
|
|
227
227
|
});
|
|
@@ -244,7 +244,7 @@ const Jt = { class: "full-height" }, Tt = { class: "toolbar-container" }, Bt = {
|
|
|
244
244
|
}, gt = () => {
|
|
245
245
|
J(E.value, `vformV3-${j()}.vue`);
|
|
246
246
|
}, O = u(!1), de = u("img2Base64"), te = ue(), vt = () => {
|
|
247
|
-
te.value || (te.value = me(() => import("./index-
|
|
247
|
+
te.value || (te.value = me(() => import("./index-d6943de4.js")));
|
|
248
248
|
}, ft = () => {
|
|
249
249
|
vt(), O.value = !0;
|
|
250
250
|
}, G = u(""), yt = (t) => {
|
|
@@ -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-
|
|
11
|
-
import { b as J, r as it, p as ut, d as lt, f as zt } from "./expression-
|
|
12
|
-
import { q as Se } from "./index-
|
|
9
|
+
import { w as Mt, C as kt, g as st } from "./optionItem-80568388.js";
|
|
10
|
+
import { B as $, f as N, P as M, h as w, I as Ut } from "./baseImp-c36e2b1d.js";
|
|
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-e9f2b8f4.js";
|
|
13
13
|
function qt(e) {
|
|
14
14
|
return e = e || /* @__PURE__ */ Object.create(null), {
|
|
15
15
|
/**
|