@arsedizioni/ars-utils 18.2.344 → 18.2.346

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.
Files changed (90) hide show
  1. package/clipper.common/common/services/clipper.service.d.ts +4 -0
  2. package/clipper.ui/ui/search-result-manager/search-result-manager.d.ts +0 -1
  3. package/esm2022/clipper.common/common/common.module.mjs +4 -4
  4. package/esm2022/clipper.common/common/interceptors/auth.interceptor.mjs +3 -3
  5. package/esm2022/clipper.common/common/services/clipper.service.mjs +10 -4
  6. package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
  7. package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
  8. package/esm2022/clipper.ui/ui/document-index/document-index.component.mjs +3 -3
  9. package/esm2022/clipper.ui/ui/document-manager/document-manager.mjs +3 -3
  10. package/esm2022/clipper.ui/ui/document-menu/document-menu.component.mjs +3 -3
  11. package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
  12. package/esm2022/clipper.ui/ui/search-calendar/search-calendar.component.mjs +3 -3
  13. package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +3 -3
  14. package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -3
  15. package/esm2022/clipper.ui/ui/search-free-text-help/search-free-text-help.component.mjs +3 -3
  16. package/esm2022/clipper.ui/ui/search-free-text-query-builder/search-free-text-query-builder.component.mjs +3 -3
  17. package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +3 -3
  18. package/esm2022/clipper.ui/ui/search-result-manager/search-result-manager.mjs +4 -5
  19. package/esm2022/core/core.module.mjs +8 -8
  20. package/esm2022/core/dateFnsAdapter.mjs +3 -3
  21. package/esm2022/core/directives/autoFocusDirective.mjs +3 -3
  22. package/esm2022/core/directives/changeDateIntervalDirective.mjs +3 -3
  23. package/esm2022/core/directives/copyClipboardDirective.mjs +4 -4
  24. package/esm2022/core/directives/validators.mjs +33 -33
  25. package/esm2022/core/pipes/format.pipe.mjs +4 -4
  26. package/esm2022/core/pipes/replace.pipe.mjs +4 -4
  27. package/esm2022/core/pipes/safe-html.pipe.mjs +4 -4
  28. package/esm2022/core/pipes/safe-url.pipe.mjs +4 -4
  29. package/esm2022/core/pipes/search-callback.pipe.mjs +3 -3
  30. package/esm2022/core/pipes/search-filter.pipe.mjs +4 -4
  31. package/esm2022/core/services/broadcast.service.mjs +3 -3
  32. package/esm2022/core/services/environment.service.mjs +3 -3
  33. package/esm2022/core/services/screen.service.mjs +3 -3
  34. package/esm2022/core/services/theme.service.mjs +3 -3
  35. package/esm2022/help/components/help-viewer/help-viewer.component.mjs +6 -6
  36. package/esm2022/help/help.module.mjs +4 -4
  37. package/esm2022/help/services/help.service.mjs +3 -3
  38. package/esm2022/support.common/common/common.module.mjs +4 -4
  39. package/esm2022/support.common/common/interceptors/auth.interceptor.mjs +3 -3
  40. package/esm2022/support.common/common/services/support.service.mjs +3 -3
  41. package/esm2022/support.ui/ui/notifications-browser/notification/notification.component.mjs +3 -3
  42. package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +3 -3
  43. package/esm2022/tinymce/full-screen-editor/full-screen-editor.component.mjs +3 -3
  44. package/esm2022/tinymce/tinymce.module.mjs +4 -4
  45. package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +3 -3
  46. package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +3 -3
  47. package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +3 -3
  48. package/esm2022/ui/ui/dialogs/info/info-dialog.component.mjs +3 -3
  49. package/esm2022/ui/ui/dialogs/recover-password/recover-password-dialog.component.mjs +3 -3
  50. package/esm2022/ui/ui/dialogs/reset-password/reset-password-dialog.component.mjs +3 -3
  51. package/esm2022/ui/ui/dialogs/toast/toast.component.mjs +3 -3
  52. package/esm2022/ui/ui/paginatorIntl.mjs +3 -3
  53. package/esm2022/ui/ui/services/dialog.service.mjs +3 -3
  54. package/esm2022/ui/ui/services/ui.service.mjs +3 -3
  55. package/esm2022/ui/ui/ui.module.mjs +4 -4
  56. package/esm2022/ui.application/ui/components/button-selector/button-selector.component.mjs +3 -3
  57. package/esm2022/ui.application/ui/components/button-toggle/button-toggle.component.mjs +3 -3
  58. package/esm2022/ui.application/ui/components/calendar-empty-header/calendar-empy-header.component.mjs +3 -3
  59. package/esm2022/ui.application/ui/components/chips-selector/chips-selector.component.mjs +3 -3
  60. package/esm2022/ui.application/ui/components/file-input/file-input.component.mjs +3 -3
  61. package/esm2022/ui.application/ui/components/file-preview/file-preview.component.mjs +3 -3
  62. package/esm2022/ui.application/ui/components/filter-bar/filter-bar.component.mjs +3 -3
  63. package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +3 -3
  64. package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +3 -3
  65. package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +3 -3
  66. package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +3 -3
  67. package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +3 -3
  68. package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +3 -3
  69. package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +6 -6
  70. package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +3 -3
  71. package/esm2022/ui.application/ui/directives/resize-table-column.directive.mjs +3 -3
  72. package/esm2022/ui.application/ui/services/applicationDialog.service.mjs +3 -3
  73. package/esm2022/ui.application/ui/ui.module.mjs +4 -4
  74. package/esm2022/ui.oauth/ui/components/login/login-oauth.component.mjs +3 -3
  75. package/esm2022/ui.oauth/ui/ui.module.mjs +4 -4
  76. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +16 -10
  77. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  78. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +39 -40
  79. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  80. package/fesm2022/arsedizioni-ars-utils-core.mjs +89 -89
  81. package/fesm2022/arsedizioni-ars-utils-help.mjs +13 -13
  82. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +10 -10
  83. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
  84. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +7 -7
  85. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +58 -58
  86. package/fesm2022/arsedizioni-ars-utils-ui.mjs +34 -34
  87. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +7 -7
  88. package/package.json +7 -7
  89. package/core/services/broadcastChannelHandler.d.ts +0 -83
  90. package/esm2022/core/services/broadcastChannelHandler.mjs +0 -80
