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/popover2/index.d.ts
CHANGED
@@ -1,87 +1,12 @@
|
|
1
1
|
declare const BkPopover2: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
ref_for?: boolean;
|
11
|
-
ref_key?: string;
|
12
|
-
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
13
|
-
[key: string]: any;
|
14
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
15
|
-
[key: string]: any;
|
16
|
-
}>) => void)[];
|
17
|
-
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
18
|
-
[key: string]: any;
|
19
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
20
|
-
[key: string]: any;
|
21
|
-
}>) => void)[];
|
22
|
-
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
23
|
-
[key: string]: any;
|
24
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
25
|
-
[key: string]: any;
|
26
|
-
}>) => void) | ((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)[];
|
31
|
-
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
32
|
-
[key: string]: any;
|
33
|
-
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
-
[key: string]: any;
|
35
|
-
}>) => void) | ((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)[];
|
40
|
-
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
41
|
-
[key: string]: any;
|
42
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
-
[key: string]: any;
|
44
|
-
}>) => void)[];
|
45
|
-
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
46
|
-
[key: string]: any;
|
47
|
-
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
48
|
-
[key: string]: any;
|
49
|
-
}>) => void)[];
|
50
|
-
};
|
51
|
-
$attrs: {
|
52
|
-
[x: string]: unknown;
|
53
|
-
};
|
54
|
-
$refs: {
|
55
|
-
[x: string]: unknown;
|
56
|
-
};
|
57
|
-
$slots: Readonly<{
|
58
|
-
[name: string]: import("vue").Slot<any>;
|
59
|
-
}>;
|
60
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
61
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
62
|
-
$emit: (event: string, ...args: any[]) => void;
|
63
|
-
$el: any;
|
64
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
65
|
-
beforeCreate?: (() => void) | (() => void)[];
|
66
|
-
created?: (() => void) | (() => void)[];
|
67
|
-
beforeMount?: (() => void) | (() => void)[];
|
68
|
-
mounted?: (() => void) | (() => void)[];
|
69
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
70
|
-
updated?: (() => void) | (() => void)[];
|
71
|
-
activated?: (() => void) | (() => void)[];
|
72
|
-
deactivated?: (() => void) | (() => void)[];
|
73
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
74
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
75
|
-
destroyed?: (() => void) | (() => void)[];
|
76
|
-
unmounted?: (() => void) | (() => void)[];
|
77
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
78
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
79
|
-
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)[];
|
80
|
-
};
|
81
|
-
$forceUpdate: () => void;
|
82
|
-
$nextTick: typeof import("vue").nextTick;
|
83
|
-
$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;
|
84
|
-
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
3
|
+
P: {};
|
4
|
+
B: {};
|
5
|
+
D: {};
|
6
|
+
C: {};
|
7
|
+
M: {};
|
8
|
+
Defaults: {};
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
|
85
10
|
__isFragment?: never;
|
86
11
|
__isTeleport?: never;
|
87
12
|
__isSuspense?: never;
|
package/lib/popover2/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import * as
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
3
|
/******/ // The require scope
|
4
4
|
/******/ var __webpack_require__ = {};
|
@@ -26,13 +26,13 @@ var __webpack_exports__ = {};
|
|
26
26
|
|
27
27
|
// EXPORTS
|
28
28
|
__webpack_require__.d(__webpack_exports__, {
|
29
|
-
|
29
|
+
"default": () => (/* binding */ src)
|
30
30
|
});
|
31
31
|
|
32
32
|
;// CONCATENATED MODULE: external "../shared"
|
33
33
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
34
34
|
var y = x => () => x
|
35
|
-
const
|
35
|
+
const shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
36
36
|
;// CONCATENATED MODULE: external "vue"
|
37
37
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
38
|
var external_vue_y = x => () => x
|
@@ -101,7 +101,7 @@ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __W
|
|
101
101
|
*/
|
102
102
|
|
103
103
|
|
104
|
-
var BkPopover2 = (0,
|
104
|
+
var BkPopover2 = (0,shared_namespaceObject.withInstall)(popover);
|
105
105
|
/* harmony default export */ const src = (BkPopover2);
|
106
|
-
var __webpack_exports__default = __webpack_exports__
|
106
|
+
var __webpack_exports__default = __webpack_exports__["default"];
|
107
107
|
export { __webpack_exports__default as default };
|
package/lib/preset.d.ts
CHANGED
@@ -1,291 +1,6 @@
|
|
1
|
-
import { App } from 'vue';
|
2
1
|
declare const _default: {
|
3
|
-
createInstall: (prefix?: string) => (app:
|
4
|
-
|
5
|
-
type: import("vue").PropType<{
|
6
|
-
lang: string;
|
7
|
-
steps: {
|
8
|
-
step1: string;
|
9
|
-
step2: string;
|
10
|
-
step3: string;
|
11
|
-
};
|
12
|
-
datePicker: {
|
13
|
-
selectDate: string;
|
14
|
-
selectTime: string;
|
15
|
-
clear: string;
|
16
|
-
ok: string;
|
17
|
-
weekdays: {
|
18
|
-
sun: string;
|
19
|
-
mon: string;
|
20
|
-
tue: string;
|
21
|
-
wed: string;
|
22
|
-
thu: string;
|
23
|
-
fri: string;
|
24
|
-
sat: string;
|
25
|
-
};
|
26
|
-
hour: string;
|
27
|
-
min: string;
|
28
|
-
sec: string;
|
29
|
-
toNow: string;
|
30
|
-
};
|
31
|
-
dialog: {
|
32
|
-
ok: string;
|
33
|
-
cancel: string;
|
34
|
-
prev: string;
|
35
|
-
next: string;
|
36
|
-
};
|
37
|
-
popConfirm: {
|
38
|
-
ok: string;
|
39
|
-
cancel: string;
|
40
|
-
};
|
41
|
-
form: {
|
42
|
-
notBeEmpty: string;
|
43
|
-
incorrectFormat: string;
|
44
|
-
max: string;
|
45
|
-
min: string;
|
46
|
-
maxLen: string;
|
47
|
-
verifyError: string;
|
48
|
-
};
|
49
|
-
pagination: {
|
50
|
-
eachPage: string;
|
51
|
-
strip: string;
|
52
|
-
total: string;
|
53
|
-
};
|
54
|
-
process: {
|
55
|
-
step1: string;
|
56
|
-
step2: string;
|
57
|
-
step3: string;
|
58
|
-
step4: string;
|
59
|
-
};
|
60
|
-
searchSelect: {
|
61
|
-
pleaseSelect: string;
|
62
|
-
loading: string;
|
63
|
-
filterQueryMustHasValue: string;
|
64
|
-
ok: string;
|
65
|
-
cancel: string;
|
66
|
-
or: string;
|
67
|
-
and: string;
|
68
|
-
logical: string;
|
69
|
-
};
|
70
|
-
select: {
|
71
|
-
noData: string;
|
72
|
-
noMatchedData: string;
|
73
|
-
loading: string;
|
74
|
-
pleaseSelect: string;
|
75
|
-
enterKeywords: string;
|
76
|
-
all: string;
|
77
|
-
selectAll: string;
|
78
|
-
};
|
79
|
-
table: {
|
80
|
-
emptyText: string;
|
81
|
-
confirm: string;
|
82
|
-
reset: string;
|
83
|
-
sort: string;
|
84
|
-
setting: {
|
85
|
-
title: string;
|
86
|
-
fields: {
|
87
|
-
title: string;
|
88
|
-
subtitle: (max: number) => string;
|
89
|
-
selectAll: string;
|
90
|
-
};
|
91
|
-
lineHeight: {
|
92
|
-
title: string;
|
93
|
-
small: string;
|
94
|
-
medium: string;
|
95
|
-
large: string;
|
96
|
-
};
|
97
|
-
options: {
|
98
|
-
ok: string;
|
99
|
-
cancel: string;
|
100
|
-
};
|
101
|
-
};
|
102
|
-
};
|
103
|
-
transfer: {
|
104
|
-
sourceList: string;
|
105
|
-
targetList: string;
|
106
|
-
removeAll: string;
|
107
|
-
selectAll: string;
|
108
|
-
noData: string;
|
109
|
-
noSelected: string;
|
110
|
-
search: string;
|
111
|
-
};
|
112
|
-
upload: {
|
113
|
-
uploadSuccess: string;
|
114
|
-
uploadFailed: string;
|
115
|
-
drapFileOr: string;
|
116
|
-
clickUpload: string;
|
117
|
-
uploadLabel: string;
|
118
|
-
};
|
119
|
-
input: {
|
120
|
-
placeholder: string;
|
121
|
-
};
|
122
|
-
tagInput: {
|
123
|
-
placeholder: string;
|
124
|
-
};
|
125
|
-
message: {
|
126
|
-
assistant: string;
|
127
|
-
details: string;
|
128
|
-
copySuccess: string;
|
129
|
-
copyFailed: string;
|
130
|
-
};
|
131
|
-
cascader: {
|
132
|
-
pleaseSelect: string;
|
133
|
-
noData: string;
|
134
|
-
emptyText: string;
|
135
|
-
};
|
136
|
-
versionLog: {
|
137
|
-
current: string;
|
138
|
-
};
|
139
|
-
}>;
|
140
|
-
};
|
141
|
-
prefix: {
|
142
|
-
type: StringConstructor;
|
143
|
-
default: string;
|
144
|
-
};
|
145
|
-
}>>) => void;
|
146
|
-
install: (app: App<any>, options?: Partial<import("vue").ExtractPropTypes<{
|
147
|
-
locale: {
|
148
|
-
type: import("vue").PropType<{
|
149
|
-
lang: string;
|
150
|
-
steps: {
|
151
|
-
step1: string;
|
152
|
-
step2: string;
|
153
|
-
step3: string;
|
154
|
-
};
|
155
|
-
datePicker: {
|
156
|
-
selectDate: string;
|
157
|
-
selectTime: string;
|
158
|
-
clear: string;
|
159
|
-
ok: string;
|
160
|
-
weekdays: {
|
161
|
-
sun: string;
|
162
|
-
mon: string;
|
163
|
-
tue: string;
|
164
|
-
wed: string;
|
165
|
-
thu: string;
|
166
|
-
fri: string;
|
167
|
-
sat: string;
|
168
|
-
};
|
169
|
-
hour: string;
|
170
|
-
min: string;
|
171
|
-
sec: string;
|
172
|
-
toNow: string;
|
173
|
-
};
|
174
|
-
dialog: {
|
175
|
-
ok: string;
|
176
|
-
cancel: string;
|
177
|
-
prev: string;
|
178
|
-
next: string;
|
179
|
-
};
|
180
|
-
popConfirm: {
|
181
|
-
ok: string;
|
182
|
-
cancel: string;
|
183
|
-
};
|
184
|
-
form: {
|
185
|
-
notBeEmpty: string;
|
186
|
-
incorrectFormat: string;
|
187
|
-
max: string;
|
188
|
-
min: string;
|
189
|
-
maxLen: string;
|
190
|
-
verifyError: string;
|
191
|
-
};
|
192
|
-
pagination: {
|
193
|
-
eachPage: string;
|
194
|
-
strip: string;
|
195
|
-
total: string;
|
196
|
-
};
|
197
|
-
process: {
|
198
|
-
step1: string;
|
199
|
-
step2: string;
|
200
|
-
step3: string;
|
201
|
-
step4: string;
|
202
|
-
};
|
203
|
-
searchSelect: {
|
204
|
-
pleaseSelect: string;
|
205
|
-
loading: string;
|
206
|
-
filterQueryMustHasValue: string;
|
207
|
-
ok: string;
|
208
|
-
cancel: string;
|
209
|
-
or: string;
|
210
|
-
and: string;
|
211
|
-
logical: string;
|
212
|
-
};
|
213
|
-
select: {
|
214
|
-
noData: string;
|
215
|
-
noMatchedData: string;
|
216
|
-
loading: string;
|
217
|
-
pleaseSelect: string;
|
218
|
-
enterKeywords: string;
|
219
|
-
all: string;
|
220
|
-
selectAll: string;
|
221
|
-
};
|
222
|
-
table: {
|
223
|
-
emptyText: string;
|
224
|
-
confirm: string;
|
225
|
-
reset: string;
|
226
|
-
sort: string;
|
227
|
-
setting: {
|
228
|
-
title: string;
|
229
|
-
fields: {
|
230
|
-
title: string;
|
231
|
-
subtitle: (max: number) => string;
|
232
|
-
selectAll: string;
|
233
|
-
};
|
234
|
-
lineHeight: {
|
235
|
-
title: string;
|
236
|
-
small: string;
|
237
|
-
medium: string;
|
238
|
-
large: string;
|
239
|
-
};
|
240
|
-
options: {
|
241
|
-
ok: string;
|
242
|
-
cancel: string;
|
243
|
-
};
|
244
|
-
};
|
245
|
-
};
|
246
|
-
transfer: {
|
247
|
-
sourceList: string;
|
248
|
-
targetList: string;
|
249
|
-
removeAll: string;
|
250
|
-
selectAll: string;
|
251
|
-
noData: string;
|
252
|
-
noSelected: string;
|
253
|
-
search: string;
|
254
|
-
};
|
255
|
-
upload: {
|
256
|
-
uploadSuccess: string;
|
257
|
-
uploadFailed: string;
|
258
|
-
drapFileOr: string;
|
259
|
-
clickUpload: string;
|
260
|
-
uploadLabel: string;
|
261
|
-
};
|
262
|
-
input: {
|
263
|
-
placeholder: string;
|
264
|
-
};
|
265
|
-
tagInput: {
|
266
|
-
placeholder: string;
|
267
|
-
};
|
268
|
-
message: {
|
269
|
-
assistant: string;
|
270
|
-
details: string;
|
271
|
-
copySuccess: string;
|
272
|
-
copyFailed: string;
|
273
|
-
};
|
274
|
-
cascader: {
|
275
|
-
pleaseSelect: string;
|
276
|
-
noData: string;
|
277
|
-
emptyText: string;
|
278
|
-
};
|
279
|
-
versionLog: {
|
280
|
-
current: string;
|
281
|
-
};
|
282
|
-
}>;
|
283
|
-
};
|
284
|
-
prefix: {
|
285
|
-
type: StringConstructor;
|
286
|
-
default: string;
|
287
|
-
};
|
288
|
-
}>>) => void;
|
2
|
+
createInstall: (prefix?: string) => (app: any, options: any) => void;
|
3
|
+
install: (app: any, options: any) => void;
|
289
4
|
version: string;
|
290
5
|
};
|
291
6
|
export default _default;
|
package/lib/preset.js
CHANGED
@@ -1,43 +1,3 @@
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__components_96ad247a__ from "./components";
|
3
|
-
/******/ // The require scope
|
4
|
-
/******/ var __webpack_require__ = {};
|
5
|
-
/******/
|
6
|
-
/************************************************************************/
|
7
|
-
/******/ /* webpack/runtime/define property getters */
|
8
|
-
/******/ (() => {
|
9
|
-
/******/ // define getter functions for harmony exports
|
10
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
11
|
-
/******/ for(var key in definition) {
|
12
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
13
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
14
|
-
/******/ }
|
15
|
-
/******/ }
|
16
|
-
/******/ };
|
17
|
-
/******/ })();
|
18
|
-
/******/
|
19
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
20
|
-
/******/ (() => {
|
21
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
22
|
-
/******/ })();
|
23
|
-
/******/
|
24
|
-
/************************************************************************/
|
25
|
-
var __webpack_exports__ = {};
|
26
|
-
|
27
|
-
// EXPORTS
|
28
|
-
__webpack_require__.d(__webpack_exports__, {
|
29
|
-
Z: () => (/* binding */ preset)
|
30
|
-
});
|
31
|
-
|
32
|
-
;// CONCATENATED MODULE: external "./config-provider"
|
33
|
-
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
34
|
-
var y = x => () => x
|
35
|
-
const external_config_provider_namespaceObject = x({ ["provideGlobalConfig"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.provideGlobalConfig });
|
36
|
-
;// CONCATENATED MODULE: external "./components"
|
37
|
-
var external_components_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
|
-
var external_components_y = x => () => x
|
39
|
-
const external_components_namespaceObject = __WEBPACK_EXTERNAL_MODULE__components_96ad247a__;
|
40
|
-
;// CONCATENATED MODULE: ../../packages/bkui-vue/preset.ts
|
41
1
|
/*
|
42
2
|
* Tencent is pleased to support the open source community by making
|
43
3
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -64,30 +24,28 @@ const external_components_namespaceObject = __WEBPACK_EXTERNAL_MODULE__component
|
|
64
24
|
* IN THE SOFTWARE.
|
65
25
|
*/
|
66
26
|
|
27
|
+
import { provideGlobalConfig } from './config-provider';
|
28
|
+
|
29
|
+
import * as components from './components';
|
67
30
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
Object.keys(
|
73
|
-
|
31
|
+
const createInstall =
|
32
|
+
(prefix = 'Bk') =>
|
33
|
+
(app, options) => {
|
34
|
+
const pre = app.config.globalProperties.bkUIPrefix || prefix;
|
35
|
+
Object.keys(components).forEach(key => {
|
36
|
+
const component = components[key];
|
74
37
|
if ('install' in component) {
|
75
|
-
app.use(component, {
|
76
|
-
prefix: pre
|
77
|
-
});
|
38
|
+
app.use(component, { prefix: pre });
|
78
39
|
} else {
|
79
|
-
app.component(pre + key,
|
40
|
+
app.component(pre + key, components[key]);
|
80
41
|
}
|
81
42
|
});
|
82
43
|
if (options) {
|
83
|
-
|
44
|
+
provideGlobalConfig(options, app);
|
84
45
|
}
|
85
46
|
};
|
86
|
-
|
87
|
-
|
88
|
-
createInstall: createInstall,
|
47
|
+
export default {
|
48
|
+
createInstall,
|
89
49
|
install: createInstall(),
|
90
|
-
version: '0.0.1'
|
91
|
-
}
|
92
|
-
var __webpack_exports__default = __webpack_exports__.Z;
|
93
|
-
export { __webpack_exports__default as default };
|
50
|
+
version: '0.0.1',
|
51
|
+
};
|