@luzmo/analytics-components-kit 1.0.9-beta.13 → 1.0.9-beta.14

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 (358) hide show
  1. package/components/add-to-dashboard/index.cjs +1 -1
  2. package/components/add-to-dashboard/index.js +1 -1
  3. package/components/{add-to-dashboard-B702runr.cjs → add-to-dashboard-BKNT88zB.cjs} +2 -2
  4. package/components/{add-to-dashboard-O9tn5g_w.js → add-to-dashboard-BZBGM2hD.js} +9 -6
  5. package/components/ai-chat/index.cjs +1 -1
  6. package/components/ai-chat/index.js +2 -2
  7. package/components/{ai-chat-BBUKgMVk.js → ai-chat-DSUhzo6e.js} +2 -2
  8. package/components/{ai-chat-DxpHdNnM.cjs → ai-chat-DbkKSLz7.cjs} +1 -1
  9. package/components/ai-interaction-textarea/index.cjs +1 -1
  10. package/components/ai-interaction-textarea/index.js +1 -1
  11. package/components/{ai-interaction-textarea-BCa1PnPL.js → ai-interaction-textarea-AKHc6-I9.js} +4 -4
  12. package/components/{ai-interaction-textarea-DSk1A1a5.cjs → ai-interaction-textarea-IvhGBwNO.cjs} +1 -1
  13. package/components/{area-chart-positioning.config-DDMlv_1g.js → area-chart-positioning.config-Bwu4c8Vf.js} +1 -1
  14. package/components/{area-chart-positioning.config-DgIFeUfD.cjs → area-chart-positioning.config-C5225m3C.cjs} +1 -1
  15. package/components/{bar-chart-positioning.config-CfIg055Z.js → bar-chart-positioning.config-CSJBuZ7T.js} +1 -1
  16. package/components/{bar-chart-positioning.config-D6pFsRHW.cjs → bar-chart-positioning.config-DIguone1.cjs} +1 -1
  17. package/components/{base-ClbyBq3g.js → base-BsT8c1LS.js} +1 -1
  18. package/components/{base-DOqHO4T0.cjs → base-v18CO1Nj.cjs} +1 -1
  19. package/components/{box-plot-positioning.config-B4w3qGMD.js → box-plot-positioning.config-C48E3MKZ.js} +1 -1
  20. package/components/{box-plot-positioning.config-55vAfMWq.cjs → box-plot-positioning.config-DOQLo_nN.cjs} +1 -1
  21. package/components/{bubble-chart-positioning.config-sPR3ptvR.js → bubble-chart-positioning.config-CPV43VU9.js} +1 -1
  22. package/components/{bubble-chart-positioning.config-R9U2QcYb.cjs → bubble-chart-positioning.config-CqHzs5hk.cjs} +1 -1
  23. package/components/{bullet-chart-positioning.config-2TaqHX1E.cjs → bullet-chart-positioning.config-DEqBtDsC.cjs} +1 -1
  24. package/components/{bullet-chart-positioning.config-CIMnOzrw.js → bullet-chart-positioning.config-DTaomKB-.js} +1 -1
  25. package/components/{choropleth-map-positioning.config-DzRWowUN.cjs → choropleth-map-positioning.config-Bp4qYXAy.cjs} +1 -1
  26. package/components/{choropleth-map-positioning.config-C5yUI4Kf.js → choropleth-map-positioning.config-DBAi4Bd0.js} +1 -1
  27. package/components/{circle-pack-chart-positioning.config-Bi8XmRUJ.js → circle-pack-chart-positioning.config-CjQ3GrIe.js} +1 -1
  28. package/components/{circle-pack-chart-positioning.config-DriGXH0O.cjs → circle-pack-chart-positioning.config-SjlJjLuA.cjs} +1 -1
  29. package/components/{circular-gauge-positioning.config-BcJ0YoWv.js → circular-gauge-positioning.config-BIDyJWE-.js} +1 -1
  30. package/components/{circular-gauge-positioning.config--SgX1JzM.cjs → circular-gauge-positioning.config-U4B9jf5K.cjs} +1 -1
  31. package/components/{column-chart-positioning.config-Dts3D63x.cjs → column-chart-positioning.config-sLFbLZVk.cjs} +1 -1
  32. package/components/{column-chart-positioning.config-CZ0_ElCf.js → column-chart-positioning.config-yG0tn_Vu.js} +1 -1
  33. package/components/{combination-chart-positioning.config-CM0o3yFT.cjs → combination-chart-positioning.config-CY6VVSB8.cjs} +1 -1
  34. package/components/{combination-chart-positioning.config-BTNl8Q0Y.js → combination-chart-positioning.config-DYcpPyto.js} +1 -1
  35. package/components/{conditional-number-positioning.config-C80ePFmt.js → conditional-number-positioning.config-59HfQM-h.js} +1 -1
  36. package/components/{conditional-number-positioning.config-Ce8Deg6R.cjs → conditional-number-positioning.config-7nOlYwZJ.cjs} +1 -1
  37. package/components/data-field/index.cjs +1 -1
  38. package/components/data-field/index.js +1 -1
  39. package/components/{data-field-BLgof095.cjs → data-field-B97ZdRqF.cjs} +1 -1
  40. package/components/{data-field-DtiBQ3ec.js → data-field-BFy57vAz.js} +3 -3
  41. package/components/data-field-level/index.cjs +1 -1
  42. package/components/data-field-level/index.js +1 -1
  43. package/components/{data-field-level-vBzXLqit.cjs → data-field-level-DYgKgOlW.cjs} +1 -1
  44. package/components/{data-field-level-8Sm39bRZ.js → data-field-level-r11un3Vd.js} +1 -1
  45. package/components/data-field-panel/index.cjs +1 -1
  46. package/components/data-field-panel/index.js +1 -1
  47. package/components/{data-field-panel-DOvbsj7k.cjs → data-field-panel-B-fmhPYi.cjs} +1 -1
  48. package/components/{data-field-panel-YL5pqk0y.js → data-field-panel-vDNd2Ba2.js} +3 -3
  49. package/components/data-fields-select/index.cjs +1 -1
  50. package/components/data-fields-select/index.js +1 -1
  51. package/components/{data-fields-select-lx0hau0V.js → data-fields-select-BFJitJP4.js} +1 -1
  52. package/components/{data-fields-select-SKpx1U5b.cjs → data-fields-select-CMUg-UZ2.cjs} +1 -1
  53. package/components/dataset-selector-list/index.cjs +1 -1
  54. package/components/dataset-selector-list/index.js +1 -1
  55. package/components/{dataset-selector-list-DVv3OLwc.cjs → dataset-selector-list-BbbjTcYP.cjs} +1 -1
  56. package/components/{dataset-selector-list-Dw8SseBg.js → dataset-selector-list-C_Kru4z5.js} +1 -1
  57. package/components/dataset-selector-row/index.cjs +1 -1
  58. package/components/dataset-selector-row/index.js +1 -1
  59. package/components/{dataset-selector-row-Dfk5cP49.cjs → dataset-selector-row-DDNtBnFA.cjs} +1 -1
  60. package/components/{dataset-selector-row-q3JwXkc7.js → dataset-selector-row-acXjsrw2.js} +3 -3
  61. package/components/{de-DfxglHXp.js → de-DAgEJMr7.js} +1 -0
  62. package/components/de-KvAhLsm8.cjs +20 -0
  63. package/components/display-settings/index.cjs +1 -1
  64. package/components/display-settings/index.js +1 -1
  65. package/components/{display-settings-BGU97VQm.cjs → display-settings-CZs_f4BT.cjs} +1 -1
  66. package/components/{display-settings-CW-aM6Tg.js → display-settings-D1nFyWkQ.js} +2 -2
  67. package/components/display-settings-binning/index.cjs +1 -1
  68. package/components/display-settings-binning/index.js +1 -1
  69. package/components/{display-settings-binning-C18iQPBR.js → display-settings-binning-6ilwimwX.js} +2 -2
  70. package/components/{display-settings-binning-ChgYSZVd.cjs → display-settings-binning-B6QXS_y7.cjs} +1 -1
  71. package/components/display-settings-datetime/index.cjs +1 -1
  72. package/components/display-settings-datetime/index.js +1 -1
  73. package/components/{display-settings-datetime-DssZrTKW.cjs → display-settings-datetime-BBkz5RnD.cjs} +1 -1
  74. package/components/{display-settings-datetime-NhrNS7pq.js → display-settings-datetime-BcGYD1qG.js} +2 -2
  75. package/components/display-settings-grand-totals/index.cjs +1 -1
  76. package/components/display-settings-grand-totals/index.js +1 -1
  77. package/components/{display-settings-grand-totals-D0UduzQs.js → display-settings-grand-totals-BK4OUxe3.js} +2 -2
  78. package/components/{display-settings-grand-totals-CPTypeXs.cjs → display-settings-grand-totals-BWVQ24RA.cjs} +1 -1
  79. package/components/display-settings-numeric/index.cjs +1 -1
  80. package/components/display-settings-numeric/index.js +1 -1
  81. package/components/{display-settings-numeric-B2AuI2qg.js → display-settings-numeric-CdPQbCrV.js} +2 -2
  82. package/components/{display-settings-numeric-BzWEYoHj.cjs → display-settings-numeric-sx1xoB9i.cjs} +1 -1
  83. package/components/display-settings-period-over-period/index.cjs +1 -1
  84. package/components/display-settings-period-over-period/index.js +1 -1
  85. package/components/{display-settings-period-over-period-DfXdZPP9.js → display-settings-period-over-period-BnzPZThi.js} +2 -2
  86. package/components/{display-settings-period-over-period-Yy1voN9g.cjs → display-settings-period-over-period-DcI0sSyY.cjs} +1 -1
  87. package/components/{donut-chart-positioning.config-jWQOJfuv.cjs → donut-chart-positioning.config-C7gvsaut.cjs} +1 -1
  88. package/components/{donut-chart-positioning.config-0z7hLOs9.js → donut-chart-positioning.config-CG349i8L.js} +1 -1
  89. package/components/{es-B4X3tN70.js → es-CwVsQ3c4.js} +1 -0
  90. package/components/es-DVISHTAz.cjs +20 -0
  91. package/components/{evolution-number-positioning.config-Ccn4319Q.js → evolution-number-positioning.config-NDW5CylY.js} +1 -1
  92. package/components/{evolution-number-positioning.config-CNwQK1ho.cjs → evolution-number-positioning.config-hRqiCxx0.cjs} +1 -1
  93. package/components/filter-expression-picker/index.cjs +1 -1
  94. package/components/filter-expression-picker/index.js +1 -1
  95. package/components/{filter-expression-picker-C5s82Kj8.cjs → filter-expression-picker-AhZsJX6t.cjs} +1 -1
  96. package/components/{filter-expression-picker-ChPk7AhZ.js → filter-expression-picker-Bzh0ijdV.js} +1 -1
  97. package/components/filter-item/index.cjs +1 -1
  98. package/components/filter-item/index.js +1 -1
  99. package/components/{filter-item-BsUxTNwl.cjs → filter-item-DtfYrF72.cjs} +1 -1
  100. package/components/{filter-item-CEIBzW6Y.js → filter-item-r_VQX0aN.js} +5 -5
  101. package/components/filter-parameter-picker/index.cjs +1 -1
  102. package/components/filter-parameter-picker/index.js +1 -1
  103. package/components/{filter-parameter-picker-CBQlNMvr.cjs → filter-parameter-picker-47fKNqOQ.cjs} +1 -1
  104. package/components/{filter-parameter-picker-CMQpNcck.js → filter-parameter-picker-9gKRRIoC.js} +1 -1
  105. package/components/filter-value-picker/index.cjs +1 -1
  106. package/components/filter-value-picker/index.js +1 -1
  107. package/components/{filter-value-picker-6UbVX8EX.cjs → filter-value-picker-CMVAElyO.cjs} +1 -1
  108. package/components/{filter-value-picker-CD9AfCEx.js → filter-value-picker-DOpnmys1.js} +4 -4
  109. package/components/filter-value-picker-datetime/index.cjs +1 -1
  110. package/components/filter-value-picker-datetime/index.js +1 -1
  111. package/components/{filter-value-picker-datetime-C80_9zmR.js → filter-value-picker-datetime-Bsw3gRMY.js} +1 -1
  112. package/components/{filter-value-picker-datetime-BkaNyKM5.cjs → filter-value-picker-datetime-CmCXIZr6.cjs} +1 -1
  113. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  114. package/components/filter-value-picker-hierarchy/index.js +1 -1
  115. package/components/{filter-value-picker-hierarchy-DkoquwOp.js → filter-value-picker-hierarchy-BKfB-ITE.js} +2 -2
  116. package/components/{filter-value-picker-hierarchy-Dcuq6QyL.cjs → filter-value-picker-hierarchy-s7Wpaw4o.cjs} +1 -1
  117. package/components/filter-value-picker-numeric/index.cjs +1 -1
  118. package/components/filter-value-picker-numeric/index.js +1 -1
  119. package/components/{filter-value-picker-numeric-C5FI37KY.js → filter-value-picker-numeric-BoynFKq3.js} +1 -1
  120. package/components/{filter-value-picker-numeric-BD9OX_qJ.cjs → filter-value-picker-numeric-DZiqJKfo.cjs} +1 -1
  121. package/components/filters/index.cjs +1 -1
  122. package/components/filters/index.js +1 -1
  123. package/components/{filters-BnH330me.js → filters-BwMrnE1n.js} +2 -2
  124. package/components/{filters-CBFB5tNm.cjs → filters-EeGorv1h.cjs} +1 -1
  125. package/components/formula/index.cjs +1 -1
  126. package/components/formula/index.js +1 -1
  127. package/components/{formula--9ohJwgp.js → formula-BXB-WHDl.js} +2 -2
  128. package/components/{formula-PROK1Bg8.cjs → formula-By6_aBbk.cjs} +1 -1
  129. package/components/{formula-codemirror-CF4MDQHE.js → formula-codemirror-BIxpbZ4c.js} +4 -4
  130. package/components/{formula-codemirror-Q1mjfL4P.cjs → formula-codemirror-CnVOiz8D.cjs} +1 -1
  131. package/components/{formula-display-store-B1rP7Z1I.js → formula-display-store-1gG5RHaQ.js} +3 -3
  132. package/components/{formula-display-store-kVLhQbcs.cjs → formula-display-store-xGdjmHOy.cjs} +1 -1
  133. package/components/formula-editor/index.cjs +1 -1
  134. package/components/formula-editor/index.js +3 -3
  135. package/components/{formula-editor-DihYwWUJ.cjs → formula-editor-Djnvotr9.cjs} +1 -1
  136. package/components/{formula-editor-DQgpmzJD.js → formula-editor-QYHi0BS7.js} +5 -5
  137. package/components/formula-field/index.cjs +1 -1
  138. package/components/formula-field/index.js +1 -1
  139. package/components/{formula-field-3w3LUoPv.js → formula-field-CAciAbM2.js} +1 -1
  140. package/components/{formula-field-D2pgnvqx.cjs → formula-field-cda3Lt6q.cjs} +1 -1
  141. package/components/{formula-input-base-BlqLDV8C.js → formula-input-base-3nBrYYjr.js} +1 -1
  142. package/components/{formula-input-base-YLUm2p_4.cjs → formula-input-base-BlX1TmVt.cjs} +1 -1
  143. package/components/fr-BCxcMVQV.cjs +20 -0
  144. package/components/{fr-DdBfGHSA.js → fr-Bj3lqI74.js} +1 -0
  145. package/components/{funnel-chart-positioning.config-CuPbQwNk.cjs → funnel-chart-positioning.config-DfgLOGYz.cjs} +1 -1
  146. package/components/{funnel-chart-positioning.config-CGQlxp-N.js → funnel-chart-positioning.config-NaXm8rlC.js} +1 -1
  147. package/components/{get-dataset-name-Di7POfCE.cjs → get-dataset-name-90zXJyuv.cjs} +1 -1
  148. package/components/{get-dataset-name-BYvHNJQ6.js → get-dataset-name-zQn6LfbI.js} +1 -1
  149. package/components/{groupings-Djt4x-m8.cjs → groupings-CZTbYFZG.cjs} +1 -1
  150. package/components/{groupings-C9y28uVF.js → groupings-_daQkDfw.js} +1 -1
  151. package/components/{heat-map-positioning.config-DhBaQp_z.cjs → heat-map-positioning.config-BuHVU1A6.cjs} +1 -1
  152. package/components/{heat-map-positioning.config-B4Mt-5Z-.js → heat-map-positioning.config-DF015WoQ.js} +1 -1
  153. package/components/{heat-table-positioning.config-nEY0dbDM.cjs → heat-table-positioning.config-B1quiLXK.cjs} +1 -1
  154. package/components/{heat-table-positioning.config-CY8sBOrD.js → heat-table-positioning.config-DYNmIe8W.js} +1 -1
  155. package/components/{hexbin-map-positioning.config-DdWya10E.cjs → hexbin-map-positioning.config-BuQibmnS.cjs} +1 -1
  156. package/components/{hexbin-map-positioning.config--wq1zdhz.js → hexbin-map-positioning.config-DOSka6-0.js} +1 -1
  157. package/components/index.cjs +1 -1
  158. package/components/index.js +55 -55
  159. package/components/interactive-viz-item/index.cjs +1 -1
  160. package/components/interactive-viz-item/index.js +1 -1
  161. package/components/{interactive-viz-item-DBxAlfyo.js → interactive-viz-item-Dz21DPw7.js} +2 -2
  162. package/components/{interactive-viz-item-CMpwMtM-.cjs → interactive-viz-item-bwfCVuux.cjs} +1 -1
  163. package/components/item-grid/index.cjs +1 -1
  164. package/components/item-grid/index.js +2 -2
  165. package/components/{item-grid-NWnUnlNW.js → item-grid-C-PV_XGU.js} +1 -1
  166. package/components/{item-grid-DMCkHIh_.cjs → item-grid-DfeibuSF.cjs} +1 -1
  167. package/components/item-grid-item-actions-menu/index.cjs +1 -1
  168. package/components/item-grid-item-actions-menu/index.js +1 -1
  169. package/components/{item-grid-item-actions-menu-DfA4PKM9.js → item-grid-item-actions-menu-N-RwxYbV.js} +1 -1
  170. package/components/{item-grid-item-actions-menu-CnC_fFq4.cjs → item-grid-item-actions-menu-oi66hGyu.cjs} +1 -1
  171. package/components/item-option/index.cjs +1 -1
  172. package/components/item-option/index.js +1 -1
  173. package/components/{item-option-CFSZXwLt.cjs → item-option-BSMUNIei.cjs} +1 -1
  174. package/components/{item-option-YpwMa7la.js → item-option-DUqd5Yk5.js} +1 -1
  175. package/components/item-option-action-button-group/index.cjs +1 -1
  176. package/components/item-option-action-button-group/index.js +1 -1
  177. package/components/{item-option-action-button-group-Dg87SFd8.cjs → item-option-action-button-group-CQ_KNlor.cjs} +1 -1
  178. package/components/{item-option-action-button-group-BLoh0dmU.js → item-option-action-button-group-DwQjz36l.js} +1 -1
  179. package/components/{item-option-base-5PYKLoC7.js → item-option-base-BqB689cF.js} +1 -1
  180. package/components/{item-option-base-CY2pOzjk.cjs → item-option-base-WwVKCua8.cjs} +1 -1
  181. package/components/item-option-color-palette-picker/index.cjs +1 -1
  182. package/components/item-option-color-palette-picker/index.js +1 -1
  183. package/components/{item-option-color-palette-picker-B0vPoYn4.js → item-option-color-palette-picker-BSa6iQ4Q.js} +1 -1
  184. package/components/{item-option-color-palette-picker-DfWOwc6s.cjs → item-option-color-palette-picker-DMIH7Lx3.cjs} +1 -1
  185. package/components/item-option-color-picker/index.cjs +1 -1
  186. package/components/item-option-color-picker/index.js +1 -1
  187. package/components/{item-option-color-picker-BQ1Kichc.cjs → item-option-color-picker-B8QOlpjW.cjs} +1 -1
  188. package/components/{item-option-color-picker-BgLqlgMF.js → item-option-color-picker-Bot8vsVS.js} +1 -1
  189. package/components/item-option-color-range/index.cjs +1 -1
  190. package/components/item-option-color-range/index.js +1 -1
  191. package/components/{item-option-color-range-AadyK2zm.cjs → item-option-color-range-CVXxGF_j.cjs} +1 -1
  192. package/components/{item-option-color-range-r7Psy6yt.js → item-option-color-range-DkpI1_u0.js} +1 -1
  193. package/components/item-option-guidelines/index.cjs +1 -1
  194. package/components/item-option-guidelines/index.js +1 -1
  195. package/components/{item-option-guidelines-Dj5vjMOy.cjs → item-option-guidelines-DqHu1UaW.cjs} +1 -1
  196. package/components/{item-option-guidelines-WfKKowZh.js → item-option-guidelines-Vf9KVBT1.js} +3 -3
  197. package/components/item-option-multi-language-field/index.cjs +1 -1
  198. package/components/item-option-multi-language-field/index.js +1 -1
  199. package/components/{item-option-multi-language-field-p26WS8e2.js → item-option-multi-language-field-COkiV-Ex.js} +1 -1
  200. package/components/{item-option-multi-language-field-Cbj5QUsQ.cjs → item-option-multi-language-field-DcVU47bG.cjs} +1 -1
  201. package/components/item-option-number-field/index.cjs +1 -1
  202. package/components/item-option-number-field/index.js +1 -1
  203. package/components/{item-option-number-field-DokKaZNJ.cjs → item-option-number-field-CBEnez7J.cjs} +1 -1
  204. package/components/{item-option-number-field-CnZQfLko.js → item-option-number-field-DLt9d2q_.js} +1 -1
  205. package/components/item-option-panel/index.cjs +1 -1
  206. package/components/item-option-panel/index.js +1 -1
  207. package/components/{item-option-panel-IeqCr-0M.cjs → item-option-panel-CWL9_KcH.cjs} +1 -1
  208. package/components/{item-option-panel-Cs9BGllC.js → item-option-panel-D8duTZJC.js} +2 -2
  209. package/components/item-option-picker/index.cjs +1 -1
  210. package/components/item-option-picker/index.js +1 -1
  211. package/components/{item-option-picker-DV-k1tkm.cjs → item-option-picker-D0fLmX1i.cjs} +1 -1
  212. package/components/{item-option-picker-BwZAq7t8.js → item-option-picker-Dsp8mLT2.js} +1 -1
  213. package/components/item-option-position-picker/index.cjs +1 -1
  214. package/components/item-option-position-picker/index.js +1 -1
  215. package/components/{item-option-position-picker-CCikjVLj.cjs → item-option-position-picker-Bywf-OUq.cjs} +1 -1
  216. package/components/{item-option-position-picker-D5a_gcn6.js → item-option-position-picker-ConiNjAK.js} +1 -1
  217. package/components/item-option-positions-number-field/index.cjs +1 -1
  218. package/components/item-option-positions-number-field/index.js +1 -1
  219. package/components/{item-option-positions-number-field-wcQHJTZW.cjs → item-option-positions-number-field-BM47f9X1.cjs} +1 -1
  220. package/components/{item-option-positions-number-field-Bn8Dwath.js → item-option-positions-number-field-C8CQV2Sp.js} +1 -1
  221. package/components/item-option-radio-button-group/index.cjs +1 -1
  222. package/components/item-option-radio-button-group/index.js +1 -1
  223. package/components/{item-option-radio-button-group-sZ5dW5N0.js → item-option-radio-button-group-CeiVKYTC.js} +1 -1
  224. package/components/{item-option-radio-button-group-DiElJAIW.cjs → item-option-radio-button-group-EWnKhsKv.cjs} +1 -1
  225. package/components/item-option-slider/index.cjs +1 -1
  226. package/components/item-option-slider/index.js +1 -1
  227. package/components/{item-option-slider-DH5Q2WZt.js → item-option-slider-C7Luz7WZ.js} +1 -1
  228. package/components/{item-option-slider-CzL6OVqv.cjs → item-option-slider-ax9GzaT-.cjs} +1 -1
  229. package/components/item-option-switch/index.cjs +1 -1
  230. package/components/item-option-switch/index.js +1 -1
  231. package/components/{item-option-switch-DkMh3RqG.cjs → item-option-switch-D5ce8MJt.cjs} +1 -1
  232. package/components/{item-option-switch-p552By7W.js → item-option-switch-ZR6Adrci.js} +1 -1
  233. package/components/item-option-text-field/index.cjs +1 -1
  234. package/components/item-option-text-field/index.js +1 -1
  235. package/components/{item-option-text-field-DXwWeQLc.js → item-option-text-field-C6Q_5w_e.js} +1 -1
  236. package/components/{item-option-text-field-CDFWXxCi.cjs → item-option-text-field-CKE5PhDl.cjs} +1 -1
  237. package/components/item-slot-drop/index.cjs +1 -1
  238. package/components/item-slot-drop/index.js +1 -1
  239. package/components/{item-slot-drop-D0aDeRzk.cjs → item-slot-drop-BJzr-tMe.cjs} +1 -1
  240. package/components/{item-slot-drop-B7xHip7W.js → item-slot-drop-Dzj7M3DQ.js} +5 -5
  241. package/components/item-slot-drop-panel/index.cjs +1 -1
  242. package/components/item-slot-drop-panel/index.js +1 -1
  243. package/components/{item-slot-drop-panel-CN14Fhl_.js → item-slot-drop-panel-BfPNKgTF.js} +40 -40
  244. package/components/{item-slot-drop-panel-PpoHWxpZ.cjs → item-slot-drop-panel-Dpq0wmjK.cjs} +1 -1
  245. package/components/item-slot-picker/index.cjs +1 -1
  246. package/components/item-slot-picker/index.js +1 -1
  247. package/components/{item-slot-picker-DSliJni4.js → item-slot-picker-CfVBGhtn.js} +6 -6
  248. package/components/{item-slot-picker-BGQn6mCM.cjs → item-slot-picker-Dd6Kbogr.cjs} +1 -1
  249. package/components/item-slot-picker-panel/index.cjs +1 -1
  250. package/components/item-slot-picker-panel/index.js +1 -1
  251. package/components/{item-slot-picker-panel-BV3WnS9j.js → item-slot-picker-panel-CCuNfI-H.js} +3 -3
  252. package/components/{item-slot-picker-panel-CZHlazfn.cjs → item-slot-picker-panel-CJeNRlV7.cjs} +1 -1
  253. package/components/{kpi-positioning.config-Cg8-gz35.js → kpi-positioning.config-2U0uwmlg.js} +1 -1
  254. package/components/{kpi-positioning.config-Bo0-gfhW.cjs → kpi-positioning.config-CsszJTwW.cjs} +1 -1
  255. package/components/{line-chart-positioning.config-UEksxjo2.js → line-chart-positioning.config-BNkVCkEi.js} +1 -1
  256. package/components/{line-chart-positioning.config-Bb87MKxZ.cjs → line-chart-positioning.config-BPDjzkOl.cjs} +1 -1
  257. package/components/{localized-mixin-Dv4dT_Qo.js → localized-mixin-1pXLxru-.js} +1 -1
  258. package/components/{localized-mixin-DdMOQmkW.cjs → localized-mixin-B90--eee.cjs} +1 -1
  259. package/components/{marker-map-positioning.config-CFmqWXOL.cjs → marker-map-positioning.config-B7HZROjC.cjs} +1 -1
  260. package/components/{marker-map-positioning.config-3Vbat2pI.js → marker-map-positioning.config-RbKCqlow.js} +1 -1
  261. package/components/{nl-Dvklxh6k.js → nl-DCnweL_d.js} +1 -0
  262. package/components/nl-XotE1MQq.cjs +20 -0
  263. package/components/{ohlc-chart-positioning.config-DPG62QFZ.cjs → ohlc-chart-positioning.config-fms6Xm7c.cjs} +1 -1
  264. package/components/{ohlc-chart-positioning.config-CPXmE2C6.js → ohlc-chart-positioning.config-fvQ1NA0s.js} +1 -1
  265. package/components/{parallel-coordinates-plot-positioning.config-CiHl_5PC.js → parallel-coordinates-plot-positioning.config-CdoqYr8U.js} +1 -1
  266. package/components/{parallel-coordinates-plot-positioning.config-GLUY-_3r.cjs → parallel-coordinates-plot-positioning.config-Dca9E5x1.cjs} +1 -1
  267. package/components/{pivot-table-positioning.config-DlaxbJDe.js → pivot-table-positioning.config-B452mjRQ.js} +1 -1
  268. package/components/{pivot-table-positioning.config-CBckdPF6.cjs → pivot-table-positioning.config-D4Ufe0a4.cjs} +1 -1
  269. package/components/{pyramid-chart-positioning.config-B_hdKwE-.cjs → pyramid-chart-positioning.config-B_i_YM3u.cjs} +1 -1
  270. package/components/{pyramid-chart-positioning.config-DIttV8Bd.js → pyramid-chart-positioning.config-D_IQJ54d.js} +1 -1
  271. package/components/{radar-chart-positioning.config-SuMx33Rb.js → radar-chart-positioning.config-Binwswco.js} +1 -1
  272. package/components/{radar-chart-positioning.config-BCmKaEU3.cjs → radar-chart-positioning.config-o4DUvLDH.cjs} +1 -1
  273. package/components/{route-map-positioning.config-BHgJfD2W.cjs → route-map-positioning.config-Cx8m_rSE.cjs} +1 -1
  274. package/components/{route-map-positioning.config-os7LBECw.js → route-map-positioning.config-DEczJEXT.js} +1 -1
  275. package/components/{sankey-diagram-positioning.config-CefPXYny.js → sankey-diagram-positioning.config-CTqWiBUJ.js} +1 -1
  276. package/components/{sankey-diagram-positioning.config-BkZ-z93h.cjs → sankey-diagram-positioning.config-mR-LUCqf.cjs} +1 -1
  277. package/components/{scatter-plot-positioning.config-Cj97qUBu.cjs → scatter-plot-positioning.config-BTGs9-I8.cjs} +1 -1
  278. package/components/{scatter-plot-positioning.config-tPnsj0Bi.js → scatter-plot-positioning.config-Bp7rL91c.js} +1 -1
  279. package/components/{set-locale-4ytzZDhn.cjs → set-locale-7HTPxGjw.cjs} +1 -1
  280. package/components/{set-locale-w6Y3RUvf.js → set-locale-Bs5YY20M.js} +4 -4
  281. package/components/{slicer-filter-positioning.config-CS51YpGW.cjs → slicer-filter-positioning.config-CsJLDnDr.cjs} +1 -1
  282. package/components/{slicer-filter-positioning.config-Bh_p1GYx.js → slicer-filter-positioning.config-aFwENsde.js} +1 -1
  283. package/components/slot-menu/index.cjs +1 -1
  284. package/components/slot-menu/index.js +1 -1
  285. package/components/{slot-menu-B7q15GwU.js → slot-menu-8u11TsUc.js} +3 -3
  286. package/components/{slot-menu-H-hVDVNW.cjs → slot-menu-NXDPZnP6.cjs} +1 -1
  287. package/components/slot-menu-list/index.cjs +1 -1
  288. package/components/slot-menu-list/index.js +1 -1
  289. package/components/{slot-menu-list-CMaf2WZ9.js → slot-menu-list-B7MZhB0X.js} +1 -1
  290. package/components/{slot-menu-list-C1rVkQEG.cjs → slot-menu-list-Bu-9QjNs.cjs} +1 -1
  291. package/components/{speedometer-chart-positioning.config-CA4mIQVz.cjs → speedometer-chart-positioning.config-ByucHpVq.cjs} +1 -1
  292. package/components/{speedometer-chart-positioning.config-DxmmNwvU.js → speedometer-chart-positioning.config-M5bbwHnf.js} +1 -1
  293. package/components/{spike-map-positioning.config-Drj2qKMJ.cjs → spike-map-positioning.config-DYEWpWkA.cjs} +1 -1
  294. package/components/{spike-map-positioning.config-BMnS3qbm.js → spike-map-positioning.config-dNm1lk3j.js} +1 -1
  295. package/components/{strip-plot-positioning.config-DOPNhBEE.js → strip-plot-positioning.config-B3cbP2kI.js} +1 -1
  296. package/components/{strip-plot-positioning.config-CiGPeVyq.cjs → strip-plot-positioning.config-CdAnENxc.cjs} +1 -1
  297. package/components/{sunburst-chart-positioning.config-cwQaxuYH.js → sunburst-chart-positioning.config-BSrxf6KC.js} +1 -1
  298. package/components/{sunburst-chart-positioning.config-CveUDnv_.cjs → sunburst-chart-positioning.config-DiJnTxYQ.cjs} +1 -1
  299. package/components/{symbol-map-positioning.config-CUaCGtpk.cjs → symbol-map-positioning.config-CM8nQeNy.cjs} +1 -1
  300. package/components/{symbol-map-positioning.config-W6EMKyLL.js → symbol-map-positioning.config-rLomOVfq.js} +1 -1
  301. package/components/{treemap-chart-positioning.config-CynNsRhu.cjs → treemap-chart-positioning.config-CNI_L1cu.cjs} +1 -1
  302. package/components/{treemap-chart-positioning.config-bQdU3kX_.js → treemap-chart-positioning.config-YlPQDHr3.js} +1 -1
  303. package/components/utils/base.cjs +1 -1
  304. package/components/utils/base.js +2 -2
  305. package/components/{utils-1zaS4yM5.js → utils-C80zlrQc.js} +1 -1
  306. package/components/{utils-B_KSNNkR.cjs → utils-GBxc3BlF.cjs} +1 -1
  307. package/components/utils.cjs +1 -1
  308. package/components/utils.js +2 -2
  309. package/components/{venn-diagram-positioning.config-CZv8APyM.cjs → venn-diagram-positioning.config-BETZMKZU.cjs} +1 -1
  310. package/components/{venn-diagram-positioning.config-Bv5zft18.js → venn-diagram-positioning.config-BdsCGNon.js} +1 -1
  311. package/components/{wordcloud-chart-positioning.config-BrbvVug5.cjs → wordcloud-chart-positioning.config-CTyeSljW.cjs} +1 -1
  312. package/components/{wordcloud-chart-positioning.config-C0lpiEgP.js → wordcloud-chart-positioning.config-D5fF1omH.js} +1 -1
  313. package/package.json +1 -1
  314. package/react/package.json +2 -2
  315. package/standalone/chunks/{add-to-dashboard-BlrZ08qE.js → add-to-dashboard-PmAMsZVR.js} +2 -2
  316. package/standalone/chunks/{base-Bo6Un1Yu.js → base-BDb1i8ts.js} +1 -1
  317. package/standalone/chunks/de-BmUc_yRK.js +2 -0
  318. package/standalone/chunks/{display-settings-binning-BcAygd33.js → display-settings-binning-BdPPJQgr.js} +1 -1
  319. package/standalone/chunks/{display-settings-datetime-C-c7VS62.js → display-settings-datetime-CA0XZBCf.js} +1 -1
  320. package/standalone/chunks/{display-settings-grand-totals-CHUPJMiO.js → display-settings-grand-totals-BxaxX738.js} +1 -1
  321. package/standalone/chunks/{display-settings-numeric-CwIsAjlA.js → display-settings-numeric-DCcaY0CT.js} +1 -1
  322. package/standalone/chunks/{display-settings-period-over-period-Dgr8fANF.js → display-settings-period-over-period-BV2-BD3x.js} +1 -1
  323. package/standalone/chunks/es-ALGHlhRU.js +2 -0
  324. package/standalone/chunks/{filters-BqUlasEq.js → filters-BWbmBnJQ.js} +1 -1
  325. package/standalone/chunks/{formula-codemirror-CJ8OazqM.js → formula-codemirror-B3OKlAeE.js} +1 -1
  326. package/standalone/chunks/fr-7fW7st9t.js +2 -0
  327. package/standalone/chunks/{item-option-action-button-group-Z_QOXgGF.js → item-option-action-button-group-C1Zzs6lu.js} +1 -1
  328. package/standalone/chunks/{item-option-base-CwSzaefN.js → item-option-base-BwVEqzsL.js} +1 -1
  329. package/standalone/chunks/{item-option-color-palette-picker-ClPI-5Hn.js → item-option-color-palette-picker-BEsQ8X2M.js} +1 -1
  330. package/standalone/chunks/{item-option-color-picker-1q1JlJS_.js → item-option-color-picker-DRixczVh.js} +1 -1
  331. package/standalone/chunks/{item-option-color-range-Chg6l7xN.js → item-option-color-range-BIr16B6g.js} +1 -1
  332. package/standalone/chunks/{item-option-guidelines-LNRztY8Q.js → item-option-guidelines-lNUkkYnR.js} +1 -1
  333. package/standalone/chunks/{item-option-multi-language-field-BaN_uPvS.js → item-option-multi-language-field-CiWgrnnb.js} +1 -1
  334. package/standalone/chunks/{item-option-number-field-DOuUp77S.js → item-option-number-field-BDARuu3f.js} +1 -1
  335. package/standalone/chunks/{item-option-panel-B1Qr4UIW.js → item-option-panel-axHc4RhZ.js} +2 -2
  336. package/standalone/chunks/{item-option-picker-Zrazb--P.js → item-option-picker-D37EGzLW.js} +1 -1
  337. package/standalone/chunks/{item-option-position-picker-CSBgzh-h.js → item-option-position-picker-CRyjGhtO.js} +1 -1
  338. package/standalone/chunks/{item-option-positions-number-field-UTA1MQSS.js → item-option-positions-number-field-DRuBQrdp.js} +1 -1
  339. package/standalone/chunks/{item-option-radio-button-group-ClOt6Z30.js → item-option-radio-button-group-BS6BA4h7.js} +1 -1
  340. package/standalone/chunks/{item-option-slider-BLM_vGgf.js → item-option-slider-CdY1pYVs.js} +1 -1
  341. package/standalone/chunks/{item-option-switch-B-HFT1q3.js → item-option-switch-QnA2BZUl.js} +1 -1
  342. package/standalone/chunks/{item-option-text-field-CNQhKUVn.js → item-option-text-field-Dv2-990V.js} +1 -1
  343. package/standalone/chunks/{item-slot-picker-panel-BdW4zXxN.js → item-slot-picker-panel-D6Sks3Px.js} +2 -2
  344. package/standalone/chunks/{load-data-fields-for-datasets-CH-5tbXr.js → load-data-fields-for-datasets-DvtF89uI.js} +1 -1
  345. package/standalone/chunks/{load-formula-codemirror-CgSaMENO.js → load-formula-codemirror-DO2Dte88.js} +1 -1
  346. package/standalone/chunks/{localized-mixin-BAHP4Cln.js → localized-mixin-C3TNnUAB.js} +1 -1
  347. package/standalone/chunks/nl-B-xrnrUr.js +2 -0
  348. package/standalone/interactive-viz-item.js +1 -1
  349. package/standalone/item-grid.js +1 -1
  350. package/standalone/manifest.json +33 -33
  351. package/components/de-k95wCo8e.cjs +0 -20
  352. package/components/es-BvDMibMQ.cjs +0 -20
  353. package/components/fr-RTKQS7AJ.cjs +0 -20
  354. package/components/nl-CA2Q5zqK.cjs +0 -20
  355. package/standalone/chunks/de-DNm8GJah.js +0 -2
  356. package/standalone/chunks/es-BKlgDDOM.js +0 -2
  357. package/standalone/chunks/fr-CYhAyq_i.js +0 -2
  358. package/standalone/chunks/nl-zkCduSpz.js +0 -2
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-PpoHWxpZ.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},color:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.treemapChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-Dpq0wmjK.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},color:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.treemapChartPositioningConfig=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-CN14Fhl_.js";
20
+ import { n as e } from "./item-slot-drop-panel-BfPNKgTF.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/treemap-chart/treemap-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../base-DOqHO4T0.cjs"),t=require("../localized-mixin-DdMOQmkW.cjs");exports.ElementSizes=e.t,exports.Focusable=e.r,exports.LocalizedMixin=t.t,exports.LuzmoElement=e.i,exports.LuzmoMixin=e.a,exports.SizedMixin=e.n;
20
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../base-v18CO1Nj.cjs"),t=require("../localized-mixin-B90--eee.cjs");exports.ElementSizes=e.t,exports.Focusable=e.r,exports.LocalizedMixin=t.t,exports.LuzmoElement=e.i,exports.LuzmoMixin=e.a,exports.SizedMixin=e.n;
@@ -17,6 +17,6 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { a as e, i as t, n, r, t as i } from "../base-ClbyBq3g.js";
21
- import { t as a } from "../localized-mixin-Dv4dT_Qo.js";
20
+ import { a as e, i as t, n, r, t as i } from "../base-BsT8c1LS.js";
21
+ import { t as a } from "../localized-mixin-1pXLxru-.js";
22
22
  export { i as ElementSizes, r as Focusable, a as LocalizedMixin, t as LuzmoElement, e as LuzmoMixin, n as SizedMixin };
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import "./set-locale-w6Y3RUvf.js";
20
+ import "./set-locale-Bs5YY20M.js";
21
21
  import { t as e } from "./slots-config-ChJNgCJz.js";
