@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
@@ -22,6 +22,17 @@ export declare class LuzmoFilterValuePickerHierarchy implements OnChanges {
22
22
  contentLanguage?: string;
23
23
  /** The filter used to retrieve the value */
24
24
  filter?: any;
25
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
26
+ language?: string;
27
+ /** The size of the element */
28
+ size?: 's' | 'm' | 'l' | 'xl';
29
+ /** Disable this control. It will not receive focus or events */
30
+ disabled?: boolean;
31
+ /** When this control is rendered, focus it automatically */
32
+ autofocus?: boolean;
33
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
34
+ tabIndex?: number;
35
+ /** Fired when the hierarchy filter value changes; `detail.value` holds the selected value(s). */
25
36
  readonly luzmoFilterValueChanged: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
26
37
  constructor();
27
38
  ngOnChanges(changes: SimpleChanges): void;
@@ -34,7 +45,9 @@ export declare class LuzmoFilterValuePickerHierarchy implements OnChanges {
34
45
  private setHostProperty;
35
46
  private bindEvents;
36
47
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterValuePickerHierarchy, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePickerHierarchy, "luzmo-filter-value-picker-hierarchy", ["luzmoFilterValuePickerHierarchy"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePickerHierarchy, "luzmo-filter-value-picker-hierarchy", ["luzmoFilterValuePickerHierarchy"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
49
+ static ngAcceptInputType_disabled: unknown;
50
+ static ngAcceptInputType_autofocus: unknown;
38
51
  }
39
52
  /** The underlying custom element type for LuzmoFilterValuePickerHierarchy */
40
53
  export type LuzmoFilterValuePickerHierarchyElement = LuzmoFilterValuePickerHierarchyHostElement;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
1
+ import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
2
2
  import '@luzmo/analytics-components-kit/filter-value-picker-hierarchy';
3
3
  import * as i0 from "@angular/core";
4
4
  const _c0 = ["*"];
@@ -27,6 +27,17 @@ export class LuzmoFilterValuePickerHierarchy {
27
27
  contentLanguage;
28
28
  /** The filter used to retrieve the value */
29
29
  filter;
30
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
31
+ language;
32
+ /** The size of the element */
33
+ size;
34
+ /** Disable this control. It will not receive focus or events */
35
+ disabled;
36
+ /** When this control is rendered, focus it automatically */
37
+ autofocus;
38
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
39
+ tabIndex;
40
+ /** Fired when the hierarchy filter value changes; `detail.value` holds the selected value(s). */
30
41
  luzmoFilterValueChanged = output({ alias: 'luzmoFilterValueChanged' });
31
42
  constructor() {
32
43
  this.bindEvents();
@@ -57,6 +68,21 @@ export class LuzmoFilterValuePickerHierarchy {
57
68
  case 'filter':
58
69
  this.setHostProperty('filter', changes['filter'].currentValue);
59
70
  break;
71
+ case 'language':
72
+ this.setHostProperty('language', changes['language'].currentValue);
73
+ break;
74
+ case 'size':
75
+ this.setHostProperty('size', changes['size'].currentValue);
76
+ break;
77
+ case 'disabled':
78
+ this.setHostProperty('disabled', changes['disabled'].currentValue);
79
+ break;
80
+ case 'autofocus':
81
+ this.setHostProperty('autofocus', changes['autofocus'].currentValue);
82
+ break;
83
+ case 'tabIndex':
84
+ this.setHostProperty('tabIndex', changes['tabIndex'].currentValue);
85
+ break;
60
86
  default:
61
87
  break;
62
88
  }
@@ -78,7 +104,7 @@ export class LuzmoFilterValuePickerHierarchy {
78
104
  }));
79
105
  }
80
106
  static ɵfac = function LuzmoFilterValuePickerHierarchy_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterValuePickerHierarchy)(); };
