bkui-vue 2.0.1-beta.10 → 2.0.1-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +165 -165
- package/dist/index.esm.js +28601 -28591
- package/dist/index.umd.js +165 -165
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/index.js +1 -1
- package/lib/button/button.d.ts +7 -7
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.js +32 -31
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/index.js +3 -3
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/color-picker/index.js +44 -44
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/index.js +188 -189
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +18 -18
- package/lib/dialog/index.d.ts +40 -40
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +7 -7
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/index.js +14 -14
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/index.js +20 -20
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -16
- package/lib/input/input.d.ts +15 -15
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +1 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +3 -3
- package/lib/modal/index.js +7 -7
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/notify/index.js +4 -4
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +11 -61
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -16
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +19 -18
- package/lib/pop-confirm/index.d.ts +11 -11
- package/lib/pop-confirm/index.js +11 -10
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +4 -4
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +19 -18
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/props.d.ts +4 -4
- package/lib/process/index.js +3 -3
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/radio/index.js +10 -10
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -7
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +1 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/index.d.ts +61 -61
- package/lib/select/index.js +73 -69
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.d.ts +24 -24
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +46 -38
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +3 -3
- package/lib/sideslider/index.js +11 -11
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.js +23 -21
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/swiper/index.js +5 -5
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/table/components/table-column.d.ts +87 -27
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +244 -194
- package/lib/table/index.js +129 -126
- package/lib/table/props.d.ts +33 -33
- package/lib/table/table.css +3 -4
- package/lib/table/table.d.ts +47 -47
- package/lib/table/table.less +4 -12
- package/lib/table/table.variable.css +3 -4
- package/lib/table/use-attributes.d.ts +3 -3
- package/lib/table/use-column.d.ts +129 -9
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +172 -42
- package/lib/table-column/index.js +18 -18
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/timeline/index.js +2 -2
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +5 -3
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +41 -37
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +8 -14
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/upload/index.js +26 -25
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.type.d.ts +6 -6
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/package.json +49 -13
@@ -59,50 +59,25 @@ var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); retur
|
|
59
59
|
var external_vue_types_y = x => () => x
|
60
60
|
const external_vue_types_namespaceObject = external_vue_types_x({ ["string"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string });
|
61
61
|
;// CONCATENATED MODULE: ../../packages/overflow-title/src/props.ts
|
62
|
-
/*
|
63
|
-
* Tencent is pleased to support the open source community by making
|
64
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
65
|
-
*
|
66
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
67
|
-
*
|
68
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
69
|
-
*
|
70
|
-
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
71
|
-
*
|
72
|
-
* ---------------------------------------------------
|
73
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
74
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
75
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
76
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
77
|
-
*
|
78
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
79
|
-
* the Software.
|
80
|
-
*
|
81
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
82
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
83
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
84
|
-
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
85
|
-
* IN THE SOFTWARE.
|
86
|
-
*/
|
87
62
|
|
88
63
|
|
89
64
|
var PlacementEnum;
|
90
65
|
(function (PlacementEnum) {
|
91
66
|
PlacementEnum["AUTO"] = "auto";
|
92
|
-
PlacementEnum["AUTO_END"] = "auto-end";
|
93
67
|
PlacementEnum["AUTO_START"] = "auto-start";
|
68
|
+
PlacementEnum["AUTO_END"] = "auto-end";
|
69
|
+
PlacementEnum["TOP"] = "top";
|
70
|
+
PlacementEnum["RIGHT"] = "right";
|
94
71
|
PlacementEnum["BOTTOM"] = "bottom";
|
95
|
-
PlacementEnum["BOTTOM_END"] = "bottom-end";
|
96
|
-
PlacementEnum["BOTTOM_START"] = "bottom-start";
|
97
72
|
PlacementEnum["LEFT"] = "left";
|
98
|
-
PlacementEnum["LEFT_END"] = "left-end";
|
99
|
-
PlacementEnum["LEFT_START"] = "left-start";
|
100
|
-
PlacementEnum["RIGHT"] = "right";
|
101
|
-
PlacementEnum["RIGHT_END"] = "right-end";
|
102
|
-
PlacementEnum["RIGHT_START"] = "right-start";
|
103
|
-
PlacementEnum["TOP"] = "top";
|
104
|
-
PlacementEnum["TOP_END"] = "top-end";
|
105
73
|
PlacementEnum["TOP_START"] = "top-start";
|
74
|
+
PlacementEnum["TOP_END"] = "top-end";
|
75
|
+
PlacementEnum["BOTTOM_START"] = "bottom-start";
|
76
|
+
PlacementEnum["BOTTOM_END"] = "bottom-end";
|
77
|
+
PlacementEnum["RIGHT_START"] = "right-start";
|
78
|
+
PlacementEnum["RIGHT_END"] = "right-end";
|
79
|
+
PlacementEnum["LEFT_START"] = "left-start";
|
80
|
+
PlacementEnum["LEFT_END"] = "left-end";
|
106
81
|
})(PlacementEnum || (PlacementEnum = {}));
|
107
82
|
function placementType() {
|
108
83
|
return (0,external_vue_types_namespaceObject.string)().def(PlacementEnum.BOTTOM);
|
@@ -118,31 +93,6 @@ function placementType() {
|
|
118
93
|
});
|
119
94
|
;// CONCATENATED MODULE: ../../packages/overflow-title/src/components/overflow-title.tsx
|
120
95
|
|
121
|
-
/*
|
122
|
-
* Tencent is pleased to support the open source community by making
|
123
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
124
|
-
*
|
125
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
126
|
-
*
|
127
|
-
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
128
|
-
*
|
129
|
-
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
130
|
-
*
|
131
|
-
* ---------------------------------------------------
|
132
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
133
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
134
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
135
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
136
|
-
*
|
137
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
138
|
-
* the Software.
|
139
|
-
*
|
140
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
141
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
142
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
143
|
-
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
144
|
-
* IN THE SOFTWARE.
|
145
|
-
*/
|
146
96
|
|
147
97
|
|
148
98
|
|
@@ -212,8 +162,8 @@ function placementType() {
|
|
212
162
|
"ref": "boxRef",
|
213
163
|
"class": "position-relative"
|
214
164
|
}, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
215
|
-
"boundary": this.boundary || document.body,
|
216
165
|
"placement": this.placement,
|
166
|
+
"boundary": this.boundary || document.body,
|
217
167
|
"popoverDelay": [200, 0]
|
218
168
|
}, props.popoverOptions, {
|
219
169
|
"disabled": this.type === 'title' || !this.isShowTips
|
@@ -1,25 +1,25 @@
|
|
1
1
|
import { PropType } from 'vue/dist/vue';
|
2
2
|
export type TipsType = 'tips' | 'title';
|
3
|
-
export type CalType = '
|
3
|
+
export type CalType = 'dom' | 'canvas';
|
4
4
|
export declare enum PlacementEnum {
|
5
5
|
AUTO = "auto",
|
6
|
-
AUTO_END = "auto-end",
|
7
6
|
AUTO_START = "auto-start",
|
7
|
+
AUTO_END = "auto-end",
|
8
|
+
TOP = "top",
|
9
|
+
RIGHT = "right",
|
8
10
|
BOTTOM = "bottom",
|
9
|
-
BOTTOM_END = "bottom-end",
|
10
|
-
BOTTOM_START = "bottom-start",
|
11
11
|
LEFT = "left",
|
12
|
-
|
13
|
-
LEFT_START = "left-start",
|
14
|
-
RIGHT = "right",
|
15
|
-
RIGHT_END = "right-end",
|
16
|
-
RIGHT_START = "right-start",
|
17
|
-
TOP = "top",
|
12
|
+
TOP_START = "top-start",
|
18
13
|
TOP_END = "top-end",
|
19
|
-
|
14
|
+
BOTTOM_START = "bottom-start",
|
15
|
+
BOTTOM_END = "bottom-end",
|
16
|
+
RIGHT_START = "right-start",
|
17
|
+
RIGHT_END = "right-end",
|
18
|
+
LEFT_START = "left-start",
|
19
|
+
LEFT_END = "left-end"
|
20
20
|
}
|
21
|
-
export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
22
|
-
default: "auto" | "auto-
|
21
|
+
export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
22
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
23
23
|
};
|
24
24
|
declare const _default: {
|
25
25
|
content: import("vue-types").VueTypeValidableDef<string> & {
|
@@ -34,13 +34,13 @@ declare const _default: {
|
|
34
34
|
boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
|
35
35
|
default: string | (() => HTMLElement);
|
36
36
|
};
|
37
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
38
|
-
default: "auto" | "auto-
|
37
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
38
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
39
39
|
};
|
40
40
|
resizeable: import("vue-types").VueTypeValidableDef<boolean> & {
|
41
41
|
default: boolean;
|
42
42
|
};
|
43
|
-
popoverOptions: PropType<Partial<Readonly<import("
|
43
|
+
popoverOptions: PropType<Partial<Readonly<import("vue").ExtractPropTypes<{
|
44
44
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
45
|
default: boolean;
|
46
46
|
} & {
|
@@ -77,8 +77,8 @@ declare const _default: {
|
|
77
77
|
} & {
|
78
78
|
default: boolean;
|
79
79
|
};
|
80
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
81
|
-
default: "auto" | "auto-
|
80
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
81
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
82
82
|
};
|
83
83
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
84
84
|
default: string;
|
package/lib/pagination/index.js
CHANGED
@@ -249,17 +249,17 @@ function _isSlot(s) {
|
|
249
249
|
}), [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(select_namespaceObject["default"], {
|
250
250
|
"class": "".concat(resolveClassName('pagination-limit-select')),
|
251
251
|
"clearable": false,
|
252
|
-
"disabled": proxy.disabled,
|
253
|
-
"filterable": false,
|
254
|
-
"modelValue": localLimit.value,
|
255
252
|
"size": "small",
|
256
253
|
"withValidate": false,
|
257
|
-
"
|
254
|
+
"modelValue": localLimit.value,
|
255
|
+
"onChange": handleLimitChange,
|
256
|
+
"disabled": proxy.disabled,
|
257
|
+
"filterable": false
|
258
258
|
}, _isSlot(_slot = proxy.limitList.map(function (num, index) {
|
259
259
|
return (0,external_vue_namespaceObject.createVNode)(select_namespaceObject.BkOption, {
|
260
260
|
"id": num,
|
261
|
-
"
|
262
|
-
"
|
261
|
+
"name": "".concat(num),
|
262
|
+
"key": "".concat(index, "_").concat(num)
|
263
263
|
}, null);
|
264
264
|
})) ? _slot : {
|
265
265
|
"default": function _default() {
|
@@ -418,8 +418,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
418
418
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPagePreDisabled.value),
|
419
419
|
"onClick": handlePrePage
|
420
420
|
}, [proxy.prevText || (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
421
|
-
"key": "1",
|
422
421
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
|
422
|
+
"key": "1",
|
423
423
|
"onClick": function onClick() {
|
424
424
|
return handleItemClick(1);
|
425
425
|
}
|
@@ -429,8 +429,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
429
429
|
"onClick": handlePreBatch
|
430
430
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), list.value.map(function (num) {
|
431
431
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
432
|
-
"key": num,
|
433
432
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
|
433
|
+
"key": num,
|
434
434
|
"onClick": function onClick() {
|
435
435
|
return handleItemClick(num);
|
436
436
|
}
|
@@ -440,8 +440,8 @@ var PAGE_ITEMS_NUM = 5;
|
|
440
440
|
"class": "".concat(resolveClassName('pagination-list-next-batch')),
|
441
441
|
"onClick": handleNextBatch
|
442
442
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), proxy.totalPageNum > 1 && (0,external_vue_namespaceObject.createVNode)("div", {
|
443
|
-
"key": "last",
|
444
443
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
|
444
|
+
"key": "last",
|
445
445
|
"onClick": function onClick() {
|
446
446
|
return handleItemClick(proxy.totalPageNum);
|
447
447
|
}
|
@@ -618,12 +618,12 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
618
618
|
"class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-pre')), true), 'is-disabled', isPagePreDisabled.value),
|
619
619
|
"onClick": handlePrePage
|
620
620
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
621
|
-
"
|
621
|
+
"theme": "light",
|
622
|
+
"trigger": "click",
|
622
623
|
"arrow": false,
|
624
|
+
"width": 56,
|
623
625
|
"boundary": "body",
|
624
|
-
"placement": "bottom"
|
625
|
-
"theme": "light",
|
626
|
-
"trigger": "click"
|
626
|
+
"placement": "bottom"
|
627
627
|
}, {
|
628
628
|
"default": function _default() {
|
629
629
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -631,10 +631,10 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
631
631
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
632
632
|
"ref": inputRef,
|
633
633
|
"class": "".concat(resolveClassName('pagination-editor')),
|
634
|
-
"spellcheck": "false",
|
635
634
|
"contenteditable": true,
|
636
|
-
"
|
635
|
+
"spellcheck": "false",
|
637
636
|
"onFocus": handlePageEditorFocus,
|
637
|
+
"onBlur": handlePageEditorBlur,
|
638
638
|
"onInput": handlePageEditorInput,
|
639
639
|
"onKeydown": handlePageEditorKeydown
|
640
640
|
}, [localCurrent.value]), (0,external_vue_namespaceObject.createVNode)("span", null, [(0,external_vue_namespaceObject.createTextVNode)("/")]), (0,external_vue_namespaceObject.createVNode)("span", {
|
@@ -646,11 +646,11 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
646
646
|
"class": "".concat(resolveClassName('pagination-picker-list'))
|
647
647
|
}, [list.value.map(function (item) {
|
648
648
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
649
|
-
"key": item,
|
650
649
|
"class": {
|
651
650
|
item: true,
|
652
651
|
'is-actived': item === localCurrent.value
|
653
652
|
},
|
653
|
+
"key": item,
|
654
654
|
"onClick": function onClick() {
|
655
655
|
return handlePageChange(item);
|
656
656
|
}
|
package/lib/pagination/type.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { PaginationProps } from './pagination';
|
2
1
|
import type { ComponentPublicInstance } from 'vue';
|
2
|
+
import type { PaginationProps } from './pagination';
|
3
3
|
export type IPaginationInstance = ComponentPublicInstance<PaginationProps, {
|
4
4
|
limit: PaginationProps['limit'];
|
5
5
|
totalPageNum: number;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { Language } from '../locale';
|
2
1
|
import type { ComputedRef } from 'vue';
|
2
|
+
import type { Language } from '../locale';
|
3
3
|
declare const _default: (t: ComputedRef<Language['pagination']>) => {
|
4
4
|
limit: import("vue").Ref<number>;
|
5
5
|
render: ({ isFirst, isLast }: {
|
@@ -284,13 +284,14 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
284
284
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
285
285
|
* IN THE SOFTWARE.
|
286
286
|
*/
|
287
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
287
288
|
var EMIT_EVENTS;
|
288
289
|
(function (EMIT_EVENTS) {
|
289
290
|
EMIT_EVENTS["CLICK_OUTSIDE"] = "clickoutside";
|
290
|
-
EMIT_EVENTS["CONTENT_AfterHidden"] = "afterHidden";
|
291
|
-
EMIT_EVENTS["CONTENT_AfterShow"] = "afterShow";
|
292
291
|
EMIT_EVENTS["CONTENT_MOUSEENTER"] = "contentMouseenter";
|
293
292
|
EMIT_EVENTS["CONTENT_MOUSELEAVE"] = "contentMouseleave";
|
293
|
+
EMIT_EVENTS["CONTENT_AfterHidden"] = "afterHidden";
|
294
|
+
EMIT_EVENTS["CONTENT_AfterShow"] = "afterShow";
|
294
295
|
})(EMIT_EVENTS || (EMIT_EVENTS = {}));
|
295
296
|
var EVENT_SHOW_HIDE_FN = function EVENT_SHOW_HIDE_FN(_args) {
|
296
297
|
return true;
|
@@ -412,9 +413,9 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
412
413
|
};
|
413
414
|
var style = resolveContentStyle((_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots));
|
414
415
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
415
|
-
"
|
416
|
+
"class": this.contentClassName,
|
416
417
|
"style": style,
|
417
|
-
"
|
418
|
+
"ref": "refContent"
|
418
419
|
}, [(_this$$slots$arrow = (_this$$slots$arrow2 = (_this$$slots2 = this.$slots).arrow) === null || _this$$slots$arrow2 === void 0 ? void 0 : _this$$slots$arrow2.call(_this$$slots2)) !== null && _this$$slots$arrow !== void 0 ? _this$$slots$arrow : '', (_this$$slots$default2 = (_this$$slots$default3 = (_this$$slots3 = this.$slots)["default"]) === null || _this$$slots$default3 === void 0 ? void 0 : _this$$slots$default3.call(_this$$slots3)) !== null && _this$$slots$default2 !== void 0 ? _this$$slots$default2 : '']);
|
419
420
|
}
|
420
421
|
}));
|
@@ -649,6 +650,10 @@ function _nonIterableRest() {
|
|
649
650
|
function _slicedToArray(arr, i) {
|
650
651
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
651
652
|
}
|
653
|
+
;// CONCATENATED MODULE: external "lodash/isElement"
|
654
|
+
var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
655
|
+
var isElement_y = x => () => x
|
656
|
+
const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
|
652
657
|
;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
653
658
|
/**
|
654
659
|
* Custom positioning reference element.
|
@@ -2599,10 +2604,6 @@ const floating_ui_dom_computePosition = (reference, floating, options) => {
|
|
2599
2604
|
|
2600
2605
|
|
2601
2606
|
|
2602
|
-
;// CONCATENATED MODULE: external "lodash/isElement"
|
2603
|
-
var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2604
|
-
var isElement_y = x => () => x
|
2605
|
-
const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
|
2606
2607
|
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
2607
2608
|
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
2608
2609
|
/* harmony default export */ const esm_browser_native = ({
|
@@ -3698,20 +3699,20 @@ function _isSlot(s) {
|
|
3698
3699
|
return [_slot];
|
3699
3700
|
}
|
3700
3701
|
}), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
3701
|
-
"
|
3702
|
-
"
|
3702
|
+
"to": _this.boundary,
|
3703
|
+
"disabled": !_this.transBoundary
|
3703
3704
|
}, {
|
3704
3705
|
"default": function _default() {
|
3705
3706
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(content, {
|
3706
3707
|
"ref": "refContent",
|
3708
|
+
"visible": _this.localIsShow,
|
3709
|
+
"data-theme": _this.theme,
|
3710
|
+
"extCls": _this.extCls,
|
3707
3711
|
"width": _this.width,
|
3708
3712
|
"height": _this.height,
|
3709
|
-
"extCls": _this.extCls,
|
3710
|
-
"data-theme": _this.theme,
|
3711
|
-
"eventDelay": _this.componentEventDelay,
|
3712
|
-
"maxHeight": _this.maxHeight,
|
3713
3713
|
"maxWidth": _this.maxWidth,
|
3714
|
-
"
|
3714
|
+
"maxHeight": _this.maxHeight,
|
3715
|
+
"eventDelay": _this.componentEventDelay
|
3715
3716
|
}, {
|
3716
3717
|
"default": function _default() {
|
3717
3718
|
return [_this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$slots3 = _this.$slots).content) === null || _this$$slots$content2 === void 0 ? void 0 : _this$$slots$content2.call(_this$$slots3)) !== null && _this$$slots$content !== void 0 ? _this$$slots$content : _this.renderContent() : ''];
|
@@ -3842,10 +3843,10 @@ function createPopoverComponent(options) {
|
|
3842
3843
|
return function () {
|
3843
3844
|
return (0,external_vue_namespaceObject.createVNode)(popover, (0,external_vue_namespaceObject.mergeProps)(refProps, {
|
3844
3845
|
"ref": refReference,
|
3845
|
-
"onAfterHidden": handlePopoverHidden,
|
3846
|
-
"onAfterShow": handlePopoverShow,
|
3847
3846
|
"onContentMouseenter": handleContentMouseenter,
|
3848
|
-
"onContentMouseleave": handleContentMouseleave
|
3847
|
+
"onContentMouseleave": handleContentMouseleave,
|
3848
|
+
"onAfterHidden": handlePopoverHidden,
|
3849
|
+
"onAfterShow": handlePopoverShow
|
3849
3850
|
}), null);
|
3850
3851
|
};
|
3851
3852
|
}
|
@@ -23,8 +23,8 @@ declare const BKPopConfirm: {
|
|
23
23
|
} & {
|
24
24
|
default: string;
|
25
25
|
};
|
26
|
-
placement: import("vue-types").
|
27
|
-
default:
|
26
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
27
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
28
28
|
};
|
29
29
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
30
30
|
default: string;
|
@@ -79,8 +79,8 @@ declare const BKPopConfirm: {
|
|
79
79
|
} & {
|
80
80
|
default: string;
|
81
81
|
};
|
82
|
-
placement: import("vue-types").
|
83
|
-
default:
|
82
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
83
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
84
84
|
};
|
85
85
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
86
86
|
default: string;
|
@@ -102,7 +102,7 @@ declare const BKPopConfirm: {
|
|
102
102
|
title: string;
|
103
103
|
width: string | number;
|
104
104
|
content: string;
|
105
|
-
placement:
|
105
|
+
placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
106
106
|
theme: string;
|
107
107
|
trigger: "click" | "hover";
|
108
108
|
icon: string;
|
@@ -139,8 +139,8 @@ declare const BKPopConfirm: {
|
|
139
139
|
} & {
|
140
140
|
default: string;
|
141
141
|
};
|
142
|
-
placement: import("vue-types").
|
143
|
-
default:
|
142
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
143
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
144
144
|
};
|
145
145
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
146
146
|
default: string;
|
@@ -175,7 +175,7 @@ declare const BKPopConfirm: {
|
|
175
175
|
title: string;
|
176
176
|
width: string | number;
|
177
177
|
content: string;
|
178
|
-
placement:
|
178
|
+
placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
179
179
|
theme: string;
|
180
180
|
trigger: "click" | "hover";
|
181
181
|
icon: string;
|
@@ -209,8 +209,8 @@ declare const BKPopConfirm: {
|
|
209
209
|
} & {
|
210
210
|
default: string;
|
211
211
|
};
|
212
|
-
placement: import("vue-types").
|
213
|
-
default:
|
212
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
213
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
214
214
|
};
|
215
215
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
216
216
|
default: string;
|
@@ -245,7 +245,7 @@ declare const BKPopConfirm: {
|
|
245
245
|
title: string;
|
246
246
|
width: string | number;
|
247
247
|
content: string;
|
248
|
-
placement:
|
248
|
+
placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
249
249
|
theme: string;
|
250
250
|
trigger: "click" | "hover";
|
251
251
|
icon: string;
|
package/lib/pop-confirm/index.js
CHANGED
@@ -99,8 +99,8 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: ()
|
|
99
99
|
|
100
100
|
var TriggerEnum;
|
101
101
|
(function (TriggerEnum) {
|
102
|
-
TriggerEnum["CLICK"] = "click";
|
103
102
|
TriggerEnum["HOVER"] = "hover";
|
103
|
+
TriggerEnum["CLICK"] = "click";
|
104
104
|
})(TriggerEnum || (TriggerEnum = {}));
|
105
105
|
function triggerType() {
|
106
106
|
return (0,external_vue_types_namespaceObject.toType)('trigger', {}).def(TriggerEnum.HOVER);
|
@@ -131,7 +131,7 @@ var PopConfirmProps = {
|
|
131
131
|
content: shared_namespaceObject.PropTypes.string.def(''),
|
132
132
|
confirmText: shared_namespaceObject.PropTypes.string.def(''),
|
133
133
|
cancelText: shared_namespaceObject.PropTypes.string.def(''),
|
134
|
-
placement:
|
134
|
+
placement: (0,shared_namespaceObject.placementType)().def(shared_namespaceObject.PlacementEnum.TOP_START),
|
135
135
|
theme: shared_namespaceObject.PropTypes.string.def('light '),
|
136
136
|
/**
|
137
137
|
* 自定义icon:根据确认框中提示文字的语境来选择 icon的样式,当确认操作存在风险时,可选择带警示的icon来引起用户的注意。
|
@@ -224,14 +224,15 @@ var PopConfirmProps = {
|
|
224
224
|
};
|
225
225
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
226
226
|
"ref": "popoverRef",
|
227
|
-
"width": this.width,
|
228
|
-
"extCls": "".concat(this.resolveClassName('pop-confirm-box')),
|
229
227
|
"isShow": this.visible,
|
230
|
-
"theme": this.theme,
|
231
228
|
"trigger": this.trigger,
|
229
|
+
"placement": this.placement,
|
230
|
+
"theme": this.theme,
|
231
|
+
"width": this.width,
|
232
232
|
"onAfterShow": function onAfterShow() {
|
233
233
|
return _this.visible = true;
|
234
|
-
}
|
234
|
+
},
|
235
|
+
"extCls": "".concat(this.resolveClassName('pop-confirm-box'))
|
235
236
|
}, {
|
236
237
|
"default": function _default() {
|
237
238
|
return _this.$slots["default"]();
|
@@ -244,16 +245,16 @@ var PopConfirmProps = {
|
|
244
245
|
}, [!_this.title ? _this.icon : '', _this.content])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
245
246
|
"class": "".concat(_this.resolveClassName('pop-confirm-footer'))
|
246
247
|
}, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
248
|
+
"onClick": _this.ensure,
|
247
249
|
"size": "small",
|
248
|
-
"theme": "primary"
|
249
|
-
"onClick": _this.ensure
|
250
|
+
"theme": "primary"
|
250
251
|
}, {
|
251
252
|
"default": function _default() {
|
252
253
|
return [_this.confirmText || _this.t.ok];
|
253
254
|
}
|
254
255
|
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
255
|
-
"
|
256
|
-
"
|
256
|
+
"onClick": _this.cancel,
|
257
|
+
"size": "small"
|
257
258
|
}, {
|
258
259
|
"default": function _default() {
|
259
260
|
return [_this.cancelText || _this.t.cancel];
|
@@ -22,8 +22,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
22
|
} & {
|
23
23
|
default: string;
|
24
24
|
};
|
25
|
-
placement: import("vue-types").
|
26
|
-
default:
|
25
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
26
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
27
27
|
};
|
28
28
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
29
29
|
default: string;
|
@@ -75,8 +75,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
75
75
|
} & {
|
76
76
|
default: string;
|
77
77
|
};
|
78
|
-
placement: import("vue-types").
|
79
|
-
default:
|
78
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
79
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
80
80
|
};
|
81
81
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
82
82
|
default: string;
|
@@ -98,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
98
|
title: string;
|
99
99
|
width: string | number;
|
100
100
|
content: string;
|
101
|
-
placement:
|
101
|
+
placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
102
102
|
theme: string;
|
103
103
|
trigger: "click" | "hover";
|
104
104
|
icon: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare enum TriggerEnum {
|
2
|
-
|
3
|
-
|
2
|
+
HOVER = "hover",
|
3
|
+
CLICK = "click"
|
4
4
|
}
|
5
5
|
export declare function triggerType(): import("vue-types").VueTypeDef<"click" | "hover"> & {
|
6
6
|
default: "click" | "hover";
|
@@ -44,8 +44,8 @@ export declare const PopConfirmProps: {
|
|
44
44
|
} & {
|
45
45
|
default: string;
|
46
46
|
};
|
47
|
-
placement: import("vue-types").
|
48
|
-
default:
|
47
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
48
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
49
49
|
};
|
50
50
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
51
51
|
default: string;
|
package/lib/popover/const.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const enum EMIT_EVENTS {
|
2
2
|
CLICK_OUTSIDE = "clickoutside",
|
3
|
-
CONTENT_AfterHidden = "afterHidden",
|
4
|
-
CONTENT_AfterShow = "afterShow",
|
5
3
|
CONTENT_MOUSEENTER = "contentMouseenter",
|
6
|
-
CONTENT_MOUSELEAVE = "contentMouseleave"
|
4
|
+
CONTENT_MOUSELEAVE = "contentMouseleave",
|
5
|
+
CONTENT_AfterHidden = "afterHidden",
|
6
|
+
CONTENT_AfterShow = "afterShow"
|
7
7
|
}
|
8
8
|
export declare const EVENT_SHOW_HIDE_FN: (_args: {
|
9
9
|
isShow: boolean;
|