hldesigner 0.0.199 → 0.0.203
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-4c706e60.js → _pdf-3f9ca974.js} +12 -11
- package/{_share_image-dc17ebf1.js → _share_image-30a7e940.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-112b73cf.js → _share_size.vue_vue_type_script_setup_true_lang-baa111b4.js} +3 -3
- package/{_txt-e4b11c88.js → _txt-b0f0ebb7.js} +15 -14
- package/{_unsupport-1bab2565.js → _unsupport-fd2af812.js} +10 -9
- package/affix-widget-5b31aef3.js +44 -0
- package/{alert-widget-8578fbe7.js → alert-widget-023ad236.js} +23 -22
- package/{anchor-widget-ceeabf3f.js → anchor-widget-4cb83acd.js} +20 -19
- package/{auto-complete-widget-64f54cd6.js → auto-complete-widget-a40381f8.js} +23 -22
- package/avatar-widget-32b58d84.js +44 -0
- package/{backtop-widget-9de51b39.js → backtop-widget-e9867933.js} +23 -22
- package/badge-widget-1f3ce07a.js +50 -0
- package/{barcode-widget-9c8b37b8.js → barcode-widget-ef49bf1a.js} +20 -19
- package/{baseImp-e49d2773.js → baseImp-d6a218bb.js} +692 -695
- package/{breadcrumb-widget-792bcaf6.js → breadcrumb-widget-02835287.js} +20 -19
- package/{button-widget-f1c5236f.js → button-widget-21c3a1d5.js} +23 -22
- package/{cache-widget-5fa60ec6.js → cache-widget-4104da94.js} +22 -21
- package/{card-widget-e512515a.js → card-widget-94540bcb.js} +21 -20
- package/{carousel-widget-3696c44d.js → carousel-widget-4c42a9b5.js} +21 -20
- package/{cascader-widget-e5c5f825.js → cascader-widget-3b351e93.js} +22 -21
- package/{chart-widget-3e54a5bb.js → chart-widget-fea7b4eb.js} +25 -24
- package/{checkbox-widget-564de2c7.js → checkbox-widget-703a8743.js} +22 -21
- package/{collapse-widget-51d7cf71.js → collapse-widget-82c9f052.js} +29 -28
- package/{color-picker-widget-fc1cbd99.js → color-picker-widget-366c7b6a.js} +22 -21
- package/common-editor-7fbb76d2.js +27 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e83ab29f.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-1f8ca7a0.js} +2 -2
- package/{configItem-022c3a03.js → configItem-9beab327.js} +44 -42
- package/{cont-cell-widget-a130b8db.js → cont-cell-widget-a6d7799b.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-22b878c0.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-792388b7.js} +5 -5
- package/{cont-widget-7f0e150f.js → cont-widget-978dce4e.js} +5 -5
- package/{content-wrapper-9f6222f3.js → content-wrapper-ef2cf36b.js} +8 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-bc24e53b.js → content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js} +3 -3
- package/{css-editor-78e6dc8c.js → css-editor-2f6dbde3.js} +43 -42
- package/{cssIndex-8e8522e2.js → cssIndex-cf6e26c2.js} +61 -60
- package/customClass-editor-df52cc90.js +46 -0
- package/{date-picker-range-widget-3c7a0942.js → date-picker-range-widget-181f33cb.js} +22 -21
- package/{date-picker-widget-037ceb37.js → date-picker-widget-a5bd4bf3.js} +22 -21
- package/default-slot-widget-56a353d7.js +30 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-800037db.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8b0fcd83.js} +10 -9
- package/{descriptions-widget-4d59d506.js → descriptions-widget-ba2c798d.js} +28 -27
- package/designer.es.js +37 -35
- package/designer.style.css +1 -1
- package/designer.umd.js +806 -802
- package/{dialog-fd389629.js → dialog-24d066bb.js} +2 -2
- package/dialog-widget-c9f8b45b.js +38 -0
- package/{divider-widget-352dabc2.js → divider-widget-e2cd731e.js} +23 -22
- package/{drag-wrapper-c5f36a3f.js → drag-wrapper-be4fc6c6.js} +25 -24
- package/drawer-widget-c15da4c7.js +38 -0
- package/{dropdown-widget-e6f407a3.js → dropdown-widget-42a47ad3.js} +21 -20
- package/{editor-wrapper-037968c2.js → editor-wrapper-8027ed75.js} +218 -217
- package/{emitter-fd99ee94.js → emitter-22bcad26.js} +1 -1
- package/empty-widget-6ac74681.js +44 -0
- package/{enum-type-25ce26d4.js → enum-type-339a584b.js} +125 -437
- package/{enum-type-a9f5e75a.js → enum-type-50a08ddf.js} +1 -1
- package/{expression-c0206176.js → expression-cf83c895.js} +95 -94
- package/feedback-widget-56db531b.js +31 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0f7a4c77.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cf9de69d.js} +5 -5
- package/{field-editor-a074e424.js → field-editor-ab704a01.js} +26 -25
- package/{fieldobj-e53244c0.js → fieldobj-fe7d8eae.js} +1 -1
- package/{file-upload-widget-7c1c900b.js → file-upload-widget-2b05d62c.js} +27 -26
- package/{form-item-wrapper-75976438.js → form-item-wrapper-f8359511.js} +16 -15
- package/form-widget-35b12f17.js +232 -0
- package/{grid-col-widget-1f1a8714.js → grid-col-widget-6cad3503.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2ae49464.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-082d895b.js} +5 -5
- package/{grid-widget-d9c98e1e.js → grid-widget-075a1abe.js} +5 -5
- package/{html-text-widget-ead52952.js → html-text-widget-0c89effe.js} +24 -23
- package/{icon-widget-0d09fa31.js → icon-widget-efa0dbb7.js} +20 -19
- package/iframe-widget-d293f152.js +112 -0
- package/{image-editor-87c1fa97.js → image-editor-0b28e384.js} +21 -20
- package/{image-widget-5304b99a.js → image-widget-bc9c59ac.js} +20 -19
- package/index-1521518c.js +44 -0
- package/{index-471b1b77.js → index-1844520a.js} +181 -179
- package/{index-8faf4a86.js → index-2aa1f947.js} +19 -18
- package/{index-5df9e1e9.js → index-2cc63818.js} +58 -57
- package/{index-afcc0cb2.js → index-30fe2727.js} +31 -30
- package/{index-29a9d260.js → index-4121f492.js} +28 -27
- package/{index-ddb14013.js → index-47333282.js} +32 -31
- package/{index-37761d29.js → index-57266e1d.js} +25 -24
- package/{index-ea246120.js → index-57ba032d.js} +32 -31
- package/index-57de1e93.js +200 -0
- package/index-67e02ed1.js +48 -0
- package/{index-1652c0d1.js → index-6d72c605.js} +1 -1
- package/{index-4bba6308.js → index-7dcb0846.js} +45 -44
- package/{index-4ef04f4f.js → index-9b16b876.js} +9 -8
- package/{index-8411963a.js → index-9bf39185.js} +1 -1
- package/{index-b3585536.js → index-9c8ab628.js} +18 -17
- package/{index-d9faf252.js → index-9d594e77.js} +48 -46
- package/{index-4768c271.js → index-a9b325de.js} +31 -30
- package/{index-132e54f6.js → index-ad62fe68.js} +41 -39
- package/{index-5663497c.js → index-b07f673f.js} +28 -27
- package/{index-972b5e7d.js → index-b6dd9f73.js} +12 -11
- package/{index-fd5e4e75.js → index-cb040833.js} +30 -29
- package/index-df1e4d1c.js +138 -0
- package/{index-edba8ac2.js → index-e6f28811.js} +9 -8
- package/index-f02a72ab.js +287 -0
- package/{index-c0ac6679.js → index-f328b549.js} +1 -1
- package/{input-number-widget-5b91814d.js → input-number-widget-8c11c9f1.js} +22 -21
- package/{input-widget-9f9f1e86.js → input-widget-c493df61.js} +23 -22
- package/{install-designer-092182cc.js → install-designer-2b98bf6a.js} +946 -928
- package/{item-4a07c2c6.js → item-a6a9abce.js} +8 -7
- package/{itemDetail-107667d0.js → itemDetail-2061e03c.js} +12 -11
- package/{label-wrapper-fcfc49bb.js → label-wrapper-1f60e363.js} +6 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-32dd0eb6.js → label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js} +3 -3
- package/{link-widget-f1bc9ed1.js → link-widget-aeb07c45.js} +23 -22
- package/{ltable-col-widget-7198f180.js → ltable-col-widget-7b73596b.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9659c585.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-76360bb0.js} +9 -9
- package/{ltable-widget-8e240c9e.js → ltable-widget-2748c11d.js} +5 -5
- package/{menu-widget-b30f1aa4.js → menu-widget-f030ec3f.js} +43 -42
- package/{model-widget-e8b3f795.js → model-widget-324ee8d8.js} +29 -28
- package/{multirow-70766faf.js → multirow-60333a37.js} +50 -49
- package/{multirow-widget-b7d121ce.js → multirow-widget-b9f113dc.js} +80 -79
- package/{name-editor-f2e09a2a.js → name-editor-9e584829.js} +39 -38
- package/obj-469b8636.js +344 -0
- package/{optionItem-658ef248.js → optionItem-94e8e557.js} +5 -5
- package/package.json +1 -1
- package/{pagination-widget-8d56529f.js → pagination-widget-5fc3a123.js} +27 -26
- package/{picture-upload-widget-3c439623.js → picture-upload-widget-074d5dfa.js} +23 -22
- package/{progress-widget-3deb6d65.js → progress-widget-ab7645f4.js} +21 -20
- package/{property-base-585ae99f.js → property-base-847bea01.js} +6 -5
- package/{propresult-7ff730e7.js → propresult-80ff10b0.js} +1 -1
- package/{qrcode-widget-58b296c9.js → qrcode-widget-d3332db8.js} +28 -27
- package/{radio-widget-b37f2efa.js → radio-widget-30fbcfa8.js} +22 -21
- package/{range-widget-9e9d1d91.js → range-widget-501ac45f.js} +26 -25
- package/{rate-widget-f2df42ca.js → rate-widget-0efc5a30.js} +22 -21
- package/{reg-editor.vue_vue_type_script_setup_true_lang-552964b4.js → reg-editor.vue_vue_type_script_setup_true_lang-303c53c7.js} +3 -3
- package/{result-widget-064d580f.js → result-widget-c7ba3598.js} +26 -25
- package/{rich-editor-widget-f8c3a359.js → rich-editor-widget-68065124.js} +29 -28
- package/{router-widget-c3c1dcbe.js → router-widget-87f54e9c.js} +26 -25
- package/{schemaData-4b6c8f93.js → schemaData-4017f436.js} +117 -113
- package/{select-widget-115c19eb.js → select-widget-b603a045.js} +75 -74
- package/{sfc-8e1699a5.js → sfc-c084412d.js} +38 -37
- package/{sfcview-e35d2a6c.js → sfcview-35444e54.js} +27 -26
- package/{share-editor-0b81d40d.js → share-editor-2b290a2a.js} +110 -108
- package/{share-event-00871445.js → share-event-2000a2e4.js} +2 -2
- package/{share-field-6d22dc0f.js → share-field-081900cb.js} +229 -227
- package/{share-file-c09f38d7.js → share-file-a4a4269a.js} +15 -14
- package/{size-editor-19b9771a.js → size-editor-60515ca3.js} +22 -21
- package/{slider-widget-8ffc9a9e.js → slider-widget-0e5c6ea8.js} +22 -21
- package/slot-ad34bf62.js +292 -0
- package/{static-text-widget-bfd431fd.js → static-text-widget-e96741ad.js} +23 -22
- package/{steps-widget-62708fc5.js → steps-widget-f4f7a59d.js} +20 -19
- package/{subMenu-widget-bc8720e3.js → subMenu-widget-6e151b95.js} +9 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-292af0db.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c3a8a82.js} +3 -3
- package/{switch-widget-45c43819.js → switch-widget-be4a4f29.js} +22 -21
- package/{tab-pane-widget-4f6477b7.js → tab-pane-widget-f257d01a.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-6c931b97.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7102e80f.js} +5 -5
- package/table-col-widget-44257f41.js +27 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-51a501b6.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-fda5176e.js} +6 -6
- package/{table-widget-48472910.js → table-widget-6e69243d.js} +29 -28
- package/{tabs-widget-223c7b43.js → tabs-widget-3789cc71.js} +33 -32
- package/tag-widget-30ed85f5.js +44 -0
- package/{target-code-faf94048.js → target-code-c9b01d8e.js} +13 -12
- package/{target-datasource-ce8ef09f.js → target-datasource-358d46d3.js} +91 -89
- package/{target-link-365f24d0.js → target-link-63b8c8b7.js} +59 -57
- package/{target-saveForm-96b58000.js → target-saveForm-32d63f35.js} +41 -39
- package/{target-widget-1d501f28.js → target-widget-9263d60f.js} +11 -10
- package/{target-window-846ee9c9.js → target-window-e79c6e2e.js} +12 -11
- package/text-widget-9d91dbb9.js +44 -0
- package/textarea-widget-abc44051.js +61 -0
- package/{time-picker-range-widget-181b8b60.js → time-picker-range-widget-1daba17f.js} +24 -23
- package/{time-picker-widget-9f410605.js → time-picker-widget-0e493b7e.js} +22 -21
- package/{time-select-widget-28d4139e.js → time-select-widget-52b79d07.js} +22 -21
- package/{tmpl-widget-43e82eef.js → tmpl-widget-87950870.js} +21 -20
- package/{tree-select-widget-6f671e54.js → tree-select-widget-90e24dbc.js} +35 -34
- package/{tree-widget-a0eee231.js → tree-widget-27d9f388.js} +27 -26
- package/{uuid-ff3b37ed.js → uuid-d9f857bf.js} +1 -1
- package/{value-editor-2b6e96e5.js → value-editor-1c0315d8.js} +29 -28
- package/{verifycode-widget-c09fbb3c.js → verifycode-widget-5df2dcdc.js} +34 -33
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1fca8a90.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js} +27 -26
- package/{wrapper-widget-21408a77.js → wrapper-widget-a70d939f.js} +6 -6
- package/affix-widget-1c84ecfb.js +0 -43
- package/avatar-widget-3b71e7a1.js +0 -43
- package/badge-widget-72b34510.js +0 -49
- package/common-editor-fba47b00.js +0 -26
- package/customClass-editor-5f3c0118.js +0 -45
- package/default-slot-widget-0dcac6f6.js +0 -29
- package/dialog-widget-a1705f21.js +0 -37
- package/drawer-widget-8a4cf015.js +0 -37
- package/empty-widget-f99a3baf.js +0 -43
- package/feedback-widget-08332c4f.js +0 -30
- package/form-widget-10dd2246.js +0 -230
- package/iframe-widget-2834e921.js +0 -111
- package/index-004c3e5a.js +0 -135
- package/index-1a4ba0e3.js +0 -132
- package/index-6ae0e7db.js +0 -121
- package/index-8c63f468.js +0 -47
- package/index-979a4dfc.js +0 -43
- package/slot-62b1ff9b.js +0 -287
- package/table-col-widget-a0233d24.js +0 -26
- package/tag-widget-7bce1464.js +0 -43
- package/text-widget-d5907fd1.js +0 -43
- package/textarea-widget-ba555132.js +0 -60
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { p as
|
|
3
|
-
import {
|
|
1
|
+
import { S as H } from "./enum-type-50a08ddf.js";
|
|
2
|
+
import { p as J, g as Q } from "./index-9bf39185.js";
|
|
3
|
+
import { c as X } from "./enum-type-339a584b.js";
|
|
4
|
+
import { o as U, d as B, e as Y, c as S, D as F, i as b, a as q } from "./obj-469b8636.js";
|
|
4
5
|
function $(N) {
|
|
5
6
|
return N.trim().replace(/[^a-zA-Z0-9]+(.)/g, (s, a) => a.toUpperCase()).replace(/^[A-Z]/, (s) => s.toLowerCase());
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
+
function G(N, s = "_") {
|
|
8
9
|
return N.replace(
|
|
9
10
|
/[A-Z]/g,
|
|
10
11
|
(a, E) => (E > 0 ? s : "") + a.toLowerCase()
|
|
@@ -19,17 +20,17 @@ function _(N, s = "camel") {
|
|
|
19
20
|
const E = $(a);
|
|
20
21
|
return E.charAt(0).toUpperCase() + E.slice(1);
|
|
21
22
|
case "snake":
|
|
22
|
-
return
|
|
23
|
+
return G($(a), "_");
|
|
23
24
|
case "kebab":
|
|
24
|
-
return
|
|
25
|
+
return G($(a), "-");
|
|
25
26
|
default:
|
|
26
27
|
throw new Error(`不支持的格式: ${s}`);
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function oo() {
|
|
30
31
|
return {
|
|
31
32
|
splitNumericUnit: (s) => {
|
|
32
|
-
if (s ===
|
|
33
|
+
if (s === H.auto)
|
|
33
34
|
return {
|
|
34
35
|
original: s,
|
|
35
36
|
numeric: null,
|
|
@@ -44,104 +45,104 @@ function I() {
|
|
|
44
45
|
unit: "",
|
|
45
46
|
valid: !1
|
|
46
47
|
};
|
|
47
|
-
const L = parseFloat(E[1]),
|
|
48
|
+
const L = parseFloat(E[1]), j = E[2] || "";
|
|
48
49
|
return {
|
|
49
50
|
original: s,
|
|
50
51
|
numeric: isNaN(L) ? null : L,
|
|
51
|
-
unit:
|
|
52
|
-
valid:
|
|
52
|
+
unit: j,
|
|
53
|
+
valid: j !== null && !isNaN(L)
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
-
const N = (
|
|
58
|
+
function eo() {
|
|
59
|
+
const N = (o, w) => o == null ? void 0 : o.map((n) => {
|
|
59
60
|
var t;
|
|
60
|
-
let
|
|
61
|
+
let e = {};
|
|
61
62
|
return (t = Object.keys(n == null ? void 0 : n.declarations)) == null || t.forEach((d) => {
|
|
62
63
|
const u = n == null ? void 0 : n.declarations[d];
|
|
63
64
|
if (S(u))
|
|
64
65
|
return;
|
|
65
66
|
const i = _(d, w ? "camel" : "kebab");
|
|
66
|
-
|
|
67
|
-
}), { selector: n.selector, declarations:
|
|
68
|
-
}), s = (
|
|
69
|
-
|
|
70
|
-
var
|
|
71
|
-
w(
|
|
67
|
+
e[i] = u;
|
|
68
|
+
}), { selector: n.selector, declarations: e };
|
|
69
|
+
}), s = (o) => new Promise((w) => {
|
|
70
|
+
J(o).then((n) => {
|
|
71
|
+
var e = N(n, !0);
|
|
72
|
+
w(e);
|
|
72
73
|
});
|
|
73
|
-
}), a = (
|
|
74
|
-
var
|
|
75
|
-
var n = N(
|
|
76
|
-
(
|
|
74
|
+
}), a = (o) => new Promise((w) => {
|
|
75
|
+
var e;
|
|
76
|
+
var n = N(o, !1);
|
|
77
|
+
(e = Q(n)) == null || e.then((t) => {
|
|
77
78
|
w(t);
|
|
78
79
|
});
|
|
79
|
-
}), E = (
|
|
80
|
-
const n = (
|
|
80
|
+
}), E = (o) => new Promise((w) => {
|
|
81
|
+
const n = (e) => {
|
|
81
82
|
var K;
|
|
82
83
|
const t = ["top", "bottom", "left", "right"], d = (c) => S(c) ? [] : (c == null ? void 0 : c.split(" ")) || [], u = (c, r) => {
|
|
83
|
-
var T,
|
|
84
|
+
var T, m, M;
|
|
84
85
|
let h = {};
|
|
85
86
|
const f = c == null ? void 0 : c.toLowerCase();
|
|
86
87
|
if (["margin", "padding"].includes(f)) {
|
|
87
88
|
var l = d(r);
|
|
88
89
|
l && ((l == null ? void 0 : l.length) === 1 ? t == null || t.forEach((C) => {
|
|
89
90
|
var g = $(`${f}-${C}`);
|
|
90
|
-
b(
|
|
91
|
+
b(e == null ? void 0 : e[g]) && (h[g] = r);
|
|
91
92
|
}) : (l == null ? void 0 : l.length) === 2 ? [["top", "bottom"], ["left", "right"]].forEach((C, g) => {
|
|
92
93
|
C == null || C.forEach((O) => {
|
|
93
94
|
var p = $(`${f}-${O}`);
|
|
94
|
-
b(
|
|
95
|
+
b(e == null ? void 0 : e[p]) && (h[p] = l == null ? void 0 : l[g]);
|
|
95
96
|
});
|
|
96
97
|
}) : (l == null ? void 0 : l.length) > 2 && (t == null || t.forEach((C, g) => {
|
|
97
98
|
var O = $(`${f}-${C}`), p = l == null ? void 0 : l[g];
|
|
98
|
-
b(
|
|
99
|
+
b(e == null ? void 0 : e[O]) && !b(p) && (h[O] = p);
|
|
99
100
|
})));
|
|
100
101
|
} else if (["border", "border-left", "border-right", "border-top", "border-bottom"].includes(f)) {
|
|
101
|
-
var [V, y,
|
|
102
|
-
if (!b(V) && !b(y) && !b(
|
|
103
|
-
var
|
|
104
|
-
|
|
102
|
+
var [V, y, D] = d(r);
|
|
103
|
+
if (!b(V) && !b(y) && !b(D)) {
|
|
104
|
+
var P = f === "border" ? t : [(T = f.split("-")) == null ? void 0 : T[1]];
|
|
105
|
+
P == null || P.forEach((C) => {
|
|
105
106
|
var g = $(`${f}-${C}-width`), O = $(`${f}-${C}-style`), p = $(`${f}-${C}-color`);
|
|
106
|
-
b(
|
|
107
|
+
b(e == null ? void 0 : e[g]) && (h[g] = V), b(e == null ? void 0 : e[O]) && (h[O] = y), b(e == null ? void 0 : e[p]) && (h[p] = D);
|
|
107
108
|
});
|
|
108
109
|
}
|
|
109
110
|
} else if (["border-radius"].includes(f))
|
|
110
111
|
["top-left", "top-right", "bottom-let", "bottom-right"].forEach((C) => {
|
|
111
112
|
var g = $(`border-${C}-radius`);
|
|
112
|
-
b(
|
|
113
|
+
b(e == null ? void 0 : e[g]) && (h[g] = r);
|
|
113
114
|
});
|
|
114
115
|
else if (["background"].includes(f)) {
|
|
115
|
-
var [
|
|
116
|
-
S(
|
|
116
|
+
var [W, z] = d(r);
|
|
117
|
+
S(W) || (h.backgroundColor = W), !S(z) && q(z) && (h.backgroundImage = (m = z == null ? void 0 : z.replace("url(", "")) == null ? void 0 : m.replace(")", ""));
|
|
117
118
|
} else if (["opacity"].includes(f)) {
|
|
118
119
|
if (!r.endsWith("%")) {
|
|
119
|
-
var
|
|
120
|
-
isNaN(
|
|
120
|
+
var Z = parseFloat(r);
|
|
121
|
+
isNaN(Z) || (h[c] = `${Z * 100}%`);
|
|
121
122
|
}
|
|
122
123
|
} else
|
|
123
|
-
["backgroundimage"].includes(f) && !S(r) &&
|
|
124
|
+
["backgroundimage"].includes(f) && !S(r) && q(r) && (h[c] = (M = r == null ? void 0 : r.replace("url(", "")) == null ? void 0 : M.replace(")", ""));
|
|
124
125
|
return h;
|
|
125
126
|
};
|
|
126
127
|
let i = {};
|
|
127
|
-
return (K =
|
|
128
|
+
return (K = U(e)) == null || K.forEach((c) => {
|
|
128
129
|
if (!c)
|
|
129
130
|
return;
|
|
130
|
-
const r =
|
|
131
|
+
const r = e == null ? void 0 : e[c];
|
|
131
132
|
S(r) || B(i, u(c, r));
|
|
132
133
|
}), i;
|
|
133
134
|
};
|
|
134
|
-
s(
|
|
135
|
+
s(o).then((e) => {
|
|
135
136
|
let t = {};
|
|
136
137
|
["active", "focus", "hover", "default"].forEach((d) => {
|
|
137
138
|
var K, c;
|
|
138
139
|
const u = d === "default" ? ":root" : ":root:" + d;
|
|
139
|
-
var i = (K =
|
|
140
|
-
((c =
|
|
140
|
+
var i = (K = e == null ? void 0 : e.find((r) => (r == null ? void 0 : r.selector) == u)) == null ? void 0 : K.declarations;
|
|
141
|
+
((c = U(i)) == null ? void 0 : c.length) > 0 ? t[d] = B(Y(i), n(i)) : t == null || delete t[d];
|
|
141
142
|
}), w(t);
|
|
142
143
|
});
|
|
143
|
-
}), L = (
|
|
144
|
-
const n = [],
|
|
144
|
+
}), L = (o) => new Promise((w) => {
|
|
145
|
+
const n = [], e = (u, i) => {
|
|
145
146
|
const K = u == null ? void 0 : u.toLowerCase();
|
|
146
147
|
if (["opacity"].includes(K)) {
|
|
147
148
|
if (i != null && i.endsWith("%")) {
|
|
@@ -155,30 +156,30 @@ function ee() {
|
|
|
155
156
|
var c;
|
|
156
157
|
let i = {};
|
|
157
158
|
var K = ["margin", "padding", "border", "borderradius", "background"];
|
|
158
|
-
return (c =
|
|
159
|
+
return (c = U(u)) == null || c.forEach((r) => {
|
|
159
160
|
if (!r || K.includes(r == null ? void 0 : r.toLocaleLowerCase()))
|
|
160
161
|
return;
|
|
161
162
|
let h = u == null ? void 0 : u[r];
|
|
162
|
-
S(h) || B(i,
|
|
163
|
+
S(h) || B(i, e(r, h));
|
|
163
164
|
}), i;
|
|
164
|
-
}, d = (u) => t(
|
|
165
|
-
|
|
165
|
+
}, d = (u) => t(X(u));
|
|
166
|
+
o != null && o.default && !F(o == null ? void 0 : o.default) && n.push({ selector: ":root", declarations: d(o.default) }), o != null && o.active && !F(o == null ? void 0 : o.active) && n.push({ selector: ":root:active", declarations: d(o.active) }), o != null && o.focus && !F(o == null ? void 0 : o.focus) && n.push({ selector: ":root:focus", declarations: d(o.focus) }), o != null && o.hover && !F(o == null ? void 0 : o.hover) && n.push({ selector: ":root:hover", declarations: d(o.hover) }), w(n);
|
|
166
167
|
});
|
|
167
168
|
return {
|
|
168
|
-
changeListener: (
|
|
169
|
-
L(
|
|
170
|
-
a(n).then((
|
|
171
|
-
w(
|
|
169
|
+
changeListener: (o) => new Promise((w) => {
|
|
170
|
+
L(o).then((n) => {
|
|
171
|
+
a(n).then((e) => {
|
|
172
|
+
w(e);
|
|
172
173
|
});
|
|
173
174
|
});
|
|
174
175
|
}),
|
|
175
|
-
switchColor: (
|
|
176
|
-
switchColorClass: (
|
|
176
|
+
switchColor: (o) => o ? "var(--el-color-primary)" : "var(--el-color-info)",
|
|
177
|
+
switchColorClass: (o) => o ? "primary" : "info",
|
|
177
178
|
toStateInf: E
|
|
178
179
|
};
|
|
179
180
|
}
|
|
180
181
|
export {
|
|
181
|
-
|
|
182
|
+
eo as a,
|
|
182
183
|
_ as c,
|
|
183
|
-
|
|
184
|
+
oo as u
|
|
184
185
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as m, ref as u, computed as e, openBlock as f, createBlock as d, mergeProps as _, unref as g } from "vue";
|
|
2
|
+
import { I as C } from "./property-base-847bea01.js";
|
|
3
|
+
import { e as s, d as v } from "./obj-469b8636.js";
|
|
4
|
+
import { u as P } from "./index-2cc63818.js";
|
|
5
|
+
import { _ as L } from "./common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-1f8ca7a0.js";
|
|
6
|
+
import { p as h, w as k } from "./expression-cf83c895.js";
|
|
7
|
+
import "./enum-type-50a08ddf.js";
|
|
8
|
+
import "./enum-type-339a584b.js";
|
|
9
|
+
import "./baseImp-d6a218bb.js";
|
|
10
|
+
import "./icon-6342f929.js";
|
|
11
|
+
import "./dialog-24d066bb.js";
|
|
12
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
+
import "./uuid-d9f857bf.js";
|
|
14
|
+
import "element-plus";
|
|
15
|
+
import "./optionItem-94e8e557.js";
|
|
16
|
+
import "./index-f328b549.js";
|
|
17
|
+
import "./editor-wrapper-8027ed75.js";
|
|
18
|
+
import "./share-event-2000a2e4.js";
|
|
19
|
+
import "./emitter-22bcad26.js";
|
|
20
|
+
import "./share-editor-2b290a2a.js";
|
|
21
|
+
import "./index-6d72c605.js";
|
|
22
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
+
import "./source-map-b04aec4a.js";
|
|
24
|
+
import "./esprima-e8d15055.js";
|
|
25
|
+
const w = m({ componentName: k.PropertyEditor }), S = /* @__PURE__ */ m({
|
|
26
|
+
...w,
|
|
27
|
+
__name: "customClass-editor",
|
|
28
|
+
props: { ...C },
|
|
29
|
+
setup(i) {
|
|
30
|
+
const p = i, { handleEvent: a, getCssClassList: n } = P(p.designer), o = u([]);
|
|
31
|
+
o.value = s(n());
|
|
32
|
+
const c = e(() => {
|
|
33
|
+
var r;
|
|
34
|
+
return (r = o.value) == null ? void 0 : r.map((t) => ({ value: t, label: t }));
|
|
35
|
+
}), l = e(() => {
|
|
36
|
+
var r = s(p.propConfig);
|
|
37
|
+
return v(r, { data: c.value });
|
|
38
|
+
});
|
|
39
|
+
return a(h.pageCssUpdated, (r) => {
|
|
40
|
+
o.value = r;
|
|
41
|
+
}), (r, t) => (f(), d(L, _(r.$props, { "prop-config": g(l) }), null, 16, ["prop-config"]));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
S as default
|
|
46
|
+
};
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { defineComponent as _, computed as x, resolveComponent as z, openBlock as n, createBlock as u, mergeProps as c, unref as e, withCtx as I, isRef as K, toHandlers as T } from "vue";
|
|
2
|
-
import { c as f,
|
|
3
|
-
import { l as B, t as E } from "./uuid-
|
|
2
|
+
import { c as f, a as h } from "./enum-type-339a584b.js";
|
|
3
|
+
import { l as B, t as E } from "./uuid-d9f857bf.js";
|
|
4
4
|
import { I as W } from "./field-base-5547436d.js";
|
|
5
|
-
import { c as H } from "./share-field-
|
|
6
|
-
import M from "./form-item-wrapper-
|
|
7
|
-
import { w as N } from "./expression-
|
|
5
|
+
import { c as H } from "./share-field-081900cb.js";
|
|
6
|
+
import M from "./form-item-wrapper-f8359511.js";
|
|
7
|
+
import { w as N } from "./expression-cf83c895.js";
|
|
8
|
+
import "./obj-469b8636.js";
|
|
8
9
|
import "./widget-base-4c2d6265.js";
|
|
9
|
-
import "./emitter-
|
|
10
|
+
import "./emitter-22bcad26.js";
|
|
10
11
|
import "./icon-6342f929.js";
|
|
11
|
-
import "./baseImp-
|
|
12
|
-
import "./enum-type-
|
|
13
|
-
import "./dialog-
|
|
12
|
+
import "./baseImp-d6a218bb.js";
|
|
13
|
+
import "./enum-type-50a08ddf.js";
|
|
14
|
+
import "./dialog-24d066bb.js";
|
|
14
15
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
16
|
import "element-plus";
|
|
16
|
-
import "./slot-
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./optionItem-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./multirow-
|
|
22
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
23
|
-
import "./index-
|
|
17
|
+
import "./slot-ad34bf62.js";
|
|
18
|
+
import "./index-9bf39185.js";
|
|
19
|
+
import "./index-2cc63818.js";
|
|
20
|
+
import "./optionItem-94e8e557.js";
|
|
21
|
+
import "./index-f328b549.js";
|
|
22
|
+
import "./multirow-60333a37.js";
|
|
23
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
24
|
+
import "./index-6d72c605.js";
|
|
24
25
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import "./fieldobj-
|
|
26
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
26
|
+
import "./fieldobj-fe7d8eae.js";
|
|
27
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js";
|
|
27
28
|
import "./source-map-b04aec4a.js";
|
|
28
29
|
import "./esprima-e8d15055.js";
|
|
29
|
-
const R = _({ componentName: N.FieldWidget }),
|
|
30
|
+
const R = _({ componentName: N.FieldWidget }), ye = /* @__PURE__ */ _({
|
|
30
31
|
...R,
|
|
31
32
|
__name: "date-picker-range-widget",
|
|
32
33
|
props: { ...W },
|
|
@@ -82,5 +83,5 @@ const R = _({ componentName: N.FieldWidget }), _e = /* @__PURE__ */ _({
|
|
|
82
83
|
}
|
|
83
84
|
});
|
|
84
85
|
export {
|
|
85
|
-
|
|
86
|
+
ye as default
|
|
86
87
|
};
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { defineComponent as I, computed as x, resolveComponent as H, openBlock as a, createBlock as m, mergeProps as n, unref as e, withCtx as u, isRef as S, toHandlers as w, createSlots as O, renderList as D, resolveDynamicComponent as N, createCommentVNode as P } from "vue";
|
|
2
|
-
import { c as T,
|
|
2
|
+
import { c as T, a as b } from "./enum-type-339a584b.js";
|
|
3
3
|
import { I as L } from "./field-base-5547436d.js";
|
|
4
|
-
import { c as R } from "./share-field-
|
|
5
|
-
import $ from "./form-item-wrapper-
|
|
6
|
-
import { w as A } from "./expression-
|
|
7
|
-
import { g as E } from "./slot-
|
|
8
|
-
import { q as G } from "./enum-type-
|
|
9
|
-
import { k as J, t as Q } from "./uuid-
|
|
4
|
+
import { c as R } from "./share-field-081900cb.js";
|
|
5
|
+
import $ from "./form-item-wrapper-f8359511.js";
|
|
6
|
+
import { w as A } from "./expression-cf83c895.js";
|
|
7
|
+
import { g as E } from "./slot-ad34bf62.js";
|
|
8
|
+
import { q as G } from "./enum-type-50a08ddf.js";
|
|
9
|
+
import { k as J, t as Q } from "./uuid-d9f857bf.js";
|
|
10
|
+
import "./obj-469b8636.js";
|
|
10
11
|
import "./widget-base-4c2d6265.js";
|
|
11
|
-
import "./emitter-
|
|
12
|
+
import "./emitter-22bcad26.js";
|
|
12
13
|
import "./icon-6342f929.js";
|
|
13
|
-
import "./baseImp-
|
|
14
|
-
import "./dialog-
|
|
14
|
+
import "./baseImp-d6a218bb.js";
|
|
15
|
+
import "./dialog-24d066bb.js";
|
|
15
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
17
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./optionItem-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./multirow-
|
|
21
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
22
|
-
import "./index-
|
|
18
|
+
import "./index-2cc63818.js";
|
|
19
|
+
import "./optionItem-94e8e557.js";
|
|
20
|
+
import "./index-f328b549.js";
|
|
21
|
+
import "./multirow-60333a37.js";
|
|
22
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
23
|
+
import "./index-6d72c605.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-fe7d8eae.js";
|
|
26
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js";
|
|
26
27
|
import "./source-map-b04aec4a.js";
|
|
27
28
|
import "./esprima-e8d15055.js";
|
|
28
|
-
import "./index-
|
|
29
|
-
const X = I({ componentName: A.FieldWidget }),
|
|
29
|
+
import "./index-9bf39185.js";
|
|
30
|
+
const X = I({ componentName: A.FieldWidget }), we = /* @__PURE__ */ I({
|
|
30
31
|
...X,
|
|
31
32
|
__name: "date-picker-widget",
|
|
32
33
|
props: { ...L },
|
|
@@ -113,5 +114,5 @@ const X = I({ componentName: A.FieldWidget }), Se = /* @__PURE__ */ I({
|
|
|
113
114
|
}
|
|
114
115
|
});
|
|
115
116
|
export {
|
|
116
|
-
|
|
117
|
+
we as default
|
|
117
118
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8b0fcd83.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./enum-type-339a584b.js";
|
|
4
|
+
import "./obj-469b8636.js";
|
|
5
|
+
import "./field-base-5547436d.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
8
|
+
import "./index-2cc63818.js";
|
|
9
|
+
import "./uuid-d9f857bf.js";
|
|
10
|
+
import "./enum-type-50a08ddf.js";
|
|
11
|
+
import "./optionItem-94e8e557.js";
|
|
12
|
+
import "./baseImp-d6a218bb.js";
|
|
13
|
+
import "./expression-cf83c895.js";
|
|
14
|
+
import "./source-map-b04aec4a.js";
|
|
15
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
+
import "./esprima-e8d15055.js";
|
|
17
|
+
import "./icon-6342f929.js";
|
|
18
|
+
import "./dialog-24d066bb.js";
|
|
19
|
+
import "element-plus";
|
|
20
|
+
import "./index-f328b549.js";
|
|
21
|
+
import "./index-6d72c605.js";
|
|
22
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
+
import "./fieldobj-fe7d8eae.js";
|
|
24
|
+
import "./slot-ad34bf62.js";
|
|
25
|
+
import "./index-9bf39185.js";
|
|
26
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js";
|
|
27
|
+
import "./drag-wrapper-be4fc6c6.js";
|
|
28
|
+
export {
|
|
29
|
+
o as default
|
|
30
|
+
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { defineComponent as P, computed as V, openBlock as d, createBlock as f, normalizeProps as N, guardReactiveProps as B, withCtx as c, resolveDynamicComponent as u, mergeProps as g, toHandlers as D, createSlots as W, renderList as S, unref as O, createElementBlock as I, Fragment as E, renderSlot as H, createVNode as v, createCommentVNode as b } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a as K } from "./enum-type-339a584b.js";
|
|
3
|
+
import { b as L } from "./obj-469b8636.js";
|
|
3
4
|
import { I as R } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { s as w, w as q } from "./expression-
|
|
6
|
-
import { g as C } from "./slot-
|
|
7
|
-
import { _ as G } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as J } from "./fieldobj-
|
|
9
|
-
import { D as M } from "./drag-wrapper-
|
|
10
|
-
const Q = P({ componentName: q.FieldWidget }),
|
|
5
|
+
import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
6
|
+
import { s as w, w as q } from "./expression-cf83c895.js";
|
|
7
|
+
import { g as C } from "./slot-ad34bf62.js";
|
|
8
|
+
import { _ as G } from "./content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js";
|
|
9
|
+
import { u as J } from "./fieldobj-fe7d8eae.js";
|
|
10
|
+
import { D as M } from "./drag-wrapper-be4fc6c6.js";
|
|
11
|
+
const Q = P({ componentName: q.FieldWidget }), ae = /* @__PURE__ */ P({
|
|
11
12
|
...Q,
|
|
12
13
|
__name: "default-slot-widget",
|
|
13
14
|
props: { ...R },
|
|
@@ -73,5 +74,5 @@ const Q = P({ componentName: q.FieldWidget }), ne = /* @__PURE__ */ P({
|
|
|
73
74
|
}
|
|
74
75
|
});
|
|
75
76
|
export {
|
|
76
|
-
|
|
77
|
+
ae as _
|
|
77
78
|
};
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { defineComponent as d, resolveComponent as m, openBlock as t, createBlock as i, mergeProps as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as d, resolveComponent as m, openBlock as t, createBlock as i, mergeProps as p, unref as r, withCtx as o, toHandlers as z, createSlots as D, createElementBlock as E, Fragment as F, renderList as l, createElementVNode as O, createTextVNode as P, toDisplayString as v, resolveDynamicComponent as x, createCommentVNode as B, createVNode as H } from "vue";
|
|
2
|
+
import { a as I } from "./enum-type-339a584b.js";
|
|
3
3
|
import { I as L } from "./field-base-5547436d.js";
|
|
4
|
-
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { c as $ } from "./share-field-
|
|
6
|
-
import { w as A } from "./expression-
|
|
7
|
-
import { g as M } from "./slot-
|
|
8
|
-
import { D as W } from "./drag-wrapper-
|
|
9
|
-
import { P as K } from "./baseImp-
|
|
4
|
+
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js";
|
|
5
|
+
import { c as $ } from "./share-field-081900cb.js";
|
|
6
|
+
import { w as A } from "./expression-cf83c895.js";
|
|
7
|
+
import { g as M } from "./slot-ad34bf62.js";
|
|
8
|
+
import { D as W } from "./drag-wrapper-be4fc6c6.js";
|
|
9
|
+
import { P as K } from "./baseImp-d6a218bb.js";
|
|
10
|
+
import "./obj-469b8636.js";
|
|
10
11
|
import "./widget-base-4c2d6265.js";
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./uuid-
|
|
13
|
-
import "./enum-type-
|
|
14
|
-
import "./optionItem-
|
|
15
|
-
import "./index-
|
|
12
|
+
import "./index-2cc63818.js";
|
|
13
|
+
import "./uuid-d9f857bf.js";
|
|
14
|
+
import "./enum-type-50a08ddf.js";
|
|
15
|
+
import "./optionItem-94e8e557.js";
|
|
16
|
+
import "./index-f328b549.js";
|
|
16
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
|
-
import "./index-
|
|
18
|
+
import "./index-6d72c605.js";
|
|
18
19
|
import "./icon-6342f929.js";
|
|
19
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
20
|
-
import "./fieldobj-
|
|
21
|
-
import "./emitter-
|
|
22
|
-
import "./multirow-
|
|
21
|
+
import "./fieldobj-fe7d8eae.js";
|
|
22
|
+
import "./emitter-22bcad26.js";
|
|
23
|
+
import "./multirow-60333a37.js";
|
|
23
24
|
import "./source-map-b04aec4a.js";
|
|
24
25
|
import "./esprima-e8d15055.js";
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./dialog-
|
|
26
|
+
import "./index-9bf39185.js";
|
|
27
|
+
import "./dialog-24d066bb.js";
|
|
27
28
|
import "element-plus";
|
|
28
|
-
const q = ["innerHTML"], G = d({ componentName: A.FieldWidget }),
|
|
29
|
+
const q = ["innerHTML"], G = d({ componentName: A.FieldWidget }), Ce = /* @__PURE__ */ d({
|
|
29
30
|
...G,
|
|
30
31
|
__name: "descriptions-widget",
|
|
31
32
|
props: { ...L },
|
|
32
33
|
setup(c, { expose: f }) {
|
|
33
34
|
const u = c, { exposed: g, fieldEditor: _, fieldKey: y, attrs: k, events: V, slots: b, optionItems: w, extendAttrs: C, fieldObj: N } = $(u);
|
|
34
|
-
return f({ ...g }), (
|
|
35
|
+
return f({ ...g }), (n, J) => {
|
|
35
36
|
const S = m("el-descriptions-item"), h = m("el-descriptions");
|
|
36
|
-
return t(), i(T, n
|
|
37
|
+
return t(), i(T, p(n.$props, {
|
|
37
38
|
propOptions: { fieldObj: r(N) }
|
|
38
39
|
}), {
|
|
39
40
|
default: o(({ data: s }) => {
|
|
40
41
|
var a;
|
|
41
42
|
return [
|
|
42
|
-
(t(), i(h,
|
|
43
|
+
(t(), i(h, p({
|
|
43
44
|
ref_key: "fieldEditor",
|
|
44
45
|
ref: _,
|
|
45
46
|
key: r(y)
|
|
@@ -49,7 +50,7 @@ const q = ["innerHTML"], G = d({ componentName: A.FieldWidget }), we = /* @__PUR
|
|
|
49
50
|
style: s.injectStyle
|
|
50
51
|
}), D({
|
|
51
52
|
default: o(() => [
|
|
52
|
-
(t(!0), E(F, null, l(r(w), (e, j) => (t(), i(S,
|
|
53
|
+
(t(!0), E(F, null, l(r(w), (e, j) => (t(), i(S, p({ key: j }, e), {
|
|
53
54
|
default: o(() => [
|
|
54
55
|
O("span", {
|
|
55
56
|
innerHTML: r(K).getValue(e == null ? void 0 : e.content)
|
|
@@ -63,11 +64,11 @@ const q = ["innerHTML"], G = d({ componentName: A.FieldWidget }), we = /* @__PUR
|
|
|
63
64
|
]),
|
|
64
65
|
_: 2
|
|
65
66
|
}, [
|
|
66
|
-
l(r(M)(r(b),
|
|
67
|
+
l(r(M)(r(b), n.designState, (a = r(C)) == null ? void 0 : a.slotable), (e) => ({
|
|
67
68
|
name: e.slotName,
|
|
68
69
|
fn: o(() => [
|
|
69
70
|
e != null && e.default ? (t(), i(x(e == null ? void 0 : e.default), { key: 0 })) : B("", !0),
|
|
70
|
-
H(W, n
|
|
71
|
+
H(W, p(n.$props, {
|
|
71
72
|
widget: e,
|
|
72
73
|
"drag-class": "dragSize1",
|
|
73
74
|
"drag-tip": r(I).i18nt("designer.hint.draggableArea1")
|
|
@@ -83,5 +84,5 @@ const q = ["innerHTML"], G = d({ componentName: A.FieldWidget }), we = /* @__PUR
|
|
|
83
84
|
}
|
|
84
85
|
});
|
|
85
86
|
export {
|
|
86
|
-
|
|
87
|
+
Ce as default
|
|
87
88
|
};
|