@luzmo/analytics-components-kit 1.0.3-beta.10 → 1.0.3-beta.12

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.
Files changed (240) hide show
  1. package/README.md +320 -11
  2. package/components/ai-chat/ai-chat.d.ts +8 -4
  3. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +1 -1
  4. package/components/ai-chat/index.cjs +1 -1
  5. package/components/ai-chat/index.d.ts +1 -1
  6. package/components/ai-chat/index.js +1 -1
  7. package/components/{ai-chat-Du1gOCyo.cjs → ai-chat-8O_eA0_D.cjs} +6 -5
  8. package/components/{ai-chat-BUiqA_bv.js → ai-chat-BYlVFmdP.js} +11 -7
  9. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +7 -2
  10. package/components/ai-interaction-textarea/index.cjs +1 -1
  11. package/components/ai-interaction-textarea/index.d.ts +1 -0
  12. package/components/ai-interaction-textarea/index.js +1 -1
  13. package/components/ai-interaction-textarea/types.d.ts +5 -0
  14. package/components/{ai-interaction-textarea-DnM5PwjW.cjs → ai-interaction-textarea-BK25Gh9y.cjs} +3 -3
  15. package/components/{ai-interaction-textarea-Cei62Fen.js → ai-interaction-textarea-KVfak9dJ.js} +6 -3
  16. package/components/data-field/data-field.d.ts +2 -2
  17. package/components/data-field/index.d.ts +1 -0
  18. package/components/data-field-level/data-field-level.d.ts +2 -2
  19. package/components/data-field-panel/data-field-panel.d.ts +3 -3
  20. package/components/data-fields-select/data-fields-select.d.ts +1 -1
  21. package/components/data-fields-select/index.d.ts +1 -0
  22. package/components/data-fields-select/types.d.ts +4 -0
  23. package/components/dataset-selector-list/dataset-selector-list.d.ts +1 -1
  24. package/components/dataset-selector-list/index.d.ts +1 -0
  25. package/components/dataset-selector-row/dataset-selector-row.d.ts +2 -2
  26. package/components/dataset-selector-row/index.d.ts +1 -0
  27. package/components/display-settings/display-settings.d.ts +3 -3
  28. package/components/display-settings/index.d.ts +1 -1
  29. package/components/display-settings/types.d.ts +5 -1
  30. package/components/display-settings-binning/display-settings-binning.d.ts +1 -1
  31. package/components/display-settings-binning/index.d.ts +1 -0
  32. package/components/display-settings-datetime/display-settings-datetime.d.ts +1 -1
  33. package/components/display-settings-datetime/index.d.ts +1 -0
  34. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +1 -1
  35. package/components/display-settings-grand-totals/index.d.ts +1 -0
  36. package/components/display-settings-numeric/display-settings-numeric.d.ts +1 -1
  37. package/components/display-settings-numeric/index.d.ts +1 -0
  38. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +1 -1
  39. package/components/display-settings-period-over-period/index.d.ts +1 -0
  40. package/components/filters/filters.d.ts +1 -1
  41. package/components/filters/index.d.ts +1 -1
  42. package/components/filters/types.d.ts +4 -0
  43. package/components/formula/index.cjs +1 -1
  44. package/components/formula/index.js +1 -1
  45. package/components/{formula-CB0-0Hfu.js → formula-BZuUMeUb.js} +8 -4
  46. package/components/{formula-codemirror-PraolCXa.js → formula-codemirror-CYBD_5bC.js} +3 -3
  47. package/components/{formula-codemirror-CHAgmjDb.cjs → formula-codemirror-p7ssM_dZ.cjs} +2 -2
  48. package/components/{formula-display-store-lENPCY-p.js → formula-display-store-BtD83k2x.js} +1 -1
  49. package/components/{formula-display-store-ianfhYAz.cjs → formula-display-store-_432SuSV.cjs} +1 -1
  50. package/components/formula-editor/index.cjs +1 -1
  51. package/components/formula-editor/index.js +3 -3
  52. package/components/{formula-editor-BTy_o9zr.js → formula-editor-C1zz5pEL.js} +5 -5
  53. package/components/{formula-editor-CCPiES8u.cjs → formula-editor-DfTDtGC4.cjs} +2 -2
  54. package/components/formula-field/index.cjs +1 -1
  55. package/components/formula-field/index.js +1 -1
  56. package/components/{formula-field-CdwPfr3i.js → formula-field-B2TQe1Z_.js} +1 -1
  57. package/components/{formula-field-DUdeqGIv.cjs → formula-field-Dd1vnGZA.cjs} +1 -1
  58. package/components/{formula-input-base-D40h4WMK.js → formula-input-base-B-Li9TP4.js} +1 -1
  59. package/components/{formula-input-base-Bdy8riVz.cjs → formula-input-base-DjJ2Q4gu.cjs} +1 -1
  60. package/components/formula-u4CxsVki.cjs +45 -0
  61. package/components/{groupings-Cm5tMojA.cjs → groupings-BdNTQMKX.cjs} +1 -1
  62. package/components/{groupings-FgSCJQwV.js → groupings-JilcSOEe.js} +1 -1
  63. package/components/index.cjs +1 -1
  64. package/components/index.js +7 -7
  65. package/components/item-grid/helpers/grid-events.d.ts +1 -1
  66. package/components/item-grid/index.d.ts +1 -0
  67. package/components/item-grid/item-grid.d.ts +4 -4
  68. package/components/item-option/index.d.ts +1 -0
  69. package/components/item-option/item-option.d.ts +1 -0
  70. package/components/item-option/types.d.ts +8 -0
  71. package/components/item-option-action-button-group/index.d.ts +1 -0
  72. package/components/item-option-action-button-group/item-option-action-button-group.d.ts +1 -0
  73. package/components/item-option-color-palette-picker/index.d.ts +1 -0
  74. package/components/item-option-color-palette-picker/item-option-color-palette-picker.d.ts +1 -0
  75. package/components/item-option-color-picker/index.d.ts +1 -0
  76. package/components/item-option-color-picker/item-option-color-picker.d.ts +1 -1
  77. package/components/item-option-color-range/index.d.ts +1 -0
  78. package/components/item-option-color-range/item-option-color-range.d.ts +1 -1
  79. package/components/item-option-multi-language-field/index.d.ts +1 -0
  80. package/components/item-option-multi-language-field/item-option-multi-language-field.d.ts +1 -0
  81. package/components/item-option-number-field/index.d.ts +1 -0
  82. package/components/item-option-number-field/item-option-number-field.d.ts +1 -0
  83. package/components/item-option-panel/index.d.ts +1 -0
  84. package/components/item-option-panel/item-option-panel.d.ts +1 -1
  85. package/components/item-option-picker/index.d.ts +1 -0
  86. package/components/item-option-picker/item-option-picker.d.ts +1 -0
  87. package/components/item-option-position-picker/index.d.ts +1 -0
  88. package/components/item-option-position-picker/item-option-position-picker.d.ts +1 -0
  89. package/components/item-option-positions-number-field/index.d.ts +1 -0
  90. package/components/item-option-positions-number-field/item-option-positions-number-field.d.ts +1 -0
  91. package/components/item-option-radio-button-group/index.d.ts +1 -0
  92. package/components/item-option-radio-button-group/item-option-radio-button-group.d.ts +1 -0
  93. package/components/item-option-slider/index.d.ts +1 -0
  94. package/components/item-option-slider/item-option-slider.d.ts +1 -0
  95. package/components/item-option-switch/index.d.ts +1 -0
  96. package/components/item-option-switch/item-option-switch.d.ts +1 -0
  97. package/components/item-option-text-field/index.d.ts +1 -0
  98. package/components/item-option-text-field/item-option-text-field.d.ts +1 -0
  99. package/components/item-slot-drop/index.d.ts +2 -0
  100. package/components/item-slot-drop/item-slot-drop.d.ts +2 -0
  101. package/components/item-slot-drop-panel/index.d.ts +1 -0
  102. package/components/item-slot-drop-panel/item-slot-drop-panel.d.ts +2 -2
  103. package/components/item-slot-picker/index.d.ts +1 -0
  104. package/components/item-slot-picker/item-slot-picker.d.ts +1 -1
  105. package/components/item-slot-picker-panel/index.d.ts +2 -0
  106. package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +4 -4
  107. package/components/slot-menu/index.d.ts +1 -0
  108. package/components/slot-menu/slot-menu.d.ts +5 -3
  109. package/components/slot-menu-list/index.d.ts +1 -0
  110. package/components/slot-menu-list/slot-menu-list.d.ts +1 -1
  111. package/components/viz-item-menu/index.d.ts +1 -1
  112. package/components/viz-item-menu/types.d.ts +8 -0
  113. package/components/viz-item-menu/viz-item-menu.d.ts +3 -3
  114. package/custom-elements.json +190 -72
  115. package/package.json +1 -1
  116. package/react/components/ai-chat.component.ts +9 -9
  117. package/react/components/ai-interaction-textarea/index.ts +1 -0
  118. package/react/components/ai-interaction-textarea/types.ts +6 -0
  119. package/react/components/ai-interaction-textarea.component.ts +5 -5
  120. package/react/components/data-field-level.component.ts +5 -5
  121. package/react/components/data-field-panel.component.ts +7 -7
  122. package/react/components/data-field.component.ts +5 -5
  123. package/react/components/data-fields-select/index.ts +1 -0
  124. package/react/components/data-fields-select/types.ts +5 -0
  125. package/react/components/data-fields-select.component.ts +4 -4
  126. package/react/components/dataset-selector-list.component.ts +3 -3
  127. package/react/components/dataset-selector-row.component.ts +5 -5
  128. package/react/components/display-settings/types.ts +7 -1
  129. package/react/components/display-settings-binning.component.ts +3 -3
  130. package/react/components/display-settings-datetime.component.ts +3 -3
  131. package/react/components/display-settings-grand-totals.component.ts +3 -3
  132. package/react/components/display-settings-numeric.component.ts +3 -3
  133. package/react/components/display-settings-period-over-period.component.ts +3 -3
  134. package/react/components/display-settings.component.ts +7 -7
  135. package/react/components/filters/types.ts +6 -0
  136. package/react/components/filters.component.ts +3 -3
  137. package/react/components/item-grid.component.ts +9 -9
  138. package/react/components/item-option/index.ts +1 -0
  139. package/react/components/item-option/types.ts +10 -0
  140. package/react/components/item-option-action-button-group.component.ts +5 -3
  141. package/react/components/item-option-color-palette-picker.component.ts +5 -3
  142. package/react/components/item-option-color-picker.component.ts +4 -4
  143. package/react/components/item-option-color-range.component.ts +4 -4
  144. package/react/components/item-option-multi-language-field.component.ts +5 -3
  145. package/react/components/item-option-number-field.component.ts +5 -3
  146. package/react/components/item-option-panel.component.ts +3 -3
  147. package/react/components/item-option-picker.component.ts +5 -3
  148. package/react/components/item-option-position-picker.component.ts +5 -3
  149. package/react/components/item-option-positions-number-field.component.ts +5 -3
  150. package/react/components/item-option-radio-button-group.component.ts +5 -3
  151. package/react/components/item-option-slider.component.ts +5 -3
  152. package/react/components/item-option-switch.component.ts +5 -3
  153. package/react/components/item-option-text-field.component.ts +5 -3
  154. package/react/components/item-option.component.ts +9 -4
  155. package/react/components/item-slot-drop-panel.component.ts +5 -5
  156. package/react/components/item-slot-drop.component.ts +7 -5
  157. package/react/components/item-slot-picker-panel.component.ts +9 -9
  158. package/react/components/item-slot-picker.component.ts +3 -3
  159. package/react/components/slot-menu-list.component.ts +3 -3
  160. package/react/components/slot-menu.component.ts +13 -11
  161. package/react/components/viz-item-menu/types.ts +10 -0
  162. package/react/components/viz-item-menu.component.ts +9 -9
  163. package/react/esm/components/ai-chat.component.d.ts +5 -5
  164. package/react/esm/components/ai-interaction-textarea/index.d.ts +1 -0
  165. package/react/esm/components/ai-interaction-textarea/index.js +1 -0
  166. package/react/esm/components/ai-interaction-textarea/types.d.ts +5 -0
  167. package/react/esm/components/ai-interaction-textarea/types.js +1 -0
  168. package/react/esm/components/ai-interaction-textarea.component.d.ts +3 -3
  169. package/react/esm/components/data-field-level.component.d.ts +3 -7
  170. package/react/esm/components/data-field-panel.component.d.ts +4 -4
  171. package/react/esm/components/data-field.component.d.ts +3 -7
  172. package/react/esm/components/data-fields-select/index.d.ts +1 -0
  173. package/react/esm/components/data-fields-select/index.js +1 -0
  174. package/react/esm/components/data-fields-select/types.d.ts +4 -0
  175. package/react/esm/components/data-fields-select/types.js +1 -0
  176. package/react/esm/components/data-fields-select.component.d.ts +3 -3
  177. package/react/esm/components/data-fields-select.component.js +1 -1
  178. package/react/esm/components/dataset-selector-list.component.d.ts +2 -2
  179. package/react/esm/components/dataset-selector-row.component.d.ts +3 -3
  180. package/react/esm/components/display-settings/types.d.ts +5 -1
  181. package/react/esm/components/display-settings-binning.component.d.ts +2 -2
  182. package/react/esm/components/display-settings-datetime.component.d.ts +2 -2
  183. package/react/esm/components/display-settings-grand-totals.component.d.ts +2 -2
  184. package/react/esm/components/display-settings-numeric.component.d.ts +2 -2
  185. package/react/esm/components/display-settings-period-over-period.component.d.ts +2 -2
  186. package/react/esm/components/display-settings.component.d.ts +4 -4
  187. package/react/esm/components/filters/types.d.ts +4 -0
  188. package/react/esm/components/filters.component.d.ts +2 -2
  189. package/react/esm/components/item-grid.component.d.ts +5 -5
  190. package/react/esm/components/item-option/index.d.ts +1 -0
  191. package/react/esm/components/item-option/index.js +1 -0
  192. package/react/esm/components/item-option/types.d.ts +8 -0
  193. package/react/esm/components/item-option/types.js +1 -0
  194. package/react/esm/components/item-option-action-button-group.component.d.ts +4 -2
  195. package/react/esm/components/item-option-action-button-group.component.js +2 -0
  196. package/react/esm/components/item-option-color-palette-picker.component.d.ts +4 -2
  197. package/react/esm/components/item-option-color-palette-picker.component.js +2 -0
  198. package/react/esm/components/item-option-color-picker.component.d.ts +3 -3
  199. package/react/esm/components/item-option-color-picker.component.js +1 -1
  200. package/react/esm/components/item-option-color-range.component.d.ts +3 -3
  201. package/react/esm/components/item-option-color-range.component.js +1 -1
  202. package/react/esm/components/item-option-multi-language-field.component.d.ts +4 -2
  203. package/react/esm/components/item-option-multi-language-field.component.js +2 -0
  204. package/react/esm/components/item-option-number-field.component.d.ts +4 -2
  205. package/react/esm/components/item-option-number-field.component.js +2 -0
  206. package/react/esm/components/item-option-panel.component.d.ts +2 -2
  207. package/react/esm/components/item-option-picker.component.d.ts +4 -2
  208. package/react/esm/components/item-option-picker.component.js +2 -0
  209. package/react/esm/components/item-option-position-picker.component.d.ts +4 -2
  210. package/react/esm/components/item-option-position-picker.component.js +2 -0
  211. package/react/esm/components/item-option-positions-number-field.component.d.ts +4 -2
  212. package/react/esm/components/item-option-positions-number-field.component.js +2 -0
  213. package/react/esm/components/item-option-radio-button-group.component.d.ts +4 -2
  214. package/react/esm/components/item-option-radio-button-group.component.js +2 -0
  215. package/react/esm/components/item-option-slider.component.d.ts +4 -2
  216. package/react/esm/components/item-option-slider.component.js +2 -0
  217. package/react/esm/components/item-option-switch.component.d.ts +4 -2
  218. package/react/esm/components/item-option-switch.component.js +2 -0
  219. package/react/esm/components/item-option-text-field.component.d.ts +4 -2
  220. package/react/esm/components/item-option-text-field.component.js +2 -0
  221. package/react/esm/components/item-option.component.d.ts +7 -3
  222. package/react/esm/components/item-option.component.js +5 -1
  223. package/react/esm/components/item-slot-drop-panel.component.d.ts +3 -3
  224. package/react/esm/components/item-slot-drop.component.d.ts +5 -3
  225. package/react/esm/components/item-slot-drop.component.js +2 -0
  226. package/react/esm/components/item-slot-picker-panel.component.d.ts +5 -5
  227. package/react/esm/components/item-slot-picker.component.d.ts +2 -2
  228. package/react/esm/components/slot-menu-list.component.d.ts +2 -2
  229. package/react/esm/components/slot-menu.component.d.ts +8 -6
  230. package/react/esm/components/slot-menu.component.js +2 -0
  231. package/react/esm/components/viz-item-menu/types.d.ts +8 -0
  232. package/react/esm/components/viz-item-menu.component.d.ts +6 -6
  233. package/react/esm/components/viz-item-menu.component.js +2 -2
  234. package/react/esm/types.d.ts +3 -0
  235. package/react/luzmo-stub.d.ts +57 -36
  236. package/react/types.ts +3 -0
  237. package/types/ai-chat.types.d.ts +11 -0
  238. package/types/slot.types.d.ts +10 -0
  239. package/types.d.ts +3 -0
  240. package/components/formula-CHD4rr5_.cjs +0 -41
