@luzmo/analytics-components-kit 1.0.1-alpha.6 → 1.0.1-alpha.7

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 (120) hide show
  1. package/components/{async-directive-DWRUSKKF-CNTJHpgh.js → async-directive-DWRUSKKF-CmOVMf6V.js} +1 -1
  2. package/components/{async-directive-DWRUSKKF-C2JoUGYR.cjs → async-directive-DWRUSKKF-D4itZyzc.cjs} +1 -1
  3. package/components/{button-base-B7v4eeRh-CjngVDsD.cjs → button-base-B7v4eeRh-BKKUK3x0.cjs} +1 -1
  4. package/components/{button-base-B7v4eeRh-B4fczZlv.js → button-base-B7v4eeRh-D3-GH03o.js} +3 -3
  5. package/components/{checkbox-mixin-BFGTmw17-BR4ufh0S.js → checkbox-mixin-BFGTmw17-C34LMsgu.js} +2 -2
  6. package/components/{checkbox-mixin-BFGTmw17-lIHmn1jk.cjs → checkbox-mixin-BFGTmw17-CCjGd0nS.cjs} +1 -1
  7. package/components/{directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs → directive-helpers-nlQRAaQt-3kEWF2GV.cjs} +1 -1
  8. package/components/{directive-helpers-nlQRAaQt-arNFWD5u.js → directive-helpers-nlQRAaQt-I6T4KZKW.js} +1 -1
  9. package/components/display-settings/index.cjs +3 -3
  10. package/components/display-settings/index.js +11 -11
  11. package/components/display-settings-binning/index.cjs +2 -2
  12. package/components/display-settings-binning/index.js +11 -11
  13. package/components/display-settings-datetime/index.cjs +1 -1
  14. package/components/display-settings-datetime/index.js +1 -1
  15. package/components/display-settings-grand-totals/index.cjs +2 -2
  16. package/components/display-settings-grand-totals/index.js +12 -12
  17. package/components/display-settings-numeric/index.cjs +2 -2
  18. package/components/display-settings-numeric/index.js +36 -36
  19. package/components/display-settings-period-over-period/index.cjs +2 -2
  20. package/components/display-settings-period-over-period/index.js +17 -17
  21. package/components/draggable-data-item/index.cjs +1 -1
  22. package/components/draggable-data-item/index.js +2 -2
  23. package/components/draggable-data-item-level/index.cjs +5 -5
  24. package/components/draggable-data-item-level/index.js +85 -85
  25. package/components/droppable-slot/index.cjs +3 -3
  26. package/components/droppable-slot/index.js +5 -5
  27. package/components/edit-item/index.cjs +2 -2
  28. package/components/edit-item/index.js +17 -17
  29. package/components/edit-option/index.cjs +1 -1
  30. package/components/edit-option/index.js +3 -3
  31. package/components/edit-option-action-button-group/index.cjs +2 -2
  32. package/components/edit-option-action-button-group/index.js +37 -37
  33. package/components/{edit-option-base-Ck3NFAli.cjs → edit-option-base-Boz7TNRZ.cjs} +1 -1
  34. package/components/{edit-option-base-w3UBiCoU.js → edit-option-base-qePiIQWd.js} +4 -4
  35. package/components/edit-option-color-picker/index.cjs +15 -15
  36. package/components/edit-option-color-picker/index.js +58 -58
  37. package/components/edit-option-multi-language-field/index.cjs +1 -1
  38. package/components/edit-option-multi-language-field/index.js +3 -3
  39. package/components/edit-option-number-field/index.cjs +1 -1
  40. package/components/edit-option-number-field/index.js +3 -3
  41. package/components/edit-option-picker/index.cjs +1 -1
  42. package/components/edit-option-picker/index.js +4 -4
  43. package/components/edit-option-positions-number-field/index.cjs +3 -3
  44. package/components/edit-option-positions-number-field/index.js +7 -7
  45. package/components/edit-option-radio-button-group/index.cjs +1 -1
  46. package/components/edit-option-radio-button-group/index.js +4 -4
  47. package/components/edit-option-slider/index.cjs +1 -1
  48. package/components/edit-option-slider/index.js +3 -3
  49. package/components/edit-option-switch/index.cjs +1 -1
  50. package/components/edit-option-switch/index.js +4 -4
  51. package/components/edit-option-text-field/index.cjs +1 -1
  52. package/components/edit-option-text-field/index.js +3 -3
  53. package/components/{index-DeyQ1JGg.js → en-DMOM5QNw.js} +411 -404
  54. package/components/{en-GB-BMvD7axC.js → en-GB-BPwcXBDg.js} +1 -1
  55. package/components/{en-BvtH5B9A.cjs → en-GB-Cp6Zq89F.cjs} +1 -1
  56. package/components/en-o_2c6hRN.cjs +202 -0
  57. package/components/{if-defined-aQZR75uI.cjs → if-defined-8BOch-oC.cjs} +1 -1
  58. package/components/{if-defined-BSAr_4u4-CVDyXUmc.js → if-defined-BSAr_4u4-4Ys8VE7T.js} +1 -1
  59. package/components/{if-defined-BSAr_4u4-CNmaFBUP.cjs → if-defined-BSAr_4u4-gECNwmTC.cjs} +1 -1
  60. package/components/{if-defined-_S7apvH1.js → if-defined-Bv6MRdSW.js} +1 -1
  61. package/components/{index-f8GtjOLn.cjs → index-86cIx1Ql.cjs} +1 -1
  62. package/components/{index-aLxc3xA_.js → index-B3ve6cAj.js} +19 -19
  63. package/components/{index-Pmv-d4iw.js → index-B5Wvyv9s.js} +20 -20
  64. package/components/{index-FSUV_4nO.js → index-BBrer3_5.js} +1 -1
  65. package/components/{index-DDleIdd8.cjs → index-BJVxTeoi.cjs} +1 -1
  66. package/components/{index-DiSrnT1e.js → index-BUSWsm5N.js} +10 -10
  67. package/components/{index-CHLcEawI.js → index-BVX_ozT9.js} +2 -2
  68. package/components/{index-fbS4OrPM.js → index-BYfDERr7.js} +3 -3
  69. package/components/{index-BuW8doNV.js → index-Bee1uunR.js} +4 -4
  70. package/components/{index-C_xCeCrL.cjs → index-BrEDK88k.cjs} +6 -6
  71. package/components/{index-CdHFj3ra.cjs → index-Bt5nP_6w.cjs} +1 -1
  72. package/components/{index-DC2Pby0z.cjs → index-ByjLd3bT.cjs} +2 -2
  73. package/components/{index-Ci0Pe5UA.js → index-C8IL2IZ6.js} +4 -4
  74. package/components/{index-CMvLpPKD-CgGXdNKs.js → index-CMvLpPKD-D5MpMVYZ.js} +15 -15
  75. package/components/{index-CMvLpPKD-DoxJRhRP.cjs → index-CMvLpPKD-Yf1PLWrj.cjs} +6 -6
  76. package/components/{index-DUlH3hbL.js → index-CXIT0cYY.js} +5 -5
  77. package/components/{index-dJXOanPE.js → index-CdCtJpK9.js} +6 -6
  78. package/components/{index-B0ZqIWfU.cjs → index-CdUTqQ3L.cjs} +2 -2
  79. package/components/{index-BEi8DTwW.cjs → index-CdpyJ7hp.cjs} +1 -1
  80. package/components/{index-C44nA7Wn.js → index-CfEn3fIT.js} +3 -3
  81. package/components/{index-BxFGd_xp.cjs → index-D8qmoauu.cjs} +1 -1
  82. package/components/{index-DxXcY78P.cjs → index-DEVOZNSc.cjs} +1 -1
  83. package/components/{index-CKbGBBId.cjs → index-DUO13KGl.cjs} +1 -1
  84. package/components/{index-C_Cxv6xn.js → index-DVAsMiOm.js} +4 -4
  85. package/components/{index-Dkom_Qy5.js → index-DnozlYag.js} +1 -1
  86. package/components/{index-ByfMhxDr.cjs → index-h9T5DPIm.cjs} +2 -2
  87. package/components/{index-Bti4K2L2.cjs → index-i8GaIN7i.cjs} +1 -1
  88. package/components/{index-EkTLplXl.cjs → index-iYpAy-Kg.cjs} +4 -4
  89. package/components/{index-DMbzEC_s.js → index-ymMEPngt.js} +23 -23
  90. package/components/{index-DLrQ4hc5.cjs → index-zuArOtOt.cjs} +2 -2
  91. package/components/index.cjs +1 -1
  92. package/components/index.js +1 -1
  93. package/components/{language-resolution-8yZa5r_P-CLZhU076.js → language-resolution-8yZa5r_P-Bn0bYosv.js} +3 -3
  94. package/components/{language-resolution-8yZa5r_P-CpbzT4ej.cjs → language-resolution-8yZa5r_P-FqQChUDW.cjs} +1 -1
  95. package/components/luzmo-icons-BE2T8vWu.js +613 -0
  96. package/components/luzmo-icons-XsFsTAl3.cjs +31 -0
  97. package/components/{observe-slot-text-ggb4kKgY-DqsddtTd.cjs → observe-slot-text-ggb4kKgY-DBVrKDBD.cjs} +1 -1
  98. package/components/{observe-slot-text-ggb4kKgY-yUxhPbbJ.js → observe-slot-text-ggb4kKgY-o5QFWUeA.js} +2 -2
  99. package/components/{popover-DlkzrLpl-TYw7ejnD.cjs → popover-DlkzrLpl-BhTvuvTu.cjs} +1 -1
  100. package/components/{popover-DlkzrLpl-DFIvgCjc.js → popover-DlkzrLpl-CCwcTIXr.js} +3 -3
  101. package/components/{property-ChsOQ1Yj.cjs → property-0L4eB11h.cjs} +17 -17
  102. package/components/{property-CXJD1jOW.js → property-B2F7x7Cz.js} +301 -300
  103. package/components/{sized-mixin-BxMraZLS-Dc6r-Wg4.js → sized-mixin-BxMraZLS-B_y0PzR3.js} +1 -1
  104. package/components/{sized-mixin-BxMraZLS-w9I35lP7.cjs → sized-mixin-BxMraZLS-DEFWqo8f.cjs} +1 -1
  105. package/components/slot-menu/index.cjs +4 -4
  106. package/components/slot-menu/index.js +4 -4
  107. package/components/slot-menu-list/index.cjs +3 -3
  108. package/components/slot-menu-list/index.js +12 -12
  109. package/components/{state-DLrsMPet.cjs → state-BFA93Sye.cjs} +1 -1
  110. package/components/{state-DwFtyqCc.js → state-Joaryhrg.js} +1 -1
  111. package/components/{task-CgK9ztaw.cjs → task-B8yMzxui.cjs} +1 -1
  112. package/components/{task-DYLITx7R.js → task-Cr9aRIbV.js} +1 -1
  113. package/components/{text-field-CvKSS59x-BzSqtt2_.js → text-field-CvKSS59x-Dn0_1HO7.js} +5 -5
  114. package/components/{text-field-CvKSS59x-D0MM0fDH.cjs → text-field-CvKSS59x-E9LQElL4.cjs} +3 -3
  115. package/package.json +1 -1
  116. package/components/en-CN4CDOzo.js +0 -23
  117. package/components/en-GB-DrOGXwdM.cjs +0 -20
  118. package/components/en-US-BvtH5B9A.cjs +0 -20
  119. package/components/en-US-CN4CDOzo.js +0 -23
  120. package/components/index-CQjWiSIp.cjs +0 -202
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { $, r as f, s as h } from "./directive-helpers-nlQRAaQt-arNFWD5u.js";
20
+ import { $, r as f, s as h } from "./directive-helpers-nlQRAaQt-I6T4KZKW.js";
21
21
  /*! * Lucero - The design system for Luzmo.
22
22
  *
23
23
  * Copyright © 2025 Luzmo
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";const u=require("./directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs");/*! * Lucero - The design system for Luzmo.
20
+ "use strict";const u=require("./directive-helpers-nlQRAaQt-3kEWF2GV.cjs");/*! * Lucero - The design system for Luzmo.
21
21
  *
22
22
  * Copyright © 2025 Luzmo
23
23
  * All rights reserved.
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";const s=require("./property-ChsOQ1Yj.cjs"),c=require("./if-defined-BSAr_4u4-CNmaFBUP.cjs"),h=require("./observe-slot-text-ggb4kKgY-DqsddtTd.cjs");/*! * Lucero - The design system for Luzmo.
20
+ "use strict";const s=require("./property-0L4eB11h.cjs"),c=require("./if-defined-BSAr_4u4-gECNwmTC.cjs"),h=require("./observe-slot-text-ggb4kKgY-DBVrKDBD.cjs");/*! * Lucero - The design system for Luzmo.
21
21
  *
22
22
  * Copyright © 2025 Luzmo
23
23
  * All rights reserved.
@@ -17,9 +17,9 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { h as c, H as i, r as u, R as h } from "./property-CXJD1jOW.js";
21
- import { d as p } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
22
- import { y as d, b } from "./observe-slot-text-ggb4kKgY-yUxhPbbJ.js";
20
+ import { h as c, H as i, r as u, R as h } from "./property-B2F7x7Cz.js";
21
+ import { d as p } from "./if-defined-BSAr_4u4-4Ys8VE7T.js";
22
+ import { y as d, b } from "./observe-slot-text-ggb4kKgY-o5QFWUeA.js";
23
23
  /*! * Lucero - The design system for Luzmo.
24
24
  *
25
25
  * Copyright © 2025 Luzmo
@@ -17,8 +17,8 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { R as i, H as d } from "./property-CXJD1jOW.js";
21
- import { d as a, m as p } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
20
+ import { R as i, H as d } from "./property-B2F7x7Cz.js";
21
+ import { d as a, m as p } from "./if-defined-BSAr_4u4-4Ys8VE7T.js";
22
22
  /*! * Lucero - The design system for Luzmo.
23
23
  *
24
24
  * Copyright © 2025 Luzmo
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";const c=require("./property-ChsOQ1Yj.cjs"),d=require("./if-defined-BSAr_4u4-CNmaFBUP.cjs");/*! * Lucero - The design system for Luzmo.
20
+ "use strict";const c=require("./property-0L4eB11h.cjs"),d=require("./if-defined-BSAr_4u4-gECNwmTC.cjs");/*! * Lucero - The design system for Luzmo.
21
21
  *
22
22
  * Copyright © 2025 Luzmo
23
23
  * All rights reserved.
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";const i=require("./property-ChsOQ1Yj.cjs");/*! * Lucero - The design system for Luzmo.
20
+ "use strict";const i=require("./property-0L4eB11h.cjs");/*! * Lucero - The design system for Luzmo.
21
21
  *
22
22
  * Copyright © 2025 Luzmo
23
23
  * All rights reserved.
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { R as i } from "./property-CXJD1jOW.js";
20
+ import { R as i } from "./property-B2F7x7Cz.js";
21
21
  /*! * Lucero - The design system for Luzmo.
22
22
  *
23
23
  * Copyright © 2025 Luzmo
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../task-CgK9ztaw.cjs");require("../index-DxXcY78P.cjs");require("../index-CdHFj3ra.cjs");require("../index-ByfMhxDr.cjs");require("../index-f8GtjOLn.cjs");require("../index-Bti4K2L2.cjs");require("../index-B0ZqIWfU.cjs");const t=require("../property-ChsOQ1Yj.cjs"),g=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),c=require("../state-DLrsMPet.cjs"),m=require("../query-D5qWDopr.cjs"),a=require("@luzmo/icons"),v=":host{font-family:var(--luzmo-display-settings-font-family, var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}.settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap))}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin, var(--display-settings-ids-container-vertical-margin)) 0}.setting{display:flex;align-items:center}.label-action-container{display:flex;align-items:center;justify-content:space-between;gap:var(--luzmo-display-settings-info-to-remove-icon-gap, var(--display-settings-info-to-remove-icon-gap))}.id-button,.remove-button{outline:none;cursor:pointer;border:none;background:none;font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.remove-button{display:block;width:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));height:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));border-radius:var(--luzmo-display-settings-remove-button-border-radius, 50%)}.remove-button:hover{background-color:var(--luzmo-display-settings-remove-button-background-color-hover, var(--luzmo-background-color-hover))}.remove-button:active,.remove-button:focus{background-color:var(--luzmo-display-settings-remove-button-background-color-down, var(--luzmo-background-color-down))}.remove-button:focus-visible{box-shadow:0 0 0 var(--luzmo-display-settings-remove-button-indicator-thickness, var(--display-settings-remove-button-indicator-thickness)) var(--highcontrast-remove-button-indicator-color, var(--luzmo-display-settings-remove-button-indicator-color, var(--display-settings-remove-button-indicator-color)))}.ids-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap));border-radius:50%}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform, var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size, var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color, var(--display-settings-id-label-color))}:host{--display-settings-font-family: var(--luzmo-font-family);--display-settings-id-label-text-transform: uppercase;--display-settings-id-label-color: var(--luzmo-secondary);--display-settings-remove-button-indicator-color: var(--luzmo-primary);--display-settings-remove-button-indicator-thickness: var( --luzmo-border-width )}:host{--display-settings-font-size: var(--luzmo-font-size);--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-5);--display-settings-remove-button-size: var(--luzmo-component-height)}:host([size=s]){--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-4);--display-settings-remove-button-size: var(--luzmo-component-height-s)}:host([size=l]){--display-settings-id-label-font-size: var(--luzmo-font-size);--display-settings-font-size: var(--luzmo-font-size-l);--display-settings-gap: var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-remove-button-size: var(--luzmo-component-height-l)}:host([size=xl]){--display-settings-id-label-font-size: var(--luzmo-font-size-l);--display-settings-font-size: var(--luzmo-font-size-xl);--display-settings-gap: var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--display-settings-remove-button-size: var(--luzmo-component-height-xl)}";var h=Object.defineProperty,n=(l,e,o,d)=>{for(var i=void 0,r=l.length-1,u;r>=0;r--)(u=l[r])&&(i=u(e,o,i)||i);return i&&h(e,o,i),i};class s extends g.m(t.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this._loadDisplaySettings=new p.h(this,{task:async([e,o,d])=>{const i=[];this.grandTotals&&i.push("grandTotals"),this.periodOverPeriod&&i.push("periodOverPeriod"),(o==="numeric"||o==="mixed"&&(e==null?void 0:e.type)==="numeric")&&i.push("numeric"),o!=="numeric"&&(e==null?void 0:e.type)==="datetime"&&i.push("datetime"),!["numeric","mixed"].includes(o??"")&&(e==null?void 0:e.type)==="numeric"&&!this.binningDisabled&&i.push("binning"),i.length>0&&!d&&(i.includes("numeric")&&!this._settingsTypeLoaded.numeric?(await Promise.resolve().then(()=>require("../display-settings-numeric/index.cjs")),this._settingsTypeLoaded.numeric=!0):i.includes("datetime")&&!this._settingsTypeLoaded.datetime?(await Promise.resolve().then(()=>require("../display-settings-datetime/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0):i.includes("binning")&&!this._settingsTypeLoaded.binning?(await Promise.resolve().then(()=>require("../display-settings-binning/index.cjs")),this._settingsTypeLoaded.binning=!0):i.includes("grandTotals")&&!this._settingsTypeLoaded.grandTotals?(await Promise.resolve().then(()=>require("../display-settings-grand-totals/index.cjs")),this._settingsTypeLoaded.grandTotals=!0):i.includes("periodOverPeriod")&&!this._settingsTypeLoaded.periodOverPeriod&&(await Promise.resolve().then(()=>require("../display-settings-period-over-period/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0))},args:()=>[this.slotContent,this.slotType,this.hideDisplaySettings]}),this.language="en",this.contentLanguage="en",this.slotType="numeric",this.slotContent={},this._showIds=!1,this.measureColumns=[],this._settingsTypeLoaded={binning:!1,datetime:!1,numeric:!1,grandTotals:!1,periodOverPeriod:!1,hierarchy:!0},this._currentSlotContent={}}static get styles(){return[t.r$1(v)]}willUpdate(e){e.has("slotContent")&&(this._currentSlotContent=structuredClone(this.slotContent))}_onSlotContentChange(e){e.stopPropagation(),e.preventDefault(),this._currentSlotContent=structuredClone(e.detail.slotContent),this._sendEvent()}_onLabelChange(){this._currentSlotContent=structuredClone(this._currentSlotContent),this._currentSlotContent.label=this._multiLanguageFieldElement.value||{},this._sendEvent()}_sendEvent(){this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this._currentSlotContent}}}))}_removeEvent(){this.dispatchEvent(new CustomEvent("remove-slot-content",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}_toggleIds(){this._showIds=!this._showIds}_renderDisplaySettings(){return t.x`<div class="settings-container">
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../task-B8yMzxui.cjs");require("../index-DEVOZNSc.cjs");require("../index-Bt5nP_6w.cjs");require("../index-h9T5DPIm.cjs");require("../index-86cIx1Ql.cjs");require("../index-i8GaIN7i.cjs");require("../index-CdUTqQ3L.cjs");const t=require("../property-0L4eB11h.cjs"),g=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),c=require("../state-BFA93Sye.cjs"),m=require("../query-D5qWDopr.cjs"),a=require("../luzmo-icons-XsFsTAl3.cjs"),v=":host{font-family:var(--luzmo-display-settings-font-family, var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}.settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap))}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin, var(--display-settings-ids-container-vertical-margin)) 0}.setting{display:flex;align-items:center}.label-action-container{display:flex;align-items:center;justify-content:space-between;gap:var(--luzmo-display-settings-info-to-remove-icon-gap, var(--display-settings-info-to-remove-icon-gap))}.id-button,.remove-button{outline:none;cursor:pointer;border:none;background:none;font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.remove-button{display:block;width:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));height:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));border-radius:var(--luzmo-display-settings-remove-button-border-radius, 50%)}.remove-button:hover{background-color:var(--luzmo-display-settings-remove-button-background-color-hover, var(--luzmo-background-color-hover))}.remove-button:active,.remove-button:focus{background-color:var(--luzmo-display-settings-remove-button-background-color-down, var(--luzmo-background-color-down))}.remove-button:focus-visible{box-shadow:0 0 0 var(--luzmo-display-settings-remove-button-indicator-thickness, var(--display-settings-remove-button-indicator-thickness)) var(--highcontrast-remove-button-indicator-color, var(--luzmo-display-settings-remove-button-indicator-color, var(--display-settings-remove-button-indicator-color)))}.ids-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap));border-radius:50%}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform, var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size, var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color, var(--display-settings-id-label-color))}:host{--display-settings-font-family: var(--luzmo-font-family);--display-settings-id-label-text-transform: uppercase;--display-settings-id-label-color: var(--luzmo-secondary);--display-settings-remove-button-indicator-color: var(--luzmo-primary);--display-settings-remove-button-indicator-thickness: var( --luzmo-border-width )}:host{--display-settings-font-size: var(--luzmo-font-size);--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-5);--display-settings-remove-button-size: var(--luzmo-component-height)}:host([size=s]){--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-4);--display-settings-remove-button-size: var(--luzmo-component-height-s)}:host([size=l]){--display-settings-id-label-font-size: var(--luzmo-font-size);--display-settings-font-size: var(--luzmo-font-size-l);--display-settings-gap: var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-remove-button-size: var(--luzmo-component-height-l)}:host([size=xl]){--display-settings-id-label-font-size: var(--luzmo-font-size-l);--display-settings-font-size: var(--luzmo-font-size-xl);--display-settings-gap: var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--display-settings-remove-button-size: var(--luzmo-component-height-xl)}";var h=Object.defineProperty,n=(l,e,o,d)=>{for(var i=void 0,r=l.length-1,u;r>=0;r--)(u=l[r])&&(i=u(e,o,i)||i);return i&&h(e,o,i),i};class s extends g.m(t.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this._loadDisplaySettings=new p.h(this,{task:async([e,o,d])=>{const i=[];this.grandTotals&&i.push("grandTotals"),this.periodOverPeriod&&i.push("periodOverPeriod"),(o==="numeric"||o==="mixed"&&(e==null?void 0:e.type)==="numeric")&&i.push("numeric"),o!=="numeric"&&(e==null?void 0:e.type)==="datetime"&&i.push("datetime"),!["numeric","mixed"].includes(o??"")&&(e==null?void 0:e.type)==="numeric"&&!this.binningDisabled&&i.push("binning"),i.length>0&&!d&&(i.includes("numeric")&&!this._settingsTypeLoaded.numeric?(await Promise.resolve().then(()=>require("../display-settings-numeric/index.cjs")),this._settingsTypeLoaded.numeric=!0):i.includes("datetime")&&!this._settingsTypeLoaded.datetime?(await Promise.resolve().then(()=>require("../display-settings-datetime/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0):i.includes("binning")&&!this._settingsTypeLoaded.binning?(await Promise.resolve().then(()=>require("../display-settings-binning/index.cjs")),this._settingsTypeLoaded.binning=!0):i.includes("grandTotals")&&!this._settingsTypeLoaded.grandTotals?(await Promise.resolve().then(()=>require("../display-settings-grand-totals/index.cjs")),this._settingsTypeLoaded.grandTotals=!0):i.includes("periodOverPeriod")&&!this._settingsTypeLoaded.periodOverPeriod&&(await Promise.resolve().then(()=>require("../display-settings-period-over-period/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0))},args:()=>[this.slotContent,this.slotType,this.hideDisplaySettings]}),this.language="en",this.contentLanguage="en",this.slotType="numeric",this.slotContent={},this._showIds=!1,this.measureColumns=[],this._settingsTypeLoaded={binning:!1,datetime:!1,numeric:!1,grandTotals:!1,periodOverPeriod:!1,hierarchy:!0},this._currentSlotContent={}}static get styles(){return[t.r$1(v)]}willUpdate(e){e.has("slotContent")&&(this._currentSlotContent=structuredClone(this.slotContent))}_onSlotContentChange(e){e.stopPropagation(),e.preventDefault(),this._currentSlotContent=structuredClone(e.detail.slotContent),this._sendEvent()}_onLabelChange(){this._currentSlotContent=structuredClone(this._currentSlotContent),this._currentSlotContent.label=this._multiLanguageFieldElement.value||{},this._sendEvent()}_sendEvent(){this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this._currentSlotContent}}}))}_removeEvent(){this.dispatchEvent(new CustomEvent("remove-slot-content",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}_toggleIds(){this._showIds=!this._showIds}_renderDisplaySettings(){return t.x`<div class="settings-container">
21
21
  <div class="settings-row">
22
22
  <div class="setting">
23
23
  <div class="label-container">
@@ -34,7 +34,7 @@
34
34
  </div>
35
35
  <div class="label-action-container">
36
36
  <button class="id-button" @click=${this._toggleIds}>
37
- ${a.luzmoIcon(a.luzmoInfoCircleOutline)}
37
+ ${a.O2(a.p1)}
38
38
  <luzmo-tooltip self-managed placement="top" size=${this.size}>
39
39
  Show dataset and column id's
40
40
  </luzmo-tooltip>
@@ -43,7 +43,7 @@
43
43
  class="remove-button"
44
44
  @click=${this._removeEvent}
45
45
  >
46
- ${a.luzmoIcon(a.luzmoTrash)}
46
+ ${a.O2(a.v1)}
47
47
  <luzmo-tooltip
48
48
  self-managed
49
49
  placement="top"
@@ -17,18 +17,18 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { h as g } from "../task-DYLITx7R.js";
21
- import "../index-CHLcEawI.js";
22
- import "../index-fbS4OrPM.js";
23
- import "../index-DMbzEC_s.js";
24
- import "../index-C_Cxv6xn.js";
25
- import "../index-C44nA7Wn.js";
26
- import "../index-DiSrnT1e.js";
27
- import { k as p, a as z, x as n, n as s } from "../property-CXJD1jOW.js";
28
- import { m as h, d as v } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
29
- import { r as b } from "../state-DwFtyqCc.js";
20
+ import { h as g } from "../task-Cr9aRIbV.js";
21
+ import "../index-BVX_ozT9.js";
22
+ import "../index-BYfDERr7.js";
23
+ import "../index-ymMEPngt.js";
24
+ import "../index-DVAsMiOm.js";
25
+ import "../index-CfEn3fIT.js";
26
+ import "../index-BUSWsm5N.js";
27
+ import { k as p, a as z, x as n, n as s } from "../property-B2F7x7Cz.js";
28
+ import { m as h, d as v } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
29
+ import { r as b } from "../state-Joaryhrg.js";
30
30
  import { e as f } from "../query-Ddbd72Um.js";
31
- import { luzmoIcon as m, luzmoInfoCircleOutline as y, luzmoTrash as x } from "@luzmo/icons";
31
+ import { O as m, p as y, v as x } from "../luzmo-icons-BE2T8vWu.js";
32
32
  const c = () => {
33
33
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
34
34
  const l = document.createElement("style");
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-DLrQ4hc5.cjs");require("../index-CdHFj3ra.cjs");require("../index-ByfMhxDr.cjs");require("../index-EkTLplXl.cjs");const n=require("../property-ChsOQ1Yj.cjs"),g=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),u=require("@luzmo/icons"),b=require("../state-DLrsMPet.cjs"),h=require("../query-D5qWDopr.cjs"),c=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";var p=Object.defineProperty,o=(a,i,l,r)=>{for(var e=void 0,t=a.length-1,d;t>=0;t--)(d=a[t])&&(e=d(i,l,e)||e);return e&&p(i,l,e),e};class s extends g.m(n.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[n.r$1(c)]}willUpdate(i){var l,r,e,t;i.has("slotContent")&&(this._enabled=((r=(l=this.slotContent)==null?void 0:l.bins)==null?void 0:r.enabled)??!1,this._binWidth=((t=(e=this.slotContent)==null?void 0:e.bins)==null?void 0:t.number)??10)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){const i={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:i}}}))}renderBinWidth(){return n.x`<div class="setting">
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-zuArOtOt.cjs");require("../index-Bt5nP_6w.cjs");require("../index-h9T5DPIm.cjs");require("../index-iYpAy-Kg.cjs");const n=require("../property-0L4eB11h.cjs"),g=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),u=require("../luzmo-icons-XsFsTAl3.cjs"),b=require("../state-BFA93Sye.cjs"),h=require("../query-D5qWDopr.cjs"),c=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";var p=Object.defineProperty,o=(a,i,l,r)=>{for(var e=void 0,t=a.length-1,d;t>=0;t--)(d=a[t])&&(e=d(i,l,e)||e);return e&&p(i,l,e),e};class s extends g.m(n.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[n.r$1(c)]}willUpdate(i){var l,r,e,t;i.has("slotContent")&&(this._enabled=((r=(l=this.slotContent)==null?void 0:l.bins)==null?void 0:r.enabled)??!1,this._binWidth=((t=(e=this.slotContent)==null?void 0:e.bins)==null?void 0:t.number)??10)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){const i={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:i}}}))}renderBinWidth(){return n.x`<div class="setting">
21
21
  <luzmo-field-label for="bin-width">Bin width</luzmo-field-label>
22
22
  <luzmo-number-field
23
23
  id="bin-width"
@@ -41,7 +41,7 @@
41
41
  >
42
42
  <luzmo-icon
43
43
  slot="icon"
44
- .icon=${this._enabled?u.luzmoCheckboxChecked:u.luzmoCheckbox}
44
+ .icon=${this._enabled?u.C0:u.h0}
45
45
  ></luzmo-icon>
46
46
  ${this._enabled?"Enabled":"Disabled"}
47
47
  </luzmo-action-button>
@@ -17,29 +17,29 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import "../index-dJXOanPE.js";
21
- import "../index-fbS4OrPM.js";
22
- import "../index-DMbzEC_s.js";
23
- import "../index-aLxc3xA_.js";
24
- import { k as d, a as z, x as m, n as a } from "../property-CXJD1jOW.js";
25
- import { m as g, d as b } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
26
- import { luzmoCheckboxChecked as p, luzmoCheckbox as h } from "@luzmo/icons";
27
- import { r as f } from "../state-DwFtyqCc.js";
20
+ import "../index-CdCtJpK9.js";
21
+ import "../index-BYfDERr7.js";
22
+ import "../index-ymMEPngt.js";
23
+ import "../index-B3ve6cAj.js";
24
+ import { k as c, a as z, x as m, n as a } from "../property-B2F7x7Cz.js";
25
+ import { m as g, d as b } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
26
+ import { C as p, h } from "../luzmo-icons-BE2T8vWu.js";
27
+ import { r as f } from "../state-Joaryhrg.js";
28
28
  import { e as v } from "../query-Ddbd72Um.js";
29
- const c = () => {
29
+ const d = () => {
30
30
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
31
31
  const e = document.createElement("style");
32
32
  e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(e);
33
33
  }
34
34
  };
35
- c();
35
+ d();
36
36
  const x = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";
37
37
  var y = Object.defineProperty, r = (e, l, t, s) => {
38
38
  for (var o = void 0, i = e.length - 1, u; i >= 0; i--)
39
39
  (u = e[i]) && (o = u(l, t, o) || o);
40
40
  return o && y(l, t, o), o;
41
41
  };
42
- class n extends g(d, {
42
+ class n extends g(c, {
43
43
  validSizes: Object.values(b)
44
44
  }) {
45
45
  constructor() {
@@ -17,4 +17,4 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CQjWiSIp.cjs");exports.LuzmoDisplaySettingsDatetime=e.LuzmoDisplaySettingsDatetime;
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../en-o_2c6hRN.cjs");exports.LuzmoDisplaySettingsDatetime=e.LuzmoDisplaySettingsDatetime;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { L as u } from "../index-DeyQ1JGg.js";
20
+ import { L as u } from "../en-DMOM5QNw.js";
21
21
  const l = () => {
22
22
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
23
23
  const o = document.createElement("style");
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-DLrQ4hc5.cjs");require("../index-CdHFj3ra.cjs");require("../index-ByfMhxDr.cjs");const n=require("../property-ChsOQ1Yj.cjs"),d=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),g=require("@luzmo/icons"),c=require("../state-DLrsMPet.cjs"),u=require("../if-defined-aQZR75uI.cjs"),p=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";var m=Object.defineProperty,o=(l,t,s,h)=>{for(var e=void 0,i=l.length-1,r;i>=0;i--)(r=l[i])&&(e=r(t,s,e)||e);return e&&m(t,s,e),e};class a extends d.m(n.kt,{validSizes:Object.values(d.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r$1(p)]}willUpdate(t){var s;t.has("slotContent")&&(this._enabled=((s=this.slotContent)==null?void 0:s.grandTotals)??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){const t={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:t}}}))}render(){return n.x`<div class="settings-container">
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-zuArOtOt.cjs");require("../index-Bt5nP_6w.cjs");require("../index-h9T5DPIm.cjs");const n=require("../property-0L4eB11h.cjs"),d=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),g=require("../luzmo-icons-XsFsTAl3.cjs"),c=require("../state-BFA93Sye.cjs"),u=require("../if-defined-8BOch-oC.cjs"),p=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";var m=Object.defineProperty,o=(l,t,s,h)=>{for(var e=void 0,i=l.length-1,r;i>=0;i--)(r=l[i])&&(e=r(t,s,e)||e);return e&&m(t,s,e),e};class a extends d.m(n.kt,{validSizes:Object.values(d.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r$1(p)]}willUpdate(t){var s;t.has("slotContent")&&(this._enabled=((s=this.slotContent)==null?void 0:s.grandTotals)??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){const t={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:t}}}))}render(){return n.x`<div class="settings-container">
21
21
  <div class="settings-row">
22
22
  <div class="setting">
23
23
  <luzmo-field-label for="grand-totals">Grand totals</luzmo-field-label>
@@ -32,7 +32,7 @@
32
32
  >
33
33
  <luzmo-icon
34
34
  slot="icon"
35
- .icon=${this._enabled?g.luzmoCheckboxChecked:g.luzmoCheckbox}
35
+ .icon=${this._enabled?g.C0:g.h0}
36
36
  ></luzmo-icon>
37
37
  ${this._enabled?"Enabled":"Disabled"}
38
38
  </luzmo-action-button>
@@ -17,14 +17,14 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import "../index-dJXOanPE.js";
21
- import "../index-fbS4OrPM.js";
22
- import "../index-DMbzEC_s.js";
23
- import { k as m, a as c, x as d, n as i } from "../property-CXJD1jOW.js";
24
- import { m as z, d as g } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
25
- import { luzmoCheckboxChecked as p, luzmoCheckbox as b } from "@luzmo/icons";
26
- import { r as f } from "../state-DwFtyqCc.js";
27
- import { o as h } from "../if-defined-_S7apvH1.js";
20
+ import "../index-CdCtJpK9.js";
21
+ import "../index-BYfDERr7.js";
22
+ import "../index-ymMEPngt.js";
23
+ import { k as m, a as c, x as d, n as i } from "../property-B2F7x7Cz.js";
24
+ import { m as z, d as g } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
25
+ import { C as p, h as b } from "../luzmo-icons-BE2T8vWu.js";
26
+ import { r as f } from "../state-Joaryhrg.js";
27
+ import { o as h } from "../if-defined-Bv6MRdSW.js";
28
28
  const u = () => {
29
29
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
30
30
  const o = document.createElement("style");
@@ -32,11 +32,11 @@ const u = () => {
32
32
  }
33
33
  };
34
34
  u();
35
- const x = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";
36
- var v = Object.defineProperty, n = (o, l, r, y) => {
35
+ const v = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";
36
+ var x = Object.defineProperty, n = (o, l, r, y) => {
37
37
  for (var e = void 0, s = o.length - 1, a; s >= 0; s--)
38
38
  (a = o[s]) && (e = a(l, r, e) || e);
39
- return e && v(l, r, e), e;
39
+ return e && x(l, r, e), e;
40
40
  };
41
41
  class t extends z(m, {
42
42
  validSizes: Object.values(g)
@@ -45,7 +45,7 @@ class t extends z(m, {
45
45
  super(...arguments), this.slotContent = {};
46
46
  }
47
47
  static get styles() {
48
- return [c(x)];
48
+ return [c(v)];
49
49
  }
50
50
  willUpdate(l) {
51
51
  var r;
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-DLrQ4hc5.cjs");require("../index-CKbGBBId.cjs");require("../index-CdHFj3ra.cjs");require("../index-BxFGd_xp.cjs");require("../index-EkTLplXl.cjs");require("../index-C_xCeCrL.cjs");require("../index-BEi8DTwW.cjs");const s=require("../property-ChsOQ1Yj.cjs"),_=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),v=require("../decompose-numeric-format-B3rVVHpO.cjs"),f=require("@luzmo/icons"),F=require("../index-DDleIdd8.cjs"),A=require("../state-DLrsMPet.cjs"),m=require("../query-D5qWDopr.cjs"),L=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap, var(--display-settings-numeric-gap))}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start, var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}:host{--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-2 )}:host([size=s]){--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-1 )}:host([size=l]){--display-settings-numeric-gap: var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-3 )}:host([size=xl]){--display-settings-numeric-gap: var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-4 )}",$={sum:"Sum",cumulativesum:"Cumulative sum",average:"Average",weightedaverage:"Weighted average",median:"Median",count:"Count",distinctcount:"Distinct count",min:"Minimum",max:"Maximum",stddev:"Standard deviation",rate:"Rate"},y={general:"123",percentage:"%",scientific:"SI"},z={time:"Time",short:"Short",long:"Long"},b={Auto:{auto:!0},"1,000.00":{auto:!1,thousandSeparator:",",decimalSeparator:"."},"1.000,00":{auto:!1,thousandSeparator:".",decimalSeparator:","},"1000.00":{auto:!1,decimalSeparator:"."},"1000,00":{auto:!1,decimalSeparator:","}},S={levels:[{level:1,label:"years"},{level:2,label:"quarters"},{level:3,label:"months"},{level:4,label:"weeks"},{level:5,label:"days"},{level:6,label:"hours"},{level:7,label:"minutes"},{level:8,label:"seconds"},{level:9,label:"milliseconds"}]};var D=Object.defineProperty,r=(g,t,e,i)=>{for(var n=void 0,a=g.length-1,l;a>=0;a--)(l=g[a])&&(n=l(t,e,n)||n);return n&&D(t,e,n),n};class o extends _.m(s.kt,{validSizes:Object.values(_.d)}){constructor(){super(...arguments),this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._sendEvent=()=>{const t={...this.slotContent};t.format=this._format,t.aggregationFunc=this._aggregationFunc,this._aggregationWeightColumn?t.aggregationWeight={...this._aggregationWeightColumn}:this._aggregationFunc==="rate"&&(t.aggregationFunc="average"),this._displayMode==="duration"?(t.duration=t.duration??{},t.duration.format=this._durationFormat,t.duration.levels=this._durationLevels):delete t.duration,this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:t}}))}}static get styles(){return[s.r$1(L)]}_parseSavedNumericFormatSettings(){var t,e,i,n,a,l,d,c,h,p;if(this._displayMode=((t=this.slotContent)==null?void 0:t.subtype)==="duration"?((n=(i=(e=this.slotContent)==null?void 0:e.duration)==null?void 0:i.levels)==null?void 0:n.length)===1?"numeric":"duration":"numeric",this._durationFormat=((l=(a=this.slotContent)==null?void 0:a.duration)==null?void 0:l.format)??"short",this._durationLevels=((c=(d=this.slotContent)==null?void 0:d.duration)==null?void 0:c.levels)??[1],this._displayMode==="duration")this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=((h=this.slotContent)==null?void 0:h.format)??".0f";const u=v.decomposeNumericFormat(this._format??".0f");this._isAuto=((p=u.typeFormat)==null?void 0:p.includes("a"))??!1,["%","a%","y","ay"].includes(u.typeFormat)?this._displayAs="percentage":["s","as","w","aw"].includes(u.typeFormat)?this._displayAs="scientific":this._displayAs="general",this._precision=u.precision?Number.parseInt(u.precision.replace(".",""),10):this._displayAs==="scientific"?1:0,this._commaDecimals=["z","az","y","ay","w","aw"].includes(u.typeFormat),this._thousandSeparator=u.comma===",",this._isAuto?this._numericFormatGroup="Auto":this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup="1.000,00":!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup="1,000.00":this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup="1000,00":!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup="1000.00")}}_setNumericDisplayAs(){var t,e;this._displayAs=((e=(t=this._displayAsElement)==null?void 0:t.selected)==null?void 0:e[0])??"general",this._displayAs==="scientific"&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(t){const e=b[(t==null?void 0:t.detail)??"Auto"];this._thousandSeparator=[",","."].includes((e==null?void 0:e.thousandSeparator)??""),this._commaDecimals=(e==null?void 0:e.decimalSeparator)===",",this._isAuto=e==null?void 0:e.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){var i;let t="f";const e=this.slotContent.subtype==="duration"?this._durationLevels&&((i=this._durationLevels)==null?void 0:i.length)===1?"numeric":"duration":"numeric";this._maxDurationLevel=Math.min(...this._durationLevels),e==="duration"?(!["time","short","long"].includes(this._durationFormat??"")||this._maxDurationLevel<6&&this._durationFormat==="time")&&(this._durationFormat="short"):(this._displayAs==="general"&&this._commaDecimals?t="z":this._displayAs==="percentage"&&this._commaDecimals?t="y":this._displayAs==="scientific"&&this._commaDecimals?t="w":this._displayAs==="percentage"?t="%":this._displayAs==="scientific"&&(t="s"),this._format=(this._thousandSeparator||this._isAuto?",":"")+"."+this._precision+(this._isAuto?"a":"")+t)}_setAggregationFunc(){const t=this._aggregationFunc,e=this.slotContent.format;if(this._aggregationElement.value!==t){if(this._aggregationFunc=this._aggregationElement.value,t==="rate"){const i=v.decomposeNumericFormat(e),n=["%","y","a%","ay"].includes(i.typeFormat);this.slotContent.subtype==="currency"&&n&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc==="rate"||t==="rate")&&this.requestUpdate()}}_setAggregationWeight(){const t=this._aggregationWeightElement.value;if(t==="none")this._aggregationWeightColumn=void 0;else{const e=this.measureColumns.find(i=>i.columnId===t);this._aggregationWeightColumn={column:e==null?void 0:e.columnId,set:e==null?void 0:e.datasetId,columnSubType:e==null?void 0:e.subtype}}this._sendEvent()}_setDurationLevels(){const t=this._durationLevels,e=this._durationLevelsElement.value.split(",").filter(i=>i!=="").map(i=>Number.parseInt(i,10));this._durationLevels=((e==null?void 0:e.length)??0)>=1?e:t,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){var t,e;this._durationFormat=(e=(t=this._durationFormatElement)==null?void 0:t.selected)==null?void 0:e[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat==="time"){const t=this._durationLevels.sort().at(-1);if([7,8,9].includes(t)){const e={lev7:[6],lev8:[6,7],lev9:[6,7,8]};for(const i of e["lev"+t])this._durationLevels.includes(i)||this._durationLevels.push(i);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(t){var e,i,n;t.has("slotContent")&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=((e=this.slotContent)==null?void 0:e.aggregationFunc)??((i=this.slotContent)==null?void 0:i.type)==="numeric"?"sum":"count",this._aggregationWeightColumn=(n=this.slotContent)==null?void 0:n.aggregationWeight)}firstUpdated(){var t;(t=this.slotContent)!=null&&t.duration&&this._durationLevelsOverlay.addEventListener("slottable-request",e=>{this._renderDurationLevelMenu=e.data!==F.a})}_renderDurationLevelsSettings(){const t=S.levels.map(e=>{let i=!1;return this._durationFormat==="time"&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(i=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(i=!0),s.x`<luzmo-menu-item
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-Bt5nP_6w.cjs");require("../index-D8qmoauu.cjs");require("../index-iYpAy-Kg.cjs");require("../index-BrEDK88k.cjs");require("../index-CdpyJ7hp.cjs");const s=require("../property-0L4eB11h.cjs"),_=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),v=require("../decompose-numeric-format-B3rVVHpO.cjs"),f=require("../luzmo-icons-XsFsTAl3.cjs"),F=require("../index-BJVxTeoi.cjs"),A=require("../state-BFA93Sye.cjs"),m=require("../query-D5qWDopr.cjs"),L=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-numeric-gap, var(--display-settings-numeric-gap))}.duration-angle-down-icon{margin-inline-start:var(--luzmo-numeric-duration-levels-dropdown-icon-margin-inline-start, var(--numeric-duration-levels-dropdown-icon-margin-inline-start))}:host{--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-2 )}:host([size=s]){--display-settings-numeric-gap: var(--luzmo-spacing-3);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-1 )}:host([size=l]){--display-settings-numeric-gap: var(--luzmo-spacing-4);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-3 )}:host([size=xl]){--display-settings-numeric-gap: var(--luzmo-spacing-5);--numeric-duration-levels-dropdown-icon-margin-inline-start: var( --luzmo-spacing-4 )}",$={sum:"Sum",cumulativesum:"Cumulative sum",average:"Average",weightedaverage:"Weighted average",median:"Median",count:"Count",distinctcount:"Distinct count",min:"Minimum",max:"Maximum",stddev:"Standard deviation",rate:"Rate"},y={general:"123",percentage:"%",scientific:"SI"},z={time:"Time",short:"Short",long:"Long"},b={Auto:{auto:!0},"1,000.00":{auto:!1,thousandSeparator:",",decimalSeparator:"."},"1.000,00":{auto:!1,thousandSeparator:".",decimalSeparator:","},"1000.00":{auto:!1,decimalSeparator:"."},"1000,00":{auto:!1,decimalSeparator:","}},S={levels:[{level:1,label:"years"},{level:2,label:"quarters"},{level:3,label:"months"},{level:4,label:"weeks"},{level:5,label:"days"},{level:6,label:"hours"},{level:7,label:"minutes"},{level:8,label:"seconds"},{level:9,label:"milliseconds"}]};var D=Object.defineProperty,r=(g,t,e,i)=>{for(var n=void 0,a=g.length-1,l;a>=0;a--)(l=g[a])&&(n=l(t,e,n)||n);return n&&D(t,e,n),n};class o extends _.m(s.kt,{validSizes:Object.values(_.d)}){constructor(){super(...arguments),this.slotContent={},this.measureColumns=[],this._durationLevels=[],this._renderDurationLevelMenu=!1,this._sendEvent=()=>{const t={...this.slotContent};t.format=this._format,t.aggregationFunc=this._aggregationFunc,this._aggregationWeightColumn?t.aggregationWeight={...this._aggregationWeightColumn}:this._aggregationFunc==="rate"&&(t.aggregationFunc="average"),this._displayMode==="duration"?(t.duration=t.duration??{},t.duration.format=this._durationFormat,t.duration.levels=this._durationLevels):delete t.duration,this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:t}}))}}static get styles(){return[s.r$1(L)]}_parseSavedNumericFormatSettings(){var t,e,i,n,a,l,d,c,h,p;if(this._displayMode=((t=this.slotContent)==null?void 0:t.subtype)==="duration"?((n=(i=(e=this.slotContent)==null?void 0:e.duration)==null?void 0:i.levels)==null?void 0:n.length)===1?"numeric":"duration":"numeric",this._durationFormat=((l=(a=this.slotContent)==null?void 0:a.duration)==null?void 0:l.format)??"short",this._durationLevels=((c=(d=this.slotContent)==null?void 0:d.duration)==null?void 0:c.levels)??[1],this._displayMode==="duration")this._precision=2,this._commaDecimals=!1,this._thousandSeparator=!1;else{this._format=((h=this.slotContent)==null?void 0:h.format)??".0f";const u=v.decomposeNumericFormat(this._format??".0f");this._isAuto=((p=u.typeFormat)==null?void 0:p.includes("a"))??!1,["%","a%","y","ay"].includes(u.typeFormat)?this._displayAs="percentage":["s","as","w","aw"].includes(u.typeFormat)?this._displayAs="scientific":this._displayAs="general",this._precision=u.precision?Number.parseInt(u.precision.replace(".",""),10):this._displayAs==="scientific"?1:0,this._commaDecimals=["z","az","y","ay","w","aw"].includes(u.typeFormat),this._thousandSeparator=u.comma===",",this._isAuto?this._numericFormatGroup="Auto":this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup="1.000,00":!this._commaDecimals&&this._thousandSeparator?this._numericFormatGroup="1,000.00":this._commaDecimals&&!this._thousandSeparator?this._numericFormatGroup="1000,00":!this._commaDecimals&&!this._thousandSeparator&&(this._numericFormatGroup="1000.00")}}_setNumericDisplayAs(){var t,e;this._displayAs=((e=(t=this._displayAsElement)==null?void 0:t.selected)==null?void 0:e[0])??"general",this._displayAs==="scientific"&&(this._precision=Math.max(this._precision??0,1),this._thousandSeparator=!1),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setNumericSeparators(t){const e=b[(t==null?void 0:t.detail)??"Auto"];this._thousandSeparator=[",","."].includes((e==null?void 0:e.thousandSeparator)??""),this._commaDecimals=(e==null?void 0:e.decimalSeparator)===",",this._isAuto=e==null?void 0:e.auto,this._setNumericFormat(),this._sendEvent()}_setPrecision(){this._precision=this._precisionElement.value,this._setNumericFormat(),this._sendEvent()}_setNumericFormat(){var i;let t="f";const e=this.slotContent.subtype==="duration"?this._durationLevels&&((i=this._durationLevels)==null?void 0:i.length)===1?"numeric":"duration":"numeric";this._maxDurationLevel=Math.min(...this._durationLevels),e==="duration"?(!["time","short","long"].includes(this._durationFormat??"")||this._maxDurationLevel<6&&this._durationFormat==="time")&&(this._durationFormat="short"):(this._displayAs==="general"&&this._commaDecimals?t="z":this._displayAs==="percentage"&&this._commaDecimals?t="y":this._displayAs==="scientific"&&this._commaDecimals?t="w":this._displayAs==="percentage"?t="%":this._displayAs==="scientific"&&(t="s"),this._format=(this._thousandSeparator||this._isAuto?",":"")+"."+this._precision+(this._isAuto?"a":"")+t)}_setAggregationFunc(){const t=this._aggregationFunc,e=this.slotContent.format;if(this._aggregationElement.value!==t){if(this._aggregationFunc=this._aggregationElement.value,t==="rate"){const i=v.decomposeNumericFormat(e),n=["%","y","a%","ay"].includes(i.typeFormat);this.slotContent.subtype==="currency"&&n&&this._setNumericDisplayAs()}this._sendEvent(),(this._aggregationFunc==="rate"||t==="rate")&&this.requestUpdate()}}_setAggregationWeight(){const t=this._aggregationWeightElement.value;if(t==="none")this._aggregationWeightColumn=void 0;else{const e=this.measureColumns.find(i=>i.columnId===t);this._aggregationWeightColumn={column:e==null?void 0:e.columnId,set:e==null?void 0:e.datasetId,columnSubType:e==null?void 0:e.subtype}}this._sendEvent()}_setDurationLevels(){const t=this._durationLevels,e=this._durationLevelsElement.value.split(",").filter(i=>i!=="").map(i=>Number.parseInt(i,10));this._durationLevels=((e==null?void 0:e.length)??0)>=1?e:t,this._maxDurationLevel=Math.min(...this._durationLevels),this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_setDurationFormat(){var t,e;this._durationFormat=(e=(t=this._durationFormatElement)==null?void 0:t.selected)==null?void 0:e[0],this._fillTimeDurationLevels(),this._setNumericFormat(),this._sendEvent(),this.requestUpdate()}_fillTimeDurationLevels(){if(this._durationFormat==="time"){const t=this._durationLevels.sort().at(-1);if([7,8,9].includes(t)){const e={lev7:[6],lev8:[6,7],lev9:[6,7,8]};for(const i of e["lev"+t])this._durationLevels.includes(i)||this._durationLevels.push(i);this._durationLevels=[...this._durationLevels].sort()}}}willUpdate(t){var e,i,n;t.has("slotContent")&&(this._parseSavedNumericFormatSettings(),this._aggregationFunc=((e=this.slotContent)==null?void 0:e.aggregationFunc)??((i=this.slotContent)==null?void 0:i.type)==="numeric"?"sum":"count",this._aggregationWeightColumn=(n=this.slotContent)==null?void 0:n.aggregationWeight)}firstUpdated(){var t;(t=this.slotContent)!=null&&t.duration&&this._durationLevelsOverlay.addEventListener("slottable-request",e=>{this._renderDurationLevelMenu=e.data!==F.a})}_renderDurationLevelsSettings(){const t=S.levels.map(e=>{let i=!1;return this._durationFormat==="time"&&e.level>=6&&this._durationLevels.includes(e.level)&&e.level!==Math.max(...this._durationLevels)&&(i=!0),this._durationLevels.length===1&&this._durationLevels.includes(e.level)&&(i=!0),s.x`<luzmo-menu-item
21
21
  value=${e.level}
22
22
  ?selected=${this._durationLevels.includes(e.level)}
23
23
  ?disabled=${i}
@@ -31,7 +31,7 @@
31
31
  ${this._durationLevels.length}
32
32
  ${this._durationLevels.length===1?"level":"levels"} active
33
33
  <span class="duration-angle-down-icon">
34
- ${f.luzmoIcon(f.luzmoAngleDown)}
34
+ ${f.O2(f.T)}
35
35
  </span>
36
36
  </luzmo-action-button>
37
37
  <luzmo-overlay
@@ -17,19 +17,19 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import "../index-dJXOanPE.js";
21
- import "../index-BuW8doNV.js";
22
- import "../index-fbS4OrPM.js";
23
- import "../index-FSUV_4nO.js";
24
- import "../index-aLxc3xA_.js";
25
- import "../index-Pmv-d4iw.js";
26
- import "../index-Dkom_Qy5.js";
27
- import { k as x, a as F, x as r, n as p } from "../property-CXJD1jOW.js";
28
- import { m as A, d as S } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
20
+ import "../index-CdCtJpK9.js";
21
+ import "../index-Bee1uunR.js";
22
+ import "../index-BYfDERr7.js";
23
+ import "../index-BBrer3_5.js";
24
+ import "../index-B3ve6cAj.js";
25
+ import "../index-B5Wvyv9s.js";
26
+ import "../index-DnozlYag.js";
27
+ import { k as x, a as F, x as r, n as p } from "../property-B2F7x7Cz.js";
28
+ import { m as A, d as S } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
29
29
  import { d as v } from "../decompose-numeric-format-BuZcjH2k.js";
30
- import { luzmoIcon as $, luzmoAngleDown as L } from "@luzmo/icons";
31
- import { a as D } from "../index-DUlH3hbL.js";
32
- import { r as w } from "../state-DwFtyqCc.js";
30
+ import { O as $, T as L } from "../luzmo-icons-BE2T8vWu.js";
31
+ import { a as D } from "../index-CXIT0cYY.js";
32
+ import { r as w } from "../state-Joaryhrg.js";
33
33
  import { e as c } from "../query-Ddbd72Um.js";
34
34
  const y = () => {
35
35
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
@@ -85,9 +85,9 @@ const C = ":host .settings-container{display:flex;flex-direction:column;gap:var(
85
85
  { level: 9, label: "milliseconds" }
86
86
  ]
87
87
  };
88
- var k = Object.defineProperty, a = (u, t, e, o) => {
89
- for (var s = void 0, i = u.length - 1, n; i >= 0; i--)
90
- (n = u[i]) && (s = n(t, e, s) || s);
88
+ var k = Object.defineProperty, a = (u, t, e, i) => {
89
+ for (var s = void 0, o = u.length - 1, n; o >= 0; o--)
90
+ (n = u[o]) && (s = n(t, e, s) || s);
91
91
  return s && k(t, e, s), s;
92
92
  };
93
93
  class l extends A(x, {
@@ -112,8 +112,8 @@ class l extends A(x, {
112
112
  return [F(C)];
113
113
  }
114
114
  _parseSavedNumericFormatSettings() {
115
- var t, e, o, s, i, n, d, g, h, z;
116
- if (this._displayMode = ((t = this.slotContent) == null ? void 0 : t.subtype) === "duration" ? ((s = (o = (e = this.slotContent) == null ? void 0 : e.duration) == null ? void 0 : o.levels) == null ? void 0 : s.length) === 1 ? "numeric" : "duration" : "numeric", this._durationFormat = ((n = (i = this.slotContent) == null ? void 0 : i.duration) == null ? void 0 : n.format) ?? "short", this._durationLevels = ((g = (d = this.slotContent) == null ? void 0 : d.duration) == null ? void 0 : g.levels) ?? [1], this._displayMode === "duration")
115
+ var t, e, i, s, o, n, d, g, h, z;
116
+ if (this._displayMode = ((t = this.slotContent) == null ? void 0 : t.subtype) === "duration" ? ((s = (i = (e = this.slotContent) == null ? void 0 : e.duration) == null ? void 0 : i.levels) == null ? void 0 : s.length) === 1 ? "numeric" : "duration" : "numeric", this._durationFormat = ((n = (o = this.slotContent) == null ? void 0 : o.duration) == null ? void 0 : n.format) ?? "short", this._durationLevels = ((g = (d = this.slotContent) == null ? void 0 : d.duration) == null ? void 0 : g.levels) ?? [1], this._displayMode === "duration")
117
117
  this._precision = 2, this._commaDecimals = !1, this._thousandSeparator = !1;
118
118
  else {
119
119
  this._format = ((h = this.slotContent) == null ? void 0 : h.format) ?? ".0f";
@@ -137,17 +137,17 @@ class l extends A(x, {
137
137
  this._precision = this._precisionElement.value, this._setNumericFormat(), this._sendEvent();
138
138
  }
139
139
  _setNumericFormat() {
140
- var o;
140
+ var i;
141
141
  let t = "f";
142
- const e = this.slotContent.subtype === "duration" ? this._durationLevels && ((o = this._durationLevels) == null ? void 0 : o.length) === 1 ? "numeric" : "duration" : "numeric";
142
+ const e = this.slotContent.subtype === "duration" ? this._durationLevels && ((i = this._durationLevels) == null ? void 0 : i.length) === 1 ? "numeric" : "duration" : "numeric";
143
143
  this._maxDurationLevel = Math.min(...this._durationLevels), e === "duration" ? (!["time", "short", "long"].includes(this._durationFormat ?? "") || this._maxDurationLevel < 6 && this._durationFormat === "time") && (this._durationFormat = "short") : (this._displayAs === "general" && this._commaDecimals ? t = "z" : this._displayAs === "percentage" && this._commaDecimals ? t = "y" : this._displayAs === "scientific" && this._commaDecimals ? t = "w" : this._displayAs === "percentage" ? t = "%" : this._displayAs === "scientific" && (t = "s"), this._format = (this._thousandSeparator || this._isAuto ? "," : "") + "." + this._precision + (this._isAuto ? "a" : "") + t);
144
144
  }
145
145
  _setAggregationFunc() {
146
146
  const t = this._aggregationFunc, e = this.slotContent.format;
147
147
  if (this._aggregationElement.value !== t) {
148
148
  if (this._aggregationFunc = this._aggregationElement.value, t === "rate") {
149
- const o = v(e), s = ["%", "y", "a%", "ay"].includes(
150
- o.typeFormat
149
+ const i = v(e), s = ["%", "y", "a%", "ay"].includes(
150
+ i.typeFormat
151
151
  );
152
152
  this.slotContent.subtype === "currency" && s && this._setNumericDisplayAs();
153
153
  }
@@ -160,7 +160,7 @@ class l extends A(x, {
160
160
  this._aggregationWeightColumn = void 0;
161
161
  else {
162
162
  const e = this.measureColumns.find(
163
- (o) => o.columnId === t
163
+ (i) => i.columnId === t
164
164
  );
165
165
  this._aggregationWeightColumn = {
166
166
  column: e == null ? void 0 : e.columnId,
@@ -171,7 +171,7 @@ class l extends A(x, {
171
171
  this._sendEvent();
172
172
  }
173
173
  _setDurationLevels() {
174
- const t = this._durationLevels, e = this._durationLevelsElement.value.split(",").filter((o) => o !== "").map((o) => Number.parseInt(o, 10));
174
+ const t = this._durationLevels, e = this._durationLevelsElement.value.split(",").filter((i) => i !== "").map((i) => Number.parseInt(i, 10));
175
175
  this._durationLevels = ((e == null ? void 0 : e.length) ?? 0) >= 1 ? e : t, this._maxDurationLevel = Math.min(...this._durationLevels), this._fillTimeDurationLevels(), this._setNumericFormat(), this._sendEvent(), this.requestUpdate();
176
176
  }
177
177
  _setDurationFormat() {
@@ -187,8 +187,8 @@ class l extends A(x, {
187
187
  lev8: [6, 7],
188
188
  lev9: [6, 7, 8]
189
189
  };
190
- for (const o of e["lev" + t])
191
- this._durationLevels.includes(o) || this._durationLevels.push(o);
190
+ for (const i of e["lev" + t])
191
+ this._durationLevels.includes(i) || this._durationLevels.push(i);
192
192
  this._durationLevels = [...this._durationLevels].sort();
193
193
  }
194
194
  }
@@ -230,8 +230,8 @@ class l extends A(x, {
230
230
  }
231
231
  } */
