Initial Commit
This commit is contained in:
commit
d4a69c41be
2748 files changed
+80489
No files matched your search
@@ -0,0 +1,3 @@
|
||||
/*! For license information please see 9153.bbd74722bafc3a41.js.LICENSE.txt */
|
||||
export const ids=["9153"];export const modules={80573:function(e,t,r){r.d(t,{K:function(){return i}});var i=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},45228:function(e,t,r){function i(e,t){if(e.closest)return e.closest(t);for(var r=e;r;){if(a(r,t))return r;r=r.parentElement}return null}function a(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}r.d(t,{oq:function(){return i},wB:function(){return a}})},4428:function(e,t,r){function i(e,t,r){if(void 0!==t)return function(e,t,r){const i=e.constructor;if(!r){const e=`__${t}`;if(!(r=i.getPropertyDescriptor(t,e)))throw new Error("@ariaProperty must be used after a @property decorator")}const a=r;let o="";if(!a.set)throw new Error(`@ariaProperty requires a setter for ${t}`);if(e.dispatchWizEvent)return r;const n={configurable:!0,enumerable:!0,set(e){if(""===o){const e=i.getPropertyOptions(t);o="string"==typeof e.attribute?e.attribute:t}this.hasAttribute(o)&&this.removeAttribute(o),a.set.call(this,e)}};return a.get&&(n.get=function(){return a.get.call(this)}),n}(e,t,r);throw new Error("@ariaProperty only supports TypeScript Decorators")}r.d(t,{L:function(){return i}})},11911:function(e,t,r){r.d(t,{H:function(){return o},q:function(){return a.qN}});var i=r(57243),a=r(44491);class o extends i.oi{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},44491:function(e,t,r){r.d(t,{Mh:function(){return d},OE:function(){return i},Vq:function(){return s},WU:function(){return p},qN:function(){return a}});r(92745);const i=e=>e.nodeType===Node.ELEMENT_NODE;function a(e){return{addClass:t=>{e.classList.add(t)},removeClass:t=>{e.classList.remove(t)},hasClass:t=>e.classList.contains(t)}}let o=!1;const n=()=>{},c={get passive(){return o=!0,!1}};document.addEventListener("x",n,c),document.removeEventListener("x",n);const s=o,d=(e=window.document)=>{let t=e.activeElement;const r=[];if(!t)return r;for(;t&&(r.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return r},p=e=>{const t=d();if(!t.length)return!1;const r=t[t.length-1],i=new Event("check-if-focused",{bubbles:!0,composed:!0});let a=[];const o=e=>{a=e.composedPath()};return document.body.addEventListener("check-if-focused",o),r.dispatchEvent(i),document.body.removeEventListener("check-if-focused",o),-1!==a.indexOf(e)}},74269:function(e,t,r){var i=r("9065"),a=r("50778"),o=(r("16060"),r("4428")),n=r("91532"),c=r("57243"),s=r("20552");class d extends c.oi{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new n.A((()=>(this.shouldRenderRipple=!0,this.ripple)))}renderRipple(){return this.shouldRenderRipple?c.dy` <mwc-ripple .disabled="${this.disabled}" unbounded> </mwc-ripple>`:""}focus(){const e=this.buttonElement;e&&(this.rippleHandlers.startFocus(),e.focus())}blur(){const e=this.buttonElement;e&&(this.rippleHandlers.endFocus(),e.blur())}render(){return c.dy`<button class="mdc-icon-button mdc-icon-button--display-flex" aria-label="${this.ariaLabel||this.icon}" aria-haspopup="${(0,s.o)(this.ariaHasPopup)}" ?disabled="${this.disabled}" @focus="${this.handleRippleFocus}" @blur="${this.handleRippleBlur}" @mousedown="${this.handleRippleMouseDown}" @mouseenter="${this.handleRippleMouseEnter}" @mouseleave="${this.handleRippleMouseLeave}" @touchstart="${this.handleRippleTouchStart}" @touchend="${this.handleRippleDeactivate}" @touchcancel="${this.handleRippleDeactivate}">${this.renderRipple()} ${this.icon?c.dy`<i class="material-icons">${this.icon}</i>`:""} <span><slot></slot></span> </button>`}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}(0,i.gn)([(0,a.Cb)({type:Boolean,reflect:!0})],d.prototype,"disabled",void 0),(0,i.gn)([(0,a.Cb)({type:String})],d.prototype,"icon",void 0),(0,i.gn)([o.L,(0,a.Cb)({type:String,attribute:"aria-label"})],d.prototype,"arLine truncated
|
||||
//# sourceMappingURL=9153.bbd74722bafc3a41.js.map
|
||||
Reference in new issue
Block a user