22
22
  import { a as t, i as n, n as r, o as i, r as a, t as o } from "./slot-role-classification-DKClEpT3.js";
23
23
  import "./load-data-fields-for-datasets-CInmiDlZ.js";
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- require("./set-locale-4ytzZDhn.cjs");const e=require("./slots-config-Cy9pA0wm.cjs"),t=require("./slot-role-classification-BtYLRqq0.cjs");require("./load-data-fields-for-datasets-C4h8NWIE.cjs");function n(e,t){let n=e.acceptableDataFieldTypes,r=e.acceptableColumnSubtypes;return!(t.type&&Array.isArray(n)&&n.length>0&&!n.includes(t.type)||t.subtype&&Array.isArray(r)&&r.length>0&&!r.includes(t.subtype))}function r(e){return e.canAcceptMultipleDataFields===!0||e.canAcceptMultipleColumns===!0}async function i(t){let n=t.customItemSlotsConfigs?.find(e=>e.type===t.itemType)?.slotsConfig;return n?structuredClone(n):await e.t(t.itemType)??void 0}function a(e){return(e?.content?.length??0)>0}function o(e){return e?.content?.length??0}function s(e){let t=e.options,n=t?Object.prototype.hasOwnProperty.call(t,`isAggregationDisabled`):!1,r=t?Object.prototype.hasOwnProperty.call(t,`isBinningDisabled`):!1,i=e.type===`categorical`||e.type===`mixed`,a=e.type===`mixed`||e.type===`numeric`;return{aggregationDisabled:n?t?.isAggregationDisabled===!0:i,binningDisabled:r?t?.isBinningDisabled===!0:a}}function c(e,t){let n=s(t),r=structuredClone(e);return n.aggregationDisabled&&delete r.aggregation,n.binningDisabled&&delete r.bins,r}function l(e){let t=new Map(e.slotsConfig.map(e=>[e.name,e]));return e.slots.map(e=>{let n=t.get(e.name);return n?{name:e.name,content:(e.content??[]).map(e=>c(e,n))}:{name:e.name,content:structuredClone(e.content??[])}})}function u(e){let t=new Map(e.map(e=>[e.name,e]));for(let n of e)n.content=n.content??[],n.content.length>1&&n.noMultipleIfSlotsFilled?.some(e=>a(t.get(e)))&&(n.content=[n.content[0]]),n.content.length>1&&n.keepOnlyFirstWhenOtherSlotFilled?.some(e=>a(t.get(e)))&&(n.content=[n.content[0]]),n.content.length>0&&n.clearWhenOtherSlotHasMultipleItems?.some(e=>o(t.get(e))>1)&&(n.content=[])}function d(e){let n=[...e].sort((e,t)=>(e.order??0)-(t.order??0)),r=[],i=0;for(let e of n)for(let n=0;n<(e.content??[]).length;n++){let a=e.content?.[n];if(!a)continue;let o=t.r(a),s=t.i({slotName:e.name,slotType:e.type,contentKind:o});r.push({id:`staged-${e.name}-${n}-${i}`,sourceSlotName:e.name,sourceSlotIsRequired:e.isRequired===!0,sourceRole:s,sourceOrder:i,content:structuredClone(a)}),i++}return r}function f(e){let t=new Set;for(let n of e.targetSlots)for(let e of n.content??[]){let n=e._stagedId;n&&t.add(n)}e.placedIds.clear();for(let n of t)e.placedIds.add(n)}function p(e,t){let i=new Map(t.map(e=>[e.name,e])),s=new Map(e.map(e=>[e.name,e]));for(let t of e){let e=i.get(t.name);if(!e)return!1;let c=t.content?.length??0;if(c>1&&!r(e))return!1;for(let r of t.content??[])if(!n(e,r))return!1;if(c>1&&e.noMultipleIfSlotsFilled?.some(e=>a(s.get(e)))||c>1&&e.keepOnlyFirstWhenOtherSlotFilled?.some(e=>a(s.get(e)))||c>0&&e.clearWhenOtherSlotHasMultipleItems?.some(e=>o(s.get(e))>1))return!1}return!0}function m(e,i,a,o){let s=!1,c=new Set(i.targetSlots.map(e=>e.name)),l=[...e].sort((e,t)=>{let n=+!c.has(e.sourceSlotName),r=+!c.has(t.sourceSlotName);if(n!==r)return n-r;let i=+!e.sourceSlotIsRequired,a=+!t.sourceSlotIsRequired;return i===a?e.sourceOrder-t.sourceOrder:i-a});for(let e of l){if(i.placedIds.has(e.id))continue;let c=a?a(e):t.t(e,i.hasTargetSecondaryGroupBy),l=t.o({targetSlots:i.targetSlots,sourceSlotName:e.sourceSlotName,sourceRole:e.sourceRole,preferredRoles:c,isAdditionalCompatible:t=>n(t,e.content)&&(!o||o(e,t))});for(let t of l)if(t.content=t.content??[],t.content.length===0||r(t)){t.content.push(e.content),Object.defineProperty(e.content,"_stagedId",{value:e.id,configurable:!0,enumerable:!1}),s=!0,i.placedIds.add(e.id);break}}s&&(u(i.targetSlots),f({targetSlots:i.targetSlots,placedIds:i.placedIds}))}function h(e){let n=t.a(e);return n.has(`measure`)?!n.has(`mainGroupBy`)&&!n.has(`secondaryGroupBy`):!1}async function g(e){let n=await i({itemType:e.oldItemType,customItemSlotsConfigs:e.customItemSlotsConfigs}),s=await i({itemType:e.newItemType,customItemSlotsConfigs:e.customItemSlotsConfigs}),c=structuredClone(s??[]);if(!s||s.length===0)return{type:e.oldItemType||`bar-chart`,slots:[...e.slots??[]],options:{...e.options}};if(e.oldItemType===e.newItemType&&e.slots&&p(e.slots,s)){let t=new Map(e.slots.map(e=>[e.name,e])),n=s.map(e=>{let n=t.get(e.name);return{name:e.name,content:n?.content??[]}});return{type:e.newItemType,slots:l({slots:n,slotsConfig:s}),options:{...e.options}}}let f=structuredClone(e.slots??[]);for(let e of f){let t=n?.find(t=>t.name===e.name);t?.type&&(e.type=t.type),t?.isRequired===!0&&(e.isRequired=!0),t?.order!==void 0&&(e.order=t.order)}let g=d(f),_=new Set,v=t.n(c),y=g.filter(e=>e.sourceRole===`mainGroupBy`),b=g.filter(e=>e.sourceRole===`secondaryGroupBy`),x=g.filter(e=>e.sourceRole===`measure`),S=g.filter(e=>e.sourceRole===`other`),C=!(y.length>0),w=c.some(e=>e.isRequired===!0&&t.a(e).has(`mainGroupBy`)),T={targetSlots:c,placedIds:_,hasTargetSecondaryGroupBy:v};m(y,T,()=>[`mainGroupBy`]),m(b,T,()=>[`mainGroupBy`],(e,n)=>n.isRequired===!0&&t.a(n).has(`mainGroupBy`)&&!a(n)),C&&!w&&m(b,T,()=>[`mainGroupBy`],(e,n)=>n.isRequired!==!0&&t.a(n).has(`mainGroupBy`)&&(o(n)===0||r(n))),m(b,T,e=>t.t(e,v)),C&&w&&m(b,T,()=>[`mainGroupBy`],(e,n)=>n.isRequired!==!0&&t.a(n).has(`mainGroupBy`)&&(o(n)===0||r(n))),v&&m(y,T,()=>[`secondaryGroupBy`]);let E=c.some(e=>h(e));return m(x,T,()=>[`measure`],(e,t)=>h(t)),E||m(x,T),m(S,T),u(c),{type:e.newItemType,slots:l({slots:c.map(e=>({name:e.name,content:e.content??[]})),slotsConfig:s}),options:{...e.options}}}var _=5;function v(e){return!e||e==="default"}function y(e){let t=/([+-]\d+)\s/.exec(e.toString())?.[1]??`+0000`;return`${t.slice(0,3)}:${t.slice(3,5)}`}function b(e){return y(new Date(e))}function x(e){let t=new Date(e),n=y(t),r=(e instanceof Date?e.toISOString():String(e)).match(/^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2})/)?.[1];return r?new Date(`${r}${n}`):t}function S(e,t){let n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,fractionalSecondDigits:3,hour12:!1}).formatToParts(e),r=e=>n.find(t=>t.type===e)?.value??`00`,i=`${r(`year`)}-${r(`month`)}-${r(`day`)}T${r(`hour`)}:${r(`minute`)}:${r(`second`)}.${r(`fractionalSecond`)||`000`}`,a=b(i);return new Date(`${i}${a}`)}function C(e,t,n){return e==null?e:t!==void 0&&t<=5?x(e):S(e instanceof Date?e:new Date(String(e)),n)}function w(e,t,n){if(!t||t.type!==`datetime`)return e;let r=t.drilldownLevel??t.level??void 0;return!v(t.datetimeDisplayMode)||e==null?e:n?C(e,r,n):e instanceof Date?e:new Date(String(e))}Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return _}});
20
+ require("./set-locale-7HTPxGjw.cjs");const e=require("./slots-config-Cy9pA0wm.cjs"),t=require("./slot-role-classification-BtYLRqq0.cjs");require("./load-data-fields-for-datasets-C4h8NWIE.cjs");function n(e,t){let n=e.acceptableDataFieldTypes,r=e.acceptableColumnSubtypes;return!(t.type&&Array.isArray(n)&&n.length>0&&!n.includes(t.type)||t.subtype&&Array.isArray(r)&&r.length>0&&!r.includes(t.subtype))}function r(e){return e.canAcceptMultipleDataFields===!0||e.canAcceptMultipleColumns===!0}async function i(t){let n=t.customItemSlotsConfigs?.find(e=>e.type===t.itemType)?.slotsConfig;return n?structuredClone(n):await e.t(t.itemType)??void 0}function a(e){return(e?.content?.length??0)>0}function o(e){return e?.content?.length??0}function s(e){let t=e.options,n=t?Object.prototype.hasOwnProperty.call(t,`isAggregationDisabled`):!1,r=t?Object.prototype.hasOwnProperty.call(t,`isBinningDisabled`):!1,i=e.type===`categorical`||e.type===`mixed`,a=e.type===`mixed`||e.type===`numeric`;return{aggregationDisabled:n?t?.isAggregationDisabled===!0:i,binningDisabled:r?t?.isBinningDisabled===!0:a}}function c(e,t){let n=s(t),r=structuredClone(e);return n.aggregationDisabled&&delete r.aggregation,n.binningDisabled&&delete r.bins,r}function l(e){let t=new Map(e.slotsConfig.map(e=>[e.name,e]));return e.slots.map(e=>{let n=t.get(e.name);return n?{name:e.name,content:(e.content??[]).map(e=>c(e,n))}:{name:e.name,content:structuredClone(e.content??[])}})}function u(e){let t=new Map(e.map(e=>[e.name,e]));for(let n of e)n.content=n.content??[],n.content.length>1&&n.noMultipleIfSlotsFilled?.some(e=>a(t.get(e)))&&(n.content=[n.content[0]]),n.content.length>1&&n.keepOnlyFirstWhenOtherSlotFilled?.some(e=>a(t.get(e)))&&(n.content=[n.content[0]]),n.content.length>0&&n.clearWhenOtherSlotHasMultipleItems?.some(e=>o(t.get(e))>1)&&(n.content=[])}function d(e){let n=[...e].sort((e,t)=>(e.order??0)-(t.order??0)),r=[],i=0;for(let e of n)for(let n=0;n<(e.content??[]).length;n++){let a=e.content?.[n];if(!a)continue;let o=t.r(a),s=t.i({slotName:e.name,slotType:e.type,contentKind:o});r.push({id:`staged-${e.name}-${n}-${i}`,sourceSlotName:e.name,sourceSlotIsRequired:e.isRequired===!0,sourceRole:s,sourceOrder:i,content:structuredClone(a)}),i++}return r}function f(e){let t=new Set;for(let n of e.targetSlots)for(let e of n.content??[]){let n=e._stagedId;n&&t.add(n)}e.placedIds.clear();for(let n of t)e.placedIds.add(n)}function p(e,t){let i=new Map(t.map(e=>[e.name,e])),s=new Map(e.map(e=>[e.name,e]));for(let t of e){let e=i.get(t.name);if(!e)return!1;let c=t.content?.length??0;if(c>1&&!r(e))return!1;for(let r of t.content??[])if(!n(e,r))return!1;if(c>1&&e.noMultipleIfSlotsFilled?.some(e=>a(s.get(e)))||c>1&&e.keepOnlyFirstWhenOtherSlotFilled?.some(e=>a(s.get(e)))||c>0&&e.clearWhenOtherSlotHasMultipleItems?.some(e=>o(s.get(e))>1))return!1}return!0}function m(e,i,a,o){let s=!1,c=new Set(i.targetSlots.map(e=>e.name)),l=[...e].sort((e,t)=>{let n=+!c.has(e.sourceSlotName),r=+!c.has(t.sourceSlotName);if(n!==r)return n-r;let i=+!e.sourceSlotIsRequired,a=+!t.sourceSlotIsRequired;return i===a?e.sourceOrder-t.sourceOrder:i-a});for(let e of l){if(i.placedIds.has(e.id))continue;let c=a?a(e):t.t(e,i.hasTargetSecondaryGroupBy),l=t.o({targetSlots:i.targetSlots,sourceSlotName:e.sourceSlotName,sourceRole:e.sourceRole,preferredRoles:c,isAdditionalCompatible:t=>n(t,e.content)&&(!o||o(e,t))});for(let t of l)if(t.content=t.content??[],t.content.length===0||r(t)){t.content.push(e.content),Object.defineProperty(e.content,"_stagedId",{value:e.id,configurable:!0,enumerable:!1}),s=!0,i.placedIds.add(e.id);break}}s&&(u(i.targetSlots),f({targetSlots:i.targetSlots,placedIds:i.placedIds}))}function h(e){let n=t.a(e);return n.has(`measure`)?!n.has(`mainGroupBy`)&&!n.has(`secondaryGroupBy`):!1}async function g(e){let n=await i({itemType:e.oldItemType,customItemSlotsConfigs:e.customItemSlotsConfigs}),s=await i({itemType:e.newItemType,customItemSlotsConfigs:e.customItemSlotsConfigs}),c=structuredClone(s??[]);if(!s||s.length===0)return{type:e.oldItemType||`bar-chart`,slots:[...e.slots??[]],options:{...e.options}};if(e.oldItemType===e.newItemType&&e.slots&&p(e.slots,s)){let t=new Map(e.slots.map(e=>[e.name,e])),n=s.map(e=>{let n=t.get(e.name);return{name:e.name,content:n?.content??[]}});return{type:e.newItemType,slots:l({slots:n,slotsConfig:s}),options:{...e.options}}}let f=structuredClone(e.slots??[]);for(let e of f){let t=n?.find(t=>t.name===e.name);t?.type&&(e.type=t.type),t?.isRequired===!0&&(e.isRequired=!0),t?.order!==void 0&&(e.order=t.order)}let g=d(f),_=new Set,v=t.n(c),y=g.filter(e=>e.sourceRole===`mainGroupBy`),b=g.filter(e=>e.sourceRole===`secondaryGroupBy`),x=g.filter(e=>e.sourceRole===`measure`),S=g.filter(e=>e.sourceRole===`other`),C=!(y.length>0),w=c.some(e=>e.isRequired===!0&&t.a(e).has(`mainGroupBy`)),T={targetSlots:c,placedIds:_,hasTargetSecondaryGroupBy:v};m(y,T,()=>[`mainGroupBy`]),m(b,T,()=>[`mainGroupBy`],(e,n)=>n.isRequired===!0&&t.a(n).has(`mainGroupBy`)&&!a(n)),C&&!w&&m(b,T,()=>[`mainGroupBy`],(e,n)=>n.isRequired!==!0&&t.a(n).has(`mainGroupBy`)&&(o(n)===0||r(n))),m(b,T,e=>t.t(e,v)),C&&w&&m(b,T,()=>[`mainGroupBy`],(e,n)=>n.isRequired!==!0&&t.a(n).has(`mainGroupBy`)&&(o(n)===0||r(n))),v&&m(y,T,()=>[`secondaryGroupBy`]);let E=c.some(e=>h(e));return m(x,T,()=>[`measure`],(e,t)=>h(t)),E||m(x,T),m(S,T),u(c),{type:e.newItemType,slots:l({slots:c.map(e=>({name:e.name,content:e.content??[]})),slotsConfig:s}),options:{...e.options}}}var _=5;function v(e){return!e||e==="default"}function y(e){let t=/([+-]\d+)\s/.exec(e.toString())?.[1]??`+0000`;return`${t.slice(0,3)}:${t.slice(3,5)}`}function b(e){return y(new Date(e))}function x(e){let t=new Date(e),n=y(t),r=(e instanceof Date?e.toISOString():String(e)).match(/^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2})/)?.[1];return r?new Date(`${r}${n}`):t}function S(e,t){let n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,fractionalSecondDigits:3,hour12:!1}).formatToParts(e),r=e=>n.find(t=>t.type===e)?.value??`00`,i=`${r(`year`)}-${r(`month`)}-${r(`day`)}T${r(`hour`)}:${r(`minute`)}:${r(`second`)}.${r(`fractionalSecond`)||`000`}`,a=b(i);return new Date(`${i}${a}`)}function C(e,t,n){return e==null?e:t!==void 0&&t<=5?x(e):S(e instanceof Date?e:new Date(String(e)),n)}function w(e,t,n){if(!t||t.type!==`datetime`)return e;let r=t.drilldownLevel??t.level??void 0;return!v(t.datetimeDisplayMode)||e==null?e:n?C(e,r,n):e instanceof Date?e:new Date(String(e))}Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return _}});
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./set-locale-4ytzZDhn.cjs"),t=require("./localize-D3i4Epy_.cjs"),n=require("./formatter-BeXmurVe.cjs"),r=require("./decompose-numeric-format-DGJua3rU.cjs"),i=require("./convert-datasets-to-data-fields-B13rl1an.cjs"),a=require("./load-data-fields-for-datasets-C4h8NWIE.cjs"),o=require("./period-over-period-condition.const-C1NZ9Bkp.cjs"),s=require("./themes-kvrISOTz.cjs"),c=require("./utils-B_KSNNkR.cjs");exports.DATE_LEVEL_AND_ABOVE=c.t,exports.PeriodOverPeriodCondition=o.t,exports.convertDatasetsToDataFields=i.t,exports.decomposeNumericFormat=r.t,exports.formatter=n.t,exports.getLocale=e.t,exports.getTheme=s.t,exports.getValueForFormatter=c.n,exports.loadDataFieldsForDatasets=a.t,exports.localize=t.t,exports.setLocale=e.n,exports.switchItem=c.i,exports.systemThemeIds=s.n,exports.targetLocales=e.r,exports.transformDateToTimezone=c.r;
20
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./set-locale-7HTPxGjw.cjs"),t=require("./localize-D3i4Epy_.cjs"),n=require("./formatter-BeXmurVe.cjs"),r=require("./decompose-numeric-format-DGJua3rU.cjs"),i=require("./convert-datasets-to-data-fields-B13rl1an.cjs"),a=require("./load-data-fields-for-datasets-C4h8NWIE.cjs"),o=require("./period-over-period-condition.const-C1NZ9Bkp.cjs"),s=require("./themes-kvrISOTz.cjs"),c=require("./utils-GBxc3BlF.cjs");exports.DATE_LEVEL_AND_ABOVE=c.t,exports.PeriodOverPeriodCondition=o.t,exports.convertDatasetsToDataFields=i.t,exports.decomposeNumericFormat=r.t,exports.formatter=n.t,exports.getLocale=e.t,exports.getTheme=s.t,exports.getValueForFormatter=c.n,exports.loadDataFieldsForDatasets=a.t,exports.localize=t.t,exports.setLocale=e.n,exports.switchItem=c.i,exports.systemThemeIds=s.n,exports.targetLocales=e.r,exports.transformDateToTimezone=c.r;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e, r as t, t as n } from "./set-locale-w6Y3RUvf.js";
20
+ import { n as e, r as t, t as n } from "./set-locale-Bs5YY20M.js";
21
21
  import { t as r } from "./localize-BT7REYBY.js";
