@luzmo/ngx-analytics-components-kit 1.0.3-beta.12 → 1.0.3-beta.14

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 (87) hide show
  1. package/esm/components/data-field-level.d.ts +9 -1
  2. package/esm/components/data-field-level.js +15 -1
  3. package/esm/components/data-field-panel.d.ts +5 -1
  4. package/esm/components/data-field-panel.js +17 -1
  5. package/esm/components/data-field.d.ts +10 -1
  6. package/esm/components/data-field.js +22 -1
  7. package/esm/components/data-fields-select.d.ts +10 -1
  8. package/esm/components/data-fields-select.js +33 -1
  9. package/esm/components/display-settings-binning.d.ts +6 -1
  10. package/esm/components/display-settings-binning.js +18 -1
  11. package/esm/components/display-settings-datetime.d.ts +5 -1
  12. package/esm/components/display-settings-datetime.js +11 -1
  13. package/esm/components/display-settings-grand-totals.d.ts +5 -1
  14. package/esm/components/display-settings-grand-totals.js +17 -1
  15. package/esm/components/display-settings-numeric.d.ts +5 -1
  16. package/esm/components/display-settings-numeric.js +17 -1
  17. package/esm/components/display-settings-period-over-period.d.ts +7 -1
  18. package/esm/components/display-settings-period-over-period.js +19 -1
  19. package/esm/components/display-settings.d.ts +4 -1
  20. package/esm/components/display-settings.js +10 -1
  21. package/esm/components/filter-expression-picker.d.ts +11 -1
  22. package/esm/components/filter-expression-picker.js +34 -1
  23. package/esm/components/filter-item.d.ts +14 -1
  24. package/esm/components/filter-item.js +43 -2
  25. package/esm/components/filter-parameter-picker.d.ts +11 -1
  26. package/esm/components/filter-parameter-picker.js +34 -2
  27. package/esm/components/filter-value-picker-datetime.d.ts +14 -1
  28. package/esm/components/filter-value-picker-datetime.js +43 -2
  29. package/esm/components/filter-value-picker-hierarchy.d.ts +14 -1
  30. package/esm/components/filter-value-picker-hierarchy.js +43 -2
  31. package/esm/components/filter-value-picker-numeric.d.ts +14 -1
  32. package/esm/components/filter-value-picker-numeric.js +43 -2
  33. package/esm/components/filter-value-picker.d.ts +14 -1
  34. package/esm/components/filter-value-picker.js +43 -2
  35. package/esm/components/filters.d.ts +13 -1
  36. package/esm/components/filters.js +42 -2
  37. package/esm/components/formula-editor.d.ts +42 -3
  38. package/esm/components/formula-editor.js +138 -2
  39. package/esm/components/formula-field.d.ts +42 -3
  40. package/esm/components/formula-field.js +145 -5
  41. package/esm/components/formula.d.ts +31 -2
  42. package/esm/components/formula.js +105 -3
  43. package/esm/components/item-grid-item-actions-menu.d.ts +12 -1
  44. package/esm/components/item-grid-item-actions-menu.js +35 -2
  45. package/esm/components/item-option-action-button-group.d.ts +12 -1
  46. package/esm/components/item-option-action-button-group.js +49 -5
  47. package/esm/components/item-option-color-palette-picker.d.ts +19 -1
  48. package/esm/components/item-option-color-palette-picker.js +73 -5
  49. package/esm/components/item-option-color-picker.d.ts +17 -1
  50. package/esm/components/item-option-color-picker.js +40 -3
  51. package/esm/components/item-option-color-range.d.ts +37 -1
  52. package/esm/components/item-option-color-range.js +121 -5
  53. package/esm/components/item-option-multi-language-field.d.ts +20 -1
  54. package/esm/components/item-option-multi-language-field.js +67 -2
  55. package/esm/components/item-option-number-field.d.ts +27 -1
  56. package/esm/components/item-option-number-field.js +92 -2
  57. package/esm/components/item-option-picker.d.ts +17 -1
  58. package/esm/components/item-option-picker.js +66 -6
  59. package/esm/components/item-option-position-picker.d.ts +10 -1
  60. package/esm/components/item-option-position-picker.js +41 -5
  61. package/esm/components/item-option-positions-number-field.d.ts +23 -1
  62. package/esm/components/item-option-positions-number-field.js +68 -2
  63. package/esm/components/item-option-radio-button-group.d.ts +15 -1
  64. package/esm/components/item-option-radio-button-group.js +51 -2
  65. package/esm/components/item-option-slider.d.ts +11 -1
  66. package/esm/components/item-option-slider.js +23 -1
  67. package/esm/components/item-option-switch.d.ts +7 -1
  68. package/esm/components/item-option-switch.js +19 -1
  69. package/esm/components/item-option-text-field.d.ts +14 -1
  70. package/esm/components/item-option-text-field.js +43 -2
  71. package/esm/components/item-option.d.ts +10 -0
  72. package/esm/components/item-option.js +10 -0
  73. package/esm/components/item-slot-drop-panel.d.ts +5 -1
  74. package/esm/components/item-slot-drop-panel.js +17 -1
  75. package/esm/components/item-slot-drop.d.ts +15 -1
  76. package/esm/components/item-slot-drop.js +27 -1
  77. package/esm/components/item-slot-picker-panel.d.ts +5 -1
  78. package/esm/components/item-slot-picker-panel.js +17 -1
  79. package/esm/components/item-slot-picker.d.ts +7 -1
  80. package/esm/components/item-slot-picker.js +25 -1
  81. package/esm/components/slot-menu-list.d.ts +5 -1
  82. package/esm/components/slot-menu-list.js +11 -1
  83. package/esm/components/slot-menu.d.ts +16 -1
  84. package/esm/components/slot-menu.js +22 -1
  85. package/esm/components/viz-item-menu.d.ts +3 -1
  86. package/esm/components/viz-item-menu.js +9 -1
  87. package/package.json +2 -2
