@covalent/components 9.1.0 → 9.1.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/{_commonjsHelpers-DjF3Plf2.mjs → _commonjsHelpers-HP5nalso.mjs} +2 -2
- package/action-ribbon.js +2 -2
- package/action-ribbon.mjs +24 -24
- package/alert.js +3 -3
- package/alert.mjs +4 -4
- package/app-shell.js +1 -1
- package/app-shell.mjs +6 -6
- package/async-directive-2AOdKBUW.mjs +66 -0
- package/async-directive-DZ3MjSIj.js +5 -0
- package/badge.js +1 -1
- package/badge.mjs +6 -6
- package/{base-element-aUDWLn36.js → base-element-5ZU-p99q.js} +1 -1
- package/{base-element-C-U4OfWx.mjs → base-element-CzNmpVoz.mjs} +1 -1
- package/button.js +1 -1
- package/button.mjs +24 -24
- package/card.js +1 -1
- package/card.mjs +12 -12
- package/check-list-item.js +7 -7
- package/check-list-item.mjs +31 -31
- package/checkbox.js +1 -1
- package/checkbox.mjs +9 -9
- package/{chip-C8L37ovG.mjs → chip-5QP7xPTY.mjs} +6 -6
- package/{chip-BsDYOEFW.js → chip-CitHXhY7.js} +1 -1
- package/chip-set.js +1 -1
- package/chip-set.mjs +114 -114
- package/chip.js +1 -1
- package/chip.mjs +2 -2
- package/circular-progress.js +4 -4
- package/circular-progress.mjs +10 -10
- package/class-map-BHl5MHd7.mjs +36 -0
- package/class-map-PsUYVqvf.js +5 -0
- package/{code-editor-CSH3MdBF.js → code-editor-CCUZsYkN.js} +135 -137
- package/{code-editor-Bshyfjyn.mjs → code-editor-JaW-06cH.mjs} +8151 -8113
- package/code-editor.js +1 -1
- package/code-editor.mjs +2 -2
- package/code-snippet.js +1 -1
- package/code-snippet.mjs +7 -7
- package/{dialog-BoNH4r3n.mjs → dialog-BVmWYLqR.mjs} +194 -194
- package/{dialog-LUOzoMeO.js → dialog-DzaPP3Vt.js} +9 -9
- package/dialog.js +1 -1
- package/dialog.mjs +2 -2
- package/{directive-oAbCiebi.mjs → directive-B76A7YXI.mjs} +4 -4
- package/directive-C_VV3qwo.js +5 -0
- package/directive-helpers-6HCt_-zj.mjs +11 -0
- package/directive-helpers-BnUMbYHh.js +5 -0
- package/drawer.js +1 -1
- package/drawer.mjs +2 -2
- package/empty-state.js +1 -1
- package/empty-state.mjs +7 -7
- package/{event-options-CNykeE2u.mjs → event-options-D44mpm5S.mjs} +1 -1
- package/{event-options-BH8ks-kz.js → event-options-IG-2g8HU.js} +1 -1
- package/expansion-panel-item.js +1 -1
- package/expansion-panel-item.mjs +4 -4
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +1 -1
- package/focused-page.js +1 -1
- package/focused-page.mjs +8 -8
- package/form-element--PS8uSRI.js +5 -0
- package/form-element-Dn0Lerng.mjs +50 -0
- package/formfield.js +4 -4
- package/formfield.mjs +13 -13
- package/{foundation-qQ4jzaAu.mjs → foundation-BYhAXCW_.mjs} +17 -15
- package/{foundation-PL3XY-m_.mjs → foundation-D6JHa7Lg.mjs} +4 -4
- package/{foundation-pgmPu2iJ.js → foundation-aT_gy6X8.js} +1 -1
- package/{foundation-CySCCTUE.js → foundation-sIsx2I_x.js} +2 -2
- package/full-screen-dialog.js +2 -2
- package/full-screen-dialog.mjs +12 -12
- package/{html-DrhRpsz9.mjs → html-DhKW0KfF.mjs} +1 -1
- package/{html-DUGRoHaj.js → html-S7zzCKH0.js} +1 -1
- package/icon/_icon-list.d.ts +4 -0
- package/icon/_icon-list.d.ts.map +1 -0
- package/icon/icon-demo.d.ts +14 -0
- package/icon/icon-demo.d.ts.map +1 -0
- package/icon-button-toggle.js +5 -5
- package/icon-button-toggle.mjs +35 -35
- package/icon-button.js +2 -2
- package/icon-button.mjs +28 -28
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +6 -6
- package/icon-lockup.js +5 -5
- package/icon-lockup.mjs +6 -6
- package/icon-radio-toggle.js +4 -4
- package/icon-radio-toggle.mjs +8 -8
- package/icon.js +1 -1
- package/icon.mjs +14 -14
- package/{if-defined-D8C6ewRn.js → if-defined-B7G84qob.js} +1 -1
- package/{if-defined-BsNkRMMG.mjs → if-defined-DN7whKwy.mjs} +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +10 -1
- package/index.mjs +450 -112
- package/{javascript-DKtDcqDi.mjs → javascript-BtkevR81.mjs} +1 -1
- package/{javascript-54eqLOAw.js → javascript-fH54qAGk.js} +1 -1
- package/linear-progress.js +7 -7
- package/linear-progress.mjs +17 -17
- package/{list-item-BZVW1fmJ.js → list-item-BQ6SDTvW.js} +1 -1
- package/{list-item-DCzzLVZh.mjs → list-item-DuBDCnZ-.mjs} +1 -1
- package/list-item.js +2 -2
- package/list-item.mjs +16 -16
- package/list.js +1 -1
- package/list.mjs +16 -16
- package/menu.js +2 -2
- package/menu.mjs +11 -11
- package/{mwc-checkbox.css-Cd0yCOHu.js → mwc-checkbox.css-BV3dyB4C.js} +1 -1
- package/{mwc-checkbox.css-MBOzkrQg.mjs → mwc-checkbox.css-CNoj0V14.mjs} +31 -31
- package/{mwc-drawer-base-Dgs9327G.mjs → mwc-drawer-base-A-4s_ZnE.mjs} +10 -10
- package/{mwc-drawer-base-D-48lqfn.js → mwc-drawer-base-DWczEPvb.js} +3 -3
- package/{mwc-icon-BZRds8SY.mjs → mwc-icon-DTCUplqR.mjs} +2 -2
- package/{mwc-icon-BumH81hp.js → mwc-icon-Xgr698ax.js} +1 -1
- package/{mwc-icon-button.css-DJMY7U7e.mjs → mwc-icon-button.css-DJiDOS0_.mjs} +1 -1
- package/{mwc-icon-button.css-BtgKBOl3.js → mwc-icon-button.css-DOVWWyjA.js} +1 -1
- package/{mwc-line-ripple-directive-zhm5Zc8i.mjs → mwc-line-ripple-directive-TO37-41n.mjs} +34 -34
- package/{mwc-line-ripple-directive-DvPWr3ER.js → mwc-line-ripple-directive-r80jluoU.js} +4 -4
- package/{mwc-list-item.css-CtRq5wSu.js → mwc-list-item.css-CO1JlA8e.js} +10 -10
- package/{mwc-list-item.css-g34xqhLC.mjs → mwc-list-item.css-Cg9onxQ-.mjs} +11 -11
- package/{mwc-list.css-DFOdJyFB.mjs → mwc-list.css-C_-DVEme.mjs} +102 -102
- package/{mwc-list.css-CaMJWsDp.js → mwc-list.css-Deg9oBaO.js} +1 -1
- package/{mwc-menu.css-pxcxlTrh.js → mwc-menu.css-Dvr-f3_T.js} +18 -18
- package/{mwc-menu.css-BEiPghgR.mjs → mwc-menu.css-qpZxKN-g.mjs} +306 -306
- package/{mwc-radio.css-XRx0vL1k.mjs → mwc-radio.css-BiHC1R8I.mjs} +11 -11
- package/{mwc-radio.css-CVMtIq-L.js → mwc-radio.css-DjO4Rn44.js} +1 -1
- package/{mwc-slider.css-WrkrmqkL.js → mwc-slider.css-DFOaS04S.js} +13 -13
- package/{mwc-slider.css-2Bqk43z7.mjs → mwc-slider.css-Deh1__Ar.mjs} +290 -279
- package/{mwc-tab.css-B9yQpkYf.mjs → mwc-tab.css-2UrPKkNg.mjs} +34 -34
- package/{mwc-tab.css-CgdXMZBB.js → mwc-tab.css-sq5suZKe.js} +11 -11
- package/{mwc-top-app-bar-base-B0EW9eNk.mjs → mwc-top-app-bar-base-BIZGhVtM.mjs} +40 -40
- package/{mwc-top-app-bar-base-CSXRBOiX.js → mwc-top-app-bar-base-DUdOcIjS.js} +7 -7
- package/nav-list-item.js +3 -3
- package/nav-list-item.mjs +18 -18
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +25 -25
- package/package.json +6 -1
- package/{property-DYTC_2-m.js → property-BRKnMYJe.js} +1 -1
- package/{python-CEXbOLXn.mjs → python-BkZeja0y.mjs} +1 -1
- package/{python-CzGtlN7c.js → python-C2_KOh3o.js} +1 -1
- package/query-BvlE-gMJ.js +5 -0
- package/query-DSO61t36.mjs +15 -0
- package/query-assigned-elements-BQszEgac.js +31 -0
- package/query-assigned-elements-DhyCP_2z.mjs +591 -0
- package/query-assigned-nodes-9DFnkxV8.js +5 -0
- package/query-assigned-nodes-B-jCihdA.mjs +17 -0
- package/radio-list-item.js +5 -5
- package/radio-list-item.mjs +24 -24
- package/radio.js +1 -1
- package/radio.mjs +9 -9
- package/{ripple-handlers-i3WPEBiO.mjs → ripple-handlers-BAdg-fJB.mjs} +72 -72
- package/{ripple-handlers-CzfSBjWo.js → ripple-handlers-BDmOLx8c.js} +5 -5
- package/select.js +12 -12
- package/select.mjs +119 -118
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +8 -8
- package/slider-range.js +7 -7
- package/slider-range.mjs +39 -39
- package/slider.js +1 -1
- package/slider.mjs +18 -18
- package/snackbar.js +8 -8
- package/snackbar.mjs +21 -21
- package/{state-DaD9o2aK.mjs → state-B_tK3mBm.mjs} +2 -2
- package/{state-C3HoXfoa.js → state-Csv4sdJA.js} +1 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +7 -7
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +18 -18
- package/status-header.js +1 -1
- package/status-header.mjs +2 -2
- package/style-map-3QfsA_1O.js +5 -0
- package/style-map-QxIETvrs.mjs +42 -0
- package/switch.js +6 -6
- package/switch.mjs +40 -40
- package/tab-bar.js +5 -5
- package/tab-bar.mjs +93 -93
- package/tab.js +1 -1
- package/tab.mjs +5 -5
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +11 -11
- package/textarea.js +6 -6
- package/textarea.mjs +22 -22
- package/{textfield-BwmiygD8.js → textfield-CO6CFCCn.js} +30 -30
- package/{textfield-C6sUZIeA.mjs → textfield-WSgoABZn.mjs} +103 -103
- package/textfield.js +2 -2
- package/textfield.mjs +9 -9
- package/toolbar.js +1 -1
- package/toolbar.mjs +2 -2
- package/tooltip.js +3 -3
- package/tooltip.mjs +56 -55
- package/{top-app-bar-4SA3DjLX.mjs → top-app-bar-BvXNELe9.mjs} +1 -1
- package/{top-app-bar-CGjBuyiD.js → top-app-bar-Cvp1aN42.js} +1 -1
- package/top-app-bar-fixed.js +8 -8
- package/top-app-bar-fixed.mjs +35 -35
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +12 -12
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +5 -5
- package/tree-list.js +1 -1
- package/tree-list.mjs +5 -5
- package/tslib.es6-CISSdiiH.mjs +75 -0
- package/{typescript-DotYReBq.mjs → typescript-BUN0g4m9.mjs} +1 -1
- package/{typescript-D_zVB3gH.js → typescript-DzngJr4U.js} +1 -1
- package/typography.js +1 -1
- package/typography.mjs +10 -10
- package/async-directive-Cx1B9M5C.mjs +0 -66
- package/async-directive-y3fBDDSk.js +0 -5
- package/class-map-C1SJpero.mjs +0 -36
- package/class-map-C8G1ALWK.js +0 -5
- package/directive-C7oCP5Bh.js +0 -5
- package/directive-helpers-CllkNDrI.mjs +0 -11
- package/directive-helpers-Duf3sfLn.js +0 -5
- package/form-element-CxSqbssX.mjs +0 -50
- package/form-element-DwqUbs65.js +0 -5
- package/query-BBDQWsft.mjs +0 -15
- package/query-BxDs8ftQ.js +0 -5
- package/query-assigned-elements-4CafVNR8.js +0 -31
- package/query-assigned-elements-DCt2xozt.mjs +0 -591
- package/query-assigned-nodes-B9zBfkh6.mjs +0 -17
- package/query-assigned-nodes-CckKHm2z.js +0 -5
- package/style-map-BJBXlSqn.js +0 -5
- package/style-map-CCsABR5m.mjs +0 -42
- package/tslib.es6-pPsSiLLK.mjs +0 -75
package/radio-list-item.mjs
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
import {
|
2
|
-
import { e as
|
3
|
-
import {
|
1
|
+
import { b as o } from "./tslib.es6-CISSdiiH.mjs";
|
2
|
+
import { e as p, x as d, i as u, r as g } from "./query-assigned-elements-DhyCP_2z.mjs";
|
3
|
+
import { s as _, R as $ } from "./mwc-radio.css-BiHC1R8I.mjs";
|
4
4
|
import { n as m } from "./property-DJzm_oB9.mjs";
|
5
|
-
import { i as f } from "./query-
|
6
|
-
import { o as
|
7
|
-
import { l as
|
8
|
-
import { L as
|
9
|
-
import { s as
|
5
|
+
import { i as f } from "./query-DSO61t36.mjs";
|
6
|
+
import { o as y } from "./class-map-BHl5MHd7.mjs";
|
7
|
+
import { l as C } from "./if-defined-DN7whKwy.mjs";
|
8
|
+
import { L as R, s as x } from "./mwc-list-item.css-Cg9onxQ-.mjs";
|
9
|
+
import { s as b, c as v } from "./list-item-DuBDCnZ-.mjs";
|
10
10
|
/**
|
11
11
|
* @license
|
12
12
|
* Copyright 2018 Google LLC
|
13
13
|
* SPDX-License-Identifier: Apache-2.0
|
14
14
|
*/
|
15
|
-
let
|
15
|
+
let h = class extends $ {
|
16
16
|
};
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
],
|
17
|
+
h.styles = [_];
|
18
|
+
h = o([
|
19
|
+
p("mwc-radio")
|
20
|
+
], h);
|
21
21
|
/**
|
22
22
|
* @license
|
23
23
|
* Copyright 2020 Google LLC
|
24
24
|
* SPDX-License-Identifier: Apache-2.0
|
25
25
|
*/
|
26
|
-
class a extends
|
26
|
+
class a extends R {
|
27
27
|
constructor() {
|
28
28
|
super(...arguments), this.left = !1, this.graphic = "control", this._changeFromClick = !1;
|
29
29
|
}
|
@@ -31,16 +31,16 @@ class a extends C {
|
|
31
31
|
const s = {
|
32
32
|
"mdc-deprecated-list-item__graphic": this.left,
|
33
33
|
"mdc-deprecated-list-item__meta": !this.left
|
34
|
-
}, e = this.renderText(), i = this.graphic && this.graphic !== "control" && !this.left ? this.renderGraphic() :
|
35
|
-
return
|
34
|
+
}, e = this.renderText(), i = this.graphic && this.graphic !== "control" && !this.left ? this.renderGraphic() : d``, t = this.hasMeta && this.left ? this.renderMeta() : d``, r = this.renderRipple();
|
35
|
+
return d`
|
36
36
|
${r}
|
37
37
|
${i}
|
38
38
|
${this.left ? "" : e}
|
39
39
|
<mwc-radio
|
40
40
|
global
|
41
|
-
class=${
|
41
|
+
class=${y(s)}
|
42
42
|
tabindex=${this.tabindex}
|
43
|
-
name=${
|
43
|
+
name=${C(this.group === null ? void 0 : this.group)}
|
44
44
|
.checked=${this.selected}
|
45
45
|
?disabled=${this.disabled}
|
46
46
|
@checked=${this.onChange}>
|
@@ -69,21 +69,21 @@ o([
|
|
69
69
|
m({ type: String, reflect: !0 })
|
70
70
|
], a.prototype, "graphic", void 0);
|
71
71
|
var k = Object.defineProperty, P = Object.getOwnPropertyDescriptor, w = (c, s, e, i) => {
|
72
|
-
for (var t = i > 1 ? void 0 : i ? P(s, e) : s, r = c.length - 1,
|
73
|
-
(
|
72
|
+
for (var t = i > 1 ? void 0 : i ? P(s, e) : s, r = c.length - 1, n; r >= 0; r--)
|
73
|
+
(n = c[r]) && (t = (i ? n(s, e, t) : n(t)) || t);
|
74
74
|
return i && t && k(s, e, t), t;
|
75
75
|
};
|
76
76
|
let l = class extends a {
|
77
77
|
};
|
78
78
|
l.styles = [
|
79
|
-
R,
|
80
79
|
x,
|
81
|
-
|
82
|
-
|
80
|
+
b,
|
81
|
+
u`
|
82
|
+
${g(v)}
|
83
83
|
`
|
84
84
|
];
|
85
85
|
l = w([
|
86
|
-
|
86
|
+
p("cv-radio-list-item")
|
87
87
|
], l);
|
88
88
|
const M = l;
|
89
89
|
export {
|
package/radio.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("./query-assigned-elements-BQszEgac.js"),d=require("./mwc-radio.css-DjO4Rn44.js"),i=":host{--mdc-radio-unchecked-color: var(--mdc-theme-text-icon-on-background)}";var c=Object.defineProperty,v=Object.getOwnPropertyDescriptor,u=(s,o,a,t)=>{for(var e=t>1?void 0:t?v(o,a):o,r=s.length-1,n;r>=0;r--)(n=s[r])&&(e=(t?n(o,a,e):n(e))||e);return t&&e&&c(o,a,e),e};exports.CovalentRadio=class extends d.RadioBase{};exports.CovalentRadio.styles=[d.styles,l.i`${l.r(i)}`];exports.CovalentRadio=u([l.e("cv-radio")],exports.CovalentRadio);const R=exports.CovalentRadio;exports.default=R;
|
package/radio.mjs
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
import { i as
|
2
|
-
import {
|
1
|
+
import { i as l, r as d, e as f } from "./query-assigned-elements-DhyCP_2z.mjs";
|
2
|
+
import { s as i, R as v } from "./mwc-radio.css-BiHC1R8I.mjs";
|
3
3
|
const p = ":host{--mdc-radio-unchecked-color: var(--mdc-theme-text-icon-on-background)}";
|
4
|
-
var m = Object.defineProperty,
|
5
|
-
for (var e = s > 1 ? void 0 : s ?
|
6
|
-
(c =
|
4
|
+
var m = Object.defineProperty, u = Object.getOwnPropertyDescriptor, _ = (n, o, t, s) => {
|
5
|
+
for (var e = s > 1 ? void 0 : s ? u(o, t) : o, a = n.length - 1, c; a >= 0; a--)
|
6
|
+
(c = n[a]) && (e = (s ? c(o, t, e) : c(e)) || e);
|
7
7
|
return s && e && m(o, t, e), e;
|
8
8
|
};
|
9
|
-
let r = class extends
|
9
|
+
let r = class extends v {
|
10
10
|
};
|
11
|
-
r.styles = [
|
12
|
-
r =
|
13
|
-
|
11
|
+
r.styles = [i, l`${d(p)}`];
|
12
|
+
r = _([
|
13
|
+
f("cv-radio")
|
14
14
|
], r);
|
15
15
|
const P = r;
|
16
16
|
export {
|
@@ -1,20 +1,20 @@
|
|
1
|
-
import { o as H, x as k, i as D, e as x } from "./query-assigned-elements-
|
2
|
-
import {
|
3
|
-
import { B } from "./base-element-
|
1
|
+
import { o as H, x as k, i as D, e as x } from "./query-assigned-elements-DhyCP_2z.mjs";
|
2
|
+
import { _ as z, a as y, c as h, b as n } from "./tslib.es6-CISSdiiH.mjs";
|
3
|
+
import { B } from "./base-element-CzNmpVoz.mjs";
|
4
4
|
import { n as u } from "./property-DJzm_oB9.mjs";
|
5
|
-
import { t as l } from "./state-
|
6
|
-
import { i as M } from "./query-
|
7
|
-
import { o as U } from "./class-map-
|
8
|
-
import { o as G } from "./style-map-
|
5
|
+
import { t as l } from "./state-B_tK3mBm.mjs";
|
6
|
+
import { i as M } from "./query-DSO61t36.mjs";
|
7
|
+
import { o as U } from "./class-map-BHl5MHd7.mjs";
|
8
|
+
import { o as G } from "./style-map-QxIETvrs.mjs";
|
9
9
|
/**
|
10
10
|
* @license
|
11
11
|
* Copyright 2017 Google LLC
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
13
13
|
*/
|
14
|
-
function T(
|
14
|
+
function T(p) {
|
15
15
|
return H({ descriptor: (t) => ({ async get() {
|
16
16
|
var e;
|
17
|
-
return await this.updateComplete, (e = this.renderRoot) === null || e === void 0 ? void 0 : e.querySelector(
|
17
|
+
return await this.updateComplete, (e = this.renderRoot) === null || e === void 0 ? void 0 : e.querySelector(p);
|
18
18
|
}, enumerable: !0, configurable: !0 }) });
|
19
19
|
}
|
20
20
|
/**
|
@@ -39,9 +39,9 @@ function T(o) {
|
|
39
39
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
40
40
|
* THE SOFTWARE.
|
41
41
|
*/
|
42
|
-
function L(
|
43
|
-
var e =
|
44
|
-
return e.call(
|
42
|
+
function L(p, t) {
|
43
|
+
var e = p.matches || p.webkitMatchesSelector || p.msMatchesSelector;
|
44
|
+
return e.call(p, t);
|
45
45
|
}
|
46
46
|
/**
|
47
47
|
* @license
|
@@ -68,36 +68,36 @@ function L(o, t) {
|
|
68
68
|
var I = (
|
69
69
|
/** @class */
|
70
70
|
function() {
|
71
|
-
function
|
71
|
+
function p(t) {
|
72
72
|
t === void 0 && (t = {}), this.adapter = t;
|
73
73
|
}
|
74
|
-
return Object.defineProperty(
|
74
|
+
return Object.defineProperty(p, "cssClasses", {
|
75
75
|
get: function() {
|
76
76
|
return {};
|
77
77
|
},
|
78
78
|
enumerable: !1,
|
79
79
|
configurable: !0
|
80
|
-
}), Object.defineProperty(
|
80
|
+
}), Object.defineProperty(p, "strings", {
|
81
81
|
get: function() {
|
82
82
|
return {};
|
83
83
|
},
|
84
84
|
enumerable: !1,
|
85
85
|
configurable: !0
|
86
|
-
}), Object.defineProperty(
|
86
|
+
}), Object.defineProperty(p, "numbers", {
|
87
87
|
get: function() {
|
88
88
|
return {};
|
89
89
|
},
|
90
90
|
enumerable: !1,
|
91
91
|
configurable: !0
|
92
|
-
}), Object.defineProperty(
|
92
|
+
}), Object.defineProperty(p, "defaultAdapter", {
|
93
93
|
get: function() {
|
94
94
|
return {};
|
95
95
|
},
|
96
96
|
enumerable: !1,
|
97
97
|
configurable: !0
|
98
|
-
}),
|
99
|
-
},
|
100
|
-
},
|
98
|
+
}), p.prototype.init = function() {
|
99
|
+
}, p.prototype.destroy = function() {
|
100
|
+
}, p;
|
101
101
|
}()
|
102
102
|
);
|
103
103
|
/**
|
@@ -146,18 +146,18 @@ var P = {
|
|
146
146
|
TAP_DELAY_MS: 300
|
147
147
|
// Delay between touch and simulated mouse events on touch devices
|
148
148
|
};
|
149
|
-
function X(
|
150
|
-
if (!
|
149
|
+
function X(p, t, e) {
|
150
|
+
if (!p)
|
151
151
|
return { x: 0, y: 0 };
|
152
|
-
var r = t.x, a = t.y, i = r + e.left, c = a + e.top,
|
153
|
-
if (
|
154
|
-
var m =
|
155
|
-
|
152
|
+
var r = t.x, a = t.y, i = r + e.left, c = a + e.top, o, d;
|
153
|
+
if (p.type === "touchstart") {
|
154
|
+
var m = p;
|
155
|
+
o = m.changedTouches[0].pageX - i, d = m.changedTouches[0].pageY - c;
|
156
156
|
} else {
|
157
|
-
var f =
|
158
|
-
|
157
|
+
var f = p;
|
158
|
+
o = f.pageX - i, d = f.pageY - c;
|
159
159
|
}
|
160
|
-
return { x:
|
160
|
+
return { x: o, y: d };
|
161
161
|
}
|
162
162
|
/**
|
163
163
|
* @license
|
@@ -191,12 +191,12 @@ var R = [
|
|
191
191
|
"pointerup",
|
192
192
|
"mouseup",
|
193
193
|
"contextmenu"
|
194
|
-
],
|
194
|
+
], v = [], q = (
|
195
195
|
/** @class */
|
196
|
-
function(
|
197
|
-
z(t,
|
196
|
+
function(p) {
|
197
|
+
z(t, p);
|
198
198
|
function t(e) {
|
199
|
-
var r =
|
199
|
+
var r = p.call(this, y(y({}, t.defaultAdapter), e)) || this;
|
200
200
|
return r.activationAnimationHasEnded = !1, r.activationTimer = 0, r.fgDeactivationRemovalTimer = 0, r.fgScale = "0", r.frame = { width: 0, height: 0 }, r.initialSize = 0, r.layoutFrame = 0, r.maxRadius = 0, r.unboundedCoords = { left: 0, top: 0 }, r.activationState = r.defaultActivationState(), r.activationTimerCallback = function() {
|
201
201
|
r.activationAnimationHasEnded = !0, r.runDeactivationUXLogicIfReady();
|
202
202
|
}, r.activateHandler = function(a) {
|
@@ -330,9 +330,9 @@ var R = [
|
|
330
330
|
var r, a;
|
331
331
|
if (e) {
|
332
332
|
try {
|
333
|
-
for (var i =
|
334
|
-
var
|
335
|
-
this.adapter.registerInteractionHandler(
|
333
|
+
for (var i = h(R), c = i.next(); !c.done; c = i.next()) {
|
334
|
+
var o = c.value;
|
335
|
+
this.adapter.registerInteractionHandler(o, this.activateHandler);
|
336
336
|
}
|
337
337
|
} catch (d) {
|
338
338
|
r = { error: d };
|
@@ -352,9 +352,9 @@ var R = [
|
|
352
352
|
this.adapter.registerInteractionHandler("keyup", this.deactivateHandler);
|
353
353
|
else
|
354
354
|
try {
|
355
|
-
for (var i =
|
356
|
-
var
|
357
|
-
this.adapter.registerDocumentInteractionHandler(
|
355
|
+
for (var i = h(S), c = i.next(); !c.done; c = i.next()) {
|
356
|
+
var o = c.value;
|
357
|
+
this.adapter.registerDocumentInteractionHandler(o, this.deactivateHandler);
|
358
358
|
}
|
359
359
|
} catch (d) {
|
360
360
|
r = { error: d };
|
@@ -368,12 +368,12 @@ var R = [
|
|
368
368
|
}, t.prototype.deregisterRootHandlers = function() {
|
369
369
|
var e, r;
|
370
370
|
try {
|
371
|
-
for (var a =
|
371
|
+
for (var a = h(R), i = a.next(); !i.done; i = a.next()) {
|
372
372
|
var c = i.value;
|
373
373
|
this.adapter.deregisterInteractionHandler(c, this.activateHandler);
|
374
374
|
}
|
375
|
-
} catch (
|
376
|
-
e = { error:
|
375
|
+
} catch (o) {
|
376
|
+
e = { error: o };
|
377
377
|
} finally {
|
378
378
|
try {
|
379
379
|
i && !i.done && (r = a.return) && r.call(a);
|
@@ -386,12 +386,12 @@ var R = [
|
|
386
386
|
var e, r;
|
387
387
|
this.adapter.deregisterInteractionHandler("keyup", this.deactivateHandler);
|
388
388
|
try {
|
389
|
-
for (var a =
|
389
|
+
for (var a = h(S), i = a.next(); !i.done; i = a.next()) {
|
390
390
|
var c = i.value;
|
391
391
|
this.adapter.deregisterDocumentInteractionHandler(c, this.deactivateHandler);
|
392
392
|
}
|
393
|
-
} catch (
|
394
|
-
e = { error:
|
393
|
+
} catch (o) {
|
394
|
+
e = { error: o };
|
395
395
|
} finally {
|
396
396
|
try {
|
397
397
|
i && !i.done && (r = a.return) && r.call(a);
|
@@ -412,15 +412,15 @@ var R = [
|
|
412
412
|
var i = this.previousActivationEvent, c = i && e !== void 0 && i.type !== e.type;
|
413
413
|
if (!c) {
|
414
414
|
a.isActivated = !0, a.isProgrammatic = e === void 0, a.activationEvent = e, a.wasActivatedByPointer = a.isProgrammatic ? !1 : e !== void 0 && (e.type === "mousedown" || e.type === "touchstart" || e.type === "pointerdown");
|
415
|
-
var
|
415
|
+
var o = e !== void 0 && v.length > 0 && v.some(function(d) {
|
416
416
|
return r.adapter.containsEventTarget(d);
|
417
417
|
});
|
418
|
-
if (
|
418
|
+
if (o) {
|
419
419
|
this.resetActivationState();
|
420
420
|
return;
|
421
421
|
}
|
422
|
-
e !== void 0 && (
|
423
|
-
|
422
|
+
e !== void 0 && (v.push(e.target), this.registerDeactivationHandlers(e)), a.wasElementMadeActive = this.checkElementMadeActive(e), a.wasElementMadeActive && this.animateActivation(), requestAnimationFrame(function() {
|
423
|
+
v = [], !a.wasElementMadeActive && e !== void 0 && (e.key === " " || e.keyCode === 32) && (a.wasElementMadeActive = r.checkElementMadeActive(e), a.wasElementMadeActive && r.animateActivation()), a.wasElementMadeActive || (r.activationState = r.defaultActivationState());
|
424
424
|
});
|
425
425
|
}
|
426
426
|
}
|
@@ -428,14 +428,14 @@ var R = [
|
|
428
428
|
}, t.prototype.checkElementMadeActive = function(e) {
|
429
429
|
return e !== void 0 && e.type === "keydown" ? this.adapter.isSurfaceActive() : !0;
|
430
430
|
}, t.prototype.animateActivation = function() {
|
431
|
-
var e = this, r = t.strings, a = r.VAR_FG_TRANSLATE_START, i = r.VAR_FG_TRANSLATE_END, c = t.cssClasses,
|
431
|
+
var e = this, r = t.strings, a = r.VAR_FG_TRANSLATE_START, i = r.VAR_FG_TRANSLATE_END, c = t.cssClasses, o = c.FG_DEACTIVATION, d = c.FG_ACTIVATION, m = t.numbers.DEACTIVATION_TIMEOUT_MS;
|
432
432
|
this.layoutInternal();
|
433
433
|
var f = "", b = "";
|
434
434
|
if (!this.adapter.isUnbounded()) {
|
435
435
|
var A = this.getFgTranslationCoordinates(), F = A.startPoint, C = A.endPoint;
|
436
436
|
f = F.x + "px, " + F.y + "px", b = C.x + "px, " + C.y + "px";
|
437
437
|
}
|
438
|
-
this.adapter.updateCssVariable(a, f), this.adapter.updateCssVariable(i, b), clearTimeout(this.activationTimer), clearTimeout(this.fgDeactivationRemovalTimer), this.rmBoundedActivationClasses(), this.adapter.removeClass(
|
438
|
+
this.adapter.updateCssVariable(a, f), this.adapter.updateCssVariable(i, b), clearTimeout(this.activationTimer), clearTimeout(this.fgDeactivationRemovalTimer), this.rmBoundedActivationClasses(), this.adapter.removeClass(o), this.adapter.computeBoundingRect(), this.adapter.addClass(d), this.activationTimer = setTimeout(function() {
|
439
439
|
e.activationTimerCallback();
|
440
440
|
}, m);
|
441
441
|
}, t.prototype.getFgTranslationCoordinates = function() {
|
@@ -453,8 +453,8 @@ var R = [
|
|
453
453
|
};
|
454
454
|
return { startPoint: i, endPoint: c };
|
455
455
|
}, t.prototype.runDeactivationUXLogicIfReady = function() {
|
456
|
-
var e = this, r = t.cssClasses.FG_DEACTIVATION, a = this.activationState, i = a.hasDeactivationUXRun, c = a.isActivated,
|
457
|
-
|
456
|
+
var e = this, r = t.cssClasses.FG_DEACTIVATION, a = this.activationState, i = a.hasDeactivationUXRun, c = a.isActivated, o = i || !c;
|
457
|
+
o && this.activationAnimationHasEnded && (this.rmBoundedActivationClasses(), this.adapter.addClass(r), this.fgDeactivationRemovalTimer = setTimeout(function() {
|
458
458
|
e.adapter.removeClass(r);
|
459
459
|
}, w.FG_DEACTIVATION_MS));
|
460
460
|
}, t.prototype.rmBoundedActivationClasses = function() {
|
@@ -645,58 +645,58 @@ class s extends B {
|
|
645
645
|
})}"></div>`;
|
646
646
|
}
|
647
647
|
}
|
648
|
-
|
648
|
+
n([
|
649
649
|
M(".mdc-ripple-surface")
|
650
650
|
], s.prototype, "mdcRoot", void 0);
|
651
|
-
|
651
|
+
n([
|
652
652
|
u({ type: Boolean })
|
653
653
|
], s.prototype, "primary", void 0);
|
654
|
-
|
654
|
+
n([
|
655
655
|
u({ type: Boolean })
|
656
656
|
], s.prototype, "accent", void 0);
|
657
|
-
|
657
|
+
n([
|
658
658
|
u({ type: Boolean })
|
659
659
|
], s.prototype, "unbounded", void 0);
|
660
|
-
|
660
|
+
n([
|
661
661
|
u({ type: Boolean })
|
662
662
|
], s.prototype, "disabled", void 0);
|
663
|
-
|
663
|
+
n([
|
664
664
|
u({ type: Boolean })
|
665
665
|
], s.prototype, "activated", void 0);
|
666
|
-
|
666
|
+
n([
|
667
667
|
u({ type: Boolean })
|
668
668
|
], s.prototype, "selected", void 0);
|
669
|
-
|
669
|
+
n([
|
670
670
|
u({ type: Boolean })
|
671
671
|
], s.prototype, "internalUseStateLayerCustomProperties", void 0);
|
672
|
-
|
672
|
+
n([
|
673
673
|
l()
|
674
674
|
], s.prototype, "hovering", void 0);
|
675
|
-
|
675
|
+
n([
|
676
676
|
l()
|
677
677
|
], s.prototype, "bgFocused", void 0);
|
678
|
-
|
678
|
+
n([
|
679
679
|
l()
|
680
680
|
], s.prototype, "fgActivation", void 0);
|
681
|
-
|
681
|
+
n([
|
682
682
|
l()
|
683
683
|
], s.prototype, "fgDeactivation", void 0);
|
684
|
-
|
684
|
+
n([
|
685
685
|
l()
|
686
686
|
], s.prototype, "fgScale", void 0);
|
687
|
-
|
687
|
+
n([
|
688
688
|
l()
|
689
689
|
], s.prototype, "fgSize", void 0);
|
690
|
-
|
690
|
+
n([
|
691
691
|
l()
|
692
692
|
], s.prototype, "translateStart", void 0);
|
693
|
-
|
693
|
+
n([
|
694
694
|
l()
|
695
695
|
], s.prototype, "translateEnd", void 0);
|
696
|
-
|
696
|
+
n([
|
697
697
|
l()
|
698
698
|
], s.prototype, "leftPos", void 0);
|
699
|
-
|
699
|
+
n([
|
700
700
|
l()
|
701
701
|
], s.prototype, "topPos", void 0);
|
702
702
|
/**
|
@@ -713,7 +713,7 @@ const j = D`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--m
|
|
713
713
|
let g = class extends s {
|
714
714
|
};
|
715
715
|
g.styles = [j];
|
716
|
-
g =
|
716
|
+
g = n([
|
717
717
|
x("mwc-ripple")
|
718
718
|
], g);
|
719
719
|
/**
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const h=require("./query-assigned-elements-
|
1
|
+
"use strict";const h=require("./query-assigned-elements-BQszEgac.js"),n=require("./tslib.es6-CHeFCc6E.js"),S=require("./base-element-5ZU-p99q.js"),u=require("./property-BRKnMYJe.js"),l=require("./state-Csv4sdJA.js"),H=require("./query-BvlE-gMJ.js"),k=require("./class-map-PsUYVqvf.js"),D=require("./style-map-3QfsA_1O.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2017 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
@@ -65,7 +65,7 @@
|
|
65
65
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
66
66
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
67
67
|
* THE SOFTWARE.
|
68
|
-
*/var M={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},B={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},C={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function U(s,t,e){if(!s)return{x:0,y:0};var r=t.x,a=t.y,i=r+e.left,c=a+e.top,
|
68
|
+
*/var M={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},B={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},C={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};function U(s,t,e){if(!s)return{x:0,y:0};var r=t.x,a=t.y,i=r+e.left,c=a+e.top,o,d;if(s.type==="touchstart"){var m=s;o=m.changedTouches[0].pageX-i,d=m.changedTouches[0].pageY-c}else{var f=s;o=f.pageX-i,d=f.pageY-c}return{x:o,y:d}}/**
|
69
69
|
* @license
|
70
70
|
* Copyright 2016 Google Inc.
|
71
71
|
*
|
@@ -86,13 +86,13 @@
|
|
86
86
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
87
87
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
88
88
|
* THE SOFTWARE.
|
89
|
-
*/var w=["touchstart","pointerdown","mousedown","keydown"],R=["touchend","pointerup","mouseup","contextmenu"],v=[],G=function(s){o.__extends(t,s);function t(e){var r=s.call(this,o.__assign(o.__assign({},t.defaultAdapter),e))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(a){r.activateImpl(a)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return Object.defineProperty(t,"cssClasses",{get:function(){return M},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return B},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var a=t.cssClasses,i=a.ROOT,c=a.UNBOUNDED;requestAnimationFrame(function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(c),e.layoutInternal())})}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,a=r.ROOT,i=r.UNBOUNDED;requestAnimationFrame(function(){e.adapter.removeClass(a),e.adapter.removeClass(i),e.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){e.layoutInternal(),e.layoutFrame=0})},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame(function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)})},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame(function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)})},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var r,a;if(e){try{for(var i=o.__values(w),c=i.next();!c.done;c=i.next()){var n=c.value;this.adapter.registerInteractionHandler(n,this.activateHandler)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var r,a;if(e.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=o.__values(R),c=i.next();!c.done;c=i.next()){var n=c.value;this.adapter.registerDocumentInteractionHandler(n,this.deactivateHandler)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}},t.prototype.deregisterRootHandlers=function(){var e,r;try{for(var a=o.__values(w),i=a.next();!i.done;i=a.next()){var c=i.value;this.adapter.deregisterInteractionHandler(c,this.activateHandler)}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,r;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var a=o.__values(R),i=a.next();!i.done;i=a.next()){var c=i.value;this.adapter.deregisterDocumentInteractionHandler(c,this.deactivateHandler)}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings,a=Object.keys(r);a.forEach(function(i){i.indexOf("VAR_")===0&&e.adapter.updateCssVariable(r[i],null)})},t.prototype.activateImpl=function(e){var r=this;if(!this.adapter.isSurfaceDisabled()){var a=this.activationState;if(!a.isActivated){var i=this.previousActivationEvent,c=i&&e!==void 0&&i.type!==e.type;if(!c){a.isActivated=!0,a.isProgrammatic=e===void 0,a.activationEvent=e,a.wasActivatedByPointer=a.isProgrammatic?!1:e!==void 0&&(e.type==="mousedown"||e.type==="touchstart"||e.type==="pointerdown");var n=e!==void 0&&v.length>0&&v.some(function(d){return r.adapter.containsEventTarget(d)});if(n){this.resetActivationState();return}e!==void 0&&(v.push(e.target),this.registerDeactivationHandlers(e)),a.wasElementMadeActive=this.checkElementMadeActive(e),a.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){v=[],!a.wasElementMadeActive&&e!==void 0&&(e.key===" "||e.keyCode===32)&&(a.wasElementMadeActive=r.checkElementMadeActive(e),a.wasElementMadeActive&&r.animateActivation()),a.wasElementMadeActive||(r.activationState=r.defaultActivationState())})}}}},t.prototype.checkElementMadeActive=function(e){return e!==void 0&&e.type==="keydown"?this.adapter.isSurfaceActive():!0},t.prototype.animateActivation=function(){var e=this,r=t.strings,a=r.VAR_FG_TRANSLATE_START,i=r.VAR_FG_TRANSLATE_END,c=t.cssClasses,n=c.FG_DEACTIVATION,d=c.FG_ACTIVATION,m=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var f="",g="";if(!this.adapter.isUnbounded()){var b=this.getFgTranslationCoordinates(),A=b.startPoint,F=b.endPoint;f=A.x+"px, "+A.y+"px",g=F.x+"px, "+F.y+"px"}this.adapter.updateCssVariable(a,f),this.adapter.updateCssVariable(i,g),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(n),this.adapter.computeBoundingRect(),this.adapter.addClass(d),this.activationTimer=setTimeout(function(){e.activationTimerCallback()},m)},t.prototype.getFgTranslationCoordinates=function(){var e=this.activationState,r=e.activationEvent,a=e.wasActivatedByPointer,i;a?i=U(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):i={x:this.frame.width/2,y:this.frame.height/2},i={x:i.x-this.initialSize/2,y:i.y-this.initialSize/2};var c={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:i,endPoint:c}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,a=this.activationState,i=a.hasDeactivationUXRun,c=a.isActivated,n=i||!c;n&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout(function(){e.adapter.removeClass(r)},C.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return e.previousActivationEvent=void 0},t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,r=this.activationState;if(r.isActivated){var a=o.__assign({},r);r.isProgrammatic?(requestAnimationFrame(function(){e.animateDeactivation(a)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(a),e.resetActivationState()}))}},t.prototype.animateDeactivation=function(e){var r=e.wasActivatedByPointer,a=e.wasElementMadeActive;(r||a)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width),a=function(){var c=Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2));return c+t.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?r:a();var i=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!==0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,a=e.VAR_LEFT,i=e.VAR_TOP,c=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(c,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(a,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},t}(x);/**
|
89
|
+
*/var w=["touchstart","pointerdown","mousedown","keydown"],R=["touchend","pointerup","mouseup","contextmenu"],v=[],G=function(s){n.__extends(t,s);function t(e){var r=s.call(this,n.__assign(n.__assign({},t.defaultAdapter),e))||this;return r.activationAnimationHasEnded=!1,r.activationTimer=0,r.fgDeactivationRemovalTimer=0,r.fgScale="0",r.frame={width:0,height:0},r.initialSize=0,r.layoutFrame=0,r.maxRadius=0,r.unboundedCoords={left:0,top:0},r.activationState=r.defaultActivationState(),r.activationTimerCallback=function(){r.activationAnimationHasEnded=!0,r.runDeactivationUXLogicIfReady()},r.activateHandler=function(a){r.activateImpl(a)},r.deactivateHandler=function(){r.deactivateImpl()},r.focusHandler=function(){r.handleFocus()},r.blurHandler=function(){r.handleBlur()},r.resizeHandler=function(){r.layout()},r}return Object.defineProperty(t,"cssClasses",{get:function(){return M},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return B},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var a=t.cssClasses,i=a.ROOT,c=a.UNBOUNDED;requestAnimationFrame(function(){e.adapter.addClass(i),e.adapter.isUnbounded()&&(e.adapter.addClass(c),e.layoutInternal())})}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var r=t.cssClasses,a=r.ROOT,i=r.UNBOUNDED;requestAnimationFrame(function(){e.adapter.removeClass(a),e.adapter.removeClass(i),e.removeCssVars()})}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame(function(){e.layoutInternal(),e.layoutFrame=0})},t.prototype.setUnbounded=function(e){var r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame(function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)})},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame(function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)})},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var r,a;if(e){try{for(var i=n.__values(w),c=i.next();!c.done;c=i.next()){var o=c.value;this.adapter.registerInteractionHandler(o,this.activateHandler)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var r,a;if(e.type==="keydown")this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=n.__values(R),c=i.next();!c.done;c=i.next()){var o=c.value;this.adapter.registerDocumentInteractionHandler(o,this.deactivateHandler)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}},t.prototype.deregisterRootHandlers=function(){var e,r;try{for(var a=n.__values(w),i=a.next();!i.done;i=a.next()){var c=i.value;this.adapter.deregisterInteractionHandler(c,this.activateHandler)}}catch(o){e={error:o}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,r;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var a=n.__values(R),i=a.next();!i.done;i=a.next()){var c=i.value;this.adapter.deregisterDocumentInteractionHandler(c,this.deactivateHandler)}}catch(o){e={error:o}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings,a=Object.keys(r);a.forEach(function(i){i.indexOf("VAR_")===0&&e.adapter.updateCssVariable(r[i],null)})},t.prototype.activateImpl=function(e){var r=this;if(!this.adapter.isSurfaceDisabled()){var a=this.activationState;if(!a.isActivated){var i=this.previousActivationEvent,c=i&&e!==void 0&&i.type!==e.type;if(!c){a.isActivated=!0,a.isProgrammatic=e===void 0,a.activationEvent=e,a.wasActivatedByPointer=a.isProgrammatic?!1:e!==void 0&&(e.type==="mousedown"||e.type==="touchstart"||e.type==="pointerdown");var o=e!==void 0&&v.length>0&&v.some(function(d){return r.adapter.containsEventTarget(d)});if(o){this.resetActivationState();return}e!==void 0&&(v.push(e.target),this.registerDeactivationHandlers(e)),a.wasElementMadeActive=this.checkElementMadeActive(e),a.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame(function(){v=[],!a.wasElementMadeActive&&e!==void 0&&(e.key===" "||e.keyCode===32)&&(a.wasElementMadeActive=r.checkElementMadeActive(e),a.wasElementMadeActive&&r.animateActivation()),a.wasElementMadeActive||(r.activationState=r.defaultActivationState())})}}}},t.prototype.checkElementMadeActive=function(e){return e!==void 0&&e.type==="keydown"?this.adapter.isSurfaceActive():!0},t.prototype.animateActivation=function(){var e=this,r=t.strings,a=r.VAR_FG_TRANSLATE_START,i=r.VAR_FG_TRANSLATE_END,c=t.cssClasses,o=c.FG_DEACTIVATION,d=c.FG_ACTIVATION,m=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var f="",g="";if(!this.adapter.isUnbounded()){var b=this.getFgTranslationCoordinates(),A=b.startPoint,F=b.endPoint;f=A.x+"px, "+A.y+"px",g=F.x+"px, "+F.y+"px"}this.adapter.updateCssVariable(a,f),this.adapter.updateCssVariable(i,g),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(o),this.adapter.computeBoundingRect(),this.adapter.addClass(d),this.activationTimer=setTimeout(function(){e.activationTimerCallback()},m)},t.prototype.getFgTranslationCoordinates=function(){var e=this.activationState,r=e.activationEvent,a=e.wasActivatedByPointer,i;a?i=U(r,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):i={x:this.frame.width/2,y:this.frame.height/2},i={x:i.x-this.initialSize/2,y:i.y-this.initialSize/2};var c={x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2};return{startPoint:i,endPoint:c}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,r=t.cssClasses.FG_DEACTIVATION,a=this.activationState,i=a.hasDeactivationUXRun,c=a.isActivated,o=i||!c;o&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout(function(){e.adapter.removeClass(r)},C.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout(function(){return e.previousActivationEvent=void 0},t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,r=this.activationState;if(r.isActivated){var a=n.__assign({},r);r.isProgrammatic?(requestAnimationFrame(function(){e.animateDeactivation(a)}),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame(function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(a),e.resetActivationState()}))}},t.prototype.animateDeactivation=function(e){var r=e.wasActivatedByPointer,a=e.wasElementMadeActive;(r||a)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width),a=function(){var c=Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2));return c+t.numbers.PADDING};this.maxRadius=this.adapter.isUnbounded()?r:a();var i=Math.floor(r*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!==0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,a=e.VAR_LEFT,i=e.VAR_TOP,c=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(c,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(a,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords.top+"px"))},t}(x);/**
|
90
90
|
* @license
|
91
91
|
* Copyright 2018 Google LLC
|
92
92
|
* SPDX-License-Identifier: Apache-2.0
|
93
93
|
*/class p extends S.BaseElement{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=G}get isActive(){return _(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0;break}},removeClass:t=>{switch(t){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1;break}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e;break}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation(()=>{this.mdcFoundation.activate(t)})}endPress(){this.waitForFoundation(()=>{this.mdcFoundation.deactivate()})}startFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleFocus()})}endFocus(){this.waitForFoundation(()=>{this.mdcFoundation.handleBlur()})}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),r={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return h.x`
|
94
94
|
<div class="mdc-ripple-surface mdc-ripple-upgraded ${k.o(r)}"
|
95
|
-
style="${D.o({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}
|
95
|
+
style="${D.o({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}n.__decorate([H.i(".mdc-ripple-surface")],p.prototype,"mdcRoot",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"primary",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"accent",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"unbounded",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"disabled",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"activated",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"selected",void 0);n.__decorate([u.n({type:Boolean})],p.prototype,"internalUseStateLayerCustomProperties",void 0);n.__decorate([l.t()],p.prototype,"hovering",void 0);n.__decorate([l.t()],p.prototype,"bgFocused",void 0);n.__decorate([l.t()],p.prototype,"fgActivation",void 0);n.__decorate([l.t()],p.prototype,"fgDeactivation",void 0);n.__decorate([l.t()],p.prototype,"fgScale",void 0);n.__decorate([l.t()],p.prototype,"fgSize",void 0);n.__decorate([l.t()],p.prototype,"translateStart",void 0);n.__decorate([l.t()],p.prototype,"translateEnd",void 0);n.__decorate([l.t()],p.prototype,"leftPos",void 0);n.__decorate([l.t()],p.prototype,"topPos",void 0);/**
|
96
96
|
* @license
|
97
97
|
* Copyright 2021 Google LLC
|
98
98
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -100,7 +100,7 @@
|
|
100
100
|
* @license
|
101
101
|
* Copyright 2018 Google LLC
|
102
102
|
* SPDX-License-Identifier: Apache-2.0
|
103
|
-
*/let y=class extends p{};y.styles=[L];y=
|
103
|
+
*/let y=class extends p{};y.styles=[L];y=n.__decorate([h.e("mwc-ripple")],y);/**
|
104
104
|
* @license
|
105
105
|
* Copyright 2020 Google LLC
|
106
106
|
* SPDX-License-Identifier: Apache-2.0
|