@web-utils/component 3.0.6 → 3.1.0
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 +20 -57
- package/affix/index.mjs +26 -47
- package/aside-menu/index.mjs +18 -43
- package/avatar/index.mjs +27 -49
- package/awesome-button/index.mjs +35 -43
- package/capsule-tab/index.mjs +16 -34
- package/card/index.mjs +21 -76
- package/carousel/index.mjs +14 -49
- package/chat/index.mjs +104 -414
- package/chunk-file-uploader/index.mjs +21 -38
- package/chunks/FormTemp.aa57efb4.mjs +125 -0
- package/code-mirror-editor/index.mjs +69 -79
- package/color-picker/index.mjs +29 -60
- package/comment/index.mjs +17 -48
- package/confirm-button/index.mjs +11 -19
- package/confirmable/index.mjs +12 -20
- package/context-menu/index.mjs +42 -144
- package/count-up/index.mjs +18 -25
- package/custom-scrollbar/index.mjs +13 -22
- package/data-box/index.mjs +15 -66
- package/data-card/index.mjs +16 -65
- package/data-cardtext/index.mjs +16 -52
- package/data-display/index.mjs +18 -62
- package/data-icons/index.mjs +16 -68
- package/data-imgtext/index.mjs +18 -79
- package/data-operatext/index.mjs +18 -75
- package/data-panel/index.mjs +16 -63
- package/data-pay/index.mjs +20 -122
- package/data-price/index.mjs +18 -60
- package/data-progress/index.mjs +16 -67
- package/data-rotate/index.mjs +16 -66
- package/data-table-picker/index.mjs +25 -88
- package/data-tabs/index.mjs +16 -64
- package/dialog-form/index.mjs +48 -94
- package/dynamic-table/index.mjs +43 -127
- package/e-charts/index.mjs +21 -34
- package/easy-popup/index.mjs +35 -61
- package/editable-progress/index.mjs +22 -77
- package/editable-tree/index.mjs +235 -546
- package/egd-collapse/index.mjs +13 -26
- package/egd-collapse-item/index.mjs +27 -87
- package/element-dialog/index.mjs +69 -133
- package/empty-view/index.mjs +13 -33
- package/error-view/index.mjs +14 -34
- package/flex-column/index.mjs +15 -23
- package/flex-item/index.mjs +18 -26
- package/flex-row/index.mjs +23 -31
- package/flex-scroller/index.mjs +16 -27
- package/flow/index.mjs +70 -110
- package/flow-designer/index.mjs +1215 -4804
- package/flow-node/index.mjs +15 -51
- package/flow-viewer/index.mjs +64 -89
- package/form-block/index.mjs +43 -62
- package/form-button/index.mjs +10 -18
- package/form-cascader/index.mjs +49 -100
- package/form-checkbox-group/index.mjs +43 -110
- package/form-date-picker/index.mjs +51 -97
- package/form-holder/index.mjs +25 -42
- package/form-input/index.mjs +40 -90
- package/form-input-email/index.mjs +35 -79
- package/form-input-id-card/index.mjs +40 -87
- package/form-input-number/index.mjs +42 -102
- package/form-input-phone-number/index.mjs +34 -75
- package/form-input-tag/index.mjs +31 -73
- package/form-input-time/index.mjs +42 -87
- package/form-item/index.mjs +70 -89
- package/form-item-config-provider/index.mjs +12 -20
- package/form-item-group/index.mjs +46 -65
- package/form-radio-group/index.mjs +50 -108
- package/form-select/index.mjs +44 -95
- package/form-switch/index.mjs +38 -85
- package/form-textarea/index.mjs +31 -75
- package/form-view/index.mjs +112 -260
- package/fy-array/index.mjs +35 -121
- package/fy-article/index.mjs +12 -43
- package/fy-cascader/index.mjs +26 -67
- package/fy-checkbox/index.mjs +27 -77
- package/fy-code/index.mjs +19 -33
- package/fy-curd/index.mjs +810 -2017
- package/fy-date/index.mjs +18 -59
- package/fy-draggable/index.mjs +81 -140
- package/fy-dynamic/index.mjs +85 -204
- package/fy-empty/index.mjs +14 -35
- package/fy-form/index.mjs +254 -571
- package/fy-form-design/index.mjs +1489 -6084
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +34 -104
- package/fy-input-color/index.mjs +22 -67
- package/fy-input-icon/index.mjs +37 -122
- package/fy-input-map/index.mjs +57 -149
- package/fy-input-number/index.mjs +18 -53
- package/fy-input-table/index.mjs +36 -102
- package/fy-input-tree/index.mjs +51 -138
- package/fy-progress/index.mjs +12 -31
- package/fy-radio/index.mjs +20 -51
- package/fy-rate/index.mjs +18 -51
- package/fy-select/index.mjs +49 -134
- package/fy-slider/index.mjs +19 -52
- package/fy-switch/index.mjs +18 -48
- package/fy-tabs/index.mjs +19 -51
- package/fy-time/index.mjs +22 -62
- package/fy-title/index.mjs +14 -25
- package/fy-tree/index.mjs +74 -216
- package/fy-u-editor/index.mjs +50 -64
- package/fy-upload/index.mjs +167 -338
- package/guide-steps/index.mjs +33 -53
- package/highlight-j-s/index.mjs +13 -27
- package/icon-card/index.mjs +12 -36
- package/icon-temp/index.mjs +12 -34
- package/iframe-window/index.mjs +13 -40
- package/image-cropper/index.mjs +46 -171
- package/image-preview/index.mjs +54 -168
- package/image-viewer/index.mjs +24 -50
- package/index.css +1 -0
- package/index.mjs +3973 -501
- package/input-number/index.mjs +84 -173
- package/input-number-range/index.mjs +20 -70
- package/j-s-x-component/index.mjs +3 -3
- package/keep-view-alive/index.mjs +47 -55
- package/keyboard/index.mjs +100 -113
- package/license/index.mjs +34 -51
- package/loading-view/index.mjs +14 -34
- package/login/index.mjs +33 -161
- package/monaco-editor/index.mjs +13 -21
- package/name-avatar/index.mjs +13 -32
- package/nav-bar/index.mjs +12 -31
- package/not-implement/index.mjs +14 -25
- package/notice/index.mjs +32 -80
- package/package.json +1 -1
- package/page/index.mjs +11 -23
- package/page-header/index.mjs +16 -37
- package/page-index/index.mjs +42 -93
- package/page-index-top/index.mjs +42 -84
- package/page-skeleton/index.mjs +24 -39
- package/page-skeleton-new/index.mjs +21 -68
- package/pageable-table/index.mjs +105 -227
- package/pageable-view/index.mjs +30 -83
- package/photo-swipe/index.mjs +62 -87
- package/present-view/index.mjs +114 -267
- package/queue/index.mjs +14 -29
- package/record-video/index.mjs +29 -66
- package/resize-observer/index.mjs +18 -30
- package/search/index.mjs +47 -81
- package/search-popover/index.mjs +57 -329
- package/sign/index.mjs +43 -60
- package/sign-panel/index.mjs +40 -151
- package/skeleton/index.mjs +18 -44
- package/split-pane/index.mjs +45 -129
- package/stateful/index.mjs +18 -26
- package/static-pageable-table/index.mjs +18 -44
- package/swiper/index.mjs +53 -94
- package/tab/index.mjs +13 -39
- package/tab-item/index.mjs +23 -37
- package/table-column/index.mjs +27 -35
- package/table-view/index.mjs +89 -209
- package/tag-render/index.mjs +34 -69
- package/text-ellipsis/index.mjs +22 -47
- package/tinymce-editor/index.mjs +174 -285
- package/toolbar/index.mjs +21 -42
- package/toolbar-button/index.mjs +25 -54
- package/verify/index.mjs +16 -29
- package/vue-cron/index.mjs +272 -1089
- package/vue-qr-code/index.mjs +19 -27
- package/vue-quill-editor/index.mjs +15 -27
- package/vue-tags-input/index.mjs +104 -224
- package/vue-tree-select/index.mjs +595 -742
- package/vue-video-player/index.mjs +42 -57
- package/watermark/index.mjs +27 -35
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +50 -112
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
package/fy-input-tree/index.mjs
CHANGED
|
@@ -1,101 +1,9 @@
|
|
|
1
|
-
import { p as
|
|
1
|
+
import { p as c, e as u } from "../chunks/event.b5d855dd.mjs";
|
|
2
2
|
import { isBlank as n } from "@web-utils/core";
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
5
|
-
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
6
|
-
return l("ElSelect", {
|
|
7
|
-
ref: "main",
|
|
8
|
-
staticClass: "avue-input-tree",
|
|
9
|
-
attrs: {
|
|
10
|
-
size: e.size,
|
|
11
|
-
multiple: e.multiple,
|
|
12
|
-
"multiple-limit": e.limit,
|
|
13
|
-
"collapse-tags": e.tags,
|
|
14
|
-
value: e.labelShow,
|
|
15
|
-
clearable: e.clearableVal,
|
|
16
|
-
placeholder: e.placeholder,
|
|
17
|
-
"popper-class": e.popperClass,
|
|
18
|
-
"popper-append-to-body": e.popperAppendToBody,
|
|
19
|
-
disabled: e.disabled
|
|
20
|
-
},
|
|
21
|
-
on: {
|
|
22
|
-
click: e.handleClick,
|
|
23
|
-
focus: e.handleFocus,
|
|
24
|
-
blur: e.handleBlur,
|
|
25
|
-
clear: e.handleClear
|
|
26
|
-
}
|
|
27
|
-
}, [e.filter ? l("div", {
|
|
28
|
-
staticClass: "avue-input-tree__filter"
|
|
29
|
-
}, [l("ElInput", {
|
|
30
|
-
attrs: {
|
|
31
|
-
size: "mini",
|
|
32
|
-
placeholder: e.filterText
|
|
33
|
-
},
|
|
34
|
-
model: {
|
|
35
|
-
value: e.filterValue,
|
|
36
|
-
callback: function(i) {
|
|
37
|
-
e.filterValue = i;
|
|
38
|
-
},
|
|
39
|
-
expression: "filterValue"
|
|
40
|
-
}
|
|
41
|
-
})], 1) : e._e(), l("ElOption", {
|
|
42
|
-
staticClass: "avue-input-tree__dropdown",
|
|
43
|
-
attrs: {
|
|
44
|
-
value: e.text
|
|
45
|
-
}
|
|
46
|
-
}, [l("ElTree", {
|
|
47
|
-
ref: "tree",
|
|
48
|
-
staticClass: "avue-input-tree__select",
|
|
49
|
-
attrs: {
|
|
50
|
-
data: e.dicList,
|
|
51
|
-
lazy: e.lazy,
|
|
52
|
-
load: e.handleTreeLoad,
|
|
53
|
-
"node-key": e.valueKey,
|
|
54
|
-
accordion: e.accordion,
|
|
55
|
-
"icon-class": e.iconClass,
|
|
56
|
-
"show-checkbox": e.multiple,
|
|
57
|
-
"expand-on-click-node": e.expandOnClickNode,
|
|
58
|
-
props: e.treeProps,
|
|
59
|
-
"check-strictly": e.checkStrictly,
|
|
60
|
-
"highlight-current": e.multiple !== !0,
|
|
61
|
-
"current-node-key": e.currentNodeKey,
|
|
62
|
-
"filter-node-method": e.filterNode,
|
|
63
|
-
"default-checked-keys": e.keysList,
|
|
64
|
-
"default-expanded-keys": e.defaultExpandedKeys ? e.defaultExpandedKeys : e.keysList,
|
|
65
|
-
"default-expand-all": e.defaultExpandAll
|
|
66
|
-
},
|
|
67
|
-
on: {
|
|
68
|
-
check: e.checkChange,
|
|
69
|
-
"node-click": function(i) {
|
|
70
|
-
return i.target !== i.currentTarget ? null : e.handleNodeClick.apply(null, arguments);
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
scopedSlots: e._u([{
|
|
74
|
-
key: "default",
|
|
75
|
-
fn: function(i) {
|
|
76
|
-
var s = i.data;
|
|
77
|
-
return [l("div", {
|
|
78
|
-
staticClass: "avue-input-tree__item"
|
|
79
|
-
}, [e._t("default", function() {
|
|
80
|
-
return [l("span", {
|
|
81
|
-
class: {
|
|
82
|
-
"avue--disabled": s[e.disabledKey]
|
|
83
|
-
}
|
|
84
|
-
}, [e._v(e._s(s[e.labelKey]))]), s[e.descKey] ? l("span", {
|
|
85
|
-
staticClass: "avue-input-tree__desc"
|
|
86
|
-
}, [e._v(e._s(s[e.descKey]))]) : e._e()];
|
|
87
|
-
}, {
|
|
88
|
-
label: e.labelKey,
|
|
89
|
-
value: e.valueKey,
|
|
90
|
-
item: s
|
|
91
|
-
})], 2)];
|
|
92
|
-
}
|
|
93
|
-
}], null, !0)
|
|
94
|
-
})], 1)], 1);
|
|
95
|
-
}, y = [];
|
|
96
|
-
const m = {
|
|
3
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
4
|
+
const p = {
|
|
97
5
|
name: "FyInputTree",
|
|
98
|
-
mixins: [
|
|
6
|
+
mixins: [c, u],
|
|
99
7
|
props: {
|
|
100
8
|
nodeClick: Function,
|
|
101
9
|
treeLoad: Function,
|
|
@@ -171,7 +79,7 @@ const m = {
|
|
|
171
79
|
return this.multiple ? this.text : [this.text || ""];
|
|
172
80
|
},
|
|
173
81
|
labelShow() {
|
|
174
|
-
return [...this.node].map((
|
|
82
|
+
return [...this.node].map((e) => this.getLabelText(e));
|
|
175
83
|
}
|
|
176
84
|
},
|
|
177
85
|
watch: {
|
|
@@ -179,8 +87,8 @@ const m = {
|
|
|
179
87
|
this.init();
|
|
180
88
|
},
|
|
181
89
|
dic: {
|
|
182
|
-
handler(
|
|
183
|
-
this.dicList =
|
|
90
|
+
handler(t) {
|
|
91
|
+
this.dicList = t;
|
|
184
92
|
},
|
|
185
93
|
immediate: !0
|
|
186
94
|
},
|
|
@@ -190,78 +98,83 @@ const m = {
|
|
|
190
98
|
},
|
|
191
99
|
immediate: !0
|
|
192
100
|
},
|
|
193
|
-
filterValue(
|
|
194
|
-
this.$refs.tree.filter(
|
|
101
|
+
filterValue(t) {
|
|
102
|
+
this.$refs.tree.filter(t);
|
|
195
103
|
}
|
|
196
104
|
},
|
|
197
105
|
methods: {
|
|
198
106
|
handleClear() {
|
|
199
107
|
this.text = this.multiple ? [] : "", this.node = [], this.filterValue = "", this.$refs.tree.setCurrentKey(null), this.$refs.tree.setCheckedKeys([]);
|
|
200
108
|
},
|
|
201
|
-
handleTreeLoad(
|
|
202
|
-
const
|
|
203
|
-
const
|
|
204
|
-
r.forEach((
|
|
205
|
-
|
|
109
|
+
handleTreeLoad(t, e) {
|
|
110
|
+
const i = (l) => {
|
|
111
|
+
const a = (r, d, o) => {
|
|
112
|
+
r.forEach((s) => {
|
|
113
|
+
s[this.valueKey] === d ? s[this.childrenKey] = o : s[this.childrenKey] && a(s[this.childrenKey]);
|
|
206
114
|
});
|
|
207
115
|
};
|
|
208
|
-
|
|
116
|
+
a(this.dicList, t.key, l), e(l);
|
|
209
117
|
};
|
|
210
|
-
this.treeLoad && this.treeLoad(
|
|
118
|
+
this.treeLoad && this.treeLoad(t, i);
|
|
211
119
|
},
|
|
212
|
-
filterNode(
|
|
213
|
-
return
|
|
120
|
+
filterNode(t, e) {
|
|
121
|
+
return t ? e[this.labelKey].toLowerCase().indexOf(t.toLowerCase()) !== -1 : !0;
|
|
214
122
|
},
|
|
215
|
-
checkChange(e,
|
|
216
|
-
this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((r) => this.text.push(r[this.valueKey])), typeof this.checked == "function" && this.checked(e,
|
|
123
|
+
checkChange(t, e, i, l) {
|
|
124
|
+
this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((r) => this.text.push(r[this.valueKey])), typeof this.checked == "function" && this.checked(t, e, i, l);
|
|
217
125
|
},
|
|
218
126
|
getHalfList() {
|
|
219
|
-
let
|
|
220
|
-
return
|
|
127
|
+
let t = this.$refs.tree.getCheckedNodes(!1, !0);
|
|
128
|
+
return t = t.map((e) => e[this.valueKey]), t;
|
|
221
129
|
},
|
|
222
130
|
init() {
|
|
223
131
|
this.$nextTick(() => {
|
|
224
132
|
if (this.node = [], this.multiple)
|
|
225
|
-
this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((
|
|
226
|
-
this.node.push(
|
|
133
|
+
this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((e) => {
|
|
134
|
+
this.node.push(e);
|
|
227
135
|
});
|
|
228
136
|
else {
|
|
229
|
-
const
|
|
230
|
-
if (
|
|
231
|
-
const
|
|
232
|
-
this.$refs.tree.setCurrentKey(
|
|
137
|
+
const t = this.$refs.tree.getNode(this.text);
|
|
138
|
+
if (t) {
|
|
139
|
+
const e = t.data;
|
|
140
|
+
this.$refs.tree.setCurrentKey(e[this.valueKey]), this.node.push(e);
|
|
233
141
|
}
|
|
234
142
|
}
|
|
235
143
|
}), this.disabledParentNode(this.dic, this.parent);
|
|
236
144
|
},
|
|
237
|
-
disabledParentNode(
|
|
238
|
-
|
|
239
|
-
const
|
|
240
|
-
n(
|
|
145
|
+
disabledParentNode(t, e) {
|
|
146
|
+
t.forEach((i) => {
|
|
147
|
+
const l = i[this.childrenKey];
|
|
148
|
+
n(l) || (e || (i.disabled = !0), this.disabledParentNode(l, e));
|
|
241
149
|
});
|
|
242
150
|
},
|
|
243
|
-
handleNodeClick(
|
|
244
|
-
|
|
151
|
+
handleNodeClick(t, e, i) {
|
|
152
|
+
t.disabled || (typeof this.nodeClick == "function" && this.nodeClick(t, e, i), !this.multiple && (n(t[this.childrenKey]) && !this.multiple || this.parent) && (this.text = t[this.valueKey], this.$refs.main.blur()));
|
|
245
153
|
}
|
|
246
154
|
}
|
|
247
|
-
}
|
|
248
|
-
var
|
|
249
|
-
|
|
155
|
+
};
|
|
156
|
+
var f = function() {
|
|
157
|
+
var e = this, i = e._self._c;
|
|
158
|
+
return i("ElSelect", { ref: "main", staticClass: "avue-input-tree", attrs: { size: e.size, multiple: e.multiple, "multiple-limit": e.limit, "collapse-tags": e.tags, value: e.labelShow, clearable: e.clearableVal, placeholder: e.placeholder, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, disabled: e.disabled }, on: { click: e.handleClick, focus: e.handleFocus, blur: e.handleBlur, clear: e.handleClear } }, [e.filter ? i("div", { staticClass: "avue-input-tree__filter" }, [i("ElInput", { attrs: { size: "mini", placeholder: e.filterText }, model: { value: e.filterValue, callback: function(l) {
|
|
159
|
+
e.filterValue = l;
|
|
160
|
+
}, expression: "filterValue" } })], 1) : e._e(), i("ElOption", { staticClass: "avue-input-tree__dropdown", attrs: { value: e.text } }, [i("ElTree", { ref: "tree", staticClass: "avue-input-tree__select", attrs: { data: e.dicList, lazy: e.lazy, load: e.handleTreeLoad, "node-key": e.valueKey, accordion: e.accordion, "icon-class": e.iconClass, "show-checkbox": e.multiple, "expand-on-click-node": e.expandOnClickNode, props: e.treeProps, "check-strictly": e.checkStrictly, "highlight-current": e.multiple !== !0, "current-node-key": e.currentNodeKey, "filter-node-method": e.filterNode, "default-checked-keys": e.keysList, "default-expanded-keys": e.defaultExpandedKeys ? e.defaultExpandedKeys : e.keysList, "default-expand-all": e.defaultExpandAll }, on: { check: e.checkChange, "node-click": function(l) {
|
|
161
|
+
return l.target !== l.currentTarget ? null : e.handleNodeClick.apply(null, arguments);
|
|
162
|
+
} }, scopedSlots: e._u([{ key: "default", fn: function({ data: l }) {
|
|
163
|
+
return [i("div", { staticClass: "avue-input-tree__item" }, [e._t("default", function() {
|
|
164
|
+
return [i("span", { class: { "avue--disabled": l[e.disabledKey] } }, [e._v(e._s(l[e.labelKey]))]), l[e.descKey] ? i("span", { staticClass: "avue-input-tree__desc" }, [e._v(e._s(l[e.descKey]))]) : e._e()];
|
|
165
|
+
}, { label: e.labelKey, value: e.valueKey, item: l })], 2)];
|
|
166
|
+
} }], null, !0) })], 1)], 1);
|
|
167
|
+
}, y = [], m = /* @__PURE__ */ h(
|
|
168
|
+
p,
|
|
250
169
|
f,
|
|
251
170
|
y,
|
|
252
171
|
!1,
|
|
253
|
-
|
|
172
|
+
null,
|
|
254
173
|
null,
|
|
255
174
|
null,
|
|
256
175
|
null
|
|
257
176
|
);
|
|
258
|
-
|
|
259
|
-
for (let t in d)
|
|
260
|
-
this[t] = d[t];
|
|
261
|
-
}
|
|
262
|
-
const K = /* @__PURE__ */ function() {
|
|
263
|
-
return _.exports;
|
|
264
|
-
}();
|
|
177
|
+
const C = m.exports;
|
|
265
178
|
export {
|
|
266
|
-
|
|
179
|
+
C as default
|
|
267
180
|
};
|
package/fy-progress/index.mjs
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { n } from "../chunks/
|
|
2
|
-
|
|
3
|
-
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
4
|
-
return r("div", {
|
|
5
|
-
staticClass: "avue-progress"
|
|
6
|
-
}, [r("ElProgress", {
|
|
7
|
-
attrs: {
|
|
8
|
-
type: e.type,
|
|
9
|
-
color: e.color,
|
|
10
|
-
width: e.width,
|
|
11
|
-
"text-inside": "",
|
|
12
|
-
"show-text": e.showText,
|
|
13
|
-
"stroke-width": e.strokeWidth,
|
|
14
|
-
percentage: e.percentage
|
|
15
|
-
}
|
|
16
|
-
})], 1);
|
|
17
|
-
}, i = [];
|
|
18
|
-
const a = {
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const s = {
|
|
19
3
|
name: "FyProgress",
|
|
20
4
|
props: {
|
|
21
5
|
showText: {
|
|
@@ -37,24 +21,21 @@ const a = {
|
|
|
37
21
|
type: [Number]
|
|
38
22
|
}
|
|
39
23
|
}
|
|
40
|
-
}
|
|
41
|
-
var
|
|
42
|
-
|
|
24
|
+
};
|
|
25
|
+
var o = function() {
|
|
26
|
+
var e = this, t = e._self._c;
|
|
27
|
+
return t("div", { staticClass: "avue-progress" }, [t("ElProgress", { attrs: { type: e.type, color: e.color, width: e.width, "text-inside": "", "show-text": e.showText, "stroke-width": e.strokeWidth, percentage: e.percentage } })], 1);
|
|
28
|
+
}, n = [], a = /* @__PURE__ */ r(
|
|
43
29
|
s,
|
|
44
|
-
|
|
30
|
+
o,
|
|
31
|
+
n,
|
|
45
32
|
!1,
|
|
46
|
-
|
|
33
|
+
null,
|
|
47
34
|
null,
|
|
48
35
|
null,
|
|
49
36
|
null
|
|
50
37
|
);
|
|
51
|
-
|
|
52
|
-
for (let t in o)
|
|
53
|
-
this[t] = o[t];
|
|
54
|
-
}
|
|
55
|
-
const _ = /* @__PURE__ */ function() {
|
|
56
|
-
return c.exports;
|
|
57
|
-
}();
|
|
38
|
+
const l = a.exports;
|
|
58
39
|
export {
|
|
59
|
-
|
|
40
|
+
l as default
|
|
60
41
|
};
|
package/fy-radio/index.mjs
CHANGED
|
@@ -1,42 +1,8 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
5
|
-
return a("div", {
|
|
6
|
-
staticClass: "avue-radio"
|
|
7
|
-
}, [a("ElRadioGroup", {
|
|
8
|
-
attrs: {
|
|
9
|
-
size: e.size,
|
|
10
|
-
disabled: e.disabled
|
|
11
|
-
},
|
|
12
|
-
nativeOn: {
|
|
13
|
-
click: function(n) {
|
|
14
|
-
return e.handleClick.apply(null, arguments);
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
model: {
|
|
18
|
-
value: e.text,
|
|
19
|
-
callback: function(n) {
|
|
20
|
-
e.text = n;
|
|
21
|
-
},
|
|
22
|
-
expression: "text"
|
|
23
|
-
}
|
|
24
|
-
}, e._l(e.dic, function(n, o) {
|
|
25
|
-
return a(e.componentName, {
|
|
26
|
-
key: o,
|
|
27
|
-
tag: "Component",
|
|
28
|
-
attrs: {
|
|
29
|
-
label: n[e.valueKey],
|
|
30
|
-
border: e.border,
|
|
31
|
-
readonly: e.readonly,
|
|
32
|
-
disabled: n[e.disabledKey]
|
|
33
|
-
}
|
|
34
|
-
}, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
|
|
35
|
-
}), 1)], 1);
|
|
36
|
-
}, d = [];
|
|
37
|
-
const u = {
|
|
1
|
+
import { p as t, e as l } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const s = {
|
|
38
4
|
name: "FyRadio",
|
|
39
|
-
mixins: [
|
|
5
|
+
mixins: [t, l],
|
|
40
6
|
props: {
|
|
41
7
|
// eslint-disable-next-line vue/no-unused-properties
|
|
42
8
|
value: [String, Object, Number, Boolean, Array]
|
|
@@ -47,24 +13,27 @@ const u = {
|
|
|
47
13
|
name: "radio"
|
|
48
14
|
};
|
|
49
15
|
}
|
|
50
|
-
}
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
|
|
16
|
+
};
|
|
17
|
+
var i = function() {
|
|
18
|
+
var e = this, a = e._self._c;
|
|
19
|
+
return a("div", { staticClass: "avue-radio" }, [a("ElRadioGroup", { attrs: { size: e.size, disabled: e.disabled }, nativeOn: { click: function(n) {
|
|
20
|
+
return e.handleClick.apply(null, arguments);
|
|
21
|
+
} }, model: { value: e.text, callback: function(n) {
|
|
22
|
+
e.text = n;
|
|
23
|
+
}, expression: "text" } }, e._l(e.dic, function(n, r) {
|
|
24
|
+
return a(e.componentName, { key: r, tag: "Component", attrs: { label: n[e.valueKey], border: e.border, readonly: e.readonly, disabled: n[e.disabledKey] } }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
|
|
25
|
+
}), 1)], 1);
|
|
26
|
+
}, d = [], _ = /* @__PURE__ */ o(
|
|
27
|
+
s,
|
|
28
|
+
i,
|
|
54
29
|
d,
|
|
55
30
|
!1,
|
|
56
|
-
|
|
31
|
+
null,
|
|
57
32
|
null,
|
|
58
33
|
null,
|
|
59
34
|
null
|
|
60
35
|
);
|
|
61
|
-
|
|
62
|
-
for (let t in r)
|
|
63
|
-
this[t] = r[t];
|
|
64
|
-
}
|
|
65
|
-
const y = /* @__PURE__ */ function() {
|
|
66
|
-
return _.exports;
|
|
67
|
-
}();
|
|
36
|
+
const m = _.exports;
|
|
68
37
|
export {
|
|
69
|
-
|
|
38
|
+
m as default
|
|
70
39
|
};
|
package/fy-rate/index.mjs
CHANGED
|
@@ -1,42 +1,8 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n } from "../chunks/
|
|
3
|
-
|
|
4
|
-
var e = this, o = e.$createElement, s = e._self._c || o;
|
|
5
|
-
return s("ElRate", {
|
|
6
|
-
attrs: {
|
|
7
|
-
max: e.max,
|
|
8
|
-
"low-threshold": e.lowThreshold,
|
|
9
|
-
"high-threshold": e.highThreshold,
|
|
10
|
-
"disabled-void-color": e.disabledVoidColor,
|
|
11
|
-
"disabled-void-icon-class": e.disabledVoidIconClass,
|
|
12
|
-
"allow-half": e.allowHalf,
|
|
13
|
-
readonly: e.readonly,
|
|
14
|
-
texts: e.texts,
|
|
15
|
-
"show-score": e.showScore,
|
|
16
|
-
"score-template": e.scoreTemplate,
|
|
17
|
-
"show-text": e.showText,
|
|
18
|
-
"icon-classes": e.iconClasses,
|
|
19
|
-
"void-icon-class": e.voidIconClass,
|
|
20
|
-
disabled: e.disabled,
|
|
21
|
-
colors: e.colors
|
|
22
|
-
},
|
|
23
|
-
nativeOn: {
|
|
24
|
-
click: function(t) {
|
|
25
|
-
return e.handleClick.apply(null, arguments);
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
model: {
|
|
29
|
-
value: e.text,
|
|
30
|
-
callback: function(t) {
|
|
31
|
-
e.text = t;
|
|
32
|
-
},
|
|
33
|
-
expression: "text"
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}, d = [];
|
|
37
|
-
const c = {
|
|
1
|
+
import { p as s, e as a } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const r = {
|
|
38
4
|
name: "FyRate",
|
|
39
|
-
mixins: [
|
|
5
|
+
mixins: [s, a],
|
|
40
6
|
props: {
|
|
41
7
|
allowHalf: Boolean,
|
|
42
8
|
lowThreshold: Number,
|
|
@@ -83,24 +49,25 @@ const c = {
|
|
|
83
49
|
mounted() {
|
|
84
50
|
},
|
|
85
51
|
methods: {}
|
|
86
|
-
}
|
|
87
|
-
var
|
|
88
|
-
|
|
89
|
-
|
|
52
|
+
};
|
|
53
|
+
var n = function() {
|
|
54
|
+
var e = this, l = e._self._c;
|
|
55
|
+
return l("ElRate", { attrs: { max: e.max, "low-threshold": e.lowThreshold, "high-threshold": e.highThreshold, "disabled-void-color": e.disabledVoidColor, "disabled-void-icon-class": e.disabledVoidIconClass, "allow-half": e.allowHalf, readonly: e.readonly, texts: e.texts, "show-score": e.showScore, "score-template": e.scoreTemplate, "show-text": e.showText, "icon-classes": e.iconClasses, "void-icon-class": e.voidIconClass, disabled: e.disabled, colors: e.colors }, nativeOn: { click: function(o) {
|
|
56
|
+
return e.handleClick.apply(null, arguments);
|
|
57
|
+
} }, model: { value: e.text, callback: function(o) {
|
|
58
|
+
e.text = o;
|
|
59
|
+
}, expression: "text" } });
|
|
60
|
+
}, d = [], i = /* @__PURE__ */ t(
|
|
61
|
+
r,
|
|
62
|
+
n,
|
|
90
63
|
d,
|
|
91
64
|
!1,
|
|
92
|
-
|
|
65
|
+
null,
|
|
93
66
|
null,
|
|
94
67
|
null,
|
|
95
68
|
null
|
|
96
69
|
);
|
|
97
|
-
|
|
98
|
-
for (let o in l)
|
|
99
|
-
this[o] = l[o];
|
|
100
|
-
}
|
|
101
|
-
const _ = /* @__PURE__ */ function() {
|
|
102
|
-
return h.exports;
|
|
103
|
-
}();
|
|
70
|
+
const u = i.exports;
|
|
104
71
|
export {
|
|
105
|
-
|
|
72
|
+
u as default
|
|
106
73
|
};
|