@vandeurenglenn/lite-elements 0.3.25 → 0.3.26

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 (57) hide show
  1. package/exports/bundle/banner.js +2 -2
  2. package/exports/bundle/button.js +2 -2
  3. package/exports/bundle/card.js +2 -2
  4. package/exports/bundle/code.js +3 -3
  5. package/exports/bundle/custom-element-DIOmDbQp.js +1 -0
  6. package/exports/bundle/demo-elements.js +1 -1
  7. package/exports/bundle/demo-icons.js +3 -3
  8. package/exports/bundle/demo-shell.js +3 -3
  9. package/exports/bundle/demo.js +2 -2
  10. package/exports/bundle/dialog.js +6 -6
  11. package/exports/bundle/divider.js +2 -2
  12. package/exports/bundle/drawer-button.js +2 -2
  13. package/exports/bundle/drawer-item.js +3 -3
  14. package/exports/bundle/drawer-layout.js +1 -1
  15. package/exports/bundle/drawer.js +1 -1
  16. package/exports/bundle/dropdown-menu.js +2 -2
  17. package/exports/bundle/dropdown.js +2 -2
  18. package/exports/bundle/elements.js +1 -1
  19. package/exports/bundle/elevation.js +2 -2
  20. package/exports/bundle/icon-button.js +3 -3
  21. package/exports/bundle/icon-set.js +1 -1
  22. package/exports/bundle/icon.js +2 -2
  23. package/exports/bundle/input.js +2 -2
  24. package/exports/bundle/list-item.js +2 -2
  25. package/exports/bundle/menu.js +2 -2
  26. package/exports/bundle/minute-field.js +2 -2
  27. package/exports/bundle/notification.js +76 -1
  28. package/exports/bundle/notifications.js +5 -298
  29. package/exports/bundle/pane.js +1 -1
  30. package/exports/bundle/rail.js +1 -1
  31. package/exports/bundle/root.js +1 -1
  32. package/exports/bundle/section.js +3 -3
  33. package/exports/bundle/section2.js +2 -2
  34. package/exports/bundle/selector.js +2 -2
  35. package/exports/bundle/summary-mirror.js +2 -2
  36. package/exports/bundle/summary.js +3 -3
  37. package/exports/bundle/supporting-pane.js +1 -1
  38. package/exports/bundle/tab.js +2 -2
  39. package/exports/bundle/tabs.js +2 -2
  40. package/exports/bundle/text-field.js +2 -2
  41. package/exports/bundle/theme.js +1 -1
  42. package/exports/bundle/time-picker.js +2 -2
  43. package/exports/bundle/toggle-button.js +1 -1
  44. package/exports/bundle/toggle.js +2 -2
  45. package/exports/bundle/top-app-bar.js +4 -4
  46. package/exports/bundle/{custom-element-BMhVvZjf.js → tslib.es6-B0cSixZg.js} +1 -1
  47. package/exports/bundle/typography.js +2 -2
  48. package/exports/bundle/upload-file.js +2 -2
  49. package/exports/bundle/upload.js +1 -1
  50. package/exports/notification/notifications.d.ts +2 -1
  51. package/exports/notifications.js +7 -7
  52. package/package.json +1 -33
  53. package/exports/bundle/notification-Dwr0-l4e.js +0 -91
  54. package/exports/button/button.d.ts +0 -13
  55. package/exports/elevation/elevation.d.ts +0 -11
  56. package/exports/icon/icon.d.ts +0 -12
  57. package/exports/pane/pane.d.ts +0 -14
