hlrender 0.0.161 → 0.0.163
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-548dadbb.js → _pdf-2b069142.js} +10 -10
- package/{_txt-e5c369a7.js → _txt-a8d1d509.js} +10 -10
- package/{_unsupport-8ec47a61.js → _unsupport-f2a22757.js} +1 -1
- package/{affix-widget-12727fa3.js → affix-widget-7d4eaaa3.js} +15 -15
- package/{alert-widget-7251db9e.js → alert-widget-c7ca6a2c.js} +15 -15
- package/{anchor-widget-49acadcb.js → anchor-widget-3681d400.js} +12 -12
- package/{auto-complete-widget-e8f9caaf.js → auto-complete-widget-da75dd6d.js} +15 -15
- package/{avatar-widget-5fcc066f.js → avatar-widget-90d99654.js} +15 -15
- package/{backtop-widget-ede812d5.js → backtop-widget-933b9903.js} +15 -15
- package/{badge-widget-ce39c60d.js → badge-widget-e8e85dab.js} +15 -15
- package/{barcode-widget-3419f86d.js → barcode-widget-68dd94fe.js} +12 -12
- package/{baseImp-b427643e.js → baseImp-aa17fdfb.js} +7 -6
- package/{breadcrumb-widget-e1ae2627.js → breadcrumb-widget-ba873656.js} +12 -12
- package/{button-widget-c01316dc.js → button-widget-862e56b2.js} +15 -15
- package/{cache-widget-d5acc455.js → cache-widget-d1aedb47.js} +14 -14
- package/{card-widget-8cea12d8.js → card-widget-1ba396ee.js} +13 -13
- package/{carousel-widget-9d382844.js → carousel-widget-b4c6b1d8.js} +13 -13
- package/{cascader-widget-64420e5e.js → cascader-widget-eaf50f6c.js} +14 -14
- package/{chart-widget-c8bfbeca.js → chart-widget-fb591a24.js} +12 -12
- package/{checkbox-widget-39b10ef7.js → checkbox-widget-4bf529fc.js} +14 -14
- package/{collapse-widget-a76c3c62.js → collapse-widget-9ad82d5a.js} +13 -13
- package/{color-picker-widget-71ddb9bd.js → color-picker-widget-c8192730.js} +14 -14
- package/{cont-cell-widget-8ed78864.js → cont-cell-widget-c5f282c2.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5cfae958.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8a7fb2a9.js} +5 -5
- package/{cont-widget-a50f72d6.js → cont-widget-e9f04a3b.js} +5 -5
- package/{content-wrapper-f905d404.js → content-wrapper-362576ac.js} +6 -6
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-f46c87c0.js → content-wrapper.vue_vue_type_script_setup_true_lang-4bf566ac.js} +3 -3
- package/{date-picker-range-widget-45461bcb.js → date-picker-range-widget-f612e803.js} +14 -14
- package/{date-picker-widget-191301f5.js → date-picker-widget-148c1aab.js} +14 -14
- package/default-slot-widget-8d6e9773.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-19b67fa7.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b975a7e8.js} +25 -24
- package/{descriptions-widget-ea4c7f22.js → descriptions-widget-aadc276a.js} +13 -13
- package/{dialog-54f44f24.js → dialog-f9dc4430.js} +2 -2
- package/{dialog-widget-32bc380c.js → dialog-widget-dd958827.js} +14 -14
- package/{divider-widget-a34f65d7.js → divider-widget-836f059b.js} +15 -15
- package/drag-wrapper-ee1737e9.js +255 -0
- package/{drawer-widget-11d360e3.js → drawer-widget-edbea081.js} +14 -14
- package/{dropdown-widget-f866fa98.js → dropdown-widget-a1cef238.js} +13 -13
- package/{empty-widget-57fad896.js → empty-widget-21fc90c4.js} +15 -15
- package/{enum-type-49c67c46.js → enum-type-10a56319.js} +1 -1
- package/{enum-type-240fce9e.js → enum-type-73528062.js} +194 -175
- package/{expression-922059fb.js → expression-44e2baff.js} +94 -94
- package/feedback-widget-c682bb05.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cd0f1fa5.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-fdc8a8b2.js} +5 -5
- package/{fieldobj-497daebe.js → fieldobj-071135ea.js} +1 -1
- package/{file-upload-widget-42400a10.js → file-upload-widget-4230a65d.js} +19 -19
- package/{form-item-wrapper-dc8d0e67.js → form-item-wrapper-3b77d76f.js} +10 -10
- package/{form-widget-02a9600d.js → form-widget-a2539340.js} +10 -10
- package/{grid-col-widget-8a349208.js → grid-col-widget-cceca48b.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-470e8169.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5bd2eeaa.js} +5 -5
- package/{grid-widget-03ba0c47.js → grid-widget-654c6e3a.js} +5 -5
- package/html-text-widget-830366bb.js +50 -0
- package/{icon-widget-1c4ecdf7.js → icon-widget-4efc1881.js} +12 -12
- package/{iframe-widget-969ad83b.js → iframe-widget-80c52851.js} +12 -12
- package/{image-widget-ab351cf0.js → image-widget-58ea5375.js} +12 -12
- package/{index-caea10b1.js → index-2e194f33.js} +14 -5
- package/index-3aaf8638.js +7540 -0
- package/{index-c4746812.js → index-3ac4c5e7.js} +1 -1
- package/{index-c819a6ae.js → index-b432b19e.js} +3 -3
- package/{input-number-widget-73284504.js → input-number-widget-5ca4552b.js} +14 -14
- package/{input-widget-ac6b4af5.js → input-widget-d8870c95.js} +15 -15
- package/{label-wrapper-30642ac7.js → label-wrapper-cf75bceb.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-0301b0bb.js → label-wrapper.vue_vue_type_style_index_0_lang-479913c5.js} +3 -3
- package/{link-widget-342c4433.js → link-widget-cd1d1413.js} +22 -22
- package/{ltable-col-widget-e48368b7.js → ltable-col-widget-bee01585.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-918c9936.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b523bf56.js} +9 -9
- package/{ltable-widget-76fa406a.js → ltable-widget-3e763bc9.js} +5 -5
- package/menu-widget-f187af45.js +124 -0
- package/{model-widget-2a998b0c.js → model-widget-b1605cb9.js} +12 -12
- package/{multirow-c7a86264.js → multirow-87af4924.js} +5 -5
- package/{multirow-widget-bbc1738b.js → multirow-widget-0675fb39.js} +47 -47
- package/package.json +1 -1
- package/{pagination-widget-4ddb8dd4.js → pagination-widget-1785cf5a.js} +12 -12
- package/{picture-upload-widget-e663dde0.js → picture-upload-widget-935f8342.js} +15 -15
- package/{progress-widget-bb1c72dc.js → progress-widget-2dea0dfd.js} +13 -13
- package/{propresult-db19bb8c.js → propresult-130a0007.js} +1 -1
- package/{qrcode-widget-3b47996a.js → qrcode-widget-426d0935.js} +12 -12
- package/{radio-widget-863e85be.js → radio-widget-fbe34eb7.js} +14 -14
- package/{range-widget-1ee3a746.js → range-widget-4fd96b54.js} +15 -15
- package/{rate-widget-9b174f8d.js → rate-widget-be574bee.js} +14 -14
- package/render.es.js +32 -32
- package/render.style.css +1 -1
- package/render.umd.js +507 -492
- package/{result-widget-ea1cdf11.js → result-widget-f9b5d552.js} +13 -13
- package/{rich-editor-widget-6b41d765.js → rich-editor-widget-3a5b1443.js} +14 -14
- package/{router-widget-f2120224.js → router-widget-4c81f9f6.js} +12 -12
- package/{select-widget-b10fe594.js → select-widget-1ec255e3.js} +14 -14
- package/{sfc-98fe0862.js → sfc-bcfd1d89.js} +7 -7
- package/{sfcview-9ae92bb8.js → sfcview-de912bea.js} +6 -6
- package/{share-field-4e19e866.js → share-field-8a721d53.js} +79 -80
- package/{share-file-48ca220d.js → share-file-bb1b8c6e.js} +20 -21
- package/{slider-widget-8e4ec3ee.js → slider-widget-43cc944b.js} +14 -14
- package/slot-d310e268.js +208 -0
- package/static-text-widget-940a07a6.js +51 -0
- package/{steps-widget-6fc6bd59.js → steps-widget-5b221c20.js} +12 -12
- package/{subMenu-widget-69fb0280.js → subMenu-widget-50ea1d38.js} +7 -7
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-93294b6d.js → subMenu-widget.vue_vue_type_script_setup_true_lang-92543901.js} +31 -31
- package/{switch-widget-814333e9.js → switch-widget-0b4fc8b6.js} +14 -14
- package/{tab-pane-widget-3786f788.js → tab-pane-widget-55f7cb8e.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7da6f38c.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b9f432db.js} +5 -5
- package/{table-col-widget-83b5668a.js → table-col-widget-3c111fdc.js} +10 -10
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4f9131d8.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-59f5712f.js} +5 -5
- package/{table-widget-a7fec574.js → table-widget-cd6e58ed.js} +14 -14
- package/{tabs-widget-85b2363f.js → tabs-widget-6b36a443.js} +7 -7
- package/{tag-widget-e5b7c51c.js → tag-widget-eba4b55e.js} +15 -15
- package/{text-widget-df8dcedb.js → text-widget-5e95c63b.js} +15 -15
- package/{textarea-widget-7d9a8c6a.js → textarea-widget-5d73d131.js} +14 -14
- package/{time-picker-range-widget-e4acd524.js → time-picker-range-widget-3a361b1b.js} +14 -14
- package/{time-picker-widget-0a93920f.js → time-picker-widget-103d1ee3.js} +14 -14
- package/{time-select-widget-80f1724e.js → time-select-widget-40ce2393.js} +14 -14
- package/{tmpl-widget-8e4bd102.js → tmpl-widget-7193f1f2.js} +13 -13
- package/{tree-select-widget-3a2eac32.js → tree-select-widget-83fa1bf5.js} +14 -14
- package/{tree-widget-45aac423.js → tree-widget-8d304410.js} +12 -12
- package/{verifycode-widget-61eea41f.js → verifycode-widget-91b74bff.js} +12 -12
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4f70955e.js +282 -0
- package/{wrapper-widget-fbdd126a.js → wrapper-widget-674c9e18.js} +13 -13
- package/default-slot-widget-3de1e3ae.js +0 -26
- package/drag-wrapper-479fa620.js +0 -244
- package/feedback-widget-6d1b2aa5.js +0 -26
- package/html-text-widget-5ea9158c.js +0 -50
- package/menu-widget-c0c62fab.js +0 -117
- package/slot-3b5d19a0.js +0 -126
- package/static-text-widget-e994aabd.js +0 -51
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-366e4bae.js +0 -277
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { reactive as Ue, ref as A, computed as I } from "vue";
|
|
2
|
-
import { m as fe, f as O, e as
|
|
3
|
-
import { b as Ee } from "./share-field-
|
|
4
|
-
import { f as a } from "./expression-
|
|
5
|
-
import { H as xe, $ as De, f } from "./baseImp-
|
|
2
|
+
import { m as fe, f as O, e as g, d as we, c as Se, t as ye, E as D, i as T } from "./enum-type-73528062.js";
|
|
3
|
+
import { b as Ee } from "./share-field-8a721d53.js";
|
|
4
|
+
import { f as a } from "./expression-44e2baff.js";
|
|
5
|
+
import { H as xe, $ as De, f as U } from "./baseImp-aa17fdfb.js";
|
|
6
6
|
import { g as Re } from "./uuid-4999945f.js";
|
|
7
|
-
import { ah as R } from "./enum-type-
|
|
7
|
+
import { ah as R } from "./enum-type-10a56319.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) ? E(r) : E([...t, ...r]);
|
|
50
49
|
}, l = (e) => {
|
|
51
|
-
const r =
|
|
50
|
+
const r = f();
|
|
52
51
|
r.splice(e, 1), E(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
|
}, H = (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), V(r));
|
|
81
80
|
}, V = (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: E, field: N, attrs: y, extendAttrs: u, events: q, slots: J, exposed: K, syncUpdateFormModel: G, emitFieldDataChange: Q, existEvent: p, handleEvent: i, rules: W, fieldObj: X } = Ee({ ...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 = x(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 = x(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), x = (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,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-8a721d53.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 "./multirow-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./enum-type-
|
|
4
|
+
import N from "./form-item-wrapper-3b77d76f.js";
|
|
5
|
+
import { w as P } from "./expression-44e2baff.js";
|
|
6
|
+
import { t as a } from "./enum-type-73528062.js";
|
|
7
|
+
import "./multirow-87af4924.js";
|
|
8
|
+
import "./baseImp-aa17fdfb.js";
|
|
9
|
+
import "./enum-type-10a56319.js";
|
|
10
10
|
import "./icon-a0e0cdb0.js";
|
|
11
|
-
import "./dialog-
|
|
11
|
+
import "./dialog-f9dc4430.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./uuid-4999945f.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-2e194f33.js";
|
|
16
|
+
import "./slot-d310e268.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4f70955e.js";
|
|
19
|
+
import "./index-3ac4c5e7.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-071135ea.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-479913c5.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const S = d({ componentName: P.FieldWidget }), pe = /* @__PURE__ */ d({
|
package/slot-d310e268.js
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
var V = Object.defineProperty;
|
|
2
|
+
var q = (o, l, t) => l in o ? V(o, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[l] = t;
|
|
3
|
+
var c = (o, l, t) => (q(o, typeof l != "symbol" ? l + "" : l, t), t);
|
|
4
|
+
import { inject as h, provide as C, computed as r } from "vue";
|
|
5
|
+
import { d as u, g as a, r as x, i as B, s as E } from "./expression-44e2baff.js";
|
|
6
|
+
import { B as _ } from "./baseImp-aa17fdfb.js";
|
|
7
|
+
import { c as F, i as z, j as H, o as G } from "./enum-type-73528062.js";
|
|
8
|
+
class M {
|
|
9
|
+
constructor() {
|
|
10
|
+
/**
|
|
11
|
+
* 当前表单引用库
|
|
12
|
+
* 假设表单组件位于表单form中,则该引用注册入库
|
|
13
|
+
*/
|
|
14
|
+
c(this, "formRefList", {});
|
|
15
|
+
/**
|
|
16
|
+
* 全局引用库
|
|
17
|
+
*/
|
|
18
|
+
c(this, "globalRefList", {});
|
|
19
|
+
/**
|
|
20
|
+
* 全局数据对象
|
|
21
|
+
*/
|
|
22
|
+
c(this, "globalDataModel", {});
|
|
23
|
+
/**
|
|
24
|
+
* 当前表单名称
|
|
25
|
+
*/
|
|
26
|
+
c(this, "globalFormName", "");
|
|
27
|
+
/**
|
|
28
|
+
* 全局页面名称
|
|
29
|
+
*/
|
|
30
|
+
// globalPageName?: string = "";
|
|
31
|
+
/**
|
|
32
|
+
* 用于类似template组件的数据绑定传递
|
|
33
|
+
*/
|
|
34
|
+
c(this, "rowScope", {});
|
|
35
|
+
/**
|
|
36
|
+
* 渲染器调用者传入的配置参数,如接口地址、密钥等
|
|
37
|
+
*/
|
|
38
|
+
c(this, "globalConfig", {});
|
|
39
|
+
}
|
|
40
|
+
static globalInject() {
|
|
41
|
+
const l = new M();
|
|
42
|
+
return l.formRefList = h(u.refList, {}), l.globalRefList = h(u.allRefList, {}), l.globalDataModel = h(u.globalModel, {}), l.rowScope = h(u.rowScope, {}), l.globalFormName = h(u.globalForm, ""), l.globalConfig = h(u.globalConfig, {}), l;
|
|
43
|
+
}
|
|
44
|
+
static globalProvide(l) {
|
|
45
|
+
if ((l == null ? void 0 : l.globalDataModel) !== void 0) {
|
|
46
|
+
const t = (l == null ? void 0 : l.globalDataModel) || {};
|
|
47
|
+
C(u.globalModel, t);
|
|
48
|
+
}
|
|
49
|
+
if ((l == null ? void 0 : l.rowScope) !== void 0) {
|
|
50
|
+
const t = (l == null ? void 0 : l.rowScope) || {};
|
|
51
|
+
C(u.rowScope, t);
|
|
52
|
+
}
|
|
53
|
+
if ((l == null ? void 0 : l.globalRefList) !== void 0) {
|
|
54
|
+
const t = (l == null ? void 0 : l.globalRefList) || {};
|
|
55
|
+
C(u.allRefList, t);
|
|
56
|
+
}
|
|
57
|
+
if ((l == null ? void 0 : l.formRefList) !== void 0) {
|
|
58
|
+
const t = (l == null ? void 0 : l.formRefList) || {};
|
|
59
|
+
C(u.refList, t);
|
|
60
|
+
}
|
|
61
|
+
if ((l == null ? void 0 : l.globalFormName) !== void 0) {
|
|
62
|
+
const t = (l == null ? void 0 : l.globalFormName) || "";
|
|
63
|
+
C(u.globalForm, t);
|
|
64
|
+
}
|
|
65
|
+
if ((l == null ? void 0 : l.globalConfig) !== void 0) {
|
|
66
|
+
const t = (l == null ? void 0 : l.globalConfig) || "";
|
|
67
|
+
C(u.globalConfig, t);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function j(o) {
|
|
72
|
+
const l = (e, w = !1) => _.getOptions(o == null ? void 0 : o.widget, e, w, !(o != null && o.designState)), t = r(() => l(a.ctrlWidth) || "auto"), n = r(() => l(a.ctrlHeight) || "auto"), s = r(() => l(a.displayLayout)), i = r(() => {
|
|
73
|
+
var e = l(a.customClass);
|
|
74
|
+
return Array.isArray(e) ? e == null ? void 0 : e.join(" ") : e;
|
|
75
|
+
}), b = r(() => {
|
|
76
|
+
var e = l(a.componentWrapperClass);
|
|
77
|
+
return Array.isArray(e) ? e == null ? void 0 : e.join(" ") : e;
|
|
78
|
+
}), f = r(() => l(a.css)), g = r(() => {
|
|
79
|
+
var e = l(a.componentRootClass);
|
|
80
|
+
return Array.isArray(e) ? e == null ? void 0 : e.join(" ") : e;
|
|
81
|
+
}), N = r(() => {
|
|
82
|
+
var e, w;
|
|
83
|
+
return (w = F((e = l(a.required, !0)) == null ? void 0 : e.options)) == null ? void 0 : w.enable;
|
|
84
|
+
}), K = r(() => l(a.hidden)), y = r(() => l(a.labelTooltip)), L = r(() => l(a.labelIconClass)), R = r(() => l(a.labelIconPosition)), S = r(() => l(a.labelHidden)), A = r(() => l(a.label)), W = r(() => l(a.labelWidth)), d = r(() => l(a.labelAlign));
|
|
85
|
+
return {
|
|
86
|
+
//size,
|
|
87
|
+
attrs: r(() => ({
|
|
88
|
+
required: N.value,
|
|
89
|
+
label: A.value,
|
|
90
|
+
labelHidden: S.value,
|
|
91
|
+
labelAlign: d.value,
|
|
92
|
+
labelIconClass: L.value,
|
|
93
|
+
labelIconPosition: R.value,
|
|
94
|
+
labelTooltip: y.value,
|
|
95
|
+
labelWidth: W.value,
|
|
96
|
+
ctrlWidth: t.value
|
|
97
|
+
})),
|
|
98
|
+
labelAlign: d,
|
|
99
|
+
labelHidden: S,
|
|
100
|
+
labelIconClass: L,
|
|
101
|
+
labelIconPosition: R,
|
|
102
|
+
labelTooltip: y,
|
|
103
|
+
labelWidth: W,
|
|
104
|
+
label: A,
|
|
105
|
+
displayLayout: s,
|
|
106
|
+
hidden: K,
|
|
107
|
+
// required,
|
|
108
|
+
ctrlWidth: t,
|
|
109
|
+
ctrlHeight: n,
|
|
110
|
+
customClass: i,
|
|
111
|
+
componentWrapperClass: b,
|
|
112
|
+
componentRootClass: g,
|
|
113
|
+
css: f
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
const T = (o = "") => new Promise((l) => {
|
|
117
|
+
import("./index-3aaf8638.js").then((t) => {
|
|
118
|
+
const n = t.parse(o, {
|
|
119
|
+
positions: !0,
|
|
120
|
+
parseValue: !1
|
|
121
|
+
}), s = [];
|
|
122
|
+
t.walk(n, {
|
|
123
|
+
visit: "Rule",
|
|
124
|
+
enter(i) {
|
|
125
|
+
const b = t.generate(i.prelude), f = {};
|
|
126
|
+
t.walk(i, {
|
|
127
|
+
visit: "Declaration",
|
|
128
|
+
enter(g) {
|
|
129
|
+
g.property && (f[g.property] = t.generate(g.value));
|
|
130
|
+
}
|
|
131
|
+
}), s.push({ selector: b, declarations: f });
|
|
132
|
+
}
|
|
133
|
+
}), l(s);
|
|
134
|
+
});
|
|
135
|
+
}), D = (o) => new Promise((l) => {
|
|
136
|
+
import("./index-3aaf8638.js").then((t) => {
|
|
137
|
+
const n = J(o), s = t.parse(n, { context: "stylesheet" });
|
|
138
|
+
l(t.generate(s));
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
function J(o) {
|
|
142
|
+
return o.map((t) => {
|
|
143
|
+
var s, i, b;
|
|
144
|
+
const n = (b = (i = (s = Object.entries(t.declarations)) == null ? void 0 : s.filter(([f, g]) => !z(g) && g !== "")) == null ? void 0 : i.sort(([f], [g]) => f > g ? 1 : -1)) == null ? void 0 : b.map(([f, g]) => `${f}: ${g};`);
|
|
145
|
+
return `${t.selector} { ${n.join(" ")} }`;
|
|
146
|
+
}).join(`
|
|
147
|
+
`);
|
|
148
|
+
}
|
|
149
|
+
const O = [
|
|
150
|
+
"width",
|
|
151
|
+
"height",
|
|
152
|
+
"display",
|
|
153
|
+
"margin",
|
|
154
|
+
"margin-left",
|
|
155
|
+
"margin-right",
|
|
156
|
+
"margin-top",
|
|
157
|
+
"margin-bottom"
|
|
158
|
+
], Q = (o, l, t) => {
|
|
159
|
+
const n = {};
|
|
160
|
+
return l.forEach((s) => {
|
|
161
|
+
var i = o[s];
|
|
162
|
+
H(i) || (n[s] = t ? t(s, i) : i);
|
|
163
|
+
}), n;
|
|
164
|
+
}, U = (o, l, t) => {
|
|
165
|
+
var s;
|
|
166
|
+
const n = {};
|
|
167
|
+
return (s = G(o)) == null || s.forEach((i) => {
|
|
168
|
+
var b = o[i];
|
|
169
|
+
l != null && l.includes(i) || (n[i] = t ? t(i, b) : b);
|
|
170
|
+
}), n;
|
|
171
|
+
}, $ = (o, l) => ["width", "height", "display"].includes(o) ? H(l) || l == "auto" ? l : `${l} !important` : l, I = (o) => new Promise((l) => {
|
|
172
|
+
T(o).then((t) => {
|
|
173
|
+
var n = t == null ? void 0 : t.map((s) => ({ selector: s.selector, declarations: Q(s.declarations, O, $) }));
|
|
174
|
+
D(n).then((s) => {
|
|
175
|
+
l(s);
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
}), P = (o) => new Promise((l) => {
|
|
179
|
+
T(o).then((t) => {
|
|
180
|
+
var n = t == null ? void 0 : t.map((s) => ({ selector: s.selector, declarations: U(s.declarations, O, $) }));
|
|
181
|
+
D(n).then((s) => {
|
|
182
|
+
l(s);
|
|
183
|
+
});
|
|
184
|
+
});
|
|
185
|
+
}), ll = (o, l) => {
|
|
186
|
+
if (!l || !o)
|
|
187
|
+
return;
|
|
188
|
+
const t = x(o, ":root", `.${l}`);
|
|
189
|
+
B(t, void 0, l);
|
|
190
|
+
}, tl = (o, l = !0, t) => {
|
|
191
|
+
if (t != null && t === !1)
|
|
192
|
+
return [];
|
|
193
|
+
const n = X(o);
|
|
194
|
+
return l || (o == null ? void 0 : o.length) <= 0 ? n : n == null ? void 0 : n.filter((s) => {
|
|
195
|
+
var i;
|
|
196
|
+
return !!(s != null && s.widgetList) && ((i = s == null ? void 0 : s.widgetList) == null ? void 0 : i.length) > 0 || !!s.default || (s == null ? void 0 : s.slotName) === E.default;
|
|
197
|
+
});
|
|
198
|
+
}, ol = (o, l) => o == null ? void 0 : o.find((t) => (t == null ? void 0 : t.slotName) === l), X = (o) => F(o);
|
|
199
|
+
export {
|
|
200
|
+
M as F,
|
|
201
|
+
ll as a,
|
|
202
|
+
P as b,
|
|
203
|
+
j as c,
|
|
204
|
+
ol as d,
|
|
205
|
+
tl as g,
|
|
206
|
+
X as i,
|
|
207
|
+
I as p
|
|
208
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as e, openBlock as d, createBlock as _, mergeProps as u, unref as t, withCtx as x, createVNode as C } from "vue";
|
|
2
|
+
import { I as g } from "./field-base-5547436d.js";
|
|
3
|
+
import { b as w } from "./share-field-8a721d53.js";
|
|
4
|
+
import { w as O } from "./expression-44e2baff.js";
|
|
5
|
+
import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4f70955e.js";
|
|
6
|
+
import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4bf566ac.js";
|
|
7
|
+
import { t as h } from "./enum-type-73528062.js";
|
|
8
|
+
import "./widget-base-4c2d6265.js";
|
|
9
|
+
import "./multirow-87af4924.js";
|
|
10
|
+
import "./baseImp-aa17fdfb.js";
|
|
11
|
+
import "./enum-type-10a56319.js";
|
|
12
|
+
import "./icon-a0e0cdb0.js";
|
|
13
|
+
import "./dialog-f9dc4430.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./uuid-4999945f.js";
|
|
16
|
+
import "element-plus";
|
|
17
|
+
import "./index-2e194f33.js";
|
|
18
|
+
import "./slot-d310e268.js";
|
|
19
|
+
import "./source-map-b04aec4a.js";
|
|
20
|
+
import "./esprima-e8d15055.js";
|
|
21
|
+
import "./index-3ac4c5e7.js";
|
|
22
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
+
import "./fieldobj-071135ea.js";
|
|
24
|
+
const k = e({ componentName: O.FieldWidget }), T = /* @__PURE__ */ e({
|
|
25
|
+
...k,
|
|
26
|
+
__name: "static-text-widget",
|
|
27
|
+
props: { ...g },
|
|
28
|
+
setup(p, { expose: i }) {
|
|
29
|
+
const m = p, { exposed: s, fieldEditor: n, attrs: a, extendAttrs: o, fieldObj: l, cssClassName: c } = w(m);
|
|
30
|
+
return i({ ...s }), (f, F) => (d(), _(P, u(f.$props, {
|
|
31
|
+
"prop-options": { fieldObj: t(l) }
|
|
32
|
+
}), {
|
|
33
|
+
default: x(() => {
|
|
34
|
+
var r;
|
|
35
|
+
return [
|
|
36
|
+
C(b, {
|
|
37
|
+
ref_key: "fieldEditor",
|
|
38
|
+
ref: n,
|
|
39
|
+
"component-name": "div",
|
|
40
|
+
allProps: { customClass: [...t(h)((r = t(o)) == null ? void 0 : r.customClass, !0), t(c)()], content: t(a).content || t(o).content },
|
|
41
|
+
tohtml: !1
|
|
42
|
+
}, null, 8, ["allProps"])
|
|
43
|
+
];
|
|
44
|
+
}),
|
|
45
|
+
_: 1
|
|
46
|
+
}, 16, ["prop-options"]));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
T as default
|
|
51
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as M, createElementBlock as S, Fragment as T, 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 { b 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-4f70955e.js";
|
|
4
|
+
import { b as K } from "./share-field-8a721d53.js";
|
|
5
|
+
import { S as W } from "./index-3ac4c5e7.js";
|
|
6
|
+
import { w as q } from "./expression-44e2baff.js";
|
|
7
|
+
import { c as p } from "./enum-type-73528062.js";
|
|
8
8
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-2e194f33.js";
|
|
10
10
|
import "./uuid-4999945f.js";
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./baseImp-
|
|
11
|
+
import "./enum-type-10a56319.js";
|
|
12
|
+
import "./baseImp-aa17fdfb.js";
|
|
13
13
|
import "./icon-a0e0cdb0.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-f9dc4430.js";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./fieldobj-
|
|
18
|
-
import "./multirow-
|
|
19
|
-
import "./slot-
|
|
17
|
+
import "./fieldobj-071135ea.js";
|
|
18
|
+
import "./multirow-87af4924.js";
|
|
19
|
+
import "./slot-d310e268.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
21
|
import "./source-map-b04aec4a.js";
|
|
22
22
|
import "./esprima-e8d15055.js";
|
|
@@ -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-92543901.js";
|
|
2
2
|
import "vue";
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./enum-type-
|
|
3
|
+
import "./index-3ac4c5e7.js";
|
|
4
|
+
import "./enum-type-73528062.js";
|
|
5
5
|
import "./icon-a0e0cdb0.js";
|
|
6
6
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./baseImp-
|
|
9
|
-
import "./expression-
|
|
7
|
+
import "./enum-type-10a56319.js";
|
|
8
|
+
import "./baseImp-aa17fdfb.js";
|
|
9
|
+
import "./expression-44e2baff.js";
|
|
10
10
|
import "./source-map-b04aec4a.js";
|
|
11
11
|
import "./uuid-4999945f.js";
|
|
12
12
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
13
|
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./dialog-f9dc4430.js";
|
|
15
15
|
import "element-plus";
|
|
16
16
|
export {
|
|
17
17
|
o as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as _, computed as f, unref as h, openBlock as a, createElementBlock as m, Fragment as
|
|
2
|
-
import { S as p } from "./index-
|
|
3
|
-
import { _ as
|
|
4
|
-
import { g as P, K as R, P as U, J as D } from "./baseImp-
|
|
1
|
+
import { defineComponent as _, computed as f, unref as h, openBlock as a, createElementBlock as m, Fragment as B, renderList as F, createBlock as c, resolveDynamicComponent as N, normalizeClass as T, withCtx as b, createCommentVNode as k, createElementVNode as V, toDisplayString as A } from "vue";
|
|
2
|
+
import { S as p } from "./index-3ac4c5e7.js";
|
|
3
|
+
import { _ as o } from "./enum-type-10a56319.js";
|
|
4
|
+
import { g as P, K as R, P as U, J as D } from "./baseImp-aa17fdfb.js";
|
|
5
5
|
import { u as E } from "./icon-a0e0cdb0.js";
|
|
6
6
|
const G = /* @__PURE__ */ _({
|
|
7
7
|
__name: "subMenu-widget",
|
|
@@ -10,67 +10,67 @@ const G = /* @__PURE__ */ _({
|
|
|
10
10
|
useRouter: null,
|
|
11
11
|
defaultActive: null
|
|
12
12
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
13
|
+
setup(s) {
|
|
14
|
+
const r = s, y = (n) => {
|
|
15
15
|
var e;
|
|
16
|
-
if (n.menuItemType ===
|
|
16
|
+
if (n.menuItemType === o.None || !n.menuItemType)
|
|
17
17
|
return ((e = n == null ? void 0 : n.children) == null ? void 0 : e.length) > 0 ? "el-sub-menu" : "el-menu-item";
|
|
18
|
-
let
|
|
18
|
+
let u = "";
|
|
19
19
|
switch (n.menuItemType) {
|
|
20
|
-
case
|
|
21
|
-
|
|
20
|
+
case o.MenuItem:
|
|
21
|
+
u = "el-menu-item";
|
|
22
22
|
break;
|
|
23
|
-
case
|
|
24
|
-
|
|
23
|
+
case o.MenuItemGroup:
|
|
24
|
+
u = "el-menu-item-group";
|
|
25
25
|
break;
|
|
26
|
-
case
|
|
27
|
-
|
|
26
|
+
case o.SubMenu:
|
|
27
|
+
u = "el-sub-menu";
|
|
28
28
|
break;
|
|
29
29
|
default:
|
|
30
|
-
|
|
30
|
+
u = "el-menu-item";
|
|
31
31
|
break;
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return u;
|
|
34
34
|
}, v = f(() => {
|
|
35
35
|
var n;
|
|
36
|
-
return (n =
|
|
36
|
+
return (n = r.items) == null ? void 0 : n.some((u) => !(u != null && u.hidden));
|
|
37
37
|
}), I = f(() => {
|
|
38
38
|
var n;
|
|
39
|
-
return (n =
|
|
39
|
+
return (n = r.items) == null ? void 0 : n.filter((u) => !(u != null && u.hidden));
|
|
40
40
|
}), { instance: C } = E(), g = P({ instance: C }), M = (n) => {
|
|
41
41
|
R(U.getValue(n) || "", { ctx: g });
|
|
42
42
|
}, S = (n) => {
|
|
43
|
-
const
|
|
44
|
-
return n != null && n.attachUrlParams ? D.buildUrlByLocalQuery(
|
|
45
|
-
}, t = (n) =>
|
|
46
|
-
return (n,
|
|
43
|
+
const u = t(n);
|
|
44
|
+
return n != null && n.attachUrlParams ? D.buildUrlByLocalQuery(u) : u;
|
|
45
|
+
}, t = (n) => r != null && r.useRouter ? n == null ? void 0 : n.route : n == null ? void 0 : n.value;
|
|
46
|
+
return (n, u) => h(v) ? (a(!0), m(B, { key: 0 }, F(h(I), (e, L) => (a(), c(N(y(e)), {
|
|
47
47
|
key: e.value,
|
|
48
48
|
index: S(e),
|
|
49
49
|
disabled: e.disabled,
|
|
50
|
-
class:
|
|
51
|
-
onClick: (
|
|
50
|
+
class: T([s.defaultActive == t(e) ? "is-active" : ""]),
|
|
51
|
+
onClick: (l) => {
|
|
52
52
|
var d;
|
|
53
53
|
return (d = e == null ? void 0 : e.children) != null && d.length ? "" : M(e == null ? void 0 : e.click);
|
|
54
54
|
}
|
|
55
55
|
}, {
|
|
56
56
|
title: b(() => {
|
|
57
|
-
var
|
|
57
|
+
var l;
|
|
58
58
|
return [
|
|
59
|
-
(
|
|
59
|
+
(l = e == null ? void 0 : e.children) != null && l.length ? (a(), c(p, {
|
|
60
60
|
key: 0,
|
|
61
61
|
name: e == null ? void 0 : e.icon
|
|
62
62
|
}, null, 8, ["name"])) : k("", !0),
|
|
63
|
-
|
|
63
|
+
V("span", null, A(e.label), 1)
|
|
64
64
|
];
|
|
65
65
|
}),
|
|
66
66
|
default: b(() => {
|
|
67
|
-
var
|
|
67
|
+
var l;
|
|
68
68
|
return [
|
|
69
|
-
(
|
|
69
|
+
(l = e == null ? void 0 : e.children) != null && l.length ? (a(), c(G, {
|
|
70
70
|
key: 1,
|
|
71
71
|
items: e == null ? void 0 : e.children,
|
|
72
|
-
"use-router":
|
|
73
|
-
"default-active":
|
|
72
|
+
"use-router": s.useRouter,
|
|
73
|
+
"default-active": s.defaultActive
|
|
74
74
|
}, null, 8, ["items", "use-router", "default-active"])) : (a(), c(p, {
|
|
75
75
|
key: 0,
|
|
76
76
|
name: e == null ? void 0 : e.icon
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { defineComponent as s, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as m, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
|
|
2
|
-
import { w as b } from "./expression-
|
|
3
|
-
import { b as h } from "./share-field-
|
|
2
|
+
import { w as b } from "./expression-44e2baff.js";
|
|
3
|
+
import { b as h } from "./share-field-8a721d53.js";
|
|
4
4
|
import { I as v } from "./field-base-5547436d.js";
|
|
5
|
-
import x from "./form-item-wrapper-
|
|
5
|
+
import x from "./form-item-wrapper-3b77d76f.js";
|
|
6
6
|
import "./source-map-b04aec4a.js";
|
|
7
|
-
import "./enum-type-
|
|
7
|
+
import "./enum-type-73528062.js";
|
|
8
8
|
import "./uuid-4999945f.js";
|
|
9
9
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
10
10
|
import "./esprima-e8d15055.js";
|
|
11
|
-
import "./multirow-
|
|
12
|
-
import "./baseImp-
|
|
13
|
-
import "./enum-type-
|
|
11
|
+
import "./multirow-87af4924.js";
|
|
12
|
+
import "./baseImp-aa17fdfb.js";
|
|
13
|
+
import "./enum-type-10a56319.js";
|
|
14
14
|
import "./icon-a0e0cdb0.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-f9dc4430.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-2e194f33.js";
|
|
18
|
+
import "./slot-d310e268.js";
|
|
19
19
|
import "./widget-base-4c2d6265.js";
|
|
20
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
21
|
-
import "./index-
|
|
20
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4f70955e.js";
|
|
21
|
+
import "./index-3ac4c5e7.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
24
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
23
|
+
import "./fieldobj-071135ea.js";
|
|
24
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-479913c5.js";
|
|
25
25
|
const z = s({ componentName: b.FieldWidget }), ee = /* @__PURE__ */ s({
|
|
26
26
|
...z,
|
|
27
27
|
__name: "switch-widget",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-
|
|
1
|
+
import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b9f432db.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|