@aplus-frontend/ui 0.0.1-beta.23 → 0.0.1-beta.25
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/index.mjs +104 -100
- package/es/src/ap-download/ap-download.vue.d.ts +41 -0
- package/es/src/ap-download/ap-download.vue.mjs +56 -0
- package/es/src/ap-download/ap-download.vue2.mjs +4 -0
- package/es/src/ap-download/hooks/index.d.ts +9 -0
- package/es/src/ap-download/hooks/index.mjs +20 -0
- package/es/src/ap-download/index.d.ts +4 -0
- package/es/src/ap-download/index.mjs +2 -0
- package/es/src/ap-download/interface.d.ts +33 -0
- package/es/src/ap-download/interface.mjs +1 -0
- package/es/src/ap-download/style/ap-download.css +51 -0
- package/es/src/ap-form/index.d.ts +3 -1
- package/es/src/ap-form/index.mjs +15 -11
- package/es/src/ap-form/interface.d.ts +19 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +369 -0
- package/es/src/ap-form/modal-form/index.vue.mjs +195 -0
- package/es/src/ap-form/modal-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/style/modal-form.css +17 -0
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +197 -192
- package/es/src/theme/antd-global-overwrite/admin/button.css +8 -1
- package/es/src/theme/antd-global-overwrite/admin/index.css +8 -1
- package/es/src/theme/antd-global-overwrite/aplus/button.css +8 -1
- package/es/src/theme/antd-global-overwrite/aplus/index.css +26 -10
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +0 -1
- package/es/src/theme/antd-global-overwrite/aplus/table.css +18 -8
- package/es/src/theme/ap-download/ap-download.css +51 -0
- package/es/src/theme/ap-form/modal-form.css +17 -0
- package/es/src/utils/slot.d.ts +7 -1
- package/es/src/utils/slot.mjs +25 -15
- package/lib/index.js +1 -1
- package/lib/src/ap-download/ap-download.vue.d.ts +41 -0
- package/lib/src/ap-download/ap-download.vue.js +1 -0
- package/lib/src/ap-download/ap-download.vue2.js +1 -0
- package/lib/src/ap-download/hooks/index.d.ts +9 -0
- package/lib/src/ap-download/hooks/index.js +1 -0
- package/lib/src/ap-download/index.d.ts +4 -0
- package/lib/src/ap-download/index.js +1 -0
- package/lib/src/ap-download/interface.d.ts +33 -0
- package/lib/src/ap-download/interface.js +1 -0
- package/lib/src/ap-download/style/ap-download.css +51 -0
- package/lib/src/ap-form/index.d.ts +3 -1
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +19 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +369 -0
- package/lib/src/ap-form/modal-form/index.vue.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue2.js +1 -0
- package/lib/src/ap-form/style/modal-form.css +17 -0
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/button.css +8 -1
- package/lib/src/theme/antd-global-overwrite/admin/index.css +8 -1
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +8 -1
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +26 -10
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +0 -1
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +18 -8
- package/lib/src/theme/ap-download/ap-download.css +51 -0
- package/lib/src/theme/ap-form/modal-form.css +17 -0
- package/lib/src/utils/slot.d.ts +7 -1
- package/lib/src/utils/slot.js +1 -1
- package/package.json +3 -3
- package/es/src/base-button/index.d.ts +0 -137
- package/es/src/basic/index.d.ts +0 -278
- package/es/src/button/index.d.ts +0 -51
- package/es/src/config-provider/index.d.ts +0 -691
- package/es/src/container/index.d.ts +0 -178
- package/es/src/count-down/index.d.ts +0 -150
- package/es/src/description/index.d.ts +0 -214
- package/es/src/dropdown/index.d.ts +0 -113
- package/es/src/icon/index.d.ts +0 -208
- package/es/src/icon-picker/index.d.ts +0 -190
- package/es/src/scroll-bar/index.d.ts +0 -177
- package/es/src/strength-meter/index.d.ts +0 -89
- package/es/src/transition/index.d.ts +0 -369
- package/lib/src/base-button/index.d.ts +0 -137
- package/lib/src/basic/index.d.ts +0 -278
- package/lib/src/button/index.d.ts +0 -51
- package/lib/src/config-provider/index.d.ts +0 -691
- package/lib/src/container/index.d.ts +0 -178
- package/lib/src/count-down/index.d.ts +0 -150
- package/lib/src/description/index.d.ts +0 -214
- package/lib/src/dropdown/index.d.ts +0 -113
- package/lib/src/icon/index.d.ts +0 -208
- package/lib/src/icon-picker/index.d.ts +0 -190
- package/lib/src/scroll-bar/index.d.ts +0 -177
- package/lib/src/strength-meter/index.d.ts +0 -89
- package/lib/src/transition/index.d.ts +0 -369
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.aplus-download-wrapper {
|
|
2
|
+
text-wrap: nowrap;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
.aplus-download-inner-wrapper {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
color: var(--download-main-color);
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
.aplus-download-inner-wrapper .icon {
|
|
14
|
+
position: relative;
|
|
15
|
+
font-size: 18px;
|
|
16
|
+
}
|
|
17
|
+
.aplus-download-inner-wrapper .text {
|
|
18
|
+
margin-left: 5px;
|
|
19
|
+
}
|
|
20
|
+
.aplus-download-inner-wrapper:hover {
|
|
21
|
+
color: var(--download-main-color-opacity);
|
|
22
|
+
}
|
|
23
|
+
.aplus-download-inner-wrapper--large {
|
|
24
|
+
line-height: 26px;
|
|
25
|
+
height: 28px;
|
|
26
|
+
font-size: 16px;
|
|
27
|
+
}
|
|
28
|
+
.aplus-download-inner-wrapper--middle {
|
|
29
|
+
line-height: 22px;
|
|
30
|
+
height: 24px;
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
}
|
|
33
|
+
.aplus-download-inner-wrapper--small {
|
|
34
|
+
line-height: 19px;
|
|
35
|
+
height: 20px;
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
}
|
|
38
|
+
.aplus-download-inner-wrapper--disabled {
|
|
39
|
+
color: #8896b0;
|
|
40
|
+
cursor: not-allowed;
|
|
41
|
+
}
|
|
42
|
+
.aplus-download-inner-wrapper--disabled:hover {
|
|
43
|
+
color: #8896b0;
|
|
44
|
+
}
|
|
45
|
+
.aplus-download-inner-wrapper--disabled-admin {
|
|
46
|
+
cursor: not-allowed;
|
|
47
|
+
color: #999;
|
|
48
|
+
}
|
|
49
|
+
.aplus-download-inner-wrapper--disabled-admin:hover {
|
|
50
|
+
color: #999;
|
|
51
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.aplus-ap-form-modal-form .ant-modal-content {
|
|
2
|
+
padding: 0;
|
|
3
|
+
}
|
|
4
|
+
.aplus-ap-form-modal-form .ant-modal-header {
|
|
5
|
+
padding: 15px 20px;
|
|
6
|
+
border-bottom: 1px solid #E9EDF3;
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
}
|
|
9
|
+
.aplus-ap-form-modal-form .ant-modal-body {
|
|
10
|
+
padding: 20px;
|
|
11
|
+
}
|
|
12
|
+
.aplus-ap-form-modal-form__footer {
|
|
13
|
+
padding-top: 20px;
|
|
14
|
+
}
|
|
15
|
+
.aplus-ap-form-modal-form .ant-modal-close {
|
|
16
|
+
top: 16px;
|
|
17
|
+
}
|
package/lib/src/utils/slot.d.ts
CHANGED
|
@@ -5,9 +5,15 @@ type SlotOptions = FormRenderOpts;
|
|
|
5
5
|
/**
|
|
6
6
|
* @description: Get slot to prevent empty error
|
|
7
7
|
*/
|
|
8
|
-
export declare function getSlot(slots: Slots, slot?: string, data?: Record<string, any>, opts?: SlotOptions): VNode<RendererNode, RendererElement, {
|
|
8
|
+
export declare function getSlot(slots: Slots, slot?: string, data?: Record<string, any>, opts?: SlotOptions): VNode< RendererNode, RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>[] | null;
|
|
11
|
+
/**
|
|
12
|
+
* 获取某个插槽下的唯一VNode
|
|
13
|
+
* @param slot
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSingleVNode(slot: any): VNode | undefined;
|
|
11
17
|
/**
|
|
12
18
|
* extends slots
|
|
13
19
|
* @param slots
|
package/lib/src/utils/slot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@fruits-chain/utils"),l=require("lodash-unified");function c(n,e="default",i,r){if(!n||!Reflect.has(n,e))return null;if(!o.isFunction(n[e]))return console.error(`${e} is not a function!`),null;const t=n[e];if(!t)return null;const u={...i,...r};return t(u)}function f(n){if(!n||!o.isFunction(n)){console.error(`${n} is not a function!`);return}const e=n();return l.isArray(e)?e[0]:e}function s(n,e=[]){const i=Object.keys(n),r={};return i.map(t=>{if(e.includes(t))return null;r[t]=u=>c(n,t,u)}),r}exports.extendSlots=s;exports.getSingleVNode=f;exports.getSlot=c;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aplus-frontend/ui",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.25",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"sortablejs": "^1.15.2",
|
|
61
61
|
"@aplus-frontend/oss": "^1.0.11",
|
|
62
62
|
"mime": "^4.0.3",
|
|
63
|
-
"@aplus-frontend/
|
|
64
|
-
"@aplus-frontend/
|
|
63
|
+
"@aplus-frontend/hooks": "1.0.4",
|
|
64
|
+
"@aplus-frontend/utils": "1.0.19"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"ant-design-vue": "^4.2.1",
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { default as ModalButton } from './modal-button.vue';
|
|
2
|
-
import { default as PopConfirmButton } from './pop-confirm-button.vue';
|
|
3
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '@vue/runtime-core';
|
|
4
|
-
export * from './interface';
|
|
5
|
-
export { ModalButton, PopConfirmButton };
|
|
6
|
-
export declare const BaseButton: {
|
|
7
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
-
text: {
|
|
9
|
-
type: PropType<string>;
|
|
10
|
-
};
|
|
11
|
-
color: {
|
|
12
|
-
type: PropType<"primary" | "success" | "error" | "warning">;
|
|
13
|
-
};
|
|
14
|
-
disabled: {
|
|
15
|
-
type: PropType<boolean>;
|
|
16
|
-
};
|
|
17
|
-
onClick: {
|
|
18
|
-
type: PropType<() => void>;
|
|
19
|
-
};
|
|
20
|
-
loading: {
|
|
21
|
-
type: PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
preIcon: {
|
|
24
|
-
type: PropType<string>;
|
|
25
|
-
};
|
|
26
|
-
postIcon: {
|
|
27
|
-
type: PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
iconSize: {
|
|
30
|
-
type: PropType<number>;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
34
|
-
text: {
|
|
35
|
-
type: PropType<string>;
|
|
36
|
-
};
|
|
37
|
-
color: {
|
|
38
|
-
type: PropType<"primary" | "success" | "error" | "warning">;
|
|
39
|
-
};
|
|
40
|
-
disabled: {
|
|
41
|
-
type: PropType<boolean>;
|
|
42
|
-
};
|
|
43
|
-
onClick: {
|
|
44
|
-
type: PropType<() => void>;
|
|
45
|
-
};
|
|
46
|
-
loading: {
|
|
47
|
-
type: PropType<boolean>;
|
|
48
|
-
};
|
|
49
|
-
preIcon: {
|
|
50
|
-
type: PropType<string>;
|
|
51
|
-
};
|
|
52
|
-
postIcon: {
|
|
53
|
-
type: PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
iconSize: {
|
|
56
|
-
type: PropType<number>;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
}>>, {
|
|
60
|
-
iconSize: number;
|
|
61
|
-
}, true, {}, {}, {
|
|
62
|
-
P: {};
|
|
63
|
-
B: {};
|
|
64
|
-
D: {};
|
|
65
|
-
C: {};
|
|
66
|
-
M: {};
|
|
67
|
-
Defaults: {};
|
|
68
|
-
}, Readonly< ExtractPropTypes<{
|
|
69
|
-
text: {
|
|
70
|
-
type: PropType<string>;
|
|
71
|
-
};
|
|
72
|
-
color: {
|
|
73
|
-
type: PropType<"primary" | "success" | "error" | "warning">;
|
|
74
|
-
};
|
|
75
|
-
disabled: {
|
|
76
|
-
type: PropType<boolean>;
|
|
77
|
-
};
|
|
78
|
-
onClick: {
|
|
79
|
-
type: PropType<() => void>;
|
|
80
|
-
};
|
|
81
|
-
loading: {
|
|
82
|
-
type: PropType<boolean>;
|
|
83
|
-
};
|
|
84
|
-
preIcon: {
|
|
85
|
-
type: PropType<string>;
|
|
86
|
-
};
|
|
87
|
-
postIcon: {
|
|
88
|
-
type: PropType<string>;
|
|
89
|
-
};
|
|
90
|
-
iconSize: {
|
|
91
|
-
type: PropType<number>;
|
|
92
|
-
default: number;
|
|
93
|
-
};
|
|
94
|
-
}>>, {}, {}, {}, {}, {
|
|
95
|
-
iconSize: number;
|
|
96
|
-
}>;
|
|
97
|
-
__isFragment?: undefined;
|
|
98
|
-
__isTeleport?: undefined;
|
|
99
|
-
__isSuspense?: undefined;
|
|
100
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
101
|
-
text: {
|
|
102
|
-
type: PropType<string>;
|
|
103
|
-
};
|
|
104
|
-
color: {
|
|
105
|
-
type: PropType<"primary" | "success" | "error" | "warning">;
|
|
106
|
-
};
|
|
107
|
-
disabled: {
|
|
108
|
-
type: PropType<boolean>;
|
|
109
|
-
};
|
|
110
|
-
onClick: {
|
|
111
|
-
type: PropType<() => void>;
|
|
112
|
-
};
|
|
113
|
-
loading: {
|
|
114
|
-
type: PropType<boolean>;
|
|
115
|
-
};
|
|
116
|
-
preIcon: {
|
|
117
|
-
type: PropType<string>;
|
|
118
|
-
};
|
|
119
|
-
postIcon: {
|
|
120
|
-
type: PropType<string>;
|
|
121
|
-
};
|
|
122
|
-
iconSize: {
|
|
123
|
-
type: PropType<number>;
|
|
124
|
-
default: number;
|
|
125
|
-
};
|
|
126
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
127
|
-
iconSize: number;
|
|
128
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
129
|
-
$slots: {
|
|
130
|
-
icon?(_: {}): any;
|
|
131
|
-
default?(_: any): any;
|
|
132
|
-
};
|
|
133
|
-
}) & Plugin<any[]> & (new (...args: any[]) => {
|
|
134
|
-
$props: {
|
|
135
|
-
onClick?: (() => void) | undefined;
|
|
136
|
-
};
|
|
137
|
-
});
|
package/es/src/basic/index.d.ts
DELETED
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, VNodeChild, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '@vue/runtime-core';
|
|
2
|
-
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
3
|
-
export * from './interface';
|
|
4
|
-
export declare const BasicHelp: {
|
|
5
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
|
-
maxWidth: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
showIndex: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
};
|
|
13
|
-
color: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
fontSize: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
placement: {
|
|
22
|
-
type: PropType<TooltipPlacement>;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
text: {
|
|
26
|
-
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
}> | VNodeChild>;
|
|
29
|
-
};
|
|
30
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
31
|
-
maxWidth: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
showIndex: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
};
|
|
38
|
-
color: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
fontSize: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
placement: {
|
|
47
|
-
type: PropType<TooltipPlacement>;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
text: {
|
|
51
|
-
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
52
|
-
[key: string]: any;
|
|
53
|
-
}> | VNodeChild>;
|
|
54
|
-
};
|
|
55
|
-
}>>, {
|
|
56
|
-
color: string;
|
|
57
|
-
placement: TooltipPlacement;
|
|
58
|
-
fontSize: string;
|
|
59
|
-
maxWidth: string;
|
|
60
|
-
showIndex: boolean;
|
|
61
|
-
}, true, {}, {}, {
|
|
62
|
-
P: {};
|
|
63
|
-
B: {};
|
|
64
|
-
D: {};
|
|
65
|
-
C: {};
|
|
66
|
-
M: {};
|
|
67
|
-
Defaults: {};
|
|
68
|
-
}, Readonly< ExtractPropTypes<{
|
|
69
|
-
maxWidth: {
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
showIndex: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
};
|
|
76
|
-
color: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
fontSize: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
placement: {
|
|
85
|
-
type: PropType<TooltipPlacement>;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
text: {
|
|
89
|
-
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
90
|
-
[key: string]: any;
|
|
91
|
-
}> | VNodeChild>;
|
|
92
|
-
};
|
|
93
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
94
|
-
color: string;
|
|
95
|
-
placement: TooltipPlacement;
|
|
96
|
-
fontSize: string;
|
|
97
|
-
maxWidth: string;
|
|
98
|
-
showIndex: boolean;
|
|
99
|
-
}>;
|
|
100
|
-
__isFragment?: undefined;
|
|
101
|
-
__isTeleport?: undefined;
|
|
102
|
-
__isSuspense?: undefined;
|
|
103
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
104
|
-
maxWidth: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
default: string;
|
|
107
|
-
};
|
|
108
|
-
showIndex: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
};
|
|
111
|
-
color: {
|
|
112
|
-
type: StringConstructor;
|
|
113
|
-
default: string;
|
|
114
|
-
};
|
|
115
|
-
fontSize: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
placement: {
|
|
120
|
-
type: PropType<TooltipPlacement>;
|
|
121
|
-
default: string;
|
|
122
|
-
};
|
|
123
|
-
text: {
|
|
124
|
-
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
125
|
-
[key: string]: any;
|
|
126
|
-
}> | VNodeChild>;
|
|
127
|
-
};
|
|
128
|
-
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
129
|
-
color: string;
|
|
130
|
-
placement: TooltipPlacement;
|
|
131
|
-
fontSize: string;
|
|
132
|
-
maxWidth: string;
|
|
133
|
-
showIndex: boolean;
|
|
134
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
135
|
-
$props: {
|
|
136
|
-
onClick?: (() => void) | undefined;
|
|
137
|
-
};
|
|
138
|
-
});
|
|
139
|
-
export declare const BasicTitle: {
|
|
140
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
141
|
-
span: {
|
|
142
|
-
type: PropType<boolean>;
|
|
143
|
-
};
|
|
144
|
-
normal: {
|
|
145
|
-
type: PropType<boolean>;
|
|
146
|
-
};
|
|
147
|
-
helpMessage: {
|
|
148
|
-
type: PropType<string | string[]>;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
152
|
-
span: {
|
|
153
|
-
type: PropType<boolean>;
|
|
154
|
-
};
|
|
155
|
-
normal: {
|
|
156
|
-
type: PropType<boolean>;
|
|
157
|
-
};
|
|
158
|
-
helpMessage: {
|
|
159
|
-
type: PropType<string | string[]>;
|
|
160
|
-
default: string;
|
|
161
|
-
};
|
|
162
|
-
}>>, {
|
|
163
|
-
helpMessage: string | string[];
|
|
164
|
-
}, true, {}, {}, {
|
|
165
|
-
P: {};
|
|
166
|
-
B: {};
|
|
167
|
-
D: {};
|
|
168
|
-
C: {};
|
|
169
|
-
M: {};
|
|
170
|
-
Defaults: {};
|
|
171
|
-
}, Readonly< ExtractPropTypes<{
|
|
172
|
-
span: {
|
|
173
|
-
type: PropType<boolean>;
|
|
174
|
-
};
|
|
175
|
-
normal: {
|
|
176
|
-
type: PropType<boolean>;
|
|
177
|
-
};
|
|
178
|
-
helpMessage: {
|
|
179
|
-
type: PropType<string | string[]>;
|
|
180
|
-
default: string;
|
|
181
|
-
};
|
|
182
|
-
}>>, {}, {}, {}, {}, {
|
|
183
|
-
helpMessage: string | string[];
|
|
184
|
-
}>;
|
|
185
|
-
__isFragment?: undefined;
|
|
186
|
-
__isTeleport?: undefined;
|
|
187
|
-
__isSuspense?: undefined;
|
|
188
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
189
|
-
span: {
|
|
190
|
-
type: PropType<boolean>;
|
|
191
|
-
};
|
|
192
|
-
normal: {
|
|
193
|
-
type: PropType<boolean>;
|
|
194
|
-
};
|
|
195
|
-
helpMessage: {
|
|
196
|
-
type: PropType<string | string[]>;
|
|
197
|
-
default: string;
|
|
198
|
-
};
|
|
199
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
200
|
-
helpMessage: string | string[];
|
|
201
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
202
|
-
$slots: {
|
|
203
|
-
default?(_: {}): any;
|
|
204
|
-
};
|
|
205
|
-
}) & Plugin<any[]> & (new (...args: any[]) => {
|
|
206
|
-
$props: {
|
|
207
|
-
onClick?: (() => void) | undefined;
|
|
208
|
-
};
|
|
209
|
-
});
|
|
210
|
-
export declare const BasicArrow: {
|
|
211
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
212
|
-
expand: {
|
|
213
|
-
type: PropType<boolean>;
|
|
214
|
-
};
|
|
215
|
-
up: {
|
|
216
|
-
type: PropType<boolean>;
|
|
217
|
-
};
|
|
218
|
-
down: {
|
|
219
|
-
type: PropType<boolean>;
|
|
220
|
-
};
|
|
221
|
-
inset: {
|
|
222
|
-
type: PropType<boolean>;
|
|
223
|
-
};
|
|
224
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
225
|
-
expand: {
|
|
226
|
-
type: PropType<boolean>;
|
|
227
|
-
};
|
|
228
|
-
up: {
|
|
229
|
-
type: PropType<boolean>;
|
|
230
|
-
};
|
|
231
|
-
down: {
|
|
232
|
-
type: PropType<boolean>;
|
|
233
|
-
};
|
|
234
|
-
inset: {
|
|
235
|
-
type: PropType<boolean>;
|
|
236
|
-
};
|
|
237
|
-
}>>, {}, true, {}, {}, {
|
|
238
|
-
P: {};
|
|
239
|
-
B: {};
|
|
240
|
-
D: {};
|
|
241
|
-
C: {};
|
|
242
|
-
M: {};
|
|
243
|
-
Defaults: {};
|
|
244
|
-
}, Readonly< ExtractPropTypes<{
|
|
245
|
-
expand: {
|
|
246
|
-
type: PropType<boolean>;
|
|
247
|
-
};
|
|
248
|
-
up: {
|
|
249
|
-
type: PropType<boolean>;
|
|
250
|
-
};
|
|
251
|
-
down: {
|
|
252
|
-
type: PropType<boolean>;
|
|
253
|
-
};
|
|
254
|
-
inset: {
|
|
255
|
-
type: PropType<boolean>;
|
|
256
|
-
};
|
|
257
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
258
|
-
__isFragment?: undefined;
|
|
259
|
-
__isTeleport?: undefined;
|
|
260
|
-
__isSuspense?: undefined;
|
|
261
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
262
|
-
expand: {
|
|
263
|
-
type: PropType<boolean>;
|
|
264
|
-
};
|
|
265
|
-
up: {
|
|
266
|
-
type: PropType<boolean>;
|
|
267
|
-
};
|
|
268
|
-
down: {
|
|
269
|
-
type: PropType<boolean>;
|
|
270
|
-
};
|
|
271
|
-
inset: {
|
|
272
|
-
type: PropType<boolean>;
|
|
273
|
-
};
|
|
274
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
275
|
-
$props: {
|
|
276
|
-
onClick?: (() => void) | undefined;
|
|
277
|
-
};
|
|
278
|
-
});
|
package/es/src/button/index.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '@vue/runtime-core';
|
|
2
|
-
export declare const Button: {
|
|
3
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
4
|
-
type: {
|
|
5
|
-
type: PropType<string>;
|
|
6
|
-
};
|
|
7
|
-
size: {
|
|
8
|
-
type: PropType<string>;
|
|
9
|
-
};
|
|
10
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
11
|
-
type: {
|
|
12
|
-
type: PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
size: {
|
|
15
|
-
type: PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
}>>, {}, true, {}, {}, {
|
|
18
|
-
P: {};
|
|
19
|
-
B: {};
|
|
20
|
-
D: {};
|
|
21
|
-
C: {};
|
|
22
|
-
M: {};
|
|
23
|
-
Defaults: {};
|
|
24
|
-
}, Readonly< ExtractPropTypes<{
|
|
25
|
-
type: {
|
|
26
|
-
type: PropType<string>;
|
|
27
|
-
};
|
|
28
|
-
size: {
|
|
29
|
-
type: PropType<string>;
|
|
30
|
-
};
|
|
31
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
32
|
-
__isFragment?: undefined;
|
|
33
|
-
__isTeleport?: undefined;
|
|
34
|
-
__isSuspense?: undefined;
|
|
35
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
36
|
-
type: {
|
|
37
|
-
type: PropType<string>;
|
|
38
|
-
};
|
|
39
|
-
size: {
|
|
40
|
-
type: PropType<string>;
|
|
41
|
-
};
|
|
42
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
43
|
-
$slots: {
|
|
44
|
-
default?(_: {}): any;
|
|
45
|
-
};
|
|
46
|
-
}) & Plugin<any[]> & (new (...args: any[]) => {
|
|
47
|
-
$props: {
|
|
48
|
-
onClick?: (() => void) | undefined;
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
export default Button;
|