@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
package/angular/README.md CHANGED
@@ -26,6 +26,7 @@ bootstrapApplication(AiChatMessageAssistantComponent);
26
26
  - `AiChatMessageUserComponent` → <luzmo-ai-chat-message-user>
27
27
  - `AiChatMessagesContainerComponent` → <luzmo-ai-chat-messages-container>
28
28
  - `AiInteractionTextareaComponent` → <luzmo-ai-interaction-textarea>
29
+ - `DataItemsSelectComponent` → <luzmo-data-items-select>
29
30
  - `DatasetIconComponent` → <luzmo-dataset-icon>
30
31
  - `DatasetSelectorListComponent` → <luzmo-dataset-selector-list>
31
32
  - `DatasetSelectorRowComponent` → <luzmo-dataset-selector-row>
@@ -38,13 +39,12 @@ bootstrapApplication(AiChatMessageAssistantComponent);
38
39
  - `DraggableDataItemComponent` → <luzmo-draggable-data-item>
39
40
  - `DraggableDataItemLevelComponent` → <luzmo-draggable-data-item-level>
40
41
  - `DroppableSlotComponent` → <luzmo-droppable-slot>
42
+ - `EditFiltersComponent` → <luzmo-edit-filters>
41
43
  - `EditItemComponent` → <luzmo-edit-item>
42
44
  - `EditOptionComponent` → <luzmo-edit-option>
43
45
  - `EditOptionColorPickerComponent` → <luzmo-edit-option-color-picker>
44
46
  - `EditOptionColorRangeComponent` → <luzmo-edit-option-color-range>
45
- - `FilterDataItemPickerComponent` → <luzmo-filter-data-item-picker>
46
47
  - `FilterExpressionPickerComponent` → <luzmo-filter-expression-picker>
47
- - `FilterGroupComponent` → <luzmo-filter-group>
48
48
  - `FilterItemComponent` → <luzmo-filter-item>
49
49
  - `FilterParameterPickerComponent` → <luzmo-filter-parameter-picker>
50
50
  - `FilterValuePickerComponent` → <luzmo-filter-value-picker>
@@ -14,6 +14,10 @@ import type { Dataset } from '../types';
14
14
  [attr.app-server]="appServer"
15
15
  [attr.flag-opendata]="flagOpendata"
16
16
  [attr.disabled]="disabled"
17
+ [attr.single-line]="singleLine"
18
+ [attr.hide-dataset-button]="hideDatasetButton"
19
+ [attr.is-generating]="isGenerating"
20
+ [attr.value]="value"
17
21
  (prompt-submitted)="promptSubmitted.emit($event)">
18
22
  <ng-content></ng-content>
