@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
|
@@ -23,6 +23,10 @@ export class LuzmoDisplaySettingsNumeric {
|
|
|
23
23
|
isAggregationDisabled;
|
|
24
24
|
/** Whether or not to show the cumulative sum options */
|
|
25
25
|
isCumulativeSumEnabled;
|
|
26
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
27
|
+
language;
|
|
28
|
+
/** The size of the element */
|
|
29
|
+
size;
|
|
26
30
|
/** Event that is fired when the slot content is changed */
|
|
27
31
|
luzmoSlotContentChanged = output({ alias: 'luzmoSlotContentChanged' });
|
|
28
32
|
constructor() {
|
|
@@ -48,6 +52,12 @@ export class LuzmoDisplaySettingsNumeric {
|
|
|
48
52
|
case 'isCumulativeSumEnabled':
|
|
49
53
|
this.setHostProperty('isCumulativeSumEnabled', changes['isCumulativeSumEnabled'].currentValue);
|
|
50
54
|
break;
|
|
55
|
+
case 'language':
|
|
56
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
57
|
+
break;
|
|
58
|
+
case 'size':
|
|
59
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
60
|
+
break;
|
|
51
61
|
default:
|
|
52
62
|
break;
|
|
53
63
|
}
|
|
@@ -69,7 +79,7 @@ export class LuzmoDisplaySettingsNumeric {
|
|
|
69
79
|
}));
|
|
70
80
|
}
|
|
71
81
|
static ɵfac = function LuzmoDisplaySettingsNumeric_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoDisplaySettingsNumeric)(); };
|
|
72
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDisplaySettingsNumeric, selectors: [["luzmo-display-settings-numeric"]], inputs: { slotContent: "slotContent", measureColumns: "measureColumns", isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute] }, outputs: { luzmoSlotContentChanged: "luzmoSlotContentChanged" }, exportAs: ["luzmoDisplaySettingsNumeric"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDisplaySettingsNumeric_Template(rf, ctx) { if (rf & 1) {
|
|
82
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDisplaySettingsNumeric, selectors: [["luzmo-display-settings-numeric"]], inputs: { slotContent: "slotContent", measureColumns: "measureColumns", isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], language: "language", size: "size" }, outputs: { luzmoSlotContentChanged: "luzmoSlotContentChanged" }, exportAs: ["luzmoDisplaySettingsNumeric"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDisplaySettingsNumeric_Template(rf, ctx) { if (rf & 1) {
|
|
73
83
|
i0.ɵɵprojectionDef();
|
|
74
84
|
i0.ɵɵprojection(0);
|
|
75
85
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -95,5 +105,11 @@ export class LuzmoDisplaySettingsNumeric {
|
|
|
95
105
|
}], isCumulativeSumEnabled: [{
|
|
96
106
|
type: Input,
|
|
97
107
|
args: [{ alias: 'isCumulativeSumEnabled', transform: booleanAttribute }]
|
|
108
|
+
}], language: [{
|
|
109
|
+
type: Input,
|
|
110
|
+
args: [{ alias: 'language' }]
|
|
111
|
+
}], size: [{
|
|
112
|
+
type: Input,
|
|
113
|
+
args: [{ alias: 'size' }]
|
|
98
114
|
}], luzmoSlotContentChanged: [{ type: i0.Output, args: ["luzmoSlotContentChanged"] }] }); })();
|
|
99
115
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoDisplaySettingsNumeric, { className: "LuzmoDisplaySettingsNumeric", filePath: "components/display-settings-numeric.ts", lineNumber: 17 }); })();
|
|
@@ -15,10 +15,16 @@ export declare class LuzmoDisplaySettingsPeriodOverPeriod implements OnChanges {
|
|
|
15
15
|
get nativeElement(): LuzmoDisplaySettingsPeriodOverPeriodHostElement;
|
|
16
16
|
/** The slotContent that is passed to the settings */
|
|
17
17
|
slotContent?: any;
|
|
18
|
+
/** Which period-over-period UI variant to render, based on available datetime columns and comparison filters. */
|
|
18
19
|
periodOverPeriodUiType?: PeriodOverPeriodCondition;
|
|
20
|
+
/** Datetime columns from the linked dataset available as offset/comparison date columns. */
|
|
19
21
|
linkedDatasetDatetimeColumns?: (Column & {
|
|
20
22
|
datasetId: string;
|
|
21
23
|
})[];
|
|
24
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
25
|
+
language?: string;
|
|
26
|
+
/** The size of the element */
|
|
27
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
22
28
|
/** Event that is fired when the slot content is changed */
|
|
23
29
|
readonly luzmoSlotContentChanged: import("@angular/core").OutputEmitterRef<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
|
|
24
30
|
constructor();
|
|
@@ -32,7 +38,7 @@ export declare class LuzmoDisplaySettingsPeriodOverPeriod implements OnChanges {
|
|
|
32
38
|
private setHostProperty;
|
|
33
39
|
private bindEvents;
|
|
34
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoDisplaySettingsPeriodOverPeriod, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDisplaySettingsPeriodOverPeriod, "luzmo-display-settings-period-over-period", ["luzmoDisplaySettingsPeriodOverPeriod"], { "slotContent": { "alias": "slotContent"; "required": false; }; "periodOverPeriodUiType": { "alias": "periodOverPeriodType"; "required": false; }; "linkedDatasetDatetimeColumns": { "alias": "linkedDatasetDatetimeColumns"; "required": false; }; }, { "luzmoSlotContentChanged": "luzmoSlotContentChanged"; }, never, ["*"], true, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDisplaySettingsPeriodOverPeriod, "luzmo-display-settings-period-over-period", ["luzmoDisplaySettingsPeriodOverPeriod"], { "slotContent": { "alias": "slotContent"; "required": false; }; "periodOverPeriodUiType": { "alias": "periodOverPeriodType"; "required": false; }; "linkedDatasetDatetimeColumns": { "alias": "linkedDatasetDatetimeColumns"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentChanged": "luzmoSlotContentChanged"; }, never, ["*"], true, never>;
|
|
36
42
|
}
|
|
37
43
|
/** The underlying custom element type for LuzmoDisplaySettingsPeriodOverPeriod */
|
|
38
44
|
export type LuzmoDisplaySettingsPeriodOverPeriodElement = LuzmoDisplaySettingsPeriodOverPeriodHostElement;
|
|
@@ -17,8 +17,14 @@ export class LuzmoDisplaySettingsPeriodOverPeriod {
|
|
|
17
17
|
}
|
|
18
18
|
/** The slotContent that is passed to the settings */
|
|
19
19
|
slotContent;
|
|
20
|
+
/** Which period-over-period UI variant to render, based on available datetime columns and comparison filters. */
|
|
20
21
|
periodOverPeriodUiType;
|
|
22
|
+
/** Datetime columns from the linked dataset available as offset/comparison date columns. */
|
|
21
23
|
linkedDatasetDatetimeColumns;
|
|
24
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
25
|
+
language;
|
|
26
|
+
/** The size of the element */
|
|
27
|
+
size;
|
|
22
28
|
/** Event that is fired when the slot content is changed */
|
|
23
29
|
luzmoSlotContentChanged = output({ alias: 'luzmoSlotContentChanged' });
|
|
24
30
|
constructor() {
|
|
@@ -41,6 +47,12 @@ export class LuzmoDisplaySettingsPeriodOverPeriod {
|
|
|
41
47
|
case 'linkedDatasetDatetimeColumns':
|
|
42
48
|
this.setHostProperty('linkedDatasetDatetimeColumns', changes['linkedDatasetDatetimeColumns'].currentValue);
|
|
43
49
|
break;
|
|
50
|
+
case 'language':
|
|
51
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
52
|
+
break;
|
|
53
|
+
case 'size':
|
|
54
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
55
|
+
break;
|
|
44
56
|
default:
|
|
45
57
|
break;
|
|
46
58
|
}
|
|
@@ -62,7 +74,7 @@ export class LuzmoDisplaySettingsPeriodOverPeriod {
|
|
|
62
74
|
}));
|
|
63
75
|
}
|
|
64
76
|
static ɵfac = function LuzmoDisplaySettingsPeriodOverPeriod_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoDisplaySettingsPeriodOverPeriod)(); };
|
|
65
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDisplaySettingsPeriodOverPeriod, selectors: [["luzmo-display-settings-period-over-period"]], inputs: { slotContent: "slotContent", periodOverPeriodUiType: [0, "periodOverPeriodType", "periodOverPeriodUiType"], linkedDatasetDatetimeColumns: "linkedDatasetDatetimeColumns" }, outputs: { luzmoSlotContentChanged: "luzmoSlotContentChanged" }, exportAs: ["luzmoDisplaySettingsPeriodOverPeriod"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDisplaySettingsPeriodOverPeriod_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDisplaySettingsPeriodOverPeriod, selectors: [["luzmo-display-settings-period-over-period"]], inputs: { slotContent: "slotContent", periodOverPeriodUiType: [0, "periodOverPeriodType", "periodOverPeriodUiType"], linkedDatasetDatetimeColumns: "linkedDatasetDatetimeColumns", language: "language", size: "size" }, outputs: { luzmoSlotContentChanged: "luzmoSlotContentChanged" }, exportAs: ["luzmoDisplaySettingsPeriodOverPeriod"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDisplaySettingsPeriodOverPeriod_Template(rf, ctx) { if (rf & 1) {
|
|
66
78
|
i0.ɵɵprojectionDef();
|
|
67
79
|
i0.ɵɵprojection(0);
|
|
68
80
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -85,5 +97,11 @@ export class LuzmoDisplaySettingsPeriodOverPeriod {
|
|
|
85
97
|
}], linkedDatasetDatetimeColumns: [{
|
|
86
98
|
type: Input,
|
|
87
99
|
args: [{ alias: 'linkedDatasetDatetimeColumns' }]
|
|
100
|
+
}], language: [{
|
|
101
|
+
type: Input,
|
|
102
|
+
args: [{ alias: 'language' }]
|
|
103
|
+
}], size: [{
|
|
104
|
+
type: Input,
|
|
105
|
+
args: [{ alias: 'size' }]
|
|
88
106
|
}], luzmoSlotContentChanged: [{ type: i0.Output, args: ["luzmoSlotContentChanged"] }] }); })();
|
|
89
107
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoDisplaySettingsPeriodOverPeriod, { className: "LuzmoDisplaySettingsPeriodOverPeriod", filePath: "components/display-settings-period-over-period.ts", lineNumber: 18 }); })();
|
|
@@ -36,9 +36,12 @@ export declare class LuzmoDisplaySettings implements OnChanges {
|
|
|
36
36
|
showRemoveButton?: boolean;
|
|
37
37
|
/** The slot type */
|
|
38
38
|
slotType?: string;
|
|
39
|
+
/** The slot content model (label, formatting, aggregation, etc.) for the field being configured. */
|
|
39
40
|
slotContent?: GenericSlotContent;
|
|
40
41
|
/** The list of columns that can be used for the rate aggregation */
|
|
41
42
|
measureColumns?: MeasureColumnsItem[];
|
|
43
|
+
/** The size of the element */
|
|
44
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
42
45
|
/** Event that is fired when the slot content is changed */
|
|
43
46
|
readonly luzmoSlotContentChanged: import("@angular/core").OutputEmitterRef<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
|
|
44
47
|
/** Event that is fired when the remove button is clicked */
|
|
@@ -56,7 +59,7 @@ export declare class LuzmoDisplaySettings implements OnChanges {
|
|
|
56
59
|
private setHostProperty;
|
|
57
60
|
private bindEvents;
|
|
58
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoDisplaySettings, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDisplaySettings, "luzmo-display-settings", ["luzmoDisplaySettings"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "hideDisplaySettings": { "alias": "hideDisplaySettings"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "periodOverPeriodUiType": { "alias": "periodOverPeriodUiType"; "required": false; }; "showRemoveButton": { "alias": "showRemoveButton"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotContent": { "alias": "slotContent"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; }, { "luzmoSlotContentChanged": "luzmoSlotContentChanged"; "luzmoRemoveSlotContent": "luzmoRemoveSlotContent"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoDisplaySettings, "luzmo-display-settings", ["luzmoDisplaySettings"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "hideDisplaySettings": { "alias": "hideDisplaySettings"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "periodOverPeriodUiType": { "alias": "periodOverPeriodUiType"; "required": false; }; "showRemoveButton": { "alias": "showRemoveButton"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotContent": { "alias": "slotContent"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentChanged": "luzmoSlotContentChanged"; "luzmoRemoveSlotContent": "luzmoRemoveSlotContent"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
60
63
|
static ngAcceptInputType_hideDisplaySettings: unknown;
|
|
61
64
|
static ngAcceptInputType_isBinningDisabled: unknown;
|
|
62
65
|
static ngAcceptInputType_areDatetimeOptionsEnabled: unknown;
|
|
@@ -37,9 +37,12 @@ export class LuzmoDisplaySettings {
|
|
|
37
37
|
showRemoveButton;
|
|
38
38
|
/** The slot type */
|
|
39
39
|
slotType;
|
|
40
|
+
/** The slot content model (label, formatting, aggregation, etc.) for the field being configured. */
|
|
40
41
|
slotContent;
|
|
41
42
|
/** The list of columns that can be used for the rate aggregation */
|
|
42
43
|
measureColumns;
|
|
44
|
+
/** The size of the element */
|
|
45
|
+
size;
|
|
43
46
|
/** Event that is fired when the slot content is changed */
|
|
44
47
|
luzmoSlotContentChanged = output({ alias: 'luzmoSlotContentChanged' });
|
|
45
48
|
/** Event that is fired when the remove button is clicked */
|
|
@@ -96,6 +99,9 @@ export class LuzmoDisplaySettings {
|
|
|
96
99
|
case 'measureColumns':
|
|
97
100
|
this.setHostProperty('measureColumns', changes['measureColumns'].currentValue);
|
|
98
101
|
break;
|
|
102
|
+
case 'size':
|
|
103
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
104
|
+
break;
|
|
99
105
|
default:
|
|
100
106
|
break;
|
|
101
107
|
}
|
|
@@ -125,7 +131,7 @@ export class LuzmoDisplaySettings {
|
|
|
125
131
|
}));
|
|
126
132
|
}
|
|
127
133
|
static ɵfac = function LuzmoDisplaySettings_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoDisplaySettings)(); };
|
|
128
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDisplaySettings, selectors: [["luzmo-display-settings"]], inputs: { language: "language", contentLanguage: "contentLanguage", hideDisplaySettings: [2, "hideDisplaySettings", "hideDisplaySettings", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], periodOverPeriodUiType: "periodOverPeriodUiType", showRemoveButton: [2, "showRemoveButton", "showRemoveButton", booleanAttribute], slotType: "slotType", slotContent: "slotContent", measureColumns: "measureColumns" }, outputs: { luzmoSlotContentChanged: "luzmoSlotContentChanged", luzmoRemoveSlotContent: "luzmoRemoveSlotContent", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoDisplaySettings"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDisplaySettings_Template(rf, ctx) { if (rf & 1) {
|
|
134
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDisplaySettings, selectors: [["luzmo-display-settings"]], inputs: { language: "language", contentLanguage: "contentLanguage", hideDisplaySettings: [2, "hideDisplaySettings", "hideDisplaySettings", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], periodOverPeriodUiType: "periodOverPeriodUiType", showRemoveButton: [2, "showRemoveButton", "showRemoveButton", booleanAttribute], slotType: "slotType", slotContent: "slotContent", measureColumns: "measureColumns", size: "size" }, outputs: { luzmoSlotContentChanged: "luzmoSlotContentChanged", luzmoRemoveSlotContent: "luzmoRemoveSlotContent", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoDisplaySettings"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDisplaySettings_Template(rf, ctx) { if (rf & 1) {
|
|
129
135
|
i0.ɵɵprojectionDef();
|
|
130
136
|
i0.ɵɵprojection(0);
|
|
131
137
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -178,5 +184,8 @@ export class LuzmoDisplaySettings {
|
|
|
178
184
|
}], measureColumns: [{
|
|
179
185
|
type: Input,
|
|
180
186
|
args: [{ alias: 'measureColumns' }]
|
|
187
|
+
}], size: [{
|
|
188
|
+
type: Input,
|
|
189
|
+
args: [{ alias: 'size' }]
|
|
181
190
|
}], luzmoSlotContentChanged: [{ type: i0.Output, args: ["luzmoSlotContentChanged"] }], luzmoRemoveSlotContent: [{ type: i0.Output, args: ["luzmoRemoveSlotContent"] }], luzmoInfoVisibilityChanged: [{ type: i0.Output, args: ["luzmoInfoVisibilityChanged"] }] }); })();
|
|
182
191
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoDisplaySettings, { className: "LuzmoDisplaySettings", filePath: "components/display-settings.ts", lineNumber: 19 }); })();
|
|
@@ -31,6 +31,15 @@ export declare class LuzmoFilterExpressionPicker implements OnChanges {
|
|
|
31
31
|
invalid?: boolean;
|
|
32
32
|
/** Whether the column is a formula */
|
|
33
33
|
isFormula?: boolean;
|
|
34
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
35
|
+
language?: string;
|
|
36
|
+
/** The size of the element */
|
|
37
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
38
|
+
/** When this control is rendered, focus it automatically */
|
|
39
|
+
autofocus?: boolean;
|
|
40
|
+
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
41
|
+
tabIndex?: number;
|
|
42
|
+
/** Fired when the user selects a filter expression (operator); `detail.expression` holds the chosen expression. */
|
|
34
43
|
readonly luzmoExpressionSelected: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
35
44
|
constructor();
|
|
36
45
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -43,12 +52,13 @@ export declare class LuzmoFilterExpressionPicker implements OnChanges {
|
|
|
43
52
|
private setHostProperty;
|
|
44
53
|
private bindEvents;
|
|
45
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterExpressionPicker, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterExpressionPicker, "luzmo-filter-expression-picker", ["luzmoFilterExpressionPicker"], { "filter": { "alias": "filter"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "subtype": { "alias": "subtype"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "isFormula": { "alias": "isFormula"; "required": false; }; }, { "luzmoExpressionSelected": "luzmoExpressionSelected"; }, never, ["*"], true, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterExpressionPicker, "luzmo-filter-expression-picker", ["luzmoFilterExpressionPicker"], { "filter": { "alias": "filter"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "subtype": { "alias": "subtype"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "isFormula": { "alias": "isFormula"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoExpressionSelected": "luzmoExpressionSelected"; }, never, ["*"], true, never>;
|
|
47
56
|
static ngAcceptInputType_hasLabel: unknown;
|
|
48
57
|
static ngAcceptInputType_allowEmpty: unknown;
|
|
49
58
|
static ngAcceptInputType_disabled: unknown;
|
|
50
59
|
static ngAcceptInputType_invalid: unknown;
|
|
51
60
|
static ngAcceptInputType_isFormula: unknown;
|
|
61
|
+
static ngAcceptInputType_autofocus: unknown;
|
|
52
62
|
}
|
|
53
63
|
/** The underlying custom element type for LuzmoFilterExpressionPicker */
|
|
54
64
|
export type LuzmoFilterExpressionPickerElement = LuzmoFilterExpressionPickerHostElement;
|
|
@@ -35,6 +35,15 @@ export class LuzmoFilterExpressionPicker {
|
|
|
35
35
|
invalid;
|
|
36
36
|
/** Whether the column is a formula */
|
|
37
37
|
isFormula;
|
|
38
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
39
|
+
language;
|
|
40
|
+
/** The size of the element */
|
|
41
|
+
size;
|
|
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;
|
|
46
|
+
/** Fired when the user selects a filter expression (operator); `detail.expression` holds the chosen expression. */
|
|
38
47
|
luzmoExpressionSelected = output({ alias: 'luzmoExpressionSelected' });
|
|
39
48
|
constructor() {
|
|
40
49
|
this.bindEvents();
|
|
@@ -77,6 +86,18 @@ export class LuzmoFilterExpressionPicker {
|
|
|
77
86
|
case 'isFormula':
|
|
78
87
|
this.setHostProperty('isFormula', changes['isFormula'].currentValue);
|
|
79
88
|
break;
|
|
89
|
+
case 'language':
|
|
90
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
91
|
+
break;
|
|
92
|
+
case 'size':
|
|
93
|
+
this.setHostProperty('size', changes['size'].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;
|
|
80
101
|
default:
|
|
81
102
|
break;
|
|
82
103
|
}
|
|
@@ -98,7 +119,7 @@ export class LuzmoFilterExpressionPicker {
|
|
|
98
119
|
}));
|
|
99
120
|
}
|
|
100
121
|
static ɵfac = function LuzmoFilterExpressionPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterExpressionPicker)(); };
|
|
101
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterExpressionPicker, selectors: [["luzmo-filter-expression-picker"]], inputs: { filter: "filter", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", allowEmpty: [2, "allowEmpty", "allowEmpty", booleanAttribute], placeholder: "placeholder", disabled: [2, "disabled", "disabled", booleanAttribute], type: "type", subtype: "subtype", invalid: [2, "invalid", "invalid", booleanAttribute], isFormula: [2, "isFormula", "isFormula", booleanAttribute] }, outputs: { luzmoExpressionSelected: "luzmoExpressionSelected" }, exportAs: ["luzmoFilterExpressionPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterExpressionPicker_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterExpressionPicker, selectors: [["luzmo-filter-expression-picker"]], inputs: { filter: "filter", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", allowEmpty: [2, "allowEmpty", "allowEmpty", booleanAttribute], placeholder: "placeholder", disabled: [2, "disabled", "disabled", booleanAttribute], type: "type", subtype: "subtype", invalid: [2, "invalid", "invalid", booleanAttribute], isFormula: [2, "isFormula", "isFormula", booleanAttribute], language: "language", size: "size", autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoExpressionSelected: "luzmoExpressionSelected" }, exportAs: ["luzmoFilterExpressionPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterExpressionPicker_Template(rf, ctx) { if (rf & 1) {
|
|
102
123
|
i0.ɵɵprojectionDef();
|
|
103
124
|
i0.ɵɵprojection(0);
|
|
104
125
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -142,5 +163,17 @@ export class LuzmoFilterExpressionPicker {
|
|
|
142
163
|
}], isFormula: [{
|
|
143
164
|
type: Input,
|
|
144
165
|
args: [{ alias: 'isFormula', transform: booleanAttribute }]
|
|
166
|
+
}], language: [{
|
|
167
|
+
type: Input,
|
|
168
|
+
args: [{ alias: 'language' }]
|
|
169
|
+
}], size: [{
|
|
170
|
+
type: Input,
|
|
171
|
+
args: [{ alias: 'size' }]
|
|
172
|
+
}], autofocus: [{
|
|
173
|
+
type: Input,
|
|
174
|
+
args: [{ alias: 'autofocus', transform: booleanAttribute }]
|
|
175
|
+
}], tabIndex: [{
|
|
176
|
+
type: Input,
|
|
177
|
+
args: [{ alias: 'tabIndex' }]
|
|
145
178
|
}], luzmoExpressionSelected: [{ type: i0.Output, args: ["luzmoExpressionSelected"] }] }); })();
|
|
146
179
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterExpressionPicker, { className: "LuzmoFilterExpressionPicker", filePath: "components/filter-expression-picker.ts", lineNumber: 16 }); })();
|
|
@@ -26,6 +26,17 @@ export declare class LuzmoFilterItem implements OnChanges {
|
|
|
26
26
|
datasetIds?: string[];
|
|
27
27
|
/** The filter to display */
|
|
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 any part of the filter changes; `detail.filter` holds the updated filter. */
|
|
29
40
|
readonly luzmoFilterChanged: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
30
41
|
constructor();
|
|
31
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -38,7 +49,9 @@ export declare class LuzmoFilterItem implements OnChanges {
|
|
|
38
49
|
private setHostProperty;
|
|
39
50
|
private bindEvents;
|
|
40
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterItem, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterItem, "luzmo-filter-item", ["luzmoFilterItem"], { "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; }; "filter": { "alias": "filter"; "required": false; }; }, { "luzmoFilterChanged": "luzmoFilterChanged"; }, never, ["*"], true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterItem, "luzmo-filter-item", ["luzmoFilterItem"], { "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; }; "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; }; }, { "luzmoFilterChanged": "luzmoFilterChanged"; }, never, ["*"], true, never>;
|
|
53
|
+
static ngAcceptInputType_disabled: unknown;
|
|
54
|
+
static ngAcceptInputType_autofocus: unknown;
|
|
42
55
|
}
|
|
43
56
|
/** The underlying custom element type for LuzmoFilterItem */
|
|
44
57
|
export type LuzmoFilterItemElement = LuzmoFilterItemHostElement;
|
|
@@ -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-item';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
@@ -31,6 +31,17 @@ export class LuzmoFilterItem {
|
|
|
31
31
|
datasetIds;
|
|
32
32
|
/** The filter to display */
|
|
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 any part of the filter changes; `detail.filter` holds the updated filter. */
|
|
34
45
|
luzmoFilterChanged = output({ alias: 'luzmoFilterChanged' });
|
|
35
46
|
constructor() {
|
|
36
47
|
this.bindEvents();
|
|
@@ -67,6 +78,21 @@ export class LuzmoFilterItem {
|
|
|
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 LuzmoFilterItem {
|
|
|
88
114
|
}));
|
|
89
115
|
}
|
|
90
116
|
static ɵfac = function LuzmoFilterItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterItem)(); };
|
|
91
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterItem, selectors: [["luzmo-filter-item"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filter: "filter" }, outputs: { luzmoFilterChanged: "luzmoFilterChanged" }, exportAs: ["luzmoFilterItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterItem_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterItem, selectors: [["luzmo-filter-item"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filter: "filter", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFilterChanged: "luzmoFilterChanged" }, exportAs: ["luzmoFilterItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterItem_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 LuzmoFilterItem {
|
|
|
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
|
}], luzmoFilterChanged: [{ type: i0.Output, args: ["luzmoFilterChanged"] }] }); })();
|
|
130
171
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterItem, { className: "LuzmoFilterItem", filePath: "components/filter-item.ts", lineNumber: 15 }); })();
|
|
@@ -14,6 +14,14 @@ export declare class LuzmoFilterParameterPicker implements OnChanges {
|
|
|
14
14
|
language?: string;
|
|
15
15
|
/** The language to use for locale-aware formatting and labels */
|
|
16
16
|
contentLanguage?: string;
|
|
17
|
+
/** The size of the element */
|
|
18
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
19
|
+
/** Disable this control. It will not receive focus or events */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** When this control is rendered, focus it automatically */
|
|
22
|
+
autofocus?: boolean;
|
|
23
|
+
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
24
|
+
tabIndex?: number;
|
|
17
25
|
constructor();
|
|
18
26
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
27
|
/**
|
|
@@ -25,7 +33,9 @@ export declare class LuzmoFilterParameterPicker implements OnChanges {
|
|
|
25
33
|
private setHostProperty;
|
|
26
34
|
private bindEvents;
|
|
27
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterParameterPicker, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterParameterPicker, "luzmo-filter-parameter-picker", ["luzmoFilterParameterPicker"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterParameterPicker, "luzmo-filter-parameter-picker", ["luzmoFilterParameterPicker"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
37
|
+
static ngAcceptInputType_disabled: unknown;
|
|
38
|
+
static ngAcceptInputType_autofocus: unknown;
|
|
29
39
|
}
|
|
30
40
|
/** The underlying custom element type for LuzmoFilterParameterPicker */
|
|
31
41
|
export type LuzmoFilterParameterPickerElement = LuzmoFilterParameterPickerHostElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, Renderer2 } from '@angular/core';
|
|
1
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, Renderer2 } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/filter-parameter-picker';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
@@ -19,6 +19,14 @@ export class LuzmoFilterParameterPicker {
|
|
|
19
19
|
language;
|
|
20
20
|
/** The language to use for locale-aware formatting and labels */
|
|
21
21
|
contentLanguage;
|
|
22
|
+
/** The size of the element */
|
|
23
|
+
size;
|
|
24
|
+
/** Disable this control. It will not receive focus or events */
|
|
25
|
+
disabled;
|
|
26
|
+
/** When this control is rendered, focus it automatically */
|
|
27
|
+
autofocus;
|
|
28
|
+
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
29
|
+
tabIndex;
|
|
22
30
|
constructor() {
|
|
23
31
|
this.bindEvents();
|
|
24
32
|
this.destroyRef.onDestroy(() => {
|
|
@@ -36,6 +44,18 @@ export class LuzmoFilterParameterPicker {
|
|
|
36
44
|
case 'contentLanguage':
|
|
37
45
|
this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
|
|
38
46
|
break;
|
|
47
|
+
case 'size':
|
|
48
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
49
|
+
break;
|
|
50
|
+
case 'disabled':
|
|
51
|
+
this.setHostProperty('disabled', changes['disabled'].currentValue);
|
|
52
|
+
break;
|
|
53
|
+
case 'autofocus':
|
|
54
|
+
this.setHostProperty('autofocus', changes['autofocus'].currentValue);
|
|
55
|
+
break;
|
|
56
|
+
case 'tabIndex':
|
|
57
|
+
this.setHostProperty('tabIndex', changes['tabIndex'].currentValue);
|
|
58
|
+
break;
|
|
39
59
|
default:
|
|
40
60
|
break;
|
|
41
61
|
}
|
|
@@ -54,7 +74,7 @@ export class LuzmoFilterParameterPicker {
|
|
|
54
74
|
// No custom events for this wrapper.
|
|
55
75
|
}
|
|
56
76
|
static ɵfac = function LuzmoFilterParameterPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterParameterPicker)(); };
|
|
57
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterParameterPicker, selectors: [["luzmo-filter-parameter-picker"]], inputs: { language: "language", contentLanguage: "contentLanguage" }, exportAs: ["luzmoFilterParameterPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterParameterPicker_Template(rf, ctx) { if (rf & 1) {
|
|
77
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterParameterPicker, selectors: [["luzmo-filter-parameter-picker"]], inputs: { language: "language", contentLanguage: "contentLanguage", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, exportAs: ["luzmoFilterParameterPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterParameterPicker_Template(rf, ctx) { if (rf & 1) {
|
|
58
78
|
i0.ɵɵprojectionDef();
|
|
59
79
|
i0.ɵɵprojection(0);
|
|
60
80
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -74,5 +94,17 @@ export class LuzmoFilterParameterPicker {
|
|
|
74
94
|
}], contentLanguage: [{
|
|
75
95
|
type: Input,
|
|
76
96
|
args: [{ alias: 'contentLanguage' }]
|
|
97
|
+
}], size: [{
|
|
98
|
+
type: Input,
|
|
99
|
+
args: [{ alias: 'size' }]
|
|
100
|
+
}], disabled: [{
|
|
101
|
+
type: Input,
|
|
102
|
+
args: [{ alias: 'disabled', transform: booleanAttribute }]
|
|
103
|
+
}], autofocus: [{
|
|
104
|
+
type: Input,
|
|
105
|
+
args: [{ alias: 'autofocus', transform: booleanAttribute }]
|
|
106
|
+
}], tabIndex: [{
|
|
107
|
+
type: Input,
|
|
108
|
+
args: [{ alias: 'tabIndex' }]
|
|
77
109
|
}] }); })();
|
|
78
110
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterParameterPicker, { className: "LuzmoFilterParameterPicker", filePath: "components/filter-parameter-picker.ts", lineNumber: 15 }); })();
|
|
@@ -16,6 +16,17 @@ export declare class LuzmoFilterValuePickerDatetime implements OnChanges {
|
|
|
16
16
|
timeZone?: string;
|
|
17
17
|
/** The filter used to retrieve the value */
|
|
18
18
|
filter?: any;
|
|
19
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
20
|
+
language?: string;
|
|
21
|
+
/** The size of the element */
|
|
22
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
23
|
+
/** Disable this control. It will not receive focus or events */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** When this control is rendered, focus it automatically */
|
|
26
|
+
autofocus?: boolean;
|
|
27
|
+
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
28
|
+
tabIndex?: number;
|
|
29
|
+
/** Fired when the datetime filter value changes; `detail.value` holds the new value (ISO date or relative range). */
|
|
19
30
|
readonly luzmoFilterValueChanged: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
20
31
|
constructor();
|
|
21
32
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -28,7 +39,9 @@ export declare class LuzmoFilterValuePickerDatetime implements OnChanges {
|
|
|
28
39
|
private setHostProperty;
|
|
29
40
|
private bindEvents;
|
|
30
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilterValuePickerDatetime, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePickerDatetime, "luzmo-filter-value-picker-datetime", ["luzmoFilterValuePickerDatetime"], { "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; }, { "luzmoFilterValueChanged": "luzmoFilterValueChanged"; }, never, ["*"], true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilterValuePickerDatetime, "luzmo-filter-value-picker-datetime", ["luzmoFilterValuePickerDatetime"], { "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "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>;
|
|
43
|
+
static ngAcceptInputType_disabled: unknown;
|
|
44
|
+
static ngAcceptInputType_autofocus: unknown;
|
|
32
45
|
}
|
|
33
46
|
/** The underlying custom element type for LuzmoFilterValuePickerDatetime */
|
|
34
47
|
export type LuzmoFilterValuePickerDatetimeElement = LuzmoFilterValuePickerDatetimeHostElement;
|
|
@@ -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-datetime';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
const _c0 = ["*"];
|
|
@@ -21,6 +21,17 @@ export class LuzmoFilterValuePickerDatetime {
|
|
|
21
21
|
timeZone;
|
|
22
22
|
/** The filter used to retrieve the value */
|
|
23
23
|
filter;
|
|
24
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
25
|
+
language;
|
|
26
|
+
/** The size of the element */
|
|
27
|
+
size;
|
|
28
|
+
/** Disable this control. It will not receive focus or events */
|
|
29
|
+
disabled;
|
|
30
|
+
/** When this control is rendered, focus it automatically */
|
|
31
|
+
autofocus;
|
|
32
|
+
/** The tab index to apply to this control. See general documentation about the tabindex HTML property */
|
|
33
|
+
tabIndex;
|
|
34
|
+
/** Fired when the datetime filter value changes; `detail.value` holds the new value (ISO date or relative range). */
|
|
24
35
|
luzmoFilterValueChanged = output({ alias: 'luzmoFilterValueChanged' });
|
|
25
36
|
constructor() {
|
|
26
37
|
this.bindEvents();
|
|
@@ -42,6 +53,21 @@ export class LuzmoFilterValuePickerDatetime {
|
|
|
42
53
|
case 'filter':
|
|
43
54
|
this.setHostProperty('filter', changes['filter'].currentValue);
|
|
44
55
|
break;
|
|
56
|
+
case 'language':
|
|
57
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
58
|
+
break;
|
|
59
|
+
case 'size':
|
|
60
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
61
|
+
break;
|
|
62
|
+
case 'disabled':
|
|
63
|
+
this.setHostProperty('disabled', changes['disabled'].currentValue);
|
|
64
|
+
break;
|
|
65
|
+
case 'autofocus':
|
|
66
|
+
this.setHostProperty('autofocus', changes['autofocus'].currentValue);
|
|
67
|
+
break;
|
|
68
|
+
case 'tabIndex':
|
|
69
|
+
this.setHostProperty('tabIndex', changes['tabIndex'].currentValue);
|
|
70
|
+
break;
|
|
45
71
|
default:
|
|
46
72
|
break;
|
|
47
73
|
}
|
|
@@ -63,7 +89,7 @@ export class LuzmoFilterValuePickerDatetime {
|
|
|
63
89
|
}));
|
|
64
90
|
}
|
|
65
91
|
static ɵfac = function LuzmoFilterValuePickerDatetime_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilterValuePickerDatetime)(); };
|
|
66
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePickerDatetime, selectors: [["luzmo-filter-value-picker-datetime"]], inputs: { contentLanguage: "contentLanguage", timeZone: "timeZone", filter: "filter" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePickerDatetime"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePickerDatetime_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilterValuePickerDatetime, selectors: [["luzmo-filter-value-picker-datetime"]], inputs: { contentLanguage: "contentLanguage", timeZone: "timeZone", filter: "filter", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFilterValueChanged: "luzmoFilterValueChanged" }, exportAs: ["luzmoFilterValuePickerDatetime"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilterValuePickerDatetime_Template(rf, ctx) { if (rf & 1) {
|
|
67
93
|
i0.ɵɵprojectionDef();
|
|
68
94
|
i0.ɵɵprojection(0);
|
|
69
95
|
} }, encapsulation: 2, changeDetection: 0 });
|
|
@@ -86,5 +112,20 @@ export class LuzmoFilterValuePickerDatetime {
|
|
|
86
112
|
}], filter: [{
|
|
87
113
|
type: Input,
|
|
88
114
|
args: [{ alias: 'filter' }]
|
|
115
|
+
}], language: [{
|
|
116
|
+
type: Input,
|
|
117
|
+
args: [{ alias: 'language' }]
|
|
118
|
+
}], size: [{
|
|
119
|
+
type: Input,
|
|
120
|
+
args: [{ alias: 'size' }]
|
|
121
|
+
}], disabled: [{
|
|
122
|
+
type: Input,
|
|
123
|
+
args: [{ alias: 'disabled', transform: booleanAttribute }]
|
|
124
|
+
}], autofocus: [{
|
|
125
|
+
type: Input,
|
|
126
|
+
args: [{ alias: 'autofocus', transform: booleanAttribute }]
|
|
127
|
+
}], tabIndex: [{
|
|
128
|
+
type: Input,
|
|
129
|
+
args: [{ alias: 'tabIndex' }]
|
|
89
130
|
}], luzmoFilterValueChanged: [{ type: i0.Output, args: ["luzmoFilterValueChanged"] }] }); })();
|
|
90
131
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterValuePickerDatetime, { className: "LuzmoFilterValuePickerDatetime", filePath: "components/filter-value-picker-datetime.ts", lineNumber: 15 }); })();
|