@@ -13,13 +13,21 @@ export declare class LuzmoItemOption implements OnChanges {
13
13
  private readonly listenerCleanup;
14
14
  /** The underlying custom element instance. Use to call imperative methods. */
15
15
  get nativeElement(): LuzmoItemOptionHostElement;
16
+ /** The language in which to display the option control. */
16
17
  language?: string;
18
+ /** The visualization item type whose options config and translations are loaded. */
17
19
  itemType?: VizItemType | string;
20
+ /** The key of the option (within the item type's options config) to render. */
18
21
  optionKey?: string;
22
+ /** A custom option configuration to render instead of resolving one from `itemType`/`optionKey`. */
19
23
  customOptionConfiguration?: OptionConfig;
24
+ /** Translation overrides for the option label, tooltip, and enum values. */
20
25
  customTranslations?: OptionTranslation | TranslationOverrides;
26
+ /** The current option values for the item. */
21
27
  options?: Record<string, unknown>;
28
+ /** The item's data slots, used by options that depend on slot contents. */
22
29
  slots?: unknown[];
30
+ /** The theme configuration applied to the option control. */
23
31
  theme?: ThemeConfig & Record<string, any>;
24
32
  /** The API URL of the databroker */
25
33
  apiUrl?: string;
@@ -27,7 +35,9 @@ export declare class LuzmoItemOption implements OnChanges {
27
35
  authKey?: string;
28
36
  /** The auth token of the databroker */
29
37
  authToken?: string;
38
+ /** The size variant of the option control (`s`, `m`, `l`, `xl`). */
30
39
  size?: ElementSize;
40
+ /** Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control. */
31
41
  changedOptions?: unknown;
32
42
  /** Announces that the `options` of the element have changed */
33
43
  readonly luzmoOptionsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionsChangedEventDetail>>;
@@ -15,13 +15,21 @@ export class LuzmoItemOption {
15
15
  get nativeElement() {
16
16
  return this.host;
17
17
  }
18
+ /** The language in which to display the option control. */
18
19
  language;
20
+ /** The visualization item type whose options config and translations are loaded. */
19
21
  itemType;
22
+ /** The key of the option (within the item type's options config) to render. */
20
23
  optionKey;
24
+ /** A custom option configuration to render instead of resolving one from `itemType`/`optionKey`. */
21
25
  customOptionConfiguration;
26
+ /** Translation overrides for the option label, tooltip, and enum values. */
22
27
  customTranslations;
28
+ /** The current option values for the item. */
23
29
  options;
30
+ /** The item's data slots, used by options that depend on slot contents. */
24
31
  slots;
32
+ /** The theme configuration applied to the option control. */
25
33
  theme;
26
34
  /** The API URL of the databroker */
27
35
  apiUrl;
@@ -29,7 +37,9 @@ export class LuzmoItemOption {
29
37
  authKey;
30
38
  /** The auth token of the databroker */
31
39
  authToken;
40
+ /** The size variant of the option control (`s`, `m`, `l`, `xl`). */
32
41
  size;
42
+ /** Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control. */
33
43
  changedOptions;
34
44
  /** Announces that the `options` of the element have changed */
35
45
  luzmoOptionsChanged = output({ alias: 'luzmoOptionsChanged' });
@@ -53,6 +53,10 @@ export declare class LuzmoItemSlotDropPanel implements OnChanges {
53
53
  slotcell?: string;
54
54
  /** The item slot drop element */
55
55
  itemslotdrop?: string;
56
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
57
+ language?: string;
58
+ /** The size of the element */
59
+ size?: 's' | 'm' | 'l' | 'xl';
56
60
  /** Emitted when constraint-mode is 'event-only' and a change would trigger constraints */
57
61
  readonly luzmoSlotConstraintTriggered: import("@angular/core").OutputEmitterRef<CustomEvent<SlotConstraintTriggeredEventDetail>>;
58
62
  /** Announces that the slots contents have changed */
@@ -68,7 +72,7 @@ export declare class LuzmoItemSlotDropPanel implements OnChanges {
68
72
  private setHostProperty;
69
73
  private bindEvents;
70
74
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotDropPanel, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDropPanel, "luzmo-item-slot-drop-panel", ["luzmoItemSlotDropPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "positioningConfiguration": { "alias": "positioningConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "positioned": { "alias": "positioned"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideDelete": { "alias": "hideDelete"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotsgrid": { "alias": "slotsGrid"; "required": false; }; "slotcell": { "alias": "slotCell"; "required": false; }; "itemslotdrop": { "alias": "itemSlotDrop"; "required": false; }; }, { "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; }, never, ["*"], true, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDropPanel, "luzmo-item-slot-drop-panel", ["luzmoItemSlotDropPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "positioningConfiguration": { "alias": "positioningConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "positioned": { "alias": "positioned"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideDelete": { "alias": "hideDelete"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotsgrid": { "alias": "slotsGrid"; "required": false; }; "slotcell": { "alias": "slotCell"; "required": false; }; "itemslotdrop": { "alias": "itemSlotDrop"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; }, never, ["*"], true, never>;
72
76
  static ngAcceptInputType_positioned: unknown;
73
77
  static ngAcceptInputType_hideDelete: unknown;
74
78
  static ngAcceptInputType_hideConfiguration: unknown;
@@ -55,6 +55,10 @@ export class LuzmoItemSlotDropPanel {
55
55
  slotcell;
56
56
  /** The item slot drop element */
57
57
  itemslotdrop;
58
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
59
+ language;
60
+ /** The size of the element */
61
+ size;
58
62
  /** Emitted when constraint-mode is 'event-only' and a change would trigger constraints */
59
63
  luzmoSlotConstraintTriggered = output({ alias: 'luzmoSlotConstraintTriggered' });
60
64
  /** Announces that the slots contents have changed */
@@ -130,6 +134,12 @@ export class LuzmoItemSlotDropPanel {
130
134
  case 'itemslotdrop':
131
135
  this.setHostProperty('item-slot-drop', changes['itemslotdrop'].currentValue);
132
136
  break;
137
+ case 'language':
138
+ this.setHostProperty('language', changes['language'].currentValue);
139
+ break;
140
+ case 'size':
141
+ this.setHostProperty('size', changes['size'].currentValue);
142
+ break;
133
143
  default:
134
144
  break;
135
145
  }
@@ -155,7 +165,7 @@ export class LuzmoItemSlotDropPanel {
155
165
  }));
156
166
  }
157
167
  static ɵfac = function LuzmoItemSlotDropPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotDropPanel)(); };
158
- 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"] }, 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) {
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) {
159
169
  i0.ɵɵprojectionDef();
160
170
  i0.ɵɵprojection(0);
161
171
  } }, encapsulation: 2, changeDetection: 0 });
@@ -229,5 +239,11 @@ export class LuzmoItemSlotDropPanel {
229
239
  }], itemslotdrop: [{
230
240
  type: Input,
231
241
  args: [{ alias: 'itemSlotDrop' }]
242
+ }], language: [{
243
+ type: Input,
244
+ args: [{ alias: 'language' }]
245
+ }], size: [{
246
+ type: Input,
247
+ args: [{ alias: 'size' }]
232
248
  }], luzmoSlotConstraintTriggered: [{ type: i0.Output, args: ["luzmoSlotConstraintTriggered"] }], luzmoSlotsContentsChanged: [{ type: i0.Output, args: ["luzmoSlotsContentsChanged"] }] }); })();
