@luzmo/analytics-components-kit 1.0.1-alpha.38 → 1.0.1-alpha.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/components/{calculate-data-item-icon-BpMATs29.cjs → calculate-data-item-icon-Bygfq3KO.cjs} +1 -1
  2. package/components/{calculate-data-item-icon-BPZYysi7.js → calculate-data-item-icon-DlyGQVBA.js} +1 -1
  3. package/components/{de-CCq00pbq.js → de-BbcctJsI.js} +7 -0
  4. package/components/de-eIqMhTVC.cjs +20 -0
  5. package/components/display-settings/index.cjs +1 -1
  6. package/components/display-settings/index.js +9 -9
  7. package/components/display-settings-binning/index.cjs +1 -1
  8. package/components/display-settings-binning/index.js +10 -10
  9. package/components/display-settings-datetime/index.cjs +1 -1
  10. package/components/display-settings-datetime/index.js +12 -12
  11. package/components/display-settings-grand-totals/index.cjs +1 -1
  12. package/components/display-settings-grand-totals/index.js +10 -10
  13. package/components/display-settings-numeric/index.cjs +1 -1
  14. package/components/display-settings-numeric/index.js +12 -12
  15. package/components/display-settings-period-over-period/index.cjs +1 -1
  16. package/components/display-settings-period-over-period/index.js +10 -10
  17. package/components/draggable-data-item/index.cjs +1 -1
  18. package/components/draggable-data-item/index.js +6 -6
  19. package/components/draggable-data-item-level/index.cjs +1 -1
  20. package/components/draggable-data-item-level/index.js +8 -8
  21. package/components/droppable-slot/index.cjs +1 -1
  22. package/components/droppable-slot/index.js +9 -9
  23. package/components/edit-item/index.cjs +5 -5
  24. package/components/edit-item/index.js +5 -5
  25. package/components/edit-option/index.cjs +1 -1
  26. package/components/edit-option/index.js +1 -1
  27. package/components/edit-option-action-button-group/index.cjs +1 -1
  28. package/components/edit-option-action-button-group/index.js +5 -5
  29. package/components/{edit-option-base-J7XNb_vp.cjs → edit-option-base-B7owFMOO.cjs} +1 -1
  30. package/components/{edit-option-base-BHvx3Mlq.js → edit-option-base-Cw2iO2Av.js} +4 -4
  31. package/components/edit-option-color-picker/index.cjs +30 -30
  32. package/components/edit-option-color-picker/index.js +6 -6
  33. package/components/edit-option-multi-language-field/index.cjs +1 -1
  34. package/components/edit-option-multi-language-field/index.js +3 -3
  35. package/components/edit-option-number-field/index.cjs +1 -1
  36. package/components/edit-option-number-field/index.js +3 -3
  37. package/components/edit-option-picker/index.cjs +1 -1
  38. package/components/edit-option-picker/index.js +4 -4
  39. package/components/edit-option-position-picker/index.cjs +1 -1
  40. package/components/edit-option-position-picker/index.js +3 -3
  41. package/components/edit-option-positions-number-field/index.cjs +1 -1
  42. package/components/edit-option-positions-number-field/index.js +5 -5
  43. package/components/edit-option-radio-button-group/index.cjs +1 -1
  44. package/components/edit-option-radio-button-group/index.js +3 -3
  45. package/components/edit-option-slider/index.cjs +1 -1
  46. package/components/edit-option-slider/index.js +2 -2
  47. package/components/edit-option-switch/index.cjs +1 -1
  48. package/components/edit-option-switch/index.js +2 -2
  49. package/components/edit-option-text-field/index.cjs +1 -1
  50. package/components/edit-option-text-field/index.js +3 -3
  51. package/components/{es-DBmbFw-L.js → es-ByWFTJ0s.js} +7 -0
  52. package/components/es-tWaYVbsQ.cjs +20 -0
  53. package/components/filter-data-item-picker/index.cjs +1 -1
  54. package/components/filter-data-item-picker/index.js +7 -7
  55. package/components/filter-expression-picker/index.cjs +1 -1
  56. package/components/filter-expression-picker/index.js +1 -1
  57. package/components/filter-item/index.cjs +1 -1
  58. package/components/filter-item/index.js +6 -6
  59. package/components/filter-value-picker/index.cjs +1 -1
  60. package/components/filter-value-picker/index.js +3 -3
  61. package/components/filter-value-picker-datetime/index.cjs +8 -8
  62. package/components/filter-value-picker-datetime/index.js +12 -12
  63. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  64. package/components/filter-value-picker-hierarchy/index.js +8 -7
  65. package/components/filter-value-picker-numeric/index.cjs +1 -1
  66. package/components/filter-value-picker-numeric/index.js +7 -7
  67. package/components/{focusable-_wp5pWO-.cjs → focusable-BTJYY_Mf.cjs} +1 -1
  68. package/components/{focusable-DB6Uhr-C.js → focusable-BXhQz3_k.js} +1 -1
  69. package/components/fr-2igiTsHU.cjs +20 -0
  70. package/components/{fr-BOwMikLT.js → fr-C5b2Wgoz.js} +7 -0
  71. package/components/get-css-variable-BEYG097C.js +1446 -0
  72. package/components/get-css-variable-BZxY4IOa.cjs +35 -0
  73. package/components/grid/actions.d.ts +21 -0
  74. package/components/grid/default-actions.d.ts +14 -0
  75. package/components/grid/grid-item-actions-menu.d.ts +35 -0
  76. package/components/grid/grid.d.ts +165 -0
  77. package/components/grid/index.cjs +326 -0
  78. package/components/grid/index.d.ts +10 -0
  79. package/components/grid/index.js +8948 -0
  80. package/components/{if-defined-DqthfJme.cjs → if-defined-Bulnuz1A.cjs} +1 -1
  81. package/components/{if-defined-B4gwZxx6.js → if-defined-CTc4c9nr.js} +1 -1
  82. package/components/{index-BNBJLKST.js → index-BC1LV3vH.js} +1 -1
  83. package/components/{index-BlLF9xYw.js → index-BNwJ9moR.js} +5 -5
  84. package/components/{index-DJKhZGty.cjs → index-B_dW2-QA.cjs} +14 -14
  85. package/components/{index-5mZhN-HJ.js → index-BiY07GvX.js} +4 -4
  86. package/components/{index-Dh6CgbzT.js → index-Boxjo5I0.js} +79 -79
  87. package/components/{index-uoJRMChX.cjs → index-C2PPSv8E.cjs} +2 -2
  88. package/components/{index-BhpqKmwq.cjs → index-CAJRL5rT.cjs} +1 -1
  89. package/components/{index-ROT368zu.cjs → index-CBOAQ3-E.cjs} +5 -5
  90. package/components/{index-eHmbYtYG.cjs → index-CT2vEcpn.cjs} +2 -2
  91. package/components/{index-C0mIH6sE.cjs → index-CaVIv7B9.cjs} +1 -1
  92. package/components/{index-DFe4VuxB.js → index-CbuHBIDB.js} +2 -2
  93. package/components/index-CcDZIqpD.cjs +192 -0
  94. package/components/index-CcLRp9ao.js +1685 -0
  95. package/components/{index-0AQhhYNR.js → index-Ciad94jH.js} +4 -4
  96. package/components/index-CpGRysX_.js +691 -0
  97. package/components/{index-COiTyPcJ.cjs → index-CzRmB9z3.cjs} +1 -1
  98. package/components/{index-CyAospmR.js → index-DE3d0E0P.js} +2 -2
  99. package/components/index-DFHExzGq.cjs +20 -0
  100. package/components/{index-BHXq1-M1.cjs → index-DQbl3h5H.cjs} +1 -1
  101. package/components/{index-CKenYdIM.cjs → index-DSQyBS9Z.cjs} +1 -1
  102. package/components/{index-jlphu2Tm.js → index-Desl7GJ0.js} +2 -2
  103. package/components/index-GgkqKtE6.cjs +20 -0
  104. package/components/{index-BFPa6sJd.js → index-Jmmy73Aq.js} +1 -1
  105. package/components/{index-B0rH2mr9.cjs → index-Tx5oQjbt.cjs} +1 -1
  106. package/components/{index-5UNCjfdE.js → index-UWOCtc0Y.js} +6 -6
  107. package/components/{index-C7pagyza.cjs → index-cHKqEi5-.cjs} +3 -3
  108. package/components/{index-DDR_JmOh.js → index-rQxtPaJl.js} +1 -1
  109. package/components/{index-D5asknFy.js → index-sCesmw8l.js} +5 -5
  110. package/components/index.cjs +1 -1
  111. package/components/index.js +25 -21
  112. package/components/item-list.cjs +1 -1
  113. package/components/item-list.js +267 -46
  114. package/components/item-menu/item-list/item-list.d.ts +2 -0
  115. package/components/{localized-decorator-DGnMToFa.js → localized-decorator-DNr1P1m0.js} +1 -1
  116. package/components/{localized-decorator-ClAOFk8M.cjs → localized-decorator-SOrjcPab.cjs} +1 -1
  117. package/components/luzmo-icons-DAsjNJNI.cjs +31 -0
  118. package/components/{luzmo-icons-BZPchcMw.js → luzmo-icons-DEoJcvoL.js} +145 -113
  119. package/components/{luzmo-icons-NEyaMpEM-1fxXxs3F.cjs → luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs} +2 -2
  120. package/components/{luzmo-icons-NEyaMpEM-DbyDs_5B.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +9 -9
  121. package/components/{nl-CY0iO3Ch.js → nl-76jn_zMH.js} +7 -0
  122. package/components/nl-B50x7wMn.cjs +20 -0
  123. package/components/{pending-state-DTX7ggyF-B_9VbFxI.js → pending-state-DTX7ggyF-D1SvcIIz.js} +2 -2
  124. package/components/{pending-state-DTX7ggyF-C_go9EJh.cjs → pending-state-DTX7ggyF-DZzxjogp.cjs} +1 -1
  125. package/components/{periods.const-D2cMP5hH.js → periods.const-C89NNRX-.js} +1 -1
  126. package/components/{periods.const-BbgInj9J.cjs → periods.const-CfXsouLz.cjs} +1 -1
  127. package/components/{property-Dlf9S6Jz.cjs → property-BCb4Kybn.cjs} +7 -7
  128. package/components/{property-CxtZroGf.js → property-Dn4zSyxu.js} +46 -36
  129. package/components/query-all-CR2wWKRD.cjs +24 -0
  130. package/components/query-all-Ddzx2fEK.js +34 -0
  131. package/components/{set-locale-5FFfQpVQ.cjs → set-locale-Cam8nRIW.cjs} +1 -1
  132. package/components/{set-locale-DAGnJZD8.js → set-locale-DbEAMqUs.js} +1 -1
  133. package/components/{sized-mixin-ZTphZKLm.cjs → sized-mixin-BNtmplgF.cjs} +1 -1
  134. package/components/{sized-mixin-C7R5uRbF.js → sized-mixin-BR_Ii7le.js} +1 -1
  135. package/components/slot-menu/index.cjs +1 -1
  136. package/components/slot-menu/index.js +4 -4
  137. package/components/slot-menu-list/index.cjs +2 -6
  138. package/components/slot-menu-list/index.js +59 -70
  139. package/components/{state-CrfOw8Zp.cjs → state-BxZEcclm.cjs} +1 -1
  140. package/components/{state-BVYsk_HZ.js → state-vVJlsarL.js} +1 -1
  141. package/components/{task-DH8UFyxP.js → task-PQaVY8Iw.js} +1 -1
  142. package/components/{task-CdvrMX8r.cjs → task-qPJdeXO1.cjs} +1 -1
  143. package/components/{text-field-B9IkRRxO-CRU1UGaM.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +1 -1
  144. package/components/{text-field-B9IkRRxO-CWWQN_rn.js → text-field-BIADXoLC-B9oE05VF.js} +1 -1
  145. package/components/utils.cjs +1 -1
  146. package/components/utils.js +56 -472
  147. package/custom-elements.json +491 -0
  148. package/index.d.ts +1 -0
  149. package/package.json +6 -1
  150. package/utils/filters/expressions.d.ts +1 -1
  151. package/utils/themes/bliss.d.ts +43 -0
  152. package/utils/themes/classic-dark.d.ts +34 -0
  153. package/utils/themes/classic.d.ts +43 -0
  154. package/utils/themes/default-dark.d.ts +46 -0
  155. package/utils/themes/default.d.ts +46 -0
  156. package/utils/themes/index.d.ts +121 -120
  157. package/utils/themes/orion.d.ts +44 -0
  158. package/utils/themes/pinky.d.ts +42 -0
  159. package/utils/themes/radiant.d.ts +42 -0
  160. package/utils/themes/royale.d.ts +36 -0
  161. package/utils/themes/seasonal.d.ts +43 -0
  162. package/utils/themes/urban.d.ts +44 -0
  163. package/utils/themes/vivid.d.ts +42 -0
  164. package/components/de-DcZysUyZ.cjs +0 -20
  165. package/components/es-CGiBfBKJ.cjs +0 -20
  166. package/components/fr-DZbYwMlh.cjs +0 -20
  167. package/components/index-B4EIbvuW.cjs +0 -192
  168. package/components/luzmo-icons-BpFUFRQm.cjs +0 -31
  169. package/components/nl-0V96M02q.cjs +0 -20
@@ -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 r=require("./property-Dlf9S6Jz.cjs");/**
20
+ "use strict";const r=require("./property-BCb4Kybn.cjs");/**
21
21
  * @license
22
22
  * Copyright 2018 Google LLC
23
23
  * SPDX-License-Identifier: BSD-3-Clause
@@ -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 { E as r } from "./property-CxtZroGf.js";
20
+ import { E as r } from "./property-Dn4zSyxu.js";
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2018 Google LLC
@@ -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 { D as d } from "./luzmo-icons-NEyaMpEM-DbyDs_5B.js";
20
+ import { D as d } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
21
21
  import { R as m, I as g, a as b, z as t } from "./base-D76d76ww-BGkuhs54.js";
22
22
  import { m as f } from "./if-defined-DOaE2coe-CNT45Xcl.js";
23
23
  /*! * Lucero - The design system for Luzmo.
@@ -23,15 +23,15 @@ import { d as E, m as q } from "./if-defined-DOaE2coe-CNT45Xcl.js";
23
23
  import { r as to } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
24
24
  import { b as ko } from "./observe-slot-presence-CmVi0zTc-DCFuXW7v.js";
25
25
  import { n as xo } from "./element-resolution-FCUT-wql--7ctE626.js";
26
- import { D as O, w as wo, b as Co, Z as So, A as Eo, s as $o, u as Oo, k as Ao } from "./luzmo-icons-NEyaMpEM-DbyDs_5B.js";
26
+ import { D as O, d as wo, w as Co, Z as So, A as Eo, s as $o, u as Oo, k as Ao } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
27
27
  import { _ as lo, $ as Io, s as io, a as Lo, p as A, g as L, b as j, x as To, n as H } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
28
28
  import { C as Vo } from "./async-directive-BfcqVjDp-BCT-lA4F.js";
29
29
  import "./index-C3N6qTxJ.js";
30
30
  import { r as Bo } from "./divider.module-DoQWQEIJ-B19eHVg2.js";
31
- import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-B_9VbFxI.js";
32
- import { a as Do } from "./index-BFPa6sJd.js";
33
- import "./index-BNBJLKST.js";
34
- import "./index-Dh6CgbzT.js";
31
+ import { g as Fo, u as Po, o as Ro, v as K, a as Mo } from "./pending-state-DTX7ggyF-D1SvcIIz.js";
32
+ import { a as Do } from "./index-Jmmy73Aq.js";
33
+ import "./index-BC1LV3vH.js";
34
+ import "./index-Boxjo5I0.js";
35
35
  import "./index-CTVNGPeT.js";
36
36
  /*! * Lucero - The design system for Luzmo.
37
37
  *
@@ -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 D=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs"),r=require("./base-D76d76ww-tT6yr8eb.cjs"),_=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),K=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),io=require("./observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs"),ro=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),y=require("./luzmo-icons-NEyaMpEM-1fxXxs3F.cjs"),b=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),no=require("./async-directive-BfcqVjDp-C8C45jl6.cjs");require("./index-BKwbYw6x.cjs");const so=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./pending-state-DTX7ggyF-C_go9EJh.cjs"),ao=require("./index-BhpqKmwq.cjs");require("./index-CKenYdIM.cjs");require("./index-B4EIbvuW.cjs");require("./index-BoXbQm2o.cjs");/*! * Lucero - The design system for Luzmo.
20
+ "use strict";const F=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs"),r=require("./base-D76d76ww-tT6yr8eb.cjs"),_=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),K=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),io=require("./observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs"),ro=require("./element-resolution-FCUT-wql-DSTvdyds.cjs"),y=require("./luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs"),b=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs"),no=require("./async-directive-BfcqVjDp-C8C45jl6.cjs");require("./index-BKwbYw6x.cjs");const so=require("./divider.module-DoQWQEIJ-Bg8RrFkc.cjs"),I=require("./pending-state-DTX7ggyF-DZzxjogp.cjs"),ao=require("./index-CAJRL5rT.cjs");require("./index-DSQyBS9Z.cjs");require("./index-CcDZIqpD.cjs");require("./index-BoXbQm2o.cjs");/*! * Lucero - The design system for Luzmo.
21
21
  *
22
22
  * Copyright © 2025 Luzmo
23
23
  * All rights reserved.
@@ -43,13 +43,13 @@
43
43
  </span>
44
44
  `,go=s=>r.Rt`
45
45
  <span class="icon-container icon checkbox ${s.join(" ")}">
46
- ${y.D(y.b)}
46
+ ${y.D(y.w)}
47
47
  </span>
48
48
  `,bo=s=>r.Rt`
49
49
  <span class="icon-container icon checkbox ${s.join(" ")}">
50
- ${y.D(y.w)}
50
+ ${y.D(y.d)}
51
51
  </span>
52
- `;class x extends D.b(D.y(io.b(K.r,'[slot="icon"]'))){constructor(){super(),this.active=!1,this.focused=!1,this.selected=!1,this.emphasized=!1,this.variant="checkmarks",this._value="",this.noWrap=!1,this.renderCheckIcon=(o,e)=>{const t=e?["check-icon--with-adjacent-icon"]:[];return this.variant==="checkboxes"?o?bo(t):go(t):o&&this.variant!=="highlight"?mo(t):r.Rt``},this.proxyFocus=()=>{this.focus()},this.willDispatchUpdate=!1,this.addEventListener("click",this.handleClickCapture,{capture:!0}),new D.a(this,{config:{characterData:!0,childList:!0,subtree:!0},callback:()=>{this.breakItemChildrenCache()}})}static get styles(){return[r.at(ho)]}get value(){return this._value||this.itemText}set value(o){o!==this._value&&(this._value=o||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return this.itemChildren.content.reduce((o,e)=>o+(e.textContent||"").trim(),"")}get focusElement(){return this}get hasIcon(){return this.slotContentIsPresent}get itemChildren(){if(!this.iconSlot||!this.contentSlot)return{icon:[],content:[]};if(this._itemChildren)return this._itemChildren;const o=this.iconSlot.assignedElements().map(t=>{const l=t.cloneNode(!0);return l.removeAttribute("slot"),l.classList.toggle("icon"),l}),e=this.contentSlot.assignedNodes().map(t=>t.cloneNode(!0));return this._itemChildren={icon:o,content:e},this._itemChildren}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(o){if(this.disabled)return o.preventDefault(),o.stopImmediatePropagation(),o.stopPropagation(),!1}shouldProxyClick(){let o=!1;return this.anchorElement&&(this.anchorElement.click(),o=!0),o}breakItemChildrenCache(){this._itemChildren=void 0,this.triggerUpdate()}render(){return r.Rt`
52
+ `;class x extends F.b(F.y(io.b(K.r,'[slot="icon"]'))){constructor(){super(),this.active=!1,this.focused=!1,this.selected=!1,this.emphasized=!1,this.variant="checkmarks",this._value="",this.noWrap=!1,this.renderCheckIcon=(o,e)=>{const t=e?["check-icon--with-adjacent-icon"]:[];return this.variant==="checkboxes"?o?bo(t):go(t):o&&this.variant!=="highlight"?mo(t):r.Rt``},this.proxyFocus=()=>{this.focus()},this.willDispatchUpdate=!1,this.addEventListener("click",this.handleClickCapture,{capture:!0}),new F.a(this,{config:{characterData:!0,childList:!0,subtree:!0},callback:()=>{this.breakItemChildrenCache()}})}static get styles(){return[r.at(ho)]}get value(){return this._value||this.itemText}set value(o){o!==this._value&&(this._value=o||"",this._value?this.setAttribute("value",this._value):this.removeAttribute("value"))}get itemText(){return this.itemChildren.content.reduce((o,e)=>o+(e.textContent||"").trim(),"")}get focusElement(){return this}get hasIcon(){return this.slotContentIsPresent}get itemChildren(){if(!this.iconSlot||!this.contentSlot)return{icon:[],content:[]};if(this._itemChildren)return this._itemChildren;const o=this.iconSlot.assignedElements().map(t=>{const l=t.cloneNode(!0);return l.removeAttribute("slot"),l.classList.toggle("icon"),l}),e=this.contentSlot.assignedNodes().map(t=>t.cloneNode(!0));return this._itemChildren={icon:o,content:e},this._itemChildren}click(){this.disabled||this.shouldProxyClick()||super.click()}handleClickCapture(o){if(this.disabled)return o.preventDefault(),o.stopImmediatePropagation(),o.stopPropagation(),!1}shouldProxyClick(){let o=!1;return this.anchorElement&&(this.anchorElement.click(),o=!0),o}breakItemChildrenCache(){this._itemChildren=void 0,this.triggerUpdate()}render(){return r.Rt`
53
53
  ${this.renderCheckIcon(this.selected,this.hasIcon)}
54
54
  <div id="icon">
55
55
  <slot name="icon"></slot>
@@ -64,7 +64,7 @@
64
64
  * @license
65
65
  * Copyright 2017 Google LLC
66
66
  * SPDX-License-Identifier: BSD-3-Clause
67
- */const j=(s,o,e)=>{const t=new Map;for(let l=o;l<=e;l++)t.set(s[l],l);return t},G=b._(class extends b.${constructor(s){if(super(s),s.type!==b.s.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,o,e){let t;e===void 0?e=o:o!==void 0&&(t=o);const l=[],i=[];let a=0;for(const n of s)l[a]=t?t(n,a):a,i[a]=e(n,a),a++;return{values:i,keys:l}}render(s,o,e){return this.dt(s,o,e).values}update(s,[o,e,t]){const l=b.a(s),{values:i,keys:a}=this.dt(o,e,t);if(!Array.isArray(l))return this.ut=a,i;const n=this.ut??(this.ut=[]),c=[];let u,z,h=0,m=l.length-1,d=0,g=i.length-1;for(;h<=m&&d<=g;)if(l[h]===null)h++;else if(l[m]===null)m--;else if(n[h]===a[d])c[d]=b.p(l[h],i[d]),h++,d++;else if(n[m]===a[g])c[g]=b.p(l[m],i[g]),m--,g--;else if(n[h]===a[g])c[g]=b.p(l[h],i[g]),b.g(s,c[g+1],l[h]),h++,g--;else if(n[m]===a[d])c[d]=b.p(l[m],i[d]),b.g(s,l[h],l[m]),m--,d++;else if(u===void 0&&(u=j(a,d,g),z=j(n,h,m)),u.has(n[h]))if(u.has(n[m])){const f=z.get(a[d]),k=f!==void 0?l[f]:null;if(k===null){const E=b.g(s,l[h]);b.p(E,i[d]),c[d]=E}else c[d]=b.p(k,i[d]),b.g(s,l[h],k),l[f]=null;d++}else b.b(l[m]),m--;else b.b(l[h]),h++;for(;d<=g;){const f=b.g(s,c[g+1]);b.p(f,i[d]),c[d++]=f}for(;h<=m;){const f=l[h++];f!==null&&b.b(f)}return this.ut=a,b.x(s,c),r.v}});/**
67
+ */const j=(s,o,e)=>{const t=new Map;for(let l=o;l<=e;l++)t.set(s[l],l);return t},Q=b._(class extends b.${constructor(s){if(super(s),s.type!==b.s.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,o,e){let t;e===void 0?e=o:o!==void 0&&(t=o);const l=[],i=[];let a=0;for(const n of s)l[a]=t?t(n,a):a,i[a]=e(n,a),a++;return{values:i,keys:l}}render(s,o,e){return this.dt(s,o,e).values}update(s,[o,e,t]){const l=b.a(s),{values:i,keys:a}=this.dt(o,e,t);if(!Array.isArray(l))return this.ut=a,i;const n=this.ut??(this.ut=[]),c=[];let u,z,h=0,m=l.length-1,d=0,g=i.length-1;for(;h<=m&&d<=g;)if(l[h]===null)h++;else if(l[m]===null)m--;else if(n[h]===a[d])c[d]=b.p(l[h],i[d]),h++,d++;else if(n[m]===a[g])c[g]=b.p(l[m],i[g]),m--,g--;else if(n[h]===a[g])c[g]=b.p(l[h],i[g]),b.g(s,c[g+1],l[h]),h++,g--;else if(n[m]===a[d])c[d]=b.p(l[m],i[d]),b.g(s,l[h],l[m]),m--,d++;else if(u===void 0&&(u=j(a,d,g),z=j(n,h,m)),u.has(n[h]))if(u.has(n[m])){const f=z.get(a[d]),k=f!==void 0?l[f]:null;if(k===null){const E=b.g(s,l[h]);b.p(E,i[d]),c[d]=E}else c[d]=b.p(k,i[d]),b.g(s,l[h],k),l[f]=null;d++}else b.b(l[m]),m--;else b.b(l[h]),h++;for(;d<=g;){const f=b.g(s,c[g+1]);b.p(f,i[d]),c[d++]=f}for(;h<=m;){const f=l[h++];f!==null&&b.b(f)}return this.ut=a,b.x(s,c),r.v}});/**
68
68
  * @license
69
69
  * Copyright 2021 Google LLC
70
70
  * SPDX-License-Identifier: BSD-3-Clause
@@ -80,11 +80,11 @@
80
80
  * @license
81
81
  * Copyright 2021 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
- */const Q=s=>s,J=(s,o)=>r.Rt`${o}: ${JSON.stringify(s,null,2)}`;class wo extends no.C{constructor(o){if(super(o),this._virtualizer=null,this._first=0,this._last=-1,this._renderItem=(e,t)=>J(e,t+this._first),this._keyFunction=(e,t)=>Q(e,t+this._first),this._items=[],o.type!==b.s.CHILD)throw new Error("The virtualize directive can only be used in child expressions")}render(o){o&&this._setFunctions(o);const e=[];if(this._first>=0&&this._last>=this._first)for(let t=this._first;t<=this._last;t++)e.push(this._items[t]);return G(e,this._keyFunction,this._renderItem)}update(o,[e]){this._setFunctions(e);const t=this._items!==e.items;return this._items=e.items||[],this._virtualizer?this._updateVirtualizerConfig(o,e):this._initialize(o,e),t?r.v:this.render()}async _updateVirtualizerConfig(o,e){if(!await this._virtualizer.updateLayoutConfig(e.layout||{})){const t=o.parentNode;this._makeVirtualizer(t,e)}this._virtualizer.items=this._items}_setFunctions(o){const{renderItem:e,keyFunction:t}=o;e&&(this._renderItem=(l,i)=>e(l,i+this._first)),t&&(this._keyFunction=(l,i)=>t(l,i+this._first))}_makeVirtualizer(o,e){this._virtualizer&&this._virtualizer.disconnected();const{layout:t,scroller:l,items:i}=e;this._virtualizer=new yo({hostElement:o,layout:t,scroller:l}),this._virtualizer.items=i,this._virtualizer.connected()}_initialize(o,e){const t=o.parentNode;t&&t.nodeType===1&&(t.addEventListener("rangeChanged",l=>{this._first=l.first,this._last=l.last,this.setValue(this.render())}),this._makeVirtualizer(t,e))}disconnected(){var o;(o=this._virtualizer)==null||o.disconnected()}reconnected(){var o;(o=this._virtualizer)==null||o.connected()}}const Co=b._(wo);/**
83
+ */const G=s=>s,J=(s,o)=>r.Rt`${o}: ${JSON.stringify(s,null,2)}`;class wo extends no.C{constructor(o){if(super(o),this._virtualizer=null,this._first=0,this._last=-1,this._renderItem=(e,t)=>J(e,t+this._first),this._keyFunction=(e,t)=>G(e,t+this._first),this._items=[],o.type!==b.s.CHILD)throw new Error("The virtualize directive can only be used in child expressions")}render(o){o&&this._setFunctions(o);const e=[];if(this._first>=0&&this._last>=this._first)for(let t=this._first;t<=this._last;t++)e.push(this._items[t]);return Q(e,this._keyFunction,this._renderItem)}update(o,[e]){this._setFunctions(e);const t=this._items!==e.items;return this._items=e.items||[],this._virtualizer?this._updateVirtualizerConfig(o,e):this._initialize(o,e),t?r.v:this.render()}async _updateVirtualizerConfig(o,e){if(!await this._virtualizer.updateLayoutConfig(e.layout||{})){const t=o.parentNode;this._makeVirtualizer(t,e)}this._virtualizer.items=this._items}_setFunctions(o){const{renderItem:e,keyFunction:t}=o;e&&(this._renderItem=(l,i)=>e(l,i+this._first)),t&&(this._keyFunction=(l,i)=>t(l,i+this._first))}_makeVirtualizer(o,e){this._virtualizer&&this._virtualizer.disconnected();const{layout:t,scroller:l,items:i}=e;this._virtualizer=new yo({hostElement:o,layout:t,scroller:l}),this._virtualizer.items=i,this._virtualizer.connected()}_initialize(o,e){const t=o.parentNode;t&&t.nodeType===1&&(t.addEventListener("rangeChanged",l=>{this._first=l.first,this._last=l.last,this.setValue(this.render())}),this._makeVirtualizer(t,e))}disconnected(){var o;(o=this._virtualizer)==null||o.disconnected()}reconnected(){var o;(o=this._virtualizer)==null||o.connected()}}const Co=b._(wo);/**
84
84
  * @license
85
85
  * Copyright 2021 Google LLC
86
86
  * SPDX-License-Identifier: BSD-3-Clause
87
- */class $ extends r.P{constructor(){super(...arguments),this.items=[],this.renderItem=J,this.keyFunction=Q,this.layout={},this.scroller=!1}createRenderRoot(){return this}render(){const{items:o,renderItem:e,keyFunction:t,layout:l,scroller:i}=this;return r.Rt`${Co({items:o,renderItem:e,keyFunction:t,layout:l,scroller:i})}`}element(o){var e;return(e=this[P])==null?void 0:e.element(o)}get layoutComplete(){var o;return(o=this[P])==null?void 0:o.layoutComplete}scrollToIndex(o,e="start"){var t;(t=this.element(o))==null||t.scrollIntoView({block:e})}}A([r.zt({attribute:!1})],$.prototype,"items",void 0);A([r.zt()],$.prototype,"renderItem",void 0);A([r.zt()],$.prototype,"keyFunction",void 0);A([r.zt({attribute:!1})],$.prototype,"layout",void 0);A([r.zt({reflect:!0,type:Boolean})],$.prototype,"scroller",void 0);/**
87
+ */class $ extends r.P{constructor(){super(...arguments),this.items=[],this.renderItem=J,this.keyFunction=G,this.layout={},this.scroller=!1}createRenderRoot(){return this}render(){const{items:o,renderItem:e,keyFunction:t,layout:l,scroller:i}=this;return r.Rt`${Co({items:o,renderItem:e,keyFunction:t,layout:l,scroller:i})}`}element(o){var e;return(e=this[P])==null?void 0:e.element(o)}get layoutComplete(){var o;return(o=this[P])==null?void 0:o.layoutComplete}scrollToIndex(o,e="start"){var t;(t=this.element(o))==null||t.scrollIntoView({block:e})}}A([r.zt({attribute:!1})],$.prototype,"items",void 0);A([r.zt()],$.prototype,"renderItem",void 0);A([r.zt()],$.prototype,"keyFunction",void 0);A([r.zt({attribute:!1})],$.prototype,"layout",void 0);A([r.zt({reflect:!0,type:Boolean})],$.prototype,"scroller",void 0);/**
88
88
  * @license
89
89
  * Copyright 2021 Google LLC
90
90
  * SPDX-License-Identifier: BSD-3-Clause
@@ -114,7 +114,7 @@
114
114
  .renderItem=${l}
115
115
  @rangeChanged=${this.rangeChange}
116
116
  @visibilityChanged=${this.visibilityChanged}
117
- ></lit-virtualizer>`:G(this.options,l),a=this.pending?r.Rt`<div id="pending">
117
+ ></lit-virtualizer>`:Q(this.options,l),a=this.pending?r.Rt`<div id="pending">
118
118
  <luzmo-progress-circle indeterminate></luzmo-progress-circle>
119
119
  </div>`:r.d;return r.Rt`${i} ${a}`}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listbox"),this.updateComplete.then(()=>this.updateItemFocus())}disconnectedCallback(){super.disconnectedCallback()}prepareToCleanUp(){document.addEventListener("focusout",()=>{requestAnimationFrame(()=>{this.updateSelectedItemIndex()})},{once:!0})}updateItemFocus(){if(this.visibleOptionElements.length===0)return;const o=this.focusedOptionIndex,e=[...this.visibleOptionElements].find(t=>{var l,i,a,n,c,u;return(t.value===null?null:(l=t.value)==null?void 0:l.toString())===(((a=(i=this.options)==null?void 0:i[o])==null?void 0:a.value)===null?null:(u=(c=(n=this.options)==null?void 0:n[o])==null?void 0:c.value)==null?void 0:u.toString())});this.setFocusedAndActiveDescendant(e)}setFocusedAndActiveDescendant(o){var e,t;if(!o)return;const l=this.hasVisibleFocusInTree()||!!((e=this.visibleOptionElements)!=null&&e.some&&(t=this.visibleOptionElements)!=null&&t.some(i=>i.hasVisibleFocusInTree()));o.focused=l,l&&this.setAttribute("aria-activedescendant",o.id)}}S([r.zt({type:String,reflect:!0})],w.prototype,"label");S([r.zt({type:String,reflect:!0})],w.prototype,"variant");S([r.zt({type:String,reflect:!0})],w.prototype,"selects");S([r.zt({type:Boolean,reflect:!0})],w.prototype,"emphasized");S([r.zt({type:Boolean,reflect:!0})],w.prototype,"pending");S([r.zt({type:Array})],w.prototype,"options");S([r.zt({type:Boolean,reflect:!0,attribute:"no-wrap"})],w.prototype,"noWrap");S([r.zt({type:Array})],w.prototype,"value");S([_.d("lit-virtualizer")],w.prototype,"virtualizer");S([uo("luzmo-option")],w.prototype,"visibleOptionElements");customElements.get("luzmo-options")||customElements.define("luzmo-options",w);customElements.get("luzmo-options-divider")||customElements.define("luzmo-options-divider",Eo);customElements.get("luzmo-option")||customElements.define("luzmo-option",x);/*! * Lucero - The design system for Luzmo.
120
120
  *
@@ -140,20 +140,20 @@
140
140
  <div class="icon-container validation-icon icon">
141
141
  ${y.D(y.u)}
142
142
  </div>
143
- `,Fo=()=>r.Rt`
143
+ `,Do=()=>r.Rt`
144
144
  <div class="icon-container search-icon icon" id="search-icon">
145
145
  ${y.D(y.k)}
146
146
  </div>
147
- `,W="select-option-menu",Do=20;class p extends r.m(K.r,{noDefaultSize:!0}){constructor(){super(),this.disabled=!1,this.focused=!1,this.variant="checkmarks",this.emphasized=!1,this.invalid=!1,this.search="auto",this.noWrap=!1,this.retrieving=!1,this.pending=!1,this.clearable=!1,this.pendingLabel="Pending",this.searchLabel="Search",this.noResultsLabel="No results",this.noDataLabel="No data",this.multipleLabelTemplate="Selected {count} items",this.open=!1,this.readonly=!1,this.placement="bottom-end",this.quiet=!1,this.value=[],this.options=[],this.selects="multiple",this.dependencyManager=new ao.a(this),this.isMobile=new I.g(this,I.u),this.listRole="listbox",this.itemRole="option",this.hasRenderedOverlay=!1,this._selfManageFocusElement=!1,this.selectionPromise=Promise.resolve(),this.enterKeydownOn=null,this._selectedOptions=[],this.handleSlottableRequest=o=>{},this.renderAngleIcon=()=>Vo(),this.renderAlertIcon=()=>Bo(),this.handleEnterKeydown=o=>{if(o.code==="Enter"){if(this.enterKeydownOn){o.preventDefault();return}this.enterKeydownOn=o.target,this.addEventListener("keyup",e=>{e.code==="Enter"&&(this.enterKeydownOn=null)},{once:!0})}},this.clearValue=o=>{o.preventDefault(),o.stopPropagation(),this.value=[],this.strategy&&(this.strategy.preventNextToggle="no"),this.open=!1,this.strategy&&(this.strategy.open=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))},this.handleKeydown=o=>{var e,t;const{code:l}=o;if(["Delete","Backspace"].includes(l)){this.clearValue(o);return}if(this.focused=!0,!(!l.startsWith("Arrow")||this.readonly||this.pending)){if(l==="ArrowUp"||l==="ArrowDown"){this.toggle(!0),o.preventDefault();return}if(o.preventDefault(),this.selects==="single"){const i=l==="ArrowRight"?1:-1,a=this.options.findIndex(u=>{var z,h,m;return((z=u==null?void 0:u.value)==null?void 0:z.toString())===((m=(h=this.value)==null?void 0:h[0])==null?void 0:m.toString())});let n=(this.options.length+a+i)%this.options.length,c=this.options.length;for(;(t=(e=this.options)==null?void 0:e[n])!=null&&t.disabled&&c;)c-=1,n=(this.options.length+n+i)%this.options.length;this.value=[this.options[n].value],this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))}}},this.pendingStateController=new I.o(this)}static get styles(){return[r.at(To)]}get selfManageFocusElement(){return this._selfManageFocusElement}get focusElement(){var o;return this.open?this.search==="on"||this.search==="auto"&&((o=this.options)==null?void 0:o.length)>Do?this.searchInput:this.optionsMenu:this.button}forceFocusVisible(){this.disabled||(this.focused=!0)}click(){this.disabled||this.toggle()}handleButtonBlur(){this.focused=!1}focus(o){super.focus(o),!this.disabled&&this.focusElement&&(this.focused=this.hasVisibleFocusInTree())}handleHelperFocus(){this.focused=!0,this.button.focus()}handleChange(o){var e;this.value=((e=o==null?void 0:o.detail)==null?void 0:e.value)??[],this.strategy&&(this.strategy.preventNextToggle="no"),o.stopPropagation(),(!o.cancelable||this.selects==="single")&&(this.open=!1,this.strategy&&(this.strategy.open=!1)),o.preventDefault(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))}handleButtonFocus(o){var e;(e=this.strategy)==null||e.handleButtonFocus(o)}toggle(o){this.readonly||this.pending||(this.open=o===void 0?!this.open:o,this.strategy&&(this.strategy.open=this.open),this._selfManageFocusElement=this.open)}close(){this.readonly||this.strategy&&(this.open=!1,this.strategy.open=!1)}bindEvents(){var o;(o=this.strategy)==null||o.abort(),this.strategy=this.isMobile.matches?new I.v.mobile(this.button,this):new I.v.desktop(this.button,this)}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var o;this.close(),(o=this.strategy)==null||o.releaseDescription(),super.disconnectedCallback()}handleTooltipSlotchange(o){this.tooltipEl=o.target.assignedElements()[0]}get labelTemplate(){var o,e,t,l,i,a,n,c,u,z,h,m,d,g,f;const k=((o=this._selectedOptions)==null?void 0:o.length)===1&&((e=this._selectedOptions[0])==null?void 0:e.icon),E=r.Rt`<div
147
+ `,W="select-option-menu",Fo=20;class p extends r.m(K.r,{noDefaultSize:!0}){constructor(){super(),this.disabled=!1,this.focused=!1,this.variant="checkmarks",this.emphasized=!1,this.invalid=!1,this.search="auto",this.noWrap=!1,this.retrieving=!1,this.pending=!1,this.clearable=!1,this.pendingLabel="Pending",this.searchLabel="Search",this.noResultsLabel="No results",this.noDataLabel="No data",this.multipleLabelTemplate="Selected {count} items",this.open=!1,this.readonly=!1,this.placement="bottom-end",this.quiet=!1,this.value=[],this.options=[],this.selects="multiple",this.dependencyManager=new ao.a(this),this.isMobile=new I.g(this,I.u),this.listRole="listbox",this.itemRole="option",this.hasRenderedOverlay=!1,this._selfManageFocusElement=!1,this.selectionPromise=Promise.resolve(),this.enterKeydownOn=null,this._selectedOptions=[],this.handleSlottableRequest=o=>{},this.renderAngleIcon=()=>Vo(),this.renderAlertIcon=()=>Bo(),this.handleEnterKeydown=o=>{if(o.code==="Enter"){if(this.enterKeydownOn){o.preventDefault();return}this.enterKeydownOn=o.target,this.addEventListener("keyup",e=>{e.code==="Enter"&&(this.enterKeydownOn=null)},{once:!0})}},this.clearValue=o=>{o.preventDefault(),o.stopPropagation(),this.value=[],this.strategy&&(this.strategy.preventNextToggle="no"),this.open=!1,this.strategy&&(this.strategy.open=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))},this.handleKeydown=o=>{var e,t;const{code:l}=o;if(["Delete","Backspace"].includes(l)){this.clearValue(o);return}if(this.focused=!0,!(!l.startsWith("Arrow")||this.readonly||this.pending)){if(l==="ArrowUp"||l==="ArrowDown"){this.toggle(!0),o.preventDefault();return}if(o.preventDefault(),this.selects==="single"){const i=l==="ArrowRight"?1:-1,a=this.options.findIndex(u=>{var z,h,m;return((z=u==null?void 0:u.value)==null?void 0:z.toString())===((m=(h=this.value)==null?void 0:h[0])==null?void 0:m.toString())});let n=(this.options.length+a+i)%this.options.length,c=this.options.length;for(;(t=(e=this.options)==null?void 0:e[n])!=null&&t.disabled&&c;)c-=1,n=(this.options.length+n+i)%this.options.length;this.value=[this.options[n].value],this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))}}},this.pendingStateController=new I.o(this)}static get styles(){return[r.at(To)]}get selfManageFocusElement(){return this._selfManageFocusElement}get focusElement(){var o;return this.open?this.search==="on"||this.search==="auto"&&((o=this.options)==null?void 0:o.length)>Fo?this.searchInput:this.optionsMenu:this.button}forceFocusVisible(){this.disabled||(this.focused=!0)}click(){this.disabled||this.toggle()}handleButtonBlur(){this.focused=!1}focus(o){super.focus(o),!this.disabled&&this.focusElement&&(this.focused=this.hasVisibleFocusInTree())}handleHelperFocus(){this.focused=!0,this.button.focus()}handleChange(o){var e;this.value=((e=o==null?void 0:o.detail)==null?void 0:e.value)??[],this.strategy&&(this.strategy.preventNextToggle="no"),o.stopPropagation(),(!o.cancelable||this.selects==="single")&&(this.open=!1,this.strategy&&(this.strategy.open=!1)),o.preventDefault(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0,composed:!0,detail:{value:this.value??[]}}))}handleButtonFocus(o){var e;(e=this.strategy)==null||e.handleButtonFocus(o)}toggle(o){this.readonly||this.pending||(this.open=o===void 0?!this.open:o,this.strategy&&(this.strategy.open=this.open),this._selfManageFocusElement=this.open)}close(){this.readonly||this.strategy&&(this.open=!1,this.strategy.open=!1)}bindEvents(){var o;(o=this.strategy)==null||o.abort(),this.strategy=this.isMobile.matches?new I.v.mobile(this.button,this):new I.v.desktop(this.button,this)}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var o;this.close(),(o=this.strategy)==null||o.releaseDescription(),super.disconnectedCallback()}handleTooltipSlotchange(o){this.tooltipEl=o.target.assignedElements()[0]}get labelTemplate(){var o,e,t,l,i,a,n,c,u,z,h,m,d,g,f;const k=((o=this._selectedOptions)==null?void 0:o.length)===1&&((e=this._selectedOptions[0])==null?void 0:e.icon),E=r.Rt`<div
148
148
  id="icon"
149
149
  ?hidden=${typeof this.icons=="string"||((t=this.value)==null?void 0:t.length)>1||!k}
150
150
  >
151
151
  ${k?y.D(this._selectedOptions[0].icon):r.d}
152
- </div>`,O=eo=>eo.replaceAll(/{([^}]+)}/g,(to,lo)=>{var q;return lo==="count"?String((q=this.value)==null?void 0:q.length):to}),Y={"visually-hidden":this.icons==="only"&&((l=this.value)==null?void 0:l.length)>0,placeholder:!((i=this.value)!=null&&i.length),label:!0};let F;(a=this.value)!=null&&a.length?F=this.value.length===1?r.Rt`<span
152
+ </div>`,O=eo=>eo.replaceAll(/{([^}]+)}/g,(to,lo)=>{var q;return lo==="count"?String((q=this.value)==null?void 0:q.length):to}),Y={"visually-hidden":this.icons==="only"&&((l=this.value)==null?void 0:l.length)>0,placeholder:!((i=this.value)!=null&&i.length),label:!0};let D;(a=this.value)!=null&&a.length?D=this.value.length===1?r.Rt`<span
153
153
  >${((c=(n=this._selectedOptions)==null?void 0:n[0])==null?void 0:c.shortLabel)??((z=(u=this._selectedOptions)==null?void 0:u[0])==null?void 0:z.label)??((h=this.value)==null?void 0:h[0])}</span
154
154
  >`:r.Rt`<span
155
155
  >${O(this.multipleLabelTemplate)}</span
156
- >`:F=r.Rt`
156
+ >`:D=r.Rt`
157
157
  <slot name="label" id="label">
158
158
  <span aria-hidden="true"> ${this.label} </span>
159
159
  </slot>
@@ -172,7 +172,7 @@
172
172
  id=${_.m((g=this.value)!=null&&g.length?"label":void 0)}
173
173
  class=${I.u$1(Y)}
174
174
  >
175
- ${F}
175
+ ${D}
176
176
  </div>
177
177
  ${Z}
178
178
  ${this.invalid&&!this.pending?r.Rt` ${this.renderAlertIcon()} `:r.d}
@@ -235,7 +235,7 @@
235
235
  tabindex="0"
236
236
  role="searchbox"
237
237
  />
238
- ${Fo()}
238
+ ${Do()}
239
239
  </div>
240
240
  `}get renderMenu(){const o=this.options.filter(t=>{var l,i,a;const n=typeof t=="string"?t:t==null?void 0:t.label;return(a=(l=n==null?void 0:n.toString())==null?void 0:l.toLowerCase())==null?void 0:a.includes(((i=this.searchString)==null?void 0:i.toLowerCase())??"")}),e=r.Rt`
241
241
  <luzmo-options
@@ -17,10 +17,10 @@
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 S } from "./task-DH8UFyxP.js";
21
- import { x as K, r as G, n as M } from "./property-CxtZroGf.js";
22
- import { L as R } from "./focusable-DB6Uhr-C.js";
23
- import { o as D } from "./if-defined-B4gwZxx6.js";
20
+ import { h as S } from "./task-PQaVY8Iw.js";
21
+ import { x as K, r as G, n as M } from "./property-Dn4zSyxu.js";
22
+ import { L as R } from "./focusable-BXhQz3_k.js";
23
+ import { o as D } from "./if-defined-CTc4c9nr.js";
24
24
  const N = (t, i, o) => {
25
25
  const s = (e) => {
26
26
  for (const n of e ?? []) {