@valtimo/layout 13.4.1 → 13.6.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/assets/img/marker.svg +3 -0
- package/assets/img/widget-management/types/map.svg +63 -0
- package/fesm2022/valtimo-layout.mjs +3356 -2432
- package/fesm2022/valtimo-layout.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/widget-action-button/widget-action-button.component.d.ts +14 -0
- package/lib/components/widget-action-button/widget-action-button.component.d.ts.map +1 -0
- package/lib/components/widget-block/widget-block.component.d.ts +0 -1
- package/lib/components/widget-block/widget-block.component.d.ts.map +1 -1
- package/lib/components/widget-collection/widget-collection.component.d.ts +1 -1
- package/lib/components/widget-collection/widget-collection.component.d.ts.map +1 -1
- package/lib/components/widget-container/widget-container.component.d.ts +1 -1
- package/lib/components/widget-container/widget-container.component.d.ts.map +1 -1
- package/lib/components/widget-custom/widget-custom.component.d.ts +4 -2
- package/lib/components/widget-custom/widget-custom.component.d.ts.map +1 -1
- package/lib/components/widget-field/widget-field.component.d.ts.map +1 -1
- package/lib/components/widget-formio/widget-formio.component.d.ts +5 -3
- package/lib/components/widget-formio/widget-formio.component.d.ts.map +1 -1
- package/lib/components/widget-interactive-table/widget-interactive-table.component.d.ts.map +1 -1
- package/lib/components/widget-management/management/widget-management.component.d.ts +7 -5
- package/lib/components/widget-management/management/widget-management.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-action-button/widget-management-action-button.component.d.ts +30 -0
- package/lib/components/widget-management/management-action-button/widget-management-action-button.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/collection/widget-management-collection.component.d.ts +11 -9
- package/lib/components/widget-management/management-content/collection/widget-management-collection.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-content/custom/widget-management-custom.component.d.ts +6 -5
- package/lib/components/widget-management/management-content/custom/widget-management-custom.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.d.ts +5 -1
- package/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-content/fields/widget-management-fields.component.d.ts +8 -13
- package/lib/components/widget-management/management-content/fields/widget-management-fields.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.d.ts +45 -0
- package/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/index.d.ts +1 -0
- package/lib/components/widget-management/management-content/index.d.ts.map +1 -1
- package/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.d.ts +3 -6
- package/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-content/map/widget-management-map.component.d.ts +33 -0
- package/lib/components/widget-management/management-content/map/widget-management-map.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/table/widget-management-table.component.d.ts +12 -9
- package/lib/components/widget-management/management-content/table/widget-management-table.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.d.ts +34 -0
- package/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts +18 -10
- package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-process-selector/widget-management-process-selector.component.d.ts +29 -0
- package/lib/components/widget-management/management-process-selector/widget-management-process-selector.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/index.d.ts +2 -1
- package/lib/components/widget-management/management-wizard/steps/index.d.ts.map +1 -1
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.d.ts +11 -11
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component.d.ts +33 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-step.component.d.ts +2 -2
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-step.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.d.ts +1 -1
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.d.ts +1 -1
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.d.ts.map +1 -1
- package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts +12 -26
- package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts.map +1 -1
- package/lib/components/widget-map/index.d.ts +2 -0
- package/lib/components/widget-map/index.d.ts.map +1 -0
- package/lib/components/widget-map/widget-map.component.d.ts +27 -0
- package/lib/components/widget-map/widget-map.component.d.ts.map +1 -0
- package/lib/components/widget-table/widget-table.component.d.ts +1 -0
- package/lib/components/widget-table/widget-table.component.d.ts.map +1 -1
- package/lib/constants/widget.constants.d.ts.map +1 -1
- package/lib/interfaces/index.d.ts +1 -1
- package/lib/interfaces/widget-details-component.interface.d.ts +9 -0
- package/lib/interfaces/widget-details-component.interface.d.ts.map +1 -0
- package/lib/interfaces/widget-management-service.interface.d.ts +1 -2
- package/lib/interfaces/widget-management-service.interface.d.ts.map +1 -1
- package/lib/models/widget-content.model.d.ts +6 -3
- package/lib/models/widget-content.model.d.ts.map +1 -1
- package/lib/models/widget-editor.model.d.ts.map +1 -1
- package/lib/models/widget-wizard.model.d.ts +12 -16
- package/lib/models/widget-wizard.model.d.ts.map +1 -1
- package/lib/models/widget.model.d.ts +29 -6
- package/lib/models/widget.model.d.ts.map +1 -1
- package/lib/services/widget-wizard.service.d.ts +22 -9
- package/lib/services/widget-wizard.service.d.ts.map +1 -1
- package/package.json +3 -2
- package/lib/interfaces/widget-content-component.interface.d.ts +0 -6
- package/lib/interfaces/widget-content-component.interface.d.ts.map +0 -1
|
@@ -11,4 +11,6 @@ export * from './widget-custom';
|
|
|
11
11
|
export * from './widget-block';
|
|
12
12
|
export * from './widget-container';
|
|
13
13
|
export * from './widget-management';
|
|
14
|
+
export * from './widget-map';
|
|
15
|
+
export * from './widget-action-button/widget-action-button.component';
|
|
14
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/components/index.ts"],"names":[],"mappings":"AAgBA,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/valtimo/layout/src/lib/components/index.ts"],"names":[],"mappings":"AAgBA,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BasicWidget, WidgetAction } from '../../models';
|
|
2
|
+
import { GlobalNotificationService } from '@valtimo/shared';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetActionButtonComponent {
|
|
5
|
+
private readonly globalNotificationService;
|
|
6
|
+
widgetConfiguration: BasicWidget;
|
|
7
|
+
resolvedData: object;
|
|
8
|
+
constructor(globalNotificationService: GlobalNotificationService);
|
|
9
|
+
onNavigateButtonClick(buttonAction: WidgetAction): void;
|
|
10
|
+
private resolveProperty;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetActionButtonComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetActionButtonComponent, "valtimo-widget-action-button", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "resolvedData": { "alias": "resolvedData"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=widget-action-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-action-button.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-action-button/widget-action-button.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,cAAc,CAAC;AACvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,iBAAiB,CAAC;;AAE1D,qBAOa,2BAA2B;IAI1B,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAHtC,mBAAmB,EAAE,WAAW,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;gBAER,yBAAyB,EAAE,yBAAyB;IAE1E,qBAAqB,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI;IAe9D,OAAO,CAAC,eAAe;yCArBZ,2BAA2B;2CAA3B,2BAA2B;CAyBvC"}
|
|
@@ -27,7 +27,6 @@ export declare class WidgetBlockComponent implements AfterViewInit, OnDestroy {
|
|
|
27
27
|
readonly theme$: Observable<CARBON_THEME>;
|
|
28
28
|
private readonly _subscriptions;
|
|
29
29
|
private _observer;
|
|
30
|
-
private _widgetUuid;
|
|
31
30
|
constructor(widgetLayoutService: WidgetLayoutService, route: ActivatedRoute, cdsThemeService: CdsThemeService, renderer: Renderer2, viewRef: ViewContainerRef);
|
|
32
31
|
ngAfterViewInit(): void;
|
|
33
32
|
ngOnDestroy(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-block.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-block/widget-block.component.ts"],"names":[],"mappings":"AAgBA,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,EAKL,UAAU,EAIX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,kBAAkB,EAAE,cAAc,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAGzE,qBAQa,oBAAqB,YAAW,aAAa,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"widget-block.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-block/widget-block.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EACT,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CA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e,IAAI,IAAI;IAMvB,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,gBAAgB;IAQjB,+BAA+B,IAAI,IAAI;yCA5GnC,oBAAoB;2CAApB,oBAAoB;CA4HhC"}
|
|
@@ -19,7 +19,7 @@ export declare class WidgetCollectionComponent implements AfterViewInit, OnDestr
|
|
|
19
19
|
set widgetData(value: Page<CollectionWidgetCardData> | null);
|
|
20
20
|
readonly paginationEvent: EventEmitter<PaginationModel>;
|
|
21
21
|
readonly noVisibleFields$: BehaviorSubject<boolean>;
|
|
22
|
-
readonly widgetTitle: import("@angular/core").WritableSignal<string>;
|
|
22
|
+
readonly $widgetTitle: import("@angular/core").WritableSignal<string>;
|
|
23
23
|
readonly widgetConfiguration$: BehaviorSubject<CollectionWidget>;
|
|
24
24
|
readonly paginationModel: import("@angular/core").WritableSignal<PaginationModel>;
|
|
25
25
|
readonly amountOfColumns: import("@angular/core").WritableSignal<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-collection/widget-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,YAAY,EAGZ,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAGL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAM,MAAM,MAAM,CAAC;AAClF,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-collection/widget-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,YAAY,EAGZ,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAGL,eAAe,EAGhB,MAAM,2BAA2B,CAAC;AACnC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AAE,iBAAiB;IAGlC,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIvC,OAAO,CAAC,YAAY;IAqBpB,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,gBAAgB;yCAtLb,yBAAyB;2CAAzB,yBAAyB;CA8LrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { WidgetLayoutService } from '../../services/widget-layout.service';
|
|
4
3
|
import { Widget, WidgetComponentMap, WidgetWithUuid } from '../../models';
|
|
4
|
+
import { WidgetLayoutService } from '../../services/widget-layout.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class WidgetContainerComponent implements AfterViewInit, OnDestroy {
|
|
7
7
|
private readonly widgetLayoutService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-container/widget-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EAEV,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"widget-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-container/widget-container.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EAEV,MAAM,eAAe,CAAC;AAKvB,OAAO,EAAC,eAAe,EAAgB,UAAU,EAAO,MAAM,MAAM,CAAC;AAIrE,OAAO,EAAC,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAC,MAAM,cAAc,CAAC;AACxE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAGzE,qBASa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAoC3D,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAnCjB,OAAO,CAAC,oBAAoB,CAA6B;IAExF,SAAgB,iBAAiB,oCAA+C;IAEhF,IAAoB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAQ1C;IAED,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAEnC;IAEF,IAAW,mBAAmB,IAAI,UAAU,CAAC,kBAAkB,CAAC,CAE/D;IAED,IAAoB,kBAAkB,CAAC,KAAK,EAAE,kBAAkB,EAE/D;IAEgC,YAAY,EAAE,MAAM,CAAM;IAE3D,SAAgB,2BAA2B,2BAAsC;IAEjF,SAAgB,OAAO,2BAAuC;IAC9D,SAAgB,OAAO,sBAA0E;IAEjG,OAAO,CAAC,SAAS,CAAkB;gBAEN,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,IAAI,IAAI;IAI9B,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,aAAa;IAKd,UAAU,IAAI,IAAI;IAUlB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,gBAAgB;IASxB,OAAO,CAAC,SAAS;yCA7EN,wBAAwB;2CAAxB,wBAAwB;CAyFpC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { DocumentService } from '@valtimo/document';
|
|
4
4
|
import { PermissionService } from '@valtimo/access-control';
|
|
5
5
|
import { CustomWidget, CustomWidgetConfig } from '../../models';
|
|
@@ -13,9 +13,11 @@ export declare class WidgetCustomComponent implements AfterViewInit, OnDestroy {
|
|
|
13
13
|
protected readonly permissionService: PermissionService;
|
|
14
14
|
private readonly _customWidgetContainerRef;
|
|
15
15
|
set widgetConfiguration(value: CustomWidget);
|
|
16
|
+
set widgetData(value: object);
|
|
16
17
|
set widgetUuid(value: string);
|
|
17
18
|
private readonly _customWidgetConfig$;
|
|
18
19
|
private readonly _widgetConfigSubject$;
|
|
20
|
+
readonly widgetData$: BehaviorSubject<object>;
|
|
19
21
|
get widgetConfig$(): Observable<CustomWidget>;
|
|
20
22
|
readonly noCustomComponentAvailable: import("@angular/core").WritableSignal<boolean>;
|
|
21
23
|
private readonly _subscriptions;
|
|
@@ -24,6 +26,6 @@ export declare class WidgetCustomComponent implements AfterViewInit, OnDestroy {
|
|
|
24
26
|
ngOnDestroy(): void;
|
|
25
27
|
private openCustomWidgetSubscription;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetCustomComponent, [{ optional: true; }, null, null, null, null]>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCustomComponent, "valtimo-widget-custom", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetCustomComponent, "valtimo-widget-custom", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
30
|
}
|
|
29
31
|
//# sourceMappingURL=widget-custom.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-custom/widget-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAIjB,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-custom/widget-custom.component.ts"],"names":[],"mappings":"AAg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,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,4BAA4B;yCAnDzB,qBAAqB;2CAArB,qBAAqB;CAuEjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-field/widget-field.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAIb,YAAY,EAGZ,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-field.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-field/widget-field.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAIb,YAAY,EAGZ,SAAS,EAKV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAIL,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAM,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;;AAI1C,qBAmBa,oBAAqB,YAAW,aAAa,EAAE,SAAS;IAsEvD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IArE/C,SAAsC,KAAK,kBAAkB;IAEnC,OAAO,CAAC,eAAe,CAA6B;IAE9E,IAAoB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAG1D;IACD,SAAgB,kBAAkB,2BAAuC;IACzE,SAAgB,gBAAgB,2BAAsC;IAEtE,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAI3C;IAEe,OAAO,UAAS;IAEhC,SAA0B,oBAAoB,wBAA+B;IAE7E,SAAgB,gBAAgB,iDAAa;IAC7C,SAAgB,oBAAoB,gCAAkD;IACtF,SAAgB,WAAW,0BAA4C;IAEvE,SAAgB,oBAAoB,EAAE,UAAU,CAC9C;QACE,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;QACtC,aAAa,EAAE,OAAO,GAAG,KAAK,CAAC;QAC/B,UAAU,EAAE,OAAO,GAAG,KAAK,CAAC;KAC7B,EAAE,EAAE,CACN,CAgCC;IAEF,OAAO,CAAC,SAAS,CAAkB;gBAEN,kBAAkB,EAAE,kBAAkB;IAE5D,eAAe,IAAI,IAAI;IAGvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,gBAAgB;yCA1Gb,oBAAoB;2CAApB,oBAAoB;CAwHhC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
1
|
+
import { DestroyRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { FormService } from '@valtimo/form';
|
|
4
4
|
import { FormioForm } from '@formio/angular';
|
|
5
5
|
import { FormioWidgetWidgetWithUuid } from '../../models';
|
|
@@ -11,8 +11,10 @@ export declare class WidgetFormioComponent {
|
|
|
11
11
|
private readonly destroyRef;
|
|
12
12
|
set documentId(value: string);
|
|
13
13
|
set widgetConfiguration(value: FormioWidgetWidgetWithUuid);
|
|
14
|
+
set widgetData(value: object);
|
|
14
15
|
set widgetUuid(value: string);
|
|
15
16
|
private readonly _refreshTrigger$;
|
|
17
|
+
readonly widgetData$: BehaviorSubject<object>;
|
|
16
18
|
private _refreshEmitter;
|
|
17
19
|
private _refreshSubscription;
|
|
18
20
|
private _widgetUuid;
|
|
@@ -25,6 +27,6 @@ export declare class WidgetFormioComponent {
|
|
|
25
27
|
readonly prefilledFormDefinition$: Observable<FormioForm>;
|
|
26
28
|
constructor(formService: FormService, widgetLayoutService: WidgetLayoutService, destroyRef: DestroyRef);
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetFormioComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFormioComponent, "valtimo-widget-formio", never, { "documentId": { "alias": "documentId"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; "refreshForm": { "alias": "refreshForm"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetFormioComponent, "valtimo-widget-formio", never, { "documentId": { "alias": "documentId"; "required": false; }; "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; "widgetUuid": { "alias": "widgetUuid"; "required": false; }; "refreshForm": { "alias": "refreshForm"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
29
31
|
}
|
|
30
32
|
//# sourceMappingURL=widget-formio.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-formio/widget-formio.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,
|
|
1
|
+
{"version":3,"file":"widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-formio/widget-formio.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAqC,UAAU,EAAE,YAAY,EAAQ,MAAM,eAAe,CAAC;AAGlG,OAAO,EACL,eAAe,EAIf,UAAU,EAKX,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AAG3C,OAAO,EAAC,0BAA0B,EAAC,MAAM,cAAc,CAAC;AACxD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;;AAIzE,qBAea,qBAAqB;IAkF9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAnF7B,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3C;IAED,IAAoB,mBAAmB,CAAC,KAAK,EAAE,0BAA0B,EAGxE;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAG3C;IAED,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAK3C;IAED,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAwC;IACzE,SAAgB,WAAW,0BAA4C;IAEvE,OAAO,CAAC,eAAe,CAAmC;IAC1D,OAAO,CAAC,oBAAoB,CAA6B;IACzD,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,8BAA8B,CAAS;IAE/C,IACW,WAAW,CAAC,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,GAAG,IAAI,EAYtD;IAED,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CACkB;IAC/D,IAAW,oBAAoB,IAAI,UAAU,CAAC,0BAA0B,CAAC,CAExE;IAED,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAmC;IACvE,OAAO,KAAK,YAAY,GAEvB;IAED,SAAgB,wBAAwB,EAAE,UAAU,CAAC,UAAU,CAAC,CAuB9D;gBAGiB,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,mBAAmB,EACxC,UAAU,EAAE,UAAU;yCApF9B,qBAAqB;2CAArB,qBAAqB;CAsFjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-interactive-table/widget-interactive-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAMb,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,cAAc,EAEd,qBAAqB,EACrB,YAAY,
|
|
1
|
+
{"version":3,"file":"widget-interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-interactive-table/widget-interactive-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAMb,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,cAAc,EAEd,qBAAqB,EACrB,YAAY,EAEZ,UAAU,EAEX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElE,OAAO,EAKL,WAAW,EAIZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,eAAe,EAAE,UAAU,EAAC,MAAM,MAAM,CAAC;AAEjD,OAAO,EAAoB,sBAAsB,EAAE,YAAY,EAAC,MAAM,cAAc,CAAC;;AAErF,qBAqBa,+BAA+B;IAiHxC,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAlH9B,SAAsC,KAAK,sCAAsC;IACjF,OAAO,CAAC,oBAAoB,CAAyB;IAErD,IAAW,mBAAmB,IAAI,sBAAsB,CAEvD;IAED,IAAoC,mBAAmB,CAAC,KAAK,EAAE,sBAAsB,EA2BpF;IAED,SAAgB,eAAe,kDAA0B;IAEzD,SAAgB,WAAW,oCAAsD;IAEjF,OAAO,CAAC,sBAAsB,CAAS;IAEvC,OAAO,CAAC,wBAAwB,CAAU;IAE1C,IAA6B,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,EAkDxD;IAED,SAA0B,eAAe,2BAAkC;IAC3E,SAA0B,aAAa,oBAA2B;IAClE,SAA0B,WAAW,6BAAoC;IACzE,SAA0B,cAAc,+BAAsC;IAE9E,SAAgB,OAAO,kCAA2C;IAClE,SAAgB,gBAAgB,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CACJ;IAE1D,SAAgB,gBAAgB,qDAAmC;IACnE,SAAgB,gBAAgB,gEAG7B;gBAGgB,GAAG,EAAE,iBAAiB,EACtB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,WAAW;IAKpC,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;IAIzC,WAAW,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;IAI7C,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAMvC,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;yCAtItB,+BAA+B;2CAA/B,+BAA+B;CAyI3C"}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { IWidgetManagementService } from '../../../interfaces';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { BasicWidget, WidgetManagementTab, WidgetType, WidgetWidth } from '../../../models';
|
|
3
|
+
import { BasicWidget, WidgetManagementTab, WidgetType, WidgetWidth, WidgetWizardStep } from '../../../models';
|
|
4
4
|
import { EditorModel } from '@valtimo/components';
|
|
5
|
+
import { WidgetWizardService } from '../../../services';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class WidgetManagementComponent {
|
|
7
8
|
private widgetManagementService;
|
|
9
|
+
private readonly widgetWizardService;
|
|
8
10
|
set params(value: any);
|
|
9
11
|
availableWidgetTypes: WidgetType[];
|
|
10
|
-
disableWidthStep: boolean;
|
|
11
12
|
disableDuplicate: boolean;
|
|
13
|
+
enableWidgetDivider: boolean;
|
|
12
14
|
singleWidget: boolean;
|
|
13
15
|
disableJsonEditor: boolean;
|
|
14
16
|
defaultWidth: WidgetWidth;
|
|
15
|
-
|
|
17
|
+
set widgetWizardSteps(value: WidgetWizardStep[]);
|
|
16
18
|
readonly jsonModel$: Observable<EditorModel>;
|
|
17
19
|
readonly $activeTab: import("@angular/core").WritableSignal<WidgetManagementTab>;
|
|
18
20
|
readonly WidgetManagementTab: typeof WidgetManagementTab;
|
|
19
|
-
constructor(widgetManagementService: IWidgetManagementService<any
|
|
21
|
+
constructor(widgetManagementService: IWidgetManagementService<any>, widgetWizardService: WidgetWizardService);
|
|
20
22
|
onSaveEvent(widgets: BasicWidget[]): void;
|
|
21
23
|
switchTab(tab: WidgetManagementTab): void;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementComponent, "valtimo-widget-management", never, { "params": { "alias": "params"; "required": false; }; "availableWidgetTypes": { "alias": "availableWidgetTypes"; "required": false; }; "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementComponent, "valtimo-widget-management", never, { "params": { "alias": "params"; "required": false; }; "availableWidgetTypes": { "alias": "availableWidgetTypes"; "required": false; }; "disableDuplicate": { "alias": "disableDuplicate"; "required": false; }; "enableWidgetDivider": { "alias": "enableWidgetDivider"; "required": false; }; "singleWidget": { "alias": "singleWidget"; "required": false; }; "disableJsonEditor": { "alias": "disableJsonEditor"; "required": false; }; "defaultWidth": { "alias": "defaultWidth"; "required": false; }; "widgetWizardSteps": { "alias": "widgetWizardSteps"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
26
|
}
|
|
25
27
|
//# sourceMappingURL=widget-management.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management/widget-management.component.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAM,UAAU,EAAO,MAAM,MAAM,CAAC;AAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-management.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management/widget-management.component.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAM,UAAU,EAAO,MAAM,MAAM,CAAC;AAC3C,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,WAAW,EAAsB,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAEtD,qBAca,yBAAyB;IAgClC,OAAO,CAAC,uBAAuB;IAC/B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAhCtC,IAAoB,MAAM,CAAC,KAAK,EAAE,GAAG,EAGpC;IACQ,oBAAoB,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAgB,UAAS;IACzB,mBAAmB,UAAQ;IAC3B,YAAY,UAAS;IACrB,iBAAiB,UAAS;IAC1B,YAAY,EAAG,WAAW,CAAC;IAE3C,IAAoB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAI9D;IAED,SAAgB,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC,CAO/C;IAEJ,SAAgB,UAAU,8DAA2D;IACrF,SAAgB,mBAAmB,6BAAuB;gBAIhD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC,EAC7C,mBAAmB,EAAE,mBAAmB;IAGpD,WAAW,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI;IAIzC,SAAS,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI;yCAxCrC,yBAAyB;2CAAzB,yBAAyB;CA2CrC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { ListItem } from 'carbon-components-angular';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
+
import { WidgetWizardService } from '../../../services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class WidgetManagementActionButtonComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly fb;
|
|
9
|
+
private readonly widgetWizardService;
|
|
10
|
+
readonly class = "valtimo-widget-management-action-button";
|
|
11
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
12
|
+
readonly buttonType$: BehaviorSubject<"link" | "process">;
|
|
13
|
+
readonly dropdownItems$: Observable<ListItem[]>;
|
|
14
|
+
readonly formGroup: import("@angular/forms").FormGroup<{
|
|
15
|
+
navigateTo: import("@angular/forms").FormControl<string>;
|
|
16
|
+
name: import("@angular/forms").FormControl<string>;
|
|
17
|
+
}>;
|
|
18
|
+
private readonly _subscriptions;
|
|
19
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
onTypeSelected(event: {
|
|
23
|
+
item: ListItem;
|
|
24
|
+
}): void;
|
|
25
|
+
private formContentValidator;
|
|
26
|
+
private openValueChangeSubscription;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementActionButtonComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementActionButtonComponent, "valtimo-widget-management-action-button", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=widget-management-action-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-action-button.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-action-button/widget-management-action-button.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAIL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAEL,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAA8B,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAC,eAAe,EAAqB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAGtD,qBAgBa,qCAAsC,YAAW,MAAM,EAAE,SAAS;IA8C3E,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA9CtC,SAAsC,KAAK,6CAA6C;IAExF,SAAgB,cAAc,kFAA2C;IACzE,SAAgB,WAAW,sCAEzB;IACF,SAAgB,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAwBpD;IAEF,SAAgB,SAAS;;;OAQvB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB;IAGpD,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,GAAG,IAAI;IAYpD,OAAO,CAAC,oBAAoB;IAoB5B,OAAO,CAAC,2BAA2B;yCA1FxB,qCAAqC;2CAArC,qCAAqC;CA+GjD"}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
4
|
import { CARBON_THEME, CdsThemeService, ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '@valtimo/components';
|
|
6
5
|
import { ListItem } from 'carbon-components-angular';
|
|
7
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
|
-
import {
|
|
9
|
-
import { WidgetFieldsService, WidgetWizardService } from '../../../../services';
|
|
7
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
10
8
|
import { FieldsWidgetValue, WidgetCollectionContent, WidgetDisplayTypeKey } from '../../../../models';
|
|
9
|
+
import { WidgetFieldsService, WidgetWizardService } from '../../../../services';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class WidgetManagementCollectionComponent implements
|
|
11
|
+
export declare class WidgetManagementCollectionComponent implements OnInit, OnDestroy {
|
|
13
12
|
private readonly cdsThemeService;
|
|
14
13
|
private readonly fb;
|
|
15
14
|
private readonly translateService;
|
|
16
15
|
private readonly widgetFieldsService;
|
|
17
|
-
private readonly route;
|
|
18
16
|
private readonly widgetWizardService;
|
|
17
|
+
private widgetManagementService;
|
|
19
18
|
readonly class = "valtimo-widget-management-collection";
|
|
20
|
-
readonly changeValidEvent: EventEmitter<boolean>;
|
|
21
19
|
readonly widgetForm: FormGroup<{
|
|
22
20
|
title: import("@angular/forms").FormControl<string>;
|
|
21
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
23
22
|
defaultPageSize: import("@angular/forms").FormControl<number>;
|
|
24
23
|
collection: import("@angular/forms").FormControl<string>;
|
|
25
24
|
}>;
|
|
@@ -27,6 +26,8 @@ export declare class WidgetManagementCollectionComponent implements IWidgetConte
|
|
|
27
26
|
[x: string]: import("@angular/forms").FormControl<unknown>;
|
|
28
27
|
}>;
|
|
29
28
|
readonly theme$: Observable<CARBON_THEME>;
|
|
29
|
+
readonly params$: Observable<any>;
|
|
30
|
+
readonly collectionDataTooltip$: Observable<any>;
|
|
30
31
|
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
31
32
|
readonly ValuePathType: typeof ValuePathType;
|
|
32
33
|
readonly WidgetDisplayTypeKey: typeof WidgetDisplayTypeKey;
|
|
@@ -34,9 +35,10 @@ export declare class WidgetManagementCollectionComponent implements IWidgetConte
|
|
|
34
35
|
readonly displayTypeItems: ListItem[];
|
|
35
36
|
readonly selectedCollection$: BehaviorSubject<ValuePathItem>;
|
|
36
37
|
WIDTH_ITEMS: ListItem[];
|
|
38
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
37
39
|
private readonly _subscriptions;
|
|
38
40
|
private readonly _$contentValid;
|
|
39
|
-
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, translateService: TranslateService, widgetFieldsService: WidgetFieldsService,
|
|
41
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, translateService: TranslateService, widgetFieldsService: WidgetFieldsService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
40
42
|
ngOnInit(): void;
|
|
41
43
|
ngOnDestroy(): void;
|
|
42
44
|
onAddEnumValueClick(valuesFormArray: FormArray): void;
|
|
@@ -58,6 +60,6 @@ export declare class WidgetManagementCollectionComponent implements IWidgetConte
|
|
|
58
60
|
private openWidgetFormSubscription;
|
|
59
61
|
private openCardFormSubscription;
|
|
60
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementCollectionComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementCollectionComponent, "ng-component", never, {}, {
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementCollectionComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
62
64
|
}
|
|
63
65
|
//# sourceMappingURL=widget-management-collection.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/collection/widget-management-collection.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-management-collection.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/collection/widget-management-collection.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAKL,SAAS,EACT,MAAM,EAGN,cAAc,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,SAAS,EACT,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CA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|
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
4
|
import { ListItem } from 'carbon-components-angular';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { IWidgetContentComponent } from '../../../../interfaces';
|
|
7
6
|
import { CustomWidgetConfig } from '../../../../models';
|
|
8
7
|
import { WidgetWizardService } from '../../../../services';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class WidgetManagementCustomComponent implements
|
|
9
|
+
export declare class WidgetManagementCustomComponent implements OnDestroy, OnInit {
|
|
11
10
|
private readonly customWidgetConfig;
|
|
12
11
|
private readonly cdsThemeService;
|
|
13
12
|
private readonly fb;
|
|
14
13
|
private readonly widgetWizardService;
|
|
15
|
-
readonly changeValidEvent: EventEmitter<boolean>;
|
|
16
14
|
readonly form: import("@angular/forms").FormGroup<{
|
|
17
15
|
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
16
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
18
17
|
}>;
|
|
19
18
|
get widgetTitle(): AbstractControl<string | null, string | null> | null;
|
|
19
|
+
get widgetIcon(): AbstractControl<string | null, string | null> | null;
|
|
20
20
|
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
21
21
|
private readonly _selectedCustomComponentKey$;
|
|
22
22
|
private readonly _customWidgetConfig$;
|
|
@@ -33,8 +33,9 @@ export declare class WidgetManagementCustomComponent implements IWidgetContentCo
|
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
ngOnDestroy(): void;
|
|
35
35
|
private openTitleSubscription;
|
|
36
|
+
private openIconSubscription;
|
|
36
37
|
private prefill;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementCustomComponent, [{ optional: true; }, null, null, null]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementCustomComponent, "ng-component", never, {}, {
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementCustomComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
39
40
|
}
|
|
40
41
|
//# sourceMappingURL=widget-management-custom.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/custom/widget-management-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-management-custom.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/custom/widget-management-custom.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAIL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,eAAe,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EACL,YAAY,EACZ,eAAe,EAIhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAIL,QAAQ,EAET,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8C,UAAU,EAAe,MAAM,MAAM,CAAC;AAC3F,OAAO,EAAC,kBAAkB,EAAsB,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAGzD,qBAiBa,+BAAgC,YAAW,SAAS,EAAE,MAAM;IAyCrE,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA3CtC,SAAgB,IAAI;;;OAGjB;IAEH,IAAW,WAAW,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE7E;IAED,IAAW,UAAU,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE5E;IAED,SAAgB,MAAM,oDAIpB;IAEF,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAA4C;IACzF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA+C;IAEpF,SAAgB,mBAAmB,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAWzD;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAKlC,kBAAkB,EAAE,kBAAkB,EACtC,eAAe,EAAE,eAAe,EAChC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB;IAKpD,uBAAuB,CAAC,KAAK,EAAE;QACpC,IAAI,EAAE;YAAC,OAAO,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,CAAC;QAC3C,QAAQ,EAAE,OAAO,CAAC;KACnB,GAAG,IAAI;IAUD,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,OAAO;yCAxFJ,+BAA+B;2CAA/B,+BAA+B;CAiG3C"}
|
|
@@ -6,6 +6,7 @@ import { Dropdown, IconService, ListItem } from 'carbon-components-angular';
|
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { WidgetFieldsService, WidgetWizardService } from '../../../../../services';
|
|
8
8
|
import { FieldsWidgetValue, WidgetDisplayTypeKey, WidgetType } from '../../../../../models';
|
|
9
|
+
import { IWidgetManagementService } from '../../../../../interfaces';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class WidgetManagementFieldsColumnComponent implements OnInit, OnDestroy {
|
|
11
12
|
private readonly cdsThemeService;
|
|
@@ -15,6 +16,7 @@ export declare class WidgetManagementFieldsColumnComponent implements OnInit, On
|
|
|
15
16
|
private readonly translateService;
|
|
16
17
|
private readonly widgetFieldsService;
|
|
17
18
|
private readonly widgetWizardService;
|
|
19
|
+
private widgetManagementService;
|
|
18
20
|
readonly class = "valtimo-widget-management-field-column";
|
|
19
21
|
columnData: FieldsWidgetValue[];
|
|
20
22
|
addTranslateKey: string;
|
|
@@ -32,12 +34,14 @@ export declare class WidgetManagementFieldsColumnComponent implements OnInit, On
|
|
|
32
34
|
get formRows(): FormArray | undefined;
|
|
33
35
|
displayTypeItems: ListItem[];
|
|
34
36
|
getDisplayItemsSelected(row: AbstractControl): ListItem[];
|
|
37
|
+
readonly params$: Observable<any>;
|
|
38
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
35
39
|
readonly WidgetDisplayTypeKey: typeof WidgetDisplayTypeKey;
|
|
36
40
|
readonly $widgetType: Signal<WidgetType>;
|
|
37
41
|
readonly $isFieldWidget: Signal<boolean>;
|
|
38
42
|
readonly inputTheme$: Observable<CurrentCarbonTheme>;
|
|
39
43
|
private _subscriptions;
|
|
40
|
-
constructor(cdsThemeService: CdsThemeService, cdr: ChangeDetectorRef, fb: FormBuilder, iconService: IconService, translateService: TranslateService, widgetFieldsService: WidgetFieldsService, widgetWizardService: WidgetWizardService);
|
|
44
|
+
constructor(cdsThemeService: CdsThemeService, cdr: ChangeDetectorRef, fb: FormBuilder, iconService: IconService, translateService: TranslateService, widgetFieldsService: WidgetFieldsService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
41
45
|
ngOnInit(): void;
|
|
42
46
|
ngOnDestroy(): void;
|
|
43
47
|
addField(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-fields-column.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAGjB,YAAY,
|
|
1
|
+
{"version":3,"file":"widget-management-fields-column.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/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B,OAAO,CAAC,oBAAoB;yCAlNjB,qCAAqC;2CAArC,qCAAqC;CA+OjD"}
|
|
@@ -1,32 +1,27 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
5
|
-
import { IWidgetContentComponent } from '../../../../interfaces';
|
|
6
|
-
import { WidgetWizardService } from '../../../../services';
|
|
7
3
|
import { FieldsWidgetValue } from '../../../../models';
|
|
4
|
+
import { WidgetWizardService } from '../../../../services';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class WidgetManagementFieldsComponent implements
|
|
10
|
-
private readonly cdsThemeService;
|
|
6
|
+
export declare class WidgetManagementFieldsComponent implements OnDestroy, OnInit, AfterViewInit {
|
|
11
7
|
private readonly fb;
|
|
12
|
-
private readonly route;
|
|
13
8
|
private readonly widgetWizardService;
|
|
14
9
|
readonly class = "valtimo-widget-management-fields";
|
|
15
|
-
readonly changeValidEvent: EventEmitter<boolean>;
|
|
16
10
|
private readonly _tab;
|
|
17
11
|
readonly $showTitleInput: import("@angular/core").WritableSignal<boolean>;
|
|
18
12
|
form: import("@angular/forms").FormGroup<{
|
|
19
13
|
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
14
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
20
15
|
}>;
|
|
21
16
|
readonly $columns: import("@angular/core").WritableSignal<null[]>;
|
|
17
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
22
18
|
readonly $widgetWidth: import("@valtimo/layout").WidgetWidth;
|
|
23
19
|
readonly selectedTabIndex = -1;
|
|
24
|
-
readonly theme$: import("rxjs").Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
25
20
|
readonly $selectedWidgetContent: import("@angular/core").Signal<{}>;
|
|
26
21
|
readonly activeTab: import("@angular/core").WritableSignal<number>;
|
|
27
22
|
private readonly _subscriptions;
|
|
28
23
|
private readonly _contentValid;
|
|
29
|
-
constructor(
|
|
24
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
30
25
|
ngOnInit(): void;
|
|
31
26
|
ngAfterViewInit(): void;
|
|
32
27
|
ngOnDestroy(): void;
|
|
@@ -37,8 +32,8 @@ export declare class WidgetManagementFieldsComponent implements IWidgetContentCo
|
|
|
37
32
|
data: FieldsWidgetValue[];
|
|
38
33
|
valid: boolean;
|
|
39
34
|
}, columnIndex: number): void;
|
|
40
|
-
|
|
35
|
+
private hideTitleInput;
|
|
41
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementFieldsComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementFieldsComponent, "ng-component", never, {}, {
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementFieldsComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
43
38
|
}
|
|
44
39
|
//# sourceMappingURL=widget-management-fields.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/fields/widget-management-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,
|
|
1
|
+
{"version":3,"file":"widget-management-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/fields/widget-management-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkB,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAY7F,OAAO,EAAC,iBAAiB,EAAsB,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAGzD,qBAoBa,+BAAgC,YAAW,SAAS,EAAE,MAAM,EAAE,aAAa;IA8BpF,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA9BtC,SAAsC,KAAK,sCAAsC;IACjE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAM;IAE3C,SAAgB,eAAe,kDAAyB;IAEjD,IAAI;;;OAGR;IAEH,SAAgB,QAAQ,iDAA0B;IAClD,SAAgB,cAAc,kFAA2C;IACzE,SAAgB,YAAY,wCAA2C;IACvE,SAAgB,gBAAgB,MAAM;IACtC,SAAgB,sBAAsB,qCAQpC;IACF,SAAgB,SAAS,iDAAqB;IAE9C,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IACrD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA0B;gBAGrC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB;IAGpD,QAAQ,IAAI,IAAI;IAqBhB,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAKnB,gBAAgB,IAAI,IAAI;IAMxB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAIlC,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IA6BxC,mBAAmB,CACxB,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAC1B,KAAK,EAAE,OAAO,CAAC;KAChB,EACD,WAAW,EAAE,MAAM,GAClB,IAAI;IAeP,OAAO,CAAC,cAAc;yCA5HX,+BAA+B;2CAA/B,+BAA+B;CAwI3C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
|
+
import { FormService } from '@valtimo/form';
|
|
5
|
+
import { ListItem } from 'carbon-components-angular';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
8
|
+
import { WidgetWizardService } from '../../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WidgetManagementWidgetFormioComponent implements OnDestroy, OnInit {
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly fb;
|
|
13
|
+
private readonly widgetWizardService;
|
|
14
|
+
private readonly formService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
readonly form: import("@angular/forms").FormGroup<{
|
|
17
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
18
|
+
widgetIcon: import("@angular/forms").FormControl<string>;
|
|
19
|
+
}>;
|
|
20
|
+
get widgetTitle(): AbstractControl<string | null> | null;
|
|
21
|
+
get widgetIcon(): AbstractControl<string | null> | null;
|
|
22
|
+
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
23
|
+
private readonly _selectedFormDefinitionId$;
|
|
24
|
+
private readonly _formDefinitionOptions$;
|
|
25
|
+
readonly params$: Observable<any>;
|
|
26
|
+
readonly formListItems$: Observable<ListItem[]>;
|
|
27
|
+
private readonly _subscriptions;
|
|
28
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, widgetWizardService: WidgetWizardService, formService: FormService, widgetManagementService: IWidgetManagementService<any>);
|
|
29
|
+
componentDropDownChange(event: {
|
|
30
|
+
item: {
|
|
31
|
+
id: string;
|
|
32
|
+
selected: boolean;
|
|
33
|
+
};
|
|
34
|
+
isUpdate: boolean;
|
|
35
|
+
}): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
private openTitleSubscription;
|
|
39
|
+
private openIconSubscription;
|
|
40
|
+
private fetchFormDefinition;
|
|
41
|
+
private prefill;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementWidgetFormioComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementWidgetFormioComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=widget-management-widget-formio.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-widget-formio.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA6C,SAAS,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAC,eAAe,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EACL,YAAY,EACZ,eAAe,EAIhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAuB,WAAW,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAIL,QAAQ,EAET,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8C,UAAU,EAAe,MAAM,MAAM,CAAC;AAE3F,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAGzD,qBAiBa,qCAAsC,YAAW,SAAS,EAAE,MAAM;IA0C3E,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,uBAAuB;IA9CjC,SAAgB,IAAI;;;OAGjB;IAEH,IAAW,WAAW,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE9D;IAED,IAAW,UAAU,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE7D;IAED,SAAgB,MAAM,oDAIpB;IAEF,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAA4C;IAEvF,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAmD;IAE3F,SAAgB,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,CAAwC;IAChF,SAAgB,cAAc,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAYpD;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,eAAe,EAAE,eAAe,EAChC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EAEjC,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAGzD,uBAAuB,CAAC,KAAK,EAAE;QACpC,IAAI,EAAE;YAAC,EAAE,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,CAAC;QACtC,QAAQ,EAAE,OAAO,CAAC;KACnB,GAAG,IAAI;IAUD,QAAQ,IAAI,IAAI;IAOhB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,OAAO;yCAzGJ,qCAAqC;2CAArC,qCAAqC;CAkHjD"}
|
|
@@ -2,4 +2,5 @@ export * from './fields/widget-management-fields.component';
|
|
|
2
2
|
export * from './table/widget-management-table.component';
|
|
3
3
|
export * from './collection/widget-management-collection.component';
|
|
4
4
|
export * from './custom/widget-management-custom.component';
|
|
5
|
+
export * from './map/widget-management-map.component';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/index.ts"],"names":[],"mappings":"AAgBA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/index.ts"],"names":[],"mappings":"AAgBA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC"}
|