@valtimo/plugin 12.47.0 → 12.49.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.
@@ -1830,6 +1830,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
1830
1830
  type: Output
1831
1831
  }] } });
1832
1832
 
1833
+ /*
1834
+ * Copyright 2015-2024 Ritense BV, the Netherlands.
1835
+ *
1836
+ * Licensed under EUPL, Version 1.2 (the "License");
1837
+ * you may not use this file except in compliance with the License.
1838
+ * You may obtain a copy of the License at
1839
+ *
1840
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
1841
+ *
1842
+ * Unless required by applicable law or agreed to in writing, software
1843
+ * distributed under the License is distributed on an "AS IS" basis,
1844
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1845
+ * See the License for the specific language governing permissions and
1846
+ * limitations under the License.
1847
+ */
1848
+ class DeleteInformatieObjectConfigurationComponent {
1849
+ constructor() {
1850
+ this.valid = new EventEmitter();
1851
+ this.configuration = new EventEmitter();
1852
+ this.formValue$ = new BehaviorSubject(null);
1853
+ this.valid$ = new BehaviorSubject(false);
1854
+ }
1855
+ ngOnInit() {
1856
+ this.openSaveSubscription();
1857
+ }
1858
+ ngOnDestroy() {
1859
+ this.saveSubscription?.unsubscribe();
1860
+ }
1861
+ openSaveSubscription() {
1862
+ this.saveSubscription = this.save$?.subscribe(save => {
1863
+ combineLatest([this.formValue$, this.valid$])
1864
+ .pipe(take(1))
1865
+ .subscribe(([formValue, valid]) => {
1866
+ if (valid) {
1867
+ this.configuration.emit(formValue);
1868
+ }
1869
+ });
1870
+ });
1871
+ }
1872
+ formValueChange(formValue) {
1873
+ this.formValue$.next(formValue);
1874
+ this.handleValid(formValue);
1875
+ }
1876
+ handleValid(formValue) {
1877
+ const valid = !!formValue.documentUrl;
1878
+ this.valid$.next(valid);
1879
+ this.valid.emit(valid);
1880
+ }
1881
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeleteInformatieObjectConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1882
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DeleteInformatieObjectConfigurationComponent, selector: "valtimo-delete-informatie-object-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2015-2024 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=\"documentUrl\"\n [title]=\"'documentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.documentUrl || 'pv:documentUrl'\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'deleteInformatieObjectDocumentUrlTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\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"], outputs: ["valueChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: PluginTranslatePipe, name: "pluginTranslate" }] }); }
1883
+ }
1884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeleteInformatieObjectConfigurationComponent, decorators: [{
1885
+ type: Component,
1886
+ args: [{ selector: 'valtimo-delete-informatie-object-configuration', template: "<!--\n ~ Copyright 2015-2024 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=\"documentUrl\"\n [title]=\"'documentUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.documentUrl || 'pv:documentUrl'\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [trim]=\"true\"\n [tooltip]=\"'deleteInformatieObjectDocumentUrlTooltip' | pluginTranslate: pluginId | async\"\n ></v-input>\n</v-form>\n" }]
1887
+ }], propDecorators: { save$: [{
1888
+ type: Input
1889
+ }], disabled$: [{
1890
+ type: Input
1891
+ }], pluginId: [{
1892
+ type: Input
1893
+ }], prefillConfiguration$: [{
1894
+ type: Input
1895
+ }], valid: [{
1896
+ type: Output
1897
+ }], configuration: [{
1898
+ type: Output
1899
+ }] } });
1900
+
1833
1901
  /*
1834
1902
  * Copyright 2015-2024 Ritense BV, the Netherlands.
1835
1903
  *
@@ -1851,7 +1919,8 @@ class DocumentenApiPluginModule {
1851
1919
  StoreTempDocumentConfigurationComponent,
1852
1920
  StoreUploadedDocumentConfigurationComponent,
1853
1921
  StoreUploadedDocumentInPartsConfigurationComponent,
1854
- DownloadDocumentConfigurationComponent], imports: [CommonModule,
1922
+ DownloadDocumentConfigurationComponent,
1923
+ DeleteInformatieObjectConfigurationComponent], imports: [CommonModule,
1855
1924
  PluginTranslatePipeModule,
1856
1925
  FormModule,
1857
1926
  InputModule,
@@ -1860,7 +1929,8 @@ class DocumentenApiPluginModule {
1860
1929
  StoreTempDocumentConfigurationComponent,
1861
1930
  StoreUploadedDocumentConfigurationComponent,
1862
1931
  StoreUploadedDocumentInPartsConfigurationComponent,
1863
- DownloadDocumentConfigurationComponent] }); }
1932
+ DownloadDocumentConfigurationComponent,
1933
+ DeleteInformatieObjectConfigurationComponent] }); }
1864
1934
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DocumentenApiPluginModule, imports: [CommonModule,
1865
1935
  PluginTranslatePipeModule,
1866
1936
  FormModule,
@@ -1877,6 +1947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
1877
1947
  StoreUploadedDocumentConfigurationComponent,
1878
1948
  StoreUploadedDocumentInPartsConfigurationComponent,
1879
1949
  DownloadDocumentConfigurationComponent,
1950
+ DeleteInformatieObjectConfigurationComponent,
1880
1951
  ],
1881
1952
  imports: [
1882
1953
  CommonModule,
@@ -1892,6 +1963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
1892
1963
  StoreUploadedDocumentConfigurationComponent,
1893
1964
  StoreUploadedDocumentInPartsConfigurationComponent,
1894
1965
  DownloadDocumentConfigurationComponent,
1966
+ DeleteInformatieObjectConfigurationComponent,
1895
1967
  ],
1896
1968
  }]
1897
1969
  }] });
@@ -1953,6 +2025,7 @@ const documentenApiPluginSpecification = {
1953
2025
  'store-uploaded-document': StoreUploadedDocumentConfigurationComponent,
1954
2026
  'store-uploaded-document-in-parts': StoreUploadedDocumentInPartsConfigurationComponent,
1955
2027
  'download-document': DownloadDocumentConfigurationComponent,
2028
+ 'delete-informatie-object': DeleteInformatieObjectConfigurationComponent,
1956
2029
  },
1957
2030
  pluginTranslations: {
1958
2031
  nl: {
@@ -2005,6 +2078,12 @@ const documentenApiPluginSpecification = {
2005
2078
  apiVersionTooltip: 'Selecteer de versie van de Documenten API',
2006
2079
  downloadDocumentMessage: 'Het downloaden van een document vanuit de Documenten API vereist geen configuratie.',
2007
2080
  processVariableName: 'Wat is de naam van de procesvariabele waarnaar u het document wilt downloaden?',
2081
+ 'delete-informatie-object': 'Informatieobject verwijderen',
2082
+ deleteInformatieObjectMessage: "Verwijdert een document (enkelvoudiginformatieobject) op basis van de opgegeven URL. " +
2083
+ "Procesvariabelen kunnen worden gebruikt met de notatie 'pv:variabelenaam'.",
2084
+ documentUrl: 'Document URL',
2085
+ deleteInformatieObjectDocumentUrlTooltip: "De volledige URL naar het enkelvoudiginformatieobject dat verwijderd moet worden, " +
2086
+ "bijv. 'pv:documentUrl'",
2008
2087
  },
2009
2088
  en: {
2010
2089
  title: 'Documenten API',
@@ -2056,6 +2135,12 @@ const documentenApiPluginSpecification = {
2056
2135
  apiVersionTooltip: 'Select the version of the Documenten API',
2057
2136
  downloadDocumentMessage: 'Downloading a document form the Documenten API does not require any configuration.',
2058
2137
  processVariableName: 'What is the name of the process variable you want to download the document to?',
2138
+ 'delete-informatie-object': 'Delete informatie object',
2139
+ deleteInformatieObjectMessage: "Deletes a document (enkelvoudiginformatieobject) based on the given URL. " +
2140
+ "Process variables can be referenced using the notation 'pv:variableName'.",
2141
+ documentUrl: 'Document URL',
2142
+ deleteInformatieObjectDocumentUrlTooltip: "The full URL to the enkelvoudiginformatieobject that should be deleted, " +
2143
+ "e.g. 'pv:documentUrl'",
2059
2144
  },
2060
2145
  de: {
2061
2146
  title: 'Documenten API',
@@ -2107,6 +2192,12 @@ const documentenApiPluginSpecification = {
2107
2192
  apiVersionTooltip: 'Wählen Sie die Version der Documenten-API aus',
2108
2193
  downloadDocumentMessage: 'Das Herunterladen eines Dokuments aus der Documenten-API erfordert keine Konfiguration.',
2109
2194
  processVariableName: 'Wie lautet der Name der Prozessvariablen, in die Sie das Dokument herunterladen möchten?',
2195
+ 'delete-informatie-object': 'Informationsobjekt löschen',
2196
+ deleteInformatieObjectMessage: "Löscht ein Dokument (enkelvoudiginformatieobject) anhand der angegebenen URL. " +
2197
+ "Prozessvariablen können mit der Notation 'pv:variablenname' referenziert werden.",
2198
+ documentUrl: 'Dokument-URL',
2199
+ deleteInformatieObjectDocumentUrlTooltip: "Die vollständige URL zum enkelvoudiginformatieobject, das gelöscht werden soll, " +
2200
+ "z. B. 'pv:documentUrl'",
2110
2201
  },
2111
2202
  },
2112
2203
  };
@@ -9131,5 +9222,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
9131
9222
  * Generated bundle index. Do not edit.
9132
9223
  */
