@luzmo/ngx-analytics-components-kit 1.0.8 → 1.0.9-beta.10

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.
Files changed (66) hide show
  1. package/esm/components/add-to-dashboard.d.ts +48 -0
  2. package/esm/components/add-to-dashboard.js +129 -0
  3. package/esm/components/ai-chat-empty-state.d.ts +41 -0
  4. package/esm/components/ai-chat-empty-state.js +107 -0
  5. package/esm/components/ai-chat.d.ts +149 -0
  6. package/esm/components/ai-chat.js +463 -0
  7. package/esm/components/ai-interaction-textarea.d.ts +108 -0
  8. package/esm/components/ai-interaction-textarea.js +313 -0
  9. package/esm/components/data-field-level.d.ts +50 -0
  10. package/esm/components/data-field-level.js +129 -0
  11. package/esm/components/data-field-panel.d.ts +4 -4
  12. package/esm/components/data-field.d.ts +4 -4
  13. package/esm/components/data-fields-select.d.ts +87 -0
  14. package/esm/components/data-fields-select.js +243 -0
  15. package/esm/components/dataset-icon.d.ts +34 -0
  16. package/esm/components/dataset-icon.js +86 -0
  17. package/esm/components/dataset-selector-list.d.ts +56 -0
  18. package/esm/components/dataset-selector-list.js +155 -0
  19. package/esm/components/dataset-selector-row.d.ts +72 -0
  20. package/esm/components/dataset-selector-row.js +205 -0
  21. package/esm/components/display-settings-binning.d.ts +37 -0
  22. package/esm/components/display-settings-binning.js +91 -0
  23. package/esm/components/display-settings-datetime.d.ts +40 -0
  24. package/esm/components/display-settings-datetime.js +99 -0
  25. package/esm/components/display-settings-grand-totals.d.ts +37 -0
  26. package/esm/components/display-settings-grand-totals.js +91 -0
  27. package/esm/components/display-settings-numeric.d.ts +45 -0
  28. package/esm/components/display-settings-numeric.js +115 -0
  29. package/esm/components/display-settings-period-over-period.d.ts +50 -0
  30. package/esm/components/display-settings-period-over-period.js +123 -0
  31. package/esm/components/display-settings.d.ts +83 -0
  32. package/esm/components/display-settings.js +231 -0
  33. package/esm/components/filter-expression-picker.d.ts +64 -0
  34. package/esm/components/filter-expression-picker.js +179 -0
  35. package/esm/components/filter-item.d.ts +74 -0
  36. package/esm/components/filter-item.js +222 -0
  37. package/esm/components/filter-parameter-picker.d.ts +56 -0
  38. package/esm/components/filter-parameter-picker.js +151 -0
  39. package/esm/components/filter-value-picker-datetime.d.ts +47 -0
  40. package/esm/components/filter-value-picker-datetime.js +131 -0
  41. package/esm/components/filter-value-picker-hierarchy.d.ts +53 -0
  42. package/esm/components/filter-value-picker-hierarchy.js +155 -0
  43. package/esm/components/filter-value-picker-numeric.d.ts +53 -0
  44. package/esm/components/filter-value-picker-numeric.js +155 -0
  45. package/esm/components/filter-value-picker.d.ts +57 -0
  46. package/esm/components/filter-value-picker.js +171 -0
  47. package/esm/components/filters.d.ts +14 -4
  48. package/esm/components/filters.js +39 -3
  49. package/esm/components/formula-editor.d.ts +1 -0
  50. package/esm/components/formula-editor.js +1 -1
  51. package/esm/components/formula-field.d.ts +70 -0
  52. package/esm/components/formula-field.js +209 -0
  53. package/esm/components/interactive-viz-item.d.ts +76 -0
  54. package/esm/components/interactive-viz-item.js +224 -0
  55. package/esm/components/item-grid-item-actions-menu.d.ts +10 -8
  56. package/esm/components/item-grid-item-actions-menu.js +12 -6
  57. package/esm/components/item-grid.d.ts +5 -3
  58. package/esm/components/item-grid.js +8 -2
  59. package/esm/components/item-slot-drop.d.ts +5 -5
  60. package/esm/components/slot-menu-list.d.ts +46 -0
  61. package/esm/components/slot-menu-list.js +123 -0
  62. package/esm/components/slot-menu.d.ts +104 -0
  63. package/esm/components/slot-menu.js +300 -0
  64. package/esm/index.d.ts +54 -2
  65. package/esm/index.js +106 -2
  66. package/package.json +2 -2
