@covalent/components 6.2.1 → 6.2.3

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 (180) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +35 -30
  3. package/alert.js +6 -6
  4. package/alert.mjs +19 -14
  5. package/app-shell.js +8 -8
  6. package/app-shell.mjs +12 -6
  7. package/aria-property-fa2717fe.mjs +41 -0
  8. package/base-element-c3dc926e.mjs +28 -0
  9. package/base-element-d5abe37a.js +5 -0
  10. package/button.js +9 -9
  11. package/button.mjs +25 -16
  12. package/card.js +8 -8
  13. package/card.mjs +17 -15
  14. package/check-list-item.js +9 -9
  15. package/check-list-item.mjs +26 -17
  16. package/checkbox.js +2 -2
  17. package/checkbox.mjs +29 -20
  18. package/circular-progress.js +29 -29
  19. package/circular-progress.mjs +14 -10
  20. package/class-map-08c84aeb.mjs +62 -0
  21. package/class-map-50b8edb4.js +9 -0
  22. package/code-snippet.js +9 -9
  23. package/code-snippet.mjs +10 -7
  24. package/{dialog2.mjs → dialog-85c21333.mjs} +56 -50
  25. package/dialog-8ee07177.js +162 -0
  26. package/dialog.js +1 -1
  27. package/dialog.mjs +14 -162
  28. package/directive-helpers-725a181d.mjs +11 -0
  29. package/directive-helpers-fce8cf91.js +5 -0
  30. package/drawer.js +3 -3
  31. package/drawer.mjs +15 -9
  32. package/empty-state.js +5 -5
  33. package/empty-state.mjs +6 -4
  34. package/event-options-3937d997.mjs +14 -0
  35. package/event-options-7bc382d8.js +5 -0
  36. package/form-element-6dbd7afa.mjs +50 -0
  37. package/{form-element.mjs → form-element-d4e7bcdb.js} +2 -2
  38. package/foundation-2334d146.mjs +60 -0
  39. package/{foundation.mjs → foundation-3f55a9dc.js} +3 -3
  40. package/foundation-c580100a.mjs +152 -0
  41. package/icon-button.js +8 -8
  42. package/icon-button.mjs +25 -16
  43. package/icon-check-toggle.js +9 -9
  44. package/icon-check-toggle.mjs +20 -11
  45. package/icon-radio-toggle.js +5 -5
  46. package/icon-radio-toggle.mjs +34 -25
  47. package/icon.js +2 -2
  48. package/icon.mjs +9 -8
  49. package/if-defined-639ed018.mjs +10 -0
  50. package/if-defined-cb12d481.js +5 -0
  51. package/index.js +1 -1
  52. package/index.mjs +124 -114
  53. package/inert.esm-359d4581.mjs +640 -0
  54. package/linear-progress.js +12 -12
  55. package/linear-progress.mjs +23 -17
  56. package/{list2.mjs → list-d616957b.mjs} +7 -6
  57. package/list-defdaa3b.js +5 -0
  58. package/list-expansion.js +8 -8
  59. package/list-expansion.mjs +43 -34
  60. package/list-item-3fa66f09.js +9 -0
  61. package/list-item-d5c05e10.mjs +44 -0
  62. package/list-item.js +1 -1
  63. package/list-item.mjs +18 -9
  64. package/list.js +1 -1
  65. package/list.mjs +20 -5
  66. package/menu.js +2 -2
  67. package/menu.mjs +29 -20
  68. package/mwc-checkbox-base-10e977f2.mjs +198 -0
  69. package/{mwc-checkbox-base.mjs → mwc-checkbox-base-435c1f1d.js} +6 -6
  70. package/mwc-checkbox.css-956e3d6c.js +5 -0
  71. package/mwc-checkbox.css-b7abc7fd.mjs +10 -0
  72. package/mwc-drawer-base-b2b772c3.mjs +335 -0
  73. package/{mwc-drawer-base.mjs → mwc-drawer-base-f44fcf34.js} +11 -11
  74. package/mwc-icon-b96fb867.js +9 -0
  75. package/mwc-icon-c7013880.mjs +26 -0
  76. package/{mwc-line-ripple-directive.mjs → mwc-line-ripple-directive-a97ce725.js} +16 -16
  77. package/mwc-line-ripple-directive-c3e1f04a.mjs +653 -0
  78. package/mwc-list-base-7d5f7278.js +111 -0
  79. package/mwc-list-base-c0f8af1c.mjs +840 -0
  80. package/mwc-list-item-base-803b9771.js +28 -0
  81. package/mwc-list-item-base-acef0223.mjs +202 -0
  82. package/mwc-list-item.css-401e2407.js +9 -0
  83. package/mwc-list-item.css-b5481d96.mjs +17 -0
  84. package/mwc-menu-base-8970b43d.mjs +1145 -0
  85. package/{mwc-menu-base.mjs → mwc-menu-base-ac49fe54.js} +20 -20
  86. package/{mwc-radio-base.mjs → mwc-radio-base-442d495a.js} +11 -11
  87. package/mwc-radio-base-c29e6f42.mjs +528 -0
  88. package/mwc-radio.css-388ad26d.js +5 -0
  89. package/mwc-radio.css-4694aa9c.mjs +10 -0
  90. package/mwc-slider.css-336f809b.mjs +956 -0
  91. package/{mwc-slider.css.mjs → mwc-slider.css-48f02f1e.js} +20 -20
  92. package/{mwc-tab-base.mjs → mwc-tab-base-1a19b299.js} +22 -22
  93. package/mwc-tab-base-7fb3d339.mjs +694 -0
  94. package/{mwc-top-app-bar-base.mjs → mwc-top-app-bar-base-14e0a018.js} +10 -10
  95. package/mwc-top-app-bar-base-79c87e69.mjs +380 -0
  96. package/nav-list-item.js +10 -10
  97. package/nav-list-item.mjs +36 -28
  98. package/{observer.mjs → observer-a096ab43.js} +1 -1
  99. package/observer-be7b92e2.mjs +32 -0
  100. package/package.json +1 -1
  101. package/property-074570d1.js +5 -0
  102. package/property-ca27685b.mjs +20 -0
  103. package/query-1e7846ea.mjs +25 -0
  104. package/query-2ba749b7.js +5 -0
  105. package/query-assigned-elements-07e38f46.js +33 -0
  106. package/query-assigned-elements-514e5265.mjs +615 -0
  107. package/query-assigned-nodes-9ec0fa5f.js +5 -0
  108. package/query-assigned-nodes-bea12e0c.mjs +17 -0
  109. package/radio-list-item.js +10 -10
  110. package/radio-list-item.mjs +33 -24
  111. package/radio.js +2 -2
  112. package/radio.mjs +28 -19
  113. package/ripple-handlers-2176f137.js +107 -0
  114. package/ripple-handlers-227497d3.mjs +761 -0
  115. package/select.js +28 -28
  116. package/select.mjs +31 -21
  117. package/side-sheet.js +4 -4
  118. package/side-sheet.mjs +14 -8
  119. package/slider-range.js +7 -7
  120. package/slider-range.mjs +72 -64
  121. package/slider.js +3 -3
  122. package/slider.mjs +29 -21
  123. package/snackbar.js +15 -15
  124. package/snackbar.mjs +27 -21
  125. package/state-6f7e570d.mjs +12 -0
  126. package/state-949232e6.js +5 -0
  127. package/status-header-item.js +4 -4
  128. package/status-header-item.mjs +14 -13
  129. package/status-header.js +6 -6
  130. package/status-header.mjs +9 -7
  131. package/style-map-2cb0fb63.mjs +40 -0
  132. package/style-map-3056a771.js +5 -0
  133. package/switch.js +18 -18
  134. package/switch.mjs +31 -22
  135. package/tab-bar.js +21 -21
  136. package/tab-bar.mjs +23 -14
  137. package/tab.js +3 -3
  138. package/tab.mjs +15 -6
  139. package/text-lockup.js +5 -5
  140. package/text-lockup.mjs +8 -6
  141. package/textarea.js +14 -14
  142. package/textarea.mjs +28 -20
  143. package/{textfield2.mjs → textfield-276b0ded.mjs} +28 -21
  144. package/textfield-507c6a06.js +133 -0
  145. package/textfield.js +3 -3
  146. package/textfield.mjs +41 -132
  147. package/toolbar.js +3 -3
  148. package/toolbar.mjs +10 -4
  149. package/tooltip.js +12 -12
  150. package/tooltip.mjs +13 -9
  151. package/top-app-bar-34e85527.js +6 -0
  152. package/{top-app-bar2.mjs → top-app-bar-a236c3bc.mjs} +1 -1
  153. package/top-app-bar-fixed.js +5 -5
  154. package/top-app-bar-fixed.mjs +29 -23
  155. package/top-app-bar.js +3 -3
  156. package/top-app-bar.mjs +30 -6
  157. package/tree-list-item.js +8 -8
  158. package/tree-list-item.mjs +5 -3
  159. package/tree-list.js +3 -3
  160. package/tree-list.mjs +4 -4
  161. package/tslib.es6-6b53b818.js +1 -0
  162. package/tslib.es6-b5e819a6.mjs +82 -0
  163. package/typography.js +4 -4
  164. package/typography.mjs +12 -11
  165. package/utils-a8190a39.js +5 -0
  166. package/utils-dc65fdc9.mjs +52 -0
  167. package/directive-helpers.mjs +0 -5
  168. package/if-defined.mjs +0 -5
  169. package/list-item2.mjs +0 -43
  170. package/mwc-checkbox.css.mjs +0 -5
  171. package/mwc-icon.mjs +0 -9
  172. package/mwc-list-base.mjs +0 -111
  173. package/mwc-list-item-base.mjs +0 -28
  174. package/mwc-list-item.css.mjs +0 -9
  175. package/mwc-radio.css.mjs +0 -5
  176. package/mwc-ripple.mjs +0 -175
  177. package/ripple-handlers.mjs +0 -5
  178. /package/{aria-property.mjs → aria-property-849c8816.js} +0 -0
  179. /package/{foundation2.mjs → foundation-e830bd94.js} +0 -0
  180. /package/{inert.esm.mjs → inert.esm-2cee6f2e.js} +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./mwc-ripple.mjs");require("./inert.esm.mjs");const C=require("./observer.mjs");/**
