bkui-vue 2.0.1-beta.113 → 2.0.1-beta.114
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 +54 -54
- package/dist/index.esm.js +13950 -13941
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +47 -39
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +50 -42
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +21 -16
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +42 -31
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +43 -37
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +48 -40
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +55 -46
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +67 -55
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +149 -119
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +89 -79
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +464 -517
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +67 -60
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +23 -16
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +98 -82
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +51 -43
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +55 -47
- 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 +4 -4
- package/lib/date-picker/index.d.ts +380 -351
- package/lib/date-picker/index.js +171 -150
- 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 +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +323 -310
- package/lib/directives/index.js +344 -336
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +23 -16
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +66 -52
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +76 -70
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +22 -15
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +104 -83
- package/lib/icon/angle-double-down-line.js +31 -29
- package/lib/icon/angle-double-left-line.js +31 -29
- package/lib/icon/angle-double-left.js +31 -29
- package/lib/icon/angle-double-right-line.js +31 -29
- package/lib/icon/angle-double-right.js +31 -29
- package/lib/icon/angle-double-up-line.js +31 -29
- package/lib/icon/angle-down-fill.js +31 -29
- package/lib/icon/angle-down-line.js +31 -29
- package/lib/icon/angle-down.js +31 -29
- package/lib/icon/angle-left.js +31 -29
- package/lib/icon/angle-right.js +31 -29
- package/lib/icon/angle-up-fill.js +31 -29
- package/lib/icon/angle-up.js +31 -29
- package/lib/icon/archive-fill.js +31 -29
- package/lib/icon/arrows-left.js +31 -29
- package/lib/icon/arrows-right.js +31 -29
- package/lib/icon/assistant.js +31 -29
- package/lib/icon/audio-fill.js +31 -29
- package/lib/icon/bk.js +31 -29
- package/lib/icon/circle.js +31 -29
- package/lib/icon/close-line.js +31 -29
- package/lib/icon/close.js +31 -29
- package/lib/icon/code.js +31 -29
- package/lib/icon/cog-shape.js +31 -29
- package/lib/icon/collapse-left.js +31 -29
- package/lib/icon/copy-shape.js +31 -29
- package/lib/icon/copy.js +31 -29
- package/lib/icon/data-shape.js +31 -29
- package/lib/icon/del.js +31 -29
- package/lib/icon/doc-fill.js +31 -29
- package/lib/icon/done.js +31 -29
- package/lib/icon/down-shape.js +31 -29
- package/lib/icon/down-small.js +31 -29
- package/lib/icon/edit-line.js +31 -29
- package/lib/icon/ellipsis.js +31 -29
- package/lib/icon/enlarge-line.js +31 -29
- package/lib/icon/error.js +31 -29
- package/lib/icon/excel-fill.js +31 -29
- package/lib/icon/exclamation-circle-shape.js +31 -29
- package/lib/icon/eye.js +31 -29
- package/lib/icon/filliscreen-line.js +31 -29
- package/lib/icon/fix-line.js +31 -29
- package/lib/icon/fix-shape.js +31 -29
- package/lib/icon/folder-open.js +31 -29
- package/lib/icon/folder-shape-open.js +31 -29
- package/lib/icon/folder-shape.js +31 -29
- package/lib/icon/folder.js +31 -29
- package/lib/icon/funnel.js +31 -29
- package/lib/icon/grag-fill.js +31 -29
- package/lib/icon/help-document-fill.js +31 -29
- package/lib/icon/help-fill.js +31 -29
- package/lib/icon/help.js +31 -29
- package/lib/icon/image-fill.js +31 -29
- package/lib/icon/img-error.js +31 -29
- package/lib/icon/img-placehoulder.js +31 -29
- package/lib/icon/info-line.js +31 -29
- package/lib/icon/info.js +31 -29
- package/lib/icon/left-shape.js +31 -29
- package/lib/icon/left-turn-line.js +31 -29
- package/lib/icon/loading.js +31 -29
- package/lib/icon/narrow-line.js +31 -29
- package/lib/icon/original.js +31 -29
- package/lib/icon/pdf-fill.js +31 -29
- package/lib/icon/play-shape.js +31 -29
- package/lib/icon/plus.js +31 -29
- package/lib/icon/ppt-fill.js +31 -29
- package/lib/icon/qq.js +31 -29
- package/lib/icon/right-shape.js +31 -29
- package/lib/icon/right-turn-line.js +31 -29
- package/lib/icon/search.js +31 -29
- package/lib/icon/share.js +31 -29
- package/lib/icon/spinner.js +31 -29
- package/lib/icon/success.js +31 -29
- package/lib/icon/switcher-loading.js +31 -29
- package/lib/icon/text-all.js +31 -29
- package/lib/icon/text-file.js +31 -29
- package/lib/icon/text-fill.js +31 -29
- package/lib/icon/transfer.js +31 -29
- package/lib/icon/tree-application-shape.js +31 -29
- package/lib/icon/unfull-screen.js +31 -29
- package/lib/icon/unvisible.js +31 -29
- package/lib/icon/up-shape.js +31 -29
- package/lib/icon/upload.js +31 -29
- package/lib/icon/video-fill.js +31 -29
- package/lib/icon/warn.js +31 -29
- package/lib/icon/weixin-pro.js +31 -29
- package/lib/icon/weixin.js +31 -29
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +76 -61
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +328 -315
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +91 -83
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +27 -19
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +56 -51
- package/lib/loading/loading.d.ts +1 -1
- package/lib/locale/index.js +3 -3
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +67 -58
- package/lib/message/index.js +72 -67
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +58 -48
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +35 -25
- package/lib/notify/index.js +57 -48
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +51 -38
- package/lib/pagination/index.d.ts +184 -198
- package/lib/pagination/index.js +112 -103
- package/lib/plugin-popover/index.js +7 -5
- package/lib/plugins/index.js +7 -5
- package/lib/pop-confirm/index.d.ts +115 -153
- package/lib/pop-confirm/index.js +53 -36
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +291 -179
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +15 -11
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +299 -295
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +47 -40
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +85 -79
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +44 -39
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +50 -43
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +63 -63
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +397 -379
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1375 -1217
- package/lib/select/index.js +456 -419
- package/lib/select/select.d.ts +132 -169
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +109 -103
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +311 -302
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +305 -294
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +303 -298
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +42 -36
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +50 -44
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +72 -59
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +457 -362
- package/lib/table/index.js +589 -547
- package/lib/table/table.d.ts +1 -1
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +13 -9
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +56 -46
- package/lib/tag-input/index.d.ts +744 -529
- package/lib/tag-input/index.js +148 -128
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/time-picker/index.js +13 -9
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +27 -21
- package/lib/transfer/index.d.ts +191 -206
- package/lib/transfer/index.js +56 -40
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +171 -150
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +474 -465
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +84 -72
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/container/index.d.ts
CHANGED
@@ -1,89 +1,7 @@
|
|
1
1
|
import Col from './col';
|
2
2
|
import Row from './row';
|
3
3
|
declare const BkContainer: {
|
4
|
-
new (...args: any[]): {
|
5
|
-
$: import("vue").ComponentInternalInstance;
|
6
|
-
$data: {};
|
7
|
-
$props: {
|
8
|
-
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
9
|
-
col?: number;
|
10
|
-
extCls?: string;
|
11
|
-
flex?: boolean;
|
12
|
-
margin?: number;
|
13
|
-
gutter?: number;
|
14
|
-
class?: unknown;
|
15
|
-
style?: unknown;
|
16
|
-
ref?: import("vue").VNodeRef;
|
17
|
-
key?: string | number | symbol;
|
18
|
-
ref_for?: boolean;
|
19
|
-
ref_key?: string;
|
20
|
-
};
|
21
|
-
$attrs: {
|
22
|
-
[x: string]: unknown;
|
23
|
-
};
|
24
|
-
$refs: {
|
25
|
-
[x: string]: unknown;
|
26
|
-
};
|
27
|
-
$slots: Readonly<{
|
28
|
-
[name: string]: import("vue").Slot<any>;
|
29
|
-
}>;
|
30
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
31
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
32
|
-
$emit: (event: any, ...args: any[]) => void;
|
33
|
-
$el: any;
|
34
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
35
|
-
col: import("vue-types").VueTypeValidableDef<number> & {
|
36
|
-
default: number;
|
37
|
-
} & {
|
38
|
-
default: number;
|
39
|
-
};
|
40
|
-
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
41
|
-
default: number;
|
42
|
-
} & {
|
43
|
-
default: number;
|
44
|
-
};
|
45
|
-
margin: import("vue-types").VueTypeValidableDef<number> & {
|
46
|
-
default: number;
|
47
|
-
} & {
|
48
|
-
default: number;
|
49
|
-
};
|
50
|
-
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
51
|
-
default: boolean;
|
52
|
-
} & {
|
53
|
-
default: boolean;
|
54
|
-
};
|
55
|
-
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
56
|
-
default: string;
|
57
|
-
};
|
58
|
-
}>> & {
|
59
|
-
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
60
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], string, {
|
61
|
-
col: number;
|
62
|
-
extCls: string;
|
63
|
-
flex: boolean;
|
64
|
-
margin: number;
|
65
|
-
gutter: number;
|
66
|
-
}, {}, string, {}> & {
|
67
|
-
beforeCreate?: (() => void) | (() => void)[];
|
68
|
-
created?: (() => void) | (() => void)[];
|
69
|
-
beforeMount?: (() => void) | (() => void)[];
|
70
|
-
mounted?: (() => void) | (() => void)[];
|
71
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
72
|
-
updated?: (() => void) | (() => void)[];
|
73
|
-
activated?: (() => void) | (() => void)[];
|
74
|
-
deactivated?: (() => void) | (() => void)[];
|
75
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
76
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
77
|
-
destroyed?: (() => void) | (() => void)[];
|
78
|
-
unmounted?: (() => void) | (() => void)[];
|
79
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
80
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
81
|
-
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)[];
|
82
|
-
};
|
83
|
-
$forceUpdate: () => void;
|
84
|
-
$nextTick: typeof import("vue").nextTick;
|
85
|
-
$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;
|
86
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
87
5
|
col: import("vue-types").VueTypeValidableDef<number> & {
|
88
6
|
default: number;
|
89
7
|
} & {
|
@@ -109,7 +27,78 @@ declare const BkContainer: {
|
|
109
27
|
};
|
110
28
|
}>> & {
|
111
29
|
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
112
|
-
}
|
30
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
31
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
32
|
+
default: number;
|
33
|
+
} & {
|
34
|
+
default: number;
|
35
|
+
};
|
36
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
37
|
+
default: number;
|
38
|
+
} & {
|
39
|
+
default: number;
|
40
|
+
};
|
41
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
42
|
+
default: number;
|
43
|
+
} & {
|
44
|
+
default: number;
|
45
|
+
};
|
46
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
47
|
+
default: boolean;
|
48
|
+
} & {
|
49
|
+
default: boolean;
|
50
|
+
};
|
51
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
52
|
+
default: string;
|
53
|
+
};
|
54
|
+
}>> & {
|
55
|
+
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
56
|
+
}, {
|
57
|
+
col: number;
|
58
|
+
extCls: string;
|
59
|
+
flex: boolean;
|
60
|
+
gutter: number;
|
61
|
+
margin: number;
|
62
|
+
}, true, {}, {}, {
|
63
|
+
P: {};
|
64
|
+
B: {};
|
65
|
+
D: {};
|
66
|
+
C: {};
|
67
|
+
M: {};
|
68
|
+
Defaults: {};
|
69
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
70
|
+
col: import("vue-types").VueTypeValidableDef<number> & {
|
71
|
+
default: number;
|
72
|
+
} & {
|
73
|
+
default: number;
|
74
|
+
};
|
75
|
+
gutter: import("vue-types").VueTypeValidableDef<number> & {
|
76
|
+
default: number;
|
77
|
+
} & {
|
78
|
+
default: number;
|
79
|
+
};
|
80
|
+
margin: import("vue-types").VueTypeValidableDef<number> & {
|
81
|
+
default: number;
|
82
|
+
} & {
|
83
|
+
default: number;
|
84
|
+
};
|
85
|
+
flex: import("vue-types").VueTypeValidableDef<boolean> & {
|
86
|
+
default: boolean;
|
87
|
+
} & {
|
88
|
+
default: boolean;
|
89
|
+
};
|
90
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
91
|
+
default: string;
|
92
|
+
};
|
93
|
+
}>> & {
|
94
|
+
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
95
|
+
}, () => JSX.Element, {}, {}, {}, {
|
96
|
+
col: number;
|
97
|
+
extCls: string;
|
98
|
+
flex: boolean;
|
99
|
+
gutter: number;
|
100
|
+
margin: number;
|
101
|
+
}>;
|
113
102
|
__isFragment?: never;
|
114
103
|
__isTeleport?: never;
|
115
104
|
__isSuspense?: never;
|
@@ -143,8 +132,8 @@ declare const BkContainer: {
|
|
143
132
|
col: number;
|
144
133
|
extCls: string;
|
145
134
|
flex: boolean;
|
146
|
-
margin: number;
|
147
135
|
gutter: number;
|
136
|
+
margin: number;
|
148
137
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
149
138
|
Row: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
150
139
|
[x: `on${Capitalize<any>}`]: (...args: any[]) => any;
|
package/lib/container/index.js
CHANGED
@@ -35,19 +35,25 @@ __webpack_require__.d(__webpack_exports__, {
|
|
35
35
|
"default": () => (/* binding */ src)
|
36
36
|
});
|
37
37
|
|
38
|
-
;//
|
39
|
-
var x = y => {
|
40
|
-
var
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
var
|
49
|
-
const
|
50
|
-
;//
|
38
|
+
;// external "../shared"
|
39
|
+
var x = (y) => {
|
40
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
41
|
+
}
|
42
|
+
var y = (x) => (() => (x))
|
43
|
+
const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
|
44
|
+
;// external "vue"
|
45
|
+
var external_vue_x = (y) => {
|
46
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
47
|
+
}
|
48
|
+
var external_vue_y = (x) => (() => (x))
|
49
|
+
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), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide) });
|
50
|
+
;// external "../config-provider"
|
51
|
+
var config_provider_x = (y) => {
|
52
|
+
var x = {}; __webpack_require__.d(x, y); return x
|
53
|
+
}
|
54
|
+
var config_provider_y = (x) => (() => (x))
|
55
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
|
56
|
+
;// ../../packages/container/src/interface.ts
|
51
57
|
/*
|
52
58
|
* Tencent is pleased to support the open source community by making
|
53
59
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -74,7 +80,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
74
80
|
* IN THE SOFTWARE.
|
75
81
|
*/
|
76
82
|
var containerKey = Symbol('containerProps');
|
77
|
-
;//
|
83
|
+
;// ../../packages/container/src/col.tsx
|
78
84
|
|
79
85
|
/*
|
80
86
|
* Tencent is pleased to support the open source community by making
|
@@ -104,6 +110,7 @@ var containerKey = Symbol('containerProps');
|
|
104
110
|
|
105
111
|
|
106
112
|
|
113
|
+
|
107
114
|
var colProps = {
|
108
115
|
// 栅格的占位格数,可选值为 0~24 的整数,为 0 时,则为 col 相当于 width: 100%
|
109
116
|
span: shared_namespaceObject.PropTypes.number.def(1),
|
@@ -114,12 +121,12 @@ var colProps = {
|
|
114
121
|
// 栅格向右移动格数
|
115
122
|
push: shared_namespaceObject.PropTypes.number.def(0)
|
116
123
|
};
|
117
|
-
/* harmony default export */ const col = (defineComponent({
|
124
|
+
/* harmony default export */ const col = ((0,external_vue_namespaceObject.defineComponent)({
|
118
125
|
name: 'Col',
|
119
126
|
props: colProps,
|
120
127
|
emits: [],
|
121
128
|
setup: function setup(props, ctx) {
|
122
|
-
var _inject = inject(containerKey),
|
129
|
+
var _inject = (0,external_vue_namespaceObject.inject)(containerKey),
|
123
130
|
col = _inject.col,
|
124
131
|
gutter = _inject.gutter,
|
125
132
|
flex = _inject.flex;
|
@@ -127,10 +134,10 @@ var colProps = {
|
|
127
134
|
offset = props.offset,
|
128
135
|
pull = props.pull,
|
129
136
|
push = props.push;
|
130
|
-
var realSpan = computed(function () {
|
137
|
+
var realSpan = (0,external_vue_namespaceObject.computed)(function () {
|
131
138
|
return span || col;
|
132
139
|
});
|
133
|
-
provide('containerProps', {
|
140
|
+
(0,external_vue_namespaceObject.provide)('containerProps', {
|
134
141
|
col: realSpan.value,
|
135
142
|
gutter: gutter,
|
136
143
|
flex: flex
|
@@ -138,7 +145,7 @@ var colProps = {
|
|
138
145
|
var formatPercentage = function formatPercentage(val) {
|
139
146
|
return "".concat(Number((val * 100).toFixed(3)), "%");
|
140
147
|
};
|
141
|
-
var style = computed(function () {
|
148
|
+
var style = (0,external_vue_namespaceObject.computed)(function () {
|
142
149
|
return {
|
143
150
|
width: formatPercentage(realSpan.value / col),
|
144
151
|
'padding-right': "".concat(gutter / 2, "px"),
|
@@ -159,7 +166,7 @@ var colProps = {
|
|
159
166
|
};
|
160
167
|
}
|
161
168
|
}));
|
162
|
-
;//
|
169
|
+
;// ../../packages/container/src/container.tsx
|
163
170
|
|
164
171
|
/*
|
165
172
|
* Tencent is pleased to support the open source community by making
|
@@ -189,6 +196,7 @@ var colProps = {
|
|
189
196
|
|
190
197
|
|
191
198
|
|
199
|
+
|
192
200
|
var containerProps = {
|
193
201
|
// 栅格数,默认 24
|
194
202
|
col: shared_namespaceObject.PropTypes.number.def(24),
|
@@ -201,7 +209,7 @@ var containerProps = {
|
|
201
209
|
// 外部设置的 class name
|
202
210
|
extCls: shared_namespaceObject.PropTypes.string
|
203
211
|
};
|
204
|
-
/* harmony default export */ const container = (defineComponent({
|
212
|
+
/* harmony default export */ const container = ((0,external_vue_namespaceObject.defineComponent)({
|
205
213
|
name: 'Container',
|
206
214
|
props: containerProps,
|
207
215
|
emits: [],
|
@@ -210,17 +218,17 @@ var containerProps = {
|
|
210
218
|
gutter = props.gutter,
|
211
219
|
flex = props.flex,
|
212
220
|
extCls = props.extCls;
|
213
|
-
provide(containerKey, {
|
221
|
+
(0,external_vue_namespaceObject.provide)(containerKey, {
|
214
222
|
col: col,
|
215
223
|
gutter: gutter,
|
216
224
|
flex: flex
|
217
225
|
});
|
218
226
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
219
227
|
resolveClassName = _usePrefix.resolveClassName;
|
220
|
-
var classes = computed(function () {
|
228
|
+
var classes = (0,external_vue_namespaceObject.computed)(function () {
|
221
229
|
return extCls ? "".concat(resolveClassName('grid-container'), " ").concat(extCls) : "".concat(resolveClassName('grid-container'));
|
222
230
|
});
|
223
|
-
var style = computed(function () {
|
231
|
+
var style = (0,external_vue_namespaceObject.computed)(function () {
|
224
232
|
var margin = props.margin;
|
225
233
|
return {
|
226
234
|
'padding-right': "".concat(margin, "px"),
|
@@ -236,39 +244,39 @@ var containerProps = {
|
|
236
244
|
};
|
237
245
|
}
|
238
246
|
}));
|
239
|
-
;//
|
240
|
-
function _typeof(
|
247
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
248
|
+
function _typeof(o) {
|
241
249
|
"@babel/helpers - typeof";
|
242
250
|
|
243
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
244
|
-
return typeof
|
245
|
-
} : function (
|
246
|
-
return
|
247
|
-
}, _typeof(
|
251
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
252
|
+
return typeof o;
|
253
|
+
} : function (o) {
|
254
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
255
|
+
}, _typeof(o);
|
248
256
|
}
|
249
|
-
;//
|
257
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
250
258
|
|
251
|
-
function
|
252
|
-
if (
|
253
|
-
var
|
254
|
-
if (
|
255
|
-
var
|
256
|
-
if (
|
259
|
+
function toPrimitive(t, r) {
|
260
|
+
if ("object" != _typeof(t) || !t) return t;
|
261
|
+
var e = t[Symbol.toPrimitive];
|
262
|
+
if (void 0 !== e) {
|
263
|
+
var i = e.call(t, r || "default");
|
264
|
+
if ("object" != _typeof(i)) return i;
|
257
265
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
258
266
|
}
|
259
|
-
return (
|
267
|
+
return ("string" === r ? String : Number)(t);
|
260
268
|
}
|
261
|
-
;//
|
269
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
262
270
|
|
263
271
|
|
264
|
-
function
|
265
|
-
var
|
266
|
-
return _typeof(
|
272
|
+
function toPropertyKey(t) {
|
273
|
+
var i = toPrimitive(t, "string");
|
274
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
267
275
|
}
|
268
|
-
;//
|
276
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
269
277
|
|
270
278
|
function _defineProperty(obj, key, value) {
|
271
|
-
key =
|
279
|
+
key = toPropertyKey(key);
|
272
280
|
if (key in obj) {
|
273
281
|
Object.defineProperty(obj, key, {
|
274
282
|
value: value,
|
@@ -281,7 +289,7 @@ function _defineProperty(obj, key, value) {
|
|
281
289
|
}
|
282
290
|
return obj;
|
283
291
|
}
|
284
|
-
;//
|
292
|
+
;// ../../packages/container/src/row.tsx
|
285
293
|
|
286
294
|
|
287
295
|
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; }
|
@@ -347,7 +355,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
347
355
|
};
|
348
356
|
}
|
349
357
|
}));
|
350
|
-
;//
|
358
|
+
;// ../../packages/container/src/index.ts
|
351
359
|
/*
|
352
360
|
* Tencent is pleased to support the open source community by making
|
353
361
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
41
41
|
};
|
42
42
|
readonly onClick: PropType<(e: MouseEvent) => void>;
|
43
43
|
}, {
|
44
|
-
refContentRef: any
|
44
|
+
refContentRef: import("vue").Ref<any>;
|
45
45
|
forceUpdate: () => void;
|
46
46
|
updateDropdown: () => void;
|
47
47
|
destoryDropdown: () => void;
|
@@ -74,9 +74,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
74
74
|
styles: import("vue").ComputedRef<{
|
75
75
|
width: string;
|
76
76
|
}>;
|
77
|
-
hoursRef: any
|
78
|
-
minutesRef: any
|
79
|
-
secondsRef: any
|
77
|
+
hoursRef: import("vue").Ref<any>;
|
78
|
+
minutesRef: import("vue").Ref<any>;
|
79
|
+
secondsRef: import("vue").Ref<any>;
|
80
80
|
getCellCls: (cell: any) => (string | {
|
81
81
|
[x: string]: any;
|
82
82
|
})[];
|
@@ -128,11 +128,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
128
128
|
longWidthCls: import("vue").ComputedRef<string>;
|
129
129
|
localReadonly: import("vue").ComputedRef<boolean>;
|
130
130
|
ownPickerProps: import("vue").ComputedRef<Record<string, any>>;
|
131
|
-
teleportTo: any
|
132
|
-
pickerDropdownRef: any
|
133
|
-
inputRef: any
|
131
|
+
teleportTo: import("vue").Ref<any>;
|
132
|
+
pickerDropdownRef: import("vue").Ref<any>;
|
133
|
+
inputRef: import("vue").Ref<any>;
|
134
134
|
triggerRef: import("vue").Ref<HTMLElement>;
|
135
|
-
pickerPanelRef: any
|
135
|
+
pickerPanelRef: import("vue").Ref<any>;
|
136
136
|
handleClose: (e?: Event) => boolean;
|
137
137
|
handleIconClick: () => void;
|
138
138
|
handleInputMouseenter: () => void;
|