@onecx/angular-accelerator 4.37.1 → 4.39.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/esm2020/lib/components/custom-group-column-selector/custom-group-column-selector.component.mjs +3 -2
- package/esm2020/lib/utils/dateutils.mjs +4 -1
- package/fesm2015/onecx-angular-accelerator.mjs +6 -2
- package/fesm2015/onecx-angular-accelerator.mjs.map +1 -1
- package/fesm2020/onecx-angular-accelerator.mjs +6 -2
- package/fesm2020/onecx-angular-accelerator.mjs.map +1 -1
- package/lib/utils/dateutils.d.ts +1 -0
- package/package.json +8 -8
|
@@ -880,7 +880,8 @@ class CustomGroupColumnSelectorComponent {
|
|
|
880
880
|
this.visible = false;
|
|
881
881
|
const colIdsBefore = this.displayedColumns.map((column) => column.id);
|
|
882
882
|
const colIdsAfter = this.displayedColumnsModel.map((column) => column.id);
|
|
883
|
-
if (!colIdsAfter.every((colId, i) => colId === colIdsBefore[i]))
|
|
883
|
+
if ((!colIdsAfter.every((colId, i) => colId === colIdsBefore[i])) ||
|
|
884
|
+
colIdsAfter.length != colIdsBefore.length) {
|
|
884
885
|
this.columnSelectionChanged.emit({ activeColumns: [...this.displayedColumnsModel] });
|
|
885
886
|
}
|
|
886
887
|
if (this.frozenActionColumn != this.frozenActionColumnModel ||
|
|
@@ -3413,6 +3414,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3413
3414
|
type: Inject,
|
|
3414
3415
|
args: [LOCALE_ID]
|
|
3415
3416
|
}] }]; } });
|
|
3417
|
+
function isValidDate(value) {
|
|
3418
|
+
return value instanceof Date && !isNaN(value);
|
|
3419
|
+
}
|
|
3416
3420
|
|
|
3417
3421
|
let lastTranslateLoaderTimerId = 0;
|
|
3418
3422
|
function createRemoteComponentTranslateLoader(http, baseUrlReplaySubject$, translationCacheService) {
|
|
@@ -3443,5 +3447,5 @@ function enumToDropdownOptions(translateService, enumType, translationKeyPrefix)
|
|
|
3443
3447
|
* Generated bundle index. Do not edit.
|
|
3444
3448
|
*/
|
|
3445
3449
|
|
|
3446
|
-
export { AdvancedDirective, AngularAcceleratorMissingTranslationHandler, AngularAcceleratorModule, AngularAcceleratorPrimeNgModule, AppConfigService, AsyncTranslateLoader, BreadcrumbService, CachingTranslateLoader, ColorUtils, ColumnGroupSelectionComponent, ColumnType, CustomGroupColumnSelectorComponent, DataLayoutSelectionComponent, DataListGridComponent, DataListGridSortingComponent, DataTableComponent, DataViewComponent, DateUtils, DiagramComponent, DynamicPipe, GroupByCountDiagramComponent, IfBreakpointDirective, IfPermissionDirective, InteractiveDataViewComponent, ObjectUtils, OcxTimeAgoPipe, PageHeaderComponent, SearchConfigComponent, SearchHeaderComponent, SrcDirective, TranslateCombinedLoader, TranslationCacheService, createRemoteComponentTranslateLoader, createTranslateLoader, enumToDropdownOptions, flattenObject };
|
|
3450
|
+
export { AdvancedDirective, AngularAcceleratorMissingTranslationHandler, AngularAcceleratorModule, AngularAcceleratorPrimeNgModule, AppConfigService, AsyncTranslateLoader, BreadcrumbService, CachingTranslateLoader, ColorUtils, ColumnGroupSelectionComponent, ColumnType, CustomGroupColumnSelectorComponent, DataLayoutSelectionComponent, DataListGridComponent, DataListGridSortingComponent, DataTableComponent, DataViewComponent, DateUtils, DiagramComponent, DynamicPipe, GroupByCountDiagramComponent, IfBreakpointDirective, IfPermissionDirective, InteractiveDataViewComponent, ObjectUtils, OcxTimeAgoPipe, PageHeaderComponent, SearchConfigComponent, SearchHeaderComponent, SrcDirective, TranslateCombinedLoader, TranslationCacheService, createRemoteComponentTranslateLoader, createTranslateLoader, enumToDropdownOptions, flattenObject, isValidDate };
|
|
3447
3451
|
//# sourceMappingURL=onecx-angular-accelerator.mjs.map
|