9133
9224
 
9134
- export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreatePortalTaskComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakObjectConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteObjectComponent, DeleteZaakResultatenConfigurationComponent, DeleteZaakRolComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, ExactPluginModule, GenerateDocumentConfigurationComponent, GetBesluitConfigurationComponent, GetBesluittypeConfigurationComponent, GetEigenschapConfigurationComponent, GetResultaattypeConfigurationComponent, GetStatustypeConfigurationComponent, GetTemplateNamesComponent, GetZaakInformatieobjectenComponent, GetZaakbesluitenConfigurationComponent, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PatchZaakBesluitConfigurationComponent, PatchZaakConfigurationComponent, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, RelateerZakenComponent, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, StoreUploadedDocumentInPartsConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, exactPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
9225
+ export { BesluitenApiConfigurationComponent, BesluitenApiPluginModule, CatalogiApiConfigurationComponent, CatalogiApiPluginModule, CompletePortalTaskComponent, CreateNatuurlijkPersoonZaakRolComponent, CreateNietNatuurlijkPersoonZaakRolComponent, CreatePortalTaskComponent, CreateZaakBesluitConfigurationComponent, CreateZaakConfigurationComponent, CreateZaakObjectConfigurationComponent, CreateZaakResultaatConfigurationComponent, CreateZaakeigenschapComponent, DeleteInformatieObjectConfigurationComponent, DeleteObjectComponent, DeleteZaakResultatenConfigurationComponent, DeleteZaakRolComponent, DeleteZaakeigenschapComponent, DocumentenApiConfigurationComponent, DocumentenApiPluginModule, DownloadDocumentConfigurationComponent, EndHersteltermijnComponent, ExactPluginModule, GenerateDocumentConfigurationComponent, GetBesluitConfigurationComponent, GetBesluittypeConfigurationComponent, GetEigenschapConfigurationComponent, GetResultaattypeConfigurationComponent, GetStatustypeConfigurationComponent, GetTemplateNamesComponent, GetZaakInformatieobjectenComponent, GetZaakbesluitenConfigurationComponent, LinkDocumentToBesluitConfigurationComponent, LinkDocumentToZaakConfigurationComponent, LinkUploadedDocumentToZaakConfigurationComponent, NotificatiesApiConfigurationComponent, NotificatiesApiPluginModule, ObjectTokenAuthencationConfigurationComponent, ObjectTokenAuthenticationPluginModule, ObjectenApiConfigurationComponent, ObjectenApiPluginModule, ObjecttypenApiConfigurationComponent, ObjecttypenApiPluginModule, OpenNotificatiesConfigurationComponent, OpenNotificatiesPluginModule, OpenZaakConfigurationComponent, OpenZaakPluginModule, PLUGINS_TOKEN, PatchZaakBesluitConfigurationComponent, PatchZaakConfigurationComponent, PluginConfigurationContainerComponent, PluginConfigurationContainerModule, PluginManagementService, PluginService, PluginTranslatePipe, PluginTranslatePipeModule, PluginTranslationService, PortaaltaakConfigurationComponent, PortaaltaakPluginModule, RelateerZakenComponent, SetZaakStatusConfigurationComponent, SetZaakopschortingComponent, SmartDocumentsConfigurationComponent, SmartDocumentsPluginModule, StartHersteltermijnConfigurationComponent, StoreTempDocumentConfigurationComponent, StoreUploadedDocumentConfigurationComponent, StoreUploadedDocumentInPartsConfigurationComponent, UpdateZaakeigenschapComponent, VerzoekConfigurationComponent, VerzoekPluginModule, ZakenApiConfigurationComponent, ZakenApiPluginModule, besluitenApiPluginSpecification, catalogiApiPluginSpecification, documentenApiPluginSpecification, exactPluginSpecification, notificatiesApiPluginSpecification, objectTokenAuthenticationPluginSpecification, objectenApiPluginSpecification, objecttypenApiPluginSpecification, openNotificatiesPluginSpecification, openZaakPluginSpecification, portaaltaakPluginSpecification, smartDocumentsPluginSpecification, verzoekPluginSpecification, zakenApiPluginSpecification };
9135
9226
  //# sourceMappingURL=valtimo-plugin.mjs.map