bkui-vue 1.0.0 → 1.0.2
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 +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- 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 +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/preset.d.ts +287 -2
- package/lib/preset.js +3 -1
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +7 -13
package/lib/radio/index.d.ts
CHANGED
@@ -1,139 +1,7 @@
|
|
1
1
|
import RadioButton from './radio-button';
|
2
2
|
import RadioGroup from './radio-group';
|
3
3
|
declare const BkRadio: {
|
4
|
-
new (...args: any[]): {
|
5
|
-
$: import("vue").ComponentInternalInstance;
|
6
|
-
$data: {};
|
7
|
-
$props: {
|
8
|
-
name?: string;
|
9
|
-
disabled?: boolean;
|
10
|
-
modelValue?: string | number | boolean;
|
11
|
-
checked?: boolean;
|
12
|
-
class?: unknown;
|
13
|
-
readonly label: string | number | boolean;
|
14
|
-
style?: unknown;
|
15
|
-
onChange?: (value: any) => any;
|
16
|
-
ref?: import("vue").VNodeRef;
|
17
|
-
key?: string | number | symbol;
|
18
|
-
ref_for?: boolean;
|
19
|
-
ref_key?: string;
|
20
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
21
|
-
[key: string]: any;
|
22
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
23
|
-
[key: string]: any;
|
24
|
-
}>) => void)[];
|
25
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
-
[key: string]: any;
|
27
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
28
|
-
[key: string]: any;
|
29
|
-
}>) => void)[];
|
30
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
-
[key: string]: any;
|
32
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
33
|
-
[key: string]: any;
|
34
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
35
|
-
[key: string]: any;
|
36
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
37
|
-
[key: string]: any;
|
38
|
-
}>) => void)[];
|
39
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
|
-
[key: string]: any;
|
41
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
-
[key: string]: any;
|
43
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
|
-
[key: string]: any;
|
45
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
-
[key: string]: any;
|
47
|
-
}>) => void)[];
|
48
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
-
[key: string]: any;
|
50
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
51
|
-
[key: string]: any;
|
52
|
-
}>) => void)[];
|
53
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
-
[key: string]: any;
|
55
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
56
|
-
[key: string]: any;
|
57
|
-
}>) => void)[];
|
58
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
59
|
-
};
|
60
|
-
$attrs: {
|
61
|
-
[x: string]: unknown;
|
62
|
-
};
|
63
|
-
$refs: {
|
64
|
-
[x: string]: unknown;
|
65
|
-
};
|
66
|
-
$slots: Readonly<{
|
67
|
-
[name: string]: import("vue").Slot<any>;
|
68
|
-
}>;
|
69
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
70
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
71
|
-
$emit: ((event: "change", value: any) => void) & ((event: "update:modelValue", value: any) => void);
|
72
|
-
$el: any;
|
73
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
74
|
-
name: import("vue-types").VueTypeValidableDef<string> & {
|
75
|
-
default: string;
|
76
|
-
} & {
|
77
|
-
default: string;
|
78
|
-
};
|
79
|
-
label: import("vue-types").VueTypeDef<string | number | boolean> & {
|
80
|
-
required: true;
|
81
|
-
};
|
82
|
-
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
83
|
-
default: string | number | boolean;
|
84
|
-
};
|
85
|
-
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
86
|
-
default: boolean;
|
87
|
-
} & {
|
88
|
-
default: boolean;
|
89
|
-
};
|
90
|
-
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
91
|
-
default: boolean;
|
92
|
-
} & {
|
93
|
-
default: boolean;
|
94
|
-
};
|
95
|
-
}>> & {
|
96
|
-
onChange?: (value: any) => any;
|
97
|
-
"onUpdate:modelValue"?: (value: any) => any;
|
98
|
-
}, {
|
99
|
-
size: import("vue").Ref<string>;
|
100
|
-
isFocused: import("vue").Ref<boolean>;
|
101
|
-
isChecked: import("vue").Ref<boolean>;
|
102
|
-
isDisabled: import("vue").ComputedRef<boolean>;
|
103
|
-
setChecked: (value?: boolean) => void;
|
104
|
-
handleBlur: () => void;
|
105
|
-
handleFocus: () => void;
|
106
|
-
handleChange: (event: Event) => void;
|
107
|
-
resolveClassName: (cls: string) => string;
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
109
|
-
'update:modelValue': (value: any) => boolean;
|
110
|
-
change: (value: any) => boolean;
|
111
|
-
}, string, {
|
112
|
-
name: string;
|
113
|
-
disabled: boolean;
|
114
|
-
modelValue: string | number | boolean;
|
115
|
-
checked: boolean;
|
116
|
-
}, {}, string, {}> & {
|
117
|
-
beforeCreate?: (() => void) | (() => void)[];
|
118
|
-
created?: (() => void) | (() => void)[];
|
119
|
-
beforeMount?: (() => void) | (() => void)[];
|
120
|
-
mounted?: (() => void) | (() => void)[];
|
121
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
122
|
-
updated?: (() => void) | (() => void)[];
|
123
|
-
activated?: (() => void) | (() => void)[];
|
124
|
-
deactivated?: (() => void) | (() => void)[];
|
125
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
126
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
127
|
-
destroyed?: (() => void) | (() => void)[];
|
128
|
-
unmounted?: (() => void) | (() => void)[];
|
129
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
130
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
131
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
132
|
-
};
|
133
|
-
$forceUpdate: () => void;
|
134
|
-
$nextTick: typeof import("vue").nextTick;
|
135
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
136
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
137
5
|
name: import("vue-types").VueTypeValidableDef<string> & {
|
138
6
|
default: string;
|
139
7
|
} & {
|
@@ -158,7 +26,7 @@ declare const BkRadio: {
|
|
158
26
|
}>> & {
|
159
27
|
onChange?: (value: any) => any;
|
160
28
|
"onUpdate:modelValue"?: (value: any) => any;
|
161
|
-
}
|
29
|
+
}, {
|
162
30
|
size: import("vue").Ref<string>;
|
163
31
|
isFocused: import("vue").Ref<boolean>;
|
164
32
|
isChecked: import("vue").Ref<boolean>;
|
@@ -168,7 +36,87 @@ declare const BkRadio: {
|
|
168
36
|
handleFocus: () => void;
|
169
37
|
handleChange: (event: Event) => void;
|
170
38
|
resolveClassName: (cls: string) => string;
|
171
|
-
}
|
39
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
40
|
+
'update:modelValue': (value: any) => boolean;
|
41
|
+
change: (value: any) => boolean;
|
42
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
43
|
+
name: import("vue-types").VueTypeValidableDef<string> & {
|
44
|
+
default: string;
|
45
|
+
} & {
|
46
|
+
default: string;
|
47
|
+
};
|
48
|
+
label: import("vue-types").VueTypeDef<string | number | boolean> & {
|
49
|
+
required: true;
|
50
|
+
};
|
51
|
+
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
52
|
+
default: string | number | boolean;
|
53
|
+
};
|
54
|
+
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
55
|
+
default: boolean;
|
56
|
+
} & {
|
57
|
+
default: boolean;
|
58
|
+
};
|
59
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
60
|
+
default: boolean;
|
61
|
+
} & {
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
}>> & {
|
65
|
+
onChange?: (value: any) => any;
|
66
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
67
|
+
}, {
|
68
|
+
name: string;
|
69
|
+
disabled: boolean;
|
70
|
+
modelValue: string | number | boolean;
|
71
|
+
checked: boolean;
|
72
|
+
}, true, {}, {}, {
|
73
|
+
P: {};
|
74
|
+
B: {};
|
75
|
+
D: {};
|
76
|
+
C: {};
|
77
|
+
M: {};
|
78
|
+
Defaults: {};
|
79
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
80
|
+
name: import("vue-types").VueTypeValidableDef<string> & {
|
81
|
+
default: string;
|
82
|
+
} & {
|
83
|
+
default: string;
|
84
|
+
};
|
85
|
+
label: import("vue-types").VueTypeDef<string | number | boolean> & {
|
86
|
+
required: true;
|
87
|
+
};
|
88
|
+
modelValue: import("vue-types").VueTypeDef<string | number | boolean> & {
|
89
|
+
default: string | number | boolean;
|
90
|
+
};
|
91
|
+
checked: import("vue-types").VueTypeValidableDef<boolean> & {
|
92
|
+
default: boolean;
|
93
|
+
} & {
|
94
|
+
default: boolean;
|
95
|
+
};
|
96
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
97
|
+
default: boolean;
|
98
|
+
} & {
|
99
|
+
default: boolean;
|
100
|
+
};
|
101
|
+
}>> & {
|
102
|
+
onChange?: (value: any) => any;
|
103
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
104
|
+
}, {
|
105
|
+
size: import("vue").Ref<string>;
|
106
|
+
isFocused: import("vue").Ref<boolean>;
|
107
|
+
isChecked: import("vue").Ref<boolean>;
|
108
|
+
isDisabled: import("vue").ComputedRef<boolean>;
|
109
|
+
setChecked: (value?: boolean) => void;
|
110
|
+
handleBlur: () => void;
|
111
|
+
handleFocus: () => void;
|
112
|
+
handleChange: (event: Event) => void;
|
113
|
+
resolveClassName: (cls: string) => string;
|
114
|
+
}, {}, {}, {}, {
|
115
|
+
name: string;
|
116
|
+
disabled: boolean;
|
117
|
+
modelValue: string | number | boolean;
|
118
|
+
checked: boolean;
|
119
|
+
}>;
|
172
120
|
__isFragment?: never;
|
173
121
|
__isTeleport?: never;
|
174
122
|
__isSuspense?: never;
|
package/lib/radio/index.js
CHANGED
@@ -39,38 +39,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
39
39
|
var y = x => () => x
|
40
40
|
const shared_namespaceObject = x({ ["EMPTY_OBJ"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.EMPTY_OBJ, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["isEmptyObj"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.isEmptyObj, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
41
41
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
42
|
-
function _typeof(
|
42
|
+
function _typeof(o) {
|
43
43
|
"@babel/helpers - typeof";
|
44
44
|
|
45
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
46
|
-
return typeof
|
47
|
-
} : function (
|
48
|
-
return
|
49
|
-
}, _typeof(
|
45
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
46
|
+
return typeof o;
|
47
|
+
} : function (o) {
|
48
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
49
|
+
}, _typeof(o);
|
50
50
|
}
|
51
51
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
52
52
|
|
53
|
-
function
|
54
|
-
if (
|
55
|
-
var
|
56
|
-
if (
|
57
|
-
var
|
58
|
-
if (
|
53
|
+
function toPrimitive(t, r) {
|
54
|
+
if ("object" != _typeof(t) || !t) return t;
|
55
|
+
var e = t[Symbol.toPrimitive];
|
56
|
+
if (void 0 !== e) {
|
57
|
+
var i = e.call(t, r || "default");
|
58
|
+
if ("object" != _typeof(i)) return i;
|
59
59
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
60
60
|
}
|
61
|
-
return (
|
61
|
+
return ("string" === r ? String : Number)(t);
|
62
62
|
}
|
63
63
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
64
64
|
|
65
65
|
|
66
|
-
function
|
67
|
-
var
|
68
|
-
return _typeof(
|
66
|
+
function toPropertyKey(t) {
|
67
|
+
var i = toPrimitive(t, "string");
|
68
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
69
69
|
}
|
70
70
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
71
71
|
|
72
72
|
function _defineProperty(obj, key, value) {
|
73
|
-
key =
|
73
|
+
key = toPropertyKey(key);
|
74
74
|
if (key in obj) {
|
75
75
|
Object.defineProperty(obj, key, {
|
76
76
|
value: value,
|
@@ -88,31 +88,31 @@ function _arrayWithHoles(arr) {
|
|
88
88
|
if (Array.isArray(arr)) return arr;
|
89
89
|
}
|
90
90
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
91
|
-
function _iterableToArrayLimit(
|
92
|
-
var
|
93
|
-
if (null !=
|
94
|
-
var
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
91
|
+
function _iterableToArrayLimit(r, l) {
|
92
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
93
|
+
if (null != t) {
|
94
|
+
var e,
|
95
|
+
n,
|
96
|
+
i,
|
97
|
+
u,
|
98
|
+
a = [],
|
99
|
+
f = !0,
|
100
|
+
o = !1;
|
101
101
|
try {
|
102
|
-
if (
|
103
|
-
if (Object(
|
104
|
-
|
105
|
-
} else for (; !(
|
106
|
-
} catch (
|
107
|
-
|
102
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
103
|
+
if (Object(t) !== t) return;
|
104
|
+
f = !1;
|
105
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
106
|
+
} catch (r) {
|
107
|
+
o = !0, n = r;
|
108
108
|
} finally {
|
109
109
|
try {
|
110
|
-
if (!
|
110
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
111
111
|
} finally {
|
112
|
-
if (
|
112
|
+
if (o) throw n;
|
113
113
|
}
|
114
114
|
}
|
115
|
-
return
|
115
|
+
return a;
|
116
116
|
}
|
117
117
|
}
|
118
118
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
@@ -352,9 +352,8 @@ var radioProps = {
|
|
352
352
|
};
|
353
353
|
},
|
354
354
|
render: function render() {
|
355
|
-
var
|
356
|
-
|
357
|
-
var radioClass = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('radio')), true), _defineProperty(_classes, "".concat(this.resolveClassName('radio'), "-").concat(this.size), true), _defineProperty(_classes, 'is-focused', this.isFocused), _defineProperty(_classes, 'is-disabled', this.isDisabled), _defineProperty(_classes, 'is-checked', this.isChecked), _classes));
|
355
|
+
var _this = this;
|
356
|
+
var radioClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('radio')), true), "".concat(this.resolveClassName('radio'), "-").concat(this.size), true), 'is-focused', this.isFocused), 'is-disabled', this.isDisabled), 'is-checked', this.isChecked));
|
358
357
|
var renderLabel = function renderLabel() {
|
359
358
|
if (!_this.label && !_this.$slots["default"]) {
|
360
359
|
return null;
|
@@ -459,9 +458,8 @@ var radioButtonProps = {
|
|
459
458
|
};
|
460
459
|
},
|
461
460
|
render: function render() {
|
462
|
-
var
|
463
|
-
|
464
|
-
var radioClass = (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.resolveClassName('radio-button')), true), _defineProperty(_classes, "".concat(this.resolveClassName('radio-button'), "-").concat(this.size), true), _defineProperty(_classes, 'is-focused', this.isFocused), _defineProperty(_classes, 'is-disabled', this.isDisabled), _defineProperty(_classes, 'is-checked', this.isChecked), _classes));
|
461
|
+
var _this = this;
|
462
|
+
var radioClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('radio-button')), true), "".concat(this.resolveClassName('radio-button'), "-").concat(this.size), true), 'is-focused', this.isFocused), 'is-disabled', this.isDisabled), 'is-checked', this.isChecked));
|
465
463
|
var renderLabel = function renderLabel() {
|
466
464
|
if (!_this.label && !_this.$slots["default"]) {
|
467
465
|
return null;
|
@@ -569,7 +567,7 @@ var radioGroupProps = {
|
|
569
567
|
}, function () {
|
570
568
|
if (props.withValidate) {
|
571
569
|
var _formItem$validate;
|
572
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
570
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
573
571
|
}
|
574
572
|
});
|
575
573
|
(0,external_vue_namespaceObject.onMounted)(function () {
|
package/lib/rate/index.d.ts
CHANGED
@@ -1,119 +1,58 @@
|
|
1
1
|
declare const BkRate: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
key?: string | number | symbol;
|
14
|
-
ref_for?: boolean;
|
15
|
-
ref_key?: string;
|
16
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
17
|
-
[key: string]: any;
|
18
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
19
|
-
[key: string]: any;
|
20
|
-
}>) => void)[];
|
21
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
22
|
-
[key: string]: any;
|
23
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
24
|
-
[key: string]: any;
|
25
|
-
}>) => void)[];
|
26
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
27
|
-
[key: string]: any;
|
28
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
-
[key: string]: any;
|
30
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
-
[key: string]: any;
|
32
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
33
|
-
[key: string]: any;
|
34
|
-
}>) => void)[];
|
35
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
-
[key: string]: any;
|
37
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
38
|
-
[key: string]: any;
|
39
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
|
-
[key: string]: any;
|
41
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
42
|
-
[key: string]: any;
|
43
|
-
}>) => void)[];
|
44
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
-
[key: string]: any;
|
46
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
47
|
-
[key: string]: any;
|
48
|
-
}>) => void)[];
|
49
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
-
[key: string]: any;
|
51
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
52
|
-
[key: string]: any;
|
53
|
-
}>) => void)[];
|
54
|
-
readonly size?: "default" | "small" | "large" | "huge";
|
55
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
56
|
-
"onHover-change"?: (...args: any[]) => any;
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
4
|
+
default: number;
|
5
|
+
} & {
|
6
|
+
default: number;
|
7
|
+
};
|
8
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
9
|
+
editable: import("vue-types").VueTypeValidableDef<boolean> & {
|
10
|
+
default: boolean;
|
11
|
+
} & {
|
12
|
+
default: boolean;
|
57
13
|
};
|
58
|
-
|
59
|
-
|
14
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
15
|
+
default: boolean;
|
16
|
+
} & {
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
}>> & {
|
20
|
+
onChange?: (...args: any[]) => any;
|
21
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
22
|
+
"onHover-change"?: (...args: any[]) => any;
|
23
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "hover-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
24
|
+
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
25
|
+
default: number;
|
26
|
+
} & {
|
27
|
+
default: number;
|
60
28
|
};
|
61
|
-
|
62
|
-
|
29
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
30
|
+
editable: import("vue-types").VueTypeValidableDef<boolean> & {
|
31
|
+
default: boolean;
|
32
|
+
} & {
|
33
|
+
default: boolean;
|
63
34
|
};
|
64
|
-
|
65
|
-
|
66
|
-
}
|
67
|
-
|
68
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
69
|
-
$emit: (event: "change" | "update:modelValue" | "hover-change", ...args: any[]) => void;
|
70
|
-
$el: any;
|
71
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
72
|
-
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
73
|
-
default: number;
|
74
|
-
} & {
|
75
|
-
default: number;
|
76
|
-
};
|
77
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
78
|
-
editable: import("vue-types").VueTypeValidableDef<boolean> & {
|
79
|
-
default: boolean;
|
80
|
-
} & {
|
81
|
-
default: boolean;
|
82
|
-
};
|
83
|
-
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
84
|
-
default: boolean;
|
85
|
-
} & {
|
86
|
-
default: boolean;
|
87
|
-
};
|
88
|
-
}>> & {
|
89
|
-
onChange?: (...args: any[]) => any;
|
90
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
91
|
-
"onHover-change"?: (...args: any[]) => any;
|
92
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "hover-change")[], string, {
|
93
|
-
modelValue: number;
|
94
|
-
withValidate: boolean;
|
95
|
-
editable: boolean;
|
96
|
-
}, {}, string, {}> & {
|
97
|
-
beforeCreate?: (() => void) | (() => void)[];
|
98
|
-
created?: (() => void) | (() => void)[];
|
99
|
-
beforeMount?: (() => void) | (() => void)[];
|
100
|
-
mounted?: (() => void) | (() => void)[];
|
101
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
102
|
-
updated?: (() => void) | (() => void)[];
|
103
|
-
activated?: (() => void) | (() => void)[];
|
104
|
-
deactivated?: (() => void) | (() => void)[];
|
105
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
106
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
107
|
-
destroyed?: (() => void) | (() => void)[];
|
108
|
-
unmounted?: (() => void) | (() => void)[];
|
109
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
110
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
111
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
35
|
+
withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
+
default: boolean;
|
37
|
+
} & {
|
38
|
+
default: boolean;
|
112
39
|
};
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
40
|
+
}>> & {
|
41
|
+
onChange?: (...args: any[]) => any;
|
42
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
43
|
+
"onHover-change"?: (...args: any[]) => any;
|
44
|
+
}, {
|
45
|
+
modelValue: number;
|
46
|
+
withValidate: boolean;
|
47
|
+
editable: boolean;
|
48
|
+
}, true, {}, {}, {
|
49
|
+
P: {};
|
50
|
+
B: {};
|
51
|
+
D: {};
|
52
|
+
C: {};
|
53
|
+
M: {};
|
54
|
+
Defaults: {};
|
55
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
117
56
|
modelValue: import("vue-types").VueTypeValidableDef<number> & {
|
118
57
|
default: number;
|
119
58
|
} & {
|
@@ -134,7 +73,11 @@ declare const BkRate: {
|
|
134
73
|
onChange?: (...args: any[]) => any;
|
135
74
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
136
75
|
"onHover-change"?: (...args: any[]) => any;
|
137
|
-
}
|
76
|
+
}, () => JSX.Element, {}, {}, {}, {
|
77
|
+
modelValue: number;
|
78
|
+
withValidate: boolean;
|
79
|
+
editable: boolean;
|
80
|
+
}>;
|
138
81
|
__isFragment?: never;
|
139
82
|
__isTeleport?: never;
|
140
83
|
__isSuspense?: never;
|
package/lib/rate/index.js
CHANGED
@@ -36,38 +36,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
36
36
|
var y = x => () => x
|
37
37
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
38
38
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
39
|
-
function _typeof(
|
39
|
+
function _typeof(o) {
|
40
40
|
"@babel/helpers - typeof";
|
41
41
|
|
42
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
43
|
-
return typeof
|
44
|
-
} : function (
|
45
|
-
return
|
46
|
-
}, _typeof(
|
42
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
43
|
+
return typeof o;
|
44
|
+
} : function (o) {
|
45
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
46
|
+
}, _typeof(o);
|
47
47
|
}
|
48
48
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
49
49
|
|
50
|
-
function
|
51
|
-
if (
|
52
|
-
var
|
53
|
-
if (
|
54
|
-
var
|
55
|
-
if (
|
50
|
+
function toPrimitive(t, r) {
|
51
|
+
if ("object" != _typeof(t) || !t) return t;
|
52
|
+
var e = t[Symbol.toPrimitive];
|
53
|
+
if (void 0 !== e) {
|
54
|
+
var i = e.call(t, r || "default");
|
55
|
+
if ("object" != _typeof(i)) return i;
|
56
56
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
57
57
|
}
|
58
|
-
return (
|
58
|
+
return ("string" === r ? String : Number)(t);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
61
61
|
|
62
62
|
|
63
|
-
function
|
64
|
-
var
|
65
|
-
return _typeof(
|
63
|
+
function toPropertyKey(t) {
|
64
|
+
var i = toPrimitive(t, "string");
|
65
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
66
66
|
}
|
67
67
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
68
68
|
|
69
69
|
function _defineProperty(obj, key, value) {
|
70
|
-
key =
|
70
|
+
key = toPropertyKey(key);
|
71
71
|
if (key in obj) {
|
72
72
|
Object.defineProperty(obj, key, {
|
73
73
|
value: value,
|
@@ -154,8 +154,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
154
154
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
155
155
|
resolveClassName = _usePrefix.resolveClassName;
|
156
156
|
var starClass = function starClass(index) {
|
157
|
-
|
158
|
-
return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName('is-select')), index < Math.floor(displayRate.value)), _defineProperty(_classes, "".concat(resolveClassName('is-edit')), props.editable), _defineProperty(_classes, "".concat(resolveClassName('rate-star')), true), _classes));
|
157
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('is-select')), index < Math.floor(displayRate.value)), "".concat(resolveClassName('is-edit')), props.editable), "".concat(resolveClassName('rate-star')), true));
|
159
158
|
};
|
160
159
|
var displayRate = (0,external_vue_namespaceObject.computed)(function () {
|
161
160
|
return props.hoverRate || props.rate;
|
@@ -295,7 +294,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
295
294
|
}, function () {
|
296
295
|
if (props.withValidate) {
|
297
296
|
var _formItem$validate;
|
298
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
297
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
299
298
|
}
|
300
299
|
});
|
301
300
|
return function () {
|