bkui-vue 2.0.1-beta.10 → 2.0.1-beta.12
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 +165 -165
- package/dist/index.esm.js +28601 -28591
- package/dist/index.umd.js +165 -165
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/index.js +1 -1
- package/lib/button/button.d.ts +7 -7
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.js +32 -31
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/index.js +3 -3
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/index.js +2 -2
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/color-picker/index.js +44 -44
- package/lib/components.d.ts +32 -32
- package/lib/components.js +31 -31
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +1 -1
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +1 -1
- package/lib/date-picker/index.js +188 -189
- package/lib/date-picker/interface.d.ts +9 -9
- 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 +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.d.ts +18 -18
- package/lib/dialog/index.d.ts +40 -40
- package/lib/dialog/index.js +22 -22
- package/lib/dialog/props.d.ts +7 -7
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -166
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/index.js +14 -14
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/index.d.ts +11 -11
- package/lib/icon/index.js +11 -11
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/index.js +20 -20
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.js +13 -13
- package/lib/info-box/info-box.d.ts +15 -15
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +16 -16
- package/lib/input/input.d.ts +15 -15
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/locale/index.d.ts +1 -1
- package/lib/menu/index.js +1 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/index.d.ts +3 -3
- package/lib/modal/index.js +7 -7
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/notify/index.js +4 -4
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +11 -61
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -16
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.js +19 -18
- package/lib/pop-confirm/index.d.ts +11 -11
- package/lib/pop-confirm/index.js +11 -10
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +4 -4
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +19 -18
- package/lib/popover/plugin-popover.d.ts +1 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/props.d.ts +4 -4
- package/lib/process/index.js +3 -3
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/radio/index.js +10 -10
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -7
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/scrollbar/index.js +1 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
- package/lib/search-select/index.js +66 -66
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/selected.d.ts +1 -1
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/index.d.ts +61 -61
- package/lib/select/index.js +73 -69
- package/lib/select/option.d.ts +1 -1
- package/lib/select/select.d.ts +24 -24
- package/lib/select/selectTagInput.d.ts +6 -6
- package/lib/select/type.d.ts +2 -2
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +46 -38
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/vue-types.d.ts +46 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +3 -3
- package/lib/sideslider/index.js +11 -11
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.js +23 -21
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/swiper/index.js +5 -5
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/table/components/table-column.d.ts +87 -27
- package/lib/table/const.d.ts +8 -8
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +244 -194
- package/lib/table/index.js +129 -126
- package/lib/table/props.d.ts +33 -33
- package/lib/table/table.css +3 -4
- package/lib/table/table.d.ts +47 -47
- package/lib/table/table.less +4 -12
- package/lib/table/table.variable.css +3 -4
- package/lib/table/use-attributes.d.ts +3 -3
- package/lib/table/use-column.d.ts +129 -9
- package/lib/table/use-common.d.ts +4 -4
- package/lib/table/utils.d.ts +5 -5
- package/lib/table-column/index.d.ts +172 -42
- package/lib/table-column/index.js +18 -18
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +8 -8
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/timeline/index.js +2 -2
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +5 -3
- package/lib/tree/constant.d.ts +20 -20
- package/lib/tree/index.d.ts +20 -20
- package/lib/tree/index.js +41 -37
- package/lib/tree/props.d.ts +6 -6
- package/lib/tree/tree.d.ts +8 -14
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/upload/index.js +26 -25
- package/lib/upload/props.d.ts +1 -1
- package/lib/upload/upload.type.d.ts +6 -6
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/package.json +49 -13
package/lib/dropdown/index.js
CHANGED
@@ -2,10 +2,10 @@ import "../styles/reset.css";
|
|
2
2
|
import "./dropdown.less";
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__ from "lodash/merge";
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
7
8
|
import "../popover/popover.less";
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__ from "lodash/merge";
|
9
9
|
/******/ // The require scope
|
10
10
|
/******/ var __webpack_require__ = {};
|
11
11
|
/******/
|
@@ -91,6 +91,10 @@ function _defineProperty(obj, key, value) {
|
|
91
91
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
92
92
|
var external_vue_y = x => () => x
|
93
93
|
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
94
|
+
;// CONCATENATED MODULE: external "lodash/merge"
|
95
|
+
var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
96
|
+
var merge_y = x => () => x
|
97
|
+
const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"] });
|
94
98
|
;// CONCATENATED MODULE: external "../config-provider"
|
95
99
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
96
100
|
var config_provider_y = x => () => x
|
@@ -103,10 +107,6 @@ const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNA
|
|
103
107
|
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
104
108
|
var popover_less_y = x => () => x
|
105
109
|
const popover_less_namespaceObject = popover_less_x({ });
|
106
|
-
;// CONCATENATED MODULE: external "lodash/merge"
|
107
|
-
var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
108
|
-
var merge_y = x => () => x
|
109
|
-
const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"] });
|
110
110
|
;// CONCATENATED MODULE: ../../packages/dropdown/src/dropdown.tsx
|
111
111
|
|
112
112
|
|
@@ -202,8 +202,8 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
|
|
202
202
|
}, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
203
203
|
"ref": "popoverRef"
|
204
204
|
}, popoverOptions, {
|
205
|
-
"
|
206
|
-
"
|
205
|
+
"onAfterShow": this.afterShow,
|
206
|
+
"onAfterHidden": this.afterHidden
|
207
207
|
}), {
|
208
208
|
"default": function _default() {
|
209
209
|
var _this$$slots$default, _this$$slots;
|
@@ -1,19 +1,19 @@
|
|
1
1
|
export declare enum ExceptionEnum {
|
2
|
-
BUILDING = "building",
|
3
|
-
CODE_403 = "403",
|
4
2
|
CODE_404 = "404",
|
3
|
+
CODE_403 = "403",
|
5
4
|
CODE_500 = "500",
|
5
|
+
BUILDING = "building",
|
6
6
|
EMPTY = "empty",
|
7
|
-
|
8
|
-
|
7
|
+
SEARCH = "search-empty",
|
8
|
+
LOGIN = "login"
|
9
9
|
}
|
10
10
|
export declare enum SceneEnum {
|
11
11
|
PAGE = "page",
|
12
12
|
PART = "part"
|
13
13
|
}
|
14
14
|
declare const _default: import("vue").DefineComponent<{
|
15
|
-
type: import("vue-types").VueTypeDef<"
|
16
|
-
default: "
|
15
|
+
type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
|
16
|
+
default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
17
17
|
};
|
18
18
|
scene: import("vue-types").VueTypeDef<"page" | "part"> & {
|
19
19
|
default: "page" | "part";
|
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
default: string;
|
26
26
|
};
|
27
27
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
-
type: import("vue-types").VueTypeDef<"
|
29
|
-
default: "
|
28
|
+
type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
|
29
|
+
default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
30
30
|
};
|
31
31
|
scene: import("vue-types").VueTypeDef<"page" | "part"> & {
|
32
32
|
default: "page" | "part";
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
};
|
40
40
|
}>>, {
|
41
41
|
title: string;
|
42
|
-
type: "
|
42
|
+
type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
43
43
|
description: string;
|
44
44
|
scene: "page" | "part";
|
45
45
|
}, {}>;
|
package/lib/exception/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import Exception, { ExceptionEnum, SceneEnum } from './exception';
|
2
2
|
declare const BkException: {
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
-
type: import("vue-types").VueTypeDef<"
|
5
|
-
default: "
|
4
|
+
type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
|
5
|
+
default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
6
6
|
};
|
7
7
|
scene: import("vue-types").VueTypeDef<"page" | "part"> & {
|
8
8
|
default: "page" | "part";
|
@@ -14,8 +14,8 @@ declare const BkException: {
|
|
14
14
|
default: string;
|
15
15
|
};
|
16
16
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
17
|
-
type: import("vue-types").VueTypeDef<"
|
18
|
-
default: "
|
17
|
+
type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
|
18
|
+
default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
19
19
|
};
|
20
20
|
scene: import("vue-types").VueTypeDef<"page" | "part"> & {
|
21
21
|
default: "page" | "part";
|
@@ -28,7 +28,7 @@ declare const BkException: {
|
|
28
28
|
};
|
29
29
|
}>>, {
|
30
30
|
title: string;
|
31
|
-
type: "
|
31
|
+
type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
32
32
|
description: string;
|
33
33
|
scene: "page" | "part";
|
34
34
|
}, true, {}, {}, {
|
@@ -39,8 +39,8 @@ declare const BkException: {
|
|
39
39
|
M: {};
|
40
40
|
Defaults: {};
|
41
41
|
}, Readonly<import("vue").ExtractPropTypes<{
|
42
|
-
type: import("vue-types").VueTypeDef<"
|
43
|
-
default: "
|
42
|
+
type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
|
43
|
+
default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
44
44
|
};
|
45
45
|
scene: import("vue-types").VueTypeDef<"page" | "part"> & {
|
46
46
|
default: "page" | "part";
|
@@ -53,7 +53,7 @@ declare const BkException: {
|
|
53
53
|
};
|
54
54
|
}>>, () => JSX.Element, {}, {}, {}, {
|
55
55
|
title: string;
|
56
|
-
type: "
|
56
|
+
type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
57
57
|
description: string;
|
58
58
|
scene: "page" | "part";
|
59
59
|
}>;
|
@@ -61,8 +61,8 @@ declare const BkException: {
|
|
61
61
|
__isTeleport?: never;
|
62
62
|
__isSuspense?: never;
|
63
63
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
64
|
-
type: import("vue-types").VueTypeDef<"
|
65
|
-
default: "
|
64
|
+
type: import("vue-types").VueTypeDef<"404" | "403" | "500" | "building" | "empty" | "search-empty" | "login"> & {
|
65
|
+
default: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
66
66
|
};
|
67
67
|
scene: import("vue-types").VueTypeDef<"page" | "part"> & {
|
68
68
|
default: "page" | "part";
|
@@ -75,7 +75,7 @@ declare const BkException: {
|
|
75
75
|
};
|
76
76
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
77
77
|
title: string;
|
78
|
-
type: "
|
78
|
+
type: "404" | "403" | "500" | "building" | "empty" | "search-empty" | "login";
|
79
79
|
description: string;
|
80
80
|
scene: "page" | "part";
|
81
81
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
package/lib/exception/index.js
CHANGED
@@ -2,9 +2,9 @@ import "../styles/reset.css";
|
|
2
2
|
import "./exception.less";
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
6
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
|
8
8
|
/******/ var __webpack_modules__ = ({
|
9
9
|
|
10
10
|
/***/ 3760:
|
@@ -178,6 +178,10 @@ function _defineProperty(obj, key, value) {
|
|
178
178
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
179
179
|
var external_vue_y = x => () => x
|
180
180
|
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
|
181
|
+
;// CONCATENATED MODULE: external "lodash/isFunction"
|
182
|
+
var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
183
|
+
var isFunction_y = x => () => x
|
184
|
+
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
|
181
185
|
;// CONCATENATED MODULE: external "vue-types"
|
182
186
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
183
187
|
var external_vue_types_y = x => () => x
|
@@ -186,10 +190,6 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: ()
|
|
186
190
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
187
191
|
var config_provider_y = x => () => x
|
188
192
|
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
189
|
-
;// CONCATENATED MODULE: external "lodash/isFunction"
|
190
|
-
var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
191
|
-
var isFunction_y = x => () => x
|
192
|
-
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
|
193
193
|
// EXTERNAL MODULE: ../../packages/exception/src/images/403.svg
|
194
194
|
var _403 = __webpack_require__(3760);
|
195
195
|
var _403_default = /*#__PURE__*/__webpack_require__.n(_403);
|
@@ -253,13 +253,13 @@ var search_empty_default = /*#__PURE__*/__webpack_require__.n(search_empty);
|
|
253
253
|
|
254
254
|
var ExceptionEnum;
|
255
255
|
(function (ExceptionEnum) {
|
256
|
-
ExceptionEnum["BUILDING"] = "building";
|
257
|
-
ExceptionEnum["CODE_403"] = "403";
|
258
256
|
ExceptionEnum["CODE_404"] = "404";
|
257
|
+
ExceptionEnum["CODE_403"] = "403";
|
259
258
|
ExceptionEnum["CODE_500"] = "500";
|
259
|
+
ExceptionEnum["BUILDING"] = "building";
|
260
260
|
ExceptionEnum["EMPTY"] = "empty";
|
261
|
-
ExceptionEnum["LOGIN"] = "login";
|
262
261
|
ExceptionEnum["SEARCH"] = "search-empty";
|
262
|
+
ExceptionEnum["LOGIN"] = "login";
|
263
263
|
})(ExceptionEnum || (ExceptionEnum = {}));
|
264
264
|
var SceneEnum;
|
265
265
|
(function (SceneEnum) {
|
@@ -300,8 +300,8 @@ var SceneEnum;
|
|
300
300
|
"class": "".concat(resolveClassName('exception-img'))
|
301
301
|
}, [(0,external_vue_namespaceObject.createVNode)("img", {
|
302
302
|
"class": "exception-image",
|
303
|
-
"
|
304
|
-
"
|
303
|
+
"src": imgSrc,
|
304
|
+
"alt": "type"
|
305
305
|
}, null)]);
|
306
306
|
};
|
307
307
|
var renderTitle = function renderTitle() {
|
@@ -105,10 +105,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
105
105
|
resolveClassName = _usePrefix.resolveClassName;
|
106
106
|
return function () {
|
107
107
|
return props.modelValue && (0,external_vue_namespaceObject.createVNode)("div", {
|
108
|
+
"class": "".concat(resolveClassName('fixed-navbar'), " ").concat(props.extCls, " ").concat(props.position),
|
108
109
|
"style": {
|
109
110
|
zIndex: zIndex
|
110
|
-
}
|
111
|
-
"class": "".concat(resolveClassName('fixed-navbar'), " ").concat(props.extCls, " ").concat(props.position)
|
111
|
+
}
|
112
112
|
}, [navConfig.map(function (item) {
|
113
113
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
114
114
|
"class": "fixed-navbar-item",
|
package/lib/form/form.d.ts
CHANGED
@@ -52,11 +52,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
52
52
|
};
|
53
53
|
}, {
|
54
54
|
handleSubmit: (event: Event) => void;
|
55
|
-
validate: (fields?:
|
55
|
+
validate: (fields?: string | Array<string>) => Promise<{
|
56
56
|
[key: string]: any;
|
57
57
|
}>;
|
58
58
|
getValidateResult: () => Promise<boolean>;
|
59
|
-
clearValidate: (fields?:
|
59
|
+
clearValidate: (fields?: string | Array<string>) => void;
|
60
60
|
resolveClassName: (cls: string) => string;
|
61
61
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
62
62
|
submit: any;
|
package/lib/form/index.js
CHANGED
@@ -5,10 +5,10 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isBoolean_dcb66997__ from "lodash/isBoolean";
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isString_e6fa8a5b__ from "lodash/isString";
|
8
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
9
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
10
8
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_get_9427f899__ from "lodash/get";
|
11
9
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
|
10
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
11
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
12
12
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isDate_b457317b__ from "lodash/isDate";
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__ from "lodash/isEmpty";
|
14
14
|
/******/ // The require scope
|
@@ -420,14 +420,6 @@ function _nonIterableSpread() {
|
|
420
420
|
function _toConsumableArray(arr) {
|
421
421
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
422
422
|
}
|
423
|
-
;// CONCATENATED MODULE: external "../directives"
|
424
|
-
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
425
|
-
var directives_y = x => () => x
|
426
|
-
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
|
427
|
-
;// CONCATENATED MODULE: external "../icon"
|
428
|
-
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
429
|
-
var icon_y = x => () => x
|
430
|
-
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape });
|
431
423
|
;// CONCATENATED MODULE: external "lodash/get"
|
432
424
|
var get_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
433
425
|
var get_y = x => () => x
|
@@ -436,6 +428,14 @@ const get_namespaceObject = get_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE
|
|
436
428
|
var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
437
429
|
var isFunction_y = x => () => x
|
438
430
|
const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
|
431
|
+
;// CONCATENATED MODULE: external "../directives"
|
432
|
+
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
433
|
+
var directives_y = x => () => x
|
434
|
+
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
|
435
|
+
;// CONCATENATED MODULE: external "../icon"
|
436
|
+
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
437
|
+
var icon_y = x => () => x
|
438
|
+
const icon_namespaceObject = icon_x({ ["ExclamationCircleShape"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.ExclamationCircleShape });
|
439
439
|
;// CONCATENATED MODULE: ../../packages/form/src/utils.ts
|
440
440
|
/*
|
441
441
|
* Tencent is pleased to support the open source community by making
|
@@ -903,11 +903,11 @@ var isValid = function isValid(value) {
|
|
903
903
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
904
904
|
"class": itemClassees
|
905
905
|
}, [this.isShowLabel && (0,external_vue_namespaceObject.createVNode)("div", {
|
906
|
-
"
|
907
|
-
"
|
906
|
+
"class": "".concat(this.resolveClassName('form-label')),
|
907
|
+
"style": this.labelStyles
|
908
908
|
}, [renderLabel(), this.isFormTypeVertical && ((_this$$slots$labelApp = (_this$$slots = this.$slots).labelAppend) === null || _this$$slots$labelApp === void 0 ? void 0 : _this$$slots$labelApp.call(_this$$slots))]), (0,external_vue_namespaceObject.createVNode)("div", {
|
909
|
-
"
|
910
|
-
"
|
909
|
+
"class": "".concat(this.resolveClassName('form-content')),
|
910
|
+
"style": this.contentStyles
|
911
911
|
}, [(_this$$slots$default = (_this$$slots2 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots2), renderError()])]);
|
912
912
|
}
|
913
913
|
}));
|
package/lib/form/type.d.ts
CHANGED
@@ -18,7 +18,7 @@ export interface IFormItemRule {
|
|
18
18
|
max?: number;
|
19
19
|
maxlength?: number;
|
20
20
|
pattern?: RegExp;
|
21
|
-
validator?: (any: any) =>
|
22
|
-
message: (() => string)
|
21
|
+
validator?: (any: any) => boolean | Promise<boolean>;
|
22
|
+
message: string | (() => string);
|
23
23
|
trigger: 'blur' | 'change';
|
24
24
|
}
|
package/lib/icon/index.d.ts
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
export { default as AngleDoubleDownLine } from '../icon/angle-double-down-line';
|
2
|
-
export { default as AngleDoubleLeft } from '../icon/angle-double-left';
|
3
2
|
export { default as AngleDoubleLeftLine } from '../icon/angle-double-left-line';
|
4
|
-
export { default as
|
3
|
+
export { default as AngleDoubleLeft } from '../icon/angle-double-left';
|
5
4
|
export { default as AngleDoubleRightLine } from '../icon/angle-double-right-line';
|
5
|
+
export { default as AngleDoubleRight } from '../icon/angle-double-right';
|
6
6
|
export { default as AngleDoubleUpLine } from '../icon/angle-double-up-line';
|
7
|
-
export { default as AngleDown } from '../icon/angle-down';
|
8
7
|
export { default as AngleDownFill } from '../icon/angle-down-fill';
|
9
8
|
export { default as AngleDownLine } from '../icon/angle-down-line';
|
9
|
+
export { default as AngleDown } from '../icon/angle-down';
|
10
10
|
export { default as AngleLeft } from '../icon/angle-left';
|
11
11
|
export { default as AngleRight } from '../icon/angle-right';
|
12
|
-
export { default as AngleUp } from '../icon/angle-up';
|
13
12
|
export { default as AngleUpFill } from '../icon/angle-up-fill';
|
13
|
+
export { default as AngleUp } from '../icon/angle-up';
|
14
14
|
export { default as ArchiveFill } from '../icon/archive-fill';
|
15
15
|
export { default as ArrowsLeft } from '../icon/arrows-left';
|
16
16
|
export { default as ArrowsRight } from '../icon/arrows-right';
|
@@ -18,13 +18,13 @@ export { default as Assistant } from '../icon/assistant';
|
|
18
18
|
export { default as AudioFill } from '../icon/audio-fill';
|
19
19
|
export { default as Bk } from '../icon/bk';
|
20
20
|
export { default as Circle } from '../icon/circle';
|
21
|
-
export { default as Close } from '../icon/close';
|
22
21
|
export { default as CloseLine } from '../icon/close-line';
|
22
|
+
export { default as Close } from '../icon/close';
|
23
23
|
export { default as Code } from '../icon/code';
|
24
24
|
export { default as CogShape } from '../icon/cog-shape';
|
25
25
|
export { default as CollapseLeft } from '../icon/collapse-left';
|
26
|
-
export { default as Copy } from '../icon/copy';
|
27
26
|
export { default as CopyShape } from '../icon/copy-shape';
|
27
|
+
export { default as Copy } from '../icon/copy';
|
28
28
|
export { default as DataShape } from '../icon/data-shape';
|
29
29
|
export { default as Del } from '../icon/del';
|
30
30
|
export { default as DocFill } from '../icon/doc-fill';
|
@@ -41,20 +41,20 @@ export { default as Eye } from '../icon/eye';
|
|
41
41
|
export { default as FilliscreenLine } from '../icon/filliscreen-line';
|
42
42
|
export { default as FixLine } from '../icon/fix-line';
|
43
43
|
export { default as FixShape } from '../icon/fix-shape';
|
44
|
-
export { default as Folder } from '../icon/folder';
|
45
44
|
export { default as FolderOpen } from '../icon/folder-open';
|
46
|
-
export { default as FolderShape } from '../icon/folder-shape';
|
47
45
|
export { default as FolderShapeOpen } from '../icon/folder-shape-open';
|
46
|
+
export { default as FolderShape } from '../icon/folder-shape';
|
47
|
+
export { default as Folder } from '../icon/folder';
|
48
48
|
export { default as Funnel } from '../icon/funnel';
|
49
49
|
export { default as GragFill } from '../icon/grag-fill';
|
50
|
-
export { default as Help } from '../icon/help';
|
51
50
|
export { default as HelpDocumentFill } from '../icon/help-document-fill';
|
52
51
|
export { default as HelpFill } from '../icon/help-fill';
|
52
|
+
export { default as Help } from '../icon/help';
|
53
53
|
export { default as ImageFill } from '../icon/image-fill';
|
54
54
|
export { default as ImgError } from '../icon/img-error';
|
55
55
|
export { default as ImgPlacehoulder } from '../icon/img-placehoulder';
|
56
|
-
export { default as Info } from '../icon/info';
|
57
56
|
export { default as InfoLine } from '../icon/info-line';
|
57
|
+
export { default as Info } from '../icon/info';
|
58
58
|
export { default as LeftShape } from '../icon/left-shape';
|
59
59
|
export { default as LeftTurnLine } from '../icon/left-turn-line';
|
60
60
|
export { default as Loading } from '../icon/loading';
|
@@ -83,5 +83,5 @@ export { default as UpShape } from '../icon/up-shape';
|
|
83
83
|
export { default as Upload } from '../icon/upload';
|
84
84
|
export { default as VideoFill } from '../icon/video-fill';
|
85
85
|
export { default as Warn } from '../icon/warn';
|
86
|
-
export { default as Weixin } from '../icon/weixin';
|
87
86
|
export { default as WeixinPro } from '../icon/weixin-pro';
|
87
|
+
export { default as Weixin } from '../icon/weixin';
|
package/lib/icon/index.js
CHANGED
@@ -25,18 +25,18 @@ import "../styles/reset.css";
|
|
25
25
|
* IN THE SOFTWARE.
|
26
26
|
*/
|
27
27
|
export { default as AngleDoubleDownLine } from './angle-double-down-line';
|
28
|
-
export { default as AngleDoubleLeft } from './angle-double-left';
|
29
28
|
export { default as AngleDoubleLeftLine } from './angle-double-left-line';
|
30
|
-
export { default as
|
29
|
+
export { default as AngleDoubleLeft } from './angle-double-left';
|
31
30
|
export { default as AngleDoubleRightLine } from './angle-double-right-line';
|
31
|
+
export { default as AngleDoubleRight } from './angle-double-right';
|
32
32
|
export { default as AngleDoubleUpLine } from './angle-double-up-line';
|
33
|
-
export { default as AngleDown } from './angle-down';
|
34
33
|
export { default as AngleDownFill } from './angle-down-fill';
|
35
34
|
export { default as AngleDownLine } from './angle-down-line';
|
35
|
+
export { default as AngleDown } from './angle-down';
|
36
36
|
export { default as AngleLeft } from './angle-left';
|
37
37
|
export { default as AngleRight } from './angle-right';
|
38
|
-
export { default as AngleUp } from './angle-up';
|
39
38
|
export { default as AngleUpFill } from './angle-up-fill';
|
39
|
+
export { default as AngleUp } from './angle-up';
|
40
40
|
export { default as ArchiveFill } from './archive-fill';
|
41
41
|
export { default as ArrowsLeft } from './arrows-left';
|
42
42
|
export { default as ArrowsRight } from './arrows-right';
|
@@ -44,13 +44,13 @@ export { default as Assistant } from './assistant';
|
|
44
44
|
export { default as AudioFill } from './audio-fill';
|
45
45
|
export { default as Bk } from './bk';
|
46
46
|
export { default as Circle } from './circle';
|
47
|
-
export { default as Close } from './close';
|
48
47
|
export { default as CloseLine } from './close-line';
|
48
|
+
export { default as Close } from './close';
|
49
49
|
export { default as Code } from './code';
|
50
50
|
export { default as CogShape } from './cog-shape';
|
51
51
|
export { default as CollapseLeft } from './collapse-left';
|
52
|
-
export { default as Copy } from './copy';
|
53
52
|
export { default as CopyShape } from './copy-shape';
|
53
|
+
export { default as Copy } from './copy';
|
54
54
|
export { default as DataShape } from './data-shape';
|
55
55
|
export { default as Del } from './del';
|
56
56
|
export { default as DocFill } from './doc-fill';
|
@@ -67,20 +67,20 @@ export { default as Eye } from './eye';
|
|
67
67
|
export { default as FilliscreenLine } from './filliscreen-line';
|
68
68
|
export { default as FixLine } from './fix-line';
|
69
69
|
export { default as FixShape } from './fix-shape';
|
70
|
-
export { default as Folder } from './folder';
|
71
70
|
export { default as FolderOpen } from './folder-open';
|
72
|
-
export { default as FolderShape } from './folder-shape';
|
73
71
|
export { default as FolderShapeOpen } from './folder-shape-open';
|
72
|
+
export { default as FolderShape } from './folder-shape';
|
73
|
+
export { default as Folder } from './folder';
|
74
74
|
export { default as Funnel } from './funnel';
|
75
75
|
export { default as GragFill } from './grag-fill';
|
76
|
-
export { default as Help } from './help';
|
77
76
|
export { default as HelpDocumentFill } from './help-document-fill';
|
78
77
|
export { default as HelpFill } from './help-fill';
|
78
|
+
export { default as Help } from './help';
|
79
79
|
export { default as ImageFill } from './image-fill';
|
80
80
|
export { default as ImgError } from './img-error';
|
81
81
|
export { default as ImgPlacehoulder } from './img-placehoulder';
|
82
|
-
export { default as Info } from './info';
|
83
82
|
export { default as InfoLine } from './info-line';
|
83
|
+
export { default as Info } from './info';
|
84
84
|
export { default as LeftShape } from './left-shape';
|
85
85
|
export { default as LeftTurnLine } from './left-turn-line';
|
86
86
|
export { default as Loading } from './loading';
|
@@ -109,5 +109,5 @@ export { default as UpShape } from './up-shape';
|
|
109
109
|
export { default as Upload } from './upload';
|
110
110
|
export { default as VideoFill } from './video-fill';
|
111
111
|
export { default as Warn } from './warn';
|
112
|
-
export { default as Weixin } from './weixin';
|
113
112
|
export { default as WeixinPro } from './weixin-pro';
|
113
|
+
export { default as Weixin } from './weixin';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export type ViewerAction = '
|
1
|
+
export type ViewerAction = 'zoomIn' | 'zoomOut' | 'clockwise' | 'anticlockwise';
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
3
3
|
urlList: {
|
4
4
|
type: import("vue").PropType<string[]>;
|
package/lib/image/index.js
CHANGED
@@ -4,8 +4,8 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
7
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
8
7
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
|
9
9
|
/******/ // The require scope
|
10
10
|
/******/ var __webpack_require__ = {};
|
11
11
|
/******/
|
@@ -62,9 +62,9 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: ()
|
|
62
62
|
|
63
63
|
var FitEnum;
|
64
64
|
(function (FitEnum) {
|
65
|
+
FitEnum["FILL"] = "fill";
|
65
66
|
FitEnum["CONTAIN"] = "contain";
|
66
67
|
FitEnum["COVER"] = "cover";
|
67
|
-
FitEnum["FILL"] = "fill";
|
68
68
|
FitEnum["NONE"] = "none";
|
69
69
|
FitEnum["SCALE_DOWN"] = "scale-down";
|
70
70
|
})(FitEnum || (FitEnum = {}));
|
@@ -179,8 +179,8 @@ var propsImageViever = {
|
|
179
179
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
180
180
|
"class": "".concat(resolveClassName('image-placeholder'))
|
181
181
|
}, [props.fallback ? (0,external_vue_namespaceObject.createVNode)("img", {
|
182
|
-
"
|
183
|
-
"
|
182
|
+
"src": props.fallback,
|
183
|
+
"alt": "\u56FE\u7247\u52A0\u8F7D\u9519\u8BEF"
|
184
184
|
}, null) : '', (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("i", {
|
185
185
|
"class": "".concat(resolveClassName('icon'), " icon-image-fail")
|
186
186
|
}, null), [[(0,external_vue_namespaceObject.resolveDirective)("else")]])]);
|
@@ -193,12 +193,12 @@ var propsImageViever = {
|
|
193
193
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
194
194
|
"class": "".concat(resolveClassName('image'))
|
195
195
|
}, [getContent(), preview.value && isShowViewer.value ? (0,external_vue_namespaceObject.createVNode)(image_viewer, {
|
196
|
-
"
|
196
|
+
"zIndex": props.zIndex,
|
197
197
|
"maskClose": props.maskClose,
|
198
|
+
"is-show-title": props.isShowPreviewTitle,
|
198
199
|
"url-list": props.urlList,
|
199
|
-
"
|
200
|
-
"onChange": change
|
201
|
-
"onClose": closeViewer
|
200
|
+
"onClose": closeViewer,
|
201
|
+
"onChange": change
|
202
202
|
}, null) : '']);
|
203
203
|
};
|
204
204
|
}
|
@@ -248,14 +248,14 @@ function _defineProperty(obj, key, value) {
|
|
248
248
|
}
|
249
249
|
return obj;
|
250
250
|
}
|
251
|
-
;// CONCATENATED MODULE: external "../directives"
|
252
|
-
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
253
|
-
var directives_y = x => () => x
|
254
|
-
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
|
255
251
|
;// CONCATENATED MODULE: external "lodash/throttle"
|
256
252
|
var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
257
253
|
var throttle_y = x => () => x
|
258
254
|
const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
|
255
|
+
;// CONCATENATED MODULE: external "../directives"
|
256
|
+
var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
257
|
+
var directives_y = x => () => x
|
258
|
+
const directives_namespaceObject = directives_x({ ["bkTooltips"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.bkTooltips });
|
259
259
|
;// CONCATENATED MODULE: ../../packages/image/src/image-viewer.tsx
|
260
260
|
|
261
261
|
|
@@ -535,10 +535,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
535
535
|
return [(0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, null, {
|
536
536
|
"default": function _default() {
|
537
537
|
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
538
|
+
"tabindex": "-1",
|
538
539
|
"ref": "wrapper",
|
539
|
-
"style": wrapStyles.value,
|
540
540
|
"class": "".concat(resolveClassName('image-viewer-wrapper')),
|
541
|
-
"
|
541
|
+
"style": wrapStyles.value
|
542
542
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
543
543
|
"class": "".concat(resolveClassName('image-viewer-mask')),
|
544
544
|
"onClick": function onClick() {
|
@@ -556,11 +556,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
556
556
|
"class": "".concat(resolveClassName('image-viewer-close')),
|
557
557
|
"onClick": hide
|
558
558
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, null, null)])])]) : '', !isSingle.value ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("div", {
|
559
|
-
"
|
560
|
-
"
|
559
|
+
"onClick": prev,
|
560
|
+
"class": "".concat(resolveClassName('image-viewer-btn'), " ").concat(resolveClassName('image-viewer-prev'), " ").concat(!props.loops && isFirst ? 'is-disabled' : '')
|
561
561
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
562
|
-
"
|
563
|
-
"
|
562
|
+
"onClick": next,
|
563
|
+
"class": "".concat(resolveClassName('image-viewer-btn'), " ").concat(resolveClassName('image-viewer-prev'), " ").concat(!props.loops && isLast ? 'is-disabled' : '')
|
564
564
|
}, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleRight, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
|
565
565
|
"class": "".concat(resolveClassName('image-viewer-actions-inner'))
|
566
566
|
}, [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, {
|
@@ -592,11 +592,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
592
592
|
"ref": function ref(el) {
|
593
593
|
return imgRefs[i] = el;
|
594
594
|
},
|
595
|
-
"style": imgStyle.value,
|
596
595
|
"class": "".concat(resolveClassName('image-viewer-img')),
|
596
|
+
"style": imgStyle.value,
|
597
597
|
"src": url,
|
598
|
-
"onError": handleImgError,
|
599
598
|
"onLoad": handleImgLoad,
|
599
|
+
"onError": handleImgError,
|
600
600
|
"onMousedown": handleMouseDown
|
601
601
|
}, null);
|
602
602
|
})])])];
|
package/lib/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from './components';
|
2
|
-
export * from './hooks';
|
3
1
|
export { default } from './preset';
|
4
|
-
export * from './
|
2
|
+
export * from './components';
|
5
3
|
export * from './directives';
|
6
4
|
export * as plugins from './plugins';
|
5
|
+
export * from './config-provider';
|
6
|
+
export * from './hooks';
|
package/lib/index.js
CHANGED
@@ -24,9 +24,9 @@
|
|
24
24
|
* IN THE SOFTWARE.
|
25
25
|
*/
|
26
26
|
// import './styles';
|
27
|
-
export * from './components';
|
28
|
-
export * from './hooks';
|
29
27
|
export { default } from './preset';
|
30
|
-
export * from './
|
28
|
+
export * from './components';
|
31
29
|
export * from './directives';
|
32
30
|
export * as plugins from './plugins';
|
31
|
+
export * from './config-provider';
|
32
|
+
export * from './hooks';
|