@luzmo/analytics-components-kit 1.0.1-alpha.31 → 1.0.1-alpha.32
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-C_bp5UcZ-B5_19oN_.js → async-directive-BfcqVjDp-BCT-lA4F.js} +8 -8
- package/components/{async-directive-C_bp5UcZ-mUPcBvyn.cjs → async-directive-BfcqVjDp-C8C45jl6.cjs} +3 -3
- package/components/{base-D76d76ww-D0dTUBua.js → base-D76d76ww-BGkuhs54.js} +59 -47
- package/components/{base-D76d76ww-BEIhYtgV.cjs → base-D76d76ww-tT6yr8eb.cjs} +9 -9
- package/components/{button-base-WsJSnMie-B1TLbPwk.cjs → button-base-DbkDzb71-CY6MJGqE.cjs} +2 -2
- package/components/{button-base-WsJSnMie-CyGPs7kd.js → button-base-DbkDzb71-R8oqSqlY.js} +4 -4
- package/components/calculate-data-item-icon-BtUWtDx3.cjs +20 -0
- package/components/calculate-data-item-icon-DauSiV8c.js +97 -0
- package/components/{checkbox-mixin-CmeCReJh-wY0R8cuc.cjs → checkbox-mixin-Do7EgtpQ-D3m-dMTI.cjs} +3 -3
- package/components/{checkbox-mixin-CmeCReJh-C94-rm4F.js → checkbox-mixin-Do7EgtpQ-hne79zc-.js} +2 -2
- package/components/{de-BaTUIQk1.js → de-CCq00pbq.js} +55 -1
- package/components/de-DcZysUyZ.cjs +20 -0
- package/components/{directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs → directive-helpers-Cm6gitnu-BeggOiwf.cjs} +4 -4
- package/components/{directive-helpers-Bx_ey3Gk-Csi4AxXe.js → directive-helpers-Cm6gitnu-CeYtlPO9.js} +53 -19
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +18 -17
- package/components/display-settings-binning/display-settings-binning.d.ts +0 -1
- package/components/display-settings-binning/index.cjs +3 -2
- package/components/display-settings-binning/index.js +21 -21
- package/components/display-settings-datetime/index.cjs +2 -2
- package/components/display-settings-datetime/index.js +37 -35
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +0 -1
- package/components/display-settings-grand-totals/index.cjs +4 -3
- package/components/display-settings-grand-totals/index.js +21 -21
- package/components/display-settings-numeric/index.cjs +14 -14
- package/components/display-settings-numeric/index.js +32 -30
- package/components/display-settings-period-over-period/index.cjs +6 -6
- package/components/display-settings-period-over-period/index.js +36 -34
- package/components/draggable-data-item/index.cjs +3 -3
- package/components/draggable-data-item/index.js +15 -13
- package/components/draggable-data-item-level/index.cjs +9 -9
- package/components/draggable-data-item-level/index.js +96 -167
- package/components/droppable-slot/index.cjs +2 -2
- package/components/droppable-slot/index.js +21 -19
- package/components/edit-item/index.cjs +11 -11
- package/components/edit-item/index.js +13 -12
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +2 -1
- package/components/edit-option-action-button-group/index.js +44 -43
- package/components/edit-option-base-CSJNbo2E.cjs +53 -0
- package/components/{edit-option-base-DOezOLDd.js → edit-option-base-DeQjGX4i.js} +5 -4
- package/components/edit-option-color-picker/index.cjs +23 -23
- package/components/edit-option-color-picker/index.js +50 -50
- 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 +2 -2
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +2 -2
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +3 -3
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +7 -7
- package/components/edit-option-radio-button-group/index.cjs +4 -4
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +2 -2
- package/components/edit-option-slider/index.js +27 -27
- package/components/edit-option-switch/index.cjs +3 -3
- package/components/edit-option-switch/index.js +5 -5
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +3 -3
- package/components/es-CGiBfBKJ.cjs +20 -0
- package/components/{es-D37mTCZB.js → es-DBmbFw-L.js} +55 -1
- package/components/filter-data-item-picker/filter-data-item-picker.d.ts +88 -0
- package/components/filter-data-item-picker/index.cjs +47 -0
- package/components/filter-data-item-picker/index.d.ts +7 -0
- package/components/filter-data-item-picker/index.js +193 -0
- package/components/filter-expression-picker/filter-expression-picker.d.ts +74 -0
- package/components/filter-expression-picker/index.cjs +20 -0
- package/components/filter-expression-picker/index.d.ts +7 -0
- package/components/filter-expression-picker/index.js +30 -0
- package/components/filter-group/filter-group.d.ts +26 -0
- package/components/filter-group/index.d.ts +7 -0
- package/components/filter-item/filter-item.d.ts +76 -0
- package/components/filter-item/index.cjs +52 -0
- package/components/filter-item/index.d.ts +7 -0
- package/components/filter-item/index.js +271 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
- package/components/filter-parameter-picker/index.d.ts +7 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +65 -0
- package/components/filter-value-picker/index.cjs +51 -0
- package/components/filter-value-picker/index.d.ts +7 -0
- package/components/filter-value-picker/index.js +149 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +43 -0
- package/components/filter-value-picker-datetime/index.cjs +288 -0
- package/components/filter-value-picker-datetime/index.d.ts +7 -0
- package/components/filter-value-picker-datetime/index.js +2820 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +82 -0
- package/components/filter-value-picker-hierarchy/index.cjs +46 -0
- package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
- package/components/filter-value-picker-hierarchy/index.js +278 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
- package/components/filter-value-picker-numeric/index.cjs +46 -0
- package/components/filter-value-picker-numeric/index.d.ts +7 -0
- package/components/filter-value-picker-numeric/index.js +274 -0
- package/components/flow-D-0MTYCm-BOBCoA5Z.js +546 -0
- package/components/flow-D-0MTYCm-BW5krWol.cjs +48 -0
- package/components/{focusable-BNESohBR-DbTLvYXr.cjs → focusable-BxtpnzWp-CkK9AeMt.cjs} +2 -2
- package/components/{focusable-BNESohBR-DYvAZYXL.js → focusable-BxtpnzWp-DJQkL8Zv.js} +1 -1
- package/components/focusable-DB6Uhr-C.js +275 -0
- package/components/focusable-_wp5pWO-.cjs +20 -0
- package/components/{fr-BWJHvkss.js → fr-BOwMikLT.js} +55 -1
- package/components/fr-DZbYwMlh.cjs +20 -0
- package/components/{get-css-variable-Bhbr-Kr1.js → get-css-variable-YlLiVgo8.js} +2 -2
- package/components/{if-defined-DbhS35z5.js → if-defined-B4gwZxx6.js} +1 -1
- package/components/{if-defined-D-1p2bLN-Bn-33APC.js → if-defined-DOaE2coe-CNT45Xcl.js} +1 -1
- package/components/{if-defined-D-1p2bLN-0_AoRnT2.cjs → if-defined-DOaE2coe-Cvlu5s9n.cjs} +1 -1
- package/components/{if-defined-CF8baNdl.cjs → if-defined-DqthfJme.cjs} +2 -2
- package/components/{index-Dwp251OJ.js → index-5mZhN-HJ.js} +7 -6
- package/components/{index-B3jkBlKY.js → index-BC1LV3vH.js} +3 -3
- package/components/{index-BXMPi13W.js → index-BCBLJ-ei.js} +82 -82
- package/components/{index-B9dQtvu7.js → index-BHJH1eGn.js} +3 -3
- package/components/index-BHXq1-M1.cjs +195 -0
- package/components/{index-C2-2RrwB.cjs → index-BKwbYw6x.cjs} +3 -3
- package/components/index-BOqSYlku.cjs +38 -0
- package/components/{index-D5rT-qy9.cjs → index-Bafc5poK.cjs} +12 -28
- package/components/{index-CqFCIIIl.js → index-BbuNpVBr.js} +3 -3
- package/components/{index-CRx2nPkq.js → index-Bmpw4rGV.js} +3 -3
- package/components/{index-D8Na-686.cjs → index-BoXbQm2o.cjs} +1 -1
- package/components/{index-uRWe553S.cjs → index-BtIWR_s6.cjs} +4 -4
- package/components/index-BwsEWpIS.js +494 -0
- package/components/{index-CF84gqsb.cjs → index-C2PPSv8E.cjs} +4 -4
- package/components/{index-CbeVu32V.js → index-C3N6qTxJ.js} +3 -3
- package/components/index-C5m9vRp5.js +598 -0
- package/components/{index-bZQXFqxv.cjs → index-CBOAQ3-E.cjs} +10 -10
- package/components/{index-_McOOiwL.cjs → index-CSm0I7Gz.cjs} +4 -4
- package/components/index-CTHlwZ9E.cjs +274 -0
- package/components/{index-Brg_sVUg.js → index-CTVNGPeT.js} +1 -1
- package/components/{index-Rjoe8cIs.js → index-Cb5l6iK_.js} +110 -173
- package/components/{index-BkCJwWm3.cjs → index-CeENkpNK.cjs} +3 -3
- package/components/{index-BnbhRpm9.js → index-CnRQGFHT.js} +3 -3
- package/components/{index-BKcvEgWr.cjs → index-CnpJUw_z.cjs} +3 -3
- package/components/{index-DJik7S7b.js → index-CsDgk_sj.js} +2 -2
- package/components/{index-fl13NYnO.js → index-CskV_bXp.js} +2 -2
- package/components/index-CyWwLYEO.js +1789 -0
- package/components/index-D9yzIoGv.js +1666 -0
- package/components/{index-Bwxvaqxq.cjs → index-DF-s3cEL.cjs} +11 -11
- package/components/{index-CVuJ-LUO.cjs → index-DSQyBS9Z.cjs} +2 -2
- package/components/{index-Bb8vxGZY.js → index-Desl7GJ0.js} +19 -15
- package/components/{index-0HUnZcem.cjs → index-DtohCwyO.cjs} +2 -2
- package/components/index-TQG9Xdxu.cjs +20 -0
- package/components/index-c2uKLWDt.cjs +157 -0
- package/components/{index-C9-QEfA9.cjs → index-j8UKjHqY.cjs} +4 -4
- package/components/{index-DZZMSlYS.js → index-rQxtPaJl.js} +6 -6
- package/components/index.cjs +1 -1
- package/components/index.js +41 -27
- package/components/localized-decorator-ClAOFk8M.cjs +28 -0
- package/components/localized-decorator-DGnMToFa.js +48 -0
- package/components/{luzmo-icons-U09GB75o.js → luzmo-icons-CPucBq6e.js} +89 -89
- package/components/luzmo-icons-DbwDQtuO-DSQ-uVxy.cjs +47 -0
- package/components/{luzmo-icons-BLN3xVgr-Tz5XXgbL.js → luzmo-icons-DbwDQtuO-QG0fLECn.js} +67 -25
- package/components/luzmo-icons-Nyf1P71v.cjs +31 -0
- package/components/nl-0V96M02q.cjs +20 -0
- package/components/nl-CY0iO3Ch.js +158 -0
- package/components/observe-slot-presence-CmVi0zTc-B4M1Mze7.cjs +36 -0
- package/components/observe-slot-presence-CmVi0zTc-DCFuXW7v.js +87 -0
- package/components/{observe-slot-text-CVKLDesL-BB2RmFgc.cjs → observe-slot-text-BPfIQQtz-DHOh38Ve.cjs} +4 -4
- package/components/{observe-slot-text-CVKLDesL-CXUeCmXW.js → observe-slot-text-BPfIQQtz-v6B-1BYh.js} +5 -5
- package/components/pending-state-DTX7ggyF-BQGaWUEI.cjs +80 -0
- package/components/pending-state-DTX7ggyF-KolnwUB7.js +321 -0
- package/components/{periods.const-CDIkC5CK.cjs → periods.const-BbgInj9J.cjs} +1 -1
- package/components/{periods.const-GHh5bPfs.js → periods.const-D2cMP5hH.js} +1 -1
- package/components/{popover-DRyjN9y_-w1zh4tvw.js → popover-DjX0aAnY-B_ujTfos.js} +2 -2
- package/components/{popover-DRyjN9y_-7mF_fAOh.cjs → popover-DjX0aAnY-CSUMV_Ay.cjs} +3 -3
- package/components/property-CxtZroGf.js +600 -0
- package/components/property-Dlf9S6Jz.cjs +42 -0
- package/components/{query-assigned-nodes-C76XVPWY-k1jDPyUQ.cjs → query-assigned-nodes-C76XVPWY-BW2w3V7-.cjs} +1 -1
- package/components/{query-assigned-nodes-C76XVPWY-BWouxGZs.js → query-assigned-nodes-C76XVPWY-DxNwGHfW.js} +1 -1
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
- package/components/{scatter-plot-options.config-lrkd9qj4.js → scatter-plot-options.config-Corlzno1.js} +78 -48
- package/components/set-locale-5FFfQpVQ.cjs +52 -0
- package/components/set-locale-DAGnJZD8.js +188 -0
- package/components/{sized-mixin-DMuOVsw0.js → sized-mixin-C7R5uRbF.js} +1 -1
- package/components/sized-mixin-ZTphZKLm.cjs +20 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +12 -11
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +15 -14
- package/components/{state-e2n-fyrr.js → state-BVYsk_HZ.js} +1 -1
- package/components/{state-QgHgNZLe.cjs → state-CrfOw8Zp.cjs} +2 -2
- package/components/{streaming-listener-C8Ctj0Q6-lanbGKR9.js → streaming-listener-CP-JE6Fa-9MH0gENR.js} +3 -3
- package/components/{streaming-listener-C8Ctj0Q6-BhMxS69F.cjs → streaming-listener-CP-JE6Fa-DMzr1X1m.cjs} +3 -3
- package/components/{task-fQFUVV8e.cjs → task-CdvrMX8r.cjs} +2 -2
- package/components/{task-gE27tBDv.js → task-DH8UFyxP.js} +1 -1
- package/components/{text-field-C0pFjPG1-BCVbGXp7.cjs → text-field-BIADXoLC-B8w9TVmS.cjs} +8 -8
- package/components/{text-field-C0pFjPG1-B4TRivuD.js → text-field-BIADXoLC-B9oE05VF.js} +11 -10
- package/custom-elements.json +1891 -34
- package/index.d.ts +7 -0
- package/item-definitions/scatter-plot/scatter-plot-options.config.d.ts +3 -0
- package/package.json +46 -1
- package/utils/data-broker/index.d.ts +179 -0
- package/utils/data-item-types/calculate-data-item-icon.d.ts +3 -0
- package/utils/filters/expressions.d.ts +15 -0
- package/utils/filters/index.d.ts +1 -0
- package/utils/localize/set-locale.d.ts +4 -2
- package/utils/types/column.types.d.ts +1 -1
- package/components/de-DgHoh7KS.cjs +0 -20
- package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +0 -2
- package/components/edit-option-base-jkkFevzT.cjs +0 -53
- package/components/es-ByW01bzN.cjs +0 -20
- package/components/focusable-Cu_m_GTh.cjs +0 -42
- package/components/focusable-Dw_pMNQL.js +0 -852
- package/components/fr-DnFUAglm.cjs +0 -20
- package/components/index-CqynTbW1.cjs +0 -217
- package/components/index-DFnzlbHX.js +0 -779
- package/components/index-hogChFy0.cjs +0 -195
- package/components/luzmo-icons-BDClm1AE.cjs +0 -31
- package/components/luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs +0 -47
- package/components/nl-CWxJcTNT.js +0 -104
- package/components/nl-CpfDNK5c.cjs +0 -20
- package/components/scatter-plot-options.config-DkJLutNb.cjs +0 -20
- package/components/set-locale-ByIApH40.cjs +0 -60
- package/components/set-locale-DJYT4V7U.js +0 -212
- package/components/sized-mixin-Cqlxwicw.cjs +0 -20
- /package/components/{divider.module-DwOuLGU3-B19eHVg2.js → divider.module-DoQWQEIJ-B19eHVg2.js} +0 -0
- /package/components/{divider.module-DwOuLGU3-Bg8RrFkc.cjs → divider.module-DoQWQEIJ-Bg8RrFkc.cjs} +0 -0
@@ -0,0 +1,494 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
import { m as k, R as c, d, w as f, a as z, z as a } from "./base-D76d76ww-BGkuhs54.js";
|
21
|
+
import { n as h } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
22
|
+
import { m as u, d as v } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
23
|
+
import { g as y, u as x, o as w, v as b, a as I } from "./pending-state-DTX7ggyF-KolnwUB7.js";
|
24
|
+
import { p as $ } from "./index-BCBLJ-ei.js";
|
25
|
+
import { r as S } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
26
|
+
import { a as M } from "./index-Bmpw4rGV.js";
|
27
|
+
import { D as m, s as q, u as C } from "./luzmo-icons-DbwDQtuO-QG0fLECn.js";
|
28
|
+
import "./index-Cb5l6iK_.js";
|
29
|
+
import "./index-C3N6qTxJ.js";
|
30
|
+
/*! * Lucero - The design system for Luzmo.
|
31
|
+
*
|
32
|
+
* Copyright © 2025 Luzmo
|
33
|
+
* All rights reserved.
|
34
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
35
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
36
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
37
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
38
|
+
*
|
39
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
40
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
41
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
42
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
43
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
44
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
45
|
+
* SOFTWARE.
|
46
|
+
* */
|
47
|
+
const E = '#button{cursor:pointer;-webkit-user-select:none;user-select:none;font-family:var(--luzmo-button-font-family, var(--luzmo-font-family));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:var(--luzmo-button-line-height, var(--luzmo-line-height, 1.3));text-transform:none;vertical-align:top;-webkit-appearance:button;transition:background var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,border-color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,color var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out,box-shadow var(--luzmo-button-animation-duration, var(--luzmo-animation-duration)) ease-out;justify-content:center;align-items:center;margin:0;-webkit-text-decoration:none;text-decoration:none;display:inline-flex;position:relative;overflow:visible}#button::-moz-focus-inner{border-style:none;padding:0}#button:focus{outline:none}#icon{margin-inline-end:var(--luzmo-picker-spacing-text-to-icon, var(--picker-spacing-text-to-icon));font-size:var(--luzmo-picker-font-size, var(--picker-font-size))}@media (forced-colors: active){:host{--highcontrast-picker-focus-indicator-color: Highlight;--highcontrast-picker-border-color-default: ButtonBorder;--highcontrast-picker-border-color-hover: Highlight;--highcontrast-picker-border-color-disabled: GrayText;--highcontrast-picker-content-color-default: ButtonText;--highcontrast-picker-content-color-disabled: GrayText;--highcontrast-picker-background-color: ButtonFace}#button:focus-visible{--highcontrast-picker-border-color-hover: ButtonText}#button .label,#button:after{forced-color-adjust:none}}#button{box-sizing:border-box;max-inline-size:100%;min-inline-size:calc(var(--picker-minimum-width-multiplier) * var(--luzmo-picker-block-size, var(--picker-block-size)));block-size:var(--luzmo-picker-block-size, var(--picker-block-size));border-width:var(--luzmo-picker-border-width, var(--picker-border-width));border-radius:var(--luzmo-picker-border-radius, var(--picker-border-radius));box-shadow:var(--luzmo-picker-box-shadow, var(--picker-box-shadow));transition:background-color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)),box-shadow var(--luzmo-picker-animation-duration, var(--picker-animation-duration)),border-color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)) ease-in-out;color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default, var(--picker-background-color-default)));border-style:solid;border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-default, var(--picker-border-color-default)));margin-block-start:var(--luzmo-picker-spacing-label-to-picker, var(--picker-spacing-label-to-picker));padding-block:0;padding-inline-start:var(--luzmo-picker-spacing-edge-to-text, var(--picker-spacing-edge-to-text));padding-inline-end:var(--luzmo-picker-spacing-edge-to-disclosure-icon, var(--picker-spacing-edge-to-disclosure-icon));display:flex}#button:after{pointer-events:none;content:"";block-size:calc(100% + var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) * 2 + var(--luzmo-picker-border-width, var(--picker-border-width)) * 2);inline-size:calc(100% + var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) * 2 + var(--luzmo-picker-border-width, var(--picker-border-width)) * 2);border-style:solid;border-width:var(--luzmo-picker-focus-indicator-width, var(--picker-focus-indicator-width));border-radius:calc(var(--luzmo-picker-border-radius, var(--picker-border-radius)) + var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-border-width, var(--picker-border-width)));border-color:#0000;margin-block-start:calc((var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-focus-indicator-width, var(--picker-focus-indicator-width)) + var(--luzmo-picker-border-width, var(--picker-border-width))) * -1);margin-inline-start:calc((var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-focus-indicator-width, var(--picker-focus-indicator-width)) + var(--luzmo-picker-border-width, var(--picker-border-width))) * -1);position:absolute;inset-block:0;inset-inline:0}#button:active{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-active, var(--picker-background-color-active)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-active, var(--picker-border-color-active)))}#button:active:after{border-color:#0000}#button.placeholder:active .label{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-active, var(--picker-font-color-active)))}#button:focus-visible{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-key-focus, var(--picker-background-color-key-focus)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-key-focus, var(--picker-border-color-key-focus)));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-key-focus, var(--picker-font-color-key-focus)));outline:none}#button:focus-visible:after{border-color:var(--highcontrast-picker-focus-indicator-color, var(--luzmo-picker-focus-indicator-color, var(--picker-focus-indicator-color)))}#button.placeholder:focus-visible{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-key-focus, var(--picker-font-color-key-focus)))}#button:focus-visible .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-key-focus, var(--picker-icon-color-key-focus)))}:host([open]) #button:not(:disabled,.is-disabled){color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default-open, var(--picker-font-color-default-open)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default-open, var(--picker-background-color-default-open)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-default-open, var(--picker-border-color-default-open)))}:host([open]) #button:not(:disabled,.is-disabled) .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-default-open, var(--picker-icon-color-default-open)))}:host([invalid]) #button:not(:disabled,.is-disabled){border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-default, var(--picker-border-color-error-default)))}:host([invalid]) #button:not(:disabled,.is-disabled) .validation-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-error, var(--picker-icon-color-error)))}:host([invalid]) #button:not(:disabled,.is-disabled):active{border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-active, var(--picker-border-color-error-active)))}:host([invalid][open]) #button:not(:disabled,.is-disabled){border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-default-open, var(--picker-border-color-error-default-open)))}:host([invalid]) #button:not(:disabled,.is-disabled):focus-visible{border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-error-key-focus, var(--picker-border-color-error-key-focus)))}:host([pending]) #button .disclosure-icon{color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-icon-color-disabled, var(--picker-icon-color-disabled)))}.icon{flex-shrink:0}.label{white-space:nowrap;font-size:var(--luzmo-picker-font-size, var(--picker-font-size));line-height:var(--luzmo-picker-line-height, var(--picker-line-height));font-weight:var(--luzmo-picker-font-weight, var(--picker-font-weight));text-overflow:ellipsis;text-align:start;flex:auto;overflow:hidden}.label.placeholder{font-weight:var(--luzmo-picker-placeholder-font-weight, var(--picker-font-weight));font-style:var(--luzmo-picker-placeholder-font-style, var(--picker-placeholder-font-style));transition:color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)) ease-in-out;color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)))}.label.placeholder:active{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-active, var(--picker-font-color-active)))}.disclosure-icon{vertical-align:top;transition:color var(--luzmo-picker-animation-duration, var(--picker-animation-duration)) ease-out;margin-inline-start:var(--luzmo-picker-spacing-icon-to-disclosure-icon, var(--picker-spacing-icon-to-disclosure-icon));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-default, var(--picker-icon-color-default)));flex-shrink:0;display:inline-block;position:relative}.disclosure-icon:active{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-active, var(--picker-icon-color-active)))}luzmo-progress-circle,.validation-icon{margin-inline-start:var(--luzmo-picker-spacing-text-to-icon, var(--picker-spacing-text-to-icon))}.icon-container{display:flex;position:relative;height:100%;align-items:center;font-size:var(--luzmo-picker-disclosure-icon-size, var(--picker-disclosure-icon-size))}.icon-container.disclosure-icon{margin-inline-end:0}.label~.disclosure-icon{margin-inline-start:var(--luzmo-picker-spacing-text-to-icon, var(--picker-spacing-text-to-icon))}:host([quiet]) #button{inline-size:auto;min-inline-size:0;padding-inline:var(--luzmo-picker-spacing-edge-to-text-quiet, var(--picker-spacing-edge-to-text-quiet));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)));background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent);border:none;border-radius:0;box-shadow:none;margin-block-start:calc(var(--luzmo-picker-spacing-label-to-picker-quiet, var(--picker-spacing-label-to-picker-quiet)) + 1px)}:host([quiet]) #button.label-inline{margin-block-start:0}:host([quiet]) #button .disclosure-icon{margin-inline-end:var(--luzmo-picker-spacing-edge-to-disclosure-icon-quiet, var(--picker-spacing-edge-to-disclosure-icon-quiet))}:host([quiet]) #button:after{block-size:auto;inline-size:auto;border:none}@media (hover: hover){#button:hover{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-hover, var(--picker-font-color-hover)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-hover, var(--picker-background-color-hover)));border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-hover, var(--picker-border-color-hover)))}#button:hover .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-hover, var(--picker-icon-color-hover)))}:host([open]):not([quiet]) #button:not(:disabled,.is-disabled):hover{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-hover-open, var(--picker-font-color-hover-open)));background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-hover-open, var(--picker-background-color-hover-open)));border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-hover-open, var(--picker-border-color-hover-open)))}:host([open]) #button:not(:disabled,.is-disabled):hover .disclosure-icon{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-icon-color-hover-open, var(--picker-icon-color-hover-open)))}:host([invalid]) #button:not(:disabled,.is-disabled):hover{border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-error-hover, var(--picker-border-color-error-hover)))}:host([invalid][open]) #button:not(:disabled,.is-disabled):hover{border-color:var(--highcontrast-picker-border-color-hover, var(--luzmo-picker-border-color-error-hover-open, var(--picker-border-color-error-hover-open)))}.label.placeholder:hover{color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-hover, var(--picker-font-color-hover)))}:host([quiet]) #button:hover{background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent)!important}}:host([quiet]) #button:focus-visible{background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent)}:host([quiet]) #button:focus-visible:after{box-shadow:0 var(--luzmo-picker-focus-indicator-width, var(--picker-focus-indicator-width)) 0 0 var(--highcontrast-picker-focus-indicator-color, var(--luzmo-picker-focus-indicator-color, var(--picker-focus-indicator-color)));margin:calc((var(--luzmo-picker-focus-indicator-gap, var(--picker-focus-indicator-gap)) + var(--luzmo-picker-border-width, var(--picker-border-width))) * -1) 0;border:none;border-radius:0}:host([quiet][open]) #button,:host([quiet][disabled]) #button#button,:host([quiet]) #button#button:disabled,:host([quiet]) #button:active{background-color:initial;background-color:var(--highcontrast-picker-background-color, transparent)}.label-inline{vertical-align:top;display:inline-flex}:host([disabled]) #button,#button:disabled{cursor:default;background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-disabled, var(--picker-background-color-disabled)));border-color:#0000;border-color:var(--highcontrast-picker-border-color-disabled, transparent);color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-font-color-disabled, var(--picker-font-color-disabled)))}:host([disabled]) #button .icon,:host([disabled]) #button .disclosure-icon,:host([disabled]) #button .validation-icon,#button:disabled .icon,#button:disabled .disclosure-icon,#button:disabled .validation-icon{color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-icon-color-disabled, var(--picker-icon-color-disabled)))}:host([disabled]) #button .label.placeholder,#button:disabled .label.placeholder{color:var(--highcontrast-picker-content-color-disabled, var(--luzmo-picker-font-color-disabled, var(--picker-font-color-disabled)))}:host{--picker-box-shadow: 0px 1px 3px 0px rgba(var(--luzmo-border-color-rgb), .06);--picker-background-color-default: var(--luzmo-background-color);--picker-background-color-default-open: var(--luzmo-background-color-hover);--picker-background-color-active: var(--luzmo-background-color-down);--picker-background-color-hover: var(--luzmo-background-color-hover);--picker-background-color-hover-open: var(--luzmo-background-color-down);--picker-background-color-key-focus: var(--luzmo-background-color-down);--picker-border-color-default: var(--luzmo-border-color);--picker-border-color-default-open: var(--luzmo-border-color-hover);--picker-border-color-hover: var(--luzmo-border-color);--picker-border-color-hover-open: var(--luzmo-border-color-hover);--picker-border-color-active: var(--luzmo-border-color);--picker-border-color-key-focus: var(--luzmo-border-color);--picker-border-width: var(--luzmo-border-width);--picker-font-size: var(--luzmo-font-size);--picker-font-weight: var(--luzmo-font-weight);--picker-placeholder-font-style: var(--luzmo-font-style);--picker-line-height: var(--luzmo-line-height);--picker-block-size: 32px;--picker-border-radius: var(--luzmo-border-radius);--picker-spacing-edge-to-text: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon-inline-end: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-icon-to-disclosure-icon: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-text-quiet: 0px;--picker-spacing-label-to-picker: 0px;--picker-spacing-label-to-picker-quiet: calc( -1 * var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-disclosure-icon: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-disclosure-icon-quiet: 0px;--picker-animation-duration: var(--luzmo-animation-duration);--picker-font-color-default: var(--luzmo-font-color);--picker-font-color-default-open: var(--luzmo-font-color-hover);--picker-font-color-hover: var(--luzmo-font-color-hover);--picker-font-color-hover-open: var(--luzmo-font-color-down);--picker-font-color-active: var(--luzmo-font-color-focus);--picker-font-color-key-focus: var(--luzmo-font-color-focus);--picker-icon-color-default: var(--luzmo-font-color);--picker-icon-color-default-open: var(--luzmo-font-color-hover);--picker-icon-color-hover: var(--luzmo-font-color-hover);--picker-icon-color-hover-open: var(--luzmo-font-color-hover);--picker-icon-color-active: var(--luzmo-font-color-focus);--picker-icon-color-key-focus: var(--luzmo-font-color-focus);--picker-border-color-error-default: var(--luzmo-negative-color);--picker-border-color-error-default-open: var(--luzmo-negative-color-down);--picker-border-color-error-hover: var(--luzmo-negative-color-hover);--picker-border-color-error-hover-open: var(--luzmo-negative-color-down);--picker-border-color-error-active: var(--luzmo-negative-color-down);--picker-border-color-error-key-focus: var(--luzmo-negative-color-focus);--picker-icon-color-error: var(--luzmo-negative-color);--picker-background-color-disabled: var(--luzmo-background-color-disabled);--picker-font-color-disabled: var(--luzmo-disabled-color);--picker-icon-color-disabled: var(--luzmo-disabled-color);--picker-focus-indicator-gap: var(--luzmo-indicator-gap);--picker-focus-indicator-width: var(--luzmo-indicator-width);--picker-focus-indicator-color: var(--luzmo-indicator-color);--picker-disclosure-icon-size: var(--luzmo-font-size-s)}:host([size=s]){--picker-block-size: 28px;--picker-font-size: var(--luzmo-font-size-s);--picker-border-radius: var(--luzmo-border-radius);--picker-spacing-edge-to-text: var(--luzmo-spacing-3);--picker-spacing-text-to-icon: var(--luzmo-spacing-3);--picker-spacing-text-to-icon-inline-end: var(--luzmo-spacing-3);--picker-spacing-icon-to-disclosure-icon: var(--luzmo-spacing-3);--picker-spacing-label-to-picker-quiet: calc(-1 * var(--luzmo-spacing-3));--picker-spacing-edge-to-disclosure-icon: var(--luzmo-spacing-3);--picker-disclosure-icon-size: var(--luzmo-font-size-s)}:host([size=l]){--picker-block-size: 40px;--picker-font-size: var(--luzmo-font-size-l);--picker-border-radius: var(--luzmo-border-radius);--picker-spacing-edge-to-text: var(--luzmo-spacing-4);--picker-spacing-text-to-icon: var(--luzmo-spacing-4);--picker-spacing-text-to-icon-inline-end: var(--luzmo-spacing-4);--picker-spacing-icon-to-disclosure-icon: var(--luzmo-spacing-4);--picker-spacing-label-to-picker-quiet: calc(-1 * var(--luzmo-spacing-4));--picker-spacing-edge-to-disclosure-icon: var(--luzmo-spacing-4);--picker-disclosure-icon-size: var(--luzmo-font-size)}:host([size=xl]){--picker-block-size: 48px;--picker-font-size: var(--luzmo-font-size-xl);--picker-border-radius: var(--luzmo-border-radius-l);--picker-spacing-edge-to-text: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-text-to-icon-inline-end: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-icon-to-disclosure-icon: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-label-to-picker-quiet: calc( -1 * var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-spacing-edge-to-disclosure-icon: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--picker-disclosure-icon-size: var(--luzmo-font-size-l)}:host([variant=highlight]) ::slotted(luzmo-menu-item[selected]){--menu-item-highlight-label-content-color: var(--luzmo-primary-inverse-color);--menu-item-label-icon-color-default: var(--luzmo-primary-inverse-color);--menu-checkmark-display: var(--menu-checkmark-display-hidden);padding-inline-start:var(--luzmo-menu-item-label-inline-edge-to-content, var(--menu-item-label-inline-edge-to-content));background-color:var(--luzmo-menu-item-highlight-label-background-color, var(--menu-item-highlight-label-background-color, var(--luzmo-border-color)))}:host{display:inline-flex;vertical-align:top;max-inline-size:100%;inline-size:var(--luzmo-picker-inline-size, var(--picker-inline-size));min-inline-size:calc(var(--picker-minimum-width-multiplier) * var(--luzmo-picker-block-size, var(--picker-block-size)))}:host([quiet]){width:auto;min-width:0}:host([disabled]){pointer-events:none}#button{width:100%;min-width:100%;max-width:100%}#icon:not([hidden]){display:inline-flex}:host([readonly]) #button{-webkit-user-select:inherit;user-select:inherit}.picker,.validation-icon{flex-shrink:0}luzmo-overlay{pointer-events:none}luzmo-menu{pointer-events:initial}:host>luzmo-menu{display:none}:host([focused]:not([quiet])) #button #label.placeholder{color:var(--picker-placeholder-text-color-key-focus, var(--alias-placeholder-text-color-hover))}#label.visually-hidden~.picker{margin-inline-start:auto}:host([focused]:not([quiet],[pending])) #button .picker{color:var(--picker-icon-color-key-focus, var(--alias-icon-color-focus))}.visually-hidden{border:0;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}luzmo-overlay:not(:defined){display:none}#button.remove-focus-ring-safari-hack:focus-visible{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default, var(--picker-background-color-default)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-default, var(--picker-border-color-default)));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)))}#button.remove-focus-ring-safari-hack:after{border:none}#button.remove-focus-ring-safari-hack:focus-visible:after{box-shadow:none}#button.remove-focus-ring-safari-hack:active{background-color:var(--highcontrast-picker-background-color, var(--luzmo-picker-background-color-default, var(--picker-background-color-default)));border-color:var(--highcontrast-picker-border-color-default, var(--luzmo-picker-border-color-default, var(--picker-border-color-default)));color:var(--highcontrast-picker-content-color-default, var(--luzmo-picker-font-color-default, var(--picker-font-color-default)))}';
|
48
|
+
var A = Object.defineProperty, B = Object.getOwnPropertyDescriptor, i = (s, o, e, r) => {
|
49
|
+
for (var l = r > 1 ? void 0 : r ? B(o, e) : o, n = s.length - 1, p; n >= 0; n--)
|
50
|
+
(p = s[n]) && (l = (r ? p(o, e, l) : p(l)) || l);
|
51
|
+
return r && l && A(o, e, l), l;
|
52
|
+
};
|
53
|
+
const F = () => c`
|
54
|
+
<div class="disclosure-icon icon">
|
55
|
+
${m(q, { className: "indicator" })}
|
56
|
+
</div>
|
57
|
+
`, D = () => c`
|
58
|
+
<div class="icon-container validation-icon icon">
|
59
|
+
${m(C)}
|
60
|
+
</div>
|
61
|
+
`, g = "option-picker";
|
62
|
+
class t extends k(S, {
|
63
|
+
noDefaultSize: !0
|
64
|
+
}) {
|
65
|
+
/**
|
66
|
+
* Initializes the `PendingStateController` for the Picker component.
|
67
|
+
* The `PendingStateController` manages the pending state of the Picker.
|
68
|
+
*/
|
69
|
+
constructor() {
|
70
|
+
super(), this.disabled = !1, this.focused = !1, this.invalid = !1, this.pending = !1, this.pendingLabel = "Pending", this.open = !1, this.readonly = !1, this.placement = "bottom-start", this.quiet = !1, this.value = "", this.selects = "single", this.dependencyManager = new M(this), this.isMobile = new y(this, x), this.listRole = "listbox", this.itemRole = "option", this.hasRenderedOverlay = !1, this._selfManageFocusElement = !1, this.deprecatedMenu = null, this.selectionPromise = Promise.resolve(), this.willManageSelection = !1, this.recentlyConnected = !1, this.enterKeydownOn = null, this.handleSlottableRequest = (o) => {
|
71
|
+
}, this.applyFocusElementLabel = (o, e) => {
|
72
|
+
this.appliedLabel = o, this.labelAlignment = e.sideAligned ? "inline" : void 0;
|
73
|
+
}, this.handleKeydown = (o) => {
|
74
|
+
this.focused = !0, !(o.code !== "ArrowDown" && o.code !== "ArrowUp") && (o.stopPropagation(), o.preventDefault(), this.toggle(!0));
|
75
|
+
}, this.renderAngleIcon = () => F(), this.renderAlertIcon = () => D(), this.handleEnterKeydown = (o) => {
|
76
|
+
if (o.code === "Enter") {
|
77
|
+
if (this.enterKeydownOn) {
|
78
|
+
o.preventDefault();
|
79
|
+
return;
|
80
|
+
}
|
81
|
+
this.enterKeydownOn = o.target, this.addEventListener(
|
82
|
+
"keyup",
|
83
|
+
(e) => {
|
84
|
+
e.code === "Enter" && (this.enterKeydownOn = null);
|
85
|
+
},
|
86
|
+
{ once: !0 }
|
87
|
+
);
|
88
|
+
}
|
89
|
+
}, this.pendingStateController = new w(this);
|
90
|
+
}
|
91
|
+
get selectedItem() {
|
92
|
+
return this._selectedItem;
|
93
|
+
}
|
94
|
+
get selectedItemContent() {
|
95
|
+
return this._selectedItemContent || { icon: [], content: [] };
|
96
|
+
}
|
97
|
+
get selfManageFocusElement() {
|
98
|
+
return this._selfManageFocusElement;
|
99
|
+
}
|
100
|
+
get menuItems() {
|
101
|
+
return this.optionsMenu.childItems;
|
102
|
+
}
|
103
|
+
set selectedItem(o) {
|
104
|
+
const e = o == null ? void 0 : o.querySelector('[slot="icon"]');
|
105
|
+
if (this.selectedItemContent = o ? o.itemChildren : void 0, o === this.selectedItem)
|
106
|
+
return;
|
107
|
+
const r = this.selectedItem;
|
108
|
+
this._selectedItem = o, this._selectedItemIcon = (e == null ? void 0 : e.icon) ?? void 0, this.requestUpdate("selectedItem", r);
|
109
|
+
}
|
110
|
+
get focusElement() {
|
111
|
+
return this.open ? this.optionsMenu : this.button;
|
112
|
+
}
|
113
|
+
forceFocusVisible() {
|
114
|
+
this.disabled || (this.focused = !0);
|
115
|
+
}
|
116
|
+
click() {
|
117
|
+
this.disabled || this.toggle();
|
118
|
+
}
|
119
|
+
handleButtonBlur() {
|
120
|
+
this.focused = !1;
|
121
|
+
}
|
122
|
+
focus(o) {
|
123
|
+
super.focus(o), !this.disabled && this.focusElement && (this.focused = this.hasVisibleFocusInTree());
|
124
|
+
}
|
125
|
+
handleHelperFocus() {
|
126
|
+
this.focused = !0, this.button.focus();
|
127
|
+
}
|
128
|
+
handleChange(o) {
|
129
|
+
this.strategy && (this.strategy.preventNextToggle = "no");
|
130
|
+
const e = o.target, [r] = e.selectedItems;
|
131
|
+
o.stopPropagation(), o.cancelable ? this.setValueFromItem(r, o) : (this.open = !1, this.strategy && (this.strategy.open = !1));
|
132
|
+
}
|
133
|
+
handleButtonFocus(o) {
|
134
|
+
var e;
|
135
|
+
(e = this.strategy) == null || e.handleButtonFocus(o);
|
136
|
+
}
|
137
|
+
toggle(o) {
|
138
|
+
this.readonly || this.pending || (this.open = o === void 0 ? !this.open : o, this.strategy && (this.strategy.open = this.open), this._selfManageFocusElement = this.open);
|
139
|
+
}
|
140
|
+
close() {
|
141
|
+
this.readonly || this.strategy && (this.open = !1, this.strategy.open = !1);
|
142
|
+
}
|
143
|
+
bindEvents() {
|
144
|
+
var o;
|
145
|
+
(o = this.strategy) == null || o.abort(), this.strategy = this.isMobile.matches ? new b.mobile(this.button, this) : new b.desktop(this.button, this);
|
146
|
+
}
|
147
|
+
connectedCallback() {
|
148
|
+
super.connectedCallback(), this.recentlyConnected = this.hasUpdated;
|
149
|
+
}
|
150
|
+
disconnectedCallback() {
|
151
|
+
var o;
|
152
|
+
this.close(), (o = this.strategy) == null || o.releaseDescription(), super.disconnectedCallback();
|
153
|
+
}
|
154
|
+
async setValueFromItem(o, e) {
|
155
|
+
this.open = !1, this.strategy && (this.strategy.open = !1);
|
156
|
+
const r = this.selectedItem, l = this.value;
|
157
|
+
if (this.selectedItem = o, this.value = (o == null ? void 0 : o.value) ?? "", await this.updateComplete, !this.dispatchEvent(
|
158
|
+
new CustomEvent("change", {
|
159
|
+
bubbles: !0,
|
160
|
+
// Allow it to be prevented.
|
161
|
+
cancelable: !0,
|
162
|
+
composed: !0,
|
163
|
+
detail: this.value
|
164
|
+
})
|
165
|
+
) && this.selects) {
|
166
|
+
e && e.preventDefault(), this.setMenuItemSelected(this.selectedItem, !1), r && this.setMenuItemSelected(r, !0), this.selectedItem = r, this.value = l, this.open = !0, this.strategy && (this.strategy.open = !0);
|
167
|
+
return;
|
168
|
+
} else if (!this.selects) {
|
169
|
+
this.selectedItem = r, this.value = l;
|
170
|
+
return;
|
171
|
+
}
|
172
|
+
r && this.setMenuItemSelected(r, !1), this.setMenuItemSelected(o, !!this.selects);
|
173
|
+
}
|
174
|
+
setMenuItemSelected(o, e) {
|
175
|
+
this.selects != null && (o.selected = e);
|
176
|
+
}
|
177
|
+
get containerStyles() {
|
178
|
+
return this.isMobile.matches ? {
|
179
|
+
"--swc-menu-width": "100%"
|
180
|
+
} : {};
|
181
|
+
}
|
182
|
+
set selectedItemContent(o) {
|
183
|
+
if (o === this.selectedItemContent)
|
184
|
+
return;
|
185
|
+
const e = this.selectedItemContent;
|
186
|
+
this._selectedItemContent = o, this.requestUpdate("selectedItemContent", e);
|
187
|
+
}
|
188
|
+
handleTooltipSlotchange(o) {
|
189
|
+
this.tooltipEl = o.target.assignedElements()[0];
|
190
|
+
}
|
191
|
+
renderLabelContent(o) {
|
192
|
+
return this.value && this.selectedItem ? o : c`
|
193
|
+
<slot name="label" id="label">
|
194
|
+
<span aria-hidden=${u(this.appliedLabel ? void 0 : "true")}>
|
195
|
+
${this.label}
|
196
|
+
</span>
|
197
|
+
</slot>
|
198
|
+
`;
|
199
|
+
}
|
200
|
+
get buttonContent() {
|
201
|
+
const o = {
|
202
|
+
"visually-hidden": this.icons === "only" && !!this.value,
|
203
|
+
placeholder: !this.value,
|
204
|
+
label: !0
|
205
|
+
}, e = this.appliedLabel || this.label, r = c` <div id="icon" ?hidden=${this.icons === "none"}>
|
206
|
+
${this._selectedItemIcon ? m(this._selectedItemIcon) : d}
|
207
|
+
</div>`;
|
208
|
+
return [
|
209
|
+
c`
|
210
|
+
${this._selectedItemIcon ? r : d}
|
211
|
+
<div
|
212
|
+
id=${u(this.value && this.selectedItem ? "label" : void 0)}
|
213
|
+
class=${I(o)}
|
214
|
+
>
|
215
|
+
${this.renderLabelContent(this.selectedItemContent.content)}
|
216
|
+
</div>
|
217
|
+
${this.value && this.selectedItem ? c`
|
218
|
+
<div
|
219
|
+
aria-hidden="true"
|
220
|
+
class="visually-hidden"
|
221
|
+
id="applied-label"
|
222
|
+
>
|
223
|
+
${e}
|
224
|
+
<slot name="label"></slot>
|
225
|
+
</div>
|
226
|
+
` : c` <span hidden id="applied-label">${e}</span> `}
|
227
|
+
${this.invalid && !this.pending ? c` ${this.renderAlertIcon()} ` : d}
|
228
|
+
${this.pendingStateController.renderPendingState()}
|
229
|
+
${this.readonly ? d : this.renderAngleIcon()}
|
230
|
+
<slot
|
231
|
+
aria-hidden="true"
|
232
|
+
name="tooltip"
|
233
|
+
id="tooltip"
|
234
|
+
@slotchange=${this.handleTooltipSlotchange}
|
235
|
+
></slot>
|
236
|
+
`
|
237
|
+
];
|
238
|
+
}
|
239
|
+
renderOverlay(o) {
|
240
|
+
var e, r, l;
|
241
|
+
if (((e = this.strategy) == null ? void 0 : e.overlay) === void 0)
|
242
|
+
return o;
|
243
|
+
const n = this.renderContainer(o);
|
244
|
+
return f(n, (r = this.strategy) == null ? void 0 : r.overlay, {
|
245
|
+
host: this
|
246
|
+
}), (l = this.strategy) == null ? void 0 : l.overlay;
|
247
|
+
}
|
248
|
+
get renderDescriptionSlot() {
|
249
|
+
return c`
|
250
|
+
<div id=${g}>
|
251
|
+
<slot name="description"></slot>
|
252
|
+
</div>
|
253
|
+
`;
|
254
|
+
}
|
255
|
+
// a helper to throw focus to the button is needed because Safari
|
256
|
+
// won't include buttons in the tab order even with tabindex="0"
|
257
|
+
render() {
|
258
|
+
return this.tooltipEl && (this.tooltipEl.disabled = this.open), c`
|
259
|
+
<span
|
260
|
+
id="focus-helper"
|
261
|
+
tabindex=${this.focused || this.open ? "-1" : "0"}
|
262
|
+
@focus=${this.handleHelperFocus}
|
263
|
+
aria-describedby=${g}
|
264
|
+
></span>
|
265
|
+
<button
|
266
|
+
aria-controls=${u(this.open ? "menu" : void 0)}
|
267
|
+
aria-describedby="tooltip"
|
268
|
+
aria-expanded=${this.open ? "true" : "false"}
|
269
|
+
aria-haspopup="true"
|
270
|
+
aria-labelledby="loader icon label applied-label"
|
271
|
+
id="button"
|
272
|
+
class=${u(
|
273
|
+
this.labelAlignment ? `label-${this.labelAlignment}` : void 0
|
274
|
+
)}
|
275
|
+
@blur=${this.handleButtonBlur}
|
276
|
+
@keydown=${{
|
277
|
+
handleEvent: this.handleEnterKeydown,
|
278
|
+
capture: !0
|
279
|
+
}}
|
280
|
+
?disabled=${this.disabled}
|
281
|
+
tabindex="-1"
|
282
|
+
>
|
283
|
+
${this.buttonContent}
|
284
|
+
</button>
|
285
|
+
${this.renderMenu} ${this.renderDescriptionSlot}
|
286
|
+
`;
|
287
|
+
}
|
288
|
+
update(o) {
|
289
|
+
var e, r;
|
290
|
+
this.selects && (this.selects = "single"), o.has("disabled") && this.disabled && this.strategy && (this.open = !1, this.strategy.open = !1), o.has("pending") && this.pending && this.strategy && (this.open = !1, this.strategy.open = !1), o.has("value") && this.shouldScheduleManageSelection(), this.hasUpdated || (this.deprecatedMenu = this.querySelector(":scope > luzmo-menu"), (e = this.deprecatedMenu) == null || e.toggleAttribute("ignore", !0), (r = this.deprecatedMenu) == null || r.setAttribute("selects", "inherit")), super.update(o);
|
291
|
+
}
|
292
|
+
bindButtonKeydownListener() {
|
293
|
+
this.button.addEventListener("keydown", this.handleKeydown);
|
294
|
+
}
|
295
|
+
updated(o) {
|
296
|
+
super.updated(o), o.has("open") && (this.strategy.open = this.open);
|
297
|
+
}
|
298
|
+
firstUpdated(o) {
|
299
|
+
super.firstUpdated(o), this.bindButtonKeydownListener(), this.bindEvents();
|
300
|
+
}
|
301
|
+
get dismissHelper() {
|
302
|
+
return c`
|
303
|
+
<div class="visually-hidden">
|
304
|
+
<button
|
305
|
+
tabindex="-1"
|
306
|
+
aria-label="Dismiss"
|
307
|
+
@click=${this.close}
|
308
|
+
></button>
|
309
|
+
</div>
|
310
|
+
`;
|
311
|
+
}
|
312
|
+
renderContainer(o) {
|
313
|
+
const e = c`
|
314
|
+
${this.dismissHelper} ${o} ${this.dismissHelper}
|
315
|
+
`;
|
316
|
+
return this.dependencyManager.add("luzmo-popover"), import("./index-CTVNGPeT.js"), c`
|
317
|
+
<luzmo-popover
|
318
|
+
id="popover"
|
319
|
+
size=${this.size}
|
320
|
+
role="presentation"
|
321
|
+
style=${$(this.containerStyles)}
|
322
|
+
placement=${this.placement}
|
323
|
+
>
|
324
|
+
${e}
|
325
|
+
</luzmo-popover>
|
326
|
+
`;
|
327
|
+
}
|
328
|
+
get renderMenu() {
|
329
|
+
const o = c`
|
330
|
+
<luzmo-menu
|
331
|
+
aria-labelledby="applied-label"
|
332
|
+
@change=${this.handleChange}
|
333
|
+
id="menu"
|
334
|
+
@keydown=${{
|
335
|
+
handleEvent: this.handleEnterKeydown,
|
336
|
+
capture: !0
|
337
|
+
}}
|
338
|
+
@scroll=${this.onScroll}
|
339
|
+
role=${this.listRole}
|
340
|
+
.selects=${this.selects}
|
341
|
+
.selected=${this.value ? [this.value] : []}
|
342
|
+
size=${this.size}
|
343
|
+
@luzmo-menu-item-added-or-updated=${this.shouldManageSelection}
|
344
|
+
>
|
345
|
+
<slot @slotchange=${this.shouldScheduleManageSelection}></slot>
|
346
|
+
</luzmo-menu>
|
347
|
+
`;
|
348
|
+
return this.hasRenderedOverlay = this.hasRenderedOverlay || this.focused || this.open || !!this.deprecatedMenu, this.hasRenderedOverlay ? (this.dependencyManager.loaded && this.dependencyManager.add("luzmo-overlay"), this.renderOverlay(o)) : o;
|
349
|
+
}
|
350
|
+
shouldScheduleManageSelection(o) {
|
351
|
+
!this.willManageSelection && (!o || o.target.getRootNode().host === this) && (this.willManageSelection = !0, requestAnimationFrame(() => {
|
352
|
+
requestAnimationFrame(() => {
|
353
|
+
this.manageSelection();
|
354
|
+
});
|
355
|
+
}));
|
356
|
+
}
|
357
|
+
shouldManageSelection() {
|
358
|
+
this.willManageSelection || (this.willManageSelection = !0, this.manageSelection());
|
359
|
+
}
|
360
|
+
async manageSelection() {
|
361
|
+
if (this.selects == null)
|
362
|
+
return;
|
363
|
+
this.selectionPromise = new Promise(
|
364
|
+
(e) => this.selectionResolver = e
|
365
|
+
);
|
366
|
+
let o;
|
367
|
+
await this.optionsMenu.updateComplete, this.recentlyConnected && (await new Promise((e) => requestAnimationFrame(() => e(!0))), this.recentlyConnected = !1), this.menuItems.forEach((e) => {
|
368
|
+
this.value === e.value && !e.disabled ? o = e : e.selected = !1;
|
369
|
+
}), o ? (o.selected = !!this.selects, this.selectedItem = o) : (this.value = "", this.selectedItem = void 0), this.open && (await this.optionsMenu.updateComplete, this.optionsMenu.updateSelectedItemIndex()), this.selectionResolver(), this.willManageSelection = !1;
|
370
|
+
}
|
371
|
+
async getUpdateComplete() {
|
372
|
+
const o = await super.getUpdateComplete();
|
373
|
+
return await this.selectionPromise, o;
|
374
|
+
}
|
375
|
+
onScroll() {
|
376
|
+
this.dispatchEvent(
|
377
|
+
new Event("scroll", {
|
378
|
+
cancelable: !0,
|
379
|
+
composed: !0
|
380
|
+
})
|
381
|
+
);
|
382
|
+
}
|
383
|
+
}
|
384
|
+
i([
|
385
|
+
h()
|
386
|
+
], t.prototype, "appliedLabel", 2);
|
387
|
+
i([
|
388
|
+
v("#button")
|
389
|
+
], t.prototype, "button", 2);
|
390
|
+
i([
|
391
|
+
a({ type: Boolean, reflect: !0 })
|
392
|
+
], t.prototype, "disabled", 2);
|
393
|
+
i([
|
394
|
+
a({ type: Boolean, reflect: !0 })
|
395
|
+
], t.prototype, "focused", 2);
|
396
|
+
i([
|
397
|
+
a({ type: String, reflect: !0 })
|
398
|
+
], t.prototype, "icons", 2);
|
399
|
+
i([
|
400
|
+
a({ type: String, reflect: !0 })
|
401
|
+
], t.prototype, "variant", 2);
|
402
|
+
i([
|
403
|
+
a({ type: Boolean, reflect: !0 })
|
404
|
+
], t.prototype, "invalid", 2);
|
405
|
+
i([
|
406
|
+
a({ type: Boolean, reflect: !0 })
|
407
|
+
], t.prototype, "pending", 2);
|
408
|
+
i([
|
409
|
+
a({ type: String, attribute: "pending-label" })
|
410
|
+
], t.prototype, "pendingLabel", 2);
|
411
|
+
i([
|
412
|
+
a()
|
413
|
+
], t.prototype, "label", 2);
|
414
|
+
i([
|
415
|
+
a({ type: Boolean, reflect: !0 })
|
416
|
+
], t.prototype, "open", 2);
|
417
|
+
i([
|
418
|
+
a({ type: Boolean, reflect: !0 })
|
419
|
+
], t.prototype, "readonly", 2);
|
420
|
+
i([
|
421
|
+
h()
|
422
|
+
], t.prototype, "labelAlignment", 2);
|
423
|
+
i([
|
424
|
+
v("luzmo-menu")
|
425
|
+
], t.prototype, "optionsMenu", 2);
|
426
|
+
i([
|
427
|
+
v("luzmo-overlay")
|
428
|
+
], t.prototype, "overlayElement", 2);
|
429
|
+
i([
|
430
|
+
a()
|
431
|
+
], t.prototype, "placement", 2);
|
432
|
+
i([
|
433
|
+
a({ type: Boolean, reflect: !0 })
|
434
|
+
], t.prototype, "quiet", 2);
|
435
|
+
i([
|
436
|
+
a({ type: String })
|
437
|
+
], t.prototype, "value", 2);
|
438
|
+
i([
|
439
|
+
a({ attribute: !1 })
|
440
|
+
], t.prototype, "selectedItem", 1);
|
441
|
+
i([
|
442
|
+
h()
|
443
|
+
], t.prototype, "selectedItemContent", 1);
|
444
|
+
class O extends t {
|
445
|
+
constructor() {
|
446
|
+
super(...arguments), this.handleKeydown = (o) => {
|
447
|
+
const { code: e } = o;
|
448
|
+
if (this.focused = !0, !e.startsWith("Arrow") || this.readonly || this.pending)
|
449
|
+
return;
|
450
|
+
if (e === "ArrowUp" || e === "ArrowDown") {
|
451
|
+
this.toggle(!0), o.preventDefault();
|
452
|
+
return;
|
453
|
+
}
|
454
|
+
o.preventDefault();
|
455
|
+
const r = this.selectedItem ? this.menuItems.indexOf(this.selectedItem) : -1, l = r < 0 || e === "ArrowRight" ? 1 : -1;
|
456
|
+
let n = r + l;
|
457
|
+
for (; this.menuItems[n] && this.menuItems[n].disabled; )
|
458
|
+
n += l;
|
459
|
+
!this.menuItems[n] || this.menuItems[n].disabled || (!this.value || n !== r) && this.setValueFromItem(this.menuItems[n]);
|
460
|
+
};
|
461
|
+
}
|
462
|
+
static get styles() {
|
463
|
+
return [z(E)];
|
464
|
+
}
|
465
|
+
get containerStyles() {
|
466
|
+
const o = super.containerStyles;
|
467
|
+
return this.quiet || (o["min-width"] = `${this.offsetWidth}px`), o;
|
468
|
+
}
|
469
|
+
}
|
470
|
+
/*! * Lucero - The design system for Luzmo.
|
471
|
+
*
|
472
|
+
* Copyright © 2025 Luzmo
|
473
|
+
* All rights reserved.
|
474
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
475
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
476
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
477
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
478
|
+
*
|
479
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
480
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
481
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
482
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
483
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
484
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
485
|
+
* SOFTWARE.
|
486
|
+
* */
|
487
|
+
const R = () => {
|
488
|
+
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
489
|
+
const s = document.createElement("style");
|
490
|
+
s.setAttribute("data-luzmo-vars", ""), s.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-disabled-color);--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-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-informative-color: #1a77e9;--luzmo-informative-color-rgb: 26, 119, 233;--luzmo-disabled-color: #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(s);
|
491
|
+
}
|
492
|
+
};
|
493
|
+
R();
|
494
|
+
customElements.get("luzmo-picker") || customElements.define("luzmo-picker", O);
|