@pushengineering/umg-web-components 2.0.2 → 2.0.3
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/dist/classes/event-manager/event-manager.d.ts +52 -0
- package/dist/classes/event-manager/types.d.ts +6 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/components/badge/badge.d.ts +19 -0
- package/dist/{packages/web-components/components → components}/badge/badge.js +47 -49
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/banner/banner.d.ts +39 -0
- package/dist/{packages/web-components/components → components}/banner/banner.js +23 -25
- package/dist/components/banner/index.d.ts +3 -0
- package/dist/components/banner-image/banner-image.d.ts +23 -0
- package/dist/{packages/web-components/components → components}/banner-image/banner-image.js +26 -29
- package/dist/components/banner-image/index.d.ts +2 -0
- package/dist/components/box/box.d.ts +28 -0
- package/dist/components/box/box.js +229 -0
- package/dist/components/box/index.d.ts +2 -0
- package/dist/components/button/button.d.ts +31 -0
- package/dist/{packages/web-components/components → components}/button/button.js +21 -24
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button-group/button-group.d.ts +12 -0
- package/dist/{packages/web-components/components → components}/button-group/button-group.js +20 -23
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-icon/button-icon.d.ts +31 -0
- package/dist/{packages/web-components/components → components}/button-icon/button-icon.js +25 -28
- package/dist/components/button-icon/index.d.ts +2 -0
- package/dist/components/caption-card/caption-card.d.ts +38 -0
- package/dist/{packages/web-components/components → components}/caption-card/caption-card.js +19 -21
- package/dist/components/caption-card/index.d.ts +2 -0
- package/dist/components/deferred-media/deferred-media.d.ts +25 -0
- package/dist/{packages/web-components/components → components}/deferred-media/deferred-media.js +27 -27
- package/dist/components/deferred-media/index.d.ts +2 -0
- package/dist/components/disclosure/disclosure.d.ts +23 -0
- package/dist/{packages/web-components/components → components}/disclosure/disclosure.js +16 -19
- package/dist/components/disclosure/index.d.ts +2 -0
- package/dist/components/event-table/event-content.d.ts +7 -0
- package/dist/{packages/web-components/components → components}/event-table/event-content.js +19 -22
- package/dist/components/event-table/event-date.d.ts +5 -0
- package/dist/components/event-table/event-date.js +42 -0
- package/dist/components/event-table/event-table.d.ts +10 -0
- package/dist/components/event-table/event-table.js +71 -0
- package/dist/components/event-table/event.d.ts +5 -0
- package/dist/components/event-table/event.js +42 -0
- package/dist/components/event-table/index.d.ts +2 -0
- package/dist/components/footer/footer.d.ts +16 -0
- package/dist/{packages/web-components/components → components}/footer/footer.js +15 -18
- package/dist/components/footer/index.d.ts +2 -0
- package/dist/components/grid/grid-cell.d.ts +5 -0
- package/dist/components/grid/grid-cell.js +37 -0
- package/dist/components/grid/grid.d.ts +12 -0
- package/dist/{packages/web-components/components → components}/grid/grid.js +37 -40
- package/dist/components/grid/index.d.ts +2 -0
- package/dist/components/header/header.d.ts +36 -0
- package/dist/{packages/web-components/components → components}/header/header.js +25 -29
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/header-drawer/header-drawer.d.ts +32 -0
- package/dist/{packages/web-components/components → components}/header-drawer/header-drawer.js +18 -21
- package/dist/components/header-drawer/index.d.ts +2 -0
- package/dist/components/header-drawer/menu-drawer.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/header-drawer/menu-drawer.js +16 -19
- package/dist/components/horizontal-stack/horizontal-stack.d.ts +13 -0
- package/dist/components/horizontal-stack/horizontal-stack.js +90 -0
- package/dist/components/horizontal-stack/index.d.ts +2 -0
- package/dist/components/icon/icon.d.ts +14 -0
- package/dist/{packages/web-components/components → components}/icon/icon.js +20 -23
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/image/image.d.ts +19 -0
- package/dist/{packages/web-components/components → components}/image/image.js +17 -20
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/index.d.ts +41 -0
- package/dist/{packages/web-components/components → components}/index.js +38 -36
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/link.d.ts +10 -0
- package/dist/{packages/web-components/components → components}/link/link.js +27 -30
- package/dist/components/link-group/index.d.ts +2 -0
- package/dist/components/link-group/link-group.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/link-group/link-group.js +15 -18
- package/dist/components/logo/index.d.ts +2 -0
- package/dist/components/logo/logo.d.ts +19 -0
- package/dist/{packages/web-components/components → components}/logo/logo.js +32 -35
- package/dist/components/media-gallery/index.d.ts +2 -0
- package/dist/components/media-gallery/media-gallery.d.ts +14 -0
- package/dist/{packages/web-components/components → components}/media-gallery/media-gallery.js +19 -22
- package/dist/components/media-gallery/media.d.ts +5 -0
- package/dist/components/media-gallery/media.js +29 -0
- package/dist/components/media-text/index.d.ts +2 -0
- package/dist/components/media-text/media-text.d.ts +30 -0
- package/dist/{packages/web-components/components → components}/media-text/media-text.js +20 -34
- package/dist/components/media-text/styles/media-size.d.ts +1 -0
- package/dist/{packages/web-components/components → components}/media-text/styles/media-size.js +5 -8
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/menu.d.ts +36 -0
- package/dist/{packages/web-components/components → components}/menu/menu.js +39 -38
- package/dist/components/menu-bar/index.d.ts +2 -0
- package/dist/components/menu-bar/menu-bar.d.ts +16 -0
- package/dist/components/menu-bar/menu-bar.js +110 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/modal.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/modal/modal.js +70 -41
- package/dist/components/multiselect/index.d.ts +2 -0
- package/dist/components/multiselect/multiselect.d.ts +60 -0
- package/dist/components/number-field/index.d.ts +2 -0
- package/dist/components/number-field/number-field.d.ts +28 -0
- package/dist/{packages/web-components/components → components}/number-field/number-field.js +22 -25
- package/dist/components/overlay/index.d.ts +2 -0
- package/dist/components/overlay/overlay.d.ts +13 -0
- package/dist/components/overlay/overlay.js +74 -0
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/page.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/page/page.js +16 -19
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/popover.d.ts +19 -0
- package/dist/components/popover/popover.js +181 -0
- package/dist/components/rich-text/index.d.ts +2 -0
- package/dist/components/rich-text/rich-text.d.ts +11 -0
- package/dist/{packages/web-components/components → components}/rich-text/rich-text.js +25 -28
- package/dist/components/section/index.d.ts +2 -0
- package/dist/components/section/section.d.ts +33 -0
- package/dist/{packages/web-components/components → components}/section/section.js +71 -59
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select.d.ts +44 -0
- package/dist/{packages/web-components/components → components}/select/select.js +48 -63
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/slide.d.ts +8 -0
- package/dist/components/slider/slide.js +65 -0
- package/dist/components/slider/slider-controls.d.ts +27 -0
- package/dist/{packages/web-components/components → components}/slider/slider-controls.js +45 -47
- package/dist/components/slider/slider.d.ts +68 -0
- package/dist/{packages/web-components/components → components}/slider/slider.js +25 -28
- package/dist/components/slider/styles/controls.d.ts +1 -0
- package/dist/{packages/web-components/components → components}/slider/styles/controls.js +3 -6
- package/dist/components/slider/styles/slider.d.ts +1 -0
- package/dist/{packages/web-components/components → components}/slider/styles/slider.js +3 -6
- package/dist/components/socials/index.d.ts +2 -0
- package/dist/components/socials/socials.d.ts +26 -0
- package/dist/components/socials/socials.js +93 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/table.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/table/table.js +30 -33
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/text.d.ts +24 -0
- package/dist/{packages/web-components/components → components}/text/text.js +65 -57
- package/dist/components/text-field/index.d.ts +2 -0
- package/dist/components/text-field/text-field.d.ts +25 -0
- package/dist/{packages/web-components/components → components}/text-field/text-field.js +13 -16
- package/dist/components/thumbnail-slider/index.d.ts +2 -0
- package/dist/components/thumbnail-slider/thumbnail-slide.d.ts +5 -0
- package/dist/components/thumbnail-slider/thumbnail-slide.js +48 -0
- package/dist/components/thumbnail-slider/thumbnail-slider.d.ts +20 -0
- package/dist/{packages/web-components/components → components}/thumbnail-slider/thumbnail-slider.js +15 -15
- package/dist/components/vertical-stack/index.d.ts +2 -0
- package/dist/components/vertical-stack/vertical-stack.d.ts +13 -0
- package/dist/components/vertical-stack/vertical-stack.js +92 -0
- package/dist/components/video/index.d.ts +2 -0
- package/dist/components/video/video.d.ts +29 -0
- package/dist/{packages/web-components/components → components}/video/video.js +22 -26
- package/dist/{packages/web-components/styles → styles}/button.js +4 -7
- package/dist/{packages/web-components/styles → styles}/fonts.js +21 -14
- package/dist/{packages/web-components/styles → styles}/global.js +3 -6
- package/dist/{packages/web-components/styles → styles}/grid.js +3 -6
- package/dist/{packages/web-components/styles → styles}/group.js +11 -14
- package/dist/{packages/web-components/styles → styles}/link.js +3 -6
- package/dist/{packages/web-components/styles → styles}/placeholder-media.js +3 -6
- package/dist/types.d.ts +66 -0
- package/package.json +47 -49
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js +0 -56
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js +0 -9
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js +0 -37
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +0 -19
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js +0 -34
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js +0 -12
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js +0 -260
- package/dist/node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js +0 -50
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directive.js +0 -27
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/class-map.js +0 -37
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/if-defined.js +0 -10
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/map.js +0 -15
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/range.js +0 -14
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/style-map.js +0 -39
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js +0 -259
- package/dist/packages/web-components/components/box/box.js +0 -208
- package/dist/packages/web-components/components/event-table/event-date.js +0 -45
- package/dist/packages/web-components/components/event-table/event-table.js +0 -74
- package/dist/packages/web-components/components/event-table/event.js +0 -45
- package/dist/packages/web-components/components/grid/grid-cell.js +0 -40
- package/dist/packages/web-components/components/horizontal-stack/horizontal-stack.js +0 -93
- package/dist/packages/web-components/components/media-gallery/media.js +0 -31
- package/dist/packages/web-components/components/overlay/overlay.js +0 -77
- package/dist/packages/web-components/components/popover/popover.js +0 -163
- package/dist/packages/web-components/components/slider/slide.js +0 -68
- package/dist/packages/web-components/components/socials/socials.js +0 -96
- package/dist/packages/web-components/components/thumbnail-slider/thumbnail-slide.js +0 -51
- package/dist/packages/web-components/components/vertical-stack/vertical-stack.js +0 -95
- /package/dist/{packages/web-components/classes → classes}/event-manager/event-manager.js +0 -0
- /package/dist/{packages/web-components/classes → classes}/index.js +0 -0
- /package/dist/{packages/web-components/components → components}/icon/icons.svg.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/mergeStyles.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/polyfills/scrollyfills.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/settings.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/themeStyleSheet.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/utilities/debounce.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/utilities/paddingTransformations.js +0 -0
- /package/dist/{packages/web-components/styles → styles}/icon-size.js +0 -0
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2017 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/
|
|
6
|
-
const y = globalThis, S = y.trustedTypes, I = S ? S.createPolicy("lit-html", { createHTML: (h) => h }) : void 0, L = "$lit$", p = `lit$${(Math.random() + "").slice(9)}$`, W = "?" + p, z = `<${W}>`, v = document, x = () => v.createComment(""), H = (h) => h === null || typeof h != "object" && typeof h != "function", k = Array.isArray, Z = (h) => k(h) || typeof (h == null ? void 0 : h[Symbol.iterator]) == "function", w = `[
|
|
7
|
-
\f\r]`, m = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, B = /-->/g, P = />/g, u = RegExp(`>|${w}(?:([^\\s"'>=/]+)(${w}*=${w}*(?:[^
|
|
8
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), R = /'/g, U = /"/g, D = /^(?:script|style|textarea|title)$/i, V = (h) => (t, ...e) => ({ _$litType$: h, strings: t, values: e }), X = V(1), Y = V(2), N = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), j = /* @__PURE__ */ new WeakMap(), g = v.createTreeWalker(v, 129);
|
|
9
|
-
function O(h, t) {
|
|
10
|
-
if (!Array.isArray(h) || !h.hasOwnProperty("raw"))
|
|
11
|
-
throw Error("invalid template strings array");
|
|
12
|
-
return I !== void 0 ? I.createHTML(t) : t;
|
|
13
|
-
}
|
|
14
|
-
const q = (h, t) => {
|
|
15
|
-
const e = h.length - 1, s = [];
|
|
16
|
-
let i, o = t === 2 ? "<svg>" : "", n = m;
|
|
17
|
-
for (let a = 0; a < e; a++) {
|
|
18
|
-
const r = h[a];
|
|
19
|
-
let $, _, l = -1, c = 0;
|
|
20
|
-
for (; c < r.length && (n.lastIndex = c, _ = n.exec(r), _ !== null); )
|
|
21
|
-
c = n.lastIndex, n === m ? _[1] === "!--" ? n = B : _[1] !== void 0 ? n = P : _[2] !== void 0 ? (D.test(_[2]) && (i = RegExp("</" + _[2], "g")), n = u) : _[3] !== void 0 && (n = u) : n === u ? _[0] === ">" ? (n = i ?? m, l = -1) : _[1] === void 0 ? l = -2 : (l = n.lastIndex - _[2].length, $ = _[1], n = _[3] === void 0 ? u : _[3] === '"' ? U : R) : n === U || n === R ? n = u : n === B || n === P ? n = m : (n = u, i = void 0);
|
|
22
|
-
const d = n === u && h[a + 1].startsWith("/>") ? " " : "";
|
|
23
|
-
o += n === m ? r + z : l >= 0 ? (s.push($), r.slice(0, l) + L + r.slice(l) + p + d) : r + p + (l === -2 ? a : d);
|
|
24
|
-
}
|
|
25
|
-
return [O(h, o + (h[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
|
26
|
-
};
|
|
27
|
-
class T {
|
|
28
|
-
constructor({ strings: t, _$litType$: e }, s) {
|
|
29
|
-
let i;
|
|
30
|
-
this.parts = [];
|
|
31
|
-
let o = 0, n = 0;
|
|
32
|
-
const a = t.length - 1, r = this.parts, [$, _] = q(t, e);
|
|
33
|
-
if (this.el = T.createElement($, s), g.currentNode = this.el.content, e === 2) {
|
|
34
|
-
const l = this.el.content.firstChild;
|
|
35
|
-
l.replaceWith(...l.childNodes);
|
|
36
|
-
}
|
|
37
|
-
for (; (i = g.nextNode()) !== null && r.length < a; ) {
|
|
38
|
-
if (i.nodeType === 1) {
|
|
39
|
-
if (i.hasAttributes())
|
|
40
|
-
for (const l of i.getAttributeNames())
|
|
41
|
-
if (l.endsWith(L)) {
|
|
42
|
-
const c = _[n++], d = i.getAttribute(l).split(p), C = /([.?@])?(.*)/.exec(c);
|
|
43
|
-
r.push({ type: 1, index: o, name: C[2], strings: d, ctor: C[1] === "." ? G : C[1] === "?" ? J : C[1] === "@" ? K : M }), i.removeAttribute(l);
|
|
44
|
-
} else
|
|
45
|
-
l.startsWith(p) && (r.push({ type: 6, index: o }), i.removeAttribute(l));
|
|
46
|
-
if (D.test(i.tagName)) {
|
|
47
|
-
const l = i.textContent.split(p), c = l.length - 1;
|
|
48
|
-
if (c > 0) {
|
|
49
|
-
i.textContent = S ? S.emptyScript : "";
|
|
50
|
-
for (let d = 0; d < c; d++)
|
|
51
|
-
i.append(l[d], x()), g.nextNode(), r.push({ type: 2, index: ++o });
|
|
52
|
-
i.append(l[c], x());
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
} else if (i.nodeType === 8)
|
|
56
|
-
if (i.data === W)
|
|
57
|
-
r.push({ type: 2, index: o });
|
|
58
|
-
else {
|
|
59
|
-
let l = -1;
|
|
60
|
-
for (; (l = i.data.indexOf(p, l + 1)) !== -1; )
|
|
61
|
-
r.push({ type: 7, index: o }), l += p.length - 1;
|
|
62
|
-
}
|
|
63
|
-
o++;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
static createElement(t, e) {
|
|
67
|
-
const s = v.createElement("template");
|
|
68
|
-
return s.innerHTML = t, s;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
function f(h, t, e = h, s) {
|
|
72
|
-
var n, a;
|
|
73
|
-
if (t === N)
|
|
74
|
-
return t;
|
|
75
|
-
let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
|
|
76
|
-
const o = H(t) ? void 0 : t._$litDirective$;
|
|
77
|
-
return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), o === void 0 ? i = void 0 : (i = new o(h), i._$AT(h, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = f(h, i._$AS(h, t.values), i, s)), t;
|
|
78
|
-
}
|
|
79
|
-
class F {
|
|
80
|
-
constructor(t, e) {
|
|
81
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
82
|
-
}
|
|
83
|
-
get parentNode() {
|
|
84
|
-
return this._$AM.parentNode;
|
|
85
|
-
}
|
|
86
|
-
get _$AU() {
|
|
87
|
-
return this._$AM._$AU;
|
|
88
|
-
}
|
|
89
|
-
u(t) {
|
|
90
|
-
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? v).importNode(e, !0);
|
|
91
|
-
g.currentNode = i;
|
|
92
|
-
let o = g.nextNode(), n = 0, a = 0, r = s[0];
|
|
93
|
-
for (; r !== void 0; ) {
|
|
94
|
-
if (n === r.index) {
|
|
95
|
-
let $;
|
|
96
|
-
r.type === 2 ? $ = new b(o, o.nextSibling, this, t) : r.type === 1 ? $ = new r.ctor(o, r.name, r.strings, this, t) : r.type === 6 && ($ = new Q(o, this, t)), this._$AV.push($), r = s[++a];
|
|
97
|
-
}
|
|
98
|
-
n !== (r == null ? void 0 : r.index) && (o = g.nextNode(), n++);
|
|
99
|
-
}
|
|
100
|
-
return g.currentNode = v, i;
|
|
101
|
-
}
|
|
102
|
-
p(t) {
|
|
103
|
-
let e = 0;
|
|
104
|
-
for (const s of this._$AV)
|
|
105
|
-
s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
class b {
|
|
109
|
-
get _$AU() {
|
|
110
|
-
var t;
|
|
111
|
-
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
112
|
-
}
|
|
113
|
-
constructor(t, e, s, i) {
|
|
114
|
-
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
|
115
|
-
}
|
|
116
|
-
get parentNode() {
|
|
117
|
-
let t = this._$AA.parentNode;
|
|
118
|
-
const e = this._$AM;
|
|
119
|
-
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
|
120
|
-
}
|
|
121
|
-
get startNode() {
|
|
122
|
-
return this._$AA;
|
|
123
|
-
}
|
|
124
|
-
get endNode() {
|
|
125
|
-
return this._$AB;
|
|
126
|
-
}
|
|
127
|
-
_$AI(t, e = this) {
|
|
128
|
-
t = f(this, t, e), H(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== N && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Z(t) ? this.k(t) : this._(t);
|
|
129
|
-
}
|
|
130
|
-
S(t) {
|
|
131
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
132
|
-
}
|
|
133
|
-
T(t) {
|
|
134
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
135
|
-
}
|
|
136
|
-
_(t) {
|
|
137
|
-
this._$AH !== A && H(this._$AH) ? this._$AA.nextSibling.data = t : this.T(v.createTextNode(t)), this._$AH = t;
|
|
138
|
-
}
|
|
139
|
-
$(t) {
|
|
140
|
-
var o;
|
|
141
|
-
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = T.createElement(O(s.h, s.h[0]), this.options)), s);
|
|
142
|
-
if (((o = this._$AH) == null ? void 0 : o._$AD) === i)
|
|
143
|
-
this._$AH.p(e);
|
|
144
|
-
else {
|
|
145
|
-
const n = new F(i, this), a = n.u(this.options);
|
|
146
|
-
n.p(e), this.T(a), this._$AH = n;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
_$AC(t) {
|
|
150
|
-
let e = j.get(t.strings);
|
|
151
|
-
return e === void 0 && j.set(t.strings, e = new T(t)), e;
|
|
152
|
-
}
|
|
153
|
-
k(t) {
|
|
154
|
-
k(this._$AH) || (this._$AH = [], this._$AR());
|
|
155
|
-
const e = this._$AH;
|
|
156
|
-
let s, i = 0;
|
|
157
|
-
for (const o of t)
|
|
158
|
-
i === e.length ? e.push(s = new b(this.S(x()), this.S(x()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
|
159
|
-
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
|
160
|
-
}
|
|
161
|
-
_$AR(t = this._$AA.nextSibling, e) {
|
|
162
|
-
var s;
|
|
163
|
-
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
164
|
-
const i = t.nextSibling;
|
|
165
|
-
t.remove(), t = i;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
setConnected(t) {
|
|
169
|
-
var e;
|
|
170
|
-
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
class M {
|
|
174
|
-
get tagName() {
|
|
175
|
-
return this.element.tagName;
|
|
176
|
-
}
|
|
177
|
-
get _$AU() {
|
|
178
|
-
return this._$AM._$AU;
|
|
179
|
-
}
|
|
180
|
-
constructor(t, e, s, i, o) {
|
|
181
|
-
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
|
|
182
|
-
}
|
|
183
|
-
_$AI(t, e = this, s, i) {
|
|
184
|
-
const o = this.strings;
|
|
185
|
-
let n = !1;
|
|
186
|
-
if (o === void 0)
|
|
187
|
-
t = f(this, t, e, 0), n = !H(t) || t !== this._$AH && t !== N, n && (this._$AH = t);
|
|
188
|
-
else {
|
|
189
|
-
const a = t;
|
|
190
|
-
let r, $;
|
|
191
|
-
for (t = o[0], r = 0; r < o.length - 1; r++)
|
|
192
|
-
$ = f(this, a[s + r], e, r), $ === N && ($ = this._$AH[r]), n || (n = !H($) || $ !== this._$AH[r]), $ === A ? t = A : t !== A && (t += ($ ?? "") + o[r + 1]), this._$AH[r] = $;
|
|
193
|
-
}
|
|
194
|
-
n && !i && this.j(t);
|
|
195
|
-
}
|
|
196
|
-
j(t) {
|
|
197
|
-
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
class G extends M {
|
|
201
|
-
constructor() {
|
|
202
|
-
super(...arguments), this.type = 3;
|
|
203
|
-
}
|
|
204
|
-
j(t) {
|
|
205
|
-
this.element[this.name] = t === A ? void 0 : t;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
class J extends M {
|
|
209
|
-
constructor() {
|
|
210
|
-
super(...arguments), this.type = 4;
|
|
211
|
-
}
|
|
212
|
-
j(t) {
|
|
213
|
-
this.element.toggleAttribute(this.name, !!t && t !== A);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
class K extends M {
|
|
217
|
-
constructor(t, e, s, i, o) {
|
|
218
|
-
super(t, e, s, i, o), this.type = 5;
|
|
219
|
-
}
|
|
220
|
-
_$AI(t, e = this) {
|
|
221
|
-
if ((t = f(this, t, e, 0) ?? A) === N)
|
|
222
|
-
return;
|
|
223
|
-
const s = this._$AH, i = t === A && s !== A || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== A && (s === A || i);
|
|
224
|
-
i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
225
|
-
}
|
|
226
|
-
handleEvent(t) {
|
|
227
|
-
var e;
|
|
228
|
-
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
class Q {
|
|
232
|
-
constructor(t, e, s) {
|
|
233
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
234
|
-
}
|
|
235
|
-
get _$AU() {
|
|
236
|
-
return this._$AM._$AU;
|
|
237
|
-
}
|
|
238
|
-
_$AI(t) {
|
|
239
|
-
f(this, t);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
const E = y.litHtmlPolyfillSupport;
|
|
243
|
-
E == null || E(T, b), (y.litHtmlVersions ?? (y.litHtmlVersions = [])).push("3.1.2");
|
|
244
|
-
const tt = (h, t, e) => {
|
|
245
|
-
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
246
|
-
let i = s._$litPart$;
|
|
247
|
-
if (i === void 0) {
|
|
248
|
-
const o = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
249
|
-
s._$litPart$ = i = new b(t.insertBefore(x(), o), o, void 0, e ?? {});
|
|
250
|
-
}
|
|
251
|
-
return i._$AI(h), i;
|
|
252
|
-
};
|
|
253
|
-
export {
|
|
254
|
-
X as html,
|
|
255
|
-
N as noChange,
|
|
256
|
-
A as nothing,
|
|
257
|
-
tt as render,
|
|
258
|
-
Y as svg
|
|
259
|
-
};
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
-
import { html as h } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js";
|
|
3
|
-
import { LitElement as l } from "../../../../node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { customElement as x } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
-
import { property as d } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js";
|
|
6
|
-
import { state as m } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js";
|
|
7
|
-
import { styleMap as c } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/style-map.js";
|
|
8
|
-
import { classMap as u } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/class-map.js";
|
|
9
|
-
import { mergePaddingArrays as p, paddingToRem as b, paddingToCssShorthandArray as f } from "../../scripts/utilities/paddingTransformations.js";
|
|
10
|
-
import { global as v } from "../../styles/global.js";
|
|
11
|
-
import { settings as _ } from "../../scripts/settings.js";
|
|
12
|
-
import { mergeStyles as y } from "../../scripts/mergeStyles.js";
|
|
13
|
-
import { css as P } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
14
|
-
var w = Object.defineProperty, B = Object.getOwnPropertyDescriptor, i = (o, r, s, a) => {
|
|
15
|
-
for (var e = a > 1 ? void 0 : a ? B(r, s) : r, n = o.length - 1, g; n >= 0; n--)
|
|
16
|
-
(g = o[n]) && (e = (a ? g(r, s, e) : g(e)) || e);
|
|
17
|
-
return a && e && w(r, s, e), e;
|
|
18
|
-
};
|
|
19
|
-
const { prefix: R } = _;
|
|
20
|
-
let t = class extends l {
|
|
21
|
-
constructor() {
|
|
22
|
-
super(...arguments), this.width = "expand", this.colorBlend = !1, this.blendDirection = "to-top", this.border = !1, this.borderRadius = "0";
|
|
23
|
-
}
|
|
24
|
-
firstUpdated() {
|
|
25
|
-
this._mergedPadding = p(this.getPadding()), this._mobilePadding = b(this.mobilePadding);
|
|
26
|
-
}
|
|
27
|
-
updated(o) {
|
|
28
|
-
(o.has("padding") || o.has("paddingTop") || o.has("paddingRight") || o.has("paddingBottom") || o.has("paddingLeft") || o.has("mobilePadding")) && (this._mergedPadding = p(this.getPadding()), this._mobilePadding = b(this.mobilePadding));
|
|
29
|
-
}
|
|
30
|
-
getPadding() {
|
|
31
|
-
const o = [], r = f(this.padding);
|
|
32
|
-
if (r && o.push(...o, r), (this.paddingTop || this.paddingRight || this.paddingBottom || this.paddingLeft) && o.push(...o, [
|
|
33
|
-
this.paddingTop !== void 0 ? this.paddingTop : "",
|
|
34
|
-
this.paddingRight !== void 0 ? this.paddingRight : "",
|
|
35
|
-
this.paddingBottom !== void 0 ? this.paddingBottom : "",
|
|
36
|
-
this.paddingLeft !== void 0 ? this.paddingLeft : ""
|
|
37
|
-
]), o.length)
|
|
38
|
-
return o;
|
|
39
|
-
}
|
|
40
|
-
boxStyles() {
|
|
41
|
-
let o = {};
|
|
42
|
-
return this.maxWidth !== void 0 && this.maxWidth > 0 ? this.style.maxWidth = this.maxWidth / 16 + "rem" : this.maxWidth !== void 0 && this.maxWidth <= 0 && (this.style.maxWidth = "100%"), this.colorText && (o = {
|
|
43
|
-
...o,
|
|
44
|
-
"--um-color-box-text": this.colorText
|
|
45
|
-
}), this.colorBg && (o = {
|
|
46
|
-
...o,
|
|
47
|
-
"--um-color-box-bg": this.colorBg
|
|
48
|
-
}), this.opacity !== void 0 && (o = {
|
|
49
|
-
...o,
|
|
50
|
-
"--um-opacity-box-bg": this.opacity
|
|
51
|
-
}), this.borderRadius !== "0" && (o = {
|
|
52
|
-
...o,
|
|
53
|
-
"--um-border-box-radius": "var(--um-border-radius-" + this.borderRadius + ")"
|
|
54
|
-
}), this._mergedPadding && (o = {
|
|
55
|
-
...o,
|
|
56
|
-
"--um-space-box-padding-top": this._mergedPadding.unitless.top,
|
|
57
|
-
"--um-space-box-padding-right": this._mergedPadding.unitless.right,
|
|
58
|
-
"--um-space-box-padding-bottom": this._mergedPadding.unitless.bottom,
|
|
59
|
-
"--um-space-box-padding-left": this._mergedPadding.unitless.left,
|
|
60
|
-
"--um-space-box-padding-top-rem": this._mergedPadding.rem.top,
|
|
61
|
-
"--um-space-box-padding-right-rem": this._mergedPadding.rem.right,
|
|
62
|
-
"--um-space-box-padding-bottom-rem": this._mergedPadding.rem.bottom,
|
|
63
|
-
"--um-space-box-padding-left-rem": this._mergedPadding.rem.left
|
|
64
|
-
}), this._mobilePadding && (o = {
|
|
65
|
-
...o,
|
|
66
|
-
"--um-space-box-mobile-padding": this._mobilePadding
|
|
67
|
-
}), o;
|
|
68
|
-
}
|
|
69
|
-
boxClasses() {
|
|
70
|
-
const o = {};
|
|
71
|
-
return this.colorBlend && (o["box--gradient"] = !0, o["box--gradient-" + this.blendDirection] = !0), this._mergedPadding ? o["box--responsive-padding"] = !0 : o["box--fixed-padding"] = !0, this.border && (o["box--border"] = !0), this.borderRadius !== "0" && (o["box--border-radius"] = !0), o;
|
|
72
|
-
}
|
|
73
|
-
render() {
|
|
74
|
-
return h`
|
|
75
|
-
<div
|
|
76
|
-
class="box${u(this.boxClasses())}"
|
|
77
|
-
style="${c(this.boxStyles())}"
|
|
78
|
-
part="box"
|
|
79
|
-
>
|
|
80
|
-
<div class="box__content" part="box-content">
|
|
81
|
-
<slot></slot>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
`;
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
t.styles = y([
|
|
88
|
-
v,
|
|
89
|
-
P`
|
|
90
|
-
:host {
|
|
91
|
-
display: block;
|
|
92
|
-
width: var(--um-size-box-width, 100%);
|
|
93
|
-
}
|
|
94
|
-
:host([width=shrink]) {
|
|
95
|
-
width: fit-content;
|
|
96
|
-
}
|
|
97
|
-
:host([width=auto]) {
|
|
98
|
-
width: auto;
|
|
99
|
-
}
|
|
100
|
-
.box {
|
|
101
|
-
height: 100%;
|
|
102
|
-
}
|
|
103
|
-
.box--border {
|
|
104
|
-
border: rgb(var(--um-color-border, 235,235,235)) var(--um-border-box-width, 0.0625rem) solid;
|
|
105
|
-
}
|
|
106
|
-
.box--border-radius {
|
|
107
|
-
border-radius: var(--um-border-box-radius, 0);
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
}
|
|
110
|
-
.box__content {
|
|
111
|
-
color: rgba(var(--um-color-box-text, var(--um-color-section-text, 0,0,0)), 1);
|
|
112
|
-
background-color: rgba(var(--um-color-box-bg, var(--um-color-section-bg, 245,245,245)), var(--um-opacity-box-bg, 1));
|
|
113
|
-
height: 100%;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* Gradient background */
|
|
117
|
-
.box--gradient.box--gradient-to-top .box__content {
|
|
118
|
-
background-image: linear-gradient(to top, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
119
|
-
}
|
|
120
|
-
.box--gradient.box--gradient-to-bottom .box__content {
|
|
121
|
-
background-image: linear-gradient(to bottom, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
122
|
-
}
|
|
123
|
-
.box--gradient.box--gradient-to-left .box__content {
|
|
124
|
-
background-image: linear-gradient(to left, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
125
|
-
}
|
|
126
|
-
.box--gradient.box--gradient-to-right .box__content {
|
|
127
|
-
background-image: linear-gradient(to right, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/* responsive padding */
|
|
131
|
-
.box--responsive-padding .box__content {
|
|
132
|
-
padding-top: clamp(1rem, 100vw * 0.08, var(--um-space-box-padding-top-rem));
|
|
133
|
-
padding-right: clamp(1rem, 100vw * 0.08, var(--um-space-box-padding-right-rem));
|
|
134
|
-
padding-bottom: clamp(1rem, 100vw * 0.08, var(--um-space-box-padding-bottom-rem));
|
|
135
|
-
padding-left: clamp(1rem, 100vw * 0.08, var(--um-space-box-padding-left-rem));
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* Fixed padding */
|
|
139
|
-
.box--fixed-padding .box__content {
|
|
140
|
-
padding: var(--um-space-box-padding, 0.5rem);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@media screen and (max-width: 48rem) {
|
|
144
|
-
.box__content,
|
|
145
|
-
.box--responsive-padding .box__content,
|
|
146
|
-
.box--fixed-padding .box__content {
|
|
147
|
-
padding: var(--um-space-box-mobile-padding, 0.5rem);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
`
|
|
151
|
-
]);
|
|
152
|
-
i([
|
|
153
|
-
d()
|
|
154
|
-
], t.prototype, "width", 2);
|
|
155
|
-
i([
|
|
156
|
-
d({ type: Number })
|
|
157
|
-
], t.prototype, "maxWidth", 2);
|
|
158
|
-
i([
|
|
159
|
-
d()
|
|
160
|
-
], t.prototype, "padding", 2);
|
|
161
|
-
i([
|
|
162
|
-
d()
|
|
163
|
-
], t.prototype, "mobilePadding", 2);
|
|
164
|
-
i([
|
|
165
|
-
d()
|
|
166
|
-
], t.prototype, "paddingTop", 2);
|
|
167
|
-
i([
|
|
168
|
-
d()
|
|
169
|
-
], t.prototype, "paddingRight", 2);
|
|
170
|
-
i([
|
|
171
|
-
d()
|
|
172
|
-
], t.prototype, "paddingBottom", 2);
|
|
173
|
-
i([
|
|
174
|
-
d()
|
|
175
|
-
], t.prototype, "paddingLeft", 2);
|
|
176
|
-
i([
|
|
177
|
-
d()
|
|
178
|
-
], t.prototype, "colorText", 2);
|
|
179
|
-
i([
|
|
180
|
-
d()
|
|
181
|
-
], t.prototype, "colorBg", 2);
|
|
182
|
-
i([
|
|
183
|
-
d({ type: Boolean })
|
|
184
|
-
], t.prototype, "colorBlend", 2);
|
|
185
|
-
i([
|
|
186
|
-
d()
|
|
187
|
-
], t.prototype, "blendDirection", 2);
|
|
188
|
-
i([
|
|
189
|
-
d({ type: Boolean })
|
|
190
|
-
], t.prototype, "border", 2);
|
|
191
|
-
i([
|
|
192
|
-
d()
|
|
193
|
-
], t.prototype, "borderRadius", 2);
|
|
194
|
-
i([
|
|
195
|
-
d()
|
|
196
|
-
], t.prototype, "opacity", 2);
|
|
197
|
-
i([
|
|
198
|
-
m()
|
|
199
|
-
], t.prototype, "_mergedPadding", 2);
|
|
200
|
-
i([
|
|
201
|
-
m()
|
|
202
|
-
], t.prototype, "_mobilePadding", 2);
|
|
203
|
-
t = i([
|
|
204
|
-
x(`${R}-box`)
|
|
205
|
-
], t);
|
|
206
|
-
export {
|
|
207
|
-
t as Box
|
|
208
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
-
import { html as n } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js";
|
|
3
|
-
import { LitElement as a } from "../../../../node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { customElement as p } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
-
import { global as d } from "../../styles/global.js";
|
|
6
|
-
import { settings as f } from "../../scripts/settings.js";
|
|
7
|
-
import { mergeStyles as v } from "../../scripts/mergeStyles.js";
|
|
8
|
-
import { css as c } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
9
|
-
var _ = Object.defineProperty, h = Object.getOwnPropertyDescriptor, g = (l, r, s, t) => {
|
|
10
|
-
for (var e = t > 1 ? void 0 : t ? h(r, s) : r, o = l.length - 1, i; o >= 0; o--)
|
|
11
|
-
(i = l[o]) && (e = (t ? i(r, s, e) : i(e)) || e);
|
|
12
|
-
return t && e && _(r, s, e), e;
|
|
13
|
-
};
|
|
14
|
-
const { prefix: x } = f;
|
|
15
|
-
let m = class extends a {
|
|
16
|
-
render() {
|
|
17
|
-
return n`
|
|
18
|
-
<div class="inline-event__date" role="cell">
|
|
19
|
-
<slot></slot>
|
|
20
|
-
</div>
|
|
21
|
-
`;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
m.styles = v([
|
|
25
|
-
d,
|
|
26
|
-
c`
|
|
27
|
-
:host {
|
|
28
|
-
display: block;
|
|
29
|
-
flex-shrink: 1;
|
|
30
|
-
padding-right: var(--um-space-12, 0.75rem);
|
|
31
|
-
width: 9rem;
|
|
32
|
-
}
|
|
33
|
-
@media only screen and (max-width: 48rem) {
|
|
34
|
-
.inline-event__date {
|
|
35
|
-
padding: 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`
|
|
39
|
-
]);
|
|
40
|
-
m = g([
|
|
41
|
-
p(`${x}-event-date`)
|
|
42
|
-
], m);
|
|
43
|
-
export {
|
|
44
|
-
m as EventDate
|
|
45
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
-
import { html as m } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js";
|
|
3
|
-
import { LitElement as p } from "../../../../node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { customElement as v } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
-
import { property as d } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js";
|
|
6
|
-
import { classMap as c } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/class-map.js";
|
|
7
|
-
import { global as f } from "../../styles/global.js";
|
|
8
|
-
import { settings as u } from "../../scripts/settings.js";
|
|
9
|
-
import { mergeStyles as b } from "../../scripts/mergeStyles.js";
|
|
10
|
-
import "./event.js";
|
|
11
|
-
import "./event-date.js";
|
|
12
|
-
import "./event-content.js";
|
|
13
|
-
import { css as h } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
14
|
-
var g = Object.defineProperty, w = Object.getOwnPropertyDescriptor, n = (i, r, o, t) => {
|
|
15
|
-
for (var e = t > 1 ? void 0 : t ? w(r, o) : r, l = i.length - 1, a; l >= 0; l--)
|
|
16
|
-
(a = i[l]) && (e = (t ? a(r, o, e) : a(e)) || e);
|
|
17
|
-
return t && e && g(r, o, e), e;
|
|
18
|
-
};
|
|
19
|
-
const { prefix: x } = u;
|
|
20
|
-
let s = class extends p {
|
|
21
|
-
constructor() {
|
|
22
|
-
super(...arguments), this.divider = !1;
|
|
23
|
-
}
|
|
24
|
-
tableClasses() {
|
|
25
|
-
return {
|
|
26
|
-
"inline-event--divider": this.divider
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
return m`
|
|
31
|
-
<div
|
|
32
|
-
part="event-table"
|
|
33
|
-
class="inline-event${c(this.tableClasses())}"
|
|
34
|
-
role="table"
|
|
35
|
-
aria-label="Events"
|
|
36
|
-
>
|
|
37
|
-
<div role="rowgroup">
|
|
38
|
-
<slot name="event"></slot>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
`;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
s.styles = b([
|
|
45
|
-
f,
|
|
46
|
-
h`
|
|
47
|
-
:host {
|
|
48
|
-
width: 100%;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Rows */
|
|
52
|
-
.inline-event > * {
|
|
53
|
-
color: inherit;
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
gap: var(--um-space-32, 2rem);
|
|
57
|
-
width: 100%;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Divider */
|
|
61
|
-
.inline-event--divider > * {
|
|
62
|
-
gap: var(--um-space-20, 1.25rem);
|
|
63
|
-
}
|
|
64
|
-
`
|
|
65
|
-
]);
|
|
66
|
-
n([
|
|
67
|
-
d({ type: Boolean })
|
|
68
|
-
], s.prototype, "divider", 2);
|
|
69
|
-
s = n([
|
|
70
|
-
v(`${x}-event-table`)
|
|
71
|
-
], s);
|
|
72
|
-
export {
|
|
73
|
-
s as EventTable
|
|
74
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
-
import { html as l } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js";
|
|
3
|
-
import { LitElement as p } from "../../../../node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { customElement as a } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
-
import { global as v } from "../../styles/global.js";
|
|
6
|
-
import { settings as f } from "../../scripts/settings.js";
|
|
7
|
-
import { mergeStyles as c } from "../../scripts/mergeStyles.js";
|
|
8
|
-
import { css as _ } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
9
|
-
var d = Object.defineProperty, u = Object.getOwnPropertyDescriptor, x = (n, r, m, t) => {
|
|
10
|
-
for (var e = t > 1 ? void 0 : t ? u(r, m) : r, i = n.length - 1, s; i >= 0; i--)
|
|
11
|
-
(s = n[i]) && (e = (t ? s(r, m, e) : s(e)) || e);
|
|
12
|
-
return t && e && d(r, m, e), e;
|
|
13
|
-
};
|
|
14
|
-
const { prefix: g } = f;
|
|
15
|
-
let o = class extends p {
|
|
16
|
-
render() {
|
|
17
|
-
return l`
|
|
18
|
-
<div class="inline-event__item" part="event-item" role="row">
|
|
19
|
-
<slot></slot>
|
|
20
|
-
</div>
|
|
21
|
-
`;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
o.styles = c([
|
|
25
|
-
v,
|
|
26
|
-
_`
|
|
27
|
-
.inline-event__item {
|
|
28
|
-
display: flex;
|
|
29
|
-
gap: var(--um-space-32, 2rem);
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
32
|
-
@media only screen and (max-width: 48rem) {
|
|
33
|
-
.inline-event__item {
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
gap: var(--um-space-8, 0.5rem);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`
|
|
39
|
-
]);
|
|
40
|
-
o = x([
|
|
41
|
-
a(`${g}-event`)
|
|
42
|
-
], o);
|
|
43
|
-
export {
|
|
44
|
-
o as Event
|
|
45
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
|
-
import { html as p } from "../../../../node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js";
|
|
3
|
-
import { LitElement as f } from "../../../../node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { customElement as a } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js";
|
|
5
|
-
import { global as c } from "../../styles/global.js";
|
|
6
|
-
import { settings as n } from "../../scripts/settings.js";
|
|
7
|
-
import { mergeStyles as g } from "../../scripts/mergeStyles.js";
|
|
8
|
-
import { css as v } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
9
|
-
var d = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, h = (l, e, s, t) => {
|
|
10
|
-
for (var r = t > 1 ? void 0 : t ? _(e, s) : e, o = l.length - 1, i; o >= 0; o--)
|
|
11
|
-
(i = l[o]) && (r = (t ? i(e, s, r) : i(r)) || r);
|
|
12
|
-
return t && r && d(e, s, r), r;
|
|
13
|
-
};
|
|
14
|
-
const { prefix: u } = n;
|
|
15
|
-
let m = class extends f {
|
|
16
|
-
render() {
|
|
17
|
-
return p`
|
|
18
|
-
<div
|
|
19
|
-
class="grid-item"
|
|
20
|
-
part="grid-cell"
|
|
21
|
-
>
|
|
22
|
-
<slot></slot>
|
|
23
|
-
</div>
|
|
24
|
-
`;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
m.styles = g([
|
|
28
|
-
c,
|
|
29
|
-
v`
|
|
30
|
-
.grid-item {
|
|
31
|
-
height: 100%;
|
|
32
|
-
}
|
|
33
|
-
`
|
|
34
|
-
]);
|
|
35
|
-
m = h([
|
|
36
|
-
a(`${u}-grid-cell`)
|
|
37
|
-
], m);
|
|
38
|
-
export {
|
|
39
|
-
m as GridCell
|
|
40
|
-
};
|