@covalent/components 4.16.0-beta.1 → 6.0.2
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/action-ribbon.mjs +150 -0
- package/alert.mjs +142 -0
- package/app-shell.mjs +100 -0
- package/aria-property.mjs +41 -0
- package/base-element.mjs +28 -0
- package/button.mjs +187 -0
- package/card.mjs +70 -0
- package/check-list-item.mjs +96 -0
- package/checkbox.mjs +32 -0
- package/circular-progress.mjs +151 -0
- package/class-map.mjs +62 -0
- package/code-snippet.mjs +12143 -0
- package/covalent.mjs +44 -0
- package/covalent.umd.js +3501 -0
- package/dialog.mjs +755 -0
- package/directive-helpers.mjs +11 -0
- package/drawer.mjs +31 -0
- package/empty-state.mjs +66 -0
- package/event-options.mjs +14 -0
- package/form-element.mjs +50 -0
- package/foundation.mjs +152 -0
- package/{formField.js.LICENSE.txt → foundation2.mjs} +38 -24
- package/icon-button.mjs +135 -0
- package/icon-check-toggle.mjs +81 -0
- package/icon-radio-toggle.mjs +73 -0
- package/icon.mjs +23 -0
- package/if-defined.mjs +10 -0
- package/inert.esm.mjs +640 -0
- package/linear-progress.mjs +183 -0
- package/list-expansion.mjs +66 -0
- package/list-item.mjs +48 -0
- package/list.mjs +30 -0
- package/menu.mjs +36 -0
- package/mwc-checkbox-base.mjs +198 -0
- package/mwc-checkbox.css.mjs +10 -0
- package/mwc-drawer-base.mjs +335 -0
- package/mwc-icon.mjs +26 -0
- package/mwc-line-ripple-directive.mjs +653 -0
- package/mwc-list-base.mjs +840 -0
- package/mwc-list-item-base.mjs +202 -0
- package/mwc-list-item.css.mjs +17 -0
- package/mwc-menu-base.mjs +1145 -0
- package/mwc-radio-base.mjs +528 -0
- package/mwc-radio.css.mjs +10 -0
- package/mwc-slider.css.mjs +956 -0
- package/mwc-tab-base.mjs +694 -0
- package/mwc-top-app-bar-base.mjs +380 -0
- package/nav-list-item.mjs +49 -0
- package/observer.mjs +32 -0
- package/package.json +9 -2
- package/property.mjs +20 -0
- package/query-assigned-elements.mjs +615 -0
- package/query-assigned-nodes.mjs +17 -0
- package/query.mjs +25 -0
- package/radio-list-item.mjs +99 -0
- package/radio.mjs +33 -0
- package/ripple-handlers.mjs +761 -0
- package/select.mjs +1262 -0
- package/side-sheet.mjs +40 -0
- package/slider-range.mjs +444 -0
- package/slider.mjs +257 -0
- package/snackbar.mjs +461 -0
- package/src/action-ribbon/action-ribbon-base.d.ts +2 -0
- package/src/action-ribbon/action-ribbon-base.d.ts.map +1 -0
- package/src/action-ribbon/action-ribbon.d.ts +2 -1
- package/src/action-ribbon/action-ribbon.d.ts.map +1 -0
- package/src/alert/alert-base.d.ts +2 -0
- package/src/alert/alert-base.d.ts.map +1 -0
- package/src/alert/alert.d.ts +2 -1
- package/src/alert/alert.d.ts.map +1 -0
- package/src/app-shell/app-shell.d.ts +2 -3
- package/src/app-shell/app-shell.d.ts.map +1 -0
- package/src/button/button.d.ts +2 -1
- package/src/button/button.d.ts.map +1 -0
- package/src/card/card-base.d.ts +1 -0
- package/src/card/card-base.d.ts.map +1 -0
- package/src/card/card.d.ts +2 -1
- package/src/card/card.d.ts.map +1 -0
- package/src/checkbox/checkbox.d.ts +2 -1
- package/src/checkbox/checkbox.d.ts.map +1 -0
- package/src/chips/chip-base.d.ts +1 -0
- package/src/chips/chip-base.d.ts.map +1 -0
- package/src/chips/chip-set-base.d.ts +1 -0
- package/src/chips/chip-set-base.d.ts.map +1 -0
- package/src/chips/chip-set.d.ts +2 -1
- package/src/chips/chip-set.d.ts.map +1 -0
- package/src/chips/chip.d.ts +2 -1
- package/src/chips/chip.d.ts.map +1 -0
- package/src/chips/foundation.d.ts +1 -0
- package/src/chips/foundation.d.ts.map +1 -0
- package/src/circular-progress/circular-progress.d.ts +2 -1
- package/src/circular-progress/circular-progress.d.ts.map +1 -0
- package/src/code-snippet/code-snippet.d.ts +2 -1
- package/src/code-snippet/code-snippet.d.ts.map +1 -0
- package/src/dialog/dialog.d.ts +2 -1
- package/src/dialog/dialog.d.ts.map +1 -0
- package/src/drawer/drawer.d.ts +2 -1
- package/src/drawer/drawer.d.ts.map +1 -0
- package/src/empty-state/empty-state.d.ts +2 -1
- package/src/empty-state/empty-state.d.ts.map +1 -0
- package/src/formfield/formfield.d.ts +2 -1
- package/src/formfield/formfield.d.ts.map +1 -0
- package/src/icon/icon.d.ts +2 -1
- package/src/icon/icon.d.ts.map +1 -0
- package/src/icon-button/icon-button.d.ts +2 -1
- package/src/icon-button/icon-button.d.ts.map +1 -0
- package/src/icon-checkbox/icon-check-toggle.d.ts +2 -1
- package/src/icon-checkbox/icon-check-toggle.d.ts.map +1 -0
- package/src/icon-radio/icon-radio-toggle.d.ts +2 -1
- package/src/icon-radio/icon-radio-toggle.d.ts.map +1 -0
- package/src/index.d.ts +3 -44
- package/src/index.d.ts.map +1 -0
- package/src/linear-progress/linear-progress.d.ts +2 -1
- package/src/linear-progress/linear-progress.d.ts.map +1 -0
- package/src/list/check-list-item.d.ts +2 -1
- package/src/list/check-list-item.d.ts.map +1 -0
- package/src/list/list-expansion.d.ts +2 -1
- package/src/list/list-expansion.d.ts.map +1 -0
- package/src/list/list-item.d.ts +2 -1
- package/src/list/list-item.d.ts.map +1 -0
- package/src/list/list.d.ts +2 -1
- package/src/list/list.d.ts.map +1 -0
- package/src/list/nav-list-item.d.ts +2 -1
- package/src/list/nav-list-item.d.ts.map +1 -0
- package/src/list/radio-list-item.d.ts +2 -1
- package/src/list/radio-list-item.d.ts.map +1 -0
- package/src/menu/menu.d.ts +2 -1
- package/src/menu/menu.d.ts.map +1 -0
- package/src/radio/radio.d.ts +2 -1
- package/src/radio/radio.d.ts.map +1 -0
- package/src/select/select.d.ts +2 -1
- package/src/select/select.d.ts.map +1 -0
- package/src/side-sheet/side-sheet.d.ts +2 -1
- package/src/side-sheet/side-sheet.d.ts.map +1 -0
- package/src/slider/slider-range.d.ts +2 -1
- package/src/slider/slider-range.d.ts.map +1 -0
- package/src/slider/slider.d.ts +2 -1
- package/src/slider/slider.d.ts.map +1 -0
- package/src/snackbar/snackbar.d.ts +2 -1
- package/src/snackbar/snackbar.d.ts.map +1 -0
- package/src/status-header/status-header-base.d.ts +1 -0
- package/src/status-header/status-header-base.d.ts.map +1 -0
- package/src/status-header/status-header-item.d.ts +2 -1
- package/src/status-header/status-header-item.d.ts.map +1 -0
- package/src/status-header/status-header.d.ts +2 -1
- package/src/status-header/status-header.d.ts.map +1 -0
- package/src/switch/switch.d.ts +2 -1
- package/src/switch/switch.d.ts.map +1 -0
- package/src/tab/tab-bar.d.ts +2 -1
- package/src/tab/tab-bar.d.ts.map +1 -0
- package/src/tab/tab.d.ts +2 -1
- package/src/tab/tab.d.ts.map +1 -0
- package/src/text-lockup/text-lockup.d.ts +2 -1
- package/src/text-lockup/text-lockup.d.ts.map +1 -0
- package/src/textarea/textarea.d.ts +2 -1
- package/src/textarea/textarea.d.ts.map +1 -0
- package/src/textfield/textfield.d.ts +2 -1
- package/src/textfield/textfield.d.ts.map +1 -0
- package/src/toolbar/toolbar.d.ts +2 -1
- package/src/toolbar/toolbar.d.ts.map +1 -0
- package/src/tooltip/tooltip.d.ts +4 -3
- package/src/tooltip/tooltip.d.ts.map +1 -0
- package/src/top-app-bar/top-app-bar-fixed.d.ts +2 -1
- package/src/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
- package/src/top-app-bar/top-app-bar.d.ts +2 -1
- package/src/top-app-bar/top-app-bar.d.ts.map +1 -0
- package/src/tree-list/tree-list-item.d.ts +2 -1
- package/src/tree-list/tree-list-item.d.ts.map +1 -0
- package/src/tree-list/tree-list.d.ts +2 -1
- package/src/tree-list/tree-list.d.ts.map +1 -0
- package/src/typography/typography.d.ts +2 -1
- package/src/typography/typography.d.ts.map +1 -0
- package/state.mjs +12 -0
- package/status-header-item.mjs +28 -0
- package/status-header.mjs +74 -0
- package/style-map.mjs +40 -0
- package/switch.mjs +536 -0
- package/tab-bar.mjs +1034 -0
- package/tab.mjs +34 -0
- package/text-lockup.mjs +53 -0
- package/textarea.mjs +115 -0
- package/textfield.mjs +40 -0
- package/textfield2.mjs +932 -0
- package/toolbar.mjs +28 -0
- package/tooltip.mjs +1246 -0
- package/top-app-bar-fixed.mjs +84 -0
- package/top-app-bar.mjs +28 -0
- package/top-app-bar2.mjs +12 -0
- package/tree-list-item.mjs +82 -0
- package/tree-list.mjs +42 -0
- package/tslib.es6.mjs +82 -0
- package/typography.mjs +31 -0
- package/utils.mjs +52 -0
- package/actionRibbon.js +0 -16
- package/actionRibbon.js.LICENSE.txt +0 -75
- package/alert.js +0 -19
- package/alert.js.LICENSE.txt +0 -75
- package/appShell.js +0 -96
- package/appShell.js.LICENSE.txt +0 -93
- package/button.js +0 -38
- package/button.js.LICENSE.txt +0 -53
- package/card.js +0 -17
- package/card.js.LICENSE.txt +0 -23
- package/checkbox.js +0 -40
- package/checkbox.js.LICENSE.txt +0 -53
- package/circularProgress.js +0 -58
- package/circularProgress.js.LICENSE.txt +0 -41
- package/codeSnippet.js +0 -8
- package/codeSnippet.js.LICENSE.txt +0 -23
- package/dialog.js +0 -28
- package/dialog.js.LICENSE.txt +0 -104
- package/drawer.js +0 -18
- package/drawer.js.LICENSE.txt +0 -52
- package/emptyState.js +0 -25
- package/emptyState.js.LICENSE.txt +0 -29
- package/formField.js +0 -7
- package/icon.js +0 -2
- package/icon.js.LICENSE.txt +0 -29
- package/iconButton.js +0 -26
- package/iconButton.js.LICENSE.txt +0 -47
- package/iconCheckbox.js +0 -51
- package/iconCheckbox.js.LICENSE.txt +0 -53
- package/iconRadio.js +0 -43
- package/iconRadio.js.LICENSE.txt +0 -47
- package/icons/covalent-icons.css +0 -365
- package/icons/covalent-icons.eot +0 -0
- package/icons/covalent-icons.svg +0 -224
- package/icons/covalent-icons.ttf +0 -0
- package/icons/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +0 -993
- package/index.js.LICENSE.txt +0 -191
- package/linearProgress.js +0 -28
- package/linearProgress.js.LICENSE.txt +0 -41
- package/list.js +0 -44
- package/list.js.LICENSE.txt +0 -41
- package/listCheckItem.js +0 -77
- package/listCheckItem.js.LICENSE.txt +0 -53
- package/listExpansion.js +0 -47
- package/listExpansion.js.LICENSE.txt +0 -41
- package/listItem.js +0 -27
- package/listItem.js.LICENSE.txt +0 -41
- package/listNavItem.js +0 -27
- package/listNavItem.js.LICENSE.txt +0 -41
- package/listRadioItem.js +0 -70
- package/listRadioItem.js.LICENSE.txt +0 -47
- package/menu.js +0 -83
- package/menu.js.LICENSE.txt +0 -87
- package/radio.js +0 -33
- package/radio.js.LICENSE.txt +0 -47
- package/select.js +0 -176
- package/select.js.LICENSE.txt +0 -93
- package/sideSheet.js +0 -28
- package/sideSheet.js.LICENSE.txt +0 -104
- package/slider.js +0 -63
- package/slider.js.LICENSE.txt +0 -93
- package/sliderRange.js +0 -113
- package/sliderRange.js.LICENSE.txt +0 -93
- package/snackBar.js +0 -12
- package/snackBar.js.LICENSE.txt +0 -47
- package/src/tooltip/tooltip.foundation.d.ts +0 -211
- package/statusHeader.js +0 -22
- package/statusHeader.js.LICENSE.txt +0 -23
- package/statusHeaderItem.js +0 -2
- package/statusHeaderItem.js.LICENSE.txt +0 -17
- package/switch.js +0 -63
- package/switch.js.LICENSE.txt +0 -70
- package/tab.js +0 -35
- package/tab.js.LICENSE.txt +0 -41
- package/tabBar.js +0 -53
- package/tabBar.js.LICENSE.txt +0 -41
- package/textArea.js +0 -96
- package/textArea.js.LICENSE.txt +0 -47
- package/textField.js +0 -69
- package/textField.js.LICENSE.txt +0 -47
- package/textLockup.js +0 -5
- package/textLockup.js.LICENSE.txt +0 -23
- package/theme.css +0 -1
- package/theme.js +0 -1
- package/toolbar.js +0 -19
- package/toolbar.js.LICENSE.txt +0 -58
- package/tooltip.js +0 -19
- package/tooltip.js.LICENSE.txt +0 -63
- package/topAppBar.js +0 -19
- package/topAppBar.js.LICENSE.txt +0 -64
- package/topAppBarFixed.js +0 -19
- package/topAppBarFixed.js.LICENSE.txt +0 -64
- package/treeList.js +0 -8
- package/treeList.js.LICENSE.txt +0 -17
- package/treeListItem.js +0 -24
- package/treeListItem.js.LICENSE.txt +0 -23
- package/typography.js +0 -2
- package/typography.js.LICENSE.txt +0 -17
package/snackbar.mjs
ADDED
@@ -0,0 +1,461 @@
|
|
1
|
+
import { Z as M, y as b, i as C, r as D, e as w } from "./query-assigned-elements.mjs";
|
2
|
+
import { _ as $, a as x, b as m } from "./tslib.es6.mjs";
|
3
|
+
import { B as F } from "./base-element.mjs";
|
4
|
+
import { o as g } from "./observer.mjs";
|
5
|
+
import { e as l } from "./property.mjs";
|
6
|
+
import { i as O } from "./query.mjs";
|
7
|
+
import { i as L, t as S, e as P, o as R } from "./class-map.mjs";
|
8
|
+
import { e as z } from "./directive-helpers.mjs";
|
9
|
+
import { a as U } from "./utils.mjs";
|
10
|
+
/**
|
11
|
+
* @license
|
12
|
+
* Copyright 2016 Google Inc.
|
13
|
+
*
|
14
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
15
|
+
* of this software and associated documentation files (the "Software"), to deal
|
16
|
+
* in the Software without restriction, including without limitation the rights
|
17
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
18
|
+
* copies of the Software, and to permit persons to whom the Software is
|
19
|
+
* furnished to do so, subject to the following conditions:
|
20
|
+
*
|
21
|
+
* The above copyright notice and this permission notice shall be included in
|
22
|
+
* all copies or substantial portions of the Software.
|
23
|
+
*
|
24
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
25
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
26
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
27
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
28
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
29
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
30
|
+
* THE SOFTWARE.
|
31
|
+
*/
|
32
|
+
var B = (
|
33
|
+
/** @class */
|
34
|
+
function() {
|
35
|
+
function a(e) {
|
36
|
+
e === void 0 && (e = {}), this.adapter = e;
|
37
|
+
}
|
38
|
+
return Object.defineProperty(a, "cssClasses", {
|
39
|
+
get: function() {
|
40
|
+
return {};
|
41
|
+
},
|
42
|
+
enumerable: !1,
|
43
|
+
configurable: !0
|
44
|
+
}), Object.defineProperty(a, "strings", {
|
45
|
+
get: function() {
|
46
|
+
return {};
|
47
|
+
},
|
48
|
+
enumerable: !1,
|
49
|
+
configurable: !0
|
50
|
+
}), Object.defineProperty(a, "numbers", {
|
51
|
+
get: function() {
|
52
|
+
return {};
|
53
|
+
},
|
54
|
+
enumerable: !1,
|
55
|
+
configurable: !0
|
56
|
+
}), Object.defineProperty(a, "defaultAdapter", {
|
57
|
+
get: function() {
|
58
|
+
return {};
|
59
|
+
},
|
60
|
+
enumerable: !1,
|
61
|
+
configurable: !0
|
62
|
+
}), a.prototype.init = function() {
|
63
|
+
}, a.prototype.destroy = function() {
|
64
|
+
}, a;
|
65
|
+
}()
|
66
|
+
);
|
67
|
+
/**
|
68
|
+
* @license
|
69
|
+
* Copyright 2018 Google Inc.
|
70
|
+
*
|
71
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
72
|
+
* of this software and associated documentation files (the "Software"), to deal
|
73
|
+
* in the Software without restriction, including without limitation the rights
|
74
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
75
|
+
* copies of the Software, and to permit persons to whom the Software is
|
76
|
+
* furnished to do so, subject to the following conditions:
|
77
|
+
*
|
78
|
+
* The above copyright notice and this permission notice shall be included in
|
79
|
+
* all copies or substantial portions of the Software.
|
80
|
+
*
|
81
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
82
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
83
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
84
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
85
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
86
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
87
|
+
* THE SOFTWARE.
|
88
|
+
*/
|
89
|
+
var c = {
|
90
|
+
CLOSING: "mdc-snackbar--closing",
|
91
|
+
OPEN: "mdc-snackbar--open",
|
92
|
+
OPENING: "mdc-snackbar--opening"
|
93
|
+
}, k = {
|
94
|
+
ACTION_SELECTOR: ".mdc-snackbar__action",
|
95
|
+
ARIA_LIVE_LABEL_TEXT_ATTR: "data-mdc-snackbar-label-text",
|
96
|
+
CLOSED_EVENT: "MDCSnackbar:closed",
|
97
|
+
CLOSING_EVENT: "MDCSnackbar:closing",
|
98
|
+
DISMISS_SELECTOR: ".mdc-snackbar__dismiss",
|
99
|
+
LABEL_SELECTOR: ".mdc-snackbar__label",
|
100
|
+
OPENED_EVENT: "MDCSnackbar:opened",
|
101
|
+
OPENING_EVENT: "MDCSnackbar:opening",
|
102
|
+
REASON_ACTION: "action",
|
103
|
+
REASON_DISMISS: "dismiss",
|
104
|
+
SURFACE_SELECTOR: ".mdc-snackbar__surface"
|
105
|
+
}, o = {
|
106
|
+
DEFAULT_AUTO_DISMISS_TIMEOUT_MS: 5e3,
|
107
|
+
INDETERMINATE: -1,
|
108
|
+
MAX_AUTO_DISMISS_TIMEOUT_MS: 1e4,
|
109
|
+
MIN_AUTO_DISMISS_TIMEOUT_MS: 4e3,
|
110
|
+
// These variables need to be kept in sync with the values in _variables.scss.
|
111
|
+
SNACKBAR_ANIMATION_CLOSE_TIME_MS: 75,
|
112
|
+
SNACKBAR_ANIMATION_OPEN_TIME_MS: 150,
|
113
|
+
/**
|
114
|
+
* Number of milliseconds to wait between temporarily clearing the label text
|
115
|
+
* in the DOM and subsequently restoring it. This is necessary to force IE 11
|
116
|
+
* to pick up the `aria-live` content change and announce it to the user.
|
117
|
+
*/
|
118
|
+
ARIA_LIVE_DELAY_MS: 1e3
|
119
|
+
};
|
120
|
+
/**
|
121
|
+
* @license
|
122
|
+
* Copyright 2018 Google Inc.
|
123
|
+
*
|
124
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
125
|
+
* of this software and associated documentation files (the "Software"), to deal
|
126
|
+
* in the Software without restriction, including without limitation the rights
|
127
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
128
|
+
* copies of the Software, and to permit persons to whom the Software is
|
129
|
+
* furnished to do so, subject to the following conditions:
|
130
|
+
*
|
131
|
+
* The above copyright notice and this permission notice shall be included in
|
132
|
+
* all copies or substantial portions of the Software.
|
133
|
+
*
|
134
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
135
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
136
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
137
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
138
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
139
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
140
|
+
* THE SOFTWARE.
|
141
|
+
*/
|
142
|
+
var E = c.OPENING, A = c.OPEN, T = c.CLOSING, V = k.REASON_ACTION, f = k.REASON_DISMISS, j = (
|
143
|
+
/** @class */
|
144
|
+
function(a) {
|
145
|
+
$(e, a);
|
146
|
+
function e(t) {
|
147
|
+
var i = a.call(this, x(x({}, e.defaultAdapter), t)) || this;
|
148
|
+
return i.opened = !1, i.animationFrame = 0, i.animationTimer = 0, i.autoDismissTimer = 0, i.autoDismissTimeoutMs = o.DEFAULT_AUTO_DISMISS_TIMEOUT_MS, i.closeOnEscape = !0, i;
|
149
|
+
}
|
150
|
+
return Object.defineProperty(e, "cssClasses", {
|
151
|
+
get: function() {
|
152
|
+
return c;
|
153
|
+
},
|
154
|
+
enumerable: !1,
|
155
|
+
configurable: !0
|
156
|
+
}), Object.defineProperty(e, "strings", {
|
157
|
+
get: function() {
|
158
|
+
return k;
|
159
|
+
},
|
160
|
+
enumerable: !1,
|
161
|
+
configurable: !0
|
162
|
+
}), Object.defineProperty(e, "numbers", {
|
163
|
+
get: function() {
|
164
|
+
return o;
|
165
|
+
},
|
166
|
+
enumerable: !1,
|
167
|
+
configurable: !0
|
168
|
+
}), Object.defineProperty(e, "defaultAdapter", {
|
169
|
+
get: function() {
|
170
|
+
return {
|
171
|
+
addClass: function() {
|
172
|
+
},
|
173
|
+
announce: function() {
|
174
|
+
},
|
175
|
+
notifyClosed: function() {
|
176
|
+
},
|
177
|
+
notifyClosing: function() {
|
178
|
+
},
|
179
|
+
notifyOpened: function() {
|
180
|
+
},
|
181
|
+
notifyOpening: function() {
|
182
|
+
},
|
183
|
+
removeClass: function() {
|
184
|
+
}
|
185
|
+
};
|
186
|
+
},
|
187
|
+
enumerable: !1,
|
188
|
+
configurable: !0
|
189
|
+
}), e.prototype.destroy = function() {
|
190
|
+
this.clearAutoDismissTimer(), cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, clearTimeout(this.animationTimer), this.animationTimer = 0, this.adapter.removeClass(E), this.adapter.removeClass(A), this.adapter.removeClass(T);
|
191
|
+
}, e.prototype.open = function() {
|
192
|
+
var t = this;
|
193
|
+
this.clearAutoDismissTimer(), this.opened = !0, this.adapter.notifyOpening(), this.adapter.removeClass(T), this.adapter.addClass(E), this.adapter.announce(), this.runNextAnimationFrame(function() {
|
194
|
+
t.adapter.addClass(A), t.animationTimer = setTimeout(function() {
|
195
|
+
var i = t.getTimeoutMs();
|
196
|
+
t.handleAnimationTimerEnd(), t.adapter.notifyOpened(), i !== o.INDETERMINATE && (t.autoDismissTimer = setTimeout(function() {
|
197
|
+
t.close(f);
|
198
|
+
}, i));
|
199
|
+
}, o.SNACKBAR_ANIMATION_OPEN_TIME_MS);
|
200
|
+
});
|
201
|
+
}, e.prototype.close = function(t) {
|
202
|
+
var i = this;
|
203
|
+
t === void 0 && (t = ""), this.opened && (cancelAnimationFrame(this.animationFrame), this.animationFrame = 0, this.clearAutoDismissTimer(), this.opened = !1, this.adapter.notifyClosing(t), this.adapter.addClass(c.CLOSING), this.adapter.removeClass(c.OPEN), this.adapter.removeClass(c.OPENING), clearTimeout(this.animationTimer), this.animationTimer = setTimeout(function() {
|
204
|
+
i.handleAnimationTimerEnd(), i.adapter.notifyClosed(t);
|
205
|
+
}, o.SNACKBAR_ANIMATION_CLOSE_TIME_MS));
|
206
|
+
}, e.prototype.isOpen = function() {
|
207
|
+
return this.opened;
|
208
|
+
}, e.prototype.getTimeoutMs = function() {
|
209
|
+
return this.autoDismissTimeoutMs;
|
210
|
+
}, e.prototype.setTimeoutMs = function(t) {
|
211
|
+
var i = o.MIN_AUTO_DISMISS_TIMEOUT_MS, n = o.MAX_AUTO_DISMISS_TIMEOUT_MS, s = o.INDETERMINATE;
|
212
|
+
if (t === o.INDETERMINATE || t <= n && t >= i)
|
213
|
+
this.autoDismissTimeoutMs = t;
|
214
|
+
else
|
215
|
+
throw new Error(`
|
216
|
+
timeoutMs must be an integer in the range ` + i + "–" + n + `
|
217
|
+
(or ` + s + " to disable), but got '" + t + "'");
|
218
|
+
}, e.prototype.getCloseOnEscape = function() {
|
219
|
+
return this.closeOnEscape;
|
220
|
+
}, e.prototype.setCloseOnEscape = function(t) {
|
221
|
+
this.closeOnEscape = t;
|
222
|
+
}, e.prototype.handleKeyDown = function(t) {
|
223
|
+
var i = t.key === "Escape" || t.keyCode === 27;
|
224
|
+
i && this.getCloseOnEscape() && this.close(f);
|
225
|
+
}, e.prototype.handleActionButtonClick = function(t) {
|
226
|
+
this.close(V);
|
227
|
+
}, e.prototype.handleActionIconClick = function(t) {
|
228
|
+
this.close(f);
|
229
|
+
}, e.prototype.clearAutoDismissTimer = function() {
|
230
|
+
clearTimeout(this.autoDismissTimer), this.autoDismissTimer = 0;
|
231
|
+
}, e.prototype.handleAnimationTimerEnd = function() {
|
232
|
+
this.animationTimer = 0, this.adapter.removeClass(c.OPENING), this.adapter.removeClass(c.CLOSING);
|
233
|
+
}, e.prototype.runNextAnimationFrame = function(t) {
|
234
|
+
var i = this;
|
235
|
+
cancelAnimationFrame(this.animationFrame), this.animationFrame = requestAnimationFrame(function() {
|
236
|
+
i.animationFrame = 0, clearTimeout(i.animationTimer), i.animationTimer = setTimeout(t, 0);
|
237
|
+
});
|
238
|
+
}, e;
|
239
|
+
}(B)
|
240
|
+
);
|
241
|
+
const y = j;
|
242
|
+
/**
|
243
|
+
* @license
|
244
|
+
* Copyright 2017 Google LLC
|
245
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
246
|
+
*/
|
247
|
+
const p = (a, e) => {
|
248
|
+
var t, i;
|
249
|
+
const n = a._$AN;
|
250
|
+
if (n === void 0)
|
251
|
+
return !1;
|
252
|
+
for (const s of n)
|
253
|
+
(i = (t = s)._$AO) === null || i === void 0 || i.call(t, e, !1), p(s, e);
|
254
|
+
return !0;
|
255
|
+
}, _ = (a) => {
|
256
|
+
let e, t;
|
257
|
+
do {
|
258
|
+
if ((e = a._$AM) === void 0)
|
259
|
+
break;
|
260
|
+
t = e._$AN, t.delete(a), a = e;
|
261
|
+
} while ((t == null ? void 0 : t.size) === 0);
|
262
|
+
}, I = (a) => {
|
263
|
+
for (let e; e = a._$AM; a = e) {
|
264
|
+
let t = e._$AN;
|
265
|
+
if (t === void 0)
|
266
|
+
e._$AN = t = /* @__PURE__ */ new Set();
|
267
|
+
else if (t.has(a))
|
268
|
+
break;
|
269
|
+
t.add(a), H(e);
|
270
|
+
}
|
271
|
+
};
|
272
|
+
function G(a) {
|
273
|
+
this._$AN !== void 0 ? (_(this), this._$AM = a, I(this)) : this._$AM = a;
|
274
|
+
}
|
275
|
+
function K(a, e = !1, t = 0) {
|
276
|
+
const i = this._$AH, n = this._$AN;
|
277
|
+
if (n !== void 0 && n.size !== 0)
|
278
|
+
if (e)
|
279
|
+
if (Array.isArray(i))
|
280
|
+
for (let s = t; s < i.length; s++)
|
281
|
+
p(i[s], !1), _(i[s]);
|
282
|
+
else
|
283
|
+
i != null && (p(i, !1), _(i));
|
284
|
+
else
|
285
|
+
p(this, a);
|
286
|
+
}
|
287
|
+
const H = (a) => {
|
288
|
+
var e, t, i, n;
|
289
|
+
a.type == S.CHILD && ((e = (i = a)._$AP) !== null && e !== void 0 || (i._$AP = K), (t = (n = a)._$AQ) !== null && t !== void 0 || (n._$AQ = G));
|
290
|
+
};
|
291
|
+
class X extends L {
|
292
|
+
constructor() {
|
293
|
+
super(...arguments), this._$AN = void 0;
|
294
|
+
}
|
295
|
+
_$AT(e, t, i) {
|
296
|
+
super._$AT(e, t, i), I(this), this.isConnected = e._$AU;
|
297
|
+
}
|
298
|
+
_$AO(e, t = !0) {
|
299
|
+
var i, n;
|
300
|
+
e !== this.isConnected && (this.isConnected = e, e ? (i = this.reconnected) === null || i === void 0 || i.call(this) : (n = this.disconnected) === null || n === void 0 || n.call(this)), t && (p(this, e), _(this));
|
301
|
+
}
|
302
|
+
setValue(e) {
|
303
|
+
if (z(this._$Ct))
|
304
|
+
this._$Ct._$AI(e, this);
|
305
|
+
else {
|
306
|
+
const t = [...this._$Ct._$AH];
|
307
|
+
t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
|
308
|
+
}
|
309
|
+
}
|
310
|
+
disconnected() {
|
311
|
+
}
|
312
|
+
reconnected() {
|
313
|
+
}
|
314
|
+
}
|
315
|
+
/**
|
316
|
+
* @license
|
317
|
+
* Copyright 2019 Google LLC
|
318
|
+
* SPDX-License-Identifier: Apache-2.0
|
319
|
+
*/
|
320
|
+
const { ARIA_LIVE_DELAY_MS: Q } = y.numbers;
|
321
|
+
class Y extends X {
|
322
|
+
constructor(e) {
|
323
|
+
if (super(e), this.labelEl = null, this.timerId = null, this.previousPart = null, e.type !== S.CHILD)
|
324
|
+
throw new Error("AccessibleSnackbarLabel only supports child parts.");
|
325
|
+
}
|
326
|
+
update(e, [t, i]) {
|
327
|
+
var n;
|
328
|
+
if (!i)
|
329
|
+
return;
|
330
|
+
if (this.labelEl === null) {
|
331
|
+
const v = document.createElement("div"), N = b`<div class="mdc-snackbar__label" role="status" aria-live="polite"></div>`;
|
332
|
+
M(N, v);
|
333
|
+
const u = v.firstElementChild;
|
334
|
+
return u.textContent = t, (n = e.endNode) === null || n === void 0 || n.parentNode.insertBefore(u, e.endNode), this.labelEl = u, u;
|
335
|
+
}
|
336
|
+
const s = this.labelEl;
|
337
|
+
s.setAttribute("aria-live", "off"), s.textContent = "";
|
338
|
+
const r = document.createElement("span");
|
339
|
+
return r.style.display = "inline-block", r.style.width = "0", r.style.height = "1px", r.textContent = " ", s.appendChild(r), s.setAttribute("data-mdc-snackbar-label-text", t), this.timerId !== null && clearTimeout(this.timerId), this.timerId = window.setTimeout(() => {
|
340
|
+
this.timerId = null, s.setAttribute("aria-live", "polite"), s.removeAttribute("data-mdc-snackbar-label-text"), s.textContent = t, this.setValue(this.labelEl);
|
341
|
+
}, Q), s;
|
342
|
+
}
|
343
|
+
render(e, t) {
|
344
|
+
return t ? b`
|
345
|
+
<div class="mdc-snackbar__label" role="status" aria-live="polite">${e}</div>` : b``;
|
346
|
+
}
|
347
|
+
}
|
348
|
+
const q = P(Y);
|
349
|
+
/**
|
350
|
+
* @license
|
351
|
+
* Copyright 2018 Google LLC
|
352
|
+
* SPDX-License-Identifier: Apache-2.0
|
353
|
+
*/
|
354
|
+
const { OPENING_EVENT: Z, OPENED_EVENT: J, CLOSING_EVENT: W, CLOSED_EVENT: ee } = y.strings;
|
355
|
+
class d extends F {
|
356
|
+
constructor() {
|
357
|
+
super(...arguments), this.mdcFoundationClass = y, this.open = !1, this.timeoutMs = 5e3, this.closeOnEscape = !1, this.labelText = "", this.stacked = !1, this.leading = !1, this.reason = "";
|
358
|
+
}
|
359
|
+
render() {
|
360
|
+
const e = {
|
361
|
+
"mdc-snackbar--stacked": this.stacked,
|
362
|
+
"mdc-snackbar--leading": this.leading
|
363
|
+
};
|
364
|
+
return b`
|
365
|
+
<div class="mdc-snackbar ${R(e)}" @keydown="${this._handleKeydown}">
|
366
|
+
<div class="mdc-snackbar__surface">
|
367
|
+
${q(this.labelText, this.open)}
|
368
|
+
<div class="mdc-snackbar__actions">
|
369
|
+
<slot name="action" @click="${this._handleActionClick}"></slot>
|
370
|
+
<slot name="dismiss" @click="${this._handleDismissClick}"></slot>
|
371
|
+
</div>
|
372
|
+
</div>
|
373
|
+
</div>`;
|
374
|
+
}
|
375
|
+
createAdapter() {
|
376
|
+
return Object.assign(Object.assign({}, U(this.mdcRoot)), { announce: () => {
|
377
|
+
}, notifyClosed: (e) => {
|
378
|
+
this.dispatchEvent(new CustomEvent(ee, { bubbles: !0, cancelable: !0, detail: { reason: e } }));
|
379
|
+
}, notifyClosing: (e) => {
|
380
|
+
this.open = !1, this.dispatchEvent(new CustomEvent(W, { bubbles: !0, cancelable: !0, detail: { reason: e } }));
|
381
|
+
}, notifyOpened: () => {
|
382
|
+
this.dispatchEvent(new CustomEvent(J, { bubbles: !0, cancelable: !0 }));
|
383
|
+
}, notifyOpening: () => {
|
384
|
+
this.open = !0, this.dispatchEvent(new CustomEvent(Z, { bubbles: !0, cancelable: !0 }));
|
385
|
+
} });
|
386
|
+
}
|
387
|
+
/** @export */
|
388
|
+
show() {
|
389
|
+
this.open = !0;
|
390
|
+
}
|
391
|
+
/** @export */
|
392
|
+
close(e = "") {
|
393
|
+
this.reason = e, this.open = !1;
|
394
|
+
}
|
395
|
+
firstUpdated() {
|
396
|
+
super.firstUpdated(), this.open && this.mdcFoundation.open();
|
397
|
+
}
|
398
|
+
_handleKeydown(e) {
|
399
|
+
this.mdcFoundation.handleKeyDown(e);
|
400
|
+
}
|
401
|
+
_handleActionClick(e) {
|
402
|
+
this.mdcFoundation.handleActionButtonClick(e);
|
403
|
+
}
|
404
|
+
_handleDismissClick(e) {
|
405
|
+
this.mdcFoundation.handleActionIconClick(e);
|
406
|
+
}
|
407
|
+
}
|
408
|
+
m([
|
409
|
+
O(".mdc-snackbar")
|
410
|
+
], d.prototype, "mdcRoot", void 0);
|
411
|
+
m([
|
412
|
+
O(".mdc-snackbar__label")
|
413
|
+
], d.prototype, "labelElement", void 0);
|
414
|
+
m([
|
415
|
+
l({ type: Boolean, reflect: !0 }),
|
416
|
+
g(function(a) {
|
417
|
+
this.mdcFoundation && (a ? this.mdcFoundation.open() : (this.mdcFoundation.close(this.reason), this.reason = ""));
|
418
|
+
})
|
419
|
+
], d.prototype, "open", void 0);
|
420
|
+
m([
|
421
|
+
g(function(a) {
|
422
|
+
this.mdcFoundation.setTimeoutMs(a);
|
423
|
+
}),
|
424
|
+
l({ type: Number })
|
425
|
+
], d.prototype, "timeoutMs", void 0);
|
426
|
+
m([
|
427
|
+
g(function(a) {
|
428
|
+
this.mdcFoundation.setCloseOnEscape(a);
|
429
|
+
}),
|
430
|
+
l({ type: Boolean })
|
431
|
+
], d.prototype, "closeOnEscape", void 0);
|
432
|
+
m([
|
433
|
+
l({ type: String })
|
434
|
+
], d.prototype, "labelText", void 0);
|
435
|
+
m([
|
436
|
+
l({ type: Boolean })
|
437
|
+
], d.prototype, "stacked", void 0);
|
438
|
+
m([
|
439
|
+
l({ type: Boolean })
|
440
|
+
], d.prototype, "leading", void 0);
|
441
|
+
/**
|
442
|
+
* @license
|
443
|
+
* Copyright 2021 Google LLC
|
444
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
445
|
+
*/
|
446
|
+
const te = C`.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}`, ie = `:host{--mdc-snackbar-action-color: var(--mdc-theme-text-primary-on-dark)}:host ::slotted(cv-icon-button){color:var(--mdc-theme-text-icon-on-dark)}
|
447
|
+
`;
|
448
|
+
var ae = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, se = (a, e, t, i) => {
|
449
|
+
for (var n = i > 1 ? void 0 : i ? ne(e, t) : e, s = a.length - 1, r; s >= 0; s--)
|
450
|
+
(r = a[s]) && (n = (i ? r(e, t, n) : r(n)) || n);
|
451
|
+
return i && n && ae(e, t, n), n;
|
452
|
+
};
|
453
|
+
let h = class extends d {
|
454
|
+
};
|
455
|
+
h.styles = [te, C`${D(ie)}`];
|
456
|
+
h = se([
|
457
|
+
w("cv-snackbar")
|
458
|
+
], h);
|
459
|
+
export {
|
460
|
+
h as CovalentSnackbarBase
|
461
|
+
};
|
@@ -11,6 +11,7 @@ export declare class ActionRibbonBase extends LitElement {
|
|
11
11
|
open: boolean;
|
12
12
|
labelText: string;
|
13
13
|
icon: string;
|
14
|
+
iconAriaLabel: string;
|
14
15
|
centered: boolean;
|
15
16
|
/**
|
16
17
|
* The state representation active|negative|positive|caution
|
@@ -26,3 +27,4 @@ export declare class ActionRibbonBase extends LitElement {
|
|
26
27
|
close(reason?: CloseReason): void;
|
27
28
|
protected firstUpdated(): Promise<void>;
|
28
29
|
}
|
30
|
+
//# sourceMappingURL=action-ribbon-base.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"action-ribbon-base.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/action-ribbon/action-ribbon-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAEL,WAAW,EAGZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvD,qBAAa,gBAAiB,SAAQ,UAAU;IAC9C,SAAS,CAAC,aAAa,EAAG,mBAAmB,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,6BAAuB;IAEtC,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAC5B,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAC5B,SAAS,CAAC,eAAe,EAAG,WAAW,CAAC;IAazE,IAAI,UAAQ;IAEgB,SAAS,SAAM;IAEf,IAAI,SAAM;IACV,aAAa,SAAM;IAElB,QAAQ,UAAQ;IAE7C;;OAEG;IAEH,KAAK,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;IAEvD,SAAS,CAAC,MAAM,EAAE,WAAW,CAA2B;cAErC,MAAM;IAsBzB,SAAS,CAAC,UAAU,IAAI,cAAc;IAQtC,SAAS,CAAC,aAAa,IAAI,gBAAgB;IA2C3C,cAAc;IACd,IAAI;IAIJ,cAAc;IACd,KAAK,CAAC,MAAM,cAA0B;cAKb,YAAY;CAUtC"}
|
@@ -9,6 +9,7 @@ export declare class CovalentActionRibbon extends ActionRibbonBase {
|
|
9
9
|
}
|
10
10
|
declare global {
|
11
11
|
interface HTMLElementTagNameMap {
|
12
|
-
'
|
12
|
+
'cv-action-ribbon': CovalentActionRibbon;
|
13
13
|
}
|
14
14
|
}
|
15
|
+
//# sourceMappingURL=action-ribbon.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"action-ribbon.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/action-ribbon/action-ribbon.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD;;;;GAIG;AACH,qBACa,oBAAqB,SAAQ,gBAAgB;IACxD,OAAgB,MAAM,4BAIpB;CACH;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,oBAAoB,CAAC;KAC1C;CACF"}
|
@@ -11,6 +11,7 @@ export declare class AlertBase extends LitElement {
|
|
11
11
|
titleText: string;
|
12
12
|
descriptionText: string;
|
13
13
|
icon: string;
|
14
|
+
iconAriaLabel: string;
|
14
15
|
inline: boolean;
|
15
16
|
/**
|
16
17
|
* The state representation active|negative|positive|caution
|
@@ -27,3 +28,4 @@ export declare class AlertBase extends LitElement {
|
|
27
28
|
close(reason?: CloseReason): void;
|
28
29
|
protected firstUpdated(): Promise<void>;
|
29
30
|
}
|
31
|
+
//# sourceMappingURL=alert-base.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"alert-base.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/alert/alert-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAU,WAAW,EAAU,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvD,qBAAa,SAAU,SAAQ,UAAU;IACvC,SAAS,CAAC,aAAa,EAAG,mBAAmB,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,6BAAuB;IAEtC,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IACvB,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAalE,IAAI,UAAQ;IAEgB,SAAS,SAAM;IACf,eAAe,SAAM;IAErB,IAAI,SAAM;IACV,aAAa,SAAM;IAElB,MAAM,UAAS;IAC5C;;OAEG;IAEH,KAAK,SAAM;IAEX,SAAS,CAAC,MAAM,EAAE,WAAW,CAA2B;cAErC,MAAM;IAyBzB,mBAAmB;IACnB,SAAS,CAAC,UAAU,IAAI,cAAc;IAQtC,SAAS,CAAC,aAAa,IAAI,gBAAgB;IAsC3C,cAAc;IACd,IAAI;IAIJ,cAAc;IACd,KAAK,CAAC,MAAM,cAA0B;cAKb,YAAY;CAStC"}
|
package/src/alert/alert.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/alert/alert.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC;;;;GAIG;AACH,qBACa,aAAc,SAAQ,SAAS;IAC1C,OAAgB,MAAM,4BAIpB;CACH;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,aAAa,CAAC;KAC3B;CACF"}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
import { DrawerBase } from '@material/mwc-drawer/mwc-drawer-base';
|
2
|
-
import '@material/mwc-icon-button';
|
3
|
-
import '@material/mwc-top-app-bar-fixed';
|
4
2
|
declare global {
|
5
3
|
interface HTMLElementTagNameMap {
|
6
|
-
'
|
4
|
+
'cv-app-shell': CovalentAppShell;
|
7
5
|
}
|
8
6
|
}
|
9
7
|
/**
|
@@ -25,3 +23,4 @@ export declare class CovalentAppShell extends DrawerBase {
|
|
25
23
|
disconnectedCallback(): void;
|
26
24
|
render(): import("lit-html").TemplateResult<1>;
|
27
25
|
}
|
26
|
+
//# sourceMappingURL=app-shell.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/app-shell/app-shell.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,4BAIpB;IAEF;;OAEG;IAEH,OAAO,SAAM;IAGb,QAAQ,UAAS;;IAQjB,OAAO,CAAC,WAAW;IAWnB,WAAW;IAWF,iBAAiB;IAKjB,oBAAoB;IAKpB,MAAM;CAsDhB"}
|
package/src/button/button.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import { ButtonBase } from '@material/mwc-button/mwc-button-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-button': CovalentButtonBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentButtonBase extends ButtonBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=button.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/button/button.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,kBAAkB,CAAC;KACjC;CACF;AAED,qBACa,kBAAmB,SAAQ,UAAU;IAChD,OAAgB,MAAM,4BAA2C;CAClE"}
|
package/src/card/card-base.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"card-base.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/card/card-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAIvC,qBAAa,QAAS,SAAQ,UAAU;IACtC;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,QAAQ,SAAM;IACd;;OAEG;IAC0B,SAAS,UAAS;IAC/C;;OAEG;IAC0B,WAAW,UAAS;IACjD;;OAEG;IAC0B,QAAQ,UAAS;IACrC,MAAM;CA0BhB"}
|
package/src/card/card.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import { CardBase } from './card-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-card': CovalentCardBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentCardBase extends CardBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=card.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/card/card.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,gBAAgB,CAAC;KAC7B;CACF;AAED,qBACa,gBAAiB,SAAQ,QAAQ;IAC5C,OAAgB,MAAM,4BAIpB;CACH"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { CheckboxBase } from '@material/mwc-checkbox/mwc-checkbox-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-checkbox': CovalentCheckboxBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentCheckboxBase extends CheckboxBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/checkbox/checkbox.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAIxE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,oBAAoB,CAAC;KACrC;CACF;AAED,qBACa,oBAAqB,SAAQ,YAAY;IACpD,OAAgB,MAAM,4BAA2C;CAClE"}
|
package/src/chips/chip-base.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chip-base.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/chips/chip-base.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAIL,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,aAAa,EAAuB,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAKvC,qBAAa,QAAS,SAAQ,UAAU;IACtC,SAAS,CAAC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAC5C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,2BAAqB;IAC1D,SAAS,CAAC,OAAO,EAAG,GAAG,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAC1D,SAAS,CAAC,MAAM,EAAG,MAAM,CAAC;IAEI,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAE9D;;OAEG;IAEH,KAAK,SAAM;IAEX;;OAEG;IACyB,IAAI,SAAM;IAEM,YAAY,UAAS;IAErB,MAAM,UAAS;IAE3D;;OAEG;IACyC,QAAQ,UAAS;IAE7D;;OAEG;IACyC,MAAM,UAAS;IAE3D;;OAEG;IAEH,KAAK,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;;cAOvC,MAAM;cA6CA,YAAY;IAyBrC,SAAS,CAAC,aAAa;IASvB,SAAS,CAAC,eAAe;IAYzB,SAAS,CAAC,UAAU,CAAC,QAAQ,UAAQ;IAUrC,SAAS,CAAC,cAAc;IAoBxB,SAAS,CAAC,aAAa,IAAI,cAAc;IA0DzC,UAAU;IAIV,YAAY;IAIZ,iBAAiB,CAAC,MAAM,EAAE,iBAAiB;IAI3C,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;IAI5C,gBAAgB,CAAC,MAAM,EAAE,iBAAiB;IAI1C,cAAc,CAAC,MAAM,EAAE,iBAAiB,EAAE,KAAK,EAAE,0BAA0B;IAI3E,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO;IAIpE,cAAc,CAAC,SAAS,EAAE,gBAAgB;CAG3C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chip-set-base.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/chips/chip-set-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAgBrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,qBAAa,WAAY,SAAQ,UAAU;IACzC,SAAS,CAAC,aAAa,EAAG,oBAAoB,CAAC;IAEb,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAElE;;OAEG;IACyC,UAAU,UAAS;IAE/D;;OAEG;IACyC,KAAK,UAAS;IAE1D;;OAEG;IAEH,KAAK,SAAM;IAEiB,WAAW,SAAK;IAE5C,SAAS,CAAC,oBAAoB,SAAM;IAEpC,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,CAAM;IAE5B,MAAM;cAaU,OAAO,CAAC,YAAY,EAAE,cAAc;cAY1C,YAAY,CAAC,YAAY,EAAE,cAAc;IAmBnD,iBAAiB,IAAI,IAAI;IAUzB,oBAAoB,IAAI,IAAI;IAgBrC,SAAS,CAAC,aAAa,IAAI,iBAAiB;IAqD5C,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,qBAAqB;CAG9B"}
|
package/src/chips/chip-set.d.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chip-set.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/chips/chip-set.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C;;;;GAIG;AACH,qBACa,eAAgB,SAAQ,WAAW;IAC9C,OAAgB,MAAM,4BAIpB;CACH;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,eAAe,CAAC;KAChC;CACF"}
|