233
249
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemSlotDropPanel, { className: "LuzmoItemSlotDropPanel", filePath: "components/item-slot-drop-panel.ts", lineNumber: 18 }); })();
@@ -13,14 +13,21 @@ export declare class LuzmoItemSlotDrop implements OnChanges {
13
13
  private readonly listenerCleanup;
14
14
  /** The underlying custom element instance. Use to call imperative methods. */
15
15
  get nativeElement(): LuzmoItemSlotDropHostElement;
16
+ /** The visualization item type that determines the available slots and their configuration. */
16
17
  itemType?: VizItemType;
18
+ /** The name of the slot this drop target represents. */
17
19
  slotName?: SlotName;
20
+ /** The configuration for this slot (accepted field types, options, label, etc.). */
18
21
  slotConfiguration?: SlotConfig;
22
+ /** The full set of slot contents for the item; the entry matching `slotName` is rendered here. */
19
23
  slotsContents?: VizItemSlot[];
24
+ /** Overrides the slot's default label. */
20
25
  label?: string;
21
26
  /** The language to use for locale-aware formatting of content labels (e.g. column names). When different from `language`, UI chrome uses `language` while data labels use `contentLanguage`. */
22
27
  contentLanguage?: string;
28
+ /** CSS selector for the boundary element that constrains dragging within the slot menu. */
23
29
  dragBoundary?: string;
30
+ /** Renders the slot vertically. */
24
31
  rotate?: boolean;
25
32
  /** The API URL of the databroker */
26
33
  apiUrl?: string;
@@ -32,8 +39,15 @@ export declare class LuzmoItemSlotDrop implements OnChanges {
32
39
  menu?: 'default' | 'draggable' | 'event-only';
33
40
  /** Placement of the slot menu. Only relevant for 'popup' and 'draggable' menu type */
34
41
  placement?: Placement;
42
+ /** Hides the delete button on filled slots. */
35
43
  hideDelete?: boolean;
44
+ /** Hides the edit/configuration button and disables opening the slot menu. */
36
45
  hideConfiguration?: boolean;
46
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
47
+ language?: string;
48
+ /** The size of the element */
49
+ size?: 's' | 'm' | 'l' | 'xl';
50
+ /** Emitted when the slot menu overlay closes / becomes inactive. */
37
51
  readonly luzmoSlotMenuInactive: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
38
52
  /** Emitted when the slot menu overlay opens for a slot */
39
53
  readonly luzmoSlotMenuActive: import("@angular/core").OutputEmitterRef<CustomEvent<SlotMenuActiveEventDetail>>;
@@ -54,7 +68,7 @@ export declare class LuzmoItemSlotDrop implements OnChanges {
54
68
  private setHostProperty;
55
69
  private bindEvents;
56
70
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotDrop, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDrop, "luzmo-item-slot-drop", ["luzmoItemSlotDrop"], { "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "label": { "alias": "label"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "hideDelete": { "alias": "hideDelete"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; }, { "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDrop, "luzmo-item-slot-drop", ["luzmoItemSlotDrop"], { "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "label": { "alias": "label"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "hideDelete": { "alias": "hideDelete"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
58
72
  static ngAcceptInputType_rotate: unknown;
59
73
  static ngAcceptInputType_hideDelete: unknown;
60
74
  static ngAcceptInputType_hideConfiguration: unknown;
@@ -15,14 +15,21 @@ export class LuzmoItemSlotDrop {
15
15
  get nativeElement() {
16
16
  return this.host;
17
17
  }
18
+ /** The visualization item type that determines the available slots and their configuration. */
18
19
  itemType;
20
+ /** The name of the slot this drop target represents. */
19
21
  slotName;
22
+ /** The configuration for this slot (accepted field types, options, label, etc.). */
20
23
  slotConfiguration;
24
+ /** The full set of slot contents for the item; the entry matching `slotName` is rendered here. */
21
25
  slotsContents;
26
+ /** Overrides the slot's default label. */
22
27
  label;
23
28
  /** The language to use for locale-aware formatting of content labels (e.g. column names). When different from `language`, UI chrome uses `language` while data labels use `contentLanguage`. */
24
29
  contentLanguage;
30
+ /** CSS selector for the boundary element that constrains dragging within the slot menu. */
25
31
  dragBoundary;
32
+ /** Renders the slot vertically. */
26
33
  rotate;
27
34
  /** The API URL of the databroker */
28
35
  apiUrl;
@@ -34,8 +41,15 @@ export class LuzmoItemSlotDrop {
34
41
  menu;
35
42
  /** Placement of the slot menu. Only relevant for 'popup' and 'draggable' menu type */
36
43
  placement;
44
+ /** Hides the delete button on filled slots. */
37
45
  hideDelete;
46
+ /** Hides the edit/configuration button and disables opening the slot menu. */
38
47
  hideConfiguration;
48
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
49
+ language;
50
+ /** The size of the element */
51
+ size;
52
+ /** Emitted when the slot menu overlay closes / becomes inactive. */
39
53
  luzmoSlotMenuInactive = output({ alias: 'luzmoSlotMenuInactive' });
40
54
  /** Emitted when the slot menu overlay opens for a slot */
41
55
  luzmoSlotMenuActive = output({ alias: 'luzmoSlotMenuActive' });
@@ -101,6 +115,12 @@ export class LuzmoItemSlotDrop {
101
115
  case 'hideConfiguration':
102
116
  this.setHostProperty('hideConfiguration', changes['hideConfiguration'].currentValue);
103
117
  break;
118
+ case 'language':
119
+ this.setHostProperty('language', changes['language'].currentValue);
120
+ break;
121
+ case 'size':
122
+ this.setHostProperty('size', changes['size'].currentValue);
123
+ break;
104
124
  default:
105
125
  break;
106
126
  }
@@ -138,7 +158,7 @@ export class LuzmoItemSlotDrop {
138
158
  }));
139
159
  }
140
160
  static ɵfac = function LuzmoItemSlotDrop_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotDrop)(); };
141
- 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] }, 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) {
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) {
142
162
  i0.ɵɵprojectionDef();
143
163
  i0.ɵɵprojection(0);
144
164
  } }, encapsulation: 2, changeDetection: 0 });
