@covalent/components 6.2.0 → 6.2.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.
Files changed (184) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +9 -9
  3. package/alert.js +1 -1
  4. package/alert.mjs +9 -9
  5. package/app-shell/app-shell.d.ts +2 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +7 -7
  8. package/app-shell.mjs +50 -42
  9. package/{base-element-d5abe37a.js → base-element.mjs} +1 -1
  10. package/button.js +1 -1
  11. package/button.mjs +14 -14
  12. package/card.js +1 -1
  13. package/card.mjs +3 -3
  14. package/check-list-item.js +1 -1
  15. package/check-list-item.mjs +18 -18
  16. package/checkbox.js +1 -1
  17. package/checkbox.mjs +16 -16
  18. package/circular-progress.js +1 -1
  19. package/circular-progress.mjs +7 -7
  20. package/{class-map-50b8edb4.js → class-map.mjs} +3 -3
  21. package/code-snippet.js +1 -1
  22. package/code-snippet.mjs +4 -4
  23. package/dialog.js +1 -1
  24. package/dialog.mjs +162 -14
  25. package/{dialog-85c21333.mjs → dialog2.mjs} +9 -9
  26. package/directive-helpers.mjs +5 -0
  27. package/drawer.js +1 -1
  28. package/drawer.mjs +10 -10
  29. package/empty-state.js +1 -1
  30. package/empty-state.mjs +4 -4
  31. package/event-options.mjs +5 -0
  32. package/{form-element-d4e7bcdb.js → form-element.mjs} +1 -1
  33. package/{foundation-3f55a9dc.js → foundation.mjs} +3 -3
  34. package/icon-button.js +1 -1
  35. package/icon-button.mjs +13 -13
  36. package/icon-check-toggle.js +1 -1
  37. package/icon-check-toggle.mjs +16 -16
  38. package/icon-radio/icon-radio-toggle.d.ts +2 -3
  39. package/icon-radio/icon-radio-toggle.d.ts.map +1 -1
  40. package/icon-radio-toggle.js +8 -14
  41. package/icon-radio-toggle.mjs +45 -63
  42. package/icon.js +1 -1
  43. package/icon.mjs +3 -3
  44. package/if-defined.mjs +5 -0
  45. package/index.js +1 -1
  46. package/index.mjs +39 -39
  47. package/linear-progress.js +1 -1
  48. package/linear-progress.mjs +9 -9
  49. package/list/list-expansion.d.ts +3 -2
  50. package/list/list-expansion.d.ts.map +1 -1
  51. package/list/list-item.d.ts.map +1 -1
  52. package/list/list.d.ts +5 -0
  53. package/list/list.d.ts.map +1 -1
  54. package/list-expansion.js +8 -8
  55. package/list-expansion.mjs +45 -40
  56. package/list-item.js +1 -1
  57. package/list-item.mjs +9 -18
  58. package/list-item2.mjs +44 -0
  59. package/list.js +1 -1
  60. package/list.mjs +5 -20
  61. package/{list-28b77a61.mjs → list2.mjs} +36 -16
  62. package/menu.js +1 -1
  63. package/menu.mjs +16 -16
  64. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base.mjs} +1 -1
  65. package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css.mjs} +1 -1
  66. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base.mjs} +1 -1
  67. package/{mwc-icon-b96fb867.js → mwc-icon.mjs} +3 -3
  68. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive.mjs} +1 -1
  69. package/{mwc-list-base-7d5f7278.js → mwc-list-base.mjs} +1 -1
  70. package/{mwc-list-item-base-803b9771.js → mwc-list-item-base.mjs} +1 -1
  71. package/{mwc-list-item.css-401e2407.js → mwc-list-item.css.mjs} +1 -1
  72. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base.mjs} +1 -1
  73. package/{mwc-radio-base-442d495a.js → mwc-radio-base.mjs} +1 -1
  74. package/{mwc-radio.css-388ad26d.js → mwc-radio.css.mjs} +1 -1
  75. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css.mjs} +16 -16
  76. package/{mwc-tab-base-1a19b299.js → mwc-tab-base.mjs} +1 -1
  77. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base.mjs} +1 -1
  78. package/nav-list-item.js +1 -1
  79. package/nav-list-item.mjs +14 -14
  80. package/{observer-a096ab43.js → observer.mjs} +1 -1
  81. package/package.json +1 -1
  82. package/{property-074570d1.js → property.mjs} +1 -1
  83. package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes.mjs} +1 -1
  84. package/query.mjs +5 -0
  85. package/radio-list-item.js +1 -1
  86. package/radio-list-item.mjs +18 -18
  87. package/radio.js +1 -1
  88. package/radio.mjs +17 -17
  89. package/{ripple-handlers-2176f137.js → ripple-handlers.mjs} +7 -7
  90. package/select.js +1 -1
  91. package/select.mjs +20 -20
  92. package/side-sheet.js +1 -1
  93. package/side-sheet.mjs +10 -10
  94. package/slider-range.js +1 -1
  95. package/slider-range.mjs +14 -14
  96. package/slider.js +1 -1
  97. package/slider.mjs +14 -14
  98. package/snackbar.js +1 -1
  99. package/snackbar.mjs +9 -9
  100. package/{state-949232e6.js → state.mjs} +1 -1
  101. package/status-header-item.js +1 -1
  102. package/status-header-item.mjs +2 -2
  103. package/status-header.js +1 -1
  104. package/status-header.mjs +3 -3
  105. package/{style-map-3056a771.js → style-map.mjs} +1 -1
  106. package/style.css +1 -1
  107. package/switch.js +1 -1
  108. package/switch.mjs +14 -14
  109. package/tab-bar.js +1 -1
  110. package/tab-bar.mjs +13 -13
  111. package/tab.js +1 -1
  112. package/tab.mjs +13 -13
  113. package/text-lockup.js +1 -1
  114. package/text-lockup.mjs +3 -3
  115. package/textarea.js +1 -1
  116. package/textarea.mjs +15 -15
  117. package/textfield.js +1 -1
  118. package/textfield.mjs +132 -41
  119. package/{textfield-276b0ded.mjs → textfield2.mjs} +13 -13
  120. package/toolbar.js +1 -1
  121. package/toolbar.mjs +8 -8
  122. package/tooltip.js +1 -1
  123. package/tooltip.mjs +6 -6
  124. package/top-app-bar-fixed.js +1 -1
  125. package/top-app-bar-fixed.mjs +9 -9
  126. package/top-app-bar.js +1 -1
  127. package/top-app-bar.mjs +6 -30
  128. package/{top-app-bar-a236c3bc.mjs → top-app-bar2.mjs} +1 -1
  129. package/tree-list-item.js +1 -1
  130. package/tree-list-item.mjs +3 -3
  131. package/tree-list.js +1 -1
  132. package/tree-list.mjs +1 -1
  133. package/{tslib.es6-6b53b818.js → tslib.es6.mjs} +1 -1
  134. package/typography.js +1 -1
  135. package/typography.mjs +2 -2
  136. package/{utils-a8190a39.js → utils.mjs} +1 -1
  137. package/aria-property-fa2717fe.mjs +0 -41
  138. package/base-element-c3dc926e.mjs +0 -28
  139. package/class-map-08c84aeb.mjs +0 -62
  140. package/dialog-8ee07177.js +0 -162
  141. package/directive-helpers-725a181d.mjs +0 -11
  142. package/directive-helpers-fce8cf91.js +0 -5
  143. package/event-options-3937d997.mjs +0 -14
  144. package/event-options-7bc382d8.js +0 -5
  145. package/form-element-6dbd7afa.mjs +0 -50
  146. package/foundation-2334d146.mjs +0 -60
  147. package/foundation-c580100a.mjs +0 -152
  148. package/if-defined-639ed018.mjs +0 -10
  149. package/if-defined-cb12d481.js +0 -5
  150. package/inert.esm-359d4581.mjs +0 -640
  151. package/list-170cca53.js +0 -5
  152. package/list-item-26ddcc43.js +0 -8
  153. package/list-item-c1e72538.mjs +0 -43
  154. package/mwc-checkbox-base-10e977f2.mjs +0 -198
  155. package/mwc-checkbox.css-b7abc7fd.mjs +0 -10
  156. package/mwc-drawer-base-b2b772c3.mjs +0 -335
  157. package/mwc-icon-c7013880.mjs +0 -26
  158. package/mwc-line-ripple-directive-c3e1f04a.mjs +0 -653
  159. package/mwc-list-base-c0f8af1c.mjs +0 -840
  160. package/mwc-list-item-base-acef0223.mjs +0 -202
  161. package/mwc-list-item.css-b5481d96.mjs +0 -17
  162. package/mwc-menu-base-8970b43d.mjs +0 -1145
  163. package/mwc-radio-base-c29e6f42.mjs +0 -528
  164. package/mwc-radio.css-4694aa9c.mjs +0 -10
  165. package/mwc-slider.css-336f809b.mjs +0 -956
  166. package/mwc-tab-base-7fb3d339.mjs +0 -694
  167. package/mwc-top-app-bar-base-79c87e69.mjs +0 -380
  168. package/observer-be7b92e2.mjs +0 -32
  169. package/property-ca27685b.mjs +0 -20
  170. package/query-1e7846ea.mjs +0 -25
  171. package/query-2ba749b7.js +0 -5
  172. package/query-assigned-elements-514e5265.mjs +0 -615
  173. package/query-assigned-nodes-bea12e0c.mjs +0 -17
  174. package/ripple-handlers-227497d3.mjs +0 -761
  175. package/state-6f7e570d.mjs +0 -12
  176. package/style-map-2cb0fb63.mjs +0 -40
  177. package/textfield-507c6a06.js +0 -133
  178. package/top-app-bar-34e85527.js +0 -6
  179. package/tslib.es6-b5e819a6.mjs +0 -82
  180. package/utils-dc65fdc9.mjs +0 -52
  181. /package/{aria-property-849c8816.js → aria-property.mjs} +0 -0
  182. /package/{foundation-e830bd94.js → foundation2.mjs} +0 -0
  183. /package/{inert.esm-2cee6f2e.js → inert.esm.mjs} +0 -0
  184. /package/{query-assigned-elements-07e38f46.js → query-assigned-elements.mjs} +0 -0
