@valtimo/layout 13.0.0 → 13.0.1-next-minor.81
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/emptystate-empty.svg +0 -0
- package/assets/img/emptystate-error.svg +0 -0
- package/assets/img/emptystate-error404.svg +0 -0
- package/assets/img/emptystate-no-result.svg +0 -0
- package/assets/img/emptystate-not-authorised.svg +0 -0
- package/assets/img/emptystate-success.svg +0 -0
- package/fesm2022/valtimo-layout.mjs +3942 -132
- package/fesm2022/valtimo-layout.mjs.map +1 -1
- package/lib/components/index.d.ts +14 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/layout/index.d.ts +2 -0
- package/lib/components/layout/index.d.ts.map +1 -0
- package/lib/components/layout-internal/index.d.ts +2 -0
- package/lib/components/layout-internal/index.d.ts.map +1 -0
- package/lib/components/layout-public/index.d.ts +2 -0
- package/lib/components/layout-public/index.d.ts.map +1 -0
- package/lib/components/translation-management/index.d.ts +2 -0
- package/lib/components/translation-management/index.d.ts.map +1 -0
- package/lib/components/widget-block/index.d.ts +2 -0
- package/lib/components/widget-block/index.d.ts.map +1 -0
- package/lib/components/widget-block/widget-block.component.d.ts +39 -0
- package/lib/components/widget-block/widget-block.component.d.ts.map +1 -0
- package/lib/components/widget-collection/index.d.ts +2 -0
- package/lib/components/widget-collection/index.d.ts.map +1 -0
- package/lib/components/widget-collection/widget-collection.component.d.ts +45 -0
- package/lib/components/widget-collection/widget-collection.component.d.ts.map +1 -0
- package/lib/components/widget-container/index.d.ts +2 -0
- package/lib/components/widget-container/index.d.ts.map +1 -0
- package/lib/components/widget-container/widget-container.component.d.ts +30 -0
- package/lib/components/widget-container/widget-container.component.d.ts.map +1 -0
- package/lib/components/widget-custom/index.d.ts +2 -0
- package/lib/components/widget-custom/index.d.ts.map +1 -0
- package/lib/components/widget-custom/widget-custom.component.d.ts +29 -0
- package/lib/components/widget-custom/widget-custom.component.d.ts.map +1 -0
- package/lib/components/widget-field/index.d.ts +2 -0
- package/lib/components/widget-field/index.d.ts.map +1 -0
- package/lib/components/widget-field/widget-field.component.d.ts +37 -0
- package/lib/components/widget-field/widget-field.component.d.ts.map +1 -0
- package/lib/components/widget-formio/index.d.ts +2 -0
- package/lib/components/widget-formio/index.d.ts.map +1 -0
- package/lib/components/widget-formio/widget-formio.component.d.ts +30 -0
- package/lib/components/widget-formio/widget-formio.component.d.ts.map +1 -0
- package/lib/components/widget-interactive-table/index.d.ts +2 -0
- package/lib/components/widget-interactive-table/index.d.ts.map +1 -0
- package/lib/components/widget-interactive-table/widget-interactive-table.component.d.ts +37 -0
- package/lib/components/widget-interactive-table/widget-interactive-table.component.d.ts.map +1 -0
- package/lib/components/widget-management/index.d.ts +5 -0
- package/lib/components/widget-management/index.d.ts.map +1 -0
- package/lib/components/widget-management/management/widget-management.component.d.ts +27 -0
- package/lib/components/widget-management/management/widget-management.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/collection/widget-management-collection.component.d.ts +64 -0
- package/lib/components/widget-management/management-content/collection/widget-management-collection.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/custom/widget-management-custom.component.d.ts +38 -0
- package/lib/components/widget-management/management-content/custom/widget-management-custom.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.d.ts +60 -0
- package/lib/components/widget-management/management-content/fields/column/widget-management-fields-column.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/fields/widget-management-fields.component.d.ts +38 -0
- package/lib/components/widget-management/management-content/fields/widget-management-fields.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/formio/widget-management-widget-formio.component.d.ts +42 -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 +5 -0
- package/lib/components/widget-management/management-content/index.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.d.ts +27 -0
- package/lib/components/widget-management/management-content/interactive-table/widget-management-interactive-table.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-content/table/widget-management-table.component.d.ts +42 -0
- package/lib/components/widget-management/management-content/table/widget-management-table.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-divider-modal/widget-management-divider-modal.component.d.ts +35 -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 +53 -0
- package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts.map +1 -0
- 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 +7 -0
- package/lib/components/widget-management/management-wizard/steps/index.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.d.ts +17 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-content-step/widget-wizard-content-step.component.d.ts.map +1 -0
- 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 +15 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-style-step/widget-wizard-style-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.d.ts +15 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-type-step/widget-wizard-type-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.d.ts +16 -0
- package/lib/components/widget-management/management-wizard/steps/widget-wizard-width-step/widget-wizard-width-step.component.d.ts.map +1 -0
- package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts +43 -0
- package/lib/components/widget-management/management-wizard/widget-management-wizard.component.d.ts.map +1 -0
- package/lib/components/widget-table/index.d.ts +2 -0
- package/lib/components/widget-table/index.d.ts.map +1 -0
- package/lib/components/widget-table/widget-table.component.d.ts +26 -0
- package/lib/components/widget-table/widget-table.component.d.ts.map +1 -0
- package/lib/constants/custom-widget-token.d.ts +5 -0
- package/lib/constants/custom-widget-token.d.ts.map +1 -0
- package/lib/constants/index.d.ts +4 -0
- package/lib/constants/index.d.ts.map +1 -0
- package/lib/constants/widget-management.constants.d.ts +5 -0
- package/lib/constants/widget-management.constants.d.ts.map +1 -0
- package/lib/constants/widget.constants.d.ts +6 -0
- package/lib/constants/widget.constants.d.ts.map +1 -0
- package/lib/interfaces/index.d.ts +3 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- 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 +12 -0
- package/lib/interfaces/widget-management-service.interface.d.ts.map +1 -0
- package/lib/layout.module.d.ts +2 -1
- package/lib/layout.module.d.ts.map +1 -1
- package/lib/models/index.d.ts +6 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/widget-content.model.d.ts +56 -0
- package/lib/models/widget-content.model.d.ts.map +1 -0
- package/lib/models/widget-display.model.d.ts +62 -0
- package/lib/models/widget-display.model.d.ts.map +1 -0
- package/lib/models/widget-editor.model.d.ts +10 -0
- package/lib/models/widget-editor.model.d.ts.map +1 -0
- package/lib/models/widget-wizard.model.d.ts +39 -0
- package/lib/models/widget-wizard.model.d.ts.map +1 -0
- package/lib/models/widget.model.d.ts +129 -0
- package/lib/models/widget.model.d.ts.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/widget-fields.service.d.ts +17 -0
- package/lib/services/widget-fields.service.d.ts.map +1 -0
- package/lib/services/widget-layout.service.d.ts +35 -0
- package/lib/services/widget-layout.service.d.ts.map +1 -0
- package/lib/services/widget-wizard.service.d.ts +40 -0
- package/lib/services/widget-wizard.service.d.ts.map +1 -0
- package/package.json +1 -1
- package/public_api.d.ts +5 -0
- package/public_api.d.ts.map +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, Signal, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormArray, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { CdsThemeService, CurrentCarbonTheme, ValuePathItem, ValuePathSelectorPrefix } from '@valtimo/components';
|
|
5
|
+
import { Dropdown, IconService, ListItem } from 'carbon-components-angular';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { WidgetFieldsService, WidgetWizardService } from '../../../../../services';
|
|
8
|
+
import { FieldsWidgetValue, WidgetDisplayTypeKey, WidgetType } from '../../../../../models';
|
|
9
|
+
import { IWidgetManagementService } from '../../../../../interfaces';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class WidgetManagementFieldsColumnComponent implements OnInit, OnDestroy {
|
|
12
|
+
private readonly cdsThemeService;
|
|
13
|
+
private readonly cdr;
|
|
14
|
+
private readonly fb;
|
|
15
|
+
private readonly iconService;
|
|
16
|
+
private readonly translateService;
|
|
17
|
+
private readonly widgetFieldsService;
|
|
18
|
+
private readonly widgetWizardService;
|
|
19
|
+
private widgetManagementService;
|
|
20
|
+
readonly class = "valtimo-widget-management-field-column";
|
|
21
|
+
columnData: FieldsWidgetValue[];
|
|
22
|
+
addTranslateKey: string;
|
|
23
|
+
fieldWidthDropdown?: TemplateRef<Dropdown>;
|
|
24
|
+
selectedCollection?: ValuePathItem;
|
|
25
|
+
showHideWhenEmptyCheckbox: boolean;
|
|
26
|
+
columnUpdateEvent: EventEmitter<{
|
|
27
|
+
data: FieldsWidgetValue[];
|
|
28
|
+
valid: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
31
|
+
formGroup: FormGroup<{
|
|
32
|
+
rows: FormArray<import("@angular/forms").FormControl<unknown>>;
|
|
33
|
+
}>;
|
|
34
|
+
get formRows(): FormArray | undefined;
|
|
35
|
+
displayTypeItems: ListItem[];
|
|
36
|
+
getDisplayItemsSelected(row: AbstractControl): ListItem[];
|
|
37
|
+
readonly params$: Observable<any>;
|
|
38
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
39
|
+
readonly WidgetDisplayTypeKey: typeof WidgetDisplayTypeKey;
|
|
40
|
+
readonly $widgetType: Signal<WidgetType>;
|
|
41
|
+
readonly $isFieldWidget: Signal<boolean>;
|
|
42
|
+
readonly inputTheme$: Observable<CurrentCarbonTheme>;
|
|
43
|
+
private _subscriptions;
|
|
44
|
+
constructor(cdsThemeService: CdsThemeService, cdr: ChangeDetectorRef, fb: FormBuilder, iconService: IconService, translateService: TranslateService, widgetFieldsService: WidgetFieldsService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
addField(): void;
|
|
48
|
+
onDeleteRowClick(event: Event, formArray: FormArray, index: number): void;
|
|
49
|
+
onTypeSelected(formRow: FormGroup, event: {
|
|
50
|
+
item: ListItem;
|
|
51
|
+
}): void;
|
|
52
|
+
onAddEnumValueClick(valuesFormArray: FormArray): void;
|
|
53
|
+
private typeSelectValidator;
|
|
54
|
+
private getRowForm;
|
|
55
|
+
private initForm;
|
|
56
|
+
private openFormSubscription;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementFieldsColumnComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementFieldsColumnComponent, "valtimo-widget-management-fields-column", never, { "columnData": { "alias": "columnData"; "required": true; }; "addTranslateKey": { "alias": "addTranslateKey"; "required": false; }; "fieldWidthDropdown": { "alias": "fieldWidthDropdown"; "required": false; }; "selectedCollection": { "alias": "selectedCollection"; "required": false; }; "showHideWhenEmptyCheckbox": { "alias": "showHideWhenEmptyCheckbox"; "required": false; }; }, { "columnUpdateEvent": "columnUpdateEvent"; }, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=widget-management-fields-column.component.d.ts.map
|
|
@@ -0,0 +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,EAIZ,SAAS,EACT,MAAM,EAEN,MAAM,EACN,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EACf,SAAS,EACT,WAAW,EACX,SAAS,EAGV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACtE,OAAO,EACL,eAAe,EACf,kBAAkB,EAElB,aAAa,EAEb,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAIL,QAAQ,EAGR,WAAW,EAGX,QAAQ,EACT,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAe,UAAU,EAAe,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAC,mBAAmB,EAAE,mBAAmB,EAAC,MAAM,yBAAyB,CAAC;AACjF,OAAO,EACL,iBAAiB,EAIjB,oBAAoB,EAIpB,UAAU,EAEX,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAC,wBAAwB,EAAC,MAAM,2BAA2B,CAAC;;AAEnE,qBAsBa,qCAAsC,YAAW,MAAM,EAAE,SAAS;IA+C3E,OAAO,CAAC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AuB,EAAE,wBAAwB,CAAC,GAAG,CAAC;IAKzD,QAAQ,IAAI,IAAI;IAKhB,WAAW,IAAI,IAAI;IAKnB,QAAQ,IAAI,IAAI;IAoBhB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAOzE,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE;QAAC,IAAI,EAAE,QAAQ,CAAA;KAAC,GAAG,IAAI;IAQjE,mBAAmB,CAAC,eAAe,EAAE,SAAS,GAAG,IAAI;IAS5D,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,UAAU;IAwElB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,oBAAoB;yCAlNjB,qCAAqC;2CAArC,qCAAqC;CA+OjD"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { FieldsWidgetValue } from '../../../../models';
|
|
4
|
+
import { WidgetWizardService } from '../../../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetManagementFieldsComponent implements OnDestroy, OnInit, AfterViewInit {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly widgetWizardService;
|
|
9
|
+
readonly class = "valtimo-widget-management-fields";
|
|
10
|
+
private readonly _tab;
|
|
11
|
+
readonly $showTitleInput: import("@angular/core").WritableSignal<boolean>;
|
|
12
|
+
form: import("@angular/forms").FormGroup<{
|
|
13
|
+
widgetTitle: import("@angular/forms").FormControl<string>;
|
|
14
|
+
}>;
|
|
15
|
+
readonly $columns: import("@angular/core").WritableSignal<null[]>;
|
|
16
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
17
|
+
readonly $widgetWidth: import("@valtimo/layout").WidgetWidth;
|
|
18
|
+
readonly selectedTabIndex = -1;
|
|
19
|
+
readonly $selectedWidgetContent: import("@angular/core").Signal<{}>;
|
|
20
|
+
readonly activeTab: import("@angular/core").WritableSignal<number>;
|
|
21
|
+
private readonly _subscriptions;
|
|
22
|
+
private readonly _contentValid;
|
|
23
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
onAddColumnClick(): void;
|
|
28
|
+
onTabSelected(index: number): void;
|
|
29
|
+
onDeleteColumnClick(index: number): void;
|
|
30
|
+
onColumnUpdateEvent(event: {
|
|
31
|
+
data: FieldsWidgetValue[];
|
|
32
|
+
valid: boolean;
|
|
33
|
+
}, columnIndex: number): void;
|
|
34
|
+
private hideTitleInput;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementFieldsComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementFieldsComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=widget-management-fields.component.d.ts.map
|
|
@@ -0,0 +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,EAMb,SAAS,EACT,MAAM,EAKP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAkB,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAK7F,OAAO,EAAC,iBAAiB,EAAsB,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAGzD,qBAkBa,+BAAgC,YAAW,SAAS,EAAE,MAAM,EAAE,aAAa;IA6BpF,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IA7BtC,SAAsC,KAAK,sCAAsC;IACjE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAM;IAE3C,SAAgB,eAAe,kDAAyB;IAEjD,IAAI;;OAER;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;IAoBhB,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;yCA1HX,+BAA+B;2CAA/B,+BAA+B;CAsI3C"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
}>;
|
|
19
|
+
get widgetTitle(): AbstractControl<string | null> | null;
|
|
20
|
+
readonly theme$: Observable<CARBON_THEME.WHITE | CARBON_THEME.G90>;
|
|
21
|
+
private readonly _selectedFormDefinitionId$;
|
|
22
|
+
private readonly _formDefinitionOptions$;
|
|
23
|
+
readonly params$: Observable<any>;
|
|
24
|
+
readonly formListItems$: Observable<ListItem[]>;
|
|
25
|
+
private readonly _subscriptions;
|
|
26
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, widgetWizardService: WidgetWizardService, formService: FormService, widgetManagementService: IWidgetManagementService<any>);
|
|
27
|
+
componentDropDownChange(event: {
|
|
28
|
+
item: {
|
|
29
|
+
id: string;
|
|
30
|
+
selected: boolean;
|
|
31
|
+
};
|
|
32
|
+
isUpdate: boolean;
|
|
33
|
+
}): void;
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
private openTitleSubscription;
|
|
37
|
+
private fetchFormDefinition;
|
|
38
|
+
private prefill;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementWidgetFormioComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementWidgetFormioComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
//# 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,EAKL,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,eAAe,EAAE,WAAW,EAAkC,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EAAC,YAAY,EAAE,eAAe,EAAqB,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAuB,WAAW,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAA8B,QAAQ,EAAe,MAAM,2BAA2B,CAAC;AAC9F,OAAO,EAA8C,UAAU,EAAe,MAAM,MAAM,CAAC;AAE3F,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;;AAGzD,qBAca,qCAAsC,YAAW,SAAS,EAAE,MAAM;IAqC3E,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;IAzCjC,SAAgB,IAAI;;OAEjB;IAEH,IAAW,WAAW,IAAI,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,IAAI,CAE9D;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;IAMhB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,qBAAqB;IAQ7B,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,OAAO;yCA3FJ,qCAAqC;2CAArC,qCAAqC;CAoGjD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './fields/widget-management-fields.component';
|
|
2
|
+
export * from './table/widget-management-table.component';
|
|
3
|
+
export * from './collection/widget-management-collection.component';
|
|
4
|
+
export * from './custom/widget-management-custom.component';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormArray, FormBuilder } from '@angular/forms';
|
|
3
|
+
import { MultiInputValues } from '@valtimo/components';
|
|
4
|
+
import { WidgetWizardService } from '../../../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WidgetManagementInteractiveTableComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly fb;
|
|
8
|
+
private readonly widgetWizardService;
|
|
9
|
+
readonly class = "valtimo-widget-management-interactive-table";
|
|
10
|
+
formGroup: import("@angular/forms").FormGroup<{
|
|
11
|
+
canStartCase: import("@angular/forms").FormControl<boolean>;
|
|
12
|
+
actions: import("@angular/forms").FormControl<MultiInputValues>;
|
|
13
|
+
rowClickAction: import("@angular/forms").FormControl<string>;
|
|
14
|
+
}>;
|
|
15
|
+
get actionsControl(): FormArray;
|
|
16
|
+
private readonly _subscriptions;
|
|
17
|
+
constructor(fb: FormBuilder, widgetWizardService: WidgetWizardService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
onAddExternalLinkClick(): void;
|
|
21
|
+
removeExternalLink(index: number): void;
|
|
22
|
+
private openActionsSubscription;
|
|
23
|
+
private openDetailsSubscription;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementInteractiveTableComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementInteractiveTableComponent, "ng-component", never, {}, {}, never, ["*"], true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=widget-management-interactive-table.component.d.ts.map
|
|
@@ -0,0 +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,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;IAKhB,WAAW,IAAI,IAAI;IAInB,sBAAsB,IAAI,IAAI;IAS9B,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI9C,OAAO,CAAC,uBAAuB;IAmB/B,OAAO,CAAC,uBAAuB;yCA7EpB,yCAAyC;2CAAzC,yCAAyC;CAiGrD"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { CARBON_THEME, CdsThemeService, ValuePathItem, ValuePathSelectorPrefix, ValuePathType } from '@valtimo/components';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
+
import { IWidgetManagementService } from '../../../../interfaces';
|
|
7
|
+
import { FieldsWidgetValue, WidgetTableContent } from '../../../../models';
|
|
8
|
+
import { WidgetWizardService } from '../../../../services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class WidgetManagementTableComponent implements OnInit, OnDestroy {
|
|
11
|
+
private readonly cdsThemeService;
|
|
12
|
+
private readonly fb;
|
|
13
|
+
private readonly translateService;
|
|
14
|
+
private readonly widgetWizardService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
readonly class = "valtimo-widget-management-table";
|
|
17
|
+
showFirstColumnOption: boolean;
|
|
18
|
+
readonly form: FormGroup;
|
|
19
|
+
readonly theme$: Observable<CARBON_THEME>;
|
|
20
|
+
readonly params$: Observable<any>;
|
|
21
|
+
readonly $widgetContext: WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
22
|
+
readonly $content: WritableSignal<WidgetTableContent>;
|
|
23
|
+
readonly $checked: import("@angular/core").Signal<boolean>;
|
|
24
|
+
readonly selectedCollection$: BehaviorSubject<ValuePathItem>;
|
|
25
|
+
readonly ValuePathSelectorPrefix: typeof ValuePathSelectorPrefix;
|
|
26
|
+
readonly ValuePathType: typeof ValuePathType;
|
|
27
|
+
readonly collectionDataTooltip$: Observable<any>;
|
|
28
|
+
private readonly _$contentValid;
|
|
29
|
+
private readonly _subscriptions;
|
|
30
|
+
constructor(cdsThemeService: CdsThemeService, fb: FormBuilder, translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
onColumnUpdateEvent(event: {
|
|
34
|
+
data: FieldsWidgetValue[];
|
|
35
|
+
valid: boolean;
|
|
36
|
+
}): void;
|
|
37
|
+
onCheckedChange(firstColumnAsTitle: boolean): void;
|
|
38
|
+
onCollectionSelected(item: ValuePathItem): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementTableComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetManagementTableComponent, "valtimo-widget-management-table", never, { "showFirstColumnOption": { "alias": "showFirstColumnOption"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=widget-management-table.component.d.ts.map
|
|
@@ -0,0 +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,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,M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G,CAAC;IAGzD,QAAQ,IAAI,IAAI;IAmBhB,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;yCA1G3C,8BAA8B;2CAA9B,8BAA8B;CA6G1C"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
showAutoKey: boolean;
|
|
16
|
+
private _open;
|
|
17
|
+
set open(value: boolean);
|
|
18
|
+
get open(): boolean;
|
|
19
|
+
widgets: CarbonListItem;
|
|
20
|
+
usedKeys: string[];
|
|
21
|
+
dividerForm: FormGroup;
|
|
22
|
+
set prefillData(value: Widget | null);
|
|
23
|
+
closeEvent: EventEmitter<WidgetWizardCloseEvent>;
|
|
24
|
+
get title(): AbstractControl<string>;
|
|
25
|
+
get buttonLabel(): string;
|
|
26
|
+
submitDisabled$: BehaviorSubject<boolean>;
|
|
27
|
+
divider: BasicWidget;
|
|
28
|
+
constructor(fb: FormBuilder, iconService: IconService);
|
|
29
|
+
onCloseModal(dividerCreated?: boolean): void;
|
|
30
|
+
onFocusOut(): void;
|
|
31
|
+
private resetForm;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementDividerModalComponent, never>;
|
|
33
|
+
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>;
|
|
34
|
+
}
|
|
35
|
+
//# 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;IAyE9C,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAzE9B,OAAO,CAAC,UAAU,CAAY;IAC9B,IACW,SAAS,CAAC,KAAK,EAAE,SAAS,EAEpC;IACD,IAAW,SAAS,IAAI,SAAS,CAEhC;IAEM,WAAW,UAAQ;IAE1B,OAAO,CAAC,KAAK,CAAS;IACtB,IAAoB,IAAI,CAAC,KAAK,EAAE,OAAO,EAMtC;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;IA2B5C,UAAU,IAAI,IAAI;IAQzB,OAAO,CAAC,SAAS,CAKf;yCAvHS,qCAAqC;2CAArC,qCAAqC;CAwHjD"}
|
package/lib/components/widget-management/management-editor/widget-management-editor.component.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { ActionItem, CarbonListItem, ColumnConfig } from '@valtimo/components';
|
|
4
|
+
import { ModalMode } from '@valtimo/shared';
|
|
5
|
+
import { IconService } from 'carbon-components-angular';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
+
import { IWidgetManagementService } from '../../../interfaces';
|
|
8
|
+
import { BasicWidget, Widget, WidgetType, WidgetWidth, WidgetWizardCloseEvent } from '../../../models';
|
|
9
|
+
import { WidgetWizardService } from '../../../services';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class WidgetManagementEditorComponent implements OnDestroy {
|
|
12
|
+
private readonly iconService;
|
|
13
|
+
private readonly translateService;
|
|
14
|
+
private readonly widgetWizardService;
|
|
15
|
+
private widgetManagementService;
|
|
16
|
+
enableWidgetDivider: boolean;
|
|
17
|
+
set params(value: any);
|
|
18
|
+
set availableWidgetTypes(value: WidgetType[]);
|
|
19
|
+
readonly disableDuplicate$: BehaviorSubject<boolean>;
|
|
20
|
+
set disableDuplicate(value: boolean);
|
|
21
|
+
readonly singleWidget$: BehaviorSubject<boolean>;
|
|
22
|
+
set singleWidget(value: boolean);
|
|
23
|
+
set defaultWidth(value: WidgetWidth | undefined);
|
|
24
|
+
readonly fields$: Observable<ColumnConfig[]>;
|
|
25
|
+
readonly actionItems$: Observable<ActionItem[]>;
|
|
26
|
+
readonly loading$: BehaviorSubject<boolean>;
|
|
27
|
+
private readonly _refresh$;
|
|
28
|
+
readonly widgets$: Observable<CarbonListItem[]>;
|
|
29
|
+
readonly usedKeys$: Observable<any[]>;
|
|
30
|
+
readonly dividerDefinition$: BehaviorSubject<Widget>;
|
|
31
|
+
readonly $isWizardOpen: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
+
readonly $isEditMode: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
readonly deleteModalOpen$: BehaviorSubject<boolean>;
|
|
34
|
+
readonly $deleteWidget: import("@angular/core").WritableSignal<BasicWidget>;
|
|
35
|
+
readonly $isDividerModalOpen: import("@angular/core").WritableSignal<boolean>;
|
|
36
|
+
readonly $dividerModalMode: import("@angular/core").WritableSignal<ModalMode>;
|
|
37
|
+
readonly $dragAndDropDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
38
|
+
constructor(iconService: IconService, translateService: TranslateService, widgetWizardService: WidgetWizardService, widgetManagementService: IWidgetManagementService<any>);
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
editWidget(widget: Widget): void;
|
|
41
|
+
duplicateWidget(tabWidget: Widget): void;
|
|
42
|
+
openAddModal(): void;
|
|
43
|
+
onDeleteConfirm(widget: BasicWidget): void;
|
|
44
|
+
onCloseEvent(event: WidgetWizardCloseEvent | null): void;
|
|
45
|
+
onItemsReordered(widgets: Widget[]): void;
|
|
46
|
+
openAddDividerModal(): void;
|
|
47
|
+
onCloseDividerModalEvent(dividerDefinition: BasicWidget): void;
|
|
48
|
+
private deleteWidget;
|
|
49
|
+
private getWidthTranslationKey;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementEditorComponent, 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>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=widget-management-editor.component.d.ts.map
|
|
@@ -0,0 +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":"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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AE,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;IAyBhC,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;yCAtPnB,+BAA+B;2CAA/B,+BAA+B;CAoQ3C"}
|
|
@@ -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,EAA0C,MAAM,MAAM,CAAC;AAE5F,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAE7D,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;IAGzD,QAAQ,IAAI,IAAI;IAuChB,iBAAiB,CAAC,SAAS,EAAE,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI;yCAjGxD,wCAAwC;2CAAxC,wCAAwC;CAwGpD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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';
|
|
3
|
+
import { WidgetWizardStyleStepComponent } from './widget-wizard-style-step/widget-wizard-style-step.component';
|
|
4
|
+
import { WidgetWizardTypeStepComponent } from './widget-wizard-type-step/widget-wizard-type-step.component';
|
|
5
|
+
import { WidgetWizardWidthStepComponent } from './widget-wizard-width-step/widget-wizard-width-step.component';
|
|
6
|
+
export declare const WIDGET_STEPS: (typeof WidgetWizardContentStepComponent | typeof WidgetWizardDisplayConditionsStepComponent | typeof WidgetWizardStyleStepComponent | typeof WidgetWizardTypeStepComponent | typeof WidgetWizardWidthStepComponent)[];
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AfterViewInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services/widget-wizard.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardContentStepComponent implements AfterViewInit {
|
|
5
|
+
private readonly vcr;
|
|
6
|
+
private readonly widgetWizardService;
|
|
7
|
+
processSelector: TemplateRef<any>;
|
|
8
|
+
projectedNodes: Node[][];
|
|
9
|
+
readonly $selectedWidget: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetTypeSelection>;
|
|
10
|
+
readonly $disableProcessSelector: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
readonly $widgetContext: import("@angular/core").WritableSignal<import("@valtimo/layout").WidgetContext>;
|
|
12
|
+
constructor(vcr: ViewContainerRef, widgetWizardService: WidgetWizardService);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardContentStepComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardContentStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=widget-wizard-content-step.component.d.ts.map
|
|
@@ -0,0 +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,EACL,aAAa,EAKb,WAAW,EAEX,gBAAgB,EAGjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAGlF,qBAMa,gCAAiC,YAAW,aAAa;IAUlE,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAVa,eAAe,EAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAE/E,cAAc,EAAE,IAAI,EAAE,EAAE,CAAC;IAEhC,SAAgB,eAAe,wFAA4C;IAC3E,SAAgB,uBAAuB,kDAAoD;IAC3F,SAAgB,cAAc,kFAA2C;gBAGtD,GAAG,EAAE,gBAAgB,EACrB,mBAAmB,EAAE,mBAAmB;IAQpD,eAAe,IAAI,IAAI;yCAnBnB,gCAAgC;2CAAhC,gCAAgC;CAyB5C"}
|
|
@@ -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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WidgetStyle } from '../../../../../models';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardStyleStepComponent {
|
|
5
|
+
private readonly widgetWizardService;
|
|
6
|
+
readonly WidgetStyle: typeof WidgetStyle;
|
|
7
|
+
readonly $widgetStyle: import("@angular/core").WritableSignal<WidgetStyle>;
|
|
8
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
9
|
+
onSelectedEvent(event: {
|
|
10
|
+
value: WidgetStyle;
|
|
11
|
+
}): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardStyleStepComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardStyleStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-wizard-style-step.component.d.ts.map
|
|
@@ -0,0 +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":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WidgetTypeSelection } from '../../../../../models';
|
|
2
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WidgetWizardTypeStepComponent {
|
|
5
|
+
private readonly widgetWizardService;
|
|
6
|
+
readonly $availableWidgetTypes: import("@angular/core").Signal<WidgetTypeSelection[]>;
|
|
7
|
+
readonly $selectedWidget: import("@angular/core").WritableSignal<WidgetTypeSelection>;
|
|
8
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
9
|
+
onSelectedEvent(event: {
|
|
10
|
+
value: WidgetTypeSelection;
|
|
11
|
+
}): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardTypeStepComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardTypeStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=widget-wizard-type-step.component.d.ts.map
|
|
@@ -0,0 +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,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Signal } from '@angular/core';
|
|
2
|
+
import { WidgetWidth } from '../../../../../models';
|
|
3
|
+
import { WidgetWizardService } from '../../../../../services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class WidgetWizardWidthStepComponent {
|
|
6
|
+
private readonly widgetWizardService;
|
|
7
|
+
readonly $fieldsColumnsLength: Signal<number>;
|
|
8
|
+
readonly $widgetWidth: import("@angular/core").WritableSignal<WidgetWidth>;
|
|
9
|
+
constructor(widgetWizardService: WidgetWizardService);
|
|
10
|
+
onSelectedEvent(event: {
|
|
11
|
+
value: WidgetWidth;
|
|
12
|
+
}): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetWizardWidthStepComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetWizardWidthStepComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=widget-wizard-width-step.component.d.ts.map
|
|
@@ -0,0 +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,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
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, Signal } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { KeyGeneratorService } from '@valtimo/components';
|
|
4
|
+
import { Step } from 'carbon-components-angular';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { WidgetWizardCloseEvent } from '../../../models';
|
|
7
|
+
import { WidgetWizardService } from '../../../services';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class WidgetManagementWizardComponent implements OnDestroy {
|
|
10
|
+
private readonly cdr;
|
|
11
|
+
private readonly keyGeneratorService;
|
|
12
|
+
private readonly translateService;
|
|
13
|
+
private readonly widgetWizardService;
|
|
14
|
+
private readonly _vcr;
|
|
15
|
+
open: boolean;
|
|
16
|
+
disableDuplicate: boolean;
|
|
17
|
+
private get _editMode();
|
|
18
|
+
set editMode(value: boolean);
|
|
19
|
+
get editMode(): boolean;
|
|
20
|
+
closeEvent: EventEmitter<WidgetWizardCloseEvent>;
|
|
21
|
+
readonly secondaryLabels$: Observable<Record<string, string>>;
|
|
22
|
+
readonly steps$: Observable<Step[]>;
|
|
23
|
+
readonly $currentStepIndex: import("@angular/core").WritableSignal<number>;
|
|
24
|
+
readonly $numberOfSteps: Signal<number>;
|
|
25
|
+
readonly stepLabel$: Observable<any>;
|
|
26
|
+
readonly $backButtonDisabled: Signal<boolean>;
|
|
27
|
+
$nextButtonDisabled: Signal<boolean>;
|
|
28
|
+
private readonly _subscriptions;
|
|
29
|
+
constructor(cdr: ChangeDetectorRef, keyGeneratorService: KeyGeneratorService, translateService: TranslateService, widgetWizardService: WidgetWizardService);
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
onStepSelected(event: {
|
|
32
|
+
step: Step;
|
|
33
|
+
index: number;
|
|
34
|
+
}): void;
|
|
35
|
+
onNextButtonClick(): void;
|
|
36
|
+
onBackButtonClick(): void;
|
|
37
|
+
onClose(): void;
|
|
38
|
+
private resetWizard;
|
|
39
|
+
private renderStep;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetManagementWizardComponent, never>;
|
|
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>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=widget-management-wizard.component.d.ts.map
|
|
@@ -0,0 +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,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,EAAqD,IAAI,EAAc,MAAM,2BAA2B,CAAC;AAChH,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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