bkui-vue 1.0.3-beta.25 → 1.0.3-beta.27
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 +13 -15
- package/lib/alert/index.js +22 -24
- package/lib/animate-number/index.js +5 -6
- package/lib/backtop/index.js +20 -22
- package/lib/badge/index.js +19 -21
- package/lib/breadcrumb/index.js +24 -26
- package/lib/button/index.js +28 -37
- package/lib/card/index.js +35 -43
- package/lib/cascader/index.js +80 -100
- package/lib/checkbox/index.js +32 -34
- package/lib/code-diff/index.js +12 -14
- package/lib/collapse/index.js +39 -41
- package/lib/collapse-transition/index.js +8 -9
- package/lib/color-picker/index.js +48 -50
- package/lib/components.js +505 -60
- package/lib/config-provider/index.js +8 -9
- package/lib/container/index.js +19 -21
- package/lib/date-picker/index.js +65 -73
- package/lib/dialog/index.js +49 -63
- package/lib/directives/index.js +12 -13
- package/lib/dist.index.js +62 -5
- package/lib/divider/index.js +13 -15
- package/lib/dropdown/index.js +24 -32
- package/lib/exception/index.js +11 -13
- package/lib/fixed-navbar/index.js +13 -15
- package/lib/form/index.js +48 -50
- package/lib/hooks.js +48 -1
- package/lib/icon/index.js +0 -1
- package/lib/image/index.js +38 -39
- package/lib/index.js +72 -7
- package/lib/info-box/index.js +13 -21
- package/lib/input/index.js +59 -61
- package/lib/link/index.js +13 -15
- package/lib/loading/index.js +17 -19
- package/lib/locale/index.js +0 -1
- package/lib/menu/index.js +13 -15
- package/lib/message/index.js +38 -40
- package/lib/modal/index.js +41 -43
- package/lib/navigation/index.js +14 -16
- package/lib/notify/index.js +31 -33
- package/lib/overflow-title/index.js +14 -22
- package/lib/pagination/index.js +50 -65
- package/lib/plugin-popover/index.js +53 -54
- package/lib/plugins/index.js +0 -1
- package/lib/pop-confirm/index.js +28 -42
- package/lib/popover/index.js +52 -54
- package/lib/popover2/index.js +3 -4
- package/lib/preset.js +64 -18
- package/lib/process/index.js +26 -27
- package/lib/progress/index.js +26 -28
- package/lib/radio/index.js +32 -34
- package/lib/rate/index.js +22 -24
- package/lib/resize-layout/index.js +25 -27
- package/lib/search-select/index.js +49 -68
- package/lib/select/index.js +129 -168
- package/lib/shared/index.js +0 -1
- package/lib/sideslider/index.js +14 -22
- package/lib/slider/index.js +22 -36
- package/lib/steps/index.js +28 -30
- package/lib/swiper/index.js +14 -16
- package/lib/switcher/index.js +29 -31
- package/lib/tab/index.js +44 -46
- package/lib/table/index.js +148 -207
- package/lib/table-column/index.js +42 -43
- package/lib/tag/index.js +19 -21
- package/lib/tag-input/index.js +65 -80
- package/lib/time-picker/index.js +7 -9
- package/lib/timeline/index.js +12 -13
- package/lib/transfer/index.js +36 -51
- package/lib/tree/index.js +72 -92
- package/lib/upload/index.js +48 -63
- package/lib/virtual-render/index.js +33 -35
- package/package.json +1 -1
package/lib/button/index.js
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
import "../
|
2
|
-
import "./button.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
4
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as
|
6
|
-
import * as
|
7
|
-
import "../loading/loading.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__ from "../loading";
|
8
5
|
/******/ // The require scope
|
9
6
|
/******/ var __webpack_require__ = {};
|
10
7
|
/******/
|
@@ -39,7 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
39
36
|
;// CONCATENATED MODULE: external "../shared"
|
40
37
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
38
|
var y = x => () => x
|
42
|
-
const
|
39
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstallProps });
|
43
40
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
44
41
|
function _typeof(o) {
|
45
42
|
"@babel/helpers - typeof";
|
@@ -90,17 +87,13 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
90
87
|
var external_vue_y = x => () => x
|
91
88
|
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, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
92
89
|
;// CONCATENATED MODULE: external "../config-provider"
|
93
|
-
var
|
94
|
-
var
|
95
|
-
const
|
90
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
91
|
+
var external_config_provider_y = x => () => x
|
92
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
96
93
|
;// CONCATENATED MODULE: external "../loading"
|
97
|
-
var
|
98
|
-
var
|
99
|
-
const
|
100
|
-
;// CONCATENATED MODULE: external "../loading/loading.less"
|
101
|
-
var loading_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
102
|
-
var loading_less_y = x => () => x
|
103
|
-
const loading_less_namespaceObject = loading_less_x({ });
|
94
|
+
var external_loading_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
|
+
var external_loading_y = x => () => x
|
96
|
+
const external_loading_namespaceObject = external_loading_x({ ["BkLoadingSize"]: () => __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__.BkLoadingSize, ["default"]: () => __WEBPACK_EXTERNAL_MODULE__loading_4d683b23__["default"] });
|
104
97
|
;// CONCATENATED MODULE: ../../packages/button/src/button.tsx
|
105
98
|
|
106
99
|
|
@@ -133,28 +126,26 @@ const loading_less_namespaceObject = loading_less_x({ });
|
|
133
126
|
|
134
127
|
|
135
128
|
|
136
|
-
|
137
|
-
|
138
129
|
var btnSizes = ['', 'small', 'large'];
|
139
130
|
var buttonProps = {
|
140
|
-
theme:
|
141
|
-
hoverTheme:
|
131
|
+
theme: external_shared_namespaceObject.PropTypes.theme(),
|
132
|
+
hoverTheme: external_shared_namespaceObject.PropTypes.theme(),
|
142
133
|
size: {
|
143
134
|
type: String,
|
144
135
|
"default": btnSizes[0]
|
145
136
|
},
|
146
|
-
title:
|
147
|
-
icon:
|
148
|
-
iconRight:
|
149
|
-
disabled:
|
150
|
-
loading:
|
137
|
+
title: external_shared_namespaceObject.PropTypes.string,
|
138
|
+
icon: external_shared_namespaceObject.PropTypes.string,
|
139
|
+
iconRight: external_shared_namespaceObject.PropTypes.string,
|
140
|
+
disabled: external_shared_namespaceObject.PropTypes.bool,
|
141
|
+
loading: external_shared_namespaceObject.PropTypes.bool,
|
151
142
|
loadingMode: {
|
152
143
|
type: String,
|
153
144
|
"default": 'default'
|
154
145
|
},
|
155
|
-
outline:
|
156
|
-
text:
|
157
|
-
selected:
|
146
|
+
outline: external_shared_namespaceObject.PropTypes.bool,
|
147
|
+
text: external_shared_namespaceObject.PropTypes.bool,
|
148
|
+
selected: external_shared_namespaceObject.PropTypes.bool,
|
158
149
|
// circle: PropTypes.bool,
|
159
150
|
nativeType: {
|
160
151
|
type: String,
|
@@ -172,7 +163,7 @@ var buttonProps = {
|
|
172
163
|
emit = _ref.emit;
|
173
164
|
var isHover = (0,external_vue_namespaceObject.ref)(false);
|
174
165
|
var showSlot = (_slots$default = slots["default"]) !== null && _slots$default !== void 0 ? _slots$default : false;
|
175
|
-
var _usePrefix = (0,
|
166
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
176
167
|
resolveClassName = _usePrefix.resolveClassName;
|
177
168
|
var btnClsPrefix = resolveClassName('button');
|
178
169
|
var isText = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -182,7 +173,7 @@ var buttonProps = {
|
|
182
173
|
var hoverTheme = props.hoverTheme ? "".concat(btnClsPrefix, "-hover-").concat(props.hoverTheme) : '';
|
183
174
|
var btnThemeCls = props.theme ? "".concat(btnClsPrefix, "-").concat(props.theme) : '';
|
184
175
|
var themeCls = props.hoverTheme ? '' : btnThemeCls;
|
185
|
-
return (0,
|
176
|
+
return (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty({
|
186
177
|
'is-disabled': props.disabled,
|
187
178
|
'is-outline': props.outline,
|
188
179
|
'is-text': isText.value,
|
@@ -199,7 +190,7 @@ var buttonProps = {
|
|
199
190
|
return !props.theme ? undefined : 'white';
|
200
191
|
});
|
201
192
|
var loadingSize = (0,external_vue_namespaceObject.computed)(function () {
|
202
|
-
return isText.value || props.size ===
|
193
|
+
return isText.value || props.size === external_loading_namespaceObject.BkLoadingSize.Small ? external_loading_namespaceObject.BkLoadingSize.Mini : external_loading_namespaceObject.BkLoadingSize.Small;
|
203
194
|
});
|
204
195
|
var handleClick = function handleClick(e) {
|
205
196
|
if (props.loading) return;
|
@@ -226,7 +217,7 @@ var buttonProps = {
|
|
226
217
|
"onClick": handleClick,
|
227
218
|
"onMouseover": handleMouseOver,
|
228
219
|
"onMouseleave": handleMouseout
|
229
|
-
}, [props.loading && (0,external_vue_namespaceObject.createVNode)(
|
220
|
+
}, [props.loading && (0,external_vue_namespaceObject.createVNode)(external_loading_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
|
230
221
|
"loading": true,
|
231
222
|
"class": "".concat(btnClsPrefix, "-loading"),
|
232
223
|
"mode": props.loadingMode,
|
@@ -273,13 +264,13 @@ var buttonProps = {
|
|
273
264
|
/* harmony default export */ const button_group = ((0,external_vue_namespaceObject.defineComponent)({
|
274
265
|
name: 'ButtonGroup',
|
275
266
|
props: {
|
276
|
-
size:
|
267
|
+
size: external_shared_namespaceObject.PropTypes.size()
|
277
268
|
},
|
278
269
|
setup: function setup(props, ctx) {
|
279
|
-
var _usePrefix = (0,
|
270
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
280
271
|
resolveClassName = _usePrefix.resolveClassName;
|
281
272
|
var btnGroupCls = (0,external_vue_namespaceObject.computed)(function () {
|
282
|
-
return (0,
|
273
|
+
return (0,external_shared_namespaceObject.classes)(_defineProperty({}, "".concat(resolveClassName("button-group-".concat(props.size))), !!props.size), "".concat(resolveClassName('button-group')));
|
283
274
|
});
|
284
275
|
return function () {
|
285
276
|
var _ctx$slots$default, _ctx$slots;
|
@@ -318,7 +309,7 @@ var buttonProps = {
|
|
318
309
|
|
319
310
|
|
320
311
|
|
321
|
-
var BkButton = (0,
|
312
|
+
var BkButton = (0,external_shared_namespaceObject.withInstallProps)(src_button, {
|
322
313
|
ButtonGroup: button_group
|
323
314
|
});
|
324
315
|
/* harmony default export */ const src = (BkButton);
|
package/lib/card/index.js
CHANGED
@@ -1,12 +1,9 @@
|
|
1
|
-
import "../
|
2
|
-
import "./card.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
4
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as
|
6
|
-
import * as
|
7
|
-
import * as
|
8
|
-
import * as
|
9
|
-
import "../input/input.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__collapse_transition_cbd5c828__ from "../collapse-transition";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__input_752b0149__ from "../input";
|
10
7
|
/******/ // The require scope
|
11
8
|
/******/ var __webpack_require__ = {};
|
12
9
|
/******/
|
@@ -39,7 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
39
36
|
;// CONCATENATED MODULE: external "../shared"
|
40
37
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
38
|
var y = x => () => x
|
42
|
-
const
|
39
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
43
40
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
44
41
|
function _typeof(o) {
|
45
42
|
"@babel/helpers - typeof";
|
@@ -90,25 +87,21 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
90
87
|
var external_vue_y = x => () => x
|
91
88
|
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
92
89
|
;// CONCATENATED MODULE: external "../collapse-transition"
|
93
|
-
var
|
94
|
-
var
|
95
|
-
const
|
90
|
+
var external_collapse_transition_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
91
|
+
var external_collapse_transition_y = x => () => x
|
92
|
+
const external_collapse_transition_namespaceObject = external_collapse_transition_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__collapse_transition_cbd5c828__["default"] });
|
96
93
|
;// CONCATENATED MODULE: external "../config-provider"
|
97
|
-
var
|
98
|
-
var
|
99
|
-
const
|
94
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
95
|
+
var external_config_provider_y = x => () => x
|
96
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
100
97
|
;// CONCATENATED MODULE: external "../icon"
|
101
|
-
var
|
102
|
-
var
|
103
|
-
const
|
98
|
+
var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
99
|
+
var external_icon_y = x => () => x
|
100
|
+
const external_icon_namespaceObject = external_icon_x({ ["AngleDown"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.AngleDown, ["AngleRight"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.AngleRight, ["EditLine"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.EditLine });
|
104
101
|
;// CONCATENATED MODULE: external "../input"
|
105
|
-
var
|
106
|
-
var
|
107
|
-
const
|
108
|
-
;// CONCATENATED MODULE: external "../input/input.less"
|
109
|
-
var input_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
110
|
-
var input_less_y = x => () => x
|
111
|
-
const input_less_namespaceObject = input_less_x({ });
|
102
|
+
var external_input_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
103
|
+
var external_input_y = x => () => x
|
104
|
+
const external_input_namespaceObject = external_input_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__input_752b0149__["default"] });
|
112
105
|
;// CONCATENATED MODULE: ../../packages/card/src/card.tsx
|
113
106
|
|
114
107
|
|
@@ -143,19 +136,18 @@ const input_less_namespaceObject = input_less_x({ });
|
|
143
136
|
|
144
137
|
|
145
138
|
|
146
|
-
|
147
139
|
/* harmony default export */ const card = ((0,external_vue_namespaceObject.defineComponent)({
|
148
140
|
name: 'Card',
|
149
141
|
props: {
|
150
|
-
title:
|
151
|
-
showHeader:
|
152
|
-
showFooter:
|
153
|
-
collapseStatus:
|
154
|
-
border:
|
155
|
-
disableHeaderStyle:
|
156
|
-
position:
|
157
|
-
isEdit:
|
158
|
-
isCollapse:
|
142
|
+
title: external_shared_namespaceObject.PropTypes.string,
|
143
|
+
showHeader: external_shared_namespaceObject.PropTypes.bool.def(true),
|
144
|
+
showFooter: external_shared_namespaceObject.PropTypes.bool.def(false),
|
145
|
+
collapseStatus: external_shared_namespaceObject.PropTypes.bool.def(true),
|
146
|
+
border: external_shared_namespaceObject.PropTypes.bool.def(true),
|
147
|
+
disableHeaderStyle: external_shared_namespaceObject.PropTypes.bool.def(false),
|
148
|
+
position: external_shared_namespaceObject.PropTypes.string.def('left'),
|
149
|
+
isEdit: external_shared_namespaceObject.PropTypes.bool.def(false),
|
150
|
+
isCollapse: external_shared_namespaceObject.PropTypes.bool.def(false)
|
159
151
|
},
|
160
152
|
emits: ['update:collapseStatus', 'edit'],
|
161
153
|
setup: function setup(props, _ref) {
|
@@ -195,7 +187,7 @@ const input_less_namespaceObject = input_less_x({ });
|
|
195
187
|
}, {
|
196
188
|
immediate: true
|
197
189
|
});
|
198
|
-
var _usePrefix = (0,
|
190
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
199
191
|
resolveClassName = _usePrefix.resolveClassName;
|
200
192
|
var wrapperClsName = resolveClassName('card');
|
201
193
|
return {
|
@@ -222,12 +214,12 @@ const input_less_namespaceObject = input_less_x({ });
|
|
222
214
|
_this$$slots$footer,
|
223
215
|
_this$$slots$footer2,
|
224
216
|
_this$$slots4;
|
225
|
-
var cardClass = (0,
|
226
|
-
var headClass = (0,
|
217
|
+
var cardClass = (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(this.wrapperClsName), true), "".concat(this.wrapperClsName, "-border-none"), !this.$props.border), '');
|
218
|
+
var headClass = (0,external_shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.wrapperClsName, "-head"), true), "".concat(this.wrapperClsName, "-head-").concat(this.$props.position), this.$props.isCollapse && this.$props.position), 'no-line-height', this.$props.disableHeaderStyle), 'collapse', !this.collapseActive), '');
|
227
219
|
var defaultHeader = (0,external_vue_namespaceObject.createVNode)("div", {
|
228
220
|
"class": "title",
|
229
221
|
"title": this.renderTitle
|
230
|
-
}, [this.showInput ? (0,external_vue_namespaceObject.createVNode)(
|
222
|
+
}, [this.showInput ? (0,external_vue_namespaceObject.createVNode)(external_input_namespaceObject["default"], {
|
231
223
|
"class": "".concat(this.wrapperClsName, "-input"),
|
232
224
|
"modelValue": _this.renderTitle,
|
233
225
|
"onUpdate:modelValue": function onUpdateModelValue($event) {
|
@@ -238,15 +230,15 @@ const input_less_namespaceObject = input_less_x({ });
|
|
238
230
|
var defaultIcon = (0,external_vue_namespaceObject.createVNode)("span", {
|
239
231
|
"class": "".concat(this.wrapperClsName, "-icon"),
|
240
232
|
"onClick": this.handleCollapse
|
241
|
-
}, [this.collapseActive ? (0,external_vue_namespaceObject.createVNode)(
|
233
|
+
}, [this.collapseActive ? (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleDown, null, null) : (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.AngleRight, null, null)]);
|
242
234
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
243
235
|
"class": cardClass
|
244
236
|
}, [this.$props.showHeader ? (0,external_vue_namespaceObject.createVNode)("div", {
|
245
237
|
"class": headClass
|
246
|
-
}, [this.$props.isCollapse && ((_this$$slots$icon = (_this$$slots$icon2 = (_this$$slots = this.$slots).icon) === null || _this$$slots$icon2 === void 0 ? void 0 : _this$$slots$icon2.call(_this$$slots)) !== null && _this$$slots$icon !== void 0 ? _this$$slots$icon : defaultIcon), (_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : defaultHeader, this.$props.isEdit && !this.showInput && (0,external_vue_namespaceObject.createVNode)(
|
238
|
+
}, [this.$props.isCollapse && ((_this$$slots$icon = (_this$$slots$icon2 = (_this$$slots = this.$slots).icon) === null || _this$$slots$icon2 === void 0 ? void 0 : _this$$slots$icon2.call(_this$$slots)) !== null && _this$$slots$icon !== void 0 ? _this$$slots$icon : defaultIcon), (_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : defaultHeader, this.$props.isEdit && !this.showInput && (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.EditLine, {
|
247
239
|
"class": "".concat(this.wrapperClsName, "-edit"),
|
248
240
|
"onClick": this.clickEdit
|
249
|
-
}, null)]) : '', (0,external_vue_namespaceObject.createVNode)(
|
241
|
+
}, null)]) : '', (0,external_vue_namespaceObject.createVNode)(external_collapse_transition_namespaceObject["default"], null, {
|
250
242
|
"default": function _default() {
|
251
243
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", null, [(0,external_vue_namespaceObject.createVNode)("div", {
|
252
244
|
"class": "".concat(_this.wrapperClsName, "-body")
|
@@ -285,7 +277,7 @@ const input_less_namespaceObject = input_less_x({ });
|
|
285
277
|
*/
|
286
278
|
|
287
279
|
|
288
|
-
var BkCard = (0,
|
280
|
+
var BkCard = (0,external_shared_namespaceObject.withInstall)(card);
|
289
281
|
/* harmony default export */ const src = (BkCard);
|
290
282
|
var __webpack_exports__default = __webpack_exports__["default"];
|
291
283
|
export { __webpack_exports__default as default };
|