@luzmo/ngx-analytics-components-kit 1.0.9-beta.9 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/ai-chat-empty-state.d.ts +1 -1
- package/esm/components/ai-chat.d.ts +9 -4
- package/esm/components/ai-chat.js +17 -3
- package/esm/components/filters.d.ts +4 -1
- package/esm/components/filters.js +9 -1
- package/esm/components/interactive-viz-item.d.ts +13 -4
- package/esm/components/interactive-viz-item.js +29 -3
- package/esm/components/item-grid-item-actions-menu.d.ts +10 -8
- package/esm/components/item-grid-item-actions-menu.js +12 -6
- package/esm/components/item-grid.d.ts +5 -3
- package/esm/components/item-grid.js +8 -2
- package/esm/components/item-option-color-picker.d.ts +11 -4
- package/esm/components/item-option-color-picker.js +23 -3
- package/esm/components/item-option-color-range.d.ts +11 -4
- package/esm/components/item-option-color-range.js +23 -3
- package/esm/components/item-option-guidelines.d.ts +11 -4
- package/esm/components/item-option-guidelines.js +24 -4
- package/esm/components/item-option-panel.d.ts +13 -4
- package/esm/components/item-option-panel.js +30 -4
- package/esm/components/item-option-slider.d.ts +13 -4
- package/esm/components/item-option-slider.js +30 -4
- package/esm/components/item-option.d.ts +13 -4
- package/esm/components/item-option.js +30 -4
- package/esm/components/item-slot-picker-panel.d.ts +3 -1
- package/esm/components/item-slot-picker-panel.js +9 -1
- package/esm/components/item-slot-picker.d.ts +4 -2
- package/esm/components/item-slot-picker.js +10 -2
- package/esm/components/slot-menu.d.ts +4 -1
- package/esm/components/slot-menu.js +9 -1
- package/esm/index.d.ts +2 -4
- package/esm/index.js +2 -6
- package/package.json +6 -2
- package/esm/components/viz-item-menu.d.ts +0 -42
- package/esm/components/viz-item-menu.js +0 -111
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/item-option';
|
|
3
|
-
import type { LuzmoItemOption as LuzmoItemOptionHostElement, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
3
|
+
import type { LuzmoItemOption as LuzmoItemOptionHostElement, ItemOptionInteractionEventDetail, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
4
4
|
import type { ElementSize } from '@luzmo/analytics-components-kit/types';
|
|
5
5
|
import type { OptionConfig, OptionTranslation, ThemeConfig, TranslationOverrides, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export type { ItemOptionChangedEventDetail, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
7
|
+
export type { ItemOptionChangedEventDetail, ItemOptionInteraction, ItemOptionInteractionEventDetail, ItemOptionInteractionEventName, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
8
8
|
export declare class LuzmoItemOption implements OnChanges {
|
|
9
9
|
private readonly elementRef;
|
|
10
10
|
private readonly renderer;
|
|
@@ -37,10 +37,18 @@ export declare class LuzmoItemOption implements OnChanges {
|
|
|
37
37
|
authToken?: string;
|
|
38
38
|
/** The size variant of the option control (`s`, `m`, `l`, `xl`). */
|
|
39
39
|
size?: ElementSize;
|
|
40
|
+
/** Emits options updates live, without the control's debounce, plus `luzmo-option-interaction-*` events around drags and held keys. Off by default. */
|
|
41
|
+
liveInteractions?: boolean;
|
|
40
42
|
/** Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control. */
|
|
41
43
|
changedOptions?: unknown;
|
|
42
|
-
/** Announces that the `options` of the element have changed */
|
|
44
|
+
/** Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`. */
|
|
43
45
|
readonly luzmoOptionsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
46
|
+
/** With `live-interactions`: a drag or held key first changed the control's value, right before that options update. A press that never changes the value emits no lifecycle. `detail.optionKey` is set. */
|
|
47
|
+
readonly luzmoOptionInteractionStart: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
48
|
+
/** With `live-interactions`: the gesture ended, after its last options update. `detail.changed` is false when the value is back at its start. */
|
|
49
|
+
readonly luzmoOptionInteractionEnd: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
50
|
+
/** With `live-interactions`: the gesture was cancelled and the control reverted to its start value. */
|
|
51
|
+
readonly luzmoOptionInteractionCancel: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionInteractionEventDetail>>;
|
|
44
52
|
constructor();
|
|
45
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
46
54
|
/**
|
|
@@ -52,7 +60,8 @@ export declare class LuzmoItemOption implements OnChanges {
|
|
|
52
60
|
private setHostProperty;
|
|
53
61
|
private bindEvents;
|
|
54
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemOption, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemOption, "luzmo-item-option", ["luzmoItemOption"], { "language": { "alias": "language"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "customOptionConfiguration": { "alias": "customOptionConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "options": { "alias": "options"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "size": { "alias": "size"; "required": false; }; "changedOptions": { "alias": "changedOptions"; "required": false; }; }, { "luzmoOptionsChanged": "luzmoOptionsChanged"; }, never, ["*"], true, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemOption, "luzmo-item-option", ["luzmoItemOption"], { "language": { "alias": "language"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "customOptionConfiguration": { "alias": "customOptionConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "options": { "alias": "options"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "size": { "alias": "size"; "required": false; }; "liveInteractions": { "alias": "liveInteractions"; "required": false; }; "changedOptions": { "alias": "changedOptions"; "required": false; }; }, { "luzmoOptionsChanged": "luzmoOptionsChanged"; "luzmoOptionInteractionStart": "luzmoOptionInteractionStart"; "luzmoOptionInteractionEnd": "luzmoOptionInteractionEnd"; "luzmoOptionInteractionCancel": "luzmoOptionInteractionCancel"; }, never, ["*"], true, never>;
|
|
64
|
+
static ngAcceptInputType_liveInteractions: unknown;
|
|
56
65
|
}
|
|
57
66
|
/** The underlying custom element type for LuzmoItemOption */
|
|
58
67
|
export type LuzmoItemOptionElement = LuzmoItemOptionHostElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
1
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/item-option';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
@@ -39,10 +39,18 @@ export class LuzmoItemOption {
|
|
|
39
39
|
authToken;
|
|
40
40
|
/** The size variant of the option control (`s`, `m`, `l`, `xl`). */
|
|
41
41
|
size;
|
|
42
|
+
/** Emits options updates live, without the control's debounce, plus `luzmo-option-interaction-*` events around drags and held keys. Off by default. */
|
|
43
|
+
liveInteractions;
|
|
42
44
|
/** Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control. */
|
|
43
45
|
changedOptions;
|
|
44
|
-
/** Announces that the `options` of the element have changed */
|
|
46
|
+
/** Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`. */
|
|
45
47
|
luzmoOptionsChanged = output({ alias: 'luzmoOptionsChanged' });
|
|
48
|
+
/** With `live-interactions`: a drag or held key first changed the control's value, right before that options update. A press that never changes the value emits no lifecycle. `detail.optionKey` is set. */
|
|
49
|
+
luzmoOptionInteractionStart = output({ alias: 'luzmoOptionInteractionStart' });
|
|
50
|
+
/** With `live-interactions`: the gesture ended, after its last options update. `detail.changed` is false when the value is back at its start. */
|
|
51
|
+
luzmoOptionInteractionEnd = output({ alias: 'luzmoOptionInteractionEnd' });
|
|
52
|
+
/** With `live-interactions`: the gesture was cancelled and the control reverted to its start value. */
|
|
53
|
+
luzmoOptionInteractionCancel = output({ alias: 'luzmoOptionInteractionCancel' });
|
|
46
54
|
constructor() {
|
|
47
55
|
this.bindEvents();
|
|
48
56
|
this.destroyRef.onDestroy(() => {
|
|
@@ -90,6 +98,9 @@ export class LuzmoItemOption {
|
|
|
90
98
|
case 'size':
|
|
91
99
|
this.setHostProperty('size', changes['size'].currentValue);
|
|
92
100
|
break;
|
|
101
|
+
case 'liveInteractions':
|
|
102
|
+
this.setHostProperty('liveInteractions', changes['liveInteractions'].currentValue);
|
|
103
|
+
break;
|
|
93
104
|
case 'changedOptions':
|
|
94
105
|
this.setHostProperty('changedOptions', changes['changedOptions'].currentValue);
|
|
95
106
|
break;
|
|
@@ -112,9 +123,21 @@ export class LuzmoItemOption {
|
|
|
112
123
|
const typed = event;
|
|
113
124
|
this.luzmoOptionsChanged.emit(typed);
|
|
114
125
|
}));
|
|
126
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-option-interaction-start', (event) => {
|
|
127
|
+
const typed = event;
|
|
128
|
+
this.luzmoOptionInteractionStart.emit(typed);
|
|
129
|
+
}));
|
|
130
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-option-interaction-end', (event) => {
|
|
131
|
+
const typed = event;
|
|
132
|
+
this.luzmoOptionInteractionEnd.emit(typed);
|
|
133
|
+
}));
|
|
134
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-option-interaction-cancel', (event) => {
|
|
135
|
+
const typed = event;
|
|
136
|
+
this.luzmoOptionInteractionCancel.emit(typed);
|
|
137
|
+
}));
|
|
115
138
|
}
|
|
116
139
|
static ɵfac = function LuzmoItemOption_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemOption)(); };
|
|
117
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOption, selectors: [["luzmo-item-option"]], inputs: { language: "language", itemType: "itemType", optionKey: "optionKey", customOptionConfiguration: "customOptionConfiguration", customTranslations: "customTranslations", options: "options", slots: "slots", theme: "theme", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", size: "size", changedOptions: "changedOptions" }, outputs: { luzmoOptionsChanged: "luzmoOptionsChanged" }, exportAs: ["luzmoItemOption"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOption_Template(rf, ctx) { if (rf & 1) {
|
|
140
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOption, selectors: [["luzmo-item-option"]], inputs: { language: "language", itemType: "itemType", optionKey: "optionKey", customOptionConfiguration: "customOptionConfiguration", customTranslations: "customTranslations", options: "options", slots: "slots", theme: "theme", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", size: "size", liveInteractions: [2, "liveInteractions", "liveInteractions", booleanAttribute], changedOptions: "changedOptions" }, outputs: { luzmoOptionsChanged: "luzmoOptionsChanged", luzmoOptionInteractionStart: "luzmoOptionInteractionStart", luzmoOptionInteractionEnd: "luzmoOptionInteractionEnd", luzmoOptionInteractionCancel: "luzmoOptionInteractionCancel" }, exportAs: ["luzmoItemOption"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOption_Template(rf, ctx) { if (rf & 1) {
|
|
118
141
|
i0.ɵɵprojectionDef();
|
|
119
142
|
i0.ɵɵprojection(0);
|
|
120
143
|
} }, encapsulation: 2 });
|
|
@@ -164,8 +187,11 @@ export class LuzmoItemOption {
|
|
|
164
187
|
}], size: [{
|
|
165
188
|
type: Input,
|
|
166
189
|
args: [{ alias: 'size' }]
|
|
190
|
+
}], liveInteractions: [{
|
|
191
|
+
type: Input,
|
|
192
|
+
args: [{ alias: 'liveInteractions', transform: booleanAttribute }]
|
|
167
193
|
}], changedOptions: [{
|
|
168
194
|
type: Input,
|
|
169
195
|
args: [{ alias: 'changedOptions' }]
|
|
170
|
-
}], luzmoOptionsChanged: [{ type: i0.Output, args: ["luzmoOptionsChanged"] }] }); })();
|
|
196
|
+
}], luzmoOptionsChanged: [{ type: i0.Output, args: ["luzmoOptionsChanged"] }], luzmoOptionInteractionStart: [{ type: i0.Output, args: ["luzmoOptionInteractionStart"] }], luzmoOptionInteractionEnd: [{ type: i0.Output, args: ["luzmoOptionInteractionEnd"] }], luzmoOptionInteractionCancel: [{ type: i0.Output, args: ["luzmoOptionInteractionCancel"] }] }); })();
|
|
171
197
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemOption, { className: "LuzmoItemOption", filePath: "components/item-option.ts", lineNumber: 18 }); })();
|
|
@@ -50,6 +50,8 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
|
|
|
50
50
|
placement?: Placement;
|
|
51
51
|
/** Placement of the slot menu popover */
|
|
52
52
|
slotMenuPlacement?: Placement;
|
|
53
|
+
/** How the slot menu opens: `overlay` shows it in a popover, `inline` expands it below the data field. Use `inline` when the panel itself lives in an overlay. Applies to `selects="single"` only. */
|
|
54
|
+
slotMenuMode?: 'overlay' | 'inline';
|
|
53
55
|
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
54
56
|
constraintMode?: 'auto' | 'event-only';
|
|
55
57
|
/** Whether the pickers grow to full width */
|
|
@@ -89,7 +91,7 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
|
|
|
89
91
|
private setHostProperty;
|
|
90
92
|
private bindEvents;
|
|
91
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPickerPanel, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
|
|
93
95
|
static ngAcceptInputType_datasetPicker: unknown;
|
|
94
96
|
static ngAcceptInputType_grows: unknown;
|
|
95
97
|
}
|
|
@@ -51,6 +51,8 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
51
51
|
placement;
|
|
52
52
|
/** Placement of the slot menu popover */
|
|
53
53
|
slotMenuPlacement;
|
|
54
|
+
/** How the slot menu opens: `overlay` shows it in a popover, `inline` expands it below the data field. Use `inline` when the panel itself lives in an overlay. Applies to `selects="single"` only. */
|
|
55
|
+
slotMenuMode;
|
|
54
56
|
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
55
57
|
constraintMode;
|
|
56
58
|
/** Whether the pickers grow to full width */
|
|
@@ -144,6 +146,9 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
144
146
|
case 'slotMenuPlacement':
|
|
145
147
|
this.setHostProperty('slotMenuPlacement', changes['slotMenuPlacement'].currentValue);
|
|
146
148
|
break;
|
|
149
|
+
case 'slotMenuMode':
|
|
150
|
+
this.setHostProperty('slotMenuMode', changes['slotMenuMode'].currentValue);
|
|
151
|
+
break;
|
|
147
152
|
case 'constraintMode':
|
|
148
153
|
this.setHostProperty('constraintMode', changes['constraintMode'].currentValue);
|
|
149
154
|
break;
|
|
@@ -207,7 +212,7 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
207
212
|
}));
|
|
208
213
|
}
|
|
209
214
|
static ɵfac = function LuzmoItemSlotPickerPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPickerPanel)(); };
|
|
210
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"], language: "language", size: "size" }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"], language: "language", size: "size" }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
|
|
211
216
|
i0.ɵɵprojectionDef();
|
|
212
217
|
i0.ɵɵprojection(0);
|
|
213
218
|
} }, encapsulation: 2 });
|
|
@@ -275,6 +280,9 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
275
280
|
}], slotMenuPlacement: [{
|
|
276
281
|
type: Input,
|
|
277
282
|
args: [{ alias: 'slotMenuPlacement' }]
|
|
283
|
+
}], slotMenuMode: [{
|
|
284
|
+
type: Input,
|
|
285
|
+
args: [{ alias: 'slotMenuMode' }]
|
|
278
286
|
}], constraintMode: [{
|
|
279
287
|
type: Input,
|
|
280
288
|
args: [{ alias: 'constraintMode' }]
|
|
@@ -52,9 +52,11 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
|
|
|
52
52
|
placement?: Placement;
|
|
53
53
|
/** Placement of the slot menu popover. Only relevant for 'popup' and 'draggable' menu type */
|
|
54
54
|
slotMenuPlacement?: Placement;
|
|
55
|
+
/** How the slot menu opens: `overlay` shows it in a popover next to the Edit button, `inline` expands it below the data field. Use `inline` when the picker itself lives in an overlay. `inline` applies to `selects="single"` only; multiple selects always use the overlay. */
|
|
56
|
+
slotMenuMode?: 'overlay' | 'inline';
|
|
55
57
|
/** Whether to hide the configuration button */
|
|
56
58
|
hideConfiguration?: boolean;
|
|
57
|
-
/** Whether to hide the
|
|
59
|
+
/** Whether to hide the delete button */
|
|
58
60
|
hideClear?: boolean;
|
|
59
61
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
60
62
|
language?: string;
|
|
@@ -75,7 +77,7 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
|
|
|
75
77
|
private setHostProperty;
|
|
76
78
|
private bindEvents;
|
|
77
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPicker, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
|
|
79
81
|
static ngAcceptInputType_disabled: unknown;
|
|
80
82
|
static ngAcceptInputType_grows: unknown;
|
|
81
83
|
static ngAcceptInputType_hasLabel: unknown;
|
|
@@ -53,9 +53,11 @@ export class LuzmoItemSlotPicker {
|
|
|
53
53
|
placement;
|
|
54
54
|
/** Placement of the slot menu popover. Only relevant for 'popup' and 'draggable' menu type */
|
|
55
55
|
slotMenuPlacement;
|
|
56
|
+
/** How the slot menu opens: `overlay` shows it in a popover next to the Edit button, `inline` expands it below the data field. Use `inline` when the picker itself lives in an overlay. `inline` applies to `selects="single"` only; multiple selects always use the overlay. */
|
|
57
|
+
slotMenuMode;
|
|
56
58
|
/** Whether to hide the configuration button */
|
|
57
59
|
hideConfiguration;
|
|
58
|
-
/** Whether to hide the
|
|
60
|
+
/** Whether to hide the delete button */
|
|
59
61
|
hideClear;
|
|
60
62
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
61
63
|
language;
|
|
@@ -133,6 +135,9 @@ export class LuzmoItemSlotPicker {
|
|
|
133
135
|
case 'slotMenuPlacement':
|
|
134
136
|
this.setHostProperty('slotMenuPlacement', changes['slotMenuPlacement'].currentValue);
|
|
135
137
|
break;
|
|
138
|
+
case 'slotMenuMode':
|
|
139
|
+
this.setHostProperty('slotMenuMode', changes['slotMenuMode'].currentValue);
|
|
140
|
+
break;
|
|
136
141
|
case 'hideConfiguration':
|
|
137
142
|
this.setHostProperty('hideConfiguration', changes['hideConfiguration'].currentValue);
|
|
138
143
|
break;
|
|
@@ -169,7 +174,7 @@ export class LuzmoItemSlotPicker {
|
|
|
169
174
|
}));
|
|
170
175
|
}
|
|
171
176
|
static ɵfac = function LuzmoItemSlotPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPicker)(); };
|
|
172
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPicker, selectors: [["luzmo-item-slot-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotContents: "slotContents", contentLanguage: "contentLanguage", disabled: [2, "disabled", "disabled", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], menu: "menu", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", selects: "selects", icons: "icons", placeholder: "placeholder", datasetsDataFields: "datasetsDataFields", placement: "placement", slotMenuPlacement: "slotMenuPlacement", hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], hideClear: [2, "hideClear", "hideClear", booleanAttribute], language: "language", search: "search", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPicker, selectors: [["luzmo-item-slot-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotContents: "slotContents", contentLanguage: "contentLanguage", disabled: [2, "disabled", "disabled", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], menu: "menu", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", selects: "selects", icons: "icons", placeholder: "placeholder", datasetsDataFields: "datasetsDataFields", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], hideClear: [2, "hideClear", "hideClear", booleanAttribute], language: "language", search: "search", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
|
|
173
178
|
i0.ɵɵprojectionDef();
|
|
174
179
|
i0.ɵɵprojection(0);
|
|
175
180
|
} }, encapsulation: 2 });
|
|
@@ -240,6 +245,9 @@ export class LuzmoItemSlotPicker {
|
|
|
240
245
|
}], slotMenuPlacement: [{
|
|
241
246
|
type: Input,
|
|
242
247
|
args: [{ alias: 'slotMenuPlacement' }]
|
|
248
|
+
}], slotMenuMode: [{
|
|
249
|
+
type: Input,
|
|
250
|
+
args: [{ alias: 'slotMenuMode' }]
|
|
243
251
|
}], hideConfiguration: [{
|
|
244
252
|
type: Input,
|
|
245
253
|
args: [{ alias: 'hideConfiguration', transform: booleanAttribute }]
|
|
@@ -34,6 +34,8 @@ export declare class LuzmoSlotMenu implements OnChanges {
|
|
|
34
34
|
variant?: 'popup' | 'draggable' | 'default';
|
|
35
35
|
/** Whether to show the top menu label & delete button */
|
|
36
36
|
noTopMenuLabel?: boolean;
|
|
37
|
+
/** Whether to hide the remove button in the popup variant, for hosts that already offer their own delete action */
|
|
38
|
+
noRemove?: boolean;
|
|
37
39
|
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
38
40
|
dragBoundary?: string;
|
|
39
41
|
/** Whether grand-totals options are available for this slot. */
|
|
@@ -90,10 +92,11 @@ export declare class LuzmoSlotMenu implements OnChanges {
|
|
|
90
92
|
private bindEvents;
|
|
91
93
|
close(): void;
|
|
92
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSlotMenu, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "noRemove": { "alias": "noRemove"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
94
96
|
static ngAcceptInputType_noDrag: unknown;
|
|
95
97
|
static ngAcceptInputType_noClose: unknown;
|
|
96
98
|
static ngAcceptInputType_noTopMenuLabel: unknown;
|
|
99
|
+
static ngAcceptInputType_noRemove: unknown;
|
|
97
100
|
static ngAcceptInputType_areGrandTotalsEnabled: unknown;
|
|
98
101
|
static ngAcceptInputType_areDatetimeOptionsEnabled: unknown;
|
|
99
102
|
static ngAcceptInputType_isBinningDisabled: unknown;
|
|
@@ -33,6 +33,8 @@ export class LuzmoSlotMenu {
|
|
|
33
33
|
variant;
|
|
34
34
|
/** Whether to show the top menu label & delete button */
|
|
35
35
|
noTopMenuLabel;
|
|
36
|
+
/** Whether to hide the remove button in the popup variant, for hosts that already offer their own delete action */
|
|
37
|
+
noRemove;
|
|
36
38
|
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
37
39
|
dragBoundary;
|
|
38
40
|
/** Whether grand-totals options are available for this slot. */
|
|
@@ -115,6 +117,9 @@ export class LuzmoSlotMenu {
|
|
|
115
117
|
case 'noTopMenuLabel':
|
|
116
118
|
this.setHostProperty('noTopMenuLabel', changes['noTopMenuLabel'].currentValue);
|
|
117
119
|
break;
|
|
120
|
+
case 'noRemove':
|
|
121
|
+
this.setHostProperty('noRemove', changes['noRemove'].currentValue);
|
|
122
|
+
break;
|
|
118
123
|
case 'dragBoundary':
|
|
119
124
|
this.setHostProperty('dragBoundary', changes['dragBoundary'].currentValue);
|
|
120
125
|
break;
|
|
@@ -207,7 +212,7 @@ export class LuzmoSlotMenu {
|
|
|
207
212
|
return this.host.close();
|
|
208
213
|
}
|
|
209
214
|
static ɵfac = function LuzmoSlotMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSlotMenu)(); };
|
|
210
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", datasetsDataFields: "datasetsDataFields", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], noRemove: [2, "noRemove", "noRemove", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", datasetsDataFields: "datasetsDataFields", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
211
216
|
i0.ɵɵprojectionDef();
|
|
212
217
|
i0.ɵɵprojection(0);
|
|
213
218
|
} }, encapsulation: 2 });
|
|
@@ -248,6 +253,9 @@ export class LuzmoSlotMenu {
|
|
|
248
253
|
}], noTopMenuLabel: [{
|
|
249
254
|
type: Input,
|
|
250
255
|
args: [{ alias: 'noTopMenuLabel', transform: booleanAttribute }]
|
|
256
|
+
}], noRemove: [{
|
|
257
|
+
type: Input,
|
|
258
|
+
args: [{ alias: 'noRemove', transform: booleanAttribute }]
|
|
251
259
|
}], dragBoundary: [{
|
|
252
260
|
type: Input,
|
|
253
261
|
args: [{ alias: 'dragBoundary' }]
|
package/esm/index.d.ts
CHANGED
|
@@ -51,7 +51,6 @@ import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
|
51
51
|
import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
52
52
|
import { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
53
53
|
import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
54
|
-
import { LuzmoVizItemMenu } from './components/viz-item-menu.js';
|
|
55
54
|
export { LuzmoAddToDashboard, type LuzmoAddToDashboardElement } from './components/add-to-dashboard.js';
|
|
56
55
|
export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.js';
|
|
57
56
|
export { LuzmoAiChatEmptyState, type LuzmoAiChatEmptyStateElement } from './components/ai-chat-empty-state.js';
|
|
@@ -105,7 +104,6 @@ export { LuzmoItemSlotPicker, type LuzmoItemSlotPickerElement } from './componen
|
|
|
105
104
|
export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from './components/item-slot-picker-panel.js';
|
|
106
105
|
export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.js';
|
|
107
106
|
export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.js';
|
|
108
|
-
export
|
|
109
|
-
export declare const
|
|
110
|
-
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoAddToDashboard", "LuzmoAiChat", "LuzmoAiChatEmptyState", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
|
|
107
|
+
export declare const LUZMO_ANGULAR_COMPONENTS: readonly [typeof LuzmoAddToDashboard, typeof LuzmoAiChat, typeof LuzmoAiChatEmptyState, typeof LuzmoAiInteractionTextarea, typeof LuzmoDataField, typeof LuzmoDataFieldLevel, typeof LuzmoDataFieldPanel, typeof LuzmoDataFieldsSelect, typeof LuzmoDatasetIcon, typeof LuzmoDatasetSelectorList, typeof LuzmoDatasetSelectorRow, typeof LuzmoDisplaySettings, typeof LuzmoDisplaySettingsBinning, typeof LuzmoDisplaySettingsDatetime, typeof LuzmoDisplaySettingsGrandTotals, typeof LuzmoDisplaySettingsNumeric, typeof LuzmoDisplaySettingsPeriodOverPeriod, typeof LuzmoFilterExpressionPicker, typeof LuzmoFilterItem, typeof LuzmoFilterParameterPicker, typeof LuzmoFilterValuePicker, typeof LuzmoFilterValuePickerDatetime, typeof LuzmoFilterValuePickerHierarchy, typeof LuzmoFilterValuePickerNumeric, typeof LuzmoFilters, typeof LuzmoFormula, typeof LuzmoFormulaEditor, typeof LuzmoFormulaField, typeof LuzmoInteractiveVizItem, typeof LuzmoItemGrid, typeof LuzmoItemGridItemActionsMenu, typeof LuzmoItemOption, typeof LuzmoItemOptionActionButtonGroup, typeof LuzmoItemOptionColorPalettePicker, typeof LuzmoItemOptionColorPicker, typeof LuzmoItemOptionColorRange, typeof LuzmoItemOptionGuidelines, typeof LuzmoItemOptionMultiLanguageField, typeof LuzmoItemOptionNumberField, typeof LuzmoItemOptionPanel, typeof LuzmoItemOptionPicker, typeof LuzmoItemOptionPositionPicker, typeof LuzmoItemOptionPositionsNumberField, typeof LuzmoItemOptionRadioButtonGroup, typeof LuzmoItemOptionSlider, typeof LuzmoItemOptionSwitch, typeof LuzmoItemOptionTextField, typeof LuzmoItemSlotDrop, typeof LuzmoItemSlotDropPanel, typeof LuzmoItemSlotPicker, typeof LuzmoItemSlotPickerPanel, typeof LuzmoSlotMenu, typeof LuzmoSlotMenuList];
|
|
108
|
+
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoAddToDashboard", "LuzmoAiChat", "LuzmoAiChatEmptyState", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList"];
|
|
111
109
|
export type LuzmoAngularComponentName = (typeof LUZMO_ANGULAR_COMPONENT_NAMES)[number];
|
package/esm/index.js
CHANGED
|
@@ -52,7 +52,6 @@ import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
|
52
52
|
import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
53
53
|
import { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
54
54
|
import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
55
|
-
import { LuzmoVizItemMenu } from './components/viz-item-menu.js';
|
|
56
55
|
export { LuzmoAddToDashboard } from './components/add-to-dashboard.js';
|
|
57
56
|
export { LuzmoAiChat } from './components/ai-chat.js';
|
|
58
57
|
export { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
|
|
@@ -106,7 +105,6 @@ export { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
|
106
105
|
export { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
107
106
|
export { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
108
107
|
export { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
109
|
-
export { LuzmoVizItemMenu } from './components/viz-item-menu.js';
|
|
110
108
|
export const LUZMO_ANGULAR_COMPONENTS = [
|
|
111
109
|
LuzmoAddToDashboard,
|
|
112
110
|
LuzmoAiChat,
|
|
@@ -160,8 +158,7 @@ export const LUZMO_ANGULAR_COMPONENTS = [
|
|
|
160
158
|
LuzmoItemSlotPicker,
|
|
161
159
|
LuzmoItemSlotPickerPanel,
|
|
162
160
|
LuzmoSlotMenu,
|
|
163
|
-
LuzmoSlotMenuList
|
|
164
|
-
LuzmoVizItemMenu
|
|
161
|
+
LuzmoSlotMenuList
|
|
165
162
|
];
|
|
166
163
|
export const LUZMO_ANGULAR_COMPONENT_NAMES = [
|
|
167
164
|
'LuzmoAddToDashboard',
|
|
@@ -216,6 +213,5 @@ export const LUZMO_ANGULAR_COMPONENT_NAMES = [
|
|
|
216
213
|
'LuzmoItemSlotPicker',
|
|
217
214
|
'LuzmoItemSlotPickerPanel',
|
|
218
215
|
'LuzmoSlotMenu',
|
|
219
|
-
'LuzmoSlotMenuList'
|
|
220
|
-
'LuzmoVizItemMenu'
|
|
216
|
+
'LuzmoSlotMenuList'
|
|
221
217
|
];
|
package/package.json
CHANGED
|
@@ -29,9 +29,13 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
31
31
|
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "1.
|
|
32
|
+
"@luzmo/analytics-components-kit": "1.2.1"
|
|
33
|
+
},
|
|
34
|
+
"version": "1.2.1",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/cumulio-internal/analytics-components-kit.git"
|
|
33
38
|
},
|
|
34
|
-
"version": "1.0.9-beta.9",
|
|
35
39
|
"peerDependenciesMeta": {
|
|
36
40
|
"@angular/forms": {
|
|
37
41
|
"optional": true
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/viz-item-menu';
|
|
3
|
-
import type { LuzmoVizItemMenu as LuzmoVizItemMenuHostElement, VizItemMenuButton, VizItemMenuButtonClickedEventDetail, VizItemMenuSelectedChangedEventDetail } from '@luzmo/analytics-components-kit/viz-item-menu';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type { VizItemMenuButton, VizItemMenuButtonClickedEventDetail, VizItemMenuSelectedChangedEventDetail } from '@luzmo/analytics-components-kit/viz-item-menu';
|
|
6
|
-
export declare class LuzmoVizItemMenu implements OnChanges {
|
|
7
|
-
private readonly elementRef;
|
|
8
|
-
private readonly renderer;
|
|
9
|
-
private readonly destroyRef;
|
|
10
|
-
private readonly host;
|
|
11
|
-
private readonly listenerCleanup;
|
|
12
|
-
/** The underlying custom element instance. Use to call imperative methods. */
|
|
13
|
-
get nativeElement(): LuzmoVizItemMenuHostElement;
|
|
14
|
-
/** The visualization item ID */
|
|
15
|
-
vizItemId?: string;
|
|
16
|
-
/** Array of menu buttons to hide */
|
|
17
|
-
hiddenButtons?: VizItemMenuButton[];
|
|
18
|
-
/** The currently selected menu button */
|
|
19
|
-
selectedButton?: VizItemMenuButton | null;
|
|
20
|
-
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
21
|
-
language?: string;
|
|
22
|
-
/** Emitted when the selected button changes */
|
|
23
|
-
readonly selectedChanged: import("@angular/core").OutputEmitterRef<CustomEvent<VizItemMenuSelectedChangedEventDetail>>;
|
|
24
|
-
/** Emitted when any menu item is clicked */
|
|
25
|
-
readonly buttonClicked: import("@angular/core").OutputEmitterRef<CustomEvent<VizItemMenuButtonClickedEventDetail>>;
|
|
26
|
-
/** Emitted when hovering over the edit button */
|
|
27
|
-
readonly editButtonHovered: import("@angular/core").OutputEmitterRef<CustomEvent<void>>;
|
|
28
|
-
constructor();
|
|
29
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
-
/**
|
|
31
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
32
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
33
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
34
|
-
* undefined / null by clearing their bindings.
|
|
35
|
-
*/
|
|
36
|
-
private setHostProperty;
|
|
37
|
-
private bindEvents;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoVizItemMenu, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoVizItemMenu, "luzmo-viz-item-menu", ["luzmoVizItemMenu"], { "vizItemId": { "alias": "vizItemId"; "required": false; }; "hiddenButtons": { "alias": "hiddenButtons"; "required": false; }; "selectedButton": { "alias": "selectedButton"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "buttonClicked": "buttonClicked"; "editButtonHovered": "editButtonHovered"; }, never, ["*"], true, never>;
|
|
40
|
-
}
|
|
41
|
-
/** The underlying custom element type for LuzmoVizItemMenu */
|
|
42
|
-
export type LuzmoVizItemMenuElement = LuzmoVizItemMenuHostElement;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/viz-item-menu';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
const _c0 = ["*"];
|
|
5
|
-
/**
|
|
6
|
-
* Angular wrapper component for <luzmo-viz-item-menu>
|
|
7
|
-
*/
|
|
8
|
-
export class LuzmoVizItemMenu {
|
|
9
|
-
elementRef = inject(ElementRef);
|
|
10
|
-
renderer = inject(Renderer2);
|
|
11
|
-
destroyRef = inject(DestroyRef);
|
|
12
|
-
host = this.elementRef.nativeElement;
|
|
13
|
-
listenerCleanup = [];
|
|
14
|
-
/** The underlying custom element instance. Use to call imperative methods. */
|
|
15
|
-
get nativeElement() {
|
|
16
|
-
return this.host;
|
|
17
|
-
}
|
|
18
|
-
/** The visualization item ID */
|
|
19
|
-
vizItemId;
|
|
20
|
-
/** Array of menu buttons to hide */
|
|
21
|
-
hiddenButtons;
|
|
22
|
-
/** The currently selected menu button */
|
|
23
|
-
selectedButton;
|
|
24
|
-
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
25
|
-
language;
|
|
26
|
-
/** Emitted when the selected button changes */
|
|
27
|
-
selectedChanged = output({ alias: 'selectedChanged' });
|
|
28
|
-
/** Emitted when any menu item is clicked */
|
|
29
|
-
buttonClicked = output({ alias: 'buttonClicked' });
|
|
30
|
-
/** Emitted when hovering over the edit button */
|
|
31
|
-
editButtonHovered = output({ alias: 'editButtonHovered' });
|
|
32
|
-
constructor() {
|
|
33
|
-
this.bindEvents();
|
|
34
|
-
this.destroyRef.onDestroy(() => {
|
|
35
|
-
for (const cleanup of this.listenerCleanup) {
|
|
36
|
-
cleanup();
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
ngOnChanges(changes) {
|
|
41
|
-
for (const key of Object.keys(changes)) {
|
|
42
|
-
switch (key) {
|
|
43
|
-
case 'vizItemId':
|
|
44
|
-
this.setHostProperty('vizItemId', changes['vizItemId'].currentValue);
|
|
45
|
-
break;
|
|
46
|
-
case 'hiddenButtons':
|
|
47
|
-
this.setHostProperty('hiddenButtons', changes['hiddenButtons'].currentValue);
|
|
48
|
-
break;
|
|
49
|
-
case 'selectedButton':
|
|
50
|
-
this.setHostProperty('selectedButton', changes['selectedButton'].currentValue);
|
|
51
|
-
break;
|
|
52
|
-
case 'language':
|
|
53
|
-
this.setHostProperty('language', changes['language'].currentValue);
|
|
54
|
-
break;
|
|
55
|
-
default:
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
62
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
63
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
64
|
-
* undefined / null by clearing their bindings.
|
|
65
|
-
*/
|
|
66
|
-
setHostProperty(key, value) {
|
|
67
|
-
this.renderer.setProperty(this.host, key, value);
|
|
68
|
-
}
|
|
69
|
-
bindEvents() {
|
|
70
|
-
this.listenerCleanup.push(this.renderer.listen(this.host, 'selected-changed', (event) => {
|
|
71
|
-
const typed = event;
|
|
72
|
-
this.selectedChanged.emit(typed);
|
|
73
|
-
}));
|
|
74
|
-
this.listenerCleanup.push(this.renderer.listen(this.host, 'button-clicked', (event) => {
|
|
75
|
-
const typed = event;
|
|
76
|
-
this.buttonClicked.emit(typed);
|
|
77
|
-
}));
|
|
78
|
-
this.listenerCleanup.push(this.renderer.listen(this.host, 'edit-button-hovered', (event) => {
|
|
79
|
-
const typed = event;
|
|
80
|
-
this.editButtonHovered.emit(typed);
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
|
-
static ɵfac = function LuzmoVizItemMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoVizItemMenu)(); };
|
|
84
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoVizItemMenu, selectors: [["luzmo-viz-item-menu"]], inputs: { vizItemId: "vizItemId", hiddenButtons: "hiddenButtons", selectedButton: "selectedButton", language: "language" }, outputs: { selectedChanged: "selectedChanged", buttonClicked: "buttonClicked", editButtonHovered: "editButtonHovered" }, exportAs: ["luzmoVizItemMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoVizItemMenu_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
-
i0.ɵɵprojectionDef();
|
|
86
|
-
i0.ɵɵprojection(0);
|
|
87
|
-
} }, encapsulation: 2 });
|
|
88
|
-
}
|
|
89
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoVizItemMenu, [{
|
|
90
|
-
type: Component,
|
|
91
|
-
args: [{
|
|
92
|
-
selector: 'luzmo-viz-item-menu',
|
|
93
|
-
exportAs: 'luzmoVizItemMenu',
|
|
94
|
-
standalone: true,
|
|
95
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
96
|
-
template: '<ng-content />'
|
|
97
|
-
}]
|
|
98
|
-
}], () => [], { vizItemId: [{
|
|
99
|
-
type: Input,
|
|
100
|
-
args: [{ alias: 'vizItemId' }]
|
|
101
|
-
}], hiddenButtons: [{
|
|
102
|
-
type: Input,
|
|
103
|
-
args: [{ alias: 'hiddenButtons' }]
|
|
104
|
-
}], selectedButton: [{
|
|
105
|
-
type: Input,
|
|
106
|
-
args: [{ alias: 'selectedButton' }]
|
|
107
|
-
}], language: [{
|
|
108
|
-
type: Input,
|
|
109
|
-
args: [{ alias: 'language' }]
|
|
110
|
-
}], selectedChanged: [{ type: i0.Output, args: ["selectedChanged"] }], buttonClicked: [{ type: i0.Output, args: ["buttonClicked"] }], editButtonHovered: [{ type: i0.Output, args: ["editButtonHovered"] }] }); })();
|
|
111
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoVizItemMenu, { className: "LuzmoVizItemMenu", filePath: "components/viz-item-menu.ts", lineNumber: 16 }); })();
|