@onecx/angular-accelerator 6.24.0 → 6.24.1

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.
@@ -1,30 +1,31 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { PrimeIcon } from '../../utils/primeicon.utils';
3
3
  import * as i0 from "@angular/core";
4
+ export type Layout = 'grid' | 'list' | 'table';
4
5
  interface ViewingLayouts {
5
6
  id: string;
6
7
  icon: PrimeIcon;
7
- layout: 'grid' | 'list' | 'table';
8
+ layout: Layout;
8
9
  tooltip?: string;
9
10
  tooltipKey: string;
10
11
  label?: string;
11
12
  labelKey: string;
12
13
  }
13
14
  export interface DataLayoutSelectionComponentState {
14
- layout?: 'grid' | 'list' | 'table';
15
+ layout?: Layout;
15
16
  }
16
17
  export declare class DataLayoutSelectionComponent implements OnInit {
17
18
  supportedViewLayouts: Array<string>;
18
- set layout(value: 'grid' | 'list' | 'table');
19
- get layout(): 'grid' | 'list' | 'table';
20
- dataViewLayoutChange: EventEmitter<'grid' | 'list' | 'table'>;
19
+ set layout(value: Layout);
20
+ get layout(): Layout;
21
+ dataViewLayoutChange: EventEmitter<Layout>;
21
22
  componentStateChanged: EventEmitter<DataLayoutSelectionComponentState>;
22
23
  viewingLayouts: ViewingLayouts[];
23
24
  selectedViewLayout: ViewingLayouts | undefined;
24
25
  ngOnInit(): void;
25
26
  onDataViewLayoutChange(event: {
26
27
  icon: PrimeIcon;
27
- layout: 'grid' | 'list' | 'table';
28
+ layout: Layout;
28
29
  }): void;
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<DataLayoutSelectionComponent, never>;
30
31
  static ɵcmp: i0.ɵɵComponentDeclaration<DataLayoutSelectionComponent, "ocx-data-layout-selection", never, { "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, { "dataViewLayoutChange": "dataViewLayoutChange"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onecx/angular-accelerator",
3
- "version": "6.24.0",
3
+ "version": "6.24.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,12 +16,12 @@
16
16
  "@ngx-translate/core": "^16.0.0",
17
17
  "@ngx-translate/http-loader": "^8.0.0",
18
18
  "@ngneat/until-destroy": "^10.0.0",
19
- "@onecx/integration-interface": "^6.24.0",
20
- "@onecx/accelerator": "^6.24.0",
21
- "@onecx/angular-integration-interface": "^6.24.0",
22
- "@onecx/angular-remote-components": "^6.24.0",
23
- "@onecx/angular-testing": "^6.24.0",
24
- "@onecx/angular-utils": "^6.24.0",
19
+ "@onecx/integration-interface": "^6.24.1",
20
+ "@onecx/accelerator": "^6.24.1",
21
+ "@onecx/angular-integration-interface": "^6.24.1",
22
+ "@onecx/angular-remote-components": "^6.24.1",
23
+ "@onecx/angular-testing": "^6.24.1",
24
+ "@onecx/angular-utils": "^6.24.1",
25
25
  "chart.js": "^4.4.3",
26
26
  "d3-scale-chromatic": "^3.1.0",
27
27
  "fast-deep-equal": "^3.1.3",
@@ -29,7 +29,7 @@
29
29
  "primeng": "^19.0.0",
30
30
  "@storybook/angular": "^8.3.2",
31
31
  "@nx/devkit": "^20.3.0",
32
- "@onecx/nx-migration-utils": "^6.24.0",
32
+ "@onecx/nx-migration-utils": "^6.24.1",
33
33
  "@primeng/themes": "^19.0.0"
34
34
  },
35
35
  "peerDependenciesMeta": {