22
22
  import { t as i } from "./formatter-Cq5dFCyU.js";
23
23
  import { t as a } from "./decompose-numeric-format-DS0j2wa1.js";
@@ -25,5 +25,5 @@ import { t as o } from "./convert-datasets-to-data-fields-PmQzeVLG.js";
25
25
  import { t as s } from "./load-data-fields-for-datasets-CInmiDlZ.js";
26
26
  import { t as c } from "./period-over-period-condition.const-BZ7j5Z5t.js";
27
27
  import { n as l, t as u } from "./themes-CQZd578_.js";
28
- import { i as d, n as f, r as p, t as m } from "./utils-1zaS4yM5.js";
28
+ import { i as d, n as f, r as p, t as m } from "./utils-C80zlrQc.js";
29
29
  export { m as DATE_LEVEL_AND_ABOVE, c as PeriodOverPeriodCondition, o as convertDatasetsToDataFields, a as decomposeNumericFormat, i as formatter, n as getLocale, u as getTheme, f as getValueForFormatter, s as loadDataFieldsForDatasets, r as localize, e as setLocale, d as switchItem, l as systemThemeIds, t as targetLocales, p as transformDateToTimezone };
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-PpoHWxpZ.cjs");var t={grid:{columns:2,rows:2,columnSizes:[e.n,`1fr`],rowSizes:[`1fr`,e.n],gap:`0`},slots:{identifier:{column:1,row:1,align:`center`,justify:`center`,rotate:!0},measure:{column:2,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:2,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.vennDiagramPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-Dpq0wmjK.cjs");var t={grid:{columns:2,rows:2,columnSizes:[e.n,`1fr`],rowSizes:[`1fr`,e.n],gap:`0`},slots:{identifier:{column:1,row:1,align:`center`,justify:`center`,rotate:!0},measure:{column:2,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:2,row:2,align:`center`,justify:`center`,rotate:!1}}};exports.vennDiagramPositioningConfig=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-CN14Fhl_.js";
20
+ import { n as e } from "./item-slot-drop-panel-BfPNKgTF.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/venn-diagram/venn-diagram-positioning.config.js
22
22
  var t = {
23
23
  grid: {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- const e=require("./item-slot-drop-panel-PpoHWxpZ.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},color:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.wordcloudChartPositioningConfig=t;
20
+ const e=require("./item-slot-drop-panel-Dpq0wmjK.cjs");var t={grid:{columns:2,rows:2,columnSizes:[`1fr`,e.n],rowSizes:[`1fr`,e.n],gap:`0`},slots:{measure:{column:1,row:1,align:`center`,justify:`center`,rotate:!1},category:{column:1,row:2,align:`center`,justify:`center`,rotate:!1},color:{column:2,row:1,align:`center`,justify:`center`,rotate:!0}}};exports.wordcloudChartPositioningConfig=t;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { n as e } from "./item-slot-drop-panel-CN14Fhl_.js";
20
+ import { n as e } from "./item-slot-drop-panel-BfPNKgTF.js";
21
21
  //#region node_modules/@luzmo/dashboard-contents-types/wordcloud-chart/wordcloud-chart-positioning.config.js
22
22
  var t = {
23
23
  grid: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/analytics-components-kit",
3
- "version": "1.0.9-beta.13",
3
+ "version": "1.0.9-beta.14",
4
4
  "type": "module",
5
5
  "main": "./components/index.js",
6
6
  "module": "./components/index.js",
@@ -29,7 +29,7 @@
29
29
  "peerDependencies": {
30
30
  "@lit/react": "^1.0.6",
31
31
  "react": "^18.0.0 || ^19.0.0",
32
- "@luzmo/analytics-components-kit": "^1.0.9-beta.13"
32
+ "@luzmo/analytics-components-kit": "^1.0.9-beta.14"
33
33
  },
34
- "version": "1.0.9-beta.13"
34
+ "version": "1.0.9-beta.14"
35
35
  }
@@ -1,5 +1,5 @@
1
1
 
2
- import{n as e,t}from"./localized-mixin-BAHP4Cln.js";import{n,r}from"./lit-localize-CIGP-NUw.js";import{t as i}from"./localized-decorator-Buib6Rq1.js";import{t as a}from"./version-Byoa09L1.js";import{t as o}from"./luzmoAngleDown-PNrItYzK.js";import{t as s}from"./luzmoAngleLeft-ebJO7ROy.js";import{t as c}from"./luzmoArrowsHorizontal-TohKbcQD.js";import{t as l}from"./luzmoPlus-Dyrrz0v8.js";import{n as u,r as d,t as f}from"./base-Bo6Un1Yu.js";import{o as p}from"./chart-helpers-BplLoVQz.js";import{t as m}from"./data-broker-Dgg5mQze.js";import{t as h}from"./localize-BXHWaHdZ.js";import{html as g,ifDefined as _,nothing as v,property as y,query as b,state as x,unsafeCSS as S}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/overlay.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/popover.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/progress-circle.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/tooltip.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/checkbox.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/divider.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/menu.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/notice.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/search.js";var C={icon:[32,32,`m9.3 7.3-9 9a1 1 0 0 0 0 1.4l9 9c1 1 2.3-.5 1.4-1.4L3.4 18H31c1.3 0 1.3-2 0-2H3.4l7.3-7.3c1-1-.5-2.3-1.4-1.4Z`],name:`arrow-left`},w={icon:[32,32,`m22.7 7.3 9 9c.4.4.4 1 0 1.4l-9 9c-1 1-2.4-.5-1.4-1.4l7.3-7.3H1c-1.3 0-1.3-2 0-2h27.6l-7.3-7.3c-1-1 .5-2.3 1.4-1.4z`],name:`arrow-right`},T={icon:[14,32,`m3.7 8.2 8 7a1 1 0 0 1 0 1.6l-8 7c-1 .8-2.3-.7-1.4-1.6L9.5 16 2.3 9.8c-1-1 .4-2.4 1.4-1.6z`],name:`angle-right`},E={icon:[32,32,`M13.1 2.05.53 26.55C-.797 29.136.63 32 4.43 32H27.6c3.8 0 5.23-2.865 3.9-5.45L18.9 2.05c-1.423-2.745-4.437-2.686-5.8 0zm4 .9 12.6 24.5c.72 1.43.04 2.55-2.1 2.55H4.43c-2.14 0-2.82-1.12-2.1-2.55L14.9 2.95c.614-1.268 1.586-1.268 2.2 0zM15 11v10c0 1.3 2 1.3 2 0V11c0-1.305-2-1.305-2 0zm-.5 14.5c0 1.961 3 1.961 3 0s-3-1.961-3 0z`],name:`alert-outline`},D={icon:[32,32,`m14 26c-1.4 0-1.4 2 0 2h4c1.4 0 1.4-2 0-2zM10 2C7.8 2 6 3.8 6 6v22c0 2.2 1.8 4 4 4h12c2.2 0 4-1.8 4-4V6C26 3.8 24.2 2 22 2Zm0 2h12c1.1 0 2 0.9 2 2v22c0 1.1-0.9 2-2 2H10C8.9 30 8 29.1 8 28V6C8 4.9 8.9 4 10 4Z`],name:`mobile`},O={icon:[32,32,`m12 26c-1.4 0-1.4 2 0 2h8c1.4 0 1.4-2 0-2zM6 0C3.8 0 2 1.8 2 4v24c0 2.2 1.8 4 4 4h20c2.2 0 4-1.8 4-4V4C30 1.8 28.2 0 26 0Zm0 2h20c1.1 0 2 0.9 2 2v24c0 1.1-0.9 2-2 2H6C4.9 30 4 29.1 4 28V4C4 2.9 4.9 2 6 2Z`],name:`tablet`},ee={icon:[40,32,`M7 2C5.4 2 4 3.4 4 5v19c0 1.6 1.4 3 3 3h26c1.6 0 3-1.4 3-3V5C36 3.4 34.6 2 33 2Zm0 2h26c0.6 0 1 0.4 1 1v19c0 0.6-0.4 1-1 1H7C6.4 25 6 24.6 6 24V5C6 4.4 6.4 4 7 4ZM1 25a1 1 0 0 0-1 1v1c0 2.7 2.3 5 5 5h30c2.7 0 5-2.3 5-5v-1a1 1 0 0 0-1-1zm1 2h36c0 1.7-1.3 3-3 3H5C3.3 30 2 28.7 2 27Z`],name:`laptop`},te={icon:[40,32,`m18.2 22-2.2 8.8 1.9 0.5L19.8 24h0.4l1.8 7.2 1.9-0.5L21.8 22ZM11 30a1 1 0 0 0-1 1 1 1 0 0 0 1 1h18a1 1 0 0 0 1-1 1 1 0 0 0-1-1zM3 0C1.4 0 0 1.4 0 3v18c0 1.6 1.4 3 3 3h34c1.6 0 3-1.4 3-3V3C40 1.4 38.6 0 37 0Zm0 2h34c0.6 0 1 0.4 1 1v18c0 0.6-0.4 1-1 1H3C2.4 22 2 21.6 2 21V3C2 2.4 2.4 2 3 2Z`],name:`desktop`},ne={icon:[32,32,`M24 0C22 0 20 0.8 18.5 2.2A0.9 0.9 0 0 0 18.5 2.2 0.9 0.9 0 0 0 18.4 2.3C18.4 2.3 18.4 2.3 18.3 2.3A0.9 0.9 0 0 0 18.2 2.5 0.9 0.9 0 0 0 18.2 2.5L13.2 7.5A0.9 0.9 0 0 0 13.2 7.5 0.9 0.9 0 0 0 13.1 7.6C13.1 7.6 13.1 7.6 13.1 7.6L13 7.7A0.9 0.9 0 0 0 12.8 8.1 0.9 0.9 0 0 0 12.8 8.1C11.7 9.5 11 11.2 11 13 11 16.4 13.2 19.5 16.5 20.6A0.9 0.9 0 0 0 17.6 20 0.9 0.9 0 0 0 17 18.9C14.5 18 12.8 15.7 12.8 13 12.8 11.5 13.4 10 14.4 8.9L19.6 3.6A0.9 0.9 0 0 0 19.7 3.6C20.8 2.5 22.4 1.8 24 1.8 27.4 1.8 30.2 4.6 30.2 8 30.2 9.6 29.5 11.2 28.4 12.3A0.9 0.9 0 0 0 28.4 12.4L23.4 17.4A0.9 0.9 0 0 0 23.4 18.6 0.9 0.9 0 0 0 24.6 18.6L29.5 13.8A0.9 0.9 0 0 0 29.7 13.7C29.7 13.6 29.7 13.6 29.7 13.6A0.9 0.9 0 0 0 29.8 13.5 0.9 0.9 0 0 0 29.8 13.4C31.2 12 32 10 32 8 32 3.6 28.4 0 24 0zM15.2 11.4A0.9 0.9 0 0 0 14.4 12 0.9 0.9 0 0 0 15 13.1C17.5 14 19.2 16.3 19.2 19 19.2 20.5 18.6 22 17.6 23.1L12.4 28.4A0.9 0.9 0 0 0 12.3 28.4C11.2 29.5 9.6 30.2 8 30.2 4.6 30.2 1.8 27.4 1.8 24 1.8 22.4 2.5 20.8 3.6 19.7A0.9 0.9 0 0 0 3.6 19.6L8.6 14.6A0.9 0.9 0 0 0 8.6 13.4 0.9 0.9 0 0 0 7.4 13.4L2.5 18.2A0.9 0.9 0 0 0 2.3 18.3C2.3 18.4 2.3 18.4 2.3 18.4A0.9 0.9 0 0 0 2.2 18.5 0.9 0.9 0 0 0 2.2 18.6C0.8 20 0 22 0 24 0 28.4 3.6 32 8 32 10 32 12 31.2 13.5 29.8 13.5 29.8 13.5 29.8 13.5 29.8A0.9 0.9 0 0 0 13.6 29.7C13.6 29.7 13.6 29.7 13.7 29.7A0.9 0.9 0 0 0 13.8 29.5 0.9 0.9 0 0 0 13.8 29.5L18.8 24.5 18.8 24.5A0.9 0.9 0 0 0 18.9 24.4C18.9 24.4 18.9 24.4 18.9 24.4L19 24.3A0.9 0.9 0 0 0 19.2 23.9C19.2 23.9 19.2 23.9 19.2 23.9 20.3 22.5 21 20.8 21 19 21 15.6 18.8 12.5 15.5 11.4A0.9 0.9 0 0 0 15.2 11.4z`],name:`link`},re={icon:[32,32,`M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm5.2 8.4-6.3 9-4.2-4.1c-1-1-2.3.5-1.4 1.4l5 5a1 1 0 0 0 1.5-.1l7-10c.8-1.1-.9-2.2-1.6-1.2z`],name:`check-circle-outline`},k=`:host{align-items:flex-end;gap:var(--luzmo-spacing-2);font-family:var(--luzmo-font-family);flex-direction:column;display:inline-flex}.trigger-spinner{--luzmo-progress-circle-size:var(--luzmo-icon-size-xs)}.trigger-chevron{margin-inline-start:var(--luzmo-spacing-1)}.picker{gap:var(--luzmo-spacing-3);width:var(--luzmo-add-to-dashboard-picker-width,var(--add-to-dashboard-picker-width));max-width:90vw;padding:var(--luzmo-spacing-2);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s);flex-direction:column;display:flex}luzmo-search{width:100%}.list{max-height:var(--luzmo-add-to-dashboard-list-max-height,var(--add-to-dashboard-list-max-height));flex-direction:column;display:flex;overflow-y:auto}.menu{--luzmo-menu-max-height:none;flex:none;width:100%;overflow:visible}.create-row{--luzmo-menu-item-label-icon-color-default:var(--luzmo-primary)}.thumbnail{object-fit:cover;border:var(--luzmo-border-width) solid var(--luzmo-border-color);border-radius:var(--luzmo-border-radius);width:2.75rem;height:2rem}.drill-in{color:var(--luzmo-font-color-extra-dimmed)}.header{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.header-title{font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.empty{align-items:center;gap:var(--luzmo-spacing-3);padding:var(--luzmo-spacing-4);text-align:center;flex-direction:column;display:flex}.loading{padding:var(--luzmo-spacing-3);justify-content:center;display:flex}.screen-modes{gap:var(--luzmo-spacing-2);flex-direction:column;display:flex}.screen-mode{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.screen-mode-size{color:var(--luzmo-font-color-extra-dimmed)}.footer{justify-content:flex-end;display:flex}.status{justify-content:flex-end;width:0;min-width:100%;display:flex}.status:empty{display:none}.alert{flex:none;inline-size:max-content}.alert-body{align-items:center;gap:var(--luzmo-spacing-3);block-size:1lh;min-inline-size:0;display:flex}.alert-text{min-inline-size:0;font-weight:var(--luzmo-font-weight-semibold);white-space:pre;display:flex}.alert-name{min-inline-size:0;font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;overflow:hidden}.alert-open{flex:none}:host{--add-to-dashboard-picker-width:18rem;--add-to-dashboard-list-max-height:16rem}`,A=`0.1.0`,j=[`id`,`name`,`contents`,`modified_at`,`is_variant`,`original_id`],M=new Set([`designer`,`owner`]),N=`flag_dashboard_variants`,P=[`desktop`,`tablet`,`mobile`];async function F(e,t,n){let r=[],i=t,a=0;for(let t of e){let e=n-r.length,o=await t(i,Math.max(e,1));e>0&&r.push(...o.rows.slice(0,e)),i=Math.max(0,i-o.count),a+=o.count}return{rows:r,total:a}}async function I(e){let t=await e.fetchApi(`/user`,{action:`get`,version:A,find:{where:{id:`me`},attributes:[`id`,`flags`]}});return{id:t.rows?.[0]?.id??``,flags:t.rows?.[0]?.flags??[]}}async function L(e,t){return(await e.fetchApi(`/authorization`,{action:`get`,version:A,find:{where:{id:t}}})).rows?.[0]}async function R(e,t,n){let r={...t,where:{...t.where,type:`dashboard`}},i=await e.fetchApi(`/securable`,{action:`get`,version:A,find:r},{signal:n});return{rows:i.rows??[],count:i.count??i.rows?.length??0}}function z(e){let t={modifyIds:new Set,useOnlyIds:new Set};for(let n of e?.access?.dashboards??[])n.rights?.Modify?t.modifyIds.add(n.id):n.rights?.Use&&t.useOnlyIds.add(n.id);return t}function B(){return{version:a,syncScreenModes:!0,views:P.map(e=>({screenModus:e,options:{theme:{id:`default`}},filterGroups:[],items:[]})),timezone:{type:`fixed`,id:`UTC`}}}function V(e){return e?{search:{match_types:[`name`,`description`],keyphrase:e,securable_types:[`dashboard`]}}:{}}function H(e,t){return{include:[{model:`User`,as:`allUsers`,attributes:[],required:!0,where:{id:e,...Object.fromEntries(Object.entries(t).map(([e,t])=>[`securableAccessRight.${e}`,t]))}}]}}async function U(e){let t=new m({apiUrl:e.apiUrl,authKey:e.authKey,authToken:e.authToken,skipNetworkListeners:!0}),[n,r]=await Promise.all([I(t),L(t,e.authKey)]),i=z(r),a=r?.type!==`embed`||M.has(r.role??``),o=!!n.id&&n.flags.includes(N),s=[...i.modifyIds,...o?i.useOnlyIds:[]],c=s.length>0?{id:{notIn:s}}:{},l=(t,n=!1)=>{let r=[...new Set((t.contents?.views??[]).map(e=>e.screenModus))];return{id:t.id,name:h(t.name??{},e.language),syncScreenModes:t.contents?.syncScreenModes!==!1,screenModes:r.length>0?r:[`desktop`],...n?{requiresVariant:n}:{}}},u,d=(e,n)=>async(r,a)=>{if(s.length===0)return{count:0,rows:[]};let o=r>0&&u?.search===e?u.rows:void 0;return o||(o=(await R(t,{where:{is_variant:!1,archived_at:null,id:{in:s}},attributes:j,...V(e)},n)).rows.map(e=>l(e,!i.modifyIds.has(e.id))).sort((e,t)=>e.name.localeCompare(t.name)),u={search:e,rows:o}),{count:o.length,rows:o.slice(r,r+a)}},f=(e,r,i,a)=>async(o,s)=>{let u=await R(t,{where:{is_variant:!1,archived_at:null,...c},attributes:j,...H(n.id,i),...V(e),limit:s,offset:o,order:[[`modified_at`,`desc`]]},r);return{count:u.count,rows:u.rows.map(e=>l(e,a))}},p=async(e,n,r,i)=>{await t.fetchApi(`/securable`,{action:`update`,version:A,id:e,properties:{append_item:{item:n,...r?.length?{screenModes:r}:{}}}},{signal:i})},g=async(e,n,r)=>{try{await p(e.id,n,r)}catch(n){throw await t.fetchApi(`/securable`,{action:`delete`,version:A,id:e.id}).catch(()=>void 0),n}},_=async(e,n)=>await t.fetchApi(`/securable`,{action:`create`,version:A,properties:{...e,type:`dashboard`},associations:n});return{async list(e,t){return n.id?await F([d(e.search,t.signal),...o?[f(e.search,t.signal,{flagUse:!0,flagModify:!1},!0)]:[],f(e.search,t.signal,{flagModify:!0},!1)],e.offset,e.limit):{rows:[],total:0}},async add(e,t,n,r){await p(e.id,t,n.screenModes,r.signal)},...a?{async create(t,n){let r=await _({name:n.name?{[e.language]:n.name}:{},contents:B()});return await g(r,t,void 0),l(r)}}:{},...o?{async listVariants(e,r){return(await R(t,{where:{is_variant:!0,original_id:e.id,archived_at:null},attributes:j,...H(n.id,{flagModify:!0}),order:[[`modified_at`,`desc`]]},r.signal)).rows.map(e=>l(e))}}:{},...o&&a?{async addToVariant(n,r,i){let a=(await R(t,{where:{id:n.id},attributes:[`id`,`name`,`contents`]})).rows[0];if(!a?.contents)throw Error(`The dashboard was not found.`);let o=a.name??{},s=await _({name:i.name?{...o,[e.language]:i.name}:o,contents:a.contents},[{role:`original`,id:n.id}]);return await g(s,r,i.screenModes),l({...s,contents:s.contents??a.contents})}}:{}}}function W(e){let{theme:t,...n}=e.options??{};return{...p(e),options:n}}function G(e,t){let n=new Set(e),r=e.length+1;for(;n.has(t(r));)r+=1;return r}var K=20,q=300,J=8,Y=48,X=`__luzmo-new-dashboard`,Z=`__luzmo-new-variant`,Q=new Map,ie=0,$=class extends t(u(d,{validSizes:Object.values(f)})){constructor(...e){super(...e),this.chart=null,this.dashboardActions=null,this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.placement=`bottom-end`,this.disabled=!1,this._open=!1,this._actions=null,this._step=`list`,this._rows=[],this._hasMore=!1,this._loading=!1,this._listFailed=!1,this._original=null,this._variants=[],this._variantsLoading=!1,this._variantsFailed=!1,this._pending=null,this._screenModes=[],this._saving=!1,this._status=null,this._triggerId=`add-to-dashboard-trigger-${++ie}`,this._search=``,this._actionsGeneration=0,this._reloadOnUpdate=!1}static get styles(){let e=super.styles??[];return[...Array.isArray(e)?e:[e],S(k)]}get _hasSource(){return!!this.dashboardActions||!!(this.authKey&&this.authToken)}connectedCallback(){super.connectedCallback(),this._status&&this._startFittingAlert()}disconnectedCallback(){super.disconnectedCallback(),this._handleClosed(),this._actionsGeneration+=1,this._saveAbort?.abort(),this._stopFittingAlert()}willUpdate(e){super.willUpdate(e),(e.has(`dashboardActions`)||e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`)||e.has(`language`))&&(this._actions=null,this._actionsGeneration+=1,this._open&&(this._listAbort?.abort(),this._variantsAbort?.abort(),this._step=`list`,this._original=null,this._pending=null,this._rows=[],this._open=this._hasSource,this._reloadOnUpdate=this._hasSource)),e.has(`disabled`)&&this.disabled&&(this._open=!1),e.has(`chart`)&&!this.chart&&this._handleClosed()}updated(e){super.updated(e),this._reloadOnUpdate&&(this._reloadOnUpdate=!1,this._loadList()),e.has(`_step`)&&this._open&&this._focusStep(),e.has(`_status`)&&(this._status?this._startFittingAlert():this._stopFittingAlert())}get _alertContainer(){let e=this.getRootNode();return this.parentElement??(e instanceof ShadowRoot?e.host:null)}_startFittingAlert(){this._fitAlert();let e=this._alertContainer;this._alertResizeObserver||!e||(this._alertResizeObserver=new ResizeObserver(()=>this._fitAlert()),this._alertResizeObserver.observe(this),this._alertResizeObserver.observe(e))}_stopFittingAlert(){this._alertResizeObserver?.disconnect(),this._alertResizeObserver=void 0}_fitAlert(){let e=this._noticeElement,t=this._alertContainer;if(!e||!t)return;let n=this.getBoundingClientRect(),r=t.getBoundingClientRect(),i=Number.parseFloat(getComputedStyle(t).paddingInlineStart)||0,a=(this.isLTR?n.right-r.left:r.right-n.left)-i;e.style.setProperty(`--luzmo-notice-max-inline-size`,`${Math.max(0,a)}px`)}async _resolveActions(){if(this.dashboardActions)return this.dashboardActions;let e={apiUrl:this.apiUrl,authKey:this.authKey,authToken:this.authToken,language:this.language},t=JSON.stringify(e),n=Q.get(t);return n||(Q.clear(),n=U(e),Q.set(t,n),n.catch(()=>Q.delete(t))),await n}_dispatch(e,t){let n=new CustomEvent(e,{detail:t,bubbles:!0,composed:!0});this.dispatchEvent(n)}_displayName(e){return e.name.trim()||n(`Untitled dashboard`,{desc:`Fallback name of a dashboard without a name`})}_variantName(e,t){return n(r`${this._displayName(e)} (variant ${t})`,{desc:`Name of a new dashboard variant`})}_screenModeChoices(){return[{name:`mobile`,label:n(`Smartphone`,{desc:`Screen mode name`}),size:`< 768px`,icon:D},{name:`tablet`,label:n(`Tablet`,{desc:`Screen mode name`}),size:`≥ 768px`,icon:O},{name:`desktop`,label:n(`Desktop`,{desc:`Screen mode name`}),size:`≥ 1200px`,icon:ee},{name:`largeScreen`,label:n(`Large screen`,{desc:`Screen mode name`}),size:`≥ 1600px`,icon:te},{name:`fixed`,label:n(`Fixed width`,{desc:`Screen mode name`}),icon:c}]}async _handleOpened(e){e.target===e.currentTarget&&(this._open=!0,this._step=`list`,this._search=``,this._original=null,this._pending=null,this._rows=[],await this.updateComplete,this._searchElement?.focus(),await this._loadList())}async _loadList(){let e=this._actionsGeneration;this._loading=!0,this._listFailed=!1;try{let t=this._actions??await this._resolveActions();if(e!==this._actionsGeneration)return;this._actions=t}catch(t){if(!this.isConnected||e!==this._actionsGeneration)return;console.error(`Failed to resolve the add to dashboard actions:`,t),this._loading=!1,this._listFailed=!0;return}!this.isConnected||!this._open||await this._loadPage(!1)}_handleClosed(e){e&&e.target!==e.currentTarget||(this._open=!1,clearTimeout(this._searchTimer),this._listAbort?.abort(),this._variantsAbort?.abort())}async _loadPage(e){let t=this._actions;if(!t)return;this._listAbort?.abort();let n=new AbortController;this._listAbort=n,this._loading=!0,this._listFailed=!1,e||(this._rows=[]);try{let e=await t.list({search:this._search,offset:this._rows.length,limit:K},{signal:n.signal});if(n.signal.aborted)return;this._rows=[...this._rows,...e.rows],this._hasMore=e.total===void 0?e.rows.length===K:this._rows.length<e.total}catch(e){if(n.signal.aborted)return;console.error(`Failed to load dashboards:`,e),this._listFailed=!0}finally{n.signal.aborted||(this._loading=!1)}}_handleSearchInput(e){this._search=String(e.target?.value??``),clearTimeout(this._searchTimer),this._searchTimer=setTimeout(()=>void this._loadPage(!1),q)}_handleListScroll(e){let t=e.target;this._hasMore&&!this._loading&&t.scrollHeight-t.scrollTop-t.clientHeight<=Y&&this._loadPage(!0)}_menuValue(e){return e.stopPropagation(),e.target.value??``}_handleListChange(e){let t=this._menuValue(e);if(t===X){this._actions?.create&&this._save({kind:`create`});return}let n=this._rows.find(e=>e.id===t);if(n){if(n.requiresVariant){this._original=n,this._step=`variants`,this._loadVariants();return}this._selectTarget({kind:`add`,dashboard:n,isVariant:!1},n)}}_handleVariantChange(e){let t=this._menuValue(e),n=this._original;if(!n)return;if(t===Z){if(!this._actions?.addToVariant)return;let e=this._variants.map(e=>this._displayName(e)),t=this._variantName(n,G(e,e=>this._variantName(n,e)));this._selectTarget({kind:`variant`,original:n,name:t},n);return}let r=this._variants.find(e=>e.id===t);r&&this._selectTarget({kind:`add`,dashboard:r,isVariant:!0},r)}_selectTarget(e,t){if(t.syncScreenModes!==!1||!t.screenModes?.length){this._save(e);return}this._pending=e,this._screenModes=[...t.screenModes??[]],this._step=`screenModes`}async _loadVariants(){let e=this._actions,t=this._original;if(this._variantsAbort?.abort(),this._variants=[],this._variantsLoading=!1,this._variantsFailed=!1,!e?.listVariants||!t)return;let n=new AbortController;this._variantsAbort=n,this._variantsLoading=!0;try{let r=await e.listVariants(t,{signal:n.signal});n.signal.aborted||(this._variants=r)}catch(e){n.signal.aborted||(console.error(`Failed to load dashboard variants:`,e),this._variantsFailed=!0)}finally{n.signal.aborted||(this._variantsLoading=!1)}}_handleBack(){this._step===`screenModes`&&this._original?this._step=`variants`:(this._step=`list`,this._original=null),this._pending=null}_toggleScreenMode(e){this._screenModes=this._screenModes.includes(e)?this._screenModes.filter(t=>t!==e):[...this._screenModes,e]}_handleConfirmScreenModes(){this._pending&&this._screenModes.length>0&&this._save(this._pending,{screenModes:[...this._screenModes]})}async _save(e,t={}){let n=this._actions;if(!n||!this.chart||this._saving)return;this._open=!1,this._saving=!0,this._setStatus(null),this._saveAbort=new AbortController;let r=W(this.chart),i={signal:this._saveAbort.signal};try{let a;if(e.kind===`create`&&n.create)a=await n.create(r,t,i);else if(e.kind===`variant`&&n.addToVariant)a=await n.addToVariant(e.original,r,{...t,name:e.name},i);else if(e.kind===`add`)a=await n.add(e.dashboard,r,t,i)||e.dashboard;else return;if(i.signal.aborted)return;this._setStatus({kind:`success`,dashboard:a,isVariant:e.kind===`variant`||e.kind===`add`&&e.isVariant,openDashboard:n.openDashboard?.bind(n)}),this._dispatch(`luzmo-chart-added`,{dashboard:a})}catch(e){if(i.signal.aborted)return;console.error(`Failed to add the chart to a dashboard:`,e),this._setStatus({kind:`error`}),this._dispatch(`luzmo-chart-add-failed`,{error:e})}finally{this._saving=!1}await this.updateComplete,this.isConnected&&this._isFocusLost()&&this._focusTrigger()}_setStatus(e){this._status=e}_focusTrigger(){this._triggerElement?.focus()}_isFocusLost(){return!document.activeElement||document.activeElement===document.body}async _handleNoticeClose(e){e.stopPropagation();let t=e.currentTarget.matches(`:focus-within`);this._setStatus(null),await this.updateComplete,t&&this._isFocusLost()&&this._focusTrigger()}async _focusStep(){let e=this._step===`list`?this._searchElement:this._backElement;await e?.updateComplete,e?.focus()}_renderRow(e){return g`
2
+ import{n as e,t}from"./localized-mixin-C3TNnUAB.js";import{n,r}from"./lit-localize-CIGP-NUw.js";import{t as i}from"./localized-decorator-Buib6Rq1.js";import{t as a}from"./version-Byoa09L1.js";import{t as o}from"./luzmoAngleDown-PNrItYzK.js";import{t as s}from"./luzmoAngleLeft-ebJO7ROy.js";import{t as c}from"./luzmoArrowsHorizontal-TohKbcQD.js";import{t as l}from"./luzmoPlus-Dyrrz0v8.js";import{n as u,r as d,t as f}from"./base-BDb1i8ts.js";import{o as p}from"./chart-helpers-BplLoVQz.js";import{t as m}from"./data-broker-Dgg5mQze.js";import{t as h}from"./localize-BXHWaHdZ.js";import{html as g,ifDefined as _,nothing as v,property as y,query as b,state as x,unsafeCSS as S}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/overlay.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/popover.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/progress-circle.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/tooltip.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/checkbox.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/divider.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/menu.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/notice.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/search.js";var C={icon:[32,32,`m9.3 7.3-9 9a1 1 0 0 0 0 1.4l9 9c1 1 2.3-.5 1.4-1.4L3.4 18H31c1.3 0 1.3-2 0-2H3.4l7.3-7.3c1-1-.5-2.3-1.4-1.4Z`],name:`arrow-left`},w={icon:[32,32,`m22.7 7.3 9 9c.4.4.4 1 0 1.4l-9 9c-1 1-2.4-.5-1.4-1.4l7.3-7.3H1c-1.3 0-1.3-2 0-2h27.6l-7.3-7.3c-1-1 .5-2.3 1.4-1.4z`],name:`arrow-right`},T={icon:[14,32,`m3.7 8.2 8 7a1 1 0 0 1 0 1.6l-8 7c-1 .8-2.3-.7-1.4-1.6L9.5 16 2.3 9.8c-1-1 .4-2.4 1.4-1.6z`],name:`angle-right`},E={icon:[32,32,`M13.1 2.05.53 26.55C-.797 29.136.63 32 4.43 32H27.6c3.8 0 5.23-2.865 3.9-5.45L18.9 2.05c-1.423-2.745-4.437-2.686-5.8 0zm4 .9 12.6 24.5c.72 1.43.04 2.55-2.1 2.55H4.43c-2.14 0-2.82-1.12-2.1-2.55L14.9 2.95c.614-1.268 1.586-1.268 2.2 0zM15 11v10c0 1.3 2 1.3 2 0V11c0-1.305-2-1.305-2 0zm-.5 14.5c0 1.961 3 1.961 3 0s-3-1.961-3 0z`],name:`alert-outline`},D={icon:[32,32,`m14 26c-1.4 0-1.4 2 0 2h4c1.4 0 1.4-2 0-2zM10 2C7.8 2 6 3.8 6 6v22c0 2.2 1.8 4 4 4h12c2.2 0 4-1.8 4-4V6C26 3.8 24.2 2 22 2Zm0 2h12c1.1 0 2 0.9 2 2v22c0 1.1-0.9 2-2 2H10C8.9 30 8 29.1 8 28V6C8 4.9 8.9 4 10 4Z`],name:`mobile`},O={icon:[32,32,`m12 26c-1.4 0-1.4 2 0 2h8c1.4 0 1.4-2 0-2zM6 0C3.8 0 2 1.8 2 4v24c0 2.2 1.8 4 4 4h20c2.2 0 4-1.8 4-4V4C30 1.8 28.2 0 26 0Zm0 2h20c1.1 0 2 0.9 2 2v24c0 1.1-0.9 2-2 2H6C4.9 30 4 29.1 4 28V4C4 2.9 4.9 2 6 2Z`],name:`tablet`},ee={icon:[40,32,`M7 2C5.4 2 4 3.4 4 5v19c0 1.6 1.4 3 3 3h26c1.6 0 3-1.4 3-3V5C36 3.4 34.6 2 33 2Zm0 2h26c0.6 0 1 0.4 1 1v19c0 0.6-0.4 1-1 1H7C6.4 25 6 24.6 6 24V5C6 4.4 6.4 4 7 4ZM1 25a1 1 0 0 0-1 1v1c0 2.7 2.3 5 5 5h30c2.7 0 5-2.3 5-5v-1a1 1 0 0 0-1-1zm1 2h36c0 1.7-1.3 3-3 3H5C3.3 30 2 28.7 2 27Z`],name:`laptop`},te={icon:[40,32,`m18.2 22-2.2 8.8 1.9 0.5L19.8 24h0.4l1.8 7.2 1.9-0.5L21.8 22ZM11 30a1 1 0 0 0-1 1 1 1 0 0 0 1 1h18a1 1 0 0 0 1-1 1 1 0 0 0-1-1zM3 0C1.4 0 0 1.4 0 3v18c0 1.6 1.4 3 3 3h34c1.6 0 3-1.4 3-3V3C40 1.4 38.6 0 37 0Zm0 2h34c0.6 0 1 0.4 1 1v18c0 0.6-0.4 1-1 1H3C2.4 22 2 21.6 2 21V3C2 2.4 2.4 2 3 2Z`],name:`desktop`},ne={icon:[32,32,`M24 0C22 0 20 0.8 18.5 2.2A0.9 0.9 0 0 0 18.5 2.2 0.9 0.9 0 0 0 18.4 2.3C18.4 2.3 18.4 2.3 18.3 2.3A0.9 0.9 0 0 0 18.2 2.5 0.9 0.9 0 0 0 18.2 2.5L13.2 7.5A0.9 0.9 0 0 0 13.2 7.5 0.9 0.9 0 0 0 13.1 7.6C13.1 7.6 13.1 7.6 13.1 7.6L13 7.7A0.9 0.9 0 0 0 12.8 8.1 0.9 0.9 0 0 0 12.8 8.1C11.7 9.5 11 11.2 11 13 11 16.4 13.2 19.5 16.5 20.6A0.9 0.9 0 0 0 17.6 20 0.9 0.9 0 0 0 17 18.9C14.5 18 12.8 15.7 12.8 13 12.8 11.5 13.4 10 14.4 8.9L19.6 3.6A0.9 0.9 0 0 0 19.7 3.6C20.8 2.5 22.4 1.8 24 1.8 27.4 1.8 30.2 4.6 30.2 8 30.2 9.6 29.5 11.2 28.4 12.3A0.9 0.9 0 0 0 28.4 12.4L23.4 17.4A0.9 0.9 0 0 0 23.4 18.6 0.9 0.9 0 0 0 24.6 18.6L29.5 13.8A0.9 0.9 0 0 0 29.7 13.7C29.7 13.6 29.7 13.6 29.7 13.6A0.9 0.9 0 0 0 29.8 13.5 0.9 0.9 0 0 0 29.8 13.4C31.2 12 32 10 32 8 32 3.6 28.4 0 24 0zM15.2 11.4A0.9 0.9 0 0 0 14.4 12 0.9 0.9 0 0 0 15 13.1C17.5 14 19.2 16.3 19.2 19 19.2 20.5 18.6 22 17.6 23.1L12.4 28.4A0.9 0.9 0 0 0 12.3 28.4C11.2 29.5 9.6 30.2 8 30.2 4.6 30.2 1.8 27.4 1.8 24 1.8 22.4 2.5 20.8 3.6 19.7A0.9 0.9 0 0 0 3.6 19.6L8.6 14.6A0.9 0.9 0 0 0 8.6 13.4 0.9 0.9 0 0 0 7.4 13.4L2.5 18.2A0.9 0.9 0 0 0 2.3 18.3C2.3 18.4 2.3 18.4 2.3 18.4A0.9 0.9 0 0 0 2.2 18.5 0.9 0.9 0 0 0 2.2 18.6C0.8 20 0 22 0 24 0 28.4 3.6 32 8 32 10 32 12 31.2 13.5 29.8 13.5 29.8 13.5 29.8 13.5 29.8A0.9 0.9 0 0 0 13.6 29.7C13.6 29.7 13.6 29.7 13.7 29.7A0.9 0.9 0 0 0 13.8 29.5 0.9 0.9 0 0 0 13.8 29.5L18.8 24.5 18.8 24.5A0.9 0.9 0 0 0 18.9 24.4C18.9 24.4 18.9 24.4 18.9 24.4L19 24.3A0.9 0.9 0 0 0 19.2 23.9C19.2 23.9 19.2 23.9 19.2 23.9 20.3 22.5 21 20.8 21 19 21 15.6 18.8 12.5 15.5 11.4A0.9 0.9 0 0 0 15.2 11.4z`],name:`link`},re={icon:[32,32,`M16 0a16 16 0 1 0 0 32 16 16 0 0 0 0-32Zm0 2a14 14 0 0 1 14 14 14 14 0 0 1-14 14A14 14 0 0 1 2 16 14 14 0 0 1 16 2Zm5.2 8.4-6.3 9-4.2-4.1c-1-1-2.3.5-1.4 1.4l5 5a1 1 0 0 0 1.5-.1l7-10c.8-1.1-.9-2.2-1.6-1.2z`],name:`check-circle-outline`},k=`:host{align-items:flex-end;gap:var(--luzmo-spacing-2);font-family:var(--luzmo-font-family);flex-direction:column;display:inline-flex}.trigger-spinner{--luzmo-progress-circle-size:var(--luzmo-icon-size-xs)}.trigger-chevron{margin-inline-start:var(--luzmo-spacing-1)}.picker{gap:var(--luzmo-spacing-3);width:var(--luzmo-add-to-dashboard-picker-width,var(--add-to-dashboard-picker-width));max-width:90vw;padding:var(--luzmo-spacing-2);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s);flex-direction:column;display:flex}luzmo-search{width:100%}.list{max-height:var(--luzmo-add-to-dashboard-list-max-height,var(--add-to-dashboard-list-max-height));flex-direction:column;display:flex;overflow-y:auto}.menu{--luzmo-menu-max-height:none;flex:none;width:100%;overflow:visible}.create-row{--luzmo-menu-item-label-icon-color-default:var(--luzmo-primary)}.thumbnail{object-fit:cover;border:var(--luzmo-border-width) solid var(--luzmo-border-color);border-radius:var(--luzmo-border-radius);width:2.75rem;height:2rem}.drill-in{color:var(--luzmo-font-color-extra-dimmed)}.header{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.header-title{font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.empty{align-items:center;gap:var(--luzmo-spacing-3);padding:var(--luzmo-spacing-4);text-align:center;flex-direction:column;display:flex}.loading{padding:var(--luzmo-spacing-3);justify-content:center;display:flex}.screen-modes{gap:var(--luzmo-spacing-2);flex-direction:column;display:flex}.screen-mode{align-items:center;gap:var(--luzmo-spacing-2);display:flex}.screen-mode-size{color:var(--luzmo-font-color-extra-dimmed)}.footer{justify-content:flex-end;display:flex}.status{justify-content:flex-end;width:0;min-width:100%;display:flex}.status:empty{display:none}.alert{flex:none;inline-size:max-content}.alert-body{align-items:center;gap:var(--luzmo-spacing-3);block-size:1lh;min-inline-size:0;display:flex}.alert-text{min-inline-size:0;font-weight:var(--luzmo-font-weight-semibold);white-space:pre;display:flex}.alert[variant=negative] .alert-text{white-space:normal}.alert-name{min-inline-size:0;font-weight:var(--luzmo-font-weight-bold);text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;overflow:hidden}.alert-open{flex:none}:host{--add-to-dashboard-picker-width:18rem;--add-to-dashboard-list-max-height:16rem}`,A=`0.1.0`,j=[`id`,`name`,`contents`,`modified_at`,`is_variant`,`original_id`],M=new Set([`designer`,`owner`]),N=`flag_dashboard_variants`,P=[`desktop`,`tablet`,`mobile`];async function F(e,t,n){let r=[],i=t,a=0;for(let t of e){let e=n-r.length,o=await t(i,Math.max(e,1));e>0&&r.push(...o.rows.slice(0,e)),i=Math.max(0,i-o.count),a+=o.count}return{rows:r,total:a}}async function I(e){let t=await e.fetchApi(`/user`,{action:`get`,version:A,find:{where:{id:`me`},attributes:[`id`,`flags`]}});return{id:t.rows?.[0]?.id??``,flags:t.rows?.[0]?.flags??[]}}async function L(e,t){return(await e.fetchApi(`/authorization`,{action:`get`,version:A,find:{where:{id:t}}})).rows?.[0]}async function R(e,t,n){let r={...t,where:{...t.where,type:`dashboard`}},i=await e.fetchApi(`/securable`,{action:`get`,version:A,find:r},{signal:n});return{rows:i.rows??[],count:i.count??i.rows?.length??0}}function z(e){let t={modifyIds:new Set,useOnlyIds:new Set};for(let n of e?.access?.dashboards??[])n.rights?.Modify?t.modifyIds.add(n.id):n.rights?.Use&&t.useOnlyIds.add(n.id);return t}function B(){return{version:a,syncScreenModes:!0,views:P.map(e=>({screenModus:e,options:{theme:{id:`default`}},filterGroups:[],items:[]})),timezone:{type:`fixed`,id:`UTC`}}}function V(e){return e?{search:{match_types:[`name`,`description`],keyphrase:e,securable_types:[`dashboard`]}}:{}}function H(e,t){return{include:[{model:`User`,as:`allUsers`,attributes:[],required:!0,where:{id:e,...Object.fromEntries(Object.entries(t).map(([e,t])=>[`securableAccessRight.${e}`,t]))}}]}}async function U(e){let t=new m({apiUrl:e.apiUrl,authKey:e.authKey,authToken:e.authToken,skipNetworkListeners:!0}),[r,i]=await Promise.all([I(t),L(t,e.authKey)]),a=z(i),o=i?.type!==`embed`||M.has(i.role??``),s=!!r.id&&r.flags.includes(N),c=[...a.modifyIds,...s?a.useOnlyIds:[]],l=c.length>0?{id:{notIn:c}}:{},u=(t,n=!1)=>{let r=[...new Set((t.contents?.views??[]).map(e=>e.screenModus))];return{id:t.id,name:h(t.name??{},e.language),syncScreenModes:t.contents?.syncScreenModes!==!1,screenModes:r.length>0?r:[`desktop`],...n?{requiresVariant:n}:{}}},d,f=(e,n)=>async(r,i)=>{if(c.length===0)return{count:0,rows:[]};let o=r>0&&d?.search===e?d.rows:void 0;return o||(o=(await R(t,{where:{is_variant:!1,archived_at:null,id:{in:c}},attributes:j,...V(e)},n)).rows.map(e=>u(e,!a.modifyIds.has(e.id))).sort((e,t)=>e.name.localeCompare(t.name)),d={search:e,rows:o}),{count:o.length,rows:o.slice(r,r+i)}},p=(e,n,i,a)=>async(o,s)=>{let c=await R(t,{where:{is_variant:!1,archived_at:null,...l},attributes:j,...H(r.id,i),...V(e),limit:s,offset:o,order:[[`modified_at`,`desc`]]},n);return{count:c.count,rows:c.rows.map(e=>u(e,a))}},g=async(e,n,r,i)=>{await t.fetchApi(`/securable`,{action:`update`,version:A,id:e,properties:{append_item:{item:n,...r?.length?{screenModes:r}:{}}}},{signal:i})},_=async(e,n,r)=>{try{await g(e.id,n,r)}catch(n){throw await t.fetchApi(`/securable`,{action:`delete`,version:A,id:e.id}).catch(()=>void 0),n}},v=async(e,n)=>await t.fetchApi(`/securable`,{action:`create`,version:A,properties:{...e,type:`dashboard`},associations:n});return{async list(e,t){return r.id?await F([f(e.search,t.signal),...s?[p(e.search,t.signal,{flagUse:!0,flagModify:!1},!0)]:[],p(e.search,t.signal,{flagModify:!0},!1)],e.offset,e.limit):{rows:[],total:0}},async add(e,t,n,r){await g(e.id,t,n.screenModes,r.signal)},...o?{async create(t,n){let r=await v({name:n.name?{[e.language]:n.name}:{},contents:B()});return await _(r,t,void 0),u(r)}}:{},...s?{async listVariants(e,n){return(await R(t,{where:{is_variant:!0,original_id:e.id,archived_at:null},attributes:j,...H(r.id,{flagModify:!0}),order:[[`modified_at`,`desc`]]},n.signal)).rows.map(e=>u(e))}}:{},...s&&o?{async addToVariant(r,i,a){let o=(await R(t,{where:{id:r.id},attributes:[`id`,`name`,`contents`]})).rows[0];if(!o?.contents)throw Error(n(`The dashboard was not found.`,{desc:`Adding the chart to a variant failed because the original dashboard could not be loaded`}));let s=o.name??{},c=await v({name:a.name?{...s,[e.language]:a.name}:s,contents:o.contents},[{role:`original`,id:r.id}]);return await _(c,i,a.screenModes),u({...c,contents:c.contents??o.contents})}}:{}}}function W(e){let{theme:t,...n}=e.options??{};return{...p(e),options:n}}function G(e,t){let n=new Set(e),r=e.length+1;for(;n.has(t(r));)r+=1;return r}var K=20,q=300,J=8,Y=48,X=`__luzmo-new-dashboard`,Z=`__luzmo-new-variant`,Q=new Map,ie=0,$=class extends t(u(d,{validSizes:Object.values(f)})){constructor(...e){super(...e),this.chart=null,this.dashboardActions=null,this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.placement=`bottom-end`,this.disabled=!1,this._open=!1,this._actions=null,this._step=`list`,this._rows=[],this._hasMore=!1,this._loading=!1,this._listFailed=!1,this._original=null,this._variants=[],this._variantsLoading=!1,this._variantsFailed=!1,this._pending=null,this._screenModes=[],this._saving=!1,this._status=null,this._triggerId=`add-to-dashboard-trigger-${++ie}`,this._search=``,this._actionsGeneration=0,this._reloadOnUpdate=!1}static get styles(){let e=super.styles??[];return[...Array.isArray(e)?e:[e],S(k)]}get _hasSource(){return!!this.dashboardActions||!!(this.authKey&&this.authToken)}connectedCallback(){super.connectedCallback(),this._status&&this._startFittingAlert()}disconnectedCallback(){super.disconnectedCallback(),this._handleClosed(),this._actionsGeneration+=1,this._saveAbort?.abort(),this._stopFittingAlert()}willUpdate(e){super.willUpdate(e),(e.has(`dashboardActions`)||e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`)||e.has(`language`))&&(this._actions=null,this._actionsGeneration+=1,this._open&&(this._listAbort?.abort(),this._variantsAbort?.abort(),this._step=`list`,this._original=null,this._pending=null,this._rows=[],this._open=this._hasSource,this._reloadOnUpdate=this._hasSource)),e.has(`disabled`)&&this.disabled&&(this._open=!1),e.has(`chart`)&&!this.chart&&this._handleClosed()}updated(e){super.updated(e),this._reloadOnUpdate&&(this._reloadOnUpdate=!1,this._loadList()),e.has(`_step`)&&this._open&&this._focusStep(),e.has(`_status`)&&(this._status?this._startFittingAlert():this._stopFittingAlert())}get _alertContainer(){let e=this.getRootNode();return this.parentElement??(e instanceof ShadowRoot?e.host:null)}_startFittingAlert(){this._fitAlert();let e=this._alertContainer;this._alertResizeObserver||!e||(this._alertResizeObserver=new ResizeObserver(()=>this._fitAlert()),this._alertResizeObserver.observe(this),this._alertResizeObserver.observe(e))}_stopFittingAlert(){this._alertResizeObserver?.disconnect(),this._alertResizeObserver=void 0}_fitAlert(){let e=this._noticeElement,t=this._alertContainer;if(!e||!t)return;let n=this.getBoundingClientRect(),r=t.getBoundingClientRect(),i=Number.parseFloat(getComputedStyle(t).paddingInlineStart)||0,a=(this.isLTR?n.right-r.left:r.right-n.left)-i;e.style.setProperty(`--luzmo-notice-max-inline-size`,`${Math.max(0,a)}px`)}async _resolveActions(){if(this.dashboardActions)return this.dashboardActions;let e={apiUrl:this.apiUrl,authKey:this.authKey,authToken:this.authToken,language:this.language},t=JSON.stringify(e),n=Q.get(t);return n||(Q.clear(),n=U(e),Q.set(t,n),n.catch(()=>Q.delete(t))),await n}_dispatch(e,t){let n=new CustomEvent(e,{detail:t,bubbles:!0,composed:!0});this.dispatchEvent(n)}_displayName(e){return e.name.trim()||n(`Untitled dashboard`,{desc:`Fallback name of a dashboard without a name`})}_variantName(e,t){return n(r`${this._displayName(e)} (variant ${t})`,{desc:`Name of a new dashboard variant`})}_screenModeChoices(){return[{name:`mobile`,label:n(`Smartphone`,{desc:`Screen mode name`}),size:`< 768px`,icon:D},{name:`tablet`,label:n(`Tablet`,{desc:`Screen mode name`}),size:`≥ 768px`,icon:O},{name:`desktop`,label:n(`Desktop`,{desc:`Screen mode name`}),size:`≥ 1200px`,icon:ee},{name:`largeScreen`,label:n(`Large screen`,{desc:`Screen mode name`}),size:`≥ 1600px`,icon:te},{name:`fixed`,label:n(`Fixed width`,{desc:`Screen mode name`}),icon:c}]}async _handleOpened(e){e.target===e.currentTarget&&(this._open=!0,this._step=`list`,this._search=``,this._original=null,this._pending=null,this._rows=[],await this.updateComplete,this._searchElement?.focus(),await this._loadList())}async _loadList(){let e=this._actionsGeneration;this._loading=!0,this._listFailed=!1;try{let t=this._actions??await this._resolveActions();if(e!==this._actionsGeneration)return;this._actions=t}catch(t){if(!this.isConnected||e!==this._actionsGeneration)return;console.error(`Failed to resolve the add to dashboard actions:`,t),this._loading=!1,this._listFailed=!0;return}!this.isConnected||!this._open||await this._loadPage(!1)}_handleClosed(e){e&&e.target!==e.currentTarget||(this._open=!1,clearTimeout(this._searchTimer),this._listAbort?.abort(),this._variantsAbort?.abort())}async _loadPage(e){let t=this._actions;if(!t)return;this._listAbort?.abort();let n=new AbortController;this._listAbort=n,this._loading=!0,this._listFailed=!1,e||(this._rows=[]);try{let e=await t.list({search:this._search,offset:this._rows.length,limit:K},{signal:n.signal});if(n.signal.aborted)return;this._rows=[...this._rows,...e.rows],this._hasMore=e.total===void 0?e.rows.length===K:this._rows.length<e.total}catch(e){if(n.signal.aborted)return;console.error(`Failed to load dashboards:`,e),this._listFailed=!0}finally{n.signal.aborted||(this._loading=!1)}}_handleSearchInput(e){this._search=String(e.target?.value??``),clearTimeout(this._searchTimer),this._searchTimer=setTimeout(()=>void this._loadPage(!1),q)}_handleListScroll(e){let t=e.target;this._hasMore&&!this._loading&&t.scrollHeight-t.scrollTop-t.clientHeight<=Y&&this._loadPage(!0)}_menuValue(e){return e.stopPropagation(),e.target.value??``}_handleListChange(e){let t=this._menuValue(e);if(t===X){this._actions?.create&&this._save({kind:`create`});return}let n=this._rows.find(e=>e.id===t);if(n){if(n.requiresVariant){this._original=n,this._step=`variants`,this._loadVariants();return}this._selectTarget({kind:`add`,dashboard:n,isVariant:!1},n)}}_handleVariantChange(e){let t=this._menuValue(e),n=this._original;if(!n)return;if(t===Z){if(!this._actions?.addToVariant)return;let e=this._variants.map(e=>this._displayName(e)),t=this._variantName(n,G(e,e=>this._variantName(n,e)));this._selectTarget({kind:`variant`,original:n,name:t},n);return}let r=this._variants.find(e=>e.id===t);r&&this._selectTarget({kind:`add`,dashboard:r,isVariant:!0},r)}_selectTarget(e,t){if(t.syncScreenModes!==!1||!t.screenModes?.length){this._save(e);return}this._pending=e,this._screenModes=[...t.screenModes??[]],this._step=`screenModes`}async _loadVariants(){let e=this._actions,t=this._original;if(this._variantsAbort?.abort(),this._variants=[],this._variantsLoading=!1,this._variantsFailed=!1,!e?.listVariants||!t)return;let n=new AbortController;this._variantsAbort=n,this._variantsLoading=!0;try{let r=await e.listVariants(t,{signal:n.signal});n.signal.aborted||(this._variants=r)}catch(e){n.signal.aborted||(console.error(`Failed to load dashboard variants:`,e),this._variantsFailed=!0)}finally{n.signal.aborted||(this._variantsLoading=!1)}}_handleBack(){this._step===`screenModes`&&this._original?this._step=`variants`:(this._step=`list`,this._original=null),this._pending=null}_toggleScreenMode(e){this._screenModes=this._screenModes.includes(e)?this._screenModes.filter(t=>t!==e):[...this._screenModes,e]}_handleConfirmScreenModes(){this._pending&&this._screenModes.length>0&&this._save(this._pending,{screenModes:[...this._screenModes]})}async _save(e,t={}){let n=this._actions;if(!n||!this.chart||this._saving)return;this._open=!1,this._saving=!0,this._setStatus(null),this._saveAbort=new AbortController;let r=W(this.chart),i={signal:this._saveAbort.signal};try{let a;if(e.kind===`create`&&n.create)a=await n.create(r,t,i);else if(e.kind===`variant`&&n.addToVariant)a=await n.addToVariant(e.original,r,{...t,name:e.name},i);else if(e.kind===`add`)a=await n.add(e.dashboard,r,t,i)||e.dashboard;else return;if(i.signal.aborted)return;this._setStatus({kind:`success`,dashboard:a,isVariant:e.kind===`variant`||e.kind===`add`&&e.isVariant,openDashboard:n.openDashboard?.bind(n)}),this._dispatch(`luzmo-chart-added`,{dashboard:a})}catch(e){if(i.signal.aborted)return;console.error(`Failed to add the chart to a dashboard:`,e),this._setStatus({kind:`error`,message:e instanceof Error&&e.message?e.message:void 0}),this._dispatch(`luzmo-chart-add-failed`,{error:e})}finally{this._saving=!1}await this.updateComplete,this.isConnected&&this._isFocusLost()&&this._focusTrigger()}_setStatus(e){this._status=e}_focusTrigger(){this._triggerElement?.focus()}_isFocusLost(){return!document.activeElement||document.activeElement===document.body}async _handleNoticeClose(e){e.stopPropagation();let t=e.currentTarget.matches(`:focus-within`);this._setStatus(null),await this.updateComplete,t&&this._isFocusLost()&&this._focusTrigger()}async _focusStep(){let e=this._step===`list`?this._searchElement:this._backElement;await e?.updateComplete,e?.focus()}_renderRow(e){return g`
3
3
  <luzmo-menu-item value=${e.id} no-wrap ?disabled=${this._saving}>
4
4
  ${e.thumbnailUrl?g`<img slot="icon" class="thumbnail" alt="" src=${e.thumbnailUrl} />`:v}
5
5
  ${this._displayName(e)}
@@ -97,7 +97,7 @@ import{n as e,t}from"./localized-mixin-BAHP4Cln.js";import{n,r}from"./lit-locali
97
97
  @luzmo-notice-close=${this._handleNoticeClose}
98
98
  >
99
99
  <luzmo-icon slot="icon" .icon=${E}></luzmo-icon>
100
- <span class="alert-text">${n(`Failed to copy item`,{desc:`Saving the chart to a dashboard failed`})}</span>
100
+ <span class="alert-text" dir="auto">${e.message??n(`Failed to copy item`,{desc:`Saving the chart to a dashboard failed`})}</span>
101
101
  </luzmo-notice>
102
102
  `;let t=this._displayName(e.dashboard),r=g`<strong class="alert-name" tabindex="-1">${t}<luzmo-tooltip self-managed show-only-if-truncated placement="top" .size=${this.size}>${t}</luzmo-tooltip></strong>`,i=e.openDashboard;return g`
103
103
  <luzmo-notice
@@ -1,2 +1,2 @@
1
1
 
2
- import{n as e}from"./localized-mixin-BAHP4Cln.js";import{LitElement as t,property as n}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";var r=new Set;new MutationObserver(()=>{let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;r.forEach(t=>{t.setAttribute(`dir`,e)})}).observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]});var i=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`,a=(e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n};function o(e){class t extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){let e=a(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!i(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document.documentElement)r.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}):typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?r.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return t}var s=class extends o(t){},c=!0;try{document.body.querySelector(`:focus-visible`)}catch{c=!1}var l=e=>{if(e.shadowRoot==null||Object.hasOwn(e.dataset,`jsFocusVisible`))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus();else{let t=()=>{self.applyFocusVisiblePolyfill&&e.shadowRoot&&self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus()};return self.addEventListener(`focus-visible-polyfill-ready`,t,{once:!0}),()=>{self.removeEventListener(`focus-visible-polyfill-ready`,t)}}return()=>{}},u=e=>{let t=Symbol(`endPolyfillCoordination`);class n extends e{constructor(...e){super(...e),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),c||requestAnimationFrame(()=>{this[t]??(this[t]=l(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),c||requestAnimationFrame(()=>{this[t]!=null&&(this[t](),this[t]=null)})}}return n};function d(){return new Promise(e=>requestAnimationFrame(()=>e()))}var f=class extends u(s){constructor(...e){super(...e),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){let e=this.hasAttribute(`tabindex`)?Number(this.getAttribute(`tabindex`)):NaN;return Number.isNaN(e)?-1:e}let e=Number.parseFloat(this.hasAttribute(`tabindex`)&&this.getAttribute(`tabindex`)||`0`);return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;let t=``+e;this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,t)}return}if(e===-1?this.addEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),this.removeAttribute(`focusable`),this.selfManageFocusElement)return;e===-1?this.focusElement?.removeAttribute(`tabindex`):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute(`focusable`,``),this.hasAttribute(`tabindex`)?this.removeAttribute(`tabindex`):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute(`tabindex`):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw Error(`Must implement focusElement getter!`)}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){let e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;let e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Tab`})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute(`tabindex`)||this.getAttribute(`tabindex`)!==`-1`)&&this.setAttribute(`focusable`,``)}update(e){e.has(`disabled`)&&this.handleDisabledChanged(this.disabled,e.get(`disabled`)),super.update(e)}updated(e){super.updated(e),e.has(`disabled`)&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){let n=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),await this.updateComplete,n()?this.focusElement.disabled=!0:this.setAttribute(`aria-disabled`,`true`)):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute(`tabindex`,``+this._tabIndex):this.removeAttribute(`tabindex`),await this.updateComplete,n()?this.focusElement.disabled=!1:this.removeAttribute(`aria-disabled`))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=(async()=>{await d(),await d()})(),this.updateComplete.then(()=>this.manageAutoFocus()))}};e([n({type:Boolean,reflect:!0})],f.prototype,`disabled`,void 0),e([n({type:Boolean})],f.prototype,`autofocus`,void 0),e([n({type:Number})],f.prototype,`tabIndex`,null);var p={xxs:`xxs`,xs:`xs`,s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xxl`};function m(t,{validSizes:r=[`s`,`m`,`l`,`xl`],noDefaultSize:i,defaultSize:a=`m`}={}){class o extends t{constructor(...e){super(...e),this._size=a}get size(){return this._size||a}set size(e){let t=i?null:a,n=e&&e.toLocaleLowerCase(),o=r.includes(n)?n:t;if(o&&this.setAttribute(`size`,o),this._size===o)return;let s=this._size;this._size=o,this.requestUpdate(`size`,s)}update(e){!this.hasAttribute(`size`)&&!i&&this.setAttribute(`size`,this.size),super.update(e)}}return e([n({type:String})],o.prototype,`size`,null),o}export{m as n,s as r,p as t};
2
+ import{n as e}from"./localized-mixin-C3TNnUAB.js";import{LitElement as t,property as n}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";var r=new Set;new MutationObserver(()=>{let e=document.documentElement.dir===`rtl`?document.documentElement.dir:`ltr`;r.forEach(t=>{t.setAttribute(`dir`,e)})}).observe(document.documentElement,{attributes:!0,attributeFilter:[`dir`]});var i=e=>e.startManagingContentDirection!==void 0||e.tagName===`LUZMO-THEME`,a=(e=document)=>{let t=e.activeElement;for(;t?.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;let n=t?[t]:[];for(;t;){let e=t.assignedSlot||t.parentElement||t.getRootNode()?.host;e&&n.push(e),t=e}return n};function o(e){class t extends e{get isLTR(){return this.dir===`ltr`}hasVisibleFocusInTree(){let e=a(this.getRootNode())[0];if(!e)return!1;try{return e.matches(`:focus-visible`)||e.matches(`.focus-visible`)}catch{return e.matches(`.focus-visible`)}}connectedCallback(){if(super.connectedCallback(),!this.hasAttribute(`dir`)){let e=this.assignedSlot||this.parentNode;for(;e!==document.documentElement&&!i(e);)e=e.assignedSlot||e.parentNode||e.host;if(this.dir=e.dir===`rtl`?e.dir:this.dir||`ltr`,e===document.documentElement)r.add(this);else{let{localName:t}=e;t.search(`-`)>-1&&!customElements.get(t)?customElements.whenDefined(t).then(()=>{typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}):typeof e.startManagingContentDirection==`function`&&e.startManagingContentDirection(this)}this._dirParent=e}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?r.delete(this):typeof this._dirParent.stopManagingContentDirection==`function`&&this._dirParent.stopManagingContentDirection(this),this.removeAttribute(`dir`))}}return t}var s=class extends o(t){},c=!0;try{document.body.querySelector(`:focus-visible`)}catch{c=!1}var l=e=>{if(e.shadowRoot==null||Object.hasOwn(e.dataset,`jsFocusVisible`))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus();else{let t=()=>{self.applyFocusVisiblePolyfill&&e.shadowRoot&&self.applyFocusVisiblePolyfill(e.shadowRoot),e.manageAutoFocus&&e.manageAutoFocus()};return self.addEventListener(`focus-visible-polyfill-ready`,t,{once:!0}),()=>{self.removeEventListener(`focus-visible-polyfill-ready`,t)}}return()=>{}},u=e=>{let t=Symbol(`endPolyfillCoordination`);class n extends e{constructor(...e){super(...e),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),c||requestAnimationFrame(()=>{this[t]??(this[t]=l(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),c||requestAnimationFrame(()=>{this[t]!=null&&(this[t](),this[t]=null)})}}return n};function d(){return new Promise(e=>requestAnimationFrame(()=>e()))}var f=class extends u(s){constructor(...e){super(...e),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){let e=this.hasAttribute(`tabindex`)?Number(this.getAttribute(`tabindex`)):NaN;return Number.isNaN(e)?-1:e}let e=Number.parseFloat(this.hasAttribute(`tabindex`)&&this.getAttribute(`tabindex`)||`0`);return this.disabled||e<0?-1:this.focusElement?this._tabIndex:e}set tabIndex(e){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=e;else if(e!==this._tabIndex){this._tabIndex=e;let t=``+e;this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,t)}return}if(e===-1?this.addEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener(`pointerdown`,this.onPointerdownManagementOfTabIndex)),e===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),this.removeAttribute(`focusable`),this.selfManageFocusElement)return;e===-1?this.focusElement?.removeAttribute(`tabindex`):(this._tabIndex=e,this.manageFocusElementTabindex(e));return}this.setAttribute(`focusable`,``),this.hasAttribute(`tabindex`)?this.removeAttribute(`tabindex`):this.manipulatingTabindex=!1,this._tabIndex=e,this.manageFocusElementTabindex(e)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(e){this.focusElement||await this.updateComplete,e===null?this.focusElement.removeAttribute(`tabindex`):this.focusElement!==this&&(this.focusElement.tabIndex=e)}get focusElement(){throw Error(`Must implement focusElement getter!`)}get selfManageFocusElement(){return!1}focus(e){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[e]):this.focusElement.focus(e))}blur(){let e=this.focusElement||this;e===this?HTMLElement.prototype.blur.apply(this):e.blur()}click(){if(this.disabled)return;let e=this.focusElement||this;e===this?HTMLElement.prototype.click.apply(this):e.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Tab`})),this.focusElement.focus())}firstUpdated(e){super.firstUpdated(e),(!this.hasAttribute(`tabindex`)||this.getAttribute(`tabindex`)!==`-1`)&&this.setAttribute(`focusable`,``)}update(e){e.has(`disabled`)&&this.handleDisabledChanged(this.disabled,e.get(`disabled`)),super.update(e)}updated(e){super.updated(e),e.has(`disabled`)&&this.disabled&&this.blur()}async handleDisabledChanged(e,t){let n=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;e?(this.manipulatingTabindex=!0,this.setAttribute(`tabindex`,`-1`),await this.updateComplete,n()?this.focusElement.disabled=!0:this.setAttribute(`aria-disabled`,`true`)):t&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute(`tabindex`,``+this._tabIndex):this.removeAttribute(`tabindex`),await this.updateComplete,n()?this.focusElement.disabled=!1:this.removeAttribute(`aria-disabled`))}async getUpdateComplete(){let e=await super.getUpdateComplete();return await this.autofocusReady,e}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=(async()=>{await d(),await d()})(),this.updateComplete.then(()=>this.manageAutoFocus()))}};e([n({type:Boolean,reflect:!0})],f.prototype,`disabled`,void 0),e([n({type:Boolean})],f.prototype,`autofocus`,void 0),e([n({type:Number})],f.prototype,`tabIndex`,null);var p={xxs:`xxs`,xs:`xs`,s:`s`,m:`m`,l:`l`,xl:`xl`,xxl:`xxl`};function m(t,{validSizes:r=[`s`,`m`,`l`,`xl`],noDefaultSize:i,defaultSize:a=`m`}={}){class o extends t{constructor(...e){super(...e),this._size=a}get size(){return this._size||a}set size(e){let t=i?null:a,n=e&&e.toLocaleLowerCase(),o=r.includes(n)?n:t;if(o&&this.setAttribute(`size`,o),this._size===o)return;let s=this._size;this._size=o,this.requestUpdate(`size`,s)}update(e){!this.hasAttribute(`size`)&&!i&&this.setAttribute(`size`,this.size),super.update(e)}}return e([n({type:String})],o.prototype,`size`,null),o}export{m as n,s as r,p as t};
@@ -0,0 +1,2 @@
1
+
2
+ import{r as e}from"./lit-localize-CIGP-NUw.js";import{html as t}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";var n={"add-to-dashboard-cannot-create":`Mit diesen Zugangsdaten können keine Dashboards erstellt werden`,"add-to-dashboard-cannot-create-variant":`Mit diesen Zugangsdaten können keine Varianten erstellt werden`,"add-to-dashboard-close":`Schließen`,"add-to-dashboard-open":`Öffnen`,"close-action":`Schließen`,"filter-item-field-expression":e`${0}⁣ ${1}`,"filter-item-field-expression-value":e`${0}⁣ ${1}⁣ ${2}`,"filter-item-field-value":e`${0}⁣ ${1}`,"filter-parameter-type-datetime":`Datum/Zeit`,"filter-parameter-type-datetime-list":`Datum/Zeit[]`,"filter-parameter-type-hierarchy":`Hierarchie`,"filter-parameter-type-hierarchy-list":`Hierarchie[]`,"filter-parameter-type-numeric":`Numerisch`,"filter-parameter-type-numeric-list":`Numerisch[]`,"filter-range-tooltip":e`${0} und ${1}`,"filters-sentence-and":e`${0}⁣ ${1}⁣ ${2}`,"filters-sentence-or":e`${0}⁣ ${1}⁣ ${2}`,"filters-sentence-parentheses":e`(${0})`,"formula-datasets-list-title":`Daten`,"formula-function-label-coords":`Koordinaten`,hd267dd827599dcf9:t`Element wurde nach ${0} kopiert`,"item-option-guidelines-add":`Referenzlinie hinzufügen`,"item-option-guidelines-color":e`Farbe der Referenzlinie ${0}`,"item-option-guidelines-group":`Referenzlinien`,"item-option-guidelines-remove":e`Referenzlinie ${0} entfernen`,"item-option-guidelines-style-dashed":`Gestrichelt`,"item-option-guidelines-style-dotted":`Gepunktet`,"item-option-guidelines-style-label":`Stil`,"item-option-guidelines-style-solid":`Durchgezogen`,"item-option-guidelines-type":e`Typ der Referenzlinie ${0}`,"item-option-guidelines-type-average":`Durchschnitt`,"item-option-guidelines-type-average-close":`Durchschnittlicher Schlusskurs`,"item-option-guidelines-type-average-open":`Durchschnittlicher Eröffnungskurs`,"item-option-guidelines-type-median":`Median`,"item-option-guidelines-type-value":`Wert`,"item-option-guidelines-value":e`Wert der Referenzlinie ${0}`,"item-option-guidelines-width-label":`Stärke`,"item-option-guidelines-width-medium":`Mittel`,"item-option-guidelines-width-thick":`Dick`,"item-option-guidelines-width-thin":`Dünn`,"item-slot-picker-add":`Hinzufügen`,s009465b850287447:`Aggregiert innerhalb der aktuellen Gruppierung des Diagramms.`,s00decbd8fed4f501:`Maximum`,s0218a6cc95bc9386:`Bereichstyp`,s028474eff8e31453:`Kleiner als`,s039a88e04fc473cd:`Absoluter Wert`,s03f199e48820b08d:`Eulersche Zahl`,s0456d2ad905847d9:`letzte`,s053eb89714fe5c46:`Potenz`,s057ae6b694499f56:`Prüft, ob der erste Wert größer als der zweite Wert ist.`,s06d28bae5a331115:`Gibt wahr zurück, wenn mindestens eine Bedingung wahr ist.`,s06da33e39516b46f:`Differenz zwischen Datumsangaben`,s07146695ed927fca:`Extrahiert die Stunde aus einem Datetime-Wert in UTC.`,s071e55c416742716:`Wiederherstellungsmenü öffnen`,s078d4008a2a214b0:`Entfernt führende und nachgestellte Leerzeichen aus einer Zeichenfolge.`,s079a052719914d71:`Kategorie`,s07a43e5b2a8a7c58:e`${0} Sekunden`,s07d754eb51a3ee43:`Räumlich`,s088e3b07b5394bc3:`gleich`,s08b26579c9f919a1:`Logisches Oder`,s08fd2396ce8ea974:`Extrahiert den Tag des Jahres aus einem Datums- oder Datetime-Wert.`,s091d3407b5b2f824:`ODER`,s09243007b5b91006:`Wenn`,s09423f07b5d22712:`Pi`,s095140a7d22730b7:`Kategorien`,s099b18e1bd8a1154:`Stunden`,s09c2b609dff29061:`Kumulative Summe`,s0ae75c749c889c18:`Großer Bildschirm`,s0b5cefc4c510193d:`Farbbereich`,s0bb151c9319a6813:`X-Achse`,s0bbcfb2797060663:`Gibt wahr zurück, wenn beide Bedingungen wahr sind.`,s0bca0c91195d8d6d:`enth`,s0d5513a64f3a46c5:`Datenfeld hinzufügen...`,s0d5c4bb195a222f8:`Menge`,s0e6fcbb074f690d0:`Datenfeld hinzufügen`,s103d3df3b3fa6442:`Berechnet den Durchschnitt der Werte.`,s10420672e643d2c7:`Aufsteigend sortieren`,s10d1e89ece01e6c7:`Schlechte Antwort`,s1111ebf7ea62fdd0:`Extrahiert die ISO-8601-Kalenderwoche (1-53) aus einem Datums- oder Datetime-Wert.`,s1125d159f7e64df5:`Anzeigen`,s11326fd2590f4e5e:`Standard`,s11502b46543c39e8:`Tag des Monats`,s11576cdb7730ddcc:`Gibt die mathematische Konstante Pi zurück.`,s122f7f3f1a22ea50:`nicht gleich`,s125a86b2f45bbb25:e`${0} Elemente`,s125fbff5d8958763:e`${0} (Variante ${1})`,s13f5793e33ebda4f:`zwischen`,s146475c4daa430ed:`Dezimalstellen`,s14adc1b878842c4f:`Funktionskategorie`,s1525a3512765bd52:`Zeiteinheit`,s1645aae5d87a87ae:`Elementnamen werden geladen`,s16a4e0f26328f69d:`Logisches Und`,s16d507740d87045d:`Ad-hoc-Formel`,s173bffc4bc8fdb40:`Quartalsnummer`,s178b06f4d02cfd40:`fehlt nicht`,s17d0bcf0e62af81b:`Formel-Editor wird geladen`,s1822bffc2ecbbc97:`Spalte wird geladen`,s184501a399a815dc:`Quartale`,s18498398aeb37b07:`Woche beginnt am`,s187528426100c44e:`Keine Daten`,s1bcab4b7e4a45f84:e`${0} Tage`,s1c4b5bbb758f3bce:`Tag des Jahres (UTC)`,s1cdb6b07fe827486:`Wochennummer`,s1d8604eae2ed4f70:`Gibt den größten Wert zurück.`,s1e13a3cc7c6f80c8:`Arkustangens`,s1e593719b55d60c0:`MTD`,s1e7745005c37315c:`Relativer Versatz`,s1ed6293b06ad5886:`Gibt den Sinus eines Winkels im Bogenmaß zurück.`,s1f0916624a87d415:`Tag im Jahr`,s1f7698c061c208c9:`Eröffnung`,s1f9ad180f44ebfed:`Extrahiert die Minute aus einem Datetime-Wert.`,s2153d9eae4dcb251:`Tablet`,s21686b2b94deec80:`Gibt das arithmetische Mittel aller Werte in einer numerischen Spalte zurück. Der Wert wird über den gesamten Datensatz berechnet und ändert sich beim Filtern nicht.`,s2318e95167ae475f:`Keine Dashboards gefunden`,s235c998e582f148b:`Extrahiert die ISO-8601-Kalenderwoche (1-53) aus einem Datums- oder Datetime-Wert in UTC.`,s23a368c93d7e6a90:`Schieberegler-Metrik`,s23c421a5960773e0:`Top 5 anzeigen`,s24366bc5774f0d03:`Tag des Jahres`,s2454d1f117573457:`Genauigkeit`,s247d110f13a3a288:`Tag in der Woche`,s24f3a319b88552c1:`Tief`,s25e13c6d08776558:`Synchronisation umschalten`,s26273c258ddde0e1:`Auswählen...`,s268ecd1cef45a9a8:`Sind Sie sicher?`,s2695506122ffd614:`Sekunde in der Minute`,s2718cebf7de190e1:`ist zwischen`,s2798d16f4e04857e:`Minute in der Stunde`,s28aa195f43c4318f:`Teilt eine Zeichenfolge anhand eines Trennzeichens in Teile auf. Das erste Argument ist der zu teilende Text, das zweite das Trennzeichen und das dritte die Position des zurückzugebenden Teils (beginnend bei 1).`,s2931f5506dbf5352:`Smartphone`,s2979b8c3da9caad6:`Arkussinus`,s2980eedca318d25d:`Gruppiert`,s29e9a2758d0ffdc3:`Dimension`,s2a391b3d81594d0f:`Gleich`,s2a491fbfcd87f3b3:`Multiplikation`,s2b7239b5cae535c3:`Extrahiert den Tag des Monats aus einem Datums- oder Datetime-Wert.`,s2ba5f4d8f3bd7c57:`Reihenfolge`,s2c1836a2a5065f4d:`Gibt den Arkussinus einer Zahl zurück.`,s2c4f6b473cf22fbf:`Modulo`,s2c8189544e3ea679:`Erneut versuchen`,s2ceb11be2290bb1b:`Abbrechen`,s2d4d8b099a73e46a:`Ebenen`,s2dc1bbbe252415c7:`Rundet eine Zahl auf eine angegebene Anzahl von Dezimalstellen.`,s2dcbfb305c43f0d4:`Option konnte nicht geladen werden`,s2e47760dd1d017c9:e`${0} Quartal`,s2ea38ce3da088075:`Perioden`,s2f56fa0428bad0c9:`Elementaktionen`,s2f64461723d3df5d:`Ändern`,s2f919a2f7a033efc:`Extrahiert den Wochentag (1-7, wobei 1 Montag ist) aus einem Datums- oder Datetime-Wert in UTC.`,s2fa05f91c1baa29b:e`${0} entfernen`,s2fb2a49481123d6a:`Wochen`,s2fedf26ef08343d4:`ist gleich`,s303f51ebddb596d4:`Slot-Menü`,s319898f3495ff5ba:`Stunde (UTC)`,s31f1afc1bfe1cb3a:`Mehr erfahren`,s33301138366e5381:`Rundet eine Zahl auf die nächste ganze Zahl auf.`,s33aff2834375cc26:`Addiert alle Werte.`,s33f27edd976b2f5e:`Wird geprüft…`,s344ea8f4939cdc98:`Farbe`,s347ebd71e00fb5b4:`Subtrahiert den zweiten Wert vom ersten Wert.`,s34e46e4e30ae57bd:`Absteigend sortieren`,s354ae458a550da1f:`Ziel`,s360896d6e6234cc4:`Element wird aktualisiert...`,s36352b65eb67e7ee:`Noch keine Varianten`,s36c3a657740756ff:`Rechts kürzen`,s3723fa982dc948a8:`Gibt den Kosinus eines Winkels im Bogenmaß zurück.`,s377ac272aa3b8068:`Gibt die Position einer Teilzeichenfolge in einer Zeichenfolge zurück.`,s38ae79a1c10bdb7f:`Hyperbolischer Sinus`,s3924c3d773a80312:`letzte verfügbar`,s394212f423a47bf9:`Wert konvertieren`,s39817c5a1737a373:`Gibt den Arkuskosinus einer Zahl zurück.`,s39fb2b49682b8c4b:`Zählt die Anzahl der nicht leeren Werte.`,s3b3ea038c5d3bb06:`Division`,s3c6455b19fb1c3e4:`Absoluter Wechsel`,s3ca5e1e377396e68:`Gibt den natürlichen Logarithmus einer Zahl zurück.`,s3ceacffc8fe8d13f:e`${0} Jahre`,s3d4a4b3002d13785:`Jahr der ISO-Woche (UTC)`,s3d4b0e9d53cf2672:`Dashboards suchen`,s3dcf7b255596a2c3:`Standardabweichung`,s41f303448d636dfd:`Dashboard-Raster`,s427be344bc32537d:`Gibt die Quadratwurzel einer Zahl zurück.`,s430f8483cbea0e4b:e`${0} Minute`,s43f1ffa8263b3f7b:`Runden`,s4406e2a8264d6a3e:`Route`,s441accd1cd3484c9:`Minute`,s44503fed5f4c6031:`Extrahiert den Wochentag (1-7, wobei 1 Montag ist) aus einem Datums- oder Datetime-Wert.`,s463b8c4e92751ba5:`Optionen`,s46511d857f6f5e11:`Hyperbolischer Kosinus`,s467b030b9a34b3c8:`Durchschnitt`,s46a9060ed7649fb4:`Dividiert den ersten numerischen Wert durch den zweiten numerischen Wert.`,s475db7e53638454a:`Gibt den hyperbolischen Tangens einer Zahl zurück.`,s48e186fb300e5464:`Zeit`,s495360fad288b2a4:`Sekunde (UTC)`,s496a1e26dce422f8:`Gibt die eulersche Zahl e zurück.`,s496c60f73bdf5725:`Aggregation`,s49d3019369929330:`Gibt die Stichproben-Standardabweichung über alle Werte in einer numerischen Spalte zurück. Der Wert wird über den gesamten Datensatz berechnet und ändert sich beim Filtern nicht.`,s4b30fad1c34464e1:`größer oder gleich`,s4b58c01e2578f5e4:`Legende`,s4bc7a46e7b0c01ef:`Gibt den ersten Nicht-Null-Wert aus den angegebenen Argumenten zurück.`,s4ce8a8483500a4ce:`Das Dashboard wurde nicht gefunden.`,s4d1fe77d90575785:`Datum und Uhrzeit`,s4d7765546aa4f455:`Entfernt nachgestellte Leerzeichen aus einer Zeichenfolge.`,s4dd9dd0ef75d9598:`Spalten hinzufügen oder suchen`,s4e585eeea351a038:`enthält`,s4efbcab48a433013:`Lang`,s4f27f6b48a68b5c2:`Sperren`,s4f8a5da7750d1588:`Gibt den Tangens eines Winkels im Bogenmaß zurück.`,s506186dc37c24a0e:`Formel wird geprüft`,s50d9e1b0c1636e99:`Geografie`,s510df80ecd8f51a7:`Gute Antwort`,s517acbf1f96324f9:`Gewicht`,s519d0aa80bbafd42:`Woche bis heute`,s5224b9208b08cd30:`Extrahiert einen Teil einer Zeichenfolge. Das erste Argument ist der Text, das zweite die Startposition (das erste Zeichen ist 1; eine negative Position zählt vom Ende her) und das dritte die Länge.`,s541c944915996780:`Addiert zwei numerische Werte.`,s54877b3f807f6e06:`Prüft, ob beide Werte gleich sind.`,s558a7e3ce83cb164:`Negiert eine boolesche Bedingung.`,s5590dbf7e425789d:`Label`,s55e343865792fc47:`Datenfelder des Datensatzes können nicht abgerufen werden`,s55f71f5d3158ed9f:`KI-Prompt-Eingabe`,s5608e6e8c2170d84:`Neuer Parameter…`,s5690f0e39a862e0b:`Berechnung löschen`,s572efb51e9cfc967:`Dashboard wird aktualisiert...`,s5758683fdb7446a9:`Filterdatum`,s576d8c40acfa9a54:`Gibt den hyperbolischen Kosinus einer Zahl zurück.`,s579d6beb02efb9a5:`Aggregiert über den gesamten Datensatz und ignoriert die Gruppierung des Diagramms.`,s57ace73e7c6e719f:`ist nicht in`,s58857c390f08335c:`Extrahiert die Sekunde aus einem Datetime-Wert in UTC.`,s58b4b3ecd4eb6238:`Zeichenfolge`,s58bee799432dbc69:`Addition`,s58ec693e33483873:`kleiner als`,s5a1b300572f81f73:`Desktop`,s5a801360c0e7cc6e:`Kreise`,s5b5005aae2ab472d:e`${0} entfernt`,s5be6bc0a925a85f1:`Gibt einen Wert zurück, wenn eine Bedingung wahr ist, und einen anderen Wert, wenn sie falsch ist.`,s5d73a3b3b68e6cba:`Benutzerdefiniert`,s5d929ff1619ac0c9:`Suchen`,s5e2654fb8587f442:`Duplizieren`,s5e8250fb85d64c23:`Schluss`,s5f29630f7fdb50b0:`Datensätze`,s5f43af3669b1e098:`Quelle`,s602805b1eb3106c6:`Y-Achse`,s6031881827829901:`24h`,s60b34c3c17dc35bd:`Jahre`,s6361bdb1b0dc327b:`Anzahl der Perioden`,s63d894b1ddb06289:`Beschreibung`,s64cf39cd55309346:`Kleinbuchstaben`,s64ef2a6c2dd1d3d1:`Bearbeiten`,s65486fa6ebaf3b2a:`Füllen Sie alle leeren Argumente aus.`,s656dfdc68a98502e:`Funktionen`,s6580790b036f0c6f:`aktiv`,s66722bc2ea775e05:`Deaktiviert`,s6683e715b4cc61e0:e`${0} Wochen`,s669b18c6d2d9c95b:`Keine`,s66dcbbc0355c2759:`Sonntag`,s67a28499b3caab0c:`Monat (UTC)`,s680f01021b5e339d:`Woche`,s695f2b47ca303436:e`${0} Jahr`,s69a9123fdc3c03f8:`Kleiner als oder gleich`,s6ab73c998850c5ab:`Ausdruck`,s6b0bffd88024372f:`Stunde`,s6b28afa2144a0cea:`Wandelt eine Zeichenfolge in Großbuchstaben um.`,s6bcb74ae139e528d:`Bildschirmmodi`,s6bdd437aa8c2a009:e`${0} weitere ausgewählte Datensätze anzeigen`,s6d02dc19e21eb49c:`Oberste`,s6d2c233e1a4f6a2c:`Datensatz hinzufügen`,s6d8207aee4786374:`Mittelwert`,s6de3d6e9660857a1:`Beispiel`,s6dfd49b30943c586:`Gibt den hyperbolischen Sinus einer Zahl zurück.`,s708bbac083d05109:`beginnt nicht mit`,s709a09b6edea9d90:`Datum/Zeit`,s70a773eb3133e5fa:`Monat bis heute`,s716a6024e3fe999c:`Zeigen`,s71a5c9f4b68ef4d4:`Anzahl`,s736157452e7fc7af:`Etwas ist schiefgelaufen. Bitte versuche es erneut.`,s7385537b8498510e:e`${0} Quartale`,s74303ffcfb1f68e6:`Quadratwurzel`,s7468e87263dfff7e:`Kennung`,s74dcd519e6563a26:`WTD`,s750a2c8ca7ec9e95:`Slot-Inhalt`,s7632fc9aa12bf382:`Monate`,s7649e65819d8abc7:`Diagramm konfigurieren`,s7751dacf34111c3c:`Elementoptionen`,s780ab9f06af63fd4:`Aktuelles Datum und Uhrzeit`,s782f286a79cca35d:`Relativ`,s78789724e789221c:`Größe`,s78bc8724e7c2d3b8:`Sinus`,s78c18075d35b088c:`Verfügbare Parameter`,s7954072388ad1dc4:`Vergleich`,s7a6878d41ffac284:`letzte abgeschl`,s7c95876637f6a9d7:`Filter`,s7cb5d294ed7634e3:`Datensatz`,s7cd83983d844fac8:`Extrahiert die Minute aus einem Datetime-Wert in UTC.`,s7d21b9b1ef84ec90:`Gibt die Differenz zwischen zwei Datums- oder Datetime-Werten in der ausgewählten Einheit zurück. Das erste Argument ist die Einheit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' oder 'year'); die Differenz wird vom zweiten Datum zum dritten Datum berechnet.`,s7d7c7f843b13e167:e`'${0}' ist keine gültige Spalte, Funktion oder kein gültiger Wert.`,s7dacc1388e15a544:`Positionswerte`,s7e357543a7b769f4:`Versatz-Datums-Spalte`,s81a08125e4bd1b33:`Bedingt`,s846876f9b712e843:`ist nicht gleich`,s850f14c3e45ab426:`Parameter entfernen`,s8569fc3ba6761d29:`Antwort abgebrochen.`,s85c1c1fb529b7269:`Kürzen`,s862f5319f0256b94:`QTD`,s8665d029b5cb8b24:`Gesamtsummen`,s898a5d3aef872ea2:`Filterbedingung umschalten, derzeit `,s898eb5552843fe54:`Zustand wiederherstellen`,s8a03680664069fad:`Extrahiert das Quartal aus einem Datumswert in UTC.`,s8a1d7a873b78d41e:`Extrahiert den Monat aus einem Datums- oder Datetime-Wert.`,s8a56a8c8bd19c9c7:`fehlt`,s8a95c598e5cc7abd:`Feste Breite`,s8b1883cb3a3a94e2:`Mehr erfahren (öffnet in neuem Tab)`,s8ba2b22eee9bb57e:`Filter hinzufügen`,s8bb429cb2ed6e65b:`Gibt den Rest der Division des ersten Werts durch den zweiten Wert zurück.`,s8bd1517975b86680:`Dashboard wird erstellt...`,s8ce15f16e0d3a7a9:`Einige Elementnamen konnten nicht abgerufen werden`,s8d0259032729869d:`Sekunde`,s8d77a3cb03eea446:`Daten werden geladen...`,s8de2a5b227e80c95:`(x) Perioden oder länger her`,s8e66fedc4338fbc7:`Nach „Immer gruppieren nach“ verschieben`,s8fc32fa2d814c088:`Prüft, ob der erste Wert größer als oder gleich dem zweiten Wert ist.`,s90398d0f22360c50:`Gibt den absoluten Wert einer Zahl zurück.`,s9094c0cde8fb5058:`Keine Ergebnisse gefunden`,s927497135cdabe78:`Ohne Titel`,s92ab9b834d8fd1fc:`Untergruppe`,s92c8c8ca61f1e379:`Datensatz auswählen...`,s92dbc5a5a4a1d76c:`Ist leer`,s943bfb2ed5ca76e0:`Jahr der ISO-Woche`,s94c08bd5d339f44d:e`${0} Stunde`,s95ef9d52bd4d9973:`Hyperbolischer Tangens`,s965c503c3e42fdfe:`Aktiviert`,s9689e928323dc124:`letzte abgeschlossene (Periode)`,s979ed488f8afa660:`Noch keine Spalten ausgewählt`,s981f232bd33ec927:`Rate`,s9854300ef4a37d18:`endet nicht mit`,s986f3825f32ab7b2:`Links kürzen`,s987abe19fac8d108:`Summe`,s98b1cb8fb62909ec:`Gruppe`,s98c337186f2d57c6:`Bin-Breite`,s98db41a3eb532203:`Jahr bis heute`,s991d216e6efc157c:`Keine Ergebnisse`,s993f1f0c740b7af9:`Bewegen Sie den Mauszeiger über eine Funktion oder Aggregation, um ihre Beschreibung anzuzeigen.`,s996319f23f6cf0b5:`endet mit`,s99cd654f308718a3:`Verkettet zwei Zeichenfolgen.`,s9a7c8520b5e957dc:`Logarithmus`,s9aab84d92c682c2b:`Daten bearbeiten`,s9b2a2e47b83b8b89:`Filterparameter`,s9b735551f188c724:`Spalten suchen...`,s9b9009d4a5004fb8:`Binning`,s9b9d6ce29d05a298:`kleiner oder gleich`,s9bdf96efd336b522:`Ungleich`,s9c074cd6b873a11d:`Zählt die Anzahl der Zeilen.`,s9cbd1e1cb03c5209:`Formelausdruck`,s9dddd160567f347a:`Prüft, ob zwei Werte unterschiedlich sind.`,s9deeefd89ca8a81d:`Hoch`,s9e40e59654c8ad67:`Spalte`,s9eacba092932f5ee:`Filterbedingung`,s9fd0e802a9910d49:`Ersetzt Vorkommen einer Teilzeichenfolge durch eine andere Teilzeichenfolge.`,sa020fbb0637d6f0b:`Dauer addieren/subtrahieren`,sa22e91cafec90817:`Prüft, ob der erste Wert kleiner als oder gleich dem zweiten Wert ist.`,sa26d7a273074cbf9:`Keine Daten verfügbar`,sa2801a1abc816722:`Aggregationen`,sa345fd77e1d4843c:`Filter werden geladen`,sa3712c95628b8c72:`Aggregiert über eine benutzerdefinierte Gruppierung aus einbezogenen und ausgeschlossenen Spalten.`,sa3adfcca86d48eb3:`Zufallszahl`,sa3c9339de23c1752:`Format`,sa4d736704efdd08c:`Erhebt eine Zahl in eine angegebene Potenz.`,sa58e84810017ba6c:`Unbenanntes Dashboard`,sa60bbe2c7d1439a0:`Kreisförmig`,sa696721931eda01a:`Filterwert`,sa6a92648588602bf:`Antwort`,sa6ab5184d6315895:`Von`,sa6ea4d401084d793:`Parametername`,sa6f2645578b2d2bc:`Jahr`,sa708584d6f291311:`Keine Spalten gefunden`,sa725945ab6bf8f5d:`Teilzeichenfolge suchen`,sa76455c5550f9072:`Nach „Nie gruppieren nach“ verschieben`,sa7effa06c0f6784c:`größer als`,sa8b55cab62e439b5:`Spalte entfernen`,sa8beb6b1182241ac:`Filter`,sa91d4991fca9514e:`mehr als her`,saa8b48fefe67c4e3:`Dataset- und Spalten-IDs anzeigen`,saaf4b132e79fc23a:`Text ersetzen`,sab4faba2ca0fa686:`Verketten`,sac0a2bf43e48f599:`1 weiteren ausgewählten Datensatz anzeigen`,sac0a6d5fcd1137a4:`Woche (UTC)`,sac76bf3771430ba8:`Gibt e hoch der angegebenen Potenz zurück.`,sac8256732f2ee1e5:`Daten`,sac8b59943205b14f:`nächste volle (Periode)`,sac94bb71f7737997:`Median`,sacae74732f544fca:`Tage`,sacbb1ccb24f8f136:e`${0} und ${1}`,sacfd70562764058b:`Großbuchstaben`,saddc7a2dbf00d731:`Abrunden`,sae9c3c733664239a:`Gruppierungsbereich der Aggregation`,saf21b9a927cf58cc:`Ein Parameter mit diesem Namen ist bereits vorhanden.`,saf2a19f4eaf00f68:`oder länger her`,saf63d34c8601dd41:e`${0}`,saf8cea241a5abd64:`Extrahiert das Jahr aus einem Datumswert in UTC.`,safb50c5216475471:e`+ ${0} weitere`,sb06a3310a509f99a:`Farbstopp entfernen`,sb0e97584dc715a5c:`Vollständig`,sb0f3327210fe18fc:`Spalten`,sb1f654608a3eea75:`Wochentag`,sb3b793ff5cc1bc39:`nächste (x) Perioden`,sb3d4f79d9d8b71e5:`Senden`,sb47daaf9e1c4a905:`Monat`,sb522b611f2737246:`Gibt das aktuelle Datum und die aktuelle Uhrzeit zurück.`,sb569204089b4cac3:`KI-Chat`,sb5803460fed8e45e:`Beschreibung anzeigen`,sb59d68ed12d46377:`Laden`,sb5ac2df22bc0f27d:`Logisches Nicht`,sb5b295e3a7500b9c:`Dauerstufen`,sb644ed6a7eb739ac:`Größer als`,sb6513caf69971fb5:`Kurz`,sb67e0e7c0869f982:`Differenz`,sb70671db5700ff60:`endet nicht mit`,sb718e03376f84294:`Logisch`,sb8289037c37950fe:`Funktionen werden geladen`,sb82e2142e160c9e3:`Wochentag (UTC)`,sb85774dc5d18ff0f:`Bestätigen`,sb85c82927a41bb82:`Tangens`,sb93e5af29aca2e3d:`fehlt`,sb93f886d60b95765:`Fügt einem Datums- oder Datetime-Wert eine Dauer hinzu (oder zieht sie davon ab). Das erste Argument ist die Einheit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' oder 'year'), das zweite die Anzahl der hinzuzufügenden Einheiten (negativ zum Abziehen) und das dritte das Ausgangsdatum bzw. die Ausgangs-Datetime.`,sb9f1339b3a61604a:`Ebenen`,sbaf87689cccc53eb:`1 Element`,sbbb97b1c63507dc0:`Zahl`,sbc7d0358df3d42f1:`Gibt eine Zufallszahl zwischen 0 und 1 zurück.`,sbede5f82a01da07f:`Aggregationsfunktion`,sbeebe911264bed23:`letzte (x) verfügbare Perioden`,sbf5bf17d9a50d591:`Element konnte nicht kopiert werden`,sbfd689f810e84a16:`Extrahiert das Quartal aus einem Datumswert.`,sc056cc14a35b3e61:`Filter entfernen`,sc16e00a7a8b2fde2:`Zurück`,sc184a4c8e41a3520:`Geben Sie für jede Aggregation einen Wert an.`,sc1bf67624fa6d498:`% Änderung`,sc22c38e2ff74e2f0:`Aufgeteilter Teil`,sc2e0d19ed54560c8:`Exponential`,sc38938275665c143:`Erstellt einen Geografiewert aus Breitengrad, Längengrad und Raumbezug.`,sc4842e5b8b90466a:`Sekunden`,sc50a305aa25ccf5c:`Zählt die Anzahl der eindeutigen Werte.`,sc525f4a3348435b8:`Dashboards konnten nicht geladen werden`,sc576bd8af97772e3:`Parameter verwenden`,sc592307ea80f16b9:`Unbekannt`,sc5e35ae3ed59afa2:`Kosinus`,sc647b5f32767011d:`Wandelt eine Zeichenfolge in Kleinbuchstaben um.`,sc66b38169f832f79:`Zu Dashboard hinzufügen`,sc6e49f3d37e54030:`Stunde im Tag`,sc6f5a4fc0583d734:`ist in`,sc70ad8207db856a8:`Koordinaten`,sc72895d56c4cdcb4:`Zeichenfolgenlänge`,sc78ac75cec3bc641:`Extrahiert das ISO-Wochenjahr aus einem Datums- oder Datetime-Wert in UTC.`,sc86e72c4fdd4e0ec:`Zählen unterschiedlich`,sc8a98cb006054d7b:`Filterausdruck`,sc8d21540b3d89a69:`Farbstopp hinzufügen`,sc8f855b93b29d6e4:`Einschließen / ausschließen`,sc919093c0ed095d1:`Extrahiert die Sekunde aus einem Datetime-Wert.`,sc980855a000b76ea:`Unterste`,sca4e3645a2e656e0:`Minute (UTC)`,scace072bef961918:`Zeilen`,scb7bab1a17663a6c:`YTD`,scb870bd06692114f:`Nie gruppieren nach`,scbaef981909d487e:`Entwicklung`,scc12e58c6ea9c6c5:`Konvertierung`,scc2f862c1d285c7d:`Denkt nach`,scc3056d8686094c8:`Datensatz oder Agent hinzufügen`,scec91d838431f76c:`Spalten werden geladen`,scf2bb2b0de9cdb8a:`Millisekunde`,scf9d4b3481d2d769:`Teilzeichenfolge entnehmen`,scfb1e98368eb0a45:`Natürlicher Logarithmus`,sd05671183b4fe913:`Daten konnten nicht abgerufen werden`,sd138b42dc3911a0f:`Extrahiert den Tag des Jahres aus einem Datums- oder Datetime-Wert in UTC.`,sd1f07cfd81510f34:`Neue Variante`,sd237be440de38cc7:`Quartal`,sd28141a332dc31fa:`Tag im Monat`,sd2d5d28a8d42f372:`Quartal (UTC)`,sd3099ed7844b7eb2:`Wochentag`,sd3abbb1dbbe0552f:`Varianten konnten nicht geladen werden`,sd3ec39c275aec063:`Nenner`,sd434e9c69417f3a0:`Diese Antwort bewerten`,sd59e6017006a66d3:e`${0} Woche`,sd5b1040899eb149d:`nächste voll`,sd66a74fff07a11fb:`{count} elemente ausgewählt`,sd6c5c734d7cfa9ec:`Gibt die Anzahl der Zeichen in einer Zeichenfolge zurück.`,sd794b878b98cd77c:e`${0} Millisekunde`,sd7b3b24cd10acbb6:e`Rasterelement ${0}`,sd7ebafacf602c9bd:`Brief`,sd89a9a92d5da0fd0:`Rundet eine Zahl auf die nächste ganze Zahl ab.`,sd8b18575e1f4be43:`Gibt den Arkustangens einer Zahl zurück.`,sd8ecf227c7c49331:`Mathematisch`,sdae4e03dc4e96d45:`{count} ausgewählt`,sdb73788b3c975f16:`Automatisch`,sdb798be27601ed06:`Parametertyp:`,sdbce9d3fdf676217:e`${0} Monat`,sdc673e73b5c13aea:`Löschen`,sdd6c63f37eb62928:e`${0} Minuten`,sdd89a3395abab8ea:`Extrahiert das ISO-Wochenjahr aus einem Datums- oder Datetime-Wert.`,sde325421dfb4048e:`Filter mit OR können im reinen AND-Modus nicht bearbeitet werden.`,sde8c84234a516e7d:e`${0} Millisekunden`,sdebe99a43259a451:`Zeilen zählen`,sdfbe1b87d8712bc7:`Womit kann ich dir helfen?`,sdfeb2151b9e78d4d:`enthält nicht`,se01bc9eea39688ad:`Monat im Jahr`,se063ce6562716192:`Aggregationen werden geladen`,se0955919920ee87d:`Tag`,se1126afc2d66422f:`Entfernt führende Leerzeichen aus einer Zeichenfolge.`,se211e3d21bbf3bff:`Maß`,se25d956db80a4d78:`Arkuskosinus`,se2b7530e30fa607d:`Periodenvergleich`,se2d6ee866b592a9f:`mehr als (x) Perioden her`,se3a1aa0525f22ee4:`Kennzahlen`,se415bbea6c976fb1:`Gruppieren nach`,se53005c74eea3a45:`Extrahiert den Monat aus einem Datums- oder Datetime-Wert in UTC.`,se5316cbaa025f028:`nächste`,se592b9bec3ffc953:`Konvertiert das erste Argument in den durch das zweite Argument angegebenen Typ. Mögliche Typen sind 'hierarchy', 'numeric', 'datetime' und 'boolean'.`,se63e1798c5b1ab4d:`Tag des Monats (UTC)`,se715be190539325a:`vor`,se77797889cac2fec:e`${0} Monate`,se8d0f19a0eac8103:`Extrahiert die Stunde aus einem Datetime-Wert.`,se8ddc90a9d7c709d:`Ebene`,se960538baf78f63b:e`${0} Sekunde`,se9e535bb9591039e:`Ausdruck auswählen`,se9ff6e9a514d8cf9:`Montag`,sea3f1934bd770b70:`Gibt den Logarithmus einer Zahl für eine bestimmte Basis zurück.`,sea4f08110bb8f15d:`Entfernen`,seb3937089958c541:`Größer als oder gleich`,seb4eae68d45315b7:`Minimum`,seb9c440de1ce6044:`beginnt mit`,seba8eb8fefd4afe9:`Gibt den kleinsten Wert zurück.`,sec2f608650e36ac5:`letzte abgeschlossene Periode`,secf42ec1c7c47be2:`fehlt nicht`,sed1e9f2d0f29e036:`Kein Gewicht`,sed522484748a787d:`Element wird erstellt...`,see0ec27fb03d880e:`Minuten`,seeccc1a89151be8a:`Extrahiert den Tag des Monats aus einem Datums- oder Datetime-Wert in UTC.`,sef186952c82f8ce9:`Extrahiert das Jahr aus einem Datumswert.`,sef49aec68fd1dc66:`Name`,sefc8e08d71b8530f:`Agenten`,sf095cc47a4ff9c3d:`Formel`,sf2c23d06cc64e8dd:`Neues Dashboard`,sf2d322b3ea1ff824:`Aufrunden`,sf4423f120eba0c11:`Prüft, ob der erste Wert kleiner als der zweite Wert ist.`,sf4a3a5898b69b81f:e`${0} Tag`,sf518b78d9734f57b:`beginnt nicht mit`,sf53ceb4945e8f1fb:`Leeres Argument. Geben Sie einen Wert ein oder ziehen Sie eine Spalte, Funktion oder Aggregation hierher.`,sf6cda8263b3170af:`Verwenden Sie den Zeitraum bis heute für unvollständige Zeiträume`,sf6dd5d79bf159456:`Prompt-Vorschläge`,sf70eaf9ab4c93082:`nicht enth`,sf95145f204b001ac:`Immer gruppieren nach`,sf9aee319a006c9b4:`Hinzufügen`,sf9c10516a62a23db:`Anzeigen als`,sfa069719a050be66:`UND`,sfa2d0aa30ee5aa58:`letzte (x) Perioden`,sfa44b98afaa0e7c6:`Spalten suchen`,sfad9ed343e97551c:`Vergangener Wert`,sfb1d53c7660dcfc5:e`${0}, und ${1} weitere`,sfb9e6d0c6baa99f5:`Passt dem Datumsbereich, der in der Tabelle oder im Diagramm sichtbar ist`,sfbac36245480ddbc:`Trennzeichen`,sfbac39f6e9672a74:`Zurück zum Gruppierungsbereich`,sfd21da55eb7a055a:e`${0} Stunden`,sfd3c65c07f87b869:`Wird zum Dashboard hinzugefügt`,sfda1c9d0be35cec8:`Quartal bis heute`,sfe9b4269fb997134:`Multipliziert zwei numerische Werte.`,sff5bb7742c2896c8:`Zielwert`,sffa721bb6aa3128d:`Suchen...`,sffb8751d8069b701:`Jahr (UTC)`,sffce88436a4390cf:`Die Diagrammkonfiguration konnte nicht geladen werden. Bitte versuche es erneut.`,"slot-label-name":`Name`,"slot-label-time":`Zeit`,scefc24b75c5d407c:`Only PNG, JPEG, WebP, and GIF images can be attached.`,s2ae727973bb033a3:`Failed to attach image`,sf55c258a1346a96b:`Image is too large. Maximum size is 15 MB.`,s62ce113b16e1d6cb:e`You can attach up to ${0} images.`,se03f6e40172e7803:`Voice recording failed`,sccc63af4eff93de2:`Failed to transcribe audio`,sb071e9aa21ff04fe:`Add attachments`,sc099a0c95839fcd4:`Attached image`};export{n as templates};
@@ -1,5 +1,5 @@
1
1
 
2
- import{n as e,t}from"./localized-mixin-BAHP4Cln.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{n as i,t as a}from"./luzmoCheckbox-BksyONqE.js";import{n as o,r as s,t as c}from"./base-Bo6Un1Yu.js";import{html as l,property as u,query as d,state as f,unsafeCSS as p}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/number-field.js";var m=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap,var(--display-settings-binning-gap));display:flex}:host,:host([size=s]){--display-settings-binning-gap:var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap:var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap:var(--luzmo-spacing-5)}`,h=class extends t(o(s,{validSizes:Object.values(c)})){constructor(...e){super(...e),this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[p(m)]}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._enabled=this.slotContent?.bins?.enabled??!1,this._binWidth=this.slotContent?.bins?.number??10)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){let e={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:e}}}))}renderBinWidth(){return l`<div class="setting">
2
+ import{n as e,t}from"./localized-mixin-C3TNnUAB.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{n as i,t as a}from"./luzmoCheckbox-BksyONqE.js";import{n as o,r as s,t as c}from"./base-BDb1i8ts.js";import{html as l,property as u,query as d,state as f,unsafeCSS as p}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/number-field.js";var m=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap,var(--display-settings-binning-gap));display:flex}:host,:host([size=s]){--display-settings-binning-gap:var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap:var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap:var(--luzmo-spacing-5)}`,h=class extends t(o(s,{validSizes:Object.values(c)})){constructor(...e){super(...e),this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[p(m)]}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._enabled=this.slotContent?.bins?.enabled??!1,this._binWidth=this.slotContent?.bins?.number??10)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){let e={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:e}}}))}renderBinWidth(){return l`<div class="setting">
3
3
  <luzmo-field-label .size=${this.size} for="bin-width"
