@valtimo/case 13.2.0 → 13.2.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-case.mjs +389 -888
- package/fesm2022/valtimo-case.mjs.map +1 -1
- package/lib/case.module.d.ts +5 -0
- package/lib/case.module.d.ts.map +1 -1
- package/lib/components/case-detail/case-detail.component.d.ts +1 -1
- package/lib/components/case-detail/case-detail.component.d.ts.map +1 -1
- package/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.d.ts +36 -0
- package/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts +22 -0
- package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts +28 -0
- package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts +25 -0
- package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts +37 -0
- package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts.map +1 -0
- package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts +2 -2
- package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts.map +1 -1
- package/lib/components/case-detail/tab/widgets/widgets.component.d.ts +5 -6
- package/lib/components/case-detail/tab/widgets/widgets.component.d.ts.map +1 -1
- package/lib/constants/index.d.ts +0 -1
- package/lib/constants/index.d.ts.map +1 -1
- package/lib/services/case-menu.service.d.ts +21 -0
- package/lib/services/case-menu.service.d.ts.map +1 -0
- package/lib/services/case-tab.service.d.ts +2 -2
- package/lib/services/case-tab.service.d.ts.map +1 -1
- package/lib/services/case-widgets-api.service.d.ts +3 -2
- package/lib/services/case-widgets-api.service.d.ts.map +1 -1
- package/lib/services/index.d.ts +1 -1
- package/lib/services/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.d.ts +0 -57
- package/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts +0 -31
- package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts +0 -47
- package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts +0 -29
- package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts +0 -39
- package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts +0 -42
- package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts.map +0 -1
- package/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts +0 -20
- package/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts.map +0 -1
- package/lib/constants/custom-case-widget-token.d.ts +0 -5
- package/lib/constants/custom-case-widget-token.d.ts.map +0 -1
- package/lib/services/case-widgets-layout.service.d.ts +0 -35
- package/lib/services/case-widgets-layout.service.d.ts.map +0 -1
package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CaseWidgetAction, FormioCaseWidgetWidgetWithUuid } from '../../../../../../models';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { FormService } from '@valtimo/form';
|
|
4
|
-
import { CaseWidgetsLayoutService } from '../../../../../../services';
|
|
5
|
-
import { FormioForm } from '@formio/angular';
|
|
6
|
-
import { WidgetProcess } from '../widget-process/widget-process';
|
|
7
|
-
import { PermissionService } from '@valtimo/access-control';
|
|
8
|
-
import { DocumentService } from '@valtimo/document';
|
|
9
|
-
import { WidgetsService } from '../../widgets.service';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class WidgetFormioComponent extends WidgetProcess {
|
|
12
|
-
protected readonly documentService: DocumentService;
|
|
13
|
-
protected readonly permissionService: PermissionService;
|
|
14
|
-
private readonly formService;
|
|
15
|
-
private readonly layoutService;
|
|
16
|
-
private readonly widgetsService;
|
|
17
|
-
set documentId(value: string);
|
|
18
|
-
set widgetConfiguration(value: FormioCaseWidgetWidgetWithUuid);
|
|
19
|
-
private readonly _widgetConfigurationSubject$;
|
|
20
|
-
get widgetConfiguration$(): Observable<FormioCaseWidgetWidgetWithUuid>;
|
|
21
|
-
private readonly _documentIdSubject$;
|
|
22
|
-
private get _documentId$();
|
|
23
|
-
readonly prefilledFormDefinition$: Observable<FormioForm>;
|
|
24
|
-
constructor(documentService: DocumentService, permissionService: PermissionService, formService: FormService, layoutService: CaseWidgetsLayoutService, widgetsService: WidgetsService);
|
|
25
|
-
onProcessStartClick(process: CaseWidgetAction): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFormioComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFormioComponent, "valtimo-widget-formio", never, { "documentId": { "alias": "documentId"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=widget-formio.component.d.ts.map
|
package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case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,EAAE,wBAAwB,EACvC,cAAc,EAAE,cAAc;IAK1C,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;yCAlDhD,qBAAqB;2CAArB,qBAAqB;CAqDjC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { CarbonListItem, ColumnConfig } from '@valtimo/components';
|
|
3
|
-
import { Page } from '@valtimo/shared';
|
|
4
|
-
import { PaginationModel } from 'carbon-components-angular';
|
|
5
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
-
import { CaseWidgetAction, TableCaseWidget } from '../../../../../../models';
|
|
7
|
-
import { CaseWidgetsApiService } from '../../../../../../services';
|
|
8
|
-
import { WidgetProcess } from '../widget-process/widget-process';
|
|
9
|
-
import { DocumentService } from '@valtimo/document';
|
|
10
|
-
import { PermissionService } from '@valtimo/access-control';
|
|
11
|
-
import { WidgetsService } from '../../widgets.service';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class WidgetTableComponent extends WidgetProcess {
|
|
14
|
-
protected readonly documentService: DocumentService;
|
|
15
|
-
protected readonly permissionService: PermissionService;
|
|
16
|
-
private readonly caseWidgetsApiService;
|
|
17
|
-
private readonly cdr;
|
|
18
|
-
private readonly widgetsService;
|
|
19
|
-
set documentId(value: string);
|
|
20
|
-
tabKey: string;
|
|
21
|
-
private _widgetConfiguration;
|
|
22
|
-
set widgetConfiguration(value: TableCaseWidget);
|
|
23
|
-
get widgetConfiguration(): TableCaseWidget;
|
|
24
|
-
private readonly _initialNumberOfElementsSubject$;
|
|
25
|
-
private get _initialNumberOfElements$();
|
|
26
|
-
readonly showPagination$: BehaviorSubject<boolean>;
|
|
27
|
-
private _widgetData$;
|
|
28
|
-
set widgetData(value: Page<CarbonListItem> | null);
|
|
29
|
-
readonly fields$: BehaviorSubject<ColumnConfig[]>;
|
|
30
|
-
private readonly _queryParams$;
|
|
31
|
-
readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
|
|
32
|
-
readonly widgetData$: Observable<CarbonListItem[]>;
|
|
33
|
-
constructor(documentService: DocumentService, permissionService: PermissionService, caseWidgetsApiService: CaseWidgetsApiService, cdr: ChangeDetectorRef, widgetsService: WidgetsService);
|
|
34
|
-
onSelectPage(page: number): void;
|
|
35
|
-
onProcessStartClick(process: CaseWidgetAction): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTableComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetTableComponent, "valtimo-widget-table", never, { "documentId": { "alias": "documentId"; "required": true; }; "tabKey": { "alias": "tabKey"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": true; }; "widgetData": { "alias": "widgetData"; "required": true; }; }, {}, never, never, true, never>;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=widget-table.component.d.ts.map
|
package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/table/widget-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAKlB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,cAAc,EAAoB,YAAY,EAAW,MAAM,qBAAqB,CAAC;AAC7F,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAEL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAgB,MAAM,MAAM,CAAC;AAC5F,OAAO,EAAC,gBAAgB,EAAyB,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAClG,OAAO,EAAC,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC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hD,oBAAoB;2CAApB,oBAAoB;CA+HhC"}
|
package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { CaseWidgetType, CaseWidgetWithUuid } from '../../../../../../models';
|
|
6
|
-
import { CaseTabService, CaseWidgetsApiService, CaseWidgetsLayoutService } from '../../../../../../services';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class WidgetBlockComponent implements AfterViewInit, OnDestroy {
|
|
9
|
-
private readonly caseWidgetsLayoutService;
|
|
10
|
-
private readonly caseTabService;
|
|
11
|
-
private readonly route;
|
|
12
|
-
private readonly widgetsApiService;
|
|
13
|
-
private readonly cdsThemeService;
|
|
14
|
-
private readonly renderer;
|
|
15
|
-
private readonly viewRef;
|
|
16
|
-
private _widgetBlockContentRef;
|
|
17
|
-
set widget(value: CaseWidgetWithUuid);
|
|
18
|
-
private readonly _widget$;
|
|
19
|
-
get widget$(): Observable<CaseWidgetWithUuid>;
|
|
20
|
-
private readonly _viewContainerRefSubject$;
|
|
21
|
-
private get _viewContainerRef$();
|
|
22
|
-
private readonly _contentHeight$;
|
|
23
|
-
readonly blockHeightPx$: Observable<[number, ViewContainerRef]>;
|
|
24
|
-
readonly blockWidthPercentage$: Observable<[number, CaseWidgetWithUuid, ViewContainerRef]>;
|
|
25
|
-
readonly CaseWidgetType: typeof CaseWidgetType;
|
|
26
|
-
readonly documentId$: Observable<any>;
|
|
27
|
-
readonly tabKey$: Observable<string>;
|
|
28
|
-
readonly widgetData$: Observable<any[] | {} | null>;
|
|
29
|
-
readonly theme$: Observable<CARBON_THEME>;
|
|
30
|
-
private readonly _subscriptions;
|
|
31
|
-
private _observer;
|
|
32
|
-
private _widgetUuid;
|
|
33
|
-
constructor(caseWidgetsLayoutService: CaseWidgetsLayoutService, caseTabService: CaseTabService, route: ActivatedRoute, widgetsApiService: CaseWidgetsApiService, cdsThemeService: CdsThemeService, renderer: Renderer2, viewRef: ViewContainerRef);
|
|
34
|
-
ngAfterViewInit(): void;
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
private openContentHeightObserver;
|
|
37
|
-
private observerMutation;
|
|
38
|
-
private getPageSizeParam;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetBlockComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetBlockComponent, "valtimo-case-widget-block", never, { "widget": { "alias": "widget"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=widget-block.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widget-block.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,aAAa,EAKb,SAAS,EACT,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EACL,YAAY,EAEZ,eAAe,EAEhB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAML,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,cAAc,EAAE,kBAAkB,EAAqB,MAAM,0BAA0B,CAAC;AAChG,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,4BAA4B,CAAC;;AAQpC,qBAmBa,oBAAqB,YAAW,aAAa,EAAE,SAAS;IA0GjE,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IACzC,OAAO,CAAC,QAAQ,CAAC,cAAc;I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AoB;2CAApB,oBAAoB;CA+IhC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CaseWidget, CaseWidgetWithUuid } from '../../../../../../models';
|
|
3
|
-
import { CaseWidgetsLayoutService } from '../../../../../../services';
|
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class WidgetsContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
|
-
private readonly caseWidgetsLayoutService;
|
|
8
|
-
private _widgetsContainerRef;
|
|
9
|
-
readonly widgetsWithUuids$: BehaviorSubject<CaseWidgetWithUuid[]>;
|
|
10
|
-
set widgets(value: CaseWidget[]);
|
|
11
|
-
private _observer;
|
|
12
|
-
constructor(caseWidgetsLayoutService: CaseWidgetsLayoutService);
|
|
13
|
-
ngAfterViewInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private observerMutation;
|
|
16
|
-
private initMuuri;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetsContainerComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetsContainerComponent, "valtimo-case-widgets-container", never, { "widgets": { "alias": "widgets"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=widgets-container.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"widgets-container.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EAEV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,UAAU,EAAE,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAExE,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EAAC,eAAe,EAAc,MAAM,MAAM,CAAC;;AAGlD,qBAQa,yBAA0B,YAAW,aAAa,EAAE,SAAS;IAa5D,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAZtB,OAAO,CAAC,oBAAoB,CAA6B;IAExF,SAAgB,iBAAiB,wCAAiD;IAElF,IAAoB,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,EAI9C;IAED,OAAO,CAAC,SAAS,CAAkB;gBAEN,wBAAwB,EAAE,wBAAwB;IAExE,eAAe,IAAI,IAAI;IASvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,SAAS;yCArCN,yBAAyB;2CAAzB,yBAAyB;CAiDrC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { CustomCaseWidgetConfig } from '../models';
|
|
3
|
-
declare const CUSTOM_CASE_WIDGET_TOKEN: InjectionToken<CustomCaseWidgetConfig>;
|
|
4
|
-
export { CUSTOM_CASE_WIDGET_TOKEN };
|
|
5
|
-
//# sourceMappingURL=custom-case-widget-token.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-case-widget-token.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/constants/custom-case-widget-token.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAEjD,QAAA,MAAM,wBAAwB,wCAE7B,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { CaseWidgetWithUuid } from '../models';
|
|
4
|
-
import Muuri from 'muuri';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CaseWidgetsLayoutService implements OnDestroy {
|
|
7
|
-
private readonly _containerWidthSubject$;
|
|
8
|
-
private readonly _widgetsSubject$;
|
|
9
|
-
private readonly _caseWidgetDataLoadedSubject$;
|
|
10
|
-
private readonly _muuriSubject$;
|
|
11
|
-
private readonly _triggerMuuriLayout$;
|
|
12
|
-
private get _muuri$();
|
|
13
|
-
private get _containerWidth$();
|
|
14
|
-
get amountOfColumns$(): Observable<number>;
|
|
15
|
-
private get _widgets$();
|
|
16
|
-
private get _caseWidgetDataLoaded$();
|
|
17
|
-
private readonly _widgetsWithExternalData$;
|
|
18
|
-
private readonly _widgetsWithExternalDataReady$;
|
|
19
|
-
private readonly _subscriptions;
|
|
20
|
-
get loaded$(): Observable<boolean>;
|
|
21
|
-
constructor();
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
setMuuri(muuri: Muuri): void;
|
|
24
|
-
triggerMuuriLayout(): void;
|
|
25
|
-
setWidgets(widgets: CaseWidgetWithUuid[]): void;
|
|
26
|
-
setWidgetWithExternalData(uuid: string): void;
|
|
27
|
-
setWidgetWithExternalDataReady(uuid: string): void;
|
|
28
|
-
setContainerWidth(width: number): void;
|
|
29
|
-
setCaseWidgetDataLoaded(uuid: string): void;
|
|
30
|
-
reset(): void;
|
|
31
|
-
private openMuuriSubscription;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaseWidgetsLayoutService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CaseWidgetsLayoutService>;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=case-widgets-layout.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"case-widgets-layout.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-widgets-layout.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAa,SAAS,EAAC,MAAM,eAAe,CAAC;AACpD,OAAO,EAML,UAAU,EAIX,MAAM,M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