@elite.framework/ng.ui.core 1.0.49 → 1.0.50

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.
@@ -6,6 +6,7 @@ import { Table, TableLazyLoadEvent, TableRowSelectEvent, TableHeaderCheckboxTogg
6
6
  import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
7
7
  import { FormGroup } from '@angular/forms';
8
8
  import { ActionDef } from '@elite.framework/ng.core/models';
9
+ import { NgxPermissionsService } from 'ngx-permissions';
9
10
 
10
11
  declare class GenericTableModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<GenericTableModule, never>;
@@ -14,6 +15,7 @@ declare class GenericTableModule {
14
15
  }
15
16
 
16
17
  declare class GenericTable<T> implements OnChanges {
18
+ permissionsService: NgxPermissionsService;
17
19
  dt: Table;
18
20
  data: any[];
19
21
  data_: any[];
@@ -56,6 +58,7 @@ declare class GenericTable<T> implements OnChanges {
56
58
  onInternalSelectionChange(event: TableRowSelectEvent<T> | TableHeaderCheckboxToggleEvent): void;
57
59
  customSort(event: SortEvent): void;
58
60
  resolveFieldData(data: any, field: string): any;
61
+ get sortedActions(): ActionDef<T>[];
59
62
  onAction(act: ActionDef<T>, row: T): void;
60
63
  private cellForms;
61
64
  forms: FormGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elite.framework/ng.ui.core",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"
@@ -24,14 +24,14 @@
24
24
  "types": "./base-crud/index.d.ts",
25
25
  "default": "./fesm2022/elite.framework-ng.ui.core-base-crud.mjs"
26
26
  },
27
- "./breadcrumb": {
28
- "types": "./breadcrumb/index.d.ts",
29
- "default": "./fesm2022/elite.framework-ng.ui.core-breadcrumb.mjs"
30
- },
31
27
  "./checkbox": {
32
28
  "types": "./checkbox/index.d.ts",
33
29
  "default": "./fesm2022/elite.framework-ng.ui.core-checkbox.mjs"
34
30
  },
31
+ "./breadcrumb": {
32
+ "types": "./breadcrumb/index.d.ts",
33
+ "default": "./fesm2022/elite.framework-ng.ui.core-breadcrumb.mjs"
34
+ },
35
35
  "./color-picker": {
36
36
  "types": "./color-picker/index.d.ts",
37
37
  "default": "./fesm2022/elite.framework-ng.ui.core-color-picker.mjs"
@@ -21,6 +21,7 @@ interface UiButtonConfig {
21
21
  loading?: boolean;
22
22
  disabled?: boolean;
23
23
  styleClass?: string;
24
+ permission?: string;
24
25
  }
25
26
  declare class UiButtonComponent {
26
27
  config: UiButtonConfig;