bkui-vue 2.0.1-beta.2 → 2.0.1-beta.20
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 +166 -166
- package/dist/index.esm.js +31807 -31749
- package/dist/index.umd.js +166 -166
- 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 -7
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +3 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.d.ts +7 -7
- package/lib/checkbox/index.d.ts +11 -11
- package/lib/checkbox/index.js +12 -4
- 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/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +3 -3
- package/lib/color-picker/index.js +45 -45
- 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 -7
- 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 +3 -3
- package/lib/date-picker/date-picker.d.ts +0 -1
- package/lib/date-picker/index.d.ts +0 -3
- package/lib/date-picker/index.js +318 -218
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +6 -68
- 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 +5 -1
- package/lib/dialog/dialog.css +0 -4
- package/lib/dialog/dialog.d.ts +25 -20
- package/lib/dialog/dialog.variable.css +0 -4
- package/lib/dialog/index.d.ts +55 -44
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +10 -8
- 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 -4
- 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 -15
- 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 -21
- package/lib/index.d.ts +9 -3
- package/lib/index.js +5 -29
- 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 -17
- 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 +0 -1
- 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 +21 -8
- package/lib/modal/index.js +14 -8
- package/lib/modal/modal.css +0 -4
- package/lib/modal/modal.d.ts +8 -3
- package/lib/modal/modal.less +0 -5
- package/lib/modal/modal.variable.css +0 -4
- package/lib/modal/props.mixin.d.ts +3 -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 +61 -11
- 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 +18 -20
- 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 +18 -20
- 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/preset.d.ts +0 -1
- package/lib/preset.js +0 -1
- package/lib/process/index.js +3 -3
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -11
- package/lib/progress/progress.d.ts +7 -7
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/index.js +28 -17
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +27 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +7 -8
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +0 -1
- 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 +85 -67
- package/lib/select/index.js +126 -120
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.css +1 -2
- package/lib/select/select.d.ts +34 -26
- package/lib/select/select.less +1 -2
- package/lib/select/select.variable.css +1 -2
- 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 +38 -46
- 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 +18 -7
- package/lib/sideslider/index.js +11 -11
- package/lib/sideslider/sideslider.d.ts +8 -3
- package/lib/slider/index.js +21 -23
- 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/styles/index.d.ts +0 -1
- 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 +27 -87
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +194 -244
- package/lib/table/index.js +166 -145
- package/lib/table/plugins/use-shift-key.d.ts +2 -0
- package/lib/table/props.d.ts +34 -34
- 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 +9 -129
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +42 -172
- package/lib/table-column/index.js +19 -19
- 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 +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +9 -9
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +53 -49
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +8 -14
- package/lib/tree/tree.less +1 -1
- 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/tree/util.d.ts +1 -1
- package/lib/upload/index.js +41 -35
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.js +2 -3
- package/package.json +17 -55
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/rate/star.variable.css +0 -156
@@ -114,11 +114,11 @@ function _defineProperty(obj, key, value) {
|
|
114
114
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
115
115
|
var BORDER_OPTION;
|
116
116
|
(function (BORDER_OPTION) {
|
117
|
-
BORDER_OPTION["NONE"] = "none";
|
118
|
-
BORDER_OPTION["ROW"] = "row";
|
119
117
|
BORDER_OPTION["COL"] = "col";
|
120
|
-
BORDER_OPTION["OUTER"] = "outer";
|
121
118
|
BORDER_OPTION["HORIZONTAL"] = "horizontal";
|
119
|
+
BORDER_OPTION["NONE"] = "none";
|
120
|
+
BORDER_OPTION["OUTER"] = "outer";
|
121
|
+
BORDER_OPTION["ROW"] = "row";
|
122
122
|
})(BORDER_OPTION || (BORDER_OPTION = {}));
|
123
123
|
/**
|
124
124
|
* 鼠标划过行样式
|
@@ -126,8 +126,8 @@ var BORDER_OPTION;
|
|
126
126
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
127
127
|
var ROW_HOVER;
|
128
128
|
(function (ROW_HOVER) {
|
129
|
-
ROW_HOVER["HIGHLIGHT"] = "highlight";
|
130
129
|
ROW_HOVER["AUTO"] = "auto";
|
130
|
+
ROW_HOVER["HIGHLIGHT"] = "highlight";
|
131
131
|
})(ROW_HOVER || (ROW_HOVER = {}));
|
132
132
|
var ROW_HOVER_OPTIONS = [ROW_HOVER.AUTO, ROW_HOVER.HIGHLIGHT];
|
133
133
|
/**
|
@@ -220,9 +220,9 @@ var TB_FOOT_HEIGHT = 60;
|
|
220
220
|
var SORT_OPTION;
|
221
221
|
(function (SORT_OPTION) {
|
222
222
|
SORT_OPTION["ASC"] = "asc";
|
223
|
+
SORT_OPTION["CUSTOM"] = "custom";
|
223
224
|
SORT_OPTION["DESC"] = "desc";
|
224
225
|
SORT_OPTION["NULL"] = "null";
|
225
|
-
SORT_OPTION["CUSTOM"] = "custom";
|
226
226
|
})(SORT_OPTION || (SORT_OPTION = {}));
|
227
227
|
var SORT_OPTIONS = [SORT_OPTION.ASC, SORT_OPTION.DESC, SORT_OPTION.NULL, SORT_OPTION.CUSTOM];
|
228
228
|
/**
|
@@ -247,30 +247,30 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["string"]: ()
|
|
247
247
|
|
248
248
|
var SortScope;
|
249
249
|
(function (SortScope) {
|
250
|
-
SortScope["CURRENT"] = "current";
|
251
250
|
SortScope["ALL"] = "all";
|
251
|
+
SortScope["CURRENT"] = "current";
|
252
252
|
})(SortScope || (SortScope = {}));
|
253
253
|
var OverflowModeEnum;
|
254
254
|
(function (OverflowModeEnum) {
|
255
|
-
OverflowModeEnum["STATIC"] = "static";
|
256
255
|
OverflowModeEnum["AUTO"] = "auto";
|
256
|
+
OverflowModeEnum["STATIC"] = "static";
|
257
257
|
})(OverflowModeEnum || (OverflowModeEnum = {}));
|
258
258
|
var EnumOverflowModeType = (0,external_vue_types_namespaceObject.toType)('showOverflowTooltipMode', {
|
259
259
|
"default": OverflowModeEnum.AUTO
|
260
260
|
});
|
261
261
|
var ColumnTypeEnum;
|
262
262
|
(function (ColumnTypeEnum) {
|
263
|
-
ColumnTypeEnum["SELECTION"] = "selection";
|
264
|
-
ColumnTypeEnum["INDEX"] = "index";
|
265
263
|
ColumnTypeEnum["EXPAND"] = "expand";
|
264
|
+
ColumnTypeEnum["INDEX"] = "index";
|
266
265
|
ColumnTypeEnum["NONE"] = "__COL_TYPE_NONE";
|
266
|
+
ColumnTypeEnum["SELECTION"] = "selection";
|
267
267
|
})(ColumnTypeEnum || (ColumnTypeEnum = {}));
|
268
268
|
var TableAlignEnum;
|
269
269
|
(function (TableAlignEnum) {
|
270
|
-
TableAlignEnum["LEFT"] = "left";
|
271
|
-
TableAlignEnum["RIGHT"] = "right";
|
272
270
|
TableAlignEnum["CENTER"] = "center";
|
271
|
+
TableAlignEnum["LEFT"] = "left";
|
273
272
|
TableAlignEnum["NONE"] = "";
|
273
|
+
TableAlignEnum["RIGHT"] = "right";
|
274
274
|
})(TableAlignEnum || (TableAlignEnum = {}));
|
275
275
|
var columnType = (0,external_vue_types_namespaceObject.toType)('columnType', {
|
276
276
|
"default": ColumnTypeEnum.NONE
|
@@ -288,9 +288,9 @@ var fullType = (0,external_vue_types_namespaceObject.toType)('full', {
|
|
288
288
|
});
|
289
289
|
var SettingSizeEnum;
|
290
290
|
(function (SettingSizeEnum) {
|
291
|
-
SettingSizeEnum["SMALL"] = "small";
|
292
|
-
SettingSizeEnum["MEDIUM"] = "medium";
|
293
291
|
SettingSizeEnum["LARGE"] = "large";
|
292
|
+
SettingSizeEnum["MEDIUM"] = "medium";
|
293
|
+
SettingSizeEnum["SMALL"] = "small";
|
294
294
|
})(SettingSizeEnum || (SettingSizeEnum = {}));
|
295
295
|
var settingSizeType = (0,external_vue_types_namespaceObject.toType)('columnSize', {
|
296
296
|
"default": SettingSizeEnum.SMALL
|
@@ -315,9 +315,9 @@ var IFilterType = (0,external_vue_types_namespaceObject.toType)('IFilterPropShap
|
|
315
315
|
});
|
316
316
|
var ColumnPickEnum;
|
317
317
|
(function (ColumnPickEnum) {
|
318
|
+
ColumnPickEnum["DISABLED"] = "disabled";
|
318
319
|
ColumnPickEnum["MULTI"] = "multi";
|
319
320
|
ColumnPickEnum["SINGLE"] = "single";
|
320
|
-
ColumnPickEnum["DISABLED"] = "disabled";
|
321
321
|
})(ColumnPickEnum || (ColumnPickEnum = {}));
|
322
322
|
var ResizerWay;
|
323
323
|
(function (ResizerWay) {
|
@@ -353,14 +353,14 @@ var IColumnProp = (0,external_vue_types_namespaceObject.toType)('IColumnPropType
|
|
353
353
|
});
|
354
354
|
var IColSortBehavior;
|
355
355
|
(function (IColSortBehavior) {
|
356
|
-
/**
|
357
|
-
* 列排序是相互依赖的
|
358
|
-
*/
|
359
|
-
IColSortBehavior["interdependent"] = "interdependent";
|
360
356
|
/**
|
361
357
|
* 列与列之间的排序是独立的,互斥的
|
362
358
|
*/
|
363
359
|
IColSortBehavior["independent"] = "independent";
|
360
|
+
/**
|
361
|
+
* 列排序是相互依赖的
|
362
|
+
*/
|
363
|
+
IColSortBehavior["interdependent"] = "interdependent";
|
364
364
|
})(IColSortBehavior || (IColSortBehavior = {}));
|
365
365
|
var tableProps = {
|
366
366
|
/**
|
@@ -517,7 +517,7 @@ var tableProps = {
|
|
517
517
|
/**
|
518
518
|
* 提供自定义判定当前行是否选中
|
519
519
|
* 如果设置了此属性,其他判定均不生效
|
520
|
-
* ({ row
|
520
|
+
* ({ row }) => bool
|
521
521
|
*/
|
522
522
|
isSelectedFn: shared_namespaceObject.PropTypes.func.def(undefined),
|
523
523
|
/**
|
package/lib/tag/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
declare const BkTag: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
4
|
-
default: "" | "info" | "success" | "
|
3
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
4
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
5
5
|
};
|
6
6
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
7
7
|
default: boolean;
|
@@ -38,8 +38,8 @@ declare const BkTag: {
|
|
38
38
|
handleClick: (e: Event) => void;
|
39
39
|
resolveClassName: (cls: string) => string;
|
40
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
41
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
42
|
-
default: "" | "info" | "success" | "
|
41
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
42
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
43
43
|
};
|
44
44
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
45
|
default: boolean;
|
@@ -70,7 +70,7 @@ declare const BkTag: {
|
|
70
70
|
onClose?: (...args: any[]) => any;
|
71
71
|
}, {
|
72
72
|
type: "" | "stroke" | "filled";
|
73
|
-
theme: "" | "info" | "success" | "
|
73
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
74
74
|
closable: boolean;
|
75
75
|
radius: string;
|
76
76
|
checked: boolean;
|
@@ -86,8 +86,8 @@ declare const BkTag: {
|
|
86
86
|
M: {};
|
87
87
|
Defaults: {};
|
88
88
|
}, Readonly<import("vue").ExtractPropTypes<{
|
89
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
90
|
-
default: "" | "info" | "success" | "
|
89
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
90
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
91
91
|
};
|
92
92
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
93
93
|
default: boolean;
|
@@ -125,7 +125,7 @@ declare const BkTag: {
|
|
125
125
|
resolveClassName: (cls: string) => string;
|
126
126
|
}, {}, {}, {}, {
|
127
127
|
type: "" | "stroke" | "filled";
|
128
|
-
theme: "" | "info" | "success" | "
|
128
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
129
129
|
closable: boolean;
|
130
130
|
radius: string;
|
131
131
|
checked: boolean;
|
@@ -135,8 +135,8 @@ declare const BkTag: {
|
|
135
135
|
__isTeleport?: never;
|
136
136
|
__isSuspense?: never;
|
137
137
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
138
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
139
|
-
default: "" | "info" | "success" | "
|
138
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
139
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
140
140
|
};
|
141
141
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
142
142
|
default: boolean;
|
@@ -174,7 +174,7 @@ declare const BkTag: {
|
|
174
174
|
resolveClassName: (cls: string) => string;
|
175
175
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", {
|
176
176
|
type: "" | "stroke" | "filled";
|
177
|
-
theme: "" | "info" | "success" | "
|
177
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
178
178
|
closable: boolean;
|
179
179
|
radius: string;
|
180
180
|
checked: boolean;
|
package/lib/tag/index.js
CHANGED
@@ -134,9 +134,9 @@ const icon_namespaceObject = icon_x({ ["Error"]: () => __WEBPACK_EXTERNAL_MODULE
|
|
134
134
|
|
135
135
|
var TagStrokeType;
|
136
136
|
(function (TagStrokeType) {
|
137
|
-
TagStrokeType["UNKNOWN"] = "";
|
138
137
|
TagStrokeType["FILLED"] = "filled";
|
139
138
|
TagStrokeType["STROKE"] = "stroke";
|
139
|
+
TagStrokeType["UNKNOWN"] = "";
|
140
140
|
})(TagStrokeType || (TagStrokeType = {}));
|
141
141
|
/* harmony default export */ const tag = ((0,external_vue_namespaceObject.defineComponent)({
|
142
142
|
name: 'Tag',
|
@@ -184,8 +184,8 @@ var TagStrokeType;
|
|
184
184
|
var _this$$slots$default, _this$$slots;
|
185
185
|
var classes = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('tag'), true), this.resolveClassName('tag-closable'), this.closable), this.resolveClassName('tag-checkable'), this.checkable), this.resolveClassName('tag-check'), this.checked), this.resolveClassName("tag-".concat(this.type)), this.type), this.resolveClassName("tag-".concat(this.theme)), this.theme), this.resolveClassName("tag--".concat(this.size)), true);
|
186
186
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
187
|
-
"class": classes,
|
188
187
|
"style": this.wrapperStyle,
|
188
|
+
"class": classes,
|
189
189
|
"onClick": this.handleClick
|
190
190
|
}, [this.$slots.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
|
191
191
|
"class": "".concat(this.resolveClassName('tag-icon'))
|
package/lib/tag/tag.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SlotsType } from 'vue';
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
3
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
4
|
-
default: "" | "info" | "success" | "
|
3
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
4
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
5
5
|
};
|
6
6
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
7
7
|
default: boolean;
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
35
35
|
handleClick: (e: Event) => void;
|
36
36
|
resolveClassName: (cls: string) => string;
|
37
37
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
38
|
-
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "
|
39
|
-
default: "" | "info" | "success" | "
|
38
|
+
theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
39
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
40
40
|
};
|
41
41
|
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
42
|
default: boolean;
|
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
67
|
onClose?: (...args: any[]) => any;
|
68
68
|
}, {
|
69
69
|
type: "" | "stroke" | "filled";
|
70
|
-
theme: "" | "info" | "success" | "
|
70
|
+
theme: "" | "info" | "success" | "danger" | "warning";
|
71
71
|
closable: boolean;
|
72
72
|
radius: string;
|
73
73
|
checked: boolean;
|
@@ -31,6 +31,6 @@ export declare const getCharLength: (str: string) => number;
|
|
31
31
|
* @param collapseTags 是否折叠 tags
|
32
32
|
* @param selectedTagList 已选择 tags
|
33
33
|
*/
|
34
|
-
export declare const useTagsOverflow: (tagInputRef: Ref<HTMLDivElement>, collapseTags: Ref<
|
34
|
+
export declare const useTagsOverflow: (tagInputRef: Ref<HTMLDivElement>, collapseTags: Ref<boolean>, selectedTagList: Ref<string[]>) => {
|
35
35
|
overflowTagIndex: Ref<number>;
|
36
36
|
};
|
package/lib/tag-input/index.d.ts
CHANGED
@@ -176,8 +176,8 @@ declare const TagInput: {
|
|
176
176
|
} & {
|
177
177
|
default: boolean;
|
178
178
|
};
|
179
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
180
|
-
default: "auto" | "auto-
|
179
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
180
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
181
181
|
};
|
182
182
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
183
183
|
default: string;
|
@@ -519,8 +519,8 @@ declare const TagInput: {
|
|
519
519
|
} & {
|
520
520
|
default: boolean;
|
521
521
|
};
|
522
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
523
|
-
default: "auto" | "auto-
|
522
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
523
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
524
524
|
};
|
525
525
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
526
526
|
default: string;
|
@@ -843,8 +843,8 @@ declare const TagInput: {
|
|
843
843
|
} & {
|
844
844
|
default: boolean;
|
845
845
|
};
|
846
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
847
|
-
default: "auto" | "auto-
|
846
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
847
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
848
848
|
};
|
849
849
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
850
850
|
default: string;
|
@@ -1220,8 +1220,8 @@ declare const TagInput: {
|
|
1220
1220
|
} & {
|
1221
1221
|
default: boolean;
|
1222
1222
|
};
|
1223
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
1224
|
-
default: "auto" | "auto-
|
1223
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
1224
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
1225
1225
|
};
|
1226
1226
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
1227
1227
|
default: string;
|
package/lib/tag-input/index.js
CHANGED
@@ -2,7 +2,6 @@ import "../styles/reset.css";
|
|
2
2
|
import "./tag-input.less";
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
6
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
7
6
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
8
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
@@ -10,6 +9,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_loading_dcf0e69a__ from "../l
|
|
10
9
|
import "../loading/loading.less";
|
11
10
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
12
11
|
import "../popover/popover.less";
|
12
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__ from "lodash/debounce";
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
14
14
|
/******/ var __webpack_modules__ = ({
|
15
15
|
|
@@ -17446,10 +17446,6 @@ function _defineProperty(obj, key, value) {
|
|
17446
17446
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17447
17447
|
var external_vue_y = x => () => x
|
17448
17448
|
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["markRaw"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.markRaw, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
17449
|
-
;// CONCATENATED MODULE: external "lodash/debounce"
|
17450
|
-
var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17451
|
-
var debounce_y = x => () => x
|
17452
|
-
const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
|
17453
17449
|
;// CONCATENATED MODULE: external "../config-provider"
|
17454
17450
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17455
17451
|
var config_provider_y = x => () => x
|
@@ -17478,6 +17474,10 @@ const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
17478
17474
|
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17479
17475
|
var popover_less_y = x => () => x
|
17480
17476
|
const popover_less_namespaceObject = popover_less_x({ });
|
17477
|
+
;// CONCATENATED MODULE: external "lodash/debounce"
|
17478
|
+
var debounce_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
17479
|
+
var debounce_y = x => () => x
|
17480
|
+
const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_debounce_3540babe__["default"] });
|
17481
17481
|
;// CONCATENATED MODULE: ../../packages/tag-input/src/common.ts
|
17482
17482
|
|
17483
17483
|
|
@@ -17909,8 +17909,8 @@ function tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
17909
17909
|
return this.tpl(this.node, external_vue_namespaceObject.h, this);
|
17910
17910
|
}
|
17911
17911
|
return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
17912
|
-
"
|
17913
|
-
"
|
17912
|
+
"ref": "tagRef",
|
17913
|
+
"class": "tag"
|
17914
17914
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
17915
17915
|
"class": "text"
|
17916
17916
|
}, [this.node[this.displayKey]])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), this.overflowTips]]);
|
@@ -18791,8 +18791,8 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
18791
18791
|
render: function render() {
|
18792
18792
|
var _this = this;
|
18793
18793
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
18794
|
-
"class": "".concat(this.resolveClassName('tag-input')),
|
18795
18794
|
"ref": "bkTagSelectorRef",
|
18795
|
+
"class": "".concat(this.resolveClassName('tag-input')),
|
18796
18796
|
"onClick": this.focusInputTrigger,
|
18797
18797
|
"onMouseenter": function onMouseenter() {
|
18798
18798
|
return _this.isHover = true;
|
@@ -18801,54 +18801,54 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
18801
18801
|
return _this.isHover = false;
|
18802
18802
|
}
|
18803
18803
|
}, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
18804
|
-
"
|
18805
|
-
"trigger": "manual",
|
18804
|
+
"arrow": false,
|
18806
18805
|
"placement": "bottom-start",
|
18807
|
-
"
|
18806
|
+
"theme": "light ".concat(this.resolveClassName('tag-input-popover-content')),
|
18807
|
+
"trigger": "manual"
|
18808
18808
|
}, this.popoverProps), {
|
18809
18809
|
"default": function _default() {
|
18810
18810
|
var _this$$slots$suffix, _this$$slots, _this$$slots$suffix2;
|
18811
18811
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
18812
18812
|
"class": _this.triggerClass
|
18813
18813
|
}, [(0,external_vue_namespaceObject.createVNode)("ul", {
|
18814
|
-
"class": "tag-list",
|
18815
18814
|
"ref": "tagListRef",
|
18816
18815
|
"style": {
|
18817
18816
|
marginLeft: "".concat(_this.leftSpace, "px")
|
18818
|
-
}
|
18817
|
+
},
|
18818
|
+
"class": "tag-list"
|
18819
18819
|
}, [_this.selectedTagList.map(function (item, index) {
|
18820
18820
|
var isOverflow = _this.localCollapseTags && _this.overflowTagIndex && index >= _this.overflowTagIndex;
|
18821
18821
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
18822
|
-
"class": "tag-item",
|
18823
18822
|
"style": {
|
18824
18823
|
display: isOverflow ? 'none' : ''
|
18825
18824
|
},
|
18825
|
+
"class": "tag-item",
|
18826
18826
|
"onClick": _this.tagFocus
|
18827
18827
|
}, [(0,external_vue_namespaceObject.createVNode)(tag_render, {
|
18828
|
-
"node": item,
|
18829
|
-
"tpl": _this.tagTpl,
|
18830
18828
|
"displayKey": _this.displayKey,
|
18829
|
+
"node": item,
|
18830
|
+
"tagOverflowTips": _this.tagOverflowTips,
|
18831
18831
|
"tooltipKey": _this.tooltipKey || _this.displayKey,
|
18832
|
-
"
|
18832
|
+
"tpl": _this.tagTpl
|
18833
18833
|
}, null), _this.showTagClose && (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
18834
18834
|
"class": "remove-tag",
|
18835
18835
|
"onClick": _this.handleTagRemove.bind(_this, item, index)
|
18836
18836
|
}, null)]);
|
18837
18837
|
}), (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("li", {
|
18838
|
-
"ref": "tagInputItemRef",
|
18839
18838
|
"id": "tagInputItem",
|
18839
|
+
"ref": "tagInputItemRef",
|
18840
18840
|
"class": "tag-input-item",
|
18841
18841
|
"role": "input"
|
18842
18842
|
}, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("input", {
|
18843
|
-
"type": "text",
|
18844
|
-
"class": "tag-input",
|
18845
18843
|
"ref": "tagInputRef",
|
18844
|
+
"class": "tag-input",
|
18846
18845
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
18847
18846
|
return _this.curInputValue = $event;
|
18848
18847
|
},
|
18849
|
-
"
|
18850
|
-
"onFocus": _this.handleFocus,
|
18848
|
+
"type": "text",
|
18851
18849
|
"onBlur": _this.handleBlur,
|
18850
|
+
"onFocus": _this.handleFocus,
|
18851
|
+
"onInput": _this.handleInput,
|
18852
18852
|
"onKeydown": _this.handleKeydown,
|
18853
18853
|
"onPaste": _this.handlePaste
|
18854
18854
|
}, null), [[external_vue_namespaceObject.vModelText, _this.curInputValue]])]), [[external_vue_namespaceObject.vShow, _this.isEdit]]), !!_this.overflowTagIndex && _this.localCollapseTags && (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("li", {
|
@@ -18887,12 +18887,12 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
18887
18887
|
}, _this.activeClass(item, index)],
|
18888
18888
|
"onClick": _this.handleTagSelected.bind(_this, item, 'select')
|
18889
18889
|
}, [(0,external_vue_namespaceObject.createVNode)(list_tag_render, {
|
18890
|
-
"
|
18890
|
+
"disabled": item.disabled,
|
18891
18891
|
"displayKey": _this.displayKey,
|
18892
|
-
"
|
18892
|
+
"node": item,
|
18893
18893
|
"searchKey": _this.searchKey,
|
18894
18894
|
"searchKeyword": _this.curInputValue,
|
18895
|
-
"
|
18895
|
+
"tpl": _this.tpl
|
18896
18896
|
}, null)]);
|
18897
18897
|
})])]) : (0,external_vue_namespaceObject.createVNode)("li", {
|
18898
18898
|
"class": ["".concat(_this.resolveClassName('selector-list-item')), {
|
@@ -18900,18 +18900,18 @@ function tag_input_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
|
|
18900
18900
|
}, _this.activeClass(group, index)],
|
18901
18901
|
"onClick": _this.handleTagSelected.bind(_this, group, 'select')
|
18902
18902
|
}, [(0,external_vue_namespaceObject.createVNode)(list_tag_render, {
|
18903
|
-
"
|
18903
|
+
"disabled": group.disabled,
|
18904
18904
|
"displayKey": _this.displayKey,
|
18905
|
-
"
|
18905
|
+
"node": group,
|
18906
18906
|
"searchKey": _this.searchKey,
|
18907
18907
|
"searchKeyword": _this.curInputValue,
|
18908
|
-
"
|
18908
|
+
"tpl": _this.tpl
|
18909
18909
|
}, null)]);
|
18910
18910
|
}), _this.isPageLoading ? (0,external_vue_namespaceObject.createVNode)("li", {
|
18911
18911
|
"class": "".concat(_this.resolveClassName('selector-list-item'), " loading")
|
18912
18912
|
}, [(0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
|
18913
|
-
"
|
18914
|
-
"
|
18913
|
+
"size": loading_namespaceObject.BkLoadingSize.Small,
|
18914
|
+
"theme": "primary"
|
18915
18915
|
}, null)]) : null])]);
|
18916
18916
|
}
|
18917
18917
|
})]);
|
@@ -176,8 +176,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
176
176
|
} & {
|
177
177
|
default: boolean;
|
178
178
|
};
|
179
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
180
|
-
default: "auto" | "auto-
|
179
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
180
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
181
181
|
};
|
182
182
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
183
183
|
default: string;
|
@@ -516,8 +516,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
516
516
|
} & {
|
517
517
|
default: boolean;
|
518
518
|
};
|
519
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
520
|
-
default: "auto" | "auto-
|
519
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
520
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
521
521
|
};
|
522
522
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
523
523
|
default: string;
|
@@ -169,8 +169,8 @@ declare const tagProps: () => {
|
|
169
169
|
} & {
|
170
170
|
default: boolean;
|
171
171
|
};
|
172
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
173
|
-
default: "auto" | "auto-
|
172
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
173
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
174
174
|
};
|
175
175
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
176
176
|
default: string;
|
package/lib/timeline/index.js
CHANGED
@@ -177,11 +177,11 @@ var timelineProps = {
|
|
177
177
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
178
178
|
"class": ["".concat(_this.resolveClassName('timeline-dot')), makeClass(item)]
|
179
179
|
}, [isIcon(item) && (0,external_vue_namespaceObject.createVNode)("div", {
|
180
|
-
"class": "".concat(_this.resolveClassName('timeline-icon')),
|
181
180
|
"style": {
|
182
181
|
border: item.border ? "2px solid ".concat(item.color) : '0px',
|
183
182
|
borderRadius: item.border ? '50%' : '0'
|
184
|
-
}
|
183
|
+
},
|
184
|
+
"class": "".concat(_this.resolveClassName('timeline-icon'))
|
185
185
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
186
186
|
"class": "".concat(_this.resolveClassName('timeline-icon-inner'))
|
187
187
|
}, [typeof item.icon === 'function' ? (0,external_vue_namespaceObject.createVNode)(item.icon, null, null) : item.icon])]), (0,external_vue_namespaceObject.createVNode)("div", {
|