@@ -197,5 +217,11 @@ export class LuzmoItemSlotDrop {
197
217
  }], hideConfiguration: [{
198
218
  type: Input,
199
219
  args: [{ alias: 'hideConfiguration', transform: booleanAttribute }]
220
+ }], language: [{
221
+ type: Input,
222
+ args: [{ alias: 'language' }]
223
+ }], size: [{
224
+ type: Input,
225
+ args: [{ alias: 'size' }]
200
226
  }], luzmoSlotMenuInactive: [{ type: i0.Output, args: ["luzmoSlotMenuInactive"] }], luzmoSlotMenuActive: [{ type: i0.Output, args: ["luzmoSlotMenuActive"] }], luzmoSlotMenuHighlight: [{ type: i0.Output, args: ["luzmoSlotMenuHighlight"] }], luzmoInfoVisibilityChanged: [{ type: i0.Output, args: ["luzmoInfoVisibilityChanged"] }], luzmoSlotContentsChanged: [{ type: i0.Output, args: ["luzmoSlotContentsChanged"] }] }); })();
201
227
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemSlotDrop, { className: "LuzmoItemSlotDrop", filePath: "components/item-slot-drop.ts", lineNumber: 18 }); })();
@@ -68,6 +68,10 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
68
68
  fieldlabel?: string;
