iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
6 lines • 20.6 kB
JavaScript
/*! For license information please see 7163.f5057b8aba5b65fc.js.LICENSE.txt */
export const __webpack_ids__=["7163"];export const __webpack_modules__={13245:function(e,t,o){o.d(t,{$y:()=>s,fs:()=>r,j:()=>i});const a=(e,t,o)=>new Promise(((a,i)=>{const r=document.createElement(e);let s="src",n="body";switch(r.onload=()=>a(t),r.onerror=()=>i(t),e){case"script":r.async=!0,o&&(r.type=o);break;case"link":r.type="text/css",r.rel="stylesheet",s="href",n="head"}r[s]=t,document[n].appendChild(r)})),i=e=>a("link",e),r=e=>a("script",e),s=e=>a("script",e,"module")},54977:function(e,t,o){var a=o(44249),i=o(57243),r=o(15093);(0,a.Z)([(0,r.Mo)("ha-card")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,r.Cb)()],key:"header",value:void 0},{kind:"field",decorators:[(0,r.Cb)({type:Boolean,reflect:!0})],key:"raised",value:()=>!1},{kind:"field",static:!0,key:"styles",value:()=>i.iv`:host{background:var(--ha-card-background,var(--card-background-color,#fff));-webkit-backdrop-filter:var(--ha-card-backdrop-filter,none);backdrop-filter:var(--ha-card-backdrop-filter,none);box-shadow:var(--ha-card-box-shadow,none);box-sizing:border-box;border-radius:var(--ha-card-border-radius,12px);border-width:var(--ha-card-border-width,1px);border-style:solid;border-color:var(--ha-card-border-color,var(--divider-color,#e0e0e0));color:var(--primary-text-color);display:block;transition:all .3s ease-out;position:relative}:host([raised]){border:none;box-shadow:var(--ha-card-box-shadow,0px 2px 1px -1px rgba(0,0,0,.2),0px 1px 1px 0px rgba(0,0,0,.14),0px 1px 3px 0px rgba(0,0,0,.12))}.card-header,:host ::slotted(.card-header){color:var(--ha-card-header-color,var(--primary-text-color));font-family:var(--ha-card-header-font-family, inherit);font-size:var(--ha-card-header-font-size, 24px);letter-spacing:-.012em;line-height:48px;padding:12px 16px 16px;display:block;margin-block-start:0px;margin-block-end:0px;font-weight:400}:host ::slotted(.card-content:not(:first-child)),slot:not(:first-child)::slotted(.card-content){padding-top:0px;margin-top:-8px}:host ::slotted(.card-content){padding:16px}:host ::slotted(.card-actions){border-top:1px solid var(--divider-color,#e8e8e8);padding:5px 16px}`},{kind:"method",key:"render",value:function(){return i.dy` ${this.header?i.dy`<h1 class="card-header">${this.header}</h1>`:i.Ld} <slot></slot> `}}]}}),i.oi)},20130:function(e,t,o){var a=o(44249),i=o(72621),r=o(39785),s=o(52876),n=o(15093),l=o(57243),c=o(5111);(0,a.Z)([(0,n.Mo)("ha-fab")],(function(e,t){class o extends t{constructor(...t){super(...t),e(this)}}return{F:o,d:[{kind:"method",key:"firstUpdated",value:function(e){(0,i.Z)(o,"firstUpdated",this,3)([e]),this.style.setProperty("--mdc-theme-secondary","var(--primary-color)")}},{kind:"field",static:!0,key:"styles",value:()=>[s.W,l.iv`:host .mdc-fab--extended .mdc-fab__icon{margin-inline-start:-8px;margin-inline-end:12px;direction:var(--direction)}:disabled{--mdc-theme-secondary:var(--disabled-text-color);pointer-events:none}`,"rtl"===c.E.document.dir?l.iv`:host .mdc-fab--extended .mdc-fab__icon{direction:rtl}`:l.iv``]}]}}),r._)},17170:function(e,t,o){o.a(e,(async function(e,a){try{o.r(t),o.d(t,{HaSpinner:()=>h});var i=o(44249),r=o(72621),s=o(97677),n=o(43580),l=o(57243),c=o(15093),d=e([s]);s=(d.then?(await d)():d)[0];let h=(0,i.Z)([(0,c.Mo)("ha-spinner")],(function(e,t){class o extends t{constructor(...t){super(...t),e(this)}}return{F:o,d:[{kind:"field",decorators:[(0,c.Cb)()],key:"size",value:void 0},{kind:"method",key:"updated",value:function(e){if((0,r.Z)(o,"updated",this,3)([e]),e.has("size"))switch(this.size){case"tiny":this.style.setProperty("--ha-spinner-size","16px");break;case"small":this.style.setProperty("--ha-spinner-size","28px");break;case"medium":this.style.setProperty("--ha-spinner-size","48px");break;case"large":this.style.setProperty("--ha-spinner-size","68px");break;case void 0:this.style.removeProperty("--ha-progress-ring-size")}}},{kind:"field",static:!0,key:"styles",value:()=>[n.Z,l.iv`:host{--indicator-color:var(
--ha-spinner-indicator-color,
var(--primary-color)
);--track-color:var(--ha-spinner-divider-color, var(--divider-color));--track-width:4px;--speed:3.5s;font-size:var(--ha-spinner-size, 48px)}`]}]}}),s.Z);a()}catch(e){a(e)}}))},20:function(e,t,o){o.d(t,{SN:()=>i,eL:()=>a,fg:()=>s,id:()=>r});const a=e=>e.sendMessagePromise({type:"lovelace/resources"}),i=(e,t)=>e.callWS({type:"lovelace/resources/create",...t}),r=(e,t,o)=>e.callWS({type:"lovelace/resources/update",resource_id:t,...o}),s=(e,t)=>e.callWS({type:"lovelace/resources/delete",resource_id:t})},75375:function(e,t,o){o.a(e,(async function(e,a){try{o.r(t);var i=o(44249),r=o(57243),s=o(15093),n=o(17170),l=(o(54202),o(43344),o(28008)),c=e([n]);n=(c.then?(await c)():c)[0];(0,i.Z)([(0,s.Mo)("hass-loading-screen")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,s.Cb)({type:Boolean,attribute:"no-toolbar"})],key:"noToolbar",value:()=>!1},{kind:"field",decorators:[(0,s.Cb)({type:Boolean})],key:"rootnav",value:()=>!1},{kind:"field",decorators:[(0,s.Cb)({type:Boolean})],key:"narrow",value:()=>!1},{kind:"field",decorators:[(0,s.Cb)()],key:"message",value:void 0},{kind:"method",key:"render",value:function(){return r.dy` ${this.noToolbar?"":r.dy`<div class="toolbar"> ${this.rootnav||history.state?.root?r.dy` <ha-menu-button .hass="${this.hass}" .narrow="${this.narrow}"></ha-menu-button> `:r.dy` <ha-icon-button-arrow-prev .hass="${this.hass}" ="${this._handleBack}"></ha-icon-button-arrow-prev> `} </div>`} <div class="content"> <ha-spinner></ha-spinner> ${this.message?r.dy`<div id="loading-text">${this.message}</div>`:r.Ld} </div> `}},{kind:"method",key:"_handleBack",value:function(){history.back()}},{kind:"get",static:!0,key:"styles",value:function(){return[l.Qx,r.iv`:host{display:block;height:100%;background-color:var(--primary-background-color)}.toolbar{display:flex;align-items:center;font-size:20px;height:var(--header-height);padding:8px 12px;pointer-events:none;background-color:var(--app-header-background-color);font-weight:400;color:var(--app-header-text-color,#fff);border-bottom:var(--app-header-border-bottom,none);box-sizing:border-box} (max-width:599px){.toolbar{padding:4px}}ha-icon-button-arrow-prev,ha-menu-button{pointer-events:auto}.content{height:calc(100% - var(--header-height));display:flex;flex-direction:column;align-items:center;justify-content:center}#loading-text{max-width:350px;margin-top:16px}`]}}]}}),r.oi);a()}catch(e){a(e)}}))},87979:function(e,t,o){var a=o(44249),i=o(57243),r=o(15093),s=o(31146),n=(o(54202),o(43344),o(28008));(0,a.Z)([(0,r.Mo)("hass-subpage")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,r.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,r.Cb)()],key:"header",value:void 0},{kind:"field",decorators:[(0,r.Cb)({type:Boolean,attribute:"main-page"})],key:"mainPage",value:()=>!1},{kind:"field",decorators:[(0,r.Cb)({type:String,attribute:"back-path"})],key:"backPath",value:void 0},{kind:"field",decorators:[(0,r.Cb)({attribute:!1})],key:"backCallback",value:void 0},{kind:"field",decorators:[(0,r.Cb)({type:Boolean,reflect:!0})],key:"narrow",value:()=>!1},{kind:"field",decorators:[(0,r.Cb)({type:Boolean})],key:"supervisor",value:()=>!1},{kind:"field",decorators:[(0,s.i)(".content")],key:"_savedScrollPos",value:void 0},{kind:"method",key:"render",value:function(){return i.dy` <div class="toolbar"> ${this.mainPage||history.state?.root?i.dy` <ha-menu-button .hassio="${this.supervisor}" .hass="${this.hass}" .narrow="${this.narrow}"></ha-menu-button> `:this.backPath?i.dy` <a href="${this.backPath}"> <ha-icon-button-arrow-prev .hass="${this.hass}"></ha-icon-button-arrow-prev> </a> `:i.dy` <ha-icon-button-arrow-prev .hass="${this.hass}" ="${this._backTapped}"></ha-icon-button-arrow-prev> `} <div class="main-title"><slot name="header">${this.header}</slot></div> <slot name="toolbar-icon"></slot> </div> <div class="content ha-scrollbar" ="${this._saveScrollPos}"> <slot></slot> </div> <div id="fab"> <slot name="fab"></slot> </div> `}},{kind:"method",decorators:[(0,r.hO)({passive:!0})],key:"_saveScrollPos",value:function(e){this._savedScrollPos=e.target.scrollTop}},{kind:"method",key:"_backTapped",value:function(){this.backCallback?this.backCallback():history.back()}},{kind:"get",static:!0,key:"styles",value:function(){return[n.$c,i.iv`:host{display:block;height:100%;background-color:var(--primary-background-color);overflow:hidden;position:relative}:host([narrow]){width:100%;position:fixed}.toolbar{display:flex;align-items:center;font-size:20px;height:var(--header-height);padding:8px 12px;background-color:var(--app-header-background-color);font-weight:400;color:var(--app-header-text-color,#fff);border-bottom:var(--app-header-border-bottom,none);box-sizing:border-box} (max-width:599px){.toolbar{padding:4px}}.toolbar a{color:var(--sidebar-text-color);text-decoration:none}::slotted([slot=toolbar-icon]),ha-icon-button-arrow-prev,ha-menu-button{pointer-events:auto;color:var(--sidebar-icon-color)}.main-title{margin:var(--margin-title);line-height:20px;min-width:0;flex-grow:1;overflow-wrap:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;padding-bottom:1px}.content{position:relative;width:100%;height:calc(100% - 1px - var(--header-height));overflow-y:auto;overflow:auto;-webkit-overflow-scrolling:touch}#fab{position:absolute;right:calc(16px + env(safe-area-inset-right));inset-inline-end:calc(16px + env(safe-area-inset-right));inset-inline-start:initial;bottom:calc(16px + env(safe-area-inset-bottom));z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}:host([narrow]) #fab.tabs{bottom:calc(84px + env(safe-area-inset-bottom))}#fab[is-wide]{bottom:24px;right:24px;inset-inline-end:24px;inset-inline-start:initial}`]}}]}}),i.oi)},96944:function(e,t,o){o.a(e,(async function(e,a){try{o.r(t),o.d(t,{HaConfigLovelaceRescources:()=>x});var i=o(44249),r=o(72621),s=(o(9359),o(56475),o(1331),o(70104),o(57243)),n=o(15093),l=o(27486),c=o(1416),d=(o(54977),o(20130),o(37583),o(20)),h=o(76131),u=o(75375),p=(o(87979),o(38419),o(28008)),v=o(34216),b=o(21646),f=o(76300),y=o(68958),k=e([u]);u=(k.then?(await k)():k)[0];const g="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",m="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";let x=(0,i.Z)([(0,n.Mo)("ha-config-lovelace-resources")],(function(e,t){class o extends t{constructor(...t){super(...t),e(this)}}return{F:o,d:[{kind:"field",decorators:[(0,n.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,n.Cb)({attribute:"is-wide",type:Boolean})],key:"isWide",value:()=>!1},{kind:"field",decorators:[(0,n.Cb)({type:Boolean})],key:"narrow",value:()=>!1},{kind:"field",decorators:[(0,n.Cb)({attribute:!1})],key:"route",value:void 0},{kind:"field",decorators:[(0,n.SB)()],key:"_resources",value:()=>[]},{kind:"field",decorators:[(0,y.t)({storage:"sessionStorage",key:"lovelace-resources-table-search",state:!0,subscribe:!1})],key:"_filter",value:()=>""},{kind:"field",decorators:[(0,y.t)({key:"lovelace-resources-table-sort",state:!1,subscribe:!1})],key:"_activeSorting",value:void 0},{kind:"field",decorators:[(0,y.t)({key:"lovelace-resources-table-column-order",state:!1,subscribe:!1})],key:"_activeColumnOrder",value:void 0},{kind:"field",decorators:[(0,y.t)({key:"lovelace-resources-table-hidden-columns",state:!1,subscribe:!1})],key:"_activeHiddenColumns",value:void 0},{kind:"field",key:"_columns",value(){return(0,l.Z)(((e,t)=>({url:{main:!0,title:t("ui.panel.config.lovelace.resources.picker.headers.url"),sortable:!0,filterable:!0,direction:"asc",flex:2,forceLTR:!0},type:{title:t("ui.panel.config.lovelace.resources.picker.headers.type"),sortable:!0,filterable:!0,template:e=>s.dy` ${this.hass.localize(`ui.panel.config.lovelace.resources.types.${e.type}`)||e.type} `},delete:{title:"",label:t("ui.panel.config.lovelace.resources.picker.headers.delete"),type:"icon-button",minWidth:"48px",maxWidth:"48px",showNarrow:!0,template:e=>s.dy`<ha-icon-button ="${this._removeResource}" .label="${this.hass.localize("ui.common.delete")}" .path="${g}" .resource="${e}"></ha-icon-button>`}})))}},{kind:"method",key:"render",value:function(){return this.hass&&void 0!==this._resources?this.hass.config.safe_mode?s.dy` <hass-subpage .hass="${this.hass}" .narrow="${this.narrow}" back-path="/config" .header="${this.hass.localize("ui.panel.config.lovelace.resources.caption")}"> <div class="content"> <ha-card outlined> <div class="card-content"> <h2> ${this.hass.localize("ui.panel.config.lovelace.resources.unavailable")} </h2> <p> ${this.hass.localize("ui.panel.config.lovelace.resources.unavailable_safe_mode")} </p> </div> </ha-card> </div> </hass-subpage> `:s.dy` <hass-tabs-subpage-data-table .hass="${this.hass}" .narrow="${this.narrow}" .route="${this.route}" .tabs="${b.lovelaceResourcesTabs}" .columns="${this._columns(this.hass.language,this.hass.localize)}" .data="${this._resources}" .noDataText="${this.hass.localize("ui.panel.config.lovelace.resources.picker.no_resources")}" .initialSorting="${this._activeSorting}" .columnOrder="${this._activeColumnOrder}" .hiddenColumns="${this._activeHiddenColumns}" -changed="${this._handleColumnsChanged}" -changed="${this._handleSortingChanged}" .filter="${this._filter}" -changed="${this._handleSearchChange}" -click="${this._editResource}" has-fab clickable> <ha-fab slot="fab" .label="${this.hass.localize("ui.panel.config.lovelace.resources.picker.add_resource")}" extended ="${this._addResource}"> <ha-svg-icon slot="icon" .path="${m}"></ha-svg-icon> </ha-fab> </hass-tabs-subpage-data-table> `:s.dy` <hass-loading-screen></hass-loading-screen> `}},{kind:"method",key:"firstUpdated",value:function(e){(0,r.Z)(o,"firstUpdated",this,3)([e]),this._getResources()}},{kind:"method",key:"_getResources",value:async function(){this._resources=await(0,d.eL)(this.hass.connection)}},{kind:"method",key:"_editResource",value:function(e){if("storage"!==this.hass.panels.lovelace?.config?.mode)return void(0,h.showAlertDialog)(this,{text:this.hass.localize("ui.panel.config.lovelace.resources.cant_edit_yaml")});const t=e.detail.id,o=this._resources.find((e=>e.id===t));this._openDialog(o)}},{kind:"method",key:"_addResource",value:function(){"storage"===this.hass.panels.lovelace?.config?.mode?this._openDialog():(0,h.showAlertDialog)(this,{text:this.hass.localize("ui.panel.config.lovelace.resources.cant_edit_yaml")})}},{kind:"method",key:"_openDialog",value:async function(e){(0,f.U)(this,{resource:e,createResource:async e=>{const t=await(0,d.SN)(this.hass,e);this._resources=this._resources.concat(t).sort(((e,t)=>(0,c.$K)(e.url,t.url,this.hass.locale.language))),(0,v.k)([t],this.hass)},updateResource:async t=>{const o=await(0,d.id)(this.hass,e.id,t);this._resources=this._resources.map((t=>t===e?o:t)),(0,v.k)([o],this.hass)}})}},{kind:"field",key:"_removeResource",value(){return async e=>{const t=e.currentTarget.resource;if(!await(0,h.showConfirmationDialog)(this,{title:this.hass.localize("ui.panel.config.lovelace.resources.confirm_delete_title"),text:this.hass.localize("ui.panel.config.lovelace.resources.confirm_delete_text",{url:t.url}),dismissText:this.hass.localize("ui.common.cancel"),confirmText:this.hass.localize("ui.common.delete"),destructive:!0}))return!1;try{return await(0,d.fg)(this.hass,t.id),this._resources=this._resources.filter((({id:e})=>e!==t.id)),(0,h.showConfirmationDialog)(this,{title:this.hass.localize("ui.panel.config.lovelace.resources.refresh_header"),text:this.hass.localize("ui.panel.config.lovelace.resources.refresh_body"),confirmText:this.hass.localize("ui.common.refresh"),dismissText:this.hass.localize("ui.common.not_now"),confirm:()=>location.reload()}),!0}catch(e){return!1}}}},{kind:"method",key:"_handleSortingChanged",value:function(e){this._activeSorting=e.detail}},{kind:"method",key:"_handleSearchChange",value:function(e){this._filter=e.detail.value}},{kind:"method",key:"_handleColumnsChanged",value:function(e){this._activeColumnOrder=e.detail.columnOrder,this._activeHiddenColumns=e.detail.hiddenColumns}},{kind:"get",static:!0,key:"styles",value:function(){return[p.Qx,s.iv`.content{padding:28px 20px 0;max-width:1040px;margin:0 auto}h2{margin-top:0;margin-bottom:12px}p{margin:0}`]}}]}}),s.oi);a()}catch(e){a(e)}}))},76300:function(e,t,o){o.d(t,{U:()=>r});var a=o(36522);const i=()=>Promise.all([o.e("7442"),o.e("63055"),o.e("53564")]).then(o.bind(o,19925)),r=(e,t)=>{(0,a.B)(e,"show-dialog",{dialogTag:"dialog-lovelace-resource-detail",dialogImport:i,dialogParams:t})}},34216:function(e,t,o){o.d(t,{k:()=>s});o(9359),o(31526),o(75656),o(50100),o(18084);var a=o(13245);const i={},r={},s=(e,t)=>{e.forEach((e=>{const o=new URL(e.url,t.auth.data.hassUrl).toString();switch(e.type){case"css":if(o in i)break;i[o]=(0,a.j)(o);break;case"js":if(o in r)break;r[o]=(0,a.fs)(o);break;case"module":(0,a.$y)(o);break;default:console.warn(`Unknown resource type specified: ${e.type}`)}}))}},16485:function(e,t,o){o.a(e,(async function(e,t){try{o(92745);var a=o(61449),i=o(40574),r=o(30532),s=o(41674),n=o(49722),l=o(76632),c=o(7884),d=o(35185),h=o(60933),u=o(44180),p=o(49447);const e=async()=>{const e=(0,u.sS)(),t=[];(0,r.shouldPolyfill)()&&await Promise.all([o.e("80210"),o.e("74055")]).then(o.bind(o,98133)),(0,n.shouldPolyfill)()&&await Promise.all([o.e("83895"),o.e("75297"),o.e("80210"),o.e("60251")]).then(o.bind(o,59095)),(0,a.shouldPolyfill)(e)&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("68250")]).then(o.bind(o,80561)).then((()=>(0,p.H)()))),(0,h.shouldPolyfill)()&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("65578")]).then(o.bind(o,97995))),(0,i.shouldPolyfill)(e)&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("59826")]).then(o.bind(o,31514))),(0,s.shouldPolyfill)(e)&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("23649")]).then(o.bind(o,93840))),(0,l.shouldPolyfill)(e)&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("42831")]).then(o.bind(o,29559))),(0,c.shouldPolyfill)(e)&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("57377")]).then(o.bind(o,39030)).then((()=>o.e("61236").then(o.t.bind(o,4121,23))))),(0,d.shouldPolyfill)(e)&&t.push(Promise.all([o.e("83895"),o.e("75297"),o.e("13870")]).then(o.bind(o,74546))),0!==t.length&&await Promise.all(t).then((()=>(0,p.n)(e)))};await e(),t()}catch(e){t(e)}}),1)},35709:function(e,t,o){var a=o(27847),i=o(72309),r=o(13465).f,s=a("unscopables"),n=Array.prototype;void 0===n[s]&&r(n,s,{configurable:!0,value:i(null)}),e.exports=function(e){n[s][e]=!0}},17743:function(e,t,o){var a=o(13053);e.exports=function(e,t,o){for(var i=0,r=arguments.length>2?o:a(t),s=new e(r);r>i;)s[i]=t[i++];return s}},37595:function(e,t,o){var a=o(31269),i=o(72878),r=o(25091),s=o(12360),n=o(70273),l=o(13053),c=o(72309),d=o(17743),h=Array,u=i([].push);e.exports=function(e,t,o,i){for(var p,v,b,f=s(e),y=r(f),k=a(t,o),g=c(null),m=l(y),x=0;m>x;x++)b=y[x],(v=n(k(b,x,f)))in g?u(g[v],b):g[v]=[b];if(i&&(p=i(f))!==h)for(v in g)g[v]=d(p,g[v]);return g}},22139:function(e,t,o){var a=o(40810),i=o(37595),r=o(35709);a({target:"Array",proto:!0},{group:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r("group")},1231:function(e,t,o){o.d(t,{B:()=>l});var a=o(9065),i=o(15093),r=o(57243);class s extends r.oi{constructor(){super(...arguments),this.inset=!1,this.insetStart=!1,this.insetEnd=!1}}(0,a.__decorate)([(0,i.Cb)({type:Boolean,reflect:!0})],s.prototype,"inset",void 0),(0,a.__decorate)([(0,i.Cb)({type:Boolean,reflect:!0,attribute:"inset-start"})],s.prototype,"insetStart",void 0),(0,a.__decorate)([(0,i.Cb)({type:Boolean,reflect:!0,attribute:"inset-end"})],s.prototype,"insetEnd",void 0);const n=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%} {:host::before{background:CanvasText}}`;let l=class extends s{};l.styles=[n],l=(0,a.__decorate)([(0,i.Mo)("md-divider")],l)}};
//# sourceMappingURL=7163.f5057b8aba5b65fc.js.map