@arsedizioni/ars-utils 20.3.36 → 20.3.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "20.3.36",
3
+ "version": "20.3.38",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -40,14 +40,14 @@
40
40
  "types": "./clipper.ui/index.d.ts",
41
41
  "default": "./fesm2022/arsedizioni-ars-utils-clipper.ui.mjs"
42
42
  },
43
- "./evolution.common": {
44
- "types": "./evolution.common/index.d.ts",
45
- "default": "./fesm2022/arsedizioni-ars-utils-evolution.common.mjs"
46
- },
47
43
  "./core": {
48
44
  "types": "./core/index.d.ts",
49
45
  "default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
50
46
  },
47
+ "./evolution.common": {
48
+ "types": "./evolution.common/index.d.ts",
49
+ "default": "./fesm2022/arsedizioni-ars-utils-evolution.common.mjs"
50
+ },
51
51
  "./help": {
52
52
  "types": "./help/index.d.ts",
53
53
  "default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
@@ -44,13 +44,6 @@ interface SupportUserInfo {
44
44
  isOperator: boolean;
45
45
  isTemporary: boolean;
46
46
  }
47
- declare enum SupportLoginFlags {
48
- None = 0,
49
- RememberCredentials = 1,
50
- DisableMfa = 2,
51
- ExtendMfaValidity = 4,
52
- ExtendRememberCredentialsValidity = 8
53
- }
54
47
  interface SupportLoginResult extends LoginResult<SupportUserInfo> {
55
48
  token?: string;
56
49
  }
@@ -244,7 +237,7 @@ declare class SupportService implements OnDestroy {
244
237
  * @param oauthAccessToken: the optional oauth2 access token
245
238
  * @returns: the login result
246
239
  */
247
- login(email?: string, oauth?: number, oauthAccessToken?: string, flags?: SupportLoginFlags | undefined): rxjs.Observable<ApiResult<SupportLoginResult>>;
240
+ login(email?: string, oauth?: number, oauthAccessToken?: string): rxjs.Observable<ApiResult<SupportLoginResult>>;
248
241
  /**
249
242
  * Complete login
250
243
  * @param result : the login result
@@ -255,7 +248,7 @@ declare class SupportService implements OnDestroy {
255
248
  * @param code: the confirm code
256
249
  * @param flags: the login flags
257
250
  */
258
- confirmIdentity(code: string, flags?: number): rxjs.Observable<ApiResult<SupportLoginResult>>;
251
+ confirmIdentity(code: string): rxjs.Observable<ApiResult<SupportLoginResult>>;
259
252
  /**
260
253
  * Perform logout
261
254
  */
@@ -310,5 +303,5 @@ declare class ArsSupportCommonModule {
310
303
  static ɵinj: i0.ɵɵInjectorDeclaration<ArsSupportCommonModule>;
311
304
  }
312
305
 
313
- export { ArsSupportCommonModule, SupportAuthInterceptor, SupportLoginFlags, SupportMessages, SupportProduct, SupportProductModule, SupportService, SupportServiceFlags };
306
+ export { ArsSupportCommonModule, SupportAuthInterceptor, SupportMessages, SupportProduct, SupportProductModule, SupportService, SupportServiceFlags };
314
307
  export type { Notification, SupportDocumentInfo, SupportLoginInfo, SupportLoginResult, SupportNotificationInfo, SupportNotificationsMarkParams, SupportNotificationsSearchParams, SupportNotificationsSearchResult, SupportUserInfo };
@@ -781,8 +781,9 @@ declare class ApplicationDialogService {
781
781
  * @param cancelCaption : cancel button caption
782
782
  * @param options : checkable option list
783
783
  * @param width: the preferred width
784
+ * @param required: ture if the input is required
784
785
  */
785
- prompt(title: string, type: number, description: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number): MatDialogRef<PromptDialogComponent>;
786
+ prompt(title: string, type: number, description: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptDialogComponent>;
786
787
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApplicationDialogService, never>;
787
788
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ApplicationDialogService>;
788
789
  }