232
232
  willUpdate(t) {
233
- var e, o, s;
234
- t.has("slotContent") && (this._parseSavedNumericFormatSettings(), this._aggregationFunc = ((e = this.slotContent) == null ? void 0 : e.aggregationFunc) ?? ((o = this.slotContent) == null ? void 0 : o.type) === "numeric" ? "sum" : "count", this._aggregationWeightColumn = (s = this.slotContent) == null ? void 0 : s.aggregationWeight);
233
+ var e, i, s;
234
+ t.has("slotContent") && (this._parseSavedNumericFormatSettings(), this._aggregationFunc = ((e = this.slotContent) == null ? void 0 : e.aggregationFunc) ?? ((i = this.slotContent) == null ? void 0 : i.type) === "numeric" ? "sum" : "count", this._aggregationWeightColumn = (s = this.slotContent) == null ? void 0 : s.aggregationWeight);
235
235
  }
236
236
  firstUpdated() {
237
237
  var t;
@@ -244,11 +244,11 @@ class l extends A(x, {
244
244
  }
245
245
  _renderDurationLevelsSettings() {
246
246
  const t = N.levels.map((e) => {
247
- let o = !1;
248
- return this._durationFormat === "time" && e.level >= 6 && this._durationLevels.includes(e.level) && e.level !== Math.max(...this._durationLevels) && (o = !0), this._durationLevels.length === 1 && this._durationLevels.includes(e.level) && (o = !0), r`<luzmo-menu-item
247
+ let i = !1;
248
+ return this._durationFormat === "time" && e.level >= 6 && this._durationLevels.includes(e.level) && e.level !== Math.max(...this._durationLevels) && (i = !0), this._durationLevels.length === 1 && this._durationLevels.includes(e.level) && (i = !0), r`<luzmo-menu-item
249
249
  value=${e.level}
250
250
  ?selected=${this._durationLevels.includes(e.level)}
251
- ?disabled=${o}
251
+ ?disabled=${i}
252
252
  >
253
253
  ${e.label}
254
254
  </luzmo-menu-item>`;
@@ -356,15 +356,15 @@ class l extends A(x, {
356
356
  </div>`;
357
357
  }
358
358
  _renderAggregationSettings() {
359
- var o, s;
359
+ var i, s;
360
360
  const t = Object.entries(E).map(
361
- ([i, n]) => r`<luzmo-menu-item value=${i}>${n}</luzmo-menu-item>`
361
+ ([o, n]) => r`<luzmo-menu-item value=${o}>${n}</luzmo-menu-item>`
362
362
  ), e = [
363
363
  r`<luzmo-menu-item value="none">No weight</luzmo-menu-item>`,
364
- ...this.measureColumns.map((i) => {
364
+ ...this.measureColumns.map((o) => {
365
365
  var d, g, h;
366
- const n = ((d = i == null ? void 0 : i.label) == null ? void 0 : d[this.language ?? "en"]) ?? ((h = i == null ? void 0 : i.label) == null ? void 0 : h[(g = Object.keys(i == null ? void 0 : i.label)) == null ? void 0 : g[0]]) ?? "Untitled";
367
- return r`<luzmo-menu-item value=${i.id}>
366
+ const n = ((d = o == null ? void 0 : o.label) == null ? void 0 : d[this.language ?? "en"]) ?? ((h = o == null ? void 0 : o.label) == null ? void 0 : h[(g = Object.keys(o == null ? void 0 : o.label)) == null ? void 0 : g[0]]) ?? "Untitled";
367
+ return r`<luzmo-menu-item value=${o.id}>
368
368
  ${n}
369
369
  </luzmo-menu-item>`;
370
370
  })
@@ -376,7 +376,7 @@ class l extends A(x, {
376
376
  id="aggregation"
377
377
  size=${this.size}
378
378
  variant="highlight"
379
- value=${this._aggregationFunc ?? (((o = this.slotContent) == null ? void 0 : o.type) === "numeric" ? "sum" : "count")}
379
+ value=${this._aggregationFunc ?? (((i = this.slotContent) == null ? void 0 : i.type) === "numeric" ? "sum" : "count")}
380
380
  @change=${this._setAggregationFunc}
381
381
  >
382
382
  ${t}