@@ -1,31 +1,31 @@
1
1
  import React from 'react';
2
2
  import { createComponent, EventName, ReactWebComponent } from '@lit/react';
3
- import { LuzmoVizItemMenu as LuzmoVizItemMenuClass } from '@luzmo/analytics-components-kit/viz-item-menu';
3
+ import { LuzmoVizItemMenu as LuzmoVizItemMenuClass, VizItemMenuButtonClickedEventDetail, VizItemMenuSelectedChangedEventDetail } from '@luzmo/analytics-components-kit/viz-item-menu';
4
4
 
5
5
  const LuzmoVizItemMenuComponent = createComponent({
6
6
  tagName: 'luzmo-viz-item-menu',
7
7
  elementClass: LuzmoVizItemMenuClass,
8
8
  react: React,
9
9
  events: {
10
- onSelectedChanged: 'selected-changed' as EventName<CustomEvent>,
11
- onButtonClicked: 'button-clicked' as EventName<CustomEvent>,
12
- onEditButtonHovered: 'edit-button-hovered' as EventName<CustomEvent>
10
+ onSelectedChanged: 'selected-changed' as EventName<CustomEvent<VizItemMenuSelectedChangedEventDetail>>,
11
+ onButtonClicked: 'button-clicked' as EventName<CustomEvent<VizItemMenuButtonClickedEventDetail>>,
12
+ onEditButtonHovered: 'edit-button-hovered' as EventName<CustomEvent<void>>
13
13
  }
14
14
  });
