@luzmo/analytics-components-kit 1.0.1-alpha.98 → 1.0.1-alpha.99

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 (293) hide show
  1. package/angular/README.md +2 -2
  2. package/angular/components/ai-interaction-textarea.component.ts +8 -0
  3. package/angular/components/{filter-data-item-picker.component.ts → data-items-select.component.ts} +34 -17
  4. package/angular/components/edit-filters/index.ts +1 -0
  5. package/angular/components/edit-filters/types.ts +10 -0
  6. package/angular/components/edit-filters.component.ts +41 -0
  7. package/angular/components/slot-contents-picker.component.ts +8 -6
  8. package/angular/esm/components/ai-interaction-textarea.component.d.ts +5 -1
  9. package/angular/esm/components/ai-interaction-textarea.component.js +22 -2
  10. package/angular/esm/components/data-items-select.component.d.ts +33 -0
  11. package/angular/esm/components/{filter-data-item-picker.component.js → data-items-select.component.js} +41 -26
  12. package/angular/esm/components/edit-filters/index.d.ts +1 -0
  13. package/angular/esm/components/edit-filters/index.js +1 -0
  14. package/angular/esm/components/edit-filters/types.d.ts +8 -0
  15. package/angular/esm/components/edit-filters/types.js +1 -0
  16. package/angular/esm/components/edit-filters.component.d.ts +21 -0
  17. package/angular/esm/components/edit-filters.component.js +89 -0
  18. package/angular/esm/components/slot-contents-picker.component.d.ts +7 -6
  19. package/angular/esm/components/slot-contents-picker.component.js +11 -6
  20. package/angular/esm/index.d.ts +5 -5
  21. package/angular/esm/index.js +6 -6
  22. package/angular/esm/types.d.ts +9 -0
  23. package/angular/index.ts +6 -6
  24. package/angular/types.ts +17 -0
  25. package/angular/utils/filters/expressions.d.ts +1 -1
  26. package/components/ai-chat-message-assistant/index.cjs +1 -1
  27. package/components/ai-chat-message-assistant/index.js +0 -1
  28. package/components/ai-chat-messages-container/index.cjs +1 -1
  29. package/components/ai-chat-messages-container/index.js +2 -2
  30. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +21 -0
  31. package/components/ai-interaction-textarea/index.cjs +17 -15
  32. package/components/ai-interaction-textarea/index.js +91 -67
  33. package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
  34. package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
  35. package/components/bar-chart-options.config-CePAqM83.cjs +20 -0
  36. package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
  37. package/components/box-plot-options.config-BVNrV2eD.cjs +20 -0
  38. package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
  39. package/components/{bubble-chart-options.config-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
  40. package/components/bubble-chart-options.config-BDgOe3GQ.cjs +20 -0
  41. package/components/{bullet-chart-options.config-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
  42. package/components/{bullet-chart-options.config-DfS4Bwds.cjs → bullet-chart-options.config-tWb6Fio-.cjs} +1 -1
  43. package/components/calculate-data-item-icon-DMDhKq_m.js +147 -0
  44. package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
  45. package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
  46. package/components/choropleth-map-options.config-CWJACFd0.cjs +20 -0
  47. package/components/circular-gauge-options.config-BMxgq3zH.cjs +20 -0
  48. package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
  49. package/components/{color-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
  50. package/components/color-Czp4Im5q.cjs +20 -0
  51. package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
  52. package/components/color-range-utils-DYYR-iwx.cjs +20 -0
  53. package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
  54. package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
  55. package/components/conditional-number-options.config-Co099Qfm.cjs +20 -0
  56. package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
  57. package/components/{filter-data-item-picker/filter-data-item-picker.d.ts → data-items-select/data-items-select.d.ts} +36 -21
  58. package/components/data-items-select/index.cjs +39 -0
  59. package/components/data-items-select/index.d.ts +6 -0
  60. package/components/data-items-select/index.js +209 -0
  61. package/components/dataset-icon/index.cjs +1 -1
  62. package/components/dataset-icon/index.js +1 -2
  63. package/components/dataset-selector-list/index.cjs +1 -1
  64. package/components/dataset-selector-list/index.js +32 -35
  65. package/components/dataset-selector-row/index.cjs +9 -9
  66. package/components/dataset-selector-row/index.js +50 -52
  67. package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
  68. package/components/{date-comparison-filter-options.config-DAVncmi0.cjs → date-comparison-filter-options.config-QaoWaFUn.cjs} +1 -1
  69. package/components/{date-filter-options.config-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
  70. package/components/{date-filter-options.config-CWPMtA18.cjs → date-filter-options.config-n-zhWaYa.cjs} +1 -1
  71. package/components/{de-COKGBX9L.cjs → de-DOYL4txr.cjs} +1 -1
  72. package/components/{de-DU0DlXuf.js → de-SDzGVifr.js} +10 -1
  73. package/components/display-settings/index.cjs +1 -1
  74. package/components/display-settings/index.js +1 -1
  75. package/components/display-settings-binning/index.cjs +5 -5
  76. package/components/display-settings-binning/index.js +29 -30
  77. package/components/display-settings-datetime/index.cjs +29 -29
  78. package/components/display-settings-datetime/index.js +112 -120
  79. package/components/display-settings-grand-totals/index.cjs +4 -4
  80. package/components/display-settings-grand-totals/index.js +23 -24
  81. package/components/display-settings-numeric/index.cjs +48 -48
  82. package/components/display-settings-numeric/index.js +190 -206
  83. package/components/display-settings-period-over-period/index.cjs +16 -16
  84. package/components/display-settings-period-over-period/index.js +91 -97
  85. package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
  86. package/components/donut-chart-options.config-BQyPgnC9.cjs +20 -0
  87. package/components/draggable-data-item/index.cjs +5 -5
  88. package/components/draggable-data-item/index.js +45 -46
  89. package/components/draggable-data-item-level/index.cjs +11 -11
  90. package/components/draggable-data-item-level/index.js +70 -73
  91. package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
  92. package/components/{dropdown-filter-options.config-DS-MORmq.cjs → dropdown-filter-options.config-DJvfCTk7.cjs} +1 -1
  93. package/components/droppable-slot/index.cjs +16 -16
  94. package/components/droppable-slot/index.js +174 -265
  95. package/components/edit-filters/edit-filters.d.ts +79 -0
  96. package/components/edit-filters/index.cjs +144 -0
  97. package/components/edit-filters/index.d.ts +8 -0
  98. package/components/edit-filters/index.js +341 -0
  99. package/components/edit-filters/types.d.ts +8 -0
  100. package/components/edit-item/index.cjs +9 -9
  101. package/components/edit-item/index.js +116 -119
  102. package/components/edit-option/index.cjs +1 -1
  103. package/components/edit-option/index.js +1 -1
  104. package/components/edit-option-action-button-group/index.cjs +8 -8
  105. package/components/edit-option-action-button-group/index.js +52 -53
  106. package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
  107. package/components/{edit-option-base-VhTih9T1.cjs → edit-option-base-tFr8Qg2B.cjs} +1 -1
  108. package/components/edit-option-color-palette-picker/index.cjs +1 -1
  109. package/components/edit-option-color-palette-picker/index.js +1 -1
  110. package/components/edit-option-color-picker/index.cjs +1 -1
  111. package/components/edit-option-color-picker/index.js +1 -1
  112. package/components/edit-option-color-range/index.cjs +19 -19
  113. package/components/edit-option-color-range/index.js +106 -117
  114. package/components/edit-option-multi-language-field/index.cjs +3 -3
  115. package/components/edit-option-multi-language-field/index.js +26 -27
  116. package/components/edit-option-number-field/index.cjs +1 -1
  117. package/components/edit-option-number-field/index.js +1 -1
  118. package/components/edit-option-picker/index.cjs +5 -5
  119. package/components/edit-option-picker/index.js +7 -7
  120. package/components/edit-option-position-picker/index.cjs +4 -4
  121. package/components/edit-option-position-picker/index.js +21 -25
  122. package/components/edit-option-positions-number-field/index.cjs +9 -9
  123. package/components/edit-option-positions-number-field/index.js +76 -81
  124. package/components/edit-option-radio-button-group/index.cjs +6 -6
  125. package/components/edit-option-radio-button-group/index.js +21 -22
  126. package/components/edit-option-slider/index.cjs +1 -1
  127. package/components/edit-option-slider/index.js +1 -1
  128. package/components/edit-option-switch/index.cjs +1 -1
  129. package/components/edit-option-switch/index.js +1 -1
  130. package/components/edit-option-text-field/index.cjs +2 -2
  131. package/components/edit-option-text-field/index.js +22 -23
  132. package/components/en-D3ihEGXg.js +1483 -0
  133. package/components/en-DZcn_iz_.cjs +20 -0
  134. package/components/{en-GB-DG6uS3sM.cjs → en-GB-TqvgIw9B.cjs} +1 -1
  135. package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
  136. package/components/{es-BxR1uGKR.js → es-B1TeapPZ.js} +10 -1
  137. package/components/{es-CaKfa7fn.cjs → es-DcQvrHgz.cjs} +1 -1
  138. package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
  139. package/components/{evolution-number-options.config-BgIZY4gQ.cjs → evolution-number-options.config-Bc9eKYnn.cjs} +1 -1
  140. package/components/{extrapolate-color-0j_AeYkz.cjs → extrapolate-color-C0n1UDs-.cjs} +1 -1
  141. package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
  142. package/components/filter-expression-picker/index.cjs +1 -1
  143. package/components/filter-expression-picker/index.js +1 -1
  144. package/components/filter-item/filter-item.d.ts +1 -1
  145. package/components/filter-item/index.cjs +9 -7
  146. package/components/filter-item/index.js +123 -123
  147. package/components/filter-value-picker/index.cjs +2 -2
  148. package/components/filter-value-picker/index.js +34 -36
  149. package/components/filter-value-picker-datetime/index.cjs +8 -8
  150. package/components/filter-value-picker-datetime/index.js +56 -71
  151. package/components/filter-value-picker-hierarchy/index.cjs +12 -12
  152. package/components/filter-value-picker-hierarchy/index.js +113 -124
  153. package/components/filter-value-picker-numeric/index.cjs +9 -8
  154. package/components/filter-value-picker-numeric/index.js +102 -110
  155. package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
  156. package/components/focusable-QLh-LlNt.cjs +20 -0
  157. package/components/{fr-DiZbjx_a.cjs → fr-D6QmA3Ve.cjs} +1 -1
  158. package/components/{fr-CvltYxR_.js → fr-sZFBmltf.js} +10 -1
  159. package/components/{funnel-chart-options.config-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
  160. package/components/funnel-chart-options.config-DrP4AFgk.cjs +20 -0
  161. package/components/get-css-variable-C0B_Sxqf.cjs +24 -0
  162. package/components/{get-css-variable-YlLiVgo8.js → get-css-variable-DgTBQV3c.js} +39 -38
  163. package/components/grid/index.cjs +43 -49
  164. package/components/grid/index.js +2610 -1878
  165. package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
  166. package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
  167. package/components/{heat-table-options.config-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
  168. package/components/heat-table-options.config-DTlZRc_i.cjs +20 -0
  169. package/components/helpers-9I0oLoUB.cjs +20 -0
  170. package/components/helpers-bR8Ibjqh.js +79 -0
  171. package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
  172. package/components/hexbin-map-options.config-CKnn3VAB.cjs +20 -0
  173. package/components/index-BekTY3Em.cjs +121 -0
  174. package/components/index-BikhVAa1.js +1755 -0
  175. package/components/index-CAbDIHYI.cjs +20 -0
  176. package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
  177. package/components/{index-BPNsFiyq.cjs → index-DM58h73U.cjs} +4 -4
  178. package/components/{index-D0GBF6tg.js → index-DR5275fa.js} +122 -102
  179. package/components/index-DvkzMbLt.cjs +249 -0
  180. package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
  181. package/components/index.cjs +1 -1
  182. package/components/index.js +105 -106
  183. package/components/item-options-configs.cjs +1 -1
  184. package/components/item-options-configs.js +37 -37
  185. package/components/{line-chart-options.config-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
  186. package/components/line-chart-options.config-Cqwou5u6.cjs +20 -0
  187. package/components/{localize-r7ALOUy_.cjs → localize-C4zNlrwK.cjs} +1 -1
  188. package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
  189. package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
  190. package/components/{marker-map-options.config-_FYZzRwA.cjs → marker-map-options.config-CvhCylSC.cjs} +1 -1
  191. package/components/{nl-CLs7FmRK.js → nl-BYXZ-qNp.js} +10 -1
  192. package/components/{nl-Bot6bJ4g.cjs → nl-D7oNsLn0.cjs} +1 -1
  193. package/components/{pivot-table-options.config-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
  194. package/components/pivot-table-options.config-uZDAertf.cjs +20 -0
  195. package/components/{pyramid-chart-options.config-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
  196. package/components/pyramid-chart-options.config-DoGfEvzU.cjs +20 -0
  197. package/components/{radar-chart-options.config-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
  198. package/components/radar-chart-options.config-CtNUMN1l.cjs +20 -0
  199. package/components/{regular-table-options.config-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
  200. package/components/{regular-table-options.config-DTx3RTnS.cjs → regular-table-options.config-YRuoijIk.cjs} +1 -1
  201. package/components/route-map-options.config-CVTk5RVL.cjs +20 -0
  202. package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
  203. package/components/{sankey-diagram-options.config-RFB83YLZ.cjs → sankey-diagram-options.config-D7OSvSqm.cjs} +1 -1
  204. package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
  205. package/components/scatter-plot-options.config-5gN7pMTm.cjs +20 -0
  206. package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
  207. package/components/{search-filter-options.config-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
  208. package/components/{search-filter-options.config-BCaDlYqZ.cjs → search-filter-options.config-Oqco9BKj.cjs} +1 -1
  209. package/components/{set-locale-Dp3N_gXN.js → set-locale-B5562CBM.js} +2 -9
  210. package/components/{set-locale-BRRalqne.cjs → set-locale-B8iQGfk0.cjs} +1 -1
  211. package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
  212. package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
  213. package/components/{slider-filter-options.config-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
  214. package/components/{slider-filter-options.config-_8Z2zKmU.cjs → slider-filter-options.config-k45I-t6G.cjs} +1 -1
  215. package/components/slot-contents-picker/index.cjs +35 -31
  216. package/components/slot-contents-picker/index.js +202 -200
  217. package/components/slot-contents-picker/slot-contents-picker.d.ts +26 -5
  218. package/components/slot-menu/index.cjs +12 -12
  219. package/components/slot-menu/index.js +189 -202
  220. package/components/slot-menu-list/index.cjs +3 -3
  221. package/components/slot-menu-list/index.js +97 -103
  222. package/components/slot-store-CRfN0nD3.js +98 -0
  223. package/components/slot-store-Dd_cPNXk.cjs +20 -0
  224. package/components/speedometer-chart-options.config-B4ceg_qI.cjs +20 -0
  225. package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
  226. package/components/spike-map-options.config-BkkDqb4g.cjs +20 -0
  227. package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
  228. package/components/{sunburst-chart-options.config-AbNjWS6t.cjs → sunburst-chart-options.config-Yrxc2i57.cjs} +1 -1
  229. package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
  230. package/components/{symbol-map-options.config-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
  231. package/components/symbol-map-options.config-NpBKm64d.cjs +20 -0
  232. package/components/{treemap-chart-options.config-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
  233. package/components/treemap-chart-options.config-x4J54WSw.cjs +20 -0
  234. package/components/utils.cjs +1 -1
  235. package/components/utils.js +94 -97
  236. package/components/{video-options.config-CGsDTwHc.cjs → video-options.config-B0asgYt8.cjs} +1 -1
  237. package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
  238. package/components/viz-item-menu/index.cjs +5 -5
  239. package/components/viz-item-menu/index.js +26 -28
  240. package/components/{wordcloud-chart-options.config-vGfCW8kE.cjs → wordcloud-chart-options.config-BKtJT8Va.cjs} +1 -1
  241. package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
  242. package/custom-elements.json +1936 -1625
  243. package/index.d.ts +1 -1
  244. package/package.json +12 -12
  245. package/types.d.ts +9 -0
  246. package/utils/filters/expressions.d.ts +1 -1
  247. package/angular/components/filter-group.component.ts +0 -29
  248. package/angular/esm/components/filter-data-item-picker.component.d.ts +0 -30
  249. package/angular/esm/components/filter-group.component.d.ts +0 -12
  250. package/angular/esm/components/filter-group.component.js +0 -56
  251. package/components/area-chart-options.config-C7sMAHco.cjs +0 -20
  252. package/components/bar-chart-options.config-DcxEkOT5.cjs +0 -20
  253. package/components/box-plot-options.config-SrrbDEYW.cjs +0 -20
  254. package/components/bubble-chart-options.config-Ihn6eVQI.cjs +0 -20
  255. package/components/calculate-data-item-icon-CEa82-5u.cjs +0 -20
  256. package/components/calculate-data-item-icon-DjlZwMdO.js +0 -147
  257. package/components/choropleth-map-options.config-ZW8yoZH2.cjs +0 -20
  258. package/components/circular-gauge-options.config-msZ4mfpN.cjs +0 -20
  259. package/components/color-B6LaL8qz.cjs +0 -20
  260. package/components/color-range-utils-C5yXW7ZC.cjs +0 -20
  261. package/components/column-chart-options.config-BjDvA7i9.cjs +0 -20
  262. package/components/conditional-number-options.config-DgzUo0xi.cjs +0 -20
  263. package/components/donut-chart-options.config-tNpqBZfR.cjs +0 -20
  264. package/components/en-BKBhKBXY.cjs +0 -20
  265. package/components/en-BOTjhwEc.js +0 -1488
  266. package/components/filter-data-item-picker/index.cjs +0 -47
  267. package/components/filter-data-item-picker/index.d.ts +0 -7
  268. package/components/filter-data-item-picker/index.js +0 -192
  269. package/components/filter-group/filter-group.d.ts +0 -26
  270. package/components/filter-group/index.d.ts +0 -7
  271. package/components/focusable-B3E_hQmm.cjs +0 -20
  272. package/components/funnel-chart-options.config-D7H7gFcx.cjs +0 -20
  273. package/components/get-css-variable-DLiZYZEi.cjs +0 -24
  274. package/components/heat-map-options.config-DVH-Bb5-.cjs +0 -20
  275. package/components/heat-table-options.config-B12JEYnp.cjs +0 -20
  276. package/components/helpers-DXQwEH1P.cjs +0 -20
  277. package/components/helpers-v1bPALRP.js +0 -91
  278. package/components/hexbin-map-options.config-DZERRhM8.cjs +0 -20
  279. package/components/index-CDi4fe3N.js +0 -1716
  280. package/components/index-CQ9ck-BO.cjs +0 -249
  281. package/components/index-CXn67vdn.cjs +0 -121
  282. package/components/index-Cz9vSXy6.cjs +0 -20
  283. package/components/line-chart-options.config-DSugoe0t.cjs +0 -20
  284. package/components/pivot-table-options.config-BiJXKSFR.cjs +0 -20
  285. package/components/pyramid-chart-options.config-C4zbFS26.cjs +0 -20
  286. package/components/radar-chart-options.config-EqQu6PTh.cjs +0 -20
  287. package/components/route-map-options.config-D7NJePTu.cjs +0 -20
  288. package/components/scatter-plot-options.config-CFfGJXsV.cjs +0 -20
  289. package/components/slicer-filter-options.config-DNI-XevE.cjs +0 -20
  290. package/components/speedometer-chart-options.config-BX9LTQBH.cjs +0 -20
  291. package/components/spike-map-options.config-DoBFXPmN.cjs +0 -20
  292. package/components/symbol-map-options.config-m-lwLTtu.cjs +0 -20
  293. package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +0 -20
@@ -385,6 +385,46 @@
385
385
  "description": "When true, disables the entire component (sets opacity to 60% and prevents all interactions)",
386
386
  "attribute": "disabled",
387
387
  "reflects": true
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "singleLine",
392
+ "type": {
393
+ "text": "boolean"
394
+ },
395
+ "default": "false",
396
+ "description": "When true, starts in compact single-line mode and auto-expands as needed",
397
+ "attribute": "single-line"
398
+ },
399
+ {
400
+ "kind": "field",
401
+ "name": "hideDatasetButton",
402
+ "type": {
403
+ "text": "boolean"
404
+ },
405
+ "default": "false",
406
+ "description": "When true, hides the \"+ Add dataset\" button",
407
+ "attribute": "hide-dataset-button"
408
+ },
409
+ {
410
+ "kind": "field",
411
+ "name": "isGenerating",
412
+ "type": {
413
+ "text": "boolean"
414
+ },
415
+ "default": "false",
416
+ "description": "When true, shows a spinning loader icon instead of the submit arrow",
417
+ "attribute": "is-generating"
418
+ },
419
+ {
420
+ "kind": "field",
421
+ "name": "value",
422
+ "type": {
423
+ "text": "string"
424
+ },
425
+ "default": "''",
426
+ "description": "The current value of the textarea (controlled from parent)",
427
+ "attribute": "value"
388
428
  }
389
429
  ],
390
430
  "events": [
@@ -406,6 +446,42 @@
406
446
  "default": "false",
407
447
  "fieldName": "disabled"
408
448
  },
449
+ {
450
+ "type": {
451
+ "text": "boolean"
452
+ },
453
+ "description": "When true, starts in compact single-line mode and auto-expands as needed",
454
+ "name": "single-line",
455
+ "default": "false",
456
+ "fieldName": "singleLine"
457
+ },
458
+ {
459
+ "type": {
460
+ "text": "boolean"
461
+ },
462
+ "description": "When true, hides the \"+ Add dataset\" button",
463
+ "name": "hide-dataset-button",
464
+ "default": "false",
465
+ "fieldName": "hideDatasetButton"
466
+ },
467
+ {
468
+ "type": {
469
+ "text": "boolean"
470
+ },
471
+ "description": "When true, shows a spinning loader icon instead of the submit arrow",
472
+ "name": "is-generating",
473
+ "default": "false",
474
+ "fieldName": "isGenerating"
475
+ },
476
+ {
477
+ "type": {
478
+ "text": "string"
479
+ },
480
+ "description": "The current value of the textarea (controlled from parent)",
481
+ "name": "value",
482
+ "default": "''",
483
+ "fieldName": "value"
484
+ },
409
485
  {
410
486
  "name": "placeholder",
411
487
  "type": {
@@ -492,484 +568,598 @@
492
568
  },
493
569
  {
494
570
  "kind": "javascript-module",
495
- "path": "src/components/dataset-icon/dataset-icon.ts",
571
+ "path": "src/components/data-items-select/data-items-select.ts",
496
572
  "declarations": [
497
- {
498
- "kind": "variable",
499
- "name": "publicConnectors",
500
- "type": {
501
- "text": "[\n 'amazonathena',\n 'asana',\n 'bigquery',\n 'citybikes',\n 'clickhouse',\n 'demodataplugin',\n 'elasticsearch',\n 'exact',\n 'exactonline',\n 'exactonlinenl',\n 'google',\n 'googleanalytics',\n 'googleanalyticsv4',\n 'googledrive',\n 'hubspot',\n 'mailchimp',\n 'mariadb',\n 'mongodb',\n 'mysql',\n 'oracle',\n 'panoply',\n 'pipedrive',\n 'pipelinedb',\n 'postgresql',\n 'presto',\n 'redshift',\n 'salesforce',\n 'saphana',\n 'snowflake',\n 'sqlserver',\n 'stardog',\n 'synapse',\n 'teamleader',\n 'trino',\n 'typeform',\n 'zendesk'\n]"
502
- },
503
- "default": "[ 'amazonathena', 'asana', 'bigquery', 'citybikes', 'clickhouse', 'demodataplugin', 'elasticsearch', 'exact', 'exactonline', 'exactonlinenl', 'google', 'googleanalytics', 'googleanalyticsv4', 'googledrive', 'hubspot', 'mailchimp', 'mariadb', 'mongodb', 'mysql', 'oracle', 'panoply', 'pipedrive', 'pipelinedb', 'postgresql', 'presto', 'redshift', 'salesforce', 'saphana', 'snowflake', 'sqlserver', 'stardog', 'synapse', 'teamleader', 'trino', 'typeform', 'zendesk' ]",
504
- "description": "Public connectors list - these are well-known connectors that may have CSS-based icons\nThis list should match the one from"
505
- },
506
573
  {
507
574
  "kind": "class",
508
575
  "description": "",
509
- "name": "LuzmoDatasetIcon",
576
+ "name": "LuzmoDataItemsSelect",
510
577
  "members": [
511
578
  {
512
579
  "kind": "field",
513
- "name": "tagName",
580
+ "name": "language",
514
581
  "type": {
515
582
  "text": "string"
516
583
  },
517
- "static": true,
518
- "default": "'luzmo-dataset-icon'"
584
+ "default": "'en'",
585
+ "description": "The language of the settings interface",
586
+ "attribute": "language",
587
+ "reflects": true
519
588
  },
520
589
  {
521
590
  "kind": "field",
522
- "name": "datasetInfo",
591
+ "name": "contentLanguage",
523
592
  "type": {
524
- "text": "DatasetIcon | undefined"
593
+ "text": "string"
525
594
  },
526
- "description": "The dataset information containing subtype and thumbnail data",
527
- "attribute": "dataset"
595
+ "default": "'en'",
596
+ "description": "The language to use for locale-aware formatting and labels",
597
+ "attribute": "content-language",
598
+ "reflects": true
528
599
  },
529
600
  {
530
601
  "kind": "field",
531
- "name": "size",
602
+ "name": "label",
532
603
  "type": {
533
- "text": "'16px' | '24px' | '32px' | '48px' | '64px'"
604
+ "text": "string | undefined"
534
605
  },
535
- "default": "'32px'",
536
- "description": "The size of the icon",
537
- "attribute": "size",
606
+ "description": "The accessible label for the select (used for aria-label)",
607
+ "attribute": "label",
538
608
  "reflects": true
539
609
  },
540
610
  {
541
611
  "kind": "field",
542
- "name": "appUrl",
612
+ "name": "icons",
543
613
  "type": {
544
- "text": "string"
614
+ "text": "'none' | 'menu-only' | 'all' | undefined"
545
615
  },
546
- "default": "''",
547
- "description": "The base URL for the application (used for thumbnail URLs)",
548
- "attribute": "app-url"
549
- }
550
- ],
551
- "attributes": [
616
+ "default": "'menu-only'",
617
+ "description": "Where to show icons",
618
+ "attribute": "icons",
619
+ "reflects": true
620
+ },
552
621
  {
553
- "name": "dataset",
622
+ "kind": "field",
623
+ "name": "allowEmpty",
554
624
  "type": {
555
- "text": "DatasetIcon | undefined"
625
+ "text": "boolean"
556
626
  },
557
- "description": "The dataset information containing subtype and thumbnail data",
558
- "fieldName": "datasetInfo"
627
+ "default": "false",
628
+ "description": "Allow no selection. If true, the picker will not show a value when no item is selected. Else if no value is provided it will pick the first item.",
629
+ "attribute": "allow-empty",
630
+ "reflects": true
559
631
  },
560
632
  {
561
- "name": "size",
562
- "type": {
563
- "text": "'16px' | '24px' | '32px' | '48px' | '64px'"
564
- },
565
- "default": "'32px'",
566
- "description": "The size of the icon",
567
- "fieldName": "size"
633
+ "kind": "field",
634
+ "name": "placeholder",
635
+ "description": "The placeholder text for the picker is no value selected. If allowEmpty is true, this will be used as the label.",
636
+ "attribute": "placeholder",
637
+ "reflects": true
568
638
  },
569
639
  {
570
- "name": "app-url",
640
+ "kind": "field",
641
+ "name": "selects",
571
642
  "type": {
572
- "text": "string"
643
+ "text": "'single' | 'multiple'"
573
644
  },
574
- "default": "''",
575
- "description": "The base URL for the application (used for thumbnail URLs)",
576
- "fieldName": "appUrl"
577
- }
578
- ],
579
- "superclass": {
580
- "name": "LitElement",
581
- "package": "lit"
582
- },
583
- "tagName": "luzmo-dataset-icon",
584
- "customElement": true,
585
- "summary": "Displays an icon for a dataset based on its type, thumbnails, and connector"
586
- }
587
- ],
588
- "exports": [
589
- {
590
- "kind": "js",
591
- "name": "publicConnectors",
592
- "declaration": {
593
- "name": "publicConnectors",
594
- "module": "src/components/dataset-icon/dataset-icon.ts"
595
- }
596
- },
597
- {
598
- "kind": "js",
599
- "name": "LuzmoDatasetIcon",
600
- "declaration": {
601
- "name": "LuzmoDatasetIcon",
602
- "module": "src/components/dataset-icon/dataset-icon.ts"
603
- }
604
- }
605
- ]
606
- },
607
- {
608
- "kind": "javascript-module",
609
- "path": "src/components/dataset-selector-list/dataset-selector-list.ts",
610
- "declarations": [
611
- {
612
- "kind": "class",
613
- "description": "",
614
- "name": "LuzmoDatasetSelectorList",
615
- "cssProperties": [
616
- {
617
- "description": "Background color of the list",
618
- "name": "--dataset-selector-list-background"
645
+ "default": "'single'",
646
+ "description": "Whether the picker allows single or multiple selections.",
647
+ "attribute": "selects",
648
+ "reflects": true
619
649
  },
620
650
  {
621
- "description": "Padding of the list",
622
- "name": "--dataset-selector-list-padding"
651
+ "kind": "field",
652
+ "name": "dataItemIds",
653
+ "type": {
654
+ "text": "string[]"
655
+ },
656
+ "default": "[]",
657
+ "description": "The dataItemIds to display in the picker. If not provided, the first item will be displayed (when allowEmpty is false).",
658
+ "attribute": "data-item-ids",
659
+ "reflects": true
623
660
  },
624
661
  {
625
- "description": "Gap between elements",
626
- "name": "--dataset-selector-list-gap"
662
+ "kind": "field",
663
+ "name": "loading",
664
+ "type": {
665
+ "text": "boolean"
666
+ },
667
+ "default": "false",
668
+ "description": "Whether the picker is in loading state",
669
+ "attribute": "loading",
670
+ "reflects": true
627
671
  },
628
672
  {
629
- "description": "Border radius of the list",
630
- "name": "--dataset-selector-list-border-radius"
673
+ "kind": "field",
674
+ "name": "invalid",
675
+ "type": {
676
+ "text": "boolean"
677
+ },
678
+ "default": "false",
679
+ "description": "Whether the picker is invalid - eg. the dataItemId is not found in the datasetsDataItems or query failed to fetch data",
680
+ "attribute": "invalid",
681
+ "reflects": true
631
682
  },
632
683
  {
633
- "description": "Background color of the search input",
634
- "name": "--dataset-selector-list-input-background"
684
+ "kind": "field",
685
+ "name": "clearable",
686
+ "type": {
687
+ "text": "boolean"
688
+ },
689
+ "default": "false",
690
+ "description": "Whether the picker is clearable",
691
+ "attribute": "clearable",
692
+ "reflects": true
635
693
  },
636
694
  {
637
- "description": "Border color of the search input",
638
- "name": "--dataset-selector-list-input-border-color"
695
+ "kind": "field",
696
+ "name": "pending",
697
+ "type": {
698
+ "text": "boolean"
699
+ },
700
+ "default": "false",
701
+ "description": "Whether the picker is in pending state",
702
+ "attribute": "pending",
703
+ "reflects": true
639
704
  },
640
705
  {
641
- "description": "Text color of the search input",
642
- "name": "--dataset-selector-list-input-color"
706
+ "kind": "field",
707
+ "name": "disabled",
708
+ "type": {
709
+ "text": "boolean"
710
+ },
711
+ "default": "false",
712
+ "description": "Whether the picker is disabled",
713
+ "attribute": "disabled",
714
+ "reflects": true
643
715
  },
644
716
  {
645
- "description": "Padding of the search input",
646
- "name": "--dataset-selector-list-input-padding"
717
+ "kind": "field",
718
+ "name": "placement",
719
+ "type": {
720
+ "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
721
+ },
722
+ "default": "'bottom-start'",
723
+ "description": "The placement of the dropdown menu",
724
+ "attribute": "placement",
725
+ "reflects": true
647
726
  },
648
727
  {
649
- "description": "Padding of dataset items",
650
- "name": "--dataset-selector-list-item-padding"
728
+ "kind": "field",
729
+ "name": "datasetsDataItems",
730
+ "type": {
731
+ "text": "{\n id: string;\n name: { [key: string]: string };\n columns: DataItemExtended[];\n formulas: DataItemExtended[];\n }[]"
732
+ },
733
+ "default": "[]",
734
+ "description": "The datasets and their dataItems to display",
735
+ "attribute": "datasetsDataItems"
651
736
  },
652
737
  {
653
- "description": "Gap between item elements",
654
- "name": "--dataset-selector-list-item-gap"
655
- },
656
- {
657
- "description": "Hover background color of dataset items",
658
- "name": "--dataset-selector-list-item-hover-background"
659
- },
660
- {
661
- "description": "Width of the scrollbar",
662
- "name": "--dataset-selector-list-scrollbar-width"
663
- },
664
- {
665
- "description": "Background of scrollbar track",
666
- "name": "--dataset-selector-list-scrollbar-track-background"
667
- },
668
- {
669
- "description": "Background of scrollbar thumb",
670
- "name": "--dataset-selector-list-scrollbar-thumb-background"
671
- },
672
- {
673
- "description": "Hover background of scrollbar thumb",
674
- "name": "--dataset-selector-list-scrollbar-thumb-hover-background"
738
+ "kind": "method",
739
+ "name": "setDataItem",
740
+ "parameters": [
741
+ {
742
+ "name": "event",
743
+ "type": {
744
+ "text": "CustomEvent"
745
+ }
746
+ }
747
+ ]
675
748
  }
676
749
  ],
677
- "members": [
750
+ "events": [
678
751
  {
679
- "kind": "field",
680
- "name": "selectedDatasets",
681
- "description": "Set of dataset IDs that are already selected and should be filtered out",
752
+ "name": "data-items-selected",
682
753
  "type": {
683
- "text": "Set<string>"
684
- }
685
- },
754
+ "text": "CustomEvent"
755
+ },
756
+ "description": "Emitted when data items are selected. Event detail contains `{ dataItems: DataItemSelected[] }`"
757
+ }
758
+ ],
759
+ "attributes": [
686
760
  {
687
- "kind": "field",
688
- "name": "showSearch",
761
+ "name": "language",
689
762
  "type": {
690
- "text": "boolean"
763
+ "text": "string"
691
764
  },
692
- "default": "true",
693
- "description": "Whether to show the search input field",
694
- "attribute": "show-search"
765
+ "default": "'en'",
766
+ "description": "The language of the settings interface",
767
+ "fieldName": "language"
695
768
  },
696
769
  {
697
- "kind": "field",
698
- "name": "searchPlaceholder",
770
+ "name": "content-language",
699
771
  "type": {
700
772
  "text": "string"
701
773
  },
702
- "default": "'Search datasets...'",
703
- "description": "Placeholder text for the search input",
704
- "attribute": "search-placeholder"
774
+ "default": "'en'",
775
+ "description": "The language to use for locale-aware formatting and labels",
776
+ "fieldName": "contentLanguage"
705
777
  },
706
778
  {
707
- "kind": "field",
708
- "name": "noDatasetsMessage",
779
+ "name": "label",
709
780
  "type": {
710
- "text": "string"
781
+ "text": "string | undefined"
711
782
  },
712
- "default": "'No datasets found'",
713
- "description": "Message to show when no datasets are found",
714
- "attribute": "no-datasets-message"
783
+ "description": "The accessible label for the select (used for aria-label)",
784
+ "fieldName": "label"
715
785
  },
716
786
  {
717
- "kind": "field",
718
- "name": "authKey",
787
+ "name": "icons",
719
788
  "type": {
720
- "text": "string"
789
+ "text": "'none' | 'menu-only' | 'all' | undefined"
721
790
  },
722
- "default": "''",
723
- "description": "Auth key for DataBroker authentication",
724
- "attribute": "auth-key"
791
+ "default": "'menu-only'",
792
+ "description": "Where to show icons",
793
+ "fieldName": "icons"
725
794
  },
726
795
  {
727
- "kind": "field",
728
- "name": "authToken",
796
+ "name": "allow-empty",
729
797
  "type": {
730
- "text": "string"
798
+ "text": "boolean"
731
799
  },
732
- "default": "''",
733
- "description": "Auth token for DataBroker authentication",
734
- "attribute": "auth-token"
800
+ "default": "false",
801
+ "description": "Allow no selection. If true, the picker will not show a value when no item is selected. Else if no value is provided it will pick the first item.",
802
+ "fieldName": "allowEmpty"
735
803
  },
736
804
  {
737
- "kind": "field",
738
- "name": "apiUrl",
805
+ "name": "placeholder",
806
+ "description": "The placeholder text for the picker is no value selected. If allowEmpty is true, this will be used as the label.",
807
+ "fieldName": "placeholder"
808
+ },
809
+ {
810
+ "name": "selects",
739
811
  "type": {
740
- "text": "string"
812
+ "text": "'single' | 'multiple'"
741
813
  },
742
- "default": "'https://api.luzmo.com'",
743
- "description": "API URL for DataBroker",
744
- "attribute": "api-url"
814
+ "default": "'single'",
815
+ "description": "Whether the picker allows single or multiple selections.",
816
+ "fieldName": "selects"
745
817
  },
746
818
  {
747
- "kind": "field",
748
- "name": "appServer",
819
+ "name": "data-item-ids",
749
820
  "type": {
750
- "text": "string"
821
+ "text": "string[]"
751
822
  },
752
- "default": "'https://app.luzmo.com'",
753
- "description": "The URL of the app server for thumbnails and assets",
754
- "attribute": "app-server"
823
+ "default": "[]",
824
+ "description": "The dataItemIds to display in the picker. If not provided, the first item will be displayed (when allowEmpty is false).",
825
+ "fieldName": "dataItemIds"
755
826
  },
756
827
  {
757
- "kind": "field",
758
- "name": "flagOpendata",
828
+ "name": "loading",
759
829
  "type": {
760
830
  "text": "boolean"
761
831
  },
762
832
  "default": "false",
763
- "description": "When true, restricts results to public datasets (opendata parity)",
764
- "attribute": "flag-opendata"
765
- }
766
- ],
767
- "events": [
833
+ "description": "Whether the picker is in loading state",
834
+ "fieldName": "loading"
835
+ },
768
836
  {
769
- "name": "dataset-selected",
837
+ "name": "invalid",
770
838
  "type": {
771
- "text": "CustomEvent"
839
+ "text": "boolean"
772
840
  },
773
- "description": "Fired when a dataset is selected"
774
- }
775
- ],
776
- "attributes": [
841
+ "default": "false",
842
+ "description": "Whether the picker is invalid - eg. the dataItemId is not found in the datasetsDataItems or query failed to fetch data",
843
+ "fieldName": "invalid"
844
+ },
777
845
  {
778
- "name": "show-search",
846
+ "name": "clearable",
779
847
  "type": {
780
848
  "text": "boolean"
781
849
  },
782
- "default": "true",
783
- "description": "Whether to show the search input field",
784
- "fieldName": "showSearch"
850
+ "default": "false",
851
+ "description": "Whether the picker is clearable",
852
+ "fieldName": "clearable"
785
853
  },
786
854
  {
787
- "name": "search-placeholder",
855
+ "name": "pending",
788
856
  "type": {
789
- "text": "string"
857
+ "text": "boolean"
790
858
  },
791
- "default": "'Search datasets...'",
792
- "description": "Placeholder text for the search input",
793
- "fieldName": "searchPlaceholder"
859
+ "default": "false",
860
+ "description": "Whether the picker is in pending state",
861
+ "fieldName": "pending"
794
862
  },
795
863
  {
796
- "name": "no-datasets-message",
864
+ "name": "disabled",
797
865
  "type": {
798
- "text": "string"
866
+ "text": "boolean"
799
867
  },
800
- "default": "'No datasets found'",
801
- "description": "Message to show when no datasets are found",
802
- "fieldName": "noDatasetsMessage"
868
+ "default": "false",
869
+ "description": "Whether the picker is disabled",
870
+ "fieldName": "disabled"
803
871
  },
804
872
  {
805
- "name": "auth-key",
873
+ "name": "placement",
806
874
  "type": {
807
- "text": "string"
875
+ "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'left'\n | 'left-start'\n | 'left-end'"
808
876
  },
809
- "default": "''",
810
- "description": "Auth key for DataBroker authentication",
811
- "fieldName": "authKey"
877
+ "default": "'bottom-start'",
878
+ "description": "The placement of the dropdown menu",
879
+ "fieldName": "placement"
812
880
  },
813
881
  {
814
- "name": "auth-token",
882
+ "name": "datasetsDataItems",
815
883
  "type": {
816
- "text": "string"
884
+ "text": "{\n id: string;\n name: { [key: string]: string };\n columns: DataItemExtended[];\n formulas: DataItemExtended[];\n }[]"
817
885
  },
818
- "default": "''",
819
- "description": "Auth token for DataBroker authentication",
820
- "fieldName": "authToken"
886
+ "default": "[]",
887
+ "description": "The datasets and their dataItems to display",
888
+ "fieldName": "datasetsDataItems"
821
889
  },
822
890
  {
823
- "name": "api-url",
891
+ "name": "size",
824
892
  "type": {
825
- "text": "string"
893
+ "text": "'s' | 'm' | 'l' | 'xl'"
826
894
  },
827
- "default": "'https://api.luzmo.com'",
828
- "description": "API URL for DataBroker",
829
- "fieldName": "apiUrl"
895
+ "default": "m",
896
+ "description": "The size of the element",
897
+ "fieldName": "size"
830
898
  },
831
899
  {
832
- "name": "app-server",
900
+ "name": "disabled",
833
901
  "type": {
834
- "text": "string"
902
+ "text": "boolean"
835
903
  },
836
- "default": "'https://app.luzmo.com'",
837
- "description": "The URL of the app server for thumbnails and assets",
838
- "fieldName": "appServer"
904
+ "default": "false",
905
+ "description": "Disable this control. It will not receive focus or events",
906
+ "fieldName": "disabled"
839
907
  },
840
908
  {
841
- "name": "flag-opendata",
909
+ "name": "autofocus",
842
910
  "type": {
843
911
  "text": "boolean"
844
912
  },
845
913
  "default": "false",
846
- "description": "When true, restricts results to public datasets (opendata parity)",
847
- "fieldName": "flagOpendata"
914
+ "description": "When this control is rendered, focus it automatically",
915
+ "fieldName": "autofocus"
916
+ },
917
+ {
918
+ "name": "tabIndex",
919
+ "type": {
920
+ "text": "number"
921
+ },
922
+ "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
923
+ "fieldName": "tabIndex"
848
924
  }
849
925
  ],
850
- "superclass": {
851
- "name": "LitElement",
852
- "package": "lit"
853
- },
854
- "tagName": "luzmo-dataset-selector-list",
855
- "customElement": true,
856
- "summary": "A list component for selecting datasets with search and infinite scroll"
926
+ "tagName": "luzmo-data-items-select",
927
+ "customElement": true
857
928
  }
858
929
  ],
859
930
  "exports": [
860
931
  {
861
932
  "kind": "js",
862
- "name": "LuzmoDatasetSelectorList",
933
+ "name": "LuzmoDataItemsSelect",
863
934
  "declaration": {
864
- "name": "LuzmoDatasetSelectorList",
865
- "module": "src/components/dataset-selector-list/dataset-selector-list.ts"
935
+ "name": "LuzmoDataItemsSelect",
936
+ "module": "src/components/data-items-select/data-items-select.ts"
866
937
  }
867
938
  }
868
939
  ]
869
940
  },
870
941
  {
871
942
  "kind": "javascript-module",
872
- "path": "src/components/dataset-selector-row/dataset-selector-row.ts",
943
+ "path": "src/components/dataset-icon/dataset-icon.ts",
873
944
  "declarations": [
945
+ {
946
+ "kind": "variable",
947
+ "name": "publicConnectors",
948
+ "type": {
949
+ "text": "[\n 'amazonathena',\n 'asana',\n 'bigquery',\n 'citybikes',\n 'clickhouse',\n 'demodataplugin',\n 'elasticsearch',\n 'exact',\n 'exactonline',\n 'exactonlinenl',\n 'google',\n 'googleanalytics',\n 'googleanalyticsv4',\n 'googledrive',\n 'hubspot',\n 'mailchimp',\n 'mariadb',\n 'mongodb',\n 'mysql',\n 'oracle',\n 'panoply',\n 'pipedrive',\n 'pipelinedb',\n 'postgresql',\n 'presto',\n 'redshift',\n 'salesforce',\n 'saphana',\n 'snowflake',\n 'sqlserver',\n 'stardog',\n 'synapse',\n 'teamleader',\n 'trino',\n 'typeform',\n 'zendesk'\n]"
950
+ },
951
+ "default": "[ 'amazonathena', 'asana', 'bigquery', 'citybikes', 'clickhouse', 'demodataplugin', 'elasticsearch', 'exact', 'exactonline', 'exactonlinenl', 'google', 'googleanalytics', 'googleanalyticsv4', 'googledrive', 'hubspot', 'mailchimp', 'mariadb', 'mongodb', 'mysql', 'oracle', 'panoply', 'pipedrive', 'pipelinedb', 'postgresql', 'presto', 'redshift', 'salesforce', 'saphana', 'snowflake', 'sqlserver', 'stardog', 'synapse', 'teamleader', 'trino', 'typeform', 'zendesk' ]",
952
+ "description": "Public connectors list - these are well-known connectors that may have CSS-based icons\nThis list should match the one from"
953
+ },
874
954
  {
875
955
  "kind": "class",
876
956
  "description": "",
877
- "name": "LuzmoDatasetSelectorRow",
878
- "cssProperties": [
957
+ "name": "LuzmoDatasetIcon",
958
+ "members": [
879
959
  {
880
- "description": "Gap between elements",
881
- "name": "--dataset-selector-row-gap"
960
+ "kind": "field",
961
+ "name": "tagName",
962
+ "type": {
963
+ "text": "string"
964
+ },
965
+ "static": true,
966
+ "default": "'luzmo-dataset-icon'"
882
967
  },
883
968
  {
884
- "description": "Minimum height of the row",
885
- "name": "--dataset-selector-row-min-height"
969
+ "kind": "field",
970
+ "name": "datasetInfo",
971
+ "type": {
972
+ "text": "DatasetIcon | undefined"
973
+ },
974
+ "description": "The dataset information containing subtype and thumbnail data",
975
+ "attribute": "dataset"
886
976
  },
887
977
  {
888
- "description": "Font size of the row",
889
- "name": "--dataset-selector-row-font-size"
978
+ "kind": "field",
979
+ "name": "size",
980
+ "type": {
981
+ "text": "'16px' | '24px' | '32px' | '48px' | '64px'"
982
+ },
983
+ "default": "'32px'",
984
+ "description": "The size of the icon",
985
+ "attribute": "size",
986
+ "reflects": true
890
987
  },
891
988
  {
892
- "description": "Text color of the row",
893
- "name": "--dataset-selector-row-color"
989
+ "kind": "field",
990
+ "name": "appUrl",
991
+ "type": {
992
+ "text": "string"
993
+ },
994
+ "default": "''",
995
+ "description": "The base URL for the application (used for thumbnail URLs)",
996
+ "attribute": "app-url"
997
+ }
998
+ ],
999
+ "attributes": [
1000
+ {
1001
+ "name": "dataset",
1002
+ "type": {
1003
+ "text": "DatasetIcon | undefined"
1004
+ },
1005
+ "description": "The dataset information containing subtype and thumbnail data",
1006
+ "fieldName": "datasetInfo"
894
1007
  },
895
1008
  {
896
- "description": "Background color of the add button",
897
- "name": "--dataset-selector-row-button-background"
1009
+ "name": "size",
1010
+ "type": {
1011
+ "text": "'16px' | '24px' | '32px' | '48px' | '64px'"
1012
+ },
1013
+ "default": "'32px'",
1014
+ "description": "The size of the icon",
1015
+ "fieldName": "size"
898
1016
  },
899
1017
  {
900
- "description": "Border color of the add button",
901
- "name": "--dataset-selector-row-button-border-color"
1018
+ "name": "app-url",
1019
+ "type": {
1020
+ "text": "string"
1021
+ },
1022
+ "default": "''",
1023
+ "description": "The base URL for the application (used for thumbnail URLs)",
1024
+ "fieldName": "appUrl"
1025
+ }
1026
+ ],
1027
+ "superclass": {
1028
+ "name": "LitElement",
1029
+ "package": "lit"
1030
+ },
1031
+ "tagName": "luzmo-dataset-icon",
1032
+ "customElement": true,
1033
+ "summary": "Displays an icon for a dataset based on its type, thumbnails, and connector"
1034
+ }
1035
+ ],
1036
+ "exports": [
1037
+ {
1038
+ "kind": "js",
1039
+ "name": "publicConnectors",
1040
+ "declaration": {
1041
+ "name": "publicConnectors",
1042
+ "module": "src/components/dataset-icon/dataset-icon.ts"
1043
+ }
1044
+ },
1045
+ {
1046
+ "kind": "js",
1047
+ "name": "LuzmoDatasetIcon",
1048
+ "declaration": {
1049
+ "name": "LuzmoDatasetIcon",
1050
+ "module": "src/components/dataset-icon/dataset-icon.ts"
1051
+ }
1052
+ }
1053
+ ]
1054
+ },
1055
+ {
1056
+ "kind": "javascript-module",
1057
+ "path": "src/components/dataset-selector-list/dataset-selector-list.ts",
1058
+ "declarations": [
1059
+ {
1060
+ "kind": "class",
1061
+ "description": "",
1062
+ "name": "LuzmoDatasetSelectorList",
1063
+ "cssProperties": [
1064
+ {
1065
+ "description": "Background color of the list",
1066
+ "name": "--dataset-selector-list-background"
902
1067
  },
903
1068
  {
904
- "description": "Text color of the add button",
905
- "name": "--dataset-selector-row-button-color"
1069
+ "description": "Padding of the list",
1070
+ "name": "--dataset-selector-list-padding"
906
1071
  },
907
1072
  {
908
- "description": "Padding of the add button",
909
- "name": "--dataset-selector-row-button-padding"
1073
+ "description": "Gap between elements",
1074
+ "name": "--dataset-selector-list-gap"
910
1075
  },
911
1076
  {
912
- "description": "Border radius of the add button",
913
- "name": "--dataset-selector-row-button-border-radius"
1077
+ "description": "Border radius of the list",
1078
+ "name": "--dataset-selector-list-border-radius"
914
1079
  },
915
1080
  {
916
- "description": "Background color of dataset pills",
917
- "name": "--dataset-selector-row-pill-background"
1081
+ "description": "Background color of the search input",
1082
+ "name": "--dataset-selector-list-input-background"
918
1083
  },
919
1084
  {
920
- "description": "Border color of dataset pills",
921
- "name": "--dataset-selector-row-pill-border-color"
1085
+ "description": "Border color of the search input",
1086
+ "name": "--dataset-selector-list-input-border-color"
922
1087
  },
923
1088
  {
924
- "description": "Padding of dataset pills",
925
- "name": "--dataset-selector-row-pill-padding"
1089
+ "description": "Text color of the search input",
1090
+ "name": "--dataset-selector-list-input-color"
926
1091
  },
927
1092
  {
928
- "description": "Border radius of dataset pills",
929
- "name": "--dataset-selector-row-pill-border-radius"
1093
+ "description": "Padding of the search input",
1094
+ "name": "--dataset-selector-list-input-padding"
930
1095
  },
931
1096
  {
932
- "description": "Maximum width of dataset pills",
933
- "name": "--dataset-selector-row-pill-max-width"
1097
+ "description": "Padding of dataset items",
1098
+ "name": "--dataset-selector-list-item-padding"
934
1099
  },
935
1100
  {
936
- "description": "Gap between pill elements",
937
- "name": "--dataset-selector-row-pill-gap"
1101
+ "description": "Gap between item elements",
1102
+ "name": "--dataset-selector-list-item-gap"
938
1103
  },
939
1104
  {
940
- "description": "Color of the close icon in pills",
941
- "name": "--dataset-selector-row-pill-close-color"
1105
+ "description": "Hover background color of dataset items",
1106
+ "name": "--dataset-selector-list-item-hover-background"
1107
+ },
1108
+ {
1109
+ "description": "Width of the scrollbar",
1110
+ "name": "--dataset-selector-list-scrollbar-width"
1111
+ },
1112
+ {
1113
+ "description": "Background of scrollbar track",
1114
+ "name": "--dataset-selector-list-scrollbar-track-background"
1115
+ },
1116
+ {
1117
+ "description": "Background of scrollbar thumb",
1118
+ "name": "--dataset-selector-list-scrollbar-thumb-background"
1119
+ },
1120
+ {
1121
+ "description": "Hover background of scrollbar thumb",
1122
+ "name": "--dataset-selector-list-scrollbar-thumb-hover-background"
942
1123
  }
943
1124
  ],
944
1125
  "members": [
945
1126
  {
946
1127
  "kind": "field",
947
- "name": "tagName",
1128
+ "name": "selectedDatasets",
1129
+ "description": "Set of dataset IDs that are already selected and should be filtered out",
948
1130
  "type": {
949
- "text": "string"
1131
+ "text": "Set<string>"
1132
+ }
1133
+ },
1134
+ {
1135
+ "kind": "field",
1136
+ "name": "showSearch",
1137
+ "type": {
1138
+ "text": "boolean"
950
1139
  },
951
- "static": true,
952
- "default": "'luzmo-dataset-selector-row'"
1140
+ "default": "true",
1141
+ "description": "Whether to show the search input field",
1142
+ "attribute": "show-search"
953
1143
  },
954
1144
  {
955
1145
  "kind": "field",
956
- "name": "selectedDatasets",
1146
+ "name": "searchPlaceholder",
957
1147
  "type": {
958
- "text": "Dataset[]"
1148
+ "text": "string"
959
1149
  },
960
- "default": "[]",
961
- "description": "Array of selected datasets",
962
- "attribute": "selectedDatasets"
1150
+ "default": "'Search datasets...'",
1151
+ "description": "Placeholder text for the search input",
1152
+ "attribute": "search-placeholder"
963
1153
  },
964
1154
  {
965
1155
  "kind": "field",
966
- "name": "buttonLabel",
1156
+ "name": "noDatasetsMessage",
967
1157
  "type": {
968
1158
  "text": "string"
969
1159
  },
970
- "default": "'Add dataset'",
971
- "description": "Label for the add dataset button",
972
- "attribute": "button-label"
1160
+ "default": "'No datasets found'",
1161
+ "description": "Message to show when no datasets are found",
1162
+ "attribute": "no-datasets-message"
973
1163
  },
974
1164
  {
975
1165
  "kind": "field",
@@ -1020,17 +1210,6 @@
1020
1210
  "default": "false",
1021
1211
  "description": "When true, restricts results to public datasets (opendata parity)",
1022
1212
  "attribute": "flag-opendata"
1023
- },
1024
- {
1025
- "kind": "field",
1026
- "name": "disabled",
1027
- "type": {
1028
- "text": "boolean"
1029
- },
1030
- "default": "false",
1031
- "description": "When true, disables all interactions with the component",
1032
- "attribute": "disabled",
1033
- "reflects": true
1034
1213
  }
1035
1214
  ],
1036
1215
  "events": [
@@ -1040,42 +1219,35 @@
1040
1219
  "text": "CustomEvent"
1041
1220
  },
1042
1221
  "description": "Fired when a dataset is selected"
1043
- },
1044
- {
1045
- "name": "dataset-removed",
1046
- "type": {
1047
- "text": "CustomEvent"
1048
- },
1049
- "description": "Fired when a dataset is removed"
1050
1222
  }
1051
1223
  ],
1052
1224
  "attributes": [
1053
1225
  {
1226
+ "name": "show-search",
1054
1227
  "type": {
1055
1228
  "text": "boolean"
1056
1229
  },
1057
- "description": "When true, disables all interactions with the component",
1058
- "name": "disabled",
1059
- "default": "false",
1060
- "fieldName": "disabled"
1230
+ "default": "true",
1231
+ "description": "Whether to show the search input field",
1232
+ "fieldName": "showSearch"
1061
1233
  },
1062
1234
  {
1063
- "name": "selectedDatasets",
1235
+ "name": "search-placeholder",
1064
1236
  "type": {
1065
- "text": "Dataset[]"
1237
+ "text": "string"
1066
1238
  },
1067
- "default": "[]",
1068
- "description": "Array of selected datasets",
1069
- "fieldName": "selectedDatasets"
1239
+ "default": "'Search datasets...'",
1240
+ "description": "Placeholder text for the search input",
1241
+ "fieldName": "searchPlaceholder"
1070
1242
  },
1071
1243
  {
1072
- "name": "button-label",
1244
+ "name": "no-datasets-message",
1073
1245
  "type": {
1074
1246
  "text": "string"
1075
1247
  },
1076
- "default": "'Add dataset'",
1077
- "description": "Label for the add dataset button",
1078
- "fieldName": "buttonLabel"
1248
+ "default": "'No datasets found'",
1249
+ "description": "Message to show when no datasets are found",
1250
+ "fieldName": "noDatasetsMessage"
1079
1251
  },
1080
1252
  {
1081
1253
  "name": "auth-key",
@@ -1127,253 +1299,529 @@
1127
1299
  "name": "LitElement",
1128
1300
  "package": "lit"
1129
1301
  },
1130
- "tagName": "luzmo-dataset-selector-row",
1302
+ "tagName": "luzmo-dataset-selector-list",
1131
1303
  "customElement": true,
1132
- "summary": "A row component for selecting and managing datasets with pills and overlay"
1304
+ "summary": "A list component for selecting datasets with search and infinite scroll"
1133
1305
  }
1134
1306
  ],
1135
1307
  "exports": [
1136
1308
  {
1137
1309
  "kind": "js",
1138
- "name": "LuzmoDatasetSelectorRow",
1310
+ "name": "LuzmoDatasetSelectorList",
1139
1311
  "declaration": {
1140
- "name": "LuzmoDatasetSelectorRow",
1141
- "module": "src/components/dataset-selector-row/dataset-selector-row.ts"
1312
+ "name": "LuzmoDatasetSelectorList",
1313
+ "module": "src/components/dataset-selector-list/dataset-selector-list.ts"
1142
1314
  }
1143
1315
  }
1144
1316
  ]
1145
1317
  },
1146
1318
  {
1147
1319
  "kind": "javascript-module",
1148
- "path": "src/components/display-settings/display-settings.ts",
1320
+ "path": "src/components/dataset-selector-row/dataset-selector-row.ts",
1149
1321
  "declarations": [
1150
1322
  {
1151
1323
  "kind": "class",
1152
1324
  "description": "",
1153
- "name": "LuzmoDisplaySettings",
1154
- "members": [
1325
+ "name": "LuzmoDatasetSelectorRow",
1326
+ "cssProperties": [
1155
1327
  {
1156
- "kind": "field",
1157
- "name": "language",
1158
- "type": {
1159
- "text": "string"
1160
- },
1161
- "default": "'en'",
1162
- "description": "The language of the settings interface",
1163
- "attribute": "language"
1328
+ "description": "Gap between elements",
1329
+ "name": "--dataset-selector-row-gap"
1164
1330
  },
1165
1331
  {
1166
- "kind": "field",
1167
- "name": "contentLanguage",
1168
- "type": {
1169
- "text": "string"
1170
- },
1171
- "default": "'en'",
1172
- "description": "The language to use for locale-aware formatting and labels",
1173
- "attribute": "content-language"
1332
+ "description": "Minimum height of the row",
1333
+ "name": "--dataset-selector-row-min-height"
1174
1334
  },
1175
1335
  {
1176
- "kind": "field",
1177
- "name": "hideDisplaySettings",
1178
- "type": {
1179
- "text": "boolean | undefined"
1180
- },
1181
- "description": "Whether or not to show the displaySettings. Is used to hide display Settings in cases where there are multiple columns",
1182
- "attribute": "hide-display-settings"
1336
+ "description": "Font size of the row",
1337
+ "name": "--dataset-selector-row-font-size"
1183
1338
  },
1184
1339
  {
1185
- "kind": "field",
1186
- "name": "isBinningDisabled",
1187
- "type": {
1188
- "text": "boolean | undefined"
1189
- },
1190
- "description": "Whether or not to show the binning in numeric",
1191
- "attribute": "isBinningDisabled"
1340
+ "description": "Text color of the row",
1341
+ "name": "--dataset-selector-row-color"
1342
+ },
1343
+ {
1344
+ "description": "Background color of the add button",
1345
+ "name": "--dataset-selector-row-button-background"
1346
+ },
1347
+ {
1348
+ "description": "Border color of the add button",
1349
+ "name": "--dataset-selector-row-button-border-color"
1350
+ },
1351
+ {
1352
+ "description": "Text color of the add button",
1353
+ "name": "--dataset-selector-row-button-color"
1354
+ },
1355
+ {
1356
+ "description": "Padding of the add button",
1357
+ "name": "--dataset-selector-row-button-padding"
1358
+ },
1359
+ {
1360
+ "description": "Border radius of the add button",
1361
+ "name": "--dataset-selector-row-button-border-radius"
1362
+ },
1363
+ {
1364
+ "description": "Background color of dataset pills",
1365
+ "name": "--dataset-selector-row-pill-background"
1366
+ },
1367
+ {
1368
+ "description": "Border color of dataset pills",
1369
+ "name": "--dataset-selector-row-pill-border-color"
1370
+ },
1371
+ {
1372
+ "description": "Padding of dataset pills",
1373
+ "name": "--dataset-selector-row-pill-padding"
1374
+ },
1375
+ {
1376
+ "description": "Border radius of dataset pills",
1377
+ "name": "--dataset-selector-row-pill-border-radius"
1378
+ },
1379
+ {
1380
+ "description": "Maximum width of dataset pills",
1381
+ "name": "--dataset-selector-row-pill-max-width"
1192
1382
  },
1383
+ {
1384
+ "description": "Gap between pill elements",
1385
+ "name": "--dataset-selector-row-pill-gap"
1386
+ },
1387
+ {
1388
+ "description": "Color of the close icon in pills",
1389
+ "name": "--dataset-selector-row-pill-close-color"
1390
+ }
1391
+ ],
1392
+ "members": [
1193
1393
  {
1194
1394
  "kind": "field",
1195
- "name": "areDatetimeOptionsEnabled",
1395
+ "name": "tagName",
1196
1396
  "type": {
1197
- "text": "boolean | undefined"
1397
+ "text": "string"
1198
1398
  },
1199
- "description": "Whether or not to show the datetime options",
1200
- "attribute": "areDatetimeOptionsEnabled"
1399
+ "static": true,
1400
+ "default": "'luzmo-dataset-selector-row'"
1201
1401
  },
1202
1402
  {
1203
1403
  "kind": "field",
1204
- "name": "areGrandTotalsEnabled",
1404
+ "name": "selectedDatasets",
1205
1405
  "type": {
1206
- "text": "boolean | undefined"
1406
+ "text": "Dataset[]"
1207
1407
  },
1208
- "description": "Whether or not to show the grand totals",
1209
- "attribute": "areGrandTotalsEnabled"
1408
+ "default": "[]",
1409
+ "description": "Array of selected datasets",
1410
+ "attribute": "selectedDatasets"
1210
1411
  },
1211
1412
  {
1212
1413
  "kind": "field",
1213
- "name": "isAggregationDisabled",
1414
+ "name": "buttonLabel",
1214
1415
  "type": {
1215
- "text": "boolean | undefined"
1416
+ "text": "string"
1216
1417
  },
1217
- "description": "Whether or not to show the aggregation options",
1218
- "attribute": "isAggregationDisabled"
1418
+ "default": "'Add dataset'",
1419
+ "description": "Label for the add dataset button",
1420
+ "attribute": "button-label"
1219
1421
  },
1220
1422
  {
1221
1423
  "kind": "field",
1222
- "name": "isCumulativeSumEnabled",
1424
+ "name": "authKey",
1223
1425
  "type": {
1224
- "text": "boolean | undefined"
1426
+ "text": "string"
1225
1427
  },
1226
- "description": "Whether or not to show the cumulative sum options",
1227
- "attribute": "isCumulativeSumEnabled"
1428
+ "default": "''",
1429
+ "description": "Auth key for DataBroker authentication",
1430
+ "attribute": "auth-key"
1228
1431
  },
1229
1432
  {
1230
1433
  "kind": "field",
1231
- "name": "periodOverPeriodUiType",
1434
+ "name": "authToken",
1232
1435
  "type": {
1233
- "text": "PeriodOverPeriodCondition | null | undefined"
1436
+ "text": "string"
1234
1437
  },
1235
- "description": "Whether or not to show the period-over-period in numeric",
1236
- "attribute": "periodOverPeriodUiType"
1438
+ "default": "''",
1439
+ "description": "Auth token for DataBroker authentication",
1440
+ "attribute": "auth-token"
1237
1441
  },
1238
1442
  {
1239
1443
  "kind": "field",
1240
- "name": "showRemoveButton",
1444
+ "name": "apiUrl",
1241
1445
  "type": {
1242
- "text": "boolean | undefined"
1446
+ "text": "string"
1243
1447
  },
1244
- "description": "Whether or not to show the trash button next to the label",
1245
- "attribute": "show-remove-button"
1448
+ "default": "'https://api.luzmo.com'",
1449
+ "description": "API URL for DataBroker",
1450
+ "attribute": "api-url"
1246
1451
  },
1247
1452
  {
1248
1453
  "kind": "field",
1249
- "name": "slotType",
1454
+ "name": "appServer",
1250
1455
  "type": {
1251
- "text": "string | undefined"
1456
+ "text": "string"
1252
1457
  },
1253
- "default": "'numeric'",
1254
- "description": "The slot type",
1255
- "attribute": "slot-type"
1458
+ "default": "'https://app.luzmo.com'",
1459
+ "description": "The URL of the app server for thumbnails and assets",
1460
+ "attribute": "app-server"
1256
1461
  },
1257
1462
  {
1258
1463
  "kind": "field",
1259
- "name": "slotContent",
1464
+ "name": "flagOpendata",
1260
1465
  "type": {
1261
- "text": "GenericSlotContent"
1466
+ "text": "boolean"
1262
1467
  },
1263
- "default": "{}",
1264
- "attribute": "slotContent"
1468
+ "default": "false",
1469
+ "description": "When true, restricts results to public datasets (opendata parity)",
1470
+ "attribute": "flag-opendata"
1265
1471
  },
1266
1472
  {
1267
1473
  "kind": "field",
1268
- "name": "measureColumns",
1474
+ "name": "disabled",
1269
1475
  "type": {
1270
- "text": "MeasureColumnsItem[]"
1476
+ "text": "boolean"
1271
1477
  },
1272
- "default": "[]",
1273
- "description": "The list of columns that can be used for the rate aggregation",
1274
- "attribute": "measureColumns"
1478
+ "default": "false",
1479
+ "description": "When true, disables all interactions with the component",
1480
+ "attribute": "disabled",
1481
+ "reflects": true
1275
1482
  }
1276
1483
  ],
1277
1484
  "events": [
1278
1485
  {
1279
- "name": "slot-content-changed",
1486
+ "name": "dataset-selected",
1280
1487
  "type": {
1281
1488
  "text": "CustomEvent"
1282
1489
  },
1283
- "description": "Event that is fired when the slot content is changed"
1490
+ "description": "Fired when a dataset is selected"
1284
1491
  },
1285
1492
  {
1286
- "name": "remove-slot-content",
1493
+ "name": "dataset-removed",
1287
1494
  "type": {
1288
1495
  "text": "CustomEvent"
1289
- }
1496
+ },
1497
+ "description": "Fired when a dataset is removed"
1290
1498
  }
1291
1499
  ],
1292
1500
  "attributes": [
1293
1501
  {
1294
- "name": "language",
1295
- "type": {
1296
- "text": "string"
1297
- },
1298
- "default": "'en'",
1299
- "description": "The language of the settings interface",
1300
- "fieldName": "language"
1301
- },
1302
- {
1303
- "name": "content-language",
1304
- "type": {
1305
- "text": "string"
1306
- },
1307
- "default": "'en'",
1308
- "description": "The language to use for locale-aware formatting and labels",
1309
- "fieldName": "contentLanguage"
1310
- },
1311
- {
1312
- "name": "hide-display-settings",
1313
1502
  "type": {
1314
- "text": "boolean | undefined"
1503
+ "text": "boolean"
1315
1504
  },
1316
- "description": "Whether or not to show the displaySettings. Is used to hide display Settings in cases where there are multiple columns",
1317
- "fieldName": "hideDisplaySettings"
1505
+ "description": "When true, disables all interactions with the component",
1506
+ "name": "disabled",
1507
+ "default": "false",
1508
+ "fieldName": "disabled"
1318
1509
  },
1319
1510
  {
1320
- "name": "isBinningDisabled",
1511
+ "name": "selectedDatasets",
1321
1512
  "type": {
1322
- "text": "boolean | undefined"
1513
+ "text": "Dataset[]"
1323
1514
  },
1324
- "description": "Whether or not to show the binning in numeric",
1325
- "fieldName": "isBinningDisabled"
1515
+ "default": "[]",
1516
+ "description": "Array of selected datasets",
1517
+ "fieldName": "selectedDatasets"
1326
1518
  },
1327
1519
  {
1328
- "name": "areDatetimeOptionsEnabled",
1520
+ "name": "button-label",
1329
1521
  "type": {
1330
- "text": "boolean | undefined"
1522
+ "text": "string"
1331
1523
  },
1332
- "description": "Whether or not to show the datetime options",
1333
- "fieldName": "areDatetimeOptionsEnabled"
1524
+ "default": "'Add dataset'",
1525
+ "description": "Label for the add dataset button",
1526
+ "fieldName": "buttonLabel"
1334
1527
  },
1335
1528
  {
1336
- "name": "areGrandTotalsEnabled",
1529
+ "name": "auth-key",
1337
1530
  "type": {
1338
- "text": "boolean | undefined"
1531
+ "text": "string"
1339
1532
  },
1340
- "description": "Whether or not to show the grand totals",
1341
- "fieldName": "areGrandTotalsEnabled"
1533
+ "default": "''",
1534
+ "description": "Auth key for DataBroker authentication",
1535
+ "fieldName": "authKey"
1342
1536
  },
1343
1537
  {
1344
- "name": "isAggregationDisabled",
1538
+ "name": "auth-token",
1345
1539
  "type": {
1346
- "text": "boolean | undefined"
1540
+ "text": "string"
1347
1541
  },
1348
- "description": "Whether or not to show the aggregation options",
1349
- "fieldName": "isAggregationDisabled"
1542
+ "default": "''",
1543
+ "description": "Auth token for DataBroker authentication",
1544
+ "fieldName": "authToken"
1350
1545
  },
1351
1546
  {
1352
- "name": "isCumulativeSumEnabled",
1547
+ "name": "api-url",
1353
1548
  "type": {
1354
- "text": "boolean | undefined"
1549
+ "text": "string"
1355
1550
  },
1356
- "description": "Whether or not to show the cumulative sum options",
1357
- "fieldName": "isCumulativeSumEnabled"
1551
+ "default": "'https://api.luzmo.com'",
1552
+ "description": "API URL for DataBroker",
1553
+ "fieldName": "apiUrl"
1358
1554
  },
1359
1555
  {
1360
- "name": "periodOverPeriodUiType",
1556
+ "name": "app-server",
1361
1557
  "type": {
1362
- "text": "PeriodOverPeriodCondition | null | undefined"
1558
+ "text": "string"
1363
1559
  },
1364
- "description": "Whether or not to show the period-over-period in numeric",
1365
- "fieldName": "periodOverPeriodUiType"
1560
+ "default": "'https://app.luzmo.com'",
1561
+ "description": "The URL of the app server for thumbnails and assets",
1562
+ "fieldName": "appServer"
1366
1563
  },
1367
1564
  {
1368
- "name": "show-remove-button",
1565
+ "name": "flag-opendata",
1369
1566
  "type": {
1370
- "text": "boolean | undefined"
1567
+ "text": "boolean"
1371
1568
  },
1372
- "description": "Whether or not to show the trash button next to the label",
1373
- "fieldName": "showRemoveButton"
1374
- },
1375
- {
1376
- "name": "slot-type",
1569
+ "default": "false",
1570
+ "description": "When true, restricts results to public datasets (opendata parity)",
1571
+ "fieldName": "flagOpendata"
1572
+ }
1573
+ ],
1574
+ "superclass": {
1575
+ "name": "LitElement",
1576
+ "package": "lit"
1577
+ },
1578
+ "tagName": "luzmo-dataset-selector-row",
1579
+ "customElement": true,
1580
+ "summary": "A row component for selecting and managing datasets with pills and overlay"
1581
+ }
1582
+ ],
1583
+ "exports": [
1584
+ {
1585
+ "kind": "js",
1586
+ "name": "LuzmoDatasetSelectorRow",
1587
+ "declaration": {
1588
+ "name": "LuzmoDatasetSelectorRow",
1589
+ "module": "src/components/dataset-selector-row/dataset-selector-row.ts"
1590
+ }
1591
+ }
1592
+ ]
1593
+ },
1594
+ {
1595
+ "kind": "javascript-module",
1596
+ "path": "src/components/display-settings/display-settings.ts",
1597
+ "declarations": [
1598
+ {
1599
+ "kind": "class",
1600
+ "description": "",
1601
+ "name": "LuzmoDisplaySettings",
1602
+ "members": [
1603
+ {
1604
+ "kind": "field",
1605
+ "name": "language",
1606
+ "type": {
1607
+ "text": "string"
1608
+ },
1609
+ "default": "'en'",
1610
+ "description": "The language of the settings interface",
1611
+ "attribute": "language"
1612
+ },
1613
+ {
1614
+ "kind": "field",
1615
+ "name": "contentLanguage",
1616
+ "type": {
1617
+ "text": "string"
1618
+ },
1619
+ "default": "'en'",
1620
+ "description": "The language to use for locale-aware formatting and labels",
1621
+ "attribute": "content-language"
1622
+ },
1623
+ {
1624
+ "kind": "field",
1625
+ "name": "hideDisplaySettings",
1626
+ "type": {
1627
+ "text": "boolean | undefined"
1628
+ },
1629
+ "description": "Whether or not to show the displaySettings. Is used to hide display Settings in cases where there are multiple columns",
1630
+ "attribute": "hide-display-settings"
1631
+ },
1632
+ {
1633
+ "kind": "field",
1634
+ "name": "isBinningDisabled",
1635
+ "type": {
1636
+ "text": "boolean | undefined"
1637
+ },
1638
+ "description": "Whether or not to show the binning in numeric",
1639
+ "attribute": "isBinningDisabled"
1640
+ },
1641
+ {
1642
+ "kind": "field",
1643
+ "name": "areDatetimeOptionsEnabled",
1644
+ "type": {
1645
+ "text": "boolean | undefined"
1646
+ },
1647
+ "description": "Whether or not to show the datetime options",
1648
+ "attribute": "areDatetimeOptionsEnabled"
1649
+ },
1650
+ {
1651
+ "kind": "field",
1652
+ "name": "areGrandTotalsEnabled",
1653
+ "type": {
1654
+ "text": "boolean | undefined"
1655
+ },
1656
+ "description": "Whether or not to show the grand totals",
1657
+ "attribute": "areGrandTotalsEnabled"
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "isAggregationDisabled",
1662
+ "type": {
1663
+ "text": "boolean | undefined"
1664
+ },
1665
+ "description": "Whether or not to show the aggregation options",
1666
+ "attribute": "isAggregationDisabled"
1667
+ },
1668
+ {
1669
+ "kind": "field",
1670
+ "name": "isCumulativeSumEnabled",
1671
+ "type": {
1672
+ "text": "boolean | undefined"
1673
+ },
1674
+ "description": "Whether or not to show the cumulative sum options",
1675
+ "attribute": "isCumulativeSumEnabled"
1676
+ },
1677
+ {
1678
+ "kind": "field",
1679
+ "name": "periodOverPeriodUiType",
1680
+ "type": {
1681
+ "text": "PeriodOverPeriodCondition | null | undefined"
1682
+ },
1683
+ "description": "Whether or not to show the period-over-period in numeric",
1684
+ "attribute": "periodOverPeriodUiType"
1685
+ },
1686
+ {
1687
+ "kind": "field",
1688
+ "name": "showRemoveButton",
1689
+ "type": {
1690
+ "text": "boolean | undefined"
1691
+ },
1692
+ "description": "Whether or not to show the trash button next to the label",
1693
+ "attribute": "show-remove-button"
1694
+ },
1695
+ {
1696
+ "kind": "field",
1697
+ "name": "slotType",
1698
+ "type": {
1699
+ "text": "string | undefined"
1700
+ },
1701
+ "default": "'numeric'",
1702
+ "description": "The slot type",
1703
+ "attribute": "slot-type"
1704
+ },
1705
+ {
1706
+ "kind": "field",
1707
+ "name": "slotContent",
1708
+ "type": {
1709
+ "text": "GenericSlotContent"
1710
+ },
1711
+ "default": "{}",
1712
+ "attribute": "slotContent"
1713
+ },
1714
+ {
1715
+ "kind": "field",
1716
+ "name": "measureColumns",
1717
+ "type": {
1718
+ "text": "MeasureColumnsItem[]"
1719
+ },
1720
+ "default": "[]",
1721
+ "description": "The list of columns that can be used for the rate aggregation",
1722
+ "attribute": "measureColumns"
1723
+ }
1724
+ ],
1725
+ "events": [
1726
+ {
1727
+ "name": "slot-content-changed",
1728
+ "type": {
1729
+ "text": "CustomEvent"
1730
+ },
1731
+ "description": "Event that is fired when the slot content is changed"
1732
+ },
1733
+ {
1734
+ "name": "remove-slot-content",
1735
+ "type": {
1736
+ "text": "CustomEvent"
1737
+ }
1738
+ }
1739
+ ],
1740
+ "attributes": [
1741
+ {
1742
+ "name": "language",
1743
+ "type": {
1744
+ "text": "string"
1745
+ },
1746
+ "default": "'en'",
1747
+ "description": "The language of the settings interface",
1748
+ "fieldName": "language"
1749
+ },
1750
+ {
1751
+ "name": "content-language",
1752
+ "type": {
1753
+ "text": "string"
1754
+ },
1755
+ "default": "'en'",
1756
+ "description": "The language to use for locale-aware formatting and labels",
1757
+ "fieldName": "contentLanguage"
1758
+ },
1759
+ {
1760
+ "name": "hide-display-settings",
1761
+ "type": {
1762
+ "text": "boolean | undefined"
1763
+ },
1764
+ "description": "Whether or not to show the displaySettings. Is used to hide display Settings in cases where there are multiple columns",
1765
+ "fieldName": "hideDisplaySettings"
1766
+ },
1767
+ {
1768
+ "name": "isBinningDisabled",
1769
+ "type": {
1770
+ "text": "boolean | undefined"
1771
+ },
1772
+ "description": "Whether or not to show the binning in numeric",
1773
+ "fieldName": "isBinningDisabled"
1774
+ },
1775
+ {
1776
+ "name": "areDatetimeOptionsEnabled",
1777
+ "type": {
1778
+ "text": "boolean | undefined"
1779
+ },
1780
+ "description": "Whether or not to show the datetime options",
1781
+ "fieldName": "areDatetimeOptionsEnabled"
1782
+ },
1783
+ {
1784
+ "name": "areGrandTotalsEnabled",
1785
+ "type": {
1786
+ "text": "boolean | undefined"
1787
+ },
1788
+ "description": "Whether or not to show the grand totals",
1789
+ "fieldName": "areGrandTotalsEnabled"
1790
+ },
1791
+ {
1792
+ "name": "isAggregationDisabled",
1793
+ "type": {
1794
+ "text": "boolean | undefined"
1795
+ },
1796
+ "description": "Whether or not to show the aggregation options",
1797
+ "fieldName": "isAggregationDisabled"
1798
+ },
1799
+ {
1800
+ "name": "isCumulativeSumEnabled",
1801
+ "type": {
1802
+ "text": "boolean | undefined"
1803
+ },
1804
+ "description": "Whether or not to show the cumulative sum options",
1805
+ "fieldName": "isCumulativeSumEnabled"
1806
+ },
1807
+ {
1808
+ "name": "periodOverPeriodUiType",
1809
+ "type": {
1810
+ "text": "PeriodOverPeriodCondition | null | undefined"
1811
+ },
1812
+ "description": "Whether or not to show the period-over-period in numeric",
1813
+ "fieldName": "periodOverPeriodUiType"
1814
+ },
1815
+ {
1816
+ "name": "show-remove-button",
1817
+ "type": {
1818
+ "text": "boolean | undefined"
1819
+ },
1820
+ "description": "Whether or not to show the trash button next to the label",
1821
+ "fieldName": "showRemoveButton"
1822
+ },
1823
+ {
1824
+ "name": "slot-type",
1377
1825
  "type": {
1378
1826
  "text": "string | undefined"
1379
1827
  },
@@ -2861,6 +3309,252 @@
2861
3309
  }
2862
3310
  ]
2863
3311
  },
3312
+ {
3313
+ "kind": "javascript-module",
3314
+ "path": "src/components/edit-filters/edit-filters.ts",
3315
+ "declarations": [
3316
+ {
3317
+ "kind": "class",
3318
+ "description": "",
3319
+ "name": "LuzmoEditFilters",
3320
+ "members": [
3321
+ {
3322
+ "kind": "field",
3323
+ "name": "apiUrl",
3324
+ "type": {
3325
+ "text": "string | undefined"
3326
+ },
3327
+ "default": "'https://api.luzmo.com'",
3328
+ "description": "The API URL of the databroker",
3329
+ "attribute": "api-url",
3330
+ "reflects": true
3331
+ },
3332
+ {
3333
+ "kind": "field",
3334
+ "name": "authKey",
3335
+ "type": {
3336
+ "text": "string | undefined"
3337
+ },
3338
+ "description": "The auth key of the databroker",
3339
+ "attribute": "auth-key",
3340
+ "reflects": true
3341
+ },
3342
+ {
3343
+ "kind": "field",
3344
+ "name": "authToken",
3345
+ "type": {
3346
+ "text": "string | undefined"
3347
+ },
3348
+ "description": "The auth token of the databroker",
3349
+ "attribute": "auth-token",
3350
+ "reflects": true
3351
+ },
3352
+ {
3353
+ "kind": "field",
3354
+ "name": "cacheTime",
3355
+ "type": {
3356
+ "text": "number | undefined"
3357
+ },
3358
+ "description": "The cache time of the databroker",
3359
+ "attribute": "cache-time",
3360
+ "reflects": true
3361
+ },
3362
+ {
3363
+ "kind": "field",
3364
+ "name": "language",
3365
+ "type": {
3366
+ "text": "string"
3367
+ },
3368
+ "default": "'en'",
3369
+ "description": "The language of the settings interface",
3370
+ "attribute": "language",
3371
+ "reflects": true
3372
+ },
3373
+ {
3374
+ "kind": "field",
3375
+ "name": "contentLanguage",
3376
+ "type": {
3377
+ "text": "string"
3378
+ },
3379
+ "default": "'en'",
3380
+ "description": "The language to use for locale-aware formatting and labels",
3381
+ "attribute": "content-language",
3382
+ "reflects": true
3383
+ },
3384
+ {
3385
+ "kind": "field",
3386
+ "name": "timeZone",
3387
+ "type": {
3388
+ "text": "string | undefined"
3389
+ },
3390
+ "description": "The time zone to use for the date picker",
3391
+ "attribute": "time-zone",
3392
+ "reflects": true
3393
+ },
3394
+ {
3395
+ "kind": "field",
3396
+ "name": "datasetIds",
3397
+ "type": {
3398
+ "text": "string[] | undefined"
3399
+ },
3400
+ "description": "The dataset ids to fetch columns & formulas",
3401
+ "attribute": "dataset-ids",
3402
+ "reflects": true
3403
+ },
3404
+ {
3405
+ "kind": "field",
3406
+ "name": "filters",
3407
+ "type": {
3408
+ "text": "FilterGroup | null"
3409
+ },
3410
+ "default": "null",
3411
+ "description": "The filter group structure to display",
3412
+ "attribute": "filters"
3413
+ }
3414
+ ],
3415
+ "events": [
3416
+ {
3417
+ "name": "filters-changed",
3418
+ "type": {
3419
+ "text": "CustomEvent"
3420
+ },
3421
+ "description": "Announces that the filters have changed"
3422
+ }
3423
+ ],
3424
+ "attributes": [
3425
+ {
3426
+ "name": "api-url",
3427
+ "type": {
3428
+ "text": "string | undefined"
3429
+ },
3430
+ "default": "'https://api.luzmo.com'",
3431
+ "description": "The API URL of the databroker",
3432
+ "fieldName": "apiUrl"
3433
+ },
3434
+ {
3435
+ "name": "auth-key",
3436
+ "type": {
3437
+ "text": "string | undefined"
3438
+ },
3439
+ "description": "The auth key of the databroker",
3440
+ "fieldName": "authKey"
3441
+ },
3442
+ {
3443
+ "name": "auth-token",
3444
+ "type": {
3445
+ "text": "string | undefined"
3446
+ },
3447
+ "description": "The auth token of the databroker",
3448
+ "fieldName": "authToken"
3449
+ },
3450
+ {
3451
+ "name": "cache-time",
3452
+ "type": {
3453
+ "text": "number | undefined"
3454
+ },
3455
+ "description": "The cache time of the databroker",
3456
+ "fieldName": "cacheTime"
3457
+ },
3458
+ {
3459
+ "name": "language",
3460
+ "type": {
3461
+ "text": "string"
3462
+ },
3463
+ "default": "'en'",
3464
+ "description": "The language of the settings interface",
3465
+ "fieldName": "language"
3466
+ },
3467
+ {
3468
+ "name": "content-language",
3469
+ "type": {
3470
+ "text": "string"
3471
+ },
3472
+ "default": "'en'",
3473
+ "description": "The language to use for locale-aware formatting and labels",
3474
+ "fieldName": "contentLanguage"
3475
+ },
3476
+ {
3477
+ "name": "time-zone",
3478
+ "type": {
3479
+ "text": "string | undefined"
3480
+ },
3481
+ "description": "The time zone to use for the date picker",
3482
+ "fieldName": "timeZone"
3483
+ },
3484
+ {
3485
+ "name": "dataset-ids",
3486
+ "type": {
3487
+ "text": "string[] | undefined"
3488
+ },
3489
+ "description": "The dataset ids to fetch columns & formulas",
3490
+ "fieldName": "datasetIds"
3491
+ },
3492
+ {
3493
+ "name": "filters",
3494
+ "type": {
3495
+ "text": "FilterGroup | null"
3496
+ },
3497
+ "default": "null",
3498
+ "description": "The filter group structure to display",
3499
+ "fieldName": "filters"
3500
+ },
3501
+ {
3502
+ "name": "size",
3503
+ "type": {
3504
+ "text": "'s' | 'm' | 'l' | 'xl'"
3505
+ },
3506
+ "default": "m",
3507
+ "description": "The size of the element",
3508
+ "fieldName": "size"
3509
+ },
3510
+ {
3511
+ "name": "disabled",
3512
+ "type": {
3513
+ "text": "boolean"
3514
+ },
3515
+ "default": "false",
3516
+ "description": "Disable this control. It will not receive focus or events",
3517
+ "fieldName": "disabled"
3518
+ },
3519
+ {
3520
+ "name": "autofocus",
3521
+ "type": {
3522
+ "text": "boolean"
3523
+ },
3524
+ "default": "false",
3525
+ "description": "When this control is rendered, focus it automatically",
3526
+ "fieldName": "autofocus"
3527
+ },
3528
+ {
3529
+ "name": "tabIndex",
3530
+ "type": {
3531
+ "text": "number"
3532
+ },
3533
+ "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
3534
+ "fieldName": "tabIndex"
3535
+ }
3536
+ ],
3537
+ "tagName": "luzmo-edit-filters",
3538
+ "customElement": true
3539
+ }
3540
+ ],
3541
+ "exports": [
3542
+ {
3543
+ "kind": "js",
3544
+ "name": "LuzmoEditFilters",
3545
+ "declaration": {
3546
+ "name": "LuzmoEditFilters",
3547
+ "module": "src/components/edit-filters/edit-filters.ts"
3548
+ }
3549
+ }
3550
+ ]
3551
+ },
3552
+ {
3553
+ "kind": "javascript-module",
3554
+ "path": "src/components/edit-filters/types.ts",
3555
+ "declarations": [],
3556
+ "exports": []
3557
+ },
2864
3558
  {
2865
3559
  "kind": "javascript-module",
2866
3560
  "path": "src/components/edit-item/edit-item.ts",
@@ -3767,453 +4461,114 @@
3767
4461
  ]
3768
4462
  },
3769
4463
  {
3770
- "kind": "javascript-module",
3771
- "path": "src/components/edit-option/helpers/control-templates/slider-template.ts",
3772
- "declarations": [
3773
- {
3774
- "kind": "function",
3775
- "name": "sliderMarkup",
3776
- "parameters": [
3777
- {
3778
- "name": "args",
3779
- "type": {
3780
- "text": "ControlMarkupArgs"
3781
- }
3782
- }
3783
- ]
3784
- }
3785
- ],
3786
- "exports": [
3787
- {
3788
- "kind": "js",
3789
- "name": "sliderMarkup",
3790
- "declaration": {
3791
- "name": "sliderMarkup",
3792
- "module": "src/components/edit-option/helpers/control-templates/slider-template.ts"
3793
- }
3794
- }
3795
- ]
3796
- },
3797
- {
3798
- "kind": "javascript-module",
3799
- "path": "src/components/edit-option/helpers/control-templates/switch-template.ts",
3800
- "declarations": [
3801
- {
3802
- "kind": "function",
3803
- "name": "switchMarkup",
3804
- "parameters": [
3805
- {
3806
- "name": "args",
3807
- "type": {
3808
- "text": "ControlMarkupArgs"
3809
- }
3810
- }
3811
- ]
3812
- }
3813
- ],
3814
- "exports": [
3815
- {
3816
- "kind": "js",
3817
- "name": "switchMarkup",
3818
- "declaration": {
3819
- "name": "switchMarkup",
3820
- "module": "src/components/edit-option/helpers/control-templates/switch-template.ts"
3821
- }
3822
- }
3823
- ]
3824
- },
3825
- {
3826
- "kind": "javascript-module",
3827
- "path": "src/components/edit-option/helpers/control-templates/text-field-template.ts",
3828
- "declarations": [
3829
- {
3830
- "kind": "function",
3831
- "name": "textFieldMarkup",
3832
- "parameters": [
3833
- {
3834
- "name": "args",
3835
- "type": {
3836
- "text": "ControlMarkupArgs"
3837
- }
3838
- }
3839
- ]
3840
- }
3841
- ],
3842
- "exports": [
3843
- {
3844
- "kind": "js",
3845
- "name": "textFieldMarkup",
3846
- "declaration": {
3847
- "name": "textFieldMarkup",
3848
- "module": "src/components/edit-option/helpers/control-templates/text-field-template.ts"
3849
- }
3850
- }
3851
- ]
3852
- },
3853
- {
3854
- "kind": "javascript-module",
3855
- "path": "src/components/edit-option-action-button-group/edit-option-action-button-group.ts",
3856
- "declarations": [
3857
- {
3858
- "kind": "class",
3859
- "description": "",
3860
- "name": "LuzmoEditOptionActionButtonGroup",
3861
- "members": [],
3862
- "events": [
3863
- {
3864
- "name": "option-changed",
3865
- "type": {
3866
- "text": "CustomEvent"
3867
- }
3868
- }
3869
- ],
3870
- "attributes": [
3871
- {
3872
- "name": "values",
3873
- "type": {
3874
- "text": "Record<string, ButtonContent>"
3875
- },
3876
- "default": "{}",
3877
- "fieldName": "values"
3878
- },
3879
- {
3880
- "name": "disabled",
3881
- "type": {
3882
- "text": "boolean"
3883
- },
3884
- "default": "false",
3885
- "fieldName": "disabled"
3886
- },
3887
- {
3888
- "name": "selects",
3889
- "type": {
3890
- "text": "'single' | 'multiple' | undefined"
3891
- },
3892
- "fieldName": "selects"
3893
- },
3894
- {
3895
- "name": "value",
3896
- "type": {
3897
- "text": "[string] | undefined"
3898
- },
3899
- "fieldName": "value"
3900
- },
3901
- {
3902
- "name": "default",
3903
- "type": {
3904
- "text": "[string] | undefined"
3905
- },
3906
- "fieldName": "default"
3907
- }
3908
- ],
3909
- "superclass": {
3910
- "name": "LuzmoEditOptionBase",
3911
- "module": "/src/components/edit-option-base/edit-option-base"
3912
- }
3913
- }
3914
- ],
3915
- "exports": [
3916
- {
3917
- "kind": "js",
3918
- "name": "LuzmoEditOptionActionButtonGroup",
3919
- "declaration": {
3920
- "name": "LuzmoEditOptionActionButtonGroup",
3921
- "module": "src/components/edit-option-action-button-group/edit-option-action-button-group.ts"
3922
- }
3923
- }
3924
- ]
3925
- },
3926
- {
3927
- "kind": "javascript-module",
3928
- "path": "src/components/edit-option-color-palette-picker/edit-option-color-palette-picker.ts",
3929
- "declarations": [
3930
- {
3931
- "kind": "class",
3932
- "description": "",
3933
- "name": "LuzmoEditOptionColorPalettePicker",
3934
- "members": [],
3935
- "events": [
3936
- {
3937
- "name": "option-changed",
3938
- "type": {
3939
- "text": "CustomEvent"
3940
- }
3941
- }
3942
- ],
3943
- "attributes": [
3944
- {
3945
- "name": "value",
3946
- "type": {
3947
- "text": "string | undefined"
3948
- },
3949
- "description": "The selected color palette key of the picker",
3950
- "fieldName": "value"
3951
- },
3952
- {
3953
- "name": "default",
3954
- "type": {
3955
- "text": "string"
3956
- },
3957
- "default": "'OrRd'",
3958
- "description": "The default color palette key of the picker",
3959
- "fieldName": "default"
3960
- },
3961
- {
3962
- "name": "values",
3963
- "type": {
3964
- "text": "string[]"
3965
- },
3966
- "default": "[]",
3967
- "description": "The color palette keys of the picker",
3968
- "fieldName": "values"
3969
- },
3970
- {
3971
- "name": "disabled",
3972
- "type": {
3973
- "text": "boolean"
3974
- },
3975
- "default": "false",
3976
- "description": "Whether the picker is disabled",
3977
- "fieldName": "disabled"
3978
- },
3979
- {
3980
- "name": "horizontal",
3981
- "type": {
3982
- "text": "boolean"
3983
- },
3984
- "default": "false",
3985
- "description": "Whether the picker is horizontal",
3986
- "fieldName": "horizontal"
3987
- },
3988
- {
3989
- "name": "parseValue",
3990
- "type": {
3991
- "text": "(value: any) => string | undefined"
3992
- },
3993
- "description": "The function to parse the value",
3994
- "fieldName": "parseValue"
3995
- },
3996
- {
3997
- "name": "toValue",
3998
- "type": {
3999
- "text": "(value: string) => any | undefined"
4000
- },
4001
- "description": "The function to convert the value to a string",
4002
- "fieldName": "toValue"
4003
- },
4004
- {
4005
- "name": "number-of-colors",
4006
- "type": {
4007
- "text": "number"
4008
- },
4009
- "default": "5",
4010
- "description": "The number of colors to display",
4011
- "fieldName": "numberOfColors"
4012
- }
4013
- ],
4014
- "superclass": {
4015
- "name": "LuzmoEditOptionBase",
4016
- "module": "/src/components/edit-option-base/edit-option-base"
4017
- }
4018
- }
4019
- ],
4020
- "exports": [
4021
- {
4022
- "kind": "js",
4023
- "name": "LuzmoEditOptionColorPalettePicker",
4024
- "declaration": {
4025
- "name": "LuzmoEditOptionColorPalettePicker",
4026
- "module": "src/components/edit-option-color-palette-picker/edit-option-color-palette-picker.ts"
4027
- }
4028
- }
4029
- ]
4030
- },
4031
- {
4032
- "kind": "javascript-module",
4033
- "path": "src/components/edit-option-color-picker/edit-option-color-picker.ts",
4034
- "declarations": [
4035
- {
4036
- "kind": "class",
4037
- "description": "",
4038
- "name": "LuzmoEditOptionColorPicker",
4039
- "members": [
4040
- {
4041
- "kind": "field",
4042
- "name": "swatches",
4043
- "type": {
4044
- "text": "string[]"
4045
- },
4046
- "default": "[]",
4047
- "attribute": "swatches",
4048
- "reflects": true
4049
- },
4050
- {
4051
- "kind": "field",
4052
- "name": "rounding",
4053
- "type": {
4054
- "text": "'full' | 'light' | 'none'"
4055
- },
4056
- "default": "'full'",
4057
- "attribute": "rounding",
4058
- "reflects": true
4059
- },
4060
- {
4061
- "kind": "field",
4062
- "name": "shape",
4063
- "type": {
4064
- "text": "'circle' | 'rectangle'"
4065
- },
4066
- "default": "'circle'",
4067
- "attribute": "shape",
4068
- "reflects": true
4069
- },
4070
- {
4071
- "kind": "field",
4072
- "name": "debounce",
4073
- "type": {
4074
- "text": "number"
4075
- },
4076
- "default": "50",
4077
- "attribute": "debounce",
4078
- "reflects": true
4079
- },
4080
- {
4081
- "kind": "field",
4082
- "name": "debounceTimeout",
4083
- "type": {
4084
- "text": "any"
4085
- }
4086
- }
4087
- ],
4088
- "events": [
4089
- {
4090
- "name": "option-changed",
4091
- "type": {
4092
- "text": "CustomEvent"
4093
- },
4094
- "description": "Emitted when the color is changed."
4095
- }
4096
- ],
4097
- "attributes": [
4098
- {
4099
- "name": "placement",
4100
- "type": {
4101
- "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
4102
- },
4103
- "default": "'left-start'",
4104
- "fieldName": "placement",
4105
- "attribute": "placement"
4106
- },
4107
- {
4108
- "name": "value",
4109
- "type": {
4110
- "text": "string"
4111
- },
4112
- "default": "'transparent'",
4113
- "fieldName": "value"
4114
- },
4115
- {
4116
- "name": "disabled",
4117
- "type": {
4118
- "text": "boolean"
4119
- },
4120
- "default": "false",
4121
- "fieldName": "disabled"
4122
- },
4123
- {
4124
- "name": "noAlphaChannel",
4125
- "type": {
4126
- "text": "boolean"
4127
- },
4128
- "default": "false",
4129
- "fieldName": "noAlphaChannel"
4130
- },
4131
- {
4132
- "name": "swatches",
4133
- "type": {
4134
- "text": "string[]"
4135
- },
4136
- "default": "[]",
4137
- "fieldName": "swatches"
4138
- },
4464
+ "kind": "javascript-module",
4465
+ "path": "src/components/edit-option/helpers/control-templates/slider-template.ts",
4466
+ "declarations": [
4467
+ {
4468
+ "kind": "function",
4469
+ "name": "sliderMarkup",
4470
+ "parameters": [
4139
4471
  {
4140
- "name": "rounding",
4472
+ "name": "args",
4141
4473
  "type": {
4142
- "text": "'full' | 'light' | 'none'"
4143
- },
4144
- "default": "'full'",
4145
- "fieldName": "rounding"
4146
- },
4474
+ "text": "ControlMarkupArgs"
4475
+ }
4476
+ }
4477
+ ]
4478
+ }
4479
+ ],
4480
+ "exports": [
4481
+ {
4482
+ "kind": "js",
4483
+ "name": "sliderMarkup",
4484
+ "declaration": {
4485
+ "name": "sliderMarkup",
4486
+ "module": "src/components/edit-option/helpers/control-templates/slider-template.ts"
4487
+ }
4488
+ }
4489
+ ]
4490
+ },
4491
+ {
4492
+ "kind": "javascript-module",
4493
+ "path": "src/components/edit-option/helpers/control-templates/switch-template.ts",
4494
+ "declarations": [
4495
+ {
4496
+ "kind": "function",
4497
+ "name": "switchMarkup",
4498
+ "parameters": [
4147
4499
  {
4148
- "name": "shape",
4500
+ "name": "args",
4149
4501
  "type": {
4150
- "text": "'circle' | 'rectangle'"
4151
- },
4152
- "default": "'circle'",
4153
- "fieldName": "shape"
4154
- },
4502
+ "text": "ControlMarkupArgs"
4503
+ }
4504
+ }
4505
+ ]
4506
+ }
4507
+ ],
4508
+ "exports": [
4509
+ {
4510
+ "kind": "js",
4511
+ "name": "switchMarkup",
4512
+ "declaration": {
4513
+ "name": "switchMarkup",
4514
+ "module": "src/components/edit-option/helpers/control-templates/switch-template.ts"
4515
+ }
4516
+ }
4517
+ ]
4518
+ },
4519
+ {
4520
+ "kind": "javascript-module",
4521
+ "path": "src/components/edit-option/helpers/control-templates/text-field-template.ts",
4522
+ "declarations": [
4523
+ {
4524
+ "kind": "function",
4525
+ "name": "textFieldMarkup",
4526
+ "parameters": [
4155
4527
  {
4156
- "name": "debounce",
4528
+ "name": "args",
4157
4529
  "type": {
4158
- "text": "number"
4159
- },
4160
- "default": "50",
4161
- "fieldName": "debounce"
4530
+ "text": "ControlMarkupArgs"
4531
+ }
4162
4532
  }
4163
- ],
4164
- "superclass": {
4165
- "name": "LuzmoEditOptionBase",
4166
- "module": "/src/components/edit-option-base/edit-option-base"
4167
- },
4168
- "tagName": "luzmo-edit-option-color-picker",
4169
- "customElement": true
4533
+ ]
4170
4534
  }
4171
4535
  ],
4172
4536
  "exports": [
4173
4537
  {
4174
4538
  "kind": "js",
4175
- "name": "LuzmoEditOptionColorPicker",
4539
+ "name": "textFieldMarkup",
4176
4540
  "declaration": {
4177
- "name": "LuzmoEditOptionColorPicker",
4178
- "module": "src/components/edit-option-color-picker/edit-option-color-picker.ts"
4541
+ "name": "textFieldMarkup",
4542
+ "module": "src/components/edit-option/helpers/control-templates/text-field-template.ts"
4179
4543
  }
4180
4544
  }
4181
4545
  ]
4182
4546
  },
4183
4547
  {
4184
4548
  "kind": "javascript-module",
4185
- "path": "src/components/edit-option-color-range/edit-option-color-range.ts",
4549
+ "path": "src/components/edit-option-action-button-group/edit-option-action-button-group.ts",
4186
4550
  "declarations": [
4187
4551
  {
4188
4552
  "kind": "class",
4189
4553
  "description": "",
4190
- "name": "LuzmoEditOptionColorRange",
4554
+ "name": "LuzmoEditOptionActionButtonGroup",
4191
4555
  "members": [],
4192
4556
  "events": [
4193
4557
  {
4194
4558
  "name": "option-changed",
4195
4559
  "type": {
4196
4560
  "text": "CustomEvent"
4197
- },
4198
- "description": "Emitted when the color range is changed."
4561
+ }
4199
4562
  }
4200
4563
  ],
4201
4564
  "attributes": [
4202
4565
  {
4203
- "name": "value",
4204
- "type": {
4205
- "text": "{ color: string; value?: number }[] | undefined"
4206
- },
4207
- "description": "The color range",
4208
- "fieldName": "value"
4209
- },
4210
- {
4211
- "name": "default",
4566
+ "name": "values",
4212
4567
  "type": {
4213
- "text": "{ color: string; value?: number }[] | undefined"
4568
+ "text": "Record<string, ButtonContent>"
4214
4569
  },
4215
- "description": "The default color range",
4216
- "fieldName": "default"
4570
+ "default": "{}",
4571
+ "fieldName": "values"
4217
4572
  },
4218
4573
  {
4219
4574
  "name": "disabled",
@@ -4221,143 +4576,56 @@
4221
4576
  "text": "boolean"
4222
4577
  },
4223
4578
  "default": "false",
4224
- "description": "Whether the color-range is disabled",
4225
4579
  "fieldName": "disabled"
4226
4580
  },
4227
4581
  {
4228
- "name": "percentage",
4229
- "type": {
4230
- "text": "boolean"
4231
- },
4232
- "default": "false",
4233
- "description": "Range with percentage values",
4234
- "fieldName": "percentage"
4235
- },
4236
- {
4237
- "name": "no-alpha-channel",
4238
- "type": {
4239
- "text": "boolean"
4240
- },
4241
- "default": "false",
4242
- "description": "Range colors can have alpha values",
4243
- "fieldName": "noAlphaChannel"
4244
- },
4245
- {
4246
- "name": "edit-range-size",
4247
- "type": {
4248
- "text": "boolean"
4249
- },
4250
- "default": "false",
4251
- "description": "The number of values in the range can be changed",
4252
- "fieldName": "editRangeSize"
4253
- },
4254
- {
4255
- "name": "no-values",
4256
- "type": {
4257
- "text": "boolean"
4258
- },
4259
- "default": "false",
4260
- "description": "The values in the range can be changed by the user in the input field",
4261
- "fieldName": "noValues"
4262
- },
4263
- {
4264
- "name": "minimum-range-size",
4265
- "type": {
4266
- "text": "number"
4267
- },
4268
- "default": "2",
4269
- "description": "The minimum range size",
4270
- "fieldName": "minimumRangeSize"
4271
- },
4272
- {
4273
- "name": "negative-infinity-value",
4274
- "type": {
4275
- "text": "boolean"
4276
- },
4277
- "default": "false",
4278
- "description": "Whether there is a first range value that sets color from negative infinity to the next range value. That first range value has a color, but the value is disregarded",
4279
- "fieldName": "negativeInfinityValue"
4280
- },
4281
- {
4282
- "name": "read-only-color-picker",
4283
- "type": {
4284
- "text": "boolean"
4285
- },
4286
- "default": "false",
4287
- "description": "The color pickers can be read-only",
4288
- "fieldName": "readOnlyColorPicker"
4289
- },
4290
- {
4291
- "name": "reverse",
4292
- "type": {
4293
- "text": "boolean"
4294
- },
4295
- "default": "false",
4296
- "description": "Whether the colors are reversed",
4297
- "fieldName": "reverse"
4298
- },
4299
- {
4300
- "name": "debounce",
4582
+ "name": "selects",
4301
4583
  "type": {
4302
- "text": "number"
4584
+ "text": "'single' | 'multiple' | undefined"
4303
4585
  },
4304
- "default": "100",
4305
- "description": "The debounce time in milliseconds",
4306
- "fieldName": "debounce"
4586
+ "fieldName": "selects"
4307
4587
  },
4308
4588
  {
4309
- "name": "parseValue",
4589
+ "name": "value",
4310
4590
  "type": {
4311
- "text": "(value: any) => { color: string; value?: number }[] | undefined"
4591
+ "text": "[string] | undefined"
4312
4592
  },
4313
- "description": "The function to parse the value",
4314
- "fieldName": "parseValue"
4593
+ "fieldName": "value"
4315
4594
  },
4316
4595
  {
4317
- "name": "toValue",
4596
+ "name": "default",
4318
4597
  "type": {
4319
- "text": "(value: any) => any | undefined"
4598
+ "text": "[string] | undefined"
4320
4599
  },
4321
- "description": "The function to convert the value",
4322
- "fieldName": "toValue"
4600
+ "fieldName": "default"
4323
4601
  }
4324
4602
  ],
4325
4603
  "superclass": {
4326
4604
  "name": "LuzmoEditOptionBase",
4327
4605
  "module": "/src/components/edit-option-base/edit-option-base"
4328
- },
4329
- "tagName": "luzmo-edit-option-color-range",
4330
- "customElement": true
4606
+ }
4331
4607
  }
4332
4608
  ],
4333
4609
  "exports": [
4334
4610
  {
4335
4611
  "kind": "js",
4336
- "name": "LuzmoEditOptionColorRange",
4612
+ "name": "LuzmoEditOptionActionButtonGroup",
4337
4613
  "declaration": {
4338
- "name": "LuzmoEditOptionColorRange",
4339
- "module": "src/components/edit-option-color-range/edit-option-color-range.ts"
4614
+ "name": "LuzmoEditOptionActionButtonGroup",
4615
+ "module": "src/components/edit-option-action-button-group/edit-option-action-button-group.ts"
4340
4616
  }
4341
4617
  }
4342
4618
  ]
4343
4619
  },
4344
4620
  {
4345
4621
  "kind": "javascript-module",
4346
- "path": "src/components/edit-option-multi-language-field/edit-option-multi-language-field.ts",
4622
+ "path": "src/components/edit-option-color-palette-picker/edit-option-color-palette-picker.ts",
4347
4623
  "declarations": [
4348
4624
  {
4349
4625
  "kind": "class",
4350
4626
  "description": "",
4351
- "name": "LuzmoEditOptionMultiLangField",
4352
- "members": [
4353
- {
4354
- "kind": "field",
4355
- "name": "debounceTimeout",
4356
- "type": {
4357
- "text": "any"
4358
- }
4359
- }
4360
- ],
4627
+ "name": "LuzmoEditOptionColorPalettePicker",
4628
+ "members": [],
4361
4629
  "events": [
4362
4630
  {
4363
4631
  "name": "option-changed",
@@ -4370,63 +4638,71 @@
4370
4638
  {
4371
4639
  "name": "value",
4372
4640
  "type": {
4373
- "text": "Record<string, string>"
4641
+ "text": "string | undefined"
4374
4642
  },
4375
- "default": "{}",
4643
+ "description": "The selected color palette key of the picker",
4376
4644
  "fieldName": "value"
4377
4645
  },
4378
4646
  {
4379
- "name": "invalid",
4647
+ "name": "default",
4380
4648
  "type": {
4381
- "text": "boolean"
4649
+ "text": "string"
4382
4650
  },
4383
- "default": "false",
4384
- "fieldName": "invalid"
4651
+ "default": "'OrRd'",
4652
+ "description": "The default color palette key of the picker",
4653
+ "fieldName": "default"
4385
4654
  },
4386
4655
  {
4387
- "name": "readonly",
4656
+ "name": "values",
4388
4657
  "type": {
4389
- "text": "boolean"
4658
+ "text": "string[]"
4390
4659
  },
4391
- "default": "false",
4392
- "fieldName": "readonly"
4660
+ "default": "[]",
4661
+ "description": "The color palette keys of the picker",
4662
+ "fieldName": "values"
4393
4663
  },
4394
4664
  {
4395
- "name": "language",
4665
+ "name": "disabled",
4396
4666
  "type": {
4397
- "text": "string | undefined"
4667
+ "text": "boolean"
4398
4668
  },
4399
- "default": "'en'",
4400
- "fieldName": "language"
4669
+ "default": "false",
4670
+ "description": "Whether the picker is disabled",
4671
+ "fieldName": "disabled"
4401
4672
  },
4402
4673
  {
4403
- "name": "placeholder",
4674
+ "name": "horizontal",
4404
4675
  "type": {
4405
- "text": "Record<string, string> | undefined"
4676
+ "text": "boolean"
4406
4677
  },
4407
- "fieldName": "placeholder"
4678
+ "default": "false",
4679
+ "description": "Whether the picker is horizontal",
4680
+ "fieldName": "horizontal"
4408
4681
  },
4409
4682
  {
4410
4683
  "name": "parseValue",
4411
4684
  "type": {
4412
- "text": "(value: any, language: string) => any | undefined"
4685
+ "text": "(value: any) => string | undefined"
4413
4686
  },
4687
+ "description": "The function to parse the value",
4414
4688
  "fieldName": "parseValue"
4415
4689
  },
4416
4690
  {
4417
4691
  "name": "toValue",
4418
4692
  "type": {
4419
- "text": "(value: any, language: string) => any | undefined"
4693
+ "text": "(value: string) => any | undefined"
4420
4694
  },
4695
+ "description": "The function to convert the value to a string",
4421
4696
  "fieldName": "toValue"
4422
4697
  },
4423
4698
  {
4424
- "name": "debounce",
4699
+ "name": "number-of-colors",
4425
4700
  "type": {
4426
4701
  "text": "number"
4427
4702
  },
4428
- "default": "200",
4429
- "fieldName": "debounce"
4703
+ "default": "5",
4704
+ "description": "The number of colors to display",
4705
+ "fieldName": "numberOfColors"
4430
4706
  }
4431
4707
  ],
4432
4708
  "superclass": {
@@ -4438,30 +4714,60 @@
4438
4714
  "exports": [
4439
4715
  {
4440
4716
  "kind": "js",
4441
- "name": "LuzmoEditOptionMultiLangField",
4717
+ "name": "LuzmoEditOptionColorPalettePicker",
4442
4718
  "declaration": {
4443
- "name": "LuzmoEditOptionMultiLangField",
4444
- "module": "src/components/edit-option-multi-language-field/edit-option-multi-language-field.ts"
4719
+ "name": "LuzmoEditOptionColorPalettePicker",
4720
+ "module": "src/components/edit-option-color-palette-picker/edit-option-color-palette-picker.ts"
4445
4721
  }
4446
4722
  }
4447
4723
  ]
4448
4724
  },
4449
4725
  {
4450
4726
  "kind": "javascript-module",
4451
- "path": "src/components/edit-option-number-field/edit-option-number-field.ts",
4727
+ "path": "src/components/edit-option-color-picker/edit-option-color-picker.ts",
4452
4728
  "declarations": [
4453
4729
  {
4454
4730
  "kind": "class",
4455
4731
  "description": "",
4456
- "name": "LuzmoEditOptionNumberField",
4732
+ "name": "LuzmoEditOptionColorPicker",
4457
4733
  "members": [
4734
+ {
4735
+ "kind": "field",
4736
+ "name": "swatches",
4737
+ "type": {
4738
+ "text": "string[]"
4739
+ },
4740
+ "default": "[]",
4741
+ "attribute": "swatches",
4742
+ "reflects": true
4743
+ },
4744
+ {
4745
+ "kind": "field",
4746
+ "name": "rounding",
4747
+ "type": {
4748
+ "text": "'full' | 'light' | 'none'"
4749
+ },
4750
+ "default": "'full'",
4751
+ "attribute": "rounding",
4752
+ "reflects": true
4753
+ },
4754
+ {
4755
+ "kind": "field",
4756
+ "name": "shape",
4757
+ "type": {
4758
+ "text": "'circle' | 'rectangle'"
4759
+ },
4760
+ "default": "'circle'",
4761
+ "attribute": "shape",
4762
+ "reflects": true
4763
+ },
4458
4764
  {
4459
4765
  "kind": "field",
4460
4766
  "name": "debounce",
4461
4767
  "type": {
4462
4768
  "text": "number"
4463
4769
  },
4464
- "default": "200",
4770
+ "default": "50",
4465
4771
  "attribute": "debounce",
4466
4772
  "reflects": true
4467
4773
  },
@@ -4478,214 +4784,274 @@
4478
4784
  "name": "option-changed",
4479
4785
  "type": {
4480
4786
  "text": "CustomEvent"
4481
- }
4787
+ },
4788
+ "description": "Emitted when the color is changed."
4482
4789
  }
4483
4790
  ],
4484
4791
  "attributes": [
4485
4792
  {
4486
- "name": "disabled",
4487
- "type": {
4488
- "text": "boolean"
4489
- },
4490
- "default": "false",
4491
- "fieldName": "disabled"
4492
- },
4493
- {
4494
- "name": "min",
4495
- "type": {
4496
- "text": "number | undefined"
4497
- },
4498
- "fieldName": "min"
4499
- },
4500
- {
4501
- "name": "max",
4793
+ "name": "placement",
4502
4794
  "type": {
4503
- "text": "number | undefined"
4795
+ "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
4504
4796
  },
4505
- "fieldName": "max"
4797
+ "default": "'left-start'",
4798
+ "fieldName": "placement",
4799
+ "attribute": "placement"
4506
4800
  },
4507
4801
  {
4508
- "name": "default",
4802
+ "name": "value",
4509
4803
  "type": {
4510
- "text": "number | undefined"
4804
+ "text": "string"
4511
4805
  },
4512
- "fieldName": "default"
4806
+ "default": "'transparent'",
4807
+ "fieldName": "value"
4513
4808
  },
4514
4809
  {
4515
- "name": "value",
4810
+ "name": "disabled",
4516
4811
  "type": {
4517
- "text": "number | undefined"
4812
+ "text": "boolean"
4518
4813
  },
4519
- "fieldName": "value"
4814
+ "default": "false",
4815
+ "fieldName": "disabled"
4520
4816
  },
4521
4817
  {
4522
- "name": "placeholder",
4818
+ "name": "noAlphaChannel",
4523
4819
  "type": {
4524
- "text": "string | undefined"
4820
+ "text": "boolean"
4525
4821
  },
4526
- "fieldName": "placeholder"
4822
+ "default": "false",
4823
+ "fieldName": "noAlphaChannel"
4527
4824
  },
4528
4825
  {
4529
- "name": "min-width-input-field",
4826
+ "name": "swatches",
4530
4827
  "type": {
4531
- "text": "string | undefined"
4828
+ "text": "string[]"
4532
4829
  },
4533
- "fieldName": "minWidthInputField"
4830
+ "default": "[]",
4831
+ "fieldName": "swatches"
4534
4832
  },
4535
4833
  {
4536
- "name": "step",
4834
+ "name": "rounding",
4537
4835
  "type": {
4538
- "text": "number"
4836
+ "text": "'full' | 'light' | 'none'"
4539
4837
  },
4540
- "default": "1",
4541
- "fieldName": "step"
4838
+ "default": "'full'",
4839
+ "fieldName": "rounding"
4542
4840
  },
4543
4841
  {
4544
- "name": "unit",
4842
+ "name": "shape",
4545
4843
  "type": {
4546
- "text": "boolean"
4844
+ "text": "'circle' | 'rectangle'"
4547
4845
  },
4548
- "default": "false",
4549
- "fieldName": "unit"
4846
+ "default": "'circle'",
4847
+ "fieldName": "shape"
4550
4848
  },
4551
4849
  {
4552
4850
  "name": "debounce",
4553
4851
  "type": {
4554
4852
  "text": "number"
4555
4853
  },
4556
- "default": "200",
4854
+ "default": "50",
4557
4855
  "fieldName": "debounce"
4558
- },
4559
- {
4560
- "name": "parseValue",
4561
- "type": {
4562
- "text": "(value?: string | number) => number | undefined"
4563
- },
4564
- "fieldName": "parseValue"
4565
- },
4566
- {
4567
- "name": "toValue",
4568
- "type": {
4569
- "text": "(value?: number) => string | number | any | undefined"
4570
- },
4571
- "fieldName": "toValue"
4572
4856
  }
4573
4857
  ],
4574
4858
  "superclass": {
4575
4859
  "name": "LuzmoEditOptionBase",
4576
4860
  "module": "/src/components/edit-option-base/edit-option-base"
4577
- }
4861
+ },
4862
+ "tagName": "luzmo-edit-option-color-picker",
4863
+ "customElement": true
4578
4864
  }
4579
4865
  ],
4580
4866
  "exports": [
4581
4867
  {
4582
4868
  "kind": "js",
4583
- "name": "LuzmoEditOptionNumberField",
4869
+ "name": "LuzmoEditOptionColorPicker",
4584
4870
  "declaration": {
4585
- "name": "LuzmoEditOptionNumberField",
4586
- "module": "src/components/edit-option-number-field/edit-option-number-field.ts"
4871
+ "name": "LuzmoEditOptionColorPicker",
4872
+ "module": "src/components/edit-option-color-picker/edit-option-color-picker.ts"
4587
4873
  }
4588
4874
  }
4589
4875
  ]
4590
4876
  },
4591
4877
  {
4592
4878
  "kind": "javascript-module",
4593
- "path": "src/components/edit-option-picker/edit-option-picker.ts",
4879
+ "path": "src/components/edit-option-color-range/edit-option-color-range.ts",
4594
4880
  "declarations": [
4595
4881
  {
4596
4882
  "kind": "class",
4597
4883
  "description": "",
4598
- "name": "LuzmoEditOptionPicker",
4884
+ "name": "LuzmoEditOptionColorRange",
4599
4885
  "members": [],
4600
4886
  "events": [
4601
4887
  {
4602
4888
  "name": "option-changed",
4603
4889
  "type": {
4604
4890
  "text": "CustomEvent"
4605
- }
4891
+ },
4892
+ "description": "Emitted when the color range is changed."
4606
4893
  }
4607
4894
  ],
4608
4895
  "attributes": [
4609
4896
  {
4610
- "name": "placement",
4897
+ "name": "value",
4611
4898
  "type": {
4612
- "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
4899
+ "text": "{ color: string; value?: number }[] | undefined"
4613
4900
  },
4614
- "default": "'bottom-end'",
4615
- "fieldName": "placement",
4616
- "attribute": "placement"
4901
+ "description": "The color range",
4902
+ "fieldName": "value"
4903
+ },
4904
+ {
4905
+ "name": "default",
4906
+ "type": {
4907
+ "text": "{ color: string; value?: number }[] | undefined"
4908
+ },
4909
+ "description": "The default color range",
4910
+ "fieldName": "default"
4911
+ },
4912
+ {
4913
+ "name": "disabled",
4914
+ "type": {
4915
+ "text": "boolean"
4916
+ },
4917
+ "default": "false",
4918
+ "description": "Whether the color-range is disabled",
4919
+ "fieldName": "disabled"
4920
+ },
4921
+ {
4922
+ "name": "percentage",
4923
+ "type": {
4924
+ "text": "boolean"
4925
+ },
4926
+ "default": "false",
4927
+ "description": "Range with percentage values",
4928
+ "fieldName": "percentage"
4929
+ },
4930
+ {
4931
+ "name": "no-alpha-channel",
4932
+ "type": {
4933
+ "text": "boolean"
4934
+ },
4935
+ "default": "false",
4936
+ "description": "Range colors can have alpha values",
4937
+ "fieldName": "noAlphaChannel"
4938
+ },
4939
+ {
4940
+ "name": "edit-range-size",
4941
+ "type": {
4942
+ "text": "boolean"
4943
+ },
4944
+ "default": "false",
4945
+ "description": "The number of values in the range can be changed",
4946
+ "fieldName": "editRangeSize"
4947
+ },
4948
+ {
4949
+ "name": "no-values",
4950
+ "type": {
4951
+ "text": "boolean"
4952
+ },
4953
+ "default": "false",
4954
+ "description": "The values in the range can be changed by the user in the input field",
4955
+ "fieldName": "noValues"
4956
+ },
4957
+ {
4958
+ "name": "minimum-range-size",
4959
+ "type": {
4960
+ "text": "number"
4961
+ },
4962
+ "default": "2",
4963
+ "description": "The minimum range size",
4964
+ "fieldName": "minimumRangeSize"
4965
+ },
4966
+ {
4967
+ "name": "negative-infinity-value",
4968
+ "type": {
4969
+ "text": "boolean"
4970
+ },
4971
+ "default": "false",
4972
+ "description": "Whether there is a first range value that sets color from negative infinity to the next range value. That first range value has a color, but the value is disregarded",
4973
+ "fieldName": "negativeInfinityValue"
4617
4974
  },
4618
4975
  {
4619
- "name": "values",
4976
+ "name": "read-only-color-picker",
4620
4977
  "type": {
4621
- "text": "Record<string, string>"
4978
+ "text": "boolean"
4622
4979
  },
4623
- "default": "{}",
4624
- "fieldName": "values"
4980
+ "default": "false",
4981
+ "description": "The color pickers can be read-only",
4982
+ "fieldName": "readOnlyColorPicker"
4625
4983
  },
4626
4984
  {
4627
- "name": "disabled",
4985
+ "name": "reverse",
4628
4986
  "type": {
4629
4987
  "text": "boolean"
4630
4988
  },
4631
4989
  "default": "false",
4632
- "fieldName": "disabled"
4990
+ "description": "Whether the colors are reversed",
4991
+ "fieldName": "reverse"
4633
4992
  },
4634
4993
  {
4635
- "name": "value",
4994
+ "name": "debounce",
4636
4995
  "type": {
4637
- "text": "string | undefined"
4996
+ "text": "number"
4638
4997
  },
4639
- "fieldName": "value"
4998
+ "default": "100",
4999
+ "description": "The debounce time in milliseconds",
5000
+ "fieldName": "debounce"
4640
5001
  },
4641
5002
  {
4642
5003
  "name": "parseValue",
4643
5004
  "type": {
4644
- "text": "(value: string | number | any) => string | undefined"
5005
+ "text": "(value: any) => { color: string; value?: number }[] | undefined"
4645
5006
  },
5007
+ "description": "The function to parse the value",
4646
5008
  "fieldName": "parseValue"
4647
5009
  },
4648
5010
  {
4649
5011
  "name": "toValue",
4650
5012
  "type": {
4651
- "text": "(value: string) => string | number | any | undefined"
5013
+ "text": "(value: any) => any | undefined"
4652
5014
  },
5015
+ "description": "The function to convert the value",
4653
5016
  "fieldName": "toValue"
4654
- },
4655
- {
4656
- "name": "default",
4657
- "type": {
4658
- "text": "string | undefined"
4659
- },
4660
- "fieldName": "default"
4661
5017
  }
4662
5018
  ],
4663
5019
  "superclass": {
4664
5020
  "name": "LuzmoEditOptionBase",
4665
5021
  "module": "/src/components/edit-option-base/edit-option-base"
4666
- }
5022
+ },
5023
+ "tagName": "luzmo-edit-option-color-range",
5024
+ "customElement": true
4667
5025
  }
4668
5026
  ],
4669
5027
  "exports": [
4670
5028
  {
4671
5029
  "kind": "js",
4672
- "name": "LuzmoEditOptionPicker",
5030
+ "name": "LuzmoEditOptionColorRange",
4673
5031
  "declaration": {
4674
- "name": "LuzmoEditOptionPicker",
4675
- "module": "src/components/edit-option-picker/edit-option-picker.ts"
5032
+ "name": "LuzmoEditOptionColorRange",
5033
+ "module": "src/components/edit-option-color-range/edit-option-color-range.ts"
4676
5034
  }
4677
5035
  }
4678
5036
  ]
4679
5037
  },
4680
5038
  {
4681
5039
  "kind": "javascript-module",
4682
- "path": "src/components/edit-option-position-picker/edit-option-position-picker.ts",
5040
+ "path": "src/components/edit-option-multi-language-field/edit-option-multi-language-field.ts",
4683
5041
  "declarations": [
4684
5042
  {
4685
5043
  "kind": "class",
4686
5044
  "description": "",
4687
- "name": "LuzmoEditOptionPositionPicker",
4688
- "members": [],
5045
+ "name": "LuzmoEditOptionMultiLangField",
5046
+ "members": [
5047
+ {
5048
+ "kind": "field",
5049
+ "name": "debounceTimeout",
5050
+ "type": {
5051
+ "text": "any"
5052
+ }
5053
+ }
5054
+ ],
4689
5055
  "events": [
4690
5056
  {
4691
5057
  "name": "option-changed",
@@ -4698,25 +5064,18 @@
4698
5064
  {
4699
5065
  "name": "value",
4700
5066
  "type": {
4701
- "text": "string | undefined"
5067
+ "text": "Record<string, string>"
4702
5068
  },
5069
+ "default": "{}",
4703
5070
  "fieldName": "value"
4704
5071
  },
4705
5072
  {
4706
- "name": "default-position",
4707
- "type": {
4708
- "text": "string"
4709
- },
4710
- "default": "'topRight'",
4711
- "fieldName": "default"
4712
- },
4713
- {
4714
- "name": "positions",
5073
+ "name": "invalid",
4715
5074
  "type": {
4716
- "text": "string[] | undefined"
5075
+ "text": "boolean"
4717
5076
  },
4718
- "default": "defaults",
4719
- "fieldName": "positions"
5077
+ "default": "false",
5078
+ "fieldName": "invalid"
4720
5079
  },
4721
5080
  {
4722
5081
  "name": "readonly",
@@ -4725,6 +5084,43 @@
4725
5084
  },
4726
5085
  "default": "false",
4727
5086
  "fieldName": "readonly"
5087
+ },
5088
+ {
5089
+ "name": "language",
5090
+ "type": {
5091
+ "text": "string | undefined"
5092
+ },
5093
+ "default": "'en'",
5094
+ "fieldName": "language"
5095
+ },
5096
+ {
5097
+ "name": "placeholder",
5098
+ "type": {
5099
+ "text": "Record<string, string> | undefined"
5100
+ },
5101
+ "fieldName": "placeholder"
5102
+ },
5103
+ {
5104
+ "name": "parseValue",
5105
+ "type": {
5106
+ "text": "(value: any, language: string) => any | undefined"
5107
+ },
5108
+ "fieldName": "parseValue"
5109
+ },
5110
+ {
5111
+ "name": "toValue",
5112
+ "type": {
5113
+ "text": "(value: any, language: string) => any | undefined"
5114
+ },
5115
+ "fieldName": "toValue"
5116
+ },
5117
+ {
5118
+ "name": "debounce",
5119
+ "type": {
5120
+ "text": "number"
5121
+ },
5122
+ "default": "200",
5123
+ "fieldName": "debounce"
4728
5124
  }
4729
5125
  ],
4730
5126
  "superclass": {
@@ -4736,29 +5132,32 @@
4736
5132
  "exports": [
4737
5133
  {
4738
5134
  "kind": "js",
4739
- "name": "LuzmoEditOptionPositionPicker",
5135
+ "name": "LuzmoEditOptionMultiLangField",
4740
5136
  "declaration": {
4741
- "name": "LuzmoEditOptionPositionPicker",
4742
- "module": "src/components/edit-option-position-picker/edit-option-position-picker.ts"
5137
+ "name": "LuzmoEditOptionMultiLangField",
5138
+ "module": "src/components/edit-option-multi-language-field/edit-option-multi-language-field.ts"
4743
5139
  }
4744
5140
  }
4745
5141
  ]
4746
5142
  },
4747
5143
  {
4748
5144
  "kind": "javascript-module",
4749
- "path": "src/components/edit-option-positions-number-field/edit-option-positions-number-field.ts",
5145
+ "path": "src/components/edit-option-number-field/edit-option-number-field.ts",
4750
5146
  "declarations": [
4751
5147
  {
4752
5148
  "kind": "class",
4753
5149
  "description": "",
4754
- "name": "LuzmoEditOptionPositionsNumberField",
5150
+ "name": "LuzmoEditOptionNumberField",
4755
5151
  "members": [
4756
5152
  {
4757
5153
  "kind": "field",
4758
- "name": "syncedValue",
5154
+ "name": "debounce",
4759
5155
  "type": {
4760
- "text": "number | undefined"
4761
- }
5156
+ "text": "number"
5157
+ },
5158
+ "default": "200",
5159
+ "attribute": "debounce",
5160
+ "reflects": true
4762
5161
  },
4763
5162
  {
4764
5163
  "kind": "field",
@@ -4766,18 +5165,6 @@
4766
5165
  "type": {
4767
5166
  "text": "any"
4768
5167
  }
4769
- },
4770
- {
4771
- "kind": "field",
4772
- "name": "_positions",
4773
- "type": {
4774
- "text": "Position[][]"
4775
- },
4776
- "default": "[ ['top-left', 'top', 'top-right'], ['left', 'center', 'right'], ['bottom-left', 'bottom', 'bottom-right'] ]"
4777
- },
4778
- {
4779
- "kind": "method",
4780
- "name": "toggleSync"
4781
5168
  }
4782
5169
  ],
4783
5170
  "events": [
@@ -4790,49 +5177,70 @@
4790
5177
  ],
4791
5178
  "attributes": [
4792
5179
  {
4793
- "name": "positions",
5180
+ "name": "disabled",
4794
5181
  "type": {
4795
- "text": "Position[] | undefined"
5182
+ "text": "boolean"
4796
5183
  },
4797
- "fieldName": "positions"
5184
+ "default": "false",
5185
+ "fieldName": "disabled"
4798
5186
  },
4799
5187
  {
4800
- "name": "values",
5188
+ "name": "min",
4801
5189
  "type": {
4802
- "text": "Record<Position, number | undefined> | undefined"
5190
+ "text": "number | undefined"
4803
5191
  },
4804
- "fieldName": "values"
5192
+ "fieldName": "min"
4805
5193
  },
4806
5194
  {
4807
- "name": "can-sync",
5195
+ "name": "max",
4808
5196
  "type": {
4809
- "text": "boolean | undefined"
5197
+ "text": "number | undefined"
4810
5198
  },
4811
- "default": "true",
4812
- "fieldName": "canSync"
5199
+ "fieldName": "max"
4813
5200
  },
4814
5201
  {
4815
- "name": "positionConfiguration",
5202
+ "name": "default",
4816
5203
  "type": {
4817
- "text": "Record<\n Position,\n { min?: number; max?: number; step?: number; default?: number }\n > | undefined"
5204
+ "text": "number | undefined"
4818
5205
  },
4819
- "fieldName": "positionConfiguration"
5206
+ "fieldName": "default"
4820
5207
  },
4821
5208
  {
4822
- "name": "invalid",
5209
+ "name": "value",
4823
5210
  "type": {
4824
- "text": "boolean"
5211
+ "text": "number | undefined"
4825
5212
  },
4826
- "default": "false",
4827
- "fieldName": "invalid"
5213
+ "fieldName": "value"
4828
5214
  },
4829
5215
  {
4830
- "name": "readonly",
5216
+ "name": "placeholder",
5217
+ "type": {
5218
+ "text": "string | undefined"
5219
+ },
5220
+ "fieldName": "placeholder"
5221
+ },
5222
+ {
5223
+ "name": "min-width-input-field",
5224
+ "type": {
5225
+ "text": "string | undefined"
5226
+ },
5227
+ "fieldName": "minWidthInputField"
5228
+ },
5229
+ {
5230
+ "name": "step",
5231
+ "type": {
5232
+ "text": "number"
5233
+ },
5234
+ "default": "1",
5235
+ "fieldName": "step"
5236
+ },
5237
+ {
5238
+ "name": "unit",
4831
5239
  "type": {
4832
5240
  "text": "boolean"
4833
5241
  },
4834
5242
  "default": "false",
4835
- "fieldName": "readonly"
5243
+ "fieldName": "unit"
4836
5244
  },
4837
5245
  {
4838
5246
  "name": "debounce",
@@ -4843,11 +5251,18 @@
4843
5251
  "fieldName": "debounce"
4844
5252
  },
4845
5253
  {
4846
- "name": "sync",
5254
+ "name": "parseValue",
4847
5255
  "type": {
4848
- "text": "boolean | undefined"
5256
+ "text": "(value?: string | number) => number | undefined"
4849
5257
  },
4850
- "fieldName": "sync"
5258
+ "fieldName": "parseValue"
5259
+ },
5260
+ {
5261
+ "name": "toValue",
5262
+ "type": {
5263
+ "text": "(value?: number) => string | number | any | undefined"
5264
+ },
5265
+ "fieldName": "toValue"
4851
5266
  }
4852
5267
  ],
4853
5268
  "superclass": {
@@ -4859,31 +5274,23 @@
4859
5274
  "exports": [
4860
5275
  {
4861
5276
  "kind": "js",
4862
- "name": "LuzmoEditOptionPositionsNumberField",
5277
+ "name": "LuzmoEditOptionNumberField",
4863
5278
  "declaration": {
4864
- "name": "LuzmoEditOptionPositionsNumberField",
4865
- "module": "src/components/edit-option-positions-number-field/edit-option-positions-number-field.ts"
5279
+ "name": "LuzmoEditOptionNumberField",
5280
+ "module": "src/components/edit-option-number-field/edit-option-number-field.ts"
4866
5281
  }
4867
5282
  }
4868
5283
  ]
4869
5284
  },
4870
5285
  {
4871
5286
  "kind": "javascript-module",
4872
- "path": "src/components/edit-option-radio-button-group/edit-option-radio-button-group.ts",
5287
+ "path": "src/components/edit-option-picker/edit-option-picker.ts",
4873
5288
  "declarations": [
4874
5289
  {
4875
5290
  "kind": "class",
4876
5291
  "description": "",
4877
- "name": "LuzmoEditOptionRadioButtonGroup",
4878
- "members": [
4879
- {
4880
- "kind": "field",
4881
- "name": "debounceTimeout",
4882
- "type": {
4883
- "text": "any"
4884
- }
4885
- }
4886
- ],
5292
+ "name": "LuzmoEditOptionPicker",
5293
+ "members": [],
4887
5294
  "events": [
4888
5295
  {
4889
5296
  "name": "option-changed",
@@ -4893,6 +5300,15 @@
4893
5300
  }
4894
5301
  ],
4895
5302
  "attributes": [
5303
+ {
5304
+ "name": "placement",
5305
+ "type": {
5306
+ "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
5307
+ },
5308
+ "default": "'bottom-end'",
5309
+ "fieldName": "placement",
5310
+ "attribute": "placement"
5311
+ },
4896
5312
  {
4897
5313
  "name": "values",
4898
5314
  "type": {
@@ -4912,30 +5328,30 @@
4912
5328
  {
4913
5329
  "name": "value",
4914
5330
  "type": {
4915
- "text": "string"
4916
- },
4917
- "fieldName": "value"
4918
- },
4919
- {
4920
- "name": "default",
4921
- "type": {
4922
- "text": "string"
5331
+ "text": "string | undefined"
4923
5332
  },
4924
- "fieldName": "default"
5333
+ "fieldName": "value"
4925
5334
  },
4926
5335
  {
4927
5336
  "name": "parseValue",
4928
5337
  "type": {
4929
- "text": "(value?: string | number | any) => string | undefined"
5338
+ "text": "(value: string | number | any) => string | undefined"
4930
5339
  },
4931
5340
  "fieldName": "parseValue"
4932
5341
  },
4933
5342
  {
4934
5343
  "name": "toValue",
4935
5344
  "type": {
4936
- "text": "(value?: string) => string | number | any | undefined"
5345
+ "text": "(value: string) => string | number | any | undefined"
4937
5346
  },
4938
5347
  "fieldName": "toValue"
5348
+ },
5349
+ {
5350
+ "name": "default",
5351
+ "type": {
5352
+ "text": "string | undefined"
5353
+ },
5354
+ "fieldName": "default"
4939
5355
  }
4940
5356
  ],
4941
5357
  "superclass": {
@@ -4947,84 +5363,23 @@
4947
5363
  "exports": [
4948
5364
  {
4949
5365
  "kind": "js",
4950
- "name": "LuzmoEditOptionRadioButtonGroup",
5366
+ "name": "LuzmoEditOptionPicker",
4951
5367
  "declaration": {
4952
- "name": "LuzmoEditOptionRadioButtonGroup",
4953
- "module": "src/components/edit-option-radio-button-group/edit-option-radio-button-group.ts"
5368
+ "name": "LuzmoEditOptionPicker",
5369
+ "module": "src/components/edit-option-picker/edit-option-picker.ts"
4954
5370
  }
4955
5371
  }
4956
5372
  ]
4957
5373
  },
4958
5374
  {
4959
5375
  "kind": "javascript-module",
4960
- "path": "src/components/edit-option-slider/edit-option-slider.ts",
5376
+ "path": "src/components/edit-option-position-picker/edit-option-position-picker.ts",
4961
5377
  "declarations": [
4962
5378
  {
4963
5379
  "kind": "class",
4964
5380
  "description": "",
4965
- "name": "LuzmoEditOptionSlider",
4966
- "members": [
4967
- {
4968
- "kind": "field",
4969
- "name": "value",
4970
- "type": {
4971
- "text": "number"
4972
- },
4973
- "default": "0",
4974
- "attribute": "value",
4975
- "reflects": true
4976
- },
4977
- {
4978
- "kind": "field",
4979
- "name": "default",
4980
- "type": {
4981
- "text": "number"
4982
- },
4983
- "default": "0",
4984
- "attribute": "default",
4985
- "reflects": true
4986
- },
4987
- {
4988
- "kind": "field",
4989
- "name": "min",
4990
- "type": {
4991
- "text": "number"
4992
- },
4993
- "default": "0",
4994
- "attribute": "min",
4995
- "reflects": true
4996
- },
4997
- {
4998
- "kind": "field",
4999
- "name": "max",
5000
- "type": {
5001
- "text": "number"
5002
- },
5003
- "default": "100",
5004
- "attribute": "max",
5005
- "reflects": true
5006
- },
5007
- {
5008
- "kind": "field",
5009
- "name": "step",
5010
- "type": {
5011
- "text": "number"
5012
- },
5013
- "default": "100",
5014
- "attribute": "step",
5015
- "reflects": true
5016
- },
5017
- {
5018
- "kind": "field",
5019
- "name": "debounce",
5020
- "type": {
5021
- "text": "number"
5022
- },
5023
- "default": "200",
5024
- "attribute": "debounce",
5025
- "reflects": true
5026
- }
5027
- ],
5381
+ "name": "LuzmoEditOptionPositionPicker",
5382
+ "members": [],
5028
5383
  "events": [
5029
5384
  {
5030
5385
  "name": "option-changed",
@@ -5037,64 +5392,33 @@
5037
5392
  {
5038
5393
  "name": "value",
5039
5394
  "type": {
5040
- "text": "number"
5395
+ "text": "string | undefined"
5041
5396
  },
5042
- "default": "0",
5043
5397
  "fieldName": "value"
5044
5398
  },
5045
5399
  {
5046
- "name": "default",
5400
+ "name": "default-position",
5047
5401
  "type": {
5048
- "text": "number"
5402
+ "text": "string"
5049
5403
  },
5050
- "default": "0",
5404
+ "default": "'topRight'",
5051
5405
  "fieldName": "default"
5052
5406
  },
5053
5407
  {
5054
- "name": "min",
5055
- "type": {
5056
- "text": "number"
5057
- },
5058
- "default": "0",
5059
- "fieldName": "min"
5060
- },
5061
- {
5062
- "name": "max",
5063
- "type": {
5064
- "text": "number"
5065
- },
5066
- "default": "100",
5067
- "fieldName": "max"
5068
- },
5069
- {
5070
- "name": "step",
5071
- "type": {
5072
- "text": "number"
5073
- },
5074
- "default": "100",
5075
- "fieldName": "step"
5076
- },
5077
- {
5078
- "name": "debounce",
5079
- "type": {
5080
- "text": "number"
5081
- },
5082
- "default": "200",
5083
- "fieldName": "debounce"
5084
- },
5085
- {
5086
- "name": "parseValue",
5408
+ "name": "positions",
5087
5409
  "type": {
5088
- "text": "(value?: string | number | any) => number | undefined"
5410
+ "text": "string[] | undefined"
5089
5411
  },
5090
- "fieldName": "parseValue"
5412
+ "default": "defaults",
5413
+ "fieldName": "positions"
5091
5414
  },
5092
5415
  {
5093
- "name": "toValue",
5416
+ "name": "readonly",
5094
5417
  "type": {
5095
- "text": "(value?: number) => string | number | any | undefined"
5418
+ "text": "boolean"
5096
5419
  },
5097
- "fieldName": "toValue"
5420
+ "default": "false",
5421
+ "fieldName": "readonly"
5098
5422
  }
5099
5423
  ],
5100
5424
  "superclass": {
@@ -5106,38 +5430,48 @@
5106
5430
  "exports": [
5107
5431
  {
5108
5432
  "kind": "js",
5109
- "name": "LuzmoEditOptionSlider",
5433
+ "name": "LuzmoEditOptionPositionPicker",
5110
5434
  "declaration": {
5111
- "name": "LuzmoEditOptionSlider",
5112
- "module": "src/components/edit-option-slider/edit-option-slider.ts"
5435
+ "name": "LuzmoEditOptionPositionPicker",
5436
+ "module": "src/components/edit-option-position-picker/edit-option-position-picker.ts"
5113
5437
  }
5114
5438
  }
5115
5439
  ]
5116
5440
  },
5117
5441
  {
5118
5442
  "kind": "javascript-module",
5119
- "path": "src/components/edit-option-switch/edit-option-switch.ts",
5443
+ "path": "src/components/edit-option-positions-number-field/edit-option-positions-number-field.ts",
5120
5444
  "declarations": [
5121
5445
  {
5122
5446
  "kind": "class",
5123
5447
  "description": "",
5124
- "name": "LuzmoEditOptionSwitch",
5448
+ "name": "LuzmoEditOptionPositionsNumberField",
5125
5449
  "members": [
5126
5450
  {
5127
5451
  "kind": "field",
5128
- "name": "value",
5452
+ "name": "syncedValue",
5129
5453
  "type": {
5130
- "text": "boolean | undefined"
5131
- },
5132
- "attribute": "value"
5454
+ "text": "number | undefined"
5455
+ }
5133
5456
  },
5134
5457
  {
5135
5458
  "kind": "field",
5136
- "name": "default",
5459
+ "name": "debounceTimeout",
5137
5460
  "type": {
5138
- "text": "boolean | undefined"
5461
+ "text": "any"
5462
+ }
5463
+ },
5464
+ {
5465
+ "kind": "field",
5466
+ "name": "_positions",
5467
+ "type": {
5468
+ "text": "Position[][]"
5139
5469
  },
5140
- "attribute": "default"
5470
+ "default": "[ ['top-left', 'top', 'top-right'], ['left', 'center', 'right'], ['bottom-left', 'bottom', 'bottom-right'] ]"
5471
+ },
5472
+ {
5473
+ "kind": "method",
5474
+ "name": "toggleSync"
5141
5475
  }
5142
5476
  ],
5143
5477
  "events": [
@@ -5150,32 +5484,64 @@
5150
5484
  ],
5151
5485
  "attributes": [
5152
5486
  {
5153
- "name": "value",
5487
+ "name": "positions",
5154
5488
  "type": {
5155
- "text": "boolean | undefined"
5489
+ "text": "Position[] | undefined"
5156
5490
  },
5157
- "fieldName": "value"
5491
+ "fieldName": "positions"
5158
5492
  },
5159
5493
  {
5160
- "name": "default",
5494
+ "name": "values",
5495
+ "type": {
5496
+ "text": "Record<Position, number | undefined> | undefined"
5497
+ },
5498
+ "fieldName": "values"
5499
+ },
5500
+ {
5501
+ "name": "can-sync",
5161
5502
  "type": {
5162
5503
  "text": "boolean | undefined"
5163
5504
  },
5164
- "fieldName": "default"
5505
+ "default": "true",
5506
+ "fieldName": "canSync"
5165
5507
  },
5166
5508
  {
5167
- "name": "parseValue",
5509
+ "name": "positionConfiguration",
5168
5510
  "type": {
5169
- "text": "(value?: string | number | any) => boolean | undefined"
5511
+ "text": "Record<\n Position,\n { min?: number; max?: number; step?: number; default?: number }\n > | undefined"
5170
5512
  },
5171
- "fieldName": "parseValue"
5513
+ "fieldName": "positionConfiguration"
5172
5514
  },
5173
5515
  {
5174
- "name": "toValue",
5516
+ "name": "invalid",
5175
5517
  "type": {
5176
- "text": "(value?: boolean) => string | number | any | undefined"
5518
+ "text": "boolean"
5177
5519
  },
5178
- "fieldName": "toValue"
5520
+ "default": "false",
5521
+ "fieldName": "invalid"
5522
+ },
5523
+ {
5524
+ "name": "readonly",
5525
+ "type": {
5526
+ "text": "boolean"
5527
+ },
5528
+ "default": "false",
5529
+ "fieldName": "readonly"
5530
+ },
5531
+ {
5532
+ "name": "debounce",
5533
+ "type": {
5534
+ "text": "number"
5535
+ },
5536
+ "default": "200",
5537
+ "fieldName": "debounce"
5538
+ },
5539
+ {
5540
+ "name": "sync",
5541
+ "type": {
5542
+ "text": "boolean | undefined"
5543
+ },
5544
+ "fieldName": "sync"
5179
5545
  }
5180
5546
  ],
5181
5547
  "superclass": {
@@ -5187,22 +5553,22 @@
5187
5553
  "exports": [
5188
5554
  {
5189
5555
  "kind": "js",
5190
- "name": "LuzmoEditOptionSwitch",
5556
+ "name": "LuzmoEditOptionPositionsNumberField",
5191
5557
  "declaration": {
5192
- "name": "LuzmoEditOptionSwitch",
5193
- "module": "src/components/edit-option-switch/edit-option-switch.ts"
5558
+ "name": "LuzmoEditOptionPositionsNumberField",
5559
+ "module": "src/components/edit-option-positions-number-field/edit-option-positions-number-field.ts"
5194
5560
  }
5195
5561
  }
5196
5562
  ]
5197
5563
  },
5198
5564
  {
5199
5565
  "kind": "javascript-module",
5200
- "path": "src/components/edit-option-text-field/edit-option-text-field.ts",
5566
+ "path": "src/components/edit-option-radio-button-group/edit-option-radio-button-group.ts",
5201
5567
  "declarations": [
5202
5568
  {
5203
5569
  "kind": "class",
5204
5570
  "description": "",
5205
- "name": "LuzmoEditOptionTextField",
5571
+ "name": "LuzmoEditOptionRadioButtonGroup",
5206
5572
  "members": [
5207
5573
  {
5208
5574
  "kind": "field",
@@ -5210,14 +5576,6 @@
5210
5576
  "type": {
5211
5577
  "text": "any"
5212
5578
  }
5213
- },
5214
- {
5215
- "kind": "field",
5216
- "name": "_previousValue",
5217
- "type": {
5218
- "text": "string"
5219
- },
5220
- "default": "''"
5221
5579
  }
5222
5580
  ],
5223
5581
  "events": [
@@ -5230,42 +5588,48 @@
5230
5588
  ],
5231
5589
  "attributes": [
5232
5590
  {
5233
- "name": "value",
5591
+ "name": "values",
5234
5592
  "type": {
5235
- "text": "string | undefined"
5593
+ "text": "Record<string, string>"
5236
5594
  },
5237
- "fieldName": "value"
5595
+ "default": "{}",
5596
+ "fieldName": "values"
5238
5597
  },
5239
5598
  {
5240
- "name": "invalid",
5599
+ "name": "disabled",
5241
5600
  "type": {
5242
5601
  "text": "boolean"
5243
5602
  },
5244
5603
  "default": "false",
5245
- "fieldName": "invalid"
5604
+ "fieldName": "disabled"
5246
5605
  },
5247
5606
  {
5248
- "name": "readonly",
5607
+ "name": "value",
5249
5608
  "type": {
5250
- "text": "boolean"
5609
+ "text": "string"
5251
5610
  },
5252
- "default": "false",
5253
- "fieldName": "readonly"
5611
+ "fieldName": "value"
5254
5612
  },
5255
5613
  {
5256
- "name": "placeholder",
5614
+ "name": "default",
5257
5615
  "type": {
5258
- "text": "string | undefined"
5616
+ "text": "string"
5259
5617
  },
5260
- "fieldName": "placeholder"
5618
+ "fieldName": "default"
5261
5619
  },
5262
5620
  {
5263
- "name": "debounce",
5621
+ "name": "parseValue",
5264
5622
  "type": {
5265
- "text": "number"
5623
+ "text": "(value?: string | number | any) => string | undefined"
5266
5624
  },
5267
- "default": "200",
5268
- "fieldName": "debounce"
5625
+ "fieldName": "parseValue"
5626
+ },
5627
+ {
5628
+ "name": "toValue",
5629
+ "type": {
5630
+ "text": "(value?: string) => string | number | any | undefined"
5631
+ },
5632
+ "fieldName": "toValue"
5269
5633
  }
5270
5634
  ],
5271
5635
  "superclass": {
@@ -5277,244 +5641,294 @@
5277
5641
  "exports": [
5278
5642
  {
5279
5643
  "kind": "js",
5280
- "name": "LuzmoEditOptionTextField",
5644
+ "name": "LuzmoEditOptionRadioButtonGroup",
5281
5645
  "declaration": {
5282
- "name": "LuzmoEditOptionTextField",
5283
- "module": "src/components/edit-option-text-field/edit-option-text-field.ts"
5646
+ "name": "LuzmoEditOptionRadioButtonGroup",
5647
+ "module": "src/components/edit-option-radio-button-group/edit-option-radio-button-group.ts"
5284
5648
  }
5285
5649
  }
5286
5650
  ]
5287
5651
  },
5288
5652
  {
5289
5653
  "kind": "javascript-module",
5290
- "path": "src/components/filter-data-item-picker/filter-data-item-picker.ts",
5654
+ "path": "src/components/edit-option-slider/edit-option-slider.ts",
5291
5655
  "declarations": [
5292
5656
  {
5293
5657
  "kind": "class",
5294
5658
  "description": "",
5295
- "name": "LuzmoFilterDataItemPicker",
5659
+ "name": "LuzmoEditOptionSlider",
5296
5660
  "members": [
5297
5661
  {
5298
5662
  "kind": "field",
5299
- "name": "language",
5663
+ "name": "value",
5300
5664
  "type": {
5301
- "text": "string"
5665
+ "text": "number"
5302
5666
  },
5303
- "default": "'en'",
5304
- "description": "The language of the settings interface",
5305
- "attribute": "language",
5667
+ "default": "0",
5668
+ "attribute": "value",
5306
5669
  "reflects": true
5307
5670
  },
5308
5671
  {
5309
5672
  "kind": "field",
5310
- "name": "contentLanguage",
5673
+ "name": "default",
5311
5674
  "type": {
5312
- "text": "string"
5675
+ "text": "number"
5313
5676
  },
5314
- "default": "'en'",
5315
- "description": "The language to use for locale-aware formatting and labels",
5316
- "attribute": "content-language",
5677
+ "default": "0",
5678
+ "attribute": "default",
5317
5679
  "reflects": true
5318
5680
  },
5319
5681
  {
5320
5682
  "kind": "field",
5321
- "name": "hasLabel",
5683
+ "name": "min",
5322
5684
  "type": {
5323
- "text": "boolean"
5685
+ "text": "number"
5324
5686
  },
5325
- "default": "false",
5326
- "description": "Whether the picker has a label",
5327
- "attribute": "has-label",
5687
+ "default": "0",
5688
+ "attribute": "min",
5328
5689
  "reflects": true
5329
5690
  },
5330
5691
  {
5331
5692
  "kind": "field",
5332
- "name": "label",
5693
+ "name": "max",
5333
5694
  "type": {
5334
- "text": "string | undefined"
5695
+ "text": "number"
5335
5696
  },
5336
- "description": "The label for the picker, if hasLabel is true",
5337
- "attribute": "label",
5697
+ "default": "100",
5698
+ "attribute": "max",
5338
5699
  "reflects": true
5339
5700
  },
5340
5701
  {
5341
5702
  "kind": "field",
5342
- "name": "icons",
5703
+ "name": "step",
5343
5704
  "type": {
5344
- "text": "'none' | 'only-menu' | 'all' | undefined"
5705
+ "text": "number"
5345
5706
  },
5346
- "default": "'only-menu'",
5347
- "description": "Where to show icons",
5348
- "attribute": "icons",
5707
+ "default": "100",
5708
+ "attribute": "step",
5349
5709
  "reflects": true
5350
5710
  },
5351
5711
  {
5352
5712
  "kind": "field",
5353
- "name": "allowEmpty",
5713
+ "name": "debounce",
5354
5714
  "type": {
5355
- "text": "boolean"
5715
+ "text": "number"
5356
5716
  },
5357
- "default": "false",
5358
- "description": "Allow no selection. If true, the picker will not show a value when no item is selected. Else if no value is provided it will pick the first item.",
5359
- "attribute": "allow-empty",
5717
+ "default": "200",
5718
+ "attribute": "debounce",
5360
5719
  "reflects": true
5720
+ }
5721
+ ],
5722
+ "events": [
5723
+ {
5724
+ "name": "option-changed",
5725
+ "type": {
5726
+ "text": "CustomEvent"
5727
+ }
5728
+ }
5729
+ ],
5730
+ "attributes": [
5731
+ {
5732
+ "name": "value",
5733
+ "type": {
5734
+ "text": "number"
5735
+ },
5736
+ "default": "0",
5737
+ "fieldName": "value"
5361
5738
  },
5362
5739
  {
5363
- "kind": "field",
5364
- "name": "placeholder",
5740
+ "name": "default",
5365
5741
  "type": {
5366
- "text": "string"
5742
+ "text": "number"
5367
5743
  },
5368
- "default": "''",
5369
- "description": "The placeholder text for the picker is no value selected. If allowEmpty is true, this will be used as the label.",
5370
- "attribute": "placeholder",
5371
- "reflects": true
5744
+ "default": "0",
5745
+ "fieldName": "default"
5372
5746
  },
5373
5747
  {
5374
- "kind": "field",
5375
- "name": "dataItemId",
5748
+ "name": "min",
5376
5749
  "type": {
5377
- "text": "string"
5750
+ "text": "number"
5378
5751
  },
5379
- "default": "''",
5380
- "description": "The dataItemId to display in the picker. If not provided, the first item will be displayed.",
5381
- "attribute": "data-item-id",
5382
- "reflects": true
5752
+ "default": "0",
5753
+ "fieldName": "min"
5383
5754
  },
5384
5755
  {
5385
- "kind": "field",
5386
- "name": "loading",
5756
+ "name": "max",
5387
5757
  "type": {
5388
- "text": "boolean"
5758
+ "text": "number"
5389
5759
  },
5390
- "default": "false",
5391
- "description": "Whether the picker is in loading state",
5392
- "attribute": "loading",
5393
- "reflects": true
5760
+ "default": "100",
5761
+ "fieldName": "max"
5394
5762
  },
5395
5763
  {
5396
- "kind": "field",
5397
- "name": "invalid",
5764
+ "name": "step",
5398
5765
  "type": {
5399
- "text": "boolean"
5766
+ "text": "number"
5400
5767
  },
5401
- "default": "false",
5402
- "description": "Whether the picker is invalid - eg. the dataItemId is not found in the datasetsDataItems or query failed to fetch data",
5403
- "attribute": "invalid",
5404
- "reflects": true
5768
+ "default": "100",
5769
+ "fieldName": "step"
5405
5770
  },
5406
5771
  {
5407
- "kind": "field",
5408
- "name": "datasetsDataItems",
5772
+ "name": "debounce",
5409
5773
  "type": {
5410
- "text": "{\n id: string;\n name: { [key: string]: string };\n columns: DataItem[];\n formulas: DataItem[];\n }[]"
5774
+ "text": "number"
5411
5775
  },
5412
- "default": "[]",
5413
- "description": "The datasets and their dataItems to display",
5414
- "attribute": "datasetsDataItems"
5776
+ "default": "200",
5777
+ "fieldName": "debounce"
5415
5778
  },
5416
5779
  {
5417
- "kind": "method",
5418
- "name": "setDataItem",
5419
- "parameters": [
5420
- {
5421
- "name": "event",
5422
- "type": {
5423
- "text": "CustomEvent"
5424
- }
5425
- }
5426
- ]
5427
- }
5428
- ],
5429
- "events": [
5780
+ "name": "parseValue",
5781
+ "type": {
5782
+ "text": "(value?: string | number | any) => number | undefined"
5783
+ },
5784
+ "fieldName": "parseValue"
5785
+ },
5430
5786
  {
5431
- "name": "data-item-selected",
5787
+ "name": "toValue",
5432
5788
  "type": {
5433
- "text": "CustomEvent"
5789
+ "text": "(value?: number) => string | number | any | undefined"
5434
5790
  },
5435
- "description": "Emitted when a data item is selected"
5791
+ "fieldName": "toValue"
5436
5792
  }
5437
5793
  ],
5438
- "attributes": [
5794
+ "superclass": {
5795
+ "name": "LuzmoEditOptionBase",
5796
+ "module": "/src/components/edit-option-base/edit-option-base"
5797
+ }
5798
+ }
5799
+ ],
5800
+ "exports": [
5801
+ {
5802
+ "kind": "js",
5803
+ "name": "LuzmoEditOptionSlider",
5804
+ "declaration": {
5805
+ "name": "LuzmoEditOptionSlider",
5806
+ "module": "src/components/edit-option-slider/edit-option-slider.ts"
5807
+ }
5808
+ }
5809
+ ]
5810
+ },
5811
+ {
5812
+ "kind": "javascript-module",
5813
+ "path": "src/components/edit-option-switch/edit-option-switch.ts",
5814
+ "declarations": [
5815
+ {
5816
+ "kind": "class",
5817
+ "description": "",
5818
+ "name": "LuzmoEditOptionSwitch",
5819
+ "members": [
5439
5820
  {
5440
- "name": "language",
5821
+ "kind": "field",
5822
+ "name": "value",
5441
5823
  "type": {
5442
- "text": "string"
5824
+ "text": "boolean | undefined"
5443
5825
  },
5444
- "default": "'en'",
5445
- "description": "The language of the settings interface",
5446
- "fieldName": "language"
5826
+ "attribute": "value"
5447
5827
  },
5448
5828
  {
5449
- "name": "content-language",
5829
+ "kind": "field",
5830
+ "name": "default",
5450
5831
  "type": {
5451
- "text": "string"
5832
+ "text": "boolean | undefined"
5452
5833
  },
5453
- "default": "'en'",
5454
- "description": "The language to use for locale-aware formatting and labels",
5455
- "fieldName": "contentLanguage"
5456
- },
5834
+ "attribute": "default"
5835
+ }
5836
+ ],
5837
+ "events": [
5457
5838
  {
5458
- "name": "has-label",
5839
+ "name": "option-changed",
5459
5840
  "type": {
5460
- "text": "boolean"
5461
- },
5462
- "default": "false",
5463
- "description": "Whether the picker has a label",
5464
- "fieldName": "hasLabel"
5465
- },
5841
+ "text": "CustomEvent"
5842
+ }
5843
+ }
5844
+ ],
5845
+ "attributes": [
5466
5846
  {
5467
- "name": "label",
5847
+ "name": "value",
5468
5848
  "type": {
5469
- "text": "string | undefined"
5849
+ "text": "boolean | undefined"
5470
5850
  },
5471
- "description": "The label for the picker, if hasLabel is true",
5472
- "fieldName": "label"
5851
+ "fieldName": "value"
5473
5852
  },
5474
5853
  {
5475
- "name": "icons",
5854
+ "name": "default",
5476
5855
  "type": {
5477
- "text": "'none' | 'only-menu' | 'all' | undefined"
5856
+ "text": "boolean | undefined"
5478
5857
  },
5479
- "default": "'only-menu'",
5480
- "description": "Where to show icons",
5481
- "fieldName": "icons"
5858
+ "fieldName": "default"
5482
5859
  },
5483
5860
  {
5484
- "name": "allow-empty",
5861
+ "name": "parseValue",
5485
5862
  "type": {
5486
- "text": "boolean"
5863
+ "text": "(value?: string | number | any) => boolean | undefined"
5487
5864
  },
5488
- "default": "false",
5489
- "description": "Allow no selection. If true, the picker will not show a value when no item is selected. Else if no value is provided it will pick the first item.",
5490
- "fieldName": "allowEmpty"
5865
+ "fieldName": "parseValue"
5491
5866
  },
5492
5867
  {
5493
- "name": "placeholder",
5868
+ "name": "toValue",
5494
5869
  "type": {
5495
- "text": "string"
5870
+ "text": "(value?: boolean) => string | number | any | undefined"
5496
5871
  },
5497
- "default": "''",
5498
- "description": "The placeholder text for the picker is no value selected. If allowEmpty is true, this will be used as the label.",
5499
- "fieldName": "placeholder"
5872
+ "fieldName": "toValue"
5873
+ }
5874
+ ],
5875
+ "superclass": {
5876
+ "name": "LuzmoEditOptionBase",
5877
+ "module": "/src/components/edit-option-base/edit-option-base"
5878
+ }
5879
+ }
5880
+ ],
5881
+ "exports": [
5882
+ {
5883
+ "kind": "js",
5884
+ "name": "LuzmoEditOptionSwitch",
5885
+ "declaration": {
5886
+ "name": "LuzmoEditOptionSwitch",
5887
+ "module": "src/components/edit-option-switch/edit-option-switch.ts"
5888
+ }
5889
+ }
5890
+ ]
5891
+ },
5892
+ {
5893
+ "kind": "javascript-module",
5894
+ "path": "src/components/edit-option-text-field/edit-option-text-field.ts",
5895
+ "declarations": [
5896
+ {
5897
+ "kind": "class",
5898
+ "description": "",
5899
+ "name": "LuzmoEditOptionTextField",
5900
+ "members": [
5901
+ {
5902
+ "kind": "field",
5903
+ "name": "debounceTimeout",
5904
+ "type": {
5905
+ "text": "any"
5906
+ }
5500
5907
  },
5501
5908
  {
5502
- "name": "data-item-id",
5909
+ "kind": "field",
5910
+ "name": "_previousValue",
5503
5911
  "type": {
5504
5912
  "text": "string"
5505
5913
  },
5506
- "default": "''",
5507
- "description": "The dataItemId to display in the picker. If not provided, the first item will be displayed.",
5508
- "fieldName": "dataItemId"
5509
- },
5914
+ "default": "''"
5915
+ }
5916
+ ],
5917
+ "events": [
5510
5918
  {
5511
- "name": "loading",
5919
+ "name": "option-changed",
5512
5920
  "type": {
5513
- "text": "boolean"
5921
+ "text": "CustomEvent"
5922
+ }
5923
+ }
5924
+ ],
5925
+ "attributes": [
5926
+ {
5927
+ "name": "value",
5928
+ "type": {
5929
+ "text": "string | undefined"
5514
5930
  },
5515
- "default": "false",
5516
- "description": "Whether the picker is in loading state",
5517
- "fieldName": "loading"
5931
+ "fieldName": "value"
5518
5932
  },
5519
5933
  {
5520
5934
  "name": "invalid",
@@ -5522,65 +5936,45 @@
5522
5936
  "text": "boolean"
5523
5937
  },
5524
5938
  "default": "false",
5525
- "description": "Whether the picker is invalid - eg. the dataItemId is not found in the datasetsDataItems or query failed to fetch data",
5526
5939
  "fieldName": "invalid"
5527
5940
  },
5528
5941
  {
5529
- "name": "datasetsDataItems",
5530
- "type": {
5531
- "text": "{\n id: string;\n name: { [key: string]: string };\n columns: DataItem[];\n formulas: DataItem[];\n }[]"
5532
- },
5533
- "default": "[]",
5534
- "description": "The datasets and their dataItems to display",
5535
- "fieldName": "datasetsDataItems"
5536
- },
5537
- {
5538
- "name": "size",
5539
- "type": {
5540
- "text": "'s' | 'm' | 'l' | 'xl'"
5541
- },
5542
- "default": "m",
5543
- "description": "The size of the element",
5544
- "fieldName": "size"
5545
- },
5546
- {
5547
- "name": "disabled",
5942
+ "name": "readonly",
5548
5943
  "type": {
5549
5944
  "text": "boolean"
5550
5945
  },
5551
5946
  "default": "false",
5552
- "description": "Disable this control. It will not receive focus or events",
5553
- "fieldName": "disabled"
5947
+ "fieldName": "readonly"
5554
5948
  },
5555
5949
  {
5556
- "name": "autofocus",
5950
+ "name": "placeholder",
5557
5951
  "type": {
5558
- "text": "boolean"
5952
+ "text": "string | undefined"
5559
5953
  },
5560
- "default": "false",
5561
- "description": "When this control is rendered, focus it automatically",
5562
- "fieldName": "autofocus"
5954
+ "fieldName": "placeholder"
5563
5955
  },
5564
5956
  {
5565
- "name": "tabIndex",
5957
+ "name": "debounce",
5566
5958
  "type": {
5567
5959
  "text": "number"
5568
5960
  },
5569
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
5570
- "fieldName": "tabIndex"
5961
+ "default": "200",
5962
+ "fieldName": "debounce"
5571
5963
  }
5572
5964
  ],
5573
- "tagName": "luzmo-filter-data-item-picker",
5574
- "customElement": true
5965
+ "superclass": {
5966
+ "name": "LuzmoEditOptionBase",
5967
+ "module": "/src/components/edit-option-base/edit-option-base"
5968
+ }
5575
5969
  }
5576
5970
  ],
5577
5971
  "exports": [
5578
5972
  {
5579
5973
  "kind": "js",
5580
- "name": "LuzmoFilterDataItemPicker",
5974
+ "name": "LuzmoEditOptionTextField",
5581
5975
  "declaration": {
5582
- "name": "LuzmoFilterDataItemPicker",
5583
- "module": "src/components/filter-data-item-picker/filter-data-item-picker.ts"
5976
+ "name": "LuzmoEditOptionTextField",
5977
+ "module": "src/components/edit-option-text-field/edit-option-text-field.ts"
5584
5978
  }
5585
5979
  }
5586
5980
  ]
@@ -5879,127 +6273,6 @@
5879
6273
  }
5880
6274
  ]
5881
6275
  },
5882
- {
5883
- "kind": "javascript-module",
5884
- "path": "src/components/filter-group/filter-group.ts",
5885
- "declarations": [
5886
- {
5887
- "kind": "class",
5888
- "description": "",
5889
- "name": "LuzmoFilterGroup",
5890
- "members": [
5891
- {
5892
- "kind": "field",
5893
- "name": "language",
5894
- "type": {
5895
- "text": "string"
5896
- },
5897
- "default": "'en'",
5898
- "description": "The language of the settings interface",
5899
- "attribute": "language",
5900
- "reflects": true
5901
- },
5902
- {
5903
- "kind": "field",
5904
- "name": "contentLanguage",
5905
- "type": {
5906
- "text": "string"
5907
- },
5908
- "default": "'en'",
5909
- "description": "The language to use for locale-aware formatting and labels",
5910
- "attribute": "content-language",
5911
- "reflects": true
5912
- },
5913
- {
5914
- "kind": "field",
5915
- "name": "filters",
5916
- "type": {
5917
- "text": "any[]"
5918
- },
5919
- "default": "[]",
5920
- "description": "The filters to display in the group",
5921
- "attribute": "filters"
5922
- }
5923
- ],
5924
- "attributes": [
5925
- {
5926
- "name": "language",
5927
- "type": {
5928
- "text": "string"
5929
- },
5930
- "default": "'en'",
5931
- "description": "The language of the settings interface",
5932
- "fieldName": "language"
5933
- },
5934
- {
5935
- "name": "content-language",
5936
- "type": {
5937
- "text": "string"
5938
- },
5939
- "default": "'en'",
5940
- "description": "The language to use for locale-aware formatting and labels",
5941
- "fieldName": "contentLanguage"
5942
- },
5943
- {
5944
- "name": "filters",
5945
- "type": {
5946
- "text": "any[]"
5947
- },
5948
- "default": "[]",
5949
- "description": "The filters to display in the group",
5950
- "fieldName": "filters"
5951
- },
5952
- {
5953
- "name": "size",
5954
- "type": {
5955
- "text": "'s' | 'm' | 'l' | 'xl'"
5956
- },
5957
- "default": "m",
5958
- "description": "The size of the element",
5959
- "fieldName": "size"
5960
- },
5961
- {
5962
- "name": "disabled",
5963
- "type": {
5964
- "text": "boolean"
5965
- },
5966
- "default": "false",
5967
- "description": "Disable this control. It will not receive focus or events",
5968
- "fieldName": "disabled"
5969
- },
5970
- {
5971
- "name": "autofocus",
5972
- "type": {
5973
- "text": "boolean"
5974
- },
5975
- "default": "false",
5976
- "description": "When this control is rendered, focus it automatically",
5977
- "fieldName": "autofocus"
5978
- },
5979
- {
5980
- "name": "tabIndex",
5981
- "type": {
5982
- "text": "number"
5983
- },
5984
- "description": "The tab index to apply to this control. See general documentation about the tabindex HTML property",
5985
- "fieldName": "tabIndex"
5986
- }
5987
- ],
5988
- "tagName": "luzmo-filter-group",
5989
- "customElement": true
5990
- }
5991
- ],
5992
- "exports": [
5993
- {
5994
- "kind": "js",
5995
- "name": "LuzmoFilterGroup",
5996
- "declaration": {
5997
- "name": "LuzmoFilterGroup",
5998
- "module": "src/components/filter-group/filter-group.ts"
5999
- }
6000
- }
6001
- ]
6002
- },
6003
6276
  {
6004
6277
  "kind": "javascript-module",
6005
6278
  "path": "src/components/filter-item/filter-item.ts",
@@ -6960,6 +7233,16 @@
6960
7233
  ],
6961
7234
  "tagName": "luzmo-filter-value-picker-hierarchy",
6962
7235
  "customElement": true
7236
+ },
7237
+ {
7238
+ "kind": "variable",
7239
+ "name": "abortController",
7240
+ "default": "new AbortController()"
7241
+ },
7242
+ {
7243
+ "kind": "variable",
7244
+ "name": "promise",
7245
+ "default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
6963
7246
  }
6964
7247
  ],
6965
7248
  "exports": [
@@ -7163,6 +7446,16 @@
7163
7446
  ],
7164
7447
  "tagName": "luzmo-filter-value-picker-numeric",
7165
7448
  "customElement": true
7449
+ },
7450
+ {
7451
+ "kind": "variable",
7452
+ "name": "abortController",
7453
+ "default": "new AbortController()"
7454
+ },
7455
+ {
7456
+ "kind": "variable",
7457
+ "name": "promise",
7458
+ "default": "new Promise((resolve, reject) => { const fetchDataPromise = dataBroker.fetchData(query); fetchDataPromise.then(resolve).catch(reject); abortController.signal.addEventListener('abort', () => { console.warn('Request aborted'); reject({ status: 'aborted' }); }); })"
7166
7459
  }
7167
7460
  ],
7168
7461
  "exports": [
@@ -7678,7 +7971,7 @@
7678
7971
  "kind": "field",
7679
7972
  "name": "itemType",
7680
7973
  "type": {
7681
- "text": "string | undefined"
7974
+ "text": "VizItemType | undefined"
7682
7975
  },
7683
7976
  "description": "The type of the item",
7684
7977
  "attribute": "item-type",
@@ -7688,7 +7981,7 @@
7688
7981
  "kind": "field",
7689
7982
  "name": "slotName",
7690
7983
  "type": {
7691
- "text": "string | undefined"
7984
+ "text": "SlotName | undefined"
7692
7985
  },
7693
7986
  "description": "The name of the slot",
7694
7987
  "attribute": "slot-name",
@@ -7775,7 +8068,7 @@
7775
8068
  "text": "'single' | 'multiple'"
7776
8069
  },
7777
8070
  "default": "'multiple'",
7778
- "description": "Whether the picker allows multiple selections. Only relevant if the slot configuration allows multiple data items.",
8071
+ "description": "Whether the picker allows single or multiple selections. Only relevant if the slot configuration allows multiple data items.",
7779
8072
  "attribute": "selects",
7780
8073
  "reflects": true
7781
8074
  },
@@ -7783,9 +8076,9 @@
7783
8076
  "kind": "field",
7784
8077
  "name": "icons",
7785
8078
  "type": {
7786
- "text": "'none' | 'only-menu' | 'all' | undefined"
8079
+ "text": "'none' | 'menu-only' | 'all' | undefined"
7787
8080
  },
7788
- "default": "'only-menu'",
8081
+ "default": "'menu-only'",
7789
8082
  "description": "Where to show icons",
7790
8083
  "attribute": "icons",
7791
8084
  "reflects": true
@@ -7828,6 +8121,7 @@
7828
8121
  "text": "boolean"
7829
8122
  },
7830
8123
  "default": "true",
8124
+ "description": "Whether to hide the delete button",
7831
8125
  "attribute": "hide-delete",
7832
8126
  "reflects": true
7833
8127
  },
@@ -7837,17 +8131,20 @@
7837
8131
  "type": {
7838
8132
  "text": "boolean | undefined"
7839
8133
  },
8134
+ "description": "Whether to hide the configuration button",
8135
+ "default": "false",
7840
8136
  "attribute": "hide-configuration",
7841
8137
  "reflects": true
7842
8138
  },
7843
8139
  {
7844
8140
  "kind": "field",
7845
- "name": "stretch",
8141
+ "name": "hideClear",
7846
8142
  "type": {
7847
8143
  "text": "boolean"
7848
8144
  },
7849
8145
  "default": "false",
7850
- "attribute": "stretch",
8146
+ "description": "Whether to hide the clear button op a select",
8147
+ "attribute": "hide-clear",
7851
8148
  "reflects": true
7852
8149
  }
7853
8150
  ],
@@ -7858,10 +8155,20 @@
7858
8155
  }
7859
8156
  ],
7860
8157
  "attributes": [
8158
+ {
8159
+ "name": "search",
8160
+ "type": {
8161
+ "text": "'on' | 'off' | 'auto' | undefined"
8162
+ },
8163
+ "default": "'auto'",
8164
+ "fieldName": "search",
8165
+ "description": "Whether the search input is visible.",
8166
+ "attribute": "search"
8167
+ },
7861
8168
  {
7862
8169
  "name": "item-type",
7863
8170
  "type": {
7864
- "text": "string | undefined"
8171
+ "text": "VizItemType | undefined"
7865
8172
  },
7866
8173
  "description": "The type of the item",
7867
8174
  "fieldName": "itemType"
@@ -7869,7 +8176,7 @@
7869
8176
  {
7870
8177
  "name": "slot-name",
7871
8178
  "type": {
7872
- "text": "string | undefined"
8179
+ "text": "SlotName | undefined"
7873
8180
  },
7874
8181
  "description": "The name of the slot",
7875
8182
  "fieldName": "slotName"
@@ -7942,15 +8249,15 @@
7942
8249
  "text": "'single' | 'multiple'"
7943
8250
  },
7944
8251
  "default": "'multiple'",
7945
- "description": "Whether the picker allows multiple selections. Only relevant if the slot configuration allows multiple data items.",
8252
+ "description": "Whether the picker allows single or multiple selections. Only relevant if the slot configuration allows multiple data items.",
7946
8253
  "fieldName": "selects"
7947
8254
  },
7948
8255
  {
7949
8256
  "name": "icons",
7950
8257
  "type": {
7951
- "text": "'none' | 'only-menu' | 'all' | undefined"
8258
+ "text": "'none' | 'menu-only' | 'all' | undefined"
7952
8259
  },
7953
- "default": "'only-menu'",
8260
+ "default": "'menu-only'",
7954
8261
  "description": "Where to show icons",
7955
8262
  "fieldName": "icons"
7956
8263
  },
@@ -7986,6 +8293,7 @@
7986
8293
  "text": "boolean"
7987
8294
  },
7988
8295
  "default": "true",
8296
+ "description": "Whether to hide the delete button",
7989
8297
  "fieldName": "hideDelete"
7990
8298
  },
7991
8299
  {
@@ -7993,15 +8301,18 @@
7993
8301
  "type": {
7994
8302
  "text": "boolean | undefined"
7995
8303
  },
8304
+ "description": "Whether to hide the configuration button",
8305
+ "default": "false",
7996
8306
  "fieldName": "hideConfiguration"
7997
8307
  },
7998
8308
  {
7999
- "name": "stretch",
8309
+ "name": "hide-clear",
8000
8310
  "type": {
8001
8311
  "text": "boolean"
8002
8312
  },
8003
8313
  "default": "false",
8004
- "fieldName": "stretch"
8314
+ "description": "Whether to hide the clear button op a select",
8315
+ "fieldName": "hideClear"
8005
8316
  },
8006
8317
  {
8007
8318
  "name": "size",