@aplus-frontend/ui 0.0.1-beta.32 → 0.0.1-beta.33
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/src/ap-custom-column/custom-column.vue.mjs +17 -14
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/interface.d.ts +10 -0
- package/es/src/ap-table/components/style/pagination.css +12 -0
- package/es/src/ap-table/interface.d.ts +152 -0
- package/es/src/base-button/index.d.ts +137 -0
- package/es/src/basic/index.d.ts +278 -0
- package/es/src/button/index.d.ts +51 -0
- package/es/src/config-provider/config-provider-props.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +11 -11
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +691 -0
- package/es/src/container/index.d.ts +178 -0
- package/es/src/count-down/index.d.ts +150 -0
- package/es/src/cropper/index.d.ts +369 -0
- package/es/src/description/description.vue.d.ts +1 -1
- package/es/src/description/index.d.ts +214 -0
- package/es/src/dropdown/index.d.ts +113 -0
- package/es/src/icon/index.d.ts +208 -0
- package/es/src/icon-picker/icon-picker.vue.d.ts +2 -2
- package/es/src/icon-picker/index.d.ts +190 -0
- package/es/src/locale/lang/en.mjs +6 -0
- package/es/src/locale/lang/zh-cn.mjs +6 -0
- package/es/src/modal/basic.vue.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/index.d.ts +963 -0
- package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +6 -6
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +176 -0
- package/es/src/strength-meter/index.d.ts +89 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +17 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +58 -14
- package/es/src/theme/antd-global-overwrite/admin/modal.css +2 -5
- package/es/src/theme/antd-global-overwrite/admin/steps.css +20 -9
- package/es/src/theme/antd-global-overwrite/admin/table.css +19 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +17 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +41 -10
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +3 -6
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +21 -4
- package/es/src/theme/ap-table/ap-table-pagination.css +12 -0
- package/es/src/transition/index.d.ts +369 -0
- package/es/src/utils/config-provider-preset.d.ts +12 -12
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/interface.d.ts +10 -0
- package/lib/src/ap-table/components/style/pagination.css +12 -0
- package/lib/src/ap-table/interface.d.ts +152 -0
- package/lib/src/base-button/index.d.ts +137 -0
- package/lib/src/basic/index.d.ts +278 -0
- package/lib/src/button/index.d.ts +51 -0
- package/lib/src/config-provider/config-provider-props.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +11 -11
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +691 -0
- package/lib/src/container/index.d.ts +178 -0
- package/lib/src/count-down/index.d.ts +150 -0
- package/lib/src/cropper/index.d.ts +369 -0
- package/lib/src/description/description.vue.d.ts +1 -1
- package/lib/src/description/index.d.ts +214 -0
- package/lib/src/dropdown/index.d.ts +113 -0
- package/lib/src/icon/index.d.ts +208 -0
- package/lib/src/icon-picker/icon-picker.vue.d.ts +2 -2
- package/lib/src/icon-picker/index.d.ts +190 -0
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/index.d.ts +963 -0
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +6 -6
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +176 -0
- package/lib/src/strength-meter/index.d.ts +89 -0
- package/lib/src/theme/antd-global-overwrite/admin/form.css +17 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +58 -14
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +2 -5
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +20 -9
- package/lib/src/theme/antd-global-overwrite/admin/table.css +19 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +17 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +41 -10
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +3 -6
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +21 -4
- package/lib/src/theme/ap-table/ap-table-pagination.css +12 -0
- package/lib/src/transition/index.d.ts +369 -0
- package/lib/src/utils/config-provider-preset.d.ts +12 -12
- package/package.json +1 -1
|
@@ -16,24 +16,24 @@ const F = /* @__PURE__ */ D({
|
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:columns"],
|
|
18
18
|
setup(p, { emit: d }) {
|
|
19
|
-
const f = I("uiMode"), { b: C, e:
|
|
19
|
+
const f = I("uiMode"), { b: C, e: h } = O(
|
|
20
20
|
f.value === "aplus" ? "custom-column" : "custom-column-admin"
|
|
21
|
-
), { baseContainerSelector:
|
|
21
|
+
), { baseContainerSelector: r, columns: M, fullContentSelector: _ } = p, g = d, v = (e) => {
|
|
22
22
|
g("update:columns", e);
|
|
23
|
-
},
|
|
23
|
+
}, c = m(!1), l = m(0), S = () => {
|
|
24
24
|
var e, s;
|
|
25
|
-
if (
|
|
26
|
-
const
|
|
27
|
-
|
|
25
|
+
if (r) {
|
|
26
|
+
const a = document.querySelector(r), u = document.querySelector(
|
|
27
|
+
_
|
|
28
28
|
);
|
|
29
|
-
|
|
30
|
-
(e =
|
|
31
|
-
((s =
|
|
29
|
+
a ? l.value = Math.max(
|
|
30
|
+
(e = a == null ? void 0 : a.getBoundingClientRect()) == null ? void 0 : e.top,
|
|
31
|
+
((s = u == null ? void 0 : u.getBoundingClientRect()) == null ? void 0 : s.top) || 0
|
|
32
32
|
) : l.value = 0;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
c.value = !0;
|
|
35
35
|
}, i = () => {
|
|
36
|
-
|
|
36
|
+
c.value = !1;
|
|
37
37
|
}, y = x(() => window.innerHeight - l.value - 57 - 40);
|
|
38
38
|
return (e, s) => (H(), w("div", {
|
|
39
39
|
class: B(t(C)())
|
|
@@ -43,7 +43,10 @@ const F = /* @__PURE__ */ D({
|
|
|
43
43
|
E("自定义表格")
|
|
44
44
|
]),
|
|
45
45
|
default: n(() => [
|
|
46
|
-
o(t(T), {
|
|
46
|
+
o(t(T), {
|
|
47
|
+
style: { minWidth: "auto" },
|
|
48
|
+
onClick: S
|
|
49
|
+
}, {
|
|
47
50
|
icon: n(() => [
|
|
48
51
|
o(t(k))
|
|
49
52
|
]),
|
|
@@ -53,14 +56,14 @@ const F = /* @__PURE__ */ D({
|
|
|
53
56
|
_: 1
|
|
54
57
|
}),
|
|
55
58
|
o(t(A), {
|
|
56
|
-
open:
|
|
59
|
+
open: c.value,
|
|
57
60
|
width: 280,
|
|
58
61
|
title: "自定义表格",
|
|
59
62
|
closable: !1,
|
|
60
63
|
contentWrapperStyle: { top: `${l.value}px` },
|
|
61
64
|
bodyStyle: { overflow: "hidden", padding: "20px" },
|
|
62
65
|
mask: !0,
|
|
63
|
-
"root-class-name": t(
|
|
66
|
+
"root-class-name": t(h)("drawer"),
|
|
64
67
|
onClose: i
|
|
65
68
|
}, {
|
|
66
69
|
extra: n(() => [
|
|
@@ -34,7 +34,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
34
34
|
}>>> & {
|
|
35
35
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
type: "number" | "text" | "color" | "
|
|
37
|
+
type: "number" | "text" | "color" | "button" | "time" | "image" | "search" | "submit" | "reset" | "hidden" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "date" | "week" | "month" | "datetime-local" | "file" | "password";
|
|
38
38
|
mode: FieldMode;
|
|
39
39
|
bordered: boolean;
|
|
40
40
|
allowClear: boolean;
|
|
@@ -23,7 +23,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
23
23
|
}>>> & {
|
|
24
24
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
type: "number" | "text" | "color" | "
|
|
26
|
+
type: "number" | "text" | "color" | "button" | "time" | "image" | "search" | "submit" | "reset" | "hidden" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "date" | "week" | "month" | "datetime-local" | "file" | "password";
|
|
27
27
|
mode: FieldMode;
|
|
28
28
|
bordered: boolean;
|
|
29
29
|
lazy: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ApTablePaginationProps = {
|
|
2
|
+
/** dataSource的总数量 */
|
|
3
|
+
total?: number;
|
|
4
|
+
/** 当前页码 */
|
|
5
|
+
current?: number;
|
|
6
|
+
'onUpdate:current'?: (current: number) => void;
|
|
7
|
+
/** 当前pagesize */
|
|
8
|
+
pageSize?: number;
|
|
9
|
+
'onUpdate:pageSize'?: (pageSize: number) => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { CardProps } from 'ant-design-vue';
|
|
2
|
+
import { ColumnType, TableProps } from 'ant-design-vue/es/table';
|
|
3
|
+
import { CompareFn, SortOrder } from 'ant-design-vue/es/table/interface';
|
|
4
|
+
import { ApFormSearchFormProps } from '../ap-form';
|
|
5
|
+
import { ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextAreaProps, ApFormItemTextProps } from 'src/ap-form/items/interface';
|
|
6
|
+
|
|
7
|
+
type ValueEnmuTyType = {
|
|
8
|
+
text: string;
|
|
9
|
+
status?: string;
|
|
10
|
+
color?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* ApTable默认支持的值类型(将会用于表单生成和默认值格式化)
|
|
15
|
+
*/
|
|
16
|
+
export type ApTableFormFields = {
|
|
17
|
+
/** 日期选择器 */
|
|
18
|
+
date: ApFormItemDateProps;
|
|
19
|
+
/** 日期范围选择器 */
|
|
20
|
+
dateRange: ApFormItemDateRangeProps;
|
|
21
|
+
/** 数字输入框 */
|
|
22
|
+
number: ApFormItemNumberProps;
|
|
23
|
+
/** 单选 */
|
|
24
|
+
radio: ApFormItemRadioProps;
|
|
25
|
+
/** 下拉选择 */
|
|
26
|
+
select: ApFormItemSelectProps;
|
|
27
|
+
/** 开关 */
|
|
28
|
+
switch: ApFormItemSwitchProps;
|
|
29
|
+
/** 文本输入 */
|
|
30
|
+
text: ApFormItemTextProps;
|
|
31
|
+
/** 多行文本输入 */
|
|
32
|
+
textArea: ApFormItemTextAreaProps;
|
|
33
|
+
};
|
|
34
|
+
type ValueEnum = Record<string, ValueEnmuTyType>;
|
|
35
|
+
export type ExtraProColumnType<T> = Omit<ColumnType<T>, 'children'> & {
|
|
36
|
+
sorter?: string | boolean | CompareFn<T> | {
|
|
37
|
+
compare?: CompareFn<T>;
|
|
38
|
+
/** Config multiple sorter order priority */
|
|
39
|
+
multiple?: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type ApColumnType<ValueType extends keyof ApTableFormFields = 'text'> = ExtraProColumnType<any> & {
|
|
43
|
+
children?: ApColumnType[];
|
|
44
|
+
/**
|
|
45
|
+
* 表单项所占据的格子数(1-24格)
|
|
46
|
+
*/
|
|
47
|
+
span?: number;
|
|
48
|
+
/**
|
|
49
|
+
* 在title之后展示一个icon并触发tooltip
|
|
50
|
+
*/
|
|
51
|
+
tooltip?: string;
|
|
52
|
+
/**
|
|
53
|
+
* 是否可以复制
|
|
54
|
+
*/
|
|
55
|
+
copyable?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* 是否搜索表单中隐藏
|
|
58
|
+
*/
|
|
59
|
+
hideInSearch?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* 是否在表格中隐藏
|
|
62
|
+
*/
|
|
63
|
+
hideInTable?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* 值的枚举,会自动转化把值当成 key 来取出要显示的内容(也会作为select的选项)
|
|
66
|
+
*/
|
|
67
|
+
valueEnum?: ValueEnum;
|
|
68
|
+
/**
|
|
69
|
+
* 自定义查询表单渲染
|
|
70
|
+
*/
|
|
71
|
+
customRenderFormItem?: () => any;
|
|
72
|
+
/**
|
|
73
|
+
* 指定值类型(将会用于默认渲染和查询表单生成)
|
|
74
|
+
*/
|
|
75
|
+
valueType?: keyof ApTableFormFields;
|
|
76
|
+
/**
|
|
77
|
+
* 值类型额外配置的参数(用于查询表单渲染)
|
|
78
|
+
*/
|
|
79
|
+
fieldProps?: ApTableFormFields[ValueType];
|
|
80
|
+
};
|
|
81
|
+
type RequestData<T> = {
|
|
82
|
+
data: T[] | undefined;
|
|
83
|
+
success?: boolean;
|
|
84
|
+
total?: number;
|
|
85
|
+
} & Record<string, any>;
|
|
86
|
+
export type ApTableProps<RecordType = any, ParamsType = any, ValueType extends keyof ApTableFormFields = 'text'> = Omit<TableProps<RecordType>, 'columns' | 'pagination'> & {
|
|
87
|
+
/**
|
|
88
|
+
* 列配置
|
|
89
|
+
*/
|
|
90
|
+
columns?: ApColumnType<ValueType>[];
|
|
91
|
+
/**
|
|
92
|
+
* 是否是卡片模式
|
|
93
|
+
*/
|
|
94
|
+
card?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* 卡片模式下属性设置
|
|
97
|
+
*/
|
|
98
|
+
cardProps?: CardProps;
|
|
99
|
+
/**
|
|
100
|
+
* request请求参数,修改后会自动触发更新
|
|
101
|
+
*/
|
|
102
|
+
params?: ParamsType;
|
|
103
|
+
/**
|
|
104
|
+
* 自定义渲染搜索表单
|
|
105
|
+
* @param props
|
|
106
|
+
* @param defaultDom
|
|
107
|
+
* @returns
|
|
108
|
+
*/
|
|
109
|
+
searchFormRender?: (props: ApTableProps<RecordType, ParamsType, ValueType>, defaultDom: any) => any;
|
|
110
|
+
/**
|
|
111
|
+
* 请求获取dataSource
|
|
112
|
+
* @param params
|
|
113
|
+
* @param sort
|
|
114
|
+
* @param filter
|
|
115
|
+
* @returns
|
|
116
|
+
*/
|
|
117
|
+
request?: (params: ParamsType & {
|
|
118
|
+
pageSize?: number;
|
|
119
|
+
current?: number;
|
|
120
|
+
}, sort: Record<string, SortOrder>, filter: Record<string, (string | number)[] | null>) => Promise<Partial<RequestData<RecordType>>>;
|
|
121
|
+
/**
|
|
122
|
+
* 数据加载完成后触发
|
|
123
|
+
* @param data
|
|
124
|
+
* @returns
|
|
125
|
+
*/
|
|
126
|
+
onLoad?: (data: RecordType[]) => void;
|
|
127
|
+
/**
|
|
128
|
+
* 表格的默认数据源
|
|
129
|
+
*/
|
|
130
|
+
defaultData?: RecordType[];
|
|
131
|
+
/**
|
|
132
|
+
* 表格loading状态变更后触发
|
|
133
|
+
* @param loading
|
|
134
|
+
* @returns
|
|
135
|
+
*/
|
|
136
|
+
onLoadingChange?: (loading: boolean) => void;
|
|
137
|
+
/**
|
|
138
|
+
* 查询表单配置,设置为false表示不渲染查询表单
|
|
139
|
+
*/
|
|
140
|
+
searchForm?: false | ApFormSearchFormProps;
|
|
141
|
+
/**
|
|
142
|
+
* 查询表单提交之前,一般用于自定义对查询数据进行变更
|
|
143
|
+
* @param params
|
|
144
|
+
* @returns
|
|
145
|
+
*/
|
|
146
|
+
beforeSearchSubmit?: (params: Partial<ParamsType>) => any;
|
|
147
|
+
/**
|
|
148
|
+
* 是否显示分页器(特定的分页器)
|
|
149
|
+
*/
|
|
150
|
+
pagination?: boolean;
|
|
151
|
+
};
|
|
152
|
+
export {};
|
|
@@ -0,0 +1,137 @@
|
|
|
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';
|
|
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
|
+
});
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, VNodeChild, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
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
|
+
});
|