@valtimo/case 13.1.3 → 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.
Files changed (58) hide show
  1. package/fesm2022/valtimo-case.mjs +519 -937
  2. package/fesm2022/valtimo-case.mjs.map +1 -1
  3. package/lib/case.module.d.ts +6 -1
  4. package/lib/case.module.d.ts.map +1 -1
  5. package/lib/components/case-detail/case-detail.component.d.ts +1 -1
  6. package/lib/components/case-detail/case-detail.component.d.ts.map +1 -1
  7. package/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.d.ts +36 -0
  8. package/lib/components/case-detail/tab/widgets/components/collection/case-widget-collection.component.d.ts.map +1 -0
  9. package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts +22 -0
  10. package/lib/components/case-detail/tab/widgets/components/custom/case-widget-custom.component.d.ts.map +1 -0
  11. package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts +28 -0
  12. package/lib/components/case-detail/tab/widgets/components/field/case-widget-field.component.d.ts.map +1 -0
  13. package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts +25 -0
  14. package/lib/components/case-detail/tab/widgets/components/formio/case-widget-formio.component.d.ts.map +1 -0
  15. package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts +37 -0
  16. package/lib/components/case-detail/tab/widgets/components/table/case-widget-table.component.d.ts.map +1 -0
  17. package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts +2 -2
  18. package/lib/components/case-detail/tab/widgets/components/widget-process/widget-process.d.ts.map +1 -1
  19. package/lib/components/case-detail/tab/widgets/widgets.component.d.ts +5 -6
  20. package/lib/components/case-detail/tab/widgets/widgets.component.d.ts.map +1 -1
  21. package/lib/components/case-list/case-list.component.d.ts +7 -2
  22. package/lib/components/case-list/case-list.component.d.ts.map +1 -1
  23. package/lib/components/case-list-actions/case-list-actions.component.d.ts.map +1 -1
  24. package/lib/constants/index.d.ts +0 -1
  25. package/lib/constants/index.d.ts.map +1 -1
  26. package/lib/models/case-widget-display.model.d.ts +9 -3
  27. package/lib/models/case-widget-display.model.d.ts.map +1 -1
  28. package/lib/permissions/case-detail.permissions.d.ts +2 -1
  29. package/lib/permissions/case-detail.permissions.d.ts.map +1 -1
  30. package/lib/services/case-export.service.d.ts +22 -0
  31. package/lib/services/case-export.service.d.ts.map +1 -0
  32. package/lib/services/case-menu.service.d.ts +21 -0
  33. package/lib/services/case-menu.service.d.ts.map +1 -0
  34. package/lib/services/case-tab.service.d.ts +2 -2
  35. package/lib/services/case-tab.service.d.ts.map +1 -1
  36. package/lib/services/case-widgets-api.service.d.ts +3 -2
  37. package/lib/services/case-widgets-api.service.d.ts.map +1 -1
  38. package/lib/services/index.d.ts +2 -1
  39. package/lib/services/index.d.ts.map +1 -1
  40. package/package.json +1 -1
  41. package/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.d.ts +0 -57
  42. package/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.d.ts.map +0 -1
  43. package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts +0 -31
  44. package/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.d.ts.map +0 -1
  45. package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts +0 -46
  46. package/lib/components/case-detail/tab/widgets/components/field/widget-field.component.d.ts.map +0 -1
  47. package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts +0 -29
  48. package/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.d.ts.map +0 -1
  49. package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts +0 -39
  50. package/lib/components/case-detail/tab/widgets/components/table/widget-table.component.d.ts.map +0 -1
  51. package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts +0 -42
  52. package/lib/components/case-detail/tab/widgets/components/widget-block/widget-block.component.d.ts.map +0 -1
  53. package/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts +0 -20
  54. package/lib/components/case-detail/tab/widgets/components/widgets-container/widgets-container.component.d.ts.map +0 -1
  55. package/lib/constants/custom-case-widget-token.d.ts +0 -5
  56. package/lib/constants/custom-case-widget-token.d.ts.map +0 -1
  57. package/lib/services/case-widgets-layout.service.d.ts +0 -35
  58. package/lib/services/case-widgets-layout.service.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"case-widgets-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-widgets-api.service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,aAAa,EAAkB,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;;AAEzC,qBAGa,qBAAsB,SAAQ,cAAc;IAErD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,yBAAyB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IAMzF,aAAa,CAClB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GACnB,UAAU,CAAC,MAAM,CAAC;yCAnBV,qBAAqB;6CAArB,qBAAqB;CA6BjC"}
