@luzmo/react-analytics-components-kit 1.0.5-beta.2
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/README.md +63 -0
- package/esm/components/ai-chat.component.d.ts +24 -0
- package/esm/components/ai-chat.component.js +29 -0
- package/esm/components/ai-interaction-textarea.component.d.ts +14 -0
- package/esm/components/ai-interaction-textarea.component.js +19 -0
- package/esm/components/data-field-level.component.d.ts +14 -0
- package/esm/components/data-field-level.component.js +19 -0
- package/esm/components/data-field-panel.component.d.ts +21 -0
- package/esm/components/data-field-panel.component.js +26 -0
- package/esm/components/data-field.component.d.ts +14 -0
- package/esm/components/data-field.component.js +19 -0
- package/esm/components/data-fields-select.component.d.ts +12 -0
- package/esm/components/data-fields-select.component.js +17 -0
- package/esm/components/dataset-icon.component.d.ts +8 -0
- package/esm/components/dataset-icon.component.js +13 -0
- package/esm/components/dataset-selector-list.component.d.ts +12 -0
- package/esm/components/dataset-selector-list.component.js +17 -0
- package/esm/components/dataset-selector-row.component.d.ts +14 -0
- package/esm/components/dataset-selector-row.component.js +19 -0
- package/esm/components/display-settings-binning.component.d.ts +12 -0
- package/esm/components/display-settings-binning.component.js +17 -0
- package/esm/components/display-settings-datetime.component.d.ts +12 -0
- package/esm/components/display-settings-datetime.component.js +17 -0
- package/esm/components/display-settings-grand-totals.component.d.ts +12 -0
- package/esm/components/display-settings-grand-totals.component.js +17 -0
- package/esm/components/display-settings-numeric.component.d.ts +12 -0
- package/esm/components/display-settings-numeric.component.js +17 -0
- package/esm/components/display-settings-period-over-period.component.d.ts +12 -0
- package/esm/components/display-settings-period-over-period.component.js +17 -0
- package/esm/components/display-settings.component.d.ts +16 -0
- package/esm/components/display-settings.component.js +21 -0
- package/esm/components/filter-expression-picker.component.d.ts +12 -0
- package/esm/components/filter-expression-picker.component.js +17 -0
- package/esm/components/filter-item.component.d.ts +12 -0
- package/esm/components/filter-item.component.js +17 -0
- package/esm/components/filter-parameter-picker.component.d.ts +8 -0
- package/esm/components/filter-parameter-picker.component.js +13 -0
- package/esm/components/filter-value-picker-datetime.component.d.ts +12 -0
- package/esm/components/filter-value-picker-datetime.component.js +17 -0
- package/esm/components/filter-value-picker-hierarchy.component.d.ts +12 -0
- package/esm/components/filter-value-picker-hierarchy.component.js +17 -0
- package/esm/components/filter-value-picker-numeric.component.d.ts +12 -0
- package/esm/components/filter-value-picker-numeric.component.js +17 -0
- package/esm/components/filter-value-picker.component.d.ts +12 -0
- package/esm/components/filter-value-picker.component.js +17 -0
- package/esm/components/filters.component.d.ts +12 -0
- package/esm/components/filters.component.js +17 -0
- package/esm/components/formula-editor.component.d.ts +16 -0
- package/esm/components/formula-editor.component.js +21 -0
- package/esm/components/formula-field.component.d.ts +14 -0
- package/esm/components/formula-field.component.js +19 -0
- package/esm/components/formula.component.d.ts +14 -0
- package/esm/components/formula.component.js +19 -0
- package/esm/components/interactive-viz-item.component.d.ts +16 -0
- package/esm/components/interactive-viz-item.component.js +21 -0
- package/esm/components/item-grid.component.d.ts +18 -0
- package/esm/components/item-grid.component.js +23 -0
- package/esm/components/item-option-action-button-group.component.d.ts +12 -0
- package/esm/components/item-option-action-button-group.component.js +17 -0
- package/esm/components/item-option-color-palette-picker.component.d.ts +12 -0
- package/esm/components/item-option-color-palette-picker.component.js +17 -0
- package/esm/components/item-option-color-picker.component.d.ts +12 -0
- package/esm/components/item-option-color-picker.component.js +17 -0
- package/esm/components/item-option-color-range.component.d.ts +12 -0
- package/esm/components/item-option-color-range.component.js +17 -0
- package/esm/components/item-option-multi-language-field.component.d.ts +12 -0
- package/esm/components/item-option-multi-language-field.component.js +17 -0
- package/esm/components/item-option-number-field.component.d.ts +12 -0
- package/esm/components/item-option-number-field.component.js +17 -0
- package/esm/components/item-option-panel.component.d.ts +12 -0
- package/esm/components/item-option-panel.component.js +17 -0
- package/esm/components/item-option-picker.component.d.ts +12 -0
- package/esm/components/item-option-picker.component.js +17 -0
- package/esm/components/item-option-position-picker.component.d.ts +12 -0
- package/esm/components/item-option-position-picker.component.js +17 -0
- package/esm/components/item-option-positions-number-field.component.d.ts +12 -0
- package/esm/components/item-option-positions-number-field.component.js +17 -0
- package/esm/components/item-option-radio-button-group.component.d.ts +12 -0
- package/esm/components/item-option-radio-button-group.component.js +17 -0
- package/esm/components/item-option-slider.component.d.ts +12 -0
- package/esm/components/item-option-slider.component.js +17 -0
- package/esm/components/item-option-switch.component.d.ts +12 -0
- package/esm/components/item-option-switch.component.js +17 -0
- package/esm/components/item-option-text-field.component.d.ts +12 -0
- package/esm/components/item-option-text-field.component.js +17 -0
- package/esm/components/item-option.component.d.ts +12 -0
- package/esm/components/item-option.component.js +17 -0
- package/esm/components/item-slot-drop-panel.component.d.ts +14 -0
- package/esm/components/item-slot-drop-panel.component.js +19 -0
- package/esm/components/item-slot-drop.component.d.ts +20 -0
- package/esm/components/item-slot-drop.component.js +25 -0
- package/esm/components/item-slot-picker-panel.component.d.ts +18 -0
- package/esm/components/item-slot-picker-panel.component.js +23 -0
- package/esm/components/item-slot-picker.component.d.ts +12 -0
- package/esm/components/item-slot-picker.component.js +17 -0
- package/esm/components/slot-menu-list.component.d.ts +12 -0
- package/esm/components/slot-menu-list.component.js +17 -0
- package/esm/components/slot-menu.component.d.ts +22 -0
- package/esm/components/slot-menu.component.js +27 -0
- package/esm/components/viz-item-menu.component.d.ts +16 -0
- package/esm/components/viz-item-menu.component.js +21 -0
- package/esm/index.d.ts +53 -0
- package/esm/index.js +208 -0
- package/package.json +35 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterItem as LuzmoFilterItemClass } from '@luzmo/analytics-components-kit/filter-item';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filter-item>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoFilterChanged - Fired when any part of the filter changes; `detail.filter` holds the updated filter.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoFilterItem: ReactWebComponent<LuzmoFilterItemClass, {
|
|
9
|
+
onLuzmoFilterChanged: EventName<CustomEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoFilterItem */
|
|
12
|
+
export type LuzmoFilterItemElement = LuzmoFilterItemClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilterItem as LuzmoFilterItemClass } from '@luzmo/analytics-components-kit/filter-item';
|
|
4
|
+
const LuzmoFilterItemComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filter-item',
|
|
6
|
+
elementClass: LuzmoFilterItemClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoFilterChanged: 'luzmo-filter-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-filter-item>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoFilterChanged - Fired when any part of the filter changes; `detail.filter` holds the updated filter.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoFilterItem = LuzmoFilterItemComponent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterParameterPicker as LuzmoFilterParameterPickerClass } from '@luzmo/analytics-components-kit/filter-parameter-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filter-parameter-picker>
|
|
5
|
+
*/
|
|
6
|
+
export declare const LuzmoFilterParameterPicker: ReactWebComponent<LuzmoFilterParameterPickerClass>;
|
|
7
|
+
/** The underlying custom element type for LuzmoFilterParameterPicker */
|
|
8
|
+
export type LuzmoFilterParameterPickerElement = LuzmoFilterParameterPickerClass;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilterParameterPicker as LuzmoFilterParameterPickerClass } from '@luzmo/analytics-components-kit/filter-parameter-picker';
|
|
4
|
+
const LuzmoFilterParameterPickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filter-parameter-picker',
|
|
6
|
+
elementClass: LuzmoFilterParameterPickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {}
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* React wrapper for <luzmo-filter-parameter-picker>
|
|
12
|
+
*/
|
|
13
|
+
export const LuzmoFilterParameterPicker = LuzmoFilterParameterPickerComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterValuePickerDatetime as LuzmoFilterValuePickerDatetimeClass } from '@luzmo/analytics-components-kit/filter-value-picker-datetime';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filter-value-picker-datetime>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoFilterValueChanged - Fired when the datetime filter value changes; `detail.value` holds the new value (ISO date or relative range).
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoFilterValuePickerDatetime: ReactWebComponent<LuzmoFilterValuePickerDatetimeClass, {
|
|
9
|
+
onLuzmoFilterValueChanged: EventName<CustomEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoFilterValuePickerDatetime */
|
|
12
|
+
export type LuzmoFilterValuePickerDatetimeElement = LuzmoFilterValuePickerDatetimeClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilterValuePickerDatetime as LuzmoFilterValuePickerDatetimeClass } from '@luzmo/analytics-components-kit/filter-value-picker-datetime';
|
|
4
|
+
const LuzmoFilterValuePickerDatetimeComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filter-value-picker-datetime',
|
|
6
|
+
elementClass: LuzmoFilterValuePickerDatetimeClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoFilterValueChanged: 'luzmo-filter-value-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-filter-value-picker-datetime>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoFilterValueChanged - Fired when the datetime filter value changes; `detail.value` holds the new value (ISO date or relative range).
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoFilterValuePickerDatetime = LuzmoFilterValuePickerDatetimeComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterValuePickerHierarchy as LuzmoFilterValuePickerHierarchyClass } from '@luzmo/analytics-components-kit/filter-value-picker-hierarchy';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filter-value-picker-hierarchy>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoFilterValueChanged - Fired when the hierarchy filter value changes; `detail.value` holds the selected value(s).
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoFilterValuePickerHierarchy: ReactWebComponent<LuzmoFilterValuePickerHierarchyClass, {
|
|
9
|
+
onLuzmoFilterValueChanged: EventName<CustomEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoFilterValuePickerHierarchy */
|
|
12
|
+
export type LuzmoFilterValuePickerHierarchyElement = LuzmoFilterValuePickerHierarchyClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilterValuePickerHierarchy as LuzmoFilterValuePickerHierarchyClass } from '@luzmo/analytics-components-kit/filter-value-picker-hierarchy';
|
|
4
|
+
const LuzmoFilterValuePickerHierarchyComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filter-value-picker-hierarchy',
|
|
6
|
+
elementClass: LuzmoFilterValuePickerHierarchyClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoFilterValueChanged: 'luzmo-filter-value-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-filter-value-picker-hierarchy>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoFilterValueChanged - Fired when the hierarchy filter value changes; `detail.value` holds the selected value(s).
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoFilterValuePickerHierarchy = LuzmoFilterValuePickerHierarchyComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterValuePickerNumeric as LuzmoFilterValuePickerNumericClass } from '@luzmo/analytics-components-kit/filter-value-picker-numeric';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filter-value-picker-numeric>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoFilterValueChanged - Fired when the numeric filter value changes; `detail.value` holds the new number or range.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoFilterValuePickerNumeric: ReactWebComponent<LuzmoFilterValuePickerNumericClass, {
|
|
9
|
+
onLuzmoFilterValueChanged: EventName<CustomEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoFilterValuePickerNumeric */
|
|
12
|
+
export type LuzmoFilterValuePickerNumericElement = LuzmoFilterValuePickerNumericClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilterValuePickerNumeric as LuzmoFilterValuePickerNumericClass } from '@luzmo/analytics-components-kit/filter-value-picker-numeric';
|
|
4
|
+
const LuzmoFilterValuePickerNumericComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filter-value-picker-numeric',
|
|
6
|
+
elementClass: LuzmoFilterValuePickerNumericClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoFilterValueChanged: 'luzmo-filter-value-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-filter-value-picker-numeric>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoFilterValueChanged - Fired when the numeric filter value changes; `detail.value` holds the new number or range.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoFilterValuePickerNumeric = LuzmoFilterValuePickerNumericComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilterValuePicker as LuzmoFilterValuePickerClass } from '@luzmo/analytics-components-kit/filter-value-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filter-value-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoFilterValueChanged - Fired when the filter value changes; `detail.value` holds the new value.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoFilterValuePicker: ReactWebComponent<LuzmoFilterValuePickerClass, {
|
|
9
|
+
onLuzmoFilterValueChanged: EventName<CustomEvent>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoFilterValuePicker */
|
|
12
|
+
export type LuzmoFilterValuePickerElement = LuzmoFilterValuePickerClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilterValuePicker as LuzmoFilterValuePickerClass } from '@luzmo/analytics-components-kit/filter-value-picker';
|
|
4
|
+
const LuzmoFilterValuePickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filter-value-picker',
|
|
6
|
+
elementClass: LuzmoFilterValuePickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoFilterValueChanged: 'luzmo-filter-value-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-filter-value-picker>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoFilterValueChanged - Fired when the filter value changes; `detail.value` holds the new value.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoFilterValuePicker = LuzmoFilterValuePickerComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFilters as LuzmoFiltersClass, FiltersChangedEventDetail } from '@luzmo/analytics-components-kit/filters';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-filters>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoFiltersChanged - Announces that the filters have changed
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoFilters: ReactWebComponent<LuzmoFiltersClass, {
|
|
9
|
+
onLuzmoFiltersChanged: EventName<CustomEvent<FiltersChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoFilters */
|
|
12
|
+
export type LuzmoFiltersElement = LuzmoFiltersClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFilters as LuzmoFiltersClass } from '@luzmo/analytics-components-kit/filters';
|
|
4
|
+
const LuzmoFiltersComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-filters',
|
|
6
|
+
elementClass: LuzmoFiltersClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoFiltersChanged: 'luzmo-filters-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-filters>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoFiltersChanged - Announces that the filters have changed
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoFilters = LuzmoFiltersComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFormulaEditor as LuzmoFormulaEditorClass } from '@luzmo/analytics-components-kit/formula-editor';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-formula-editor>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoValidityChanged - Fired when expression validity changes.
|
|
7
|
+
* @event onLuzmoExpressionChanged - Fired (debounced) when the expression changes.
|
|
8
|
+
* @event onLuzmoDatasetsError - Fired when fetching datasets by id fails.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoFormulaEditor: ReactWebComponent<LuzmoFormulaEditorClass, {
|
|
11
|
+
onLuzmoValidityChanged: EventName<CustomEvent<unknown>>;
|
|
12
|
+
onLuzmoExpressionChanged: EventName<CustomEvent>;
|
|
13
|
+
onLuzmoDatasetsError: EventName<CustomEvent>;
|
|
14
|
+
}>;
|
|
15
|
+
/** The underlying custom element type for LuzmoFormulaEditor */
|
|
16
|
+
export type LuzmoFormulaEditorElement = LuzmoFormulaEditorClass;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFormulaEditor as LuzmoFormulaEditorClass } from '@luzmo/analytics-components-kit/formula-editor';
|
|
4
|
+
const LuzmoFormulaEditorComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-formula-editor',
|
|
6
|
+
elementClass: LuzmoFormulaEditorClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoValidityChanged: 'luzmo-validity-changed',
|
|
10
|
+
onLuzmoExpressionChanged: 'luzmo-expression-changed',
|
|
11
|
+
onLuzmoDatasetsError: 'luzmo-datasets-error'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* React wrapper for <luzmo-formula-editor>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoValidityChanged - Fired when expression validity changes.
|
|
18
|
+
* @event onLuzmoExpressionChanged - Fired (debounced) when the expression changes.
|
|
19
|
+
* @event onLuzmoDatasetsError - Fired when fetching datasets by id fails.
|
|
20
|
+
*/
|
|
21
|
+
export const LuzmoFormulaEditor = LuzmoFormulaEditorComponent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFormulaField as LuzmoFormulaFieldClass } from '@luzmo/analytics-components-kit/formula-field';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-formula-field>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoExpressionChanged - Fired (debounced) when the expression changes (only when not readonly).
|
|
7
|
+
* @event onLuzmoDatasetsError - Fired when fetching datasets by id fails.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoFormulaField: ReactWebComponent<LuzmoFormulaFieldClass, {
|
|
10
|
+
onLuzmoExpressionChanged: EventName<CustomEvent>;
|
|
11
|
+
onLuzmoDatasetsError: EventName<CustomEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoFormulaField */
|
|
14
|
+
export type LuzmoFormulaFieldElement = LuzmoFormulaFieldClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFormulaField as LuzmoFormulaFieldClass } from '@luzmo/analytics-components-kit/formula-field';
|
|
4
|
+
const LuzmoFormulaFieldComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-formula-field',
|
|
6
|
+
elementClass: LuzmoFormulaFieldClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoExpressionChanged: 'luzmo-expression-changed',
|
|
10
|
+
onLuzmoDatasetsError: 'luzmo-datasets-error'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-formula-field>
|
|
15
|
+
*
|
|
16
|
+
* @event onLuzmoExpressionChanged - Fired (debounced) when the expression changes (only when not readonly).
|
|
17
|
+
* @event onLuzmoDatasetsError - Fired when fetching datasets by id fails.
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoFormulaField = LuzmoFormulaFieldComponent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoFormula as LuzmoFormulaClass } from '@luzmo/analytics-components-kit/formula';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-formula>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoExpressionChanged - Fired (debounced) when the formula expression changes; `detail.expression` holds the new expression.
|
|
7
|
+
* @event onLuzmoDatasetsError - Fired when fetching datasets by id fails.
|
|
8
|
+
*/
|
|
9
|
+
export declare const LuzmoFormula: ReactWebComponent<LuzmoFormulaClass, {
|
|
10
|
+
onLuzmoExpressionChanged: EventName<CustomEvent>;
|
|
11
|
+
onLuzmoDatasetsError: EventName<CustomEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
/** The underlying custom element type for LuzmoFormula */
|
|
14
|
+
export type LuzmoFormulaElement = LuzmoFormulaClass;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoFormula as LuzmoFormulaClass } from '@luzmo/analytics-components-kit/formula';
|
|
4
|
+
const LuzmoFormulaComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-formula',
|
|
6
|
+
elementClass: LuzmoFormulaClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoExpressionChanged: 'luzmo-expression-changed',
|
|
10
|
+
onLuzmoDatasetsError: 'luzmo-datasets-error'
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* React wrapper for <luzmo-formula>
|
|
15
|
+
*
|
|
16
|
+
* @event onLuzmoExpressionChanged - Fired (debounced) when the formula expression changes; `detail.expression` holds the new expression.
|
|
17
|
+
* @event onLuzmoDatasetsError - Fired when fetching datasets by id fails.
|
|
18
|
+
*/
|
|
19
|
+
export const LuzmoFormula = LuzmoFormulaComponent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-interactive-viz-item>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options.
|
|
7
|
+
* @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart).
|
|
8
|
+
* @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LuzmoInteractiveVizItem: ReactWebComponent<LuzmoInteractiveVizItemClass, {
|
|
11
|
+
onLuzmoChartOptionsChanged: EventName<CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>>;
|
|
12
|
+
onLuzmoChartChanged: EventName<CustomEvent<InteractiveVizItemChartChangedEventDetail>>;
|
|
13
|
+
onLuzmoFeedbackChanged: EventName<CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>>;
|
|
14
|
+
}>;
|
|
15
|
+
/** The underlying custom element type for LuzmoInteractiveVizItem */
|
|
16
|
+
export type LuzmoInteractiveVizItemElement = LuzmoInteractiveVizItemClass;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemClass } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
4
|
+
const LuzmoInteractiveVizItemComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-interactive-viz-item',
|
|
6
|
+
elementClass: LuzmoInteractiveVizItemClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoChartOptionsChanged: 'luzmo-chart-options-changed',
|
|
10
|
+
onLuzmoChartChanged: 'luzmo-chart-changed',
|
|
11
|
+
onLuzmoFeedbackChanged: 'luzmo-feedback-changed'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* React wrapper for <luzmo-interactive-viz-item>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoChartOptionsChanged - Fired when the inline actions (ranking, sort, display mode) change the chart options.
|
|
18
|
+
* @event onLuzmoChartChanged - Fired when the config panel changes slots, filters, or options (full chart).
|
|
19
|
+
* @event onLuzmoFeedbackChanged - Fired when the user changes the thumbs up/down rating.
|
|
20
|
+
*/
|
|
21
|
+
export const LuzmoInteractiveVizItem = LuzmoInteractiveVizItemComponent;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemGrid as LuzmoItemGridClass, GridItemActionEventDetail, GridItemStatesChangedEventDetail, GridLifecycleEventDetail } from '@luzmo/analytics-components-kit/item-grid';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-grid>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoItemGridItemAction - Fired when an item action is performed
|
|
7
|
+
* @event onLuzmoItemGridLayoutChanged - Fired when the grid layout is changed
|
|
8
|
+
* @event onLuzmoItemGridReady - Fired when the grid is ready
|
|
9
|
+
* @event onLuzmoItemGridItemStatesChanged - Fired when item states change (controlled and uncontrolled mode)
|
|
10
|
+
*/
|
|
11
|
+
export declare const LuzmoItemGrid: ReactWebComponent<LuzmoItemGridClass, {
|
|
12
|
+
onLuzmoItemGridItemAction: EventName<CustomEvent<GridItemActionEventDetail>>;
|
|
13
|
+
onLuzmoItemGridLayoutChanged: EventName<CustomEvent<GridLifecycleEventDetail>>;
|
|
14
|
+
onLuzmoItemGridReady: EventName<CustomEvent<GridLifecycleEventDetail>>;
|
|
15
|
+
onLuzmoItemGridItemStatesChanged: EventName<CustomEvent<GridItemStatesChangedEventDetail>>;
|
|
16
|
+
}>;
|
|
17
|
+
/** The underlying custom element type for LuzmoItemGrid */
|
|
18
|
+
export type LuzmoItemGridElement = LuzmoItemGridClass;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemGrid as LuzmoItemGridClass } from '@luzmo/analytics-components-kit/item-grid';
|
|
4
|
+
const LuzmoItemGridComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-grid',
|
|
6
|
+
elementClass: LuzmoItemGridClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoItemGridItemAction: 'luzmo-item-grid-item-action',
|
|
10
|
+
onLuzmoItemGridLayoutChanged: 'luzmo-item-grid-layout-changed',
|
|
11
|
+
onLuzmoItemGridReady: 'luzmo-item-grid-ready',
|
|
12
|
+
onLuzmoItemGridItemStatesChanged: 'luzmo-item-grid-item-states-changed'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* React wrapper for <luzmo-item-grid>
|
|
17
|
+
*
|
|
18
|
+
* @event onLuzmoItemGridItemAction - Fired when an item action is performed
|
|
19
|
+
* @event onLuzmoItemGridLayoutChanged - Fired when the grid layout is changed
|
|
20
|
+
* @event onLuzmoItemGridReady - Fired when the grid is ready
|
|
21
|
+
* @event onLuzmoItemGridItemStatesChanged - Fired when item states change (controlled and uncontrolled mode)
|
|
22
|
+
*/
|
|
23
|
+
export const LuzmoItemGrid = LuzmoItemGridComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionActionButtonGroup as LuzmoItemOptionActionButtonGroupClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-action-button-group';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-action-button-group>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionActionButtonGroup: ReactWebComponent<LuzmoItemOptionActionButtonGroupClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionActionButtonGroup */
|
|
12
|
+
export type LuzmoItemOptionActionButtonGroupElement = LuzmoItemOptionActionButtonGroupClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionActionButtonGroup as LuzmoItemOptionActionButtonGroupClass } from '@luzmo/analytics-components-kit/item-option-action-button-group';
|
|
4
|
+
const LuzmoItemOptionActionButtonGroupComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-action-button-group',
|
|
6
|
+
elementClass: LuzmoItemOptionActionButtonGroupClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-action-button-group>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionActionButtonGroup = LuzmoItemOptionActionButtonGroupComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionColorPalettePicker as LuzmoItemOptionColorPalettePickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-palette-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-color-palette-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionColorPalettePicker: ReactWebComponent<LuzmoItemOptionColorPalettePickerClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionColorPalettePicker */
|
|
12
|
+
export type LuzmoItemOptionColorPalettePickerElement = LuzmoItemOptionColorPalettePickerClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionColorPalettePicker as LuzmoItemOptionColorPalettePickerClass } from '@luzmo/analytics-components-kit/item-option-color-palette-picker';
|
|
4
|
+
const LuzmoItemOptionColorPalettePickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-color-palette-picker',
|
|
6
|
+
elementClass: LuzmoItemOptionColorPalettePickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-color-palette-picker>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionColorPalettePicker = LuzmoItemOptionColorPalettePickerComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-picker';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-color-picker>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionColorPicker: ReactWebComponent<LuzmoItemOptionColorPickerClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionColorPicker */
|
|
12
|
+
export type LuzmoItemOptionColorPickerElement = LuzmoItemOptionColorPickerClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass } from '@luzmo/analytics-components-kit/item-option-color-picker';
|
|
4
|
+
const LuzmoItemOptionColorPickerComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-color-picker',
|
|
6
|
+
elementClass: LuzmoItemOptionColorPickerClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-color-picker>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionColorPicker = LuzmoItemOptionColorPickerComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-range';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-color-range>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionColorRange: ReactWebComponent<LuzmoItemOptionColorRangeClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionColorRange */
|
|
12
|
+
export type LuzmoItemOptionColorRangeElement = LuzmoItemOptionColorRangeClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass } from '@luzmo/analytics-components-kit/item-option-color-range';
|
|
4
|
+
const LuzmoItemOptionColorRangeComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-color-range',
|
|
6
|
+
elementClass: LuzmoItemOptionColorRangeClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-color-range>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionColorRange = LuzmoItemOptionColorRangeComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionMultiLangField as LuzmoItemOptionMultiLangFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-multi-language-field';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-multi-language-field>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionMultiLanguageField: ReactWebComponent<LuzmoItemOptionMultiLangFieldClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionMultiLanguageField */
|
|
12
|
+
export type LuzmoItemOptionMultiLanguageFieldElement = LuzmoItemOptionMultiLangFieldClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionMultiLangField as LuzmoItemOptionMultiLangFieldClass } from '@luzmo/analytics-components-kit/item-option-multi-language-field';
|
|
4
|
+
const LuzmoItemOptionMultiLanguageFieldComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-multi-language-field',
|
|
6
|
+
elementClass: LuzmoItemOptionMultiLangFieldClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-multi-language-field>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionMultiLanguageField = LuzmoItemOptionMultiLanguageFieldComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionNumberField as LuzmoItemOptionNumberFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-number-field';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-number-field>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionNumberField: ReactWebComponent<LuzmoItemOptionNumberFieldClass, {
|
|
9
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionNumberField */
|
|
12
|
+
export type LuzmoItemOptionNumberFieldElement = LuzmoItemOptionNumberFieldClass;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOptionNumberField as LuzmoItemOptionNumberFieldClass } from '@luzmo/analytics-components-kit/item-option-number-field';
|
|
4
|
+
const LuzmoItemOptionNumberFieldComponent = createComponent({
|
|
5
|
+
tagName: 'luzmo-item-option-number-field',
|
|
6
|
+
elementClass: LuzmoItemOptionNumberFieldClass,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onLuzmoOptionChanged: 'luzmo-option-changed'
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* React wrapper for <luzmo-item-option-number-field>
|
|
14
|
+
*
|
|
15
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
|
+
*/
|
|
17
|
+
export const LuzmoItemOptionNumberField = LuzmoItemOptionNumberFieldComponent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventName, ReactWebComponent } from '@lit/react';
|
|
2
|
+
import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-panel';
|
|
3
|
+
/**
|
|
4
|
+
* React wrapper for <luzmo-item-option-panel>
|
|
5
|
+
*
|
|
6
|
+
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
|
|
7
|
+
*/
|
|
8
|
+
export declare const LuzmoItemOptionPanel: ReactWebComponent<LuzmoItemOptionPanelClass, {
|
|
9
|
+
onLuzmoOptionsChanged: EventName<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
10
|
+
}>;
|
|
11
|
+
/** The underlying custom element type for LuzmoItemOptionPanel */
|
|
12
|
+
export type LuzmoItemOptionPanelElement = LuzmoItemOptionPanelClass;
|