@luzmo/ngx-analytics-components-kit 1.0.4-beta.2 → 1.0.4
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-empty-state.js +1 -1
- package/esm/components/ai-chat.d.ts +7 -5
- package/esm/components/ai-chat.js +11 -5
- package/esm/components/ai-interaction-textarea.js +1 -1
- package/esm/components/data-field-level.js +1 -1
- package/esm/components/data-field-panel.js +1 -1
- package/esm/components/data-field.js +1 -1
- package/esm/components/data-fields-select.js +1 -1
- package/esm/components/dataset-icon.js +1 -1
- package/esm/components/dataset-selector-list.js +1 -1
- package/esm/components/dataset-selector-row.js +1 -1
- package/esm/components/display-settings-binning.js +1 -1
- package/esm/components/display-settings-datetime.js +1 -1
- package/esm/components/display-settings-grand-totals.js +1 -1
- package/esm/components/display-settings-numeric.js +1 -1
- package/esm/components/display-settings-period-over-period.js +1 -1
- package/esm/components/display-settings.d.ts +15 -4
- package/esm/components/display-settings.js +43 -3
- package/esm/components/filter-expression-picker.js +1 -1
- package/esm/components/filter-item.js +1 -1
- package/esm/components/filter-parameter-picker.js +1 -1
- package/esm/components/filter-value-picker-datetime.js +1 -1
- package/esm/components/filter-value-picker-hierarchy.js +1 -1
- package/esm/components/filter-value-picker-numeric.js +1 -1
- package/esm/components/filter-value-picker.js +1 -1
- package/esm/components/filters.js +1 -1
- package/esm/components/formula-editor.js +1 -1
- package/esm/components/formula-field.js +1 -1
- package/esm/components/formula.js +1 -1
- package/esm/components/interactive-viz-item.d.ts +63 -0
- package/esm/components/interactive-viz-item.js +188 -0
- package/esm/components/item-grid-item-actions-menu.js +1 -1
- package/esm/components/item-grid.js +1 -1
- package/esm/components/item-option-action-button-group.js +1 -1
- package/esm/components/item-option-color-palette-picker.js +1 -1
- package/esm/components/item-option-color-picker.js +1 -1
- package/esm/components/item-option-color-range.js +1 -1
- package/esm/components/item-option-multi-language-field.js +1 -1
- package/esm/components/item-option-number-field.js +1 -1
- package/esm/components/item-option-panel.js +1 -1
- package/esm/components/item-option-picker.js +1 -1
- package/esm/components/item-option-position-picker.js +1 -1
- package/esm/components/item-option-positions-number-field.js +1 -1
- package/esm/components/item-option-radio-button-group.js +1 -1
- package/esm/components/item-option-slider.js +1 -1
- package/esm/components/item-option-switch.js +1 -1
- package/esm/components/item-option-text-field.js +1 -1
- package/esm/components/item-option.js +1 -1
- package/esm/components/item-slot-drop-panel.js +1 -1
- package/esm/components/item-slot-drop.js +1 -1
- package/esm/components/item-slot-picker-panel.js +1 -1
- package/esm/components/item-slot-picker.js +1 -1
- package/esm/components/slot-menu-list.d.ts +8 -3
- package/esm/components/slot-menu-list.js +19 -3
- package/esm/components/slot-menu.d.ts +7 -3
- package/esm/components/slot-menu.js +11 -3
- package/esm/components/viz-item-menu.js +1 -1
- package/esm/index.d.ts +4 -2
- package/esm/index.js +4 -0
- package/package.json +2 -2
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
3
|
+
import type { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemHostElement, ChartFeedback, FlexChartConfig, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type { ChartActionDescriptor, ChartActionType, ChartFeedback, ChartFeedbackRating, ChartMutationRequest, ChartOption, FlexChartConfig, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail, NormalizedChartConfig, Ranking, Sort } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
6
|
+
export declare class LuzmoInteractiveVizItem 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(): LuzmoInteractiveVizItemHostElement;
|
|
14
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
15
|
+
language?: string;
|
|
16
|
+
/** Loose chart config (type, options, slots, filters); slots may use the keyed-object form. */
|
|
17
|
+
chart?: FlexChartConfig | null;
|
|
18
|
+
/** Current feedback (drives the thumbs up/down selection). */
|
|
19
|
+
feedback?: ChartFeedback | null;
|
|
20
|
+
/** Message id from the backend. Feedback is only shown when set. */
|
|
21
|
+
messageId?: string;
|
|
22
|
+
/** Auth key for the embedded chart and config panels. */
|
|
23
|
+
authKey?: string;
|
|
24
|
+
/** Auth token for the embedded chart and config panels. */
|
|
25
|
+
authToken?: string;
|
|
26
|
+
/** API URL for the embedded chart and config panels. */
|
|
27
|
+
apiUrl?: string;
|
|
28
|
+
/** App server URL for the embedded chart (assets, thumbnails). */
|
|
29
|
+
appServer?: string;
|
|
30
|
+
/** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
|
|
31
|
+
contentLanguage?: string;
|
|
32
|
+
/** When present, hides the inline chart actions (ranking, display mode). */
|
|
33
|
+
hideActions?: boolean;
|
|
34
|
+
/** When present, hides the feedback bar. */
|
|
35
|
+
hideFeedback?: boolean;
|
|
36
|
+
/** When present, hides the config-panel toggle and the panel itself. */
|
|
37
|
+
hideConfigPanel?: boolean;
|
|
38
|
+
/** The size of the element */
|
|
39
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
40
|
+
/** Fired when the inline actions (ranking, sort, display mode) change the chart options. */
|
|
41
|
+
readonly luzmoChartOptionsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>>;
|
|
42
|
+
/** Fired when the config panel changes slots, filters, or options (full chart). */
|
|
43
|
+
readonly luzmoChartChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InteractiveVizItemChartChangedEventDetail>>;
|
|
44
|
+
/** Fired when the user changes the thumbs up/down rating. */
|
|
45
|
+
readonly luzmoFeedbackChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>>;
|
|
46
|
+
constructor();
|
|
47
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
/**
|
|
49
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
50
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
51
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
52
|
+
* undefined / null by clearing their bindings.
|
|
53
|
+
*/
|
|
54
|
+
private setHostProperty;
|
|
55
|
+
private bindEvents;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoInteractiveVizItem, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoInteractiveVizItem, "luzmo-interactive-viz-item", ["luzmoInteractiveVizItem"], { "language": { "alias": "language"; "required": false; }; "chart": { "alias": "chart"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hideFeedback": { "alias": "hideFeedback"; "required": false; }; "hideConfigPanel": { "alias": "hideConfigPanel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoChartOptionsChanged": "luzmoChartOptionsChanged"; "luzmoChartChanged": "luzmoChartChanged"; "luzmoFeedbackChanged": "luzmoFeedbackChanged"; }, never, ["*"], true, never>;
|
|
58
|
+
static ngAcceptInputType_hideActions: unknown;
|
|
59
|
+
static ngAcceptInputType_hideFeedback: unknown;
|
|
60
|
+
static ngAcceptInputType_hideConfigPanel: unknown;
|
|
61
|
+
}
|
|
62
|
+
/** The underlying custom element type for LuzmoInteractiveVizItem */
|
|
63
|
+
export type LuzmoInteractiveVizItemElement = LuzmoInteractiveVizItemHostElement;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
+
import '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
const _c0 = ["*"];
|
|
5
|
+
/**
|
|
6
|
+
* Angular wrapper component for <luzmo-interactive-viz-item>
|
|
7
|
+
*
|
|
8
|
+
* @slot chart-actions-extra - Host-injected actions rendered at the end of the inline actions bar (e.g. copy-to-dashboard).
|
|
9
|
+
* @csspart container - The viz item container.
|
|
10
|
+
* @csspart chart-container - The embedded chart wrapper.
|
|
11
|
+
* @csspart config-panel - The expandable configuration panel.
|
|
12
|
+
*/
|
|
13
|
+
export class LuzmoInteractiveVizItem {
|
|
14
|
+
elementRef = inject(ElementRef);
|
|
15
|
+
renderer = inject(Renderer2);
|
|
16
|
+
destroyRef = inject(DestroyRef);
|
|
17
|
+
host = this.elementRef.nativeElement;
|
|
18
|
+
listenerCleanup = [];
|
|
19
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
20
|
+
get nativeElement() {
|
|
21
|
+
return this.host;
|
|
22
|
+
}
|
|
23
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
24
|
+
language;
|
|
25
|
+
/** Loose chart config (type, options, slots, filters); slots may use the keyed-object form. */
|
|
26
|
+
chart;
|
|
27
|
+
/** Current feedback (drives the thumbs up/down selection). */
|
|
28
|
+
feedback;
|
|
29
|
+
/** Message id from the backend. Feedback is only shown when set. */
|
|
30
|
+
messageId;
|
|
31
|
+
/** Auth key for the embedded chart and config panels. */
|
|
32
|
+
authKey;
|
|
33
|
+
/** Auth token for the embedded chart and config panels. */
|
|
34
|
+
authToken;
|
|
35
|
+
/** API URL for the embedded chart and config panels. */
|
|
36
|
+
apiUrl;
|
|
37
|
+
/** App server URL for the embedded chart (assets, thumbnails). */
|
|
38
|
+
appServer;
|
|
39
|
+
/** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
|
|
40
|
+
contentLanguage;
|
|
41
|
+
/** When present, hides the inline chart actions (ranking, display mode). */
|
|
42
|
+
hideActions;
|
|
43
|
+
/** When present, hides the feedback bar. */
|
|
44
|
+
hideFeedback;
|
|
45
|
+
/** When present, hides the config-panel toggle and the panel itself. */
|
|
46
|
+
hideConfigPanel;
|
|
47
|
+
/** The size of the element */
|
|
48
|
+
size;
|
|
49
|
+
/** Fired when the inline actions (ranking, sort, display mode) change the chart options. */
|
|
50
|
+
luzmoChartOptionsChanged = output({ alias: 'luzmoChartOptionsChanged' });
|
|
51
|
+
/** Fired when the config panel changes slots, filters, or options (full chart). */
|
|
52
|
+
luzmoChartChanged = output({ alias: 'luzmoChartChanged' });
|
|
53
|
+
/** Fired when the user changes the thumbs up/down rating. */
|
|
54
|
+
luzmoFeedbackChanged = output({ alias: 'luzmoFeedbackChanged' });
|
|
55
|
+
constructor() {
|
|
56
|
+
this.bindEvents();
|
|
57
|
+
this.destroyRef.onDestroy(() => {
|
|
58
|
+
for (const cleanup of this.listenerCleanup) {
|
|
59
|
+
cleanup();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
ngOnChanges(changes) {
|
|
64
|
+
for (const key of Object.keys(changes)) {
|
|
65
|
+
switch (key) {
|
|
66
|
+
case 'language':
|
|
67
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
68
|
+
break;
|
|
69
|
+
case 'chart':
|
|
70
|
+
this.setHostProperty('chart', changes['chart'].currentValue);
|
|
71
|
+
break;
|
|
72
|
+
case 'feedback':
|
|
73
|
+
this.setHostProperty('feedback', changes['feedback'].currentValue);
|
|
74
|
+
break;
|
|
75
|
+
case 'messageId':
|
|
76
|
+
this.setHostProperty('messageId', changes['messageId'].currentValue);
|
|
77
|
+
break;
|
|
78
|
+
case 'authKey':
|
|
79
|
+
this.setHostProperty('authKey', changes['authKey'].currentValue);
|
|
80
|
+
break;
|
|
81
|
+
case 'authToken':
|
|
82
|
+
this.setHostProperty('authToken', changes['authToken'].currentValue);
|
|
83
|
+
break;
|
|
84
|
+
case 'apiUrl':
|
|
85
|
+
this.setHostProperty('apiUrl', changes['apiUrl'].currentValue);
|
|
86
|
+
break;
|
|
87
|
+
case 'appServer':
|
|
88
|
+
this.setHostProperty('appServer', changes['appServer'].currentValue);
|
|
89
|
+
break;
|
|
90
|
+
case 'contentLanguage':
|
|
91
|
+
this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
|
|
92
|
+
break;
|
|
93
|
+
case 'hideActions':
|
|
94
|
+
this.setHostProperty('hideActions', changes['hideActions'].currentValue);
|
|
95
|
+
break;
|
|
96
|
+
case 'hideFeedback':
|
|
97
|
+
this.setHostProperty('hideFeedback', changes['hideFeedback'].currentValue);
|
|
98
|
+
break;
|
|
99
|
+
case 'hideConfigPanel':
|
|
100
|
+
this.setHostProperty('hideConfigPanel', changes['hideConfigPanel'].currentValue);
|
|
101
|
+
break;
|
|
102
|
+
case 'size':
|
|
103
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
112
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
113
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
114
|
+
* undefined / null by clearing their bindings.
|
|
115
|
+
*/
|
|
116
|
+
setHostProperty(key, value) {
|
|
117
|
+
this.renderer.setProperty(this.host, key, value);
|
|
118
|
+
}
|
|
119
|
+
bindEvents() {
|
|
120
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-chart-options-changed', (event) => {
|
|
121
|
+
const typed = event;
|
|
122
|
+
this.luzmoChartOptionsChanged.emit(typed);
|
|
123
|
+
}));
|
|
124
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-chart-changed', (event) => {
|
|
125
|
+
const typed = event;
|
|
126
|
+
this.luzmoChartChanged.emit(typed);
|
|
127
|
+
}));
|
|
128
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-feedback-changed', (event) => {
|
|
129
|
+
const typed = event;
|
|
130
|
+
this.luzmoFeedbackChanged.emit(typed);
|
|
131
|
+
}));
|
|
132
|
+
}
|
|
133
|
+
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) {
|
|
135
|
+
i0.ɵɵprojectionDef();
|
|
136
|
+
i0.ɵɵprojection(0);
|
|
137
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
138
|
+
}
|
|
139
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoInteractiveVizItem, [{
|
|
140
|
+
type: Component,
|
|
141
|
+
args: [{
|
|
142
|
+
selector: 'luzmo-interactive-viz-item',
|
|
143
|
+
exportAs: 'luzmoInteractiveVizItem',
|
|
144
|
+
standalone: true,
|
|
145
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
146
|
+
template: '<ng-content />'
|
|
147
|
+
}]
|
|
148
|
+
}], () => [], { language: [{
|
|
149
|
+
type: Input,
|
|
150
|
+
args: [{ alias: 'language' }]
|
|
151
|
+
}], chart: [{
|
|
152
|
+
type: Input,
|
|
153
|
+
args: [{ alias: 'chart' }]
|
|
154
|
+
}], feedback: [{
|
|
155
|
+
type: Input,
|
|
156
|
+
args: [{ alias: 'feedback' }]
|
|
157
|
+
}], messageId: [{
|
|
158
|
+
type: Input,
|
|
159
|
+
args: [{ alias: 'messageId' }]
|
|
160
|
+
}], authKey: [{
|
|
161
|
+
type: Input,
|
|
162
|
+
args: [{ alias: 'authKey' }]
|
|
163
|
+
}], authToken: [{
|
|
164
|
+
type: Input,
|
|
165
|
+
args: [{ alias: 'authToken' }]
|
|
166
|
+
}], apiUrl: [{
|
|
167
|
+
type: Input,
|
|
168
|
+
args: [{ alias: 'apiUrl' }]
|
|
169
|
+
}], appServer: [{
|
|
170
|
+
type: Input,
|
|
171
|
+
args: [{ alias: 'appServer' }]
|
|
172
|
+
}], contentLanguage: [{
|
|
173
|
+
type: Input,
|
|
174
|
+
args: [{ alias: 'contentLanguage' }]
|
|
175
|
+
}], hideActions: [{
|
|
176
|
+
type: Input,
|
|
177
|
+
args: [{ alias: 'hideActions', transform: booleanAttribute }]
|
|
178
|
+
}], hideFeedback: [{
|
|
179
|
+
type: Input,
|
|
180
|
+
args: [{ alias: 'hideFeedback', transform: booleanAttribute }]
|
|
181
|
+
}], hideConfigPanel: [{
|
|
182
|
+
type: Input,
|
|
183
|
+
args: [{ alias: 'hideConfigPanel', transform: booleanAttribute }]
|
|
184
|
+
}], size: [{
|
|
185
|
+
type: Input,
|
|
186
|
+
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: 21 }); })();
|
|
@@ -82,7 +82,7 @@ export class LuzmoItemGridItemActionsMenu {
|
|
|
82
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) {
|
|
83
83
|
i0.ɵɵprojectionDef();
|
|
84
84
|
i0.ɵɵprojection(0);
|
|
85
|
-
} }, encapsulation: 2 });
|
|
85
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
86
86
|
}
|
|
87
87
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemGridItemActionsMenu, [{
|
|
88
88
|
type: Component,
|
|
@@ -170,7 +170,7 @@ export class LuzmoItemGrid {
|
|
|
170
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) {
|
|
171
171
|
i0.ɵɵprojectionDef();
|
|
172
172
|
i0.ɵɵprojection(0);
|
|
173
|
-
} }, encapsulation: 2 });
|
|
173
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
174
174
|
}
|
|
175
175
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemGrid, [{
|
|
176
176
|
type: Component,
|
|
@@ -77,7 +77,7 @@ export class LuzmoItemOptionActionButtonGroup {
|
|
|
77
77
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionActionButtonGroup, selectors: [["luzmo-item-option-action-button-group"]], inputs: { values: "values", disabled: [2, "disabled", "disabled", booleanAttribute], selects: "selects", value: "value", default: "default" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionActionButtonGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionActionButtonGroup_Template(rf, ctx) { if (rf & 1) {
|
|
78
78
|
i0.ɵɵprojectionDef();
|
|
79
79
|
i0.ɵɵprojection(0);
|
|
80
|
-
} }, encapsulation: 2 });
|
|
80
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
81
81
|
}
|
|
82
82
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionActionButtonGroup, [{
|
|
83
83
|
type: Component,
|
|
@@ -92,7 +92,7 @@ export class LuzmoItemOptionColorPalettePicker {
|
|
|
92
92
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionColorPalettePicker, selectors: [["luzmo-item-option-color-palette-picker"]], inputs: { value: "value", default: "default", values: "values", disabled: [2, "disabled", "disabled", booleanAttribute], horizontal: [2, "horizontal", "horizontal", booleanAttribute], parseValue: "parseValue", toValue: "toValue", numberOfColors: "numberOfColors" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionColorPalettePicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionColorPalettePicker_Template(rf, ctx) { if (rf & 1) {
|
|
93
93
|
i0.ɵɵprojectionDef();
|
|
94
94
|
i0.ɵɵprojection(0);
|
|
95
|
-
} }, encapsulation: 2 });
|
|
95
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
96
96
|
}
|
|
97
97
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionColorPalettePicker, [{
|
|
98
98
|
type: Component,
|
|
@@ -97,7 +97,7 @@ export class LuzmoItemOptionColorPicker {
|
|
|
97
97
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionColorPicker, selectors: [["luzmo-item-option-color-picker"]], inputs: { swatches: "swatches", rounding: "rounding", shape: "shape", debounce: "debounce", debounceTimeout: "debounceTimeout", value: "value", disabled: [2, "disabled", "disabled", booleanAttribute], noAlphaChannel: [2, "noAlphaChannel", "noAlphaChannel", booleanAttribute], placement: "placement" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionColorPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionColorPicker_Template(rf, ctx) { if (rf & 1) {
|
|
98
98
|
i0.ɵɵprojectionDef();
|
|
99
99
|
i0.ɵɵprojection(0);
|
|
100
|
-
} }, encapsulation: 2 });
|
|
100
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
101
101
|
}
|
|
102
102
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionColorPicker, [{
|
|
103
103
|
type: Component,
|
|
@@ -122,7 +122,7 @@ export class LuzmoItemOptionColorRange {
|
|
|
122
122
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionColorRange, selectors: [["luzmo-item-option-color-range"]], inputs: { value: "value", default: "default", disabled: [2, "disabled", "disabled", booleanAttribute], percentage: [2, "percentage", "percentage", booleanAttribute], noAlphaChannel: [2, "noAlphaChannel", "noAlphaChannel", booleanAttribute], editRangeSize: [2, "editRangeSize", "editRangeSize", booleanAttribute], noValues: [2, "noValues", "noValues", booleanAttribute], minimumRangeSize: "minimumRangeSize", negativeInfinityValue: [2, "negativeInfinityValue", "negativeInfinityValue", booleanAttribute], readOnlyColorPicker: [2, "readOnlyColorPicker", "readOnlyColorPicker", booleanAttribute], reverse: [2, "reverse", "reverse", booleanAttribute], debounce: "debounce", parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionColorRange"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionColorRange_Template(rf, ctx) { if (rf & 1) {
|
|
123
123
|
i0.ɵɵprojectionDef();
|
|
124
124
|
i0.ɵɵprojection(0);
|
|
125
|
-
} }, encapsulation: 2 });
|
|
125
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
126
126
|
}
|
|
127
127
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionColorRange, [{
|
|
128
128
|
type: Component,
|
|
@@ -97,7 +97,7 @@ export class LuzmoItemOptionMultiLanguageField {
|
|
|
97
97
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionMultiLanguageField, selectors: [["luzmo-item-option-multi-language-field"]], inputs: { debounceTimeout: "debounceTimeout", value: "value", invalid: [2, "invalid", "invalid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], language: "language", placeholder: "placeholder", parseValue: "parseValue", toValue: "toValue", debounce: "debounce" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionMultiLanguageField"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionMultiLanguageField_Template(rf, ctx) { if (rf & 1) {
|
|
98
98
|
i0.ɵɵprojectionDef();
|
|
99
99
|
i0.ɵɵprojection(0);
|
|
100
|
-
} }, encapsulation: 2 });
|
|
100
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
101
101
|
}
|
|
102
102
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionMultiLanguageField, [{
|
|
103
103
|
type: Component,
|
|
@@ -117,7 +117,7 @@ export class LuzmoItemOptionNumberField {
|
|
|
117
117
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionNumberField, selectors: [["luzmo-item-option-number-field"]], inputs: { debounce: "debounce", debounceTimeout: "debounceTimeout", disabled: [2, "disabled", "disabled", booleanAttribute], min: "min", max: "max", default: "default", value: "value", placeholder: "placeholder", minWidthInputField: "minWidthInputField", step: "step", unit: [2, "unit", "unit", booleanAttribute], parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionNumberField"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionNumberField_Template(rf, ctx) { if (rf & 1) {
|
|
118
118
|
i0.ɵɵprojectionDef();
|
|
119
119
|
i0.ɵɵprojection(0);
|
|
120
|
-
} }, encapsulation: 2 });
|
|
120
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
121
121
|
}
|
|
122
122
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionNumberField, [{
|
|
123
123
|
type: Component,
|
|
@@ -107,7 +107,7 @@ export class LuzmoItemOptionPanel {
|
|
|
107
107
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionPanel, selectors: [["luzmo-item-option-panel"]], inputs: { language: "language", itemType: "itemType", options: "options", slots: "slots", customOptionsConfiguration: "customOptionsConfiguration", customTranslations: "customTranslations", theme: "theme", size: "size", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken" }, outputs: { luzmoOptionsChanged: "luzmoOptionsChanged" }, exportAs: ["luzmoItemOptionPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionPanel_Template(rf, ctx) { if (rf & 1) {
|
|
108
108
|
i0.ɵɵprojectionDef();
|
|
109
109
|
i0.ɵɵprojection(0);
|
|
110
|
-
} }, encapsulation: 2 });
|
|
110
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
111
111
|
}
|
|
112
112
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionPanel, [{
|
|
113
113
|
type: Component,
|
|
@@ -87,7 +87,7 @@ export class LuzmoItemOptionPicker {
|
|
|
87
87
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionPicker, selectors: [["luzmo-item-option-picker"]], inputs: { values: "values", disabled: [2, "disabled", "disabled", booleanAttribute], placement: "placement", value: "value", parseValue: "parseValue", toValue: "toValue", default: "default" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionPicker_Template(rf, ctx) { if (rf & 1) {
|
|
88
88
|
i0.ɵɵprojectionDef();
|
|
89
89
|
i0.ɵɵprojection(0);
|
|
90
|
-
} }, encapsulation: 2 });
|
|
90
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
91
91
|
}
|
|
92
92
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionPicker, [{
|
|
93
93
|
type: Component,
|
|
@@ -72,7 +72,7 @@ export class LuzmoItemOptionPositionPicker {
|
|
|
72
72
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionPositionPicker, selectors: [["luzmo-item-option-position-picker"]], inputs: { value: "value", default: [0, "defaultPosition", "default"], positions: "positions", readonly: [2, "readonly", "readonly", booleanAttribute] }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionPositionPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionPositionPicker_Template(rf, ctx) { if (rf & 1) {
|
|
73
73
|
i0.ɵɵprojectionDef();
|
|
74
74
|
i0.ɵɵprojection(0);
|
|
75
|
-
} }, encapsulation: 2 });
|
|
75
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
76
76
|
}
|
|
77
77
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionPositionPicker, [{
|
|
78
78
|
type: Component,
|
|
@@ -102,7 +102,7 @@ export class LuzmoItemOptionPositionsNumberField {
|
|
|
102
102
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionPositionsNumberField, selectors: [["luzmo-item-option-positions-number-field"]], inputs: { syncedValue: "syncedValue", debounceTimeout: "debounceTimeout", positions: "positions", values: "values", canSync: [2, "canSync", "canSync", booleanAttribute], positionConfiguration: "positionConfiguration", invalid: [2, "invalid", "invalid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], debounce: "debounce", sync: [2, "sync", "sync", booleanAttribute] }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionPositionsNumberField"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionPositionsNumberField_Template(rf, ctx) { if (rf & 1) {
|
|
103
103
|
i0.ɵɵprojectionDef();
|
|
104
104
|
i0.ɵɵprojection(0);
|
|
105
|
-
} }, encapsulation: 2 });
|
|
105
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
106
106
|
}
|
|
107
107
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionPositionsNumberField, [{
|
|
108
108
|
type: Component,
|
|
@@ -87,7 +87,7 @@ export class LuzmoItemOptionRadioButtonGroup {
|
|
|
87
87
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionRadioButtonGroup, selectors: [["luzmo-item-option-radio-button-group"]], inputs: { debounceTimeout: "debounceTimeout", values: "values", disabled: [2, "disabled", "disabled", booleanAttribute], value: "value", default: "default", parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionRadioButtonGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionRadioButtonGroup_Template(rf, ctx) { if (rf & 1) {
|
|
88
88
|
i0.ɵɵprojectionDef();
|
|
89
89
|
i0.ɵɵprojection(0);
|
|
90
|
-
} }, encapsulation: 2 });
|
|
90
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
91
91
|
}
|
|
92
92
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionRadioButtonGroup, [{
|
|
93
93
|
type: Component,
|
|
@@ -92,7 +92,7 @@ export class LuzmoItemOptionSlider {
|
|
|
92
92
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionSlider, selectors: [["luzmo-item-option-slider"]], inputs: { value: "value", default: "default", min: "min", max: "max", step: "step", debounce: "debounce", parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionSlider"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionSlider_Template(rf, ctx) { if (rf & 1) {
|
|
93
93
|
i0.ɵɵprojectionDef();
|
|
94
94
|
i0.ɵɵprojection(0);
|
|
95
|
-
} }, encapsulation: 2 });
|
|
95
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
96
96
|
}
|
|
97
97
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionSlider, [{
|
|
98
98
|
type: Component,
|
|
@@ -72,7 +72,7 @@ export class LuzmoItemOptionSwitch {
|
|
|
72
72
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionSwitch, selectors: [["luzmo-item-option-switch"]], inputs: { value: [2, "value", "value", booleanAttribute], default: [2, "default", "default", booleanAttribute], parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionSwitch"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionSwitch_Template(rf, ctx) { if (rf & 1) {
|
|
73
73
|
i0.ɵɵprojectionDef();
|
|
74
74
|
i0.ɵɵprojection(0);
|
|
75
|
-
} }, encapsulation: 2 });
|
|
75
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
76
76
|
}
|
|
77
77
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionSwitch, [{
|
|
78
78
|
type: Component,
|
|
@@ -82,7 +82,7 @@ export class LuzmoItemOptionTextField {
|
|
|
82
82
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionTextField, selectors: [["luzmo-item-option-text-field"]], inputs: { debounceTimeout: "debounceTimeout", value: "value", invalid: [2, "invalid", "invalid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], placeholder: "placeholder", debounce: "debounce" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionTextField"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionTextField_Template(rf, ctx) { if (rf & 1) {
|
|
83
83
|
i0.ɵɵprojectionDef();
|
|
84
84
|
i0.ɵɵprojection(0);
|
|
85
|
-
} }, encapsulation: 2 });
|
|
85
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
86
86
|
}
|
|
87
87
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionTextField, [{
|
|
88
88
|
type: Component,
|
|
@@ -117,7 +117,7 @@ export class LuzmoItemOption {
|
|
|
117
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) {
|
|
118
118
|
i0.ɵɵprojectionDef();
|
|
119
119
|
i0.ɵɵprojection(0);
|
|
120
|
-
} }, encapsulation: 2 });
|
|
120
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
121
121
|
}
|
|
122
122
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOption, [{
|
|
123
123
|
type: Component,
|
|
@@ -168,7 +168,7 @@ export class LuzmoItemSlotDropPanel {
|
|
|
168
168
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotDropPanel, selectors: [["luzmo-item-slot-drop-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", positioningConfiguration: "positioningConfiguration", slotsContents: "slotsContents", positioned: [2, "positioned", "positioned", booleanAttribute], dragBoundary: "dragBoundary", slotMenuPlacement: "slotMenuPlacement", hideDelete: [2, "hideDelete", "hideDelete", booleanAttribute], hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], constraintMode: "constraintMode", slotMenuMode: "slotMenuMode", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", slotspanel: [0, "slotsPanel", "slotspanel"], slotsgrid: [0, "slotsGrid", "slotsgrid"], slotcell: [0, "slotCell", "slotcell"], itemslotdrop: [0, "itemSlotDrop", "itemslotdrop"], language: "language", size: "size" }, outputs: { luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged" }, exportAs: ["luzmoItemSlotDropPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotDropPanel_Template(rf, ctx) { if (rf & 1) {
|
|
169
169
|
i0.ɵɵprojectionDef();
|
|
170
170
|
i0.ɵɵprojection(0);
|
|
171
|
-
} }, encapsulation: 2 });
|
|
171
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
172
172
|
}
|
|
173
173
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemSlotDropPanel, [{
|
|
174
174
|
type: Component,
|
|
@@ -161,7 +161,7 @@ export class LuzmoItemSlotDrop {
|
|
|
161
161
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotDrop, selectors: [["luzmo-item-slot-drop"]], inputs: { itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotsContents: "slotsContents", label: "label", contentLanguage: "contentLanguage", dragBoundary: "dragBoundary", rotate: [2, "rotate", "rotate", booleanAttribute], apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", menu: "menu", placement: "placement", hideDelete: [2, "hideDelete", "hideDelete", booleanAttribute], hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], language: "language", size: "size" }, outputs: { luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged", luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotDrop"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotDrop_Template(rf, ctx) { if (rf & 1) {
|
|
162
162
|
i0.ɵɵprojectionDef();
|
|
163
163
|
i0.ɵɵprojection(0);
|
|
164
|
-
} }, encapsulation: 2 });
|
|
164
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
165
165
|
}
|
|
166
166
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemSlotDrop, [{
|
|
167
167
|
type: Component,
|
|
@@ -210,7 +210,7 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
210
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) {
|
|
211
211
|
i0.ɵɵprojectionDef();
|
|
212
212
|
i0.ɵɵprojection(0);
|
|
213
|
-
} }, encapsulation: 2 });
|
|
213
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
214
214
|
}
|
|
215
215
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemSlotPickerPanel, [{
|
|
216
216
|
type: Component,
|
|
@@ -172,7 +172,7 @@ export class LuzmoItemSlotPicker {
|
|
|
172
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) {
|
|
173
173
|
i0.ɵɵprojectionDef();
|
|
174
174
|
i0.ɵɵprojection(0);
|
|
175
|
-
} }, encapsulation: 2 });
|
|
175
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
176
176
|
}
|
|
177
177
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemSlotPicker, [{
|
|
178
178
|
type: Component,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/slot-menu-list';
|
|
3
3
|
import type { LuzmoSlotMenuList as LuzmoSlotMenuListHostElement, SlotListChangedEventDetail } from '@luzmo/analytics-components-kit/slot-menu-list';
|
|
4
|
-
import type {
|
|
4
|
+
import type { SlotContent } from '@luzmo/analytics-components-kit/types';
|
|
5
|
+
import type { SlotName } from '@luzmo/dashboard-contents-types';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export type { SlotListChangedEventDetail } from '@luzmo/analytics-components-kit/slot-menu-list';
|
|
7
8
|
export declare class LuzmoSlotMenuList implements OnChanges {
|
|
@@ -17,7 +18,11 @@ export declare class LuzmoSlotMenuList implements OnChanges {
|
|
|
17
18
|
/** The language to use for locale-aware formatting and labels */
|
|
18
19
|
contentLanguage?: string;
|
|
19
20
|
/** The list of slot contents (columns/formulas) shown in the reorderable list. */
|
|
20
|
-
slotContents?:
|
|
21
|
+
slotContents?: SlotContent[];
|
|
22
|
+
/** The containing slot name used to identify measure calculations. */
|
|
23
|
+
slotName?: SlotName;
|
|
24
|
+
/** The containing slot type used to identify measure calculations. */
|
|
25
|
+
slotType?: string;
|
|
21
26
|
/** Index of the currently active/selected slot content. */
|
|
22
27
|
activeIndex?: number;
|
|
23
28
|
/** The size of the element */
|
|
@@ -35,7 +40,7 @@ export declare class LuzmoSlotMenuList implements OnChanges {
|
|
|
35
40
|
private setHostProperty;
|
|
36
41
|
private bindEvents;
|
|
37
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSlotMenuList, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenuList, "luzmo-slot-menu-list", ["luzmoSlotMenuList"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotListChanged": "luzmoSlotListChanged"; }, never, ["*"], true, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenuList, "luzmo-slot-menu-list", ["luzmoSlotMenuList"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotListChanged": "luzmoSlotListChanged"; }, never, ["*"], true, never>;
|
|
39
44
|
}
|
|
40
45
|
/** The underlying custom element type for LuzmoSlotMenuList */
|
|
41
46
|
export type LuzmoSlotMenuListElement = LuzmoSlotMenuListHostElement;
|
|
@@ -21,6 +21,10 @@ export class LuzmoSlotMenuList {
|
|
|
21
21
|
contentLanguage;
|
|
22
22
|
/** The list of slot contents (columns/formulas) shown in the reorderable list. */
|
|
23
23
|
slotContents;
|
|
24
|
+
/** The containing slot name used to identify measure calculations. */
|
|
25
|
+
slotName;
|
|
26
|
+
/** The containing slot type used to identify measure calculations. */
|
|
27
|
+
slotType;
|
|
24
28
|
/** Index of the currently active/selected slot content. */
|
|
25
29
|
activeIndex;
|
|
26
30
|
/** The size of the element */
|
|
@@ -47,6 +51,12 @@ export class LuzmoSlotMenuList {
|
|
|
47
51
|
case 'slotContents':
|
|
48
52
|
this.setHostProperty('slotContents', changes['slotContents'].currentValue);
|
|
49
53
|
break;
|
|
54
|
+
case 'slotName':
|
|
55
|
+
this.setHostProperty('slotName', changes['slotName'].currentValue);
|
|
56
|
+
break;
|
|
57
|
+
case 'slotType':
|
|
58
|
+
this.setHostProperty('slotType', changes['slotType'].currentValue);
|
|
59
|
+
break;
|
|
50
60
|
case 'activeIndex':
|
|
51
61
|
this.setHostProperty('activeIndex', changes['activeIndex'].currentValue);
|
|
52
62
|
break;
|
|
@@ -74,10 +84,10 @@ export class LuzmoSlotMenuList {
|
|
|
74
84
|
}));
|
|
75
85
|
}
|
|
76
86
|
static ɵfac = function LuzmoSlotMenuList_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSlotMenuList)(); };
|
|
77
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenuList, selectors: [["luzmo-slot-menu-list"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotContents: "slotContents", activeIndex: "activeIndex", size: "size" }, outputs: { luzmoSlotListChanged: "luzmoSlotListChanged" }, exportAs: ["luzmoSlotMenuList"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenuList_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenuList, selectors: [["luzmo-slot-menu-list"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotContents: "slotContents", slotName: "slotName", slotType: "slotType", activeIndex: "activeIndex", size: "size" }, outputs: { luzmoSlotListChanged: "luzmoSlotListChanged" }, exportAs: ["luzmoSlotMenuList"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenuList_Template(rf, ctx) { if (rf & 1) {
|
|
78
88
|
i0.ɵɵprojectionDef();
|
|
79
89
|
i0.ɵɵprojection(0);
|
|
80
|
-
} }, encapsulation: 2 });
|
|
90
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
81
91
|
}
|
|
82
92
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoSlotMenuList, [{
|
|
83
93
|
type: Component,
|
|
@@ -97,6 +107,12 @@ export class LuzmoSlotMenuList {
|
|
|
97
107
|
}], slotContents: [{
|
|
98
108
|
type: Input,
|
|
99
109
|
args: [{ alias: 'slotContents' }]
|
|
110
|
+
}], slotName: [{
|
|
111
|
+
type: Input,
|
|
112
|
+
args: [{ alias: 'slotName' }]
|
|
113
|
+
}], slotType: [{
|
|
114
|
+
type: Input,
|
|
115
|
+
args: [{ alias: 'slotType' }]
|
|
100
116
|
}], activeIndex: [{
|
|
101
117
|
type: Input,
|
|
102
118
|
args: [{ alias: 'activeIndex' }]
|
|
@@ -104,4 +120,4 @@ export class LuzmoSlotMenuList {
|
|
|
104
120
|
type: Input,
|
|
105
121
|
args: [{ alias: 'size' }]
|
|
106
122
|
}], luzmoSlotListChanged: [{ type: i0.Output, args: ["luzmoSlotListChanged"] }] }); })();
|
|
107
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoSlotMenuList, { className: "LuzmoSlotMenuList", filePath: "components/slot-menu-list.ts", lineNumber:
|
|
123
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoSlotMenuList, { className: "LuzmoSlotMenuList", filePath: "components/slot-menu-list.ts", lineNumber: 18 }); })();
|