15
15
 
16
16
  /**
17
17
  * React wrapper for <luzmo-viz-item-menu>
18
18
  *
19
- * @event onSelectedChanged - Emitted when the selected button changes, includes { selectedButton: VizItemMenuButton | null } in detail
20
- * @event onButtonClicked - Emitted when any menu item is clicked, includes { action: string, type: VizItemMenuButton, id: string } in detail
19
+ * @event onSelectedChanged - Emitted when the selected button changes
20
+ * @event onButtonClicked - Emitted when any menu item is clicked
21
21
  * @event onEditButtonHovered - Emitted when hovering over the edit button
22
22
  */
23
23
  export const LuzmoVizItemMenu = LuzmoVizItemMenuComponent as ReactWebComponent<
24
24
  LuzmoVizItemMenuClass,
25
25
  {
26
- onSelectedChanged: EventName<CustomEvent>;
27
- onButtonClicked: EventName<CustomEvent>;
28
- onEditButtonHovered: EventName<CustomEvent>;
26
+ onSelectedChanged: EventName<CustomEvent<VizItemMenuSelectedChangedEventDetail>>;
27
+ onButtonClicked: EventName<CustomEvent<VizItemMenuButtonClickedEventDetail>>;
28
+ onEditButtonHovered: EventName<CustomEvent<void>>;
29
29
  }
