ep-craft 0.1.18 → 0.1.20
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/dist/components/affix/affix.d.ts +55 -0
- package/dist/components/affix/affix.js +199 -0
- package/dist/components/affix/index.d.ts +2 -2
- package/dist/components/affix/index.js +3 -4
- package/dist/components/alert/alert.d.ts +39 -0
- package/dist/components/alert/alert.js +94 -0
- package/dist/components/alert/index.d.ts +2 -2
- package/dist/components/alert/index.js +3 -4
- package/dist/components/anchor/anchor.d.ts +54 -0
- package/dist/components/anchor/anchor.js +153 -0
- package/dist/components/anchor/index.d.ts +2 -2
- package/dist/components/anchor/index.js +3 -4
- package/dist/components/anchor-link/anchor-link.d.ts +17 -0
- package/dist/components/anchor-link/anchor-link.js +51 -0
- package/dist/components/anchor-link/index.d.ts +2 -2
- package/dist/components/anchor-link/index.js +6 -4
- package/dist/components/button/EpButton.vue.d.ts +7 -7
- package/dist/components/check-tag/EpCheckTag.vue.d.ts +1 -1
- package/dist/components/menu/menu.d.ts +6 -6
- package/dist/components/radio/radio.d.ts +2 -2
- package/dist/components/radio/radio.js +49 -37
- package/dist/components/radio-button/radio-button.d.ts +2 -2
- package/dist/components/radio-group/radio-group.d.ts +2 -2
- package/dist/components/tab-pane/tab-pane.d.ts +2 -2
- package/dist/components/tabs/tabs.d.ts +1 -1
- package/dist/components/tag/EpTag.vue.d.ts +4 -4
- package/dist/index.css +1 -1
- package/dist/node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/components/anchor/src/anchor.vue_vue_type_script_setup_true_lang.js +8 -8
- package/package.json +1 -1
- package/theme-chalk/src/common/var.scss +11 -10
- package/theme-chalk/src/radio.scss +41 -56
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/index.js";
|
|
2
1
|
import { withInstall as o } from "../../utils/with-install.js";
|
|
3
|
-
import
|
|
4
|
-
const n =
|
|
2
|
+
import r from "./anchor.js";
|
|
3
|
+
const n = o(r, "ep-anchor");
|
|
5
4
|
export {
|
|
6
|
-
|
|
5
|
+
n as EpAnchor
|
|
7
6
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EpAnchorLink —— 从 element-plus 的 anchor-link 源码 vendored 而来(el -> ep 命名),
|
|
3
|
+
* 样式复用仓库内置的 theme-chalk/src/anchor.scss(命名空间为 el)。
|
|
4
|
+
*
|
|
5
|
+
* 通过 inject(anchorKey) 识别父级 EpAnchor,anchorKey 与 EpAnchor 共用
|
|
6
|
+
* element-plus constants.mjs 中的同一 Symbol,父子识别不受组件改名影响。
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
title: StringConstructor;
|
|
10
|
+
href: StringConstructor;
|
|
11
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
title: StringConstructor;
|
|
15
|
+
href: StringConstructor;
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as m, ref as v, inject as C, computed as L, watch as x, nextTick as A, onMounted as b, onBeforeUnmount as E, h as r, renderSlot as a } from "vue";
|
|
2
|
+
import { anchorKey as j } from "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/components/anchor/src/constants.js";
|
|
3
|
+
import { anchorLinkProps as w } from "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/components/anchor/src/anchor-link.js";
|
|
4
|
+
const K = m({
|
|
5
|
+
name: "EpAnchorLink",
|
|
6
|
+
props: w,
|
|
7
|
+
setup(n, { slots: t }) {
|
|
8
|
+
const c = v(), {
|
|
9
|
+
ns: i,
|
|
10
|
+
direction: h,
|
|
11
|
+
currentAnchor: u,
|
|
12
|
+
addLink: o,
|
|
13
|
+
removeLink: l,
|
|
14
|
+
handleClick: k
|
|
15
|
+
} = C(j), d = L(() => [
|
|
16
|
+
i.e("link"),
|
|
17
|
+
i.is("active", u.value === n.href)
|
|
18
|
+
]), s = (e) => {
|
|
19
|
+
k(e, n.href);
|
|
20
|
+
};
|
|
21
|
+
return x(
|
|
22
|
+
() => n.href,
|
|
23
|
+
(e, f) => {
|
|
24
|
+
A(() => {
|
|
25
|
+
f && l(f), e && o({ href: e, el: c.value });
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
), b(() => {
|
|
29
|
+
const { href: e } = n;
|
|
30
|
+
e && o({ href: e, el: c.value });
|
|
31
|
+
}), E(() => {
|
|
32
|
+
const { href: e } = n;
|
|
33
|
+
e && l(e);
|
|
34
|
+
}), () => r("div", { class: i.e("item") }, [
|
|
35
|
+
r(
|
|
36
|
+
"a",
|
|
37
|
+
{
|
|
38
|
+
ref: c,
|
|
39
|
+
class: d.value,
|
|
40
|
+
href: n.href,
|
|
41
|
+
onClick: s
|
|
42
|
+
},
|
|
43
|
+
[a(t, "default", {}, () => [n.title])]
|
|
44
|
+
),
|
|
45
|
+
t["sub-link"] && h === "vertical" ? r("div", { class: i.e("list") }, [a(t, "sub-link")]) : null
|
|
46
|
+
]);
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
K as default
|
|
51
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Plugin } from 'vue';
|
|
2
|
-
import
|
|
3
|
-
export declare const EpAnchorLink: typeof
|
|
2
|
+
import _EpAnchorLink from './anchor-link';
|
|
3
|
+
export declare const EpAnchorLink: typeof _EpAnchorLink & Plugin;
|
|
4
4
|
export default EpAnchorLink;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { withInstall as o } from "../../utils/with-install.js";
|
|
2
|
+
import n from "./anchor-link.js";
|
|
3
|
+
const p = o(
|
|
4
|
+
n,
|
|
5
|
+
"ep-anchor-link"
|
|
6
|
+
);
|
|
5
7
|
export {
|
|
6
8
|
p as EpAnchorLink
|
|
7
9
|
};
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
66
66
|
}>, {
|
|
67
67
|
ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
68
68
|
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
69
|
-
type: import("vue").ComputedRef<"
|
|
69
|
+
type: import("vue").ComputedRef<"text" | "primary" | "success" | "info" | "warning" | "danger">;
|
|
70
70
|
disabled: import("vue").ComputedRef<boolean>;
|
|
71
71
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
72
72
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -131,17 +131,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
131
131
|
}>> & Readonly<{
|
|
132
132
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
|
-
readonly type: "
|
|
135
|
-
readonly
|
|
134
|
+
readonly type: "text" | "primary" | "success" | "info" | "warning" | "danger";
|
|
135
|
+
readonly link: boolean;
|
|
136
136
|
readonly disabled: boolean;
|
|
137
|
-
readonly
|
|
137
|
+
readonly circle: boolean;
|
|
138
138
|
readonly text: boolean;
|
|
139
|
+
readonly dark: boolean;
|
|
140
|
+
readonly autofocus: boolean;
|
|
139
141
|
readonly loading: boolean;
|
|
140
|
-
readonly
|
|
141
|
-
readonly nativeType: "button" | "submit" | "reset";
|
|
142
|
+
readonly nativeType: "button" | "reset" | "submit";
|
|
142
143
|
readonly loadingIcon: any;
|
|
143
144
|
readonly plain: boolean;
|
|
144
|
-
readonly link: boolean;
|
|
145
145
|
readonly bg: boolean;
|
|
146
146
|
readonly round: boolean;
|
|
147
147
|
readonly dashed: boolean;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
25
25
|
onChange?: ((value: boolean) => any) | undefined;
|
|
26
26
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
|
-
readonly type: "primary" | "success" | "
|
|
28
|
+
readonly type: "primary" | "success" | "info" | "warning" | "danger";
|
|
29
29
|
readonly disabled: boolean;
|
|
30
30
|
readonly checked: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -16,7 +16,7 @@ export declare const menuProps: {
|
|
|
16
16
|
readonly ellipsis: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
17
17
|
readonly popperOffset: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
18
18
|
readonly ellipsisIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
19
|
-
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "
|
|
19
|
+
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "dark" | "light") | (() => "dark" | "light") | (((new (...args: any[]) => "dark" | "light") | (() => "dark" | "light")) | null)[], unknown, unknown, "dark", boolean>;
|
|
20
20
|
readonly popperClass: StringConstructor;
|
|
21
21
|
readonly popperStyle: {
|
|
22
22
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
51
51
|
readonly ellipsis: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
52
52
|
readonly popperOffset: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
53
53
|
readonly ellipsisIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
54
|
-
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "
|
|
54
|
+
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "dark" | "light") | (() => "dark" | "light") | (((new (...args: any[]) => "dark" | "light") | (() => "dark" | "light")) | null)[], unknown, unknown, "dark", boolean>;
|
|
55
55
|
readonly popperClass: StringConstructor;
|
|
56
56
|
readonly popperStyle: {
|
|
57
57
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
84
84
|
readonly ellipsis: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
85
85
|
readonly popperOffset: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
86
86
|
readonly ellipsisIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, boolean>;
|
|
87
|
-
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "
|
|
87
|
+
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => "dark" | "light") | (() => "dark" | "light") | (((new (...args: any[]) => "dark" | "light") | (() => "dark" | "light")) | null)[], unknown, unknown, "dark", boolean>;
|
|
88
88
|
readonly popperClass: StringConstructor;
|
|
89
89
|
readonly popperStyle: {
|
|
90
90
|
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties) | (((new (...args: any[]) => string | CSSProperties) | (() => string | CSSProperties)) | null)[], unknown, unknown>>;
|
|
@@ -96,14 +96,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
96
96
|
readonly hideTimeout: import("element-plus/es/utils/index.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
97
97
|
readonly persistent: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
98
98
|
}>> & Readonly<{
|
|
99
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
100
99
|
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<unknown> | undefined) => any) | undefined;
|
|
100
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
101
101
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
102
102
|
}>, {
|
|
103
|
+
readonly mode: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
103
104
|
readonly persistent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
104
105
|
readonly showTimeout: number;
|
|
105
106
|
readonly hideTimeout: number;
|
|
106
|
-
readonly mode: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
107
107
|
readonly collapse: boolean;
|
|
108
108
|
readonly defaultActive: string;
|
|
109
109
|
readonly defaultOpeneds: string[];
|
|
@@ -112,7 +112,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
112
112
|
readonly ellipsis: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
113
113
|
readonly popperOffset: number;
|
|
114
114
|
readonly ellipsisIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>;
|
|
115
|
-
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "
|
|
115
|
+
readonly popperEffect: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => "dark" | "light") | (() => "dark" | "light") | (((new (...args: any[]) => "dark" | "light") | (() => "dark" | "light")) | null)[], unknown, unknown>;
|
|
116
116
|
readonly uniqueOpened: boolean;
|
|
117
117
|
readonly router: boolean;
|
|
118
118
|
readonly closeOnClickOutside: boolean;
|
|
@@ -42,10 +42,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
42
|
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
44
|
readonly name: string;
|
|
45
|
+
readonly label: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
45
46
|
readonly disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
46
|
-
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
47
47
|
readonly value: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
48
|
-
readonly
|
|
48
|
+
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
49
49
|
readonly border: boolean;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
51
51
|
export default _default;
|
|
@@ -1,70 +1,82 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { CHANGE_EVENT as
|
|
3
|
-
import { useNamespace as
|
|
4
|
-
import { radioEmits as
|
|
1
|
+
import { defineComponent as b, h as a, withDirectives as h, withModifiers as d, vModelRadio as g, renderSlot as x, nextTick as k } from "vue";
|
|
2
|
+
import { CHANGE_EVENT as y } from "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/constants/event.js";
|
|
3
|
+
import { useNamespace as E } from "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/hooks/use-namespace/index.js";
|
|
4
|
+
import { radioEmits as C, radioProps as R } from "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/components/radio/src/radio.js";
|
|
5
5
|
import { useRadio as w } from "../../node_modules/.pnpm/element-plus@2.14.3_vue@3.5.40_typescript@5.9.3_/node_modules/element-plus/es/components/radio/src/use-radio.js";
|
|
6
|
-
const _ =
|
|
6
|
+
const _ = b({
|
|
7
7
|
name: "EpRadio",
|
|
8
|
-
props:
|
|
9
|
-
emits:
|
|
10
|
-
setup(
|
|
11
|
-
const e =
|
|
12
|
-
k(() => n(
|
|
13
|
-
}
|
|
14
|
-
|
|
8
|
+
props: R,
|
|
9
|
+
emits: C,
|
|
10
|
+
setup(l, { emit: n, slots: t }) {
|
|
11
|
+
const e = E("radio"), { radioRef: u, radioGroup: c, focus: o, size: v, disabled: r, modelValue: i, actualValue: s } = w(l, n), m = () => {
|
|
12
|
+
k(() => n(y, i.value));
|
|
13
|
+
}, p = () => a("svg", { class: e.e("indicator"), viewBox: "0 0 16 16" }, [
|
|
14
|
+
a("circle", { class: e.e("indicator-ring"), cx: 8, cy: 8, r: 7 }),
|
|
15
|
+
a("g", { class: e.e("indicator-checked") }, [
|
|
16
|
+
a("circle", {
|
|
17
|
+
class: e.e("indicator-ring-outer"),
|
|
18
|
+
cx: 8,
|
|
19
|
+
cy: 8,
|
|
20
|
+
r: 7.5
|
|
21
|
+
}),
|
|
22
|
+
a("circle", { class: e.e("indicator-gap"), cx: 8, cy: 8, r: 6 }),
|
|
23
|
+
a("circle", { class: e.e("indicator-dot"), cx: 8, cy: 8, r: 4.09 })
|
|
24
|
+
])
|
|
25
|
+
]);
|
|
26
|
+
return () => a(
|
|
15
27
|
"label",
|
|
16
28
|
{
|
|
17
29
|
class: [
|
|
18
30
|
e.b(),
|
|
19
|
-
e.is("disabled",
|
|
20
|
-
e.is("focus",
|
|
21
|
-
e.is("bordered",
|
|
22
|
-
e.is("checked",
|
|
23
|
-
e.m(
|
|
31
|
+
e.is("disabled", r.value),
|
|
32
|
+
e.is("focus", o.value),
|
|
33
|
+
e.is("bordered", l.border),
|
|
34
|
+
e.is("checked", i.value === s.value),
|
|
35
|
+
e.m(v.value)
|
|
24
36
|
]
|
|
25
37
|
},
|
|
26
38
|
[
|
|
27
|
-
|
|
39
|
+
a(
|
|
28
40
|
"span",
|
|
29
41
|
{
|
|
30
42
|
class: [
|
|
31
43
|
e.e("input"),
|
|
32
|
-
e.is("disabled",
|
|
33
|
-
e.is("checked",
|
|
44
|
+
e.is("disabled", r.value),
|
|
45
|
+
e.is("checked", i.value === s.value)
|
|
34
46
|
]
|
|
35
47
|
},
|
|
36
48
|
[
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
ref:
|
|
49
|
+
h(
|
|
50
|
+
a("input", {
|
|
51
|
+
ref: u,
|
|
40
52
|
class: e.e("original"),
|
|
41
53
|
value: s.value,
|
|
42
|
-
name:
|
|
43
|
-
disabled:
|
|
44
|
-
checked:
|
|
54
|
+
name: l.name || (c == null ? void 0 : c.name),
|
|
55
|
+
disabled: r.value,
|
|
56
|
+
checked: i.value === s.value,
|
|
45
57
|
type: "radio",
|
|
46
|
-
onFocus: () =>
|
|
47
|
-
onBlur: () =>
|
|
48
|
-
onChange:
|
|
49
|
-
onClick:
|
|
58
|
+
onFocus: () => o.value = !0,
|
|
59
|
+
onBlur: () => o.value = !1,
|
|
60
|
+
onChange: m,
|
|
61
|
+
onClick: d(() => {
|
|
50
62
|
}, ["stop"]),
|
|
51
|
-
"onUpdate:modelValue": (
|
|
52
|
-
|
|
63
|
+
"onUpdate:modelValue": (f) => {
|
|
64
|
+
i.value = f;
|
|
53
65
|
}
|
|
54
66
|
}),
|
|
55
|
-
[[
|
|
67
|
+
[[g, i.value]]
|
|
56
68
|
),
|
|
57
|
-
|
|
69
|
+
a("span", { class: e.e("inner") }, [p()])
|
|
58
70
|
]
|
|
59
71
|
),
|
|
60
|
-
|
|
72
|
+
a(
|
|
61
73
|
"span",
|
|
62
74
|
{
|
|
63
75
|
class: e.e("label"),
|
|
64
|
-
onKeydown:
|
|
76
|
+
onKeydown: d(() => {
|
|
65
77
|
}, ["stop"])
|
|
66
78
|
},
|
|
67
|
-
[
|
|
79
|
+
[x(t, "default", {}, () => [l.label])]
|
|
68
80
|
)
|
|
69
81
|
]
|
|
70
82
|
);
|
|
@@ -32,9 +32,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
32
|
readonly name: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
33
33
|
}>> & Readonly<{}>, {
|
|
34
34
|
readonly name: string;
|
|
35
|
+
readonly label: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
35
36
|
readonly disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
|
-
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
37
37
|
readonly value: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
38
|
-
readonly
|
|
38
|
+
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropMergeType<(BooleanConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
39
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
40
|
export default _default;
|
|
@@ -55,10 +55,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
55
|
}>, {
|
|
56
56
|
readonly props: import("element-plus").radioOptionProp;
|
|
57
57
|
readonly name: string;
|
|
58
|
-
readonly fill: string;
|
|
59
58
|
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "radio", unknown>;
|
|
60
|
-
readonly
|
|
59
|
+
readonly fill: string;
|
|
61
60
|
readonly disabled: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
61
|
+
readonly id: string;
|
|
62
62
|
readonly modelValue: import("element-plus/es/utils/index.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor], unknown, unknown>;
|
|
63
63
|
readonly validateEvent: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
64
|
readonly textColor: string;
|
|
@@ -23,9 +23,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
23
|
readonly disabled: BooleanConstructor;
|
|
24
24
|
readonly lazy: BooleanConstructor;
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
|
-
readonly closable: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
27
|
-
readonly disabled: boolean;
|
|
28
26
|
readonly label: string;
|
|
27
|
+
readonly disabled: boolean;
|
|
28
|
+
readonly closable: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
29
29
|
readonly lazy: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export default _default;
|
|
@@ -105,7 +105,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
105
|
readonly editable: boolean;
|
|
106
106
|
readonly stretch: boolean;
|
|
107
107
|
readonly addable: boolean;
|
|
108
|
-
readonly tabPosition: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "top" | "bottom" | "
|
|
108
|
+
readonly tabPosition: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "top" | "bottom" | "left" | "right", unknown>;
|
|
109
109
|
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => import("element-plus/es/utils/typescript.mjs").Awaitable<void | boolean>;
|
|
110
110
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
111
111
|
export default _default;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
25
25
|
};
|
|
26
26
|
readonly round: BooleanConstructor;
|
|
27
27
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
close: (evt: MouseEvent) => void;
|
|
29
28
|
click: (evt: MouseEvent) => void;
|
|
29
|
+
close: (evt: MouseEvent) => void;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
readonly type: {
|
|
32
32
|
readonly type: import("vue").PropType<typeof import("./tag").tagTypes[number]>;
|
|
@@ -48,12 +48,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
48
48
|
};
|
|
49
49
|
readonly round: BooleanConstructor;
|
|
50
50
|
}>> & Readonly<{
|
|
51
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
52
51
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
52
|
+
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
readonly type: "primary" | "success" | "
|
|
54
|
+
readonly type: "primary" | "success" | "info" | "warning" | "danger";
|
|
55
55
|
readonly closable: boolean;
|
|
56
|
-
readonly effect: "
|
|
56
|
+
readonly effect: "dark" | "light" | "plain";
|
|
57
57
|
readonly round: boolean;
|
|
58
58
|
readonly disableTransitions: boolean;
|
|
59
59
|
readonly hit: boolean;
|