@luzmo/analytics-components-kit 1.0.1-alpha.5 → 1.0.1-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-C2JoUGYR.cjs} +3 -3
- package/components/{async-directive-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CNTJHpgh.js} +1 -1
- package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-B7v4eeRh-B4fczZlv.js} +3 -3
- package/components/{button-base-CDLQV7Vk-BXgdcJZo.cjs → button-base-B7v4eeRh-CjngVDsD.cjs} +4 -4
- package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-BR4ufh0S.js} +6 -6
- package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-lIHmn1jk.cjs} +4 -4
- package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs} +2 -2
- package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-arNFWD5u.js} +10 -10
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +11 -11
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -2
- package/components/display-settings-binning/index.cjs +5 -5
- package/components/display-settings-binning/index.js +17 -18
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-grand-totals/index.cjs +2 -2
- package/components/display-settings-grand-totals/index.js +12 -12
- package/components/display-settings-numeric/index.cjs +2 -2
- package/components/display-settings-numeric/index.js +36 -36
- package/components/display-settings-period-over-period/index.cjs +5 -5
- package/components/display-settings-period-over-period/index.js +85 -85
- package/components/draggable-data-item/index.cjs +2 -2
- package/components/draggable-data-item/index.js +2 -2
- package/components/draggable-data-item-level/index.cjs +5 -5
- package/components/draggable-data-item-level/index.js +85 -85
- package/components/droppable-slot/index.cjs +4 -4
- package/components/droppable-slot/index.js +8 -8
- package/components/edit-item/index.cjs +7 -7
- package/components/edit-item/index.js +72 -72
- package/components/edit-option/index.cjs +3 -3
- package/components/edit-option/index.js +3 -3
- package/components/edit-option-action-button-group/index.cjs +2 -2
- package/components/edit-option-action-button-group/index.js +37 -37
- package/components/{edit-option-base-DnrerC_T.cjs → edit-option-base-Ck3NFAli.cjs} +2 -2
- package/components/{edit-option-base-oIvlolV9.js → edit-option-base-w3UBiCoU.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +33 -33
- package/components/edit-option-color-picker/index.js +131 -131
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-positions-number-field/index.cjs +3 -3
- package/components/edit-option-positions-number-field/index.js +7 -7
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +3 -3
- package/components/edit-option-slider/index.js +217 -217
- package/components/edit-option-switch/index.cjs +4 -4
- package/components/edit-option-switch/index.js +30 -30
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/{en-GB-g8rSQSba.cjs → en-BvtH5B9A.cjs} +1 -1
- package/components/en-CN4CDOzo.js +23 -0
- package/components/{en-GB-qub-Kemt.js → en-GB-BMvD7axC.js} +1 -1
- package/components/en-GB-DrOGXwdM.cjs +20 -0
- package/components/en-US-BvtH5B9A.cjs +20 -0
- package/components/en-US-CN4CDOzo.js +23 -0
- package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-BSAr_4u4-CNmaFBUP.cjs} +2 -2
- package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-BSAr_4u4-CVDyXUmc.js} +4 -4
- package/components/{if-defined-Ch2dtEOS.js → if-defined-_S7apvH1.js} +1 -1
- package/components/{if-defined-DMSuo5Qx.cjs → if-defined-aQZR75uI.cjs} +1 -1
- package/components/{index-B0cBkCaq.cjs → index-B0ZqIWfU.cjs} +4 -4
- package/components/{index-DQiQXn8N.cjs → index-BEi8DTwW.cjs} +1 -1
- package/components/{index-3ewegRbb.cjs → index-Bti4K2L2.cjs} +4 -4
- package/components/{index-BGaxFTL4.js → index-BuW8doNV.js} +4 -4
- package/components/{index-Bofs4Q2E.cjs → index-BxFGd_xp.cjs} +1 -1
- package/components/{index-liTHhAef.cjs → index-ByfMhxDr.cjs} +2 -2
- package/components/{index-Cp-lHUlX.js → index-C44nA7Wn.js} +3 -3
- package/components/{index-BqTdFs1o.js → index-CHLcEawI.js} +3 -3
- package/components/{index-CTPox3yS.cjs → index-CKbGBBId.cjs} +3 -3
- package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-CMvLpPKD-CgGXdNKs.js} +20 -20
- package/components/{index-C2qG2Sm8-CbVWlbag.cjs → index-CMvLpPKD-DoxJRhRP.cjs} +14 -14
- package/components/index-CQjWiSIp.cjs +202 -0
- package/components/{index-B2N_PZf3.js → index-C_Cxv6xn.js} +4 -4
- package/components/index-C_xCeCrL.cjs +185 -0
- package/components/{index-C_3Ak4MQ.cjs → index-CdHFj3ra.cjs} +5 -5
- package/components/{index-DskAouD-.js → index-Ci0Pe5UA.js} +4 -4
- package/components/{index-CayjvyyX.cjs → index-DC2Pby0z.cjs} +4 -4
- package/components/index-DDleIdd8.cjs +192 -0
- package/components/{index-CtHO6VyI.cjs → index-DLrQ4hc5.cjs} +4 -4
- package/components/{index-BC-nmKjU.js → index-DMbzEC_s.js} +13 -13
- package/components/{index-BRk42NQn.js → index-DUlH3hbL.js} +166 -166
- package/components/{en-BsAhbMzm.js → index-DeyQ1JGg.js} +404 -411
- package/components/{index-B2z7i1-X.js → index-DiSrnT1e.js} +7 -7
- package/components/{index-DVaeDCbe.js → index-Dkom_Qy5.js} +1 -1
- package/components/{index-ON4x-yZ7.cjs → index-DxXcY78P.cjs} +2 -2
- package/components/{index-D9vzXhtJ.cjs → index-EkTLplXl.cjs} +8 -8
- package/components/{index-BD3VxQBH.js → index-FSUV_4nO.js} +1 -1
- package/components/{index-CkDDDzuJ.js → index-Pmv-d4iw.js} +25 -25
- package/components/{index-DszPbTTD.js → index-aLxc3xA_.js} +17 -17
- package/components/{index-EQldC-LR.js → index-dJXOanPE.js} +4 -4
- package/components/{index-gfU9TGd5.cjs → index-f8GtjOLn.cjs} +3 -3
- package/components/{index-B5VaT0lQ.js → index-fbS4OrPM.js} +3 -3
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → language-resolution-8yZa5r_P-CLZhU076.js} +3 -3
- package/components/{language-resolution-8yZa5r_P-DQ3rZzW5.cjs → language-resolution-8yZa5r_P-CpbzT4ej.cjs} +3 -3
- package/components/{observe-slot-text-BG0H7bQK-CrkAqUMj.cjs → observe-slot-text-ggb4kKgY-DqsddtTd.cjs} +4 -4
- package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-yUxhPbbJ.js} +4 -4
- package/components/{popover-bg0EQQ8p-D4-hrhIx.js → popover-DlkzrLpl-DFIvgCjc.js} +3 -3
- package/components/{popover-bg0EQQ8p-Dha09dhV.cjs → popover-DlkzrLpl-TYw7ejnD.cjs} +5 -5
- package/components/{property-CD3dwBJC.js → property-CXJD1jOW.js} +661 -628
- package/components/property-ChsOQ1Yj.cjs +112 -0
- package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → sized-mixin-BxMraZLS-Dc6r-Wg4.js} +1 -1
- package/components/{sized-mixin-PyCYpyQq-sKzDjc75.cjs → sized-mixin-BxMraZLS-w9I35lP7.cjs} +2 -2
- package/components/slot-menu/index.cjs +4 -4
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +19 -19
- package/components/{state-ByiKNRhp.cjs → state-DLrsMPet.cjs} +1 -1
- package/components/{state-B1a8XIDm.js → state-DwFtyqCc.js} +1 -1
- package/components/{task-HFsHfTra.cjs → task-CgK9ztaw.cjs} +1 -1
- package/components/{task-BPD0PyaQ.js → task-DYLITx7R.js} +1 -1
- package/components/{text-field-7ITo3Lac-DqVO04kR.js → text-field-CvKSS59x-BzSqtt2_.js} +29 -29
- package/components/text-field-CvKSS59x-D0MM0fDH.cjs +131 -0
- package/package.json +1 -1
- package/components/en-CdROUdjt.cjs +0 -202
- package/components/index-Bjs6Yqet.cjs +0 -185
- package/components/index-D4x-O9Uc.cjs +0 -192
- package/components/luzmo-icons-BrtBl3E5.cjs +0 -31
- package/components/luzmo-icons-CZEpXpvy.js +0 -613
- package/components/property-Su1Q6aME.cjs +0 -124
- package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
@@ -17,14 +17,14 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import { d as J } from "./if-defined-
|
23
|
-
import { a as D, o as Q, w as oo } from "./async-directive-
|
24
|
-
import { l as eo, u as to, o as ro } from "./language-resolution-8yZa5r_P-
|
25
|
-
import { m as io } from "./sized-mixin-
|
26
|
-
import { a as lo } from "./button-base-
|
27
|
-
import { i as no } from "./text-field-
|
20
|
+
import { luzmoIcon as q, luzmoAngleUp as Y, luzmoAngleDown as G } from "@luzmo/icons";
|
21
|
+
import { h as O, H as F, R as u, d as Z } from "./property-CXJD1jOW.js";
|
22
|
+
import { d as J } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
23
|
+
import { a as D, o as Q, w as oo } from "./async-directive-DWRUSKKF-CNTJHpgh.js";
|
24
|
+
import { l as eo, u as to, o as ro } from "./language-resolution-8yZa5r_P-CLZhU076.js";
|
25
|
+
import { m as io } from "./sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
26
|
+
import { a as lo } from "./button-base-B7v4eeRh-B4fczZlv.js";
|
27
|
+
import { i as no } from "./text-field-CvKSS59x-BzSqtt2_.js";
|
28
28
|
/*! * Lucero - The design system for Luzmo.
|
29
29
|
*
|
30
30
|
* Copyright © 2025 Luzmo
|
@@ -338,31 +338,31 @@ function go(l, o, e, t) {
|
|
338
338
|
roundingIncrement: 1,
|
339
339
|
roundingPriority: "auto",
|
340
340
|
roundingMode: "halfExpand"
|
341
|
-
}), p = d.formatToParts(-10000.111),
|
341
|
+
}), p = d.formatToParts(-10000.111), j = d.formatToParts(10000.111), T = vo.map((a) => d.formatToParts(a));
|
342
342
|
var x;
|
343
|
-
let
|
343
|
+
let U = (x = (r = p.find((a) => a.type === "minusSign")) === null || r === void 0 ? void 0 : r.value) !== null && x !== void 0 ? x : "-", y = (i = j.find((a) => a.type === "plusSign")) === null || i === void 0 ? void 0 : i.value;
|
344
344
|
!y && ((t == null ? void 0 : t.signDisplay) === "exceptZero" || (t == null ? void 0 : t.signDisplay) === "always") && (y = "+");
|
345
|
-
let
|
345
|
+
let B = (n = new Intl.NumberFormat(l, {
|
346
346
|
...e,
|
347
347
|
minimumFractionDigits: 2,
|
348
348
|
maximumFractionDigits: 2
|
349
|
-
}).formatToParts(1e-3).find((a) => a.type === "decimal")) === null || n === void 0 ? void 0 : n.value, H = (s = p.find((a) => a.type === "group")) === null || s === void 0 ? void 0 : s.value, A = p.filter((a) => !$.has(a.type)).map((a) => R(a.value)), L =
|
349
|
+
}).formatToParts(1e-3).find((a) => a.type === "decimal")) === null || n === void 0 ? void 0 : n.value, H = (s = p.find((a) => a.type === "group")) === null || s === void 0 ? void 0 : s.value, A = p.filter((a) => !$.has(a.type)).map((a) => R(a.value)), L = T.flatMap((a) => a.filter((h) => !$.has(h.type)).map((h) => R(h.value))), P = [
|
350
350
|
.../* @__PURE__ */ new Set([
|
351
351
|
...A,
|
352
352
|
...L
|
353
353
|
])
|
354
|
-
].sort((a, h) => h.length - a.length), W =
|
354
|
+
].sort((a, h) => h.length - a.length), W = P.length === 0 ? new RegExp("[\\p{White_Space}]", "gu") : new RegExp(`${P.join("|")}|[\\p{White_Space}]`, "gu"), E = [
|
355
355
|
...new Intl.NumberFormat(e.locale, {
|
356
356
|
useGrouping: !1
|
357
357
|
}).format(9876543210)
|
358
|
-
].reverse(), K = new Map(
|
358
|
+
].reverse(), K = new Map(E.map((a, h) => [
|
359
359
|
a,
|
360
360
|
h
|
361
|
-
])), X = new RegExp(`[${
|
361
|
+
])), X = new RegExp(`[${E.join("")}]`, "g");
|
362
362
|
return {
|
363
|
-
minusSign:
|
363
|
+
minusSign: U,
|
364
364
|
plusSign: y,
|
365
|
-
decimal:
|
365
|
+
decimal: B,
|
366
366
|
group: H,
|
367
367
|
literals: W,
|
368
368
|
numeral: X,
|
@@ -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 {
|
21
|
-
import {
|
22
|
-
import { m as h } from "./sized-mixin-
|
23
|
-
import { a as v } from "./button-base-
|
20
|
+
import { luzmoIcon as b, luzmoCornerTriangle as s } from "@luzmo/icons";
|
21
|
+
import { h as g, H as m, R as a } from "./property-CXJD1jOW.js";
|
22
|
+
import { m as h } from "./sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
23
|
+
import { a as v } from "./button-base-B7v4eeRh-B4fczZlv.js";
|
24
24
|
/*! * Lucero - The design system for Luzmo.
|
25
25
|
*
|
26
26
|
* Copyright © 2025 Luzmo
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const o=require("./property-
|
20
|
+
"use strict";const o=require("./property-ChsOQ1Yj.cjs"),s=require("./sized-mixin-BxMraZLS-w9I35lP7.cjs");require("./index-B0ZqIWfU.cjs");const c=require("./text-field-CvKSS59x-D0MM0fDH.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
|
-
* */const m=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const r=document.createElement("style");r.setAttribute("data-luzmo-vars",""),r.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(r)}};m();const d=":host{display:inline-block}:host luzmo-text-field{width:100%}";var z=Object.defineProperty,l=(r,t,i,p)=>{for(var u=void 0,a=r.length-1,n;a>=0;a--)(n=r[a])&&(u=n(t,i,u)||u);return u&&z(t,i,u),u};class e extends c.u(s.m(o.
|
36
|
+
* */const m=()=>{if(typeof document<"u"&&!document.querySelector("style[data-luzmo-vars]")){const r=document.createElement("style");r.setAttribute("data-luzmo-vars",""),r.textContent='html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}',document.head.appendChild(r)}};m();const d=":host{display:inline-block}:host luzmo-text-field{width:100%}";var z=Object.defineProperty,l=(r,t,i,p)=>{for(var u=void 0,a=r.length-1,n;a>=0;a--)(n=r[a])&&(u=n(t,i,u)||u);return u&&z(t,i,u),u};class e extends c.u(s.m(o.kt,{noDefaultSize:!0})){constructor(){super(...arguments),this.allowedKeys="",this.i18nPlaceholder={},this.type="text",this.grows=!1,this.maxlength=-1,this.minlength=-1,this.multiline=!1,this.rows=-1,this.quiet=!1,this.disabled=!1,this.required=!1,this.readonly=!1,this.language="en",this.defaultLanguage="en",this.value={}}static get styles(){return[o.ht(d)]}get _localizedValue(){const t={...this.value};return t[this.language]??t[this.defaultLanguage]??Object.values(t)[0]??""}get _localizedPlaceholder(){const t={...this.i18nPlaceholder};return t[this.language]??t[this.defaultLanguage]??Object.values(t)[0]??""}handleChange(t){t.stopPropagation(),t.preventDefault();const i=t.target;this.value[this.language]!==i.value&&(this.value={...this.value,[this.language]:i.value},this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.value}})))}render(){return o.Ht`
|
37
37
|
<luzmo-text-field
|
38
38
|
.value=${this._localizedValue}
|
39
39
|
.size=${this.size}
|
@@ -54,4 +54,4 @@
|
|
54
54
|
@input=${this.handleChange}
|
55
55
|
@change=${this.handleChange}
|
56
56
|
></luzmo-text-field>
|
57
|
-
`}}l([o.
|
57
|
+
`}}l([o.Rt({attribute:"allowed-keys"})],e.prototype,"allowedKeys");l([o.Rt({type:String,reflect:!0})],e.prototype,"name");l([o.Rt({type:Object,attribute:"i18n-placeholder"})],e.prototype,"i18nPlaceholder");l([o.Rt({attribute:"type",reflect:!0})],e.prototype,"type");l([o.Rt()],e.prototype,"pattern");l([o.Rt({type:Boolean,reflect:!0})],e.prototype,"grows");l([o.Rt({type:Number})],e.prototype,"maxlength");l([o.Rt({type:Number})],e.prototype,"minlength");l([o.Rt({type:Boolean,reflect:!0})],e.prototype,"multiline");l([o.Rt({type:Number})],e.prototype,"rows");l([o.Rt({type:Boolean,reflect:!0})],e.prototype,"quiet");l([o.Rt({type:Boolean,reflect:!0})],e.prototype,"disabled");l([o.Rt({type:Boolean,reflect:!0})],e.prototype,"required");l([o.Rt({type:Boolean,reflect:!0})],e.prototype,"readonly");l([o.Rt({type:String,reflect:!0})],e.prototype,"autocomplete");l([o.Rt({type:String,reflect:!0})],e.prototype,"language");l([o.Rt({type:String,reflect:!0})],e.prototype,"defaultLanguage");l([o.Rt({type:Object,reflect:!0})],e.prototype,"value");customElements.get("luzmo-multi-language-field")||customElements.define("luzmo-multi-language-field",e);
|
@@ -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 {
|
21
|
-
import { d as g } from "./if-defined-
|
20
|
+
import { k as u, h as c, d as f, H as s, R as d } from "./property-CXJD1jOW.js";
|
21
|
+
import { d as g } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
22
22
|
import { d as z, u as b, c as h, n as p, h as v } from "./element-resolution-FCUT-wql--7ctE626.js";
|
23
|
-
import { m as x } from "./sized-mixin-
|
23
|
+
import { m as x } from "./sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
24
24
|
/*! * Lucero - The design system for Luzmo.
|
25
25
|
*
|
26
26
|
* Copyright © 2025 Luzmo
|
package/components/index.cjs
CHANGED
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./display-settings/index.cjs"),t=require("./display-settings-binning/index.cjs"),e=require("./
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./display-settings/index.cjs"),t=require("./display-settings-binning/index.cjs"),e=require("./index-CQjWiSIp.cjs"),o=require("./display-settings-grand-totals/index.cjs"),n=require("./display-settings-numeric/index.cjs"),u=require("./display-settings-period-over-period/index.cjs"),r=require("./draggable-data-item/index.cjs"),d=require("./draggable-data-item-level/index.cjs"),s=require("./droppable-slot/index.cjs"),m=require("./edit-item/index.cjs"),l=require("./edit-option/index.cjs"),p=require("./edit-option-action-button-group/index.cjs"),a=require("./edit-option-color-picker/index.cjs"),L=require("./edit-option-multi-language-field/index.cjs"),z=require("./edit-option-number-field/index.cjs"),c=require("./edit-option-picker/index.cjs"),g=require("./edit-option-positions-number-field/index.cjs"),O=require("./edit-option-radio-button-group/index.cjs"),S=require("./edit-option-slider/index.cjs"),D=require("./edit-option-switch/index.cjs"),x=require("./edit-option-text-field/index.cjs"),E=require("./slot-menu/index.cjs"),q=require("./slot-menu-list/index.cjs");exports.LuzmoDisplaySettings=i.LuzmoDisplaySettings;exports.LuzmoDisplaySettingsBinning=t.LuzmoDisplaySettingsBinning;exports.LuzmoDisplaySettingsDatetime=e.LuzmoDisplaySettingsDatetime;exports.LuzmoDisplaySettingsGrandTotals=o.LuzmoDisplaySettingsGrandTotals;exports.LuzmoDisplaySettingsNumeric=n.LuzmoDisplaySettingsNumeric;exports.LuzmoDisplaySettingsPeriodOverPeriod=u.LuzmoDisplaySettingsPeriodOverPeriod;exports.LuzmoDraggableDataItem=r.LuzmoDraggableDataItem;exports.LuzmoDraggableDataItemLevel=d.LuzmoDraggableDataItemLevel;exports.LuzmoDroppableSlot=s.LuzmoDroppableSlot;exports.LuzmoEditItem=m.LuzmoEditItem;exports.LuzmoEditOption=l.LuzmoEditOption;exports.LuzmoEditOptionActionButtonGroup=p.LuzmoEditOptionActionButtonGroup;exports.LuzmoEditOptionColorPicker=a.LuzmoEditOptionColorPicker;exports.LuzmoEditOptionMultiLangField=L.LuzmoEditOptionMultiLangField;exports.LuzmoEditOptionNumberField=z.LuzmoEditOptionNumberField;exports.LuzmoEditOptionPicker=c.LuzmoEditOptionPicker;exports.LuzmoEditOptionPositionsNumberField=g.LuzmoEditOptionPositionsNumberField;exports.LuzmoEditOptionRadioButtonGroup=O.LuzmoEditOptionRadioButtonGroup;exports.LuzmoEditOptionSlider=S.LuzmoEditOptionSlider;exports.LuzmoEditOptionSwitch=D.LuzmoEditOptionSwitch;exports.LuzmoEditOptionTextField=x.LuzmoEditOptionTextField;exports.LuzmoSlotMenu=E.LuzmoSlotMenu;exports.LuzmoSlotMenuList=q.LuzmoSlotMenuList;
|
package/components/index.js
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
* */
|
20
20
|
import { LuzmoDisplaySettings as m } from "./display-settings/index.js";
|
21
21
|
import { LuzmoDisplaySettingsBinning as t } from "./display-settings-binning/index.js";
|
22
|
-
import { L as z } from "./
|
22
|
+
import { L as z } from "./index-DeyQ1JGg.js";
|
23
23
|
import { LuzmoDisplaySettingsGrandTotals as c } from "./display-settings-grand-totals/index.js";
|
24
24
|
import { LuzmoDisplaySettingsNumeric as a } from "./display-settings-numeric/index.js";
|
25
25
|
import { LuzmoDisplaySettingsPeriodOverPeriod as s } from "./display-settings-period-over-period/index.js";
|
@@ -17,9 +17,9 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import { C as l } from "./async-directive-
|
22
|
-
import { _ as o } from "./directive-helpers-
|
20
|
+
import { d } from "./property-CXJD1jOW.js";
|
21
|
+
import { C as l } from "./async-directive-DWRUSKKF-CNTJHpgh.js";
|
22
|
+
import { _ as o } from "./directive-helpers-nlQRAaQt-arNFWD5u.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
24
24
|
*
|
25
25
|
* Copyright © 2025 Luzmo
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const l=require("./property-
|
20
|
+
"use strict";const l=require("./property-ChsOQ1Yj.cjs"),o=require("./async-directive-DWRUSKKF-C2JoUGYR.cjs"),m=require("./directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs");/*! * Lucero - The design system for Luzmo.
|
21
21
|
*
|
22
22
|
* Copyright © 2025 Luzmo
|
23
23
|
* All rights reserved.
|
@@ -33,7 +33,7 @@
|
|
33
33
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35
35
|
* SOFTWARE.
|
36
|
-
* */const i=["",()=>{}];let
|
36
|
+
* */const i=["",()=>{}];let u=class extends o.C{constructor(){super(...arguments),this.start=i,this.streamInside=i,this.end=i,this.streamOutside=i,this.state="off",this.handleStart=e=>{this.clearStream(),this.callHandler(this.start[1],e),!e.defaultPrevented&&(this.removeListeners(),this.addListeners("on"))},this.handleInside=e=>{this.handleStream(this.streamInside[1],e)},this.handleEnd=e=>{this.clearStream(),this.callHandler(this.end[1],e),this.removeListeners(),this.addListeners("off")},this.handleOutside=e=>{this.handleStream(this.streamOutside[1],e)}}render(e){return l.d}update(e,[{start:t,end:s,streamInside:n=i,streamOutside:d=i}]){var a;this.element!==e.element&&(this.element=e.element,this.removeListeners()),this.host=((a=e.options)==null?void 0:a.host)||this.element,this.start=t,this.end=s,this.streamInside=n,this.streamOutside=d,this.addListeners()}addListeners(e){this.state=e||this.state,this.state==="off"?(this.addListener(this.streamOutside[0],this.handleOutside),this.addListener(this.start[0],this.handleStart)):this.state==="on"&&(this.addListener(this.streamInside[0],this.handleInside),this.addListener(this.end[0],this.handleEnd))}callHandler(e,t){typeof e=="function"?e.call(this.host,t):e.handleEvent(t)}handleStream(e,t){this.stream||(this.callHandler(e,t),this.stream=requestAnimationFrame(()=>{this.stream=void 0}))}clearStream(){this.stream!=null&&(cancelAnimationFrame(this.stream),this.stream=void 0)}addListener(e,t){Array.isArray(e)?e.map(s=>{this.element.addEventListener(s,t)}):this.element.addEventListener(e,t)}removeListener(e,t){Array.isArray(e)?e.map(s=>{this.element.removeEventListener(s,t)}):this.element.removeEventListener(e,t)}removeListeners(){this.removeListener(this.start[0],this.handleStart),this.removeListener(this.streamInside[0],this.handleInside),this.removeListener(this.end[0],this.handleEnd),this.removeListener(this.streamOutside[0],this.handleOutside)}disconnected(){this.removeListeners()}reconnected(){this.addListeners()}};const c=m._(u);/*! * Lucero - The design system for Luzmo.
|
37
37
|
*
|
38
38
|
* Copyright © 2025 Luzmo
|
39
39
|
* All rights reserved.
|
@@ -49,4 +49,4 @@
|
|
49
49
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
50
50
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
51
51
|
* SOFTWARE.
|
52
|
-
* */const r=Symbol("language resolver updated");class v{constructor(e){this.language=document.documentElement.lang||navigator.language,this.host=e,this.host.addController(this)}hostConnected(){this.resolveLanguage()}hostDisconnected(){var e;(e=this.unsubscribe)==null||e.call(this)}resolveLanguage(){const e=new CustomEvent("luzmo-language-context",{bubbles:!0,composed:!0,detail:{callback:(t,s)=>{const n=this.language;this.language=t,this.unsubscribe=s,this.host.requestUpdate(r,n)}},cancelable:!0});this.host.dispatchEvent(e)}}exports.l=v;exports.o=r;exports.u=
|
52
|
+
* */const r=Symbol("language resolver updated");class v{constructor(e){this.language=document.documentElement.lang||navigator.language,this.host=e,this.host.addController(this)}hostConnected(){this.resolveLanguage()}hostDisconnected(){var e;(e=this.unsubscribe)==null||e.call(this)}resolveLanguage(){const e=new CustomEvent("luzmo-language-context",{bubbles:!0,composed:!0,detail:{callback:(t,s)=>{const n=this.language;this.language=t,this.unsubscribe=s,this.host.requestUpdate(r,n)}},cancelable:!0});this.host.dispatchEvent(e)}}exports.l=v;exports.o=r;exports.u=c;
|
@@ -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 l=require("./property-
|
20
|
+
"use strict";const l=require("./property-ChsOQ1Yj.cjs"),n=require("./if-defined-BSAr_4u4-CNmaFBUP.cjs"),v=require("./query-assigned-nodes-C76XVPWY-BcyGjObB.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
|
-
* */var C=Object.defineProperty,u=(i,t,s,h)=>{for(var e=void 0,r=i.length-1,o;r>=0;r--)(o=i[r])&&(e=o(t,s,e)||e);return e&&C(t,s,e),e};function
|
36
|
+
* */var C=Object.defineProperty,u=(i,t,s,h)=>{for(var e=void 0,r=i.length-1,o;r>=0;r--)(o=i[r])&&(e=o(t,s,e)||e);return e&&C(t,s,e),e};function $(i){class t extends i{renderAnchor({id:h,className:e,ariaHidden:r,labelledby:o,tabindex:f,anchorContent:a=l.Ht`<slot></slot>`}){return l.Ht`
|
37
37
|
<a
|
38
38
|
id=${h}
|
39
39
|
class=${n.m(e)}
|
@@ -47,7 +47,7 @@
|
|
47
47
|
referrerpolicy=${n.m(this.referrerpolicy)}
|
48
48
|
rel=${n.m(this.rel)}
|
49
49
|
>${a}</a>
|
50
|
-
`}}return u([l.
|
50
|
+
`}}return u([l.Rt()],t.prototype,"download"),u([l.Rt()],t.prototype,"label"),u([l.Rt()],t.prototype,"href"),u([l.Rt()],t.prototype,"target"),u([l.Rt()],t.prototype,"referrerpolicy"),u([l.Rt()],t.prototype,"rel"),t}/*! * Lucero - The design system for Luzmo.
|
51
51
|
*
|
52
52
|
* Copyright © 2025 Luzmo
|
53
53
|
* All rights reserved.
|
@@ -83,4 +83,4 @@
|
|
83
83
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
84
84
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
85
85
|
* SOFTWARE.
|
86
|
-
* */var
|
86
|
+
* */var x=Object.defineProperty,m=(i,t,s,h)=>{for(var e=void 0,r=i.length-1,o;r>=0;r--)(o=i[r])&&(e=o(t,s,e)||e);return e&&x(t,s,e),e};const b=Symbol("assignedNodes");function w(i,t,s=[]){var h,e;const r=f=>a=>f.matches(a);class o extends(e=i,h=b,e){constructor(...a){super(a),this.slotHasContent=!1,new g(this,{config:{characterData:!0,subtree:!0},callback:p=>{for(const d of p)if(d.type==="characterData"){this.manageTextObservedSlot();return}}})}manageTextObservedSlot(){if(!this[b])return;const a=[...this[b]].filter(p=>{const d=p;return d.tagName?!s.some(r(d)):d.textContent?d.textContent.trim():!1});this.slotHasContent=a.length>0}update(a){if(!this.hasUpdated){const{childNodes:p}=this,d=[...p].filter(y=>{const c=y;return c.tagName?s.some(r(c))?!1:t?c.getAttribute("slot")===t:!c.hasAttribute("slot"):c.textContent?c.textContent.trim():!1});this.slotHasContent=d.length>0}super.update(a)}firstUpdated(a){super.firstUpdated(a),this.updateComplete.then(()=>{this.manageTextObservedSlot()})}}return m([l.Rt({type:Boolean,attribute:!1})],o.prototype,"slotHasContent"),m([v.m({slot:t,flatten:!0})],o.prototype,h),o}exports.a=g;exports.b=$;exports.y=w;
|
package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-yUxhPbbJ.js}
RENAMED
@@ -17,8 +17,8 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import { m as n } from "./if-defined-
|
20
|
+
import { R as d, H as g } from "./property-CXJD1jOW.js";
|
21
|
+
import { m as n } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
22
22
|
import { m as y } from "./query-assigned-nodes-C76XVPWY-DPC6kOmH.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
24
24
|
*
|
@@ -42,7 +42,7 @@ var C = Object.defineProperty, u = (i, t, s, l) => {
|
|
42
42
|
(o = i[r]) && (e = o(t, s, e) || e);
|
43
43
|
return e && C(t, s, e), e;
|
44
44
|
};
|
45
|
-
function
|
45
|
+
function k(i) {
|
46
46
|
class t extends i {
|
47
47
|
renderAnchor({
|
48
48
|
id: l,
|
@@ -216,6 +216,6 @@ function U(i, t, s = []) {
|
|
216
216
|
}
|
217
217
|
export {
|
218
218
|
$ as a,
|
219
|
-
|
219
|
+
k as b,
|
220
220
|
U as y
|
221
221
|
};
|
@@ -17,9 +17,9 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import {
|
21
|
-
import { d } from "./if-defined-
|
22
|
-
import { m as u } from "./sized-mixin-
|
20
|
+
import { k as v, h as m, H as s, d as h, R as i } from "./property-CXJD1jOW.js";
|
21
|
+
import { d } from "./if-defined-BSAr_4u4-CVDyXUmc.js";
|
22
|
+
import { m as u } from "./sized-mixin-BxMraZLS-Dc6r-Wg4.js";
|
23
23
|
/*! * Lucero - The design system for Luzmo.
|
24
24
|
*
|
25
25
|
* Copyright © 2025 Luzmo
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./property-
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./property-ChsOQ1Yj.cjs"),s=require("./if-defined-BSAr_4u4-CNmaFBUP.cjs"),v=require("./sized-mixin-BxMraZLS-w9I35lP7.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
|
-
* */const m=":host{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s)) ease-in-out,opacity var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s)) ease-in-out,visibility 0s linear var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s))}:host([open]){pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened, var(--animation-duration-0, 0s))}@media (forced-colors: active){:host{--highcontrast-popover-border-color: CanvasText}}:host{--popover-filter: drop-shadow( var(--luzmo-popover-shadow-horizontal, var(--popover-shadow-horizontal)) var(--luzmo-popover-shadow-vertical, var(--popover-shadow-vertical)) var(--luzmo-popover-shadow-blur, var(--popover-shadow-blur)) var(--luzmo-popover-shadow-color, var(--popover-shadow-color)) );box-sizing:border-box;padding:var(--luzmo-popover-content-area-spacing-vertical, var(--popover-content-area-spacing-vertical)) 0;border-radius:var(--luzmo-popover-corner-radius, var(--popover-corner-radius));border-style:solid;border-color:var(--highcontrast-popover-border-color, var(--luzmo-popover-border-color, var(--popover-border-color)));border-width:var(--luzmo-popover-border-width, var(--popover-border-width));background-color:var(--luzmo-popover-background-color, var(--popover-background-color));filter:var(--luzmo-popover-filter, var(--popover-filter));outline:none;flex-direction:column;display:inline-flex;position:absolute}:host([tip]) #tip .triangle{stroke-linecap:square;stroke-linejoin:miter;fill:var(--highcontrast-popover-background-color, var(--luzmo-popover-background-color, var(--popover-background-color)));stroke:var(--highcontrast-popover-border-color, var(--luzmo-popover-border-color, var(--popover-border-color)));stroke-width:var(--luzmo-popover-border-width, var(--popover-border-width))}*{--luzmo-popover-filter: none}:host([tip]) .luzmo-Popover--top-end,:host([tip]) .luzmo-Popover--top-left,:host([tip]) .luzmo-Popover--top-right,:host([tip]) .luzmo-Popover--top-start,:host([placement*=top][tip]){margin-block-end:calc(var(--luzmo-popover-pointer-height, var(--popover-pointer-height)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--top-end,:host([open]) .luzmo-Popover--top-left,:host([open]) .luzmo-Popover--top-right,:host([open]) .luzmo-Popover--top-start,:host([placement*=top][open]){transform:translateY(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) .luzmo-Popover--bottom-end,:host([tip]) .luzmo-Popover--bottom-left,:host([tip]) .luzmo-Popover--bottom-right,:host([tip]) .luzmo-Popover--bottom-start,:host([placement*=bottom][tip]){margin-block-start:calc(var(--luzmo-popover-pointer-height, var(--popover-pointer-height)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--bottom-end,:host([open]) .luzmo-Popover--bottom-left,:host([open]) .luzmo-Popover--bottom-right,:host([open]) .luzmo-Popover--bottom-start,:host([placement*=bottom][open]){transform:translateY(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--right-bottom,:host([tip]) .luzmo-Popover--right-top,:host([placement*=right][tip]){margin-left:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--right-bottom,:host([open]) .luzmo-Popover--right-top,:host([placement*=right][open]){transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--left-bottom,:host([tip]) .luzmo-Popover--left-top,:host([placement*=left][tip]){margin-right:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--left-bottom,:host([open]) .luzmo-Popover--left-top,:host([placement*=left][open]){transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) .luzmo-Popover--start-bottom,:host([tip]) .luzmo-Popover--start-top,:host([tip]) .luzmo-Popover--start{margin-inline-end:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--start-bottom,:host([open]) .luzmo-Popover--start-top,:host([open]) .luzmo-Popover--start{transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([open]) .luzmo-Popover--start-bottom:dir(rtl),:host([open]) .luzmo-Popover--start-top:dir(rtl),:host([open]) .luzmo-Popover--start:dir(rtl),:host([dir=rtl][open]) .luzmo-Popover--start-bottom,:host([dir=rtl][open]) .luzmo-Popover--start-top,:host([dir=rtl][open]) .luzmo-Popover--start{transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--end-bottom,:host([tip]) .luzmo-Popover--end-top,:host([tip]) .luzmo-Popover--end{margin-inline-start:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--end-bottom,:host([open]) .luzmo-Popover--end-top,:host([open]) .luzmo-Popover--end{transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([open]) .luzmo-Popover--end-bottom:dir(rtl),:host([open]) .luzmo-Popover--end-top:dir(rtl),:host([open]) .luzmo-Popover--end:dir(rtl),:host([dir=rtl][open]) .luzmo-Popover--end-bottom,:host([dir=rtl][open]) .luzmo-Popover--end-top,:host([dir=rtl][open]) .luzmo-Popover--end{transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) #tip,:host([tip][placement*=bottom]) #tip,:host([tip]) .luzmo-Popover--bottom-end #tip,:host([tip]) .luzmo-Popover--bottom-left #tip,:host([tip]) .luzmo-Popover--bottom-right #tip,:host([tip]) .luzmo-Popover--bottom-start #tip,:host([tip][placement*=top]) #tip,:host([tip]) .luzmo-Popover--top-end #tip,:host([tip]) .luzmo-Popover--top-left #tip,:host([tip]) .luzmo-Popover--top-right #tip,:host([tip]) .luzmo-Popover--top-start #tip{inline-size:var(--luzmo-popover-pointer-width, var(--popover-pointer-width));block-size:var(--luzmo-popover-pointer-height, var(--popover-pointer-height));margin:auto;position:absolute;inset-block-start:100%;inset-inline:0;transform:translate(0)}:host([tip]) .luzmo-Popover--top-left #tip{inset-inline:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--top-right #tip{inset-inline:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--top-start #tip{margin-inline-start:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--top-end #tip{margin-inline-end:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip][placement*=bottom]) #tip,:host([tip]) .luzmo-Popover--bottom-end #tip,:host([tip]) .luzmo-Popover--bottom-left #tip,:host([tip]) .luzmo-Popover--bottom-right #tip,:host([tip]) .luzmo-Popover--bottom-start #tip{inset-block:auto 100%;transform:scaleY(-1)}:host([tip]) .luzmo-Popover--bottom-left #tip{inset-inline:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--bottom-right #tip{inset-inline:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--bottom-start #tip{margin-inline-start:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--bottom-end #tip{margin-inline-end:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--end #tip,:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--end-top #tip,:host([tip][placement*=left]) #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--left-top #tip,:host([tip][placement*=right]) #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--right-top #tip,:host([tip]) .luzmo-Popover--start #tip,:host([tip]) .luzmo-Popover--start-bottom #tip,:host([tip]) .luzmo-Popover--start-top #tip{inline-size:var(--luzmo-popover-pointer-height, var(--popover-pointer-height));block-size:var(--luzmo-popover-pointer-width, var(--popover-pointer-width));inset-block:0}:host([tip][placement*=left]) #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--left-top #tip{left:100%;right:auto}:host([tip][placement*=right]) #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--right-top #tip{left:auto;right:100%;transform:scaleX(-1)}:host([tip]) .luzmo-Popover--end-top #tip,:host([tip]) .luzmo-Popover--left-top #tip,:host([tip]) .luzmo-Popover--right-top #tip,:host([tip]) .luzmo-Popover--start-top #tip{inset-block:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--start-bottom #tip{inset-block:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--start #tip,:host([tip]) .luzmo-Popover--start-bottom #tip,:host([tip]) .luzmo-Popover--start-top #tip{margin-inline-start:100%}:host([tip]) .luzmo-Popover--start #tip:dir(rtl),:host([tip]) .luzmo-Popover--start-bottom #tip:dir(rtl),:host([tip]) .luzmo-Popover--start-top #tip:dir(rtl),:host([dir=rtl][tip]) .luzmo-Popover--start #tip,:host([dir=rtl][tip]) .luzmo-Popover--start-bottom #tip,:host([dir=rtl][tip]) .luzmo-Popover--start-top #tip{transform:none}:host([tip]) .luzmo-Popover--end #tip,:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--end-top #tip{margin-inline-end:100%;transform:scaleX(-1)}:host([tip]) .luzmo-Popover--end #tip:dir(rtl),:host([tip]) .luzmo-Popover--end-bottom #tip:dir(rtl),:host([tip]) .luzmo-Popover--end-top #tip:dir(rtl),:host([dir=rtl][tip]) .luzmo-Popover--end #tip,:host([dir=rtl][tip]) .luzmo-Popover--end-bottom #tip,:host([dir=rtl][tip]) .luzmo-Popover--end-top #tip{transform:scaleX(1)}:host{--popover-border-width: var(--luzmo-border-width);--popover-animation-distance: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--popover-background-color: var(--luzmo-background-color);--popover-border-color: var(--luzmo-border-color);--popover-content-area-spacing-vertical: var(--luzmo-spacing-2);--popover-shadow-horizontal: 0;--popover-shadow-vertical: 1px;--popover-shadow-blur: 4px;--popover-shadow-color: var(--luzmo-border-color);--popover-corner-radius: var(--luzmo-border-radius);--popover-pointer-width: var(--luzmo-spacing-5);--popover-pointer-height: var(--luzmo-spacing-3);--popover-pointer-edge-offset: 16px;--popover-pointer-edge-spacing: 24px}:host([size=s]){--popover-animation-distance: var(--luzmo-spacing-2)}:host([size=l]){--popover-animation-distance: var(--luzmo-spacing-3)}:host([size=xl]){--popover-animation-distance: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) )}:host{min-width:min-content;max-height:100%;max-width:100%;clip-path:none}::slotted(*){overscroll-behavior:contain}:host([placement*=left]) #tip[style],:host([placement*=right]) #tip[style]{inset-block-end:auto}:host([placement*=top]) #tip[style],:host([placement*=bottom]) #tip[style]{inset-inline-end:auto}.block,.inline{width:100%;height:100%;display:block}:host([placement*=left]) .block,:host([placement*=right]) .block{display:none}:host([placement*=top]) .inline,:host([placement*=bottom]) .inline{display:none}::slotted(.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}::slotted(luzmo-menu){margin:0}:host([dialog]){min-width:var(--luzmo-popover-dialog-min-width, 270px);padding:var(--luzmo-popover-dialog-padding, 30px 29px)}:host([tip][placement]) #tip{height:auto}";var h=Object.defineProperty,p=(e,a,n,d)=>{for(var t=void 0,i=e.length-1,l;i>=0;i--)(l=e[i])&&(t=l(a,n,t)||t);return t&&h(a,n,t),t};class r extends v.m(o.I){constructor(){super(...arguments),this.open=!1,this.tip=!1}static get styles(){return[o.r(m)]}renderTip(){return o.x`
|
36
|
+
* */const m=":host{pointer-events:none;visibility:hidden;opacity:0;transition:transform .13s ease-in-out,opacity .13s ease-in-out,visibility 0s linear .13s;transition:transform var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s)) ease-in-out,opacity var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s)) ease-in-out,visibility 0s linear var(--luzmo-overlay-animation-duration, var(--animation-duration-100, .13s))}:host([open]){pointer-events:auto;visibility:visible;opacity:1;transition-delay:0s;transition-delay:var(--luzmo-overlay-animation-duration-opened, var(--animation-duration-0, 0s))}@media (forced-colors: active){:host{--highcontrast-popover-border-color: CanvasText}}:host{--popover-filter: drop-shadow( var(--luzmo-popover-shadow-horizontal, var(--popover-shadow-horizontal)) var(--luzmo-popover-shadow-vertical, var(--popover-shadow-vertical)) var(--luzmo-popover-shadow-blur, var(--popover-shadow-blur)) var(--luzmo-popover-shadow-color, var(--popover-shadow-color)) );box-sizing:border-box;padding:var(--luzmo-popover-content-area-spacing-vertical, var(--popover-content-area-spacing-vertical)) 0;border-radius:var(--luzmo-popover-corner-radius, var(--popover-corner-radius));border-style:solid;border-color:var(--highcontrast-popover-border-color, var(--luzmo-popover-border-color, var(--popover-border-color)));border-width:var(--luzmo-popover-border-width, var(--popover-border-width));background-color:var(--luzmo-popover-background-color, var(--popover-background-color));filter:var(--luzmo-popover-filter, var(--popover-filter));outline:none;flex-direction:column;display:inline-flex;position:absolute}:host([tip]) #tip .triangle{stroke-linecap:square;stroke-linejoin:miter;fill:var(--highcontrast-popover-background-color, var(--luzmo-popover-background-color, var(--popover-background-color)));stroke:var(--highcontrast-popover-border-color, var(--luzmo-popover-border-color, var(--popover-border-color)));stroke-width:var(--luzmo-popover-border-width, var(--popover-border-width))}*{--luzmo-popover-filter: none}:host([tip]) .luzmo-Popover--top-end,:host([tip]) .luzmo-Popover--top-left,:host([tip]) .luzmo-Popover--top-right,:host([tip]) .luzmo-Popover--top-start,:host([placement*=top][tip]){margin-block-end:calc(var(--luzmo-popover-pointer-height, var(--popover-pointer-height)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--top-end,:host([open]) .luzmo-Popover--top-left,:host([open]) .luzmo-Popover--top-right,:host([open]) .luzmo-Popover--top-start,:host([placement*=top][open]){transform:translateY(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) .luzmo-Popover--bottom-end,:host([tip]) .luzmo-Popover--bottom-left,:host([tip]) .luzmo-Popover--bottom-right,:host([tip]) .luzmo-Popover--bottom-start,:host([placement*=bottom][tip]){margin-block-start:calc(var(--luzmo-popover-pointer-height, var(--popover-pointer-height)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--bottom-end,:host([open]) .luzmo-Popover--bottom-left,:host([open]) .luzmo-Popover--bottom-right,:host([open]) .luzmo-Popover--bottom-start,:host([placement*=bottom][open]){transform:translateY(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--right-bottom,:host([tip]) .luzmo-Popover--right-top,:host([placement*=right][tip]){margin-left:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--right-bottom,:host([open]) .luzmo-Popover--right-top,:host([placement*=right][open]){transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--left-bottom,:host([tip]) .luzmo-Popover--left-top,:host([placement*=left][tip]){margin-right:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--left-bottom,:host([open]) .luzmo-Popover--left-top,:host([placement*=left][open]){transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) .luzmo-Popover--start-bottom,:host([tip]) .luzmo-Popover--start-top,:host([tip]) .luzmo-Popover--start{margin-inline-end:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--start-bottom,:host([open]) .luzmo-Popover--start-top,:host([open]) .luzmo-Popover--start{transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([open]) .luzmo-Popover--start-bottom:dir(rtl),:host([open]) .luzmo-Popover--start-top:dir(rtl),:host([open]) .luzmo-Popover--start:dir(rtl),:host([dir=rtl][open]) .luzmo-Popover--start-bottom,:host([dir=rtl][open]) .luzmo-Popover--start-top,:host([dir=rtl][open]) .luzmo-Popover--start{transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([tip]) .luzmo-Popover--end-bottom,:host([tip]) .luzmo-Popover--end-top,:host([tip]) .luzmo-Popover--end{margin-inline-start:calc(var(--luzmo-popover-pointer-width, var(--popover-pointer-width)) - var(--luzmo-popover-border-width, var(--popover-border-width)))}:host([open]) .luzmo-Popover--end-bottom,:host([open]) .luzmo-Popover--end-top,:host([open]) .luzmo-Popover--end{transform:translate(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)))}:host([open]) .luzmo-Popover--end-bottom:dir(rtl),:host([open]) .luzmo-Popover--end-top:dir(rtl),:host([open]) .luzmo-Popover--end:dir(rtl),:host([dir=rtl][open]) .luzmo-Popover--end-bottom,:host([dir=rtl][open]) .luzmo-Popover--end-top,:host([dir=rtl][open]) .luzmo-Popover--end{transform:translate(calc(var(--luzmo-popover-animation-distance, var(--popover-animation-distance)) * -1))}:host([tip]) #tip,:host([tip][placement*=bottom]) #tip,:host([tip]) .luzmo-Popover--bottom-end #tip,:host([tip]) .luzmo-Popover--bottom-left #tip,:host([tip]) .luzmo-Popover--bottom-right #tip,:host([tip]) .luzmo-Popover--bottom-start #tip,:host([tip][placement*=top]) #tip,:host([tip]) .luzmo-Popover--top-end #tip,:host([tip]) .luzmo-Popover--top-left #tip,:host([tip]) .luzmo-Popover--top-right #tip,:host([tip]) .luzmo-Popover--top-start #tip{inline-size:var(--luzmo-popover-pointer-width, var(--popover-pointer-width));block-size:var(--luzmo-popover-pointer-height, var(--popover-pointer-height));margin:auto;position:absolute;inset-block-start:100%;inset-inline:0;transform:translate(0)}:host([tip]) .luzmo-Popover--top-left #tip{inset-inline:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--top-right #tip{inset-inline:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--top-start #tip{margin-inline-start:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--top-end #tip{margin-inline-end:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip][placement*=bottom]) #tip,:host([tip]) .luzmo-Popover--bottom-end #tip,:host([tip]) .luzmo-Popover--bottom-left #tip,:host([tip]) .luzmo-Popover--bottom-right #tip,:host([tip]) .luzmo-Popover--bottom-start #tip{inset-block:auto 100%;transform:scaleY(-1)}:host([tip]) .luzmo-Popover--bottom-left #tip{inset-inline:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--bottom-right #tip{inset-inline:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--bottom-start #tip{margin-inline-start:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--bottom-end #tip{margin-inline-end:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--end #tip,:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--end-top #tip,:host([tip][placement*=left]) #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--left-top #tip,:host([tip][placement*=right]) #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--right-top #tip,:host([tip]) .luzmo-Popover--start #tip,:host([tip]) .luzmo-Popover--start-bottom #tip,:host([tip]) .luzmo-Popover--start-top #tip{inline-size:var(--luzmo-popover-pointer-height, var(--popover-pointer-height));block-size:var(--luzmo-popover-pointer-width, var(--popover-pointer-width));inset-block:0}:host([tip][placement*=left]) #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--left-top #tip{left:100%;right:auto}:host([tip][placement*=right]) #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--right-top #tip{left:auto;right:100%;transform:scaleX(-1)}:host([tip]) .luzmo-Popover--end-top #tip,:host([tip]) .luzmo-Popover--left-top #tip,:host([tip]) .luzmo-Popover--right-top #tip,:host([tip]) .luzmo-Popover--start-top #tip{inset-block:var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing)) auto}:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--left-bottom #tip,:host([tip]) .luzmo-Popover--right-bottom #tip,:host([tip]) .luzmo-Popover--start-bottom #tip{inset-block:auto var(--luzmo-popover-pointer-edge-spacing, var(--popover-pointer-edge-spacing))}:host([tip]) .luzmo-Popover--start #tip,:host([tip]) .luzmo-Popover--start-bottom #tip,:host([tip]) .luzmo-Popover--start-top #tip{margin-inline-start:100%}:host([tip]) .luzmo-Popover--start #tip:dir(rtl),:host([tip]) .luzmo-Popover--start-bottom #tip:dir(rtl),:host([tip]) .luzmo-Popover--start-top #tip:dir(rtl),:host([dir=rtl][tip]) .luzmo-Popover--start #tip,:host([dir=rtl][tip]) .luzmo-Popover--start-bottom #tip,:host([dir=rtl][tip]) .luzmo-Popover--start-top #tip{transform:none}:host([tip]) .luzmo-Popover--end #tip,:host([tip]) .luzmo-Popover--end-bottom #tip,:host([tip]) .luzmo-Popover--end-top #tip{margin-inline-end:100%;transform:scaleX(-1)}:host([tip]) .luzmo-Popover--end #tip:dir(rtl),:host([tip]) .luzmo-Popover--end-bottom #tip:dir(rtl),:host([tip]) .luzmo-Popover--end-top #tip:dir(rtl),:host([dir=rtl][tip]) .luzmo-Popover--end #tip,:host([dir=rtl][tip]) .luzmo-Popover--end-bottom #tip,:host([dir=rtl][tip]) .luzmo-Popover--end-top #tip{transform:scaleX(1)}:host{--popover-border-width: var(--luzmo-border-width);--popover-animation-distance: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--popover-background-color: var(--luzmo-background-color);--popover-border-color: var(--luzmo-border-color);--popover-content-area-spacing-vertical: var(--luzmo-spacing-2);--popover-shadow-horizontal: 0;--popover-shadow-vertical: 1px;--popover-shadow-blur: 4px;--popover-shadow-color: var(--luzmo-border-color);--popover-corner-radius: var(--luzmo-border-radius);--popover-pointer-width: var(--luzmo-spacing-5);--popover-pointer-height: var(--luzmo-spacing-3);--popover-pointer-edge-offset: 16px;--popover-pointer-edge-spacing: 24px}:host([size=s]){--popover-animation-distance: var(--luzmo-spacing-2)}:host([size=l]){--popover-animation-distance: var(--luzmo-spacing-3)}:host([size=xl]){--popover-animation-distance: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) )}:host{min-width:min-content;max-height:100%;max-width:100%;clip-path:none}::slotted(*){overscroll-behavior:contain}:host([placement*=left]) #tip[style],:host([placement*=right]) #tip[style]{inset-block-end:auto}:host([placement*=top]) #tip[style],:host([placement*=bottom]) #tip[style]{inset-inline-end:auto}.block,.inline{width:100%;height:100%;display:block}:host([placement*=left]) .block,:host([placement*=right]) .block{display:none}:host([placement*=top]) .inline,:host([placement*=bottom]) .inline{display:none}::slotted(.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}::slotted(luzmo-menu){margin:0}:host([dialog]){min-width:var(--luzmo-popover-dialog-min-width, 270px);padding:var(--luzmo-popover-dialog-padding, 30px 29px)}:host([tip][placement]) #tip{height:auto}";var h=Object.defineProperty,p=(e,a,n,d)=>{for(var t=void 0,i=e.length-1,l;i>=0;i--)(l=e[i])&&(t=l(a,n,t)||t);return t&&h(a,n,t),t};class r extends v.m(o.kt){constructor(){super(...arguments),this.open=!1,this.tip=!1}static get styles(){return[o.ht(m)]}renderTip(){return o.Ht`
|
37
37
|
<div id="tip" aria-hidden="true">
|
38
38
|
<svg class="tip block" viewBox="0 -0.5 16 9">
|
39
39
|
<path class="triangle" d="M-1,-1 8,8 17,-1"></path>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<path class="triangle" d="M-1,-1 8,8 -1,17"></path>
|
43
43
|
</svg>
|
44
44
|
</div>
|
45
|
-
`}render(){return o.
|
45
|
+
`}render(){return o.Ht`
|
46
46
|
<slot></slot>
|
47
|
-
${this.tip?this.renderTip():o.
|
48
|
-
`}}p([o.
|
47
|
+
${this.tip?this.renderTip():o.d}
|
48
|
+
`}}p([o.Rt({type:Boolean,reflect:!0})],r.prototype,"open");p([o.Rt({reflect:!0})],r.prototype,"placement");p([o.Rt({type:Boolean,reflect:!0})],r.prototype,"tip");p([s.d("#tip")],r.prototype,"tipElement");exports.LuzmoPopover=r;
|