Initial Commit
This commit is contained in:
commit
d4a69c41be
2748 files changed
+80489
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/*! For license information please see 7260.ac08de067df0b198.js.LICENSE.txt */
|
||||
export const ids=["7260"];export const modules={31126:function(t,e,i){var s=i(71998);t.exports=function(){var t=s(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},32517:function(t,e,i){var s=i(1569),n=i(85779),r=i(27803),o=i(31126),a=i(29660),c=s.RegExp,l=c.prototype;n&&a((function(){var t=!0;try{c(".","d")}catch(e){t=!1}var e={},i="",s=t?"dgimsy":"gimsy",n=function(t,s){Object.defineProperty(e,t,{get:function(){return i+=s,!0}})},r={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in t&&(r.hasIndices="d"),r)n(o,r[o]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(e)!==s||i!==s}))&&r(l,"flags",{configurable:!0,get:o})},1231:function(t,e,i){i.d(e,{B:()=>c});var s=i("9065"),n=i("50778"),r=i("57243");class o extends r.oi{constructor(){super(...arguments),this.inset=!1,this.insetStart=!1,this.insetEnd=!1}}(0,s.gn)([(0,n.Cb)({type:Boolean,reflect:!0})],o.prototype,"inset",void 0),(0,s.gn)([(0,n.Cb)({type:Boolean,reflect:!0,attribute:"inset-start"})],o.prototype,"insetStart",void 0),(0,s.gn)([(0,n.Cb)({type:Boolean,reflect:!0,attribute:"inset-end"})],o.prototype,"insetEnd",void 0);const a=r.iv`:host{box-sizing:border-box;color:var(--md-divider-color,var(--md-sys-color-outline-variant,#cac4d0));display:flex;height:var(--md-divider-thickness,1px);width:100%}:host([inset-start]),:host([inset]){padding-inline-start:16px}:host([inset-end]),:host([inset]){padding-inline-end:16px}:host::before{background:currentColor;content:"";height:100%;width:100%}@media(forced-colors:active){:host::before{background:CanvasText}}`;let c=class extends o{};c.styles=[a],c=(0,s.gn)([(0,n.Mo)("md-divider")],c)},78755:function(t,e,i){i.d(e,{g:()=>g});var s=i("9065"),n=i("50778"),r=(i("57618"),i("26499"),i("23111"),i("57243")),o=i("35359"),a=i("79840"),c=i("13823"),l=i("64840");const h=(0,c.T)(r.oi);class d extends h{constructor(){super(...arguments),this.disabled=!1,this.type="text",this.isListItem=!0,this.href="",this.target=""}get isDisabled(){return this.disabled&&"link"!==this.type}willUpdate(t){this.href&&(this.type="link"),super.willUpdate(t)}render(){return this.renderListItem(r.dy` <md-item> <div slot="container"> ${this.renderRipple()} ${this.renderFocusRing()} </div> <slot name="start" slot="start"></slot> <slot name="end" slot="end"></slot> ${this.renderBody()} </md-item> `)}renderListItem(t){const e="link"===this.type;let i;switch(this.type){case"link":i=a.i0`a`;break;case"button":i=a.i0`button`;break;default:i=a.i0`li`}const s="text"!==this.type,n=e&&this.target?this.target:r.Ld;return a.dy`
|
||||
<${i}
|
||||
id="item"
|
||||
tabindex="${this.isDisabled||!s?-1:0}"
|
||||
?disabled=${this.isDisabled}
|
||||
role="listitem"
|
||||
aria-selected=${this.ariaSelected||r.Ld}
|
||||
aria-checked=${this.ariaChecked||r.Ld}
|
||||
aria-expanded=${this.ariaExpanded||r.Ld}
|
||||
aria-haspopup=${this.ariaHasPopup||r.Ld}
|
||||
class="list-item ${(0,o.$)(this.getRenderClasses())}"
|
||||
href=${this.href||r.Ld}
|
||||
target=${n}
|
||||
@focus=${this.onFocus}
|
||||
>${t}</${i}>
|
||||
`}renderRipple(){return"text"===this.type?r.Ld:r.dy` <md-ripple part="ripple" for="item" ?disabled="${this.isDisabled}"></md-ripple>`}renderFocusRing(){return"text"===this.type?r.Ld:r.dy` <md-focus-ring @visibility-changed="${this.onFocusRingVisibilityChanged}" part="focus-ring" for="item" inward></md-focus-ring>`}onFocusRingVisibilityChanged(t){}getRenderClasses(){return{disabled:this.isDisabled}}renderBody(){return r.dy` <slot></slot> <slot name="overline" slot="overline"></slot> <slot name="headline" slot="headline"></slot> <slot name="supporting-text" slot="supporting-text"></slot> <slot name="trailing-supporting-text" slot="trailing-supporting-text"></slot> `}onFocus(){-1===this.tabIndex&&this.dispatchEvent((0,l.oh)())}focus(){this.listItemRoot?.focus()}}d.shadowRootOptions={...r.oi.shadowRootOptions,delegatesFocus:!0},(0,s.gn)([(0,n.Cb)({type:Boolean,reflect:!0})],d.prototype,"disabled",void 0),(0,s.gn)([(0,n.Cb)({reflect:!0})],d.prototype,"type",void 0),(0,s.gn)([(0,n.Cb)({type:Boolean,attribute:"md-list-item",reflect:!0})],d.prototype,"isListItem",void 0),(0,s.gn)([(0,n.Cb)()],d.prototype,"href",void 0),(0,s.gn)([(0,n.Cb)()],d.prototype,"target",void 0),(0,s.gn)([(0,n.IO)(".list-item")],d.prototype,"listItemRoot",void 0);const u=r.iv`:host{display:flex;-webkit-tap-highlight-color:transparent;--md-ripple-hover-color:var(--md-list-item-hover-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--md-ripple-hover-opacity:var(--md-list-item-hover-state-layer-opacity, 0.08);--md-ripple-pressed-color:var(--md-list-item-pressed-state-layer-color, var(--md-sys-color-on-surface, #1d1b20));--md-ripple-pressed-opacity:var(--md-list-item-pressed-state-layer-opacity, 0.12)}:host(:is([type=button]:not([disabled]),[type=link])){cursor:pointer}md-focus-ring{z-index:1;--md-focus-ring-shape:8px}a,button,li{background:0 0;border:none;cursor:inherit;padding:0;margin:0;text-align:unset;text-decoration:none}.list-item{border-radius:inherit;display:flex;flex:1;max-width:inherit;min-width:inherit;outline:0;-webkit-tap-highlight-color:transparent;width:100%}.list-item.interactive{cursor:pointer}.list-item.disabled{opacity:var(--md-list-item-disabled-opacity, .3);pointer-events:none}[slot=container]{pointer-events:none}md-ripple{border-radius:inherit}md-item{border-radius:inherit;flex:1;height:100%;color:var(--md-list-item-label-text-color,var(--md-sys-color-on-surface,#1d1b20));font-family:var(--md-list-item-label-text-font, var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-list-item-label-text-size, var(--md-sys-typescale-body-large-size, 1rem));line-height:var(--md-list-item-label-text-line-height, var(--md-sys-typescale-body-large-line-height, 1.5rem));font-weight:var(--md-list-item-label-text-weight,var(--md-sys-typescale-body-large-weight,var(--md-ref-typeface-weight-regular,400)));min-height:var(--md-list-item-one-line-container-height,56px);padding-top:var(--md-list-item-top-space,12px);padding-bottom:var(--md-list-item-bottom-space,12px);padding-inline-start:var(--md-list-item-leading-space,16px);padding-inline-end:var(--md-list-item-trailing-space,16px)}md-item[multiline]{min-height:var(--md-list-item-two-line-container-height,72px)}[slot=supporting-text]{color:var(--md-list-item-supporting-text-color,var(--md-sys-color-on-surface-variant,#49454f));font-family:var(--md-list-item-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-list-item-supporting-text-size, var(--md-sys-typescale-body-medium-size, .875rem));line-height:var(--md-list-item-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));font-weight:var(--md-list-item-supporting-text-weight,var(--md-sys-typescale-body-medium-weight,var(--md-ref-typeface-weight-regular,400)))}[slot=trailing-supporting-text]{color:var(--md-list-item-trailing-supporting-text-color,var(--md-sys-color-on-surface-variant,#49454f));font-family:var(--md-list-item-trailing-supporting-text-font, var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-list-item-trailing-supporting-text-size, var(--md-sys-typescale-label-small-size, .6875rem));line-height:var(--md-list-item-trailing-supporting-text-line-height, var(--md-sys-typescale-label-small-line-height, 1rem));font-weight:var(--md-list-item-trailing-supporting-text-weight,var(--md-sys-typescale-label-small-weight,var(--md-ref-typeface-weight-medium,500)))}:is([slot=start],[slot=end])::slotted(*){fill:currentColor}[slot=start]{color:var(--md-list-item-leading-icon-color,var(--md-sys-color-on-surface-variant,#49454f))}[slot=end]{color:var(--md-list-item-trailing-icon-color,var(--md-sys-color-on-surface-variant,#49454f))}@media(forced-colors:active){.disabled slot{color:GrayText}.list-item.disabled{color:GrayText;opacity:1}}`;let g=class extends d{};g.styles=[u],g=(0,s.gn)([(0,n.Mo)("md-list-item")],g)},623:function(t,e,i){i.d(e,{j:()Line truncated
|
||||
//# sourceMappingURL=7260.ac08de067df0b198.js.map
|
||||
Reference in new issue
Block a user