@opentiny/vue-renderless 3.13.2 → 3.14.1
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/action-sheet/index.js +20 -13
- package/action-sheet/vue.js +8 -7
- package/amount/index.js +100 -25
- package/amount/vue.js +102 -26
- package/anchor/index.js +1 -0
- package/area/index.js +8 -8
- package/area/vue.js +5 -5
- package/async-flowchart/index.js +16 -3
- package/autocomplete/index.js +58 -14
- package/autocomplete/vue.js +40 -12
- package/badge/index.js +12 -0
- package/badge/vue.js +6 -4
- package/breadcrumb/vue.js +3 -1
- package/breadcrumb-item/vue.js +6 -2
- package/button/index.js +5 -1
- package/calendar/index.js +2 -86
- package/calendar-bar/index.js +18 -4
- package/calendar-view/index.js +5 -1
- package/calendar-view/vue.js +16 -3
- package/card-group/vue.js +4 -2
- package/cascader/index.js +86 -34
- package/cascader/vue.js +61 -20
- package/cascader-menu/index.js +7 -7
- package/cascader-menu/vue.js +2 -3
- package/cascader-mobile/index.js +36 -23
- package/cascader-mobile/vue.js +6 -0
- package/cascader-node/index.js +13 -1
- package/cascader-node/vue.js +15 -4
- package/cascader-panel/index.js +1 -1
- package/cascader-select/column-index.js +150 -0
- package/cascader-select/column.js +120 -0
- package/cascader-select/index.js +29 -165
- package/cascader-select/usePicker.js +251 -0
- package/cascader-select/useTouch.js +65 -0
- package/cascader-select/vue.js +35 -47
- package/cell/vue.js +2 -1
- package/chart-bar/index.js +2 -3
- package/chart-core/deps/constants.js +43 -43
- package/chart-core/index.js +1 -1
- package/chart-gauge/index.js +2 -2
- package/chart-heatmap/index.js +17 -10
- package/chart-line/index.js +8 -9
- package/chart-tree/index.js +2 -2
- package/chart-waterfall/index.js +4 -6
- package/checkbox/index.js +18 -1
- package/checkbox/vue.js +15 -7
- package/checkbox-group/vue.js +1 -0
- package/col/vue.js +1 -1
- package/collapse/index.js +3 -3
- package/color-select-panel/vue.js +0 -7
- package/column-list-item/index.js +17 -1
- package/column-list-item/vue.js +8 -3
- package/common/bigInt.js +2 -2
- package/common/date.js +7 -5
- package/common/deps/clickoutside.js +6 -2
- package/common/deps/date-util.js +4 -2
- package/common/deps/dom.js +19 -4
- package/common/deps/popper.js +44 -11
- package/common/deps/resize-event.js +1 -0
- package/common/deps/touch-emulator.js +4 -1
- package/common/deps/tree-model/node.js +2 -2
- package/common/deps/tree-model/tree-store.js +2 -13
- package/common/deps/useRect.js +25 -0
- package/common/deps/vue-popper.js +38 -20
- package/common/index.js +2 -2
- package/common/runtime.js +1 -1
- package/common/string.js +2 -2
- package/common/type.js +2 -1
- package/common/validate/rules/enum.js +1 -1
- package/common/validate/rules/pattern.js +2 -2
- package/common/validate/rules/range.js +8 -5
- package/common/validate/rules/required.js +1 -1
- package/common/validate/rules/type.js +5 -5
- package/common/validate/rules/whitespace.js +1 -1
- package/common/validate/util.js +15 -16
- package/common/validate/validations/integer.js +1 -1
- package/common/validate/validations/method.js +1 -1
- package/currency/index.js +74 -7
- package/currency/vue.js +21 -5
- package/date-panel/index.js +16 -0
- package/date-panel/vue.js +8 -2
- package/date-picker-mobile/index.js +12 -0
- package/date-picker-mobile/vue.js +7 -1
- package/date-range/vue.js +15 -6
- package/date-table/index.js +35 -53
- package/date-table/vue.js +4 -2
- package/dialog-box/index.js +46 -14
- package/dialog-box/vue.js +30 -7
- package/dialog-select/index.js +6 -3
- package/dialog-select/vue.js +8 -4
- package/drawer/index.js +27 -5
- package/drawer/vue.js +14 -7
- package/dropdown/index.js +7 -7
- package/dropdown/vue.js +6 -2
- package/dropdown-item/index.js +9 -1
- package/dropdown-item/mf.js +6 -10
- package/dropdown-item/vue.js +20 -7
- package/dropdown-menu/index.js +20 -7
- package/dropdown-menu/vue.js +4 -3
- package/exception/index.js +2 -7
- package/exception/vue.js +7 -10
- package/fall-menu/index.js +5 -1
- package/fall-menu/vue.js +13 -2
- package/file-upload/index.js +68 -18
- package/file-upload/vue.js +38 -8
- package/filter-box/index.js +1 -0
- package/float-button/index.js +42 -0
- package/float-button/vue.js +101 -0
- package/floating-button/index.js +62 -16
- package/floating-button/vue.js +27 -9
- package/flowchart/index.js +134 -25
- package/flowchart/node.js +13 -4
- package/flowchart/vue.js +16 -4
- package/form/vue.js +8 -0
- package/form-item/index.js +5 -5
- package/form-item/vue.js +3 -1
- package/fullscreen/index.js +5 -5
- package/fullscreen/vue.js +3 -3
- package/grid/plugins/export.js +5 -2
- package/grid/utils/column.js +1 -0
- package/grid/utils/dom.js +7 -1
- package/image/index.js +6 -1
- package/image/vue.js +6 -3
- package/image-viewer/index.js +62 -51
- package/image-viewer/vue.js +17 -5
- package/input/index.js +81 -20
- package/input/vue.js +44 -18
- package/ip-address/index.js +61 -19
- package/ip-address/vue.js +22 -4
- package/link/vue.js +3 -1
- package/loading/index.js +2 -2
- package/loading/vue.js +8 -2
- package/logout/index.js +1 -1
- package/menu/index.js +15 -2
- package/menu/vue.js +22 -17
- package/mind-map/index.js +47 -0
- package/mind-map/vue.js +53 -0
- package/modal/index.js +44 -4
- package/modal/vue.js +18 -4
- package/multi-select/index.js +186 -11
- package/multi-select/vue.js +60 -15
- package/multi-select-item/index.js +23 -0
- package/multi-select-item/vue.js +31 -0
- package/numeric/index.js +48 -12
- package/numeric/vue.js +44 -19
- package/option/index.js +27 -9
- package/option/vue.js +37 -21
- package/option-group/index.js +3 -3
- package/package.json +1 -1
- package/pager/index.js +18 -4
- package/pager/vue.js +16 -5
- package/picker/index.js +290 -77
- package/picker/mb.js +42 -0
- package/picker/vue.js +76 -20
- package/picker-column/index.js +1 -1
- package/pop-upload/vue.js +3 -0
- package/popconfirm/index.js +3 -6
- package/popconfirm/vue.js +1 -1
- package/popeditor/index.js +73 -34
- package/popeditor/vue.js +15 -11
- package/popover/index.js +4 -4
- package/popover/vue.js +6 -6
- package/popup/index.js +3 -3
- package/popup/vue.js +5 -5
- package/pull-refresh/index.js +13 -13
- package/pull-refresh/vue.js +5 -4
- package/radio/index.js +0 -17
- package/radio/vue.js +4 -10
- package/rate/index.js +1 -1
- package/rate/vue.js +0 -2
- package/record/index.js +4 -1
- package/rich-text/clipboard.js +54 -0
- package/rich-text/index.js +192 -0
- package/rich-text/module/file-upload.js +107 -0
- package/rich-text/module/image-drop.js +63 -0
- package/rich-text/module/image-upload.js +89 -0
- package/rich-text/options.js +141 -0
- package/rich-text/table-module.js +382 -0
- package/rich-text/vue.js +102 -0
- package/{rich-text-edtior → rich-text-editor}/index.js +2 -2
- package/{rich-text-edtior → rich-text-editor}/vue.js +2 -5
- package/scrollbar/index.js +11 -11
- package/scrollbar/vue-bar.js +3 -3
- package/scrollbar/vue.js +5 -5
- package/search/index.js +9 -9
- package/search/vue.js +8 -6
- package/select/index.js +442 -393
- package/select/vue.js +278 -164
- package/select-dropdown/index.js +61 -3
- package/select-dropdown/vue.js +85 -8
- package/select-view/index.js +3 -1
- package/selected-box/index.js +2 -0
- package/selected-box/vue.js +6 -3
- package/signature/index.js +241 -0
- package/signature/vue.js +88 -0
- package/skeleton/index.js +14 -0
- package/skeleton/vue.js +15 -0
- package/skeleton-item/vue.js +15 -0
- package/slider/index.js +70 -17
- package/slider/vue.js +16 -7
- package/split/index.js +5 -3
- package/split/vue.js +4 -6
- package/standard-list-item/index.js +15 -1
- package/standard-list-item/vue.js +6 -5
- package/steps/index.js +25 -2
- package/steps/slide-bar.js +8 -1
- package/steps/vue.js +15 -3
- package/tab-item-mf/vue.js +14 -8
- package/tab-nav/index.js +30 -5
- package/tab-nav/vue.js +16 -4
- package/tabbar/vue.js +9 -3
- package/tabbar-item/vue.js +3 -2
- package/tabs/index.js +16 -4
- package/tabs/vue.js +2 -1
- package/tabs-mf/index.js +20 -6
- package/tabs-mf/vue-nav.js +26 -11
- package/tabs-mf/vue.js +7 -7
- package/tabs-mf/wheel.js +1 -0
- package/tag/index.js +1 -1
- package/tag-group/index.js +2 -1
- package/time/index.js +5 -2
- package/time/vue.js +1 -1
- package/time-line/index.js +3 -3
- package/time-line/vue.js +2 -2
- package/time-picker-mobile/index.js +24 -5
- package/time-picker-mobile/vue.js +17 -7
- package/time-range/index.js +2 -0
- package/timeline-item/vue.js +1 -1
- package/tooltip/index.js +6 -3
- package/tooltip/vue.js +4 -4
- package/transfer/index.js +20 -22
- package/transfer/vue.js +1 -6
- package/transfer-panel/vue.js +3 -5
- package/tree/index.js +21 -4
- package/tree/vue.js +10 -8
- package/tree-menu/index.js +29 -3
- package/tree-menu/vue.js +28 -15
- package/tree-node/index.js +18 -18
- package/tree-node/vue.js +6 -5
- package/types/action-sheet.type.d.ts +118 -1
- package/types/amount.type.d.ts +168 -1
- package/types/area.type.d.ts +134 -1
- package/types/async-flowchart.type.d.ts +72 -0
- package/types/autocomplete.type.d.ts +199 -1
- package/types/badge.type.d.ts +3 -1
- package/types/breadcrumb-item.type.d.ts +2 -0
- package/types/breadcrumb.type.d.ts +2 -0
- package/types/button-group.type.d.ts +3 -3
- package/types/button.type.d.ts +4 -0
- package/types/cascader-menu.type.d.ts +3 -4
- package/types/cascader-node.type.d.ts +5 -2
- package/types/cascader-panel.type-2bd03be3.d.ts +241 -0
- package/types/cascader-panel.type.d.ts +3 -241
- package/types/cascader.type.d.ts +329 -1
- package/types/checkbox.type.d.ts +6 -0
- package/types/collapse.type.d.ts +19 -2
- package/types/date-picker.type.d.ts +38 -1
- package/types/dialog-box.type.d.ts +13 -3
- package/types/drawer.type.d.ts +133 -1
- package/types/{dropdown-item.type-8ea6c633.d.ts → dropdown-item.type-8475a549.d.ts} +7 -13
- package/types/dropdown-item.type.d.ts +1 -1
- package/types/dropdown-menu.type.d.ts +1 -1
- package/types/dropdown.type.d.ts +1 -5
- package/types/fall-menu.type.d.ts +94 -1
- package/types/file-upload.type.d.ts +1 -1
- package/types/float-button.type.d.ts +123 -0
- package/types/form-item.type.d.ts +1 -1
- package/types/{form.type-d0fd42f3.d.ts → form.type-a2dc0099.d.ts} +4 -1
- package/types/form.type.d.ts +1 -1
- package/types/{index-e0250f63.d.ts → index-b012f687.d.ts} +9 -0
- package/types/input.type.d.ts +2 -6
- package/types/ip-address.type.d.ts +160 -1
- package/types/link.type.d.ts +6 -3
- package/types/loading.type.d.ts +7 -0
- package/types/mind-map.type.d.ts +20 -0
- package/types/modal.type.d.ts +29 -2
- package/types/numeric.type.d.ts +41 -10
- package/types/pager.type.d.ts +12 -0
- package/types/picker.type.d.ts +18 -0
- package/types/popconfirm.type.d.ts +86 -1
- package/types/popeditor.type.d.ts +4 -0
- package/types/popover.type.d.ts +3 -3
- package/types/progress.type.d.ts +2 -0
- package/types/radio.type.d.ts +0 -4
- package/types/rate.type.d.ts +236 -1
- package/types/search.type.d.ts +88 -1
- package/types/shared.type.d.ts +1 -1
- package/types/skeleton-item.type.d.ts +38 -0
- package/types/skeleton.type.d.ts +45 -0
- package/types/slider.type.d.ts +49 -10
- package/types/steps.type.d.ts +14 -3
- package/types/tab-bar.type.d.ts +1 -1
- package/types/tab-nav.type.d.ts +7 -2
- package/types/tabs.type.d.ts +9 -1
- package/types/tag-group.type.d.ts +64 -1
- package/types/{time-line.type-d7daa669.d.ts → time-line.type-b155cb4f.d.ts} +12 -0
- package/types/time-line.type.d.ts +1 -1
- package/types/timeline-item.type.d.ts +1 -1
- package/types/tooltip.type.d.ts +2 -2
- package/types/transfer.type.d.ts +185 -1
- package/types/tree-menu.type.d.ts +210 -1
- package/types/upload-dragger.type.d.ts +1 -1
- package/types/{upload-list.type-343e8c11.d.ts → upload-list.type-6d6e3d0e.d.ts} +35 -8
- package/types/upload-list.type.d.ts +1 -1
- package/types/upload.type.d.ts +1 -1
- package/types/user-head.type.d.ts +146 -1
- package/types/wizard.type.d.ts +1 -0
- package/upload/index.js +64 -34
- package/upload/vue.js +9 -5
- package/upload-dragger/index.js +22 -20
- package/upload-list/index.js +24 -18
- package/upload-list/vue.js +9 -4
- package/user/index.js +35 -26
- package/user/vue.js +1 -1
- package/user-head/index.js +3 -3
- package/watermark/index.js +11 -0
- package/wheel/index.js +3 -0
- package/wizard/vue.js +4 -2
- package/common/deps/modal-queue.js +0 -6
- package/common/deps/requestAnimationFrame.js +0 -25
package/types/search.type.d.ts
CHANGED
|
@@ -1,6 +1,91 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
|
+
declare const searchProps: {
|
|
5
|
+
mini: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
big: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
buttonText: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: () => any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 设置为透明模式,配置为true时,边框变为透明且收缩后半透明显示,一般用在带有背景的场景
|
|
19
|
+
*/
|
|
20
|
+
transparent: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 搜索的类型选项,格式为[{text:'文档',value:1},...],不配置时类型选择固定显示为All
|
|
26
|
+
*/
|
|
27
|
+
searchTypes: {
|
|
28
|
+
type: ArrayConstructor;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* 设置搜索输入框内的提示占位文本
|
|
33
|
+
*/
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
clearable: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
tabindex: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* 配置搜索输入框enter键,enter按下触发搜索
|
|
52
|
+
*/
|
|
53
|
+
isEnterSearch: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* 配置主题色,primary:蓝 gray:灰
|
|
59
|
+
*/
|
|
60
|
+
themeType: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: string) => boolean;
|
|
64
|
+
};
|
|
65
|
+
showButton: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
changeBgColor: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
size: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
typeValue: ObjectConstructor;
|
|
78
|
+
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
79
|
+
tiny_mode: StringConstructor;
|
|
80
|
+
tiny_mode_root: BooleanConstructor;
|
|
81
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[]; /**
|
|
82
|
+
* 搜索的类型选项,格式为[{text:'文档',value:1},...],不配置时类型选择固定显示为All
|
|
83
|
+
*/
|
|
84
|
+
tiny_renderless: FunctionConstructor;
|
|
85
|
+
tiny_theme: StringConstructor;
|
|
86
|
+
tiny_chart_theme: ObjectConstructor;
|
|
87
|
+
};
|
|
88
|
+
|
|
4
89
|
interface ISearchState {
|
|
5
90
|
show: boolean;
|
|
6
91
|
focus: boolean;
|
|
@@ -10,8 +95,10 @@ interface ISearchState {
|
|
|
10
95
|
searchValue: object;
|
|
11
96
|
types: string[];
|
|
12
97
|
showClear: boolean;
|
|
98
|
+
formItemSize: string;
|
|
99
|
+
searchSize: string;
|
|
13
100
|
}
|
|
14
|
-
type ISearchProps = ExtractPropTypes<typeof
|
|
101
|
+
type ISearchProps = ExtractPropTypes<typeof searchProps>;
|
|
15
102
|
type ISearchRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
|
16
103
|
state: ISearchState;
|
|
17
104
|
props: ISearchProps;
|
package/types/shared.type.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ interface ISharedRenderlessParamUtils<CT = never> {
|
|
|
112
112
|
mergeClass: (...cssClasses: any[]) => string;
|
|
113
113
|
}
|
|
114
114
|
/** vue.ts的一个混合上下文,也是index.ts 文件中二层函数的入参混合体。 */
|
|
115
|
-
type ISharedRenderlessFunctionParams<CT> = {
|
|
115
|
+
type ISharedRenderlessFunctionParams<CT = null> = {
|
|
116
116
|
api: object;
|
|
117
117
|
props: object;
|
|
118
118
|
state: object;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { PropType } from '@opentiny/vue-common';
|
|
3
|
+
|
|
4
|
+
type VariantType = 'image' | 'circle' | 'square';
|
|
5
|
+
type SizeType = 'large' | 'medium' | 'small';
|
|
6
|
+
declare const $constants: {};
|
|
7
|
+
declare const skeletonItemProps: {
|
|
8
|
+
_constants: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
default: () => {};
|
|
11
|
+
};
|
|
12
|
+
modelValue: StringConstructor;
|
|
13
|
+
variant: {
|
|
14
|
+
type: PropType<VariantType>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: PropType<SizeType>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
tiny_mode: StringConstructor;
|
|
22
|
+
tiny_mode_root: BooleanConstructor;
|
|
23
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
24
|
+
tiny_renderless: FunctionConstructor;
|
|
25
|
+
tiny_theme: StringConstructor;
|
|
26
|
+
tiny_chart_theme: ObjectConstructor;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
type ISkeletonItemProps = ExtractPropTypes<typeof skeletonItemProps>;
|
|
30
|
+
type ISkeletonItemConstants = typeof $constants;
|
|
31
|
+
interface ISkeletonItemState {
|
|
32
|
+
isActive: boolean;
|
|
33
|
+
}
|
|
34
|
+
interface ISkeletonItemApi {
|
|
35
|
+
state: ISkeletonItemState;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ISkeletonItemApi, ISkeletonItemConstants, ISkeletonItemProps, ISkeletonItemState };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { PropType } from '@opentiny/vue-common';
|
|
3
|
+
|
|
4
|
+
declare const $constants: {};
|
|
5
|
+
declare const skeletonProps: {
|
|
6
|
+
_constants: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
modelValue: StringConstructor;
|
|
11
|
+
loading: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
rows: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
avatar: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
rowsWidth: {
|
|
24
|
+
type: PropType<(string | number)[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
active: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
tiny_mode: StringConstructor;
|
|
32
|
+
tiny_mode_root: BooleanConstructor;
|
|
33
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
34
|
+
tiny_renderless: FunctionConstructor;
|
|
35
|
+
tiny_theme: StringConstructor;
|
|
36
|
+
tiny_chart_theme: ObjectConstructor;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
type ISkeletonProps = ExtractPropTypes<typeof skeletonProps>;
|
|
40
|
+
type ISkeletonConstants = typeof $constants;
|
|
41
|
+
interface ISkeletonApi {
|
|
42
|
+
toPxStyle: (value: string | number) => string | undefined;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { ISkeletonApi, ISkeletonConstants, ISkeletonProps };
|
package/types/slider.type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, ComputedRef } from 'vue';
|
|
1
|
+
import { PropType, ExtractPropTypes, CSSProperties, ComputedRef } from 'vue';
|
|
2
2
|
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
@@ -9,6 +9,7 @@ declare const $constants: {
|
|
|
9
9
|
PC_SLIDER_CLS: string;
|
|
10
10
|
PC_RANGE_CLS: string;
|
|
11
11
|
PC_BUTTON_CLS: string;
|
|
12
|
+
PC_LABEL_CLS: string;
|
|
12
13
|
PC_LEFT_SVG_CLS: string;
|
|
13
14
|
PC_RIGHT_SVG_CLS: string;
|
|
14
15
|
MOBILE_TIP_CLS: string;
|
|
@@ -40,6 +41,7 @@ declare const sliderProps: {
|
|
|
40
41
|
PC_SLIDER_CLS: string;
|
|
41
42
|
PC_RANGE_CLS: string;
|
|
42
43
|
PC_BUTTON_CLS: string;
|
|
44
|
+
PC_LABEL_CLS: string;
|
|
43
45
|
PC_LEFT_SVG_CLS: string;
|
|
44
46
|
PC_RIGHT_SVG_CLS: string;
|
|
45
47
|
MOBILE_TIP_CLS: string;
|
|
@@ -118,6 +120,13 @@ declare const sliderProps: {
|
|
|
118
120
|
type: BooleanConstructor;
|
|
119
121
|
default: boolean;
|
|
120
122
|
};
|
|
123
|
+
changeCompat: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
marks: {
|
|
128
|
+
type: PropType<Record<number, string>>;
|
|
129
|
+
};
|
|
121
130
|
tiny_mode: StringConstructor;
|
|
122
131
|
tiny_mode_root: BooleanConstructor;
|
|
123
132
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -126,15 +135,41 @@ declare const sliderProps: {
|
|
|
126
135
|
tiny_chart_theme: ObjectConstructor;
|
|
127
136
|
};
|
|
128
137
|
|
|
138
|
+
/**
|
|
139
|
+
* Copyright (c) 2022 - present TinyVue Authors.
|
|
140
|
+
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
141
|
+
*
|
|
142
|
+
* Use of this source code is governed by an MIT-style license.
|
|
143
|
+
*
|
|
144
|
+
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
145
|
+
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
146
|
+
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
declare const getActiveButtonValue: (state: ISliderRenderlessParams['state']) => () => number | number[];
|
|
151
|
+
interface IMarkListItem {
|
|
152
|
+
value: number;
|
|
153
|
+
label: string;
|
|
154
|
+
percent: number;
|
|
155
|
+
positionStyle: {
|
|
156
|
+
[key: string]: string;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
declare const getMarkList: ({ props }: Pick<ISliderRenderlessParams, 'props'>) => () => IMarkListItem[];
|
|
160
|
+
declare const handleSlotInputFocus: (state: ISliderRenderlessParams['state']) => () => void;
|
|
161
|
+
declare const handleSlotInputBlur: ({ state, api }: Pick<ISliderRenderlessParams, 'api' | 'state'>) => () => void;
|
|
162
|
+
declare const updateSlotValue: ({ state }: Pick<ISliderRenderlessParams, 'state'>) => () => void;
|
|
163
|
+
declare const handleSlotInput: ({ state, api }: Pick<ISliderRenderlessParams, 'api' | 'state'>) => (event: Event, isLeftInput?: boolean) => void;
|
|
164
|
+
|
|
129
165
|
type ISliderProps = ExtractPropTypes<typeof sliderProps>;
|
|
130
166
|
type ISliderConstants = typeof $constants;
|
|
131
167
|
interface ISliderState {
|
|
132
168
|
tipStyle: object;
|
|
133
|
-
barStyle:
|
|
169
|
+
barStyle: CSSProperties;
|
|
134
170
|
moveStyle: object;
|
|
135
171
|
points: object[];
|
|
136
172
|
labels: object[];
|
|
137
|
-
isInit: boolean;
|
|
138
173
|
isDrag: boolean;
|
|
139
174
|
sliderSize: number;
|
|
140
175
|
inputValue: [number, number];
|
|
@@ -156,11 +191,12 @@ interface ISliderState {
|
|
|
156
191
|
rangeDiff: ComputedRef<number>;
|
|
157
192
|
tipValue: ComputedRef<string>;
|
|
158
193
|
formDisabled: ComputedRef<boolean>;
|
|
159
|
-
disabled:
|
|
194
|
+
disabled: boolean;
|
|
160
195
|
/** 使用这个值作为插槽中输入的值,而不是直接用activeValue,来实现在输入时不会被max min属性计算而改变 */
|
|
161
|
-
slotValue: number;
|
|
196
|
+
slotValue: number | number[] | string;
|
|
162
197
|
/** 是否正在输入 */
|
|
163
198
|
isSlotTyping: boolean;
|
|
199
|
+
markList: ReturnType<ISliderApi['getMarkList']>;
|
|
164
200
|
}
|
|
165
201
|
interface ISliderApi {
|
|
166
202
|
state: ISliderState;
|
|
@@ -171,7 +207,7 @@ interface ISliderApi {
|
|
|
171
207
|
bindResize: () => void;
|
|
172
208
|
setButtonStyle: () => void;
|
|
173
209
|
calculateValue: (event: Event) => number;
|
|
174
|
-
getActiveButtonValue:
|
|
210
|
+
getActiveButtonValue: ReturnType<typeof getActiveButtonValue>;
|
|
175
211
|
getActiveButtonIndex: (event: Event) => number;
|
|
176
212
|
setTipStyle: () => void;
|
|
177
213
|
customAfterAppearHook: () => void;
|
|
@@ -185,15 +221,18 @@ interface ISliderApi {
|
|
|
185
221
|
bindMouseMove: () => void;
|
|
186
222
|
bindMouseDown: () => void;
|
|
187
223
|
setActiveButtonValue: (currentValue: number) => void;
|
|
188
|
-
initSlider: (inputValue: number | [
|
|
224
|
+
initSlider: (inputValue: number | number[]) => void;
|
|
189
225
|
watchModelValue: () => void;
|
|
190
226
|
watchActiveValue: () => void;
|
|
191
227
|
getPoints: () => void;
|
|
192
228
|
getLabels: () => void;
|
|
193
229
|
inputValueChange: () => void;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
230
|
+
inputOnChange: () => void;
|
|
231
|
+
handleSlotInputFocus: ReturnType<typeof handleSlotInputFocus>;
|
|
232
|
+
handleSlotInputBlur: ReturnType<typeof handleSlotInputBlur>;
|
|
233
|
+
handleSlotInput: ReturnType<typeof handleSlotInput>;
|
|
234
|
+
getMarkList: ReturnType<typeof getMarkList>;
|
|
235
|
+
updateSlotValue: ReturnType<typeof updateSlotValue>;
|
|
197
236
|
}
|
|
198
237
|
type ISliderRenderlessParams = ISharedRenderlessFunctionParams<ISliderConstants> & {
|
|
199
238
|
state: ISliderState;
|
package/types/steps.type.d.ts
CHANGED
|
@@ -55,6 +55,12 @@ declare const stepsProps: {
|
|
|
55
55
|
tiny_chart_theme: ObjectConstructor;
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
+
declare const updateStartIndex: ({ state, props }: Pick<IStepsRenderlessParams, 'state' | 'props'>) => () => void;
|
|
59
|
+
declare const isVisibleHandler: ({ state, props }: Pick<IStepsRenderlessParams, 'state' | 'props'>) => (index: number) => IStepsVisibleConfig;
|
|
60
|
+
declare const computedRightNodePos: ({ state, props }: Pick<IStepsRenderlessParams, 'state' | 'props'>) => () => IStepsNodePosConfig[];
|
|
61
|
+
declare const handleMouseenter: ({ state, vm }: Pick<IStepsRenderlessParams, 'state' | 'vm'>) => (e: MouseEvent, placement: string) => void;
|
|
62
|
+
declare const handleMouseleave: (state: IStepsRenderlessParams['state']) => () => void;
|
|
63
|
+
|
|
58
64
|
type IStepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
59
65
|
type IStepsRenderlessParamUtils = ISharedRenderlessParamUtils<never>;
|
|
60
66
|
interface IStepsState {
|
|
@@ -62,12 +68,17 @@ interface IStepsState {
|
|
|
62
68
|
endIndex: number;
|
|
63
69
|
rightNodePositions: IStepsNodePosConfig[];
|
|
64
70
|
computedSpace: number | string;
|
|
71
|
+
popoverVisible: boolean;
|
|
72
|
+
popoverContent: string | null;
|
|
73
|
+
popoverPlacement: string;
|
|
65
74
|
}
|
|
66
75
|
interface IStepsApi {
|
|
67
76
|
state: IStepsState;
|
|
68
|
-
updateStartIndex:
|
|
69
|
-
isVisibleHandler:
|
|
70
|
-
|
|
77
|
+
updateStartIndex: ReturnType<typeof updateStartIndex>;
|
|
78
|
+
isVisibleHandler: ReturnType<typeof isVisibleHandler>;
|
|
79
|
+
handleMouseenter: ReturnType<typeof handleMouseenter>;
|
|
80
|
+
handleMouseleave: ReturnType<typeof handleMouseleave>;
|
|
81
|
+
computedRightNodePos: ReturnType<typeof computedRightNodePos>;
|
|
71
82
|
}
|
|
72
83
|
type IStepsRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
|
73
84
|
props: IStepsProps;
|
package/types/tab-bar.type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ITabsVm } from './tabs.type.js';
|
|
3
3
|
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
|
-
import { t as tabBarProps } from './index-
|
|
4
|
+
import { t as tabBarProps } from './index-b012f687.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Copyright (c) 2022 - present TinyVue Authors.
|
package/types/tab-nav.type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ITabsProps, ITabsVm } from './tabs.type.js';
|
|
3
3
|
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
|
-
import { a as tabNavPcProps } from './index-
|
|
4
|
+
import { a as tabNavPcProps } from './index-b012f687.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Copyright (c) 2022 - present TinyVue Authors.
|
|
@@ -17,6 +17,7 @@ import { a as tabNavPcProps } from './index-e0250f63.js';
|
|
|
17
17
|
|
|
18
18
|
declare const computedNavStyle: (state: ITabNavRenderlessParams['state']) => {
|
|
19
19
|
transform: string;
|
|
20
|
+
width?: string;
|
|
20
21
|
};
|
|
21
22
|
declare const scrollIntoView: ({ parent, vm, state }: Pick<ITabNavRenderlessParams, 'parent' | 'vm' | 'state'>) => () => void;
|
|
22
23
|
declare const computedSizeName: (state: ITabNavRenderlessParams['state']) => 'width' | 'height';
|
|
@@ -46,6 +47,10 @@ type ITabNavProps = {
|
|
|
46
47
|
} & ExtractPropTypes<typeof tabNavPcProps> & ITabsProps;
|
|
47
48
|
interface ITabNavStyle {
|
|
48
49
|
}
|
|
50
|
+
interface ITabLineStyle {
|
|
51
|
+
width: number;
|
|
52
|
+
offset: number;
|
|
53
|
+
}
|
|
49
54
|
interface ITabNavScrollable {
|
|
50
55
|
prev: number;
|
|
51
56
|
next: boolean;
|
|
@@ -53,7 +58,7 @@ interface ITabNavScrollable {
|
|
|
53
58
|
interface ITabNavState {
|
|
54
59
|
dragging: boolean;
|
|
55
60
|
navOffset: number;
|
|
56
|
-
|
|
61
|
+
lineStyle: ITabLineStyle;
|
|
57
62
|
scrollable: boolean | ITabNavScrollable;
|
|
58
63
|
isFocus: boolean;
|
|
59
64
|
focusable: boolean;
|
package/types/tabs.type.d.ts
CHANGED
|
@@ -47,6 +47,13 @@ declare const tabsProps: {
|
|
|
47
47
|
expandTabsTitle: StringConstructor;
|
|
48
48
|
expandTabsMode: StringConstructor;
|
|
49
49
|
tooltipConfig: (StringConstructor | ObjectConstructor)[];
|
|
50
|
+
optimized: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
beforeClose: FunctionConstructor;
|
|
55
|
+
overflowTitle: BooleanConstructor;
|
|
56
|
+
titleWidth: StringConstructor;
|
|
50
57
|
tiny_mode: StringConstructor;
|
|
51
58
|
tiny_mode_root: BooleanConstructor;
|
|
52
59
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -71,7 +78,7 @@ declare const calcPaneInstances: ({ constants, parent, state, childrenHandler }:
|
|
|
71
78
|
declare const calcMorePanes: ({ parent, props, state, refs }: Pick<ITabsRenderlessParams, 'parent' | 'props' | 'state' | 'refs'>) => () => void;
|
|
72
79
|
declare const calcExpandPanes: ({ parent, props, state }: Pick<ITabsRenderlessParams, 'parent' | 'props' | 'state'>) => () => void;
|
|
73
80
|
declare const handleTabClick: ({ api, emit, props, refs }: Pick<ITabsRenderlessParams, 'api' | 'emit' | 'props' | 'refs'>) => (pane: ITabsPane, tabName: string, event: Event) => void;
|
|
74
|
-
declare const handleTabRemove: (emit: ITabsRenderlessParams
|
|
81
|
+
declare const handleTabRemove: ({ emit, props }: Pick<ITabsRenderlessParams, 'emit' | 'props'>) => (pane: ITabsPane, event: Event) => void;
|
|
75
82
|
declare const handleTabAdd: (emit: ITabsRenderlessParams['emit']) => () => void;
|
|
76
83
|
declare const setCurrentName: ({ api, props, refs, state }: Pick<ITabsRenderlessParams, 'api' | 'props' | 'refs' | 'state'>) => (value: string) => void;
|
|
77
84
|
declare const changeCurrentName: ({ emit, state }: Pick<ITabsRenderlessParams, 'emit' | 'state'>) => (value: string) => void;
|
|
@@ -94,6 +101,7 @@ interface ITabsState {
|
|
|
94
101
|
offsetY: number;
|
|
95
102
|
direction: string;
|
|
96
103
|
expandPanesWidth: string | number;
|
|
104
|
+
activeIndex: number;
|
|
97
105
|
morePanes?: ITabsPaneVm[];
|
|
98
106
|
separator?: boolean;
|
|
99
107
|
}
|
|
@@ -1,2 +1,65 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Copyright (c) 2022 - present TinyVue Authors.
|
|
6
|
+
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
7
|
+
*
|
|
8
|
+
* Use of this source code is governed by an MIT-style license.
|
|
9
|
+
*
|
|
10
|
+
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
11
|
+
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
12
|
+
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
declare function export_default(delay: any, atBegin: any, callback?: Function): Function;
|
|
16
|
+
|
|
17
|
+
declare const tagGroupProps: {
|
|
18
|
+
size: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
validator: (value: string) => boolean;
|
|
22
|
+
};
|
|
23
|
+
data: {
|
|
24
|
+
type: ArrayConstructor;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
effect: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
};
|
|
32
|
+
tiny_mode: StringConstructor;
|
|
33
|
+
tiny_mode_root: BooleanConstructor;
|
|
34
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
35
|
+
tiny_renderless: FunctionConstructor;
|
|
36
|
+
tiny_theme: StringConstructor;
|
|
37
|
+
tiny_chart_theme: ObjectConstructor;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
declare const handelItemClick: ({ emit }: Pick<ITagGroupRenderlessParamUtils, 'emit'>) => (item: ITagGroupDataItem, index: number, $event: MouseEvent) => void;
|
|
41
|
+
declare const getHiddenTags: ({ props, vm, state }: Pick<ITagGroupRenderlessParams, 'props' | 'vm' | 'state'>) => () => void;
|
|
42
|
+
|
|
43
|
+
interface ITagGroupDataItem {
|
|
44
|
+
name: string;
|
|
45
|
+
type?: string;
|
|
46
|
+
}
|
|
47
|
+
interface ITagGroupState {
|
|
48
|
+
showMore: boolean;
|
|
49
|
+
hiddenTags: ITagGroupDataItem[];
|
|
50
|
+
}
|
|
51
|
+
type ITagGroupRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
|
52
|
+
api: ITagGroupApi;
|
|
53
|
+
state: ITagGroupState;
|
|
54
|
+
props: ITagGroupProps;
|
|
55
|
+
};
|
|
56
|
+
type ITagGroupProps = ExtractPropTypes<typeof tagGroupProps>;
|
|
57
|
+
interface ITagGroupApi {
|
|
58
|
+
state: ITagGroupState;
|
|
59
|
+
getHiddenTags: ReturnType<typeof getHiddenTags>;
|
|
60
|
+
handelItemClick: ReturnType<typeof handelItemClick>;
|
|
61
|
+
debouncedGetHiddenTags?: ReturnType<typeof export_default>;
|
|
62
|
+
}
|
|
63
|
+
type ITagGroupRenderlessParamUtils = ISharedRenderlessParamUtils<never>;
|
|
64
|
+
|
|
65
|
+
export { ITagGroupApi, ITagGroupDataItem, ITagGroupProps, ITagGroupRenderlessParamUtils, ITagGroupRenderlessParams, ITagGroupState };
|
|
@@ -82,6 +82,18 @@ declare const timelineProps: {
|
|
|
82
82
|
type: BooleanConstructor;
|
|
83
83
|
default: boolean;
|
|
84
84
|
};
|
|
85
|
+
foldDisabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
nodeMax: {
|
|
90
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
91
|
+
default: number;
|
|
92
|
+
};
|
|
93
|
+
limitedNodes: {
|
|
94
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
85
97
|
onlyNumber: {
|
|
86
98
|
type: BooleanConstructor;
|
|
87
99
|
default: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { l as ITimelineApi, i as ITimelineConstants, o as ITimelineCustomCls, h as ITimelineProps, j as ITimelineRenderlessParamUtils, m as ITimelineRenderlessParams, k as ITimelineState, n as ITimelineStatusCls } from './time-line.type-
|
|
2
|
+
export { l as ITimelineApi, i as ITimelineConstants, o as ITimelineCustomCls, h as ITimelineProps, j as ITimelineRenderlessParamUtils, m as ITimelineRenderlessParams, k as ITimelineState, n as ITimelineStatusCls } from './time-line.type-b155cb4f.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import '@opentiny/vue-common';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { g as ITimelineInject, f as ITimelineItem, d as ITimelineItemApi, a as ITimelineItemConstants, I as ITimelineItemProps, b as ITimelineItemRenderlessParamUtils, e as ITimelineItemRenderlessParams, c as ITimelineItemState, T as TimelineItemType } from './time-line.type-
|
|
2
|
+
export { g as ITimelineInject, f as ITimelineItem, d as ITimelineItemApi, a as ITimelineItemConstants, I as ITimelineItemProps, b as ITimelineItemRenderlessParamUtils, e as ITimelineItemRenderlessParams, c as ITimelineItemState, T as TimelineItemType } from './time-line.type-b155cb4f.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import '@opentiny/vue-common';
|
package/types/tooltip.type.d.ts
CHANGED
|
@@ -125,13 +125,13 @@ declare const handleShowPopper: ({ props, state }: Pick<ITooltipRenderlessParams
|
|
|
125
125
|
declare const handleClosePopper: ({ api, props, state }: Pick<ITooltipRenderlessParams, 'api' | 'state' | 'props'>) => () => void;
|
|
126
126
|
declare const handleDocumentClick: ({ props, api, state, popperVmRef }: Pick<ITooltipRenderlessParams, 'api' | 'state' | 'props' | 'popperVmRef'>) => (event: MouseEvent) => void;
|
|
127
127
|
declare const setExpectedState: ({ state }: Pick<ITooltipRenderlessParams, 'state'>) => (value: boolean) => void;
|
|
128
|
-
declare const destroyed: ({ state, api }: Pick<ITooltipRenderlessParams, 'state' | 'api'>) => () => void;
|
|
128
|
+
declare const destroyed: ({ state, api, vm }: Pick<ITooltipRenderlessParams, 'state' | 'api' | 'vm'>) => () => void;
|
|
129
129
|
declare const debounceClose: ({ api, props }: Pick<ITooltipRenderlessParams, 'api' | 'props'>) => Function;
|
|
130
130
|
declare const watchFocusing: (state: ITooltipState) => (value: boolean) => void;
|
|
131
131
|
declare const focusHandler: ({ slots, api }: Pick<ITooltipRenderlessParams, 'slots' | 'api'>) => () => void;
|
|
132
132
|
declare const bindEvent: ({ api, state, vm }: Pick<ITooltipRenderlessParams, 'api' | 'state' | 'vm'>) => (reference: HTMLElement) => void;
|
|
133
133
|
declare const observeCallback: ({ state, popperVmRef }: Pick<ITooltipRenderlessParams, 'state' | 'popperVmRef'>) => (mutationsList: any) => void;
|
|
134
|
-
declare const bindPopper: ({ vm,
|
|
134
|
+
declare const bindPopper: ({ vm, nextTick, popperVmRef }: Pick<ITooltipRenderlessParams, 'vm' | 'nextTick' | 'popperVmRef'>) => (el?: Element) => void;
|
|
135
135
|
|
|
136
136
|
type ITooltipProps = ExtractPropTypes<typeof tooltipProps>;
|
|
137
137
|
interface ITooltipState {
|