@web-utils/component 4.0.15 → 4.0.16
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/address-input/index.mjs +13 -15
- package/card/index.mjs +18 -20
- package/carousel/index.mjs +10 -12
- package/chat/index.mjs +45 -56
- package/chunk-file-uploader/index.mjs +36 -378
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
- package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
- package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
- package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
- package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
- package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
- package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
- package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
- package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
- package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
- package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
- package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
- package/chunks/core.0Exl13Mz.mjs +54 -0
- package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
- package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
- package/chunks/dictionary.DGt59Ir7.mjs +68 -0
- package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
- package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
- package/chunks/form-item.LWjePsPa.mjs +233 -0
- package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
- package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
- package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
- package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
- package/chunks/utilSelf.Csq1766E.mjs +48 -0
- package/chunks/utils.DRcxC1Fb.mjs +60 -0
- package/color-picker/index.mjs +22 -101
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-box/index.mjs +12 -15
- package/data-card/index.mjs +10 -12
- package/data-card-text/index.mjs +10 -12
- package/data-display/index.mjs +15 -17
- package/data-icons/index.mjs +13 -16
- package/data-imgtext/index.mjs +15 -18
- package/data-operatext/index.mjs +14 -16
- package/data-panel/index.mjs +13 -16
- package/data-pay/index.mjs +16 -20
- package/data-price/index.mjs +14 -16
- package/data-progress/index.mjs +13 -17
- package/data-rotate/index.mjs +12 -15
- package/data-table-picker/index.mjs +15 -18
- package/data-tabs/index.mjs +12 -15
- package/dialog-form/index.mjs +16 -18
- package/dynamic-table/index.mjs +25 -30
- package/editable-progress/index.mjs +9 -11
- package/editable-tree/index.mjs +52 -56
- package/egd-collapse-item/index.mjs +9 -9
- package/element-dialog/index.mjs +22 -23
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow/index.mjs +10 -11
- package/flow-designer/index.mjs +699 -1973
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +9 -9
- package/form-block/index.mjs +32 -34
- package/form-cascader/index.mjs +23 -24
- package/form-checkbox/index.mjs +16 -17
- package/form-checkbox-group/index.mjs +20 -23
- package/form-date-picker/index.mjs +18 -20
- package/form-holder/index.mjs +13 -14
- package/form-input/index.mjs +14 -15
- package/form-input-cron-expression/index.mjs +19 -22
- package/form-input-email/index.mjs +15 -16
- package/form-input-id-card/index.mjs +12 -13
- package/form-input-number/index.mjs +16 -17
- package/form-input-phone-number/index.mjs +21 -22
- package/form-input-tag/index.mjs +14 -15
- package/form-input-time/index.mjs +14 -15
- package/form-item/index.mjs +140 -3
- package/form-item-group/index.mjs +28 -31
- package/form-radio-group/index.mjs +27 -28
- package/form-select/index.mjs +21 -23
- package/form-switch/index.mjs +16 -17
- package/form-table/index.mjs +16 -17
- package/form-table-plus/index.mjs +21 -22
- package/form-textarea/index.mjs +15 -16
- package/form-tree-select/index.mjs +14 -15
- package/form-tree-select-multiple/index.mjs +14 -15
- package/form-view/index.mjs +35 -39
- package/fy-array/index.mjs +33 -37
- package/fy-cascader/index.mjs +16 -17
- package/fy-checkbox/index.mjs +11 -13
- package/fy-code/index.mjs +10 -10
- package/fy-curd/index.mjs +1128 -1152
- package/fy-date/index.mjs +10 -11
- package/fy-draggable/index.mjs +9 -10
- package/fy-dynamic/index.mjs +22 -25
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +638 -15
- package/fy-form-design/index.mjs +1307 -1345
- package/fy-from/crud/zh.d.ts +6 -6
- package/fy-input/index.mjs +12 -14
- package/fy-input-color/index.mjs +13 -15
- package/fy-input-icon/index.mjs +20 -23
- package/fy-input-map/index.mjs +28 -31
- package/fy-input-number/index.mjs +9 -10
- package/fy-input-table/index.mjs +18 -22
- package/fy-input-tree/index.mjs +33 -37
- package/fy-progress/index.mjs +9 -10
- package/fy-radio/index.mjs +15 -16
- package/fy-rate/index.mjs +10 -11
- package/fy-select/index.mjs +25 -29
- package/fy-slider/index.mjs +11 -12
- package/fy-switch/index.mjs +9 -10
- package/fy-tabs/index.mjs +15 -17
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +18 -24
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +74 -76
- package/guide-steps/index.mjs +11 -13
- package/iframe-window/index.mjs +9 -10
- package/image-cropper/index.mjs +28 -30
- package/image-preview/index.mjs +12 -14
- package/index.mjs +72 -72
- package/input-number/index.mjs +13 -14
- package/input-number-range/index.mjs +11 -12
- package/license/index.mjs +1 -1
- package/login/index.mjs +21 -26
- package/nav-bar/index.mjs +9 -10
- package/notice/index.mjs +9 -10
- package/package.json +1 -1
- package/page-index/index.mjs +12 -13
- package/page-index-top/index.mjs +23 -28
- package/page-skeleton/index.mjs +14 -14
- package/page-skeleton-new/index.mjs +8 -9
- package/pageable-table/index.mjs +172 -182
- package/pageable-view/index.mjs +15 -16
- package/picker-table-view/index.mjs +49 -58
- package/present-view/index.mjs +35 -39
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +20 -22
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/skeleton-panel/index.mjs +9 -10
- package/split-pane/index.mjs +36 -37
- package/static-pageable-table/index.mjs +11 -13
- package/sub-table/index.mjs +36 -49
- package/sub-table-plus/index.mjs +229 -18
- package/swiper/index.mjs +11 -12
- package/table-column/index.mjs +223 -3
- package/table-view/index.mjs +52 -60
- package/tabs-view/index.mjs +17 -19
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +9 -10
- package/toolbar/index.mjs +13 -14
- package/toolbar-button/index.mjs +13 -14
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +259 -267
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +21 -24
- package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
- package/chunks/FyForm.DriwCJ7b.mjs +0 -765
- package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
- package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
- package/chunks/TableColumn.BzivvXMF.mjs +0 -337
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), R = {
|
|
1
|
+
import { f as p } from "../chunks/form-input.CvFdwlEV.mjs";
|
|
2
|
+
import { h as s, d as i, n as h } from "../chunks/index.B2TRddqf.mjs";
|
|
3
|
+
import { S as u } from "../chunks/sub-table-plus-props.BVsD71hT.mjs";
|
|
4
|
+
import { isString as a, isArray as m, trace as b, warning as _ } from "@web-utils/core";
|
|
5
|
+
import { a as w } from "../chunks/form-validate.CVarNHKX.mjs";
|
|
6
|
+
import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
7
|
+
const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), v = {
|
|
9
8
|
name: "FormTablePlus",
|
|
10
|
-
mixins: [
|
|
9
|
+
mixins: [p, u],
|
|
11
10
|
bus: {
|
|
12
11
|
reloadTableView(r) {
|
|
13
12
|
if (this._viewIds)
|
|
14
|
-
if (a(r) ||
|
|
13
|
+
if (a(r) || m(r)) {
|
|
15
14
|
let e = r;
|
|
16
|
-
a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (
|
|
15
|
+
a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (b.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
|
|
17
16
|
} else
|
|
18
|
-
|
|
17
|
+
_.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
|
|
19
18
|
}
|
|
20
19
|
},
|
|
21
20
|
props: {
|
|
@@ -31,7 +30,7 @@ const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
|
|
|
31
30
|
},
|
|
32
31
|
computed: {
|
|
33
32
|
inputProps() {
|
|
34
|
-
return i({ ...
|
|
33
|
+
return i({ ...h(this.$attrs), ...this.$props }, k);
|
|
35
34
|
},
|
|
36
35
|
listeners() {
|
|
37
36
|
const r = i(this.$listeners, "input", !1);
|
|
@@ -56,7 +55,7 @@ const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
|
|
|
56
55
|
addRow() {
|
|
57
56
|
this.$router.push(s(this.formPath));
|
|
58
57
|
},
|
|
59
|
-
validateRow:
|
|
58
|
+
validateRow: w,
|
|
60
59
|
getRequireRule() {
|
|
61
60
|
return this.fetchApi ? {
|
|
62
61
|
required: !0,
|
|
@@ -67,10 +66,10 @@ const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
|
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
};
|
|
70
|
-
var
|
|
69
|
+
var P = function() {
|
|
71
70
|
var e = this, l = e._self._c;
|
|
72
|
-
return l(
|
|
73
|
-
return [l(
|
|
71
|
+
return l("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, "prefix-add": "", disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
72
|
+
return [l("SubTablePlus", e._g(e._b({ ref: "table", class: { "is-readonly": e.readonly }, attrs: { value: e.value, prop: e.prop, "fetch-api": e.fetchApi, "on-row-db-click": e.onRowDbClick, columns: e.columns, "show-message": e.showMessage, readonly: e.readonly, disabled: e.inputDisabled, "toolbar-menus": e.toolbarMenus, "handle-menus": e.handleMenus, "bottom-add-button": e.bottomAddButton, placeholder: e.computePlaceholder, descs: e.descs, "page-size": e.pageSize }, on: { input: (t) => e.$emit("input", t) }, scopedSlots: e._u([e._l(e.columns, function(t) {
|
|
74
73
|
return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: f, required: c }) {
|
|
75
74
|
return [e._t(t.prop, null, { row: o, column: n, index: d, prop: f, required: c })];
|
|
76
75
|
} };
|
|
@@ -96,15 +95,15 @@ var g = function() {
|
|
|
96
95
|
} }, { key: "label", fn: function() {
|
|
97
96
|
return [e._t("label")];
|
|
98
97
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
99
|
-
},
|
|
98
|
+
}, R = [], g = /* @__PURE__ */ y(
|
|
99
|
+
v,
|
|
100
|
+
P,
|
|
100
101
|
R,
|
|
101
|
-
g,
|
|
102
|
-
$,
|
|
103
102
|
!1,
|
|
104
103
|
null,
|
|
105
104
|
null
|
|
106
105
|
);
|
|
107
|
-
const
|
|
106
|
+
const F = g.exports;
|
|
108
107
|
export {
|
|
109
|
-
|
|
108
|
+
F as default
|
|
110
109
|
};
|
package/form-textarea/index.mjs
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import n from "
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const m = l(n).filter(
|
|
1
|
+
import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
|
|
2
|
+
import { c as a, d as s, n as l } from "../chunks/index.B2TRddqf.mjs";
|
|
3
|
+
import i from "element-ui/lib/input";
|
|
4
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const p = a(i).filter(
|
|
7
6
|
(o) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(o)
|
|
8
|
-
),
|
|
7
|
+
), m = {
|
|
9
8
|
name: "FormTextarea",
|
|
10
|
-
mixins: [
|
|
9
|
+
mixins: [n],
|
|
11
10
|
props: {
|
|
12
11
|
value: [String, Number],
|
|
13
12
|
rows: {
|
|
@@ -31,28 +30,28 @@ const m = l(n).filter(
|
|
|
31
30
|
},
|
|
32
31
|
computed: {
|
|
33
32
|
inputProps() {
|
|
34
|
-
return
|
|
33
|
+
return s({ ...l(this.$attrs), ...this.$props }, p);
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
|
-
var
|
|
37
|
+
var f = function() {
|
|
39
38
|
var e = this, t = e._self._c;
|
|
40
|
-
return t(
|
|
41
|
-
return [e.formView.printing ? t("div", { staticStyle: { "line-height": "1.5" } }, [e._v(" " + e._s(e.value) + " ")]) : t(
|
|
39
|
+
return t("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
40
|
+
return [e.formView.printing ? t("div", { staticStyle: { "line-height": "1.5" } }, [e._v(" " + e._s(e.value) + " ")]) : t("ElInput", e._g(e._b({ ref: "textarea", attrs: { value: e.value, type: "textarea", rows: e.rows, autosize: e.autosize, resize: e.resize ? null : "none", "show-word-limit": e.showWordLimit, disabled: e.inputDisabled, maxlength: e.maxLength, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
|
|
42
41
|
}, proxy: !0 }, { key: "error", fn: function({ error: r }) {
|
|
43
42
|
return [e._t("error", null, { error: r })];
|
|
44
43
|
} }, { key: "label", fn: function() {
|
|
45
44
|
return [e._t("label")];
|
|
46
45
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
47
|
-
},
|
|
46
|
+
}, c = [], d = /* @__PURE__ */ u(
|
|
47
|
+
m,
|
|
48
48
|
f,
|
|
49
49
|
c,
|
|
50
|
-
d,
|
|
51
50
|
!1,
|
|
52
51
|
null,
|
|
53
52
|
null
|
|
54
53
|
);
|
|
55
|
-
const
|
|
54
|
+
const b = d.exports;
|
|
56
55
|
export {
|
|
57
|
-
|
|
56
|
+
b as default
|
|
58
57
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import u from "../
|
|
5
|
-
|
|
6
|
-
const p = Object.keys(u.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), c = {
|
|
1
|
+
import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
|
|
2
|
+
import { v as s, d as a, n as i } from "../chunks/index.B2TRddqf.mjs";
|
|
3
|
+
import o from "../vue-tree-select/index.mjs";
|
|
4
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
|
|
7
6
|
name: "FormTreeSelect",
|
|
8
|
-
mixins: [
|
|
7
|
+
mixins: [n],
|
|
9
8
|
props: {
|
|
10
9
|
value: [String, Number, Array],
|
|
11
10
|
multiple: Boolean,
|
|
@@ -18,12 +17,12 @@ const p = Object.keys(u.mixins[0].props).filter((r) => !["value", "placeholder",
|
|
|
18
17
|
},
|
|
19
18
|
computed: {
|
|
20
19
|
inputProps() {
|
|
21
|
-
return
|
|
20
|
+
return a({ ...i(this.$attrs), ...this.$props }, p);
|
|
22
21
|
}
|
|
23
22
|
},
|
|
24
23
|
watch: {
|
|
25
24
|
async value(r) {
|
|
26
|
-
this.isValidValue = await
|
|
25
|
+
this.isValidValue = await s(this.prop, r, this.computeRules);
|
|
27
26
|
}
|
|
28
27
|
},
|
|
29
28
|
methods: {
|
|
@@ -40,9 +39,9 @@ const p = Object.keys(u.mixins[0].props).filter((r) => !["value", "placeholder",
|
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
};
|
|
43
|
-
var
|
|
42
|
+
var c = function() {
|
|
44
43
|
var e = this, l = e._self._c;
|
|
45
|
-
return l(
|
|
44
|
+
return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
46
45
|
return [e._t("default", function() {
|
|
47
46
|
return [l("VueTreeSelect", e._g(e._b({ class: ["form-tree-select", { "is-readonly": e.readonly }], attrs: { value: e.value, readonly: e.readonly, disabled: e.inputDisabled, multiple: e.multiple, "default-expand-level": 1, placeholder: e.inputDisabled ? "" : e.computePlaceholder, normalizer: e.normalizer }, on: { input: e.emitInput }, scopedSlots: e._u([{ key: "value-label", fn: function({ node: t }) {
|
|
48
47
|
return [e._t("value-label", function() {
|
|
@@ -59,15 +58,15 @@ var f = function() {
|
|
|
59
58
|
}, proxy: !0 }, { key: "tips", fn: function() {
|
|
60
59
|
return [e._t("tips")];
|
|
61
60
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
62
|
-
}, d = [],
|
|
61
|
+
}, d = [], f = /* @__PURE__ */ u(
|
|
62
|
+
m,
|
|
63
63
|
c,
|
|
64
|
-
f,
|
|
65
64
|
d,
|
|
66
65
|
!1,
|
|
67
66
|
null,
|
|
68
67
|
null
|
|
69
68
|
);
|
|
70
|
-
const
|
|
69
|
+
const y = f.exports;
|
|
71
70
|
export {
|
|
72
|
-
|
|
71
|
+
y as default
|
|
73
72
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import u from "../
|
|
5
|
-
|
|
6
|
-
const d = Object.keys(u.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), p = {
|
|
1
|
+
import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
|
|
2
|
+
import { v as s, d as a, n as i } from "../chunks/index.B2TRddqf.mjs";
|
|
3
|
+
import o from "../vue-tree-select/index.mjs";
|
|
4
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
|
|
7
6
|
name: "FormTreeSelectMultiple",
|
|
8
|
-
mixins: [
|
|
7
|
+
mixins: [n],
|
|
9
8
|
props: {
|
|
10
9
|
value: Array
|
|
11
10
|
},
|
|
@@ -16,12 +15,12 @@ const d = Object.keys(u.mixins[0].props).filter((t) => !["value", "placeholder",
|
|
|
16
15
|
},
|
|
17
16
|
computed: {
|
|
18
17
|
inputProps() {
|
|
19
|
-
return
|
|
18
|
+
return a({ ...i(this.$attrs), ...this.$props }, c);
|
|
20
19
|
}
|
|
21
20
|
},
|
|
22
21
|
watch: {
|
|
23
22
|
async value(t) {
|
|
24
|
-
this.isValidValue = await
|
|
23
|
+
this.isValidValue = await s(this.prop, t, this.computeRules);
|
|
25
24
|
}
|
|
26
25
|
},
|
|
27
26
|
methods: {
|
|
@@ -46,9 +45,9 @@ const d = Object.keys(u.mixins[0].props).filter((t) => !["value", "placeholder",
|
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
};
|
|
49
|
-
var
|
|
48
|
+
var p = function() {
|
|
50
49
|
var e = this, l = e._self._c;
|
|
51
|
-
return l(
|
|
50
|
+
return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
52
51
|
return [e._t("default", function() {
|
|
53
52
|
return [l("VueTreeSelect", e._g(e._b({ class: ["form-tree-select", { "is-readonly": e.readonly }], attrs: { value: e.value, readonly: e.readonly, disabled: e.inputDisabled, "default-expand-level": 0, placeholder: e.inputDisabled ? "" : e.computePlaceholder, normalizer: e.normalizer }, on: { input: e.emitInput, select: e.nodeSelect, deselect: e.nodeCancelSelect }, scopedSlots: e._u([{ key: "value-label", fn: function({ node: r }) {
|
|
54
53
|
return [e._t("value-label", function() {
|
|
@@ -65,15 +64,15 @@ var m = function() {
|
|
|
65
64
|
}, proxy: !0 }, { key: "tips", fn: function() {
|
|
66
65
|
return [e._t("tips")];
|
|
67
66
|
}, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
|
|
68
|
-
},
|
|
67
|
+
}, m = [], f = /* @__PURE__ */ u(
|
|
68
|
+
d,
|
|
69
69
|
p,
|
|
70
70
|
m,
|
|
71
|
-
f,
|
|
72
71
|
!1,
|
|
73
72
|
null,
|
|
74
73
|
null
|
|
75
74
|
);
|
|
76
|
-
const
|
|
75
|
+
const y = f.exports;
|
|
77
76
|
export {
|
|
78
|
-
|
|
77
|
+
y as default
|
|
79
78
|
};
|
package/form-view/index.mjs
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import b from "../
|
|
4
|
-
import l from "../toolbar/index.mjs";
|
|
5
|
-
import c from "../empty-view/index.mjs";
|
|
6
|
-
import { isInContainer as v, animate as _, hasOwn as f, toStringArray as g } from "@web-utils/core";
|
|
7
|
-
import { merge as w } from "@web-utils/integrations/lodash";
|
|
1
|
+
import { isInContainer as d, animate as m, hasOwn as a, toStringArray as h } from "@web-utils/core";
|
|
2
|
+
import { merge as p } from "@web-utils/integrations/lodash";
|
|
3
|
+
import b from "../resize-observer/index.mjs";
|
|
8
4
|
import "../resize-observer/style.css";
|
|
9
|
-
import { n as
|
|
10
|
-
const
|
|
5
|
+
import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
6
|
+
const f = [
|
|
11
7
|
"back",
|
|
12
8
|
"create",
|
|
13
9
|
"save",
|
|
@@ -27,17 +23,17 @@ const m = [
|
|
|
27
23
|
"disabled",
|
|
28
24
|
"reload",
|
|
29
25
|
"slot"
|
|
30
|
-
],
|
|
26
|
+
], _ = f.map((o) => `${o}-down`), g = ["back", "withdraw", "edit"], c = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], l = (o, t) => {
|
|
31
27
|
if (o.classList.contains(t))
|
|
32
28
|
return o;
|
|
33
29
|
let e = o.parentNode;
|
|
34
30
|
for (; e && !e.classList.contains(t); )
|
|
35
31
|
e = e.parentNode;
|
|
36
32
|
return e.classList.contains(t) ? e : null;
|
|
37
|
-
},
|
|
33
|
+
}, w = {
|
|
38
34
|
name: "FormView",
|
|
39
35
|
components: {
|
|
40
|
-
ResizeObserver:
|
|
36
|
+
ResizeObserver: b
|
|
41
37
|
},
|
|
42
38
|
inject: {
|
|
43
39
|
flowContext: {
|
|
@@ -88,31 +84,31 @@ const m = [
|
|
|
88
84
|
},
|
|
89
85
|
computed: {
|
|
90
86
|
isFormLoading() {
|
|
91
|
-
return this.loading ||
|
|
87
|
+
return this.loading || a(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
|
|
92
88
|
},
|
|
93
89
|
toolbarProps() {
|
|
94
90
|
var r;
|
|
95
|
-
const o = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, e =
|
|
96
|
-
return e.buttons = t || ["back"], e.buttons =
|
|
91
|
+
const o = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, e = p({}, this.toolbarAttrs, o);
|
|
92
|
+
return e.buttons = t || ["back"], e.buttons = h(e.buttons), e;
|
|
97
93
|
},
|
|
98
94
|
toolbarButtons() {
|
|
99
|
-
return this.toolbarProps.buttons.filter((o) => !
|
|
95
|
+
return this.toolbarProps.buttons.filter((o) => !c.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
|
|
100
96
|
},
|
|
101
97
|
footerBarButtons() {
|
|
102
|
-
let o = this.toolbarProps.buttons.filter((t) =>
|
|
98
|
+
let o = this.toolbarProps.buttons.filter((t) => !g.includes(t) && (c.includes(t) || t.indexOf(":down") > -1)).map((t) => t.replace(":down", ""));
|
|
103
99
|
return o = o || [], this.$parent.isEnabled && !o.includes("cancel") && o.push("cancel"), o;
|
|
104
100
|
}
|
|
105
101
|
},
|
|
106
102
|
created() {
|
|
107
103
|
this.$on("FormView.addGroup", (o) => {
|
|
108
104
|
o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
|
|
109
|
-
const r =
|
|
105
|
+
const r = l(t.$el, "form-card"), s = l(e.$el, "form-card");
|
|
110
106
|
if (r === s) {
|
|
111
107
|
const i = [].indexOf.call(t.$el.parentNode.children, t.$el), n = [].indexOf.call(e.$el.parentNode.children, e.$el);
|
|
112
108
|
return i - n;
|
|
113
109
|
} else {
|
|
114
|
-
const i =
|
|
115
|
-
return n -
|
|
110
|
+
const i = l(r, "form-scroller"), n = [].indexOf.call(i.children, r), u = [].indexOf.call(i.children, s);
|
|
111
|
+
return n - u;
|
|
116
112
|
}
|
|
117
113
|
}), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
|
|
118
114
|
}), this.$on("FormView.removeGroup", (o) => {
|
|
@@ -127,10 +123,10 @@ const m = [
|
|
|
127
123
|
},
|
|
128
124
|
methods: {
|
|
129
125
|
getToolbarSlotKeys() {
|
|
130
|
-
return Object.keys(this.$scopedSlots).filter((o) =>
|
|
126
|
+
return Object.keys(this.$scopedSlots).filter((o) => f.includes(o));
|
|
131
127
|
},
|
|
132
128
|
getFooterSlotKeys() {
|
|
133
|
-
return Object.keys(this.$scopedSlots).filter((o) =>
|
|
129
|
+
return Object.keys(this.$scopedSlots).filter((o) => _.includes(o));
|
|
134
130
|
},
|
|
135
131
|
getFooterSlotKey(o) {
|
|
136
132
|
return o.replace("-down", "");
|
|
@@ -139,18 +135,18 @@ const m = [
|
|
|
139
135
|
this.showNav = o > 1500;
|
|
140
136
|
},
|
|
141
137
|
onEdit() {
|
|
142
|
-
!this.toolbarListeners.edit &&
|
|
138
|
+
!this.toolbarListeners.edit && a(this.$parent, "disabled") && (this.$parent.disabled = !1);
|
|
143
139
|
},
|
|
144
140
|
async navItemClick(o, t) {
|
|
145
141
|
this.showNav && (await this.$nextTick(), this.activeFormItemGroup(o, t), o.expand || o.open());
|
|
146
142
|
},
|
|
147
143
|
activeFormItemGroup(o, t) {
|
|
148
|
-
this.$refs.formScroller.scrollTop = o.$el.offsetTop - 10,
|
|
144
|
+
this.$refs.formScroller.scrollTop = o.$el.offsetTop - 10, m(o.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = t;
|
|
149
145
|
},
|
|
150
146
|
tryActive() {
|
|
151
147
|
if (this.showNav) {
|
|
152
148
|
for (let o = 0; o < this.groups.length; o++)
|
|
153
|
-
if (
|
|
149
|
+
if (d(this.groups[o].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
154
150
|
this.activeIndex = o;
|
|
155
151
|
break;
|
|
156
152
|
}
|
|
@@ -164,10 +160,10 @@ const m = [
|
|
|
164
160
|
}
|
|
165
161
|
}
|
|
166
162
|
};
|
|
167
|
-
var
|
|
163
|
+
var y = function() {
|
|
168
164
|
var t = this, e = t._self._c;
|
|
169
165
|
return e("div", { class: ["form-view", t.className] }, [t.showToolbar ? e("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFormLoading, expression: "!isFormLoading" }], staticClass: "form-view-toolbar" }, [t._t("form-view-toolbar", function() {
|
|
170
|
-
return [e(
|
|
166
|
+
return [e("Toolbar", t._g(t._b({ on: { edit: t.onEdit }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r }) {
|
|
171
167
|
return [t._t("toolbar-button", null, { buttons: r })];
|
|
172
168
|
} }, t._l(t.getToolbarSlotKeys(), function(r) {
|
|
173
169
|
return { key: r, fn: function() {
|
|
@@ -177,35 +173,35 @@ var F = function() {
|
|
|
177
173
|
return [t._t("toolbar-right")];
|
|
178
174
|
}, proxy: !0 }], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.toolbarButtons }, !1), t.toolbarListeners))];
|
|
179
175
|
})], 2) : t._e(), e("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFormLoading, expression: "!isFormLoading" }], staticClass: "form-scroller-wrapper" }, [e("div", { ref: "formScroller", class: ["form-scroller", t.contentClass], on: { scroll: t.onFormScroll } }, [t.notForm ? e("div", { staticClass: "not-form", style: { width: t.formWidth } }, [t.title ? e("div", { staticClass: "form-view-title" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
|
|
180
|
-
return [e(
|
|
181
|
-
}), t.footerBarButtons.length ? e(
|
|
176
|
+
return [e("EmptyView", { attrs: { "empty-tips": "请添加表单内容" } })];
|
|
177
|
+
}), t.footerBarButtons.length ? e("Toolbar", t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
|
|
182
178
|
return [t._t("footer-button", null, { buttons: r, footer: s })];
|
|
183
179
|
} }, t._l(t.getFooterSlotKeys(), function(r) {
|
|
184
180
|
return { key: t.getFooterSlotKey(r), fn: function() {
|
|
185
181
|
return [t._t(r)];
|
|
186
182
|
}, proxy: !0 };
|
|
187
183
|
})], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.footerBarButtons }, !1), t.toolbarListeners)) : t._e(), t.$scopedSlots["form-bottom"] ? t._t("form-bottom") : t._e()], 2) : e("div", { class: ["form-card", { "un-limit": t.unLimit }], style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.title ? e("div", { staticClass: "form-view-title" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
|
|
188
|
-
return [e(
|
|
189
|
-
}), t.footerBarButtons.length ? e(
|
|
184
|
+
return [e("EmptyView", { attrs: { "empty-tips": "请添加表单内容" } })];
|
|
185
|
+
}), t.footerBarButtons.length ? e("Toolbar", t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
|
|
190
186
|
return [t._t("footer-button", null, { buttons: r, footer: s })];
|
|
191
187
|
} }, t._l(t.getFooterSlotKeys(), function(r) {
|
|
192
188
|
return { key: t.getFooterSlotKey(r), fn: function() {
|
|
193
189
|
return [t._t(r)];
|
|
194
190
|
}, proxy: !0 };
|
|
195
|
-
})], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.footerBarButtons }, !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e(
|
|
191
|
+
})], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.footerBarButtons }, !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e("FormItemGroup", { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e("ResizeObserver", { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
|
|
196
192
|
return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
|
|
197
193
|
return t.navItemClick(r, s);
|
|
198
194
|
} } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
|
|
199
|
-
}), 0)]) : t._e(), t.isFormLoading ? e(
|
|
200
|
-
},
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
195
|
+
}), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
|
|
196
|
+
}, x = [], $ = /* @__PURE__ */ v(
|
|
197
|
+
w,
|
|
198
|
+
y,
|
|
199
|
+
x,
|
|
204
200
|
!1,
|
|
205
201
|
null,
|
|
206
202
|
null
|
|
207
203
|
);
|
|
208
|
-
const
|
|
204
|
+
const L = $.exports;
|
|
209
205
|
export {
|
|
210
|
-
|
|
206
|
+
L as default
|
|
211
207
|
};
|
package/fy-array/index.mjs
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { p, e as u } from "../chunks/event.DSlcqYHL.mjs";
|
|
6
|
-
import { v as m } from "../chunks/util.DI42t5GU.mjs";
|
|
7
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
|
-
const _ = {
|
|
1
|
+
import { p as a, e as l } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { i as o } from "../chunks/util.DqFv_pWg.mjs";
|
|
3
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const p = {
|
|
9
5
|
name: "FyArray",
|
|
10
|
-
mixins: [
|
|
6
|
+
mixins: [a, l],
|
|
11
7
|
props: {
|
|
12
8
|
fileType: String,
|
|
13
9
|
alone: Boolean,
|
|
@@ -29,46 +25,46 @@ const _ = {
|
|
|
29
25
|
}
|
|
30
26
|
},
|
|
31
27
|
methods: {
|
|
32
|
-
isMediaType(
|
|
33
|
-
return
|
|
28
|
+
isMediaType(i) {
|
|
29
|
+
return o(i, this.fileType);
|
|
34
30
|
},
|
|
35
|
-
add(
|
|
36
|
-
this.text.splice(
|
|
31
|
+
add(i) {
|
|
32
|
+
this.text.splice(i + 1, 0, "");
|
|
37
33
|
},
|
|
38
|
-
remove(
|
|
39
|
-
this.text.splice(
|
|
34
|
+
remove(i) {
|
|
35
|
+
this.text.splice(i, 1);
|
|
40
36
|
},
|
|
41
37
|
openImg() {
|
|
42
|
-
this.text.map((
|
|
38
|
+
this.text.map((i) => ({ thumbUrl: i, url: i, type: this.fileType }));
|
|
43
39
|
}
|
|
44
40
|
}
|
|
45
41
|
};
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
return
|
|
49
|
-
return
|
|
50
|
-
} } }) :
|
|
51
|
-
return
|
|
52
|
-
return [
|
|
53
|
-
return
|
|
54
|
-
} } }) :
|
|
55
|
-
}, proxy: !0 }], null, !0) }, [
|
|
56
|
-
|
|
57
|
-
}, expression: "text[index]" } })], 1),
|
|
58
|
-
return
|
|
59
|
-
} } }),
|
|
60
|
-
return
|
|
42
|
+
var u = function() {
|
|
43
|
+
var t = this, e = t._self._c;
|
|
44
|
+
return e("div", { staticClass: "avue-array" }, [t.text ? e("ElButton", { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(r) {
|
|
45
|
+
return t.add();
|
|
46
|
+
} } }) : t._e(), t._l(t.text, function(r, s) {
|
|
47
|
+
return e("div", { key: s, staticClass: "avue-array__item" }, [e("div", { staticClass: "avue-array__input" }, [e("ElTooltip", { attrs: { placement: "bottom", disabled: !t.isImg && !t.isUrl || !!r }, scopedSlots: t._u([{ key: "content", fn: function() {
|
|
48
|
+
return [e("div", [t.isImg ? e(t.isMediaType(r), { tag: "Component", staticStyle: { width: "200px" }, attrs: { src: r, controls: "controls" }, on: { click: function(n) {
|
|
49
|
+
return t.openImg(s);
|
|
50
|
+
} } }) : t.isUrl ? e("ElLink", { attrs: { type: "primary", href: r, target: t.target } }, [t._v(" " + t._s(r) + " ")]) : t._e()], 1)];
|
|
51
|
+
}, proxy: !0 }], null, !0) }, [e("ElInput", { attrs: { size: t.size, placeholder: t.placeholder, disabled: t.disabled }, model: { value: t.text[s], callback: function(n) {
|
|
52
|
+
t.$set(t.text, s, n);
|
|
53
|
+
}, expression: "text[index]" } })], 1), t.disabled || t.readonly || t.alone ? t._e() : [t.isLimit ? t._e() : e("ElButton", { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(n) {
|
|
54
|
+
return t.add(s);
|
|
55
|
+
} } }), e("ElButton", { attrs: { type: "danger", icon: "el-icon-minus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(n) {
|
|
56
|
+
return t.remove(s);
|
|
61
57
|
} } })]], 2)]);
|
|
62
58
|
})], 2);
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
}, d = [], m = /* @__PURE__ */ c(
|
|
60
|
+
p,
|
|
61
|
+
u,
|
|
62
|
+
d,
|
|
67
63
|
!1,
|
|
68
64
|
null,
|
|
69
65
|
null
|
|
70
66
|
);
|
|
71
|
-
const
|
|
67
|
+
const v = m.exports;
|
|
72
68
|
export {
|
|
73
|
-
|
|
69
|
+
v as default
|
|
74
70
|
};
|
package/fy-cascader/index.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import p from "
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const f = {
|
|
1
|
+
import { p, e as d } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const h = {
|
|
5
4
|
name: "FyCascader",
|
|
6
|
-
mixins: [
|
|
5
|
+
mixins: [p, d],
|
|
7
6
|
props: {
|
|
8
7
|
checkStrictly: {
|
|
9
8
|
type: Boolean,
|
|
@@ -53,39 +52,39 @@ const f = {
|
|
|
53
52
|
lazy: this.lazy,
|
|
54
53
|
lazyLoad: (r, e) => {
|
|
55
54
|
var l;
|
|
56
|
-
const
|
|
55
|
+
const a = (t) => {
|
|
57
56
|
const n = (o, i, c) => {
|
|
58
57
|
o.forEach((s) => {
|
|
59
58
|
s[this.valueKey] === i ? s[this.childrenKey] = c : s[this.childrenKey] && n(s[this.childrenKey]);
|
|
60
59
|
});
|
|
61
60
|
};
|
|
62
|
-
n(this.dic, r[this.valueKey],
|
|
61
|
+
n(this.dic, r[this.valueKey], t), e(t);
|
|
63
62
|
};
|
|
64
|
-
(l = this.lazyLoad) == null || l.call(this, r,
|
|
63
|
+
(l = this.lazyLoad) == null || l.call(this, r, a);
|
|
65
64
|
},
|
|
66
65
|
expandTrigger: this.expandTrigger
|
|
67
66
|
};
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
69
|
};
|
|
71
|
-
var
|
|
72
|
-
var e = this,
|
|
73
|
-
return
|
|
70
|
+
var f = function() {
|
|
71
|
+
var e = this, a = e._self._c;
|
|
72
|
+
return a("ElCascader", { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
|
|
74
73
|
return e.handleClick.apply(null, arguments);
|
|
75
|
-
} }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node:
|
|
76
|
-
return [e.$scopedSlots.default ? e._t("default", null, { data: l, node:
|
|
74
|
+
} }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node: t }) {
|
|
75
|
+
return [e.$scopedSlots.default ? e._t("default", null, { data: l, node: t }) : a("span", [e._v(e._s(l[e.labelKey]))])];
|
|
77
76
|
} }], null, !0), model: { value: e.text, callback: function(l) {
|
|
78
77
|
e.text = l;
|
|
79
78
|
}, expression: "text" } });
|
|
80
|
-
},
|
|
79
|
+
}, y = [], m = /* @__PURE__ */ u(
|
|
80
|
+
h,
|
|
81
81
|
f,
|
|
82
82
|
y,
|
|
83
|
-
m,
|
|
84
83
|
!1,
|
|
85
84
|
null,
|
|
86
85
|
null
|
|
87
86
|
);
|
|
88
|
-
const
|
|
87
|
+
const b = m.exports;
|
|
89
88
|
export {
|
|
90
|
-
|
|
89
|
+
b as default
|
|
91
90
|
};
|