bkui-vue 0.0.1-beta.389 → 0.0.1-beta.390
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/lib/affix/index.js +60 -128
- package/lib/alert/index.js +56 -124
- package/lib/animate-number/index.js +42 -106
- package/lib/backtop/index.js +61 -133
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/badge/index.js +50 -114
- package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/lib/breadcrumb/breadcrumb.d.ts +1 -1
- package/lib/breadcrumb/index.d.ts +5 -5
- package/lib/breadcrumb/index.js +67 -133
- package/lib/button/index.js +68 -147
- package/lib/card/index.js +69 -154
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +10 -10
- package/lib/cascader/index.js +168 -242
- package/lib/checkbox/index.js +77 -139
- package/lib/code-diff/index.js +79 -121
- package/lib/collapse/index.js +84 -150
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +4 -4
- package/lib/color-picker/index.js +193 -245
- package/lib/components.js +434 -671
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +4 -4
- package/lib/container/index.js +64 -125
- package/lib/date-picker/date-picker.d.ts +2 -2
- package/lib/date-picker/index.d.ts +7 -7
- package/lib/date-picker/index.js +462 -563
- package/lib/date-picker/panel/time-range.d.ts +3 -3
- package/lib/date-picker/panel/time.d.ts +3 -3
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/dialog.d.ts +2 -2
- package/lib/dialog/index.d.ts +7 -7
- package/lib/dialog/index.js +108 -198
- package/lib/directives/index.d.ts +0 -2
- package/lib/directives/index.js +86 -140
- package/lib/dist.index.js +48 -133
- package/lib/divider/index.js +50 -118
- package/lib/dropdown/dropdown.d.ts +2 -2
- package/lib/dropdown/index.d.ts +7 -7
- package/lib/dropdown/index.js +73 -155
- package/lib/exception/index.js +97 -145
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +4 -4
- package/lib/fixed-navbar/index.js +43 -107
- package/lib/form/form-item.d.ts +1 -1
- package/lib/form/index.d.ts +1 -1
- package/lib/form/index.js +107 -193
- package/lib/icon/angle-double-down-line.js +30 -90
- package/lib/icon/angle-double-left-line.js +30 -90
- package/lib/icon/angle-double-left.js +30 -90
- package/lib/icon/angle-double-right-line.js +30 -90
- package/lib/icon/angle-double-right.js +30 -90
- package/lib/icon/angle-double-up-line.js +30 -90
- package/lib/icon/angle-down-fill.js +30 -90
- package/lib/icon/angle-down-line.js +30 -90
- package/lib/icon/angle-down.js +30 -90
- package/lib/icon/angle-left.js +30 -90
- package/lib/icon/angle-right.js +30 -90
- package/lib/icon/angle-up-fill.js +30 -90
- package/lib/icon/angle-up.js +30 -90
- package/lib/icon/archive-fill.js +30 -90
- package/lib/icon/arrows-left.js +30 -90
- package/lib/icon/arrows-right.js +30 -90
- package/lib/icon/audio-fill.js +30 -90
- package/lib/icon/bk.js +30 -90
- package/lib/icon/circle.js +30 -90
- package/lib/icon/close-line.js +30 -90
- package/lib/icon/close.js +30 -90
- package/lib/icon/code.js +30 -90
- package/lib/icon/cog-shape.js +30 -90
- package/lib/icon/collapse-left.js +30 -90
- package/lib/icon/copy.js +30 -90
- package/lib/icon/data-shape.js +30 -90
- package/lib/icon/del.js +30 -90
- package/lib/icon/doc-fill.js +30 -90
- package/lib/icon/done.js +30 -90
- package/lib/icon/down-shape.js +30 -90
- package/lib/icon/down-small.js +30 -90
- package/lib/icon/edit-line.js +30 -90
- package/lib/icon/ellipsis.js +30 -90
- package/lib/icon/enlarge-line.js +30 -90
- package/lib/icon/error.js +30 -90
- package/lib/icon/excel-fill.js +30 -90
- package/lib/icon/exclamation-circle-shape.js +30 -90
- package/lib/icon/eye.js +30 -90
- package/lib/icon/filliscreen-line.js +30 -90
- package/lib/icon/folder-open.js +30 -90
- package/lib/icon/folder-shape-open.js +30 -90
- package/lib/icon/folder-shape.js +30 -90
- package/lib/icon/folder.js +30 -90
- package/lib/icon/funnel.js +30 -90
- package/lib/icon/help-document-fill.js +30 -90
- package/lib/icon/help-fill.js +30 -90
- package/lib/icon/help.js +30 -90
- package/lib/icon/image-fill.js +30 -90
- package/lib/icon/img-placehoulder.js +52 -88
- package/lib/icon/index.js +267 -255
- package/lib/icon/info-line.js +52 -88
- package/lib/icon/info.js +52 -88
- package/lib/icon/left-shape.js +52 -88
- package/lib/icon/left-turn-line.js +52 -88
- package/lib/icon/narrow-line.js +52 -88
- package/lib/icon/original.js +52 -88
- package/lib/icon/pdf-fill.js +52 -88
- package/lib/icon/play-shape.js +52 -88
- package/lib/icon/plus.js +52 -88
- package/lib/icon/ppt-fill.js +52 -88
- package/lib/icon/qq.js +52 -88
- package/lib/icon/right-shape.js +52 -88
- package/lib/icon/right-turn-line.js +52 -88
- package/lib/icon/search.js +52 -88
- package/lib/icon/share.js +52 -88
- package/lib/icon/spinner.js +52 -88
- package/lib/icon/success.js +52 -88
- package/lib/icon/switcher-loading.js +52 -88
- package/lib/icon/text-file.js +52 -88
- package/lib/icon/text-fill.js +52 -88
- package/lib/icon/transfer.js +52 -88
- package/lib/icon/tree-application-shape.js +52 -88
- package/lib/icon/unfull-screen.js +52 -88
- package/lib/icon/unvisible.js +52 -88
- package/lib/icon/up-shape.js +52 -88
- package/lib/icon/upload.js +52 -88
- package/lib/icon/video-fill.js +52 -88
- package/lib/icon/warn.js +52 -88
- package/lib/icon/weixin.js +52 -88
- package/lib/image/index.js +164 -213
- package/lib/index.js +50 -134
- package/lib/info-box/index.js +152 -206
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +99 -167
- package/lib/input/input.d.ts +1 -1
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +47 -115
- package/lib/link/link.d.ts +1 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +67 -127
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.js +92 -156
- package/lib/message/index.js +76 -148
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/index.js +85 -151
- package/lib/modal/modal.d.ts +1 -1
- package/lib/navigation/index.js +66 -134
- package/lib/notify/index.js +81 -153
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.js +92 -128
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/index.js +131 -220
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.js +143 -191
- package/lib/plugins/index.js +33 -100
- package/lib/popover/index.d.ts +10 -10
- package/lib/popover/index.js +148 -194
- package/lib/popover/popover.d.ts +3 -3
- package/lib/popover2/index.js +35 -99
- package/lib/preset.js +37 -104
- package/lib/process/index.d.ts +4 -4
- package/lib/process/index.js +92 -134
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +7 -7
- package/lib/progress/index.js +63 -127
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.js +81 -142
- package/lib/rate/index.js +63 -127
- package/lib/resize-layout/index.js +79 -147
- package/lib/search-select/index.js +168 -220
- package/lib/select/index.d.ts +10 -10
- package/lib/select/index.js +315 -394
- package/lib/select/select.d.ts +3 -3
- package/lib/shared/index.js +228 -203
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/index.js +88 -137
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +7 -7
- package/lib/slider/index.js +147 -196
- package/lib/slider/slider.d.ts +2 -2
- package/lib/steps/index.js +105 -152
- package/lib/swiper/index.js +62 -126
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/index.js +65 -133
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/index.js +118 -188
- package/lib/tab/tab.d.ts +1 -1
- package/lib/table/index.js +457 -572
- package/lib/table-column/index.js +129 -197
- package/lib/tag/index.js +58 -130
- package/lib/tag-input/index.d.ts +7 -7
- package/lib/tag-input/index.js +175 -277
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/time-picker/index.d.ts +10 -10
- package/lib/time-picker/index.js +40 -111
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/index.js +50 -114
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.js +89 -174
- package/lib/tree/index.js +158 -235
- package/lib/upload/index.d.ts +7 -7
- package/lib/upload/index.js +173 -227
- package/lib/upload/upload-list.d.ts +1 -1
- package/lib/upload/upload-trigger.d.ts +1 -1
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.js +86 -154
- package/package.json +1 -1
package/lib/swiper/index.js
CHANGED
@@ -1,102 +1,42 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
else {
|
7
|
-
var a = typeof exports === 'object' ? factory(require("../shared"), require("vue")) : factory(root["../shared"], root["vue"]);
|
8
|
-
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
-
}
|
10
|
-
})(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__) => {
|
11
|
-
return /******/ (() => { // webpackBootstrap
|
12
|
-
/******/ "use strict";
|
13
|
-
/******/ var __webpack_modules__ = ({
|
14
|
-
|
15
|
-
/***/ 4212:
|
16
|
-
/***/ ((module) => {
|
17
|
-
|
18
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
|
19
|
-
|
20
|
-
/***/ }),
|
21
|
-
|
22
|
-
/***/ 748:
|
23
|
-
/***/ ((module) => {
|
24
|
-
|
25
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
|
26
|
-
|
27
|
-
/***/ })
|
28
|
-
|
29
|
-
/******/ });
|
30
|
-
/************************************************************************/
|
31
|
-
/******/ // The module cache
|
32
|
-
/******/ var __webpack_module_cache__ = {};
|
33
|
-
/******/
|
34
|
-
/******/ // The require function
|
35
|
-
/******/ function __webpack_require__(moduleId) {
|
36
|
-
/******/ // Check if module is in cache
|
37
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
38
|
-
/******/ if (cachedModule !== undefined) {
|
39
|
-
/******/ return cachedModule.exports;
|
40
|
-
/******/ }
|
41
|
-
/******/ // Create a new module (and put it into the cache)
|
42
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
43
|
-
/******/ // no module.id needed
|
44
|
-
/******/ // no module.loaded needed
|
45
|
-
/******/ exports: {}
|
46
|
-
/******/ };
|
47
|
-
/******/
|
48
|
-
/******/ // Execute the module function
|
49
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
50
|
-
/******/
|
51
|
-
/******/ // Return the exports of the module
|
52
|
-
/******/ return module.exports;
|
53
|
-
/******/ }
|
54
|
-
/******/
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
+
/******/ // The require scope
|
4
|
+
/******/ var __webpack_require__ = {};
|
5
|
+
/******/
|
55
6
|
/************************************************************************/
|
56
|
-
/******/
|
57
|
-
/******/
|
58
|
-
/******/
|
59
|
-
/******/
|
60
|
-
/******/
|
61
|
-
/******/
|
62
|
-
/******/
|
63
|
-
/******/ }
|
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] });
|
64
14
|
/******/ }
|
65
|
-
/******/ }
|
66
|
-
/******/ }
|
67
|
-
/******/
|
68
|
-
/******/
|
69
|
-
/******/
|
70
|
-
/******/
|
71
|
-
/******/
|
72
|
-
/******/
|
73
|
-
/******/
|
74
|
-
/******/ (() => {
|
75
|
-
/******/ // define __esModule on exports
|
76
|
-
/******/ __webpack_require__.r = (exports) => {
|
77
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
78
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
79
|
-
/******/ }
|
80
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
81
|
-
/******/ };
|
82
|
-
/******/ })();
|
83
|
-
/******/
|
15
|
+
/******/ }
|
16
|
+
/******/ };
|
17
|
+
/******/ })();
|
18
|
+
/******/
|
19
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
20
|
+
/******/ (() => {
|
21
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
22
|
+
/******/ })();
|
23
|
+
/******/
|
84
24
|
/************************************************************************/
|
85
25
|
var __webpack_exports__ = {};
|
86
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
87
|
-
(() => {
|
88
|
-
// ESM COMPAT FLAG
|
89
|
-
__webpack_require__.r(__webpack_exports__);
|
90
26
|
|
91
27
|
// EXPORTS
|
92
28
|
__webpack_require__.d(__webpack_exports__, {
|
93
|
-
"
|
29
|
+
"Z": () => (/* binding */ src)
|
94
30
|
});
|
95
31
|
|
96
|
-
|
97
|
-
var
|
98
|
-
|
99
|
-
|
32
|
+
;// CONCATENATED MODULE: external "../shared"
|
33
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
34
|
+
var y = x => () => x
|
35
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
36
|
+
;// CONCATENATED MODULE: external "vue"
|
37
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
|
+
var external_vue_y = x => () => x
|
39
|
+
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, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
100
40
|
;// CONCATENATED MODULE: ../../packages/swiper/src/swiper.tsx
|
101
41
|
|
102
42
|
|
@@ -127,15 +67,15 @@ var external_vue_ = __webpack_require__(748);
|
|
127
67
|
*/
|
128
68
|
|
129
69
|
|
130
|
-
/* harmony default export */ const swiper = ((0,
|
70
|
+
/* harmony default export */ const swiper = ((0,external_vue_namespaceObject.defineComponent)({
|
131
71
|
name: 'Swiper',
|
132
72
|
props: {
|
133
|
-
isLoop:
|
134
|
-
loopTime:
|
135
|
-
pics:
|
136
|
-
list:
|
137
|
-
height:
|
138
|
-
width:
|
73
|
+
isLoop: external_shared_namespaceObject.PropTypes.bool.def(true),
|
74
|
+
loopTime: external_shared_namespaceObject.PropTypes.number.def(8000),
|
75
|
+
pics: external_shared_namespaceObject.PropTypes.array.def([]),
|
76
|
+
list: external_shared_namespaceObject.PropTypes.array.def([]),
|
77
|
+
height: external_shared_namespaceObject.PropTypes.number,
|
78
|
+
width: external_shared_namespaceObject.PropTypes.number
|
139
79
|
},
|
140
80
|
emits: ['index-change'],
|
141
81
|
setup: function setup(props, _ref) {
|
@@ -143,7 +83,7 @@ var external_vue_ = __webpack_require__(748);
|
|
143
83
|
slots = _ref.slots;
|
144
84
|
|
145
85
|
// 属性
|
146
|
-
var _toRefs = (0,
|
86
|
+
var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
|
147
87
|
isLoop = _toRefs.isLoop,
|
148
88
|
loopTime = _toRefs.loopTime,
|
149
89
|
pics = _toRefs.pics,
|
@@ -152,25 +92,25 @@ var external_vue_ = __webpack_require__(748);
|
|
152
92
|
width = _toRefs.width; // 声明变量
|
153
93
|
|
154
94
|
|
155
|
-
var swiperRef = (0,
|
156
|
-
var swiperIndex = (0,
|
157
|
-
var renderWidth = (0,
|
158
|
-
var renderHeight = (0,
|
159
|
-
var loopId = (0,
|
95
|
+
var swiperRef = (0,external_vue_namespaceObject.ref)();
|
96
|
+
var swiperIndex = (0,external_vue_namespaceObject.ref)(0);
|
97
|
+
var renderWidth = (0,external_vue_namespaceObject.ref)(0);
|
98
|
+
var renderHeight = (0,external_vue_namespaceObject.ref)(0);
|
99
|
+
var loopId = (0,external_vue_namespaceObject.ref)(0);
|
160
100
|
var resizeObserver; // 计算属性
|
161
101
|
|
162
|
-
var computedRenderDataList = (0,
|
102
|
+
var computedRenderDataList = (0,external_vue_namespaceObject.computed)(function () {
|
163
103
|
var _a;
|
164
104
|
|
165
105
|
return ((_a = list.value) === null || _a === void 0 ? void 0 : _a.length) > 0 ? list.value : pics.value;
|
166
106
|
});
|
167
|
-
var computedSwiperTranslateStyle = (0,
|
107
|
+
var computedSwiperTranslateStyle = (0,external_vue_namespaceObject.computed)(function () {
|
168
108
|
return {
|
169
109
|
width: "".concat(renderWidth.value * computedRenderDataList.value.length, "px"),
|
170
110
|
transform: "translateX(-".concat(renderWidth.value * swiperIndex.value, "px)")
|
171
111
|
};
|
172
112
|
});
|
173
|
-
var computedSwiperRenderStyle = (0,
|
113
|
+
var computedSwiperRenderStyle = (0,external_vue_namespaceObject.computed)(function () {
|
174
114
|
return {
|
175
115
|
width: "".concat(renderWidth.value, "px"),
|
176
116
|
height: "".concat(renderHeight.value, "px")
|
@@ -277,60 +217,60 @@ var external_vue_ = __webpack_require__(748);
|
|
277
217
|
renderHeight.value = +height.value > 0 ? height.value : swiperParentSize.height;
|
278
218
|
};
|
279
219
|
|
280
|
-
(0,
|
281
|
-
(0,
|
220
|
+
(0,external_vue_namespaceObject.watch)([height, width], calcSize);
|
221
|
+
(0,external_vue_namespaceObject.onMounted)(function () {
|
282
222
|
calcSize();
|
283
223
|
startLoop();
|
284
224
|
watchParentSizeChange();
|
285
225
|
});
|
286
|
-
(0,
|
226
|
+
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
287
227
|
endLoop();
|
288
228
|
endWatchParentSizeChange();
|
289
229
|
}); // render
|
290
230
|
|
291
231
|
return function () {
|
292
|
-
return (0,
|
232
|
+
return (0,external_vue_namespaceObject.createVNode)("section", {
|
293
233
|
"class": "bk-swiper-home",
|
294
234
|
"ref": swiperRef,
|
295
235
|
"style": computedSwiperRenderStyle.value
|
296
|
-
}, [(0,
|
236
|
+
}, [(0,external_vue_namespaceObject.createVNode)("hgroup", {
|
297
237
|
"style": computedSwiperTranslateStyle.value,
|
298
238
|
"class": "bk-transition bk-swiper-main"
|
299
239
|
}, [computedRenderDataList.value.map(function (renderData) {
|
300
240
|
var _a, _b;
|
301
241
|
|
302
|
-
return (0,
|
242
|
+
return (0,external_vue_namespaceObject.createVNode)("h3", {
|
303
243
|
"class": "bk-swiper-card",
|
304
244
|
"style": computedSwiperRenderStyle.value
|
305
|
-
}, [(_b = (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots, renderData)) !== null && _b !== void 0 ? _b : (0,
|
245
|
+
}, [(_b = (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots, renderData)) !== null && _b !== void 0 ? _b : (0,external_vue_namespaceObject.createVNode)("span", {
|
306
246
|
"class": getRenderItemClass(renderData),
|
307
247
|
"style": getRenderItemStyle(renderData),
|
308
248
|
"onClick": function onClick() {
|
309
249
|
return goToLink(renderData.link);
|
310
250
|
}
|
311
251
|
}, null)]);
|
312
|
-
})]), (0,
|
252
|
+
})]), (0,external_vue_namespaceObject.createVNode)("ul", {
|
313
253
|
"class": "bk-swiper-index"
|
314
254
|
}, [computedRenderDataList.value.map(function (_, index) {
|
315
|
-
return (0,
|
255
|
+
return (0,external_vue_namespaceObject.createVNode)("li", {
|
316
256
|
"class": getRenderIndexStyle(index),
|
317
257
|
"onMouseover": function onMouseover() {
|
318
258
|
return changeIndex(index);
|
319
259
|
}
|
320
260
|
}, null);
|
321
|
-
})]), (0,
|
261
|
+
})]), (0,external_vue_namespaceObject.createVNode)("span", {
|
322
262
|
"class": "bk-swiper-nav bk-nav-prev",
|
323
263
|
"onClick": function onClick() {
|
324
264
|
return changeIndex(swiperIndex.value - 1);
|
325
265
|
}
|
326
|
-
}, [(0,
|
266
|
+
}, [(0,external_vue_namespaceObject.createVNode)("i", {
|
327
267
|
"class": "bk-swiper-nav-icon"
|
328
|
-
}, null)]), (0,
|
268
|
+
}, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
|
329
269
|
"class": "bk-swiper-nav bk-nav-next",
|
330
270
|
"onClick": function onClick() {
|
331
271
|
return changeIndex(swiperIndex.value + 1);
|
332
272
|
}
|
333
|
-
}, [(0,
|
273
|
+
}, [(0,external_vue_namespaceObject.createVNode)("i", {
|
334
274
|
"class": "bk-swiper-nav-icon"
|
335
275
|
}, null)])]);
|
336
276
|
};
|
@@ -364,11 +304,7 @@ var external_vue_ = __webpack_require__(748);
|
|
364
304
|
*/
|
365
305
|
|
366
306
|
|
367
|
-
var BkSwiper = (0,
|
307
|
+
var BkSwiper = (0,external_shared_namespaceObject.withInstall)(swiper);
|
368
308
|
/* harmony default export */ const src = (BkSwiper);
|
369
|
-
|
370
|
-
|
371
|
-
/******/ return __webpack_exports__;
|
372
|
-
/******/ })()
|
373
|
-
;
|
374
|
-
});
|
309
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
310
|
+
export { __webpack_exports__default as default };
|
package/lib/switcher/index.d.ts
CHANGED
@@ -3,9 +3,9 @@ declare const BkSwitcher: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
+
extCls: string;
|
6
7
|
disabled: boolean;
|
7
8
|
value: string | number | boolean;
|
8
|
-
extCls: string;
|
9
9
|
modelValue: string | number | boolean;
|
10
10
|
withValidate: boolean;
|
11
11
|
beforeChange: (...args: any[]) => any;
|
@@ -69,7 +69,7 @@ declare const BkSwitcher: {
|
|
69
69
|
}>> & {
|
70
70
|
onChange?: (...args: any[]) => any;
|
71
71
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
72
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
72
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "disabled" | "value" | "modelValue" | "withValidate" | "beforeChange" | "showText" | "isOutline" | "onText" | "offText" | "isSquare" | "trueValue" | "falseValue">;
|
73
73
|
$attrs: {
|
74
74
|
[x: string]: unknown;
|
75
75
|
};
|
@@ -137,9 +137,9 @@ declare const BkSwitcher: {
|
|
137
137
|
onChange?: (...args: any[]) => any;
|
138
138
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
139
139
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
140
|
+
extCls: string;
|
140
141
|
disabled: boolean;
|
141
142
|
value: string | number | boolean;
|
142
|
-
extCls: string;
|
143
143
|
modelValue: string | number | boolean;
|
144
144
|
withValidate: boolean;
|
145
145
|
beforeChange: (...args: any[]) => any;
|
@@ -281,9 +281,9 @@ declare const BkSwitcher: {
|
|
281
281
|
onChange?: (...args: any[]) => any;
|
282
282
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
283
283
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
284
|
+
extCls: string;
|
284
285
|
disabled: boolean;
|
285
286
|
value: string | number | boolean;
|
286
|
-
extCls: string;
|
287
287
|
modelValue: string | number | boolean;
|
288
288
|
withValidate: boolean;
|
289
289
|
beforeChange: (...args: any[]) => any;
|
package/lib/switcher/index.js
CHANGED
@@ -1,107 +1,39 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../icon")) : factory(root["../shared"], root["vue"], root["../icon"]);
|
8
|
-
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
9
|
-
}
|
10
|
-
})(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__6870__) => {
|
11
|
-
return /******/ (() => { // webpackBootstrap
|
12
|
-
/******/ "use strict";
|
13
|
-
/******/ var __webpack_modules__ = ({
|
14
|
-
|
15
|
-
/***/ 6870:
|
16
|
-
/***/ ((module) => {
|
17
|
-
|
18
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
|
19
|
-
|
20
|
-
/***/ }),
|
21
|
-
|
22
|
-
/***/ 4212:
|
23
|
-
/***/ ((module) => {
|
24
|
-
|
25
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
|
26
|
-
|
27
|
-
/***/ }),
|
28
|
-
|
29
|
-
/***/ 748:
|
30
|
-
/***/ ((module) => {
|
31
|
-
|
32
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
|
33
|
-
|
34
|
-
/***/ })
|
35
|
-
|
36
|
-
/******/ });
|
37
|
-
/************************************************************************/
|
38
|
-
/******/ // The module cache
|
39
|
-
/******/ var __webpack_module_cache__ = {};
|
40
|
-
/******/
|
41
|
-
/******/ // The require function
|
42
|
-
/******/ function __webpack_require__(moduleId) {
|
43
|
-
/******/ // Check if module is in cache
|
44
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
45
|
-
/******/ if (cachedModule !== undefined) {
|
46
|
-
/******/ return cachedModule.exports;
|
47
|
-
/******/ }
|
48
|
-
/******/ // Create a new module (and put it into the cache)
|
49
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
50
|
-
/******/ // no module.id needed
|
51
|
-
/******/ // no module.loaded needed
|
52
|
-
/******/ exports: {}
|
53
|
-
/******/ };
|
54
|
-
/******/
|
55
|
-
/******/ // Execute the module function
|
56
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
57
|
-
/******/
|
58
|
-
/******/ // Return the exports of the module
|
59
|
-
/******/ return module.exports;
|
60
|
-
/******/ }
|
61
|
-
/******/
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
|
4
|
+
/******/ // The require scope
|
5
|
+
/******/ var __webpack_require__ = {};
|
6
|
+
/******/
|
62
7
|
/************************************************************************/
|
63
|
-
/******/
|
64
|
-
/******/
|
65
|
-
/******/
|
66
|
-
/******/
|
67
|
-
/******/
|
68
|
-
/******/
|
69
|
-
/******/
|
70
|
-
/******/ }
|
8
|
+
/******/ /* webpack/runtime/define property getters */
|
9
|
+
/******/ (() => {
|
10
|
+
/******/ // define getter functions for harmony exports
|
11
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
12
|
+
/******/ for(var key in definition) {
|
13
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
14
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
71
15
|
/******/ }
|
72
|
-
/******/ }
|
73
|
-
/******/ }
|
74
|
-
/******/
|
75
|
-
/******/
|
76
|
-
/******/
|
77
|
-
/******/
|
78
|
-
/******/
|
79
|
-
/******/
|
80
|
-
/******/
|
81
|
-
/******/ (() => {
|
82
|
-
/******/ // define __esModule on exports
|
83
|
-
/******/ __webpack_require__.r = (exports) => {
|
84
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
85
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
86
|
-
/******/ }
|
87
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
88
|
-
/******/ };
|
89
|
-
/******/ })();
|
90
|
-
/******/
|
16
|
+
/******/ }
|
17
|
+
/******/ };
|
18
|
+
/******/ })();
|
19
|
+
/******/
|
20
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
21
|
+
/******/ (() => {
|
22
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
23
|
+
/******/ })();
|
24
|
+
/******/
|
91
25
|
/************************************************************************/
|
92
26
|
var __webpack_exports__ = {};
|
93
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
94
|
-
(() => {
|
95
|
-
// ESM COMPAT FLAG
|
96
|
-
__webpack_require__.r(__webpack_exports__);
|
97
27
|
|
98
28
|
// EXPORTS
|
99
29
|
__webpack_require__.d(__webpack_exports__, {
|
100
|
-
"
|
30
|
+
"Z": () => (/* binding */ src)
|
101
31
|
});
|
102
32
|
|
103
|
-
|
104
|
-
var
|
33
|
+
;// CONCATENATED MODULE: external "../shared"
|
34
|
+
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
35
|
+
var y = x => () => x
|
36
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
105
37
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
106
38
|
function _defineProperty(obj, key, value) {
|
107
39
|
if (key in obj) {
|
@@ -117,10 +49,14 @@ function _defineProperty(obj, key, value) {
|
|
117
49
|
|
118
50
|
return obj;
|
119
51
|
}
|
120
|
-
|
121
|
-
var
|
122
|
-
|
123
|
-
|
52
|
+
;// CONCATENATED MODULE: external "vue"
|
53
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
54
|
+
var external_vue_y = x => () => x
|
55
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
56
|
+
;// CONCATENATED MODULE: external "../icon"
|
57
|
+
var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
58
|
+
var external_icon_y = x => () => x
|
59
|
+
const external_icon_namespaceObject = external_icon_x({ ["SwitcherLoading"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.SwitcherLoading });
|
124
60
|
;// CONCATENATED MODULE: ../../packages/switcher/src/switcher.tsx
|
125
61
|
|
126
62
|
|
@@ -153,38 +89,38 @@ var external_icon_ = __webpack_require__(6870);
|
|
153
89
|
|
154
90
|
|
155
91
|
|
156
|
-
/* harmony default export */ const switcher = ((0,
|
92
|
+
/* harmony default export */ const switcher = ((0,external_vue_namespaceObject.defineComponent)({
|
157
93
|
name: 'Switcher',
|
158
94
|
props: {
|
159
|
-
theme:
|
160
|
-
size:
|
161
|
-
disabled:
|
162
|
-
showText:
|
163
|
-
isOutline:
|
164
|
-
onText:
|
165
|
-
offText:
|
166
|
-
isSquare:
|
167
|
-
extCls:
|
168
|
-
beforeChange:
|
169
|
-
trueValue:
|
170
|
-
falseValue:
|
171
|
-
value:
|
172
|
-
modelValue:
|
173
|
-
withValidate:
|
95
|
+
theme: external_shared_namespaceObject.PropTypes.theme(),
|
96
|
+
size: external_shared_namespaceObject.PropTypes.size(),
|
97
|
+
disabled: external_shared_namespaceObject.PropTypes.bool,
|
98
|
+
showText: external_shared_namespaceObject.PropTypes.bool,
|
99
|
+
isOutline: external_shared_namespaceObject.PropTypes.bool,
|
100
|
+
onText: external_shared_namespaceObject.PropTypes.string.def('ON'),
|
101
|
+
offText: external_shared_namespaceObject.PropTypes.string.def('OFF'),
|
102
|
+
isSquare: external_shared_namespaceObject.PropTypes.bool,
|
103
|
+
extCls: external_shared_namespaceObject.PropTypes.string,
|
104
|
+
beforeChange: external_shared_namespaceObject.PropTypes.func.def(undefined),
|
105
|
+
trueValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.bool]).def(true),
|
106
|
+
falseValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.bool]).def(false),
|
107
|
+
value: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.bool]).def(false),
|
108
|
+
modelValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.bool]).def(false),
|
109
|
+
withValidate: external_shared_namespaceObject.PropTypes.bool.def(true)
|
174
110
|
},
|
175
111
|
emits: ['update:modelValue', 'change'],
|
176
112
|
setup: function setup(props, _ref) {
|
177
113
|
var emit = _ref.emit;
|
178
|
-
var formItem = (0,
|
179
|
-
var isLoading = (0,
|
180
|
-
var isChecked = (0,
|
114
|
+
var formItem = (0,external_shared_namespaceObject.useFormItem)();
|
115
|
+
var isLoading = (0,external_vue_namespaceObject.ref)(false);
|
116
|
+
var isChecked = (0,external_vue_namespaceObject.computed)(function () {
|
181
117
|
return props.trueValue === localValue.value;
|
182
118
|
});
|
183
|
-
var isModelValue = (0,
|
184
|
-
var localValue = (0,
|
119
|
+
var isModelValue = (0,external_vue_namespaceObject.ref)(props.modelValue !== false);
|
120
|
+
var localValue = (0,external_vue_namespaceObject.computed)(function () {
|
185
121
|
return isModelValue.value ? props.modelValue : props.value;
|
186
122
|
});
|
187
|
-
var classObject = (0,
|
123
|
+
var classObject = (0,external_vue_namespaceObject.computed)(function () {
|
188
124
|
var _cls;
|
189
125
|
|
190
126
|
var cls = (_cls = {}, _defineProperty(_cls, props.extCls, !!props.extCls), _defineProperty(_cls, 'bk-switcher', true), _defineProperty(_cls, 'bk-switcher-outline', props.isOutline), _defineProperty(_cls, 'bk-switcher-square', props.isSquare), _defineProperty(_cls, 'show-label', props.showText), _defineProperty(_cls, 'is-disabled', props.disabled), _defineProperty(_cls, 'is-checked', isChecked.value), _defineProperty(_cls, 'is-unchecked', !isChecked.value), _defineProperty(_cls, 'is-loading', isLoading.value), _defineProperty(_cls, 'bk-primary', props.theme === 'primary'), _cls); // 显示文本则size无效,使用固定尺寸
|
@@ -196,7 +132,7 @@ var external_icon_ = __webpack_require__(6870);
|
|
196
132
|
|
197
133
|
return cls;
|
198
134
|
});
|
199
|
-
(0,
|
135
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
200
136
|
return props.modelValue;
|
201
137
|
}, function () {
|
202
138
|
var _a;
|
@@ -207,7 +143,7 @@ var external_icon_ = __webpack_require__(6870);
|
|
207
143
|
(_a = formItem === null || formItem === void 0 ? void 0 : formItem.validate) === null || _a === void 0 ? void 0 : _a.call(formItem, 'change');
|
208
144
|
}
|
209
145
|
});
|
210
|
-
(0,
|
146
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
211
147
|
return props.value;
|
212
148
|
}, function () {
|
213
149
|
isModelValue.value = false;
|
@@ -257,14 +193,14 @@ var external_icon_ = __webpack_require__(6870);
|
|
257
193
|
};
|
258
194
|
|
259
195
|
return function () {
|
260
|
-
return (0,
|
196
|
+
return (0,external_vue_namespaceObject.createVNode)("div", {
|
261
197
|
"class": classObject.value,
|
262
198
|
"onClick": handleChange,
|
263
199
|
"tabindex": "0",
|
264
200
|
"onKeydown": handleKeydown
|
265
|
-
}, [isLoading.value ? (0,
|
201
|
+
}, [isLoading.value ? (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.SwitcherLoading, {
|
266
202
|
"class": "bk-switcher-loading"
|
267
|
-
}, null) : '', props.showText ? (0,
|
203
|
+
}, null) : '', props.showText ? (0,external_vue_namespaceObject.createVNode)("span", {
|
268
204
|
"class": "switcher-text"
|
269
205
|
}, [isChecked.value ? props.onText : props.offText]) : '']);
|
270
206
|
};
|
@@ -298,11 +234,7 @@ var external_icon_ = __webpack_require__(6870);
|
|
298
234
|
*/
|
299
235
|
|
300
236
|
|
301
|
-
var BkSwitcher = (0,
|
237
|
+
var BkSwitcher = (0,external_shared_namespaceObject.withInstall)(switcher);
|
302
238
|
/* harmony default export */ const src = (BkSwitcher);
|
303
|
-
|
304
|
-
|
305
|
-
/******/ return __webpack_exports__;
|
306
|
-
/******/ })()
|
307
|
-
;
|
308
|
-
});
|
239
|
+
var __webpack_exports__default = __webpack_exports__.Z;
|
240
|
+
export { __webpack_exports__default as default };
|
@@ -102,9 +102,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
102
102
|
onChange?: (...args: any[]) => any;
|
103
103
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
104
104
|
}, {
|
105
|
+
extCls: string;
|
105
106
|
disabled: boolean;
|
106
107
|
value: string | number | boolean;
|
107
|
-
extCls: string;
|
108
108
|
modelValue: string | number | boolean;
|
109
109
|
withValidate: boolean;
|
110
110
|
beforeChange: (...args: any[]) => any;
|
package/lib/tab/index.d.ts
CHANGED
@@ -5,8 +5,8 @@ declare const BkTab: {
|
|
5
5
|
$data: {};
|
6
6
|
$props: Partial<{
|
7
7
|
type: "card" | "border-card" | "unborder-card" | "card-tab";
|
8
|
-
active: string | number;
|
9
8
|
extCls: string;
|
9
|
+
active: string | number;
|
10
10
|
closable: boolean;
|
11
11
|
showHeader: boolean;
|
12
12
|
sortType: "replace" | "insert";
|
@@ -81,7 +81,7 @@ declare const BkTab: {
|
|
81
81
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
82
82
|
"onUpdate:active"?: (...args: any[]) => any;
|
83
83
|
onSort?: (...args: any[]) => any;
|
84
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
84
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "extCls" | "active" | "closable" | "showHeader" | "sortType" | "tabPosition" | "addable" | "sortable" | "labelHeight" | "scrollStep" | "validateActive" | "changeOnHover" | "changeOnHoverDelay">;
|
85
85
|
$attrs: {
|
86
86
|
[x: string]: unknown;
|
87
87
|
};
|
@@ -168,8 +168,8 @@ declare const BkTab: {
|
|
168
168
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
169
169
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], string, {
|
170
170
|
type: "card" | "border-card" | "unborder-card" | "card-tab";
|
171
|
-
active: string | number;
|
172
171
|
extCls: string;
|
172
|
+
active: string | number;
|
173
173
|
closable: boolean;
|
174
174
|
showHeader: boolean;
|
175
175
|
sortType: "replace" | "insert";
|
@@ -349,8 +349,8 @@ declare const BkTab: {
|
|
349
349
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
350
350
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], "change" | "drag" | "sort" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active", {
|
351
351
|
type: "card" | "border-card" | "unborder-card" | "card-tab";
|
352
|
-
active: string | number;
|
353
352
|
extCls: string;
|
353
|
+
active: string | number;
|
354
354
|
closable: boolean;
|
355
355
|
showHeader: boolean;
|
356
356
|
sortType: "replace" | "insert";
|