69
69
  /** The item slot picker element */
70
70
  itemslotpicker?: string;
71
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
72
+ language?: string;
73
+ /** The size of the element */
74
+ size?: 's' | 'm' | 'l' | 'xl';
71
75
  /** Emitted when constraint-mode is 'event-only' and dataset change would clear slots */
72
76
  readonly luzmoDatasetConstraintTriggered: import("@angular/core").OutputEmitterRef<CustomEvent<DatasetConstraintTriggeredEventDetail>>;
73
77
  /** Announces that the slots contents have changed */
@@ -87,7 +91,7 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
87
91
  private setHostProperty;
88
92
  private bindEvents;
89
93
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPickerPanel, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetpicker": { "alias": "datasetPicker"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetpicker": { "alias": "datasetPicker"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
91
95
  static ngAcceptInputType_datasetPicker: unknown;
92
96
  static ngAcceptInputType_grows: unknown;
93
97
  }
@@ -69,6 +69,10 @@ export class LuzmoItemSlotPickerPanel {
69
69
  fieldlabel;
70
70
  /** The item slot picker element */
71
71
  itemslotpicker;
72
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
73
+ language;
74
+ /** The size of the element */
75
+ size;
72
76
  /** Emitted when constraint-mode is 'event-only' and dataset change would clear slots */
73
77
  luzmoDatasetConstraintTriggered = output({ alias: 'luzmoDatasetConstraintTriggered' });
74
78
  /** Announces that the slots contents have changed */
@@ -169,6 +173,12 @@ export class LuzmoItemSlotPickerPanel {
169
173
  case 'itemslotpicker':
170
174
  this.setHostProperty('item-slot-picker', changes['itemslotpicker'].currentValue);
171
175
  break;
176
+ case 'language':
177
+ this.setHostProperty('language', changes['language'].currentValue);
178
+ break;
179
+ case 'size':
180
+ this.setHostProperty('size', changes['size'].currentValue);
181
+ break;
172
182
  default:
173
183
  break;
174
184
  }
@@ -202,7 +212,7 @@ export class LuzmoItemSlotPickerPanel {
202
212
  }));
