vxe-table 3.6.9 → 3.6.10-beta.0
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/icon/style/{iconfont.1670947519373.ttf → iconfont.1673016554584.ttf} +0 -0
- package/lib/icon/style/{iconfont.1670947519373.woff → iconfont.1673016554584.woff} +0 -0
- package/lib/icon/style/{iconfont.1670947519373.woff2 → iconfont.1673016554584.woff2} +0 -0
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/{iconfont.1670947519373.ttf → iconfont.1673016554584.ttf} +0 -0
- package/lib/{iconfont.1670947519373.woff → iconfont.1673016554584.woff} +0 -0
- package/lib/{iconfont.1670947519373.woff2 → iconfont.1673016554584.woff2} +0 -0
- package/lib/index.css +1 -1
- package/lib/index.umd.js +51 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +42 -4
- package/lib/input/src/input.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/methods.js +8 -2
- package/lib/table/src/methods.min.js +1 -1
- package/package.json +1 -1
- package/packages/input/src/input.js +31 -4
- package/packages/table/src/methods.js +8 -2
package/lib/index.umd.js
CHANGED
|
@@ -17813,8 +17813,14 @@ var Methods = {
|
|
|
17813
17813
|
column = params.column;
|
|
17814
17814
|
var cell = evnt.currentTarget;
|
|
17815
17815
|
this.handleTargetEnterEvent(tooltipStore.column !== column || tooltipStore.row !== row);
|
|
17816
|
-
|
|
17817
|
-
|
|
17816
|
+
// 单元格处于编辑状态时不触发提示框
|
|
17817
|
+
if (column.editRender && isEnableConf(editConfig)) {
|
|
17818
|
+
// 如果是行编辑模式
|
|
17819
|
+
if (editOpts.mode === 'row' && actived.row === row) {
|
|
17820
|
+
return;
|
|
17821
|
+
}
|
|
17822
|
+
// 如果是单元格编辑模式
|
|
17823
|
+
if (actived.row === row && actived.column === column) {
|
|
17818
17824
|
return;
|
|
17819
17825
|
}
|
|
17820
17826
|
}
|
|
@@ -24758,6 +24764,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
24758
24764
|
|
|
24759
24765
|
|
|
24760
24766
|
|
|
24767
|
+
|
|
24761
24768
|
|
|
24762
24769
|
|
|
24763
24770
|
var yearSize = 12;
|
|
@@ -26623,8 +26630,39 @@ function renderExtraSuffixIcon(h, _vm) {
|
|
|
26623
26630
|
this.dateTimeChangeEvent(evnt);
|
|
26624
26631
|
},
|
|
26625
26632
|
dateConfirmEvent: function dateConfirmEvent() {
|
|
26626
|
-
|
|
26627
|
-
|
|
26633
|
+
var datetimePanelValue = this.datetimePanelValue,
|
|
26634
|
+
isDateTimeType = this.isDateTimeType,
|
|
26635
|
+
dateValueFormat = this.dateValueFormat,
|
|
26636
|
+
dateMultipleValue = this.dateMultipleValue;
|
|
26637
|
+
if (this.isDateTimeType) {
|
|
26638
|
+
if (this.multiple) {
|
|
26639
|
+
// 如果为多选
|
|
26640
|
+
if (isDateTimeType) {
|
|
26641
|
+
// 如果是datetime特殊类型
|
|
26642
|
+
var dateListValue = this.dateListValue;
|
|
26643
|
+
var datetimeRest = [];
|
|
26644
|
+
dateListValue.forEach(function (item) {
|
|
26645
|
+
if (item) {
|
|
26646
|
+
item.setHours(datetimePanelValue.getHours());
|
|
26647
|
+
item.setMinutes(datetimePanelValue.getMinutes());
|
|
26648
|
+
item.setSeconds(datetimePanelValue.getSeconds());
|
|
26649
|
+
datetimeRest.push(item);
|
|
26650
|
+
}
|
|
26651
|
+
});
|
|
26652
|
+
this.emitModel(datetimeRest.map(function (date) {
|
|
26653
|
+
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat);
|
|
26654
|
+
}).join(','), {
|
|
26655
|
+
type: 'update'
|
|
26656
|
+
});
|
|
26657
|
+
} else {
|
|
26658
|
+
// 如果是日期类型
|
|
26659
|
+
this.emitModel(dateMultipleValue.join(','), {
|
|
26660
|
+
type: 'update'
|
|
26661
|
+
});
|
|
26662
|
+
}
|
|
26663
|
+
} else {
|
|
26664
|
+
this.dateChange(this.dateValue || this.currentDate);
|
|
26665
|
+
}
|
|
26628
26666
|
}
|
|
26629
26667
|
this.hidePanel();
|
|
26630
26668
|
},
|
|
@@ -26828,15 +26866,22 @@ function renderExtraSuffixIcon(h, _vm) {
|
|
|
26828
26866
|
// 如果是datetime特殊类型
|
|
26829
26867
|
var dateListValue = this.dateListValue;
|
|
26830
26868
|
var datetimeRest = [];
|
|
26869
|
+
var eqIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(dateListValue, function (val) {
|
|
26870
|
+
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(date, val, 'yyyyMMdd');
|
|
26871
|
+
});
|
|
26872
|
+
if (eqIndex === -1) {
|
|
26873
|
+
dateListValue.push(date);
|
|
26874
|
+
} else {
|
|
26875
|
+
dateListValue.splice(eqIndex, 1);
|
|
26876
|
+
}
|
|
26831
26877
|
dateListValue.forEach(function (item) {
|
|
26832
|
-
if (item
|
|
26878
|
+
if (item) {
|
|
26833
26879
|
item.setHours(datetimePanelValue.getHours());
|
|
26834
26880
|
item.setMinutes(datetimePanelValue.getMinutes());
|
|
26835
26881
|
item.setSeconds(datetimePanelValue.getSeconds());
|
|
26836
26882
|
datetimeRest.push(item);
|
|
26837
26883
|
}
|
|
26838
26884
|
});
|
|
26839
|
-
datetimeRest.push(date);
|
|
26840
26885
|
this.emitModel(datetimeRest.map(function (date) {
|
|
26841
26886
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat);
|
|
26842
26887
|
}).join(','), {
|