@valtimo/building-block-management 13.13.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/README.md +31 -0
- package/fesm2022/valtimo-building-block-management.mjs +1746 -0
- package/fesm2022/valtimo-building-block-management.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/building-block-management-routing.d.ts +9 -0
- package/lib/building-block-management-routing.d.ts.map +1 -0
- package/lib/building-block-management.module.d.ts +9 -0
- package/lib/building-block-management.module.d.ts.map +1 -0
- package/lib/components/building-block-management-artwork/building-block-management-artwork.component.d.ts +32 -0
- package/lib/components/building-block-management-artwork/building-block-management-artwork.component.d.ts.map +1 -0
- package/lib/components/building-block-management-create-modal/building-block-management-create-modal.component.d.ts +24 -0
- package/lib/components/building-block-management-create-modal/building-block-management-create-modal.component.d.ts.map +1 -0
- package/lib/components/building-block-management-detail/building-block-management-detail.component.d.ts +24 -0
- package/lib/components/building-block-management-detail/building-block-management-detail.component.d.ts.map +1 -0
- package/lib/components/building-block-management-detail-actions/building-block-management-detail-actions.component.d.ts +38 -0
- package/lib/components/building-block-management-detail-actions/building-block-management-detail-actions.component.d.ts.map +1 -0
- package/lib/components/building-block-management-document/building-block-management-document.component.d.ts +27 -0
- package/lib/components/building-block-management-document/building-block-management-document.component.d.ts.map +1 -0
- package/lib/components/building-block-management-general/building-block-management-general.component.d.ts +9 -0
- package/lib/components/building-block-management-general/building-block-management-general.component.d.ts.map +1 -0
- package/lib/components/building-block-management-list/building-block-management-list.component.d.ts +22 -0
- package/lib/components/building-block-management-list/building-block-management-list.component.d.ts.map +1 -0
- package/lib/components/building-block-management-metadata/building-block-management-metadata.component.d.ts +23 -0
- package/lib/components/building-block-management-metadata/building-block-management-metadata.component.d.ts.map +1 -0
- package/lib/components/building-block-management-plugins/building-block-management-plugins.component.d.ts +15 -0
- package/lib/components/building-block-management-plugins/building-block-management-plugins.component.d.ts.map +1 -0
- package/lib/components/building-block-management-process-upload/building-block-management-process-upload.component.d.ts +25 -0
- package/lib/components/building-block-management-process-upload/building-block-management-process-upload.component.d.ts.map +1 -0
- package/lib/components/building-block-management-processes/building-block-management-processes.component.d.ts +40 -0
- package/lib/components/building-block-management-processes/building-block-management-processes.component.d.ts.map +1 -0
- package/lib/components/building-block-management-upload-modal/building-block-management-upload-modal.component.d.ts +45 -0
- package/lib/components/building-block-management-upload-modal/building-block-management-upload-modal.component.d.ts.map +1 -0
- package/lib/components/building-block-management-upload-modal/step/building-block-management-upload-step.component.d.ts +9 -0
- package/lib/components/building-block-management-upload-modal/step/building-block-management-upload-step.component.d.ts.map +1 -0
- package/lib/components/building-block-management-version-selector/building-block-management-version-selector.component.d.ts +19 -0
- package/lib/components/building-block-management-version-selector/building-block-management-version-selector.component.d.ts.map +1 -0
- package/lib/constants/building-block-management-upload.constants.d.ts +13 -0
- package/lib/constants/building-block-management-upload.constants.d.ts.map +1 -0
- package/lib/constants/building-block-management.constants.d.ts +7 -0
- package/lib/constants/building-block-management.constants.d.ts.map +1 -0
- package/lib/constants/index.d.ts +3 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/models/building-block-management.model.d.ts +8 -0
- package/lib/models/building-block-management.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/services/building-block-management-api.service.d.ts +33 -0
- package/lib/services/building-block-management-api.service.d.ts.map +1 -0
- package/lib/services/building-block-management-detail.service.d.ts +48 -0
- package/lib/services/building-block-management-detail.service.d.ts.map +1 -0
- package/lib/services/building-block-management.service.d.ts +20 -0
- package/lib/services/building-block-management.service.d.ts.map +1 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/index.d.ts.map +1 -0
- package/package.json +26 -0
- package/public-api.d.ts +3 -0
- package/public-api.d.ts.map +1 -0
- package/valtimo-building-block-management.d.ts.map +1 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementService } from '../../services';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BuildingBlockManagementCreateModalComponent {
|
|
6
|
+
private readonly buildingBlockManagementApiService;
|
|
7
|
+
private readonly buildingBlockManagementService;
|
|
8
|
+
private readonly fb;
|
|
9
|
+
private readonly router;
|
|
10
|
+
readonly showModal$: import("rxjs").Observable<boolean>;
|
|
11
|
+
readonly usedKeys$: import("rxjs").Observable<string[]>;
|
|
12
|
+
formGroup: FormGroup;
|
|
13
|
+
get name(): FormControl<string>;
|
|
14
|
+
get key(): FormControl<string>;
|
|
15
|
+
get versionTag(): FormControl<string>;
|
|
16
|
+
get description(): FormControl<string>;
|
|
17
|
+
constructor(buildingBlockManagementApiService: BuildingBlockManagementApiService, buildingBlockManagementService: BuildingBlockManagementService, fb: FormBuilder, router: Router);
|
|
18
|
+
onCloseModal(): void;
|
|
19
|
+
onSave(): void;
|
|
20
|
+
private resetForm;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementCreateModalComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementCreateModalComponent, "valtimo-building-block-management-create-modal", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=building-block-management-create-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-create-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-create-modal/building-block-management-create-modal.component.ts"],"names":[],"mappings":"AAyBA,OAAO,EACL,WAAW,EACX,WAAW,EACX,SAAS,EAIV,MAAM,gBAAgB,CAAC;AAQxB,OAAO,EAAC,iCAAiC,EAAE,8BAA8B,EAAC,MAAM,gBAAgB,CAAC;AAEjG,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAGvC,qBAqBa,2CAA2C;IAwBpD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,8BAA8B;IAC/C,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM;IA1BzB,SAAgB,UAAU,qCAAwD;IAClF,SAAgB,SAAS,sCAAiD;IAEnE,SAAS,EAAE,SAAS,CAKxB;IACH,IAAW,IAAI,IAAI,WAAW,CAAC,MAAM,CAAC,CAErC;IACD,IAAW,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,CAEpC;IACD,IAAW,UAAU,IAAI,WAAW,CAAC,MAAM,CAAC,CAE3C;IACD,IAAW,WAAW,IAAI,WAAW,CAAC,MAAM,CAAC,CAE5C;gBAGkB,iCAAiC,EAAE,iCAAiC,EACpE,8BAA8B,EAAE,8BAA8B,EAC9D,EAAE,EAAE,WAAW,EACf,MAAM,EAAE,MAAM;IAG1B,YAAY,IAAI,IAAI;IAKpB,MAAM,IAAI,IAAI;IAuBrB,OAAO,CAAC,SAAS;yCA1DN,2CAA2C;2CAA3C,2CAA2C;CAgEvD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PageTitleService } from '@valtimo/components';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { BuildingBlockManagementDetailService } from '../../services';
|
|
5
|
+
import { BuildingBlockManagementTabKey } from '../../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BuildingBlockManagementDetailComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly route;
|
|
9
|
+
private readonly buildingBlockManagementDetailService;
|
|
10
|
+
private readonly pageTitleService;
|
|
11
|
+
readonly BUILDING_BLOCK_MANAGEMENT_TABS: {
|
|
12
|
+
readonly GENERAL: "general";
|
|
13
|
+
readonly PROCESSES: "process-definition";
|
|
14
|
+
readonly DOCUMENT: "document";
|
|
15
|
+
};
|
|
16
|
+
readonly activeTabKey$: import("rxjs").Observable<BuildingBlockManagementTabKey>;
|
|
17
|
+
constructor(route: ActivatedRoute, buildingBlockManagementDetailService: BuildingBlockManagementDetailService, pageTitleService: PageTitleService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
switchTab(tabKey: BuildingBlockManagementTabKey): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementDetailComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementDetailComponent, "valtimo-building-block-management-detail", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=building-block-management-detail.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-detail.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-detail/building-block-management-detail.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAmB,gBAAgB,EAA8B,MAAM,qBAAqB,CAAC;AAEpG,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,oCAAoC,EAAC,MAAM,gBAAgB,CAAC;AAKpE,OAAO,EAAC,6BAA6B,EAAC,MAAM,cAAc,CAAC;;AAK3D,qBAqBa,sCAAuC,YAAW,MAAM,EAAE,SAAS;IAK5E,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IANnC,SAAgB,8BAA8B;;;;MAAkC;IAChF,SAAgB,aAAa,2DAA2D;gBAGrE,KAAK,EAAE,cAAc,EACrB,oCAAoC,EAAE,oCAAoC,EAC1E,gBAAgB,EAAE,gBAAgB;IAK9C,QAAQ;IAIR,WAAW;IAIX,SAAS,CAAC,MAAM,EAAE,6BAA6B,GAAG,IAAI;yCApBlD,sCAAsC;2CAAtC,sCAAsC;CA0BlD"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { GlobalNotificationService } from '@valtimo/shared';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BuildingBlockManagementDetailActionsComponent {
|
|
8
|
+
private readonly buildingBlockManagementApiService;
|
|
9
|
+
private readonly buildingBlockManagementDetailService;
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly notificationService;
|
|
12
|
+
private readonly translateService;
|
|
13
|
+
private document;
|
|
14
|
+
private readonly _exportMessageTemplateRef;
|
|
15
|
+
readonly actionInProgress$: BehaviorSubject<boolean>;
|
|
16
|
+
readonly showDraftModal$: BehaviorSubject<boolean>;
|
|
17
|
+
readonly definition$: import("rxjs").Observable<import("@valtimo/shared").BuildingBlockDefinitionDto>;
|
|
18
|
+
readonly isFinal$: import("rxjs").Observable<boolean>;
|
|
19
|
+
readonly buildingBlockName$: import("rxjs").Observable<string>;
|
|
20
|
+
private readonly _exporting$;
|
|
21
|
+
get exporting$(): import("rxjs").Observable<boolean>;
|
|
22
|
+
readonly draftForm: FormGroup;
|
|
23
|
+
get versionTag(): FormControl<string>;
|
|
24
|
+
private _currentNotification;
|
|
25
|
+
constructor(buildingBlockManagementApiService: BuildingBlockManagementApiService, buildingBlockManagementDetailService: BuildingBlockManagementDetailService, fb: FormBuilder, notificationService: GlobalNotificationService, translateService: TranslateService, document: Document);
|
|
26
|
+
finalizeDraft(): void;
|
|
27
|
+
openDraftModal(): void;
|
|
28
|
+
closeDraftModal(): void;
|
|
29
|
+
createDraft(): void;
|
|
30
|
+
export(): void;
|
|
31
|
+
private downloadZip;
|
|
32
|
+
private closeCurrentNotification;
|
|
33
|
+
private notifySuccess;
|
|
34
|
+
private notifyError;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementDetailActionsComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementDetailActionsComponent, "valtimo-building-block-management-detail-actions", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=building-block-management-detail-actions.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-detail-actions.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-detail-actions/building-block-management-detail-actions.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAkC,MAAM,gBAAgB,CAAC;AACpG,OAAO,EAAgB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;AAW1D,OAAO,EAAC,eAAe,EAAiC,MAAM,MAAM,CAAC;AACrE,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;;AAGxB,qBAqBa,6CAA6C;IA8BtD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACf,OAAO,CAAC,QAAQ;IAjCpC,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAA8B;IAExE,SAAgB,iBAAiB,2BAAuC;IACxE,SAAgB,eAAe,2BAAuC;IACtE,SAAgB,WAAW,kFAAsE;IACjG,SAAgB,QAAQ,qCAAsD;IAE9E,SAAgB,kBAAkB,oCAG9B;IAEJ,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuC;IACnE,IAAW,UAAU,uCAEpB;IAED,SAAgB,SAAS,EAAE,SAAS,CAEjC;IAEH,IAAW,UAAU,IAAI,WAAW,CAAC,MAAM,CAAC,CAE3C;IAED,OAAO,CAAC,oBAAoB,CAAgB;gBAGzB,iCAAiC,EAAE,iCAAiC,EACpE,oCAAoC,EAAE,oCAAoC,EAC1E,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,yBAAyB,EAC9C,gBAAgB,EAAE,gBAAgB,EACzB,QAAQ,EAAE,QAAQ;IAGvC,aAAa,IAAI,IAAI;IA2BrB,cAAc,IAAI,IAAI;IAItB,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IA+BnB,MAAM,IAAI,IAAI;IAuCrB,OAAO,CAAC,WAAW;IAenB,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,WAAW;yCA7KR,6CAA6C;2CAA7C,6CAA6C;CAoLzD"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
3
|
+
import { IconService } from 'carbon-components-angular';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BuildingBlockManagementDocumentComponent implements OnInit, OnDestroy {
|
|
6
|
+
private readonly buildingBlockManagementDetailService;
|
|
7
|
+
private readonly buildingBlockManagementApiService;
|
|
8
|
+
private readonly iconService;
|
|
9
|
+
private readonly _subscriptions;
|
|
10
|
+
private readonly _loadingDocumentDefinition$;
|
|
11
|
+
readonly loading$: import("rxjs").Observable<boolean>;
|
|
12
|
+
private readonly _documentDefinition$;
|
|
13
|
+
readonly documentDefinition$: import("rxjs").Observable<string>;
|
|
14
|
+
readonly isFinal$: import("rxjs").Observable<boolean>;
|
|
15
|
+
private _modifiedDefinition;
|
|
16
|
+
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService, buildingBlockManagementApiService: BuildingBlockManagementApiService, iconService: IconService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
downloadDefinition(): void;
|
|
20
|
+
onSaveEvent(): void;
|
|
21
|
+
onChangeEvent(event: string): void;
|
|
22
|
+
private openBuildingBlockDefinitionSubscription;
|
|
23
|
+
private setDocumentDefinitionModel;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementDocumentComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementDocumentComponent, "valtimo-building-block-management-document", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=building-block-management-document.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-document.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-document/building-block-management-document.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAE3D,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAA2B,WAAW,EAAgB,MAAM,2BAA2B,CAAC;;AAK/F,qBAea,wCAAyC,YAAW,MAAM,EAAE,SAAS;IAyB9E,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,WAAW;IA1B9B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,OAAO,CAAC,QAAQ,CAAC,2BAA2B,CAAsC;IAElF,SAAgB,QAAQ,qCAQtB;IAEF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAmC;IACxE,SAAgB,mBAAmB,oCAEjC;IAEF,SAAgB,QAAQ,qCAAsD;IAE9E,OAAO,CAAC,mBAAmB,CAAuB;gBAG/B,oCAAoC,EAAE,oCAAoC,EAC1E,iCAAiC,EAAE,iCAAiC,EACpE,WAAW,EAAE,WAAW;IAKpC,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,kBAAkB,IAAI,IAAI;IAgB1B,WAAW,IAAI,IAAI;IAkBnB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAIzC,OAAO,CAAC,uCAAuC;IAmB/C,OAAO,CAAC,0BAA0B;yCAjGvB,wCAAwC;2CAAxC,wCAAwC;CAoGpD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BuildingBlockManagementDetailService } from '../../services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BuildingBlockManagementGeneralComponent {
|
|
4
|
+
private readonly buildingBlockManagementDetailService;
|
|
5
|
+
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementGeneralComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementGeneralComponent, "valtimo-building-block-management-general", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=building-block-management-general.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-general.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-general/building-block-management-general.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,oCAAoC,EAAC,MAAM,gBAAgB,CAAC;;AAMpE,qBAaa,uCAAuC;IAEhD,OAAO,CAAC,QAAQ,CAAC,oCAAoC;gBAApC,oCAAoC,EAAE,oCAAoC;yCAFlF,uCAAuC;2CAAvC,uCAAuC;CAInD"}
|
package/lib/components/building-block-management-list/building-block-management-list.component.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ColumnConfig } from '@valtimo/components';
|
|
2
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementService } from '../../services';
|
|
3
|
+
import { IconService } from 'carbon-components-angular';
|
|
4
|
+
import { BuildingBlockDefinitionDto } from '@valtimo/shared';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BuildingBlockManagementListComponent {
|
|
8
|
+
private readonly buildingBlockManagementApiService;
|
|
9
|
+
private readonly buildingBlockManagementService;
|
|
10
|
+
private readonly iconService;
|
|
11
|
+
private readonly router;
|
|
12
|
+
readonly $loading: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
readonly buildingBlockDefinitions$: import("rxjs").Observable<BuildingBlockDefinitionDto[]>;
|
|
14
|
+
readonly FIELDS: ColumnConfig[];
|
|
15
|
+
constructor(buildingBlockManagementApiService: BuildingBlockManagementApiService, buildingBlockManagementService: BuildingBlockManagementService, iconService: IconService, router: Router);
|
|
16
|
+
showCreateModal(): void;
|
|
17
|
+
showUploadModal(): void;
|
|
18
|
+
onRowClick(buildingBlockDefinition: BuildingBlockDefinitionDto): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementListComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementListComponent, "valtimo-building-block-management-list", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=building-block-management-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-list/building-block-management-list.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAmB,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAC,iCAAiC,EAAE,8BAA8B,EAAC,MAAM,gBAAgB,CAAC;AAEjG,OAAO,EAA2B,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAKhF,OAAO,EAAC,0BAA0B,EAAC,MAAM,iBAAiB,CAAC;AAE3D,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;;AAMvC,qBAgBa,oCAAoC;IAwB7C,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,8BAA8B;IAC/C,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM;IA1BzB,SAAgB,QAAQ,kDAAyB;IAEjD,SAAgB,yBAAyB,0DAQvC;IAEF,SAAgB,MAAM,EAAE,YAAY,EAAE,CAQpC;gBAGiB,iCAAiC,EAAE,iCAAiC,EACpE,8BAA8B,EAAE,8BAA8B,EAC9D,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM;IAK1B,eAAe,IAAI,IAAI;IAIvB,eAAe,IAAI,IAAI;IAIvB,UAAU,CAAC,uBAAuB,EAAE,0BAA0B,GAAG,IAAI;yCAxCjE,oCAAoC;2CAApC,oCAAoC;CAkDhD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
3
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BuildingBlockManagementMetadataComponent implements OnInit, OnDestroy {
|
|
6
|
+
private readonly buildingBlockManagementDetailService;
|
|
7
|
+
private readonly buildingBlockManagementApiService;
|
|
8
|
+
private readonly fb;
|
|
9
|
+
formGroup: FormGroup;
|
|
10
|
+
get name(): FormControl<string>;
|
|
11
|
+
get key(): FormControl<string>;
|
|
12
|
+
get description(): FormControl<string>;
|
|
13
|
+
private readonly _subscriptions;
|
|
14
|
+
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService, buildingBlockManagementApiService: BuildingBlockManagementApiService, fb: FormBuilder);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
onSave(): void;
|
|
18
|
+
private openBuildingBlockDefinitionSubscription;
|
|
19
|
+
private openLoadingAndFinalSubscription;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementMetadataComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementMetadataComponent, "valtimo-building-block-management-metadata", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=building-block-management-metadata.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-metadata.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-metadata/building-block-management-metadata.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAE3D,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,SAAS,EAAkC,MAAM,gBAAgB,CAAC;;AAKpG,qBAgBa,wCAAyC,YAAW,MAAM,EAAE,SAAS;IAmB9E,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,EAAE;IApBd,SAAS,EAAE,SAAS,CAIxB;IACH,IAAW,IAAI,IAAI,WAAW,CAAC,MAAM,CAAC,CAErC;IACD,IAAW,GAAG,IAAI,WAAW,CAAC,MAAM,CAAC,CAEpC;IACD,IAAW,WAAW,IAAI,WAAW,CAAC,MAAM,CAAC,CAE5C;IAED,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,oCAAoC,EAAE,oCAAoC,EAC1E,iCAAiC,EAAE,iCAAiC,EACpE,EAAE,EAAE,WAAW;IAG3B,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAInB,MAAM,IAAI,IAAI;IAcrB,OAAO,CAAC,uCAAuC;IAc/C,OAAO,CAAC,+BAA+B;yCA7D5B,wCAAwC;2CAAxC,wCAAwC;CA6EpD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { PluginManagementService } from '@valtimo/plugin';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BuildingBlockManagementPluginsComponent {
|
|
6
|
+
private readonly buildingBlockManagementApiService;
|
|
7
|
+
private readonly pluginManagementService;
|
|
8
|
+
private readonly buildingBlockManagementDetailService;
|
|
9
|
+
readonly loading$: BehaviorSubject<boolean>;
|
|
10
|
+
readonly usedPluginTitles$: Observable<string[]>;
|
|
11
|
+
constructor(buildingBlockManagementApiService: BuildingBlockManagementApiService, pluginManagementService: PluginManagementService, buildingBlockManagementDetailService: BuildingBlockManagementDetailService);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementPluginsComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementPluginsComponent, "valtimo-building-block-management-plugins", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=building-block-management-plugins.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-plugins.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-plugins/building-block-management-plugins.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAM,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAC,uBAAuB,EAAC,MAAM,iBAAiB,CAAC;;AAIxD,qBAOa,uCAAuC;IAyBhD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,uBAAuB;IACxC,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IA1BvD,SAAgB,QAAQ,2BAAsC;IAE9D,SAAgB,iBAAiB,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAmBrD;gBAGiB,iCAAiC,EAAE,iCAAiC,EACpE,uBAAuB,EAAE,uBAAuB,EAChD,oCAAoC,EAAE,oCAAoC;yCA3BlF,uCAAuC;2CAAvC,uCAAuC;CA6BnD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FormBuilder } from '@angular/forms';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { GlobalNotificationService } from '@valtimo/shared';
|
|
4
|
+
import { BuildingBlockManagementDetailService } from '../../services';
|
|
5
|
+
import { ProcessLinkService } from '@valtimo/process-link';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BuildingBlockManagementProcessUploadComponent {
|
|
8
|
+
private readonly formBuilder;
|
|
9
|
+
private readonly notificationService;
|
|
10
|
+
private readonly processLinkService;
|
|
11
|
+
private readonly buildingBlockManagementDetailService;
|
|
12
|
+
private readonly translateService;
|
|
13
|
+
readonly modalOpen$: import("rxjs").Observable<boolean>;
|
|
14
|
+
readonly ACCEPTED_FILES: string[];
|
|
15
|
+
readonly form: import("@angular/forms").FormGroup<{
|
|
16
|
+
file: import("@angular/forms").FormControl<Set<any>>;
|
|
17
|
+
}>;
|
|
18
|
+
readonly fileSelected$: import("rxjs").Observable<boolean>;
|
|
19
|
+
constructor(formBuilder: FormBuilder, notificationService: GlobalNotificationService, processLinkService: ProcessLinkService, buildingBlockManagementDetailService: BuildingBlockManagementDetailService, translateService: TranslateService);
|
|
20
|
+
closeModal(): void;
|
|
21
|
+
uploadProcessBpmn(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementProcessUploadComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementProcessUploadComponent, "valtimo-building-block-management-process-upload", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=building-block-management-process-upload.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-process-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-process-upload/building-block-management-process-upload.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAEtE,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;AAQ1D,OAAO,EAAC,oCAAoC,EAAC,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;;AAEzD,qBAea,6CAA6C;IAgBtD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAnBnC,SAAgB,UAAU,qCACoD;IAE9E,SAAgB,cAAc,EAAE,MAAM,EAAE,CAAY;IAEpD,SAAgB,IAAI;;OAEjB;IAEH,SAAgB,aAAa,qCAG3B;gBAGiB,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,yBAAyB,EAC9C,kBAAkB,EAAE,kBAAkB,EACtC,oCAAoC,EAAE,oCAAoC,EAC1E,gBAAgB,EAAE,gBAAgB;IAG9C,UAAU,IAAI,IAAI;IAQlB,iBAAiB,IAAI,IAAI;yCA/BrB,6CAA6C;2CAA7C,6CAA6C;CAiEzD"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { ActionItem, ColumnConfig } from '@valtimo/components';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import { BuildingBlockProcessDefinitionItem } from '../../models';
|
|
7
|
+
import { IconService } from 'carbon-components-angular';
|
|
8
|
+
import { Router } from '@angular/router';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class BuildingBlockManagementProcessesComponent implements OnInit, OnDestroy {
|
|
11
|
+
private readonly buildingBlockManagementDetailService;
|
|
12
|
+
private readonly buildingBlockManagementApiService;
|
|
13
|
+
private readonly translateService;
|
|
14
|
+
private readonly iconService;
|
|
15
|
+
private readonly router;
|
|
16
|
+
readonly $loading: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
private readonly _buildingBlockProcessDefinitions$;
|
|
18
|
+
private _buildingBlockProcessDefinitionItems;
|
|
19
|
+
readonly buildingBlockProcessDefinitionItems$: Observable<BuildingBlockProcessDefinitionItem[]>;
|
|
20
|
+
readonly FIELDS: ColumnConfig[];
|
|
21
|
+
onDeleteClick: (process: BuildingBlockProcessDefinitionItem) => void;
|
|
22
|
+
readonly ACTION_ITEMS: ActionItem[];
|
|
23
|
+
readonly isFinal$: Observable<boolean>;
|
|
24
|
+
readonly showDeleteModal$: BehaviorSubject<boolean>;
|
|
25
|
+
private readonly _subscriptions;
|
|
26
|
+
private _processToDelete;
|
|
27
|
+
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService, buildingBlockManagementApiService: BuildingBlockManagementApiService, translateService: TranslateService, iconService: IconService, router: Router);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
onRowClick(processDefinition: BuildingBlockProcessDefinitionItem): void;
|
|
31
|
+
showUploadModal(): void;
|
|
32
|
+
onCreateClick(): void;
|
|
33
|
+
onDeleteConfirm(): void;
|
|
34
|
+
onMarkAsMain(process: BuildingBlockProcessDefinitionItem): void;
|
|
35
|
+
private markAsMainDisabled;
|
|
36
|
+
private deleteDisabled;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementProcessesComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementProcessesComponent, "valtimo-building-block-management-processes", never, {}, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=building-block-management-processes.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-processes.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-processes/building-block-management-processes.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AAEnE,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,eAAe,EAIf,UAAU,EAIX,MAAM,MAAM,CAAC;AAEd,OAAO,EACL,UAAU,EAEV,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAC,kCAAkC,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAA2B,WAAW,EAAC,MAAM,2BAA2B,CAAC;AAGhF,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,C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nInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { IconService, NotificationContent } from 'carbon-components-angular';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { UPLOAD_STATUS, UPLOAD_STEP } from '../../constants';
|
|
7
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementService } from '../../services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class BuildingBlockManagementUploadModalComponent implements OnInit, OnDestroy {
|
|
10
|
+
private readonly buildingBlockManagementApiService;
|
|
11
|
+
private readonly buildingBlockManagementService;
|
|
12
|
+
private readonly fb;
|
|
13
|
+
private readonly iconService;
|
|
14
|
+
private readonly translateService;
|
|
15
|
+
readonly acceptedFiles: string[];
|
|
16
|
+
readonly showUploadModal$: Observable<boolean>;
|
|
17
|
+
private readonly _disabled$;
|
|
18
|
+
readonly UPLOAD_STEP: typeof UPLOAD_STEP;
|
|
19
|
+
readonly UPLOAD_STATUS: typeof UPLOAD_STATUS;
|
|
20
|
+
readonly activeStep$: BehaviorSubject<UPLOAD_STEP>;
|
|
21
|
+
readonly backButtonEnabled$: Observable<boolean>;
|
|
22
|
+
readonly isStepAfterUpload$: Observable<boolean>;
|
|
23
|
+
readonly showCloseButton$: Observable<boolean>;
|
|
24
|
+
readonly $warningChecked: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
+
readonly nextButtonDisabled$: Observable<boolean>;
|
|
26
|
+
readonly notificationObj$: Observable<NotificationContent>;
|
|
27
|
+
readonly showCheckboxError$: BehaviorSubject<boolean>;
|
|
28
|
+
readonly uploadStatus$: BehaviorSubject<UPLOAD_STATUS>;
|
|
29
|
+
form: FormGroup;
|
|
30
|
+
private readonly _importFile$;
|
|
31
|
+
private readonly _subscriptions;
|
|
32
|
+
constructor(buildingBlockManagementApiService: BuildingBlockManagementApiService, buildingBlockManagementService: BuildingBlockManagementService, fb: FormBuilder, iconService: IconService, translateService: TranslateService);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
onCloseModal(definitionUploaded?: boolean): void;
|
|
36
|
+
onBackClick(activeStep: UPLOAD_STEP): void;
|
|
37
|
+
onNextClick(activeStep: UPLOAD_STEP): void;
|
|
38
|
+
onCheckedChange(checked: boolean): void;
|
|
39
|
+
private setZipFile;
|
|
40
|
+
private uploadDefinition;
|
|
41
|
+
private resetModal;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementUploadModalComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementUploadModalComponent, "valtimo-building-block-management-upload-modal", never, {}, {}, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=building-block-management-upload-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-upload-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-upload-modal/building-block-management-upload-modal.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAqC,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AAC5F,OAAO,EAEL,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAEtE,OAAO,EAKL,WAAW,EAEX,mBAAmB,EAGpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAgC,MAAM,MAAM,CAAC;AACpG,OAAO,EAAQ,aAAa,EAAE,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAC,iCAAiC,EAAE,8BAA8B,EAAC,MAAM,gBAAgB,CAAC;;AAKjG,qBAmBa,2CAA4C,YAAW,MAAM,EAAE,SAAS;IA2DjF,OAAO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I;IAmB1C,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAU9C,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,gBAAgB;IAqBxB,OAAO,CAAC,UAAU;yCArLP,2CAA2C;2CAA3C,2CAA2C;CA4LvD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BuildingBlockManagementUploadStepComponent {
|
|
3
|
+
illustration: string;
|
|
4
|
+
message: string;
|
|
5
|
+
title: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementUploadStepComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementUploadStepComponent, "valtimo-building-block-management-upload-step", never, { "illustration": { "alias": "illustration"; "required": false; }; "message": { "alias": "message"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=building-block-management-upload-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-upload-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-upload-modal/step/building-block-management-upload-step.component.ts"],"names":[],"mappings":";AAmBA,qBAOa,0CAA0C;IAC5C,YAAY,EAAG,MAAM,CAAC;IACtB,OAAO,EAAG,MAAM,CAAC;IACjB,KAAK,EAAG,MAAM,CAAC;yCAHb,0CAA0C;2CAA1C,0CAA0C;CAItD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BuildingBlockManagementApiService, BuildingBlockManagementDetailService } from '../../services';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ListItem } from 'carbon-components-angular';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BuildingBlockManagementVersionSelectorComponent {
|
|
6
|
+
private readonly buildingBlockManagementDetailService;
|
|
7
|
+
private readonly buildingBlockManagementApiService;
|
|
8
|
+
private readonly _versions$;
|
|
9
|
+
readonly versionListItems$: Observable<ListItem[]>;
|
|
10
|
+
onVersionSelected(event: {
|
|
11
|
+
item?: {
|
|
12
|
+
id?: string;
|
|
13
|
+
};
|
|
14
|
+
}): void;
|
|
15
|
+
constructor(buildingBlockManagementDetailService: BuildingBlockManagementDetailService, buildingBlockManagementApiService: BuildingBlockManagementApiService);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementVersionSelectorComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BuildingBlockManagementVersionSelectorComponent, "valtimo-building-block-management-version-selector", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=building-block-management-version-selector.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-version-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/building-block-management/src/lib/components/building-block-management-version-selector/building-block-management-version-selector.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,iCAAiC,EACjC,oCAAoC,EACrC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAqB,UAAU,EAAY,MAAM,MAAM,CAAC;AAC/D,OAAO,EAAiB,QAAQ,EAAY,MAAM,2BAA2B,CAAC;;AAE9E,qBAOa,+CAA+C;IA+BxD,OAAO,CAAC,QAAQ,CAAC,oCAAoC;IACrD,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IA/BpD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAOzB;IAEF,SAAgB,iBAAiB,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAYvD;IAEK,iBAAiB,CAAC,KAAK,EAAE;QAAC,IAAI,CAAC,EAAE;YAAC,EAAE,CAAC,EAAE,MAAM,CAAA;SAAC,CAAA;KAAC,GAAG,IAAI;gBAO1C,oCAAoC,EAAE,oCAAoC,EAC1E,iCAAiC,EAAE,iCAAiC;yCAhC5E,+CAA+C;2CAA/C,+CAA+C;CAkC3D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare enum UPLOAD_STATUS {
|
|
2
|
+
ACTIVE = "active",
|
|
3
|
+
ERROR = "error",
|
|
4
|
+
FINISHED = "finished"
|
|
5
|
+
}
|
|
6
|
+
declare enum UPLOAD_STEP {
|
|
7
|
+
FILE_SELECT = "fileSelect",
|
|
8
|
+
FILE_UPLOAD = "fileUpload",
|
|
9
|
+
PLUGINS = "plugins"
|
|
10
|
+
}
|
|
11
|
+
declare const STEPS: UPLOAD_STEP[];
|
|
12
|
+
export { STEPS, UPLOAD_STATUS, UPLOAD_STEP };
|
|
13
|
+
//# sourceMappingURL=building-block-management-upload.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-upload.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/constants/building-block-management-upload.constants.ts"],"names":[],"mappings":"AAgBA,aAAK,aAAa;IAChB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,aAAK,WAAW;IACd,WAAW,eAAe;IAC1B,WAAW,eAAe;IAC1B,OAAO,YAAY;CACpB;AAED,QAAA,MAAM,KAAK,eAA0E,CAAC;AAEtF,OAAO,EAAC,KAAK,EAAE,aAAa,EAAE,WAAW,EAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const BUILDING_BLOCK_MANAGEMENT_TABS: {
|
|
2
|
+
readonly GENERAL: "general";
|
|
3
|
+
readonly PROCESSES: "process-definition";
|
|
4
|
+
readonly DOCUMENT: "document";
|
|
5
|
+
};
|
|
6
|
+
export { BUILDING_BLOCK_MANAGEMENT_TABS };
|
|
7
|
+
//# sourceMappingURL=building-block-management.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management.constants.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/constants/building-block-management.constants.ts"],"names":[],"mappings":"AAgBA,QAAA,MAAM,8BAA8B;;;;CAI1B,CAAC;AAEX,OAAO,EAAC,8BAA8B,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/constants/index.ts"],"names":[],"mappings":"AAgBA,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BUILDING_BLOCK_MANAGEMENT_TABS } from '../constants';
|
|
2
|
+
import { BuildingBlockProcessDefinitionDto } from '@valtimo/shared';
|
|
3
|
+
type BuildingBlockManagementTabKey = (typeof BUILDING_BLOCK_MANAGEMENT_TABS)[keyof typeof BUILDING_BLOCK_MANAGEMENT_TABS];
|
|
4
|
+
interface BuildingBlockProcessDefinitionItem extends BuildingBlockProcessDefinitionDto {
|
|
5
|
+
mainText: string;
|
|
6
|
+
}
|
|
7
|
+
export { BuildingBlockManagementTabKey, BuildingBlockProcessDefinitionItem };
|
|
8
|
+
//# sourceMappingURL=building-block-management.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management.model.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/models/building-block-management.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,8BAA8B,EAAC,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAC,iCAAiC,EAAC,MAAM,iBAAiB,CAAC;AAElE,KAAK,6BAA6B,GAChC,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAEvF,UAAU,kCAAmC,SAAQ,iCAAiC;IACpF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,OAAO,EAAC,6BAA6B,EAAE,kCAAkC,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/models/index.ts"],"names":[],"mappings":"AAgBA,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
2
|
+
import { BaseApiService, BuildingBlockDefinitionArtworkDto, BuildingBlockDefinitionDto, BuildingBlockProcessDefinitionDto, BuildingBlockVersionDto, ConfigService, CreateBuildingBlockDefinitionArtworkDto, CreateBuildingBlockDefinitionDto, Page, UpdateBuildingBlockDefinitionDto } from '@valtimo/shared';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { PluginsWithDependencies } from '@valtimo/process-link';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BuildingBlockManagementApiService extends BaseApiService {
|
|
7
|
+
protected readonly configService: ConfigService;
|
|
8
|
+
protected readonly httpClient: HttpClient;
|
|
9
|
+
constructor(configService: ConfigService, httpClient: HttpClient);
|
|
10
|
+
getBuildingBlockDefinitions(options?: {
|
|
11
|
+
includeArtwork: boolean;
|
|
12
|
+
}): Observable<BuildingBlockDefinitionDto[]>;
|
|
13
|
+
createBuildingBlockDefinition(dto: CreateBuildingBlockDefinitionDto): Observable<BuildingBlockDefinitionDto>;
|
|
14
|
+
getBuildingBlockDefinition(key: string, versionTag: string): Observable<BuildingBlockDefinitionDto>;
|
|
15
|
+
updateBuildingBlockDefinition(key: string, versionTag: string, dto: UpdateBuildingBlockDefinitionDto): Observable<BuildingBlockDefinitionDto>;
|
|
16
|
+
getBuildingBlockDocumentDefinition(key: string, versionTag: string): Observable<object>;
|
|
17
|
+
updateBuildingBlockDocumentDefinition(key: string, versionTag: string, schema: any): Observable<object>;
|
|
18
|
+
getBuildingBlockProcessDefinitions(key: string, versionTag: string): Observable<BuildingBlockProcessDefinitionDto[]>;
|
|
19
|
+
importBuildingBlockDefinition(file: FormData): Observable<HttpResponse<Blob>>;
|
|
20
|
+
getBuildingBlockArtwork(key: string, versionTag: string): Observable<BuildingBlockDefinitionArtworkDto | null>;
|
|
21
|
+
createBuildingBlockArtwork(key: string, versionTag: string, dto: CreateBuildingBlockDefinitionArtworkDto): Observable<BuildingBlockDefinitionArtworkDto>;
|
|
22
|
+
deleteBuildingBlockArtwork(key: string, versionTag: string): Observable<void>;
|
|
23
|
+
getPluginDefinitionsForBuildingBlock(key: string, versionTag: string): Observable<PluginsWithDependencies>;
|
|
24
|
+
getVersionsForBuildingBlock(key: string, page?: number, size?: number, all?: boolean): Observable<Page<BuildingBlockVersionDto>>;
|
|
25
|
+
finalizeBuildingBlockDefinition(key: string, versionTag: string): Observable<BuildingBlockDefinitionDto>;
|
|
26
|
+
createDraftBuildingBlockDefinition(key: string, basedOnVersionTag: string, versionTag: string): Observable<BuildingBlockDefinitionDto>;
|
|
27
|
+
setMainBuildingBlockProcessDefinition(key: string, versionTag: string, processDefinitionId: string): Observable<void>;
|
|
28
|
+
deleteBuildingBlockProcessDefinition(key: string, versionTag: string, processDefinitionId: string): Observable<void>;
|
|
29
|
+
exportBuildingBlock(key: string, versionTag: string): Observable<HttpResponse<Blob>>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementApiService, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildingBlockManagementApiService>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=building-block-management-api.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/services/building-block-management-api.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAkC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAE9F,OAAO,EACL,cAAc,EACd,iCAAiC,EACjC,0BAA0B,EAC1B,iCAAiC,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
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { BuildingBlockManagementApiService } from './building-block-management-api.service';
|
|
5
|
+
import { BuildingBlockDefinitionDto } from '@valtimo/shared';
|
|
6
|
+
import { PageTitleService } from '@valtimo/components';
|
|
7
|
+
import { BuildingBlockManagementTabKey } from '../models';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class BuildingBlockManagementDetailService implements OnDestroy {
|
|
10
|
+
private readonly buildingBlockManagementApiService;
|
|
11
|
+
private readonly pageTitleService;
|
|
12
|
+
private readonly router;
|
|
13
|
+
private readonly _loadingDefinition$;
|
|
14
|
+
get loadingDefinition$(): Observable<boolean>;
|
|
15
|
+
private readonly _routeSubject$;
|
|
16
|
+
private get _route$();
|
|
17
|
+
private _buildingBlockDefinitionKey;
|
|
18
|
+
get buildingBlockDefinitionKey(): string;
|
|
19
|
+
get buildingBlockDefinitionKey$(): Observable<string>;
|
|
20
|
+
private _buildingBlockDefinitionVersionTag;
|
|
21
|
+
get buildingBlockDefinitionVersionTag(): string;
|
|
22
|
+
get buildingBlockDefinitionVersionTag$(): Observable<string>;
|
|
23
|
+
get activeTabKey$(): Observable<BuildingBlockManagementTabKey>;
|
|
24
|
+
private readonly _buildingBlockDefinition$;
|
|
25
|
+
get buildingBlockDefinition$(): Observable<BuildingBlockDefinitionDto>;
|
|
26
|
+
get isFinal$(): Observable<boolean>;
|
|
27
|
+
private readonly _showProcessDefinitionUploadModal$;
|
|
28
|
+
readonly showProcessDefinitionUploadModal$: Observable<boolean>;
|
|
29
|
+
private readonly _reload$;
|
|
30
|
+
private readonly _reloadVersions$;
|
|
31
|
+
get reloadVersions$(): Observable<null>;
|
|
32
|
+
private readonly _reloadProcessDefinitions$;
|
|
33
|
+
get reloadProcessDefinitions$(): Observable<null>;
|
|
34
|
+
constructor(buildingBlockManagementApiService: BuildingBlockManagementApiService, pageTitleService: PageTitleService, router: Router);
|
|
35
|
+
setRoute(route: ActivatedRoute): void;
|
|
36
|
+
private readonly _subscriptions;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
navigateToTab(tabKey: BuildingBlockManagementTabKey): void;
|
|
39
|
+
navigateToVersionTag(versionTag: string): void;
|
|
40
|
+
reload(): void;
|
|
41
|
+
reloadVersions(): void;
|
|
42
|
+
showProcessDefinitionUploadModal(): void;
|
|
43
|
+
hideProcessDefinitionUploadModal(): void;
|
|
44
|
+
reloadProcessDefinitions(): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementDetailService, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildingBlockManagementDetailService>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=building-block-management-detail.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management-detail.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/services/building-block-management-detail.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAML,UAAU,EAIX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,cAAc,EAAE,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAC,iCAAiC,EAAC,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAC,0BAA0B,EAAC,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,6BAA6B,EAAC,MAAM,WAAW,CAAC;;AAGxD,qBACa,oCAAqC,YAAW,SAAS;IAkFlE,OAAO,CAAC,QAAQ,CAAC,iCAAiC;IAClD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAnFzB,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsC;IAC1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G,IAAI;IAe9C,MAAM,IAAI,IAAI;IAId,cAAc,IAAI,IAAI;IAItB,gCAAgC,IAAI,IAAI;IAIxC,gCAAgC,IAAI,IAAI;IAIxC,wBAAwB,IAAI,IAAI;yCAjK5B,oCAAoC;6CAApC,oCAAoC;CAoKhD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BuildingBlockManagementService {
|
|
3
|
+
private readonly _showCreateModal$;
|
|
4
|
+
readonly showCreateModal$: import("rxjs").Observable<boolean>;
|
|
5
|
+
private readonly _showUploadModal$;
|
|
6
|
+
readonly showUploadModal$: import("rxjs").Observable<boolean>;
|
|
7
|
+
private readonly _usedKeys$;
|
|
8
|
+
readonly usedKeys$: import("rxjs").Observable<string[]>;
|
|
9
|
+
private readonly _reload$;
|
|
10
|
+
readonly reload$: import("rxjs").Observable<null>;
|
|
11
|
+
showCreateModal(): void;
|
|
12
|
+
hideCreateModal(): void;
|
|
13
|
+
showUploadModal(): void;
|
|
14
|
+
hideUploadModal(): void;
|
|
15
|
+
setUsedKeys(keys: string[]): void;
|
|
16
|
+
reload(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BuildingBlockManagementService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BuildingBlockManagementService>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=building-block-management.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"building-block-management.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/building-block-management/src/lib/services/building-block-management.service.ts"],"names":[],"mappings":";AAmBA,qBACa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAuC;IACzE,SAAgB,gBAAgB,qCAAyC;IACzE,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAuC;IACzE,SAAgB,gBAAgB,qCAAyC;IACzE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqC;IAChE,SAAgB,SAAS,sCAAkC;IAC3D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmC;IAC5D,SAAgB,OAAO,kCAAgC;IAEhD,eAAe,IAAI,IAAI;IAGvB,eAAe,IAAI,IAAI;IAIvB,eAAe,IAAI,IAAI;IAGvB,eAAe,IAAI,IAAI;IAIvB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI;IAIjC,MAAM,IAAI,IAAI;yCA5BV,8BAA8B;6CAA9B,8BAA8B;CA+B1C"}
|