@valtimo/choice-field 4.23.0 → 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.
- package/esm2020/lib/choice-field-create/choice-field-create.component.mjs +59 -0
- package/esm2020/lib/choice-field-detail/choice-field-detail.component.mjs +119 -0
- package/esm2020/lib/choice-field-list/choice-field-list.component.mjs +73 -0
- package/esm2020/lib/choice-field-routing.module.mjs +87 -0
- package/esm2020/lib/choice-field-value-create/choice-field-value-create.component.mjs +77 -0
- package/esm2020/lib/choice-field-value-detail/choice-field-value-detail.component.mjs +83 -0
- package/esm2020/lib/choice-field-value-list/choice-field-value-list.component.mjs +96 -0
- package/esm2020/lib/choice-field.module.mjs +82 -0
- package/esm2020/lib/choice-field.service.mjs +67 -0
- package/esm2020/lib/models/choice-field.model.mjs +17 -0
- package/esm2020/lib/models/choicefield-value.model.mjs +17 -0
- package/esm2020/lib/models/index.mjs +20 -0
- package/esm2020/public_api.mjs +22 -0
- package/esm2020/valtimo-choice-field.mjs +5 -0
- package/fesm2015/valtimo-choice-field.mjs +725 -0
- package/fesm2015/valtimo-choice-field.mjs.map +1 -0
- package/fesm2020/valtimo-choice-field.mjs +757 -0
- package/fesm2020/valtimo-choice-field.mjs.map +1 -0
- package/lib/choice-field-create/choice-field-create.component.d.ts +4 -0
- package/lib/choice-field-create/choice-field-create.component.d.ts.map +1 -0
- package/lib/choice-field-detail/choice-field-detail.component.d.ts +4 -0
- package/lib/choice-field-detail/choice-field-detail.component.d.ts.map +1 -0
- package/lib/choice-field-list/choice-field-list.component.d.ts +4 -0
- package/lib/choice-field-list/choice-field-list.component.d.ts.map +1 -0
- package/lib/choice-field-routing.module.d.ts +7 -0
- package/lib/choice-field-routing.module.d.ts.map +1 -0
- package/lib/choice-field-value-create/choice-field-value-create.component.d.ts +4 -0
- package/lib/choice-field-value-create/choice-field-value-create.component.d.ts.map +1 -0
- package/lib/choice-field-value-detail/choice-field-value-detail.component.d.ts +4 -0
- package/lib/choice-field-value-detail/choice-field-value-detail.component.d.ts.map +1 -0
- package/lib/choice-field-value-list/choice-field-value-list.component.d.ts +4 -0
- package/lib/choice-field-value-list/choice-field-value-list.component.d.ts.map +1 -0
- package/lib/choice-field.module.d.ts +16 -0
- package/lib/choice-field.module.d.ts.map +1 -0
- package/lib/choice-field.service.d.ts +4 -0
- package/lib/choice-field.service.d.ts.map +1 -0
- package/lib/models/choice-field.model.d.ts +1 -0
- package/lib/models/choice-field.model.d.ts.map +1 -0
- package/lib/models/choicefield-value.model.d.ts +1 -0
- package/lib/models/choicefield-value.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -0
- package/package.json +22 -10
- package/public_api.d.ts +1 -0
- package/public_api.d.ts.map +1 -0
- package/valtimo-choice-field.d.ts +2 -7
- package/valtimo-choice-field.d.ts.map +1 -0
- package/bundles/valtimo-choice-field.umd.js +0 -811
- package/bundles/valtimo-choice-field.umd.js.map +0 -1
- package/bundles/valtimo-choice-field.umd.min.js +0 -2
- package/bundles/valtimo-choice-field.umd.min.js.map +0 -1
- package/esm2015/lib/choice-field-create/choice-field-create.component.js +0 -63
- package/esm2015/lib/choice-field-detail/choice-field-detail.component.js +0 -123
- package/esm2015/lib/choice-field-list/choice-field-list.component.js +0 -75
- package/esm2015/lib/choice-field-routing.module.js +0 -83
- package/esm2015/lib/choice-field-value-create/choice-field-value-create.component.js +0 -82
- package/esm2015/lib/choice-field-value-detail/choice-field-value-detail.component.js +0 -88
- package/esm2015/lib/choice-field-value-list/choice-field-value-list.component.js +0 -100
- package/esm2015/lib/choice-field.module.js +0 -54
- package/esm2015/lib/choice-field.service.js +0 -71
- package/esm2015/lib/models/choice-field.model.js +0 -16
- package/esm2015/lib/models/choicefield-value.model.js +0 -16
- package/esm2015/lib/models/index.js +0 -20
- package/esm2015/public_api.js +0 -22
- package/esm2015/valtimo-choice-field.js +0 -12
- package/fesm2015/valtimo-choice-field.js +0 -765
- package/fesm2015/valtimo-choice-field.js.map +0 -1
- package/valtimo-choice-field.metadata.json +0 -1
|
@@ -1,811 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('@valtimo/config'), require('@angular/common'), require('@angular/forms'), require('@valtimo/components'), require('@angular/router'), require('@valtimo/security'), require('rxjs'), require('rxjs/operators'), require('@ngx-translate/core')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@valtimo/choice-field', ['exports', '@angular/core', '@angular/common/http', '@valtimo/config', '@angular/common', '@angular/forms', '@valtimo/components', '@angular/router', '@valtimo/security', 'rxjs', 'rxjs/operators', '@ngx-translate/core'], factory) :
|
|
4
|
-
(global = global || self, factory((global.valtimo = global.valtimo || {}, global.valtimo['choice-field'] = {}), global.ng.core, global.ng.common.http, global.config, global.ng.common, global.ng.forms, global.components, global.ng.router, global.security, global.rxjs, global.rxjs.operators, global.core$1));
|
|
5
|
-
}(this, (function (exports, i0, i1, i2, common, forms, components, router, security, rxjs, operators, core) { 'use strict';
|
|
6
|
-
|
|
7
|
-
/*
|
|
8
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
9
|
-
*
|
|
10
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
11
|
-
* you may not use this file except in compliance with the License.
|
|
12
|
-
* You may obtain a copy of the License at
|
|
13
|
-
*
|
|
14
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
15
|
-
*
|
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
* See the License for the specific language governing permissions and
|
|
20
|
-
* limitations under the License.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/*
|
|
24
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
25
|
-
*
|
|
26
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
27
|
-
* you may not use this file except in compliance with the License.
|
|
28
|
-
* You may obtain a copy of the License at
|
|
29
|
-
*
|
|
30
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
31
|
-
*
|
|
32
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
33
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
34
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
35
|
-
* See the License for the specific language governing permissions and
|
|
36
|
-
* limitations under the License.
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
/*
|
|
40
|
-
*
|
|
41
|
-
* * Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
42
|
-
* *
|
|
43
|
-
* * Licensed under EUPL, Version 1.2 (the "License");
|
|
44
|
-
* * you may not use this file except in compliance with the License.
|
|
45
|
-
* * You may obtain a copy of the License at
|
|
46
|
-
* *
|
|
47
|
-
* * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
48
|
-
* *
|
|
49
|
-
* * Unless required by applicable law or agreed to in writing, software
|
|
50
|
-
* * distributed under the License is distributed on an "AS IS" basis,
|
|
51
|
-
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
52
|
-
* * See the License for the specific language governing permissions and
|
|
53
|
-
* * limitations under the License.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
/*
|
|
58
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
59
|
-
*
|
|
60
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
61
|
-
* you may not use this file except in compliance with the License.
|
|
62
|
-
* You may obtain a copy of the License at
|
|
63
|
-
*
|
|
64
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
65
|
-
*
|
|
66
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
67
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
68
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
69
|
-
* See the License for the specific language governing permissions and
|
|
70
|
-
* limitations under the License.
|
|
71
|
-
*/
|
|
72
|
-
var ChoiceFieldService = /** @class */ (function () {
|
|
73
|
-
function ChoiceFieldService(http, configService) {
|
|
74
|
-
this.http = http;
|
|
75
|
-
this.configService = configService;
|
|
76
|
-
this.valtimoApiConfig = configService.config.valtimoApi;
|
|
77
|
-
}
|
|
78
|
-
ChoiceFieldService.prototype.query = function (params) {
|
|
79
|
-
return this.http.get(this.valtimoApiConfig.endpointUri + "choice-fields", {
|
|
80
|
-
observe: 'response',
|
|
81
|
-
params: params,
|
|
82
|
-
});
|
|
83
|
-
};
|
|
84
|
-
ChoiceFieldService.prototype.get = function (id) {
|
|
85
|
-
return this.http.get(this.valtimoApiConfig.endpointUri + "choice-fields/" + id);
|
|
86
|
-
};
|
|
87
|
-
ChoiceFieldService.prototype.create = function (choiceField) {
|
|
88
|
-
return this.http.post(this.valtimoApiConfig.endpointUri + "choice-fields", choiceField);
|
|
89
|
-
};
|
|
90
|
-
ChoiceFieldService.prototype.delete = function (id) {
|
|
91
|
-
return this.http.delete(this.valtimoApiConfig.endpointUri + "choice-fields/" + id);
|
|
92
|
-
};
|
|
93
|
-
ChoiceFieldService.prototype.update = function (choiceField) {
|
|
94
|
-
return this.http.put(this.valtimoApiConfig.endpointUri + "choice-fields", choiceField);
|
|
95
|
-
};
|
|
96
|
-
ChoiceFieldService.prototype.queryValues = function (keyName, params) {
|
|
97
|
-
return this.http.get(this.valtimoApiConfig.endpointUri + "choice-field-values/" + keyName + "/values", { observe: 'response', params: params });
|
|
98
|
-
};
|
|
99
|
-
ChoiceFieldService.prototype.getValue = function (choiceFieldId) {
|
|
100
|
-
return this.http.get(this.valtimoApiConfig.endpointUri + "choice-field-values/" + choiceFieldId);
|
|
101
|
-
};
|
|
102
|
-
ChoiceFieldService.prototype.updateValue = function (choiceFieldValue, choiceFieldName) {
|
|
103
|
-
return this.http.put(this.valtimoApiConfig.endpointUri + "choice-field-values", choiceFieldValue, {
|
|
104
|
-
params: { choice_field_name: choiceFieldName },
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
ChoiceFieldService.prototype.createValue = function (choiceFieldValue, choiceFieldName) {
|
|
108
|
-
return this.http.post(this.valtimoApiConfig.endpointUri + "choice-field-values", choiceFieldValue, { params: { choice_field_name: choiceFieldName } });
|
|
109
|
-
};
|
|
110
|
-
return ChoiceFieldService;
|
|
111
|
-
}());
|
|
112
|
-
ChoiceFieldService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ChoiceFieldService_Factory() { return new ChoiceFieldService(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.ConfigService)); }, token: ChoiceFieldService, providedIn: "root" });
|
|
113
|
-
ChoiceFieldService.decorators = [
|
|
114
|
-
{ type: i0.Injectable, args: [{
|
|
115
|
-
providedIn: 'root',
|
|
116
|
-
},] }
|
|
117
|
-
];
|
|
118
|
-
ChoiceFieldService.ctorParameters = function () { return [
|
|
119
|
-
{ type: i1.HttpClient },
|
|
120
|
-
{ type: i2.ConfigService }
|
|
121
|
-
]; };
|
|
122
|
-
|
|
123
|
-
/*
|
|
124
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
125
|
-
*
|
|
126
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
127
|
-
* you may not use this file except in compliance with the License.
|
|
128
|
-
* You may obtain a copy of the License at
|
|
129
|
-
*
|
|
130
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
131
|
-
*
|
|
132
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
133
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
134
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
135
|
-
* See the License for the specific language governing permissions and
|
|
136
|
-
* limitations under the License.
|
|
137
|
-
*/
|
|
138
|
-
var ChoiceFieldListComponent = /** @class */ (function () {
|
|
139
|
-
function ChoiceFieldListComponent(router, service) {
|
|
140
|
-
this.router = router;
|
|
141
|
-
this.service = service;
|
|
142
|
-
this.choiceFields = [];
|
|
143
|
-
this.pagination = {
|
|
144
|
-
collectionSize: 0,
|
|
145
|
-
page: 1,
|
|
146
|
-
size: 10,
|
|
147
|
-
maxPaginationItemSize: 5,
|
|
148
|
-
};
|
|
149
|
-
this.pageParam = 0;
|
|
150
|
-
this.fields = [
|
|
151
|
-
{
|
|
152
|
-
key: 'id',
|
|
153
|
-
label: 'ID',
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
key: 'keyName',
|
|
157
|
-
label: 'Key',
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
key: 'title',
|
|
161
|
-
label: 'Title',
|
|
162
|
-
},
|
|
163
|
-
];
|
|
164
|
-
}
|
|
165
|
-
ChoiceFieldListComponent.prototype.ngOnInit = function () { };
|
|
166
|
-
ChoiceFieldListComponent.prototype.paginationSet = function () {
|
|
167
|
-
this.initData();
|
|
168
|
-
};
|
|
169
|
-
ChoiceFieldListComponent.prototype.initData = function () {
|
|
170
|
-
var _this = this;
|
|
171
|
-
this.service.query({ page: this.pageParam, size: this.pagination.size }).subscribe(function (results) {
|
|
172
|
-
_this.pagination.collectionSize = results.headers.get('x-total-count');
|
|
173
|
-
_this.choiceFields = results.body;
|
|
174
|
-
});
|
|
175
|
-
};
|
|
176
|
-
ChoiceFieldListComponent.prototype.rowClick = function (data) {
|
|
177
|
-
this.router.navigate(["/choice-fields/field/" + encodeURI(data.id)]);
|
|
178
|
-
};
|
|
179
|
-
ChoiceFieldListComponent.prototype.paginationClicked = function (page) {
|
|
180
|
-
this.pageParam = page - 1;
|
|
181
|
-
this.initData();
|
|
182
|
-
};
|
|
183
|
-
return ChoiceFieldListComponent;
|
|
184
|
-
}());
|
|
185
|
-
ChoiceFieldListComponent.decorators = [
|
|
186
|
-
{ type: i0.Component, args: [{
|
|
187
|
-
selector: 'valtimo-choice-field-list',
|
|
188
|
-
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<div class=\"main-content pt-0\">\n <div class=\"container-fluid\">\n <div class=\"text-right\">\n <div class=\"btn-group mt-m3px mb-3\">\n <button [routerLink]=\"'create'\" class=\"btn btn-primary btn-space mr-0\">\n <i class=\"icon mdi mdi-plus mr-1\"></i>\n <span>{{ 'Create new Choice field' | translate }}</span>\n </button>\n </div>\n </div>\n <valtimo-widget>\n <valtimo-list\n [items]=\"choiceFields\"\n [fields]=\"fields\"\n (rowClicked)=\"rowClick($event)\"\n [pagination]=\"pagination\"\n [viewMode]=\"true\"\n [isSearchable]=\"true\"\n paginationIdentifier=\"choiceFieldList\"\n (paginationClicked)=\"paginationClicked($event)\"\n (paginationSet)=\"paginationSet()\"\n [header]=\"true\"\n >\n <div header>\n <h3 class=\"list-header-title\">{{ 'Choice fields' | translate }}</h3>\n <h5 class=\"list-header-description\">{{ 'Overview of all Choice fields' | translate }}</h5>\n </div>\n </valtimo-list>\n </valtimo-widget>\n </div>\n</div>\n",
|
|
189
|
-
styles: [""]
|
|
190
|
-
},] }
|
|
191
|
-
];
|
|
192
|
-
ChoiceFieldListComponent.ctorParameters = function () { return [
|
|
193
|
-
{ type: router.Router },
|
|
194
|
-
{ type: ChoiceFieldService }
|
|
195
|
-
]; };
|
|
196
|
-
|
|
197
|
-
/*
|
|
198
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
199
|
-
*
|
|
200
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
201
|
-
* you may not use this file except in compliance with the License.
|
|
202
|
-
* You may obtain a copy of the License at
|
|
203
|
-
*
|
|
204
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
205
|
-
*
|
|
206
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
207
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
208
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
209
|
-
* See the License for the specific language governing permissions and
|
|
210
|
-
* limitations under the License.
|
|
211
|
-
*/
|
|
212
|
-
var ChoiceFieldDetailComponent = /** @class */ (function () {
|
|
213
|
-
function ChoiceFieldDetailComponent(router, route, formBuilder, service, alertService) {
|
|
214
|
-
this.router = router;
|
|
215
|
-
this.route = route;
|
|
216
|
-
this.formBuilder = formBuilder;
|
|
217
|
-
this.service = service;
|
|
218
|
-
this.alertService = alertService;
|
|
219
|
-
this.alertSub = rxjs.Subscription.EMPTY;
|
|
220
|
-
var snapshot = this.route.snapshot.paramMap;
|
|
221
|
-
this.id = snapshot.get('id');
|
|
222
|
-
}
|
|
223
|
-
ChoiceFieldDetailComponent.prototype.ngOnInit = function () {
|
|
224
|
-
this.reset();
|
|
225
|
-
};
|
|
226
|
-
ChoiceFieldDetailComponent.prototype.ngOnDestroy = function () {
|
|
227
|
-
this.alertSub.unsubscribe();
|
|
228
|
-
};
|
|
229
|
-
Object.defineProperty(ChoiceFieldDetailComponent.prototype, "formControls", {
|
|
230
|
-
get: function () {
|
|
231
|
-
return this.form.controls;
|
|
232
|
-
},
|
|
233
|
-
enumerable: false,
|
|
234
|
-
configurable: true
|
|
235
|
-
});
|
|
236
|
-
ChoiceFieldDetailComponent.prototype.initData = function (id) {
|
|
237
|
-
var _this = this;
|
|
238
|
-
this.service.get(id).subscribe(function (result) {
|
|
239
|
-
_this.choiceField = result;
|
|
240
|
-
_this.setValues();
|
|
241
|
-
});
|
|
242
|
-
};
|
|
243
|
-
ChoiceFieldDetailComponent.prototype.setValues = function () {
|
|
244
|
-
if (this.choiceField) {
|
|
245
|
-
// set form values
|
|
246
|
-
this.form.controls.id.setValue(this.choiceField.id);
|
|
247
|
-
this.form.controls.keyName.setValue(this.choiceField.keyName);
|
|
248
|
-
this.form.controls.title.setValue(this.choiceField.title);
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
ChoiceFieldDetailComponent.prototype.createFormGroup = function () {
|
|
252
|
-
return this.formBuilder.group({
|
|
253
|
-
id: new forms.FormControl('', forms.Validators.required),
|
|
254
|
-
keyName: new forms.FormControl('', forms.Validators.required),
|
|
255
|
-
title: new forms.FormControl('', forms.Validators.required),
|
|
256
|
-
});
|
|
257
|
-
};
|
|
258
|
-
ChoiceFieldDetailComponent.prototype.reset = function () {
|
|
259
|
-
this.form = this.createFormGroup();
|
|
260
|
-
this.initData(this.id);
|
|
261
|
-
};
|
|
262
|
-
ChoiceFieldDetailComponent.prototype.delete = function () {
|
|
263
|
-
var _this = this;
|
|
264
|
-
if (!this.alertSub.closed) {
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
// confirm delete
|
|
268
|
-
var mssg = 'Delete choice field?';
|
|
269
|
-
var confirmations = [
|
|
270
|
-
{
|
|
271
|
-
label: 'Cancel',
|
|
272
|
-
class: 'btn btn-default',
|
|
273
|
-
value: false,
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
label: 'Delete',
|
|
277
|
-
class: 'btn btn-primary',
|
|
278
|
-
value: true,
|
|
279
|
-
},
|
|
280
|
-
];
|
|
281
|
-
this.alertService.notification(mssg, confirmations);
|
|
282
|
-
this.alertSub = this.alertService
|
|
283
|
-
.getAlertConfirmChangeEmitter()
|
|
284
|
-
.pipe(operators.first())
|
|
285
|
-
.subscribe(function (alert) {
|
|
286
|
-
if (alert.confirm === true) {
|
|
287
|
-
_this.deleteConfirmed();
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
};
|
|
291
|
-
ChoiceFieldDetailComponent.prototype.deleteConfirmed = function () {
|
|
292
|
-
var _this = this;
|
|
293
|
-
this.service.delete(this.id).subscribe(function () {
|
|
294
|
-
_this.router.navigate(["/choice-fields"]);
|
|
295
|
-
_this.alertService.success('Choice field has been deleted');
|
|
296
|
-
});
|
|
297
|
-
};
|
|
298
|
-
ChoiceFieldDetailComponent.prototype.onSubmit = function () {
|
|
299
|
-
var _this = this;
|
|
300
|
-
this.service.update(this.form.value).subscribe(function () {
|
|
301
|
-
_this.reset();
|
|
302
|
-
_this.alertService.success('Choice field details have been updated');
|
|
303
|
-
});
|
|
304
|
-
};
|
|
305
|
-
return ChoiceFieldDetailComponent;
|
|
306
|
-
}());
|
|
307
|
-
ChoiceFieldDetailComponent.decorators = [
|
|
308
|
-
{ type: i0.Component, args: [{
|
|
309
|
-
selector: 'valtimo-choice-field-detail',
|
|
310
|
-
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<div class=\"main-content\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <valtimo-widget *ngIf=\"choiceField\">\n <div>\n <div class=\"card-body bg-light\">\n <div class=\"row py-5\">\n <div class=\"col-12\">\n <div class=\"row mb-3\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>ID</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.id }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>Key</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.keyName }}</div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"p-5 bg-white\">\n <form [formGroup]=\"form\" (ngSubmit)=\"onSubmit()\">\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"title\"\n >Title</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n valtimoFieldAutoFocus\n type=\"text\"\n id=\"title\"\n formControlName=\"title\"\n class=\"form-control\"\n placeholder=\"Choice field title\"\n [ngClass]=\"{\n 'is-valid': formControls.title.touched && formControls.title.valid,\n 'is-invalid': formControls.title.touched && formControls.title.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.title.touched && formControls.title.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.title.errors.required\">Title is required</div>\n </div>\n </div>\n </div>\n\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-12 col-sm-6 text-left\">\n <a [routerLink]=\"'/choice-fields'\" class=\"btn btn-space btn-default\">Back</a>\n <button class=\"btn btn-space btn-danger\" type=\"button\" (click)=\"delete()\">\n Delete\n </button>\n </div>\n <div class=\"col-12 col-sm-6 text-right\">\n <button class=\"btn btn-space btn-secondary\" type=\"button\" (click)=\"reset()\">\n Reset\n </button>\n <button class=\"btn btn-space btn-primary\" type=\"submit\" [disabled]=\"form.invalid\">\n Submit\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n </valtimo-widget>\n </div>\n </div>\n</div>\n\n<div class=\"page-head\">\n <h2 class=\"page-head-title\">Choice field values</h2>\n</div>\n<valtimo-choice-field-value-list></valtimo-choice-field-value-list>\n",
|
|
311
|
-
styles: [""]
|
|
312
|
-
},] }
|
|
313
|
-
];
|
|
314
|
-
ChoiceFieldDetailComponent.ctorParameters = function () { return [
|
|
315
|
-
{ type: router.Router },
|
|
316
|
-
{ type: router.ActivatedRoute },
|
|
317
|
-
{ type: forms.FormBuilder },
|
|
318
|
-
{ type: ChoiceFieldService },
|
|
319
|
-
{ type: components.AlertService }
|
|
320
|
-
]; };
|
|
321
|
-
|
|
322
|
-
/*
|
|
323
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
324
|
-
*
|
|
325
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
326
|
-
* you may not use this file except in compliance with the License.
|
|
327
|
-
* You may obtain a copy of the License at
|
|
328
|
-
*
|
|
329
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
330
|
-
*
|
|
331
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
332
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
333
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
334
|
-
* See the License for the specific language governing permissions and
|
|
335
|
-
* limitations under the License.
|
|
336
|
-
*/
|
|
337
|
-
var ChoiceFieldCreateComponent = /** @class */ (function () {
|
|
338
|
-
function ChoiceFieldCreateComponent(router, formBuilder, service, alertService) {
|
|
339
|
-
this.router = router;
|
|
340
|
-
this.formBuilder = formBuilder;
|
|
341
|
-
this.service = service;
|
|
342
|
-
this.alertService = alertService;
|
|
343
|
-
}
|
|
344
|
-
ChoiceFieldCreateComponent.prototype.ngOnInit = function () {
|
|
345
|
-
this.reset();
|
|
346
|
-
};
|
|
347
|
-
Object.defineProperty(ChoiceFieldCreateComponent.prototype, "formControls", {
|
|
348
|
-
get: function () {
|
|
349
|
-
return this.form.controls;
|
|
350
|
-
},
|
|
351
|
-
enumerable: false,
|
|
352
|
-
configurable: true
|
|
353
|
-
});
|
|
354
|
-
ChoiceFieldCreateComponent.prototype.createFormGroup = function () {
|
|
355
|
-
return this.formBuilder.group({
|
|
356
|
-
keyName: new forms.FormControl('', forms.Validators.required),
|
|
357
|
-
title: new forms.FormControl('', forms.Validators.required),
|
|
358
|
-
});
|
|
359
|
-
};
|
|
360
|
-
ChoiceFieldCreateComponent.prototype.onSubmit = function () {
|
|
361
|
-
var _this = this;
|
|
362
|
-
this.service.create(this.form.value).subscribe(function (result) {
|
|
363
|
-
_this.router.navigate(["/choice-fields/field/" + result.id]);
|
|
364
|
-
_this.alertService.success('New choice field has been created');
|
|
365
|
-
});
|
|
366
|
-
};
|
|
367
|
-
ChoiceFieldCreateComponent.prototype.reset = function () {
|
|
368
|
-
this.form = this.createFormGroup();
|
|
369
|
-
};
|
|
370
|
-
return ChoiceFieldCreateComponent;
|
|
371
|
-
}());
|
|
372
|
-
ChoiceFieldCreateComponent.decorators = [
|
|
373
|
-
{ type: i0.Component, args: [{
|
|
374
|
-
selector: 'valtimo-choice-field-create',
|
|
375
|
-
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<div class=\"main-content\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <valtimo-widget>\n <div>\n <div class=\"p-5 bg-white\">\n <form [formGroup]=\"form\" (ngSubmit)=\"onSubmit()\">\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"keyName\"\n >Key</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n valtimoFieldAutoFocus\n type=\"text\"\n id=\"keyName\"\n formControlName=\"keyName\"\n class=\"form-control\"\n placeholder=\"Choice field key name\"\n [ngClass]=\"{\n 'is-valid': formControls.keyName.touched && formControls.keyName.valid,\n 'is-invalid': formControls.keyName.touched && formControls.keyName.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.keyName.touched && formControls.keyName.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.keyName.errors.required\">Key name is required</div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"title\"\n >Title</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n type=\"text\"\n id=\"title\"\n formControlName=\"title\"\n class=\"form-control\"\n placeholder=\"Choice field title\"\n [ngClass]=\"{\n 'is-valid': formControls.title.touched && formControls.title.valid,\n 'is-invalid': formControls.title.touched && formControls.title.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.title.touched && formControls.title.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.title.errors.required\">Title is required</div>\n </div>\n </div>\n </div>\n\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-12 col-sm-6 text-left\">\n <a [routerLink]=\"'/choice-fields'\" class=\"btn btn-space btn-default\">Back</a>\n </div>\n <div class=\"col-12 col-sm-6 text-right\">\n <button class=\"btn btn-space btn-secondary\" type=\"button\" (click)=\"reset()\">\n Reset\n </button>\n <button class=\"btn btn-space btn-primary\" type=\"submit\" [disabled]=\"form.invalid\">\n Submit\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n </valtimo-widget>\n </div>\n </div>\n</div>\n",
|
|
376
|
-
styles: [""]
|
|
377
|
-
},] }
|
|
378
|
-
];
|
|
379
|
-
ChoiceFieldCreateComponent.ctorParameters = function () { return [
|
|
380
|
-
{ type: router.Router },
|
|
381
|
-
{ type: forms.FormBuilder },
|
|
382
|
-
{ type: ChoiceFieldService },
|
|
383
|
-
{ type: components.AlertService }
|
|
384
|
-
]; };
|
|
385
|
-
|
|
386
|
-
/*
|
|
387
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
388
|
-
*
|
|
389
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
390
|
-
* you may not use this file except in compliance with the License.
|
|
391
|
-
* You may obtain a copy of the License at
|
|
392
|
-
*
|
|
393
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
394
|
-
*
|
|
395
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
396
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
397
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
398
|
-
* See the License for the specific language governing permissions and
|
|
399
|
-
* limitations under the License.
|
|
400
|
-
*/
|
|
401
|
-
var ChoiceFieldValueCreateComponent = /** @class */ (function () {
|
|
402
|
-
function ChoiceFieldValueCreateComponent(router, route, formBuilder, service, alertService) {
|
|
403
|
-
this.router = router;
|
|
404
|
-
this.route = route;
|
|
405
|
-
this.formBuilder = formBuilder;
|
|
406
|
-
this.service = service;
|
|
407
|
-
this.alertService = alertService;
|
|
408
|
-
var snapshot = this.route.snapshot.paramMap;
|
|
409
|
-
this.choiceFieldId = snapshot.get('id');
|
|
410
|
-
}
|
|
411
|
-
ChoiceFieldValueCreateComponent.prototype.ngOnInit = function () {
|
|
412
|
-
this.reset();
|
|
413
|
-
};
|
|
414
|
-
Object.defineProperty(ChoiceFieldValueCreateComponent.prototype, "formControls", {
|
|
415
|
-
get: function () {
|
|
416
|
-
return this.form.controls;
|
|
417
|
-
},
|
|
418
|
-
enumerable: false,
|
|
419
|
-
configurable: true
|
|
420
|
-
});
|
|
421
|
-
ChoiceFieldValueCreateComponent.prototype.createFormGroup = function () {
|
|
422
|
-
return this.formBuilder.group({
|
|
423
|
-
name: new forms.FormControl('', forms.Validators.required),
|
|
424
|
-
value: new forms.FormControl('', forms.Validators.required),
|
|
425
|
-
sortOrder: new forms.FormControl('', forms.Validators.required),
|
|
426
|
-
deprecated: new forms.FormControl('', forms.Validators.required),
|
|
427
|
-
});
|
|
428
|
-
};
|
|
429
|
-
ChoiceFieldValueCreateComponent.prototype.initData = function (id) {
|
|
430
|
-
var _this = this;
|
|
431
|
-
this.service.get(id).subscribe(function (result) {
|
|
432
|
-
_this.choiceField = result;
|
|
433
|
-
_this.setValues();
|
|
434
|
-
});
|
|
435
|
-
};
|
|
436
|
-
ChoiceFieldValueCreateComponent.prototype.setValues = function () {
|
|
437
|
-
if (this.choiceField) {
|
|
438
|
-
// set form values default false
|
|
439
|
-
this.form.controls.deprecated.setValue(false);
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
|
-
ChoiceFieldValueCreateComponent.prototype.onSubmit = function () {
|
|
443
|
-
var _this = this;
|
|
444
|
-
this.service.createValue(this.form.value, this.choiceField.keyName).subscribe(function (result) {
|
|
445
|
-
_this.router.navigate(["/choice-fields/field/" + encodeURI(_this.choiceFieldId)]);
|
|
446
|
-
_this.alertService.success('New choice field value has been created');
|
|
447
|
-
});
|
|
448
|
-
};
|
|
449
|
-
ChoiceFieldValueCreateComponent.prototype.reset = function () {
|
|
450
|
-
this.form = this.createFormGroup();
|
|
451
|
-
this.initData(this.choiceFieldId);
|
|
452
|
-
};
|
|
453
|
-
return ChoiceFieldValueCreateComponent;
|
|
454
|
-
}());
|
|
455
|
-
ChoiceFieldValueCreateComponent.decorators = [
|
|
456
|
-
{ type: i0.Component, args: [{
|
|
457
|
-
selector: 'valtimo-choice-field-value-create',
|
|
458
|
-
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<div class=\"main-content\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <valtimo-widget *ngIf=\"choiceField\">\n <div>\n <div class=\"card-body bg-light\">\n <div class=\"row py-5\">\n <div class=\"col-12\">\n <div class=\"row mb-3\">\n <div class=\"col-12\">\n <strong>Choice field</strong>\n <hr />\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>ID</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.id }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>Key</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.keyName }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>Title</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.title }}</div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"bg-white p-5\">\n <form [formGroup]=\"form\" (ngSubmit)=\"onSubmit()\">\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"name\">Key</label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n valtimoFieldAutoFocus\n type=\"text\"\n id=\"name\"\n formControlName=\"name\"\n class=\"form-control\"\n placeholder=\"Choice field value key\"\n [ngClass]=\"{\n 'is-valid': formControls.name.touched && formControls.name.valid,\n 'is-invalid': formControls.name.touched && formControls.name.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.name.touched && formControls.name.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.name.errors.required\">\n Choice field value key is required\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"value\"\n >Value</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n type=\"text\"\n id=\"value\"\n formControlName=\"value\"\n class=\"form-control\"\n placeholder=\"Choice field value\"\n [ngClass]=\"{\n 'is-valid': formControls.value.touched && formControls.value.valid,\n 'is-invalid': formControls.value.touched && formControls.value.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.value.touched && formControls.value.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.value.errors.required\">\n Choice field value is required\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"sortOrder\"\n >Sequence</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n type=\"number\"\n id=\"sortOrder\"\n formControlName=\"sortOrder\"\n class=\"form-control\"\n placeholder=\"Choice field value sequence\"\n [ngClass]=\"{\n 'is-valid': formControls.sortOrder.touched && formControls.sortOrder.valid,\n 'is-invalid': formControls.sortOrder.touched && formControls.sortOrder.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.sortOrder.touched && formControls.sortOrder.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.sortOrder.errors.required\">\n Choice field value sequence is required\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"deprecated\"\n >Deprecated</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input type=\"checkbox\" formControlName=\"deprecated\" id=\"deprecated\" /><span>\n <label for=\"deprecated\"></label\n ></span>\n </div>\n </div>\n </div>\n\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-12 col-sm-6 text-left\">\n <a [routerLink]=\"'../'\" class=\"btn btn-space btn-default\">Back</a>\n </div>\n <div class=\"col-12 col-sm-6 text-right\">\n <button class=\"btn btn-space btn-secondary\" type=\"button\" (click)=\"reset()\">\n Reset\n </button>\n <button class=\"btn btn-space btn-primary\" type=\"submit\" [disabled]=\"form.invalid\">\n Submit\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n </valtimo-widget>\n </div>\n </div>\n</div>\n",
|
|
459
|
-
styles: [""]
|
|
460
|
-
},] }
|
|
461
|
-
];
|
|
462
|
-
ChoiceFieldValueCreateComponent.ctorParameters = function () { return [
|
|
463
|
-
{ type: router.Router },
|
|
464
|
-
{ type: router.ActivatedRoute },
|
|
465
|
-
{ type: forms.FormBuilder },
|
|
466
|
-
{ type: ChoiceFieldService },
|
|
467
|
-
{ type: components.AlertService }
|
|
468
|
-
]; };
|
|
469
|
-
|
|
470
|
-
/*
|
|
471
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
472
|
-
*
|
|
473
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
474
|
-
* you may not use this file except in compliance with the License.
|
|
475
|
-
* You may obtain a copy of the License at
|
|
476
|
-
*
|
|
477
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
478
|
-
*
|
|
479
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
480
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
481
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
482
|
-
* See the License for the specific language governing permissions and
|
|
483
|
-
* limitations under the License.
|
|
484
|
-
*/
|
|
485
|
-
var ChoiceFieldValueDetailComponent = /** @class */ (function () {
|
|
486
|
-
function ChoiceFieldValueDetailComponent(router, route, formBuilder, service, alertService) {
|
|
487
|
-
this.router = router;
|
|
488
|
-
this.route = route;
|
|
489
|
-
this.formBuilder = formBuilder;
|
|
490
|
-
this.service = service;
|
|
491
|
-
this.alertService = alertService;
|
|
492
|
-
var snapshot = this.route.snapshot.paramMap;
|
|
493
|
-
this.choiceFieldValueId = snapshot.get('valueId');
|
|
494
|
-
}
|
|
495
|
-
ChoiceFieldValueDetailComponent.prototype.ngOnInit = function () {
|
|
496
|
-
this.reset();
|
|
497
|
-
};
|
|
498
|
-
Object.defineProperty(ChoiceFieldValueDetailComponent.prototype, "formControls", {
|
|
499
|
-
get: function () {
|
|
500
|
-
return this.form.controls;
|
|
501
|
-
},
|
|
502
|
-
enumerable: false,
|
|
503
|
-
configurable: true
|
|
504
|
-
});
|
|
505
|
-
ChoiceFieldValueDetailComponent.prototype.initData = function (choiceFieldValueId) {
|
|
506
|
-
var _this = this;
|
|
507
|
-
this.service.getValue(choiceFieldValueId).subscribe(function (result) {
|
|
508
|
-
_this.choiceField = result.choiceField;
|
|
509
|
-
_this.choiceFieldValue = result;
|
|
510
|
-
_this.setValues();
|
|
511
|
-
});
|
|
512
|
-
};
|
|
513
|
-
ChoiceFieldValueDetailComponent.prototype.createFormGroup = function () {
|
|
514
|
-
return this.formBuilder.group({
|
|
515
|
-
id: new forms.FormControl('', forms.Validators.required),
|
|
516
|
-
name: new forms.FormControl('', forms.Validators.required),
|
|
517
|
-
value: new forms.FormControl('', forms.Validators.required),
|
|
518
|
-
sortOrder: new forms.FormControl('', forms.Validators.required),
|
|
519
|
-
deprecated: new forms.FormControl('', forms.Validators.required),
|
|
520
|
-
});
|
|
521
|
-
};
|
|
522
|
-
ChoiceFieldValueDetailComponent.prototype.setValues = function () {
|
|
523
|
-
if (this.choiceField) {
|
|
524
|
-
// set form values
|
|
525
|
-
this.form.controls.id.setValue(this.choiceFieldValue.id);
|
|
526
|
-
this.form.controls.name.setValue(this.choiceFieldValue.name);
|
|
527
|
-
this.form.controls.value.setValue(this.choiceFieldValue.value);
|
|
528
|
-
this.form.controls.sortOrder.setValue(this.choiceFieldValue.sortOrder);
|
|
529
|
-
this.form.controls.deprecated.setValue(this.choiceFieldValue.deprecated);
|
|
530
|
-
}
|
|
531
|
-
};
|
|
532
|
-
ChoiceFieldValueDetailComponent.prototype.reset = function () {
|
|
533
|
-
this.form = this.createFormGroup();
|
|
534
|
-
this.initData(this.choiceFieldValueId);
|
|
535
|
-
};
|
|
536
|
-
ChoiceFieldValueDetailComponent.prototype.onSubmit = function () {
|
|
537
|
-
var _this = this;
|
|
538
|
-
this.service.updateValue(this.form.value, this.choiceField.keyName).subscribe(function () {
|
|
539
|
-
_this.reset();
|
|
540
|
-
_this.alertService.success('Choice field value details have been updated');
|
|
541
|
-
});
|
|
542
|
-
};
|
|
543
|
-
return ChoiceFieldValueDetailComponent;
|
|
544
|
-
}());
|
|
545
|
-
ChoiceFieldValueDetailComponent.decorators = [
|
|
546
|
-
{ type: i0.Component, args: [{
|
|
547
|
-
selector: 'valtimo-choice-field-value-detail',
|
|
548
|
-
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<div class=\"main-content\">\n <div class=\"container-fluid\">\n <div class=\"col-12 px-0 mb-5\">\n <valtimo-widget *ngIf=\"choiceField\">\n <div>\n <div class=\"card-body bg-light\">\n <div class=\"row py-5\">\n <div class=\"col-12\">\n <div class=\"row mb-3\">\n <div class=\"col-12\">\n <strong>Choice field</strong>\n <hr />\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>ID</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.id }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>Key</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.keyName }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>Title</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceField.title }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-12 pt-3\">\n <strong>Choice field value</strong>\n <hr />\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-12 col-sm-3 text-sm-right\"><strong>ID</strong></div>\n <div class=\"col-12 col-sm-8 col-lg-6\">{{ choiceFieldValue.id }}</div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"bg-white p-5\">\n <form [formGroup]=\"form\" (ngSubmit)=\"onSubmit()\">\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"name\">Key</label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n valtimoFieldAutoFocus\n type=\"text\"\n id=\"name\"\n formControlName=\"name\"\n class=\"form-control\"\n placeholder=\"Choice field value key\"\n [ngClass]=\"{\n 'is-valid': formControls.name.touched && formControls.name.valid,\n 'is-invalid': formControls.name.touched && formControls.name.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.name.touched && formControls.name.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.name.errors.required\">\n Choice field value key is required\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"value\"\n >Value</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n type=\"text\"\n id=\"value\"\n formControlName=\"value\"\n class=\"form-control\"\n placeholder=\"Choice field value\"\n [ngClass]=\"{\n 'is-valid': formControls.value.touched && formControls.value.valid,\n 'is-invalid': formControls.value.touched && formControls.value.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.value.touched && formControls.value.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.value.errors.required\">\n Choice field value is required\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"sortOrder\"\n >Sequence</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n type=\"number\"\n id=\"sortOrder\"\n formControlName=\"sortOrder\"\n class=\"form-control\"\n placeholder=\"Choice field value sequence\"\n [ngClass]=\"{\n 'is-valid': formControls.sortOrder.touched && formControls.sortOrder.valid,\n 'is-invalid': formControls.sortOrder.touched && formControls.sortOrder.errors\n }\"\n required\n />\n <div\n *ngIf=\"formControls.sortOrder.touched && formControls.sortOrder.errors\"\n class=\"invalid-feedback\"\n >\n <div *ngIf=\"formControls.sortOrder.errors.required\">\n Choice field value sequence is required\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"form-group row\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\" for=\"deprecated\"\n >Deprecated</label\n >\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input type=\"checkbox\" formControlName=\"deprecated\" id=\"deprecated\" /><span>\n <label for=\"deprecated\"></label\n ></span>\n </div>\n </div>\n </div>\n\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-12 col-sm-6 text-left\">\n <a [routerLink]=\"'../../'\" class=\"btn btn-space btn-default\">Back</a>\n </div>\n <div class=\"col-12 col-sm-6 text-right\">\n <button class=\"btn btn-space btn-secondary\" type=\"button\" (click)=\"reset()\">\n Reset\n </button>\n <button class=\"btn btn-space btn-primary\" type=\"submit\" [disabled]=\"form.invalid\">\n Submit\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n </valtimo-widget>\n </div>\n </div>\n</div>\n",
|
|
549
|
-
styles: [""]
|
|
550
|
-
},] }
|
|
551
|
-
];
|
|
552
|
-
ChoiceFieldValueDetailComponent.ctorParameters = function () { return [
|
|
553
|
-
{ type: router.Router },
|
|
554
|
-
{ type: router.ActivatedRoute },
|
|
555
|
-
{ type: forms.FormBuilder },
|
|
556
|
-
{ type: ChoiceFieldService },
|
|
557
|
-
{ type: components.AlertService }
|
|
558
|
-
]; };
|
|
559
|
-
|
|
560
|
-
/*
|
|
561
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
562
|
-
*
|
|
563
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
564
|
-
* you may not use this file except in compliance with the License.
|
|
565
|
-
* You may obtain a copy of the License at
|
|
566
|
-
*
|
|
567
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
568
|
-
*
|
|
569
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
570
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
571
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
572
|
-
* See the License for the specific language governing permissions and
|
|
573
|
-
* limitations under the License.
|
|
574
|
-
*/
|
|
575
|
-
var ɵ0 = {
|
|
576
|
-
title: 'Choice fields',
|
|
577
|
-
roles: [i2.ROLE_ADMIN],
|
|
578
|
-
}, ɵ1 = {
|
|
579
|
-
title: 'Choice field details',
|
|
580
|
-
roles: [i2.ROLE_ADMIN],
|
|
581
|
-
}, ɵ2 = {
|
|
582
|
-
title: 'Create new Choice field',
|
|
583
|
-
roles: [i2.ROLE_ADMIN],
|
|
584
|
-
}, ɵ3 = {
|
|
585
|
-
title: 'Create new Choice field value',
|
|
586
|
-
roles: [i2.ROLE_ADMIN],
|
|
587
|
-
}, ɵ4 = {
|
|
588
|
-
title: 'Choice field value details',
|
|
589
|
-
roles: [i2.ROLE_ADMIN],
|
|
590
|
-
};
|
|
591
|
-
var routes = [
|
|
592
|
-
{
|
|
593
|
-
path: 'choice-fields',
|
|
594
|
-
data: ɵ0,
|
|
595
|
-
component: ChoiceFieldListComponent,
|
|
596
|
-
canActivate: [security.AuthGuardService],
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
path: 'choice-fields/field/:id',
|
|
600
|
-
data: ɵ1,
|
|
601
|
-
component: ChoiceFieldDetailComponent,
|
|
602
|
-
canActivate: [security.AuthGuardService],
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
path: 'choice-fields/create',
|
|
606
|
-
data: ɵ2,
|
|
607
|
-
component: ChoiceFieldCreateComponent,
|
|
608
|
-
canActivate: [security.AuthGuardService],
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
path: 'choice-fields/field/:id/create-value',
|
|
612
|
-
data: ɵ3,
|
|
613
|
-
component: ChoiceFieldValueCreateComponent,
|
|
614
|
-
canActivate: [security.AuthGuardService],
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
path: 'choice-fields/field/:id/value/:valueId',
|
|
618
|
-
data: ɵ4,
|
|
619
|
-
component: ChoiceFieldValueDetailComponent,
|
|
620
|
-
canActivate: [security.AuthGuardService],
|
|
621
|
-
},
|
|
622
|
-
];
|
|
623
|
-
var ChoiceFieldRoutingModule = /** @class */ (function () {
|
|
624
|
-
function ChoiceFieldRoutingModule() {
|
|
625
|
-
}
|
|
626
|
-
return ChoiceFieldRoutingModule;
|
|
627
|
-
}());
|
|
628
|
-
ChoiceFieldRoutingModule.decorators = [
|
|
629
|
-
{ type: i0.NgModule, args: [{
|
|
630
|
-
imports: [common.CommonModule, router.RouterModule.forChild(routes)],
|
|
631
|
-
exports: [router.RouterModule],
|
|
632
|
-
},] }
|
|
633
|
-
];
|
|
634
|
-
|
|
635
|
-
/*
|
|
636
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
637
|
-
*
|
|
638
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
639
|
-
* you may not use this file except in compliance with the License.
|
|
640
|
-
* You may obtain a copy of the License at
|
|
641
|
-
*
|
|
642
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
643
|
-
*
|
|
644
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
645
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
646
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
647
|
-
* See the License for the specific language governing permissions and
|
|
648
|
-
* limitations under the License.
|
|
649
|
-
*/
|
|
650
|
-
var ChoiceFieldValueListComponent = /** @class */ (function () {
|
|
651
|
-
function ChoiceFieldValueListComponent(router, route, formBuilder, service) {
|
|
652
|
-
this.router = router;
|
|
653
|
-
this.route = route;
|
|
654
|
-
this.formBuilder = formBuilder;
|
|
655
|
-
this.service = service;
|
|
656
|
-
this.choiceFieldValues = [];
|
|
657
|
-
this.pagination = {
|
|
658
|
-
collectionSize: 0,
|
|
659
|
-
page: 1,
|
|
660
|
-
size: 10,
|
|
661
|
-
maxPaginationItemSize: 5,
|
|
662
|
-
};
|
|
663
|
-
this.pageParam = 0;
|
|
664
|
-
this.fields = [
|
|
665
|
-
{
|
|
666
|
-
key: 'id',
|
|
667
|
-
label: 'ID',
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
key: 'name',
|
|
671
|
-
label: 'Key',
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
key: 'value',
|
|
675
|
-
label: 'Value',
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
key: 'deprecatedDisplayString',
|
|
679
|
-
label: 'Deprecated',
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
key: 'sortOrder',
|
|
683
|
-
label: 'Sequence',
|
|
684
|
-
},
|
|
685
|
-
];
|
|
686
|
-
var snapshot = this.route.snapshot.paramMap;
|
|
687
|
-
this.id = snapshot.get('id');
|
|
688
|
-
}
|
|
689
|
-
ChoiceFieldValueListComponent.prototype.ngOnInit = function () {
|
|
690
|
-
this.paginationSet();
|
|
691
|
-
};
|
|
692
|
-
ChoiceFieldValueListComponent.prototype.paginationSet = function () {
|
|
693
|
-
this.initData(this.id);
|
|
694
|
-
};
|
|
695
|
-
ChoiceFieldValueListComponent.prototype.initData = function (id) {
|
|
696
|
-
var _this = this;
|
|
697
|
-
this.service.get(id).subscribe(function (result) {
|
|
698
|
-
_this.choiceField = result;
|
|
699
|
-
_this.service
|
|
700
|
-
.queryValues(_this.choiceField.keyName, { page: _this.pageParam, size: _this.pagination.size })
|
|
701
|
-
.subscribe(function (values) {
|
|
702
|
-
_this.pagination.collectionSize = values.headers.get('x-total-count');
|
|
703
|
-
_this.choiceFieldValues = values.body;
|
|
704
|
-
_this.choiceFieldValues.forEach(function (choiceFieldValue) {
|
|
705
|
-
choiceFieldValue.deprecatedDisplayString = choiceFieldValue.deprecated ? 'Yes' : 'No';
|
|
706
|
-
});
|
|
707
|
-
});
|
|
708
|
-
});
|
|
709
|
-
};
|
|
710
|
-
ChoiceFieldValueListComponent.prototype.rowClick = function (data) {
|
|
711
|
-
this.router.navigate(["/choice-fields/field/" + data.choiceField.id + "/value/" + data.id]);
|
|
712
|
-
};
|
|
713
|
-
ChoiceFieldValueListComponent.prototype.paginationClicked = function (page) {
|
|
714
|
-
this.pageParam = page - 1;
|
|
715
|
-
this.initData(this.id);
|
|
716
|
-
};
|
|
717
|
-
return ChoiceFieldValueListComponent;
|
|
718
|
-
}());
|
|
719
|
-
ChoiceFieldValueListComponent.decorators = [
|
|
720
|
-
{ type: i0.Component, args: [{
|
|
721
|
-
selector: 'valtimo-choice-field-value-list',
|
|
722
|
-
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<div class=\"main-content pt-0\">\n <div class=\"container-fluid\">\n <div class=\"text-right\">\n <div class=\"btn-group mt-m3px mb-3\">\n <button [routerLink]=\"'create-value'\" class=\"btn btn-primary btn-space mr-0\">\n <i class=\"icon mdi mdi-plus mr-1\"></i>\n <span>{{ 'Create new Choice field value' | translate }}</span>\n </button>\n </div>\n </div>\n <valtimo-widget>\n <valtimo-list\n [items]=\"choiceFieldValues\"\n [fields]=\"fields\"\n [viewMode]=\"true\"\n [isSearchable]=\"true\"\n (rowClicked)=\"rowClick($event)\"\n [pagination]=\"pagination\"\n paginationIdentifier=\"choiceFieldValueList\"\n (paginationClicked)=\"paginationClicked($event)\"\n [header]=\"true\"\n >\n <div header>\n <h3 class=\"list-header-title\">{{ 'Choice field values' | translate }}</h3>\n <h5 class=\"list-header-description\">\n {{ 'Overview of all Choice field values' | translate }}\n </h5>\n </div>\n </valtimo-list>\n </valtimo-widget>\n </div>\n</div>\n",
|
|
723
|
-
styles: [""]
|
|
724
|
-
},] }
|
|
725
|
-
];
|
|
726
|
-
ChoiceFieldValueListComponent.ctorParameters = function () { return [
|
|
727
|
-
{ type: router.Router },
|
|
728
|
-
{ type: router.ActivatedRoute },
|
|
729
|
-
{ type: forms.FormBuilder },
|
|
730
|
-
{ type: ChoiceFieldService }
|
|
731
|
-
]; };
|
|
732
|
-
|
|
733
|
-
/*
|
|
734
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
735
|
-
*
|
|
736
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
737
|
-
* you may not use this file except in compliance with the License.
|
|
738
|
-
* You may obtain a copy of the License at
|
|
739
|
-
*
|
|
740
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
741
|
-
*
|
|
742
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
743
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
744
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
745
|
-
* See the License for the specific language governing permissions and
|
|
746
|
-
* limitations under the License.
|
|
747
|
-
*/
|
|
748
|
-
var ChoiceFieldModule = /** @class */ (function () {
|
|
749
|
-
function ChoiceFieldModule() {
|
|
750
|
-
}
|
|
751
|
-
return ChoiceFieldModule;
|
|
752
|
-
}());
|
|
753
|
-
ChoiceFieldModule.decorators = [
|
|
754
|
-
{ type: i0.NgModule, args: [{
|
|
755
|
-
declarations: [
|
|
756
|
-
ChoiceFieldListComponent,
|
|
757
|
-
ChoiceFieldDetailComponent,
|
|
758
|
-
ChoiceFieldCreateComponent,
|
|
759
|
-
ChoiceFieldValueListComponent,
|
|
760
|
-
ChoiceFieldValueCreateComponent,
|
|
761
|
-
ChoiceFieldValueDetailComponent,
|
|
762
|
-
],
|
|
763
|
-
imports: [
|
|
764
|
-
common.CommonModule,
|
|
765
|
-
components.ListModule,
|
|
766
|
-
components.WidgetModule,
|
|
767
|
-
components.FieldAutoFocusModule,
|
|
768
|
-
forms.FormsModule,
|
|
769
|
-
forms.ReactiveFormsModule,
|
|
770
|
-
ChoiceFieldRoutingModule,
|
|
771
|
-
components.AlertModule,
|
|
772
|
-
core.TranslateModule,
|
|
773
|
-
],
|
|
774
|
-
exports: [],
|
|
775
|
-
},] }
|
|
776
|
-
];
|
|
777
|
-
|
|
778
|
-
/*
|
|
779
|
-
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
780
|
-
*
|
|
781
|
-
* Licensed under EUPL, Version 1.2 (the "License");
|
|
782
|
-
* you may not use this file except in compliance with the License.
|
|
783
|
-
* You may obtain a copy of the License at
|
|
784
|
-
*
|
|
785
|
-
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
786
|
-
*
|
|
787
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
788
|
-
* distributed under the License is distributed on an "AS IS" basis,
|
|
789
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
790
|
-
* See the License for the specific language governing permissions and
|
|
791
|
-
* limitations under the License.
|
|
792
|
-
*/
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Generated bundle index. Do not edit.
|
|
796
|
-
*/
|
|
797
|
-
|
|
798
|
-
exports.ChoiceFieldModule = ChoiceFieldModule;
|
|
799
|
-
exports.ChoiceFieldService = ChoiceFieldService;
|
|
800
|
-
exports.ɵa = ChoiceFieldListComponent;
|
|
801
|
-
exports.ɵb = ChoiceFieldDetailComponent;
|
|
802
|
-
exports.ɵc = ChoiceFieldCreateComponent;
|
|
803
|
-
exports.ɵd = ChoiceFieldValueListComponent;
|
|
804
|
-
exports.ɵe = ChoiceFieldValueCreateComponent;
|
|
805
|
-
exports.ɵf = ChoiceFieldValueDetailComponent;
|
|
806
|
-
exports.ɵg = ChoiceFieldRoutingModule;
|
|
807
|
-
|
|
808
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
809
|
-
|
|
810
|
-
})));
|
|
811
|
-
//# sourceMappingURL=valtimo-choice-field.umd.js.map
|