hldesigner 0.0.104 → 0.0.106
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/_image-fab8c8e2.js +28 -0
- package/_pdf-946849d6.js +61 -0
- package/_share_image-b859c693.js +92 -0
- package/_share_size.vue_vue_type_script_setup_true_lang-8049401f.js +255 -0
- package/_share_wrapper-8f1243a5.js +43 -0
- package/_txt-db4019c1.js +73 -0
- package/_unsupport-33dad780.js +35 -0
- package/_video-21c5b64e.js +23 -0
- package/{affix-widget-1b8ee42b.js → affix-widget-8a2aca3a.js} +19 -19
- package/{alert-widget-9d69cb82.js → alert-widget-8db64276.js} +19 -19
- package/{anchor-widget-f9b0d931.js → anchor-widget-ae520be1.js} +16 -16
- package/{auto-complete-widget-504883ce.js → auto-complete-widget-26d408f4.js} +27 -27
- package/{avatar-widget-d3e71b14.js → avatar-widget-19f2712a.js} +19 -19
- package/{backtop-widget-1f90eb2c.js → backtop-widget-5237e9fb.js} +19 -19
- package/badge-widget-b58135ad.js +48 -0
- package/{baseImp-bcbcf085.js → baseImp-ff7e4f8f.js} +2855 -2772
- package/{breadcrumb-widget-2f7ca504.js → breadcrumb-widget-abeb89af.js} +19 -19
- package/{button-widget-be27884d.js → button-widget-d0d45a80.js} +19 -19
- package/{cache-widget-2530ab7c.js → cache-widget-65023ad0.js} +18 -18
- package/{card-widget-46698798.js → card-widget-3d0b6833.js} +17 -17
- package/{carousel-widget-74af2f2c.js → carousel-widget-4968da57.js} +17 -17
- package/{cascader-widget-05735610.js → cascader-widget-ade420e4.js} +26 -26
- package/{chart-widget-12f7b4cd.js → chart-widget-0d2135a8.js} +16 -16
- package/{checkbox-widget-b2cc7cc9.js → checkbox-widget-01f36b0d.js} +18 -18
- package/{collapse-widget-9a486c55.js → collapse-widget-b3e688cb.js} +17 -17
- package/{color-picker-widget-d42223b8.js → color-picker-widget-2141f37e.js} +18 -18
- package/common-editor-b630a77f.js +26 -0
- package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-19a0ddf2.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-c70d79a0.js} +2 -2
- package/{configItem-8117a56f.js → configItem-788df94f.js} +39 -38
- package/{cont-cell-widget-dcae41c5.js → cont-cell-widget-f842b2b1.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a27419b4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d91f8ea3.js} +5 -5
- package/{cont-widget-023c6bf4.js → cont-widget-0953f5b8.js} +5 -5
- package/{content-wrapper-3cf9ab89.js → content-wrapper-924757cc.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-696c6d1b.js → content-wrapper.vue_vue_type_script_setup_true_lang-de21be5b.js} +4 -4
- package/css-editor-dc3f7828.js +1345 -0
- package/{customClass-editor-92d64b70.js → customClass-editor-a9879562.js} +18 -18
- package/date-picker-range-widget-6a2155c0.js +85 -0
- package/date-picker-widget-2a20fa33.js +116 -0
- package/default-slot-widget-1a675a23.js +28 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-de83630b.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3e5ada16.js} +7 -7
- package/{descriptions-widget-bdd7a05a.js → descriptions-widget-8673ec71.js} +17 -17
- package/designer.es.js +33 -33
- package/designer.style.css +2 -2
- package/designer.umd.js +613 -582
- package/{dialog-a3212f7e.js → dialog-d3421250.js} +2 -2
- package/{dialog-widget-1040a01f.js → dialog-widget-dac2d559.js} +19 -19
- package/{divider-widget-bbc683a5.js → divider-widget-d04e1961.js} +19 -19
- package/drag-wrapper-792251db.js +245 -0
- package/{drawer-widget-faf3794e.js → drawer-widget-1baa1e76.js} +19 -19
- package/{dropdown-widget-483aaab8.js → dropdown-widget-4a5a72bc.js} +21 -21
- package/{editor-wrapper-958526c0.js → editor-wrapper-2a85b8eb.js} +83 -83
- package/{emitter-98dde977.js → emitter-80d12b07.js} +1 -1
- package/{empty-widget-a15589b7.js → empty-widget-80e02365.js} +19 -19
- package/{enum-type-5e9d7b66.js → enum-type-1348a715.js} +416 -695
- package/enum-type-1df758f4.js +620 -0
- package/{expression-73da2fdf.js → expression-4acf15a4.js} +396 -395
- package/feedback-widget-78239f76.js +29 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ac3c4713.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b83696c5.js} +5 -5
- package/{field-editor-81cb94ce.js → field-editor-4bbd7c71.js} +15 -15
- package/{fieldobj-6aad684f.js → fieldobj-dac175ed.js} +3 -3
- package/file-upload-widget-783a46d2.js +400 -0
- package/{form-item-wrapper-6a3645fd.js → form-item-wrapper-61de9c5a.js} +14 -14
- package/form-widget-6a6f3aad.js +226 -0
- package/{grid-col-widget-e08c880b.js → grid-col-widget-c7a285a9.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-388cc29e.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b7c24ca1.js} +5 -5
- package/{grid-widget-b1ad2262.js → grid-widget-4d1507ed.js} +5 -5
- package/{html-text-widget-63b41e01.js → html-text-widget-38aeed6f.js} +17 -17
- package/{icon-widget-1e473fdb.js → icon-widget-166800fe.js} +16 -16
- package/{iframe-widget-90a4d693.js → iframe-widget-cf9f74c4.js} +16 -16
- package/image-editor-be92f365.js +51 -0
- package/{image-widget-34aad22a.js → image-widget-12b28d9e.js} +16 -16
- package/index-0024f4c3.js +49 -0
- package/{index-fcc3e36c.js → index-094e37f1.js} +44 -43
- package/{index-7d1876c0.js → index-0cd4d1e8.js} +7 -7
- package/{index-b15426ac.js → index-19ce0ab5.js} +7 -7
- package/{index-188b745d.js → index-1a4ba0e3.js} +18 -18
- package/{index-ea8cf278.js → index-2a80ec85.js} +44 -43
- package/{index-db2a63cb.js → index-3b33eb7e.js} +1 -1
- package/{index-e1243c70.js → index-592cccff.js} +7 -7
- package/{index-4e08a947.js → index-6c9f00d6.js} +7 -7
- package/{index-c9d0cb18.js → index-73dbac0c.js} +9 -9
- package/{index-f5173c50.js → index-86a705d7.js} +29 -29
- package/index-a17c6b88.js +222 -0
- package/{index-d3fc560a.js → index-a96701e9.js} +9 -9
- package/{index-0ec26f2f.js → index-acb2d907.js} +64 -64
- package/{index-8ce24c2b.js → index-b20f6945.js} +76 -76
- package/{index-c26c997b.js → index-b501d03a.js} +45 -45
- package/{index-45891dd9.js → index-b56df56e.js} +22 -22
- package/{index-8456f0de.js → index-c1c18598.js} +12 -12
- package/index-c1db83d7.js +1389 -0
- package/{index-d92a9215.js → index-d4b62641.js} +447 -437
- package/{index-2317d814.js → index-d5ff4d2f.js} +4 -4
- package/{index-b1024f59.js → index-d6794c5c.js} +19 -19
- package/{index-e61cfb5c.js → index-e25401af.js} +37 -37
- package/{index-d14f9417.js → index-f2a2aa24.js} +3588 -3520
- package/{index-c6430e47.js → index-f8b551c6.js} +9 -9
- package/{input-number-widget-62b8a21b.js → input-number-widget-75f7bc98.js} +18 -18
- package/{input-widget-fe4349fc.js → input-widget-ccdd7b8d.js} +26 -26
- package/install-designer-703d5558.js +4665 -0
- package/{item-4f3a1561.js → item-caafe55d.js} +2 -2
- package/{itemDetail-cde597c9.js → itemDetail-d3faa335.js} +6 -6
- package/{label-wrapper-0858678e.js → label-wrapper-916d6252.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-e4585faa.js → label-wrapper.vue_vue_type_style_index_0_lang-208276b6.js} +3 -3
- package/{link-widget-bec41569.js → link-widget-020b041d.js} +19 -19
- package/{ltable-col-widget-2d6603c1.js → ltable-col-widget-fa447a12.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8bb5b1f8.js +279 -0
- package/{ltable-widget-17e910d6.js → ltable-widget-e8d07d29.js} +5 -5
- package/{menu-widget-ce97c03c.js → menu-widget-4639b482.js} +26 -26
- package/{model-widget-72cd327d.js → model-widget-fc9298e7.js} +44 -44
- package/{multirow-f96d3aa0.js → multirow-77b915d8.js} +26 -26
- package/{multirow-widget-b9f46887.js → multirow-widget-6e130765.js} +52 -52
- package/{name-editor-89552a73.js → name-editor-216a8dbb.js} +24 -24
- package/{optionItem-5fa7e85b.js → optionItem-166eb906.js} +57 -28
- package/package.json +3 -2
- package/{pagination-widget-0a93b0a6.js → pagination-widget-4a82d1b7.js} +16 -16
- package/picture-upload-widget-48aa34ba.js +168 -0
- package/{progress-widget-990cbd68.js → progress-widget-227f1007.js} +17 -17
- package/{property-base-45d0f82a.js → property-base-e7dbf468.js} +16 -17
- package/{propresult-7acbabdf.js → propresult-205c175c.js} +1 -1
- package/{radio-widget-bda5a3ec.js → radio-widget-9bb2d688.js} +18 -18
- package/range-widget-8e2c4f54.js +77 -0
- package/{rate-widget-d6e19ff3.js → rate-widget-5acb528b.js} +18 -18
- package/{reg-editor.vue_vue_type_script_setup_true_lang-31dc0692.js → reg-editor.vue_vue_type_script_setup_true_lang-5f3f711b.js} +11 -11
- package/{result-widget-c789c1c7.js → result-widget-6536f257.js} +21 -21
- package/{rich-editor-widget-d69ed183.js → rich-editor-widget-4650142f.js} +21 -21
- package/{router-widget-ab3cabf6.js → router-widget-ab743104.js} +16 -16
- package/{schemaData-5fa9ba25.js → schemaData-44baa93d.js} +73 -76
- package/{select-widget-c11536d9.js → select-widget-9340c968.js} +18 -18
- package/{sfc-ea2f2799.js → sfc-d3013534.js} +662 -647
- package/sfcview-9d121713.js +96 -0
- package/{share-editor-dfb66f33.js → share-editor-74f40855.js} +134 -132
- package/{share-event-29121422.js → share-event-4bd27d85.js} +2 -2
- package/share-field-17f70bf9.js +789 -0
- package/share-file-6b5504c4.js +171 -0
- package/{size-editor-393ce29d.js → size-editor copy-931c6175.js } +36 -36
- package/size-editor-0639793f.js +51 -0
- package/{slider-widget-6da16ed7.js → slider-widget-62ede7b9.js} +18 -18
- package/{slot-0cdab169.js → slot-f137d0a8.js} +12 -12
- package/{static-text-widget-ce357684.js → static-text-widget-52a25370.js} +17 -17
- package/{steps-widget-239dda95.js → steps-widget-61d5199d.js} +16 -16
- package/{subMenu-widget-faaa090d.js → subMenu-widget-28836e25.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-ebf092c2.js → subMenu-widget.vue_vue_type_script_setup_true_lang-88b4bfa5.js} +3 -3
- package/{switch-widget-af9a3241.js → switch-widget-6f5964ef.js} +18 -18
- package/{tab-pane-widget-47b37338.js → tab-pane-widget-04763066.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-dbd35664.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-826e9356.js} +5 -5
- package/table-col-widget-ddf821ab.js +25 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4e971f25.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-1398f945.js} +11 -11
- package/{table-widget-17385ce5.js → table-widget-a2432050.js} +29 -29
- package/{tabs-widget-e1310037.js → tabs-widget-01d92faa.js} +33 -34
- package/{tag-widget-d8d02b15.js → tag-widget-d15ecc50.js} +19 -19
- package/{target-code-1ac8befc.js → target-code-121b2a64.js} +9 -9
- package/{target-datasource-bfcc48c7.js → target-datasource-313af672.js} +45 -44
- package/{target-link-8f4d9506.js → target-link-2361bd7d.js} +40 -39
- package/{target-saveForm-6f6030a0.js → target-saveForm-0e90fa97.js} +42 -41
- package/{target-widget-3b46c438.js → target-widget-16637b92.js} +1 -1
- package/{target-window-c21acc02.js → target-window-9ad1aa0b.js} +15 -15
- package/{text-widget-d2d61cd4.js → text-widget-9765fe4b.js} +19 -19
- package/{textarea-widget-8f626a69.js → textarea-widget-2e5dc69a.js} +18 -18
- package/time-picker-range-widget-c756b174.js +84 -0
- package/time-picker-widget-afe021bc.js +67 -0
- package/{time-select-widget-801c0d38.js → time-select-widget-810a4ee8.js} +21 -21
- package/{tmpl-widget-98f7a2e3.js → tmpl-widget-41ed4761.js} +24 -24
- package/{tree-select-widget-c9f9206d.js → tree-select-widget-c5af618d.js} +18 -18
- package/{tree-widget-7ab4e37e.js → tree-widget-95873c92.js} +16 -16
- package/uuid-009aae31.js +193 -0
- package/{value-editor-572a7096.js → value-editor-9e0225fa.js} +28 -28
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ff42a2d0.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c0217463.js} +88 -86
- package/{wrapper-widget-bd247beb.js → wrapper-widget-37901d2d.js} +6 -6
- package/badge-widget-475af75c.js +0 -48
- package/common-editor-ef1430ed.js +0 -26
- package/date-picker-range-widget-f640f527.js +0 -75
- package/date-picker-widget-a758d592.js +0 -81
- package/default-slot-widget-f7c208ba.js +0 -28
- package/drag-wrapper-970cae7e.js +0 -245
- package/enum-type-b4f6475e.js +0 -568
- package/feedback-widget-bb5a3c78.js +0 -29
- package/file-upload-widget-94a3c43e.js +0 -165
- package/form-widget-adc2dd61.js +0 -220
- package/index-5c6f77b0.js +0 -218
- package/index-e3fe2107.js +0 -1359
- package/install-designer-a424bde9.js +0 -4752
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9ec77a9f.js +0 -256
- package/picture-upload-widget-2536b2e2.js +0 -116
- package/range-widget-8dc387ff.js +0 -77
- package/share-field-0b6e083a.js +0 -779
- package/share-file-c39048d2.js +0 -150
- package/table-col-widget-dc6e1ad3.js +0 -25
- package/time-picker-range-widget-e14028e8.js +0 -61
- package/time-picker-widget-e11c5600.js +0 -60
- package/uuid-86d82db5.js +0 -196
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as n, ref as s, computed as i, resolveComponent as c, openBlock as a, createElementBlock as u, createElementVNode as m, createVNode as p, unref as _ } from "vue";
|
|
2
|
+
const d = { class: "full-width full-height horialCenter alignCenter flex" }, f = { class: "hl-page-a4" }, w = /* @__PURE__ */ n({
|
|
3
|
+
__name: "_image",
|
|
4
|
+
props: {
|
|
5
|
+
url: null,
|
|
6
|
+
type: null
|
|
7
|
+
},
|
|
8
|
+
setup(e) {
|
|
9
|
+
const t = e, r = s(!1), o = i(() => [t.url]);
|
|
10
|
+
return r.value = !0, (h, v) => {
|
|
11
|
+
const l = c("el-image");
|
|
12
|
+
return a(), u("div", d, [
|
|
13
|
+
m("div", f, [
|
|
14
|
+
p(l, {
|
|
15
|
+
src: e.url,
|
|
16
|
+
"zoom-rate": 1.2,
|
|
17
|
+
"preview-src-list": _(o),
|
|
18
|
+
"initial-index": 0,
|
|
19
|
+
fit: "cover"
|
|
20
|
+
}, null, 8, ["src", "zoom-rate", "preview-src-list"])
|
|
21
|
+
])
|
|
22
|
+
]);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
w as default
|
|
28
|
+
};
|
package/_pdf-946849d6.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as m, ref as n, resolveComponent as s, openBlock as o, createElementBlock as c, createBlock as l, unref as u } from "vue";
|
|
2
|
+
import { e as a } from "./enum-type-1348a715.js";
|
|
3
|
+
import { g as f } from "./file-upload-widget-783a46d2.js";
|
|
4
|
+
import "./uuid-009aae31.js";
|
|
5
|
+
import "./field-base-5547436d.js";
|
|
6
|
+
import "./widget-base-4c2d6265.js";
|
|
7
|
+
import "./share-file-6b5504c4.js";
|
|
8
|
+
import "./share-field-17f70bf9.js";
|
|
9
|
+
import "./emitter-80d12b07.js";
|
|
10
|
+
import "./icon-6342f929.js";
|
|
11
|
+
import "./expression-4acf15a4.js";
|
|
12
|
+
import "./source-map-b04aec4a.js";
|
|
13
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
|
+
import "./esprima-e8d15055.js";
|
|
15
|
+
import "./baseImp-ff7e4f8f.js";
|
|
16
|
+
import "./enum-type-1df758f4.js";
|
|
17
|
+
import "./dialog-d3421250.js";
|
|
18
|
+
import "element-plus";
|
|
19
|
+
import "./slot-f137d0a8.js";
|
|
20
|
+
import "./index-c1db83d7.js";
|
|
21
|
+
import "./optionItem-166eb906.js";
|
|
22
|
+
import "./index-3b33eb7e.js";
|
|
23
|
+
import "./multirow-77b915d8.js";
|
|
24
|
+
import "./form-item-wrapper-61de9c5a.js";
|
|
25
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c0217463.js";
|
|
26
|
+
import "./index-6c9f00d6.js";
|
|
27
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
28
|
+
import "./fieldobj-dac175ed.js";
|
|
29
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-208276b6.js";
|
|
30
|
+
import "./drag-wrapper-792251db.js";
|
|
31
|
+
import "./index-ddd23411.js";
|
|
32
|
+
const _ = ["src"], V = /* @__PURE__ */ m({
|
|
33
|
+
__name: "_pdf",
|
|
34
|
+
props: {
|
|
35
|
+
url: null,
|
|
36
|
+
type: null
|
|
37
|
+
},
|
|
38
|
+
setup(e) {
|
|
39
|
+
const i = e, r = n(!0);
|
|
40
|
+
return f(i.url).then((t) => {
|
|
41
|
+
r.value = t == null ? void 0 : t.isSuccess, t.isSuccess;
|
|
42
|
+
}).catch((t) => {
|
|
43
|
+
r.value = !1;
|
|
44
|
+
}), (t, h) => {
|
|
45
|
+
const p = s("el-empty");
|
|
46
|
+
return r.value ? (o(), c("iframe", {
|
|
47
|
+
key: 0,
|
|
48
|
+
src: e.url,
|
|
49
|
+
class: "full-height full-width",
|
|
50
|
+
frameborder: "0",
|
|
51
|
+
style: { height: "99%" }
|
|
52
|
+
}, null, 8, _)) : (o(), l(p, {
|
|
53
|
+
key: 1,
|
|
54
|
+
description: u(a).i18nt("designer.hint.failToPreview")
|
|
55
|
+
}, null, 8, ["description"]));
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
V as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { defineComponent as M, ref as p, computed as B, shallowRef as D, watch as V, resolveComponent as c, openBlock as _, createBlock as v, withCtx as l, renderSlot as F, createVNode as d, unref as r, createElementVNode as I, createTextVNode as g, toDisplayString as C, resolveDynamicComponent as S, createCommentVNode as $, defineAsyncComponent as A } from "vue";
|
|
2
|
+
import { s as L } from "./_share_wrapper-8f1243a5.js";
|
|
3
|
+
import { UploadFilled as R } from "./index-ddd23411.js";
|
|
4
|
+
import { e as b } from "./enum-type-1348a715.js";
|
|
5
|
+
import { _ as T } from "./_plugin-vue_export-helper-dad06003.js";
|
|
6
|
+
const W = { class: "dialog-footer" }, j = /* @__PURE__ */ M({
|
|
7
|
+
__name: "_share_image",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: null,
|
|
10
|
+
label: null
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(f, { emit: y }) {
|
|
14
|
+
const s = f, o = p(s.modelValue), h = B(() => o.value || ""), k = () => {
|
|
15
|
+
y("update:modelValue", h.value);
|
|
16
|
+
}, n = p(s.modelValue), a = p(!1), i = D(), x = () => {
|
|
17
|
+
i.value || (i.value = A(() => import("./index-592cccff.js")));
|
|
18
|
+
}, U = () => {
|
|
19
|
+
x(), a.value = !0;
|
|
20
|
+
}, N = () => {
|
|
21
|
+
o.value = n.value;
|
|
22
|
+
};
|
|
23
|
+
return V(() => o.value, () => {
|
|
24
|
+
k();
|
|
25
|
+
}), V(() => s.modelValue, (u) => {
|
|
26
|
+
o.value = u, n.value = u;
|
|
27
|
+
}), (u, e) => {
|
|
28
|
+
const m = c("el-button"), w = c("el-input"), E = c("el-dialog");
|
|
29
|
+
return _(), v(L, { label: f.label }, {
|
|
30
|
+
label: l(() => [
|
|
31
|
+
F(u.$slots, "label", {}, void 0, !0)
|
|
32
|
+
]),
|
|
33
|
+
input: l(() => [
|
|
34
|
+
d(w, {
|
|
35
|
+
modelValue: o.value,
|
|
36
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => o.value = t),
|
|
37
|
+
clearable: !0
|
|
38
|
+
}, {
|
|
39
|
+
append: l(() => [
|
|
40
|
+
d(m, {
|
|
41
|
+
icon: r(R),
|
|
42
|
+
plain: "",
|
|
43
|
+
onClick: U
|
|
44
|
+
}, null, 8, ["icon"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}, 8, ["modelValue"]),
|
|
48
|
+
a.value ? (_(), v(E, {
|
|
49
|
+
key: 0,
|
|
50
|
+
modelValue: a.value,
|
|
51
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => a.value = t),
|
|
52
|
+
"destroy-on-close": ""
|
|
53
|
+
}, {
|
|
54
|
+
footer: l(() => [
|
|
55
|
+
I("div", W, [
|
|
56
|
+
d(m, {
|
|
57
|
+
type: "primary",
|
|
58
|
+
onClick: N
|
|
59
|
+
}, {
|
|
60
|
+
default: l(() => [
|
|
61
|
+
g(C(r(b).i18nt("designer.hint.confirm")), 1)
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}),
|
|
65
|
+
d(m, {
|
|
66
|
+
onClick: e[2] || (e[2] = (t) => a.value = !1)
|
|
67
|
+
}, {
|
|
68
|
+
default: l(() => [
|
|
69
|
+
g(C(r(b).i18nt("designer.hint.close")), 1)
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
})
|
|
73
|
+
])
|
|
74
|
+
]),
|
|
75
|
+
default: l(() => [
|
|
76
|
+
(_(), v(S(r(i)), {
|
|
77
|
+
modelValue: n.value,
|
|
78
|
+
"onUpdate:modelValue": e[1] || (e[1] = (t) => n.value = t)
|
|
79
|
+
}, null, 8, ["modelValue"]))
|
|
80
|
+
]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 8, ["modelValue"])) : $("", !0)
|
|
83
|
+
]),
|
|
84
|
+
_: 3
|
|
85
|
+
}, 8, ["label"]);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
const K = /* @__PURE__ */ T(j, [["__scopeId", "data-v-14057d21"]]);
|
|
90
|
+
export {
|
|
91
|
+
K as h
|
|
92
|
+
};
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { defineComponent as I, computed as X, ref as Y, onMounted as ee, watch as j, resolveComponent as P, openBlock as M, createBlock as k, withCtx as _, renderSlot as oe, createVNode as v, unref as re, createElementBlock as ne, Fragment as ie, renderList as ce } from "vue";
|
|
2
|
+
import { o as W, d as Z, v as le, s as y, U as z, i as m, a as R, c as te } from "./enum-type-1348a715.js";
|
|
3
|
+
import { S as O } from "./enum-type-1df758f4.js";
|
|
4
|
+
import { s as ue } from "./_share_wrapper-8f1243a5.js";
|
|
5
|
+
import { p as se, g as ae } from "./index-0024f4c3.js";
|
|
6
|
+
function V(b) {
|
|
7
|
+
return b.trim().replace(/[^a-zA-Z0-9]+(.)/g, (t, s) => s.toUpperCase()).replace(/^[A-Z]/, (t) => t.toLowerCase());
|
|
8
|
+
}
|
|
9
|
+
function A(b, t = "_") {
|
|
10
|
+
return b.replace(
|
|
11
|
+
/[A-Z]/g,
|
|
12
|
+
(s, w) => (w > 0 ? t : "") + s.toLowerCase()
|
|
13
|
+
).replace(/([a-z])([0-9])/g, `$1${t}$2`).replace(/([0-9])([a-z])/g, `$1${t}$2`);
|
|
14
|
+
}
|
|
15
|
+
function de(b, t = "camel") {
|
|
16
|
+
const s = b.replace(/[\s_-]+/g, " ").trim();
|
|
17
|
+
switch (t) {
|
|
18
|
+
case "camel":
|
|
19
|
+
return V(s);
|
|
20
|
+
case "pascal":
|
|
21
|
+
const w = V(s);
|
|
22
|
+
return w.charAt(0).toUpperCase() + w.slice(1);
|
|
23
|
+
case "snake":
|
|
24
|
+
return A(V(s), "_");
|
|
25
|
+
case "kebab":
|
|
26
|
+
return A(V(s), "-");
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`不支持的格式: ${t}`);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function fe() {
|
|
32
|
+
return {
|
|
33
|
+
splitNumericUnit: (t) => {
|
|
34
|
+
if (t === O.auto)
|
|
35
|
+
return {
|
|
36
|
+
original: t,
|
|
37
|
+
numeric: null,
|
|
38
|
+
unit: t,
|
|
39
|
+
valid: !0
|
|
40
|
+
};
|
|
41
|
+
const s = t == null ? void 0 : t.replace(/\s+/g, ""), w = s == null ? void 0 : s.match(/^(-?\d*\.?\d+)([^\d]*)$/);
|
|
42
|
+
if (!w)
|
|
43
|
+
return {
|
|
44
|
+
original: t,
|
|
45
|
+
numeric: null,
|
|
46
|
+
unit: "",
|
|
47
|
+
valid: !1
|
|
48
|
+
};
|
|
49
|
+
const N = parseFloat(w[1]), L = w[2] || "";
|
|
50
|
+
return {
|
|
51
|
+
original: t,
|
|
52
|
+
numeric: isNaN(N) ? null : N,
|
|
53
|
+
unit: L,
|
|
54
|
+
valid: L !== null && !isNaN(N)
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function me() {
|
|
60
|
+
const b = (e, p) => e == null ? void 0 : e.map((c) => {
|
|
61
|
+
var r;
|
|
62
|
+
let o = {};
|
|
63
|
+
return (r = Object.keys(c == null ? void 0 : c.declarations)) == null || r.forEach((a) => {
|
|
64
|
+
const u = c == null ? void 0 : c.declarations[a];
|
|
65
|
+
if (y(u))
|
|
66
|
+
return;
|
|
67
|
+
const i = de(a, p ? "camel" : "kebab");
|
|
68
|
+
o[i] = u;
|
|
69
|
+
}), { selector: c.selector, declarations: o };
|
|
70
|
+
}), t = (e) => new Promise((p) => {
|
|
71
|
+
se(e).then((c) => {
|
|
72
|
+
var o = b(c, !0);
|
|
73
|
+
p(o);
|
|
74
|
+
});
|
|
75
|
+
}), s = (e) => new Promise((p) => {
|
|
76
|
+
var o;
|
|
77
|
+
var c = b(e, !1);
|
|
78
|
+
(o = ae(c)) == null || o.then((r) => {
|
|
79
|
+
p(r);
|
|
80
|
+
});
|
|
81
|
+
}), w = (e) => new Promise((p) => {
|
|
82
|
+
const c = (o) => {
|
|
83
|
+
var d;
|
|
84
|
+
const r = ["top", "bottom", "left", "right"], a = (l) => y(l) ? [] : (l == null ? void 0 : l.split(" ")) || [], u = (l, n) => {
|
|
85
|
+
var H, J, Q;
|
|
86
|
+
let h = {};
|
|
87
|
+
const C = l == null ? void 0 : l.toLowerCase();
|
|
88
|
+
if (["margin", "padding"].includes(C)) {
|
|
89
|
+
var f = a(n);
|
|
90
|
+
f && ((f == null ? void 0 : f.length) === 1 ? r == null || r.forEach((g) => {
|
|
91
|
+
var $ = V(`${C}-${g}`);
|
|
92
|
+
m(o == null ? void 0 : o[$]) && (h[$] = n);
|
|
93
|
+
}) : (f == null ? void 0 : f.length) === 2 ? [["top", "bottom"], ["left", "right"]].forEach((g, $) => {
|
|
94
|
+
g == null || g.forEach((U) => {
|
|
95
|
+
var E = V(`${C}-${U}`);
|
|
96
|
+
m(o == null ? void 0 : o[E]) && (h[E] = f == null ? void 0 : f[$]);
|
|
97
|
+
});
|
|
98
|
+
}) : (f == null ? void 0 : f.length) > 2 && (r == null || r.forEach((g, $) => {
|
|
99
|
+
var U = V(`${C}-${g}`), E = f == null ? void 0 : f[$];
|
|
100
|
+
m(o == null ? void 0 : o[U]) && !m(E) && (h[U] = E);
|
|
101
|
+
})));
|
|
102
|
+
} else if (["border", "border-left", "border-right", "border-top", "border-bottom"].includes(C)) {
|
|
103
|
+
var [D, T, q] = a(n);
|
|
104
|
+
if (!m(D) && !m(T) && !m(q)) {
|
|
105
|
+
var F = C === "border" ? r : [(H = C.split("-")) == null ? void 0 : H[1]];
|
|
106
|
+
F == null || F.forEach((g) => {
|
|
107
|
+
var $ = V(`${C}-${g}-width`), U = V(`${C}-${g}-style`), E = V(`${C}-${g}-color`);
|
|
108
|
+
m(o == null ? void 0 : o[$]) && (h[$] = D), m(o == null ? void 0 : o[U]) && (h[U] = T), m(o == null ? void 0 : o[E]) && (h[E] = q);
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
} else if (["border-radius"].includes(C))
|
|
112
|
+
["top-left", "top-right", "bottom-let", "bottom-right"].forEach((g) => {
|
|
113
|
+
var $ = V(`border-${g}-radius`);
|
|
114
|
+
m(o == null ? void 0 : o[$]) && (h[$] = n);
|
|
115
|
+
});
|
|
116
|
+
else if (["background"].includes(C)) {
|
|
117
|
+
var [x, S] = a(n);
|
|
118
|
+
y(x) || (h.backgroundColor = x), !y(S) && R(S) && (h.backgroundImage = (J = S == null ? void 0 : S.replace("url(", "")) == null ? void 0 : J.replace(")", ""));
|
|
119
|
+
} else if (["opacity"].includes(C)) {
|
|
120
|
+
if (!n.endsWith("%")) {
|
|
121
|
+
var G = parseFloat(n);
|
|
122
|
+
isNaN(G) || (h[l] = `${G * 100}%`);
|
|
123
|
+
}
|
|
124
|
+
} else
|
|
125
|
+
["backgroundimage"].includes(C) && !y(n) && R(n) && (h[l] = (Q = n == null ? void 0 : n.replace("url(", "")) == null ? void 0 : Q.replace(")", ""));
|
|
126
|
+
return h;
|
|
127
|
+
};
|
|
128
|
+
let i = {};
|
|
129
|
+
return (d = W(o)) == null || d.forEach((l) => {
|
|
130
|
+
if (!l)
|
|
131
|
+
return;
|
|
132
|
+
const n = o == null ? void 0 : o[l];
|
|
133
|
+
y(n) || Z(i, u(l, n));
|
|
134
|
+
}), i;
|
|
135
|
+
};
|
|
136
|
+
t(e).then((o) => {
|
|
137
|
+
let r = {};
|
|
138
|
+
["active", "focus", "hover", "default"].forEach((a) => {
|
|
139
|
+
var d, l;
|
|
140
|
+
const u = a === "default" ? ":root" : ":root:" + a;
|
|
141
|
+
var i = (d = o == null ? void 0 : o.find((n) => (n == null ? void 0 : n.selector) == u)) == null ? void 0 : d.declarations;
|
|
142
|
+
((l = W(i)) == null ? void 0 : l.length) > 0 ? r[a] = Z(le(i), c(i)) : r == null || delete r[a];
|
|
143
|
+
}), p(r);
|
|
144
|
+
});
|
|
145
|
+
}), N = (e) => new Promise((p) => {
|
|
146
|
+
const c = [], o = (u, i) => {
|
|
147
|
+
const d = u == null ? void 0 : u.toLowerCase();
|
|
148
|
+
if (["opacity"].includes(d)) {
|
|
149
|
+
if (i != null && i.endsWith("%")) {
|
|
150
|
+
var l = parseFloat(i.replace("%", ""));
|
|
151
|
+
isNaN(l) || (i = l / 100);
|
|
152
|
+
}
|
|
153
|
+
} else
|
|
154
|
+
["backgroundimage"].includes(d) && (i != null && i.startsWith("url(") || (i = `url(${i})`));
|
|
155
|
+
return { [u]: i };
|
|
156
|
+
}, r = (u) => {
|
|
157
|
+
var l;
|
|
158
|
+
let i = {};
|
|
159
|
+
var d = ["margin", "padding", "border", "borderradius", "background"];
|
|
160
|
+
return (l = W(u)) == null || l.forEach((n) => {
|
|
161
|
+
if (!n || d.includes(n == null ? void 0 : n.toLocaleLowerCase()))
|
|
162
|
+
return;
|
|
163
|
+
let h = u == null ? void 0 : u[n];
|
|
164
|
+
y(h) || Z(i, o(n, h));
|
|
165
|
+
}), i;
|
|
166
|
+
}, a = (u) => r(te(u));
|
|
167
|
+
e != null && e.default && !z(e == null ? void 0 : e.default) && c.push({ selector: ":root", declarations: a(e.default) }), e != null && e.active && !z(e == null ? void 0 : e.active) && c.push({ selector: ":root:active", declarations: a(e.active) }), e != null && e.focus && !z(e == null ? void 0 : e.focus) && c.push({ selector: ":root:focus", declarations: a(e.focus) }), e != null && e.hover && !z(e == null ? void 0 : e.hover) && c.push({ selector: ":root:hover", declarations: a(e.hover) }), p(c);
|
|
168
|
+
});
|
|
169
|
+
return {
|
|
170
|
+
changeListener: (e) => new Promise((p) => {
|
|
171
|
+
N(e).then((c) => {
|
|
172
|
+
s(c).then((o) => {
|
|
173
|
+
p(o);
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
}),
|
|
177
|
+
switchColor: (e) => e ? "var(--el-color-primary)" : "var(--el-color-info)",
|
|
178
|
+
switchColorClass: (e) => e ? "primary" : "info",
|
|
179
|
+
toStateInf: w
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
const we = /* @__PURE__ */ I({
|
|
183
|
+
__name: "_share_size",
|
|
184
|
+
props: {
|
|
185
|
+
modelValue: null,
|
|
186
|
+
label: null,
|
|
187
|
+
color: null,
|
|
188
|
+
options: null
|
|
189
|
+
},
|
|
190
|
+
emits: ["update:modelValue"],
|
|
191
|
+
setup(b, { emit: t }) {
|
|
192
|
+
const s = b, { splitNumericUnit: w } = fe(), N = (o, r) => r === O.auto || m(o) ? r : `${o}${r}`, L = X(() => N(e.value, K.value) || ""), B = () => {
|
|
193
|
+
m(s.modelValue) && L.value === "" || t("update:modelValue", L.value);
|
|
194
|
+
}, K = Y(), e = Y(), p = (o) => {
|
|
195
|
+
const r = w(o || s.modelValue);
|
|
196
|
+
K.value = r == null ? void 0 : r.unit, e.value = r == null ? void 0 : r.numeric;
|
|
197
|
+
}, c = X(() => K.value === O.auto);
|
|
198
|
+
return ee(() => {
|
|
199
|
+
p();
|
|
200
|
+
}), j(() => K.value, (o, r) => {
|
|
201
|
+
o === O.auto ? e.value = "" : r == O.auto && (e.value = "10"), B();
|
|
202
|
+
}), j(() => e.value, () => {
|
|
203
|
+
B();
|
|
204
|
+
}), j(() => s.modelValue, (o) => {
|
|
205
|
+
p(o);
|
|
206
|
+
}), (o, r) => {
|
|
207
|
+
const a = P("el-option"), u = P("el-select"), i = P("el-input");
|
|
208
|
+
return M(), k(ue, {
|
|
209
|
+
label: b.label,
|
|
210
|
+
color: b.color
|
|
211
|
+
}, {
|
|
212
|
+
label: _(() => [
|
|
213
|
+
oe(o.$slots, "label")
|
|
214
|
+
]),
|
|
215
|
+
input: _(() => [
|
|
216
|
+
v(i, {
|
|
217
|
+
type: "number",
|
|
218
|
+
readonly: re(c),
|
|
219
|
+
modelValue: e.value,
|
|
220
|
+
"onUpdate:modelValue": r[1] || (r[1] = (d) => e.value = d),
|
|
221
|
+
class: "hide-spin-button"
|
|
222
|
+
}, {
|
|
223
|
+
append: _(() => [
|
|
224
|
+
v(u, {
|
|
225
|
+
modelValue: K.value,
|
|
226
|
+
"onUpdate:modelValue": r[0] || (r[0] = (d) => K.value = d),
|
|
227
|
+
"suffix-icon": "",
|
|
228
|
+
style: { width: "60px" },
|
|
229
|
+
placeholder: " ",
|
|
230
|
+
teleported: !1
|
|
231
|
+
}, {
|
|
232
|
+
default: _(() => [
|
|
233
|
+
(M(!0), ne(ie, null, ce(b.options, (d) => (M(), k(a, {
|
|
234
|
+
key: d.value,
|
|
235
|
+
label: d.label,
|
|
236
|
+
value: d.value
|
|
237
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
}, 8, ["modelValue"])
|
|
241
|
+
]),
|
|
242
|
+
_: 1
|
|
243
|
+
}, 8, ["readonly", "modelValue"])
|
|
244
|
+
]),
|
|
245
|
+
_: 3
|
|
246
|
+
}, 8, ["label", "color"]);
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
export {
|
|
251
|
+
we as _,
|
|
252
|
+
fe as a,
|
|
253
|
+
de as c,
|
|
254
|
+
me as u
|
|
255
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as c, openBlock as o, createElementBlock as l, createVNode as _, withCtx as i, renderSlot as n, createElementVNode as s, normalizeClass as p, toDisplayString as d, createCommentVNode as m } from "vue";
|
|
2
|
+
import { _ as u } from "./_plugin-vue_export-helper-dad06003.js";
|
|
3
|
+
const f = { style: { display: "flex", "justify-items": "left", margin: "5px 0px" } }, h = {
|
|
4
|
+
key: 0,
|
|
5
|
+
style: { width: "3em", "align-content": "center" }
|
|
6
|
+
}, y = { style: { flex: "1" } }, b = /* @__PURE__ */ r({
|
|
7
|
+
__name: "_share_wrapper",
|
|
8
|
+
props: {
|
|
9
|
+
label: null,
|
|
10
|
+
showLabel: { type: Boolean, default: !0 },
|
|
11
|
+
color: null
|
|
12
|
+
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
return (t, v) => {
|
|
15
|
+
const a = c("el-tooltip");
|
|
16
|
+
return o(), l("div", f, [
|
|
17
|
+
e.showLabel ? (o(), l("div", h, [
|
|
18
|
+
_(a, {
|
|
19
|
+
effect: "dark",
|
|
20
|
+
content: e.label,
|
|
21
|
+
placement: "left"
|
|
22
|
+
}, {
|
|
23
|
+
default: i(() => [
|
|
24
|
+
n(t.$slots, "label", {}, () => [
|
|
25
|
+
s("span", {
|
|
26
|
+
class: p([e.color])
|
|
27
|
+
}, d(e.label), 3)
|
|
28
|
+
], !0)
|
|
29
|
+
]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 8, ["content"])
|
|
32
|
+
])) : m("", !0),
|
|
33
|
+
s("div", y, [
|
|
34
|
+
n(t.$slots, "input", {}, void 0, !0)
|
|
35
|
+
])
|
|
36
|
+
]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const C = /* @__PURE__ */ u(b, [["__scopeId", "data-v-3eb71029"]]);
|
|
41
|
+
export {
|
|
42
|
+
C as s
|
|
43
|
+
};
|
package/_txt-db4019c1.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent as a, ref as i, onMounted as l, nextTick as _, resolveComponent as d, openBlock as p, createElementBlock as u, createElementVNode as f, toDisplayString as v, createBlock as x, unref as h } from "vue";
|
|
2
|
+
import { e as k } from "./enum-type-1348a715.js";
|
|
3
|
+
import { g } from "./file-upload-widget-783a46d2.js";
|
|
4
|
+
import { _ as y } from "./_plugin-vue_export-helper-dad06003.js";
|
|
5
|
+
import "./uuid-009aae31.js";
|
|
6
|
+
import "./field-base-5547436d.js";
|
|
7
|
+
import "./widget-base-4c2d6265.js";
|
|
8
|
+
import "./share-file-6b5504c4.js";
|
|
9
|
+
import "./share-field-17f70bf9.js";
|
|
10
|
+
import "./emitter-80d12b07.js";
|
|
11
|
+
import "./icon-6342f929.js";
|
|
12
|
+
import "./expression-4acf15a4.js";
|
|
13
|
+
import "./source-map-b04aec4a.js";
|
|
14
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
+
import "./esprima-e8d15055.js";
|
|
16
|
+
import "./baseImp-ff7e4f8f.js";
|
|
17
|
+
import "./enum-type-1df758f4.js";
|
|
18
|
+
import "./dialog-d3421250.js";
|
|
19
|
+
import "element-plus";
|
|
20
|
+
import "./slot-f137d0a8.js";
|
|
21
|
+
import "./index-c1db83d7.js";
|
|
22
|
+
import "./optionItem-166eb906.js";
|
|
23
|
+
import "./index-3b33eb7e.js";
|
|
24
|
+
import "./multirow-77b915d8.js";
|
|
25
|
+
import "./form-item-wrapper-61de9c5a.js";
|
|
26
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c0217463.js";
|
|
27
|
+
import "./index-6c9f00d6.js";
|
|
28
|
+
import "./fieldobj-dac175ed.js";
|
|
29
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-208276b6.js";
|
|
30
|
+
import "./drag-wrapper-792251db.js";
|
|
31
|
+
import "./index-ddd23411.js";
|
|
32
|
+
const w = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "full-width hl-page-bk"
|
|
35
|
+
}, B = {
|
|
36
|
+
class: "hl-page-a4",
|
|
37
|
+
style: { padding: "20px", "background-color": "white", "word-break": "break-all" }
|
|
38
|
+
}, S = /* @__PURE__ */ a({
|
|
39
|
+
__name: "_txt",
|
|
40
|
+
props: {
|
|
41
|
+
url: null,
|
|
42
|
+
type: null
|
|
43
|
+
},
|
|
44
|
+
setup(n) {
|
|
45
|
+
const s = n, o = i(""), r = i(!0), m = (t) => {
|
|
46
|
+
const e = new FileReader();
|
|
47
|
+
e.readAsText(t, "GBK"), e.onload = () => {
|
|
48
|
+
o.value = e.result;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
return l(() => {
|
|
52
|
+
g(s.url).then((t) => {
|
|
53
|
+
r.value = t == null ? void 0 : t.isSuccess, t.isSuccess && _(() => {
|
|
54
|
+
m(t == null ? void 0 : t.data);
|
|
55
|
+
});
|
|
56
|
+
}).catch((t) => {
|
|
57
|
+
r.value = !1;
|
|
58
|
+
});
|
|
59
|
+
}), (t, e) => {
|
|
60
|
+
const c = d("el-empty");
|
|
61
|
+
return r.value ? (p(), u("div", w, [
|
|
62
|
+
f("div", B, v(o.value), 1)
|
|
63
|
+
])) : (p(), x(c, {
|
|
64
|
+
key: 1,
|
|
65
|
+
description: h(k).i18nt("designer.hint.failToPreview")
|
|
66
|
+
}, null, 8, ["description"]));
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
const rt = /* @__PURE__ */ y(S, [["__scopeId", "data-v-051110ee"]]);
|
|
71
|
+
export {
|
|
72
|
+
rt as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as l, resolveComponent as t, openBlock as r, createElementBlock as _, createElementVNode as c, createVNode as n, withCtx as e, createTextVNode as o, toDisplayString as i, unref as d } from "vue";
|
|
2
|
+
import { e as a } from "./enum-type-1348a715.js";
|
|
3
|
+
const u = { class: "full-width" }, m = { style: { padding: "20px" } }, v = /* @__PURE__ */ l({
|
|
4
|
+
__name: "_unsupport",
|
|
5
|
+
props: {
|
|
6
|
+
url: null,
|
|
7
|
+
type: null
|
|
8
|
+
},
|
|
9
|
+
setup(f) {
|
|
10
|
+
return (x, h) => {
|
|
11
|
+
const p = t("el-text"), s = t("el-empty");
|
|
12
|
+
return r(), _("div", u, [
|
|
13
|
+
c("div", m, [
|
|
14
|
+
n(s, null, {
|
|
15
|
+
description: e(() => [
|
|
16
|
+
n(p, { type: "danger" }, {
|
|
17
|
+
default: e(() => [
|
|
18
|
+
o(i(d(a).i18nt("designer.hint.unsupportext")), 1)
|
|
19
|
+
]),
|
|
20
|
+
_: 1
|
|
21
|
+
})
|
|
22
|
+
]),
|
|
23
|
+
default: e(() => [
|
|
24
|
+
o("sss ")
|
|
25
|
+
]),
|
|
26
|
+
_: 1
|
|
27
|
+
})
|
|
28
|
+
])
|
|
29
|
+
]);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
v as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as o, createElementBlock as n, createElementVNode as l } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
class: "full-width",
|
|
4
|
+
style: { overflow: "hidden", margin: "0px", padding: "0px", height: "98%" },
|
|
5
|
+
controls: ""
|
|
6
|
+
}, c = ["src", "type"], p = /* @__PURE__ */ t({
|
|
7
|
+
__name: "_video",
|
|
8
|
+
props: {
|
|
9
|
+
url: null,
|
|
10
|
+
type: null
|
|
11
|
+
},
|
|
12
|
+
setup(e) {
|
|
13
|
+
return (s, d) => (o(), n("video", r, [
|
|
14
|
+
l("source", {
|
|
15
|
+
src: e.url,
|
|
16
|
+
type: e.type
|
|
17
|
+
}, null, 8, c)
|
|
18
|
+
]));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
p as default
|
|
23
|
+
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
|
|
2
2
|
import { I as c } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
4
|
-
import { w as d } from "./expression-
|
|
5
|
-
import { c as _ } from "./share-field-
|
|
3
|
+
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3e5ada16.js";
|
|
4
|
+
import { w as d } from "./expression-4acf15a4.js";
|
|
5
|
+
import { c as _ } from "./share-field-17f70bf9.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./optionItem-
|
|
13
|
-
import "./baseImp-
|
|
7
|
+
import "./enum-type-1348a715.js";
|
|
8
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c0217463.js";
|
|
9
|
+
import "./index-c1db83d7.js";
|
|
10
|
+
import "./uuid-009aae31.js";
|
|
11
|
+
import "./enum-type-1df758f4.js";
|
|
12
|
+
import "./optionItem-166eb906.js";
|
|
13
|
+
import "./baseImp-ff7e4f8f.js";
|
|
14
14
|
import "./icon-6342f929.js";
|
|
15
|
-
import "./dialog-
|
|
15
|
+
import "./dialog-d3421250.js";
|
|
16
16
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
17
17
|
import "element-plus";
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./index-3b33eb7e.js";
|
|
19
|
+
import "./index-6c9f00d6.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./slot-
|
|
23
|
-
import "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
24
|
-
import "./drag-wrapper-
|
|
21
|
+
import "./fieldobj-dac175ed.js";
|
|
22
|
+
import "./slot-f137d0a8.js";
|
|
23
|
+
import "./content-wrapper.vue_vue_type_script_setup_true_lang-de21be5b.js";
|
|
24
|
+
import "./drag-wrapper-792251db.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
|
-
import "./emitter-
|
|
28
|
-
import "./multirow-
|
|
27
|
+
import "./emitter-80d12b07.js";
|
|
28
|
+
import "./multirow-77b915d8.js";
|
|
29
29
|
const u = o({ componentName: d.FieldWidget }), M = /* @__PURE__ */ o({
|
|
30
30
|
...u,
|
|
31
31
|
__name: "affix-widget",
|