@valtimo-plugins/parent-child-plugin 0.0.1 → 1.0.1

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.
@@ -73,7 +73,7 @@ class ParentChildPluginConfigurationComponent {
73
73
  this.handleValid(formValue);
74
74
  }
75
75
  handleValid(formValue) {
76
- const valid = !!(formValue.configurationTitle && formValue.apiUrl);
76
+ const valid = !!formValue.configurationTitle;
77
77
  this.valid$.next(valid);
78
78
  this.valid.emit(valid);
79
79
  }
@@ -89,11 +89,11 @@ class ParentChildPluginConfigurationComponent {
89
89
  });
90
90
  }
91
91
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ParentChildPluginConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ParentChildPluginConfigurationComponent, isStandalone: false, selector: "valtimo-parent-child-plugin-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2026 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 [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n placeholder=\"Parent Child Plugin\"\n >\n </v-input>\n <v-input\n name=\"apiUrl\"\n [title]=\"'apiUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.apiUrl\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2.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: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ParentChildPluginConfigurationComponent, isStandalone: false, selector: "valtimo-parent-child-plugin-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2026 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 [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n placeholder=\"Parent Child Plugin\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2.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: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
93
93
  }
94
94
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ParentChildPluginConfigurationComponent, decorators: [{
95
95
  type: Component,
96
- args: [{ standalone: false, selector: "valtimo-parent-child-plugin-configuration", template: "<!--\n ~ Copyright 2026 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 [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n placeholder=\"Parent Child Plugin\"\n >\n </v-input>\n <v-input\n name=\"apiUrl\"\n [title]=\"'apiUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.apiUrl\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n" }]
96
+ args: [{ standalone: false, selector: "valtimo-parent-child-plugin-configuration", template: "<!--\n ~ Copyright 2026 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 [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n placeholder=\"Parent Child Plugin\"\n >\n </v-input>\n</v-form>\n" }]
97
97
  }], propDecorators: { save$: [{
98
98
  type: Input
99
99
  }], disabled$: [{
@@ -141,7 +141,7 @@ class ParentChildActionConfigurationComponent {
141
141
  this.handleValid(formValue);
142
142
  }
143
143
  handleValid(formValue) {
144
- const valid = !!formValue.message;
144
+ const valid = !!formValue.parentDocumentId;
145
145
  this.valid$.next(valid);
146
146
  this.valid.emit(valid);
147
147
  }
@@ -155,11 +155,11 @@ class ParentChildActionConfigurationComponent {
155
155
  });
156
156
  }
157
157
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ParentChildActionConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
158
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ParentChildActionConfigurationComponent, isStandalone: false, selector: "valtimo-parent-child-action-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2026 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<p style=\"margin-bottom: 1.5rem\">{{ 'actionDescription' | pluginTranslate: pluginId | async }}</p>\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=\"message\"\n [title]=\"'message' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.message\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2.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: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
158
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ParentChildActionConfigurationComponent, isStandalone: false, selector: "valtimo-parent-child-action-configuration", inputs: { save$: "save$", disabled$: "disabled$", pluginId: "pluginId", prefillConfiguration$: "prefillConfiguration$" }, outputs: { valid: "valid", configuration: "configuration" }, ngImport: i0, template: "<!--\n ~ Copyright 2026 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<p style=\"margin-bottom: 1.5rem\">{{ 'actionDescription' | pluginTranslate: pluginId | async }}</p>\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=\"parentDocumentId\"\n [title]=\"'parentDocumentId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.parentDocumentId\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "v-form", inputs: ["className"], outputs: ["valueChange"] }, { kind: "component", type: i2.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: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.PluginTranslatePipe, name: "pluginTranslate" }] }); }
159
159
  }
