@patimweb/crtstyleguide 1.0.28 → 1.0.29
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/lib/index.js +962 -576
- package/dist/lib/styles.css +1 -1
- package/package.json +1 -1
package/dist/lib/index.js
CHANGED
|
@@ -4,18 +4,18 @@ const d = (e) => (t, r) => {
|
|
|
4
4
|
customElements.define(e, t);
|
|
5
5
|
}) : customElements.define(e, t);
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let
|
|
7
|
+
const Mt = globalThis, Ht = Mt.ShadowRoot && (Mt.ShadyCSS === void 0 || Mt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, oe = /* @__PURE__ */ Symbol(), ee = /* @__PURE__ */ new WeakMap();
|
|
8
|
+
let pe = class {
|
|
9
9
|
constructor(t, r, i) {
|
|
10
|
-
if (this._$cssResult$ = !0, i !==
|
|
10
|
+
if (this._$cssResult$ = !0, i !== oe) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
11
11
|
this.cssText = t, this.t = r;
|
|
12
12
|
}
|
|
13
13
|
get styleSheet() {
|
|
14
14
|
let t = this.o;
|
|
15
15
|
const r = this.t;
|
|
16
|
-
if (
|
|
16
|
+
if (Ht && t === void 0) {
|
|
17
17
|
const i = r !== void 0 && r.length === 1;
|
|
18
|
-
i && (t =
|
|
18
|
+
i && (t = ee.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ee.set(r, t));
|
|
19
19
|
}
|
|
20
20
|
return t;
|
|
21
21
|
}
|
|
@@ -23,21 +23,21 @@ let le = class {
|
|
|
23
23
|
return this.cssText;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
26
|
+
const de = (e) => new pe(typeof e == "string" ? e : e + "", void 0, oe), he = (e, t) => {
|
|
27
|
+
if (Ht) e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
|
|
28
28
|
else for (const r of t) {
|
|
29
|
-
const i = document.createElement("style"), a =
|
|
29
|
+
const i = document.createElement("style"), a = Mt.litNonce;
|
|
30
30
|
a !== void 0 && i.setAttribute("nonce", a), i.textContent = r.cssText, e.appendChild(i);
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, re = Ht ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
|
33
33
|
let r = "";
|
|
34
34
|
for (const i of t.cssRules) r += i.cssText;
|
|
35
|
-
return
|
|
35
|
+
return de(r);
|
|
36
36
|
})(e) : e;
|
|
37
|
-
const { is:
|
|
37
|
+
const { is: ue, defineProperty: ve, getOwnPropertyDescriptor: ge, getOwnPropertyNames: me, getOwnPropertySymbols: fe, getPrototypeOf: be } = Object, Ft = globalThis, ae = Ft.trustedTypes, ye = ae ? ae.emptyScript : "", xe = Ft.reactiveElementPolyfillSupport, mt = (e, t) => e, Tt = { toAttribute(e, t) {
|
|
38
38
|
switch (t) {
|
|
39
39
|
case Boolean:
|
|
40
|
-
e = e ?
|
|
40
|
+
e = e ? ye : null;
|
|
41
41
|
break;
|
|
42
42
|
case Object:
|
|
43
43
|
case Array:
|
|
@@ -62,23 +62,23 @@ const { is: de, defineProperty: he, getOwnPropertyDescriptor: ue, getOwnProperty
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
return r;
|
|
65
|
-
} },
|
|
66
|
-
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"),
|
|
67
|
-
class
|
|
65
|
+
} }, Wt = (e, t) => !ue(e, t), ie = { attribute: !0, type: String, converter: Tt, reflect: !1, useDefault: !1, hasChanged: Wt };
|
|
66
|
+
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), Ft.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
67
|
+
class gt extends HTMLElement {
|
|
68
68
|
static addInitializer(t) {
|
|
69
69
|
this._$Ei(), (this.l ??= []).push(t);
|
|
70
70
|
}
|
|
71
71
|
static get observedAttributes() {
|
|
72
72
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
73
73
|
}
|
|
74
|
-
static createProperty(t, r =
|
|
74
|
+
static createProperty(t, r = ie) {
|
|
75
75
|
if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(t, r), !r.noAccessor) {
|
|
76
76
|
const i = /* @__PURE__ */ Symbol(), a = this.getPropertyDescriptor(t, i, r);
|
|
77
|
-
a !== void 0 &&
|
|
77
|
+
a !== void 0 && ve(this.prototype, t, a);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
static getPropertyDescriptor(t, r, i) {
|
|
81
|
-
const { get: a, set: s } =
|
|
81
|
+
const { get: a, set: s } = ge(this.prototype, t) ?? { get() {
|
|
82
82
|
return this[r];
|
|
83
83
|
}, set(o) {
|
|
84
84
|
this[r] = o;
|
|
@@ -89,17 +89,17 @@ class ut extends HTMLElement {
|
|
|
89
89
|
}, configurable: !0, enumerable: !0 };
|
|
90
90
|
}
|
|
91
91
|
static getPropertyOptions(t) {
|
|
92
|
-
return this.elementProperties.get(t) ??
|
|
92
|
+
return this.elementProperties.get(t) ?? ie;
|
|
93
93
|
}
|
|
94
94
|
static _$Ei() {
|
|
95
|
-
if (this.hasOwnProperty(
|
|
96
|
-
const t =
|
|
95
|
+
if (this.hasOwnProperty(mt("elementProperties"))) return;
|
|
96
|
+
const t = be(this);
|
|
97
97
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
98
98
|
}
|
|
99
99
|
static finalize() {
|
|
100
|
-
if (this.hasOwnProperty(
|
|
101
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
102
|
-
const r = this.properties, i = [...
|
|
100
|
+
if (this.hasOwnProperty(mt("finalized"))) return;
|
|
101
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(mt("properties"))) {
|
|
102
|
+
const r = this.properties, i = [...me(r), ...fe(r)];
|
|
103
103
|
for (const a of i) this.createProperty(a, r[a]);
|
|
104
104
|
}
|
|
105
105
|
const t = this[Symbol.metadata];
|
|
@@ -118,8 +118,8 @@ class ut extends HTMLElement {
|
|
|
118
118
|
const r = [];
|
|
119
119
|
if (Array.isArray(t)) {
|
|
120
120
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
121
|
-
for (const a of i) r.unshift(
|
|
122
|
-
} else t !== void 0 && r.push(
|
|
121
|
+
for (const a of i) r.unshift(re(a));
|
|
122
|
+
} else t !== void 0 && r.push(re(t));
|
|
123
123
|
return r;
|
|
124
124
|
}
|
|
125
125
|
static _$Eu(t, r) {
|
|
@@ -145,7 +145,7 @@ class ut extends HTMLElement {
|
|
|
145
145
|
}
|
|
146
146
|
createRenderRoot() {
|
|
147
147
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
148
|
-
return
|
|
148
|
+
return he(t, this.constructor.elementStyles), t;
|
|
149
149
|
}
|
|
150
150
|
connectedCallback() {
|
|
151
151
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -161,14 +161,14 @@ class ut extends HTMLElement {
|
|
|
161
161
|
_$ET(t, r) {
|
|
162
162
|
const i = this.constructor.elementProperties.get(t), a = this.constructor._$Eu(t, i);
|
|
163
163
|
if (a !== void 0 && i.reflect === !0) {
|
|
164
|
-
const s = (i.converter?.toAttribute !== void 0 ? i.converter :
|
|
164
|
+
const s = (i.converter?.toAttribute !== void 0 ? i.converter : Tt).toAttribute(r, i.type);
|
|
165
165
|
this._$Em = t, s == null ? this.removeAttribute(a) : this.setAttribute(a, s), this._$Em = null;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
_$AK(t, r) {
|
|
169
169
|
const i = this.constructor, a = i._$Eh.get(t);
|
|
170
170
|
if (a !== void 0 && this._$Em !== a) {
|
|
171
|
-
const s = i.getPropertyOptions(a), o = typeof s.converter == "function" ? { fromAttribute: s.converter } : s.converter?.fromAttribute !== void 0 ? s.converter :
|
|
171
|
+
const s = i.getPropertyOptions(a), o = typeof s.converter == "function" ? { fromAttribute: s.converter } : s.converter?.fromAttribute !== void 0 ? s.converter : Tt;
|
|
172
172
|
this._$Em = a;
|
|
173
173
|
const h = o.fromAttribute(r, s.type);
|
|
174
174
|
this[a] = h ?? this._$Ej?.get(a) ?? h, this._$Em = null;
|
|
@@ -177,7 +177,7 @@ class ut extends HTMLElement {
|
|
|
177
177
|
requestUpdate(t, r, i, a = !1, s) {
|
|
178
178
|
if (t !== void 0) {
|
|
179
179
|
const o = this.constructor;
|
|
180
|
-
if (a === !1 && (s = this[t]), i ??= o.getPropertyOptions(t), !((i.hasChanged ??
|
|
180
|
+
if (a === !1 && (s = this[t]), i ??= o.getPropertyOptions(t), !((i.hasChanged ?? Wt)(s, r) || i.useDefault && i.reflect && s === this._$Ej?.get(t) && !this.hasAttribute(o._$Eu(t, i)))) return;
|
|
181
181
|
this.C(t, r, i);
|
|
182
182
|
}
|
|
183
183
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -245,8 +245,8 @@ class ut extends HTMLElement {
|
|
|
245
245
|
firstUpdated(t) {
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
|
|
249
|
-
const
|
|
248
|
+
gt.elementStyles = [], gt.shadowRootOptions = { mode: "open" }, gt[mt("elementProperties")] = /* @__PURE__ */ new Map(), gt[mt("finalized")] = /* @__PURE__ */ new Map(), xe?.({ ReactiveElement: gt }), (Ft.reactiveElementVersions ??= []).push("2.1.2");
|
|
249
|
+
const we = { attribute: !0, type: String, converter: Tt, reflect: !1, hasChanged: Wt }, ke = (e = we, t, r) => {
|
|
250
250
|
const { kind: i, metadata: a } = r;
|
|
251
251
|
let s = globalThis.litPropertyMetadata.get(a);
|
|
252
252
|
if (s === void 0 && globalThis.litPropertyMetadata.set(a, s = /* @__PURE__ */ new Map()), i === "setter" && ((e = Object.create(e)).wrapped = !0), s.set(r.name, e), i === "accessor") {
|
|
@@ -268,7 +268,7 @@ const ye = { attribute: !0, type: String, converter: Dt, reflect: !1, hasChanged
|
|
|
268
268
|
throw Error("Unsupported decorator location: " + i);
|
|
269
269
|
};
|
|
270
270
|
function n(e) {
|
|
271
|
-
return (t, r) => typeof r == "object" ?
|
|
271
|
+
return (t, r) => typeof r == "object" ? ke(e, t, r) : ((i, a, s) => {
|
|
272
272
|
const o = a.hasOwnProperty(s);
|
|
273
273
|
return a.constructor.createProperty(s, i), o ? Object.getOwnPropertyDescriptor(a, s) : void 0;
|
|
274
274
|
})(e, t, r);
|
|
@@ -276,21 +276,21 @@ function n(e) {
|
|
|
276
276
|
function u(e) {
|
|
277
277
|
return n({ ...e, state: !0, attribute: !1 });
|
|
278
278
|
}
|
|
279
|
-
const
|
|
280
|
-
function
|
|
279
|
+
const _e = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
|
|
280
|
+
function Kt(e, t) {
|
|
281
281
|
return (r, i, a) => {
|
|
282
282
|
const s = (o) => o.renderRoot?.querySelector(e) ?? null;
|
|
283
|
-
return
|
|
283
|
+
return _e(r, i, { get() {
|
|
284
284
|
return s(this);
|
|
285
285
|
} });
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
|
-
var
|
|
289
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
288
|
+
var $e = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, Xt = (e, t, r, i) => {
|
|
289
|
+
for (var a = i > 1 ? void 0 : i ? ze(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
290
290
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
291
|
-
return i && a &&
|
|
291
|
+
return i && a && $e(t, r, a), a;
|
|
292
292
|
};
|
|
293
|
-
const
|
|
293
|
+
const se = {
|
|
294
294
|
check: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M20 6L9 17l-5-5"/></svg>',
|
|
295
295
|
checkmark: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M20 6L9 17l-5-5"/></svg>',
|
|
296
296
|
close: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M18 6L6 18M6 6l12 12"/></svg>',
|
|
@@ -345,16 +345,16 @@ const ae = {
|
|
|
345
345
|
music: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M9 18V5l12-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="16" r="3"/></svg>',
|
|
346
346
|
unknown: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="2" width="20" height="20" fill="currentColor"/><text x="12" y="16" text-anchor="middle" font-size="14" fill="var(--crt-bg-dark)">?</text></svg>'
|
|
347
347
|
};
|
|
348
|
-
let
|
|
348
|
+
let ft = class extends p {
|
|
349
349
|
constructor() {
|
|
350
350
|
super(...arguments), this.name = "", this.size = "md";
|
|
351
351
|
}
|
|
352
352
|
render() {
|
|
353
|
-
const e =
|
|
353
|
+
const e = se[this.name] ?? se.unknown, t = new DOMParser().parseFromString(e, "image/svg+xml");
|
|
354
354
|
return l`<span class="icon" aria-hidden="true">${t.documentElement}</span>`;
|
|
355
355
|
}
|
|
356
356
|
};
|
|
357
|
-
|
|
357
|
+
ft.styles = c`
|
|
358
358
|
:host {
|
|
359
359
|
display: inline-flex;
|
|
360
360
|
align-items: center;
|
|
@@ -371,19 +371,19 @@ gt.styles = c`
|
|
|
371
371
|
height: 100%;
|
|
372
372
|
}
|
|
373
373
|
`;
|
|
374
|
-
|
|
374
|
+
Xt([
|
|
375
375
|
n()
|
|
376
|
-
],
|
|
377
|
-
|
|
376
|
+
], ft.prototype, "name", 2);
|
|
377
|
+
Xt([
|
|
378
378
|
n()
|
|
379
|
-
],
|
|
380
|
-
|
|
379
|
+
], ft.prototype, "size", 2);
|
|
380
|
+
ft = Xt([
|
|
381
381
|
d("crt-icon")
|
|
382
|
-
],
|
|
383
|
-
var
|
|
384
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
382
|
+
], ft);
|
|
383
|
+
var Ce = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, B = (e, t, r, i) => {
|
|
384
|
+
for (var a = i > 1 ? void 0 : i ? Pe(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
385
385
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
386
|
-
return i && a &&
|
|
386
|
+
return i && a && Ce(t, r, a), a;
|
|
387
387
|
};
|
|
388
388
|
let _ = class extends p {
|
|
389
389
|
constructor() {
|
|
@@ -553,39 +553,39 @@ _.styles = c`
|
|
|
553
553
|
flex-shrink: 0;
|
|
554
554
|
}
|
|
555
555
|
`;
|
|
556
|
-
|
|
556
|
+
B([
|
|
557
557
|
n({ reflect: !0 })
|
|
558
558
|
], _.prototype, "size", 2);
|
|
559
|
-
|
|
559
|
+
B([
|
|
560
560
|
n({ reflect: !0 })
|
|
561
561
|
], _.prototype, "variant", 2);
|
|
562
|
-
|
|
562
|
+
B([
|
|
563
563
|
n({ type: Boolean })
|
|
564
564
|
], _.prototype, "disabled", 2);
|
|
565
|
-
|
|
565
|
+
B([
|
|
566
566
|
n()
|
|
567
567
|
], _.prototype, "type", 2);
|
|
568
|
-
|
|
568
|
+
B([
|
|
569
569
|
n({ attribute: "icon-only", type: Boolean })
|
|
570
570
|
], _.prototype, "iconOnly", 2);
|
|
571
|
-
|
|
571
|
+
B([
|
|
572
572
|
n({ attribute: "icon-left" })
|
|
573
573
|
], _.prototype, "iconLeft", 2);
|
|
574
|
-
|
|
574
|
+
B([
|
|
575
575
|
n({ attribute: "icon-right" })
|
|
576
576
|
], _.prototype, "iconRight", 2);
|
|
577
|
-
|
|
577
|
+
B([
|
|
578
578
|
n({ attribute: "aria-label" })
|
|
579
579
|
], _.prototype, "ariaLabel", 2);
|
|
580
|
-
_ =
|
|
580
|
+
_ = B([
|
|
581
581
|
d("crt-button")
|
|
582
582
|
], _);
|
|
583
|
-
var
|
|
584
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
583
|
+
var Se = Object.defineProperty, Oe = Object.getOwnPropertyDescriptor, ne = (e, t, r, i) => {
|
|
584
|
+
for (var a = i > 1 ? void 0 : i ? Oe(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
585
585
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
586
|
-
return i && a &&
|
|
586
|
+
return i && a && Se(t, r, a), a;
|
|
587
587
|
};
|
|
588
|
-
let
|
|
588
|
+
let At = class extends p {
|
|
589
589
|
constructor() {
|
|
590
590
|
super(...arguments), this.variant = "primary";
|
|
591
591
|
}
|
|
@@ -593,7 +593,7 @@ let Tt = class extends p {
|
|
|
593
593
|
return l`<span class="badge"><slot></slot></span>`;
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
|
-
|
|
596
|
+
At.styles = c`
|
|
597
597
|
:host {
|
|
598
598
|
--badge-bg: transparent;
|
|
599
599
|
--badge-color: var(--crt-primary);
|
|
@@ -633,18 +633,18 @@ Tt.styles = c`
|
|
|
633
633
|
--badge-border: 1px solid var(--crt-info);
|
|
634
634
|
}
|
|
635
635
|
`;
|
|
636
|
-
|
|
636
|
+
ne([
|
|
637
637
|
n()
|
|
638
|
-
],
|
|
639
|
-
|
|
638
|
+
], At.prototype, "variant", 2);
|
|
639
|
+
At = ne([
|
|
640
640
|
d("crt-badge")
|
|
641
|
-
],
|
|
642
|
-
var
|
|
643
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
641
|
+
], At);
|
|
642
|
+
var Ee = Object.defineProperty, De = Object.getOwnPropertyDescriptor, Vt = (e, t, r, i) => {
|
|
643
|
+
for (var a = i > 1 ? void 0 : i ? De(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
644
644
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
645
|
-
return i && a &&
|
|
645
|
+
return i && a && Ee(t, r, a), a;
|
|
646
646
|
};
|
|
647
|
-
let
|
|
647
|
+
let jt = class extends p {
|
|
648
648
|
constructor() {
|
|
649
649
|
super(...arguments), this.level = 1;
|
|
650
650
|
}
|
|
@@ -667,7 +667,7 @@ let Mt = class extends p {
|
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
|
-
|
|
670
|
+
jt.styles = c`
|
|
671
671
|
h1, h2, h3, h4, h5, h6 {
|
|
672
672
|
font-family: var(--crt-font-family);
|
|
673
673
|
color: var(--crt-text-primary);
|
|
@@ -696,13 +696,13 @@ Mt.styles = c`
|
|
|
696
696
|
font-size: var(--crt-font-size-base);
|
|
697
697
|
}
|
|
698
698
|
`;
|
|
699
|
-
|
|
699
|
+
Vt([
|
|
700
700
|
n({ type: Number })
|
|
701
|
-
],
|
|
702
|
-
|
|
701
|
+
], jt.prototype, "level", 2);
|
|
702
|
+
jt = Vt([
|
|
703
703
|
d("crt-heading")
|
|
704
|
-
],
|
|
705
|
-
let
|
|
704
|
+
], jt);
|
|
705
|
+
let Lt = class extends p {
|
|
706
706
|
constructor() {
|
|
707
707
|
super(...arguments), this.muted = !1;
|
|
708
708
|
}
|
|
@@ -710,7 +710,7 @@ let At = class extends p {
|
|
|
710
710
|
return l`<p><slot></slot></p>`;
|
|
711
711
|
}
|
|
712
712
|
};
|
|
713
|
-
|
|
713
|
+
Lt.styles = c`
|
|
714
714
|
p {
|
|
715
715
|
font-family: var(--crt-font-family);
|
|
716
716
|
color: var(--crt-text-secondary);
|
|
@@ -722,18 +722,18 @@ At.styles = c`
|
|
|
722
722
|
color: var(--crt-text-muted);
|
|
723
723
|
}
|
|
724
724
|
`;
|
|
725
|
-
|
|
725
|
+
Vt([
|
|
726
726
|
n()
|
|
727
|
-
],
|
|
728
|
-
|
|
727
|
+
], Lt.prototype, "muted", 2);
|
|
728
|
+
Lt = Vt([
|
|
729
729
|
d("crt-text")
|
|
730
|
-
],
|
|
731
|
-
var
|
|
732
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
730
|
+
], Lt);
|
|
731
|
+
var Me = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, Gt = (e, t, r, i) => {
|
|
732
|
+
for (var a = i > 1 ? void 0 : i ? Te(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
733
733
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
734
|
-
return i && a &&
|
|
734
|
+
return i && a && Me(t, r, a), a;
|
|
735
735
|
};
|
|
736
|
-
let
|
|
736
|
+
let bt = class extends p {
|
|
737
737
|
constructor() {
|
|
738
738
|
super(...arguments), this._id = `crt-tabs-${Math.random().toString(36).slice(2, 9)}`, this.activeTab = 0, this.tabs = [];
|
|
739
739
|
}
|
|
@@ -783,7 +783,7 @@ let mt = class extends p {
|
|
|
783
783
|
`;
|
|
784
784
|
}
|
|
785
785
|
};
|
|
786
|
-
|
|
786
|
+
bt.styles = c`
|
|
787
787
|
:host {
|
|
788
788
|
display: block;
|
|
789
789
|
}
|
|
@@ -847,21 +847,21 @@ mt.styles = c`
|
|
|
847
847
|
font-family: var(--crt-font-family);
|
|
848
848
|
}
|
|
849
849
|
`;
|
|
850
|
-
|
|
850
|
+
Gt([
|
|
851
851
|
u()
|
|
852
|
-
],
|
|
853
|
-
|
|
852
|
+
], bt.prototype, "activeTab", 2);
|
|
853
|
+
Gt([
|
|
854
854
|
n({ type: Array })
|
|
855
|
-
],
|
|
856
|
-
|
|
855
|
+
], bt.prototype, "tabs", 2);
|
|
856
|
+
bt = Gt([
|
|
857
857
|
d("crt-tabs")
|
|
858
|
-
],
|
|
859
|
-
var
|
|
860
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
858
|
+
], bt);
|
|
859
|
+
var Ae = Object.defineProperty, je = Object.getOwnPropertyDescriptor, P = (e, t, r, i) => {
|
|
860
|
+
for (var a = i > 1 ? void 0 : i ? je(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
861
861
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
862
|
-
return i && a &&
|
|
862
|
+
return i && a && Ae(t, r, a), a;
|
|
863
863
|
};
|
|
864
|
-
let
|
|
864
|
+
let X = class extends p {
|
|
865
865
|
constructor() {
|
|
866
866
|
super(...arguments), this.type = "text", this.placeholder = "", this.value = "", this.disabled = !1;
|
|
867
867
|
}
|
|
@@ -879,7 +879,7 @@ let K = class extends p {
|
|
|
879
879
|
`;
|
|
880
880
|
}
|
|
881
881
|
};
|
|
882
|
-
|
|
882
|
+
X.styles = c`
|
|
883
883
|
:host {
|
|
884
884
|
display: block;
|
|
885
885
|
}
|
|
@@ -935,20 +935,20 @@ K.styles = c`
|
|
|
935
935
|
`;
|
|
936
936
|
P([
|
|
937
937
|
n()
|
|
938
|
-
],
|
|
938
|
+
], X.prototype, "type", 2);
|
|
939
939
|
P([
|
|
940
940
|
n()
|
|
941
|
-
],
|
|
941
|
+
], X.prototype, "placeholder", 2);
|
|
942
942
|
P([
|
|
943
943
|
n()
|
|
944
|
-
],
|
|
944
|
+
], X.prototype, "value", 2);
|
|
945
945
|
P([
|
|
946
946
|
n()
|
|
947
|
-
],
|
|
948
|
-
|
|
947
|
+
], X.prototype, "disabled", 2);
|
|
948
|
+
X = P([
|
|
949
949
|
d("crt-input")
|
|
950
|
-
],
|
|
951
|
-
let
|
|
950
|
+
], X);
|
|
951
|
+
let G = class extends p {
|
|
952
952
|
constructor() {
|
|
953
953
|
super(...arguments), this.placeholder = "", this.value = "", this.disabled = !1, this.rows = 4;
|
|
954
954
|
}
|
|
@@ -966,7 +966,7 @@ let X = class extends p {
|
|
|
966
966
|
`;
|
|
967
967
|
}
|
|
968
968
|
};
|
|
969
|
-
|
|
969
|
+
G.styles = c`
|
|
970
970
|
:host {
|
|
971
971
|
display: block;
|
|
972
972
|
}
|
|
@@ -1009,23 +1009,23 @@ X.styles = c`
|
|
|
1009
1009
|
`;
|
|
1010
1010
|
P([
|
|
1011
1011
|
n()
|
|
1012
|
-
],
|
|
1012
|
+
], G.prototype, "placeholder", 2);
|
|
1013
1013
|
P([
|
|
1014
1014
|
n()
|
|
1015
|
-
],
|
|
1015
|
+
], G.prototype, "value", 2);
|
|
1016
1016
|
P([
|
|
1017
1017
|
n()
|
|
1018
|
-
],
|
|
1018
|
+
], G.prototype, "disabled", 2);
|
|
1019
1019
|
P([
|
|
1020
1020
|
n()
|
|
1021
|
-
],
|
|
1022
|
-
|
|
1021
|
+
], G.prototype, "rows", 2);
|
|
1022
|
+
G = P([
|
|
1023
1023
|
d("crt-textarea")
|
|
1024
|
-
],
|
|
1025
|
-
var
|
|
1026
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
1024
|
+
], G);
|
|
1025
|
+
var Le = Object.defineProperty, Ie = Object.getOwnPropertyDescriptor, dt = (e, t, r, i) => {
|
|
1026
|
+
for (var a = i > 1 ? void 0 : i ? Ie(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
1027
1027
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
1028
|
-
return i && a &&
|
|
1028
|
+
return i && a && Le(t, r, a), a;
|
|
1029
1029
|
};
|
|
1030
1030
|
let N = class extends p {
|
|
1031
1031
|
constructor() {
|
|
@@ -1073,30 +1073,30 @@ N.styles = c`
|
|
|
1073
1073
|
color: var(--crt-primary-dark);
|
|
1074
1074
|
}
|
|
1075
1075
|
`;
|
|
1076
|
-
|
|
1076
|
+
dt([
|
|
1077
1077
|
n({ type: String })
|
|
1078
1078
|
], N.prototype, "href", 2);
|
|
1079
|
-
|
|
1079
|
+
dt([
|
|
1080
1080
|
n({ type: String })
|
|
1081
1081
|
], N.prototype, "target", 2);
|
|
1082
|
-
|
|
1082
|
+
dt([
|
|
1083
1083
|
n({ type: Boolean })
|
|
1084
1084
|
], N.prototype, "iconLeft", 2);
|
|
1085
|
-
|
|
1085
|
+
dt([
|
|
1086
1086
|
n({ type: Boolean })
|
|
1087
1087
|
], N.prototype, "iconRight", 2);
|
|
1088
|
-
|
|
1088
|
+
dt([
|
|
1089
1089
|
n({ type: String })
|
|
1090
1090
|
], N.prototype, "icon", 2);
|
|
1091
|
-
N =
|
|
1091
|
+
N = dt([
|
|
1092
1092
|
d("crt-link")
|
|
1093
1093
|
], N);
|
|
1094
|
-
var
|
|
1095
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
1094
|
+
var Be = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, it = (e, t, r, i) => {
|
|
1095
|
+
for (var a = i > 1 ? void 0 : i ? Re(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
1096
1096
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
1097
|
-
return i && a &&
|
|
1097
|
+
return i && a && Be(t, r, a), a;
|
|
1098
1098
|
};
|
|
1099
|
-
let
|
|
1099
|
+
let M = class extends p {
|
|
1100
1100
|
constructor() {
|
|
1101
1101
|
super(...arguments), this.accept = "", this.multiple = !0, this.name = "", this.maxSize = 10485760, this.maxFiles = 10, this.files = [], this._handleFileSelect = (e) => {
|
|
1102
1102
|
const t = e.target;
|
|
@@ -1238,7 +1238,7 @@ let T = class extends p {
|
|
|
1238
1238
|
`;
|
|
1239
1239
|
}
|
|
1240
1240
|
};
|
|
1241
|
-
|
|
1241
|
+
M.styles = c`
|
|
1242
1242
|
:host {
|
|
1243
1243
|
display: block;
|
|
1244
1244
|
font-family: var(--crt-font-family);
|
|
@@ -1527,31 +1527,31 @@ T.styles = c`
|
|
|
1527
1527
|
transition: width 0.3s ease;
|
|
1528
1528
|
}
|
|
1529
1529
|
`;
|
|
1530
|
-
|
|
1530
|
+
it([
|
|
1531
1531
|
n({ type: String })
|
|
1532
|
-
],
|
|
1533
|
-
|
|
1532
|
+
], M.prototype, "accept", 2);
|
|
1533
|
+
it([
|
|
1534
1534
|
n({ type: Boolean })
|
|
1535
|
-
],
|
|
1536
|
-
|
|
1535
|
+
], M.prototype, "multiple", 2);
|
|
1536
|
+
it([
|
|
1537
1537
|
n({ type: String })
|
|
1538
|
-
],
|
|
1539
|
-
|
|
1538
|
+
], M.prototype, "name", 2);
|
|
1539
|
+
it([
|
|
1540
1540
|
n({ type: Number })
|
|
1541
|
-
],
|
|
1542
|
-
|
|
1541
|
+
], M.prototype, "maxSize", 2);
|
|
1542
|
+
it([
|
|
1543
1543
|
n({ type: Number })
|
|
1544
|
-
],
|
|
1545
|
-
|
|
1544
|
+
], M.prototype, "maxFiles", 2);
|
|
1545
|
+
it([
|
|
1546
1546
|
u()
|
|
1547
|
-
],
|
|
1548
|
-
|
|
1547
|
+
], M.prototype, "files", 2);
|
|
1548
|
+
M = it([
|
|
1549
1549
|
d("crt-file-upload")
|
|
1550
|
-
],
|
|
1551
|
-
var
|
|
1552
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
1550
|
+
], M);
|
|
1551
|
+
var Ue = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, S = (e, t, r, i) => {
|
|
1552
|
+
for (var a = i > 1 ? void 0 : i ? Ne(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
1553
1553
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
1554
|
-
return i && a &&
|
|
1554
|
+
return i && a && Ue(t, r, a), a;
|
|
1555
1555
|
};
|
|
1556
1556
|
let y = class extends p {
|
|
1557
1557
|
constructor() {
|
|
@@ -1644,10 +1644,10 @@ let y = class extends p {
|
|
|
1644
1644
|
`);
|
|
1645
1645
|
}
|
|
1646
1646
|
for (let h = 1; h <= r; h++) {
|
|
1647
|
-
const v = new Date(e, t, h), k = this._isToday(v),
|
|
1647
|
+
const v = new Date(e, t, h), k = this._isToday(v), ce = this._isSelected(v);
|
|
1648
1648
|
s.push(l`
|
|
1649
1649
|
<div
|
|
1650
|
-
class="day ${k ? "today" : ""} ${
|
|
1650
|
+
class="day ${k ? "today" : ""} ${ce ? "selected" : ""}"
|
|
1651
1651
|
@click="${() => this._selectDate(v)}"
|
|
1652
1652
|
>
|
|
1653
1653
|
${h}
|
|
@@ -1958,12 +1958,12 @@ S([
|
|
|
1958
1958
|
y = S([
|
|
1959
1959
|
d("crt-calendar")
|
|
1960
1960
|
], y);
|
|
1961
|
-
var
|
|
1962
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
1961
|
+
var Fe = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, st = (e, t, r, i) => {
|
|
1962
|
+
for (var a = i > 1 ? void 0 : i ? Ve(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
1963
1963
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
1964
|
-
return i && a &&
|
|
1964
|
+
return i && a && Fe(t, r, a), a;
|
|
1965
1965
|
};
|
|
1966
|
-
let
|
|
1966
|
+
let T = class extends p {
|
|
1967
1967
|
constructor() {
|
|
1968
1968
|
super(...arguments), this._id = `crt-select-${Math.random().toString(36).slice(2, 9)}`, this.value = "", this.placeholder = "Select...", this.label = "", this.disabled = !1, this.options = [], this._isOpen = !1, this._handleOutsideClick = (e) => {
|
|
1969
1969
|
this.contains(e.target) || (this._isOpen = !1);
|
|
@@ -2057,7 +2057,7 @@ let M = class extends p {
|
|
|
2057
2057
|
`;
|
|
2058
2058
|
}
|
|
2059
2059
|
};
|
|
2060
|
-
|
|
2060
|
+
T.styles = c`
|
|
2061
2061
|
:host {
|
|
2062
2062
|
display: inline-block;
|
|
2063
2063
|
font-family: var(--crt-font-family);
|
|
@@ -2213,31 +2213,31 @@ M.styles = c`
|
|
|
2213
2213
|
background: var(--crt-primary);
|
|
2214
2214
|
}
|
|
2215
2215
|
`;
|
|
2216
|
-
|
|
2216
|
+
st([
|
|
2217
2217
|
n({ type: String })
|
|
2218
|
-
],
|
|
2219
|
-
|
|
2218
|
+
], T.prototype, "value", 2);
|
|
2219
|
+
st([
|
|
2220
2220
|
n({ type: String })
|
|
2221
|
-
],
|
|
2222
|
-
|
|
2221
|
+
], T.prototype, "placeholder", 2);
|
|
2222
|
+
st([
|
|
2223
2223
|
n({ type: String })
|
|
2224
|
-
],
|
|
2225
|
-
|
|
2224
|
+
], T.prototype, "label", 2);
|
|
2225
|
+
st([
|
|
2226
2226
|
n({ type: Boolean })
|
|
2227
|
-
],
|
|
2228
|
-
|
|
2227
|
+
], T.prototype, "disabled", 2);
|
|
2228
|
+
st([
|
|
2229
2229
|
n({ type: Array })
|
|
2230
|
-
],
|
|
2231
|
-
|
|
2230
|
+
], T.prototype, "options", 2);
|
|
2231
|
+
st([
|
|
2232
2232
|
u()
|
|
2233
|
-
],
|
|
2234
|
-
|
|
2233
|
+
], T.prototype, "_isOpen", 2);
|
|
2234
|
+
T = st([
|
|
2235
2235
|
d("crt-select")
|
|
2236
|
-
],
|
|
2237
|
-
var
|
|
2238
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
2236
|
+
], T);
|
|
2237
|
+
var Ye = Object.defineProperty, qe = Object.getOwnPropertyDescriptor, z = (e, t, r, i) => {
|
|
2238
|
+
for (var a = i > 1 ? void 0 : i ? qe(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2239
2239
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
2240
|
-
return i && a &&
|
|
2240
|
+
return i && a && Ye(t, r, a), a;
|
|
2241
2241
|
};
|
|
2242
2242
|
let f = class extends p {
|
|
2243
2243
|
constructor() {
|
|
@@ -2459,12 +2459,12 @@ z([
|
|
|
2459
2459
|
f = z([
|
|
2460
2460
|
d("crt-search")
|
|
2461
2461
|
], f);
|
|
2462
|
-
var
|
|
2463
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
2462
|
+
var He = Object.defineProperty, We = Object.getOwnPropertyDescriptor, g = (e, t, r, i) => {
|
|
2463
|
+
for (var a = i > 1 ? void 0 : i ? We(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2464
2464
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
2465
|
-
return i && a &&
|
|
2465
|
+
return i && a && He(t, r, a), a;
|
|
2466
2466
|
};
|
|
2467
|
-
let
|
|
2467
|
+
let F = class extends p {
|
|
2468
2468
|
constructor() {
|
|
2469
2469
|
super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.label = "", this.value = "";
|
|
2470
2470
|
}
|
|
@@ -2492,7 +2492,7 @@ let U = class extends p {
|
|
|
2492
2492
|
`;
|
|
2493
2493
|
}
|
|
2494
2494
|
};
|
|
2495
|
-
|
|
2495
|
+
F.styles = c`
|
|
2496
2496
|
:host {
|
|
2497
2497
|
display: inline-flex;
|
|
2498
2498
|
align-items: center;
|
|
@@ -2574,23 +2574,23 @@ U.styles = c`
|
|
|
2574
2574
|
`;
|
|
2575
2575
|
g([
|
|
2576
2576
|
n({ type: Boolean, reflect: !0 })
|
|
2577
|
-
],
|
|
2577
|
+
], F.prototype, "checked", 2);
|
|
2578
2578
|
g([
|
|
2579
2579
|
n({ type: Boolean, reflect: !0 })
|
|
2580
|
-
],
|
|
2580
|
+
], F.prototype, "disabled", 2);
|
|
2581
2581
|
g([
|
|
2582
2582
|
n({ type: Boolean })
|
|
2583
|
-
],
|
|
2583
|
+
], F.prototype, "indeterminate", 2);
|
|
2584
2584
|
g([
|
|
2585
2585
|
n({ type: String })
|
|
2586
|
-
],
|
|
2586
|
+
], F.prototype, "label", 2);
|
|
2587
2587
|
g([
|
|
2588
2588
|
n({ type: String })
|
|
2589
|
-
],
|
|
2590
|
-
|
|
2589
|
+
], F.prototype, "value", 2);
|
|
2590
|
+
F = g([
|
|
2591
2591
|
d("crt-checkbox")
|
|
2592
|
-
],
|
|
2593
|
-
let
|
|
2592
|
+
], F);
|
|
2593
|
+
let V = class extends p {
|
|
2594
2594
|
constructor() {
|
|
2595
2595
|
super(...arguments), this.checked = !1, this.disabled = !1, this.label = "", this.value = "", this.name = "";
|
|
2596
2596
|
}
|
|
@@ -2619,7 +2619,7 @@ let F = class extends p {
|
|
|
2619
2619
|
`;
|
|
2620
2620
|
}
|
|
2621
2621
|
};
|
|
2622
|
-
|
|
2622
|
+
V.styles = c`
|
|
2623
2623
|
:host {
|
|
2624
2624
|
display: inline-flex;
|
|
2625
2625
|
align-items: center;
|
|
@@ -2693,23 +2693,23 @@ F.styles = c`
|
|
|
2693
2693
|
`;
|
|
2694
2694
|
g([
|
|
2695
2695
|
n({ type: Boolean, reflect: !0 })
|
|
2696
|
-
],
|
|
2696
|
+
], V.prototype, "checked", 2);
|
|
2697
2697
|
g([
|
|
2698
2698
|
n({ type: Boolean, reflect: !0 })
|
|
2699
|
-
],
|
|
2699
|
+
], V.prototype, "disabled", 2);
|
|
2700
2700
|
g([
|
|
2701
2701
|
n({ type: String })
|
|
2702
|
-
],
|
|
2702
|
+
], V.prototype, "label", 2);
|
|
2703
2703
|
g([
|
|
2704
2704
|
n({ type: String })
|
|
2705
|
-
],
|
|
2705
|
+
], V.prototype, "value", 2);
|
|
2706
2706
|
g([
|
|
2707
2707
|
n({ type: String })
|
|
2708
|
-
],
|
|
2709
|
-
|
|
2708
|
+
], V.prototype, "name", 2);
|
|
2709
|
+
V = g([
|
|
2710
2710
|
d("crt-radio")
|
|
2711
|
-
],
|
|
2712
|
-
let
|
|
2711
|
+
], V);
|
|
2712
|
+
let ct = class extends p {
|
|
2713
2713
|
constructor() {
|
|
2714
2714
|
super(...arguments), this.name = "", this.value = "", this.horizontal = !1, this._handleChange = (e) => {
|
|
2715
2715
|
const t = e.target;
|
|
@@ -2730,7 +2730,7 @@ let nt = class extends p {
|
|
|
2730
2730
|
return l`<slot></slot>`;
|
|
2731
2731
|
}
|
|
2732
2732
|
};
|
|
2733
|
-
|
|
2733
|
+
ct.styles = c`
|
|
2734
2734
|
:host {
|
|
2735
2735
|
display: flex;
|
|
2736
2736
|
flex-direction: column;
|
|
@@ -2745,20 +2745,20 @@ nt.styles = c`
|
|
|
2745
2745
|
`;
|
|
2746
2746
|
g([
|
|
2747
2747
|
n({ type: String })
|
|
2748
|
-
],
|
|
2748
|
+
], ct.prototype, "name", 2);
|
|
2749
2749
|
g([
|
|
2750
2750
|
n({ type: String })
|
|
2751
|
-
],
|
|
2751
|
+
], ct.prototype, "value", 2);
|
|
2752
2752
|
g([
|
|
2753
2753
|
n({ type: Boolean, reflect: !0 })
|
|
2754
|
-
],
|
|
2755
|
-
|
|
2754
|
+
], ct.prototype, "horizontal", 2);
|
|
2755
|
+
ct = g([
|
|
2756
2756
|
d("crt-radio-group")
|
|
2757
|
-
],
|
|
2758
|
-
var
|
|
2759
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
2757
|
+
], ct);
|
|
2758
|
+
var Ke = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, O = (e, t, r, i) => {
|
|
2759
|
+
for (var a = i > 1 ? void 0 : i ? Xe(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2760
2760
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
2761
|
-
return i && a &&
|
|
2761
|
+
return i && a && Ke(t, r, a), a;
|
|
2762
2762
|
};
|
|
2763
2763
|
let x = class extends p {
|
|
2764
2764
|
constructor() {
|
|
@@ -2938,12 +2938,12 @@ O([
|
|
|
2938
2938
|
x = O([
|
|
2939
2939
|
d("crt-progress")
|
|
2940
2940
|
], x);
|
|
2941
|
-
var
|
|
2942
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
2941
|
+
var Ge = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, $t = (e, t, r, i) => {
|
|
2942
|
+
for (var a = i > 1 ? void 0 : i ? Qe(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2943
2943
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
2944
|
-
return i && a &&
|
|
2944
|
+
return i && a && Ge(t, r, a), a;
|
|
2945
2945
|
};
|
|
2946
|
-
let
|
|
2946
|
+
let Q = class extends p {
|
|
2947
2947
|
constructor() {
|
|
2948
2948
|
super(...arguments), this.text = "", this.position = "top", this.delay = 200, this._visible = !1;
|
|
2949
2949
|
}
|
|
@@ -2972,7 +2972,7 @@ let G = class extends p {
|
|
|
2972
2972
|
`;
|
|
2973
2973
|
}
|
|
2974
2974
|
};
|
|
2975
|
-
|
|
2975
|
+
Q.styles = c`
|
|
2976
2976
|
:host {
|
|
2977
2977
|
display: inline-block;
|
|
2978
2978
|
position: relative;
|
|
@@ -3080,27 +3080,27 @@ G.styles = c`
|
|
|
3080
3080
|
border-right-color: var(--crt-primary);
|
|
3081
3081
|
}
|
|
3082
3082
|
`;
|
|
3083
|
-
|
|
3083
|
+
$t([
|
|
3084
3084
|
n({ type: String })
|
|
3085
|
-
],
|
|
3086
|
-
|
|
3085
|
+
], Q.prototype, "text", 2);
|
|
3086
|
+
$t([
|
|
3087
3087
|
n({ type: String, reflect: !0 })
|
|
3088
|
-
],
|
|
3089
|
-
|
|
3088
|
+
], Q.prototype, "position", 2);
|
|
3089
|
+
$t([
|
|
3090
3090
|
n({ type: Number })
|
|
3091
|
-
],
|
|
3092
|
-
|
|
3091
|
+
], Q.prototype, "delay", 2);
|
|
3092
|
+
$t([
|
|
3093
3093
|
u()
|
|
3094
|
-
],
|
|
3095
|
-
|
|
3094
|
+
], Q.prototype, "_visible", 2);
|
|
3095
|
+
Q = $t([
|
|
3096
3096
|
d("crt-tooltip")
|
|
3097
|
-
],
|
|
3098
|
-
var
|
|
3099
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
3097
|
+
], Q);
|
|
3098
|
+
var Ze = Object.defineProperty, Je = Object.getOwnPropertyDescriptor, Qt = (e, t, r, i) => {
|
|
3099
|
+
for (var a = i > 1 ? void 0 : i ? Je(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3100
3100
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
3101
|
-
return i && a &&
|
|
3101
|
+
return i && a && Ze(t, r, a), a;
|
|
3102
3102
|
};
|
|
3103
|
-
let
|
|
3103
|
+
let yt = class extends p {
|
|
3104
3104
|
constructor() {
|
|
3105
3105
|
super(...arguments), this.items = [], this.separator = ">";
|
|
3106
3106
|
}
|
|
@@ -3118,7 +3118,7 @@ let ft = class extends p {
|
|
|
3118
3118
|
`;
|
|
3119
3119
|
}
|
|
3120
3120
|
};
|
|
3121
|
-
|
|
3121
|
+
yt.styles = c`
|
|
3122
3122
|
:host {
|
|
3123
3123
|
display: block;
|
|
3124
3124
|
font-family: var(--crt-font-family);
|
|
@@ -3165,21 +3165,21 @@ ft.styles = c`
|
|
|
3165
3165
|
font-size: var(--crt-font-size-sm);
|
|
3166
3166
|
}
|
|
3167
3167
|
`;
|
|
3168
|
-
|
|
3168
|
+
Qt([
|
|
3169
3169
|
n({ type: Array })
|
|
3170
|
-
],
|
|
3171
|
-
|
|
3170
|
+
], yt.prototype, "items", 2);
|
|
3171
|
+
Qt([
|
|
3172
3172
|
n({ type: String })
|
|
3173
|
-
],
|
|
3174
|
-
|
|
3173
|
+
], yt.prototype, "separator", 2);
|
|
3174
|
+
yt = Qt([
|
|
3175
3175
|
d("crt-breadcrumb")
|
|
3176
|
-
],
|
|
3177
|
-
var
|
|
3178
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
3176
|
+
], yt);
|
|
3177
|
+
var tr = Object.defineProperty, er = Object.getOwnPropertyDescriptor, zt = (e, t, r, i) => {
|
|
3178
|
+
for (var a = i > 1 ? void 0 : i ? er(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3179
3179
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
3180
|
-
return i && a &&
|
|
3180
|
+
return i && a && tr(t, r, a), a;
|
|
3181
3181
|
};
|
|
3182
|
-
let
|
|
3182
|
+
let Z = class extends p {
|
|
3183
3183
|
constructor() {
|
|
3184
3184
|
super(...arguments), this.current = 1, this.total = 1, this.siblings = 1, this.showInfo = !0;
|
|
3185
3185
|
}
|
|
@@ -3241,7 +3241,7 @@ let Q = class extends p {
|
|
|
3241
3241
|
`;
|
|
3242
3242
|
}
|
|
3243
3243
|
};
|
|
3244
|
-
|
|
3244
|
+
Z.styles = c`
|
|
3245
3245
|
:host {
|
|
3246
3246
|
display: block;
|
|
3247
3247
|
font-family: var(--crt-font-family);
|
|
@@ -3294,25 +3294,25 @@ Q.styles = c`
|
|
|
3294
3294
|
margin-left: var(--crt-spacing-md);
|
|
3295
3295
|
}
|
|
3296
3296
|
`;
|
|
3297
|
-
|
|
3297
|
+
zt([
|
|
3298
3298
|
n({ type: Number })
|
|
3299
|
-
],
|
|
3300
|
-
|
|
3299
|
+
], Z.prototype, "current", 2);
|
|
3300
|
+
zt([
|
|
3301
3301
|
n({ type: Number })
|
|
3302
|
-
],
|
|
3303
|
-
|
|
3302
|
+
], Z.prototype, "total", 2);
|
|
3303
|
+
zt([
|
|
3304
3304
|
n({ type: Number })
|
|
3305
|
-
],
|
|
3306
|
-
|
|
3305
|
+
], Z.prototype, "siblings", 2);
|
|
3306
|
+
zt([
|
|
3307
3307
|
n({ type: Boolean })
|
|
3308
|
-
],
|
|
3309
|
-
|
|
3308
|
+
], Z.prototype, "showInfo", 2);
|
|
3309
|
+
Z = zt([
|
|
3310
3310
|
d("crt-pagination")
|
|
3311
|
-
],
|
|
3312
|
-
var
|
|
3313
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
3311
|
+
], Z);
|
|
3312
|
+
var rr = Object.defineProperty, ar = Object.getOwnPropertyDescriptor, E = (e, t, r, i) => {
|
|
3313
|
+
for (var a = i > 1 ? void 0 : i ? ar(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3314
3314
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
3315
|
-
return i && a &&
|
|
3315
|
+
return i && a && rr(t, r, a), a;
|
|
3316
3316
|
};
|
|
3317
3317
|
let w = class extends p {
|
|
3318
3318
|
constructor() {
|
|
@@ -3534,10 +3534,10 @@ E([
|
|
|
3534
3534
|
w = E([
|
|
3535
3535
|
d("crt-slider")
|
|
3536
3536
|
], w);
|
|
3537
|
-
var
|
|
3538
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
3537
|
+
var ir = Object.defineProperty, sr = Object.getOwnPropertyDescriptor, ot = (e, t, r, i) => {
|
|
3538
|
+
for (var a = i > 1 ? void 0 : i ? sr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3539
3539
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
3540
|
-
return i && a &&
|
|
3540
|
+
return i && a && ir(t, r, a), a;
|
|
3541
3541
|
};
|
|
3542
3542
|
let A = class extends p {
|
|
3543
3543
|
constructor() {
|
|
@@ -3682,31 +3682,31 @@ A.styles = c`
|
|
|
3682
3682
|
--label-size: 11px;
|
|
3683
3683
|
}
|
|
3684
3684
|
`;
|
|
3685
|
-
|
|
3685
|
+
ot([
|
|
3686
3686
|
n({ type: Boolean, reflect: !0 })
|
|
3687
3687
|
], A.prototype, "checked", 2);
|
|
3688
|
-
|
|
3688
|
+
ot([
|
|
3689
3689
|
n({ type: Boolean, reflect: !0 })
|
|
3690
3690
|
], A.prototype, "disabled", 2);
|
|
3691
|
-
|
|
3691
|
+
ot([
|
|
3692
3692
|
n({ type: String })
|
|
3693
3693
|
], A.prototype, "label", 2);
|
|
3694
|
-
|
|
3694
|
+
ot([
|
|
3695
3695
|
n({ type: String })
|
|
3696
3696
|
], A.prototype, "onLabel", 2);
|
|
3697
|
-
|
|
3697
|
+
ot([
|
|
3698
3698
|
n({ type: String })
|
|
3699
3699
|
], A.prototype, "offLabel", 2);
|
|
3700
|
-
|
|
3700
|
+
ot([
|
|
3701
3701
|
n({ type: String, reflect: !0 })
|
|
3702
3702
|
], A.prototype, "size", 2);
|
|
3703
|
-
A =
|
|
3703
|
+
A = ot([
|
|
3704
3704
|
d("crt-toggle")
|
|
3705
3705
|
], A);
|
|
3706
|
-
var
|
|
3707
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
3706
|
+
var or = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, R = (e, t, r, i) => {
|
|
3707
|
+
for (var a = i > 1 ? void 0 : i ? nr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3708
3708
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
3709
|
-
return i && a &&
|
|
3709
|
+
return i && a && or(t, r, a), a;
|
|
3710
3710
|
};
|
|
3711
3711
|
let j = class extends p {
|
|
3712
3712
|
constructor() {
|
|
@@ -3864,28 +3864,28 @@ j.styles = c`
|
|
|
3864
3864
|
border-color: var(--crt-bg-dark);
|
|
3865
3865
|
}
|
|
3866
3866
|
`;
|
|
3867
|
-
|
|
3867
|
+
R([
|
|
3868
3868
|
n({ type: String })
|
|
3869
3869
|
], j.prototype, "src", 2);
|
|
3870
|
-
|
|
3870
|
+
R([
|
|
3871
3871
|
n({ type: String })
|
|
3872
3872
|
], j.prototype, "alt", 2);
|
|
3873
|
-
|
|
3873
|
+
R([
|
|
3874
3874
|
n({ type: String })
|
|
3875
3875
|
], j.prototype, "name", 2);
|
|
3876
|
-
|
|
3876
|
+
R([
|
|
3877
3877
|
n({ type: String, reflect: !0 })
|
|
3878
3878
|
], j.prototype, "size", 2);
|
|
3879
|
-
|
|
3879
|
+
R([
|
|
3880
3880
|
n({ type: String, reflect: !0 })
|
|
3881
3881
|
], j.prototype, "shape", 2);
|
|
3882
|
-
|
|
3882
|
+
R([
|
|
3883
3883
|
n({ type: String, reflect: !0 })
|
|
3884
3884
|
], j.prototype, "status", 2);
|
|
3885
|
-
j =
|
|
3885
|
+
j = R([
|
|
3886
3886
|
d("crt-avatar")
|
|
3887
3887
|
], j);
|
|
3888
|
-
let
|
|
3888
|
+
let It = class extends p {
|
|
3889
3889
|
constructor() {
|
|
3890
3890
|
super(...arguments), this.max = 5;
|
|
3891
3891
|
}
|
|
@@ -3895,7 +3895,7 @@ let jt = class extends p {
|
|
|
3895
3895
|
`;
|
|
3896
3896
|
}
|
|
3897
3897
|
};
|
|
3898
|
-
|
|
3898
|
+
It.styles = c`
|
|
3899
3899
|
:host {
|
|
3900
3900
|
display: inline-flex;
|
|
3901
3901
|
align-items: center;
|
|
@@ -3923,18 +3923,18 @@ jt.styles = c`
|
|
|
3923
3923
|
margin-left: -12px;
|
|
3924
3924
|
}
|
|
3925
3925
|
`;
|
|
3926
|
-
|
|
3926
|
+
R([
|
|
3927
3927
|
n({ type: Number })
|
|
3928
|
-
],
|
|
3929
|
-
|
|
3928
|
+
], It.prototype, "max", 2);
|
|
3929
|
+
It = R([
|
|
3930
3930
|
d("crt-avatar-group")
|
|
3931
|
-
],
|
|
3932
|
-
var
|
|
3933
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
3931
|
+
], It);
|
|
3932
|
+
var lr = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, D = (e, t, r, i) => {
|
|
3933
|
+
for (var a = i > 1 ? void 0 : i ? cr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
3934
3934
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
3935
|
-
return i && a &&
|
|
3935
|
+
return i && a && lr(t, r, a), a;
|
|
3936
3936
|
};
|
|
3937
|
-
let
|
|
3937
|
+
let Y = class extends p {
|
|
3938
3938
|
constructor() {
|
|
3939
3939
|
super(...arguments), this.variant = "rectangular", this.animation = "shimmer", this.width = "100%", this.height = "20px", this.effect = !1;
|
|
3940
3940
|
}
|
|
@@ -3947,7 +3947,7 @@ let V = class extends p {
|
|
|
3947
3947
|
`;
|
|
3948
3948
|
}
|
|
3949
3949
|
};
|
|
3950
|
-
|
|
3950
|
+
Y.styles = c`
|
|
3951
3951
|
:host {
|
|
3952
3952
|
display: block;
|
|
3953
3953
|
}
|
|
@@ -4064,23 +4064,23 @@ V.styles = c`
|
|
|
4064
4064
|
`;
|
|
4065
4065
|
D([
|
|
4066
4066
|
n({ type: String, reflect: !0 })
|
|
4067
|
-
],
|
|
4067
|
+
], Y.prototype, "variant", 2);
|
|
4068
4068
|
D([
|
|
4069
4069
|
n({ type: String, reflect: !0 })
|
|
4070
|
-
],
|
|
4070
|
+
], Y.prototype, "animation", 2);
|
|
4071
4071
|
D([
|
|
4072
4072
|
n({ type: String })
|
|
4073
|
-
],
|
|
4073
|
+
], Y.prototype, "width", 2);
|
|
4074
4074
|
D([
|
|
4075
4075
|
n({ type: String })
|
|
4076
|
-
],
|
|
4076
|
+
], Y.prototype, "height", 2);
|
|
4077
4077
|
D([
|
|
4078
4078
|
n({ type: Boolean, reflect: !0 })
|
|
4079
|
-
],
|
|
4080
|
-
|
|
4079
|
+
], Y.prototype, "effect", 2);
|
|
4080
|
+
Y = D([
|
|
4081
4081
|
d("crt-skeleton")
|
|
4082
|
-
],
|
|
4083
|
-
let
|
|
4082
|
+
], Y);
|
|
4083
|
+
let Bt = class extends p {
|
|
4084
4084
|
constructor() {
|
|
4085
4085
|
super(...arguments), this.lines = 3;
|
|
4086
4086
|
}
|
|
@@ -4092,7 +4092,7 @@ let Lt = class extends p {
|
|
|
4092
4092
|
`;
|
|
4093
4093
|
}
|
|
4094
4094
|
};
|
|
4095
|
-
|
|
4095
|
+
Bt.styles = c`
|
|
4096
4096
|
:host {
|
|
4097
4097
|
display: block;
|
|
4098
4098
|
}
|
|
@@ -4126,11 +4126,11 @@ Lt.styles = c`
|
|
|
4126
4126
|
`;
|
|
4127
4127
|
D([
|
|
4128
4128
|
n({ type: Number })
|
|
4129
|
-
],
|
|
4130
|
-
|
|
4129
|
+
], Bt.prototype, "lines", 2);
|
|
4130
|
+
Bt = D([
|
|
4131
4131
|
d("crt-skeleton-text")
|
|
4132
|
-
],
|
|
4133
|
-
let
|
|
4132
|
+
], Bt);
|
|
4133
|
+
let Rt = class extends p {
|
|
4134
4134
|
constructor() {
|
|
4135
4135
|
super(...arguments), this.hideImage = !1;
|
|
4136
4136
|
}
|
|
@@ -4146,7 +4146,7 @@ let It = class extends p {
|
|
|
4146
4146
|
`;
|
|
4147
4147
|
}
|
|
4148
4148
|
};
|
|
4149
|
-
|
|
4149
|
+
Rt.styles = c`
|
|
4150
4150
|
:host {
|
|
4151
4151
|
display: block;
|
|
4152
4152
|
}
|
|
@@ -4199,14 +4199,14 @@ It.styles = c`
|
|
|
4199
4199
|
`;
|
|
4200
4200
|
D([
|
|
4201
4201
|
n({ type: Boolean })
|
|
4202
|
-
],
|
|
4203
|
-
|
|
4202
|
+
], Rt.prototype, "hideImage", 2);
|
|
4203
|
+
Rt = D([
|
|
4204
4204
|
d("crt-skeleton-card")
|
|
4205
|
-
],
|
|
4206
|
-
var
|
|
4207
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
4205
|
+
], Rt);
|
|
4206
|
+
var pr = Object.defineProperty, dr = Object.getOwnPropertyDescriptor, U = (e, t, r, i) => {
|
|
4207
|
+
for (var a = i > 1 ? void 0 : i ? dr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
4208
4208
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
4209
|
-
return i && a &&
|
|
4209
|
+
return i && a && pr(t, r, a), a;
|
|
4210
4210
|
};
|
|
4211
4211
|
let $ = class extends p {
|
|
4212
4212
|
constructor() {
|
|
@@ -4409,39 +4409,39 @@ $.styles = c`
|
|
|
4409
4409
|
border-top: none;
|
|
4410
4410
|
}
|
|
4411
4411
|
`;
|
|
4412
|
-
|
|
4412
|
+
U([
|
|
4413
4413
|
n({ type: String, reflect: !0 })
|
|
4414
4414
|
], $.prototype, "variant", 2);
|
|
4415
|
-
|
|
4415
|
+
U([
|
|
4416
4416
|
n({ type: String })
|
|
4417
4417
|
], $.prototype, "title", 2);
|
|
4418
|
-
|
|
4418
|
+
U([
|
|
4419
4419
|
n({ type: Boolean, reflect: !0 })
|
|
4420
4420
|
], $.prototype, "closable", 2);
|
|
4421
|
-
|
|
4421
|
+
U([
|
|
4422
4422
|
n({ type: Boolean, reflect: !0 })
|
|
4423
4423
|
], $.prototype, "filled", 2);
|
|
4424
|
-
|
|
4424
|
+
U([
|
|
4425
4425
|
n({ type: Boolean, reflect: !0 })
|
|
4426
4426
|
], $.prototype, "outlined", 2);
|
|
4427
|
-
|
|
4427
|
+
U([
|
|
4428
4428
|
n({ type: Boolean, reflect: !0 })
|
|
4429
4429
|
], $.prototype, "banner", 2);
|
|
4430
|
-
|
|
4430
|
+
U([
|
|
4431
4431
|
n({ type: Boolean, reflect: !0 })
|
|
4432
4432
|
], $.prototype, "animated", 2);
|
|
4433
|
-
|
|
4433
|
+
U([
|
|
4434
4434
|
n({ type: String })
|
|
4435
4435
|
], $.prototype, "icon", 2);
|
|
4436
|
-
$ =
|
|
4436
|
+
$ = U([
|
|
4437
4437
|
d("crt-alert")
|
|
4438
4438
|
], $);
|
|
4439
|
-
var
|
|
4440
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
4439
|
+
var hr = Object.defineProperty, ur = Object.getOwnPropertyDescriptor, Ct = (e, t, r, i) => {
|
|
4440
|
+
for (var a = i > 1 ? void 0 : i ? ur(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
4441
4441
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
4442
|
-
return i && a &&
|
|
4442
|
+
return i && a && hr(t, r, a), a;
|
|
4443
4443
|
};
|
|
4444
|
-
let
|
|
4444
|
+
let J = class extends p {
|
|
4445
4445
|
constructor() {
|
|
4446
4446
|
super(...arguments), this.open = !1, this.message = "LOADING...", this.size = "md", this.fullscreen = !1;
|
|
4447
4447
|
}
|
|
@@ -4458,7 +4458,7 @@ let Z = class extends p {
|
|
|
4458
4458
|
` : l``;
|
|
4459
4459
|
}
|
|
4460
4460
|
};
|
|
4461
|
-
|
|
4461
|
+
J.styles = c`
|
|
4462
4462
|
:host {
|
|
4463
4463
|
--crt-spinner-size: 12px;
|
|
4464
4464
|
display: none;
|
|
@@ -4525,27 +4525,27 @@ Z.styles = c`
|
|
|
4525
4525
|
50% { opacity: 0.4; }
|
|
4526
4526
|
}
|
|
4527
4527
|
`;
|
|
4528
|
-
|
|
4528
|
+
Ct([
|
|
4529
4529
|
n({ type: Boolean, reflect: !0 })
|
|
4530
|
-
],
|
|
4531
|
-
|
|
4530
|
+
], J.prototype, "open", 2);
|
|
4531
|
+
Ct([
|
|
4532
4532
|
n({ type: String })
|
|
4533
|
-
],
|
|
4534
|
-
|
|
4533
|
+
], J.prototype, "message", 2);
|
|
4534
|
+
Ct([
|
|
4535
4535
|
n({ type: String, reflect: !0 })
|
|
4536
|
-
],
|
|
4537
|
-
|
|
4536
|
+
], J.prototype, "size", 2);
|
|
4537
|
+
Ct([
|
|
4538
4538
|
n({ type: Boolean, reflect: !0 })
|
|
4539
|
-
],
|
|
4540
|
-
|
|
4539
|
+
], J.prototype, "fullscreen", 2);
|
|
4540
|
+
J = Ct([
|
|
4541
4541
|
d("crt-spinner")
|
|
4542
|
-
],
|
|
4543
|
-
var
|
|
4544
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
4542
|
+
], J);
|
|
4543
|
+
var vr = Object.getOwnPropertyDescriptor, gr = (e, t, r, i) => {
|
|
4544
|
+
for (var a = i > 1 ? void 0 : i ? vr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
4545
4545
|
(o = e[s]) && (a = o(a) || a);
|
|
4546
4546
|
return a;
|
|
4547
4547
|
};
|
|
4548
|
-
let
|
|
4548
|
+
let qt = class extends p {
|
|
4549
4549
|
render() {
|
|
4550
4550
|
return l`
|
|
4551
4551
|
<div class="card">
|
|
@@ -4562,7 +4562,7 @@ let Vt = class extends p {
|
|
|
4562
4562
|
`;
|
|
4563
4563
|
}
|
|
4564
4564
|
};
|
|
4565
|
-
|
|
4565
|
+
qt.styles = c`
|
|
4566
4566
|
:host {
|
|
4567
4567
|
/* Make the card element act like a normal block-level container
|
|
4568
4568
|
so external width/height styles can be applied responsively. */
|
|
@@ -4600,13 +4600,13 @@ Vt.styles = c`
|
|
|
4600
4600
|
margin-top: var(--crt-spacing-md);
|
|
4601
4601
|
}
|
|
4602
4602
|
`;
|
|
4603
|
-
|
|
4603
|
+
qt = gr([
|
|
4604
4604
|
d("crt-card")
|
|
4605
|
-
],
|
|
4606
|
-
var
|
|
4607
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
4605
|
+
], qt);
|
|
4606
|
+
var mr = Object.defineProperty, fr = Object.getOwnPropertyDescriptor, ht = (e, t, r, i) => {
|
|
4607
|
+
for (var a = i > 1 ? void 0 : i ? fr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
4608
4608
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
4609
|
-
return i && a &&
|
|
4609
|
+
return i && a && mr(t, r, a), a;
|
|
4610
4610
|
};
|
|
4611
4611
|
let q = class extends p {
|
|
4612
4612
|
constructor() {
|
|
@@ -4692,30 +4692,30 @@ q.styles = c`
|
|
|
4692
4692
|
border-bottom: none;
|
|
4693
4693
|
}
|
|
4694
4694
|
`;
|
|
4695
|
-
|
|
4695
|
+
ht([
|
|
4696
4696
|
n({ type: Array })
|
|
4697
4697
|
], q.prototype, "headers", 2);
|
|
4698
|
-
|
|
4698
|
+
ht([
|
|
4699
4699
|
n({ type: Array })
|
|
4700
4700
|
], q.prototype, "rows", 2);
|
|
4701
|
-
|
|
4701
|
+
ht([
|
|
4702
4702
|
n({ type: Number })
|
|
4703
4703
|
], q.prototype, "page", 2);
|
|
4704
|
-
|
|
4704
|
+
ht([
|
|
4705
4705
|
n({ type: Number, attribute: "page-size" })
|
|
4706
4706
|
], q.prototype, "pageSize", 2);
|
|
4707
|
-
|
|
4707
|
+
ht([
|
|
4708
4708
|
n({ type: Boolean, attribute: "show-pagination" })
|
|
4709
4709
|
], q.prototype, "showPagination", 2);
|
|
4710
|
-
q =
|
|
4710
|
+
q = ht([
|
|
4711
4711
|
d("crt-table")
|
|
4712
4712
|
], q);
|
|
4713
|
-
var
|
|
4714
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
4713
|
+
var br = Object.defineProperty, yr = Object.getOwnPropertyDescriptor, Zt = (e, t, r, i) => {
|
|
4714
|
+
for (var a = i > 1 ? void 0 : i ? yr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
4715
4715
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
4716
|
-
return i && a &&
|
|
4716
|
+
return i && a && br(t, r, a), a;
|
|
4717
4717
|
};
|
|
4718
|
-
let
|
|
4718
|
+
let xt = class extends p {
|
|
4719
4719
|
constructor() {
|
|
4720
4720
|
super(...arguments), this.columns = 3, this.gap = "var(--crt-spacing-lg)";
|
|
4721
4721
|
}
|
|
@@ -4733,7 +4733,7 @@ let bt = class extends p {
|
|
|
4733
4733
|
`;
|
|
4734
4734
|
}
|
|
4735
4735
|
};
|
|
4736
|
-
|
|
4736
|
+
xt.styles = c`
|
|
4737
4737
|
:host {
|
|
4738
4738
|
display: block;
|
|
4739
4739
|
}
|
|
@@ -4762,19 +4762,19 @@ bt.styles = c`
|
|
|
4762
4762
|
}
|
|
4763
4763
|
}
|
|
4764
4764
|
`;
|
|
4765
|
-
|
|
4765
|
+
Zt([
|
|
4766
4766
|
n({ type: Number })
|
|
4767
|
-
],
|
|
4768
|
-
|
|
4767
|
+
], xt.prototype, "columns", 2);
|
|
4768
|
+
Zt([
|
|
4769
4769
|
n({ type: String })
|
|
4770
|
-
],
|
|
4771
|
-
|
|
4770
|
+
], xt.prototype, "gap", 2);
|
|
4771
|
+
xt = Zt([
|
|
4772
4772
|
d("crt-grid")
|
|
4773
|
-
],
|
|
4774
|
-
var
|
|
4775
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
4773
|
+
], xt);
|
|
4774
|
+
var xr = Object.defineProperty, wr = Object.getOwnPropertyDescriptor, ut = (e, t, r, i) => {
|
|
4775
|
+
for (var a = i > 1 ? void 0 : i ? wr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
4776
4776
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
4777
|
-
return i && a &&
|
|
4777
|
+
return i && a && xr(t, r, a), a;
|
|
4778
4778
|
};
|
|
4779
4779
|
let H = class extends p {
|
|
4780
4780
|
constructor() {
|
|
@@ -4980,30 +4980,30 @@ H.styles = c`
|
|
|
4980
4980
|
color: var(--crt-bg-dark);
|
|
4981
4981
|
}
|
|
4982
4982
|
`;
|
|
4983
|
-
|
|
4983
|
+
ut([
|
|
4984
4984
|
n()
|
|
4985
4985
|
], H.prototype, "title", 2);
|
|
4986
|
-
|
|
4986
|
+
ut([
|
|
4987
4987
|
n()
|
|
4988
4988
|
], H.prototype, "description", 2);
|
|
4989
|
-
|
|
4989
|
+
ut([
|
|
4990
4990
|
n()
|
|
4991
4991
|
], H.prototype, "code", 2);
|
|
4992
|
-
|
|
4992
|
+
ut([
|
|
4993
4993
|
u()
|
|
4994
4994
|
], H.prototype, "activeTab", 2);
|
|
4995
|
-
|
|
4995
|
+
ut([
|
|
4996
4996
|
u()
|
|
4997
4997
|
], H.prototype, "copied", 2);
|
|
4998
|
-
H =
|
|
4998
|
+
H = ut([
|
|
4999
4999
|
d("crt-code-example")
|
|
5000
5000
|
], H);
|
|
5001
|
-
var
|
|
5002
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
5001
|
+
var kr = Object.defineProperty, _r = Object.getOwnPropertyDescriptor, Pt = (e, t, r, i) => {
|
|
5002
|
+
for (var a = i > 1 ? void 0 : i ? _r(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
5003
5003
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
5004
|
-
return i && a &&
|
|
5004
|
+
return i && a && kr(t, r, a), a;
|
|
5005
5005
|
};
|
|
5006
|
-
let
|
|
5006
|
+
let tt = class extends p {
|
|
5007
5007
|
constructor() {
|
|
5008
5008
|
super(...arguments), this.open = !1, this.title = "Modal", this.size = "medium", this.preventBackdropClose = !1, this._handleKeydown = (e) => {
|
|
5009
5009
|
e.key === "Escape" && this.open && this.close("escape");
|
|
@@ -5044,7 +5044,7 @@ let J = class extends p {
|
|
|
5044
5044
|
`;
|
|
5045
5045
|
}
|
|
5046
5046
|
};
|
|
5047
|
-
|
|
5047
|
+
tt.styles = c`
|
|
5048
5048
|
:host {
|
|
5049
5049
|
display: none;
|
|
5050
5050
|
}
|
|
@@ -5167,25 +5167,25 @@ J.styles = c`
|
|
|
5167
5167
|
height: calc(95vh - 120px);
|
|
5168
5168
|
}
|
|
5169
5169
|
`;
|
|
5170
|
-
|
|
5170
|
+
Pt([
|
|
5171
5171
|
n({ type: Boolean, reflect: !0 })
|
|
5172
|
-
],
|
|
5173
|
-
|
|
5172
|
+
], tt.prototype, "open", 2);
|
|
5173
|
+
Pt([
|
|
5174
5174
|
n({ type: String })
|
|
5175
|
-
],
|
|
5176
|
-
|
|
5175
|
+
], tt.prototype, "title", 2);
|
|
5176
|
+
Pt([
|
|
5177
5177
|
n({ type: String })
|
|
5178
|
-
],
|
|
5179
|
-
|
|
5178
|
+
], tt.prototype, "size", 2);
|
|
5179
|
+
Pt([
|
|
5180
5180
|
n({ type: Boolean, reflect: !0 })
|
|
5181
|
-
],
|
|
5182
|
-
|
|
5181
|
+
], tt.prototype, "preventBackdropClose", 2);
|
|
5182
|
+
tt = Pt([
|
|
5183
5183
|
d("crt-modal")
|
|
5184
|
-
],
|
|
5185
|
-
var
|
|
5186
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
5184
|
+
], tt);
|
|
5185
|
+
var $r = Object.defineProperty, zr = Object.getOwnPropertyDescriptor, nt = (e, t, r, i) => {
|
|
5186
|
+
for (var a = i > 1 ? void 0 : i ? zr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
5187
5187
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
5188
|
-
return i && a &&
|
|
5188
|
+
return i && a && $r(t, r, a), a;
|
|
5189
5189
|
};
|
|
5190
5190
|
let L = class extends p {
|
|
5191
5191
|
constructor() {
|
|
@@ -5419,33 +5419,33 @@ L.styles = c`
|
|
|
5419
5419
|
to { width: 0%; }
|
|
5420
5420
|
}
|
|
5421
5421
|
`;
|
|
5422
|
-
|
|
5422
|
+
nt([
|
|
5423
5423
|
n({ type: String, reflect: !0 })
|
|
5424
5424
|
], L.prototype, "position", 2);
|
|
5425
|
-
|
|
5425
|
+
nt([
|
|
5426
5426
|
n({ type: String })
|
|
5427
5427
|
], L.prototype, "message", 2);
|
|
5428
|
-
|
|
5428
|
+
nt([
|
|
5429
5429
|
n({ type: String })
|
|
5430
5430
|
], L.prototype, "title", 2);
|
|
5431
|
-
|
|
5431
|
+
nt([
|
|
5432
5432
|
n({ type: String })
|
|
5433
5433
|
], L.prototype, "variant", 2);
|
|
5434
|
-
|
|
5434
|
+
nt([
|
|
5435
5435
|
n({ type: Number })
|
|
5436
5436
|
], L.prototype, "duration", 2);
|
|
5437
|
-
|
|
5437
|
+
nt([
|
|
5438
5438
|
u()
|
|
5439
5439
|
], L.prototype, "_toasts", 2);
|
|
5440
|
-
L =
|
|
5440
|
+
L = nt([
|
|
5441
5441
|
d("crt-toast")
|
|
5442
5442
|
], L);
|
|
5443
|
-
var
|
|
5444
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
5443
|
+
var Cr = Object.defineProperty, Pr = Object.getOwnPropertyDescriptor, St = (e, t, r, i) => {
|
|
5444
|
+
for (var a = i > 1 ? void 0 : i ? Pr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
5445
5445
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
5446
|
-
return i && a &&
|
|
5446
|
+
return i && a && Cr(t, r, a), a;
|
|
5447
5447
|
};
|
|
5448
|
-
let
|
|
5448
|
+
let wt = class extends p {
|
|
5449
5449
|
constructor() {
|
|
5450
5450
|
super(...arguments), this.header = "", this.open = !1;
|
|
5451
5451
|
}
|
|
@@ -5474,7 +5474,7 @@ let yt = class extends p {
|
|
|
5474
5474
|
`;
|
|
5475
5475
|
}
|
|
5476
5476
|
};
|
|
5477
|
-
|
|
5477
|
+
wt.styles = c`
|
|
5478
5478
|
:host {
|
|
5479
5479
|
display: block;
|
|
5480
5480
|
font-family: var(--crt-font-family);
|
|
@@ -5545,16 +5545,16 @@ yt.styles = c`
|
|
|
5545
5545
|
color: var(--crt-text-secondary);
|
|
5546
5546
|
}
|
|
5547
5547
|
`;
|
|
5548
|
-
|
|
5548
|
+
St([
|
|
5549
5549
|
n({ type: String })
|
|
5550
|
-
],
|
|
5551
|
-
|
|
5550
|
+
], wt.prototype, "header", 2);
|
|
5551
|
+
St([
|
|
5552
5552
|
n({ type: Boolean, reflect: !0 })
|
|
5553
|
-
],
|
|
5554
|
-
|
|
5553
|
+
], wt.prototype, "open", 2);
|
|
5554
|
+
wt = St([
|
|
5555
5555
|
d("crt-accordion-item")
|
|
5556
|
-
],
|
|
5557
|
-
let
|
|
5556
|
+
], wt);
|
|
5557
|
+
let Ut = class extends p {
|
|
5558
5558
|
constructor() {
|
|
5559
5559
|
super(...arguments), this.multiple = !1, this._handleToggle = (e) => {
|
|
5560
5560
|
!this.multiple && e.detail.open && this.querySelectorAll("crt-accordion-item").forEach((t) => {
|
|
@@ -5572,23 +5572,23 @@ let Bt = class extends p {
|
|
|
5572
5572
|
return l`<slot></slot>`;
|
|
5573
5573
|
}
|
|
5574
5574
|
};
|
|
5575
|
-
|
|
5575
|
+
Ut.styles = c`
|
|
5576
5576
|
:host {
|
|
5577
5577
|
display: block;
|
|
5578
5578
|
}
|
|
5579
5579
|
`;
|
|
5580
|
-
|
|
5580
|
+
St([
|
|
5581
5581
|
n({ type: Boolean })
|
|
5582
|
-
],
|
|
5583
|
-
|
|
5582
|
+
], Ut.prototype, "multiple", 2);
|
|
5583
|
+
Ut = St([
|
|
5584
5584
|
d("crt-accordion")
|
|
5585
|
-
],
|
|
5586
|
-
var
|
|
5587
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
5585
|
+
], Ut);
|
|
5586
|
+
var Sr = Object.defineProperty, Or = Object.getOwnPropertyDescriptor, Ot = (e, t, r, i) => {
|
|
5587
|
+
for (var a = i > 1 ? void 0 : i ? Or(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
5588
5588
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
5589
|
-
return i && a &&
|
|
5589
|
+
return i && a && Sr(t, r, a), a;
|
|
5590
5590
|
};
|
|
5591
|
-
let
|
|
5591
|
+
let et = class extends p {
|
|
5592
5592
|
constructor() {
|
|
5593
5593
|
super(...arguments), this.bars = 20, this.mode = 1, this.barHeights = [], this.isActive = !1, this.visualize = () => {
|
|
5594
5594
|
if (!this.isActive || !this.analyser || !this.dataArray) return;
|
|
@@ -5646,7 +5646,7 @@ let tt = class extends p {
|
|
|
5646
5646
|
`;
|
|
5647
5647
|
}
|
|
5648
5648
|
};
|
|
5649
|
-
|
|
5649
|
+
et.styles = c`
|
|
5650
5650
|
:host {
|
|
5651
5651
|
display: block;
|
|
5652
5652
|
}
|
|
@@ -5718,27 +5718,27 @@ tt.styles = c`
|
|
|
5718
5718
|
animation: none;
|
|
5719
5719
|
}
|
|
5720
5720
|
`;
|
|
5721
|
-
|
|
5721
|
+
Ot([
|
|
5722
5722
|
n({ type: Number })
|
|
5723
|
-
],
|
|
5724
|
-
|
|
5723
|
+
], et.prototype, "bars", 2);
|
|
5724
|
+
Ot([
|
|
5725
5725
|
n({ type: Number })
|
|
5726
|
-
],
|
|
5727
|
-
|
|
5726
|
+
], et.prototype, "mode", 2);
|
|
5727
|
+
Ot([
|
|
5728
5728
|
u()
|
|
5729
|
-
],
|
|
5730
|
-
|
|
5729
|
+
], et.prototype, "barHeights", 2);
|
|
5730
|
+
Ot([
|
|
5731
5731
|
u()
|
|
5732
|
-
],
|
|
5733
|
-
|
|
5732
|
+
], et.prototype, "isActive", 2);
|
|
5733
|
+
et = Ot([
|
|
5734
5734
|
d("crt-visualizer")
|
|
5735
|
-
],
|
|
5736
|
-
var
|
|
5737
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
5735
|
+
], et);
|
|
5736
|
+
var Er = Object.defineProperty, Dr = Object.getOwnPropertyDescriptor, Jt = (e, t, r, i) => {
|
|
5737
|
+
for (var a = i > 1 ? void 0 : i ? Dr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
5738
5738
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
5739
|
-
return i && a &&
|
|
5739
|
+
return i && a && Er(t, r, a), a;
|
|
5740
5740
|
};
|
|
5741
|
-
let
|
|
5741
|
+
let kt = class extends p {
|
|
5742
5742
|
constructor() {
|
|
5743
5743
|
super(...arguments), this.tracks = [], this.currentIndex = 0;
|
|
5744
5744
|
}
|
|
@@ -5807,7 +5807,7 @@ let xt = class extends p {
|
|
|
5807
5807
|
`;
|
|
5808
5808
|
}
|
|
5809
5809
|
};
|
|
5810
|
-
|
|
5810
|
+
kt.styles = c`
|
|
5811
5811
|
:host {
|
|
5812
5812
|
display: block;
|
|
5813
5813
|
width: 100%;
|
|
@@ -5969,19 +5969,19 @@ xt.styles = c`
|
|
|
5969
5969
|
background: rgba(0, 255, 0, 0.5);
|
|
5970
5970
|
}
|
|
5971
5971
|
`;
|
|
5972
|
-
|
|
5972
|
+
Jt([
|
|
5973
5973
|
n({ type: Array })
|
|
5974
|
-
],
|
|
5975
|
-
|
|
5974
|
+
], kt.prototype, "tracks", 2);
|
|
5975
|
+
Jt([
|
|
5976
5976
|
n({ type: Number })
|
|
5977
|
-
],
|
|
5978
|
-
|
|
5977
|
+
], kt.prototype, "currentIndex", 2);
|
|
5978
|
+
kt = Jt([
|
|
5979
5979
|
d("crt-playlist")
|
|
5980
|
-
],
|
|
5981
|
-
var
|
|
5982
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
5980
|
+
], kt);
|
|
5981
|
+
var Mr = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, b = (e, t, r, i) => {
|
|
5982
|
+
for (var a = i > 1 ? void 0 : i ? Tr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
5983
5983
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
5984
|
-
return i && a &&
|
|
5984
|
+
return i && a && Mr(t, r, a), a;
|
|
5985
5985
|
};
|
|
5986
5986
|
let m = class extends p {
|
|
5987
5987
|
constructor() {
|
|
@@ -6408,18 +6408,18 @@ b([
|
|
|
6408
6408
|
u()
|
|
6409
6409
|
], m.prototype, "lyricsOpen", 2);
|
|
6410
6410
|
b([
|
|
6411
|
-
|
|
6411
|
+
Kt("audio")
|
|
6412
6412
|
], m.prototype, "audio", 2);
|
|
6413
6413
|
b([
|
|
6414
|
-
|
|
6414
|
+
Kt("crt-visualizer")
|
|
6415
6415
|
], m.prototype, "visualizer", 2);
|
|
6416
6416
|
m = b([
|
|
6417
6417
|
d("crt-music-player")
|
|
6418
6418
|
], m);
|
|
6419
|
-
var
|
|
6420
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
6419
|
+
var Ar = Object.defineProperty, jr = Object.getOwnPropertyDescriptor, vt = (e, t, r, i) => {
|
|
6420
|
+
for (var a = i > 1 ? void 0 : i ? jr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
6421
6421
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
6422
|
-
return i && a &&
|
|
6422
|
+
return i && a && Ar(t, r, a), a;
|
|
6423
6423
|
};
|
|
6424
6424
|
let W = class extends p {
|
|
6425
6425
|
constructor() {
|
|
@@ -6560,30 +6560,30 @@ W.styles = c`
|
|
|
6560
6560
|
.fake-input .input-text { display:inline-block; white-space:pre; line-height: 1.4; }
|
|
6561
6561
|
.muted { opacity: 0.7; font-size: 0.9em; }
|
|
6562
6562
|
`;
|
|
6563
|
-
|
|
6563
|
+
vt([
|
|
6564
6564
|
n({ type: Number })
|
|
6565
6565
|
], W.prototype, "rows", 2);
|
|
6566
|
-
|
|
6566
|
+
vt([
|
|
6567
6567
|
n({ type: String })
|
|
6568
6568
|
], W.prototype, "prompt", 2);
|
|
6569
|
-
|
|
6569
|
+
vt([
|
|
6570
6570
|
n({ type: Boolean, reflect: !0 })
|
|
6571
6571
|
], W.prototype, "disabled", 2);
|
|
6572
|
-
|
|
6572
|
+
vt([
|
|
6573
6573
|
u()
|
|
6574
6574
|
], W.prototype, "outputs", 2);
|
|
6575
|
-
|
|
6575
|
+
vt([
|
|
6576
6576
|
u()
|
|
6577
6577
|
], W.prototype, "input", 2);
|
|
6578
|
-
W =
|
|
6578
|
+
W = vt([
|
|
6579
6579
|
d("crt-terminal")
|
|
6580
6580
|
], W);
|
|
6581
|
-
var
|
|
6582
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
6581
|
+
var Lr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, Et = (e, t, r, i) => {
|
|
6582
|
+
for (var a = i > 1 ? void 0 : i ? Ir(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
6583
6583
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
6584
|
-
return i && a &&
|
|
6584
|
+
return i && a && Lr(t, r, a), a;
|
|
6585
6585
|
};
|
|
6586
|
-
let
|
|
6586
|
+
let rt = class extends p {
|
|
6587
6587
|
constructor() {
|
|
6588
6588
|
super(...arguments), this.items = [], this.brand = "", this._open = !1;
|
|
6589
6589
|
}
|
|
@@ -6665,7 +6665,7 @@ let et = class extends p {
|
|
|
6665
6665
|
`;
|
|
6666
6666
|
}
|
|
6667
6667
|
};
|
|
6668
|
-
|
|
6668
|
+
rt.styles = c`
|
|
6669
6669
|
:host { display: block; font-family: var(--crt-font-family); }
|
|
6670
6670
|
.nav {
|
|
6671
6671
|
position: relative;
|
|
@@ -6749,55 +6749,47 @@ et.styles = c`
|
|
|
6749
6749
|
.brand { justify-content: space-between; width: 100%; }
|
|
6750
6750
|
}
|
|
6751
6751
|
`;
|
|
6752
|
-
|
|
6752
|
+
Et([
|
|
6753
6753
|
n({ type: Array })
|
|
6754
|
-
],
|
|
6755
|
-
|
|
6754
|
+
], rt.prototype, "items", 2);
|
|
6755
|
+
Et([
|
|
6756
6756
|
n({ type: String })
|
|
6757
|
-
],
|
|
6758
|
-
|
|
6757
|
+
], rt.prototype, "brand", 2);
|
|
6758
|
+
Et([
|
|
6759
6759
|
u()
|
|
6760
|
-
],
|
|
6761
|
-
|
|
6760
|
+
], rt.prototype, "_open", 2);
|
|
6761
|
+
Et([
|
|
6762
6762
|
n({ type: Number })
|
|
6763
|
-
],
|
|
6764
|
-
|
|
6763
|
+
], rt.prototype, "maxVisible", 2);
|
|
6764
|
+
rt = Et([
|
|
6765
6765
|
d("crt-navbar")
|
|
6766
|
-
],
|
|
6767
|
-
var
|
|
6768
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
6766
|
+
], rt);
|
|
6767
|
+
var Br = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, Yt = (e, t, r, i) => {
|
|
6768
|
+
for (var a = i > 1 ? void 0 : i ? Rr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
6769
6769
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
6770
|
-
return i && a &&
|
|
6770
|
+
return i && a && Br(t, r, a), a;
|
|
6771
6771
|
};
|
|
6772
|
-
let
|
|
6772
|
+
let pt = class extends p {
|
|
6773
6773
|
constructor() {
|
|
6774
|
-
super(...arguments), this.title = "", this.
|
|
6774
|
+
super(...arguments), this.title = "", this.overlayActive = !1, this.currentColor = "green";
|
|
6775
6775
|
}
|
|
6776
|
-
|
|
6777
|
-
this.
|
|
6778
|
-
detail: { active:
|
|
6779
|
-
bubbles: !0,
|
|
6780
|
-
composed: !0
|
|
6781
|
-
}));
|
|
6782
|
-
}
|
|
6783
|
-
disableScreen() {
|
|
6784
|
-
this.screenActive = !1, this.dispatchEvent(new CustomEvent("screen-toggle", {
|
|
6785
|
-
detail: { active: !1 },
|
|
6776
|
+
toggleOverlay() {
|
|
6777
|
+
this.overlayActive = !this.overlayActive, this.dispatchEvent(new CustomEvent("overlay-toggle", {
|
|
6778
|
+
detail: { active: this.overlayActive },
|
|
6786
6779
|
bubbles: !0,
|
|
6787
6780
|
composed: !0
|
|
6788
6781
|
}));
|
|
6789
6782
|
}
|
|
6790
6783
|
changeColor(e) {
|
|
6784
|
+
this.currentColor = e, document.documentElement.setAttribute("data-crt-theme", e);
|
|
6791
6785
|
const r = {
|
|
6792
6786
|
green: { primary: "#8aff8a", light: "#b4ffb4", dark: "#33ff33", textPrimary: "#8aff8a", textSecondary: "rgba(138, 255, 138, 0.7)", textMuted: "rgba(138, 255, 138, 0.5)" },
|
|
6793
6787
|
amber: { primary: "#ffd700", light: "#ffe680", dark: "#ffb000", textPrimary: "#ffd700", textSecondary: "rgba(255, 215, 0, 0.7)", textMuted: "rgba(255, 215, 0, 0.5)" },
|
|
6794
6788
|
blue: { primary: "#66ffff", light: "#99ffff", dark: "#00cccc", textPrimary: "#66ffff", textSecondary: "rgba(102, 255, 255, 0.7)", textMuted: "rgba(102, 255, 255, 0.5)" }
|
|
6795
6789
|
}[e];
|
|
6796
|
-
document.documentElement.style.setProperty("--crt-primary", r.primary), document.documentElement.style.setProperty("--crt-primary-light", r.light), document.documentElement.style.setProperty("--crt-primary-dark", r.dark), document.documentElement.style.setProperty("--crt-text-primary", r.textPrimary), document.documentElement.style.setProperty("--crt-text-secondary", r.textSecondary), document.documentElement.style.setProperty("--crt-text-muted", r.textMuted), document.documentElement.style.setProperty("--crt-border-color", r.primary)
|
|
6790
|
+
document.documentElement.style.setProperty("--crt-primary", r.primary), document.documentElement.style.setProperty("--crt-primary-light", r.light), document.documentElement.style.setProperty("--crt-primary-dark", r.dark), document.documentElement.style.setProperty("--crt-text-primary", r.textPrimary), document.documentElement.style.setProperty("--crt-text-secondary", r.textSecondary), document.documentElement.style.setProperty("--crt-text-muted", r.textMuted), document.documentElement.style.setProperty("--crt-border-color", r.primary);
|
|
6797
6791
|
const i = r.primary.replace("#", "%23"), a = `url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="8" height="16" fill="${i}"/></svg>'), auto`, s = `url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"><rect width="12" height="12" fill="${i}"/></svg>') 6 6, pointer`, o = `url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="24" viewBox="0 0 16 24"><rect x="2" y="0" width="12" height="2" fill="${i}"/><rect x="7" y="2" width="2" height="20" fill="${i}"/><rect x="2" y="22" width="12" height="2" fill="${i}"/></svg>') 8 12, text`;
|
|
6798
|
-
document.documentElement.style.setProperty("--crt-cursor-default", a), document.documentElement.style.setProperty("--crt-cursor-pointer", s), document.documentElement.style.setProperty("--crt-cursor-text", o),
|
|
6799
|
-
v.color = e;
|
|
6800
|
-
}), this.dispatchEvent(new CustomEvent("color-change", {
|
|
6792
|
+
document.documentElement.style.setProperty("--crt-cursor-default", a), document.documentElement.style.setProperty("--crt-cursor-pointer", s), document.documentElement.style.setProperty("--crt-cursor-text", o), this.dispatchEvent(new CustomEvent("color-change", {
|
|
6801
6793
|
detail: { color: e },
|
|
6802
6794
|
bubbles: !0,
|
|
6803
6795
|
composed: !0
|
|
@@ -6816,46 +6808,47 @@ let lt = class extends p {
|
|
|
6816
6808
|
</div>
|
|
6817
6809
|
|
|
6818
6810
|
<div class="actions">
|
|
6819
|
-
<!-- CRT
|
|
6811
|
+
<!-- CRT Overlay Toggle -->
|
|
6820
6812
|
<div class="switcher-block">
|
|
6821
6813
|
<span class="switcher-title">CRT</span>
|
|
6822
6814
|
<button
|
|
6823
|
-
class="power-btn ${this.
|
|
6824
|
-
@click="${
|
|
6825
|
-
aria-label="Toggle CRT
|
|
6815
|
+
class="power-btn ${this.overlayActive ? "active" : ""}"
|
|
6816
|
+
@click="${this.toggleOverlay}"
|
|
6817
|
+
aria-label="Toggle CRT overlay"
|
|
6826
6818
|
>
|
|
6827
6819
|
POWER
|
|
6828
6820
|
</button>
|
|
6829
|
-
<span class="power-led ${this.
|
|
6821
|
+
<span class="power-led ${this.overlayActive ? "on" : ""}" aria-hidden="true"></span>
|
|
6830
6822
|
</div>
|
|
6831
6823
|
|
|
6824
|
+
<!-- Color Theme Switcher -->
|
|
6832
6825
|
<div class="crt-switcher">
|
|
6833
|
-
<crt-tooltip text="
|
|
6826
|
+
<crt-tooltip text="Green theme" position="bottom">
|
|
6834
6827
|
<div class="color-chip">
|
|
6835
6828
|
<button
|
|
6836
|
-
class="color-btn green ${this.
|
|
6837
|
-
@click="${() => this.
|
|
6838
|
-
aria-label="Green
|
|
6829
|
+
class="color-btn green ${this.currentColor === "green" ? "active" : ""}"
|
|
6830
|
+
@click="${() => this.changeColor("green")}"
|
|
6831
|
+
aria-label="Green theme">
|
|
6839
6832
|
</button>
|
|
6840
6833
|
<span class="color-label">GREEN</span>
|
|
6841
6834
|
</div>
|
|
6842
6835
|
</crt-tooltip>
|
|
6843
|
-
<crt-tooltip text="
|
|
6836
|
+
<crt-tooltip text="Amber theme" position="bottom">
|
|
6844
6837
|
<div class="color-chip">
|
|
6845
6838
|
<button
|
|
6846
|
-
class="color-btn amber ${this.
|
|
6847
|
-
@click="${() => this.
|
|
6848
|
-
aria-label="Amber
|
|
6839
|
+
class="color-btn amber ${this.currentColor === "amber" ? "active" : ""}"
|
|
6840
|
+
@click="${() => this.changeColor("amber")}"
|
|
6841
|
+
aria-label="Amber theme">
|
|
6849
6842
|
</button>
|
|
6850
6843
|
<span class="color-label">AMBER</span>
|
|
6851
6844
|
</div>
|
|
6852
6845
|
</crt-tooltip>
|
|
6853
|
-
<crt-tooltip text="
|
|
6846
|
+
<crt-tooltip text="Blue theme" position="bottom">
|
|
6854
6847
|
<div class="color-chip">
|
|
6855
6848
|
<button
|
|
6856
|
-
class="color-btn blue ${this.
|
|
6857
|
-
@click="${() => this.
|
|
6858
|
-
aria-label="Blue
|
|
6849
|
+
class="color-btn blue ${this.currentColor === "blue" ? "active" : ""}"
|
|
6850
|
+
@click="${() => this.changeColor("blue")}"
|
|
6851
|
+
aria-label="Blue theme">
|
|
6859
6852
|
</button>
|
|
6860
6853
|
<span class="color-label">BLUE</span>
|
|
6861
6854
|
</div>
|
|
@@ -6871,7 +6864,7 @@ let lt = class extends p {
|
|
|
6871
6864
|
`;
|
|
6872
6865
|
}
|
|
6873
6866
|
};
|
|
6874
|
-
|
|
6867
|
+
pt.styles = c`
|
|
6875
6868
|
:host { display: block; }
|
|
6876
6869
|
.header-wrap {
|
|
6877
6870
|
background: transparent;
|
|
@@ -6992,24 +6985,24 @@ lt.styles = c`
|
|
|
6992
6985
|
.actions { justify-content: flex-end; width: 100%; }
|
|
6993
6986
|
}
|
|
6994
6987
|
`;
|
|
6995
|
-
|
|
6988
|
+
Yt([
|
|
6996
6989
|
n({ type: String })
|
|
6997
|
-
],
|
|
6998
|
-
|
|
6990
|
+
], pt.prototype, "title", 2);
|
|
6991
|
+
Yt([
|
|
6999
6992
|
n({ type: Boolean })
|
|
7000
|
-
],
|
|
7001
|
-
|
|
6993
|
+
], pt.prototype, "overlayActive", 2);
|
|
6994
|
+
Yt([
|
|
7002
6995
|
n({ type: String })
|
|
7003
|
-
],
|
|
7004
|
-
|
|
6996
|
+
], pt.prototype, "currentColor", 2);
|
|
6997
|
+
pt = Yt([
|
|
7005
6998
|
d("crt-header")
|
|
7006
|
-
],
|
|
7007
|
-
var
|
|
7008
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
6999
|
+
], pt);
|
|
7000
|
+
var Ur = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor, le = (e, t, r, i) => {
|
|
7001
|
+
for (var a = i > 1 ? void 0 : i ? Nr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
7009
7002
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
7010
|
-
return i && a &&
|
|
7003
|
+
return i && a && Ur(t, r, a), a;
|
|
7011
7004
|
};
|
|
7012
|
-
let
|
|
7005
|
+
let Nt = class extends p {
|
|
7013
7006
|
constructor() {
|
|
7014
7007
|
super(...arguments), this.copyright = "";
|
|
7015
7008
|
}
|
|
@@ -7022,7 +7015,7 @@ let Rt = class extends p {
|
|
|
7022
7015
|
`;
|
|
7023
7016
|
}
|
|
7024
7017
|
};
|
|
7025
|
-
|
|
7018
|
+
Nt.styles = c`
|
|
7026
7019
|
:host { display: block; }
|
|
7027
7020
|
.footer {
|
|
7028
7021
|
padding: var(--crt-spacing-md) var(--crt-spacing-lg);
|
|
@@ -7037,18 +7030,18 @@ Rt.styles = c`
|
|
|
7037
7030
|
font-size: var(--crt-font-size-sm);
|
|
7038
7031
|
}
|
|
7039
7032
|
`;
|
|
7040
|
-
|
|
7033
|
+
le([
|
|
7041
7034
|
n({ type: String })
|
|
7042
|
-
],
|
|
7043
|
-
|
|
7035
|
+
], Nt.prototype, "copyright", 2);
|
|
7036
|
+
Nt = le([
|
|
7044
7037
|
d("crt-footer")
|
|
7045
|
-
],
|
|
7046
|
-
var
|
|
7047
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
7038
|
+
], Nt);
|
|
7039
|
+
var Fr = Object.defineProperty, Vr = Object.getOwnPropertyDescriptor, Dt = (e, t, r, i) => {
|
|
7040
|
+
for (var a = i > 1 ? void 0 : i ? Vr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
7048
7041
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
7049
|
-
return i && a &&
|
|
7042
|
+
return i && a && Fr(t, r, a), a;
|
|
7050
7043
|
};
|
|
7051
|
-
let
|
|
7044
|
+
let at = class extends p {
|
|
7052
7045
|
constructor() {
|
|
7053
7046
|
super(...arguments), this.items = [], this.open = !1, this.label = "Menu", this._active = -1, this._triggerId = `crt-menu-trigger-${Math.random().toString(36).slice(2, 8)}`, this._listId = `crt-menu-list-${Math.random().toString(36).slice(2, 8)}`, this._onDocClick = (e) => {
|
|
7054
7047
|
this.open && (this.contains(e.target) || (this.open = !1, this._active = -1, this.shadowRoot?.querySelector("button.trigger")?.focus()));
|
|
@@ -7126,7 +7119,7 @@ let rt = class extends p {
|
|
|
7126
7119
|
`;
|
|
7127
7120
|
}
|
|
7128
7121
|
};
|
|
7129
|
-
|
|
7122
|
+
at.styles = c`
|
|
7130
7123
|
:host { display: inline-block; position: relative; font-family: var(--crt-font-family); }
|
|
7131
7124
|
button.trigger {
|
|
7132
7125
|
background: transparent;
|
|
@@ -7165,27 +7158,27 @@ rt.styles = c`
|
|
|
7165
7158
|
color: var(--crt-bg-dark);
|
|
7166
7159
|
}
|
|
7167
7160
|
`;
|
|
7168
|
-
|
|
7161
|
+
Dt([
|
|
7169
7162
|
n({ type: Array })
|
|
7170
|
-
],
|
|
7171
|
-
|
|
7163
|
+
], at.prototype, "items", 2);
|
|
7164
|
+
Dt([
|
|
7172
7165
|
n({ type: Boolean, reflect: !0 })
|
|
7173
|
-
],
|
|
7174
|
-
|
|
7166
|
+
], at.prototype, "open", 2);
|
|
7167
|
+
Dt([
|
|
7175
7168
|
n({ type: String })
|
|
7176
|
-
],
|
|
7177
|
-
|
|
7169
|
+
], at.prototype, "label", 2);
|
|
7170
|
+
Dt([
|
|
7178
7171
|
u()
|
|
7179
|
-
],
|
|
7180
|
-
|
|
7172
|
+
], at.prototype, "_active", 2);
|
|
7173
|
+
at = Dt([
|
|
7181
7174
|
d("crt-menu")
|
|
7182
|
-
],
|
|
7183
|
-
var
|
|
7184
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
7175
|
+
], at);
|
|
7176
|
+
var Yr = Object.defineProperty, qr = Object.getOwnPropertyDescriptor, te = (e, t, r, i) => {
|
|
7177
|
+
for (var a = i > 1 ? void 0 : i ? qr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
7185
7178
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
7186
|
-
return i && a &&
|
|
7179
|
+
return i && a && Yr(t, r, a), a;
|
|
7187
7180
|
};
|
|
7188
|
-
let
|
|
7181
|
+
let _t = class extends p {
|
|
7189
7182
|
constructor() {
|
|
7190
7183
|
super(...arguments), this.active = !0, this.color = "green";
|
|
7191
7184
|
}
|
|
@@ -7206,7 +7199,7 @@ let wt = class extends p {
|
|
|
7206
7199
|
`;
|
|
7207
7200
|
}
|
|
7208
7201
|
};
|
|
7209
|
-
|
|
7202
|
+
_t.styles = c`
|
|
7210
7203
|
:host {
|
|
7211
7204
|
display: block;
|
|
7212
7205
|
width: 100%;
|
|
@@ -7478,19 +7471,411 @@ wt.styles = c`
|
|
|
7478
7471
|
}
|
|
7479
7472
|
}
|
|
7480
7473
|
`;
|
|
7481
|
-
|
|
7474
|
+
te([
|
|
7482
7475
|
n({ type: Boolean })
|
|
7483
|
-
],
|
|
7484
|
-
|
|
7476
|
+
], _t.prototype, "active", 2);
|
|
7477
|
+
te([
|
|
7485
7478
|
n({ type: String, reflect: !0 })
|
|
7486
|
-
],
|
|
7487
|
-
|
|
7479
|
+
], _t.prototype, "color", 2);
|
|
7480
|
+
_t = te([
|
|
7488
7481
|
d("crt-screen")
|
|
7489
|
-
],
|
|
7490
|
-
var
|
|
7491
|
-
for (var a = i > 1 ? void 0 : i ?
|
|
7482
|
+
], _t);
|
|
7483
|
+
var Hr = Object.defineProperty, Wr = Object.getOwnPropertyDescriptor, lt = (e, t, r, i) => {
|
|
7484
|
+
for (var a = i > 1 ? void 0 : i ? Wr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
7485
|
+
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
7486
|
+
return i && a && Hr(t, r, a), a;
|
|
7487
|
+
};
|
|
7488
|
+
let I = class extends p {
|
|
7489
|
+
constructor() {
|
|
7490
|
+
super(...arguments), this.active = !0, this.scanlines = !0, this.vignette = !0, this.flicker = !0, this.contained = !1, this._powerState = "idle", this._isFirstRender = !0, this._hasBeenActivated = !1;
|
|
7491
|
+
}
|
|
7492
|
+
firstUpdated() {
|
|
7493
|
+
this.active && (this._hasBeenActivated = !0, this._powerState = "power-on", this.requestUpdate(), setTimeout(() => {
|
|
7494
|
+
this._powerState = "idle", this.requestUpdate();
|
|
7495
|
+
}, 4e3)), this._isFirstRender = !1;
|
|
7496
|
+
}
|
|
7497
|
+
updated(e) {
|
|
7498
|
+
if (super.updated(e), e.has("active") && !this._isFirstRender) {
|
|
7499
|
+
const t = e.get("active");
|
|
7500
|
+
t !== void 0 && t !== this.active && (this.active ? (this._hasBeenActivated = !0, this._powerState = "power-on", setTimeout(() => {
|
|
7501
|
+
this._powerState = "idle", this.requestUpdate();
|
|
7502
|
+
}, 4e3)) : (this._powerState = "power-off", setTimeout(() => {
|
|
7503
|
+
this._powerState = "idle", this._hasBeenActivated = !1, this.requestUpdate();
|
|
7504
|
+
}, 1100)), this.requestUpdate());
|
|
7505
|
+
}
|
|
7506
|
+
}
|
|
7507
|
+
render() {
|
|
7508
|
+
const e = this._powerState === "power-on", t = this.active || e, r = e ? "overlay vignette fade-in" : "overlay vignette", i = e ? "overlay scanlines fade-in" : "overlay scanlines" + (this.active ? " active" : ""), a = e ? "scan-line fade-in" : "scan-line" + (this.active ? " active" : ""), s = e ? "overlay flicker fade-in" : "overlay flicker" + (this.active ? " active" : ""), o = this._powerState !== "idle", h = !this.active && this._powerState === "idle" && this._hasBeenActivated;
|
|
7509
|
+
return l`
|
|
7510
|
+
${this.vignette && t ? l`<div class="${r}"></div>` : ""}
|
|
7511
|
+
${this.scanlines && t ? l`<div class="${i}"></div>` : ""}
|
|
7512
|
+
${this.scanlines && t ? l`<div class="${a}"></div>` : ""}
|
|
7513
|
+
${this.flicker && t ? l`<div class="${s}"></div>` : ""}
|
|
7514
|
+
${o ? l`
|
|
7515
|
+
<div class="power-container ${this._powerState}">
|
|
7516
|
+
${this._powerState === "power-on" ? l`
|
|
7517
|
+
<div class="power-layer"></div>
|
|
7518
|
+
` : l`
|
|
7519
|
+
<div class="power-bar-top"></div>
|
|
7520
|
+
<div class="power-bar-bottom"></div>
|
|
7521
|
+
<div class="power-line"></div>
|
|
7522
|
+
`}
|
|
7523
|
+
</div>
|
|
7524
|
+
` : ""}
|
|
7525
|
+
${h ? l`<div class="power-layer" style="opacity: 1;"></div>` : ""}
|
|
7526
|
+
`;
|
|
7527
|
+
}
|
|
7528
|
+
};
|
|
7529
|
+
I.styles = c`
|
|
7530
|
+
:host {
|
|
7531
|
+
display: block;
|
|
7532
|
+
position: fixed;
|
|
7533
|
+
top: 0;
|
|
7534
|
+
left: 0;
|
|
7535
|
+
right: 0;
|
|
7536
|
+
bottom: 0;
|
|
7537
|
+
width: 100vw;
|
|
7538
|
+
height: 100vh;
|
|
7539
|
+
pointer-events: none;
|
|
7540
|
+
z-index: 2147483647;
|
|
7541
|
+
overflow: hidden;
|
|
7542
|
+
}
|
|
7543
|
+
|
|
7544
|
+
/* Container mode - absolute positioning */
|
|
7545
|
+
:host([contained]) {
|
|
7546
|
+
position: absolute;
|
|
7547
|
+
top: 0;
|
|
7548
|
+
left: 0;
|
|
7549
|
+
right: 0;
|
|
7550
|
+
bottom: 0;
|
|
7551
|
+
width: 100% !important;
|
|
7552
|
+
height: 100% !important;
|
|
7553
|
+
z-index: 100;
|
|
7554
|
+
}
|
|
7555
|
+
|
|
7556
|
+
.overlay {
|
|
7557
|
+
position: absolute;
|
|
7558
|
+
top: 0;
|
|
7559
|
+
left: 0;
|
|
7560
|
+
right: 0;
|
|
7561
|
+
bottom: 0;
|
|
7562
|
+
width: 100%;
|
|
7563
|
+
height: 100%;
|
|
7564
|
+
}
|
|
7565
|
+
|
|
7566
|
+
/* Vignette - Abgedunkelte Ecken (identisch zu crt-screen) */
|
|
7567
|
+
.vignette {
|
|
7568
|
+
background: radial-gradient(
|
|
7569
|
+
ellipse at center,
|
|
7570
|
+
transparent 0%,
|
|
7571
|
+
transparent 60%,
|
|
7572
|
+
rgba(0, 0, 0, 0.3) 90%,
|
|
7573
|
+
rgba(0, 0, 0, 0.6) 100%
|
|
7574
|
+
);
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7577
|
+
.vignette.fade-in {
|
|
7578
|
+
animation: effects-fade-in 4s forwards linear;
|
|
7579
|
+
}
|
|
7580
|
+
|
|
7581
|
+
/* Static Scanlines - Horizontale Linien (identisch zu crt-screen) */
|
|
7582
|
+
.scanlines {
|
|
7583
|
+
background: linear-gradient(
|
|
7584
|
+
to bottom,
|
|
7585
|
+
transparent 50%,
|
|
7586
|
+
rgba(0, 0, 0, 0.25) 51%
|
|
7587
|
+
);
|
|
7588
|
+
background-size: 100% 0.4rem;
|
|
7589
|
+
}
|
|
7590
|
+
|
|
7591
|
+
.scanlines.active {
|
|
7592
|
+
animation: scan-crt 1s steps(60) infinite;
|
|
7593
|
+
}
|
|
7594
|
+
|
|
7595
|
+
.scanlines.fade-in {
|
|
7596
|
+
animation: effects-fade-in 4s forwards linear, scan-crt 1s steps(60) infinite;
|
|
7597
|
+
}
|
|
7598
|
+
|
|
7599
|
+
/* Moving Scanline - Bewegliche Linie (identisch zu crt-screen) */
|
|
7600
|
+
.scan-line {
|
|
7601
|
+
position: absolute;
|
|
7602
|
+
top: 0;
|
|
7603
|
+
left: 0;
|
|
7604
|
+
width: 100%;
|
|
7605
|
+
height: 2px;
|
|
7606
|
+
opacity: 0;
|
|
7607
|
+
background: rgba(255, 255, 255, 0.1);
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7610
|
+
.scan-line.active {
|
|
7611
|
+
opacity: 0.5;
|
|
7612
|
+
animation: scan-moving 6s linear infinite;
|
|
7613
|
+
}
|
|
7614
|
+
|
|
7615
|
+
.scan-line.fade-in {
|
|
7616
|
+
animation: scanline-fade-in 4s forwards linear, scan-moving 6s linear infinite;
|
|
7617
|
+
}
|
|
7618
|
+
|
|
7619
|
+
/* Flicker Layer (identisch zu crt-screen) */
|
|
7620
|
+
.flicker {
|
|
7621
|
+
background: transparent;
|
|
7622
|
+
}
|
|
7623
|
+
|
|
7624
|
+
.flicker.active {
|
|
7625
|
+
animation: crt-flicker 0.1s infinite;
|
|
7626
|
+
}
|
|
7627
|
+
|
|
7628
|
+
.flicker.fade-in {
|
|
7629
|
+
animation: effects-fade-in 4s forwards linear, crt-flicker 0.1s infinite;
|
|
7630
|
+
}
|
|
7631
|
+
|
|
7632
|
+
/* Power Animation Container */
|
|
7633
|
+
.power-container {
|
|
7634
|
+
position: absolute;
|
|
7635
|
+
top: 0;
|
|
7636
|
+
left: 0;
|
|
7637
|
+
right: 0;
|
|
7638
|
+
bottom: 0;
|
|
7639
|
+
width: 100%;
|
|
7640
|
+
height: 100%;
|
|
7641
|
+
z-index: 10;
|
|
7642
|
+
overflow: hidden;
|
|
7643
|
+
}
|
|
7644
|
+
|
|
7645
|
+
/* Power-On: Einfaches schwarzes Layer das ausfaded */
|
|
7646
|
+
.power-layer {
|
|
7647
|
+
position: absolute;
|
|
7648
|
+
inset: 0;
|
|
7649
|
+
background: var(--crt-bg-darker, #000000);
|
|
7650
|
+
z-index: 10;
|
|
7651
|
+
}
|
|
7652
|
+
|
|
7653
|
+
.power-on .power-layer {
|
|
7654
|
+
animation: overlay-power-on 4s forwards linear;
|
|
7655
|
+
}
|
|
7656
|
+
|
|
7657
|
+
/* Power-Off: Zwei Balken die sich zur Mitte bewegen */
|
|
7658
|
+
.power-bar-top,
|
|
7659
|
+
.power-bar-bottom {
|
|
7660
|
+
position: absolute;
|
|
7661
|
+
left: 0;
|
|
7662
|
+
width: 100%;
|
|
7663
|
+
height: 50%;
|
|
7664
|
+
background: var(--crt-bg-darker, #000000);
|
|
7665
|
+
}
|
|
7666
|
+
|
|
7667
|
+
.power-bar-top {
|
|
7668
|
+
top: 0;
|
|
7669
|
+
transform-origin: center top;
|
|
7670
|
+
}
|
|
7671
|
+
|
|
7672
|
+
.power-bar-bottom {
|
|
7673
|
+
bottom: 0;
|
|
7674
|
+
transform-origin: center bottom;
|
|
7675
|
+
}
|
|
7676
|
+
|
|
7677
|
+
.power-off .power-bar-top {
|
|
7678
|
+
animation: bar-top-close 1s forwards ease-in-out;
|
|
7679
|
+
}
|
|
7680
|
+
|
|
7681
|
+
.power-off .power-bar-bottom {
|
|
7682
|
+
animation: bar-bottom-close 1s forwards ease-in-out;
|
|
7683
|
+
}
|
|
7684
|
+
|
|
7685
|
+
/* Heller Streifen in der Mitte beim Power-Off */
|
|
7686
|
+
.power-line {
|
|
7687
|
+
position: absolute;
|
|
7688
|
+
top: 50%;
|
|
7689
|
+
left: 0;
|
|
7690
|
+
width: 100%;
|
|
7691
|
+
height: 4px;
|
|
7692
|
+
transform: translateY(-50%);
|
|
7693
|
+
background: var(--crt-primary, #8aff8a);
|
|
7694
|
+
box-shadow: 0 0 20px var(--crt-primary, #8aff8a),
|
|
7695
|
+
0 0 40px var(--crt-primary, #8aff8a),
|
|
7696
|
+
0 0 60px var(--crt-primary, #8aff8a);
|
|
7697
|
+
}
|
|
7698
|
+
|
|
7699
|
+
.power-off .power-line {
|
|
7700
|
+
animation: power-line-shrink 1s forwards ease-in-out;
|
|
7701
|
+
}
|
|
7702
|
+
|
|
7703
|
+
/* Animationen (identisch zu crt-screen) */
|
|
7704
|
+
@keyframes scan-moving {
|
|
7705
|
+
0% {
|
|
7706
|
+
transform: translate3d(0, 0, 0);
|
|
7707
|
+
}
|
|
7708
|
+
100% {
|
|
7709
|
+
transform: translate3d(0, 100vh, 0);
|
|
7710
|
+
}
|
|
7711
|
+
}
|
|
7712
|
+
|
|
7713
|
+
@keyframes scan-crt {
|
|
7714
|
+
0% {
|
|
7715
|
+
background-position: 0 50%;
|
|
7716
|
+
}
|
|
7717
|
+
}
|
|
7718
|
+
|
|
7719
|
+
@keyframes crt-flicker {
|
|
7720
|
+
0% {
|
|
7721
|
+
opacity: 0.95;
|
|
7722
|
+
}
|
|
7723
|
+
50% {
|
|
7724
|
+
opacity: 1;
|
|
7725
|
+
}
|
|
7726
|
+
100% {
|
|
7727
|
+
opacity: 0.97;
|
|
7728
|
+
}
|
|
7729
|
+
}
|
|
7730
|
+
|
|
7731
|
+
/*
|
|
7732
|
+
* Power-On Animation für Overlay
|
|
7733
|
+
* Timing exakt wie crt-screen:
|
|
7734
|
+
* - 0-11%: Schnelle Bewegungen, heller Blitz
|
|
7735
|
+
* - 11%: Bildschirm wird schwarz
|
|
7736
|
+
* - 11-100%: Inhalt faded langsam ein (= schwarzes Layer faded aus)
|
|
7737
|
+
*/
|
|
7738
|
+
@keyframes overlay-power-on {
|
|
7739
|
+
0% {
|
|
7740
|
+
opacity: 1;
|
|
7741
|
+
filter: brightness(30);
|
|
7742
|
+
}
|
|
7743
|
+
3.5% {
|
|
7744
|
+
opacity: 1;
|
|
7745
|
+
filter: brightness(20);
|
|
7746
|
+
}
|
|
7747
|
+
9% {
|
|
7748
|
+
opacity: 1;
|
|
7749
|
+
filter: brightness(10);
|
|
7750
|
+
}
|
|
7751
|
+
11% {
|
|
7752
|
+
opacity: 1;
|
|
7753
|
+
filter: brightness(0);
|
|
7754
|
+
}
|
|
7755
|
+
100% {
|
|
7756
|
+
opacity: 0;
|
|
7757
|
+
filter: brightness(1);
|
|
7758
|
+
}
|
|
7759
|
+
}
|
|
7760
|
+
|
|
7761
|
+
/* Effekte (Vignette, Scanlines, Flicker) faden synchron mit dem Inhalt ein */
|
|
7762
|
+
@keyframes effects-fade-in {
|
|
7763
|
+
0% {
|
|
7764
|
+
opacity: 0;
|
|
7765
|
+
}
|
|
7766
|
+
11% {
|
|
7767
|
+
opacity: 0;
|
|
7768
|
+
}
|
|
7769
|
+
100% {
|
|
7770
|
+
opacity: 1;
|
|
7771
|
+
}
|
|
7772
|
+
}
|
|
7773
|
+
|
|
7774
|
+
/* Scanline faded von 0 auf 0.5 */
|
|
7775
|
+
@keyframes scanline-fade-in {
|
|
7776
|
+
0% {
|
|
7777
|
+
opacity: 0;
|
|
7778
|
+
}
|
|
7779
|
+
11% {
|
|
7780
|
+
opacity: 0;
|
|
7781
|
+
}
|
|
7782
|
+
100% {
|
|
7783
|
+
opacity: 0.5;
|
|
7784
|
+
}
|
|
7785
|
+
}
|
|
7786
|
+
|
|
7787
|
+
/* Power-Off: Oberer Balken kommt von oben, dann fade-out */
|
|
7788
|
+
@keyframes bar-top-close {
|
|
7789
|
+
0% {
|
|
7790
|
+
transform: scaleY(0);
|
|
7791
|
+
opacity: 1;
|
|
7792
|
+
}
|
|
7793
|
+
40% {
|
|
7794
|
+
transform: scaleY(1);
|
|
7795
|
+
opacity: 1;
|
|
7796
|
+
}
|
|
7797
|
+
70% {
|
|
7798
|
+
transform: scaleY(1);
|
|
7799
|
+
opacity: 1;
|
|
7800
|
+
}
|
|
7801
|
+
100% {
|
|
7802
|
+
transform: scaleY(1);
|
|
7803
|
+
opacity: 0;
|
|
7804
|
+
}
|
|
7805
|
+
}
|
|
7806
|
+
|
|
7807
|
+
/* Power-Off: Unterer Balken kommt von unten, dann fade-out */
|
|
7808
|
+
@keyframes bar-bottom-close {
|
|
7809
|
+
0% {
|
|
7810
|
+
transform: scaleY(0);
|
|
7811
|
+
opacity: 1;
|
|
7812
|
+
}
|
|
7813
|
+
40% {
|
|
7814
|
+
transform: scaleY(1);
|
|
7815
|
+
opacity: 1;
|
|
7816
|
+
}
|
|
7817
|
+
70% {
|
|
7818
|
+
transform: scaleY(1);
|
|
7819
|
+
opacity: 1;
|
|
7820
|
+
}
|
|
7821
|
+
100% {
|
|
7822
|
+
transform: scaleY(1);
|
|
7823
|
+
opacity: 0;
|
|
7824
|
+
}
|
|
7825
|
+
}
|
|
7826
|
+
|
|
7827
|
+
/* Power-Off: Heller Streifen schrumpft und verschwindet */
|
|
7828
|
+
@keyframes power-line-shrink {
|
|
7829
|
+
0% {
|
|
7830
|
+
opacity: 0;
|
|
7831
|
+
transform: translateY(-50%) scaleX(1);
|
|
7832
|
+
}
|
|
7833
|
+
10% {
|
|
7834
|
+
opacity: 1;
|
|
7835
|
+
transform: translateY(-50%) scaleX(1.3);
|
|
7836
|
+
filter: brightness(1);
|
|
7837
|
+
}
|
|
7838
|
+
40% {
|
|
7839
|
+
opacity: 1;
|
|
7840
|
+
transform: translateY(-50%) scaleX(0);
|
|
7841
|
+
filter: brightness(10);
|
|
7842
|
+
}
|
|
7843
|
+
50% {
|
|
7844
|
+
opacity: 0;
|
|
7845
|
+
transform: translateY(-50%) scaleX(0);
|
|
7846
|
+
filter: brightness(50);
|
|
7847
|
+
}
|
|
7848
|
+
100% {
|
|
7849
|
+
opacity: 0;
|
|
7850
|
+
transform: translateY(-50%) scaleX(0);
|
|
7851
|
+
}
|
|
7852
|
+
}
|
|
7853
|
+
`;
|
|
7854
|
+
lt([
|
|
7855
|
+
n({ type: Boolean })
|
|
7856
|
+
], I.prototype, "active", 2);
|
|
7857
|
+
lt([
|
|
7858
|
+
n({ type: Boolean })
|
|
7859
|
+
], I.prototype, "scanlines", 2);
|
|
7860
|
+
lt([
|
|
7861
|
+
n({ type: Boolean })
|
|
7862
|
+
], I.prototype, "vignette", 2);
|
|
7863
|
+
lt([
|
|
7864
|
+
n({ type: Boolean })
|
|
7865
|
+
], I.prototype, "flicker", 2);
|
|
7866
|
+
lt([
|
|
7867
|
+
n({ type: Boolean, reflect: !0 })
|
|
7868
|
+
], I.prototype, "contained", 2);
|
|
7869
|
+
lt([
|
|
7870
|
+
u()
|
|
7871
|
+
], I.prototype, "_powerState", 2);
|
|
7872
|
+
I = lt([
|
|
7873
|
+
d("crt-overlay")
|
|
7874
|
+
], I);
|
|
7875
|
+
var Kr = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, K = (e, t, r, i) => {
|
|
7876
|
+
for (var a = i > 1 ? void 0 : i ? Xr(t, r) : t, s = e.length - 1, o; s >= 0; s--)
|
|
7492
7877
|
(o = e[s]) && (a = (i ? o(t, r, a) : o(a)) || a);
|
|
7493
|
-
return i && a &&
|
|
7878
|
+
return i && a && Kr(t, r, a), a;
|
|
7494
7879
|
};
|
|
7495
7880
|
let C = class extends p {
|
|
7496
7881
|
constructor() {
|
|
@@ -7670,76 +8055,77 @@ C.styles = c`
|
|
|
7670
8055
|
padding-top: var(--crt-spacing-md);
|
|
7671
8056
|
}
|
|
7672
8057
|
`;
|
|
7673
|
-
|
|
8058
|
+
K([
|
|
7674
8059
|
n({ type: Boolean })
|
|
7675
8060
|
], C.prototype, "autoplay", 2);
|
|
7676
|
-
|
|
8061
|
+
K([
|
|
7677
8062
|
n({ type: Number })
|
|
7678
8063
|
], C.prototype, "autoplayDelay", 2);
|
|
7679
|
-
|
|
8064
|
+
K([
|
|
7680
8065
|
n({ type: Boolean, attribute: "preload-default" })
|
|
7681
8066
|
], C.prototype, "preloadDefault", 2);
|
|
7682
|
-
|
|
8067
|
+
K([
|
|
7683
8068
|
n({ type: Array })
|
|
7684
8069
|
], C.prototype, "tracks", 2);
|
|
7685
|
-
|
|
8070
|
+
K([
|
|
7686
8071
|
u()
|
|
7687
8072
|
], C.prototype, "currentIndex", 2);
|
|
7688
|
-
|
|
8073
|
+
K([
|
|
7689
8074
|
u()
|
|
7690
8075
|
], C.prototype, "showUploadModal", 2);
|
|
7691
|
-
|
|
7692
|
-
|
|
8076
|
+
K([
|
|
8077
|
+
Kt("crt-file-upload")
|
|
7693
8078
|
], C.prototype, "fileUpload", 2);
|
|
7694
|
-
C =
|
|
8079
|
+
C = K([
|
|
7695
8080
|
d("crt-music-station")
|
|
7696
8081
|
], C);
|
|
7697
8082
|
export {
|
|
7698
|
-
|
|
7699
|
-
|
|
8083
|
+
Ut as Accordion,
|
|
8084
|
+
wt as AccordionItem,
|
|
7700
8085
|
$ as Alert,
|
|
7701
8086
|
j as Avatar,
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
8087
|
+
It as AvatarGroup,
|
|
8088
|
+
At as Badge,
|
|
8089
|
+
yt as Breadcrumb,
|
|
7705
8090
|
_ as Button,
|
|
7706
|
-
|
|
8091
|
+
I as CRTOverlay,
|
|
8092
|
+
_t as CRTScreen,
|
|
7707
8093
|
y as Calendar,
|
|
7708
|
-
|
|
7709
|
-
|
|
8094
|
+
qt as Card,
|
|
8095
|
+
F as Checkbox,
|
|
7710
8096
|
H as CodeExample,
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
8097
|
+
M as FileUpload,
|
|
8098
|
+
Nt as Footer,
|
|
8099
|
+
xt as Grid,
|
|
8100
|
+
pt as Header,
|
|
8101
|
+
jt as Heading,
|
|
8102
|
+
ft as Icon,
|
|
8103
|
+
X as Input,
|
|
7718
8104
|
N as Link,
|
|
7719
|
-
|
|
7720
|
-
|
|
8105
|
+
at as Menu,
|
|
8106
|
+
tt as Modal,
|
|
7721
8107
|
m as MusicPlayer,
|
|
7722
8108
|
C as MusicStation,
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
8109
|
+
rt as Navbar,
|
|
8110
|
+
Z as Pagination,
|
|
8111
|
+
kt as Playlist,
|
|
7726
8112
|
x as Progress,
|
|
7727
|
-
|
|
7728
|
-
|
|
8113
|
+
V as Radio,
|
|
8114
|
+
ct as RadioGroup,
|
|
7729
8115
|
f as Search,
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
8116
|
+
T as Select,
|
|
8117
|
+
Y as Skeleton,
|
|
8118
|
+
Rt as SkeletonCard,
|
|
8119
|
+
Bt as SkeletonText,
|
|
7734
8120
|
w as Slider,
|
|
7735
|
-
|
|
8121
|
+
J as Spinner,
|
|
7736
8122
|
q as Table,
|
|
7737
|
-
|
|
8123
|
+
bt as Tabs,
|
|
7738
8124
|
W as Terminal,
|
|
7739
|
-
|
|
7740
|
-
|
|
8125
|
+
Lt as Text,
|
|
8126
|
+
G as Textarea,
|
|
7741
8127
|
L as Toast,
|
|
7742
8128
|
A as Toggle,
|
|
7743
|
-
|
|
7744
|
-
|
|
8129
|
+
Q as Tooltip,
|
|
8130
|
+
et as Visualizer
|
|
7745
8131
|
};
|