bkui-vue 2.0.1-beta.6 → 2.0.1-beta.60.fix.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/dist/index.cjs.js +166 -166
- package/dist/index.esm.js +32099 -32092
- 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.d.ts +1 -1
- package/lib/cascader/cascader.less +1 -1
- package/lib/cascader/index.js +32 -32
- 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/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 -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 +1 -1
- 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 +246 -220
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +5 -5
- 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 +25 -20
- 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.d.ts +8 -3
- 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 +34 -11
- package/lib/resize-layout/index.js +29 -14
- package/lib/resize-layout/resize-layout.d.ts +16 -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/common.d.ts +4 -4
- package/lib/select/index.d.ts +88 -70
- package/lib/select/index.js +134 -125
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.d.ts +35 -27
- 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 +126 -130
- 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 +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 +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 +3 -5
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +48 -40
- 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 +25 -26
- 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/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
@@ -89,7 +89,7 @@ declare const propTypesNS: {
|
|
89
89
|
toType<T_2_1 = unknown>(name: string, obj: import("vue-types/dist/types").PropOptions<T_2_1, T_2_1>, validable?: boolean): VueTypeDef<T_2_1> | import("vue-types").VueTypeValidableDef<T_2_1>;
|
90
90
|
};
|
91
91
|
};
|
92
|
-
export type VueNode =
|
92
|
+
export type VueNode = JSX.Element | VNodeChild;
|
93
93
|
export type ElementType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType> ? ElementType : never;
|
94
94
|
export declare function stringEnum<T extends string>(o: Array<T>): {
|
95
95
|
[K in T]: K;
|
@@ -99,15 +99,15 @@ type LastOf<T> = UnionToIntersection<T extends any ? () => T : never> extends ()
|
|
99
99
|
type Push<T extends any[], V> = [...T, V];
|
100
100
|
export type UnionToArrayType<T, L = LastOf<T>, N = [T] extends [never] ? true : false> = N extends true ? [] : Push<UnionToArrayType<Exclude<T, L>>, L>;
|
101
101
|
export declare enum SizeEnum {
|
102
|
-
|
102
|
+
DEFAULT = "default",
|
103
103
|
LARGE = "large",
|
104
|
-
|
104
|
+
SMALL = "small"
|
105
105
|
}
|
106
106
|
export declare enum Placements {
|
107
|
-
|
107
|
+
Bottom = "bottom",
|
108
108
|
Left = "left",
|
109
109
|
Right = "right",
|
110
|
-
|
110
|
+
Top = "top"
|
111
111
|
}
|
112
112
|
export declare enum RenderDirectiveEnum {
|
113
113
|
IF = "if",
|
@@ -117,44 +117,44 @@ export declare function renderDirectiveType(): import("vue-types").VueTypeValida
|
|
117
117
|
default: "show" | "if";
|
118
118
|
};
|
119
119
|
export declare enum AlignEnum {
|
120
|
-
LEFT = "left",
|
121
120
|
CENTER = "center",
|
121
|
+
LEFT = "left",
|
122
122
|
RIGHT = "right"
|
123
123
|
}
|
124
|
-
export declare function alignType(): import("vue-types").VueTypeValidableDef<"
|
125
|
-
default: "
|
124
|
+
export declare function alignType(): import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
|
125
|
+
default: "left" | "right" | "center";
|
126
126
|
};
|
127
127
|
export declare enum ThemeEnum {
|
128
|
+
DANGER = "danger",
|
128
129
|
PRIMARY = "primary",
|
129
|
-
WARNING = "warning",
|
130
130
|
SUCCESS = "success",
|
131
|
-
|
131
|
+
WARNING = "warning"
|
132
132
|
}
|
133
133
|
/** 弹层出现位置选项 */
|
134
134
|
export declare enum PlacementEnum {
|
135
135
|
AUTO = "auto",
|
136
|
-
AUTO_START = "auto-start",
|
137
136
|
AUTO_END = "auto-end",
|
138
|
-
|
139
|
-
RIGHT = "right",
|
137
|
+
AUTO_START = "auto-start",
|
140
138
|
BOTTOM = "bottom",
|
141
|
-
LEFT = "left",
|
142
|
-
TOP_START = "top-start",
|
143
|
-
TOP_END = "top-end",
|
144
|
-
BOTTOM_START = "bottom-start",
|
145
139
|
BOTTOM_END = "bottom-end",
|
146
|
-
|
147
|
-
|
140
|
+
BOTTOM_START = "bottom-start",
|
141
|
+
LEFT = "left",
|
142
|
+
LEFT_END = "left-end",
|
148
143
|
LEFT_START = "left-start",
|
149
|
-
|
144
|
+
RIGHT = "right",
|
145
|
+
RIGHT_END = "right-end",
|
146
|
+
RIGHT_START = "right-start",
|
147
|
+
TOP = "top",
|
148
|
+
TOP_END = "top-end",
|
149
|
+
TOP_START = "top-start"
|
150
150
|
}
|
151
|
-
export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
152
|
-
default: "auto" | "auto-
|
151
|
+
export declare function placementType(): 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"> & {
|
152
|
+
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";
|
153
153
|
};
|
154
154
|
/** 弹层触发选项 */
|
155
155
|
export declare enum TriggerEnum {
|
156
|
-
HOVER = "hover",
|
157
156
|
CLICK = "click",
|
157
|
+
HOVER = "hover",
|
158
158
|
MANUAL = "manual"
|
159
159
|
}
|
160
160
|
export declare function triggerType(): import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
|
@@ -169,12 +169,12 @@ export declare function renderType(): VueTypeDef<"auto" | "shown"> & {
|
|
169
169
|
default: "auto" | "shown";
|
170
170
|
};
|
171
171
|
export declare enum DialogTypeEnum {
|
172
|
-
SHOW = "show",
|
173
|
-
OPERATION = "operation",
|
174
172
|
CONFIRM = "confirm",
|
175
|
-
|
173
|
+
OPERATION = "operation",
|
174
|
+
PROCESS = "process",
|
175
|
+
SHOW = "show"
|
176
176
|
}
|
177
|
-
export declare function dialogTypeUnion(): VueTypeDef<"show" | "process" | "
|
177
|
+
export declare function dialogTypeUnion(): VueTypeDef<"show" | "process" | "confirm" | "operation">;
|
178
178
|
export declare enum DirectionEnum {
|
179
179
|
HORIZONTAL = "horizontal",
|
180
180
|
VERTICAL = "vertical"
|
@@ -190,32 +190,32 @@ export declare function lineStyleType(): VueTypeDef<"dashed" | "solid"> & {
|
|
190
190
|
default: "dashed" | "solid";
|
191
191
|
};
|
192
192
|
export declare enum TagThemeEnum {
|
193
|
-
|
194
|
-
SUCCESS = "success",
|
193
|
+
DANGER = "danger",
|
195
194
|
INFO = "info",
|
196
|
-
|
197
|
-
|
195
|
+
SUCCESS = "success",
|
196
|
+
UNKNOWN = "",
|
197
|
+
WARNING = "warning"
|
198
198
|
}
|
199
|
-
export declare function TagThemeType(): VueTypeDef<"" | "info" | "success" | "
|
200
|
-
default: "" | "info" | "success" | "
|
199
|
+
export declare function TagThemeType(): VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
|
200
|
+
default: "" | "info" | "success" | "danger" | "warning";
|
201
201
|
};
|
202
202
|
export declare enum InputBehaviorEnum {
|
203
|
-
|
204
|
-
|
203
|
+
NORMAL = "normal",
|
204
|
+
SIMPLICITY = "simplicity"
|
205
205
|
}
|
206
206
|
export declare enum ProgressStrokeLineCapEnum {
|
207
207
|
BUTT = "butt",
|
208
|
-
|
209
|
-
|
208
|
+
ROUNDE = "round",
|
209
|
+
SQUARE = "square"
|
210
210
|
}
|
211
211
|
export declare enum ProgressEnum {
|
212
|
-
LINE = "line",
|
213
212
|
CIRCLE = "circle",
|
214
|
-
DASHBOARD = "dashboard"
|
213
|
+
DASHBOARD = "dashboard",
|
214
|
+
LINE = "line"
|
215
215
|
}
|
216
216
|
export declare enum SwitcherThemeEnum {
|
217
|
-
|
218
|
-
|
217
|
+
PRIMARY = "primary",
|
218
|
+
SUCCESS = "success"
|
219
219
|
}
|
220
220
|
export declare enum TimelineNodeTypeEnum {
|
221
221
|
TEMPLATE = "template",
|
@@ -235,16 +235,16 @@ export declare function InputBehaviorType(): VueTypeDef<"normal" | "simplicity">
|
|
235
235
|
};
|
236
236
|
export declare class PropTypes extends propTypesNS {
|
237
237
|
static size(): VueTypeDef<"default" | "small" | "large" | "huge">;
|
238
|
-
static theme(): VueTypeDef<"success" | "
|
239
|
-
static placement(): VueTypeDef<"
|
238
|
+
static theme(): VueTypeDef<"success" | "danger" | "warning" | "primary">;
|
239
|
+
static placement(): VueTypeDef<"bottom" | "left" | "right" | "top">;
|
240
240
|
static style(): VueTypeDef<CSSProperties>;
|
241
241
|
static position(positions?: string[]): VueTypeDef<string>;
|
242
|
-
static infoType(): VueTypeDef<"loading" | "success" | "
|
242
|
+
static infoType(): VueTypeDef<"loading" | "success" | "danger" | "warning">;
|
243
243
|
static timelineNodeType(): VueTypeDef<"template" | "vnode">;
|
244
244
|
}
|
245
245
|
export declare enum SelectedTypeEnum {
|
246
|
-
|
247
|
-
|
246
|
+
CHECK = "check",
|
247
|
+
CHECKBOX = "checkbox"
|
248
248
|
}
|
249
249
|
export declare function SelectedType(): VueTypeDef<"checkbox" | "check"> & {
|
250
250
|
default: "checkbox" | "check";
|
@@ -31,16 +31,16 @@ export declare enum BKLAYERTYPE {
|
|
31
31
|
BOTTOM = "bottom",
|
32
32
|
/** 页面呈现的各类内容 */
|
33
33
|
CONTENT = "content",
|
34
|
-
/** 顶部导航、侧边导航以及用户信息等 */
|
35
|
-
NAVI = "navi",
|
36
34
|
/** 页面需全屏操作的部分功能或编辑器的全屏模式 */
|
37
35
|
FULLSCREEN = "fullScreen",
|
38
|
-
/** 各类功能插件 */
|
39
|
-
PLUGINS = "plugins",
|
40
|
-
/** 各类弹窗或抽屉(非模态弹窗不考虑) */
|
41
|
-
MODAL = "modal",
|
42
36
|
/** 各类消息提示 */
|
43
37
|
MESSAGE = "message",
|
38
|
+
/** 各类弹窗或抽屉(非模态弹窗不考虑) */
|
39
|
+
MODAL = "modal",
|
40
|
+
/** 顶部导航、侧边导航以及用户信息等 */
|
41
|
+
NAVI = "navi",
|
42
|
+
/** 各类功能插件 */
|
43
|
+
PLUGINS = "plugins",
|
44
44
|
/** 各类popper提示 */
|
45
45
|
POPPER = "popper"
|
46
46
|
}
|
@@ -53,7 +53,9 @@ declare const BkSideslider: {
|
|
53
53
|
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
54
54
|
default: "show" | "if";
|
55
55
|
};
|
56
|
-
beforeClose: import("vue-types").
|
56
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
|
57
|
+
default: () => boolean;
|
58
|
+
};
|
57
59
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
58
60
|
default: string;
|
59
61
|
};
|
@@ -123,7 +125,9 @@ declare const BkSideslider: {
|
|
123
125
|
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
124
126
|
default: "show" | "if";
|
125
127
|
};
|
126
|
-
beforeClose: import("vue-types").
|
128
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
|
129
|
+
default: () => boolean;
|
130
|
+
};
|
127
131
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
128
132
|
default: string;
|
129
133
|
};
|
@@ -142,8 +146,8 @@ declare const BkSideslider: {
|
|
142
146
|
}, {
|
143
147
|
title: string;
|
144
148
|
extCls: string;
|
145
|
-
top: string;
|
146
149
|
left: string;
|
150
|
+
top: string;
|
147
151
|
isShow: boolean;
|
148
152
|
transfer: string | boolean | HTMLElement;
|
149
153
|
direction: string;
|
@@ -154,6 +158,7 @@ declare const BkSideslider: {
|
|
154
158
|
escClose: boolean;
|
155
159
|
quickClose: boolean;
|
156
160
|
animateType: string;
|
161
|
+
beforeClose: () => boolean;
|
157
162
|
}, true, {}, {}, {
|
158
163
|
P: {};
|
159
164
|
B: {};
|
@@ -215,7 +220,9 @@ declare const BkSideslider: {
|
|
215
220
|
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
216
221
|
default: "show" | "if";
|
217
222
|
};
|
218
|
-
beforeClose: import("vue-types").
|
223
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
|
224
|
+
default: () => boolean;
|
225
|
+
};
|
219
226
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
220
227
|
default: string;
|
221
228
|
};
|
@@ -234,8 +241,8 @@ declare const BkSideslider: {
|
|
234
241
|
}, () => JSX.Element, {}, {}, {}, {
|
235
242
|
title: string;
|
236
243
|
extCls: string;
|
237
|
-
top: string;
|
238
244
|
left: string;
|
245
|
+
top: string;
|
239
246
|
isShow: boolean;
|
240
247
|
transfer: string | boolean | HTMLElement;
|
241
248
|
direction: string;
|
@@ -246,6 +253,7 @@ declare const BkSideslider: {
|
|
246
253
|
escClose: boolean;
|
247
254
|
quickClose: boolean;
|
248
255
|
animateType: string;
|
256
|
+
beforeClose: () => boolean;
|
249
257
|
}>;
|
250
258
|
__isFragment?: never;
|
251
259
|
__isTeleport?: never;
|
@@ -304,7 +312,9 @@ declare const BkSideslider: {
|
|
304
312
|
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
305
313
|
default: "show" | "if";
|
306
314
|
};
|
307
|
-
beforeClose: import("vue-types").
|
315
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
|
316
|
+
default: () => boolean;
|
317
|
+
};
|
308
318
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
309
319
|
default: string;
|
310
320
|
};
|
@@ -323,8 +333,8 @@ declare const BkSideslider: {
|
|
323
333
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", {
|
324
334
|
title: string;
|
325
335
|
extCls: string;
|
326
|
-
top: string;
|
327
336
|
left: string;
|
337
|
+
top: string;
|
328
338
|
isShow: boolean;
|
329
339
|
transfer: string | boolean | HTMLElement;
|
330
340
|
direction: string;
|
@@ -335,5 +345,6 @@ declare const BkSideslider: {
|
|
335
345
|
escClose: boolean;
|
336
346
|
quickClose: boolean;
|
337
347
|
animateType: string;
|
348
|
+
beforeClose: () => boolean;
|
338
349
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
339
350
|
export default BkSideslider;
|
package/lib/sideslider/index.js
CHANGED
@@ -2,11 +2,11 @@ import "../styles/reset.css";
|
|
2
2
|
import "./sideslider.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_cloneDeep_13f2b125__ from "lodash/cloneDeep";
|
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_icon_a97c79c3__ from "../icon";
|
8
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
|
9
8
|
import "../modal/modal.less";
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
|
10
10
|
/******/ var __webpack_modules__ = ({
|
11
11
|
|
12
12
|
/***/ 7609:
|
@@ -510,10 +510,6 @@ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBP
|
|
510
510
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
511
511
|
var regenerator = __webpack_require__(2841);
|
512
512
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
513
|
-
;// CONCATENATED MODULE: external "lodash/cloneDeep"
|
514
|
-
var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
515
|
-
var cloneDeep_y = x => () => x
|
516
|
-
const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
|
517
513
|
;// CONCATENATED MODULE: external "../config-provider"
|
518
514
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
519
515
|
var config_provider_y = x => () => x
|
@@ -530,6 +526,10 @@ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
|
|
530
526
|
var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
531
527
|
var modal_less_y = x => () => x
|
532
528
|
const modal_less_namespaceObject = modal_less_x({ });
|
529
|
+
;// CONCATENATED MODULE: external "lodash/cloneDeep"
|
530
|
+
var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
531
|
+
var cloneDeep_y = x => () => x
|
532
|
+
const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
|
533
533
|
;// CONCATENATED MODULE: ../../packages/sideslider/src/sideslider.tsx
|
534
534
|
|
535
535
|
|
@@ -672,21 +672,21 @@ sliderProps.width["default"] = '400';
|
|
672
672
|
inheritAttrs[instance.vnode.scopeId] = '';
|
673
673
|
}
|
674
674
|
return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(inheritAttrs, {
|
675
|
-
"class": _defineProperty(_defineProperty({}, resolveClassName('sideslider'), true), "is-position-".concat(props.direction), props.direction),
|
676
|
-
"isShow": props.isShow,
|
677
675
|
"width": props.width,
|
678
|
-
"
|
676
|
+
"class": _defineProperty(_defineProperty({}, resolveClassName('sideslider'), true), "is-position-".concat(props.direction), props.direction),
|
679
677
|
"extCls": props.extCls,
|
678
|
+
"animateType": props.direction,
|
680
679
|
"closeIcon": false,
|
681
680
|
"escClose": props.escClose,
|
681
|
+
"isShow": props.isShow,
|
682
682
|
"quickClose": props.quickClose,
|
683
|
+
"renderDirective": props.renderDirective,
|
683
684
|
"showMask": props.showMask,
|
684
685
|
"transfer": props.transfer,
|
685
|
-
"renderDirective": props.renderDirective,
|
686
686
|
"zIndex": props.zIndex,
|
687
|
+
"onClose": handleClose,
|
687
688
|
"onHidden": handleHidden,
|
688
|
-
"onShown": handleShown
|
689
|
-
"onClose": handleClose
|
689
|
+
"onShown": handleShown
|
690
690
|
}), _isSlot(modelSlot) ? modelSlot : {
|
691
691
|
"default": function _default() {
|
692
692
|
return [modelSlot];
|
@@ -52,7 +52,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
52
|
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
53
53
|
default: "show" | "if";
|
54
54
|
};
|
55
|
-
beforeClose: import("vue-types").
|
55
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
|
56
|
+
default: () => boolean;
|
57
|
+
};
|
56
58
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
57
59
|
default: string;
|
58
60
|
};
|
@@ -116,7 +118,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
116
118
|
renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
|
117
119
|
default: "show" | "if";
|
118
120
|
};
|
119
|
-
beforeClose: import("vue-types").
|
121
|
+
beforeClose: import("vue-types").VueTypeValidableDef<() => boolean> & {
|
122
|
+
default: () => boolean;
|
123
|
+
};
|
120
124
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
121
125
|
default: string;
|
122
126
|
};
|
@@ -135,8 +139,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
135
139
|
}, {
|
136
140
|
title: string;
|
137
141
|
extCls: string;
|
138
|
-
top: string;
|
139
142
|
left: string;
|
143
|
+
top: string;
|
140
144
|
isShow: boolean;
|
141
145
|
transfer: string | boolean | HTMLElement;
|
142
146
|
direction: string;
|
@@ -147,5 +151,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
147
151
|
escClose: boolean;
|
148
152
|
quickClose: boolean;
|
149
153
|
animateType: string;
|
154
|
+
beforeClose: () => boolean;
|
150
155
|
}, {}>;
|
151
156
|
export default _default;
|
package/lib/slider/index.js
CHANGED
@@ -650,21 +650,21 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
650
650
|
resolveClassName = _usePrefix.resolveClassName;
|
651
651
|
var renderDom = function renderDom() {
|
652
652
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
653
|
+
"ref": button,
|
654
|
+
"style": wrapperStyle.value,
|
653
655
|
"class": ["".concat(resolveClassName('slider-button')), props.params.vertical ? 'vertical' : 'horizontal', {
|
654
656
|
grabbing: dragging.value
|
655
657
|
}],
|
656
|
-
"ref": button,
|
657
658
|
"tabindex": "0",
|
658
|
-
"style": wrapperStyle.value,
|
659
659
|
"onClick": function onClick(event) {
|
660
660
|
return event.stopPropagation();
|
661
661
|
},
|
662
662
|
"onMousedown": onButtonDown
|
663
663
|
}, [Boolean(tip.value.content) ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
664
|
+
"boundary": document.body,
|
664
665
|
"content": tip.value.content,
|
665
|
-
"theme": 'dark',
|
666
666
|
"placement": tip.value.placement,
|
667
|
-
"
|
667
|
+
"theme": 'dark'
|
668
668
|
}, {
|
669
669
|
"default": function _default() {
|
670
670
|
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -886,12 +886,10 @@ var off = function off(element, event, handler) {
|
|
886
886
|
result.push(i * stepWidth);
|
887
887
|
}
|
888
888
|
if (props.range) {
|
889
|
-
// eslint-disable-next-line max-len
|
890
889
|
return result.filter(function (step) {
|
891
890
|
return step < 100 * (rangeMinValue.value - props.minValue) / (props.maxValue - props.minValue) || step > 100 * (rangeMaxValue.value - props.minValue) / (props.maxValue - props.minValue);
|
892
891
|
});
|
893
892
|
}
|
894
|
-
// eslint-disable-next-line max-len
|
895
893
|
return result.filter(function (step) {
|
896
894
|
return step > 100 * (firstValue.value - props.minValue) / (props.maxValue - props.minValue);
|
897
895
|
});
|
@@ -1188,25 +1186,25 @@ var off = function off(element, event, handler) {
|
|
1188
1186
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1189
1187
|
"class": ["".concat(resolveClassName('slider')), props.extCls]
|
1190
1188
|
}, [(_slots$start = slots.start) === null || _slots$start === void 0 ? void 0 : _slots$start.call(slots), (0,external_vue_namespaceObject.createVNode)("div", {
|
1191
|
-
"class": "".concat(resolveClassName('slider-runway')),
|
1192
1189
|
"ref": slider,
|
1193
1190
|
"style": runwayStyle.value,
|
1191
|
+
"class": "".concat(resolveClassName('slider-runway')),
|
1194
1192
|
"onClick": setButtonPos
|
1195
1193
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
1194
|
+
"style": barStyle.value,
|
1196
1195
|
"class": ["".concat(resolveClassName('slider-bar')), props.vertical ? 'vertical' : 'horizontal', {
|
1197
1196
|
disable: props.disable
|
1198
|
-
}]
|
1199
|
-
"style": barStyle.value
|
1197
|
+
}]
|
1200
1198
|
}, null), props.showInterval ? intervals.value.map(function (interval, index) {
|
1201
1199
|
if (index === 0 || index === intervals.value.length - 1) {
|
1202
1200
|
return null;
|
1203
1201
|
}
|
1204
1202
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1205
1203
|
"key": index,
|
1204
|
+
"style": getIntervalStyle(interval),
|
1206
1205
|
"class": ["".concat(resolveClassName('slider-interval')), {
|
1207
1206
|
vertical: props.vertical
|
1208
1207
|
}],
|
1209
|
-
"style": getIntervalStyle(interval),
|
1210
1208
|
"onClick": function onClick(e) {
|
1211
1209
|
return handleStepLabelClick(e, interval);
|
1212
1210
|
}
|
@@ -1217,10 +1215,10 @@ var off = function off(element, event, handler) {
|
|
1217
1215
|
}
|
1218
1216
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1219
1217
|
"key": index,
|
1218
|
+
"style": getIntervalStyle(custom.percent),
|
1220
1219
|
"class": ["".concat(resolveClassName('slider-interval')), {
|
1221
1220
|
vertical: props.vertical
|
1222
1221
|
}],
|
1223
|
-
"style": getIntervalStyle(custom.percent),
|
1224
1222
|
"onClick": function onClick(e) {
|
1225
1223
|
return handleStepLabelClick(e, custom);
|
1226
1224
|
}
|
@@ -1230,23 +1228,23 @@ var off = function off(element, event, handler) {
|
|
1230
1228
|
}, [function () {
|
1231
1229
|
if (props.showBetweenLabel) {
|
1232
1230
|
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
1233
|
-
"class": "label-start",
|
1234
1231
|
"style": [{
|
1235
1232
|
opacity: betweenLabelStyle('start')
|
1236
|
-
}]
|
1233
|
+
}],
|
1234
|
+
"class": "label-start"
|
1237
1235
|
}, [props.formatterLabel(props.minValue)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
1238
|
-
"class": "label-end",
|
1239
1236
|
"style": [{
|
1240
1237
|
opacity: betweenLabelStyle('end')
|
1241
|
-
}]
|
1238
|
+
}],
|
1239
|
+
"class": "label-end"
|
1242
1240
|
}, [props.formatterLabel(props.maxValue)])];
|
1243
1241
|
}
|
1244
1242
|
if (props.showIntervalLabel) {
|
1245
1243
|
return intervalLabels.value.map(function (intervalLabel, index) {
|
1246
1244
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1247
|
-
"class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
|
1248
1245
|
"key": index,
|
1249
1246
|
"style": getIntervalStyle(intervalLabel.stepWidth),
|
1247
|
+
"class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
|
1250
1248
|
"onClick": function onClick(e) {
|
1251
1249
|
return handleStepLabelClick(e, intervalLabel);
|
1252
1250
|
}
|
@@ -1256,9 +1254,9 @@ var off = function off(element, event, handler) {
|
|
1256
1254
|
if (props.customContent) {
|
1257
1255
|
return customList.value.map(function (item, index) {
|
1258
1256
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1259
|
-
"class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
|
1260
1257
|
"key": index,
|
1261
1258
|
"style": getIntervalStyle(item.percent),
|
1259
|
+
"class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
|
1262
1260
|
"onClick": function onClick(e) {
|
1263
1261
|
return handleStepLabelClick(e, item);
|
1264
1262
|
}
|
@@ -1267,20 +1265,20 @@ var off = function off(element, event, handler) {
|
|
1267
1265
|
}
|
1268
1266
|
return undefined;
|
1269
1267
|
}()]) : undefined, (0,external_vue_namespaceObject.createVNode)(slider_button, {
|
1268
|
+
"ref": firstbutton,
|
1270
1269
|
"modelValue": firstValue.value,
|
1271
1270
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
1272
1271
|
return firstValue.value = $event;
|
1273
1272
|
},
|
1274
|
-
"ref": firstbutton,
|
1275
1273
|
"params": buttonParms.value,
|
1276
1274
|
"onEmitChange": emitChange,
|
1277
1275
|
"onResetSize": resetSize
|
1278
1276
|
}, null), props.range ? (0,external_vue_namespaceObject.createVNode)(slider_button, {
|
1277
|
+
"ref": secondbutton,
|
1279
1278
|
"modelValue": secondValue.value,
|
1280
1279
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
1281
1280
|
return secondValue.value = $event;
|
1282
1281
|
},
|
1283
|
-
"ref": secondbutton,
|
1284
1282
|
"params": buttonParms.value,
|
1285
1283
|
"onEmitChange": emitChange,
|
1286
1284
|
"onResetSize": resetSize
|
@@ -1289,20 +1287,20 @@ var off = function off(element, event, handler) {
|
|
1289
1287
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
1290
1288
|
"class": "input-item"
|
1291
1289
|
}, [(0,external_vue_namespaceObject.createVNode)(input_namespaceObject["default"], {
|
1292
|
-
"type": "number",
|
1293
|
-
"modelValue": firstInput.value,
|
1294
1290
|
"max": props.maxValue,
|
1295
1291
|
"min": props.minValue,
|
1292
|
+
"modelValue": firstInput.value,
|
1293
|
+
"type": "number",
|
1296
1294
|
"onChange": firstInputChange
|
1297
1295
|
}, null)]), showSecondInput.value && secondValue.value ? [(0,external_vue_namespaceObject.createVNode)("div", {
|
1298
1296
|
"class": "input-center"
|
1299
1297
|
}, [(0,external_vue_namespaceObject.createTextVNode)("\uFF5E")]), (0,external_vue_namespaceObject.createVNode)("div", {
|
1300
1298
|
"class": "input-item"
|
1301
1299
|
}, [(0,external_vue_namespaceObject.createVNode)(input_namespaceObject["default"], {
|
1302
|
-
"type": "number",
|
1303
|
-
"modelValue": secondInput.value,
|
1304
1300
|
"max": props.maxValue,
|
1305
1301
|
"min": props.minValue,
|
1302
|
+
"modelValue": secondInput.value,
|
1303
|
+
"type": "number",
|
1306
1304
|
"onChange": secondInputChange
|
1307
1305
|
}, null)])] : undefined]) : undefined, (_slots$end = slots.end) === null || _slots$end === void 0 ? void 0 : _slots$end.call(slots)]);
|
1308
1306
|
};
|
package/lib/steps/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
declare const BkSteps: {
|
2
2
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
4
|
-
default: "success" | "
|
3
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
4
|
+
default: "success" | "danger" | "warning" | "primary";
|
5
5
|
};
|
6
6
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
7
7
|
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -45,8 +45,8 @@ declare const BkSteps: {
|
|
45
45
|
jumpTo: (index: any) => Promise<void>;
|
46
46
|
resolveClassName: (cls: string) => string;
|
47
47
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curStep")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
48
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
49
|
-
default: "success" | "
|
48
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
49
|
+
default: "success" | "danger" | "warning" | "primary";
|
50
50
|
};
|
51
51
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
52
52
|
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -88,7 +88,7 @@ declare const BkSteps: {
|
|
88
88
|
}, {
|
89
89
|
text: boolean;
|
90
90
|
extCls: string;
|
91
|
-
theme: "success" | "
|
91
|
+
theme: "success" | "danger" | "warning" | "primary";
|
92
92
|
steps: unknown[];
|
93
93
|
direction: "horizontal" | "vertical";
|
94
94
|
lineType: "dashed" | "solid";
|
@@ -104,8 +104,8 @@ declare const BkSteps: {
|
|
104
104
|
M: {};
|
105
105
|
Defaults: {};
|
106
106
|
}, Readonly<import("vue").ExtractPropTypes<{
|
107
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
108
|
-
default: "success" | "
|
107
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
108
|
+
default: "success" | "danger" | "warning" | "primary";
|
109
109
|
};
|
110
110
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
111
111
|
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -151,7 +151,7 @@ declare const BkSteps: {
|
|
151
151
|
}, {}, {}, {}, {
|
152
152
|
text: boolean;
|
153
153
|
extCls: string;
|
154
|
-
theme: "success" | "
|
154
|
+
theme: "success" | "danger" | "warning" | "primary";
|
155
155
|
steps: unknown[];
|
156
156
|
direction: "horizontal" | "vertical";
|
157
157
|
lineType: "dashed" | "solid";
|
@@ -164,8 +164,8 @@ declare const BkSteps: {
|
|
164
164
|
__isTeleport?: never;
|
165
165
|
__isSuspense?: never;
|
166
166
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
167
|
-
theme: import("vue-types").VueTypeDef<"success" | "
|
168
|
-
default: "success" | "
|
167
|
+
theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
|
168
|
+
default: "success" | "danger" | "warning" | "primary";
|
169
169
|
};
|
170
170
|
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
171
171
|
curStep: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -211,7 +211,7 @@ declare const BkSteps: {
|
|
211
211
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curStep")[], "click" | "update:curStep", {
|
212
212
|
text: boolean;
|
213
213
|
extCls: string;
|
214
|
-
theme: "success" | "
|
214
|
+
theme: "success" | "danger" | "warning" | "primary";
|
215
215
|
steps: unknown[];
|
216
216
|
direction: "horizontal" | "vertical";
|
217
217
|
lineType: "dashed" | "solid";
|