hlrender 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/affix-widget-2a428176.js +37 -0
- package/alert-widget-6430c136.js +37 -0
- package/{anchor-widget-19fdee40.js → anchor-widget-2cc76d2f.js} +15 -14
- package/{auto-complete-widget-6b33917d.js → auto-complete-widget-2d861165.js} +23 -22
- package/avatar-widget-6e963b38.js +37 -0
- package/backtop-widget-ddefd322.js +37 -0
- package/{badge-widget-f14aa4e0.js → badge-widget-8754dd54.js} +18 -16
- package/{baseImp-2f7dc5e5.js → baseImp-75d44fdc.js} +1499 -1470
- package/{breadcrumb-widget-54d0a3e7.js → breadcrumb-widget-d106ff2c.js} +26 -25
- package/{button-widget-a97e7cc1.js → button-widget-86bc6ce1.js} +21 -19
- package/{cache-widget-e6abe0d7.js → cache-widget-91ccc78e.js} +17 -16
- package/{card-widget-7af5ea12.js → card-widget-94ead248.js} +26 -25
- package/{carousel-widget-f3d68e50.js → carousel-widget-594b9826.js} +19 -18
- package/{cascader-widget-2b7d38a6.js → cascader-widget-48a13fa7.js} +17 -16
- package/{chart-widget-480c7775.js → chart-widget-849c2efa.js} +15 -14
- package/{checkbox-widget-57451194.js → checkbox-widget-a90c268c.js} +17 -16
- package/{collapse-widget-bba73e41.js → collapse-widget-64a373e5.js} +19 -18
- package/{color-picker-widget-0e4455c0.js → color-picker-widget-107dcfd6.js} +17 -16
- package/{cont-cell-widget-ad2a1d75.js → cont-cell-widget-8b8c86bb.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-3f294d82.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2555e38d.js} +5 -5
- package/{cont-widget-1c56baa4.js → cont-widget-712b983c.js} +4 -4
- package/content-wrapper-03fcad64.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js → content-wrapper.vue_vue_type_script_setup_true_lang-64b272e8.js} +10 -9
- package/{date-picker-range-widget-40d28967.js → date-picker-range-widget-71c01fa8.js} +17 -16
- package/{date-picker-widget-fb90664a.js → date-picker-widget-cf382ad7.js} +17 -16
- package/default-slot-widget-45214a89.js +24 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-88a89e04.js +76 -0
- package/{descriptions-widget-a24a881d.js → descriptions-widget-b0508f02.js} +24 -23
- package/{dialog-bb8cdc96.js → dialog-9097cd3a.js} +2 -2
- package/{dialog-widget-8b257456.js → dialog-widget-1d2aeb22.js} +17 -16
- package/{divider-widget-4e4eb2f3.js → divider-widget-8b4ff227.js} +18 -16
- package/drag-wrapper-d545a429.js +258 -0
- package/{drawer-widget-c494426f.js → drawer-widget-e5cae59b.js} +17 -16
- package/{dropdown-widget-aa024f19.js → dropdown-widget-90eba236.js} +16 -15
- package/empty-widget-700c46d3.js +37 -0
- package/{enum-type-38d1c0a4.js → enum-type-a02d0ddc.js} +48 -45
- package/{enum-type-6294b15b.js → enum-type-ad1f81ba.js} +33 -23
- package/{template-5d46761c.js → expression-402fef4a.js} +7875 -5691
- package/feedback-widget-1fab6992.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-2cf9c089.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8de0d422.js} +5 -5
- package/fieldobj-d49dbdc5.js +13 -0
- package/{file-upload-widget-76f0e10a.js → file-upload-widget-50e793e6.js} +21 -20
- package/form-item-wrapper-3770b8d2.js +97 -0
- package/{form-widget-5cb0527c.js → form-widget-b30bdd88.js} +31 -30
- package/{grid-col-widget-48573e2c.js → grid-col-widget-44300d04.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-f9546cb7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-8a45aa77.js} +5 -5
- package/{grid-widget-6d9ef0fb.js → grid-widget-26142b27.js} +5 -5
- package/{html-text-widget-ecc420ac.js → html-text-widget-4637806e.js} +16 -15
- package/{iframe-widget-c417a6db.js → iframe-widget-0c47dceb.js} +26 -25
- package/{image-widget-55687657.js → image-widget-2b31b9ff.js} +19 -18
- package/{index-e4aa7784.js → index-30f0db15.js} +4 -4
- package/{index-27e99247.js → index-ce2e6477.js} +1088 -1022
- package/{index-4e636f1b.js → index-ed941348.js} +1 -1
- package/{input-number-widget-f97b1fb1.js → input-number-widget-5863f4e9.js} +17 -16
- package/{input-widget-d4a46dbd.js → input-widget-b5c42dc7.js} +18 -17
- package/{label-wrapper-69f9a63d.js → label-wrapper-c2286145.js} +5 -4
- package/label-wrapper.vue_vue_type_style_index_0_lang-099c2073.js +63 -0
- package/{link-widget-627c6a9c.js → link-widget-6d01d401.js} +22 -20
- package/{ltable-col-widget-481028b7.js → ltable-col-widget-309b4007.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-a01c0458.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7d1646d6.js} +10 -10
- package/{ltable-widget-ce9402c7.js → ltable-widget-00ae75e1.js} +5 -5
- package/{menu-widget-f79d07d0.js → menu-widget-d9ddb076.js} +16 -15
- package/{model-widget-437fe932.js → model-widget-73460f2d.js} +15 -14
- package/multirow-980395e2.js +228 -0
- package/{multirow-widget-a7c1cffe.js → multirow-widget-cbb353d8.js} +147 -146
- package/package.json +1 -1
- package/{pagination-widget-1923eda7.js → pagination-widget-a4301a5f.js} +15 -14
- package/{picture-upload-widget-ad37149d.js → picture-upload-widget-6bfbb9c3.js} +18 -17
- package/progress-widget-092798ba.js +97 -0
- package/{propresult-d557cd2e.js → propresult-8a0911d7.js} +1 -1
- package/{radio-widget-bb5a0442.js → radio-widget-c14c112b.js} +17 -16
- package/{range-widget-c481b596.js → range-widget-13be6e98.js} +18 -17
- package/{rate-widget-f1a7d56c.js → rate-widget-a568f58b.js} +17 -16
- package/render.es.js +183 -182
- package/render.style.css +1 -1
- package/render.umd.js +540 -540
- package/{result-widget-2c9d509e.js → result-widget-8cbdcffb.js} +16 -15
- package/{rich-editor-widget-1c14f188.js → rich-editor-widget-5347c0fb.js} +17 -16
- package/{router-widget-74ee524a.js → router-widget-f34afbc1.js} +15 -14
- package/{select-widget-9fe9d183.js → select-widget-e0f4756d.js} +17 -16
- package/{sfc-3b3527b3.js → sfc-3a8e0889.js} +84 -84
- package/{share-field-ab86b13d.js → share-field-cbdc0f7d.js} +110 -109
- package/{share-file-ec089cec.js → share-file-241e0fcc.js} +15 -15
- package/{slider-widget-983452f0.js → slider-widget-c131ecf9.js} +23 -22
- package/slot-252ff364.js +131 -0
- package/{static-text-widget-f7c89416.js → static-text-widget-1e6c817e.js} +16 -15
- package/{steps-widget-39ca7b01.js → steps-widget-93f66f08.js} +15 -14
- package/subMenu-widget-ad35946d.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-84c082d8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-80e2bb5f.js} +12 -12
- package/{switch-widget-8f97e23d.js → switch-widget-dbb606e6.js} +17 -16
- package/{tab-pane-widget-8b8fa522.js → tab-pane-widget-49c37d5c.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5580e8d0.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1dcb50c4.js} +5 -5
- package/table-col-widget-1ed14423.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-72ff215a.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e75630ba.js} +17 -17
- package/{table-widget-318f51d5.js → table-widget-a839d5d5.js} +24 -23
- package/{tabs-widget-d5e8a2f3.js → tabs-widget-3dc76d5d.js} +9 -9
- package/tag-widget-b2eb79a2.js +37 -0
- package/{text-widget-618c66c0.js → text-widget-2b72d397.js} +18 -16
- package/{textarea-widget-8a724865.js → textarea-widget-3a3db0f2.js} +17 -16
- package/{time-picker-range-widget-a57e1058.js → time-picker-range-widget-c0cfe97e.js} +17 -16
- package/{time-picker-widget-792c9e71.js → time-picker-widget-c72def72.js} +17 -16
- package/{time-select-widget-35d7fb88.js → time-select-widget-0ffcb167.js} +20 -19
- package/{tmpl-widget-b3947cb6.js → tmpl-widget-dd53b8b0.js} +29 -28
- package/{tree-select-widget-d8c47b7f.js → tree-select-widget-0d5b08bb.js} +17 -16
- package/{tree-widget-d6a860ed.js → tree-widget-55f540c3.js} +26 -25
- package/{uuid-78f330ef.js → uuid-aedab58e.js} +1 -1
- package/vertical-progress-widget-fa6b14ff.js +52 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js +273 -0
- package/{wrapper-widget-ac97fa8a.js → wrapper-widget-5a1496c5.js} +6 -6
- package/affix-widget-e0e6d00b.js +0 -35
- package/avatar-widget-458b99df.js +0 -35
- package/backtop-widget-a56e768d.js +0 -35
- package/content-wrapper-fb5e79f4.js +0 -14
- package/default-slot-widget-454cd4fa.js +0 -22
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js +0 -59
- package/drag-wrapper-defb5ecb.js +0 -258
- package/empty-widget-be695b01.js +0 -61
- package/expression-b4a2f43c.js +0 -2181
- package/feedback-widget-b67b8a24.js +0 -23
- package/form-item-wrapper-0c9fcf81.js +0 -111
- package/label-wrapper.vue_vue_type_style_index_0_lang-3b90d1bd.js +0 -80
- package/multirow-ff736df7.js +0 -340
- package/multirow-widget copy-75e6aa65.js +0 -855
- package/progress-widget-23d3197a.js +0 -49
- package/slot-84375736.js +0 -17
- package/subMenu-widget-00fcdf73.js +0 -16
- package/table-col-widget-e6e1ad81.js +0 -20
- package/tag-widget-9940f201.js +0 -35
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js +0 -277
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { defineComponent as h, computed as
|
|
1
|
+
import { defineComponent as h, computed as s, resolveComponent as $, openBlock as m, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
|
|
2
2
|
import { I as R } from "./field-base-5547436d.js";
|
|
3
|
-
import { b as U } from "./share-field-
|
|
4
|
-
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { b as n, w as G } from "./
|
|
6
|
-
import { s as a } from "./enum-type-
|
|
3
|
+
import { b as U } from "./share-field-cbdc0f7d.js";
|
|
4
|
+
import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
5
|
+
import { b as n, w as G } from "./expression-402fef4a.js";
|
|
6
|
+
import { s as a } from "./enum-type-ad1f81ba.js";
|
|
7
7
|
import "./widget-base-4c2d6265.js";
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./uuid-
|
|
11
|
-
import "./enum-type-
|
|
8
|
+
import "./multirow-980395e2.js";
|
|
9
|
+
import "./baseImp-75d44fdc.js";
|
|
10
|
+
import "./uuid-aedab58e.js";
|
|
11
|
+
import "./enum-type-a02d0ddc.js";
|
|
12
12
|
import "./icon-e9532b43.js";
|
|
13
|
-
import "./dialog-
|
|
13
|
+
import "./dialog-9097cd3a.js";
|
|
14
14
|
import "element-plus";
|
|
15
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "./index-
|
|
17
|
-
import "./slot-
|
|
18
|
-
import "./index-
|
|
16
|
+
import "./index-ce2e6477.js";
|
|
17
|
+
import "./slot-252ff364.js";
|
|
18
|
+
import "./index-ed941348.js";
|
|
19
19
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
|
|
20
|
+
import "./fieldobj-d49dbdc5.js";
|
|
21
|
+
const J = h({ componentName: G.FieldWidget }), ye = /* @__PURE__ */ h({
|
|
21
22
|
...J,
|
|
22
23
|
__name: "tree-widget",
|
|
23
24
|
props: { ...R },
|
|
24
25
|
setup(V, { expose: E }) {
|
|
25
26
|
var g;
|
|
26
|
-
const j = V, { fieldEditor: w, fieldKey: N, fieldModel: c, attrs: d, extendAttrs:
|
|
27
|
-
var o, i, r,
|
|
27
|
+
const j = V, { fieldEditor: w, fieldKey: N, fieldModel: c, attrs: d, extendAttrs: l, events: z, activeOptionItem: y, optionItems: F, fieldObj: S, getWidgetOption: k, filterOptionItems: B, exposed: D, activeOptionItems: _ } = U(j), I = s(() => {
|
|
28
|
+
var o, i, r, p, u;
|
|
28
29
|
let e = {};
|
|
29
|
-
return a(e, n.label, (o =
|
|
30
|
-
}), v = (g = d == null ? void 0 : d.value) == null ? void 0 : g.nodeKey, L =
|
|
30
|
+
return a(e, n.label, (o = l.value) == null ? void 0 : o.labelProp, !0), a(e, n.children, (i = l.value) == null ? void 0 : i.childrenProp, !0), a(e, n.disabled, (r = l.value) == null ? void 0 : r.disabledProp, !0), a(e, n.isLeaf, (p = l.value) == null ? void 0 : p.isLeafProp, !0), a(e, n.class, (u = l.value) == null ? void 0 : u.classProp, !0), e;
|
|
31
|
+
}), v = (g = d == null ? void 0 : d.value) == null ? void 0 : g.nodeKey, L = s(() => {
|
|
31
32
|
var e;
|
|
32
33
|
return (e = _ == null ? void 0 : _.value) == null ? void 0 : e.map((o) => String(o == null ? void 0 : o[v]));
|
|
33
|
-
}), O =
|
|
34
|
+
}), O = s(() => {
|
|
34
35
|
var e;
|
|
35
36
|
return (e = y == null ? void 0 : y.value) == null ? void 0 : e[v];
|
|
36
|
-
}), W =
|
|
37
|
+
}), W = s(() => {
|
|
37
38
|
var e;
|
|
38
39
|
return (e = B((o) => !!(o != null && o.isopen))) == null ? void 0 : e.map((o) => o == null ? void 0 : o[v]);
|
|
39
|
-
}), b =
|
|
40
|
+
}), b = s(() => k("optionDefault")), C = s(() => k("empty"));
|
|
40
41
|
return E({ ...D }), (e, o) => {
|
|
41
42
|
const i = $("el-tree");
|
|
42
43
|
return m(), f(q, x(e.$props, {
|
|
@@ -47,7 +48,7 @@ const J = h({ componentName: G.FieldWidget }), ce = /* @__PURE__ */ h({
|
|
|
47
48
|
ref_key: "fieldEditor",
|
|
48
49
|
ref: w,
|
|
49
50
|
modelValue: t(c),
|
|
50
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
51
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => A(c) ? c.value = p : null),
|
|
51
52
|
key: t(N)
|
|
52
53
|
}, t(d), H(t(z)), {
|
|
53
54
|
class: r.injectClass,
|
|
@@ -68,9 +69,9 @@ const J = h({ componentName: G.FieldWidget }), ce = /* @__PURE__ */ h({
|
|
|
68
69
|
} : void 0,
|
|
69
70
|
t(b) ? {
|
|
70
71
|
name: "default",
|
|
71
|
-
fn: K(({ node:
|
|
72
|
+
fn: K(({ node: p, data: u }) => [
|
|
72
73
|
(m(), f(P(t(b)), {
|
|
73
|
-
item: { node:
|
|
74
|
+
item: { node: p, data: u }
|
|
74
75
|
}, null, 8, ["item"]))
|
|
75
76
|
]),
|
|
76
77
|
key: "1"
|
|
@@ -83,5 +84,5 @@ const J = h({ componentName: G.FieldWidget }), ce = /* @__PURE__ */ h({
|
|
|
83
84
|
}
|
|
84
85
|
});
|
|
85
86
|
export {
|
|
86
|
-
|
|
87
|
+
ye as default
|
|
87
88
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent as p, computed as s, openBlock as l, createElementBlock as n, normalizeStyle as a, createElementVNode as i, unref as c, renderSlot as f, createTextVNode as _, toDisplayString as m, createCommentVNode as h } from "vue";
|
|
2
|
+
import { _ as v } from "./_plugin-vue_export-helper-dad06003.js";
|
|
3
|
+
const y = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "progress-text"
|
|
6
|
+
}, x = /* @__PURE__ */ p({
|
|
7
|
+
__name: "vertical-progress-widget",
|
|
8
|
+
props: {
|
|
9
|
+
percentage: { default: 0 },
|
|
10
|
+
height: { default: "200px" },
|
|
11
|
+
width: { default: 16 },
|
|
12
|
+
showText: { type: Boolean, default: !0 },
|
|
13
|
+
color: null,
|
|
14
|
+
format: null
|
|
15
|
+
},
|
|
16
|
+
setup(r) {
|
|
17
|
+
const e = r, d = s(() => ({
|
|
18
|
+
width: `${e.width}px`
|
|
19
|
+
})), u = s(() => {
|
|
20
|
+
var o;
|
|
21
|
+
var t = {
|
|
22
|
+
height: `${e.percentage}%`
|
|
23
|
+
};
|
|
24
|
+
return e.color != null && Object.assign(t, {
|
|
25
|
+
backgroundColor: (o = e.color) == null ? void 0 : o.call(e, e.percentage, null)
|
|
26
|
+
}), t;
|
|
27
|
+
}), g = s(() => e.format ? e.format(e.percentage) : `${e.percentage || 0}%`);
|
|
28
|
+
return (t, o) => (l(), n("div", {
|
|
29
|
+
class: "vertical-progress-wrapper",
|
|
30
|
+
style: a({ height: r.height })
|
|
31
|
+
}, [
|
|
32
|
+
i("div", {
|
|
33
|
+
class: "progress-track",
|
|
34
|
+
style: a(c(d))
|
|
35
|
+
}, [
|
|
36
|
+
i("div", {
|
|
37
|
+
class: "progress-bar",
|
|
38
|
+
style: a(c(u))
|
|
39
|
+
}, null, 4)
|
|
40
|
+
], 4),
|
|
41
|
+
r.showText ? (l(), n("div", y, [
|
|
42
|
+
f(t.$slots, "default", {}, () => [
|
|
43
|
+
_(m(c(g)), 1)
|
|
44
|
+
], !0)
|
|
45
|
+
])) : h("", !0)
|
|
46
|
+
], 4));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const S = /* @__PURE__ */ v(x, [["__scopeId", "data-v-f939f453"]]);
|
|
50
|
+
export {
|
|
51
|
+
S as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { defineComponent as te, resolveComponent as V, openBlock as l, createElementBlock as v, Fragment as O, createVNode as o, createCommentVNode as y, createBlock as W, createSlots as A, withCtx as r, createElementVNode as H, renderList as P, createTextVNode as c, toDisplayString as k, withModifiers as w, unref as n, renderSlot as L, computed as T, ref as _, resolveDynamicComponent as x, mergeProps as U } from "vue";
|
|
2
|
+
import { c as se } from "./uuid-aedab58e.js";
|
|
3
|
+
import { I as de, a as oe } from "./widget-base-4c2d6265.js";
|
|
4
|
+
import { a as m, G as ee } from "./enum-type-ad1f81ba.js";
|
|
5
|
+
import { a as ne, i as le, j as re, k as ae, d as pe } from "./index-ce2e6477.js";
|
|
6
|
+
import { S as g } from "./index-ed941348.js";
|
|
7
|
+
import { y as ue } from "./baseImp-75d44fdc.js";
|
|
8
|
+
import { d as q } from "./enum-type-a02d0ddc.js";
|
|
9
|
+
import { u as ge } from "./fieldobj-d49dbdc5.js";
|
|
10
|
+
const me = { key: 0 }, fe = { class: "clWhite" }, we = { class: "clWhite" }, ve = ["title"], ye = ["title"], We = ["title"], he = ["title"], Ce = /* @__PURE__ */ te({
|
|
11
|
+
__name: "drag-handler",
|
|
12
|
+
props: { ...de, parentTree: { type: Object, default: null }, hidden: { type: Boolean, default: !1 }, simple: { type: Boolean } },
|
|
13
|
+
setup(f) {
|
|
14
|
+
const a = f, { setSelected: z, findWidgetById: E, removeWidget: j, moveDownWidget: N, moveUpWidget: B, cloneWidget: I } = ne(a.designer), D = (t) => {
|
|
15
|
+
const s = t == null ? void 0 : t.id;
|
|
16
|
+
if (t.selectable === !1)
|
|
17
|
+
ue.info(m.i18nt("designer.hint.currentNodeCannotBeSelected"));
|
|
18
|
+
else {
|
|
19
|
+
const u = E(s);
|
|
20
|
+
z(u);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
return (t, s) => {
|
|
24
|
+
var b, S;
|
|
25
|
+
const u = V("el-dropdown-item"), F = V("el-dropdown-menu"), d = V("el-dropdown"), $ = V("el-divider");
|
|
26
|
+
return l(), v(O, null, [
|
|
27
|
+
f.hidden === !0 ? (l(), v("i", me, [
|
|
28
|
+
o(g, { name: "@el-hide" })
|
|
29
|
+
])) : y("", !0),
|
|
30
|
+
f.simple ? (l(), W(d, {
|
|
31
|
+
key: 1,
|
|
32
|
+
onCommand: D
|
|
33
|
+
}, A({
|
|
34
|
+
default: r(() => [
|
|
35
|
+
H("span", fe, [
|
|
36
|
+
o(g, { name: "@el-arrow-down" })
|
|
37
|
+
])
|
|
38
|
+
]),
|
|
39
|
+
_: 2
|
|
40
|
+
}, [
|
|
41
|
+
((b = f.parentTree) == null ? void 0 : b.length) > 0 ? {
|
|
42
|
+
name: "dropdown",
|
|
43
|
+
fn: r(() => [
|
|
44
|
+
o(F, null, {
|
|
45
|
+
default: r(() => [
|
|
46
|
+
(l(!0), v(O, null, P(f.parentTree, (i, h) => (l(), W(u, { command: i }, {
|
|
47
|
+
default: r(() => [
|
|
48
|
+
c(k(i == null ? void 0 : i.label), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 2
|
|
51
|
+
}, 1032, ["command"]))), 256)),
|
|
52
|
+
o(u, {
|
|
53
|
+
divided: "",
|
|
54
|
+
onClick: s[0] || (s[0] = w((i) => n(I)(t.widget, t.parentList), ["stop"]))
|
|
55
|
+
}, {
|
|
56
|
+
default: r(() => [
|
|
57
|
+
o(g, { name: "@el-clone" }),
|
|
58
|
+
c(k(n(m).i18nt("designer.hint.cloneWidget")), 1)
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
o(u, {
|
|
63
|
+
onClick: s[1] || (s[1] = w((i) => n(j)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
64
|
+
}, {
|
|
65
|
+
default: r(() => [
|
|
66
|
+
o(g, { name: "@el-delete" }),
|
|
67
|
+
c(k(n(m).i18nt("designer.hint.remove")), 1)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}),
|
|
71
|
+
t.parentList && t.parentList.length > 1 ? (l(), W(u, {
|
|
72
|
+
key: 0,
|
|
73
|
+
onClick: s[2] || (s[2] = w((i) => n(B)(t.parentList, t.widget), ["stop"]))
|
|
74
|
+
}, {
|
|
75
|
+
default: r(() => [
|
|
76
|
+
o(g, { name: "@el-move-up" }),
|
|
77
|
+
c(k(n(m).i18nt("designer.hint.moveUpWidget")), 1)
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
})) : y("", !0),
|
|
81
|
+
t.parentList && t.parentList.length > 1 ? (l(), W(u, {
|
|
82
|
+
key: 1,
|
|
83
|
+
onClick: s[3] || (s[3] = w((i) => n(N)(t.parentList, t.widget), ["stop"]))
|
|
84
|
+
}, {
|
|
85
|
+
default: r(() => [
|
|
86
|
+
o(g, { name: "@el-move-down" }),
|
|
87
|
+
c(k(n(m).i18nt("designer.hint.moveDownWidget")), 1)
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
})) : y("", !0),
|
|
91
|
+
t.$slots.default ? (l(), W(u, {
|
|
92
|
+
key: 2,
|
|
93
|
+
divied: ""
|
|
94
|
+
}, {
|
|
95
|
+
default: r(() => [
|
|
96
|
+
L(t.$slots, "default")
|
|
97
|
+
]),
|
|
98
|
+
_: 3
|
|
99
|
+
})) : y("", !0)
|
|
100
|
+
]),
|
|
101
|
+
_: 3
|
|
102
|
+
})
|
|
103
|
+
]),
|
|
104
|
+
key: "0"
|
|
105
|
+
} : void 0
|
|
106
|
+
]), 1024)) : (l(), v(O, { key: 2 }, [
|
|
107
|
+
o(d, { onCommand: D }, A({
|
|
108
|
+
default: r(() => {
|
|
109
|
+
var i, h;
|
|
110
|
+
return [
|
|
111
|
+
H("span", we, [
|
|
112
|
+
c(k(n(m).i18n2t(
|
|
113
|
+
`designer.widgetLabel.${(i = t.widget) == null ? void 0 : i.type}`,
|
|
114
|
+
`extension.widgetLabel.${(h = t.widget) == null ? void 0 : h.type}`
|
|
115
|
+
)) + " ", 1),
|
|
116
|
+
o(g, {
|
|
117
|
+
name: "@el-arrow-down",
|
|
118
|
+
class: "el-icon--right"
|
|
119
|
+
})
|
|
120
|
+
])
|
|
121
|
+
];
|
|
122
|
+
}),
|
|
123
|
+
_: 2
|
|
124
|
+
}, [
|
|
125
|
+
((S = f.parentTree) == null ? void 0 : S.length) > 0 ? {
|
|
126
|
+
name: "dropdown",
|
|
127
|
+
fn: r(() => [
|
|
128
|
+
o(F, null, {
|
|
129
|
+
default: r(() => [
|
|
130
|
+
(l(!0), v(O, null, P(f.parentTree, (i, h) => (l(), W(u, { command: i }, {
|
|
131
|
+
default: r(() => [
|
|
132
|
+
c(k(i == null ? void 0 : i.label), 1)
|
|
133
|
+
]),
|
|
134
|
+
_: 2
|
|
135
|
+
}, 1032, ["command"]))), 256))
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
})
|
|
139
|
+
]),
|
|
140
|
+
key: "0"
|
|
141
|
+
} : void 0
|
|
142
|
+
]), 1024),
|
|
143
|
+
o($, {
|
|
144
|
+
direction: "vertical",
|
|
145
|
+
"border-style": "dashed",
|
|
146
|
+
color: "white"
|
|
147
|
+
}),
|
|
148
|
+
L(t.$slots, "default"),
|
|
149
|
+
t.parentList && t.parentList.length > 1 ? (l(), v("i", {
|
|
150
|
+
key: 0,
|
|
151
|
+
title: n(m).i18nt("designer.hint.moveUpWidget"),
|
|
152
|
+
onClick: s[4] || (s[4] = w((i) => n(B)(t.parentList, t.widget), ["stop"]))
|
|
153
|
+
}, [
|
|
154
|
+
o(g, { name: "@el-move-up" })
|
|
155
|
+
], 8, ve)) : y("", !0),
|
|
156
|
+
t.parentList && t.parentList.length > 1 ? (l(), v("i", {
|
|
157
|
+
key: 1,
|
|
158
|
+
title: n(m).i18nt("designer.hint.moveDownWidget"),
|
|
159
|
+
onClick: s[5] || (s[5] = w((i) => n(N)(t.parentList, t.widget), ["stop"]))
|
|
160
|
+
}, [
|
|
161
|
+
o(g, { name: "@el-move-down" })
|
|
162
|
+
], 8, ye)) : y("", !0),
|
|
163
|
+
H("i", {
|
|
164
|
+
title: n(m).i18nt("designer.hint.cloneWidget"),
|
|
165
|
+
onClick: s[6] || (s[6] = w((i) => n(I)(t.widget, t.parentList), ["stop"]))
|
|
166
|
+
}, [
|
|
167
|
+
o(g, { name: "@el-clone" })
|
|
168
|
+
], 8, We),
|
|
169
|
+
H("i", {
|
|
170
|
+
title: n(m).i18nt("designer.hint.remove"),
|
|
171
|
+
onClick: s[7] || (s[7] = w((i) => n(j)(t.widget, t.parentWidget, t.parentList), ["stop"]))
|
|
172
|
+
}, [
|
|
173
|
+
o(g, { name: "@el-delete" })
|
|
174
|
+
], 8, he)
|
|
175
|
+
], 64))
|
|
176
|
+
], 64);
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
const Ne = /* @__PURE__ */ te({
|
|
181
|
+
__name: "widget-wrapper",
|
|
182
|
+
props: { ...oe },
|
|
183
|
+
setup(f) {
|
|
184
|
+
var K;
|
|
185
|
+
const a = f, { selectWidget: z } = ne(a.designer), { widgetTree: E } = le((K = a.designer) == null ? void 0 : K.widgetList, !0), { pathNodes: j, parentTree: N } = re(E.value, a.widget), { size: B, displayLayout: I, labelAlign: D, labelWidth: t, formItemFlag: s, labelSuffix: u } = ae(a, se(j.value)), { idClass: F } = pe(a.widget), { getAttrProp: d } = ge(a), $ = T(() => d == null ? void 0 : d("hidden")), b = (e) => e && !["div", "span"].includes(e), S = T(() => {
|
|
186
|
+
var e, p;
|
|
187
|
+
return (e = a.widget) != null && e.type ? [q.grid, q.gridCol, q.wrapper].includes((p = a.widget) == null ? void 0 : p.type) : !1;
|
|
188
|
+
}), i = T(() => {
|
|
189
|
+
const e = d == null ? void 0 : d("width"), p = d == null ? void 0 : d("ctrlWidth"), C = d == null ? void 0 : d("customClass"), R = d == null ? void 0 : d("componentWrapperClass");
|
|
190
|
+
return {
|
|
191
|
+
size: B.value,
|
|
192
|
+
labelAlign: D.value,
|
|
193
|
+
labelWidth: t.value,
|
|
194
|
+
// 隐藏的标签宽度仍旧保留,为占位
|
|
195
|
+
formItemFlag: s.value,
|
|
196
|
+
ctrlWidth: p,
|
|
197
|
+
displayStyle: I.value,
|
|
198
|
+
labelSuffix: u.value || "",
|
|
199
|
+
injectStyle: {},
|
|
200
|
+
//verticalAlign: verticalAlign.value, width: withLabel.value ? '100%' : ctrlWidth.value
|
|
201
|
+
//注:宽度全屏
|
|
202
|
+
injectClass: [ee(C), e ? "" : "full-width", F],
|
|
203
|
+
// filterDisplay.value ? displayStyle.value : ''
|
|
204
|
+
componentWrapperClass: ee(R)
|
|
205
|
+
};
|
|
206
|
+
}), h = T(() => {
|
|
207
|
+
var e, p, C;
|
|
208
|
+
return !!a.designer && ((e = a.widget) == null ? void 0 : e.id) === ((C = (p = a.designer) == null ? void 0 : p.selectedWidget) == null ? void 0 : C.id);
|
|
209
|
+
}), G = _(), J = _(), ie = T(() => {
|
|
210
|
+
var e, p;
|
|
211
|
+
if (G.value && J.value && h.value)
|
|
212
|
+
return ((e = G.value) == null ? void 0 : e.offsetWidth) > ((p = J.value) == null ? void 0 : p.offsetWidth);
|
|
213
|
+
});
|
|
214
|
+
return (e, p) => {
|
|
215
|
+
var C, R, Q, X;
|
|
216
|
+
return e.designState ? (l(), W(x(e.componentName), U({
|
|
217
|
+
key: 0,
|
|
218
|
+
class: ["field-wrapper", [n(h) ? "selected" : "", " drag-handler", e.propOptions.class, e.showWrapperComponent ? n(i).injectClass : null]],
|
|
219
|
+
style: e.propOptions.style,
|
|
220
|
+
onClick: p[0] || (p[0] = w((M) => n(z)(e.widget, e.parentWidget, e.parentList), ["stop"])),
|
|
221
|
+
ref_key: "wrapperRef",
|
|
222
|
+
ref: J,
|
|
223
|
+
tabindex: 0
|
|
224
|
+
}, b(e.componentName) ? (R = (C = e.propOptions) == null ? void 0 : C.fieldObj) == null ? void 0 : R.attrs : {}), {
|
|
225
|
+
default: r(() => {
|
|
226
|
+
var M, Y, Z;
|
|
227
|
+
return [
|
|
228
|
+
L(e.$slots, "default", { data: n(i) }),
|
|
229
|
+
((Y = (M = e.designer) == null ? void 0 : M.selectedWidget) == null ? void 0 : Y.id) === ((Z = e.widget) == null ? void 0 : Z.id) ? (l(), v("div", {
|
|
230
|
+
key: 0,
|
|
231
|
+
class: "action",
|
|
232
|
+
ref_key: "dragHandlerRef",
|
|
233
|
+
ref: G
|
|
234
|
+
}, [
|
|
235
|
+
o(Ce, {
|
|
236
|
+
simple: n(ie),
|
|
237
|
+
"design-state": e.designState,
|
|
238
|
+
designer: e.designer,
|
|
239
|
+
widget: e.widget,
|
|
240
|
+
"parent-widget": e.parentWidget,
|
|
241
|
+
"parent-list": e.parentList,
|
|
242
|
+
parentTree: n(N),
|
|
243
|
+
hidden: n($)
|
|
244
|
+
}, {
|
|
245
|
+
default: r(() => [
|
|
246
|
+
L(e.$slots, "drag")
|
|
247
|
+
]),
|
|
248
|
+
_: 3
|
|
249
|
+
}, 8, ["simple", "design-state", "designer", "widget", "parent-widget", "parent-list", "parentTree", "hidden"])
|
|
250
|
+
], 512)) : y("", !0)
|
|
251
|
+
];
|
|
252
|
+
}),
|
|
253
|
+
_: 3
|
|
254
|
+
}, 16, ["class", "style"])) : !n($) || n(S) ? (l(), v(O, { key: 1 }, [
|
|
255
|
+
e.showWrapperComponent ? (l(), W(x(e.componentName), U({ key: 0 }, b(e.componentName) ? (X = (Q = e.propOptions) == null ? void 0 : Q.fieldObj) == null ? void 0 : X.attrs : {}, {
|
|
256
|
+
class: ["_id_BycomponentName", [...n(i).injectClass, e.propOptions.class, n($) && n(S) ? "hlhidden" : ""]],
|
|
257
|
+
style: { ...n(i).injectStyle, ...e.propOptions.style }
|
|
258
|
+
}), {
|
|
259
|
+
default: r(() => [
|
|
260
|
+
L(e.$slots, "default", U({ data: n(i) }, e.$props))
|
|
261
|
+
]),
|
|
262
|
+
_: 3
|
|
263
|
+
}, 16, ["class", "style"])) : L(e.$slots, "default", U({
|
|
264
|
+
key: 1,
|
|
265
|
+
data: n(i)
|
|
266
|
+
}, e.$props))
|
|
267
|
+
], 64)) : y("", !0);
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
export {
|
|
272
|
+
Ne as _
|
|
273
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as h, onMounted as j, watch as v, defineComponent as W, openBlock as b, createBlock as L, mergeProps as C, unref as n, withCtx as O, createElementBlock as R, normalizeClass as P, createVNode as q } from "vue";
|
|
2
2
|
import { I as D } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as y } from "./drag-wrapper-
|
|
4
|
-
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as B } from "./
|
|
6
|
-
import { W as g } from "./enum-type-
|
|
7
|
-
import { b as F, a as S } from "./share-field-
|
|
8
|
-
import { c as $ } from "./
|
|
3
|
+
import { D as y } from "./drag-wrapper-d545a429.js";
|
|
4
|
+
import { _ as z } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c554fff1.js";
|
|
5
|
+
import { w as B } from "./expression-402fef4a.js";
|
|
6
|
+
import { W as g } from "./enum-type-a02d0ddc.js";
|
|
7
|
+
import { b as F, a as S } from "./share-field-cbdc0f7d.js";
|
|
8
|
+
import { c as $ } from "./slot-252ff364.js";
|
|
9
9
|
function E(a) {
|
|
10
10
|
const d = h({}), { componentWrapperClass: l, customClass: c } = $({ widget: a.widget }), { exposed: s, attrs: p, fieldKey: f, fieldObj: m } = F(a), { setAllRefList: o } = S(d.value), r = (e = !1) => {
|
|
11
11
|
o(g.setDisabled, { flag: e });
|
package/affix-widget-e0e6d00b.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
|
-
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js";
|
|
4
|
-
import { w as d } from "./template-5d46761c.js";
|
|
5
|
-
import { b as _ } from "./share-field-ab86b13d.js";
|
|
6
|
-
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
|
|
8
|
-
import "./uuid-78f330ef.js";
|
|
9
|
-
import "./enum-type-6294b15b.js";
|
|
10
|
-
import "./index-27e99247.js";
|
|
11
|
-
import "./enum-type-38d1c0a4.js";
|
|
12
|
-
import "./baseImp-2f7dc5e5.js";
|
|
13
|
-
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-bb8cdc96.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./index-4e636f1b.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./slot-84375736.js";
|
|
20
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
|
|
21
|
-
import "./multirow-ff736df7.js";
|
|
22
|
-
const u = o({ componentName: d.FieldWidget }), D = /* @__PURE__ */ o({
|
|
23
|
-
...u,
|
|
24
|
-
__name: "affix-widget",
|
|
25
|
-
props: { ...l },
|
|
26
|
-
setup(r, { expose: p }) {
|
|
27
|
-
const t = r, { exposed: i, fieldObj: e } = _(t);
|
|
28
|
-
return p({ ...i }), (m, g) => (s(), n(c, a(m.$props, {
|
|
29
|
-
propOptions: { elementName: "el-affix", fieldObj: f(e) }
|
|
30
|
-
}), null, 16, ["propOptions"]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
D as default
|
|
35
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as a, createBlock as s, mergeProps as n, unref as f } from "vue";
|
|
2
|
-
import { I as l } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js";
|
|
4
|
-
import { w as d } from "./template-5d46761c.js";
|
|
5
|
-
import { b as _ } from "./share-field-ab86b13d.js";
|
|
6
|
-
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
|
|
8
|
-
import "./uuid-78f330ef.js";
|
|
9
|
-
import "./enum-type-6294b15b.js";
|
|
10
|
-
import "./index-27e99247.js";
|
|
11
|
-
import "./enum-type-38d1c0a4.js";
|
|
12
|
-
import "./baseImp-2f7dc5e5.js";
|
|
13
|
-
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-bb8cdc96.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./index-4e636f1b.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./slot-84375736.js";
|
|
20
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
|
|
21
|
-
import "./multirow-ff736df7.js";
|
|
22
|
-
const u = o({ componentName: d.FieldWidget }), D = /* @__PURE__ */ o({
|
|
23
|
-
...u,
|
|
24
|
-
__name: "avatar-widget",
|
|
25
|
-
props: { ...l },
|
|
26
|
-
setup(r, { expose: t }) {
|
|
27
|
-
const p = r, { fieldObj: e, exposed: m } = _(p);
|
|
28
|
-
return t({ ...m }), (i, g) => (a(), s(c, n(i.$props, {
|
|
29
|
-
propOptions: { elementName: "el-avatar", fieldObj: f(e) }
|
|
30
|
-
}), null, 16, ["propOptions"]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
D as default
|
|
35
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as c } from "vue";
|
|
2
|
-
import { I as f } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js";
|
|
4
|
-
import { w as d } from "./template-5d46761c.js";
|
|
5
|
-
import { b as _ } from "./share-field-ab86b13d.js";
|
|
6
|
-
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
|
|
8
|
-
import "./uuid-78f330ef.js";
|
|
9
|
-
import "./enum-type-6294b15b.js";
|
|
10
|
-
import "./index-27e99247.js";
|
|
11
|
-
import "./enum-type-38d1c0a4.js";
|
|
12
|
-
import "./baseImp-2f7dc5e5.js";
|
|
13
|
-
import "./icon-e9532b43.js";
|
|
14
|
-
import "./dialog-bb8cdc96.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./index-4e636f1b.js";
|
|
18
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
19
|
-
import "./slot-84375736.js";
|
|
20
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
|
|
21
|
-
import "./multirow-ff736df7.js";
|
|
22
|
-
const u = o({ componentName: d.FieldWidget }), D = /* @__PURE__ */ o({
|
|
23
|
-
...u,
|
|
24
|
-
__name: "backtop-widget",
|
|
25
|
-
props: { ...f },
|
|
26
|
-
setup(p, { expose: r }) {
|
|
27
|
-
const t = p, { fieldObj: e, exposed: m } = _(t);
|
|
28
|
-
return r({ ...m }), (i, b) => (s(), n(l, a(i.$props, {
|
|
29
|
-
propOptions: { elementName: "el-backtop", fieldObj: c(e) }
|
|
30
|
-
}), null, 16, ["propOptions"]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
D as default
|
|
35
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./template-5d46761c.js";
|
|
4
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
5
|
-
import "./enum-type-6294b15b.js";
|
|
6
|
-
import "./uuid-78f330ef.js";
|
|
7
|
-
import "./baseImp-2f7dc5e5.js";
|
|
8
|
-
import "./enum-type-38d1c0a4.js";
|
|
9
|
-
import "./icon-e9532b43.js";
|
|
10
|
-
import "./dialog-bb8cdc96.js";
|
|
11
|
-
import "element-plus";
|
|
12
|
-
export {
|
|
13
|
-
o as default
|
|
14
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./field-base-5547436d.js";
|
|
4
|
-
import "./widget-base-4c2d6265.js";
|
|
5
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
|
|
6
|
-
import "./uuid-78f330ef.js";
|
|
7
|
-
import "./enum-type-6294b15b.js";
|
|
8
|
-
import "./index-27e99247.js";
|
|
9
|
-
import "./enum-type-38d1c0a4.js";
|
|
10
|
-
import "./baseImp-2f7dc5e5.js";
|
|
11
|
-
import "./icon-e9532b43.js";
|
|
12
|
-
import "./template-5d46761c.js";
|
|
13
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
-
import "./dialog-bb8cdc96.js";
|
|
15
|
-
import "element-plus";
|
|
16
|
-
import "./index-4e636f1b.js";
|
|
17
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
-
import "./slot-84375736.js";
|
|
19
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
|
|
20
|
-
export {
|
|
21
|
-
o as default
|
|
22
|
-
};
|
package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6bf225ad.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { defineComponent as P, computed as y, openBlock as l, createBlock as p, normalizeProps as j, guardReactiveProps as z, withCtx as k, resolveDynamicComponent as N, mergeProps as b, toHandlers as V, createSlots as $, renderList as B, unref as m, createElementBlock as F, Fragment as I, renderSlot as A, createVNode as D, createCommentVNode as v } from "vue";
|
|
2
|
-
import { I as E } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3609acb8.js";
|
|
4
|
-
import { s as C, w as K } from "./template-5d46761c.js";
|
|
5
|
-
import { g as L } from "./slot-84375736.js";
|
|
6
|
-
import { _ as R } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4d0c670c.js";
|
|
7
|
-
const W = P({ componentName: K.FieldWidget }), U = /* @__PURE__ */ P({
|
|
8
|
-
...W,
|
|
9
|
-
__name: "default-slot-widget",
|
|
10
|
-
props: { ...E },
|
|
11
|
-
setup(S) {
|
|
12
|
-
const n = S, f = y(() => {
|
|
13
|
-
var e, s, r, o, t, i;
|
|
14
|
-
return ((r = (s = (e = n == null ? void 0 : n.propOptions) == null ? void 0 : e.fieldObj) == null ? void 0 : s.attrs) == null ? void 0 : r.content) || ((i = (t = (o = n == null ? void 0 : n.propOptions) == null ? void 0 : o.fieldObj) == null ? void 0 : t.extendAttrs) == null ? void 0 : i.content);
|
|
15
|
-
}), w = y(() => {
|
|
16
|
-
var r, o;
|
|
17
|
-
var e = L((o = (r = n.propOptions) == null ? void 0 : r.fieldObj) == null ? void 0 : o.slots, n.designState), s = e == null ? void 0 : e.filter((t) => !!t.default || (t == null ? void 0 : t.slotName) !== C.default || !!f.value);
|
|
18
|
-
return s;
|
|
19
|
-
});
|
|
20
|
-
return (e, s) => (l(), p(H, j(z(e.$props)), {
|
|
21
|
-
default: k(({ data: r }) => {
|
|
22
|
-
var o, t, i, d, c, u, O;
|
|
23
|
-
return [
|
|
24
|
-
(l(), p(N((o = e.propOptions) == null ? void 0 : o.elementName), b({
|
|
25
|
-
key: (i = (t = e.propOptions) == null ? void 0 : t.fieldObj) == null ? void 0 : i.fieldKey
|
|
26
|
-
}, (c = (d = e.propOptions) == null ? void 0 : d.fieldObj) == null ? void 0 : c.attrs, V((O = (u = e.propOptions) == null ? void 0 : u.fieldObj) == null ? void 0 : O.events), {
|
|
27
|
-
size: r.size,
|
|
28
|
-
class: r.injectClass,
|
|
29
|
-
style: r.injectStyle
|
|
30
|
-
}), $({ _: 2 }, [
|
|
31
|
-
B(m(w), (a) => ({
|
|
32
|
-
name: a == null ? void 0 : a.slotName,
|
|
33
|
-
fn: k((h) => {
|
|
34
|
-
var g;
|
|
35
|
-
return [
|
|
36
|
-
(a == null ? void 0 : a.slotName) === m(C).default ? (l(), F(I, { key: 0 }, [
|
|
37
|
-
a.default ? (l(), p(N(a.default), j(b({ key: 0 }, h)), null, 16)) : ((g = e.propOptions) == null ? void 0 : g.showContent) != !1 ? A(e.$slots, "contentSlot", {
|
|
38
|
-
key: 1,
|
|
39
|
-
data: {}
|
|
40
|
-
}, () => [
|
|
41
|
-
D(R, {
|
|
42
|
-
tohtml: !1,
|
|
43
|
-
allProps: { content: m(f) }
|
|
44
|
-
}, null, 8, ["allProps"])
|
|
45
|
-
]) : v("", !0)
|
|
46
|
-
], 64)) : v("", !0)
|
|
47
|
-
];
|
|
48
|
-
})
|
|
49
|
-
}))
|
|
50
|
-
]), 1040, ["size", "class", "style"]))
|
|
51
|
-
];
|
|
52
|
-
}),
|
|
53
|
-
_: 3
|
|
54
|
-
}, 16));
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
export {
|
|
58
|
-
U as _
|
|
59
|
-
};
|