hldesigner 0.0.136 → 0.0.139
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-77e19b35.js → _pdf-2a5072a7.js} +14 -25
- package/{_txt-21940090.js → _txt-cb319a72.js} +20 -30
- package/{affix-widget-9c80c06d.js → affix-widget-4476a746.js} +3 -3
- package/{alert-widget-152c8d8b.js → alert-widget-a222e423.js} +3 -3
- package/{anchor-widget-9b8ff25b.js → anchor-widget-86940ad9.js} +1 -1
- package/{auto-complete-widget-15bf2c77.js → auto-complete-widget-0d823284.js} +2 -2
- package/{avatar-widget-7d6405f5.js → avatar-widget-1347e323.js} +3 -3
- package/{backtop-widget-8bc811b7.js → backtop-widget-20c6aa2f.js} +3 -3
- package/{badge-widget-18c829aa.js → badge-widget-4a1a39b1.js} +3 -3
- package/{breadcrumb-widget-90053c3f.js → breadcrumb-widget-2fc915b2.js} +1 -1
- package/{button-widget-02482805.js → button-widget-ac368a76.js} +3 -3
- package/{cache-widget-3643063c.js → cache-widget-c3f2f8a3.js} +1 -1
- package/{card-widget-703cb9a4.js → card-widget-e2170bd3.js} +2 -2
- package/{carousel-widget-4cb4c57e.js → carousel-widget-2806bcb2.js} +1 -1
- package/{cascader-widget-3ff45391.js → cascader-widget-dfac1e6f.js} +1 -1
- package/{chart-widget-d92a3402.js → chart-widget-c8a747c6.js} +1 -1
- package/{checkbox-widget-ab9a164a.js → checkbox-widget-4078f7e1.js} +1 -1
- package/{collapse-widget-5561c001.js → collapse-widget-a57a924a.js} +1 -1
- package/{color-picker-widget-5ec716e2.js → color-picker-widget-f319e097.js} +1 -1
- package/{configItem-ecbd2a78.js → configItem-f463e99a.js} +18 -18
- package/{cont-cell-widget-4589125d.js → cont-cell-widget-02cc00e4.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-19d63098.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a62f5861.js} +2 -2
- package/{cont-widget-c3b78885.js → cont-widget-17371aa1.js} +2 -2
- package/{date-picker-range-widget-a822578e.js → date-picker-range-widget-92be0e8f.js} +1 -1
- package/{date-picker-widget-50b9f8ca.js → date-picker-widget-e3ea276d.js} +1 -1
- package/{default-slot-widget-961c046e.js → default-slot-widget-8db14cd8.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-debb580d.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d128fdb6.js} +1 -1
- package/{descriptions-widget-9c54aa29.js → descriptions-widget-1e095fe9.js} +2 -2
- package/designer.es.js +17 -17
- package/designer.style.css +1 -1
- package/designer.umd.js +319 -318
- package/{dialog-widget-d4060823.js → dialog-widget-9af2e166.js} +3 -3
- package/{divider-widget-91651aa0.js → divider-widget-cfb1eab4.js} +3 -3
- package/{drag-wrapper-c19ebb57.js → drag-wrapper-5fe2e956.js} +19 -19
- package/{drawer-widget-d7bc50fb.js → drawer-widget-dbde2792.js} +3 -3
- package/{dropdown-widget-283a54ae.js → dropdown-widget-7208a52b.js} +2 -2
- package/{empty-widget-bc7d1ded.js → empty-widget-a8cb0d69.js} +3 -3
- package/{feedback-widget-17a34656.js → feedback-widget-5ad56484.js} +3 -3
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-97aa84e3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e48773e1.js} +2 -2
- package/file-upload-widget-2758459f.js +355 -0
- package/{form-widget-c9636eda.js → form-widget-cb002889.js} +2 -2
- package/{grid-col-widget-57071812.js → grid-col-widget-6d5eaf7f.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b860599c.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-046cb801.js} +2 -2
- package/{grid-widget-68b16783.js → grid-widget-ff1ee64d.js} +2 -2
- package/{html-text-widget-cea10b0a.js → html-text-widget-366d0ec7.js} +1 -1
- package/{icon-widget-3ea823c3.js → icon-widget-5e3f714d.js} +1 -1
- package/{iframe-widget-73347154.js → iframe-widget-4ac8f82d.js} +1 -1
- package/{image-widget-038cff74.js → image-widget-b9c3203c.js} +1 -1
- package/{index-35e09295.js → index-44070c02.js} +17 -17
- package/{index-80756b41.js → index-553c347e.js} +6 -6
- package/{index-8a29825e.js → index-89bc16a3.js} +19 -19
- package/{index-6f1760c9.js → index-951f2227.js} +3 -3
- package/{index-4b2f21ff.js → index-99197d0b.js} +1 -1
- package/{index-98d636cc.js → index-de13bfd5.js} +2 -2
- package/{index-f3be0ee3.js → index-e7c47113.js} +19 -19
- package/{input-number-widget-7401a467.js → input-number-widget-e273a85f.js} +1 -1
- package/{input-widget-3061783a.js → input-widget-f3564a7f.js} +2 -2
- package/{install-designer-12fd927c.js → install-designer-6b8fdfc4.js} +13 -13
- package/{link-widget-b72f86be.js → link-widget-b801380d.js} +3 -3
- package/{ltable-col-widget-6194e7b9.js → ltable-col-widget-70b05f21.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-48d374a5.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-1ad67981.js} +2 -2
- package/{ltable-widget-e8dd17a4.js → ltable-widget-fcb50337.js} +2 -2
- package/{menu-widget-e9f2d2a3.js → menu-widget-332185ad.js} +1 -1
- package/{model-widget-26315be3.js → model-widget-f70a35ea.js} +1 -1
- package/{multirow-widget-e15cda1d.js → multirow-widget-c31fd115.js} +2 -2
- package/package.json +1 -1
- package/{pagination-widget-adcc5eae.js → pagination-widget-786f9b08.js} +1 -1
- package/picture-upload-widget-26f9e261.js +175 -0
- package/{progress-widget-14f698da.js → progress-widget-5fcb12f9.js} +2 -2
- package/{radio-widget-07acb513.js → radio-widget-d36ccdc2.js} +1 -1
- package/{range-widget-af69e723.js → range-widget-3a915911.js} +2 -2
- package/{rate-widget-33189515.js → rate-widget-fd922a64.js} +1 -1
- package/{reg-editor.vue_vue_type_script_setup_true_lang-0e1d40f2.js → reg-editor.vue_vue_type_script_setup_true_lang-e4ccce5a.js} +1 -1
- package/{result-widget-9fc27de6.js → result-widget-4742edaa.js} +2 -2
- package/{rich-editor-widget-915d4370.js → rich-editor-widget-d8171584.js} +1 -1
- package/{router-widget-b6c7f64d.js → router-widget-b3e733ca.js} +1 -1
- package/{select-widget-ee00a041.js → select-widget-e5c14274.js} +1 -1
- package/{share-field-ea11829e.js → share-field-3afb6686.js} +248 -245
- package/share-file-4732106c.js +241 -0
- package/{slider-widget-8b24df70.js → slider-widget-612426bd.js} +1 -1
- package/{static-text-widget-11534859.js → static-text-widget-9bcc0222.js} +1 -1
- package/{steps-widget-742aa806.js → steps-widget-ab30754a.js} +1 -1
- package/{switch-widget-04cfd0ab.js → switch-widget-1758d513.js} +1 -1
- package/{tab-pane-widget-18616640.js → tab-pane-widget-5af4c580.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-493463b9.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4943ccab.js} +2 -2
- package/{table-col-widget-a69a6562.js → table-col-widget-050b0e59.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-06d5ecc8.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-22be5eca.js} +1 -1
- package/{table-widget-8c2d27ec.js → table-widget-77f73ca5.js} +3 -3
- package/{tabs-widget-c9d05aba.js → tabs-widget-256ebdad.js} +2 -2
- package/{tag-widget-eaf1d63f.js → tag-widget-a0d6089e.js} +3 -3
- package/{target-datasource-5f2f62e2.js → target-datasource-9e498b7f.js} +19 -19
- package/{target-link-a8bd65dc.js → target-link-0b94c517.js} +19 -19
- package/{target-saveForm-cc7a885d.js → target-saveForm-7abec9b9.js} +19 -19
- package/{text-widget-6696d020.js → text-widget-94094545.js} +3 -3
- package/{textarea-widget-3cb8a4f4.js → textarea-widget-bb25fda4.js} +1 -1
- package/{time-picker-range-widget-68c7fe62.js → time-picker-range-widget-e356e988.js} +1 -1
- package/{time-picker-widget-336f3cc4.js → time-picker-widget-a929751a.js} +1 -1
- package/{time-select-widget-ba20817e.js → time-select-widget-c290e04c.js} +1 -1
- package/{tmpl-widget-dff8160b.js → tmpl-widget-881f3b85.js} +2 -2
- package/{tree-select-widget-417de833.js → tree-select-widget-751cd25b.js} +1 -1
- package/{tree-widget-f9f19be5.js → tree-widget-055d7a12.js} +1 -1
- package/{wrapper-widget-eb4bc8c8.js → wrapper-widget-7811eaec.js} +2 -2
- package/file-upload-widget-003a6387.js +0 -400
- package/picture-upload-widget-0f887ca8.js +0 -168
- package/share-file-37d8c87d.js +0 -171
|
@@ -1,7 +1,7 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e48773e1.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-5fe2e956.js";
|
|
5
5
|
import "./baseImp-c47ee3e2.js";
|
|
6
6
|
import "./enum-type-7a78219b.js";
|
|
7
7
|
import "./enum-type-ed4bb9c3.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
22
22
|
import "./index-deace08c.js";
|
|
23
23
|
import "./fieldobj-c44f899a.js";
|
|
24
|
-
import "./share-field-
|
|
24
|
+
import "./share-field-3afb6686.js";
|
|
25
25
|
import "./emitter-e3e94d64.js";
|
|
26
26
|
import "./multirow-f7027c08.js";
|
|
27
27
|
const D = /* @__PURE__ */ r({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as l, createBlock as c, mergeProps as f, unref as t } from "vue";
|
|
2
2
|
import { I as _ } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d128fdb6.js";
|
|
4
4
|
import { w as g } from "./expression-2093e5c5.js";
|
|
5
|
-
import { c as v } from "./share-field-
|
|
5
|
+
import { c as v } from "./share-field-3afb6686.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-7a78219b.js";
|
|
8
8
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-c44f899a.js";
|
|
22
22
|
import "./slot-8be85cbf.js";
|
|
23
23
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-96e82b15.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-5fe2e956.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
import "./emitter-e3e94d64.js";
|
|
@@ -7,8 +7,8 @@ import { c as z, F as S } from "./slot-8be85cbf.js";
|
|
|
7
7
|
import { e as J } from "./expression-2093e5c5.js";
|
|
8
8
|
import { _ as P } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
9
|
const j = (e, l) => {
|
|
10
|
-
const
|
|
11
|
-
return
|
|
10
|
+
const t = e[l];
|
|
11
|
+
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
|
|
12
12
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, new Error("Unknown variable dynamic import: " + l)));
|
|
13
13
|
});
|
|
14
14
|
};
|
|
@@ -16,7 +16,7 @@ function K() {
|
|
|
16
16
|
let e = /* @__PURE__ */ new Map();
|
|
17
17
|
const l = (a) => {
|
|
18
18
|
var n = b.getWidgetName(a), p = null;
|
|
19
|
-
return n && (b.isContainer(a) ? p = A(() => j(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-
|
|
19
|
+
return n && (b.isContainer(a) ? p = A(() => j(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-02cc00e4.js").then((i) => i._), "./container-widget/cont-widget.vue": () => import("./cont-widget-17371aa1.js").then((i) => i._), "./container-widget/form-widget.vue": () => import("./form-widget-cb002889.js").then((i) => i._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-6d5eaf7f.js").then((i) => i._), "./container-widget/grid-widget.vue": () => import("./grid-widget-ff1ee64d.js").then((i) => i._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-70b05f21.js").then((i) => i._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-fcb50337.js").then((i) => i._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-5af4c580.js").then((i) => i._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-256ebdad.js").then((i) => i._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-7811eaec.js").then((i) => i._) }), `./container-widget/${n}.vue`)) : p = A(() => j(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-4476a746.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-a222e423.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-919ac0ee.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-86940ad9.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-0d823284.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-1347e323.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-20c6aa2f.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-4a1a39b1.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-2fc915b2.js"), "./field-widget/button-widget.vue": () => import("./button-widget-ac368a76.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-c3f2f8a3.js"), "./field-widget/card-widget.vue": () => import("./card-widget-e2170bd3.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-2806bcb2.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-dfac1e6f.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-c8a747c6.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-4078f7e1.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-a57a924a.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-f319e097.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-22777c95.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-92be0e8f.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-e3ea276d.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-8db14cd8.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-1e095fe9.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-9af2e166.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-cfb1eab4.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-dbde2792.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-7208a52b.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-a8cb0d69.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-5ad56484.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-2758459f.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-5efba174.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-366d0ec7.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-5e3f714d.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-4ac8f82d.js"), "./field-widget/image-widget.vue": () => import("./image-widget-b9c3203c.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-e273a85f.js"), "./field-widget/input-widget.vue": () => import("./input-widget-f3564a7f.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-49669a58.js"), "./field-widget/link-widget.vue": () => import("./link-widget-b801380d.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-332185ad.js"), "./field-widget/model-widget.vue": () => import("./model-widget-f70a35ea.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-c31fd115.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-786f9b08.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-26f9e261.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-5fcb12f9.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-d36ccdc2.js"), "./field-widget/range-widget.vue": () => import("./range-widget-3a915911.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-fd922a64.js"), "./field-widget/result-widget.vue": () => import("./result-widget-4742edaa.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-d8171584.js"), "./field-widget/router-widget.vue": () => import("./router-widget-b3e733ca.js"), "./field-widget/select-widget.vue": () => import("./select-widget-e5c14274.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-612426bd.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-9bcc0222.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-ab30754a.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-96e41f54.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-1758d513.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-050b0e59.js"), "./field-widget/table-widget.vue": () => import("./table-widget-77f73ca5.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-a0d6089e.js"), "./field-widget/text-widget.vue": () => import("./text-widget-94094545.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-bb25fda4.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-e356e988.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-a929751a.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-c290e04c.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-881f3b85.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-751cd25b.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-055d7a12.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-fa6b14ff.js") }), `./field-widget/${n}.vue`))), p;
|
|
20
20
|
};
|
|
21
21
|
return { components: (a) => {
|
|
22
22
|
var n = b.getWidgetName(a);
|
|
@@ -45,21 +45,21 @@ const Q = /* @__PURE__ */ B({
|
|
|
45
45
|
},
|
|
46
46
|
setup(e) {
|
|
47
47
|
const l = e;
|
|
48
|
-
$((
|
|
49
|
-
"3181642b": d(
|
|
48
|
+
$((i) => ({
|
|
49
|
+
"3181642b": d(t),
|
|
50
50
|
"3647b13c": d(a),
|
|
51
51
|
"09837c9c": d(n)
|
|
52
52
|
}));
|
|
53
|
-
const { ctrlWidth:
|
|
54
|
-
return (
|
|
53
|
+
const { ctrlWidth: t, ctrlHeight: a, displayLayout: n, hidden: p } = z(l);
|
|
54
|
+
return (i, N) => e.componentName ? (m(), u(C(e.componentName), c({
|
|
55
55
|
key: 0,
|
|
56
56
|
class: [e.componentClass, "comp__1"]
|
|
57
57
|
}, e.componentAttrs), {
|
|
58
58
|
default: w(() => [
|
|
59
|
-
f(
|
|
59
|
+
f(i.$slots, "default", {}, void 0, !0)
|
|
60
60
|
]),
|
|
61
61
|
_: 3
|
|
62
|
-
}, 16, ["class"])) : f(
|
|
62
|
+
}, 16, ["class"])) : f(i.$slots, "default", c({
|
|
63
63
|
key: 1,
|
|
64
64
|
class: [e.componentClass, "comp__1"]
|
|
65
65
|
}, e.componentAttrs), void 0, !0);
|
|
@@ -138,12 +138,12 @@ const O = /* @__PURE__ */ P(Q, [["__scopeId", "data-v-556cd573"]]), X = {
|
|
|
138
138
|
},
|
|
139
139
|
emits: ["update"],
|
|
140
140
|
setup(e, { emit: l }) {
|
|
141
|
-
const
|
|
141
|
+
const t = e, { components: a } = K(), { checkWidgetMove: n, onWidgetDragAdd: p, onWidgetDragUpdate: i, onWidgetDragEnd: N, onWidgetDragRemove: T } = U(t.designer), y = (o) => {
|
|
142
142
|
l("update", o);
|
|
143
143
|
}, g = I({
|
|
144
|
-
get: () =>
|
|
144
|
+
get: () => t.widget ? H(t.widget, t.propName) : t.widgetList,
|
|
145
145
|
set: (o) => {
|
|
146
|
-
|
|
146
|
+
t.widget ? G(t.widget, t.propName, o) : l("update", o);
|
|
147
147
|
}
|
|
148
148
|
// || props.exWidgetList
|
|
149
149
|
/*exWidgetList: {
|
|
@@ -151,12 +151,12 @@ const O = /* @__PURE__ */ P(Q, [["__scopeId", "data-v-556cd573"]]), X = {
|
|
|
151
151
|
default: null
|
|
152
152
|
},*/
|
|
153
153
|
});
|
|
154
|
-
return (k(
|
|
155
|
-
globalDataModel:
|
|
156
|
-
}),
|
|
157
|
-
formRefList:
|
|
158
|
-
}), k(
|
|
159
|
-
rowScope:
|
|
154
|
+
return (k(t.model) || t.provideModel) && S.globalProvide({
|
|
155
|
+
globalDataModel: t == null ? void 0 : t.model
|
|
156
|
+
}), t.refList && S.globalProvide({
|
|
157
|
+
formRefList: t.refList
|
|
158
|
+
}), k(t.rowScope) && k(t.rowScope) && S.globalProvide({
|
|
159
|
+
rowScope: t.rowScope
|
|
160
160
|
}), (o, s) => {
|
|
161
161
|
const W = E("draggable");
|
|
162
162
|
return o.designState === !0 ? (m(), u(W, c({
|
|
@@ -172,7 +172,7 @@ const O = /* @__PURE__ */ P(Q, [["__scopeId", "data-v-556cd573"]]), X = {
|
|
|
172
172
|
onEnd: s[0] || (s[0] = (r) => d(N)(r, d(g))),
|
|
173
173
|
onRemove: s[1] || (s[1] = (r) => d(T)(r, d(g), y)),
|
|
174
174
|
onAdd: s[2] || (s[2] = (r) => d(p)(r, d(g), y)),
|
|
175
|
-
onUpdate: s[3] || (s[3] = (r) => d(
|
|
175
|
+
onUpdate: s[3] || (s[3] = (r) => d(i)(r, d(g), y)),
|
|
176
176
|
move: d(n)
|
|
177
177
|
}), {
|
|
178
178
|
header: w(() => [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e48773e1.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-5fe2e956.js";
|
|
5
5
|
import "./baseImp-c47ee3e2.js";
|
|
6
6
|
import "./enum-type-7a78219b.js";
|
|
7
7
|
import "./enum-type-ed4bb9c3.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
22
22
|
import "./index-deace08c.js";
|
|
23
23
|
import "./fieldobj-c44f899a.js";
|
|
24
|
-
import "./share-field-
|
|
24
|
+
import "./share-field-3afb6686.js";
|
|
25
25
|
import "./emitter-e3e94d64.js";
|
|
26
26
|
import "./multirow-f7027c08.js";
|
|
27
27
|
const D = /* @__PURE__ */ o({
|
|
@@ -2,11 +2,11 @@ import { defineComponent as w, computed as B, resolveComponent as a, openBlock a
|
|
|
2
2
|
import { e as $ } from "./enum-type-7a78219b.js";
|
|
3
3
|
import { I as A } from "./field-base-5547436d.js";
|
|
4
4
|
import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
5
|
-
import { c as P } from "./share-field-
|
|
5
|
+
import { c as P } from "./share-field-3afb6686.js";
|
|
6
6
|
import { w as I } from "./expression-2093e5c5.js";
|
|
7
7
|
import { b as K } from "./baseImp-c47ee3e2.js";
|
|
8
8
|
import { g as q } from "./slot-8be85cbf.js";
|
|
9
|
-
import { D as G } from "./drag-wrapper-
|
|
9
|
+
import { D as G } from "./drag-wrapper-5fe2e956.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
11
|
import "./index-46b27b2d.js";
|
|
12
12
|
import "./uuid-009aae31.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as c } from "vue";
|
|
2
2
|
import { I as f } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d128fdb6.js";
|
|
4
4
|
import { w as d } from "./expression-2093e5c5.js";
|
|
5
|
-
import { c as _ } from "./share-field-
|
|
5
|
+
import { c as _ } from "./share-field-3afb6686.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
7
7
|
import "./enum-type-7a78219b.js";
|
|
8
8
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-c44f899a.js";
|
|
22
22
|
import "./slot-8be85cbf.js";
|
|
23
23
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-96e82b15.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-5fe2e956.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
import "./emitter-e3e94d64.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e48773e1.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-5fe2e956.js";
|
|
5
5
|
import "./baseImp-c47ee3e2.js";
|
|
6
6
|
import "./enum-type-7a78219b.js";
|
|
7
7
|
import "./enum-type-ed4bb9c3.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
22
22
|
import "./index-deace08c.js";
|
|
23
23
|
import "./fieldobj-c44f899a.js";
|
|
24
|
-
import "./share-field-
|
|
24
|
+
import "./share-field-3afb6686.js";
|
|
25
25
|
import "./emitter-e3e94d64.js";
|
|
26
26
|
import "./multirow-f7027c08.js";
|
|
27
27
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as O, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as o } from "./drag-wrapper-
|
|
3
|
+
import { D as o } from "./drag-wrapper-5fe2e956.js";
|
|
4
4
|
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
5
5
|
import { d as U, w as q } from "./expression-2093e5c5.js";
|
|
6
|
-
import { c as A } from "./share-field-
|
|
6
|
+
import { c as A } from "./share-field-3afb6686.js";
|
|
7
7
|
import { g as v } from "./slot-8be85cbf.js";
|
|
8
8
|
const G = O({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ O({
|
|
9
9
|
...G,
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
import { defineComponent as B, shallowRef as ue, onMounted as me, openBlock as l, createElementBlock as n, createBlock as i, resolveDynamicComponent as A, unref as e, defineAsyncComponent as V, computed as _e, ref as L, resolveComponent as P, Fragment as C, createVNode as a, mergeProps as N, withCtx as o, toHandlers as Z, createSlots as ee, createElementVNode as r, createTextVNode as W, toDisplayString as c, createCommentVNode as u, renderList as ye, normalizeProps as he } from "vue";
|
|
2
|
+
import { e as p } from "./enum-type-7a78219b.js";
|
|
3
|
+
import { u as ge } from "./uuid-009aae31.js";
|
|
4
|
+
import { I as ke } from "./field-base-5547436d.js";
|
|
5
|
+
import { u as fe } from "./share-file-4732106c.js";
|
|
6
|
+
import { f as b, w as ve } from "./expression-2093e5c5.js";
|
|
7
|
+
import we from "./form-item-wrapper-5efba174.js";
|
|
8
|
+
import { g as Ce } from "./slot-8be85cbf.js";
|
|
9
|
+
import { D as be } from "./drag-wrapper-5fe2e956.js";
|
|
10
|
+
import { UploadFilled as De, Plus as $e, Document as Te, Download as te, CircleCheck as le, Close as oe } from "./index-ddd23411.js";
|
|
11
|
+
import { w as ae } from "./enum-type-ed4bb9c3.js";
|
|
12
|
+
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
13
|
+
import "./widget-base-4c2d6265.js";
|
|
14
|
+
import "./share-field-3afb6686.js";
|
|
15
|
+
import "./emitter-e3e94d64.js";
|
|
16
|
+
import "./icon-6342f929.js";
|
|
17
|
+
import "./baseImp-c47ee3e2.js";
|
|
18
|
+
import "./dialog-03470982.js";
|
|
19
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
20
|
+
import "element-plus";
|
|
21
|
+
import "./index-46b27b2d.js";
|
|
22
|
+
import "./optionItem-7b330a5f.js";
|
|
23
|
+
import "./index-8bd63a38.js";
|
|
24
|
+
import "./multirow-f7027c08.js";
|
|
25
|
+
import "./source-map-b04aec4a.js";
|
|
26
|
+
import "./esprima-e8d15055.js";
|
|
27
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
28
|
+
import "./index-deace08c.js";
|
|
29
|
+
import "./fieldobj-c44f899a.js";
|
|
30
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-9ac7156e.js";
|
|
31
|
+
const Ue = {
|
|
32
|
+
class: "full-height full-width",
|
|
33
|
+
style: { overflow: "auto" }
|
|
34
|
+
}, Fe = /* @__PURE__ */ B({
|
|
35
|
+
__name: "index",
|
|
36
|
+
props: {
|
|
37
|
+
file: null
|
|
38
|
+
},
|
|
39
|
+
setup(D) {
|
|
40
|
+
const $ = D, m = ue(), T = () => {
|
|
41
|
+
var x, v, y, h, U;
|
|
42
|
+
switch ((x = $.file) == null ? void 0 : x.type) {
|
|
43
|
+
case "application/pdf": {
|
|
44
|
+
m.value = V(() => import("./_pdf-2a5072a7.js"));
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case "text/plain": {
|
|
48
|
+
m.value = V(() => import("./_txt-cb319a72.js"));
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
default: {
|
|
52
|
+
(y = (v = $.file) == null ? void 0 : v.type) != null && y.startsWith("image/") ? m.value = V(() => import("./_image-fab8c8e2.js")) : (U = (h = $.file) == null ? void 0 : h.type) != null && U.startsWith("video/") ? m.value = V(() => import("./_video-21c5b64e.js")) : m.value = V(() => import("./_unsupport-82fb0e39.js"));
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
return me(() => {
|
|
58
|
+
T();
|
|
59
|
+
}), (x, v) => {
|
|
60
|
+
var y, h;
|
|
61
|
+
return l(), n("div", Ue, [
|
|
62
|
+
(l(), i(A(e(m)), {
|
|
63
|
+
url: (y = D.file) == null ? void 0 : y.url,
|
|
64
|
+
type: (h = D.file) == null ? void 0 : h.type
|
|
65
|
+
}, null, 8, ["url", "type"]))
|
|
66
|
+
]);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}), Ve = { class: "el-upload__tip" }, Ne = { class: "el-upload__text" }, Se = { class: "el-upload-list__item-info" }, je = {
|
|
70
|
+
class: "el-upload-list__item-name",
|
|
71
|
+
style: { "justify-content": "space-between" }
|
|
72
|
+
}, Pe = ["title"], We = ["title", "onClick"], Oe = {
|
|
73
|
+
key: 0,
|
|
74
|
+
class: "fileOperCol"
|
|
75
|
+
}, Ee = { class: "el-upload-list__item-status-label" }, Le = ["src"], Ae = { class: "el-upload-list__item-info" }, Be = {
|
|
76
|
+
class: "el-upload-list__item-name",
|
|
77
|
+
style: { "justify-content": "space-between" }
|
|
78
|
+
}, He = ["title"], Ie = ["title", "onClick"], Re = {
|
|
79
|
+
key: 2,
|
|
80
|
+
class: "fileOperCol"
|
|
81
|
+
}, Me = { class: "el-upload-list__item-status-label" }, ze = { style: { "text-align": "right" } }, Ke = B({ componentName: ve.FieldWidget }), qe = /* @__PURE__ */ B({
|
|
82
|
+
...Ke,
|
|
83
|
+
__name: "file-upload-widget",
|
|
84
|
+
props: { ...ke },
|
|
85
|
+
setup(D, { expose: $ }) {
|
|
86
|
+
const m = D, { handleDownload: T, slots: x, fieldEditor: v, fieldKey: y, uploadData: h, uploadHeaders: U, uploadBtnHidden: H, uploadTip: I, exposed: se, rules: ne, extendAttrs: S, attrs: k, events: R, fieldObj: ie, fileList: M, exterPreview: re, submitToServer: de, handleManualRemove: z, getRealFile: K, handleStatusChange: q, isAllow: w } = fe(m), ce = _e(() => m.designState ? [{ uid: ge(), url: `${p.i18nt("designer.hint.fileUrl")}`, name: `${p.i18nt("designer.hint.fileName")}` }] : M), G = L({
|
|
87
|
+
"--select-file-action": `'${p.i18nt("render.hint.selectFile")}'`
|
|
88
|
+
}), j = L(!1), J = L(), O = (F) => {
|
|
89
|
+
const s = re(F);
|
|
90
|
+
if (!(s != null && s.previewed))
|
|
91
|
+
return j.value = !0, J.value = s == null ? void 0 : s.file, s == null ? void 0 : s.url;
|
|
92
|
+
};
|
|
93
|
+
return $({ ...se, handleDownload: T, handlePreview: O }), (F, s) => {
|
|
94
|
+
const E = P("el-button"), _ = P("el-icon"), Q = P("el-upload"), pe = P("el-dialog");
|
|
95
|
+
return l(), n(C, null, [
|
|
96
|
+
a(we, N(F.$props, {
|
|
97
|
+
propOptions: { fieldObj: e(ie), rules: e(ne) }
|
|
98
|
+
}), {
|
|
99
|
+
default: o(({ data: f }) => {
|
|
100
|
+
var X, Y;
|
|
101
|
+
return [
|
|
102
|
+
e(S).slotable ? (l(), i(Q, N({
|
|
103
|
+
ref_key: "fieldEditor",
|
|
104
|
+
ref: v,
|
|
105
|
+
key: e(y)
|
|
106
|
+
}, e(k), Z(e(R)), {
|
|
107
|
+
data: e(h),
|
|
108
|
+
headers: e(U),
|
|
109
|
+
style: { ...G.value, ...f.injectStyle },
|
|
110
|
+
"on-change": e(q),
|
|
111
|
+
"file-list": e(ce),
|
|
112
|
+
class: [f.injectClass, e(H) ? "hideUploadDiv" : ""]
|
|
113
|
+
}), ee({ _: 2 }, [
|
|
114
|
+
ye(e(Ce)(e(x), F.designState, (Y = e(S)) == null ? void 0 : Y.slotable), (t) => ({
|
|
115
|
+
name: t == null ? void 0 : t.slotName,
|
|
116
|
+
fn: o(({ file: d }) => [
|
|
117
|
+
(t == null ? void 0 : t.slotName) === "file" ? (l(), n(C, { key: 0 }, [
|
|
118
|
+
t.default ? (l(), i(A(t.default), he(N({ key: 0 }, { row: e(K)(d) })), null, 16)) : u("", !0)
|
|
119
|
+
], 64)) : (l(), n(C, { key: 1 }, [
|
|
120
|
+
t.default ? (l(), i(A(t.default), { key: 0 })) : u("", !0)
|
|
121
|
+
], 64)),
|
|
122
|
+
t != null && t.widgetList ? (l(), i(be, N({ key: 2 }, F.$props, {
|
|
123
|
+
widget: t,
|
|
124
|
+
"row-scope": { row: e(K)(d) },
|
|
125
|
+
dragTip: `${e(p).i18nt("designer.hint.draggableArea1")} [${t == null ? void 0 : t.slotName}]`
|
|
126
|
+
}), null, 16, ["widget", "row-scope", "dragTip"])) : u("", !0)
|
|
127
|
+
])
|
|
128
|
+
}))
|
|
129
|
+
]), 1040, ["data", "headers", "style", "on-change", "file-list", "class"])) : (l(), i(Q, N({
|
|
130
|
+
ref_key: "fieldEditor",
|
|
131
|
+
ref: v,
|
|
132
|
+
key: e(y)
|
|
133
|
+
}, e(k), Z(e(R)), {
|
|
134
|
+
data: e(h),
|
|
135
|
+
headers: e(U),
|
|
136
|
+
style: { ...G.value, ...f.injectStyle },
|
|
137
|
+
"file-list": e(M),
|
|
138
|
+
"on-change": e(q),
|
|
139
|
+
class: [f.injectClass, e(H) ? "hideUploadDiv" : ""]
|
|
140
|
+
}), ee({
|
|
141
|
+
trigger: o(() => {
|
|
142
|
+
var t, d;
|
|
143
|
+
return [
|
|
144
|
+
(t = e(k)) != null && t.drag ? (l(), n(C, { key: 0 }, [
|
|
145
|
+
a(_, { class: "el-icon--upload" }, {
|
|
146
|
+
default: o(() => [
|
|
147
|
+
a(e(De))
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}),
|
|
151
|
+
r("div", Ne, [
|
|
152
|
+
W(c(e(p).i18nt("designer.hint.dropFileHere")) + " " + c(e(p).i18nt("designer.hint.or")) + " ", 1),
|
|
153
|
+
r("em", null, c(e(p).i18nt("designer.hint.clickToUpload")), 1)
|
|
154
|
+
])
|
|
155
|
+
], 64)) : ((d = e(k)) == null ? void 0 : d.listType) === e(ae).pictureCard ? (l(), i(_, { key: 1 }, {
|
|
156
|
+
default: o(() => [
|
|
157
|
+
a(e($e))
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
})) : (l(), i(E, { key: 2 }, {
|
|
161
|
+
default: o(() => {
|
|
162
|
+
var g;
|
|
163
|
+
return [
|
|
164
|
+
W(c(((g = e(S)) == null ? void 0 : g.uploadTriggerTip) || e(p).i18nt("designer.hint.uploadTriggerTip")), 1)
|
|
165
|
+
];
|
|
166
|
+
}),
|
|
167
|
+
_: 1
|
|
168
|
+
}))
|
|
169
|
+
];
|
|
170
|
+
}),
|
|
171
|
+
file: o(({ file: t }) => {
|
|
172
|
+
var d;
|
|
173
|
+
return [
|
|
174
|
+
((d = e(k)) == null ? void 0 : d.listType) === e(ae).text ? (l(), n(C, { key: 0 }, [
|
|
175
|
+
r("div", Se, [
|
|
176
|
+
r("a", je, [
|
|
177
|
+
r("div", null, [
|
|
178
|
+
a(_, null, {
|
|
179
|
+
default: o(() => [
|
|
180
|
+
a(e(Te))
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}),
|
|
184
|
+
e(w)(e(b).allowPreview, t) ? (l(), n("span", {
|
|
185
|
+
key: 1,
|
|
186
|
+
class: "el-upload-list__item-file-name",
|
|
187
|
+
title: t == null ? void 0 : t.name,
|
|
188
|
+
onClick: (g) => O(t)
|
|
189
|
+
}, c(t == null ? void 0 : t.name), 9, We)) : (l(), n("span", {
|
|
190
|
+
key: 0,
|
|
191
|
+
class: "el-upload-list__item-file-name",
|
|
192
|
+
title: t == null ? void 0 : t.name
|
|
193
|
+
}, c(t == null ? void 0 : t.name), 9, Pe))
|
|
194
|
+
]),
|
|
195
|
+
e(w)(e(b).allowDownload, t) ? (l(), n("div", Oe, [
|
|
196
|
+
a(_, {
|
|
197
|
+
onClick: (g) => e(T)(t)
|
|
198
|
+
}, {
|
|
199
|
+
default: o(() => [
|
|
200
|
+
a(e(te))
|
|
201
|
+
]),
|
|
202
|
+
_: 2
|
|
203
|
+
}, 1032, ["onClick"])
|
|
204
|
+
])) : u("", !0)
|
|
205
|
+
])
|
|
206
|
+
]),
|
|
207
|
+
r("label", Ee, [
|
|
208
|
+
(t == null ? void 0 : t.status) === "success" ? (l(), i(_, {
|
|
209
|
+
key: 0,
|
|
210
|
+
class: "el-icon--upload-success el-icon--check",
|
|
211
|
+
type: "success"
|
|
212
|
+
}, {
|
|
213
|
+
default: o(() => [
|
|
214
|
+
a(e(le))
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
})) : u("", !0)
|
|
218
|
+
]),
|
|
219
|
+
e(w)(e(b).allowDelete, t) ? (l(), i(_, {
|
|
220
|
+
key: 0,
|
|
221
|
+
class: "el-icon--close",
|
|
222
|
+
onClick: (g) => e(z)(t)
|
|
223
|
+
}, {
|
|
224
|
+
default: o(() => [
|
|
225
|
+
a(e(oe))
|
|
226
|
+
]),
|
|
227
|
+
_: 2
|
|
228
|
+
}, 1032, ["onClick"])) : u("", !0)
|
|
229
|
+
], 64)) : (l(), n(C, { key: 1 }, [
|
|
230
|
+
r("img", {
|
|
231
|
+
class: "el-upload-list__item-thumbnail",
|
|
232
|
+
src: t == null ? void 0 : t.url,
|
|
233
|
+
alt: ""
|
|
234
|
+
}, null, 8, Le),
|
|
235
|
+
r("div", Ae, [
|
|
236
|
+
r("a", Be, [
|
|
237
|
+
e(w)(e(b).allowPreview, t) ? (l(), n("span", {
|
|
238
|
+
key: 1,
|
|
239
|
+
class: "el-upload-list__item-file-name",
|
|
240
|
+
title: t == null ? void 0 : t.name,
|
|
241
|
+
onClick: (g) => O(t)
|
|
242
|
+
}, c(t == null ? void 0 : t.name), 9, Ie)) : (l(), n("span", {
|
|
243
|
+
key: 0,
|
|
244
|
+
class: "el-upload-list__item-file-name",
|
|
245
|
+
title: t == null ? void 0 : t.name
|
|
246
|
+
}, c(t == null ? void 0 : t.name), 9, He)),
|
|
247
|
+
e(w)(e(b).allowDownload, t) ? (l(), n("div", Re, [
|
|
248
|
+
a(_, {
|
|
249
|
+
onClick: (g) => e(T)(t)
|
|
250
|
+
}, {
|
|
251
|
+
default: o(() => [
|
|
252
|
+
a(e(te))
|
|
253
|
+
]),
|
|
254
|
+
_: 2
|
|
255
|
+
}, 1032, ["onClick"])
|
|
256
|
+
])) : u("", !0)
|
|
257
|
+
])
|
|
258
|
+
]),
|
|
259
|
+
r("label", Me, [
|
|
260
|
+
(t == null ? void 0 : t.status) === "success" ? (l(), i(_, {
|
|
261
|
+
key: 0,
|
|
262
|
+
class: "el-icon--upload-success el-icon--check",
|
|
263
|
+
type: "success"
|
|
264
|
+
}, {
|
|
265
|
+
default: o(() => [
|
|
266
|
+
a(e(le))
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
})) : u("", !0)
|
|
270
|
+
]),
|
|
271
|
+
e(w)(e(b).allowDelete, t) ? (l(), i(_, {
|
|
272
|
+
key: 0,
|
|
273
|
+
class: "el-icon--close",
|
|
274
|
+
onClick: (g) => e(z)(t)
|
|
275
|
+
}, {
|
|
276
|
+
default: o(() => [
|
|
277
|
+
a(e(oe))
|
|
278
|
+
]),
|
|
279
|
+
_: 2
|
|
280
|
+
}, 1032, ["onClick"])) : u("", !0)
|
|
281
|
+
], 64))
|
|
282
|
+
];
|
|
283
|
+
}),
|
|
284
|
+
_: 2
|
|
285
|
+
}, [
|
|
286
|
+
e(I) ? {
|
|
287
|
+
name: "tip",
|
|
288
|
+
fn: o(() => [
|
|
289
|
+
r("div", Ve, c(e(I)), 1)
|
|
290
|
+
]),
|
|
291
|
+
key: "0"
|
|
292
|
+
} : void 0,
|
|
293
|
+
(X = e(k)) != null && X.autoUpload ? void 0 : {
|
|
294
|
+
name: "default",
|
|
295
|
+
fn: o(() => {
|
|
296
|
+
var t;
|
|
297
|
+
return [
|
|
298
|
+
(t = e(k)) != null && t.autoUpload ? u("", !0) : (l(), i(E, {
|
|
299
|
+
key: 0,
|
|
300
|
+
class: "ml-3",
|
|
301
|
+
type: "primary",
|
|
302
|
+
onClick: e(de)
|
|
303
|
+
}, {
|
|
304
|
+
default: o(() => {
|
|
305
|
+
var d;
|
|
306
|
+
return [
|
|
307
|
+
W(c(((d = e(S)) == null ? void 0 : d.submitUploadTip) || e(p).i18nt("designer.hint.submitUploadTip")), 1)
|
|
308
|
+
];
|
|
309
|
+
}),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["onClick"]))
|
|
312
|
+
];
|
|
313
|
+
}),
|
|
314
|
+
key: "1"
|
|
315
|
+
}
|
|
316
|
+
]), 1040, ["data", "headers", "style", "file-list", "on-change", "class"]))
|
|
317
|
+
];
|
|
318
|
+
}),
|
|
319
|
+
_: 1
|
|
320
|
+
}, 16, ["propOptions"]),
|
|
321
|
+
a(pe, {
|
|
322
|
+
modelValue: j.value,
|
|
323
|
+
"onUpdate:modelValue": s[1] || (s[1] = (f) => j.value = f),
|
|
324
|
+
title: e(p).i18nt("designer.hint.previewDialog"),
|
|
325
|
+
fullscreen: "",
|
|
326
|
+
"align-center": "",
|
|
327
|
+
"destroy-on-close": "",
|
|
328
|
+
class: "--hl-dialog full-height"
|
|
329
|
+
}, {
|
|
330
|
+
footer: o(() => [
|
|
331
|
+
r("div", ze, [
|
|
332
|
+
a(E, {
|
|
333
|
+
type: "primary",
|
|
334
|
+
onClick: s[0] || (s[0] = (f) => j.value = !1)
|
|
335
|
+
}, {
|
|
336
|
+
default: o(() => [
|
|
337
|
+
W(c(e(p).i18nt("designer.hint.close")), 1)
|
|
338
|
+
]),
|
|
339
|
+
_: 1
|
|
340
|
+
})
|
|
341
|
+
])
|
|
342
|
+
]),
|
|
343
|
+
default: o(() => [
|
|
344
|
+
a(Fe, { file: J.value }, null, 8, ["file"])
|
|
345
|
+
]),
|
|
346
|
+
_: 1
|
|
347
|
+
}, 8, ["modelValue", "title"])
|
|
348
|
+
], 64);
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
const Dt = /* @__PURE__ */ xe(qe, [["__scopeId", "data-v-58c7f1bf"]]);
|
|
353
|
+
export {
|
|
354
|
+
Dt as default
|
|
355
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as oe, reactive as z, onMounted as ce, nextTick as Oe, defineComponent as fe, resolveComponent as xe, resolveDirective as Ee, openBlock as ne, createBlock as ae, mergeProps as K, unref as v, withCtx as le, withDirectives as Ne, toHandlers as Se, createVNode as ye } from "vue";
|
|
2
2
|
import { I as Re } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as ke } from "./drag-wrapper-
|
|
3
|
+
import { D as ke } from "./drag-wrapper-5fe2e956.js";
|
|
4
4
|
import { _ as Ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9c165793.js";
|
|
5
5
|
import { w as U, b as ie, e as k, f as L, g as Me } from "./expression-2093e5c5.js";
|
|
6
6
|
import { u as Pe } from "./icon-6342f929.js";
|
|
@@ -8,7 +8,7 @@ import { u as $e } from "./emitter-e3e94d64.js";
|
|
|
8
8
|
import { b as Ie, j as de, k as re, e as Be, d as se, l as He, m as Te, n as qe } from "./enum-type-7a78219b.js";
|
|
9
9
|
import { $ as ze, B as Ke } from "./baseImp-c47ee3e2.js";
|
|
10
10
|
import { f as Ue } from "./index-46b27b2d.js";
|
|
11
|
-
import { c as Ge, a as Je, u as Qe } from "./share-field-
|
|
11
|
+
import { c as Ge, a as Je, u as Qe } from "./share-field-3afb6686.js";
|
|
12
12
|
import { W as Xe } from "./enum-type-ed4bb9c3.js";
|
|
13
13
|
import { u as Ye } from "./multirow-f7027c08.js";
|
|
14
14
|
import { F as Ze } from "./slot-8be85cbf.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-046cb801.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|