bkui-vue 2.0.1-beta.110 → 2.0.1-beta.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +54 -54
- package/dist/index.esm.js +23106 -23099
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +17 -17
- package/lib/alert/index.d.ts +73 -126
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/animate-number/index.js +8 -7
- package/lib/backtop/index.d.ts +69 -117
- package/lib/backtop/index.js +11 -10
- package/lib/badge/index.d.ts +119 -152
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +121 -156
- package/lib/button/index.js +19 -20
- package/lib/card/index.d.ts +128 -157
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +5 -5
- package/lib/cascader/index.d.ts +395 -356
- package/lib/cascader/index.js +74 -805
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +143 -175
- package/lib/checkbox/index.js +45 -45
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +156 -175
- package/lib/collapse/index.js +28 -27
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +144 -165
- package/lib/color-picker/index.js +50 -294
- package/lib/config-provider/index.d.ts +160 -227
- package/lib/config-provider/index.js +17 -17
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +28 -26
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +4 -4
- package/lib/date-picker/index.d.ts +382 -352
- package/lib/date-picker/index.js +154 -150
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +2 -2
- package/lib/date-picker/time-picker.d.ts +4 -4
- package/lib/dialog/index.d.ts +299 -269
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +29 -29
- package/lib/divider/index.d.ts +57 -111
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +24 -22
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +21 -21
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/form.d.ts +1 -1
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +21 -22
- package/lib/icon/angle-double-down-line.js +17 -17
- package/lib/icon/angle-double-left-line.js +17 -17
- package/lib/icon/angle-double-left.js +17 -17
- package/lib/icon/angle-double-right-line.js +17 -17
- package/lib/icon/angle-double-right.js +17 -17
- package/lib/icon/angle-double-up-line.js +17 -17
- package/lib/icon/angle-down-fill.js +17 -17
- package/lib/icon/angle-down-line.js +17 -17
- package/lib/icon/angle-down.js +17 -17
- package/lib/icon/angle-left.js +17 -17
- package/lib/icon/angle-right.js +17 -17
- package/lib/icon/angle-up-fill.js +17 -17
- package/lib/icon/angle-up.js +17 -17
- package/lib/icon/archive-fill.js +17 -17
- package/lib/icon/arrows-left.js +17 -17
- package/lib/icon/arrows-right.js +17 -17
- package/lib/icon/assistant.js +17 -17
- package/lib/icon/audio-fill.js +17 -17
- package/lib/icon/bk.js +17 -17
- package/lib/icon/circle.js +17 -17
- package/lib/icon/close-line.js +17 -17
- package/lib/icon/close.js +17 -17
- package/lib/icon/code.js +17 -17
- package/lib/icon/cog-shape.js +17 -17
- package/lib/icon/collapse-left.js +17 -17
- package/lib/icon/copy-shape.js +17 -17
- package/lib/icon/copy.js +17 -17
- package/lib/icon/data-shape.js +17 -17
- package/lib/icon/del.js +17 -17
- package/lib/icon/doc-fill.js +17 -17
- package/lib/icon/done.js +17 -17
- package/lib/icon/down-shape.js +17 -17
- package/lib/icon/down-small.js +17 -17
- package/lib/icon/edit-line.js +17 -17
- package/lib/icon/ellipsis.js +17 -17
- package/lib/icon/enlarge-line.js +17 -17
- package/lib/icon/error.js +17 -17
- package/lib/icon/excel-fill.js +17 -17
- package/lib/icon/exclamation-circle-shape.js +17 -17
- package/lib/icon/eye.js +17 -17
- package/lib/icon/filliscreen-line.js +17 -17
- package/lib/icon/fix-line.js +17 -17
- package/lib/icon/fix-shape.js +17 -17
- package/lib/icon/folder-open.js +17 -17
- package/lib/icon/folder-shape-open.js +17 -17
- package/lib/icon/folder-shape.js +17 -17
- package/lib/icon/folder.js +17 -17
- package/lib/icon/funnel.js +17 -17
- package/lib/icon/grag-fill.js +17 -17
- package/lib/icon/help-document-fill.js +17 -17
- package/lib/icon/help-fill.js +17 -17
- package/lib/icon/help.js +17 -17
- package/lib/icon/image-fill.js +17 -17
- package/lib/icon/img-error.js +17 -17
- package/lib/icon/img-placehoulder.js +17 -17
- package/lib/icon/info-line.js +17 -17
- package/lib/icon/info.js +17 -17
- package/lib/icon/left-shape.js +17 -17
- package/lib/icon/left-turn-line.js +17 -17
- package/lib/icon/loading.js +17 -17
- package/lib/icon/narrow-line.js +17 -17
- package/lib/icon/original.js +17 -17
- package/lib/icon/pdf-fill.js +17 -17
- package/lib/icon/play-shape.js +17 -17
- package/lib/icon/plus.js +17 -17
- package/lib/icon/ppt-fill.js +17 -17
- package/lib/icon/qq.js +17 -17
- package/lib/icon/right-shape.js +17 -17
- package/lib/icon/right-turn-line.js +17 -17
- package/lib/icon/search.js +17 -17
- package/lib/icon/share.js +17 -17
- package/lib/icon/spinner.js +17 -17
- package/lib/icon/success.js +17 -17
- package/lib/icon/switcher-loading.js +17 -17
- package/lib/icon/text-all.js +17 -17
- package/lib/icon/text-file.js +17 -17
- package/lib/icon/text-fill.js +17 -17
- package/lib/icon/transfer.js +17 -17
- package/lib/icon/tree-application-shape.js +17 -17
- package/lib/icon/unfull-screen.js +17 -17
- package/lib/icon/unvisible.js +17 -17
- package/lib/icon/up-shape.js +17 -17
- package/lib/icon/upload.js +17 -17
- package/lib/icon/video-fill.js +17 -17
- package/lib/icon/warn.js +17 -17
- package/lib/icon/weixin-pro.js +17 -17
- package/lib/icon/weixin.js +17 -17
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +27 -26
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +232 -233
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +46 -48
- package/lib/link/index.d.ts +73 -122
- package/lib/link/index.js +2 -2
- package/lib/loading/index.d.ts +130 -156
- package/lib/loading/index.js +32 -33
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +55 -116
- package/lib/menu/index.js +26 -25
- package/lib/message/index.js +24 -25
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +171 -185
- package/lib/modal/index.js +19 -19
- package/lib/navigation/index.d.ts +152 -188
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +20 -21
- package/lib/overflow-title/index.d.ts +343 -256
- package/lib/overflow-title/index.js +11 -10
- package/lib/pagination/index.d.ts +185 -199
- package/lib/pagination/index.js +49 -56
- package/lib/pagination/pagination.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +4 -3898
- package/lib/pop-confirm/index.d.ts +119 -157
- package/lib/pop-confirm/index.js +5 -4
- package/lib/pop-confirm/pop-confirm.d.ts +5 -5
- package/lib/pop-confirm/props.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +421 -359
- package/lib/popover/index.js +241 -264
- package/lib/popover2/index.d.ts +8 -83
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +226 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +22 -21
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +91 -140
- package/lib/radio/index.js +46 -48
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +168 -192
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/scrollbar/index.js +38 -38
- package/lib/search-select/index.d.ts +678 -895
- package/lib/search-select/index.js +274 -274
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +133 -188
- package/lib/search-select/selected.d.ts +133 -188
- package/lib/select/index.d.ts +1380 -1221
- package/lib/select/index.js +336 -334
- package/lib/select/select.d.ts +134 -171
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/index.js +54 -56
- package/lib/sideslider/index.d.ts +197 -201
- package/lib/sideslider/index.js +227 -228
- package/lib/slider/index.d.ts +214 -210
- package/lib/slider/index.js +226 -225
- package/lib/steps/index.d.ts +110 -149
- package/lib/steps/index.js +230 -231
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +151 -183
- package/lib/tab/index.js +20 -19
- package/lib/table/components/table-column.d.ts +1 -1
- package/lib/table/hooks/use-columns.d.ts +1 -1
- package/lib/table/hooks/use-layout.d.ts +2 -2
- package/lib/table/hooks/use-rows.d.ts +1 -1
- package/lib/table/index.d.ts +459 -364
- package/lib/table/index.js +336 -348
- package/lib/table/table.d.ts +3 -3
- package/lib/table-column/index.d.ts +104 -150
- package/lib/table-column/index.js +7 -731
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +750 -533
- package/lib/tag-input/index.js +151 -151
- package/lib/tag-input/tag-input.d.ts +9 -9
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +2 -2
- package/lib/time-picker/index.d.ts +439 -386
- package/lib/timeline/index.d.ts +64 -131
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +192 -207
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.d.ts +350 -308
- package/lib/tree/index.js +71 -74
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +311 -273
- package/lib/upload/index.js +261 -264
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +333 -241
- package/lib/virtual-render/index.js +29 -29
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +1 -1
package/lib/rate/index.js
CHANGED
@@ -37,38 +37,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
37
37
|
var y = x => () => x
|
38
38
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
39
39
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
40
|
-
function _typeof(
|
40
|
+
function _typeof(o) {
|
41
41
|
"@babel/helpers - typeof";
|
42
42
|
|
43
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
44
|
-
return typeof
|
45
|
-
} : function (
|
46
|
-
return
|
47
|
-
}, _typeof(
|
43
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
44
|
+
return typeof o;
|
45
|
+
} : function (o) {
|
46
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
47
|
+
}, _typeof(o);
|
48
48
|
}
|
49
49
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
50
50
|
|
51
|
-
function
|
52
|
-
if (
|
53
|
-
var
|
54
|
-
if (
|
55
|
-
var
|
56
|
-
if (
|
51
|
+
function toPrimitive(t, r) {
|
52
|
+
if ("object" != _typeof(t) || !t) return t;
|
53
|
+
var e = t[Symbol.toPrimitive];
|
54
|
+
if (void 0 !== e) {
|
55
|
+
var i = e.call(t, r || "default");
|
56
|
+
if ("object" != _typeof(i)) return i;
|
57
57
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
58
58
|
}
|
59
|
-
return (
|
59
|
+
return ("string" === r ? String : Number)(t);
|
60
60
|
}
|
61
61
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
62
62
|
|
63
63
|
|
64
|
-
function
|
65
|
-
var
|
66
|
-
return _typeof(
|
64
|
+
function toPropertyKey(t) {
|
65
|
+
var i = toPrimitive(t, "string");
|
66
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
67
67
|
}
|
68
68
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
69
69
|
|
70
70
|
function _defineProperty(obj, key, value) {
|
71
|
-
key =
|
71
|
+
key = toPropertyKey(key);
|
72
72
|
if (key in obj) {
|
73
73
|
Object.defineProperty(obj, key, {
|
74
74
|
value: value,
|
@@ -155,8 +155,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
155
155
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
156
156
|
resolveClassName = _usePrefix.resolveClassName;
|
157
157
|
var starClass = function starClass(index) {
|
158
|
-
|
159
|
-
return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName('is-select')), index < Math.floor(displayRate.value)), _defineProperty(_classes, "".concat(resolveClassName('is-edit')), props.editable), _defineProperty(_classes, "".concat(resolveClassName('rate-star')), true), _classes));
|
158
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('is-select')), index < Math.floor(displayRate.value)), "".concat(resolveClassName('is-edit')), props.editable), "".concat(resolveClassName('rate-star')), true));
|
160
159
|
};
|
161
160
|
var displayRate = (0,external_vue_namespaceObject.computed)(function () {
|
162
161
|
return props.hoverRate || props.rate;
|
@@ -296,7 +295,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
296
295
|
}, function () {
|
297
296
|
if (props.withValidate) {
|
298
297
|
var _formItem$validate;
|
299
|
-
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0
|
298
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
|
300
299
|
}
|
301
300
|
});
|
302
301
|
return function () {
|
@@ -1,191 +1,154 @@
|
|
1
1
|
declare const BkResizeLayout: {
|
2
|
-
new (...args: any[]): {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
$slots: Readonly<{
|
74
|
-
[name: string]: import("vue").Slot<any>;
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
3
|
+
placement: import("vue-types").VueTypeDef<"bottom" | "left" | "right" | "top"> & {
|
4
|
+
default: "bottom" | "left" | "right" | "top";
|
5
|
+
};
|
6
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
7
|
+
default: number;
|
8
|
+
} & {
|
9
|
+
default: number;
|
10
|
+
};
|
11
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
12
|
+
default: number;
|
13
|
+
} & {
|
14
|
+
default: number;
|
15
|
+
};
|
16
|
+
triggerWidth: import("vue-types").VueTypeValidableDef<number> & {
|
17
|
+
default: number;
|
18
|
+
} & {
|
19
|
+
default: number;
|
20
|
+
};
|
21
|
+
triggerOffset: import("vue-types").VueTypeValidableDef<number> & {
|
22
|
+
default: number;
|
23
|
+
} & {
|
24
|
+
default: number;
|
25
|
+
};
|
26
|
+
initialDivide: import("vue-types").VueTypeDef<string | number> & {
|
27
|
+
default: string | number;
|
28
|
+
};
|
29
|
+
immediate: import("vue-types").VueTypeValidableDef<boolean> & {
|
30
|
+
default: boolean;
|
31
|
+
};
|
32
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
33
|
+
default: boolean;
|
34
|
+
};
|
35
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
isCollapsed: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
} & {
|
41
|
+
default: boolean;
|
42
|
+
};
|
43
|
+
autoMinimize: import("vue-types").VueTypeDef<number | boolean> & {
|
44
|
+
default: number | boolean;
|
45
|
+
};
|
46
|
+
border: import("vue-types").VueTypeValidableDef<boolean> & {
|
47
|
+
default: boolean;
|
48
|
+
} & {
|
49
|
+
default: boolean;
|
50
|
+
};
|
51
|
+
}>> & {
|
52
|
+
"onBefore-resize"?: (...args: any[]) => any;
|
53
|
+
onResizing?: (...args: any[]) => any;
|
54
|
+
"onAfter-resize"?: (...args: any[]) => any;
|
55
|
+
"onCollapse-change"?: (...args: any[]) => any;
|
56
|
+
}, {
|
57
|
+
collapsed: import("vue").Ref<boolean>;
|
58
|
+
asideContentVisible: import("vue").Ref<boolean>;
|
59
|
+
minimized: import("vue").Ref<boolean>;
|
60
|
+
limitMax: import("vue").Ref<any>;
|
61
|
+
state: import("vue").Ref<any>;
|
62
|
+
vertical: import("vue").ComputedRef<boolean>;
|
63
|
+
cssPropKey: import("vue").ComputedRef<"width" | "height">;
|
64
|
+
bkResizeLayoutRef: import("vue").Ref<HTMLElement>;
|
65
|
+
resizeProxyRef: import("vue").Ref<HTMLElement>;
|
66
|
+
resizeMaskRef: import("vue").Ref<HTMLElement>;
|
67
|
+
asideRef: import("vue").Ref<HTMLElement>;
|
68
|
+
triggerStyle: import("vue").ComputedRef<{
|
69
|
+
[x: string]: string;
|
70
|
+
}>;
|
71
|
+
asideStyle: import("vue").ComputedRef<{
|
72
|
+
[x: string]: string;
|
75
73
|
}>;
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
resolveClassName: (cls: string) => string;
|
155
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("before-resize" | "resizing" | "after-resize" | "collapse-change")[], string, {
|
156
|
-
disabled: boolean;
|
157
|
-
placement: "bottom" | "left" | "right" | "top";
|
158
|
-
border: boolean;
|
159
|
-
max: number;
|
160
|
-
min: number;
|
161
|
-
collapsible: boolean;
|
162
|
-
triggerWidth: number;
|
163
|
-
triggerOffset: number;
|
164
|
-
initialDivide: string | number;
|
165
|
-
immediate: boolean;
|
166
|
-
isCollapsed: boolean;
|
167
|
-
autoMinimize: number | boolean;
|
168
|
-
}, {}, string, {}> & {
|
169
|
-
beforeCreate?: (() => void) | (() => void)[];
|
170
|
-
created?: (() => void) | (() => void)[];
|
171
|
-
beforeMount?: (() => void) | (() => void)[];
|
172
|
-
mounted?: (() => void) | (() => void)[];
|
173
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
174
|
-
updated?: (() => void) | (() => void)[];
|
175
|
-
activated?: (() => void) | (() => void)[];
|
176
|
-
deactivated?: (() => void) | (() => void)[];
|
177
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
178
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
179
|
-
destroyed?: (() => void) | (() => void)[];
|
180
|
-
unmounted?: (() => void) | (() => void)[];
|
181
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
182
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
183
|
-
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)[];
|
184
|
-
};
|
185
|
-
$forceUpdate: () => void;
|
186
|
-
$nextTick: typeof import("vue").nextTick;
|
187
|
-
$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;
|
188
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
74
|
+
handleMousedown: (event: any) => void;
|
75
|
+
setCollapse: (collapse: any) => void;
|
76
|
+
resolveClassName: (cls: string) => string;
|
77
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("before-resize" | "resizing" | "after-resize" | "collapse-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
78
|
+
placement: import("vue-types").VueTypeDef<"bottom" | "left" | "right" | "top"> & {
|
79
|
+
default: "bottom" | "left" | "right" | "top";
|
80
|
+
};
|
81
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
82
|
+
default: number;
|
83
|
+
} & {
|
84
|
+
default: number;
|
85
|
+
};
|
86
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
87
|
+
default: number;
|
88
|
+
} & {
|
89
|
+
default: number;
|
90
|
+
};
|
91
|
+
triggerWidth: import("vue-types").VueTypeValidableDef<number> & {
|
92
|
+
default: number;
|
93
|
+
} & {
|
94
|
+
default: number;
|
95
|
+
};
|
96
|
+
triggerOffset: import("vue-types").VueTypeValidableDef<number> & {
|
97
|
+
default: number;
|
98
|
+
} & {
|
99
|
+
default: number;
|
100
|
+
};
|
101
|
+
initialDivide: import("vue-types").VueTypeDef<string | number> & {
|
102
|
+
default: string | number;
|
103
|
+
};
|
104
|
+
immediate: import("vue-types").VueTypeValidableDef<boolean> & {
|
105
|
+
default: boolean;
|
106
|
+
};
|
107
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
108
|
+
default: boolean;
|
109
|
+
};
|
110
|
+
collapsible: import("vue-types").VueTypeValidableDef<boolean> & {
|
111
|
+
default: boolean;
|
112
|
+
};
|
113
|
+
isCollapsed: import("vue-types").VueTypeValidableDef<boolean> & {
|
114
|
+
default: boolean;
|
115
|
+
} & {
|
116
|
+
default: boolean;
|
117
|
+
};
|
118
|
+
autoMinimize: import("vue-types").VueTypeDef<number | boolean> & {
|
119
|
+
default: number | boolean;
|
120
|
+
};
|
121
|
+
border: import("vue-types").VueTypeValidableDef<boolean> & {
|
122
|
+
default: boolean;
|
123
|
+
} & {
|
124
|
+
default: boolean;
|
125
|
+
};
|
126
|
+
}>> & {
|
127
|
+
"onBefore-resize"?: (...args: any[]) => any;
|
128
|
+
onResizing?: (...args: any[]) => any;
|
129
|
+
"onAfter-resize"?: (...args: any[]) => any;
|
130
|
+
"onCollapse-change"?: (...args: any[]) => any;
|
131
|
+
}, {
|
132
|
+
disabled: boolean;
|
133
|
+
placement: "bottom" | "left" | "right" | "top";
|
134
|
+
border: boolean;
|
135
|
+
max: number;
|
136
|
+
min: number;
|
137
|
+
collapsible: boolean;
|
138
|
+
triggerWidth: number;
|
139
|
+
triggerOffset: number;
|
140
|
+
initialDivide: string | number;
|
141
|
+
immediate: boolean;
|
142
|
+
isCollapsed: boolean;
|
143
|
+
autoMinimize: number | boolean;
|
144
|
+
}, true, {}, {}, {
|
145
|
+
P: {};
|
146
|
+
B: {};
|
147
|
+
D: {};
|
148
|
+
C: {};
|
149
|
+
M: {};
|
150
|
+
Defaults: {};
|
151
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
189
152
|
placement: import("vue-types").VueTypeDef<"bottom" | "left" | "right" | "top"> & {
|
190
153
|
default: "bottom" | "left" | "right" | "top";
|
191
154
|
};
|
@@ -239,12 +202,12 @@ declare const BkResizeLayout: {
|
|
239
202
|
onResizing?: (...args: any[]) => any;
|
240
203
|
"onAfter-resize"?: (...args: any[]) => any;
|
241
204
|
"onCollapse-change"?: (...args: any[]) => any;
|
242
|
-
}
|
205
|
+
}, {
|
243
206
|
collapsed: import("vue").Ref<boolean>;
|
244
207
|
asideContentVisible: import("vue").Ref<boolean>;
|
245
208
|
minimized: import("vue").Ref<boolean>;
|
246
|
-
limitMax: any
|
247
|
-
state: any
|
209
|
+
limitMax: import("vue").Ref<any>;
|
210
|
+
state: import("vue").Ref<any>;
|
248
211
|
vertical: import("vue").ComputedRef<boolean>;
|
249
212
|
cssPropKey: import("vue").ComputedRef<"width" | "height">;
|
250
213
|
bkResizeLayoutRef: import("vue").Ref<HTMLElement>;
|
@@ -260,7 +223,20 @@ declare const BkResizeLayout: {
|
|
260
223
|
handleMousedown: (event: any) => void;
|
261
224
|
setCollapse: (collapse: any) => void;
|
262
225
|
resolveClassName: (cls: string) => string;
|
263
|
-
}
|
226
|
+
}, {}, {}, {}, {
|
227
|
+
disabled: boolean;
|
228
|
+
placement: "bottom" | "left" | "right" | "top";
|
229
|
+
border: boolean;
|
230
|
+
max: number;
|
231
|
+
min: number;
|
232
|
+
collapsible: boolean;
|
233
|
+
triggerWidth: number;
|
234
|
+
triggerOffset: number;
|
235
|
+
initialDivide: string | number;
|
236
|
+
immediate: boolean;
|
237
|
+
isCollapsed: boolean;
|
238
|
+
autoMinimize: number | boolean;
|
239
|
+
}>;
|
264
240
|
__isFragment?: never;
|
265
241
|
__isTeleport?: never;
|
266
242
|
__isSuspense?: never;
|
@@ -322,8 +298,8 @@ declare const BkResizeLayout: {
|
|
322
298
|
collapsed: import("vue").Ref<boolean>;
|
323
299
|
asideContentVisible: import("vue").Ref<boolean>;
|
324
300
|
minimized: import("vue").Ref<boolean>;
|
325
|
-
limitMax: any
|
326
|
-
state: any
|
301
|
+
limitMax: import("vue").Ref<any>;
|
302
|
+
state: import("vue").Ref<any>;
|
327
303
|
vertical: import("vue").ComputedRef<boolean>;
|
328
304
|
cssPropKey: import("vue").ComputedRef<"width" | "height">;
|
329
305
|
bkResizeLayoutRef: import("vue").Ref<HTMLElement>;
|
@@ -38,38 +38,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
38
38
|
var y = x => () => x
|
39
39
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
40
40
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
41
|
-
function _typeof(
|
41
|
+
function _typeof(o) {
|
42
42
|
"@babel/helpers - typeof";
|
43
43
|
|
44
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
45
|
-
return typeof
|
46
|
-
} : function (
|
47
|
-
return
|
48
|
-
}, _typeof(
|
44
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
45
|
+
return typeof o;
|
46
|
+
} : function (o) {
|
47
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
48
|
+
}, _typeof(o);
|
49
49
|
}
|
50
50
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
51
51
|
|
52
|
-
function
|
53
|
-
if (
|
54
|
-
var
|
55
|
-
if (
|
56
|
-
var
|
57
|
-
if (
|
52
|
+
function toPrimitive(t, r) {
|
53
|
+
if ("object" != _typeof(t) || !t) return t;
|
54
|
+
var e = t[Symbol.toPrimitive];
|
55
|
+
if (void 0 !== e) {
|
56
|
+
var i = e.call(t, r || "default");
|
57
|
+
if ("object" != _typeof(i)) return i;
|
58
58
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
59
59
|
}
|
60
|
-
return (
|
60
|
+
return ("string" === r ? String : Number)(t);
|
61
61
|
}
|
62
62
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
63
63
|
|
64
64
|
|
65
|
-
function
|
66
|
-
var
|
67
|
-
return _typeof(
|
65
|
+
function toPropertyKey(t) {
|
66
|
+
var i = toPrimitive(t, "string");
|
67
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
68
68
|
}
|
69
69
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
70
70
|
|
71
71
|
function _defineProperty(obj, key, value) {
|
72
|
-
key =
|
72
|
+
key = toPropertyKey(key);
|
73
73
|
if (key in obj) {
|
74
74
|
Object.defineProperty(obj, key, {
|
75
75
|
value: value,
|
@@ -191,8 +191,7 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
191
191
|
return _defineProperty({}, cssPropKey.value, parseInitialDivide.value);
|
192
192
|
});
|
193
193
|
var triggerStyle = (0,external_vue_namespaceObject.computed)(function () {
|
194
|
-
var
|
195
|
-
var style = (_style = {}, _defineProperty(_style, "margin-".concat(placement.value), "".concat(triggerOffset.value - triggerWidth.value, "px")), _defineProperty(_style, cssPropKey.value, "".concat(triggerWidth.value, "px")), _style);
|
194
|
+
var style = _defineProperty(_defineProperty({}, "margin-".concat(placement.value), "".concat(triggerOffset.value - triggerWidth.value, "px")), cssPropKey.value, "".concat(triggerWidth.value, "px"));
|
196
195
|
return style;
|
197
196
|
});
|
198
197
|
var parseAutoMinimize = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -380,8 +379,8 @@ const icon_namespaceObject = icon_x({ ["AngleLeft"]: () => __WEBPACK_EXTERNAL_MO
|
|
380
379
|
};
|
381
380
|
},
|
382
381
|
render: function render() {
|
383
|
-
var
|
384
|
-
var bkResizeLayoutClass = ["".concat(this.resolveClassName('resize-layout')), "".concat(this.resolveClassName("resize-layout-".concat(this.placement))), (
|
382
|
+
var _this$$slots$aside, _this$$slots, _this$$slots$collapse, _this$$slots2, _this$$slots$main, _this$$slots3;
|
383
|
+
var bkResizeLayoutClass = ["".concat(this.resolveClassName('resize-layout')), "".concat(this.resolveClassName("resize-layout-".concat(this.placement))), _defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('resize-layout-collapsed')), this.collapsed), "".concat(this.resolveClassName('resize-layout-border')), this.border), "".concat(this.resolveClassName('resize-layout-collapsible')), this.collapsible)];
|
385
384
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
386
385
|
"ref": "bkResizeLayoutRef",
|
387
386
|
"class": bkResizeLayoutClass
|
@@ -51,8 +51,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
51
51
|
collapsed: import("vue").Ref<boolean>;
|
52
52
|
asideContentVisible: import("vue").Ref<boolean>;
|
53
53
|
minimized: import("vue").Ref<boolean>;
|
54
|
-
limitMax: any
|
55
|
-
state: any
|
54
|
+
limitMax: import("vue").Ref<any>;
|
55
|
+
state: import("vue").Ref<any>;
|
56
56
|
vertical: import("vue").ComputedRef<boolean>;
|
57
57
|
cssPropKey: import("vue").ComputedRef<"width" | "height">;
|
58
58
|
bkResizeLayoutRef: import("vue").Ref<HTMLElement>;
|