tnx-shared 5.3.327 → 5.3.329
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/bundles/tnx-shared.umd.js +5 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/form-schema.d.ts +1 -1
- package/classes/form-schema.d.ts.map +1 -1
- package/components/datetime-picker-range/datetime-picker-range.component.d.ts +2 -0
- package/components/datetime-picker-range/datetime-picker-range.component.d.ts.map +1 -1
- package/esm2015/classes/form-schema.js +2 -2
- package/esm2015/components/datetime-picker-range/datetime-picker-range.component.js +5 -1
- package/fesm2015/tnx-shared.js +5 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -1384,6 +1384,7 @@
|
|
|
1384
1384
|
_this.order = 0;
|
|
1385
1385
|
_this.showTooltip = true;
|
|
1386
1386
|
_this.showTooltipOnly = false;
|
|
1387
|
+
_this.autoSearch = true; // Dùng cho commonsearch;
|
|
1387
1388
|
for (var key in init) {
|
|
1388
1389
|
_this[key] = init[key];
|
|
1389
1390
|
}
|
|
@@ -1475,7 +1476,6 @@
|
|
|
1475
1476
|
_this.hasOperatorCanBo = false;
|
|
1476
1477
|
_this.addToGridInfo = false;
|
|
1477
1478
|
_this.isLazyLoad = false;
|
|
1478
|
-
_this.autoSearch = true; // Dùng cho commonsearch;
|
|
1479
1479
|
for (var key in init) {
|
|
1480
1480
|
_this[key] = init[key];
|
|
1481
1481
|
}
|
|
@@ -45972,8 +45972,10 @@
|
|
|
45972
45972
|
DatetimePickerRangeComponent.prototype.writeValue = function (value) {
|
|
45973
45973
|
};
|
|
45974
45974
|
DatetimePickerRangeComponent.prototype.registerOnChange = function (fn) {
|
|
45975
|
+
this.onChange = fn;
|
|
45975
45976
|
};
|
|
45976
45977
|
DatetimePickerRangeComponent.prototype.registerOnTouched = function (fn) {
|
|
45978
|
+
this.onTouched = fn;
|
|
45977
45979
|
};
|
|
45978
45980
|
DatetimePickerRangeComponent.prototype.clear = function () {
|
|
45979
45981
|
var re = (this._controlModelData[0] != null) || (this._controlModelData[1] != null);
|
|
@@ -45982,12 +45984,14 @@
|
|
|
45982
45984
|
};
|
|
45983
45985
|
DatetimePickerRangeComponent.prototype.handleChanged = function (evt) {
|
|
45984
45986
|
if (this._controlModelData[0] && this._controlModelData[1] && this._controlModelData[0] > this._controlModelData[1]) {
|
|
45987
|
+
this.onChange([this._controlModelData[1], this._controlModelData[0]]);
|
|
45985
45988
|
this.onChanged.next({
|
|
45986
45989
|
childEvent: evt,
|
|
45987
45990
|
value: [this._controlModelData[1], this._controlModelData[0]]
|
|
45988
45991
|
});
|
|
45989
45992
|
return;
|
|
45990
45993
|
}
|
|
45994
|
+
this.onChange(this._controlModelData);
|
|
45991
45995
|
this.onChanged.next({
|
|
45992
45996
|
childEvent: evt,
|
|
45993
45997
|
value: this._controlModelData
|