@luzmo/analytics-components-kit 1.0.3-beta.10 → 1.0.3-beta.11
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 +320 -11
- package/components/ai-chat/ai-chat.d.ts +8 -4
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +1 -1
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.d.ts +1 -1
- package/components/ai-chat/index.js +1 -1
- package/components/{ai-chat-Du1gOCyo.cjs → ai-chat-8O_eA0_D.cjs} +6 -5
- package/components/{ai-chat-BUiqA_bv.js → ai-chat-BYlVFmdP.js} +11 -7
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +7 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.d.ts +1 -0
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea/types.d.ts +5 -0
- package/components/{ai-interaction-textarea-DnM5PwjW.cjs → ai-interaction-textarea-BK25Gh9y.cjs} +3 -3
- package/components/{ai-interaction-textarea-Cei62Fen.js → ai-interaction-textarea-KVfak9dJ.js} +6 -3
- package/components/data-field/data-field.d.ts +2 -2
- package/components/data-field/index.d.ts +1 -0
- package/components/data-field-level/data-field-level.d.ts +2 -2
- package/components/data-field-panel/data-field-panel.d.ts +3 -3
- package/components/data-fields-select/data-fields-select.d.ts +1 -1
- package/components/data-fields-select/index.d.ts +1 -0
- package/components/data-fields-select/types.d.ts +4 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +1 -1
- package/components/dataset-selector-list/index.d.ts +1 -0
- package/components/dataset-selector-row/dataset-selector-row.d.ts +2 -2
- package/components/dataset-selector-row/index.d.ts +1 -0
- package/components/display-settings/display-settings.d.ts +3 -3
- package/components/display-settings/index.d.ts +1 -1
- package/components/display-settings/types.d.ts +5 -1
- package/components/display-settings-binning/display-settings-binning.d.ts +1 -1
- package/components/display-settings-binning/index.d.ts +1 -0
- package/components/display-settings-datetime/display-settings-datetime.d.ts +1 -1
- package/components/display-settings-datetime/index.d.ts +1 -0
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +1 -1
- package/components/display-settings-grand-totals/index.d.ts +1 -0
- package/components/display-settings-numeric/display-settings-numeric.d.ts +1 -1
- package/components/display-settings-numeric/index.d.ts +1 -0
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +1 -1
- package/components/display-settings-period-over-period/index.d.ts +1 -0
- package/components/filters/filters.d.ts +1 -1
- package/components/filters/index.d.ts +1 -1
- package/components/filters/types.d.ts +4 -0
- package/components/index.cjs +1 -1
- package/components/index.js +2 -2
- package/components/item-grid/helpers/grid-events.d.ts +1 -1
- package/components/item-grid/index.d.ts +1 -0
- package/components/item-grid/item-grid.d.ts +4 -4
- package/components/item-option/index.d.ts +1 -0
- package/components/item-option/item-option.d.ts +1 -0
- package/components/item-option/types.d.ts +8 -0
- package/components/item-option-action-button-group/index.d.ts +1 -0
- package/components/item-option-action-button-group/item-option-action-button-group.d.ts +1 -0
- package/components/item-option-color-palette-picker/index.d.ts +1 -0
- package/components/item-option-color-palette-picker/item-option-color-palette-picker.d.ts +1 -0
- package/components/item-option-color-picker/index.d.ts +1 -0
- package/components/item-option-color-picker/item-option-color-picker.d.ts +1 -1
- package/components/item-option-color-range/index.d.ts +1 -0
- package/components/item-option-color-range/item-option-color-range.d.ts +1 -1
- package/components/item-option-multi-language-field/index.d.ts +1 -0
- package/components/item-option-multi-language-field/item-option-multi-language-field.d.ts +1 -0
- package/components/item-option-number-field/index.d.ts +1 -0
- package/components/item-option-number-field/item-option-number-field.d.ts +1 -0
- package/components/item-option-panel/index.d.ts +1 -0
- package/components/item-option-panel/item-option-panel.d.ts +1 -1
- package/components/item-option-picker/index.d.ts +1 -0
- package/components/item-option-picker/item-option-picker.d.ts +1 -0
- package/components/item-option-position-picker/index.d.ts +1 -0
- package/components/item-option-position-picker/item-option-position-picker.d.ts +1 -0
- package/components/item-option-positions-number-field/index.d.ts +1 -0
- package/components/item-option-positions-number-field/item-option-positions-number-field.d.ts +1 -0
- package/components/item-option-radio-button-group/index.d.ts +1 -0
- package/components/item-option-radio-button-group/item-option-radio-button-group.d.ts +1 -0
- package/components/item-option-slider/index.d.ts +1 -0
- package/components/item-option-slider/item-option-slider.d.ts +1 -0
- package/components/item-option-switch/index.d.ts +1 -0
- package/components/item-option-switch/item-option-switch.d.ts +1 -0
- package/components/item-option-text-field/index.d.ts +1 -0
- package/components/item-option-text-field/item-option-text-field.d.ts +1 -0
- package/components/item-slot-drop/index.d.ts +2 -0
- package/components/item-slot-drop/item-slot-drop.d.ts +2 -0
- package/components/item-slot-drop-panel/index.d.ts +1 -0
- package/components/item-slot-drop-panel/item-slot-drop-panel.d.ts +2 -2
- package/components/item-slot-picker/index.d.ts +1 -0
- package/components/item-slot-picker/item-slot-picker.d.ts +1 -1
- package/components/item-slot-picker-panel/index.d.ts +2 -0
- package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +4 -4
- package/components/slot-menu/index.d.ts +1 -0
- package/components/slot-menu/slot-menu.d.ts +5 -3
- package/components/slot-menu-list/index.d.ts +1 -0
- package/components/slot-menu-list/slot-menu-list.d.ts +1 -1
- package/components/viz-item-menu/index.d.ts +1 -1
- package/components/viz-item-menu/types.d.ts +8 -0
- package/components/viz-item-menu/viz-item-menu.d.ts +3 -3
- package/custom-elements.json +190 -72
- package/package.json +1 -1
- package/react/components/ai-chat.component.ts +9 -9
- package/react/components/ai-interaction-textarea/index.ts +1 -0
- package/react/components/ai-interaction-textarea/types.ts +6 -0
- package/react/components/ai-interaction-textarea.component.ts +5 -5
- package/react/components/data-field-level.component.ts +5 -5
- package/react/components/data-field-panel.component.ts +7 -7
- package/react/components/data-field.component.ts +5 -5
- package/react/components/data-fields-select/index.ts +1 -0
- package/react/components/data-fields-select/types.ts +5 -0
- package/react/components/data-fields-select.component.ts +4 -4
- package/react/components/dataset-selector-list.component.ts +3 -3
- package/react/components/dataset-selector-row.component.ts +5 -5
- package/react/components/display-settings/types.ts +7 -1
- package/react/components/display-settings-binning.component.ts +3 -3
- package/react/components/display-settings-datetime.component.ts +3 -3
- package/react/components/display-settings-grand-totals.component.ts +3 -3
- package/react/components/display-settings-numeric.component.ts +3 -3
- package/react/components/display-settings-period-over-period.component.ts +3 -3
- package/react/components/display-settings.component.ts +7 -7
- package/react/components/filters/types.ts +6 -0
- package/react/components/filters.component.ts +3 -3
- package/react/components/item-grid.component.ts +9 -9
- package/react/components/item-option/index.ts +1 -0
- package/react/components/item-option/types.ts +10 -0
- package/react/components/item-option-action-button-group.component.ts +5 -3
- package/react/components/item-option-color-palette-picker.component.ts +5 -3
- package/react/components/item-option-color-picker.component.ts +4 -4
- package/react/components/item-option-color-range.component.ts +4 -4
- package/react/components/item-option-multi-language-field.component.ts +5 -3
- package/react/components/item-option-number-field.component.ts +5 -3
- package/react/components/item-option-panel.component.ts +3 -3
- package/react/components/item-option-picker.component.ts +5 -3
- package/react/components/item-option-position-picker.component.ts +5 -3
- package/react/components/item-option-positions-number-field.component.ts +5 -3
- package/react/components/item-option-radio-button-group.component.ts +5 -3
- package/react/components/item-option-slider.component.ts +5 -3
- package/react/components/item-option-switch.component.ts +5 -3
- package/react/components/item-option-text-field.component.ts +5 -3
- package/react/components/item-option.component.ts +9 -4
- package/react/components/item-slot-drop-panel.component.ts +5 -5
- package/react/components/item-slot-drop.component.ts +7 -5
- package/react/components/item-slot-picker-panel.component.ts +9 -9
- package/react/components/item-slot-picker.component.ts +3 -3
- package/react/components/slot-menu-list.component.ts +3 -3
- package/react/components/slot-menu.component.ts +13 -11
- package/react/components/viz-item-menu/types.ts +10 -0
- package/react/components/viz-item-menu.component.ts +9 -9
- package/react/esm/components/ai-chat.component.d.ts +5 -5
- package/react/esm/components/ai-interaction-textarea/index.d.ts +1 -0
- package/react/esm/components/ai-interaction-textarea/index.js +1 -0
- package/react/esm/components/ai-interaction-textarea/types.d.ts +5 -0
- package/react/esm/components/ai-interaction-textarea/types.js +1 -0
- package/react/esm/components/ai-interaction-textarea.component.d.ts +3 -3
- package/react/esm/components/data-field-level.component.d.ts +3 -7
- package/react/esm/components/data-field-panel.component.d.ts +4 -4
- package/react/esm/components/data-field.component.d.ts +3 -7
- package/react/esm/components/data-fields-select/index.d.ts +1 -0
- package/react/esm/components/data-fields-select/index.js +1 -0
- package/react/esm/components/data-fields-select/types.d.ts +4 -0
- package/react/esm/components/data-fields-select/types.js +1 -0
- package/react/esm/components/data-fields-select.component.d.ts +3 -3
- package/react/esm/components/data-fields-select.component.js +1 -1
- package/react/esm/components/dataset-selector-list.component.d.ts +2 -2
- package/react/esm/components/dataset-selector-row.component.d.ts +3 -3
- package/react/esm/components/display-settings/types.d.ts +5 -1
- package/react/esm/components/display-settings-binning.component.d.ts +2 -2
- package/react/esm/components/display-settings-datetime.component.d.ts +2 -2
- package/react/esm/components/display-settings-grand-totals.component.d.ts +2 -2
- package/react/esm/components/display-settings-numeric.component.d.ts +2 -2
- package/react/esm/components/display-settings-period-over-period.component.d.ts +2 -2
- package/react/esm/components/display-settings.component.d.ts +4 -4
- package/react/esm/components/filters/types.d.ts +4 -0
- package/react/esm/components/filters.component.d.ts +2 -2
- package/react/esm/components/item-grid.component.d.ts +5 -5
- package/react/esm/components/item-option/index.d.ts +1 -0
- package/react/esm/components/item-option/index.js +1 -0
- package/react/esm/components/item-option/types.d.ts +8 -0
- package/react/esm/components/item-option/types.js +1 -0
- package/react/esm/components/item-option-action-button-group.component.d.ts +4 -2
- package/react/esm/components/item-option-action-button-group.component.js +2 -0
- package/react/esm/components/item-option-color-palette-picker.component.d.ts +4 -2
- package/react/esm/components/item-option-color-palette-picker.component.js +2 -0
- package/react/esm/components/item-option-color-picker.component.d.ts +3 -3
- package/react/esm/components/item-option-color-picker.component.js +1 -1
- package/react/esm/components/item-option-color-range.component.d.ts +3 -3
- package/react/esm/components/item-option-color-range.component.js +1 -1
- package/react/esm/components/item-option-multi-language-field.component.d.ts +4 -2
- package/react/esm/components/item-option-multi-language-field.component.js +2 -0
- package/react/esm/components/item-option-number-field.component.d.ts +4 -2
- package/react/esm/components/item-option-number-field.component.js +2 -0
- package/react/esm/components/item-option-panel.component.d.ts +2 -2
- package/react/esm/components/item-option-picker.component.d.ts +4 -2
- package/react/esm/components/item-option-picker.component.js +2 -0
- package/react/esm/components/item-option-position-picker.component.d.ts +4 -2
- package/react/esm/components/item-option-position-picker.component.js +2 -0
- package/react/esm/components/item-option-positions-number-field.component.d.ts +4 -2
- package/react/esm/components/item-option-positions-number-field.component.js +2 -0
- package/react/esm/components/item-option-radio-button-group.component.d.ts +4 -2
- package/react/esm/components/item-option-radio-button-group.component.js +2 -0
- package/react/esm/components/item-option-slider.component.d.ts +4 -2
- package/react/esm/components/item-option-slider.component.js +2 -0
- package/react/esm/components/item-option-switch.component.d.ts +4 -2
- package/react/esm/components/item-option-switch.component.js +2 -0
- package/react/esm/components/item-option-text-field.component.d.ts +4 -2
- package/react/esm/components/item-option-text-field.component.js +2 -0
- package/react/esm/components/item-option.component.d.ts +7 -3
- package/react/esm/components/item-option.component.js +5 -1
- package/react/esm/components/item-slot-drop-panel.component.d.ts +3 -3
- package/react/esm/components/item-slot-drop.component.d.ts +5 -3
- package/react/esm/components/item-slot-drop.component.js +2 -0
- package/react/esm/components/item-slot-picker-panel.component.d.ts +5 -5
- package/react/esm/components/item-slot-picker.component.d.ts +2 -2
- package/react/esm/components/slot-menu-list.component.d.ts +2 -2
- package/react/esm/components/slot-menu.component.d.ts +8 -6
- package/react/esm/components/slot-menu.component.js +2 -0
- package/react/esm/components/viz-item-menu/types.d.ts +8 -0
- package/react/esm/components/viz-item-menu.component.d.ts +6 -6
- package/react/esm/components/viz-item-menu.component.js +2 -2
- package/react/esm/types.d.ts +3 -0
- package/react/luzmo-stub.d.ts +57 -36
- package/react/types.ts +3 -0
- package/types/ai-chat.types.d.ts +11 -0
- package/types/slot.types.d.ts +10 -0
- package/types.d.ts +3 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass } from '@luzmo/analytics-components-kit/item-option-color-picker';
|
|
3
|
+
import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-picker';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionColorPickerComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-color-picker',
|
|
7
7
|
elementClass: LuzmoItemOptionColorPickerClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-color-picker>
|
|
16
16
|
*
|
|
17
|
-
* @event onLuzmoOptionChanged - Emitted when the
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
18
18
|
*/
|
|
19
19
|
export const LuzmoItemOptionColorPicker = LuzmoItemOptionColorPickerComponent as ReactWebComponent<
|
|
20
20
|
LuzmoItemOptionColorPickerClass,
|
|
21
21
|
{
|
|
22
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
23
23
|
}
|
|
24
24
|
>;
|
|
25
25
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass } from '@luzmo/analytics-components-kit/item-option-color-range';
|
|
3
|
+
import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-range';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionColorRangeComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-color-range',
|
|
7
7
|
elementClass: LuzmoItemOptionColorRangeClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-color-range>
|
|
16
16
|
*
|
|
17
|
-
* @event onLuzmoOptionChanged - Emitted when the
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
18
18
|
*/
|
|
19
19
|
export const LuzmoItemOptionColorRange = LuzmoItemOptionColorRangeComponent as ReactWebComponent<
|
|
20
20
|
LuzmoItemOptionColorRangeClass,
|
|
21
21
|
{
|
|
22
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
23
23
|
}
|
|
24
24
|
>;
|
|
25
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionMultiLangField as LuzmoItemOptionMultiLangFieldClass } from '@luzmo/analytics-components-kit/item-option-multi-language-field';
|
|
3
|
+
import { LuzmoItemOptionMultiLangField as LuzmoItemOptionMultiLangFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-multi-language-field';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionMultiLanguageFieldComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-multi-language-field',
|
|
7
7
|
elementClass: LuzmoItemOptionMultiLangFieldClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-multi-language-field>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionMultiLanguageField = LuzmoItemOptionMultiLanguageFieldComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionMultiLangFieldClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionNumberField as LuzmoItemOptionNumberFieldClass } from '@luzmo/analytics-components-kit/item-option-number-field';
|
|
3
|
+
import { LuzmoItemOptionNumberField as LuzmoItemOptionNumberFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-number-field';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionNumberFieldComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-number-field',
|
|
7
7
|
elementClass: LuzmoItemOptionNumberFieldClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-number-field>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionNumberField = LuzmoItemOptionNumberFieldComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionNumberFieldClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass } from '@luzmo/analytics-components-kit/item-option-panel';
|
|
3
|
+
import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-panel';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionPanelComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-panel',
|
|
7
7
|
elementClass: LuzmoItemOptionPanelClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionsChanged: 'luzmo-options-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionsChanged: 'luzmo-options-changed' as EventName<CustomEvent<ItemOptionsChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ const LuzmoItemOptionPanelComponent = createComponent({
|
|
|
19
19
|
export const LuzmoItemOptionPanel = LuzmoItemOptionPanelComponent as ReactWebComponent<
|
|
20
20
|
LuzmoItemOptionPanelClass,
|
|
21
21
|
{
|
|
22
|
-
onLuzmoOptionsChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionsChanged: EventName<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
23
23
|
}
|
|
24
24
|
>;
|
|
25
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionPicker as LuzmoItemOptionPickerClass } from '@luzmo/analytics-components-kit/item-option-picker';
|
|
3
|
+
import { LuzmoItemOptionPicker as LuzmoItemOptionPickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-picker';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionPickerComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-picker',
|
|
7
7
|
elementClass: LuzmoItemOptionPickerClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-picker>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionPicker = LuzmoItemOptionPickerComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionPickerClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionPositionPicker as LuzmoItemOptionPositionPickerClass } from '@luzmo/analytics-components-kit/item-option-position-picker';
|
|
3
|
+
import { LuzmoItemOptionPositionPicker as LuzmoItemOptionPositionPickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-position-picker';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionPositionPickerComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-position-picker',
|
|
7
7
|
elementClass: LuzmoItemOptionPositionPickerClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-position-picker>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionPositionPicker = LuzmoItemOptionPositionPickerComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionPositionPickerClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionPositionsNumberField as LuzmoItemOptionPositionsNumberFieldClass } from '@luzmo/analytics-components-kit/item-option-positions-number-field';
|
|
3
|
+
import { LuzmoItemOptionPositionsNumberField as LuzmoItemOptionPositionsNumberFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-positions-number-field';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionPositionsNumberFieldComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-positions-number-field',
|
|
7
7
|
elementClass: LuzmoItemOptionPositionsNumberFieldClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-positions-number-field>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionPositionsNumberField = LuzmoItemOptionPositionsNumberFieldComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionPositionsNumberFieldClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionRadioButtonGroup as LuzmoItemOptionRadioButtonGroupClass } from '@luzmo/analytics-components-kit/item-option-radio-button-group';
|
|
3
|
+
import { LuzmoItemOptionRadioButtonGroup as LuzmoItemOptionRadioButtonGroupClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-radio-button-group';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionRadioButtonGroupComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-radio-button-group',
|
|
7
7
|
elementClass: LuzmoItemOptionRadioButtonGroupClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-radio-button-group>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionRadioButtonGroup = LuzmoItemOptionRadioButtonGroupComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionRadioButtonGroupClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionSlider as LuzmoItemOptionSliderClass } from '@luzmo/analytics-components-kit/item-option-slider';
|
|
3
|
+
import { LuzmoItemOptionSlider as LuzmoItemOptionSliderClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-slider';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionSliderComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-slider',
|
|
7
7
|
elementClass: LuzmoItemOptionSliderClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-slider>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionSlider = LuzmoItemOptionSliderComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionSliderClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionSwitch as LuzmoItemOptionSwitchClass } from '@luzmo/analytics-components-kit/item-option-switch';
|
|
3
|
+
import { LuzmoItemOptionSwitch as LuzmoItemOptionSwitchClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-switch';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionSwitchComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-switch',
|
|
7
7
|
elementClass: LuzmoItemOptionSwitchClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-switch>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionSwitch = LuzmoItemOptionSwitchComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionSwitchClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOptionTextField as LuzmoItemOptionTextFieldClass } from '@luzmo/analytics-components-kit/item-option-text-field';
|
|
3
|
+
import { LuzmoItemOptionTextField as LuzmoItemOptionTextFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-text-field';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionTextFieldComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option-text-field',
|
|
7
7
|
elementClass: LuzmoItemOptionTextFieldClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoOptionChanged: 'luzmo-option-changed' as EventName<CustomEvent<ItemOptionChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option-text-field>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionChanged - Emitted when the option value changes.
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOptionTextField = LuzmoItemOptionTextFieldComponent as ReactWebComponent<
|
|
18
20
|
LuzmoItemOptionTextFieldClass,
|
|
19
21
|
{
|
|
20
|
-
onLuzmoOptionChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
21
23
|
}
|
|
22
24
|
>;
|
|
23
25
|
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { createComponent, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemOption as LuzmoItemOptionClass } from '@luzmo/analytics-components-kit/item-option';
|
|
2
|
+
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
+
import { LuzmoItemOption as LuzmoItemOptionClass, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemOptionComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-option',
|
|
7
7
|
elementClass: LuzmoItemOptionClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
|
|
10
|
+
onLuzmoOptionsChanged: 'luzmo-options-changed' as EventName<CustomEvent<ItemOptionsChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* React wrapper for <luzmo-item-option>
|
|
16
|
+
*
|
|
17
|
+
* @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
|
|
16
18
|
*/
|
|
17
19
|
export const LuzmoItemOption = LuzmoItemOptionComponent as ReactWebComponent<
|
|
18
|
-
LuzmoItemOptionClass
|
|
20
|
+
LuzmoItemOptionClass,
|
|
21
|
+
{
|
|
22
|
+
onLuzmoOptionsChanged: EventName<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
23
|
+
}
|
|
19
24
|
>;
|
|
20
25
|
|
|
21
26
|
/** The underlying custom element type for LuzmoItemOption */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemSlotDropPanel as LuzmoItemSlotDropPanelClass } from '@luzmo/analytics-components-kit/item-slot-drop-panel';
|
|
3
|
+
import { LuzmoItemSlotDropPanel as LuzmoItemSlotDropPanelClass, SlotConstraintTriggeredEventDetail, SlotsContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop-panel';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemSlotDropPanelComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-slot-drop-panel',
|
|
7
7
|
elementClass: LuzmoItemSlotDropPanelClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoSlotConstraintTriggered: 'luzmo-slot-constraint-triggered' as EventName<CustomEvent
|
|
11
|
-
onLuzmoSlotsContentsChanged: 'luzmo-slots-contents-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoSlotConstraintTriggered: 'luzmo-slot-constraint-triggered' as EventName<CustomEvent<SlotConstraintTriggeredEventDetail>>,
|
|
11
|
+
onLuzmoSlotsContentsChanged: 'luzmo-slots-contents-changed' as EventName<CustomEvent<SlotsContentsChangedEventDetail>>
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
|
|
@@ -21,8 +21,8 @@ const LuzmoItemSlotDropPanelComponent = createComponent({
|
|
|
21
21
|
export const LuzmoItemSlotDropPanel = LuzmoItemSlotDropPanelComponent as ReactWebComponent<
|
|
22
22
|
LuzmoItemSlotDropPanelClass,
|
|
23
23
|
{
|
|
24
|
-
onLuzmoSlotConstraintTriggered: EventName<CustomEvent
|
|
25
|
-
onLuzmoSlotsContentsChanged: EventName<CustomEvent
|
|
24
|
+
onLuzmoSlotConstraintTriggered: EventName<CustomEvent<SlotConstraintTriggeredEventDetail>>;
|
|
25
|
+
onLuzmoSlotsContentsChanged: EventName<CustomEvent<SlotsContentsChangedEventDetail>>;
|
|
26
26
|
}
|
|
27
27
|
>;
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemSlotDrop as LuzmoItemSlotDropClass, InfoVisibilityChangedEventDetail, SlotContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop';
|
|
3
|
+
import { LuzmoItemSlotDrop as LuzmoItemSlotDropClass, InfoVisibilityChangedEventDetail, SlotContentsChangedEventDetail, SlotMenuActiveEventDetail, SlotMenuHighlightEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemSlotDropComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-slot-drop',
|
|
@@ -8,8 +8,8 @@ const LuzmoItemSlotDropComponent = createComponent({
|
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
10
|
onLuzmoSlotMenuInactive: 'luzmo-slot-menu-inactive' as EventName<CustomEvent>,
|
|
11
|
-
onLuzmoSlotMenuActive: 'luzmo-slot-menu-active' as EventName<CustomEvent
|
|
12
|
-
onLuzmoSlotMenuHighlight: 'luzmo-slot-menu-highlight' as EventName<CustomEvent
|
|
11
|
+
onLuzmoSlotMenuActive: 'luzmo-slot-menu-active' as EventName<CustomEvent<SlotMenuActiveEventDetail>>,
|
|
12
|
+
onLuzmoSlotMenuHighlight: 'luzmo-slot-menu-highlight' as EventName<CustomEvent<SlotMenuHighlightEventDetail>>,
|
|
13
13
|
onLuzmoInfoVisibilityChanged: 'luzmo-info-visibility-changed' as EventName<CustomEvent<InfoVisibilityChangedEventDetail>>,
|
|
14
14
|
onLuzmoSlotContentsChanged: 'luzmo-slot-contents-changed' as EventName<CustomEvent<SlotContentsChangedEventDetail>>
|
|
15
15
|
}
|
|
@@ -18,6 +18,8 @@ const LuzmoItemSlotDropComponent = createComponent({
|
|
|
18
18
|
/**
|
|
19
19
|
* React wrapper for <luzmo-item-slot-drop>
|
|
20
20
|
*
|
|
21
|
+
* @event onLuzmoSlotMenuActive - Emitted when the slot menu overlay opens for a slot
|
|
22
|
+
* @event onLuzmoSlotMenuHighlight - Emitted to highlight the active column or formula in the slot menu
|
|
21
23
|
* @event onLuzmoInfoVisibilityChanged - Event that is fired when the info button is clicked in display-settings, includes the visibility state and ID values
|
|
22
24
|
* @event onLuzmoSlotContentsChanged - Announces that the slot contents has changed
|
|
23
25
|
*/
|
|
@@ -25,8 +27,8 @@ export const LuzmoItemSlotDrop = LuzmoItemSlotDropComponent as ReactWebComponent
|
|
|
25
27
|
LuzmoItemSlotDropClass,
|
|
26
28
|
{
|
|
27
29
|
onLuzmoSlotMenuInactive: EventName<CustomEvent>;
|
|
28
|
-
onLuzmoSlotMenuActive: EventName<CustomEvent
|
|
29
|
-
onLuzmoSlotMenuHighlight: EventName<CustomEvent
|
|
30
|
+
onLuzmoSlotMenuActive: EventName<CustomEvent<SlotMenuActiveEventDetail>>;
|
|
31
|
+
onLuzmoSlotMenuHighlight: EventName<CustomEvent<SlotMenuHighlightEventDetail>>;
|
|
30
32
|
onLuzmoInfoVisibilityChanged: EventName<CustomEvent<InfoVisibilityChangedEventDetail>>;
|
|
31
33
|
onLuzmoSlotContentsChanged: EventName<CustomEvent<SlotContentsChangedEventDetail>>;
|
|
32
34
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemSlotPickerPanel as LuzmoItemSlotPickerPanelClass } from '@luzmo/analytics-components-kit/item-slot-picker-panel';
|
|
3
|
+
import { LuzmoItemSlotPickerPanel as LuzmoItemSlotPickerPanelClass, DatasetChangedEventDetail, DatasetConstraintTriggeredEventDetail, SlotConstraintTriggeredEventDetail, SlotsContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-picker-panel';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemSlotPickerPanelComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-slot-picker-panel',
|
|
7
7
|
elementClass: LuzmoItemSlotPickerPanelClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoDatasetConstraintTriggered: 'luzmo-dataset-constraint-triggered' as EventName<CustomEvent
|
|
11
|
-
onLuzmoSlotsContentsChanged: 'luzmo-slots-contents-changed' as EventName<CustomEvent
|
|
12
|
-
onLuzmoDatasetChanged: 'luzmo-dataset-changed' as EventName<CustomEvent
|
|
13
|
-
onLuzmoSlotConstraintTriggered: 'luzmo-slot-constraint-triggered' as EventName<CustomEvent
|
|
10
|
+
onLuzmoDatasetConstraintTriggered: 'luzmo-dataset-constraint-triggered' as EventName<CustomEvent<DatasetConstraintTriggeredEventDetail>>,
|
|
11
|
+
onLuzmoSlotsContentsChanged: 'luzmo-slots-contents-changed' as EventName<CustomEvent<SlotsContentsChangedEventDetail>>,
|
|
12
|
+
onLuzmoDatasetChanged: 'luzmo-dataset-changed' as EventName<CustomEvent<DatasetChangedEventDetail>>,
|
|
13
|
+
onLuzmoSlotConstraintTriggered: 'luzmo-slot-constraint-triggered' as EventName<CustomEvent<SlotConstraintTriggeredEventDetail>>
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -25,10 +25,10 @@ const LuzmoItemSlotPickerPanelComponent = createComponent({
|
|
|
25
25
|
export const LuzmoItemSlotPickerPanel = LuzmoItemSlotPickerPanelComponent as ReactWebComponent<
|
|
26
26
|
LuzmoItemSlotPickerPanelClass,
|
|
27
27
|
{
|
|
28
|
-
onLuzmoDatasetConstraintTriggered: EventName<CustomEvent
|
|
29
|
-
onLuzmoSlotsContentsChanged: EventName<CustomEvent
|
|
30
|
-
onLuzmoDatasetChanged: EventName<CustomEvent
|
|
31
|
-
onLuzmoSlotConstraintTriggered: EventName<CustomEvent
|
|
28
|
+
onLuzmoDatasetConstraintTriggered: EventName<CustomEvent<DatasetConstraintTriggeredEventDetail>>;
|
|
29
|
+
onLuzmoSlotsContentsChanged: EventName<CustomEvent<SlotsContentsChangedEventDetail>>;
|
|
30
|
+
onLuzmoDatasetChanged: EventName<CustomEvent<DatasetChangedEventDetail>>;
|
|
31
|
+
onLuzmoSlotConstraintTriggered: EventName<CustomEvent<SlotConstraintTriggeredEventDetail>>;
|
|
32
32
|
}
|
|
33
33
|
>;
|
|
34
34
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoItemSlotPicker as LuzmoItemSlotPickerClass } from '@luzmo/analytics-components-kit/item-slot-picker';
|
|
3
|
+
import { LuzmoItemSlotPicker as LuzmoItemSlotPickerClass, SlotContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-picker';
|
|
4
4
|
|
|
5
5
|
const LuzmoItemSlotPickerComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-item-slot-picker',
|
|
7
7
|
elementClass: LuzmoItemSlotPickerClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoSlotContentsChanged: 'luzmo-slot-contents-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoSlotContentsChanged: 'luzmo-slot-contents-changed' as EventName<CustomEvent<SlotContentsChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ const LuzmoItemSlotPickerComponent = createComponent({
|
|
|
19
19
|
export const LuzmoItemSlotPicker = LuzmoItemSlotPickerComponent as ReactWebComponent<
|
|
20
20
|
LuzmoItemSlotPickerClass,
|
|
21
21
|
{
|
|
22
|
-
onLuzmoSlotContentsChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoSlotContentsChanged: EventName<CustomEvent<SlotContentsChangedEventDetail>>;
|
|
23
23
|
}
|
|
24
24
|
>;
|
|
25
25
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoSlotMenuList as LuzmoSlotMenuListClass } from '@luzmo/analytics-components-kit/slot-menu-list';
|
|
3
|
+
import { LuzmoSlotMenuList as LuzmoSlotMenuListClass, SlotListChangedEventDetail } from '@luzmo/analytics-components-kit/slot-menu-list';
|
|
4
4
|
|
|
5
5
|
const LuzmoSlotMenuListComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-slot-menu-list',
|
|
7
7
|
elementClass: LuzmoSlotMenuListClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoSlotListChanged: 'luzmo-slot-list-changed' as EventName<CustomEvent
|
|
10
|
+
onLuzmoSlotListChanged: 'luzmo-slot-list-changed' as EventName<CustomEvent<SlotListChangedEventDetail>>
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ const LuzmoSlotMenuListComponent = createComponent({
|
|
|
19
19
|
export const LuzmoSlotMenuList = LuzmoSlotMenuListComponent as ReactWebComponent<
|
|
20
20
|
LuzmoSlotMenuListClass,
|
|
21
21
|
{
|
|
22
|
-
onLuzmoSlotListChanged: EventName<CustomEvent
|
|
22
|
+
onLuzmoSlotListChanged: EventName<CustomEvent<SlotListChangedEventDetail>>;
|
|
23
23
|
}
|
|
24
24
|
>;
|
|
25
25
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createComponent, EventName, ReactWebComponent } from '@lit/react';
|
|
3
|
-
import { LuzmoSlotMenu as LuzmoSlotMenuClass } from '@luzmo/analytics-components-kit/slot-menu';
|
|
3
|
+
import { LuzmoSlotMenu as LuzmoSlotMenuClass, InfoVisibilityChangedEventDetail, SlotContentsChangedEventDetail, SlotMenuActiveEventDetail, SlotMenuHighlightEventDetail } from '@luzmo/analytics-components-kit/slot-menu';
|
|
4
4
|
|
|
5
5
|
const LuzmoSlotMenuComponent = createComponent({
|
|
6
6
|
tagName: 'luzmo-slot-menu',
|
|
7
7
|
elementClass: LuzmoSlotMenuClass,
|
|
8
8
|
react: React,
|
|
9
9
|
events: {
|
|
10
|
-
onLuzmoSlotContentsChanged: 'luzmo-slot-contents-changed' as EventName<CustomEvent
|
|
11
|
-
onLuzmoClose: 'luzmo-close' as EventName<CustomEvent
|
|
12
|
-
onLuzmoSlotMenuActive: 'luzmo-slot-menu-active' as EventName<CustomEvent
|
|
13
|
-
onLuzmoSlotMenuHighlight: 'luzmo-slot-menu-highlight' as EventName<CustomEvent
|
|
10
|
+
onLuzmoSlotContentsChanged: 'luzmo-slot-contents-changed' as EventName<CustomEvent<SlotContentsChangedEventDetail>>,
|
|
11
|
+
onLuzmoClose: 'luzmo-close' as EventName<CustomEvent<void>>,
|
|
12
|
+
onLuzmoSlotMenuActive: 'luzmo-slot-menu-active' as EventName<CustomEvent<SlotMenuActiveEventDetail>>,
|
|
13
|
+
onLuzmoSlotMenuHighlight: 'luzmo-slot-menu-highlight' as EventName<CustomEvent<SlotMenuHighlightEventDetail>>,
|
|
14
14
|
onLuzmoSlotMenuInactive: 'luzmo-slot-menu-inactive' as EventName<CustomEvent>,
|
|
15
|
-
onLuzmoInfoVisibilityChanged: 'luzmo-info-visibility-changed' as EventName<CustomEvent
|
|
15
|
+
onLuzmoInfoVisibilityChanged: 'luzmo-info-visibility-changed' as EventName<CustomEvent<InfoVisibilityChangedEventDetail>>
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
|
|
@@ -21,17 +21,19 @@ const LuzmoSlotMenuComponent = createComponent({
|
|
|
21
21
|
*
|
|
22
22
|
* @event onLuzmoSlotContentsChanged - Emitted when the slot contents change
|
|
23
23
|
* @event onLuzmoClose - Emitted when the slot menu is closed
|
|
24
|
+
* @event onLuzmoSlotMenuActive - Emitted when the slot menu becomes active for a dataset
|
|
25
|
+
* @event onLuzmoSlotMenuHighlight - Emitted to highlight a column or formula in the slot menu
|
|
24
26
|
* @event onLuzmoInfoVisibilityChanged - Event that is fired when the info button is clicked in display-settings, includes the visibility state and ID values
|
|
25
27
|
*/
|
|
26
28
|
export const LuzmoSlotMenu = LuzmoSlotMenuComponent as ReactWebComponent<
|
|
27
29
|
LuzmoSlotMenuClass,
|
|
28
30
|
{
|
|
29
|
-
onLuzmoSlotContentsChanged: EventName<CustomEvent
|
|
30
|
-
onLuzmoClose: EventName<CustomEvent
|
|
31
|
-
onLuzmoSlotMenuActive: EventName<CustomEvent
|
|
32
|
-
onLuzmoSlotMenuHighlight: EventName<CustomEvent
|
|
31
|
+
onLuzmoSlotContentsChanged: EventName<CustomEvent<SlotContentsChangedEventDetail>>;
|
|
32
|
+
onLuzmoClose: EventName<CustomEvent<void>>;
|
|
33
|
+
onLuzmoSlotMenuActive: EventName<CustomEvent<SlotMenuActiveEventDetail>>;
|
|
34
|
+
onLuzmoSlotMenuHighlight: EventName<CustomEvent<SlotMenuHighlightEventDetail>>;
|
|
33
35
|
onLuzmoSlotMenuInactive: EventName<CustomEvent>;
|
|
34
|
-
onLuzmoInfoVisibilityChanged: EventName<CustomEvent
|
|
36
|
+
onLuzmoInfoVisibilityChanged: EventName<CustomEvent<InfoVisibilityChangedEventDetail>>;
|
|
35
37
|
}
|
|
36
38
|
>;
|
|
37
39
|
|
|
@@ -1 +1,11 @@
|
|
|
1
1
|
export type VizItemMenuButton = 'clone' | 'edit' | 'delete';
|
|
2
|
+
|
|
3
|
+
export interface VizItemMenuButtonClickedEventDetail {
|
|
4
|
+
action: string;
|
|
5
|
+
type: VizItemMenuButton;
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface VizItemMenuSelectedChangedEventDetail {
|
|
10
|
+
selectedButton: VizItemMenuButton | null;
|
|
11
|
+
}
|