@valtimo/components 13.45.1 → 13.47.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/fesm2022/valtimo-components.mjs +1325 -376
- package/fesm2022/valtimo-components.mjs.map +1 -1
- package/lib/components/auto-key-input/auto-key-input.component.d.ts +9 -1
- package/lib/components/auto-key-input/auto-key-input.component.d.ts.map +1 -1
- package/lib/components/drag-drop-list/drag-drop-list.component.d.ts +76 -0
- package/lib/components/drag-drop-list/drag-drop-list.component.d.ts.map +1 -0
- package/lib/components/form/form.component.d.ts +3 -1
- package/lib/components/form/form.component.d.ts.map +1 -1
- package/lib/components/form-io/components/form-io/form-io.component.d.ts +3 -0
- package/lib/components/form-io/components/form-io/form-io.component.d.ts.map +1 -1
- package/lib/components/form-io/components/form-io-builder/form-io-builder.component.d.ts.map +1 -1
- package/lib/components/left-sidebar/left-sidebar.component.d.ts +3 -1
- package/lib/components/left-sidebar/left-sidebar.component.d.ts.map +1 -1
- package/lib/components/mdi-icon-selector/mdi-icon-selector.component.d.ts +2 -1
- package/lib/components/mdi-icon-selector/mdi-icon-selector.component.d.ts.map +1 -1
- package/lib/components/menu/menu-configuration.model.d.ts +87 -0
- package/lib/components/menu/menu-configuration.model.d.ts.map +1 -0
- package/lib/components/menu/menu-configuration.resolver.d.ts +19 -0
- package/lib/components/menu/menu-configuration.resolver.d.ts.map +1 -0
- package/lib/components/menu/menu-configuration.seed.d.ts +16 -0
- package/lib/components/menu/menu-configuration.seed.d.ts.map +1 -0
- package/lib/components/menu/menu-item-catalog.d.ts +59 -0
- package/lib/components/menu/menu-item-catalog.d.ts.map +1 -0
- package/lib/components/multi-input/carbon-multi-input.component.d.ts +8 -1
- package/lib/components/multi-input/carbon-multi-input.component.d.ts.map +1 -1
- package/lib/components/select/select.component.d.ts +17 -0
- package/lib/components/select/select.component.d.ts.map +1 -1
- package/lib/components/value-path-selector/value-path-selector.component.d.ts +11 -0
- package/lib/components/value-path-selector/value-path-selector.component.d.ts.map +1 -1
- package/lib/constants/mdi.constants.d.ts.map +1 -1
- package/lib/services/admin-settings.service.d.ts +3 -0
- package/lib/services/admin-settings.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +5 -0
- package/public_api.d.ts.map +1 -1
|
@@ -8,10 +8,16 @@ export declare class AutoKeyInputComponent implements ControlValueAccessor, Vali
|
|
|
8
8
|
private readonly iconService;
|
|
9
9
|
labelTranslationKey: string;
|
|
10
10
|
placeholderTranslationKey: string;
|
|
11
|
+
dataTestId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
set disabled(value: boolean);
|
|
14
|
+
set defaultValue(value: string | undefined);
|
|
15
|
+
margin: boolean;
|
|
11
16
|
protected readonly testIds: {
|
|
12
17
|
readonly input: "autoKeyInput";
|
|
13
18
|
readonly editButton: "autoKeyEditButton";
|
|
14
19
|
};
|
|
20
|
+
readonly inputValue$: BehaviorSubject<string>;
|
|
15
21
|
private readonly _mode$;
|
|
16
22
|
set mode(value: ModalMode);
|
|
17
23
|
get mode$(): Observable<ModalMode>;
|
|
@@ -45,10 +51,12 @@ export declare class AutoKeyInputComponent implements ControlValueAccessor, Vali
|
|
|
45
51
|
enableKeyEditing(): void;
|
|
46
52
|
disableKeyEditing(): void;
|
|
47
53
|
private getUniqueKey;
|
|
54
|
+
private reflectSanitizedKey;
|
|
55
|
+
private setValue;
|
|
48
56
|
private resetInternalState;
|
|
49
57
|
private updateKey;
|
|
50
58
|
private getUniqueKeyWithNumber;
|
|
51
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoKeyInputComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutoKeyInputComponent, "valtimo-auto-key-input", never, { "labelTranslationKey": { "alias": "labelTranslationKey"; "required": false; }; "placeholderTranslationKey": { "alias": "placeholderTranslationKey"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "usedKeys": { "alias": "usedKeys"; "required": false; }; "sourceText": { "alias": "sourceText"; "required": false; }; }, {}, never,
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoKeyInputComponent, "valtimo-auto-key-input", never, { "labelTranslationKey": { "alias": "labelTranslationKey"; "required": false; }; "placeholderTranslationKey": { "alias": "placeholderTranslationKey"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "usedKeys": { "alias": "usedKeys"; "required": false; }; "sourceText": { "alias": "sourceText"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
53
61
|
}
|
|
54
62
|
//# sourceMappingURL=auto-key-input.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-key-input.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/auto-key-input/auto-key-input.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"auto-key-input.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/auto-key-input/auto-key-input.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAML,SAAS,EACT,SAAS,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EAIpB,UAAU,EACX,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAA2B,WAAW,EAAc,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAC9E,OAAO,EAAC,SAAS,EAA2B,MAAM,iBAAiB,CAAC;;AAKpE,qBA2Ba,qBACX,YAAW,oBAAoB,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS;IAwDrD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAtDxB,mBAAmB,EAAE,MAAM,CAAS;IACpC,yBAAyB,EAAE,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B,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,yBAAyB,CAAC,EAAE,EAAE,MAAM,IAAI;IAIxC,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG;QAAC,MAAM,EAAE,gBAAgB,CAAA;KAAC,GAAG,IAAI;IAYnE,gBAAgB,IAAI,IAAI;IAIxB,iBAAiB,IAAI,IAAI;IAIhC,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,SAAS;IAqBjB,OAAO,CAAC,sBAAsB;yCA7LnB,qBAAqB;2CAArB,qBAAqB;CAsMjC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { CdkDrag, CdkDragDrop, CdkDropList } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
+
import { IconService } from 'carbon-components-angular';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Reusable, presentational connected sortable list built on the (well-tested) Angular CDK
|
|
7
|
+
* `@angular/cdk/drag-drop`. It owns only the drag mechanics, Carbon-styled handle and
|
|
8
|
+
* placeholder/preview; the consumer renders each row via [itemTemplate] and mutates its own data in
|
|
9
|
+
* response to [droppedEvent] (re-emitted verbatim from CDK). Compose several instances — connected
|
|
10
|
+
* by [connectedTo] or a `cdkDropListGroup` wrapper — for nested or cross-list drag-and-drop.
|
|
11
|
+
*
|
|
12
|
+
* Set [sortingDisabled] on a "palette" list whose items should be copied (not moved) into another
|
|
13
|
+
* list: leave its own array untouched in the [droppedEvent] handler and clone the dragged item
|
|
14
|
+
* instead.
|
|
15
|
+
*/
|
|
16
|
+
export declare class DragDropListComponent<T = unknown> {
|
|
17
|
+
private readonly iconService;
|
|
18
|
+
items: T[];
|
|
19
|
+
listId: string;
|
|
20
|
+
connectedTo: string[];
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
sortingDisabled: boolean;
|
|
23
|
+
showHandle: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* When true the entire row is a drag surface (not just the handle), while interactive controls
|
|
26
|
+
* inside the row — `button`, `a`, `input`, `select`, `textarea`, `[role="button"]` or anything
|
|
27
|
+
* marked `[data-no-drag]` — never initiate a drag, so they stay clickable. The handle icon is then
|
|
28
|
+
* shown only as a visual grab cue.
|
|
29
|
+
*/
|
|
30
|
+
wholeRowDraggable: boolean;
|
|
31
|
+
orientation: 'vertical' | 'horizontal';
|
|
32
|
+
/**
|
|
33
|
+
* Aria label for the drag handle. Accepts either an already-translated string or a translation
|
|
34
|
+
* key — the template runs the value through the `translate` pipe, which passes unknown keys
|
|
35
|
+
* (i.e. already-translated strings) through unchanged.
|
|
36
|
+
*/
|
|
37
|
+
handleAriaLabel: string;
|
|
38
|
+
itemTemplate: TemplateRef<{
|
|
39
|
+
$implicit: T;
|
|
40
|
+
index: number;
|
|
41
|
+
}>;
|
|
42
|
+
/**
|
|
43
|
+
* Optional content rendered *below* the styled row (e.g. a nested sub-list). It sits inside the
|
|
44
|
+
* draggable element so it moves with the item, but outside the row surface — so the row's
|
|
45
|
+
* background, hover and drag handle cover only the header, not the whole subtree.
|
|
46
|
+
*/
|
|
47
|
+
expansionTemplate: TemplateRef<{
|
|
48
|
+
$implicit: T;
|
|
49
|
+
index: number;
|
|
50
|
+
}> | null;
|
|
51
|
+
emptyTemplate: TemplateRef<void> | null;
|
|
52
|
+
enterPredicate: (drag: CdkDrag, drop: CdkDropList) => boolean;
|
|
53
|
+
dragDisabled: (item: T, index: number) => boolean;
|
|
54
|
+
droppedEvent: EventEmitter<CdkDragDrop<T[], T[], any>>;
|
|
55
|
+
/** Emitted when a drag begins / ends anywhere in this list, so a host can reflect a global "dragging" state. */
|
|
56
|
+
dragStartedEvent: EventEmitter<void>;
|
|
57
|
+
dragEndedEvent: EventEmitter<void>;
|
|
58
|
+
constructor(iconService: IconService);
|
|
59
|
+
trackByIndex(index: number): number;
|
|
60
|
+
/**
|
|
61
|
+
* In whole-row mode the row element is the CDK drag surface. CDK listens for `mousedown`/
|
|
62
|
+
* `touchstart` on that element in the bubble phase, so stopping propagation here — only when the
|
|
63
|
+
* pointer went down on an interactive control — prevents a drag from starting on that control
|
|
64
|
+
* while leaving its click intact. A pointer-down anywhere else bubbles through and drags the row.
|
|
65
|
+
*/
|
|
66
|
+
onContentPointerDown(event: Event): void;
|
|
67
|
+
/**
|
|
68
|
+
* The expansion (nested sub-list) is never a drag surface for this row: swallow its pointer-downs so
|
|
69
|
+
* a drag can only start from the header row. Nested rows have their own drag surface and handle
|
|
70
|
+
* their own pointer-downs before the event reaches here.
|
|
71
|
+
*/
|
|
72
|
+
onExpansionPointerDown(event: Event): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropListComponent<any>, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DragDropListComponent<any>, "valtimo-drag-drop-list", never, { "items": { "alias": "items"; "required": false; }; "listId": { "alias": "listId"; "required": false; }; "connectedTo": { "alias": "connectedTo"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "sortingDisabled": { "alias": "sortingDisabled"; "required": false; }; "showHandle": { "alias": "showHandle"; "required": false; }; "wholeRowDraggable": { "alias": "wholeRowDraggable"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "handleAriaLabel": { "alias": "handleAriaLabel"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "expansionTemplate": { "alias": "expansionTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "enterPredicate": { "alias": "enterPredicate"; "required": false; }; "dragDisabled": { "alias": "dragDisabled"; "required": false; }; }, { "droppedEvent": "droppedEvent"; "dragStartedEvent": "dragStartedEvent"; "dragEndedEvent": "dragEndedEvent"; }, never, never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=drag-drop-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-drop-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/drag-drop-list/drag-drop-list.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAiB,MAAM,wBAAwB,CAAC;AACzF,OAAO,EAGL,YAAY,EAGZ,WAAW,EACZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAa,WAAW,EAAC,MAAM,2BAA2B,CAAC;;AAElE;;;;;;;;;;GAUG;AACH,qBAQa,qBAAqB,CAAC,CAAC,GAAG,OAAO;IAqChC,OAAO,CAAC,QAAQ,CAAC,WAAW;IApCxB,KAAK,EAAE,CAAC,EAAE,CAAM;IAChB,MAAM,EAAG,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAM;IAC3B,QAAQ,UAAS;IACjB,eAAe,UAAS;IACxB,UAAU,UAAQ;IAClC;;;;;OAKG;IACa,iBAAiB,UAAS;IAC1B,WAAW,EAAE,UAAU,GAAG,YAAY,CAAc;IACpE;;;;OAIG;IACa,eAAe,SAA6B;IAC5C,YAAY,EAAG,WAAW,CAAC;QAAC,SAAS,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;IAC1E;;;;OAIG;IACa,iBAAiB,EAAE,WAAW,CAAC;QAAC,SAAS,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,GAAG,IAAI,CAAQ;IAC5E,aAAa,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,IAAI,CAAQ;IAC/C,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,KAAK,OAAO,CAAc;IAC3E,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAe;IAE/D,YAAY,2CAAwC;IACrE,gHAAgH;IAC/F,gBAAgB,qBAA4B;IAC5C,cAAc,qBAA4B;gBAE9B,WAAW,EAAE,WAAW;IAI9C,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAI1C;;;;;OAKG;IACI,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAQ/C;;;;OAIG;IACI,sBAAsB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCAhEtC,qBAAqB;2CAArB,qBAAqB;CAmEjC"}
|
|
@@ -7,6 +7,7 @@ import { DatePickerComponent } from '../date-picker/date-picker.component';
|
|
|
7
7
|
import { MultiInputFormComponent } from '../multi-input-form/multi-input-form.component';
|
|
8
8
|
import { RadioComponent } from '../radio/radio.component';
|
|
9
9
|
import { ValuePathSelectorComponent } from '../value-path-selector/value-path-selector.component';
|
|
10
|
+
import { AutoKeyInputComponent } from '../auto-key-input/auto-key-input.component';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class FormComponent implements AfterContentInit, OnDestroy {
|
|
12
13
|
inputComponents: QueryList<InputComponent>;
|
|
@@ -16,6 +17,7 @@ export declare class FormComponent implements AfterContentInit, OnDestroy {
|
|
|
16
17
|
multiInputFormComponents: QueryList<MultiInputFormComponent>;
|
|
17
18
|
radioComponents: QueryList<RadioComponent>;
|
|
18
19
|
valuePathSelectorComponents: QueryList<ValuePathSelectorComponent>;
|
|
20
|
+
autoKeyInputComponents: QueryList<AutoKeyInputComponent>;
|
|
19
21
|
className: string;
|
|
20
22
|
valueChange: EventEmitter<FormOutput>;
|
|
21
23
|
private componentValuesSubscription;
|
|
@@ -28,6 +30,6 @@ export declare class FormComponent implements AfterContentInit, OnDestroy {
|
|
|
28
30
|
private closeComponentValuesSubscription;
|
|
29
31
|
private openChangesSubscription;
|
|
30
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "v-form", never, { "className": { "alias": "className"; "required": false; }; }, { "valueChange": "valueChange"; }, ["inputComponents", "selectComponents", "multiInputComponents", "datePickerComponents", "multiInputFormComponents", "radioComponents", "valuePathSelectorComponents"], ["*"], false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "v-form", never, { "className": { "alias": "className"; "required": false; }; }, { "valueChange": "valueChange"; }, ["inputComponents", "selectComponents", "multiInputComponents", "datePickerComponents", "multiInputFormComponents", "radioComponents", "valuePathSelectorComponents", "autoKeyInputComponents"], ["*"], false, never>;
|
|
32
34
|
}
|
|
33
35
|
//# sourceMappingURL=form.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form/form.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,gBAAgB,EAGhB,YAAY,EAEZ,SAAS,EAET,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC,MAAM,0BAA0B,CAAC;AAGxD,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,yBAAyB,EAAC,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAC,mBAAmB,EAAC,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAC,uBAAuB,EAAC,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAC,cAAc,EAAC,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAC,0BAA0B,EAAC,MAAM,sDAAsD,CAAC;;
|
|
1
|
+
{"version":3,"file":"form.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form/form.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,gBAAgB,EAGhB,YAAY,EAEZ,SAAS,EAET,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,cAAc,EAAC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C,uBAAuB;yCAjGpB,aAAa;2CAAb,aAAa;CAgHzB"}
|
|
@@ -43,6 +43,9 @@ export declare class FormioComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
43
43
|
readonly currentLanguage$: Observable<string>;
|
|
44
44
|
private readonly _overrideOptions$;
|
|
45
45
|
readonly formioOptions$: Observable<ValtimoFormioOptions | FormioOptions>;
|
|
46
|
+
readonly renderOptions$: Observable<{
|
|
47
|
+
language: string;
|
|
48
|
+
}>;
|
|
46
49
|
private readonly _storeTokenInLocalStorage;
|
|
47
50
|
private readonly _inMemoryTokenSet$;
|
|
48
51
|
readonly tokenReady$: Observable<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-io.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io/form-io.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,QAAQ,EAER,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,eAAe,IAAI,qBAAqB,EACxC,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAE,OAAO,EAAsB,MAAM,MAAM,CAAC;AAE9F,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAC,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAG7D,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;;AAExB,qBAOa,eAAgB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"form-io.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io/form-io.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAEZ,QAAQ,EAER,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EACd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAC,mBAAmB,EAAC,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,eAAe,IAAI,qBAAqB,EACxC,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAE,OAAO,EAAsB,MAAM,MAAM,CAAC;AAE9F,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAC,aAAa,EAAgB,MAAM,iBAAiB,CAAC;AAG7D,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;;AAExB,qBAOa,eAAgB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAsGhE,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO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Ae;CAuR3B"}
|
package/lib/components/form-io/components/form-io-builder/form-io-builder.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-io-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-builder/form-io-builder.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,QAAQ,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAGvF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAY,MAAM,MAAM,CAAC;AAK3E,OAAO,EAAsB,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAG7E,OAAO,EACL,aAAa,EAKd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;;AAE/C,qBAMa,sBAAuB,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"form-io-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/valtimo/components/src/lib/components/form-io/components/form-io-builder/form-io-builder.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAE,QAAQ,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAGvF,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,kBAAkB,EAAC,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAY,MAAM,MAAM,CAAC;AAK3E,OAAO,EAAsB,oBAAoB,EAAC,MAAM,oBAAo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ular/cdk/layout';
|
|
2
2
|
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
-
import {
|
|
4
|
+
import { ConfigService, MenuItem } from '@valtimo/shared';
|
|
5
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
6
|
import { ShellService } from '../../services/shell.service';
|
|
7
7
|
import { MenuService } from '../menu/services/menu.service';
|
|
@@ -43,6 +43,8 @@ export declare class LeftSidebarComponent implements AfterViewInit, OnDestroy {
|
|
|
43
43
|
onRightClick(sequence: string): boolean;
|
|
44
44
|
onOverflowMenuClosed(sequence: string): void;
|
|
45
45
|
openInNewTab(link: Array<string> | undefined): void;
|
|
46
|
+
/** A custom link whose first segment is an absolute/external URL (`http(s)://`, `//`, `mailto:`). */
|
|
47
|
+
private isExternalLink;
|
|
46
48
|
private openBreakpointSubscription;
|
|
47
49
|
private openMenuCollapsedByDefaultSubscription;
|
|
48
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<LeftSidebarComponent, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"left-sidebar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/left-sidebar/left-sidebar.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,aAAa,EAEb,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,MAAM,EAAC,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"left-sidebar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/left-sidebar/left-sidebar.component.ts"],"names":[],"mappings":"AAeA,OAAO,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,aAAa,EAEb,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAC;AAC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EACtB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,kBAAkB,EAAE,kBAAkB,EACtC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa;IAMxC,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAK1B;;;;OAIG;IACI,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAG,MAAM;IAI3D,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;IA4B9D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAMvC,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAQ5C,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI;IAW1D,qGAAqG;IACrG,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,0BAA0B;IAsClC,OAAO,CAAC,sCAAsC;yCAxKnC,oBAAoB;2CAApB,oBAAoB;CAkLhC"}
|
|
@@ -10,6 +10,7 @@ export declare class MdiIconSelectorComponent implements ControlValueAccessor {
|
|
|
10
10
|
placeholderTranslationKey: string;
|
|
11
11
|
appendInline: boolean;
|
|
12
12
|
dropUp: boolean;
|
|
13
|
+
fullWidth: boolean;
|
|
13
14
|
readonly $disabled: import("@angular/core").WritableSignal<boolean>;
|
|
14
15
|
readonly value$: BehaviorSubject<string>;
|
|
15
16
|
readonly items$: Observable<ListItem[]>;
|
|
@@ -24,6 +25,6 @@ export declare class MdiIconSelectorComponent implements ControlValueAccessor {
|
|
|
24
25
|
key: string;
|
|
25
26
|
}): void;
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<MdiIconSelectorComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MdiIconSelectorComponent, "valtimo-mdi-icon-selector", never, { "labelTranslationKey": { "alias": "labelTranslationKey"; "required": false; }; "tooltipTranslationKey": { "alias": "tooltipTranslationKey"; "required": false; }; "placeholderTranslationKey": { "alias": "placeholderTranslationKey"; "required": false; }; "appendInline": { "alias": "appendInline"; "required": false; }; "dropUp": { "alias": "dropUp"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MdiIconSelectorComponent, "valtimo-mdi-icon-selector", never, { "labelTranslationKey": { "alias": "labelTranslationKey"; "required": false; }; "tooltipTranslationKey": { "alias": "tooltipTranslationKey"; "required": false; }; "placeholderTranslationKey": { "alias": "placeholderTranslationKey"; "required": false; }; "appendInline": { "alias": "appendInline"; "required": false; }; "dropUp": { "alias": "dropUp"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
29
|
}
|
|
29
30
|
//# sourceMappingURL=mdi-icon-selector.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdi-icon-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/mdi-icon-selector/mdi-icon-selector.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,oBAAoB,EAAyC,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhE,OAAO,EAIL,QAAQ,EAET,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAItE,qBAwBa,wBAAyB,YAAW,oBAAoB;
|
|
1
|
+
{"version":3,"file":"mdi-icon-selector.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/mdi-icon-selector/mdi-icon-selector.component.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAC,oBAAoB,EAAyC,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAC,MAAM,MAAM,CAAC;AAEhE,OAAO,EAIL,QAAQ,EAET,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAkB,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAItE,qBAwBa,wBAAyB,YAAW,oBAAoB;IA4BvD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IA3B7B,mBAAmB,EAAE,MAAM,CAAoB;IAC/C,qBAAqB,EAAE,MAAM,CAA2B;IACxD,yBAAyB,EAAE,MAAM,CAA+B;IAChE,YAAY,UAAQ;IACpB,MAAM,UAAS;IACf,SAAS,UAAS;IAElC,SAAgB,SAAS,kDAA0B;IAEnD,SAAgB,MAAM,0BAA4C;IAElE,SAAgB,MAAM,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAW5C;IAEF,OAAO,CAAC,UAAU,CAA4C;IACvD,SAAS,EAAE,MAAM,IAAI,CAAY;gBAEX,gBAAgB,EAAE,gBAAgB;IAExD,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAItC,gBAAgB,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,IAAI;IAI1D,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAIzC,UAAU,CAAC,KAAK,EAAE;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI;yCA9ClC,wBAAwB;2CAAxB,wBAAwB;CAkDpC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { IncludeFunction } from '@valtimo/shared';
|
|
2
|
+
/** The persisted (string) form of an `IncludeFunction`: the enum member's name. */
|
|
3
|
+
type IncludeFunctionName = keyof typeof IncludeFunction;
|
|
4
|
+
/**
|
|
5
|
+
* The persisted `includeFunction` value: written as the enum member **name** (stable across enum
|
|
6
|
+
* reorders); legacy configs stored the numeric ordinal, which is still accepted on read via
|
|
7
|
+
* [parseIncludeFunction].
|
|
8
|
+
*/
|
|
9
|
+
type PersistedIncludeFunction = IncludeFunctionName | IncludeFunction;
|
|
10
|
+
/**
|
|
11
|
+
* Parses a persisted `includeFunction` value — the enum member name (current format) or a legacy
|
|
12
|
+
* numeric ordinal — into the runtime `IncludeFunction`. Unknown values yield `undefined`.
|
|
13
|
+
*/
|
|
14
|
+
declare function parseIncludeFunction(value: PersistedIncludeFunction | string | number | null | undefined): IncludeFunction | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Serialises a **persisted** include function value (enum name or legacy numeric ordinal) into the
|
|
17
|
+
* enum-name form. Numbers are interpreted as legacy ordinals (see
|
|
18
|
+
* [LEGACY_INCLUDE_FUNCTION_BY_ORDINAL]) — for a *runtime* enum value use [includeFunctionToName].
|
|
19
|
+
*/
|
|
20
|
+
declare function serializeIncludeFunction(value: PersistedIncludeFunction | string | number | null | undefined): IncludeFunctionName | undefined;
|
|
21
|
+
/** The persisted (name) form of a **runtime** `IncludeFunction` value (current enum ordinals, no legacy mapping). */
|
|
22
|
+
declare function includeFunctionToName(value: IncludeFunction): IncludeFunctionName | undefined;
|
|
23
|
+
/** The kinds of node the persisted menu tree can hold. */
|
|
24
|
+
type MenuConfigurationItemKind = 'catalog' | 'group' | 'section-header' | 'custom-link' | 'plugin-page';
|
|
25
|
+
/**
|
|
26
|
+
* Fields every persisted node may carry. `roles` is **preserved, not editable** — captured when the
|
|
27
|
+
* tree is seeded from an existing runtime menu so migrating a custom item never broadens its access
|
|
28
|
+
* (the resolver lets a preserved role set win over the catalog default).
|
|
29
|
+
*/
|
|
30
|
+
interface MenuConfigurationItemBase {
|
|
31
|
+
roles?: string[];
|
|
32
|
+
}
|
|
33
|
+
/** A built-in menu entry, identified by a stable catalog `itemId`. */
|
|
34
|
+
interface CatalogMenuConfigurationItem extends MenuConfigurationItemBase {
|
|
35
|
+
kind: 'catalog';
|
|
36
|
+
itemId: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
icon?: string;
|
|
39
|
+
includeFunction?: PersistedIncludeFunction;
|
|
40
|
+
children?: MenuConfigurationItem[];
|
|
41
|
+
}
|
|
42
|
+
/** A custom, admin-created top-level section: a non-link parent that renders as an expandable submenu. */
|
|
43
|
+
interface GroupMenuConfigurationItem extends MenuConfigurationItemBase {
|
|
44
|
+
kind: 'group';
|
|
45
|
+
title: string;
|
|
46
|
+
icon?: string;
|
|
47
|
+
children?: MenuConfigurationItem[];
|
|
48
|
+
}
|
|
49
|
+
/** A non-link group label (rendered with the section-header text class). */
|
|
50
|
+
interface SectionHeaderMenuConfigurationItem extends MenuConfigurationItemBase {
|
|
51
|
+
kind: 'section-header';
|
|
52
|
+
title: string;
|
|
53
|
+
includeFunction?: PersistedIncludeFunction;
|
|
54
|
+
}
|
|
55
|
+
/** A free-form link an admin added (or an unmatched downstream link captured on seed). */
|
|
56
|
+
interface CustomLinkMenuConfigurationItem extends MenuConfigurationItemBase {
|
|
57
|
+
kind: 'custom-link';
|
|
58
|
+
title: string;
|
|
59
|
+
link: string;
|
|
60
|
+
icon?: string;
|
|
61
|
+
}
|
|
62
|
+
/** An external-plugin `page` bundle placed in the menu; opens a routed iframe page. */
|
|
63
|
+
interface PluginPageMenuConfigurationItem extends MenuConfigurationItemBase {
|
|
64
|
+
kind: 'plugin-page';
|
|
65
|
+
configurationId: string;
|
|
66
|
+
bundleKey?: string;
|
|
67
|
+
title: string;
|
|
68
|
+
icon?: string;
|
|
69
|
+
}
|
|
70
|
+
type MenuConfigurationItem = CatalogMenuConfigurationItem | GroupMenuConfigurationItem | SectionHeaderMenuConfigurationItem | CustomLinkMenuConfigurationItem | PluginPageMenuConfigurationItem;
|
|
71
|
+
/** The persisted, frontend-owned menu structure. */
|
|
72
|
+
interface MenuConfiguration {
|
|
73
|
+
version: number;
|
|
74
|
+
items: MenuConfigurationItem[];
|
|
75
|
+
}
|
|
76
|
+
/** Opaque wrapper as stored/served by the `admin-settings` backend (`{}` when unset). */
|
|
77
|
+
interface MenuConfigurationDto {
|
|
78
|
+
configuration: MenuConfiguration | Record<string, never>;
|
|
79
|
+
}
|
|
80
|
+
/** Current schema version written by this client. */
|
|
81
|
+
declare const MENU_CONFIGURATION_VERSION = 1;
|
|
82
|
+
/** Whether a fetched DTO actually holds a usable saved structure (non-empty `items`). */
|
|
83
|
+
declare function hasSavedMenuConfiguration(dto: MenuConfigurationDto | null | undefined): dto is {
|
|
84
|
+
configuration: MenuConfiguration;
|
|
85
|
+
};
|
|
86
|
+
export { IncludeFunctionName, PersistedIncludeFunction, includeFunctionToName, parseIncludeFunction, serializeIncludeFunction, MenuConfigurationItemKind, CatalogMenuConfigurationItem, GroupMenuConfigurationItem, SectionHeaderMenuConfigurationItem, CustomLinkMenuConfigurationItem, PluginPageMenuConfigurationItem, MenuConfigurationItem, MenuConfiguration, MenuConfigurationDto, MENU_CONFIGURATION_VERSION, hasSavedMenuConfiguration, };
|
|
87
|
+
//# sourceMappingURL=menu-configuration.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-configuration.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/menu-configuration.model.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAEhD,mFAAmF;AACnF,KAAK,mBAAmB,GAAG,MAAM,OAAO,eAAe,CAAC;AAExD;;;;GAIG;AACH,KAAK,wBAAwB,GAAG,mBAAmB,GAAG,eAAe,CAAC;AAgBtE;;;GAGG;AACH,iBAAS,oBAAoB,CAC3B,KAAK,EAAE,wBAAwB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GACnE,eAAe,GAAG,SAAS,CAK7B;AAED;;;;GAIG;AACH,iBAAS,wBAAwB,CAC/B,KAAK,EAAE,wBAAwB,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GACnE,mBAAmB,GAAG,SAAS,CAGjC;AAED,qHAAqH;AACrH,i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C;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,KAAK,qBAAqB,GACtB,4BAA4B,GAC5B,0BAA0B,GAC1B,kCAAkC,GAClC,+BAA+B,GAC/B,+BAA+B,CAAC;AAEpC,oDAAoD;AACpD,UAAU,iBAAiB;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,qBAAqB,EAAE,CAAC;CAChC;AAED,yFAAyF;AACzF,UAAU,oBAAoB;IAC5B,aAAa,EAAE,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAC1D;AAED,qDAAqD;AACrD,QAAA,MAAM,0BAA0B,IAAI,CAAC;AAErC,yFAAyF;AACzF,iBAAS,yBAAyB,CAChC,GAAG,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,GAC3C,GAAG,IAAI;IAAC,aAAa,EAAE,iBAAiB,CAAA;CAAC,CAG3C;AAED,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,0BAA0B,EAC1B,kCAAkC,EAClC,+BAA+B,EAC/B,+BAA+B,EAC/B,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,GAC1B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MenuItem } from '@valtimo/shared';
|
|
2
|
+
import { NGXLogger } from 'ngx-logger';
|
|
3
|
+
import { MenuConfiguration } from './menu-configuration.model';
|
|
4
|
+
/** Route prefix a `plugin-page` node resolves to (handled by the plugin-page route in @valtimo/plugin). */
|
|
5
|
+
declare const PLUGIN_PAGE_ROUTE = "/plugin-pages";
|
|
6
|
+
/**
|
|
7
|
+
* Resolves a persisted [MenuConfiguration] into the `MenuItem[]` the existing `MenuService`
|
|
8
|
+
* consumes. Catalog nodes fill `link/roles/iconClass/includeFunction/title` from the registry
|
|
9
|
+
* (overrides win); `section-header` → a non-link group label; `custom-link`/`plugin-page` → their
|
|
10
|
+
* stored values. A preserved `roles` set always wins over the catalog default, so migrating a custom
|
|
11
|
+
* item never broadens its access. Required items (Admin, Settings) are forced present so a saved
|
|
12
|
+
* config can never lock an admin out of this page. Unknown catalog ids are skipped with a warning.
|
|
13
|
+
*
|
|
14
|
+
* The optional [logger] is threaded from the caller because this is a plain function (it runs in an
|
|
15
|
+
* `APP_INITIALIZER` before a component tree exists); when absent, warnings fall back to the console.
|
|
16
|
+
*/
|
|
17
|
+
declare function resolveMenuConfiguration(configuration: MenuConfiguration, logger?: NGXLogger): MenuItem[];
|
|
18
|
+
export { resolveMenuConfiguration, PLUGIN_PAGE_ROUTE };
|
|
19
|
+
//# sourceMappingURL=menu-configuration.resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-configuration.resolver.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/menu-configuration.resolver.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAkB,QAAQ,EAAY,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAEL,iBAAiB,EAGlB,MAAM,4BAA4B,CAAC;AAQpC,2GAA2G;AAC3G,QAAA,MAAM,iBAAiB,kBAAkB,CAAC;AAQ1C;;;;;;;;;;GAUG;AACH,iBAAS,wBAAwB,CAC/B,aAAa,EAAE,iBAAiB,EAChC,MAAM,CAAC,EAAE,SAAS,GACjB,QAAQ,EAAE,CAKZ;AAkLD,OAAO,EAAC,wBAAwB,EAAE,iBAAiB,EAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MenuItem } from '@valtimo/shared';
|
|
2
|
+
import { MenuConfiguration } from './menu-configuration.model';
|
|
3
|
+
/**
|
|
4
|
+
* Maps the **live** runtime menu (`config.menu.menuItems` — whatever an installation actually has,
|
|
5
|
+
* downstream custom links included) into the editable persisted structure. Used both at runtime and
|
|
6
|
+
* in the builder when the DB has no saved config, guaranteeing nothing in the current menu is lost
|
|
7
|
+
* on first open. Round-trip safe with the resolver: `resolve(buildConfigFromRuntimeMenu(menu)) ≈ menu`.
|
|
8
|
+
*
|
|
9
|
+
* - A known route or group → a `catalog` node (title/icon recorded only when they differ from the
|
|
10
|
+
* catalog default; `roles`/`includeFunction` preserved).
|
|
11
|
+
* - A no-link, non-group label → a `section-header`.
|
|
12
|
+
* - An unmatched link → a `custom-link` (title/link/icon/roles preserved).
|
|
13
|
+
*/
|
|
14
|
+
declare function buildMenuConfigurationFromRuntimeMenu(menuItems: MenuItem[]): MenuConfiguration;
|
|
15
|
+
export { buildMenuConfigurationFromRuntimeMenu };
|
|
16
|
+
//# sourceMappingURL=menu-configuration.seed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-configuration.seed.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/menu-configuration.seed.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAkB,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAML,iBAAiB,EAGlB,MAAM,4BAA4B,CAAC;AAQpC;;;;;;;;;;GAUG;AACH,iBAAS,qCAAqC,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,iBAAiB,CAKvF;AAuED,OAAO,EAAC,qCAAqC,EAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { IncludeFunction } from '@valtimo/shared';
|
|
2
|
+
/**
|
|
3
|
+
* Where an item is allowed to live in the tree, enforced by the builder's drag-drop validators (not
|
|
4
|
+
* the resolver). `top` = top-level only — the sections/containers (Admin, Development) and the
|
|
5
|
+
* runtime-submenu parents (Cases, Objects), so the menu never nests beyond the two levels it
|
|
6
|
+
* renders. `admin` = only inside the Admin section; `development` = only inside the Development
|
|
7
|
+
* section. `any` = freely placeable at the top level or inside any section (the generic items —
|
|
8
|
+
* custom links, section headers — and plugin pages).
|
|
9
|
+
*/
|
|
10
|
+
type MenuItemPlacement = 'top' | 'admin' | 'development' | 'any';
|
|
11
|
+
/** The "Available items" palette grouping the builder renders. */
|
|
12
|
+
type MenuCatalogCategory = 'generic' | 'main' | 'admin' | 'development' | 'plugin-page';
|
|
13
|
+
/**
|
|
14
|
+
* One curated, known menu entry. The metadata reuses what the static `environment.ts` menu already
|
|
15
|
+
* encodes for that route (`defaultTitleKey`, `defaultIcon`, `link`, `roles`) and layers on the two
|
|
16
|
+
* things `environment.ts` does not: a [category] and a [placement] constraint, keyed by a stable
|
|
17
|
+
* [itemId]. `roles` is the **inherited access** reused by the existing `MenuService` role filter;
|
|
18
|
+
* it is never edited in the builder.
|
|
19
|
+
*/
|
|
20
|
+
interface MenuItemCatalogEntry {
|
|
21
|
+
itemId: string;
|
|
22
|
+
defaultTitleKey: string;
|
|
23
|
+
defaultIcon?: string;
|
|
24
|
+
/** Route path (single segment string). Absent for runtime-submenu groups (Cases, Objects) and the Admin/Development containers. */
|
|
25
|
+
link?: string;
|
|
26
|
+
roles: string[];
|
|
27
|
+
includeFunction?: IncludeFunction;
|
|
28
|
+
placement: MenuItemPlacement;
|
|
29
|
+
category: MenuCatalogCategory;
|
|
30
|
+
/** Only `Admin` and `Settings` are required — removing either would lock an admin out of this very page. */
|
|
31
|
+
required?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/** The text class `environment.ts` uses for the non-link group labels inside Admin. */
|
|
34
|
+
declare const SECTION_HEADER_TEXT_CLASS = "text-dark font-weight-bold c-default";
|
|
35
|
+
/**
|
|
36
|
+
* The curated catalog, seeded from `environment.ts`'s menu. The single source of truth for both the
|
|
37
|
+
* builder's "Available items" panel and the runtime resolver (config JSON + catalog → `MenuItem[]`).
|
|
38
|
+
*/
|
|
39
|
+
declare const MENU_ITEM_CATALOG: MenuItemCatalogEntry[];
|
|
40
|
+
/** Normalises a route for comparison: lower-cased, single leading slash, no trailing slash. */
|
|
41
|
+
declare function normaliseMenuLink(link: string | null | undefined): string;
|
|
42
|
+
/**
|
|
43
|
+
* Joins a `MenuItem.link` array into the single route string the config stores. Multi-segment
|
|
44
|
+
* links (e.g. `['/plugin-pages', 'id', 'key']`) are joined with `/`; surplus slashes on segment
|
|
45
|
+
* boundaries are stripped so a segment that already starts with `/` never produces `//`. A single
|
|
46
|
+
* segment (`['/tasks']`, `['/']`) passes through unchanged.
|
|
47
|
+
*/
|
|
48
|
+
declare function menuLinkToString(link: string[] | null | undefined): string;
|
|
49
|
+
declare function getMenuCatalogEntry(itemId: string): MenuItemCatalogEntry | undefined;
|
|
50
|
+
/** Finds the catalog entry whose route matches the given link (linked entries only). */
|
|
51
|
+
declare function findMenuCatalogEntryByLink(link: string[] | null | undefined): MenuItemCatalogEntry | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Finds the catalog **group** entry (a top-level item with no link: Cases, Objects, Admin,
|
|
54
|
+
* Development) that matches a runtime menu item's title. Used to seed no-link group items without
|
|
55
|
+
* colliding with same-titled linked Admin pages.
|
|
56
|
+
*/
|
|
57
|
+
declare function findMenuCatalogGroupEntryByTitle(title: string): MenuItemCatalogEntry | undefined;
|
|
58
|
+
export { MenuItemPlacement, MenuCatalogCategory, MenuItemCatalogEntry, MENU_ITEM_CATALOG, SECTION_HEADER_TEXT_CLASS, normaliseMenuLink, menuLinkToString, getMenuCatalogEntry, findMenuCatalogEntryByLink, findMenuCatalogGroupEntryByTitle, };
|
|
59
|
+
//# sourceMappingURL=menu-item-catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-item-catalog.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/menu/menu-item-catalog.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,eAAe,EAAwC,MAAM,iBAAiB,CAAC;AAEvF;;;;;;;GAOG;AACH,KAAK,iBAAiB,GAAG,KAAK,GAAG,OAAO,GAAG,aAAa,G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jB,gBAAgB,EAChB,mBAAmB,EACnB,0BAA0B,EAC1B,gCAAgC,GACjC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ArbitraryInputTitles, ListItemWithId, MultiInputChangeEventType, MultiInputKeyValue, MultiInputOutput, MultiInputType, MultiInputValues, ValuePathSelectorNotation, ValuePathSelectorPrefix } from '../../models';
|
|
3
|
+
import { ButtonType } from 'carbon-components-angular';
|
|
3
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -11,6 +12,12 @@ export declare class CarbonMultiInputComponent implements ControlValueAccessor,
|
|
|
11
12
|
set arbitraryValueAmount(value: number);
|
|
12
13
|
private readonly _defaultValues$;
|
|
13
14
|
set defaultValues(value: MultiInputValues);
|
|
15
|
+
/**
|
|
16
|
+
* Carbon paints a danger button red in its resting state. A form with one delete button per row
|
|
17
|
+
* can therefore read as a form full of errors, which 'danger--ghost' avoids without giving up the
|
|
18
|
+
* destructive styling on hover.
|
|
19
|
+
*/
|
|
20
|
+
deleteButtonType: ButtonType;
|
|
14
21
|
deleteRowText: string;
|
|
15
22
|
deleteRowTranslationKey: string;
|
|
16
23
|
readonly $disabled: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -76,6 +83,6 @@ export declare class CarbonMultiInputComponent implements ControlValueAccessor,
|
|
|
76
83
|
private isValueValid;
|
|
77
84
|
private openDefaultValuesSubscription;
|
|
78
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarbonMultiInputComponent, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarbonMultiInputComponent, "valtimo-carbon-multi-input", never, { "addRowText": { "alias": "addRowText"; "required": false; }; "addButtonType": { "alias": "addButtonType"; "required": false; }; "addRowTranslationKey": { "alias": "addRowTranslationKey"; "required": false; }; "arbitraryAmountTitles": { "alias": "arbitraryAmountTitles"; "required": false; }; "arbitraryValueAmount": { "alias": "arbitraryValueAmount"; "required": false; }; "defaultValues": { "alias": "defaultValues"; "required": false; }; "deleteRowText": { "alias": "deleteRowText"; "required": false; }; "deleteRowTranslationKey": { "alias": "deleteRowTranslationKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dropdownColumnTitle": { "alias": "dropdownColumnTitle"; "required": false; }; "dropdownItems": { "alias": "dropdownItems"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "hideAddButton": { "alias": "hideAddButton"; "required": false; }; "hideDeleteButton": { "alias": "hideDeleteButton"; "required": false; }; "initialAmountOfRows": { "alias": "initialAmountOfRows"; "required": false; }; "keyColumnTitle": { "alias": "keyColumnTitle"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "minimumAmountOfRows": { "alias": "minimumAmountOfRows"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleTranslationKey": { "alias": "titleTranslationKey"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "type": { "alias": "type"; "required": false; }; "valueColumnTitle": { "alias": "valueColumnTitle"; "required": false; }; "valuePathSelectorCaseDefinitionKey": { "alias": "valuePathSelectorCaseDefinitionKey"; "required": false; }; "valuePathSelectorPrefixes": { "alias": "valuePathSelectorPrefixes"; "required": false; }; "valuePathSelectorShowCaseDefinitionSelector": { "alias": "valuePathSelectorShowCaseDefinitionSelector"; "required": false; }; "valuePathSelectorNotation": { "alias": "valuePathSelectorNotation"; "required": false; }; "keyColumnFlex": { "alias": "keyColumnFlex"; "required": false; }; "dropdownColumnFlex": { "alias": "dropdownColumnFlex"; "required": false; }; "valueColumnFlex": { "alias": "valueColumnFlex"; "required": false; }; }, { "valueChange": "valueChange"; "allValuesValidEvent": "allValuesValidEvent"; }, never, never, false, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarbonMultiInputComponent, "valtimo-carbon-multi-input", never, { "addRowText": { "alias": "addRowText"; "required": false; }; "addButtonType": { "alias": "addButtonType"; "required": false; }; "addRowTranslationKey": { "alias": "addRowTranslationKey"; "required": false; }; "arbitraryAmountTitles": { "alias": "arbitraryAmountTitles"; "required": false; }; "arbitraryValueAmount": { "alias": "arbitraryValueAmount"; "required": false; }; "defaultValues": { "alias": "defaultValues"; "required": false; }; "deleteButtonType": { "alias": "deleteButtonType"; "required": false; }; "deleteRowText": { "alias": "deleteRowText"; "required": false; }; "deleteRowTranslationKey": { "alias": "deleteRowTranslationKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dropdownColumnTitle": { "alias": "dropdownColumnTitle"; "required": false; }; "dropdownItems": { "alias": "dropdownItems"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "hideAddButton": { "alias": "hideAddButton"; "required": false; }; "hideDeleteButton": { "alias": "hideDeleteButton"; "required": false; }; "initialAmountOfRows": { "alias": "initialAmountOfRows"; "required": false; }; "keyColumnTitle": { "alias": "keyColumnTitle"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "minimumAmountOfRows": { "alias": "minimumAmountOfRows"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleTranslationKey": { "alias": "titleTranslationKey"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "type": { "alias": "type"; "required": false; }; "valueColumnTitle": { "alias": "valueColumnTitle"; "required": false; }; "valuePathSelectorCaseDefinitionKey": { "alias": "valuePathSelectorCaseDefinitionKey"; "required": false; }; "valuePathSelectorPrefixes": { "alias": "valuePathSelectorPrefixes"; "required": false; }; "valuePathSelectorShowCaseDefinitionSelector": { "alias": "valuePathSelectorShowCaseDefinitionSelector"; "required": false; }; "valuePathSelectorNotation": { "alias": "valuePathSelectorNotation"; "required": false; }; "keyColumnFlex": { "alias": "keyColumnFlex"; "required": false; }; "dropdownColumnFlex": { "alias": "dropdownColumnFlex"; "required": false; }; "valueColumnFlex": { "alias": "valueColumnFlex"; "required": false; }; }, { "valueChange": "valueChange"; "allValuesValidEvent": "allValuesValidEvent"; }, never, never, false, never>;
|
|
80
87
|
}
|
|
81
88
|
//# sourceMappingURL=carbon-multi-input.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carbon-multi-input.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/multi-input/carbon-multi-input.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,YAAY,EAGZ,SAAS,EACT,MAAM,EAIP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,yBAAyB,EACzB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAG9E,OAAO,EAAC,oBAAoB,EAAoB,MAAM,gBAAgB,CAAC;;AAGvE,qBAca,yBAA0B,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS;IACvE,UAAU,SAAM;IAChB,aAAa,SAAa;IAC1B,oBAAoB,SAAM;IAC1B,qBAAqB,EAAG,oBAAoB,CAAC;IAC7D,IAAoB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAGrD;IAED,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6C;IAE7E,IAAoB,aAAa,CAAC,KAAK,EAAE,gBAAgB,EAGxD;
|
|
1
|
+
{"version":3,"file":"carbon-multi-input.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/multi-input/carbon-mult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AC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAaxE,aAAa,CAClB,aAAa,EAAE,kBAAkB,EACjC,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,yBAAyB,EACjC,cAAc,CAAC,EAAE,MAAM,GACtB,IAAI;IAqBP,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,cAAc;IAkBtB,OAAO,CAAC,sBAAsB;IAW9B,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,YAAY;IAwBpB,OAAO,CAAC,6BAA6B;yCAxQ1B,yBAAyB;2CAAzB,yBAAyB;CAgRrC"}
|
|
@@ -43,7 +43,9 @@ export declare class SelectComponent implements OnInit, AfterViewInit, OnChanges
|
|
|
43
43
|
readonly listItems$: Observable<Array<ListItem>>;
|
|
44
44
|
private _selectedSubscription;
|
|
45
45
|
private _clearSubjectSubscription;
|
|
46
|
+
private _displayFlushSubscription;
|
|
46
47
|
private _displayFlushTimeoutId?;
|
|
48
|
+
private _destroyed;
|
|
47
49
|
private _onChange;
|
|
48
50
|
private _onTouched;
|
|
49
51
|
writeValue(value: SelectedValue): void;
|
|
@@ -62,6 +64,21 @@ export declare class SelectComponent implements OnInit, AfterViewInit, OnChanges
|
|
|
62
64
|
private setDefaultSelection;
|
|
63
65
|
private openSelectedSubscription;
|
|
64
66
|
private openClearSubjectSubscription;
|
|
67
|
+
/**
|
|
68
|
+
* The underlying Carbon combobox computes its displayed value asynchronously, in a setTimeout it
|
|
69
|
+
* schedules while processing an items change. When this component lives under an OnPush ancestor
|
|
70
|
+
* that is not marked dirty, that update is never flushed to the DOM, so a (pre)selected value
|
|
71
|
+
* only becomes visible after the user interacts with the control. This applies to every items or
|
|
72
|
+
* selection change — not only the first render: a value written or items arriving after view
|
|
73
|
+
* init (prefill, late-loaded options, wizard step switches) hit the same race. Hence a flush is
|
|
74
|
+
* scheduled on every emission, in two passes: the first detectChanges renders the emission into
|
|
75
|
+
* the combobox (which then schedules its own internal display update), the nested one flushes
|
|
76
|
+
* that internal update — covering both orderings of the competing timeouts. setTimeout is used
|
|
77
|
+
* instead of NgZone.onStable so the flush also works in apps with long-running background tasks
|
|
78
|
+
* that keep the zone from ever stabilizing.
|
|
79
|
+
*/
|
|
80
|
+
private openDisplayFlushSubscription;
|
|
81
|
+
private scheduleDisplayFlush;
|
|
65
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
66
83
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "v-select", never, { "items": { "alias": "items"; "required": false; }; "defaultSelection": { "alias": "defaultSelection"; "required": false; }; "defaultSelectionId": { "alias": "defaultSelectionId"; "required": false; }; "defaultSelectionIds": { "alias": "defaultSelectionIds"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dropUp": { "alias": "dropUp"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "widthInPx": { "alias": "widthInPx"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "clearText": { "alias": "clearText"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "name": { "alias": "name"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleTranslationKey": { "alias": "titleTranslationKey"; "required": false; }; "clearSelectionSubject$": { "alias": "clearSelectionSubject$"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "required": { "alias": "required"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "smallMargin": { "alias": "smallMargin"; "required": false; }; "carbonTheme": { "alias": "carbonTheme"; "required": false; }; "appendInline": { "alias": "appendInline"; "required": false; }; "warn": { "alias": "warn"; "required": false; }; "warnText": { "alias": "warnText"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, never, false, never>;
|
|
67
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/select/select.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,YAAY,EAGZ,SAAS,EACT,SAAS,EACT,MAAM,EAGN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACvD,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAIrD,qBAca,eAAgB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"select.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/select/select.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EACb,iBAAiB,EAEjB,YAAY,EAGZ,SAAS,EACT,SAAS,EACT,MAAM,EAGN,aAAa,EAEd,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACvD,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAe,MAAM,MAAM,CAAC;AAC9E,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAIrD,qBAca,eAAgB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IA4G/E,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,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