@luzmo/analytics-components-kit 1.0.4-beta.3 → 1.0.4

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 (712) hide show
  1. package/README.md +11 -5
  2. package/components/{area-chart-options.config-BjdRY1sr.js → area-chart-options.config-CxJWxcD9.js} +1 -1
  3. package/components/{area-chart-positioning.config-PZ-MmeDb.cjs → area-chart-positioning.config-CE8lOCfT.cjs} +1 -1
  4. package/components/{area-chart-positioning.config-hLhrDJ3v.js → area-chart-positioning.config-CQW5h7Eg.js} +1 -1
  5. package/components/{area-chart-slots.config-BpvvqFy_.js → area-chart-slots.config-C22ZF9l0.js} +1 -1
  6. package/components/{bar-chart-options.config-DxNHV39Y.js → bar-chart-options.config-BAatAyhW.js} +1 -1
  7. package/components/{bar-chart-positioning.config-DI8tOMbI.cjs → bar-chart-positioning.config-DFI1wzOQ.cjs} +1 -1
  8. package/components/{bar-chart-positioning.config-C6wWTn1o.js → bar-chart-positioning.config-DaH_x_VU.js} +1 -1
  9. package/components/{bar-chart-slots.config-CfIirCOX.js → bar-chart-slots.config-BbgFihbK.js} +1 -1
  10. package/components/base-CYiGlWug.cjs +20 -0
  11. package/components/{base-DYkpEuMf.js → base-p2I4mVSW.js} +2 -3
  12. package/components/{box-plot-options.config-CXey4hvi.js → box-plot-options.config-BuX2wNhp.js} +1 -1
  13. package/components/{box-plot-positioning.config-D_qhNWth.cjs → box-plot-positioning.config-FOyav5Zq.cjs} +1 -1
  14. package/components/{box-plot-positioning.config-XG-WcIlA.js → box-plot-positioning.config-K2tQGMig.js} +1 -1
  15. package/components/{box-plot-slots.config-DclNulnH.js → box-plot-slots.config-OeublT6p.js} +1 -1
  16. package/components/{bubble-chart-options.config-CeaOv4eF.js → bubble-chart-options.config-C_XQOHgH.js} +1 -1
  17. package/components/{bubble-chart-positioning.config-CHYBh_Nb.cjs → bubble-chart-positioning.config-B6DXfqa4.cjs} +1 -1
  18. package/components/{bubble-chart-positioning.config-o_r-GWQG.js → bubble-chart-positioning.config-D2fwO2JM.js} +1 -1
  19. package/components/{bubble-chart-slots.config-D7vQta7G.js → bubble-chart-slots.config-Bdy20Xqs.js} +1 -1
  20. package/components/{bullet-chart-options.config-CLn7sV4W.js → bullet-chart-options.config-h5BFyszP.js} +1 -1
  21. package/components/{bullet-chart-positioning.config-DE5oy4M6.js → bullet-chart-positioning.config-DOAG2wFN.js} +1 -1
  22. package/components/{bullet-chart-positioning.config-BF8PflF6.cjs → bullet-chart-positioning.config-DZqzqZSQ.cjs} +1 -1
  23. package/components/{bullet-chart-slots.config-IX7zJWc7.js → bullet-chart-slots.config-Cqj3i1qo.js} +1 -1
  24. package/components/{choropleth-map-options.config-DzTlJSO3.js → choropleth-map-options.config-YCo77O3q.js} +1 -1
  25. package/components/{choropleth-map-positioning.config-DT1WWljP.cjs → choropleth-map-positioning.config-C3jO3j8R.cjs} +1 -1
  26. package/components/{choropleth-map-positioning.config-Cf8bEIns.js → choropleth-map-positioning.config-Jw6fAFM1.js} +1 -1
  27. package/components/{choropleth-map-slots.config-y0y9rf6i.js → choropleth-map-slots.config-D4vxtdtH.js} +1 -1
  28. package/components/{circle-pack-chart-options.config-DoLPbnPq.js → circle-pack-chart-options.config-C0cEtjgC.js} +1 -1
  29. package/components/{circle-pack-chart-positioning.config-Dy-DZ_de.js → circle-pack-chart-positioning.config-Ckb-1sUG.js} +1 -1
  30. package/components/{circle-pack-chart-positioning.config-DDpnake6.cjs → circle-pack-chart-positioning.config-DJT6ivEy.cjs} +1 -1
  31. package/components/{circle-pack-chart-slots.config-X9WVAykN.js → circle-pack-chart-slots.config-Dks8K3uQ.js} +1 -1
  32. package/components/{circular-gauge-options.config-BPUFjqx8.js → circular-gauge-options.config-Cdnk-Sp0.js} +1 -1
  33. package/components/{circular-gauge-positioning.config-D2t_3T1J.cjs → circular-gauge-positioning.config-B8gL5Br9.cjs} +1 -1
  34. package/components/{circular-gauge-positioning.config-DljBe7e-.js → circular-gauge-positioning.config-BGlDGhYZ.js} +1 -1
  35. package/components/{circular-gauge-slots.config-NIEmIAIG.js → circular-gauge-slots.config-Wf4sHmk6.js} +1 -1
  36. package/components/{column-chart-options.config-DQts3cE4.js → column-chart-options.config-DoZLlIRM.js} +1 -1
  37. package/components/{column-chart-positioning.config-Bob00Qnq.js → column-chart-positioning.config-BJGWvFLD.js} +1 -1
  38. package/components/{column-chart-positioning.config-Uvvr5PxW.cjs → column-chart-positioning.config-LzBETWIy.cjs} +1 -1
  39. package/components/{column-chart-slots.config-CoFarLvo.js → column-chart-slots.config-BhVqSbKw.js} +1 -1
  40. package/components/{combination-chart-options.config-CjSV6Ic4.js → combination-chart-options.config-D7ZXfn61.js} +1 -1
  41. package/components/{combination-chart-positioning.config-BzbcDQ2O.cjs → combination-chart-positioning.config-DjmWx90S.cjs} +1 -1
  42. package/components/{combination-chart-positioning.config-DG2CM16I.js → combination-chart-positioning.config-DtneKdwK.js} +1 -1
  43. package/components/{combination-chart-slots.config-BGRHSwfr.js → combination-chart-slots.config-CK8YBgUl.js} +1 -1
  44. package/components/{conditional-number-options.config-CZFqw31c.js → conditional-number-options.config-BwSMI5Ax.js} +1 -1
  45. package/components/{conditional-number-positioning.config-DpORiYgh.cjs → conditional-number-positioning.config-C8bRdffQ.cjs} +1 -1
  46. package/components/{conditional-number-positioning.config-CT8PqxDT.js → conditional-number-positioning.config-Ccb2yjJU.js} +1 -1
  47. package/components/{conditional-number-slots.config-r_C8T2HH.js → conditional-number-slots.config-xSNaYD4u.js} +1 -1
  48. package/components/data-field/index.cjs +1 -1
  49. package/components/data-field/index.d.ts +0 -1
  50. package/components/data-field/index.js +1 -1
  51. package/components/data-field-iGBGWoGH.cjs +89 -0
  52. package/components/{data-field-level-zbu4U2m5.js → data-field-ll2oFVG2.js} +141 -47
  53. package/components/data-field-panel/index.cjs +1 -1
  54. package/components/data-field-panel/index.d.ts +0 -1
  55. package/components/data-field-panel/index.js +1 -1
  56. package/components/data-field-panel-NktuTUUp.cjs +87 -0
  57. package/components/{data-field-panel-Ob-hNZwz.js → data-field-panel-ntgCpQ_2.js} +4 -5
  58. package/components/{data-fields-select-CYQy6Ow-.js → data-fields-select-DJFkrrPs.js} +3 -4
  59. package/components/data-fields-select-DL1nFRg3.cjs +41 -0
  60. package/components/{date-comparison-filter-options.config-s16IGX_4.js → date-comparison-filter-options.config-DCCm5Adt.js} +1 -1
  61. package/components/{date-comparison-filter-slots.config-DQBKeCRX.js → date-comparison-filter-slots.config-s7FcuKia.js} +1 -1
  62. package/components/{date-filter-options.config-ChFEIjN3.js → date-filter-options.config-DBwcMXzp.js} +1 -1
  63. package/components/{date-filter-slots.config-DREsncpE.js → date-filter-slots.config-pbd3rG9z.js} +1 -1
  64. package/components/{de-D-xQoqdB.js → de-DqwsqE-U.js} +14 -9
  65. package/components/de-tUSOg_BJ.cjs +20 -0
  66. package/components/{display-settings-binning-GKaol6nW.cjs → display-settings-binning-CQKXGp11.cjs} +4 -4
  67. package/components/{display-settings-binning-MHns2Ns6.js → display-settings-binning-DGxEB9Fa.js} +21 -19
  68. package/components/display-settings-datetime-25LwuZM_.cjs +217 -0
  69. package/components/{display-settings-datetime-D5eBAfWQ.js → display-settings-datetime-CLx9sxA7.js} +81 -79
  70. package/components/display-settings-grand-totals-1tBdxbFY.cjs +44 -0
  71. package/components/{display-settings-grand-totals-CpulhtNX.js → display-settings-grand-totals-B0Px90rH.js} +20 -18
  72. package/components/display-settings-numeric-Bbx4qmpA.cjs +190 -0
  73. package/components/{display-settings-numeric-DnyXOV_x.js → display-settings-numeric-CdEgzO7W.js} +88 -86
  74. package/components/display-settings-period-over-period-4bJbXWB7.cjs +229 -0
  75. package/components/{display-settings-period-over-period-Do4qG7yY.js → display-settings-period-over-period-lo3myRfT.js} +91 -90
  76. package/components/{donut-chart-options.config-WNOpb2n9.js → donut-chart-options.config-Buas8fzJ.js} +1 -1
  77. package/components/{donut-chart-positioning.config-BLnTmwTZ.cjs → donut-chart-positioning.config-2cYbI6p-.cjs} +1 -1
  78. package/components/{donut-chart-positioning.config-Bl96um6F.js → donut-chart-positioning.config-Dh3XI5f4.js} +1 -1
  79. package/components/{donut-chart-slots.config-DEQ3Cw6c.js → donut-chart-slots.config-CZWRHxZe.js} +1 -1
  80. package/components/{dropdown-filter-options.config-DBNawOPR.js → dropdown-filter-options.config-gv1y1OkC.js} +1 -1
  81. package/components/{dropdown-filter-slots.config-DcStZGjV.js → dropdown-filter-slots.config-aP5hvp2K.js} +1 -1
  82. package/components/{en-GB-DzkdeUQh.js → en-GB-D7N1nMuy.js} +1 -1
  83. package/components/{en-GB-B3xz84vF.cjs → en-GB-DCZl8CPc.cjs} +1 -1
  84. package/components/{en-CcLhGxIh.js → en-OJGeTneC.js} +1 -1
  85. package/components/{en-US-CcLhGxIh.js → en-US-OJGeTneC.js} +1 -1
  86. package/components/{en-US-B34alchz.cjs → en-US-hPjCnvK0.cjs} +1 -1
  87. package/components/{en-B34alchz.cjs → en-hPjCnvK0.cjs} +1 -1
  88. package/components/{es-CLnBAiLu.js → es-C-5Yqnck.js} +14 -9
  89. package/components/es-Czecz2xB.cjs +20 -0
  90. package/components/{evolution-number-options.config-CrIM2GTn.js → evolution-number-options.config-B1IomzV1.js} +1 -1
  91. package/components/{evolution-number-positioning.config-DXNPD29G.js → evolution-number-positioning.config-BQQrOKbD.js} +1 -1
  92. package/components/{evolution-number-positioning.config-DSoC35zp.cjs → evolution-number-positioning.config-BX1lWtDL.cjs} +1 -1
  93. package/components/{evolution-number-slots.config-Bq_JlxgK.js → evolution-number-slots.config-eOQDWZyb.js} +1 -1
  94. package/components/filters/index.cjs +1 -1
  95. package/components/filters/index.js +1 -1
  96. package/components/filters-Bzx4DYm-.cjs +323 -0
  97. package/components/filters-DSod7vIq.js +1637 -0
  98. package/components/formula/index.cjs +1 -1
  99. package/components/formula/index.js +1 -1
  100. package/components/formula-DcCDYDt4.cjs +45 -0
  101. package/components/{formula-CeDEKB7D.js → formula-TyfDRy5X.js} +15 -16
  102. package/components/{formula-codemirror-MygWCu2u.js → formula-codemirror-B6ktT1Dm.js} +21 -23
  103. package/components/{formula-codemirror-CFMYytMd.cjs → formula-codemirror-Bewi7Xgc.cjs} +53 -53
  104. package/components/formula-display-store-DxjO7Q-n.cjs +20 -0
  105. package/components/{formula-display-store-BYa910x_.js → formula-display-store-ycPV0gru.js} +279 -246
  106. package/components/formula-editor/index.cjs +1 -1
  107. package/components/formula-editor/index.d.ts +0 -1
  108. package/components/formula-editor/index.js +3 -4
  109. package/components/formula-editor-DQp_XiX5.cjs +247 -0
  110. package/components/{formula-editor-DeYzzLDr.js → formula-editor-HkD4KWnN.js} +349 -144
  111. package/components/{fr-DIwbOnwC.js → fr-BvgQLvx5.js} +14 -9
  112. package/components/fr-CQyhQN6j.cjs +20 -0
  113. package/components/{funnel-chart-options.config-k0X4rkj-.js → funnel-chart-options.config-DAv3185m.js} +1 -1
  114. package/components/{funnel-chart-positioning.config-CWSM8nTo.js → funnel-chart-positioning.config-9blBdgB7.js} +1 -1
  115. package/components/{funnel-chart-positioning.config-BcsV1xp7.cjs → funnel-chart-positioning.config-iHk--8l3.cjs} +1 -1
  116. package/components/{funnel-chart-slots.config-DKhaZf_r.js → funnel-chart-slots.config-BsNj6Mbb.js} +1 -1
  117. package/components/{get-css-variable-rHTFFWYM.cjs → get-css-variable-B1BZoBcs.cjs} +1 -1
  118. package/components/{get-css-variable-Bpma6ZOo.js → get-css-variable-COcan5CX.js} +1 -1
  119. package/components/{heat-map-options.config-_xxAm6iG.js → heat-map-options.config-Ckw8voNV.js} +1 -1
  120. package/components/{heat-map-positioning.config-C0dkG5_9.cjs → heat-map-positioning.config-CqkTB8nU.cjs} +1 -1
  121. package/components/{heat-map-positioning.config-DQJP4mTG.js → heat-map-positioning.config-DgrZWNiT.js} +1 -1
  122. package/components/{heat-map-slots.config-BDfEGgq5.js → heat-map-slots.config-BFK5TF9k.js} +1 -1
  123. package/components/{heat-table-options.config-DxRbWqJ8.js → heat-table-options.config-PpOf4o94.js} +1 -1
  124. package/components/{heat-table-positioning.config-WUHNZPT-.js → heat-table-positioning.config-BqsqkftW.js} +1 -1
  125. package/components/{heat-table-positioning.config-BzSpf7ed.cjs → heat-table-positioning.config-Ca-WBNR-.cjs} +1 -1
  126. package/components/{heat-table-slots.config-CVh1TEJJ.js → heat-table-slots.config-3q2hG4nF.js} +1 -1
  127. package/components/{hexbin-map-options.config-CmAmK-jM.js → hexbin-map-options.config-D88DHYrl.js} +1 -1
  128. package/components/{hexbin-map-positioning.config-CJPhgdt2.js → hexbin-map-positioning.config-gkLfwTS6.js} +1 -1
  129. package/components/{marker-map-positioning.config-B-HitobG.cjs → hexbin-map-positioning.config-sUIrPJP4.cjs} +1 -1
  130. package/components/{hexbin-map-slots.config-rxPZ4kwL.js → hexbin-map-slots.config-BfbHCCUe.js} +1 -1
  131. package/components/{image-options.config-DJ2DEf7g.js → image-options.config-ByIPpr29.js} +1 -1
  132. package/components/{image-slots.config-bDNDmiWy.js → image-slots.config-B4MFjNWt.js} +1 -1
  133. package/components/index.cjs +749 -1
  134. package/components/index.js +5577 -64
  135. package/components/item-grid/index.cjs +1 -1
  136. package/components/item-grid/index.js +1 -1
  137. package/components/{item-grid-CO_cqGqJ.js → item-grid-B59uyBDP.js} +5 -6
  138. package/components/{item-grid-CRAoMdCq.cjs → item-grid-C6nEE4Uj.cjs} +22 -22
  139. package/components/item-option/index.cjs +1 -1
  140. package/components/item-option/index.js +1 -1
  141. package/components/item-option-C4c-e1QF.cjs +252 -0
  142. package/components/item-option-action-button-group/index.cjs +1 -1
  143. package/components/item-option-action-button-group/index.js +1 -1
  144. package/components/{item-option-action-button-group-VpgTKSIV.js → item-option-action-button-group-BEXRueVH.js} +3 -3
  145. package/components/item-option-action-button-group-BU1wvtEd.cjs +53 -0
  146. package/components/item-option-base-DATaPQ-m.cjs +56 -0
  147. package/components/{item-option-base-VV7gyznL.js → item-option-base-DqDKIqRP.js} +2 -2
  148. package/components/item-option-color-palette-picker/index.cjs +1 -1
  149. package/components/item-option-color-palette-picker/index.js +1 -1
  150. package/components/item-option-color-palette-picker-Cc2nTuxC.cjs +40 -0
  151. package/components/{item-option-color-palette-picker-CQgG_NPQ.js → item-option-color-palette-picker-dk5Nm1XB.js} +2 -2
  152. package/components/item-option-color-picker/index.cjs +1 -1
  153. package/components/item-option-color-picker/index.js +1 -1
  154. package/components/{item-option-color-picker-DeDwpICb.cjs → item-option-color-picker-Czr_ojzh.cjs} +2 -2
  155. package/components/{item-option-color-picker-BmQBTQzb.js → item-option-color-picker-oG-wrEZh.js} +2 -2
  156. package/components/item-option-color-range/index.cjs +1 -1
  157. package/components/item-option-color-range/index.js +1 -1
  158. package/components/item-option-color-range-CTnHZ72E.cjs +98 -0
  159. package/components/{item-option-color-range-D2kHXssY.js → item-option-color-range-RbnPnI3s.js} +3 -3
  160. package/components/item-option-multi-language-field/index.cjs +1 -1
  161. package/components/item-option-multi-language-field/index.js +1 -1
  162. package/components/{item-option-multi-language-field-Cc9ph205.cjs → item-option-multi-language-field-BpyuIPcO.cjs} +2 -2
  163. package/components/{item-option-multi-language-field-DbqcqhhN.js → item-option-multi-language-field-BqhBRIFH.js} +2 -2
  164. package/components/item-option-number-field/index.cjs +1 -1
  165. package/components/item-option-number-field/index.js +1 -1
  166. package/components/{item-option-number-field-BbCVJeXZ.js → item-option-number-field-BDPEAzdF.js} +2 -2
  167. package/components/{item-option-number-field-B6GFKuLN.cjs → item-option-number-field-CV2xpQrk.cjs} +2 -2
  168. package/components/item-option-panel/index.cjs +1 -1
  169. package/components/item-option-panel/index.js +1 -1
  170. package/components/{item-option-panel-6UFGCcnF.cjs → item-option-panel-CMrjUb2s.cjs} +2 -2
  171. package/components/{item-option-panel-CrNZ0xIF.js → item-option-panel-XhTxaBZp.js} +3 -3
  172. package/components/item-option-picker/index.cjs +1 -1
  173. package/components/item-option-picker/index.js +1 -1
  174. package/components/{item-option-picker-DJKTAG9w.cjs → item-option-picker-CvEfEy99.cjs} +2 -2
  175. package/components/{item-option-picker-YquXTQNY.js → item-option-picker-D_Od3am8.js} +2 -2
  176. package/components/item-option-position-picker/index.cjs +1 -1
  177. package/components/item-option-position-picker/index.js +1 -1
  178. package/components/{item-option-position-picker-DKvsF-VQ.js → item-option-position-picker-BKw29tj-.js} +2 -2
  179. package/components/item-option-position-picker-DBs4JlFi.cjs +32 -0
  180. package/components/item-option-positions-number-field/index.cjs +1 -1
  181. package/components/item-option-positions-number-field/index.js +1 -1
  182. package/components/item-option-positions-number-field-DIIEFHd4.cjs +49 -0
  183. package/components/{item-option-positions-number-field-Bxcbu_IR.js → item-option-positions-number-field-lrJdfydy.js} +2 -2
  184. package/components/item-option-radio-button-group/index.cjs +1 -1
  185. package/components/item-option-radio-button-group/index.js +1 -1
  186. package/components/{item-option-radio-button-group-Cw-xUSUS.js → item-option-radio-button-group-DTyHPaz_.js} +2 -2
  187. package/components/{item-option-radio-button-group-Bzh4RtSn.cjs → item-option-radio-button-group-DrjpL6YU.cjs} +2 -2
  188. package/components/item-option-slider/index.cjs +1 -1
  189. package/components/item-option-slider/index.js +1 -1
  190. package/components/{item-option-slider-DUqo3Fw0.cjs → item-option-slider-BwKBgW0y.cjs} +2 -2
  191. package/components/{item-option-slider-BwQnaxvO.js → item-option-slider-CIDoZhZl.js} +2 -2
  192. package/components/item-option-switch/index.cjs +1 -1
  193. package/components/item-option-switch/index.js +1 -1
  194. package/components/{item-option-switch-DBsakQjy.cjs → item-option-switch-CQtvbTfI.cjs} +2 -2
  195. package/components/{item-option-switch-IixoilYJ.js → item-option-switch-DxC1yjeN.js} +2 -2
  196. package/components/item-option-text-field/index.cjs +1 -1
  197. package/components/item-option-text-field/index.js +1 -1
  198. package/components/{item-option-text-field-CdWylobQ.js → item-option-text-field-CZtJ1yIj.js} +2 -2
  199. package/components/{item-option-text-field-B4V_sKnM.cjs → item-option-text-field-pLQzcE25.cjs} +2 -2
  200. package/components/{item-option-Bc6qXONK.js → item-option-zz-Rqh6o.js} +47 -47
  201. package/components/item-options-configs.js +45 -45
  202. package/components/item-slot-drop/index.cjs +1 -1
  203. package/components/item-slot-drop/index.d.ts +0 -2
  204. package/components/item-slot-drop/index.js +1 -1
  205. package/components/item-slot-drop/item-slot-drop.d.ts +1 -0
  206. package/components/{item-slot-drop-BmvMi3dI.js → item-slot-drop-SqYpfTGj.js} +67 -65
  207. package/components/item-slot-drop-UygcXM5D.cjs +91 -0
  208. package/components/item-slot-drop-panel/index.cjs +1 -1
  209. package/components/item-slot-drop-panel/index.js +1 -1
  210. package/components/item-slot-drop-panel-9T8BWejl.cjs +57 -0
  211. package/components/{item-slot-drop-panel-D5vaJidp.js → item-slot-drop-panel-DoWCzjqb.js} +40 -41
  212. package/components/item-slot-picker/index.cjs +1 -1
  213. package/components/item-slot-picker/index.js +1 -1
  214. package/components/item-slot-picker/item-slot-picker.d.ts +3 -0
  215. package/components/{item-slot-picker-BZV33YoP.js → item-slot-picker-CadZEvOA.js} +138 -112
  216. package/components/item-slot-picker-Rnb_wwCV.cjs +174 -0
  217. package/components/item-slot-picker-panel/index.cjs +1 -1
  218. package/components/item-slot-picker-panel/index.js +1 -1
  219. package/components/item-slot-picker-panel-2VJY6C0b.cjs +81 -0
  220. package/components/{item-slot-picker-panel-DyhRlAKN.js → item-slot-picker-panel-Bhr6d6Ya.js} +4 -5
  221. package/components/item-slots-configs.js +45 -45
  222. package/components/{line-chart-options.config-CfHRdG6O.js → line-chart-options.config-DMjvCs-4.js} +1 -1
  223. package/components/{line-chart-positioning.config-pSGQm1C1.cjs → line-chart-positioning.config-BIkHxiyg.cjs} +1 -1
  224. package/components/{line-chart-positioning.config-Cfcgse1N.js → line-chart-positioning.config-CdnYQBah.js} +1 -1
  225. package/components/{line-chart-slots.config-DKy4D4Yt.js → line-chart-slots.config-CrQEwa4W.js} +1 -1
  226. package/components/load-data-fields-for-datasets-CU75T9Az.js +86 -0
  227. package/components/load-data-fields-for-datasets-DkK1JsFd.cjs +20 -0
  228. package/components/{decorate-CaYbmmmm.js → localized-mixin-CBMYHOPv.js} +26 -2
  229. package/components/{ai-chat/index.cjs → localized-mixin-DAOiXh71.cjs} +1 -1
  230. package/components/{marker-map-options.config-C_aGdRQQ.js → marker-map-options.config-C52a3boH.js} +1 -1
  231. package/components/{marker-map-positioning.config-DTCPGbnG.js → marker-map-positioning.config-BSz4P-W9.js} +1 -1
  232. package/components/{hexbin-map-positioning.config-Cno9WIc9.cjs → marker-map-positioning.config-t66fioVz.cjs} +1 -1
  233. package/components/{marker-map-slots.config-BKRRAGwB.js → marker-map-slots.config-eJAxjIaQ.js} +1 -1
  234. package/components/nl-BwK5iXtO.cjs +20 -0
  235. package/components/{nl-C_g1Le3t.js → nl-D-Wa6DnD.js} +14 -9
  236. package/components/{ohlc-chart-options.config-Bd-vLN0I.js → ohlc-chart-options.config-38qB2VKc.js} +1 -1
  237. package/components/{ohlc-chart-positioning.config-NhpIR1T3.cjs → ohlc-chart-positioning.config-BGueS7CJ.cjs} +1 -1
  238. package/components/{ohlc-chart-positioning.config-D0kJJkXw.js → ohlc-chart-positioning.config-tQPPutWX.js} +1 -1
  239. package/components/{ohlc-chart-slots.config-DC8NCD0o.js → ohlc-chart-slots.config-SOs4oD-Q.js} +1 -1
  240. package/components/{parallel-coordinates-plot-options.config-BUo6XxfP.js → parallel-coordinates-plot-options.config-DfZ80jLX.js} +1 -1
  241. package/components/{parallel-coordinates-plot-positioning.config-Dzd0eaka.js → parallel-coordinates-plot-positioning.config-MkX-qYHX.js} +1 -1
  242. package/components/{parallel-coordinates-plot-positioning.config-DLF0U4lZ.cjs → parallel-coordinates-plot-positioning.config-NrJ2LNM8.cjs} +1 -1
  243. package/components/{parallel-coordinates-plot-slots.config-Dy-9mztD.js → parallel-coordinates-plot-slots.config-DgsHiCqT.js} +1 -1
  244. package/components/{formatter-Cq5dFCyU.js → period-over-period-condition.const-DLA60ptm.js} +235 -44
  245. package/components/period-over-period-condition.const-DystGY6B.cjs +20 -0
  246. package/components/{pivot-table-options.config-DrzB4qVX.js → pivot-table-options.config-5udtucDD.js} +1 -1
  247. package/components/{pivot-table-positioning.config-BvUjUkG3.cjs → pivot-table-positioning.config-DgJ5PPB9.cjs} +1 -1
  248. package/components/{pivot-table-positioning.config-PKXfqjiN.js → pivot-table-positioning.config-Dr_0v4TM.js} +1 -1
  249. package/components/{pivot-table-slots.config-OQe8tS40.js → pivot-table-slots.config-CRL6EW5R.js} +1 -1
  250. package/components/{pragmatic-element-adapter-CKhTZWGj.cjs → pragmatic-element-adapter-U3ppsQDe.cjs} +3 -3
  251. package/components/{pragmatic-element-adapter-BFUFSRw6.js → pragmatic-element-adapter-e5LbH_lv.js} +50 -50
  252. package/components/{pyramid-chart-options.config-Dux8839h.js → pyramid-chart-options.config-iP2MzTeb.js} +1 -1
  253. package/components/{pyramid-chart-positioning.config-48iZhPdi.cjs → pyramid-chart-positioning.config-BGRtXKWh.cjs} +1 -1
  254. package/components/{pyramid-chart-positioning.config-C8yiD0R3.js → pyramid-chart-positioning.config-DB0BI8vW.js} +1 -1
  255. package/components/{pyramid-chart-slots.config-DwlZaBAF.js → pyramid-chart-slots.config-DM3lYlDg.js} +1 -1
  256. package/components/{radar-chart-options.config-ColtKo6Z.js → radar-chart-options.config-aR5sQal-.js} +1 -1
  257. package/components/{radar-chart-positioning.config-L5Eu5W1I.js → radar-chart-positioning.config-D6UfRMMA.js} +1 -1
  258. package/components/{radar-chart-positioning.config-CpqhJjoz.cjs → radar-chart-positioning.config-DQiJ-Z1s.cjs} +1 -1
  259. package/components/{radar-chart-slots.config-BuHg4Zeg.js → radar-chart-slots.config-msW05r4n.js} +1 -1
  260. package/components/{regular-table-options.config-DopdB4eB.js → regular-table-options.config-kbARlJ1E.js} +1 -1
  261. package/components/{regular-table-slots.config--SVEN5Cu.js → regular-table-slots.config-DAwLOM5T.js} +1 -1
  262. package/components/{route-map-options.config-BCuJw5k3.js → route-map-options.config-DCBAfq09.js} +1 -1
  263. package/components/{route-map-positioning.config-DTwMkeiu.cjs → route-map-positioning.config-Cbic0Cbz.cjs} +1 -1
  264. package/components/{route-map-positioning.config-DVb_Jiws.js → route-map-positioning.config-D_ZoyhwX.js} +1 -1
  265. package/components/{route-map-slots.config-CmVIxDkx.js → route-map-slots.config-DNiRtoRC.js} +1 -1
  266. package/components/{sankey-diagram-options.config-BH3kpjFs.js → sankey-diagram-options.config-CKjVnYnF.js} +1 -1
  267. package/components/{sankey-diagram-positioning.config-Dk0siSAo.js → sankey-diagram-positioning.config-CQNdImz0.js} +1 -1
  268. package/components/{sankey-diagram-positioning.config-_kyrBnJ4.cjs → sankey-diagram-positioning.config-CZDPh7CR.cjs} +1 -1
  269. package/components/{sankey-diagram-slots.config-lbkF8DWJ.js → sankey-diagram-slots.config-CVD2P6RJ.js} +1 -1
  270. package/components/{scatter-plot-options.config-Dn6ILlJw.js → scatter-plot-options.config--AfAxaGf.js} +1 -1
  271. package/components/{scatter-plot-positioning.config-DaYstFV8.cjs → scatter-plot-positioning.config-BPEymo3a.cjs} +1 -1
  272. package/components/{scatter-plot-positioning.config-440yA7x5.js → scatter-plot-positioning.config-BTOiZ8cF.js} +1 -1
  273. package/components/{scatter-plot-slots.config-DEFWWj0_.js → scatter-plot-slots.config-D57rd66g.js} +1 -1
  274. package/components/{search-filter-options.config-DWKVxBc5.js → search-filter-options.config-DQwMOiXm.js} +1 -1
  275. package/components/{search-filter-slots.config-vyPYIXE7.js → search-filter-slots.config-DQybwP4H.js} +1 -1
  276. package/components/{set-locale-DKCZkJVL.cjs → set-locale-BCnD4yp_.cjs} +1 -1
  277. package/components/{set-locale-DB1FMgtK.js → set-locale-CamOWu7o.js} +4 -4
  278. package/components/{slicer-filter-options.config-C6HPrjIw.js → slicer-filter-options.config-DVE33GEz.js} +1 -1
  279. package/components/{slicer-filter-positioning.config-B6wPo539.js → slicer-filter-positioning.config-CC7uoU2D.js} +1 -1
  280. package/components/{slicer-filter-positioning.config-DdfTuXdV.cjs → slicer-filter-positioning.config-CQE4ocpD.cjs} +1 -1
  281. package/components/{slicer-filter-slots.config-BZWCSkX4.js → slicer-filter-slots.config-Bcz9RsdR.js} +1 -1
  282. package/components/{slider-filter-options.config-CvqHWJIX.js → slider-filter-options.config-BwaAvOvt.js} +1 -1
  283. package/components/{slider-filter-slots.config-BY9X2rlz.js → slider-filter-slots.config-Bc8Qk7fb.js} +1 -1
  284. package/components/slot-menu-BL772rj7.js +1048 -0
  285. package/components/slot-menu-CCbZ-krJ.cjs +215 -0
  286. package/components/{speedometer-chart-options.config-wX3KzciD.js → speedometer-chart-options.config-D4-8n5pn.js} +1 -1
  287. package/components/{speedometer-chart-positioning.config-rI2Jxymu.js → speedometer-chart-positioning.config-ChH-uAdS.js} +1 -1
  288. package/components/{speedometer-chart-positioning.config-BVYrl1_s.cjs → speedometer-chart-positioning.config-DpBVarun.cjs} +1 -1
  289. package/components/{speedometer-chart-slots.config-0Tv8EtKT.js → speedometer-chart-slots.config-B4zqf0f_.js} +1 -1
  290. package/components/{spike-map-options.config-DpgsB_L-.js → spike-map-options.config-CM46vw7B.js} +1 -1
  291. package/components/{spike-map-positioning.config-CiY2ju4c.js → spike-map-positioning.config-BnEQJ-rD.js} +1 -1
  292. package/components/{spike-map-positioning.config-2XZLrk9D.cjs → spike-map-positioning.config-DrSoa8Ol.cjs} +1 -1
  293. package/components/{spike-map-slots.config-C6e0NXiD.js → spike-map-slots.config-BeXzuzh0.js} +1 -1
  294. package/components/{strip-plot-options.config-BzhxzU-s.js → strip-plot-options.config-BlneYJOy.js} +1 -1
  295. package/components/{strip-plot-positioning.config-CFQPdgei.js → strip-plot-positioning.config-Be5Desz2.js} +1 -1
  296. package/components/{strip-plot-positioning.config-CkC8JUwR.cjs → strip-plot-positioning.config-DlkZ1i6m.cjs} +1 -1
  297. package/components/{strip-plot-slots.config-BjwAuVoh.js → strip-plot-slots.config-BGQIQtMK.js} +1 -1
  298. package/components/{sunburst-chart-options.config-Ba_H54ip.js → sunburst-chart-options.config-8xopRyBB.js} +1 -1
  299. package/components/{sunburst-chart-positioning.config-DVt84HYB.cjs → sunburst-chart-positioning.config-D4zzci9s.cjs} +1 -1
  300. package/components/{sunburst-chart-positioning.config-BHJf7n-T.js → sunburst-chart-positioning.config-RUEkAgKJ.js} +1 -1
  301. package/components/{sunburst-chart-slots.config-h114Cuzh.js → sunburst-chart-slots.config-BhKeTqTo.js} +1 -1
  302. package/components/{symbol-map-options.config-DeJyZILi.js → symbol-map-options.config-nJAvVQIh.js} +1 -1
  303. package/components/{symbol-map-positioning.config-DQK1q4GP.cjs → symbol-map-positioning.config-Dmgmyhv7.cjs} +1 -1
  304. package/components/{symbol-map-positioning.config-tZp8vwwl.js → symbol-map-positioning.config-JzgtULMk.js} +1 -1
  305. package/components/{symbol-map-slots.config-BmvI5_VE.js → symbol-map-slots.config-D9E-oBE4.js} +1 -1
  306. package/components/{text-options.config-BXuZMKTG.js → text-options.config-DCF3IVzO.js} +1 -1
  307. package/components/{text-slots.config-18Chz73A.js → text-slots.config-C60nJ0OX.js} +1 -1
  308. package/components/{treemap-chart-options.config-Be-LBEGy.js → treemap-chart-options.config-RFQTphEG.js} +1 -1
  309. package/components/{treemap-chart-positioning.config-CEYAh7Uc.js → treemap-chart-positioning.config-CSt_vVgw.js} +1 -1
  310. package/components/{treemap-chart-positioning.config-DQfHJ-ZS.cjs → treemap-chart-positioning.config-CqHJxz2j.cjs} +1 -1
  311. package/components/{treemap-chart-slots.config-e7ORieH-.js → treemap-chart-slots.config-CZRP7PZH.js} +1 -1
  312. package/components/utils/base.cjs +1 -1
  313. package/components/utils/base.js +2 -2
  314. package/components/utils/store.js +1 -1
  315. package/components/utils-DLTDAer5.js +239 -0
  316. package/components/utils-Ez3j4EOS.cjs +20 -0
  317. package/components/utils.cjs +1 -1
  318. package/components/utils.js +6 -9
  319. package/components/{venn-diagram-options.config-D3bEFsYa.js → venn-diagram-options.config-uCJ5dei5.js} +1 -1
  320. package/components/{venn-diagram-positioning.config-DQa6-GAn.cjs → venn-diagram-positioning.config-CzhNTma3.cjs} +1 -1
  321. package/components/{venn-diagram-positioning.config-2rUFGTJh.js → venn-diagram-positioning.config-DsPI8qfG.js} +1 -1
  322. package/components/{venn-diagram-slots.config-Dm-IC6JS.js → venn-diagram-slots.config-DOljH_uI.js} +1 -1
  323. package/components/{video-options.config-B5aOwGa4.js → video-options.config-DkLrX1gP.js} +1 -1
  324. package/components/{video-slots.config-D2MtpAGI.js → video-slots.config-CqMIkttE.js} +1 -1
  325. package/components/{wordcloud-chart-options.config-DntH4Hvg.js → wordcloud-chart-options.config-C2ZILp7a.js} +1 -1
  326. package/components/{wordcloud-chart-positioning.config-C3Zulr2Q.js → wordcloud-chart-positioning.config-BUE8e4fN.js} +1 -1
  327. package/components/{wordcloud-chart-positioning.config-DhoAsQP-.cjs → wordcloud-chart-positioning.config-moNJfL1M.cjs} +1 -1
  328. package/components/{wordcloud-chart-slots.config-CsFBBXDz.js → wordcloud-chart-slots.config-B8s8B47F.js} +1 -1
  329. package/custom-elements.json +5896 -15935
  330. package/index.d.ts +0 -24
  331. package/package.json +3 -128
  332. package/react/README.md +6 -31
  333. package/react/esm/index.d.ts +2 -27
  334. package/react/esm/index.js +2 -102
  335. package/react/esm/types.d.ts +0 -15
  336. package/react/index.ts +2 -102
  337. package/react/luzmo-stub.d.ts +0 -163
  338. package/react/types.ts +0 -12
  339. package/react/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
  340. package/react/utils/slot-content/render-calculation-label.d.ts +7 -0
  341. package/react/utils/slot-state/slot-store.d.ts +2 -2
  342. package/types/slot.types.d.ts +10 -1
  343. package/types.d.ts +0 -8
  344. package/utils/slot-content/ad-hoc-slot-content.d.ts +7 -0
  345. package/utils/slot-content/render-calculation-label.d.ts +7 -0
  346. package/utils/slot-state/slot-store.d.ts +2 -2
  347. package/components/ai-chat/ai-chat-events.d.ts +0 -123
  348. package/components/ai-chat/ai-chat-request.d.ts +0 -11
  349. package/components/ai-chat/ai-chat.d.ts +0 -279
  350. package/components/ai-chat/ai-prompt-types.d.ts +0 -94
  351. package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +0 -46
  352. package/components/ai-chat/empty-state/index.d.ts +0 -8
  353. package/components/ai-chat/empty-state/types.d.ts +0 -14
  354. package/components/ai-chat/index.d.ts +0 -20
  355. package/components/ai-chat/index.js +0 -28
  356. package/components/ai-chat/session/ai-chat-session-controller.d.ts +0 -51
  357. package/components/ai-chat/session/ai-chat-session-types.d.ts +0 -88
  358. package/components/ai-chat/session/ai-chat-session.d.ts +0 -91
  359. package/components/ai-chat/session/index.d.ts +0 -2
  360. package/components/ai-chat/stream/chunk-extractors.d.ts +0 -27
  361. package/components/ai-chat/stream/index.d.ts +0 -52
  362. package/components/ai-chat/stream/progress.d.ts +0 -3
  363. package/components/ai-chat/stream/registry.d.ts +0 -6
  364. package/components/ai-chat/stream/stream-processor.d.ts +0 -2
  365. package/components/ai-chat/stream/transport.d.ts +0 -26
  366. package/components/ai-chat/stream/types.d.ts +0 -55
  367. package/components/ai-chat-CXt4wCe0.js +0 -3715
  368. package/components/ai-chat-Dnf-C838.cjs +0 -258
  369. package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +0 -135
  370. package/components/ai-interaction-textarea/index.cjs +0 -20
  371. package/components/ai-interaction-textarea/index.d.ts +0 -8
  372. package/components/ai-interaction-textarea/index.js +0 -28
  373. package/components/ai-interaction-textarea/types.d.ts +0 -5
  374. package/components/ai-interaction-textarea-B_-aZ9mc.cjs +0 -68
  375. package/components/ai-interaction-textarea-DSrZkuh9.js +0 -299
  376. package/components/base-BCmPH4SF.cjs +0 -20
  377. package/components/convert-data-field-to-slot-content-BQkSy_8B.cjs +0 -20
  378. package/components/convert-data-field-to-slot-content-C6IIqU7G.js +0 -53
  379. package/components/convert-datasets-to-data-fields-B13rl1an.cjs +0 -20
  380. package/components/convert-datasets-to-data-fields-PmQzeVLG.js +0 -68
  381. package/components/data-field-CxUItUcs.cjs +0 -54
  382. package/components/data-field-RzkD37hR.js +0 -121
  383. package/components/data-field-level/data-field-level.d.ts +0 -40
  384. package/components/data-field-level/helpers/generate-preview.d.ts +0 -9
  385. package/components/data-field-level/index.cjs +0 -20
  386. package/components/data-field-level/index.d.ts +0 -8
  387. package/components/data-field-level/index.js +0 -28
  388. package/components/data-field-level-55bJkqFt.cjs +0 -55
  389. package/components/data-field-panel-C3O77CIF.cjs +0 -87
  390. package/components/data-fields-select/data-fields-select.d.ts +0 -127
  391. package/components/data-fields-select/index.cjs +0 -20
  392. package/components/data-fields-select/index.d.ts +0 -9
  393. package/components/data-fields-select/index.js +0 -28
  394. package/components/data-fields-select/types.d.ts +0 -4
  395. package/components/data-fields-select-D-nSjOep.cjs +0 -41
  396. package/components/dataset-icon/dataset-icon.d.ts +0 -45
  397. package/components/dataset-icon/index.cjs +0 -20
  398. package/components/dataset-icon/index.d.ts +0 -8
  399. package/components/dataset-icon/index.js +0 -28
  400. package/components/dataset-icon/types.d.ts +0 -11
  401. package/components/dataset-icon-BAV0S4sZ.cjs +0 -64
  402. package/components/dataset-icon-BXEgg_8O.js +0 -125
  403. package/components/dataset-selector-list/dataset-selector-list.d.ts +0 -102
  404. package/components/dataset-selector-list/index.cjs +0 -20
  405. package/components/dataset-selector-list/index.d.ts +0 -8
  406. package/components/dataset-selector-list/index.js +0 -28
  407. package/components/dataset-selector-list-BW5v_7_L.cjs +0 -75
  408. package/components/dataset-selector-list-DwfeaUGu.js +0 -313
  409. package/components/dataset-selector-row/dataset-selector-row.d.ts +0 -89
  410. package/components/dataset-selector-row/index.cjs +0 -20
  411. package/components/dataset-selector-row/index.d.ts +0 -8
  412. package/components/dataset-selector-row/index.js +0 -28
  413. package/components/dataset-selector-row-BU7YhT7l.cjs +0 -79
  414. package/components/dataset-selector-row-CLbx0joD.js +0 -273
  415. package/components/de-BY1wWZE8.cjs +0 -20
  416. package/components/decompose-numeric-format-DGJua3rU.cjs +0 -20
  417. package/components/decompose-numeric-format-DS0j2wa1.js +0 -36
  418. package/components/decorate-DCJt-2rt.cjs +0 -20
  419. package/components/display-settings/display-settings.d.ts +0 -98
  420. package/components/display-settings/index.cjs +0 -20
  421. package/components/display-settings/index.d.ts +0 -8
  422. package/components/display-settings/index.js +0 -28
  423. package/components/display-settings/types.d.ts +0 -9
  424. package/components/display-settings-COYLimuI.cjs +0 -120
  425. package/components/display-settings-ajA8j6kr.js +0 -272
  426. package/components/display-settings-binning/display-settings-binning.d.ts +0 -32
  427. package/components/display-settings-binning/index.cjs +0 -20
  428. package/components/display-settings-binning/index.d.ts +0 -8
  429. package/components/display-settings-binning/index.js +0 -28
  430. package/components/display-settings-datetime/display-settings-datetime.d.ts +0 -86
  431. package/components/display-settings-datetime/index.cjs +0 -20
  432. package/components/display-settings-datetime/index.d.ts +0 -8
  433. package/components/display-settings-datetime/index.js +0 -28
  434. package/components/display-settings-datetime-CLRXVpld.cjs +0 -217
  435. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -29
  436. package/components/display-settings-grand-totals/index.cjs +0 -20
  437. package/components/display-settings-grand-totals/index.d.ts +0 -8
  438. package/components/display-settings-grand-totals/index.js +0 -28
  439. package/components/display-settings-grand-totals-DltI_Z-x.cjs +0 -44
  440. package/components/display-settings-numeric/display-settings-numeric.d.ts +0 -82
  441. package/components/display-settings-numeric/helpers/constants.d.ts +0 -19
  442. package/components/display-settings-numeric/index.cjs +0 -20
  443. package/components/display-settings-numeric/index.d.ts +0 -8
  444. package/components/display-settings-numeric/index.js +0 -28
  445. package/components/display-settings-numeric-CurqaTi5.cjs +0 -190
  446. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +0 -68
  447. package/components/display-settings-period-over-period/helpers/constants.d.ts +0 -44
  448. package/components/display-settings-period-over-period/index.cjs +0 -20
  449. package/components/display-settings-period-over-period/index.d.ts +0 -8
  450. package/components/display-settings-period-over-period/index.js +0 -28
  451. package/components/display-settings-period-over-period-DP2grX4n.cjs +0 -229
  452. package/components/es-BIaD4kOL.cjs +0 -20
  453. package/components/filter-expression-picker/filter-expression-picker.d.ts +0 -73
  454. package/components/filter-expression-picker/index.cjs +0 -20
  455. package/components/filter-expression-picker/index.d.ts +0 -7
  456. package/components/filter-expression-picker/index.js +0 -28
  457. package/components/filter-expression-picker-0eNf_L9I.cjs +0 -38
  458. package/components/filter-expression-picker-D_buTmzJ.js +0 -425
  459. package/components/filter-item/filter-item.d.ts +0 -84
  460. package/components/filter-item/index.cjs +0 -20
  461. package/components/filter-item/index.d.ts +0 -7
  462. package/components/filter-item/index.js +0 -28
  463. package/components/filter-item-DGnRmeaB.cjs +0 -58
  464. package/components/filter-item-VzEHDr04.js +0 -242
  465. package/components/filter-parameter-picker/filter-parameter-picker.d.ts +0 -25
  466. package/components/filter-parameter-picker/index.cjs +0 -22
  467. package/components/filter-parameter-picker/index.d.ts +0 -7
  468. package/components/filter-parameter-picker/index.js +0 -58
  469. package/components/filter-value-picker/filter-value-picker.d.ts +0 -65
  470. package/components/filter-value-picker/index.cjs +0 -20
  471. package/components/filter-value-picker/index.d.ts +0 -7
  472. package/components/filter-value-picker/index.js +0 -28
  473. package/components/filter-value-picker-C1lDTmKM.cjs +0 -60
  474. package/components/filter-value-picker-CIblY-PW.js +0 -151
  475. package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +0 -42
  476. package/components/filter-value-picker-datetime/index.cjs +0 -20
  477. package/components/filter-value-picker-datetime/index.d.ts +0 -7
  478. package/components/filter-value-picker-datetime/index.js +0 -28
  479. package/components/filter-value-picker-datetime-DQpEf_tv.js +0 -139
  480. package/components/filter-value-picker-datetime-dCo1_pma.cjs +0 -42
  481. package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +0 -81
  482. package/components/filter-value-picker-hierarchy/index.cjs +0 -20
  483. package/components/filter-value-picker-hierarchy/index.d.ts +0 -7
  484. package/components/filter-value-picker-hierarchy/index.js +0 -28
  485. package/components/filter-value-picker-hierarchy-DaZlasgM.cjs +0 -47
  486. package/components/filter-value-picker-hierarchy-DzHUrpyk.js +0 -232
  487. package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +0 -82
  488. package/components/filter-value-picker-numeric/index.cjs +0 -20
  489. package/components/filter-value-picker-numeric/index.d.ts +0 -7
  490. package/components/filter-value-picker-numeric/index.js +0 -28
  491. package/components/filter-value-picker-numeric-BU975w8c.js +0 -219
  492. package/components/filter-value-picker-numeric-D-dUSGAP.cjs +0 -48
  493. package/components/filters-BgTnxSKg.js +0 -400
  494. package/components/filters-Cx1S1-vx.cjs +0 -150
  495. package/components/formatter-8m-wrIM-.cjs +0 -20
  496. package/components/formula-D7E8UieE.cjs +0 -45
  497. package/components/formula-codemirror/formula-codemirror.d.ts +0 -79
  498. package/components/formula-codemirror/index.d.ts +0 -7
  499. package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +0 -125
  500. package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +0 -7
  501. package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +0 -28
  502. package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +0 -7
  503. package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +0 -38
  504. package/components/formula-display-store-DjjsQ5mW.cjs +0 -20
  505. package/components/formula-draggable-field/formula-draggable-field.d.ts +0 -53
  506. package/components/formula-draggable-field/index.d.ts +0 -8
  507. package/components/formula-draggable-field/types.d.ts +0 -24
  508. package/components/formula-editor-4PoZ3BlC.cjs +0 -218
  509. package/components/formula-field/formula-field.d.ts +0 -20
  510. package/components/formula-field/index.cjs +0 -20
  511. package/components/formula-field/index.d.ts +0 -7
  512. package/components/formula-field/index.js +0 -28
  513. package/components/formula-field-DXdxspyY.js +0 -40
  514. package/components/formula-field-DkKXMIMg.cjs +0 -20
  515. package/components/formula-input-base-Bz_XVZcs.cjs +0 -49
  516. package/components/formula-input-base-Dok5ujvH.js +0 -236
  517. package/components/fr-CHG2Tcby.cjs +0 -20
  518. package/components/get-dataset-name-Dwuh7DWE.cjs +0 -20
  519. package/components/get-dataset-name-SfDNjsuR.js +0 -27
  520. package/components/groupings-BNrLlXIB.cjs +0 -20
  521. package/components/groupings-okwLJKoG.js +0 -52
  522. package/components/interactive-viz-item/helpers/chart-helpers.d.ts +0 -7
  523. package/components/interactive-viz-item/index.cjs +0 -20
  524. package/components/interactive-viz-item/index.d.ts +0 -10
  525. package/components/interactive-viz-item/index.js +0 -28
  526. package/components/interactive-viz-item/interactive-viz-item.d.ts +0 -96
  527. package/components/interactive-viz-item/types.d.ts +0 -117
  528. package/components/interactive-viz-item-63pap_oz.cjs +0 -247
  529. package/components/interactive-viz-item-QVji6wbp.js +0 -693
  530. package/components/item-menu/item-list/item-list.d.ts +0 -37
  531. package/components/item-option-action-button-group-jPUDKP3M.cjs +0 -53
  532. package/components/item-option-base/item-option-base.d.ts +0 -23
  533. package/components/item-option-base-Bk9L8Ie7.cjs +0 -56
  534. package/components/item-option-color-palette-picker-kch0Ep_5.cjs +0 -40
  535. package/components/item-option-color-range-Cj6sZ72F.cjs +0 -98
  536. package/components/item-option-iQM2pOGK.cjs +0 -252
  537. package/components/item-option-position-picker-Csc4Y6dN.cjs +0 -32
  538. package/components/item-option-positions-number-field-DBV6Yekk.cjs +0 -49
  539. package/components/item-slot-drop-D8KI2kny.cjs +0 -91
  540. package/components/item-slot-drop-panel-Crw-ktDj.cjs +0 -57
  541. package/components/item-slot-picker-BgQAviso.cjs +0 -158
  542. package/components/item-slot-picker-panel-C26kZ4zE.cjs +0 -81
  543. package/components/load-data-fields-for-datasets-BVGaku2J.cjs +0 -20
  544. package/components/load-data-fields-for-datasets-DeXLqWt4.js +0 -42
  545. package/components/localized-mixin-BYWQe1fg.js +0 -45
  546. package/components/localized-mixin-DrK3QZNa.cjs +0 -20
  547. package/components/nl-PxN5EqzT.cjs +0 -20
  548. package/components/period-over-period-condition.const-BZ7j5Z5t.js +0 -29
  549. package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +0 -20
  550. package/components/slot-menu/index.cjs +0 -20
  551. package/components/slot-menu/index.d.ts +0 -10
  552. package/components/slot-menu/index.js +0 -28
  553. package/components/slot-menu/slot-menu.d.ts +0 -143
  554. package/components/slot-menu/types.d.ts +0 -24
  555. package/components/slot-menu-BBnibMJU.cjs +0 -64
  556. package/components/slot-menu-list/index.cjs +0 -20
  557. package/components/slot-menu-list/index.d.ts +0 -8
  558. package/components/slot-menu-list/index.js +0 -28
  559. package/components/slot-menu-list/slot-menu-list.d.ts +0 -42
  560. package/components/slot-menu-list-D193fsQX.cjs +0 -38
  561. package/components/slot-menu-list-gKDiWsHB.js +0 -325
  562. package/components/slot-menu-w7sla2N0.js +0 -400
  563. package/components/slots-config-DIBoffEb.js +0 -77
  564. package/components/slots-config-YdyClHLc.cjs +0 -20
  565. package/components/utils-CJf8VNzX.cjs +0 -20
  566. package/components/utils-Ci1YA9yB.js +0 -352
  567. package/components/viz-item-menu/index.cjs +0 -20
  568. package/components/viz-item-menu/index.d.ts +0 -8
  569. package/components/viz-item-menu/index.js +0 -28
  570. package/components/viz-item-menu/types.d.ts +0 -9
  571. package/components/viz-item-menu/viz-item-menu.d.ts +0 -75
  572. package/components/viz-item-menu-B4BJBNEq.js +0 -170
  573. package/components/viz-item-menu-DD8ndROu.cjs +0 -55
  574. package/react/components/ai-chat/empty-state/index.ts +0 -1
  575. package/react/components/ai-chat/empty-state/types.ts +0 -16
  576. package/react/components/ai-chat/stream/index.ts +0 -1
  577. package/react/components/ai-chat/stream/types.ts +0 -60
  578. package/react/components/ai-chat.component.ts +0 -42
  579. package/react/components/ai-interaction-textarea/index.ts +0 -1
  580. package/react/components/ai-interaction-textarea/types.ts +0 -6
  581. package/react/components/ai-interaction-textarea.component.ts +0 -30
  582. package/react/components/data-field-level.component.ts +0 -30
  583. package/react/components/data-fields-select/index.ts +0 -1
  584. package/react/components/data-fields-select/types.ts +0 -5
  585. package/react/components/data-fields-select.component.ts +0 -27
  586. package/react/components/dataset-icon/index.ts +0 -1
  587. package/react/components/dataset-icon/types.ts +0 -8
  588. package/react/components/dataset-icon.component.ts +0 -22
  589. package/react/components/dataset-selector-list.component.ts +0 -27
  590. package/react/components/dataset-selector-row.component.ts +0 -30
  591. package/react/components/display-settings/index.ts +0 -1
  592. package/react/components/display-settings/types.ts +0 -12
  593. package/react/components/display-settings-binning.component.ts +0 -27
  594. package/react/components/display-settings-datetime.component.ts +0 -27
  595. package/react/components/display-settings-grand-totals.component.ts +0 -27
  596. package/react/components/display-settings-numeric.component.ts +0 -27
  597. package/react/components/display-settings-period-over-period.component.ts +0 -27
  598. package/react/components/display-settings.component.ts +0 -33
  599. package/react/components/filter-expression-picker.component.ts +0 -27
  600. package/react/components/filter-item.component.ts +0 -27
  601. package/react/components/filter-parameter-picker.component.ts +0 -22
  602. package/react/components/filter-value-picker-datetime.component.ts +0 -27
  603. package/react/components/filter-value-picker-hierarchy.component.ts +0 -27
  604. package/react/components/filter-value-picker-numeric.component.ts +0 -27
  605. package/react/components/filter-value-picker.component.ts +0 -27
  606. package/react/components/formula-draggable-field/index.ts +0 -1
  607. package/react/components/formula-draggable-field/types.ts +0 -26
  608. package/react/components/formula-field.component.ts +0 -30
  609. package/react/components/interactive-viz-item/index.ts +0 -1
  610. package/react/components/interactive-viz-item/types.ts +0 -122
  611. package/react/components/interactive-viz-item.component.ts +0 -33
  612. package/react/components/slot-menu/index.ts +0 -1
  613. package/react/components/slot-menu/types.ts +0 -29
  614. package/react/components/slot-menu-list.component.ts +0 -27
  615. package/react/components/slot-menu.component.ts +0 -42
  616. package/react/components/viz-item-menu/index.ts +0 -1
  617. package/react/components/viz-item-menu/types.ts +0 -11
  618. package/react/components/viz-item-menu.component.ts +0 -33
  619. package/react/esm/components/ai-chat/empty-state/index.d.ts +0 -1
  620. package/react/esm/components/ai-chat/empty-state/index.js +0 -1
  621. package/react/esm/components/ai-chat/empty-state/types.d.ts +0 -14
  622. package/react/esm/components/ai-chat/stream/index.d.ts +0 -1
  623. package/react/esm/components/ai-chat/stream/index.js +0 -1
  624. package/react/esm/components/ai-chat/stream/types.d.ts +0 -55
  625. package/react/esm/components/ai-chat.component.d.ts +0 -22
  626. package/react/esm/components/ai-chat.component.js +0 -27
  627. package/react/esm/components/ai-interaction-textarea/index.d.ts +0 -1
  628. package/react/esm/components/ai-interaction-textarea/index.js +0 -1
  629. package/react/esm/components/ai-interaction-textarea/types.d.ts +0 -5
  630. package/react/esm/components/ai-interaction-textarea.component.d.ts +0 -14
  631. package/react/esm/components/ai-interaction-textarea.component.js +0 -19
  632. package/react/esm/components/data-field-level.component.d.ts +0 -14
  633. package/react/esm/components/data-field-level.component.js +0 -19
  634. package/react/esm/components/data-fields-select/index.d.ts +0 -1
  635. package/react/esm/components/data-fields-select/index.js +0 -1
  636. package/react/esm/components/data-fields-select/types.d.ts +0 -4
  637. package/react/esm/components/data-fields-select.component.d.ts +0 -12
  638. package/react/esm/components/data-fields-select.component.js +0 -17
  639. package/react/esm/components/dataset-icon/index.d.ts +0 -1
  640. package/react/esm/components/dataset-icon/index.js +0 -1
  641. package/react/esm/components/dataset-icon/types.d.ts +0 -11
  642. package/react/esm/components/dataset-icon/types.js +0 -1
  643. package/react/esm/components/dataset-icon.component.d.ts +0 -8
  644. package/react/esm/components/dataset-icon.component.js +0 -13
  645. package/react/esm/components/dataset-selector-list.component.d.ts +0 -12
  646. package/react/esm/components/dataset-selector-list.component.js +0 -17
  647. package/react/esm/components/dataset-selector-row.component.d.ts +0 -14
  648. package/react/esm/components/dataset-selector-row.component.js +0 -19
  649. package/react/esm/components/display-settings/index.d.ts +0 -1
  650. package/react/esm/components/display-settings/index.js +0 -1
  651. package/react/esm/components/display-settings/types.d.ts +0 -9
  652. package/react/esm/components/display-settings/types.js +0 -1
  653. package/react/esm/components/display-settings-binning.component.d.ts +0 -12
  654. package/react/esm/components/display-settings-binning.component.js +0 -17
  655. package/react/esm/components/display-settings-datetime.component.d.ts +0 -12
  656. package/react/esm/components/display-settings-datetime.component.js +0 -17
  657. package/react/esm/components/display-settings-grand-totals.component.d.ts +0 -12
  658. package/react/esm/components/display-settings-grand-totals.component.js +0 -17
  659. package/react/esm/components/display-settings-numeric.component.d.ts +0 -12
  660. package/react/esm/components/display-settings-numeric.component.js +0 -17
  661. package/react/esm/components/display-settings-period-over-period.component.d.ts +0 -12
  662. package/react/esm/components/display-settings-period-over-period.component.js +0 -17
  663. package/react/esm/components/display-settings.component.d.ts +0 -16
  664. package/react/esm/components/display-settings.component.js +0 -21
  665. package/react/esm/components/filter-expression-picker.component.d.ts +0 -12
  666. package/react/esm/components/filter-expression-picker.component.js +0 -17
  667. package/react/esm/components/filter-item.component.d.ts +0 -12
  668. package/react/esm/components/filter-item.component.js +0 -17
  669. package/react/esm/components/filter-parameter-picker.component.d.ts +0 -8
  670. package/react/esm/components/filter-parameter-picker.component.js +0 -13
  671. package/react/esm/components/filter-value-picker-datetime.component.d.ts +0 -12
  672. package/react/esm/components/filter-value-picker-datetime.component.js +0 -17
  673. package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +0 -12
  674. package/react/esm/components/filter-value-picker-hierarchy.component.js +0 -17
  675. package/react/esm/components/filter-value-picker-numeric.component.d.ts +0 -12
  676. package/react/esm/components/filter-value-picker-numeric.component.js +0 -17
  677. package/react/esm/components/filter-value-picker.component.d.ts +0 -12
  678. package/react/esm/components/filter-value-picker.component.js +0 -17
  679. package/react/esm/components/formula-draggable-field/index.d.ts +0 -1
  680. package/react/esm/components/formula-draggable-field/index.js +0 -1
  681. package/react/esm/components/formula-draggable-field/types.d.ts +0 -24
  682. package/react/esm/components/formula-draggable-field/types.js +0 -1
  683. package/react/esm/components/formula-field.component.d.ts +0 -14
  684. package/react/esm/components/formula-field.component.js +0 -19
  685. package/react/esm/components/interactive-viz-item/index.d.ts +0 -1
  686. package/react/esm/components/interactive-viz-item/index.js +0 -1
  687. package/react/esm/components/interactive-viz-item/types.d.ts +0 -117
  688. package/react/esm/components/interactive-viz-item/types.js +0 -16
  689. package/react/esm/components/interactive-viz-item.component.d.ts +0 -16
  690. package/react/esm/components/interactive-viz-item.component.js +0 -21
  691. package/react/esm/components/slot-menu/index.d.ts +0 -1
  692. package/react/esm/components/slot-menu/index.js +0 -1
  693. package/react/esm/components/slot-menu/types.d.ts +0 -24
  694. package/react/esm/components/slot-menu/types.js +0 -1
  695. package/react/esm/components/slot-menu-list.component.d.ts +0 -12
  696. package/react/esm/components/slot-menu-list.component.js +0 -17
  697. package/react/esm/components/slot-menu.component.d.ts +0 -22
  698. package/react/esm/components/slot-menu.component.js +0 -27
  699. package/react/esm/components/viz-item-menu/index.d.ts +0 -1
  700. package/react/esm/components/viz-item-menu/index.js +0 -1
  701. package/react/esm/components/viz-item-menu/types.d.ts +0 -9
  702. package/react/esm/components/viz-item-menu/types.js +0 -1
  703. package/react/esm/components/viz-item-menu.component.d.ts +0 -16
  704. package/react/esm/components/viz-item-menu.component.js +0 -21
  705. package/storybook/inject-global-vars.d.ts +0 -1
  706. package/storybook/register-components.d.ts +0 -51
  707. package/types/ai-chat.types.d.ts +0 -63
  708. package/types/data-field-events.types.d.ts +0 -7
  709. /package/react/{esm/components/ai-chat/empty-state/types.js → utils/formula/config/tests/build-datasets.test.d.ts} +0 -0
  710. /package/react/{esm/components/ai-chat/stream/types.js → utils/slot-content/tests/ad-hoc-slot-content.test.d.ts} +0 -0
  711. /package/{react/esm/components/ai-interaction-textarea/types.js → utils/formula/config/tests/build-datasets.test.d.ts} +0 -0
  712. /package/{react/esm/components/data-fields-select/types.js → utils/slot-content/tests/ad-hoc-slot-content.test.d.ts} +0 -0
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- const e=require("./type-check-BehV9ZL1.cjs"),t=require("./localize-D3i4Epy_.cjs"),n=require("./decompose-numeric-format-DGJua3rU.cjs");function r(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function i(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function a(e){return e=i(Math.abs(e)),e?e[1]:NaN}function o(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function s(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var c=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(e){if(!(t=c.exec(e)))throw Error(`invalid format: `+e);var t;return new u({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}l.prototype=u.prototype;function u(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}u.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function d(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var f;function p(e,t){var n=i(e,t);if(!n)return f=void 0,e.toPrecision(t);var r=n[0],a=n[1],o=a-(f=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,s=r.length;return o===s?r:o>s?r+Array(o-s+1).join(`0`):o>0?r.slice(0,o)+`.`+r.slice(o):`0.`+Array(1-o).join(`0`)+i(e,Math.max(0,t+o-1))[0]}function m(e,t){var n=i(e,t);if(!n)return e+``;var r=n[0],a=n[1];return a<0?`0.`+Array(-a).join(`0`)+r:r.length>a+1?r.slice(0,a+1)+`.`+r.slice(a+1):r+Array(a-r.length+2).join(`0`)}var h={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:r,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>m(e*100,t),r:m,s:p,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function g(e){return e}var _=Array.prototype.map,v=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function y(e){var t=e.grouping===void 0||e.thousands===void 0?g:o(_.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,c=e.numerals===void 0?g:s(_.call(e.numerals,String)),u=e.percent===void 0?`%`:e.percent+``,p=e.minus===void 0?`−`:e.minus+``,m=e.nan===void 0?`NaN`:e.nan+``;function y(e,a){e=l(e);var o=e.fill,s=e.align,g=e.sign,_=e.symbol,y=e.zero,b=e.width,x=e.comma,S=e.precision,C=e.trim,w=e.type;w===`n`?(x=!0,w=`g`):h[w]||(S===void 0&&(S=12),C=!0,w=`g`),(y||o===`0`&&s===`=`)&&(y=!0,o=`0`,s=`=`);var T=(a&&a.prefix!==void 0?a.prefix:``)+(_===`$`?n:_===`#`&&/[boxX]/.test(w)?`0`+w.toLowerCase():``),E=(_===`$`?r:/[%p]/.test(w)?u:``)+(a&&a.suffix!==void 0?a.suffix:``),D=h[w],O=/[defgprs%]/.test(w);S=S===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function k(e){var n=T,r=E,a,l,u;if(w===`c`)r=D(e)+r,e=``;else{e=+e;var h=e<0||1/e<0;if(e=isNaN(e)?m:D(Math.abs(e),S),C&&(e=d(e)),h&&+e==0&&g!==`+`&&(h=!1),n=(h?g===`(`?g:p:g===`-`||g===`(`?``:g)+n,r=(w===`s`&&!isNaN(e)&&f!==void 0?v[8+f/3]:``)+r+(h&&g===`(`?`)`:``),O){for(a=-1,l=e.length;++a<l;)if(u=e.charCodeAt(a),48>u||u>57){r=(u===46?i+e.slice(a+1):e.slice(a))+r,e=e.slice(0,a);break}}}x&&!y&&(e=t(e,1/0));var _=n.length+e.length+r.length,k=_<b?Array(b-_+1).join(o):``;switch(x&&y&&(e=t(k+e,k.length?b-r.length:1/0),k=``),s){case`<`:e=n+e+r+k;break;case`=`:e=n+k+e+r;break;case`^`:e=k.slice(0,_=k.length>>1)+n+e+r+k.slice(_);break;default:e=k+n+e+r;break}return c(e)}return k.toString=function(){return e+``},k}function b(e,t){var n=Math.max(-8,Math.min(8,Math.floor(a(t)/3)))*3,r=10**-n,i=y((e=l(e),e.type=`f`,e),{suffix:v[8+n/3]});return function(e){return i(r*e)}}return{format:y,formatPrefix:b}}var b=new Date,x=new Date;function S(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>S(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(b.setTime(+t),x.setTime(+r),e(b),e(x),Math.floor(n(b,x))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var C=1e3,w=C*60,T=w*60,E=T*24,D=E*7;E*30,E*365;var O=S(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*C)},(e,t)=>(t-e)/C,e=>e.getUTCSeconds());O.range;var k=S(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*C)},(e,t)=>{e.setTime(+e+t*w)},(e,t)=>(t-e)/w,e=>e.getMinutes());k.range,S(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*w)},(e,t)=>(t-e)/w,e=>e.getUTCMinutes()).range;var A=S(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*C-e.getMinutes()*w)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getHours());A.range,S(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*T)},(e,t)=>(t-e)/T,e=>e.getUTCHours()).range;var j=S(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*w)/E,e=>e.getDate()-1);j.range;var M=S(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/E,e=>e.getUTCDate()-1);M.range,S(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/E,e=>Math.floor(e/E)).range;function N(e){return S(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*w)/D)}var P=N(0),F=N(1),ee=N(2),te=N(3),I=N(4),ne=N(5),re=N(6);P.range,F.range,ee.range,te.range,I.range,ne.range,re.range;function L(e){return S(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/D)}var R=L(0),z=L(1),ie=L(2),ae=L(3),B=L(4),oe=L(5),se=L(6);R.range,z.range,ie.range,ae.range,B.range,oe.range,se.range;var ce=S(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ce.range,S(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()).range;var V=S(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());V.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:S(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),V.range;var H=S(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());H.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:S(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),H.range;function U(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function W(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function G(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function K(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Y(i),u=X(i),d=Y(a),f=X(a),p=Y(o),m=X(o),h=Y(s),g=X(s),_=Y(c),v=X(c),y={a:ee,A:te,b:I,B:ne,c:null,d:Ne,e:Ne,f:Re,g:Ye,G:Ze,H:Pe,I:Fe,j:Ie,L:Le,m:ze,M:Be,p:re,q:L,Q:bt,s:xt,S:Ve,u:He,U:Ue,V:Ge,w:Ke,W:qe,x:null,X:null,y:Je,Y:Xe,Z:Qe,"%":yt},b={a:R,A:ie,b:ae,B,c:null,d:$e,e:$e,f:it,g:ht,G:_t,H:et,I:tt,j:nt,L:rt,m:at,M:ot,p:oe,q:se,Q:bt,s:xt,S:st,u:ct,U:lt,V:dt,w:ft,W:pt,x:null,X:null,y:mt,Y:gt,Z:vt,"%":yt},x={a:E,A:D,b:O,B:k,c:A,d:Ce,e:Ce,f:ke,g:ye,G:ve,H:Te,I:Te,j:we,L:Oe,m:Se,M:Ee,p:T,q:xe,Q:je,s:Me,S:De,u:me,U:he,V:ge,w:pe,W:_e,x:N,X:P,y:ye,Y:ve,Z:be,"%":Ae};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=le[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=G(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=W(G(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?z.ceil(a):z(a),a=M.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=U(G(r.y,0,1)),o=a.getDay(),a=o>4||o===0?F.ceil(a):F(a),a=j.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?W(G(r.y,0,1)).getUTCDay():U(G(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,W(r)):U(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in le?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function N(e,t,r){return w(e,n,t,r)}function P(e,t,n){return w(e,r,t,n)}function ee(e){return o[e.getDay()]}function te(e){return a[e.getDay()]}function I(e){return c[e.getMonth()]}function ne(e){return s[e.getMonth()]}function re(e){return i[+(e.getHours()>=12)]}function L(e){return 1+~~(e.getMonth()/3)}function R(e){return o[e.getUTCDay()]}function ie(e){return a[e.getUTCDay()]}function ae(e){return c[e.getUTCMonth()]}function B(e){return s[e.getUTCMonth()]}function oe(e){return i[+(e.getUTCHours()>=12)]}function se(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var le={"-":``,_:` `,0:`0`},q=/^\s*\d+/,ue=/^%/,de=/[\\^$*+?|[\]().{}]/g;function J(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function fe(e){return e.replace(de,`\\$&`)}function Y(e){return RegExp(`^(?:`+e.map(fe).join(`|`)+`)`,`i`)}function X(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function pe(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function me(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function he(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ge(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function _e(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function ve(e,t,n){var r=q.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function ye(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function be(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function xe(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Se(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ce(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function we(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Te(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ee(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function De(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Oe(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ke(e,t,n){var r=q.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ae(e,t,n){var r=ue.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function je(e,t,n){var r=q.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Me(e,t,n){var r=q.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Ne(e,t){return J(e.getDate(),t,2)}function Pe(e,t){return J(e.getHours(),t,2)}function Fe(e,t){return J(e.getHours()%12||12,t,2)}function Ie(e,t){return J(1+j.count(V(e),e),t,3)}function Le(e,t){return J(e.getMilliseconds(),t,3)}function Re(e,t){return Le(e,t)+`000`}function ze(e,t){return J(e.getMonth()+1,t,2)}function Be(e,t){return J(e.getMinutes(),t,2)}function Ve(e,t){return J(e.getSeconds(),t,2)}function He(e){var t=e.getDay();return t===0?7:t}function Ue(e,t){return J(P.count(V(e)-1,e),t,2)}function We(e){var t=e.getDay();return t>=4||t===0?I(e):I.ceil(e)}function Ge(e,t){return e=We(e),J(I.count(V(e),e)+(V(e).getDay()===4),t,2)}function Ke(e){return e.getDay()}function qe(e,t){return J(F.count(V(e)-1,e),t,2)}function Je(e,t){return J(e.getFullYear()%100,t,2)}function Ye(e,t){return e=We(e),J(e.getFullYear()%100,t,2)}function Xe(e,t){return J(e.getFullYear()%1e4,t,4)}function Ze(e,t){var n=e.getDay();return e=n>=4||n===0?I(e):I.ceil(e),J(e.getFullYear()%1e4,t,4)}function Qe(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+J(t/60|0,`0`,2)+J(t%60,`0`,2)}function $e(e,t){return J(e.getUTCDate(),t,2)}function et(e,t){return J(e.getUTCHours(),t,2)}function tt(e,t){return J(e.getUTCHours()%12||12,t,2)}function nt(e,t){return J(1+M.count(H(e),e),t,3)}function rt(e,t){return J(e.getUTCMilliseconds(),t,3)}function it(e,t){return rt(e,t)+`000`}function at(e,t){return J(e.getUTCMonth()+1,t,2)}function ot(e,t){return J(e.getUTCMinutes(),t,2)}function st(e,t){return J(e.getUTCSeconds(),t,2)}function ct(e){var t=e.getUTCDay();return t===0?7:t}function lt(e,t){return J(R.count(H(e)-1,e),t,2)}function ut(e){var t=e.getUTCDay();return t>=4||t===0?B(e):B.ceil(e)}function dt(e,t){return e=ut(e),J(B.count(H(e),e)+(H(e).getUTCDay()===4),t,2)}function ft(e){return e.getUTCDay()}function pt(e,t){return J(z.count(H(e)-1,e),t,2)}function mt(e,t){return J(e.getUTCFullYear()%100,t,2)}function ht(e,t){return e=ut(e),J(e.getUTCFullYear()%100,t,2)}function gt(e,t){return J(e.getUTCFullYear()%1e4,t,4)}function _t(e,t){var n=e.getUTCDay();return e=n>=4||n===0?B(e):B.ceil(e),J(e.getUTCFullYear()%1e4,t,4)}function vt(){return`+0000`}function yt(){return`%`}function bt(e){return+e}function xt(e){return Math.floor(e/1e3)}var Z,Q;St({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function St(e){return Z=K(e),Q=Z.format,Z.parse,Z.utcFormat,Z.utcParse,Z}var $=[[1,4,12,52,365,365*24,365*24*60,365*24*60*60,365*24*60*60*1e3],[1/4,1,3,13,91,2184,2184*60,2184*60*60,2184*60*60*1e3],[1/12,1/3,1,4,30,720,720*60,720*60*60,720*60*60*1e3],[1/52,1/13,1/4,1,7,168,10080,10080*60,10080*60*1e3],[1/365,1/91,1/30,1/7,1,24,1440,1440*60,1440*60*1e3],[1/(365*24),1/2184,1/720,1/168,1/24,1,60,3600,3600*1e3],[1/(365*24*60),1/(2184*60),1/(720*60),1/10080,1/1440,1/60,1,60,60*1e3],[1/(365*24*60*60),1/(2184*60*60),1/(720*60*60),1/(10080*60),1/(1440*60),1/3600,1/60,1,1e3],[1/(365*24*60*60*1e3),1/(2184*60*60*1e3),1/(720*60*60*1e3),1/(10080*60*1e3),1/(1440*60*1e3),1/(3600*1e3),1/(60*1e3),1/1e3,1]];function Ct(t,n,r){if(e.n(t))return;if(!n||!r||n===r)return t;let i=$[n-1][r-1];if(i)return t*i}function wt(t,n,r,i){if(e.n(t)||!n.lowestLevel||r.length===0)return``;let a=[],o=0,s=Math.round(t*$[n.lowestLevel-1][8]);for(let[,e]of r.entries())if(t){s-=o;let t=$[e-1][8],n=Math.floor(s/t);o=n*t,a.push({level:e,value:n})}else a.push({level:e,value:0});let c=``;for(let[e,t]of a.entries())if(n.duration.format===`time`){let n=t.value;[6,7,8].includes(t.level)&&t.value<10?n=`0`+t.value.toString():t.level===9&&t.value<10?n=`00`+t.value.toString():t.level===9&&t.value<100&&(n=`0`+t.value.toString()),c+=(e===0?``:t.level===9?`.`:`:`)+n}else if(n.duration.format===`long`){let n=i.durationLongSuffix;c+=t.value+` `+n[t.level]+(e===a.length-1?``:` `)}else{let n=i.durationShortSuffix;c+=t.value+``+n[t.level]+(e===a.length-1?``:` `)}return c}var Tt={decimal:`.`,thousands:`,`,grouping:[3],currency:[`$`,``],dateTime:`%a %b %e %X %Y`,date:`%m/%d/%Y`,dateSeparator:`/`,time:`%H:%M:%S`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],levels:[`All`,`Year`,`Quarter`,`Month`,`Week`,`Date`,`Hour`,`Minute`,`Second`,`Millisecond`],shortLevels:[`All`,`Yr`,`Qtr`,`Mth`,`Wk`,`Date`,`Hr`,`Min`,`Sec`,`Msec`],durationLongSuffix:[``,`years`,`quarters`,`months`,`weeks`,`days`,`hours`,`minutes`,`seconds`,`milliseconds`],durationShortSuffix:[``,`y`,`q`,`mo`,`w`,`d`,`h`,`m`,`s`,`ms`],multi:[`.%L`,`:%S`,`%I:%M`,`%I %p`,`%a %d`,`W%G`,`%b %d`,`%B`,`%Y`]},Et=`%d-%m-%Y`,Dt=[{key:`%a %e %b %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%b %Y`,lev4:`Wk %V-%G`,lev5:`%a %e %b %Y`,monthType:`name`,longText:!1,weekday:!0},{key:`%e %b %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%b %Y`,lev4:`Wk %V-%G`,lev5:`%e %b %Y`,monthType:`name`,longText:!1,weekday:!1},{key:`%a %e %B %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%B %Y`,lev4:`Week %V, %G`,lev5:`%a %e %B %Y`,monthType:`name`,longText:!0,weekday:!0},{key:`%e %B %Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%B %Y`,lev4:`Week %V, %G`,lev5:`%e %B %Y`,monthType:`name`,longText:!0,weekday:!1},{key:`%d/%m/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`W%V/%G`,lev5:`%d/%m/%Y`,monthType:`number`,mmdd:!1,separator:`/`},{key:`%d-%m-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`W%V-%G`,lev5:`%d-%m-%Y`,monthType:`number`,mmdd:!1,separator:`-`},{key:`%d.%m.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`W%V.%G`,lev5:`%d.%m.%Y`,monthType:`number`,mmdd:!1,separator:`.`},{key:`%d~%m~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`W%V~%G`,lev5:`%d~%m~%Y`,monthType:`number`,mmdd:!1,separator:`~`},{key:`%m/%d/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`%G/W%V`,lev5:`%m/%d/%Y`,monthType:`number`,mmdd:!0,separator:`/`},{key:`%m-%d-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`%G-W%V`,lev5:`%m-%d-%Y`,monthType:`number`,mmdd:!0,separator:`-`},{key:`%m.%d.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`%G.W%V`,lev5:`%m.%d.%Y`,monthType:`number`,mmdd:!0,separator:`.`},{key:`%m~%d~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`%G~W%V`,lev5:`%m~%d~%Y`,monthType:`number`,mmdd:!0,separator:`~`},{key:`%amd/%Y`,lev1:`%Y`,lev2:`Q%q/%Y`,lev3:`%m/%Y`,lev4:`%G/W%V`,lev5:`%amd/%Y`,monthType:`number`,mmdd:null,separator:`/`},{key:`%amd-%Y`,lev1:`%Y`,lev2:`Q%q-%Y`,lev3:`%m-%Y`,lev4:`%G-W%V`,lev5:`%amd-%Y`,monthType:`number`,mmdd:null,separator:`-`},{key:`%amd.%Y`,lev1:`%Y`,lev2:`Q%q.%Y`,lev3:`%m.%Y`,lev4:`%G.W%V`,lev5:`%amd.%Y`,monthType:`number`,mmdd:null,separator:`.`},{key:`%amd~%Y`,lev1:`%Y`,lev2:`Q%q~%Y`,lev3:`%m~%Y`,lev4:`%G~W%V`,lev5:`%amd~%Y`,monthType:`number`,mmdd:null,separator:`~`}],Ot=[{key:`%H:%M:%S.%L`,lev6:`%H:00`,lev7:`%H:%M`,lev8:`%H:%M:%S`,lev9:`%H:%M:%S.%L`,ampm:!1},{key:`%I:%M:%S.%L %p`,lev6:`%I:00 %p`,lev7:`%I:%M %p`,lev8:`%I:%M:%S %p`,lev9:`%I:%M:%S.%L %p`,ampm:!0}],kt=(e,t,n)=>t===`letter`?e.shortNames?.length>0&&e.shortNames[n]?.length>0?e.shortNames[n]?.charAt(0):`N/A`:t===`short`?e.shortNames?.length>0&&e.shortNames[n]?e.shortNames[n]:`N/A`:e.longNames?.length>0&&e.longNames[n]?e.longNames[n]:`N/A`;function At(r,i){i||={};let a=i.localFormats||Tt,o,s,c,l=[],u=[],d=`datetime`,f;i&&i.multi&&(d=`datetime`),(!r||!r.format)&&(d=`hierarchy`),r&&r.type&&(d=r.type),f=r&&r.format?r.format:d===`numeric`?`,.0f`:d===`datetime`?Et:``;let p=n.t(f);switch(p.precision&&p.typeFormat&&(d=`numeric`),d){case`numeric`:if(r.subtype===`duration`&&r.duration&&r.duration.levels&&r.duration.levels.length>1&&!i.hideDuration)o=t=>e.n(t)?``:wt(t,r,r.duration.levels,a);else{let t={...a},n=p.typeFormat,c=!1;switch(n.length===2&&n.startsWith(`a`)&&(c=!0,n=n.slice(1,2),f=f.replace(/a/,``)),c?(t.decimal=a.decimal,t.thousands=a.thousands):[`z`,`y`,`w`].includes(n)?(t.decimal=`,`,t.thousands=`.`):(t.decimal=`.`,t.thousands=`,`),n){case`z`:f=f.replace(`z`,`f`);break;case`y`:f=f.replace(`y`,`%`);break;case`w`:f=f.replace(`w`,`s`);break}if(r?.subtype===`currency`&&r.currency){let e=t.currency.findIndex(e=>e.length>0),n=t.currency[e].startsWith(`\xA0`),i=t.currency[e].endsWith(`\xA0`),a=`${n?`\xA0`:``}${r.currency}${i?`\xA0`:``}`;t.currency[e]=a}let l=y(t);n!==`%`&&r?.subtype===`currency`&&r.currency&&t.currency&&!i?.hideCurrency&&![`count`,`distinctcount`].includes(r.aggregationFunc)&&!(r.aggregationFunc===`rate`&&r.aggregationWeight?.columnSubType===`currency`)&&r.periodOverPeriod?.type!==`percentageChange`&&(f=`$`+f),s=i?.trimZero&&[`y`,`%`].includes(n)&&t.decimal===`,`?e=>l.format(f)(e).replace(/(,\d*?)0+%$/,`$1%`).replace(/,%$/,`%`):i?.trimZero&&[`y`,`%`].includes(n)&&t.decimal===`.`?e=>l.format(f)(e).replace(/(\.\d*?)0+%$/,`$1%`).replace(/\.%$/,`%`):i?.trimZero&&[`z`,`f`].includes(n)&&t.decimal===`,`?e=>l.format(f)(e).replace(/(,\d*?)0+$/,`$1`).replace(/,$/,``):i?.trimZero&&[`z`,`f`].includes(n)&&t.decimal===`.`?e=>l.format(f)(e).replace(/(\.\d*?)0+$/,`$1`).replace(/\.$/,``):r?.subtype===`currency`&&r.currency&&t.currency&&n===`s`?e=>l.format(f)(e).replace(/G/,`B`):e.n(p.precision)?l.format(`,.0f`):l.format(f),o=t=>{if(e.n(t))return``;if(r.subtype===`duration`&&r.duration&&!i.hideDuration){let e=r.duration.levels?r.duration.levels[0]:r.lowestLevel;return e!==r.lowestLevel&&(t=Ct(t,r.lowestLevel,e)),s(t)+a?.durationShortSuffix?.[e]}return s(t)}}break;case`datetime`:if(l=a?.smartDateFormats??Dt,u=a?.smartTimeFormats??Ot,e.n(r.datetimeDisplayMode)||r.datetimeDisplayMode==="default"){if(i?.level){let e=i.level,t=l.find(e=>f.includes(e.key)),n=u.find(e=>f.includes(e.key)),r=t?t[`lev`+Math.min(e,5)]:l[0][`lev`+Math.min(e,5)],o=e>5?n?n[`lev`+e]:u[0][`lev`+e]:``;f=e>5?r+`, `+o:r;let s=f.includes(`%amd`)&&i.level>=5,c=t?i.level>=2&&t.separator===`~`:!1;f=s?c?f.replaceAll(/%amd[.~/-]%Y/g,a.date.slice(0,8)):f.replaceAll(/%amd[.~/-]%Y/g,a.date.slice(0,8).replaceAll(/[.~/-]/g,t.separator)):c?f.replaceAll(/[~]/g,a.dateSeparator):f}if(i?.multi){let e=Q(a.multi[0]),t=Q(a.multi[1]),n=Q(a.multi[2]),r=Q(a.multi[3]),i=Q(a.multi[4]),o=Q(a.multi[6]),s=Q(a.multi[7]),l=Q(a.multi[8]);c=a=>{let c;return c=O(a)<a?e:k(a)<a?t:A(a)<a?n:j(a)<a?r:ce(a)<a?P(a)<a?i:o:V(a)<a?s:l,c(a)}}else c=K(a).format(f)}else{let t={quarter_number:{min:1,max:4},month_name:{min:1,max:12},month_number:{min:1,max:12},week_number:{min:1,max:53},day_in_month:{min:1,max:31},day_in_year:{min:1,max:366},weekday_name:{min:0,max:7},weekday_number:{min:0,max:7},hour_in_day:{min:0,max:23},minute_in_hour:{min:0,max:59},second_in_minute:{min:0,max:59}};c=[`quarter_number`,`month_number`,`week_number`,`day_in_month`,`day_in_year`,`weekday_number`,`hour_in_day`,`minute_in_hour`,`second_in_minute`].includes(r.datetimeDisplayMode)?n=>e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?n:`N/A`:r.datetimeDisplayMode===`month_name`?n=>{let i=[...a.shortMonths],o=[...a.months];return e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?kt({shortNames:i,longNames:o},r.monthNameFormat,n-1):`N/A`}:r.datetimeDisplayMode===`weekday_name`?n=>{let i=[...a.shortDays],o=[...a.days];return r.weekStart===`monday`&&(i.push(i.shift()??``),o.push(o.shift()??``)),e.i(n)&&n>=t[r.datetimeDisplayMode].min&&n<=t[r.datetimeDisplayMode].max?kt({shortNames:i,longNames:o},r.weekDayNameFormat,n-1):`N/A`}:K(a).format(f)}o=t=>{if(e.n(t))return``;let n=c(t);return e.o(n)?n.trim():n};break;case`hierarchy`:o=e=>t.t(e,i?i.locale:void 0);break;default:o=e=>e;break}return o}Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return At}});
@@ -1,45 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- const e=require("./decorate-DCJt-2rt.cjs"),t=require("./calculate-data-field-icon-DenGmW74.cjs"),n=require("./localize-D3i4Epy_.cjs"),r=require("./formula-display-store-DjjsQ5mW.cjs"),i=require("./groupings-BNrLlXIB.cjs"),a=require("./resolve-column-presentation-DUETRVCH.cjs");let o=require("@luzmo/icons"),s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/icon"),require("@luzmo/lucero/progress-circle");var u=`:host{box-sizing:border-box;font-family:var(--luzmo-font-family);color:var(--luzmo-font-color);display:inline-block}.formula-text{font-size:var(--luzmo-formula-font-size,var(--luzmo-font-size));white-space:pre-wrap;word-break:break-word;line-height:1.5}.formula-text-column{white-space:nowrap}.formula-text-column-icon{margin-inline-end:var(--luzmo-spacing-1)}.formula-pills{align-items:center;gap:var(--luzmo-spacing-1) 0;font-size:var(--luzmo-formula-font-size,var(--luzmo-font-size));flex-wrap:wrap;line-height:1.5;display:inline-flex}.formula-operator{white-space:pre-wrap}.column-pill-wrapper{vertical-align:middle;padding-inline-end:var(--luzmo-formula-column-pill-trailing-space,var(--luzmo-spacing-1));display:inline-flex}.column-pill{justify-content:center;align-items:center;gap:var(--luzmo-spacing-2);box-sizing:border-box;max-width:16rem;min-height:var(--luzmo-formula-control-height,1.375rem);padding:0 var(--luzmo-formula-column-pill-padding-inline,calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1)));border-radius:var(--luzmo-border-radius-s);background-color:var(--luzmo-formula-column-pill-background,var(--luzmo-background-color-highlight));color:var(--luzmo-font-color);white-space:nowrap;font-size:.85em;line-height:1.2;display:inline-flex}.column-pill-icon{flex:none;display:inline-flex}.column-pill-label{text-overflow:ellipsis;overflow:hidden}.column-pill-loading{--luzmo-progress-circle-size:1em;align-items:center;display:inline-flex}.agg-pill{padding-block:var(--luzmo-spacing-1);border-radius:var(--luzmo-border-radius);background-color:var(--agg-accent,var(--luzmo-primary));color:var(--luzmo-primary-inverse-color);font-size:var(--luzmo-formula-font-size,var(--luzmo-font-size));vertical-align:middle;padding-inline:0;display:inline-flex}.agg-pill-row{align-items:center;gap:var(--luzmo-spacing-1);min-height:var(--luzmo-formula-control-height,1.375rem);display:inline-flex}.agg-fn{text-transform:uppercase;padding-inline-start:var(--luzmo-spacing-3);padding-inline-end:var(--luzmo-spacing-3);font-size:.85em}.agg-value{min-height:var(--luzmo-formula-control-height,1.375rem);padding:0 var(--luzmo-spacing-2);border-radius:var(--luzmo-border-radius-s);background-color:var(--luzmo-background-color);color:var(--luzmo-font-color);--luzmo-formula-column-pill-background:transparent;--luzmo-formula-column-pill-padding-inline:0px;align-items:center;line-height:1;display:inline-flex}.agg-grouping{align-items:center;gap:var(--luzmo-spacing-1);padding-inline:var(--luzmo-spacing-2) var(--luzmo-spacing-3);font-size:var(--luzmo-formula-grouping-icon-size,var(--luzmo-icon-size-m));display:inline-flex}.agg-grouping--no-value{padding-inline-start:0}.agg-grouping-count{border-radius:var(--luzmo-border-radius-full,999rem);background:var(--luzmo-primary-inverse-color);min-width:1.25em;color:var(--agg-accent,var(--luzmo-primary));font-size:.6875rem;font-weight:var(--luzmo-font-weight-bold);justify-content:center;align-items:center;padding:0 .25em;line-height:1.4;display:inline-flex}:host{--luzmo-formula-font-size:var(--luzmo-font-size);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-m);--luzmo-formula-control-height:calc(var(--luzmo-component-height) - 2 * var(--luzmo-spacing-1))}:host([size=s]){--luzmo-formula-font-size:var(--luzmo-font-size-s);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-s);--luzmo-formula-control-height:calc(var(--luzmo-component-height-s) - 2 * var(--luzmo-spacing-1))}:host([size=l]){--luzmo-formula-font-size:var(--luzmo-font-size-l);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-l);--luzmo-formula-control-height:calc(var(--luzmo-component-height-l) - 2 * var(--luzmo-spacing-1))}:host([size=xl]){--luzmo-formula-font-size:var(--luzmo-font-size-xl);--luzmo-formula-grouping-icon-size:var(--luzmo-icon-size-xl);--luzmo-formula-control-height:calc(var(--luzmo-component-height-xl) - 2 * var(--luzmo-spacing-1))}`,d=class extends r.o{constructor(...e){super(...e),this.display=`rich`,this._groupingDataMap=i.n()}static{this.styles=(0,s.unsafeCSS)(u)}_createStore(){return new r.t}_shouldLoadInput(){return!1}_canEmitExpression(){return!1}_applyExternalExpression(){if(this.display===`text`){this._rootContent=``;return}this._store.clearWidgets(),this._rootContent=this._store.transformToAggregationWidgetSyntax(this.expression??``)}willUpdate(e){super.willUpdate(e),e.has(`display`)&&!e.has(`expression`)&&this._applyExternalExpression()}render(){return this.display===`text`?this._renderTextFormula():this._renderPillFormula()}_renderPillFormula(){return s.html`<span class="formula-pills" part="formula">${this._renderPillNodes(this._rootContent)}</span>`}_renderPillNodes(e){let t=[],n=new RegExp(r.h.source,`gm`),i=0,a;for(;(a=n.exec(e))!==null;){a.index>i&&t.push(this._renderOperatorText(e.slice(i,a.index)));let r=a[2],o=a[3];r?t.push(this._renderColumnPill(r)):o&&t.push(this._renderAggregationPill(o)),i=n.lastIndex}return i<e.length&&t.push(this._renderOperatorText(e.slice(i))),t}_renderOperatorText(e){return s.html`<span class="formula-operator">${e}</span>`}_renderColumnPill(e){let[t,n]=e.split(`:`),r=this._datasets.find(e=>e.id===t)?.columns.find(e=>e.columnId===n);if(this._store.loading&&!r){let e=(0,l.msg)(`Loading column`,{desc:`Accessible label for a column pill whose label is still loading`});return s.html`<span class="column-pill-wrapper"
21
- ><span class="column-pill" title=${e}
22
- ><span class="column-pill-loading">
23
- <luzmo-progress-circle indeterminate size="s" .label=${e}></luzmo-progress-circle></span
24
- ></span
25
- ></span>`}let{icon:i,label:c}=a.t(r,this.contentLanguage,n);return s.html`<span class="column-pill-wrapper"
26
- ><span class="column-pill" title=${c}
27
- ><span class="column-pill-icon">${(0,o.luzmoIcon)(i)}</span
28
- ><span class="column-pill-label">${c}</span></span
29
- ></span>`}_renderAggregationPill(e){let t=this._store.getWidget(e);if(!t)return s.html`${s.nothing}`;let n=this._groupingDataMap[t.grouping],i=n?.color??``,a=this._store.aggregationFunctionDataMap[t.aggregationFunction]?.arity??0,c=n?.label()??``,l=t.grouping===r.g.GROUPINEX?(t.includedColumns?.length??0)+(t.excludedColumns?.length??0):0;return s.html`<span class="agg-pill" style=${i?`--agg-accent: ${i}`:``}>
30
- <span class="agg-pill-row">
31
- <span class="agg-fn">${t.aggregationFunction}</span>
32
- ${a>0?s.html`<span class="agg-value">${this._renderPillNodes(t.content)}</span>`:s.nothing}
33
- <span
34
- class="agg-grouping${a>0?``:` agg-grouping--no-value`}"
35
- title=${c}
36
- aria-label=${c}
37
- >
38
- ${n?.icon?(0,o.luzmoIcon)(n.icon):s.nothing}
39
- ${l>0?s.html`<span class="agg-grouping-count">${l}</span>`:s.nothing}
40
- </span>
41
- </span>
42
- </span>`}_renderTextFormula(){let e=this.expression??``,t=[],n=new RegExp(r.f.source,`g`),i=0,a;for(;(a=n.exec(e))!==null;){a.index>i&&t.push(e.slice(i,a.index));let[r,o]=a[1].split(`:`);t.push(this._renderColumnReference(r,o)),i=n.lastIndex}return i<e.length&&t.push(e.slice(i)),s.html`<span class="formula-text" part="formula-text">${t}</span>`}_renderColumnReference(e,r){let i=this._datasets.find(t=>t.id===e),a=i?.columns.find(e=>e.columnId===r),c=a?n.t(a.name,this.contentLanguage):r,l=i?n.t(i.name,this.contentLanguage):``;return s.html`<span class="formula-text-column" part="formula-text-column" title=${l?`${l} · ${c}`:c}>
43
- <span class="formula-text-column-icon">${(0,o.luzmoIcon)(t.t({type:a?.type??`hierarchy`},`s`))}</span>
44
- <span class="formula-text-column-name">${c}</span>
45
- </span>`}};e.t([(0,c.property)({type:String,reflect:!0})],d.prototype,`display`,void 0),d=e.t([(0,l.localized)()],d),customElements.get(`luzmo-formula`)||customElements.define(`luzmo-formula`,d),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
@@ -1,79 +0,0 @@
1
- import { type Completion } from '@codemirror/autocomplete';
2
- import { type PropertyValues, type TemplateResult } from 'lit';
3
- import { LuzmoElement } from '../../utils/base';
4
- import type { FormulaEditorStore } from '../../utils/formula/store/formula-editor-store';
5
- import type { FormulaEditorDataset } from '../../types/formula.types';
6
- import '@luzmo/lucero/progress-circle';
7
- import './pills/formula-empty-argument-pill';
8
- import './pills/formula-aggregation';
9
- declare const LuzmoFormulaCodeMirror_base: (new (...args: any[]) => {
10
- language: string;
11
- }) & typeof LuzmoElement;
12
- /**
13
- * @customElement luzmo-formula-codemirror
14
- * @description Internal CodeMirror-backed expression engine for the formula
15
- * family. Renders columns, empty arguments and aggregation widgets as inline pills,
16
- * supports drag-to-insert at the cursor and autocompletion. Used as the editing
17
- * surface of `luzmo-formula-field` and `luzmo-formula-editor`, and inside nested
18
- * aggregation widgets. Not part of the public API - prefer `luzmo-formula-field`
19
- * / `luzmo-formula-editor`, which wire its store + autocompletion for you.
20
- *
21
- * @fires {CustomEvent<{ content: string }>} luzmo-input-content-changed - Fired when the editor content changes.
22
- * @fires {CustomEvent<void>} luzmo-input-focused - Fired when the editor gains focus.
23
- */
24
- export declare class LuzmoFormulaCodeMirror extends LuzmoFormulaCodeMirror_base {
25
- static styles: import("lit").CSSResult;
26
- /** The shared formula editor store. */
27
- store?: FormulaEditorStore;
28
- /** Id of the aggregation widget this input belongs to, or null for the root editor. */
29
- aggregationWidgetId: string | null;
30
- /** Datasets used to render column pills. */
31
- datasets: FormulaEditorDataset[];
32
- contentLanguage: string;
33
- placeholder: string;
34
- readonly: boolean;
35
- singleLine: boolean;
36
- hasError: boolean;
37
- editorHeight?: string;
38
- /** Number of text lines the input is sized to start with. Defaults to 3. */
39
- rows: number;
40
- /** Maximum number of text lines before a scrollbar appears (only when `grows`). */
41
- maxRows?: number;
42
- /** Whether the input grows in height with its content (up to `maxRows` if set). */
43
- grows: boolean;
44
- /** The autocompletion options to offer. */
45
- autoCompletionList: Completion[];
46
- private _view?;
47
- private _pendingContent;
48
- private readonly _themeCompartment;
49
- private readonly _readonlyCompartment;
50
- get content(): string;
51
- /** Replaces the whole editor content. */
52
- setContent(content: string): void;
53
- focusEditor(): void;
54
- /** Forces the inline pill decorations to be recomputed. */
55
- refresh(): void;
56
- disconnectedCallback(): void;
57
- /** Rebuilds pill decorations when the store signals a refresh (e.g. loading state changed). */
58
- private _handleStoreRefresh;
59
- protected firstUpdated(_changedProperties: PropertyValues): void;
60
- protected updated(changedProperties: PropertyValues): void;
61
- /**
62
- * Read-only extensions, kept in a compartment so toggling `readonly` after the
63
- * view is created can reconfigure them. `readOnly` blocks edits but the view
64
- * stays focusable and keeps painting a blinking caret; `editable.of(false)`
65
- * also drops the caret (and the contenteditable), which is what a read-only
66
- * rendering should show.
67
- */
68
- private _readonlyExtensions;
69
- private _buildDynamicTheme;
70
- private _buildExtensions;
71
- private _buildDecorations;
72
- private _autoComplete;
73
- private _cleanupDroppable;
74
- private _attachDroppable;
75
- private _canDrop;
76
- private _handleDrop;
77
- protected render(): TemplateResult;
78
- }
79
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFormulaCodeMirror } from './formula-codemirror';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-formula-codemirror': LuzmoFormulaCodeMirror;
5
- }
6
- }
7
- export { LuzmoFormulaCodeMirror } from './formula-codemirror';
@@ -1,125 +0,0 @@
1
- import '@luzmo/lucero/icon';
2
- import '@luzmo/lucero/overlay';
3
- import '@luzmo/lucero/popover';
4
- import '@luzmo/lucero/select';
5
- import { type PropertyValues, type TemplateResult } from 'lit';
6
- import { LuzmoElement } from '../../../../utils/base';
7
- import type { FormulaEditorStore } from '../../../../utils/formula/store/formula-editor-store';
8
- import { type AggregationWidgetConfig } from '../../../../types/formula.types';
9
- declare const LuzmoFormulaAggregation_base: (new (...args: any[]) => {
10
- language: string;
11
- }) & typeof LuzmoElement;
12
- /**
13
- * @customElement luzmo-formula-aggregation
14
- * @description A nested aggregation widget rendered inline inside the formula
15
- * editor: an aggregation-function selector, a grouping-scope selector, a nested
16
- * expression input and (for `GROUPINEX`) an include / exclude column panel.
17
- */
18
- export declare class LuzmoFormulaAggregation extends LuzmoFormulaAggregation_base {
19
- static styles: import("lit").CSSResult;
20
- /** Configuration for this aggregation widget (set by the CodeMirror widget). */
21
- config: AggregationWidgetConfig['data'];
22
- /** The shared formula editor store (set by the CodeMirror widget). */
23
- store?: FormulaEditorStore;
24
- private _nestedCodeMirror?;
25
- private _groupingOverlay?;
26
- private _functionSelect?;
27
- /** The element the focus/blur listeners are currently bound to, for clean teardown. */
28
- private _functionFocusTarget?;
29
- /**
30
- * Explicit page override for the grouping popover. When `null` the page is
31
- * derived from the current grouping (include/exclude scope -> the detail page,
32
- * any other scope -> the scope chooser). Deriving the page - rather than
33
- * resetting a stored page on open/close - keeps the (still hidden) popover on
34
- * the correct page, so reopening a configured include/exclude pill no longer
35
- * flashes the scope chooser for a frame.
36
- */
37
- private _groupingPageOverride;
38
- /** Autocompletion options offered while typing inside this aggregation's nested input. */
39
- private _autoCompletionList;
40
- /** Whether the CodeMirror-backed nested input module has finished loading. */
41
- private _codeMirrorLoaded;
42
- /**
43
- * Whether the aggregation-function select currently holds keyboard-driven focus.
44
- * The select's focusable button lives in its shadow DOM, so a pure CSS
45
- * `:focus-visible` can't reach it from here; instead we read the browser's own
46
- * `:focus-visible` verdict off the focused element so the focus ring only shows
47
- * for keyboard users (not after a mouse switch).
48
- */
49
- private _functionKeyboardFocus;
50
- private readonly _groupingTriggerId;
51
- private readonly _aggregationDataMap;
52
- private readonly _groupingDataMap;
53
- connectedCallback(): void;
54
- disconnectedCallback(): void;
55
- /**
56
- * Binds the keyboard-focus tracking to the `.function-select` element (not the
57
- * host). The select swallows the bubbling focusin/focusout, so we use the
58
- * capturing focus/blur events; and they must be bound to `.function-select`
59
- * rather than the host so focus moving *within* the pill (e.g. Shift+Tab from
60
- * the nested value input into the select) still crosses into the listener's
61
- * subtree and is detected. Idempotent and safe to call before first render.
62
- */
63
- private _bindFunctionFocusListeners;
64
- private _unbindFunctionFocusListeners;
65
- private _handleFunctionFocus;
66
- private _handleFunctionBlur;
67
- private _handleWidgetsChanged;
68
- /**
69
- * Datasets reach the pill once (via `config.linkedDatasets`) when the widget
70
- * is created. When the editor loads its datasets asynchronously the store is
71
- * updated later, so this re-resolves the nested column labels and completions.
72
- */
73
- private _handleDatasetsRefresh;
74
- /** The datasets to use for the nested input: the freshly loaded store ones take precedence. */
75
- private get _linkedDatasets();
76
- private _recomputeAutoCompletion;
77
- private get _widget();
78
- /** The grouping popover page: an explicit override (e.g. after pressing back), else derived from the grouping scope. */
79
- private get _groupingPage();
80
- protected willUpdate(changedProperties: PropertyValues): void;
81
- /** Lazily loads the CodeMirror-backed input used for this aggregation's nested expression. */
82
- private _ensureCodeMirrorLoaded;
83
- protected firstUpdated(): void;
84
- protected updated(_changedProperties: PropertyValues): void;
85
- /**
86
- * When this pill was just created via a list insert / autocomplete, move the
87
- * cursor into its nested input so the user can immediately keep typing.
88
- */
89
- private _focusNestedIfPending;
90
- private _updateWidget;
91
- private _handleFunctionChange;
92
- private _handleGroupingOptionClick;
93
- private _handleGroupingBack;
94
- private _handleGroupingMenuOpened;
95
- private _handleGroupingMenuClosed;
96
- /**
97
- * Dismiss the grouping overlay on an outside pointerdown.
98
- *
99
- * The overlay is a `type="manual"` popover (see render) so the browser's native
100
- * Popover-API light-dismiss never collapses it when a nested include / exclude
101
- * select opens its own `auto` popover - the bug this works around. Manual
102
- * overlays also opt out of the overlay stack's outside-pointer dismissal, so we
103
- * reinstate it here. Clicks inside the popover - which include the DOM-nested
104
- * include / exclude selects and their dropdowns - keep it open; a pointerdown on
105
- * the trigger closes it (the click controller suppresses its own toggle while
106
- * the overlay is already open). Escape still closes it through the stack's
107
- * keydown handler, which does dismiss manual overlays.
108
- */
109
- private _handleDocumentPointerdown;
110
- /**
111
- * Whether a pointerdown landed inside the grouping popover content. The popover
112
- * content is promoted to the top layer (native popover) but stays in the DOM
113
- * tree, so we match the popover / panel by class along the composed path:
114
- * after a nested select opens (and re-renders) an element reference can stop
115
- * resolving, but the elements are still present in the click's composed path.
116
- */
117
- private _isPointerInsidePopover;
118
- private _closeGroupingMenu;
119
- private _handleNestedContentChanged;
120
- private _handleIncludeExcludeChange;
121
- private _renderGroupingTypesPage;
122
- private _renderIncludeExcludePage;
123
- protected render(): TemplateResult;
124
- }
125
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFormulaAggregation } from './formula-aggregation';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-formula-aggregation': LuzmoFormulaAggregation;
5
- }
6
- }
7
- export { LuzmoFormulaAggregation } from './formula-aggregation';
@@ -1,28 +0,0 @@
1
- import { type PropertyValues, type TemplateResult } from 'lit';
2
- import { LuzmoElement } from '../../../../utils/base';
3
- import type { FormulaEditorStore } from '../../../../utils/formula/store/formula-editor-store';
4
- declare const LuzmoFormulaEmptyArgumentPill_base: (new (...args: any[]) => {
5
- language: string;
6
- }) & typeof LuzmoElement;
7
- /**
8
- * @customElement luzmo-formula-empty-argument-pill
9
- * @description An empty argument rendered inline inside the formula editor. Accepts
10
- * dropped columns / functions / aggregations and lets the user type a literal value.
11
- */
12
- export declare class LuzmoFormulaEmptyArgumentPill extends LuzmoFormulaEmptyArgumentPill_base {
13
- static styles: import("lit").CSSResult;
14
- emptyArgumentId: string;
15
- parentAggregationWidgetId: string | null;
16
- store?: FormulaEditorStore;
17
- private _cleanupDroppable;
18
- connectedCallback(): void;
19
- disconnectedCallback(): void;
20
- protected firstUpdated(_changedProperties: PropertyValues): void;
21
- private _attachDroppable;
22
- private _canDrop;
23
- private _handleDrop;
24
- private _handleFocus;
25
- private _handleInput;
26
- protected render(): TemplateResult;
27
- }
28
- export {};
@@ -1,7 +0,0 @@
1
- import { LuzmoFormulaEmptyArgumentPill } from './formula-empty-argument-pill';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-formula-empty-argument-pill': LuzmoFormulaEmptyArgumentPill;
5
- }
6
- }
7
- export { LuzmoFormulaEmptyArgumentPill } from './formula-empty-argument-pill';
@@ -1,38 +0,0 @@
1
- import '@luzmo/lucero/action-button';
2
- import '@luzmo/lucero/field-label';
3
- import '@luzmo/lucero/icon';
4
- import '@luzmo/lucero/select';
5
- import '@luzmo/lucero/tooltip';
6
- import { type TemplateResult } from 'lit';
7
- import { type ElementSize } from '../../../utils/base';
8
- import type { FormulaEditorDataset } from '../../../types/formula.types';
9
- export interface IncludeExcludePanelParams {
10
- /** The linked datasets whose columns can be included / excluded. */
11
- datasets: FormulaEditorDataset[];
12
- /** Columns to always group by, as full `datasetId:columnId` references. */
13
- includedColumns: string[];
14
- /** Columns to never group by, as full `datasetId:columnId` references. */
15
- excludedColumns: string[];
16
- /** Language used to localize column names. */
17
- contentLanguage: string;
18
- /** Size of the surrounding editor. */
19
- size?: ElementSize;
20
- /** Renders the picker read-only (no adding, removing or moving). */
21
- readonly?: boolean;
22
- /** Shows a back button in the header to return to the grouping scope chooser. */
23
- showBack?: boolean;
24
- /** Called with the next included / excluded selection whenever it changes. */
25
- onChange: (includedColumns: string[], excludedColumns: string[]) => void;
26
- /** Called when the back button is activated. */
27
- onBack: () => void;
28
- }
29
- /**
30
- * Renders the included / excluded column picker for a `GROUPINEX` aggregation
31
- * grouping. Replaces the former `luzmo-formula-include-exclude-panel` element:
32
- * stateless markup driven by the aggregation pill, which owns the widget update.
33
- *
34
- * The root carries the `include-exclude-panel` class so the aggregation pill can
35
- * detect pointerdowns inside the (DOM-nested) panel and keep its grouping
36
- * popover open.
37
- */
38
- export declare function renderIncludeExcludePanel(params: IncludeExcludePanelParams): TemplateResult;
@@ -1,20 +0,0 @@
1
- /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
- *
3
- * Copyright © 2026 Luzmo
4
- * All rights reserved.
5
- * Luzmo web components (“Luzmo Web Components”)
6
- * must be used according to the Luzmo Terms of Service.
7
- * This license allows users with a current active Luzmo account
8
- * to use the Luzmo Web Components. This license terminates
9
- * automatically if a user no longer has an active Luzmo account.
10
- * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
- *
12
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- * SOFTWARE.
19
- * */
20
- const e=require("./base-BCmPH4SF.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-DrK3QZNa.cjs"),r=require("./load-data-fields-for-datasets-BVGaku2J.cjs");let i=require("lit/decorators.js"),a=require("@lit/localize");var o=function(e){return e.GROUP=``,e.GROUPFULL=`GROUPFULL`,e.GROUPINEX=`GROUPINEX`,e}({}),s=String.raw`[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}`,c=RegExp(`##EMPTYARG-(${s})##|{(${s}:${s})}|##AGGR-(${s})##`,`gm`),l=RegExp(`##EMPTYARG-(${s})##|{(${s}:${s})}`,`gm`),u=/((GROUPFULL|GROUPINEX)\()?(AVG|COUNT|COUNTD|COUNTR|MAX|MIN|SUM)\(/m,d=/(AVG|COUNT|COUNTD|MAX|MIN|SUM)\(\)/m,f=RegExp(`##AGGR-(${s})##`,`m`),p=/\[(.*?)\]/gm,m=RegExp(`{(${s}:${s})}`,`gm`);function h(){return typeof crypto<`u`&&typeof crypto.randomUUID==`function`?crypto.randomUUID():`xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx`.replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e===`x`?t:t&3|8).toString(16)})}function g(){return`##EMPTYARG-${h()}##`}function _(e){return`##AGGR-${e}##`}function v(e,t){let{aggregationFunction:n,content:r,grouping:i,includedColumns:a,excludedColumns:s}=e??{},c=`${n}(${t[n]?.arity>0?r:``})`;switch(i){case o.GROUPFULL:return`GROUPFULL(${c})`;case o.GROUPINEX:return`GROUPINEX(${c}, [${a?.map(e=>`{${e}}`).join(`, `)||``}], [${s?.map(e=>`{${e}}`).join(`, `)||``}])`;default:return c}}function y(e){let t=e.split(``),n=null;for(let e=0;e<t.length;e++){let r=t[e];n?r===n?n=null:t[e]=` `:(r===`'`||r===`"`)&&(n=r)}return t.join(``)}function b(e,t=0){let n=0,r=-1,i=null;for(let a=t,o=e.length;a<o;a++){let t=e[a];if(i){t===i&&(i=null);continue}if(t===`'`||t===`"`)i=t;else if(t===`(`)n++;else if(t===`)`){if(n===0){r=a;break}n--}}return r}function x(e){let t=e.match(p),n=t?.[0],r=t?.[1];return{includedColumns:n?.match(m)?.map(e=>e.slice(1,-1))??[],excludedColumns:r?.match(m)?.map(e=>e.slice(1,-1))??[]}}function S(e=`light`){return!e||e===`light`?[`#0E89E0`,`#F45000`,`#15BF49`,`#685AC2`,`#636363`]:[`#BDDCF9`,`#FFCFA1`,`#C1F3B7`,`#D7D7EF`,`#D7D7EF`]}function C(e){let t=S(`light`),n=e.length>1;return e.map((e,r)=>{let i=[];return`dataFields`in e&&Array.isArray(e.dataFields)&&e.dataFields.length>0?i=e.dataFields.filter(e=>!!e.columnId):`columns`in e&&Array.isArray(e.columns)&&(i=e.columns.map(t=>({...t,datasetId:e.id}))),{id:e.id,name:e.name,description:`description`in e?e.description:void 0,color:n?t[r%t.length]:void 0,columns:i}})}var w=!1,T;async function E(){if(!w){T??=Promise.resolve().then(()=>require("./formula-codemirror-CFMYytMd.cjs"));try{await T,w=!0}catch(e){throw T=void 0,e}}}function D(){return w}var O=class extends n.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`]})){constructor(){super(),this.expression=``,this.datasetsDataFields=[],this.datasetIds=[],this.apiUrl=`https://api.luzmo.com`,this.showAggregations=!0,this.contentLanguage=`en`,this.multiStageAggregation=!0,this.nestedAggregation=!0,this._datasets=[],this._codeMirrorLoaded=D(),this._rootContent=``,this._lastEmittedExpression=null,this._applyingExternalExpression=!1,this._handleWidgetsChanged=()=>{this._recomputeExpression()},this._store=this._createStore()}connectedCallback(){super.connectedCallback(),this._store.addEventListener(`widgets-changed`,this._handleWidgetsChanged)}disconnectedCallback(){super.disconnectedCallback(),this._store.removeEventListener(`widgets-changed`,this._handleWidgetsChanged),this._emitTimer&&clearTimeout(this._emitTimer)}firstUpdated(e){super.firstUpdated(e),this._pushRootContent()}updated(e){super.updated(e),e.has(`_codeMirrorLoaded`)&&this._codeMirrorLoaded&&this._pushRootContent()}_pushRootContent(){this._rootContent&&this._codeMirrorElement?.setContent(this._rootContent)}get _codeMirrorElement(){return this.renderRoot?.querySelector(`luzmo-formula-codemirror`)}async _ensureCodeMirrorLoaded(){this._codeMirrorLoaded||=(await E(),!0)}willUpdate(e){super.willUpdate(e),this._shouldLoadInput()&&this._ensureCodeMirrorLoaded(),(e.has(`multiStageAggregation`)||e.has(`nestedAggregation`)||e.has(`contentLanguage`)||e.has(`size`))&&(this._store.multiStageAggregation=this.multiStageAggregation,this._store.nestedAggregation=this.nestedAggregation,this._store.contentLanguage=this.contentLanguage,this._store.size=this.size),(e.has(`datasetsDataFields`)||e.has(`datasetIds`)||e.has(`apiUrl`)||e.has(`authKey`)||e.has(`authToken`))&&this._loadDatasets(),e.has(`showAggregations`)&&this._rebuildAutoCompletion(),e.has(`expression`)&&this._applyExternalExpression()}async _loadDatasets(){if(this.datasetsDataFields.length===0&&this.datasetIds.length===0){this._datasets=[],this._store.datasets=[],this._setLoading(!1),this._rebuildAutoCompletion();return}if(this.datasetsDataFields.length>0){this._datasets=C(this.datasetsDataFields),this._store.datasets=this._datasets,this._setLoading(!1),this._rebuildAutoCompletion();return}if(this.datasetIds.length>0){this._setLoading(!0);try{let e=await r.t(this.datasetIds,{dataBrokerConfig:{apiUrl:this.apiUrl,authKey:this.authKey,authToken:this.authToken}});this._datasets=C(e),this._store.datasets=this._datasets,this._rebuildAutoCompletion()}catch(e){console.warn(`[${this.localName}] Failed to load datasets:`,e),this.dispatchEvent(new CustomEvent(`luzmo-datasets-error`,{bubbles:!0,composed:!0,detail:{error:e}}))}finally{this._setLoading(!1)}}}_rebuildAutoCompletion(){}_syncExpressionToStore(){return this.expression===this._lastEmittedExpression?null:(this._store.clearWidgets(),this._rootContent=this.multiStageAggregation?this._store.transformToAggregationWidgetSyntax(this.expression):this.expression,this._rootContent)}_applyExternalExpression(){this._applyingExternalExpression=!0;try{this._syncExpressionToStore()}finally{this._applyingExternalExpression=!1}}_recomputeExpression(){if(this._applyingExternalExpression||!this._canEmitExpression())return;let e=this.multiStageAggregation?this._store.transformToAggregationFunctionSyntax(this._rootContent):this._rootContent;this._emitTimer&&clearTimeout(this._emitTimer),this._emitTimer=setTimeout(()=>this._onExpressionComputed(e),this._emitDebounceMs)}_emitExpressionChanged(e){this._lastEmittedExpression=e,this.dispatchEvent(new CustomEvent(`luzmo-expression-changed`,{bubbles:!0,composed:!0,detail:{expression:e}}))}_shouldLoadInput(){return!0}_canEmitExpression(){return!0}get _emitDebounceMs(){return 300}_onExpressionComputed(e){e!==this._lastEmittedExpression&&this._emitExpressionChanged(e)}_setLoading(e){}};t.t([(0,i.property)({type:String})],O.prototype,`expression`,void 0),t.t([(0,i.property)({attribute:!1})],O.prototype,`datasetsDataFields`,void 0),t.t([(0,i.property)({type:Array,attribute:`dataset-ids`})],O.prototype,`datasetIds`,void 0),t.t([(0,i.property)({type:String,attribute:`api-url`})],O.prototype,`apiUrl`,void 0),t.t([(0,i.property)({type:String,attribute:`auth-key`})],O.prototype,`authKey`,void 0),t.t([(0,i.property)({type:String,attribute:`auth-token`})],O.prototype,`authToken`,void 0),t.t([(0,i.property)({type:Boolean,attribute:`show-aggregations`,reflect:!0})],O.prototype,`showAggregations`,void 0),t.t([(0,i.property)({type:String,attribute:`content-language`,reflect:!0})],O.prototype,`contentLanguage`,void 0),t.t([(0,i.property)({type:Boolean,attribute:`multi-stage-aggregation`})],O.prototype,`multiStageAggregation`,void 0),t.t([(0,i.property)({type:Boolean,attribute:`nested-aggregation`})],O.prototype,`nestedAggregation`,void 0),t.t([(0,i.state)()],O.prototype,`_datasets`,void 0),t.t([(0,i.state)()],O.prototype,`_codeMirrorLoaded`,void 0);var k=[`AVG`,`COUNT`,`COUNTD`,`COUNTR`,`MAX`,`MIN`,`SUM`];function A(){return{AVG:{arity:1,label:()=>(0,a.msg)(`Average`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Calculates the average of the values.`,{desc:`Formula aggregation description for AVG`}),example:()=>`AVG(⟨numeric⟩ Order Value)`,exampleHasIcons:!0},COUNT:{arity:1,label:()=>(0,a.msg)(`Count`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Counts the number of non-empty values.`,{desc:`Formula aggregation description for COUNT`}),example:()=>`COUNT(⟨numeric⟩ Order Number)`,exampleHasIcons:!0},COUNTD:{arity:1,label:()=>(0,a.msg)(`Count distinct`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Counts the number of distinct values.`,{desc:`Formula aggregation description for COUNTD`}),example:()=>`COUNTD(⟨numeric⟩ Customer ID)`,exampleHasIcons:!0},COUNTR:{arity:0,label:()=>(0,a.msg)(`Count rows`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Counts the number of rows.`,{desc:`Formula aggregation description for COUNTR`}),example:()=>`COUNTR()`},MAX:{arity:1,label:()=>(0,a.msg)(`Maximum`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Returns the largest value.`,{desc:`Formula aggregation description for MAX`}),example:()=>`MAX(⟨numeric⟩ Order Value)`,exampleHasIcons:!0},MIN:{arity:1,label:()=>(0,a.msg)(`Minimum`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Returns the smallest value.`,{desc:`Formula aggregation description for MIN`}),example:()=>`MIN(⟨numeric⟩ Order Value)`,exampleHasIcons:!0},SUM:{arity:1,label:()=>(0,a.msg)(`Sum`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Adds up all the values.`,{desc:`Formula aggregation description for SUM`}),example:()=>`SUM(⟨numeric⟩ Quantity Sold)`,exampleHasIcons:!0}}}function j(){return[{key:`string`,title:()=>(0,a.msg)(`String`,{desc:`Formula function category title for string functions`}),functions:[`||`,`LENGTH`,`LOWER`,`UPPER`,`LTRIM`,`RTRIM`,`TRIM`,`REPLACE`,`STRPOS`,`SUBSTR`,`SPLIT_PART`]},{key:`dateTime`,title:()=>(0,a.msg)(`Date and time`,{desc:`Formula function category title for date and time functions`}),functions:[`NOW`,`DATE_ADD`,`DATE_DIFF`,`YEAR`,`YEAR_UTC`,`QUARTER`,`QUARTER_UTC`,`MONTH`,`MONTH_UTC`,`WEEK`,`WEEK_UTC`,`DAY`,`DAY_UTC`,`DAY_OF_WEEK`,`DAY_OF_WEEK_UTC`,`DAY_OF_YEAR`,`DAY_OF_YEAR_UTC`,`YEAR_OF_WEEK`,`YEAR_OF_WEEK_UTC`,`HOUR`,`HOUR_UTC`,`MINUTE`,`MINUTE_UTC`,`SECOND`,`SECOND_UTC`]},{key:`mathematical`,title:()=>(0,a.msg)(`Mathematical`,{desc:`Formula function category title for mathematical functions`}),functions:[`+`,`-`,`*`,`/`,`%`,`ABS`,`CEIL`,`E`,`EXP`,`FLOOR`,`LN`,`LOG`,`PI`,`POW`,`RAND`,`ROUND`,`SQRT`]},{key:`conditional`,title:()=>(0,a.msg)(`Conditional`,{desc:`Formula function category title for conditional functions`}),functions:[`IF`,`COALESCE`]},{key:`conversion`,title:()=>(0,a.msg)(`Conversion`,{desc:`Formula function category title for conversion functions`}),functions:[`CAST`]},{key:`comparison`,title:()=>(0,a.msg)(`Comparison`,{desc:`Formula function category title for comparison functions`}),functions:[`>`,`<`,`<=`,`>=`,`=`,`<>`]},{key:`logical`,title:()=>(0,a.msg)(`Logical`,{desc:`Formula function category title for logical functions`}),functions:[`AND`,`OR`,`NOT`]},{key:`circular`,title:()=>(0,a.msg)(`Circular`,{desc:`Formula function category title for circular functions`}),functions:[`SIN`,`COS`,`TAN`,`ASIN`,`ACOS`,`ATAN`,`SINH`,`COSH`,`TANH`]},{key:`spatial`,title:()=>(0,a.msg)(`Spatial`,{desc:`Formula function category title for spatial functions`}),functions:[`COORDS`]}]}function M(){let e=2026;return{"+":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Addition`,{desc:`Formula function label for addition`}),description:()=>(0,a.msg)(`Adds two numeric values.`,{desc:`Formula function description for addition operator`}),example:()=>`42.0 + ⟨numeric⟩ Average burrito price`,exampleHasIcons:!0},"-":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Difference`,{desc:`Formula function label for subtraction`}),description:()=>(0,a.msg)(`Subtracts the second value from the first value.`,{desc:`Formula function description for subtraction operator`}),example:()=>`⟨numeric⟩ Burrito weight - 42`,exampleHasIcons:!0},"*":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Multiplication`,{desc:`Formula function label for multiplication`}),description:()=>(0,a.msg)(`Multiplies two numeric values.`,{desc:`Formula function description for multiplication operator`}),example:()=>`⟨numeric⟩ Number of burritos * 2`,exampleHasIcons:!0},"/":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Division`,{desc:`Formula function label for division`}),description:()=>(0,a.msg)(`Divides the first numeric value by the second numeric value.`,{desc:`Formula function description for division operator`}),example:()=>`⟨numeric⟩ Number of burritos / 2`,exampleHasIcons:!0},"%":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Modulo`,{desc:`Formula function label for modulo`}),description:()=>(0,a.msg)(`Returns the remainder after dividing the first value by the second value.`,{desc:`Formula function description for modulo operator`}),example:()=>`5 % 2`},">":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Greater than`,{desc:`Formula function label for greater than comparison`}),description:()=>(0,a.msg)(`Checks whether the first value is greater than the second value.`,{desc:`Formula function description for greater than operator`}),example:()=>`⟨numeric⟩ Burrito weight > 50`,exampleHasIcons:!0},"<":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Less than`,{desc:`Formula function label for less than comparison`}),description:()=>(0,a.msg)(`Checks whether the first value is less than the second value.`,{desc:`Formula function description for less than operator`}),example:()=>`⟨numeric⟩ Burrito weight < 50`,exampleHasIcons:!0},">=":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Greater than or equal`,{desc:`Formula function label for greater than or equal comparison`}),description:()=>(0,a.msg)(`Checks whether the first value is greater than or equal to the second value.`,{desc:`Formula function description for greater than or equal operator`}),example:()=>`⟨numeric⟩ Burrito weight >= 50`,exampleHasIcons:!0},"<=":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Less than or equal`,{desc:`Formula function label for less than or equal comparison`}),description:()=>(0,a.msg)(`Checks whether the first value is less than or equal to the second value.`,{desc:`Formula function description for less than or equal operator`}),example:()=>`⟨numeric⟩ Burrito weight <= 50`,exampleHasIcons:!0},"=":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Equal`,{desc:`Formula function label for equality comparison`}),description:()=>(0,a.msg)(`Checks whether both values are equal.`,{desc:`Formula function description for equality operator`}),example:()=>`⟨hierarchy⟩ Burrito type = 'Savoury'`,exampleHasIcons:!0},"<>":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Not equal`,{desc:`Formula function label for inequality comparison`}),description:()=>(0,a.msg)(`Checks whether two values are different.`,{desc:`Formula function description for inequality operator`}),example:()=>`⟨hierarchy⟩ Burrito type <> 'Sweet'`,exampleHasIcons:!0},ABS:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Absolute value`,{desc:`Formula function label for ABS`}),description:()=>(0,a.msg)(`Returns the absolute value of a number.`,{desc:`Formula function description for ABS`}),example:()=>`ABS(-5.0)`},CEIL:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Round up`,{desc:`Formula function label for CEIL`}),description:()=>(0,a.msg)(`Rounds a number up to the nearest integer.`,{desc:`Formula function description for CEIL`}),example:()=>`CEIL(11.3)`},E:{type:`prefix`,arity:0,label:()=>(0,a.msg)(`Euler's number`,{desc:`Formula function label for E`}),description:()=>(0,a.msg)(`Returns Euler's constant e.`,{desc:`Formula function description for E`}),example:()=>`E()`},EXP:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Exponential`,{desc:`Formula function label for EXP`}),description:()=>(0,a.msg)(`Returns e raised to the specified power.`,{desc:`Formula function description for EXP`}),example:()=>`EXP(11.3)`},FLOOR:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Round down`,{desc:`Formula function label for FLOOR`}),description:()=>(0,a.msg)(`Rounds a number down to the nearest integer.`,{desc:`Formula function description for FLOOR`}),example:()=>`FLOOR(11.7)`},LN:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Natural logarithm`,{desc:`Formula function label for LN`}),description:()=>(0,a.msg)(`Returns the natural logarithm of a number.`,{desc:`Formula function description for LN`}),example:()=>`LN(11.7)`},LOG:{type:`prefix`,arity:2,label:()=>(0,a.msg)(`Logarithm`,{desc:`Formula function label for LOG`}),description:()=>(0,a.msg)(`Returns the logarithm of a number for a specific base.`,{desc:`Formula function description for LOG`}),example:()=>`LOG(3.6, 10)`},PI:{type:`prefix`,arity:0,label:()=>(0,a.msg)(`Pi`,{desc:`Formula function label for PI`}),description:()=>(0,a.msg)(`Returns the mathematical constant pi.`,{desc:`Formula function description for PI`}),example:()=>`PI()`},POW:{type:`prefix`,arity:2,label:()=>(0,a.msg)(`Power`,{desc:`Formula function label for POW`}),description:()=>(0,a.msg)(`Raises a number to a given power.`,{desc:`Formula function description for POW`}),example:()=>`POW(2.35, 2)`},RAND:{type:`prefix`,arity:0,label:()=>(0,a.msg)(`Random number`,{desc:`Formula function label for RAND`}),description:()=>(0,a.msg)(`Returns a random number between 0 and 1.`,{desc:`Formula function description for RAND`}),example:()=>`RAND()`},ROUND:{type:`prefix`,arity:2,label:()=>(0,a.msg)(`Round`,{desc:`Formula function label for ROUND`}),description:()=>(0,a.msg)(`Rounds a number to a specified number of decimal places.`,{desc:`Formula function description for ROUND`}),example:()=>`ROUND(4.567, 1)`},SQRT:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Square root`,{desc:`Formula function label for SQRT`}),description:()=>(0,a.msg)(`Returns the square root of a number.`,{desc:`Formula function description for SQRT`}),example:()=>`SQRT(4)`},CAST:{type:`prefix`,arity:2,label:()=>(0,a.msg)(`Convert value`,{desc:`Formula function label for CAST`}),description:()=>(0,a.msg)(`Converts the first argument to the type given by the second argument. Possible types are 'hierarchy', 'numeric', 'datetime' and 'boolean'.`,{desc:`Formula function description for CAST`}),example:()=>`CAST(⟨numeric⟩ Burrito weight, hierarchy)`,exampleHasIcons:!0},IF:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`If`,{desc:`Formula function label for IF`}),description:()=>(0,a.msg)(`Returns one value when a condition is true and another value when false.`,{desc:`Formula function description for IF`}),example:()=>`IF(⟨numeric⟩ Burrito weight < 200,'Small','Large')`,exampleHasIcons:!0},COALESCE:{type:`prefix`,arity:2,label:()=>(0,a.msg)(`Is empty`,{desc:`Formula function label for COALESCE`}),description:()=>(0,a.msg)(`Returns the first non-null value from the provided arguments.`,{desc:`Formula function description for COALESCE`}),example:()=>`COALESCE(⟨hierarchy⟩ Burrito type, 'Unknown type')`,exampleHasIcons:!0},AND:{type:`infix`,arity:2,label:()=>(0,a.msg)(`Logical and`,{desc:`Formula function label for AND`}),description:()=>(0,a.msg)(`Returns true when both conditions are true.`,{desc:`Formula function description for AND`}),example:()=>`Burrito weight > 50 AND Burrito weight < 75`},OR:{type:`infix`,arity:2,label:()=>(0,a.msg)(`Logical or`,{desc:`Formula function label for OR`}),description:()=>(0,a.msg)(`Returns true when at least one condition is true.`,{desc:`Formula function description for OR`}),example:()=>`Burrito price > 10.1 OR Burrito weight >= 50`},NOT:{type:`prefix_op`,arity:1,label:()=>(0,a.msg)(`Logical not`,{desc:`Formula function label for NOT`}),description:()=>(0,a.msg)(`Negates a boolean condition.`,{desc:`Formula function description for NOT`}),example:()=>`NOT (Burrito type = 'Salty')`},SIN:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Sine`,{desc:`Formula function label for SIN`}),description:()=>(0,a.msg)(`Returns the sine of an angle in radians.`,{desc:`Formula function description for SIN`}),example:()=>`SIN(3.14)`},COS:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Cosine`,{desc:`Formula function label for COS`}),description:()=>(0,a.msg)(`Returns the cosine of an angle in radians.`,{desc:`Formula function description for COS`}),example:()=>`COS(3.14)`},TAN:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Tangent`,{desc:`Formula function label for TAN`}),description:()=>(0,a.msg)(`Returns the tangent of an angle in radians.`,{desc:`Formula function description for TAN`}),example:()=>`TAN(3.14)`},ASIN:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Arcsine`,{desc:`Formula function label for ASIN`}),description:()=>(0,a.msg)(`Returns the arcsine of a number.`,{desc:`Formula function description for ASIN`}),example:()=>`ASIN(3.14)`},ACOS:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Arccosine`,{desc:`Formula function label for ACOS`}),description:()=>(0,a.msg)(`Returns the arccosine of a number.`,{desc:`Formula function description for ACOS`}),example:()=>`ACOS(3.14)`},ATAN:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Arctangent`,{desc:`Formula function label for ATAN`}),description:()=>(0,a.msg)(`Returns the arctangent of a number.`,{desc:`Formula function description for ATAN`}),example:()=>`ATAN(3.14)`},SINH:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Hyperbolic sine`,{desc:`Formula function label for SINH`}),description:()=>(0,a.msg)(`Returns the hyperbolic sine of a number.`,{desc:`Formula function description for SINH`}),example:()=>`SINH(3.14)`},COSH:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Hyperbolic cosine`,{desc:`Formula function label for COSH`}),description:()=>(0,a.msg)(`Returns the hyperbolic cosine of a number.`,{desc:`Formula function description for COSH`}),example:()=>`COSH(3.14)`},TANH:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Hyperbolic tangent`,{desc:`Formula function label for TANH`}),description:()=>(0,a.msg)(`Returns the hyperbolic tangent of a number.`,{desc:`Formula function description for TANH`}),example:()=>`TANH(3.14)`},MEAN:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Mean`,{desc:`Formula function label for MEAN`}),description:()=>(0,a.msg)(`Returns the arithmetic mean of all values in a numeric column. The value is calculated over the entire dataset and does not change when filtering.`,{desc:`Formula function description for MEAN`}),example:()=>`MEAN(⟨numeric⟩ Burrito weight)`,exampleHasIcons:!0},STDDEV:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Standard deviation`,{desc:`Aggregation label`}),description:()=>(0,a.msg)(`Returns the sample standard deviation over all values in a numeric column. The value is calculated over the entire dataset and does not change when filtering.`,{desc:`Formula function description for STDDEV`}),example:()=>`STDDEV(⟨numeric⟩ Burrito weight)`,exampleHasIcons:!0},"||":{type:`infix`,arity:2,label:()=>(0,a.msg)(`Concatenate`,{desc:`Formula function label for concatenate operator`}),description:()=>(0,a.msg)(`Concatenates two strings.`,{desc:`Formula function description for concatenate operator`}),example:()=>`'Tasty' || ' burrito'`},LENGTH:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`String length`,{desc:`Formula function label for LENGTH`}),description:()=>(0,a.msg)(`Returns the number of characters in a string.`,{desc:`Formula function description for LENGTH`}),example:()=>`LENGTH('Burrito')`},LOWER:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Lowercase`,{desc:`Formula function label for LOWER`}),description:()=>(0,a.msg)(`Converts a string to lowercase.`,{desc:`Formula function description for LOWER`}),example:()=>`LOWER('BURRITO')`},UPPER:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Uppercase`,{desc:`Formula function label for UPPER`}),description:()=>(0,a.msg)(`Converts a string to uppercase.`,{desc:`Formula function description for UPPER`}),example:()=>`UPPER('burrito')`},LTRIM:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Trim left`,{desc:`Formula function label for LTRIM`}),description:()=>(0,a.msg)(`Removes leading spaces from a string.`,{desc:`Formula function description for LTRIM`}),example:()=>`LTRIM(' Burrito')`},RTRIM:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Trim right`,{desc:`Formula function label for RTRIM`}),description:()=>(0,a.msg)(`Removes trailing spaces from a string.`,{desc:`Formula function description for RTRIM`}),example:()=>`RTRIM('Burrito ')`},TRIM:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Trim`,{desc:`Formula function label for TRIM`}),description:()=>(0,a.msg)(`Removes leading and trailing spaces from a string.`,{desc:`Formula function description for TRIM`}),example:()=>`TRIM('Burrito ')`},REPLACE:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`Replace text`,{desc:`Formula function label for REPLACE`}),description:()=>(0,a.msg)(`Replaces occurrences of a substring with another substring.`,{desc:`Formula function description for REPLACE`}),example:()=>`REPLACE('Sweet burrito','Sweet', 'Savoury')`},STRPOS:{type:`prefix`,arity:2,label:()=>(0,a.msg)(`Find substring`,{desc:`Formula function label for STRPOS`}),description:()=>(0,a.msg)(`Returns the position of a substring in a string.`,{desc:`Formula function description for STRPOS`}),example:()=>`STRPOS('Sweet burrito','burrito')`},SUBSTR:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`Take substring`,{desc:`Formula function label for SUBSTR`}),description:()=>(0,a.msg)(`Extracts part of a string. The first argument is the text, the second the starting position (the first character is 1; a negative position counts from the end), and the third the length.`,{desc:`Formula function description for SUBSTR`}),example:()=>`SUBSTR('Sweet burrito',7,3)`},SPLIT_PART:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`Split part`,{desc:`Formula function label for SPLIT_PART`}),description:()=>(0,a.msg)(`Splits a string into parts using a delimiter. The first argument is the text to split, the second the delimiter, and the third the position of the part to return (starting from 1).`,{desc:`Formula function description for SPLIT_PART`}),example:()=>`SPLIT_PART('Sweet burrito', ' ', 2)`},NOW:{type:`prefix`,arity:0,label:()=>(0,a.msg)(`Current date and time`,{desc:`Formula function label for NOW`}),description:()=>(0,a.msg)(`Returns the current date and time.`,{desc:`Formula function description for NOW`}),example:()=>`NOW()`},YEAR:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Year`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the year from a date value.`,{desc:`Formula function description for YEAR`}),example:()=>`YEAR('${e}-02-17')`},YEAR_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Year (UTC)`,{desc:`Formula function label for YEAR_UTC`}),description:()=>(0,a.msg)(`Extracts the year from a date value in UTC.`,{desc:`Formula function description for YEAR_UTC`}),example:()=>`YEAR_UTC('${e}-02-17')`},QUARTER:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Quarter`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the quarter from a date value.`,{desc:`Formula function description for QUARTER`}),example:()=>`QUARTER('${e}-02-17')`},QUARTER_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Quarter (UTC)`,{desc:`Formula function label for QUARTER_UTC`}),description:()=>(0,a.msg)(`Extracts the quarter from a date value in UTC.`,{desc:`Formula function description for QUARTER_UTC`}),example:()=>`QUARTER_UTC('${e}-02-17')`},MONTH:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Month`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the month from a date or datetime value.`,{desc:`Formula function description for MONTH`}),example:()=>`MONTH('${e}-02-17 15:36:59')`},MONTH_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Month (UTC)`,{desc:`Formula function label for MONTH_UTC`}),description:()=>(0,a.msg)(`Extracts the month from a date or datetime value in UTC.`,{desc:`Formula function description for MONTH_UTC`}),example:()=>`MONTH_UTC('${e}-02-17 15:36:59')`},WEEK:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Week`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the ISO 8601 week number (1-53) from a date or datetime value.`,{desc:`Formula function description for WEEK`}),example:()=>`WEEK('${e}-02-17 15:36:59')`},WEEK_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Week (UTC)`,{desc:`Formula function label for WEEK_UTC`}),description:()=>(0,a.msg)(`Extracts the ISO 8601 week number (1-53) from a date or datetime value in UTC.`,{desc:`Formula function description for WEEK_UTC`}),example:()=>`WEEK_UTC('${e}-02-17 15:36:59')`},DAY:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Day of month`,{desc:`Formula function label for DAY`}),description:()=>(0,a.msg)(`Extracts the day of month from a date or datetime value.`,{desc:`Formula function description for DAY`}),example:()=>`DAY('${e}-02-17 15:36:59')`},DAY_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Day of month (UTC)`,{desc:`Formula function label for DAY_UTC`}),description:()=>(0,a.msg)(`Extracts the day of month from a date or datetime value in UTC.`,{desc:`Formula function description for DAY_UTC`}),example:()=>`DAY_UTC('${e}-02-17 15:36:59')`},DAY_OF_WEEK:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Day of week`,{desc:`Formula function label for DAY_OF_WEEK`}),description:()=>(0,a.msg)(`Extracts the day of week (1-7, where 1 is Monday) from a date or datetime value.`,{desc:`Formula function description for DAY_OF_WEEK`}),example:()=>`DAY_OF_WEEK('${e}-02-17 15:36:59')`},DAY_OF_WEEK_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Day of week (UTC)`,{desc:`Formula function label for DAY_OF_WEEK_UTC`}),description:()=>(0,a.msg)(`Extracts the day of week (1-7, where 1 is Monday) from a date or datetime value in UTC.`,{desc:`Formula function description for DAY_OF_WEEK_UTC`}),example:()=>`DAY_OF_WEEK_UTC('${e}-02-17 15:36:59')`},DAY_OF_YEAR:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Day of year`,{desc:`Formula function label for DAY_OF_YEAR`}),description:()=>(0,a.msg)(`Extracts the day of year from a date or datetime value.`,{desc:`Formula function description for DAY_OF_YEAR`}),example:()=>`DAY_OF_YEAR('${e}-02-17 15:36:59')`},DAY_OF_YEAR_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Day of year (UTC)`,{desc:`Formula function label for DAY_OF_YEAR_UTC`}),description:()=>(0,a.msg)(`Extracts the day of year from a date or datetime value in UTC.`,{desc:`Formula function description for DAY_OF_YEAR_UTC`}),example:()=>`DAY_OF_YEAR_UTC('${e}-02-17 15:36:59')`},YEAR_OF_WEEK:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Year of ISO week`,{desc:`Formula function label for YEAR_OF_WEEK`}),description:()=>(0,a.msg)(`Extracts the ISO week-numbering year from a date or datetime value.`,{desc:`Formula function description for YEAR_OF_WEEK`}),example:()=>`YEAR_OF_WEEK('${e}-02-17 15:36:59')`},YEAR_OF_WEEK_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Year of ISO week (UTC)`,{desc:`Formula function label for YEAR_OF_WEEK_UTC`}),description:()=>(0,a.msg)(`Extracts the ISO week-numbering year from a date or datetime value in UTC.`,{desc:`Formula function description for YEAR_OF_WEEK_UTC`}),example:()=>`YEAR_OF_WEEK_UTC('${e}-02-17 15:36:59')`},HOUR:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Hour`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the hour from a datetime value.`,{desc:`Formula function description for HOUR`}),example:()=>`HOUR('${e}-02-17 15:36:59')`},HOUR_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Hour (UTC)`,{desc:`Formula function label for HOUR_UTC`}),description:()=>(0,a.msg)(`Extracts the hour from a datetime value in UTC.`,{desc:`Formula function description for HOUR_UTC`}),example:()=>`HOUR_UTC('${e}-02-17 15:36:59')`},MINUTE:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Minute`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the minute from a datetime value.`,{desc:`Formula function description for MINUTE`}),example:()=>`MINUTE('${e}-02-17 15:36:59')`},MINUTE_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Minute (UTC)`,{desc:`Formula function label for MINUTE_UTC`}),description:()=>(0,a.msg)(`Extracts the minute from a datetime value in UTC.`,{desc:`Formula function description for MINUTE_UTC`}),example:()=>`MINUTE_UTC('${e}-02-17 15:36:59')`},SECOND:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Second`,{desc:`Time unit`}),description:()=>(0,a.msg)(`Extracts the second from a datetime value.`,{desc:`Formula function description for SECOND`}),example:()=>`SECOND('${e}-02-17 15:36:59')`},SECOND_UTC:{type:`prefix`,arity:1,label:()=>(0,a.msg)(`Second (UTC)`,{desc:`Formula function label for SECOND_UTC`}),description:()=>(0,a.msg)(`Extracts the second from a datetime value in UTC.`,{desc:`Formula function description for SECOND_UTC`}),example:()=>`SECOND_UTC('${e}-02-17 15:36:59')`},DATE_ADD:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`Add/subtract duration`,{desc:`Formula function label for DATE_ADD`}),description:()=>(0,a.msg)(`Adds a duration to (or subtracts it from) a date or datetime value. The first argument is the unit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'), the second the number of units to add (negative to subtract), and the third the date or datetime to start from.`,{desc:`Formula function description for DATE_ADD`}),example:()=>`DATE_ADD('hour', 2, ⟨datetime⟩ Arrival time)`,exampleHasIcons:!0},DATE_DIFF:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`Difference between dates`,{desc:`Formula function label for DATE_DIFF`}),description:()=>(0,a.msg)(`Returns the difference between two dates or datetimes in the selected unit. The first argument is the unit ('millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter' or 'year'); the difference is calculated from the second date towards the third date.`,{desc:`Formula function description for DATE_DIFF`}),example:()=>`DATE_DIFF('day', ⟨datetime⟩ Arrival date, '${e}-02-17 15:36:59')`,exampleHasIcons:!0},COORDS:{type:`prefix`,arity:3,label:()=>(0,a.msg)(`Coordinates`,{id:`formula-function-label-coords`,desc:`Formula function label for COORDS`}),description:()=>(0,a.msg)(`Builds a geography value from latitude, longitude, and spatial reference.`,{desc:`Formula function description for COORDS`}),example:()=>`COORDS(⟨numeric⟩ Latitude, ⟨numeric⟩ Longitude, 'wgs84')`,exampleHasIcons:!0}}}var N=class extends EventTarget{constructor(...e){super(...e),this.functionDataMap=M(),this.aggregationFunctionDataMap=A(),this.multiStageAggregation=!0,this.nestedAggregation=!0,this.readonly=!1,this.contentLanguage=`en`,this.size=`m`,this.datasets=[],this.loading=!1,this.lastFocusedAggregationWidgetId=null,this.lastFocusedEmptyArgumentId=null,this.pendingFocusAggregationWidgetId=null,this._aggregationWidgets=[]}get aggregationWidgets(){return this._aggregationWidgets}addWidgets(e){!e||e.length===0||(this._aggregationWidgets=[...this._aggregationWidgets,...e],this._notifyWidgetsChanged())}removeWidgets(e){this._aggregationWidgets=this._aggregationWidgets.filter(({widgetId:t})=>!e.includes(t)),this._notifyWidgetsChanged()}updateWidget(e){this._aggregationWidgets=this._aggregationWidgets.map(t=>t.widgetId===e.widgetId?e:t),this._notifyWidgetsChanged()}getWidget(e){return this._aggregationWidgets.find(t=>t.widgetId===e)}clearWidgets(){this._aggregationWidgets.length!==0&&(this._aggregationWidgets=[],this._notifyWidgetsChanged())}_notifyWidgetsChanged(){this.dispatchEvent(new CustomEvent(`widgets-changed`))}setReadonly(e){this.readonly!==e&&(this.readonly=e,this.dispatchEvent(new CustomEvent(`widgets-changed`)))}setLoading(e){this.loading!==e&&(this.loading=e,this.dispatchEvent(new CustomEvent(`refresh-decorations`)))}_markAggregationForFocus(e){let t=e[0];t&&(this.aggregationFunctionDataMap[t.aggregationFunction]?.arity??0)>0&&(this.pendingFocusAggregationWidgetId=t.widgetId)}transformToAggregationWidgetSyntax(e){let t=y(e).match(u);if(!t)return e;let n=!!t[1],r=t.index??0,i=b(e,r+(n?t[1].length:t[0].length)-1+1),a=b(e,r+t[0].length);if(i===-1)return e;let s=e.slice(r+t[0].length,a),c=this.transformToAggregationWidgetSyntax(s),l={widgetId:h(),grouping:t[2]??o.GROUP,aggregationFunction:t[3],content:c};if(l.grouping===o.GROUPINEX){let{includedColumns:t,excludedColumns:n}=x(e.slice(a+1,i));l.includedColumns=t,l.excludedColumns=n}let d=_(l.widgetId),f=`${e.slice(0,r)}${d}${e.slice(i+1)}`;return this.addWidgets([l]),this.transformToAggregationWidgetSyntax(f)}transformToAggregationFunctionSyntax(e){let t=e.match(f);if(!t)return e;let n=t.index??0,r=n+t[0].length-1,i=t[1],a=this.getWidget(i),o=a?this.transformToAggregationFunctionSyntax(v(a,this.aggregationFunctionDataMap)):``,s=`${e.slice(0,n)}${o}${e.slice(r+1)}`;return this.transformToAggregationFunctionSyntax(s)}};Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return _}});
@@ -1,53 +0,0 @@
1
- import type { Placement } from '@luzmo/lucero';
2
- import '@luzmo/lucero/icon';
3
- import '@luzmo/lucero/tooltip';
4
- import { type PropertyValues, type TemplateResult } from 'lit';
5
- import { LuzmoElement } from '../../utils/base';
6
- declare const LuzmoFormulaDraggableField_base: typeof LuzmoElement & {
7
- new (...args: any[]): import("../../utils/base/sized-mixin").SizedElementInterface;
8
- prototype: import("../../utils/base/sized-mixin").SizedElementInterface;
9
- };
10
- /**
11
- * @customElement luzmo-formula-draggable-field
12
- * @description A draggable field that can be dragged onto a drop target or
13
- * activated (double-click / keyboard) to insert its value. An optional icon can
14
- * be slotted (slot name `icon`) after the drag handle. A tooltip is shown on
15
- * hover / focus when either the `description` property is set or rich content is
16
- * provided via the `tooltip` slot (the slot takes precedence); its position is
17
- * controlled by `tooltip-placement`. The `highlight` variant background can be
18
- * themed via `--luzmo-formula-draggable-field-background`.
19
- *
20
- * Slots: `icon` (optional icon after the drag handle), `tooltip` (optional rich
21
- * tooltip content shown on hover / focus).
22
- *
23
- * @fires {CustomEvent<FormulaDraggableFieldActivateEventDetail>} luzmo-formula-draggable-field-activate - Fired on double-click or keyboard activation.
24
- * @fires {CustomEvent<FormulaDraggableFieldDescribeEventDetail>} luzmo-formula-draggable-field-describe - Fired on hover / focus.
25
- */
26
- export declare class LuzmoFormulaDraggableField extends LuzmoFormulaDraggableField_base {
27
- static styles: import("lit").CSSResult;
28
- /** Free-form, consumer-defined category carried in the drag payload and events. */
29
- kind: string;
30
- /** Identifier carried in the drag payload and events. */
31
- value: string;
32
- label: string;
33
- /** Optional explanation shown as a hover / focus tooltip on the field. */
34
- description: string;
35
- /** Placement of the hover / focus tooltip relative to the field. */
36
- tooltipPlacement: Placement;
37
- /** Visual variant: `default` (transparent) or `highlight` (filled background). */
38
- variant: 'default' | 'highlight';
39
- disabled: boolean;
40
- private _hasIcon;
41
- private _hasTooltipSlot;
42
- private _cleanupDraggable;
43
- private _handleIconSlotChange;
44
- private _handleTooltipSlotChange;
45
- disconnectedCallback(): void;
46
- protected firstUpdated(_changedProperties: PropertyValues): void;
47
- private _buildDragPreview;
48
- private _handleClick;
49
- private _activate;
50
- private _describe;
51
- protected render(): TemplateResult;
52
- }
53
- export {};
@@ -1,8 +0,0 @@
1
- import { LuzmoFormulaDraggableField } from './formula-draggable-field';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'luzmo-formula-draggable-field': LuzmoFormulaDraggableField;
5
- }
6
- }
7
- export { LuzmoFormulaDraggableField } from './formula-draggable-field';
8
- export type { FormulaDraggableFieldPayload, FormulaDraggableFieldActivateEventDetail, FormulaDraggableFieldDescribeEventDetail } from './types';