203
213
  }
204
214
  static ɵfac = function LuzmoItemSlotPickerPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPickerPanel)(); };
205
- 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", datasetpicker: [0, "datasetPicker", "datasetpicker"], datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"] }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
215
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetpicker: [0, "datasetPicker", "datasetpicker"], 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) {
206
216
  i0.ɵɵprojectionDef();
207
217
  i0.ɵɵprojection(0);
208
218
  } }, encapsulation: 2, changeDetection: 0 });
@@ -297,5 +307,11 @@ export class LuzmoItemSlotPickerPanel {
297
307
  }], itemslotpicker: [{
298
308
  type: Input,
299
309
  args: [{ alias: 'itemSlotPicker' }]
310
+ }], language: [{
311
+ type: Input,
312
+ args: [{ alias: 'language' }]
313
+ }], size: [{
314
+ type: Input,
315
+ args: [{ alias: 'size' }]
300
316
  }], luzmoDatasetConstraintTriggered: [{ type: i0.Output, args: ["luzmoDatasetConstraintTriggered"] }], luzmoSlotsContentsChanged: [{ type: i0.Output, args: ["luzmoSlotsContentsChanged"] }], luzmoDatasetChanged: [{ type: i0.Output, args: ["luzmoDatasetChanged"] }], luzmoSlotConstraintTriggered: [{ type: i0.Output, args: ["luzmoSlotConstraintTriggered"] }] }); })();
301
317
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemSlotPickerPanel, { className: "LuzmoItemSlotPickerPanel", filePath: "components/item-slot-picker-panel.ts", lineNumber: 19 }); })();
@@ -56,6 +56,12 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
56
56
  hideConfiguration?: boolean;
57
57
  /** Whether to hide the clear button op a select */
58
58
  hideClear?: boolean;
59
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
60
+ language?: string;
61
+ /** Whether the search input is visible: `on`, `off`, or `auto`. */
62
+ search?: 'on' | 'off' | 'auto';
63
+ /** The size of the element */
64
+ size?: 's' | 'm' | 'l' | 'xl';
59
65
  /** Announces that the slot contents has changed */
60
66
  readonly luzmoSlotContentsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<SlotContentsChangedEventDetail>>;
61
67
  constructor();
@@ -69,7 +75,7 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
69
75
  private setHostProperty;
70
76
  private bindEvents;
71
77
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPicker, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
73
79
  static ngAcceptInputType_disabled: unknown;
74
80
  static ngAcceptInputType_grows: unknown;
75
81
  static ngAcceptInputType_hasLabel: unknown;
@@ -57,6 +57,12 @@ export class LuzmoItemSlotPicker {
57
57
  hideConfiguration;
58
58
  /** Whether to hide the clear button op a select */
59
59
  hideClear;
60
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
61
+ language;
62
+ /** Whether the search input is visible: `on`, `off`, or `auto`. */
63
+ search;
64
+ /** The size of the element */
65
+ size;
60
66
  /** Announces that the slot contents has changed */
61
67
  luzmoSlotContentsChanged = output({ alias: 'luzmoSlotContentsChanged' });
62
68
  constructor() {
@@ -133,6 +139,15 @@ export class LuzmoItemSlotPicker {
133
139
  case 'hideClear':
134
140
  this.setHostProperty('hideClear', changes['hideClear'].currentValue);
135
141
  break;
142
+ case 'language':
143
+ this.setHostProperty('language', changes['language'].currentValue);
144
+ break;
145
+ case 'search':
146
+ this.setHostProperty('search', changes['search'].currentValue);
147
+ break;
148
+ case 'size':
149
+ this.setHostProperty('size', changes['size'].currentValue);
150
+ break;
136
151
  default:
137
152
  break;
138
153
  }
@@ -154,7 +169,7 @@ export class LuzmoItemSlotPicker {
154
169
  }));
