hldesigner 0.0.162 → 0.0.164
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-cdb08d43.js → _pdf-42dba7e3.js} +16 -15
- package/{_share_image-985b0946.js → _share_image-e51b1785.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-d96c4d68.js → _share_size.vue_vue_type_script_setup_true_lang-506d843e.js} +3 -3
- package/{_txt-1c69f889.js → _txt-cab8e068.js} +20 -19
- package/{_unsupport-299c117d.js → _unsupport-f270b61a.js} +1 -1
- package/{affix-widget-f9405d38.js → affix-widget-d1b3e19a.js} +21 -20
- package/{alert-widget-b7443637.js → alert-widget-78b44b39.js} +21 -20
- package/{anchor-widget-90452b17.js → anchor-widget-9a8fb488.js} +18 -17
- package/{auto-complete-widget-4c3b14b5.js → auto-complete-widget-994b3029.js} +21 -20
- package/{avatar-widget-442792d2.js → avatar-widget-0486e185.js} +21 -20
- package/{backtop-widget-1012f9b2.js → backtop-widget-b4e33d6a.js} +21 -20
- package/badge-widget-67c0fe20.js +49 -0
- package/{barcode-widget-a7a53ef9.js → barcode-widget-04635110.js} +18 -17
- package/{baseImp-44073145.js → baseImp-f2c449da.js} +7 -6
- package/{breadcrumb-widget-a6c31c98.js → breadcrumb-widget-aa6fcbc7.js} +18 -17
- package/{button-widget-3cfdcee8.js → button-widget-624a8c67.js} +21 -20
- package/{cache-widget-0e3d6210.js → cache-widget-10118327.js} +20 -19
- package/{card-widget-953472d7.js → card-widget-5c7ddf2d.js} +31 -30
- package/{carousel-widget-3a7be237.js → carousel-widget-713b2329.js} +19 -18
- package/{cascader-widget-f281a626.js → cascader-widget-fb521249.js} +46 -45
- package/{chart-widget-642674c0.js → chart-widget-4633d2e6.js} +18 -17
- package/{checkbox-widget-09f3d479.js → checkbox-widget-76fcefac.js} +20 -19
- package/{collapse-widget-e6449623.js → collapse-widget-6eaca153.js} +19 -18
- package/{color-picker-widget-e7529e5d.js → color-picker-widget-ed188fae.js} +20 -19
- package/common-editor-1646bfed.js +26 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-286d5cc6.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-35b219c3.js} +2 -2
- package/{configItem-f1948cd8.js → configItem-4e9af586.js} +35 -35
- package/{cont-cell-widget-a8b2fe71.js → cont-cell-widget-f8d3d4b0.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b7c50e89.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-cd562e08.js} +5 -5
- package/{cont-widget-a88e9e3b.js → cont-widget-091970ae.js} +5 -5
- package/{content-wrapper-9c59e9fa.js → content-wrapper-09c25104.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-825b18de.js → content-wrapper.vue_vue_type_script_setup_true_lang-7a91eea8.js} +3 -3
- package/{css-editor-216cf15d.js → css-editor-07e1665c.js} +17 -17
- package/{customClass-editor-3eb03cee.js → customClass-editor-351d620e.js} +15 -15
- package/{date-picker-range-widget-1b0ed1f6.js → date-picker-range-widget-6f427d01.js} +20 -19
- package/{date-picker-widget-e1ba65d3.js → date-picker-widget-8f9dafc5.js} +20 -19
- package/default-slot-widget-519cc0fb.js +29 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-490f7664.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-639bb916.js} +27 -26
- package/{descriptions-widget-d3d78d43.js → descriptions-widget-6f50af87.js} +19 -18
- package/designer.es.js +34 -33
- package/designer.style.css +1 -1
- package/designer.umd.js +442 -439
- package/{dialog-909ff181.js → dialog-49d0d685.js} +2 -2
- package/{dialog-widget-45a39a78.js → dialog-widget-a7b724bb.js} +20 -19
- package/divider-widget-6ae50828.js +43 -0
- package/drag-wrapper-9b94e774.js +256 -0
- package/{drawer-widget-1e0e01ba.js → drawer-widget-e66ac08e.js} +20 -19
- package/{dropdown-widget-0ce1693a.js → dropdown-widget-b737c753.js} +19 -18
- package/{editor-wrapper-3638b03f.js → editor-wrapper-c1531c62.js} +11 -11
- package/{emitter-5e4b8b68.js → emitter-0678e48a.js} +1 -1
- package/{empty-widget-2401331e.js → empty-widget-9424c7fd.js} +21 -20
- package/{enum-type-8bcc66d1.js → enum-type-4298f4a7.js} +1 -1
- package/{enum-type-0b82c86c.js → enum-type-479210de.js} +119 -112
- package/{expression-0474b710.js → expression-cacdcf66.js} +3 -3
- package/feedback-widget-b46e809f.js +30 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-187e9544.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f46a56ec.js} +5 -5
- package/{field-editor-c4a63faa.js → field-editor-8a2a5d82.js} +14 -14
- package/{fieldobj-3f12e0a2.js → fieldobj-3ee1f89b.js} +1 -1
- package/{file-upload-widget-b1ff4cfc.js → file-upload-widget-67ea3918.js} +25 -24
- package/{form-item-wrapper-f830099e.js → form-item-wrapper-faf8dd4c.js} +12 -12
- package/{form-widget-61380759.js → form-widget-4eff9c9b.js} +11 -11
- package/{grid-col-widget-2302839f.js → grid-col-widget-7b10a111.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c4ddd378.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3fc75614.js} +5 -5
- package/{grid-widget-1b8930e7.js → grid-widget-1b93a7cd.js} +5 -5
- package/html-text-widget-441b8a13.js +54 -0
- package/{icon-widget-b5df5c26.js → icon-widget-cc2ec940.js} +20 -19
- package/{iframe-widget-fe3e3e1a.js → iframe-widget-0b068a35.js} +18 -17
- package/{image-editor-81ecb711.js → image-editor-9d01cc48.js} +15 -15
- package/{image-widget-e4b7a7ce.js → image-widget-f2ba7497.js} +18 -17
- package/{index-f914f2e5.js → index-00ceb7ce.js} +7 -7
- package/{index-b6125972.js → index-07b0c5da.js} +89 -88
- package/{index-59a67e81.js → index-0e694780.js} +10 -10
- package/{index-5574a250.js → index-12379f6d.js} +8 -8
- package/{index-eacbdb0e.js → index-1a5d347d.js} +8 -8
- package/{index-86c61f56.js → index-29089695.js} +11 -11
- package/{index-8f1e6fb9.js → index-3270d728.js} +36 -36
- package/{index-cebf27e6.js → index-3ccbbab4.js} +16 -16
- package/{index-20033da7.js → index-3db66882.js} +1 -1
- package/{index-56b9d1e0.js → index-4a7137b4.js} +10 -10
- package/{index-317d8417.js → index-528e605a.js} +24 -23
- package/{index-6e3a5c3e.js → index-75e76843.js} +9 -9
- package/{index-ac9179f3.js → index-79e25d43.js} +2 -2
- package/{index-a4132798.js → index-829a9fc4.js} +5 -5
- package/{index-5eb31f49.js → index-9c8efcd8.js} +5 -5
- package/{index-60c4843c.js → index-a9298b21.js} +7 -7
- package/{index-4cfed3f7.js → index-aaa2b72d.js} +1 -1
- package/{index-dbe1e741.js → index-c4cf8f45.js} +3 -3
- package/{index-bbc95db8.js → index-c9b85e73.js} +5 -5
- package/{index-45a992de.js → index-cbb4670d.js} +36 -36
- package/{index-f84afce5.js → index-db4f066a.js} +259 -243
- package/{index-a2a68353.js → index-e2a45f69.js} +6 -6
- package/{index-7bcb328d.js → index-f4c0a5f7.js} +5 -5
- package/{index-4546e12b.js → index-f835a124.js} +7 -7
- package/{input-number-widget-6a34092c.js → input-number-widget-faa4638e.js} +20 -19
- package/{input-widget-bbd157fe.js → input-widget-e15ea03b.js} +21 -20
- package/{install-designer-5469847d.js → install-designer-99277e5d.js} +28 -28
- package/{item-bf01aa9f.js → item-59a7c917.js} +2 -2
- package/{itemDetail-59054641.js → itemDetail-6356e601.js} +2 -2
- package/{label-wrapper-8d8e29ea.js → label-wrapper-c08eba3f.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e5db56f1.js → label-wrapper.vue_vue_type_style_index_0_lang-03b314df.js} +3 -3
- package/link-widget-040eca66.js +61 -0
- package/{ltable-col-widget-a00228ea.js → ltable-col-widget-d0c722b9.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-61222d5c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fb660b58.js} +9 -9
- package/{ltable-widget-7249f772.js → ltable-widget-30e2a4af.js} +5 -5
- package/{menu-widget-de98aaef.js → menu-widget-8b4d62a2.js} +19 -18
- package/{model-widget-56cb9ce1.js → model-widget-ba1a9dbf.js} +40 -39
- package/{multirow-dd089014.js → multirow-6aedad45.js} +6 -6
- package/{multirow-widget-e71d2db9.js → multirow-widget-5a745504.js} +20 -19
- package/{name-editor-20f953c1.js → name-editor-733b2c45.js} +14 -14
- package/{optionItem-60b0a14b.js → optionItem-e9580742.js} +40 -31
- package/package.json +1 -1
- package/{pagination-widget-e59203c6.js → pagination-widget-a84775e4.js} +18 -17
- package/{picture-upload-widget-baa57c5a.js → picture-upload-widget-62aacd12.js} +21 -20
- package/{progress-widget-ed416f6a.js → progress-widget-e8ac0e1e.js} +30 -29
- package/{property-base-7beaef78.js → property-base-c7813fa2.js} +17 -17
- package/{propresult-e8a9265e.js → propresult-795c68eb.js} +1 -1
- package/{qrcode-widget-fc50c30c.js → qrcode-widget-f960fc24.js} +18 -17
- package/{radio-widget-abdf6ad3.js → radio-widget-d1c45195.js} +20 -19
- package/{range-widget-b31d62d7.js → range-widget-54df9b35.js} +21 -20
- package/{rate-widget-bec75959.js → rate-widget-830bfa9a.js} +20 -19
- package/{reg-editor.vue_vue_type_script_setup_true_lang-81107506.js → reg-editor.vue_vue_type_script_setup_true_lang-28ed63ab.js} +3 -3
- package/{result-widget-94c36cf3.js → result-widget-c5e8a2fb.js} +19 -18
- package/{rich-editor-widget-3306c50f.js → rich-editor-widget-5926efcc.js} +25 -24
- package/{router-widget-b8373d54.js → router-widget-833491c8.js} +18 -17
- package/{schemaData-38ba2570.js → schemaData-f5ca2090.js} +4 -4
- package/{select-widget-8db784aa.js → select-widget-168b90a1.js} +20 -19
- package/{sfc-9b6cdbdc.js → sfc-90410c62.js} +12 -11
- package/{sfcview-94b905d8.js → sfcview-db5a46d9.js} +8 -8
- package/{share-editor-ced2e1e8.js → share-editor-00ba99e4.js} +4 -4
- package/{share-event-793826e6.js → share-event-ea388fe2.js} +2 -2
- package/{share-field-586418d1.js → share-field-a1d58c06.js} +193 -195
- package/{share-file-009740b0.js → share-file-f803a240.js} +20 -21
- package/{size-editor-08f2ff5b.js → size-editor-e0db0990.js} +16 -16
- package/{slider-widget-1dc294fb.js → slider-widget-134f44bb.js} +25 -24
- package/slot-e90d51a9.js +176 -0
- package/static-text-widget-7c166fec.js +52 -0
- package/{steps-widget-3c0ed988.js → steps-widget-394201df.js} +18 -17
- package/{subMenu-widget-a451456b.js → subMenu-widget-142a6464.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-143dfa20.js → subMenu-widget.vue_vue_type_script_setup_true_lang-4e77aef0.js} +3 -3
- package/{switch-widget-cd146a55.js → switch-widget-f19b78dc.js} +27 -26
- package/{tab-pane-widget-418c6c17.js → tab-pane-widget-5a09e8fb.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-19d6c174.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d0da5838.js} +5 -5
- package/table-col-widget-68a518cf.js +26 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-663afac1.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-457a79c3.js} +5 -5
- package/{table-widget-bccfb59d.js → table-widget-e01f40d4.js} +20 -19
- package/{tabs-widget-b6152e7e.js → tabs-widget-91bb9826.js} +7 -7
- package/{tag-widget-7a1e07a7.js → tag-widget-9488c18e.js} +21 -20
- package/{target-code-2dfd7356.js → target-code-285554db.js} +7 -7
- package/{target-datasource-b6607425.js → target-datasource-260e0093.js} +37 -37
- package/{target-link-4f576d92.js → target-link-46e6db5a.js} +36 -36
- package/{target-saveForm-7aad8d86.js → target-saveForm-b5ebb6e2.js} +36 -36
- package/{target-widget-ea618c46.js → target-widget-31d5d5b2.js} +1 -1
- package/{target-window-7aacf99a.js → target-window-1605466b.js} +8 -8
- package/{text-widget-1f70a747.js → text-widget-61825c4f.js} +21 -20
- package/{textarea-widget-63d41742.js → textarea-widget-e334a3c7.js} +20 -19
- package/{time-picker-range-widget-177edb24.js → time-picker-range-widget-2bf3eaa4.js} +20 -19
- package/{time-picker-widget-26687354.js → time-picker-widget-1c93cf40.js} +20 -19
- package/{time-select-widget-e24a46d9.js → time-select-widget-fe02fd47.js} +20 -19
- package/{tmpl-widget-0124e6a9.js → tmpl-widget-58e293e4.js} +31 -30
- package/{tree-select-widget-3c669052.js → tree-select-widget-cdd81f68.js} +32 -31
- package/{tree-widget-6887ee9c.js → tree-widget-1d55c229.js} +18 -17
- package/{value-editor-aa2c8385.js → value-editor-d0cf4765.js} +14 -14
- package/{verifycode-widget-a72f5cdb.js → verifycode-widget-b56488eb.js} +18 -17
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js +282 -0
- package/{wrapper-widget-cc1c6fa3.js → wrapper-widget-75d5d13f.js} +13 -13
- package/badge-widget-d61ee4ab.js +0 -48
- package/common-editor-378b1ae7.js +0 -26
- package/default-slot-widget-99bc4a4e.js +0 -28
- package/divider-widget-ca805031.js +0 -42
- package/drag-wrapper-be17e580.js +0 -245
- package/feedback-widget-a7dfa231.js +0 -29
- package/html-text-widget-7e03f4da.js +0 -53
- package/link-widget-1e7ae684.js +0 -60
- package/slot-a9012bd4.js +0 -126
- package/static-text-widget-6cb88e2a.js +0 -54
- package/table-col-widget-dc65785c.js +0 -25
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-70569389.js +0 -277
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { reactive as Ue, ref as A, computed as I } from "vue";
|
|
2
|
-
import { p as fe, f as O, e as
|
|
3
|
-
import { c as xe } from "./share-field-
|
|
4
|
-
import { f as a } from "./expression-
|
|
5
|
-
import { K as Ee, $ as De, f } from "./baseImp-
|
|
2
|
+
import { p as fe, f as O, e as g, d as we, c as Se, t as ye, j as D, i as T } from "./enum-type-479210de.js";
|
|
3
|
+
import { c as xe } from "./share-field-a1d58c06.js";
|
|
4
|
+
import { f as a } from "./expression-cacdcf66.js";
|
|
5
|
+
import { K as Ee, $ as De, f as U } from "./baseImp-f2c449da.js";
|
|
6
6
|
import { g as Re } from "./uuid-009aae31.js";
|
|
7
|
-
import { bn as R } from "./enum-type-
|
|
7
|
+
import { bn as R } from "./enum-type-4298f4a7.js";
|
|
8
8
|
const be = (v) => new Promise((m) => {
|
|
9
9
|
if (!v) {
|
|
10
10
|
m({ isSuccess: !1 });
|
|
@@ -43,12 +43,11 @@ const be = (v) => new Promise((m) => {
|
|
|
43
43
|
});
|
|
44
44
|
function Pe(v) {
|
|
45
45
|
const m = (e) => {
|
|
46
|
-
console.log("原始值", g());
|
|
47
46
|
var r = [e];
|
|
48
|
-
const t = O(
|
|
47
|
+
const t = O(f());
|
|
49
48
|
T(t) || ((t == null ? void 0 : t.length) || 0) <= 0 || !Array.isArray(t) ? x(r) : x([...t, ...r]);
|
|
50
49
|
}, l = (e) => {
|
|
51
|
-
const r =
|
|
50
|
+
const r = f();
|
|
52
51
|
r.splice(e, 1), x(r);
|
|
53
52
|
};
|
|
54
53
|
let s = Ue([]);
|
|
@@ -64,7 +63,7 @@ function Pe(v) {
|
|
|
64
63
|
}, j = () => {
|
|
65
64
|
h.value.clearFiles(), d([]);
|
|
66
65
|
}, P = (e, r) => {
|
|
67
|
-
let t = D(
|
|
66
|
+
let t = D(f());
|
|
68
67
|
const n = Object.assign({
|
|
69
68
|
name: e.name,
|
|
70
69
|
url: e.url,
|
|
@@ -74,14 +73,14 @@ function Pe(v) {
|
|
|
74
73
|
}, r);
|
|
75
74
|
m(n), b(t);
|
|
76
75
|
}, b = (e) => {
|
|
77
|
-
G(
|
|
76
|
+
G(f()), Q(f(), e);
|
|
78
77
|
}, V = (e) => {
|
|
79
78
|
const r = (s == null ? void 0 : s.findIndex((t) => (t == null ? void 0 : t.uid) === e)) || 0;
|
|
80
79
|
r >= 0 && (s.splice(r, 1), H(r));
|
|
81
80
|
}, H = (e) => {
|
|
82
|
-
let r = D(
|
|
81
|
+
let r = D(f());
|
|
83
82
|
l(e), b(r);
|
|
84
|
-
}, { fieldEditor: h, fieldKey: L, fieldModel: $, getValue:
|
|
83
|
+
}, { fieldEditor: h, fieldKey: L, fieldModel: $, getValue: f, setValue: x, field: N, attrs: y, extendAttrs: u, events: K, slots: q, exposed: J, syncUpdateFormModel: G, emitFieldDataChange: Q, existEvent: p, handleEvent: i, rules: W, fieldObj: X } = xe({ ...v, extInitFieldModel: S, exResetField: j }), C = A({ key: "" }), M = A(), Y = I(() => {
|
|
85
84
|
var e;
|
|
86
85
|
return s.length >= ((e = u.value) == null ? void 0 : e.limit);
|
|
87
86
|
}), Z = I(() => {
|
|
@@ -90,7 +89,7 @@ function Pe(v) {
|
|
|
90
89
|
}), F = (e, r) => {
|
|
91
90
|
var n;
|
|
92
91
|
let t = (n = y.value) == null ? void 0 : n.limit;
|
|
93
|
-
|
|
92
|
+
U.warning(g.i18nt("render.hint.uploadExceed").replace("${uploadLimit}", t));
|
|
94
93
|
}, ee = (e, r) => {
|
|
95
94
|
let t = {
|
|
96
95
|
key: r.name
|
|
@@ -104,9 +103,9 @@ function Pe(v) {
|
|
|
104
103
|
}, re = () => i(a.getHeaders), te = (e, r, t) => {
|
|
105
104
|
let n = !1, o = e == null ? void 0 : e.name.substring((e == null ? void 0 : e.name.lastIndexOf(".")) + 1);
|
|
106
105
|
if (r && (r == null ? void 0 : r.length) > 0 && (n = r.some((ge) => o.toLowerCase() === ge.toLowerCase())), !n)
|
|
107
|
-
return
|
|
106
|
+
return U.error(g.i18nt("render.hint.unsupportedFileType") + o), !1;
|
|
108
107
|
let c = !1, w = 5;
|
|
109
|
-
return t && (w = t), c = (e.size || 0) / 1024 / 1024 <= w, c ? !0 : (
|
|
108
|
+
return t && (w = t), c = (e.size || 0) / 1024 / 1024 <= w, c ? !0 : (U.error(g.i18nt("render.hint.fileSizeExceed") + w + "MB"), !1);
|
|
110
109
|
}, ne = (e) => {
|
|
111
110
|
if (!p(a.beforeUpload))
|
|
112
111
|
return !0;
|
|
@@ -127,17 +126,17 @@ function Pe(v) {
|
|
|
127
126
|
if (p(a.isUploadSuccess)) {
|
|
128
127
|
var n = i(a.isUploadSuccess, { response: e, uploadFile: r, uploadFiles: t });
|
|
129
128
|
if (!(n != null && n.isSuccess)) {
|
|
130
|
-
B(r, t),
|
|
129
|
+
B(r, t), U.error((n == null ? void 0 : n.message) || g.i18nt("designer.hint.failToUpload"));
|
|
131
130
|
return;
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
let o = e;
|
|
135
|
-
p(a.onSuccess) && (o = i(a.onSuccess, { response: e, uploadFile: r, uploadFiles: t })), P({ ...r, type: (c = r == null ? void 0 : r.raw) == null ? void 0 : c.type }, o), d(
|
|
134
|
+
p(a.onSuccess) && (o = i(a.onSuccess, { response: e, uploadFile: r, uploadFiles: t })), P({ ...r, type: (c = r == null ? void 0 : r.raw) == null ? void 0 : c.type }, o), d(f());
|
|
136
135
|
}, B = (e, r) => {
|
|
137
136
|
const t = (r == null ? void 0 : r.findIndex((n) => (n == null ? void 0 : n.uid) === (e == null ? void 0 : e.uid))) || 0;
|
|
138
137
|
t >= 0 && r.splice(t, 1);
|
|
139
138
|
}, ie = (e, r, t) => {
|
|
140
|
-
p(a.onError) ? i(a.onError, { error: e, uploadFile: r, uploadFiles: t }) :
|
|
139
|
+
p(a.onError) ? i(a.onError, { error: e, uploadFile: r, uploadFiles: t }) : U.error(g.i18nt("render.hint.uploadError") + e);
|
|
141
140
|
}, _ = () => {
|
|
142
141
|
var e, r;
|
|
143
142
|
(r = (e = h.value) == null ? void 0 : e.submit) == null || r.call(e);
|
|
@@ -170,7 +169,7 @@ function Pe(v) {
|
|
|
170
169
|
var n;
|
|
171
170
|
var r = E(e);
|
|
172
171
|
let t = r == null ? void 0 : r.orgUrl;
|
|
173
|
-
return p(a.onBuildUrl) && (t = i(a.onBuildUrl, { orgUrl: t, disposition: R.preview })), t ? (n = y.value) != null && n.onPreview ? (e.url = t, i(a.onPreview, { file: { ...e, type: r == null ? void 0 : r.type } }), { url: t, file: r, previewed: !0 }) : { url: t, file: r, previewed: !1 } : (
|
|
172
|
+
return p(a.onBuildUrl) && (t = i(a.onBuildUrl, { orgUrl: t, disposition: R.preview })), t ? (n = y.value) != null && n.onPreview ? (e.url = t, i(a.onPreview, { file: { ...e, type: r == null ? void 0 : r.type } }), { url: t, file: r, previewed: !0 }) : { url: t, file: r, previewed: !1 } : (U.error(g.i18nt("designer.hint.fileIsEmpty")), { url: t, file: r, previewed: !1 });
|
|
174
173
|
}, pe = (e) => {
|
|
175
174
|
var t, n;
|
|
176
175
|
let r = (t = E(e)) == null ? void 0 : t.orgUrl;
|
|
@@ -179,11 +178,11 @@ function Pe(v) {
|
|
|
179
178
|
return;
|
|
180
179
|
}
|
|
181
180
|
if (p(a.onBuildUrl) && (r = i(a.onBuildUrl, { orgUrl: r, disposition: R.download })), !r) {
|
|
182
|
-
|
|
181
|
+
U.error(g.i18nt("designer.hint.fileToDownload"));
|
|
183
182
|
return;
|
|
184
183
|
}
|
|
185
184
|
Me(r, e.name).then((o) => {
|
|
186
|
-
(o == null || !(o != null && o.isSuccess)) &&
|
|
185
|
+
(o == null || !(o != null && o.isSuccess)) && U.error((o == null ? void 0 : o.message) || g.i18nt("designer.hint.fileToDownload"));
|
|
187
186
|
});
|
|
188
187
|
}, ve = (e, r) => !!(e != null && e.uid) && (e == null ? void 0 : e.uid) == (r == null ? void 0 : r.uid), E = (e) => {
|
|
189
188
|
var r = s == null ? void 0 : s.find((t) => (t == null ? void 0 : t.uid) === (e == null ? void 0 : e.uid));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as f, createBlock as u, normalizeProps as c, guardReactiveProps as _, withCtx as i, createVNode as m, mergeProps as P, unref as r, isRef as g } from "vue";
|
|
2
|
-
import { I as E } from "./property-base-
|
|
3
|
-
import { w as V } from "./expression-
|
|
4
|
-
import { u as C } from "./share-editor-
|
|
5
|
-
import { E as w, O as y } from "./editor-wrapper-
|
|
6
|
-
import { d as B, j as $ } from "./enum-type-
|
|
7
|
-
import { aj as j } from "./enum-type-
|
|
8
|
-
import { _ as k } from "./_share_size.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import "./baseImp-
|
|
2
|
+
import { I as E } from "./property-base-c7813fa2.js";
|
|
3
|
+
import { w as V } from "./expression-cacdcf66.js";
|
|
4
|
+
import { u as C } from "./share-editor-00ba99e4.js";
|
|
5
|
+
import { E as w, O as y } from "./editor-wrapper-c1531c62.js";
|
|
6
|
+
import { d as B, j as $ } from "./enum-type-479210de.js";
|
|
7
|
+
import { aj as j } from "./enum-type-4298f4a7.js";
|
|
8
|
+
import { _ as k } from "./_share_size.vue_vue_type_script_setup_true_lang-506d843e.js";
|
|
9
|
+
import "./baseImp-f2c449da.js";
|
|
10
10
|
import "./icon-6342f929.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-49d0d685.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-009aae31.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
import "./source-map-b04aec4a.js";
|
|
16
16
|
import "./esprima-e8d15055.js";
|
|
17
|
-
import "./share-event-
|
|
18
|
-
import "./emitter-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./optionItem-
|
|
21
|
-
import "./index-
|
|
22
|
-
import "./index-
|
|
17
|
+
import "./share-event-ea388fe2.js";
|
|
18
|
+
import "./emitter-0678e48a.js";
|
|
19
|
+
import "./index-e2a45f69.js";
|
|
20
|
+
import "./optionItem-e9580742.js";
|
|
21
|
+
import "./index-3db66882.js";
|
|
22
|
+
import "./index-aaa2b72d.js";
|
|
23
23
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
24
|
import "./_share_wrapper-8f1243a5.js";
|
|
25
|
-
import "./index-
|
|
25
|
+
import "./index-79e25d43.js";
|
|
26
26
|
const v = a({ componentName: V.PropertyEditor }), Z = /* @__PURE__ */ a({
|
|
27
27
|
...v,
|
|
28
28
|
__name: "size-editor",
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { defineComponent as d, computed as w, resolveComponent as x, openBlock as
|
|
2
|
-
import { c as B } from "./share-field-
|
|
1
|
+
import { defineComponent as d, computed as w, resolveComponent as x, openBlock as l, createBlock as s, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as z, createTextVNode as I, toDisplayString as b } from "vue";
|
|
2
|
+
import { c as B } from "./share-field-a1d58c06.js";
|
|
3
3
|
import { I as E } from "./field-base-5547436d.js";
|
|
4
|
-
import N from "./form-item-wrapper-
|
|
5
|
-
import { w as P } from "./expression-
|
|
6
|
-
import { t as a } from "./enum-type-
|
|
7
|
-
import "./emitter-
|
|
4
|
+
import N from "./form-item-wrapper-faf8dd4c.js";
|
|
5
|
+
import { w as P } from "./expression-cacdcf66.js";
|
|
6
|
+
import { t as a } from "./enum-type-479210de.js";
|
|
7
|
+
import "./emitter-0678e48a.js";
|
|
8
8
|
import "./icon-6342f929.js";
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
11
|
-
import "./dialog-
|
|
9
|
+
import "./baseImp-f2c449da.js";
|
|
10
|
+
import "./enum-type-4298f4a7.js";
|
|
11
|
+
import "./dialog-49d0d685.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-009aae31.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./slot-
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
15
|
+
import "./slot-e90d51a9.js";
|
|
16
|
+
import "./index-79e25d43.js";
|
|
17
|
+
import "./index-e2a45f69.js";
|
|
18
|
+
import "./optionItem-e9580742.js";
|
|
19
|
+
import "./index-3db66882.js";
|
|
20
|
+
import "./multirow-6aedad45.js";
|
|
20
21
|
import "./widget-base-4c2d6265.js";
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
22
|
-
import "./index-
|
|
22
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js";
|
|
23
|
+
import "./index-aaa2b72d.js";
|
|
23
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
-
import "./fieldobj-
|
|
25
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
25
|
+
import "./fieldobj-3ee1f89b.js";
|
|
26
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-03b314df.js";
|
|
26
27
|
import "./source-map-b04aec4a.js";
|
|
27
28
|
import "./esprima-e8d15055.js";
|
|
28
|
-
const S = d({ componentName: P.FieldWidget }),
|
|
29
|
+
const S = d({ componentName: P.FieldWidget }), ne = /* @__PURE__ */ d({
|
|
29
30
|
...S,
|
|
30
31
|
__name: "slider-widget",
|
|
31
32
|
props: { ...E },
|
|
@@ -36,17 +37,17 @@ const S = d({ componentName: P.FieldWidget }), se = /* @__PURE__ */ d({
|
|
|
36
37
|
o.value = a(i, r.value.range);
|
|
37
38
|
}
|
|
38
39
|
});
|
|
39
|
-
return f({ ...O }), (i,
|
|
40
|
+
return f({ ...O }), (i, m) => {
|
|
40
41
|
const j = x("el-slider");
|
|
41
|
-
return
|
|
42
|
+
return l(), s(N, n(i.$props, {
|
|
42
43
|
propOptions: { fieldObj: e(V), rules: e(v) }
|
|
43
44
|
}), {
|
|
44
45
|
default: C(({ data: p }) => [
|
|
45
|
-
(
|
|
46
|
+
(l(), s(j, n({
|
|
46
47
|
ref_key: "fieldEditor",
|
|
47
48
|
ref: _,
|
|
48
49
|
modelValue: e(t),
|
|
49
|
-
"onUpdate:modelValue":
|
|
50
|
+
"onUpdate:modelValue": m[0] || (m[0] = (k) => F(t) ? t.value = k : null),
|
|
50
51
|
key: e(g)
|
|
51
52
|
}, e(r), z(e(y)), {
|
|
52
53
|
size: p.size,
|
|
@@ -61,5 +62,5 @@ const S = d({ componentName: P.FieldWidget }), se = /* @__PURE__ */ d({
|
|
|
61
62
|
}
|
|
62
63
|
});
|
|
63
64
|
export {
|
|
64
|
-
|
|
65
|
+
ne as default
|
|
65
66
|
};
|
package/slot-e90d51a9.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
var B = Object.defineProperty;
|
|
2
|
+
var E = (t, l, o) => l in t ? B(t, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[l] = o;
|
|
3
|
+
var f = (t, l, o) => (E(t, typeof l != "symbol" ? l + "" : l, o), o);
|
|
4
|
+
import { inject as a, provide as r, computed as e } from "vue";
|
|
5
|
+
import { d as u, e as g, r as V, i as x, s as $ } from "./expression-cacdcf66.js";
|
|
6
|
+
import { B as _ } from "./baseImp-f2c449da.js";
|
|
7
|
+
import { c as W, v as d, o as z } from "./enum-type-479210de.js";
|
|
8
|
+
import { p as F, g as H } from "./index-79e25d43.js";
|
|
9
|
+
class M {
|
|
10
|
+
constructor() {
|
|
11
|
+
/**
|
|
12
|
+
* 当前表单引用库
|
|
13
|
+
* 假设表单组件位于表单form中,则该引用注册入库
|
|
14
|
+
*/
|
|
15
|
+
f(this, "formRefList", {});
|
|
16
|
+
/**
|
|
17
|
+
* 全局引用库
|
|
18
|
+
*/
|
|
19
|
+
f(this, "globalRefList", {});
|
|
20
|
+
/**
|
|
21
|
+
* 全局数据对象
|
|
22
|
+
*/
|
|
23
|
+
f(this, "globalDataModel", {});
|
|
24
|
+
/**
|
|
25
|
+
* 当前表单名称
|
|
26
|
+
*/
|
|
27
|
+
f(this, "globalFormName", "");
|
|
28
|
+
/**
|
|
29
|
+
* 全局页面名称
|
|
30
|
+
*/
|
|
31
|
+
// globalPageName?: string = "";
|
|
32
|
+
/**
|
|
33
|
+
* 用于类似template组件的数据绑定传递
|
|
34
|
+
*/
|
|
35
|
+
f(this, "rowScope", {});
|
|
36
|
+
/**
|
|
37
|
+
* 渲染器调用者传入的配置参数,如接口地址、密钥等
|
|
38
|
+
*/
|
|
39
|
+
f(this, "globalConfig", {});
|
|
40
|
+
}
|
|
41
|
+
static globalInject() {
|
|
42
|
+
const l = new M();
|
|
43
|
+
return l.formRefList = a(u.refList, {}), l.globalRefList = a(u.allRefList, {}), l.globalDataModel = a(u.globalModel, {}), l.rowScope = a(u.rowScope, {}), l.globalFormName = a(u.globalForm, ""), l.globalConfig = a(u.globalConfig, {}), l;
|
|
44
|
+
}
|
|
45
|
+
static globalProvide(l) {
|
|
46
|
+
if ((l == null ? void 0 : l.globalDataModel) !== void 0) {
|
|
47
|
+
const o = (l == null ? void 0 : l.globalDataModel) || {};
|
|
48
|
+
r(u.globalModel, o);
|
|
49
|
+
}
|
|
50
|
+
if ((l == null ? void 0 : l.rowScope) !== void 0) {
|
|
51
|
+
const o = (l == null ? void 0 : l.rowScope) || {};
|
|
52
|
+
r(u.rowScope, o);
|
|
53
|
+
}
|
|
54
|
+
if ((l == null ? void 0 : l.globalRefList) !== void 0) {
|
|
55
|
+
const o = (l == null ? void 0 : l.globalRefList) || {};
|
|
56
|
+
r(u.allRefList, o);
|
|
57
|
+
}
|
|
58
|
+
if ((l == null ? void 0 : l.formRefList) !== void 0) {
|
|
59
|
+
const o = (l == null ? void 0 : l.formRefList) || {};
|
|
60
|
+
r(u.refList, o);
|
|
61
|
+
}
|
|
62
|
+
if ((l == null ? void 0 : l.globalFormName) !== void 0) {
|
|
63
|
+
const o = (l == null ? void 0 : l.globalFormName) || "";
|
|
64
|
+
r(u.globalForm, o);
|
|
65
|
+
}
|
|
66
|
+
if ((l == null ? void 0 : l.globalConfig) !== void 0) {
|
|
67
|
+
const o = (l == null ? void 0 : l.globalConfig) || "";
|
|
68
|
+
r(u.globalConfig, o);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function v(t) {
|
|
73
|
+
const l = (n, h = !1) => _.getOptions(t == null ? void 0 : t.widget, n, h, !(t != null && t.designState)), o = e(() => l(g.ctrlWidth) || "auto"), i = e(() => l(g.ctrlHeight) || "auto"), s = e(() => l(g.displayLayout)), b = e(() => {
|
|
74
|
+
var n = l(g.customClass);
|
|
75
|
+
return Array.isArray(n) ? n == null ? void 0 : n.join(" ") : n;
|
|
76
|
+
}), c = e(() => {
|
|
77
|
+
var n = l(g.componentWrapperClass);
|
|
78
|
+
return Array.isArray(n) ? n == null ? void 0 : n.join(" ") : n;
|
|
79
|
+
}), O = e(() => l(g.css)), K = e(() => {
|
|
80
|
+
var n = l(g.componentRootClass);
|
|
81
|
+
return Array.isArray(n) ? n == null ? void 0 : n.join(" ") : n;
|
|
82
|
+
}), N = e(() => {
|
|
83
|
+
var n, h;
|
|
84
|
+
return (h = W((n = l(g.required, !0)) == null ? void 0 : n.options)) == null ? void 0 : h.enable;
|
|
85
|
+
}), q = e(() => l(g.hidden)), C = e(() => l(g.labelTooltip)), L = e(() => l(g.labelIconClass)), w = e(() => l(g.labelIconPosition)), y = e(() => l(g.labelHidden)), R = e(() => l(g.label)), S = e(() => l(g.labelWidth)), A = e(() => l(g.labelAlign));
|
|
86
|
+
return {
|
|
87
|
+
//size,
|
|
88
|
+
attrs: e(() => ({
|
|
89
|
+
required: N.value,
|
|
90
|
+
label: R.value,
|
|
91
|
+
labelHidden: y.value,
|
|
92
|
+
labelAlign: A.value,
|
|
93
|
+
labelIconClass: L.value,
|
|
94
|
+
labelIconPosition: w.value,
|
|
95
|
+
labelTooltip: C.value,
|
|
96
|
+
labelWidth: S.value,
|
|
97
|
+
ctrlWidth: o.value
|
|
98
|
+
})),
|
|
99
|
+
labelAlign: A,
|
|
100
|
+
labelHidden: y,
|
|
101
|
+
labelIconClass: L,
|
|
102
|
+
labelIconPosition: w,
|
|
103
|
+
labelTooltip: C,
|
|
104
|
+
labelWidth: S,
|
|
105
|
+
label: R,
|
|
106
|
+
displayLayout: s,
|
|
107
|
+
hidden: q,
|
|
108
|
+
// required,
|
|
109
|
+
ctrlWidth: o,
|
|
110
|
+
ctrlHeight: i,
|
|
111
|
+
customClass: b,
|
|
112
|
+
componentWrapperClass: c,
|
|
113
|
+
componentRootClass: K,
|
|
114
|
+
css: O
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
const T = [
|
|
118
|
+
"width",
|
|
119
|
+
"height",
|
|
120
|
+
"display",
|
|
121
|
+
"margin",
|
|
122
|
+
"margin-left",
|
|
123
|
+
"margin-right",
|
|
124
|
+
"margin-top",
|
|
125
|
+
"margin-bottom"
|
|
126
|
+
], G = (t, l, o) => {
|
|
127
|
+
const i = {};
|
|
128
|
+
return l.forEach((s) => {
|
|
129
|
+
var b = t[s];
|
|
130
|
+
d(b) || (i[s] = o ? o(s, b) : b);
|
|
131
|
+
}), i;
|
|
132
|
+
}, J = (t, l, o) => {
|
|
133
|
+
var s;
|
|
134
|
+
const i = {};
|
|
135
|
+
return (s = z(t)) == null || s.forEach((b) => {
|
|
136
|
+
var c = t[b];
|
|
137
|
+
l != null && l.includes(b) || (i[b] = o ? o(b, c) : c);
|
|
138
|
+
}), i;
|
|
139
|
+
}, D = (t, l) => ["width", "height", "display"].includes(t) ? d(l) || l == "auto" ? l : `${l} !important` : l, I = (t) => new Promise((l) => {
|
|
140
|
+
F(t).then((o) => {
|
|
141
|
+
var i = o == null ? void 0 : o.map((s) => ({ selector: s.selector, declarations: G(s.declarations, T, D) }));
|
|
142
|
+
H(i).then((s) => {
|
|
143
|
+
l(s);
|
|
144
|
+
});
|
|
145
|
+
});
|
|
146
|
+
}), j = (t) => new Promise((l) => {
|
|
147
|
+
F(t).then((o) => {
|
|
148
|
+
var i = o == null ? void 0 : o.map((s) => ({ selector: s.selector, declarations: J(s.declarations, T, D) }));
|
|
149
|
+
H(i).then((s) => {
|
|
150
|
+
l(s);
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
}), P = (t, l) => {
|
|
154
|
+
if (!l || !t)
|
|
155
|
+
return;
|
|
156
|
+
const o = V(t, ":root", `.${l}`);
|
|
157
|
+
x(o, void 0, l);
|
|
158
|
+
}, ll = (t, l = !0, o) => {
|
|
159
|
+
if (o != null && o === !1)
|
|
160
|
+
return [];
|
|
161
|
+
const i = Q(t);
|
|
162
|
+
return l || (t == null ? void 0 : t.length) <= 0 ? i : i == null ? void 0 : i.filter((s) => {
|
|
163
|
+
var b;
|
|
164
|
+
return !!(s != null && s.widgetList) && ((b = s == null ? void 0 : s.widgetList) == null ? void 0 : b.length) > 0 || !!s.default || (s == null ? void 0 : s.slotName) === $.default;
|
|
165
|
+
});
|
|
166
|
+
}, ol = (t, l) => t == null ? void 0 : t.find((o) => (o == null ? void 0 : o.slotName) === l), Q = (t) => W(t);
|
|
167
|
+
export {
|
|
168
|
+
M as F,
|
|
169
|
+
P as a,
|
|
170
|
+
j as b,
|
|
171
|
+
v as c,
|
|
172
|
+
ol as d,
|
|
173
|
+
ll as g,
|
|
174
|
+
Q as i,
|
|
175
|
+
I as p
|
|
176
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as f, createBlock as d, mergeProps as _, unref as t, withCtx as u, createVNode as x } from "vue";
|
|
2
|
+
import { I as g } from "./field-base-5547436d.js";
|
|
3
|
+
import { c as w } from "./share-field-a1d58c06.js";
|
|
4
|
+
import { w as C } from "./expression-cacdcf66.js";
|
|
5
|
+
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js";
|
|
6
|
+
import { _ as h } from "./content-wrapper.vue_vue_type_script_setup_true_lang-7a91eea8.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./enum-type-479210de.js";
|
|
9
|
+
import "./emitter-0678e48a.js";
|
|
10
|
+
import "./icon-6342f929.js";
|
|
11
|
+
import "./baseImp-f2c449da.js";
|
|
12
|
+
import "./enum-type-4298f4a7.js";
|
|
13
|
+
import "./dialog-49d0d685.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./uuid-009aae31.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./slot-e90d51a9.js";
|
|
18
|
+
import "./index-79e25d43.js";
|
|
19
|
+
import "./index-e2a45f69.js";
|
|
20
|
+
import "./optionItem-e9580742.js";
|
|
21
|
+
import "./index-3db66882.js";
|
|
22
|
+
import "./multirow-6aedad45.js";
|
|
23
|
+
import "./source-map-b04aec4a.js";
|
|
24
|
+
import "./esprima-e8d15055.js";
|
|
25
|
+
import "./index-aaa2b72d.js";
|
|
26
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
27
|
+
import "./fieldobj-3ee1f89b.js";
|
|
28
|
+
const j = o({ componentName: C.FieldWidget }), X = /* @__PURE__ */ o({
|
|
29
|
+
...j,
|
|
30
|
+
__name: "static-text-widget",
|
|
31
|
+
props: { ...g },
|
|
32
|
+
setup(r, { expose: p }) {
|
|
33
|
+
const e = r, { exposed: i, fieldEditor: m, attrs: s, extendAttrs: n, fieldObj: a } = w(e);
|
|
34
|
+
return p({ ...i }), (c, k) => (f(), d(P, _(c.$props, {
|
|
35
|
+
"prop-options": { fieldObj: t(a) }
|
|
36
|
+
}), {
|
|
37
|
+
default: u(({ data: l }) => [
|
|
38
|
+
x(h, {
|
|
39
|
+
ref_key: "fieldEditor",
|
|
40
|
+
ref: m,
|
|
41
|
+
"component-name": "div",
|
|
42
|
+
allProps: { customClass: l.injectClass, content: t(s).content || t(n).content },
|
|
43
|
+
tohtml: !1
|
|
44
|
+
}, null, 8, ["allProps"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}, 16, ["prop-options"]));
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export {
|
|
51
|
+
X as default
|
|
52
|
+
};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { defineComponent as f, computed as F, ref as M, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as S, createElementBlock as T, Fragment as b, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
|
|
2
2
|
import { I as P } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
4
|
-
import { c as K } from "./share-field-
|
|
5
|
-
import { S as W } from "./index-
|
|
6
|
-
import { w as q } from "./expression-
|
|
7
|
-
import { c as p } from "./enum-type-
|
|
3
|
+
import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js";
|
|
4
|
+
import { c as K } from "./share-field-a1d58c06.js";
|
|
5
|
+
import { S as W } from "./index-aaa2b72d.js";
|
|
6
|
+
import { w as q } from "./expression-cacdcf66.js";
|
|
7
|
+
import { c as p } from "./enum-type-479210de.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-e2a45f69.js";
|
|
10
10
|
import "./uuid-009aae31.js";
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./optionItem-
|
|
13
|
-
import "./baseImp-
|
|
11
|
+
import "./enum-type-4298f4a7.js";
|
|
12
|
+
import "./optionItem-e9580742.js";
|
|
13
|
+
import "./baseImp-f2c449da.js";
|
|
14
14
|
import "./icon-6342f929.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-49d0d685.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./fieldobj-
|
|
20
|
-
import "./emitter-
|
|
21
|
-
import "./slot-
|
|
22
|
-
import "./
|
|
18
|
+
import "./index-3db66882.js";
|
|
19
|
+
import "./fieldobj-3ee1f89b.js";
|
|
20
|
+
import "./emitter-0678e48a.js";
|
|
21
|
+
import "./slot-e90d51a9.js";
|
|
22
|
+
import "./index-79e25d43.js";
|
|
23
|
+
import "./multirow-6aedad45.js";
|
|
23
24
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
25
|
import "./source-map-b04aec4a.js";
|
|
25
26
|
import "./esprima-e8d15055.js";
|
|
26
|
-
const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }),
|
|
27
|
+
const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget }), Ie = /* @__PURE__ */ f({
|
|
27
28
|
...D,
|
|
28
29
|
__name: "steps-widget",
|
|
29
30
|
props: { ...P },
|
|
@@ -90,5 +91,5 @@ const z = ["innerHTML"], A = ["innerHTML"], D = f({ componentName: q.FieldWidget
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
export {
|
|
93
|
-
|
|
94
|
+
Ie as default
|
|
94
95
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-4e77aef0.js";
|
|
2
2
|
import "vue";
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./enum-type-
|
|
3
|
+
import "./index-aaa2b72d.js";
|
|
4
|
+
import "./enum-type-479210de.js";
|
|
5
5
|
import "./icon-6342f929.js";
|
|
6
6
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./expression-
|
|
7
|
+
import "./enum-type-4298f4a7.js";
|
|
8
|
+
import "./baseImp-f2c449da.js";
|
|
9
|
+
import "./expression-cacdcf66.js";
|
|
10
10
|
import "./source-map-b04aec4a.js";
|
|
11
11
|
import "./uuid-009aae31.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-49d0d685.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
export {
|
|
17
17
|
o as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, computed as f, unref as h, openBlock as a, createElementBlock as B, Fragment as F, renderList as N, createBlock as c, resolveDynamicComponent as T, normalizeClass as V, withCtx as b, createCommentVNode as k, createElementVNode as _, toDisplayString as A } from "vue";
|
|
2
|
-
import { S as p } from "./index-
|
|
3
|
-
import { ah as o } from "./enum-type-
|
|
4
|
-
import { g as L, L as P, P as R, z as U } from "./baseImp-
|
|
2
|
+
import { S as p } from "./index-aaa2b72d.js";
|
|
3
|
+
import { ah as o } from "./enum-type-4298f4a7.js";
|
|
4
|
+
import { g as L, L as P, P as R, z as U } from "./baseImp-f2c449da.js";
|
|
5
5
|
import { u as z } from "./icon-6342f929.js";
|
|
6
6
|
const D = /* @__PURE__ */ m({
|
|
7
7
|
__name: "subMenu-widget",
|
|
@@ -1,49 +1,50 @@
|
|
|
1
|
-
import { defineComponent as s, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as m, unref as
|
|
2
|
-
import { w as h } from "./expression-
|
|
3
|
-
import { c as v } from "./share-field-
|
|
1
|
+
import { defineComponent as s, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as m, unref as o, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
+
import { w as h } from "./expression-cacdcf66.js";
|
|
3
|
+
import { c as v } from "./share-field-a1d58c06.js";
|
|
4
4
|
import { I as x } from "./field-base-5547436d.js";
|
|
5
|
-
import z from "./form-item-wrapper-
|
|
5
|
+
import z from "./form-item-wrapper-faf8dd4c.js";
|
|
6
6
|
import "./source-map-b04aec4a.js";
|
|
7
|
-
import "./enum-type-
|
|
7
|
+
import "./enum-type-479210de.js";
|
|
8
8
|
import "./uuid-009aae31.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
10
|
import "./esprima-e8d15055.js";
|
|
11
|
-
import "./emitter-
|
|
11
|
+
import "./emitter-0678e48a.js";
|
|
12
12
|
import "./icon-6342f929.js";
|
|
13
|
-
import "./baseImp-
|
|
14
|
-
import "./enum-type-
|
|
15
|
-
import "./dialog-
|
|
13
|
+
import "./baseImp-f2c449da.js";
|
|
14
|
+
import "./enum-type-4298f4a7.js";
|
|
15
|
+
import "./dialog-49d0d685.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
17
|
+
import "./slot-e90d51a9.js";
|
|
18
|
+
import "./index-79e25d43.js";
|
|
19
|
+
import "./index-e2a45f69.js";
|
|
20
|
+
import "./optionItem-e9580742.js";
|
|
21
|
+
import "./index-3db66882.js";
|
|
22
|
+
import "./multirow-6aedad45.js";
|
|
22
23
|
import "./widget-base-4c2d6265.js";
|
|
23
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
24
|
-
import "./index-
|
|
24
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js";
|
|
25
|
+
import "./index-aaa2b72d.js";
|
|
25
26
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
26
|
-
import "./fieldobj-
|
|
27
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
28
|
-
const I = s({ componentName: h.FieldWidget }),
|
|
27
|
+
import "./fieldobj-3ee1f89b.js";
|
|
28
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-03b314df.js";
|
|
29
|
+
const I = s({ componentName: h.FieldWidget }), io = /* @__PURE__ */ s({
|
|
29
30
|
...I,
|
|
30
31
|
__name: "switch-widget",
|
|
31
32
|
props: { ...x },
|
|
32
33
|
setup(l, { expose: n }) {
|
|
33
|
-
const d = l, { fieldEditor: f, fieldKey: a, fieldModel:
|
|
34
|
+
const d = l, { fieldEditor: f, fieldKey: a, fieldModel: e, rules: c, attrs: u, events: _, exposed: w, fieldObj: y } = v(d);
|
|
34
35
|
return n({ ...w }), (g, r) => {
|
|
35
36
|
const j = C("el-switch");
|
|
36
37
|
return i(), p(z, m(g.$props, {
|
|
37
|
-
propOptions: { fieldObj:
|
|
38
|
+
propOptions: { fieldObj: o(y), rules: o(c) }
|
|
38
39
|
}), {
|
|
39
40
|
default: F(({ data: t }) => [
|
|
40
41
|
(i(), p(j, m({
|
|
41
42
|
ref_key: "fieldEditor",
|
|
42
43
|
ref: f,
|
|
43
|
-
modelValue: e
|
|
44
|
-
"onUpdate:modelValue": r[0] || (r[0] = (k) => O(
|
|
45
|
-
key:
|
|
46
|
-
},
|
|
44
|
+
modelValue: o(e),
|
|
45
|
+
"onUpdate:modelValue": r[0] || (r[0] = (k) => O(e) ? e.value = k : null),
|
|
46
|
+
key: o(a)
|
|
47
|
+
}, o(u), V(o(_)), {
|
|
47
48
|
size: t.size,
|
|
48
49
|
class: t.injectClass,
|
|
49
50
|
style: t.injectStyle
|
|
@@ -55,5 +56,5 @@ const I = s({ componentName: h.FieldWidget }), re = /* @__PURE__ */ s({
|
|
|
55
56
|
}
|
|
56
57
|
});
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
io as default
|
|
59
60
|
};
|