@valtimo/plugin 13.25.0 → 13.27.0

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.
@@ -1,9 +1,10 @@
1
1
  import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { PluginConfigurationComponent } from '../../../../models';
3
- import { Observable } from 'rxjs';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
4
  import { DocumentenApiPreviewConfig } from '../../models';
5
5
  import { PluginManagementService, PluginTranslationService } from '../../../../services';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
+ import { SelectItem } from '@valtimo/components';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class DocumentenApiPreviewConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {
9
10
  private readonly pluginManagementService;
@@ -16,8 +17,11 @@ export declare class DocumentenApiPreviewConfigurationComponent implements Plugi
16
17
  valid: EventEmitter<boolean>;
17
18
  configuration: EventEmitter<DocumentenApiPreviewConfig>;
18
19
  private saveSubscription;
20
+ private _pdfUniversalAccessibilitySubscription;
19
21
  private readonly formValue$;
20
22
  private readonly valid$;
23
+ readonly pdfArchiveMethods: SelectItem[];
24
+ readonly pdfUniversalAccessibility$: BehaviorSubject<boolean>;
21
25
  readonly documentenApiPluginSelectItems$: Observable<Array<{
22
26
  id: string;
23
27
  text: string;
@@ -25,7 +29,10 @@ export declare class DocumentenApiPreviewConfigurationComponent implements Plugi
25
29
  constructor(pluginManagementService: PluginManagementService, translateService: TranslateService, pluginTranslationService: PluginTranslationService);
26
30
  ngOnInit(): void;
27
31
  ngOnDestroy(): void;
32
+ onPdfUniversalAccessibilityChange(checked: boolean): void;
28
33
  formValueChange(formValue: DocumentenApiPreviewConfig): void;
34
+ private initPdfUniversalAccessibilityEnabled;
35
+ private openPdfUniversalAccessibilitySubscription;
29
36
  private handleValid;
30
37
  private openSaveSubscription;
31
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiPreviewConfigurationComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"documenten-api-preview-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/components/documenten-api-preview-configuration/documenten-api-preview-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,4BAA4B,EAAC,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAsC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACzF,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AACxD,OAAO,EAAC,uBAAuB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACvF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAKa,0CACX,YAAW,4BAA4B,EAAE,MAAM,EAAE,SAAS;IAgCxD,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAhClC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,0BAA0B,CAAC,CAAC;IAC7D,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,0BAA0B,CAAC,CAChB;IAEjD,OAAO,CAAC,gBAAgB,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgE;IAC3F,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D,QAAQ,CAAC,+BAA+B,EAAE,UAAU,CAAC,KAAK,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC,CAcnF;gBAGe,uBAAuB,EAAE,uBAAuB,EAChD,gBAAgB,EAAE,gBAAgB,EAClC,wBAAwB,EAAE,wBAAwB;IAGrE,QAAQ,IAAI,IAAI;IAIhB,WAAW;IAIX,eAAe,CAAC,SAAS,EAAE,0BAA0B,GAAG,IAAI;IAK5D,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,oBAAoB;yCA9DjB,0CAA0C;2CAA1C,0CAA0C;CAyEtD"}
1
+ {"version":3,"file":"documenten-api-preview-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/components/documenten-api-preview-configuration/documenten-api-preview-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,4BAA4B,EAAC,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAC,eAAe,EAAsB,UAAU,EAA2B,MAAM,MAAM,CAAC;AAC/F,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AACxD,OAAO,EAAC,uBAAuB,EAAE,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AACvF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,qBAAqB,CAAC;;AAE/C,qBAKa,0CACX,YAAW,4BAA4B,EAAE,MAAM,EAAE,SAAS;IA0CxD,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IA1ClC,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,0BAA0B,CAAC,CAAC;IAC7D,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,0BAA0B,CAAC,CAChB;IAEjD,OAAO,CAAC,gBAAgB,CAAgB;IACxC,OAAO,CAAC,sCAAsC,CAAgB;IAE9D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgE;IAC3F,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D,SAAgB,iBAAiB,EAAE,UAAU,EAAE,CAK7C;IAEF,SAAgB,0BAA0B,2BAAuC;IAEjF,SAAgB,+BAA+B,EAAE,UAAU,CAAC,KAAK,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC,CAc1F;gBAGe,uBAAuB,EAAE,uBAAuB,EAChD,gBAAgB,EAAE,gBAAgB,EAClC,wBAAwB,EAAE,wBAAwB;IAGrE,QAAQ,IAAI,IAAI;IAMhB,WAAW;IAKJ,iCAAiC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIhE,eAAe,CAAC,SAAS,EAAE,0BAA0B,GAAG,IAAI;IAS5D,OAAO,CAAC,oCAAoC;IAM5C,OAAO,CAAC,yCAAyC;IAWjD,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,oBAAoB;yCApGjB,0CAA0C;2CAA1C,0CAA0C;CA+GtD"}
@@ -3,9 +3,10 @@ import * as i1 from "./components/documenten-api-preview-configuration/documente
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../../pipes/plugin-translate/plugin-translate-pipe.module";
5
5
  import * as i4 from "@valtimo/components";
6
+ import * as i5 from "carbon-components-angular";
6
7
  export declare class DocumentenApiPreviewPluginModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentenApiPreviewPluginModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DocumentenApiPreviewPluginModule, [typeof i1.DocumentenApiPreviewConfigurationComponent], [typeof i2.CommonModule, typeof i3.PluginTranslatePipeModule, typeof i4.FormModule, typeof i4.InputModule, typeof i4.SelectModule, typeof i4.ParagraphModule], [typeof i1.DocumentenApiPreviewConfigurationComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DocumentenApiPreviewPluginModule, [typeof i1.DocumentenApiPreviewConfigurationComponent], [typeof i2.CommonModule, typeof i3.PluginTranslatePipeModule, typeof i4.FormModule, typeof i4.InputModule, typeof i4.SelectModule, typeof i4.InputLabelModule, typeof i5.ToggleModule], [typeof i1.DocumentenApiPreviewConfigurationComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<DocumentenApiPreviewPluginModule>;
10
11
  }
11
12
  //# sourceMappingURL=documenten-api-preview-plugin.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"documenten-api-preview-plugin.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.module.ts"],"names":[],"mappings":";;;;;AAsBA,qBAYa,gCAAgC;yCAAhC,gCAAgC;0CAAhC,gCAAgC;0CAAhC,gCAAgC;CAAG"}
1
+ {"version":3,"file":"documenten-api-preview-plugin.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.module.ts"],"names":[],"mappings":";;;;;;AAuBA,qBAaa,gCAAgC;yCAAhC,gCAAgC;0CAAhC,gCAAgC;0CAAhC,gCAAgC;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"documenten-api-preview-plugin.specification.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.specification.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAIjD,QAAA,MAAM,uCAAuC,EAAE,mBA+B9C,CAAC;AAEF,OAAO,EAAC,uCAAuC,EAAC,CAAC"}
1
+ {"version":3,"file":"documenten-api-preview-plugin.specification.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.specification.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAIjD,QAAA,MAAM,uCAAuC,EAAE,mBAuD9C,CAAC;AAEF,OAAO,EAAC,uCAAuC,EAAC,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import { PluginConfigurationData } from '../../../models';
2
+ type PdfArchiveMethod = 'none' | 'PDF/A-1b' | 'PDF/A-2b' | 'PDF/A-3b';
2
3
  interface DocumentenApiPreviewConfig extends PluginConfigurationData {
3
4
  pdfConversionUrl: string;
4
5
  documentenApiConfigurationId: string;
6
+ pdfArchiveMethod: PdfArchiveMethod;
7
+ pdfUniversalAccessibility: boolean;
5
8
  }
6
9
  export { DocumentenApiPreviewConfig };
7
10
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/models/config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAExD,UAAU,0BAA2B,SAAQ,uBAAuB;IAClE,gBAAgB,EAAE,MAAM,CAAC;IACzB,4BAA4B,EAAE,MAAM,CAAC;CACtC;AAED,OAAO,EAAC,0BAA0B,EAAC,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/documenten-api-preview/models/config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAExD,KAAK,gBAAgB,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;AAEtE,UAAU,0BAA2B,SAAQ,uBAAuB;IAClE,gBAAgB,EAAE,MAAM,CAAC;IACzB,4BAA4B,EAAE,MAAM,CAAC;IACrC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,yBAAyB,EAAE,OAAO,CAAC;CACpC;AAED,OAAO,EAAC,0BAA0B,EAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo/plugin",
3
3
  "license": "EUPL-1.2",
4
- "version": "13.25.0",
4
+ "version": "13.27.0",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "19.2.20",
7
7
  "@angular/core": "19.2.20"