1
+ "use strict";const r=require("./tslib.es6-6b53b818.js");require("./inert.esm-2cee6f2e.js");const E=require("./base-element-d5abe37a.js"),O=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-07e38f46.js"),l=require("./property-074570d1.js"),f=require("./query-2ba749b7.js"),b=require("./class-map-50b8edb4.js"),F=require("./utils-a8190a39.js");/**
2
2
  * @license
3
3
  * Copyright 2016 Google Inc.
4
4
  *
@@ -19,7 +19,7 @@
19
19
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  * THE SOFTWARE.
22
- */var s={ANIMATE:"mdc-drawer--animate",CLOSING:"mdc-drawer--closing",DISMISSIBLE:"mdc-drawer--dismissible",MODAL:"mdc-drawer--modal",OPEN:"mdc-drawer--open",OPENING:"mdc-drawer--opening",ROOT:"mdc-drawer"},c={APP_CONTENT_SELECTOR:".mdc-drawer-app-content",CLOSE_EVENT:"MDCDrawer:closed",OPEN_EVENT:"MDCDrawer:opened",SCRIM_SELECTOR:".mdc-drawer-scrim",LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",LIST_ITEM_ACTIVATED_SELECTOR:".mdc-list-item--activated,.mdc-deprecated-list-item--activated"};/**
22
+ */var s={ANIMATE:"mdc-drawer--animate",CLOSING:"mdc-drawer--closing",DISMISSIBLE:"mdc-drawer--dismissible",MODAL:"mdc-drawer--modal",OPEN:"mdc-drawer--open",OPENING:"mdc-drawer--opening",ROOT:"mdc-drawer"},u={APP_CONTENT_SELECTOR:".mdc-drawer-app-content",CLOSE_EVENT:"MDCDrawer:closed",OPEN_EVENT:"MDCDrawer:opened",SCRIM_SELECTOR:".mdc-drawer-scrim",LIST_SELECTOR:".mdc-list,.mdc-deprecated-list",LIST_ITEM_ACTIVATED_SELECTOR:".mdc-list-item--activated,.mdc-deprecated-list-item--activated"};/**
23
23
  * @license
24
24
  * Copyright 2016 Google Inc.
25
25
  *
@@ -40,7 +40,7 @@
40
40
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
41
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
42
  * THE SOFTWARE.
43
- */var v=function(){function i(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(i,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),i.prototype.init=function(){},i.prototype.destroy=function(){},i}();/**
43
+ */var _=function(){function n(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(n,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(n,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),n.prototype.init=function(){},n.prototype.destroy=function(){},n}();/**
44
44
  * @license
45
45
  * Copyright 2018 Google Inc.
46
46
  *
@@ -61,7 +61,7 @@
61
61
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
62
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
63
  * THE SOFTWARE.
64
- */var p=function(i){t.__extends(e,i);function e(n){var r=i.call(this,t.__assign(t.__assign({},e.defaultAdapter),n))||this;return r.animationFrame=0,r.animationTimer=0,r}return Object.defineProperty(e,"strings",{get:function(){return c},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},elementHasClass:function(){return!1},notifyClose:function(){},notifyOpen:function(){},saveFocus:function(){},restoreFocus:function(){},focusActiveNavigationItem:function(){},trapFocus:function(){},releaseFocus:function(){}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame),this.animationTimer&&clearTimeout(this.animationTimer)},e.prototype.open=function(){var n=this;this.isOpen()||this.isOpening()||this.isClosing()||(this.adapter.addClass(s.OPEN),this.adapter.addClass(s.ANIMATE),this.runNextAnimationFrame(function(){n.adapter.addClass(s.OPENING)}),this.adapter.saveFocus())},e.prototype.close=function(){!this.isOpen()||this.isOpening()||this.isClosing()||this.adapter.addClass(s.CLOSING)},e.prototype.isOpen=function(){return this.adapter.hasClass(s.OPEN)},e.prototype.isOpening=function(){return this.adapter.hasClass(s.OPENING)||this.adapter.hasClass(s.ANIMATE)},e.prototype.isClosing=function(){return this.adapter.hasClass(s.CLOSING)},e.prototype.handleKeydown=function(n){var r=n.keyCode,o=n.key,d=o==="Escape"||r===27;d&&this.close()},e.prototype.handleTransitionEnd=function(n){var r=s.OPENING,o=s.CLOSING,d=s.OPEN,m=s.ANIMATE,f=s.ROOT,h=this.isElement(n.target)&&this.adapter.elementHasClass(n.target,f);h&&(this.isClosing()?(this.adapter.removeClass(d),this.closed(),this.adapter.restoreFocus(),this.adapter.notifyClose()):(this.adapter.focusActiveNavigationItem(),this.opened(),this.adapter.notifyOpen()),this.adapter.removeClass(m),this.adapter.removeClass(r),this.adapter.removeClass(o))},e.prototype.opened=function(){},e.prototype.closed=function(){},e.prototype.runNextAnimationFrame=function(n){var r=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame(function(){r.animationFrame=0,clearTimeout(r.animationTimer),r.animationTimer=setTimeout(n,0)})},e.prototype.isElement=function(n){return Boolean(n.classList)},e}(v);const y=p;/**
64
+ */var h=function(n){r.__extends(e,n);function e(t){var i=n.call(this,r.__assign(r.__assign({},e.defaultAdapter),t))||this;return i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(e,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},elementHasClass:function(){return!1},notifyClose:function(){},notifyOpen:function(){},saveFocus:function(){},restoreFocus:function(){},focusActiveNavigationItem:function(){},trapFocus:function(){},releaseFocus:function(){}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame),this.animationTimer&&clearTimeout(this.animationTimer)},e.prototype.open=function(){var t=this;this.isOpen()||this.isOpening()||this.isClosing()||(this.adapter.addClass(s.OPEN),this.adapter.addClass(s.ANIMATE),this.runNextAnimationFrame(function(){t.adapter.addClass(s.OPENING)}),this.adapter.saveFocus())},e.prototype.close=function(){!this.isOpen()||this.isOpening()||this.isClosing()||this.adapter.addClass(s.CLOSING)},e.prototype.isOpen=function(){return this.adapter.hasClass(s.OPEN)},e.prototype.isOpening=function(){return this.adapter.hasClass(s.OPENING)||this.adapter.hasClass(s.ANIMATE)},e.prototype.isClosing=function(){return this.adapter.hasClass(s.CLOSING)},e.prototype.handleKeydown=function(t){var i=t.keyCode,o=t.key,d=o==="Escape"||i===27;d&&this.close()},e.prototype.handleTransitionEnd=function(t){var i=s.OPENING,o=s.CLOSING,d=s.OPEN,C=s.ANIMATE,y=s.ROOT,v=this.isElement(t.target)&&this.adapter.elementHasClass(t.target,y);v&&(this.isClosing()?(this.adapter.removeClass(d),this.closed(),this.adapter.restoreFocus(),this.adapter.notifyClose()):(this.adapter.focusActiveNavigationItem(),this.opened(),this.adapter.notifyOpen()),this.adapter.removeClass(C),this.adapter.removeClass(i),this.adapter.removeClass(o))},e.prototype.opened=function(){},e.prototype.closed=function(){},e.prototype.runNextAnimationFrame=function(t){var i=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame(function(){i.animationFrame=0,clearTimeout(i.animationTimer),i.animationTimer=setTimeout(t,0)})},e.prototype.isElement=function(t){return Boolean(t.classList)},e}(_);const g=h;/**
65
65
  * @license
66
66
  * Copyright 2018 Google Inc.
67
67
  *
@@ -82,24 +82,24 @@
82
82
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
83
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
84
84
  * THE SOFTWARE.
85
- */var E=function(i){t.__extends(e,i);function e(){return i!==null&&i.apply(this,arguments)||this}return e.prototype.handleScrimClick=function(){this.close()},e.prototype.opened=function(){this.adapter.trapFocus()},e.prototype.closed=function(){this.adapter.releaseFocus()},e}(p);const u=E;/**
85
+ */var N=function(n){r.__extends(e,n);function e(){return n!==null&&n.apply(this,arguments)||this}return e.prototype.handleScrimClick=function(){this.close()},e.prototype.opened=function(){this.adapter.trapFocus()},e.prototype.closed=function(){this.adapter.releaseFocus()},e}(h);const p=N;/**
86
86
  * @license
87
87
  * Copyright 2018 Google LLC
88
88
  * SPDX-License-Identifier: Apache-2.0
89
- */const l=document.$blockingElements;class a extends t.BaseElement{constructor(){super(...arguments),this._previousFocus=null,this.open=!1,this.hasHeader=!1,this.type=""}get mdcFoundationClass(){return this.type==="modal"?u:y}createAdapter(){return Object.assign(Object.assign({},t.addHasRemoveClass(this.mdcRoot)),{elementHasClass:(e,n)=>e.classList.contains(n),saveFocus:()=>{this._previousFocus=this.getRootNode().activeElement},restoreFocus:()=>{this._previousFocus&&this._previousFocus.focus&&this._previousFocus.focus()},notifyClose:()=>{this.open=!1,this.dispatchEvent(new Event(c.CLOSE_EVENT,{bubbles:!0,cancelable:!0}))},notifyOpen:()=>{this.open=!0,this.dispatchEvent(new Event(c.OPEN_EVENT,{bubbles:!0,cancelable:!0}))},focusActiveNavigationItem:()=>{},trapFocus:()=>{l.push(this),this.appContent.inert=!0},releaseFocus:()=>{l.remove(this),this.appContent.inert=!1}})}_handleScrimClick(){this.mdcFoundation instanceof u&&this.mdcFoundation.handleScrimClick()}render(){const e=this.type==="dismissible"||this.type==="modal",n=this.type==="modal",r=this.hasHeader?t.y`
89
+ */const m=document.$blockingElements;class a extends E.BaseElement{constructor(){super(...arguments),this._previousFocus=null,this.open=!1,this.hasHeader=!1,this.type=""}get mdcFoundationClass(){return this.type==="modal"?p:g}createAdapter(){return Object.assign(Object.assign({},F.addHasRemoveClass(this.mdcRoot)),{elementHasClass:(e,t)=>e.classList.contains(t),saveFocus:()=>{this._previousFocus=this.getRootNode().activeElement},restoreFocus:()=>{this._previousFocus&&this._previousFocus.focus&&this._previousFocus.focus()},notifyClose:()=>{this.open=!1,this.dispatchEvent(new Event(u.CLOSE_EVENT,{bubbles:!0,cancelable:!0}))},notifyOpen:()=>{this.open=!0,this.dispatchEvent(new Event(u.OPEN_EVENT,{bubbles:!0,cancelable:!0}))},focusActiveNavigationItem:()=>{},trapFocus:()=>{m.push(this),this.appContent.inert=!0},releaseFocus:()=>{m.remove(this),this.appContent.inert=!1}})}_handleScrimClick(){this.mdcFoundation instanceof p&&this.mdcFoundation.handleScrimClick()}render(){const e=this.type==="dismissible"||this.type==="modal",t=this.type==="modal",i=this.hasHeader?c.y`
90
90
  <div class="mdc-drawer__header">
91
91
  <h3 class="mdc-drawer__title"><slot name="title"></slot></h3>
92
92
  <h6 class="mdc-drawer__subtitle"><slot name="subtitle"></slot></h6>
93
93
  <slot name="header"></slot>
94
94
  </div>
95
- `:"",o={"mdc-drawer--dismissible":e,"mdc-drawer--modal":n};return t.y`
96
- <aside class="mdc-drawer ${t.o(o)}">
97
- ${r}
95
+ `:"",o={"mdc-drawer--dismissible":e,"mdc-drawer--modal":t};return c.y`
96
+ <aside class="mdc-drawer ${b.o(o)}">
97
+ ${i}
98
98
  <div class="mdc-drawer__content"><slot></slot></div>
99
99
  </aside>
100
- ${n?t.y`<div class="mdc-drawer-scrim"
100
+ ${t?c.y`<div class="mdc-drawer-scrim"
101
101
  @click="${this._handleScrimClick}"></div>`:""}
102
102
  <div class="mdc-drawer-app-content">
103
103
  <slot name="appContent"></slot>
104
104
  </div>
105
- `}firstUpdated(){this.mdcRoot.addEventListener("keydown",e=>this.mdcFoundation.handleKeydown(e)),this.mdcRoot.addEventListener("transitionend",e=>this.mdcFoundation.handleTransitionEnd(e))}updated(e){e.has("type")&&this.createFoundation()}}t.__decorate([t.i(".mdc-drawer")],a.prototype,"mdcRoot",void 0);t.__decorate([t.i(".mdc-drawer-app-content")],a.prototype,"appContent",void 0);t.__decorate([C.observer(function(i){this.type!==""&&(i?this.mdcFoundation.open():this.mdcFoundation.close())}),t.e({type:Boolean,reflect:!0})],a.prototype,"open",void 0);t.__decorate([t.e({type:Boolean})],a.prototype,"hasHeader",void 0);t.__decorate([t.e({reflect:!0})],a.prototype,"type",void 0);exports.DrawerBase=a;
105
+ `}firstUpdated(){this.mdcRoot.addEventListener("keydown",e=>this.mdcFoundation.handleKeydown(e)),this.mdcRoot.addEventListener("transitionend",e=>this.mdcFoundation.handleTransitionEnd(e))}updated(e){e.has("type")&&this.createFoundation()}}r.__decorate([f.i(".mdc-drawer")],a.prototype,"mdcRoot",void 0);r.__decorate([f.i(".mdc-drawer-app-content")],a.prototype,"appContent",void 0);r.__decorate([O.observer(function(n){this.type!==""&&(n?this.mdcFoundation.open():this.mdcFoundation.close())}),l.e({type:Boolean,reflect:!0})],a.prototype,"open",void 0);r.__decorate([l.e({type:Boolean})],a.prototype,"hasHeader",void 0);r.__decorate([l.e({reflect:!0})],a.prototype,"type",void 0);exports.DrawerBase=a;
@@ -0,0 +1,9 @@
1
+ "use strict";const n=require("./tslib.es6-6b53b818.js"),e=require("./query-assigned-elements-07e38f46.js");/**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-LIcense-Identifier: Apache-2.0
5
+ */const t=e.i`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`;/**
6
+ * @license
7
+ * Copyright 2018 Google LLC
8
+ * SPDX-License-Identifier: Apache-2.0
9
+ */exports.Icon=class extends e.s{render(){return e.y`<span><slot></slot></span>`}};exports.Icon.styles=[t];exports.Icon=n.__decorate([e.e("mwc-icon")],exports.Icon);
@@ -0,0 +1,26 @@
1
+ import { _ as o } from "./tslib.es6-b5e819a6.mjs";
2
+ import { i as n, s as e, y as i, e as s } from "./query-assigned-elements-514e5265.mjs";
3
+ /**
4
+ * @license
5
+ * Copyright 2021 Google LLC
6
+ * SPDX-LIcense-Identifier: Apache-2.0
7
+ */
8
+ const r = n`:host{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}`;
9
+ /**
10
+ * @license
11
+ * Copyright 2018 Google LLC
12
+ * SPDX-License-Identifier: Apache-2.0
13
+ */
14
+ let t = class extends e {
15
+ /** @soyTemplate */
16
+ render() {
17
+ return i`<span><slot></slot></span>`;
18
+ }
19
+ };
20
+ t.styles = [r];
21
+ t = o([
22
+ s("mwc-icon")
23
+ ], t);
24
+ export {
25
+ t as I
26
+ };
@@ -1,4 +1,4 @@
1
- "use strict";const o=require("./mwc-ripple.mjs");/**
1
+ "use strict";const o=require("./tslib.es6-6b53b818.js"),c=require("./query-assigned-elements-07e38f46.js"),m=require("./base-element-d5abe37a.js"),p=require("./property-074570d1.js"),h=require("./query-2ba749b7.js"),i=require("./class-map-50b8edb4.js");/**
2
2
  * @license
3
3
  * Copyright 2016 Google Inc.
4
4
  *
@@ -19,7 +19,7 @@
19
19
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  * THE SOFTWARE.
22
- */var u=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
22
+ */var b=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
23
23
  * @license
24
24
  * Copyright 2018 Google Inc.
25
25
  *
@@ -40,7 +40,7 @@
40
40
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
41
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
42
  * THE SOFTWARE.
43
- */var p={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},l={NOTCH_ELEMENT_PADDING:8},h={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"};/**
43
+ */var g={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},u={NOTCH_ELEMENT_PADDING:8},_={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"};/**
44
44
  * @license
45
45
  * Copyright 2017 Google Inc.
46
46
  *
@@ -61,26 +61,26 @@
61
61
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
62
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
63
  * THE SOFTWARE.
64
- */var f=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.notch=function(n){var r=e.cssClasses.OUTLINE_NOTCHED;n>0&&(n+=l.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(n),this.adapter.addClass(r)},e.prototype.closeNotch=function(){var n=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(n),this.adapter.removeNotchWidthProperty()},e}(u);/**
64
+ */var E=function(t){o.__extends(e,t);function e(n){return t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this}return Object.defineProperty(e,"strings",{get:function(){return g},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},setNotchWidthProperty:function(){},removeNotchWidthProperty:function(){}}},enumerable:!1,configurable:!0}),e.prototype.notch=function(n){var r=e.cssClasses.OUTLINE_NOTCHED;n>0&&(n+=u.NOTCH_ELEMENT_PADDING),this.adapter.setNotchWidthProperty(n),this.adapter.addClass(r)},e.prototype.closeNotch=function(){var n=e.cssClasses.OUTLINE_NOTCHED;this.adapter.removeClass(n),this.adapter.removeNotchWidthProperty()},e}(b);/**
65
65
  * @license
66
66
  * Copyright 2019 Google LLC
67
67
  * SPDX-License-Identifier: Apache-2.0
68
- */class a extends o.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=f,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=o.o({"mdc-notched-outline--notched":this.open});return o.y`
68
+ */class s extends m.BaseElement{constructor(){super(...arguments),this.mdcFoundationClass=E,this.width=0,this.open=!1,this.lastOpen=this.open}createAdapter(){return{addClass:e=>this.mdcRoot.classList.add(e),removeClass:e=>this.mdcRoot.classList.remove(e),setNotchWidthProperty:e=>this.notchElement.style.setProperty("width",`${e}px`),removeNotchWidthProperty:()=>this.notchElement.style.removeProperty("width")}}openOrClose(e,n){this.mdcFoundation&&(e&&n!==void 0?this.mdcFoundation.notch(n):this.mdcFoundation.closeNotch())}render(){this.openOrClose(this.open,this.width);const e=i.o({"mdc-notched-outline--notched":this.open});return c.y`
69
69
  <span class="mdc-notched-outline ${e}">
70
70
  <span class="mdc-notched-outline__leading"></span>
71
71
  <span class="mdc-notched-outline__notch">
72
72
  <slot></slot>
73
73
  </span>
74
74
  <span class="mdc-notched-outline__trailing"></span>
75
- </span>`}}o.__decorate([o.i(".mdc-notched-outline")],a.prototype,"mdcRoot",void 0);o.__decorate([o.e({type:Number})],a.prototype,"width",void 0);o.__decorate([o.e({type:Boolean,reflect:!0})],a.prototype,"open",void 0);o.__decorate([o.i(".mdc-notched-outline__notch")],a.prototype,"notchElement",void 0);/**
75
+ </span>`}}o.__decorate([h.i(".mdc-notched-outline")],s.prototype,"mdcRoot",void 0);o.__decorate([p.e({type:Number})],s.prototype,"width",void 0);o.__decorate([p.e({type:Boolean,reflect:!0})],s.prototype,"open",void 0);o.__decorate([h.i(".mdc-notched-outline__notch")],s.prototype,"notchElement",void 0);/**
76
76
  * @license
77
77
  * Copyright 2021 Google LLC
78
78
  * SPDX-LIcense-Identifier: Apache-2.0
79
- */const m=o.i$1`.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}`;/**
79
+ */const v=c.i`.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(100% / 0.75)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}:host{display:block;position:absolute;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] :host,:host([dir=rtl]){text-align:right}::slotted(.mdc-floating-label){display:inline-block;position:relative;top:17px;bottom:auto;max-width:100%}::slotted(.mdc-floating-label--float-above){text-overflow:clip}.mdc-notched-outline--upgraded ::slotted(.mdc-floating-label--float-above){max-width:calc(100% / 0.75)}.mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__leading,.mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px)) * 2)}}.mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-color:var(--mdc-notched-outline-border-color, var(--mdc-theme-primary, #6200ee));border-width:1px;border-width:var(--mdc-notched-outline-stroke-width, 1px)}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0;padding-top:var(--mdc-notched-outline-notch-offset, 0)}`;/**
80
80
  * @license
81
81
  * Copyright 2019 Google LLC
82
82
  * SPDX-License-Identifier: Apache-2.0
83
- */let s=class extends a{};s.styles=[m];s=o.__decorate([o.e$1("mwc-notched-outline")],s);/**
83
+ */let l=class extends s{};l.styles=[v];l=o.__decorate([c.e("mwc-notched-outline")],l);/**
84
84
  * @license
85
85
  * Copyright 2016 Google Inc.
86
86
  *
@@ -101,7 +101,7 @@
101
101
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
102
102
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
103
103
  * THE SOFTWARE.
104
- */var b=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
104
+ */var y=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
105
105
  * @license
106
106
  * Copyright 2016 Google Inc.
107
107
  *
@@ -122,7 +122,7 @@
122
122
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
123
123
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
124
124
  * THE SOFTWARE.
125
- */var g={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"};/**
125
+ */var L={LABEL_FLOAT_ABOVE:"mdc-floating-label--float-above",LABEL_REQUIRED:"mdc-floating-label--required",LABEL_SHAKE:"mdc-floating-label--shake",ROOT:"mdc-floating-label"};/**
126
126
  * @license
127
127
  * Copyright 2016 Google Inc.
128
128
  *
@@ -143,11 +143,11 @@
143
143
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
144
144
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
145
145
  * THE SOFTWARE.
146
- */var _=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.shakeAnimationEndHandler=function(){r.handleShakeAnimationEnd()},r}return Object.defineProperty(e,"cssClasses",{get:function(){return g},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(n){var r=e.cssClasses.LABEL_SHAKE;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.float=function(n){var r=e.cssClasses,i=r.LABEL_FLOAT_ABOVE,c=r.LABEL_SHAKE;n?this.adapter.addClass(i):(this.adapter.removeClass(i),this.adapter.removeClass(c))},e.prototype.setRequired=function(n){var r=e.cssClasses.LABEL_REQUIRED;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleShakeAnimationEnd=function(){var n=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(n)},e}(b);/**
146
+ */var C=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.shakeAnimationEndHandler=function(){r.handleShakeAnimationEnd()},r}return Object.defineProperty(e,"cssClasses",{get:function(){return L},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},e.prototype.getWidth=function(){return this.adapter.getWidth()},e.prototype.shake=function(n){var r=e.cssClasses.LABEL_SHAKE;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.float=function(n){var r=e.cssClasses,d=r.LABEL_FLOAT_ABOVE,f=r.LABEL_SHAKE;n?this.adapter.addClass(d):(this.adapter.removeClass(d),this.adapter.removeClass(f))},e.prototype.setRequired=function(n){var r=e.cssClasses.LABEL_REQUIRED;n?this.adapter.addClass(r):this.adapter.removeClass(r)},e.prototype.handleShakeAnimationEnd=function(){var n=e.cssClasses.LABEL_SHAKE;this.adapter.removeClass(n)},e}(y);/**
147
147
  * @license
148
148
  * Copyright 2018 Google LLC
149
149
  * SPDX-License-Identifier: Apache-2.0
150
- */const v=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,n)=>{t.addEventListener(e,n)},deregisterInteractionHandler:(e,n)=>{t.removeEventListener(e,n)}});class E extends o.i$3{constructor(e){switch(super(e),this.foundation=null,this.previousPart=null,e.type){case o.t$1.ATTRIBUTE:case o.t$1.PROPERTY:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(e,[n]){if(e!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-floating-label");const i=v(r);this.foundation=new _(i),this.foundation.init()}return this.render(n)}render(e){return this.foundation}}const y=o.e$4(E);/**
150
+ */const x=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),getWidth:()=>t.scrollWidth,registerInteractionHandler:(e,n)=>{t.addEventListener(e,n)},deregisterInteractionHandler:(e,n)=>{t.removeEventListener(e,n)}});class A extends i.i{constructor(e){switch(super(e),this.foundation=null,this.previousPart=null,e.type){case i.t.ATTRIBUTE:case i.t.PROPERTY:break;default:throw new Error("FloatingLabel directive only support attribute and property parts")}}update(e,[n]){if(e!==this.previousPart){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-floating-label");const d=x(r);this.foundation=new C(d),this.foundation.init()}return this.render(n)}render(e){return this.foundation}}const P=i.e(A);/**
151
151
  * @license
152
152
  * Copyright 2016 Google Inc.
153
153
  *
@@ -168,7 +168,7 @@
168
168
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
169
169
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
170
170
  * THE SOFTWARE.
171
- */var L=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
171
+ */var O=function(){function t(e){e===void 0&&(e={}),this.adapter=e}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}();/**
172
172
  * @license
173
173
  * Copyright 2018 Google Inc.
174
174
  *
@@ -189,7 +189,7 @@
189
189
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
190
190
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
191
191
  * THE SOFTWARE.
192
- */var d={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"};/**
192
+ */var a={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"mdc-line-ripple--deactivating"};/**
193
193
  * @license
194
194
  * Copyright 2018 Google Inc.
195
195
  *
@@ -210,8 +210,8 @@
210
210
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
211
211
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
212
212
  * THE SOFTWARE.
213
- */var C=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.transitionEndHandler=function(i){r.handleTransitionEnd(i)},r}return Object.defineProperty(e,"cssClasses",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(d.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(d.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(n){this.adapter.setStyle("transform-origin",n+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(d.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(n){var r=this.adapter.hasClass(d.LINE_RIPPLE_DEACTIVATING);n.propertyName==="opacity"&&r&&(this.adapter.removeClass(d.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(d.LINE_RIPPLE_DEACTIVATING))},e}(L);/**
213
+ */var N=function(t){o.__extends(e,t);function e(n){var r=t.call(this,o.__assign(o.__assign({},e.defaultAdapter),n))||this;return r.transitionEndHandler=function(d){r.handleTransitionEnd(d)},r}return Object.defineProperty(e,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setStyle:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.adapter.registerEventHandler("transitionend",this.transitionEndHandler)},e.prototype.destroy=function(){this.adapter.deregisterEventHandler("transitionend",this.transitionEndHandler)},e.prototype.activate=function(){this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING),this.adapter.addClass(a.LINE_RIPPLE_ACTIVE)},e.prototype.setRippleCenter=function(n){this.adapter.setStyle("transform-origin",n+"px center")},e.prototype.deactivate=function(){this.adapter.addClass(a.LINE_RIPPLE_DEACTIVATING)},e.prototype.handleTransitionEnd=function(n){var r=this.adapter.hasClass(a.LINE_RIPPLE_DEACTIVATING);n.propertyName==="opacity"&&r&&(this.adapter.removeClass(a.LINE_RIPPLE_ACTIVE),this.adapter.removeClass(a.LINE_RIPPLE_DEACTIVATING))},e}(O);/**
214
214
  * @license
215
215
  * Copyright 2019 Google LLC
216
216
  * SPDX-License-Identifier: Apache-2.0
217
- */const x=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,n)=>t.style.setProperty(e,n),registerEventHandler:(e,n)=>{t.addEventListener(e,n)},deregisterEventHandler:(e,n)=>{t.removeEventListener(e,n)}});class A extends o.i$3{constructor(e){switch(super(e),this.previousPart=null,this.foundation=null,e.type){case o.t$1.ATTRIBUTE:case o.t$1.PROPERTY:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(e,n){if(this.previousPart!==e){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-line-ripple");const i=x(r);this.foundation=new C(i),this.foundation.init()}return this.render()}render(){return this.foundation}}const P=o.e$4(A);exports.floatingLabel=y;exports.lineRipple=P;
217
+ */const I=t=>({addClass:e=>t.classList.add(e),removeClass:e=>t.classList.remove(e),hasClass:e=>t.classList.contains(e),setStyle:(e,n)=>t.style.setProperty(e,n),registerEventHandler:(e,n)=>{t.addEventListener(e,n)},deregisterEventHandler:(e,n)=>{t.removeEventListener(e,n)}});class T extends i.i{constructor(e){switch(super(e),this.previousPart=null,this.foundation=null,e.type){case i.t.ATTRIBUTE:case i.t.PROPERTY:return;default:throw new Error("LineRipple only support attribute and property parts.")}}update(e,n){if(this.previousPart!==e){this.foundation&&this.foundation.destroy(),this.previousPart=e;const r=e.element;r.classList.add("mdc-line-ripple");const d=I(r);this.foundation=new N(d),this.foundation.init()}return this.render()}render(){return this.foundation}}const D=i.e(T);exports.floatingLabel=P;exports.lineRipple=D;