@luzmo/ngx-analytics-components-kit 2.3.0 → 2.5.0

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.
@@ -29,6 +29,8 @@ export declare class LuzmoInteractiveVizItem implements OnChanges {
29
29
  appServer?: string;
30
30
  /** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
31
31
  contentLanguage?: string;
32
+ /** The language of built-in slot headings in the config panel, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
33
+ slotLabelLanguage?: string;
32
34
  /** When present, hides the inline chart actions (ranking, display mode). */
33
35
  hideActions?: boolean;
34
36
  /** When present, hides the feedback bar. */
@@ -92,7 +94,7 @@ export declare class LuzmoInteractiveVizItem implements OnChanges {
92
94
  /** Exports the embedded chart, forwarded to its `export(type)`. Waits for the embedded renderer when it has not loaded yet. Resolves without a value when there is no chart, when the embed fails, or when the chart is cleared or the element removed before the renderer loaded. */
93
95
  export(type?: VizItemExportType): Promise<string | void>;
94
96
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoInteractiveVizItem, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoInteractiveVizItem, "luzmo-interactive-viz-item", ["luzmoInteractiveVizItem"], { "chart": { "alias": "chart"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hideFeedback": { "alias": "hideFeedback"; "required": false; }; "hideConfigPanel": { "alias": "hideConfigPanel"; "required": false; }; "hideConfigOptions": { "alias": "hideConfigOptions"; "required": false; }; "slotSelects": { "alias": "slotSelects"; "required": false; }; "slotGrows": { "alias": "slotGrows"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "customOptionsConfiguration": { "alias": "customOptionsConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "chartRenderOptions": { "alias": "chartRenderOptions"; "required": false; }; "addToDashboard": { "alias": "addToDashboard"; "required": false; }; "dashboardActions": { "alias": "dashboardActions"; "required": false; }; "controlled": { "alias": "controlled"; "required": false; }; "canFilter": { "alias": "canFilter"; "required": false; }; "liveInteractions": { "alias": "liveInteractions"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoChartOptionsChanged": "luzmoChartOptionsChanged"; "luzmoChartChanged": "luzmoChartChanged"; "luzmoOptionInteractionStart": "luzmoOptionInteractionStart"; "luzmoOptionInteractionEnd": "luzmoOptionInteractionEnd"; "luzmoOptionInteractionCancel": "luzmoOptionInteractionCancel"; "luzmoFeedbackChanged": "luzmoFeedbackChanged"; "luzmoChartAdded": "luzmoChartAdded"; "luzmoChartAddFailed": "luzmoChartAddFailed"; }, never, ["*"], true, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoInteractiveVizItem, "luzmo-interactive-viz-item", ["luzmoInteractiveVizItem"], { "chart": { "alias": "chart"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotLabelLanguage": { "alias": "slotLabelLanguage"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hideFeedback": { "alias": "hideFeedback"; "required": false; }; "hideConfigPanel": { "alias": "hideConfigPanel"; "required": false; }; "hideConfigOptions": { "alias": "hideConfigOptions"; "required": false; }; "slotSelects": { "alias": "slotSelects"; "required": false; }; "slotGrows": { "alias": "slotGrows"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "customOptionsConfiguration": { "alias": "customOptionsConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "chartRenderOptions": { "alias": "chartRenderOptions"; "required": false; }; "addToDashboard": { "alias": "addToDashboard"; "required": false; }; "dashboardActions": { "alias": "dashboardActions"; "required": false; }; "controlled": { "alias": "controlled"; "required": false; }; "canFilter": { "alias": "canFilter"; "required": false; }; "liveInteractions": { "alias": "liveInteractions"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoChartOptionsChanged": "luzmoChartOptionsChanged"; "luzmoChartChanged": "luzmoChartChanged"; "luzmoOptionInteractionStart": "luzmoOptionInteractionStart"; "luzmoOptionInteractionEnd": "luzmoOptionInteractionEnd"; "luzmoOptionInteractionCancel": "luzmoOptionInteractionCancel"; "luzmoFeedbackChanged": "luzmoFeedbackChanged"; "luzmoChartAdded": "luzmoChartAdded"; "luzmoChartAddFailed": "luzmoChartAddFailed"; }, never, ["*"], true, never>;
96
98
  static ngAcceptInputType_hideActions: unknown;
97
99
  static ngAcceptInputType_hideFeedback: unknown;
98
100
  static ngAcceptInputType_hideConfigPanel: unknown;
@@ -39,6 +39,8 @@ export class LuzmoInteractiveVizItem {
39
39
  appServer;
40
40
  /** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
41
41
  contentLanguage;
42
+ /** The language of built-in slot headings in the config panel, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
43
+ slotLabelLanguage;
42
44
  /** When present, hides the inline chart actions (ranking, display mode). */
43
45
  hideActions;
44
46
  /** When present, hides the feedback bar. */
@@ -124,6 +126,9 @@ export class LuzmoInteractiveVizItem {
124
126
  case 'contentLanguage':
125
127
  this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
126
128
  break;
129
+ case 'slotLabelLanguage':
130
+ this.setHostProperty('slotLabelLanguage', changes['slotLabelLanguage'].currentValue);
131
+ break;
127
132
  case 'hideActions':
128
133
  this.setHostProperty('hideActions', changes['hideActions'].currentValue);
129
134
  break;
@@ -228,7 +233,7 @@ export class LuzmoInteractiveVizItem {
228
233
  return this.host.export(type);
229
234
  }
230
235
  static ɵfac = function LuzmoInteractiveVizItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoInteractiveVizItem)(); };
231
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoInteractiveVizItem, selectors: [["luzmo-interactive-viz-item"]], inputs: { chart: "chart", feedback: "feedback", messageId: "messageId", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", contentLanguage: "contentLanguage", hideActions: [2, "hideActions", "hideActions", booleanAttribute], hideFeedback: [2, "hideFeedback", "hideFeedback", booleanAttribute], hideConfigPanel: [2, "hideConfigPanel", "hideConfigPanel", booleanAttribute], hideConfigOptions: [2, "hideConfigOptions", "hideConfigOptions", booleanAttribute], slotSelects: "slotSelects", slotGrows: [2, "slotGrows", "slotGrows", booleanAttribute], slotsConfiguration: "slotsConfiguration", customOptionsConfiguration: "customOptionsConfiguration", customTranslations: "customTranslations", chartRenderOptions: "chartRenderOptions", addToDashboard: [2, "addToDashboard", "addToDashboard", booleanAttribute], dashboardActions: "dashboardActions", controlled: [2, "controlled", "controlled", booleanAttribute], canFilter: "canFilter", liveInteractions: [2, "liveInteractions", "liveInteractions", booleanAttribute], language: "language", size: "size" }, outputs: { luzmoChartOptionsChanged: "luzmoChartOptionsChanged", luzmoChartChanged: "luzmoChartChanged", luzmoOptionInteractionStart: "luzmoOptionInteractionStart", luzmoOptionInteractionEnd: "luzmoOptionInteractionEnd", luzmoOptionInteractionCancel: "luzmoOptionInteractionCancel", luzmoFeedbackChanged: "luzmoFeedbackChanged", luzmoChartAdded: "luzmoChartAdded", luzmoChartAddFailed: "luzmoChartAddFailed" }, exportAs: ["luzmoInteractiveVizItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoInteractiveVizItem_Template(rf, ctx) { if (rf & 1) {
236
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoInteractiveVizItem, selectors: [["luzmo-interactive-viz-item"]], inputs: { chart: "chart", feedback: "feedback", messageId: "messageId", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", contentLanguage: "contentLanguage", slotLabelLanguage: "slotLabelLanguage", hideActions: [2, "hideActions", "hideActions", booleanAttribute], hideFeedback: [2, "hideFeedback", "hideFeedback", booleanAttribute], hideConfigPanel: [2, "hideConfigPanel", "hideConfigPanel", booleanAttribute], hideConfigOptions: [2, "hideConfigOptions", "hideConfigOptions", booleanAttribute], slotSelects: "slotSelects", slotGrows: [2, "slotGrows", "slotGrows", booleanAttribute], slotsConfiguration: "slotsConfiguration", customOptionsConfiguration: "customOptionsConfiguration", customTranslations: "customTranslations", chartRenderOptions: "chartRenderOptions", addToDashboard: [2, "addToDashboard", "addToDashboard", booleanAttribute], dashboardActions: "dashboardActions", controlled: [2, "controlled", "controlled", booleanAttribute], canFilter: "canFilter", liveInteractions: [2, "liveInteractions", "liveInteractions", booleanAttribute], language: "language", size: "size" }, outputs: { luzmoChartOptionsChanged: "luzmoChartOptionsChanged", luzmoChartChanged: "luzmoChartChanged", luzmoOptionInteractionStart: "luzmoOptionInteractionStart", luzmoOptionInteractionEnd: "luzmoOptionInteractionEnd", luzmoOptionInteractionCancel: "luzmoOptionInteractionCancel", luzmoFeedbackChanged: "luzmoFeedbackChanged", luzmoChartAdded: "luzmoChartAdded", luzmoChartAddFailed: "luzmoChartAddFailed" }, exportAs: ["luzmoInteractiveVizItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoInteractiveVizItem_Template(rf, ctx) { if (rf & 1) {
232
237
  i0.ɵɵprojectionDef();
233
238
  i0.ɵɵprojection(0);
234
239
  } }, encapsulation: 2 });
@@ -266,6 +271,9 @@ export class LuzmoInteractiveVizItem {
266
271
  }], contentLanguage: [{
267
272
  type: Input,
268
273
  args: [{ alias: 'contentLanguage' }]
274
+ }], slotLabelLanguage: [{
275
+ type: Input,
276
+ args: [{ alias: 'slotLabelLanguage' }]
269
277
  }], hideActions: [{
270
278
  type: Input,
271
279
  args: [{ alias: 'hideActions', transform: booleanAttribute }]
@@ -19,6 +19,8 @@ export declare class LuzmoItemSlotDropPanel implements OnChanges {
19
19
  itemType?: VizItemType | string;
20
20
  /** The language to use for locale-aware formatting and labels */
21
21
  contentLanguage?: string;
22
+ /** The language of built-in slot headings, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
23
+ slotLabelLanguage?: string;
22
24
  /** Optional custom slots configuration (overrides loaded config from item-type). Each slot defines what data types it accepts and its behavior. */
23
25
  slotsConfiguration?: SlotConfig[];
24
26
  /** Optional custom positioning configuration for grid layout (overrides loaded config). Only used when `positioned` attribute is true. */
@@ -74,7 +76,7 @@ export declare class LuzmoItemSlotDropPanel implements OnChanges {
74
76
  private setHostProperty;
75
77
  private bindEvents;
76
78
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotDropPanel, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDropPanel, "luzmo-item-slot-drop-panel", ["luzmoItemSlotDropPanel"], { "hasConnectedComparisonFilter": { "alias": "hasConnectedComparisonFilter"; "required": false; }; "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>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDropPanel, "luzmo-item-slot-drop-panel", ["luzmoItemSlotDropPanel"], { "hasConnectedComparisonFilter": { "alias": "hasConnectedComparisonFilter"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotLabelLanguage": { "alias": "slotLabelLanguage"; "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>;
78
80
  static ngAcceptInputType_hasConnectedComparisonFilter: unknown;
79
81
  static ngAcceptInputType_positioned: unknown;
80
82
  static ngAcceptInputType_hideDelete: unknown;
@@ -21,6 +21,8 @@ export class LuzmoItemSlotDropPanel {
21
21
  itemType;
22
22
  /** The language to use for locale-aware formatting and labels */
23
23
  contentLanguage;
24
+ /** The language of built-in slot headings, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
25
+ slotLabelLanguage;
24
26
  /** Optional custom slots configuration (overrides loaded config from item-type). Each slot defines what data types it accepts and its behavior. */
25
27
  slotsConfiguration;
26
28
  /** Optional custom positioning configuration for grid layout (overrides loaded config). Only used when `positioned` attribute is true. */
@@ -85,6 +87,9 @@ export class LuzmoItemSlotDropPanel {
85
87
  case 'contentLanguage':
86
88
  this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
87
89
  break;
90
+ case 'slotLabelLanguage':
91
+ this.setHostProperty('slotLabelLanguage', changes['slotLabelLanguage'].currentValue);
92
+ break;
88
93
  case 'slotsConfiguration':
89
94
  this.setHostProperty('slotsConfiguration', changes['slotsConfiguration'].currentValue);
90
95
  break;
@@ -170,7 +175,7 @@ export class LuzmoItemSlotDropPanel {
170
175
  }));
171
176
  }
172
177
  static ɵfac = function LuzmoItemSlotDropPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotDropPanel)(); };
173
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotDropPanel, selectors: [["luzmo-item-slot-drop-panel"]], inputs: { hasConnectedComparisonFilter: [2, "hasConnectedComparisonFilter", "hasConnectedComparisonFilter", booleanAttribute], 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) {
178
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotDropPanel, selectors: [["luzmo-item-slot-drop-panel"]], inputs: { hasConnectedComparisonFilter: [2, "hasConnectedComparisonFilter", "hasConnectedComparisonFilter", booleanAttribute], itemType: "itemType", contentLanguage: "contentLanguage", slotLabelLanguage: "slotLabelLanguage", 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) {
174
179
  i0.ɵɵprojectionDef();
175
180
  i0.ɵɵprojection(0);
176
181
  } }, encapsulation: 2 });
@@ -193,6 +198,9 @@ export class LuzmoItemSlotDropPanel {
193
198
  }], contentLanguage: [{
194
199
  type: Input,
195
200
  args: [{ alias: 'contentLanguage' }]
201
+ }], slotLabelLanguage: [{
202
+ type: Input,
203
+ args: [{ alias: 'slotLabelLanguage' }]
196
204
  }], slotsConfiguration: [{
197
205
  type: Input,
198
206
  args: [{ alias: 'slotsConfiguration' }]
@@ -25,6 +25,8 @@ export declare class LuzmoItemSlotDrop implements OnChanges {
25
25
  slotsContents?: VizItemSlot[];
26
26
  /** Overrides the slot's default label. */
27
27
  label?: string;
28
+ /** The language of built-in slot headings, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
29
+ slotLabelLanguage?: string;
28
30
  /** 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`. */
29
31
  contentLanguage?: string;
30
32
  /** CSS selector for the boundary element that constrains dragging within the slot menu. */
@@ -70,7 +72,7 @@ export declare class LuzmoItemSlotDrop implements OnChanges {
70
72
  private setHostProperty;
71
73
  private bindEvents;
72
74
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotDrop, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDrop, "luzmo-item-slot-drop", ["luzmoItemSlotDrop"], { "hasConnectedComparisonFilter": { "alias": "hasConnectedComparisonFilter"; "required": false; }; "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>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDrop, "luzmo-item-slot-drop", ["luzmoItemSlotDrop"], { "hasConnectedComparisonFilter": { "alias": "hasConnectedComparisonFilter"; "required": false; }; "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; }; "slotLabelLanguage": { "alias": "slotLabelLanguage"; "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>;
74
76
  static ngAcceptInputType_hasConnectedComparisonFilter: unknown;
75
77
  static ngAcceptInputType_rotate: unknown;
76
78
  static ngAcceptInputType_hideDelete: unknown;
@@ -27,6 +27,8 @@ export class LuzmoItemSlotDrop {
27
27
  slotsContents;
28
28
  /** Overrides the slot's default label. */
29
29
  label;
30
+ /** The language of built-in slot headings, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
31
+ slotLabelLanguage;
30
32
  /** 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`. */
31
33
  contentLanguage;
32
34
  /** CSS selector for the boundary element that constrains dragging within the slot menu. */
@@ -90,6 +92,9 @@ export class LuzmoItemSlotDrop {
90
92
  case 'label':
91
93
  this.setHostProperty('label', changes['label'].currentValue);
92
94
  break;
95
+ case 'slotLabelLanguage':
96
+ this.setHostProperty('slotLabelLanguage', changes['slotLabelLanguage'].currentValue);
97
+ break;
93
98
  case 'contentLanguage':
94
99
  this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
95
100
  break;
@@ -163,7 +168,7 @@ export class LuzmoItemSlotDrop {
163
168
  }));
164
169
  }
165
170
  static ɵfac = function LuzmoItemSlotDrop_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotDrop)(); };
166
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotDrop, selectors: [["luzmo-item-slot-drop"]], inputs: { hasConnectedComparisonFilter: [2, "hasConnectedComparisonFilter", "hasConnectedComparisonFilter", booleanAttribute], 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) {
171
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotDrop, selectors: [["luzmo-item-slot-drop"]], inputs: { hasConnectedComparisonFilter: [2, "hasConnectedComparisonFilter", "hasConnectedComparisonFilter", booleanAttribute], itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotsContents: "slotsContents", label: "label", slotLabelLanguage: "slotLabelLanguage", 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) {
167
172
  i0.ɵɵprojectionDef();
168
173
  i0.ɵɵprojection(0);
169
174
  } }, encapsulation: 2 });
@@ -195,6 +200,9 @@ export class LuzmoItemSlotDrop {
195
200
  }], label: [{
196
201
  type: Input,
197
202
  args: [{ alias: 'label' }]
203
+ }], slotLabelLanguage: [{
204
+ type: Input,
205
+ args: [{ alias: 'slotLabelLanguage' }]
198
206
  }], contentLanguage: [{
199
207
  type: Input,
200
208
  args: [{ alias: 'contentLanguage' }]
@@ -20,6 +20,8 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
20
20
  itemType?: VizItemType | string;
21
21
  /** The language to use for locale-aware formatting and labels */
22
22
  contentLanguage?: string;
23
+ /** The language of built-in slot headings, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
24
+ slotLabelLanguage?: string;
23
25
  /** Optional custom slots configuration (overrides loaded config) */
24
26
  slotsConfiguration?: SlotConfig[];
25
27
  /** The contents of all slots */
@@ -93,7 +95,7 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
93
95
  private setHostProperty;
94
96
  private bindEvents;
95
97
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPickerPanel, never>;
96
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "hasConnectedComparisonFilter": { "alias": "hasConnectedComparisonFilter"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "hasConnectedComparisonFilter": { "alias": "hasConnectedComparisonFilter"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotLabelLanguage": { "alias": "slotLabelLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
97
99
  static ngAcceptInputType_hasConnectedComparisonFilter: unknown;
98
100
  static ngAcceptInputType_datasetPicker: unknown;
99
101
  static ngAcceptInputType_grows: unknown;
@@ -21,6 +21,8 @@ export class LuzmoItemSlotPickerPanel {
21
21
  itemType;
22
22
  /** The language to use for locale-aware formatting and labels */
23
23
  contentLanguage;
24
+ /** The language of built-in slot headings, independent of the interface `language`. Falls back to `language` when not set. Unsupported languages use English. Does not change the language of menus or other interface text. */
25
+ slotLabelLanguage;
24
26
  /** Optional custom slots configuration (overrides loaded config) */
25
27
  slotsConfiguration;
26
28
  /** The contents of all slots */
@@ -103,6 +105,9 @@ export class LuzmoItemSlotPickerPanel {
103
105
  case 'contentLanguage':
104
106
  this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
105
107
  break;
108
+ case 'slotLabelLanguage':
109
+ this.setHostProperty('slotLabelLanguage', changes['slotLabelLanguage'].currentValue);
110
+ break;
106
111
  case 'slotsConfiguration':
107
112
  this.setHostProperty('slotsConfiguration', changes['slotsConfiguration'].currentValue);
108
113
  break;
@@ -217,7 +222,7 @@ export class LuzmoItemSlotPickerPanel {
217
222
  }));
218
223
  }
219
224
  static ɵfac = function LuzmoItemSlotPickerPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPickerPanel)(); };
220
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { hasConnectedComparisonFilter: [2, "hasConnectedComparisonFilter", "hasConnectedComparisonFilter", booleanAttribute], itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"], language: "language", size: "size" }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
225
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { hasConnectedComparisonFilter: [2, "hasConnectedComparisonFilter", "hasConnectedComparisonFilter", booleanAttribute], itemType: "itemType", contentLanguage: "contentLanguage", slotLabelLanguage: "slotLabelLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"], language: "language", size: "size" }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
221
226
  i0.ɵɵprojectionDef();
222
227
  i0.ɵɵprojection(0);
223
228
  } }, encapsulation: 2 });
@@ -240,6 +245,9 @@ export class LuzmoItemSlotPickerPanel {
240
245
  }], contentLanguage: [{
241
246
  type: Input,
242
247
  args: [{ alias: 'contentLanguage' }]
248
+ }], slotLabelLanguage: [{
249
+ type: Input,
250
+ args: [{ alias: 'slotLabelLanguage' }]
243
251
  }], slotsConfiguration: [{
244
252
  type: Input,
245
253
  args: [{ alias: 'slotsConfiguration' }]
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": "2.3.0"
32
+ "@luzmo/analytics-components-kit": "2.5.0"
33
33
  },
34
- "version": "2.3.0",
34
+ "version": "2.5.0",
35
35
  "repository": {
36
36
  "type": "git",
37
37
  "url": "git+https://github.com/cumulio-internal/analytics-components-kit.git"