81
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePickerHierarchy, selectors: [["luzmo-filter-value-picker-hierarchy"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", filter: "filter" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePickerHierarchy"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePickerHierarchy_Template(rf, ctx) { if (rf & 1) {
107
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePickerHierarchy, selectors: [["luzmo-filter-value-picker-hierarchy"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", filter: "filter", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePickerHierarchy"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePickerHierarchy_Template(rf, ctx) { if (rf & 1) {
82
108
  i0.ɵɵprojectionDef();
83
109
  i0.ɵɵprojection(0);
84
110
  } }, encapsulation: 2, changeDetection: 0 });
@@ -110,5 +136,20 @@ export class LuzmoFilterValuePickerHierarchy {
110
136
  }], filter: [{
111
137
  type: Input,
112
138
  args: [{ alias: 'filter' }]
139
+ }], language: [{
140
+ type: Input,
141
+ args: [{ alias: 'language' }]
142
+ }], size: [{
143
+ type: Input,
144
+ args: [{ alias: 'size' }]
145
+ }], disabled: [{
146
+ type: Input,
147
+ args: [{ alias: 'disabled', transform: booleanAttribute }]
148
+ }], autofocus: [{
149
+ type: Input,
150
+ args: [{ alias: 'autofocus', transform: booleanAttribute }]
151
+ }], tabIndex: [{
152
+ type: Input,
153
+ args: [{ alias: 'tabIndex' }]
113
154
  }], luzmoFilterValueChanged: [{ type: i0.Output, args: ["luzmoFilterValueChanged"] }] }); })();
114
155
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterValuePickerHierarchy, { className: "LuzmoFilterValuePickerHierarchy", filePath: "components/filter-value-picker-hierarchy.ts", lineNumber: 15 }); })();
@@ -22,6 +22,17 @@ export declare class LuzmoFilterValuePickerNumeric implements OnChanges {
22
22
  contentLanguage?: string;
23
23
  /** The filter used to retrieve the value */
24
24
  filter?: any;
25
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
26
+ language?: string;
27
+ /** The size of the element */
28
+ size?: 's' | 'm' | 'l' | 'xl';
29
+ /** Disable this control. It will not receive focus or events */
30
+ disabled?: boolean;
31
+ /** When this control is rendered, focus it automatically */
32
+ autofocus?: boolean;
33
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
34
+ tabIndex?: number;
35
+ /** Fired when the numeric filter value changes; `detail.value` holds the new number or range. */
25
36
  readonly luzmoFilterValueChanged: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
26
37
  constructor();
27
38
  ngOnChanges(changes: SimpleChanges): void;
@@ -34,7 +45,9 @@ export declare class LuzmoFilterValuePickerNumeric implements OnChanges {
34
45
  private setHostProperty;
35
46
  private bindEvents;
36
47
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterValuePickerNumeric, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePickerNumeric, "luzmo-filter-value-picker-numeric", ["luzmoFilterValuePickerNumeric"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePickerNumeric, "luzmo-filter-value-picker-numeric", ["luzmoFilterValuePickerNumeric"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
49
+ static ngAcceptInputType_disabled: unknown;
50
+ static ngAcceptInputType_autofocus: unknown;
38
51
  }
39
52
  /** The underlying custom element type for LuzmoFilterValuePickerNumeric */
40
53
  export type LuzmoFilterValuePickerNumericElement = LuzmoFilterValuePickerNumericHostElement;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
1
+ import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
2
2
  import '@luzmo/analytics-components-kit/filter-value-picker-numeric';
3
3
  import * as i0 from "@angular/core";
4
4
  const _c0 = ["*"];
@@ -27,6 +27,17 @@ export class LuzmoFilterValuePickerNumeric {
27
27
  contentLanguage;
28
28
  /** The filter used to retrieve the value */
29
29
  filter;
30
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
31
+ language;
32
+ /** The size of the element */
33
+ size;
34
+ /** Disable this control. It will not receive focus or events */
35
+ disabled;
36
+ /** When this control is rendered, focus it automatically */
37
+ autofocus;
38
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
39
+ tabIndex;
40
+ /** Fired when the numeric filter value changes; `detail.value` holds the new number or range. */
30
41
  luzmoFilterValueChanged = output({ alias: 'luzmoFilterValueChanged' });
31
42
  constructor() {
32
43
  this.bindEvents();
@@ -57,6 +68,21 @@ export class LuzmoFilterValuePickerNumeric {
57
68
  case 'filter':
58
69
  this.setHostProperty('filter', changes['filter'].currentValue);
59
70
  break;
71
+ case 'language':
72
+ this.setHostProperty('language', changes['language'].currentValue);
73
+ break;
74
+ case 'size':
75
+ this.setHostProperty('size', changes['size'].currentValue);
76
+ break;
77
+ case 'disabled':
78
+ this.setHostProperty('disabled', changes['disabled'].currentValue);
79
+ break;
80
+ case 'autofocus':
81
+ this.setHostProperty('autofocus', changes['autofocus'].currentValue);
82
+ break;
83
+ case 'tabIndex':
84
+ this.setHostProperty('tabIndex', changes['tabIndex'].currentValue);
85
+ break;
60
86
  default:
61
87
  break;
62
88
  }
@@ -78,7 +104,7 @@ export class LuzmoFilterValuePickerNumeric {
78
104
  }));
79
105
  }
80
106
  static ɵfac = function LuzmoFilterValuePickerNumeric_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterValuePickerNumeric)(); };
