@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.
- package/fesm2022/valtimo-plugin.mjs +66 -11
- package/fesm2022/valtimo-plugin.mjs.map +1 -1
- package/lib/plugins/documenten-api-preview/components/documenten-api-preview-configuration/documenten-api-preview-configuration.component.d.ts +8 -1
- package/lib/plugins/documenten-api-preview/components/documenten-api-preview-configuration/documenten-api-preview-configuration.component.d.ts.map +1 -1
- package/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.module.d.ts +2 -1
- package/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.module.d.ts.map +1 -1
- package/lib/plugins/documenten-api-preview/documenten-api-preview-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/documenten-api-preview/models/config.d.ts +3 -0
- package/lib/plugins/documenten-api-preview/models/config.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Inject, Injectable, Pipe, NgModule, EventEmitter, Output, Input, Component, ViewContainerRef, ViewChild, ChangeDetectionStrategy, ViewChildren } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject, combineLatest, take, of, map as map$1, switchMap, filter, Subject, Subscription, tap as tap$1, catchError } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, combineLatest, take, of, map as map$1, skip, switchMap, filter, Subject, Subscription, tap as tap$1, catchError } from 'rxjs';
|
|
4
4
|
import { map, tap } from 'rxjs/operators';
|
|
5
5
|
import * as i2 from '@ngx-translate/core';
|
|
6
6
|
import { TranslateModule } from '@ngx-translate/core';
|
|
@@ -14,7 +14,7 @@ import { RouterModule } from '@angular/router';
|
|
|
14
14
|
import * as i1$1 from '@angular/common';
|
|
15
15
|
import { CommonModule } from '@angular/common';
|
|
16
16
|
import * as i2$2 from '@valtimo/components';
|
|
17
|
-
import { ParagraphModule, FormModule, InputModule, ValuePathSelectorPrefix, SelectModule, CarbonMultiInputModule, CARBON_THEME, CurrentCarbonTheme,
|
|
17
|
+
import { ParagraphModule, FormModule, InputModule, ValuePathSelectorPrefix, SelectModule, CarbonMultiInputModule, InputLabelModule, CARBON_THEME, CurrentCarbonTheme, RadioModule, OverflowMenuComponent, OverflowMenuOptionComponent, ReadOnlyDirective, VModalComponent, MultiInputFormModule, TooltipIconModule, ValtimoCdsModalDirective, VModalModule, DatePickerModule as DatePickerModule$1 } from '@valtimo/components';
|
|
18
18
|
import { validate } from 'uuid';
|
|
19
19
|
import * as i1$3 from 'carbon-components-angular';
|
|
20
20
|
import { ToggleModule, LoadingModule, ButtonModule, IconModule, DatePickerInputModule, DatePickerModule, NotificationModule, TimePickerModule, ModalModule, InputModule as InputModule$1 } from 'carbon-components-angular';
|
|
@@ -2478,6 +2478,13 @@ class DocumentenApiPreviewConfigurationComponent {
|
|
|
2478
2478
|
this.configuration = new EventEmitter();
|
|
2479
2479
|
this.formValue$ = new BehaviorSubject(null);
|
|
2480
2480
|
this.valid$ = new BehaviorSubject(false);
|
|
2481
|
+
this.pdfArchiveMethods = [
|
|
2482
|
+
{ id: 'none', text: 'None', translationKey: 'pdfArchiveMethodNone' },
|
|
2483
|
+
{ id: 'PDF/A-1b', text: 'PDF/A-1b', translationKey: 'pdfArchiveMethodPdfA1b' },
|
|
2484
|
+
{ id: 'PDF/A-2b', text: 'PDF/A-2b', translationKey: 'pdfArchiveMethodPdfA2b' },
|
|
2485
|
+
{ id: 'PDF/A-3b', text: 'PDF/A-3b', translationKey: 'pdfArchiveMethodPdfA3b' },
|
|
2486
|
+
];
|
|
2487
|
+
this.pdfUniversalAccessibility$ = new BehaviorSubject(false);
|
|
2481
2488
|
this.documentenApiPluginSelectItems$ = combineLatest([
|
|
2482
2489
|
this.pluginManagementService.getPluginConfigurationsByPluginDefinitionKey('documentenapi'),
|
|
2483
2490
|
this.translateService.stream('key'),
|
|
@@ -2487,14 +2494,39 @@ class DocumentenApiPreviewConfigurationComponent {
|
|
|
2487
2494
|
}))));
|
|
2488
2495
|
}
|
|
2489
2496
|
ngOnInit() {
|
|
2497
|
+
this.initPdfUniversalAccessibilityEnabled();
|
|
2498
|
+
this.openPdfUniversalAccessibilitySubscription();
|
|
2490
2499
|
this.openSaveSubscription();
|
|
2491
2500
|
}
|
|
2492
2501
|
ngOnDestroy() {
|
|
2502
|
+
this._pdfUniversalAccessibilitySubscription?.unsubscribe();
|
|
2493
2503
|
this.saveSubscription?.unsubscribe();
|
|
2494
2504
|
}
|
|
2505
|
+
onPdfUniversalAccessibilityChange(checked) {
|
|
2506
|
+
this.pdfUniversalAccessibility$.next(checked);
|
|
2507
|
+
}
|
|
2495
2508
|
formValueChange(formValue) {
|
|
2496
|
-
|
|
2497
|
-
|
|
2509
|
+
const formValueIncludingToggle = {
|
|
2510
|
+
...formValue,
|
|
2511
|
+
pdfUniversalAccessibility: this.pdfUniversalAccessibility$.getValue(),
|
|
2512
|
+
};
|
|
2513
|
+
this.formValue$.next(formValueIncludingToggle);
|
|
2514
|
+
this.handleValid(formValueIncludingToggle);
|
|
2515
|
+
}
|
|
2516
|
+
initPdfUniversalAccessibilityEnabled() {
|
|
2517
|
+
this.prefillConfiguration$?.pipe(take(1)).subscribe(configuration => {
|
|
2518
|
+
this.pdfUniversalAccessibility$.next(!!configuration?.pdfUniversalAccessibility);
|
|
2519
|
+
});
|
|
2520
|
+
}
|
|
2521
|
+
openPdfUniversalAccessibilitySubscription() {
|
|
2522
|
+
this._pdfUniversalAccessibilitySubscription = this.pdfUniversalAccessibility$
|
|
2523
|
+
.pipe(skip(1))
|
|
2524
|
+
.subscribe(() => {
|
|
2525
|
+
const currentFormValue = this.formValue$.getValue();
|
|
2526
|
+
if (currentFormValue) {
|
|
2527
|
+
this.formValueChange(currentFormValue);
|
|
2528
|
+
}
|
|
2529
|
+
});
|
|
2498
2530
|
}
|
|
2499
2531
|
handleValid(formValue) {
|
|
2500
2532
|
const valid = !!(formValue.configurationTitle &&
|
|
@@ -2515,11 +2547,11 @@ class DocumentenApiPreviewConfigurationComponent {
|
|
|
2515
2547
|
});
|
|
2516
2548
|
}
|
|
2517
2549
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DocumentenApiPreviewConfigurationComponent, deps: [{ token: PluginManagementService }, { token: i2.TranslateService }, { token: PluginTranslationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2518
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DocumentenApiPreviewConfigurationComponent, isStandalone: false, selector: "valtimo-documenten-api-preview-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n data-test-id=\"documentenApiPreviewConfigurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Documenten API Preview Plugin\"\n >\n </v-input>\n <v-input\n name=\"pdfConversionUrl\"\n data-test-id=\"pdfConversionUrl\"\n [title]=\"'pdfConversionUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.pdfConversionUrl\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'pdfConversionUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"https://gotenberg:3000/\"\n >\n </v-input>\n <
|
|
2550
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: DocumentenApiPreviewConfigurationComponent, isStandalone: false, selector: "valtimo-documenten-api-preview-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n documentenApiPluginSelectItems: documentenApiPluginSelectItems$ | async,\n pdfUniversalAccessibility: pdfUniversalAccessibility$ | async,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n data-test-id=\"documentenApiPreviewConfigurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Documenten API Preview Plugin\"\n >\n </v-input>\n\n <v-input\n name=\"pdfConversionUrl\"\n data-test-id=\"pdfConversionUrl\"\n [title]=\"'pdfConversionUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.pdfConversionUrl\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'pdfConversionUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"https://gotenberg:3000/\"\n >\n </v-input>\n\n <v-select\n [loading]=\"!obs.documentenApiPluginSelectItems\"\n [items]=\"obs.documentenApiPluginSelectItems\"\n [margin]=\"true\"\n name=\"documentenApiConfigurationId\"\n data-test-id=\"documentenPreviewDocumentenApiPluginConfiguration\"\n [title]=\"'documentenApiPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.documentenApiConfigurationId\"\n [required]=\"true\"\n [tooltip]=\"'documentenApiPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n\n <v-select\n [loading]=\"!pdfArchiveMethods\"\n [items]=\"pdfArchiveMethods\"\n name=\"pdfArchiveMethod\"\n [title]=\"'pdfArchiveMethod' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'pdfArchiveMethodTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"obs.prefill?.pdfArchiveMethod || 'none'\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n ></v-select>\n\n <div class=\"input-toggle--small-margin\">\n <v-input-label\n [title]=\"'pdfUniversalAccessibility' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'pdfUniversalAccessibilityTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input-label>\n\n <cds-toggle\n [checked]=\"obs.pdfUniversalAccessibility\"\n [disabled]=\"obs.disabled\"\n [onText]=\"'pdfUniversalAccessibility.toggleOn' | pluginTranslate: pluginId | async\"\n [offText]=\"'pdfUniversalAccessibility.toggleOff' | pluginTranslate: pluginId | async\"\n (checkedChange)=\"onPdfUniversalAccessibilityChange($event)\"\n ></cds-toggle>\n </div>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.InputComponent, selector: "v-input", inputs: ["name", "type", "title", "titleTranslationKey", "defaultValue", "widthPx", "fullWidth", "margin", "smallMargin", "disabled", "step", "min", "maxLength", "tooltip", "required", "hideNumberSpinBox", "smallLabel", "rows", "clear$", "carbonTheme", "placeholder", "dataTestId", "trim", "presetsTitle", "presetOptions"], outputs: ["valueChange"] }, { kind: "component", type: i2$2.SelectComponent, selector: "v-select", inputs: ["items", "defaultSelection", "defaultSelectionId", "defaultSelectionIds", "disabled", "dropUp", "invalid", "multiple", "margin", "widthInPx", "notFoundText", "clearAllText", "clearText", "clearable", "name", "title", "titleTranslationKey", "clearSelectionSubject$", "tooltip", "required", "loading", "loadingText", "placeholder", "smallMargin", "carbonTheme", "appendInline", "warn", "warnText", "dataTestId"], outputs: ["selectedChange"] }, { kind: "component", type: i2$2.InputLabelComponent, selector: "v-input-label", inputs: ["name", "tooltip", "tooltipTranslationKey", "largeMargin", "small", "noMargin", "title", "titleTranslationKey", "required", "disabled", "carbonTheme"] }, { kind: "component", type: i1$3.Toggle, selector: "cds-toggle, ibm-toggle", inputs: ["offText", "onText", "label", "size", "hideLabel", "ariaLabel", "skeleton"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
|
|
2519
2551
|
}
|
|
2520
2552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DocumentenApiPreviewConfigurationComponent, decorators: [{
|
|
2521
2553
|
type: Component,
|
|
2522
|
-
args: [{ selector: 'valtimo-documenten-api-preview-configuration', standalone: false, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n data-test-id=\"documentenApiPreviewConfigurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Documenten API Preview Plugin\"\n >\n </v-input>\n <v-input\n name=\"pdfConversionUrl\"\n data-test-id=\"pdfConversionUrl\"\n [title]=\"'pdfConversionUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.pdfConversionUrl\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'pdfConversionUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"https://gotenberg:3000/\"\n >\n </v-input>\n <
|
|
2554
|
+
args: [{ selector: 'valtimo-documenten-api-preview-configuration', standalone: false, template: "<!--\n ~ Copyright 2015-2025 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<v-form\n (valueChange)=\"formValueChange($event)\"\n *ngIf=\"{\n disabled: disabled$ | async,\n prefill: prefillConfiguration$ ? (prefillConfiguration$ | async) : null,\n documentenApiPluginSelectItems: documentenApiPluginSelectItems$ | async,\n pdfUniversalAccessibility: pdfUniversalAccessibility$ | async,\n } as obs\"\n>\n <v-input\n name=\"configurationTitle\"\n data-test-id=\"documentenApiPreviewConfigurationTitle\"\n [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'configurationTitleTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"Documenten API Preview Plugin\"\n >\n </v-input>\n\n <v-input\n name=\"pdfConversionUrl\"\n data-test-id=\"pdfConversionUrl\"\n [title]=\"'pdfConversionUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.pdfConversionUrl\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'pdfConversionUrlTooltip' | pluginTranslate: pluginId | async\"\n placeholder=\"https://gotenberg:3000/\"\n >\n </v-input>\n\n <v-select\n [loading]=\"!obs.documentenApiPluginSelectItems\"\n [items]=\"obs.documentenApiPluginSelectItems\"\n [margin]=\"true\"\n name=\"documentenApiConfigurationId\"\n data-test-id=\"documentenPreviewDocumentenApiPluginConfiguration\"\n [title]=\"'documentenApiPluginConfiguration' | pluginTranslate: pluginId | async\"\n [disabled]=\"obs.disabled\"\n [defaultSelectionId]=\"obs.prefill?.documentenApiConfigurationId\"\n [required]=\"true\"\n [tooltip]=\"'documentenApiPluginConfigurationTooltip' | pluginTranslate: pluginId | async\"\n ></v-select>\n\n <v-select\n [loading]=\"!pdfArchiveMethods\"\n [items]=\"pdfArchiveMethods\"\n name=\"pdfArchiveMethod\"\n [title]=\"'pdfArchiveMethod' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'pdfArchiveMethodTooltip' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultSelectionId]=\"obs.prefill?.pdfArchiveMethod || 'none'\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n ></v-select>\n\n <div class=\"input-toggle--small-margin\">\n <v-input-label\n [title]=\"'pdfUniversalAccessibility' | pluginTranslate: pluginId | async\"\n [tooltip]=\"'pdfUniversalAccessibilityTooltip' | pluginTranslate: pluginId | async\"\n >\n </v-input-label>\n\n <cds-toggle\n [checked]=\"obs.pdfUniversalAccessibility\"\n [disabled]=\"obs.disabled\"\n [onText]=\"'pdfUniversalAccessibility.toggleOn' | pluginTranslate: pluginId | async\"\n [offText]=\"'pdfUniversalAccessibility.toggleOff' | pluginTranslate: pluginId | async\"\n (checkedChange)=\"onPdfUniversalAccessibilityChange($event)\"\n ></cds-toggle>\n </div>\n</v-form>\n" }]
|
|
2523
2555
|
}], ctorParameters: () => [{ type: PluginManagementService }, { type: i2.TranslateService }, { type: PluginTranslationService }], propDecorators: { save$: [{
|
|
2524
2556
|
type: Input
|
|
2525
2557
|
}], disabled$: [{
|
|
@@ -2556,13 +2588,15 @@ class DocumentenApiPreviewPluginModule {
|
|
|
2556
2588
|
FormModule,
|
|
2557
2589
|
InputModule,
|
|
2558
2590
|
SelectModule,
|
|
2559
|
-
|
|
2591
|
+
InputLabelModule,
|
|
2592
|
+
ToggleModule], exports: [DocumentenApiPreviewConfigurationComponent] }); }
|
|
2560
2593
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DocumentenApiPreviewPluginModule, imports: [CommonModule,
|
|
2561
2594
|
PluginTranslatePipeModule,
|
|
2562
2595
|
FormModule,
|
|
2563
2596
|
InputModule,
|
|
2564
2597
|
SelectModule,
|
|
2565
|
-
|
|
2598
|
+
InputLabelModule,
|
|
2599
|
+
ToggleModule] }); }
|
|
2566
2600
|
}
|
|
2567
2601
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DocumentenApiPreviewPluginModule, decorators: [{
|
|
2568
2602
|
type: NgModule,
|
|
@@ -2574,7 +2608,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
2574
2608
|
FormModule,
|
|
2575
2609
|
InputModule,
|
|
2576
2610
|
SelectModule,
|
|
2577
|
-
|
|
2611
|
+
InputLabelModule,
|
|
2612
|
+
ToggleModule,
|
|
2578
2613
|
],
|
|
2579
2614
|
exports: [DocumentenApiPreviewConfigurationComponent],
|
|
2580
2615
|
}]
|
|
@@ -2638,20 +2673,40 @@ const documentenApiPreviewPluginSpecification = {
|
|
|
2638
2673
|
description: 'Plugin voor het weergeven (preview) van documenten binnen GZAC.',
|
|
2639
2674
|
configurationTitle: 'Configuratienaam',
|
|
2640
2675
|
configurationTitleTooltip: 'Hier kun je een eigen naam verzinnen. Onder deze naam zal de plugin te herkennen zijn in de rest van de applicatie',
|
|
2641
|
-
pdfConversionUrl: 'PDF
|
|
2676
|
+
pdfConversionUrl: 'PDF conversie URL',
|
|
2642
2677
|
pdfConversionUrlTooltip: 'In dit veld moet de verwijzing komen naar de locatie van de PDF conversie server (Project Gotenberg).',
|
|
2678
|
+
pdfArchiveMethod: 'PDF archivering methode',
|
|
2679
|
+
pdfArchiveMethodTooltip: 'Selecteer de methode die gebruikt wordt om PDF documenten te archiveren. Het archiveren van PDF documenten kan lang duren en extra resources vereisen, selecteer de optie "Geen" voor de meest optimale prestaties.',
|
|
2643
2680
|
documentenApiPluginConfiguration: 'Documenten API configuratie',
|
|
2644
2681
|
documentenApiPluginConfigurationTooltip: 'Selecteer de plugin die gebruikt wordt voor het ontsluiten van documenten. Deze plugin zal worden gebruikt om de originele documenten te ontsluiten zodat deze geconverteerd kunnen worden naar PDF voor weergave in de browser.',
|
|
2682
|
+
pdfArchiveMethodNone: 'Geen',
|
|
2683
|
+
pdfArchiveMethodPdfA1b: 'PDF/A-1b',
|
|
2684
|
+
pdfArchiveMethodPdfA2b: 'PDF/A-2b',
|
|
2685
|
+
pdfArchiveMethodPdfA3b: 'PDF/A-3b',
|
|
2686
|
+
pdfUniversalAccessibility: 'Universele toegankelijkheid',
|
|
2687
|
+
pdfUniversalAccessibilityTooltip: 'Schakel deze optie aan om het PDF document geschikt te maken voor ondersteunende technologieën zoals screen readers.',
|
|
2688
|
+
'pdfUniversalAccessibility.toggleOn': 'Geactiveerd',
|
|
2689
|
+
'pdfUniversalAccessibility.toggleOff': 'Gedeactiveerd',
|
|
2645
2690
|
},
|
|
2646
2691
|
en: {
|
|
2647
2692
|
title: 'Documenten API Preview',
|
|
2648
2693
|
description: 'Plugin to allow previewing documents directly in the GZAC.',
|
|
2649
2694
|
configurationTitle: 'Configuration name',
|
|
2650
2695
|
configurationTitleTooltip: 'Here you can enter a name for the plugin. This name will be used to recognize the plugin throughout the rest of the application',
|
|
2651
|
-
pdfConversionUrl: 'PDF
|
|
2696
|
+
pdfConversionUrl: 'PDF conversion URL',
|
|
2652
2697
|
pdfConversionUrlTooltip: 'This field must contain the URL to the PDF conversion server.',
|
|
2698
|
+
pdfArchiveMethod: 'PDF archive method',
|
|
2699
|
+
pdfArchiveMethodTooltip: 'Select the method that should be used to archive PDF documents. Important: generating a PDF archive can take a long time and may require additional resources, select the option "None" for the optimal performance.',
|
|
2653
2700
|
documentenApiPluginConfiguration: 'Document API configuration',
|
|
2654
2701
|
documentenApiPluginConfigurationTooltip: 'Select the plugin that can access the documents. This plugin will be used to access the original document so it can be converted to PDF and previewed in the browser.',
|
|
2702
|
+
pdfArchiveMethodNone: 'None',
|
|
2703
|
+
pdfArchiveMethodPdfA1b: 'PDF/A-1b',
|
|
2704
|
+
pdfArchiveMethodPdfA2b: 'PDF/A-2b',
|
|
2705
|
+
pdfArchiveMethodPdfA3b: 'PDF/A-3b',
|
|
2706
|
+
pdfUniversalAccessibility: 'Universal accessibility',
|
|
2707
|
+
pdfUniversalAccessibilityTooltip: 'Enable this option to make the PDF document suitable for assistive technologies such as screen readers.',
|
|
2708
|
+
'pdfUniversalAccessibility.toggleOn': 'Enabled',
|
|
2709
|
+
'pdfUniversalAccessibility.toggleOff': 'Disabled',
|
|
2655
2710
|
},
|
|
2656
2711
|
},
|
|
2657
2712
|
};
|