bkui-vue 2.0.1-beta.52 → 2.0.1-beta.53
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 +11 -11
- package/dist/index.esm.js +636 -628
- package/dist/index.umd.js +11 -11
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/date-picker/index.js +18 -7
- package/lib/index.js +1 -1
- package/lib/message/message.css +2 -1
- package/lib/message/message.less +3 -2
- package/lib/message/message.variable.css +2 -1
- package/lib/pagination/index.js +1 -0
- package/package.json +1 -1
package/lib/date-picker/index.js
CHANGED
@@ -5311,6 +5311,17 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5311
5311
|
});
|
5312
5312
|
var pickerPanelRef = (0,external_vue_namespaceObject.ref)(null);
|
5313
5313
|
var handleClose = function handleClose(e) {
|
5314
|
+
if (props.appendToBody) {
|
5315
|
+
var _pickerPanelRef$value;
|
5316
|
+
state.disableCloseUnderTransfer = true;
|
5317
|
+
var pickerPanel = pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value = pickerPanelRef.value) === null || _pickerPanelRef$value === void 0 ? void 0 : _pickerPanelRef$value.$el;
|
5318
|
+
if (e && pickerPanel !== null && pickerPanel !== void 0 && pickerPanel.contains(e.target)) {
|
5319
|
+
return;
|
5320
|
+
}
|
5321
|
+
state.visible = false;
|
5322
|
+
e === null || e === void 0 || e.preventDefault();
|
5323
|
+
e === null || e === void 0 || e.stopPropagation();
|
5324
|
+
}
|
5314
5325
|
if (state.disableCloseUnderTransfer) {
|
5315
5326
|
state.disableCloseUnderTransfer = false;
|
5316
5327
|
return false;
|
@@ -5321,9 +5332,9 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5321
5332
|
return;
|
5322
5333
|
}
|
5323
5334
|
if (state.visible) {
|
5324
|
-
var _pickerPanelRef$
|
5325
|
-
var
|
5326
|
-
if (e &&
|
5335
|
+
var _pickerPanelRef$value2;
|
5336
|
+
var _pickerPanel = pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value2 = pickerPanelRef.value) === null || _pickerPanelRef$value2 === void 0 ? void 0 : _pickerPanelRef$value2.$el;
|
5337
|
+
if (e && _pickerPanel !== null && _pickerPanel !== void 0 && _pickerPanel.contains(e.target)) {
|
5327
5338
|
return;
|
5328
5339
|
}
|
5329
5340
|
state.visible = false;
|
@@ -5416,11 +5427,11 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5416
5427
|
}
|
5417
5428
|
};
|
5418
5429
|
var reset = function reset() {
|
5419
|
-
var _pickerPanelRef$
|
5420
|
-
pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$
|
5430
|
+
var _pickerPanelRef$value3, _pickerPanelRef$value4;
|
5431
|
+
pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value3 = pickerPanelRef.value) === null || _pickerPanelRef$value3 === void 0 || (_pickerPanelRef$value4 = _pickerPanelRef$value3.reset) === null || _pickerPanelRef$value4 === void 0 || _pickerPanelRef$value4.call(_pickerPanelRef$value3);
|
5421
5432
|
};
|
5422
5433
|
var handleBlur = function handleBlur(e) {
|
5423
|
-
var _pickerPanelRef$
|
5434
|
+
var _pickerPanelRef$value5, _formItem$validate2;
|
5424
5435
|
if (state.internalFocus) {
|
5425
5436
|
state.internalFocus = false;
|
5426
5437
|
return;
|
@@ -5433,7 +5444,7 @@ function time_picker_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
5433
5444
|
onSelectionModeChange(props.type);
|
5434
5445
|
state.internalValue = state.internalValue.slice();
|
5435
5446
|
reset();
|
5436
|
-
pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$
|
5447
|
+
pickerPanelRef === null || pickerPanelRef === void 0 || (_pickerPanelRef$value5 = pickerPanelRef.value) === null || _pickerPanelRef$value5 === void 0 || _pickerPanelRef$value5.onToggleVisibility(false);
|
5437
5448
|
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 || _formItem$validate2.call(formItem, 'blur');
|
5438
5449
|
};
|
5439
5450
|
var handleKeydown = function handleKeydown(e) {
|
package/lib/index.js
CHANGED
package/lib/message/message.css
CHANGED
@@ -216,12 +216,13 @@
|
|
216
216
|
display: flex;
|
217
217
|
}
|
218
218
|
.bk-message-content.multi .overview .left-content .describe {
|
219
|
-
display: box;
|
219
|
+
display: -webkit-box;
|
220
220
|
max-width: 560px;
|
221
221
|
max-height: 60px;
|
222
222
|
overflow: hidden;
|
223
223
|
text-overflow: ellipsis;
|
224
224
|
-webkit-box-orient: vertical;
|
225
|
+
line-clamp: 3;
|
225
226
|
-webkit-line-clamp: 3;
|
226
227
|
}
|
227
228
|
.bk-message-content.multi .overview .tools {
|
package/lib/message/message.less
CHANGED
@@ -98,12 +98,13 @@
|
|
98
98
|
display: flex;
|
99
99
|
|
100
100
|
.describe {
|
101
|
-
display: box;
|
101
|
+
display: -webkit-box;
|
102
102
|
max-width: 560px;
|
103
103
|
max-height: 60px;
|
104
104
|
overflow: hidden;
|
105
105
|
text-overflow: ellipsis;
|
106
106
|
-webkit-box-orient: vertical;
|
107
|
+
line-clamp: 3;
|
107
108
|
-webkit-line-clamp: 3;
|
108
109
|
}
|
109
110
|
}
|
@@ -204,7 +205,7 @@
|
|
204
205
|
|
205
206
|
.copy-value {
|
206
207
|
padding-left: 4px;
|
207
|
-
|
208
|
+
|
208
209
|
&:hover {
|
209
210
|
background: rgba(186, 188, 192, 0.2);
|
210
211
|
cursor: pointer;
|
@@ -476,12 +476,13 @@
|
|
476
476
|
display: flex;
|
477
477
|
}
|
478
478
|
.bk-message-content.multi .overview .left-content .describe {
|
479
|
-
display: box;
|
479
|
+
display: -webkit-box;
|
480
480
|
max-width: 560px;
|
481
481
|
max-height: 60px;
|
482
482
|
overflow: hidden;
|
483
483
|
text-overflow: ellipsis;
|
484
484
|
-webkit-box-orient: vertical;
|
485
|
+
line-clamp: 3;
|
485
486
|
-webkit-line-clamp: 3;
|
486
487
|
}
|
487
488
|
.bk-message-content.multi .overview .tools {
|
package/lib/pagination/index.js
CHANGED
@@ -655,6 +655,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
655
655
|
"ref": inputRef,
|
656
656
|
"class": "".concat(resolveClassName('pagination-editor')),
|
657
657
|
"contenteditable": !proxy.disabled,
|
658
|
+
"innerHTML": String(localCurrent.value),
|
658
659
|
"spellcheck": "false",
|
659
660
|
"onBlur": handlePageEditorBlur,
|
660
661
|
"onFocus": handlePageEditorFocus,
|