@valtimo/plugin-management 5.0.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.
Files changed (45) hide show
  1. package/README.md +33 -0
  2. package/esm2020/lib/components/plugin-add-modal/plugin-add-modal.component.mjs +81 -0
  3. package/esm2020/lib/components/plugin-add-select/plugin-add-select.component.mjs +66 -0
  4. package/esm2020/lib/components/plugin-management/plugin-management.component.mjs +65 -0
  5. package/esm2020/lib/models/index.mjs +14 -0
  6. package/esm2020/lib/models/plugin-modal.model.mjs +13 -0
  7. package/esm2020/lib/models/plugin.model.mjs +13 -0
  8. package/esm2020/lib/plugin-management-routing.mjs +41 -0
  9. package/esm2020/lib/plugin-management.module.mjs +74 -0
  10. package/esm2020/lib/services/index.mjs +14 -0
  11. package/esm2020/lib/services/plugin-management-state.service.mjs +117 -0
  12. package/esm2020/lib/services/plugin.service.mjs +84 -0
  13. package/esm2020/public-api.mjs +21 -0
  14. package/esm2020/valtimo-plugin-management.mjs +5 -0
  15. package/fesm2015/valtimo-plugin-management.mjs +533 -0
  16. package/fesm2015/valtimo-plugin-management.mjs.map +1 -0
  17. package/fesm2020/valtimo-plugin-management.mjs +559 -0
  18. package/fesm2020/valtimo-plugin-management.mjs.map +1 -0
  19. package/lib/components/plugin-add-modal/plugin-add-modal.component.d.ts +27 -0
  20. package/lib/components/plugin-add-modal/plugin-add-modal.component.d.ts.map +1 -0
  21. package/lib/components/plugin-add-select/plugin-add-select.component.d.ts +25 -0
  22. package/lib/components/plugin-add-select/plugin-add-select.component.d.ts.map +1 -0
  23. package/lib/components/plugin-management/plugin-management.component.d.ts +23 -0
  24. package/lib/components/plugin-management/plugin-management.component.d.ts.map +1 -0
  25. package/lib/models/index.d.ts +3 -0
  26. package/lib/models/index.d.ts.map +1 -0
  27. package/lib/models/plugin-modal.model.d.ts +3 -0
  28. package/lib/models/plugin-modal.model.d.ts.map +1 -0
  29. package/lib/models/plugin.model.d.ts +13 -0
  30. package/lib/models/plugin.model.d.ts.map +1 -0
  31. package/lib/plugin-management-routing.d.ts +9 -0
  32. package/lib/plugin-management-routing.d.ts.map +1 -0
  33. package/lib/plugin-management.module.d.ts +15 -0
  34. package/lib/plugin-management.module.d.ts.map +1 -0
  35. package/lib/services/index.d.ts +3 -0
  36. package/lib/services/index.d.ts.map +1 -0
  37. package/lib/services/plugin-management-state.service.d.ts +43 -0
  38. package/lib/services/plugin-management-state.service.d.ts.map +1 -0
  39. package/lib/services/plugin.service.d.ts +13 -0
  40. package/lib/services/plugin.service.d.ts.map +1 -0
  41. package/package.json +33 -0
  42. package/public-api.d.ts +7 -0
  43. package/public-api.d.ts.map +1 -0
  44. package/valtimo-plugin-management.d.ts +6 -0
  45. package/valtimo-plugin-management.d.ts.map +1 -0