@@ -1,12 +0,0 @@
1
- import { e as r } from "./property-ca27685b.mjs";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- function o(t) {
8
- return r({ ...t, state: !0 });
9
- }
10
- export {
11
- o as t
12
- };
@@ -1,40 +0,0 @@
1
- import { x as i } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as o, i as l, t as u } from "./class-map-08c84aeb.mjs";
3
- /**
4
- * @license
5
- * Copyright 2018 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const a = o(class extends l {
9
- constructor(s) {
10
- var t;
11
- if (super(s), s.type !== u.ATTRIBUTE || s.name !== "style" || ((t = s.strings) === null || t === void 0 ? void 0 : t.length) > 2)
12
- throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
13
- }
14
- render(s) {
15
- return Object.keys(s).reduce((t, r) => {
16
- const e = s[r];
17
- return e == null ? t : t + `${r = r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`;
18
- }, "");
19
- }
20
- update(s, [t]) {
21
- const { style: r } = s.element;
22
- if (this.vt === void 0) {
23
- this.vt = /* @__PURE__ */ new Set();
24
- for (const e in t)
25
- this.vt.add(e);
26
- return this.render(t);
27
- }
28
- this.vt.forEach((e) => {
29
- t[e] == null && (this.vt.delete(e), e.includes("-") ? r.removeProperty(e) : r[e] = "");
30
- });
31
- for (const e in t) {
32
- const n = t[e];
33
- n != null && (this.vt.add(e), e.includes("-") ? r.setProperty(e, n) : r[e] = n);
34
- }
35
- return i;
36
- }
37
- });
38
- export {
39
- a as i
40
- };
@@ -1,133 +0,0 @@
1
- "use strict";const a=require("./tslib.es6-6b53b818.js"),L=require("./mwc-line-ripple-directive-a97ce725.js"),R=require("./form-element-d4e7bcdb.js"),A=require("./observer-a096ab43.js"),u=require("./query-assigned-elements-07e38f46.js"),l=require("./property-074570d1.js"),b=require("./state-949232e6.js"),E=require("./event-options-7bc382d8.js"),y=require("./query-2ba749b7.js"),p=require("./class-map-50b8edb4.js"),h=require("./if-defined-cb12d481.js"),I=require("./directive-helpers-fce8cf91.js"),H=require("./utils-a8190a39.js");/**
2
- * @license
3
- * Copyright 2016 Google Inc.
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- */var $=function(){function s(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(s,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(s,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(s,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(s,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),s.prototype.init=function(){},s.prototype.destroy=function(){},s}();/**
23
- * @license
24
- * Copyright 2016 Google Inc.
25
- *
26
- * Permission is hereby granted, free of charge, to any person obtaining a copy
27
- * of this software and associated documentation files (the "Software"), to deal
28
- * in the Software without restriction, including without limitation the rights
29
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
- * copies of the Software, and to permit persons to whom the Software is
31
- * furnished to do so, subject to the following conditions:
32
- *
33
- * The above copyright notice and this permission notice shall be included in
34
- * all copies or substantial portions of the Software.
35
- *
36
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
- * THE SOFTWARE.
43
- */var x={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},w={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},_={LABEL_SCALE:.75},B=["pattern","min","max","required","step","minlength","maxlength"],U=["color","date","datetime-local","month","range","time","week"];/**
44
- * @license
45
- * Copyright 2016 Google Inc.
46
- *
47
- * Permission is hereby granted, free of charge, to any person obtaining a copy
48
- * of this software and associated documentation files (the "Software"), to deal
49
- * in the Software without restriction, including without limitation the rights
50
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
- * copies of the Software, and to permit persons to whom the Software is
52
- * furnished to do so, subject to the following conditions:
53
- *
54
- * The above copyright notice and this permission notice shall be included in
55
- * all copies or substantial portions of the Software.
56
- *
57
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
- * THE SOFTWARE.
64
- */var F=["mousedown","touchstart"],C=["click","keydown"],T=function(s){a.__extends(e,s);function e(t,i){i===void 0&&(i={});var n=s.call(this,a.__assign(a.__assign({},e.defaultAdapter),t))||this;return n.isFocused=!1,n.receivedUserInput=!1,n.valid=!0,n.useNativeValidation=!0,n.validateOnValueChange=!0,n.helperText=i.helperText,n.characterCounter=i.characterCounter,n.leadingIcon=i.leadingIcon,n.trailingIcon=i.trailingIcon,n.inputFocusHandler=function(){n.activateFocus()},n.inputBlurHandler=function(){n.deactivateFocus()},n.inputInputHandler=function(){n.handleInput()},n.setPointerXOffset=function(o){n.setTransformOrigin(o)},n.textFieldInteractionHandler=function(){n.handleTextFieldInteraction()},n.validationAttributeChangeHandler=function(o){n.handleValidationAttributeChange(o)},n}return Object.defineProperty(e,"cssClasses",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return x},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldAlwaysFloat",{get:function(){var t=this.getNativeInput().type;return U.indexOf(t)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver(function(){})},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t,i,n,o;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var d=a.__values(F),c=d.next();!c.done;c=d.next()){var m=c.value;this.adapter.registerInputInteractionHandler(m,this.setPointerXOffset)}}catch(g){t={error:g}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(t)throw t.error}}try{for(var v=a.__values(C),f=v.next();!f.done;f=v.next()){var m=f.value;this.adapter.registerTextFieldInteractionHandler(m,this.textFieldInteractionHandler)}}catch(g){n={error:g}}finally{try{f&&!f.done&&(o=v.return)&&o.call(v)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},e.prototype.destroy=function(){var t,i,n,o;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var d=a.__values(F),c=d.next();!c.done;c=d.next()){var m=c.value;this.adapter.deregisterInputInteractionHandler(m,this.setPointerXOffset)}}catch(g){t={error:g}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(t)throw t.error}}try{for(var v=a.__values(C),f=v.next();!f.done;f=v.next()){var m=f.value;this.adapter.deregisterTextFieldInteractionHandler(m,this.textFieldInteractionHandler)}}catch(g){n={error:g}}finally{try{f&&!f.done&&(o=v.return)&&o.call(v)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},e.prototype.handleTextFieldInteraction=function(){var t=this.adapter.getNativeInput();t&&t.disabled||(this.receivedUserInput=!0)},e.prototype.handleValidationAttributeChange=function(t){var i=this;t.some(function(n){return B.indexOf(n)>-1?(i.styleValidity(!0),i.adapter.setLabelRequired(i.getNativeInput().required),!0):!1}),t.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},e.prototype.notchOutline=function(t){if(!(!this.adapter.hasOutline()||!this.adapter.hasLabel()))if(t){var i=this.adapter.getLabelWidth()*_.LABEL_SCALE;this.adapter.notchOutline(i)}else this.adapter.closeOutline()},e.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.helperText&&(this.helperText.isPersistent()||!this.helperText.isValidation()||!this.valid)&&this.helperText.showToScreenReader()},e.prototype.setTransformOrigin=function(t){if(!(this.isDisabled()||this.adapter.hasOutline())){var i=t.touches,n=i?i[0]:t,o=n.target.getBoundingClientRect(),d=n.clientX-o.left;this.adapter.setLineRippleTransformOrigin(d)}},e.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},e.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},e.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var t=this.isValid();this.styleValidity(t),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},e.prototype.getValue=function(){return this.getNativeInput().value},e.prototype.setValue=function(t){if(this.getValue()!==t&&(this.getNativeInput().value=t),this.setcharacterCounter(t.length),this.validateOnValueChange){var i=this.isValid();this.styleValidity(i)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},e.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},e.prototype.setValid=function(t){this.valid=t,this.styleValidity(t);var i=!t&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(i)},e.prototype.setValidateOnValueChange=function(t){this.validateOnValueChange=t},e.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},e.prototype.setUseNativeValidation=function(t){this.useNativeValidation=t},e.prototype.isDisabled=function(){return this.getNativeInput().disabled},e.prototype.setDisabled=function(t){this.getNativeInput().disabled=t,this.styleDisabled(t)},e.prototype.setHelperTextContent=function(t){this.helperText&&this.helperText.setContent(t)},e.prototype.setLeadingIconAriaLabel=function(t){this.leadingIcon&&this.leadingIcon.setAriaLabel(t)},e.prototype.setLeadingIconContent=function(t){this.leadingIcon&&this.leadingIcon.setContent(t)},e.prototype.setTrailingIconAriaLabel=function(t){this.trailingIcon&&this.trailingIcon.setAriaLabel(t)},e.prototype.setTrailingIconContent=function(t){this.trailingIcon&&this.trailingIcon.setContent(t)},e.prototype.setcharacterCounter=function(t){if(this.characterCounter){var i=this.getNativeInput().maxLength;if(i===-1)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(t,i)}},e.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},e.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},e.prototype.styleValidity=function(t){var i=e.cssClasses.INVALID;if(t?this.adapter.removeClass(i):this.adapter.addClass(i),this.helperText){this.helperText.setValidity(t);var n=this.helperText.isValidation();if(!n)return;var o=this.helperText.isVisible(),d=this.helperText.getId();o&&d?this.adapter.setInputAttr(x.ARIA_DESCRIBEDBY,d):this.adapter.removeInputAttr(x.ARIA_DESCRIBEDBY)}},e.prototype.styleFocused=function(t){var i=e.cssClasses.FOCUSED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.styleDisabled=function(t){var i=e.cssClasses,n=i.DISABLED,o=i.INVALID;t?(this.adapter.addClass(n),this.adapter.removeClass(o)):this.adapter.removeClass(n),this.leadingIcon&&this.leadingIcon.setDisabled(t),this.trailingIcon&&this.trailingIcon.setDisabled(t)},e.prototype.styleFloating=function(t){var i=e.cssClasses.LABEL_FLOATING;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.getNativeInput=function(){var t=this.adapter?this.adapter.getNativeInput():null;return t||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},e}($);const M=T;/**
65
- * @license
66
- * Copyright 2020 Google LLC
67
- * SPDX-License-Identifier: BSD-3-Clause
68
- */const V=p.e(class extends p.i{constructor(s){if(super(s),s.type!==p.t.PROPERTY&&s.type!==p.t.ATTRIBUTE&&s.type!==p.t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!I.e(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[e]){if(e===u.x||e===u.b)return e;const t=s.element,i=s.name;if(s.type===p.t.PROPERTY){if(e===t[i])return u.x}else if(s.type===p.t.BOOLEAN_ATTRIBUTE){if(!!e===t.hasAttribute(i))return u.x}else if(s.type===p.t.ATTRIBUTE&&t.getAttribute(i)===e+"")return u.x;return I.s(s),e}});/**
69
- * @license
70
- * Copyright 2019 Google LLC
71
- * SPDX-License-Identifier: Apache-2.0
72
- */const q=["touchstart","touchmove","scroll","mousewheel"],O=(s={})=>{const e={};for(const t in s)e[t]=s[t];return Object.assign({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},e)};class r extends R.FormElement{constructor(){super(...arguments),this.mdcFoundationClass=M,this.value="",this.type="text",this.placeholder="",this.label="",this.icon="",this.iconTrailing="",this.disabled=!1,this.required=!1,this.minLength=-1,this.maxLength=-1,this.outlined=!1,this.helper="",this.validateOnInitialRender=!1,this.validationMessage="",this.autoValidate=!1,this.pattern="",this.min="",this.max="",this.step=null,this.size=null,this.helperPersistent=!1,this.charCounter=!1,this.endAligned=!1,this.prefix="",this.suffix="",this.name="",this.readOnly=!1,this.autocapitalize="",this.outlineOpen=!1,this.outlineWidth=0,this.isUiValid=!0,this.focused=!1,this._validity=O(),this.validityTransform=null}get validity(){return this._checkValidity(this.value),this._validity}get willValidate(){return this.formElement.willValidate}get selectionStart(){return this.formElement.selectionStart}get selectionEnd(){return this.formElement.selectionEnd}focus(){const e=new CustomEvent("focus");this.formElement.dispatchEvent(e),this.formElement.focus()}blur(){const e=new CustomEvent("blur");this.formElement.dispatchEvent(e),this.formElement.blur()}select(){this.formElement.select()}setSelectionRange(e,t,i){this.formElement.setSelectionRange(e,t,i)}update(e){e.has("autoValidate")&&this.mdcFoundation&&this.mdcFoundation.setValidateOnValueChange(this.autoValidate),e.has("value")&&typeof this.value!="string"&&(this.value=`${this.value}`),super.update(e)}setFormData(e){this.name&&e.append(this.name,this.value)}render(){const e=this.charCounter&&this.maxLength!==-1,t=!!this.helper||!!this.validationMessage||e,i={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--with-leading-icon":this.icon,"mdc-text-field--with-trailing-icon":this.iconTrailing,"mdc-text-field--end-aligned":this.endAligned};return u.y`
73
- <label class="mdc-text-field ${p.o(i)}">
74
- ${this.renderRipple()}
75
- ${this.outlined?this.renderOutline():this.renderLabel()}
76
- ${this.renderLeadingIcon()}
77
- ${this.renderPrefix()}
78
- ${this.renderInput(t)}
79
- ${this.renderSuffix()}
80
- ${this.renderTrailingIcon()}
81
- ${this.renderLineRipple()}
82
- </label>
83
- ${this.renderHelperText(t,e)}
84
- `}updated(e){e.has("value")&&e.get("value")!==void 0&&(this.mdcFoundation.setValue(this.value),this.autoValidate&&this.reportValidity())}renderRipple(){return this.outlined?"":u.y`
85
- <span class="mdc-text-field__ripple"></span>
86
- `}renderOutline(){return this.outlined?u.y`
87
- <mwc-notched-outline
88
- .width=${this.outlineWidth}
89
- .open=${this.outlineOpen}
90
- class="mdc-notched-outline">
91
- ${this.renderLabel()}
92
- </mwc-notched-outline>`:""}renderLabel(){return this.label?u.y`
93
- <span
94
- .floatingLabelFoundation=${L.floatingLabel(this.label)}
95
- id="label">${this.label}</span>
96
- `:""}renderLeadingIcon(){return this.icon?this.renderIcon(this.icon):""}renderTrailingIcon(){return this.iconTrailing?this.renderIcon(this.iconTrailing,!0):""}renderIcon(e,t=!1){const i={"mdc-text-field__icon--leading":!t,"mdc-text-field__icon--trailing":t};return u.y`<i class="material-icons mdc-text-field__icon ${p.o(i)}">${e}</i>`}renderPrefix(){return this.prefix?this.renderAffix(this.prefix):""}renderSuffix(){return this.suffix?this.renderAffix(this.suffix,!0):""}renderAffix(e,t=!1){const i={"mdc-text-field__affix--prefix":!t,"mdc-text-field__affix--suffix":t};return u.y`<span class="mdc-text-field__affix ${p.o(i)}">
97
- ${e}</span>`}renderInput(e){const t=this.minLength===-1?void 0:this.minLength,i=this.maxLength===-1?void 0:this.maxLength,n=this.autocapitalize?this.autocapitalize:void 0,o=this.validationMessage&&!this.isUiValid,d=this.label?"label":void 0,c=e?"helper-text":void 0,m=this.focused||this.helperPersistent||o?"helper-text":void 0;return u.y`
98
- <input
99
- aria-labelledby=${h.l(d)}
100
- aria-controls="${h.l(c)}"
101
- aria-describedby="${h.l(m)}"
102
- class="mdc-text-field__input"
103
- type="${this.type}"
104
- .value="${V(this.value)}"
105
- ?disabled="${this.disabled}"
106
- placeholder="${this.placeholder}"
107
- ?required="${this.required}"
108
- ?readonly="${this.readOnly}"
109
- minlength="${h.l(t)}"
110
- maxlength="${h.l(i)}"
111
- pattern="${h.l(this.pattern?this.pattern:void 0)}"
112
- min="${h.l(this.min===""?void 0:this.min)}"
113
- max="${h.l(this.max===""?void 0:this.max)}"
114
- step="${h.l(this.step===null?void 0:this.step)}"
115
- size="${h.l(this.size===null?void 0:this.size)}"
116
- name="${h.l(this.name===""?void 0:this.name)}"
117
- inputmode="${h.l(this.inputMode)}"
118
- autocapitalize="${h.l(n)}"
119
- @input="${this.handleInputChange}"
120
- @focus="${this.onInputFocus}"
121
- @blur="${this.onInputBlur}">`}renderLineRipple(){return this.outlined?"":u.y`
122
- <span .lineRippleFoundation=${L.lineRipple()}></span>
123
- `}renderHelperText(e,t){const i=this.validationMessage&&!this.isUiValid,n={"mdc-text-field-helper-text--persistent":this.helperPersistent,"mdc-text-field-helper-text--validation-msg":i},o=this.focused||this.helperPersistent||i?void 0:"true",d=i?this.validationMessage:this.helper;return e?u.y`
124
- <div class="mdc-text-field-helper-line">
125
- <div id="helper-text"
126
- aria-hidden="${h.l(o)}"
127
- class="mdc-text-field-helper-text ${p.o(n)}"
128
- >${d}</div>
129
- ${this.renderCharCounter(t)}
130
- </div>`:""}renderCharCounter(e){const t=Math.min(this.value.length,this.maxLength);return e?u.y`
131
- <span class="mdc-text-field-character-counter"
132
- >${t} / ${this.maxLength}</span>`:""}onInputFocus(){this.focused=!0}onInputBlur(){this.focused=!1,this.reportValidity()}checkValidity(){const e=this._checkValidity(this.value);if(!e){const t=new Event("invalid",{bubbles:!1,cancelable:!0});this.dispatchEvent(t)}return e}reportValidity(){const e=this.checkValidity();return this.mdcFoundation.setValid(e),this.isUiValid=e,e}_checkValidity(e){const t=this.formElement.validity;let i=O(t);if(this.validityTransform){const n=this.validityTransform(e,i);i=Object.assign(Object.assign({},i),n),this.mdcFoundation.setUseNativeValidation(!1)}else this.mdcFoundation.setUseNativeValidation(!0);return this._validity=i,this._validity.valid}setCustomValidity(e){this.validationMessage=e,this.formElement.setCustomValidity(e)}handleInputChange(){this.value=this.formElement.value}createAdapter(){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods())}getRootAdapterMethods(){return Object.assign({registerTextFieldInteractionHandler:(e,t)=>this.addEventListener(e,t),deregisterTextFieldInteractionHandler:(e,t)=>this.removeEventListener(e,t),registerValidationAttributeChangeHandler:e=>{const t=o=>o.map(d=>d.attributeName).filter(d=>d),i=new MutationObserver(o=>{e(t(o))}),n={attributes:!0};return i.observe(this.formElement,n),i},deregisterValidationAttributeChangeHandler:e=>e.disconnect()},H.addHasRemoveClass(this.mdcRoot))}getInputAdapterMethods(){return{getNativeInput:()=>this.formElement,setInputAttr:()=>{},removeInputAttr:()=>{},isFocused:()=>this.shadowRoot?this.shadowRoot.activeElement===this.formElement:!1,registerInputInteractionHandler:(e,t)=>this.formElement.addEventListener(e,t,{passive:e in q}),deregisterInputInteractionHandler:(e,t)=>this.formElement.removeEventListener(e,t)}}getLabelAdapterMethods(){return{floatLabel:e=>this.labelElement&&this.labelElement.floatingLabelFoundation.float(e),getLabelWidth:()=>this.labelElement?this.labelElement.floatingLabelFoundation.getWidth():0,hasLabel:()=>Boolean(this.labelElement),shakeLabel:e=>this.labelElement&&this.labelElement.floatingLabelFoundation.shake(e),setLabelRequired:e=>{this.labelElement&&this.labelElement.floatingLabelFoundation.setRequired(e)}}}getLineRippleAdapterMethods(){return{activateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.activate()},deactivateLineRipple:()=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.deactivate()},setLineRippleTransformOrigin:e=>{this.lineRippleElement&&this.lineRippleElement.lineRippleFoundation.setRippleCenter(e)}}}async getUpdateComplete(){var e;const t=await super.getUpdateComplete();return await((e=this.outlineElement)===null||e===void 0?void 0:e.updateComplete),t}firstUpdated(){var e;super.firstUpdated(),this.mdcFoundation.setValidateOnValueChange(this.autoValidate),this.validateOnInitialRender&&this.reportValidity(),(e=this.outlineElement)===null||e===void 0||e.updateComplete.then(()=>{var t;this.outlineWidth=((t=this.labelElement)===null||t===void 0?void 0:t.floatingLabelFoundation.getWidth())||0})}getOutlineAdapterMethods(){return{closeOutline:()=>this.outlineElement&&(this.outlineOpen=!1),hasOutline:()=>Boolean(this.outlineElement),notchOutline:e=>{this.outlineElement&&!this.outlineOpen&&(this.outlineWidth=e,this.outlineOpen=!0)}}}async layout(){await this.updateComplete;const e=this.labelElement;if(!e){this.outlineOpen=!1;return}const t=!!this.label&&!!this.value;if(e.floatingLabelFoundation.float(t),!this.outlined)return;this.outlineOpen=t,await this.updateComplete;const i=e.floatingLabelFoundation.getWidth();this.outlineOpen&&(this.outlineWidth=i,await this.updateComplete)}}a.__decorate([y.i(".mdc-text-field")],r.prototype,"mdcRoot",void 0);a.__decorate([y.i("input")],r.prototype,"formElement",void 0);a.__decorate([y.i(".mdc-floating-label")],r.prototype,"labelElement",void 0);a.__decorate([y.i(".mdc-line-ripple")],r.prototype,"lineRippleElement",void 0);a.__decorate([y.i("mwc-notched-outline")],r.prototype,"outlineElement",void 0);a.__decorate([y.i(".mdc-notched-outline__notch")],r.prototype,"notchElement",void 0);a.__decorate([l.e({type:String})],r.prototype,"value",void 0);a.__decorate([l.e({type:String})],r.prototype,"type",void 0);a.__decorate([l.e({type:String})],r.prototype,"placeholder",void 0);a.__decorate([l.e({type:String}),A.observer(function(s,e){e!==void 0&&this.label!==e&&this.layout()})],r.prototype,"label",void 0);a.__decorate([l.e({type:String})],r.prototype,"icon",void 0);a.__decorate([l.e({type:String})],r.prototype,"iconTrailing",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],r.prototype,"disabled",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"required",void 0);a.__decorate([l.e({type:Number})],r.prototype,"minLength",void 0);a.__decorate([l.e({type:Number})],r.prototype,"maxLength",void 0);a.__decorate([l.e({type:Boolean,reflect:!0}),A.observer(function(s,e){e!==void 0&&this.outlined!==e&&this.layout()})],r.prototype,"outlined",void 0);a.__decorate([l.e({type:String})],r.prototype,"helper",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"validateOnInitialRender",void 0);a.__decorate([l.e({type:String})],r.prototype,"validationMessage",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"autoValidate",void 0);a.__decorate([l.e({type:String})],r.prototype,"pattern",void 0);a.__decorate([l.e({type:String})],r.prototype,"min",void 0);a.__decorate([l.e({type:String})],r.prototype,"max",void 0);a.__decorate([l.e({type:String})],r.prototype,"step",void 0);a.__decorate([l.e({type:Number})],r.prototype,"size",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"helperPersistent",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"charCounter",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"endAligned",void 0);a.__decorate([l.e({type:String})],r.prototype,"prefix",void 0);a.__decorate([l.e({type:String})],r.prototype,"suffix",void 0);a.__decorate([l.e({type:String})],r.prototype,"name",void 0);a.__decorate([l.e({type:String})],r.prototype,"inputMode",void 0);a.__decorate([l.e({type:Boolean})],r.prototype,"readOnly",void 0);a.__decorate([l.e({type:String})],r.prototype,"autocapitalize",void 0);a.__decorate([b.t()],r.prototype,"outlineOpen",void 0);a.__decorate([b.t()],r.prototype,"outlineWidth",void 0);a.__decorate([b.t()],r.prototype,"isUiValid",void 0);a.__decorate([b.t()],r.prototype,"focused",void 0);a.__decorate([E.e({passive:!0})],r.prototype,"handleInputChange",null);const k=`:host{--mdc-text-field-label-ink-color: var(--mdc-theme-text-secondary-on-background);--mdc-text-field-ink-color: var(--mdc-theme-text-secondary-on-background);--mdc-text-field-fill-color: var(--mdc-theme-surface-canvas);--mdc-text-field-idle-line-color: var(--mdc-theme-border);--mdc-text-field-hover-line-color: var(--mdc-theme-text-icon-on-background);--mdc-text-field-outlined-idle-border-color: var(--mdc-theme-border);--mdc-text-field-outlined-hover-border-color: var(--mdc-theme-text-icon-on-background)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon{color:var(--mdc-theme-text-icon-on-background)}
133
- `;exports.TextFieldBase=r;exports.l=V;exports.styles=k;
@@ -1,6 +0,0 @@
1
- "use strict";const p=require("./query-assigned-elements-07e38f46.js");/**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-LIcense-Identifier: Apache-2.0
5
- */const a=p.i`.mdc-top-app-bar{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);color:white;display:flex;position:fixed;flex-direction:column;justify-content:space-between;box-sizing:border-box;width:100%;z-index:4}.mdc-top-app-bar .mdc-top-app-bar__action-item,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon{color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-top-app-bar .mdc-top-app-bar__action-item::before,.mdc-top-app-bar .mdc-top-app-bar__action-item::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after{background-color:#fff;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-primary, #fff))}.mdc-top-app-bar .mdc-top-app-bar__action-item:hover::before,.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-surface--hover::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:hover::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-surface--hover::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded--background-focused::before,.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):focus::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--background-focused::before,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded)::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):active::after,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded,.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-top-app-bar__row{display:flex;position:relative;box-sizing:border-box;width:100%;height:64px}.mdc-top-app-bar__section{display:inline-flex;flex:1 1 auto;align-items:center;min-width:0;padding:8px 12px;z-index:1}.mdc-top-app-bar__section--align-start{justify-content:flex-start;order:-1}.mdc-top-app-bar__section--align-end{justify-content:flex-end;order:1}.mdc-top-app-bar__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);padding-left:20px;padding-right:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;z-index:1}[dir=rtl] .mdc-top-app-bar__title,.mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:20px}.mdc-top-app-bar--short-collapsed{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:24px;border-bottom-left-radius:0}[dir=rtl] .mdc-top-app-bar--short-collapsed,.mdc-top-app-bar--short-collapsed[dir=rtl]{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:24px}.mdc-top-app-bar--short{top:0;right:auto;left:0;width:100%;transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-top-app-bar--short,.mdc-top-app-bar--short[dir=rtl]{right:0;left:auto}.mdc-top-app-bar--short .mdc-top-app-bar__row{height:56px}.mdc-top-app-bar--short .mdc-top-app-bar__section{padding:4px}.mdc-top-app-bar--short .mdc-top-app-bar__title{transition:opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.mdc-top-app-bar--short-collapsed{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12);width:56px;transition:width 300ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__title{display:none}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__action-item{transition:padding 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item{width:112px}.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end{padding-left:0;padding-right:12px}[dir=rtl] .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end,.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end[dir=rtl]{padding-left:12px;padding-right:0}.mdc-top-app-bar--dense .mdc-top-app-bar__row{height:48px}.mdc-top-app-bar--dense .mdc-top-app-bar__section{padding:0 4px}.mdc-top-app-bar--dense .mdc-top-app-bar__title{padding-left:12px;padding-right:0}[dir=rtl] .mdc-top-app-bar--dense .mdc-top-app-bar__title,.mdc-top-app-bar--dense .mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:12px}.mdc-top-app-bar--prominent .mdc-top-app-bar__row{height:128px}.mdc-top-app-bar--prominent .mdc-top-app-bar__title{align-self:flex-end;padding-bottom:2px}.mdc-top-app-bar--prominent .mdc-top-app-bar__action-item,.mdc-top-app-bar--prominent .mdc-top-app-bar__navigation-icon{align-self:flex-start}.mdc-top-app-bar--fixed{transition:box-shadow 200ms linear}.mdc-top-app-bar--fixed-scrolled{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2),0px 4px 5px 0px rgba(0, 0, 0, 0.14),0px 1px 10px 0px rgba(0,0,0,.12);transition:box-shadow 200ms linear}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__row{height:96px}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__section{padding:0 12px}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title{padding-left:20px;padding-right:0;padding-bottom:9px}[dir=rtl] .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title,.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title[dir=rtl]{padding-left:0;padding-right:20px}.mdc-top-app-bar--fixed-adjust{padding-top:64px}.mdc-top-app-bar--dense-fixed-adjust{padding-top:48px}.mdc-top-app-bar--short-fixed-adjust{padding-top:56px}.mdc-top-app-bar--prominent-fixed-adjust{padding-top:128px}.mdc-top-app-bar--dense-prominent-fixed-adjust{padding-top:96px}@media(max-width: 599px){.mdc-top-app-bar__row{height:56px}.mdc-top-app-bar__section{padding:4px}.mdc-top-app-bar--short{transition:width 200ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed{transition:width 250ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end{padding-left:0;padding-right:12px}[dir=rtl] .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end,.mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end[dir=rtl]{padding-left:12px;padding-right:0}.mdc-top-app-bar--prominent .mdc-top-app-bar__title{padding-bottom:6px}.mdc-top-app-bar--fixed-adjust{padding-top:56px}}:host{display:block}.mdc-top-app-bar{color:#fff;color:var(--mdc-theme-on-primary, #fff);width:100%;width:var(--mdc-top-app-bar-width, 100%)}.mdc-top-app-bar--prominent #navigation ::slotted(*),.mdc-top-app-bar--prominent #actions ::slotted(*){align-self:flex-start}#navigation ::slotted(*),#actions ::slotted(*){--mdc-icon-button-ripple-opacity: 0.24}.mdc-top-app-bar--short-collapsed #actions ::slotted(*){transition:padding 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-top-app-bar__section--align-center{justify-content:center}.mdc-top-app-bar__section--align-center .mdc-top-app-bar__title{padding-left:0;padding-right:0}.center-title .mdc-top-app-bar__section--align-start,.center-title .mdc-top-app-bar__section--align-end{flex-basis:0}.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__section--align-center .mdc-top-app-bar__title{padding-left:0;padding-right:0}.mdc-top-app-bar--fixed-scrolled{box-shadow:var(--mdc-top-app-bar-fixed-box-shadow, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}`,t=`:host{--mdc-theme-primary: var(--mdc-theme-surface);--mdc-theme-on-primary: var(--mdc-theme-text-primary-on-background)}:host ::slotted(cv-button){--mdc-theme-primary: var(--mdc-theme-primary);--mdc-theme-on-primary: var(--mdc-theme-on-primary)}.mdc-top-app-bar{background:var(--mdc-theme-surface);color:var(--mdc-theme-on-surface)}
6
- `;exports.baseStyles=t;exports.styles=a;
@@ -1,82 +0,0 @@
1
- var c = function(e, t) {
2
- return c = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
3
- n.__proto__ = r;
4
- } || function(n, r) {
5
- for (var a in r)
6
- Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]);
7
- }, c(e, t);
8
- };
9
- function u(e, t) {
10
- if (typeof t != "function" && t !== null)
11
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
12
- c(e, t);
13
- function n() {
14
- this.constructor = e;
15
- }
16
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
17
- }
18
- var f = function() {
19
- return f = Object.assign || function(t) {
20
- for (var n, r = 1, a = arguments.length; r < a; r++) {
21
- n = arguments[r];
22
- for (var o in n)
23
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
24
- }
25
- return t;
26
- }, f.apply(this, arguments);
27
- };
28
- function s(e, t, n, r) {
29
- var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, l;
30
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
31
- o = Reflect.decorate(e, t, n, r);
32
- else
33
- for (var i = e.length - 1; i >= 0; i--)
34
- (l = e[i]) && (o = (a < 3 ? l(o) : a > 3 ? l(t, n, o) : l(t, n)) || o);
35
- return a > 3 && o && Object.defineProperty(t, n, o), o;
36
- }
37
- function p(e) {
38
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
39
- if (n)
40
- return n.call(e);
41
- if (e && typeof e.length == "number")
42
- return {
43
- next: function() {
44
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
45
- }
46
- };
47
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
48
- }
49
- function y(e, t) {
50
- var n = typeof Symbol == "function" && e[Symbol.iterator];
51
- if (!n)
52
- return e;
53
- var r = n.call(e), a, o = [], l;
54
- try {
55
- for (; (t === void 0 || t-- > 0) && !(a = r.next()).done; )
56
- o.push(a.value);
57
- } catch (i) {
58
- l = { error: i };
59
- } finally {
60
- try {
61
- a && !a.done && (n = r.return) && n.call(r);
62
- } finally {
63
- if (l)
64
- throw l.error;
65
- }
66
- }
67
- return o;
68
- }
69
- function _(e, t, n) {
70
- if (n || arguments.length === 2)
71
- for (var r = 0, a = t.length, o; r < a; r++)
72
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
73
- return e.concat(o || Array.prototype.slice.call(t));
74
- }
75
- export {
76
- s as _,
77
- u as a,
78
- f as b,
79
- p as c,
80
- _ as d,
81
- y as e
82
- };
@@ -1,52 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2018 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- const u = (t) => t.nodeType === Node.ELEMENT_NODE;
7
- function v(t) {
8
- return {
9
- addClass: (e) => {
10
- t.classList.add(e);
11
- },
12
- removeClass: (e) => {
13
- t.classList.remove(e);
14
- },
15
- hasClass: (e) => t.classList.contains(e)
16
- };
17
- }
18
- let c = !1;
19
- const a = () => {
20
- }, r = {
21
- get passive() {
22
- return c = !0, !1;
23
- }
24
- };
25
- document.addEventListener("x", a, r);
26
- document.removeEventListener("x", a);
27
- const E = c, l = (t = window.document) => {
28
- let e = t.activeElement;
29
- const s = [];
30
- if (!e)
31
- return s;
32
- for (; e && (s.push(e), e.shadowRoot); )
33
- e = e.shadowRoot.activeElement;
34
- return s;
35
- }, m = (t) => {
36
- const e = l();
37
- if (!e.length)
38
- return !1;
39
- const s = e[e.length - 1], d = new Event("check-if-focused", { bubbles: !0, composed: !0 });
40
- let n = [];
41
- const o = (i) => {
42
- n = i.composedPath();
43
- };
44
- return document.body.addEventListener("check-if-focused", o), s.dispatchEvent(d), document.body.removeEventListener("check-if-focused", o), n.indexOf(t) !== -1;
45
- };
46
- export {
47
- v as a,
48
- m as b,
49
- l as d,
50
- u as i,
51
- E as s
52
- };
File without changes
File without changes