@luzmo/ngx-analytics-components-kit 1.0.9-beta.12 → 1.0.9-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.
- package/esm/components/filters.d.ts +4 -1
- package/esm/components/filters.js +9 -1
- package/esm/components/item-slot-picker-panel.d.ts +3 -1
- package/esm/components/item-slot-picker-panel.js +9 -1
- package/esm/components/item-slot-picker.d.ts +3 -1
- package/esm/components/item-slot-picker.js +9 -1
- package/esm/components/slot-menu.d.ts +4 -1
- package/esm/components/slot-menu.js +9 -1
- package/package.json +2 -2
|
@@ -29,6 +29,8 @@ export declare class LuzmoFilters implements OnChanges {
|
|
|
29
29
|
filters?: FiltersInput;
|
|
30
30
|
/** Output format for the `luzmo-filters-changed` event. `canonical` emits `ItemFilterGroup[]`; `clean` emits the clean clause groups that aligned hosts consume. A tree that cannot be represented cleanly falls back to canonical output, and the event says which format it carries. */
|
|
31
31
|
format?: FiltersFormat;
|
|
32
|
+
/** Show an AND-only editor without the condition column or group actions. Existing OR conditions are preserved and cannot be edited in this mode. */
|
|
33
|
+
simple?: boolean;
|
|
32
34
|
/** How the filters are presented. `rich` is the editable group editor. `text` is a read-only sentence, with parentheses around nested AND/OR groups. `outline` is one wrapping filter per line inside bracket rails, and can delete a filter unless `readonly` is set. */
|
|
33
35
|
display?: FiltersDisplay;
|
|
34
36
|
/** Presentation of column and formula references in text and outline displays. */
|
|
@@ -74,7 +76,8 @@ export declare class LuzmoFilters implements OnChanges {
|
|
|
74
76
|
private setHostProperty;
|
|
75
77
|
private bindEvents;
|
|
76
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilters, never>;
|
|
77
|
-
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; }; "format": { "alias": "format"; "required": false; }; "display": { "alias": "display"; "required": false; }; "columnDisplay": { "alias": "columnDisplay"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowParameters": { "alias": "allowParameters"; "required": false; }; "parameters": { "alias": "parameters"; "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"; "luzmoParameterCreated": "luzmoParameterCreated"; "luzmoParameterRemoved": "luzmoParameterRemoved"; }, never, ["*"], true, never>;
|
|
79
|
+
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; }; "format": { "alias": "format"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "display": { "alias": "display"; "required": false; }; "columnDisplay": { "alias": "columnDisplay"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowParameters": { "alias": "allowParameters"; "required": false; }; "parameters": { "alias": "parameters"; "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"; "luzmoParameterCreated": "luzmoParameterCreated"; "luzmoParameterRemoved": "luzmoParameterRemoved"; }, never, ["*"], true, never>;
|
|
80
|
+
static ngAcceptInputType_simple: unknown;
|
|
78
81
|
static ngAcceptInputType_quiet: unknown;
|
|
79
82
|
static ngAcceptInputType_readonly: unknown;
|
|
80
83
|
static ngAcceptInputType_allowParameters: unknown;
|
|
@@ -37,6 +37,8 @@ export class LuzmoFilters {
|
|
|
37
37
|
filters;
|
|
38
38
|
/** Output format for the `luzmo-filters-changed` event. `canonical` emits `ItemFilterGroup[]`; `clean` emits the clean clause groups that aligned hosts consume. A tree that cannot be represented cleanly falls back to canonical output, and the event says which format it carries. */
|
|
39
39
|
format;
|
|
40
|
+
/** Show an AND-only editor without the condition column or group actions. Existing OR conditions are preserved and cannot be edited in this mode. */
|
|
41
|
+
simple;
|
|
40
42
|
/** How the filters are presented. `rich` is the editable group editor. `text` is a read-only sentence, with parentheses around nested AND/OR groups. `outline` is one wrapping filter per line inside bracket rails, and can delete a filter unless `readonly` is set. */
|
|
41
43
|
display;
|
|
42
44
|
/** Presentation of column and formula references in text and outline displays. */
|
|
@@ -105,6 +107,9 @@ export class LuzmoFilters {
|
|
|
105
107
|
case 'format':
|
|
106
108
|
this.setHostProperty('format', changes['format'].currentValue);
|
|
107
109
|
break;
|
|
110
|
+
case 'simple':
|
|
111
|
+
this.setHostProperty('simple', changes['simple'].currentValue);
|
|
112
|
+
break;
|
|
108
113
|
case 'display':
|
|
109
114
|
this.setHostProperty('display', changes['display'].currentValue);
|
|
110
115
|
break;
|
|
@@ -170,7 +175,7 @@ export class LuzmoFilters {
|
|
|
170
175
|
}));
|
|
171
176
|
}
|
|
172
177
|
static ɵfac = function LuzmoFilters_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilters)(); };
|
|
173
|
-
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", format: "format", display: "display", columnDisplay: "columnDisplay", quiet: [2, "quiet", "quiet", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], allowParameters: [2, "allowParameters", "allowParameters", booleanAttribute], parameters: "parameters", debounce: "debounce", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged", luzmoParameterCreated: "luzmoParameterCreated", luzmoParameterRemoved: "luzmoParameterRemoved" }, exportAs: ["luzmoFilters"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilters_Template(rf, ctx) { if (rf & 1) {
|
|
178
|
+
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", format: "format", simple: [2, "simple", "simple", booleanAttribute], display: "display", columnDisplay: "columnDisplay", quiet: [2, "quiet", "quiet", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], allowParameters: [2, "allowParameters", "allowParameters", booleanAttribute], parameters: "parameters", debounce: "debounce", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged", luzmoParameterCreated: "luzmoParameterCreated", luzmoParameterRemoved: "luzmoParameterRemoved" }, exportAs: ["luzmoFilters"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilters_Template(rf, ctx) { if (rf & 1) {
|
|
174
179
|
i0.ɵɵprojectionDef();
|
|
175
180
|
i0.ɵɵprojection(0);
|
|
176
181
|
} }, encapsulation: 2 });
|
|
@@ -211,6 +216,9 @@ export class LuzmoFilters {
|
|
|
211
216
|
}], format: [{
|
|
212
217
|
type: Input,
|
|
213
218
|
args: [{ alias: 'format' }]
|
|
219
|
+
}], simple: [{
|
|
220
|
+
type: Input,
|
|
221
|
+
args: [{ alias: 'simple', transform: booleanAttribute }]
|
|
214
222
|
}], display: [{
|
|
215
223
|
type: Input,
|
|
216
224
|
args: [{ alias: 'display' }]
|
|
@@ -50,6 +50,8 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
|
|
|
50
50
|
placement?: Placement;
|
|
51
51
|
/** Placement of the slot menu popover */
|
|
52
52
|
slotMenuPlacement?: Placement;
|
|
53
|
+
/** How the slot menu opens: `overlay` shows it in a popover, `inline` expands it below the data field. Use `inline` when the panel itself lives in an overlay. Applies to `selects="single"` only. */
|
|
54
|
+
slotMenuMode?: 'overlay' | 'inline';
|
|
53
55
|
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
54
56
|
constraintMode?: 'auto' | 'event-only';
|
|
55
57
|
/** Whether the pickers grow to full width */
|
|
@@ -89,7 +91,7 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
|
|
|
89
91
|
private setHostProperty;
|
|
90
92
|
private bindEvents;
|
|
91
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPickerPanel, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "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>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "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>;
|
|
93
95
|
static ngAcceptInputType_datasetPicker: unknown;
|
|
94
96
|
static ngAcceptInputType_grows: unknown;
|
|
95
97
|
}
|
|
@@ -51,6 +51,8 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
51
51
|
placement;
|
|
52
52
|
/** Placement of the slot menu popover */
|
|
53
53
|
slotMenuPlacement;
|
|
54
|
+
/** How the slot menu opens: `overlay` shows it in a popover, `inline` expands it below the data field. Use `inline` when the panel itself lives in an overlay. Applies to `selects="single"` only. */
|
|
55
|
+
slotMenuMode;
|
|
54
56
|
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
55
57
|
constraintMode;
|
|
56
58
|
/** Whether the pickers grow to full width */
|
|
@@ -144,6 +146,9 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
144
146
|
case 'slotMenuPlacement':
|
|
145
147
|
this.setHostProperty('slotMenuPlacement', changes['slotMenuPlacement'].currentValue);
|
|
146
148
|
break;
|
|
149
|
+
case 'slotMenuMode':
|
|
150
|
+
this.setHostProperty('slotMenuMode', changes['slotMenuMode'].currentValue);
|
|
151
|
+
break;
|
|
147
152
|
case 'constraintMode':
|
|
148
153
|
this.setHostProperty('constraintMode', changes['constraintMode'].currentValue);
|
|
149
154
|
break;
|
|
@@ -207,7 +212,7 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
207
212
|
}));
|
|
208
213
|
}
|
|
209
214
|
static ɵfac = function LuzmoItemSlotPickerPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPickerPanel)(); };
|
|
210
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", 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) {
|
|
215
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", 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) {
|
|
211
216
|
i0.ɵɵprojectionDef();
|
|
212
217
|
i0.ɵɵprojection(0);
|
|
213
218
|
} }, encapsulation: 2 });
|
|
@@ -275,6 +280,9 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
275
280
|
}], slotMenuPlacement: [{
|
|
276
281
|
type: Input,
|
|
277
282
|
args: [{ alias: 'slotMenuPlacement' }]
|
|
283
|
+
}], slotMenuMode: [{
|
|
284
|
+
type: Input,
|
|
285
|
+
args: [{ alias: 'slotMenuMode' }]
|
|
278
286
|
}], constraintMode: [{
|
|
279
287
|
type: Input,
|
|
280
288
|
args: [{ alias: 'constraintMode' }]
|
|
@@ -52,6 +52,8 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
|
|
|
52
52
|
placement?: Placement;
|
|
53
53
|
/** Placement of the slot menu popover. Only relevant for 'popup' and 'draggable' menu type */
|
|
54
54
|
slotMenuPlacement?: Placement;
|
|
55
|
+
/** How the slot menu opens: `overlay` shows it in a popover next to the Edit button, `inline` expands it below the data field. Use `inline` when the picker itself lives in an overlay. `inline` applies to `selects="single"` only; multiple selects always use the overlay. */
|
|
56
|
+
slotMenuMode?: 'overlay' | 'inline';
|
|
55
57
|
/** Whether to hide the configuration button */
|
|
56
58
|
hideConfiguration?: boolean;
|
|
57
59
|
/** Whether to hide the delete button */
|
|
@@ -75,7 +77,7 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
|
|
|
75
77
|
private setHostProperty;
|
|
76
78
|
private bindEvents;
|
|
77
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPicker, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
|
|
79
81
|
static ngAcceptInputType_disabled: unknown;
|
|
80
82
|
static ngAcceptInputType_grows: unknown;
|
|
81
83
|
static ngAcceptInputType_hasLabel: unknown;
|
|
@@ -53,6 +53,8 @@ export class LuzmoItemSlotPicker {
|
|
|
53
53
|
placement;
|
|
54
54
|
/** Placement of the slot menu popover. Only relevant for 'popup' and 'draggable' menu type */
|
|
55
55
|
slotMenuPlacement;
|
|
56
|
+
/** How the slot menu opens: `overlay` shows it in a popover next to the Edit button, `inline` expands it below the data field. Use `inline` when the picker itself lives in an overlay. `inline` applies to `selects="single"` only; multiple selects always use the overlay. */
|
|
57
|
+
slotMenuMode;
|
|
56
58
|
/** Whether to hide the configuration button */
|
|
57
59
|
hideConfiguration;
|
|
58
60
|
/** Whether to hide the delete button */
|
|
@@ -133,6 +135,9 @@ export class LuzmoItemSlotPicker {
|
|
|
133
135
|
case 'slotMenuPlacement':
|
|
134
136
|
this.setHostProperty('slotMenuPlacement', changes['slotMenuPlacement'].currentValue);
|
|
135
137
|
break;
|
|
138
|
+
case 'slotMenuMode':
|
|
139
|
+
this.setHostProperty('slotMenuMode', changes['slotMenuMode'].currentValue);
|
|
140
|
+
break;
|
|
136
141
|
case 'hideConfiguration':
|
|
137
142
|
this.setHostProperty('hideConfiguration', changes['hideConfiguration'].currentValue);
|
|
138
143
|
break;
|
|
@@ -169,7 +174,7 @@ export class LuzmoItemSlotPicker {
|
|
|
169
174
|
}));
|
|
170
175
|
}
|
|
171
176
|
static ɵfac = function LuzmoItemSlotPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPicker)(); };
|
|
172
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPicker, selectors: [["luzmo-item-slot-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotContents: "slotContents", contentLanguage: "contentLanguage", disabled: [2, "disabled", "disabled", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], menu: "menu", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", selects: "selects", icons: "icons", placeholder: "placeholder", datasetsDataFields: "datasetsDataFields", placement: "placement", slotMenuPlacement: "slotMenuPlacement", hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], hideClear: [2, "hideClear", "hideClear", booleanAttribute], language: "language", search: "search", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPicker, selectors: [["luzmo-item-slot-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotContents: "slotContents", contentLanguage: "contentLanguage", disabled: [2, "disabled", "disabled", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], menu: "menu", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", selects: "selects", icons: "icons", placeholder: "placeholder", datasetsDataFields: "datasetsDataFields", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], hideClear: [2, "hideClear", "hideClear", booleanAttribute], language: "language", search: "search", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
|
|
173
178
|
i0.ɵɵprojectionDef();
|
|
174
179
|
i0.ɵɵprojection(0);
|
|
175
180
|
} }, encapsulation: 2 });
|
|
@@ -240,6 +245,9 @@ export class LuzmoItemSlotPicker {
|
|
|
240
245
|
}], slotMenuPlacement: [{
|
|
241
246
|
type: Input,
|
|
242
247
|
args: [{ alias: 'slotMenuPlacement' }]
|
|
248
|
+
}], slotMenuMode: [{
|
|
249
|
+
type: Input,
|
|
250
|
+
args: [{ alias: 'slotMenuMode' }]
|
|
243
251
|
}], hideConfiguration: [{
|
|
244
252
|
type: Input,
|
|
245
253
|
args: [{ alias: 'hideConfiguration', transform: booleanAttribute }]
|
|
@@ -34,6 +34,8 @@ export declare class LuzmoSlotMenu implements OnChanges {
|
|
|
34
34
|
variant?: 'popup' | 'draggable' | 'default';
|
|
35
35
|
/** Whether to show the top menu label & delete button */
|
|
36
36
|
noTopMenuLabel?: boolean;
|
|
37
|
+
/** Whether to hide the remove button in the popup variant, for hosts that already offer their own delete action */
|
|
38
|
+
noRemove?: boolean;
|
|
37
39
|
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
38
40
|
dragBoundary?: string;
|
|
39
41
|
/** Whether grand-totals options are available for this slot. */
|
|
@@ -90,10 +92,11 @@ export declare class LuzmoSlotMenu implements OnChanges {
|
|
|
90
92
|
private bindEvents;
|
|
91
93
|
close(): void;
|
|
92
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSlotMenu, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "noRemove": { "alias": "noRemove"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
94
96
|
static ngAcceptInputType_noDrag: unknown;
|
|
95
97
|
static ngAcceptInputType_noClose: unknown;
|
|
96
98
|
static ngAcceptInputType_noTopMenuLabel: unknown;
|
|
99
|
+
static ngAcceptInputType_noRemove: unknown;
|
|
97
100
|
static ngAcceptInputType_areGrandTotalsEnabled: unknown;
|
|
98
101
|
static ngAcceptInputType_areDatetimeOptionsEnabled: unknown;
|
|
99
102
|
static ngAcceptInputType_isBinningDisabled: unknown;
|
|
@@ -33,6 +33,8 @@ export class LuzmoSlotMenu {
|
|
|
33
33
|
variant;
|
|
34
34
|
/** Whether to show the top menu label & delete button */
|
|
35
35
|
noTopMenuLabel;
|
|
36
|
+
/** Whether to hide the remove button in the popup variant, for hosts that already offer their own delete action */
|
|
37
|
+
noRemove;
|
|
36
38
|
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
37
39
|
dragBoundary;
|
|
38
40
|
/** Whether grand-totals options are available for this slot. */
|
|
@@ -115,6 +117,9 @@ export class LuzmoSlotMenu {
|
|
|
115
117
|
case 'noTopMenuLabel':
|
|
116
118
|
this.setHostProperty('noTopMenuLabel', changes['noTopMenuLabel'].currentValue);
|
|
117
119
|
break;
|
|
120
|
+
case 'noRemove':
|
|
121
|
+
this.setHostProperty('noRemove', changes['noRemove'].currentValue);
|
|
122
|
+
break;
|
|
118
123
|
case 'dragBoundary':
|
|
119
124
|
this.setHostProperty('dragBoundary', changes['dragBoundary'].currentValue);
|
|
120
125
|
break;
|
|
@@ -207,7 +212,7 @@ export class LuzmoSlotMenu {
|
|
|
207
212
|
return this.host.close();
|
|
208
213
|
}
|
|
209
214
|
static ɵfac = function LuzmoSlotMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSlotMenu)(); };
|
|
210
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", datasetsDataFields: "datasetsDataFields", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
+
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], noRemove: [2, "noRemove", "noRemove", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", datasetsDataFields: "datasetsDataFields", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
211
216
|
i0.ɵɵprojectionDef();
|
|
212
217
|
i0.ɵɵprojection(0);
|
|
213
218
|
} }, encapsulation: 2 });
|
|
@@ -248,6 +253,9 @@ export class LuzmoSlotMenu {
|
|
|
248
253
|
}], noTopMenuLabel: [{
|
|
249
254
|
type: Input,
|
|
250
255
|
args: [{ alias: 'noTopMenuLabel', transform: booleanAttribute }]
|
|
256
|
+
}], noRemove: [{
|
|
257
|
+
type: Input,
|
|
258
|
+
args: [{ alias: 'noRemove', transform: booleanAttribute }]
|
|
251
259
|
}], dragBoundary: [{
|
|
252
260
|
type: Input,
|
|
253
261
|
args: [{ alias: 'dragBoundary' }]
|
package/package.json
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
31
31
|
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "1.0.9-beta.
|
|
32
|
+
"@luzmo/analytics-components-kit": "1.0.9-beta.14"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.9-beta.
|
|
34
|
+
"version": "1.0.9-beta.14",
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/forms": {
|
|
37
37
|
"optional": true
|