@arsedizioni/ars-utils 18.1.51 → 18.1.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "18.1.51",
3
+ "version": "18.1.52",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -34,7 +34,7 @@ export declare class FileInputComponent implements OnDestroy, AfterViewInit, DoC
34
34
  minSizeMb: import("@angular/core").InputSignal<number>;
35
35
  isNew: import("@angular/core").InputSignal<boolean>;
36
36
  canPreview: import("@angular/core").InputSignal<boolean>;
37
- appearance: import("@angular/core").InputSignal<"fill" | "outline">;
37
+ appearance: import("@angular/core").InputSignal<"outline" | "fill">;
38
38
  accept: import("@angular/core").InputSignal<string>;
39
39
  get empty(): boolean;
40
40
  get errorState(): boolean;
@@ -19,7 +19,7 @@ export declare class FilterBarComponent implements OnInit {
19
19
  text2Length: import("@angular/core").InputSignal<string>;
20
20
  text3Length: import("@angular/core").InputSignal<string>;
21
21
  showTextSearchButton: import("@angular/core").InputSignal<boolean>;
22
- appearance: import("@angular/core").InputSignal<"fill" | "outline">;
22
+ appearance: import("@angular/core").InputSignal<"outline" | "fill">;
23
23
  text: string;
24
24
  text2: string;
25
25
  text3: string;
@@ -1,13 +1,13 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
2
  import { MatSelectionList } from "@angular/material/list";
4
3
  import { MatPaginator } from '@angular/material/paginator';
5
4
  import { SelectDialogAppend, SelectDialogData, SelectDialogDelete, SelectDialogLookup, SelectDialogResult, SelectableItem } from "../../definitions";
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class SelectDialogComponent implements OnInit {
8
- private dialogRef;
9
7
  paginator: MatPaginator;
10
8
  selection: MatSelectionList;
9
+ private dialogRef;
10
+ protected dialogData: SelectDialogData;
11
11
  done: EventEmitter<SelectDialogResult>;
12
12
  edit: EventEmitter<SelectableItem>;
13
13
  view: EventEmitter<SelectableItem>;
@@ -16,22 +16,20 @@ export declare class SelectDialogComponent implements OnInit {
16
16
  lookup: EventEmitter<SelectDialogLookup>;
17
17
  lookupOptions: EventEmitter<any>;
18
18
  filter: EventEmitter<any>;
19
- data: SelectDialogData;
20
- canEdit: boolean;
21
- canView: boolean;
22
- canAppend: boolean;
23
- canDelete: boolean;
24
- canPaginate: boolean;
25
- okDisabled: boolean;
26
- filterText: string;
27
- filterOptions: any;
28
- filterOptionsInfo: string;
29
- lookupField: string;
19
+ protected canEdit: import("@angular/core").WritableSignal<boolean>;
20
+ protected canView: import("@angular/core").WritableSignal<boolean>;
21
+ protected canAppend: import("@angular/core").WritableSignal<boolean>;
22
+ protected canDelete: import("@angular/core").WritableSignal<boolean>;
23
+ protected canPaginate: import("@angular/core").WritableSignal<boolean>;
24
+ protected okDisabled: import("@angular/core").WritableSignal<boolean>;
25
+ protected filterText: string;
26
+ protected filterOptions: any;
27
+ protected filterOptionsInfo: string;
28
+ protected lookupField: string;
30
29
  private lookupParams;
31
- selectionInfo: string;
32
- selectionMasterIndeterminate: boolean;
33
- selectionMasterChecked: boolean;
34
- constructor(dialogRef: MatDialogRef<SelectDialogComponent>, _data: SelectDialogData);
30
+ protected selectionInfo: string;
31
+ protected selectionMasterIndeterminate: import("@angular/core").WritableSignal<boolean>;
32
+ protected selectionMasterChecked: import("@angular/core").WritableSignal<boolean>;
35
33
  ngOnInit(): void;
36
34
  /**
37
35
  * Check if every element are selected
@@ -44,11 +42,11 @@ export declare class SelectDialogComponent implements OnInit {
44
42
  /**
45
43
  * Master selection toggle
46
44
  */
47
- masterSelectionToggle(args: any): void;
45
+ protected masterSelectionToggle(args: any): void;
48
46
  /**
49
47
  * Handle selection/deselection of an item
50
48
  */
51
- select(e: any): void;
49
+ protected select(e: any): void;
52
50
  /**
53
51
  * Update selection info
54
52
  */
@@ -56,39 +54,39 @@ export declare class SelectDialogComponent implements OnInit {
56
54
  /**
57
55
  * Clear current selection
58
56
  */
59
- clearSelection(): void;
57
+ protected clearSelection(): void;
60
58
  /**
61
59
  * Submit selection
62
60
  */
63
- ok(): void;
61
+ protected ok(): void;
64
62
  /**
65
63
  * Clear filter
66
64
  */
67
- clearFilter(): void;
65
+ protected clearFilter(): void;
68
66
  /**
69
67
  * Show filter options
70
68
  */
71
- showFilterOptions(): void;
69
+ protected showFilterOptions(): void;
72
70
  /**
73
71
  * Apply filter
74
72
  * @param text : the string to filter to
75
73
  */
76
- doFilter(text?: string, e?: any): void;
74
+ protected doFilter(text?: string, e?: any): void;
77
75
  /**
78
76
  * Apply filter using filter options
79
77
  * @param filterOPtion : the current filter
80
78
  */
81
- doFilterByOptions(filterOption: any): void;
79
+ protected doFilterByOptions(filterOption: any): void;
82
80
  /**
83
81
  * Apply filter
84
82
  * @param params : the object with current parameters
85
83
  */
86
- doLookup(params: any): void;
84
+ protected doLookup(params: any): void;
87
85
  /**
88
86
  * Update lookup paginatro
89
87
  * @param total : the new total items
90
88
  */
91
- updateLookupPaginator(total: number): void;
89
+ protected updateLookupPaginator(total: number): void;
92
90
  /**
93
91
  * Apply filter
94
92
  * @param e : the MatPaginator PageEvent data
@@ -97,19 +95,19 @@ export declare class SelectDialogComponent implements OnInit {
97
95
  /**
98
96
  * Append
99
97
  */
100
- doAppend(): void;
98
+ protected doAppend(): void;
101
99
  /**
102
100
  * Edit
103
101
  */
104
- doEdit(): void;
102
+ protected doEdit(): void;
105
103
  /**
106
104
  * View
107
105
  */
108
- doView(): void;
106
+ protected doView(): void;
109
107
  /**
110
108
  * Delete
111
109
  */
112
- doDelete(): void;
110
+ protected doDelete(): void;
113
111
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectDialogComponent, never>;
114
112
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectDialogComponent, "ng-component", never, {}, { "done": "done"; "edit": "edit"; "view": "view"; "append": "append"; "delete": "delete"; "lookup": "lookup"; "lookupOptions": "lookupOptions"; "filter": "filter"; }, never, never, true, never>;
115
113
  }