19
23
  </luzmo-ai-interaction-textarea>`
@@ -27,5 +31,9 @@ export class AiInteractionTextareaComponent {
27
31
  @Input() appServer?: string;
28
32
  @Input() flagOpendata?: boolean;
29
33
  @Input() disabled?: boolean;
34
+ @Input() singleLine?: boolean;
35
+ @Input() hideDatasetButton?: boolean;
36
+ @Input() isGenerating?: boolean;
37
+ @Input() value?: string;
30
38
  @Output() promptSubmitted = new EventEmitter<CustomEvent>();
31
39
  }
@@ -1,50 +1,67 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
- import type { DataItem } from '../types';
2
+ import type { DataItemExtended } from '../types';
3
3
 
4
4
  @Component({
5
- selector: 'luzmo-filter-data-item-picker',
5
+ selector: 'luzmo-data-items-select',
6
6
  standalone: true,
7
7
  changeDetection: ChangeDetectionStrategy.OnPush,
8
- template: `<luzmo-filter-data-item-picker
8
+ template: `<luzmo-data-items-select
9
9
  [attr.language]="language"
10
10
  [attr.content-language]="contentLanguage"
11
- [attr.has-label]="hasLabel"
12
11
  [attr.label]="label"
13
12
  [attr.icons]="icons"
14
13
  [attr.allow-empty]="allowEmpty"
15
14
  [attr.placeholder]="placeholder"
16
- [attr.data-item-id]="dataItemId"
15
+ [attr.selects]="selects"
16
+ [attr.data-item-ids]="dataItemIds"
17
17
  [attr.loading]="loading"
18
18
  [attr.invalid]="invalid"
19
+ [attr.clearable]="clearable"
20
+ [attr.pending]="pending"
21
+ [attr.disabled]="disabled"
22
+ [attr.placement]="placement"
19
23
  [attr.datasetsDataItems]="datasetsDataItems"
20
24
  [attr.size]="size"
21
- [attr.disabled]="disabled"
22
25
  [attr.autofocus]="autofocus"
23
26
  [attr.tabIndex]="tabIndex"
24
- (data-item-selected)="dataItemSelected.emit($event)">
27
+ (data-items-selected)="dataItemsSelected.emit($event)">
25
28
  <ng-content></ng-content>
26
- </luzmo-filter-data-item-picker>`
29
+ </luzmo-data-items-select>`
27
30
  })
28
- export class FilterDataItemPickerComponent {
31
+ export class DataItemsSelectComponent {
29
32
  @Input() language?: string;
30
33
  @Input() contentLanguage?: string;
31
- @Input() hasLabel?: boolean;
32
34
  @Input() label?: string;
33
- @Input() icons?: 'none' | 'only-menu' | 'all';
35
+ @Input() icons?: 'none' | 'menu-only' | 'all';
34
36
  @Input() allowEmpty?: boolean;
35
- @Input() placeholder?: string;
36
- @Input() dataItemId?: string;
37
+ @Input() placeholder?: any;
38
+ @Input() selects?: 'single' | 'multiple';
39
+ @Input() dataItemIds?: string[];
37
40
  @Input() loading?: boolean;
38
41
  @Input() invalid?: boolean;
42
+ @Input() clearable?: boolean;
43
+ @Input() pending?: boolean;
44
+ @Input() disabled?: boolean;
45
+ @Input() placement?: | 'top'
46
+ | 'top-start'
47
+ | 'top-end'
48
+ | 'right'
49
+ | 'right-start'
50
+ | 'right-end'
51
+ | 'bottom'
52
+ | 'bottom-start'
53
+ | 'bottom-end'
54
+ | 'left'
55
+ | 'left-start'
56
+ | 'left-end';
39
57
  @Input() datasetsDataItems?: {
40
58
  id: string;
41
59
  name: { [key: string]: string };
42
- columns: DataItem[];
43
- formulas: DataItem[];
60
+ columns: DataItemExtended[];
61
+ formulas: DataItemExtended[];
44
62
  }[];
45
63
  @Input() size?: any;
46
- @Input() disabled?: any;
47
64
  @Input() autofocus?: any;
48
65
  @Input() tabIndex?: any;
49
- @Output() dataItemSelected = new EventEmitter<CustomEvent>();
66
+ @Output() dataItemsSelected = new EventEmitter<CustomEvent>();
50
67
  }
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,10 @@
1
+ export interface FilterCondition {
2
+ expression?: string;
3
+ parameters?: any[];
4
+ }
5
+
6
+ export interface FilterGroup {
7
+ condition: 'AND' | 'OR';
8
+ filters: (FilterCondition | FilterGroup)[];
9
+ }
10
+
@@ -0,0 +1,41 @@
1
+ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
+ import type { FilterGroup } from '../types';
3
+
4
+ @Component({
5
+ selector: 'luzmo-edit-filters',
6
+ standalone: true,
7
+ changeDetection: ChangeDetectionStrategy.OnPush,
8
+ template: `<luzmo-edit-filters
9
+ [attr.api-url]="apiUrl"
10
+ [attr.auth-key]="authKey"
11
+ [attr.auth-token]="authToken"
12
+ [attr.cache-time]="cacheTime"
13
+ [attr.language]="language"
14
+ [attr.content-language]="contentLanguage"
15
+ [attr.time-zone]="timeZone"
16
+ [attr.dataset-ids]="datasetIds"
17
+ [attr.filters]="filters"
18
+ [attr.size]="size"
19
+ [attr.disabled]="disabled"
20
+ [attr.autofocus]="autofocus"
21
+ [attr.tabIndex]="tabIndex"
22
+ (filters-changed)="filtersChanged.emit($event)">
23
+ <ng-content></ng-content>
24
+ </luzmo-edit-filters>`
25
+ })
26
+ export class EditFiltersComponent {
27
+ @Input() apiUrl?: string;
28
+ @Input() authKey?: string;
29
+ @Input() authToken?: string;
30
+ @Input() cacheTime?: number;
31
+ @Input() language?: string;
32
+ @Input() contentLanguage?: string;
33
+ @Input() timeZone?: string;
34
+ @Input() datasetIds?: string[];
35
+ @Input() filters?: FilterGroup | null;
36
+ @Input() size?: any;
37
+ @Input() disabled?: any;
38
+ @Input() autofocus?: any;
39
+ @Input() tabIndex?: any;
40
+ @Output() filtersChanged = new EventEmitter<CustomEvent>();
41
+ }
@@ -1,5 +1,5 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
- import type { Placement } from '../types';
2
+ import type { VizItemType, SlotName, Placement } from '../types';
3
3
 
4
4
  @Component({
5
5
  selector: 'luzmo-slot-contents-picker',
@@ -22,15 +22,16 @@ import type { Placement } from '../types';
22
22
  [attr.placement]="placement"
23
23
  [attr.hide-delete]="hideDelete"
24
24
  [attr.hide-configuration]="hideConfiguration"
25
- [attr.stretch]="stretch"
25
+ [attr.hide-clear]="hideClear"
26
+ [attr.search]="search"
26
27
  [attr.size]="size"
27
28
  (slot-contents-changed)="slotContentsChanged.emit($event)">
28
29
  <ng-content></ng-content>
29
30
  </luzmo-slot-contents-picker>`
