@valtimo/plugin 5.3.0 → 5.4.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/components/plugin-configuration-container/plugin-configuration-container.component.mjs +4 -4
- package/esm2020/lib/components/plugin-configuration-container/plugin-configuration-container.module.mjs +5 -5
- package/esm2020/lib/models/plugin.mjs +1 -1
- package/esm2020/lib/pipes/plugin-translate/plugin-translate-pipe.module.mjs +5 -5
- package/esm2020/lib/pipes/plugin-translate/plugin-translate.pipe.mjs +4 -4
- package/esm2020/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.mjs +4 -4
- package/esm2020/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.mjs +30 -9
- package/esm2020/lib/plugins/open-zaak/components/select-zaak-type/select-zaak-type.component.mjs +4 -4
- package/esm2020/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.mjs +4 -4
- package/esm2020/lib/plugins/open-zaak/components/set-resultaat-configuration/set-resultaat-configuration.component.mjs +4 -4
- package/esm2020/lib/plugins/open-zaak/components/set-status-configuration/set-status-configuration.component.mjs +4 -4
- package/esm2020/lib/plugins/open-zaak/models/config.mjs +1 -1
- package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.module.mjs +5 -5
- package/esm2020/lib/plugins/open-zaak/open-zaak-plugin.specification.mjs +4 -4
- package/esm2020/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.mjs +4 -4
- package/esm2020/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.mjs +32 -8
- package/esm2020/lib/plugins/smart-documents/models/config.mjs +1 -1
- package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.module.mjs +5 -5
- package/esm2020/lib/plugins/smart-documents/smart-documents-plugin.specification.mjs +4 -4
- package/esm2020/lib/services/plugin-translation.service.mjs +4 -4
- package/esm2020/lib/services/plugin.service.mjs +4 -4
- package/fesm2015/valtimo-plugin.mjs +115 -68
- package/fesm2015/valtimo-plugin.mjs.map +1 -1
- package/fesm2020/valtimo-plugin.mjs +111 -68
- package/fesm2020/valtimo-plugin.mjs.map +1 -1
- package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts +2 -2
- package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts.map +1 -1
- package/lib/models/plugin.d.ts +14 -4
- package/lib/models/plugin.d.ts.map +1 -1
- package/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.d.ts +3 -3
- package/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.d.ts.map +1 -1
- package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts +8 -2
- package/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.d.ts.map +1 -1
- package/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.d.ts +3 -3
- package/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.d.ts.map +1 -1
- package/lib/plugins/open-zaak/models/config.d.ts +2 -2
- package/lib/plugins/open-zaak/models/config.d.ts.map +1 -1
- package/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.d.ts +2 -2
- package/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.d.ts.map +1 -1
- package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts +8 -2
- package/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.d.ts.map +1 -1
- package/lib/plugins/smart-documents/models/config.d.ts +2 -2
- package/lib/plugins/smart-documents/models/config.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/components/plugin-configuration-container/plugin-configuration-container.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentRef, EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { PluginService } from '../../services';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { ConfigurationComponentType, PluginConfigurationComponent, PluginConfigurationData } from '../../models';
|
|
4
|
+
import { ConfigurationComponentType, FunctionConfigurationComponent, PluginConfigurationComponent, PluginConfigurationData } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PluginConfigurationContainerComponent implements OnInit, OnDestroy, Omit<PluginConfigurationComponent, 'pluginId'> {
|
|
7
7
|
private readonly pluginService;
|
|
@@ -16,7 +16,7 @@ export declare class PluginConfigurationContainerComponent implements OnInit, On
|
|
|
16
16
|
valid: EventEmitter<boolean>;
|
|
17
17
|
configuration: EventEmitter<PluginConfigurationData>;
|
|
18
18
|
readonly noConfigurationComponentAvailable$: BehaviorSubject<boolean>;
|
|
19
|
-
readonly componentRef$: BehaviorSubject<ComponentRef<PluginConfigurationComponent>>;
|
|
19
|
+
readonly componentRef$: BehaviorSubject<ComponentRef<PluginConfigurationComponent | FunctionConfigurationComponent>>;
|
|
20
20
|
private componentRefSubscription;
|
|
21
21
|
private pluginSubscription;
|
|
22
22
|
private validSubscription;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-configuration-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/plugin/src/lib/components/plugin-configuration-container/plugin-configuration-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EACZ,YAAY,EAEZ,SAAS,EACT,MAAM,EAIN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAE9E,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,cAAc,CAAC;;AAEtB,qBAKa,qCACX,YAAW,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,4BAA4B,EAAE,UAAU,CAAC;IAoChE,OAAO,CAAC,QAAQ,CAAC,aAAa;IAjCnC,gBAAgB,EAAE,gBAAgB,CAAC;IAE1C,IAAa,IAAI,CAAC,IAAI,EAAE,0BAA0B,EAEjD;IACD,IAAa,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAE3C;IACD,IAAa,WAAW,CAAC,GAAG,EAAE,MAAM,EAEnC;IACQ,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,uBAAuB,CAAC,CAChB;IAE9C,QAAQ,CAAC,kCAAkC,2BAAuC;IAClF,QAAQ,CAAC,aAAa
|
|
1
|
+
{"version":3,"file":"plugin-configuration-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/plugin/src/lib/components/plugin-configuration-container/plugin-configuration-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EACZ,YAAY,EAEZ,SAAS,EACT,MAAM,EAIN,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAE9E,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,cAAc,CAAC;;AAEtB,qBAKa,qCACX,YAAW,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,4BAA4B,EAAE,UAAU,CAAC;IAoChE,OAAO,CAAC,QAAQ,CAAC,aAAa;IAjCnC,gBAAgB,EAAE,gBAAgB,CAAC;IAE1C,IAAa,IAAI,CAAC,IAAI,EAAE,0BAA0B,EAEjD;IACD,IAAa,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAE3C;IACD,IAAa,WAAW,CAAC,GAAG,EAAE,MAAM,EAEnC;IACQ,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,uBAAuB,CAAC,CAChB;IAE9C,QAAQ,CAAC,kCAAkC,2BAAuC;IAClF,QAAQ,CAAC,aAAa,+FAET;IAEb,OAAO,CAAC,wBAAwB,CAAgB;IAChD,OAAO,CAAC,kBAAkB,CAAgB;IAC1C,OAAO,CAAC,iBAAiB,CAAgB;IACzC,OAAO,CAAC,yBAAyB,CAAgB;IAEjD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgE;IAC/F,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAmC;IACxE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;gBAEnC,aAAa,EAAE,aAAa;IAEzD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAKnB,OAAO,CAAC,sBAAsB;IAuC9B,OAAO,CAAC,iCAAiC;yCAxF9B,qCAAqC;2CAArC,qCAAqC;CAmHjD"}
|
package/lib/models/plugin.d.ts
CHANGED
|
@@ -1,24 +1,34 @@
|
|
|
1
1
|
import { EventEmitter, Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
interface PluginConfigurationData {
|
|
4
|
+
configurationTitle: string;
|
|
4
5
|
[key: string]: any;
|
|
5
6
|
}
|
|
6
|
-
interface
|
|
7
|
+
interface FunctionConfigurationData {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
10
|
+
interface ConfigurationComponent {
|
|
7
11
|
save$: Observable<void>;
|
|
8
12
|
clear$: Observable<void>;
|
|
9
13
|
disabled: boolean;
|
|
10
14
|
error: boolean;
|
|
11
15
|
pluginId: string;
|
|
12
|
-
prefillConfiguration?: PluginConfigurationData;
|
|
13
16
|
valid: EventEmitter<boolean>;
|
|
17
|
+
}
|
|
18
|
+
interface PluginConfigurationComponent extends ConfigurationComponent {
|
|
19
|
+
prefillConfiguration?: PluginConfigurationData;
|
|
14
20
|
configuration: EventEmitter<PluginConfigurationData>;
|
|
15
21
|
}
|
|
22
|
+
interface FunctionConfigurationComponent extends ConfigurationComponent {
|
|
23
|
+
prefillConfiguration?: FunctionConfigurationData;
|
|
24
|
+
configuration: EventEmitter<FunctionConfigurationData>;
|
|
25
|
+
}
|
|
16
26
|
interface PluginSpecification {
|
|
17
27
|
pluginId: string;
|
|
18
28
|
pluginLogoBase64: string;
|
|
19
29
|
pluginConfigurationComponent: Type<PluginConfigurationComponent>;
|
|
20
30
|
functionConfigurationComponents?: {
|
|
21
|
-
[functionId: string]: Type<
|
|
31
|
+
[functionId: string]: Type<FunctionConfigurationComponent>;
|
|
22
32
|
};
|
|
23
33
|
pluginTranslations: {
|
|
24
34
|
[langKey: string]: {
|
|
@@ -28,5 +38,5 @@ interface PluginSpecification {
|
|
|
28
38
|
}
|
|
29
39
|
declare type PluginConfig = Array<PluginSpecification>;
|
|
30
40
|
declare type ConfigurationComponentType = 'function' | 'configuration';
|
|
31
|
-
export { PluginSpecification, PluginConfig, PluginConfigurationComponent, ConfigurationComponentType, PluginConfigurationData, };
|
|
41
|
+
export { PluginSpecification, PluginConfig, PluginConfigurationComponent, ConfigurationComponentType, PluginConfigurationData, FunctionConfigurationComponent, FunctionConfigurationData, };
|
|
32
42
|
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/models/plugin.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,IAAI,EAAC,MAAM,eAAe,CAAC;AACnE,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,UAAU,uBAAuB;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/models/plugin.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,IAAI,EAAC,MAAM,eAAe,CAAC;AACnE,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhC,UAAU,uBAAuB;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,yBAAyB;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED,UAAU,4BAA6B,SAAQ,sBAAsB;IACnE,oBAAoB,CAAC,EAAE,uBAAuB,CAAC;IAC/C,aAAa,EAAE,YAAY,CAAC,uBAAuB,CAAC,CAAC;CACtD;AAED,UAAU,8BAA+B,SAAQ,sBAAsB;IACrE,oBAAoB,CAAC,EAAE,yBAAyB,CAAC;IACjD,aAAa,EAAE,YAAY,CAAC,yBAAyB,CAAC,CAAC;CACxD;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC,CAAC;IACjE,+BAA+B,CAAC,EAAE;QAChC,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC,8BAA8B,CAAC,CAAC;KAC5D,CAAC;IACF,kBAAkB,EAAE;QAClB,CAAC,OAAO,EAAE,MAAM,GAAG;YACjB,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;SAClC,CAAC;KACH,CAAC;CACH;AAED,aAAK,YAAY,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAE/C,aAAK,0BAA0B,GAAG,UAAU,GAAG,eAAe,CAAC;AAE/D,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,4BAA4B,EAC5B,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,EAC9B,yBAAyB,GAC1B,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FunctionConfigurationComponent, FunctionConfigurationData } from '../../../../models';
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { ZaakType } from '@valtimo/resource';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CreateZaakConfigurationComponent implements
|
|
6
|
+
export declare class CreateZaakConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
|
|
7
7
|
clear$: Observable<void>;
|
|
8
8
|
save$: Observable<void>;
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
error: boolean;
|
|
11
11
|
pluginId: string;
|
|
12
12
|
valid: EventEmitter<boolean>;
|
|
13
|
-
configuration: EventEmitter<
|
|
13
|
+
configuration: EventEmitter<FunctionConfigurationData>;
|
|
14
14
|
readonly selectedZaakType$: BehaviorSubject<ZaakType>;
|
|
15
15
|
private validSubscription;
|
|
16
16
|
ngOnInit(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-zaak-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"create-zaak-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/components/create-zaak-configuration/create-zaak-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAE,yBAAyB,EAAC,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAE9E,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;;AAE3C,qBAKa,gCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAEnD,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,yBAAyB,CAAC,CAChB;IAEhD,QAAQ,CAAC,iBAAiB,4BAA8C;IAExE,OAAO,CAAC,iBAAiB,CAAgB;IAEzC,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI;IAI/C,OAAO,CAAC,qBAAqB;yCA5BlB,gCAAgC;2CAAhC,gCAAgC;CAyC5C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { PluginConfigurationComponent } from '../../../../models';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { OpenZaakConfig } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class OpenZaakConfigurationComponent implements PluginConfigurationComponent {
|
|
6
|
+
export declare class OpenZaakConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {
|
|
7
7
|
clear$: Observable<void>;
|
|
8
8
|
save$: Observable<void>;
|
|
9
9
|
disabled: boolean;
|
|
@@ -11,8 +11,14 @@ export declare class OpenZaakConfigurationComponent implements PluginConfigurati
|
|
|
11
11
|
pluginId: string;
|
|
12
12
|
valid: EventEmitter<boolean>;
|
|
13
13
|
configuration: EventEmitter<OpenZaakConfig>;
|
|
14
|
+
private saveSubscription;
|
|
15
|
+
private readonly formValue$;
|
|
16
|
+
private readonly valid$;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
14
19
|
formValueChange(formValue: OpenZaakConfig): void;
|
|
15
20
|
private handleValid;
|
|
21
|
+
private openSaveSubscription;
|
|
16
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<OpenZaakConfigurationComponent, never>;
|
|
17
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<OpenZaakConfigurationComponent, "valtimo-open-zaak-configuration", never, { "clear$": "clear$"; "save$": "save$"; "disabled": "disabled"; "error": "error"; "pluginId": "pluginId"; }, { "valid": "valid"; "configuration": "configuration"; }, never, never>;
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-zaak-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,
|
|
1
|
+
{"version":3,"file":"open-zaak-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,4BAA4B,EAA0B,MAAM,oBAAoB,CAAC;AACzF,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AAEpF,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;;AAE5C,qBAKa,8BACX,YAAW,4BAA4B,EAAE,MAAM,EAAE,SAAS;IAEjD,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,cAAc,CAAC,CAAsC;IAE3F,OAAO,CAAC,gBAAgB,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAoD;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D,QAAQ,IAAI,IAAI;IAIhB,WAAW;IAIX,eAAe,CAAC,SAAS,EAAE,cAAc,GAAG,IAAI;IAKhD,OAAO,CAAC,WAAW;IAcnB,OAAO,CAAC,oBAAoB;yCA3CjB,8BAA8B;2CAA9B,8BAA8B;CAsD1C"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FunctionConfigurationComponent, FunctionConfigurationData } from '../../../../models';
|
|
3
3
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
4
|
import { ZaakType } from '@valtimo/resource';
|
|
5
5
|
import { SelectItem } from '@valtimo/user-interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SetBesluitConfigurationComponent implements
|
|
7
|
+
export declare class SetBesluitConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
|
|
8
8
|
clear$: Observable<void>;
|
|
9
9
|
save$: Observable<void>;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
error: boolean;
|
|
12
12
|
pluginId: string;
|
|
13
13
|
valid: EventEmitter<boolean>;
|
|
14
|
-
configuration: EventEmitter<
|
|
14
|
+
configuration: EventEmitter<FunctionConfigurationData>;
|
|
15
15
|
private readonly selectedBesluit$;
|
|
16
16
|
readonly selectedZaakType$: BehaviorSubject<ZaakType>;
|
|
17
17
|
readonly BESLUITEN: Array<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-besluit-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,
|
|
1
|
+
{"version":3,"file":"set-besluit-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/components/set-besluit-configuration/set-besluit-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EACL,8BAA8B,EAC9B,yBAAyB,EAG1B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;AACvF,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;;AAEnD,qBAKa,gCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAEnD,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,yBAAyB,CAAC,CAClB;IAE9C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAmC;IAEpE,QAAQ,CAAC,iBAAiB,4BAA8C;IAExE,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAiD;IAElF,QAAQ,CAAC,kBAAkB,EAAE,KAAK,CAAC,UAAU,CAAC,CAG1C;IAEJ,QAAQ,CAAC,aAAa,mBAAiB;IAEvC,OAAO,CAAC,iBAAiB,CAAgB;IAEzC,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,IAAI;IAQ/C,YAAY,IAAI,IAAI;IAKpB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIpC,OAAO,CAAC,qBAAqB;yCApDlB,gCAAgC;2CAAhC,gCAAgC;CAiE5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/models/config.ts"],"names":[],"mappings":"AAYA,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/open-zaak/models/config.ts"],"names":[],"mappings":"AAYA,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAExD,UAAU,cAAe,SAAQ,uBAAuB;IACtD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,OAAO,EAAC,cAAc,EAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FunctionConfigurationComponent } from '../../../../models';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { DocumentFormat, GenerateDocumentConfig } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class GenerateDocumentConfigurationComponent implements
|
|
6
|
+
export declare class GenerateDocumentConfigurationComponent implements FunctionConfigurationComponent {
|
|
7
7
|
clear$: Observable<void>;
|
|
8
8
|
save$: Observable<void>;
|
|
9
9
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-document-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"generate-document-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/smart-documents/components/generate-document-configuration/generate-document-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AACrE,OAAO,EAAC,8BAA8B,EAA+B,MAAM,oBAAoB,CAAC;AAChG,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,cAAc,EAAE,sBAAsB,EAAC,MAAM,cAAc,CAAC;;AAEpE,qBAKa,sCAAuC,YAAW,8BAA8B;IAClF,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,sBAAsB,CAAC,CAChB;IAE7C,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,CAAkC;IACzE,QAAQ,CAAC,mBAAmB,EAAE,KAAK,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAG3D;IAEJ,eAAe,CAAC,SAAS,EAAE,sBAAsB,GAAG,IAAI;IAKxD,OAAO,CAAC,WAAW;yCArBR,sCAAsC;2CAAtC,sCAAsC;CA8BlD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { PluginConfigurationComponent } from '../../../../models';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { SmartDocumentsConfig } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SmartDocumentsConfigurationComponent implements PluginConfigurationComponent {
|
|
6
|
+
export declare class SmartDocumentsConfigurationComponent implements PluginConfigurationComponent, OnInit, OnDestroy {
|
|
7
7
|
clear$: Observable<void>;
|
|
8
8
|
save$: Observable<void>;
|
|
9
9
|
disabled: boolean;
|
|
@@ -11,8 +11,14 @@ export declare class SmartDocumentsConfigurationComponent implements PluginConfi
|
|
|
11
11
|
pluginId: string;
|
|
12
12
|
valid: EventEmitter<boolean>;
|
|
13
13
|
configuration: EventEmitter<SmartDocumentsConfig>;
|
|
14
|
+
private saveSubscription;
|
|
15
|
+
private readonly formValue$;
|
|
16
|
+
private readonly valid$;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
14
19
|
formValueChange(formValue: SmartDocumentsConfig): void;
|
|
15
20
|
private handleValid;
|
|
21
|
+
private openSaveSubscription;
|
|
16
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDocumentsConfigurationComponent, never>;
|
|
17
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartDocumentsConfigurationComponent, "valtimo-smart-documents-configuration", never, { "clear$": "clear$"; "save$": "save$"; "disabled": "disabled"; "error": "error"; "pluginId": "pluginId"; }, { "valid": "valid"; "configuration": "configuration"; }, never, never>;
|
|
18
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-documents-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,
|
|
1
|
+
{"version":3,"file":"smart-documents-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/smart-documents/components/smart-documents-configuration/smart-documents-configuration.component.ts"],"names":[],"mappings":"AAYA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,4BAA4B,EAAC,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAiC,UAAU,EAA0B,MAAM,MAAM,CAAC;AACzF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;;AAElD,qBAKa,oCACX,YAAW,4BAA4B,EAAE,MAAM,EAAE,SAAS;IAEjD,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACzB,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,oBAAoB,CAAC,CAChB;IAE3C,OAAO,CAAC,gBAAgB,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA0D;IACrF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D,QAAQ,IAAI,IAAI;IAIhB,WAAW;IAIX,eAAe,CAAC,SAAS,EAAE,oBAAoB,GAAG,IAAI;IAKtD,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,oBAAoB;yCA1CjB,oCAAoC;2CAApC,oCAAoC;CAqDhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/smart-documents/models/config.ts"],"names":[],"mappings":"AAYA,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/smart-documents/models/config.ts"],"names":[],"mappings":"AAYA,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAExD,UAAU,oBAAqB,SAAQ,uBAAuB;IAC5D,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,aAAK,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAEtD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,cAAc,CAAC;IACvB,YAAY,EAAE,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;CACnD;AAED,OAAO,EAAC,oBAAoB,EAAE,sBAAsB,EAAE,cAAc,EAAC,CAAC"}
|