@@ -0,0 +1,300 @@
1
+ import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
2
+ import '@luzmo/analytics-components-kit/slot-menu';
3
+ import * as i0 from "@angular/core";
4
+ const _c0 = ["*"];
5
+ /**
6
+ * Angular wrapper component for <luzmo-slot-menu>
7
+ */
8
+ export class LuzmoSlotMenu {
9
+ elementRef = inject(ElementRef);
10
+ renderer = inject(Renderer2);
11
+ destroyRef = inject(DestroyRef);
12
+ host = this.elementRef.nativeElement;
13
+ listenerCleanup = [];
14
+ /** The underlying custom element instance. Use to call imperative methods. */
15
+ get nativeElement() {
16
+ return this.host;
17
+ }
18
+ /** The language of the settings interface */
19
+ language;
20
+ /** The language to use for locale-aware formatting and labels */
21
+ contentLanguage;
22
+ /** The slot type */
23
+ slotType;
24
+ /** The name of the slot being edited. */
25
+ slotName;
26
+ /** The visualization item type that provides slot and option configuration. */
27
+ itemType;
28
+ /** Whether to show the drag handle and allow dragging */
29
+ noDrag;
30
+ /** Whether to show the close button */
31
+ noClose;
32
+ /** The variant to show */
33
+ variant;
34
+ /** Whether to show the top menu label & delete button */
35
+ noTopMenuLabel;
36
+ /** CSS selector for the boundary element that constrains dragging of the menu. */
37
+ dragBoundary;
38
+ /** Whether grand-totals options are available for this slot. */
39
+ areGrandTotalsEnabled;
40
+ /** Whether datetime display options are available for this slot. */
41
+ areDatetimeOptionsEnabled;
42
+ /** Whether numeric binning options are hidden for this slot. */
43
+ isBinningDisabled;
44
+ /** Whether aggregation options are hidden for this slot. */
45
+ isAggregationDisabled;
46
+ /** Whether cumulative-sum options are available for this slot. */
47
+ isCumulativeSumEnabled;
48
+ /** The contents (columns/formulas) assigned to this slot. */
49
+ slotContents;
50
+ /** Measure columns available for rate aggregation. */
51
+ measureColumns;
52
+ /** (Optional) If you only want to display a specific content of a slot, you can set the slotIndex to the index of the content you want to display. */
53
+ slotIndex;
54
+ /** Reference to the rendered display-settings element. */
55
+ displaySettingsElement;
56
+ /** Reference to the rendered slot-menu-list element. */
57
+ slotMenuListElement;
58
+ /** The API URL of the databroker */
59
+ apiUrl;
60
+ /** The auth key of the databroker */
61
+ authKey;
62
+ /** The auth token of the databroker */
63
+ authToken;
64
+ /** Datasets used to resolve column names in ad-hoc calculation previews. */
65
+ datasetsDataFields;
66
+ /** The size of the element */
67
+ size;
68
+ /** Emitted when the slot contents change */
69
+ luzmoSlotContentsChanged = output({ alias: 'luzmoSlotContentsChanged' });
70
+ /** Emitted when the slot menu is closed */
71
+ luzmoClose = output({ alias: 'luzmoClose' });
72
+ /** Emitted when the slot menu becomes active for a dataset */
73
+ luzmoSlotMenuActive = output({ alias: 'luzmoSlotMenuActive' });
74
+ /** Emitted to highlight a column or formula in the slot menu */
75
+ luzmoSlotMenuHighlight = output({ alias: 'luzmoSlotMenuHighlight' });
76
+ /** Emitted when the menu becomes inactive. */
77
+ luzmoSlotMenuInactive = output({ alias: 'luzmoSlotMenuInactive' });
78
+ /** Event that is fired when the info button is clicked in display-settings, includes the visibility state and ID values */
79
+ luzmoInfoVisibilityChanged = output({ alias: 'luzmoInfoVisibilityChanged' });
80
+ constructor() {
81
+ this.bindEvents();
82
+ this.destroyRef.onDestroy(() => {
83
+ for (const cleanup of this.listenerCleanup) {
84
+ cleanup();
85
+ }
86
+ });
87
+ }
88
+ ngOnChanges(changes) {
89
+ for (const key of Object.keys(changes)) {
90
+ switch (key) {
91
+ case 'language':
92
+ this.setHostProperty('language', changes['language'].currentValue);
93
+ break;
94
+ case 'contentLanguage':
95
+ this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
96
+ break;
97
+ case 'slotType':
98
+ this.setHostProperty('slotType', changes['slotType'].currentValue);
99
+ break;
100
+ case 'slotName':
101
+ this.setHostProperty('slotName', changes['slotName'].currentValue);
102
+ break;
103
+ case 'itemType':
104
+ this.setHostProperty('itemType', changes['itemType'].currentValue);
105
+ break;
106
+ case 'noDrag':
107
+ this.setHostProperty('noDrag', changes['noDrag'].currentValue);
108
+ break;
109
+ case 'noClose':
110
+ this.setHostProperty('noClose', changes['noClose'].currentValue);
111
+ break;
112
+ case 'variant':
113
+ this.setHostProperty('variant', changes['variant'].currentValue);
114
+ break;
115
+ case 'noTopMenuLabel':
116
+ this.setHostProperty('noTopMenuLabel', changes['noTopMenuLabel'].currentValue);
117
+ break;
118
+ case 'dragBoundary':
119
+ this.setHostProperty('dragBoundary', changes['dragBoundary'].currentValue);
120
+ break;
121
+ case 'areGrandTotalsEnabled':
122
+ this.setHostProperty('areGrandTotalsEnabled', changes['areGrandTotalsEnabled'].currentValue);
123
+ break;
124
+ case 'areDatetimeOptionsEnabled':
125
+ this.setHostProperty('areDatetimeOptionsEnabled', changes['areDatetimeOptionsEnabled'].currentValue);
126
+ break;
127
+ case 'isBinningDisabled':
128
+ this.setHostProperty('isBinningDisabled', changes['isBinningDisabled'].currentValue);
129
+ break;
130
+ case 'isAggregationDisabled':
131
+ this.setHostProperty('isAggregationDisabled', changes['isAggregationDisabled'].currentValue);
132
+ break;
133
+ case 'isCumulativeSumEnabled':
134
+ this.setHostProperty('isCumulativeSumEnabled', changes['isCumulativeSumEnabled'].currentValue);
135
+ break;
136
+ case 'slotContents':
137
+ this.setHostProperty('slotContents', changes['slotContents'].currentValue);
138
+ break;
139
+ case 'measureColumns':
140
+ this.setHostProperty('measureColumns', changes['measureColumns'].currentValue);
141
+ break;
142
+ case 'slotIndex':
143
+ this.setHostProperty('slotIndex', changes['slotIndex'].currentValue);
144
+ break;
145
+ case 'displaySettingsElement':
146
+ this.setHostProperty('displaySettingsElement', changes['displaySettingsElement'].currentValue);
147
+ break;
148
+ case 'slotMenuListElement':
149
+ this.setHostProperty('slotMenuListElement', changes['slotMenuListElement'].currentValue);
150
+ break;
151
+ case 'apiUrl':
152
+ this.setHostProperty('apiUrl', changes['apiUrl'].currentValue);
153
+ break;
154
+ case 'authKey':
155
+ this.setHostProperty('authKey', changes['authKey'].currentValue);
156
+ break;
157
+ case 'authToken':
158
+ this.setHostProperty('authToken', changes['authToken'].currentValue);
159
+ break;
160
+ case 'datasetsDataFields':
161
+ this.setHostProperty('datasetsDataFields', changes['datasetsDataFields'].currentValue);
162
+ break;
163
+ case 'size':
164
+ this.setHostProperty('size', changes['size'].currentValue);
165
+ break;
166
+ default:
167
+ break;
168
+ }
169
+ }
170
+ }
171
+ /**
172
+ * Forward a wrapper @Input to the underlying host element via Renderer2 so
173
+ * the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
174
+ * Unlike a "skip undefined" guard, this lets consumers reset values back to
175
+ * undefined / null by clearing their bindings.
176
+ */
177
+ setHostProperty(key, value) {
178
+ this.renderer.setProperty(this.host, key, value);
179
+ }
180
+ bindEvents() {
181
+ this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-slot-contents-changed', (event) => {
182
+ const typed = event;
183
+ this.luzmoSlotContentsChanged.emit(typed);
184
+ }));
185
+ this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-close', (event) => {
186
+ const typed = event;
187
+ this.luzmoClose.emit(typed);
188
+ }));
189
+ this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-slot-menu-active', (event) => {
190
+ const typed = event;
191
+ this.luzmoSlotMenuActive.emit(typed);
192
+ }));
193
+ this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-slot-menu-highlight', (event) => {
194
+ const typed = event;
195
+ this.luzmoSlotMenuHighlight.emit(typed);
196
+ }));
197
+ this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-slot-menu-inactive', (event) => {
198
+ const typed = event;
199
+ this.luzmoSlotMenuInactive.emit(typed);
200
+ }));
201
+ this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-info-visibility-changed', (event) => {
202
+ const typed = event;
203
+ this.luzmoInfoVisibilityChanged.emit(typed);
204
+ }));
205
+ }
206
+ close() {
207
+ return this.host.close();
208
+ }
209
+ 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) {
211
+ i0.ɵɵprojectionDef();
212
+ i0.ɵɵprojection(0);
213
+ } }, encapsulation: 2 });
214
+ }
215
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoSlotMenu, [{
216
+ type: Component,
217
+ args: [{
218
+ selector: 'luzmo-slot-menu',
219
+ exportAs: 'luzmoSlotMenu',
220
+ standalone: true,
221
+ changeDetection: ChangeDetectionStrategy.OnPush,
222
+ template: '<ng-content />'
223
+ }]
224
+ }], () => [], { language: [{
225
+ type: Input,
226
+ args: [{ alias: 'language' }]
227
+ }], contentLanguage: [{
228
+ type: Input,
229
+ args: [{ alias: 'contentLanguage' }]
230
+ }], slotType: [{
231
+ type: Input,
232
+ args: [{ alias: 'slotType' }]
233
+ }], slotName: [{
234
+ type: Input,
235
+ args: [{ alias: 'slotName' }]
236
+ }], itemType: [{
237
+ type: Input,
238
+ args: [{ alias: 'itemType' }]
239
+ }], noDrag: [{
240
+ type: Input,
241
+ args: [{ alias: 'noDrag', transform: booleanAttribute }]
242
+ }], noClose: [{
243
+ type: Input,
244
+ args: [{ alias: 'noClose', transform: booleanAttribute }]
245
+ }], variant: [{
246
+ type: Input,
247
+ args: [{ alias: 'variant' }]
248
+ }], noTopMenuLabel: [{
249
+ type: Input,
250
+ args: [{ alias: 'noTopMenuLabel', transform: booleanAttribute }]
251
+ }], dragBoundary: [{
252
+ type: Input,
253
+ args: [{ alias: 'dragBoundary' }]
254
+ }], areGrandTotalsEnabled: [{
255
+ type: Input,
256
+ args: [{ alias: 'areGrandTotalsEnabled', transform: booleanAttribute }]
257
+ }], areDatetimeOptionsEnabled: [{
258
+ type: Input,
259
+ args: [{ alias: 'areDatetimeOptionsEnabled', transform: booleanAttribute }]
260
+ }], isBinningDisabled: [{
261
+ type: Input,
262
+ args: [{ alias: 'isBinningDisabled', transform: booleanAttribute }]
263
+ }], isAggregationDisabled: [{
264
+ type: Input,
265
+ args: [{ alias: 'isAggregationDisabled', transform: booleanAttribute }]
266
+ }], isCumulativeSumEnabled: [{
267
+ type: Input,
268
+ args: [{ alias: 'isCumulativeSumEnabled', transform: booleanAttribute }]
269
+ }], slotContents: [{
270
+ type: Input,
271
+ args: [{ alias: 'slotContents' }]
272
+ }], measureColumns: [{
273
+ type: Input,
274
+ args: [{ alias: 'measureColumns' }]
275
+ }], slotIndex: [{
276
+ type: Input,
277
+ args: [{ alias: 'slotIndex' }]
278
+ }], displaySettingsElement: [{
279
+ type: Input,
280
+ args: [{ alias: 'displaySettingsElement' }]
281
+ }], slotMenuListElement: [{
282
+ type: Input,
283
+ args: [{ alias: 'slotMenuListElement' }]
284
+ }], apiUrl: [{
285
+ type: Input,
286
+ args: [{ alias: 'apiUrl' }]
287
+ }], authKey: [{
288
+ type: Input,
289
+ args: [{ alias: 'authKey' }]
290
+ }], authToken: [{
291
+ type: Input,
292
+ args: [{ alias: 'authToken' }]
293
+ }], datasetsDataFields: [{
294
+ type: Input,
295
+ args: [{ alias: 'datasetsDataFields' }]
296
+ }], size: [{
297
+ type: Input,
298
+ args: [{ alias: 'size' }]
299
+ }], luzmoSlotContentsChanged: [{ type: i0.Output, args: ["luzmoSlotContentsChanged"] }], luzmoClose: [{ type: i0.Output, args: ["luzmoClose"] }], luzmoSlotMenuActive: [{ type: i0.Output, args: ["luzmoSlotMenuActive"] }], luzmoSlotMenuHighlight: [{ type: i0.Output, args: ["luzmoSlotMenuHighlight"] }], luzmoSlotMenuInactive: [{ type: i0.Output, args: ["luzmoSlotMenuInactive"] }], luzmoInfoVisibilityChanged: [{ type: i0.Output, args: ["luzmoInfoVisibilityChanged"] }] }); })();
300
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoSlotMenu, { className: "LuzmoSlotMenu", filePath: "components/slot-menu.ts", lineNumber: 21 }); })();
package/esm/index.d.ts CHANGED
@@ -1,8 +1,32 @@
1
+ import { LuzmoAddToDashboard } from './components/add-to-dashboard.js';
2
+ import { LuzmoAiChat } from './components/ai-chat.js';
3
+ import { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
4
+ import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
1
5
  import { LuzmoDataField } from './components/data-field.js';
6
+ import { LuzmoDataFieldLevel } from './components/data-field-level.js';
2
7
  import { LuzmoDataFieldPanel } from './components/data-field-panel.js';
8
+ import { LuzmoDataFieldsSelect } from './components/data-fields-select.js';
9
+ import { LuzmoDatasetIcon } from './components/dataset-icon.js';
10
+ import { LuzmoDatasetSelectorList } from './components/dataset-selector-list.js';
11
+ import { LuzmoDatasetSelectorRow } from './components/dataset-selector-row.js';
12
+ import { LuzmoDisplaySettings } from './components/display-settings.js';
13
+ import { LuzmoDisplaySettingsBinning } from './components/display-settings-binning.js';
14
+ import { LuzmoDisplaySettingsDatetime } from './components/display-settings-datetime.js';
15
+ import { LuzmoDisplaySettingsGrandTotals } from './components/display-settings-grand-totals.js';
16
+ import { LuzmoDisplaySettingsNumeric } from './components/display-settings-numeric.js';
17
+ import { LuzmoDisplaySettingsPeriodOverPeriod } from './components/display-settings-period-over-period.js';
18
+ import { LuzmoFilterExpressionPicker } from './components/filter-expression-picker.js';
19
+ import { LuzmoFilterItem } from './components/filter-item.js';
20
+ import { LuzmoFilterParameterPicker } from './components/filter-parameter-picker.js';
21
+ import { LuzmoFilterValuePicker } from './components/filter-value-picker.js';
22
+ import { LuzmoFilterValuePickerDatetime } from './components/filter-value-picker-datetime.js';
23
+ import { LuzmoFilterValuePickerHierarchy } from './components/filter-value-picker-hierarchy.js';
24
+ import { LuzmoFilterValuePickerNumeric } from './components/filter-value-picker-numeric.js';
3
25
  import { LuzmoFilters } from './components/filters.js';
4
26
  import { LuzmoFormula } from './components/formula.js';
5
27
  import { LuzmoFormulaEditor } from './components/formula-editor.js';
28
+ import { LuzmoFormulaField } from './components/formula-field.js';
29
+ import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
6
30
  import { LuzmoItemGrid } from './components/item-grid.js';
7
31
  import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
8
32
  import { LuzmoItemOption } from './components/item-option.js';
@@ -25,11 +49,37 @@ import { LuzmoItemSlotDrop } from './components/item-slot-drop.js';
25
49
  import { LuzmoItemSlotDropPanel } from './components/item-slot-drop-panel.js';
26
50
  import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
27
51
  import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
52
+ import { LuzmoSlotMenu } from './components/slot-menu.js';
53
+ import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
54
+ export { LuzmoAddToDashboard, type LuzmoAddToDashboardElement } from './components/add-to-dashboard.js';
55
+ export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.js';
56
+ export { LuzmoAiChatEmptyState, type LuzmoAiChatEmptyStateElement } from './components/ai-chat-empty-state.js';
57
+ export { LuzmoAiInteractionTextarea, type LuzmoAiInteractionTextareaElement } from './components/ai-interaction-textarea.js';
28
58
  export { LuzmoDataField, type LuzmoDataFieldElement } from './components/data-field.js';
59
+ export { LuzmoDataFieldLevel, type LuzmoDataFieldLevelElement } from './components/data-field-level.js';
29
60
  export { LuzmoDataFieldPanel, type LuzmoDataFieldPanelElement } from './components/data-field-panel.js';
61
+ export { LuzmoDataFieldsSelect, type LuzmoDataFieldsSelectElement } from './components/data-fields-select.js';
62
+ export { LuzmoDatasetIcon, type LuzmoDatasetIconElement } from './components/dataset-icon.js';
63
+ export { LuzmoDatasetSelectorList, type LuzmoDatasetSelectorListElement } from './components/dataset-selector-list.js';
64
+ export { LuzmoDatasetSelectorRow, type LuzmoDatasetSelectorRowElement } from './components/dataset-selector-row.js';
65
+ export { LuzmoDisplaySettings, type LuzmoDisplaySettingsElement } from './components/display-settings.js';
66
+ export { LuzmoDisplaySettingsBinning, type LuzmoDisplaySettingsBinningElement } from './components/display-settings-binning.js';
67
+ export { LuzmoDisplaySettingsDatetime, type LuzmoDisplaySettingsDatetimeElement } from './components/display-settings-datetime.js';
68
+ export { LuzmoDisplaySettingsGrandTotals, type LuzmoDisplaySettingsGrandTotalsElement } from './components/display-settings-grand-totals.js';
69
+ export { LuzmoDisplaySettingsNumeric, type LuzmoDisplaySettingsNumericElement } from './components/display-settings-numeric.js';
70
+ export { LuzmoDisplaySettingsPeriodOverPeriod, type LuzmoDisplaySettingsPeriodOverPeriodElement } from './components/display-settings-period-over-period.js';
71
+ export { LuzmoFilterExpressionPicker, type LuzmoFilterExpressionPickerElement } from './components/filter-expression-picker.js';
72
+ export { LuzmoFilterItem, type LuzmoFilterItemElement } from './components/filter-item.js';
73
+ export { LuzmoFilterParameterPicker, type LuzmoFilterParameterPickerElement } from './components/filter-parameter-picker.js';
74
+ export { LuzmoFilterValuePicker, type LuzmoFilterValuePickerElement } from './components/filter-value-picker.js';
75
+ export { LuzmoFilterValuePickerDatetime, type LuzmoFilterValuePickerDatetimeElement } from './components/filter-value-picker-datetime.js';
76
+ export { LuzmoFilterValuePickerHierarchy, type LuzmoFilterValuePickerHierarchyElement } from './components/filter-value-picker-hierarchy.js';
77
+ export { LuzmoFilterValuePickerNumeric, type LuzmoFilterValuePickerNumericElement } from './components/filter-value-picker-numeric.js';
30
78
  export { LuzmoFilters, type LuzmoFiltersElement } from './components/filters.js';
31
79
  export { LuzmoFormula, type LuzmoFormulaElement } from './components/formula.js';
32
80
  export { LuzmoFormulaEditor, type LuzmoFormulaEditorElement } from './components/formula-editor.js';
81
+ export { LuzmoFormulaField, type LuzmoFormulaFieldElement } from './components/formula-field.js';
82
+ export { LuzmoInteractiveVizItem, type LuzmoInteractiveVizItemElement } from './components/interactive-viz-item.js';
33
83
  export { LuzmoItemGrid, type LuzmoItemGridElement } from './components/item-grid.js';
34
84
  export { LuzmoItemGridItemActionsMenu, type LuzmoItemGridItemActionsMenuElement } from './components/item-grid-item-actions-menu.js';
35
85
  export { LuzmoItemOption, type LuzmoItemOptionElement } from './components/item-option.js';
@@ -52,6 +102,8 @@ export { LuzmoItemSlotDrop, type LuzmoItemSlotDropElement } from './components/i
52
102
  export { LuzmoItemSlotDropPanel, type LuzmoItemSlotDropPanelElement } from './components/item-slot-drop-panel.js';
53
103
  export { LuzmoItemSlotPicker, type LuzmoItemSlotPickerElement } from './components/item-slot-picker.js';
54
104
  export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from './components/item-slot-picker-panel.js';
55
- export declare const LUZMO_ANGULAR_COMPONENTS: readonly [typeof LuzmoDataField, typeof LuzmoDataFieldPanel, typeof LuzmoFilters, typeof LuzmoFormula, typeof LuzmoFormulaEditor, 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];
56
- export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoDataField", "LuzmoDataFieldPanel", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel"];
105
+ export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.js';
106
+ export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.js';
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"];
57
109
  export type LuzmoAngularComponentName = (typeof LUZMO_ANGULAR_COMPONENT_NAMES)[number];