30
30
  >;
31
31
 
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoAiChat as LuzmoAiChatClass, AiChatCompleteEvent, AiChatStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
2
+ import { LuzmoAiChat as LuzmoAiChatClass, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatMessageSentEventDetail, AiChatStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
3
3
  /**
4
4
  * React wrapper for <luzmo-ai-chat>
5
5
  *
@@ -11,12 +11,12 @@ import { LuzmoAiChat as LuzmoAiChatClass, AiChatCompleteEvent, AiChatStepEvent }
11
11
  * @event onLuzmoConversationIdChanged - Fired when the conversation ID is updated from the API
12
12
  */
13
13
  export declare const LuzmoAiChat: ReactWebComponent<LuzmoAiChatClass, {
14
- onLuzmoMessageSent: EventName<CustomEvent>;
15
- onLuzmoDatasetsChanged: EventName<CustomEvent>;
14
+ onLuzmoMessageSent: EventName<CustomEvent<AiChatMessageSentEventDetail>>;
15
+ onLuzmoDatasetsChanged: EventName<CustomEvent<AiChatDatasetsChangedEventDetail>>;
16
16
  onLuzmoStep: EventName<CustomEvent<AiChatStepEvent>>;
17
17
  onLuzmoComplete: EventName<CustomEvent<AiChatCompleteEvent>>;
18
- onLuzmoStop: EventName<CustomEvent>;
19
- onLuzmoConversationIdChanged: EventName<CustomEvent>;
18
+ onLuzmoStop: EventName<CustomEvent<void>>;
19
+ onLuzmoConversationIdChanged: EventName<CustomEvent<AiChatConversationIdChangedEventDetail>>;
20
20
  }>;
21
21
  /** The underlying custom element type for LuzmoAiChat */
22
22
  export type LuzmoAiChatElement = LuzmoAiChatClass;
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,5 @@
1
+ import type { Dataset } from '../../types/dataset.types';
2
+ export interface PromptSubmittedEventDetail {
3
+ prompt: string;
4
+ selectedDatasets: Dataset[];
5
+ }
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoAiInteractionTextarea as LuzmoAiInteractionTextareaClass } from '@luzmo/analytics-components-kit/ai-interaction-textarea';
2
+ import { LuzmoAiInteractionTextarea as LuzmoAiInteractionTextareaClass, PromptSubmittedEventDetail } from '@luzmo/analytics-components-kit/ai-interaction-textarea';
3
3
  /**
4
4
  * React wrapper for <luzmo-ai-interaction-textarea>
5
5
  *
@@ -7,8 +7,8 @@ import { LuzmoAiInteractionTextarea as LuzmoAiInteractionTextareaClass } from '@
7
7
  * @event onPromptStopped - Fired when a running prompt is stopped
8
8
  */
9
9
  export declare const LuzmoAiInteractionTextarea: ReactWebComponent<LuzmoAiInteractionTextareaClass, {
10
- onPromptSubmitted: EventName<CustomEvent>;
11
- onPromptStopped: EventName<CustomEvent>;
10
+ onPromptSubmitted: EventName<CustomEvent<PromptSubmittedEventDetail>>;
11
+ onPromptStopped: EventName<CustomEvent<void>>;
12
12
  }>;
13
13
  /** The underlying custom element type for LuzmoAiInteractionTextarea */
14
14
  export type LuzmoAiInteractionTextareaElement = LuzmoAiInteractionTextareaClass;
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDataFieldLevel as LuzmoDataFieldLevelClass, DatasetDataField } from '@luzmo/analytics-components-kit/data-field-level';
2
+ import { LuzmoDataFieldLevel as LuzmoDataFieldLevelClass, DataFieldDragStartedEventDetail, DataFieldDroppedEventDetail } from '@luzmo/analytics-components-kit/data-field-level';
3
3
  /**
4
4
  * React wrapper for <luzmo-data-field-level>
5
5
  *
@@ -7,12 +7,8 @@ import { LuzmoDataFieldLevel as LuzmoDataFieldLevelClass, DatasetDataField } fro
7
7
  * @event onLuzmoDataFieldDragStarted - Announces that the drag is started on the data field
8
8
  */
9
9
  export declare const LuzmoDataFieldLevel: ReactWebComponent<LuzmoDataFieldLevelClass, {
10
- onLuzmoDataFieldDropped: EventName<CustomEvent<{
11
- data: DatasetDataField;
12
- }>>;
13
- onLuzmoDataFieldDragStarted: EventName<CustomEvent<{
14
- data: DatasetDataField;
15
- }>>;
10
+ onLuzmoDataFieldDropped: EventName<CustomEvent<DataFieldDroppedEventDetail>>;
11
+ onLuzmoDataFieldDragStarted: EventName<CustomEvent<DataFieldDragStartedEventDetail>>;
16
12
  }>;
17
13
  /** The underlying custom element type for LuzmoDataFieldLevel */
