@luzmo/ngx-analytics-components-kit 1.0.9-beta.8 → 1.1.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/add-to-dashboard.d.ts +48 -0
- package/esm/components/add-to-dashboard.js +129 -0
- 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/dataset-icon.d.ts +2 -2
- package/esm/components/dataset-icon.js +1 -1
- package/esm/components/filters.d.ts +4 -1
- package/esm/components/filters.js +9 -1
- package/esm/components/interactive-viz-item.d.ts +19 -6
- package/esm/components/interactive-viz-item.js +42 -6
- 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-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 +4 -4
- package/esm/index.js +6 -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
|
@@ -22,6 +22,10 @@ export class LuzmoInteractiveVizItem {
|
|
|
22
22
|
}
|
|
23
23
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
24
24
|
language;
|
|
25
|
+
/** When present, renders `luzmo-add-to-dashboard` in the actions bar. */
|
|
26
|
+
addToDashboard;
|
|
27
|
+
/** Click-to-filter on the embedded chart, forwarded as its `canFilter`. The `can-filter` attribute means `'all'`; unset keeps it off. */
|
|
28
|
+
canFilter;
|
|
25
29
|
/** Loose chart config (type, options, slots, filters); slots may use the keyed-object form. */
|
|
26
30
|
chart;
|
|
27
31
|
/** Current feedback (drives the thumbs up/down selection). */
|
|
@@ -44,14 +48,20 @@ export class LuzmoInteractiveVizItem {
|
|
|
44
48
|
hideFeedback;
|
|
45
49
|
/** When present, hides the config-panel toggle and the panel itself. */
|
|
46
50
|
hideConfigPanel;
|
|
51
|
+
/** When present, chart changes are only emitted and the host sets `chart`; otherwise they are applied here and still emitted. */
|
|
52
|
+
controlled;
|
|
47
53
|
/** The size of the element */
|
|
48
54
|
size;
|
|
49
|
-
/** Fired when the inline actions (ranking, sort, display mode) change the chart options. */
|
|
55
|
+
/** Fired when the inline actions (ranking, sort, display mode) change the chart options. Applied to `chart` first unless `controlled` is set. */
|
|
50
56
|
luzmoChartOptionsChanged = output({ alias: 'luzmoChartOptionsChanged' });
|
|
51
|
-
/** Fired when the config panel changes slots, filters, or options (full chart). */
|
|
57
|
+
/** Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set. */
|
|
52
58
|
luzmoChartChanged = output({ alias: 'luzmoChartChanged' });
|
|
53
|
-
/** Fired when the user changes the thumbs up/down rating. */
|
|
59
|
+
/** Fired when the user changes the thumbs up/down rating. Never applied to `feedback`; the host owns it in both modes. */
|
|
54
60
|
luzmoFeedbackChanged = output({ alias: 'luzmoFeedbackChanged' });
|
|
61
|
+
/** Fired by the inner `luzmo-add-to-dashboard` after the chart was saved. */
|
|
62
|
+
luzmoChartAdded = output({ alias: 'luzmoChartAdded' });
|
|
63
|
+
/** Fired by the inner `luzmo-add-to-dashboard` when saving failed. */
|
|
64
|
+
luzmoChartAddFailed = output({ alias: 'luzmoChartAddFailed' });
|
|
55
65
|
constructor() {
|
|
56
66
|
this.bindEvents();
|
|
57
67
|
this.destroyRef.onDestroy(() => {
|
|
@@ -66,6 +76,12 @@ export class LuzmoInteractiveVizItem {
|
|
|
66
76
|
case 'language':
|
|
67
77
|
this.setHostProperty('language', changes['language'].currentValue);
|
|
68
78
|
break;
|
|
79
|
+
case 'addToDashboard':
|
|
80
|
+
this.setHostProperty('addToDashboard', changes['addToDashboard'].currentValue);
|
|
81
|
+
break;
|
|
82
|
+
case 'canFilter':
|
|
83
|
+
this.setHostProperty('canFilter', changes['canFilter'].currentValue);
|
|
84
|
+
break;
|
|
69
85
|
case 'chart':
|
|
70
86
|
this.setHostProperty('chart', changes['chart'].currentValue);
|
|
71
87
|
break;
|
|
@@ -99,6 +115,9 @@ export class LuzmoInteractiveVizItem {
|
|
|
99
115
|
case 'hideConfigPanel':
|
|
100
116
|
this.setHostProperty('hideConfigPanel', changes['hideConfigPanel'].currentValue);
|
|
101
117
|
break;
|
|
118
|
+
case 'controlled':
|
|
119
|
+
this.setHostProperty('controlled', changes['controlled'].currentValue);
|
|
120
|
+
break;
|
|
102
121
|
case 'size':
|
|
103
122
|
this.setHostProperty('size', changes['size'].currentValue);
|
|
104
123
|
break;
|
|
@@ -129,9 +148,17 @@ export class LuzmoInteractiveVizItem {
|
|
|
129
148
|
const typed = event;
|
|
130
149
|
this.luzmoFeedbackChanged.emit(typed);
|
|
131
150
|
}));
|
|
151
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-chart-added', (event) => {
|
|
152
|
+
const typed = event;
|
|
153
|
+
this.luzmoChartAdded.emit(typed);
|
|
154
|
+
}));
|
|
155
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-chart-add-failed', (event) => {
|
|
156
|
+
const typed = event;
|
|
157
|
+
this.luzmoChartAddFailed.emit(typed);
|
|
158
|
+
}));
|
|
132
159
|
}
|
|
133
160
|
static ɵfac = function LuzmoInteractiveVizItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoInteractiveVizItem)(); };
|
|
134
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoInteractiveVizItem, selectors: [["luzmo-interactive-viz-item"]], inputs: { language: "language", chart: "chart", feedback: "feedback", messageId: "messageId", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", contentLanguage: "contentLanguage", hideActions: [2, "hideActions", "hideActions", booleanAttribute], hideFeedback: [2, "hideFeedback", "hideFeedback", booleanAttribute], hideConfigPanel: [2, "hideConfigPanel", "hideConfigPanel", booleanAttribute], size: "size" }, outputs: { luzmoChartOptionsChanged: "luzmoChartOptionsChanged", luzmoChartChanged: "luzmoChartChanged", luzmoFeedbackChanged: "luzmoFeedbackChanged" }, exportAs: ["luzmoInteractiveVizItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoInteractiveVizItem_Template(rf, ctx) { if (rf & 1) {
|
|
161
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoInteractiveVizItem, selectors: [["luzmo-interactive-viz-item"]], inputs: { language: "language", addToDashboard: [2, "addToDashboard", "addToDashboard", booleanAttribute], canFilter: "canFilter", chart: "chart", feedback: "feedback", messageId: "messageId", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", contentLanguage: "contentLanguage", hideActions: [2, "hideActions", "hideActions", booleanAttribute], hideFeedback: [2, "hideFeedback", "hideFeedback", booleanAttribute], hideConfigPanel: [2, "hideConfigPanel", "hideConfigPanel", booleanAttribute], controlled: [2, "controlled", "controlled", booleanAttribute], size: "size" }, outputs: { luzmoChartOptionsChanged: "luzmoChartOptionsChanged", luzmoChartChanged: "luzmoChartChanged", luzmoFeedbackChanged: "luzmoFeedbackChanged", luzmoChartAdded: "luzmoChartAdded", luzmoChartAddFailed: "luzmoChartAddFailed" }, exportAs: ["luzmoInteractiveVizItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoInteractiveVizItem_Template(rf, ctx) { if (rf & 1) {
|
|
135
162
|
i0.ɵɵprojectionDef();
|
|
136
163
|
i0.ɵɵprojection(0);
|
|
137
164
|
} }, encapsulation: 2 });
|
|
@@ -148,6 +175,12 @@ export class LuzmoInteractiveVizItem {
|
|
|
148
175
|
}], () => [], { language: [{
|
|
149
176
|
type: Input,
|
|
150
177
|
args: [{ alias: 'language' }]
|
|
178
|
+
}], addToDashboard: [{
|
|
179
|
+
type: Input,
|
|
180
|
+
args: [{ alias: 'addToDashboard', transform: booleanAttribute }]
|
|
181
|
+
}], canFilter: [{
|
|
182
|
+
type: Input,
|
|
183
|
+
args: [{ alias: 'canFilter' }]
|
|
151
184
|
}], chart: [{
|
|
152
185
|
type: Input,
|
|
153
186
|
args: [{ alias: 'chart' }]
|
|
@@ -181,8 +214,11 @@ export class LuzmoInteractiveVizItem {
|
|
|
181
214
|
}], hideConfigPanel: [{
|
|
182
215
|
type: Input,
|
|
183
216
|
args: [{ alias: 'hideConfigPanel', transform: booleanAttribute }]
|
|
217
|
+
}], controlled: [{
|
|
218
|
+
type: Input,
|
|
219
|
+
args: [{ alias: 'controlled', transform: booleanAttribute }]
|
|
184
220
|
}], size: [{
|
|
185
221
|
type: Input,
|
|
186
222
|
args: [{ alias: 'size' }]
|
|
187
|
-
}], luzmoChartOptionsChanged: [{ type: i0.Output, args: ["luzmoChartOptionsChanged"] }], luzmoChartChanged: [{ type: i0.Output, args: ["luzmoChartChanged"] }], luzmoFeedbackChanged: [{ type: i0.Output, args: ["luzmoFeedbackChanged"] }] }); })();
|
|
188
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoInteractiveVizItem, { className: "LuzmoInteractiveVizItem", filePath: "components/interactive-viz-item.ts", lineNumber:
|
|
223
|
+
}], luzmoChartOptionsChanged: [{ type: i0.Output, args: ["luzmoChartOptionsChanged"] }], luzmoChartChanged: [{ type: i0.Output, args: ["luzmoChartChanged"] }], luzmoFeedbackChanged: [{ type: i0.Output, args: ["luzmoFeedbackChanged"] }], luzmoChartAdded: [{ type: i0.Output, args: ["luzmoChartAdded"] }], luzmoChartAddFailed: [{ type: i0.Output, args: ["luzmoChartAddFailed"] }] }); })();
|
|
224
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoInteractiveVizItem, { className: "LuzmoInteractiveVizItem", filePath: "components/interactive-viz-item.ts", lineNumber: 22 }); })();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-grid';
|
|
3
|
-
import type { LuzmoItemGridItemActionsMenu as LuzmoItemGridItemActionsMenuHostElement, ActionGroup } from '@luzmo/analytics-components-kit/item-grid';
|
|
2
|
+
import '@luzmo/analytics-components-kit/item-grid-item-actions-menu';
|
|
3
|
+
import type { LuzmoItemGridItemActionsMenu as LuzmoItemGridItemActionsMenuHostElement, ActionGroup, ItemGridItemActionEventDetail, ItemGridItemActionHoverEventDetail } from '@luzmo/analytics-components-kit/item-grid-item-actions-menu';
|
|
4
4
|
import type { Placement } from '@luzmo/lucero';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export type { Action, ActionGroup,
|
|
6
|
+
export type { Action, ActionGroup, ItemGridItemActionEventDetail, ItemGridItemActionHoverEventDetail } from '@luzmo/analytics-components-kit/item-grid-item-actions-menu';
|
|
7
7
|
export declare class LuzmoItemGridItemActionsMenu implements OnChanges {
|
|
8
8
|
private readonly elementRef;
|
|
9
9
|
private readonly renderer;
|
|
@@ -12,9 +12,9 @@ export declare class LuzmoItemGridItemActionsMenu implements OnChanges {
|
|
|
12
12
|
private readonly listenerCleanup;
|
|
13
13
|
/** The underlying custom element instance. Use to call imperative methods. */
|
|
14
14
|
get nativeElement(): LuzmoItemGridItemActionsMenuHostElement;
|
|
15
|
-
/** The preferred placement
|
|
15
|
+
/** The preferred placement, which determines the toolbar orientation. */
|
|
16
16
|
placement?: Placement;
|
|
17
|
-
/** The
|
|
17
|
+
/** The grouped actions displayed in the toolbar. */
|
|
18
18
|
actions?: ActionGroup[];
|
|
19
19
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
20
20
|
language?: string;
|
|
@@ -24,8 +24,10 @@ export declare class LuzmoItemGridItemActionsMenu implements OnChanges {
|
|
|
24
24
|
autofocus?: boolean;
|
|
25
25
|
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
26
26
|
tabIndex?: number;
|
|
27
|
-
/** Fired when the user
|
|
28
|
-
readonly luzmoItemGridItemAction: import("@angular/core").OutputEmitterRef<CustomEvent<
|
|
27
|
+
/** Fired when the user activates an action. */
|
|
28
|
+
readonly luzmoItemGridItemAction: import("@angular/core").OutputEmitterRef<CustomEvent<ItemGridItemActionEventDetail>>;
|
|
29
|
+
/** Fired when the pointer enters an action, for example to preload what it opens. */
|
|
30
|
+
readonly luzmoItemGridItemActionHover: import("@angular/core").OutputEmitterRef<CustomEvent<ItemGridItemActionHoverEventDetail>>;
|
|
29
31
|
constructor();
|
|
30
32
|
ngOnChanges(changes: SimpleChanges): void;
|
|
31
33
|
/**
|
|
@@ -37,7 +39,7 @@ export declare class LuzmoItemGridItemActionsMenu implements OnChanges {
|
|
|
37
39
|
private setHostProperty;
|
|
38
40
|
private bindEvents;
|
|
39
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemGridItemActionsMenu, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemGridItemActionsMenu, "luzmo-item-grid-item-actions-menu", ["luzmoItemGridItemActionsMenu"], { "placement": { "alias": "placement"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoItemGridItemAction": "luzmoItemGridItemAction"; }, never, ["*"], true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemGridItemActionsMenu, "luzmo-item-grid-item-actions-menu", ["luzmoItemGridItemActionsMenu"], { "placement": { "alias": "placement"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "language": { "alias": "language"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoItemGridItemAction": "luzmoItemGridItemAction"; "luzmoItemGridItemActionHover": "luzmoItemGridItemActionHover"; }, never, ["*"], true, never>;
|
|
41
43
|
static ngAcceptInputType_disabled: unknown;
|
|
42
44
|
static ngAcceptInputType_autofocus: unknown;
|
|
43
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-grid';
|
|
2
|
+
import '@luzmo/analytics-components-kit/item-grid-item-actions-menu';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
5
5
|
/**
|
|
@@ -15,9 +15,9 @@ export class LuzmoItemGridItemActionsMenu {
|
|
|
15
15
|
get nativeElement() {
|
|
16
16
|
return this.host;
|
|
17
17
|
}
|
|
18
|
-
/** The preferred placement
|
|
18
|
+
/** The preferred placement, which determines the toolbar orientation. */
|
|
19
19
|
placement;
|
|
20
|
-
/** The
|
|
20
|
+
/** The grouped actions displayed in the toolbar. */
|
|
21
21
|
actions;
|
|
22
22
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
23
23
|
language;
|
|
@@ -27,8 +27,10 @@ export class LuzmoItemGridItemActionsMenu {
|
|
|
27
27
|
autofocus;
|
|
28
28
|
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
29
29
|
tabIndex;
|
|
30
|
-
/** Fired when the user
|
|
30
|
+
/** Fired when the user activates an action. */
|
|
31
31
|
luzmoItemGridItemAction = output({ alias: 'luzmoItemGridItemAction' });
|
|
32
|
+
/** Fired when the pointer enters an action, for example to preload what it opens. */
|
|
33
|
+
luzmoItemGridItemActionHover = output({ alias: 'luzmoItemGridItemActionHover' });
|
|
32
34
|
constructor() {
|
|
33
35
|
this.bindEvents();
|
|
34
36
|
this.destroyRef.onDestroy(() => {
|
|
@@ -77,9 +79,13 @@ export class LuzmoItemGridItemActionsMenu {
|
|
|
77
79
|
const typed = event;
|
|
78
80
|
this.luzmoItemGridItemAction.emit(typed);
|
|
79
81
|
}));
|
|
82
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-item-grid-item-action-hover', (event) => {
|
|
83
|
+
const typed = event;
|
|
84
|
+
this.luzmoItemGridItemActionHover.emit(typed);
|
|
85
|
+
}));
|
|
80
86
|
}
|
|
81
87
|
static ɵfac = function LuzmoItemGridItemActionsMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemGridItemActionsMenu)(); };
|
|
82
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemGridItemActionsMenu, selectors: [["luzmo-item-grid-item-actions-menu"]], inputs: { placement: "placement", actions: "actions", language: "language", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoItemGridItemAction: "luzmoItemGridItemAction" }, exportAs: ["luzmoItemGridItemActionsMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemGridItemActionsMenu_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemGridItemActionsMenu, selectors: [["luzmo-item-grid-item-actions-menu"]], inputs: { placement: "placement", actions: "actions", language: "language", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoItemGridItemAction: "luzmoItemGridItemAction", luzmoItemGridItemActionHover: "luzmoItemGridItemActionHover" }, exportAs: ["luzmoItemGridItemActionsMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemGridItemActionsMenu_Template(rf, ctx) { if (rf & 1) {
|
|
83
89
|
i0.ɵɵprojectionDef();
|
|
84
90
|
i0.ɵɵprojection(0);
|
|
85
91
|
} }, encapsulation: 2 });
|
|
@@ -111,5 +117,5 @@ export class LuzmoItemGridItemActionsMenu {
|
|
|
111
117
|
}], tabIndex: [{
|
|
112
118
|
type: Input,
|
|
113
119
|
args: [{ alias: 'tabIndex' }]
|
|
114
|
-
}], luzmoItemGridItemAction: [{ type: i0.Output, args: ["luzmoItemGridItemAction"] }] }); })();
|
|
120
|
+
}], luzmoItemGridItemAction: [{ type: i0.Output, args: ["luzmoItemGridItemAction"] }], luzmoItemGridItemActionHover: [{ type: i0.Output, args: ["luzmoItemGridItemActionHover"] }] }); })();
|
|
115
121
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemGridItemActionsMenu, { className: "LuzmoItemGridItemActionsMenu", filePath: "components/item-grid-item-actions-menu.ts", lineNumber: 17 }); })();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/item-grid';
|
|
3
|
-
import type { LuzmoItemGrid as LuzmoItemGridHostElement, ClonedItemPositioning, GridItemActionEventDetail, GridItemData, GridItemRenderer, GridItemStatesChangedEventDetail, GridLifecycleEventDetail, InputActionGroup, ItemStates } from '@luzmo/analytics-components-kit/item-grid';
|
|
3
|
+
import type { LuzmoItemGrid as LuzmoItemGridHostElement, ClonedItemPositioning, GridItemActionEventDetail, GridItemData, GridItemRenderer, GridItemStatesChangedEventDetail, GridLifecycleEventDetail, InputActionGroup, ItemGridItemActionHoverEventDetail, ItemStates } from '@luzmo/analytics-components-kit/item-grid';
|
|
4
4
|
import type { ThemeConfig } from '@luzmo/dashboard-contents-types';
|
|
5
5
|
import type { Placement } from '@luzmo/lucero';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export type { Action, ActionGroup, AddGridItemInput, ClonedItemPositioning, DefaultActionType, GridItemActionEventDetail, GridItemData, GridItemPatch, GridItemPosition, GridItemPositionPatch, GridItemRenderer, GridItemSizePatch, GridItemStatesChangedEventDetail, GridLifecycleEventDetail, InputActionGroup, ItemStates } from '@luzmo/analytics-components-kit/item-grid';
|
|
7
|
+
export type { Action, ActionGroup, AddGridItemInput, ClonedItemPositioning, DefaultActionType, GridItemActionEventDetail, GridItemData, GridItemPatch, GridItemPosition, GridItemPositionPatch, GridItemRenderer, GridItemSizePatch, GridItemStatesChangedEventDetail, GridLifecycleEventDetail, InputActionGroup, ItemGridItemActionEventDetail, ItemGridItemActionHoverEventDetail, ItemStates } from '@luzmo/analytics-components-kit/item-grid';
|
|
8
8
|
export declare class LuzmoItemGrid implements OnChanges {
|
|
9
9
|
private readonly elementRef;
|
|
10
10
|
private readonly renderer;
|
|
@@ -55,6 +55,8 @@ export declare class LuzmoItemGrid implements OnChanges {
|
|
|
55
55
|
initialItemStates?: ItemStates;
|
|
56
56
|
/** Fired when an item action is performed */
|
|
57
57
|
readonly luzmoItemGridItemAction: import("@angular/core").OutputEmitterRef<CustomEvent<GridItemActionEventDetail>>;
|
|
58
|
+
/** Bubbles from the item actions menu when the pointer enters an action. The detail has only `action` and `type`, not the item. */
|
|
59
|
+
readonly luzmoItemGridItemActionHover: import("@angular/core").OutputEmitterRef<CustomEvent<ItemGridItemActionHoverEventDetail>>;
|
|
58
60
|
/** Fired when the grid layout is changed */
|
|
59
61
|
readonly luzmoItemGridLayoutChanged: import("@angular/core").OutputEmitterRef<CustomEvent<GridLifecycleEventDetail>>;
|
|
60
62
|
/** Fired when the grid is ready */
|
|
@@ -72,7 +74,7 @@ export declare class LuzmoItemGrid implements OnChanges {
|
|
|
72
74
|
private setHostProperty;
|
|
73
75
|
private bindEvents;
|
|
74
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemGrid, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemGrid, "luzmo-item-grid", ["luzmoItemGrid"], { "appServer": { "alias": "appServer"; "required": false; }; "apiHost": { "alias": "apiHost"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "itemActionsDocumentPopover": { "alias": "itemActionsDocumentPopover"; "required": false; }; "placementItemActionsMenu": { "alias": "placementItemActionsMenu"; "required": false; }; "defaultItemActionsMenu": { "alias": "defaultItemActionsMenu"; "required": false; }; "clonedItemPositioning": { "alias": "clonedItemPositioning"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "items": { "alias": "items"; "required": false; }; "initialItems": { "alias": "initialItems"; "required": false; }; "renderers": { "alias": "renderers"; "required": false; }; "itemStates": { "alias": "itemStates"; "required": false; }; "initialItemStates": { "alias": "initialItemStates"; "required": false; }; }, { "luzmoItemGridItemAction": "luzmoItemGridItemAction"; "luzmoItemGridLayoutChanged": "luzmoItemGridLayoutChanged"; "luzmoItemGridReady": "luzmoItemGridReady"; "luzmoItemGridItemStatesChanged": "luzmoItemGridItemStatesChanged"; }, never, ["*"], true, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemGrid, "luzmo-item-grid", ["luzmoItemGrid"], { "appServer": { "alias": "appServer"; "required": false; }; "apiHost": { "alias": "apiHost"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "itemActionsDocumentPopover": { "alias": "itemActionsDocumentPopover"; "required": false; }; "placementItemActionsMenu": { "alias": "placementItemActionsMenu"; "required": false; }; "defaultItemActionsMenu": { "alias": "defaultItemActionsMenu"; "required": false; }; "clonedItemPositioning": { "alias": "clonedItemPositioning"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "items": { "alias": "items"; "required": false; }; "initialItems": { "alias": "initialItems"; "required": false; }; "renderers": { "alias": "renderers"; "required": false; }; "itemStates": { "alias": "itemStates"; "required": false; }; "initialItemStates": { "alias": "initialItemStates"; "required": false; }; }, { "luzmoItemGridItemAction": "luzmoItemGridItemAction"; "luzmoItemGridItemActionHover": "luzmoItemGridItemActionHover"; "luzmoItemGridLayoutChanged": "luzmoItemGridLayoutChanged"; "luzmoItemGridReady": "luzmoItemGridReady"; "luzmoItemGridItemStatesChanged": "luzmoItemGridItemStatesChanged"; }, never, ["*"], true, never>;
|
|
76
78
|
static ngAcceptInputType_viewMode: unknown;
|
|
77
79
|
static ngAcceptInputType_itemActionsDocumentPopover: unknown;
|
|
78
80
|
}
|
|
@@ -57,6 +57,8 @@ export class LuzmoItemGrid {
|
|
|
57
57
|
initialItemStates;
|
|
58
58
|
/** Fired when an item action is performed */
|
|
59
59
|
luzmoItemGridItemAction = output({ alias: 'luzmoItemGridItemAction' });
|
|
60
|
+
/** Bubbles from the item actions menu when the pointer enters an action. The detail has only `action` and `type`, not the item. */
|
|
61
|
+
luzmoItemGridItemActionHover = output({ alias: 'luzmoItemGridItemActionHover' });
|
|
60
62
|
/** Fired when the grid layout is changed */
|
|
61
63
|
luzmoItemGridLayoutChanged = output({ alias: 'luzmoItemGridLayoutChanged' });
|
|
62
64
|
/** Fired when the grid is ready */
|
|
@@ -153,6 +155,10 @@ export class LuzmoItemGrid {
|
|
|
153
155
|
const typed = event;
|
|
154
156
|
this.luzmoItemGridItemAction.emit(typed);
|
|
155
157
|
}));
|
|
158
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-item-grid-item-action-hover', (event) => {
|
|
159
|
+
const typed = event;
|
|
160
|
+
this.luzmoItemGridItemActionHover.emit(typed);
|
|
161
|
+
}));
|
|
156
162
|
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-item-grid-layout-changed', (event) => {
|
|
157
163
|
const typed = event;
|
|
158
164
|
this.luzmoItemGridLayoutChanged.emit(typed);
|
|
@@ -167,7 +173,7 @@ export class LuzmoItemGrid {
|
|
|
167
173
|
}));
|
|
168
174
|
}
|
|
169
175
|
static ɵfac = function LuzmoItemGrid_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemGrid)(); };
|
|
170
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemGrid, selectors: [["luzmo-item-grid"]], inputs: { appServer: "appServer", apiHost: "apiHost", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", language: "language", contentLanguage: "contentLanguage", columns: "columns", rowHeight: "rowHeight", viewMode: [2, "viewMode", "viewMode", booleanAttribute], itemActionsDocumentPopover: [2, "itemActionsDocumentPopover", "itemActionsDocumentPopover", booleanAttribute], placementItemActionsMenu: "placementItemActionsMenu", defaultItemActionsMenu: "defaultItemActionsMenu", clonedItemPositioning: "clonedItemPositioning", theme: "theme", items: "items", initialItems: "initialItems", renderers: "renderers", itemStates: "itemStates", initialItemStates: "initialItemStates" }, outputs: { luzmoItemGridItemAction: "luzmoItemGridItemAction", luzmoItemGridLayoutChanged: "luzmoItemGridLayoutChanged", luzmoItemGridReady: "luzmoItemGridReady", luzmoItemGridItemStatesChanged: "luzmoItemGridItemStatesChanged" }, exportAs: ["luzmoItemGrid"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemGrid_Template(rf, ctx) { if (rf & 1) {
|
|
176
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemGrid, selectors: [["luzmo-item-grid"]], inputs: { appServer: "appServer", apiHost: "apiHost", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", language: "language", contentLanguage: "contentLanguage", columns: "columns", rowHeight: "rowHeight", viewMode: [2, "viewMode", "viewMode", booleanAttribute], itemActionsDocumentPopover: [2, "itemActionsDocumentPopover", "itemActionsDocumentPopover", booleanAttribute], placementItemActionsMenu: "placementItemActionsMenu", defaultItemActionsMenu: "defaultItemActionsMenu", clonedItemPositioning: "clonedItemPositioning", theme: "theme", items: "items", initialItems: "initialItems", renderers: "renderers", itemStates: "itemStates", initialItemStates: "initialItemStates" }, outputs: { luzmoItemGridItemAction: "luzmoItemGridItemAction", luzmoItemGridItemActionHover: "luzmoItemGridItemActionHover", luzmoItemGridLayoutChanged: "luzmoItemGridLayoutChanged", luzmoItemGridReady: "luzmoItemGridReady", luzmoItemGridItemStatesChanged: "luzmoItemGridItemStatesChanged" }, exportAs: ["luzmoItemGrid"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemGrid_Template(rf, ctx) { if (rf & 1) {
|
|
171
177
|
i0.ɵɵprojectionDef();
|
|
172
178
|
i0.ɵɵprojection(0);
|
|
173
179
|
} }, encapsulation: 2 });
|
|
@@ -241,5 +247,5 @@ export class LuzmoItemGrid {
|
|
|
241
247
|
}], initialItemStates: [{
|
|
242
248
|
type: Input,
|
|
243
249
|
args: [{ alias: 'initialItemStates' }]
|
|
244
|
-
}], luzmoItemGridItemAction: [{ type: i0.Output, args: ["luzmoItemGridItemAction"] }], luzmoItemGridLayoutChanged: [{ type: i0.Output, args: ["luzmoItemGridLayoutChanged"] }], luzmoItemGridReady: [{ type: i0.Output, args: ["luzmoItemGridReady"] }], luzmoItemGridItemStatesChanged: [{ type: i0.Output, args: ["luzmoItemGridItemStatesChanged"] }] }); })();
|
|
250
|
+
}], luzmoItemGridItemAction: [{ type: i0.Output, args: ["luzmoItemGridItemAction"] }], luzmoItemGridItemActionHover: [{ type: i0.Output, args: ["luzmoItemGridItemActionHover"] }], luzmoItemGridLayoutChanged: [{ type: i0.Output, args: ["luzmoItemGridLayoutChanged"] }], luzmoItemGridReady: [{ type: i0.Output, args: ["luzmoItemGridReady"] }], luzmoItemGridItemStatesChanged: [{ type: i0.Output, args: ["luzmoItemGridItemStatesChanged"] }] }); })();
|
|
245
251
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemGrid, { className: "LuzmoItemGrid", filePath: "components/item-grid.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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LuzmoAddToDashboard } from './components/add-to-dashboard.js';
|
|
1
2
|
import { LuzmoAiChat } from './components/ai-chat.js';
|
|
2
3
|
import { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
|
|
3
4
|
import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
|
|
@@ -50,7 +51,7 @@ import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
|
50
51
|
import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
51
52
|
import { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
52
53
|
import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
53
|
-
|
|
54
|
+
export { LuzmoAddToDashboard, type LuzmoAddToDashboardElement } from './components/add-to-dashboard.js';
|
|
54
55
|
export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.js';
|
|
55
56
|
export { LuzmoAiChatEmptyState, type LuzmoAiChatEmptyStateElement } from './components/ai-chat-empty-state.js';
|
|
56
57
|
export { LuzmoAiInteractionTextarea, type LuzmoAiInteractionTextareaElement } from './components/ai-interaction-textarea.js';
|
|
@@ -103,7 +104,6 @@ export { LuzmoItemSlotPicker, type LuzmoItemSlotPickerElement } from './componen
|
|
|
103
104
|
export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from './components/item-slot-picker-panel.js';
|
|
104
105
|
export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.js';
|
|
105
106
|
export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.js';
|
|
106
|
-
export
|
|
107
|
-
export declare const
|
|
108
|
-
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["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"];
|
|
109
109
|
export type LuzmoAngularComponentName = (typeof LUZMO_ANGULAR_COMPONENT_NAMES)[number];
|