package/esm/index.js CHANGED
@@ -1,9 +1,33 @@
1
1
  // Auto-generated Angular wrappers
2
+ import { LuzmoAddToDashboard } from './components/add-to-dashboard.js';
3
+ import { LuzmoAiChat } from './components/ai-chat.js';
4
+ import { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
5
+ import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
2
6
  import { LuzmoDataField } from './components/data-field.js';
7
+ import { LuzmoDataFieldLevel } from './components/data-field-level.js';
3
8
  import { LuzmoDataFieldPanel } from './components/data-field-panel.js';
9
+ import { LuzmoDataFieldsSelect } from './components/data-fields-select.js';
10
+ import { LuzmoDatasetIcon } from './components/dataset-icon.js';
11
+ import { LuzmoDatasetSelectorList } from './components/dataset-selector-list.js';
12
+ import { LuzmoDatasetSelectorRow } from './components/dataset-selector-row.js';
13
+ import { LuzmoDisplaySettings } from './components/display-settings.js';
14
+ import { LuzmoDisplaySettingsBinning } from './components/display-settings-binning.js';
15
+ import { LuzmoDisplaySettingsDatetime } from './components/display-settings-datetime.js';
16
+ import { LuzmoDisplaySettingsGrandTotals } from './components/display-settings-grand-totals.js';
17
+ import { LuzmoDisplaySettingsNumeric } from './components/display-settings-numeric.js';
18
+ import { LuzmoDisplaySettingsPeriodOverPeriod } from './components/display-settings-period-over-period.js';
19
+ import { LuzmoFilterExpressionPicker } from './components/filter-expression-picker.js';
20
+ import { LuzmoFilterItem } from './components/filter-item.js';
21
+ import { LuzmoFilterParameterPicker } from './components/filter-parameter-picker.js';
22
+ import { LuzmoFilterValuePicker } from './components/filter-value-picker.js';
23
+ import { LuzmoFilterValuePickerDatetime } from './components/filter-value-picker-datetime.js';
24
+ import { LuzmoFilterValuePickerHierarchy } from './components/filter-value-picker-hierarchy.js';
25
+ import { LuzmoFilterValuePickerNumeric } from './components/filter-value-picker-numeric.js';
4
26
  import { LuzmoFilters } from './components/filters.js';
5
27
  import { LuzmoFormula } from './components/formula.js';
6
28
  import { LuzmoFormulaEditor } from './components/formula-editor.js';
29
+ import { LuzmoFormulaField } from './components/formula-field.js';
30
+ import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
7
31
  import { LuzmoItemGrid } from './components/item-grid.js';
8
32
  import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
9
33
  import { LuzmoItemOption } from './components/item-option.js';
@@ -26,11 +50,37 @@ import { LuzmoItemSlotDrop } from './components/item-slot-drop.js';
26
50
  import { LuzmoItemSlotDropPanel } from './components/item-slot-drop-panel.js';
27
51
  import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
28
52
  import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
53
+ import { LuzmoSlotMenu } from './components/slot-menu.js';
54
+ import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
55
+ export { LuzmoAddToDashboard } from './components/add-to-dashboard.js';
56
+ export { LuzmoAiChat } from './components/ai-chat.js';
57
+ export { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
58
+ export { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
29
59
  export { LuzmoDataField } from './components/data-field.js';
60
+ export { LuzmoDataFieldLevel } from './components/data-field-level.js';
30
61
  export { LuzmoDataFieldPanel } from './components/data-field-panel.js';
62
+ export { LuzmoDataFieldsSelect } from './components/data-fields-select.js';
63
+ export { LuzmoDatasetIcon } from './components/dataset-icon.js';
64
+ export { LuzmoDatasetSelectorList } from './components/dataset-selector-list.js';
65
+ export { LuzmoDatasetSelectorRow } from './components/dataset-selector-row.js';
66
+ export { LuzmoDisplaySettings } from './components/display-settings.js';
67
+ export { LuzmoDisplaySettingsBinning } from './components/display-settings-binning.js';
68
+ export { LuzmoDisplaySettingsDatetime } from './components/display-settings-datetime.js';
69
+ export { LuzmoDisplaySettingsGrandTotals } from './components/display-settings-grand-totals.js';
70
+ export { LuzmoDisplaySettingsNumeric } from './components/display-settings-numeric.js';
71
+ export { LuzmoDisplaySettingsPeriodOverPeriod } from './components/display-settings-period-over-period.js';
72
+ export { LuzmoFilterExpressionPicker } from './components/filter-expression-picker.js';
73
+ export { LuzmoFilterItem } from './components/filter-item.js';
74
+ export { LuzmoFilterParameterPicker } from './components/filter-parameter-picker.js';
75
+ export { LuzmoFilterValuePicker } from './components/filter-value-picker.js';
76
+ export { LuzmoFilterValuePickerDatetime } from './components/filter-value-picker-datetime.js';
77
+ export { LuzmoFilterValuePickerHierarchy } from './components/filter-value-picker-hierarchy.js';
78
+ export { LuzmoFilterValuePickerNumeric } from './components/filter-value-picker-numeric.js';
31
79
  export { LuzmoFilters } from './components/filters.js';
32
80
  export { LuzmoFormula } from './components/formula.js';
33
81
  export { LuzmoFormulaEditor } from './components/formula-editor.js';
82
+ export { LuzmoFormulaField } from './components/formula-field.js';
83
+ export { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
34
84
  export { LuzmoItemGrid } from './components/item-grid.js';
35
85
  export { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
36
86
  export { LuzmoItemOption } from './components/item-option.js';
@@ -53,12 +103,38 @@ export { LuzmoItemSlotDrop } from './components/item-slot-drop.js';
53
103
  export { LuzmoItemSlotDropPanel } from './components/item-slot-drop-panel.js';
54
104
  export { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
55
105
  export { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
106
+ export { LuzmoSlotMenu } from './components/slot-menu.js';
107
+ export { LuzmoSlotMenuList } from './components/slot-menu-list.js';
56
108
  export const LUZMO_ANGULAR_COMPONENTS = [
109
+ LuzmoAddToDashboard,
110
+ LuzmoAiChat,
111
+ LuzmoAiChatEmptyState,
112
+ LuzmoAiInteractionTextarea,
57
113
  LuzmoDataField,
114
+ LuzmoDataFieldLevel,
58
115
  LuzmoDataFieldPanel,
116
+ LuzmoDataFieldsSelect,
117
+ LuzmoDatasetIcon,
118
+ LuzmoDatasetSelectorList,
119
+ LuzmoDatasetSelectorRow,
120
+ LuzmoDisplaySettings,
121
+ LuzmoDisplaySettingsBinning,
122
+ LuzmoDisplaySettingsDatetime,
123
+ LuzmoDisplaySettingsGrandTotals,
124
+ LuzmoDisplaySettingsNumeric,
125
+ LuzmoDisplaySettingsPeriodOverPeriod,
126
+ LuzmoFilterExpressionPicker,
127
+ LuzmoFilterItem,
128
+ LuzmoFilterParameterPicker,
129
+ LuzmoFilterValuePicker,
130
+ LuzmoFilterValuePickerDatetime,
131
+ LuzmoFilterValuePickerHierarchy,
132
+ LuzmoFilterValuePickerNumeric,
59
133
  LuzmoFilters,
60
134
  LuzmoFormula,
61
135
  LuzmoFormulaEditor,
136
+ LuzmoFormulaField,
137
+ LuzmoInteractiveVizItem,
62
138
  LuzmoItemGrid,
63
139
  LuzmoItemGridItemActionsMenu,
64
140
  LuzmoItemOption,
@@ -80,14 +156,40 @@ export const LUZMO_ANGULAR_COMPONENTS = [
80
156
  LuzmoItemSlotDrop,
81
157
  LuzmoItemSlotDropPanel,
82
158
  LuzmoItemSlotPicker,
83
- LuzmoItemSlotPickerPanel
159
+ LuzmoItemSlotPickerPanel,
160
+ LuzmoSlotMenu,
161
+ LuzmoSlotMenuList
84
162
  ];
85
163
  export const LUZMO_ANGULAR_COMPONENT_NAMES = [
164
+ 'LuzmoAddToDashboard',
165
+ 'LuzmoAiChat',
166
+ 'LuzmoAiChatEmptyState',
167
+ 'LuzmoAiInteractionTextarea',
86
168
  'LuzmoDataField',
169
+ 'LuzmoDataFieldLevel',
87
170
  'LuzmoDataFieldPanel',
171
+ 'LuzmoDataFieldsSelect',
172
+ 'LuzmoDatasetIcon',
173
+ 'LuzmoDatasetSelectorList',
174
+ 'LuzmoDatasetSelectorRow',
175
+ 'LuzmoDisplaySettings',
176
+ 'LuzmoDisplaySettingsBinning',
177
+ 'LuzmoDisplaySettingsDatetime',
178
+ 'LuzmoDisplaySettingsGrandTotals',
179
+ 'LuzmoDisplaySettingsNumeric',
180
+ 'LuzmoDisplaySettingsPeriodOverPeriod',
181
+ 'LuzmoFilterExpressionPicker',
182
+ 'LuzmoFilterItem',
183
+ 'LuzmoFilterParameterPicker',
184
+ 'LuzmoFilterValuePicker',
185
+ 'LuzmoFilterValuePickerDatetime',
186
+ 'LuzmoFilterValuePickerHierarchy',
187
+ 'LuzmoFilterValuePickerNumeric',
88
188
  'LuzmoFilters',
89
189
  'LuzmoFormula',
90
190
  'LuzmoFormulaEditor',
191
+ 'LuzmoFormulaField',
192
+ 'LuzmoInteractiveVizItem',
91
193
  'LuzmoItemGrid',
92
194
  'LuzmoItemGridItemActionsMenu',
93
195
  'LuzmoItemOption',
@@ -109,5 +211,7 @@ export const LUZMO_ANGULAR_COMPONENT_NAMES = [
109
211
  'LuzmoItemSlotDrop',
110
212
  'LuzmoItemSlotDropPanel',
111
213
  'LuzmoItemSlotPicker',
112
- 'LuzmoItemSlotPickerPanel'
214
+ 'LuzmoItemSlotPickerPanel',
215
+ 'LuzmoSlotMenu',
216
+ 'LuzmoSlotMenuList'
113
217
  ];
package/package.json CHANGED
@@ -29,9 +29,9 @@
29
29
  "peerDependencies": {
30
30
  "@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
31
31
  "@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
32
- "@luzmo/analytics-components-kit": "1.0.8"
32
+ "@luzmo/analytics-components-kit": "1.0.9-beta.10"
33
33
  },
34
- "version": "1.0.8",
34
+ "version": "1.0.9-beta.10",
35
35
  "peerDependenciesMeta": {
36
36
  "@angular/forms": {
37
37
  "optional": true