@luzmo/analytics-components-kit 1.0.1-alpha.5 → 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-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CmOVMf6V.js} +1 -1
  2. package/components/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-D4itZyzc.cjs} +3 -3
  3. package/components/{button-base-CDLQV7Vk-BXgdcJZo.cjs → button-base-B7v4eeRh-BKKUK3x0.cjs} +4 -4
  4. package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-B7v4eeRh-D3-GH03o.js} +3 -3
  5. package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-C34LMsgu.js} +6 -6
  6. package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-CCjGd0nS.cjs} +4 -4
  7. package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-nlQRAaQt-3kEWF2GV.cjs} +2 -2
  8. package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-I6T4KZKW.js} +10 -10
  9. package/components/display-settings/index.cjs +1 -1
  10. package/components/display-settings/index.js +11 -11
  11. package/components/display-settings-binning/display-settings-binning.d.ts +2 -2
  12. package/components/display-settings-binning/index.cjs +4 -4
  13. package/components/display-settings-binning/index.js +20 -21
  14. package/components/display-settings-datetime/index.cjs +1 -1
  15. package/components/display-settings-datetime/index.js +1 -1
  16. package/components/display-settings-grand-totals/index.cjs +1 -1
  17. package/components/display-settings-grand-totals/index.js +8 -8
  18. package/components/display-settings-numeric/index.cjs +1 -1
  19. package/components/display-settings-numeric/index.js +12 -12
  20. package/components/display-settings-period-over-period/index.cjs +5 -5
  21. package/components/display-settings-period-over-period/index.js +85 -85
  22. package/components/draggable-data-item/index.cjs +2 -2
  23. package/components/draggable-data-item/index.js +2 -2
  24. package/components/draggable-data-item-level/index.cjs +2 -2
  25. package/components/draggable-data-item-level/index.js +16 -16
  26. package/components/droppable-slot/index.cjs +2 -2
  27. package/components/droppable-slot/index.js +8 -8
  28. package/components/edit-item/index.cjs +6 -6
  29. package/components/edit-item/index.js +72 -72
  30. package/components/edit-option/index.cjs +3 -3
  31. package/components/edit-option/index.js +3 -3
  32. package/components/edit-option-action-button-group/index.cjs +2 -2
  33. package/components/edit-option-action-button-group/index.js +6 -6
  34. package/components/{edit-option-base-DnrerC_T.cjs → edit-option-base-Boz7TNRZ.cjs} +2 -2
  35. package/components/{edit-option-base-oIvlolV9.js → edit-option-base-qePiIQWd.js} +4 -4
  36. package/components/edit-option-color-picker/index.cjs +33 -33
  37. package/components/edit-option-color-picker/index.js +124 -124
  38. package/components/edit-option-multi-language-field/index.cjs +1 -1
  39. package/components/edit-option-multi-language-field/index.js +3 -3
  40. package/components/edit-option-number-field/index.cjs +1 -1
  41. package/components/edit-option-number-field/index.js +3 -3
  42. package/components/edit-option-picker/index.cjs +1 -1
  43. package/components/edit-option-picker/index.js +4 -4
  44. package/components/edit-option-positions-number-field/index.cjs +1 -1
  45. package/components/edit-option-positions-number-field/index.js +5 -5
  46. package/components/edit-option-radio-button-group/index.cjs +1 -1
  47. package/components/edit-option-radio-button-group/index.js +4 -4
  48. package/components/edit-option-slider/index.cjs +3 -3
  49. package/components/edit-option-slider/index.js +217 -217
  50. package/components/edit-option-switch/index.cjs +4 -4
  51. package/components/edit-option-switch/index.js +30 -30
  52. package/components/edit-option-text-field/index.cjs +1 -1
  53. package/components/edit-option-text-field/index.js +3 -3
  54. package/components/{en-BsAhbMzm.js → en-DMOM5QNw.js} +12 -12
  55. package/components/{en-GB-qub-Kemt.js → en-GB-BPwcXBDg.js} +1 -1
  56. package/components/{en-GB-g8rSQSba.cjs → en-GB-Cp6Zq89F.cjs} +1 -1
  57. package/components/{en-CdROUdjt.cjs → en-o_2c6hRN.cjs} +2 -2
  58. package/components/{if-defined-DMSuo5Qx.cjs → if-defined-8BOch-oC.cjs} +1 -1
  59. package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-BSAr_4u4-4Ys8VE7T.js} +4 -4
  60. package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-BSAr_4u4-gECNwmTC.cjs} +2 -2
  61. package/components/{if-defined-Ch2dtEOS.js → if-defined-Bv6MRdSW.js} +1 -1
  62. package/components/{index-gfU9TGd5.cjs → index-86cIx1Ql.cjs} +3 -3
  63. package/components/{index-DszPbTTD.js → index-B3ve6cAj.js} +17 -17
  64. package/components/{index-CkDDDzuJ.js → index-B5Wvyv9s.js} +28 -28
  65. package/components/{index-BD3VxQBH.js → index-BBrer3_5.js} +1 -1
  66. package/components/index-BJVxTeoi.cjs +192 -0
  67. package/components/{index-B2z7i1-X.js → index-BUSWsm5N.js} +10 -10
  68. package/components/{index-BqTdFs1o.js → index-BVX_ozT9.js} +3 -3
  69. package/components/{index-B5VaT0lQ.js → index-BYfDERr7.js} +3 -3
  70. package/components/{index-BGaxFTL4.js → index-Bee1uunR.js} +4 -4
  71. package/components/index-BrEDK88k.cjs +185 -0
  72. package/components/{index-C_3Ak4MQ.cjs → index-Bt5nP_6w.cjs} +5 -5
  73. package/components/{index-CayjvyyX.cjs → index-ByjLd3bT.cjs} +4 -4
  74. package/components/{index-DskAouD-.js → index-C8IL2IZ6.js} +4 -4
  75. package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-CMvLpPKD-D5MpMVYZ.js} +14 -14
  76. package/components/{index-C2qG2Sm8-CbVWlbag.cjs → index-CMvLpPKD-Yf1PLWrj.cjs} +12 -12
  77. package/components/{index-BRk42NQn.js → index-CXIT0cYY.js} +166 -166
  78. package/components/{index-EQldC-LR.js → index-CdCtJpK9.js} +6 -6
  79. package/components/{index-B0cBkCaq.cjs → index-CdUTqQ3L.cjs} +4 -4
  80. package/components/{index-DQiQXn8N.cjs → index-CdpyJ7hp.cjs} +1 -1
  81. package/components/{index-Cp-lHUlX.js → index-CfEn3fIT.js} +3 -3
  82. package/components/{index-Bofs4Q2E.cjs → index-D8qmoauu.cjs} +1 -1
  83. package/components/{index-ON4x-yZ7.cjs → index-DEVOZNSc.cjs} +2 -2
  84. package/components/{index-CTPox3yS.cjs → index-DUO13KGl.cjs} +3 -3
  85. package/components/{index-B2N_PZf3.js → index-DVAsMiOm.js} +4 -4
  86. package/components/{index-DVaeDCbe.js → index-DnozlYag.js} +1 -1
  87. package/components/{index-liTHhAef.cjs → index-h9T5DPIm.cjs} +2 -2
  88. package/components/{index-3ewegRbb.cjs → index-i8GaIN7i.cjs} +4 -4
  89. package/components/{index-D9vzXhtJ.cjs → index-iYpAy-Kg.cjs} +6 -6
  90. package/components/{index-BC-nmKjU.js → index-ymMEPngt.js} +14 -14
  91. package/components/{index-CtHO6VyI.cjs → index-zuArOtOt.cjs} +3 -3
  92. package/components/index.cjs +1 -1
  93. package/components/index.js +1 -1
  94. package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → language-resolution-8yZa5r_P-Bn0bYosv.js} +3 -3
  95. package/components/{language-resolution-8yZa5r_P-DQ3rZzW5.cjs → language-resolution-8yZa5r_P-FqQChUDW.cjs} +3 -3
  96. package/components/{luzmo-icons-CZEpXpvy.js → luzmo-icons-BE2T8vWu.js} +1 -1
  97. package/components/{luzmo-icons-BrtBl3E5.cjs → luzmo-icons-XsFsTAl3.cjs} +1 -1
  98. package/components/{observe-slot-text-BG0H7bQK-CrkAqUMj.cjs → observe-slot-text-ggb4kKgY-DBVrKDBD.cjs} +4 -4
  99. package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-o5QFWUeA.js} +4 -4
  100. package/components/{popover-bg0EQQ8p-Dha09dhV.cjs → popover-DlkzrLpl-BhTvuvTu.cjs} +5 -5
  101. package/components/{popover-bg0EQQ8p-D4-hrhIx.js → popover-DlkzrLpl-CCwcTIXr.js} +3 -3
  102. package/components/property-0L4eB11h.cjs +112 -0
  103. package/components/{property-CD3dwBJC.js → property-B2F7x7Cz.js} +581 -547
  104. package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → sized-mixin-BxMraZLS-B_y0PzR3.js} +1 -1
  105. package/components/{sized-mixin-PyCYpyQq-sKzDjc75.cjs → sized-mixin-BxMraZLS-DEFWqo8f.cjs} +2 -2
  106. package/components/slot-menu/index.cjs +1 -1
  107. package/components/slot-menu/index.js +4 -4
  108. package/components/slot-menu-list/index.cjs +2 -2
  109. package/components/slot-menu-list/index.js +10 -10
  110. package/components/{state-ByiKNRhp.cjs → state-BFA93Sye.cjs} +1 -1
  111. package/components/{state-B1a8XIDm.js → state-Joaryhrg.js} +1 -1
  112. package/components/{task-HFsHfTra.cjs → task-B8yMzxui.cjs} +1 -1
  113. package/components/{task-BPD0PyaQ.js → task-Cr9aRIbV.js} +1 -1
  114. package/components/{text-field-7ITo3Lac-DqVO04kR.js → text-field-CvKSS59x-Dn0_1HO7.js} +29 -29
  115. package/components/text-field-CvKSS59x-E9LQElL4.cjs +131 -0
  116. package/package.json +1 -1
  117. package/components/index-Bjs6Yqet.cjs +0 -185
  118. package/components/index-D4x-O9Uc.cjs +0 -192
  119. package/components/property-Su1Q6aME.cjs +0 -124
  120. package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
