@valtimo/decision 4.23.0 → 5.2.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/decision-deploy/decision-deploy.component.mjs +52 -0
- package/esm2020/lib/decision-display/decision-display.component.mjs +56 -0
- package/esm2020/lib/decision-list/decision-list.component.mjs +50 -0
- package/esm2020/lib/decision-routing.module.mjs +52 -0
- package/esm2020/lib/decision.component.mjs +35 -0
- package/esm2020/lib/decision.module.mjs +70 -0
- package/esm2020/lib/decision.service.mjs +48 -0
- package/esm2020/lib/models/decision.model.mjs +17 -0
- package/esm2020/lib/models/index.mjs +19 -0
- package/esm2020/public-api.mjs +22 -0
- package/esm2020/valtimo-decision.mjs +5 -0
- package/fesm2015/valtimo-decision.mjs +373 -0
- package/fesm2015/valtimo-decision.mjs.map +1 -0
- package/fesm2020/valtimo-decision.mjs +389 -0
- package/fesm2020/valtimo-decision.mjs.map +1 -0
- package/lib/decision-deploy/decision-deploy.component.d.ts +4 -0
- package/lib/decision-deploy/decision-deploy.component.d.ts.map +1 -0
- package/lib/decision-display/decision-display.component.d.ts +4 -0
- package/lib/decision-display/decision-display.component.d.ts.map +1 -0
- package/lib/decision-list/decision-list.component.d.ts +4 -0
- package/lib/decision-list/decision-list.component.d.ts.map +1 -0
- package/lib/decision-routing.module.d.ts +7 -0
- package/lib/decision-routing.module.d.ts.map +1 -0
- package/lib/decision.component.d.ts +4 -0
- package/lib/decision.component.d.ts.map +1 -0
- package/lib/decision.module.d.ts +14 -0
- package/lib/decision.module.d.ts.map +1 -0
- package/lib/decision.service.d.ts +4 -0
- package/lib/decision.service.d.ts.map +1 -0
- package/lib/models/decision.model.d.ts +1 -0
- package/lib/models/decision.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-decision.d.ts +2 -5
- package/valtimo-decision.d.ts.map +1 -0
- package/bundles/valtimo-decision.umd.js +0 -398
- package/bundles/valtimo-decision.umd.js.map +0 -1
- package/bundles/valtimo-decision.umd.min.js +0 -2
- package/bundles/valtimo-decision.umd.min.js.map +0 -1
- package/esm2015/lib/decision-deploy/decision-deploy.component.js +0 -53
- package/esm2015/lib/decision-display/decision-display.component.js +0 -60
- package/esm2015/lib/decision-list/decision-list.component.js +0 -52
- package/esm2015/lib/decision-routing.module.js +0 -48
- package/esm2015/lib/decision.component.js +0 -32
- package/esm2015/lib/decision.module.js +0 -48
- package/esm2015/lib/decision.service.js +0 -52
- package/esm2015/lib/models/decision.model.js +0 -16
- package/esm2015/lib/models/index.js +0 -19
- package/esm2015/public-api.js +0 -22
- package/esm2015/valtimo-decision.js +0 -10
- package/fesm2015/valtimo-decision.js +0 -375
- package/fesm2015/valtimo-decision.js.map +0 -1
- package/valtimo-decision.metadata.json +0 -1
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, Component, EventEmitter, Output, ViewChild, ViewEncapsulation, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@valtimo/config';
|
|
4
|
+
import { ROLE_ADMIN } from '@valtimo/config';
|
|
5
|
+
import * as i2 from '@angular/common/http';
|
|
6
|
+
import * as i2$1 from '@angular/router';
|
|
7
|
+
import { RouterModule } from '@angular/router';
|
|
8
|
+
import * as i3 from '@valtimo/components';
|
|
9
|
+
import { WidgetModule, ListModule, ModalModule } from '@valtimo/components';
|
|
10
|
+
import * as i3$1 from '@ngx-translate/core';
|
|
11
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import { AuthGuardService } from '@valtimo/security';
|
|
14
|
+
import DmnViewer from 'dmn-js';
|
|
15
|
+
import { FormsModule } from '@angular/forms';
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
19
|
+
*
|
|
20
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
21
|
+
* you may not use this file except in compliance with the License.
|
|
22
|
+
* You may obtain a copy of the License at
|
|
23
|
+
*
|
|
24
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
25
|
+
*
|
|
26
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
27
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
28
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29
|
+
* See the License for the specific language governing permissions and
|
|
30
|
+
* limitations under the License.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
*
|
|
35
|
+
* * Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
36
|
+
* *
|
|
37
|
+
* * Licensed under EUPL, Version 1.2 (the "License");
|
|
38
|
+
* * you may not use this file except in compliance with the License.
|
|
39
|
+
* * You may obtain a copy of the License at
|
|
40
|
+
* *
|
|
41
|
+
* * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
42
|
+
* *
|
|
43
|
+
* * Unless required by applicable law or agreed to in writing, software
|
|
44
|
+
* * distributed under the License is distributed on an "AS IS" basis,
|
|
45
|
+
* * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
46
|
+
* * See the License for the specific language governing permissions and
|
|
47
|
+
* * limitations under the License.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/*
|
|
52
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
53
|
+
*
|
|
54
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
55
|
+
* you may not use this file except in compliance with the License.
|
|
56
|
+
* You may obtain a copy of the License at
|
|
57
|
+
*
|
|
58
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
59
|
+
*
|
|
60
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
61
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
62
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
63
|
+
* See the License for the specific language governing permissions and
|
|
64
|
+
* limitations under the License.
|
|
65
|
+
*/
|
|
66
|
+
class DecisionService {
|
|
67
|
+
constructor(configService, http) {
|
|
68
|
+
this.configService = configService;
|
|
69
|
+
this.http = http;
|
|
70
|
+
this.valtimoApiConfig = configService.config.valtimoApi;
|
|
71
|
+
}
|
|
72
|
+
deployDmn(dmn) {
|
|
73
|
+
const formData = new FormData();
|
|
74
|
+
formData.append('file', dmn);
|
|
75
|
+
formData.append('deployment-name', 'dmnTableDeploy');
|
|
76
|
+
formData.append('deployment-source', 'process application');
|
|
77
|
+
return this.http.post(`${this.valtimoApiConfig.endpointUri}camunda-rest/engine/default/deployment/create`, formData);
|
|
78
|
+
}
|
|
79
|
+
getDecisions() {
|
|
80
|
+
return this.http.get(`${this.valtimoApiConfig.endpointUri}camunda-rest/engine/default/decision-definition`);
|
|
81
|
+
}
|
|
82
|
+
getDecisionXml(decisionId) {
|
|
83
|
+
return this.http.get(`${this.valtimoApiConfig.endpointUri}camunda-rest/engine/default/decision-definition/${decisionId}/xml`);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
DecisionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionService, deps: [{ token: i1.ConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
87
|
+
DecisionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionService, providedIn: 'root' });
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionService, decorators: [{
|
|
89
|
+
type: Injectable,
|
|
90
|
+
args: [{
|
|
91
|
+
providedIn: 'root',
|
|
92
|
+
}]
|
|
93
|
+
}], ctorParameters: function () { return [{ type: i1.ConfigService }, { type: i2.HttpClient }]; } });
|
|
94
|
+
|
|
95
|
+
/*
|
|
96
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
97
|
+
*
|
|
98
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
99
|
+
* you may not use this file except in compliance with the License.
|
|
100
|
+
* You may obtain a copy of the License at
|
|
101
|
+
*
|
|
102
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
103
|
+
*
|
|
104
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
105
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
106
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
107
|
+
* See the License for the specific language governing permissions and
|
|
108
|
+
* limitations under the License.
|
|
109
|
+
*/
|
|
110
|
+
class DecisionListComponent {
|
|
111
|
+
constructor(decisionService, router) {
|
|
112
|
+
this.decisionService = decisionService;
|
|
113
|
+
this.router = router;
|
|
114
|
+
this.fields = [
|
|
115
|
+
{ key: 'key', label: 'Key' },
|
|
116
|
+
{ key: 'name', label: 'Name' },
|
|
117
|
+
{ key: 'version', label: 'Version' },
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
ngOnInit() {
|
|
121
|
+
this.loadDecisions();
|
|
122
|
+
}
|
|
123
|
+
loadDecisions() {
|
|
124
|
+
this.decisionService.getDecisions().subscribe((decisions) => {
|
|
125
|
+
this.decisions = decisions;
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
viewDecisionTable(decision) {
|
|
129
|
+
this.router.navigate(['/decision-tables', decision.id]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
DecisionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionListComponent, deps: [{ token: DecisionService }, { token: i2$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
133
|
+
DecisionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: DecisionListComponent, selector: "valtimo-decision-list", 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<valtimo-widget>\n <valtimo-list\n [items]=\"decisions\"\n [fields]=\"fields\"\n (rowClicked)=\"viewDecisionTable($event)\"\n [header]=\"true\"\n [viewMode]=\"true\"\n [isSearchable]=\"true\"\n >\n <div header>\n <h3 class=\"list-header-title\">{{ 'Decision tables' | translate }}</h3>\n <h5 class=\"list-header-description\">{{ 'Overview of all Decision tables' | translate }}</h5>\n </div>\n </valtimo-list>\n</valtimo-widget>\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.WidgetComponent, selector: "valtimo-widget", inputs: ["type", "name", "icon", "contrast", "divider", "title", "subtitle", "collapseAble", "collapse", "additionalClasses"] }, { type: i3.ListComponent, selector: "valtimo-list", inputs: ["items", "fields", "pagination", "viewMode", "isSearchable", "header", "actions", "paginationIdentifier", "initialSortState"], outputs: ["rowClicked", "paginationClicked", "paginationSet", "search", "sortChanged"] }], pipes: { "translate": i3$1.TranslatePipe } });
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionListComponent, decorators: [{
|
|
135
|
+
type: Component,
|
|
136
|
+
args: [{ selector: 'valtimo-decision-list', 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<valtimo-widget>\n <valtimo-list\n [items]=\"decisions\"\n [fields]=\"fields\"\n (rowClicked)=\"viewDecisionTable($event)\"\n [header]=\"true\"\n [viewMode]=\"true\"\n [isSearchable]=\"true\"\n >\n <div header>\n <h3 class=\"list-header-title\">{{ 'Decision tables' | translate }}</h3>\n <h5 class=\"list-header-description\">{{ 'Overview of all Decision tables' | translate }}</h5>\n </div>\n </valtimo-list>\n</valtimo-widget>\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"] }]
|
|
137
|
+
}], ctorParameters: function () { return [{ type: DecisionService }, { type: i2$1.Router }]; } });
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
141
|
+
*
|
|
142
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
143
|
+
* you may not use this file except in compliance with the License.
|
|
144
|
+
* You may obtain a copy of the License at
|
|
145
|
+
*
|
|
146
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
147
|
+
*
|
|
148
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
149
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
150
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
151
|
+
* See the License for the specific language governing permissions and
|
|
152
|
+
* limitations under the License.
|
|
153
|
+
*/
|
|
154
|
+
class DecisionDeployComponent {
|
|
155
|
+
constructor(decisionService) {
|
|
156
|
+
this.decisionService = decisionService;
|
|
157
|
+
this.dmn = null;
|
|
158
|
+
this.deploySuccessful = new EventEmitter();
|
|
159
|
+
}
|
|
160
|
+
ngOnInit() { }
|
|
161
|
+
onChange(files) {
|
|
162
|
+
this.dmn = files.item(0);
|
|
163
|
+
}
|
|
164
|
+
deployDmn() {
|
|
165
|
+
this.decisionService.deployDmn(this.dmn).subscribe(() => {
|
|
166
|
+
this.modal.hide();
|
|
167
|
+
this.deploySuccessful.emit();
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
openModal() {
|
|
171
|
+
this.modal.show();
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
DecisionDeployComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionDeployComponent, deps: [{ token: DecisionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
175
|
+
DecisionDeployComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: DecisionDeployComponent, selector: "valtimo-decision-deploy", outputs: { deploySuccessful: "deploySuccessful" }, viewQueries: [{ propertyName: "modal", first: true, predicate: ["decisionDeployModal"], 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<valtimo-modal\n #decisionDeployModal\n elementId=\"decisionDeployModal\"\n title=\"Upload Decision table\"\n [showFooter]=\"true\"\n>\n <div body>\n <div class=\"mt-3\">{{ 'decisions.upload.description' | translate }}</div>\n <div class=\"form-group mt-3 mb-3\">\n <input type=\"file\" id=\"file\" accept=\".dmn\" (change)=\"onChange($event.target.files)\" />\n </div>\n </div>\n <div footer>\n <div class=\"mb-0 p-3 text-right\">\n <button\n [disabled]=\"!dmn\"\n class=\"btn btn-primary btn-space\"\n type=\"button\"\n (click)=\"deployDmn()\"\n >\n <i class=\"icon mdi mdi-upload mr-1\"></i>\n {{ 'Upload' | translate }}\n </button>\n </div>\n </div>\n</valtimo-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.ModalComponent, selector: "valtimo-modal", inputs: ["elementId", "title", "subtitle", "templateBelowSubtitle", "showFooter"] }], pipes: { "translate": i3$1.TranslatePipe } });
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionDeployComponent, decorators: [{
|
|
177
|
+
type: Component,
|
|
178
|
+
args: [{ selector: 'valtimo-decision-deploy', 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<valtimo-modal\n #decisionDeployModal\n elementId=\"decisionDeployModal\"\n title=\"Upload Decision table\"\n [showFooter]=\"true\"\n>\n <div body>\n <div class=\"mt-3\">{{ 'decisions.upload.description' | translate }}</div>\n <div class=\"form-group mt-3 mb-3\">\n <input type=\"file\" id=\"file\" accept=\".dmn\" (change)=\"onChange($event.target.files)\" />\n </div>\n </div>\n <div footer>\n <div class=\"mb-0 p-3 text-right\">\n <button\n [disabled]=\"!dmn\"\n class=\"btn btn-primary btn-space\"\n type=\"button\"\n (click)=\"deployDmn()\"\n >\n <i class=\"icon mdi mdi-upload mr-1\"></i>\n {{ 'Upload' | translate }}\n </button>\n </div>\n </div>\n</valtimo-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"] }]
|
|
179
|
+
}], ctorParameters: function () { return [{ type: DecisionService }]; }, propDecorators: { deploySuccessful: [{
|
|
180
|
+
type: Output
|
|
181
|
+
}], modal: [{
|
|
182
|
+
type: ViewChild,
|
|
183
|
+
args: ['decisionDeployModal']
|
|
184
|
+
}] } });
|
|
185
|
+
|
|
186
|
+
/*
|
|
187
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
188
|
+
*
|
|
189
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
190
|
+
* you may not use this file except in compliance with the License.
|
|
191
|
+
* You may obtain a copy of the License at
|
|
192
|
+
*
|
|
193
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
194
|
+
*
|
|
195
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
196
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
197
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
198
|
+
* See the License for the specific language governing permissions and
|
|
199
|
+
* limitations under the License.
|
|
200
|
+
*/
|
|
201
|
+
class DecisionComponent {
|
|
202
|
+
}
|
|
203
|
+
DecisionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
204
|
+
DecisionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: DecisionComponent, selector: "valtimo-decision", viewQueries: [{ propertyName: "deploy", first: true, predicate: ["decisionDeploy"], descendants: true }, { propertyName: "list", first: true, predicate: ["decisionList"], 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<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 (click)=\"this.deploy.openModal()\" class=\"btn btn-secondary btn-space mr-0\">\n <i class=\"icon mdi mdi-upload mr-1\"></i>\n {{ 'Upload' | translate }}\n </button>\n </div>\n </div>\n <valtimo-decision-list #decisionList></valtimo-decision-list>\n <valtimo-decision-deploy\n #decisionDeploy\n (deploySuccessful)=\"this.list.loadDecisions()\"\n ></valtimo-decision-deploy>\n </div>\n</div>\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: DecisionListComponent, selector: "valtimo-decision-list" }, { type: DecisionDeployComponent, selector: "valtimo-decision-deploy", outputs: ["deploySuccessful"] }], pipes: { "translate": i3$1.TranslatePipe } });
|
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionComponent, decorators: [{
|
|
206
|
+
type: Component,
|
|
207
|
+
args: [{ selector: 'valtimo-decision', 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 (click)=\"this.deploy.openModal()\" class=\"btn btn-secondary btn-space mr-0\">\n <i class=\"icon mdi mdi-upload mr-1\"></i>\n {{ 'Upload' | translate }}\n </button>\n </div>\n </div>\n <valtimo-decision-list #decisionList></valtimo-decision-list>\n <valtimo-decision-deploy\n #decisionDeploy\n (deploySuccessful)=\"this.list.loadDecisions()\"\n ></valtimo-decision-deploy>\n </div>\n</div>\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"] }]
|
|
208
|
+
}], propDecorators: { deploy: [{
|
|
209
|
+
type: ViewChild,
|
|
210
|
+
args: ['decisionDeploy']
|
|
211
|
+
}], list: [{
|
|
212
|
+
type: ViewChild,
|
|
213
|
+
args: ['decisionList']
|
|
214
|
+
}] } });
|
|
215
|
+
|
|
216
|
+
/*
|
|
217
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
218
|
+
*
|
|
219
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
220
|
+
* you may not use this file except in compliance with the License.
|
|
221
|
+
* You may obtain a copy of the License at
|
|
222
|
+
*
|
|
223
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
224
|
+
*
|
|
225
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
226
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
227
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
228
|
+
* See the License for the specific language governing permissions and
|
|
229
|
+
* limitations under the License.
|
|
230
|
+
*/
|
|
231
|
+
class DecisionDisplayComponent {
|
|
232
|
+
constructor(decisionService, route) {
|
|
233
|
+
this.decisionService = decisionService;
|
|
234
|
+
this.route = route;
|
|
235
|
+
}
|
|
236
|
+
ngOnInit() {
|
|
237
|
+
this.viewer = new DmnViewer({
|
|
238
|
+
container: '#canvas',
|
|
239
|
+
});
|
|
240
|
+
this.decisionId = this.route.snapshot.paramMap.get('id');
|
|
241
|
+
this.loadDecisionXml();
|
|
242
|
+
}
|
|
243
|
+
loadDecisionXml() {
|
|
244
|
+
this.decisionService.getDecisionXml(this.decisionId).subscribe((decision) => {
|
|
245
|
+
this.viewer.importXML(decision.dmnXml);
|
|
246
|
+
this.decisionXml = decision.dmnXml;
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
download() {
|
|
250
|
+
const file = new Blob([this.decisionXml], { type: 'text/xml' });
|
|
251
|
+
const link = document.createElement('a');
|
|
252
|
+
link.download = `decision_table_${this.decisionId}.dmn`;
|
|
253
|
+
link.href = window.URL.createObjectURL(file);
|
|
254
|
+
link.click();
|
|
255
|
+
window.URL.revokeObjectURL(link.href);
|
|
256
|
+
link.remove();
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
DecisionDisplayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionDisplayComponent, deps: [{ token: DecisionService }, { token: i2$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
260
|
+
DecisionDisplayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: DecisionDisplayComponent, selector: "valtimo-decision-display", 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<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 (click)=\"download()\" class=\"btn btn-primary btn-space mr-0\">\n <i class=\"fa fa-save\"></i> \n <span>{{ 'Download' | translate }}</span>\n </button>\n </div>\n </div>\n <div id=\"canvas\" class=\"canvas-dmn\"></div>\n </div>\n</div>\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 */.canvas-dmn{height:70vh}\n"], pipes: { "translate": i3$1.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionDisplayComponent, decorators: [{
|
|
262
|
+
type: Component,
|
|
263
|
+
args: [{ selector: 'valtimo-decision-display', encapsulation: ViewEncapsulation.None, 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 (click)=\"download()\" class=\"btn btn-primary btn-space mr-0\">\n <i class=\"fa fa-save\"></i> \n <span>{{ 'Download' | translate }}</span>\n </button>\n </div>\n </div>\n <div id=\"canvas\" class=\"canvas-dmn\"></div>\n </div>\n</div>\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 */.canvas-dmn{height:70vh}\n"] }]
|
|
264
|
+
}], ctorParameters: function () { return [{ type: DecisionService }, { type: i2$1.ActivatedRoute }]; } });
|
|
265
|
+
|
|
266
|
+
/*
|
|
267
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
268
|
+
*
|
|
269
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
270
|
+
* you may not use this file except in compliance with the License.
|
|
271
|
+
* You may obtain a copy of the License at
|
|
272
|
+
*
|
|
273
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
274
|
+
*
|
|
275
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
276
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
277
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
278
|
+
* See the License for the specific language governing permissions and
|
|
279
|
+
* limitations under the License.
|
|
280
|
+
*/
|
|
281
|
+
const routes = [
|
|
282
|
+
{
|
|
283
|
+
path: 'decision-tables',
|
|
284
|
+
component: DecisionComponent,
|
|
285
|
+
canActivate: [AuthGuardService],
|
|
286
|
+
data: { title: 'Decision tables', roles: [ROLE_ADMIN] },
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
path: 'decision-tables/:id',
|
|
290
|
+
component: DecisionDisplayComponent,
|
|
291
|
+
canActivate: [AuthGuardService],
|
|
292
|
+
data: { title: 'Decision tables', roles: [ROLE_ADMIN] },
|
|
293
|
+
},
|
|
294
|
+
];
|
|
295
|
+
class DecisionRoutingModule {
|
|
296
|
+
}
|
|
297
|
+
DecisionRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
298
|
+
DecisionRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionRoutingModule, imports: [CommonModule, i2$1.RouterModule], exports: [RouterModule] });
|
|
299
|
+
DecisionRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionRoutingModule, imports: [[CommonModule, RouterModule.forChild(routes)], RouterModule] });
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionRoutingModule, decorators: [{
|
|
301
|
+
type: NgModule,
|
|
302
|
+
args: [{
|
|
303
|
+
declarations: [],
|
|
304
|
+
imports: [CommonModule, RouterModule.forChild(routes)],
|
|
305
|
+
exports: [RouterModule],
|
|
306
|
+
}]
|
|
307
|
+
}] });
|
|
308
|
+
|
|
309
|
+
/*
|
|
310
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
311
|
+
*
|
|
312
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
313
|
+
* you may not use this file except in compliance with the License.
|
|
314
|
+
* You may obtain a copy of the License at
|
|
315
|
+
*
|
|
316
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
317
|
+
*
|
|
318
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
319
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
320
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
321
|
+
* See the License for the specific language governing permissions and
|
|
322
|
+
* limitations under the License.
|
|
323
|
+
*/
|
|
324
|
+
class DecisionModule {
|
|
325
|
+
}
|
|
326
|
+
DecisionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
327
|
+
DecisionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionModule, declarations: [DecisionComponent,
|
|
328
|
+
DecisionDeployComponent,
|
|
329
|
+
DecisionDisplayComponent,
|
|
330
|
+
DecisionListComponent], imports: [DecisionRoutingModule,
|
|
331
|
+
WidgetModule,
|
|
332
|
+
ListModule,
|
|
333
|
+
TranslateModule,
|
|
334
|
+
ModalModule,
|
|
335
|
+
CommonModule,
|
|
336
|
+
FormsModule], exports: [DecisionComponent] });
|
|
337
|
+
DecisionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionModule, imports: [[
|
|
338
|
+
DecisionRoutingModule,
|
|
339
|
+
WidgetModule,
|
|
340
|
+
ListModule,
|
|
341
|
+
TranslateModule,
|
|
342
|
+
ModalModule,
|
|
343
|
+
CommonModule,
|
|
344
|
+
FormsModule,
|
|
345
|
+
]] });
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: DecisionModule, decorators: [{
|
|
347
|
+
type: NgModule,
|
|
348
|
+
args: [{
|
|
349
|
+
declarations: [
|
|
350
|
+
DecisionComponent,
|
|
351
|
+
DecisionDeployComponent,
|
|
352
|
+
DecisionDisplayComponent,
|
|
353
|
+
DecisionListComponent,
|
|
354
|
+
],
|
|
355
|
+
imports: [
|
|
356
|
+
DecisionRoutingModule,
|
|
357
|
+
WidgetModule,
|
|
358
|
+
ListModule,
|
|
359
|
+
TranslateModule,
|
|
360
|
+
ModalModule,
|
|
361
|
+
CommonModule,
|
|
362
|
+
FormsModule,
|
|
363
|
+
],
|
|
364
|
+
exports: [DecisionComponent],
|
|
365
|
+
}]
|
|
366
|
+
}] });
|
|
367
|
+
|
|
368
|
+
/*
|
|
369
|
+
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
370
|
+
*
|
|
371
|
+
* Licensed under EUPL, Version 1.2 (the "License");
|
|
372
|
+
* you may not use this file except in compliance with the License.
|
|
373
|
+
* You may obtain a copy of the License at
|
|
374
|
+
*
|
|
375
|
+
* https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
|
|
376
|
+
*
|
|
377
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
378
|
+
* distributed under the License is distributed on an "AS IS" basis,
|
|
379
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
380
|
+
* See the License for the specific language governing permissions and
|
|
381
|
+
* limitations under the License.
|
|
382
|
+
*/
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Generated bundle index. Do not edit.
|
|
386
|
+
*/
|
|
387
|
+
|
|
388
|
+
export { DecisionComponent, DecisionModule };
|
|
389
|
+
//# sourceMappingURL=valtimo-decision.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valtimo-decision.mjs","sources":["../../../../projects/valtimo/decision/src/lib/models/decision.model.ts","../../../../projects/valtimo/decision/src/lib/models/index.ts","../../../../projects/valtimo/decision/src/lib/decision.service.ts","../../../../projects/valtimo/decision/src/lib/decision-list/decision-list.component.ts","../../../../projects/valtimo/decision/src/lib/decision-list/decision-list.component.html","../../../../projects/valtimo/decision/src/lib/decision-deploy/decision-deploy.component.ts","../../../../projects/valtimo/decision/src/lib/decision-deploy/decision-deploy.component.html","../../../../projects/valtimo/decision/src/lib/decision.component.ts","../../../../projects/valtimo/decision/src/lib/decision.component.html","../../../../projects/valtimo/decision/src/lib/decision-display/decision-display.component.ts","../../../../projects/valtimo/decision/src/lib/decision-display/decision-display.component.html","../../../../projects/valtimo/decision/src/lib/decision-routing.module.ts","../../../../projects/valtimo/decision/src/lib/decision.module.ts","../../../../projects/valtimo/decision/src/public-api.ts","../../../../projects/valtimo/decision/src/valtimo-decision.ts"],"sourcesContent":["/*\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\nexport interface Decision {\n category: string;\n decisionRequirementsDefinitionId: string;\n decisionRequirementsDefinitionKey: string;\n deploymentId: string;\n historyTimeToLive: number;\n id: string;\n key: string;\n name: string;\n resource: string;\n tenantId: string;\n version: number;\n versionTag: string;\n}\n\nexport interface DecisionXml {\n id: string;\n dmnXml: string;\n}\n","/*\n *\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\nexport * from './decision.model';\n","/*\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\nimport {Injectable} from '@angular/core';\nimport {HttpClient} from '@angular/common/http';\nimport {Observable} from 'rxjs';\nimport {Decision, DecisionXml} from './models';\nimport {ConfigService} from '@valtimo/config';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DecisionService {\n private valtimoApiConfig: any;\n\n constructor(private configService: ConfigService, private http: HttpClient) {\n this.valtimoApiConfig = configService.config.valtimoApi;\n }\n\n deployDmn(dmn: File): Observable<any> {\n const formData: FormData = new FormData();\n formData.append('file', dmn);\n formData.append('deployment-name', 'dmnTableDeploy');\n formData.append('deployment-source', 'process application');\n return this.http.post<any>(\n `${this.valtimoApiConfig.endpointUri}camunda-rest/engine/default/deployment/create`,\n formData\n );\n }\n\n getDecisions(): Observable<Decision[]> {\n return this.http.get<Decision[]>(\n `${this.valtimoApiConfig.endpointUri}camunda-rest/engine/default/decision-definition`\n );\n }\n\n getDecisionXml(decisionId: string): Observable<DecisionXml> {\n return this.http.get<DecisionXml>(\n `${this.valtimoApiConfig.endpointUri}camunda-rest/engine/default/decision-definition/${decisionId}/xml`\n );\n }\n}\n","/*\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\nimport {Component, OnInit} from '@angular/core';\nimport {Decision} from '../models';\nimport {DecisionService} from '../decision.service';\nimport {Router} from '@angular/router';\n\n@Component({\n selector: 'valtimo-decision-list',\n templateUrl: './decision-list.component.html',\n styleUrls: ['./decision-list.component.scss'],\n})\nexport class DecisionListComponent implements OnInit {\n public decisions: Decision[];\n public fields = [\n {key: 'key', label: 'Key'},\n {key: 'name', label: 'Name'},\n {key: 'version', label: 'Version'},\n ];\n\n constructor(private decisionService: DecisionService, private router: Router) {}\n\n ngOnInit() {\n this.loadDecisions();\n }\n\n loadDecisions() {\n this.decisionService.getDecisions().subscribe((decisions: Decision[]) => {\n this.decisions = decisions;\n });\n }\n\n viewDecisionTable(decision: Decision) {\n this.router.navigate(['/decision-tables', decision.id]);\n }\n}\n","<!--\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<valtimo-widget>\n <valtimo-list\n [items]=\"decisions\"\n [fields]=\"fields\"\n (rowClicked)=\"viewDecisionTable($event)\"\n [header]=\"true\"\n [viewMode]=\"true\"\n [isSearchable]=\"true\"\n >\n <div header>\n <h3 class=\"list-header-title\">{{ 'Decision tables' | translate }}</h3>\n <h5 class=\"list-header-description\">{{ 'Overview of all Decision tables' | translate }}</h5>\n </div>\n </valtimo-list>\n</valtimo-widget>\n","/*\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\nimport {Component, EventEmitter, OnInit, Output, ViewChild} from '@angular/core';\nimport {DecisionService} from '../decision.service';\nimport {ModalComponent} from '@valtimo/components';\n\n@Component({\n selector: 'valtimo-decision-deploy',\n templateUrl: './decision-deploy.component.html',\n styleUrls: ['./decision-deploy.component.scss'],\n})\nexport class DecisionDeployComponent implements OnInit {\n public dmn: File | null = null;\n @Output() deploySuccessful = new EventEmitter();\n @ViewChild('decisionDeployModal') modal: ModalComponent;\n\n constructor(private decisionService: DecisionService) {}\n\n ngOnInit() {}\n\n onChange(files: FileList): void {\n this.dmn = files.item(0);\n }\n\n deployDmn(): void {\n this.decisionService.deployDmn(this.dmn).subscribe(() => {\n this.modal.hide();\n this.deploySuccessful.emit();\n });\n }\n\n openModal() {\n this.modal.show();\n }\n}\n","<!--\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<valtimo-modal\n #decisionDeployModal\n elementId=\"decisionDeployModal\"\n title=\"Upload Decision table\"\n [showFooter]=\"true\"\n>\n <div body>\n <div class=\"mt-3\">{{ 'decisions.upload.description' | translate }}</div>\n <div class=\"form-group mt-3 mb-3\">\n <input type=\"file\" id=\"file\" accept=\".dmn\" (change)=\"onChange($event.target.files)\" />\n </div>\n </div>\n <div footer>\n <div class=\"mb-0 p-3 text-right\">\n <button\n [disabled]=\"!dmn\"\n class=\"btn btn-primary btn-space\"\n type=\"button\"\n (click)=\"deployDmn()\"\n >\n <i class=\"icon mdi mdi-upload mr-1\"></i>\n {{ 'Upload' | translate }}\n </button>\n </div>\n </div>\n</valtimo-modal>\n","/*\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\nimport {Component, ViewChild} from '@angular/core';\nimport {DecisionDeployComponent} from './decision-deploy/decision-deploy.component';\nimport {DecisionListComponent} from './decision-list/decision-list.component';\n\n@Component({\n selector: 'valtimo-decision',\n templateUrl: './decision.component.html',\n styleUrls: ['./decision.component.scss'],\n})\nexport class DecisionComponent {\n @ViewChild('decisionDeploy') deploy: DecisionDeployComponent;\n @ViewChild('decisionList') list: DecisionListComponent;\n}\n","<!--\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 (click)=\"this.deploy.openModal()\" class=\"btn btn-secondary btn-space mr-0\">\n <i class=\"icon mdi mdi-upload mr-1\"></i>\n {{ 'Upload' | translate }}\n </button>\n </div>\n </div>\n <valtimo-decision-list #decisionList></valtimo-decision-list>\n <valtimo-decision-deploy\n #decisionDeploy\n (deploySuccessful)=\"this.list.loadDecisions()\"\n ></valtimo-decision-deploy>\n </div>\n</div>\n","/*\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\nimport {Component, OnInit, ViewEncapsulation} from '@angular/core';\nimport {DecisionService} from '../decision.service';\nimport DmnViewer from 'dmn-js';\nimport {DecisionXml} from '../models';\nimport {ActivatedRoute} from '@angular/router';\n\n@Component({\n selector: 'valtimo-decision-display',\n templateUrl: './decision-display.component.html',\n styleUrls: ['./decision-display.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class DecisionDisplayComponent implements OnInit {\n public viewer: DmnViewer;\n private decisionId: string;\n public decisionXml: string;\n\n constructor(private decisionService: DecisionService, private route: ActivatedRoute) {}\n\n ngOnInit() {\n this.viewer = new DmnViewer({\n container: '#canvas',\n });\n this.decisionId = this.route.snapshot.paramMap.get('id');\n this.loadDecisionXml();\n }\n\n loadDecisionXml(): void {\n this.decisionService.getDecisionXml(this.decisionId).subscribe((decision: DecisionXml) => {\n this.viewer.importXML(decision.dmnXml);\n this.decisionXml = decision.dmnXml;\n });\n }\n\n download(): void {\n const file = new Blob([this.decisionXml], {type: 'text/xml'});\n const link = document.createElement('a');\n link.download = `decision_table_${this.decisionId}.dmn`;\n link.href = window.URL.createObjectURL(file);\n link.click();\n window.URL.revokeObjectURL(link.href);\n link.remove();\n }\n}\n","<!--\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 (click)=\"download()\" class=\"btn btn-primary btn-space mr-0\">\n <i class=\"fa fa-save\"></i> \n <span>{{ 'Download' | translate }}</span>\n </button>\n </div>\n </div>\n <div id=\"canvas\" class=\"canvas-dmn\"></div>\n </div>\n</div>\n","/*\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\nimport {NgModule} from '@angular/core';\nimport {RouterModule, Routes} from '@angular/router';\nimport {CommonModule} from '@angular/common';\nimport {AuthGuardService} from '@valtimo/security';\nimport {DecisionComponent} from './decision.component';\nimport {DecisionDisplayComponent} from './decision-display/decision-display.component';\nimport {ROLE_ADMIN} from '@valtimo/config';\n\nconst routes: Routes = [\n {\n path: 'decision-tables',\n component: DecisionComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Decision tables', roles: [ROLE_ADMIN]},\n },\n {\n path: 'decision-tables/:id',\n component: DecisionDisplayComponent,\n canActivate: [AuthGuardService],\n data: {title: 'Decision tables', roles: [ROLE_ADMIN]},\n },\n];\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class DecisionRoutingModule {}\n","/*\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\nimport {NgModule} from '@angular/core';\nimport {DecisionComponent} from './decision.component';\nimport {DecisionRoutingModule} from './decision-routing.module';\nimport {DecisionDeployComponent} from './decision-deploy/decision-deploy.component';\nimport {CommonModule} from '@angular/common';\nimport {FormsModule} from '@angular/forms';\nimport {DecisionDisplayComponent} from './decision-display/decision-display.component';\nimport {DecisionListComponent} from './decision-list/decision-list.component';\nimport {ListModule, ModalModule, WidgetModule} from '@valtimo/components';\nimport {TranslateModule} from '@ngx-translate/core';\n\n@NgModule({\n declarations: [\n DecisionComponent,\n DecisionDeployComponent,\n DecisionDisplayComponent,\n DecisionListComponent,\n ],\n imports: [\n DecisionRoutingModule,\n WidgetModule,\n ListModule,\n TranslateModule,\n ModalModule,\n CommonModule,\n FormsModule,\n ],\n exports: [DecisionComponent],\n})\nexport class DecisionModule {}\n","/*\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/*\n * Public API Surface of decision\n */\n\nexport * from './lib/models';\nexport * from './lib/decision.module';\nexport * from './lib/decision.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.DecisionService","i2","i4","i3","i1.DecisionListComponent","i2.DecisionDeployComponent","i1"],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;AAcG;;ACdH;;;;;;;;;;;;;;;;AAgBG;;AChBH;;;;;;;;;;;;;;AAcG;MAWU,eAAe,CAAA;IAG1B,WAAoB,CAAA,aAA4B,EAAU,IAAgB,EAAA;QAAtD,IAAa,CAAA,aAAA,GAAb,aAAa,CAAe;QAAU,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;QACxE,IAAI,CAAC,gBAAgB,GAAG,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC;KACzD;AAED,IAAA,SAAS,CAAC,GAAS,EAAA;AACjB,QAAA,MAAM,QAAQ,GAAa,IAAI,QAAQ,EAAE,CAAC;AAC1C,QAAA,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAC7B,QAAA,QAAQ,CAAC,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC;AACrD,QAAA,QAAQ,CAAC,M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W;AACZ,qBAAA;oBACD,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC7B,iBAAA,CAAA;;;AC5CD;;;;;;;;;;;;;;AAcG;;ACdH;;AAEG;;;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DecisionService } from '../decision.service';
|
|
3
3
|
import { ModalComponent } from '@valtimo/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DecisionDeployComponent implements OnInit {
|
|
5
6
|
private decisionService;
|
|
6
7
|
dmn: File | null;
|
|
@@ -11,4 +12,7 @@ export declare class DecisionDeployComponent implements OnInit {
|
|
|
11
12
|
onChange(files: FileList): void;
|
|
12
13
|
deployDmn(): void;
|
|
13
14
|
openModal(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionDeployComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DecisionDeployComponent, "valtimo-decision-deploy", never, {}, { "deploySuccessful": "deploySuccessful"; }, never, never>;
|
|
14
17
|
}
|
|
18
|
+
//# sourceMappingURL=decision-deploy.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision-deploy.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/decision/src/lib/decision-deploy/decision-deploy.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,MAAM,EAAoB,MAAM,eAAe,CAAC;AACjF,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;;AAEnD,qBAKa,uBAAwB,YAAW,MAAM;IAKxC,OAAO,CAAC,eAAe;IAJ5B,GAAG,EAAE,IAAI,GAAG,IAAI,CAAQ;IACrB,gBAAgB,oBAAsB;IACd,KAAK,EAAE,cAAc,CAAC;gBAEpC,eAAe,EAAE,eAAe;IAEpD,QAAQ;IAER,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAI/B,SAAS,IAAI,IAAI;IAOjB,SAAS;yCApBE,uBAAuB;2CAAvB,uBAAuB;CAuBnC"}
|
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { DecisionService } from '../decision.service';
|
|
3
3
|
import DmnViewer from 'dmn-js';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DecisionDisplayComponent implements OnInit {
|
|
6
7
|
private decisionService;
|
|
7
8
|
private route;
|
|
@@ -12,4 +13,7 @@ export declare class DecisionDisplayComponent implements OnInit {
|
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
loadDecisionXml(): void;
|
|
14
15
|
download(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionDisplayComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DecisionDisplayComponent, "valtimo-decision-display", never, {}, {}, never, never>;
|
|
15
18
|
}
|
|
19
|
+
//# sourceMappingURL=decision-display.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision-display.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/decision/src/lib/decision-display/decision-display.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAoB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,SAAS,MAAM,QAAQ,CAAC;AAE/B,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;;AAE/C,qBAMa,wBAAyB,YAAW,MAAM;IAKzC,OAAO,CAAC,eAAe;IAAmB,OAAO,CAAC,KAAK;IAJ5D,MAAM,EAAE,SAAS,CAAC;IACzB,OAAO,CAAC,UAAU,CAAS;IACpB,WAAW,EAAE,MAAM,CAAC;gBAEP,eAAe,EAAE,eAAe,EAAU,KAAK,EAAE,cAAc;IAEnF,QAAQ;IAQR,eAAe,IAAI,IAAI;IAOvB,QAAQ,IAAI,IAAI;yCAtBL,wBAAwB;2CAAxB,wBAAwB;CA+BpC"}
|
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { Decision } from '../models';
|
|
3
3
|
import { DecisionService } from '../decision.service';
|
|
4
4
|
import { Router } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DecisionListComponent implements OnInit {
|
|
6
7
|
private decisionService;
|
|
7
8
|
private router;
|
|
@@ -14,4 +15,7 @@ export declare class DecisionListComponent implements OnInit {
|
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
loadDecisions(): void;
|
|
16
17
|
viewDecisionTable(decision: Decision): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionListComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DecisionListComponent, "valtimo-decision-list", never, {}, {}, never, never>;
|
|
17
20
|
}
|
|
21
|
+
//# sourceMappingURL=decision-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision-list.component.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/decision/src/lib/decision-list/decision-list.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,MAAM,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AACnC,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAEvC,qBAKa,qBAAsB,YAAW,MAAM;IAQtC,OAAO,CAAC,eAAe;IAAmB,OAAO,CAAC,MAAM;IAP7D,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,MAAM;;;QAIX;gBAEkB,eAAe,EAAE,eAAe,EAAU,MAAM,EAAE,MAAM;IAE5E,QAAQ;IAIR,aAAa;IAMb,iBAAiB,CAAC,QAAQ,EAAE,QAAQ;yCApBzB,qBAAqB;2CAArB,qBAAqB;CAuBjC"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
1
4
|
export declare class DecisionRoutingModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionRoutingModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DecisionRoutingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule], [typeof i2.RouterModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DecisionRoutingModule>;
|
|
2
8
|
}
|
|
9
|
+
//# sourceMappingURL=decision-routing.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision-routing.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/decision/src/lib/decision-routing.module.ts"],"names":[],"mappings":";;;AAuCA,qBAKa,qBAAqB;yCAArB,qBAAqB;0CAArB,qBAAqB;0CAArB,qBAAqB;CAAG"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { DecisionDeployComponent } from './decision-deploy/decision-deploy.component';
|
|
2
2
|
import { DecisionListComponent } from './decision-list/decision-list.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DecisionComponent {
|
|
4
5
|
deploy: DecisionDeployComponent;
|
|
5
6
|
list: DecisionListComponent;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DecisionComponent, "valtimo-decision", never, {}, {}, never, never>;
|
|
6
9
|
}
|
|
10
|
+
//# sourceMappingURL=decision.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision.component.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/decision/src/lib/decision.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,uBAAuB,EAAC,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAC,qBAAqB,EAAC,MAAM,yCAAyC,CAAC;;AAE9E,qBAKa,iBAAiB;IACC,MAAM,EAAE,uBAAuB,CAAC;IAClC,IAAI,EAAE,qBAAqB,CAAC;yCAF5C,iBAAiB;2CAAjB,iBAAiB;CAG7B"}
|
package/lib/decision.module.d.ts
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./decision.component";
|
|
3
|
+
import * as i2 from "./decision-deploy/decision-deploy.component";
|
|
4
|
+
import * as i3 from "./decision-display/decision-display.component";
|
|
5
|
+
import * as i4 from "./decision-list/decision-list.component";
|
|
6
|
+
import * as i5 from "./decision-routing.module";
|
|
7
|
+
import * as i6 from "@valtimo/components";
|
|
8
|
+
import * as i7 from "@ngx-translate/core";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
1
11
|
export declare class DecisionModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DecisionModule, [typeof i1.DecisionComponent, typeof i2.DecisionDeployComponent, typeof i3.DecisionDisplayComponent, typeof i4.DecisionListComponent], [typeof i5.DecisionRoutingModule, typeof i6.WidgetModule, typeof i6.ListModule, typeof i7.TranslateModule, typeof i6.ModalModule, typeof i8.CommonModule, typeof i9.FormsModule], [typeof i1.DecisionComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DecisionModule>;
|
|
2
15
|
}
|
|
16
|
+
//# sourceMappingURL=decision.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision.module.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/decision/src/lib/decision.module.ts"],"names":[],"mappings":";;;;;;;;;;AA2BA,qBAkBa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -2,6 +2,7 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Decision, DecisionXml } from './models';
|
|
4
4
|
import { ConfigService } from '@valtimo/config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DecisionService {
|
|
6
7
|
private configService;
|
|
7
8
|
private http;
|
|
@@ -10,4 +11,7 @@ export declare class DecisionService {
|
|
|
10
11
|
deployDmn(dmn: File): Observable<any>;
|
|
11
12
|
getDecisions(): Observable<Decision[]>;
|
|
12
13
|
getDecisionXml(decisionId: string): Observable<DecisionXml>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DecisionService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DecisionService>;
|
|
13
16
|
}
|
|
17
|
+
//# sourceMappingURL=decision.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision.service.d.ts","sourceRoot":"","sources":["../../../../projects/valtimo/decision/src/lib/decision.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,QAAQ,EAAE,WAAW,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;;AAE9C,qBAGa,eAAe;IAGd,OAAO,CAAC,aAAa;IAAiB,OAAO,CAAC,IAAI;IAF9D,OAAO,CAAC,gBAAgB,CAAM;gBAEV,aAAa,EAAE,aAAa,EAAU,IAAI,EAAE,UAAU;IAI1E,SAAS,CAAC,GAAG,EAAE,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC;IAWrC,YAAY,IAAI,UAAU,CAAC,QAAQ,EAAE,CAAC;IAMtC,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC;yCAxBhD,eAAe;6CAAf,eAAe;CA6B3B"}
|