@luzmo/analytics-components-kit 1.0.1-alpha.5 → 1.0.1-alpha.6
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-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-C2JoUGYR.cjs} +3 -3
- package/components/{async-directive-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CNTJHpgh.js} +1 -1
- package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-B7v4eeRh-B4fczZlv.js} +3 -3
- package/components/{button-base-CDLQV7Vk-BXgdcJZo.cjs → button-base-B7v4eeRh-CjngVDsD.cjs} +4 -4
- package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-BR4ufh0S.js} +6 -6
- package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-lIHmn1jk.cjs} +4 -4
- package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs} +2 -2
- package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-arNFWD5u.js} +10 -10
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +11 -11
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -2
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +17 -18
- 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 +2 -2
- package/components/display-settings-grand-totals/index.js +12 -12
- 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 +5 -5
- package/components/display-settings-period-over-period/index.js +85 -85
- package/components/draggable-data-item/index.cjs +2 -2
- 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 +4 -4
- package/components/droppable-slot/index.js +8 -8
- package/components/edit-item/index.cjs +7 -7
- package/components/edit-item/index.js +72 -72
- package/components/edit-option/index.cjs +3 -3
- 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-DnrerC_T.cjs → edit-option-base-Ck3NFAli.cjs} +2 -2
- package/components/{edit-option-base-oIvlolV9.js → edit-option-base-w3UBiCoU.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +33 -33
- package/components/edit-option-color-picker/index.js +131 -131
- 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 +3 -3
- package/components/edit-option-slider/index.js +217 -217
- package/components/edit-option-switch/index.cjs +4 -4
- package/components/edit-option-switch/index.js +30 -30
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/{en-GB-g8rSQSba.cjs → en-BvtH5B9A.cjs} +1 -1
- package/components/en-CN4CDOzo.js +23 -0
- package/components/{en-GB-qub-Kemt.js → en-GB-BMvD7axC.js} +1 -1
- package/components/en-GB-DrOGXwdM.cjs +20 -0
- package/components/en-US-BvtH5B9A.cjs +20 -0
- package/components/en-US-CN4CDOzo.js +23 -0
- package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-BSAr_4u4-CNmaFBUP.cjs} +2 -2
- package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-BSAr_4u4-CVDyXUmc.js} +4 -4
- package/components/{if-defined-Ch2dtEOS.js → if-defined-_S7apvH1.js} +1 -1
- package/components/{if-defined-DMSuo5Qx.cjs → if-defined-aQZR75uI.cjs} +1 -1
- package/components/{index-B0cBkCaq.cjs → index-B0ZqIWfU.cjs} +4 -4
- package/components/{index-DQiQXn8N.cjs → index-BEi8DTwW.cjs} +1 -1
- package/components/{index-3ewegRbb.cjs → index-Bti4K2L2.cjs} +4 -4
- package/components/{index-BGaxFTL4.js → index-BuW8doNV.js} +4 -4
- package/components/{index-Bofs4Q2E.cjs → index-BxFGd_xp.cjs} +1 -1
- package/components/{index-liTHhAef.cjs → index-ByfMhxDr.cjs} +2 -2
- package/components/{index-Cp-lHUlX.js → index-C44nA7Wn.js} +3 -3
- package/components/{index-BqTdFs1o.js → index-CHLcEawI.js} +3 -3
- package/components/{index-CTPox3yS.cjs → index-CKbGBBId.cjs} +3 -3
- package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-CMvLpPKD-CgGXdNKs.js} +20 -20
- package/components/{index-C2qG2Sm8-CbVWlbag.cjs → index-CMvLpPKD-DoxJRhRP.cjs} +14 -14
- package/components/index-CQjWiSIp.cjs +202 -0
- package/components/{index-B2N_PZf3.js → index-C_Cxv6xn.js} +4 -4
- package/components/index-C_xCeCrL.cjs +185 -0
- package/components/{index-C_3Ak4MQ.cjs → index-CdHFj3ra.cjs} +5 -5
- package/components/{index-DskAouD-.js → index-Ci0Pe5UA.js} +4 -4
- package/components/{index-CayjvyyX.cjs → index-DC2Pby0z.cjs} +4 -4
- package/components/index-DDleIdd8.cjs +192 -0
- package/components/{index-CtHO6VyI.cjs → index-DLrQ4hc5.cjs} +4 -4
- package/components/{index-BC-nmKjU.js → index-DMbzEC_s.js} +13 -13
- package/components/{index-BRk42NQn.js → index-DUlH3hbL.js} +166 -166
- package/components/{en-BsAhbMzm.js → index-DeyQ1JGg.js} +404 -411
- package/components/{index-B2z7i1-X.js → index-DiSrnT1e.js} +7 -7
- package/components/{index-DVaeDCbe.js → index-Dkom_Qy5.js} +1 -1
- package/components/{index-ON4x-yZ7.cjs → index-DxXcY78P.cjs} +2 -2
- package/components/{index-D9vzXhtJ.cjs → index-EkTLplXl.cjs} +8 -8
- package/components/{index-BD3VxQBH.js → index-FSUV_4nO.js} +1 -1
- package/components/{index-CkDDDzuJ.js → index-Pmv-d4iw.js} +25 -25
- package/components/{index-DszPbTTD.js → index-aLxc3xA_.js} +17 -17
- package/components/{index-EQldC-LR.js → index-dJXOanPE.js} +4 -4
- package/components/{index-gfU9TGd5.cjs → index-f8GtjOLn.cjs} +3 -3
- package/components/{index-B5VaT0lQ.js → index-fbS4OrPM.js} +3 -3
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → language-resolution-8yZa5r_P-CLZhU076.js} +3 -3
- package/components/{language-resolution-8yZa5r_P-DQ3rZzW5.cjs → language-resolution-8yZa5r_P-CpbzT4ej.cjs} +3 -3
- package/components/{observe-slot-text-BG0H7bQK-CrkAqUMj.cjs → observe-slot-text-ggb4kKgY-DqsddtTd.cjs} +4 -4
- package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-yUxhPbbJ.js} +4 -4
- package/components/{popover-bg0EQQ8p-D4-hrhIx.js → popover-DlkzrLpl-DFIvgCjc.js} +3 -3
- package/components/{popover-bg0EQQ8p-Dha09dhV.cjs → popover-DlkzrLpl-TYw7ejnD.cjs} +5 -5
- package/components/{property-CD3dwBJC.js → property-CXJD1jOW.js} +661 -628
- package/components/property-ChsOQ1Yj.cjs +112 -0
- package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → sized-mixin-BxMraZLS-Dc6r-Wg4.js} +1 -1
- package/components/{sized-mixin-PyCYpyQq-sKzDjc75.cjs → sized-mixin-BxMraZLS-w9I35lP7.cjs} +2 -2
- 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 +19 -19
- package/components/{state-ByiKNRhp.cjs → state-DLrsMPet.cjs} +1 -1
- package/components/{state-B1a8XIDm.js → state-DwFtyqCc.js} +1 -1
- package/components/{task-HFsHfTra.cjs → task-CgK9ztaw.cjs} +1 -1
- package/components/{task-BPD0PyaQ.js → task-DYLITx7R.js} +1 -1
- package/components/{text-field-7ITo3Lac-DqVO04kR.js → text-field-CvKSS59x-BzSqtt2_.js} +29 -29
- package/components/text-field-CvKSS59x-D0MM0fDH.cjs +131 -0
- package/package.json +1 -1
- package/components/en-CdROUdjt.cjs +0 -202
- package/components/index-Bjs6Yqet.cjs +0 -185
- package/components/index-D4x-O9Uc.cjs +0 -192
- package/components/luzmo-icons-BrtBl3E5.cjs +0 -31
- package/components/luzmo-icons-CZEpXpvy.js +0 -613
- package/components/property-Su1Q6aME.cjs +0 -124
- package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
package/components/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-C2JoUGYR.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-
|
20
|
+
"use strict";const u=require("./directive-helpers-nlQRAaQt-CQ_hWlbQ.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
|
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=
|
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;
|
package/components/{async-directive-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CNTJHpgh.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-
|
20
|
+
import { $, r as f, s as h } from "./directive-helpers-nlQRAaQt-arNFWD5u.js";
|
21
21
|
/*! * Lucero - The design system for Luzmo.
|
22
22
|
*
|
23
23
|
* Copyright © 2025 Luzmo
|
@@ -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 {
|
21
|
-
import { d as p } from "./if-defined-
|
22
|
-
import { y as d, b } from "./observe-slot-text-
|
20
|
+
import { h as c, H as i, r as u, R as h } from "./property-CXJD1jOW.js";
|
21
|
+
import { d as p } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
22
|
+
import { y as d, b } from "./observe-slot-text-ggb4kKgY-yUxhPbbJ.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
24
24
|
*
|
25
25
|
* 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 s=require("./property-
|
20
|
+
"use strict";const s=require("./property-ChsOQ1Yj.cjs"),c=require("./if-defined-BSAr_4u4-CNmaFBUP.cjs"),h=require("./observe-slot-text-ggb4kKgY-DqsddtTd.cjs");/*! * Lucero - The design system for Luzmo.
|
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
|
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.
|
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.
|
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;
|
package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-BR4ufh0S.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 {
|
21
|
-
import { d as a, m as p } from "./if-defined-
|
20
|
+
import { R as i, H as d } from "./property-CXJD1jOW.js";
|
21
|
+
import { d as a, m as p } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
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,
|
41
|
-
(
|
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
|
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
|
87
|
+
k
|
88
88
|
};
|
package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-lIHmn1jk.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
|
20
|
+
"use strict";const c=require("./property-ChsOQ1Yj.cjs"),d=require("./if-defined-BSAr_4u4-CNmaFBUP.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
|
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=${
|
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([
|
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-
|
20
|
+
"use strict";const i=require("./property-ChsOQ1Yj.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.
|
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.
|
package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-arNFWD5u.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 {
|
20
|
+
import { R as i } from "./property-CXJD1jOW.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,
|
76
|
-
this._$Ct = t, this._$AM =
|
75
|
+
_$AT(t, s, e) {
|
76
|
+
this._$Ct = t, this._$AM = s, this._$Ci = e;
|
77
77
|
}
|
78
|
-
_$AS(t,
|
79
|
-
return this.update(t,
|
78
|
+
_$AS(t, s) {
|
79
|
+
return this.update(t, s);
|
80
80
|
}
|
81
|
-
update(t,
|
82
|
-
return this.render(...
|
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
|
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
|
-
|
111
|
+
T as f,
|
112
112
|
$ as n,
|
113
|
-
|
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-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../task-CgK9ztaw.cjs");require("../index-DxXcY78P.cjs");require("../index-CdHFj3ra.cjs");require("../index-ByfMhxDr.cjs");require("../index-f8GtjOLn.cjs");require("../index-Bti4K2L2.cjs");require("../index-B0ZqIWfU.cjs");const t=require("../property-ChsOQ1Yj.cjs"),g=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),c=require("../state-DLrsMPet.cjs"),m=require("../query-D5qWDopr.cjs"),a=require("@luzmo/icons"),v=":host{font-family:var(--luzmo-display-settings-font-family, var(--luzmo-font-family));font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}.settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap))}luzmo-divider{margin:var(--luzmo-display-settings-ids-container-vertical-margin, var(--display-settings-ids-container-vertical-margin)) 0}.setting{display:flex;align-items:center}.label-action-container{display:flex;align-items:center;justify-content:space-between;gap:var(--luzmo-display-settings-info-to-remove-icon-gap, var(--display-settings-info-to-remove-icon-gap))}.id-button,.remove-button{outline:none;cursor:pointer;border:none;background:none;font-size:var(--luzmo-display-settings-font-size, var(--display-settings-font-size));color:var(--luzmo-display-settings-font-color, var(--luzmo-font-color))}.remove-button{display:block;width:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));height:var(--luzmo-display-settings-remove-button-size, var(--display-settings-remove-button-size));border-radius:var(--luzmo-display-settings-remove-button-border-radius, 50%)}.remove-button:hover{background-color:var(--luzmo-display-settings-remove-button-background-color-hover, var(--luzmo-background-color-hover))}.remove-button:active,.remove-button:focus{background-color:var(--luzmo-display-settings-remove-button-background-color-down, var(--luzmo-background-color-down))}.remove-button:focus-visible{box-shadow:0 0 0 var(--luzmo-display-settings-remove-button-indicator-thickness, var(--display-settings-remove-button-indicator-thickness)) var(--highcontrast-remove-button-indicator-color, var(--luzmo-display-settings-remove-button-indicator-color, var(--display-settings-remove-button-indicator-color)))}.ids-container{display:flex;flex-direction:column;gap:var(--luzmo-display-settings-gap, var(--display-settings-gap));border-radius:50%}.id-label{text-transform:var(--luzmo-display-settings-id-label-text-transform, var(--display-settings-id-label-text-transform));font-size:var(--luzmo-display-settings-id-label-font-size, var(--display-settings-id-label-font-size));color:var(--luzmo-display-settings-id-label-color, var(--display-settings-id-label-color))}:host{--display-settings-font-family: var(--luzmo-font-family);--display-settings-id-label-text-transform: uppercase;--display-settings-id-label-color: var(--luzmo-secondary);--display-settings-remove-button-indicator-color: var(--luzmo-primary);--display-settings-remove-button-indicator-thickness: var( --luzmo-border-width )}:host{--display-settings-font-size: var(--luzmo-font-size);--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-4);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-5);--display-settings-remove-button-size: var(--luzmo-component-height)}:host([size=s]){--display-settings-id-label-font-size: var(--luzmo-font-size-s);--display-settings-font-size: var(--luzmo-font-size-s);--display-settings-gap: var(--luzmo-spacing-3);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-3);--display-settings-info-to-remove-icon-gap: var(--luzmo-spacing-4);--display-settings-remove-button-size: var(--luzmo-component-height-s)}:host([size=l]){--display-settings-id-label-font-size: var(--luzmo-font-size);--display-settings-font-size: var(--luzmo-font-size-l);--display-settings-gap: var(--luzmo-spacing-4);--display-settings-ids-container-vertical-margin: var(--luzmo-spacing-5);--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-remove-button-size: var(--luzmo-component-height-l)}:host([size=xl]){--display-settings-id-label-font-size: var(--luzmo-font-size-l);--display-settings-font-size: var(--luzmo-font-size-xl);--display-settings-gap: var(--luzmo-spacing-5);--display-settings-ids-container-vertical-margin: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--display-settings-info-to-remove-icon-gap: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-2) );--display-settings-remove-button-size: var(--luzmo-component-height-xl)}";var h=Object.defineProperty,n=(l,e,o,d)=>{for(var i=void 0,r=l.length-1,u;r>=0;r--)(u=l[r])&&(i=u(e,o,i)||i);return i&&h(e,o,i),i};class s extends g.m(t.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this._loadDisplaySettings=new p.h(this,{task:async([e,o,d])=>{const i=[];this.grandTotals&&i.push("grandTotals"),this.periodOverPeriod&&i.push("periodOverPeriod"),(o==="numeric"||o==="mixed"&&(e==null?void 0:e.type)==="numeric")&&i.push("numeric"),o!=="numeric"&&(e==null?void 0:e.type)==="datetime"&&i.push("datetime"),!["numeric","mixed"].includes(o??"")&&(e==null?void 0:e.type)==="numeric"&&!this.binningDisabled&&i.push("binning"),i.length>0&&!d&&(i.includes("numeric")&&!this._settingsTypeLoaded.numeric?(await Promise.resolve().then(()=>require("../display-settings-numeric/index.cjs")),this._settingsTypeLoaded.numeric=!0):i.includes("datetime")&&!this._settingsTypeLoaded.datetime?(await Promise.resolve().then(()=>require("../display-settings-datetime/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0):i.includes("binning")&&!this._settingsTypeLoaded.binning?(await Promise.resolve().then(()=>require("../display-settings-binning/index.cjs")),this._settingsTypeLoaded.binning=!0):i.includes("grandTotals")&&!this._settingsTypeLoaded.grandTotals?(await Promise.resolve().then(()=>require("../display-settings-grand-totals/index.cjs")),this._settingsTypeLoaded.grandTotals=!0):i.includes("periodOverPeriod")&&!this._settingsTypeLoaded.periodOverPeriod&&(await Promise.resolve().then(()=>require("../display-settings-period-over-period/index.cjs")),this._settingsTypeLoaded.periodOverPeriod=!0))},args:()=>[this.slotContent,this.slotType,this.hideDisplaySettings]}),this.language="en",this.contentLanguage="en",this.slotType="numeric",this.slotContent={},this._showIds=!1,this.measureColumns=[],this._settingsTypeLoaded={binning:!1,datetime:!1,numeric:!1,grandTotals:!1,periodOverPeriod:!1,hierarchy:!0},this._currentSlotContent={}}static get styles(){return[t.r$1(v)]}willUpdate(e){e.has("slotContent")&&(this._currentSlotContent=structuredClone(this.slotContent))}_onSlotContentChange(e){e.stopPropagation(),e.preventDefault(),this._currentSlotContent=structuredClone(e.detail.slotContent),this._sendEvent()}_onLabelChange(){this._currentSlotContent=structuredClone(this._currentSlotContent),this._currentSlotContent.label=this._multiLanguageFieldElement.value||{},this._sendEvent()}_sendEvent(){this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this._currentSlotContent}}}))}_removeEvent(){this.dispatchEvent(new CustomEvent("remove-slot-content",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:this._currentSlotContent}}))}_toggleIds(){this._showIds=!this._showIds}_renderDisplaySettings(){return t.x`<div class="settings-container">
|
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.luzmoIcon(a.luzmoInfoCircleOutline)}
|
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.luzmoIcon(a.luzmoTrash)}
|
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 {
|
28
|
-
import { m as h, d as v } from "../sized-mixin-
|
29
|
-
import { r as b } from "../state-
|
20
|
+
import { h as g } from "../task-DYLITx7R.js";
|
21
|
+
import "../index-CHLcEawI.js";
|
22
|
+
import "../index-fbS4OrPM.js";
|
23
|
+
import "../index-DMbzEC_s.js";
|
24
|
+
import "../index-C_Cxv6xn.js";
|
25
|
+
import "../index-C44nA7Wn.js";
|
26
|
+
import "../index-DiSrnT1e.js";
|
27
|
+
import { k as p, a as z, x as n, n as s } from "../property-CXJD1jOW.js";
|
28
|
+
import { m as h, d as v } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
29
|
+
import { r as b } from "../state-DwFtyqCc.js";
|
30
30
|
import { e as f } from "../query-Ddbd72Um.js";
|
31
|
-
import {
|
31
|
+
import { luzmoIcon as m, luzmoInfoCircleOutline as y, luzmoTrash as x } from "@luzmo/icons";
|
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-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../index-DLrQ4hc5.cjs");require("../index-CdHFj3ra.cjs");require("../index-ByfMhxDr.cjs");require("../index-EkTLplXl.cjs");const n=require("../property-ChsOQ1Yj.cjs"),g=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),u=require("@luzmo/icons"),b=require("../state-DLrsMPet.cjs"),h=require("../query-D5qWDopr.cjs"),c=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-binning-gap, var(--display-settings-binning-gap))}:host{--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-binning-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-binning-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-binning-gap: var(--luzmo-spacing-5)}";var p=Object.defineProperty,o=(a,i,l,r)=>{for(var e=void 0,t=a.length-1,d;t>=0;t--)(d=a[t])&&(e=d(i,l,e)||e);return e&&p(i,l,e),e};class s extends g.m(n.kt,{validSizes:Object.values(g.d)}){constructor(){super(...arguments),this.slotContent={},this._enabled=!1,this._binWidth=10}static get styles(){return[n.r$1(c)]}willUpdate(i){var l,r,e,t;i.has("slotContent")&&(this._enabled=((r=(l=this.slotContent)==null?void 0:l.bins)==null?void 0:r.enabled)??!1,this._binWidth=((t=(e=this.slotContent)==null?void 0:e.bins)==null?void 0:t.number)??10)}toggleBinning(){this._enabled=!this._enabled,this.sendEvent()}setBinning(){this._binWidth=this.binWidthElement.value,this.sendEvent()}sendEvent(){const i={enabled:!!this._enabled,number:this._binWidth??10};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,bins:i}}}))}renderBinWidth(){return n.x`<div class="setting">
|
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
|
25
|
+
.value=${this._binWidth}
|
26
26
|
.size=${this.size}
|
27
27
|
@change=${this.setBinning}
|
28
28
|
></luzmo-number-field>
|
@@ -36,16 +36,16 @@
|
|
36
36
|
emphasized
|
37
37
|
.size=${this.size}
|
38
38
|
?selected=${this._enabled}
|
39
|
-
class=${
|
39
|
+
class=${this._enabled?"active":"inactive"}
|
40
40
|
@click=${this.toggleBinning}
|
41
41
|
>
|
42
42
|
<luzmo-icon
|
43
43
|
slot="icon"
|
44
|
-
.icon=${this._enabled?u.
|
44
|
+
.icon=${this._enabled?u.luzmoCheckboxChecked:u.luzmoCheckbox}
|
45
45
|
></luzmo-icon>
|
46
46
|
${this._enabled?"Enabled":"Disabled"}
|
47
47
|
</luzmo-action-button>
|
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([
|
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,16 +17,15 @@
|
|
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 {
|
25
|
-
import { m as g, d as b } from "../sized-mixin-
|
26
|
-
import {
|
27
|
-
import { r as
|
20
|
+
import "../index-dJXOanPE.js";
|
21
|
+
import "../index-fbS4OrPM.js";
|
22
|
+
import "../index-DMbzEC_s.js";
|
23
|
+
import "../index-aLxc3xA_.js";
|
24
|
+
import { k as d, a as z, x as m, n as a } from "../property-CXJD1jOW.js";
|
25
|
+
import { m as g, d as b } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
26
|
+
import { luzmoCheckboxChecked as p, luzmoCheckbox as h } from "@luzmo/icons";
|
27
|
+
import { r as f } from "../state-DwFtyqCc.js";
|
28
28
|
import { e as v } from "../query-Ddbd72Um.js";
|
29
|
-
import { o as x } from "../if-defined-Ch2dtEOS.js";
|
30
29
|
const c = () => {
|
31
30
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
32
31
|
const e = document.createElement("style");
|
@@ -34,20 +33,20 @@ const c = () => {
|
|
34
33
|
}
|
35
34
|
};
|
36
35
|
c();
|
37
|
-
const
|
38
|
-
var
|
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 &&
|
40
|
+
return o && y(l, t, o), o;
|
42
41
|
};
|
43
42
|
class n extends g(d, {
|
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(
|
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
|
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=${
|
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 :
|
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
|
-
|
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("../
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-CQjWiSIp.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 "../index-DeyQ1JGg.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-DLrQ4hc5.cjs");require("../index-CdHFj3ra.cjs");require("../index-ByfMhxDr.cjs");const n=require("../property-ChsOQ1Yj.cjs"),d=require("../sized-mixin-BxMraZLS-w9I35lP7.cjs"),g=require("@luzmo/icons"),c=require("../state-DLrsMPet.cjs"),u=require("../if-defined-aQZR75uI.cjs"),p=":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";var m=Object.defineProperty,o=(l,t,s,h)=>{for(var e=void 0,i=l.length-1,r;i>=0;i--)(r=l[i])&&(e=r(t,s,e)||e);return e&&m(t,s,e),e};class a extends d.m(n.kt,{validSizes:Object.values(d.d)}){constructor(){super(...arguments),this.slotContent={}}static get styles(){return[n.r$1(p)]}willUpdate(t){var s;t.has("slotContent")&&(this._enabled=((s=this.slotContent)==null?void 0:s.grandTotals)??!1)}toggleGrandTotals(){this._enabled=!this._enabled,this.sendEvent()}sendEvent(){const t={enabled:!!this._enabled};this.dispatchEvent(new CustomEvent("slot-content-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{slotContent:{...this.slotContent,grandTotals:t}}}))}render(){return n.x`<div class="settings-container">
|
21
21
|
<div class="settings-row">
|
22
22
|
<div class="setting">
|
23
23
|
<luzmo-field-label for="grand-totals">Grand totals</luzmo-field-label>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
>
|
33
33
|
<luzmo-icon
|
34
34
|
slot="icon"
|
35
|
-
.icon=${this._enabled?g.
|
35
|
+
.icon=${this._enabled?g.luzmoCheckboxChecked:g.luzmoCheckbox}
|
36
36
|
></luzmo-icon>
|
37
37
|
${this._enabled?"Enabled":"Disabled"}
|
38
38
|
</luzmo-action-button>
|
@@ -17,14 +17,14 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import "../index-
|
21
|
-
import "../index-
|
22
|
-
import "../index-
|
23
|
-
import {
|
24
|
-
import { m as z, d as g } from "../sized-mixin-
|
25
|
-
import {
|
26
|
-
import { r as f } from "../state-
|
27
|
-
import { o as h } from "../if-defined-
|
20
|
+
import "../index-dJXOanPE.js";
|
21
|
+
import "../index-fbS4OrPM.js";
|
22
|
+
import "../index-DMbzEC_s.js";
|
23
|
+
import { k as m, a as c, x as d, n as i } from "../property-CXJD1jOW.js";
|
24
|
+
import { m as z, d as g } from "../sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
25
|
+
import { luzmoCheckboxChecked as p, luzmoCheckbox as b } from "@luzmo/icons";
|
26
|
+
import { r as f } from "../state-DwFtyqCc.js";
|
27
|
+
import { o as h } from "../if-defined-_S7apvH1.js";
|
28
28
|
const u = () => {
|
29
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
30
30
|
const o = document.createElement("style");
|
@@ -32,11 +32,11 @@ const u = () => {
|
|
32
32
|
}
|
33
33
|
};
|
34
34
|
u();
|
35
|
-
const
|
36
|
-
var
|
35
|
+
const x = ":host .settings-container{display:flex;flex-direction:column;gap:var(--luzmo-spacing-2)}:host .settings-row{display:flex;justify-content:flex-start;align-items:center;gap:var(--luzmo-display-settings-grand-totals-gap, var(--display-settings-grand-totals-gap))}:host{--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=s]){--display-settings-grand-totals-gap: var(--luzmo-spacing-3)}:host([size=l]){--display-settings-grand-totals-gap: var(--luzmo-spacing-4)}:host([size=xl]){--display-settings-grand-totals-gap: var(--luzmo-spacing-5)}";
|
36
|
+
var v = Object.defineProperty, n = (o, l, r, y) => {
|
37
37
|
for (var e = void 0, s = o.length - 1, a; s >= 0; s--)
|
38
38
|
(a = o[s]) && (e = a(l, r, e) || e);
|
39
|
-
return e &&
|
39
|
+
return e && v(l, r, e), e;
|
40
40
|
};
|
41
41
|
class t extends z(m, {
|
42
42
|
validSizes: Object.values(g)
|
@@ -45,7 +45,7 @@ class t extends z(m, {
|
|
45
45
|
super(...arguments), this.slotContent = {};
|
46
46
|
}
|
47
47
|
static get styles() {
|
48
|
-
return [c(
|
48
|
+
return [c(x)];
|
49
49
|
}
|
50
50
|
willUpdate(l) {
|
51
51
|
var r;
|