hlrender 0.0.293 → 0.0.295
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-f58abfa8.js → _pdf-013c5e13.js} +7 -7
- package/{_txt-fb6e5231.js → _txt-c8b4bede.js} +7 -7
- package/{_unsupport-45e1adb6.js → _unsupport-f7d2e6bc.js} +1 -1
- package/{affix-widget-a23c07d0.js → affix-widget-bba16424.js} +17 -17
- package/{alert-widget-40decdfa.js → alert-widget-6dd0b2fa.js} +17 -17
- package/{anchor-widget-15e4fb49.js → anchor-widget-12ef6131.js} +14 -14
- package/{auto-complete-widget-3777dde6.js → auto-complete-widget-b93415c6.js} +17 -17
- package/{avatar-widget-02bc06d6.js → avatar-widget-0876cdf6.js} +17 -17
- package/{backtop-widget-13ac96d4.js → backtop-widget-df47e3c0.js} +17 -17
- package/{badge-widget-d5929887.js → badge-widget-23a59e2a.js} +20 -20
- package/{barcode-widget-118814a4.js → barcode-widget-3f3c8034.js} +23 -23
- package/{baseImp-c747aa92.js → baseCommonField-c2a132bc.js} +3321 -3659
- package/baseDataType-af503f9f.js +4 -0
- package/{breadcrumb-widget-9c1ce816.js → breadcrumb-widget-e6607a19.js} +14 -14
- package/{button-widget-69beb829.js → button-widget-96f338f7.js} +17 -17
- package/{cache-widget-0eefea05.js → cache-widget-55248be9.js} +16 -16
- package/{card-widget-ecf8e83f.js → card-widget-d8aa3bfc.js} +36 -36
- package/{carousel-widget-9ae1d3b8.js → carousel-widget-04bbc0ea.js} +15 -15
- package/{cascader-widget-cc6f9fd5.js → cascader-widget-445be0fb.js} +22 -22
- package/chart-widget-17fb249b.js +113 -0
- package/{checkbox-widget-c788c8b5.js → checkbox-widget-8fb1a06e.js} +16 -16
- package/{collapse-widget-ab2dd707.js → collapse-widget-a03aab9f.js} +15 -15
- package/{color-picker-widget-4c430c6f.js → color-picker-widget-54d62083.js} +16 -16
- package/{cont-cell-widget-b9bc6859.js → cont-cell-widget-8b78509f.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-f0f147b3.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-df01b74e.js} +5 -5
- package/{cont-widget-6a48163e.js → cont-widget-d6b8de57.js} +5 -5
- package/content-wrapper-7179adf7.js +17 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-69aa3d67.js → content-wrapper.vue_vue_type_script_setup_true_lang-0ff5e6b6.js} +7 -7
- package/{countdown-widget-162a8078.js → countdown-widget-cfbbbcf7.js} +22 -22
- package/{cssClass-04ad35f8.js → cssClass-22b82172.js} +2 -2
- package/{date-picker-range-widget-c1d31a90.js → date-picker-range-widget-3b5c6b30.js} +33 -33
- package/{date-picker-widget-0f2f8c23.js → date-picker-widget-5fbdf144.js} +34 -34
- package/default-slot-widget-e8f0af5f.js +27 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-10364416.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-89cd92f6.js} +7 -7
- package/{descriptions-widget-715839e8.js → descriptions-widget-29b846f3.js} +15 -15
- package/{dialog-815d640b.js → dialog-6ce4ec4d.js} +2 -2
- package/{dialog-widget-128615da.js → dialog-widget-3ca10228.js} +16 -16
- package/{divider-widget-37ffa37f.js → divider-widget-5331c181.js} +17 -17
- package/{drag-wrapper-449a452d.js → drag-wrapper-26233757.js} +15 -15
- package/{drawer-widget-862d5f05.js → drawer-widget-f7e1999e.js} +16 -16
- package/{dropdown-widget-faf12ae6.js → dropdown-widget-a8212368.js} +18 -18
- package/{empty-widget-d8c1a94c.js → empty-widget-bdadedc8.js} +17 -17
- package/{expression-3ff313e6.js → expression-2443dc1e.js} +1555 -1383
- package/feedback-widget-b05aed00.js +27 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c470e651.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-88314dd9.js} +6 -6
- package/{fieldobj-e94e4f2f.js → fieldobj-e86c52db.js} +1 -1
- package/{file-upload-widget-fce9eb43.js → file-upload-widget-6e16f54e.js} +63 -63
- package/{form-item-wrapper-0c51f690.js → form-item-wrapper-3ee6dc3f.js} +20 -20
- package/{form-widget-e632b808.js → form-widget-48c38fde.js} +79 -80
- package/{global-provide-inject-f2e9314a.js → globalProvideInject-af5ac9ca.js} +3251 -2918
- package/{grid-col-widget-a1df59c2.js → grid-col-widget-58a0d1cb.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-35f1227e.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4295e0db.js} +5 -5
- package/{grid-widget-d4642895.js → grid-widget-72fdf5b6.js} +5 -5
- package/{hcard-widget-cc1328b9.js → hcard-widget-ded3cb09.js} +26 -26
- package/{html-text-widget-274456b7.js → html-text-widget-9bcad0c0.js} +15 -15
- package/icon-59a05cd7.js +443 -0
- package/{icon-widget-849963ba.js → icon-widget-faf382c4.js} +14 -14
- package/iframe-widget-346fc34a.js +131 -0
- package/{image-widget-89b747cc.js → image-widget-e1d8417c.js} +14 -14
- package/{index-19895587.js → index-4feb900a.js} +8 -8
- package/{enum-type-3220958e.js → index-efb59a41.js} +237 -233
- package/index-f1d89bf9.js +238 -0
- package/{input-number-widget-b3314793.js → input-number-widget-54403c5a.js} +20 -20
- package/{input-tag-widget-d33aa2c0.js → input-tag-widget-90b052f2.js} +17 -17
- package/{input-widget-47bbee46.js → input-widget-1f10477c.js} +17 -17
- package/{label-wrapper-2155ce1e.js → label-wrapper-d53597ed.js} +6 -6
- package/{label-wrapper.vue_vue_type_style_index_0_lang-fcd9226e.js → label-wrapper.vue_vue_type_style_index_0_lang-6619d59d.js} +10 -10
- package/{link-widget-e9db2cc3.js → link-widget-f292713e.js} +17 -17
- package/{ltable-col-widget-d9dbdac7.js → ltable-col-widget-c6d79791.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-e70e1cdf.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ec0e162d.js} +9 -9
- package/{ltable-widget-5e5b90cb.js → ltable-widget-6317e3dd.js} +11 -11
- package/{mask-04ad41e9.js → mask-4a7b3f05.js} +1 -1
- package/{mention-widget-53350221.js → mention-widget-9a67d9b9.js} +17 -17
- package/{menu-widget-d5077686.js → menu-widget-54832d22.js} +35 -35
- package/{model-widget-4517fe27.js → model-widget-12d7b5c6.js} +43 -43
- package/multirow-a7933e2a.js +235 -0
- package/{multirow-widget-f3aaba72.js → multirow-widget-9dbaaf3b.js} +45 -45
- package/package.json +1 -1
- package/{pagination-widget-11e2c5e2.js → pagination-widget-19e07f93.js} +14 -14
- package/{picture-upload-widget-8107d48c.js → picture-upload-widget-91ac5961.js} +51 -51
- package/{progress-widget-3234dc37.js → progress-widget-8285d220.js} +40 -40
- package/{qrcode-widget-22362453.js → qrcode-widget-8768fadb.js} +23 -23
- package/{radio-widget-b820efbf.js → radio-widget-24625a8c.js} +16 -16
- package/{range-widget-ee933ee0.js → range-widget-6a148c19.js} +23 -23
- package/{rate-widget-47e247d9.js → rate-widget-ddade3d7.js} +16 -16
- package/render.es.js +242 -240
- package/render.style.css +1 -1
- package/render.umd.js +359 -359
- package/{result-widget-df8e6fc1.js → result-widget-8555b393.js} +15 -15
- package/{rich-editor-widget-328d67a4.js → rich-editor-widget-3b1d1572.js} +21 -21
- package/{router-widget-66b508c2.js → router-widget-c502fff7.js} +14 -14
- package/{segmented-widget-9d06575d.js → segmented-widget-ae88e4e3.js} +32 -32
- package/{select-widget-0ca5a77d.js → select-widget-35456918.js} +16 -16
- package/{sfc-4e57232d.js → sfc-88854d51.js} +137 -136
- package/{sfcview-769da8d2.js → sfcview-a6d34fe7.js} +20 -20
- package/share-field-5b8d348c.js +863 -0
- package/{share-file-ae1b0f0f.js → share-file-b9b6df9d.js} +28 -29
- package/{skeleton-widget-c15938da.js → skeleton-widget-7cd026e6.js} +17 -17
- package/{skeletonItem-widget-6ab7c228.js → skeletonItem-widget-62ebc963.js} +14 -14
- package/{slider-widget-66943d99.js → slider-widget-11a26a3b.js} +16 -16
- package/{slot-0c0c26e2.js → slot-9c90ab7a.js} +6 -6
- package/{space-widget-9e0f16e9.js → space-widget-275b883e.js} +15 -15
- package/{splitter-widget-cfaf6648.js → splitter-widget-246cee74.js} +15 -15
- package/{static-text-widget-6f1765a0.js → static-text-widget-580387f7.js} +15 -15
- package/{statistic-widget-0b7cd66a.js → statistic-widget-4190eaed.js} +17 -17
- package/{steps-widget-83238190.js → steps-widget-66d08511.js} +14 -14
- package/{subMenu-widget-9df7e742.js → subMenu-widget-b29e61fc.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-4edb8ab5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-a0993d3f.js} +19 -20
- package/{switch-widget-57f8f0f4.js → switch-widget-8da4f2c4.js} +16 -16
- package/{tab-pane-widget-c2c1e4eb.js → tab-pane-widget-d70dc524.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b7da2810.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ee3f66bd.js} +5 -5
- package/table-col-widget-566de20c.js +23 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b03e7309.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-30b20027.js} +26 -27
- package/{table-widget-1452a439.js → table-widget-b1f7edeb.js} +45 -45
- package/{tabs-widget-e462d782.js → tabs-widget-bb5c52de.js} +7 -7
- package/{tag-widget-be4e8d9f.js → tag-widget-3c185f23.js} +17 -17
- package/{text-widget-f242530c.js → text-widget-c7386d8e.js} +17 -17
- package/{textarea-widget-66fcc4a5.js → textarea-widget-0fe10859.js} +16 -16
- package/{time-picker-range-widget-58eb1f7d.js → time-picker-range-widget-77a300e1.js} +28 -29
- package/{time-picker-widget-798590b8.js → time-picker-widget-3b22e5ee.js} +23 -23
- package/{time-select-widget-8aef0b01.js → time-select-widget-a04bcbfb.js} +16 -16
- package/{timeline-widget-638b6fb7.js → timeline-widget-708d7749.js} +20 -20
- package/{tmpl-widget-21d8409a.js → tmpl-widget-c66af7cd.js} +28 -28
- package/{tooltip-widget-c6954724.js → tooltip-widget-0cc7c09b.js} +15 -15
- package/{tour-widget-d3a0bc37.js → tour-widget-6218b953.js} +36 -36
- package/{transfer-widget-eb3c431b.js → transfer-widget-a3056089.js} +17 -17
- package/{tree-select-widget-e2f8b098.js → tree-select-widget-fe844fb2.js} +16 -16
- package/{tree-widget-2225bd6a.js → tree-widget-342893a6.js} +24 -24
- package/uuid-1013bfdd.js +16 -0
- package/{verifycode-widget-8e71f538.js → verifycode-widget-63f3390d.js} +39 -39
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b1b666bd.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-04f982b7.js} +45 -46
- package/{wrapper-widget-d9773c13.js → wrapper-widget-a3570b05.js} +7 -7
- package/chart-widget-cd1ad92e.js +0 -115
- package/content-wrapper-04e9f779.js +0 -17
- package/default-slot-widget-87817844.js +0 -27
- package/enum-type-541d923e.js +0 -271
- package/feedback-widget-810472c0.js +0 -27
- package/icon-4e8380f7.js +0 -181
- package/iframe-widget-0fcdc28f.js +0 -131
- package/index-a1a70aff.js +0 -239
- package/multirow-954607d6.js +0 -236
- package/share-field-e935c6da.js +0 -874
- package/table-col-widget-b578b99d.js +0 -23
- package/uuid-a3dfaedc.js +0 -199
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as Ze, computed as y, inject as et, ref as tt, watch as ot, onMounted as lt, nextTick as nt, resolveComponent as O, openBlock as n, createBlock as p, mergeProps as A, unref as e, withCtx as i, createElementBlock as c, Fragment as D, createVNode as m, createTextVNode as u, toDisplayString as d, createCommentVNode as r, renderList as ae, normalizeClass as We, createElementVNode as R, normalizeStyle as at } from "vue";
|
|
2
|
-
import { e as L, i as it } from "./
|
|
3
|
-
import { B as ie,
|
|
2
|
+
import { e as L, i as it } from "./index-efb59a41.js";
|
|
3
|
+
import { B as ie, j as G } from "./baseCommonField-c2a132bc.js";
|
|
4
4
|
import { I as st } from "./widget-base-df734ada.js";
|
|
5
|
-
import { a as rt, u as dt } from "./share-field-
|
|
6
|
-
import { _ as ut } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
7
|
-
import { D as x } from "./drag-wrapper-
|
|
8
|
-
import {
|
|
9
|
-
import { _ as pt } from "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
10
|
-
import { i as mt, d as V } from "./slot-
|
|
11
|
-
import { c as ft } from "./multirow-
|
|
5
|
+
import { a as rt, u as dt } from "./share-field-5b8d348c.js";
|
|
6
|
+
import { _ as ut } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-04f982b7.js";
|
|
7
|
+
import { D as x } from "./drag-wrapper-26233757.js";
|
|
8
|
+
import { ac as Fe, W as ct } from "./icon-59a05cd7.js";
|
|
9
|
+
import { _ as pt } from "./label-wrapper.vue_vue_type_style_index_0_lang-6619d59d.js";
|
|
10
|
+
import { i as mt, d as V } from "./slot-9c90ab7a.js";
|
|
11
|
+
import { c as ft } from "./multirow-a7933e2a.js";
|
|
12
12
|
import { Plus as $, Delete as J, SortUp as K, SortDown as Q } from "./index-6bcfdc22.js";
|
|
13
|
-
import { d as vt,
|
|
13
|
+
import { d as vt, G as wt, H as _t, J as gt, K as kt } from "./expression-2443dc1e.js";
|
|
14
14
|
import { _ as bt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
import "./
|
|
15
|
+
import "./baseDataType-af503f9f.js";
|
|
16
16
|
import "axios";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-6ce4ec4d.js";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
-
import "./uuid-
|
|
19
|
+
import "./uuid-1013bfdd.js";
|
|
20
20
|
import "element-plus";
|
|
21
|
-
import "./
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./fieldobj-
|
|
21
|
+
import "./globalProvideInject-af5ac9ca.js";
|
|
22
|
+
import "./index-4feb900a.js";
|
|
23
|
+
import "./fieldobj-e86c52db.js";
|
|
24
24
|
import "./field-base-66c90648.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
@@ -55,16 +55,16 @@ const yt = {
|
|
|
55
55
|
}, Vt = {
|
|
56
56
|
key: 0,
|
|
57
57
|
class: "horialCenter row_bottom"
|
|
58
|
-
},
|
|
58
|
+
}, It = {
|
|
59
59
|
key: 1,
|
|
60
60
|
class: "horialCenter row_bottom"
|
|
61
|
-
},
|
|
61
|
+
}, Mt = /* @__PURE__ */ Ze({
|
|
62
62
|
__name: "multirow-widget",
|
|
63
63
|
props: {
|
|
64
64
|
...st
|
|
65
65
|
},
|
|
66
66
|
setup(Oe, { expose: xe }) {
|
|
67
|
-
const se = Oe, { slots: X, exposed: N, objFieldModel: re, attrs: o, events: de, fieldObj: Ve, fieldName:
|
|
67
|
+
const se = Oe, { slots: X, exposed: N, objFieldModel: re, attrs: o, events: de, fieldObj: Ve, fieldName: Ie, instance: Me } = rt(se), B = y(() => mt(X.value)), ze = et(vt.globalConfig, {}), { widgetRefList: S, rowsData: g, newSlot: He, getWidgetOption: ue, newFieldModelFromSlot: Ue, removeFieldModelFromSlot: je, getValue: ce, setValue: Ee, findWidgetByNameWithSibId: Pe, getSlotFromData: qe, emit$: Ge } = ft({ ...se, globalConfig: ze, fieldName: Ie.value, setValue: N == null ? void 0 : N.setValue }, Me), b = y(() => {
|
|
68
68
|
var t;
|
|
69
69
|
return (t = o == null ? void 0 : o.value) == null ? void 0 : t.disabled;
|
|
70
70
|
}), Y = y(() => {
|
|
@@ -88,17 +88,17 @@ const yt = {
|
|
|
88
88
|
}), oe = y(() => {
|
|
89
89
|
var t, s;
|
|
90
90
|
return L.i18nt("designer.hint.multirowtip") + ((t = o.value) == null ? void 0 : t.minRowNum) + "-" + ((s = o.value) == null ? void 0 : s.maxRowNum);
|
|
91
|
-
}),
|
|
91
|
+
}), U = L.i18nt("designer.hint.sortUp"), j = L.i18nt("designer.hint.sortDown"), E = L.i18nt("designer.hint.deleteRow"), C = L.i18nt("designer.hint.addNewRow"), F = y(() => (g == null ? void 0 : g.length) || 0), P = () => {
|
|
92
92
|
var t = ce();
|
|
93
93
|
re.value = t, N.setValue(t);
|
|
94
|
-
},
|
|
94
|
+
}, I = (t) => {
|
|
95
95
|
var v, h;
|
|
96
96
|
if ((g == null ? void 0 : g.length) >= o.value.maxRowNum) {
|
|
97
97
|
G.info(L.i18nt("designer.hint.maxRowTip"));
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
const s =
|
|
101
|
-
wt(g, t, s),
|
|
100
|
+
const s = He(X.value);
|
|
101
|
+
wt(g, t, s), Ue(s, ge({}, t + 1)), P(), (h = (v = de.value).addRow) == null || h.call(v, t);
|
|
102
102
|
}, ve = (t) => {
|
|
103
103
|
var v, h;
|
|
104
104
|
if ((g == null ? void 0 : g.length) <= o.value.minRowNum) {
|
|
@@ -163,7 +163,7 @@ const yt = {
|
|
|
163
163
|
return n(), p(ut, A(t.$props, {
|
|
164
164
|
"prop-options": { fieldObj: e(Ve) }
|
|
165
165
|
}), {
|
|
166
|
-
default: i(({ data:
|
|
166
|
+
default: i(({ data: zt }) => {
|
|
167
167
|
var he, Re, Ce, Te, De, Le, $e, Ne, Se, Ae, Be;
|
|
168
168
|
return [
|
|
169
169
|
((he = e(o)) == null ? void 0 : he.showMode) === e(Fe).line ? (n(), c(D, { key: 0 }, [
|
|
@@ -237,7 +237,7 @@ const yt = {
|
|
|
237
237
|
default: i(() => {
|
|
238
238
|
var _;
|
|
239
239
|
return [
|
|
240
|
-
u(d(((_ = e(o)) == null ? void 0 : _.sortUpText) || e(
|
|
240
|
+
u(d(((_ = e(o)) == null ? void 0 : _.sortUpText) || e(U)), 1)
|
|
241
241
|
];
|
|
242
242
|
}),
|
|
243
243
|
_: 1
|
|
@@ -287,7 +287,7 @@ const yt = {
|
|
|
287
287
|
])) : r("", !0)
|
|
288
288
|
])) : (n(), c(D, { key: 1 }, [
|
|
289
289
|
(n(!0), c(D, null, ae(T.value, (l, a) => {
|
|
290
|
-
var _,
|
|
290
|
+
var _, M;
|
|
291
291
|
return n(), c("div", {
|
|
292
292
|
key: (l == null ? void 0 : l.key) || a,
|
|
293
293
|
class: "multiRowLine"
|
|
@@ -324,12 +324,12 @@ const yt = {
|
|
|
324
324
|
m(be, { direction: "vertical" }),
|
|
325
325
|
m(q, { disabled: b.value }, {
|
|
326
326
|
default: i(() => {
|
|
327
|
-
var
|
|
327
|
+
var z, H, w;
|
|
328
328
|
return [
|
|
329
|
-
!((
|
|
329
|
+
!((z = e(o)) != null && z.onlyOneAddButton) && e(o).allowAdd ? (n(), p(f, {
|
|
330
330
|
key: 0,
|
|
331
|
-
onClick: (k) =>
|
|
332
|
-
disabled: b.value || F.value > ((
|
|
331
|
+
onClick: (k) => I(a),
|
|
332
|
+
disabled: b.value || F.value > ((H = e(o)) == null ? void 0 : H.maxRowNum),
|
|
333
333
|
icon: e($),
|
|
334
334
|
link: ""
|
|
335
335
|
}, {
|
|
@@ -367,7 +367,7 @@ const yt = {
|
|
|
367
367
|
default: i(() => {
|
|
368
368
|
var k;
|
|
369
369
|
return [
|
|
370
|
-
u(d(((k = e(o)) == null ? void 0 : k.sortUpText) || e(
|
|
370
|
+
u(d(((k = e(o)) == null ? void 0 : k.sortUpText) || e(U)), 1)
|
|
371
371
|
];
|
|
372
372
|
}),
|
|
373
373
|
_: 1
|
|
@@ -398,7 +398,7 @@ const yt = {
|
|
|
398
398
|
_: 2
|
|
399
399
|
}, 1024)) : r("", !0),
|
|
400
400
|
m(x, A({ ref_for: !0 }, t.$props, {
|
|
401
|
-
widget: (
|
|
401
|
+
widget: (M = l == null ? void 0 : l.widget) == null ? void 0 : M[0],
|
|
402
402
|
componentName: "div",
|
|
403
403
|
refList: e(S),
|
|
404
404
|
componentClass: "flex full-width",
|
|
@@ -413,7 +413,7 @@ const yt = {
|
|
|
413
413
|
size: "large",
|
|
414
414
|
onClick: s[0] || (s[0] = (l) => {
|
|
415
415
|
var a;
|
|
416
|
-
return
|
|
416
|
+
return I(((a = T.value) == null ? void 0 : a.length) - 1);
|
|
417
417
|
})
|
|
418
418
|
}, {
|
|
419
419
|
default: i(() => {
|
|
@@ -521,7 +521,7 @@ const yt = {
|
|
|
521
521
|
default: i(() => {
|
|
522
522
|
var a;
|
|
523
523
|
return [
|
|
524
|
-
u(d(((a = e(o)) == null ? void 0 : a.sortUpText) || e(
|
|
524
|
+
u(d(((a = e(o)) == null ? void 0 : a.sortUpText) || e(U)), 1)
|
|
525
525
|
];
|
|
526
526
|
}),
|
|
527
527
|
_: 1
|
|
@@ -559,7 +559,7 @@ const yt = {
|
|
|
559
559
|
], 8, Nt)
|
|
560
560
|
])) : r("", !0)
|
|
561
561
|
], 64)) : (n(!0), c(D, { key: 1 }, ae(T.value, (l, a) => {
|
|
562
|
-
var _,
|
|
562
|
+
var _, M;
|
|
563
563
|
return n(), c(D, {
|
|
564
564
|
key: (l == null ? void 0 : l.key) || a
|
|
565
565
|
}, [
|
|
@@ -575,12 +575,12 @@ const yt = {
|
|
|
575
575
|
W.value ? (n(), c("td", Bt, [
|
|
576
576
|
m(q, { disabled: b.value }, {
|
|
577
577
|
default: i(() => {
|
|
578
|
-
var
|
|
578
|
+
var z, H;
|
|
579
579
|
return [
|
|
580
580
|
pe.value ? (n(), p(f, {
|
|
581
581
|
key: 0,
|
|
582
|
-
onClick: (w) =>
|
|
583
|
-
disabled: F.value > ((
|
|
582
|
+
onClick: (w) => I(a),
|
|
583
|
+
disabled: F.value > ((z = e(o)) == null ? void 0 : z.maxRowNum),
|
|
584
584
|
icon: e($),
|
|
585
585
|
link: ""
|
|
586
586
|
}, {
|
|
@@ -597,7 +597,7 @@ const yt = {
|
|
|
597
597
|
onClick: (w) => ve(a),
|
|
598
598
|
type: "danger",
|
|
599
599
|
icon: e(J),
|
|
600
|
-
disabled: ((
|
|
600
|
+
disabled: ((H = e(o)) == null ? void 0 : H.minRowNum) >= F.value,
|
|
601
601
|
link: ""
|
|
602
602
|
}, {
|
|
603
603
|
default: i(() => {
|
|
@@ -618,7 +618,7 @@ const yt = {
|
|
|
618
618
|
default: i(() => {
|
|
619
619
|
var w;
|
|
620
620
|
return [
|
|
621
|
-
u(d(((w = e(o)) == null ? void 0 : w.sortUpText) || e(
|
|
621
|
+
u(d(((w = e(o)) == null ? void 0 : w.sortUpText) || e(U)), 1)
|
|
622
622
|
];
|
|
623
623
|
}),
|
|
624
624
|
_: 1
|
|
@@ -650,7 +650,7 @@ const yt = {
|
|
|
650
650
|
colspan: (te.value || 0) + ee.value
|
|
651
651
|
}, [
|
|
652
652
|
m(x, A({ ref_for: !0 }, t.$props, {
|
|
653
|
-
widget: (
|
|
653
|
+
widget: (M = l == null ? void 0 : l.widget) == null ? void 0 : M[1],
|
|
654
654
|
"component-style": { height: "auto" },
|
|
655
655
|
refList: e(S),
|
|
656
656
|
"row-scope": { row: l == null ? void 0 : l.data, $index: a }
|
|
@@ -687,7 +687,7 @@ const yt = {
|
|
|
687
687
|
disabled: b.value,
|
|
688
688
|
icon: e($),
|
|
689
689
|
size: "large",
|
|
690
|
-
onClick: s[1] || (s[1] = (l) =>
|
|
690
|
+
onClick: s[1] || (s[1] = (l) => I(0))
|
|
691
691
|
}, {
|
|
692
692
|
default: i(() => {
|
|
693
693
|
var l;
|
|
@@ -697,14 +697,14 @@ const yt = {
|
|
|
697
697
|
}),
|
|
698
698
|
_: 1
|
|
699
699
|
}, 8, ["disabled", "icon"])
|
|
700
|
-
])) : (Be = e(o)) != null && Be.onlyOneAddButton ? (n(), c("div",
|
|
700
|
+
])) : (Be = e(o)) != null && Be.onlyOneAddButton ? (n(), c("div", It, [
|
|
701
701
|
m(f, {
|
|
702
702
|
disabled: b.value,
|
|
703
703
|
icon: e($),
|
|
704
704
|
size: "large",
|
|
705
705
|
onClick: s[2] || (s[2] = (l) => {
|
|
706
706
|
var a;
|
|
707
|
-
return
|
|
707
|
+
return I(((a = T.value) == null ? void 0 : a.length) - 1);
|
|
708
708
|
})
|
|
709
709
|
}, {
|
|
710
710
|
default: i(() => {
|
|
@@ -728,7 +728,7 @@ const yt = {
|
|
|
728
728
|
};
|
|
729
729
|
}
|
|
730
730
|
});
|
|
731
|
-
const fo = /* @__PURE__ */ bt(
|
|
731
|
+
const fo = /* @__PURE__ */ bt(Mt, [["__scopeId", "data-v-16c0b917"]]);
|
|
732
732
|
export {
|
|
733
733
|
fo as default
|
|
734
734
|
};
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as d, ref as s, computed as E, resolveComponent as I, openBlock as p, createBlock as l, mergeProps as f, unref as t, withCtx as g, toHandlers as O, createSlots as T, renderList as V, resolveDynamicComponent as $, createCommentVNode as H } from "vue";
|
|
2
|
-
import { w as K } from "./expression-
|
|
2
|
+
import { w as K } from "./expression-2443dc1e.js";
|
|
3
3
|
import { I as L } from "./field-base-66c90648.js";
|
|
4
|
-
import { a as M } from "./share-field-
|
|
5
|
-
import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { g as q } from "./slot-
|
|
4
|
+
import { a as M } from "./share-field-5b8d348c.js";
|
|
5
|
+
import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-04f982b7.js";
|
|
6
|
+
import { g as q } from "./slot-9c90ab7a.js";
|
|
7
7
|
import "./source-map-b04aec4a.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./uuid-
|
|
8
|
+
import "./index-efb59a41.js";
|
|
9
|
+
import "./uuid-1013bfdd.js";
|
|
10
10
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
11
|
+
import "./baseDataType-af503f9f.js";
|
|
11
12
|
import "./esprima-e8d15055.js";
|
|
12
13
|
import "./widget-base-df734ada.js";
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./icon-4e8380f7.js";
|
|
14
|
+
import "./multirow-a7933e2a.js";
|
|
15
|
+
import "./baseCommonField-c2a132bc.js";
|
|
16
|
+
import "./icon-59a05cd7.js";
|
|
17
17
|
import "axios";
|
|
18
|
-
import "./dialog-
|
|
18
|
+
import "./dialog-6ce4ec4d.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./
|
|
21
|
-
import "./index-
|
|
20
|
+
import "./globalProvideInject-af5ac9ca.js";
|
|
21
|
+
import "./index-4feb900a.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
23
|
+
import "./fieldobj-e86c52db.js";
|
|
24
24
|
const A = d({ componentName: K.FieldWidget }), ve = /* @__PURE__ */ d({
|
|
25
25
|
...A,
|
|
26
26
|
__name: "pagination-widget",
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import { defineComponent as F, ref as D, computed as Q, resolveComponent as
|
|
2
|
-
import { e as E } from "./
|
|
3
|
-
import { Plus as te, Check as oe, ZoomIn as le, Delete as
|
|
1
|
+
import { defineComponent as F, ref as D, computed as Q, resolveComponent as f, openBlock as s, createElementBlock as k, Fragment as X, createVNode as a, mergeProps as I, unref as e, withCtx as l, createBlock as r, toHandlers as Y, createSlots as ee, toDisplayString as g, createCommentVNode as p, createTextVNode as V, createElementVNode as u } from "vue";
|
|
2
|
+
import { e as E } from "./index-efb59a41.js";
|
|
3
|
+
import { Plus as te, Check as oe, ZoomIn as le, Delete as se, Download as ae } from "./index-6bcfdc22.js";
|
|
4
4
|
import { I as ie } from "./field-base-66c90648.js";
|
|
5
|
-
import { u as ne } from "./share-file-
|
|
6
|
-
import re from "./form-item-wrapper-
|
|
7
|
-
import { a as h, w as
|
|
8
|
-
import { ElImageViewer as
|
|
9
|
-
import { L as ue } from "./
|
|
5
|
+
import { u as ne } from "./share-file-b9b6df9d.js";
|
|
6
|
+
import re from "./form-item-wrapper-3ee6dc3f.js";
|
|
7
|
+
import { a as h, w as de } from "./expression-2443dc1e.js";
|
|
8
|
+
import { ElImageViewer as pe } from "element-plus";
|
|
9
|
+
import { L as ue } from "./icon-59a05cd7.js";
|
|
10
10
|
import { _ as ce } from "./_plugin-vue_export-helper-dad06003.js";
|
|
11
11
|
import "./widget-base-df734ada.js";
|
|
12
|
-
import "./share-field-
|
|
13
|
-
import "./multirow-
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
12
|
+
import "./share-field-5b8d348c.js";
|
|
13
|
+
import "./multirow-a7933e2a.js";
|
|
14
|
+
import "./baseCommonField-c2a132bc.js";
|
|
15
|
+
import "./baseDataType-af503f9f.js";
|
|
16
16
|
import "axios";
|
|
17
|
-
import "./dialog-
|
|
17
|
+
import "./dialog-6ce4ec4d.js";
|
|
18
18
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
19
|
-
import "./uuid-
|
|
20
|
-
import "./
|
|
21
|
-
import "./slot-
|
|
22
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./fieldobj-
|
|
25
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
19
|
+
import "./uuid-1013bfdd.js";
|
|
20
|
+
import "./globalProvideInject-af5ac9ca.js";
|
|
21
|
+
import "./slot-9c90ab7a.js";
|
|
22
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-04f982b7.js";
|
|
23
|
+
import "./index-4feb900a.js";
|
|
24
|
+
import "./fieldobj-e86c52db.js";
|
|
25
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-6619d59d.js";
|
|
26
26
|
import "./source-map-b04aec4a.js";
|
|
27
27
|
import "./esprima-e8d15055.js";
|
|
28
28
|
const me = {
|
|
29
29
|
key: 0,
|
|
30
30
|
class: "el-upload__tip"
|
|
31
|
-
}, _e = ["src"], ve = { class: "el-upload-list__item-status-label" },
|
|
31
|
+
}, _e = ["src"], ve = { class: "el-upload-list__item-status-label" }, fe = { class: "el-upload-list__item-actions" }, ke = ["onClick"], ge = { class: "el-upload-list__item-delete" }, he = { class: "el-upload-list__item-delete" }, ye = F({ componentName: de.FieldWidget }), we = /* @__PURE__ */ F({
|
|
32
32
|
...ye,
|
|
33
33
|
__name: "picture-upload-widget",
|
|
34
34
|
props: { ...ie },
|
|
35
35
|
setup(P, { expose: S }) {
|
|
36
36
|
const U = P, { handleDownload: N, fieldEditor: $, fieldModel: Ce, fieldKey: j, fileList: i, attrs: c, events: B, rules: O, uploadTip: y, uploadData: W, exterPreview: A, existEvent: xe, getRealFile: be, handleEvent: Te, extendAttrs: w, handleStatusChange: H, uploadBtnHidden: M, exposed: R, fieldObj: z, isSameFile: K, submitToServer: Z, isAllow: m, handleManualRemove: q } = ne(U), _ = D(!1), C = D(), G = (o) => {
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
const d = A(o);
|
|
38
|
+
d != null && d.previewed || (C.value = i == null ? void 0 : i.findIndex((n) => K(n, o)), _.value = !0);
|
|
39
39
|
}, J = Q(() => i == null ? void 0 : i.filter((o) => !!(o != null && o.url)).map((o) => o == null ? void 0 : o.url));
|
|
40
|
-
return S({ ...R }), (o,
|
|
41
|
-
const n =
|
|
42
|
-
return
|
|
43
|
-
|
|
40
|
+
return S({ ...R }), (o, d) => {
|
|
41
|
+
const n = f("el-icon"), x = f("el-button"), L = f("el-upload");
|
|
42
|
+
return s(), k(X, null, [
|
|
43
|
+
a(re, I(o.$props, {
|
|
44
44
|
propOptions: { fieldObj: e(z), rules: e(O) }
|
|
45
45
|
}), {
|
|
46
46
|
default: l(({ data: v }) => {
|
|
47
47
|
var b;
|
|
48
48
|
return [
|
|
49
|
-
(
|
|
49
|
+
(s(), r(L, I({
|
|
50
50
|
ref_key: "fieldEditor",
|
|
51
51
|
ref: $,
|
|
52
52
|
key: e(j)
|
|
@@ -58,15 +58,15 @@ const me = {
|
|
|
58
58
|
class: [v.injectClass, e(M) ? "hideUploadDiv" : ""]
|
|
59
59
|
}), ee({
|
|
60
60
|
tip: l(() => [
|
|
61
|
-
e(y) ? (
|
|
61
|
+
e(y) ? (s(), k("div", me, g(e(y)), 1)) : p("", !0)
|
|
62
62
|
]),
|
|
63
63
|
trigger: l(() => [
|
|
64
|
-
e(c).listType === e(ue).pictureCard ? (
|
|
64
|
+
e(c).listType === e(ue).pictureCard ? (s(), r(n, { key: 0 }, {
|
|
65
65
|
default: l(() => [
|
|
66
|
-
|
|
66
|
+
a(e(te))
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
|
-
})) : (
|
|
69
|
+
})) : (s(), r(x, { key: 1 }, {
|
|
70
70
|
default: l(() => {
|
|
71
71
|
var t;
|
|
72
72
|
return [
|
|
@@ -83,51 +83,51 @@ const me = {
|
|
|
83
83
|
alt: ""
|
|
84
84
|
}, null, 8, _e),
|
|
85
85
|
u("label", ve, [
|
|
86
|
-
(t == null ? void 0 : t.status) === "success" ? (
|
|
86
|
+
(t == null ? void 0 : t.status) === "success" ? (s(), r(n, {
|
|
87
87
|
key: 0,
|
|
88
88
|
type: "success",
|
|
89
89
|
class: "el-icon--check"
|
|
90
90
|
}, {
|
|
91
91
|
default: l(() => [
|
|
92
|
-
|
|
92
|
+
a(e(oe))
|
|
93
93
|
]),
|
|
94
94
|
_: 1
|
|
95
|
-
})) :
|
|
95
|
+
})) : p("", !0)
|
|
96
96
|
]),
|
|
97
|
-
u("span",
|
|
98
|
-
e(m)(e(h).allowPreview, t) ? (
|
|
97
|
+
u("span", fe, [
|
|
98
|
+
e(m)(e(h).allowPreview, t) ? (s(), k("span", {
|
|
99
99
|
key: 0,
|
|
100
100
|
class: "el-upload-list__item-preview",
|
|
101
101
|
onClick: (T) => G(t)
|
|
102
102
|
}, [
|
|
103
|
-
|
|
103
|
+
a(n, null, {
|
|
104
104
|
default: l(() => [
|
|
105
|
-
|
|
105
|
+
a(e(le))
|
|
106
106
|
]),
|
|
107
107
|
_: 1
|
|
108
108
|
})
|
|
109
|
-
], 8,
|
|
109
|
+
], 8, ke)) : p("", !0),
|
|
110
110
|
u("span", ge, [
|
|
111
|
-
!e(c).disabled && e(m)(e(h).allowDelete, t) ? (
|
|
111
|
+
!e(c).disabled && e(m)(e(h).allowDelete, t) ? (s(), r(n, {
|
|
112
112
|
key: 0,
|
|
113
113
|
onClick: (T) => e(q)(t)
|
|
114
114
|
}, {
|
|
115
115
|
default: l(() => [
|
|
116
|
-
|
|
116
|
+
a(e(se))
|
|
117
117
|
]),
|
|
118
118
|
_: 1
|
|
119
|
-
}, 8, ["onClick"])) :
|
|
119
|
+
}, 8, ["onClick"])) : p("", !0)
|
|
120
120
|
]),
|
|
121
121
|
u("span", he, [
|
|
122
|
-
e(m)(e(h).allowDownload, t) ? (
|
|
122
|
+
e(m)(e(h).allowDownload, t) ? (s(), r(n, {
|
|
123
123
|
key: 0,
|
|
124
124
|
onClick: (T) => e(N)(t)
|
|
125
125
|
}, {
|
|
126
126
|
default: l(() => [
|
|
127
|
-
|
|
127
|
+
a(e(ae))
|
|
128
128
|
]),
|
|
129
129
|
_: 1
|
|
130
|
-
}, 8, ["onClick"])) :
|
|
130
|
+
}, 8, ["onClick"])) : p("", !0)
|
|
131
131
|
])
|
|
132
132
|
])
|
|
133
133
|
]),
|
|
@@ -136,7 +136,7 @@ const me = {
|
|
|
136
136
|
(b = e(c)) != null && b.autoUpload ? void 0 : {
|
|
137
137
|
name: "default",
|
|
138
138
|
fn: l(() => [
|
|
139
|
-
|
|
139
|
+
a(x, {
|
|
140
140
|
class: "ml-3",
|
|
141
141
|
type: "primary",
|
|
142
142
|
onClick: e(Z)
|
|
@@ -157,17 +157,17 @@ const me = {
|
|
|
157
157
|
}),
|
|
158
158
|
_: 1
|
|
159
159
|
}, 16, ["propOptions"]),
|
|
160
|
-
_.value ? (
|
|
160
|
+
_.value ? (s(), r(e(pe), {
|
|
161
161
|
key: 0,
|
|
162
162
|
"url-list": J.value,
|
|
163
163
|
"initial-index": C.value,
|
|
164
|
-
onClose:
|
|
165
|
-
}, null, 8, ["url-list", "initial-index"])) :
|
|
164
|
+
onClose: d[0] || (d[0] = (v) => _.value = !1)
|
|
165
|
+
}, null, 8, ["url-list", "initial-index"])) : p("", !0)
|
|
166
166
|
], 64);
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
|
-
const Ye = /* @__PURE__ */ ce(we, [["__scopeId", "data-v-
|
|
170
|
+
const Ye = /* @__PURE__ */ ce(we, [["__scopeId", "data-v-996fd537"]]);
|
|
171
171
|
export {
|
|
172
172
|
Ye as default
|
|
173
173
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as $, ref as L, watch as q, nextTick as K, computed as G, resolveComponent as J, openBlock as g, createBlock as u, mergeProps as
|
|
2
|
-
import { e as N } from "./
|
|
1
|
+
import { defineComponent as $, ref as L, watch as q, nextTick as K, computed as G, resolveComponent as J, openBlock as g, createBlock as u, mergeProps as m, unref as e, withCtx as f, createSlots as B, renderList as z, createElementVNode as C, createVNode as D, toHandlers as M } from "vue";
|
|
2
|
+
import { e as N } from "./index-efb59a41.js";
|
|
3
3
|
import { I as Q } from "./field-base-66c90648.js";
|
|
4
|
-
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { a as U } from "./share-field-
|
|
6
|
-
import { w as X } from "./expression-
|
|
7
|
-
import { g as T } from "./slot-
|
|
8
|
-
import { D as V } from "./drag-wrapper-
|
|
4
|
+
import { _ as R } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-04f982b7.js";
|
|
5
|
+
import { a as U } from "./share-field-5b8d348c.js";
|
|
6
|
+
import { w as X } from "./expression-2443dc1e.js";
|
|
7
|
+
import { g as T } from "./slot-9c90ab7a.js";
|
|
8
|
+
import { D as V } from "./drag-wrapper-26233757.js";
|
|
9
9
|
import Y from "./vertical-progress-widget-c44812e6.js";
|
|
10
|
-
import {
|
|
10
|
+
import { e as Z, m as _ } from "./icon-59a05cd7.js";
|
|
11
11
|
import "./widget-base-df734ada.js";
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./icon-4e8380f7.js";
|
|
12
|
+
import "./globalProvideInject-af5ac9ca.js";
|
|
13
|
+
import "./baseCommonField-c2a132bc.js";
|
|
14
|
+
import "./baseDataType-af503f9f.js";
|
|
16
15
|
import "axios";
|
|
17
|
-
import "./dialog-
|
|
16
|
+
import "./dialog-6ce4ec4d.js";
|
|
18
17
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "./uuid-1013bfdd.js";
|
|
19
19
|
import "element-plus";
|
|
20
|
-
import "./index-
|
|
20
|
+
import "./index-4feb900a.js";
|
|
21
21
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
-
import "./fieldobj-
|
|
23
|
-
import "./multirow-
|
|
22
|
+
import "./fieldobj-e86c52db.js";
|
|
23
|
+
import "./multirow-a7933e2a.js";
|
|
24
24
|
import "./source-map-b04aec4a.js";
|
|
25
25
|
import "./esprima-e8d15055.js";
|
|
26
26
|
const ee = $({ componentName: X.FieldWidget }), ze = /* @__PURE__ */ $({
|
|
@@ -29,18 +29,18 @@ const ee = $({ componentName: X.FieldWidget }), ze = /* @__PURE__ */ $({
|
|
|
29
29
|
props: { ...Q },
|
|
30
30
|
setup(j, { expose: A }) {
|
|
31
31
|
var b;
|
|
32
|
-
const v = j, { attrs: s, fieldEditor: h, fieldObj: O, exposed: P, extendAttrs: i, fieldKey: W, events: F, slots: w } = U(v),
|
|
33
|
-
|
|
32
|
+
const v = j, { attrs: s, fieldEditor: h, fieldObj: O, exposed: P, extendAttrs: i, fieldKey: W, events: F, slots: w } = U(v), c = L((b = s.value) == null ? void 0 : b.percentage), x = (t) => {
|
|
33
|
+
c.value = t;
|
|
34
34
|
}, H = () => {
|
|
35
|
-
var n, a,
|
|
35
|
+
var n, a, l;
|
|
36
36
|
const t = (n = s.value) == null ? void 0 : n.type, o = {
|
|
37
37
|
[_.line]: ".el-progress-bar__inner",
|
|
38
38
|
[_.circle]: ".el-progress-circle__path",
|
|
39
39
|
[_.dashboard]: ".el-progress-circle__path"
|
|
40
40
|
}[t];
|
|
41
|
-
return (
|
|
41
|
+
return (l = (a = h.value) == null ? void 0 : a.$el) == null ? void 0 : l.querySelector(o);
|
|
42
42
|
};
|
|
43
|
-
q(
|
|
43
|
+
q(c, async (t) => {
|
|
44
44
|
if (t === 100) {
|
|
45
45
|
await K();
|
|
46
46
|
const r = H();
|
|
@@ -56,49 +56,49 @@ const ee = $({ componentName: X.FieldWidget }), ze = /* @__PURE__ */ $({
|
|
|
56
56
|
(o = (r = i.value) == null ? void 0 : r.completed) == null || o.call(r);
|
|
57
57
|
}, (((t = i.value) == null ? void 0 : t.completeSec) || 0) * 1e3);
|
|
58
58
|
}
|
|
59
|
-
const I = () =>
|
|
59
|
+
const I = () => c.value, S = G(() => v.designState ? s.value : {
|
|
60
60
|
...s.value,
|
|
61
|
-
percentage:
|
|
61
|
+
percentage: c.value
|
|
62
62
|
});
|
|
63
63
|
return A({ ...P, getValue: I, setValue: x }), (t, r) => {
|
|
64
64
|
const o = J("el-progress");
|
|
65
|
-
return g(), u(R,
|
|
65
|
+
return g(), u(R, m(t.$props, {
|
|
66
66
|
propOptions: { fieldObj: e(O) }
|
|
67
67
|
}), {
|
|
68
|
-
default: f(({ data:
|
|
69
|
-
var n, a,
|
|
68
|
+
default: f(({ data: d }) => {
|
|
69
|
+
var n, a, l, k, E;
|
|
70
70
|
return [
|
|
71
|
-
((n = e(i)) == null ? void 0 : n.direction) == e(Z).vertical ? (g(), u(Y,
|
|
71
|
+
((n = e(i)) == null ? void 0 : n.direction) == e(Z).vertical ? (g(), u(Y, m({ key: 0 }, S.value, {
|
|
72
72
|
width: (a = e(s)) == null ? void 0 : a.strokeWidth,
|
|
73
|
-
height: (
|
|
73
|
+
height: (l = e(i)) == null ? void 0 : l.ctrlHeight
|
|
74
74
|
}), B({ _: 2 }, [
|
|
75
|
-
z(e(T)(e(w), t.designState, (k = e(i)) == null ? void 0 : k.slotable), (
|
|
76
|
-
name:
|
|
75
|
+
z(e(T)(e(w), t.designState, (k = e(i)) == null ? void 0 : k.slotable), (p) => ({
|
|
76
|
+
name: p.slotName,
|
|
77
77
|
fn: f(() => [
|
|
78
78
|
C("div", null, [
|
|
79
|
-
D(V,
|
|
80
|
-
widget:
|
|
79
|
+
D(V, m(t.$props, {
|
|
80
|
+
widget: p,
|
|
81
81
|
"drag-class": "dragSize1",
|
|
82
82
|
"drag-tip": e(N).i18nt("designer.hint.draggableArea1")
|
|
83
83
|
}), null, 16, ["widget", "drag-tip"])
|
|
84
84
|
])
|
|
85
85
|
])
|
|
86
86
|
}))
|
|
87
|
-
]), 1040, ["width", "height"])) : (g(), u(o,
|
|
87
|
+
]), 1040, ["width", "height"])) : (g(), u(o, m({
|
|
88
88
|
ref_key: "fieldEditor",
|
|
89
89
|
ref: h,
|
|
90
90
|
key: e(W)
|
|
91
91
|
}, S.value, M(e(F)), {
|
|
92
|
-
size:
|
|
93
|
-
class:
|
|
94
|
-
style:
|
|
92
|
+
size: d.size,
|
|
93
|
+
class: d.injectClass,
|
|
94
|
+
style: d.injectStyle
|
|
95
95
|
}), B({ _: 2 }, [
|
|
96
|
-
z(e(T)(e(w), t.designState, (E = e(i)) == null ? void 0 : E.slotable), (
|
|
97
|
-
name:
|
|
96
|
+
z(e(T)(e(w), t.designState, (E = e(i)) == null ? void 0 : E.slotable), (p) => ({
|
|
97
|
+
name: p.slotName,
|
|
98
98
|
fn: f(() => [
|
|
99
99
|
C("div", null, [
|
|
100
|
-
D(V,
|
|
101
|
-
widget:
|
|
100
|
+
D(V, m(t.$props, {
|
|
101
|
+
widget: p,
|
|
102
102
|
"drag-class": "dragSize1",
|
|
103
103
|
"drag-tip": e(N).i18nt("designer.hint.draggableArea1")
|
|
104
104
|
}), null, 16, ["widget", "drag-tip"])
|