155
170
  }
156
171
  static ɵfac = function LuzmoItemSlotPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPicker)(); };
157
- 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] }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
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) {
158
173
  i0.ɵɵprojectionDef();
159
174
  i0.ɵɵprojection(0);
160
175
  } }, encapsulation: 2, changeDetection: 0 });
@@ -231,5 +246,14 @@ export class LuzmoItemSlotPicker {
231
246
  }], hideClear: [{
232
247
  type: Input,
233
248
  args: [{ alias: 'hideClear', transform: booleanAttribute }]
249
+ }], language: [{
250
+ type: Input,
251
+ args: [{ alias: 'language' }]
252
+ }], search: [{
253
+ type: Input,
254
+ args: [{ alias: 'search' }]
255
+ }], size: [{
256
+ type: Input,
257
+ args: [{ alias: 'size' }]
234
258
  }], luzmoSlotContentsChanged: [{ type: i0.Output, args: ["luzmoSlotContentsChanged"] }] }); })();
235
259
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemSlotPicker, { className: "LuzmoItemSlotPicker", filePath: "components/item-slot-picker.ts", lineNumber: 19 }); })();
@@ -16,8 +16,12 @@ export declare class LuzmoSlotMenuList implements OnChanges {
16
16
  language?: string;
17
17
  /** The language to use for locale-aware formatting and labels */
18
18
  contentLanguage?: string;
19
+ /** The list of slot contents (columns/formulas) shown in the reorderable list. */
19
20
  slotContents?: GenericSlotContent[];
21
+ /** Index of the currently active/selected slot content. */
20
22
  activeIndex?: number;
23
+ /** The size of the element */
24
+ size?: 's' | 'm' | 'l' | 'xl';
21
25
  /** Emitted when the slot list changes */
22
26
  readonly luzmoSlotListChanged: import("@angular/core").OutputEmitterRef<CustomEvent<SlotListChangedEventDetail>>;
23
27
  constructor();
@@ -31,7 +35,7 @@ export declare class LuzmoSlotMenuList implements OnChanges {
31
35
  private setHostProperty;
32
36
  private bindEvents;
33
37
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSlotMenuList, never>;
34
- 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; }; }, { "luzmoSlotListChanged": "luzmoSlotListChanged"; }, never, ["*"], true, 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>;
35
39
  }
36
40
  /** The underlying custom element type for LuzmoSlotMenuList */
37
41
  export type LuzmoSlotMenuListElement = LuzmoSlotMenuListHostElement;
@@ -19,8 +19,12 @@ export class LuzmoSlotMenuList {
19
19
  language;
20
20
  /** The language to use for locale-aware formatting and labels */
21
21
  contentLanguage;
22
+ /** The list of slot contents (columns/formulas) shown in the reorderable list. */
22
23
  slotContents;
24
+ /** Index of the currently active/selected slot content. */
23
25
  activeIndex;
26
+ /** The size of the element */
27
+ size;
24
28
  /** Emitted when the slot list changes */
25
29
  luzmoSlotListChanged = output({ alias: 'luzmoSlotListChanged' });
26
30
  constructor() {
@@ -46,6 +50,9 @@ export class LuzmoSlotMenuList {
46
50
  case 'activeIndex':
47
51
  this.setHostProperty('activeIndex', changes['activeIndex'].currentValue);
48
52
  break;
53
+ case 'size':
54
+ this.setHostProperty('size', changes['size'].currentValue);
55
+ break;
49
56
  default:
50
57
  break;
51
58
  }
@@ -67,7 +74,7 @@ export class LuzmoSlotMenuList {
67
74
  }));
68
75
  }
69
76
  static ɵfac = function LuzmoSlotMenuList_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSlotMenuList)(); };
70
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenuList, selectors: [["luzmo-slot-menu-list"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotContents: "slotContents", activeIndex: "activeIndex" }, outputs: { luzmoSlotListChanged: "luzmoSlotListChanged" }, exportAs: ["luzmoSlotMenuList"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenuList_Template(rf, ctx) { if (rf & 1) {
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) {
71
78
  i0.ɵɵprojectionDef();
72
79
  i0.ɵɵprojection(0);
73
80
  } }, encapsulation: 2, changeDetection: 0 });