@@ -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-BLDZnGQv-oKMCBvb2.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-BLDZnGQv-DYFfxaqA.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.
@@ -33,7 +33,7 @@
33
33
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
34
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
35
  * SOFTWARE.
36
- * */function c(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgent):!1}function a(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):!1}function h(){return a(/^Mac/)}function $(){return a(/^iPhone/)}function d(){return a(/^iPad/)||h()&&navigator.maxTouchPoints>1}function A(){return $()||d()}function _(){return c(/Chrome/)}function v(){return c(/AppleWebKit/)&&!_()}function w(){return c(/Android/)}/*! * Lucero - The design system for Luzmo.
36
+ * */function c(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgent):!1}function a(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):!1}function h(){return a(/^Mac/)}function $(){return a(/^iPhone/)}function d(){return a(/^iPad/)||h()&&navigator.maxTouchPoints>1}function A(){return $()||d()}function _(){return c(/Chrome/)}function w(){return c(/AppleWebKit/)&&!_()}function v(){return c(/Android/)}/*! * Lucero - The design system for Luzmo.
37
37
  *
38
38
  * Copyright © 2025 Luzmo
39
39
  * All rights reserved.
@@ -53,4 +53,4 @@
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */const o=(t,i)=>{var n;const e=t._$AN;if(e===void 0)return!1;for(const s of e)(n=s._$AO)==null||n.call(s,i,!1),o(s,i);return!0},l=t=>{let i,n;do{if((i=t._$AM)===void 0)break;n=i._$AN,n.delete(t),t=i}while((n==null?void 0:n.size)===0)},f=t=>{for(let i;i=t._$AM;t=i){let n=i._$AN;if(n===void 0)i._$AN=n=new Set;else if(n.has(t))break;n.add(t),g(i)}};function C(t){this._$AN!==void 0?(l(this),this._$AM=t,f(this)):this._$AM=t}function p(t,i=!1,n=0){const e=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(i)if(Array.isArray(e))for(let r=n;r<e.length;r++)o(e[r],!1),l(e[r]);else e!=null&&(o(e,!1),l(e));else o(this,t)}const g=t=>{t.type==u.s.CHILD&&(t._$AP??(t._$AP=p),t._$AQ??(t._$AQ=C))};class N extends u.${constructor(){super(...arguments),this._$AN=void 0}_$AT(i,n,e){super._$AT(i,n,e),f(this),this.isConnected=i._$AU}_$AO(i,n=!0){var e,s;i!==this.isConnected&&(this.isConnected=i,i?(e=this.reconnected)==null||e.call(this):(s=this.disconnected)==null||s.call(this)),n&&(o(this,i),l(this))}setValue(i){if(u.r(this._$Ct))this._$Ct._$AI(i,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=i,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}exports.C=N;exports.a=A;exports.c=v;exports.o=$;exports.w=w;
56
+ */const o=(t,i)=>{var n;const e=t._$AN;if(e===void 0)return!1;for(const s of e)(n=s._$AO)==null||n.call(s,i,!1),o(s,i);return!0},l=t=>{let i,n;do{if((i=t._$AM)===void 0)break;n=i._$AN,n.delete(t),t=i}while((n==null?void 0:n.size)===0)},f=t=>{for(let i;i=t._$AM;t=i){let n=i._$AN;if(n===void 0)i._$AN=n=new Set;else if(n.has(t))break;n.add(t),g(i)}};function C(t){this._$AN!==void 0?(l(this),this._$AM=t,f(this)):this._$AM=t}function p(t,i=!1,n=0){const e=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(i)if(Array.isArray(e))for(let r=n;r<e.length;r++)o(e[r],!1),l(e[r]);else e!=null&&(o(e,!1),l(e));else o(this,t)}const g=t=>{t.type==u.s.CHILD&&(t._$AP??(t._$AP=p),t._$AQ??(t._$AQ=C))};class N extends u.${constructor(){super(...arguments),this._$AN=void 0}_$AT(i,n,e){super._$AT(i,n,e),f(this),this.isConnected=i._$AU}_$AO(i,n=!0){var e,s;i!==this.isConnected&&(this.isConnected=i,i?(e=this.reconnected)==null||e.call(this):(s=this.disconnected)==null||s.call(this)),n&&(o(this,i),l(this))}setValue(i){if(u.r(this._$Ct))this._$Ct._$AI(i,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=i,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}exports.C=N;exports.a=A;exports.c=w;exports.o=$;exports.w=v;
@@ -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-Su1Q6aME.cjs"),c=require("./if-defined-CYpcjGCb-Bzbg7zmM.cjs"),h=require("./observe-slot-text-BG0H7bQK-CrkAqUMj.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.
@@ -33,11 +33,11 @@
33
33
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
34
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
35
  * SOFTWARE.
36
- * */const u=":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";var p=Object.defineProperty,a=(n,t,e,d)=>{for(var i=void 0,o=n.length-1,l;o>=0;o--)(l=n[o])&&(i=l(t,e,i)||i);return i&&p(t,e,i),i};class r extends h.y(h.b(s.r$1),"",["luzmo-overlay,luzmo-tooltip"]){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[s.r(u)]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[s.x` <slot name="icon" ?icon-only=${!this.hasLabel}></slot> `,s.x`
36
+ * */const u=":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";var p=Object.defineProperty,a=(n,t,e,d)=>{for(var i=void 0,o=n.length-1,l;o>=0;o--)(l=n[o])&&(i=l(t,e,i)||i);return i&&p(t,e,i),i};class r extends h.y(h.b(s.r),"",["luzmo-overlay,luzmo-tooltip"]){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[s.ht(u)]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[s.Ht` <slot name="icon" ?icon-only=${!this.hasLabel}></slot> `,s.Ht`
37
37
  <span id="label">
38
38
  <slot @slotchange=${this.manageTextObservedSlot}></slot>
39
39
  </span>
40
- `]}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let t=!1;if(this.anchorElement)this.anchorElement.click(),t=!0;else if(this.type!=="button"){const e=document.createElement("button");e.type=this.type,this.insertAdjacentElement("afterend",e),e.click(),e.remove(),t=!0}return t}renderAnchor(){return s.x`
40
+ `]}handleClickCapture(t){if(this.disabled)return t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let t=!1;if(this.anchorElement)this.anchorElement.click(),t=!0;else if(this.type!=="button"){const e=document.createElement("button");e.type=this.type,this.insertAdjacentElement("afterend",e),e.click(),e.remove(),t=!0}return t}renderAnchor(){return s.Ht`
41
41
  ${this.buttonContent}
42
42
  ${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
43
- `}renderButton(){return s.x` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(t){const{code:e}=t;switch(e){case"Space":{t.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(t){const{code:e}=t;switch(e){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(t){const{code:e}=t;switch(e){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),t.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(t){super.updated(t),t.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(t){super.update(t),t.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}a([s.H({type:Boolean,reflect:!0})],r.prototype,"active");a([s.H({type:String})],r.prototype,"type");a([c.d(".anchor")],r.prototype,"anchorElement");exports.a=r;
43
+ `}renderButton(){return s.Ht` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(t){const{code:e}=t;switch(e){case"Space":{t.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(t){const{code:e}=t;switch(e){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(t){const{code:e}=t;switch(e){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(t){super.firstUpdated(t),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),t.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(t){super.updated(t),t.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(t){super.update(t),t.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}a([s.Rt({type:Boolean,reflect:!0})],r.prototype,"active");a([s.Rt({type:String})],r.prototype,"type");a([c.d(".anchor")],r.prototype,"anchorElement");exports.a=r;
@@ -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 { r as c, x as i, a as u, H as h } from "./property-CD3dwBJC.js";
21
- import { d as p } from "./if-defined-CYpcjGCb-tXzyj9Dq.js";
22
- import { y as d, b } from "./observe-slot-text-BG0H7bQK-C0wmc4DO.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 { H as i, x as s } from "./property-CD3dwBJC.js";
21
- import { d as a, m as p } from "./if-defined-CYpcjGCb-tXzyj9Dq.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
@@ -37,8 +37,8 @@ import { d as a, m as p } from "./if-defined-CYpcjGCb-tXzyj9Dq.js";
37
37
  * SOFTWARE.
38
38
  * */
39
39
  var l = Object.defineProperty, c = (n, e, r, o) => {
40
- for (var t = void 0, h = n.length - 1, d; h >= 0; h--)
41
- (d = n[h]) && (t = d(e, r, t) || t);
40
+ for (var t = void 0, h = n.length - 1, s; h >= 0; h--)
41
+ (s = n[h]) && (t = s(e, r, t) || t);
42
42
  return t && l(e, r, t), t;
43
43
  };
44
44
  function k(n) {
@@ -61,7 +61,7 @@ function k(n) {
61
61
  this.dispatchEvent(o) || (this.checked = !this.inputElement.checked, this.inputElement.checked = this.checked);
62
62
  }
63
63
  render() {
64
- return s`
64
+ return d`
65
65
  <input
66
66
  id="input"
67
67
  name=${p(this.name || void 0)}
@@ -84,5 +84,5 @@ function k(n) {
84
84
  ], e.prototype, "inputElement"), e;
85
85
  }
86
86
  export {
87
- k as y
87
+ k
88
88
  };
@@ -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 n=require("./property-Su1Q6aME.cjs"),o=require("./if-defined-CYpcjGCb-Bzbg7zmM.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.
@@ -33,13 +33,13 @@
33
33
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
34
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
35
  * SOFTWARE.
36
- * */var p=Object.defineProperty,r=(c,e,h,s)=>{for(var t=void 0,i=c.length-1,d;i>=0;i--)(d=c[i])&&(t=d(e,h,t)||t);return t&&p(e,h,t),t};function u(c){class e extends c{constructor(){super(...arguments),this.checked=!1,this.readonly=!1}handleChange(){if(this.readonly){this.inputElement.checked=this.checked;return}this.checked=this.inputElement.checked;const s=new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:this.checked});this.dispatchEvent(s)||(this.checked=!this.inputElement.checked,this.inputElement.checked=this.checked)}render(){return n.x`
36
+ * */var u=Object.defineProperty,r=(n,e,h,s)=>{for(var t=void 0,i=n.length-1,o;i>=0;i--)(o=n[i])&&(t=o(e,h,t)||t);return t&&u(e,h,t),t};function a(n){class e extends n{constructor(){super(...arguments),this.checked=!1,this.readonly=!1}handleChange(){if(this.readonly){this.inputElement.checked=this.checked;return}this.checked=this.inputElement.checked;const s=new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:this.checked});this.dispatchEvent(s)||(this.checked=!this.inputElement.checked,this.inputElement.checked=this.checked)}render(){return c.Ht`
37
37
  <input
38
38
  id="input"
39
- name=${o.m(this.name||void 0)}
39
+ name=${d.m(this.name||void 0)}
40
40
  type="checkbox"
41
41
  .checked=${this.checked}
42
42
  ?disabled=${this.readonly}
43
43
  @change=${this.handleChange}
44
44
  />
45
- `}}return r([n.H({type:Boolean,reflect:!0})],e.prototype,"checked"),r([n.H({type:String,reflect:!0})],e.prototype,"name"),r([n.H({type:Boolean,reflect:!0})],e.prototype,"readonly"),r([o.d("#input")],e.prototype,"inputElement"),e}exports.y=u;
45
+ `}}return r([c.Rt({type:Boolean,reflect:!0})],e.prototype,"checked"),r([c.Rt({type:String,reflect:!0})],e.prototype,"name"),r([c.Rt({type:Boolean,reflect:!0})],e.prototype,"readonly"),r([d.d("#input")],e.prototype,"inputElement"),e}exports.k=a;
@@ -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-Su1Q6aME.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.
@@ -37,7 +37,7 @@
37
37
  * @license
38
38
  * Copyright 2017 Google LLC
39
39
  * SPDX-License-Identifier: BSD-3-Clause
40
- */function n(r){return i.H({...r,state:!0,attribute:!1})}/*! * Lucero - The design system for Luzmo.
40
+ */function n(r){return i.Rt({...r,state:!0,attribute:!1})}/*! * Lucero - The design system for Luzmo.
41
41
  *
42
42
  * Copyright © 2025 Luzmo
43
43
  * 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 { H as i } from "./property-CD3dwBJC.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
@@ -72,14 +72,14 @@ class o {
72
72
  get _$AU() {
73
73
  return this._$AM._$AU;
74
74
  }
75
- _$AT(t, e, s) {
76
- this._$Ct = t, this._$AM = e, this._$Ci = s;
75
+ _$AT(t, s, e) {
76
+ this._$Ct = t, this._$AM = s, this._$Ci = e;
77
77
  }
78
- _$AS(t, e) {
79
- return this.update(t, e);
78
+ _$AS(t, s) {
79
+ return this.update(t, s);
80
80
  }
81
- update(t, e) {
82
- return this.render(...e);
81
+ update(t, s) {
82
+ return this.render(...s);
83
83
  }
84
84
  }
85
85
  /*! * Lucero - The design system for Luzmo.
@@ -104,12 +104,12 @@ class o {
104
104
  * Copyright 2020 Google LLC
105
105
  * SPDX-License-Identifier: BSD-3-Clause
106
106
  */
107
- const T = (r) => r.strings === void 0, n = {}, a = (r, t = n) => r._$AH = t;
107
+ const a = (r) => r.strings === void 0, n = {}, T = (r, t = n) => r._$AH = t;
108
108
  export {
109
109
  o as $,
110
110
  A as _,
111
- a as f,
111
+ T as f,
112
112
  $ as n,
113
- T as r,
113
+ a as r,
114
114
  u as s
115
115
  };
@@ -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-HFsHfTra.cjs");require("../index-ON4x-yZ7.cjs");require("../index-C_3Ak4MQ.cjs");require("../index-liTHhAef.cjs");require("../index-gfU9TGd5.cjs");require("../index-3ewegRbb.cjs");require("../index-B0cBkCaq.cjs");const t=require("../property-Su1Q6aME.cjs"),g=require("../sized-mixin-PyCYpyQq-sKzDjc75.cjs"),c=require("../state-ByiKNRhp.cjs"),m=require("../query-D5qWDopr.cjs"),a=require("../luzmo-icons-BrtBl3E5.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.I,{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(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">
@@ -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-BPD0PyaQ.js";
21
- import "../index-BqTdFs1o.js";
22
- import "../index-B5VaT0lQ.js";
23
- import "../index-BC-nmKjU.js";
24
- import "../index-B2N_PZf3.js";
25
- import "../index-Cp-lHUlX.js";
26
- import "../index-B2z7i1-X.js";
27
- import { I as p, r as z, x as n, n as s } from "../property-CD3dwBJC.js";
28
- import { m as h, d as v } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
29
- import { r as b } from "../state-B1a8XIDm.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 { O as m, p as y, v as x } from "../luzmo-icons-CZEpXpvy.js";
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");
@@ -19,8 +19,8 @@ export declare class LuzmoDisplaySettingsBinning extends LuzmoDisplaySettingsBin
19
19
  */
20
20
  language?: string;
21
21
  slotContent: any;
22
- private _enabled?;
23
- private _binWidth?;
22
+ private _enabled;
23
+ private _binWidth;
24
24
  private binWidthElement;
25
25
  protected willUpdate(changedProperties: PropertyValues): void;
26
26
  private toggleBinning;
@@ -17,12 +17,12 @@
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-CtHO6VyI.cjs");require("../index-C_3Ak4MQ.cjs");require("../index-liTHhAef.cjs");require("../index-D9vzXhtJ.cjs");const n=require("../property-Su1Q6aME.cjs"),g=require("../sized-mixin-PyCYpyQq-sKzDjc75.cjs"),u=require("../luzmo-icons-BrtBl3E5.cjs"),b=require("../state-ByiKNRhp.cjs"),c=require("../query-D5qWDopr.cjs"),h=require("../if-defined-DMSuo5Qx.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-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 m=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&&m(i,l,e),e};class s extends g.m(n.I,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r(p)]}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"
24
24
  min="0"
25
- value=${this._binWidth??10}
25
+ .value=${this._binWidth}
26
26
  .size=${this.size}
27
27
  @change=${this.setBinning}
28
28
  ></luzmo-number-field>
@@ -36,7 +36,7 @@
36
36
  emphasized
37
37
  .size=${this.size}
38
38
  ?selected=${this._enabled}
39
- class=${h.o(this._enabled?"active":"inactive")}
39
+ class=${this._enabled?"active":"inactive"}
40
40
  @click=${this.toggleBinning}
41
41
  >
42
42
  <luzmo-icon
@@ -48,4 +48,4 @@
48
48
  </div>
49
49
  ${this._enabled?this.renderBinWidth():""}
50
50
  </div>
51
- </div>`}}o([n.n({type:String,reflect:!0})],s.prototype,"language");o([n.n()],s.prototype,"slotContent");o([b.r()],s.prototype,"_enabled");o([c.e("#bin-width")],s.prototype,"binWidthElement");customElements.get("luzmo-display-settings-binning")||customElements.define("luzmo-display-settings-binning",s);exports.LuzmoDisplaySettingsBinning=s;
51
+ </div>`}}o([n.n({type:String,reflect:!0})],s.prototype,"language");o([n.n()],s.prototype,"slotContent");o([b.r()],s.prototype,"_enabled");o([h.e("#bin-width")],s.prototype,"binWidthElement");customElements.get("luzmo-display-settings-binning")||customElements.define("luzmo-display-settings-binning",s);exports.LuzmoDisplaySettingsBinning=s;
@@ -17,37 +17,36 @@
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-EQldC-LR.js";
21
- import "../index-B5VaT0lQ.js";
22
- import "../index-BC-nmKjU.js";
23
- import "../index-DszPbTTD.js";
24
- import { I as d, r as z, x as m, n as a } from "../property-CD3dwBJC.js";
25
- import { m as g, d as b } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
26
- import { C as p, h as f } from "../luzmo-icons-CZEpXpvy.js";
27
- import { r as h } from "../state-B1a8XIDm.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
- import { o as x } from "../if-defined-Ch2dtEOS.js";
30
- const c = () => {
29
+ const d = () => {
31
30
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
32
31
  const e = document.createElement("style");
33
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);
34
33
  }
35
34
  };
36
- c();
37
- const y = ":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)}";
38
- var w = Object.defineProperty, r = (e, l, t, s) => {
35
+ d();
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
+ var y = Object.defineProperty, r = (e, l, t, s) => {
39
38
  for (var o = void 0, i = e.length - 1, u; i >= 0; i--)
40
39
  (u = e[i]) && (o = u(l, t, o) || o);
41
- return o && w(l, t, o), o;
40
+ return o && y(l, t, o), o;
42
41
  };
43
- class n extends g(d, {
42
+ class n extends g(c, {
44
43
  validSizes: Object.values(b)
45
44
  }) {
46
45
  constructor() {
47
- super(...arguments), this.slotContent = {};
46
+ super(...arguments), this.slotContent = {}, this._enabled = !1, this._binWidth = 10;
48
47
  }
49
48
  static get styles() {
50
- return [z(y)];
49
+ return [z(x)];
51
50
  }
52
51
  willUpdate(l) {
53
52
  var t, s, o, i;
@@ -84,7 +83,7 @@ class n extends g(d, {
84
83
  <luzmo-number-field
85
84
  id="bin-width"
86
85
  min="0"
87
- value=${this._binWidth ?? 10}
86
+ .value=${this._binWidth}
88
87
  .size=${this.size}
89
88
  @change=${this.setBinning}
90
89
  ></luzmo-number-field>
@@ -101,12 +100,12 @@ class n extends g(d, {
101
100
  emphasized
102
101
  .size=${this.size}
103
102
  ?selected=${this._enabled}
104
- class=${x(this._enabled ? "active" : "inactive")}
103
+ class=${this._enabled ? "active" : "inactive"}
105
104
  @click=${this.toggleBinning}
106
105
  >
107
106
  <luzmo-icon
108
107
  slot="icon"
109
- .icon=${this._enabled ? p : f}
108
+ .icon=${this._enabled ? p : h}
110
109
  ></luzmo-icon>
111
110
  ${this._enabled ? "Enabled" : "Disabled"}
112
111
  </luzmo-action-button>
@@ -123,7 +122,7 @@ r([
123
122
  a()
124
123
  ], n.prototype, "slotContent");
125
124
  r([
126
- h()
125
+ f()
127
126
  ], n.prototype, "_enabled");
128
127
  r([
129
128
  v("#bin-width")
@@ -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("../en-CdROUdjt.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 "../en-BsAhbMzm.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-CtHO6VyI.cjs");require("../index-C_3Ak4MQ.cjs");require("../index-liTHhAef.cjs");const n=require("../property-Su1Q6aME.cjs"),d=require("../sized-mixin-PyCYpyQq-sKzDjc75.cjs"),g=require("../luzmo-icons-BrtBl3E5.cjs"),c=require("../state-ByiKNRhp.cjs"),u=require("../if-defined-DMSuo5Qx.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.I,{validSizes:Object.values(d.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r(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>
@@ -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-EQldC-LR.js";
21
- import "../index-B5VaT0lQ.js";
22
- import "../index-BC-nmKjU.js";
23
- import { I as m, r as c, x as d, n as i } from "../property-CD3dwBJC.js";
24
- import { m as z, d as g } from "../sized-mixin-PyCYpyQq-B40Ek2UB.js";
25
- import { C as p, h as b } from "../luzmo-icons-CZEpXpvy.js";
26
- import { r as f } from "../state-B1a8XIDm.js";
27
- import { o as h } from "../if-defined-Ch2dtEOS.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");
@@ -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-CtHO6VyI.cjs");require("../index-CTPox3yS.cjs");require("../index-C_3Ak4MQ.cjs");require("../index-Bofs4Q2E.cjs");require("../index-D9vzXhtJ.cjs");require("../index-Bjs6Yqet.cjs");require("../index-DQiQXn8N.cjs");const s=require("../property-Su1Q6aME.cjs"),_=require("../sized-mixin-PyCYpyQq-sKzDjc75.cjs"),v=require("../decompose-numeric-format-B3rVVHpO.cjs"),f=require("../luzmo-icons-BrtBl3E5.cjs"),F=require("../index-D4x-O9Uc.cjs"),A=require("../state-ByiKNRhp.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.I,{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(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}
@@ -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-EQldC-LR.js";
21
- import "../index-BGaxFTL4.js";
22
- import "../index-B5VaT0lQ.js";
23
- import "../index-BD3VxQBH.js";
24
- import "../index-DszPbTTD.js";
25
- import "../index-CkDDDzuJ.js";
26
- import "../index-DVaeDCbe.js";
27
- import { I as x, r as F, x as r, n as p } from "../property-CD3dwBJC.js";
28
- import { m as A, d as S } from "../sized-mixin-PyCYpyQq-B40Ek2UB.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 { O as $, T as L } from "../luzmo-icons-CZEpXpvy.js";
31
- import { a as D } from "../index-BRk42NQn.js";
32
- import { r as w } from "../state-B1a8XIDm.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]")) {