@keyblade/pro-components 1.13.8-alpha.9 → 1.14.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/es/components.d.ts +7 -0
- package/es/global-props.d.ts +20 -3
- package/es/global-props.js +6 -2
- package/es/index.d.ts +7 -0
- package/es/index.js +47 -28
- package/es/inerface.d.ts +5 -2
- package/es/pro-calendar/calendar.vue.d.ts +75 -0
- package/es/pro-calendar/calendar.vue.js +159 -0
- package/es/pro-calendar/calendar.vue3.js +5 -0
- package/es/pro-calendar/enum.d.ts +6 -0
- package/es/pro-calendar/enum.js +4 -0
- package/es/pro-calendar/header.vue.d.ts +35 -0
- package/es/pro-calendar/header.vue.js +146 -0
- package/es/pro-calendar/header.vue2.js +4 -0
- package/es/pro-calendar/hooks/useCellClassName.d.ts +12 -0
- package/es/pro-calendar/hooks/useCellClassName.js +40 -0
- package/es/pro-calendar/index.d.ts +117 -0
- package/es/pro-calendar/index.js +12 -0
- package/es/pro-calendar/interface.d.ts +89 -0
- package/es/pro-calendar/month.d.ts +5 -0
- package/es/pro-calendar/month.js +53 -0
- package/es/pro-calendar/month.vue.d.ts +22 -0
- package/es/pro-calendar/month.vue.js +126 -0
- package/es/pro-calendar/month.vue2.js +4 -0
- package/es/pro-calendar/week.vue.d.ts +3 -0
- package/es/pro-calendar/week.vue.js +34 -0
- package/es/pro-calendar/week.vue2.js +4 -0
- package/es/pro-calendar/year.vue.d.ts +3 -0
- package/es/pro-calendar/year.vue.js +123 -0
- package/es/pro-calendar/year.vue2.js +4 -0
- package/es/pro-date-range-picker/index.d.ts +183 -13
- package/es/pro-date-range-picker/index.js +6 -7
- package/es/pro-date-range-picker/interface.d.ts +38 -0
- package/es/pro-date-range-picker/pro-date-range-picker.vue.d.ts +173 -6
- package/es/pro-date-range-picker/pro-date-range-picker.vue.js +2 -2
- package/es/pro-date-range-picker/pro-date-range-picker.vue2.js +124 -104
- package/es/pro-dates-picker/index.d.ts +49 -0
- package/es/pro-dates-picker/index.js +11 -0
- package/es/pro-dates-picker/index.vue.d.ts +29 -0
- package/es/pro-dates-picker/index.vue.js +135 -0
- package/es/pro-dates-picker/index.vue3.js +5 -0
- package/es/pro-dates-picker/interface.d.ts +38 -0
- package/es/pro-dates-picker/util.d.ts +12 -0
- package/es/pro-dates-picker/util.js +9 -0
- package/es/pro-find-password/enum.d.ts +8 -0
- package/es/pro-find-password/enum.js +4 -0
- package/es/pro-find-password/index.d.ts +11 -0
- package/es/pro-find-password/index.js +11 -0
- package/es/pro-find-password/index.vue.d.ts +4459 -0
- package/es/pro-find-password/index.vue.js +176 -0
- package/es/pro-find-password/index.vue3.js +5 -0
- package/es/pro-find-password/interface.d.ts +45 -0
- package/es/pro-find-password/reset-password.vue.d.ts +591 -0
- package/es/pro-find-password/reset-password.vue.js +179 -0
- package/es/pro-find-password/reset-password.vue2.js +4 -0
- package/es/pro-find-password/verify-user-name.vue.d.ts +795 -0
- package/es/pro-find-password/verify-user-name.vue.js +112 -0
- package/es/pro-find-password/verify-user-name.vue3.js +5 -0
- package/es/pro-footer-bar/index.d.ts +6 -3
- package/es/pro-footer-bar/index.js +6 -7
- package/es/pro-footer-bar/index.vue.d.ts +1 -1
- package/es/pro-footer-bar/index.vue.js +2 -2
- package/es/pro-footer-bar/index.vue2.js +24 -26
- package/es/pro-footer-bar/{inerface.d.ts → interface.d.ts} +1 -0
- package/es/pro-form-group/index.d.ts +7 -6
- package/es/pro-form-group/index.js +6 -8
- package/es/pro-form-group/index.vue.d.ts +2 -2
- package/es/pro-form-group/index.vue.js +1 -1
- package/es/pro-form-group/index.vue2.js +31 -32
- package/es/pro-image-upload/cropper.vue.js +2 -2
- package/es/pro-image-upload/cropper.vue2.js +200 -190
- package/es/pro-image-upload/image-upload.vue.d.ts +1124 -371
- package/es/pro-image-upload/image-upload.vue.js +178 -144
- package/es/pro-image-upload/index.d.ts +1727 -1001
- package/es/pro-image-upload/index.js +6 -8
- package/es/pro-keep-alive-router-view/index.d.ts +1 -0
- package/es/pro-keep-alive-router-view/pro-keep-alive-router-view.vue.js +17 -18
- package/es/pro-layout/hooks.d.ts +80 -1
- package/es/pro-layout/hooks.js +133 -84
- package/es/pro-layout/index.d.ts +9 -6
- package/es/pro-layout/index.js +6 -11
- package/es/pro-layout/pro-layout.vue.d.ts +4 -2
- package/es/pro-layout/pro-layout.vue.js +220 -208
- package/es/pro-loader/index.d.ts +43 -0
- package/es/pro-loader/index.js +11 -0
- package/es/pro-loader/index.vue.d.ts +28 -0
- package/es/pro-loader/index.vue.js +112 -0
- package/es/pro-loader/index.vue3.js +5 -0
- package/es/pro-loader/interface.d.ts +16 -0
- package/es/pro-login/enum.d.ts +6 -0
- package/es/pro-login/enum.js +4 -0
- package/es/pro-login/form-mobile.vue.d.ts +797 -0
- package/es/pro-login/form-mobile.vue.js +146 -0
- package/es/pro-login/form-mobile.vue2.js +4 -0
- package/es/pro-login/form-password.vue.d.ts +584 -0
- package/es/pro-login/form-password.vue.js +99 -0
- package/es/pro-login/form-password.vue2.js +4 -0
- package/es/pro-login/index.d.ts +11 -0
- package/es/pro-login/index.js +11 -0
- package/es/pro-login/index.vue.d.ts +4429 -0
- package/es/pro-login/index.vue.js +105 -0
- package/es/pro-login/index.vue3.js +5 -0
- package/es/pro-login/interface.d.ts +72 -0
- package/es/pro-login/regexp.d.ts +17 -0
- package/es/pro-login/regexp.js +28 -0
- package/es/pro-menu/index.d.ts +18 -80
- package/es/pro-menu/index.js +6 -7
- package/es/pro-menu/interface.d.ts +31 -0
- package/es/pro-menu/menu-item.vue.d.ts +27 -0
- package/es/pro-menu/menu-item.vue.js +35 -0
- package/es/pro-menu/menu-item.vue2.js +4 -0
- package/es/pro-menu/pro-menu-item.vue.d.ts +9 -0
- package/es/pro-menu/pro-menu-item.vue.js +63 -0
- package/es/pro-menu/pro-menu-item.vue2.js +4 -0
- package/es/pro-menu/pro-menu.vue.d.ts +9 -55
- package/es/pro-menu/pro-menu.vue.js +36 -119
- package/es/pro-menu/sub-menu.vue.d.ts +22 -0
- package/es/pro-menu/sub-menu.vue.js +55 -0
- package/es/pro-menu/sub-menu.vue2.js +4 -0
- package/es/pro-menu/util.d.ts +9 -0
- package/es/pro-menu/util.js +7 -0
- package/es/pro-page-container/constant.d.ts +2 -0
- package/es/pro-page-container/constant.js +9 -0
- package/es/pro-page-container/index.d.ts +7 -21
- package/es/pro-page-container/index.js +6 -8
- package/es/pro-page-container/interface.d.ts +12 -0
- package/es/pro-page-container/pro-page-container.vue.d.ts +4 -15
- package/es/pro-page-container/pro-page-container.vue.js +58 -38
- package/es/pro-page-header/constant.d.ts +2 -0
- package/es/pro-page-header/constant.js +13 -0
- package/es/pro-page-header/index.d.ts +12 -146
- package/es/pro-page-header/index.js +6 -8
- package/es/pro-page-header/interface.d.ts +21 -0
- package/es/pro-page-header/pro-page-header.vue.d.ts +18 -103
- package/es/pro-page-header/pro-page-header.vue.js +141 -124
- package/es/pro-reuse-tabs/index.d.ts +8 -6
- package/es/pro-reuse-tabs/index.js +6 -7
- package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +2 -2
- package/es/pro-reuse-tabs/pro-reuse-tabs.vue.js +33 -35
- package/es/pro-table/index.d.ts +18 -18
- package/es/pro-table/index.js +6 -7
- package/es/pro-table/index.vue.d.ts +6 -6
- package/es/pro-table/index.vue.js +94 -39
- package/es/pro-table/interface.d.ts +73 -65
- package/es/pro-textarea/index.d.ts +7 -5
- package/es/pro-textarea/index.js +5 -6
- package/es/pro-textarea/index.vue.d.ts +1 -1
- package/es/pro-textarea/index.vue.js +1 -1
- package/es/pro-textarea/index.vue2.js +14 -16
- package/es/pro-textarea/{inerface.d.ts → interface.d.ts} +19 -18
- package/es/style.css +1 -1
- package/es/utils.d.ts +6 -0
- package/es/utils.js +7 -0
- package/package.json +5 -4
- package/es/pro-date-range-picker/inerface.d.ts +0 -26
- package/es/pro-page-container/inerface.d.ts +0 -12
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineComponent as b, useSlots as N, ref as d, createBlock as h, openBlock as C, unref as o, normalizeClass as i, withCtx as s, createVNode as l, mergeProps as m, renderSlot as S, createCommentVNode as z, normalizeProps as k, guardReactiveProps as $, createTextVNode as w } from "vue";
|
|
2
|
+
import { testUserName as x } from "../pro-login/regexp.js";
|
|
3
|
+
import { Form as B, FormItem as u, Input as f, Button as R } from "@arco-design/web-vue";
|
|
4
|
+
const c = "keyblade-find-password", E = /* @__PURE__ */ b({
|
|
5
|
+
__name: "verify-user-name",
|
|
6
|
+
props: {
|
|
7
|
+
current: {},
|
|
8
|
+
phoneNum: {},
|
|
9
|
+
inputProps: { default: () => ({
|
|
10
|
+
size: "large"
|
|
11
|
+
}) },
|
|
12
|
+
countdown: {},
|
|
13
|
+
formItemProps: { default: () => ({
|
|
14
|
+
hideLabel: !0,
|
|
15
|
+
validateTrigger: []
|
|
16
|
+
}) },
|
|
17
|
+
onNext: {},
|
|
18
|
+
onSendSmsCode: {},
|
|
19
|
+
onEntry: {},
|
|
20
|
+
"update:current": {},
|
|
21
|
+
prefixClsName: {}
|
|
22
|
+
},
|
|
23
|
+
emits: ["submit"],
|
|
24
|
+
setup(U, { expose: v, emit: y }) {
|
|
25
|
+
const P = y, g = N(), n = d(), a = d({
|
|
26
|
+
username: "",
|
|
27
|
+
captcha: ""
|
|
28
|
+
}), V = {
|
|
29
|
+
username: [{
|
|
30
|
+
required: !0,
|
|
31
|
+
message: "请输入用户名或手机号"
|
|
32
|
+
}, {
|
|
33
|
+
validator: x
|
|
34
|
+
}],
|
|
35
|
+
captcha: [{
|
|
36
|
+
required: !0,
|
|
37
|
+
message: "请输入验证码"
|
|
38
|
+
}]
|
|
39
|
+
}, p = (r) => {
|
|
40
|
+
var e;
|
|
41
|
+
(e = n.value) == null || e.clearValidate(r);
|
|
42
|
+
}, I = () => {
|
|
43
|
+
P("submit", a.value);
|
|
44
|
+
};
|
|
45
|
+
return v({
|
|
46
|
+
formRef: n
|
|
47
|
+
}), (r, e) => (C(), h(o(B), {
|
|
48
|
+
ref_key: "formRef",
|
|
49
|
+
ref: n,
|
|
50
|
+
model: a.value,
|
|
51
|
+
rules: V,
|
|
52
|
+
class: i(`${c}-verify-user-name`),
|
|
53
|
+
onSubmitSuccess: I
|
|
54
|
+
}, {
|
|
55
|
+
default: s(() => [
|
|
56
|
+
l(o(u), m({ field: "username" }, r.formItemProps), {
|
|
57
|
+
default: s(() => [
|
|
58
|
+
l(o(f), m(r.inputProps, {
|
|
59
|
+
modelValue: a.value.username,
|
|
60
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => a.value.username = t),
|
|
61
|
+
"max-length": 16,
|
|
62
|
+
placeholder: "请输入用户名/手机号",
|
|
63
|
+
onInput: e[1] || (e[1] = (t) => p("username"))
|
|
64
|
+
}), null, 16, ["modelValue"])
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
}, 16),
|
|
68
|
+
l(o(u), m({ field: "captcha" }, r.formItemProps), {
|
|
69
|
+
default: s(() => [
|
|
70
|
+
l(o(f), m(r.inputProps, {
|
|
71
|
+
modelValue: a.value.captcha,
|
|
72
|
+
"onUpdate:modelValue": e[2] || (e[2] = (t) => a.value.captcha = t),
|
|
73
|
+
"max-length": 4,
|
|
74
|
+
placeholder: "请输入短信验证码",
|
|
75
|
+
onInput: e[3] || (e[3] = (t) => p("captcha"))
|
|
76
|
+
}), {
|
|
77
|
+
append: s(() => [
|
|
78
|
+
o(g)["verify-code"] ? S(r.$slots, "verify-code", { key: 0 }) : z("", !0)
|
|
79
|
+
]),
|
|
80
|
+
_: 3
|
|
81
|
+
}, 16, ["modelValue"])
|
|
82
|
+
]),
|
|
83
|
+
_: 3
|
|
84
|
+
}, 16),
|
|
85
|
+
l(o(u), k($(r.formItemProps)), {
|
|
86
|
+
default: s(() => {
|
|
87
|
+
var t;
|
|
88
|
+
return [
|
|
89
|
+
l(o(R), {
|
|
90
|
+
type: "primary",
|
|
91
|
+
long: "",
|
|
92
|
+
"html-type": "submit",
|
|
93
|
+
size: (t = r.inputProps) == null ? void 0 : t.size,
|
|
94
|
+
class: i(`${c}-verify-submit`)
|
|
95
|
+
}, {
|
|
96
|
+
default: s(() => e[4] || (e[4] = [
|
|
97
|
+
w(" 下一步 ")
|
|
98
|
+
])),
|
|
99
|
+
_: 1
|
|
100
|
+
}, 8, ["size", "class"])
|
|
101
|
+
];
|
|
102
|
+
}),
|
|
103
|
+
_: 1
|
|
104
|
+
}, 16)
|
|
105
|
+
]),
|
|
106
|
+
_: 3
|
|
107
|
+
}, 8, ["model", "class"]));
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
E as default
|
|
112
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
declare const ProFooterBar: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./interface').ProFooterBarProps> & Readonly<{
|
|
4
4
|
onBack?: (() => any) | undefined;
|
|
5
5
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
6
|
back: () => any;
|
|
@@ -13,7 +13,7 @@ declare const ProFooterBar: {
|
|
|
13
13
|
C: {};
|
|
14
14
|
M: {};
|
|
15
15
|
Defaults: {};
|
|
16
|
-
}, Readonly<import('./
|
|
16
|
+
}, Readonly<import('./interface').ProFooterBarProps> & Readonly<{
|
|
17
17
|
onBack?: (() => any) | undefined;
|
|
18
18
|
}>, {}, {}, {}, {}, {
|
|
19
19
|
backText: string;
|
|
@@ -21,7 +21,7 @@ declare const ProFooterBar: {
|
|
|
21
21
|
__isFragment?: never;
|
|
22
22
|
__isTeleport?: never;
|
|
23
23
|
__isSuspense?: never;
|
|
24
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./
|
|
24
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./interface').ProFooterBarProps> & Readonly<{
|
|
25
25
|
onBack?: (() => any) | undefined;
|
|
26
26
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
27
27
|
back: () => any;
|
|
@@ -34,5 +34,8 @@ declare const ProFooterBar: {
|
|
|
34
34
|
}) & {
|
|
35
35
|
install: (app: App) => void;
|
|
36
36
|
};
|
|
37
|
+
/** 导出类型 */
|
|
38
|
+
export * from './interface';
|
|
39
|
+
/** 导出组件 */
|
|
37
40
|
export { ProFooterBar };
|
|
38
41
|
export default ProFooterBar;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
o.use(t), o.use(e), o.component("KbProFooterBar", r);
|
|
1
|
+
import o from "./index.vue.js";
|
|
2
|
+
const a = Object.assign(o, {
|
|
3
|
+
install: (r) => {
|
|
4
|
+
r.component("KbProFooterBar", o);
|
|
6
5
|
}
|
|
7
6
|
});
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
a as ProFooterBar,
|
|
9
|
+
a as default
|
|
11
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-664c6218"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, computed as f, createElementBlock as k, openBlock as u, normalizeClass as B, createVNode as t, unref as a, withCtx as r, withDirectives as h, renderSlot as b, createTextVNode as x, toDisplayString as _, vShow as v } from "vue";
|
|
2
|
+
import { Space as C, Button as S } from "@arco-design/web-vue";
|
|
2
3
|
import { globalProps as c } from "../global-props.js";
|
|
3
|
-
const
|
|
4
|
+
const g = "keyblade-pro-footer-bar", T = /* @__PURE__ */ m({
|
|
4
5
|
__name: "index",
|
|
5
6
|
props: {
|
|
6
7
|
hideBack: { type: Boolean },
|
|
@@ -8,37 +9,34 @@ const w = "keyblade-pro-footer-bar", S = /* @__PURE__ */ u({
|
|
|
8
9
|
onBack: {}
|
|
9
10
|
},
|
|
10
11
|
emits: ["back"],
|
|
11
|
-
setup(
|
|
12
|
-
const l =
|
|
12
|
+
setup(n, { emit: i }) {
|
|
13
|
+
const l = n, s = i, d = () => {
|
|
13
14
|
var e, o;
|
|
14
|
-
|
|
15
|
-
},
|
|
15
|
+
s("back"), (o = (e = c.footerBar) == null ? void 0 : e.onBack) == null || o.call(e);
|
|
16
|
+
}, p = f(() => {
|
|
16
17
|
var e;
|
|
17
18
|
return l.hideBack || ((e = c.footerBar) == null ? void 0 : e.hideBack);
|
|
18
19
|
});
|
|
19
|
-
return (e, o) => {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
default: n(() => [
|
|
28
|
-
x(C(e.backText), 1)
|
|
29
|
-
]),
|
|
30
|
-
_: 1
|
|
31
|
-
}, 512), [
|
|
32
|
-
[g, !d.value]
|
|
20
|
+
return (e, o) => (u(), k("div", {
|
|
21
|
+
class: B(g)
|
|
22
|
+
}, [
|
|
23
|
+
t(a(C), null, {
|
|
24
|
+
default: r(() => [
|
|
25
|
+
h(t(a(S), { onClick: d }, {
|
|
26
|
+
default: r(() => [
|
|
27
|
+
x(_(e.backText), 1)
|
|
33
28
|
]),
|
|
34
|
-
|
|
29
|
+
_: 1
|
|
30
|
+
}, 512), [
|
|
31
|
+
[v, !p.value]
|
|
35
32
|
]),
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
b(e.$slots, "default", {}, void 0, !0)
|
|
34
|
+
]),
|
|
35
|
+
_: 3
|
|
36
|
+
})
|
|
37
|
+
]));
|
|
40
38
|
}
|
|
41
39
|
});
|
|
42
40
|
export {
|
|
43
|
-
|
|
41
|
+
T as default
|
|
44
42
|
};
|
|
@@ -2,11 +2,11 @@ import { App } from 'vue';
|
|
|
2
2
|
declare const ProFormGroup: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
4
|
label: string;
|
|
5
|
-
heading?:
|
|
5
|
+
heading?: 1 | 6 | 2 | 3 | 4 | 5;
|
|
6
6
|
extra?: string;
|
|
7
7
|
hideIcon?: boolean;
|
|
8
8
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
9
|
-
heading:
|
|
9
|
+
heading: 1 | 6 | 2 | 3 | 4 | 5;
|
|
10
10
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
11
11
|
P: {};
|
|
12
12
|
B: {};
|
|
@@ -16,22 +16,22 @@ declare const ProFormGroup: {
|
|
|
16
16
|
Defaults: {};
|
|
17
17
|
}, Readonly<{
|
|
18
18
|
label: string;
|
|
19
|
-
heading?:
|
|
19
|
+
heading?: 1 | 6 | 2 | 3 | 4 | 5;
|
|
20
20
|
extra?: string;
|
|
21
21
|
hideIcon?: boolean;
|
|
22
22
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
23
|
-
heading:
|
|
23
|
+
heading: 1 | 6 | 2 | 3 | 4 | 5;
|
|
24
24
|
}>;
|
|
25
25
|
__isFragment?: never;
|
|
26
26
|
__isTeleport?: never;
|
|
27
27
|
__isSuspense?: never;
|
|
28
28
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
29
29
|
label: string;
|
|
30
|
-
heading?:
|
|
30
|
+
heading?: 1 | 6 | 2 | 3 | 4 | 5;
|
|
31
31
|
extra?: string;
|
|
32
32
|
hideIcon?: boolean;
|
|
33
33
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
34
|
-
heading:
|
|
34
|
+
heading: 1 | 6 | 2 | 3 | 4 | 5;
|
|
35
35
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
36
36
|
$slots: {
|
|
37
37
|
default?(_: {}): any;
|
|
@@ -39,5 +39,6 @@ declare const ProFormGroup: {
|
|
|
39
39
|
}) & {
|
|
40
40
|
install: (app: App) => void;
|
|
41
41
|
};
|
|
42
|
+
/** 导出组件 */
|
|
42
43
|
export { ProFormGroup };
|
|
43
44
|
export default ProFormGroup;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
install: (o) => {
|
|
6
|
-
o.use(m), o.use(t), o.component("KbProFormGroup", r);
|
|
1
|
+
import o from "./index.vue.js";
|
|
2
|
+
const m = Object.assign(o, {
|
|
3
|
+
install: (r) => {
|
|
4
|
+
r.component("KbProFormGroup", o);
|
|
7
5
|
}
|
|
8
6
|
});
|
|
9
7
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
m as ProFormGroup,
|
|
9
|
+
m as default
|
|
12
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
label: string;
|
|
3
3
|
/** 标题大小 */
|
|
4
|
-
heading?:
|
|
4
|
+
heading?: 1 | 6 | 2 | 3 | 4 | 5;
|
|
5
5
|
/** 扩展提示 */
|
|
6
6
|
extra?: string;
|
|
7
7
|
/** 隐藏icon */
|
|
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
|
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
19
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
-
heading:
|
|
20
|
+
heading: 1 | 6 | 2 | 3 | 4 | 5;
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ba9d734f"]]);
|
|
5
5
|
export {
|
|
6
6
|
_ as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
|
|
1
|
+
import { defineComponent as d, createBlock as p, openBlock as t, unref as o, normalizeClass as a, withCtx as l, createVNode as n, createElementBlock as c, createCommentVNode as m, renderSlot as f, createTextVNode as i, toDisplayString as s, withDirectives as u, vShow as h } from "vue";
|
|
2
|
+
import { Typography as g, TypographyTitle as y } from "@arco-design/web-vue";
|
|
3
|
+
import { IconExclamationCircleFill as C } from "@arco-design/web-vue/es/icon";
|
|
4
|
+
const r = "keyblade-pro-form-group", T = /* @__PURE__ */ d({
|
|
3
5
|
__name: "index",
|
|
4
6
|
props: {
|
|
5
7
|
label: {},
|
|
@@ -7,37 +9,34 @@ const a = "keyblade-pro-form-group", v = /* @__PURE__ */ m({
|
|
|
7
9
|
extra: {},
|
|
8
10
|
hideIcon: { type: Boolean }
|
|
9
11
|
},
|
|
10
|
-
setup(
|
|
11
|
-
return (e,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
_: 3
|
|
37
|
-
});
|
|
38
|
-
};
|
|
12
|
+
setup(k) {
|
|
13
|
+
return (e, x) => (t(), p(o(g), {
|
|
14
|
+
class: a(r)
|
|
15
|
+
}, {
|
|
16
|
+
default: l(() => [
|
|
17
|
+
n(o(y), { heading: e.heading }, {
|
|
18
|
+
default: l(() => [
|
|
19
|
+
i(s(e.label), 1)
|
|
20
|
+
]),
|
|
21
|
+
_: 1
|
|
22
|
+
}, 8, ["heading"]),
|
|
23
|
+
e.extra ? (t(), c("div", {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: a(`${r}-extra`)
|
|
26
|
+
}, [
|
|
27
|
+
u(n(o(C), {
|
|
28
|
+
class: a(`${r}-icon`)
|
|
29
|
+
}, null, 8, ["class"]), [
|
|
30
|
+
[h, !e.hideIcon]
|
|
31
|
+
]),
|
|
32
|
+
i(" " + s(e.extra), 1)
|
|
33
|
+
], 2)) : m("", !0),
|
|
34
|
+
f(e.$slots, "default", {}, void 0, !0)
|
|
35
|
+
]),
|
|
36
|
+
_: 3
|
|
37
|
+
}));
|
|
39
38
|
}
|
|
40
39
|
});
|
|
41
40
|
export {
|
|
42
|
-
|
|
41
|
+
T as default
|
|
43
42
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./cropper.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bf0218e0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|