@c8y/ngx-components 1021.22.27 → 1021.22.30
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/alarms/alarms-view.service.d.ts.map +1 -1
- package/core/data-grid/data-grid.model.d.ts +2 -0
- package/core/data-grid/data-grid.model.d.ts.map +1 -1
- package/core/data-grid/data-grid.service.d.ts.map +1 -1
- package/esm2022/alarms/alarms-view.service.mjs +3 -1
- package/esm2022/core/data-grid/data-grid.model.mjs +1 -1
- package/esm2022/core/data-grid/data-grid.service.mjs +5 -2
- package/esm2022/core/navigator/navigator-bottom/navigator-bottom.component.mjs +3 -3
- package/fesm2022/c8y-ngx-components-alarms.mjs +2 -0
- package/fesm2022/c8y-ngx-components-alarms.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +6 -3
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/ja_JP.po +0 -1
- package/locales/ko.po +0 -1
- package/locales/locales.pot +2 -2
- package/locales/zh_CN.po +0 -1
- package/locales/zh_TW.po +0 -1
- package/package.json +1 -1
|
@@ -22915,13 +22915,13 @@ class NavigatorBottomComponent {
|
|
|
22915
22915
|
this.hasHidePoweredSet$ = this.bottomService.hasHidePoweredSet();
|
|
22916
22916
|
}
|
|
22917
22917
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: NavigatorBottomComponent, deps: [{ token: NavigatorBottomService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22918
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: NavigatorBottomComponent, isStandalone: true, selector: "c8y-navigator-bottom", host: { classAttribute: "navigator-slot-bottom" }, ngImport: i0, template: "<div\n class=\"d-flex gap-8 {{!(hasCustomNavigatorLogoSet$ | async) ? 'c8y-logo' : ''}}\"\n *ngIf=\"!(hasCustomNavigatorLogoSet$ | async); else branded\"\n>\n <p\n *ngIf=\"!(hasHidePoweredSet$ | async)\"\n class=\"powered-by text-left a-s-end\"\n translate\n >\n powered by
|
|
22918
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: NavigatorBottomComponent, isStandalone: true, selector: "c8y-navigator-bottom", host: { classAttribute: "navigator-slot-bottom" }, ngImport: i0, template: "<div\n class=\"d-flex gap-8 {{!(hasCustomNavigatorLogoSet$ | async) ? 'c8y-logo' : ''}}\"\n *ngIf=\"!(hasCustomNavigatorLogoSet$ | async); else branded\"\n>\n <p\n *ngIf=\"!(hasHidePoweredSet$ | async)\"\n class=\"powered-by text-left a-s-end\"\n translate\n >\n powered by`KEEP_ORIGINAL`\n </p>\n <a href=\"https://cumulocity.com\" target=\"_blank\" title=\"Cumulocity\" class=\"tenant-brand\"></a>\n</div>\n<ng-template #branded>\n <div class=\"logo-spacer\"></div>\n <div class=\"tenant-brand\"></div>\n <p\n class=\"powered-by text-center a-s-center\"\n *ngIf=\"!(hasHidePoweredSet$ | async)\"\n translate\n >\n powered by <a href=\"https://cumulocity.com\" target=\"_blank\">Cumulocity</a>`KEEP_ORIGINAL`\n </p>\n <div class=\"logo-spacer\"></div>\n</ng-template>\n", dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: C8yTranslateDirective, selector: "[translate],[ngx-translate]" }] }); }
|
|
22919
22919
|
}
|
|
22920
22920
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: NavigatorBottomComponent, decorators: [{
|
|
22921
22921
|
type: Component,
|
|
22922
22922
|
args: [{ selector: 'c8y-navigator-bottom', host: {
|
|
22923
22923
|
class: 'navigator-slot-bottom'
|
|
22924
|
-
}, standalone: true, imports: [AsyncPipe, NgIf, C8yTranslateDirective], template: "<div\n class=\"d-flex gap-8 {{!(hasCustomNavigatorLogoSet$ | async) ? 'c8y-logo' : ''}}\"\n *ngIf=\"!(hasCustomNavigatorLogoSet$ | async); else branded\"\n>\n <p\n *ngIf=\"!(hasHidePoweredSet$ | async)\"\n class=\"powered-by text-left a-s-end\"\n translate\n >\n powered by
|
|
22924
|
+
}, standalone: true, imports: [AsyncPipe, NgIf, C8yTranslateDirective], template: "<div\n class=\"d-flex gap-8 {{!(hasCustomNavigatorLogoSet$ | async) ? 'c8y-logo' : ''}}\"\n *ngIf=\"!(hasCustomNavigatorLogoSet$ | async); else branded\"\n>\n <p\n *ngIf=\"!(hasHidePoweredSet$ | async)\"\n class=\"powered-by text-left a-s-end\"\n translate\n >\n powered by`KEEP_ORIGINAL`\n </p>\n <a href=\"https://cumulocity.com\" target=\"_blank\" title=\"Cumulocity\" class=\"tenant-brand\"></a>\n</div>\n<ng-template #branded>\n <div class=\"logo-spacer\"></div>\n <div class=\"tenant-brand\"></div>\n <p\n class=\"powered-by text-center a-s-center\"\n *ngIf=\"!(hasHidePoweredSet$ | async)\"\n translate\n >\n powered by <a href=\"https://cumulocity.com\" target=\"_blank\">Cumulocity</a>`KEEP_ORIGINAL`\n </p>\n <div class=\"logo-spacer\"></div>\n</ng-template>\n" }]
|
|
22925
22925
|
}], ctorParameters: () => [{ type: NavigatorBottomService }] });
|
|
22926
22926
|
|
|
22927
22927
|
class NavigatorBottomDrawerFactory {
|
|
@@ -30980,7 +30980,8 @@ class DataGridService {
|
|
|
30980
30980
|
const customColumns = config.columns
|
|
30981
30981
|
.filter(col => col.custom)
|
|
30982
30982
|
.map((col) => new CustomColumn(col));
|
|
30983
|
-
|
|
30983
|
+
// Avoid config properties to be applied to the original column object by creating shallow copy of columns
|
|
30984
|
+
const allColumns = [...columns.map(col => ({ ...col })), ...customColumns];
|
|
30984
30985
|
noConfigColumns = allColumns.filter(col => !config.columns.some(configCol => col.name === configCol.name));
|
|
30985
30986
|
config.columns.forEach(({ visible, name, sortOrder, filter }) => {
|
|
30986
30987
|
const columnToReorder = allColumns.find(col => col.name === name);
|
|
@@ -30989,6 +30990,8 @@ class DataGridService {
|
|
|
30989
30990
|
columnToReorder.sortOrder = sortOrder;
|
|
30990
30991
|
columnToReorder.externalFilterQuery =
|
|
30991
30992
|
columnToReorder.externalFilterQuery ?? filter?.externalFilterQuery;
|
|
30993
|
+
columnToReorder.filterPredicate =
|
|
30994
|
+
columnToReorder.filterPredicate ?? filter?.filterPredicate;
|
|
30992
30995
|
reOrderedColumns.push(columnToReorder);
|
|
30993
30996
|
}
|
|
30994
30997
|
});
|