1
+ {"version":3,"file":"case-widgets-api.service.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/case-widgets-api.service.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAC,cAAc,EAAE,aAAa,EAAmB,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,WAAW,CAAC;AACzC,OAAO,EAAC,cAAc,EAAC,MAAM,qBAAqB,CAAC;;AAEnD,qBAGa,qBAAsB,SAAQ,cAAc;IAErD,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,aAAa;gBAD5B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa;IAK1C,yBAAyB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,cAAc,CAAC;IAMzF,aAAa,CAClB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,GACnB,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;yCAnBxB,qBAAqB;6CAArB,qBAAqB;CA6BjC"}
@@ -11,7 +11,8 @@ export * from './case-tab-api.service';
11
11
  export * from './case-list-status.service';
12
12
  export * from './start-modal.service';
13
13
  export * from './case-widgets-api.service';
14
- export * from './case-widgets-layout.service';
15
14
  export * from './case-detail-layout.service';
16
15
  export * from './case-list-case-tag.service';
16
+ export * from './case-export.service';
17
+ export * from './case-menu.service';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/case/src/lib/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valtimo/case",
3
3
  "license": "EUPL-1.2",
4
- "version": "13.1.3",
4
+ "version": "13.2.1",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^19.2.8",
7
7
  "@angular/core": "^19.2.8"
