@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
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormArray, FormBuilder } from '@angular/forms';
|
|
3
3
|
import { MultiInputValues } from '@valtimo/components';
|
|
4
|
-
import { IWidgetContentComponent } from '../../../../interfaces';
|
|
5
4
|
import { WidgetWizardService } from '../../../../services';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class WidgetManagementInteractiveTableComponent implements
|
|
6
|
+
export declare class WidgetManagementInteractiveTableComponent implements OnInit, OnDestroy {
|
|
8
7
|
private readonly fb;
|
|
9
8
|
private readonly widgetWizardService;
|
|
10
9
|
readonly class = "valtimo-widget-management-interactive-table";
|
|
11
|
-
readonly changeValidEvent: EventEmitter<boolean>;
|
|
12
10
|
formGroup: import("@angular/forms").FormGroup<{
|
|
13
11
|
canStartCase: import("@angular/forms").FormControl<boolean>;
|
|
14
12
|
actions: import("@angular/forms").FormControl<MultiInputValues>;
|
|
@@ -21,10 +19,9 @@ export declare class WidgetManagementInteractiveTableComponent implements IWidge
|
|
|
21
19
|
ngOnDestroy(): void;
|
|
22
20
|
onAddExternalLinkClick(): void;
|
|
23
21
|
removeExternalLink(index: number): void;
|
|
24
|
-
onTableChangeValidEvent(valid: boolean): void;
|
|
25
22
|
private openActionsSubscription;
|
|
26
23
|
private openDetailsSubscription;
|
|
27
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementInteractiveTableComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementInteractiveTableComponent, "ng-component", never, {}, {
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementInteractiveTableComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
29
26
|
}
|
|
30
27
|
//# sourceMappingURL=widget-management-interactive-table.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-management-interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAKL,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,SAAS,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAEvF,OAAO,EAAyB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAe7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAEzD,qBAmBa,yCAA0C,YAAW,MAAM,EAAE,SAAS;IA2B/E,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA3BtC,SAAsC,KAAK,iDAAiD;IAErF,SAAS;;;;OAeb;IAEH,IAAW,cAAc,IAAI,SAAS,CAErC;IAED,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB;IAQpD,QAAQ,IAAI,IAAI;IAMhB,WAAW,IAAI,IAAI;IAKnB,sBAAsB,IAAI,IAAI;IAS9B,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI9C,OAAO,CAAC,uBAAuB;IAmB/B,OAAO,CAAC,uBAAuB;yCA/EpB,yCAAyC;2CAAzC,yCAAyC;CAmGrD"}
|
package/lib/components/widget-management/management-content/map/widget-management-map.component.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CdsThemeService, CurrentCarbonTheme } from '@valtimo/components';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { GeoJsonSource, WidgetMapContent } from '../../../../models';
|
|
6
|
+
import { WidgetWizardService } from '../../../../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetManagementMapComponent implements OnDestroy, OnInit {
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly widgetWizardService;
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
readonly class = "valtimo-widget-management-map";
|
|
13
|
+
readonly $showTitleInput: WritableSignal<boolean>;
|
|
14
|
+
form: FormGroup<{
|
|
15
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
16
|
+
geoJsonSources: FormArray<import("@angular/forms").FormControl<GeoJsonSource>>;
|
|
17
|
+
}>;
|
|
18
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
19
|
+
readonly $content: WritableSignal<WidgetMapContent>;
|
|
20
|
+
readonly inputTheme$: Observable<CurrentCarbonTheme>;
|
|
21
|
+
private readonly _subscriptions;
|
|
22
|
+
get formGeoJsonSources(): FormArray | undefined;
|
|
23
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService, cdsThemeService: CdsThemeService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private initForm;
|
|
27
|
+
private getGeoJsonSourcesForm;
|
|
28
|
+
addField(): void;
|
|
29
|
+
onDeleteRowClick(event: Event, formArray: FormArray, index: number): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementMapComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementMapComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=widget-management-map.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-map.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/map/widget-management-map.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAIL,SAAS,EACT,MAAM,EAGN,cAAc,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,SAAS,EACT,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAC,eAAe,EAAE,kBAAkB,EAAmB,MAAM,qBAAqB,CAAC;AAS1F,OAAO,EAAe,UAAU,EAAe,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAEzD,qBAmBa,4BAA6B,YAAW,SAAS,EAAE,MAAM;IAwBlE,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAzBlC,SAAsC,KAAK,mCAAmC;IAE9E,SAAgB,eAAe,0BAAyB;IAEjD,IAAI;;;OAGR;IAEH,SAAgB,cAAc,0DAA2C;IACzE,SAAgB,QAAQ,EACH,cAAc,CAAC,gBAAgB,CAAC,CAAC;IACtD,SAAgB,WAAW,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAsC;IAEjG,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;IAErD,IAAW,kBAAkB,IAAI,SAAS,GAAG,SAAS,CAIrD;gBAGkB,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB,EACxC,eAAe,EAAE,eAAe;IAG5C,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAM1B,OAAO,CAAC,QAAQ;IAehB,OAAO,CAAC,qBAAqB;IAMtB,QAAQ,IAAI,IAAI;IAUhB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;yCA/ErE,4BAA4B;2CAA5B,4BAA4B;CAqFxC"}
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { CARBON_THEME, CdsThemeService, ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '@valtimo/components';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
-
import {
|
|
7
|
-
import { WidgetWizardService } from '../../../../services';
|
|
6
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
8
7
|
import { FieldsWidgetValue, WidgetTableContent } from '../../../../models';
|
|
8
|
+
import { WidgetWizardService } from '../../../../services';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class WidgetManagementTableComponent implements
|
|
10
|
+
export declare class WidgetManagementTableComponent implements OnInit, OnDestroy {
|
|
11
11
|
private readonly cdsThemeService;
|
|
12
12
|
private readonly fb;
|
|
13
|
+
private readonly translateService;
|
|
13
14
|
private readonly widgetWizardService;
|
|
14
|
-
private
|
|
15
|
+
private widgetManagementService;
|
|
15
16
|
readonly class = "valtimo-widget-management-table";
|
|
16
17
|
showFirstColumnOption: boolean;
|
|
17
|
-
readonly changeValidEvent: EventEmitter<boolean>;
|
|
18
18
|
readonly form: FormGroup;
|
|
19
19
|
readonly theme$: Observable<CARBON_THEME>;
|
|
20
|
+
readonly params$: Observable<any>;
|
|
21
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
20
22
|
readonly $content: WritableSignal<WidgetTableContent>;
|
|
21
23
|
readonly $checked: import("@angular/core").Signal<boolean>;
|
|
22
24
|
readonly selectedCollection$: BehaviorSubject<ValuePathItem>;
|
|
23
25
|
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
24
26
|
readonly ValuePathType: typeof ValuePathType;
|
|
27
|
+
readonly collectionDataTooltip$: Observable<any>;
|
|
25
28
|
private readonly _$contentValid;
|
|
26
29
|
private readonly _subscriptions;
|
|
27
|
-
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, widgetWizardService: WidgetWizardService,
|
|
30
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
28
31
|
ngOnInit(): void;
|
|
29
32
|
ngOnDestroy(): void;
|
|
30
33
|
onColumnUpdateEvent(event: {
|
|
@@ -34,6 +37,6 @@ export declare class WidgetManagementTableComponent implements IWidgetContentCom
|
|
|
34
37
|
onCheckedChange(firstColumnAsTitle: boolean): void;
|
|
35
38
|
onCollectionSelected(item: ValuePathItem): void;
|
|
36
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementTableComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementTableComponent, "valtimo-widget-management-table", never, { "showFirstColumnOption": { "alias": "showFirstColumnOption"; "required": false; }; }, {
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementTableComponent, "valtimo-widget-management-table", never, { "showFirstColumnOption": { "alias": "showFirstColumnOption"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
38
41
|
}
|
|
39
42
|
//# sourceMappingURL=widget-management-table.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/table/widget-management-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-management-table.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-content/table/widget-management-table.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAOL,SAAS,EACT,MAAM,EAGN,cAAc,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAE,SAAS,EAAkC,MAAM,gBAAgB,CAAC;AACvF,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,eAAe,EAIf,aAAa,EAEb,uBAAuB,EACvB,aAAa,EACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAC,eAAe,EAAqB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE7F,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,iBAAiB,EAA2B,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAClG,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAIzD,qBAqBa,8BAA+B,YAAW,MAAM,EAAE,SAAS;IAwDpE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAEpC,OAAO,CAAC,uBAAuB;IA5DjC,SAAsC,KAAK,qCAAqC;IAChE,qBAAqB,UAAQ;IAE7C,SAAgB,IAAI,EAAE,SAAS,CAc5B;IAEH,SAAgB,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,CAI9C;IACF,SAAgB,OAAO,kBAAwC;IAE/D,SAAgB,cAAc,0DAA2C;IACzE,SAAgB,QAAQ,EACH,cAAc,CAAC,kBAAkB,CAAC,CAAC;IACxD,SAAgB,QAAQ,0CAGtB;IAEF,SAAgB,mBAAmB,iCAAmD;IAEtF,SAAgB,uBAAuB,iCAA2B;IAClE,SAAgB,aAAa,uBAAiB;IAE9C,SAAgB,sBAAsB,kBAUpC;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAyD;IACxF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,eAAe,EAAE,eAAe,EAChC,EAAE,EAAE,WAAW,EACf,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EAEjD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAGzD,QAAQ,IAAI,IAAI;IAoBhB,WAAW,IAAI,IAAI;IAOnB,mBAAmB,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI;IAU7E,eAAe,CAAC,kBAAkB,EAAE,OAAO,GAAG,IAAI;IAOlD,oBAAoB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI;yCA5G3C,8BAA8B;2CAA9B,8BAA8B;CA+G1C"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { IconService } from 'carbon-components-angular';
|
|
3
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { ModalMode } from '@valtimo/shared';
|
|
5
|
+
import { CarbonListItem } from '@valtimo/components';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { BasicWidget, Widget, WidgetWizardCloseEvent } from '../../../models';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class WidgetManagementDividerModalComponent {
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly iconService;
|
|
12
|
+
private _modalMode;
|
|
13
|
+
set modalMode(value: ModalMode);
|
|
14
|
+
get modalMode(): ModalMode;
|
|
15
|
+
private _open;
|
|
16
|
+
set open(value: boolean);
|
|
17
|
+
get open(): boolean;
|
|
18
|
+
widgets: CarbonListItem;
|
|
19
|
+
usedKeys: string[];
|
|
20
|
+
dividerForm: FormGroup;
|
|
21
|
+
set prefillData(value: Widget | null);
|
|
22
|
+
closeEvent: EventEmitter<WidgetWizardCloseEvent>;
|
|
23
|
+
get title(): AbstractControl<string>;
|
|
24
|
+
get buttonLabel(): string;
|
|
25
|
+
submitDisabled$: BehaviorSubject<boolean>;
|
|
26
|
+
divider: BasicWidget;
|
|
27
|
+
constructor(fb: FormBuilder, iconService: IconService);
|
|
28
|
+
onCloseModal(dividerCreated?: boolean): void;
|
|
29
|
+
onFocusOut(): void;
|
|
30
|
+
private resetForm;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementDividerModalComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementDividerModalComponent, "valtimo-widget-management-divider-modal", never, { "modalMode": { "alias": "modalMode"; "required": false; }; "open": { "alias": "open"; "required": false; }; "widgets": { "alias": "widgets"; "required": false; }; "usedKeys": { "alias": "usedKeys"; "required": false; }; "prefillData": { "alias": "prefillData"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=widget-management-divider-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-divider-modal.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAY,YAAY,EAAgB,MAAM,eAAe,CAAC;AAGrE,OAAO,EAGL,WAAW,EAKZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,eAAe,EACf,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAEL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,eAAe,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EACL,WAAW,EACX,MAAM,EAEN,sBAAsB,EAEvB,MAAM,iBAAiB,CAAC;;AAEzB,qBAkBa,qCAAqC;IAmE9C,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAnE9B,OAAO,CAAC,UAAU,CAAY;IAC9B,IACW,SAAS,CAAC,KAAK,EAAE,SAAS,EAEpC;IACD,IAAW,SAAS,IAAI,SAAS,CAEhC;IAED,OAAO,CAAC,KAAK,CAAS;IACtB,IAAoB,IAAI,CAAC,KAAK,EAAE,OAAO,EAEtC;IAED,IAAW,IAAI,IAAI,OAAO,CAEzB;IAEe,OAAO,EAAE,cAAc,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAM;IAEjC,WAAW,EAAE,SAAS,CAG1B;IAEH,IAAoB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAOnD;IAEgB,UAAU,uCAAqD;IAEhF,IAAW,KAAK,IAAI,eAAe,CAAC,MAAM,CAAC,CAE1C;IAED,IAAW,WAAW,IAAI,MAAM,CAW/B;IAEM,eAAe,2BAAuC;IAEtD,OAAO,EAAE,WAAW,CAOzB;gBAGiB,EAAE,EAAE,WAAW,EACf,WAAW,EAAE,WAAW;IAKpC,YAAY,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI;IAyB5C,UAAU,IAAI,IAAI;IAQzB,OAAO,CAAC,SAAS,CAKf;yCA/GS,qCAAqC;2CAArC,qCAAqC;CAgHjD"}
|
package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts
CHANGED
|
@@ -1,45 +1,53 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
1
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
2
3
|
import { ActionItem, CarbonListItem, ColumnConfig } from '@valtimo/components';
|
|
4
|
+
import { ModalMode } from '@valtimo/shared';
|
|
5
|
+
import { IconService } from 'carbon-components-angular';
|
|
3
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
7
|
import { IWidgetManagementService } from '../../../interfaces';
|
|
5
8
|
import { BasicWidget, Widget, WidgetType, WidgetWidth, WidgetWizardCloseEvent } from '../../../models';
|
|
6
9
|
import { WidgetWizardService } from '../../../services';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class WidgetManagementEditorComponent {
|
|
11
|
+
export declare class WidgetManagementEditorComponent implements OnDestroy {
|
|
12
|
+
private readonly iconService;
|
|
9
13
|
private readonly translateService;
|
|
10
14
|
private readonly widgetWizardService;
|
|
11
15
|
private widgetManagementService;
|
|
16
|
+
enableWidgetDivider: boolean;
|
|
12
17
|
set params(value: any);
|
|
13
18
|
set availableWidgetTypes(value: WidgetType[]);
|
|
14
|
-
readonly disableWidthStep$: BehaviorSubject<boolean>;
|
|
15
|
-
set disableWidthStep(value: boolean);
|
|
16
19
|
readonly disableDuplicate$: BehaviorSubject<boolean>;
|
|
17
20
|
set disableDuplicate(value: boolean);
|
|
18
21
|
readonly singleWidget$: BehaviorSubject<boolean>;
|
|
19
22
|
set singleWidget(value: boolean);
|
|
20
|
-
set defaultWidth(value: WidgetWidth);
|
|
21
|
-
readonly disableTitleInput$: BehaviorSubject<boolean>;
|
|
22
|
-
set disableTitleInput(value: boolean);
|
|
23
|
+
set defaultWidth(value: WidgetWidth | undefined);
|
|
23
24
|
readonly fields$: Observable<ColumnConfig[]>;
|
|
24
25
|
readonly actionItems$: Observable<ActionItem[]>;
|
|
25
26
|
readonly loading$: BehaviorSubject<boolean>;
|
|
26
27
|
private readonly _refresh$;
|
|
27
28
|
readonly widgets$: Observable<CarbonListItem[]>;
|
|
29
|
+
readonly usedKeys$: Observable<any[]>;
|
|
30
|
+
readonly dividerDefinition$: BehaviorSubject<Widget>;
|
|
28
31
|
readonly $isWizardOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
32
|
readonly $isEditMode: import("@angular/core").WritableSignal<boolean>;
|
|
30
33
|
readonly deleteModalOpen$: BehaviorSubject<boolean>;
|
|
31
34
|
readonly $deleteWidget: import("@angular/core").WritableSignal<BasicWidget>;
|
|
35
|
+
readonly $isDividerModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
readonly $dividerModalMode: import("@angular/core").WritableSignal<ModalMode>;
|
|
32
37
|
readonly $dragAndDropDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
-
constructor(translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
34
|
-
|
|
38
|
+
constructor(iconService: IconService, translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
editWidget(widget: Widget): void;
|
|
35
41
|
duplicateWidget(tabWidget: Widget): void;
|
|
36
42
|
openAddModal(): void;
|
|
37
43
|
onDeleteConfirm(widget: BasicWidget): void;
|
|
38
|
-
onCloseEvent(event: WidgetWizardCloseEvent): void;
|
|
44
|
+
onCloseEvent(event: WidgetWizardCloseEvent | null): void;
|
|
39
45
|
onItemsReordered(widgets: Widget[]): void;
|
|
46
|
+
openAddDividerModal(): void;
|
|
47
|
+
onCloseDividerModalEvent(dividerDefinition: BasicWidget): void;
|
|
40
48
|
private deleteWidget;
|
|
41
49
|
private getWidthTranslationKey;
|
|
42
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementEditorComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementEditorComponent, "valtimo-widget-management-editor", never, { "
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementEditorComponent, "valtimo-widget-management-editor", never, { "enableWidgetDivider": { "alias": "enableWidgetDivider"; "required": false; }; "params": { "alias": "params"; "required": false; }; "availableWidgetTypes": { "alias": "availableWidgetTypes"; "required": false; }; "disableDuplicate": { "alias": "disableDuplicate"; "required": false; }; "singleWidget": { "alias": "singleWidget"; "required": false; }; "defaultWidth": { "alias": "defaultWidth"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
52
|
}
|
|
45
53
|
//# sourceMappingURL=widget-management-editor.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-editor.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-editor/widget-management-editor.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-management-editor.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-editor/widget-management-editor.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAoD,SAAS,EAAS,MAAM,eAAe,CAAC;AAGnG,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,UAAU,EACV,cAAc,EAEd,YAAY,EAGb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAA2B,WAAW,EAAa,MAAM,2BAA2B,CAAC;AAE5F,OAAO,EAAC,eAAe,EAA8B,UAAU,EAAuB,MAAM,MAAM,CAAC;AAGnG,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAEL,WAAW,EACX,MAAM,EAEN,UAAU,EAEV,WAAW,EACX,sBAAsB,EAGvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAItD,qBAiBa,+BAAgC,YAAW,SAAS;IAyI7D,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAEpC,OAAO,CAAC,uBAAuB;IA5IjB,mBAAmB,UAAQ;IAC3C,IAAoB,MAAM,CAAC,KAAK,EAAE,GAAG,EAGpC;IACD,IAAoB,oBAAoB,CAAC,KAAK,EAAE,UAAU,EAAE,EAG3D;IAED,SAAgB,iBAAiB,2BAAuC;IACxE,IAAoB,gBAAgB,CAAC,KAAK,EAAE,OAAO,EAElD;IAED,SAAgB,aAAa,2BAAuC;IACpE,IAAoB,YAAY,CAAC,KAAK,EAAE,OAAO,EAE9C;IAED,IAAoB,YAAY,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,EAE9D;IAED,SAAgB,OAAO,EAAE,UAAU,CAAC,YAAY,EAAE,CAAC,CA4CjD;IAEF,SAAgB,YAAY,EAAE,UAAU,CAAC,UAAU,EAAE,CAAC,CAoBpD;IAEF,SAAgB,QAAQ,2BAAsC;IAE9D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmC;IAC7D,SAAgB,QAAQ,EAAE,UAAU,CAAC,cAAc,EAAE,CAAC,CAyBpD;IACF,SAAgB,SAAS,oBAEvB;IACF,SAAgB,kBAAkB,0BAA4C;IAE9E,SAAgB,aAAa,kDAA0B;IACvD,SAAgB,WAAW,kDAAsC;IACjE,SAAgB,gBAAgB,2BAAuC;IACvE,SAAgB,aAAa,sDAAoC;IAEjE,SAAgB,mBAAmB,kDAA0B;IAC7D,SAAgB,iBAAiB,oDAA4B;IAC7D,SAAgB,oBAAoB,kDAAiB;gBAGlC,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EAEjD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAKzD,WAAW,IAAI,IAAI;IAInB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IA0BhC,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAMxC,YAAY,IAAI,IAAI;IAIpB,eAAe,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;IAO1C,YAAY,CAAC,KAAK,EAAE,sBAAsB,GAAG,IAAI,GAAG,IAAI;IAuBxD,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI;IAWzC,mBAAmB,IAAI,IAAI;IAI3B,wBAAwB,CAAC,iBAAiB,EAAE,WAAW,GAAG,IAAI;IAWrE,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,sBAAsB;yCAvPnB,+BAA+B;2CAA/B,+BAA+B;CAqQ3C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { CARBON_THEME, CdsThemeService } from '@valtimo/components';
|
|
4
|
+
import { DocumentService } from '@valtimo/document';
|
|
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 WidgetManagementProcessSelectorComponent implements OnInit {
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly documentService;
|
|
13
|
+
private readonly fb;
|
|
14
|
+
private readonly widgetWizardService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
readonly formGroup: import("@angular/forms").FormGroup<{
|
|
17
|
+
name: import("@angular/forms").FormControl<string>;
|
|
18
|
+
processDefinition: import("@angular/forms").FormControl<ListItem>;
|
|
19
|
+
}>;
|
|
20
|
+
readonly processDefinitionItems$: Observable<ListItem[]>;
|
|
21
|
+
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
22
|
+
private readonly _subscriptions;
|
|
23
|
+
constructor(cdsThemeService: CdsThemeService, documentService: DocumentService, fb: FormBuilder, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
onProcessSelected(selection: ListItem | Array<object>): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementProcessSelectorComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementProcessSelectorComponent, "valtimo-widget-management-process-selector", never, {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=widget-management-process-selector.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-management-process-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-process-selector/widget-management-process-selector.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA6C,MAAM,EAAC,MAAM,eAAe,CAAC;AACjF,OAAO,EAAkB,WAAW,EAAsB,MAAM,gBAAgB,CAAC;AAEjF,OAAO,EAAC,YAAY,EAAE,eAAe,EAAqB,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAC,eAAe,EAAkC,MAAM,mBAAmB,CAAC;AAEnF,OAAO,EAA2C,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAoB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAE5E,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAEtD,qBAea,wCAAyC,YAAW,MAAM;IAkDnE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAEpC,OAAO,CAAC,uBAAuB;IAtDjC,SAAgB,SAAS;;;OAUtB;IAEH,SAAgB,uBAAuB,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CA0B3D;IAEJ,SAAgB,MAAM,oDAIpB;IAEF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,eAAe,EAChC,EAAE,EAAE,WAAW,EACf,mBAAmB,EAAE,mBAAmB,EAEjD,uBAAuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAEzD,QAAQ,IAAI,IAAI;IAuBhB,iBAAiB,CAAC,SAAS,EAAE,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI;yCAhFxD,wCAAwC;2CAAxC,wCAAwC;CAuFpD"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WidgetWizardContentStepComponent } from './widget-wizard-content-step/widget-wizard-content-step.component';
|
|
2
|
+
import { WidgetWizardDisplayConditionsStepComponent } from './widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component';
|
|
2
3
|
import { WidgetWizardStyleStepComponent } from './widget-wizard-style-step/widget-wizard-style-step.component';
|
|
3
4
|
import { WidgetWizardTypeStepComponent } from './widget-wizard-type-step/widget-wizard-type-step.component';
|
|
4
5
|
import { WidgetWizardWidthStepComponent } from './widget-wizard-width-step/widget-wizard-width-step.component';
|
|
5
|
-
export declare const WIDGET_STEPS: (typeof WidgetWizardContentStepComponent | typeof WidgetWizardStyleStepComponent | typeof WidgetWizardTypeStepComponent | typeof WidgetWizardWidthStepComponent)[];
|
|
6
|
+
export declare const WIDGET_STEPS: (typeof WidgetWizardContentStepComponent | typeof WidgetWizardDisplayConditionsStepComponent | typeof WidgetWizardStyleStepComponent | typeof WidgetWizardTypeStepComponent | typeof WidgetWizardWidthStepComponent)[];
|
|
6
7
|
//# 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-wizard/steps/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,gCAAgC,EAAC,MAAM,mEAAmE,CAAC;AACnH,OAAO,EAAC,8BAA8B,EAAC,MAAM,+DAA+D,CAAC;AAC7G,OAAO,EAAC,6BAA6B,EAAC,MAAM,6DAA6D,CAAC;AAC1G,OAAO,EAAC,8BAA8B,EAAC,MAAM,+DAA+D,CAAC;AAE7G,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,gCAAgC,EAAC,MAAM,mEAAmE,CAAC;AACnH,OAAO,EAAC,0CAA0C,EAAC,MAAM,yFAAyF,CAAC;AACnJ,OAAO,EAAC,8BAA8B,EAAC,MAAM,+DAA+D,CAAC;AAC7G,OAAO,EAAC,6BAA6B,EAAC,MAAM,6DAA6D,CAAC;AAC1G,OAAO,EAAC,8BAA8B,EAAC,MAAM,+DAA+D,CAAC;AAE7G,eAAO,MAAM,YAAY,wNAMxB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WidgetWizardService } from '../../../../../services';
|
|
1
|
+
import { AfterViewInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services/widget-wizard.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class WidgetWizardContentStepComponent implements
|
|
5
|
-
private readonly
|
|
4
|
+
export declare class WidgetWizardContentStepComponent implements AfterViewInit {
|
|
5
|
+
private readonly vcr;
|
|
6
6
|
private readonly widgetWizardService;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
actionButton: TemplateRef<any>;
|
|
8
|
+
projectedNodes: Node[][];
|
|
9
|
+
readonly $selectedWidget: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetTypeSelection>;
|
|
10
|
+
readonly $disableActionButton: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
constructor(vcr: ViewContainerRef, widgetWizardService: WidgetWizardService);
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardContentStepComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardContentStepComponent, "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardContentStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=widget-wizard-content-step.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-wizard-content-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-wizard-content-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAGb,WAAW,EAEX,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAGlF,qBAMa,gCAAiC,YAAW,aAAa;IASlE,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IATU,YAAY,EAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAEzE,cAAc,EAAE,IAAI,EAAE,EAAE,CAAC;IAEhC,SAAgB,eAAe,wFAA4C;IAC3E,SAAgB,oBAAoB,kDAAiD;gBAGlE,GAAG,EAAE,gBAAgB,EACrB,mBAAmB,EAAE,mBAAmB;IAQpD,eAAe,IAAI,IAAI;yCAlBnB,gCAAgC;2CAAhC,gCAAgC;CAwB5C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AbstractControl, FormBuilder } from '@angular/forms';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { ListItemWithId, MultiInputKeyValue, ValuePathSelectorPrefix } from '@valtimo/components';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class WidgetWizardDisplayConditionsStepComponent {
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly translateService;
|
|
11
|
+
private readonly widgetWizardService;
|
|
12
|
+
private readonly route;
|
|
13
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
14
|
+
readonly params$: Observable<import("@valtimo/shared").CaseManagementParams>;
|
|
15
|
+
private readonly _OPERATORS;
|
|
16
|
+
readonly operatorItems$: Observable<Array<ListItemWithId>>;
|
|
17
|
+
readonly defaultConditionValues$: Observable<{
|
|
18
|
+
key: string;
|
|
19
|
+
dropdown: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[]>;
|
|
22
|
+
readonly form: import("@angular/forms").FormGroup<{
|
|
23
|
+
conditions: import("@angular/forms").FormControl<any>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly $multiInputType: import("@angular/core").Signal<"valuePathSelectorDropdownValue" | "keyDropdownValue">;
|
|
26
|
+
get conditions(): AbstractControl;
|
|
27
|
+
constructor(fb: FormBuilder, translateService: TranslateService, widgetWizardService: WidgetWizardService, route: ActivatedRoute);
|
|
28
|
+
onAllConditionsValid(allConditionsValid: boolean): void;
|
|
29
|
+
conditionsValueChange(values: Array<MultiInputKeyValue>): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardDisplayConditionsStepComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardDisplayConditionsStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=widget-wizard-display-conditions-step.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-wizard-display-conditions-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-display-conditions-step/widget-wizard-display-conditions-step.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,eAAe,EAAE,WAAW,EAAmC,MAAM,gBAAgB,CAAC;AAC9F,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAgB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAEL,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAc,UAAU,EAAO,MAAM,MAAM,CAAC;AACnD,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAiBa,0CAA0C;IAyDnD,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,KAAK;IA3DxB,SAAgB,uBAAuB,iCAA2B;IAElE,SAAgB,OAAO,6DAA4C;IAEnE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAOzB;IAEF,SAAgB,cAAc,EAAE,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAU7D;IAEJ,SAAgB,uBAAuB;;;;SAcrC;IAEF,SAAgB,IAAI;;OAEjB;IAEH,SAAgB,eAAe,wFAI7B;IAEF,IAAW,UAAU,IAAI,eAAe,CAEvC;gBAGkB,EAAE,EAAE,WAAW,EACf,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB,EACxC,KAAK,EAAE,cAAc;IAGjC,oBAAoB,CAAC,kBAAkB,EAAE,OAAO,GAAG,IAAI;IAIvD,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI;yCAnE1D,0CAA0C;2CAA1C,0CAA0C;CAiFtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WidgetWizardService } from '../../../../../services';
|
|
2
1
|
import { WidgetStyle } from '../../../../../models';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class WidgetWizardStyleStepComponent {
|
|
5
5
|
private readonly widgetWizardService;
|
|
@@ -10,6 +10,6 @@ export declare class WidgetWizardStyleStepComponent {
|
|
|
10
10
|
value: WidgetStyle;
|
|
11
11
|
}): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardStyleStepComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardStyleStepComponent, "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardStyleStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=widget-wizard-style-step.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-wizard-style-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-step.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"widget-wizard-style-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-step.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAMa,8BAA8B;IAI7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAHhD,SAAgB,WAAW,qBAAe;IAC1C,SAAgB,YAAY,sDAAyC;gBAExC,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,WAAW,CAAA;KAAC,GAAG,IAAI;yCAN9C,8BAA8B;2CAA9B,8BAA8B;CAS1C"}
|
|
@@ -10,6 +10,6 @@ export declare class WidgetWizardTypeStepComponent {
|
|
|
10
10
|
value: WidgetTypeSelection;
|
|
11
11
|
}): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardTypeStepComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardTypeStepComponent, "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardTypeStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=widget-wizard-type-step.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-wizard-type-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAoB,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,
|
|
1
|
+
{"version":3,"file":"widget-wizard-type-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAoB,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAOa,6BAA6B;IAW5B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAVhD,SAAgB,qBAAqB,wDAOlC;IACH,SAAgB,eAAe,8DAA4C;gBAE9C,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,mBAAmB,CAAA;KAAC,GAAG,IAAI;yCAbtD,6BAA6B;2CAA7B,6BAA6B;CAqBzC"}
|
|
@@ -11,6 +11,6 @@ export declare class WidgetWizardWidthStepComponent {
|
|
|
11
11
|
value: WidgetWidth;
|
|
12
12
|
}): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardWidthStepComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardWidthStepComponent, "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardWidthStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=widget-wizard-width-step.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-wizard-width-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA+C,MAAM,EAAC,MAAM,eAAe,CAAC;AAGnF,OAAO,EAAa,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,
|
|
1
|
+
{"version":3,"file":"widget-wizard-width-step.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAA+C,MAAM,EAAC,MAAM,eAAe,CAAC;AAGnF,OAAO,EAAa,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;;AAE5D,qBAMa,8BAA8B;IAQ7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAPhD,SAAgB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,CAIlD;IACF,SAAgB,YAAY,sDAAyC;gBAExC,mBAAmB,EAAE,mBAAmB;IAE9D,eAAe,CAAC,KAAK,EAAE;QAAC,KAAK,EAAE,WAAW,CAAA;KAAC,GAAG,IAAI;yCAV9C,8BAA8B;2CAA9B,8BAA8B;CAa1C"}
|
package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts
CHANGED
|
@@ -1,45 +1,32 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy,
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, Signal } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { KeyGeneratorService } from '@valtimo/components';
|
|
4
4
|
import { Step } from 'carbon-components-angular';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { WidgetWizardCloseEvent
|
|
6
|
+
import { WidgetWizardCloseEvent } from '../../../models';
|
|
7
7
|
import { WidgetWizardService } from '../../../services';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class WidgetManagementWizardComponent implements
|
|
9
|
+
export declare class WidgetManagementWizardComponent implements OnDestroy {
|
|
10
|
+
private readonly cdr;
|
|
10
11
|
private readonly keyGeneratorService;
|
|
11
12
|
private readonly translateService;
|
|
12
13
|
private readonly widgetWizardService;
|
|
14
|
+
private readonly _vcr;
|
|
13
15
|
open: boolean;
|
|
14
|
-
private readonly _widgetWizardSteps$;
|
|
15
|
-
widgetWizardSteps: typeof WidgetWizardSteps | typeof WidgetWizardStepsNoWidth;
|
|
16
|
-
private readonly _disableWidthStep$;
|
|
17
|
-
private _disableWidthStep;
|
|
18
|
-
set disableWidthStep(value: boolean);
|
|
19
16
|
disableDuplicate: boolean;
|
|
20
|
-
disableTitleInput: boolean;
|
|
21
|
-
private hasWidth;
|
|
22
|
-
get typeStepIndex(): number;
|
|
23
|
-
readonly typeStepIndex$: Observable<number>;
|
|
24
|
-
get widthStepIndex(): number;
|
|
25
|
-
readonly widthStepIndex$: Observable<number>;
|
|
26
|
-
get styleStepIndex(): number;
|
|
27
|
-
readonly styleStepIndex$: Observable<number>;
|
|
28
|
-
get contentStepIndex(): number;
|
|
29
|
-
readonly contentStepIndex$: Observable<number>;
|
|
30
17
|
private get _editMode();
|
|
31
18
|
set editMode(value: boolean);
|
|
32
19
|
get editMode(): boolean;
|
|
33
20
|
closeEvent: EventEmitter<WidgetWizardCloseEvent>;
|
|
34
|
-
readonly secondaryLabels$: Observable<Record<
|
|
21
|
+
readonly secondaryLabels$: Observable<Record<string, string>>;
|
|
35
22
|
readonly steps$: Observable<Step[]>;
|
|
36
|
-
|
|
37
|
-
readonly $
|
|
23
|
+
readonly $currentStepIndex: import("@angular/core").WritableSignal<number>;
|
|
24
|
+
readonly $numberOfSteps: Signal<number>;
|
|
25
|
+
readonly stepLabel$: Observable<any>;
|
|
38
26
|
readonly $backButtonDisabled: Signal<boolean>;
|
|
39
27
|
$nextButtonDisabled: Signal<boolean>;
|
|
40
28
|
private readonly _subscriptions;
|
|
41
|
-
constructor(keyGeneratorService: KeyGeneratorService, translateService: TranslateService, widgetWizardService: WidgetWizardService);
|
|
42
|
-
ngOnInit(): void;
|
|
29
|
+
constructor(cdr: ChangeDetectorRef, keyGeneratorService: KeyGeneratorService, translateService: TranslateService, widgetWizardService: WidgetWizardService);
|
|
43
30
|
ngOnDestroy(): void;
|
|
44
31
|
onStepSelected(event: {
|
|
45
32
|
step: Step;
|
|
@@ -48,10 +35,9 @@ export declare class WidgetManagementWizardComponent implements OnInit, OnDestro
|
|
|
48
35
|
onNextButtonClick(): void;
|
|
49
36
|
onBackButtonClick(): void;
|
|
50
37
|
onClose(): void;
|
|
51
|
-
onContentValidEvent(valid: boolean): void;
|
|
52
38
|
private resetWizard;
|
|
53
|
-
private
|
|
39
|
+
private renderStep;
|
|
54
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementWizardComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementWizardComponent, "valtimo-widget-management-wizard", never, { "open": { "alias": "open"; "required": false; }; "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementWizardComponent, "valtimo-widget-management-wizard", never, { "open": { "alias": "open"; "required": false; }; "disableDuplicate": { "alias": "disableDuplicate"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
56
42
|
}
|
|
57
43
|
//# sourceMappingURL=widget-management-wizard.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget-management-wizard.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/widget-management-wizard.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"widget-management-wizard.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/layout/src/lib/components/widget-management/management-wizard/widget-management-wizard.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,iBAAiB,EAIjB,YAAY,EAEZ,SAAS,EAET,MAAM,EAKP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAmB,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAIL,IAAI,EAEL,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAqB,UAAU,EAA0B,MAAM,MAAM,CAAC;AAC7E,OAAO,EAGL,sBAAsB,EAIvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;;AAGtD,qBAgBa,+BAAgC,YAAW,SAAS;IAmF7D,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IApFtC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAmB;IAExB,IAAI,UAAS;IACb,gBAAgB,UAAS;IAEzC,OAAO,KAAK,SAAS,GAEpB;IACD,IAAoB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAQ1C;IACD,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAEgB,UAAU,uCAA8C;IAEzE,SAAgB,gBAAgB,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAgBlE;IAEF,SAAgB,MAAM,EAAE,UAAU,CAAC,IAAI,EAAE,CAAC,CAgBxC;IAEF,SAAgB,iBAAiB,iDAA8C;IAC/E,SAAgB,cAAc,iBAE5B;IAEF,SAAgB,UAAU,kBAMxB;IAEF,SAAgB,mBAAmB,EAAE,MAAM,CAAC,OAAO,CAAC,CAElD;IAEK,mBAAmB,kBAAgD;IAE1E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAsB;gBAGlC,GAAG,EAAE,iBAAiB,EACtB,mBAAmB,EAAE,mBAAmB,EACxC,gBAAgB,EAAE,gBAAgB,EAClC,mBAAmB,EAAE,mBAAmB;IAQpD,WAAW,IAAI,IAAI;IAInB,cAAc,CAAC,KAAK,EAAE;QAAC,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI;IAIxD,iBAAiB,IAAI,IAAI;IA8BzB,iBAAiB,IAAI,IAAI;IAIzB,OAAO,IAAI,IAAI;IAKtB,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,UAAU;yCAnJP,+BAA+B;2CAA/B,+BAA+B;CA8J3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-map/index.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { MapWidget, MapData } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetMapComponent implements AfterViewInit, OnDestroy {
|
|
6
|
+
readonly class = "widget-map";
|
|
7
|
+
private _widgetMapRef;
|
|
8
|
+
set widgetConfiguration(value: MapWidget);
|
|
9
|
+
readonly isEmptyWidgetData$: BehaviorSubject<boolean>;
|
|
10
|
+
readonly noVisibleMap$: BehaviorSubject<boolean>;
|
|
11
|
+
set widgetData(value: object);
|
|
12
|
+
readonly noVisibleMapEvent: EventEmitter<boolean>;
|
|
13
|
+
readonly widgetConfiguration$: BehaviorSubject<MapWidget>;
|
|
14
|
+
readonly widgetData$: BehaviorSubject<MapData>;
|
|
15
|
+
private _observer;
|
|
16
|
+
private map;
|
|
17
|
+
private vectorLayer;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
private openWidthObserver;
|
|
21
|
+
private checkEmptyWidgetData;
|
|
22
|
+
private subscribeMapData;
|
|
23
|
+
private fitMap;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetMapComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetMapComponent, "valtimo-widget-map", never, { "widgetConfiguration": { "alias": "widgetConfiguration"; "required": false; }; "widgetData": { "alias": "widgetData"; "required": false; }; }, { "noVisibleMapEvent": "noVisibleMapEvent"; }, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=widget-map.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-map.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/layout/src/lib/components/widget-map/widget-map.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAIb,YAAY,EAGZ,SAAS,EAIV,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAC,eAAe,EAAC,MAAM,MAAM,CAAC;AACrC,OAAO,EAAC,SAAS,EAAE,OAAO,EAAC,MAAM,cAAc,CAAC;;AAWhD,qBAiBa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IACjE,SAAsC,KAAK,gBAAgB;IAEnC,OAAO,CAAC,aAAa,CAA6B;IAE1E,IAAoB,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAGvD;IAED,SAAgB,kBAAkB,2BAAuC;IACzE,SAAgB,aAAa,2BAAsC;IAEnE,IAAoB,UAAU,CAAC,KAAK,EAAE,MAAM,EAI3C;IAED,SAA0B,iBAAiB,wBAA+B;IAE1E,SAAgB,oBAAoB,6BAA+C;IACnF,SAAgB,WAAW,2BAA6C;IAExE,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,GAAG,CAAO;IAClB,OAAO,CAAC,WAAW,CAA6B;IAEzC,eAAe,IAAI,IAAI;IAKvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,gBAAgB;IA0ExB,OAAO,CAAC,MAAM;yCAxHH,kBAAkB;2CAAlB,kBAAkB;CAiI9B"}
|
|
@@ -12,6 +12,7 @@ export declare class WidgetTableComponent {
|
|
|
12
12
|
set widgetConfiguration(value: TableWidget);
|
|
13
13
|
readonly showPagination: import("@angular/core").WritableSignal<boolean>;
|
|
14
14
|
readonly widgetData$: BehaviorSubject<CarbonListItem[]>;
|
|
15
|
+
readonly resolvedData$: BehaviorSubject<object>;
|
|
15
16
|
private _paginationInitialized;
|
|
16
17
|
private _initialNumberOfElements;
|
|
17
18
|
set widgetData(value: Page<CarbonListItem> | null);
|