@@ -0,0 +1,559 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, ViewChild, NgModule } from '@angular/core';
3
+ import { of, Subject, BehaviorSubject, combineLatest } from 'rxjs';
4
+ import { delay, take, map, tap } from 'rxjs/operators';
5
+ import * as i1 from '@angular/router';
6
+ import { RouterModule } from '@angular/router';
7
+ import * as i4 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+ import { AuthGuardService } from '@valtimo/security';
10
+ import { ROLE_ADMIN } from '@valtimo/config';
11
+ import * as i2 from '@ngx-translate/core';
12
+ import { TranslateModule } from '@ngx-translate/core';
13
+ import * as i3 from '@valtimo/user-interface';
14
+ import { PageModule, ParagraphModule, TitleModule, TableModule, StepperModule, ModalModule, ButtonModule, CardModule } from '@valtimo/user-interface';
15
+ import * as i5 from '@angular/flex-layout/flex';
16
+ import { FlexLayoutModule } from '@angular/flex-layout';
17
+
18
+ /*
19
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
20
+ *
21
+ * Licensed under EUPL, Version 1.2 (the "License");
22
+ * you may not use this file except in compliance with the License.
23
+ * You may obtain a copy of the License at
24
+ *
25
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
26
+ *
27
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
28
+ */
29
+
30
+ /*
31
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
32
+ *
33
+ * Licensed under EUPL, Version 1.2 (the "License");
34
+ * you may not use this file except in compliance with the License.
35
+ * You may obtain a copy of the License at
36
+ *
37
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
38
+ *
39
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
40
+ */
41
+
42
+ /*
43
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
44
+ *
45
+ * Licensed under EUPL, Version 1.2 (the "License");
46
+ * you may not use this file except in compliance with the License.
47
+ * You may obtain a copy of the License at
48
+ *
49
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
50
+ *
51
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
52
+ */
53
+
54
+ /*
55
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
56
+ *
57
+ * Licensed under EUPL, Version 1.2 (the "License");
58
+ * you may not use this file except in compliance with the License.
59
+ * You may obtain a copy of the License at
60
+ *
61
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
62
+ *
63
+ * Unless required by applicable law or agreed to in writing, software
64
+ * distributed under the License is distributed on an "AS IS" basis,
65
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
66
+ * See the License for the specific language governing permissions and
67
+ * limitations under the License.
68
+ */
69
+ class PluginService {
70
+ constructor() {
71
+ this.OPEN_ZAAK_CONFIGURATIONS = [
72
+ {
73
+ definitionKey: 'openzaak',
74
+ key: '1ebdad87-3899-4ab7-b4ad-403237b17dbd',
75
+ title: 'Den Haag Open Zaak 1',
76
+ },
77
+ {
78
+ definitionKey: 'openzaak',
79
+ key: '1ebdad87-3899-4ab7-b4ad-403237b17dbe',
80
+ title: 'Den Haag Open Zaak 2',
81
+ },
82
+ {
83
+ definitionKey: 'openzaak',
84
+ key: '1ebdad87-3899-4ab7-b4ad-403237b17dbf',
85
+ title: 'Den Haag Open Zaak 3',
86
+ },
87
+ {
88
+ definitionKey: 'openzaak',
89
+ key: '1ebdad87-3899-4ab7-b4ad-403237b17dbg',
90
+ title: 'Den Haag Open Zaak 4',
91
+ },
92
+ {
93
+ definitionKey: 'openzaak',
94
+ key: '1ebdad87-3899-4ab7-b4ad-403237b17dbh',
95
+ title: 'Den Haag Open Zaak 5',
96
+ },
97
+ ];
98
+ }
99
+ getPluginDefinitions() {
100
+ return of([{ key: 'openzaak' }]).pipe(delay(1500));
101
+ }
102
+ getPluginConfigurations(pluginDefinitionId) {
103
+ return of(this.OPEN_ZAAK_CONFIGURATIONS).pipe(delay(1500));
104
+ }
105
+ getPluginFunctions(pluginDefinitionId) {
106
+ return of([
107
+ {
108
+ key: 'create-zaak',
109
+ },
110
+ {
111
+ key: 'set-status',
112
+ },
113
+ {
114
+ key: 'set-resultaat',
115
+ },
116
+ {
117
+ key: 'set-besluit',
118
+ },
119
+ ]).pipe(delay(1500));
120
+ }
121
+ getAllPluginConfigurations() {
122
+ return of(this.OPEN_ZAAK_CONFIGURATIONS).pipe(delay(1500));
123
+ }
124
+ }
125
+ PluginService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
126
+ PluginService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginService, providedIn: 'root' });
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginService, decorators: [{
128
+ type: Injectable,
129
+ args: [{
130
+ providedIn: 'root',
131
+ }]
132
+ }] });
133
+
134
+ /*
135
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
136
+ *
137
+ * Licensed under EUPL, Version 1.2 (the "License");
138
+ * you may not use this file except in compliance with the License.
139
+ * You may obtain a copy of the License at
140
+ *
141
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
142
+ *
143
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
144
+ */
145
+ class PluginManagementStateService {
146
+ constructor() {
147
+ this._showModal$ = new Subject();
148
+ this._hideModal$ = new Subject();
149
+ this._inputDisabled$ = new BehaviorSubject(false);
150
+ this._saveButtonDisabled$ = new BehaviorSubject(true);
151
+ this._refresh$ = new BehaviorSubject(null);
152
+ this._save$ = new Subject();
153
+ this._delete$ = new Subject();
154
+ this._hideModalSaveButton$ = new BehaviorSubject(false);
155
+ this._pluginDefinitions$ = new BehaviorSubject(undefined);
156
+ this._selectedPluginDefinition$ = new BehaviorSubject(undefined);
157
+ }
158
+ get showModal$() {
159
+ return this._showModal$.asObservable();
160
+ }
161
+ get hideModal$() {
162
+ return this._hideModal$.asObservable();
163
+ }
164
+ get inputDisabled$() {
165
+ return this._inputDisabled$.asObservable();
166
+ }
167
+ get refresh$() {
168
+ return this._refresh$.asObservable();
169
+ }
170
+ get pluginDefinitions$() {
171
+ return this._pluginDefinitions$.asObservable();
172
+ }
173
+ get selectedPluginDefinition$() {
174
+ return this._selectedPluginDefinition$.asObservable();
175
+ }
176
+ get saveButtonDisabled$() {
177
+ return this._saveButtonDisabled$.asObservable();
178
+ }
179
+ get save$() {
180
+ return this._save$.asObservable();
181
+ }
182
+ get delete$() {
183
+ return this._delete$.asObservable();
184
+ }
185
+ get hideModalSaveButton$() {
186
+ return this._hideModalSaveButton$.asObservable();
187
+ }
188
+ showModal(modalType) {
189
+ this._showModal$.next(modalType);
190
+ }
191
+ hideModal() {
192
+ this._hideModal$.next();
193
+ }
194
+ disableInput() {
195
+ this._inputDisabled$.next(true);
196
+ }
197
+ enableInput() {
198
+ this._inputDisabled$.next(false);
199
+ }
200
+ refresh() {
201
+ this._refresh$.next(null);
202
+ }
203
+ setPluginDefinitions(definitions) {
204
+ this._pluginDefinitions$.next(definitions);
205
+ }
206
+ selectPluginDefinition(definition) {
207
+ this._selectedPluginDefinition$.next(definition);
208
+ }
209
+ clearSelectedPluginDefinition() {
210
+ this._selectedPluginDefinition$.next(undefined);
211
+ }
212
+ enableSaveButton() {
213
+ this._saveButtonDisabled$.next(false);
214
+ }
215
+ disableSaveButton() {
216
+ this._saveButtonDisabled$.next(true);
217
+ }
218
+ save() {
219
+ this._saveButtonDisabled$.pipe(take(1)).subscribe(saveButtonDisabled => {
220
+ if (!saveButtonDisabled) {
221
+ this._save$.next();
222
+ }
223
+ });
224
+ }
225
+ delete() {
226
+ this._delete$.next();
227
+ }
228
+ hideModalSaveButton() {
229
+ this._hideModalSaveButton$.next(true);
230
+ }
231
+ showModalSaveButton() {
232
+ this._hideModalSaveButton$.next(false);
233
+ }
234
+ clear() {
235
+ this._selectedPluginDefinition$.next(undefined);
236
+ }
237
+ }
238
+ PluginManagementStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
239
+ PluginManagementStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementStateService, providedIn: 'root' });
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementStateService, decorators: [{
241
+ type: Injectable,
242
+ args: [{
243
+ providedIn: 'root',
244
+ }]
245
+ }] });
246
+
247
+ /*
248
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
249
+ *
250
+ * Licensed under EUPL, Version 1.2 (the "License");
251
+ * you may not use this file except in compliance with the License.
252
+ * You may obtain a copy of the License at
253
+ *
254
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
255
+ *
256
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
257
+ */
258
+
259
+ /*
260
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
261
+ *
262
+ * Licensed under EUPL, Version 1.2 (the "License");
263
+ * you may not use this file except in compliance with the License.
264
+ * You may obtain a copy of the License at
265
+ *
266
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
267
+ *
268
+ * Unless required by applicable law or agreed to in writing, software
269
+ * distributed under the License is distributed on an "AS IS" basis,
270
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
271
+ * See the License for the specific language governing permissions and
272
+ * limitations under the License.
273
+ */
274
+ class PluginAddSelectComponent {
275
+ constructor(pluginService, stateService, translateService) {
276
+ this.pluginService = pluginService;
277
+ this.stateService = stateService;
278
+ this.translateService = translateService;
279
+ this.selectedPluginDefinition$ = this.stateService.selectedPluginDefinition$;
280
+ this.disabled$ = this.stateService.inputDisabled$;
281
+ this.pluginDefinitions$ = this.stateService.pluginDefinitions$;
282
+ }
283
+ ngOnInit() {
284
+ this.openRefreshSubscription();
285
+ this.getPluginDefinitions();
286
+ }
287
+ ngOnDestroy() {
288
+ this.refreshSubscription?.unsubscribe();
289
+ }
290
+ selectPluginDefinition(pluginDefinition) {
291
+ this.stateService.selectPluginDefinition(pluginDefinition);
292
+ }
293
+ deselectPluginDefinition() {
294
+ this.stateService.clearSelectedPluginDefinition();
295
+ }
296
+ getPluginDefinitions() {
297
+ this.pluginService.getPluginDefinitions().subscribe(pluginDefinitions => {
298
+ this.stateService.setPluginDefinitions(pluginDefinitions);
299
+ });
300
+ }
301
+ openRefreshSubscription() {
302
+ this.refreshSubscription = combineLatest([
303
+ this.stateService.showModal$,
304
+ this.stateService.refresh$,
305
+ ]).subscribe(() => {
306
+ this.stateService.clearSelectedPluginDefinition();
307
+ });
308
+ }
309
+ }
310
+ PluginAddSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginAddSelectComponent, deps: [{ token: PluginService }, { token: PluginManagementStateService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
311
+ PluginAddSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: PluginAddSelectComponent, selector: "valtimo-plugin-add-select", ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 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<ng-container *ngIf=\"pluginDefinitions$ | async as pluginDefinitions; else loading\">\n <div fxLayout=\"row wrap\" fxLayoutGap=\"22px grid\">\n <div fxFlex=\"33.3%\" *ngFor=\"let pluginDefinition of pluginDefinitions\">\n <v-card\n [titleTranslationKey]=\"'plugin.' + pluginDefinition.key + '.title'\"\n [descriptionTranslationKey]=\"'plugin.' + pluginDefinition.key + '.description'\"\n [selectable]=\"true\"\n [selected]=\"(selectedPluginDefinition$ | async)?.key === pluginDefinition.key\"\n [fullHeight]=\"true\"\n (selectEvent)=\"selectPluginDefinition(pluginDefinition)\"\n (deselectEvent)=\"deselectPluginDefinition()\"\n ></v-card>\n </div>\n </div>\n</ng-container>\n\n<ng-template #loading>\n <div fxLayout=\"row wrap\" fxLayoutGap=\"22px grid\">\n <ng-container *ngTemplateOutlet=\"loadingCard\"></ng-container>\n <ng-container *ngTemplateOutlet=\"loadingCard\"></ng-container>\n <ng-container *ngTemplateOutlet=\"loadingCard\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #loadingCard>\n <div fxFlex=\"33.3%\">\n <v-card [loading]=\"true\" [loadingDescription]=\"true\" [loadingTitle]=\"true\"></v-card>\n </div>\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2020 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 */.btn-back{position:absolute}.cards-container{display:flex;flex-flow:row wrap;width:100%}.card{width:calc(33.3% - 20px);margin-right:30px}.card:nth-child(3n+3){margin-right:0}.card-header{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"], components: [{ type: i3.CardComponent, selector: "v-card", inputs: ["titleTranslationKey", "title", "descriptionTranslationKey", "description", "selectable", "selected", "fullHeight", "loading", "loadingTitle", "loadingDescription"], outputs: ["selectEvent", "deselectEvent"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i4.AsyncPipe } });
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginAddSelectComponent, decorators: [{
313
+ type: Component,
314
+ args: [{ selector: 'valtimo-plugin-add-select', template: "<!--\n ~ Copyright 2015-2020 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<ng-container *ngIf=\"pluginDefinitions$ | async as pluginDefinitions; else loading\">\n <div fxLayout=\"row wrap\" fxLayoutGap=\"22px grid\">\n <div fxFlex=\"33.3%\" *ngFor=\"let pluginDefinition of pluginDefinitions\">\n <v-card\n [titleTranslationKey]=\"'plugin.' + pluginDefinition.key + '.title'\"\n [descriptionTranslationKey]=\"'plugin.' + pluginDefinition.key + '.description'\"\n [selectable]=\"true\"\n [selected]=\"(selectedPluginDefinition$ | async)?.key === pluginDefinition.key\"\n [fullHeight]=\"true\"\n (selectEvent)=\"selectPluginDefinition(pluginDefinition)\"\n (deselectEvent)=\"deselectPluginDefinition()\"\n ></v-card>\n </div>\n </div>\n</ng-container>\n\n<ng-template #loading>\n <div fxLayout=\"row wrap\" fxLayoutGap=\"22px grid\">\n <ng-container *ngTemplateOutlet=\"loadingCard\"></ng-container>\n <ng-container *ngTemplateOutlet=\"loadingCard\"></ng-container>\n <ng-container *ngTemplateOutlet=\"loadingCard\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #loadingCard>\n <div fxFlex=\"33.3%\">\n <v-card [loading]=\"true\" [loadingDescription]=\"true\" [loadingTitle]=\"true\"></v-card>\n </div>\n</ng-template>\n", styles: ["/*!\n * Copyright 2015-2020 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 */.btn-back{position:absolute}.cards-container{display:flex;flex-flow:row wrap;width:100%}.card{width:calc(33.3% - 20px);margin-right:30px}.card:nth-child(3n+3){margin-right:0}.card-header{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"] }]
315
+ }], ctorParameters: function () { return [{ type: PluginService }, { type: PluginManagementStateService }, { type: i2.TranslateService }]; } });
316
+
317
+ /*
318
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
319
+ *
320
+ * Licensed under EUPL, Version 1.2 (the "License");
321
+ * you may not use this file except in compliance with the License.
322
+ * You may obtain a copy of the License at
323
+ *
324
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
325
+ *
326
+ * Unless required by applicable law or agreed to in writing, software
327
+ * distributed under the License is distributed on an "AS IS" basis,
328
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
329
+ * See the License for the specific language governing permissions and
330
+ * limitations under the License.
331
+ */
332
+ class PluginAddModalComponent {
333
+ constructor(stateService, modalService) {
334
+ this.stateService = stateService;
335
+ this.modalService = modalService;
336
+ this.inputDisabled$ = this.stateService.inputDisabled$;
337
+ this.selectedPluginDefinition$ = this.stateService.selectedPluginDefinition$;
338
+ this.returnToFirstStepSubject$ = new Subject();
339
+ }
340
+ ngOnInit() {
341
+ this.openShowSubscription();
342
+ this.openHideSubscription();
343
+ }
344
+ complete() {
345
+ this.stateService.save();
346
+ }
347
+ delete() {
348
+ this.stateService.delete();
349
+ }
350
+ hide() {
351
+ this.stateService.disableInput();
352
+ this.modalService.closeModal();
353
+ this.modalService.appearingDelayMs$.pipe(take(1)).subscribe(appearingDelay => {
354
+ setTimeout(() => {
355
+ this.returnToFirstStep();
356
+ this.stateService.enableInput();
357
+ this.stateService.clear();
358
+ }, appearingDelay);
359
+ });
360
+ }
361
+ openShowSubscription() {
362
+ this.showSubscription = this.stateService.showModal$.subscribe(modalType => {
363
+ if (modalType === 'add') {
364
+ this.show();
365
+ }
366
+ });
367
+ }
368
+ openHideSubscription() {
369
+ this.hideSubscription = this.stateService.hideModal$.subscribe(() => {
370
+ this.hide();
371
+ });
372
+ }
373
+ returnToFirstStep() {
374
+ this.returnToFirstStepSubject$.next(true);
375
+ }
376
+ show() {
377
+ this.modalService.openModal(this.pluginAddModal);
378
+ }
379
+ }
380
+ PluginAddModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginAddModalComponent, deps: [{ token: PluginManagementStateService }, { token: i3.ModalService }], target: i0.ɵɵFactoryTarget.Component });
381
+ PluginAddModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: PluginAddModalComponent, selector: "valtimo-plugin-add-modal", viewQueries: [{ propertyName: "pluginAddModal", first: true, predicate: ["pluginAddModal"], descendants: true }], ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 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-stepper-container\n (completeEvent)=\"complete()\"\n (cancelClickEvent)=\"hide()\"\n [disabled]=\"inputDisabled$ | async\"\n [returnToFirstStepSubject$]=\"returnToFirstStepSubject$\"\n>\n <v-modal #pluginAddModal (closeEvent)=\"hide()\">\n <div role=\"header\">\n <v-stepper-header></v-stepper-header>\n </div>\n <div role=\"content\">\n <v-stepper-content>\n <v-stepper-step titleTranslationKey=\"pluginManagement.addSteps.step0\">\n <valtimo-plugin-add-select></valtimo-plugin-add-select>\n </v-stepper-step>\n <v-stepper-step titleTranslationKey=\"pluginManagement.addSteps.step1\">\n configure plugin\n </v-stepper-step>\n </v-stepper-content>\n </div>\n <div role=\"footer\">\n <v-stepper-footer>\n <v-stepper-footer-step\n nextButtonTranslationKey=\"pluginManagement.addSteps.step1\"\n [nextButtonEnabled]=\"selectedPluginDefinition$ | async\"\n ></v-stepper-footer-step>\n <v-stepper-footer-step\n nextButtonTranslationKey=\"pluginManagement.addSteps.step2\"\n [nextButtonEnabled]=\"false\"\n ></v-stepper-footer-step>\n </v-stepper-footer>\n </div>\n </v-modal>\n</v-stepper-container>\n", styles: ["/*!\n * Copyright 2015-2020 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"], components: [{ type: i3.StepperContainerComponent, selector: "v-stepper-container", inputs: ["returnToFirstStepSubject$", "disabled"], outputs: ["cancelClickEvent", "completeEvent", "nextStepEvent"] }, { type: i3.ModalComponent, selector: "v-modal", inputs: ["appearingDelayMs", "maxWidthPx"], outputs: ["closeEvent"] }, { type: i3.StepperHeaderComponent, selector: "v-stepper-header" }, { type: i3.StepperContentComponent, selector: "v-stepper-content" }, { type: i3.StepperStepComponent, selector: "v-stepper-step", inputs: ["titleTranslationKey"] }, { type: PluginAddSelectComponent, selector: "valtimo-plugin-add-select" }, { type: i3.StepperFooterComponent, selector: "v-stepper-footer" }, { type: i3.StepperFooterStepComponent, selector: "v-stepper-footer-step", inputs: ["nextButtonEnabled", "completeButtonEnabled", "nextButtonTranslationKey", "cancelButtonTranslationKey", "completeButtonTranslationKey", "completeButtonMdiIcon", "showCompleteButton"] }], pipes: { "async": i4.AsyncPipe } });
382
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginAddModalComponent, decorators: [{
383
+ type: Component,
384
+ args: [{ selector: 'valtimo-plugin-add-modal', template: "<!--\n ~ Copyright 2015-2020 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-stepper-container\n (completeEvent)=\"complete()\"\n (cancelClickEvent)=\"hide()\"\n [disabled]=\"inputDisabled$ | async\"\n [returnToFirstStepSubject$]=\"returnToFirstStepSubject$\"\n>\n <v-modal #pluginAddModal (closeEvent)=\"hide()\">\n <div role=\"header\">\n <v-stepper-header></v-stepper-header>\n </div>\n <div role=\"content\">\n <v-stepper-content>\n <v-stepper-step titleTranslationKey=\"pluginManagement.addSteps.step0\">\n <valtimo-plugin-add-select></valtimo-plugin-add-select>\n </v-stepper-step>\n <v-stepper-step titleTranslationKey=\"pluginManagement.addSteps.step1\">\n configure plugin\n </v-stepper-step>\n </v-stepper-content>\n </div>\n <div role=\"footer\">\n <v-stepper-footer>\n <v-stepper-footer-step\n nextButtonTranslationKey=\"pluginManagement.addSteps.step1\"\n [nextButtonEnabled]=\"selectedPluginDefinition$ | async\"\n ></v-stepper-footer-step>\n <v-stepper-footer-step\n nextButtonTranslationKey=\"pluginManagement.addSteps.step2\"\n [nextButtonEnabled]=\"false\"\n ></v-stepper-footer-step>\n </v-stepper-footer>\n </div>\n </v-modal>\n</v-stepper-container>\n", styles: ["/*!\n * Copyright 2015-2020 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"] }]
385
+ }], ctorParameters: function () { return [{ type: PluginManagementStateService }, { type: i3.ModalService }]; }, propDecorators: { pluginAddModal: [{
386
+ type: ViewChild,
387
+ args: ['pluginAddModal']
388
+ }] } });
389
+
390
+ /*
391
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
392
+ *
393
+ * Licensed under EUPL, Version 1.2 (the "License");
394
+ * you may not use this file except in compliance with the License.
395
+ * You may obtain a copy of the License at
396
+ *
397
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
398
+ *
399
+ * Unless required by applicable law or agreed to in writing, software
400
+ * distributed under the License is distributed on an "AS IS" basis,
401
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
402
+ * See the License for the specific language governing permissions and
403
+ * limitations under the License.
404
+ */
405
+ class PluginManagementComponent {
406
+ constructor(pluginService, translateService, stateService) {
407
+ this.pluginService = pluginService;
408
+ this.translateService = translateService;
409
+ this.stateService = stateService;
410
+ this.loading$ = new BehaviorSubject(true);
411
+ this.columns$ = new BehaviorSubject([
412
+ {
413
+ labelTranslationKey: 'pluginManagement.labels.pluginName',
414
+ dataKey: 'pluginName',
415
+ },
416
+ {
417
+ labelTranslationKey: 'pluginManagement.labels.identifier',
418
+ dataKey: 'definitionKey',
419
+ },
420
+ {
421
+ labelTranslationKey: 'pluginManagement.labels.configurationName',
422
+ dataKey: 'title',
423
+ },
424
+ ]);
425
+ this.pluginConfigurations$ = combineLatest([
426
+ this.pluginService.getAllPluginConfigurations(),
427
+ this.translateService.stream('key'),
428
+ ]).pipe(map(([pluginConfigurations]) => pluginConfigurations.map(configuration => ({
429
+ ...configuration,
430
+ pluginName: this.translateService.instant(`plugin.${configuration.definitionKey}.title`),
431
+ }))), tap(() => {
432
+ this.loading$.next(false);
433
+ }));
434
+ }
435
+ showAddModal() {
436
+ this.stateService.showModal('add');
437
+ }
438
+ }
439
+ PluginManagementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementComponent, deps: [{ token: PluginService }, { token: i2.TranslateService }, { token: PluginManagementStateService }], target: i0.ɵɵFactoryTarget.Component });
440
+ PluginManagementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: PluginManagementComponent, selector: "valtimo-plugin-management", ngImport: i0, template: "<!--\n ~ Copyright 2015-2020 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-page-container\n *ngIf=\"{\n pluginConfigurations: pluginConfigurations$ | async,\n columns: columns$ | async,\n loading: loading$ | async\n } as obs\"\n>\n <v-page-header>\n <v-page-header-introduction>\n <v-title>{{ 'pages.plugins.title' | translate }}</v-title>\n <v-paragraph>{{ 'pages.plugins.description' | translate }}</v-paragraph>\n </v-page-header-introduction>\n <v-page-header-actions>\n <v-button\n (clickEvent)=\"showAddModal()\"\n type=\"primary\"\n mdiIcon=\"plus\"\n [disabled]=\"obs.loading\"\n >\n {{ 'pluginManagement.add' | translate }}\n </v-button>\n </v-page-header-actions>\n </v-page-header>\n <v-page-content>\n <v-table\n [loading]=\"obs.loading\"\n [items]=\"obs.pluginConfigurations\"\n [columns]=\"obs.columns\"\n [showEditButtons]=\"false\"\n [amountOfLoadingRows]=\"2\"\n [itemsTranslationKey]=\"'pluginManagement.tableItemsText'\"\n [showPagination]=\"false\"\n ></v-table>\n </v-page-content>\n</v-page-container>\n\n<valtimo-plugin-add-modal></valtimo-plugin-add-modal>\n", styles: ["/*!\n * Copyright 2015-2020 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"], components: [{ type: i3.PageContainerComponent, selector: "v-page-container" }, { type: i3.PageHeaderComponent, selector: "v-page-header" }, { type: i3.PageHeaderIntroductionComponent, selector: "v-page-header-introduction" }, { type: i3.TitleComponent, selector: "v-title", inputs: ["type", "margin"] }, { type: i3.ParagraphComponent, selector: "v-paragraph" }, { type: i3.PageHeaderActionsComponent, selector: "v-page-header-actions" }, { type: i3.ButtonComponent, selector: "v-button", inputs: ["type", "mdiIcon", "disabled"], outputs: ["clickEvent"] }, { type: i3.PageContentComponent, selector: "v-page-content" }, { type: i3.TableComponent, selector: "v-table", inputs: ["items", "columns", "loading", "showEditButtons", "showPagination", "editButtonTranslationKey", "itemsTranslationKey", "mobileBreakpointPx", "amountOfLoadingRows", "collectionSize", "maxPaginationItemSize", "page", "size"], outputs: ["editButtonClicked", "paginationSizeSet", "paginationPageSet"] }, { type: PluginAddModalComponent, selector: "valtimo-plugin-add-modal" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe, "translate": i2.TranslatePipe } });
441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementComponent, decorators: [{
442
+ type: Component,
443
+ args: [{ selector: 'valtimo-plugin-management', template: "<!--\n ~ Copyright 2015-2020 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-page-container\n *ngIf=\"{\n pluginConfigurations: pluginConfigurations$ | async,\n columns: columns$ | async,\n loading: loading$ | async\n } as obs\"\n>\n <v-page-header>\n <v-page-header-introduction>\n <v-title>{{ 'pages.plugins.title' | translate }}</v-title>\n <v-paragraph>{{ 'pages.plugins.description' | translate }}</v-paragraph>\n </v-page-header-introduction>\n <v-page-header-actions>\n <v-button\n (clickEvent)=\"showAddModal()\"\n type=\"primary\"\n mdiIcon=\"plus\"\n [disabled]=\"obs.loading\"\n >\n {{ 'pluginManagement.add' | translate }}\n </v-button>\n </v-page-header-actions>\n </v-page-header>\n <v-page-content>\n <v-table\n [loading]=\"obs.loading\"\n [items]=\"obs.pluginConfigurations\"\n [columns]=\"obs.columns\"\n [showEditButtons]=\"false\"\n [amountOfLoadingRows]=\"2\"\n [itemsTranslationKey]=\"'pluginManagement.tableItemsText'\"\n [showPagination]=\"false\"\n ></v-table>\n </v-page-content>\n</v-page-container>\n\n<valtimo-plugin-add-modal></valtimo-plugin-add-modal>\n", styles: ["/*!\n * Copyright 2015-2020 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"] }]
444
+ }], ctorParameters: function () { return [{ type: PluginService }, { type: i2.TranslateService }, { type: PluginManagementStateService }]; } });
445
+
446
+ /*
447
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
448
+ *
449
+ * Licensed under EUPL, Version 1.2 (the "License");
450
+ * you may not use this file except in compliance with the License.
451
+ * You may obtain a copy of the License at
452
+ *
453
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
454
+ *
455
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
456
+ */
457
+ const routes = [
458
+ {
459
+ path: 'plugins',
460
+ component: PluginManagementComponent,
461
+ canActivate: [AuthGuardService],
462
+ data: { title: 'Plugins', roles: [ROLE_ADMIN] },
463
+ },
464
+ ];
465
+ class PluginManagementRoutingModule {
466
+ }
467
+ PluginManagementRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
468
+ PluginManagementRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementRoutingModule, imports: [CommonModule, i1.RouterModule], exports: [RouterModule] });
469
+ PluginManagementRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementRoutingModule, imports: [[CommonModule, RouterModule.forChild(routes)], RouterModule] });
470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementRoutingModule, decorators: [{
471
+ type: NgModule,
472
+ args: [{
473
+ declarations: [],
474
+ imports: [CommonModule, RouterModule.forChild(routes)],
475
+ exports: [RouterModule],
476
+ }]
477
+ }] });
478
+
479
+ /*
480
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
481
+ *
482
+ * Licensed under EUPL, Version 1.2 (the "License");
483
+ * you may not use this file except in compliance with the License.
484
+ * You may obtain a copy of the License at
485
+ *
486
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
487
+ *
488
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
489
+ */
490
+ class PluginManagementModule {
491
+ }
492
+ PluginManagementModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
493
+ PluginManagementModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementModule, declarations: [PluginManagementComponent, PluginAddModalComponent, PluginAddSelectComponent], imports: [CommonModule,
494
+ PluginManagementRoutingModule,
495
+ TranslateModule,
496
+ FlexLayoutModule,
497
+ PageModule,
498
+ ParagraphModule,
499
+ TitleModule,
500
+ TableModule,
501
+ StepperModule,
502
+ ModalModule,
503
+ ButtonModule,
504
+ CardModule], exports: [PluginManagementComponent, PluginAddModalComponent, PluginAddSelectComponent] });
505
+ PluginManagementModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementModule, providers: [PluginManagementStateService], imports: [[
506
+ CommonModule,
507
+ PluginManagementRoutingModule,
508
+ TranslateModule,
509
+ FlexLayoutModule,
510
+ PageModule,
511
+ ParagraphModule,
512
+ TitleModule,
513
+ TableModule,
514
+ StepperModule,
515
+ ModalModule,
516
+ ButtonModule,
517
+ CardModule,
518
+ ]] });
519
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: PluginManagementModule, decorators: [{
520
+ type: NgModule,
521
+ args: [{
522
+ providers: [PluginManagementStateService],
523
+ declarations: [PluginManagementComponent, PluginAddModalComponent, PluginAddSelectComponent],
524
+ imports: [
525
+ CommonModule,
526
+ PluginManagementRoutingModule,
527
+ TranslateModule,
528
+ FlexLayoutModule,
529
+ PageModule,
530
+ ParagraphModule,
531
+ TitleModule,
532
+ TableModule,
533
+ StepperModule,
534
+ ModalModule,
535
+ ButtonModule,
536
+ CardModule,
537
+ ],
538
+ exports: [PluginManagementComponent, PluginAddModalComponent, PluginAddSelectComponent],
539
+ }]
540
+ }] });
541
+
542
+ /*
543
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
544
+ *
545
+ * Licensed under EUPL, Version 1.2 (the "License");
546
+ * you may not use this file except in compliance with the License.
547
+ * You may obtain a copy of the License at
548
+ *
549
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
550
+ *
551
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.
552
+ */
553
+
554
+ /**
555
+ * Generated bundle index. Do not edit.
556
+ */
557
+
558
+ export { PluginAddModalComponent, PluginAddSelectComponent, PluginManagementComponent, PluginManagementModule, PluginManagementStateService, PluginService };
559
+ //# sourceMappingURL=valtimo-plugin-management.mjs.map