@aplus-frontend/ui 0.5.23 → 0.5.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/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +4 -3
- package/es/src/ap-form/ap-form.vue2.mjs +124 -124
- package/es/src/ap-form/drawer-form/index.vue.d.ts +9 -8
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/interface.d.ts +3 -2
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +9 -8
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +9 -8
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +65 -61
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +86 -81
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +25 -25
- package/es/src/ap-grid/interface.d.ts +4 -0
- package/es/src/ap-grid/utils/table.d.ts +1 -1
- package/es/src/ap-grid/utils/table.mjs +42 -41
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/hooks/use-table-paging-ng.mjs +108 -102
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +34 -59
- package/es/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +34 -99
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +68 -195
- package/es/src/business/ap-ladder/index.d.ts +1 -235
- package/es/src/business/ap-ladder/interface.d.ts +4 -114
- package/es/src/business/ap-ladder/utils.d.ts +5 -0
- package/es/src/business/ap-ladder/utils.mjs +38 -3
- package/es/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
- package/es/src/business/ap-product-info/constans.d.ts +23 -0
- package/es/src/business/ap-product-info/index.d.ts +1 -0
- package/es/src/business/ap-product-info/interface.d.ts +11 -0
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +2 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +2 -2
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +4 -4
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -5
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +4 -3
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +9 -8
- package/lib/src/ap-form/interface.d.ts +3 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +9 -8
- package/lib/src/ap-form/search-form/index.vue.d.ts +9 -8
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-grid/interface.d.ts +4 -0
- package/lib/src/ap-grid/utils/table.d.ts +1 -1
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +1 -83
- package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/SimpleMode.vue.d.ts +3 -65
- package/lib/src/business/ap-ladder/components/SimpleMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue.d.ts +3 -75
- package/lib/src/business/ap-ladder/components/ValueGroupMode.vue2.js +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -235
- package/lib/src/business/ap-ladder/interface.d.ts +4 -114
- package/lib/src/business/ap-ladder/utils.d.ts +5 -0
- package/lib/src/business/ap-ladder/utils.js +1 -1
- package/lib/src/business/ap-product-info/ApProductInfo.d.ts +46 -0
- package/lib/src/business/ap-product-info/constans.d.ts +23 -0
- package/lib/src/business/ap-product-info/index.d.ts +1 -0
- package/lib/src/business/ap-product-info/interface.d.ts +11 -0
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -5
- package/package.json +3 -3
- package/theme/ap-grid/index.css +3 -0
- package/theme/ap-grid/index.less +3 -0
- package/theme/ap-ladder/ap-ladder.css +14 -5
- package/theme/ap-ladder/ap-ladder.less +16 -7
- package/theme/index.css +17 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CSSProperties, PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
1
|
import { ApLadderLabelValue } from '../interface';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: {
|
|
6
6
|
title?(_: {}): any;
|
|
7
7
|
};
|
|
8
8
|
refs: {};
|
|
9
|
-
rootEl:
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -18,38 +18,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
labelStyles: {
|
|
22
|
-
type: PropType<CSSProperties>;
|
|
23
|
-
default: () => {};
|
|
24
|
-
};
|
|
25
|
-
valueStyles: {
|
|
26
|
-
type: PropType<CSSProperties>;
|
|
27
|
-
default: () => {};
|
|
28
|
-
};
|
|
29
|
-
linkStyles: {
|
|
30
|
-
type: PropType<CSSProperties>;
|
|
31
|
-
default: () => {};
|
|
32
|
-
};
|
|
33
|
-
unitStyles: {
|
|
34
|
-
type: PropType<CSSProperties>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
};
|
|
37
|
-
tooltipLabelStyles: {
|
|
38
|
-
type: PropType<CSSProperties>;
|
|
39
|
-
default: () => {};
|
|
40
|
-
};
|
|
41
|
-
tooltipValueStyles: {
|
|
42
|
-
type: PropType<CSSProperties>;
|
|
43
|
-
default: () => {};
|
|
44
|
-
};
|
|
45
|
-
tooltipProps: {
|
|
46
|
-
type: ObjectConstructor;
|
|
47
|
-
default: () => {};
|
|
48
|
-
};
|
|
49
|
-
tooltip: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
21
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
54
22
|
handleClick: (...args: any[]) => void;
|
|
55
23
|
"update:valueRefs": (...args: any[]) => void;
|
|
@@ -62,53 +30,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
62
30
|
type: StringConstructor;
|
|
63
31
|
default: string;
|
|
64
32
|
};
|
|
65
|
-
labelStyles: {
|
|
66
|
-
type: PropType<CSSProperties>;
|
|
67
|
-
default: () => {};
|
|
68
|
-
};
|
|
69
|
-
valueStyles: {
|
|
70
|
-
type: PropType<CSSProperties>;
|
|
71
|
-
default: () => {};
|
|
72
|
-
};
|
|
73
|
-
linkStyles: {
|
|
74
|
-
type: PropType<CSSProperties>;
|
|
75
|
-
default: () => {};
|
|
76
|
-
};
|
|
77
|
-
unitStyles: {
|
|
78
|
-
type: PropType<CSSProperties>;
|
|
79
|
-
default: () => {};
|
|
80
|
-
};
|
|
81
|
-
tooltipLabelStyles: {
|
|
82
|
-
type: PropType<CSSProperties>;
|
|
83
|
-
default: () => {};
|
|
84
|
-
};
|
|
85
|
-
tooltipValueStyles: {
|
|
86
|
-
type: PropType<CSSProperties>;
|
|
87
|
-
default: () => {};
|
|
88
|
-
};
|
|
89
|
-
tooltipProps: {
|
|
90
|
-
type: ObjectConstructor;
|
|
91
|
-
default: () => {};
|
|
92
|
-
};
|
|
93
|
-
tooltip: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
33
|
}>> & Readonly<{
|
|
98
34
|
onHandleClick?: ((...args: any[]) => any) | undefined;
|
|
99
35
|
"onUpdate:valueRefs"?: ((...args: any[]) => any) | undefined;
|
|
100
36
|
}>, {
|
|
101
|
-
tooltip: boolean;
|
|
102
37
|
labelAlign: string;
|
|
103
|
-
tooltipProps: Record<string, any>;
|
|
104
38
|
labelValues: ApLadderLabelValue[];
|
|
105
|
-
|
|
106
|
-
valueStyles: CSSProperties;
|
|
107
|
-
linkStyles: CSSProperties;
|
|
108
|
-
unitStyles: CSSProperties;
|
|
109
|
-
tooltipLabelStyles: CSSProperties;
|
|
110
|
-
tooltipValueStyles: CSSProperties;
|
|
111
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
112
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
113
41
|
export default _default;
|
|
114
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Tooltip as Y } from "@aplus-frontend/antdv";
|
|
1
|
+
import { defineComponent as A, isVNode as v, h as k, openBlock as i, createElementBlock as r, normalizeClass as l, unref as e, Fragment as m, renderList as N, normalizeStyle as u, toDisplayString as c, createCommentVNode as a, createElementVNode as p, createBlock as $, withModifiers as B, renderSlot as L } from "vue";
|
|
3
2
|
import "../../../config-provider/index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { useNamespace as
|
|
6
|
-
const
|
|
3
|
+
import { convertValue as d } from "../utils.mjs";
|
|
4
|
+
import { useNamespace as M } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
const z = ["title"], E = ["title"], F = ["href", "title", "onClick"], G = ["title", "onClick"], R = ["title"], x = /* @__PURE__ */ A({
|
|
7
6
|
name: "ApLadderValueGroupMode",
|
|
8
7
|
__name: "ValueGroupMode",
|
|
9
8
|
props: {
|
|
@@ -14,203 +13,77 @@ const T = { key: 0 }, D = ["href", "onClick"], U = ["onClick"], b = { key: 0 },
|
|
|
14
13
|
labelAlign: {
|
|
15
14
|
type: String,
|
|
16
15
|
default: ""
|
|
17
|
-
},
|
|
18
|
-
labelStyles: {
|
|
19
|
-
type: Object,
|
|
20
|
-
default: () => ({})
|
|
21
|
-
},
|
|
22
|
-
valueStyles: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: () => ({})
|
|
25
|
-
},
|
|
26
|
-
linkStyles: {
|
|
27
|
-
type: Object,
|
|
28
|
-
default: () => ({})
|
|
29
|
-
},
|
|
30
|
-
unitStyles: {
|
|
31
|
-
type: Object,
|
|
32
|
-
default: () => ({})
|
|
33
|
-
},
|
|
34
|
-
tooltipLabelStyles: {
|
|
35
|
-
type: Object,
|
|
36
|
-
default: () => ({})
|
|
37
|
-
},
|
|
38
|
-
tooltipValueStyles: {
|
|
39
|
-
type: Object,
|
|
40
|
-
default: () => ({})
|
|
41
|
-
},
|
|
42
|
-
tooltipProps: {
|
|
43
|
-
type: Object,
|
|
44
|
-
default: () => ({})
|
|
45
|
-
},
|
|
46
|
-
tooltip: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
16
|
}
|
|
50
17
|
},
|
|
51
18
|
emits: ["update:valueRefs", "handleClick"],
|
|
52
|
-
setup(
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
return g(o) ? C(o, {
|
|
56
|
-
style: t
|
|
57
|
-
}) : typeof o == "function" ? C(o(), {
|
|
58
|
-
ref: x,
|
|
59
|
-
style: {
|
|
60
|
-
...t
|
|
61
|
-
}
|
|
62
|
-
}) : null;
|
|
63
|
-
}, k = (e, o = {
|
|
64
|
-
rawValue: !0,
|
|
65
|
-
precision: 2,
|
|
66
|
-
thousand: !0,
|
|
67
|
-
thousandSeparator: ",",
|
|
68
|
-
currency: "CNY",
|
|
69
|
-
percent: !1
|
|
70
|
-
}) => {
|
|
71
|
-
if (Object.prototype.toString.call(e) === "[object Null]" || Object.prototype.toString.call(e) === "[object Undefined]" || Object.prototype.toString.call(e) === "[object Object]" || Object.prototype.toString.call(e) === "[object Function]")
|
|
72
|
-
return "--";
|
|
73
|
-
if (typeof e == "number") {
|
|
74
|
-
if (o.percent)
|
|
75
|
-
return `${e.toFixed(o.precision)}%`;
|
|
76
|
-
if (o.currency)
|
|
77
|
-
return e.toLocaleString(
|
|
78
|
-
E[o.currency ? o.currency : "CNY"],
|
|
79
|
-
{
|
|
80
|
-
style: "currency",
|
|
81
|
-
currency: o.currency ? o.currency : "CNY"
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
if (o.thousand) {
|
|
85
|
-
const [t, y] = e.toFixed(o.precision ? o.precision : 2).split(".");
|
|
86
|
-
return `${t.replace(
|
|
87
|
-
/(\d)(?=(\d{3})+(?!\d))/g,
|
|
88
|
-
`$1${o.thousandSeparator ? o.thousandSeparator : ","}`
|
|
89
|
-
)}.${y}`;
|
|
90
|
-
}
|
|
91
|
-
return e.toFixed(o.precision ? o.precision : 2);
|
|
92
|
-
}
|
|
93
|
-
return e;
|
|
94
|
-
}, F = (e) => {
|
|
95
|
-
$("handleClick", e);
|
|
19
|
+
setup(s, { emit: g }) {
|
|
20
|
+
const C = g, { e: o } = M("ap-ladder"), f = (n) => v(n) || typeof n == "function", y = (n) => v(n.value) ? k(n.value) : typeof n.value == "function" ? k(n.value()) : null, h = (n) => {
|
|
21
|
+
C("handleClick", n);
|
|
96
22
|
};
|
|
97
|
-
return (
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
23
|
+
return (n, w) => (i(), r("div", {
|
|
24
|
+
class: l(e(o)("value-group-mode"))
|
|
25
|
+
}, [
|
|
26
|
+
(i(!0), r(m, null, N(s.labelValues, (t, S) => (i(), r("div", {
|
|
27
|
+
key: S,
|
|
28
|
+
class: l([
|
|
29
|
+
e(o)("value-group-item"),
|
|
30
|
+
t.label === "" && e(o)("value-group-value-end")
|
|
31
|
+
])
|
|
32
|
+
}, [
|
|
33
|
+
t.label ? (i(), r("span", {
|
|
34
|
+
key: 0,
|
|
35
|
+
class: l([
|
|
36
|
+
e(o)("value-group-label"),
|
|
37
|
+
s.labelAlign ? e(o)(`value-group-label-${s.labelAlign}`) : null
|
|
38
|
+
]),
|
|
39
|
+
style: u(t.labelColor ? { color: t.labelColor } : null),
|
|
40
|
+
title: String(t.label)
|
|
41
|
+
}, c(t.label), 15, z)) : a("", !0),
|
|
42
|
+
t.label ? (i(), r("span", {
|
|
43
|
+
key: 1,
|
|
44
|
+
class: l(e(o)("value-group-label-semicolon"))
|
|
45
|
+
}, ":", 2)) : a("", !0),
|
|
46
|
+
p("span", {
|
|
47
|
+
class: l(e(o)("value-group-value")),
|
|
48
|
+
title: String(e(d)(t.value, { ...t }))
|
|
101
49
|
}, [
|
|
102
|
-
|
|
103
|
-
key:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
50
|
+
f(t.value) ? (i(), $(y, {
|
|
51
|
+
key: 0,
|
|
52
|
+
value: t.value
|
|
53
|
+
}, null, 8, ["value"])) : t.link ? (i(), r("a", {
|
|
54
|
+
key: 1,
|
|
55
|
+
href: t.link,
|
|
56
|
+
target: "_blank",
|
|
57
|
+
class: l(e(o)("value-group-link")),
|
|
58
|
+
title: String(t.value),
|
|
59
|
+
style: u(t.linkColor ? { color: t.linkColor } : null),
|
|
60
|
+
onClick: B((_) => h(t), ["prevent"])
|
|
61
|
+
}, c(e(d)(t.value, { ...t })), 15, F)) : (i(), r(m, { key: 2 }, [
|
|
62
|
+
p("span", {
|
|
63
|
+
class: l([
|
|
64
|
+
t.handleValueClick ? e(o)("value-group-link") : null
|
|
114
65
|
]),
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
d(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
c.linkStyles,
|
|
135
|
-
t.linkStyles,
|
|
136
|
-
t.linkColor ? { color: t.linkColor } : void 0
|
|
137
|
-
]),
|
|
138
|
-
onClick: z((L) => F(t), ["prevent"])
|
|
139
|
-
}, a(k(t.value, { ...t })), 15, D)) : (r(), i(f, { key: 1 }, [
|
|
140
|
-
d("span", {
|
|
141
|
-
style: u([
|
|
142
|
-
c.valueStyles,
|
|
143
|
-
t.valueStyles,
|
|
144
|
-
t.valueColor ? { color: t.valueColor } : void 0
|
|
145
|
-
]),
|
|
146
|
-
class: s(
|
|
147
|
-
t.handleValueClick ? n(l)("value-group-link") : void 0
|
|
148
|
-
),
|
|
149
|
-
onClick: (L) => t.handleValueClick && t.handleValueClick(c.labelValues)
|
|
150
|
-
}, a(k(t.value, { ...t })), 15, U),
|
|
151
|
-
t.unit ? (r(), i("span", {
|
|
152
|
-
key: 0,
|
|
153
|
-
class: s(n(l)("value-group-unit")),
|
|
154
|
-
style: u([
|
|
155
|
-
c.unitStyles,
|
|
156
|
-
t.unitStyles,
|
|
157
|
-
t.unitColor ? { color: t.unitColor } : void 0
|
|
158
|
-
])
|
|
159
|
-
}, a(t.unit), 7)) : p("", !0)
|
|
160
|
-
], 64))
|
|
161
|
-
], 64))
|
|
162
|
-
], 2)
|
|
163
|
-
], 2))), 128))
|
|
164
|
-
], 2)
|
|
165
|
-
]),
|
|
166
|
-
_: 2
|
|
167
|
-
}, [
|
|
168
|
-
e.$slots.title ? {
|
|
169
|
-
name: "title",
|
|
170
|
-
fn: v(() => [
|
|
171
|
-
M(e.$slots, "title")
|
|
172
|
-
]),
|
|
173
|
-
key: "0"
|
|
174
|
-
} : c.tooltip ? {
|
|
175
|
-
name: "title",
|
|
176
|
-
fn: v(() => [
|
|
177
|
-
d("div", {
|
|
178
|
-
class: s(n(l)("tooltip"))
|
|
179
|
-
}, [
|
|
180
|
-
(r(!0), i(f, null, j(c.labelValues, (t, y) => (r(), i("div", {
|
|
181
|
-
key: y,
|
|
182
|
-
class: s(n(l)("tooltip-item"))
|
|
183
|
-
}, [
|
|
184
|
-
d("span", {
|
|
185
|
-
class: s(n(l)("tooltip-label")),
|
|
186
|
-
style: u(c.tooltipLabelStyles)
|
|
187
|
-
}, a(t.label ? t.label : "--") + ": ", 7),
|
|
188
|
-
m(t.value) ? (r(), i("span", {
|
|
189
|
-
key: 0,
|
|
190
|
-
class: s(n(l)("tooltip-value")),
|
|
191
|
-
style: u(c.tooltipValueStyles)
|
|
192
|
-
}, [
|
|
193
|
-
R(S, {
|
|
194
|
-
value: t.value,
|
|
195
|
-
style: u([t.tooltipValueStyles])
|
|
196
|
-
}, null, 8, ["value", "style"]),
|
|
197
|
-
t.unit ? (r(), i("span", b, a(t.unit), 1)) : p("", !0)
|
|
198
|
-
], 6)) : (r(), i("span", {
|
|
199
|
-
key: 1,
|
|
200
|
-
class: s(n(l)("tooltip-value")),
|
|
201
|
-
style: u(c.tooltipValueStyles)
|
|
202
|
-
}, [
|
|
203
|
-
O(a(k(t.value, { ...t })) + " ", 1),
|
|
204
|
-
t.unit ? (r(), i("span", q, a(t.unit), 1)) : p("", !0)
|
|
205
|
-
], 6))
|
|
206
|
-
], 2))), 128))
|
|
207
|
-
], 2)
|
|
208
|
-
]),
|
|
209
|
-
key: "1"
|
|
210
|
-
} : void 0
|
|
211
|
-
]), 1040));
|
|
66
|
+
title: String(t.value),
|
|
67
|
+
style: u(
|
|
68
|
+
t.valueColor ? { color: t.valueColor } : null
|
|
69
|
+
),
|
|
70
|
+
onClick: (_) => t.handleValueClick && t.handleValueClick(s.labelValues)
|
|
71
|
+
}, c(e(d)(t.value, { ...t })), 15, G),
|
|
72
|
+
t.unit ? (i(), r("span", {
|
|
73
|
+
key: 0,
|
|
74
|
+
class: l(e(o)("value-group-unit")),
|
|
75
|
+
title: String(e(d)(t.value, { ...t })),
|
|
76
|
+
style: u(
|
|
77
|
+
t.unitColor ? { color: t.unitColor } : null
|
|
78
|
+
)
|
|
79
|
+
}, c(t.unit), 15, R)) : a("", !0)
|
|
80
|
+
], 64))
|
|
81
|
+
], 10, E),
|
|
82
|
+
n.$slots.title ? L(n.$slots, "title", { key: 2 }) : a("", !0)
|
|
83
|
+
], 2))), 128))
|
|
84
|
+
], 2));
|
|
212
85
|
}
|
|
213
86
|
});
|
|
214
87
|
export {
|
|
215
|
-
|
|
88
|
+
x as default
|
|
216
89
|
};
|
|
@@ -1,92 +1,10 @@
|
|
|
1
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
2
|
import { ApLadderProps, ApLadderLabelValue, ApLadderSlots } from './interface';
|
|
3
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
|
|
5
|
-
import { TooltipPlacement, AdjustOverflow } from '@aplus-frontend/antdv/es/tooltip';
|
|
6
|
-
import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
7
|
-
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
8
|
-
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
9
3
|
export * from './interface';
|
|
10
4
|
declare const ApLadder: {
|
|
11
5
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApLadderProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
12
6
|
layout: "vertical" | "horizontal";
|
|
13
|
-
tooltip: boolean;
|
|
14
7
|
labelAlign: "left" | "right";
|
|
15
|
-
tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
|
|
16
|
-
title: VueTypeValidableDef<any>;
|
|
17
|
-
trigger: PropType< TriggerType | TriggerType[]>;
|
|
18
|
-
open: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: any;
|
|
21
|
-
};
|
|
22
|
-
visible: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: any;
|
|
25
|
-
};
|
|
26
|
-
placement: PropType<TooltipPlacement>;
|
|
27
|
-
color: PropType<LiteralUnion<PresetColorType>>;
|
|
28
|
-
transitionName: StringConstructor;
|
|
29
|
-
overlayStyle: {
|
|
30
|
-
type: PropType<CSSProperties>;
|
|
31
|
-
default: CSSProperties;
|
|
32
|
-
};
|
|
33
|
-
overlayInnerStyle: {
|
|
34
|
-
type: PropType<CSSProperties>;
|
|
35
|
-
default: CSSProperties;
|
|
36
|
-
};
|
|
37
|
-
overlayClassName: StringConstructor;
|
|
38
|
-
openClassName: StringConstructor;
|
|
39
|
-
prefixCls: StringConstructor;
|
|
40
|
-
mouseEnterDelay: NumberConstructor;
|
|
41
|
-
mouseLeaveDelay: NumberConstructor;
|
|
42
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
43
|
-
arrowPointAtCenter: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: any;
|
|
46
|
-
};
|
|
47
|
-
arrow: {
|
|
48
|
-
type: PropType<boolean | {
|
|
49
|
-
pointAtCenter?: boolean;
|
|
50
|
-
}>;
|
|
51
|
-
default: boolean | {
|
|
52
|
-
pointAtCenter?: boolean;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
autoAdjustOverflow: {
|
|
56
|
-
type: PropType<boolean | AdjustOverflow>;
|
|
57
|
-
default: boolean | AdjustOverflow;
|
|
58
|
-
};
|
|
59
|
-
destroyTooltipOnHide: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: any;
|
|
62
|
-
};
|
|
63
|
-
align: {
|
|
64
|
-
type: PropType<AlignType>;
|
|
65
|
-
default: AlignType;
|
|
66
|
-
};
|
|
67
|
-
builtinPlacements: {
|
|
68
|
-
type: PropType<BuildInPlacements>;
|
|
69
|
-
default: BuildInPlacements;
|
|
70
|
-
};
|
|
71
|
-
children: ArrayConstructor;
|
|
72
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
73
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
74
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
75
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
76
|
-
mask: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
maskStyle: {
|
|
81
|
-
type: PropType<CSSProperties>;
|
|
82
|
-
default: CSSProperties;
|
|
83
|
-
};
|
|
84
|
-
maskTransitionName: StringConstructor;
|
|
85
|
-
maskClosable: {
|
|
86
|
-
type: BooleanConstructor;
|
|
87
|
-
default: boolean;
|
|
88
|
-
};
|
|
89
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
90
8
|
labelValues: Array< ApLadderLabelValue>;
|
|
91
9
|
majorColor: string;
|
|
92
10
|
minorColor: string;
|
|
@@ -99,83 +17,7 @@ declare const ApLadder: {
|
|
|
99
17
|
Defaults: {};
|
|
100
18
|
}, Readonly< ApLadderProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
101
19
|
layout: "vertical" | "horizontal";
|
|
102
|
-
tooltip: boolean;
|
|
103
20
|
labelAlign: "left" | "right";
|
|
104
|
-
tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
|
|
105
|
-
title: VueTypeValidableDef<any>;
|
|
106
|
-
trigger: PropType< TriggerType | TriggerType[]>;
|
|
107
|
-
open: {
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
default: any;
|
|
110
|
-
};
|
|
111
|
-
visible: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
default: any;
|
|
114
|
-
};
|
|
115
|
-
placement: PropType<TooltipPlacement>;
|
|
116
|
-
color: PropType<LiteralUnion<PresetColorType>>;
|
|
117
|
-
transitionName: StringConstructor;
|
|
118
|
-
overlayStyle: {
|
|
119
|
-
type: PropType<CSSProperties>;
|
|
120
|
-
default: CSSProperties;
|
|
121
|
-
};
|
|
122
|
-
overlayInnerStyle: {
|
|
123
|
-
type: PropType<CSSProperties>;
|
|
124
|
-
default: CSSProperties;
|
|
125
|
-
};
|
|
126
|
-
overlayClassName: StringConstructor;
|
|
127
|
-
openClassName: StringConstructor;
|
|
128
|
-
prefixCls: StringConstructor;
|
|
129
|
-
mouseEnterDelay: NumberConstructor;
|
|
130
|
-
mouseLeaveDelay: NumberConstructor;
|
|
131
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
132
|
-
arrowPointAtCenter: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
default: any;
|
|
135
|
-
};
|
|
136
|
-
arrow: {
|
|
137
|
-
type: PropType<boolean | {
|
|
138
|
-
pointAtCenter?: boolean;
|
|
139
|
-
}>;
|
|
140
|
-
default: boolean | {
|
|
141
|
-
pointAtCenter?: boolean;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
autoAdjustOverflow: {
|
|
145
|
-
type: PropType<boolean | AdjustOverflow>;
|
|
146
|
-
default: boolean | AdjustOverflow;
|
|
147
|
-
};
|
|
148
|
-
destroyTooltipOnHide: {
|
|
149
|
-
type: BooleanConstructor;
|
|
150
|
-
default: any;
|
|
151
|
-
};
|
|
152
|
-
align: {
|
|
153
|
-
type: PropType<AlignType>;
|
|
154
|
-
default: AlignType;
|
|
155
|
-
};
|
|
156
|
-
builtinPlacements: {
|
|
157
|
-
type: PropType<BuildInPlacements>;
|
|
158
|
-
default: BuildInPlacements;
|
|
159
|
-
};
|
|
160
|
-
children: ArrayConstructor;
|
|
161
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
162
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
163
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
164
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
165
|
-
mask: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
maskStyle: {
|
|
170
|
-
type: PropType<CSSProperties>;
|
|
171
|
-
default: CSSProperties;
|
|
172
|
-
};
|
|
173
|
-
maskTransitionName: StringConstructor;
|
|
174
|
-
maskClosable: {
|
|
175
|
-
type: BooleanConstructor;
|
|
176
|
-
default: boolean;
|
|
177
|
-
};
|
|
178
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
179
21
|
labelValues: Array< ApLadderLabelValue>;
|
|
180
22
|
majorColor: string;
|
|
181
23
|
minorColor: string;
|
|
@@ -185,83 +27,7 @@ declare const ApLadder: {
|
|
|
185
27
|
__isSuspense?: never;
|
|
186
28
|
} & ComponentOptionsBase<Readonly< ApLadderProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
187
29
|
layout: "vertical" | "horizontal";
|
|
188
|
-
tooltip: boolean;
|
|
189
30
|
labelAlign: "left" | "right";
|
|
190
|
-
tooltipProps: Partial<Pick<Partial< ExtractPropTypes<{
|
|
191
|
-
title: VueTypeValidableDef<any>;
|
|
192
|
-
trigger: PropType< TriggerType | TriggerType[]>;
|
|
193
|
-
open: {
|
|
194
|
-
type: BooleanConstructor;
|
|
195
|
-
default: any;
|
|
196
|
-
};
|
|
197
|
-
visible: {
|
|
198
|
-
type: BooleanConstructor;
|
|
199
|
-
default: any;
|
|
200
|
-
};
|
|
201
|
-
placement: PropType<TooltipPlacement>;
|
|
202
|
-
color: PropType<LiteralUnion<PresetColorType>>;
|
|
203
|
-
transitionName: StringConstructor;
|
|
204
|
-
overlayStyle: {
|
|
205
|
-
type: PropType<CSSProperties>;
|
|
206
|
-
default: CSSProperties;
|
|
207
|
-
};
|
|
208
|
-
overlayInnerStyle: {
|
|
209
|
-
type: PropType<CSSProperties>;
|
|
210
|
-
default: CSSProperties;
|
|
211
|
-
};
|
|
212
|
-
overlayClassName: StringConstructor;
|
|
213
|
-
openClassName: StringConstructor;
|
|
214
|
-
prefixCls: StringConstructor;
|
|
215
|
-
mouseEnterDelay: NumberConstructor;
|
|
216
|
-
mouseLeaveDelay: NumberConstructor;
|
|
217
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
218
|
-
arrowPointAtCenter: {
|
|
219
|
-
type: BooleanConstructor;
|
|
220
|
-
default: any;
|
|
221
|
-
};
|
|
222
|
-
arrow: {
|
|
223
|
-
type: PropType<boolean | {
|
|
224
|
-
pointAtCenter?: boolean;
|
|
225
|
-
}>;
|
|
226
|
-
default: boolean | {
|
|
227
|
-
pointAtCenter?: boolean;
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
autoAdjustOverflow: {
|
|
231
|
-
type: PropType<boolean | AdjustOverflow>;
|
|
232
|
-
default: boolean | AdjustOverflow;
|
|
233
|
-
};
|
|
234
|
-
destroyTooltipOnHide: {
|
|
235
|
-
type: BooleanConstructor;
|
|
236
|
-
default: any;
|
|
237
|
-
};
|
|
238
|
-
align: {
|
|
239
|
-
type: PropType<AlignType>;
|
|
240
|
-
default: AlignType;
|
|
241
|
-
};
|
|
242
|
-
builtinPlacements: {
|
|
243
|
-
type: PropType<BuildInPlacements>;
|
|
244
|
-
default: BuildInPlacements;
|
|
245
|
-
};
|
|
246
|
-
children: ArrayConstructor;
|
|
247
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
248
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
249
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
250
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
251
|
-
mask: {
|
|
252
|
-
type: BooleanConstructor;
|
|
253
|
-
default: boolean;
|
|
254
|
-
};
|
|
255
|
-
maskStyle: {
|
|
256
|
-
type: PropType<CSSProperties>;
|
|
257
|
-
default: CSSProperties;
|
|
258
|
-
};
|
|
259
|
-
maskTransitionName: StringConstructor;
|
|
260
|
-
maskClosable: {
|
|
261
|
-
type: BooleanConstructor;
|
|
262
|
-
default: boolean;
|
|
263
|
-
};
|
|
264
|
-
}>>, "title" | "placement" | "color" | "mouseEnterDelay" | "trigger" | "getPopupContainer" | "align" | "overlayStyle" | "overlayInnerStyle" | "overlayClassName" | "mouseLeaveDelay" | "arrowPointAtCenter" | "arrow" | "autoAdjustOverflow" | "destroyTooltipOnHide">>;
|
|
265
31
|
labelValues: Array< ApLadderLabelValue>;
|
|
266
32
|
majorColor: string;
|
|
267
33
|
minorColor: string;
|