@covalent/components 10.4.0-beta.3 → 11.0.0-beta.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-DGT2Y9Xa.js +1 -0
- package/{_commonjsHelpers-HP5nalso.mjs → _commonjsHelpers-MdHo5S7N.mjs} +1 -1
- package/action-ribbon.js +5 -5
- package/action-ribbon.mjs +33 -33
- package/alert.js +5 -5
- package/alert.mjs +48 -48
- package/app-shell.js +1 -1
- package/app-shell.mjs +7 -7
- package/async-directive-JqUnzsgG.mjs +66 -0
- package/async-directive-X7VhNdG3.js +5 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -4
- package/{base-element-5ZU-p99q.js → base-element-DP9GZic2.js} +1 -1
- package/{base-element-CzNmpVoz.mjs → base-element-DUJkJh_y.mjs} +1 -1
- package/button.js +2 -2
- package/button.mjs +26 -26
- package/card.js +8 -8
- package/card.mjs +39 -39
- package/check-list-item.js +8 -8
- package/check-list-item.mjs +34 -34
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/{chip-DmwMNZYy.js → chip-BjFvUMom.js} +44 -44
- package/{chip-tQfbvpbh.mjs → chip-Dc7_8pVI.mjs} +412 -408
- package/chip-set.js +5 -5
- package/chip-set.mjs +125 -125
- package/chip.js +1 -1
- package/chip.mjs +2 -2
- package/circular-progress.js +15 -15
- package/circular-progress.mjs +25 -25
- package/class-map-DPUylGZM.mjs +36 -0
- package/class-map-DTzB8z-1.js +5 -0
- package/{code-editor-CryBkPGy.js → code-editor-Bu3qtyEg.js} +110 -110
- package/{code-editor-XU5DhFbC.mjs → code-editor-CPpojoPe.mjs} +5423 -5477
- package/code-editor.js +1 -1
- package/code-editor.mjs +2 -2
- package/code-snippet.js +11 -11
- package/code-snippet.mjs +2611 -2641
- package/{dialog-DMqDMT_N.js → dialog-BShWbhKq.js} +9 -9
- package/{dialog-BodJc4rc.mjs → dialog-CGLRIM8z.mjs} +186 -186
- package/dialog.js +1 -1
- package/dialog.mjs +2 -2
- package/directive-C7oCP5Bh.js +5 -0
- package/directive-helpers-C-un5pST.js +5 -0
- package/directive-helpers-DS-VuBZD.mjs +11 -0
- package/{directive-B76A7YXI.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer.js +2 -2
- package/drawer.mjs +14 -14
- package/empty-state.js +1 -1
- package/empty-state.mjs +6 -6
- package/{event-options-D44mpm5S.mjs → event-options-C7DvXRgq.mjs} +1 -1
- package/{event-options-IG-2g8HU.js → event-options-DD382x85.js} +1 -1
- package/expansion-panel-item.js +1 -1
- package/expansion-panel-item.mjs +3 -3
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +5 -5
- package/focused-page.js +1 -1
- package/focused-page.mjs +7 -7
- package/form-element-BOhYShN_.mjs +50 -0
- package/form-element-BSAsNxWv.js +5 -0
- package/formfield.js +7 -7
- package/formfield.mjs +45 -45
- package/{foundation-BYhAXCW_.mjs → foundation-CZtT3AWn.mjs} +15 -17
- package/{foundation-sIsx2I_x.js → foundation-CySCCTUE.js} +2 -2
- package/{foundation-D6JHa7Lg.mjs → foundation-PL3XY-m_.mjs} +4 -4
- package/{foundation-aT_gy6X8.js → foundation-pgmPu2iJ.js} +1 -1
- package/full-screen-dialog.js +2 -2
- package/full-screen-dialog.mjs +10 -10
- package/{html-DW6Y8eLM.mjs → html-DC72jQvb.mjs} +1 -1
- package/{html-CEiNqoVv.js → html-wWghN8cA.js} +1 -1
- package/icon-button-toggle.js +6 -6
- package/icon-button-toggle.mjs +32 -32
- package/icon-button.js +5 -5
- package/icon-button.mjs +36 -36
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -7
- package/icon-lockup.js +5 -5
- package/icon-lockup.mjs +4 -4
- package/icon-radio-toggle.js +1 -1
- package/icon-radio-toggle.mjs +13 -13
- package/icon.js +1 -1
- package/icon.mjs +13 -13
- package/{if-defined-B7G84qob.js → if-defined-CZCqOAYs.js} +1 -1
- package/{if-defined-DN7whKwy.mjs → if-defined-DGrxuPYz.mjs} +1 -1
- package/index.js +7 -7
- package/index.mjs +121 -121
- package/inert.esm-CknhJysw.mjs +645 -0
- package/inert.esm-D2PJKL9E.js +28 -0
- package/{javascript-DzJ0FiwJ.mjs → javascript-C_a5TwhW.mjs} +1 -1
- package/{javascript-vVCDG6Rm.js → javascript-cY8cX08V.js} +1 -1
- package/linear-progress.js +7 -7
- package/linear-progress.mjs +32 -32
- package/{list-item-BIuZJQpK.mjs → list-item-CK66f3gK.mjs} +1 -1
- package/{list-item-V8RaZO6L.js → list-item-LcvIn8Xz.js} +1 -1
- package/list-item.js +7 -7
- package/list-item.mjs +21 -21
- package/list.js +3 -3
- package/list.mjs +16 -16
- package/menu.js +3 -3
- package/menu.mjs +16 -16
- package/{mwc-checkbox.css-CNoj0V14.mjs → mwc-checkbox.css-BrjbMwch.mjs} +28 -28
- package/{mwc-checkbox.css-BV3dyB4C.js → mwc-checkbox.css-u49MHsHT.js} +1 -1
- package/{mwc-drawer-base-BIn51sQu.js → mwc-drawer-base-C2YS_KZk.js} +3 -3
- package/{mwc-drawer-base-C96HTnbC.mjs → mwc-drawer-base-_d7xArWM.mjs} +11 -11
- package/{mwc-icon-Xgr698ax.js → mwc-icon-BUzuM0iB.js} +1 -1
- package/{mwc-icon-DTCUplqR.mjs → mwc-icon-U80igLyY.mjs} +2 -2
- package/{mwc-icon-button.css-DOVWWyjA.js → mwc-icon-button.css-BzElD_JI.js} +1 -1
- package/{mwc-icon-button.css-DJiDOS0_.mjs → mwc-icon-button.css-DosQIdlt.mjs} +1 -1
- package/{mwc-line-ripple-directive-r80jluoU.js → mwc-line-ripple-directive-DBy5sTfo.js} +4 -4
- package/{mwc-line-ripple-directive-TO37-41n.mjs → mwc-line-ripple-directive-at_ngzOj.mjs} +35 -34
- package/{mwc-list-item.css-CO1JlA8e.js → mwc-list-item.css-Bib8TVz5.js} +10 -10
- package/{mwc-list-item.css-Cg9onxQ-.mjs → mwc-list-item.css-BtGzAhUF.mjs} +10 -10
- package/{mwc-list.css-C_-DVEme.mjs → mwc-list.css-BBbQixrF.mjs} +100 -100
- package/{mwc-list.css-Deg9oBaO.js → mwc-list.css-DWV8pw-x.js} +1 -1
- package/{mwc-menu.css-qpZxKN-g.mjs → mwc-menu.css-BUjxqJjM.mjs} +303 -303
- package/{mwc-menu.css-Dvr-f3_T.js → mwc-menu.css-D3EFugOg.js} +18 -18
- package/{mwc-radio.css-DjO4Rn44.js → mwc-radio.css-BWiWreTh.js} +1 -1
- package/{mwc-radio.css-BiHC1R8I.mjs → mwc-radio.css-DPbyzNg_.mjs} +8 -8
- package/{mwc-slider.css-Deh1__Ar.mjs → mwc-slider.css-CBNgYCJf.mjs} +277 -288
- package/{mwc-slider.css-DFOaS04S.js → mwc-slider.css-DytByuJk.js} +13 -13
- package/{mwc-tab.css-sq5suZKe.js → mwc-tab.css-CrjUDOft.js} +11 -11
- package/{mwc-tab.css-2UrPKkNg.mjs → mwc-tab.css-DJHVL7wZ.mjs} +31 -31
- package/{mwc-top-app-bar-base-DUdOcIjS.js → mwc-top-app-bar-base-Gxaye-WD.js} +3 -3
- package/{mwc-top-app-bar-base-BIZGhVtM.mjs → mwc-top-app-bar-base-N3OLLWe5.mjs} +21 -21
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +13 -13
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +23 -23
- package/package.json +3 -3
- package/{property-BRKnMYJe.js → property-DYTC_2-m.js} +1 -1
- package/{python-CddQNZH2.mjs → python-3XbrQbry.mjs} +1 -1
- package/{python-DnfGbG5q.js → python-C-jtMxm_.js} +1 -1
- package/query-CDOd1Kwm.mjs +15 -0
- package/query-Dv2F3m_t.js +5 -0
- package/query-assigned-elements-8EurZY45.js +31 -0
- package/query-assigned-elements-D930kELM.mjs +591 -0
- package/query-assigned-nodes-BAfLwxmx.js +5 -0
- package/query-assigned-nodes-Dof2CSLU.mjs +17 -0
- package/radio-list-item.js +9 -9
- package/radio-list-item.mjs +28 -28
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-BDmOLx8c.js → ripple-handlers-C7an-EE1.js} +5 -5
- package/{ripple-handlers-BAdg-fJB.mjs → ripple-handlers-_gEIkKpx.mjs} +71 -71
- package/select.js +15 -15
- package/select.mjs +166 -167
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +8 -8
- package/slider-range.js +5 -5
- package/slider-range.mjs +43 -43
- package/slider.js +2 -2
- package/slider.mjs +19 -19
- package/snackbar.js +11 -11
- package/snackbar.mjs +54 -54
- package/{state-Csv4sdJA.js → state-C3HoXfoa.js} +1 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +6 -6
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +17 -17
- package/status-header.js +5 -5
- package/status-header.mjs +34 -34
- package/style-map-D2TR7M-D.mjs +42 -0
- package/style-map-DOMuf9Fg.js +5 -0
- package/switch.js +5 -5
- package/switch.mjs +42 -42
- package/tab-bar.js +11 -11
- package/tab-bar.mjs +98 -98
- package/tab.js +1 -1
- package/tab.mjs +13 -13
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +9 -9
- package/textarea.js +6 -6
- package/textarea.mjs +29 -29
- package/{textfield-bHWjhOOq.js → textfield-Byf2gP_G.js} +31 -31
- package/{textfield-i_Whj47J.mjs → textfield-RbQ6Kwq7.mjs} +102 -102
- package/textfield.js +3 -3
- package/textfield.mjs +17 -17
- package/theme/prebuilt/dark-theme.css +1 -1
- package/theme/prebuilt/light-theme.css +1 -1
- package/toolbar.js +1 -1
- package/toolbar.mjs +4 -4
- package/tooltip.js +3 -3
- package/tooltip.mjs +54 -55
- package/{top-app-bar-CZ5ILmAf.mjs → top-app-bar-BQ88Rom5.mjs} +1 -1
- package/top-app-bar-fixed.js +8 -8
- package/top-app-bar-fixed.mjs +40 -40
- package/{top-app-bar-UVbXY1md.js → top-app-bar-lbNkmJbQ.js} +1 -1
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -18
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -4
- package/tree-list.js +4 -4
- package/tree-list.mjs +22 -22
- package/tslib.es6-CJ7TUrOc.mjs +75 -0
- package/{typescript-BRw9OFm1.js → typescript-CNfpftAV.js} +1 -1
- package/{typescript-CdlgcZ3y.mjs → typescript-Dj6mne2e.mjs} +1 -1
- package/typography.js +1 -1
- package/typography.mjs +3 -3
- package/_commonjsHelpers-6jR-N8xe.js +0 -1
- package/async-directive-2AOdKBUW.mjs +0 -66
- package/async-directive-DZ3MjSIj.js +0 -5
- package/class-map-BHl5MHd7.mjs +0 -36
- package/class-map-PsUYVqvf.js +0 -5
- package/directive-C_VV3qwo.js +0 -5
- package/directive-helpers-6HCt_-zj.mjs +0 -11
- package/directive-helpers-BnUMbYHh.js +0 -5
- package/form-element--PS8uSRI.js +0 -5
- package/form-element-Dn0Lerng.mjs +0 -50
- package/inert.esm-C8R-X3j4.mjs +0 -639
- package/inert.esm-t-228rpY.js +0 -28
- package/query-BvlE-gMJ.js +0 -5
- package/query-DSO61t36.mjs +0 -15
- package/query-assigned-elements-BQszEgac.js +0 -31
- package/query-assigned-elements-DhyCP_2z.mjs +0 -591
- package/query-assigned-nodes-9DFnkxV8.js +0 -5
- package/query-assigned-nodes-B-jCihdA.mjs +0 -17
- package/style-map-3QfsA_1O.js +0 -5
- package/style-map-QxIETvrs.mjs +0 -42
- package/theme/prebuilt/dark-theme.css.map +0 -1
- package/theme/prebuilt/light-theme.css.map +0 -1
- package/tslib.es6-CISSdiiH.mjs +0 -75
- /package/{style.css → covalent.css} +0 -0
package/snackbar.mjs
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
import { _ as N, a as
|
3
|
-
import { B as M } from "./base-element-
|
1
|
+
import { x as u, D as A, i as T, r as S, e as I } from "./query-assigned-elements-D930kELM.mjs";
|
2
|
+
import { _ as N, a as v, b as m } from "./tslib.es6-CJ7TUrOc.mjs";
|
3
|
+
import { B as M } from "./base-element-DUJkJh_y.mjs";
|
4
4
|
import { o as f } from "./observer-DQ8OfVDQ.mjs";
|
5
5
|
import { n as l } from "./property-DJzm_oB9.mjs";
|
6
|
-
import { i as C } from "./query-
|
7
|
-
import { o as D } from "./class-map-
|
8
|
-
import { c as w } from "./async-directive-
|
9
|
-
import { e as F, t as L } from "./directive-
|
10
|
-
import { a as
|
6
|
+
import { i as C } from "./query-CDOd1Kwm.mjs";
|
7
|
+
import { o as D } from "./class-map-DPUylGZM.mjs";
|
8
|
+
import { c as w } from "./async-directive-JqUnzsgG.mjs";
|
9
|
+
import { e as F, t as L } from "./directive-oAbCiebi.mjs";
|
10
|
+
import { a as R } from "./utils-Dr5MegQq.mjs";
|
11
11
|
/**
|
12
12
|
* @license
|
13
13
|
* Copyright 2016 Google Inc.
|
@@ -30,7 +30,7 @@ import { a as P } from "./utils-Dr5MegQq.mjs";
|
|
30
30
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
31
31
|
* THE SOFTWARE.
|
32
32
|
*/
|
33
|
-
var
|
33
|
+
var P = (
|
34
34
|
/** @class */
|
35
35
|
function() {
|
36
36
|
function i(e) {
|
@@ -103,7 +103,7 @@ var o = {
|
|
103
103
|
REASON_ACTION: "action",
|
104
104
|
REASON_DISMISS: "dismiss",
|
105
105
|
SURFACE_SELECTOR: ".mdc-snackbar__surface"
|
106
|
-
},
|
106
|
+
}, s = {
|
107
107
|
DEFAULT_AUTO_DISMISS_TIMEOUT_MS: 5e3,
|
108
108
|
INDETERMINATE: -1,
|
109
109
|
MAX_AUTO_DISMISS_TIMEOUT_MS: 1e4,
|
@@ -140,13 +140,13 @@ var o = {
|
|
140
140
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
141
141
|
* THE SOFTWARE.
|
142
142
|
*/
|
143
|
-
var
|
143
|
+
var y = o.OPENING, x = o.OPEN, E = o.CLOSING, z = h.REASON_ACTION, _ = h.REASON_DISMISS, g = (
|
144
144
|
/** @class */
|
145
145
|
function(i) {
|
146
146
|
N(e, i);
|
147
147
|
function e(t) {
|
148
|
-
var a = i.call(this,
|
149
|
-
return a.opened = !1, a.animationFrame = 0, a.animationTimer = 0, a.autoDismissTimer = 0, a.autoDismissTimeoutMs =
|
148
|
+
var a = i.call(this, v(v({}, e.defaultAdapter), t)) || this;
|
149
|
+
return a.opened = !1, a.animationFrame = 0, a.animationTimer = 0, a.autoDismissTimer = 0, a.autoDismissTimeoutMs = s.DEFAULT_AUTO_DISMISS_TIMEOUT_MS, a.closeOnEscape = !0, a;
|
150
150
|
}
|
151
151
|
return Object.defineProperty(e, "cssClasses", {
|
152
152
|
get: function() {
|
@@ -162,7 +162,7 @@ var v = o.OPENING, x = o.OPEN, E = o.CLOSING, z = h.REASON_ACTION, _ = h.REASON_
|
|
162
162
|
configurable: !0
|
163
163
|
}), Object.defineProperty(e, "numbers", {
|
164
164
|
get: function() {
|
165
|
-
return
|
165
|
+
return s;
|
166
166
|
},
|
167
167
|
enumerable: !1,
|
168
168
|
configurable: !0
|
@@ -188,34 +188,34 @@ var v = o.OPENING, x = o.OPEN, E = o.CLOSING, z = h.REASON_ACTION, _ = h.REASON_
|
|
188
188
|
enumerable: !1,
|
189
189
|
configurable: !0
|
190
190
|
}), e.prototype.destroy = function() {
|
191
|
-
this.clearAutoDismissTimer(), cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = 0, this.adapter.removeClass(
|
191
|
+
this.clearAutoDismissTimer(), cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = 0, this.adapter.removeClass(y), this.adapter.removeClass(x), this.adapter.removeClass(E);
|
192
192
|
}, e.prototype.open = function() {
|
193
193
|
var t = this;
|
194
|
-
this.clearAutoDismissTimer(), this.opened = !0, this.adapter.notifyOpening(), this.adapter.removeClass(E), this.adapter.addClass(
|
194
|
+
this.clearAutoDismissTimer(), this.opened = !0, this.adapter.notifyOpening(), this.adapter.removeClass(E), this.adapter.addClass(y), this.adapter.announce(), this.runNextAnimationFrame(function() {
|
195
195
|
t.adapter.addClass(x), t.animationTimer = setTimeout(function() {
|
196
196
|
var a = t.getTimeoutMs();
|
197
|
-
t.handleAnimationTimerEnd(), t.adapter.notifyOpened(), a !==
|
197
|
+
t.handleAnimationTimerEnd(), t.adapter.notifyOpened(), a !== s.INDETERMINATE && (t.autoDismissTimer = setTimeout(function() {
|
198
198
|
t.close(_);
|
199
199
|
}, a));
|
200
|
-
},
|
200
|
+
}, s.SNACKBAR_ANIMATION_OPEN_TIME_MS);
|
201
201
|
});
|
202
202
|
}, e.prototype.close = function(t) {
|
203
203
|
var a = this;
|
204
204
|
t === void 0 && (t = ""), this.opened && (cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, this.clearAutoDismissTimer(), this.opened = !1, this.adapter.notifyClosing(t), this.adapter.addClass(o.CLOSING), this.adapter.removeClass(o.OPEN), this.adapter.removeClass(o.OPENING), clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
|
205
205
|
a.handleAnimationTimerEnd(), a.adapter.notifyClosed(t);
|
206
|
-
},
|
206
|
+
}, s.SNACKBAR_ANIMATION_CLOSE_TIME_MS));
|
207
207
|
}, e.prototype.isOpen = function() {
|
208
208
|
return this.opened;
|
209
209
|
}, e.prototype.getTimeoutMs = function() {
|
210
210
|
return this.autoDismissTimeoutMs;
|
211
211
|
}, e.prototype.setTimeoutMs = function(t) {
|
212
|
-
var a =
|
213
|
-
if (t ===
|
212
|
+
var a = s.MIN_AUTO_DISMISS_TIMEOUT_MS, r = s.MAX_AUTO_DISMISS_TIMEOUT_MS, n = s.INDETERMINATE;
|
213
|
+
if (t === s.INDETERMINATE || t <= r && t >= a)
|
214
214
|
this.autoDismissTimeoutMs = t;
|
215
215
|
else
|
216
216
|
throw new Error(`
|
217
|
-
timeoutMs must be an integer in the range ` + a + "–" +
|
218
|
-
(or ` +
|
217
|
+
timeoutMs must be an integer in the range ` + a + "–" + r + `
|
218
|
+
(or ` + n + " to disable), but got '" + t + "'");
|
219
219
|
}, e.prototype.getCloseOnEscape = function() {
|
220
220
|
return this.closeOnEscape;
|
221
221
|
}, e.prototype.setCloseOnEscape = function(t) {
|
@@ -237,7 +237,7 @@ var v = o.OPENING, x = o.OPEN, E = o.CLOSING, z = h.REASON_ACTION, _ = h.REASON_
|
|
237
237
|
a.animationFrame = 0, clearTimeout(a.animationTimer), a.animationTimer = setTimeout(t, 0);
|
238
238
|
});
|
239
239
|
}, e;
|
240
|
-
}(
|
240
|
+
}(P)
|
241
241
|
);
|
242
242
|
/**
|
243
243
|
* @license
|
@@ -251,35 +251,35 @@ class B extends w {
|
|
251
251
|
throw new Error("AccessibleSnackbarLabel only supports child parts.");
|
252
252
|
}
|
253
253
|
update(e, [t, a]) {
|
254
|
-
var
|
254
|
+
var r;
|
255
255
|
if (!a)
|
256
256
|
return;
|
257
257
|
if (this.labelEl === null) {
|
258
258
|
const k = document.createElement("div"), O = u`<div class="mdc-snackbar__label" role="status" aria-live="polite"></div>`;
|
259
259
|
A(O, k);
|
260
260
|
const p = k.firstElementChild;
|
261
|
-
return p.textContent = t, (
|
261
|
+
return p.textContent = t, (r = e.endNode) === null || r === void 0 || r.parentNode.insertBefore(p, e.endNode), this.labelEl = p, p;
|
262
262
|
}
|
263
|
-
const
|
264
|
-
|
265
|
-
const
|
266
|
-
return
|
267
|
-
this.timerId = null,
|
268
|
-
}, U),
|
263
|
+
const n = this.labelEl;
|
264
|
+
n.setAttribute("aria-live", "off"), n.textContent = "";
|
265
|
+
const d = document.createElement("span");
|
266
|
+
return d.style.display = "inline-block", d.style.width = "0", d.style.height = "1px", d.textContent = " ", n.appendChild(d), n.setAttribute("data-mdc-snackbar-label-text", t), this.timerId !== null && clearTimeout(this.timerId), this.timerId = window.setTimeout(() => {
|
267
|
+
this.timerId = null, n.setAttribute("aria-live", "polite"), n.removeAttribute("data-mdc-snackbar-label-text"), n.textContent = t, this.setValue(this.labelEl);
|
268
|
+
}, U), n;
|
269
269
|
}
|
270
270
|
render(e, t) {
|
271
271
|
return t ? u`
|
272
272
|
<div class="mdc-snackbar__label" role="status" aria-live="polite">${e}</div>` : u``;
|
273
273
|
}
|
274
274
|
}
|
275
|
-
const
|
275
|
+
const V = F(B);
|
276
276
|
/**
|
277
277
|
* @license
|
278
278
|
* Copyright 2018 Google LLC
|
279
279
|
* SPDX-License-Identifier: Apache-2.0
|
280
280
|
*/
|
281
|
-
const { OPENING_EVENT:
|
282
|
-
class
|
281
|
+
const { OPENING_EVENT: j, OPENED_EVENT: G, CLOSING_EVENT: $, CLOSED_EVENT: K } = g.strings;
|
282
|
+
class c extends M {
|
283
283
|
constructor() {
|
284
284
|
super(...arguments), this.mdcFoundationClass = g, this.open = !1, this.timeoutMs = 5e3, this.closeOnEscape = !1, this.labelText = "", this.stacked = !1, this.leading = !1, this.reason = "";
|
285
285
|
}
|
@@ -291,7 +291,7 @@ class d extends M {
|
|
291
291
|
return u`
|
292
292
|
<div class="mdc-snackbar ${D(e)}" @keydown="${this._handleKeydown}">
|
293
293
|
<div class="mdc-snackbar__surface">
|
294
|
-
${
|
294
|
+
${V(this.labelText, this.open)}
|
295
295
|
<div class="mdc-snackbar__actions">
|
296
296
|
<slot name="action" @click="${this._handleActionClick}"></slot>
|
297
297
|
<slot name="dismiss" @click="${this._handleDismissClick}"></slot>
|
@@ -300,7 +300,7 @@ class d extends M {
|
|
300
300
|
</div>`;
|
301
301
|
}
|
302
302
|
createAdapter() {
|
303
|
-
return Object.assign(Object.assign({},
|
303
|
+
return Object.assign(Object.assign({}, R(this.mdcRoot)), { announce: () => {
|
304
304
|
}, notifyClosed: (e) => {
|
305
305
|
this.dispatchEvent(new CustomEvent(K, { bubbles: !0, cancelable: !0, detail: { reason: e } }));
|
306
306
|
}, notifyClosing: (e) => {
|
@@ -308,7 +308,7 @@ class d extends M {
|
|
308
308
|
}, notifyOpened: () => {
|
309
309
|
this.dispatchEvent(new CustomEvent(G, { bubbles: !0, cancelable: !0 }));
|
310
310
|
}, notifyOpening: () => {
|
311
|
-
this.open = !0, this.dispatchEvent(new CustomEvent(
|
311
|
+
this.open = !0, this.dispatchEvent(new CustomEvent(j, { bubbles: !0, cancelable: !0 }));
|
312
312
|
} });
|
313
313
|
}
|
314
314
|
/** @export */
|
@@ -334,56 +334,56 @@ class d extends M {
|
|
334
334
|
}
|
335
335
|
m([
|
336
336
|
C(".mdc-snackbar")
|
337
|
-
],
|
337
|
+
], c.prototype, "mdcRoot", void 0);
|
338
338
|
m([
|
339
339
|
C(".mdc-snackbar__label")
|
340
|
-
],
|
340
|
+
], c.prototype, "labelElement", void 0);
|
341
341
|
m([
|
342
342
|
l({ type: Boolean, reflect: !0 }),
|
343
343
|
f(function(i) {
|
344
344
|
this.mdcFoundation && (i ? this.mdcFoundation.open() : (this.mdcFoundation.close(this.reason), this.reason = ""));
|
345
345
|
})
|
346
|
-
],
|
346
|
+
], c.prototype, "open", void 0);
|
347
347
|
m([
|
348
348
|
f(function(i) {
|
349
349
|
this.mdcFoundation.setTimeoutMs(i);
|
350
350
|
}),
|
351
351
|
l({ type: Number })
|
352
|
-
],
|
352
|
+
], c.prototype, "timeoutMs", void 0);
|
353
353
|
m([
|
354
354
|
f(function(i) {
|
355
355
|
this.mdcFoundation.setCloseOnEscape(i);
|
356
356
|
}),
|
357
357
|
l({ type: Boolean })
|
358
|
-
],
|
358
|
+
], c.prototype, "closeOnEscape", void 0);
|
359
359
|
m([
|
360
360
|
l({ type: String })
|
361
|
-
],
|
361
|
+
], c.prototype, "labelText", void 0);
|
362
362
|
m([
|
363
363
|
l({ type: Boolean })
|
364
|
-
],
|
364
|
+
], c.prototype, "stacked", void 0);
|
365
365
|
m([
|
366
366
|
l({ type: Boolean })
|
367
|
-
],
|
367
|
+
], c.prototype, "leading", void 0);
|
368
368
|
/**
|
369
369
|
* @license
|
370
370
|
* Copyright 2021 Google LLC
|
371
371
|
* SPDX-LIcense-Identifier: Apache-2.0
|
372
372
|
*/
|
373
373
|
const X = T`.mdc-snackbar{z-index:8;margin:8px;display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar__surface{background-color:#333333}.mdc-snackbar__label{color:rgba(255, 255, 255, 0.87)}.mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mdc-snackbar__surface{min-width:100%}}.mdc-snackbar__surface{max-width:672px}.mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2),0px 6px 10px 0px rgba(0, 0, 0, 0.14),0px 1px 18px 0px rgba(0,0,0,.12)}.mdc-snackbar__surface{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar--leading{justify-content:flex-start}.mdc-snackbar--stacked .mdc-snackbar__label{padding-left:16px;padding-right:8px;padding-bottom:12px}[dir=rtl] .mdc-snackbar--stacked .mdc-snackbar__label,.mdc-snackbar--stacked .mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar--stacked .mdc-snackbar__surface{flex-direction:column;align-items:flex-start}.mdc-snackbar--stacked .mdc-snackbar__actions{align-self:flex-end;margin-bottom:8px}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto;transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1);transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-snackbar__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action:not(:disabled){color:#bb86fc}.mdc-snackbar__action .mdc-button__ripple::before,.mdc-snackbar__action .mdc-button__ripple::after{background-color:#bb86fc;background-color:var(--mdc-ripple-color, #bb86fc)}.mdc-snackbar__action:hover .mdc-button__ripple::before,.mdc-snackbar__action.mdc-ripple-surface--hover .mdc-button__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-snackbar__action.mdc-ripple-upgraded--background-focused .mdc-button__ripple::before,.mdc-snackbar__action:not(.mdc-ripple-upgraded):focus .mdc-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-snackbar__action:not(.mdc-ripple-upgraded) .mdc-button__ripple::after{transition:opacity 150ms linear}.mdc-snackbar__action:not(.mdc-ripple-upgraded):active .mdc-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss{color:rgba(255, 255, 255, 0.87)}.mdc-snackbar__dismiss .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss .mdc-icon-button__ripple::after{background-color:rgba(255, 255, 255, 0.87);background-color:var(--mdc-ripple-color, rgba(255, 255, 255, 0.87))}.mdc-snackbar__dismiss:hover .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss.mdc-snackbar__dismiss{width:36px;height:36px;padding:6px;font-size:18px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss .mdc-icon-button__focus-ring{display:none}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:36px;max-width:36px}@media screen and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-snackbar__dismiss.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:36px;height:36px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:36px;max-width:36px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss .mdc-icon-button__touch{position:absolute;top:50%;height:36px;left:50%;width:36px;transform:translate(-50%, -50%)}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}slot[name=action]::slotted(mwc-button){--mdc-theme-primary: var( --mdc-snackbar-action-color, #bb86fc )}slot[name=dismiss]::slotted(mwc-icon-button){--mdc-icon-size: 18px;--mdc-icon-button-size: 36px;color:rgba(255, 255, 255, 0.87);margin-left:8px;margin-right:0}[dir=rtl] slot[name=dismiss]::slotted(mwc-icon-button),::slotted(mwc-icon-buttonslot[name=dismiss][dir=rtl]){margin-left:0;margin-right:8px}`, H = ":host{--mdc-theme-text-primary-on-background: var(--cv-theme-inverse-on-surface);--mdc-theme-text-icon-on-background: var(--cv-theme-inverse-on-surface);--mdc-theme-primary: var(--cv-theme-inverse-primary);--mdc-theme-on-primary: var(--cv-theme-on-inverse-primary);--mdc-theme-on-surface: var(--cv-theme-inverse-on-surface);--mdc-theme-surface: var(--cv-theme-inverse-surface);--mdc-snackbar-action-color: var(--cv-theme-inverse-on-surface);--mdc-ripple-color: var(--cv-theme-inverse-primary)}:host .mdc-snackbar__surface{background-color:var(--mdc-theme-surface);color:var(--mdc-theme-on-surface)}:host .mdc-snackbar__label{color:var(--mdc-theme-on-surface)}";
|
374
|
-
var Y = Object.
|
375
|
-
for (var
|
376
|
-
(
|
377
|
-
return
|
374
|
+
var Y = Object.getOwnPropertyDescriptor, q = (i, e, t, a) => {
|
375
|
+
for (var r = a > 1 ? void 0 : a ? Y(e, t) : e, n = i.length - 1, d; n >= 0; n--)
|
376
|
+
(d = i[n]) && (r = d(r) || r);
|
377
|
+
return r;
|
378
378
|
};
|
379
|
-
let b = class extends
|
379
|
+
let b = class extends c {
|
380
380
|
};
|
381
381
|
b.styles = [X, T`${S(H)}`];
|
382
|
-
b =
|
382
|
+
b = q([
|
383
383
|
I("cv-snackbar")
|
384
384
|
], b);
|
385
|
-
const
|
385
|
+
const se = b;
|
386
386
|
export {
|
387
387
|
b as CovalentSnackbar,
|
388
|
-
|
388
|
+
se as default
|
389
389
|
};
|
package/status-dialog.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./query-assigned-elements-8EurZY45.js"),h=require("./property-DYTC_2-m.js"),r=require("./state-C3HoXfoa.js"),_=require("./query-Dv2F3m_t.js"),g=require("./dialog-BShWbhKq.js"),e=require("./class-map-DTzB8z-1.js");require("./icon.js");require("./icon-button.js");const p=':host{--mdc-dialog-content-ink-color: var(--cv-theme-on-surface-variant);--mdc-dialog-heading-ink-color: var(--cv-theme-on-surface);--mdc-dialog-min-width: 96vw;--mdc-theme-surface: var(--cv-theme-surface-container-lowest);--mdc-typography-body1-font-family: var( --cv-typography-subtitle1-font-family );--mdc-typography-headline6-font-size: var( --cv-typography-headline6-font-size );--mdc-typography-headline6-font-weight: var( --cv-typography-headline1-font-weight )}:host .mdc-dialog.error .status-dialog__state{background-color:var(--cv-theme-negative-8)}:host .mdc-dialog.error .status-dialog__state cv-icon{color:var(--cv-theme-negative)}:host .mdc-dialog.positive .status-dialog__state{background-color:var(--cv-theme-positive-8)}:host .mdc-dialog.positive .status-dialog__state cv-icon{color:var(--cv-theme-positive)}:host .mdc-dialog.warning .status-dialog__state{background-color:var(--cv-theme-caution-8)}:host .mdc-dialog.warning .status-dialog__state cv-icon{color:var(--cv-theme-caution)}:host .mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 40px)}:host .mdc-dialog .mdc-dialog__content{padding:0 16px}:host .mdc-dialog .mdc-dialog__content.padding-bottom{padding-bottom:2rem}:host .mdc-dialog__actions{flex-shrink:0;padding:16px}:host .mdc-dialog__content{flex-grow:1}:host .mdc-dialog__title{flex:1;line-height:var(--cv-typography-body1-line-height);margin:0;padding:0 40px 0 0}:host .mdc-dialog__title:before{display:none}:host .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,:host .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border:none}.status-dialog__arrow-icon{margin-top:2px}.status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}.status-dialog__container{display:flex}.status-dialog__content{display:flex;flex:1;flex-direction:column}.status-dialog__container,.status-dialog__content{max-height:calc(100% - 32px);overflow-y:auto}.status-dialog__details{display:none}.status-dialog__details.visible{display:block}.status-dialog__heading{--mdc-icon-button-size: 40px;align-items:start;box-sizing:border-box;display:inline-flex;justify-content:space-between;padding:18px 16px;width:100%}.status-dialog__heading.no-heading{justify-content:flex-end}.status-dialog__heading .status-dialog__close-icon{position:absolute;right:8px;top:10px}.status-dialog__state{--mdc-icon-size: 32px;padding:14px 16px 0}.status-dialog__state cv-icon{font-variation-settings:"FILL" 1}.status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:inline-flex;font-size:14px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:20px;padding:16px 0}@media screen and (min-width: 600px){:host{--mdc-dialog-min-width: 575px}:host .mdc-dialog .mdc-dialog__surface{max-width:575px}}@media screen and (max-width: 480px){:host .status-dialog__container{flex-direction:column}:host .status-dialog__heading .status-dialog__close-icon{top:18px}:host .status-dialog__state{padding:4px}:host .status-dialog__state cv-icon{display:none}:host .mdc-dialog.error .status-dialog__state{background-color:var(--cv-theme-negative)}:host .mdc-dialog.positive .status-dialog__state{background-color:var(--cv-theme-positive)}:host .mdc-dialog.warning .status-dialog__state{background-color:var(--cv-theme-caution)}}';var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d=(l,t,a,o)=>{for(var i=o>1?void 0:o?v(t,a):t,n=l.length-1,c;n>=0;n--)(c=l[n])&&(i=(o?c(t,a,i):c(i))||i);return o&&i&&u(t,a,i),i};exports.CovalentStatusDialog=class extends g.CovalentDialog$1{constructor(){super(...arguments),this.state="error",this.expandDetails=!1,this.showDetailsLink=!1}firstUpdated(){if(super.firstUpdated(),this._details){const t=this._details.assignedNodes({flatten:!0});this.showDetailsLink=t.some(a=>a.nodeType===Node.ELEMENT_NODE)}}toggleDetails(){this.expandDetails=!this.expandDetails}_getStatusIcon(){switch(this.state){case"positive":return"check";default:return this.state}}renderDetails(){const t={"status-dialog__details":!0,visible:this.expandDetails},a={open:!this.expandDetails,close:this.expandDetails},o=s.x`<cv-icon
|
2
2
|
class="${e.o(a)} status-dialog__arrow-icon"
|
3
3
|
>arrow_drop_down</cv-icon
|
4
4
|
>`;return s.x`${this.showDetailsLink?s.x`<div>
|
package/status-dialog.mjs
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { r as h, i as _, x as e, e as p } from "./query-assigned-elements-D930kELM.mjs";
|
2
2
|
import { n as m } from "./property-DJzm_oB9.mjs";
|
3
3
|
import { t as g } from "./state-B_tK3mBm.mjs";
|
4
|
-
import { i as v } from "./query-
|
5
|
-
import { s as u, a as f } from "./dialog-
|
6
|
-
import { o as n } from "./class-map-
|
4
|
+
import { i as v } from "./query-CDOd1Kwm.mjs";
|
5
|
+
import { s as u, a as f } from "./dialog-CGLRIM8z.mjs";
|
6
|
+
import { o as n } from "./class-map-DPUylGZM.mjs";
|
7
7
|
import "./icon.mjs";
|
8
8
|
import "./icon-button.mjs";
|
9
9
|
const x = ':host{--mdc-dialog-content-ink-color: var(--cv-theme-on-surface-variant);--mdc-dialog-heading-ink-color: var(--cv-theme-on-surface);--mdc-dialog-min-width: 96vw;--mdc-theme-surface: var(--cv-theme-surface-container-lowest);--mdc-typography-body1-font-family: var( --cv-typography-subtitle1-font-family );--mdc-typography-headline6-font-size: var( --cv-typography-headline6-font-size );--mdc-typography-headline6-font-weight: var( --cv-typography-headline1-font-weight )}:host .mdc-dialog.error .status-dialog__state{background-color:var(--cv-theme-negative-8)}:host .mdc-dialog.error .status-dialog__state cv-icon{color:var(--cv-theme-negative)}:host .mdc-dialog.positive .status-dialog__state{background-color:var(--cv-theme-positive-8)}:host .mdc-dialog.positive .status-dialog__state cv-icon{color:var(--cv-theme-positive)}:host .mdc-dialog.warning .status-dialog__state{background-color:var(--cv-theme-caution-8)}:host .mdc-dialog.warning .status-dialog__state cv-icon{color:var(--cv-theme-caution)}:host .mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 40px)}:host .mdc-dialog .mdc-dialog__content{padding:0 16px}:host .mdc-dialog .mdc-dialog__content.padding-bottom{padding-bottom:2rem}:host .mdc-dialog__actions{flex-shrink:0;padding:16px}:host .mdc-dialog__content{flex-grow:1}:host .mdc-dialog__title{flex:1;line-height:var(--cv-typography-body1-line-height);margin:0;padding:0 40px 0 0}:host .mdc-dialog__title:before{display:none}:host .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,:host .mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border:none}.status-dialog__arrow-icon{margin-top:2px}.status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}.status-dialog__container{display:flex}.status-dialog__content{display:flex;flex:1;flex-direction:column}.status-dialog__container,.status-dialog__content{max-height:calc(100% - 32px);overflow-y:auto}.status-dialog__details{display:none}.status-dialog__details.visible{display:block}.status-dialog__heading{--mdc-icon-button-size: 40px;align-items:start;box-sizing:border-box;display:inline-flex;justify-content:space-between;padding:18px 16px;width:100%}.status-dialog__heading.no-heading{justify-content:flex-end}.status-dialog__heading .status-dialog__close-icon{position:absolute;right:8px;top:10px}.status-dialog__state{--mdc-icon-size: 32px;padding:14px 16px 0}.status-dialog__state cv-icon{font-variation-settings:"FILL" 1}.status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:inline-flex;font-size:14px;font-style:normal;font-weight:400;letter-spacing:.25px;line-height:20px;padding:16px 0}@media screen and (min-width: 600px){:host{--mdc-dialog-min-width: 575px}:host .mdc-dialog .mdc-dialog__surface{max-width:575px}}@media screen and (max-width: 480px){:host .status-dialog__container{flex-direction:column}:host .status-dialog__heading .status-dialog__close-icon{top:18px}:host .status-dialog__state{padding:4px}:host .status-dialog__state cv-icon{display:none}:host .mdc-dialog.error .status-dialog__state{background-color:var(--cv-theme-negative)}:host .mdc-dialog.positive .status-dialog__state{background-color:var(--cv-theme-positive)}:host .mdc-dialog.warning .status-dialog__state{background-color:var(--cv-theme-caution)}}';
|
@@ -128,8 +128,8 @@ let s = class extends f {
|
|
128
128
|
};
|
129
129
|
s.styles = [
|
130
130
|
u,
|
131
|
-
|
132
|
-
${
|
131
|
+
_`
|
132
|
+
${h(x)}
|
133
133
|
`
|
134
134
|
];
|
135
135
|
l([
|
package/status-header-item.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./query-assigned-elements-8EurZY45.js"),i=require("./property-DYTC_2-m.js"),p=":host{--cv-status-header-item-width: 178px;display:flex;padding:14px 16px;align-items:center;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}span{display:inline-block;width:var(--cv-status-header-item-width);color:var(--mdc-theme-text-secondary-on-background)}";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d=(s,a,o,r)=>{for(var e=r>1?void 0:r?v(a,o):a,n=s.length-1,l;n>=0;n--)(l=s[n])&&(e=(r?l(a,o,e):l(e))||e);return r&&e&&u(a,o,e),e};exports.CovalentStatusHeaderItem=class extends t.s{render(){return t.x`<span>${this.label}</span> <slot></slot>`}};exports.CovalentStatusHeaderItem.styles=[t.i`
|
2
2
|
${t.r(p)}
|
3
3
|
`];d([i.n()],exports.CovalentStatusHeaderItem.prototype,"label",2);exports.CovalentStatusHeaderItem=d([t.e("cv-status-header-item")],exports.CovalentStatusHeaderItem);const y=exports.CovalentStatusHeaderItem;exports.default=y;
|
package/status-header-item.mjs
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
import {
|
2
|
-
import { n as
|
3
|
-
const
|
4
|
-
var v = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (i, a,
|
5
|
-
for (var
|
6
|
-
(n = i[
|
7
|
-
return r &&
|
1
|
+
import { r as p, i as d, s as h, x as y, e as c } from "./query-assigned-elements-D930kELM.mjs";
|
2
|
+
import { n as m } from "./property-DJzm_oB9.mjs";
|
3
|
+
const f = ":host{--cv-status-header-item-width: 178px;display:flex;padding:14px 16px;align-items:center;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}span{display:inline-block;width:var(--cv-status-header-item-width);color:var(--mdc-theme-text-secondary-on-background)}";
|
4
|
+
var v = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (i, a, o, r) => {
|
5
|
+
for (var t = r > 1 ? void 0 : r ? g(a, o) : a, s = i.length - 1, n; s >= 0; s--)
|
6
|
+
(n = i[s]) && (t = (r ? n(a, o, t) : n(t)) || t);
|
7
|
+
return r && t && v(a, o, t), t;
|
8
8
|
};
|
9
|
-
let
|
9
|
+
let e = class extends h {
|
10
10
|
render() {
|
11
11
|
return y`<span>${this.label}</span> <slot></slot>`;
|
12
12
|
}
|
13
13
|
};
|
14
|
-
|
15
|
-
|
16
|
-
${
|
14
|
+
e.styles = [
|
15
|
+
d`
|
16
|
+
${p(f)}
|
17
17
|
`
|
18
18
|
];
|
19
19
|
l([
|
20
|
-
|
21
|
-
],
|
22
|
-
|
20
|
+
m()
|
21
|
+
], e.prototype, "label", 2);
|
22
|
+
e = l([
|
23
23
|
c("cv-status-header-item")
|
24
|
-
],
|
25
|
-
const x =
|
24
|
+
], e);
|
25
|
+
const x = e;
|
26
26
|
export {
|
27
|
-
|
27
|
+
e as CovalentStatusHeaderItem,
|
28
28
|
x as default
|
29
29
|
};
|
package/status-header.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
<div class="status-header ${u.o(
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-8EurZY45.js"),u=require("./class-map-DTzB8z-1.js"),d=require("./property-DYTC_2-m.js");var l=Object.defineProperty,h=(e,a,c,n)=>{for(var t=void 0,s=e.length-1,r;s>=0;s--)(r=e[s])&&(t=r(a,c,t)||t);return t&&l(a,c,t),t};class i extends o.s{constructor(){super(...arguments),this.state="neutral",this.statusText="",this.statusHelper="",this.titleText=""}render(){const a={active:this.state==="active",caution:this.state==="caution",error:this.state==="error",positive:this.state==="positive"};return o.x`
|
2
|
+
<div class="status-header ${u.o(a)}">
|
3
3
|
<div class="status-header-title">
|
4
4
|
<div class="status-header-title-text">${this.titleText}</div>
|
5
5
|
<slot name="status-header-actions"></slot>
|
@@ -18,6 +18,6 @@
|
|
18
18
|
</div>
|
19
19
|
<slot></slot>
|
20
20
|
</div>
|
21
|
-
`}}
|
22
|
-
${
|
23
|
-
`];exports.CovalentStatusHeader=
|
21
|
+
`}}h([d.n()],i.prototype,"state");h([d.n({type:String})],i.prototype,"statusText");h([d.n({type:String})],i.prototype,"statusHelper");h([d.n({type:String})],i.prototype,"titleText");const v=".status-header{--cv-status-header-background: transparent;--cv-status-header-icon-background: var( --mdc-theme-surface-neutral-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-text-icon-on-background);--cv-status-header-status-color: var(--mdc-theme-on-surface);background-color:var(--cv-status-header-background)}.status-header .status-header-content{max-width:inherit;flex-direction:column}.status-header .status-header-icon{background-color:var(--cv-status-header-icon-background);color:var(--cv-status-header-icon-color)}.status-header .status-header-text{--mdc-theme-primary: var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface: var(--mdc-theme-text-icon-on-background);color:var(--cv-status-header-status-color)}.status-header .status-header-helper{color:var(--mdc-theme-text-secondary-on-background)}.status-header .status-header-title-text{color:var(--mdc-theme-on-surface)}.status-header.active{--cv-status-header-background: var( --mdc-theme-surface-secondary-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-secondary-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-secondary);--cv-status-header-status-color: var(--mdc-theme-secondary)}.status-header.caution{--cv-status-header-background: var(--mdc-theme-surface-caution-highlight);--cv-status-header-icon-background: var( --mdc-theme-surface-caution-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-caution);--cv-status-header-status-color: var(--mdc-theme-caution)}.status-header.error{--cv-status-header-background: var( --mdc-theme-surface-negative-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-negative-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-negative);--cv-status-header-status-color: var(--mdc-theme-negative)}.status-header.positive{--cv-status-header-background: var( --mdc-theme-surface-positive-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-positive-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-positive);--cv-status-header-status-color: var(--mdc-theme-positive)}.status-header-title{padding:0 0 16px 16px;height:fit-content;display:flex;justify-content:space-between;align-items:center}.status-header-title-text{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height)}.status-header-text{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}.status-header-icon{--mdc-icon-size: 36px;border-radius:50%;min-width:72px;height:72px;display:flex;justify-content:center;align-items:center}.status-header-status{padding-left:32px;padding-bottom:16px;display:flex;flex-direction:row;align-items:center}.status-header-text-block{display:flex;flex-direction:column;margin-left:12px;margin-right:56px}.status-header-text-block .status-header-helper{font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}";var m=Object.getOwnPropertyDescriptor,g=(e,a,c,n)=>{for(var t=n>1?void 0:n?m(a,c):a,s=e.length-1,r;s>=0;s--)(r=e[s])&&(t=r(t)||t);return t};exports.CovalentStatusHeader=class extends i{};exports.CovalentStatusHeader.styles=[o.i`
|
22
|
+
${o.r(v)}
|
23
|
+
`];exports.CovalentStatusHeader=g([o.e("cv-status-header")],exports.CovalentStatusHeader);const p=exports.CovalentStatusHeader;exports.default=p;
|
package/status-header.mjs
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { s as u, x as l,
|
2
|
-
import { o as
|
3
|
-
import { n as
|
4
|
-
var f = Object.defineProperty,
|
5
|
-
for (var t = void 0, a = s.length - 1,
|
6
|
-
(
|
7
|
-
return t && f(e,
|
1
|
+
import { s as u, x as l, r as v, i as m, e as g } from "./query-assigned-elements-D930kELM.mjs";
|
2
|
+
import { o as p } from "./class-map-DPUylGZM.mjs";
|
3
|
+
import { n as h } from "./property-DJzm_oB9.mjs";
|
4
|
+
var f = Object.defineProperty, d = (s, e, i, n) => {
|
5
|
+
for (var t = void 0, a = s.length - 1, r; a >= 0; a--)
|
6
|
+
(r = s[a]) && (t = r(e, i, t) || t);
|
7
|
+
return t && f(e, i, t), t;
|
8
8
|
};
|
9
|
-
class
|
9
|
+
class o extends u {
|
10
10
|
constructor() {
|
11
11
|
super(...arguments), this.state = "neutral", this.statusText = "", this.statusHelper = "", this.titleText = "";
|
12
12
|
}
|
@@ -18,7 +18,7 @@ class c extends u {
|
|
18
18
|
positive: this.state === "positive"
|
19
19
|
};
|
20
20
|
return l`
|
21
|
-
<div class="status-header ${
|
21
|
+
<div class="status-header ${p(e)}">
|
22
22
|
<div class="status-header-title">
|
23
23
|
<div class="status-header-title-text">${this.titleText}</div>
|
24
24
|
<slot name="status-header-actions"></slot>
|
@@ -40,36 +40,36 @@ class c extends u {
|
|
40
40
|
`;
|
41
41
|
}
|
42
42
|
}
|
43
|
-
|
44
|
-
|
45
|
-
],
|
46
|
-
|
47
|
-
|
48
|
-
],
|
49
|
-
|
50
|
-
|
51
|
-
],
|
52
|
-
|
53
|
-
|
54
|
-
],
|
43
|
+
d([
|
44
|
+
h()
|
45
|
+
], o.prototype, "state");
|
46
|
+
d([
|
47
|
+
h({ type: String })
|
48
|
+
], o.prototype, "statusText");
|
49
|
+
d([
|
50
|
+
h({ type: String })
|
51
|
+
], o.prototype, "statusHelper");
|
52
|
+
d([
|
53
|
+
h({ type: String })
|
54
|
+
], o.prototype, "titleText");
|
55
55
|
const y = ".status-header{--cv-status-header-background: transparent;--cv-status-header-icon-background: var( --mdc-theme-surface-neutral-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-text-icon-on-background);--cv-status-header-status-color: var(--mdc-theme-on-surface);background-color:var(--cv-status-header-background)}.status-header .status-header-content{max-width:inherit;flex-direction:column}.status-header .status-header-icon{background-color:var(--cv-status-header-icon-background);color:var(--cv-status-header-icon-color)}.status-header .status-header-text{--mdc-theme-primary: var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface: var(--mdc-theme-text-icon-on-background);color:var(--cv-status-header-status-color)}.status-header .status-header-helper{color:var(--mdc-theme-text-secondary-on-background)}.status-header .status-header-title-text{color:var(--mdc-theme-on-surface)}.status-header.active{--cv-status-header-background: var( --mdc-theme-surface-secondary-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-secondary-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-secondary);--cv-status-header-status-color: var(--mdc-theme-secondary)}.status-header.caution{--cv-status-header-background: var(--mdc-theme-surface-caution-highlight);--cv-status-header-icon-background: var( --mdc-theme-surface-caution-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-caution);--cv-status-header-status-color: var(--mdc-theme-caution)}.status-header.error{--cv-status-header-background: var( --mdc-theme-surface-negative-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-negative-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-negative);--cv-status-header-status-color: var(--mdc-theme-negative)}.status-header.positive{--cv-status-header-background: var( --mdc-theme-surface-positive-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-positive-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-positive);--cv-status-header-status-color: var(--mdc-theme-positive)}.status-header-title{padding:0 0 16px 16px;height:fit-content;display:flex;justify-content:space-between;align-items:center}.status-header-title-text{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height)}.status-header-text{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}.status-header-icon{--mdc-icon-size: 36px;border-radius:50%;min-width:72px;height:72px;display:flex;justify-content:center;align-items:center}.status-header-status{padding-left:32px;padding-bottom:16px;display:flex;flex-direction:row;align-items:center}.status-header-text-block{display:flex;flex-direction:column;margin-left:12px;margin-right:56px}.status-header-text-block .status-header-helper{font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}";
|
56
|
-
var x = Object.
|
57
|
-
for (var t =
|
58
|
-
(
|
59
|
-
return
|
56
|
+
var x = Object.getOwnPropertyDescriptor, b = (s, e, i, n) => {
|
57
|
+
for (var t = n > 1 ? void 0 : n ? x(e, i) : e, a = s.length - 1, r; a >= 0; a--)
|
58
|
+
(r = s[a]) && (t = r(t) || t);
|
59
|
+
return t;
|
60
60
|
};
|
61
|
-
let
|
61
|
+
let c = class extends o {
|
62
62
|
};
|
63
|
-
|
64
|
-
|
65
|
-
${
|
63
|
+
c.styles = [
|
64
|
+
m`
|
65
|
+
${v(y)}
|
66
66
|
`
|
67
67
|
];
|
68
|
-
|
69
|
-
|
70
|
-
],
|
71
|
-
const z =
|
68
|
+
c = b([
|
69
|
+
g("cv-status-header")
|
70
|
+
], c);
|
71
|
+
const z = c;
|
72
72
|
export {
|
73
|
-
|
73
|
+
c as CovalentStatusHeader,
|
74
74
|
z as default
|
75
75
|
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { T as l } from "./query-assigned-elements-D930kELM.mjs";
|
2
|
+
import { e as h, i as d, t as u } from "./directive-oAbCiebi.mjs";
|
3
|
+
/**
|
4
|
+
* @license
|
5
|
+
* Copyright 2018 Google LLC
|
6
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
7
|
+
*/
|
8
|
+
const o = "important", c = " !" + o, m = h(class extends d {
|
9
|
+
constructor(n) {
|
10
|
+
var t;
|
11
|
+
if (super(n), n.type !== u.ATTRIBUTE || n.name !== "style" || ((t = n.strings) === null || t === void 0 ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
12
|
+
}
|
13
|
+
render(n) {
|
14
|
+
return Object.keys(n).reduce((t, s) => {
|
15
|
+
const e = n[s];
|
16
|
+
return e == null ? t : t + `${s = s.includes("-") ? s : s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`;
|
17
|
+
}, "");
|
18
|
+
}
|
19
|
+
update(n, [t]) {
|
20
|
+
const { style: s } = n.element;
|
21
|
+
if (this.ht === void 0) {
|
22
|
+
this.ht = /* @__PURE__ */ new Set();
|
23
|
+
for (const e in t) this.ht.add(e);
|
24
|
+
return this.render(t);
|
25
|
+
}
|
26
|
+
this.ht.forEach((e) => {
|
27
|
+
t[e] == null && (this.ht.delete(e), e.includes("-") ? s.removeProperty(e) : s[e] = "");
|
28
|
+
});
|
29
|
+
for (const e in t) {
|
30
|
+
const r = t[e];
|
31
|
+
if (r != null) {
|
32
|
+
this.ht.add(e);
|
33
|
+
const i = typeof r == "string" && r.endsWith(c);
|
34
|
+
e.includes("-") || i ? s.setProperty(e, i ? r.slice(0, -11) : r, i ? o : "") : s[e] = r;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
return l;
|
38
|
+
}
|
39
|
+
});
|
40
|
+
export {
|
41
|
+
m as o
|
42
|
+
};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";const c=require("./query-assigned-elements-8EurZY45.js"),o=require("./directive-C7oCP5Bh.js");/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2018 Google LLC
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
+
*/const u="important",l=" !"+u,d=o.e(class extends o.i{constructor(n){var t;if(super(n),n.type!==o.t.ATTRIBUTE||n.name!=="style"||((t=n.strings)===null||t===void 0?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(n){return Object.keys(n).reduce((t,s)=>{const e=n[s];return e==null?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`},"")}update(n,[t]){const{style:s}=n.element;if(this.ht===void 0){this.ht=new Set;for(const e in t)this.ht.add(e);return this.render(t)}this.ht.forEach(e=>{t[e]==null&&(this.ht.delete(e),e.includes("-")?s.removeProperty(e):s[e]="")});for(const e in t){const i=t[e];if(i!=null){this.ht.add(e);const r=typeof i=="string"&&i.endsWith(l);e.includes("-")||r?s.setProperty(e,r?i.slice(0,-11):i,r?u:""):s[e]=i}}return c.T}});exports.o=d;
|