hldesigner 0.0.294 → 0.0.296
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-6d272319.js → _pdf-1b95fb5d.js} +13 -12
- package/{_share_image-707deb7b.js → _share_image-0ca0ad96.js} +2 -2
- package/{_share_size.vue_vue_type_script_setup_true_lang-198b6412.js → _share_size.vue_vue_type_script_setup_true_lang-25e38d41.js} +3 -3
- package/{_txt-14955ea9.js → _txt-170bb7d6.js} +8 -7
- package/{_unsupport-8b411d51.js → _unsupport-1309283f.js} +2 -2
- package/{affix-widget-b164f66f.js → affix-widget-a1e94961.js} +25 -24
- package/{alert-widget-a5b38a7f.js → alert-widget-e89962f3.js} +25 -24
- package/{anchor-widget-cb79aead.js → anchor-widget-2666cfcb.js} +22 -21
- package/{auto-complete-widget-2b5c9b04.js → auto-complete-widget-f19efc93.js} +25 -24
- package/avatar-widget-d1f582e7.js +49 -0
- package/{backtop-widget-54df7811.js → backtop-widget-800b83e2.js} +25 -24
- package/{badge-widget-b3e2b84e.js → badge-widget-3dfede47.js} +28 -27
- package/{barcode-widget-c9539f20.js → barcode-widget-1a9a8e4a.js} +23 -22
- package/{baseImp-7f0c4121.js → baseCommonField-607f46b1.js} +3567 -3903
- package/baseDataType-af503f9f.js +4 -0
- package/{breadcrumb-widget-966a5b98.js → breadcrumb-widget-72fc4371.js} +28 -27
- package/{button-widget-b29f2836.js → button-widget-3f9aebd6.js} +25 -24
- package/{cache-widget-8cdf6bb3.js → cache-widget-4446b135.js} +24 -23
- package/{card-widget-635325c2.js → card-widget-ce3e3897.js} +40 -39
- package/{carousel-widget-a7f37b1e.js → carousel-widget-cc0ed1e7.js} +23 -22
- package/{cascader-widget-8bb5f9db.js → cascader-widget-d1fc3ca0.js} +24 -23
- package/{chart-widget-fb1a670b.js → chart-widget-85cb8854.js} +48 -47
- package/{checkbox-widget-52c61029.js → checkbox-widget-db3afa9b.js} +31 -30
- package/codeType-e06c2bb4.js +4 -0
- package/{collapse-widget-a4d2945d.js → collapse-widget-8779845e.js} +29 -28
- package/{color-picker-widget-c7d26f46.js → color-picker-widget-f745a9cd.js} +24 -23
- package/common-editor-353641ab.js +30 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-cd2508fd.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-8352d795.js} +2 -2
- package/{configItem-e39cd3bb.js → configItem-7889264b.js} +51 -50
- package/{cont-cell-widget-d4a89c8a.js → cont-cell-widget-d44e04d3.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a72224f3.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5288fd3.js} +5 -5
- package/{cont-widget-c1e4feae.js → cont-widget-18cd3de8.js} +5 -5
- package/content-wrapper-36adcccb.js +19 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-74a9ce66.js → content-wrapper.vue_vue_type_script_setup_true_lang-88a3a92e.js} +7 -7
- package/countdown-widget-8716e1ba.js +61 -0
- package/{css-editor-1b37b14b.js → css-editor-53b67144.js} +80 -77
- package/{cssClass-de753b04.js → cssClass-1492660e.js} +2 -2
- package/cssIndex-4c169331.js +160 -0
- package/{customClass-editor-30844eef.js → customClass-editor-b910c95b.js} +22 -20
- package/{date-picker-range-widget-68c22748.js → date-picker-range-widget-2278cad8.js} +33 -32
- package/{date-picker-widget-4532430c.js → date-picker-widget-d361f6f3.js} +34 -33
- package/default-slot-widget-9312050d.js +33 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7903c803.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7e67d1a4.js} +8 -8
- package/{descriptions-widget-ec41f960.js → descriptions-widget-e3e0d806.js} +23 -22
- package/designer.es.js +40 -40
- package/designer.style.css +2 -2
- package/designer.umd.js +327 -327
- package/{dialog-f67b0d8f.js → dialog-abd1055d.js} +2 -2
- package/dialog-widget-3e040d0f.js +41 -0
- package/divider-widget-4037971b.js +55 -0
- package/{drag-wrapper-04c5f241.js → drag-wrapper-a7ac11e7.js} +21 -21
- package/drawer-widget-3b223a9b.js +41 -0
- package/{dropdown-widget-9c81e135.js → dropdown-widget-7b107117.js} +23 -22
- package/{editor-wrapper-e4b65100.js → editor-wrapper-412921da.js} +99 -100
- package/{emitter-2e6d5612.js → emitter-752d9612.js} +1 -1
- package/{empty-widget-631442f5.js → empty-widget-03dc45a4.js} +25 -24
- package/{enum-type-e32f6d55.js → enum-669d691c.js} +344 -351
- package/{expression-5df4780f.js → expression-185552e1.js} +1562 -1386
- package/feedback-widget-c555aa07.js +34 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a365a6c2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-664151d2.js} +6 -6
- package/{field-editor-98dd0a48.js → field-editor-01ad04f5.js} +22 -20
- package/{fieldobj-e04fe3b7.js → fieldobj-097a7c28.js} +7 -7
- package/{file-upload-widget-2a7f1bc3.js → file-upload-widget-132d811f.js} +29 -28
- package/{form-item-wrapper-fd97d391.js → form-item-wrapper-e095f173.js} +18 -17
- package/{form-widget-8289b9c1.js → form-widget-3e609e45.js} +45 -45
- package/{global-provide-inject-f7c2434f.js → globalProvideInject-f72c46e1.js} +1 -1
- package/{grid-col-widget-1bce9b22.js → grid-col-widget-07f9934e.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-91bc4542.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e758879c.js} +5 -5
- package/{grid-widget-6d7246c3.js → grid-widget-fcdf2ff1.js} +5 -5
- package/{hcard-widget-64f8b247.js → hcard-widget-25a74183.js} +29 -28
- package/{html-text-widget-4783ce1e.js → html-text-widget-3f9a7049.js} +23 -22
- package/{icon-widget-6bdfa4d3.js → icon-widget-6428cc00.js} +26 -25
- package/iframe-widget-beb764f8.js +138 -0
- package/image-editor-82e3d316.js +55 -0
- package/{image-widget-8158689d.js → image-widget-e340b551.js} +22 -21
- package/{index-3e27dbc2.js → index-05b3b9ca.js} +32 -31
- package/{enum-type-eeb2dcbd.js → index-0fea97a8.js} +311 -111
- package/index-1071c4c7.js +83 -0
- package/{index-3dabfdc0.js → index-1a4f56dd.js} +63 -62
- package/index-436cc07a.js +265 -0
- package/{index-bcac9980.js → index-5728cd3c.js} +24 -23
- package/{index-e0d0fa2e.js → index-61d6c848.js} +1 -1
- package/{index-a26bf6de.js → index-68c3c04e.js} +219 -218
- package/{index-6f2e7cc2.js → index-69b23b46.js} +46 -45
- package/index-6fb8d595.js +80 -0
- package/{index-397967db.js → index-730f8497.js} +18 -16
- package/{index-6aa18a15.js → index-7766bc2f.js} +106 -106
- package/{index-0504bd3a.js → index-79a0163e.js} +12 -11
- package/{index-73758a90.js → index-8cfb6a9c.js} +1 -1
- package/{index-290ac037.js → index-9254507b.js} +27 -26
- package/{index-afd82448.js → index-9b56c1e6.js} +22 -20
- package/index-a1324d15.js +1350 -0
- package/{index-03c22bc5.js → index-a1c1b668.js} +45 -43
- package/{index-74ce0e3c.js → index-a565454e.js} +7 -7
- package/{index-1878e33f.js → index-ac413547.js} +46 -45
- package/index-b55657c0.js +351 -0
- package/{index-bca6580c.js → index-b82a7942.js} +32 -30
- package/index-cd781075.js +239 -0
- package/{index-b236e386.js → index-e207955c.js} +22 -21
- package/{index-cd822487.js → index-f5e76d4f.js} +13 -12
- package/{index-0409d23f.js → index-fcc4373b.js} +59 -59
- package/{input-number-widget-0f414e2c.js → input-number-widget-8cc70bb5.js} +27 -26
- package/{input-tag-widget-ad3eb896.js → input-tag-widget-f9b11b33.js} +25 -24
- package/{input-widget-469c5464.js → input-widget-f29e34fc.js} +25 -24
- package/{install-designer-13ab516e.js → install-designer-90c18b43.js} +1911 -1799
- package/{item-fb474622.js → item-20a8e244.js} +11 -10
- package/{itemDetail-f887bfaf.js → itemDetail-b08a6256.js} +17 -16
- package/{label-wrapper-acfc937a.js → label-wrapper-cc5b374b.js} +7 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e81392d8.js → label-wrapper.vue_vue_type_style_index_0_lang-270c6e23.js} +3 -3
- package/{link-widget-ad7f38d9.js → link-widget-46bb53ba.js} +25 -24
- package/{ltable-col-widget-dcd79046.js → ltable-col-widget-85158af5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d48e107e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d200a6a8.js} +9 -9
- package/{ltable-widget-80a365bc.js → ltable-widget-58330976.js} +11 -11
- package/{mask-bdcecc2d.js → mask-38100676.js} +1 -1
- package/{mention-widget-1d31da3b.js → mention-widget-6c235170.js} +25 -24
- package/{menu-widget-b47ae070.js → menu-widget-bd1fa158.js} +42 -41
- package/{model-widget-151836f0.js → model-widget-b4364744.js} +22 -21
- package/multirow-7d028dd0.js +182 -0
- package/{multirow-widget-b7c6bc11.js → multirow-widget-aeb02101.js} +87 -86
- package/{name-editor-9862d519.js → name-editor-3a3747f6.js} +52 -50
- package/nameCase-2134ee3e.js +33 -0
- package/object-751045cf.js +44 -0
- package/{optionItem-0afcf797.js → optionItem-8e1d0080.js} +809 -474
- package/package.json +1 -1
- package/{pagination-widget-4af8fa55.js → pagination-widget-bcbb95e0.js} +29 -28
- package/{picture-upload-widget-01d4477b.js → picture-upload-widget-1e2240d2.js} +47 -46
- package/{progress-widget-87bf7089.js → progress-widget-d3e2e116.js} +30 -29
- package/{property-base-9cb6f0af.js → property-base-eaed8cbe.js} +15 -16
- package/px-8e97b0e9.js +10 -0
- package/{qrcode-widget-e8a010b5.js → qrcode-widget-3ea4613b.js} +29 -28
- package/{radio-widget-d3d350f1.js → radio-widget-63540761.js} +33 -32
- package/{range-widget-0c8453ad.js → range-widget-e115e075.js} +30 -29
- package/{rate-widget-7c9f360b.js → rate-widget-2af29296.js} +24 -23
- package/{reg-editor.vue_vue_type_script_setup_true_lang-472581e2.js → reg-editor.vue_vue_type_script_setup_true_lang-420ed8ba.js} +4 -4
- package/{result-widget-c1ae2079.js → result-widget-e4217327.js} +23 -22
- package/{rich-editor-widget-31f4fd68.js → rich-editor-widget-e42dc6a2.js} +30 -29
- package/{router-widget-2889ec23.js → router-widget-7859980a.js} +22 -21
- package/{schemaData-7d14e9de.js → schemaData-602ab58d.js} +70 -69
- package/{segmented-widget-21f8a5c8.js → segmented-widget-4d90e11a.js} +40 -39
- package/{select-widget-f2e60d59.js → select-widget-268e6778.js} +24 -23
- package/{sfc-ca2f1573.js → sfc-c8bdbcc3.js} +32 -32
- package/{sfcview-79a20801.js → sfcview-7f974f98.js} +24 -23
- package/{share-editor-79be0fe3.js → share-editor-3caefde2.js} +55 -54
- package/{share-event-77717d69.js → share-event-0ac319f0.js} +2 -2
- package/share-field-f51ccb41.js +863 -0
- package/{share-file-bc8f56f8.js → share-file-ea94d84e.js} +20 -21
- package/size-editor-511e40a5.js +57 -0
- package/{skeleton-widget-c593fe7a.js → skeleton-widget-379c1a23.js} +25 -24
- package/{skeletonItem-widget-4550c4fe.js → skeletonItem-widget-70f95048.js} +22 -21
- package/{slider-widget-74a31030.js → slider-widget-e16ceea7.js} +24 -23
- package/{slot-2cdc3b54.js → slot-a11ba403.js} +5 -5
- package/{space-widget-ffc9eabc.js → space-widget-79e1ee5e.js} +40 -39
- package/{splitter-widget-fca00f2b.js → splitter-widget-6cde3a4c.js} +23 -22
- package/{static-text-widget-c682f482.js → static-text-widget-48a223a0.js} +23 -22
- package/{statistic-widget-1a8051c0.js → statistic-widget-04dbb84c.js} +25 -24
- package/{steps-widget-a445a201.js → steps-widget-ff9c8112.js} +22 -21
- package/{subMenu-widget-87d583a9.js → subMenu-widget-75b5b885.js} +10 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0255e3d5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-dff950d1.js} +18 -18
- package/{switch-widget-de893bf9.js → switch-widget-b4dfb30f.js} +29 -28
- package/{tab-pane-widget-a7374d75.js → tab-pane-widget-12393cec.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-434f9cf7.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-07a3da71.js} +5 -5
- package/table-col-widget-565631d2.js +30 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8c799d0f.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b83a4a39.js} +26 -27
- package/{table-widget-05b53a5f.js → table-widget-dba1ef32.js} +50 -48
- package/{tabs-widget-65ed6426.js → tabs-widget-8d497cb7.js} +8 -8
- package/{tag-widget-85bcce8f.js → tag-widget-7c023bb0.js} +25 -24
- package/{target-code-9a4699b1.js → target-code-24346bfc.js} +12 -11
- package/{target-datasource-94c64cbb.js → target-datasource-14df6047.js} +66 -65
- package/{target-link-88b4fd89.js → target-link-9472348b.js} +56 -55
- package/{target-saveForm-e1115d3f.js → target-saveForm-ddd0b24a.js} +71 -70
- package/{target-widget-5cf4403e.js → target-widget-426dbfe8.js} +2 -2
- package/{target-window-fb793bc8.js → target-window-bb03d3b5.js} +24 -23
- package/{text-widget-dd4f6b97.js → text-widget-e241f6be.js} +25 -24
- package/{textarea-widget-953b39e8.js → textarea-widget-5c288e26.js} +24 -23
- package/{time-picker-range-widget-30903551.js → time-picker-range-widget-4c18e0cf.js} +35 -35
- package/time-picker-widget-1e695b27.js +72 -0
- package/{time-select-widget-4dbe95ff.js → time-select-widget-055a902a.js} +24 -23
- package/{timeline-widget-476e9ea8.js → timeline-widget-881bf090.js} +23 -22
- package/{tmpl-widget-2cbd418b.js → tmpl-widget-f1bdf0a4.js} +36 -35
- package/{tooltip-widget-8b022a6d.js → tooltip-widget-32af6ae1.js} +23 -22
- package/{tour-widget-be2ef78d.js → tour-widget-18697c7d.js} +37 -36
- package/{transfer-widget-31ea801d.js → transfer-widget-04bb21a2.js} +25 -24
- package/{tree-select-widget-691c9cb6.js → tree-select-widget-4c63a180.js} +24 -23
- package/{tree-widget-15cddec7.js → tree-widget-9a8da624.js} +31 -30
- package/uuid-1013bfdd.js +16 -0
- package/{value-editor-676d7ca0.js → value-editor-ad4a9472.js} +29 -27
- package/{verifycode-widget-2cbb68e2.js → verifycode-widget-1e2f11f6.js} +49 -48
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js} +30 -30
- package/{wrapper-widget-40c40291.js → wrapper-widget-03be4616.js} +7 -7
- package/avatar-widget-00d2f77a.js +0 -48
- package/common-editor-96af86ea.js +0 -28
- package/content-wrapper-feb05971.js +0 -18
- package/countdown-widget-87ab2577.js +0 -60
- package/cssIndex-77da0ec7.js +0 -185
- package/default-slot-widget-4be80302.js +0 -32
- package/dialog-widget-bae25ba7.js +0 -40
- package/divider-widget-643e5787.js +0 -54
- package/drawer-widget-73902c82.js +0 -40
- package/feedback-widget-90fe8e26.js +0 -33
- package/iframe-widget-c6d453cc.js +0 -137
- package/image-editor-1e8036ad.js +0 -53
- package/index-08436ce4.js +0 -1445
- package/index-1c33c886.js +0 -230
- package/index-54eed7c3.js +0 -334
- package/index-64486ab5.js +0 -43
- package/index-fa15e4c8.js +0 -240
- package/index-fc1c67a3.js +0 -46
- package/multirow-89ec2174.js +0 -183
- package/obj-cc64f79c.js +0 -230
- package/setView-de8aaf40.js +0 -84
- package/share-field-4f3d4a0b.js +0 -879
- package/size-editor-99257b84.js +0 -54
- package/table-col-widget-35d0c1ba.js +0 -29
- package/time-picker-widget-3398f837.js +0 -71
- package/uuid-2f7814e3.js +0 -203
package/cssIndex-77da0ec7.js
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { S as H } from "./enum-type-e32f6d55.js";
|
|
2
|
-
import { p as J, g as Q } from "./index-73758a90.js";
|
|
3
|
-
import { c as X } from "./enum-type-eeb2dcbd.js";
|
|
4
|
-
import { o as U, d as B, h as Y, f as S, u as F, i as b, a as q } from "./obj-cc64f79c.js";
|
|
5
|
-
function $(N) {
|
|
6
|
-
return N.trim().replace(/[^a-zA-Z0-9]+(.)/g, (s, a) => a.toUpperCase()).replace(/^[A-Z]/, (s) => s.toLowerCase());
|
|
7
|
-
}
|
|
8
|
-
function G(N, s = "_") {
|
|
9
|
-
return N.replace(
|
|
10
|
-
/[A-Z]/g,
|
|
11
|
-
(a, E) => (E > 0 ? s : "") + a.toLowerCase()
|
|
12
|
-
).replace(/([a-z])([0-9])/g, `$1${s}$2`).replace(/([0-9])([a-z])/g, `$1${s}$2`);
|
|
13
|
-
}
|
|
14
|
-
function _(N, s = "camel") {
|
|
15
|
-
const a = N.replace(/[\s_-]+/g, " ").trim();
|
|
16
|
-
switch (s) {
|
|
17
|
-
case "camel":
|
|
18
|
-
return $(a);
|
|
19
|
-
case "pascal":
|
|
20
|
-
const E = $(a);
|
|
21
|
-
return E.charAt(0).toUpperCase() + E.slice(1);
|
|
22
|
-
case "snake":
|
|
23
|
-
return G($(a), "_");
|
|
24
|
-
case "kebab":
|
|
25
|
-
return G($(a), "-");
|
|
26
|
-
default:
|
|
27
|
-
throw new Error(`不支持的格式: ${s}`);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function oo() {
|
|
31
|
-
return {
|
|
32
|
-
splitNumericUnit: (s) => {
|
|
33
|
-
if (s === H.auto)
|
|
34
|
-
return {
|
|
35
|
-
original: s,
|
|
36
|
-
numeric: null,
|
|
37
|
-
unit: s,
|
|
38
|
-
valid: !0
|
|
39
|
-
};
|
|
40
|
-
const a = s == null ? void 0 : s.replace(/\s+/g, ""), E = a == null ? void 0 : a.match(/^(-?\d*\.?\d+)([^\d]*)$/);
|
|
41
|
-
if (!E)
|
|
42
|
-
return {
|
|
43
|
-
original: s,
|
|
44
|
-
numeric: null,
|
|
45
|
-
unit: "",
|
|
46
|
-
valid: !1
|
|
47
|
-
};
|
|
48
|
-
const L = parseFloat(E[1]), j = E[2] || "";
|
|
49
|
-
return {
|
|
50
|
-
original: s,
|
|
51
|
-
numeric: isNaN(L) ? null : L,
|
|
52
|
-
unit: j,
|
|
53
|
-
valid: j !== null && !isNaN(L)
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
function ro() {
|
|
59
|
-
const N = (o, w) => o == null ? void 0 : o.map((n) => {
|
|
60
|
-
var t;
|
|
61
|
-
let r = {};
|
|
62
|
-
return (t = Object.keys(n == null ? void 0 : n.declarations)) == null || t.forEach((d) => {
|
|
63
|
-
const u = n == null ? void 0 : n.declarations[d];
|
|
64
|
-
if (S(u))
|
|
65
|
-
return;
|
|
66
|
-
const i = _(d, w ? "camel" : "kebab");
|
|
67
|
-
r[i] = u;
|
|
68
|
-
}), { selector: n.selector, declarations: r };
|
|
69
|
-
}), s = (o) => new Promise((w) => {
|
|
70
|
-
J(o).then((n) => {
|
|
71
|
-
var r = N(n, !0);
|
|
72
|
-
w(r);
|
|
73
|
-
});
|
|
74
|
-
}), a = (o) => new Promise((w) => {
|
|
75
|
-
var r;
|
|
76
|
-
var n = N(o, !1);
|
|
77
|
-
(r = Q(n)) == null || r.then((t) => {
|
|
78
|
-
w(t);
|
|
79
|
-
});
|
|
80
|
-
}), E = (o) => new Promise((w) => {
|
|
81
|
-
const n = (r) => {
|
|
82
|
-
var K;
|
|
83
|
-
const t = ["top", "bottom", "left", "right"], d = (c) => S(c) ? [] : (c == null ? void 0 : c.split(" ")) || [], u = (c, e) => {
|
|
84
|
-
var T, m, M;
|
|
85
|
-
let h = {};
|
|
86
|
-
const f = c == null ? void 0 : c.toLowerCase();
|
|
87
|
-
if (["margin", "padding"].includes(f)) {
|
|
88
|
-
var l = d(e);
|
|
89
|
-
l && ((l == null ? void 0 : l.length) === 1 ? t == null || t.forEach((C) => {
|
|
90
|
-
var g = $(`${f}-${C}`);
|
|
91
|
-
b(r == null ? void 0 : r[g]) && (h[g] = e);
|
|
92
|
-
}) : (l == null ? void 0 : l.length) === 2 ? [["top", "bottom"], ["left", "right"]].forEach((C, g) => {
|
|
93
|
-
C == null || C.forEach((O) => {
|
|
94
|
-
var p = $(`${f}-${O}`);
|
|
95
|
-
b(r == null ? void 0 : r[p]) && (h[p] = l == null ? void 0 : l[g]);
|
|
96
|
-
});
|
|
97
|
-
}) : (l == null ? void 0 : l.length) > 2 && (t == null || t.forEach((C, g) => {
|
|
98
|
-
var O = $(`${f}-${C}`), p = l == null ? void 0 : l[g];
|
|
99
|
-
b(r == null ? void 0 : r[O]) && !b(p) && (h[O] = p);
|
|
100
|
-
})));
|
|
101
|
-
} else if (["border", "border-left", "border-right", "border-top", "border-bottom"].includes(f)) {
|
|
102
|
-
var [V, y, W] = d(e);
|
|
103
|
-
if (!b(V) && !b(y) && !b(W)) {
|
|
104
|
-
var P = f === "border" ? t : [(T = f.split("-")) == null ? void 0 : T[1]];
|
|
105
|
-
P == null || P.forEach((C) => {
|
|
106
|
-
var g = $(`${f}-${C}-width`), O = $(`${f}-${C}-style`), p = $(`${f}-${C}-color`);
|
|
107
|
-
b(r == null ? void 0 : r[g]) && (h[g] = V), b(r == null ? void 0 : r[O]) && (h[O] = y), b(r == null ? void 0 : r[p]) && (h[p] = W);
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
} else if (["border-radius"].includes(f))
|
|
111
|
-
["top-left", "top-right", "bottom-let", "bottom-right"].forEach((C) => {
|
|
112
|
-
var g = $(`border-${C}-radius`);
|
|
113
|
-
b(r == null ? void 0 : r[g]) && (h[g] = e);
|
|
114
|
-
});
|
|
115
|
-
else if (["background"].includes(f)) {
|
|
116
|
-
var [Z, z] = d(e);
|
|
117
|
-
S(Z) || (h.backgroundColor = Z), !S(z) && q(z) && (h.backgroundImage = (m = z == null ? void 0 : z.replace("url(", "")) == null ? void 0 : m.replace(")", ""));
|
|
118
|
-
} else if (["opacity"].includes(f)) {
|
|
119
|
-
if (!e.endsWith("%")) {
|
|
120
|
-
var D = parseFloat(e);
|
|
121
|
-
isNaN(D) || (h[c] = `${D * 100}%`);
|
|
122
|
-
}
|
|
123
|
-
} else
|
|
124
|
-
["backgroundimage"].includes(f) && !S(e) && q(e) && (h[c] = (M = e == null ? void 0 : e.replace("url(", "")) == null ? void 0 : M.replace(")", ""));
|
|
125
|
-
return h;
|
|
126
|
-
};
|
|
127
|
-
let i = {};
|
|
128
|
-
return (K = U(r)) == null || K.forEach((c) => {
|
|
129
|
-
if (!c)
|
|
130
|
-
return;
|
|
131
|
-
const e = r == null ? void 0 : r[c];
|
|
132
|
-
S(e) || B(i, u(c, e));
|
|
133
|
-
}), i;
|
|
134
|
-
};
|
|
135
|
-
s(o).then((r) => {
|
|
136
|
-
let t = {};
|
|
137
|
-
["active", "focus", "hover", "default"].forEach((d) => {
|
|
138
|
-
var K, c;
|
|
139
|
-
const u = d === "default" ? ":root" : ":root:" + d;
|
|
140
|
-
var i = (K = r == null ? void 0 : r.find((e) => (e == null ? void 0 : e.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];
|
|
142
|
-
}), w(t);
|
|
143
|
-
});
|
|
144
|
-
}), L = (o) => new Promise((w) => {
|
|
145
|
-
const n = [], r = (u, i) => {
|
|
146
|
-
const K = u == null ? void 0 : u.toLowerCase();
|
|
147
|
-
if (["opacity"].includes(K)) {
|
|
148
|
-
if (i != null && i.endsWith("%")) {
|
|
149
|
-
var c = parseFloat(i.replace("%", ""));
|
|
150
|
-
isNaN(c) || (i = c / 100);
|
|
151
|
-
}
|
|
152
|
-
} else
|
|
153
|
-
["backgroundimage"].includes(K) && (i != null && i.startsWith("url(") || (i = `url(${i})`));
|
|
154
|
-
return { [u]: i };
|
|
155
|
-
}, t = (u) => {
|
|
156
|
-
var c;
|
|
157
|
-
let i = {};
|
|
158
|
-
var K = ["margin", "padding", "border", "borderradius", "background"];
|
|
159
|
-
return (c = U(u)) == null || c.forEach((e) => {
|
|
160
|
-
if (!e || K.includes(e == null ? void 0 : e.toLocaleLowerCase()))
|
|
161
|
-
return;
|
|
162
|
-
let h = u == null ? void 0 : u[e];
|
|
163
|
-
S(h) || B(i, r(e, h));
|
|
164
|
-
}), i;
|
|
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);
|
|
167
|
-
});
|
|
168
|
-
return {
|
|
169
|
-
changeListener: (o) => new Promise((w) => {
|
|
170
|
-
L(o).then((n) => {
|
|
171
|
-
a(n).then((r) => {
|
|
172
|
-
w(r);
|
|
173
|
-
});
|
|
174
|
-
});
|
|
175
|
-
}),
|
|
176
|
-
switchColor: (o) => o ? "var(--el-color-primary)" : "var(--el-color-info)",
|
|
177
|
-
switchColorClass: (o) => o ? "primary" : "info",
|
|
178
|
-
toStateInf: E
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
export {
|
|
182
|
-
ro as a,
|
|
183
|
-
_ as c,
|
|
184
|
-
oo as u
|
|
185
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7903c803.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./enum-type-eeb2dcbd.js";
|
|
4
|
-
import "./obj-cc64f79c.js";
|
|
5
|
-
import "./field-base-66c90648.js";
|
|
6
|
-
import "./widget-base-df734ada.js";
|
|
7
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js";
|
|
8
|
-
import "./expression-5df4780f.js";
|
|
9
|
-
import "./source-map-b04aec4a.js";
|
|
10
|
-
import "./uuid-2f7814e3.js";
|
|
11
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
-
import "./esprima-e8d15055.js";
|
|
13
|
-
import "./index-08436ce4.js";
|
|
14
|
-
import "./enum-type-e32f6d55.js";
|
|
15
|
-
import "./optionItem-0afcf797.js";
|
|
16
|
-
import "./baseImp-7f0c4121.js";
|
|
17
|
-
import "./icon-8b8b9744.js";
|
|
18
|
-
import "axios";
|
|
19
|
-
import "./dialog-f67b0d8f.js";
|
|
20
|
-
import "element-plus";
|
|
21
|
-
import "./index-e0d0fa2e.js";
|
|
22
|
-
import "./index-74ce0e3c.js";
|
|
23
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
24
|
-
import "./fieldobj-e04fe3b7.js";
|
|
25
|
-
import "./global-provide-inject-f7c2434f.js";
|
|
26
|
-
import "./slot-2cdc3b54.js";
|
|
27
|
-
import "./index-73758a90.js";
|
|
28
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-74a9ce66.js";
|
|
29
|
-
import "./drag-wrapper-04c5f241.js";
|
|
30
|
-
export {
|
|
31
|
-
o as default
|
|
32
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, openBlock as p, createBlock as t, mergeProps as i } from "vue";
|
|
2
|
-
import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a365a6c2.js";
|
|
3
|
-
import { I as e } from "./widget-base-df734ada.js";
|
|
4
|
-
import "./drag-wrapper-04c5f241.js";
|
|
5
|
-
import "./obj-cc64f79c.js";
|
|
6
|
-
import "./enum-type-eeb2dcbd.js";
|
|
7
|
-
import "./baseImp-7f0c4121.js";
|
|
8
|
-
import "./enum-type-e32f6d55.js";
|
|
9
|
-
import "./expression-5df4780f.js";
|
|
10
|
-
import "./source-map-b04aec4a.js";
|
|
11
|
-
import "./uuid-2f7814e3.js";
|
|
12
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./icon-8b8b9744.js";
|
|
15
|
-
import "axios";
|
|
16
|
-
import "./dialog-f67b0d8f.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-08436ce4.js";
|
|
19
|
-
import "./optionItem-0afcf797.js";
|
|
20
|
-
import "./index-e0d0fa2e.js";
|
|
21
|
-
import "./global-provide-inject-f7c2434f.js";
|
|
22
|
-
import "./slot-2cdc3b54.js";
|
|
23
|
-
import "./index-73758a90.js";
|
|
24
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js";
|
|
26
|
-
import "./index-74ce0e3c.js";
|
|
27
|
-
import "./fieldobj-e04fe3b7.js";
|
|
28
|
-
import "./share-field-4f3d4a0b.js";
|
|
29
|
-
import "./emitter-2e6d5612.js";
|
|
30
|
-
import "./multirow-89ec2174.js";
|
|
31
|
-
const H = /* @__PURE__ */ r({
|
|
32
|
-
__name: "dialog-widget",
|
|
33
|
-
props: { ...e },
|
|
34
|
-
setup(s) {
|
|
35
|
-
return (o, a) => (p(), t(m, i(o.$props, { "prop-options": { widgetName: "el-dialog" } }), null, 16));
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
H as default
|
|
40
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, openBlock as f, createBlock as _, mergeProps as c, unref as r } from "vue";
|
|
2
|
-
import { I as u } from "./field-base-66c90648.js";
|
|
3
|
-
import { _ as g } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7903c803.js";
|
|
4
|
-
import { w as v } from "./expression-5df4780f.js";
|
|
5
|
-
import { b as x } from "./share-field-4f3d4a0b.js";
|
|
6
|
-
import "./widget-base-df734ada.js";
|
|
7
|
-
import "./enum-type-eeb2dcbd.js";
|
|
8
|
-
import "./obj-cc64f79c.js";
|
|
9
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js";
|
|
10
|
-
import "./index-08436ce4.js";
|
|
11
|
-
import "./uuid-2f7814e3.js";
|
|
12
|
-
import "./enum-type-e32f6d55.js";
|
|
13
|
-
import "./optionItem-0afcf797.js";
|
|
14
|
-
import "./baseImp-7f0c4121.js";
|
|
15
|
-
import "./icon-8b8b9744.js";
|
|
16
|
-
import "axios";
|
|
17
|
-
import "./dialog-f67b0d8f.js";
|
|
18
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
-
import "element-plus";
|
|
20
|
-
import "./index-e0d0fa2e.js";
|
|
21
|
-
import "./index-74ce0e3c.js";
|
|
22
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-e04fe3b7.js";
|
|
24
|
-
import "./global-provide-inject-f7c2434f.js";
|
|
25
|
-
import "./slot-2cdc3b54.js";
|
|
26
|
-
import "./index-73758a90.js";
|
|
27
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-74a9ce66.js";
|
|
28
|
-
import "./drag-wrapper-04c5f241.js";
|
|
29
|
-
import "./source-map-b04aec4a.js";
|
|
30
|
-
import "./esprima-e8d15055.js";
|
|
31
|
-
import "./emitter-2e6d5612.js";
|
|
32
|
-
import "./multirow-89ec2174.js";
|
|
33
|
-
const E = e({ componentName: v.FieldWidget }), Z = /* @__PURE__ */ e({
|
|
34
|
-
...E,
|
|
35
|
-
__name: "divider-widget",
|
|
36
|
-
props: { ...u },
|
|
37
|
-
setup(i, { expose: p }) {
|
|
38
|
-
const m = i, { slots: s, attrs: d, extendAttrs: n, events: l, exposed: a, fieldEditor: o } = x(m);
|
|
39
|
-
return p({
|
|
40
|
-
...a,
|
|
41
|
-
fieldEditor: () => {
|
|
42
|
-
var t;
|
|
43
|
-
return (t = o.value) == null ? void 0 : t.getFieldEditor();
|
|
44
|
-
}
|
|
45
|
-
}), (t, F) => (f(), _(g, c(t.$props, {
|
|
46
|
-
ref_key: "fieldEditor",
|
|
47
|
-
ref: o,
|
|
48
|
-
propOptions: { elementName: "el-divider", fieldObj: { attrs: r(d), events: r(l), slots: r(s), extendAttrs: r(n) } }
|
|
49
|
-
}), null, 16, ["propOptions"]));
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
export {
|
|
53
|
-
Z as default
|
|
54
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as p, createBlock as t, mergeProps as m } from "vue";
|
|
2
|
-
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a365a6c2.js";
|
|
3
|
-
import { I as e } from "./widget-base-df734ada.js";
|
|
4
|
-
import "./drag-wrapper-04c5f241.js";
|
|
5
|
-
import "./obj-cc64f79c.js";
|
|
6
|
-
import "./enum-type-eeb2dcbd.js";
|
|
7
|
-
import "./baseImp-7f0c4121.js";
|
|
8
|
-
import "./enum-type-e32f6d55.js";
|
|
9
|
-
import "./expression-5df4780f.js";
|
|
10
|
-
import "./source-map-b04aec4a.js";
|
|
11
|
-
import "./uuid-2f7814e3.js";
|
|
12
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./icon-8b8b9744.js";
|
|
15
|
-
import "axios";
|
|
16
|
-
import "./dialog-f67b0d8f.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-08436ce4.js";
|
|
19
|
-
import "./optionItem-0afcf797.js";
|
|
20
|
-
import "./index-e0d0fa2e.js";
|
|
21
|
-
import "./global-provide-inject-f7c2434f.js";
|
|
22
|
-
import "./slot-2cdc3b54.js";
|
|
23
|
-
import "./index-73758a90.js";
|
|
24
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js";
|
|
26
|
-
import "./index-74ce0e3c.js";
|
|
27
|
-
import "./fieldobj-e04fe3b7.js";
|
|
28
|
-
import "./share-field-4f3d4a0b.js";
|
|
29
|
-
import "./emitter-2e6d5612.js";
|
|
30
|
-
import "./multirow-89ec2174.js";
|
|
31
|
-
const H = /* @__PURE__ */ o({
|
|
32
|
-
__name: "drawer-widget",
|
|
33
|
-
props: { ...e },
|
|
34
|
-
setup(s) {
|
|
35
|
-
return (r, a) => (p(), t(i, m(r.$props, { "prop-options": { widgetName: "el-drawer" } }), null, 16));
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
H as default
|
|
40
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a365a6c2.js";
|
|
2
|
-
import "vue";
|
|
3
|
-
import "./widget-base-df734ada.js";
|
|
4
|
-
import "./drag-wrapper-04c5f241.js";
|
|
5
|
-
import "./obj-cc64f79c.js";
|
|
6
|
-
import "./enum-type-eeb2dcbd.js";
|
|
7
|
-
import "./baseImp-7f0c4121.js";
|
|
8
|
-
import "./enum-type-e32f6d55.js";
|
|
9
|
-
import "./expression-5df4780f.js";
|
|
10
|
-
import "./source-map-b04aec4a.js";
|
|
11
|
-
import "./uuid-2f7814e3.js";
|
|
12
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import "./esprima-e8d15055.js";
|
|
14
|
-
import "./icon-8b8b9744.js";
|
|
15
|
-
import "axios";
|
|
16
|
-
import "./dialog-f67b0d8f.js";
|
|
17
|
-
import "element-plus";
|
|
18
|
-
import "./index-08436ce4.js";
|
|
19
|
-
import "./optionItem-0afcf797.js";
|
|
20
|
-
import "./index-e0d0fa2e.js";
|
|
21
|
-
import "./global-provide-inject-f7c2434f.js";
|
|
22
|
-
import "./slot-2cdc3b54.js";
|
|
23
|
-
import "./index-73758a90.js";
|
|
24
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
25
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js";
|
|
26
|
-
import "./index-74ce0e3c.js";
|
|
27
|
-
import "./fieldobj-e04fe3b7.js";
|
|
28
|
-
import "./share-field-4f3d4a0b.js";
|
|
29
|
-
import "./emitter-2e6d5612.js";
|
|
30
|
-
import "./multirow-89ec2174.js";
|
|
31
|
-
export {
|
|
32
|
-
o as default
|
|
33
|
-
};
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, ref as _, computed as P, resolveComponent as T, openBlock as y, createBlock as L, mergeProps as U, unref as m, withCtx as j, createCommentVNode as V, withDirectives as K, createVNode as M, createElementBlock as R, toHandlers as W, vShow as q } from "vue";
|
|
2
|
-
import { z as w } from "./baseImp-7f0c4121.js";
|
|
3
|
-
import { g as x } from "./uuid-2f7814e3.js";
|
|
4
|
-
import { l as k } from "./enum-type-eeb2dcbd.js";
|
|
5
|
-
import { w as z } from "./expression-5df4780f.js";
|
|
6
|
-
import { b as H } from "./share-field-4f3d4a0b.js";
|
|
7
|
-
import { _ as G } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js";
|
|
8
|
-
import { I as J } from "./field-base-66c90648.js";
|
|
9
|
-
import { M as X } from "./mask-bdcecc2d.js";
|
|
10
|
-
import "./obj-cc64f79c.js";
|
|
11
|
-
import "./enum-type-e32f6d55.js";
|
|
12
|
-
import "./icon-8b8b9744.js";
|
|
13
|
-
import "axios";
|
|
14
|
-
import "./dialog-f67b0d8f.js";
|
|
15
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./source-map-b04aec4a.js";
|
|
18
|
-
import "./esprima-e8d15055.js";
|
|
19
|
-
import "./emitter-2e6d5612.js";
|
|
20
|
-
import "./global-provide-inject-f7c2434f.js";
|
|
21
|
-
import "./index-08436ce4.js";
|
|
22
|
-
import "./optionItem-0afcf797.js";
|
|
23
|
-
import "./index-e0d0fa2e.js";
|
|
24
|
-
import "./multirow-89ec2174.js";
|
|
25
|
-
import "./slot-2cdc3b54.js";
|
|
26
|
-
import "./index-73758a90.js";
|
|
27
|
-
import "./widget-base-df734ada.js";
|
|
28
|
-
import "./index-74ce0e3c.js";
|
|
29
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
30
|
-
import "./fieldobj-e04fe3b7.js";
|
|
31
|
-
import "./index-6bcfdc22.js";
|
|
32
|
-
function Y(p, v) {
|
|
33
|
-
var c;
|
|
34
|
-
if (!p) {
|
|
35
|
-
k.error("iframe is empty");
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const i = (c = p.contentWindow) == null ? void 0 : c.document;
|
|
39
|
-
if (!i) {
|
|
40
|
-
k.error("iframe doc is empty");
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
i.open(), i.write(v), i.close();
|
|
44
|
-
}
|
|
45
|
-
const Z = ["src", "id"], D = B({ componentName: z.FieldWidget }), Ee = /* @__PURE__ */ B({
|
|
46
|
-
...D,
|
|
47
|
-
__name: "iframe-widget",
|
|
48
|
-
props: { ...J },
|
|
49
|
-
setup(p, { expose: v }) {
|
|
50
|
-
const i = p, { exposed: c, fieldEditor: C, events: s, attrs: S, extendAttrs: n, fieldObj: F, fieldKey: N, fieldName: Q, refreshKey: $ } = H(i), h = _(!1), g = _(), b = _(), I = _(Date.now()), u = P(() => {
|
|
51
|
-
var t;
|
|
52
|
-
if (g.value)
|
|
53
|
-
return g.value;
|
|
54
|
-
const e = b.value || S.value.src, r = E(e);
|
|
55
|
-
if (i.designState)
|
|
56
|
-
return r;
|
|
57
|
-
const o = (t = s.value) == null ? void 0 : t.urlFormatter;
|
|
58
|
-
return o !== void 0 ? o == null ? void 0 : o(r) : r;
|
|
59
|
-
}), E = (e) => {
|
|
60
|
-
var a, l;
|
|
61
|
-
if (e == "")
|
|
62
|
-
return "";
|
|
63
|
-
const o = ((a = n == null ? void 0 : n.value) == null ? void 0 : a.withQuery) ? w.getLocationQueryParams() : {};
|
|
64
|
-
Object.assign(o, { _timestamp: I.value });
|
|
65
|
-
const t = w.buildUrl(e, o, { addtimestamp: !1 });
|
|
66
|
-
if (!t)
|
|
67
|
-
return "";
|
|
68
|
-
const f = (l = n == null ? void 0 : n.value) == null ? void 0 : l.hashRouter;
|
|
69
|
-
return w.resolveByCurrentUrl(t, f ? x() + "" : "");
|
|
70
|
-
}, d = () => {
|
|
71
|
-
h.value = !1, $();
|
|
72
|
-
}, O = () => {
|
|
73
|
-
setTimeout(() => {
|
|
74
|
-
var e, r;
|
|
75
|
-
h.value = !0, (r = (e = s == null ? void 0 : s.value) == null ? void 0 : e.onLoaded) == null || r.call(e);
|
|
76
|
-
}, 1e3);
|
|
77
|
-
};
|
|
78
|
-
return v({
|
|
79
|
-
...c,
|
|
80
|
-
loadSrc: (e) => {
|
|
81
|
-
d(), b.value = e;
|
|
82
|
-
},
|
|
83
|
-
loadUrl: (e) => {
|
|
84
|
-
d(), g.value = e;
|
|
85
|
-
},
|
|
86
|
-
loadContent: (e) => {
|
|
87
|
-
d(), Y(C.value, e);
|
|
88
|
-
},
|
|
89
|
-
refresh: () => {
|
|
90
|
-
I.value = Date.now(), d();
|
|
91
|
-
}
|
|
92
|
-
}), (e, r) => {
|
|
93
|
-
var t;
|
|
94
|
-
const o = T("el-empty");
|
|
95
|
-
return y(), L(G, U(e.$props, {
|
|
96
|
-
"prop-options": { fieldObj: m(F) },
|
|
97
|
-
key: (t = e.widget) == null ? void 0 : t.id
|
|
98
|
-
}), {
|
|
99
|
-
default: j(({ data: f }) => {
|
|
100
|
-
var a;
|
|
101
|
-
return [
|
|
102
|
-
u.value ? V("", !0) : (y(), L(o, {
|
|
103
|
-
key: 0,
|
|
104
|
-
description: (a = m(S)) == null ? void 0 : a.emptyText,
|
|
105
|
-
class: "full-width full-height nopadding nomargin"
|
|
106
|
-
}, null, 8, ["description"])),
|
|
107
|
-
K(M(X, {
|
|
108
|
-
loading: !h.value
|
|
109
|
-
}, {
|
|
110
|
-
default: j(({ maskData: l }) => [
|
|
111
|
-
(y(), R("iframe", U({
|
|
112
|
-
ref_key: "fieldEditor",
|
|
113
|
-
ref: C,
|
|
114
|
-
key: `${m(N)}_${u.value}`
|
|
115
|
-
}, W(m(s), !0), {
|
|
116
|
-
onLoad: O,
|
|
117
|
-
src: u.value,
|
|
118
|
-
class: [[...f.injectClass, ...l == null ? void 0 : l.class], "full-width full-height nopadding nomargin hlIframe"],
|
|
119
|
-
frameborder: 0,
|
|
120
|
-
style: f.injectStyle,
|
|
121
|
-
id: m(Q)
|
|
122
|
-
}), null, 16, Z))
|
|
123
|
-
]),
|
|
124
|
-
_: 2
|
|
125
|
-
}, 1032, ["loading"]), [
|
|
126
|
-
[q, !!u.value]
|
|
127
|
-
])
|
|
128
|
-
];
|
|
129
|
-
}),
|
|
130
|
-
_: 1
|
|
131
|
-
}, 16, ["prop-options"]);
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
export {
|
|
136
|
-
Ee as default
|
|
137
|
-
};
|
package/image-editor-1e8036ad.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, openBlock as f, createBlock as u, normalizeProps as c, guardReactiveProps as g, withCtx as i, createVNode as m, mergeProps as P, unref as r, isRef as _ } from "vue";
|
|
2
|
-
import { I as E } from "./property-base-9cb6f0af.js";
|
|
3
|
-
import { w as V } from "./expression-5df4780f.js";
|
|
4
|
-
import { u as y } from "./share-editor-79be0fe3.js";
|
|
5
|
-
import { E as C, O as w } from "./editor-wrapper-e4b65100.js";
|
|
6
|
-
import { d as h, h as B } from "./obj-cc64f79c.js";
|
|
7
|
-
import { ay as I } from "./enum-type-e32f6d55.js";
|
|
8
|
-
import { h as k } from "./_share_image-707deb7b.js";
|
|
9
|
-
import "./enum-type-eeb2dcbd.js";
|
|
10
|
-
import "./baseImp-7f0c4121.js";
|
|
11
|
-
import "./icon-8b8b9744.js";
|
|
12
|
-
import "axios";
|
|
13
|
-
import "./dialog-f67b0d8f.js";
|
|
14
|
-
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-2f7814e3.js";
|
|
16
|
-
import "element-plus";
|
|
17
|
-
import "./source-map-b04aec4a.js";
|
|
18
|
-
import "./esprima-e8d15055.js";
|
|
19
|
-
import "./share-event-77717d69.js";
|
|
20
|
-
import "./emitter-2e6d5612.js";
|
|
21
|
-
import "./index-08436ce4.js";
|
|
22
|
-
import "./optionItem-0afcf797.js";
|
|
23
|
-
import "./index-e0d0fa2e.js";
|
|
24
|
-
import "./index-74ce0e3c.js";
|
|
25
|
-
import "./_plugin-vue_export-helper-dad06003.js";
|
|
26
|
-
import "./_share_wrapper-9d61ae87.js";
|
|
27
|
-
import "./index-6bcfdc22.js";
|
|
28
|
-
const v = a({ componentName: V.PropertyEditor }), ro = /* @__PURE__ */ a({
|
|
29
|
-
...v,
|
|
30
|
-
__name: "image-editor",
|
|
31
|
-
props: { ...E },
|
|
32
|
-
setup(s) {
|
|
33
|
-
const p = s, { propValue: o, propData: n } = y(p), l = h(B(p.propConfig), { type: I.slot });
|
|
34
|
-
return (t, e) => (f(), u(C, c(g(t.$props)), {
|
|
35
|
-
slotEditor: i(() => [
|
|
36
|
-
m(w, P(t.$props, { "prop-config": r(l) }), {
|
|
37
|
-
specialEditor: i(() => [
|
|
38
|
-
m(k, {
|
|
39
|
-
modelValue: r(o),
|
|
40
|
-
"onUpdate:modelValue": e[0] || (e[0] = (d) => _(o) ? o.value = d : null),
|
|
41
|
-
options: r(n)
|
|
42
|
-
}, null, 8, ["modelValue", "options"])
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
}, 16, ["prop-config"])
|
|
46
|
-
]),
|
|
47
|
-
_: 1
|
|
48
|
-
}, 16));
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
export {
|
|
52
|
-
ro as default
|
|
53
|
-
};
|