81
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePickerNumeric, selectors: [["luzmo-filter-value-picker-numeric"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", filter: "filter" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePickerNumeric"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePickerNumeric_Template(rf, ctx) { if (rf & 1) {
107
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePickerNumeric, selectors: [["luzmo-filter-value-picker-numeric"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", filter: "filter", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePickerNumeric"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePickerNumeric_Template(rf, ctx) { if (rf & 1) {
82
108
  i0.ɵɵprojectionDef();
83
109
  i0.ɵɵprojection(0);
84
110
  } }, encapsulation: 2, changeDetection: 0 });
@@ -110,5 +136,20 @@ export class LuzmoFilterValuePickerNumeric {
110
136
  }], filter: [{
111
137
  type: Input,
112
138
  args: [{ alias: 'filter' }]
139
+ }], language: [{
140
+ type: Input,
141
+ args: [{ alias: 'language' }]
142
+ }], size: [{
143
+ type: Input,
144
+ args: [{ alias: 'size' }]
145
+ }], disabled: [{
146
+ type: Input,
147
+ args: [{ alias: 'disabled', transform: booleanAttribute }]
148
+ }], autofocus: [{
149
+ type: Input,
150
+ args: [{ alias: 'autofocus', transform: booleanAttribute }]
151
+ }], tabIndex: [{
152
+ type: Input,
153
+ args: [{ alias: 'tabIndex' }]
113
154
  }], luzmoFilterValueChanged: [{ type: i0.Output, args: ["luzmoFilterValueChanged"] }] }); })();
114
155
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterValuePickerNumeric, { className: "LuzmoFilterValuePickerNumeric", filePath: "components/filter-value-picker-numeric.ts", lineNumber: 15 }); })();
@@ -26,6 +26,17 @@ export declare class LuzmoFilterValuePicker implements OnChanges {
26
26
  valueType?: 'hierarchy' | 'numeric' | 'datetime';
27
27
  /** The filter for which to render the value picker */
28
28
  filter?: any;
29
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
30
+ language?: string;
31
+ /** The size of the element */
32
+ size?: 's' | 'm' | 'l' | 'xl';
33
+ /** Disable this control. It will not receive focus or events */
34
+ disabled?: boolean;
35
+ /** When this control is rendered, focus it automatically */
36
+ autofocus?: boolean;
37
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
38
+ tabIndex?: number;
39
+ /** Fired when the filter value changes; `detail.value` holds the new value. */
29
40
  readonly luzmoFilterValueChanged: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
30
41
  constructor();
31
42
  ngOnChanges(changes: SimpleChanges): void;
@@ -38,7 +49,9 @@ export declare class LuzmoFilterValuePicker implements OnChanges {
38
49
  private setHostProperty;
39
50
  private bindEvents;
40
51
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterValuePicker, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePicker, "luzmo-filter-value-picker", ["luzmoFilterValuePicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "valueType": { "alias": "valueType"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePicker, "luzmo-filter-value-picker", ["luzmoFilterValuePicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "valueType": { "alias": "valueType"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
53
+ static ngAcceptInputType_disabled: unknown;
54
+ static ngAcceptInputType_autofocus: unknown;
42
55
  }
43
56
  /** The underlying custom element type for LuzmoFilterValuePicker */
44
57
  export type LuzmoFilterValuePickerElement = LuzmoFilterValuePickerHostElement;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
1
+ import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
2
2
  import '@luzmo/analytics-components-kit/filter-value-picker';
3
3
  import * as i0 from "@angular/core";
4
4
  const _c0 = ["*"];
@@ -31,6 +31,17 @@ export class LuzmoFilterValuePicker {
31
31
  valueType;
32
32
  /** The filter for which to render the value picker */
33
33
  filter;
34
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
35
+ language;
36
+ /** The size of the element */
37
+ size;
38
+ /** Disable this control. It will not receive focus or events */
39
+ disabled;
40
+ /** When this control is rendered, focus it automatically */
41
+ autofocus;
42
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
43
+ tabIndex;
44
+ /** Fired when the filter value changes; `detail.value` holds the new value. */
34
45
  luzmoFilterValueChanged = output({ alias: 'luzmoFilterValueChanged' });
35
46
  constructor() {
36
47
  this.bindEvents();
@@ -67,6 +78,21 @@ export class LuzmoFilterValuePicker {
67
78
  case 'filter':
68
79
  this.setHostProperty('filter', changes['filter'].currentValue);
69
80
  break;
81
+ case 'language':
82
+ this.setHostProperty('language', changes['language'].currentValue);
83
+ break;
84
+ case 'size':
85
+ this.setHostProperty('size', changes['size'].currentValue);
86
+ break;
87
+ case 'disabled':
88
+ this.setHostProperty('disabled', changes['disabled'].currentValue);
89
+ break;
90
+ case 'autofocus':
91
+ this.setHostProperty('autofocus', changes['autofocus'].currentValue);
92
+ break;
93
+ case 'tabIndex':
94
+ this.setHostProperty('tabIndex', changes['tabIndex'].currentValue);
95
+ break;
70
96
  default:
71
97
  break;
72
98
  }
@@ -88,7 +114,7 @@ export class LuzmoFilterValuePicker {
88
114
  }));
89
115
  }
90
116
  static ɵfac = function LuzmoFilterValuePicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterValuePicker)(); };