18
14
  export type LuzmoDataFieldLevelElement = LuzmoDataFieldLevelClass;
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDataFieldPanel as LuzmoDataFieldPanelClass } from '@luzmo/analytics-components-kit/data-field-panel';
2
+ import { LuzmoDataFieldPanel as LuzmoDataFieldPanelClass, DataFieldDragStartedEventDetail, DataFieldDroppedEventDetail, DatasetChangedEventDetail } from '@luzmo/analytics-components-kit/data-field-panel';
3
3
  /**
4
4
  * A panel component that displays a list of data fields from a dataset.
5
5
  * Optionally includes a dataset picker dropdown to switch between datasets.
@@ -13,9 +13,9 @@ import { LuzmoDataFieldPanel as LuzmoDataFieldPanelClass } from '@luzmo/analytic
13
13
  * @event onLuzmoDataFieldDragStarted - Announces that a drag has started on a data field
14
14
  */
15
15
  export declare const LuzmoDataFieldPanel: ReactWebComponent<LuzmoDataFieldPanelClass, {
16
- onLuzmoDatasetChanged: EventName<CustomEvent>;
17
- onLuzmoDataFieldDropped: EventName<CustomEvent>;
18
- onLuzmoDataFieldDragStarted: EventName<CustomEvent>;
16
+ onLuzmoDatasetChanged: EventName<CustomEvent<DatasetChangedEventDetail>>;
17
+ onLuzmoDataFieldDropped: EventName<CustomEvent<DataFieldDroppedEventDetail>>;
18
+ onLuzmoDataFieldDragStarted: EventName<CustomEvent<DataFieldDragStartedEventDetail>>;
19
19
  }>;
20
20
  /** The underlying custom element type for LuzmoDataFieldPanel */
21
21
  export type LuzmoDataFieldPanelElement = LuzmoDataFieldPanelClass;
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDataField as LuzmoDataFieldClass, DatasetDataField } from '@luzmo/analytics-components-kit/data-field';
2
+ import { LuzmoDataField as LuzmoDataFieldClass, DataFieldDragStartedEventDetail, DataFieldDroppedEventDetail } from '@luzmo/analytics-components-kit/data-field';
3
3
  /**
4
4
  * React wrapper for <luzmo-data-field>
5
5
  *
@@ -7,12 +7,8 @@ import { LuzmoDataField as LuzmoDataFieldClass, DatasetDataField } from '@luzmo/
7
7
  * @event onLuzmoDataFieldDragStarted - Announces that the drag is started on the data field
8
8
  */
9
9
  export declare const LuzmoDataField: ReactWebComponent<LuzmoDataFieldClass, {
10
- onLuzmoDataFieldDropped: EventName<CustomEvent<{
11
- data: DatasetDataField;
12
- }>>;
13
- onLuzmoDataFieldDragStarted: EventName<CustomEvent<{
14
- data: DatasetDataField;
15
- }>>;
10
+ onLuzmoDataFieldDropped: EventName<CustomEvent<DataFieldDroppedEventDetail>>;
11
+ onLuzmoDataFieldDragStarted: EventName<CustomEvent<DataFieldDragStartedEventDetail>>;
16
12
  }>;
17
13
  /** The underlying custom element type for LuzmoDataField */
18
14
  export type LuzmoDataFieldElement = LuzmoDataFieldClass;
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ import type { DatasetDataField } from '../../types/dataset-data-field.types';
2
+ export interface DataFieldsSelectedEventDetail {
3
+ dataFields: DatasetDataField[];
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDataFieldsSelect as LuzmoDataFieldsSelectClass } from '@luzmo/analytics-components-kit/data-fields-select';
2
+ import { LuzmoDataFieldsSelect as LuzmoDataFieldsSelectClass, DataFieldsSelectedEventDetail } from '@luzmo/analytics-components-kit/data-fields-select';
3
3
  /**
4
4
  * React wrapper for <luzmo-data-fields-select>
5
5
  *
6
- * @event onLuzmoDataFieldsSelected - Emitted when data fields are selected. Event detail contains `{ dataFields: DatasetDataField[] }`
6
+ * @event onLuzmoDataFieldsSelected - Emitted when data fields are selected
7
7
  */
