@luzmo/react-analytics-components-kit 1.0.6 → 1.0.8-beta.1
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/filter-parameter-picker.component.d.ts +11 -3
- package/esm/components/filter-parameter-picker.component.js +9 -1
- package/esm/components/filters.component.d.ts +10 -2
- package/esm/components/filters.component.js +6 -2
- package/esm/components/item-option-guidelines.component.d.ts +12 -0
- package/esm/components/item-option-guidelines.component.js +17 -0
- package/esm/index.d.ts +3 -2
- package/esm/index.js +4 -0
- package/package.json +2 -2
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import { ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoFilterParameterPicker as LuzmoFilterParameterPickerClass } from '@luzmo/analytics-components-kit/filter-parameter-picker';
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterParameterPicker as LuzmoFilterParameterPickerClass, FilterParameterPickerEventDetail } from '@luzmo/analytics-components-kit/filter-parameter-picker';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-filter-parameter-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoParameterSelected - Fired when a parameter is selected.
|
|
7
|
+
* @event onLuzmoParameterCreated - Fired when a parameter is created.
|
|
8
|
+
* @event onLuzmoParameterRemoved - Fired when a parameter is detached from the filter.
|
|
5
9
|
*/
|
|
6
|
-
export declare const LuzmoFilterParameterPicker: ReactWebComponent<LuzmoFilterParameterPickerClass
|
|
10
|
+
export declare const LuzmoFilterParameterPicker: ReactWebComponent<LuzmoFilterParameterPickerClass, {
|
|
11
|
+
onLuzmoParameterSelected: EventName<CustomEvent<FilterParameterPickerEventDetail>>;
|
|
12
|
+
onLuzmoParameterCreated: EventName<CustomEvent<FilterParameterPickerEventDetail>>;
|
|
13
|
+
onLuzmoParameterRemoved: EventName<CustomEvent<FilterParameterPickerEventDetail>>;
|
|
14
|
+
}>;
|
|
7
15
|
/** The underlying custom element type for LuzmoFilterParameterPicker */
|
|
8
16
|
export type LuzmoFilterParameterPickerElement = LuzmoFilterParameterPickerClass;
|
|
@@ -5,9 +5,17 @@ const LuzmoFilterParameterPickerComponent = createComponent({
|
|
|
5
5
|
tagName: 'luzmo-filter-parameter-picker',
|
|
6
6
|
elementClass: LuzmoFilterParameterPickerClass,
|
|
7
7
|
react: React,
|
|
8
|
-
events: {
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoParameterSelected: 'luzmo-parameter-selected',
|
|
10
|
+
onLuzmoParameterCreated: 'luzmo-parameter-created',
|
|
11
|
+
onLuzmoParameterRemoved: 'luzmo-parameter-removed'
|
|
12
|
+
}
|
|
9
13
|
});
|
|
10
14
|
/**
|
|
11
15
|
* React wrapper for <luzmo-filter-parameter-picker>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoParameterSelected - Fired when a parameter is selected.
|
|
18
|
+
* @event onLuzmoParameterCreated - Fired when a parameter is created.
|
|
19
|
+
* @event onLuzmoParameterRemoved - Fired when a parameter is detached from the filter.
|
|
12
20
|
*/
|
|
13
21
|
export const LuzmoFilterParameterPicker = LuzmoFilterParameterPickerComponent;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
-
import { LuzmoFilters as LuzmoFiltersClass, FiltersChangedEventDetail } from '@luzmo/analytics-components-kit/filters';
|
|
2
|
+
import { LuzmoFilters as LuzmoFiltersClass, FilterParameter, FiltersChangedEventDetail } from '@luzmo/analytics-components-kit/filters';
|
|
3
3
|
/**
|
|
4
4
|
* React wrapper for <luzmo-filters>
|
|
5
5
|
*
|
|
6
|
-
* @event onLuzmoFiltersChanged - Announces that the filters have changed
|
|
6
|
+
* @event onLuzmoFiltersChanged - Announces that the filters have changed, carrying the emitted groups and the format they are in
|
|
7
|
+
* @event onLuzmoParameterCreated - Announces that a parameter was created and added to `parameters`.
|
|
8
|
+
* @event onLuzmoParameterRemoved - Announces that a parameter was detached from a filter.
|
|
7
9
|
*/
|
|
8
10
|
export declare const LuzmoFilters: ReactWebComponent<LuzmoFiltersClass, {
|
|
9
11
|
onLuzmoFiltersChanged: EventName<CustomEvent<FiltersChangedEventDetail>>;
|
|
12
|
+
onLuzmoParameterCreated: EventName<CustomEvent<{
|
|
13
|
+
parameter: FilterParameter;
|
|
14
|
+
}>>;
|
|
15
|
+
onLuzmoParameterRemoved: EventName<CustomEvent<{
|
|
16
|
+
parameter: FilterParameter;
|
|
17
|
+
}>>;
|
|
10
18
|
}>;
|
|
11
19
|
/** The underlying custom element type for LuzmoFilters */
|
|
12
20
|
export type LuzmoFiltersElement = LuzmoFiltersClass;
|
|
@@ -6,12 +6,16 @@ const LuzmoFiltersComponent = createComponent({
|
|
|
6
6
|
elementClass: LuzmoFiltersClass,
|
|
7
7
|
react: React,
|
|
8
8
|
events: {
|
|
9
|
-
onLuzmoFiltersChanged: 'luzmo-filters-changed'
|
|
9
|
+
onLuzmoFiltersChanged: 'luzmo-filters-changed',
|
|
10
|
+
onLuzmoParameterCreated: 'luzmo-parameter-created',
|
|
11
|
+
onLuzmoParameterRemoved: 'luzmo-parameter-removed'
|
|
10
12
|
}
|
|
11
13
|
});
|
|
12
14
|
/**
|
|
13
15
|
* React wrapper for <luzmo-filters>
|
|
14
16
|
*
|
|
15
|
-
* @event onLuzmoFiltersChanged - Announces that the filters have changed
|
|
17
|
+
* @event onLuzmoFiltersChanged - Announces that the filters have changed, carrying the emitted groups and the format they are in
|
|
18
|
+
* @event onLuzmoParameterCreated - Announces that a parameter was created and added to `parameters`.
|
|
19
|
+
* @event onLuzmoParameterRemoved - Announces that a parameter was detached from a filter.
|
|
16
20
|
*/
|
|
17
21
|
export const LuzmoFilters = LuzmoFiltersComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionGuidelines as LuzmoItemOptionGuidelinesClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-guidelines';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-guidelines>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the guidelines value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionGuidelines: ReactWebComponent<LuzmoItemOptionGuidelinesClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionGuidelines */
|
|
12
|
+
export type LuzmoItemOptionGuidelinesElement = LuzmoItemOptionGuidelinesClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionGuidelines as LuzmoItemOptionGuidelinesClass } from '@luzmo/analytics-components-kit/item-option-guidelines';
|
|
4
|
+
const LuzmoItemOptionGuidelinesComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-guidelines',
|
|
6
|
+
elementClass: LuzmoItemOptionGuidelinesClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-guidelines>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the guidelines value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionGuidelines = LuzmoItemOptionGuidelinesComponent;
|
package/esm/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { LuzmoItemOptionActionButtonGroup, type LuzmoItemOptionActionButtonGroup
|
|
|
31
31
|
export { LuzmoItemOptionColorPalettePicker, type LuzmoItemOptionColorPalettePickerElement } from './components/item-option-color-palette-picker.component';
|
|
32
32
|
export { LuzmoItemOptionColorPicker, type LuzmoItemOptionColorPickerElement } from './components/item-option-color-picker.component';
|
|
33
33
|
export { LuzmoItemOptionColorRange, type LuzmoItemOptionColorRangeElement } from './components/item-option-color-range.component';
|
|
34
|
+
export { LuzmoItemOptionGuidelines, type LuzmoItemOptionGuidelinesElement } from './components/item-option-guidelines.component';
|
|
34
35
|
export { LuzmoItemOptionMultiLanguageField, type LuzmoItemOptionMultiLanguageFieldElement } from './components/item-option-multi-language-field.component';
|
|
35
36
|
export { LuzmoItemOptionNumberField, type LuzmoItemOptionNumberFieldElement } from './components/item-option-number-field.component';
|
|
36
37
|
export { LuzmoItemOptionPanel, type LuzmoItemOptionPanelElement } from './components/item-option-panel.component';
|
|
@@ -48,6 +49,6 @@ export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from '
|
|
|
48
49
|
export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.component';
|
|
49
50
|
export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.component';
|
|
50
51
|
export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz-item-menu.component';
|
|
51
|
-
export declare const LUZMO_REACT_COMPONENTS: readonly [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any];
|
|
52
|
-
export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAiChat", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
|
|
52
|
+
export declare const LUZMO_REACT_COMPONENTS: readonly [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any];
|
|
53
|
+
export declare const LUZMO_REACT_COMPONENT_NAMES: readonly ["LuzmoAiChat", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
|
|
53
54
|
export type LuzmoReactComponentName = typeof LUZMO_REACT_COMPONENT_NAMES[number];
|
package/esm/index.js
CHANGED
|
@@ -33,6 +33,7 @@ import { LuzmoItemOptionActionButtonGroup } from './components/item-option-actio
|
|
|
33
33
|
import { LuzmoItemOptionColorPalettePicker } from './components/item-option-color-palette-picker.component';
|
|
34
34
|
import { LuzmoItemOptionColorPicker } from './components/item-option-color-picker.component';
|
|
35
35
|
import { LuzmoItemOptionColorRange } from './components/item-option-color-range.component';
|
|
36
|
+
import { LuzmoItemOptionGuidelines } from './components/item-option-guidelines.component';
|
|
36
37
|
import { LuzmoItemOptionMultiLanguageField } from './components/item-option-multi-language-field.component';
|
|
37
38
|
import { LuzmoItemOptionNumberField } from './components/item-option-number-field.component';
|
|
38
39
|
import { LuzmoItemOptionPanel } from './components/item-option-panel.component';
|
|
@@ -83,6 +84,7 @@ export { LuzmoItemOptionActionButtonGroup } from './components/item-option-actio
|
|
|
83
84
|
export { LuzmoItemOptionColorPalettePicker } from './components/item-option-color-palette-picker.component';
|
|
84
85
|
export { LuzmoItemOptionColorPicker } from './components/item-option-color-picker.component';
|
|
85
86
|
export { LuzmoItemOptionColorRange } from './components/item-option-color-range.component';
|
|
87
|
+
export { LuzmoItemOptionGuidelines } from './components/item-option-guidelines.component';
|
|
86
88
|
export { LuzmoItemOptionMultiLanguageField } from './components/item-option-multi-language-field.component';
|
|
87
89
|
export { LuzmoItemOptionNumberField } from './components/item-option-number-field.component';
|
|
88
90
|
export { LuzmoItemOptionPanel } from './components/item-option-panel.component';
|
|
@@ -135,6 +137,7 @@ export const LUZMO_REACT_COMPONENTS = [
|
|
|
135
137
|
LuzmoItemOptionColorPalettePicker,
|
|
136
138
|
LuzmoItemOptionColorPicker,
|
|
137
139
|
LuzmoItemOptionColorRange,
|
|
140
|
+
LuzmoItemOptionGuidelines,
|
|
138
141
|
LuzmoItemOptionMultiLanguageField,
|
|
139
142
|
LuzmoItemOptionNumberField,
|
|
140
143
|
LuzmoItemOptionPanel,
|
|
@@ -188,6 +191,7 @@ export const LUZMO_REACT_COMPONENT_NAMES = [
|
|
|
188
191
|
'LuzmoItemOptionColorPalettePicker',
|
|
189
192
|
'LuzmoItemOptionColorPicker',
|
|
190
193
|
'LuzmoItemOptionColorRange',
|
|
194
|
+
'LuzmoItemOptionGuidelines',
|
|
191
195
|
'LuzmoItemOptionMultiLanguageField',
|
|
192
196
|
'LuzmoItemOptionNumberField',
|
|
193
197
|
'LuzmoItemOptionPanel',
|
package/package.json
CHANGED