91
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePicker, selectors: [["luzmo-filter-value-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", valueType: "valueType", filter: "filter" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePicker_Template(rf, ctx) { if (rf & 1) {
117
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePicker, selectors: [["luzmo-filter-value-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", valueType: "valueType", filter: "filter", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePicker_Template(rf, ctx) { if (rf & 1) {
92
118
  i0.ɵɵprojectionDef();
93
119
  i0.ɵɵprojection(0);
94
120
  } }, encapsulation: 2, changeDetection: 0 });
@@ -126,5 +152,20 @@ export class LuzmoFilterValuePicker {
126
152
  }], filter: [{
127
153
  type: Input,
128
154
  args: [{ alias: 'filter' }]
155
+ }], language: [{
156
+ type: Input,
157
+ args: [{ alias: 'language' }]
158
+ }], size: [{
159
+ type: Input,
160
+ args: [{ alias: 'size' }]
161
+ }], disabled: [{
162
+ type: Input,
163
+ args: [{ alias: 'disabled', transform: booleanAttribute }]
164
+ }], autofocus: [{
165
+ type: Input,
166
+ args: [{ alias: 'autofocus', transform: booleanAttribute }]
167
+ }], tabIndex: [{
168
+ type: Input,
169
+ args: [{ alias: 'tabIndex' }]
129
170
  }], luzmoFilterValueChanged: [{ type: i0.Output, args: ["luzmoFilterValueChanged"] }] }); })();
