@arsedizioni/ars-utils 18.1.51 → 18.1.53
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/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +101 -110
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +91 -99
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/package.json +18 -18
- package/ui.application/ui/components/file-input/file-input.component.d.ts +1 -1
- package/ui.application/ui/components/filter-bar/filter-bar.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select/select-dialog.component.d.ts +24 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arsedizioni/ars-utils",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.53",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "software@arsedizioni.it",
|
|
6
6
|
"name": "Fabio Buscaroli, Alberto Doria"
|
|
@@ -47,23 +47,17 @@
|
|
|
47
47
|
"esm": "./esm2022/clipper.ui/arsedizioni-ars-utils-clipper.ui.mjs",
|
|
48
48
|
"default": "./fesm2022/arsedizioni-ars-utils-clipper.ui.mjs"
|
|
49
49
|
},
|
|
50
|
-
"./help": {
|
|
51
|
-
"types": "./help/index.d.ts",
|
|
52
|
-
"esm2022": "./esm2022/help/arsedizioni-ars-utils-help.mjs",
|
|
53
|
-
"esm": "./esm2022/help/arsedizioni-ars-utils-help.mjs",
|
|
54
|
-
"default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
|
|
55
|
-
},
|
|
56
50
|
"./core": {
|
|
57
51
|
"types": "./core/index.d.ts",
|
|
58
52
|
"esm2022": "./esm2022/core/arsedizioni-ars-utils-core.mjs",
|
|
59
53
|
"esm": "./esm2022/core/arsedizioni-ars-utils-core.mjs",
|
|
60
54
|
"default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
|
|
61
55
|
},
|
|
62
|
-
"./
|
|
63
|
-
"types": "./
|
|
64
|
-
"esm2022": "./esm2022/
|
|
65
|
-
"esm": "./esm2022/
|
|
66
|
-
"default": "./fesm2022/arsedizioni-ars-utils-
|
|
56
|
+
"./help": {
|
|
57
|
+
"types": "./help/index.d.ts",
|
|
58
|
+
"esm2022": "./esm2022/help/arsedizioni-ars-utils-help.mjs",
|
|
59
|
+
"esm": "./esm2022/help/arsedizioni-ars-utils-help.mjs",
|
|
60
|
+
"default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
|
|
67
61
|
},
|
|
68
62
|
"./support.common": {
|
|
69
63
|
"types": "./support.common/index.d.ts",
|
|
@@ -71,6 +65,12 @@
|
|
|
71
65
|
"esm": "./esm2022/support.common/arsedizioni-ars-utils-support.common.mjs",
|
|
72
66
|
"default": "./fesm2022/arsedizioni-ars-utils-support.common.mjs"
|
|
73
67
|
},
|
|
68
|
+
"./support.ui": {
|
|
69
|
+
"types": "./support.ui/index.d.ts",
|
|
70
|
+
"esm2022": "./esm2022/support.ui/arsedizioni-ars-utils-support.ui.mjs",
|
|
71
|
+
"esm": "./esm2022/support.ui/arsedizioni-ars-utils-support.ui.mjs",
|
|
72
|
+
"default": "./fesm2022/arsedizioni-ars-utils-support.ui.mjs"
|
|
73
|
+
},
|
|
74
74
|
"./tinymce": {
|
|
75
75
|
"types": "./tinymce/index.d.ts",
|
|
76
76
|
"esm2022": "./esm2022/tinymce/arsedizioni-ars-utils-tinymce.mjs",
|
|
@@ -83,17 +83,17 @@
|
|
|
83
83
|
"esm": "./esm2022/ui/arsedizioni-ars-utils-ui.mjs",
|
|
84
84
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.mjs"
|
|
85
85
|
},
|
|
86
|
-
"./ui.application": {
|
|
87
|
-
"types": "./ui.application/index.d.ts",
|
|
88
|
-
"esm2022": "./esm2022/ui.application/arsedizioni-ars-utils-ui.application.mjs",
|
|
89
|
-
"esm": "./esm2022/ui.application/arsedizioni-ars-utils-ui.application.mjs",
|
|
90
|
-
"default": "./fesm2022/arsedizioni-ars-utils-ui.application.mjs"
|
|
91
|
-
},
|
|
92
86
|
"./ui.oauth": {
|
|
93
87
|
"types": "./ui.oauth/index.d.ts",
|
|
94
88
|
"esm2022": "./esm2022/ui.oauth/arsedizioni-ars-utils-ui.oauth.mjs",
|
|
95
89
|
"esm": "./esm2022/ui.oauth/arsedizioni-ars-utils-ui.oauth.mjs",
|
|
96
90
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.oauth.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./ui.application": {
|
|
93
|
+
"types": "./ui.application/index.d.ts",
|
|
94
|
+
"esm2022": "./esm2022/ui.application/arsedizioni-ars-utils-ui.application.mjs",
|
|
95
|
+
"esm": "./esm2022/ui.application/arsedizioni-ars-utils-ui.application.mjs",
|
|
96
|
+
"default": "./fesm2022/arsedizioni-ars-utils-ui.application.mjs"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"sideEffects": false
|
|
@@ -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<"
|
|
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<"
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
*/
|
|
@@ -60,25 +58,25 @@ export declare class SelectDialogComponent implements OnInit {
|
|
|
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
|
|
@@ -88,12 +86,12 @@ export declare class SelectDialogComponent implements OnInit {
|
|
|
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
|
|
95
93
|
*/
|
|
96
|
-
|
|
94
|
+
doLookupPage(e: any): void;
|
|
97
95
|
/**
|
|
98
96
|
* Append
|
|
99
97
|
*/
|