vxe-table 4.2.3-beta.0 → 4.2.3
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/es/input/src/input.js +13 -6
- package/es/table/src/table.js +0 -1
- package/es/tools/log.js +1 -1
- package/es/v-x-e-table/index.js +1 -1
- package/lib/index.umd.js +18 -9
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +14 -6
- package/lib/input/src/input.min.js +1 -1
- package/lib/table/src/table.js +0 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/package.json +1 -1
- package/packages/input/src/input.ts +14 -7
- package/packages/table/src/table.ts +0 -1
- package/types/input.d.ts +9 -0
package/es/input/src/input.js
CHANGED
|
@@ -569,10 +569,13 @@ export default defineComponent({
|
|
|
569
569
|
};
|
|
570
570
|
var hidePanelTimeout;
|
|
571
571
|
var hidePanel = function () {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
572
|
+
return new Promise(function (resolve) {
|
|
573
|
+
reactData.visiblePanel = false;
|
|
574
|
+
hidePanelTimeout = window.setTimeout(function () {
|
|
575
|
+
reactData.animatVisible = false;
|
|
576
|
+
resolve();
|
|
577
|
+
}, 350);
|
|
578
|
+
});
|
|
576
579
|
};
|
|
577
580
|
var clearValueEvent = function (evnt, value) {
|
|
578
581
|
var type = props.type;
|
|
@@ -1387,8 +1390,9 @@ export default defineComponent({
|
|
|
1387
1390
|
reactData.visiblePanel = true;
|
|
1388
1391
|
}, 10);
|
|
1389
1392
|
updateZindex();
|
|
1390
|
-
updatePlacement();
|
|
1393
|
+
return updatePlacement();
|
|
1391
1394
|
}
|
|
1395
|
+
return nextTick();
|
|
1392
1396
|
};
|
|
1393
1397
|
var datePickerOpenEvent = function (evnt) {
|
|
1394
1398
|
var readonly = props.readonly;
|
|
@@ -2081,7 +2085,10 @@ export default defineComponent({
|
|
|
2081
2085
|
inputElem.blur();
|
|
2082
2086
|
reactData.isActivated = false;
|
|
2083
2087
|
return nextTick();
|
|
2084
|
-
}
|
|
2088
|
+
},
|
|
2089
|
+
showPanel: showPanel,
|
|
2090
|
+
hidePanel: hidePanel,
|
|
2091
|
+
updatePlacement: updatePlacement
|
|
2085
2092
|
};
|
|
2086
2093
|
Object.assign($xeinput, inputMethods);
|
|
2087
2094
|
watch(function () { return props.modelValue; }, function (val) {
|
package/es/table/src/table.js
CHANGED
package/es/tools/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import GlobalConfig from '../v-x-e-table/src/conf';
|
|
2
2
|
export function getLog(message, params) {
|
|
3
|
-
return "[vxe-table v" + "4.2.3
|
|
3
|
+
return "[vxe-table v" + "4.2.3" + "] " + GlobalConfig.i18n(message, params);
|
|
4
4
|
}
|
|
5
5
|
function outLog(type) {
|
|
6
6
|
return function (message, params) {
|
package/es/v-x-e-table/index.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -8802,7 +8802,7 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
8802
8802
|
|
|
8803
8803
|
|
|
8804
8804
|
function getLog(message, params) {
|
|
8805
|
-
return "[vxe-table v".concat("4.2.3
|
|
8805
|
+
return "[vxe-table v".concat("4.2.3", "] ").concat(conf.i18n(message, params));
|
|
8806
8806
|
}
|
|
8807
8807
|
|
|
8808
8808
|
function outLog(type) {
|
|
@@ -10807,7 +10807,7 @@ var v_x_e_table_config = new v_x_e_table_VXETableConfig();
|
|
|
10807
10807
|
var v = 'v4';
|
|
10808
10808
|
var VXETable = {
|
|
10809
10809
|
v: v,
|
|
10810
|
-
version: "4.2.3
|
|
10810
|
+
version: "4.2.3",
|
|
10811
10811
|
setup: setup_setup,
|
|
10812
10812
|
interceptor: interceptor,
|
|
10813
10813
|
renderer: renderer,
|
|
@@ -14987,6 +14987,8 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
14987
14987
|
|
|
14988
14988
|
|
|
14989
14989
|
|
|
14990
|
+
|
|
14991
|
+
|
|
14990
14992
|
|
|
14991
14993
|
|
|
14992
14994
|
|
|
@@ -15716,10 +15718,13 @@ var quarterSize = 8;
|
|
|
15716
15718
|
var hidePanelTimeout;
|
|
15717
15719
|
|
|
15718
15720
|
var hidePanel = function hidePanel() {
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15721
|
+
return new Promise(function (resolve) {
|
|
15722
|
+
reactData.visiblePanel = false;
|
|
15723
|
+
hidePanelTimeout = window.setTimeout(function () {
|
|
15724
|
+
reactData.animatVisible = false;
|
|
15725
|
+
resolve();
|
|
15726
|
+
}, 350);
|
|
15727
|
+
});
|
|
15723
15728
|
};
|
|
15724
15729
|
|
|
15725
15730
|
var clearValueEvent = function clearValueEvent(evnt, value) {
|
|
@@ -16720,8 +16725,10 @@ var quarterSize = 8;
|
|
|
16720
16725
|
reactData.visiblePanel = true;
|
|
16721
16726
|
}, 10);
|
|
16722
16727
|
updateZindex();
|
|
16723
|
-
updatePlacement();
|
|
16728
|
+
return updatePlacement();
|
|
16724
16729
|
}
|
|
16730
|
+
|
|
16731
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
|
|
16725
16732
|
};
|
|
16726
16733
|
|
|
16727
16734
|
var datePickerOpenEvent = function datePickerOpenEvent(evnt) {
|
|
@@ -17436,7 +17443,10 @@ var quarterSize = 8;
|
|
|
17436
17443
|
inputElem.blur();
|
|
17437
17444
|
reactData.isActivated = false;
|
|
17438
17445
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])();
|
|
17439
|
-
}
|
|
17446
|
+
},
|
|
17447
|
+
showPanel: showPanel,
|
|
17448
|
+
hidePanel: hidePanel,
|
|
17449
|
+
updatePlacement: updatePlacement
|
|
17440
17450
|
};
|
|
17441
17451
|
Object.assign($xeinput, inputMethods);
|
|
17442
17452
|
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["watch"])(function () {
|
|
@@ -33528,7 +33538,6 @@ var visibleStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_VISIBLE';
|
|
|
33528
33538
|
});
|
|
33529
33539
|
}
|
|
33530
33540
|
|
|
33531
|
-
console.log(headerHeight);
|
|
33532
33541
|
internalData.headerHeight = headerHeight;
|
|
33533
33542
|
var overflowX = false;
|
|
33534
33543
|
var footerHeight = 0;
|