130
171
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterValuePicker, { className: "LuzmoFilterValuePicker", filePath: "components/filter-value-picker.ts", lineNumber: 15 }); })();
@@ -30,6 +30,16 @@ export declare class LuzmoFilters implements OnChanges {
30
30
  filters?: ItemFilterGroup[];
31
31
  /** Debounce time in milliseconds for the filters-changed event */
32
32
  debounce?: number;
33
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
34
+ language?: string;
35
+ /** The size of the element */
36
+ size?: 's' | 'm' | 'l' | 'xl';
37
+ /** Disable this control. It will not receive focus or events */
38
+ disabled?: boolean;
39
+ /** When this control is rendered, focus it automatically */
40
+ autofocus?: boolean;
41
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
42
+ tabIndex?: number;
33
43
  /** Announces that the filters have changed */
34
44
  readonly luzmoFiltersChanged: import("@angular/core").OutputEmitterRef<CustomEvent<FiltersChangedEventDetail>>;
35
45
  constructor();
@@ -43,7 +53,9 @@ export declare class LuzmoFilters implements OnChanges {
43
53
  private setHostProperty;
44
54
  private bindEvents;
45
55
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilters, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilters, "luzmo-filters", ["luzmoFilters"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "luzmoFiltersChanged": "luzmoFiltersChanged"; }, never, ["*"], true, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilters, "luzmo-filters", ["luzmoFilters"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFiltersChanged": "luzmoFiltersChanged"; }, never, ["*"], true, never>;
57
+ static ngAcceptInputType_disabled: unknown;
58
+ static ngAcceptInputType_autofocus: unknown;
47
59
  }
48
60
  /** The underlying custom element type for LuzmoFilters */
49
61
  export type LuzmoFiltersElement = LuzmoFiltersHostElement;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
1
+ import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
2
2
  import '@luzmo/analytics-components-kit/filters';
3
3
  import * as i0 from "@angular/core";
4
4
  const _c0 = ["*"];
@@ -33,6 +33,16 @@ export class LuzmoFilters {
33
33
  filters;
34
34
  /** Debounce time in milliseconds for the filters-changed event */
35
35
  debounce;
36
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
37
+ language;
38
+ /** The size of the element */
39
+ size;
40
+ /** Disable this control. It will not receive focus or events */
41
+ disabled;
42
+ /** When this control is rendered, focus it automatically */
43
+ autofocus;
44
+ /** The tab index to apply to this control. See general documentation about the tabindex HTML property */
45
+ tabIndex;
36
46
  /** Announces that the filters have changed */
37
47
  luzmoFiltersChanged = output({ alias: 'luzmoFiltersChanged' });
38
48
  constructor() {
@@ -73,6 +83,21 @@ export class LuzmoFilters {
73
83
  case 'debounce':
74
84
  this.setHostProperty('debounce', changes['debounce'].currentValue);
75
85
  break;
86
+ case 'language':
87
+ this.setHostProperty('language', changes['language'].currentValue);
88
+ break;
89
+ case 'size':
90
+ this.setHostProperty('size', changes['size'].currentValue);
91
+ break;
92
+ case 'disabled':
93
+ this.setHostProperty('disabled', changes['disabled'].currentValue);
94
+ break;
95
+ case 'autofocus':
96
+ this.setHostProperty('autofocus', changes['autofocus'].currentValue);
97
+ break;
98
+ case 'tabIndex':
99
+ this.setHostProperty('tabIndex', changes['tabIndex'].currentValue);
100
+ break;
76
101
  default:
77
102
  break;
78
103
  }
@@ -94,7 +119,7 @@ export class LuzmoFilters {
94
119
  }));
95
120
  }
96
121
  static ɵfac = function LuzmoFilters_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilters)(); };
97
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilters, selectors: [["luzmo-filters"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", debounce: "debounce" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged" }, exportAs: ["luzmoFilters"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilters_Template(rf, ctx) { if (rf & 1) {
122
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilters, selectors: [["luzmo-filters"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", debounce: "debounce", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged" }, exportAs: ["luzmoFilters"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilters_Template(rf, ctx) { if (rf & 1) {
98
123
  i0.ɵɵprojectionDef();
99
124
  i0.ɵɵprojection(0);
100
125
  } }, encapsulation: 2, changeDetection: 0 });
@@ -135,5 +160,20 @@ export class LuzmoFilters {
135
160
  }], debounce: [{
136
161
  type: Input,
137
162
  args: [{ alias: 'debounce' }]
163
+ }], language: [{
164
+ type: Input,
165
+ args: [{ alias: 'language' }]
166
+ }], size: [{
167
+ type: Input,
168
+ args: [{ alias: 'size' }]
169
+ }], disabled: [{
170
+ type: Input,
171
+ args: [{ alias: 'disabled', transform: booleanAttribute }]
172
+ }], autofocus: [{
173
+ type: Input,
174
+ args: [{ alias: 'autofocus', transform: booleanAttribute }]
175
+ }], tabIndex: [{
176
+ type: Input,
177
+ args: [{ alias: 'tabIndex' }]
138
178
  }], luzmoFiltersChanged: [{ type: i0.Output, args: ["luzmoFiltersChanged"] }] }); })();