@@ -93,5 +100,8 @@ export class LuzmoSlotMenuList {
93
100
  }], activeIndex: [{
94
101
  type: Input,
95
102
  args: [{ alias: 'activeIndex' }]
103
+ }], size: [{
104
+ type: Input,
105
+ args: [{ alias: 'size' }]
96
106
  }], luzmoSlotListChanged: [{ type: i0.Output, args: ["luzmoSlotListChanged"] }] }); })();
97
107
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoSlotMenuList, { className: "LuzmoSlotMenuList", filePath: "components/slot-menu-list.ts", lineNumber: 17 }); })();
@@ -20,7 +20,9 @@ export declare class LuzmoSlotMenu implements OnChanges {
20
20
  contentLanguage?: string;
21
21
  /** The slot type */
22
22
  slotType?: 'numeric' | 'categorical' | 'mixed';
23
+ /** The name of the slot being edited. */
23
24
  slotName?: SlotName;
25
+ /** The visualization item type that provides slot and option configuration. */
24
26
  itemType?: VizItemType;
25
27
  /** Whether to show the drag handle and allow dragging */
26
28
  noDrag?: boolean;
@@ -30,17 +32,27 @@ export declare class LuzmoSlotMenu implements OnChanges {
30
32
  variant?: 'popup' | 'draggable' | 'default';
31
33
  /** Whether to show the top menu label & delete button */
32
34
  noTopMenuLabel?: boolean;
35
+ /** CSS selector for the boundary element that constrains dragging of the menu. */
33
36
  dragBoundary?: string;
37
+ /** Whether grand-totals options are available for this slot. */
34
38
  areGrandTotalsEnabled?: boolean;
39
+ /** Whether datetime display options are available for this slot. */
35
40
  areDatetimeOptionsEnabled?: boolean;
41
+ /** Whether numeric binning options are hidden for this slot. */
36
42
  isBinningDisabled?: boolean;
43
+ /** Whether aggregation options are hidden for this slot. */
37
44
  isAggregationDisabled?: boolean;
45
+ /** Whether cumulative-sum options are available for this slot. */
38
46
  isCumulativeSumEnabled?: boolean;
47
+ /** The contents (columns/formulas) assigned to this slot. */
39
48
  slotContents?: GenericSlotContent[];
49
+ /** Measure columns available for rate aggregation. */
40
50
  measureColumns?: MeasureColumnsItem[];
41
51
  /** (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. */
42
52
  slotIndex?: number;
53
+ /** Reference to the rendered display-settings element. */
43
54
  displaySettingsElement?: LuzmoDisplaySettings;
55
+ /** Reference to the rendered slot-menu-list element. */
44
56
  slotMenuListElement?: LuzmoSlotMenuList;
45
57
  /** The API URL of the databroker */
46
58
  apiUrl?: string;
@@ -48,6 +60,8 @@ export declare class LuzmoSlotMenu implements OnChanges {
48
60
  authKey?: string;
49
61
  /** The auth token of the databroker */
50
62
  authToken?: string;
63
+ /** The size of the element */
64
+ size?: 's' | 'm' | 'l' | 'xl';
51
65
  /** Emitted when the slot contents change */
52
66
  readonly luzmoSlotContentsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<SlotContentsChangedEventDetail>>;
53
67
  /** Emitted when the slot menu is closed */
@@ -56,6 +70,7 @@ export declare class LuzmoSlotMenu implements OnChanges {
56
70
  readonly luzmoSlotMenuActive: import("@angular/core").OutputEmitterRef<CustomEvent<SlotMenuActiveEventDetail>>;
57
71
  /** Emitted to highlight a column or formula in the slot menu */
58
72
  readonly luzmoSlotMenuHighlight: import("@angular/core").OutputEmitterRef<CustomEvent<SlotMenuHighlightEventDetail>>;
73
+ /** Emitted when the menu becomes inactive. */
59
74
  readonly luzmoSlotMenuInactive: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
60
75
  /** Event that is fired when the info button is clicked in display-settings, includes the visibility state and ID values */
61
76
  readonly luzmoInfoVisibilityChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InfoVisibilityChangedEventDetail>>;
@@ -71,7 +86,7 @@ export declare class LuzmoSlotMenu implements OnChanges {
71
86
  private bindEvents;
72
87
  close(): void;
73
88
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSlotMenu, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
75
90
  static ngAcceptInputType_noDrag: unknown;
76
91
  static ngAcceptInputType_noClose: unknown;
77
92
  static ngAcceptInputType_noTopMenuLabel: unknown;