@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-select/index.mjs
CHANGED
|
@@ -1,106 +1,12 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { s as
|
|
3
|
-
import { b as
|
|
4
|
-
import { isBlank as
|
|
5
|
-
import { p
|
|
6
|
-
import { n as f } from "../chunks/
|
|
7
|
-
|
|
8
|
-
var e = this, a = e.$createElement, l = e._self._c || a;
|
|
9
|
-
return l("ElSelect", {
|
|
10
|
-
ref: "main",
|
|
11
|
-
staticClass: "avue-select",
|
|
12
|
-
attrs: {
|
|
13
|
-
size: e.size,
|
|
14
|
-
loading: e.loading,
|
|
15
|
-
"loading-text": e.loadingText,
|
|
16
|
-
multiple: e.multiple,
|
|
17
|
-
filterable: e.remote ? !0 : e.filterable,
|
|
18
|
-
remote: e.remote,
|
|
19
|
-
readonly: e.readonly,
|
|
20
|
-
"no-match-text": e.noMatchText,
|
|
21
|
-
"no-data-text": e.noDataText,
|
|
22
|
-
"remote-method": e.remote ? e.handleRemoteMethod : void 0,
|
|
23
|
-
"popper-class": e.popperClass,
|
|
24
|
-
"popper-append-to-body": e.popperAppendToBody,
|
|
25
|
-
"collapse-tags": e.tags,
|
|
26
|
-
clearable: e.clearableVal,
|
|
27
|
-
placeholder: e.placeholder,
|
|
28
|
-
"multiple-limit": e.limit,
|
|
29
|
-
"allow-create": e.allowCreate,
|
|
30
|
-
"default-first-option": e.defaultFirstOption,
|
|
31
|
-
disabled: e.disabled
|
|
32
|
-
},
|
|
33
|
-
on: {
|
|
34
|
-
focus: e.handleFocus,
|
|
35
|
-
blur: e.handleBlur,
|
|
36
|
-
change: e.changeSelect
|
|
37
|
-
},
|
|
38
|
-
nativeOn: {
|
|
39
|
-
click: function(t) {
|
|
40
|
-
return e.handleClick.apply(null, arguments);
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
model: {
|
|
44
|
-
value: e.text,
|
|
45
|
-
callback: function(t) {
|
|
46
|
-
e.text = t;
|
|
47
|
-
},
|
|
48
|
-
expression: "text"
|
|
49
|
-
}
|
|
50
|
-
}, [e.group ? e._l(e.netDic, function(t, n) {
|
|
51
|
-
return l("ElOptionGroup", {
|
|
52
|
-
key: n,
|
|
53
|
-
attrs: {
|
|
54
|
-
label: e.getLabelText(t)
|
|
55
|
-
}
|
|
56
|
-
}, e._l(t[e.groupsKey], function(s, i) {
|
|
57
|
-
return l("ElOption", {
|
|
58
|
-
key: i,
|
|
59
|
-
attrs: {
|
|
60
|
-
disabled: s[e.disabledKey],
|
|
61
|
-
label: e.getLabelText(s),
|
|
62
|
-
value: s[e.valueKey]
|
|
63
|
-
}
|
|
64
|
-
}, [e.$scopedSlots.default ? e._t("default", null, {
|
|
65
|
-
label: e.labelKey,
|
|
66
|
-
value: e.valueKey,
|
|
67
|
-
item: s
|
|
68
|
-
}) : [l("span", [e._v(e._s(e.getLabelText(s)))]), s[e.descKey] ? l("span", {
|
|
69
|
-
staticClass: "avue-select__desc"
|
|
70
|
-
}, [e._v(e._s(s[e.descKey]))]) : e._e()]], 2);
|
|
71
|
-
}), 1);
|
|
72
|
-
}) : [e.all && e.multiple ? l("ElCheckbox", {
|
|
73
|
-
staticClass: "avue-select__check",
|
|
74
|
-
on: {
|
|
75
|
-
change: e.selectAll
|
|
76
|
-
},
|
|
77
|
-
model: {
|
|
78
|
-
value: e.checkAll,
|
|
79
|
-
callback: function(t) {
|
|
80
|
-
e.checkAll = t;
|
|
81
|
-
},
|
|
82
|
-
expression: "checkAll"
|
|
83
|
-
}
|
|
84
|
-
}, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, n) {
|
|
85
|
-
return l("ElOption", {
|
|
86
|
-
key: n,
|
|
87
|
-
attrs: {
|
|
88
|
-
disabled: t[e.disabledKey],
|
|
89
|
-
label: e.getLabelText(t),
|
|
90
|
-
value: t[e.valueKey]
|
|
91
|
-
}
|
|
92
|
-
}, [e.$scopedSlots.default ? e._t("default", null, {
|
|
93
|
-
label: e.labelKey,
|
|
94
|
-
value: e.valueKey,
|
|
95
|
-
item: t
|
|
96
|
-
}) : [l("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? l("span", {
|
|
97
|
-
staticClass: "avue-select__desc"
|
|
98
|
-
}, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
|
|
99
|
-
})]], 2);
|
|
100
|
-
}, y = [];
|
|
101
|
-
const m = {
|
|
1
|
+
import { p as i, e as r } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { s as c } from "../chunks/dic.eaac0823.mjs";
|
|
3
|
+
import { b as d } from "../chunks/util.ae730cde.mjs";
|
|
4
|
+
import { isBlank as u } from "@web-utils/core";
|
|
5
|
+
import { p } from "../chunks/packages.1fc9ccba.mjs";
|
|
6
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
7
|
+
const h = {
|
|
102
8
|
name: "FySelect",
|
|
103
|
-
mixins: [
|
|
9
|
+
mixins: [i, r],
|
|
104
10
|
props: {
|
|
105
11
|
loadingText: {
|
|
106
12
|
type: String
|
|
@@ -157,12 +63,12 @@ const m = {
|
|
|
157
63
|
};
|
|
158
64
|
},
|
|
159
65
|
watch: {
|
|
160
|
-
text(
|
|
161
|
-
|
|
66
|
+
text(l) {
|
|
67
|
+
u(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(d) : this.text));
|
|
162
68
|
},
|
|
163
69
|
dic: {
|
|
164
|
-
handler(
|
|
165
|
-
this.netDic =
|
|
70
|
+
handler(l) {
|
|
71
|
+
this.netDic = l;
|
|
166
72
|
},
|
|
167
73
|
immediate: !0
|
|
168
74
|
}
|
|
@@ -173,53 +79,62 @@ const m = {
|
|
|
173
79
|
methods: {
|
|
174
80
|
setSort() {
|
|
175
81
|
if (!window.Sortable) {
|
|
176
|
-
|
|
82
|
+
p.logs("Sortable");
|
|
177
83
|
return;
|
|
178
84
|
}
|
|
179
|
-
const
|
|
180
|
-
window.Sortable.create(
|
|
85
|
+
const l = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
|
|
86
|
+
window.Sortable.create(l, {
|
|
181
87
|
animation: 100,
|
|
182
|
-
onEnd: (
|
|
183
|
-
const
|
|
184
|
-
this.value.splice(
|
|
88
|
+
onEnd: (e) => {
|
|
89
|
+
const a = this.value.splice(e.oldIndex, 1)[0];
|
|
90
|
+
this.value.splice(e.newIndex, 0, a);
|
|
185
91
|
}
|
|
186
92
|
});
|
|
187
93
|
},
|
|
188
|
-
handleRemoteMethod(
|
|
189
|
-
this.loading = !0,
|
|
94
|
+
handleRemoteMethod(l) {
|
|
95
|
+
this.loading = !0, c({
|
|
190
96
|
column: this.column,
|
|
191
|
-
value:
|
|
192
|
-
}).then((
|
|
193
|
-
this.loading = !1, this.netDic =
|
|
97
|
+
value: l
|
|
98
|
+
}).then((e) => {
|
|
99
|
+
this.loading = !1, this.netDic = e;
|
|
194
100
|
});
|
|
195
101
|
},
|
|
196
102
|
selectAll() {
|
|
197
|
-
this.text = [], this.checkAll && this.netDic.forEach((
|
|
198
|
-
this.text.push(
|
|
103
|
+
this.text = [], this.checkAll && this.netDic.forEach((l) => {
|
|
104
|
+
this.text.push(l[this.valueKey]);
|
|
199
105
|
});
|
|
200
106
|
},
|
|
201
|
-
changeSelect(
|
|
202
|
-
this.checkAll =
|
|
107
|
+
changeSelect(l) {
|
|
108
|
+
this.checkAll = l.length === this.netDic.length;
|
|
203
109
|
}
|
|
204
110
|
}
|
|
205
|
-
}
|
|
206
|
-
var
|
|
207
|
-
|
|
111
|
+
};
|
|
112
|
+
var _ = function() {
|
|
113
|
+
var e = this, a = e._self._c;
|
|
114
|
+
return a("ElSelect", { ref: "main", staticClass: "avue-select", attrs: { size: e.size, loading: e.loading, "loading-text": e.loadingText, multiple: e.multiple, filterable: e.remote ? !0 : e.filterable, remote: e.remote, readonly: e.readonly, "no-match-text": e.noMatchText, "no-data-text": e.noDataText, "remote-method": e.remote ? e.handleRemoteMethod : void 0, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, "collapse-tags": e.tags, clearable: e.clearableVal, placeholder: e.placeholder, "multiple-limit": e.limit, "allow-create": e.allowCreate, "default-first-option": e.defaultFirstOption, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur, change: e.changeSelect }, nativeOn: { click: function(t) {
|
|
115
|
+
return e.handleClick.apply(null, arguments);
|
|
116
|
+
} }, model: { value: e.text, callback: function(t) {
|
|
117
|
+
e.text = t;
|
|
118
|
+
}, expression: "text" } }, [e.group ? e._l(e.netDic, function(t, n) {
|
|
119
|
+
return a("ElOptionGroup", { key: n, attrs: { label: e.getLabelText(t) } }, e._l(t[e.groupsKey], function(s, o) {
|
|
120
|
+
return a("ElOption", { key: o, attrs: { disabled: s[e.disabledKey], label: e.getLabelText(s), value: s[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: s }) : [a("span", [e._v(e._s(e.getLabelText(s)))]), s[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(s[e.descKey]))]) : e._e()]], 2);
|
|
121
|
+
}), 1);
|
|
122
|
+
}) : [e.all && e.multiple ? a("ElCheckbox", { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
|
|
123
|
+
e.checkAll = t;
|
|
124
|
+
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, n) {
|
|
125
|
+
return a("ElOption", { key: n, attrs: { disabled: t[e.disabledKey], label: e.getLabelText(t), value: t[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: t }) : [a("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
|
|
126
|
+
})]], 2);
|
|
127
|
+
}, m = [], y = /* @__PURE__ */ f(
|
|
128
|
+
h,
|
|
208
129
|
_,
|
|
209
|
-
|
|
130
|
+
m,
|
|
210
131
|
!1,
|
|
211
|
-
|
|
132
|
+
null,
|
|
212
133
|
null,
|
|
213
134
|
null,
|
|
214
135
|
null
|
|
215
136
|
);
|
|
216
|
-
|
|
217
|
-
for (let a in o)
|
|
218
|
-
this[a] = o[a];
|
|
219
|
-
}
|
|
220
|
-
const B = /* @__PURE__ */ function() {
|
|
221
|
-
return v.exports;
|
|
222
|
-
}();
|
|
137
|
+
const K = y.exports;
|
|
223
138
|
export {
|
|
224
|
-
|
|
139
|
+
K as default
|
|
225
140
|
};
|
package/fy-slider/index.mjs
CHANGED
|
@@ -1,43 +1,9 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { s as
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
5
|
-
var t = this, o = t.$createElement, s = t._self._c || o;
|
|
6
|
-
return s("ElSlider", {
|
|
7
|
-
attrs: {
|
|
8
|
-
disabled: t.disabled,
|
|
9
|
-
vertical: t.vertical,
|
|
10
|
-
height: t.setPx(t.height),
|
|
11
|
-
step: t.step,
|
|
12
|
-
min: t.min,
|
|
13
|
-
max: t.max,
|
|
14
|
-
range: t.range,
|
|
15
|
-
"show-stops": t.showStops,
|
|
16
|
-
"show-tooltip": t.showTooltip,
|
|
17
|
-
"show-input": t.showInput,
|
|
18
|
-
"show-input-controls": t.showInputControls,
|
|
19
|
-
"input-size": t.size,
|
|
20
|
-
"tooltip-class": t.tooltipClass,
|
|
21
|
-
marks: t.marks,
|
|
22
|
-
"format-tooltip": t.formatTooltip
|
|
23
|
-
},
|
|
24
|
-
nativeOn: {
|
|
25
|
-
click: function(e) {
|
|
26
|
-
return t.handleClick.apply(null, arguments);
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
model: {
|
|
30
|
-
value: t.text,
|
|
31
|
-
callback: function(e) {
|
|
32
|
-
t.text = e;
|
|
33
|
-
},
|
|
34
|
-
expression: "text"
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}, m = [];
|
|
38
|
-
const u = {
|
|
1
|
+
import { p as s, e as n } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { s as l } from "../chunks/util.ae730cde.mjs";
|
|
3
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
4
|
+
const a = {
|
|
39
5
|
name: "FySlider",
|
|
40
|
-
mixins: [
|
|
6
|
+
mixins: [s, n],
|
|
41
7
|
props: {
|
|
42
8
|
step: Number,
|
|
43
9
|
min: Number,
|
|
@@ -54,26 +20,27 @@ const u = {
|
|
|
54
20
|
tooltipClass: String
|
|
55
21
|
},
|
|
56
22
|
methods: {
|
|
57
|
-
setPx:
|
|
23
|
+
setPx: l
|
|
58
24
|
}
|
|
59
|
-
}
|
|
60
|
-
var
|
|
61
|
-
|
|
25
|
+
};
|
|
26
|
+
var i = function() {
|
|
27
|
+
var o = this, e = o._self._c;
|
|
28
|
+
return e("ElSlider", { attrs: { disabled: o.disabled, vertical: o.vertical, height: o.setPx(o.height), step: o.step, min: o.min, max: o.max, range: o.range, "show-stops": o.showStops, "show-tooltip": o.showTooltip, "show-input": o.showInput, "show-input-controls": o.showInputControls, "input-size": o.size, "tooltip-class": o.tooltipClass, marks: o.marks, "format-tooltip": o.formatTooltip }, nativeOn: { click: function(t) {
|
|
29
|
+
return o.handleClick.apply(null, arguments);
|
|
30
|
+
} }, model: { value: o.text, callback: function(t) {
|
|
31
|
+
o.text = t;
|
|
32
|
+
}, expression: "text" } });
|
|
33
|
+
}, p = [], m = /* @__PURE__ */ r(
|
|
34
|
+
a,
|
|
35
|
+
i,
|
|
62
36
|
p,
|
|
63
|
-
m,
|
|
64
37
|
!1,
|
|
65
|
-
|
|
38
|
+
null,
|
|
66
39
|
null,
|
|
67
40
|
null,
|
|
68
41
|
null
|
|
69
42
|
);
|
|
70
|
-
|
|
71
|
-
for (let o in n)
|
|
72
|
-
this[o] = n[o];
|
|
73
|
-
}
|
|
74
|
-
const d = /* @__PURE__ */ function() {
|
|
75
|
-
return c.exports;
|
|
76
|
-
}();
|
|
43
|
+
const d = m.exports;
|
|
77
44
|
export {
|
|
78
45
|
d as default
|
|
79
46
|
};
|
package/fy-switch/index.mjs
CHANGED
|
@@ -1,39 +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("ElSwitch", {
|
|
6
|
-
attrs: {
|
|
7
|
-
"active-text": e.active[e.labelKey],
|
|
8
|
-
"active-value": e.active[e.valueKey],
|
|
9
|
-
"inactive-value": e.inactive[e.valueKey],
|
|
10
|
-
"inactive-text": e.inactive[e.labelKey],
|
|
11
|
-
"active-icon-class": e.activeIconClass,
|
|
12
|
-
"inactive-icon-class": e.inactiveIconClass,
|
|
13
|
-
"active-color": e.activeColor,
|
|
14
|
-
"inactive-color": e.inactiveColor,
|
|
15
|
-
width: e.len,
|
|
16
|
-
disabled: e.disabled,
|
|
17
|
-
readonly: e.readonly,
|
|
18
|
-
size: e.size
|
|
19
|
-
},
|
|
20
|
-
nativeOn: {
|
|
21
|
-
click: function(i) {
|
|
22
|
-
return e.handleClick.apply(null, arguments);
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
model: {
|
|
26
|
-
value: e.text,
|
|
27
|
-
callback: function(i) {
|
|
28
|
-
e.text = i;
|
|
29
|
-
},
|
|
30
|
-
expression: "text"
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}, s = [];
|
|
34
|
-
const v = {
|
|
1
|
+
import { p as n, e as a } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const l = {
|
|
35
4
|
name: "FySwitch",
|
|
36
|
-
mixins: [
|
|
5
|
+
mixins: [n, a],
|
|
37
6
|
props: {
|
|
38
7
|
// eslint-disable-next-line vue/no-unused-properties
|
|
39
8
|
value: [String, Object, Number, Boolean, Array],
|
|
@@ -51,24 +20,25 @@ const v = {
|
|
|
51
20
|
return this.dic[0] || {};
|
|
52
21
|
}
|
|
53
22
|
}
|
|
54
|
-
}
|
|
55
|
-
var
|
|
56
|
-
|
|
23
|
+
};
|
|
24
|
+
var r = function() {
|
|
25
|
+
var e = this, i = e._self._c;
|
|
26
|
+
return i("ElSwitch", { attrs: { "active-text": e.active[e.labelKey], "active-value": e.active[e.valueKey], "inactive-value": e.inactive[e.valueKey], "inactive-text": e.inactive[e.labelKey], "active-icon-class": e.activeIconClass, "inactive-icon-class": e.inactiveIconClass, "active-color": e.activeColor, "inactive-color": e.inactiveColor, width: e.len, disabled: e.disabled, readonly: e.readonly, size: e.size }, nativeOn: { click: function(t) {
|
|
27
|
+
return e.handleClick.apply(null, arguments);
|
|
28
|
+
} }, model: { value: e.text, callback: function(t) {
|
|
29
|
+
e.text = t;
|
|
30
|
+
}, expression: "text" } });
|
|
31
|
+
}, o = [], s = /* @__PURE__ */ c(
|
|
32
|
+
l,
|
|
33
|
+
r,
|
|
57
34
|
o,
|
|
58
|
-
s,
|
|
59
35
|
!1,
|
|
60
|
-
|
|
36
|
+
null,
|
|
61
37
|
null,
|
|
62
38
|
null,
|
|
63
39
|
null
|
|
64
40
|
);
|
|
65
|
-
|
|
66
|
-
for (let t in n)
|
|
67
|
-
this[t] = n[t];
|
|
68
|
-
}
|
|
69
|
-
const p = /* @__PURE__ */ function() {
|
|
70
|
-
return u.exports;
|
|
71
|
-
}();
|
|
41
|
+
const m = s.exports;
|
|
72
42
|
export {
|
|
73
|
-
|
|
43
|
+
m as default
|
|
74
44
|
};
|
package/fy-tabs/index.mjs
CHANGED
|
@@ -1,40 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
var t = this, a = t.$createElement, e = t._self._c || a;
|
|
4
|
-
return e("div", {
|
|
5
|
-
staticClass: "avue-tabs"
|
|
6
|
-
}, [e("ElTabs", {
|
|
7
|
-
attrs: {
|
|
8
|
-
"tab-position": t.parentOption.position,
|
|
9
|
-
type: t.parentOption.type
|
|
10
|
-
},
|
|
11
|
-
model: {
|
|
12
|
-
value: t.active,
|
|
13
|
-
callback: function(n) {
|
|
14
|
-
t.active = n;
|
|
15
|
-
},
|
|
16
|
-
expression: "active"
|
|
17
|
-
}
|
|
18
|
-
}, t._l(t.columnOption, function(n, s) {
|
|
19
|
-
return e("ElTabPane", {
|
|
20
|
-
key: s,
|
|
21
|
-
attrs: {
|
|
22
|
-
name: `${s}`,
|
|
23
|
-
disabled: n.disabled
|
|
24
|
-
},
|
|
25
|
-
scopedSlots: t._u([{
|
|
26
|
-
key: "label",
|
|
27
|
-
fn: function() {
|
|
28
|
-
return [e("span", [e("i", {
|
|
29
|
-
class: n.icon
|
|
30
|
-
}), t._v(" " + t._s(n.label) + " ")])];
|
|
31
|
-
},
|
|
32
|
-
proxy: !0
|
|
33
|
-
}], null, !0)
|
|
34
|
-
});
|
|
35
|
-
}), 1)], 1);
|
|
36
|
-
}, c = [];
|
|
37
|
-
const l = {
|
|
1
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const r = {
|
|
38
3
|
name: "FyTabs",
|
|
39
4
|
props: {
|
|
40
5
|
option: {
|
|
@@ -65,28 +30,31 @@ const l = {
|
|
|
65
30
|
}
|
|
66
31
|
},
|
|
67
32
|
methods: {
|
|
68
|
-
changeTabs(
|
|
69
|
-
this.active = `${
|
|
33
|
+
changeTabs(a) {
|
|
34
|
+
this.active = `${a}`;
|
|
70
35
|
}
|
|
71
36
|
}
|
|
72
|
-
}
|
|
73
|
-
var
|
|
74
|
-
|
|
37
|
+
};
|
|
38
|
+
var o = function() {
|
|
39
|
+
var t = this, e = t._self._c;
|
|
40
|
+
return e("div", { staticClass: "avue-tabs" }, [e("ElTabs", { attrs: { "tab-position": t.parentOption.position, type: t.parentOption.type }, model: { value: t.active, callback: function(n) {
|
|
41
|
+
t.active = n;
|
|
42
|
+
}, expression: "active" } }, t._l(t.columnOption, function(n, s) {
|
|
43
|
+
return e("ElTabPane", { key: s, attrs: { name: `${s}`, disabled: n.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
|
|
44
|
+
return [e("span", [e("i", { class: n.icon }), t._v(" " + t._s(n.label) + " ")])];
|
|
45
|
+
}, proxy: !0 }], null, !0) });
|
|
46
|
+
}), 1)], 1);
|
|
47
|
+
}, c = [], l = /* @__PURE__ */ i(
|
|
48
|
+
r,
|
|
75
49
|
o,
|
|
76
50
|
c,
|
|
77
51
|
!1,
|
|
78
|
-
|
|
52
|
+
null,
|
|
79
53
|
null,
|
|
80
54
|
null,
|
|
81
55
|
null
|
|
82
56
|
);
|
|
83
|
-
|
|
84
|
-
for (let a in i)
|
|
85
|
-
this[a] = i[a];
|
|
86
|
-
}
|
|
87
|
-
const v = /* @__PURE__ */ function() {
|
|
88
|
-
return u.exports;
|
|
89
|
-
}();
|
|
57
|
+
const u = l.exports;
|
|
90
58
|
export {
|
|
91
|
-
|
|
59
|
+
u as default
|
|
92
60
|
};
|
package/fy-time/index.mjs
CHANGED
|
@@ -1,50 +1,9 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { isBlank as
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
5
|
-
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
6
|
-
return r("div", {
|
|
7
|
-
staticClass: "avue-time"
|
|
8
|
-
}, [r(e.componentName, {
|
|
9
|
-
tag: "Component",
|
|
10
|
-
attrs: {
|
|
11
|
-
"popper-class": e.popperClass,
|
|
12
|
-
"is-range": e.isRange,
|
|
13
|
-
size: e.size,
|
|
14
|
-
editable: e.editable,
|
|
15
|
-
"default-value": e.defaultValue,
|
|
16
|
-
"range-separator": e.rangeSeparator,
|
|
17
|
-
"arrow-control": e.arrowControl,
|
|
18
|
-
"start-placeholder": e.startPlaceholder || "开始",
|
|
19
|
-
"end-placeholder": e.endPlaceholder || "结束",
|
|
20
|
-
format: e.format,
|
|
21
|
-
readonly: e.readonly,
|
|
22
|
-
clearable: e.clearableVal,
|
|
23
|
-
"picker-options": e.pickerOptions,
|
|
24
|
-
"value-format": e.valueFormat,
|
|
25
|
-
placeholder: e.placeholder,
|
|
26
|
-
disabled: e.disabled
|
|
27
|
-
},
|
|
28
|
-
on: {
|
|
29
|
-
change: e.handleChange
|
|
30
|
-
},
|
|
31
|
-
nativeOn: {
|
|
32
|
-
click: function(a) {
|
|
33
|
-
return e.handleClick.apply(null, arguments);
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
model: {
|
|
37
|
-
value: e.text,
|
|
38
|
-
callback: function(a) {
|
|
39
|
-
e.text = a;
|
|
40
|
-
},
|
|
41
|
-
expression: "text"
|
|
42
|
-
}
|
|
43
|
-
})], 1);
|
|
44
|
-
}, p = [];
|
|
45
|
-
const d = {
|
|
1
|
+
import { p as n, e as l } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { isBlank as o } from "@web-utils/core";
|
|
3
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
4
|
+
const s = {
|
|
46
5
|
name: "FyTime",
|
|
47
|
-
mixins: [
|
|
6
|
+
mixins: [n, l],
|
|
48
7
|
props: {
|
|
49
8
|
editable: Boolean,
|
|
50
9
|
startPlaceholder: String,
|
|
@@ -59,8 +18,8 @@ const d = {
|
|
|
59
18
|
},
|
|
60
19
|
computed: {
|
|
61
20
|
componentName() {
|
|
62
|
-
const
|
|
63
|
-
return
|
|
21
|
+
const t = this.pickerOptions || {};
|
|
22
|
+
return t.start || t.end || t.step ? "elTimeSelect" : "elTimePicker";
|
|
64
23
|
},
|
|
65
24
|
isRange() {
|
|
66
25
|
return this.type === "timerange";
|
|
@@ -68,28 +27,29 @@ const d = {
|
|
|
68
27
|
},
|
|
69
28
|
watch: {
|
|
70
29
|
text() {
|
|
71
|
-
Array.isArray(this.text) &&
|
|
30
|
+
Array.isArray(this.text) && o(this.text) && (this.text = this.text.join(","));
|
|
72
31
|
}
|
|
73
32
|
},
|
|
74
33
|
methods: {}
|
|
75
|
-
}
|
|
76
|
-
var
|
|
77
|
-
|
|
78
|
-
|
|
34
|
+
};
|
|
35
|
+
var p = function() {
|
|
36
|
+
var e = this, r = e._self._c;
|
|
37
|
+
return r("div", { staticClass: "avue-time" }, [r(e.componentName, { tag: "Component", attrs: { "popper-class": e.popperClass, "is-range": e.isRange, size: e.size, editable: e.editable, "default-value": e.defaultValue, "range-separator": e.rangeSeparator, "arrow-control": e.arrowControl, "start-placeholder": e.startPlaceholder || "开始", "end-placeholder": e.endPlaceholder || "结束", format: e.format, readonly: e.readonly, clearable: e.clearableVal, "picker-options": e.pickerOptions, "value-format": e.valueFormat, placeholder: e.placeholder, disabled: e.disabled }, on: { change: e.handleChange }, nativeOn: { click: function(a) {
|
|
38
|
+
return e.handleClick.apply(null, arguments);
|
|
39
|
+
} }, model: { value: e.text, callback: function(a) {
|
|
40
|
+
e.text = a;
|
|
41
|
+
}, expression: "text" } })], 1);
|
|
42
|
+
}, c = [], d = /* @__PURE__ */ i(
|
|
43
|
+
s,
|
|
79
44
|
p,
|
|
45
|
+
c,
|
|
80
46
|
!1,
|
|
81
|
-
|
|
47
|
+
null,
|
|
82
48
|
null,
|
|
83
49
|
null,
|
|
84
50
|
null
|
|
85
51
|
);
|
|
86
|
-
|
|
87
|
-
for (let t in n)
|
|
88
|
-
this[t] = n[t];
|
|
89
|
-
}
|
|
90
|
-
const g = /* @__PURE__ */ function() {
|
|
91
|
-
return m.exports;
|
|
92
|
-
}();
|
|
52
|
+
const h = d.exports;
|
|
93
53
|
export {
|
|
94
|
-
|
|
54
|
+
h as default
|
|
95
55
|
};
|
package/fy-title/index.mjs
CHANGED
|
@@ -1,40 +1,29 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n as l } from "../chunks/
|
|
3
|
-
|
|
4
|
-
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
5
|
-
return n("div", {
|
|
6
|
-
staticClass: "avue-title"
|
|
7
|
-
}, [n("p", {
|
|
8
|
-
style: e.styles
|
|
9
|
-
}, [e._v(" " + e._s(e.text) + " ")])]);
|
|
10
|
-
}, a = [];
|
|
11
|
-
const i = {
|
|
1
|
+
import { p as s, e as n } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const _ = {
|
|
12
4
|
name: "FyTitle",
|
|
13
|
-
mixins: [
|
|
5
|
+
mixins: [s, n],
|
|
14
6
|
props: {
|
|
15
7
|
styles: {
|
|
16
8
|
type: Object,
|
|
17
9
|
default: () => ({})
|
|
18
10
|
}
|
|
19
11
|
}
|
|
20
|
-
}
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
};
|
|
13
|
+
var r = function() {
|
|
14
|
+
var e = this, t = e._self._c;
|
|
15
|
+
return t("div", { staticClass: "avue-title" }, [t("p", { style: e.styles }, [e._v(" " + e._s(e.text) + " ")])]);
|
|
16
|
+
}, a = [], o = /* @__PURE__ */ l(
|
|
17
|
+
_,
|
|
18
|
+
r,
|
|
24
19
|
a,
|
|
25
20
|
!1,
|
|
26
|
-
|
|
21
|
+
null,
|
|
27
22
|
null,
|
|
28
23
|
null,
|
|
29
24
|
null
|
|
30
25
|
);
|
|
31
|
-
|
|
32
|
-
for (let t in s)
|
|
33
|
-
this[t] = s[t];
|
|
34
|
-
}
|
|
35
|
-
const m = /* @__PURE__ */ function() {
|
|
36
|
-
return c.exports;
|
|
37
|
-
}();
|
|
26
|
+
const u = o.exports;
|
|
38
27
|
export {
|
|
39
|
-
|
|
28
|
+
u as default
|
|
40
29
|
};
|