30
31
  })
31
32
  export class SlotContentsPickerComponent {
32
- @Input() itemType?: string;
33
- @Input() slotName?: string;
33
+ @Input() itemType?: VizItemType;
34
+ @Input() slotName?: SlotName;
34
35
  @Input() slotConfiguration?: any;
35
36
  @Input() slotContents?: any;
36
37
  @Input() language?: string;
@@ -39,7 +40,7 @@ export class SlotContentsPickerComponent {
39
40
  @Input() hasLabel?: boolean;
40
41
  @Input() label?: string;
41
42
  @Input() selects?: 'single' | 'multiple';
42
- @Input() icons?: 'none' | 'only-menu' | 'all';
43
+ @Input() icons?: 'none' | 'menu-only' | 'all';
43
44
  @Input() placeholder?: string;
44
45
  @Input() datasetsDataItems?: {
45
46
  id: string;
@@ -50,7 +51,8 @@ export class SlotContentsPickerComponent {
50
51
  @Input() placement?: Placement;
51
52
  @Input() hideDelete?: boolean;
52
53
  @Input() hideConfiguration?: boolean;
53
- @Input() stretch?: boolean;
54
+ @Input() hideClear?: boolean;
55
+ @Input() search?: any;
54
56
  @Input() size?: any;
55
57
  @Output() slotContentsChanged = new EventEmitter<CustomEvent>();
56
58
  }
@@ -10,7 +10,11 @@ export declare class AiInteractionTextareaComponent {
10
10
  appServer?: string;
11
11
  flagOpendata?: boolean;
12
12
  disabled?: boolean;
13
+ singleLine?: boolean;
14
+ hideDatasetButton?: boolean;
15
+ isGenerating?: boolean;
16
+ value?: string;
13
17
  promptSubmitted: EventEmitter<CustomEvent<any>>;
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<AiInteractionTextareaComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AiInteractionTextareaComponent, "luzmo-ai-interaction-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "selectedDatasets": { "alias": "selectedDatasets"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "flagOpendata": { "alias": "flagOpendata"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "promptSubmitted": "promptSubmitted"; }, never, ["*"], true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiInteractionTextareaComponent, "luzmo-ai-interaction-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "selectedDatasets": { "alias": "selectedDatasets"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "flagOpendata": { "alias": "flagOpendata"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "singleLine": { "alias": "singleLine"; "required": false; }; "hideDatasetButton": { "alias": "hideDatasetButton"; "required": false; }; "isGenerating": { "alias": "isGenerating"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "promptSubmitted": "promptSubmitted"; }, never, ["*"], true, never>;
16
20
  }
@@ -9,9 +9,13 @@ export class AiInteractionTextareaComponent {
9
9
  appServer;
10
10
  flagOpendata;
11
11
  disabled;
12
+ singleLine;
13
+ hideDatasetButton;
14
+ isGenerating;
15
+ value;
12
16
  promptSubmitted = new EventEmitter();
13
17
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: AiInteractionTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: AiInteractionTextareaComponent, isStandalone: true, selector: "luzmo-ai-interaction-textarea", inputs: { placeholder: "placeholder", selectedDatasets: "selectedDatasets", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", flagOpendata: "flagOpendata", disabled: "disabled" }, outputs: { promptSubmitted: "promptSubmitted" }, ngImport: i0, template: `<luzmo-ai-interaction-textarea
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: AiInteractionTextareaComponent, isStandalone: true, selector: "luzmo-ai-interaction-textarea", inputs: { placeholder: "placeholder", selectedDatasets: "selectedDatasets", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", flagOpendata: "flagOpendata", disabled: "disabled", singleLine: "singleLine", hideDatasetButton: "hideDatasetButton", isGenerating: "isGenerating", value: "value" }, outputs: { promptSubmitted: "promptSubmitted" }, ngImport: i0, template: `<luzmo-ai-interaction-textarea
15
19
  [attr.placeholder]="placeholder"
16
20
  [attr.selectedDatasets]="selectedDatasets"
17
21
  [attr.auth-key]="authKey"
@@ -20,9 +24,13 @@ export class AiInteractionTextareaComponent {
20
24
  [attr.app-server]="appServer"
21
25
  [attr.flag-opendata]="flagOpendata"
22
26
  [attr.disabled]="disabled"
27
+ [attr.single-line]="singleLine"
28
+ [attr.hide-dataset-button]="hideDatasetButton"
29
+ [attr.is-generating]="isGenerating"
30
+ [attr.value]="value"
23
31
  (prompt-submitted)="promptSubmitted.emit($event)">
24
32
  <ng-content></ng-content>
25
- </luzmo-ai-interaction-textarea>`, isInline: true, dependencies: [{ kind: "component", type: AiInteractionTextareaComponent, selector: "luzmo-ai-interaction-textarea", inputs: ["placeholder", "selectedDatasets", "authKey", "authToken", "apiUrl", "appServer", "flagOpendata", "disabled"], outputs: ["promptSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ </luzmo-ai-interaction-textarea>`, isInline: true, dependencies: [{ kind: "component", type: AiInteractionTextareaComponent, selector: "luzmo-ai-interaction-textarea", inputs: ["placeholder", "selectedDatasets", "authKey", "authToken", "apiUrl", "appServer", "flagOpendata", "disabled", "singleLine", "hideDatasetButton", "isGenerating", "value"], outputs: ["promptSubmitted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
26
34
  }
27
35
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: AiInteractionTextareaComponent, decorators: [{
28
36
  type: Component,
@@ -39,6 +47,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
39
47
  [attr.app-server]="appServer"
40
48
  [attr.flag-opendata]="flagOpendata"
41
49
  [attr.disabled]="disabled"
50
+ [attr.single-line]="singleLine"
51
+ [attr.hide-dataset-button]="hideDatasetButton"
52
+ [attr.is-generating]="isGenerating"
53
+ [attr.value]="value"
42
54
  (prompt-submitted)="promptSubmitted.emit($event)">
43
55
  <ng-content></ng-content>
44
56
  </luzmo-ai-interaction-textarea>`
@@ -59,6 +71,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
59
71
  type: Input
60
72
  }], disabled: [{
61
73
  type: Input
74
+ }], singleLine: [{
75
+ type: Input
76
+ }], hideDatasetButton: [{
77
+ type: Input
78
+ }], isGenerating: [{
79
+ type: Input
80
+ }], value: [{
81
+ type: Input
62
82
  }], promptSubmitted: [{
63
83
  type: Output
64
84
  }] } });
@@ -0,0 +1,33 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { DataItemExtended } from '../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DataItemsSelectComponent {
5
+ language?: string;
6
+ contentLanguage?: string;
7
+ label?: string;
8
+ icons?: 'none' | 'menu-only' | 'all';
9
+ allowEmpty?: boolean;
10
+ placeholder?: any;
11
+ selects?: 'single' | 'multiple';
12
+ dataItemIds?: string[];
13
+ loading?: boolean;
14
+ invalid?: boolean;
15
+ clearable?: boolean;
16
+ pending?: boolean;
17
+ disabled?: boolean;
18
+ placement?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
19
+ datasetsDataItems?: {
20
+ id: string;
21
+ name: {
22
+ [key: string]: string;
23
+ };
24
+ columns: DataItemExtended[];
25
+ formulas: DataItemExtended[];
26
+ }[];
27
+ size?: any;
28
+ autofocus?: any;
29
+ tabIndex?: any;
30
+ dataItemsSelected: EventEmitter<CustomEvent<any>>;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataItemsSelectComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataItemsSelectComponent, "luzmo-data-items-select", never, { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataItemIds": { "alias": "dataItemIds"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "pending": { "alias": "pending"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "datasetsDataItems": { "alias": "datasetsDataItems"; "required": false; }; "size": { "alias": "size"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "dataItemsSelected": "dataItemsSelected"; }, never, ["*"], true, never>;
33
+ }
@@ -1,75 +1,82 @@
1
1
  import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export class FilterDataItemPickerComponent {
3
+ export class DataItemsSelectComponent {
4
4
  language;
5
5
  contentLanguage;
6
- hasLabel;
7
6
  label;
8
7
  icons;
9
8
  allowEmpty;
10
9
  placeholder;
11
- dataItemId;
10
+ selects;
11
+ dataItemIds;
12
12
  loading;
13
13
  invalid;
14
+ clearable;
15
+ pending;
16
+ disabled;
17
+ placement;
14
18
  datasetsDataItems;
15
19
  size;
16
- disabled;
17
20
  autofocus;
18
21
  tabIndex;
19
- dataItemSelected = new EventEmitter();
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: FilterDataItemPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: FilterDataItemPickerComponent, isStandalone: true, selector: "luzmo-filter-data-item-picker", inputs: { language: "language", contentLanguage: "contentLanguage", hasLabel: "hasLabel", label: "label", icons: "icons", allowEmpty: "allowEmpty", placeholder: "placeholder", dataItemId: "dataItemId", loading: "loading", invalid: "invalid", datasetsDataItems: "datasetsDataItems", size: "size", disabled: "disabled", autofocus: "autofocus", tabIndex: "tabIndex" }, outputs: { dataItemSelected: "dataItemSelected" }, ngImport: i0, template: `<luzmo-filter-data-item-picker
22
+ dataItemsSelected = new EventEmitter();
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: DataItemsSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: DataItemsSelectComponent, isStandalone: true, selector: "luzmo-data-items-select", inputs: { language: "language", contentLanguage: "contentLanguage", label: "label", icons: "icons", allowEmpty: "allowEmpty", placeholder: "placeholder", selects: "selects", dataItemIds: "dataItemIds", loading: "loading", invalid: "invalid", clearable: "clearable", pending: "pending", disabled: "disabled", placement: "placement", datasetsDataItems: "datasetsDataItems", size: "size", autofocus: "autofocus", tabIndex: "tabIndex" }, outputs: { dataItemsSelected: "dataItemsSelected" }, ngImport: i0, template: `<luzmo-data-items-select
22
25
  [attr.language]="language"
23
26
  [attr.content-language]="contentLanguage"
24
- [attr.has-label]="hasLabel"
25
27
  [attr.label]="label"
26
28
  [attr.icons]="icons"
27
29
  [attr.allow-empty]="allowEmpty"
28
30
  [attr.placeholder]="placeholder"
29
- [attr.data-item-id]="dataItemId"
31
+ [attr.selects]="selects"
32
+ [attr.data-item-ids]="dataItemIds"
30
33
  [attr.loading]="loading"
31
34
  [attr.invalid]="invalid"
35
+ [attr.clearable]="clearable"
36
+ [attr.pending]="pending"
37
+ [attr.disabled]="disabled"
38
+ [attr.placement]="placement"
32
39
  [attr.datasetsDataItems]="datasetsDataItems"
33
40
  [attr.size]="size"
34
- [attr.disabled]="disabled"
35
41
  [attr.autofocus]="autofocus"
36
42
  [attr.tabIndex]="tabIndex"
37
- (data-item-selected)="dataItemSelected.emit($event)">
43
+ (data-items-selected)="dataItemsSelected.emit($event)">
38
44
  <ng-content></ng-content>
39
- </luzmo-filter-data-item-picker>`, isInline: true, dependencies: [{ kind: "component", type: FilterDataItemPickerComponent, selector: "luzmo-filter-data-item-picker", inputs: ["language", "contentLanguage", "hasLabel", "label", "icons", "allowEmpty", "placeholder", "dataItemId", "loading", "invalid", "datasetsDataItems", "size", "disabled", "autofocus", "tabIndex"], outputs: ["dataItemSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
45
+ </luzmo-data-items-select>`, isInline: true, dependencies: [{ kind: "component", type: DataItemsSelectComponent, selector: "luzmo-data-items-select", inputs: ["language", "contentLanguage", "label", "icons", "allowEmpty", "placeholder", "selects", "dataItemIds", "loading", "invalid", "clearable", "pending", "disabled", "placement", "datasetsDataItems", "size", "autofocus", "tabIndex"], outputs: ["dataItemsSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
40
46
  }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: FilterDataItemPickerComponent, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: DataItemsSelectComponent, decorators: [{
42
48
  type: Component,
43
49
  args: [{
44
- selector: 'luzmo-filter-data-item-picker',
50
+ selector: 'luzmo-data-items-select',
45
51
  standalone: true,
46
52
  changeDetection: ChangeDetectionStrategy.OnPush,
47
- template: `<luzmo-filter-data-item-picker
53
+ template: `<luzmo-data-items-select
48
54
  [attr.language]="language"
49
55
  [attr.content-language]="contentLanguage"
50
- [attr.has-label]="hasLabel"
51
56
  [attr.label]="label"
52
57
  [attr.icons]="icons"
53
58
  [attr.allow-empty]="allowEmpty"
54
59
  [attr.placeholder]="placeholder"
55
- [attr.data-item-id]="dataItemId"
60
+ [attr.selects]="selects"
61
+ [attr.data-item-ids]="dataItemIds"
56
62
  [attr.loading]="loading"
57
63
  [attr.invalid]="invalid"
64
+ [attr.clearable]="clearable"
65
+ [attr.pending]="pending"
66
+ [attr.disabled]="disabled"
67
+ [attr.placement]="placement"
58
68
  [attr.datasetsDataItems]="datasetsDataItems"
59
69
  [attr.size]="size"
60
- [attr.disabled]="disabled"
61
70
  [attr.autofocus]="autofocus"
62
71
  [attr.tabIndex]="tabIndex"
63
- (data-item-selected)="dataItemSelected.emit($event)">
72
+ (data-items-selected)="dataItemsSelected.emit($event)">
64
73
  <ng-content></ng-content>
65
- </luzmo-filter-data-item-picker>`
74
+ </luzmo-data-items-select>`
66
75
  }]
67
76
  }], propDecorators: { language: [{
68
77
  type: Input
69
78
  }], contentLanguage: [{
70
79
  type: Input
71
- }], hasLabel: [{
72
- type: Input
73
80
  }], label: [{
74
81
  type: Input
75
82
  }], icons: [{
@@ -78,22 +85,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
78
85
  type: Input
79
86
  }], placeholder: [{
80
87
  type: Input
81
- }], dataItemId: [{
88
+ }], selects: [{
89
+ type: Input
90
+ }], dataItemIds: [{
82
91
  type: Input
83
92
  }], loading: [{
84
93
  type: Input
85
94
  }], invalid: [{
86
95
  type: Input
87
- }], datasetsDataItems: [{
96
+ }], clearable: [{
88
97
  type: Input
89
- }], size: [{
98
+ }], pending: [{
90
99
  type: Input
91
100
  }], disabled: [{
92
101
  type: Input
102
+ }], placement: [{
103
+ type: Input
104
+ }], datasetsDataItems: [{
105
+ type: Input
106
+ }], size: [{
107
+ type: Input
93
108
  }], autofocus: [{
94
109
  type: Input
95
110
  }], tabIndex: [{
96
111
  type: Input
97
- }], dataItemSelected: [{
112
+ }], dataItemsSelected: [{
98
113
  type: Output
99
114
  }] } });
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,8 @@
1
+ export interface FilterCondition {
2
+ expression?: string;
3
+ parameters?: any[];
4
+ }
5
+ export interface FilterGroup {
6
+ condition: 'AND' | 'OR';
7
+ filters: (FilterCondition | FilterGroup)[];
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { FilterGroup } from '../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EditFiltersComponent {
5
+ apiUrl?: string;
6
+ authKey?: string;
7
+ authToken?: string;
8
+ cacheTime?: number;
9
+ language?: string;
10
+ contentLanguage?: string;
11
+ timeZone?: string;
12
+ datasetIds?: string[];
13
+ filters?: FilterGroup | null;
14
+ size?: any;
15
+ disabled?: any;
16
+ autofocus?: any;
17
+ tabIndex?: any;
18
+ filtersChanged: EventEmitter<CustomEvent<any>>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditFiltersComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditFiltersComponent, "luzmo-edit-filters", never, { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "filtersChanged": "filtersChanged"; }, never, ["*"], true, never>;
21
+ }
@@ -0,0 +1,89 @@
1
+ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class EditFiltersComponent {
4
+ apiUrl;
5
+ authKey;
6
+ authToken;
7
+ cacheTime;
8
+ language;
9
+ contentLanguage;
10
+ timeZone;
11
+ datasetIds;
12
+ filters;
13
+ size;
14
+ disabled;
15
+ autofocus;
16
+ tabIndex;
17
+ filtersChanged = new EventEmitter();
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditFiltersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditFiltersComponent, isStandalone: true, selector: "luzmo-edit-filters", inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", language: "language", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", size: "size", disabled: "disabled", autofocus: "autofocus", tabIndex: "tabIndex" }, outputs: { filtersChanged: "filtersChanged" }, ngImport: i0, template: `<luzmo-edit-filters
20
+ [attr.api-url]="apiUrl"
21
+ [attr.auth-key]="authKey"
22
+ [attr.auth-token]="authToken"
23
+ [attr.cache-time]="cacheTime"
24
+ [attr.language]="language"
25
+ [attr.content-language]="contentLanguage"
26
+ [attr.time-zone]="timeZone"
27
+ [attr.dataset-ids]="datasetIds"
28
+ [attr.filters]="filters"
29
+ [attr.size]="size"
30
+ [attr.disabled]="disabled"
31
+ [attr.autofocus]="autofocus"
32
+ [attr.tabIndex]="tabIndex"
33
+ (filters-changed)="filtersChanged.emit($event)">
34
+ <ng-content></ng-content>
35
+ </luzmo-edit-filters>`, isInline: true, dependencies: [{ kind: "component", type: EditFiltersComponent, selector: "luzmo-edit-filters", inputs: ["apiUrl", "authKey", "authToken", "cacheTime", "language", "contentLanguage", "timeZone", "datasetIds", "filters", "size", "disabled", "autofocus", "tabIndex"], outputs: ["filtersChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditFiltersComponent, decorators: [{
38
+ type: Component,
39
+ args: [{
40
+ selector: 'luzmo-edit-filters',
41
+ standalone: true,
42
+ changeDetection: ChangeDetectionStrategy.OnPush,
43
+ template: `<luzmo-edit-filters
44
+ [attr.api-url]="apiUrl"
45
+ [attr.auth-key]="authKey"
46
+ [attr.auth-token]="authToken"
47
+ [attr.cache-time]="cacheTime"
48
+ [attr.language]="language"
49
+ [attr.content-language]="contentLanguage"
50
+ [attr.time-zone]="timeZone"
51
+ [attr.dataset-ids]="datasetIds"
52
+ [attr.filters]="filters"
53
+ [attr.size]="size"
54
+ [attr.disabled]="disabled"
55
+ [attr.autofocus]="autofocus"
56
+ [attr.tabIndex]="tabIndex"
57
+ (filters-changed)="filtersChanged.emit($event)">
58
+ <ng-content></ng-content>
59
+ </luzmo-edit-filters>`
60
+ }]
61
+ }], propDecorators: { apiUrl: [{
62
+ type: Input
63
+ }], authKey: [{
64
+ type: Input
65
+ }], authToken: [{
66
+ type: Input
67
+ }], cacheTime: [{
68
+ type: Input
69
+ }], language: [{
70
+ type: Input
71
+ }], contentLanguage: [{
72
+ type: Input
73
+ }], timeZone: [{
74
+ type: Input
75
+ }], datasetIds: [{
76
+ type: Input
77
+ }], filters: [{
78
+ type: Input
79
+ }], size: [{
80
+ type: Input
81
+ }], disabled: [{
82
+ type: Input
83
+ }], autofocus: [{
84
+ type: Input
85
+ }], tabIndex: [{
86
+ type: Input
87
+ }], filtersChanged: [{
88
+ type: Output
89
+ }] } });