@arsedizioni/ars-utils 18.2.345 → 18.2.347

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 (96) hide show
  1. package/clipper.common/common/definitions.d.ts +1 -0
  2. package/clipper.common/common/services/clipper.service.d.ts +4 -0
  3. package/clipper.ui/ui/document-menu/document-menu.component.d.ts +1 -1
  4. package/core/definitions.d.ts +3 -2
  5. package/core/system.d.ts +1 -1
  6. package/esm2022/clipper.common/common/common.module.mjs +4 -4
  7. package/esm2022/clipper.common/common/definitions.mjs +2 -1
  8. package/esm2022/clipper.common/common/interceptors/auth.interceptor.mjs +3 -3
  9. package/esm2022/clipper.common/common/services/clipper.service.mjs +10 -4
  10. package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
  11. package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
  12. package/esm2022/clipper.ui/ui/document-index/document-index.component.mjs +3 -3
  13. package/esm2022/clipper.ui/ui/document-manager/document-manager.mjs +3 -3
  14. package/esm2022/clipper.ui/ui/document-menu/document-menu.component.mjs +3 -3
  15. package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
  16. package/esm2022/clipper.ui/ui/search-calendar/search-calendar.component.mjs +3 -3
  17. package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +3 -3
  18. package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -3
  19. package/esm2022/clipper.ui/ui/search-free-text-help/search-free-text-help.component.mjs +3 -3
  20. package/esm2022/clipper.ui/ui/search-free-text-query-builder/search-free-text-query-builder.component.mjs +3 -3
  21. package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +3 -3
  22. package/esm2022/clipper.ui/ui/search-result-manager/search-result-manager.mjs +3 -3
  23. package/esm2022/core/core.module.mjs +8 -8
  24. package/esm2022/core/dateFnsAdapter.mjs +3 -3
  25. package/esm2022/core/definitions.mjs +1 -1
  26. package/esm2022/core/directives/autoFocusDirective.mjs +3 -3
  27. package/esm2022/core/directives/changeDateIntervalDirective.mjs +3 -3
  28. package/esm2022/core/directives/copyClipboardDirective.mjs +4 -4
  29. package/esm2022/core/directives/validators.mjs +33 -33
  30. package/esm2022/core/pipes/format.pipe.mjs +4 -4
  31. package/esm2022/core/pipes/replace.pipe.mjs +4 -4
  32. package/esm2022/core/pipes/safe-html.pipe.mjs +4 -4
  33. package/esm2022/core/pipes/safe-url.pipe.mjs +4 -4
  34. package/esm2022/core/pipes/search-callback.pipe.mjs +3 -3
  35. package/esm2022/core/pipes/search-filter.pipe.mjs +4 -4
  36. package/esm2022/core/services/broadcast.service.mjs +3 -3
  37. package/esm2022/core/services/environment.service.mjs +3 -3
  38. package/esm2022/core/services/screen.service.mjs +3 -3
  39. package/esm2022/core/services/theme.service.mjs +3 -3
  40. package/esm2022/core/system.mjs +1 -1
  41. package/esm2022/help/components/help-viewer/help-viewer.component.mjs +6 -6
  42. package/esm2022/help/help.module.mjs +4 -4
  43. package/esm2022/help/services/help.service.mjs +3 -3
  44. package/esm2022/support.common/common/common.module.mjs +4 -4
  45. package/esm2022/support.common/common/interceptors/auth.interceptor.mjs +3 -3
  46. package/esm2022/support.common/common/services/support.service.mjs +3 -3
  47. package/esm2022/support.ui/ui/notifications-browser/notification/notification.component.mjs +3 -3
  48. package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +3 -3
  49. package/esm2022/tinymce/full-screen-editor/full-screen-editor.component.mjs +3 -3
  50. package/esm2022/tinymce/tinymce.module.mjs +4 -4
  51. package/esm2022/ui/ui/dialogs/busy/busy-dialog.component.mjs +3 -3
  52. package/esm2022/ui/ui/dialogs/confirm/confirm-dialog.component.mjs +3 -3
  53. package/esm2022/ui/ui/dialogs/credentials/credentials-dialog.component.mjs +3 -3
  54. package/esm2022/ui/ui/dialogs/info/info-dialog.component.mjs +3 -3
  55. package/esm2022/ui/ui/dialogs/recover-password/recover-password-dialog.component.mjs +3 -3
  56. package/esm2022/ui/ui/dialogs/reset-password/reset-password-dialog.component.mjs +3 -3
  57. package/esm2022/ui/ui/dialogs/toast/toast.component.mjs +3 -3
  58. package/esm2022/ui/ui/paginatorIntl.mjs +3 -3
  59. package/esm2022/ui/ui/services/dialog.service.mjs +3 -3
  60. package/esm2022/ui/ui/services/ui.service.mjs +3 -3
  61. package/esm2022/ui/ui/ui.module.mjs +4 -4
  62. package/esm2022/ui.application/ui/components/button-selector/button-selector.component.mjs +3 -3
  63. package/esm2022/ui.application/ui/components/button-toggle/button-toggle.component.mjs +3 -3
  64. package/esm2022/ui.application/ui/components/calendar-empty-header/calendar-empy-header.component.mjs +3 -3
  65. package/esm2022/ui.application/ui/components/chips-selector/chips-selector.component.mjs +3 -3
  66. package/esm2022/ui.application/ui/components/file-input/file-input.component.mjs +3 -3
  67. package/esm2022/ui.application/ui/components/file-preview/file-preview.component.mjs +3 -3
  68. package/esm2022/ui.application/ui/components/filter-bar/filter-bar.component.mjs +3 -3
  69. package/esm2022/ui.application/ui/dialogs/prompt/prompt-dialog.component.mjs +3 -3
  70. package/esm2022/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.mjs +3 -3
  71. package/esm2022/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.mjs +3 -3
  72. package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +3 -3
  73. package/esm2022/ui.application/ui/dialogs/select-file/select-file-dialog.component.mjs +3 -3
  74. package/esm2022/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.mjs +3 -3
  75. package/esm2022/ui.application/ui/dialogs/select-tree/select-tree-dialog.component.mjs +6 -6
  76. package/esm2022/ui.application/ui/dialogs/send-to/send-to-dialog.component.mjs +3 -3
  77. package/esm2022/ui.application/ui/directives/resize-table-column.directive.mjs +3 -3
  78. package/esm2022/ui.application/ui/services/applicationDialog.service.mjs +3 -3
  79. package/esm2022/ui.application/ui/ui.module.mjs +4 -4
  80. package/esm2022/ui.oauth/ui/components/login/login-oauth.component.mjs +3 -3
  81. package/esm2022/ui.oauth/ui/ui.module.mjs +4 -4
  82. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +17 -10
  83. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  84. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +39 -39
  85. package/fesm2022/arsedizioni-ars-utils-core.mjs +89 -89
  86. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  87. package/fesm2022/arsedizioni-ars-utils-help.mjs +13 -13
  88. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +10 -10
  89. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
  90. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +7 -7
  91. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +58 -58
  92. package/fesm2022/arsedizioni-ars-utils-ui.mjs +34 -34
  93. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +7 -7
  94. package/package.json +1 -1
  95. package/core/services/broadcastChannelHandler.d.ts +0 -83
  96. 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";
