@sbb-esta/lyne-elements 1.2.0 → 1.2.1
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/accordion/accordion.d.ts +1 -1
- package/accordion/accordion.d.ts.map +1 -1
- package/alert/alert/alert.d.ts +1 -1
- package/alert/alert/alert.d.ts.map +1 -1
- package/clock/clock.d.ts +19 -13
- package/clock/clock.d.ts.map +1 -1
- package/clock.js +86 -75
- package/core/mixins/hydration-mixin.d.ts.map +1 -1
- package/core/mixins.js +126 -132
- package/custom-elements.json +46 -238
- package/development/accordion/accordion.d.ts +1 -1
- package/development/accordion/accordion.d.ts.map +1 -1
- package/development/accordion.js +1 -1
- package/development/alert/alert/alert.d.ts +1 -1
- package/development/alert/alert/alert.d.ts.map +1 -1
- package/development/alert/alert.js +1 -1
- package/development/clock/clock.d.ts +19 -13
- package/development/clock/clock.d.ts.map +1 -1
- package/development/clock.js +85 -80
- package/development/core/mixins/hydration-mixin.d.ts.map +1 -1
- package/development/core/mixins.js +15 -16
- package/development/icon/icon-request.d.ts.map +1 -1
- package/development/icon.js +8 -13
- package/development/toggle-check/toggle-check.d.ts +2 -2
- package/development/toggle-check/toggle-check.d.ts.map +1 -1
- package/development/toggle-check.js +1 -1
- package/development/visual-checkbox.js +2 -2
- package/icon/icon-request.d.ts.map +1 -1
- package/icon.js +86 -86
- package/package.json +1 -1
- package/toggle-check/toggle-check.d.ts +2 -2
- package/toggle-check/toggle-check.d.ts.map +1 -1
- package/visual-checkbox.js +4 -4
package/icon.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { state as
|
|
2
|
-
import { css as N, LitElement as I, html as
|
|
1
|
+
import { state as v, property as f, customElement as w } from "lit/decorators.js";
|
|
2
|
+
import { isServer as y, css as N, LitElement as I, html as c, nothing as p } from "lit";
|
|
3
3
|
import { unsafeHTML as $ } from "lit/directives/unsafe-html.js";
|
|
4
4
|
import { until as A } from "lit/directives/until.js";
|
|
5
5
|
import { hostAttributes as S } from "./core/decorators.js";
|
|
6
6
|
import { readConfig as L } from "./core/config.js";
|
|
7
|
-
const
|
|
8
|
-
if (
|
|
9
|
-
if (
|
|
7
|
+
const C = (t) => typeof t == "string", g = (t) => {
|
|
8
|
+
if (t.nodeType === 1) {
|
|
9
|
+
if (t.nodeName.toLowerCase() === "script")
|
|
10
10
|
return !1;
|
|
11
|
-
for (let
|
|
12
|
-
const o =
|
|
13
|
-
if (
|
|
11
|
+
for (let e = 0; e < t.attributes.length; e++) {
|
|
12
|
+
const o = t.attributes[e].name;
|
|
13
|
+
if (C(o) && o.toLowerCase().indexOf("on") === 0)
|
|
14
14
|
return !1;
|
|
15
15
|
}
|
|
16
|
-
for (let
|
|
17
|
-
if (!
|
|
16
|
+
for (let e = 0; e < t.childNodes.length; e++)
|
|
17
|
+
if (!g(t.childNodes[e]))
|
|
18
18
|
return !1;
|
|
19
19
|
}
|
|
20
20
|
return !0;
|
|
21
|
-
},
|
|
21
|
+
}, E = (t, e = !0, o = !1) => {
|
|
22
22
|
const r = document.createElement("div");
|
|
23
|
-
r.innerHTML =
|
|
23
|
+
r.innerHTML = t;
|
|
24
24
|
for (let i = r.childNodes.length - 1; i >= 0; i--)
|
|
25
25
|
r.childNodes[i].nodeName.toLowerCase() !== "svg" && r.removeChild(r.childNodes[i]);
|
|
26
26
|
const s = r.firstElementChild;
|
|
27
|
-
return s && s.nodeName.toLowerCase() === "svg" && (o && !s.classList.contains("color-immutable") && s.classList.add("color-immutable"),
|
|
28
|
-
},
|
|
29
|
-
var
|
|
30
|
-
const r = L().icon ?? {}, s = ((
|
|
31
|
-
if (s
|
|
27
|
+
return s && s.nodeName.toLowerCase() === "svg" && (o && !s.classList.contains("color-immutable") && s.classList.add("color-immutable"), e === !1 || g(s)) ? r.innerHTML : "";
|
|
28
|
+
}, b = "https://icons.app.sbb.ch/", P = (/* @__PURE__ */ new Map()).set("default", `${b}icons/`).set("picto", `${b}picto/`), m = /* @__PURE__ */ new Map(), O = (t, e, o) => {
|
|
29
|
+
var h;
|
|
30
|
+
const r = L().icon ?? {}, s = ((h = r.namespaces) == null ? void 0 : h.get(t)) ?? P.get(t);
|
|
31
|
+
if (s == null)
|
|
32
32
|
throw Error(
|
|
33
|
-
`Unable to find the namespace "${
|
|
33
|
+
`Unable to find the namespace "${t}". Please register your custom namespace.`
|
|
34
34
|
);
|
|
35
|
-
const i = `${s}${
|
|
36
|
-
let a =
|
|
35
|
+
const i = `${s}${e}.svg`;
|
|
36
|
+
let a = m.get(i);
|
|
37
37
|
if (!a)
|
|
38
|
-
if (typeof fetch < "u" &&
|
|
38
|
+
if (typeof fetch < "u" && !y)
|
|
39
39
|
a = (r.interceptor ?? ((l) => l.request()))({
|
|
40
|
-
namespace:
|
|
41
|
-
name:
|
|
40
|
+
namespace: t,
|
|
41
|
+
name: e,
|
|
42
42
|
url: i,
|
|
43
|
-
request: () => fetch(i).then((l) => {
|
|
44
|
-
if (l.ok)
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
request: () => fetch(i).then(async (l) => {
|
|
44
|
+
if (!l.ok)
|
|
45
|
+
throw new Error("Failed to load icon " + t + ":" + e);
|
|
46
|
+
return E(await l.text(), o);
|
|
47
47
|
}).catch((l) => {
|
|
48
48
|
throw Error(l);
|
|
49
49
|
})
|
|
50
|
-
}),
|
|
50
|
+
}), m.set(i, a);
|
|
51
51
|
else
|
|
52
52
|
return Promise.resolve("");
|
|
53
53
|
return a;
|
|
54
54
|
}, x = N`*,:before,:after{box-sizing:border-box}:host{display:inline-block;line-height:0;-webkit-tap-highlight-color:transparent}:host([data-empty]){--sbb-icon-default-dimension: 0}:host([data-empty][data-namespace=default][name$=-small]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-small)}:host([data-empty][data-namespace=default][name$=-medium]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-medium)}:host([data-empty][data-namespace=default][name$=-large]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-large)}svg{width:var(--sbb-icon-svg-width, var(--sbb-icon-default-dimension));height:var(--sbb-icon-svg-height, var(--sbb-icon-default-dimension));stroke:var(--sbb-icon-svg-stroke-color);stroke-width:var(--sbb-icon-svg-stroke-width)}svg:not(.color-immutable) [fill]:not([fill=none]){fill:currentcolor}svg:not(.color-immutable) [stroke]:not([stroke=none]){stroke:currentcolor}svg:not(.color-immutable)>:where(path,polygon,polyline):where(:not([stroke]):not([fill])),svg:not(.color-immutable) :where(:not([stroke]):not([fill])) :where(path,polygon,polyline):where(:not([stroke]):not([fill])){fill:currentcolor}`;
|
|
55
|
-
var z = Object.defineProperty, M = Object.getOwnPropertyDescriptor,
|
|
56
|
-
for (var s = r > 1 ? void 0 : r ? M(
|
|
57
|
-
(a =
|
|
58
|
-
return r && s && z(
|
|
55
|
+
var z = Object.defineProperty, M = Object.getOwnPropertyDescriptor, u = (t, e, o, r) => {
|
|
56
|
+
for (var s = r > 1 ? void 0 : r ? M(e, o) : e, i = t.length - 1, a; i >= 0; i--)
|
|
57
|
+
(a = t[i]) && (s = (r ? a(e, o, s) : a(s)) || s);
|
|
58
|
+
return r && s && z(e, o, s), s;
|
|
59
59
|
};
|
|
60
60
|
let n = class extends I {
|
|
61
61
|
constructor() {
|
|
62
62
|
super(...arguments), this._svgNamespace = n._defaultNamespace, this.noSanitize = !1;
|
|
63
63
|
}
|
|
64
|
-
async loadSvgIcon(
|
|
65
|
-
if (!
|
|
64
|
+
async loadSvgIcon(t) {
|
|
65
|
+
if (!t)
|
|
66
66
|
return;
|
|
67
|
-
const [
|
|
68
|
-
this._svgNamespace =
|
|
67
|
+
const [e, o] = this._splitIconName(t);
|
|
68
|
+
this._svgNamespace = e, this.setAttribute("data-namespace", this._svgNamespace);
|
|
69
69
|
const r = this.fetchSvgIcon(this._svgNamespace, o);
|
|
70
70
|
this._svgIcon = r.then((s) => $(s));
|
|
71
71
|
try {
|
|
@@ -74,101 +74,101 @@ let n = class extends I {
|
|
|
74
74
|
this.toggleAttribute("data-empty", !0);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
async fetchSvgIcon(
|
|
78
|
-
return await O(
|
|
77
|
+
async fetchSvgIcon(t, e) {
|
|
78
|
+
return await O(t, e, !this.noSanitize);
|
|
79
79
|
}
|
|
80
|
-
_splitIconName(
|
|
81
|
-
if (!
|
|
80
|
+
_splitIconName(t) {
|
|
81
|
+
if (!t)
|
|
82
82
|
return ["", ""];
|
|
83
|
-
const
|
|
84
|
-
switch (
|
|
83
|
+
const e = t.split(":");
|
|
84
|
+
switch (e.length) {
|
|
85
85
|
case 1:
|
|
86
|
-
return [n._defaultNamespace,
|
|
86
|
+
return [n._defaultNamespace, e[0]];
|
|
87
87
|
case 2:
|
|
88
|
-
return
|
|
88
|
+
return e;
|
|
89
89
|
default:
|
|
90
|
-
throw Error(`Invalid icon name: "${
|
|
90
|
+
throw Error(`Invalid icon name: "${t}"`);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
firstUpdated(
|
|
94
|
-
super.firstUpdated(
|
|
93
|
+
firstUpdated(t) {
|
|
94
|
+
super.firstUpdated(t), this.setAttribute("role", this.getAttribute("role") ?? "img");
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return
|
|
97
|
+
return c`<span class="sbb-icon-inner"
|
|
98
98
|
>${A(
|
|
99
99
|
this._svgIcon,
|
|
100
100
|
// To reserve space, we need an empty svg to apply dimension to.
|
|
101
|
-
|
|
101
|
+
c`<svg width="0" height="0"></svg>`
|
|
102
102
|
)}</span
|
|
103
103
|
>`;
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
n.styles = x;
|
|
107
107
|
n._defaultNamespace = "default";
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
u([
|
|
109
|
+
v()
|
|
110
110
|
], n.prototype, "_svgNamespace", 2);
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
u([
|
|
112
|
+
v()
|
|
113
113
|
], n.prototype, "_svgIcon", 2);
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
u([
|
|
115
|
+
f({ attribute: "no-sanitize", type: Boolean })
|
|
116
116
|
], n.prototype, "noSanitize", 2);
|
|
117
|
-
n =
|
|
117
|
+
n = u([
|
|
118
118
|
S({
|
|
119
119
|
"data-namespace": n._defaultNamespace,
|
|
120
120
|
"data-empty": ""
|
|
121
121
|
})
|
|
122
122
|
], n);
|
|
123
|
-
var U = Object.defineProperty, j = Object.getOwnPropertyDescriptor,
|
|
124
|
-
for (var s = r > 1 ? void 0 : r ? j(
|
|
125
|
-
(a =
|
|
126
|
-
return r && s && U(
|
|
123
|
+
var U = Object.defineProperty, j = Object.getOwnPropertyDescriptor, _ = (t, e, o, r) => {
|
|
124
|
+
for (var s = r > 1 ? void 0 : r ? j(e, o) : e, i = t.length - 1, a; i >= 0; i--)
|
|
125
|
+
(a = t[i]) && (s = (r ? a(e, o, s) : a(s)) || s);
|
|
126
|
+
return r && s && U(e, o, s), s;
|
|
127
127
|
};
|
|
128
|
-
let
|
|
128
|
+
let d = class extends n {
|
|
129
129
|
constructor() {
|
|
130
130
|
super(...arguments), this._defaultAriaLabel = "";
|
|
131
131
|
}
|
|
132
|
-
async fetchSvgIcon(
|
|
133
|
-
return this.getAttribute("aria-label") === this._defaultAriaLabel && this.removeAttribute("aria-label"), this._defaultAriaLabel = `Icon ${
|
|
132
|
+
async fetchSvgIcon(t, e) {
|
|
133
|
+
return this.getAttribute("aria-label") === this._defaultAriaLabel && this.removeAttribute("aria-label"), this._defaultAriaLabel = `Icon ${e.replace(/-/g, " ")}`, this.getAttribute("aria-hidden") === "false" && !this.hasAttribute("aria-label") && e && this.setAttribute("aria-label", this._defaultAriaLabel), super.fetchSvgIcon(t, e);
|
|
134
134
|
}
|
|
135
|
-
willUpdate(
|
|
136
|
-
super.willUpdate(
|
|
135
|
+
willUpdate(t) {
|
|
136
|
+
super.willUpdate(t), t.has("name") && this.loadSvgIcon(this.name);
|
|
137
137
|
}
|
|
138
|
-
firstUpdated(
|
|
139
|
-
super.firstUpdated(
|
|
138
|
+
firstUpdated(t) {
|
|
139
|
+
super.firstUpdated(t), this.hasAttribute("aria-hidden") || this.setAttribute("aria-hidden", "true");
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
],
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
],
|
|
148
|
-
var T = Object.defineProperty, q = (
|
|
149
|
-
for (var s = void 0, i =
|
|
150
|
-
(a =
|
|
151
|
-
return s && T(
|
|
142
|
+
_([
|
|
143
|
+
f({ reflect: !0 })
|
|
144
|
+
], d.prototype, "name", 2);
|
|
145
|
+
d = _([
|
|
146
|
+
w("sbb-icon")
|
|
147
|
+
], d);
|
|
148
|
+
var T = Object.defineProperty, q = (t, e, o, r) => {
|
|
149
|
+
for (var s = void 0, i = t.length - 1, a; i >= 0; i--)
|
|
150
|
+
(a = t[i]) && (s = a(e, o, s) || s);
|
|
151
|
+
return s && T(e, o, s), s;
|
|
152
152
|
};
|
|
153
|
-
const J = (
|
|
154
|
-
class
|
|
153
|
+
const J = (t) => {
|
|
154
|
+
class e extends t {
|
|
155
155
|
renderIconSlot(r) {
|
|
156
|
-
return
|
|
156
|
+
return c`
|
|
157
157
|
<slot name="icon">
|
|
158
|
-
${this.iconName ?
|
|
158
|
+
${this.iconName ? c`<sbb-icon name=${this.iconName} class=${r || p}></sbb-icon>` : p}
|
|
159
159
|
</slot>
|
|
160
160
|
`;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
return q([
|
|
164
|
-
|
|
165
|
-
],
|
|
164
|
+
f({ attribute: "icon-name", reflect: !0 })
|
|
165
|
+
], e.prototype, "iconName"), e;
|
|
166
166
|
};
|
|
167
167
|
export {
|
|
168
168
|
n as SbbIconBase,
|
|
169
|
-
|
|
169
|
+
d as SbbIconElement,
|
|
170
170
|
J as SbbIconNameMixin,
|
|
171
171
|
O as getSvgContent,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
g as isValid,
|
|
173
|
+
E as validateContent
|
|
174
174
|
};
|
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@ export declare class SbbToggleCheckElement extends SbbToggleCheckElement_base {
|
|
|
15
15
|
static readonly events: {
|
|
16
16
|
readonly didChange: "didChange";
|
|
17
17
|
};
|
|
18
|
-
/** Size variant, either m or
|
|
19
|
-
size: 's' | 'm';
|
|
18
|
+
/** Size variant, either m, s or xs. */
|
|
19
|
+
size: 'xs' | 's' | 'm';
|
|
20
20
|
/** The svg name for the true state - default -> 'tick-small' */
|
|
21
21
|
iconName: string;
|
|
22
22
|
/** The label position relative to the toggle. Defaults to 'after' */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-check.d.ts","sourceRoot":"","sources":["../../../src/elements/toggle-check/toggle-check.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;;AASvC;;;;;;;;GAQG;AACH,qBACa,qBAAsB,SAAQ,0BAE1C;IACC,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;MAElB;IAEX,
|
|
1
|
+
{"version":3,"file":"toggle-check.d.ts","sourceRoot":"","sources":["../../../src/elements/toggle-check/toggle-check.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;;AASvC;;;;;;;;GAQG;AACH,qBACa,qBAAsB,SAAQ,0BAE1C;IACC,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;MAElB;IAEX,uCAAuC;IACH,IAAI,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAO;IAEjE,gEAAgE;IACV,QAAQ,SAAgB;IAE9E,qEAAqE;IAE9D,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAW;;cAO3B,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;cASxE,MAAM,IAAI,cAAc;CAgB5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,kBAAkB,EAAE,qBAAqB,CAAC;KAC3C;CACF"}
|
package/visual-checkbox.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { css as
|
|
1
|
+
import { css as d, LitElement as v, html as t, nothing as h } from "lit";
|
|
2
2
|
import { property as n, customElement as u } from "lit/decorators.js";
|
|
3
3
|
import { SbbDisabledMixin as k, SbbNegativeMixin as x } from "./core/mixins.js";
|
|
4
|
-
const m =
|
|
4
|
+
const m = d`*,:before,:after{box-sizing:border-box}:host{--sbb-visual-checkbox-dimension: var(--sbb-size-icon-ui-small);--sbb-visual-checkbox-background-color: var(--sbb-color-white);--sbb-visual-checkbox-border-color: var(--sbb-color-smoke);--sbb-visual-checkbox-border-style: solid;--sbb-visual-checkbox-border-width: var(--sbb-border-width-1x);--sbb-visual-checkbox-selection-color: var(--sbb-color-red);--sbb-visual-checkbox-cursor: pointer;display:block}@media (forced-colors: active){:host{--sbb-visual-checkbox-selection-color: Canvas;--sbb-visual-checkbox-border-width: 0}}:host([negative]){--sbb-visual-checkbox-background-color: var(--sbb-color-midnight);--sbb-visual-checkbox-border-color: var(--sbb-color-smoke);--sbb-visual-checkbox-selection-color: var(--sbb-color-red)}@media (forced-colors: active){:host([negative]){--sbb-visual-checkbox-selection-color: Canvas}}:host([disabled]){--sbb-visual-checkbox-background-color: var(--sbb-color-milk);--sbb-visual-checkbox-border-color: var(--sbb-color-smoke);--sbb-visual-checkbox-border-style: dashed;--sbb-visual-checkbox-selection-color: var(--sbb-color-charcoal);--sbb-visual-checkbox-cursor: default}@media (forced-colors: active){:host([disabled]){--sbb-visual-checkbox-selection-color: Canvas}}:host([disabled][negative]){--sbb-visual-checkbox-background-color: var(--sbb-color-charcoal);--sbb-visual-checkbox-border-color: var(--sbb-color-smoke);--sbb-visual-checkbox-selection-color: var(--sbb-color-white)}@media (forced-colors: active){:host([disabled][negative]){--sbb-visual-checkbox-selection-color: Canvas}}@media (forced-colors: active){:host([indeterminate]){--sbb-visual-checkbox-selection-color: ButtonBorder}}@media (forced-colors: active){:host([indeterminate][disabled]){--sbb-visual-checkbox-selection-color: GrayText}}.sbb-visual-checkbox{position:relative;display:flex;align-items:center;justify-content:center;width:var(--sbb-visual-checkbox-dimension);height:var(--sbb-visual-checkbox-dimension);border-radius:var(--sbb-border-radius-2x);border:var(--sbb-visual-checkbox-border-width) var(--sbb-visual-checkbox-border-style) var(--sbb-visual-checkbox-border-color);background-color:var(--sbb-visual-checkbox-background-color);cursor:var(--sbb-visual-checkbox-cursor)}@media (forced-colors: active){.sbb-visual-checkbox{outline:var(--sbb-border-width-2x) solid ButtonBorder;outline-offset:calc(-1 * var(--sbb-border-width-2x))}:host([checked]:not([indeterminate])) .sbb-visual-checkbox{background-color:HighLight;outline:none}:host([disabled]) .sbb-visual-checkbox{outline-color:GrayText}:host([checked][disabled]:not([indeterminate])) .sbb-visual-checkbox{background-color:GrayText}}.sbb-visual-checkbox__icon{display:inline-flex;width:var(--sbb-visual-checkbox-dimension);height:var(--sbb-visual-checkbox-dimension)}.sbb-visual-checkbox__icon svg{margin:auto}.sbb-visual-checkbox__icon path{stroke:var(--sbb-visual-checkbox-selection-color)}`;
|
|
5
5
|
var p = Object.defineProperty, g = Object.getOwnPropertyDescriptor, a = (l, s, c, b) => {
|
|
6
6
|
for (var o = b > 1 ? void 0 : b ? g(s, c) : s, r = l.length - 1, i; r >= 0; r--)
|
|
7
7
|
(i = l[r]) && (o = (b ? i(s, c, o) : i(o)) || o);
|
|
8
8
|
return b && o && p(s, c, o), o;
|
|
9
9
|
};
|
|
10
|
-
let e = class extends k(x(
|
|
10
|
+
let e = class extends k(x(v)) {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.checked = !1, this.indeterminate = !1;
|
|
13
13
|
}
|
|
@@ -28,7 +28,7 @@ let e = class extends k(x(h)) {
|
|
|
28
28
|
stroke-linecap="round"
|
|
29
29
|
stroke-linejoin="round"
|
|
30
30
|
/>
|
|
31
|
-
</svg>` :
|
|
31
|
+
</svg>` : h}
|
|
32
32
|
</span>
|
|
33
33
|
</span>
|
|
34
34
|
`;
|