@@ -1 +1,76 @@
1
- import"./custom-element-BMhVvZjf.js";export{C as CustomNotification}from"./notification-Dwr0-l4e.js";import"./column-D2XB0lDz.js";import"./row-DNgwBcX5.js";import"./index-B3uz3f8C.js";import"./property-Do5-bKhz.js";
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import"@vandeurenglenn/lite-elements/icon.js";import"./column-D2XB0lDz.js";import"./row-DNgwBcX5.js";
2
+ /**
3
+ * @license
4
+ * Copyright 2019 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */const i=globalThis,r=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),a=new WeakMap;let h=class n{constructor(t,e,i){if(this._$cssResult$=!0,i!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&a.set(e,t))}return t}toString(){return this.cssText}};const c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,o))(e)})(t):t
7
+ /**
8
+ * @license
9
+ * Copyright 2017 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */,{is:l,defineProperty:d,getOwnPropertyDescriptor:p,getOwnPropertyNames:u,getOwnPropertySymbols:_,getPrototypeOf:$}=Object,f=globalThis,m=f.trustedTypes,g=m?m.emptyScript:"",y=f.reactiveElementPolyfillSupport,A=(t,e)=>t,v={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},E=(t,e)=>!l(t,e),w={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),f.litPropertyMetadata??=new WeakMap;let P=class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=w){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);void 0!==r&&d(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:o}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const a=r?.call(this);o.call(this,e),this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??w}static _$Ei(){if(this.hasOwnProperty(A("elementProperties")))return;const t=$(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(A("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(A("properties"))){const t=this.properties,e=[...u(t),..._(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(c(t))}else void 0!==t&&e.push(c(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(r)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=r.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(void 0!==r&&!0===i.reflect){const o=(void 0!==i.converter?.toAttribute?i.converter:v).toAttribute(e,i.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){const i=this.constructor,r=i._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=i.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:v;this._$Em=r,this[r]=o.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??E)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}};P.elementStyles=[],P.shadowRootOptions={mode:"open"},P[A("elementProperties")]=new Map,P[A("finalized")]=new Map,y?.({ReactiveElement:P}),(f.reactiveElementVersions??=[]).push("2.0.4");
12
+ /**
13
+ * @license
14
+ * Copyright 2017 Google LLC
15
+ * SPDX-License-Identifier: BSD-3-Clause
16
+ */
17
+ const U=globalThis,C=U.trustedTypes,x=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,O="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,N="?"+T,z=`<${N}>`,j=document,D=()=>j.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,q="[ \t\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,Z=/>/g,F=RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,Q=/"/g,X=/^(?:script|style|textarea|title)$/i,Y=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),st=new WeakMap,it=j.createTreeWalker(j,129);function rt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==x?x.createHTML(e):e}const ot=(t,e)=>{const i=t.length-1,r=[];let o,a=2===e?"<svg>":"",h=J;for(let e=0;e<i;e++){const i=t[e];let c,l,d=-1,p=0;for(;p<i.length&&(h.lastIndex=p,l=h.exec(i),null!==l);)p=h.lastIndex,h===J?"!--"===l[1]?h=K:void 0!==l[1]?h=Z:void 0!==l[2]?(X.test(l[2])&&(o=RegExp("</"+l[2],"g")),h=F):void 0!==l[3]&&(h=F):h===F?">"===l[0]?(h=o??J,d=-1):void 0===l[1]?d=-2:(d=h.lastIndex-l[2].length,c=l[1],h=void 0===l[3]?F:'"'===l[3]?Q:G):h===Q||h===G?h=F:h===K||h===Z?h=J:(h=F,o=void 0);const u=h===F&&t[e+1].startsWith("/>")?" ":"";a+=h===J?i+z:d>=0?(r.push(c),i.slice(0,d)+O+i.slice(d)+T+u):i+T+(-2===d?e:u)}return[rt(t,a+(t[i]||"<?>")+(2===e?"</svg>":"")),r]};class V{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,a=0;const h=t.length-1,c=this.parts,[l,d]=ot(t,e);if(this.el=V.createElement(l,i),it.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&c.length<h;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(O)){const e=d[a++],i=r.getAttribute(t).split(T),h=/([.?@])?(.*)/.exec(e);c.push({type:1,index:o,name:h[2],strings:i,ctor:"."===h[1]?k:"?"===h[1]?H:"@"===h[1]?I:R}),r.removeAttribute(t)}else t.startsWith(T)&&(c.push({type:6,index:o}),r.removeAttribute(t));if(X.test(r.tagName)){const t=r.textContent.split(T),e=t.length-1;if(e>0){r.textContent=C?C.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],D()),it.nextNode(),c.push({type:2,index:++o});r.append(t[e],D())}}}else if(8===r.nodeType)if(r.data===N)c.push({type:2,index:o});else{let t=-1;for(;-1!==(t=r.data.indexOf(T,t+1));)c.push({type:7,index:o}),t+=T.length-1}o++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function nt(t,e,i=t,r){if(e===tt)return e;let o=void 0!==r?i._$Co?.[r]:i._$Cl;const a=B(e)?void 0:e._$litDirective$;return o?.constructor!==a&&(o?._$AO?.(!1),void 0===a?o=void 0:(o=new a(t),o._$AT(t,i,r)),void 0!==r?(i._$Co??=[])[r]=o:i._$Cl=o),void 0!==o&&(e=nt(t,o._$AS(t,e.values),o,r)),e}let at=class S{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,r=(t?.creationScope??j).importNode(e,!0);it.currentNode=r;let o=it.nextNode(),a=0,h=0,c=i[0];for(;void 0!==c;){if(a===c.index){let e;2===c.type?e=new M(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new L(o,this,t)),this._$AV.push(e),c=i[++h]}a!==c?.index&&(o=it.nextNode(),a++)}return it.currentNode=j,r}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}};class M{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=nt(this,t,e),B(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>W(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==et&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(j.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=V.createElement(rt(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new at(r,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=st.get(t.strings);return void 0===e&&st.set(t.strings,e=new V(t)),e}k(t){W(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new M(this.S(D()),this.S(D()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class R{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,o){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=o,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=et}_$AI(t,e=this,i,r){const o=this.strings;let a=!1;if(void 0===o)t=nt(this,t,e,0),a=!B(t)||t!==this._$AH&&t!==tt,a&&(this._$AH=t);else{const r=t;let h,c;for(t=o[0],h=0;h<o.length-1;h++)c=nt(this,r[i+h],e,h),c===tt&&(c=this._$AH[h]),a||=!B(c)||c!==this._$AH[h],c===et?t=et:t!==et&&(t+=(c??"")+o[h+1]),this._$AH[h]=c}a&&!r&&this.j(t)}j(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class k extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===et?void 0:t}}class H extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}}class I extends R{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){if((t=nt(this,t,e,0)??et)===tt)return;const i=this._$AH,r=t===et&&i!==et||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==et&&(i===et||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}}const ht=U.litHtmlPolyfillSupport;ht?.(V,M),(U.litHtmlVersions??=[]).push("3.1.2");const ct=globalThis,lt=ct.ShadowRoot&&(void 0===ct.ShadyCSS||ct.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dt=Symbol(),pt=new WeakMap;
18
+ /**
19
+ * @license
20
+ * Copyright 2019 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ */let ut=class n{constructor(t,e,i){if(this._$cssResult$=!0,i!==dt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(lt&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=pt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&pt.set(e,t))}return t}toString(){return this.cssText}};const _t=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new ut(i,t,dt)},$t=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new ut("string"==typeof t?t:t+"",void 0,dt))(e)})(t):t
23
+ /**
24
+ * @license
25
+ * Copyright 2017 Google LLC
26
+ * SPDX-License-Identifier: BSD-3-Clause
27
+ */,{is:ft,defineProperty:mt,getOwnPropertyDescriptor:gt,getOwnPropertyNames:yt,getOwnPropertySymbols:At,getPrototypeOf:vt}=Object,Et=globalThis,St=Et.trustedTypes,bt=St?St.emptyScript:"",wt=Et.reactiveElementPolyfillSupport,Pt=(t,e)=>t,Ut={toAttribute(t,e){switch(e){case Boolean:t=t?bt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},Ct=(t,e)=>!ft(t,e),xt={attribute:!0,type:String,converter:Ut,reflect:!1,hasChanged:Ct};Symbol.metadata??=Symbol("metadata"),Et.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=xt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,e);void 0!==r&&mt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){const{get:r,set:o}=gt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const a=r?.call(this);o.call(this,e),this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??xt}static _$Ei(){if(this.hasOwnProperty(Pt("elementProperties")))return;const t=vt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Pt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Pt("properties"))){const t=this.properties,e=[...yt(t),...At(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift($t(t))}else void 0!==t&&e.push($t(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(lt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=ct.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){const i=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,i);if(void 0!==r&&!0===i.reflect){const o=(void 0!==i.converter?.toAttribute?i.converter:Ut).toAttribute(e,i.type);this._$Em=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(t,e){const i=this.constructor,r=i._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=i.getPropertyOptions(r),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ut;this._$Em=r,this[r]=o.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??Ct)(this[t],e))return;this.P(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,i){this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t)!0!==i.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],i)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[Pt("elementProperties")]=new Map,b[Pt("finalized")]=new Map,wt?.({ReactiveElement:b}),(Et.reactiveElementVersions??=[]).push("2.0.4");
28
+ /**
29
+ * @license
30
+ * Copyright 2017 Google LLC
31
+ * SPDX-License-Identifier: BSD-3-Clause
32
+ */
33
+ class s extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{const r=i?.renderBefore??e;let o=r._$litPart$;if(void 0===o){const t=i?.renderBefore??null;r._$litPart$=o=new M(e.insertBefore(D(),t),t,void 0,i??{})}return o._$AI(t),o})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return tt}}s._$litElement$=!0,s.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const Ot=globalThis.litElementPolyfillSupport;Ot?.({LitElement:s}),(globalThis.litElementVersions??=[]).push("4.0.4");
34
+ /**
35
+ * @license
36
+ * Copyright 2017 Google LLC
37
+ * SPDX-License-Identifier: BSD-3-Clause
38
+ */
39
+ const Rt=t=>(e,i)=>{void 0!==i?i.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)}
40
+ /**
41
+ * @license
42
+ * Copyright 2017 Google LLC
43
+ * SPDX-License-Identifier: BSD-3-Clause
44
+ */,Mt={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:E},Tt=(t=Mt,e,i)=>{const{kind:r,metadata:o}=i;let a=globalThis.litPropertyMetadata.get(o);if(void 0===a&&globalThis.litPropertyMetadata.set(o,a=new Map),a.set(i.name,t),"accessor"===r){const{name:r}=i;return{set(i){const o=e.get.call(this);e.set.call(this,i),this.requestUpdate(r,o,t)},init(e){return void 0!==e&&this.P(r,void 0,t),e}}}if("setter"===r){const{name:r}=i;return function(i){const o=this[r];e.call(this,i),this.requestUpdate(r,o,t)}}throw Error("Unsupported decorator location: "+r)};function kt(t){return(e,i)=>"object"==typeof i?Tt(t,e,i):((t,e,i)=>{const r=e.hasOwnProperty(i);return e.constructor.createProperty(i,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,i):void 0})(t,e,i)}let Ht=(()=>{let i,r,o,a,h,c,l=[Rt("custom-notification")],d=[],p=s,u=[],_=[],$=[],f=[],m=[],g=[],y=[],A=[];return class extends p{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;o=[kt()],a=[kt()],h=[kt()],c=[kt()],t(this,null,o,{kind:"accessor",name:"title",static:!1,private:!1,access:{has:t=>"title"in t,get:t=>t.title,set:(t,e)=>{t.title=e}},metadata:e},u,_),t(this,null,a,{kind:"accessor",name:"message",static:!1,private:!1,access:{has:t=>"message"in t,get:t=>t.message,set:(t,e)=>{t.message=e}},metadata:e},$,f),t(this,null,h,{kind:"accessor",name:"image",static:!1,private:!1,access:{has:t=>"image"in t,get:t=>t.image,set:(t,e)=>{t.image=e}},metadata:e},m,g),t(this,null,c,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},y,A),t(null,i={value:r},l,{kind:"class",name:r.name,metadata:e},null,d),r=i.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,u,void 0);get title(){return this.#t}set title(t){this.#t=t}#e=(e(this,_),e(this,$,void 0));get message(){return this.#e}set message(t){this.#e=t}#s=(e(this,f),e(this,m,void 0));get image(){return this.#s}set image(t){this.#s=t}#i=(e(this,g),e(this,y,void 0));get type(){return this.#i}set type(t){this.#i=t}#r=(e(this,A),()=>{this.parentElement.removeChild(this)});static styles=_t`
45
+ :host {
46
+ display: flex;
47
+ align-items: flex-start;
48
+ font-size: 13px;
49
+ border: 1px solid;
50
+ border-radius: 12px;
51
+ padding: 6px 12px;
52
+ box-sizing: border-box;
53
+ margin-bottom: 12px;
54
+ }
55
+
56
+ flex-row {
57
+ height: 24px;
58
+ box-sizing: border-box;
59
+ align-items: center;
60
+ }
61
+
62
+ strong {
63
+ font-size: 14px;
64
+ }
65
+ `;render(){return Y`
66
+ ${this.image?Y`<img src=${this.image} />`:""}
67
+ <flex-column>
68
+ <flex-row>
69
+ <strong>${this.title}</strong>
70
+ <flex-it></flex-it>
71
+ <custom-icon icon="close" @click=${this.#r}></custom-icon>
72
+ </flex-row>
73
+
74
+ <p>${this.message}</p>
75
+ </flex-column>
76
+ `}static{e(r,d)}},r})();export{Ht as CustomNotification};
@@ -1,297 +1,4 @@
1
- import{e,_ as t,a as s}from"./custom-element-BMhVvZjf.js";import{t as a,v as o,D as l,j as i}from"./property-Do5-bKhz.js";import{_ as r,a as n}from"./notification-Dwr0-l4e.js";import"./row-DNgwBcX5.js";import"./index-B3uz3f8C.js";import"./column-D2XB0lDz.js";
2
- /**
3
- * @license
4
- * Copyright 2022 Google LLC
5
- * SPDX-License-Identifier: Apache-2.0
6
- */(()=>{let t,s,i,c=[e("custom-elevation")],d=[],h=l,m=[],p=[];(class extends h{static{s=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;i=[a({type:Number,renders:!1})],r(this,null,i,{kind:"accessor",name:"level",static:!1,private:!1,access:{has:e=>"level"in e,get:e=>e.level,set:(e,t)=>{e.level=t}},metadata:e},m,p),r(null,t={value:s},c,{kind:"class",name:s.name,metadata:e},null,d),s=t.value,e&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),n(s,d)}#e=n(this,m,void 0);get level(){return this.#e}set level(e){this.#e=e}onChange(e,t){"level"===e&&this.style.setProperty("--md-elevation-level",String(t))}render(){return o`
7
- <style>
8
- :host {
9
- --_level: var(--md-elevation-level, 0);
10
- --_shadow-color: var(--md-sys-color-shadow);
11
- display: flex;
12
- pointer-events: none;
13
- }
14
-
15
- :host,
16
- .shadow,
17
- .shadow::before,
18
- .shadow::after {
19
- border-radius: inherit;
20
- inset: 0;
21
- position: absolute;
22
- transition-duration: inherit;
23
- transition-timing-function: inherit;
24
- }
25
-
26
- .shadow::before,
27
- .shadow::after {
28
- content: '';
29
- transition-property: box-shadow, opacity;
30
- }
31
-
32
- .shadow::before {
33
- box-shadow: 0px
34
- calc(
35
- 1px * (clamp(0, var(--_level), 1) + clamp(0, var(--_level) - 3, 1) + 2 * clamp(0, var(--_level) - 4, 1))
36
- )
37
- calc(
38
- 1px * (2 * clamp(0, var(--_level), 1) + clamp(0, var(--_level) - 2, 1) + clamp(0, var(--_level) - 4, 1))
39
- )
40
- 0px var(--_shadow-color);
41
- opacity: 0.3;
42
- }
43
-
44
- .shadow::after {
45
- box-shadow: 0px
46
- calc(
47
- 1px * (clamp(0, var(--_level), 1) + clamp(0, var(--_level) - 1, 1) + 2 * clamp(0, var(--_level) - 2, 3))
48
- )
49
- calc(1px * (3 * clamp(0, var(--_level), 2) + 2 * clamp(0, var(--_level) - 2, 3)))
50
- calc(1px * (clamp(0, var(--_level), 4) + 2 * clamp(0, var(--_level) - 4, 1))) var(--_shadow-color);
51
- opacity: 0.15;
52
- }
53
- </style>
54
-
55
- <span class="shadow"></span>
56
- `}constructor(){super(...arguments),n(this,p)}})})(),(()=>{let t,s,c,d,h,m,p=[e("custom-button")],u=[],v=l,y=[],g=[],b=[],f=[],_=[],x=[],w=[],k=[];(class extends v{static{s=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;c=[a({attribute:"has-icon",reflect:!0})],d=[a({attribute:"has-label",reflect:!0})],h=[a({attribute:"type",reflect:!0})],m=[a()],r(this,null,c,{kind:"accessor",name:"hasIcon",static:!1,private:!1,access:{has:e=>"hasIcon"in e,get:e=>e.hasIcon,set:(e,t)=>{e.hasIcon=t}},metadata:e},y,g),r(this,null,d,{kind:"accessor",name:"hasLabel",static:!1,private:!1,access:{has:e=>"hasLabel"in e,get:e=>e.hasLabel,set:(e,t)=>{e.hasLabel=t}},metadata:e},b,f),r(this,null,h,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:e},_,x),r(this,null,m,{kind:"accessor",name:"label",static:!1,private:!1,access:{has:e=>"label"in e,get:e=>e.label,set:(e,t)=>{e.label=t}},metadata:e},w,k),r(null,t={value:s},p,{kind:"class",name:s.name,metadata:e},null,u),s=t.value,e&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=n(this,y,void 0);get hasIcon(){return this.#t}set hasIcon(e){this.#t=e}#s=(n(this,g),n(this,b,void 0));get hasLabel(){return this.#s}set hasLabel(e){this.#s=e}#a=(n(this,f),n(this,_,"text"));get type(){return this.#a}set type(e){this.#a=e}#o=(n(this,x),n(this,w,void 0));get label(){return this.#o}set label(e){this.#o=e}static styles=[i`
57
- :host {
58
- color: var(--custom-button-color, --md-sys-color-on-background);
59
- display: flex;
60
-
61
- height: 40px;
62
- border-radius: 20px;
63
- position: relative;
64
- pointer-events: auto;
65
- cursor: pointer;
66
-
67
- --elevation-level: 0;
68
- }
69
-
70
- button {
71
- box-sizing: border-box;
72
- border: none;
73
- background: transparent;
74
- color: inherit;
75
- align-items: center;
76
- justify-content: center;
77
- user-select: none;
78
- outline: none;
79
- cursor: pointer;
80
- border-radius: inherit;
81
- padding: none;
82
- width: inherit;
83
- height: inherit;
84
- display: flex;
85
- pointer-events: none;
86
- }
87
-
88
- .label,
89
- ::slotted(*) {
90
- font-family: var(--md-sys-typescale-label-large-font-family-name);
91
- font-style: var(--md-sys-typescale-label-large-font-family-style);
92
- font-weight: var(--md-sys-typescale-label-large-font-weight);
93
- font-size: var(--md-sys-typescale-label-large-font-size);
94
- letter-spacing: var(--md-sys-typescale-label-large-tracking);
95
- line-height: var(--md-sys-typescale-label-large-height);
96
- text-transform: var(--md-sys-typescale-label-large-text-transform);
97
- text-decoration: var(--md-sys-typescale-label-large-text-decoration);
98
- }
99
-
100
- :host([type='filled']),
101
- :host([type='filled']) ::slotted(*) {
102
- color: var(--md-sys-color-on-primary);
103
- fill: var(--md-sys-color-on-primary);
104
- background: var(--md-sys-color-primary);
105
- }
106
-
107
- :host([type='outlined']),
108
- :host([type='outlined']) ::slotted(*) {
109
- color: var(--md-sys-color-on-surface);
110
- fill: var(--md-sys-color-on-surface);
111
- background: var(--md-sys-color-surface);
112
- border: solid 1px;
113
- border-color: var(--md-sys-color-outline);
114
- }
115
-
116
- :host([type='elevated']),
117
- :host([type='elevated']) ::slotted(*) {
118
- color: var(--md-sys-color-primary);
119
- fill: var(--md-sys-color-primary);
120
- background: var(--md-sys-color-surface-container-low);
121
- }
122
-
123
- :host([type='tertiary']),
124
- :host([type='tertiary']) ::slotted(*) {
125
- background: var(--md-sys-color-tertiary);
126
- color: var(--md-sys-color-on-tertiary);
127
- fill: var(--md-sys-color-on-tertiary);
128
- }
129
-
130
- :host([type='tonal']),
131
- :host([type='tonal']) ::slotted(*) {
132
- background: var(--md-sys-color-secondary-container);
133
- color: var(--md-sys-color-on-seconday-container);
134
- fill: var(--md-sys-color-on-seconday-container);
135
- }
136
-
137
- custom-elevation {
138
- --md-elevation-level: var(--elevation-level);
139
- }
140
-
141
- :host([type='elevated']) custom-elevation {
142
- --elevation-level: 1;
143
- }
144
-
145
- :host([type='filled']),
146
- :host([type='outlined']),
147
- :host([type='text']),
148
- :host([type='tonal']) {
149
- --elevation-level: 0;
150
- }
151
-
152
- :host([has-label]) .label {
153
- padding-left: 24px;
154
- padding-right: 24px;
155
- }
156
-
157
- :host([has-icon]:not([has-label])) {
158
- border-radius: 50%;
159
- width: 40px;
160
- align-items: center;
161
- justify-content: center;
162
- }
163
-
164
- :host([has-icon][has-label]) .label {
165
- padding-left: 8px;
166
- padding-right: 24px;
167
- }
168
- :host([has-icon][has-label]) slot[name='icon']::slotted(*) {
169
- padding-left: 16px;
170
- }
171
-
172
- :host([disabled]) .label,
173
- :host([disabled]) slot[name='icon']::slotted(*) {
174
- opacity: 0.38;
175
- }
176
-
177
- ::slotted(*) {
178
- pointer-events: none;
179
- }
180
-
181
- :host(:focus),
182
- :host(:hover) {
183
- --elevation-level: 2;
184
- }
185
-
186
- :host(:active) {
187
- --elevation-level: 0;
188
- }
189
-
190
- button * {
191
- pointer-events: none;
192
- }
193
- `];connectedCallback(){const e=Array.from(this.shadowRoot.querySelectorAll("slot"));for(const t of e)t.addEventListener("slotchange",(()=>this.#l(t)));this.#l(e[0])}onChange(e,t){"label"===e&&(this.hasLabel=!!t)}#l=(n(this,k),e=>{"icon"===e.getAttribute("name")&&(this.hasIcon=0!==Array.from(e?.assignedNodes()||[]).length)});render(){return o`
194
- <button label=${this.label}>
195
- <custom-elevation></custom-elevation>
196
- <slot name="icon"></slot>
197
- <span class="label">${this.label}</span>
198
- </button>
199
- `}static{n(s,u)}})})(),(()=>{let t,s,i,c,d,h,m,p,u=[e("custom-pane")],v=[],y=l,g=[],b=[],f=[],_=[],x=[],w=[],k=[],S=[],j=[],z=[],L=[],I=[];(class extends y{static{s=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;i=[a({type:Boolean,reflect:!0})],c=[a({type:Boolean,reflect:!0})],d=[a({type:String,reflect:!0})],h=[a({type:Boolean,reflect:!0})],m=[a({type:Boolean,reflect:!0})],p=[a({type:String})],r(this,null,i,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:e},g,b),r(this,null,c,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:e},f,_),r(this,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:e},x,w),r(this,null,h,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:e=>"left"in e,get:e=>e.left,set:(e,t)=>{e.left=t}},metadata:e},k,S),r(this,null,m,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:e=>"right"in e,get:e=>e.right,set:(e,t)=>{e.right=t}},metadata:e},j,z),r(this,null,p,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:e},L,I),r(null,t={value:s},u,{kind:"class",name:s.name,metadata:e},null,v),s=t.value,e&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),n(s,v)}#i=n(this,g,!1);get open(){return this.#i}set open(e){this.#i=e}#r=(n(this,b),n(this,f,!1));get mobile(){return this.#r}set mobile(e){this.#r=e}#a=(n(this,_),n(this,x,void 0));get type(){return this.#a}set type(e){this.#a=e}#n=(n(this,w),n(this,k,!0));get left(){return this.#n}set left(e){this.#n=e}#c=(n(this,S),n(this,j,!1));get right(){return this.#c}set right(e){this.#c=e}#d=(n(this,z),n(this,L,void 0));get id(){return this.#d}set id(e){this.#d=e}closePane(e){e.stopPropagation(),this.open=!1,document.dispatchEvent(new CustomEvent("custom-pane-close",{detail:this.id||""+(this.left?"left":"right")}))}render(){return o`<style>
200
- :host {
201
- --custom-pane-width: 100%;
202
- display: flex;
203
- flex-direction: column;
204
- height: 100%;
205
- background: var(--md-sys-color-surface);
206
- color: var(--md-sys-color-on-surface);
207
- position: relative;
208
- /* border-radius: 12px; */
209
-
210
- --md-elevation-level: 0;
211
-
212
- pointer-events: none;
213
- opacity: 0;
214
- width: 100%;
215
- max-width: var(--custom-pane-width);
216
- transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
217
- var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
218
- }
219
-
220
- :host([left]) {
221
- border-radius: var(--md-sys-shape-corner-large-end);
222
- transform: translateX(-100%);
223
- z-index: 1002;
224
- }
225
-
226
- :host([right]) {
227
- border-radius: var(--md-sys-shape-corner-large-start);
228
- transform: translateX(100%);
229
- z-index: 1001;
230
- }
231
-
232
- :host([mobile]) {
233
- inset: 0;
234
- position: fixed;
235
- z-index: 1001;
236
- }
237
-
238
- :host([type='modal']) {
239
- --md-elevation-level: 1;
240
- }
241
-
242
- :host([open]) {
243
- transform: translateX(0);
244
- opacity: 1;
245
- pointer-events: auto;
246
- transition: var(--md-sys-motion-easing-emphasized-decelerate) 500ms opacity,
247
- var(--md-sys-motion-easing-emphasized-decelerate) 500ms transform;
248
- }
249
-
250
- :host([open]) {
251
- position: relative;
252
- }
253
-
254
- :host([open][mobile]) {
255
- position: fixed;
256
- }
257
-
258
- aside {
259
- width: 100%;
260
- height: 100%;
261
- }
262
-
263
- .content {
264
- height: calc(100% - 54px);
265
- width: 100%;
266
- overflow-y: auto;
267
- }
268
-
269
- .footer {
270
- height: 54px;
271
- }
272
-
273
- :host([right]) custom-button {
274
- transform: rotateZ(180deg);
275
- }
276
- </style>
277
- <custom-elevation></custom-elevation>
278
- <aside>
279
- <slot name="header">
280
- <flex-row center>
281
- <slot name="headline"></slot>
282
- <flex-it></flex-it>
283
- <custom-button @click=${e=>this.closePane(e)} .id=${this.id}>
284
- <custom-icon slot="icon">menu_open</custom-icon>
285
- </custom-button>
286
- </flex-row>
287
- </slot>
288
- <flex-column class="content">
289
- <slot name="content"></slot>
290
- </flex-column>
291
- <flex-row class="footer">
292
- <slot name="footer"></slot>
293
- </flex-row>
294
- </aside> `}constructor(){super(...arguments),n(this,I)}})})();let c=(()=>{let r,n,c,d=[e("custom-notifications")],h=[],m=l,p=[],u=[];return class extends m{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;c=[a({type:Boolean,reflect:!0})],t(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:e},p,u),t(null,r={value:n},d,{kind:"class",name:n.name,metadata:e},null,h),n=r.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#i=s(this,p,void 0);get open(){return this.#i}set open(e){this.#i=e}get#h(){return this.shadowRoot.querySelector(".list")}createNotification({title:e,message:t,image:s},a=3e3){const o=document.createElement("custom-notification");o.title=e,o.message=t,o.image=s,a&&setTimeout((()=>{this.removeChild(o);const a=document.createElement("custom-notification");a.image=s,a.title=e,a.message=t,this.#h.appendChild(a)}),a),this.appendChild(o)}#m(){const e=Array.from(this.#h.querySelectorAll("custom-notification"));for(const t of e)this.#h.removeChild(t);this.open=!1}static styles=[i`
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{t as o,j as i,v as s,D as n}from"./property-Do5-bKhz.js";import{e as l}from"./custom-element-DIOmDbQp.js";import"./notification.js";import"@vandeurenglenn/lite-elements/icon.js";import"@vandeurenglenn/lite-elements/pane.js";import"./row-DNgwBcX5.js";import"./column-D2XB0lDz.js";let a=(()=>{let a,r,c,p=[l("custom-notifications")],m=[],u=n,h=[],d=[];return class extends u{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],t(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},h,d),t(null,a={value:r},p,{kind:"class",name:r.name,metadata:e},null,m),r=a.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,h,void 0);get open(){return this.#t}set open(t){this.#t=t}get _list(){return this.shadowRoot.querySelector(".list")}createNotification({title:t,message:e,image:o},i=3e3){const s=document.createElement("custom-notification");s.title=t,s.message=e,s.image=o,i&&setTimeout((()=>{this.removeChild(s);const i=document.createElement("custom-notification");i.image=o,i.title=t,i.message=e,this._list.appendChild(i)}),i),this.appendChild(s)}_onclick(){const t=Array.from(this._list.querySelectorAll("custom-notification"));for(const e of t)this._list.removeChild(e);this.open=!1}static styles=[i`
295
2
  :host {
296
3
  display: flex;
297
4
  flex-direction: column;
@@ -334,12 +41,12 @@ import{e,_ as t,a as s}from"./custom-element-BMhVvZjf.js";import{t as a,v as o,D
334
41
  custom-icon {
335
42
  pointer-events: auto;
336
43
  }
337
- `];render(){return o`
44
+ `];render(){return s`
338
45
  <flex-row style="margin-top: 12px;margin-right: 12px;">
339
46
  <flex-it></flex-it>
340
47
  <custom-icon
341
48
  icon="notifications"
342
- @click=${()=>{0!==this.#h.childElementCount&&(this.open=!this.open)}}
49
+ @click=${()=>{0!==this._list.childElementCount&&(this.open=!this.open)}}
343
50
  ></custom-icon>
344
51
  </flex-row>
345
52
 
@@ -353,7 +60,7 @@ import{e,_ as t,a as s}from"./custom-element-BMhVvZjf.js";import{t as a,v as o,D
353
60
 
354
61
  <flex-row slot="footer" width="100%">
355
62
  <flex-it></flex-it>
356
- <custom-icon style="margin-right: 24px;" icon="clear-all" @click="${this.#m}"></custom-icon>
63
+ <custom-icon style="margin-right: 24px;" icon="clear-all" @click="${this._onclick}"></custom-icon>
357
64
  </flex-row>
358
65
  </custom-pane>
359
- `}constructor(){super(...arguments),s(this,u)}static{s(n,h)}},n})();export{c as CustomNotifications};
66
+ `}constructor(){super(...arguments),e(this,d)}static{e(r,m)}},r})();export{a as CustomNotifications};
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t,e as s}from"./custom-element-BMhVvZjf.js";import{t as o,v as a,D as i}from"./property-Do5-bKhz.js";import"./elevation.js";import"./button.js";import"./icon.js";import"./index-B3uz3f8C.js";let r=(()=>{let r,n,c,l,m,h,d,p,g=[s("custom-pane")],u=[],f=i,y=[],_=[],v=[],b=[],x=[],w=[],k=[],j=[],z=[],S=[],B=[],P=[];return class extends f{static{n=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],l=[o({type:Boolean,reflect:!0})],m=[o({type:String,reflect:!0})],h=[o({type:Boolean,reflect:!0})],d=[o({type:Boolean,reflect:!0})],p=[o({type:String})],e(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:s},y,_),e(this,null,l,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:s},v,b),e(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:s},x,w),e(this,null,h,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:e=>"left"in e,get:e=>e.left,set:(e,t)=>{e.left=t}},metadata:s},k,j),e(this,null,d,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:e=>"right"in e,get:e=>e.right,set:(e,t)=>{e.right=t}},metadata:s},z,S),e(this,null,p,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:s},B,P),e(null,r={value:n},g,{kind:"class",name:n.name,metadata:s},null,u),n=r.value,s&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),t(n,u)}#e=t(this,y,!1);get open(){return this.#e}set open(e){this.#e=e}#t=(t(this,_),t(this,v,!1));get mobile(){return this.#t}set mobile(e){this.#t=e}#s=(t(this,b),t(this,x,void 0));get type(){return this.#s}set type(e){this.#s=e}#o=(t(this,w),t(this,k,!0));get left(){return this.#o}set left(e){this.#o=e}#a=(t(this,j),t(this,z,!1));get right(){return this.#a}set right(e){this.#a=e}#i=(t(this,S),t(this,B,void 0));get id(){return this.#i}set id(e){this.#i=e}closePane(e){e.stopPropagation(),this.open=!1,document.dispatchEvent(new CustomEvent("custom-pane-close",{detail:this.id||""+(this.left?"left":"right")}))}render(){return a`<style>
1
+ import{_ as e,a as t}from"./tslib.es6-B0cSixZg.js";import{t as s,v as o,D as a}from"./property-Do5-bKhz.js";import{e as i}from"./custom-element-DIOmDbQp.js";import"./elevation.js";import"./button.js";import"./icon.js";import"./index-B3uz3f8C.js";let r=(()=>{let r,n,c,l,m,h,d,p,g=[i("custom-pane")],u=[],f=a,y=[],_=[],v=[],b=[],x=[],w=[],j=[],k=[],z=[],S=[],B=[],P=[];return class extends f{static{n=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;c=[s({type:Boolean,reflect:!0})],l=[s({type:Boolean,reflect:!0})],m=[s({type:String,reflect:!0})],h=[s({type:Boolean,reflect:!0})],d=[s({type:Boolean,reflect:!0})],p=[s({type:String})],e(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:o},y,_),e(this,null,l,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:o},v,b),e(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:o},x,w),e(this,null,h,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:e=>"left"in e,get:e=>e.left,set:(e,t)=>{e.left=t}},metadata:o},j,k),e(this,null,d,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:e=>"right"in e,get:e=>e.right,set:(e,t)=>{e.right=t}},metadata:o},z,S),e(this,null,p,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:o},B,P),e(null,r={value:n},g,{kind:"class",name:n.name,metadata:o},null,u),n=r.value,o&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o}),t(n,u)}#e=t(this,y,!1);get open(){return this.#e}set open(e){this.#e=e}#t=(t(this,_),t(this,v,!1));get mobile(){return this.#t}set mobile(e){this.#t=e}#s=(t(this,b),t(this,x,void 0));get type(){return this.#s}set type(e){this.#s=e}#o=(t(this,w),t(this,j,!0));get left(){return this.#o}set left(e){this.#o=e}#a=(t(this,k),t(this,z,!1));get right(){return this.#a}set right(e){this.#a=e}#i=(t(this,S),t(this,B,void 0));get id(){return this.#i}set id(e){this.#i=e}closePane(e){e.stopPropagation(),this.open=!1,document.dispatchEvent(new CustomEvent("custom-pane-close",{detail:this.id||""+(this.left?"left":"right")}))}render(){return o`<style>
2
2
  :host {
3
3
  --custom-pane-width: 100%;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e,e as s}from"./custom-element-BMhVvZjf.js";import{t as o,v as a,D as i}from"./property-Do5-bKhz.js";import"./pane.js";import"./elevation.js";import"./button.js";import"./icon.js";import"./index-B3uz3f8C.js";let l=(()=>{let l,r,n,c,m,p,h=[s("custom-rail")],d=[],y=i,g=[],u=[],b=[],f=[],_=[],v=[],x=[],j=[];return class extends y{static{r=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;n=[o({type:Boolean,reflect:!0})],c=[o({type:Boolean,reflect:!0})],m=[o({type:String,reflect:!0})],p=[o({type:Boolean})],t(this,null,n,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:s},g,u),t(this,null,c,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:s},b,f),t(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:s},_,v),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:s},x,j),t(null,l={value:r},h,{kind:"class",name:r.name,metadata:s},null,d),r=l.value,s&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(r,d)}#t=e(this,g,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,u),e(this,b,!1));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,f),e(this,_,void 0));get type(){return this.#s}set type(t){this.#s=t}#o=(e(this,v),e(this,x,!1));get right(){return this.#o}set right(t){this.#o=t}render(){return a`<style>
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{t as s,v as o,D as a}from"./property-Do5-bKhz.js";import{e as i}from"./custom-element-DIOmDbQp.js";import"./pane.js";import"./elevation.js";import"./button.js";import"./icon.js";import"./index-B3uz3f8C.js";let l=(()=>{let l,r,n,c,m,p,h=[i("custom-rail")],d=[],y=a,g=[],u=[],b=[],f=[],_=[],v=[],x=[],j=[];return class extends y{static{r=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;n=[s({type:Boolean,reflect:!0})],c=[s({type:Boolean,reflect:!0})],m=[s({type:String,reflect:!0})],p=[s({type:Boolean})],t(this,null,n,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:o},g,u),t(this,null,c,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:o},b,f),t(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:o},_,v),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:o},x,j),t(null,l={value:r},h,{kind:"class",name:r.name,metadata:o},null,d),r=l.value,o&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o}),e(r,d)}#t=e(this,g,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,u),e(this,b,!1));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,f),e(this,_,void 0));get type(){return this.#s}set type(t){this.#s=t}#o=(e(this,v),e(this,x,!1));get right(){return this.#o}set right(t){this.#o=t}render(){return o`<style>
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e,e as a}from"./custom-element-BMhVvZjf.js";import{j as o,v as s,D as l}from"./property-Do5-bKhz.js";import"./theme.js";let m=(()=>{let m,r,n=[a("custom-root")],c=[],i=l;return class extends i{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,m={value:r},n,{kind:"class",name:r.name,metadata:e},null,c),r=m.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[o`
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{j as a,v as s,D as o}from"./property-Do5-bKhz.js";import{e as l}from"./custom-element-DIOmDbQp.js";import"./theme.js";let m=(()=>{let m,r,n=[l("custom-root")],c=[],i=o;return class extends i{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,m={value:r},n,{kind:"class",name:r.name,metadata:e},null,c),r=m.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[a`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -1,11 +1,11 @@
1
- import{_ as e,a as t,e as o}from"./custom-element-BMhVvZjf.js";import{j as s,v as a,D as l}from"./property-Do5-bKhz.js";import"./section2.js";import"./code.js";import"./scroll-mixin.js";import"./elevation.js";let c=(()=>{let c,n,r=[o("demo-section")],i=[],m=l;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,c={value:n},r,{kind:"class",name:n.name,metadata:t},null,i),n=c.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}async connectedCallback(){const e=this.shadowRoot.querySelector("slot").assignedElements();for(const o of e){const e=document.createElement("demo-code");e.code=await(t=o.outerHTML,t.replace(/(\ <\/(?=[^<\/]*$))/g,"<")),o.after(e)}var t}static styles=[s`
1
+ import{_ as e,a as t}from"./tslib.es6-B0cSixZg.js";import{j as o,v as s,D as a}from"./property-Do5-bKhz.js";import{e as l}from"./custom-element-DIOmDbQp.js";import"./section2.js";import"./code.js";import"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,c,n=[l("demo-section")],i=[],m=a;return class extends m{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:c},n,{kind:"class",name:c.name,metadata:t},null,i),c=r.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}async connectedCallback(){const e=this.shadowRoot.querySelector("slot").assignedElements();for(const o of e){const e=document.createElement("demo-code");e.code=await(t=o.outerHTML,t.replace(/(\ <\/(?=[^<\/]*$))/g,"<")),o.after(e)}var t}static styles=[o`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  box-sizing: border-box;
6
6
  }
7
- `];render(){return a`
7
+ `];render(){return s`
8
8
  <custom-section>
9
9
  <slot></slot>
10
10
  </custom-section>
11
- `}static{t(n,i)}},n})();export{c as DemoSection};
11
+ `}static{t(c,i)}},c})();export{r as DemoSection};
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t,e as a}from"./custom-element-BMhVvZjf.js";import{j as o,v as l,D as n}from"./property-Do5-bKhz.js";import{ScrollMixin as s}from"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,i,m=[a("custom-section")],c=[],u=s(n);return class extends u{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;e(null,r={value:i},m,{kind:"class",name:i.name,metadata:t},null,c),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[o`
1
+ import{_ as e,a as t}from"./tslib.es6-B0cSixZg.js";import{j as a,v as o,D as l}from"./property-Do5-bKhz.js";import{e as n}from"./custom-element-DIOmDbQp.js";import{ScrollMixin as s}from"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,i,m=[n("custom-section")],c=[],u=s(l);return class extends u{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;e(null,r={value:i},m,{kind:"class",name:i.name,metadata:t},null,c),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -16,7 +16,7 @@ import{_ as e,a as t,e as a}from"./custom-element-BMhVvZjf.js";import{j as o,v a
16
16
  .content {
17
17
  max-width: 720px;
18
18
  }
