@fuentis/phoenix-ui 0.0.9-alpha.97 → 0.0.9-alpha.98

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.
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ActionsComponent {
4
+ actions: any[];
5
+ actionClick: EventEmitter<boolean>;
6
+ onActionClick(actionId: boolean): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionsComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionsComponent, "pho-actions", never, { "actions": { "alias": "actions"; "required": false; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
9
+ }
@@ -1,7 +1,7 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { TableLazyLoadEvent } from 'primeng/table';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
- import { tableColumnType } from '../utils/dataTable.enum';
4
+ import { tableColumnType, tableSelectionType } from '../utils/dataTable.enum';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TableComponent implements OnInit {
7
7
  set data(value: any[]);
@@ -21,6 +21,7 @@ export declare class TableComponent implements OnInit {
21
21
  isLoading: import("@angular/core").WritableSignal<boolean>;
22
22
  lastLoadedIndex: number;
23
23
  originalData: any[];
24
+ selectionTypeEnum: typeof tableSelectionType;
24
25
  private hasLoadedInitialData;
25
26
  columnTypeEnum: typeof tableColumnType;
26
27
  dateFormat: string;
@@ -12,6 +12,7 @@ export declare class MetaAssignResponsibleComponent implements ControlValueAcces
12
12
  registerOnTouched(fn: any): void;
13
13
  setDisabledState(isDisabled: boolean): void;
14
14
  private translateService;
15
+ private dialogService;
15
16
  person: any;
16
17
  clear(): void;
17
18
  assignResponsible(): void;
@@ -1,20 +1,39 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
3
+ import { tableSelectionType } from '../../../data-table/utils/dataTable.enum';
4
+ import { TableComponent } from '../../../data-table/table/table.component';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class ObjectItemDialogComponent implements OnInit {
5
7
  ref: DynamicDialogRef;
6
8
  config: DynamicDialogConfig;
9
+ table: TableComponent;
7
10
  employee: any;
8
11
  selectedEmployee: any;
9
12
  employees: any;
10
13
  columns: any;
11
14
  disableButton: boolean;
15
+ tableData: never[];
12
16
  constructor(ref: DynamicDialogRef, config: DynamicDialogConfig);
13
17
  ngOnInit(): void;
14
- getEmployees(): void;
15
- onRowSelect(event: any): void;
16
- close(): void;
17
- assignEmployee(): void;
18
+ actions: ({
19
+ actionId: string;
20
+ label: string;
21
+ icon: string;
22
+ severity: string;
23
+ } | {
24
+ actionId: string;
25
+ label: string;
26
+ severity: string;
27
+ icon?: undefined;
28
+ })[];
29
+ actionClick(key: any): void;
30
+ tableConfiguration: {
31
+ lazy: boolean;
32
+ scrollHeight: string;
33
+ key: string;
34
+ rows: number;
35
+ selectionType: tableSelectionType;
36
+ };
18
37
  static ɵfac: i0.ɵɵFactoryDeclaration<ObjectItemDialogComponent, never>;
19
38
  static ɵcmp: i0.ɵɵComponentDeclaration<ObjectItemDialogComponent, "phoenix-object-item-dialog", never, {}, {}, never, never, true, never>;
20
39
  }
@@ -0,0 +1,16 @@
1
+ export declare class Assignee {
2
+ uuid: string;
3
+ name: string;
4
+ function: string;
5
+ type: AssigneeType;
6
+ typlifecycleStatuse: AssigneeLifecycleType;
7
+ phone: string;
8
+ email: string;
9
+ }
10
+ export declare enum AssigneeType {
11
+ EMPLOYEE = "EMPLOYEE"
12
+ }
13
+ export declare enum AssigneeLifecycleType {
14
+ ACTIVE = "ACTIVE",
15
+ DELETED = "DELETED "
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.9-alpha.97",
3
+ "version": "0.0.9-alpha.98",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"