@valtimo/plugin 13.46.0 → 13.47.1
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/fesm2022/valtimo-plugin.mjs +1229 -71
- package/fesm2022/valtimo-plugin.mjs.map +1 -1
- package/lib/components/external-plugin-iframe/external-plugin-iframe.component.d.ts +122 -0
- package/lib/components/external-plugin-iframe/external-plugin-iframe.component.d.ts.map +1 -0
- package/lib/components/external-plugin-page/external-plugin-page.component.d.ts +34 -0
- package/lib/components/external-plugin-page/external-plugin-page.component.d.ts.map +1 -0
- package/lib/external-plugin-page-routing.module.d.ts +8 -0
- package/lib/external-plugin-page-routing.module.d.ts.map +1 -0
- package/lib/models/external-plugin-page.model.d.ts +16 -0
- package/lib/models/external-plugin-page.model.d.ts.map +1 -0
- package/lib/models/external-plugin.model.d.ts +337 -0
- package/lib/models/external-plugin.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/plugin.d.ts +1 -0
- package/lib/models/plugin.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/catalogi-api-plugin-module.d.ts +6 -4
- package/lib/plugins/catalogi-api/catalogi-api-plugin-module.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/catalogi-api-plugin.specification.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/components/catalogi-api-configuration/catalogi-api-configuration.component.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/components/get-besluittype/get-besluittype-configuration.component.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/components/get-eigenschap/get-eigenschap-configuration.component.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/components/get-resultaattype/get-resultaattype-configuration.component.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/components/get-roltype/get-roltype-configuration.component.d.ts +24 -0
- package/lib/plugins/catalogi-api/components/get-roltype/get-roltype-configuration.component.d.ts.map +1 -0
- package/lib/plugins/catalogi-api/components/get-roltypen/get-roltypen-configuration.component.d.ts +24 -0
- package/lib/plugins/catalogi-api/components/get-roltypen/get-roltypen-configuration.component.d.ts.map +1 -0
- package/lib/plugins/catalogi-api/components/get-statustype/get-statustype-configuration.component.d.ts.map +1 -1
- package/lib/plugins/catalogi-api/models/config.d.ts +9 -1
- package/lib/plugins/catalogi-api/models/config.d.ts.map +1 -1
- package/lib/services/external-plugin-page.service.d.ts +20 -0
- package/lib/services/external-plugin-page.service.d.ts.map +1 -0
- package/lib/services/external-plugin-session.service.d.ts +63 -0
- package/lib/services/external-plugin-session.service.d.ts.map +1 -0
- package/lib/services/external-plugin-task-form-submission.service.d.ts +22 -0
- package/lib/services/external-plugin-task-form-submission.service.d.ts.map +1 -0
- package/lib/services/external-plugin-user-token.service.d.ts +21 -0
- package/lib/services/external-plugin-user-token.service.d.ts.map +1 -0
- package/lib/services/external-plugin.service.d.ts +91 -0
- package/lib/services/external-plugin.service.d.ts.map +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/plugin-management.service.d.ts +7 -1
- package/lib/services/plugin-management.service.d.ts.map +1 -1
- package/lib/utils/external-plugin-data-url.utils.d.ts +9 -0
- package/lib/utils/external-plugin-data-url.utils.d.ts.map +1 -0
- package/lib/utils/index.d.ts +2 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -0
- package/public-api.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-besluittype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-besluittype/get-besluittype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;;AAElD,
|
|
1
|
+
{"version":3,"file":"get-besluittype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-besluittype/get-besluittype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;;AAElD,qBAKa,oCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAEnD,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,oBAAoB,CAAC,CAAC;IACvD,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;IAOnB,OAAO,CAAC,oBAAoB;yCApCjB,oCAAoC;2CAApC,oCAAoC;CA+ChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-eigenschap-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-eigenschap/get-eigenschap-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACjD,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;;AAElE,
|
|
1
|
+
{"version":3,"file":"get-eigenschap-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-eigenschap/get-eigenschap-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACjD,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;;AAElE,qBAKa,mCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAE5C,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;IACtD,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,mBAAmB,CAAC,CACvB;IAE1C,OAAO,CAAC,iBAAiB,CAAgB;IAEzC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAyD;IACpF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAEvD,QAAQ,IAAI,IAAI;IAIhB,WAAW;IAIX,eAAe,CAAC,SAAS,EAAE,mBAAmB,GAAG,IAAI;IAK5D,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,oBAAoB;yCApCjB,mCAAmC;2CAAnC,mCAAmC;CA+C/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resultaattype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-resultaattype/get-resultaattype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,sBAAsB,EAAC,MAAM,cAAc,CAAC;;AAEpD,
|
|
1
|
+
{"version":3,"file":"get-resultaattype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-resultaattype/get-resultaattype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,sBAAsB,EAAC,MAAM,cAAc,CAAC;;AAEpD,qBAKa,sCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAEnD,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,sBAAsB,CAAC,CAChB;IAE7C,OAAO,CAAC,gBAAgB,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4D;IACvF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D,QAAQ,IAAI,IAAI;IAIhB,WAAW;IAIX,eAAe,CAAC,SAAS,EAAE,sBAAsB,GAAG,IAAI;IAKxD,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,oBAAoB;yCApCjB,sCAAsC;2CAAtC,sCAAsC;CA+ClD"}
|
package/lib/plugins/catalogi-api/components/get-roltype/get-roltype-configuration.component.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FunctionConfigurationComponent } from '../../../../models';
|
|
4
|
+
import { GetRoltypeConfig } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetRoltypeConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
|
|
7
|
+
disabled$: Observable<boolean>;
|
|
8
|
+
pluginId: string;
|
|
9
|
+
prefillConfiguration$: Observable<GetRoltypeConfig>;
|
|
10
|
+
save$: Observable<void>;
|
|
11
|
+
configuration: EventEmitter<GetRoltypeConfig>;
|
|
12
|
+
valid: EventEmitter<boolean>;
|
|
13
|
+
private readonly _formValue$;
|
|
14
|
+
private _saveSubscription;
|
|
15
|
+
private readonly _valid$;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
formValueChange(formValue: GetRoltypeConfig): void;
|
|
19
|
+
private handleValid;
|
|
20
|
+
private openSaveSubscription;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetRoltypeConfigurationComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GetRoltypeConfigurationComponent, "valtimo-get-roltype-configuration", never, { "disabled$": { "alias": "disabled$"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "prefillConfiguration$": { "alias": "prefillConfiguration$"; "required": false; }; "save$": { "alias": "save$"; "required": false; }; }, { "configuration": "configuration"; "valid": "valid"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=get-roltype-configuration.component.d.ts.map
|
package/lib/plugins/catalogi-api/components/get-roltype/get-roltype-configuration.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-roltype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-roltype/get-roltype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;;AAE9C,qBAKa,gCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAE5C,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;IACpD,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACvB,aAAa,EAAE,YAAY,CAAC,gBAAgB,CAAC,CACvB;IACtB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAE5E,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsD;IAClF,OAAO,CAAC,iBAAiB,CAAgB;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAExD,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,eAAe,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI;IAKzD,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,oBAAoB;yCAnCjB,gCAAgC;2CAAhC,gCAAgC;CA8C5C"}
|
package/lib/plugins/catalogi-api/components/get-roltypen/get-roltypen-configuration.component.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FunctionConfigurationComponent } from '../../../../models';
|
|
4
|
+
import { GetRoltypenConfig } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GetRoltypenConfigurationComponent implements FunctionConfigurationComponent, OnInit, OnDestroy {
|
|
7
|
+
disabled$: Observable<boolean>;
|
|
8
|
+
pluginId: string;
|
|
9
|
+
prefillConfiguration$: Observable<GetRoltypenConfig>;
|
|
10
|
+
save$: Observable<void>;
|
|
11
|
+
configuration: EventEmitter<GetRoltypenConfig>;
|
|
12
|
+
valid: EventEmitter<boolean>;
|
|
13
|
+
private readonly _formValue$;
|
|
14
|
+
private _saveSubscription;
|
|
15
|
+
private readonly _valid$;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
formValueChange(formValue: GetRoltypenConfig): void;
|
|
19
|
+
private handleValid;
|
|
20
|
+
private openSaveSubscription;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetRoltypenConfigurationComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GetRoltypenConfigurationComponent, "valtimo-get-roltypen-configuration", never, { "disabled$": { "alias": "disabled$"; "required": false; }; "pluginId": { "alias": "pluginId"; "required": false; }; "prefillConfiguration$": { "alias": "prefillConfiguration$"; "required": false; }; "save$": { "alias": "save$"; "required": false; }; }, { "configuration": "configuration"; "valid": "valid"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=get-roltypen-configuration.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-roltypen-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-roltypen/get-roltypen-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAC,iBAAiB,EAAC,MAAM,cAAc,CAAC;;AAE/C,qBAKa,iCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAE5C,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;IACrD,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACvB,aAAa,EAAE,YAAY,CAAC,iBAAiB,CAAC,CACvB;IACvB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAE5E,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuD;IACnF,OAAO,CAAC,iBAAiB,CAAgB;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuC;IAExD,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,eAAe,CAAC,SAAS,EAAE,iBAAiB,GAAG,IAAI;IAK1D,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,oBAAoB;yCAnCjB,iCAAiC;2CAAjC,iCAAiC;CA8C7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-statustype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-statustype/get-statustype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;;AAEjD,
|
|
1
|
+
{"version":3,"file":"get-statustype-configuration.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/components/get-statustype/get-statustype-configuration.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,8BAA8B,EAAC,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAiC,UAAU,EAAqB,MAAM,MAAM,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;;AAEjD,qBAKa,mCACX,YAAW,8BAA8B,EAAE,MAAM,EAAE,SAAS;IAEnD,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;IACxB,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;IACtD,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAC3D,aAAa,EAAE,YAAY,CAAC,mBAAmB,CAAC,CAChB;IAE1C,OAAO,CAAC,gBAAgB,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAyD;IACpF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D,QAAQ,IAAI,IAAI;IAIhB,WAAW;IAIX,eAAe,CAAC,SAAS,EAAE,mBAAmB,GAAG,IAAI;IAKrD,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,oBAAoB;yCApCjB,mCAAmC;2CAAnC,mCAAmC;CA+C/C"}
|
|
@@ -15,6 +15,14 @@ interface GetResultaattypeConfig {
|
|
|
15
15
|
resultaattype: string;
|
|
16
16
|
processVariable: string;
|
|
17
17
|
}
|
|
18
|
+
interface GetRoltypenConfig {
|
|
19
|
+
processVariable: string;
|
|
20
|
+
zaaktypeUrl?: string;
|
|
21
|
+
}
|
|
22
|
+
interface GetRoltypeConfig {
|
|
23
|
+
roltype: string;
|
|
24
|
+
processVariable: string;
|
|
25
|
+
}
|
|
18
26
|
interface GetStatustypenConfig {
|
|
19
27
|
processVariable: string;
|
|
20
28
|
zaaktypeUrl?: string;
|
|
@@ -35,5 +43,5 @@ interface GetInformatieobjecttypenConfig {
|
|
|
35
43
|
processVariable: string;
|
|
36
44
|
zaaktypeUrl?: string;
|
|
37
45
|
}
|
|
38
|
-
export { CatalogiApiConfig, GetBesluittypeConfig, GetResultaattypenConfig, GetResultaattypeConfig, GetStatustypenConfig, GetStatustypeConfig, GetEigenschapConfig, GetInformatieobjecttypeConfig, GetInformatieobjecttypenConfig, };
|
|
46
|
+
export { CatalogiApiConfig, GetBesluittypeConfig, GetResultaattypenConfig, GetResultaattypeConfig, GetRoltypenConfig, GetRoltypeConfig, GetStatustypenConfig, GetStatustypeConfig, GetEigenschapConfig, GetInformatieobjecttypeConfig, GetInformatieobjecttypenConfig, };
|
|
39
47
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/models/config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAExD,UAAU,iBAAkB,SAAQ,uBAAuB;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,iCAAiC,EAAE,MAAM,CAAC;CAC3C;AAED,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,uBAAuB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,sBAAsB;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,oBAAoB;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,6BAA6B;IACrC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,8BAA8B;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,GAC/B,CAAC"}
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/plugin/src/lib/plugins/catalogi-api/models/config.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;AAExD,UAAU,iBAAkB,SAAQ,uBAAuB;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,iCAAiC,EAAE,MAAM,CAAC;CAC3C;AAED,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,uBAAuB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,sBAAsB;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,iBAAiB;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,oBAAoB;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,mBAAmB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,6BAA6B;IACrC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,8BAA8B;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,GAC/B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService, ConfigService } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ExternalPluginMenuPage } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Non-management (`/api/v1/...`) client for external-plugin menu pages: the unfiltered list the
|
|
8
|
+
* menu-configuration builder offers as the "Plugin pages" catalog category. Minting the downscoped
|
|
9
|
+
* user token is the responsibility of the shared `ExternalPluginUserTokenService` (via
|
|
10
|
+
* `ExternalPluginSessionService`).
|
|
11
|
+
*/
|
|
12
|
+
export declare class ExternalPluginPageService extends BaseApiService {
|
|
13
|
+
protected readonly httpClient: HttpClient;
|
|
14
|
+
protected readonly configService: ConfigService;
|
|
15
|
+
constructor(httpClient: HttpClient, configService: ConfigService);
|
|
16
|
+
getMenuPages(): Observable<Array<ExternalPluginMenuPage>>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPluginPageService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalPluginPageService>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=external-plugin-page.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-plugin-page.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/external-plugin-page.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAC,cAAc,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAC;;AAEjD;;;;;GAKG;AACH,qBAGa,yBAA0B,SAAQ,cAAc;IAEzD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,YAAY,IAAI,UAAU,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;yCARrD,yBAAyB;6CAAzB,yBAAyB;CAarC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ExternalPluginEndpoint, ExternalPluginUserTokenResponse } from '../models';
|
|
4
|
+
import { ExternalPluginUserTokenService } from './external-plugin-user-token.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Owns the downscoped user-token session for one external-plugin hosting surface (case tab, task
|
|
8
|
+
* form or routed page): it mints the token via the shared {@link ExternalPluginUserTokenService},
|
|
9
|
+
* re-mints it before expiry and retries failed re-mints with capped exponential backoff instead of
|
|
10
|
+
* letting the session die silently with a token about to expire.
|
|
11
|
+
*
|
|
12
|
+
* Deliberately declared `@Injectable()` and NOT `providedIn: 'root'` (page-scoped, per the
|
|
13
|
+
* page-level orchestrator service convention): each hosting surface provides its own instance in
|
|
14
|
+
* its component `providers: []`, so parallel surfaces (e.g. a case tab and a task form open at the
|
|
15
|
+
* same time) never share token state, and teardown of the re-mint timer is tied to the hosting
|
|
16
|
+
* component's lifecycle via {@link ngOnDestroy}.
|
|
17
|
+
*/
|
|
18
|
+
export declare class ExternalPluginSessionService implements OnDestroy {
|
|
19
|
+
private readonly userTokenService;
|
|
20
|
+
/** Re-mint this long before the token expires. */
|
|
21
|
+
private static readonly RE_MINT_MARGIN_MS;
|
|
22
|
+
/** Never schedule a re-mint sooner than this (guards against very short/expired TTLs). */
|
|
23
|
+
private static readonly MIN_RE_MINT_DELAY_MS;
|
|
24
|
+
/** First retry delay after a failed re-mint; doubles per attempt up to the cap below. */
|
|
25
|
+
private static readonly INITIAL_RETRY_DELAY_MS;
|
|
26
|
+
private static readonly MAX_RETRY_DELAY_MS;
|
|
27
|
+
private readonly _$userToken;
|
|
28
|
+
/** Current downscoped user token (null until the first successful mint, and after teardown). */
|
|
29
|
+
readonly $userToken: import("@angular/core").Signal<string>;
|
|
30
|
+
private readonly _$expiresAt;
|
|
31
|
+
/** Expiry (ISO timestamp) of the current token, or null when no token is held. */
|
|
32
|
+
readonly $expiresAt: import("@angular/core").Signal<string>;
|
|
33
|
+
private readonly _$allowedEndpoints;
|
|
34
|
+
/**
|
|
35
|
+
* The granted endpoints of the current session's configuration, as reported by the mint response
|
|
36
|
+
* (audit-C1). Bind this to the iframe's `allowedEndpoints` input: `undefined` until the first
|
|
37
|
+
* successful mint (the iframe skips its precheck, the server-side allowlist stays authoritative);
|
|
38
|
+
* an empty array means the configuration grants nothing and the precheck denies every call.
|
|
39
|
+
*/
|
|
40
|
+
readonly $allowedEndpoints: import("@angular/core").Signal<ExternalPluginEndpoint[]>;
|
|
41
|
+
private _configurationId;
|
|
42
|
+
private _reMintHandle;
|
|
43
|
+
private _retryDelayMs;
|
|
44
|
+
constructor(userTokenService: ExternalPluginUserTokenService);
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Starts (or restarts) the token session for the given configuration. Returns the observable of
|
|
48
|
+
* the *first* mint so the caller can gate its own ready/error handling on it (e.g. a task form
|
|
49
|
+
* renders anyway when no token can be minted). Subsequent re-mints — and retries of failed
|
|
50
|
+
* re-mints — are handled internally for as long as the session is active.
|
|
51
|
+
*/
|
|
52
|
+
startSession(configurationId: string): Observable<ExternalPluginUserTokenResponse>;
|
|
53
|
+
/** Stops re-minting, clears the timer and drops the token. Also called from ngOnDestroy. */
|
|
54
|
+
endSession(): void;
|
|
55
|
+
private _onToken;
|
|
56
|
+
private _scheduleReMint;
|
|
57
|
+
private _reMint;
|
|
58
|
+
private _scheduleRetry;
|
|
59
|
+
private _clearReMint;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPluginSessionService, never>;
|
|
61
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalPluginSessionService>;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=external-plugin-session.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-plugin-session.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/external-plugin-session.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAA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AAO,CAAC,YAAY;yCApGT,4BAA4B;6CAA5B,4BAA4B;CA0GxC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ConfigService } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ExternalPluginTaskFormSubmissionResult } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Submits an external-plugin `task-form`'s collected data to GZAC, which completes the user task the
|
|
8
|
+
* standard way (value resolvers, document updates, `TaskCompleted` event) — no plugin backend code,
|
|
9
|
+
* no endpoint grant and no downscoped user token required for the common case. The Angular parent
|
|
10
|
+
* calls this (not the iframe) under the logged-in user's Keycloak session, so the normal COMPLETE
|
|
11
|
+
* permission governs the task. The authoritative `taskInstanceId` comes from the process-link result,
|
|
12
|
+
* never from the iframe.
|
|
13
|
+
*/
|
|
14
|
+
export declare class ExternalPluginTaskFormSubmissionService {
|
|
15
|
+
private readonly _http;
|
|
16
|
+
private readonly _baseUrl;
|
|
17
|
+
constructor(_http: HttpClient, configService: ConfigService);
|
|
18
|
+
submit(processLinkId: string, data: Record<string, unknown>, documentId?: string | null, taskInstanceId?: string | null): Observable<ExternalPluginTaskFormSubmissionResult>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPluginTaskFormSubmissionService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalPluginTaskFormSubmissionService>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=external-plugin-task-form-submission.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-plugin-task-form-submission.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/external-plugin-task-form-submission.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAa,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,sCAAsC,EAAC,MAAM,WAAW,CAAC;;AAEjE;;;;;;;GAOG;AACH,qBAGa,uCAAuC;IAIhD,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHxB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAGf,KAAK,EAAE,UAAU,EAClC,aAAa,EAAE,aAAa;IAKvB,MAAM,CACX,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,EAC1B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAC7B,UAAU,CAAC,sCAAsC,CAAC;yCAf1C,uCAAuC;6CAAvC,uCAAuC;CA0BnD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ConfigService } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ExternalPluginUserTokenResponse } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Mints the short-lived, downscoped user token used by every external-plugin iframe surface
|
|
8
|
+
* (case tabs, task forms, …) to call GZAC on behalf of the logged-in user. Shared here so each
|
|
9
|
+
* surface does not reimplement the mint call. `HttpClient` is used deliberately so the Keycloak
|
|
10
|
+
* bearer interceptor authenticates the mint as the current user — the result is bounded by
|
|
11
|
+
* PBAC ∩ the plugin's granted-endpoint allowlist and a ≤15-minute TTL.
|
|
12
|
+
*/
|
|
13
|
+
export declare class ExternalPluginUserTokenService {
|
|
14
|
+
private readonly _http;
|
|
15
|
+
private readonly _baseUrl;
|
|
16
|
+
constructor(_http: HttpClient, configService: ConfigService);
|
|
17
|
+
mintUserToken(configurationId: string): Observable<ExternalPluginUserTokenResponse>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPluginUserTokenService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalPluginUserTokenService>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=external-plugin-user-token.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-plugin-user-token.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/external-plugin-user-token.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,+BAA+B,EAAC,MAAM,WAAW,CAAC;;AAE1D;;;;;;GAMG;AACH,qBAGa,8BAA8B;IAIvC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHxB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAGf,KAAK,EAAE,UAAU,EAClC,aAAa,EAAE,aAAa;IAKvB,aAAa,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,CAAC,+BAA+B,CAAC;yCAV/E,8BAA8B;6CAA9B,8BAA8B;CAgB1C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ConfigService } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ExternalPluginConfiguration, ExternalPluginConfigurationCreateRequest, ExternalPluginConfigurationDetail, ExternalPluginConfigurationUpdateRequest, ExternalPluginDefinition, ExternalPluginEndpointDescription, ExternalPluginEndpointDescriptionQuery, ExternalPluginHost, ExternalPluginHostCreateRequest, ExternalPluginHostDefaults, ExternalPluginHostConnectionUpdateRequest, ExternalPluginHostEventQueueUpdateRequest, ExternalPluginHostUsage, ExternalPluginUploadResult, PluginLogPage } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ExternalPluginService {
|
|
7
|
+
private readonly _http;
|
|
8
|
+
private readonly _baseUrl;
|
|
9
|
+
constructor(_http: HttpClient, configService: ConfigService);
|
|
10
|
+
getHosts(): Observable<Array<ExternalPluginHost>>;
|
|
11
|
+
/**
|
|
12
|
+
* `InterceptorSkip: 400` keeps a rejected registration off the generic "An unexpected error
|
|
13
|
+
* occurred" toast: the backend answers a fixable mistake (a bind address as base URL, a broker
|
|
14
|
+
* over plaintext HTTP) with a 400 whose `detail` explains it, and the add-host modal renders that
|
|
15
|
+
* next to the fields the admin filled in. A duplicate red toast would only compete with it.
|
|
16
|
+
*
|
|
17
|
+
* With `handleConflictInline` the expected 409 (`code: APP_PLUGIN_ALREADY_REGISTERED` — the
|
|
18
|
+
* app's plugin is already registered under another host) is additionally kept off the toast so
|
|
19
|
+
* the app add stepper can render the conflict inline.
|
|
20
|
+
*/
|
|
21
|
+
createHost(request: ExternalPluginHostCreateRequest, handleConflictInline?: boolean): Observable<ExternalPluginHost>;
|
|
22
|
+
getHostDefaults(): Observable<ExternalPluginHostDefaults>;
|
|
23
|
+
deleteHost(hostId: string): Observable<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Returns what currently references any configuration under the host — BPMN process links,
|
|
26
|
+
* external-plugin case tabs and case widgets, and building-block mappings.
|
|
27
|
+
* Empty list = safe to delete. A non-empty list is also what the backend will attach to a
|
|
28
|
+
* 409 if the user tries to delete anyway, so the UI uses this proactively to disable the
|
|
29
|
+
* delete action.
|
|
30
|
+
*/
|
|
31
|
+
getHostUsages(hostId: string): Observable<Array<ExternalPluginHostUsage>>;
|
|
32
|
+
updateHostEventQueue(hostId: string, request: ExternalPluginHostEventQueueUpdateRequest): Observable<ExternalPluginHost>;
|
|
33
|
+
/**
|
|
34
|
+
* Updates a host's connection fields — repoint a moved host or broker, or rotate the admin
|
|
35
|
+
* secret — without recreating the host and orphaning its configurations (#618). Absent fields
|
|
36
|
+
* stay unchanged, so callers send only what the admin edited. `InterceptorSkip: 400` for the
|
|
37
|
+
* same reason as `createHost`: a validation rejection carries a fixable explanation the edit
|
|
38
|
+
* modal renders inline.
|
|
39
|
+
*/
|
|
40
|
+
updateHostConnection(hostId: string, request: ExternalPluginHostConnectionUpdateRequest): Observable<ExternalPluginHost>;
|
|
41
|
+
/**
|
|
42
|
+
* Replaces the browser origins allowed to embed this host's plugin screens. The backend pushes
|
|
43
|
+
* the new list to the plugin host immediately, which serves it as the `frame-ancestors` CSP
|
|
44
|
+
* directive — so an empty list means no page may frame this host's plugins.
|
|
45
|
+
*/
|
|
46
|
+
updateHostFrontendOrigins(hostId: string, origins: Array<string>): Observable<ExternalPluginHost>;
|
|
47
|
+
getDefinitions(): Observable<Array<ExternalPluginDefinition>>;
|
|
48
|
+
getDefinition(definitionId: string): Observable<ExternalPluginDefinition>;
|
|
49
|
+
getConfiguration(configurationId: string): Observable<ExternalPluginConfigurationDetail>;
|
|
50
|
+
/**
|
|
51
|
+
* Accepts the reviewed pending content of a definition whose host serves different content
|
|
52
|
+
* (package or manifest) than what was accepted. The caller echoes the exact `pendingContentHash`
|
|
53
|
+
* it reviewed — acceptance of a *specific* state, not of whatever the host serves by now. The
|
|
54
|
+
* backend pins the hash, promotes the pending manifest to the accepted one and re-grants every
|
|
55
|
+
* configuration of the definition in the same transaction. `InterceptorSkip: 400,409` keeps the
|
|
56
|
+
* expected rejections (e.g. the host changed again since the admin looked) off the global error
|
|
57
|
+
* toast — the review modal renders them inline.
|
|
58
|
+
*/
|
|
59
|
+
acceptDefinitionContent(definitionId: string, contentHash: string): Observable<ExternalPluginDefinition>;
|
|
60
|
+
getConfigurations(definitionId?: string): Observable<Array<ExternalPluginConfiguration>>;
|
|
61
|
+
createConfiguration(request: ExternalPluginConfigurationCreateRequest): Observable<ExternalPluginConfiguration>;
|
|
62
|
+
updateConfiguration(configurationId: string, request: ExternalPluginConfigurationUpdateRequest): Observable<ExternalPluginConfiguration>;
|
|
63
|
+
deleteConfiguration(configurationId: string): Observable<void>;
|
|
64
|
+
getConfigurationLogs(configurationId: string, params: {
|
|
65
|
+
page: number;
|
|
66
|
+
size: number;
|
|
67
|
+
level?: string;
|
|
68
|
+
source?: string;
|
|
69
|
+
}): Observable<PluginLogPage>;
|
|
70
|
+
/**
|
|
71
|
+
* Same shape as [getHostUsages] but scoped to a single configuration. Empty list = safe to
|
|
72
|
+
* delete. Non-empty = the configuration is referenced by one or more process links, case tabs,
|
|
73
|
+
* case widgets or building-block mappings, and `deleteConfiguration` would fail with a 409
|
|
74
|
+
* carrying these same entries.
|
|
75
|
+
*/
|
|
76
|
+
getConfigurationUsages(configurationId: string): Observable<Array<ExternalPluginHostUsage>>;
|
|
77
|
+
getEndpointDescriptions(endpoints: Array<ExternalPluginEndpointDescriptionQuery>, locale?: string): Observable<Array<ExternalPluginEndpointDescription>>;
|
|
78
|
+
/**
|
|
79
|
+
* Uploads a plugin package to the host. Two expected 409s drive the upload UX (both kept off
|
|
80
|
+
* the global error toast by the `X-Skip-Interceptor` header): an incompatible plugin returns
|
|
81
|
+
* the version details and is retried with `force=true` after the operator confirms, and an
|
|
82
|
+
* already-existing pluginId@version returns `code=PLUGIN_VERSION_EXISTS` plus the package's
|
|
83
|
+
* requested permissions and is retried with `overwrite=true` after the operator re-reviews the
|
|
84
|
+
* permissions and confirms the overwrite. A 413 (package over the size cap) is skipped too, so
|
|
85
|
+
* the modal can render it inline next to the file picker.
|
|
86
|
+
*/
|
|
87
|
+
uploadPlugin(hostId: string, file: File, force?: boolean, overwrite?: boolean): Observable<ExternalPluginUploadResult>;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalPluginService, never>;
|
|
89
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalPluginService>;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=external-plugin.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-plugin.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/external-plugin.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAA0B,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAC,aAAa,EAAkB,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EACL,2BAA2B,EAC3B,wCAAwC,EACxC,iCAAiC,EACjC,wCAAwC,EACxC,wBAAwB,EACxB,iCAAiC,EACjC,sCAAsC,EACtC,kBAAkB,EAClB,+BAA+B,EAC/B,0BAA0B,EAC1B,yCAAyC,EACzC,yCAAyC,EACzC,uBAAuB,EACvB,0BAA0B,EAC1B,aAAa,EACd,MAAM,WAAW,CAAC;;AAEnB,qBAGa,qBAAqB;IAI9B,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHxB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAGf,KAAK,EAAE,UAAU,EAClC,aAAa,EAAE,aAAa;IAKvB,QAAQ,IAAI,UAAU,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAIxD;;;;;;;;;OASG;IACI,UAAU,CACf,OAAO,EAAE,+BAA+B,EACxC,oBAAoB,UAAQ,GAC3B,UAAU,CAAC,kBAAkB,CAAC;IAQ1B,eAAe,IAAI,UAAU,CAAC,0BAA0B,CAAC;IAIzD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAInD;;;;;;OAMG;IACI,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAIzE,oBAAoB,CACzB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,yCAAyC,GACjD,UAAU,CAAC,kBAAkB,CAAC;IAOjC;;;;;;OAMG;IACI,oBAAoB,CACzB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,yCA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GAAE,MAAa,GACpB,UAAU,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC;IASvD;;;;;;;;OAQG;IACI,YAAY,CACjB,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,KAAK,UAAQ,EACb,SAAS,UAAQ,GAChB,UAAU,CAAC,0BAA0B,CAAC;yCA3N9B,qBAAqB;6CAArB,qBAAqB;CAsOjC"}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export * from './plugin.service';
|
|
2
2
|
export * from './plugin-translation.service';
|
|
3
3
|
export * from './plugin-management.service';
|
|
4
|
+
export * from './external-plugin.service';
|
|
5
|
+
export * from './external-plugin-user-token.service';
|
|
6
|
+
export * from './external-plugin-session.service';
|
|
7
|
+
export * from './external-plugin-task-form-submission.service';
|
|
8
|
+
export * from './external-plugin-page.service';
|
|
4
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gCAAgC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { PluginConfiguration, PluginConfigurationWithLogo, PluginDefinition, PluginFunction } from '../models';
|
|
3
|
+
import { ExternalPluginHostUsage, PluginConfiguration, PluginConfigurationWithLogo, PluginDefinition, PluginFunction } from '../models';
|
|
4
4
|
import { ConfigService } from '@valtimo/shared';
|
|
5
5
|
import { PluginService } from './plugin.service';
|
|
6
6
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
@@ -23,6 +23,12 @@ export declare class PluginManagementService {
|
|
|
23
23
|
savePluginConfiguration(pluginConfiguration: PluginConfiguration): Observable<PluginConfiguration>;
|
|
24
24
|
updatePluginConfiguration(configurationId: string, newConfigurationId: string, configurationTitle: string, configurationProperties: object): Observable<PluginConfiguration>;
|
|
25
25
|
deletePluginConfiguration(configurationId: string): Observable<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Mirrors `ExternalPluginService.getConfigurationUsages` but for embedded plugin
|
|
28
|
+
* configurations. Empty list = safe to delete. Non-empty = `deletePluginConfiguration`
|
|
29
|
+
* will return a 409 carrying the same entries.
|
|
30
|
+
*/
|
|
31
|
+
getConfigurationUsages(configurationId: string): Observable<Array<ExternalPluginHostUsage>>;
|
|
26
32
|
private returnPluginConfigurationsWithLogos;
|
|
27
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<PluginManagementService, never>;
|
|
28
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<PluginManagementService>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-management.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/plugin-management.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAa,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAgB,UAAU,EAAC,MAAM,MAAM,CAAC;AAC/C,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACf,MAAM,WAAW,CAAC;AACnB,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAC,aAAa,E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EAAE,MAAM,EACvB,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,GAC9B,UAAU,CAAC,mBAAmB,CAAC;IAWlC,yBAAyB,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAMpE,OAAO,CAAC,mCAAmC;
|
|
1
|
+
{"version":3,"file":"plugin-management.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/services/plugin-management.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,UAAU,EAAa,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAgB,UAAU,EAAC,MAAM,MAAM,CAAC;AAC/C,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACf,MAAM,WAAW,CAAC;AACnB,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;;AAEvD,qBAGa,uBAAuB;IAIhC,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,IAAI;IANvB,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAoD;gBAG1E,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,YAAY,EACvB,IAAI,EAAE,UAAU;IAG5B,oBAAoB,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAQhF,kBAAkB,CACvB,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,GACnB,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAQ7B,0BAA0B,IAAI,UAAU,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAMpE,sBAAsB,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAMhF,4CAA4C,CACjD,mBAAmB,EAAE,MAAM,GAC1B,UAAU,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAMlC,iCAAiC,CACtC,UAAU,EAAE,MAAM,GACjB,UAAU,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAMlC,iDAAiD,CACtD,YAAY,EAAE,MAAM,GACnB,UAAU,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAMlC,mCAAmC,CACxC,YAAY,CAAC,EAAE,MAAM,GACpB,UAAU,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAQ1C,uBAAuB,CAC5B,mBAAmB,EAAE,mBAAmB,GACvC,UAAU,CAAC,mBAAmB,CAAC;IAOlC,yBAAyB,CACvB,eAAe,EAAE,MAAM,EACvB,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,uBAAuB,EAAE,MAAM,GAC9B,UAAU,CAAC,mBAAmB,CAAC;IAWlC,yBAAyB,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAMpE;;;;OAIG;IACI,sBAAsB,CAC3B,eAAe,EAAE,MAAM,GACtB,UAAU,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAM7C,OAAO,CAAC,mCAAmC;yCAvHhC,uBAAuB;6CAAvB,uBAAuB;CA6InC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Derives the plugin host data route (`{base}/data`) from a bundle URL
|
|
3
|
+
* (`{base}/bundles/<bundle>.html`) — the route that backs `target: "plugin"` proxy requests.
|
|
4
|
+
* Returns null when the URL does not follow the bundle layout. Shared by every external-plugin
|
|
5
|
+
* hosting surface (case tab, task form, routed page).
|
|
6
|
+
*/
|
|
7
|
+
declare const derivePluginDataUrl: (bundleUrl: string | null) => string | null;
|
|
8
|
+
export { derivePluginDataUrl };
|
|
9
|
+
//# sourceMappingURL=external-plugin-data-url.utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-plugin-data-url.utils.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/utils/external-plugin-data-url.utils.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,QAAA,MAAM,mBAAmB,GAAI,WAAW,MAAM,GAAG,IAAI,KAAG,MAAM,GAAG,IAIhE,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/plugin/src/lib/utils/index.ts"],"names":[],"mappings":"AAgBA,cAAc,kCAAkC,CAAC"}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,8 +2,12 @@ export * from './lib/services';
|
|
|
2
2
|
export * from './lib/models';
|
|
3
3
|
export * from './lib/pipes';
|
|
4
4
|
export * from './lib/constants';
|
|
5
|
+
export * from './lib/utils';
|
|
5
6
|
export * from './lib/components/plugin-configuration-container/plugin-configuration-container.component';
|
|
6
7
|
export * from './lib/components/plugin-configuration-container/plugin-configuration-container.module';
|
|
8
|
+
export * from './lib/components/external-plugin-iframe/external-plugin-iframe.component';
|
|
9
|
+
export * from './lib/components/external-plugin-page/external-plugin-page.component';
|
|
10
|
+
export * from './lib/external-plugin-page-routing.module';
|
|
7
11
|
export * from './lib/components/plugin-configuration-mapping/plugin-configuration-mapping.component';
|
|
8
12
|
export * from './lib/plugins/open-zaak/open-zaak-plugin.module';
|
|
9
13
|
export * from './lib/plugins/open-zaak/components/open-zaak-configuration/open-zaak-configuration.component';
|
|
@@ -85,6 +89,8 @@ export * from './lib/plugins/catalogi-api/components/get-statustype/get-statusty
|
|
|
85
89
|
export * from './lib/plugins/catalogi-api/components/get-eigenschap/get-eigenschap-configuration.component';
|
|
86
90
|
export * from './lib/plugins/catalogi-api/components/get-informatieobjecttype/get-informatieobjecttype-configuration.component';
|
|
87
91
|
export * from './lib/plugins/catalogi-api/components/get-informatieobjecttypen/get-informatieobjecttypen-configuration.component';
|
|
92
|
+
export * from './lib/plugins/catalogi-api/components/get-roltypen/get-roltypen-configuration.component';
|
|
93
|
+
export * from './lib/plugins/catalogi-api/components/get-roltype/get-roltype-configuration.component';
|
|
88
94
|
export * from './lib/plugins/notificaties-api/notificaties-api-plugin.module';
|
|
89
95
|
export * from './lib/plugins/notificaties-api/notificaties-api-plugin.specification';
|
|
90
96
|
export * from './lib/plugins/notificaties-api/components/notificaties-api-configuration/notificaties-api-configuration.component';
|
package/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/plugin/src/public-api.ts"],"names":[],"mappings":"AAoBA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/valtimo/plugin/src/public-api.ts"],"names":[],"mappings":"AAoBA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAE5B,cAAc,0FAA0F,CAAC;AACzG,cAAc,uFAAuF,CAAC;AAEtG,cAAc,0EAA0E,CAAC;AAEzF,cAAc,sEAAsE,CAAC;AACrF,cAAc,2CAA2C,CAAC;AAE1D,cAAc,sFAAsF,CAAC;AAErG,cAAc,iDAAiD,CAAC;AAChE,cAAc,8FAA8F,CAAC;AAC7G,cAAc,wDAAwD,CAAC;AAEvE,cAAc,qFAAqF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