19
- `];render(){return l`
19
+ `];render(){return o`
20
20
  <flex-column class="container">
21
21
  <flex-column class="content">
22
22
  <slot></slot>
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t,e as a}from"./custom-element-BMhVvZjf.js";import{j as o,v as l}from"./property-Do5-bKhz.js";import{SelectorBase as s}from"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,n,c=[a("custom-selector")],i=[],m=s;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:n},c,{kind:"class",name:n.name,metadata:t},null,i),n=r.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[o`
1
+ import{_ as e,a as t}from"./tslib.es6-B0cSixZg.js";import{j as a,v as o}from"./property-Do5-bKhz.js";import{e as l}from"./custom-element-DIOmDbQp.js";import{SelectorBase as s}from"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,n,c=[l("custom-selector")],i=[],m=s;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:n},c,{kind:"class",name:n.name,metadata:t},null,i),n=r.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -28,4 +28,4 @@ import{_ as e,a as t,e as a}from"./custom-element-BMhVvZjf.js";import{j as o,v a
28
28
  background: var(--md-sys-color-secondary-container-hover);
29
29
  color: var(--md-sys-color-on-secondary-container);
30
30
  }
31
- `];render(){return l`<slot></slot>`}static{t(n,i)}},n})();export{r as CustomSelector};
31
+ `];render(){return o`<slot></slot>`}static{t(n,i)}},n})();export{r as CustomSelector};
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e,e as s}from"./custom-element-BMhVvZjf.js";import{v as i,D as a}from"./property-Do5-bKhz.js";let l=(()=>{let l,o,r=[s("custom-summary-mirror")],m=[],h=a;return class extends h{static{o=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;t(null,l={value:o},r,{kind:"class",name:o.name,metadata:s},null,m),o=l.value,s&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(o,m)}connectedCallback(){const t=window.matchMedia("(min-width: 1200px)");this._matches(t),this._matches=this._matches.bind(this),t.onchange=this._matches}_matches({matches:t}){const e=this.querySelector('[slot="left"]'),s=this.querySelector('[slot="right"]');t?s.hasAttribute("switched")&&(e.removeAttribute("switched"),e.setAttribute("slot","right"),s.setAttribute("slot","left")):(e.setAttribute("switched",""),e.setAttribute("slot","right"),s.setAttribute("slot","left"))}get template(){return i`
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{v as s,D as i}from"./property-Do5-bKhz.js";import{e as l}from"./custom-element-DIOmDbQp.js";let a=(()=>{let a,o,r=[l("custom-summary-mirror")],m=[],h=i;return class extends h{static{o=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;t(null,a={value:o},r,{kind:"class",name:o.name,metadata:s},null,m),o=a.value,s&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(o,m)}connectedCallback(){const t=window.matchMedia("(min-width: 1200px)");this._matches(t),this._matches=this._matches.bind(this),t.onchange=this._matches}_matches({matches:t}){const e=this.querySelector('[slot="left"]'),s=this.querySelector('[slot="right"]');t?s.hasAttribute("switched")&&(e.removeAttribute("switched"),e.setAttribute("slot","right"),s.setAttribute("slot","left")):(e.setAttribute("switched",""),e.setAttribute("slot","right"),s.setAttribute("slot","left"))}get template(){return s`
2
2
  <style>
3
3
  :host {
4
4
  display: flex;
@@ -17,4 +17,4 @@ import{_ as t,a as e,e as s}from"./custom-element-BMhVvZjf.js";import{v as i,D a
17
17
  </style>
18
18
  <slot name="left"></slot>
19
19
  <slot name="right"></slot>
20
- `}},o})();export{l as CustomSummaryMirror};
20
+ `}},o})();export{a as CustomSummaryMirror};
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e,e as a}from"./custom-element-BMhVvZjf.js";import{j as l,v as o,D as i}from"./property-Do5-bKhz.js";let s=(()=>{let s,m,n=[a("custom-summary")],r=[],d=i;return class extends d{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;t(null,s={value:m},n,{kind:"class",name:m.name,metadata:e},null,r),m=s.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[l`
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{j as a,v as l,D as o}from"./property-Do5-bKhz.js";import{e as s}from"./custom-element-DIOmDbQp.js";let i=(()=>{let i,m,n=[s("custom-summary")],r=[],d=o;return class extends d{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;t(null,i={value:m},n,{kind:"class",name:m.name,metadata:e},null,r),m=i.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[a`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -19,7 +19,7 @@ import{_ as t,a as e,e as a}from"./custom-element-BMhVvZjf.js";import{j as l,v a
19
19
  padding-bottom: 0;
20
20
  }
21
21
  }
22
- `];render(){return o`
22
+ `];render(){return l`
23
23
  <slot name="left"></slot>
24
24
  <slot name="right"></slot>
25
- `}static{e(m,r)}},m})();export{s as CustomSummary};
25
+ `}static{e(m,r)}},m})();export{i as CustomSummary};
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e,e as s}from"./custom-element-BMhVvZjf.js";import{t as a,v as o,D as i}from"./property-Do5-bKhz.js";import{t as r}from"./query-D-PG8Oyh.js";import"./pane.js";import"./elevation.js";import"./button.js";import"./icon.js";import"./index-B3uz3f8C.js";let n=(()=>{let n,c,p,l,d,u,h,m=[s("custom-supporting-pane")],g=[],v=i,_=[],f=[],y=[],b=[],x=[],j=[],w=[],k=[],S=[],C=[];return class extends v{static{c=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;p=[a({type:Boolean,reflect:!0})],l=[a({type:String,reflect:!0})],d=[a({type:Boolean,reflect:!0})],u=[a({type:String})],h=[r(".support")],t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:s},_,f),t(this,null,l,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:t=>"variant"in t,get:t=>t.variant,set:(t,e)=>{t.variant=e}},metadata:s},y,b),t(this,null,d,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:t=>"left"in t,get:t=>t.left,set:(t,e)=>{t.left=e}},metadata:s},x,j),t(this,null,u,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:s},w,k),t(this,null,h,{kind:"accessor",name:"supporting",static:!1,private:!1,access:{has:t=>"supporting"in t,get:t=>t.supporting,set:(t,e)=>{t.supporting=e}},metadata:s},S,C),t(null,n={value:c},m,{kind:"class",name:c.name,metadata:s},null,g),c=n.value,s&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(c,g)}#t=e(this,_,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,f),e(this,y,"expanded"));get variant(){return this.#e}set variant(t){this.#e=t}#s=(e(this,b),e(this,x,!1));get left(){return this.#s}set left(t){this.#s=t}#a=(e(this,j),e(this,w,void 0));get id(){return this.#a}set id(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get supporting(){return this.#o}set supporting(t){this.#o=t}onPaneClose({detail:t}){this.id===t&&(this.open=!1)}connectedCallback(){document.addEventListener("custom-pane-close",this.onPaneClose.bind(this)),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}render(){return o`<style>
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{t as s,v as a,D as o}from"./property-Do5-bKhz.js";import{t as i}from"./query-D-PG8Oyh.js";import{e as r}from"./custom-element-DIOmDbQp.js";import"./pane.js";import"./elevation.js";import"./button.js";import"./icon.js";import"./index-B3uz3f8C.js";let n=(()=>{let n,c,p,l,d,u,h,m=[r("custom-supporting-pane")],g=[],v=o,_=[],f=[],y=[],b=[],j=[],x=[],w=[],k=[],S=[],C=[];return class extends v{static{c=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;p=[s({type:Boolean,reflect:!0})],l=[s({type:String,reflect:!0})],d=[s({type:Boolean,reflect:!0})],u=[s({type:String})],h=[i(".support")],t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:a},_,f),t(this,null,l,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:t=>"variant"in t,get:t=>t.variant,set:(t,e)=>{t.variant=e}},metadata:a},y,b),t(this,null,d,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:t=>"left"in t,get:t=>t.left,set:(t,e)=>{t.left=e}},metadata:a},j,x),t(this,null,u,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:a},w,k),t(this,null,h,{kind:"accessor",name:"supporting",static:!1,private:!1,access:{has:t=>"supporting"in t,get:t=>t.supporting,set:(t,e)=>{t.supporting=e}},metadata:a},S,C),t(null,n={value:c},m,{kind:"class",name:c.name,metadata:a},null,g),c=n.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(c,g)}#t=e(this,_,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,f),e(this,y,"expanded"));get variant(){return this.#e}set variant(t){this.#e=t}#s=(e(this,b),e(this,j,!1));get left(){return this.#s}set left(t){this.#s=t}#a=(e(this,x),e(this,w,void 0));get id(){return this.#a}set id(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get supporting(){return this.#o}set supporting(t){this.#o=t}onPaneClose({detail:t}){this.id===t&&(this.open=!1)}connectedCallback(){document.addEventListener("custom-pane-close",this.onPaneClose.bind(this)),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}render(){return a`<style>
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{_ as t,a as e,e as a}from"./custom-element-BMhVvZjf.js";import{v as o,D as n}from"./property-Do5-bKhz.js";let r=(()=>{let r,l,s=[a("custom-tab")],i=[],p=n;return class extends p{static{l=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(p[Symbol.metadata]??null):void 0;t(null,r={value:l},s,{kind:"class",name:l.name,metadata:a},null,i),l=r.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(l,i)}render(){return o`
1
+ import{_ as t,a as e}from"./tslib.es6-B0cSixZg.js";import{v as a,D as o}from"./property-Do5-bKhz.js";import{e as n}from"./custom-element-DIOmDbQp.js";let r=(()=>{let r,s,l=[n("custom-tab")],i=[],m=o;return class extends m{static{s=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,r={value:s},l,{kind:"class",name:s.name,metadata:a},null,i),s=r.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(s,i)}render(){return a`
2
2
  <style>
3
3
  :host {
4
4
  display: flex;
@@ -19,4 +19,4 @@ import{_ as t,a as e,e as a}from"./custom-element-BMhVvZjf.js";import{v as o,D a
19
19
  }
20
20
  </style>
21
21
  <slot></slot>
22
- `}},l})();export{r as CustomTab};
22
+ `}},s})();export{r as CustomTab};