@luzmo/ngx-analytics-components-kit 1.0.3-beta.11 → 1.0.3-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/data-field-level.d.ts +9 -1
- package/esm/components/data-field-level.js +15 -1
- package/esm/components/data-field-panel.d.ts +5 -1
- package/esm/components/data-field-panel.js +17 -1
- package/esm/components/data-field.d.ts +10 -1
- package/esm/components/data-field.js +22 -1
- package/esm/components/data-fields-select.d.ts +10 -1
- package/esm/components/data-fields-select.js +33 -1
- package/esm/components/display-settings-binning.d.ts +6 -1
- package/esm/components/display-settings-binning.js +18 -1
- package/esm/components/display-settings-datetime.d.ts +5 -1
- package/esm/components/display-settings-datetime.js +11 -1
- package/esm/components/display-settings-grand-totals.d.ts +5 -1
- package/esm/components/display-settings-grand-totals.js +17 -1
- package/esm/components/display-settings-numeric.d.ts +5 -1
- package/esm/components/display-settings-numeric.js +17 -1
- package/esm/components/display-settings-period-over-period.d.ts +7 -1
- package/esm/components/display-settings-period-over-period.js +19 -1
- package/esm/components/display-settings.d.ts +4 -1
- package/esm/components/display-settings.js +10 -1
- package/esm/components/filter-expression-picker.d.ts +11 -1
- package/esm/components/filter-expression-picker.js +34 -1
- package/esm/components/filter-item.d.ts +14 -1
- package/esm/components/filter-item.js +43 -2
- package/esm/components/filter-parameter-picker.d.ts +11 -1
- package/esm/components/filter-parameter-picker.js +34 -2
- package/esm/components/filter-value-picker-datetime.d.ts +14 -1
- package/esm/components/filter-value-picker-datetime.js +43 -2
- package/esm/components/filter-value-picker-hierarchy.d.ts +14 -1
- package/esm/components/filter-value-picker-hierarchy.js +43 -2
- package/esm/components/filter-value-picker-numeric.d.ts +14 -1
- package/esm/components/filter-value-picker-numeric.js +43 -2
- package/esm/components/filter-value-picker.d.ts +14 -1
- package/esm/components/filter-value-picker.js +43 -2
- package/esm/components/filters.d.ts +13 -1
- package/esm/components/filters.js +42 -2
- package/esm/components/formula-editor.d.ts +42 -3
- package/esm/components/formula-editor.js +138 -2
- package/esm/components/formula-field.d.ts +42 -3
- package/esm/components/formula-field.js +145 -5
- package/esm/components/formula.d.ts +31 -2
- package/esm/components/formula.js +105 -3
- package/esm/components/item-grid-item-actions-menu.d.ts +12 -1
- package/esm/components/item-grid-item-actions-menu.js +35 -2
- package/esm/components/item-option-action-button-group.d.ts +12 -1
- package/esm/components/item-option-action-button-group.js +49 -5
- package/esm/components/item-option-color-palette-picker.d.ts +19 -1
- package/esm/components/item-option-color-palette-picker.js +73 -5
- package/esm/components/item-option-color-picker.d.ts +17 -1
- package/esm/components/item-option-color-picker.js +40 -3
- package/esm/components/item-option-color-range.d.ts +37 -1
- package/esm/components/item-option-color-range.js +121 -5
- package/esm/components/item-option-multi-language-field.d.ts +20 -1
- package/esm/components/item-option-multi-language-field.js +67 -2
- package/esm/components/item-option-number-field.d.ts +27 -1
- package/esm/components/item-option-number-field.js +92 -2
- package/esm/components/item-option-picker.d.ts +17 -1
- package/esm/components/item-option-picker.js +66 -6
- package/esm/components/item-option-position-picker.d.ts +10 -1
- package/esm/components/item-option-position-picker.js +41 -5
- package/esm/components/item-option-positions-number-field.d.ts +23 -1
- package/esm/components/item-option-positions-number-field.js +68 -2
- package/esm/components/item-option-radio-button-group.d.ts +15 -1
- package/esm/components/item-option-radio-button-group.js +51 -2
- package/esm/components/item-option-slider.d.ts +11 -1
- package/esm/components/item-option-slider.js +23 -1
- package/esm/components/item-option-switch.d.ts +7 -1
- package/esm/components/item-option-switch.js +19 -1
- package/esm/components/item-option-text-field.d.ts +14 -1
- package/esm/components/item-option-text-field.js +43 -2
- package/esm/components/item-option.d.ts +10 -0
- package/esm/components/item-option.js +10 -0
- package/esm/components/item-slot-drop-panel.d.ts +5 -1
- package/esm/components/item-slot-drop-panel.js +17 -1
- package/esm/components/item-slot-drop.d.ts +15 -1
- package/esm/components/item-slot-drop.js +27 -1
- package/esm/components/item-slot-picker-panel.d.ts +5 -1
- package/esm/components/item-slot-picker-panel.js +17 -1
- package/esm/components/item-slot-picker.d.ts +7 -1
- package/esm/components/item-slot-picker.js +25 -1
- package/esm/components/slot-menu-list.d.ts +5 -1
- package/esm/components/slot-menu-list.js +11 -1
- package/esm/components/slot-menu.d.ts +16 -1
- package/esm/components/slot-menu.js +22 -1
- package/esm/components/viz-item-menu.d.ts +3 -1
- package/esm/components/viz-item-menu.js +9 -1
- package/package.json +2 -2
|
@@ -21,7 +21,9 @@ export class LuzmoSlotMenu {
|
|
|
21
21
|
contentLanguage;
|
|
22
22
|
/** The slot type */
|
|
23
23
|
slotType;
|
|
24
|
+
/** The name of the slot being edited. */
|
|
24
25
|
slotName;
|
|
26
|
+
/** The visualization item type that provides slot and option configuration. */
|
|
25
27
|
itemType;
|
|
26
28
|
/** Whether to show the drag handle and allow dragging */
|
|
27
29
|
noDrag;
|
|
@@ -31,17 +33,27 @@ export class LuzmoSlotMenu {
|
|
|
31
33
|
variant;
|
|
32
34
|
/** Whether to show the top menu label & delete button */
|
|
33
35
|
noTopMenuLabel;
|
|
36
|
+
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
34
37
|
dragBoundary;
|
|
38
|
+
/** Whether grand-totals options are available for this slot. */
|
|
35
39
|
areGrandTotalsEnabled;
|
|
40
|
+
/** Whether datetime display options are available for this slot. */
|
|
36
41
|
areDatetimeOptionsEnabled;
|
|
42
|
+
/** Whether numeric binning options are hidden for this slot. */
|
|
37
43
|
isBinningDisabled;
|
|
44
|
+
/** Whether aggregation options are hidden for this slot. */
|
|
38
45
|
isAggregationDisabled;
|
|
46
|
+
/** Whether cumulative-sum options are available for this slot. */
|
|
39
47
|
isCumulativeSumEnabled;
|
|
48
|
+
/** The contents (columns/formulas) assigned to this slot. */
|
|
40
49
|
slotContents;
|
|
50
|
+
/** Measure columns available for rate aggregation. */
|
|
41
51
|
measureColumns;
|
|
42
52
|
/** (Optional) If you only want to display a specific content of a slot, you can set the slotIndex to the index of the content you want to display. */
|
|
43
53
|
slotIndex;
|
|
54
|
+
/** Reference to the rendered display-settings element. */
|
|
44
55
|
displaySettingsElement;
|
|
56
|
+
/** Reference to the rendered slot-menu-list element. */
|
|
45
57
|
slotMenuListElement;
|
|
46
58
|
/** The API URL of the databroker */
|
|
47
59
|
apiUrl;
|
|
@@ -49,6 +61,8 @@ export class LuzmoSlotMenu {
|
|
|
49
61
|
authKey;
|
|
50
62
|
/** The auth token of the databroker */
|
|
51
63
|
authToken;
|
|
64
|
+
/** The size of the element */
|
|
65
|
+
size;
|
|
52
66
|
/** Emitted when the slot contents change */
|
|
53
67
|
luzmoSlotContentsChanged = output({ alias: 'luzmoSlotContentsChanged' });
|
|
54
68
|
/** Emitted when the slot menu is closed */
|
|
@@ -57,6 +71,7 @@ export class LuzmoSlotMenu {
|
|
|
57
71
|
luzmoSlotMenuActive = output({ alias: 'luzmoSlotMenuActive' });
|
|
58
72
|
/** Emitted to highlight a column or formula in the slot menu */
|
|
59
73
|
luzmoSlotMenuHighlight = output({ alias: 'luzmoSlotMenuHighlight' });
|
|
74
|
+
/** Emitted when the menu becomes inactive. */
|
|
60
75
|
luzmoSlotMenuInactive = output({ alias: 'luzmoSlotMenuInactive' });
|
|
61
76
|
/** Event that is fired when the info button is clicked in display-settings, includes the visibility state and ID values */
|
|
62
77
|
luzmoInfoVisibilityChanged = output({ alias: 'luzmoInfoVisibilityChanged' });
|
|
@@ -140,6 +155,9 @@ export class LuzmoSlotMenu {
|
|
|
140
155
|
case 'authToken':
|
|
141
156
|
this.setHostProperty('authToken', changes['authToken'].currentValue);
|
|
142
157
|
break;
|
|
158
|
+
case 'size':
|
|
159
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
160
|
+
break;
|
|
143
161
|
default:
|
|
144
162
|
break;
|
|
145
163
|
}
|
|
@@ -184,7 +202,7 @@ export class LuzmoSlotMenu {
|
|
|
184
202
|
return this.host.close();
|
|
185
203
|
}
|
|
186
204
|
static ɵfac = function LuzmoSlotMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSlotMenu)(); };
|
|
187
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
205
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
188
206
|
i0.ɵɵprojectionDef();
|
|
189
207
|
i0.ɵɵprojection(0);
|
|
190
208
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -267,5 +285,8 @@ export class LuzmoSlotMenu {
|
|
|
267
285
|
}], authToken: [{
|
|
268
286
|
type: Input,
|
|
269
287
|
args: [{ alias: 'authToken' }]
|
|
288
|
+
}], size: [{
|
|
289
|
+
type: Input,
|
|
290
|
+
args: [{ alias: 'size' }]
|
|
270
291
|
}], luzmoSlotContentsChanged: [{ type: i0.Output, args: ["luzmoSlotContentsChanged"] }], luzmoClose: [{ type: i0.Output, args: ["luzmoClose"] }], luzmoSlotMenuActive: [{ type: i0.Output, args: ["luzmoSlotMenuActive"] }], luzmoSlotMenuHighlight: [{ type: i0.Output, args: ["luzmoSlotMenuHighlight"] }], luzmoSlotMenuInactive: [{ type: i0.Output, args: ["luzmoSlotMenuInactive"] }], luzmoInfoVisibilityChanged: [{ type: i0.Output, args: ["luzmoInfoVisibilityChanged"] }] }); })();
|
|
271
292
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoSlotMenu, { className: "LuzmoSlotMenu", filePath: "components/slot-menu.ts", lineNumber: 19 }); })();
|
|
@@ -17,6 +17,8 @@ export declare class LuzmoVizItemMenu implements OnChanges {
|
|
|
17
17
|
hiddenButtons?: VizItemMenuButton[];
|
|
18
18
|
/** The currently selected menu button */
|
|
19
19
|
selectedButton?: VizItemMenuButton | null;
|
|
20
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
21
|
+
language?: string;
|
|
20
22
|
/** Emitted when the selected button changes */
|
|
21
23
|
readonly selectedChanged: import("@angular/core").OutputEmitterRef<CustomEvent<VizItemMenuSelectedChangedEventDetail>>;
|
|
22
24
|
/** Emitted when any menu item is clicked */
|
|
@@ -34,7 +36,7 @@ export declare class LuzmoVizItemMenu implements OnChanges {
|
|
|
34
36
|
private setHostProperty;
|
|
35
37
|
private bindEvents;
|
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoVizItemMenu, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoVizItemMenu, "luzmo-viz-item-menu", ["luzmoVizItemMenu"], { "vizItemId": { "alias": "vizItemId"; "required": false; }; "hiddenButtons": { "alias": "hiddenButtons"; "required": false; }; "selectedButton": { "alias": "selectedButton"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "buttonClicked": "buttonClicked"; "editButtonHovered": "editButtonHovered"; }, never, ["*"], true, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoVizItemMenu, "luzmo-viz-item-menu", ["luzmoVizItemMenu"], { "vizItemId": { "alias": "vizItemId"; "required": false; }; "hiddenButtons": { "alias": "hiddenButtons"; "required": false; }; "selectedButton": { "alias": "selectedButton"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "selectedChanged": "selectedChanged"; "buttonClicked": "buttonClicked"; "editButtonHovered": "editButtonHovered"; }, never, ["*"], true, never>;
|
|
38
40
|
}
|
|
39
41
|
/** The underlying custom element type for LuzmoVizItemMenu */
|
|
40
42
|
export type LuzmoVizItemMenuElement = LuzmoVizItemMenuHostElement;
|
|
@@ -21,6 +21,8 @@ export class LuzmoVizItemMenu {
|
|
|
21
21
|
hiddenButtons;
|
|
22
22
|
/** The currently selected menu button */
|
|
23
23
|
selectedButton;
|
|
24
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
25
|
+
language;
|
|
24
26
|
/** Emitted when the selected button changes */
|
|
25
27
|
selectedChanged = output({ alias: 'selectedChanged' });
|
|
26
28
|
/** Emitted when any menu item is clicked */
|
|
@@ -47,6 +49,9 @@ export class LuzmoVizItemMenu {
|
|
|
47
49
|
case 'selectedButton':
|
|
48
50
|
this.setHostProperty('selectedButton', changes['selectedButton'].currentValue);
|
|
49
51
|
break;
|
|
52
|
+
case 'language':
|
|
53
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
54
|
+
break;
|
|
50
55
|
default:
|
|
51
56
|
break;
|
|
52
57
|
}
|
|
@@ -76,7 +81,7 @@ export class LuzmoVizItemMenu {
|
|
|
76
81
|
}));
|
|
77
82
|
}
|
|
78
83
|
static ɵfac = function LuzmoVizItemMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoVizItemMenu)(); };
|
|
79
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoVizItemMenu, selectors: [["luzmo-viz-item-menu"]], inputs: { vizItemId: "vizItemId", hiddenButtons: "hiddenButtons", selectedButton: "selectedButton" }, outputs: { selectedChanged: "selectedChanged", buttonClicked: "buttonClicked", editButtonHovered: "editButtonHovered" }, exportAs: ["luzmoVizItemMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoVizItemMenu_Template(rf, ctx) { if (rf & 1) {
|
|
84
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoVizItemMenu, selectors: [["luzmo-viz-item-menu"]], inputs: { vizItemId: "vizItemId", hiddenButtons: "hiddenButtons", selectedButton: "selectedButton", language: "language" }, outputs: { selectedChanged: "selectedChanged", buttonClicked: "buttonClicked", editButtonHovered: "editButtonHovered" }, exportAs: ["luzmoVizItemMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoVizItemMenu_Template(rf, ctx) { if (rf & 1) {
|
|
80
85
|
i0.ɵɵprojectionDef();
|
|
81
86
|
i0.ɵɵprojection(0);
|
|
82
87
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -99,5 +104,8 @@ export class LuzmoVizItemMenu {
|
|
|
99
104
|
}], selectedButton: [{
|
|
100
105
|
type: Input,
|
|
101
106
|
args: [{ alias: 'selectedButton' }]
|
|
107
|
+
}], language: [{
|
|
108
|
+
type: Input,
|
|
109
|
+
args: [{ alias: 'language' }]
|
|
102
110
|
}], selectedChanged: [{ type: i0.Output, args: ["selectedChanged"] }], buttonClicked: [{ type: i0.Output, args: ["buttonClicked"] }], editButtonHovered: [{ type: i0.Output, args: ["editButtonHovered"] }] }); })();
|
|
103
111
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoVizItemMenu, { className: "LuzmoVizItemMenu", filePath: "components/viz-item-menu.ts", lineNumber: 16 }); })();
|
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",
|
|
31
31
|
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "1.0.3-beta.
|
|
32
|
+
"@luzmo/analytics-components-kit": "1.0.3-beta.13"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.3-beta.
|
|
34
|
+
"version": "1.0.3-beta.13",
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/forms": {
|
|
37
37
|
"optional": true
|