@valtimo/connector-management 4.17.0 → 4.20.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/bundles/valtimo-connector-management.umd.js +248 -265
- package/bundles/valtimo-connector-management.umd.js.map +1 -1
- package/bundles/valtimo-connector-management.umd.min.js +2 -2
- package/bundles/valtimo-connector-management.umd.min.js.map +1 -1
- package/esm2015/lib/components/add-connector/add-connector.component.js +1 -1
- package/esm2015/lib/components/connector-link-extension/connector-link-extension.component.js +2 -2
- package/esm2015/lib/components/connector-link-extension-modal/connector-link-extension-modal.component.js +1 -1
- package/esm2015/lib/components/connector-management/connector-management.component.js +2 -2
- package/esm2015/lib/components/connector-modal/connector-modal.component.js +1 -1
- package/esm2015/lib/components/edit-connector-form/edit-connector-form.component.js +4 -2
- package/esm2015/lib/components/edit-connector-properties/edit-connector-properties.component.js +1 -1
- package/esm2015/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.component.js +33 -30
- package/esm2015/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.form.js +36 -235
- package/esm2015/lib/components/edit-taak-connector/edit-taak-connector.component.js +129 -0
- package/esm2015/lib/components/edit-taak-connector/edit-taak-connector.form.js +63 -0
- package/esm2015/lib/components/modify-connector/modify-connector.component.js +1 -1
- package/esm2015/lib/components/multi-value-connector-property/multi-value-connector-property.component.js +1 -1
- package/esm2015/lib/connector-management-routing.js +1 -1
- package/esm2015/lib/connector-management.module.js +4 -1
- package/esm2015/lib/extension/connector-management.extension.init.js +1 -1
- package/esm2015/lib/models/index.js +1 -2
- package/esm2015/lib/models/object-sync.js +1 -1
- package/esm2015/lib/services/connector-management/connector-management.service.js +2 -2
- package/esm2015/lib/services/connector-management-state/connector-management-state.service.js +1 -1
- package/esm2015/lib/services/object-api-sync/object-api-sync.service.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/esm2015/valtimo-connector-management.js +3 -2
- package/fesm2015/valtimo-connector-management.js +256 -266
- package/fesm2015/valtimo-connector-management.js.map +1 -1
- package/lib/components/add-connector/add-connector.component.d.ts +1 -1
- package/lib/components/connector-link-extension-modal/connector-link-extension-modal.component.d.ts +1 -1
- package/lib/components/connector-management/connector-management.component.d.ts +1 -1
- package/lib/components/connector-modal/connector-modal.component.d.ts +1 -1
- package/lib/components/edit-connector-form/edit-connector-form.component.d.ts +3 -1
- package/lib/components/edit-connector-properties/edit-connector-properties.component.d.ts +1 -1
- package/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.component.d.ts +6 -2
- package/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.form.d.ts +62 -0
- package/lib/components/edit-taak-connector/edit-taak-connector.component.d.ts +38 -0
- package/lib/components/edit-taak-connector/edit-taak-connector.form.d.ts +57 -0
- package/lib/components/modify-connector/modify-connector.component.d.ts +1 -1
- package/lib/components/multi-value-connector-property/multi-value-connector-property.component.d.ts +1 -1
- package/lib/models/index.d.ts +0 -1
- package/lib/services/connector-management/connector-management.service.d.ts +1 -2
- package/lib/services/connector-management-state/connector-management-state.service.d.ts +1 -1
- package/package.json +1 -1
- package/valtimo-connector-management.d.ts +2 -1
- package/valtimo-connector-management.metadata.json +1 -1
- package/esm2015/lib/models/connector.model.js +0 -1
- package/lib/models/connector.model.d.ts +0 -36
package/lib/components/connector-link-extension-modal/connector-link-extension-modal.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ModalComponent } from '@valtimo/components';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { ConnectorInstance } from '
|
|
4
|
+
import { ConnectorInstance } from '@valtimo/config';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { ActivatedRoute } from '@angular/router';
|
|
7
7
|
import { AlertService, Pagination } from '@valtimo/components';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { ConnectorInstance, ConnectorModal } from '
|
|
3
|
+
import { ConnectorInstance, ConnectorModal } from '@valtimo/config';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { ConnectorManagementService } from '../../services/connector-management/connector-management.service';
|
|
6
6
|
import { ConnectorManagementStateService } from '../../services/connector-management-state/connector-management-state.service';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ModalComponent } from '@valtimo/components';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
-
import { ConnectorModal } from '
|
|
4
|
+
import { ConnectorModal } from '@valtimo/config';
|
|
5
5
|
import { ConnectorManagementStateService } from '../../services/connector-management-state/connector-management-state.service';
|
|
6
6
|
export declare class ConnectorModalComponent implements AfterViewInit, OnDestroy {
|
|
7
7
|
private readonly stateService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ConnectorProperties } from '
|
|
2
|
+
import { ConnectorProperties } from '@valtimo/config';
|
|
3
3
|
export declare class EditConnectorFormComponent {
|
|
4
4
|
properties: ConnectorProperties;
|
|
5
5
|
withDefaults: boolean;
|
|
@@ -12,4 +12,6 @@ export declare class EditConnectorFormComponent {
|
|
|
12
12
|
}>;
|
|
13
13
|
connectorDelete: EventEmitter<any>;
|
|
14
14
|
readonly productAanvragenName = "ProductAanvragen";
|
|
15
|
+
readonly taakName = "Taak";
|
|
16
|
+
readonly customConnectorNames: string[];
|
|
15
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { ConnectorProperties, ConnectorPropertyEditField } from '
|
|
2
|
+
import { ConnectorProperties, ConnectorPropertyEditField } from '@valtimo/config';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { ConnectorManagementStateService } from '../../services/connector-management-state/connector-management-state.service';
|
|
5
5
|
export declare class EditConnectorPropertiesComponent implements OnInit, OnChanges {
|
|
@@ -2,15 +2,17 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormMappingService, FormTranslationService } from '@valtimo/form';
|
|
3
3
|
import { DocumentService } from '@valtimo/document';
|
|
4
4
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
5
|
-
import { ConnectorProperties } from '
|
|
5
|
+
import { ConnectorProperties } from '@valtimo/config';
|
|
6
6
|
import { FormioForm, FormioRefreshValue } from 'angular-formio';
|
|
7
7
|
import { FormioOptions } from 'angular-formio/formio.common';
|
|
8
8
|
import { TranslateService } from '@ngx-translate/core';
|
|
9
|
+
import { ConnectorManagementService } from '../../services/connector-management/connector-management.service';
|
|
9
10
|
export declare class EditProductAanvragenConnectorComponent implements OnInit, OnDestroy {
|
|
10
11
|
private readonly formTranslationService;
|
|
11
12
|
private readonly formMappingService;
|
|
12
13
|
private readonly documentService;
|
|
13
14
|
private readonly translateService;
|
|
15
|
+
private readonly connectorManagementService;
|
|
14
16
|
properties: ConnectorProperties;
|
|
15
17
|
defaultName: string;
|
|
16
18
|
showDeleteButton: boolean;
|
|
@@ -32,7 +34,7 @@ export declare class EditProductAanvragenConnectorComponent implements OnInit, O
|
|
|
32
34
|
readonly options: FormioOptions;
|
|
33
35
|
private formDefinitionSubscription;
|
|
34
36
|
private translateSubscription;
|
|
35
|
-
constructor(formTranslationService: FormTranslationService, formMappingService: FormMappingService, documentService: DocumentService, translateService: TranslateService);
|
|
37
|
+
constructor(formTranslationService: FormTranslationService, formMappingService: FormMappingService, documentService: DocumentService, translateService: TranslateService, connectorManagementService: ConnectorManagementService);
|
|
36
38
|
ngOnInit(): void;
|
|
37
39
|
ngOnDestroy(): void;
|
|
38
40
|
onSubmit(event: any): void;
|
|
@@ -42,4 +44,6 @@ export declare class EditProductAanvragenConnectorComponent implements OnInit, O
|
|
|
42
44
|
private mapCaseDefinitionKeyComponent;
|
|
43
45
|
private refreshForm;
|
|
44
46
|
private loadDefinitions;
|
|
47
|
+
private loadConnectorNames;
|
|
48
|
+
private loadConnectorNamesByType;
|
|
45
49
|
}
|
package/lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.form.d.ts
CHANGED
|
@@ -106,6 +106,68 @@ export declare const editProductAanvragenConnectorForm: {
|
|
|
106
106
|
refreshOnChange?: undefined;
|
|
107
107
|
tableView?: undefined;
|
|
108
108
|
})[];
|
|
109
|
+
} | {
|
|
110
|
+
title: string;
|
|
111
|
+
breadcrumbClickable: boolean;
|
|
112
|
+
buttonSettings: {
|
|
113
|
+
previous: boolean;
|
|
114
|
+
cancel: boolean;
|
|
115
|
+
next: boolean;
|
|
116
|
+
};
|
|
117
|
+
navigateOnEnter: boolean;
|
|
118
|
+
saveOnEnter: boolean;
|
|
119
|
+
scrollToTop: boolean;
|
|
120
|
+
collapsible: boolean;
|
|
121
|
+
key: string;
|
|
122
|
+
type: string;
|
|
123
|
+
label: string;
|
|
124
|
+
input: boolean;
|
|
125
|
+
tableView: boolean;
|
|
126
|
+
components: ({
|
|
127
|
+
label: string;
|
|
128
|
+
attrs: {
|
|
129
|
+
attr: string;
|
|
130
|
+
value: string;
|
|
131
|
+
}[];
|
|
132
|
+
content: string;
|
|
133
|
+
refreshOnChange: boolean;
|
|
134
|
+
key: string;
|
|
135
|
+
type: string;
|
|
136
|
+
input: boolean;
|
|
137
|
+
tableView: boolean;
|
|
138
|
+
title?: undefined;
|
|
139
|
+
collapsible?: undefined;
|
|
140
|
+
components?: undefined;
|
|
141
|
+
} | {
|
|
142
|
+
title: string;
|
|
143
|
+
collapsible: boolean;
|
|
144
|
+
key: string;
|
|
145
|
+
type: string;
|
|
146
|
+
label: string;
|
|
147
|
+
input: boolean;
|
|
148
|
+
tableView: boolean;
|
|
149
|
+
components: {
|
|
150
|
+
label: string;
|
|
151
|
+
widget: string;
|
|
152
|
+
tableView: boolean;
|
|
153
|
+
dataSrc: string;
|
|
154
|
+
data: {
|
|
155
|
+
custom: string;
|
|
156
|
+
};
|
|
157
|
+
dataType: string;
|
|
158
|
+
clearOnRefresh: boolean;
|
|
159
|
+
key: string;
|
|
160
|
+
type: string;
|
|
161
|
+
input: boolean;
|
|
162
|
+
validate: {
|
|
163
|
+
required: boolean;
|
|
164
|
+
};
|
|
165
|
+
placeholder: string;
|
|
166
|
+
}[];
|
|
167
|
+
attrs?: undefined;
|
|
168
|
+
content?: undefined;
|
|
169
|
+
refreshOnChange?: undefined;
|
|
170
|
+
})[];
|
|
109
171
|
} | {
|
|
110
172
|
title: string;
|
|
111
173
|
breadcrumbClickable: boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormMappingService, FormTranslationService } from '@valtimo/form';
|
|
3
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
4
|
+
import { ConnectorProperties } from '@valtimo/config';
|
|
5
|
+
import { FormioForm, FormioRefreshValue } from 'angular-formio';
|
|
6
|
+
import { FormioOptions } from 'angular-formio/formio.common';
|
|
7
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
+
import { ConnectorManagementService } from '../../services/connector-management/connector-management.service';
|
|
9
|
+
export declare class EditTaakConnectorComponent implements OnInit, OnDestroy {
|
|
10
|
+
private readonly formTranslationService;
|
|
11
|
+
private readonly formMappingService;
|
|
12
|
+
private readonly translateService;
|
|
13
|
+
private readonly connectorManagementService;
|
|
14
|
+
properties: ConnectorProperties;
|
|
15
|
+
defaultName: string;
|
|
16
|
+
showDeleteButton: boolean;
|
|
17
|
+
propertiesSave: EventEmitter<{
|
|
18
|
+
properties: ConnectorProperties;
|
|
19
|
+
name: string;
|
|
20
|
+
}>;
|
|
21
|
+
connectorDelete: EventEmitter<any>;
|
|
22
|
+
formRefresh$: Subject<FormioRefreshValue>;
|
|
23
|
+
formDefinition$: BehaviorSubject<FormioForm>;
|
|
24
|
+
translatedFormDefinition$: import("rxjs").Observable<FormioForm>;
|
|
25
|
+
readonly options: FormioOptions;
|
|
26
|
+
private formDefinitionSubscription;
|
|
27
|
+
private translateSubscription;
|
|
28
|
+
constructor(formTranslationService: FormTranslationService, formMappingService: FormMappingService, translateService: TranslateService, connectorManagementService: ConnectorManagementService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
onSubmit(event: any): void;
|
|
32
|
+
onDelete(): void;
|
|
33
|
+
private openFormDefinitionSubscription;
|
|
34
|
+
private prefillForm;
|
|
35
|
+
private refreshForm;
|
|
36
|
+
private loadConnectorNames;
|
|
37
|
+
private loadConnectorNamesByType;
|
|
38
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export declare const editTaakConnectorForm: {
|
|
2
|
+
components: ({
|
|
3
|
+
label: string;
|
|
4
|
+
tableView: boolean;
|
|
5
|
+
validate: {
|
|
6
|
+
required: boolean;
|
|
7
|
+
};
|
|
8
|
+
key: string;
|
|
9
|
+
type: string;
|
|
10
|
+
input: boolean;
|
|
11
|
+
widget?: undefined;
|
|
12
|
+
dataSrc?: undefined;
|
|
13
|
+
data?: undefined;
|
|
14
|
+
dataType?: undefined;
|
|
15
|
+
clearOnRefresh?: undefined;
|
|
16
|
+
placeholder?: undefined;
|
|
17
|
+
customClass?: undefined;
|
|
18
|
+
leftIcon?: undefined;
|
|
19
|
+
disableOnInvalid?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
label: string;
|
|
22
|
+
widget: string;
|
|
23
|
+
tableView: boolean;
|
|
24
|
+
dataSrc: string;
|
|
25
|
+
data: {
|
|
26
|
+
custom: string;
|
|
27
|
+
};
|
|
28
|
+
dataType: string;
|
|
29
|
+
clearOnRefresh: boolean;
|
|
30
|
+
key: string;
|
|
31
|
+
type: string;
|
|
32
|
+
input: boolean;
|
|
33
|
+
validate: {
|
|
34
|
+
required: boolean;
|
|
35
|
+
};
|
|
36
|
+
placeholder: string;
|
|
37
|
+
customClass?: undefined;
|
|
38
|
+
leftIcon?: undefined;
|
|
39
|
+
disableOnInvalid?: undefined;
|
|
40
|
+
} | {
|
|
41
|
+
key: string;
|
|
42
|
+
type: string;
|
|
43
|
+
customClass: string;
|
|
44
|
+
leftIcon: string;
|
|
45
|
+
input: boolean;
|
|
46
|
+
label: string;
|
|
47
|
+
tableView: boolean;
|
|
48
|
+
disableOnInvalid: boolean;
|
|
49
|
+
validate?: undefined;
|
|
50
|
+
widget?: undefined;
|
|
51
|
+
dataSrc?: undefined;
|
|
52
|
+
data?: undefined;
|
|
53
|
+
dataType?: undefined;
|
|
54
|
+
clearOnRefresh?: undefined;
|
|
55
|
+
placeholder?: undefined;
|
|
56
|
+
})[];
|
|
57
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectorInstance, ConnectorProperties } from '
|
|
1
|
+
import { ConnectorInstance, ConnectorProperties } from '@valtimo/config';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { AlertService } from '@valtimo/components';
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
package/lib/components/multi-value-connector-property/multi-value-connector-property.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ConnectorPropertyEditField, ConnectorPropertyValueType } from '
|
|
2
|
+
import { ConnectorPropertyEditField, ConnectorPropertyValueType } from '@valtimo/config';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
export declare class MultiValueConnectorPropertyComponent implements OnInit, OnDestroy {
|
|
5
5
|
editField: ConnectorPropertyEditField;
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { ConfigService } from '@valtimo/config';
|
|
2
|
+
import { ConfigService, ConnectorInstance, ConnectorType, ConnectorInstanceCreateRequest, ConnectorInstanceUpdateRequest } from '@valtimo/config';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ConnectorInstance, ConnectorType, ConnectorInstanceCreateRequest, ConnectorInstanceUpdateRequest } from '../../models';
|
|
5
4
|
import { Page } from '@valtimo/document';
|
|
6
5
|
export declare class ConnectorManagementService {
|
|
7
6
|
private http;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { ConnectorInstance } from '
|
|
2
|
+
import { ConnectorInstance } from '@valtimo/config';
|
|
3
3
|
export declare class ConnectorManagementStateService {
|
|
4
4
|
private readonly _showModal$;
|
|
5
5
|
private readonly _showExtensionModal$;
|
package/package.json
CHANGED
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
export * from './public-api';
|
|
5
5
|
export { EditConnectorFormComponent as ɵb } from './lib/components/edit-connector-form/edit-connector-form.component';
|
|
6
6
|
export { EditProductAanvragenConnectorComponent as ɵa } from './lib/components/edit-product-aanvragen-connector/edit-product-aanvragen-connector.component';
|
|
7
|
-
export {
|
|
7
|
+
export { EditTaakConnectorComponent as ɵc } from './lib/components/edit-taak-connector/edit-taak-connector.component';
|
|
8
|
+
export { ConnectorManagementRoutingModule as ɵd } from './lib/connector-management-routing';
|