@arsedizioni/ars-utils 18.1.50 → 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/esm2022/ui.application/ui/definitions.mjs +1 -1
- package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +1 -1
- package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +1 -1
- package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +97 -108
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +87 -97
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/package.json +12 -12
- 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/definitions.d.ts +2 -2
- package/ui.application/ui/dialogs/prompt/prompt-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select/select-dialog.component.d.ts +29 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arsedizioni/ars-utils",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.52",
|
|
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
|
-
"./core": {
|
|
51
|
-
"types": "./core/index.d.ts",
|
|
52
|
-
"esm2022": "./esm2022/core/arsedizioni-ars-utils-core.mjs",
|
|
53
|
-
"esm": "./esm2022/core/arsedizioni-ars-utils-core.mjs",
|
|
54
|
-
"default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
|
|
55
|
-
},
|
|
56
50
|
"./help": {
|
|
57
51
|
"types": "./help/index.d.ts",
|
|
58
52
|
"esm2022": "./esm2022/help/arsedizioni-ars-utils-help.mjs",
|
|
59
53
|
"esm": "./esm2022/help/arsedizioni-ars-utils-help.mjs",
|
|
60
54
|
"default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
|
|
61
55
|
},
|
|
62
|
-
"./
|
|
63
|
-
"types": "./
|
|
64
|
-
"esm2022": "./esm2022/
|
|
65
|
-
"esm": "./esm2022/
|
|
66
|
-
"default": "./fesm2022/arsedizioni-ars-utils-
|
|
56
|
+
"./core": {
|
|
57
|
+
"types": "./core/index.d.ts",
|
|
58
|
+
"esm2022": "./esm2022/core/arsedizioni-ars-utils-core.mjs",
|
|
59
|
+
"esm": "./esm2022/core/arsedizioni-ars-utils-core.mjs",
|
|
60
|
+
"default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
|
|
67
61
|
},
|
|
68
62
|
"./support.ui": {
|
|
69
63
|
"types": "./support.ui/index.d.ts",
|
|
@@ -71,6 +65,12 @@
|
|
|
71
65
|
"esm": "./esm2022/support.ui/arsedizioni-ars-utils-support.ui.mjs",
|
|
72
66
|
"default": "./fesm2022/arsedizioni-ars-utils-support.ui.mjs"
|
|
73
67
|
},
|
|
68
|
+
"./support.common": {
|
|
69
|
+
"types": "./support.common/index.d.ts",
|
|
70
|
+
"esm2022": "./esm2022/support.common/arsedizioni-ars-utils-support.common.mjs",
|
|
71
|
+
"esm": "./esm2022/support.common/arsedizioni-ars-utils-support.common.mjs",
|
|
72
|
+
"default": "./fesm2022/arsedizioni-ars-utils-support.common.mjs"
|
|
73
|
+
},
|
|
74
74
|
"./tinymce": {
|
|
75
75
|
"types": "./tinymce/index.d.ts",
|
|
76
76
|
"esm2022": "./esm2022/tinymce/arsedizioni-ars-utils-tinymce.mjs",
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Searchable, SearchBag } from '@arsedizioni/ars-utils/core';
|
|
2
2
|
export interface SelectDialogResult {
|
|
3
3
|
selectedItems: any[];
|
|
4
4
|
}
|
|
@@ -94,7 +94,7 @@ export interface SendToDialogResult {
|
|
|
94
94
|
options?: any | null;
|
|
95
95
|
}
|
|
96
96
|
export interface PromptDialogResult {
|
|
97
|
-
value
|
|
97
|
+
value?: string | null;
|
|
98
98
|
options?: any | null;
|
|
99
99
|
}
|
|
100
100
|
export declare enum PromptDialogType {
|
|
@@ -7,7 +7,7 @@ export declare class PromptDialogComponent implements OnInit {
|
|
|
7
7
|
done: EventEmitter<PromptDialogResult>;
|
|
8
8
|
private dialogService;
|
|
9
9
|
protected dialogData: PromptDialogData;
|
|
10
|
-
protected value:
|
|
10
|
+
protected value: any | null;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Done
|
|
@@ -7,7 +7,7 @@ export declare class PromptTimeDialogComponent implements OnInit {
|
|
|
7
7
|
done: EventEmitter<PromptDialogResult>;
|
|
8
8
|
private dialogService;
|
|
9
9
|
protected dialogData: PromptTimeDialogData;
|
|
10
|
-
protected value:
|
|
10
|
+
protected value: any | null;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Done
|
|
@@ -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
|
*/
|
|
@@ -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
|
}
|