@arsedizioni/ars-utils 20.4.44 → 20.4.46
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/clipper.ui/ui/clipper.scss +3 -3
- package/core/index.d.ts +11 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +12 -12
- package/fesm2022/arsedizioni-ars-utils-core.mjs +11 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +32 -18
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +100 -11
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/package.json +18 -18
- package/ui/index.d.ts +46 -2
- package/ui.application/index.d.ts +30 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arsedizioni/ars-utils",
|
|
3
|
-
"version": "20.4.
|
|
3
|
+
"version": "20.4.46",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "software@arsedizioni.it",
|
|
6
6
|
"name": "Fabio Buscaroli, Alberto Doria"
|
|
@@ -40,41 +40,41 @@
|
|
|
40
40
|
"types": "./clipper.ui/index.d.ts",
|
|
41
41
|
"default": "./fesm2022/arsedizioni-ars-utils-clipper.ui.mjs"
|
|
42
42
|
},
|
|
43
|
-
"./core": {
|
|
44
|
-
"types": "./core/index.d.ts",
|
|
45
|
-
"default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
|
|
46
|
-
},
|
|
47
|
-
"./help": {
|
|
48
|
-
"types": "./help/index.d.ts",
|
|
49
|
-
"default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
|
|
50
|
-
},
|
|
51
43
|
"./evolution.common": {
|
|
52
44
|
"types": "./evolution.common/index.d.ts",
|
|
53
45
|
"default": "./fesm2022/arsedizioni-ars-utils-evolution.common.mjs"
|
|
54
46
|
},
|
|
47
|
+
"./core": {
|
|
48
|
+
"types": "./core/index.d.ts",
|
|
49
|
+
"default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
|
|
50
|
+
},
|
|
55
51
|
"./support.common": {
|
|
56
52
|
"types": "./support.common/index.d.ts",
|
|
57
53
|
"default": "./fesm2022/arsedizioni-ars-utils-support.common.mjs"
|
|
58
54
|
},
|
|
59
|
-
"./
|
|
60
|
-
"types": "./
|
|
61
|
-
"default": "./fesm2022/arsedizioni-ars-utils-
|
|
55
|
+
"./help": {
|
|
56
|
+
"types": "./help/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
|
|
62
58
|
},
|
|
63
|
-
"./
|
|
64
|
-
"types": "./
|
|
65
|
-
"default": "./fesm2022/arsedizioni-ars-utils-
|
|
59
|
+
"./ui.application": {
|
|
60
|
+
"types": "./ui.application/index.d.ts",
|
|
61
|
+
"default": "./fesm2022/arsedizioni-ars-utils-ui.application.mjs"
|
|
66
62
|
},
|
|
67
63
|
"./ui": {
|
|
68
64
|
"types": "./ui/index.d.ts",
|
|
69
65
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.mjs"
|
|
70
66
|
},
|
|
71
|
-
"./ui
|
|
72
|
-
"types": "./ui
|
|
73
|
-
"default": "./fesm2022/arsedizioni-ars-utils-ui.
|
|
67
|
+
"./support.ui": {
|
|
68
|
+
"types": "./support.ui/index.d.ts",
|
|
69
|
+
"default": "./fesm2022/arsedizioni-ars-utils-support.ui.mjs"
|
|
74
70
|
},
|
|
75
71
|
"./ui.oauth": {
|
|
76
72
|
"types": "./ui.oauth/index.d.ts",
|
|
77
73
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.oauth.mjs"
|
|
74
|
+
},
|
|
75
|
+
"./tinymce": {
|
|
76
|
+
"types": "./tinymce/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/arsedizioni-ars-utils-tinymce.mjs"
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"sideEffects": false
|
package/ui/index.d.ts
CHANGED
|
@@ -129,6 +129,38 @@ declare class UIService {
|
|
|
129
129
|
static ɵprov: i0.ɵɵInjectableDeclaration<UIService>;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
declare enum DeleteDialogConfirmMode {
|
|
133
|
+
None = 0,
|
|
134
|
+
Simple = 1,
|
|
135
|
+
Strong = 2
|
|
136
|
+
}
|
|
137
|
+
interface DeleteDialogData {
|
|
138
|
+
title?: string;
|
|
139
|
+
message: string;
|
|
140
|
+
confirmMode: DeleteDialogConfirmMode;
|
|
141
|
+
okCaption?: string;
|
|
142
|
+
cancelCaption?: string;
|
|
143
|
+
details?: string;
|
|
144
|
+
appearance?: string;
|
|
145
|
+
}
|
|
146
|
+
declare class DeleteDialogComponent implements OnInit {
|
|
147
|
+
readonly choosen: i0.OutputEmitterRef<DialogResult>;
|
|
148
|
+
private dialogRef;
|
|
149
|
+
protected dialogData: DeleteDialogData;
|
|
150
|
+
protected confirmed: i0.WritableSignal<boolean>;
|
|
151
|
+
ngOnInit(): void;
|
|
152
|
+
/**
|
|
153
|
+
* Done
|
|
154
|
+
*/
|
|
155
|
+
ok(): void;
|
|
156
|
+
/**
|
|
157
|
+
* Cancelled
|
|
158
|
+
*/
|
|
159
|
+
cancel(): void;
|
|
160
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteDialogComponent, never>;
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteDialogComponent, "ng-component", never, {}, { "choosen": "choosen"; }, never, never, true, never>;
|
|
162
|
+
}
|
|
163
|
+
|
|
132
164
|
interface IDialogService {
|
|
133
165
|
}
|
|
134
166
|
declare class BusyTimer {
|
|
@@ -295,6 +327,18 @@ declare class DialogService extends UIService {
|
|
|
295
327
|
* @param width: the preferred width
|
|
296
328
|
*/
|
|
297
329
|
confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string, options?: ConfirmDialogOption[], width?: number, details?: string): MatDialogRef<any, any>;
|
|
330
|
+
/**
|
|
331
|
+
* Display a delete dialog
|
|
332
|
+
* @param message : html message
|
|
333
|
+
* @param title : dialog title
|
|
334
|
+
* @param confirmMode : the confirm mode
|
|
335
|
+
* @param okCaption : ok button caption
|
|
336
|
+
* @param cancelCaption : cancel button caption
|
|
337
|
+
* @param otherCaption : other button caption
|
|
338
|
+
* @param options: check box options
|
|
339
|
+
* @param width: the preferred width
|
|
340
|
+
*/
|
|
341
|
+
delete(message: string, title?: string, confirmMode?: DeleteDialogConfirmMode, okCaption?: string, cancelCaption?: string, width?: number, details?: string): MatDialogRef<any, any>;
|
|
298
342
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
299
343
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
300
344
|
}
|
|
@@ -436,5 +480,5 @@ declare class OtpInputComponent implements ControlValueAccessor {
|
|
|
436
480
|
static ɵcmp: i0.ɵɵComponentDeclaration<OtpInputComponent, "otp-input", never, {}, {}, never, never, true, never>;
|
|
437
481
|
}
|
|
438
482
|
|
|
439
|
-
export { ArsUIModule, BusyDialogComponent, BusyTimer, ConfirmDialogComponent, CredentialsDialogComponent, DialogService, InfoDialogComponent, OtpInputComponent, PaginatorIntl, PasswordStrengthComponent, RecoverPasswordDialogComponent, ResetPasswordDialogComponent, ToastComponent, UIService };
|
|
440
|
-
export type { ConfirmDialogData, ConfirmDialogOption, CredentialsDialogData, CredentialsDialogResult, DialogOption, DialogResult, IDialogService, InfoDialogData, RecoverPasswordDialogData, RecoverPasswordDialogResult, ResetPasswordDialogData, ResetPasswordDialogResult, ToastData };
|
|
483
|
+
export { ArsUIModule, BusyDialogComponent, BusyTimer, ConfirmDialogComponent, CredentialsDialogComponent, DeleteDialogComponent, DeleteDialogConfirmMode, DialogService, InfoDialogComponent, OtpInputComponent, PaginatorIntl, PasswordStrengthComponent, RecoverPasswordDialogComponent, ResetPasswordDialogComponent, ToastComponent, UIService };
|
|
484
|
+
export type { ConfirmDialogData, ConfirmDialogOption, CredentialsDialogData, CredentialsDialogResult, DeleteDialogData, DialogOption, DialogResult, IDialogService, InfoDialogData, RecoverPasswordDialogData, RecoverPasswordDialogResult, ResetPasswordDialogData, ResetPasswordDialogResult, ToastData };
|
|
@@ -10,7 +10,7 @@ import { MatSelectionList, MatSelectionListChange } from '@angular/material/list
|
|
|
10
10
|
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
11
11
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
12
12
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
13
|
-
import { DialogService, BusyTimer, InfoDialogComponent, ToastComponent, ConfirmDialogOption } from '@arsedizioni/ars-utils/ui';
|
|
13
|
+
import { DialogService, BusyTimer, InfoDialogComponent, ToastComponent, ConfirmDialogOption, DeleteDialogConfirmMode } from '@arsedizioni/ars-utils/ui';
|
|
14
14
|
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
15
15
|
|
|
16
16
|
declare class ResizeTableColumnDirective implements OnInit {
|
|
@@ -728,13 +728,25 @@ declare class ApplicationDialogService {
|
|
|
728
728
|
*/
|
|
729
729
|
confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string, options?: ConfirmDialogOption[], width?: number, details?: string): MatDialogRef<any, any>;
|
|
730
730
|
/**
|
|
731
|
-
*
|
|
732
|
-
* @param
|
|
733
|
-
* @param
|
|
734
|
-
* @param
|
|
735
|
-
* @param
|
|
736
|
-
* @param
|
|
737
|
-
|
|
731
|
+
* Display a delete dialog
|
|
732
|
+
* @param message : html message
|
|
733
|
+
* @param title : dialog title
|
|
734
|
+
* @param confirmMode : the confirm mode
|
|
735
|
+
* @param okCaption : ok button caption
|
|
736
|
+
* @param cancelCaption : cancel button caption
|
|
737
|
+
* @param otherCaption : other button caption
|
|
738
|
+
* @param options: check box options
|
|
739
|
+
* @param width: the preferred width
|
|
740
|
+
*/
|
|
741
|
+
delete(message: string, title?: string, confirmMode?: DeleteDialogConfirmMode, okCaption?: string, cancelCaption?: string, width?: number, details?: string): MatDialogRef<any, any>;
|
|
742
|
+
/**
|
|
743
|
+
* Sent to
|
|
744
|
+
* @param title : title
|
|
745
|
+
* @param allowPopulate: true if the populate fuction is allowed
|
|
746
|
+
* @param count : elements to send or null
|
|
747
|
+
* @param options : checkable option list
|
|
748
|
+
* @param width: the preferred width
|
|
749
|
+
*/
|
|
738
750
|
sendTo(title?: string, allowPopulate?: boolean, count?: number, options?: any, width?: number): MatDialogRef<SendToDialogComponent, any>;
|
|
739
751
|
/**
|
|
740
752
|
* Select a tree node
|
|
@@ -747,16 +759,16 @@ declare class ApplicationDialogService {
|
|
|
747
759
|
*/
|
|
748
760
|
selectTree(nodes: any, title?: string, description?: string, initialFilter?: string, width?: number, okCaption?: string, canAppend?: boolean): MatDialogRef<SelectTreeDialogComponent, any>;
|
|
749
761
|
/**
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
762
|
+
* Display a select a picture dialog
|
|
763
|
+
* @param title : dialog title
|
|
764
|
+
* @param descritpion : brief description
|
|
765
|
+
* @param okCaption : ok button caption
|
|
766
|
+
* @param options : checkable option list
|
|
767
|
+
* @param width: the preferred width
|
|
768
|
+
* @param maxSize: the maximum file size accepted in mb
|
|
769
|
+
* @param maxPictureWidth: the maximum picture width accepted
|
|
770
|
+
* @param maxPictureHeight: the maximum picture height accepted
|
|
771
|
+
*/
|
|
760
772
|
selectPicture(title?: string, descritpion?: string, okCaption?: string, options?: any, width?: number, maxSize?: number, maxPictureWidth?: number, maxPictureHeight?: number): MatDialogRef<SelectPictureDialogComponent, any>;
|
|
761
773
|
/**
|
|
762
774
|
* Display a select a file dialog
|