@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/login/index.mjs
CHANGED
|
@@ -1,140 +1,7 @@
|
|
|
1
1
|
import { s as l } from "../chunks/util.ae730cde.mjs";
|
|
2
|
-
import { isBlank as
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
5
|
-
var e = this, s = e.$createElement, t = e._self._c || s;
|
|
6
|
-
return t("div", {
|
|
7
|
-
staticClass: "avue-login",
|
|
8
|
-
style: {
|
|
9
|
-
width: e.setPx(e.width)
|
|
10
|
-
}
|
|
11
|
-
}, [t("ElForm", {
|
|
12
|
-
ref: "form",
|
|
13
|
-
attrs: {
|
|
14
|
-
model: e.form,
|
|
15
|
-
"label-suffix": ":",
|
|
16
|
-
"label-width": e.setPx(e.labelWidth)
|
|
17
|
-
}
|
|
18
|
-
}, [e.username.hide ? e._e() : t("ElFormItem", {
|
|
19
|
-
attrs: {
|
|
20
|
-
label: e.username.label || "用户名",
|
|
21
|
-
rules: e.username.rules,
|
|
22
|
-
"label-width": e.setPx(e.username.labelWidth),
|
|
23
|
-
prop: "username"
|
|
24
|
-
}
|
|
25
|
-
}, [t("ElTooltip", {
|
|
26
|
-
attrs: {
|
|
27
|
-
content: e.username.tip,
|
|
28
|
-
disabled: e.username.tip === void 0,
|
|
29
|
-
placement: "top-start"
|
|
30
|
-
}
|
|
31
|
-
}, [t("ElInput", {
|
|
32
|
-
attrs: {
|
|
33
|
-
size: "small",
|
|
34
|
-
"prefix-icon": e.username.prefixIcon || "el-icon-user",
|
|
35
|
-
placeholder: e.username.placeholder || "请输入用户名",
|
|
36
|
-
autocomplete: e.username.autocomplete
|
|
37
|
-
},
|
|
38
|
-
model: {
|
|
39
|
-
value: e.form.username,
|
|
40
|
-
callback: function(o) {
|
|
41
|
-
e.$set(e.form, "username", o);
|
|
42
|
-
},
|
|
43
|
-
expression: "form.username"
|
|
44
|
-
}
|
|
45
|
-
})], 1)], 1), e.password.hide ? e._e() : t("ElFormItem", {
|
|
46
|
-
attrs: {
|
|
47
|
-
label: e.password.label || "密码",
|
|
48
|
-
rules: e.password.rules,
|
|
49
|
-
"label-width": e.setPx(e.password.labelWidth),
|
|
50
|
-
prop: "password"
|
|
51
|
-
}
|
|
52
|
-
}, [t("ElTooltip", {
|
|
53
|
-
attrs: {
|
|
54
|
-
content: e.password.tip,
|
|
55
|
-
disabled: e.password.tip === void 0,
|
|
56
|
-
placement: "top-start"
|
|
57
|
-
}
|
|
58
|
-
}, [t("ElInput", {
|
|
59
|
-
attrs: {
|
|
60
|
-
type: "password",
|
|
61
|
-
size: "small",
|
|
62
|
-
"prefix-icon": e.password.prefixIcon || "el-icon-unlock",
|
|
63
|
-
placeholder: e.password.placeholder || "请输入密码",
|
|
64
|
-
"show-password": "",
|
|
65
|
-
autocomplete: e.password.autocomplete
|
|
66
|
-
},
|
|
67
|
-
model: {
|
|
68
|
-
value: e.form.password,
|
|
69
|
-
callback: function(o) {
|
|
70
|
-
e.$set(e.form, "password", o);
|
|
71
|
-
},
|
|
72
|
-
expression: "form.password"
|
|
73
|
-
}
|
|
74
|
-
})], 1)], 1), e.code.hide ? e._e() : t("ElFormItem", {
|
|
75
|
-
attrs: {
|
|
76
|
-
label: e.code.label || "验证码",
|
|
77
|
-
rules: e.code.rules,
|
|
78
|
-
"label-width": e.setPx(e.code.labelWidth),
|
|
79
|
-
prop: "code"
|
|
80
|
-
}
|
|
81
|
-
}, [t("ElTooltip", {
|
|
82
|
-
attrs: {
|
|
83
|
-
content: e.code.tip,
|
|
84
|
-
disabled: e.code.tip === void 0,
|
|
85
|
-
placement: "top-start"
|
|
86
|
-
}
|
|
87
|
-
}, [t("ElInput", {
|
|
88
|
-
attrs: {
|
|
89
|
-
size: "small",
|
|
90
|
-
"prefix-icon": e.code.prefixIcon || "el-icon-c-scale-to-original",
|
|
91
|
-
placeholder: e.code.placeholder || "请输入验证码",
|
|
92
|
-
autocomplete: e.code.autocomplete
|
|
93
|
-
},
|
|
94
|
-
scopedSlots: e._u([{
|
|
95
|
-
key: "append",
|
|
96
|
-
fn: function() {
|
|
97
|
-
return [e.isPhone ? t("ElButton", {
|
|
98
|
-
staticClass: "avue-login__send",
|
|
99
|
-
attrs: {
|
|
100
|
-
type: "primary",
|
|
101
|
-
disabled: e.sendDisabled
|
|
102
|
-
},
|
|
103
|
-
on: {
|
|
104
|
-
click: e.onSend
|
|
105
|
-
}
|
|
106
|
-
}, [e._v(" " + e._s(e.text) + " ")]) : e._e(), e.isImg ? t("span", [t("img", {
|
|
107
|
-
attrs: {
|
|
108
|
-
src: e.codesrc,
|
|
109
|
-
alt: "",
|
|
110
|
-
width: "80",
|
|
111
|
-
height: "25"
|
|
112
|
-
},
|
|
113
|
-
on: {
|
|
114
|
-
click: e.onRefresh
|
|
115
|
-
}
|
|
116
|
-
})]) : e._e()];
|
|
117
|
-
},
|
|
118
|
-
proxy: !0
|
|
119
|
-
}], null, !1, 2861735427),
|
|
120
|
-
model: {
|
|
121
|
-
value: e.form.code,
|
|
122
|
-
callback: function(o) {
|
|
123
|
-
e.$set(e.form, "code", o);
|
|
124
|
-
},
|
|
125
|
-
expression: "form.code"
|
|
126
|
-
}
|
|
127
|
-
})], 1)], 1), t("ElFormItem", [t("ElButton", {
|
|
128
|
-
staticClass: "avue-login__submit",
|
|
129
|
-
attrs: {
|
|
130
|
-
type: "primary"
|
|
131
|
-
},
|
|
132
|
-
on: {
|
|
133
|
-
click: e.onSubmit
|
|
134
|
-
}
|
|
135
|
-
}, [e._v(" 登录 ")])], 1)], 1)], 1);
|
|
136
|
-
}, d = [];
|
|
137
|
-
const r = "发送验证码", i = "{{time}}s后重获取", m = {
|
|
2
|
+
import { isBlank as n } from "@web-utils/core";
|
|
3
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
4
|
+
const r = "发送验证码", i = "{{time}}s后重获取", c = {
|
|
138
5
|
name: "Login",
|
|
139
6
|
props: {
|
|
140
7
|
value: {
|
|
@@ -162,8 +29,8 @@ const r = "发送验证码", i = "{{time}}s后重获取", m = {
|
|
|
162
29
|
get() {
|
|
163
30
|
return this.value;
|
|
164
31
|
},
|
|
165
|
-
set(
|
|
166
|
-
this.$emit("input",
|
|
32
|
+
set(o) {
|
|
33
|
+
this.$emit("input", o), this.$emit("change", o);
|
|
167
34
|
}
|
|
168
35
|
},
|
|
169
36
|
labelWidth() {
|
|
@@ -197,54 +64,59 @@ const r = "发送验证码", i = "{{time}}s后重获取", m = {
|
|
|
197
64
|
return this.option.column || {};
|
|
198
65
|
},
|
|
199
66
|
sendDisabled() {
|
|
200
|
-
return !
|
|
67
|
+
return !n(this.check);
|
|
201
68
|
}
|
|
202
69
|
},
|
|
203
70
|
methods: {
|
|
204
71
|
setPx: l,
|
|
205
72
|
onSend() {
|
|
206
|
-
const
|
|
73
|
+
const o = () => {
|
|
207
74
|
this.nowtime = this.time, this.text = i.replace("{{time}}", this.nowtime), this.check = setInterval(() => {
|
|
208
75
|
this.nowtime--, this.nowtime === 0 ? (this.text = r, clearInterval(this.check), this.check = null) : this.text = i.replace("{{time}}", this.nowtime);
|
|
209
76
|
}, 1e3);
|
|
210
77
|
};
|
|
211
|
-
this.sendDisabled || this.$emit("send",
|
|
78
|
+
this.sendDisabled || this.$emit("send", o);
|
|
212
79
|
},
|
|
213
80
|
onRefresh() {
|
|
214
81
|
this.$emit("refresh");
|
|
215
82
|
},
|
|
216
83
|
onSubmit() {
|
|
217
|
-
const
|
|
218
|
-
const
|
|
84
|
+
const o = () => {
|
|
85
|
+
const e = {};
|
|
219
86
|
for (const t in this.form) {
|
|
220
|
-
let
|
|
221
|
-
this[t].prop && (
|
|
87
|
+
let s = t;
|
|
88
|
+
this[t].prop && (s = this[t].prop), e[s] = this.form[t];
|
|
222
89
|
}
|
|
223
|
-
return
|
|
90
|
+
return e;
|
|
224
91
|
};
|
|
225
|
-
this.$refs.form.validate((
|
|
226
|
-
|
|
92
|
+
this.$refs.form.validate((e) => {
|
|
93
|
+
e && this.$emit("submit", o());
|
|
227
94
|
});
|
|
228
95
|
}
|
|
229
96
|
}
|
|
230
|
-
}
|
|
231
|
-
var
|
|
232
|
-
|
|
233
|
-
|
|
97
|
+
};
|
|
98
|
+
var d = function() {
|
|
99
|
+
var e = this, t = e._self._c;
|
|
100
|
+
return t("div", { staticClass: "avue-login", style: { width: e.setPx(e.width) } }, [t("ElForm", { ref: "form", attrs: { model: e.form, "label-suffix": ":", "label-width": e.setPx(e.labelWidth) } }, [e.username.hide ? e._e() : t("ElFormItem", { attrs: { label: e.username.label || "用户名", rules: e.username.rules, "label-width": e.setPx(e.username.labelWidth), prop: "username" } }, [t("ElTooltip", { attrs: { content: e.username.tip, disabled: e.username.tip === void 0, placement: "top-start" } }, [t("ElInput", { attrs: { size: "small", "prefix-icon": e.username.prefixIcon || "el-icon-user", placeholder: e.username.placeholder || "请输入用户名", autocomplete: e.username.autocomplete }, model: { value: e.form.username, callback: function(s) {
|
|
101
|
+
e.$set(e.form, "username", s);
|
|
102
|
+
}, expression: "form.username" } })], 1)], 1), e.password.hide ? e._e() : t("ElFormItem", { attrs: { label: e.password.label || "密码", rules: e.password.rules, "label-width": e.setPx(e.password.labelWidth), prop: "password" } }, [t("ElTooltip", { attrs: { content: e.password.tip, disabled: e.password.tip === void 0, placement: "top-start" } }, [t("ElInput", { attrs: { type: "password", size: "small", "prefix-icon": e.password.prefixIcon || "el-icon-unlock", placeholder: e.password.placeholder || "请输入密码", "show-password": "", autocomplete: e.password.autocomplete }, model: { value: e.form.password, callback: function(s) {
|
|
103
|
+
e.$set(e.form, "password", s);
|
|
104
|
+
}, expression: "form.password" } })], 1)], 1), e.code.hide ? e._e() : t("ElFormItem", { attrs: { label: e.code.label || "验证码", rules: e.code.rules, "label-width": e.setPx(e.code.labelWidth), prop: "code" } }, [t("ElTooltip", { attrs: { content: e.code.tip, disabled: e.code.tip === void 0, placement: "top-start" } }, [t("ElInput", { attrs: { size: "small", "prefix-icon": e.code.prefixIcon || "el-icon-c-scale-to-original", placeholder: e.code.placeholder || "请输入验证码", autocomplete: e.code.autocomplete }, scopedSlots: e._u([{ key: "append", fn: function() {
|
|
105
|
+
return [e.isPhone ? t("ElButton", { staticClass: "avue-login__send", attrs: { type: "primary", disabled: e.sendDisabled }, on: { click: e.onSend } }, [e._v(" " + e._s(e.text) + " ")]) : e._e(), e.isImg ? t("span", [t("img", { attrs: { src: e.codesrc, alt: "", width: "80", height: "25" }, on: { click: e.onRefresh } })]) : e._e()];
|
|
106
|
+
}, proxy: !0 }], null, !1, 2861735427), model: { value: e.form.code, callback: function(s) {
|
|
107
|
+
e.$set(e.form, "code", s);
|
|
108
|
+
}, expression: "form.code" } })], 1)], 1), t("ElFormItem", [t("ElButton", { staticClass: "avue-login__submit", attrs: { type: "primary" }, on: { click: e.onSubmit } }, [e._v(" 登录 ")])], 1)], 1)], 1);
|
|
109
|
+
}, p = [], m = /* @__PURE__ */ a(
|
|
110
|
+
c,
|
|
234
111
|
d,
|
|
112
|
+
p,
|
|
235
113
|
!1,
|
|
236
|
-
|
|
114
|
+
null,
|
|
237
115
|
null,
|
|
238
116
|
null,
|
|
239
117
|
null
|
|
240
118
|
);
|
|
241
|
-
|
|
242
|
-
for (let s in n)
|
|
243
|
-
this[s] = n[s];
|
|
244
|
-
}
|
|
245
|
-
const w = /* @__PURE__ */ function() {
|
|
246
|
-
return u.exports;
|
|
247
|
-
}();
|
|
119
|
+
const _ = m.exports;
|
|
248
120
|
export {
|
|
249
|
-
|
|
121
|
+
_ as default
|
|
250
122
|
};
|
package/monaco-editor/index.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u = Object.defineProperty;
|
|
2
2
|
var d = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var r = (t, e, i) => e in t ?
|
|
3
|
+
var c = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var r = (t, e, i) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, h = (t, e) => {
|
|
5
5
|
for (var i in e || (e = {}))
|
|
6
|
-
|
|
6
|
+
c.call(e, i) && r(t, i, e[i]);
|
|
7
7
|
if (d)
|
|
8
8
|
for (var i of d(e))
|
|
9
|
-
|
|
9
|
+
f.call(e, i) && r(t, i, e[i]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import * as o from "monaco-editor/esm/vs/editor/editor.api";
|
|
13
13
|
import "monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution";
|
|
14
14
|
import { c as l } from "../chunks/json-beautifier.21cfffea.mjs";
|
|
15
15
|
import { NOOP as a } from "@web-utils/core";
|
|
16
|
-
import { n as
|
|
17
|
-
const
|
|
16
|
+
import { n as g } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
17
|
+
const m = {
|
|
18
18
|
name: "MonacoEditor",
|
|
19
19
|
props: {
|
|
20
20
|
diffEditor: { type: Boolean, default: !1 },
|
|
@@ -172,26 +172,18 @@ const p = {
|
|
|
172
172
|
}) : ""
|
|
173
173
|
]);
|
|
174
174
|
}
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
var M = /* @__PURE__ */ m(
|
|
175
|
+
}, p = null, _ = null;
|
|
176
|
+
var y = /* @__PURE__ */ g(
|
|
177
|
+
m,
|
|
179
178
|
p,
|
|
180
179
|
_,
|
|
181
|
-
y,
|
|
182
180
|
!1,
|
|
183
|
-
|
|
181
|
+
null,
|
|
184
182
|
null,
|
|
185
183
|
null,
|
|
186
184
|
null
|
|
187
185
|
);
|
|
188
|
-
|
|
189
|
-
for (let e in u)
|
|
190
|
-
this[e] = u[e];
|
|
191
|
-
}
|
|
192
|
-
const V = /* @__PURE__ */ function() {
|
|
193
|
-
return M.exports;
|
|
194
|
-
}();
|
|
186
|
+
const w = y.exports;
|
|
195
187
|
export {
|
|
196
|
-
|
|
188
|
+
w as default
|
|
197
189
|
};
|
package/name-avatar/index.mjs
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { n as r } from "../chunks/
|
|
2
|
-
|
|
3
|
-
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
|
-
return a("div", {
|
|
5
|
-
staticClass: "name-avatar",
|
|
6
|
-
class: t.square ? "square" : "round"
|
|
7
|
-
}, [t.faceUrl && !t.num ? a("img", {
|
|
8
|
-
staticClass: "name-avatar-image",
|
|
9
|
-
attrs: {
|
|
10
|
-
src: t.faceUrl,
|
|
11
|
-
alt: ""
|
|
12
|
-
}
|
|
13
|
-
}) : a("div", {
|
|
14
|
-
staticClass: "name-avatar-text",
|
|
15
|
-
style: t.styles
|
|
16
|
-
}, [t._v(" " + t._s(t.text) + " ")])]);
|
|
17
|
-
}, o = [];
|
|
18
|
-
const i = {
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const n = {
|
|
19
3
|
name: "NameAvatar",
|
|
20
4
|
props: {
|
|
21
5
|
num: [Number, String],
|
|
@@ -39,28 +23,25 @@ const i = {
|
|
|
39
23
|
return this.num !== void 0 ? `+${this.num}` : this.name ? this.name.slice(-2) : "";
|
|
40
24
|
},
|
|
41
25
|
styles() {
|
|
42
|
-
const
|
|
43
|
-
return this.size && (
|
|
26
|
+
const e = {};
|
|
27
|
+
return this.size && (e["font-size"] = "12px"), this.fontColor && (e.color = this.fontColor), this.backgroundColor && (e.background = this.backgroundColor), e;
|
|
44
28
|
}
|
|
45
29
|
}
|
|
46
|
-
}
|
|
47
|
-
var
|
|
48
|
-
|
|
30
|
+
};
|
|
31
|
+
var s = function() {
|
|
32
|
+
var t = this, a = t._self._c;
|
|
33
|
+
return a("div", { staticClass: "name-avatar", class: t.square ? "square" : "round" }, [t.faceUrl && !t.num ? a("img", { staticClass: "name-avatar-image", attrs: { src: t.faceUrl, alt: "" } }) : a("div", { staticClass: "name-avatar-text", style: t.styles }, [t._v(" " + t._s(t.text) + " ")])]);
|
|
34
|
+
}, o = [], l = /* @__PURE__ */ r(
|
|
35
|
+
n,
|
|
49
36
|
s,
|
|
50
37
|
o,
|
|
51
38
|
!1,
|
|
52
|
-
|
|
39
|
+
null,
|
|
53
40
|
null,
|
|
54
41
|
null,
|
|
55
42
|
null
|
|
56
43
|
);
|
|
57
|
-
|
|
58
|
-
for (let e in n)
|
|
59
|
-
this[e] = n[e];
|
|
60
|
-
}
|
|
61
|
-
const f = /* @__PURE__ */ function() {
|
|
62
|
-
return l.exports;
|
|
63
|
-
}();
|
|
44
|
+
const u = l.exports;
|
|
64
45
|
export {
|
|
65
|
-
|
|
46
|
+
u as default
|
|
66
47
|
};
|
package/nav-bar/index.mjs
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import { n as a } from "../chunks/
|
|
2
|
-
|
|
3
|
-
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
4
|
-
return n("div", {
|
|
5
|
-
staticClass: "nav-bar"
|
|
6
|
-
}, [t.showBack ? n("ElButton", {
|
|
7
|
-
attrs: {
|
|
8
|
-
type: "text",
|
|
9
|
-
icon: "el-icon-arrow-left"
|
|
10
|
-
},
|
|
11
|
-
on: {
|
|
12
|
-
click: t.goBack
|
|
13
|
-
}
|
|
14
|
-
}, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? n("div", {
|
|
15
|
-
staticClass: "flex-item flex-row-column vertical-center"
|
|
16
|
-
}, [t._t("right")], 2) : t._e()], 1);
|
|
17
|
-
}, s = [];
|
|
18
|
-
const c = {
|
|
1
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const n = {
|
|
19
3
|
name: "NavBar",
|
|
20
4
|
props: {
|
|
21
5
|
onGoBack: Function,
|
|
@@ -29,24 +13,21 @@ const c = {
|
|
|
29
13
|
this.onGoBack ? this.onGoBack() : this.$router.back();
|
|
30
14
|
}
|
|
31
15
|
}
|
|
32
|
-
}
|
|
33
|
-
var
|
|
34
|
-
|
|
16
|
+
};
|
|
17
|
+
var o = function() {
|
|
18
|
+
var t = this, e = t._self._c;
|
|
19
|
+
return e("div", { staticClass: "nav-bar" }, [t.showBack ? e("ElButton", { attrs: { type: "text", icon: "el-icon-arrow-left" }, on: { click: t.goBack } }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? e("div", { staticClass: "flex-item flex-row-column vertical-center" }, [t._t("right")], 2) : t._e()], 1);
|
|
20
|
+
}, r = [], s = /* @__PURE__ */ a(
|
|
21
|
+
n,
|
|
22
|
+
o,
|
|
35
23
|
r,
|
|
36
|
-
s,
|
|
37
24
|
!1,
|
|
38
|
-
|
|
25
|
+
null,
|
|
39
26
|
null,
|
|
40
27
|
null,
|
|
41
28
|
null
|
|
42
29
|
);
|
|
43
|
-
|
|
44
|
-
for (let e in o)
|
|
45
|
-
this[e] = o[e];
|
|
46
|
-
}
|
|
47
|
-
const u = /* @__PURE__ */ function() {
|
|
48
|
-
return l.exports;
|
|
49
|
-
}();
|
|
30
|
+
const _ = s.exports;
|
|
50
31
|
export {
|
|
51
|
-
|
|
32
|
+
_ as default
|
|
52
33
|
};
|
package/not-implement/index.mjs
CHANGED
|
@@ -1,35 +1,24 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
var e = this, t = e.$createElement;
|
|
4
|
-
return e._self._c, e._m(0);
|
|
5
|
-
}, o = [function() {
|
|
6
|
-
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
7
|
-
return n("div", {
|
|
8
|
-
staticClass: "not-implement"
|
|
9
|
-
}, [n("div", [n("i", {
|
|
10
|
-
staticClass: "fa fa-wrench"
|
|
11
|
-
}), e._v(" 建设中...")])]);
|
|
12
|
-
}];
|
|
13
|
-
const a = {
|
|
1
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const _ = {
|
|
14
3
|
name: "NotImplement"
|
|
15
|
-
}
|
|
16
|
-
var
|
|
17
|
-
|
|
4
|
+
};
|
|
5
|
+
var s = function() {
|
|
6
|
+
var n = this;
|
|
7
|
+
return n._self._c, n._m(0);
|
|
8
|
+
}, l = [function() {
|
|
9
|
+
var e = this, n = e._self._c;
|
|
10
|
+
return n("div", { staticClass: "not-implement" }, [n("div", [n("i", { staticClass: "fa fa-wrench" }), e._v(" 建设中...")])]);
|
|
11
|
+
}], a = /* @__PURE__ */ t(
|
|
12
|
+
_,
|
|
18
13
|
s,
|
|
19
|
-
|
|
14
|
+
l,
|
|
20
15
|
!1,
|
|
21
|
-
|
|
16
|
+
null,
|
|
22
17
|
null,
|
|
23
18
|
null,
|
|
24
19
|
null
|
|
25
20
|
);
|
|
26
|
-
|
|
27
|
-
for (let t in _)
|
|
28
|
-
this[t] = _[t];
|
|
29
|
-
}
|
|
30
|
-
const m = /* @__PURE__ */ function() {
|
|
31
|
-
return l.exports;
|
|
32
|
-
}();
|
|
21
|
+
const m = a.exports;
|
|
33
22
|
export {
|
|
34
23
|
m as default
|
|
35
24
|
};
|
package/notice/index.mjs
CHANGED
|
@@ -1,60 +1,11 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
var t = this, a = t.$createElement, e = t._self._c || a;
|
|
4
|
-
return e("div", {
|
|
5
|
-
staticClass: "avue-notice"
|
|
6
|
-
}, [t._l(t.data, function(s, r) {
|
|
7
|
-
return e("div", {
|
|
8
|
-
key: r,
|
|
9
|
-
staticClass: "avue-notice__item",
|
|
10
|
-
on: {
|
|
11
|
-
click: function(v) {
|
|
12
|
-
return t.click(s);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}, [s[t.imgKey] ? e("div", {
|
|
16
|
-
staticClass: "avue-notice__img"
|
|
17
|
-
}, [e("img", {
|
|
18
|
-
attrs: {
|
|
19
|
-
src: s[t.imgKey],
|
|
20
|
-
alt: ""
|
|
21
|
-
}
|
|
22
|
-
})]) : t._e(), e("div", {
|
|
23
|
-
staticClass: "avue-notice__content"
|
|
24
|
-
}, [e("div", {
|
|
25
|
-
staticClass: "avue-notice__title"
|
|
26
|
-
}, [e("span", {
|
|
27
|
-
staticClass: "avue-notice__name"
|
|
28
|
-
}, [t._v(t._s(s[t.titleKey]))]), s[t.tagKey] ? e("span", {
|
|
29
|
-
staticClass: "avue-notice__tag"
|
|
30
|
-
}, [e("ElTag", {
|
|
31
|
-
attrs: {
|
|
32
|
-
size: "small",
|
|
33
|
-
type: t.getType(s[t.statusKey])
|
|
34
|
-
}
|
|
35
|
-
}, [t._v(t._s(s[t.tagKey]))])], 1) : t._e()]), e("div", {
|
|
36
|
-
staticClass: "avue-notice__subtitle"
|
|
37
|
-
}, [t._v(" " + t._s(s[t.subtitleKey]) + " ")])])]);
|
|
38
|
-
}), t.finish ? t._e() : e("div", {
|
|
39
|
-
directives: [{
|
|
40
|
-
name: "loading",
|
|
41
|
-
rawName: "v-loading",
|
|
42
|
-
value: !0,
|
|
43
|
-
expression: "true"
|
|
44
|
-
}],
|
|
45
|
-
staticClass: "avue-notice__more",
|
|
46
|
-
on: {
|
|
47
|
-
click: t.handleClick
|
|
48
|
-
}
|
|
49
|
-
}, [t._v("加载更多")])], 2);
|
|
50
|
-
}, c = [];
|
|
51
|
-
const i = {
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const a = {
|
|
52
3
|
img: "img",
|
|
53
4
|
title: "title",
|
|
54
5
|
subtile: "title",
|
|
55
6
|
tag: "tag",
|
|
56
7
|
status: "status"
|
|
57
|
-
},
|
|
8
|
+
}, l = {
|
|
58
9
|
name: "Notice",
|
|
59
10
|
props: {
|
|
60
11
|
finish: {
|
|
@@ -78,66 +29,67 @@ const i = {
|
|
|
78
29
|
},
|
|
79
30
|
computed: {
|
|
80
31
|
props() {
|
|
81
|
-
return this.option.props ||
|
|
32
|
+
return this.option.props || a;
|
|
82
33
|
},
|
|
83
34
|
imgKey() {
|
|
84
|
-
return this.props.img ||
|
|
35
|
+
return this.props.img || a.img;
|
|
85
36
|
},
|
|
86
37
|
titleKey() {
|
|
87
|
-
return this.props.title ||
|
|
38
|
+
return this.props.title || a.title;
|
|
88
39
|
},
|
|
89
40
|
subtitleKey() {
|
|
90
|
-
return this.props.subtitle ||
|
|
41
|
+
return this.props.subtitle || a.subtitle;
|
|
91
42
|
},
|
|
92
43
|
tagKey() {
|
|
93
|
-
return this.props.tag ||
|
|
44
|
+
return this.props.tag || a.tag;
|
|
94
45
|
},
|
|
95
46
|
statusKey() {
|
|
96
|
-
return this.props.status ||
|
|
47
|
+
return this.props.status || a.status;
|
|
97
48
|
}
|
|
98
49
|
},
|
|
99
50
|
methods: {
|
|
100
|
-
click(
|
|
101
|
-
this.$emit("click",
|
|
51
|
+
click(s) {
|
|
52
|
+
this.$emit("click", s);
|
|
102
53
|
},
|
|
103
54
|
handleClick() {
|
|
104
55
|
this.loading = !0;
|
|
105
|
-
const
|
|
56
|
+
const s = () => {
|
|
106
57
|
this.loading = !1;
|
|
107
58
|
};
|
|
108
|
-
this.page++, this.$emit("page-change", this.page,
|
|
59
|
+
this.page++, this.$emit("page-change", this.page, s);
|
|
109
60
|
},
|
|
110
|
-
getType(
|
|
111
|
-
if (
|
|
61
|
+
getType(s = 0) {
|
|
62
|
+
if (s === 0)
|
|
112
63
|
return "info";
|
|
113
|
-
if (
|
|
64
|
+
if (s === 1)
|
|
114
65
|
return "";
|
|
115
|
-
if (
|
|
66
|
+
if (s === 2)
|
|
116
67
|
return "warning";
|
|
117
|
-
if (
|
|
68
|
+
if (s === 3)
|
|
118
69
|
return "danger";
|
|
119
|
-
if (
|
|
70
|
+
if (s === 4)
|
|
120
71
|
return "success";
|
|
121
72
|
}
|
|
122
73
|
}
|
|
123
|
-
}
|
|
124
|
-
var
|
|
125
|
-
|
|
74
|
+
};
|
|
75
|
+
var o = function() {
|
|
76
|
+
var t = this, e = t._self._c;
|
|
77
|
+
return e("div", { staticClass: "avue-notice" }, [t._l(t.data, function(i, n) {
|
|
78
|
+
return e("div", { key: n, staticClass: "avue-notice__item", on: { click: function(_) {
|
|
79
|
+
return t.click(i);
|
|
80
|
+
} } }, [i[t.imgKey] ? e("div", { staticClass: "avue-notice__img" }, [e("img", { attrs: { src: i[t.imgKey], alt: "" } })]) : t._e(), e("div", { staticClass: "avue-notice__content" }, [e("div", { staticClass: "avue-notice__title" }, [e("span", { staticClass: "avue-notice__name" }, [t._v(t._s(i[t.titleKey]))]), i[t.tagKey] ? e("span", { staticClass: "avue-notice__tag" }, [e("ElTag", { attrs: { size: "small", type: t.getType(i[t.statusKey]) } }, [t._v(t._s(i[t.tagKey]))])], 1) : t._e()]), e("div", { staticClass: "avue-notice__subtitle" }, [t._v(" " + t._s(i[t.subtitleKey]) + " ")])])]);
|
|
81
|
+
}), t.finish ? t._e() : e("div", { directives: [{ name: "loading", rawName: "v-loading", value: !0, expression: "true" }], staticClass: "avue-notice__more", on: { click: t.handleClick } }, [t._v("加载更多")])], 2);
|
|
82
|
+
}, c = [], u = /* @__PURE__ */ r(
|
|
83
|
+
l,
|
|
126
84
|
o,
|
|
127
85
|
c,
|
|
128
86
|
!1,
|
|
129
|
-
|
|
87
|
+
null,
|
|
130
88
|
null,
|
|
131
89
|
null,
|
|
132
90
|
null
|
|
133
91
|
);
|
|
134
|
-
|
|
135
|
-
for (let a in n)
|
|
136
|
-
this[a] = n[a];
|
|
137
|
-
}
|
|
138
|
-
const d = /* @__PURE__ */ function() {
|
|
139
|
-
return _.exports;
|
|
140
|
-
}();
|
|
92
|
+
const g = u.exports;
|
|
141
93
|
export {
|
|
142
|
-
|
|
94
|
+
g as default
|
|
143
95
|
};
|