@@ -127,8 +127,8 @@ export class LoginOAuthComponent {
127
127
  // Use wrapper click to prevent Illegal invocation exception
128
128
  googleButtonWrapper.click();
129
129
  }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: LoginOAuthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
131
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.1.3", type: LoginOAuthComponent, isStandalone: true, selector: "login-oauth", inputs: { appName: { classPropertyName: "appName", publicName: "appName", isSignal: true, isRequired: false, transformFunction: null }, autoInitialize: { classPropertyName: "autoInitialize", publicName: "autoInitialize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { success: "success" }, providers: [{
130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: LoginOAuthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
131
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.1.4", type: LoginOAuthComponent, isStandalone: true, selector: "login-oauth", inputs: { appName: { classPropertyName: "appName", publicName: "appName", isSignal: true, isRequired: false, transformFunction: null }, autoInitialize: { classPropertyName: "autoInitialize", publicName: "autoInitialize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { success: "success" }, providers: [{
132
132
  provide: MSAL_INSTANCE,
133
133
  deps: [EnvironmentService],
134
134
  useFactory: MSALInstanceFactory
@@ -145,7 +145,7 @@ export class LoginOAuthComponent {
145
145
  MsalService,
146
146
  MsalBroadcastService], ngImport: i0, template: "<div class=\"login-oauth\">\r\n <div class=\"message\">\r\n <p>Questa sezione consente di accedere al servizio utilizzando un provider OAuth2.</p>\r\n <p>La email utilizzata deve essere collegata ad un utente valido di {{appName()}} e dei servizi ad esso connessi.</p>\r\n </div>\r\n <div class=\"button\">\r\n <button mat-flat-button color=\"primary\" (click)=\"loginMSAL()\" [attr.aria-label]=\"'Effettua accesso'\"\r\n [disabled]=\"!oauthMicrosoftReady()\" style=\"width: 100%;\">\r\n Accedi con Microsoft</button>\r\n </div>\r\n <div class=\"button\">\r\n <button mat-flat-button color=\"primary\" (click)=\"loginGoogle()\" style=\"width: 100%;\"\r\n [attr.aria-label]=\"'Effettua accesso'\" [disabled]=\"!oauthGoogleReady()\">\r\n Accedi con Google</button>\r\n </div>\r\n</div>", styles: [".login-oauth{text-align:center}.login-oauth .button{padding:10px 0;width:100%}.login-oauth .message{padding:0 0 10px!important;font-size:small}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
147
147
  }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: LoginOAuthComponent, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: LoginOAuthComponent, decorators: [{
149
149
  type: Component,
150
150
  args: [{ selector: 'login-oauth', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{
151
151
  provide: MSAL_INSTANCE,
@@ -2,11 +2,11 @@ import { NgModule } from "@angular/core";
2
2
  import * as i0 from "@angular/core";
3
3
  // Material
4
4
  export class ArsUIOAuthModule {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsUIOAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.3", ngImport: i0, type: ArsUIOAuthModule }); }
7
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsUIOAuthModule }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsUIOAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ArsUIOAuthModule }); }
7
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsUIOAuthModule }); }
8
8
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsUIOAuthModule, decorators: [{
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsUIOAuthModule, decorators: [{
10
10
  type: NgModule
11
11
  }] });
12
12
  export * from "./definitions";
@@ -2196,6 +2196,12 @@ class ClipperService {
2196
2196
  getTopics() {
2197
2197
  return this.httpClient.get(this._serviceUri + '/topics');
2198
2198
  }
2199
+ /**
2200
+ * Retrieve topics as tree
2201
+ */
2202
+ getTopicsAsTree() {
2203
+ return this.httpClient.get(this._serviceUri + '/topics2');
2204
+ }
2199
2205
  /**
2200
2206
  * Retrieve tags
2201
2207
  */
@@ -2381,10 +2387,10 @@ class ClipperService {
2381
2387
  return this.httpClient
2382
2388
  .post(this.serviceUri + '/documents/searches/delete', { id: id });
2383
2389
  }
2384
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2385
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
2390
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2391
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
2386
2392
  }
2387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperService, decorators: [{
2393
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperService, decorators: [{
2388
2394
  type: Injectable,
2389
2395
  args: [{
2390
2396
  providedIn: 'root',
@@ -2459,19 +2465,19 @@ class ClipperAuthInterceptor {
2459
2465
  }
2460
2466
  return request;
2461
2467
  }
2462
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2463
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperAuthInterceptor }); }
2468
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2469
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperAuthInterceptor }); }
2464
2470
  }
2465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
2471
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
2466
2472
  type: Injectable
2467
2473
  }] });
2468
2474
 
2469
2475
  class ArsClipperCommonModule {
2470
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2471
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.3", ngImport: i0, type: ArsClipperCommonModule }); }
2472
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsClipperCommonModule }); }
2476
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2477
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule }); }
2478
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule }); }
2473
2479
  }
2474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
2480
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
2475
2481
  type: NgModule
2476
2482
  }] });
2477
2483