160
160
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ParentChildActionConfigurationComponent, decorators: [{
161
161
  type: Component,
162
- args: [{ standalone: false, selector: "valtimo-parent-child-action-configuration", template: "<!--\n ~ Copyright 2026 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<p style=\"margin-bottom: 1.5rem\">{{ 'actionDescription' | pluginTranslate: pluginId | async }}</p>\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=\"message\"\n [title]=\"'message' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.message\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n" }]
162
+ args: [{ standalone: false, selector: "valtimo-parent-child-action-configuration", template: "<!--\n ~ Copyright 2026 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<p style=\"margin-bottom: 1.5rem\">{{ 'actionDescription' | pluginTranslate: pluginId | async }}</p>\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=\"parentDocumentId\"\n [title]=\"'parentDocumentId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.parentDocumentId\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n" }]
163
163
  }], propDecorators: { save$: [{
164
164
  type: Input
165
165
  }], disabled$: [{
@@ -218,7 +218,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
218
218
  * See the License for the specific language governing permissions and
219
219
  * limitations under the License.
220
220
  */
221
- const PARENT_CHILD_PLUGIN_LOGO_BASE64 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA1MGIyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEyIDJMMyA3djEwbDkgNSA5LTVWN2wtOS01eiIvPjxwYXRoIGQ9Ik0xMiAyMlYxMiIvPjxwYXRoIGQ9Ik0yMSA3bC05IDUiLz48cGF0aCBkPSJNMyA3bDkgNSIvPjwvc3ZnPg==";
221
+ const PARENT_CHILD_PLUGIN_LOGO_BASE64 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA1MGIyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI1IiByPSIzIi8+PGxpbmUgeDE9IjEyIiB5MT0iOCIgeDI9IjEyIiB5Mj0iMTIiLz48bGluZSB4MT0iNyIgeTE9IjEyIiB4Mj0iMTciIHkyPSIxMiIvPjxsaW5lIHgxPSI3IiB5MT0iMTIiIHgyPSI3IiB5Mj0iMTYiLz48bGluZSB4MT0iMTciIHkxPSIxMiIgeDI9IjE3IiB5Mj0iMTYiLz48Y2lyY2xlIGN4PSI3IiBjeT0iMTkiIHI9IjIuNSIvPjxjaXJjbGUgY3g9IjE3IiBjeT0iMTkiIHI9IjIuNSIvPjwvc3ZnPg==";
222
222
 
223
223
  /*
224
224
  * Copyright 2026 Ritense BV, the Netherlands.
@@ -256,26 +256,24 @@ const parentChildPluginSpecification = {
256
256
  pluginConfigurationComponent: ParentChildPluginConfigurationComponent,
257
257
  pluginLogoBase64: PARENT_CHILD_PLUGIN_LOGO_BASE64,
258
258
  functionConfigurationComponents: {
259
- "time-api-action": ParentChildActionConfigurationComponent,
259
+ "connect-parent": ParentChildActionConfigurationComponent,
260
260
  },
261
261
  pluginTranslations: {
262
262
  nl: {
263
263
  title: "Parent Child Plugin",
264
- "time-api-action": "Time API test actie",
264
+ "connect-parent": "Koppel bovenliggend document",
265
265
  description: "Dit is een voorbeeld plugin die beschikt over een API call action.",
266
266
  configurationTitle: "Configuratienaam",
267
- apiUrl: "API URL",
268
- actionDescription: "Deze actie roept de geconfigureerde Time API aan en slaat het resultaat op als procesvariabele.",
269
- message: "Bericht",
267
+ actionDescription: "Deze actie koppelt het huidige document aan een bovenliggend document: het huidige document krijgt een PARENT relatie en het bovenliggend document krijgt een CHILD relatie.",
268
+ parentDocumentId: "Document ID van bovenliggend document",
270
269
  },
271
270
  en: {
272
271
  title: "Parent Child Plugin",
273
- "time-api-action": "Time API test action",
272
+ "connect-parent": "Connect parent document",
274
273
  description: "This is a parent-child plugin demonstrating an API call action.",
275
274
  configurationTitle: "Configuration Name",
276
- apiUrl: "API URL",
277
- actionDescription: "This action calls the configured Time API and stores the result as a process variable.",
278
- message: "Message",
275
+ actionDescription: "This action links the current document to a parent document: the current document gets a PARENT relation and the parent document gets a CHILD relation.",
276
+ parentDocumentId: "Parent document ID",
279
277
  },
280
278
  },
281
279
  };
@@ -1 +1 @@
1
- {"version":3,"file":"valtimo-plugins-parent-child-plugin.mjs","sources":["../../src/lib/plugins/parent-child-plugin/models/config.ts","../../src/lib/plugins/parent-child-plugin/models/index.ts","../../src/lib/plugins/parent-child-plugin/components/parent-child-plugin-configuration/parent-child-plugin-configuration.component.ts","../../src/lib/plugins/parent-child-plugin/components/parent-child-plugin-configuration/parent-child-plugin-configuration.component.html","../../src/lib/plugins/parent-child-plugin/components/parent-child-action-configuration/parent-child-action-configuration.component.ts","../../src/lib/plugins/parent-child-plugin/components/parent-child-action-configuration/parent-child-action-configuration.component.html","../../src/lib/plugins/parent-child-plugin/parent-child-plugin-module.ts","../../src/lib/plugins/parent-child-plugin/assets/parent-child-plugin-logo.ts","../../src/lib/plugins/parent-child-plugin/assets/index.ts","../../src/lib/plugins/parent-child-plugin/parent-child-plugin.specification.ts","../../src/public_api.ts","../../src/valtimo-plugins-parent-child-plugin.ts"],"sourcesContent":["/*\n * Copyright 2026 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\nimport {PluginConfigurationData} from \"@valtimo/plugin\";\n\ninterface ParentChildPluginConfig extends PluginConfigurationData {\n apiUrl: string;\n}\n\ninterface ParentChildActionConfig {\n message: string;\n}\n\nexport {ParentChildPluginConfig, ParentChildActionConfig};\n","/*\n * Copyright 2026 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\nexport * from \"./config\";\n","/*\n * Copyright 2026 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\nimport {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from \"@angular/core\";\nimport {PluginConfigurationComponent, PluginConfigurationData} from \"@valtimo/plugin\";\nimport {BehaviorSubject, combineLatest, Observable, Subscription, take} from \"rxjs\";\nimport {ParentChildPluginConfig} from \"../../models\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-parent-child-plugin-configuration\",\n templateUrl: \"./parent-child-plugin-configuration.component.html\",\n})\nexport class ParentChildPluginConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {\n @Input() save$!: Observable<void>;\n @Input() disabled$!: Observable<boolean>;\n @Input() pluginId!: string;\n @Input() prefillConfiguration$!: Observable<ParentChildPluginConfig>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<PluginConfigurationData> = new EventEmitter<PluginConfigurationData>();\n\n private saveSubscription!: Subscription;\n private readonly formValue$ = new BehaviorSubject<ParentChildPluginConfig | null>(null);\n private readonly valid$ = new BehaviorSubject<boolean>(false);\n\n ngOnInit(): void {\n this.openSaveSubscription();\n }\n\n ngOnDestroy() {\n this.saveSubscription?.unsubscribe();\n }\n\n formValueChange(formValue: ParentChildPluginConfig): void {\n this.formValue$.next(formValue);\n this.handleValid(formValue);\n }\n\n private handleValid(formValue: ParentChildPluginConfig): void {\n const valid = !!(formValue.configurationTitle && formValue.apiUrl);\n this.valid$.next(valid);\n this.valid.emit(valid);\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$?.subscribe(() => {\n combineLatest([this.formValue$, this.valid$])\n .pipe(take(1))\n .subscribe(([formValue, valid]) => {\n if (valid) {\n this.configuration.emit(formValue!);\n }\n });\n });\n }\n}\n","<!--\n ~ Copyright 2026 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 [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n placeholder=\"Parent Child Plugin\"\n >\n </v-input>\n <v-input\n name=\"apiUrl\"\n [title]=\"'apiUrl' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.apiUrl\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n","/*\n * Copyright 2026 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\nimport {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from \"@angular/core\";\nimport {FunctionConfigurationComponent, FunctionConfigurationData} from \"@valtimo/plugin\";\nimport {BehaviorSubject, combineLatest, Observable, Subscription, switchMap, take} from \"rxjs\";\nimport {ParentChildActionConfig} from \"../../models\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-parent-child-action-configuration\",\n templateUrl: \"./parent-child-action-configuration.component.html\",\n})\nexport class ParentChildActionConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {\n @Input() save$!: Observable<void>;\n @Input() disabled$!: Observable<boolean>;\n @Input() pluginId!: string;\n @Input() prefillConfiguration$!: Observable<ParentChildActionConfig>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<FunctionConfigurationData> = new EventEmitter<FunctionConfigurationData>();\n\n private saveSubscription!: Subscription;\n private readonly formValue$ = new BehaviorSubject<ParentChildActionConfig | null>(null);\n private readonly valid$ = new BehaviorSubject<boolean>(false);\n\n public ngOnInit(): void {\n this.openSaveSubscription();\n }\n\n public ngOnDestroy() {\n this.saveSubscription?.unsubscribe();\n }\n\n public formValueChange(formValue: ParentChildActionConfig): void {\n this.formValue$.next(formValue);\n this.handleValid(formValue);\n }\n\n private handleValid(formValue: ParentChildActionConfig): void {\n const valid = !!formValue.message;\n this.valid$.next(valid);\n this.valid.emit(valid);\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$\n ?.pipe(\n switchMap(() => combineLatest([this.formValue$, this.valid$]).pipe(take(1)))\n )\n .subscribe(([formValue, valid]) => {\n if (valid) {\n this.configuration.emit(formValue!);\n }\n });\n }\n}\n","<!--\n ~ Copyright 2026 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<p style=\"margin-bottom: 1.5rem\">{{ 'actionDescription' | pluginTranslate: pluginId | async }}</p>\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=\"message\"\n [title]=\"'message' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.message\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n","/*\n * Copyright 2026 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\nimport {NgModule} from \"@angular/core\";\nimport {CommonModule} from \"@angular/common\";\nimport {PluginTranslatePipeModule} from \"@valtimo/plugin\";\nimport {FormModule, InputModule as ValtimoInputModule} from \"@valtimo/components\";\nimport {ParentChildPluginConfigurationComponent} from \"./components/parent-child-plugin-configuration/parent-child-plugin-configuration.component\";\nimport {ParentChildActionConfigurationComponent} from \"./components/parent-child-action-configuration/parent-child-action-configuration.component\";\n\n@NgModule({\n declarations: [ParentChildPluginConfigurationComponent, ParentChildActionConfigurationComponent],\n imports: [CommonModule, PluginTranslatePipeModule, FormModule, ValtimoInputModule],\n exports: [ParentChildPluginConfigurationComponent, ParentChildActionConfigurationComponent],\n})\nexport class ParentChildPluginModule {\n}\n","/*\n * Copyright 2026 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\nconst PARENT_CHILD_PLUGIN_LOGO_BASE64 =\n \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA1MGIyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEyIDJMMyA3djEwbDkgNSA5LTVWN2wtOS01eiIvPjxwYXRoIGQ9Ik0xMiAyMlYxMiIvPjxwYXRoIGQ9Ik0yMSA3bC05IDUiLz48cGF0aCBkPSJNMyA3bDkgNSIvPjwvc3ZnPg==\";\n\nexport {PARENT_CHILD_PLUGIN_LOGO_BASE64};\n","/*\n * Copyright 2026 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\nexport * from \"./parent-child-plugin-logo\";\n","/*\n * Copyright 2026 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\nimport {PluginSpecification} from \"@valtimo/plugin\";\nimport {ParentChildPluginConfigurationComponent} from \"./components/parent-child-plugin-configuration/parent-child-plugin-configuration.component\";\nimport {PARENT_CHILD_PLUGIN_LOGO_BASE64} from \"./assets\";\nimport {ParentChildActionConfigurationComponent} from \"./components/parent-child-action-configuration/parent-child-action-configuration.component\";\n\nconst parentChildPluginSpecification: PluginSpecification = {\n pluginId: \"parent-child-plugin\",\n pluginConfigurationComponent: ParentChildPluginConfigurationComponent,\n pluginLogoBase64: PARENT_CHILD_PLUGIN_LOGO_BASE64,\n functionConfigurationComponents: {\n \"time-api-action\": ParentChildActionConfigurationComponent,\n },\n pluginTranslations: {\n nl: {\n title: \"Parent Child Plugin\",\n \"time-api-action\": \"Time API test actie\",\n description: \"Dit is een voorbeeld plugin die beschikt over een API call action.\",\n configurationTitle: \"Configuratienaam\",\n apiUrl: \"API URL\",\n actionDescription: \"Deze actie roept de geconfigureerde Time API aan en slaat het resultaat op als procesvariabele.\",\n message: \"Bericht\",\n },\n en: {\n title: \"Parent Child Plugin\",\n \"time-api-action\": \"Time API test action\",\n description: \"This is a parent-child plugin demonstrating an API call action.\",\n configurationTitle: \"Configuration Name\",\n apiUrl: \"API URL\",\n actionDescription: \"This action calls the configured Time API and stores the result as a process variable.\",\n message: \"Message\",\n },\n },\n};\n\nexport {parentChildPluginSpecification};\n","/*\n * Copyright 2026 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/*\n * Public API Surface of parent-child-plugin\n */\n\nexport * from \"./lib/plugins/parent-child-plugin/models\";\nexport * from \"./lib/plugins/parent-child-plugin/parent-child-plugin-module\";\nexport * from \"./lib/plugins/parent-child-plugin/parent-child-plugin.specification\";\nexport * from \"./lib/plugins/parent-child-plugin/components/parent-child-plugin-configuration/parent-child-plugin-configuration.component\";\nexport * from \"./lib/plugins/parent-child-plugin/components/parent-child-action-configuration/parent-child-action-configuration.component\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["ValtimoInputModule"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;MAYU,uCAAuC,CAAA;AALpD,IAAA,WAAA,GAAA;AAUY,QAAA,IAAA,CAAA,KAAK,GAA0B,IAAI,YAAY,EAAW;AAC1D,QAAA,IAAA,CAAA,aAAa,GAA0C,IAAI,YAAY,EAA2B;AAG3F,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,eAAe,CAAiC,IAAI,CAAC;AACtE,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC;AAgC9D;IA9BC,QAAQ,GAAA;QACN,IAAI,CAAC,oBAAoB,EAAE;;IAG7B,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,gBAAgB,EAAE,WAAW,EAAE;;AAGtC,IAAA,eAAe,CAAC,SAAkC,EAAA;AAChD,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS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AAC,YAAY,EAAE,yBAAyB,EAAE,UAAU,EAAEA,WAAkB,CAAC;AAClF,oBAAA,OAAO,EAAE,CAAC,uCAAuC,EAAE,uCAAuC,CAAC;AAC5F,iBAAA;;;AC3BD;;;;;;;;;;;;;;AAcG;AAEH,MAAM,+BAA+B,GACnC,4XAA4X;;ACjB9X;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;AAOH,MAAM,8BAA8B,GAAwB;AAC1D,IAAA,QAAQ,EAAE,qBAAqB;AAC/B,IAAA,4BAA4B,EAAE,uCAAuC;AACrE,IAAA,gBAAgB,EAAE,+BAA+B;AACjD,IAAA,+BAA+B,EAAE;AAC/B,QAAA,iBAAiB,EAAE,uCAAuC;AAC3D,KAAA;AACD,IAAA,kBAAkB,EAAE;AAClB,QAAA,EAAE,EAAE;AACF,YAAA,KAAK,EAAE,qBAAqB;AAC5B,YAAA,iBAAiB,EAAE,qBAAqB;AACxC,YAAA,WAAW,EAAE,oEAAoE;AACjF,YAAA,kBAAkB,EAAE,kBAAkB;AACtC,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,iBAAiB,EAAE,iGAAiG;AACpH,YAAA,OAAO,EAAE,SAAS;AACnB,SAAA;AACD,QAAA,EAAE,EAAE;AACF,YAAA,KAAK,EAAE,qBAAqB;AAC5B,YAAA,iBAAiB,EAAE,sBAAsB;AACzC,YAAA,WAAW,EAAE,iEAAiE;AAC9E,YAAA,kBAAkB,EAAE,oBAAoB;AACxC,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,iBAAiB,EAAE,wFAAwF;AAC3G,YAAA,OAAO,EAAE,SAAS;AACnB,SAAA;AACF,KAAA;;;AC/CH;;;;;;;;;;;;;;AAcG;AAEH;;AAEG;;AClBH;;AAEG;;;;"}
1
+ {"version":3,"file":"valtimo-plugins-parent-child-plugin.mjs","sources":["../../src/lib/plugins/parent-child-plugin/models/config.ts","../../src/lib/plugins/parent-child-plugin/models/index.ts","../../src/lib/plugins/parent-child-plugin/components/parent-child-plugin-configuration/parent-child-plugin-configuration.component.ts","../../src/lib/plugins/parent-child-plugin/components/parent-child-plugin-configuration/parent-child-plugin-configuration.component.html","../../src/lib/plugins/parent-child-plugin/components/parent-child-action-configuration/parent-child-action-configuration.component.ts","../../src/lib/plugins/parent-child-plugin/components/parent-child-action-configuration/parent-child-action-configuration.component.html","../../src/lib/plugins/parent-child-plugin/parent-child-plugin-module.ts","../../src/lib/plugins/parent-child-plugin/assets/parent-child-plugin-logo.ts","../../src/lib/plugins/parent-child-plugin/assets/index.ts","../../src/lib/plugins/parent-child-plugin/parent-child-plugin.specification.ts","../../src/public_api.ts","../../src/valtimo-plugins-parent-child-plugin.ts"],"sourcesContent":["/*\n * Copyright 2026 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\nimport {PluginConfigurationData} from \"@valtimo/plugin\";\n\ninterface ParentChildPluginConfig extends PluginConfigurationData {\n}\n\ninterface ParentChildActionConfig {\n parentDocumentId: string;\n}\n\nexport {ParentChildPluginConfig, ParentChildActionConfig};\n","/*\n * Copyright 2026 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\nexport * from \"./config\";\n","/*\n * Copyright 2026 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\nimport {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from \"@angular/core\";\nimport {PluginConfigurationComponent, PluginConfigurationData} from \"@valtimo/plugin\";\nimport {BehaviorSubject, combineLatest, Observable, Subscription, take} from \"rxjs\";\nimport {ParentChildPluginConfig} from \"../../models\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-parent-child-plugin-configuration\",\n templateUrl: \"./parent-child-plugin-configuration.component.html\",\n})\nexport class ParentChildPluginConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {\n @Input() save$!: Observable<void>;\n @Input() disabled$!: Observable<boolean>;\n @Input() pluginId!: string;\n @Input() prefillConfiguration$!: Observable<ParentChildPluginConfig>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<PluginConfigurationData> = new EventEmitter<PluginConfigurationData>();\n\n private saveSubscription!: Subscription;\n private readonly formValue$ = new BehaviorSubject<ParentChildPluginConfig | null>(null);\n private readonly valid$ = new BehaviorSubject<boolean>(false);\n\n ngOnInit(): void {\n this.openSaveSubscription();\n }\n\n ngOnDestroy() {\n this.saveSubscription?.unsubscribe();\n }\n\n formValueChange(formValue: ParentChildPluginConfig): void {\n this.formValue$.next(formValue);\n this.handleValid(formValue);\n }\n\n private handleValid(formValue: ParentChildPluginConfig): void {\n const valid = !!formValue.configurationTitle;\n this.valid$.next(valid);\n this.valid.emit(valid);\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$?.subscribe(() => {\n combineLatest([this.formValue$, this.valid$])\n .pipe(take(1))\n .subscribe(([formValue, valid]) => {\n if (valid) {\n this.configuration.emit(formValue!);\n }\n });\n });\n }\n}\n","<!--\n ~ Copyright 2026 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 [title]=\"'configurationTitle' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [disabled]=\"obs.disabled\"\n [defaultValue]=\"obs.prefill?.configurationTitle\"\n [required]=\"true\"\n [widthPx]=\"350\"\n placeholder=\"Parent Child Plugin\"\n >\n </v-input>\n</v-form>\n","/*\n * Copyright 2026 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\nimport {Component, EventEmitter, Input, OnDestroy, OnInit, Output} from \"@angular/core\";\nimport {FunctionConfigurationComponent, FunctionConfigurationData} from \"@valtimo/plugin\";\nimport {BehaviorSubject, combineLatest, Observable, Subscription, switchMap, take} from \"rxjs\";\nimport {ParentChildActionConfig} from \"../../models\";\n\n@Component({\n standalone: false,\n selector: \"valtimo-parent-child-action-configuration\",\n templateUrl: \"./parent-child-action-configuration.component.html\",\n})\nexport class ParentChildActionConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {\n @Input() save$!: Observable<void>;\n @Input() disabled$!: Observable<boolean>;\n @Input() pluginId!: string;\n @Input() prefillConfiguration$!: Observable<ParentChildActionConfig>;\n @Output() valid: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() configuration: EventEmitter<FunctionConfigurationData> = new EventEmitter<FunctionConfigurationData>();\n\n private saveSubscription!: Subscription;\n private readonly formValue$ = new BehaviorSubject<ParentChildActionConfig | null>(null);\n private readonly valid$ = new BehaviorSubject<boolean>(false);\n\n public ngOnInit(): void {\n this.openSaveSubscription();\n }\n\n public ngOnDestroy() {\n this.saveSubscription?.unsubscribe();\n }\n\n public formValueChange(formValue: ParentChildActionConfig): void {\n this.formValue$.next(formValue);\n this.handleValid(formValue);\n }\n\n private handleValid(formValue: ParentChildActionConfig): void {\n const valid = !!formValue.parentDocumentId;\n this.valid$.next(valid);\n this.valid.emit(valid);\n }\n\n private openSaveSubscription(): void {\n this.saveSubscription = this.save$\n ?.pipe(\n switchMap(() => combineLatest([this.formValue$, this.valid$]).pipe(take(1)))\n )\n .subscribe(([formValue, valid]) => {\n if (valid) {\n this.configuration.emit(formValue!);\n }\n });\n }\n}\n","<!--\n ~ Copyright 2026 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<p style=\"margin-bottom: 1.5rem\">{{ 'actionDescription' | pluginTranslate: pluginId | async }}</p>\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=\"parentDocumentId\"\n [title]=\"'parentDocumentId' | pluginTranslate: pluginId | async\"\n [margin]=\"true\"\n [defaultValue]=\"obs.prefill?.parentDocumentId\"\n [disabled]=\"obs.disabled\"\n [required]=\"true\"\n [widthPx]=\"350\"\n >\n </v-input>\n</v-form>\n","/*\n * Copyright 2026 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\nimport {NgModule} from \"@angular/core\";\nimport {CommonModule} from \"@angular/common\";\nimport {PluginTranslatePipeModule} from \"@valtimo/plugin\";\nimport {FormModule, InputModule as ValtimoInputModule} from \"@valtimo/components\";\nimport {ParentChildPluginConfigurationComponent} from \"./components/parent-child-plugin-configuration/parent-child-plugin-configuration.component\";\nimport {ParentChildActionConfigurationComponent} from \"./components/parent-child-action-configuration/parent-child-action-configuration.component\";\n\n@NgModule({\n declarations: [ParentChildPluginConfigurationComponent, ParentChildActionConfigurationComponent],\n imports: [CommonModule, PluginTranslatePipeModule, FormModule, ValtimoInputModule],\n exports: [ParentChildPluginConfigurationComponent, ParentChildActionConfigurationComponent],\n})\nexport class ParentChildPluginModule {\n}\n","/*\n * Copyright 2026 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\nconst PARENT_CHILD_PLUGIN_LOGO_BASE64 =\n \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA1MGIyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI1IiByPSIzIi8+PGxpbmUgeDE9IjEyIiB5MT0iOCIgeDI9IjEyIiB5Mj0iMTIiLz48bGluZSB4MT0iNyIgeTE9IjEyIiB4Mj0iMTciIHkyPSIxMiIvPjxsaW5lIHgxPSI3IiB5MT0iMTIiIHgyPSI3IiB5Mj0iMTYiLz48bGluZSB4MT0iMTciIHkxPSIxMiIgeDI9IjE3IiB5Mj0iMTYiLz48Y2lyY2xlIGN4PSI3IiBjeT0iMTkiIHI9IjIuNSIvPjxjaXJjbGUgY3g9IjE3IiBjeT0iMTkiIHI9IjIuNSIvPjwvc3ZnPg==\";\n\nexport {PARENT_CHILD_PLUGIN_LOGO_BASE64};\n","/*\n * Copyright 2026 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\nexport * from \"./parent-child-plugin-logo\";\n","/*\n * Copyright 2026 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\nimport {PluginSpecification} from \"@valtimo/plugin\";\nimport {ParentChildPluginConfigurationComponent} from \"./components/parent-child-plugin-configuration/parent-child-plugin-configuration.component\";\nimport {PARENT_CHILD_PLUGIN_LOGO_BASE64} from \"./assets\";\nimport {ParentChildActionConfigurationComponent} from \"./components/parent-child-action-configuration/parent-child-action-configuration.component\";\n\nconst parentChildPluginSpecification: PluginSpecification = {\n pluginId: \"parent-child-plugin\",\n pluginConfigurationComponent: ParentChildPluginConfigurationComponent,\n pluginLogoBase64: PARENT_CHILD_PLUGIN_LOGO_BASE64,\n functionConfigurationComponents: {\n \"connect-parent\": ParentChildActionConfigurationComponent,\n },\n pluginTranslations: {\n nl: {\n title: \"Parent Child Plugin\",\n \"connect-parent\": \"Koppel bovenliggend document\",\n description: \"Dit is een voorbeeld plugin die beschikt over een API call action.\",\n configurationTitle: \"Configuratienaam\",\n actionDescription: \"Deze actie koppelt het huidige document aan een bovenliggend document: het huidige document krijgt een PARENT relatie en het bovenliggend document krijgt een CHILD relatie.\",\n parentDocumentId: \"Document ID van bovenliggend document\",\n },\n en: {\n title: \"Parent Child Plugin\",\n \"connect-parent\": \"Connect parent document\",\n description: \"This is a parent-child plugin demonstrating an API call action.\",\n configurationTitle: \"Configuration Name\",\n actionDescription: \"This action links the current document to a parent document: the current document gets a PARENT relation and the parent document gets a CHILD relation.\",\n parentDocumentId: \"Parent document ID\",\n },\n },\n};\n\nexport {parentChildPluginSpecification};\n","/*\n * Copyright 2026 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/*\n * Public API Surface of parent-child-plugin\n */\n\nexport * from \"./lib/plugins/parent-child-plugin/models\";\nexport * from \"./lib/plugins/parent-child-plugin/parent-child-plugin-module\";\nexport * from \"./lib/plugins/parent-child-plugin/parent-child-plugin.specification\";\nexport * from \"./lib/plugins/parent-child-plugin/components/parent-child-plugin-configuration/parent-child-plugin-configuration.component\";\nexport * from \"./lib/plugins/parent-child-plugin/components/parent-child-action-configuration/parent-child-action-configuration.component\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["ValtimoInputModule"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;AAcG;MAYU,uCAAuC,CAAA;AALpD,IAAA,WAAA,GAAA;AAUY,QAAA,IAAA,CAAA,KAAK,GAA0B,IAAI,YAAY,EAAW;AAC1D,QAAA,IAAA,CAAA,aAAa,GAA0C,IAAI,YAAY,EAA2B;AAG3F,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,eAAe,CAAiC,IAAI,CAAC;AACtE,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,eAAe,CAAU,KAAK,CAAC;AAgC9D;IA9BC,QAAQ,GAAA;QACN,IAAI,CAAC,oBAAoB,EAAE;;IAG7B,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,gBAAgB,EAAE,WAAW,EAAE;;AAGtC,IAAA,eAAe,CAAC,SAAkC,EAAA;AAChD,QAAA,IAAI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yNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA1MGIyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEyIDJMMyA3djEwbDkgNSA5LTVWN2wtOS01eiIvPjxwYXRoIGQ9Ik0xMiAyMlYxMiIvPjxwYXRoIGQ9Ik0yMSA3bC05IDUiLz48cGF0aCBkPSJNMyA3bDkgNSIvPjwvc3ZnPg==";
1
+ declare const PARENT_CHILD_PLUGIN_LOGO_BASE64 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA1MGIyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI1IiByPSIzIi8+PGxpbmUgeDE9IjEyIiB5MT0iOCIgeDI9IjEyIiB5Mj0iMTIiLz48bGluZSB4MT0iNyIgeTE9IjEyIiB4Mj0iMTciIHkyPSIxMiIvPjxsaW5lIHgxPSI3IiB5MT0iMTIiIHgyPSI3IiB5Mj0iMTYiLz48bGluZSB4MT0iMTciIHkxPSIxMiIgeDI9IjE3IiB5Mj0iMTYiLz48Y2lyY2xlIGN4PSI3IiBjeT0iMTkiIHI9IjIuNSIvPjxjaXJjbGUgY3g9IjE3IiBjeT0iMTkiIHI9IjIuNSIvPjwvc3ZnPg==";
2
2
  export { PARENT_CHILD_PLUGIN_LOGO_BASE64 };
@@ -1,8 +1,7 @@
1
1
  import { PluginConfigurationData } from "@valtimo/plugin";
2
2
  interface ParentChildPluginConfig extends PluginConfigurationData {
3
- apiUrl: string;
4
3
  }
5
4
  interface ParentChildActionConfig {
6
- message: string;
5
+ parentDocumentId: string;
7
6
  }
8
7
  export { ParentChildPluginConfig, ParentChildActionConfig };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo-plugins/parent-child-plugin",
3
3
  "license": "EUPL-1.2",
4
- "version": "0.0.1",
4
+ "version": "1.0.1",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "19.2.20",
7
7
  "@angular/core": "19.2.20"