@c10t/nice-component-library 0.0.32 → 0.0.34
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.
|
@@ -2605,6 +2605,7 @@ class CvaTableComponent {
|
|
|
2605
2605
|
set paging(value) {
|
|
2606
2606
|
if (value) {
|
|
2607
2607
|
this.varPaging = value;
|
|
2608
|
+
this.goToPageNumber = this.varPaging.pageNumber;
|
|
2608
2609
|
}
|
|
2609
2610
|
}
|
|
2610
2611
|
isExpandColumn(col) {
|
|
@@ -5982,6 +5983,8 @@ class CvaRangeDatePickerComponent {
|
|
|
5982
5983
|
}
|
|
5983
5984
|
set fromDateValue(val) {
|
|
5984
5985
|
this.value.fromDate = val;
|
|
5986
|
+
this.value.toDate = '';
|
|
5987
|
+
this.writeValue(this.value);
|
|
5985
5988
|
}
|
|
5986
5989
|
get toDateValue() {
|
|
5987
5990
|
if (this.value.toDate instanceof Date) {
|
|
@@ -6018,16 +6021,15 @@ class CvaRangeDatePickerComponent {
|
|
|
6018
6021
|
if (!this.defaultFromDate && this.value.fromDate instanceof Date) {
|
|
6019
6022
|
this.defaultFromDate = this.prepareWriteValueData(this.value.fromDate);
|
|
6020
6023
|
}
|
|
6021
|
-
// this.value = obj;
|
|
6022
6024
|
this.value.fromDate = this.prepareWriteValueData(obj.fromDate);
|
|
6023
6025
|
this.value.toDate = this.prepareWriteValueData(obj.toDate);
|
|
6024
6026
|
this.createTitle();
|
|
6025
|
-
this.propagateChange(this.value);
|
|
6026
|
-
this.callValidator();
|
|
6027
|
-
this.onChange.emit(this.value);
|
|
6028
6027
|
if (this.defaultFromDate && this.getDisabled(this.disabledFromDate)) {
|
|
6029
6028
|
this.value.fromDate = new Date(this.defaultFromDate.replace('Z', ''));
|
|
6030
6029
|
}
|
|
6030
|
+
this.propagateChange(this.value);
|
|
6031
|
+
this.callValidator();
|
|
6032
|
+
this.onChange.emit(this.value);
|
|
6031
6033
|
}
|
|
6032
6034
|
getDisabled(disabled) {
|
|
6033
6035
|
return typeof disabled === 'function' ? disabled() : disabled;
|