4
4
  >${n(`Bin width`,{desc:`The width of each bin in the histogram`})}</luzmo-field-label
5
5
  >
@@ -1,5 +1,5 @@
1
1
 
2
- import{n as e,t}from"./localized-mixin-BAHP4Cln.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{n as i,t as a}from"./luzmoCheckbox-BksyONqE.js";import{n as o,r as s,t as c}from"./base-Bo6Un1Yu.js";import{t as l}from"./task-CNp3cEJA.js";import{r as u,t as d}from"./formatter-B7zz6UOp.js";import{i as f,r as p,t as m}from"./periods.const-Cie50jR4.js";import{html as h,property as g,query as _,unsafeCSS as v}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/number-field.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/picker.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/progress-circle.js";var y={"~":()=>n(`Auto`,{desc:`Automatic setting of the option`}),"/":()=>`/`,"-":()=>`-`,".":()=>`.`},b=`:host{font-family:var(--luzmo-display-settings-datetime-font-family,var(--luzmo-font-family))}:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap,var(--display-settings-datetime-gap));display:flex}:host{--display-settings-datetime-example-font-size:var(--luzmo-font-size-s);--display-settings-datetime-example-color:var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight:bold;--display-settings-datetime-example-label-color:var(--luzmo-primary);--display-settings-datetime-example-language-color:var(--luzmo-primary);--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height-s);--display-settings-datetime-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap:var(--luzmo-spacing-4);--display-settings-datetime-example-height:var(--luzmo-component-height-l);--display-settings-datetime-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap:var(--luzmo-spacing-5);--display-settings-datetime-example-height:var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size:var(--luzmo-font-size-l)}`,x=class extends t(o(s,{validSizes:Object.values(c)})){constructor(...e){super(...e),this._loadLocaleFormatsConfig=new l(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){let t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>import(`./cs-DLnr3a23.js`),"../../utils/formatter/formats/da.ts":()=>import(`./da-BJgbo0uE.js`),"../../utils/formatter/formats/de.ts":()=>import(`./de-DPgYMyja.js`),"../../utils/formatter/formats/en-GB.ts":()=>import(`./en-GB-DnwmFNwC.js`),"../../utils/formatter/formats/en-US.ts":()=>import(`./en-US-BD2RCLuw.js`),"../../utils/formatter/formats/en.ts":()=>import(`./en-BD2RCLuw.js`),"../../utils/formatter/formats/es.ts":()=>import(`./es-Dp1UuDDz.js`),"../../utils/formatter/formats/fi.ts":()=>import(`./fi-CLQ6vC7V.js`),"../../utils/formatter/formats/fr.ts":()=>import(`./fr-D8xrUEX4.js`),"../../utils/formatter/formats/he.ts":()=>import(`./he-DHPb0VBo.js`),"../../utils/formatter/formats/hu.ts":()=>import(`./hu-BpaYooip.js`),"../../utils/formatter/formats/it.ts":()=>import(`./it-DWTvD2Xn.js`),"../../utils/formatter/formats/ja.ts":()=>import(`./ja-CtDlXHD1.js`),"../../utils/formatter/formats/ko.ts":()=>import(`./ko-CekuHU50.js`),"../../utils/formatter/formats/mk.ts":()=>import(`./mk-Dq3YK4jD.js`),"../../utils/formatter/formats/nl.ts":()=>import(`./nl-7csxtU-I.js`),"../../utils/formatter/formats/no.ts":()=>import(`./no-DJNRx8au.js`),"../../utils/formatter/formats/pl.ts":()=>import(`./pl-zDnuk9Gd.js`),"../../utils/formatter/formats/pt.ts":()=>import(`./pt-BEVAH5AJ.js`),"../../utils/formatter/formats/ru.ts":()=>import(`./ru-Ceji1Fqk.js`),"../../utils/formatter/formats/sv.ts":()=>import(`./sv-CgssnOqA.js`),"../../utils/formatter/formats/tr.ts":()=>import(`./tr-i3G2sFi4.js`),"../../utils/formatter/formats/zh-CN.ts":()=>import(`./zh-CN-NVnv57dz.js`),"../../utils/formatter/formats/zh-TW.ts":()=>import(`./zh-TW-NVnv57dz.js`)});if(t[`../../utils/formatter/formats/${e}.ts`]){let n=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=n?.default??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.contentLanguage=`en`,this.size=`m`,this.slotContent={},this._dateLevel=5,this._displayAs=`default`,this._weekStart=`monday`,this._weekDayAndMonthInYearFormat=`long`,this._dateFormat=`auto`,this._dateSeparator=`~`,this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[v(b)]}_parseSlotContent(){this._dateLevel=this.slotContent?.level??this.slotContent?.lowestLevel??5,this._displayAs=this.slotContent?.datetimeDisplayMode??`default`,this._displayAs===`weekday_number`&&(this._displayAs=`day_in_week`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`weekday_name`&&(this._displayAs=`day_in_week`),this._displayAs===`month_number`&&(this._displayAs=`month_in_year`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`month_name`&&(this._displayAs=`month_in_year`),this._parseSavedFormat()}_parseSavedFormat(){let e=this.slotContent?.format??`%d-%m-%Y`,t=e.match(/[./-]/);if(this._dateSeparator=e.includes(`~`)?`~`:t?.[0]??`~`,e.includes(`%amd`))this._dateFormat=`auto`;else{let t=e.indexOf(`%d`),n=e.indexOf(`%m`);t!==-1&&n!==-1&&(this._dateFormat=t<n?`ddmm`:`mmdd`)}this._24hFormat=e.includes(`%H`),this._monthName=/%B|%b/.test(e),this._weekDay=/%a|%A/.test(e),this._monthName&&(this._monthNameFormat=e.includes(`%b`)?`short`:`long`),this._weekDay&&(this._weekDayAndMonthInYearFormat=e.includes(`%a`)?`short`:`long`);let n=this._dateLevel===5&&this.slotContent?.weekDayNameFormat||this._dateLevel===3&&this.slotContent?.monthNameFormat;n&&(this._weekDayAndMonthInYearFormat=n)}_calculateFormat(){let e,t=this._localeFormats?.smartDateFormats??u;this._monthName?(e=t.filter(e=>e.monthType===`name`&&e.longText===(this._monthNameFormat===`long`)&&e.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat=`short`,this._weekDay=!0,this._format=`%a %e %B %Y`)):(e=this._dateLevel&&this._dateLevel===4?t.filter(e=>e.monthType===`number`&&e.mmdd===(this._weekFormat===`mmdd`||this._weekFormat!==`ddmm`&&null)&&e.separator===this._dateSeparator):t.filter(e=>e.monthType===`number`&&e.mmdd===(this._dateFormat===`mmdd`||this._dateFormat!==`ddmm`&&null)&&e.separator===this._dateSeparator),this._dateFormat===`auto`&&this._dateLevel&&this._dateLevel!==4?this._format=`%amd`+this._dateSeparator+`%Y`:e.length>0?this._format=e[0].key:(this._dateFormat=`ddmm`,this._dateSeparator=`/`,this._format=`%d/%m/%Y`)),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?` %H:%M:%S.%L`:` %I:%M:%S.%L %p`)}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){this._weekDayAndMonthInYearFormat=this._weekDayAndMonthInYearFormatElement.selected?.[0]??`long`,this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){this._monthNameFormat=this._monthNameFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){this._weekFormat=this._weekFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs==="default"?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs===`week_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`week_number`:`week_name`:this._displayAs===`month_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`month_number`:`month_name`:this._displayAs===`day_in_week`&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`weekday_number`:`weekday_name`,this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSlotContent(),this._calculateSlotContent())}_renderDisplaySettings(){let e=m?.[`level${this._dateLevel??0}`]?.map(e=>h`<luzmo-menu-item value=${e.key}>
2
+ import{n as e,t}from"./localized-mixin-C3TNnUAB.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{n as i,t as a}from"./luzmoCheckbox-BksyONqE.js";import{n as o,r as s,t as c}from"./base-BDb1i8ts.js";import{t as l}from"./task-CNp3cEJA.js";import{r as u,t as d}from"./formatter-B7zz6UOp.js";import{i as f,r as p,t as m}from"./periods.const-Cie50jR4.js";import{html as h,property as g,query as _,unsafeCSS as v}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/number-field.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/picker.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/progress-circle.js";var y={"~":()=>n(`Auto`,{desc:`Automatic setting of the option`}),"/":()=>`/`,"-":()=>`-`,".":()=>`.`},b=`:host{font-family:var(--luzmo-display-settings-datetime-font-family,var(--luzmo-font-family))}:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-datetime-gap,var(--display-settings-datetime-gap));display:flex}:host{--display-settings-datetime-example-font-size:var(--luzmo-font-size-s);--display-settings-datetime-example-color:var(--luzmo-font-color);--display-settings-datetime-example-label-font-weight:bold;--display-settings-datetime-example-label-color:var(--luzmo-primary);--display-settings-datetime-example-language-color:var(--luzmo-primary);--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height)}:host([size=s]){--display-settings-datetime-gap:var(--luzmo-spacing-3);--display-settings-datetime-example-height:var(--luzmo-component-height-s);--display-settings-datetime-example-font-size:var(--luzmo-font-size-s)}:host([size=l]){--display-settings-datetime-gap:var(--luzmo-spacing-4);--display-settings-datetime-example-height:var(--luzmo-component-height-l);--display-settings-datetime-example-font-size:var(--luzmo-font-size)}:host([size=xl]){--display-settings-datetime-gap:var(--luzmo-spacing-5);--display-settings-datetime-example-height:var(--luzmo-component-height-xl);--display-settings-datetime-example-font-size:var(--luzmo-font-size-l)}`,x=class extends t(o(s,{validSizes:Object.values(c)})){constructor(...e){super(...e),this._loadLocaleFormatsConfig=new l(this,{task:async([e])=>{if(e&&e!==this._contentLanguageLoaded){let t=Object.assign({"../../utils/formatter/formats/cs.ts":()=>import(`./cs-DLnr3a23.js`),"../../utils/formatter/formats/da.ts":()=>import(`./da-BJgbo0uE.js`),"../../utils/formatter/formats/de.ts":()=>import(`./de-DPgYMyja.js`),"../../utils/formatter/formats/en-GB.ts":()=>import(`./en-GB-DnwmFNwC.js`),"../../utils/formatter/formats/en-US.ts":()=>import(`./en-US-BD2RCLuw.js`),"../../utils/formatter/formats/en.ts":()=>import(`./en-BD2RCLuw.js`),"../../utils/formatter/formats/es.ts":()=>import(`./es-Dp1UuDDz.js`),"../../utils/formatter/formats/fi.ts":()=>import(`./fi-CLQ6vC7V.js`),"../../utils/formatter/formats/fr.ts":()=>import(`./fr-D8xrUEX4.js`),"../../utils/formatter/formats/he.ts":()=>import(`./he-DHPb0VBo.js`),"../../utils/formatter/formats/hu.ts":()=>import(`./hu-BpaYooip.js`),"../../utils/formatter/formats/it.ts":()=>import(`./it-DWTvD2Xn.js`),"../../utils/formatter/formats/ja.ts":()=>import(`./ja-CtDlXHD1.js`),"../../utils/formatter/formats/ko.ts":()=>import(`./ko-CekuHU50.js`),"../../utils/formatter/formats/mk.ts":()=>import(`./mk-Dq3YK4jD.js`),"../../utils/formatter/formats/nl.ts":()=>import(`./nl-7csxtU-I.js`),"../../utils/formatter/formats/no.ts":()=>import(`./no-DJNRx8au.js`),"../../utils/formatter/formats/pl.ts":()=>import(`./pl-zDnuk9Gd.js`),"../../utils/formatter/formats/pt.ts":()=>import(`./pt-BEVAH5AJ.js`),"../../utils/formatter/formats/ru.ts":()=>import(`./ru-Ceji1Fqk.js`),"../../utils/formatter/formats/sv.ts":()=>import(`./sv-CgssnOqA.js`),"../../utils/formatter/formats/tr.ts":()=>import(`./tr-i3G2sFi4.js`),"../../utils/formatter/formats/zh-CN.ts":()=>import(`./zh-CN-NVnv57dz.js`),"../../utils/formatter/formats/zh-TW.ts":()=>import(`./zh-TW-NVnv57dz.js`)});if(t[`../../utils/formatter/formats/${e}.ts`]){let n=await t[`../../utils/formatter/formats/${e}.ts`]();this._localeFormats=n?.default??{}}return this._contentLanguageLoaded=e,this._localeFormats}},args:()=>[this.contentLanguage]}),this.contentLanguage=`en`,this.size=`m`,this.slotContent={},this._dateLevel=5,this._displayAs=`default`,this._weekStart=`monday`,this._weekDayAndMonthInYearFormat=`long`,this._dateFormat=`auto`,this._dateSeparator=`~`,this._sendEvent=()=>{this._calculateSlotContent(),this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}}static get styles(){return[v(b)]}_parseSlotContent(){this._dateLevel=this.slotContent?.level??this.slotContent?.lowestLevel??5,this._displayAs=this.slotContent?.datetimeDisplayMode??`default`,this._displayAs===`weekday_number`&&(this._displayAs=`day_in_week`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`weekday_name`&&(this._displayAs=`day_in_week`),this._displayAs===`month_number`&&(this._displayAs=`month_in_year`,this._weekDayAndMonthInYearFormat=`number`),this._displayAs===`month_name`&&(this._displayAs=`month_in_year`),this._parseSavedFormat()}_parseSavedFormat(){let e=this.slotContent?.format??`%d-%m-%Y`,t=e.match(/[./-]/);if(this._dateSeparator=e.includes(`~`)?`~`:t?.[0]??`~`,e.includes(`%amd`))this._dateFormat=`auto`;else{let t=e.indexOf(`%d`),n=e.indexOf(`%m`);t!==-1&&n!==-1&&(this._dateFormat=t<n?`ddmm`:`mmdd`)}this._24hFormat=e.includes(`%H`),this._monthName=/%B|%b/.test(e),this._weekDay=/%a|%A/.test(e),this._monthName&&(this._monthNameFormat=e.includes(`%b`)?`short`:`long`),this._weekDay&&(this._weekDayAndMonthInYearFormat=e.includes(`%a`)?`short`:`long`);let n=this._dateLevel===5&&this.slotContent?.weekDayNameFormat||this._dateLevel===3&&this.slotContent?.monthNameFormat;n&&(this._weekDayAndMonthInYearFormat=n)}_calculateFormat(){let e,t=this._localeFormats?.smartDateFormats??u;this._monthName?(e=t.filter(e=>e.monthType===`name`&&e.longText===(this._monthNameFormat===`long`)&&e.weekday===this._weekDay),e.length>0?this._format=e[0].key:(this._weekDayAndMonthInYearFormat=`short`,this._weekDay=!0,this._format=`%a %e %B %Y`)):(e=this._dateLevel&&this._dateLevel===4?t.filter(e=>e.monthType===`number`&&e.mmdd===(this._weekFormat===`mmdd`||this._weekFormat!==`ddmm`&&null)&&e.separator===this._dateSeparator):t.filter(e=>e.monthType===`number`&&e.mmdd===(this._dateFormat===`mmdd`||this._dateFormat!==`ddmm`&&null)&&e.separator===this._dateSeparator),this._dateFormat===`auto`&&this._dateLevel&&this._dateLevel!==4?this._format=`%amd`+this._dateSeparator+`%Y`:e.length>0?this._format=e[0].key:(this._dateFormat=`ddmm`,this._dateSeparator=`/`,this._format=`%d/%m/%Y`)),this._dateLevel&&this._dateLevel>5&&(this._format+=this._24hFormat?` %H:%M:%S.%L`:` %I:%M:%S.%L %p`)}_setWeekStartsOn(){this._weekStart=this._weekStartElement.value,this._sendEvent(),this.requestUpdate()}_setDisplayAs(){this._displayAs=this._displayAsElement.value,this._sendEvent(),this.requestUpdate()}_setWeekdayAndMonthInYearFormat(){this._weekDayAndMonthInYearFormat=this._weekDayAndMonthInYearFormatElement.selected?.[0]??`long`,this._sendEvent(),this.requestUpdate()}_setMonthNameFormat(){this._monthNameFormat=this._monthNameFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setMonthName(){this._monthName=this._monthNameElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekFormat(){this._weekFormat=this._weekFormatElement.selected?.[0],this._sendEvent(),this.requestUpdate()}_setDateFormat(){this._dateFormat=this._dateFormatElement.value,this._sendEvent(),this.requestUpdate()}_setDateSeparator(){this._dateSeparator=this._dateSeparatorElement.value,this._sendEvent(),this.requestUpdate()}_set24hFormat(){this._24hFormat=this._format24hElement.selected,this._sendEvent(),this.requestUpdate()}_setWeekday(){this._weekDay=this._weekDayElement.selected,this._sendEvent(),this.requestUpdate()}_calculateSlotContent(){this._currentSlotContent={...this.slotContent},this._calculateFormat(),this._currentSlotContent.format=this._format,this._displayAs==="default"?delete this._currentSlotContent.datetimeDisplayMode:(this._currentSlotContent.datetimeDisplayMode=this._displayAs,this._displayAs===`week_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`week_number`:`week_name`:this._displayAs===`month_in_year`?this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`month_number`:`month_name`:this._displayAs===`day_in_week`&&(this._currentSlotContent.datetimeDisplayMode=this._weekDayAndMonthInYearFormat===`number`?`weekday_number`:`weekday_name`,this._currentSlotContent.weekStart=this._weekStart),this._weekDayAndMonthInYearFormat&&(this._dateLevel===3?this._currentSlotContent.monthNameFormat=this._weekDayAndMonthInYearFormat:this._dateLevel===5&&(this._currentSlotContent.weekDayNameFormat=this._weekDayAndMonthInYearFormat)))}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSlotContent(),this._calculateSlotContent())}_renderDisplaySettings(){let e=m?.[`level${this._dateLevel??0}`]?.map(e=>h`<luzmo-menu-item value=${e.key}>
3
3
  ${e.i18n()}
4
4
  </luzmo-menu-item>`);return h`<div class="setting">
5
5
  <luzmo-field-label .size=${this.size} for="display-as"
@@ -1,5 +1,5 @@
1
1
 
2
- import{n as e,t}from"./localized-mixin-BAHP4Cln.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{n as i,t as a}from"./luzmoCheckbox-BksyONqE.js";import{n as o,r as s,t as c}from"./base-Bo6Un1Yu.js";import{html as l,ifDefined as u,property as d,state as f,unsafeCSS as p}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";var m=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap,var(--display-settings-grand-totals-gap));display:flex}:host,:host([size=s]){--display-settings-grand-totals-gap:var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap:var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap:var(--luzmo-spacing-5)}`,h=class extends t(o(s,{validSizes:Object.values(c)})){constructor(...e){super(...e),this.slotContent={}}static get styles(){return[p(m)]}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._enabled=this.slotContent?.grandTotals?.enabled??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){let e={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:e}}}))}render(){return l`<div class="settings-container">
2
+ import{n as e,t}from"./localized-mixin-C3TNnUAB.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{n as i,t as a}from"./luzmoCheckbox-BksyONqE.js";import{n as o,r as s,t as c}from"./base-BDb1i8ts.js";import{html as l,ifDefined as u,property as d,state as f,unsafeCSS as p}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/icon.js";var m=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap,var(--display-settings-grand-totals-gap));display:flex}:host,:host([size=s]){--display-settings-grand-totals-gap:var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap:var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap:var(--luzmo-spacing-5)}`,h=class extends t(o(s,{validSizes:Object.values(c)})){constructor(...e){super(...e),this.slotContent={}}static get styles(){return[p(m)]}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._enabled=this.slotContent?.grandTotals?.enabled??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){let e={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:e}}}))}render(){return l`<div class="settings-container">
3
3
  <div class="settings-row">
4
4
  <div class="setting">
5
5
  <luzmo-field-label .size=${this.size} for="grand-totals"
@@ -1,5 +1,5 @@
1
1
 
2
- import{n as e,t}from"./localized-mixin-BAHP4Cln.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{t as i}from"./luzmoAngleDown-PNrItYzK.js";import{a,t as o}from"./calculate-data-field-icon-CrEVAfzJ.js";import{t as s}from"./luzmo-icon-markup-27PRW8QM.js";import{n as c,r as l,t as u}from"./base-Bo6Un1Yu.js";import{t as d}from"./localize-BXHWaHdZ.js";import{t as f}from"./decompose-numeric-format-BXLQ97e2.js";import{html as p,nothing as m,property as h,query as g,state as _,unsafeCSS as v}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/number-field.js";import{removeSlottableRequest as y}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/overlay.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/picker.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/popover.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/tooltip.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/menu.js";var b=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap,var(--display-settings-numeric-gap));display:flex}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start,var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}.dataset-header{white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;max-width:100%;color:var(--luzmo-font-color);white-space:nowrap;cursor:default;margin:.5rem 1rem;font-weight:600;overflow:hidden}.no-weight-label{margin-left:1rem}.with-secondary-icon{clip-path:polygon(0 0,60% 0,65% 60%,100% 65%,100% 100%,0 100%)}.secondary-icon{width:auto;font-size:.75em;line-height:1;position:absolute;bottom:45%;left:60%}.data-icon-type{text-align:center;width:1.5rem;display:inline-block;position:relative}:host{--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-2)}:host([size=s]){--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-1)}:host([size=l]){--display-settings-numeric-gap:var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-3)}:host([size=xl]){--display-settings-numeric-gap:var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-4)}`,x={sum:()=>n(`Sum`,{desc:`Aggregation label`}),cumulativesum:()=>n(`Cumulative sum`,{desc:`Aggregation label`}),average:()=>n(`Average`,{desc:`Aggregation label`}),median:()=>n(`Median`,{desc:`Aggregation label`}),count:()=>n(`Count rows`,{desc:`Aggregation label`}),distinctcount:()=>n(`Count distinct`,{desc:`Aggregation label`}),min:()=>n(`Minimum`,{desc:`Aggregation label`}),max:()=>n(`Maximum`,{desc:`Aggregation label`}),stddev:()=>n(`Standard deviation`,{desc:`Aggregation label`}),rate:()=>n(`Rate`,{desc:`Aggregation label`})},S={general:`123`,percentage:`%`,scientific:`SI`},C={time:()=>n(`Time`,{desc:`Time format option`}),short:()=>n(`Short`,{desc:`Short format option`}),long:()=>n(`Long`,{desc:`Long format option`})},w={Auto:{auto:!0,label:()=>n(`Auto`,{desc:`Automatic setting of the option`})},"1,000.00":{auto:!1,label:()=>`1,000.00`,thousandSeparator:`,`,decimalSeparator:`.`,hiddenFor:`scientific`},"1.000,00":{auto:!1,label:()=>`1.000,00`,thousandSeparator:`.`,decimalSeparator:`,`,hiddenFor:`scientific`},"1000.00":{auto:!1,label:()=>`1000.00`,decimalSeparator:`.`},"1000,00":{auto:!1,label:()=>`1000,00`,decimalSeparator:`,`}},T={levels:[{level:1,label:`years`},{level:2,label:`quarters`},{level:3,label:`months`},{level:4,label:`weeks`},{level:5,label:`days`},{level:6,label:`hours`},{level:7,label:`minutes`},{level:8,label:`seconds`},{level:9,label:`milliseconds`}]},E=class extends t(c(l,{validSizes:Object.values(u)})){constructor(...e){super(...e),this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._handleSlottableRequest=e=>{this._renderDurationLevelMenu=e.data!==y},this._sendEvent=()=>{let e={...this.slotContent,format:this._format,aggregationFunc:this._aggregationFunc};this._aggregationWeightColumn?e.aggregationWeight={...this._aggregationWeightColumn}:delete e.aggregationWeight,this._displayMode===`duration`?(e.duration=e.duration??{},e.duration.format=this._durationFormat,e.duration.levels=this._durationLevels):delete e.duration,this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:e}}))}}static get styles(){return[v(b)]}_parseSavedNumericFormatSettings(){if(this._displayMode=this.slotContent?.subtype===`duration`?`duration`:`numeric`,this._durationFormat=this.slotContent?.duration?.format??`short`,this._durationLevels=this.slotContent?.duration?.levels??[1],this._displayMode===`duration`)this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=this.slotContent?.format??`.0f`;let e=f(this._format??`.0f`);this._isAuto=e.typeFormat?.includes(`a`)??!1,[`%`,`a%`,`y`,`ay`].includes(e.typeFormat)?this._displayAs=`percentage`:[`s`,`as`,`w`,`aw`].includes(e.typeFormat)?this._displayAs=`scientific`:this._displayAs=`general`,this._precision=e.precision?Number.parseInt(e.precision.replace(`.`,``),10):+(this._displayAs===`scientific`),this._commaDecimals=[`z`,`az`,`y`,`ay`,`w`,`aw`].includes(e.typeFormat),this._thousandSeparator=e.comma===`,`,this._isAuto?this._numericFormatGroup=`Auto`:this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1.000,00`:!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1,000.00`:this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup=`1000,00`:!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup=`1000.00`)}}_setNumericDisplayAs(){this._displayAs=this._displayAsElement?.selected?.[0]??`general`,this._displayAs===`scientific`&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(e){let t=w[e?.detail??`Auto`];this._thousandSeparator=[`,`,`.`].includes(t?.thousandSeparator??``),this._commaDecimals=t?.decimalSeparator===`,`,this._isAuto=t?.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){Number.isNaN(this._precisionElement.value)&&(this._precisionElement.value=+(this._displayAs===`scientific`)),this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){let e=`f`,t=this.slotContent.subtype===`duration`?this._durationLevels&&this._durationLevels?.length===1?`numeric`:`duration`:`numeric`;if(this._maxDurationLevel=Math.min(...this._durationLevels),t===`duration`)(![`time`,`short`,`long`].includes(this._durationFormat??``)||this._maxDurationLevel<6&&this._durationFormat===`time`)&&(this._durationFormat=`short`);else{let t=this._displayAs??`general`;t===`general`&&this._commaDecimals?e=`z`:t===`percentage`&&this._commaDecimals?e=`y`:t===`scientific`&&this._commaDecimals?e=`w`:t===`percentage`?e=`%`:t===`scientific`&&(e=`s`),this._format=(this._thousandSeparator||this._isAuto?`,`:``)+`.`+this._precision+(this._isAuto?`a`:``)+e}}_setAggregationFunc(){let e=this._aggregationElement.value,t=this._aggregationFunc,n=this.slotContent.format;if(e!==(t===`weightedaverage`?`average`:t)){if(this._aggregationFunc=e===`average`&&this._aggregationWeightColumn?.column?`weightedaverage`:e,t===`rate`){let e=f(n),t=[`%`,`y`,`a%`,`ay`].includes(e.typeFormat);this.slotContent.subtype===`currency`&&t&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc===`rate`||t===`rate`)&&this.requestUpdate()}}_setAggregationWeight(){let e=this._aggregationWeightElement.value,t=this._aggregationFunc;if(e===`none`)this._aggregationWeightColumn=void 0,this._aggregationFunc===`weightedaverage`&&(this._aggregationFunc=`average`);else{let t,n;for(let r of this.measureColumns??[]){let i=r.columns?.find(t=>t.id===e);if(i){t=i,n=r.datasetId;break}}t&&(this._aggregationWeightColumn={column:t.id,set:n,columnSubType:t.subtype}),this._aggregationFunc===`average`&&(this._aggregationFunc=`weightedaverage`)}this._sendEvent(),this.requestUpdate(),(t===`weightedaverage`&&this._aggregationFunc===`average`||t===`average`&&this._aggregationFunc===`weightedaverage`)&&this.requestUpdate()}_setDurationLevels(){let e=this._durationLevels,t=this._durationLevelsElement.value.split(`,`).filter(e=>e!==``).map(e=>Number.parseInt(e,10));this._durationLevels=(t?.length??0)>=1?t:e,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){this._durationFormat=this._durationFormatElement?.selected?.[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat===`time`){let e=this._durationLevels.sort().at(-1);if([7,8,9].includes(e)){for(let t of{lev7:[6],lev8:[6,7],lev9:[6,7,8]}[`lev`+e])this._durationLevels.includes(t)||this._durationLevels.push(t);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=this.slotContent?.aggregationFunc??(this.slotContent?.type===`numeric`?`sum`:`count`),this._aggregationWeightColumn=this.slotContent?.aggregationWeight,this._isFormula=this.slotContent?.formula||this.slotContent?.formulaId)}_renderDurationLevelsSettings(){let e=T.levels.map(e=>{let t=!1;return this._durationFormat===`time`&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(t=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(t=!0),p`<luzmo-menu-item
2
+ import{n as e,t}from"./localized-mixin-C3TNnUAB.js";import{n}from"./lit-localize-CIGP-NUw.js";import{t as r}from"./localized-decorator-Buib6Rq1.js";import{t as i}from"./luzmoAngleDown-PNrItYzK.js";import{a,t as o}from"./calculate-data-field-icon-CrEVAfzJ.js";import{t as s}from"./luzmo-icon-markup-27PRW8QM.js";import{n as c,r as l,t as u}from"./base-BDb1i8ts.js";import{t as d}from"./localize-BXHWaHdZ.js";import{t as f}from"./decompose-numeric-format-BXLQ97e2.js";import{html as p,nothing as m,property as h,query as g,state as _,unsafeCSS as v}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/lit.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-button.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/action-group.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/field-label.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/number-field.js";import{removeSlottableRequest as y}from"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/overlay.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/picker.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/popover.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/tooltip.js";import"https://cdn.jsdelivr.net/npm/@luzmo/lucero@2.5.1/standalone/menu.js";var b=`:host .settings-container{gap:var(--luzmo-display-settings-vertical-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}:host .settings-row{justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap,var(--display-settings-numeric-gap));display:flex}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start,var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}.dataset-header{white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;max-width:100%;color:var(--luzmo-font-color);white-space:nowrap;cursor:default;margin:.5rem 1rem;font-weight:600;overflow:hidden}.no-weight-label{margin-left:1rem}.with-secondary-icon{clip-path:polygon(0 0,60% 0,65% 60%,100% 65%,100% 100%,0 100%)}.secondary-icon{width:auto;font-size:.75em;line-height:1;position:absolute;bottom:45%;left:60%}.data-icon-type{text-align:center;width:1.5rem;display:inline-block;position:relative}:host{--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-2)}:host([size=s]){--display-settings-numeric-gap:var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-1)}:host([size=l]){--display-settings-numeric-gap:var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-3)}:host([size=xl]){--display-settings-numeric-gap:var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start:var(--luzmo-spacing-4)}`,x={sum:()=>n(`Sum`,{desc:`Aggregation label`}),cumulativesum:()=>n(`Cumulative sum`,{desc:`Aggregation label`}),average:()=>n(`Average`,{desc:`Aggregation label`}),median:()=>n(`Median`,{desc:`Aggregation label`}),count:()=>n(`Count rows`,{desc:`Aggregation label`}),distinctcount:()=>n(`Count distinct`,{desc:`Aggregation label`}),min:()=>n(`Minimum`,{desc:`Aggregation label`}),max:()=>n(`Maximum`,{desc:`Aggregation label`}),stddev:()=>n(`Standard deviation`,{desc:`Aggregation label`}),rate:()=>n(`Rate`,{desc:`Aggregation label`})},S={general:`123`,percentage:`%`,scientific:`SI`},C={time:()=>n(`Time`,{desc:`Time format option`}),short:()=>n(`Short`,{desc:`Short format option`}),long:()=>n(`Long`,{desc:`Long format option`})},w={Auto:{auto:!0,label:()=>n(`Auto`,{desc:`Automatic setting of the option`})},"1,000.00":{auto:!1,label:()=>`1,000.00`,thousandSeparator:`,`,decimalSeparator:`.`,hiddenFor:`scientific`},"1.000,00":{auto:!1,label:()=>`1.000,00`,thousandSeparator:`.`,decimalSeparator:`,`,hiddenFor:`scientific`},"1000.00":{auto:!1,label:()=>`1000.00`,decimalSeparator:`.`},"1000,00":{auto:!1,label:()=>`1000,00`,decimalSeparator:`,`}},T={levels:[{level:1,label:`years`},{level:2,label:`quarters`},{level:3,label:`months`},{level:4,label:`weeks`},{level:5,label:`days`},{level:6,label:`hours`},{level:7,label:`minutes`},{level:8,label:`seconds`},{level:9,label:`milliseconds`}]},E=class extends t(c(l,{validSizes:Object.values(u)})){constructor(...e){super(...e),this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._handleSlottableRequest=e=>{this._renderDurationLevelMenu=e.data!==y},this._sendEvent=()=>{let e={...this.slotContent,format:this._format,aggregationFunc:this._aggregationFunc};this._aggregationWeightColumn?e.aggregationWeight={...this._aggregationWeightColumn}:delete e.aggregationWeight,this._displayMode===`duration`?(e.duration=e.duration??{},e.duration.format=this._durationFormat,e.duration.levels=this._durationLevels):delete e.duration,this.dispatchEvent(new CustomEvent(`luzmo-slot-content-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:e}}))}}static get styles(){return[v(b)]}_parseSavedNumericFormatSettings(){if(this._displayMode=this.slotContent?.subtype===`duration`?`duration`:`numeric`,this._durationFormat=this.slotContent?.duration?.format??`short`,this._durationLevels=this.slotContent?.duration?.levels??[1],this._displayMode===`duration`)this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=this.slotContent?.format??`.0f`;let e=f(this._format??`.0f`);this._isAuto=e.typeFormat?.includes(`a`)??!1,[`%`,`a%`,`y`,`ay`].includes(e.typeFormat)?this._displayAs=`percentage`:[`s`,`as`,`w`,`aw`].includes(e.typeFormat)?this._displayAs=`scientific`:this._displayAs=`general`,this._precision=e.precision?Number.parseInt(e.precision.replace(`.`,``),10):+(this._displayAs===`scientific`),this._commaDecimals=[`z`,`az`,`y`,`ay`,`w`,`aw`].includes(e.typeFormat),this._thousandSeparator=e.comma===`,`,this._isAuto?this._numericFormatGroup=`Auto`:this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1.000,00`:!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup=`1,000.00`:this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup=`1000,00`:!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup=`1000.00`)}}_setNumericDisplayAs(){this._displayAs=this._displayAsElement?.selected?.[0]??`general`,this._displayAs===`scientific`&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(e){let t=w[e?.detail??`Auto`];this._thousandSeparator=[`,`,`.`].includes(t?.thousandSeparator??``),this._commaDecimals=t?.decimalSeparator===`,`,this._isAuto=t?.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){Number.isNaN(this._precisionElement.value)&&(this._precisionElement.value=+(this._displayAs===`scientific`)),this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){let e=`f`,t=this.slotContent.subtype===`duration`?this._durationLevels&&this._durationLevels?.length===1?`numeric`:`duration`:`numeric`;if(this._maxDurationLevel=Math.min(...this._durationLevels),t===`duration`)(![`time`,`short`,`long`].includes(this._durationFormat??``)||this._maxDurationLevel<6&&this._durationFormat===`time`)&&(this._durationFormat=`short`);else{let t=this._displayAs??`general`;t===`general`&&this._commaDecimals?e=`z`:t===`percentage`&&this._commaDecimals?e=`y`:t===`scientific`&&this._commaDecimals?e=`w`:t===`percentage`?e=`%`:t===`scientific`&&(e=`s`),this._format=(this._thousandSeparator||this._isAuto?`,`:``)+`.`+this._precision+(this._isAuto?`a`:``)+e}}_setAggregationFunc(){let e=this._aggregationElement.value,t=this._aggregationFunc,n=this.slotContent.format;if(e!==(t===`weightedaverage`?`average`:t)){if(this._aggregationFunc=e===`average`&&this._aggregationWeightColumn?.column?`weightedaverage`:e,t===`rate`){let e=f(n),t=[`%`,`y`,`a%`,`ay`].includes(e.typeFormat);this.slotContent.subtype===`currency`&&t&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc===`rate`||t===`rate`)&&this.requestUpdate()}}_setAggregationWeight(){let e=this._aggregationWeightElement.value,t=this._aggregationFunc;if(e===`none`)this._aggregationWeightColumn=void 0,this._aggregationFunc===`weightedaverage`&&(this._aggregationFunc=`average`);else{let t,n;for(let r of this.measureColumns??[]){let i=r.columns?.find(t=>t.id===e);if(i){t=i,n=r.datasetId;break}}t&&(this._aggregationWeightColumn={column:t.id,set:n,columnSubType:t.subtype}),this._aggregationFunc===`average`&&(this._aggregationFunc=`weightedaverage`)}this._sendEvent(),this.requestUpdate(),(t===`weightedaverage`&&this._aggregationFunc===`average`||t===`average`&&this._aggregationFunc===`weightedaverage`)&&this.requestUpdate()}_setDurationLevels(){let e=this._durationLevels,t=this._durationLevelsElement.value.split(`,`).filter(e=>e!==``).map(e=>Number.parseInt(e,10));this._durationLevels=(t?.length??0)>=1?t:e,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){this._durationFormat=this._durationFormatElement?.selected?.[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat===`time`){let e=this._durationLevels.sort().at(-1);if([7,8,9].includes(e)){for(let t of{lev7:[6],lev8:[6,7],lev9:[6,7,8]}[`lev`+e])this._durationLevels.includes(t)||this._durationLevels.push(t);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(e){super.willUpdate(e),e.has(`slotContent`)&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=this.slotContent?.aggregationFunc??(this.slotContent?.type===`numeric`?`sum`:`count`),this._aggregationWeightColumn=this.slotContent?.aggregationWeight,this._isFormula=this.slotContent?.formula||this.slotContent?.formulaId)}_renderDurationLevelsSettings(){let e=T.levels.map(e=>{let t=!1;return this._durationFormat===`time`&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(t=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(t=!0),p`<luzmo-menu-item
3
3
  value=${e.level}
4
4
  ?selected=${this._durationLevels.includes(e.level)}
5
5
  ?disabled=${t}