@arsedizioni/ars-utils 22.0.5 → 22.0.7
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +11 -11
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +1275 -1220
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/package.json +1 -5
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +1 -2
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +2 -2
- package/types/arsedizioni-ars-utils-evolution.common.d.ts +1 -1
- package/types/arsedizioni-ars-utils-support.common.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.application.d.ts +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arsedizioni/ars-utils",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.7",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "software@arsedizioni.it",
|
|
6
6
|
"name": "Fabio Buscaroli, Alberto Doria"
|
|
@@ -71,10 +71,6 @@
|
|
|
71
71
|
"./ui.application": {
|
|
72
72
|
"types": "./types/arsedizioni-ars-utils-ui.application.d.ts",
|
|
73
73
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.application.mjs"
|
|
74
|
-
},
|
|
75
|
-
"./ui.oauth": {
|
|
76
|
-
"types": "./types/arsedizioni-ars-utils-ui.oauth.d.ts",
|
|
77
|
-
"default": "./fesm2022/arsedizioni-ars-utils-ui.oauth.mjs"
|
|
78
74
|
}
|
|
79
75
|
},
|
|
80
76
|
"sideEffects": false,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal } from '@angular/core';
|
|
3
3
|
import { NameValueItem, Folder, QueryModel, LoginResult, QueryResultModel, ApiResult, UpdateResultModel, FolderTree } from '@arsedizioni/ars-utils/core';
|
|
4
|
-
import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
|
|
5
|
-
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
4
|
+
import { LoginOAuthType, SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
|
|
6
5
|
import * as _angular_common_http from '@angular/common/http';
|
|
7
6
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
8
7
|
import * as rxjs from 'rxjs';
|
|
@@ -166,7 +166,7 @@ declare class ClipperDocumentManager {
|
|
|
166
166
|
/**
|
|
167
167
|
* Opens a dialog to manage the documents in the working bag (view, select, delete).
|
|
168
168
|
*/
|
|
169
|
-
openBag(): void
|
|
169
|
+
openBag(): Promise<void>;
|
|
170
170
|
/**
|
|
171
171
|
* Sends a print command to the Clipper document iframe.
|
|
172
172
|
*/
|
|
@@ -596,7 +596,7 @@ declare class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
596
596
|
* Saves the current filter parameters as a named search.
|
|
597
597
|
* @param newFilter - When true, always prompts for a new filter name; otherwise updates the existing one. Defaults to false.
|
|
598
598
|
*/
|
|
599
|
-
saveFilter(newFilter?: boolean): void
|
|
599
|
+
saveFilter(newFilter?: boolean): Promise<void>;
|
|
600
600
|
/**
|
|
601
601
|
* Prompts for confirmation and then deletes the currently active saved filter.
|
|
602
602
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, Signal } from '@angular/core';
|
|
3
3
|
import { SendToModel, LoginResult, QueryModel, ApiResult, INode, FolderTree } from '@arsedizioni/ars-utils/core';
|
|
4
|
-
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.
|
|
4
|
+
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.application';
|
|
5
5
|
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import { LoginResult, ApiResult } from '@arsedizioni/ars-utils/core';
|
|
4
|
-
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.
|
|
4
|
+
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.application';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
|
|
7
7
|
declare const SupportMessages: {
|
|
@@ -775,7 +775,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
775
775
|
* @param width - Maximum dialog width in pixels.
|
|
776
776
|
* @returns The opened dialog reference.
|
|
777
777
|
*/
|
|
778
|
-
sendTo(title?: string, text?: string, subject?: string, canPopulate?: boolean, count?: number, options?: any, width?: number): MatDialogRef<SendToDialogComponent, any>;
|
|
778
|
+
sendTo(title?: string, text?: string, subject?: string, canPopulate?: boolean, count?: number, options?: any, width?: number): Promise<MatDialogRef<SendToDialogComponent, any> | null>;
|
|
779
779
|
/**
|
|
780
780
|
* Open a tree-node selection dialog.
|
|
781
781
|
* @param nodes - The tree nodes to display.
|
|
@@ -787,7 +787,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
787
787
|
* @param canAppend - Whether the append-node action is available.
|
|
788
788
|
* @returns The opened dialog reference.
|
|
789
789
|
*/
|
|
790
|
-
selectTree(nodes: any, title?: string, description?: string, initialFilter?: string, width?: number, okCaption?: string, canAppend?: boolean): MatDialogRef<SelectTreeDialogComponent, any>;
|
|
790
|
+
selectTree(nodes: any, title?: string, description?: string, initialFilter?: string, width?: number, okCaption?: string, canAppend?: boolean): Promise<MatDialogRef<SelectTreeDialogComponent, any> | null>;
|
|
791
791
|
/**
|
|
792
792
|
* Open a picture-selection dialog.
|
|
793
793
|
* @param title - Dialog title.
|
|
@@ -800,7 +800,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
800
800
|
* @param maxPictureHeight - Maximum accepted picture height in pixels.
|
|
801
801
|
* @returns The opened dialog reference.
|
|
802
802
|
*/
|
|
803
|
-
selectPicture(title?: string, description?: string, okCaption?: string, options?: any, width?: number, maxSize?: number, maxPictureWidth?: number, maxPictureHeight?: number): MatDialogRef<SelectPictureDialogComponent, any>;
|
|
803
|
+
selectPicture(title?: string, description?: string, okCaption?: string, options?: any, width?: number, maxSize?: number, maxPictureWidth?: number, maxPictureHeight?: number): Promise<MatDialogRef<SelectPictureDialogComponent, any> | null>;
|
|
804
804
|
/**
|
|
805
805
|
* Open a file-selection dialog.
|
|
806
806
|
* @param title - Dialog title.
|
|
@@ -814,7 +814,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
814
814
|
* @param accept - Accepted file extensions (e.g. `.pdf,.docx`).
|
|
815
815
|
* @returns The opened dialog reference.
|
|
816
816
|
*/
|
|
817
|
-
selectFile(title?: string, description?: string, okCaption?: string, helpLink?: string, helpCaption?: string, options?: any, width?: number, maxSize?: number, accept?: string): MatDialogRef<SelectFileDialogComponent, any>;
|
|
817
|
+
selectFile(title?: string, description?: string, okCaption?: string, helpLink?: string, helpCaption?: string, options?: any, width?: number, maxSize?: number, accept?: string): Promise<MatDialogRef<SelectFileDialogComponent, any> | null>;
|
|
818
818
|
/**
|
|
819
819
|
* Open a multipurpose selection and CRUD dialog.
|
|
820
820
|
* @param data - The dialog configuration model.
|
|
@@ -822,7 +822,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
822
822
|
* @param closeOnNavigation - Whether the dialog closes on route navigation.
|
|
823
823
|
* @returns The opened dialog reference.
|
|
824
824
|
*/
|
|
825
|
-
select(data: SelectDialogData, disableClose?: boolean, closeOnNavigation?: boolean): MatDialogRef<SelectDialogComponent, any>;
|
|
825
|
+
select(data: SelectDialogData, disableClose?: boolean, closeOnNavigation?: boolean): Promise<MatDialogRef<SelectDialogComponent, any> | null>;
|
|
826
826
|
/**
|
|
827
827
|
* Prompt the user to enter a value.
|
|
828
828
|
* @param title - Dialog title.
|
|
@@ -836,7 +836,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
836
836
|
* @param required - Whether the input is required.
|
|
837
837
|
* @returns The opened dialog reference.
|
|
838
838
|
*/
|
|
839
|
-
prompt(title: string, type?: PromptDialogType, description?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptDialogComponent>;
|
|
839
|
+
prompt(title: string, type?: PromptDialogType, description?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): Promise<MatDialogRef<PromptDialogComponent> | null>;
|
|
840
840
|
/**
|
|
841
841
|
* Prompt the user to enter a date or date interval.
|
|
842
842
|
* @param title - Dialog title.
|
|
@@ -850,7 +850,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
850
850
|
* @param required - Whether the input is required.
|
|
851
851
|
* @returns The opened dialog reference.
|
|
852
852
|
*/
|
|
853
|
-
promptDate(title: string, type?: PromptDialogType.Date | PromptDialogType.DateInterval, description?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptDateDialogComponent>;
|
|
853
|
+
promptDate(title: string, type?: PromptDialogType.Date | PromptDialogType.DateInterval, description?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): Promise<MatDialogRef<PromptDateDialogComponent> | null>;
|
|
854
854
|
/**
|
|
855
855
|
* Prompt the user to enter a time value.
|
|
856
856
|
* @param title - Dialog title.
|
|
@@ -864,7 +864,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
864
864
|
* @param required - Whether the input is required.
|
|
865
865
|
* @returns The opened dialog reference.
|
|
866
866
|
*/
|
|
867
|
-
promptTime(title: string, description?: string, slots?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptTimeDialogComponent>;
|
|
867
|
+
promptTime(title: string, description?: string, slots?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): Promise<MatDialogRef<PromptTimeDialogComponent> | null>;
|
|
868
868
|
/**
|
|
869
869
|
* Prompt the user to enter an OTP code.
|
|
870
870
|
* @param title - Dialog title.
|
|
@@ -874,7 +874,7 @@ declare class ApplicationDialogService extends DialogService {
|
|
|
874
874
|
* @param width - Maximum dialog width in pixels.
|
|
875
875
|
* @returns The opened dialog reference.
|
|
876
876
|
*/
|
|
877
|
-
promptOtp(title?: string, description?: string, okCaption?: string, cancelCaption?: string, width?: number): MatDialogRef<PromptOtpDialogComponent>;
|
|
877
|
+
promptOtp(title?: string, description?: string, okCaption?: string, cancelCaption?: string, width?: number): Promise<MatDialogRef<PromptOtpDialogComponent> | null>;
|
|
878
878
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApplicationDialogService, never>;
|
|
879
879
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ApplicationDialogService>;
|
|
880
880
|
}
|