8
8
  export declare const LuzmoDataFieldsSelect: ReactWebComponent<LuzmoDataFieldsSelectClass, {
9
- onLuzmoDataFieldsSelected: EventName<CustomEvent>;
9
+ onLuzmoDataFieldsSelected: EventName<CustomEvent<DataFieldsSelectedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDataFieldsSelect */
12
12
  export type LuzmoDataFieldsSelectElement = LuzmoDataFieldsSelectClass;
@@ -12,6 +12,6 @@ const LuzmoDataFieldsSelectComponent = createComponent({
12
12
  /**
13
13
  * React wrapper for <luzmo-data-fields-select>
14
14
  *
15
- * @event onLuzmoDataFieldsSelected - Emitted when data fields are selected. Event detail contains `{ dataFields: DatasetDataField[] }`
15
+ * @event onLuzmoDataFieldsSelected - Emitted when data fields are selected
16
16
  */
17
17
  export const LuzmoDataFieldsSelect = LuzmoDataFieldsSelectComponent;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDatasetSelectorList as LuzmoDatasetSelectorListClass } from '@luzmo/analytics-components-kit/dataset-selector-list';
2
+ import { LuzmoDatasetSelectorList as LuzmoDatasetSelectorListClass, Dataset } from '@luzmo/analytics-components-kit/dataset-selector-list';
3
3
  /**
4
4
  * React wrapper for <luzmo-dataset-selector-list>
5
5
  *
6
6
  * @event onDatasetSelected - Fired when a dataset is selected
7
7
  */
8
8
  export declare const LuzmoDatasetSelectorList: ReactWebComponent<LuzmoDatasetSelectorListClass, {
9
- onDatasetSelected: EventName<CustomEvent>;
9
+ onDatasetSelected: EventName<CustomEvent<Dataset>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDatasetSelectorList */
12
12
  export type LuzmoDatasetSelectorListElement = LuzmoDatasetSelectorListClass;
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDatasetSelectorRow as LuzmoDatasetSelectorRowClass } from '@luzmo/analytics-components-kit/dataset-selector-row';
2
+ import { LuzmoDatasetSelectorRow as LuzmoDatasetSelectorRowClass, Dataset } from '@luzmo/analytics-components-kit/dataset-selector-row';
3
3
  /**
4
4
  * React wrapper for <luzmo-dataset-selector-row>
5
5
  *
@@ -7,8 +7,8 @@ import { LuzmoDatasetSelectorRow as LuzmoDatasetSelectorRowClass } from '@luzmo/
7
7
  * @event onDatasetRemoved - Fired when a dataset is removed
8
8
  */
9
9
  export declare const LuzmoDatasetSelectorRow: ReactWebComponent<LuzmoDatasetSelectorRowClass, {
10
- onDatasetSelected: EventName<CustomEvent>;
11
- onDatasetRemoved: EventName<CustomEvent>;
10
+ onDatasetSelected: EventName<CustomEvent<Dataset>>;
11
+ onDatasetRemoved: EventName<CustomEvent<Dataset>>;
12
12
  }>;
13
13
  /** The underlying custom element type for LuzmoDatasetSelectorRow */
14
14
  export type LuzmoDatasetSelectorRowElement = LuzmoDatasetSelectorRowClass;
@@ -1,4 +1,8 @@
1
- import { GenericSlotContent } from '@luzmo/dashboard-contents-types';
1
+ import type { GenericSlotContent } from '@luzmo/dashboard-contents-types';
2
+ export interface DisplaySettingsSlotContentChangedEventDetail {
3
+ slotContent: GenericSlotContent;
4
+ }
5
+ export type DisplaySettingsRemoveSlotContentEventDetail = DisplaySettingsSlotContentChangedEventDetail;
2
6
  export interface InfoVisibilityChangedEventDetail {
3
7
  isVisible: boolean;
4
8
  slotContent: GenericSlotContent;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDisplaySettingsBinning as LuzmoDisplaySettingsBinningClass } from '@luzmo/analytics-components-kit/display-settings-binning';
2
+ import { LuzmoDisplaySettingsBinning as LuzmoDisplaySettingsBinningClass, DisplaySettingsSlotContentChangedEventDetail } from '@luzmo/analytics-components-kit/display-settings-binning';
3
3
  /**
4
4
  * React wrapper for <luzmo-display-settings-binning>
5
5
  *
6
6
  * @event onLuzmoSlotContentChanged - Event that is fired when the slot content is changed
7
7
  */
8
8
  export declare const LuzmoDisplaySettingsBinning: ReactWebComponent<LuzmoDisplaySettingsBinningClass, {
9
- onLuzmoSlotContentChanged: EventName<CustomEvent>;
9
+ onLuzmoSlotContentChanged: EventName<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDisplaySettingsBinning */
12
12
  export type LuzmoDisplaySettingsBinningElement = LuzmoDisplaySettingsBinningClass;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDisplaySettingsDatetime as LuzmoDisplaySettingsDatetimeClass } from '@luzmo/analytics-components-kit/display-settings-datetime';
2
+ import { LuzmoDisplaySettingsDatetime as LuzmoDisplaySettingsDatetimeClass, DisplaySettingsSlotContentChangedEventDetail } from '@luzmo/analytics-components-kit/display-settings-datetime';
3
3
  /**
4
4
  * React wrapper for <luzmo-display-settings-datetime>
5
5
  *
6
6
  * @event onLuzmoSlotContentChanged - Event that is fired when the slot content is changed
7
7
  */
8
8
  export declare const LuzmoDisplaySettingsDatetime: ReactWebComponent<LuzmoDisplaySettingsDatetimeClass, {
9
- onLuzmoSlotContentChanged: EventName<CustomEvent>;
9
+ onLuzmoSlotContentChanged: EventName<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDisplaySettingsDatetime */
12
12
  export type LuzmoDisplaySettingsDatetimeElement = LuzmoDisplaySettingsDatetimeClass;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDisplaySettingsGrandTotals as LuzmoDisplaySettingsGrandTotalsClass } from '@luzmo/analytics-components-kit/display-settings-grand-totals';
2
+ import { LuzmoDisplaySettingsGrandTotals as LuzmoDisplaySettingsGrandTotalsClass, DisplaySettingsSlotContentChangedEventDetail } from '@luzmo/analytics-components-kit/display-settings-grand-totals';
3
3
  /**
4
4
  * React wrapper for <luzmo-display-settings-grand-totals>
5
5
  *
6
6
  * @event onLuzmoSlotContentChanged - Event that is fired when the slot content is changed
7
7
  */
8
8
  export declare const LuzmoDisplaySettingsGrandTotals: ReactWebComponent<LuzmoDisplaySettingsGrandTotalsClass, {
9
- onLuzmoSlotContentChanged: EventName<CustomEvent>;
9
+ onLuzmoSlotContentChanged: EventName<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDisplaySettingsGrandTotals */
12
12
  export type LuzmoDisplaySettingsGrandTotalsElement = LuzmoDisplaySettingsGrandTotalsClass;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDisplaySettingsNumeric as LuzmoDisplaySettingsNumericClass } from '@luzmo/analytics-components-kit/display-settings-numeric';
2
+ import { LuzmoDisplaySettingsNumeric as LuzmoDisplaySettingsNumericClass, DisplaySettingsSlotContentChangedEventDetail } from '@luzmo/analytics-components-kit/display-settings-numeric';
3
3
  /**
4
4
  * React wrapper for <luzmo-display-settings-numeric>
5
5
  *
6
6
  * @event onLuzmoSlotContentChanged - Event that is fired when the slot content is changed
7
7
  */
8
8
  export declare const LuzmoDisplaySettingsNumeric: ReactWebComponent<LuzmoDisplaySettingsNumericClass, {
9
- onLuzmoSlotContentChanged: EventName<CustomEvent>;
9
+ onLuzmoSlotContentChanged: EventName<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDisplaySettingsNumeric */
12
12
  export type LuzmoDisplaySettingsNumericElement = LuzmoDisplaySettingsNumericClass;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDisplaySettingsPeriodOverPeriod as LuzmoDisplaySettingsPeriodOverPeriodClass } from '@luzmo/analytics-components-kit/display-settings-period-over-period';
2
+ import { LuzmoDisplaySettingsPeriodOverPeriod as LuzmoDisplaySettingsPeriodOverPeriodClass, DisplaySettingsSlotContentChangedEventDetail } from '@luzmo/analytics-components-kit/display-settings-period-over-period';
3
3
  /**
4
4
  * React wrapper for <luzmo-display-settings-period-over-period>
5
5
  *
6
6
  * @event onLuzmoSlotContentChanged - Event that is fired when the slot content is changed
7
7
  */
8
8
  export declare const LuzmoDisplaySettingsPeriodOverPeriod: ReactWebComponent<LuzmoDisplaySettingsPeriodOverPeriodClass, {
9
- onLuzmoSlotContentChanged: EventName<CustomEvent>;
9
+ onLuzmoSlotContentChanged: EventName<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoDisplaySettingsPeriodOverPeriod */
12
12
  export type LuzmoDisplaySettingsPeriodOverPeriodElement = LuzmoDisplaySettingsPeriodOverPeriodClass;
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoDisplaySettings as LuzmoDisplaySettingsClass } from '@luzmo/analytics-components-kit/display-settings';
2
+ import { LuzmoDisplaySettings as LuzmoDisplaySettingsClass, DisplaySettingsRemoveSlotContentEventDetail, DisplaySettingsSlotContentChangedEventDetail, InfoVisibilityChangedEventDetail } from '@luzmo/analytics-components-kit/display-settings';
3
3
  /**
4
4
  * React wrapper for <luzmo-display-settings>
5
5
  *
@@ -8,9 +8,9 @@ import { LuzmoDisplaySettings as LuzmoDisplaySettingsClass } from '@luzmo/analyt
8
8
  * @event onLuzmoInfoVisibilityChanged - Event that is fired when the info button is clicked, includes the visibility state and ID values
9
9
  */
10
10
  export declare const LuzmoDisplaySettings: ReactWebComponent<LuzmoDisplaySettingsClass, {
11
- onLuzmoSlotContentChanged: EventName<CustomEvent>;
12
- onLuzmoRemoveSlotContent: EventName<CustomEvent>;
13
- onLuzmoInfoVisibilityChanged: EventName<CustomEvent>;
11
+ onLuzmoSlotContentChanged: EventName<CustomEvent<DisplaySettingsSlotContentChangedEventDetail>>;
12
+ onLuzmoRemoveSlotContent: EventName<CustomEvent<DisplaySettingsRemoveSlotContentEventDetail>>;
13
+ onLuzmoInfoVisibilityChanged: EventName<CustomEvent<InfoVisibilityChangedEventDetail>>;
14
14
  }>;
15
15
  /** The underlying custom element type for LuzmoDisplaySettings */
16
16
  export type LuzmoDisplaySettingsElement = LuzmoDisplaySettingsClass;
@@ -1,3 +1,7 @@
1
+ import type { ItemFilterGroup } from '@luzmo/dashboard-contents-types';
2
+ export interface FiltersChangedEventDetail {
3
+ filters: ItemFilterGroup[];
4
+ }
1
5
  export interface FilterCondition {
2
6
  expression?: string;
3
7
  parameters?: unknown[];
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoFilters as LuzmoFiltersClass } from '@luzmo/analytics-components-kit/filters';
2
+ import { LuzmoFilters as LuzmoFiltersClass, FiltersChangedEventDetail } from '@luzmo/analytics-components-kit/filters';
3
3
  /**
4
4
  * React wrapper for <luzmo-filters>
5
5
  *
6
6
  * @event onLuzmoFiltersChanged - Announces that the filters have changed
7
7
  */
8
8
  export declare const LuzmoFilters: ReactWebComponent<LuzmoFiltersClass, {
9
- onLuzmoFiltersChanged: EventName<CustomEvent>;
9
+ onLuzmoFiltersChanged: EventName<CustomEvent<FiltersChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoFilters */
12
12
  export type LuzmoFiltersElement = LuzmoFiltersClass;
@@ -1,5 +1,5 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemGrid as LuzmoItemGridClass } from '@luzmo/analytics-components-kit/item-grid';
2
+ import { LuzmoItemGrid as LuzmoItemGridClass, GridItemActionEventDetail, GridItemStatesChangedEventDetail, GridLifecycleEventDetail } from '@luzmo/analytics-components-kit/item-grid';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-grid>
5
5
  *
@@ -9,10 +9,10 @@ import { LuzmoItemGrid as LuzmoItemGridClass } from '@luzmo/analytics-components
9
9
  * @event onLuzmoItemGridItemStatesChanged - Fired when item states change (controlled and uncontrolled mode)
10
10
  */
11
11
  export declare const LuzmoItemGrid: ReactWebComponent<LuzmoItemGridClass, {
12
- onLuzmoItemGridItemAction: EventName<CustomEvent>;
13
- onLuzmoItemGridLayoutChanged: EventName<CustomEvent>;
14
- onLuzmoItemGridReady: EventName<CustomEvent>;
15
- onLuzmoItemGridItemStatesChanged: EventName<CustomEvent>;
12
+ onLuzmoItemGridItemAction: EventName<CustomEvent<GridItemActionEventDetail>>;
13
+ onLuzmoItemGridLayoutChanged: EventName<CustomEvent<GridLifecycleEventDetail>>;
14
+ onLuzmoItemGridReady: EventName<CustomEvent<GridLifecycleEventDetail>>;
15
+ onLuzmoItemGridItemStatesChanged: EventName<CustomEvent<GridItemStatesChangedEventDetail>>;
16
16
  }>;
17
17
  /** The underlying custom element type for LuzmoItemGrid */
18
18
  export type LuzmoItemGridElement = LuzmoItemGridClass;
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,8 @@
1
+ import type { OptionsConfig } from '@luzmo/dashboard-contents-types';
2
+ export interface ItemOptionChangedEventDetail {
3
+ value?: unknown;
4
+ values?: Record<string, number | undefined>;
5
+ }
6
+ export interface ItemOptionsChangedEventDetail {
7
+ options: OptionsConfig;
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,10 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionActionButtonGroup as LuzmoItemOptionActionButtonGroupClass } from '@luzmo/analytics-components-kit/item-option-action-button-group';
2
+ import { LuzmoItemOptionActionButtonGroup as LuzmoItemOptionActionButtonGroupClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-action-button-group';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-action-button-group>
5
+ *
6
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
5
7
  */
6
8
  export declare const LuzmoItemOptionActionButtonGroup: ReactWebComponent<LuzmoItemOptionActionButtonGroupClass, {
7
- onLuzmoOptionChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
8
10
  }>;
9
11
  /** The underlying custom element type for LuzmoItemOptionActionButtonGroup */
10
12
  export type LuzmoItemOptionActionButtonGroupElement = LuzmoItemOptionActionButtonGroupClass;
@@ -11,5 +11,7 @@ const LuzmoItemOptionActionButtonGroupComponent = createComponent({
11
11
  });
12
12
  /**
13
13
  * React wrapper for <luzmo-item-option-action-button-group>
14
+ *
15
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
14
16
  */
15
17
  export const LuzmoItemOptionActionButtonGroup = LuzmoItemOptionActionButtonGroupComponent;
@@ -1,10 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionColorPalettePicker as LuzmoItemOptionColorPalettePickerClass } from '@luzmo/analytics-components-kit/item-option-color-palette-picker';
2
+ import { LuzmoItemOptionColorPalettePicker as LuzmoItemOptionColorPalettePickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-palette-picker';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-color-palette-picker>
5
+ *
6
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
5
7
  */
6
8
  export declare const LuzmoItemOptionColorPalettePicker: ReactWebComponent<LuzmoItemOptionColorPalettePickerClass, {
7
- onLuzmoOptionChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
8
10
  }>;
9
11
  /** The underlying custom element type for LuzmoItemOptionColorPalettePicker */
10
12
  export type LuzmoItemOptionColorPalettePickerElement = LuzmoItemOptionColorPalettePickerClass;
@@ -11,5 +11,7 @@ const LuzmoItemOptionColorPalettePickerComponent = createComponent({
11
11
  });
12
12
  /**
13
13
  * React wrapper for <luzmo-item-option-color-palette-picker>
14
+ *
15
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
14
16
  */
15
17
  export const LuzmoItemOptionColorPalettePicker = LuzmoItemOptionColorPalettePickerComponent;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass } from '@luzmo/analytics-components-kit/item-option-color-picker';
2
+ import { LuzmoItemOptionColorPicker as LuzmoItemOptionColorPickerClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-picker';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-color-picker>
5
5
  *
6
- * @event onLuzmoOptionChanged - Emitted when the color is changed.
6
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
7
7
  */
8
8
  export declare const LuzmoItemOptionColorPicker: ReactWebComponent<LuzmoItemOptionColorPickerClass, {
9
- onLuzmoOptionChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoItemOptionColorPicker */
12
12
  export type LuzmoItemOptionColorPickerElement = LuzmoItemOptionColorPickerClass;
@@ -12,6 +12,6 @@ const LuzmoItemOptionColorPickerComponent = createComponent({
12
12
  /**
13
13
  * React wrapper for <luzmo-item-option-color-picker>
14
14
  *
15
- * @event onLuzmoOptionChanged - Emitted when the color is changed.
15
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
16
16
  */
17
17
  export const LuzmoItemOptionColorPicker = LuzmoItemOptionColorPickerComponent;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass } from '@luzmo/analytics-components-kit/item-option-color-range';
2
+ import { LuzmoItemOptionColorRange as LuzmoItemOptionColorRangeClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-color-range';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-color-range>
5
5
  *
6
- * @event onLuzmoOptionChanged - Emitted when the color range is changed.
6
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
7
7
  */
8
8
  export declare const LuzmoItemOptionColorRange: ReactWebComponent<LuzmoItemOptionColorRangeClass, {
9
- onLuzmoOptionChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoItemOptionColorRange */
12
12
  export type LuzmoItemOptionColorRangeElement = LuzmoItemOptionColorRangeClass;
@@ -12,6 +12,6 @@ const LuzmoItemOptionColorRangeComponent = createComponent({
12
12
  /**
13
13
  * React wrapper for <luzmo-item-option-color-range>
14
14
  *
15
- * @event onLuzmoOptionChanged - Emitted when the color range is changed.
15
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
16
16
  */
17
17
  export const LuzmoItemOptionColorRange = LuzmoItemOptionColorRangeComponent;
@@ -1,10 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionMultiLangField as LuzmoItemOptionMultiLangFieldClass } from '@luzmo/analytics-components-kit/item-option-multi-language-field';
2
+ import { LuzmoItemOptionMultiLangField as LuzmoItemOptionMultiLangFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-multi-language-field';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-multi-language-field>
5
+ *
6
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
5
7
  */
6
8
  export declare const LuzmoItemOptionMultiLanguageField: ReactWebComponent<LuzmoItemOptionMultiLangFieldClass, {
7
- onLuzmoOptionChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
8
10
  }>;
9
11
  /** The underlying custom element type for LuzmoItemOptionMultiLanguageField */
10
12
  export type LuzmoItemOptionMultiLanguageFieldElement = LuzmoItemOptionMultiLangFieldClass;
@@ -11,5 +11,7 @@ const LuzmoItemOptionMultiLanguageFieldComponent = createComponent({
11
11
  });
12
12
  /**
13
13
  * React wrapper for <luzmo-item-option-multi-language-field>
14
+ *
15
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
14
16
  */
15
17
  export const LuzmoItemOptionMultiLanguageField = LuzmoItemOptionMultiLanguageFieldComponent;
@@ -1,10 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionNumberField as LuzmoItemOptionNumberFieldClass } from '@luzmo/analytics-components-kit/item-option-number-field';
2
+ import { LuzmoItemOptionNumberField as LuzmoItemOptionNumberFieldClass, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-number-field';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-number-field>
5
+ *
6
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
5
7
  */
6
8
  export declare const LuzmoItemOptionNumberField: ReactWebComponent<LuzmoItemOptionNumberFieldClass, {
7
- onLuzmoOptionChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionChanged: EventName<CustomEvent<ItemOptionChangedEventDetail>>;
8
10
  }>;
9
11
  /** The underlying custom element type for LuzmoItemOptionNumberField */
10
12
  export type LuzmoItemOptionNumberFieldElement = LuzmoItemOptionNumberFieldClass;
@@ -11,5 +11,7 @@ const LuzmoItemOptionNumberFieldComponent = createComponent({
11
11
  });
12
12
  /**
13
13
  * React wrapper for <luzmo-item-option-number-field>
14
+ *
15
+ * @event onLuzmoOptionChanged - Emitted when the option value changes.
14
16
  */
15
17
  export const LuzmoItemOptionNumberField = LuzmoItemOptionNumberFieldComponent;
@@ -1,12 +1,12 @@
1
1
  import { EventName, ReactWebComponent } from '@lit/react';
2
- import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass } from '@luzmo/analytics-components-kit/item-option-panel';
2
+ import { LuzmoItemOptionPanel as LuzmoItemOptionPanelClass, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-panel';
3
3
  /**
4
4
  * React wrapper for <luzmo-item-option-panel>
5
5
  *
6
6
  * @event onLuzmoOptionsChanged - Announces that the `options` of the element have changed
7
7
  */
8
8
  export declare const LuzmoItemOptionPanel: ReactWebComponent<LuzmoItemOptionPanelClass, {
9
- onLuzmoOptionsChanged: EventName<CustomEvent>;
9
+ onLuzmoOptionsChanged: EventName<CustomEvent<ItemOptionsChangedEventDetail>>;
10
10
  }>;
11
11
  /** The underlying custom element type for LuzmoItemOptionPanel */
12
12
  export type LuzmoItemOptionPanelElement = LuzmoItemOptionPanelClass;