bkui-vue 0.0.3-beta.6 → 1.0.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/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10444 -10431
- package/dist/index.umd.js +47 -47
- 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 +35 -34
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +43 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +7 -7
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +23 -22
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +40 -39
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -47
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +60 -53
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +62 -57
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +338 -320
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +77 -78
- package/lib/code-diff/code-diff.css +0 -1
- package/lib/code-diff/code-diff.d.ts +1 -0
- package/lib/code-diff/code-diff.less +1 -1
- package/lib/code-diff/code-diff.variable.css +0 -1
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +532 -452
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +67 -66
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +10 -10
- 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 +74 -76
- package/lib/components.js +63 -504
- package/lib/config-provider/index.d.ts +159 -226
- package/lib/config-provider/index.js +49 -45
- package/lib/config-provider/use-global-config.d.ts +2 -2
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +47 -46
- 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 +164 -170
- 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 +291 -279
- package/lib/directives/index.js +51 -51
- package/lib/dist.index.js +5 -61
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +16 -15
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +56 -49
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +37 -37
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +16 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +83 -83
- package/lib/hooks.js +8 -48
- package/lib/icon/angle-double-down-line.js +23 -23
- package/lib/icon/angle-double-left-line.js +23 -23
- package/lib/icon/angle-double-left.js +23 -23
- package/lib/icon/angle-double-right-line.js +23 -23
- package/lib/icon/angle-double-right.js +23 -23
- package/lib/icon/angle-double-up-line.js +23 -23
- package/lib/icon/angle-down-fill.js +23 -23
- package/lib/icon/angle-down-line.js +23 -23
- package/lib/icon/angle-down.js +23 -23
- package/lib/icon/angle-left.js +23 -23
- package/lib/icon/angle-right.js +23 -23
- package/lib/icon/angle-up-fill.js +23 -23
- package/lib/icon/angle-up.js +23 -23
- package/lib/icon/archive-fill.js +23 -23
- package/lib/icon/arrows-left.js +23 -23
- package/lib/icon/arrows-right.js +23 -23
- package/lib/icon/assistant.js +23 -23
- package/lib/icon/audio-fill.js +23 -23
- package/lib/icon/bk.js +23 -23
- package/lib/icon/circle.js +23 -23
- package/lib/icon/close-line.js +23 -23
- package/lib/icon/close.js +23 -23
- package/lib/icon/code.js +23 -23
- package/lib/icon/cog-shape.js +23 -23
- package/lib/icon/collapse-left.js +23 -23
- package/lib/icon/copy-shape.js +23 -23
- package/lib/icon/copy.js +23 -23
- package/lib/icon/data-shape.js +23 -23
- package/lib/icon/del.js +23 -23
- package/lib/icon/doc-fill.js +23 -23
- package/lib/icon/done.js +23 -23
- package/lib/icon/down-shape.js +23 -23
- package/lib/icon/down-small.js +23 -23
- package/lib/icon/edit-line.js +23 -23
- package/lib/icon/ellipsis.js +23 -23
- package/lib/icon/enlarge-line.js +23 -23
- package/lib/icon/error.js +23 -23
- package/lib/icon/excel-fill.js +23 -23
- package/lib/icon/exclamation-circle-shape.js +23 -23
- package/lib/icon/eye.js +23 -23
- package/lib/icon/filliscreen-line.js +23 -23
- package/lib/icon/fix-line.js +23 -23
- package/lib/icon/fix-shape.js +23 -23
- package/lib/icon/folder-open.js +23 -23
- package/lib/icon/folder-shape-open.js +23 -23
- package/lib/icon/folder-shape.js +23 -23
- package/lib/icon/folder.js +23 -23
- package/lib/icon/funnel.js +23 -23
- package/lib/icon/grag-fill.js +23 -23
- package/lib/icon/help-document-fill.js +23 -23
- package/lib/icon/help-fill.js +23 -23
- package/lib/icon/help.js +23 -23
- package/lib/icon/image-fill.js +29 -29
- package/lib/icon/img-error.js +29 -29
- package/lib/icon/img-placehoulder.js +29 -29
- package/lib/icon/index.js +485 -485
- package/lib/icon/info-line.js +29 -29
- package/lib/icon/info.js +29 -29
- package/lib/icon/left-shape.js +29 -29
- package/lib/icon/left-turn-line.js +29 -29
- package/lib/icon/loading.js +29 -29
- package/lib/icon/narrow-line.js +29 -29
- package/lib/icon/original.js +29 -29
- package/lib/icon/pdf-fill.js +29 -29
- package/lib/icon/play-shape.js +29 -29
- package/lib/icon/plus.js +29 -29
- package/lib/icon/ppt-fill.js +29 -29
- package/lib/icon/qq.js +29 -29
- package/lib/icon/right-shape.js +29 -29
- package/lib/icon/right-turn-line.js +29 -29
- package/lib/icon/search.js +29 -29
- package/lib/icon/share.js +29 -29
- package/lib/icon/spinner.js +29 -29
- package/lib/icon/success.js +29 -29
- package/lib/icon/switcher-loading.js +29 -29
- package/lib/icon/text-file.js +29 -29
- package/lib/icon/text-fill.js +29 -29
- package/lib/icon/transfer.js +29 -29
- package/lib/icon/tree-application-shape.js +29 -29
- package/lib/icon/unfull-screen.js +29 -29
- package/lib/icon/unvisible.js +29 -29
- package/lib/icon/up-shape.js +29 -29
- package/lib/icon/upload.js +29 -29
- package/lib/icon/video-fill.js +29 -29
- package/lib/icon/warn.js +29 -29
- package/lib/icon/weixin-pro.js +29 -29
- package/lib/icon/weixin.js +29 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +62 -62
- package/lib/index.js +8 -72
- package/lib/info-box/index.js +296 -284
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +316 -317
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +16 -15
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +49 -50
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +2 -4
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +49 -48
- package/lib/message/index.js +69 -70
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +535 -75
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +17 -16
- package/lib/notify/index.js +56 -57
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +32 -25
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +116 -109
- package/lib/plugin-popover/index.js +247 -153
- package/lib/plugins/index.js +2 -2
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +43 -31
- 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 +251 -156
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +5 -5
- package/lib/preset.d.ts +2 -287
- package/lib/preset.js +16 -58
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +253 -254
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +48 -47
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +80 -81
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +43 -43
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +48 -48
- 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 +310 -293
- 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 +427 -392
- 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 +235 -217
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +264 -263
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +245 -233
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +257 -257
- package/lib/styles/index.d.ts +0 -1
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +35 -34
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +52 -53
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +78 -79
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +275 -237
- 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 +61 -62
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +41 -40
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +135 -129
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/time-picker/index.js +10 -9
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +20 -20
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +52 -38
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +129 -113
- 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 +313 -302
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +66 -65
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +10 -14
- package/lib/version-log/index.d.ts +0 -298
- package/lib/version-log/index.js +0 -9045
- package/lib/version-log/version-log.css +0 -224
- package/lib/version-log/version-log.d.ts +0 -203
- package/lib/version-log/version-log.less +0 -239
- package/lib/version-log/version-log.variable.css +0 -350
package/lib/form/index.d.ts
CHANGED
@@ -4,145 +4,84 @@ import { formProps } from './form';
|
|
4
4
|
import FormItem from './form-item';
|
5
5
|
export * from './type';
|
6
6
|
declare const BkForm: {
|
7
|
-
new (...args: any[]): {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
7
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
8
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
labelWidth: import("vue-types").VueTypeDef<string | number> & {
|
12
|
+
default: string | number;
|
13
|
+
};
|
14
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
15
|
+
model: import("vue-types").VueTypeValidableDef<{
|
16
|
+
[key: string]: any;
|
17
|
+
}> & {
|
18
|
+
default: () => {
|
13
19
|
[key: string]: any;
|
14
20
|
};
|
15
|
-
|
16
|
-
|
21
|
+
};
|
22
|
+
rules: import("vue-types").VueTypeValidableDef<{
|
23
|
+
[key: string]: any;
|
24
|
+
}> & {
|
25
|
+
default: () => {
|
17
26
|
[key: string]: any;
|
18
27
|
};
|
19
|
-
class?: unknown;
|
20
|
-
style?: unknown;
|
21
|
-
onSubmit?: ((...args: any[]) => any) | ((...args: unknown[]) => any);
|
22
|
-
ref?: import("vue").VNodeRef;
|
23
|
-
key?: string | number | symbol;
|
24
|
-
ref_for?: boolean;
|
25
|
-
ref_key?: string;
|
26
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
27
|
-
[key: string]: any;
|
28
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
-
[key: string]: any;
|
30
|
-
}>) => void)[];
|
31
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
-
[key: string]: any;
|
33
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
-
[key: string]: any;
|
35
|
-
}>) => void)[];
|
36
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
37
|
-
[key: string]: any;
|
38
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
39
|
-
[key: string]: any;
|
40
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
-
[key: string]: any;
|
42
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
-
[key: string]: any;
|
44
|
-
}>) => void)[];
|
45
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
-
[key: string]: any;
|
47
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
-
[key: string]: any;
|
49
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
50
|
-
[key: string]: any;
|
51
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
52
|
-
[key: string]: any;
|
53
|
-
}>) => void)[];
|
54
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
55
|
-
[key: string]: any;
|
56
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
-
[key: string]: any;
|
58
|
-
}>) => void)[];
|
59
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
60
|
-
[key: string]: any;
|
61
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
62
|
-
[key: string]: any;
|
63
|
-
}>) => void)[];
|
64
|
-
readonly labelPosition?: string;
|
65
|
-
onValidate?: (property: string, result: boolean, message: string) => any;
|
66
28
|
};
|
67
|
-
|
68
|
-
|
29
|
+
}>> & {
|
30
|
+
onSubmit?: (...args: any[] | unknown[]) => any;
|
31
|
+
onValidate?: (property: string, result: boolean, message: string) => any;
|
32
|
+
}, {
|
33
|
+
handleSubmit: (event: Event) => void;
|
34
|
+
validate: (fields?: string | string[]) => Promise<{
|
35
|
+
[key: string]: any;
|
36
|
+
}>;
|
37
|
+
getValidateResult: () => Promise<boolean>;
|
38
|
+
clearValidate: (fields?: string | string[]) => void;
|
39
|
+
resolveClassName: (cls: string) => string;
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
41
|
+
submit: any;
|
42
|
+
validate: (property: string, result: boolean, message: string) => boolean;
|
43
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
44
|
+
formType: import("vue-types").VueTypeDef<string> & {
|
45
|
+
default: string;
|
69
46
|
};
|
70
|
-
|
71
|
-
|
47
|
+
labelWidth: import("vue-types").VueTypeDef<string | number> & {
|
48
|
+
default: string | number;
|
72
49
|
};
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
$emit: ((event: "submit", ...args: unknown[]) => void) & ((event: "submit", ...args: any[]) => void) & ((event: "validate", property: string, result: boolean, message: string) => void);
|
79
|
-
$el: any;
|
80
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
81
|
-
formType: import("vue-types").VueTypeDef<string> & {
|
82
|
-
default: string;
|
83
|
-
};
|
84
|
-
labelWidth: import("vue-types").VueTypeDef<string | number> & {
|
85
|
-
default: string | number;
|
86
|
-
};
|
87
|
-
labelPosition: import("vue-types").VueTypeDef<string>;
|
88
|
-
model: import("vue-types").VueTypeValidableDef<{
|
89
|
-
[key: string]: any;
|
90
|
-
}> & {
|
91
|
-
default: () => {
|
92
|
-
[key: string]: any;
|
93
|
-
};
|
94
|
-
};
|
95
|
-
rules: import("vue-types").VueTypeValidableDef<{
|
96
|
-
[key: string]: any;
|
97
|
-
}> & {
|
98
|
-
default: () => {
|
99
|
-
[key: string]: any;
|
100
|
-
};
|
101
|
-
};
|
102
|
-
}>> & {
|
103
|
-
onSubmit?: ((...args: any[]) => any) | ((...args: unknown[]) => any);
|
104
|
-
onValidate?: (property: string, result: boolean, message: string) => any;
|
105
|
-
}, {
|
106
|
-
handleSubmit: (event: Event) => void;
|
107
|
-
validate: (fields?: string | string[]) => Promise<{
|
108
|
-
[key: string]: any;
|
109
|
-
}>;
|
110
|
-
getValidateResult: () => Promise<boolean>;
|
111
|
-
clearValidate: (fields?: string | string[]) => void;
|
112
|
-
resolveClassName: (cls: string) => string;
|
113
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
114
|
-
submit: any;
|
115
|
-
validate: (property: string, result: boolean, message: string) => boolean;
|
116
|
-
}, string, {
|
117
|
-
labelWidth: string | number;
|
118
|
-
rules: {
|
50
|
+
labelPosition: import("vue-types").VueTypeDef<string>;
|
51
|
+
model: import("vue-types").VueTypeValidableDef<{
|
52
|
+
[key: string]: any;
|
53
|
+
}> & {
|
54
|
+
default: () => {
|
119
55
|
[key: string]: any;
|
120
56
|
};
|
121
|
-
|
122
|
-
|
57
|
+
};
|
58
|
+
rules: import("vue-types").VueTypeValidableDef<{
|
59
|
+
[key: string]: any;
|
60
|
+
}> & {
|
61
|
+
default: () => {
|
123
62
|
[key: string]: any;
|
124
63
|
};
|
125
|
-
}
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
};
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
}
|
64
|
+
};
|
65
|
+
}>> & {
|
66
|
+
onSubmit?: (...args: any[] | unknown[]) => any;
|
67
|
+
onValidate?: (property: string, result: boolean, message: string) => any;
|
68
|
+
}, {
|
69
|
+
labelWidth: string | number;
|
70
|
+
rules: {
|
71
|
+
[key: string]: any;
|
72
|
+
};
|
73
|
+
formType: string;
|
74
|
+
model: {
|
75
|
+
[key: string]: any;
|
76
|
+
};
|
77
|
+
}, true, {}, {}, {
|
78
|
+
P: {};
|
79
|
+
B: {};
|
80
|
+
D: {};
|
81
|
+
C: {};
|
82
|
+
M: {};
|
83
|
+
Defaults: {};
|
84
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
146
85
|
formType: import("vue-types").VueTypeDef<string> & {
|
147
86
|
default: string;
|
148
87
|
};
|
@@ -165,9 +104,9 @@ declare const BkForm: {
|
|
165
104
|
};
|
166
105
|
};
|
167
106
|
}>> & {
|
168
|
-
onSubmit?: (
|
107
|
+
onSubmit?: (...args: any[] | unknown[]) => any;
|
169
108
|
onValidate?: (property: string, result: boolean, message: string) => any;
|
170
|
-
}
|
109
|
+
}, {
|
171
110
|
handleSubmit: (event: Event) => void;
|
172
111
|
validate: (fields?: string | string[]) => Promise<{
|
173
112
|
[key: string]: any;
|
@@ -175,7 +114,16 @@ declare const BkForm: {
|
|
175
114
|
getValidateResult: () => Promise<boolean>;
|
176
115
|
clearValidate: (fields?: string | string[]) => void;
|
177
116
|
resolveClassName: (cls: string) => string;
|
178
|
-
}
|
117
|
+
}, {}, {}, {}, {
|
118
|
+
labelWidth: string | number;
|
119
|
+
rules: {
|
120
|
+
[key: string]: any;
|
121
|
+
};
|
122
|
+
formType: string;
|
123
|
+
model: {
|
124
|
+
[key: string]: any;
|
125
|
+
};
|
126
|
+
}>;
|
179
127
|
__isFragment?: never;
|
180
128
|
__isTeleport?: never;
|
181
129
|
__isSuspense?: never;
|
@@ -202,7 +150,7 @@ declare const BkForm: {
|
|
202
150
|
};
|
203
151
|
};
|
204
152
|
}>> & {
|
205
|
-
onSubmit?: (
|
153
|
+
onSubmit?: (...args: any[] | unknown[]) => any;
|
206
154
|
onValidate?: (property: string, result: boolean, message: string) => any;
|
207
155
|
}, {
|
208
156
|
handleSubmit: (event: Event) => void;
|
package/lib/form/index.js
CHANGED
@@ -1,12 +1,13 @@
|
|
1
|
-
import
|
1
|
+
import "./form.less";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
3
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__ from "lodash/isBoolean";
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__ from "lodash/isString";
|
6
7
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__ from "lodash/get";
|
7
8
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
|
8
|
-
import * as
|
9
|
-
import * as
|
9
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
10
11
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__ from "lodash/isDate";
|
11
12
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__ from "lodash/isEmpty";
|
12
13
|
/******/ // The require scope
|
@@ -35,27 +36,27 @@ var __webpack_exports__ = {};
|
|
35
36
|
|
36
37
|
// EXPORTS
|
37
38
|
__webpack_require__.d(__webpack_exports__, {
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
39
|
+
BkComposeFormItem: () => (/* reexport */ compose_form_item),
|
40
|
+
BkForm: () => (/* binding */ BkForm),
|
41
|
+
BkFormItem: () => (/* reexport */ form_item),
|
42
|
+
"default": () => (/* binding */ src),
|
43
|
+
formItemKey: () => (/* reexport */ shared_namespaceObject.formItemKey),
|
44
|
+
formKey: () => (/* reexport */ shared_namespaceObject.formKey),
|
45
|
+
useFormItem: () => (/* reexport */ shared_namespaceObject.useFormItem)
|
45
46
|
});
|
46
47
|
|
47
48
|
;// CONCATENATED MODULE: external "../shared"
|
48
49
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
49
50
|
var y = x => () => x
|
50
|
-
const
|
51
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["formItemKey"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formItemKey, ["formKey"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.formKey, ["useForm"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useForm, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
51
52
|
;// CONCATENATED MODULE: external "vue"
|
52
53
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
53
54
|
var external_vue_y = x => () => x
|
54
55
|
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
55
56
|
;// CONCATENATED MODULE: external "../config-provider"
|
56
|
-
var
|
57
|
-
var
|
58
|
-
const
|
57
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
58
|
+
var config_provider_y = x => () => x
|
59
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
59
60
|
;// CONCATENATED MODULE: ../../packages/form/src/compose-form-item.tsx
|
60
61
|
/*
|
61
62
|
* Tencent is pleased to support the open source community by making
|
@@ -97,7 +98,7 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
97
98
|
tailBackgroundColor: String
|
98
99
|
},
|
99
100
|
setup: function setup() {
|
100
|
-
var _usePrefix = (0,
|
101
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
101
102
|
resolveClassName = _usePrefix.resolveClassName;
|
102
103
|
return {
|
103
104
|
resolveClassName: resolveClassName
|
@@ -163,38 +164,38 @@ var isCustomComponent = function isCustomComponent(node) {
|
|
163
164
|
}
|
164
165
|
}));
|
165
166
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
166
|
-
function _typeof(
|
167
|
+
function _typeof(o) {
|
167
168
|
"@babel/helpers - typeof";
|
168
169
|
|
169
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
170
|
-
return typeof
|
171
|
-
} : function (
|
172
|
-
return
|
173
|
-
}, _typeof(
|
170
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
171
|
+
return typeof o;
|
172
|
+
} : function (o) {
|
173
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
174
|
+
}, _typeof(o);
|
174
175
|
}
|
175
176
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
176
177
|
|
177
|
-
function
|
178
|
-
if (
|
179
|
-
var
|
180
|
-
if (
|
181
|
-
var
|
182
|
-
if (
|
178
|
+
function toPrimitive(t, r) {
|
179
|
+
if ("object" != _typeof(t) || !t) return t;
|
180
|
+
var e = t[Symbol.toPrimitive];
|
181
|
+
if (void 0 !== e) {
|
182
|
+
var i = e.call(t, r || "default");
|
183
|
+
if ("object" != _typeof(i)) return i;
|
183
184
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
184
185
|
}
|
185
|
-
return (
|
186
|
+
return ("string" === r ? String : Number)(t);
|
186
187
|
}
|
187
188
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
188
189
|
|
189
190
|
|
190
|
-
function
|
191
|
-
var
|
192
|
-
return _typeof(
|
191
|
+
function toPropertyKey(t) {
|
192
|
+
var i = toPrimitive(t, "string");
|
193
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
193
194
|
}
|
194
195
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
195
196
|
|
196
197
|
function _defineProperty(obj, key, value) {
|
197
|
-
key =
|
198
|
+
key = toPropertyKey(key);
|
198
199
|
if (key in obj) {
|
199
200
|
Object.defineProperty(obj, key, {
|
200
201
|
value: value,
|
@@ -218,8 +219,8 @@ const isString_namespaceObject = isString_x({ ["default"]: () => __WEBPACK_EXTER
|
|
218
219
|
;// CONCATENATED MODULE: ../../packages/form/src/form.tsx
|
219
220
|
|
220
221
|
|
221
|
-
function ownKeys(
|
222
|
-
function _objectSpread(
|
222
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
223
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
223
224
|
/*
|
224
225
|
* Tencent is pleased to support the open source community by making
|
225
226
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -251,11 +252,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
251
252
|
|
252
253
|
|
253
254
|
var formProps = {
|
254
|
-
formType:
|
255
|
-
labelWidth:
|
256
|
-
labelPosition:
|
257
|
-
model:
|
258
|
-
rules:
|
255
|
+
formType: shared_namespaceObject.PropTypes.oneOf(['default', 'vertical']).def('default'),
|
256
|
+
labelWidth: shared_namespaceObject.PropTypes.oneOfType([Number, String]).def(150),
|
257
|
+
labelPosition: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']),
|
258
|
+
model: shared_namespaceObject.PropTypes.object,
|
259
|
+
rules: shared_namespaceObject.PropTypes.object
|
259
260
|
};
|
260
261
|
var formEvents = {
|
261
262
|
submit: null,
|
@@ -290,7 +291,7 @@ var formEvents = {
|
|
290
291
|
return result;
|
291
292
|
}, []);
|
292
293
|
};
|
293
|
-
(0,external_vue_namespaceObject.provide)(
|
294
|
+
(0,external_vue_namespaceObject.provide)(shared_namespaceObject.formKey, {
|
294
295
|
props: props,
|
295
296
|
emit: context.emit,
|
296
297
|
register: register,
|
@@ -362,7 +363,7 @@ var formEvents = {
|
|
362
363
|
return fieldMap[formItem.property] && formItem.clearValidate();
|
363
364
|
});
|
364
365
|
};
|
365
|
-
var _usePrefix = (0,
|
366
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
366
367
|
resolveClassName = _usePrefix.resolveClassName;
|
367
368
|
return {
|
368
369
|
handleSubmit: handleSubmit,
|
@@ -373,8 +374,8 @@ var formEvents = {
|
|
373
374
|
};
|
374
375
|
},
|
375
376
|
render: function render() {
|
376
|
-
var
|
377
|
-
var formClasses = (0,
|
377
|
+
var _this$$slots$default, _this$$slots;
|
378
|
+
var formClasses = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('form')), true), "".concat(this.resolveClassName("form--".concat(this.formType))), true));
|
378
379
|
return (0,external_vue_namespaceObject.createVNode)("form", {
|
379
380
|
"class": formClasses,
|
380
381
|
"onSubmit": this.handleSubmit
|
@@ -427,13 +428,13 @@ var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
427
428
|
var isFunction_y = x => () => x
|
428
429
|
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
|
429
430
|
;// CONCATENATED MODULE: external "../directives"
|
430
|
-
var
|
431
|
-
var
|
432
|
-
const
|
431
|
+
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
432
|
+
var directives_y = x => () => x
|
433
|
+
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
|
433
434
|
;// CONCATENATED MODULE: external "../icon"
|
434
|
-
var
|
435
|
-
var
|
436
|
-
const
|
435
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
436
|
+
var icon_y = x => () => x
|
437
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape });
|
437
438
|
;// CONCATENATED MODULE: ../../packages/form/src/utils.ts
|
438
439
|
/*
|
439
440
|
* Tencent is pleased to support the open source community by making
|
@@ -529,8 +530,8 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
529
530
|
|
530
531
|
|
531
532
|
|
532
|
-
function form_item_ownKeys(
|
533
|
-
function form_item_objectSpread(
|
533
|
+
function form_item_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
534
|
+
function form_item_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? form_item_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : form_item_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
534
535
|
/*
|
535
536
|
* Tencent is pleased to support the open source community by making
|
536
537
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -566,19 +567,19 @@ function form_item_objectSpread(target) { for (var i = 1; i < arguments.length;
|
|
566
567
|
|
567
568
|
|
568
569
|
var formItemProps = {
|
569
|
-
label:
|
570
|
-
labelWidth:
|
571
|
-
labelPosition:
|
572
|
-
property:
|
573
|
-
required:
|
574
|
-
email:
|
575
|
-
max:
|
576
|
-
min:
|
577
|
-
maxlength:
|
578
|
-
rules:
|
579
|
-
autoCheck:
|
580
|
-
description:
|
581
|
-
errorDisplayType:
|
570
|
+
label: shared_namespaceObject.PropTypes.string,
|
571
|
+
labelWidth: shared_namespaceObject.PropTypes.oneOfType([Number, String]),
|
572
|
+
labelPosition: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']),
|
573
|
+
property: shared_namespaceObject.PropTypes.string.def(''),
|
574
|
+
required: shared_namespaceObject.PropTypes.bool.def(false),
|
575
|
+
email: shared_namespaceObject.PropTypes.bool.def(false),
|
576
|
+
max: shared_namespaceObject.PropTypes.number,
|
577
|
+
min: shared_namespaceObject.PropTypes.number,
|
578
|
+
maxlength: shared_namespaceObject.PropTypes.number,
|
579
|
+
rules: shared_namespaceObject.PropTypes.array,
|
580
|
+
autoCheck: shared_namespaceObject.PropTypes.bool.def(false),
|
581
|
+
description: shared_namespaceObject.PropTypes.string,
|
582
|
+
errorDisplayType: shared_namespaceObject.PropTypes.oneOf(['tooltips', 'normal']).def('normal')
|
582
583
|
};
|
583
584
|
var hasOwn = function hasOwn(obj, key) {
|
584
585
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
@@ -703,14 +704,14 @@ var isValid = function isValid(value) {
|
|
703
704
|
/* harmony default export */ const form_item = ((0,external_vue_namespaceObject.defineComponent)({
|
704
705
|
name: 'FormItem',
|
705
706
|
directives: {
|
706
|
-
bkTooltips:
|
707
|
+
bkTooltips: directives_namespaceObject.bkTooltips
|
707
708
|
},
|
708
709
|
props: formItemProps,
|
709
710
|
setup: function setup(props, context) {
|
710
|
-
var t = (0,
|
711
|
-
var form = (0,
|
711
|
+
var t = (0,config_provider_namespaceObject.useLocale)('form');
|
712
|
+
var form = (0,shared_namespaceObject.useForm)();
|
712
713
|
var isForm = Boolean(form);
|
713
|
-
var parentFormItem = (0,
|
714
|
+
var parentFormItem = (0,shared_namespaceObject.useFormItem)();
|
714
715
|
var isNested = Boolean(parentFormItem);
|
715
716
|
var currentInstance = (0,external_vue_namespaceObject.getCurrentInstance)();
|
716
717
|
var state = (0,external_vue_namespaceObject.reactive)({
|
@@ -836,7 +837,7 @@ var isValid = function isValid(value) {
|
|
836
837
|
state.isError = false;
|
837
838
|
state.errorMessage = '';
|
838
839
|
};
|
839
|
-
(0,external_vue_namespaceObject.provide)(
|
840
|
+
(0,external_vue_namespaceObject.provide)(shared_namespaceObject.formItemKey, form_item_objectSpread(form_item_objectSpread({}, props), {}, {
|
840
841
|
validate: validate,
|
841
842
|
clearValidate: clearValidate
|
842
843
|
}));
|
@@ -850,7 +851,7 @@ var isValid = function isValid(value) {
|
|
850
851
|
form.unregister(currentInstance.proxy);
|
851
852
|
}
|
852
853
|
});
|
853
|
-
var _usePrefix = (0,
|
854
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
854
855
|
resolveClassName = _usePrefix.resolveClassName;
|
855
856
|
return form_item_objectSpread(form_item_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(state)), {}, {
|
856
857
|
isShowLabel: isShowLabel,
|
@@ -863,13 +864,12 @@ var isValid = function isValid(value) {
|
|
863
864
|
});
|
864
865
|
},
|
865
866
|
render: function render() {
|
866
|
-
var
|
867
|
-
_this = this,
|
867
|
+
var _this = this,
|
868
868
|
_this$$slots$labelApp,
|
869
869
|
_this$$slots,
|
870
870
|
_this$$slots$default,
|
871
871
|
_this$$slots2;
|
872
|
-
var itemClassees = (0,
|
872
|
+
var itemClassees = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('form-item')), true), 'is-error', this.isError), 'is-required', this.required));
|
873
873
|
var renderLabel = function renderLabel() {
|
874
874
|
if (_this.$slots.label) {
|
875
875
|
return (0,external_vue_namespaceObject.createVNode)("span", null, [_this.$slots.label()]);
|
@@ -891,7 +891,7 @@ var isValid = function isValid(value) {
|
|
891
891
|
if (_this.errorDisplayType === 'tooltips') {
|
892
892
|
return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
893
893
|
"class": "".concat(_this.resolveClassName('form-error-tips'))
|
894
|
-
}, [(0,external_vue_namespaceObject.createVNode)(
|
894
|
+
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.ExclamationCircleShape, null, null)]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), _this.errorMessage]]);
|
895
895
|
}
|
896
896
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
897
897
|
"class": "".concat(_this.resolveClassName('form-error'))
|
@@ -939,17 +939,17 @@ var isValid = function isValid(value) {
|
|
939
939
|
|
940
940
|
|
941
941
|
|
942
|
-
var BkForm = (0,
|
942
|
+
var BkForm = (0,shared_namespaceObject.withInstallProps)(src_form, {
|
943
943
|
FormItem: form_item,
|
944
944
|
ComposeFormItem: compose_form_item
|
945
945
|
});
|
946
946
|
/* harmony default export */ const src = (BkForm);
|
947
947
|
|
948
|
-
var __webpack_exports__BkComposeFormItem = __webpack_exports__.
|
949
|
-
var __webpack_exports__BkForm = __webpack_exports__.
|
950
|
-
var __webpack_exports__BkFormItem = __webpack_exports__.
|
951
|
-
var __webpack_exports__default = __webpack_exports__
|
952
|
-
var __webpack_exports__formItemKey = __webpack_exports__.
|
953
|
-
var __webpack_exports__formKey = __webpack_exports__.
|
954
|
-
var __webpack_exports__useFormItem = __webpack_exports__.
|
948
|
+
var __webpack_exports__BkComposeFormItem = __webpack_exports__.BkComposeFormItem;
|
949
|
+
var __webpack_exports__BkForm = __webpack_exports__.BkForm;
|
950
|
+
var __webpack_exports__BkFormItem = __webpack_exports__.BkFormItem;
|
951
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
952
|
+
var __webpack_exports__formItemKey = __webpack_exports__.formItemKey;
|
953
|
+
var __webpack_exports__formKey = __webpack_exports__.formKey;
|
954
|
+
var __webpack_exports__useFormItem = __webpack_exports__.useFormItem;
|
955
955
|
export { __webpack_exports__BkComposeFormItem as BkComposeFormItem, __webpack_exports__BkForm as BkForm, __webpack_exports__BkFormItem as BkFormItem, __webpack_exports__default as default, __webpack_exports__formItemKey as formItemKey, __webpack_exports__formKey as formKey, __webpack_exports__useFormItem as useFormItem };
|