@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
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { input, inject, Renderer2, ElementRef, Directive, output, ChangeDetectionStrategy, Component, Injectable, ChangeDetectorRef, signal, viewChild, NgModule, HostBinding, Input, ViewChild, Optional, Self, effect, computed } from '@angular/core';
|
|
3
3
|
import * as i13 from '@angular/material/paginator';
|
|
4
4
|
import { MatPaginatorModule, MatPaginatorIntl } from '@angular/material/paginator';
|
|
5
|
-
import { DialogService, PaginatorIntl, OtpInputComponent, UIService } from '@arsedizioni/ars-utils/ui';
|
|
5
|
+
import { DialogService, DeleteDialogConfirmMode, PaginatorIntl, OtpInputComponent, UIService } from '@arsedizioni/ars-utils/ui';
|
|
6
6
|
import * as i5 from '@angular/cdk/text-field';
|
|
7
7
|
import { TextFieldModule } from '@angular/cdk/text-field';
|
|
8
8
|
import * as i1 from '@angular/forms';
|
|
@@ -1285,13 +1285,27 @@ class ApplicationDialogService {
|
|
|
1285
1285
|
return this.dialogService.confirm(message, title, okCaption, cancelCaption, otherCaption, options, width, details);
|
|
1286
1286
|
}
|
|
1287
1287
|
/**
|
|
1288
|
-
*
|
|
1289
|
-
* @param
|
|
1290
|
-
* @param
|
|
1291
|
-
* @param
|
|
1292
|
-
* @param
|
|
1293
|
-
* @param
|
|
1294
|
-
|
|
1288
|
+
* Display a delete dialog
|
|
1289
|
+
* @param message : html message
|
|
1290
|
+
* @param title : dialog title
|
|
1291
|
+
* @param confirmMode : the confirm mode
|
|
1292
|
+
* @param okCaption : ok button caption
|
|
1293
|
+
* @param cancelCaption : cancel button caption
|
|
1294
|
+
* @param otherCaption : other button caption
|
|
1295
|
+
* @param options: check box options
|
|
1296
|
+
* @param width: the preferred width
|
|
1297
|
+
*/
|
|
1298
|
+
delete(message, title = 'Attenzione', confirmMode = DeleteDialogConfirmMode.None, okCaption = 'Si', cancelCaption = 'No', width = 500, details) {
|
|
1299
|
+
return this.dialogService.delete(message, title, confirmMode, okCaption, cancelCaption, width, details);
|
|
1300
|
+
}
|
|
1301
|
+
/**
|
|
1302
|
+
* Sent to
|
|
1303
|
+
* @param title : title
|
|
1304
|
+
* @param allowPopulate: true if the populate fuction is allowed
|
|
1305
|
+
* @param count : elements to send or null
|
|
1306
|
+
* @param options : checkable option list
|
|
1307
|
+
* @param width: the preferred width
|
|
1308
|
+
*/
|
|
1295
1309
|
sendTo(title = 'Invia per email', allowPopulate = false, count, options, width = 500) {
|
|
1296
1310
|
return this.dialogService.open(SendToDialogComponent, {
|
|
1297
1311
|
ariaLabel: 'invia per email',
|
|
@@ -1340,16 +1354,16 @@ class ApplicationDialogService {
|
|
|
1340
1354
|
});
|
|
1341
1355
|
}
|
|
1342
1356
|
/**
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1357
|
+
* Display a select a picture dialog
|
|
1358
|
+
* @param title : dialog title
|
|
1359
|
+
* @param descritpion : brief description
|
|
1360
|
+
* @param okCaption : ok button caption
|
|
1361
|
+
* @param options : checkable option list
|
|
1362
|
+
* @param width: the preferred width
|
|
1363
|
+
* @param maxSize: the maximum file size accepted in mb
|
|
1364
|
+
* @param maxPictureWidth: the maximum picture width accepted
|
|
1365
|
+
* @param maxPictureHeight: the maximum picture height accepted
|
|
1366
|
+
*/
|
|
1353
1367
|
selectPicture(title = 'Seleziona immagine', descritpion, okCaption = 'Ok', options, width = 600, maxSize, maxPictureWidth, maxPictureHeight) {
|
|
1354
1368
|
return this.dialogService.open(SelectPictureDialogComponent, {
|
|
1355
1369
|
ariaLabel: 'seleziona immagine',
|