@fuentis/phoenix-ui 0.0.6 → 0.0.7

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,5 +1,6 @@
1
1
  import { DestroyRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { Table, TableHeaderCheckboxToggleEvent, TableLazyLoadEvent } from 'primeng/table';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
4
  import { TranslateService } from '@ngx-translate/core';
4
5
  import { tableColumnType, tableFilterType, tableSelectionType } from '../utils/dataTable.enum';
5
6
  import { TableColumn } from '../utils/dataTable.interface';
@@ -28,6 +29,7 @@ export declare class PhoenixDataTableComponent implements OnInit, OnChanges {
28
29
  };
29
30
  exportType: typeof ExportType;
30
31
  translateService: TranslateService;
32
+ fb: FormBuilder;
31
33
  dr: DestroyRef;
32
34
  columnTypeEnum: typeof tableColumnType;
33
35
  tableFilterTypeEnum: typeof tableFilterType;
@@ -40,7 +42,11 @@ export declare class PhoenixDataTableComponent implements OnInit, OnChanges {
40
42
  value: string;
41
43
  }[];
42
44
  globalFilterFields: string[];
45
+ filtersForm: FormGroup<{}>;
46
+ originalData: any;
43
47
  ngOnInit(): void;
48
+ filterTableData(originalArray: any[], mapping: any): any[];
49
+ resetFilters(): void;
44
50
  ngOnChanges(changes: SimpleChanges): void;
45
51
  /**
46
52
  * Emits table actions
@@ -0,0 +1,10 @@
1
+ import { SidebarItem } from '../sidebar-item/sidebar-item.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ShellComponent {
4
+ mainItems: SidebarItem[][];
5
+ footerItem: SidebarItem[];
6
+ isSidebarOpen: boolean;
7
+ toggleSidebar(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShellComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShellComponent, "pho-shell", never, { "mainItems": { "alias": "mainItems"; "required": false; }; "footerItem": { "alias": "footerItem"; "required": false; }; "isSidebarOpen": { "alias": "isSidebarOpen"; "required": false; }; }, {}, never, ["*"], true, never>;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
package/public-api.d.ts CHANGED
@@ -4,6 +4,6 @@ export * from './lib/components/search-bar/search-bar.component';
4
4
  export * from './lib/components/sidebar-item/sidebar-item.component';
5
5
  export * from './lib/components/user/user.component';
6
6
  export * from './lib/components/status-header/status-header.component';
7
- export * from './lib/components/sidebar-layout/sidebar-layout.component';
7
+ export * from './lib/components/shell/shell.component';
8
8
  export * from './lib/components/data-table/phoenix-data-table/phoenix-data-table.component';
9
9
  export * from './lib/components/data-table/utils/dataTable.enum';
@@ -1,10 +0,0 @@
1
- import { SidebarItem } from '../sidebar-item/sidebar-item.component';
2
- import * as i0 from "@angular/core";
3
- export declare class SidebarLayoutComponent {
4
- mainItems: SidebarItem[][];
5
- footerItem: SidebarItem[];
6
- isSidebarOpen: boolean;
7
- toggleSidebar(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SidebarLayoutComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarLayoutComponent, "pho-sidebar-layout", never, { "mainItems": { "alias": "mainItems"; "required": false; }; "footerItem": { "alias": "footerItem"; "required": false; }; "isSidebarOpen": { "alias": "isSidebarOpen"; "required": false; }; }, {}, never, ["*"], true, never>;
10
- }