@luzmo/analytics-components-kit 1.0.1-alpha.30 → 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 +7 -7
- package/components/droppable-slot/index.js +32 -30
- 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
package/components/{async-directive-C_bp5UcZ-B5_19oN_.js → async-directive-BfcqVjDp-BCT-lA4F.js}
RENAMED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { $,
|
|
20
|
+
import { $, B as f, s as h } from "./directive-helpers-Cm6gitnu-CeYtlPO9.js";
|
|
21
21
|
/*! * Lucero - The design system for Luzmo.
|
|
22
22
|
*
|
|
23
23
|
* Copyright © 2025 Luzmo
|
|
@@ -38,20 +38,20 @@ import { $, r as f, s as h } from "./directive-helpers-Bx_ey3Gk-Csi4AxXe.js";
|
|
|
38
38
|
function u(t) {
|
|
39
39
|
return typeof window < "u" && window.navigator != null ? t.test(window.navigator.userAgent) : !1;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function c(t) {
|
|
42
42
|
return typeof window < "u" && window.navigator != null ? (
|
|
43
43
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
44
44
|
t.test(window.navigator.platform)
|
|
45
45
|
) : !1;
|
|
46
46
|
}
|
|
47
47
|
function d() {
|
|
48
|
-
return
|
|
48
|
+
return c(/^Mac/);
|
|
49
49
|
}
|
|
50
50
|
function A() {
|
|
51
|
-
return
|
|
51
|
+
return c(/^iPhone/);
|
|
52
52
|
}
|
|
53
53
|
function _() {
|
|
54
|
-
return
|
|
54
|
+
return c(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
55
55
|
d() && navigator.maxTouchPoints > 1;
|
|
56
56
|
}
|
|
57
57
|
function N() {
|
|
@@ -100,7 +100,7 @@ const o = (t, i) => {
|
|
|
100
100
|
if ((i = t._$AM) === void 0) break;
|
|
101
101
|
n = i._$AN, n.delete(t), t = i;
|
|
102
102
|
} while ((n == null ? void 0 : n.size) === 0);
|
|
103
|
-
},
|
|
103
|
+
}, a = (t) => {
|
|
104
104
|
for (let i; i = t._$AM; t = i) {
|
|
105
105
|
let n = i._$AN;
|
|
106
106
|
if (n === void 0) i._$AN = n = /* @__PURE__ */ new Set();
|
|
@@ -109,7 +109,7 @@ const o = (t, i) => {
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
function v(t) {
|
|
112
|
-
this._$AN !== void 0 ? (l(this), this._$AM = t,
|
|
112
|
+
this._$AN !== void 0 ? (l(this), this._$AM = t, a(this)) : this._$AM = t;
|
|
113
113
|
}
|
|
114
114
|
function C(t, i = !1, n = 0) {
|
|
115
115
|
const s = this._$AH, e = this._$AN;
|
|
@@ -125,7 +125,7 @@ class M extends $ {
|
|
|
125
125
|
super(...arguments), this._$AN = void 0;
|
|
126
126
|
}
|
|
127
127
|
_$AT(i, n, s) {
|
|
128
|
-
super._$AT(i, n, s),
|
|
128
|
+
super._$AT(i, n, s), a(this), this.isConnected = i._$AU;
|
|
129
129
|
}
|
|
130
130
|
_$AO(i, n = !0) {
|
|
131
131
|
var s, e;
|
package/components/{async-directive-C_bp5UcZ-mUPcBvyn.cjs → async-directive-BfcqVjDp-C8C45jl6.cjs}
RENAMED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";const u=require("./directive-helpers-
|
|
20
|
+
"use strict";const u=require("./directive-helpers-Cm6gitnu-BeggOiwf.cjs");/*! * Lucero - The design system for Luzmo.
|
|
21
21
|
*
|
|
22
22
|
* Copyright © 2025 Luzmo
|
|
23
23
|
* All rights reserved.
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
|
-
* */function c(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgent):!1}function a(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):!1}function h(){return a(/^Mac/)}function $(){return a(/^iPhone/)}function d(){return a(/^iPad/)||h()&&navigator.maxTouchPoints>1}function
|
|
36
|
+
* */function c(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgent):!1}function a(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):!1}function h(){return a(/^Mac/)}function $(){return a(/^iPhone/)}function d(){return a(/^iPad/)||h()&&navigator.maxTouchPoints>1}function A(){return $()||d()}function _(){return c(/Chrome/)}function w(){return c(/AppleWebKit/)&&!_()}function v(){return c(/Android/)}/*! * Lucero - The design system for Luzmo.
|
|
37
37
|
*
|
|
38
38
|
* Copyright © 2025 Luzmo
|
|
39
39
|
* All rights reserved.
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/const o=(t,i)=>{var n;const e=t._$AN;if(e===void 0)return!1;for(const s of e)(n=s._$AO)==null||n.call(s,i,!1),o(s,i);return!0},l=t=>{let i,n;do{if((i=t._$AM)===void 0)break;n=i._$AN,n.delete(t),t=i}while((n==null?void 0:n.size)===0)},f=t=>{for(let i;i=t._$AM;t=i){let n=i._$AN;if(n===void 0)i._$AN=n=new Set;else if(n.has(t))break;n.add(t),
|
|
56
|
+
*/const o=(t,i)=>{var n;const e=t._$AN;if(e===void 0)return!1;for(const s of e)(n=s._$AO)==null||n.call(s,i,!1),o(s,i);return!0},l=t=>{let i,n;do{if((i=t._$AM)===void 0)break;n=i._$AN,n.delete(t),t=i}while((n==null?void 0:n.size)===0)},f=t=>{for(let i;i=t._$AM;t=i){let n=i._$AN;if(n===void 0)i._$AN=n=new Set;else if(n.has(t))break;n.add(t),p(i)}};function C(t){this._$AN!==void 0?(l(this),this._$AM=t,f(this)):this._$AM=t}function g(t,i=!1,n=0){const e=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(i)if(Array.isArray(e))for(let r=n;r<e.length;r++)o(e[r],!1),l(e[r]);else e!=null&&(o(e,!1),l(e));else o(this,t)}const p=t=>{t.type==u.s.CHILD&&(t._$AP??(t._$AP=g),t._$AQ??(t._$AQ=C))};class N extends u.${constructor(){super(...arguments),this._$AN=void 0}_$AT(i,n,e){super._$AT(i,n,e),f(this),this.isConnected=i._$AU}_$AO(i,n=!0){var e,s;i!==this.isConnected&&(this.isConnected=i,i?(e=this.reconnected)==null||e.call(this):(s=this.disconnected)==null||s.call(this)),n&&(o(this,i),l(this))}setValue(i){if(u.B(this._$Ct))this._$Ct._$AI(i,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=i,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}exports.C=N;exports.a=A;exports.c=w;exports.o=$;exports.w=v;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const T = globalThis, D = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(),
|
|
42
|
+
const T = globalThis, D = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), I = /* @__PURE__ */ new WeakMap();
|
|
43
43
|
let lt = class {
|
|
44
44
|
constructor(e, t, s) {
|
|
45
45
|
if (this._$cssResult$ = !0, s !== et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -50,7 +50,7 @@ let lt = class {
|
|
|
50
50
|
const t = this.t;
|
|
51
51
|
if (D && e === void 0) {
|
|
52
52
|
const s = t !== void 0 && t.length === 1;
|
|
53
|
-
s && (e =
|
|
53
|
+
s && (e = I.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && I.set(t, e));
|
|
54
54
|
}
|
|
55
55
|
return e;
|
|
56
56
|
}
|
|
@@ -64,7 +64,7 @@ const at = (e) => new lt(typeof e == "string" ? e : e + "", void 0, et), ht = (e
|
|
|
64
64
|
const i = document.createElement("style"), r = T.litNonce;
|
|
65
65
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = s.cssText, e.appendChild(i);
|
|
66
66
|
}
|
|
67
|
-
},
|
|
67
|
+
}, B = D ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
|
68
68
|
let s = "";
|
|
69
69
|
for (const i of t.cssRules) s += i.cssText;
|
|
70
70
|
return at(s);
|
|
@@ -74,7 +74,7 @@ const at = (e) => new lt(typeof e == "string" ? e : e + "", void 0, et), ht = (e
|
|
|
74
74
|
* Copyright 2017 Google LLC
|
|
75
75
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
76
76
|
*/
|
|
77
|
-
const { is: ct, defineProperty: dt, getOwnPropertyDescriptor: ut, getOwnPropertyNames: pt, getOwnPropertySymbols: $t, getPrototypeOf: _t } = Object, A = globalThis, V = A.trustedTypes, ft = V ? V.emptyScript : "", W = A.reactiveElementPolyfillSupport,
|
|
77
|
+
const { is: ct, defineProperty: dt, getOwnPropertyDescriptor: ut, getOwnPropertyNames: pt, getOwnPropertySymbols: $t, getPrototypeOf: _t } = Object, A = globalThis, V = A.trustedTypes, ft = V ? V.emptyScript : "", W = A.reactiveElementPolyfillSupport, w = (e, t) => e, R = { toAttribute(e, t) {
|
|
78
78
|
switch (t) {
|
|
79
79
|
case Boolean:
|
|
80
80
|
e = e ? ft : null;
|
|
@@ -102,7 +102,7 @@ const { is: ct, defineProperty: dt, getOwnPropertyDescriptor: ut, getOwnProperty
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
return s;
|
|
105
|
-
} },
|
|
105
|
+
} }, L = (e, t) => !ct(e, t), q = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged: L };
|
|
106
106
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), A.litPropertyMetadata ?? (A.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
107
107
|
let g = class extends HTMLElement {
|
|
108
108
|
static addInitializer(e) {
|
|
@@ -134,13 +134,13 @@ let g = class extends HTMLElement {
|
|
|
134
134
|
return this.elementProperties.get(e) ?? q;
|
|
135
135
|
}
|
|
136
136
|
static _$Ei() {
|
|
137
|
-
if (this.hasOwnProperty(
|
|
137
|
+
if (this.hasOwnProperty(w("elementProperties"))) return;
|
|
138
138
|
const e = _t(this);
|
|
139
139
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
140
140
|
}
|
|
141
141
|
static finalize() {
|
|
142
|
-
if (this.hasOwnProperty(
|
|
143
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
142
|
+
if (this.hasOwnProperty(w("finalized"))) return;
|
|
143
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(w("properties"))) {
|
|
144
144
|
const t = this.properties, s = [...pt(t), ...$t(t)];
|
|
145
145
|
for (const i of s) this.createProperty(i, t[i]);
|
|
146
146
|
}
|
|
@@ -160,8 +160,8 @@ let g = class extends HTMLElement {
|
|
|
160
160
|
const t = [];
|
|
161
161
|
if (Array.isArray(e)) {
|
|
162
162
|
const s = new Set(e.flat(1 / 0).reverse());
|
|
163
|
-
for (const i of s) t.unshift(
|
|
164
|
-
} else e !== void 0 && t.push(
|
|
163
|
+
for (const i of s) t.unshift(B(i));
|
|
164
|
+
} else e !== void 0 && t.push(B(e));
|
|
165
165
|
return t;
|
|
166
166
|
}
|
|
167
167
|
static _$Eu(e, t) {
|
|
@@ -229,7 +229,7 @@ let g = class extends HTMLElement {
|
|
|
229
229
|
}
|
|
230
230
|
requestUpdate(e, t, s) {
|
|
231
231
|
if (e !== void 0) {
|
|
232
|
-
if (s ?? (s = this.constructor.getPropertyOptions(e)), !(s.hasChanged ??
|
|
232
|
+
if (s ?? (s = this.constructor.getPropertyOptions(e)), !(s.hasChanged ?? L)(this[e], t)) return;
|
|
233
233
|
this.P(e, t, s);
|
|
234
234
|
}
|
|
235
235
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
@@ -302,28 +302,28 @@ let g = class extends HTMLElement {
|
|
|
302
302
|
firstUpdated(e) {
|
|
303
303
|
}
|
|
304
304
|
};
|
|
305
|
-
g.elementStyles = [], g.shadowRootOptions = { mode: "open" }, g[
|
|
305
|
+
g.elementStyles = [], g.shadowRootOptions = { mode: "open" }, g[w("elementProperties")] = /* @__PURE__ */ new Map(), g[w("finalized")] = /* @__PURE__ */ new Map(), W == null || W({ ReactiveElement: g }), (A.reactiveElementVersions ?? (A.reactiveElementVersions = [])).push("2.0.4");
|
|
306
306
|
/**
|
|
307
307
|
* @license
|
|
308
308
|
* Copyright 2017 Google LLC
|
|
309
309
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
310
310
|
*/
|
|
311
|
-
const M = globalThis, N = M.trustedTypes, F = N ? N.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, mt = `<${it}>`, v = document,
|
|
312
|
-
\f\r]`,
|
|
311
|
+
const M = globalThis, N = M.trustedTypes, F = N ? N.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, mt = `<${it}>`, v = document, P = () => v.createComment(""), x = (e) => e === null || typeof e != "object" && typeof e != "function", j = Array.isArray, vt = (e) => j(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", z = `[
|
|
312
|
+
\f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Z = /-->/g, J = />/g, f = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
|
|
313
313
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), K = /'/g, G = /"/g, rt = /^(?:script|style|textarea|title)$/i, ot = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), zt = ot(1), kt = ot(2), y = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Q = /* @__PURE__ */ new WeakMap(), m = v.createTreeWalker(v, 129);
|
|
314
314
|
function nt(e, t) {
|
|
315
|
-
if (!
|
|
315
|
+
if (!j(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
316
316
|
return F !== void 0 ? F.createHTML(t) : t;
|
|
317
317
|
}
|
|
318
318
|
const gt = (e, t) => {
|
|
319
319
|
const s = e.length - 1, i = [];
|
|
320
|
-
let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o =
|
|
320
|
+
let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = S;
|
|
321
321
|
for (let a = 0; a < s; a++) {
|
|
322
322
|
const l = e[a];
|
|
323
323
|
let c, d, h = -1, p = 0;
|
|
324
|
-
for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); ) p = o.lastIndex, o ===
|
|
324
|
+
for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); ) p = o.lastIndex, o === S ? d[1] === "!--" ? o = Z : d[1] !== void 0 ? o = J : d[2] !== void 0 ? (rt.test(d[2]) && (r = RegExp("</" + d[2], "g")), o = f) : d[3] !== void 0 && (o = f) : o === f ? d[0] === ">" ? (o = r ?? S, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? f : d[3] === '"' ? G : K) : o === G || o === K ? o = f : o === Z || o === J ? o = S : (o = f, r = void 0);
|
|
325
325
|
const $ = o === f && e[a + 1].startsWith("/>") ? " " : "";
|
|
326
|
-
n += o ===
|
|
326
|
+
n += o === S ? l + mt : h >= 0 ? (i.push(c), l.slice(0, h) + st + l.slice(h) + _ + $) : l + _ + (h === -2 ? a : $);
|
|
327
327
|
}
|
|
328
328
|
return [nt(e, n + (e[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
329
329
|
};
|
|
@@ -347,8 +347,8 @@ class U {
|
|
|
347
347
|
const h = r.textContent.split(_), p = h.length - 1;
|
|
348
348
|
if (p > 0) {
|
|
349
349
|
r.textContent = N ? N.emptyScript : "";
|
|
350
|
-
for (let $ = 0; $ < p; $++) r.append(h[$],
|
|
351
|
-
r.append(h[p],
|
|
350
|
+
for (let $ = 0; $ < p; $++) r.append(h[$], P()), m.nextNode(), l.push({ type: 2, index: ++n });
|
|
351
|
+
r.append(h[p], P());
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
} else if (r.nodeType === 8) if (r.data === it) l.push({ type: 2, index: n });
|
|
@@ -368,7 +368,7 @@ function E(e, t, s = e, i) {
|
|
|
368
368
|
var r, n;
|
|
369
369
|
if (t === y) return t;
|
|
370
370
|
let o = i !== void 0 ? (r = s._$Co) == null ? void 0 : r[i] : s._$Cl;
|
|
371
|
-
const a =
|
|
371
|
+
const a = x(t) ? void 0 : t._$litDirective$;
|
|
372
372
|
return (o == null ? void 0 : o.constructor) !== a && ((n = o == null ? void 0 : o._$AO) == null || n.call(o, !1), a === void 0 ? o = void 0 : (o = new a(e), o._$AT(e, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = o : s._$Cl = o), o !== void 0 && (t = E(e, o._$AS(e, t.values), o, i)), t;
|
|
373
373
|
}
|
|
374
374
|
class At {
|
|
@@ -388,7 +388,7 @@ class At {
|
|
|
388
388
|
for (; l !== void 0; ) {
|
|
389
389
|
if (o === l.index) {
|
|
390
390
|
let c;
|
|
391
|
-
l.type === 2 ? c = new
|
|
391
|
+
l.type === 2 ? c = new b(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new St(n, this, t)), this._$AV.push(c), l = i[++a];
|
|
392
392
|
}
|
|
393
393
|
o !== (l == null ? void 0 : l.index) && (n = m.nextNode(), o++);
|
|
394
394
|
}
|
|
@@ -399,7 +399,7 @@ class At {
|
|
|
399
399
|
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
class
|
|
402
|
+
class b {
|
|
403
403
|
get _$AU() {
|
|
404
404
|
var t;
|
|
405
405
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -419,7 +419,7 @@ class x {
|
|
|
419
419
|
return this._$AB;
|
|
420
420
|
}
|
|
421
421
|
_$AI(t, s = this) {
|
|
422
|
-
t = E(this, t, s),
|
|
422
|
+
t = E(this, t, s), x(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== y && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : vt(t) ? this.k(t) : this._(t);
|
|
423
423
|
}
|
|
424
424
|
O(t) {
|
|
425
425
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -428,7 +428,7 @@ class x {
|
|
|
428
428
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
429
429
|
}
|
|
430
430
|
_(t) {
|
|
431
|
-
this._$AH !== u &&
|
|
431
|
+
this._$AH !== u && x(this._$AH) ? this._$AA.nextSibling.data = t : this.T(v.createTextNode(t)), this._$AH = t;
|
|
432
432
|
}
|
|
433
433
|
$(t) {
|
|
434
434
|
var s;
|
|
@@ -444,10 +444,10 @@ class x {
|
|
|
444
444
|
return s === void 0 && Q.set(t.strings, s = new U(t)), s;
|
|
445
445
|
}
|
|
446
446
|
k(t) {
|
|
447
|
-
|
|
447
|
+
j(this._$AH) || (this._$AH = [], this._$AR());
|
|
448
448
|
const s = this._$AH;
|
|
449
449
|
let i, r = 0;
|
|
450
|
-
for (const n of t) r === s.length ? s.push(i = new
|
|
450
|
+
for (const n of t) r === s.length ? s.push(i = new b(this.O(P()), this.O(P()), this, this.options)) : i = s[r], i._$AI(n), r++;
|
|
451
451
|
r < s.length && (this._$AR(i && i._$AB.nextSibling, r), s.length = r);
|
|
452
452
|
}
|
|
453
453
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
@@ -475,11 +475,11 @@ class H {
|
|
|
475
475
|
_$AI(t, s = this, i, r) {
|
|
476
476
|
const n = this.strings;
|
|
477
477
|
let o = !1;
|
|
478
|
-
if (n === void 0) t = E(this, t, s, 0), o = !
|
|
478
|
+
if (n === void 0) t = E(this, t, s, 0), o = !x(t) || t !== this._$AH && t !== y, o && (this._$AH = t);
|
|
479
479
|
else {
|
|
480
480
|
const a = t;
|
|
481
481
|
let l, c;
|
|
482
|
-
for (t = n[0], l = 0; l < n.length - 1; l++) c = E(this, a[i + l], s, l), c === y && (c = this._$AH[l]), o || (o = !
|
|
482
|
+
for (t = n[0], l = 0; l < n.length - 1; l++) c = E(this, a[i + l], s, l), c === y && (c = this._$AH[l]), o || (o = !x(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + n[l + 1]), this._$AH[l] = c;
|
|
483
483
|
}
|
|
484
484
|
o && !r && this.j(t);
|
|
485
485
|
}
|
|
@@ -528,14 +528,14 @@ class St {
|
|
|
528
528
|
E(this, t);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
const X = M.litHtmlPolyfillSupport;
|
|
532
|
-
X == null || X(U,
|
|
531
|
+
const Dt = { I: b }, X = M.litHtmlPolyfillSupport;
|
|
532
|
+
X == null || X(U, b), (M.litHtmlVersions ?? (M.litHtmlVersions = [])).push("3.2.1");
|
|
533
533
|
const wt = (e, t, s) => {
|
|
534
534
|
const i = (s == null ? void 0 : s.renderBefore) ?? t;
|
|
535
535
|
let r = i._$litPart$;
|
|
536
536
|
if (r === void 0) {
|
|
537
537
|
const n = (s == null ? void 0 : s.renderBefore) ?? null;
|
|
538
|
-
i._$litPart$ = r = new
|
|
538
|
+
i._$litPart$ = r = new b(t.insertBefore(P(), n), n, void 0, s ?? {});
|
|
539
539
|
}
|
|
540
540
|
return r._$AI(e), r;
|
|
541
541
|
};
|
|
@@ -544,7 +544,7 @@ const wt = (e, t, s) => {
|
|
|
544
544
|
* Copyright 2017 Google LLC
|
|
545
545
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
546
546
|
*/
|
|
547
|
-
let
|
|
547
|
+
let C = class extends g {
|
|
548
548
|
constructor() {
|
|
549
549
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
550
550
|
}
|
|
@@ -570,16 +570,16 @@ let w = class extends g {
|
|
|
570
570
|
}
|
|
571
571
|
};
|
|
572
572
|
var Y;
|
|
573
|
-
|
|
573
|
+
C._$litElement$ = !0, C.finalized = !0, (Y = globalThis.litElementHydrateSupport) == null || Y.call(globalThis, { LitElement: C });
|
|
574
574
|
const tt = globalThis.litElementPolyfillSupport;
|
|
575
|
-
tt == null || tt({ LitElement:
|
|
575
|
+
tt == null || tt({ LitElement: C });
|
|
576
576
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
577
577
|
/**
|
|
578
578
|
* @license
|
|
579
579
|
* Copyright 2017 Google LLC
|
|
580
580
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
581
581
|
*/
|
|
582
|
-
const Ct = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged:
|
|
582
|
+
const Ct = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged: L }, Pt = (e = Ct, t, s) => {
|
|
583
583
|
const { kind: i, metadata: r } = s;
|
|
584
584
|
let n = globalThis.litPropertyMetadata.get(r);
|
|
585
585
|
if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(s.name, e), i === "accessor") {
|
|
@@ -600,18 +600,18 @@ const Ct = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged:
|
|
|
600
600
|
}
|
|
601
601
|
throw Error("Unsupported decorator location: " + i);
|
|
602
602
|
};
|
|
603
|
-
function
|
|
603
|
+
function xt(e) {
|
|
604
604
|
return (t, s) => typeof s == "object" ? Pt(e, t, s) : ((i, r, n) => {
|
|
605
605
|
const o = r.hasOwnProperty(n);
|
|
606
606
|
return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
|
|
607
607
|
})(e, t, s);
|
|
608
608
|
}
|
|
609
|
-
const k = /* @__PURE__ */ new Set(),
|
|
609
|
+
const k = /* @__PURE__ */ new Set(), Ut = () => {
|
|
610
610
|
const e = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
|
611
611
|
k.forEach((t) => {
|
|
612
612
|
t.setAttribute("dir", e);
|
|
613
613
|
});
|
|
614
|
-
}, Ot = new MutationObserver(
|
|
614
|
+
}, Ot = new MutationObserver(Ut);
|
|
615
615
|
Ot.observe(document.documentElement, {
|
|
616
616
|
attributes: !0,
|
|
617
617
|
attributeFilter: ["dir"]
|
|
@@ -671,7 +671,7 @@ function Rt(e) {
|
|
|
671
671
|
}
|
|
672
672
|
return t;
|
|
673
673
|
}
|
|
674
|
-
class
|
|
674
|
+
class Lt extends Rt(C) {
|
|
675
675
|
}
|
|
676
676
|
/*! * Lucero - The design system for Luzmo.
|
|
677
677
|
*
|
|
@@ -695,7 +695,16 @@ var Mt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, Ht = (e, t
|
|
|
695
695
|
(o = e[n]) && (r = o(t, s, r) || r);
|
|
696
696
|
return r && Mt(t, s, r), r;
|
|
697
697
|
};
|
|
698
|
-
|
|
698
|
+
const jt = {
|
|
699
|
+
xxs: "xxs",
|
|
700
|
+
xs: "xs",
|
|
701
|
+
s: "s",
|
|
702
|
+
m: "m",
|
|
703
|
+
l: "l",
|
|
704
|
+
xl: "xl",
|
|
705
|
+
xxl: "xxl"
|
|
706
|
+
};
|
|
707
|
+
function It(e, {
|
|
699
708
|
validSizes: t = ["s", "m", "l", "xl"],
|
|
700
709
|
noDefaultSize: s,
|
|
701
710
|
defaultSize: i = "m"
|
|
@@ -719,7 +728,7 @@ function jt(e, {
|
|
|
719
728
|
}
|
|
720
729
|
}
|
|
721
730
|
return Ht([
|
|
722
|
-
|
|
731
|
+
xt({ type: String })
|
|
723
732
|
], r.prototype, "size"), r;
|
|
724
733
|
}
|
|
725
734
|
/*! * Lucero - The design system for Luzmo.
|
|
@@ -744,16 +753,19 @@ function jt(e, {
|
|
|
744
753
|
* Copyright 2017 Google LLC
|
|
745
754
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
746
755
|
*/
|
|
747
|
-
const
|
|
756
|
+
const Bt = (e, t, s) => (s.configurable = !0, s.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, s), s);
|
|
748
757
|
export {
|
|
749
|
-
|
|
758
|
+
Lt as I,
|
|
759
|
+
Dt as L,
|
|
760
|
+
C as P,
|
|
750
761
|
zt as R,
|
|
751
762
|
at as a,
|
|
763
|
+
jt as b,
|
|
752
764
|
u as d,
|
|
753
765
|
kt as k,
|
|
754
|
-
|
|
755
|
-
|
|
766
|
+
It as m,
|
|
767
|
+
Bt as o,
|
|
756
768
|
y as v,
|
|
757
769
|
wt as w,
|
|
758
|
-
|
|
770
|
+
xt as z
|
|
759
771
|
};
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
* @license
|
|
38
38
|
* Copyright 2019 Google LLC
|
|
39
39
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
40
|
-
*/const T=globalThis,D=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,et=Symbol(),
|
|
40
|
+
*/const T=globalThis,D=T.ShadowRoot&&(T.ShadyCSS===void 0||T.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,et=Symbol(),I=new WeakMap;let ct=class{constructor(e,t,s){if(this._$cssResult$=!0,s!==et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(D&&e===void 0){const s=t!==void 0&&t.length===1;s&&(e=I.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&I.set(t,e))}return e}toString(){return this.cssText}};const st=e=>new ct(typeof e=="string"?e:e+"",void 0,et),dt=(e,t)=>{if(D)e.adoptedStyleSheets=t.map(s=>s instanceof CSSStyleSheet?s:s.styleSheet);else for(const s of t){const i=document.createElement("style"),r=T.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=s.cssText,e.appendChild(i)}},B=D?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let s="";for(const i of t.cssRules)s+=i.cssText;return st(s)})(e):e;/**
|
|
41
41
|
* @license
|
|
42
42
|
* Copyright 2017 Google LLC
|
|
43
43
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
44
|
-
*/const{is:ut,defineProperty:pt,getOwnPropertyDescriptor:$t,getOwnPropertyNames:_t,getOwnPropertySymbols:ft,getPrototypeOf:mt}=Object,
|
|
44
|
+
*/const{is:ut,defineProperty:pt,getOwnPropertyDescriptor:$t,getOwnPropertyNames:_t,getOwnPropertySymbols:ft,getPrototypeOf:mt}=Object,E=globalThis,V=E.trustedTypes,vt=V?V.emptyScript:"",W=E.reactiveElementPolyfillSupport,P=(e,t)=>e,R={toAttribute(e,t){switch(t){case Boolean:e=e?vt:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let s=e;switch(t){case Boolean:s=e!==null;break;case Number:s=e===null?null:Number(e);break;case Object:case Array:try{s=JSON.parse(e)}catch{s=null}}return s}},L=(e,t)=>!ut(e,t),q={attribute:!0,type:String,converter:R,reflect:!1,hasChanged:L};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),E.litPropertyMetadata??(E.litPropertyMetadata=new WeakMap);let A=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=q){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(e,s,t);i!==void 0&&pt(this.prototype,e,i)}}static getPropertyDescriptor(e,t,s){const{get:i,set:r}=$t(this.prototype,e)??{get(){return this[t]},set(n){this[t]=n}};return{get(){return i==null?void 0:i.call(this)},set(n){const o=i==null?void 0:i.call(this);r.call(this,n),this.requestUpdate(e,o,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??q}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;const e=mt(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){const t=this.properties,s=[..._t(t),...ft(t)];for(const i of s)this.createProperty(i,t[i])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[s,i]of t)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const s=new Set(e.flat(1/0).reverse());for(const i of s)t.unshift(B(i))}else e!==void 0&&t.push(B(e));return t}static _$Eu(e,t){const s=t.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const s of t.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return dt(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostConnected)==null?void 0:s.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostDisconnected)==null?void 0:s.call(t)})}attributeChangedCallback(e,t,s){this._$AK(e,s)}_$EC(e,t){var s;const i=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,i);if(r!==void 0&&i.reflect===!0){const n=(((s=i.converter)==null?void 0:s.toAttribute)!==void 0?i.converter:R).toAttribute(t,i.type);this._$Em=e,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(e,t){var s;const i=this.constructor,r=i._$Eh.get(e);if(r!==void 0&&this._$Em!==r){const n=i.getPropertyOptions(r),o=typeof n.converter=="function"?{fromAttribute:n.converter}:((s=n.converter)==null?void 0:s.fromAttribute)!==void 0?n.converter:R;this._$Em=r,this[r]=o.fromAttribute(t,n.type),this._$Em=null}}requestUpdate(e,t,s){if(e!==void 0){if(s??(s=this.constructor.getPropertyOptions(e)),!(s.hasChanged??L)(this[e],t))return;this.P(e,t,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,s){this._$AL.has(e)||this._$AL.set(e,t),s.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[r,n]of i)n.wrapped!==!0||this._$AL.has(r)||this[r]===void 0||this.P(r,this[r],n)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),(e=this._$EO)==null||e.forEach(i=>{var r;return(r=i.hostUpdate)==null?void 0:r.call(i)}),this.update(s)):this._$EU()}catch(i){throw t=!1,this._$EU(),i}t&&this._$AE(s)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[P("elementProperties")]=new Map,A[P("finalized")]=new Map,W==null||W({ReactiveElement:A}),(E.reactiveElementVersions??(E.reactiveElementVersions=[])).push("2.0.4");/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2017 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
|
-
*/const M=globalThis,N=M.trustedTypes,F=N?N.createPolicy("lit-html",{createHTML:e=>e}):void 0,it="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,rt="?"+_,gt=`<${rt}>`,v=document,C=()=>v.createComment(""),
|
|
49
|
-
\f\r]`,
|
|
50
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,G=/"/g,ot=/^(?:script|style|textarea|title)$/i,nt=e=>(t,...s)=>({_$litType$:e,strings:t,values:s}),yt=nt(1),Et=nt(2),g=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Q=new WeakMap,m=v.createTreeWalker(v,129);function lt(e,t){if(!
|
|
48
|
+
*/const M=globalThis,N=M.trustedTypes,F=N?N.createPolicy("lit-html",{createHTML:e=>e}):void 0,it="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,rt="?"+_,gt=`<${rt}>`,v=document,C=()=>v.createComment(""),x=e=>e===null||typeof e!="object"&&typeof e!="function",j=Array.isArray,At=e=>j(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",z=`[
|
|
49
|
+
\f\r]`,w=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,J=/>/g,f=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
|
|
50
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,G=/"/g,ot=/^(?:script|style|textarea|title)$/i,nt=e=>(t,...s)=>({_$litType$:e,strings:t,values:s}),yt=nt(1),Et=nt(2),g=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Q=new WeakMap,m=v.createTreeWalker(v,129);function lt(e,t){if(!j(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return F!==void 0?F.createHTML(t):t}const bt=(e,t)=>{const s=e.length-1,i=[];let r,n=t===2?"<svg>":t===3?"<math>":"",o=w;for(let h=0;h<s;h++){const l=e[h];let c,u,a=-1,p=0;for(;p<l.length&&(o.lastIndex=p,u=o.exec(l),u!==null);)p=o.lastIndex,o===w?u[1]==="!--"?o=Z:u[1]!==void 0?o=J:u[2]!==void 0?(ot.test(u[2])&&(r=RegExp("</"+u[2],"g")),o=f):u[3]!==void 0&&(o=f):o===f?u[0]===">"?(o=r??w,a=-1):u[1]===void 0?a=-2:(a=o.lastIndex-u[2].length,c=u[1],o=u[3]===void 0?f:u[3]==='"'?G:K):o===G||o===K?o=f:o===Z||o===J?o=w:(o=f,r=void 0);const $=o===f&&e[h+1].startsWith("/>")?" ":"";n+=o===w?l+gt:a>=0?(i.push(c),l.slice(0,a)+it+l.slice(a)+_+$):l+_+(a===-2?h:$)}return[lt(e,n+(e[s]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class U{constructor({strings:t,_$litType$:s},i){let r;this.parts=[];let n=0,o=0;const h=t.length-1,l=this.parts,[c,u]=bt(t,s);if(this.el=U.createElement(c,i),m.currentNode=this.el.content,s===2||s===3){const a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(r=m.nextNode())!==null&&l.length<h;){if(r.nodeType===1){if(r.hasAttributes())for(const a of r.getAttributeNames())if(a.endsWith(it)){const p=u[o++],$=r.getAttribute(a).split(_),O=/([.?@])?(.*)/.exec(p);l.push({type:1,index:n,name:O[2],strings:$,ctor:O[1]==="."?wt:O[1]==="?"?Pt:O[1]==="@"?Ct:H}),r.removeAttribute(a)}else a.startsWith(_)&&(l.push({type:6,index:n}),r.removeAttribute(a));if(ot.test(r.tagName)){const a=r.textContent.split(_),p=a.length-1;if(p>0){r.textContent=N?N.emptyScript:"";for(let $=0;$<p;$++)r.append(a[$],C()),m.nextNode(),l.push({type:2,index:++n});r.append(a[p],C())}}}else if(r.nodeType===8)if(r.data===rt)l.push({type:2,index:n});else{let a=-1;for(;(a=r.data.indexOf(_,a+1))!==-1;)l.push({type:7,index:n}),a+=_.length-1}n++}}static createElement(t,s){const i=v.createElement("template");return i.innerHTML=t,i}}function b(e,t,s=e,i){var r,n;if(t===g)return t;let o=i!==void 0?(r=s._$Co)==null?void 0:r[i]:s._$Cl;const h=x(t)?void 0:t._$litDirective$;return(o==null?void 0:o.constructor)!==h&&((n=o==null?void 0:o._$AO)==null||n.call(o,!1),h===void 0?o=void 0:(o=new h(e),o._$AT(e,s,i)),i!==void 0?(s._$Co??(s._$Co=[]))[i]=o:s._$Cl=o),o!==void 0&&(t=b(e,o._$AS(e,t.values),o,i)),t}class St{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:s},parts:i}=this._$AD,r=((t==null?void 0:t.creationScope)??v).importNode(s,!0);m.currentNode=r;let n=m.nextNode(),o=0,h=0,l=i[0];for(;l!==void 0;){if(o===l.index){let c;l.type===2?c=new S(n,n.nextSibling,this,t):l.type===1?c=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(c=new xt(n,this,t)),this._$AV.push(c),l=i[++h]}o!==(l==null?void 0:l.index)&&(n=m.nextNode(),o++)}return m.currentNode=v,r}p(t){let s=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class S{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,s,i,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=r,this._$Cv=(r==null?void 0:r.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return s!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=b(this,t,s),x(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==g&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):At(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&x(this._$AH)?this._$AA.nextSibling.data=t:this.T(v.createTextNode(t)),this._$AH=t}$(t){var s;const{values:i,_$litType$:r}=t,n=typeof r=="number"?this._$AC(t):(r.el===void 0&&(r.el=U.createElement(lt(r.h,r.h[0]),this.options)),r);if(((s=this._$AH)==null?void 0:s._$AD)===n)this._$AH.p(i);else{const o=new St(n,this),h=o.u(this.options);o.p(i),this.T(h),this._$AH=o}}_$AC(t){let s=Q.get(t.strings);return s===void 0&&Q.set(t.strings,s=new U(t)),s}k(t){j(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,r=0;for(const n of t)r===s.length?s.push(i=new S(this.O(C()),this.O(C()),this,this.options)):i=s[r],i._$AI(n),r++;r<s.length&&(this._$AR(i&&i._$AB.nextSibling,r),s.length=r)}_$AR(t=this._$AA.nextSibling,s){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,s);t&&t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var s;this._$AM===void 0&&(this._$Cv=t,(s=this._$AP)==null||s.call(this,t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=s,this._$AM=r,this.options=n,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=d}_$AI(t,s=this,i,r){const n=this.strings;let o=!1;if(n===void 0)t=b(this,t,s,0),o=!x(t)||t!==this._$AH&&t!==g,o&&(this._$AH=t);else{const h=t;let l,c;for(t=n[0],l=0;l<n.length-1;l++)c=b(this,h[i+l],s,l),c===g&&(c=this._$AH[l]),o||(o=!x(c)||c!==this._$AH[l]),c===d?t=d:t!==d&&(t+=(c??"")+n[l+1]),this._$AH[l]=c}o&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class wt extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}}class Pt extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}}class Ct extends H{constructor(t,s,i,r,n){super(t,s,i,r,n),this.type=5}_$AI(t,s=this){if((t=b(this,t,s,0)??d)===g)return;const i=this._$AH,r=t===d&&i!==d||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==d&&(i===d||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var s;typeof this._$AH=="function"?this._$AH.call(((s=this.options)==null?void 0:s.host)??this.element,t):this._$AH.handleEvent(t)}}class xt{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){b(this,t)}}const Ut={I:S},X=M.litHtmlPolyfillSupport;X==null||X(U,S),(M.litHtmlVersions??(M.litHtmlVersions=[])).push("3.2.1");const ht=(e,t,s)=>{const i=(s==null?void 0:s.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const n=(s==null?void 0:s.renderBefore)??null;i._$litPart$=r=new S(t.insertBefore(C(),n),n,void 0,s??{})}return r._$AI(e),r};/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2017 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*/let
|
|
54
|
+
*/let y=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ht(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return g}};var Y;y._$litElement$=!0,y.finalized=!0,(Y=globalThis.litElementHydrateSupport)==null||Y.call(globalThis,{LitElement:y});const tt=globalThis.litElementPolyfillSupport;tt==null||tt({LitElement:y});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const
|
|
58
|
+
*/const Ot={attribute:!0,type:String,converter:R,reflect:!1,hasChanged:L},Tt=(e=Ot,t,s)=>{const{kind:i,metadata:r}=s;let n=globalThis.litPropertyMetadata.get(r);if(n===void 0&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(s.name,e),i==="accessor"){const{name:o}=s;return{set(h){const l=t.get.call(this);t.set.call(this,h),this.requestUpdate(o,l,e)},init(h){return h!==void 0&&this.P(o,void 0,e),h}}}if(i==="setter"){const{name:o}=s;return function(h){const l=this[o];t.call(this,h),this.requestUpdate(o,l,e)}}throw Error("Unsupported decorator location: "+i)};function at(e){return(t,s)=>typeof s=="object"?Tt(e,t,s):((i,r,n)=>{const o=r.hasOwnProperty(n);return r.constructor.createProperty(n,o?{...i,wrapped:!0}:i),o?Object.getOwnPropertyDescriptor(r,n):void 0})(e,t,s)}const k=new Set,Rt=()=>{const e=document.documentElement.dir==="rtl"?document.documentElement.dir:"ltr";k.forEach(t=>{t.setAttribute("dir",e)})},Mt=new MutationObserver(Rt);Mt.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Nt=e=>e.startManagingContentDirection!==void 0||e.tagName==="LUZMO-THEME";function Ht(e){class t extends e{get isLTR(){return this.dir==="ltr"}hasVisibleFocusInTree(){const i=((r=document)=>{var n;let o=r.activeElement;for(;o!=null&&o.shadowRoot&&o.shadowRoot.activeElement;)o=o.shadowRoot.activeElement;const h=o?[o]:[];for(;o;){const l=o.assignedSlot||o.parentElement||((n=o.getRootNode())==null?void 0:n.host);l&&h.push(l),o=l}return h})(this.getRootNode())[0];if(!i)return!1;try{return i.matches(":focus-visible")||i.matches(".focus-visible")}catch{return i.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let i=this.assignedSlot||this.parentNode;for(;i!==document.documentElement&&!Nt(i);)i=i.assignedSlot||i.parentNode||i.host;if(this.dir=i.dir==="rtl"?i.dir:this.dir||"ltr",i===document.documentElement)k.add(this);else{const{localName:r}=i;r.search("-")>-1&&!customElements.get(r)?customElements.whenDefined(r).then(()=>{i.startManagingContentDirection(this)}):i.startManagingContentDirection(this)}this._dirParent=i}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?k.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}return t}class zt extends Ht(y){}/*! * Lucero - The design system for Luzmo.
|
|
59
59
|
*
|
|
60
60
|
* Copyright © 2025 Luzmo
|
|
61
61
|
* All rights reserved.
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
72
72
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
73
73
|
* SOFTWARE.
|
|
74
|
-
* */var
|
|
74
|
+
* */var kt=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,Lt=(e,t,s,i)=>{for(var r=Dt(t,s),n=e.length-1,o;n>=0;n--)(o=e[n])&&(r=o(t,s,r)||r);return r&&kt(t,s,r),r};const jt={xxs:"xxs",xs:"xs",s:"s",m:"m",l:"l",xl:"xl",xxl:"xxl"};function It(e,{validSizes:t=["s","m","l","xl"],noDefaultSize:s,defaultSize:i="m"}={}){class r extends e{constructor(){super(...arguments),this._size=i}get size(){return this._size||i}set size(o){const h=s?null:i,l=o&&o.toLocaleLowerCase(),c=t.includes(l)?l:h;if(c&&this.setAttribute("size",c),this._size===c)return;const u=this._size;this._size=c,this.requestUpdate("size",u)}update(o){!this.hasAttribute("size")&&!s&&this.setAttribute("size",this.size),super.update(o)}}return Lt([at({type:String})],r.prototype,"size"),r}/*! * Lucero - The design system for Luzmo.
|
|
75
75
|
*
|
|
76
76
|
* Copyright © 2025 Luzmo
|
|
77
77
|
* All rights reserved.
|
|
@@ -91,4 +91,4 @@
|
|
|
91
91
|
* @license
|
|
92
92
|
* Copyright 2017 Google LLC
|
|
93
93
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
94
|
-
*/const
|
|
94
|
+
*/const Bt=(e,t,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,s),s);exports.It=zt;exports.Lt=Ut;exports.P=y;exports.Rt=yt;exports.at=st;exports.d=d;exports.d$1=jt;exports.kt=Et;exports.m=It;exports.o=Bt;exports.v=g;exports.wt=ht;exports.zt=at;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
"use strict";const s=require("./base-D76d76ww-
|
|
20
|
+
"use strict";const s=require("./base-D76d76ww-tT6yr8eb.cjs"),c=require("./if-defined-DOaE2coe-Cvlu5s9n.cjs"),u=require("./focusable-BxtpnzWp-CkK9AeMt.cjs"),h=require("./observe-slot-text-BPfIQQtz-DHOh38Ve.cjs");/*! * Lucero - The design system for Luzmo.
|
|
21
21
|
*
|
|
22
22
|
* Copyright © 2025 Luzmo
|
|
23
23
|
* All rights reserved.
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
`]}handleClickCapture(e){if(this.disabled)return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let e=!1;if(this.anchorElement)this.anchorElement.click(),e=!0;else if(this.type!=="button"){const t=document.createElement("button");t.type=this.type,this.insertAdjacentElement("afterend",t),t.click(),t.remove(),e=!0}return e}renderAnchor(){return s.Rt`
|
|
41
41
|
${this.buttonContent}
|
|
42
42
|
${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
|
|
43
|
-
`}renderButton(){return s.Rt` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(e){const{code:t}=e;switch(t){case"Space":{e.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(e){const{code:t}=e;switch(t){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(e){const{code:t}=e;switch(t){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(e){super.updated(e),e.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(e){super.update(e),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}a([s.
|
|
43
|
+
`}renderButton(){return s.Rt` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(e){const{code:t}=e;switch(t){case"Space":{e.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(e){const{code:t}=e;switch(t){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(e){const{code:t}=e;switch(t){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(e){super.updated(e),e.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(e){super.update(e),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}a([s.zt({type:Boolean,reflect:!0})],n.prototype,"active");a([s.zt({type:String})],n.prototype,"type");a([c.d(".anchor")],n.prototype,"anchorElement");exports.a=n;
|
|
@@ -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 { a as c, R as i,
|
|
21
|
-
import { d as u } from "./if-defined-
|
|
22
|
-
import { r as p } from "./focusable-
|
|
23
|
-
import { y as d, b } from "./observe-slot-text-
|
|
20
|
+
import { a as c, R as i, z as h } from "./base-D76d76ww-BGkuhs54.js";
|
|
21
|
+
import { d as u } from "./if-defined-DOaE2coe-CNT45Xcl.js";
|
|
22
|
+
import { r as p } from "./focusable-BxtpnzWp-DJQkL8Zv.js";
|
|
23
|
+
import { y as d, b } from "./observe-slot-text-BPfIQQtz-v6B-1BYh.js";
|
|
24
24
|
/*! * Lucero - The design system for Luzmo.
|
|
25
25
|
*
|
|
26
26
|
* Copyright © 2025 Luzmo
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
"use strict";const e=require("./luzmo-icons-Nyf1P71v.cjs"),u={array:{s:e.D0,m:e.w0,l:e.x0,xl:e.x0},coordinates:{s:e.A0,m:e.Z0,l:e.u0,xl:e.u0},currency:{s:e.V0,m:e.H0,l:e.p0,xl:e.p0},date:{s:e.a0,m:e.o0,l:e.t,xl:e.t},datetime:{s:e.n0,m:e.z0,l:e.l0,xl:e.l0},duration:{s:e.k0,m:e.S0,l:e.f0,xl:e.f0},hierarchy:{s:e.E0,m:e.P0,l:e.U0,xl:e.U0},image:{s:e.O0,m:e.Q0,l:e.N0,xl:e.N0},numeric:{s:e.X0,m:e.Y0,l:e._0,xl:e._0},time:{s:e.M2,m:e.L2,l:e.r2,xl:e.r2},topography:{s:e.W1,m:e.W1,l:e.W1,xl:e.W1},ipaddress:{s:e.x2,m:e.B2,l:e.F2,xl:e.F2}},n=(r,l="m")=>(r==null?void 0:r.type)==="array"?u.array[l]:(r==null?void 0:r.type)==="image"?u.image[l]:(r==null?void 0:r.type)==="spatial"?(r==null?void 0:r.subtype)==="topography"?u.topography[l]:u.coordinates[l]:(r==null?void 0:r.type)==="numeric"?(r==null?void 0:r.subtype)==="currency"?u.currency[l]:(r==null?void 0:r.subtype)==="duration"?u.duration[l]:u.numeric[l]:(r==null?void 0:r.type)==="datetime"?(r==null?void 0:r.subtype)==="time"?u.time[l]:(r==null?void 0:r.subtype)==="date"?u.date[l]:u.datetime[l]:(r==null?void 0:r.type)==="hierarchy"&&(r==null?void 0:r.subtype)==="ipaddress"?u.ipaddress[l]:u.hierarchy[l];exports.calculateDataItemIcon=n;
|