@@ -1435,6 +1435,7 @@ class ClipperSearchParams {
1435
1435
  this.sector = null;
1436
1436
  this.sectors = null;
1437
1437
  this.topic = null;
1438
+ this.topics = null;
1438
1439
  this.taxonomy = null;
1439
1440
  this.taxonomies = null;
1440
1441
  this.taxonomyPath = null;
@@ -2196,6 +2197,12 @@ class ClipperService {
2196
2197
  getTopics() {
2197
2198
  return this.httpClient.get(this._serviceUri + '/topics');
2198
2199
  }
2200
+ /**
2201
+ * Retrieve topics as tree
2202
+ */
2203
+ getTopicsAsTree() {
2204
+ return this.httpClient.get(this._serviceUri + '/topics2');
2205
+ }
2199
2206
  /**
2200
2207
  * Retrieve tags
2201
2208
  */
@@ -2381,10 +2388,10 @@ class ClipperService {
2381
2388
  return this.httpClient
2382
2389
  .post(this.serviceUri + '/documents/searches/delete', { id: id });
2383
2390
  }
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' }); }
2391
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2392
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
2386
2393
  }
2387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperService, decorators: [{
2394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperService, decorators: [{
2388
2395
  type: Injectable,
2389
2396
  args: [{
2390
2397
  providedIn: 'root',
@@ -2459,19 +2466,19 @@ class ClipperAuthInterceptor {
2459
2466
  }
2460
2467
  return request;
2461
2468
  }
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 }); }
2469
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2470
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperAuthInterceptor }); }
2464
2471
  }
2465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
2472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
2466
2473
  type: Injectable
2467
2474
  }] });
2468
2475
 
2469
2476
  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 }); }
2477
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
2478
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule }); }
2479
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule }); }
2473
2480
  }
2474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
2481
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
2475
2482
  type: NgModule
2476
2483
  }] });
2477
2484