-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path35-es2015.725d74ea5e49e99e4779.js
1 lines (1 loc) · 6.78 KB
/
35-es2015.725d74ea5e49e99e4779.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{Q1uX:function(t,i,r){"use strict";r.r(i),r.d(i,"ion_card",(function(){return e})),r.d(i,"ion_card_content",(function(){return a})),r.d(i,"ion_card_header",(function(){return s})),r.d(i,"ion_card_subtitle",(function(){return c})),r.d(i,"ion_card_title",(function(){return d}));var n=r("dSyh"),o=(r("AfW+"),r("Dl6n"));const e=class{constructor(t){Object(n.l)(this,t),this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}isClickable(){return void 0!==this.href||this.button}renderCard(t){const i=this.isClickable();if(!i)return[Object(n.i)("slot",null)];const{href:r,routerDirection:e}=this,a=i?void 0===r?"button":"a":"div",s="button"===a?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return Object(n.i)(a,Object.assign({},s,{class:"card-native",disabled:this.disabled,onClick:t=>Object(o.d)(r,t,e)}),Object(n.i)("slot",null),i&&"md"===t&&Object(n.i)("ion-ripple-effect",null))}render(){const t=Object(n.e)(this);return Object(n.i)(n.a,{class:Object.assign(Object.assign({[t]:!0},Object(o.a)(this.color)),{"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(t))}static get style(){return".sc-ion-card-md-h{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family,inherit);overflow:hidden}.ion-color.sc-ion-card-md-h{background:var(--ion-color-base)}.ion-color.sc-ion-card-md-h, .sc-ion-card-md-h.ion-color.sc-ion-card-md-s ion-card-header , .sc-ion-card-md-h.ion-color.sc-ion-card-md-s ion-card-subtitle , .sc-ion-card-md-h.ion-color.sc-ion-card-md-s ion-card-title {color:var(--ion-color-contrast)}.sc-ion-card-md-s img {display:block;width:100%}.sc-ion-card-md-s ion-list {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.card-disabled.sc-ion-card-md-h{cursor:default;opacity:.3;pointer-events:none}.card-native.sc-ion-card-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background)}.card-native.sc-ion-card-md::-moz-focus-inner{border:0}a.sc-ion-card-md, button.sc-ion-card-md{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect.sc-ion-card-md{color:var(--ripple-color)}.sc-ion-card-md-h{--background:var(--ion-item-background,transparent);--color:var(--ion-color-step-550,#737373);margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.sc-ion-card-md-h{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}"}},a=class{constructor(t){Object(n.l)(this,t)}render(){const t=Object(n.e)(this);return Object(n.i)(n.a,{class:{[t]:!0,[`card-content-${t}`]:!0}})}static get style(){return"ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:400}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:400}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:400}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:400;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"}},s=class{constructor(t){Object(n.l)(this,t),this.translucent=!1}render(){const t=Object(n.e)(this);return Object(n.i)(n.a,{class:Object.assign(Object.assign({},Object(o.a)(this.color)),{"card-header-translucent":this.translucent,[t]:!0})},Object(n.i)("slot",null))}static get style(){return":host{display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) ::slotted(ion-card-subtitle),:host(.ion-color) ::slotted(ion-card-title){color:currentColor}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-subtitle:not(:first-child)),::slotted(ion-card-title:not(:first-child)){margin-top:8px}"}},c=class{constructor(t){Object(n.l)(this,t)}render(){const t=Object(n.e)(this);return Object(n.i)(n.a,{role:"heading","aria-level":"3",class:Object.assign(Object.assign({},Object(o.a)(this.color)),{[t]:!0})},Object(n.i)("slot",null))}static get style(){return":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550,#737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"}},d=class{constructor(t){Object(n.l)(this,t)}render(){const t=Object(n.e)(this);return Object(n.i)(n.a,{role:"heading","aria-level":"2",class:Object.assign(Object.assign({},Object(o.a)(this.color)),{[t]:!0})},Object(n.i)("slot",null))}static get style(){return":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850,#262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}"}}}}]);