@@ -1,57 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
2
- import { PaginationModel } from 'carbon-components-angular';
3
- import { CaseWidgetAction, CollectionCaseWidget, CollectionCaseWidgetCardData, CollectionWidgetResolvedField } from '../../../../../../models';
4
- import { BehaviorSubject, Observable } from 'rxjs';
5
- import { ViewContentService } from '@valtimo/components';
6
- import { Page } from '@valtimo/shared';
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 WidgetCollectionComponent extends WidgetProcess implements AfterViewInit, OnDestroy {
14
- protected readonly documentService: DocumentService;
15
- protected readonly permissionService: PermissionService;
16
- private readonly viewContentService;
17
- private readonly cdr;
18
- private readonly widgetApiService;
19
- private readonly widgetsService;
20
- readonly class = "valtimo-widget-collection";
21
- private _widgetCollectionRef;
22
- set documentId(value: string);
23
- tabKey: string;
24
- set widgetConfiguration(value: CollectionCaseWidget);
25
- readonly showPagination$: BehaviorSubject<boolean>;
26
- private readonly _initialNumberOfElementsSubject$;
27
- private get _initialNumberOfElements$();
28
- set widgetData(value: Page<CollectionCaseWidgetCardData> | null);
29
- readonly noVisibleFields$: BehaviorSubject<boolean>;
30
- readonly widgetTitle: import("@angular/core").WritableSignal<string>;
31
- readonly widgetConfiguration$: BehaviorSubject<CollectionCaseWidget>;
32
- readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
33
- readonly amountOfColumns: import("@angular/core").WritableSignal<number>;
34
- private readonly _widgetDataSubject$;
35
- private readonly _queryParams$;
36
- private readonly _widgetData$;
37
- readonly collectionWidgetCards$: Observable<{
38
- title: string;
39
- fields: CollectionWidgetResolvedField[];
40
- key: number;
41
- hidden: boolean;
42
- }[]>;
43
- private _observer;
44
- constructor(documentService: DocumentService, permissionService: PermissionService, viewContentService: ViewContentService, cdr: ChangeDetectorRef, widgetApiService: CaseWidgetsApiService, widgetsService: WidgetsService);
45
- ngAfterViewInit(): void;
46
- ngOnDestroy(): void;
47
- onSelectPage(page: number): void;
48
- onProcessStartClick(process: CaseWidgetAction): void;
49
- private getCardField;
50
- private openWidthObserver;
51
- private observerMutation;
52
- private getCardTitle;
53
- private checkEmptyFields;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCollectionComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCollectionComponent, "valtimo-widget-collection", never, { "documentId": { "alias": "documentId"; "required": true; }; "tabKey": { "alias": "tabKey"; "required": true; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, {}, never, never, true, never>;
56
- }
57
- //# sourceMappingURL=widget-collection.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/collection/widget-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAKjB,SAAS,EAIV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAGL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAEhB,oBAAoB,EACpB,4BAA4B,EAG5B,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAqB,MAAM,MAAM,CAAC;AACjG,OAAO,EAAmB,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAC,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;;AAErD,qBAiBa,yBAA0B,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IA+G5F,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE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K1C,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQhC,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI3D,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,gBAAgB;yCAzMb,yBAAyB;2CAAzB,yBAAyB;CAiNrC"}
@@ -1,31 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
2
- import { CaseWidgetAction, CustomCaseWidget, CustomCaseWidgetConfig } from '../../../../../../models';
3
- import { Observable } from 'rxjs';
4
- import { DocumentService } from '@valtimo/document';
5
- import { PermissionService } from '@valtimo/access-control';
6
- import { WidgetProcess } from '../widget-process/widget-process';
7
- import { WidgetsService } from '../../widgets.service';
8
- import * as i0 from "@angular/core";
9
- export declare class WidgetCustomComponent extends WidgetProcess implements AfterViewInit, OnDestroy {
10
- private readonly customCaseWidgetConfig;
11
- private readonly cdr;
12
- private readonly widgetsService;
13
- protected readonly documentService: DocumentService;
14
- protected readonly permissionService: PermissionService;
15
- private readonly _customWidgetContainerRef;
16
- set documentId(value: string);
17
- set widgetConfig(value: CustomCaseWidget);
18
- private readonly _customCaseWidgetConfig$;
19
- private readonly _widgetConfigSubject$;
20
- get widgetConfig$(): Observable<CustomCaseWidget>;
21
- readonly noCustomComponentAvailable: import("@angular/core").WritableSignal<boolean>;
22
- private readonly _subscriptions;
23
- constructor(customCaseWidgetConfig: CustomCaseWidgetConfig, cdr: ChangeDetectorRef, widgetsService: WidgetsService, documentService: DocumentService, permissionService: PermissionService);
24
- ngAfterViewInit(): void;
25
- ngOnDestroy(): void;
26
- onProcessStartClick(process: CaseWidgetAction): void;
27
- private openCustomWidgetSubscription;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCustomComponent, [{ optional: true; }, null, null, null, null]>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCustomComponent, "valtimo-widget-custom", never, { "documentId": { "alias": "documentId"; "required": true; }; "widgetConfig": { "alias": "widgetConfig"; "required": false; }; }, {}, never, never, true, never>;
30
- }
31
- //# sourceMappingURL=widget-custom.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/custom/widget-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAIjB,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAC,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAEpG,OAAO,EAAyC,UAAU,EAAe,MAAM,MAAM,CAAC;AAGtF,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;;AAErD,qBAQa,qBAAsB,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IA4BxF,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACvC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IA9BzD,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAmB;IAE7D,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3D;IACD,IAAoB,YAAY,CAAC,KAAK,EAAE,gBAAgB,EAIvD;IAED,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAwD;IAEjG,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAsD;IAE5F,IAAW,aAAa,IAAI,UAAU,CAAC,gBAAgB,CAAC,CAEvD;IAED,SAAgB,0BAA0B,kDAAiB;IAE3D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAKlC,sBAAsB,EAAE,sBAAsB,EAC9C,GAAG,EAAE,iBAAiB,EACtB,cAAc,EAAE,cAAc,EAC5B,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB;IAMlD,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI3D,OAAO,CAAC,4BAA4B;yCAlDzB,qBAAqB;2CAArB,qBAAqB;CAsEjC"}
@@ -1,46 +0,0 @@
1
- import { AfterViewInit, OnDestroy } from '@angular/core';
2
- import { ViewContentService } from '@valtimo/components';
3
- import { BehaviorSubject, Observable } from 'rxjs';
4
- import { CaseWidgetAction, FieldsCaseWidget } from '../../../../../../models';
5
- import { WidgetsService } from '../../widgets.service';
6
- import { PermissionService } from '@valtimo/access-control';
7
- import { ActivatedRoute } from '@angular/router';
8
- import { WidgetProcess } from '../widget-process/widget-process';
9
- import { DocumentService } from '@valtimo/document';
10
- import * as i0 from "@angular/core";
11
- export declare class WidgetFieldComponent extends WidgetProcess implements AfterViewInit, OnDestroy {
12
- protected readonly documentService: DocumentService;
13
- protected readonly permissionService: PermissionService;
14
- private readonly route;
15
- private readonly viewContentService;
16
- private readonly widgetsService;
17
- readonly class = "widget-field";
18
- private _widgetFieldRef;
19
- set documentId(value: string);
20
- collapseVertically: boolean;
21
- set widgetConfiguration(value: FieldsCaseWidget);
22
- readonly isEmptyWidgetData$: BehaviorSubject<boolean>;
23
- readonly noVisibleFields$: BehaviorSubject<boolean>;
24
- set widgetData(value: object);
25
- readonly renderVertically: import("@angular/core").WritableSignal<number>;
26
- readonly widgetConfiguration$: BehaviorSubject<FieldsCaseWidget>;
27
- readonly widgetData$: BehaviorSubject<object>;
28
- readonly widgetPropertyValue$: Observable<{
29
- title: string;
30
- value: string;
31
- ellipsisCharacterLimit: number | null;
32
- hideWhenEmpty: boolean | false;
33
- }[][]>;
34
- private _observer;
35
- constructor(documentService: DocumentService, permissionService: PermissionService, route: ActivatedRoute, viewContentService: ViewContentService, widgetsService: WidgetsService);
36
- ngAfterViewInit(): void;
37
- ngOnDestroy(): void;
38
- onProcessStartClick(process: CaseWidgetAction): void;
39
- private openWidthObserver;
40
- private observerMutation;
41
- private checkEmptyWidgetData;
42
- private checkEmptyFields;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFieldComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFieldComponent, "valtimo-widget-field", never, { "documentId": { "alias": "documentId"; "required": true; }; "collapseVertically": { "alias": "collapseVertically"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, {}, never, never, true, never>;
45
- }
46
- //# sourceMappingURL=widget-field.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/field/widget-field.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAMb,SAAS,EAIV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,kBAAkB,EAAW,MAAM,qBAAqB,CAAC;AAEjG,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAM,MAAM,MAAM,CAAC;AAC1E,OAAO,EACL,gBAAgB,EAEhB,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAC,MAAM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CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAI3D,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,gBAAgB;yCApHb,oBAAoB;2CAApB,oBAAoB;CA4HhC"}
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/valtimo/case/src/lib/components/case-detail/tab/widgets/components/formio/widget-formio.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,gBAAgB,EAAE,8BAA8B,EAAC,MAAM,0BAA0B,CAAC;AAC1F,OAAO,EAA8C,UAAU,EAAqB,MAAM,MAAM,CAAC;AACjG,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;;AAErD,qBAQa,qBAAsB,SAAQ,aAAa;IAyCpD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,cAAc;IA5CjC,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3C;IACD,IAAoB,mBAAmB,CAAC,KAAK,EAAE,8BAA8B,EAK5E;IAED,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CACsB;IACnE,IAAW,oBAAoB,IAAI,UAAU,CAAC,8BAA8B,CAAC,CAE5E;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAmC;IACvE,OAAO,KAAK,YAAY,GAEvB;IAED,SAAgB,wBAAwB,EAAE,UAAU,CAAC,UAAU,CAAC,CAe9D;gBAGmB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACtC,WAAW,EAAE,WAAW,EACxB,aAAa,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
@@ -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,CAAC;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAC,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;;AAErD,qBAgBa,oBAAqB,SAAQ,aAAa;IA2GnD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,eAAe;IACnD,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,cAAc;IA9GjC,IAAoC,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3D;IAC+B,MAAM,EAAE,MAAM,CAAC;IAE/C,OAAO,CAAC,oBAAoB,CAAkB;IAC9C,IAAoC,mBAAmB,CAAC,KAAK,EAAE,eAAe,EA2B7E;IACD,IAAW,mBAAmB,IAAI,eAAe,CAEhD;IAED,OAAO,CAAC,QAAQ,CAAC,gCAAgC,CAAqC;IAEtF,OAAO,KAAK,yBAAyB,GAIpC;IAED,SAAgB,eAAe,2BAAuC;IAEtE,OAAO,CAAC,YAAY,CAAsD;IAC1E,IAA6B,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,IAAI,EAiBzE;IAED,SAAgB,OAAO,kCAA2C;IAClE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4C;IAE1E,SAAgB,eAAe,0DAAkD;IAEjF,SAAgB,WAAW,+BA8BzB;gBAGmB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACtC,qBAAqB,EAAE,qBAAqB,EAC5C,GAAG,EAAE,iBAAiB,EACtB,cAAc,EAAE,cAAc;IAK1C,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQhC,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;yCA5HhD,oBAAoB;2CAApB,oBAAoB;CA+HhC"}
@@ -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,E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AAgB,MAAM,2BAUpB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,OAAO,CAAC,SAAS,CAAkB;IAEnC,OAAO,CAAC,WAAW,CAAU;gBAGV,wBAAwB,EAAE,wBAAwB,EAClD,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,cAAc,EACrB,iBAAiB,EAAE,qBAAqB,EACxC,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,gBAAgB;IAGrC,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,gBAAgB;yCA5Ib,oBAAoB;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,MAAM,CAAC;AACd,OAAO,EAAC,kBAAkB,EAAC,MAAM,WAAW,CAAC;AAE7C,OAAO,KAAK,MAAM,OAAO,CAAC;;AAE1B,qBACa,wBA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