139
179
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilters, { className: "LuzmoFilters", filePath: "components/filters.ts", lineNumber: 17 }); })();
@@ -16,12 +16,46 @@ export declare class LuzmoFormulaEditor implements OnChanges {
16
16
  expressionResource?: 'column' | 'formula';
17
17
  /** How function / aggregation explanations are surfaced: as hover `tooltip`s on the list items (default), or in a dedicated `description` region. With `tooltip` there is no description, so the remaining lists spread across the full width. */
18
18
  explanationDisplay?: 'tooltip' | 'description';
19
+ /** Renders the field display-only (no editing). */
20
+ readonly?: boolean;
21
+ /** Placeholder text shown in the editable input when the expression is empty. */
22
+ placeholder?: string;
23
+ /** Number of text lines the input is sized to start with. Defaults to 3. */
24
+ rows?: number;
25
+ /** Maximum number of text lines before a scrollbar appears (only when `grows`). */
26
+ maxRows?: number;
27
+ /** Whether the input grows in height with its content (up to `maxRows` if set). */
28
+ grows?: boolean;
29
+ /** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
30
+ language?: string;
31
+ /** The formula expression (function syntax), e.g. `SUM({datasetId:columnId})`. */
32
+ expression?: string;
33
+ /** Datasets and their data fields, provided directly (takes preference over `datasetIds`). */
34
+ datasetsDataFields?: unknown;
35
+ /** Dataset ids to fetch from the Luzmo API (auth attributes optional for public datasets). */
36
+ datasetIds?: string[];
37
+ /** Base URL of the Luzmo API used to fetch datasets by id. */
38
+ apiUrl?: string;
39
+ /** Luzmo API authorization key, used with `authToken` to fetch datasets by id. */
40
+ authKey?: string;
41
+ /** Luzmo API authorization token, used with `authKey` to fetch datasets by id. */
42
+ authToken?: string;
43
+ /** Whether aggregation functions are offered (in the autocompletion, and - for the editor - via the aggregations list and pills). Defaults to `true`. Note: as a boolean attribute defaulting to `true` it cannot be turned off via markup (an absent attribute keeps the default); set the `.showAggregations` property to `false` to disable. */
44
+ showAggregations?: boolean;
45
+ /** Language used for data labels (column / dataset names). */
46
+ contentLanguage?: string;
47
+ /** When true, aggregations render as multi-stage nested widgets. */
48
+ multiStageAggregation?: boolean;
49
+ /** When true, aggregations can be nested inside other aggregations. */
50
+ nestedAggregation?: boolean;
51
+ /** The size of the element */
52
+ size?: 's' | 'm' | 'l' | 'xl';
19
53
  /** Fired when expression validity changes. */
20
54
  readonly luzmoValidityChanged: import("@angular/core").OutputEmitterRef<CustomEvent<ValidityChangedEventDetail>>;
21
55
  /** Fired (debounced) when the expression changes. */
22
- readonly luzmoExpressionChanged: import("@angular/core").OutputEmitterRef<unknown>;
56
+ readonly luzmoExpressionChanged: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
23
57
  /** Fired when fetching datasets by id fails. */
24
- readonly luzmoDatasetsError: import("@angular/core").OutputEmitterRef<unknown>;
58
+ readonly luzmoDatasetsError: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
25
59
  constructor();
26
60
  ngOnChanges(changes: SimpleChanges): void;
27
61
  /**
@@ -33,7 +67,12 @@ export declare class LuzmoFormulaEditor implements OnChanges {
33
67
  private setHostProperty;
34
68
  private bindEvents;
35
69
  static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFormulaEditor, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFormulaEditor, "luzmo-formula-editor", ["luzmoFormulaEditor"], { "expressionResource": { "alias": "expressionResource"; "required": false; }; "explanationDisplay": { "alias": "explanationDisplay"; "required": false; }; }, { "luzmoValidityChanged": "luzmoValidityChanged"; "luzmoExpressionChanged": "luzmoExpressionChanged"; "luzmoDatasetsError": "luzmoDatasetsError"; }, never, ["*"], true, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFormulaEditor, "luzmo-formula-editor", ["luzmoFormulaEditor"], { "expressionResource": { "alias": "expressionResource"; "required": false; }; "explanationDisplay": { "alias": "explanationDisplay"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "language": { "alias": "language"; "required": false; }; "expression": { "alias": "expression"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "showAggregations": { "alias": "showAggregations"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "multiStageAggregation": { "alias": "multiStageAggregation"; "required": false; }; "nestedAggregation": { "alias": "nestedAggregation"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoValidityChanged": "luzmoValidityChanged"; "luzmoExpressionChanged": "luzmoExpressionChanged"; "luzmoDatasetsError": "luzmoDatasetsError"; }, never, ["*"], true, never>;
71
+ static ngAcceptInputType_readonly: unknown;
72
+ static ngAcceptInputType_grows: unknown;
73
+ static ngAcceptInputType_showAggregations: unknown;
74
+ static ngAcceptInputType_multiStageAggregation: unknown;
75
+ static ngAcceptInputType_nestedAggregation: unknown;
37
76
  }
38
77
  /** The underlying custom element type for LuzmoFormulaEditor */
39
78
  export type LuzmoFormulaEditorElement = LuzmoFormulaEditorHostElement;