@luzmo/analytics-components-kit 1.0.1-alpha.6 → 1.0.1-alpha.8
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.
- package/components/{async-directive-DWRUSKKF-CNTJHpgh.js → async-directive-DWRUSKKF-CmOVMf6V.js} +1 -1
- package/components/{async-directive-DWRUSKKF-C2JoUGYR.cjs → async-directive-DWRUSKKF-D4itZyzc.cjs} +1 -1
- package/components/{button-base-B7v4eeRh-CjngVDsD.cjs → button-base-B7v4eeRh-BKKUK3x0.cjs} +1 -1
- package/components/{button-base-B7v4eeRh-B4fczZlv.js → button-base-B7v4eeRh-D3-GH03o.js} +3 -3
- package/components/{checkbox-mixin-BFGTmw17-BR4ufh0S.js → checkbox-mixin-BFGTmw17-C34LMsgu.js} +2 -2
- package/components/{checkbox-mixin-BFGTmw17-lIHmn1jk.cjs → checkbox-mixin-BFGTmw17-CCjGd0nS.cjs} +1 -1
- package/components/{directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs → directive-helpers-nlQRAaQt-3kEWF2GV.cjs} +1 -1
- package/components/{directive-helpers-nlQRAaQt-arNFWD5u.js → directive-helpers-nlQRAaQt-I6T4KZKW.js} +1 -1
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +11 -11
- package/components/display-settings-binning/index.cjs +2 -2
- package/components/display-settings-binning/index.js +11 -11
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-grand-totals/index.cjs +4 -4
- package/components/display-settings-grand-totals/index.js +28 -28
- package/components/display-settings-numeric/index.cjs +2 -2
- package/components/display-settings-numeric/index.js +36 -36
- package/components/display-settings-period-over-period/index.cjs +2 -2
- package/components/display-settings-period-over-period/index.js +17 -17
- package/components/draggable-data-item/index.cjs +1 -1
- package/components/draggable-data-item/index.js +2 -2
- package/components/draggable-data-item-level/index.cjs +5 -5
- package/components/draggable-data-item-level/index.js +85 -85
- package/components/droppable-slot/index.cjs +3 -3
- package/components/droppable-slot/index.js +5 -5
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +17 -17
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +3 -3
- package/components/edit-option-action-button-group/index.cjs +2 -2
- package/components/edit-option-action-button-group/index.js +37 -37
- package/components/{edit-option-base-Ck3NFAli.cjs → edit-option-base-Boz7TNRZ.cjs} +1 -1
- package/components/{edit-option-base-w3UBiCoU.js → edit-option-base-qePiIQWd.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +15 -15
- package/components/edit-option-color-picker/index.js +58 -58
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-positions-number-field/index.cjs +3 -3
- package/components/edit-option-positions-number-field/index.js +7 -7
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +3 -3
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +4 -4
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/en-C2J19gzy.cjs +202 -0
- package/components/{en-BvtH5B9A.cjs → en-GB-DnMJULWA.cjs} +1 -1
- package/components/{en-GB-BMvD7axC.js → en-GB-HBRggw5W.js} +1 -1
- package/components/{index-DeyQ1JGg.js → en-udO6xwPm.js} +412 -405
- package/components/{if-defined-aQZR75uI.cjs → if-defined-8BOch-oC.cjs} +1 -1
- package/components/{if-defined-BSAr_4u4-CVDyXUmc.js → if-defined-BSAr_4u4-4Ys8VE7T.js} +1 -1
- package/components/{if-defined-BSAr_4u4-CNmaFBUP.cjs → if-defined-BSAr_4u4-gECNwmTC.cjs} +1 -1
- package/components/{if-defined-_S7apvH1.js → if-defined-Bv6MRdSW.js} +1 -1
- package/components/{index-f8GtjOLn.cjs → index-86cIx1Ql.cjs} +1 -1
- package/components/{index-aLxc3xA_.js → index-B3ve6cAj.js} +19 -19
- package/components/{index-Pmv-d4iw.js → index-B5Wvyv9s.js} +20 -20
- package/components/{index-FSUV_4nO.js → index-BBrer3_5.js} +1 -1
- package/components/{index-DDleIdd8.cjs → index-BJVxTeoi.cjs} +1 -1
- package/components/{index-DiSrnT1e.js → index-BUSWsm5N.js} +10 -10
- package/components/{index-CHLcEawI.js → index-BVX_ozT9.js} +2 -2
- package/components/{index-fbS4OrPM.js → index-BYfDERr7.js} +3 -3
- package/components/{index-BuW8doNV.js → index-Bee1uunR.js} +4 -4
- package/components/{index-C_xCeCrL.cjs → index-BrEDK88k.cjs} +6 -6
- package/components/{index-CdHFj3ra.cjs → index-Bt5nP_6w.cjs} +1 -1
- package/components/{index-DC2Pby0z.cjs → index-ByjLd3bT.cjs} +2 -2
- package/components/{index-Ci0Pe5UA.js → index-C8IL2IZ6.js} +4 -4
- package/components/{index-CMvLpPKD-CgGXdNKs.js → index-CMvLpPKD-D5MpMVYZ.js} +15 -15
- package/components/{index-CMvLpPKD-DoxJRhRP.cjs → index-CMvLpPKD-Yf1PLWrj.cjs} +6 -6
- package/components/{index-DUlH3hbL.js → index-CXIT0cYY.js} +5 -5
- package/components/{index-dJXOanPE.js → index-CdCtJpK9.js} +6 -6
- package/components/{index-B0ZqIWfU.cjs → index-CdUTqQ3L.cjs} +2 -2
- package/components/{index-BEi8DTwW.cjs → index-CdpyJ7hp.cjs} +1 -1
- package/components/{index-C44nA7Wn.js → index-CfEn3fIT.js} +3 -3
- package/components/{index-BxFGd_xp.cjs → index-D8qmoauu.cjs} +1 -1
- package/components/{index-DxXcY78P.cjs → index-DEVOZNSc.cjs} +1 -1
- package/components/{index-CKbGBBId.cjs → index-DUO13KGl.cjs} +1 -1
- package/components/{index-C_Cxv6xn.js → index-DVAsMiOm.js} +4 -4
- package/components/{index-Dkom_Qy5.js → index-DnozlYag.js} +1 -1
- package/components/{index-ByfMhxDr.cjs → index-h9T5DPIm.cjs} +2 -2
- package/components/{index-Bti4K2L2.cjs → index-i8GaIN7i.cjs} +1 -1
- package/components/{index-EkTLplXl.cjs → index-iYpAy-Kg.cjs} +4 -4
- package/components/{index-DMbzEC_s.js → index-ymMEPngt.js} +23 -23
- package/components/{index-DLrQ4hc5.cjs → index-zuArOtOt.cjs} +2 -2
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{language-resolution-8yZa5r_P-CLZhU076.js → language-resolution-8yZa5r_P-Bn0bYosv.js} +3 -3
- package/components/{language-resolution-8yZa5r_P-CpbzT4ej.cjs → language-resolution-8yZa5r_P-FqQChUDW.cjs} +1 -1
- package/components/luzmo-icons-BE2T8vWu.js +613 -0
- package/components/luzmo-icons-XsFsTAl3.cjs +31 -0
- package/components/{observe-slot-text-ggb4kKgY-DqsddtTd.cjs → observe-slot-text-ggb4kKgY-DBVrKDBD.cjs} +1 -1
- package/components/{observe-slot-text-ggb4kKgY-yUxhPbbJ.js → observe-slot-text-ggb4kKgY-o5QFWUeA.js} +2 -2
- package/components/{popover-DlkzrLpl-TYw7ejnD.cjs → popover-DlkzrLpl-BhTvuvTu.cjs} +1 -1
- package/components/{popover-DlkzrLpl-DFIvgCjc.js → popover-DlkzrLpl-CCwcTIXr.js} +3 -3
- package/components/{property-ChsOQ1Yj.cjs → property-0L4eB11h.cjs} +17 -17
- package/components/{property-CXJD1jOW.js → property-B2F7x7Cz.js} +301 -300
- package/components/{sized-mixin-BxMraZLS-Dc6r-Wg4.js → sized-mixin-BxMraZLS-B_y0PzR3.js} +1 -1
- package/components/{sized-mixin-BxMraZLS-w9I35lP7.cjs → sized-mixin-BxMraZLS-DEFWqo8f.cjs} +1 -1
- package/components/slot-menu/index.cjs +4 -4
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +12 -12
- package/components/{state-DLrsMPet.cjs → state-BFA93Sye.cjs} +1 -1
- package/components/{state-DwFtyqCc.js → state-Joaryhrg.js} +1 -1
- package/components/{task-CgK9ztaw.cjs → task-B8yMzxui.cjs} +1 -1
- package/components/{task-DYLITx7R.js → task-Cr9aRIbV.js} +1 -1
- package/components/{text-field-CvKSS59x-BzSqtt2_.js → text-field-CvKSS59x-Dn0_1HO7.js} +5 -5
- package/components/{text-field-CvKSS59x-D0MM0fDH.cjs → text-field-CvKSS59x-E9LQElL4.cjs} +3 -3
- package/package.json +1 -1
- package/components/en-CN4CDOzo.js +0 -23
- package/components/en-GB-DrOGXwdM.cjs +0 -20
- package/components/en-US-BvtH5B9A.cjs +0 -20
- package/components/en-US-CN4CDOzo.js +0 -23
- package/components/index-CQjWiSIp.cjs +0 -202
package/components/{async-directive-DWRUSKKF-CNTJHpgh.js → async-directive-DWRUSKKF-CmOVMf6V.js}
RENAMED
@@ -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-
|
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
|
package/components/{async-directive-DWRUSKKF-C2JoUGYR.cjs → async-directive-DWRUSKKF-D4itZyzc.cjs}
RENAMED
@@ -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-
|
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-
|
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-
|
21
|
-
import { d as p } from "./if-defined-BSAr_4u4-
|
22
|
-
import { y as d, b } from "./observe-slot-text-ggb4kKgY-
|
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
|
package/components/{checkbox-mixin-BFGTmw17-BR4ufh0S.js → checkbox-mixin-BFGTmw17-C34LMsgu.js}
RENAMED
@@ -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-
|
21
|
-
import { d as a, m as p } from "./if-defined-BSAr_4u4-
|
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
|
package/components/{checkbox-mixin-BFGTmw17-lIHmn1jk.cjs → checkbox-mixin-BFGTmw17-CCjGd0nS.cjs}
RENAMED
@@ -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-
|
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-
|
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.
|
package/components/{directive-helpers-nlQRAaQt-arNFWD5u.js → directive-helpers-nlQRAaQt-I6T4KZKW.js}
RENAMED
@@ -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-
|
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-
|
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.
|
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.
|
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-
|
21
|
-
import "../index-
|
22
|
-
import "../index-
|
23
|
-
import "../index-
|
24
|
-
import "../index-
|
25
|
-
import "../index-
|
26
|
-
import "../index-
|
27
|
-
import { k as p, a as z, x as n, n as s } from "../property-
|
28
|
-
import { m as h, d as v } from "../sized-mixin-BxMraZLS-
|
29
|
-
import { r as b } from "../state-
|
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 {
|
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-
|
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.
|
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-
|
21
|
-
import "../index-
|
22
|
-
import "../index-
|
23
|
-
import "../index-
|
24
|
-
import { k as
|
25
|
-
import { m as g, d as b } from "../sized-mixin-BxMraZLS-
|
26
|
-
import {
|
27
|
-
import { r as f } from "../state-
|
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
|
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
|
-
|
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(
|
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("../
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../en-C2J19gzy.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 "../
|
20
|
+
import { L as u } from "../en-udO6xwPm.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-
|
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"),g=require("../sized-mixin-BxMraZLS-DEFWqo8f.cjs"),c=require("../luzmo-icons-XsFsTAl3.cjs"),u=require("../state-BFA93Sye.cjs"),p=require("../if-defined-8BOch-oC.cjs"),m=":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 h=Object.defineProperty,r=(l,t,s,i)=>{for(var e=void 0,o=l.length-1,d;o>=0;o--)(d=l[o])&&(e=d(t,s,e)||e);return e&&h(t,s,e),e};class a extends g.m(n.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r$1(m)]}willUpdate(t){var s,i;t.has("slotContent")&&(this._enabled=((i=(s=this.slotContent)==null?void 0:s.grandTotals)==null?void 0:i.enabled)??!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>
|
@@ -27,15 +27,15 @@
|
|
27
27
|
emphasized
|
28
28
|
.size=${this.size}
|
29
29
|
?selected=${this._enabled}
|
30
|
-
class=${
|
30
|
+
class=${p.o(this._enabled?"active":"inactive")}
|
31
31
|
@click=${this.toggleGrandTotals}
|
32
32
|
>
|
33
33
|
<luzmo-icon
|
34
34
|
slot="icon"
|
35
|
-
.icon=${this._enabled?
|
35
|
+
.icon=${this._enabled?c.C0:c.h0}
|
36
36
|
></luzmo-icon>
|
37
37
|
${this._enabled?"Enabled":"Disabled"}
|
38
38
|
</luzmo-action-button>
|
39
39
|
</div>
|
40
40
|
</div>
|
41
|
-
</div>`}}
|
41
|
+
</div>`}}r([n.n({type:String,reflect:!0})],a.prototype,"language");r([n.n()],a.prototype,"slotContent");r([u.r()],a.prototype,"_enabled");customElements.get("luzmo-display-settings-grand-totals")||customElements.define("luzmo-display-settings-grand-totals",a);exports.LuzmoDisplaySettingsGrandTotals=a;
|
@@ -17,39 +17,39 @@
|
|
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-
|
21
|
-
import "../index-
|
22
|
-
import "../index-
|
23
|
-
import { k as
|
24
|
-
import { m as
|
25
|
-
import {
|
26
|
-
import { r as
|
27
|
-
import { o as
|
28
|
-
const
|
20
|
+
import "../index-CdCtJpK9.js";
|
21
|
+
import "../index-BYfDERr7.js";
|
22
|
+
import "../index-ymMEPngt.js";
|
23
|
+
import { k as c, a as d, x as z, n as u } from "../property-B2F7x7Cz.js";
|
24
|
+
import { m as g, d as p } from "../sized-mixin-BxMraZLS-B_y0PzR3.js";
|
25
|
+
import { C as b, h as f } from "../luzmo-icons-BE2T8vWu.js";
|
26
|
+
import { r as h } from "../state-Joaryhrg.js";
|
27
|
+
import { o as v } from "../if-defined-Bv6MRdSW.js";
|
28
|
+
const m = () => {
|
29
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
30
30
|
const o = document.createElement("style");
|
31
31
|
o.setAttribute("data-luzmo-vars", ""), o.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(o);
|
32
32
|
}
|
33
33
|
};
|
34
|
-
|
34
|
+
m();
|
35
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
|
37
|
-
for (var e = void 0,
|
38
|
-
(
|
39
|
-
return e &&
|
36
|
+
var y = Object.defineProperty, a = (o, l, r, s) => {
|
37
|
+
for (var e = void 0, n = o.length - 1, i; n >= 0; n--)
|
38
|
+
(i = o[n]) && (e = i(l, r, e) || e);
|
39
|
+
return e && y(l, r, e), e;
|
40
40
|
};
|
41
|
-
class t extends
|
42
|
-
validSizes: Object.values(
|
41
|
+
class t extends g(c, {
|
42
|
+
validSizes: Object.values(p)
|
43
43
|
}) {
|
44
44
|
constructor() {
|
45
45
|
super(...arguments), this.slotContent = {};
|
46
46
|
}
|
47
47
|
static get styles() {
|
48
|
-
return [
|
48
|
+
return [d(x)];
|
49
49
|
}
|
50
50
|
willUpdate(l) {
|
51
|
-
var r;
|
52
|
-
l.has("slotContent") && (this._enabled = ((r = this.slotContent) == null ? void 0 : r.grandTotals) ?? !1);
|
51
|
+
var r, s;
|
52
|
+
l.has("slotContent") && (this._enabled = ((s = (r = this.slotContent) == null ? void 0 : r.grandTotals) == null ? void 0 : s.enabled) ?? !1);
|
53
53
|
}
|
54
54
|
toggleGrandTotals() {
|
55
55
|
this._enabled = !this._enabled, this.sendEvent();
|
@@ -73,7 +73,7 @@ class t extends z(m, {
|
|
73
73
|
);
|
74
74
|
}
|
75
75
|
render() {
|
76
|
-
return
|
76
|
+
return z`<div class="settings-container">
|
77
77
|
<div class="settings-row">
|
78
78
|
<div class="setting">
|
79
79
|
<luzmo-field-label for="grand-totals">Grand totals</luzmo-field-label>
|
@@ -83,12 +83,12 @@ class t extends z(m, {
|
|
83
83
|
emphasized
|
84
84
|
.size=${this.size}
|
85
85
|
?selected=${this._enabled}
|
86
|
-
class=${
|
86
|
+
class=${v(this._enabled ? "active" : "inactive")}
|
87
87
|
@click=${this.toggleGrandTotals}
|
88
88
|
>
|
89
89
|
<luzmo-icon
|
90
90
|
slot="icon"
|
91
|
-
.icon=${this._enabled ?
|
91
|
+
.icon=${this._enabled ? b : f}
|
92
92
|
></luzmo-icon>
|
93
93
|
${this._enabled ? "Enabled" : "Disabled"}
|
94
94
|
</luzmo-action-button>
|
@@ -97,14 +97,14 @@ class t extends z(m, {
|
|
97
97
|
</div>`;
|
98
98
|
}
|
99
99
|
}
|
100
|
-
|
101
|
-
|
100
|
+
a([
|
101
|
+
u({ type: String, reflect: !0 })
|
102
102
|
], t.prototype, "language");
|
103
|
-
|
104
|
-
|
103
|
+
a([
|
104
|
+
u()
|
105
105
|
], t.prototype, "slotContent");
|
106
|
-
|
107
|
-
|
106
|
+
a([
|
107
|
+
h()
|
108
108
|
], t.prototype, "_enabled");
|
109
109
|
customElements.get("luzmo-display-settings-grand-totals") || customElements.define(
|
110
110
|
"luzmo-display-settings-grand-totals",
|
@@ -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-
|
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.
|
34
|
+
${f.O2(f.T)}
|
35
35
|
</span>
|
36
36
|
</luzmo-action-button>
|
37
37
|
<luzmo-overlay
|