@covalent/components 1.0.14 → 4.8.1
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.
- package/actionRibbon.js +6 -182
- package/actionRibbon.js.LICENSE.txt +75 -0
- package/alert.js +8 -187
- package/alert.js.LICENSE.txt +75 -0
- package/appShell.js +61 -366
- package/appShell.js.LICENSE.txt +131 -0
- package/button.js +9 -251
- package/button.js.LICENSE.txt +91 -0
- package/checkbox.js +12 -242
- package/checkbox.js.LICENSE.txt +91 -0
- package/circularProgress.js +22 -148
- package/circularProgress.js.LICENSE.txt +41 -0
- package/dialog.js +6 -242
- package/dialog.js.LICENSE.txt +165 -0
- package/drawer.js +7 -174
- package/drawer.js.LICENSE.txt +90 -0
- package/emptyState.js +25 -0
- package/emptyState.js.LICENSE.txt +29 -0
- package/formField.js +4 -154
- package/formField.js.LICENSE.txt +61 -0
- package/icon.js +2 -99
- package/icon.js.LICENSE.txt +29 -0
- package/iconButton.js +9 -239
- package/iconButton.js.LICENSE.txt +85 -0
- package/iconCheckbox.js +51 -0
- package/iconCheckbox.js.LICENSE.txt +91 -0
- package/iconRadio.js +43 -0
- package/iconRadio.js.LICENSE.txt +85 -0
- package/icons/covalent-icons.css +138 -114
- package/icons/covalent-icons.eot +0 -0
- package/icons/covalent-icons.svg +6 -1
- package/icons/covalent-icons.ttf +0 -0
- package/icons/covalent-icons.woff +0 -0
- package/index.js +691 -1632
- package/index.js.LICENSE.txt +206 -0
- package/linearProgress.js +10 -136
- package/linearProgress.js.LICENSE.txt +41 -0
- package/list.js +30 -330
- package/list.js.LICENSE.txt +125 -0
- package/listExpansion.js +41 -340
- package/listExpansion.js.LICENSE.txt +125 -0
- package/listItem.js +13 -250
- package/listItem.js.LICENSE.txt +79 -0
- package/listRadioItem.js +36 -308
- package/listRadioItem.js.LICENSE.txt +85 -0
- package/menu.js +53 -455
- package/menu.js.LICENSE.txt +125 -0
- package/package.json +14 -5
- package/radio.js +9 -251
- package/radio.js.LICENSE.txt +85 -0
- package/select.js +83 -531
- package/select.js.LICENSE.txt +131 -0
- package/slider.js +16 -320
- package/slider.js.LICENSE.txt +108 -0
- package/sliderRange.js +28 -332
- package/sliderRange.js.LICENSE.txt +108 -0
- package/snackBar.js +6 -171
- package/snackBar.js.LICENSE.txt +85 -0
- package/styles.css +1 -1
- package/styles.js +1 -1
- package/switch.js +13 -310
- package/switch.js.LICENSE.txt +108 -0
- package/tab.js +13 -255
- package/tab.js.LICENSE.txt +79 -0
- package/tabBar.js +15 -314
- package/tabBar.js.LICENSE.txt +79 -0
- package/textArea.js +49 -244
- package/textArea.js.LICENSE.txt +85 -0
- package/textField.js +38 -221
- package/textField.js.LICENSE.txt +85 -0
- package/theme.css +1 -1
- package/theme.js +1 -1
- package/toolbar.js +39 -0
- package/toolbar.js.LICENSE.txt +96 -0
- package/topAppBar.js +5 -178
- package/topAppBar.js.LICENSE.txt +102 -0
- package/topAppBarFixed.js +5 -184
- package/topAppBarFixed.js.LICENSE.txt +102 -0
- package/treeList.js +8 -0
- package/treeList.js.LICENSE.txt +17 -0
- package/treeListItem.js +24 -0
- package/treeListItem.js.LICENSE.txt +23 -0
- package/appDetail.js +0 -69
- package/components/src/action-ribbon/action-ribbon-base.d.ts +0 -30
- package/components/src/action-ribbon/action-ribbon-base.d.ts.map +0 -1
- package/components/src/action-ribbon/action-ribbon.d.ts +0 -15
- package/components/src/action-ribbon/action-ribbon.d.ts.map +0 -1
- package/components/src/action-ribbon/foundation.d.ts +0 -53
- package/components/src/action-ribbon/foundation.d.ts.map +0 -1
- package/components/src/alert/alert-base.d.ts +0 -31
- package/components/src/alert/alert-base.d.ts.map +0 -1
- package/components/src/alert/alert.d.ts +0 -15
- package/components/src/alert/alert.d.ts.map +0 -1
- package/components/src/app-detail/app-detail-base.d.ts +0 -5
- package/components/src/app-detail/app-detail-base.d.ts.map +0 -1
- package/components/src/app-detail/app-detail.d.ts +0 -10
- package/components/src/app-detail/app-detail.d.ts.map +0 -1
- package/components/src/app-shell/app-shell.d.ts +0 -27
- package/components/src/app-shell/app-shell.d.ts.map +0 -1
- package/components/src/button/button.d.ts +0 -10
- package/components/src/button/button.d.ts.map +0 -1
- package/components/src/card/card-base.d.ts +0 -17
- package/components/src/card/card-base.d.ts.map +0 -1
- package/components/src/card/card.d.ts +0 -10
- package/components/src/card/card.d.ts.map +0 -1
- package/components/src/checkbox/checkbox.d.ts +0 -10
- package/components/src/checkbox/checkbox.d.ts.map +0 -1
- package/components/src/chips/chip-base.d.ts +0 -52
- package/components/src/chips/chip-base.d.ts.map +0 -1
- package/components/src/chips/chip-set-base.d.ts +0 -33
- package/components/src/chips/chip-set-base.d.ts.map +0 -1
- package/components/src/chips/chip-set.d.ts +0 -15
- package/components/src/chips/chip-set.d.ts.map +0 -1
- package/components/src/chips/chip.d.ts +0 -15
- package/components/src/chips/chip.d.ts.map +0 -1
- package/components/src/chips/foundation.d.ts +0 -38
- package/components/src/chips/foundation.d.ts.map +0 -1
- package/components/src/circular-progress/circular-progress.d.ts +0 -10
- package/components/src/circular-progress/circular-progress.d.ts.map +0 -1
- package/components/src/dialog/dialog.d.ts +0 -10
- package/components/src/dialog/dialog.d.ts.map +0 -1
- package/components/src/drawer/drawer.d.ts +0 -10
- package/components/src/drawer/drawer.d.ts.map +0 -1
- package/components/src/formfield/formfield.d.ts +0 -10
- package/components/src/formfield/formfield.d.ts.map +0 -1
- package/components/src/icon/icon.d.ts +0 -10
- package/components/src/icon/icon.d.ts.map +0 -1
- package/components/src/icon-button/icon-button.d.ts +0 -10
- package/components/src/icon-button/icon-button.d.ts.map +0 -1
- package/components/src/index.d.ts +0 -29
- package/components/src/index.d.ts.map +0 -1
- package/components/src/linear-progress/linear-progress.d.ts +0 -10
- package/components/src/linear-progress/linear-progress.d.ts.map +0 -1
- package/components/src/list/check-list-item.d.ts +0 -10
- package/components/src/list/check-list-item.d.ts.map +0 -1
- package/components/src/list/list-expansion.d.ts +0 -14
- package/components/src/list/list-expansion.d.ts.map +0 -1
- package/components/src/list/list-item.d.ts +0 -12
- package/components/src/list/list-item.d.ts.map +0 -1
- package/components/src/list/list.d.ts +0 -10
- package/components/src/list/list.d.ts.map +0 -1
- package/components/src/list/radio-list-item.d.ts +0 -10
- package/components/src/list/radio-list-item.d.ts.map +0 -1
- package/components/src/menu/menu.d.ts +0 -10
- package/components/src/menu/menu.d.ts.map +0 -1
- package/components/src/radio/radio.d.ts +0 -10
- package/components/src/radio/radio.d.ts.map +0 -1
- package/components/src/select/select.d.ts +0 -10
- package/components/src/select/select.d.ts.map +0 -1
- package/components/src/slider/slider-range.d.ts +0 -10
- package/components/src/slider/slider-range.d.ts.map +0 -1
- package/components/src/slider/slider.d.ts +0 -10
- package/components/src/slider/slider.d.ts.map +0 -1
- package/components/src/snackbar/snackbar.d.ts +0 -10
- package/components/src/snackbar/snackbar.d.ts.map +0 -1
- package/components/src/switch/switch.d.ts +0 -10
- package/components/src/switch/switch.d.ts.map +0 -1
- package/components/src/tab/tab-bar.d.ts +0 -10
- package/components/src/tab/tab-bar.d.ts.map +0 -1
- package/components/src/tab/tab.d.ts +0 -10
- package/components/src/tab/tab.d.ts.map +0 -1
- package/components/src/textarea/textarea.d.ts +0 -10
- package/components/src/textarea/textarea.d.ts.map +0 -1
- package/components/src/textfield/textfield.d.ts +0 -10
- package/components/src/textfield/textfield.d.ts.map +0 -1
- package/components/src/top-app-bar/top-app-bar-fixed.d.ts +0 -10
- package/components/src/top-app-bar/top-app-bar-fixed.d.ts.map +0 -1
- package/components/src/top-app-bar/top-app-bar.d.ts +0 -10
- package/components/src/top-app-bar/top-app-bar.d.ts.map +0 -1
- package/vendor.css +0 -13
- package/vendor.js +0 -1
package/treeListItem.js
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
/*! For license information please see treeListItem.js.LICENSE.txt */
|
2
|
+
(()=>{"use strict";var t={655:(t,e,i)=>{function s(t,e,i,s){var r,n=arguments.length,o=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,s);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(o=(n<3?r(o):n>3?r(e,i,o):r(e,i))||o);return n>3&&o&&Object.defineProperty(e,i,o),o}function r(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}i.d(e,{gn:()=>s,w6:()=>r}),Object.create,Object.create},8701:(t,e,i)=>{i.d(e,{ec:()=>d,i1:()=>c,iv:()=>a});const s=window,r=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),o=new WeakMap;class l{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)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=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&o.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,s)=>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[s+1]),t[0]);return new l(i,t,n)},d=(t,e)=>{r?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),r=s.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=e.cssText,t.appendChild(i)}))},c=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new l("string"==typeof t?t:t+"",void 0,n))(e)})(t):t},5713:(t,e,i)=>{i.d(e,{M:()=>s});const s=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:s}=e;return{kind:i,elements:s,finisher(e){customElements.define(t,e)}}})(t,e)},760:(t,e,i)=>{i.d(e,{C:()=>r});const s=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function r(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):s(t,e)}},7935:(t,e,i)=>{var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements},43:(t,e,i)=>{i(7935)},8732:(t,e,i)=>{i.d(e,{fl:()=>h,iv:()=>r.iv});var s,r=i(8701);const n=window,o=n.trustedTypes,l=o?o.emptyScript:"",a=n.reactiveElementPolyfillSupport,d={toAttribute(t,e){switch(e){case Boolean:t=t?l: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}},c=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:c};class h extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const s=this._$Ep(i,e);void 0!==s&&(this._$Ev.set(s,i),t.push(s))})),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){const r=this[t];this[e]=s,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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((0,r.i1)(t))}else void 0!==t&&e.push((0,r.i1)(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return(0,r.ec)(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=p){var s;const r=this.constructor._$Ep(t,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==(null===(s=i.converter)||void 0===s?void 0:s.toAttribute)?i.converter:d).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var i;const s=this.constructor,r=s._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=s.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:d;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||c)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}h.finalized=!0,h.elementProperties=new Map,h.elementStyles=[],h.shadowRootOptions={mode:"open"},null==a||a({ReactiveElement:h}),(null!==(s=n.reactiveElementVersions)&&void 0!==s?s:n.reactiveElementVersions=[]).push("1.4.0")},8922:(t,e,i)=>{i.d(e,{dy:()=>o.dy,iv:()=>n.iv,oi:()=>l});var s,r,n=i(8732),o=i(3692);class l extends n.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return o.Jb}}l.finalized=!0,l._$litElement$=!0,null===(s=globalThis.litElementHydrateSupport)||void 0===s||s.call(globalThis,{LitElement:l});const a=globalThis.litElementPolyfillSupport;null==a||a({LitElement:l}),(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.2.2")},875:(t,e,i)=>{i.d(e,{XM:()=>r,Xe:()=>n,pX:()=>s});const s={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},7499:(t,e,i)=>{i.d(e,{$:()=>n});var s=i(3692),r=i(875);const n=(0,r.XM)(class extends r.Xe{constructor(t){var e;if(super(t),t.type!==r.pX.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,r;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(r=this.st)||void 0===r?void 0:r.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return s.Jb}})},3692:(t,e,i)=>{var s;i.d(e,{Jb:()=>E,dy:()=>b,sY:()=>x});const r=window,n=r.trustedTypes,o=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,l=`lit$${(Math.random()+"").slice(9)}$`,a="?"+l,d=`<${a}>`,c=document,p=(t="")=>c.createComment(t),h=t=>null===t||"object"!=typeof t&&"function"!=typeof t,u=Array.isArray,f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,m=/>/g,g=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),y=/'/g,$=/"/g,_=/^(?:script|style|textarea|title)$/i,A=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),b=A(1),E=(A(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),w=new WeakMap,x=(t,e,i)=>{var s,r;const n=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;let o=n._$litPart$;if(void 0===o){const t=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null;n._$litPart$=o=new T(e.insertBefore(p(),t),t,void 0,null!=i?i:{})}return o._$AI(t),o},C=c.createTreeWalker(c,129,null,!1),O=(t,e)=>{const i=t.length-1,s=[];let r,n=2===e?"<svg>":"",a=f;for(let e=0;e<i;e++){const i=t[e];let o,c,p=-1,h=0;for(;h<i.length&&(a.lastIndex=h,c=a.exec(i),null!==c);)h=a.lastIndex,a===f?"!--"===c[1]?a=v:void 0!==c[1]?a=m:void 0!==c[2]?(_.test(c[2])&&(r=RegExp("</"+c[2],"g")),a=g):void 0!==c[3]&&(a=g):a===g?">"===c[0]?(a=null!=r?r:f,p=-1):void 0===c[1]?p=-2:(p=a.lastIndex-c[2].length,o=c[1],a=void 0===c[3]?g:'"'===c[3]?$:y):a===$||a===y?a=g:a===v||a===m?a=f:(a=g,r=void 0);const u=a===g&&t[e+1].startsWith("/>")?" ":"";n+=a===f?i+d:p>=0?(s.push(o),i.slice(0,p)+"$lit$"+i.slice(p)+l+u):i+l+(-2===p?(s.push(void 0),e):u)}const c=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==o?o.createHTML(c):c,s]};class P{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,o=0;const d=t.length-1,c=this.parts,[h,u]=O(t,e);if(this.el=P.createElement(h,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(s=C.nextNode())&&c.length<d;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const e of s.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(l)){const i=u[o++];if(t.push(e),void 0!==i){const t=s.getAttribute(i.toLowerCase()+"$lit$").split(l),e=/([.?@])?(.*)/.exec(i);c.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?N:"?"===e[1]?H:"@"===e[1]?z:M})}else c.push({type:6,index:r})}for(const e of t)s.removeAttribute(e)}if(_.test(s.tagName)){const t=s.textContent.split(l),e=t.length-1;if(e>0){s.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],p()),C.nextNode(),c.push({type:2,index:++r});s.append(t[e],p())}}}else if(8===s.nodeType)if(s.data===a)c.push({type:2,index:r});else{let t=-1;for(;-1!==(t=s.data.indexOf(l,t+1));)c.push({type:7,index:r}),t+=l.length-1}r++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function k(t,e,i=t,s){var r,n,o,l;if(e===E)return e;let a=void 0!==s?null===(r=i._$Cl)||void 0===r?void 0:r[s]:i._$Cu;const d=h(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==d&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===d?a=void 0:(a=new d(t),a._$AT(t,i,s)),void 0!==s?(null!==(o=(l=i)._$Cl)&&void 0!==o?o:l._$Cl=[])[s]=a:i._$Cu=a),void 0!==a&&(e=k(t,a._$AS(t,e.values),a,s)),e}class U{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:s}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);C.currentNode=r;let n=C.nextNode(),o=0,l=0,a=s[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new T(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new j(n,this,t)),this.v.push(e),a=s[++l]}o!==(null==a?void 0:a.index)&&(n=C.nextNode(),o++)}return r}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class T{constructor(t,e,i,s){var r;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$C_=null===(r=null==s?void 0:s.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}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=k(this,t,e),h(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>u(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==S&&h(this._$AH)?this._$AA.nextSibling.data=t:this.k(c.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:s}=t,r="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=P.createElement(s.h,this.options)),s);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.m(i);else{const t=new U(r,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=w.get(t.strings);return void 0===e&&w.set(t.strings,e=new P(t)),e}O(t){u(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new T(this.S(p()),this.S(p()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class M{constructor(t,e,i,s,r){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(void 0===r)t=k(this,t,e,0),n=!h(t)||t!==this._$AH&&t!==E,n&&(this._$AH=t);else{const s=t;let o,l;for(t=r[0],o=0;o<r.length-1;o++)l=k(this,s[i+o],e,o),l===E&&(l=this._$AH[o]),n||(n=!h(l)||l!==this._$AH[o]),l===S?t=S:t!==S&&(t+=(null!=l?l:"")+r[o+1]),this._$AH[o]=l}n&&!s&&this.P(t)}P(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class N extends M{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===S?void 0:t}}const R=n?n.emptyScript:"";class H extends M{constructor(){super(...arguments),this.type=4}P(t){t&&t!==S?this.element.setAttribute(this.name,R):this.element.removeAttribute(this.name)}}class z extends M{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=k(this,t,e,0))&&void 0!==i?i:S)===E)return;const s=this._$AH,r=t===S&&s!==S||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==S&&(s===S||r);r&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class j{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){k(this,t)}}const L=r.litHtmlPolyfillSupport;null==L||L(P,T),(null!==(s=r.litHtmlVersions)&&void 0!==s?s:r.litHtmlVersions=[]).push("2.3.0")},9662:(t,e,i)=>{i.d(e,{Cb:()=>r.C,Mo:()=>s.M});var s=i(5713),r=i(760);i(7935),i(43)},8810:(t,e,i)=>{i.d(e,{$:()=>s.$});var s=i(7499)},5862:(t,e,i)=>{i.d(e,{dy:()=>s.dy,iv:()=>s.iv,oi:()=>s.oi}),i(8732),i(3692);var s=i(8922)}},e={};function i(s){var r=e[s];if(void 0!==r)return r.exports;var n=e[s]={exports:{}};return t[s](n,n.exports,i),n.exports}i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=i(655),e=i(5862),s=i(9662),r=i(8810);const n=e.iv`.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,50%);height:var(--mdc-ripple-fg-size,50%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity,.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity,.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity,.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{border-radius:0 16px 16px 0}.itemContent{padding:0 32px 0 var(--indent);margin-right:16px}.itemContent:hover{cursor:pointer;background-color:var(--mdc-theme-surface-neutral-highlight-hover);border-radius:0 16px 16px 0}.selected{background-color:var(--mdc-theme-surface-primary-highlight);color:var(--mdc-theme-primary);border-radius:0 16px 16px 0}.selected:hover{background-color:var(--mdc-theme-surface-primary-highlight-hover)}.mainContent{display:flex;flex-direction:row;padding:4px 0}[name=label]::slotted(*){font-family:var(--mdc-typography-body1-font-family);font-size:var(--mdc-typography-body1-font-size);font-weight:var(--mdc-typography-body1-font-weight);line-height:var(--mdc-typography-body1-line-height);letter-spacing:.25px;padding-left:16px}[name=extraContent]::slotted(*){padding-left:64px;padding-bottom:4px;margin-top:-4px;letter-spacing:.4px;color:var(--mdc-theme-text-secondary-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.hidden{display:none}.visible{display:flex;flex-direction:column}.endOfNest{padding:8px;padding-left:calc(var(--indent) + 20px);letter-spacing:.4px;user-select:none;color:var(--mdc-theme-text-disabled-on-background);font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height)}.arrowIcon{color:var(--mdc-theme-text-primary-on-background)}.open{transition:transform .1s ease-out;transform:rotate(90deg)}.close{transition:transform .1s ease-in;transform:rotate(0)}`;let o=class extends e.oi{constructor(){super(...arguments),this.isOpen=!1,this.icon="",this.indentLevel=0,this.indentMultiple=16}render(){const t={hidden:!this.isOpen,visible:this.isOpen},i={open:this.isOpen,close:!this.isOpen},s=e.dy`<td-icon>${this.icon}</td-icon>`,n=e.dy`<td-icon class="${(0,r.$)(i)} arrowIcon"
|
3
|
+
>${"arrow_right"}</td-icon
|
4
|
+
>`;return e.dy`
|
5
|
+
<div
|
6
|
+
class="itemContent mdc-ripple-surface"
|
7
|
+
@click="${this._handleClick}"
|
8
|
+
style="--indent:${this.indentLevel*this.indentMultiple+8}px"
|
9
|
+
>
|
10
|
+
<div class="mainContent">
|
11
|
+
${n} ${s}
|
12
|
+
<slot name="label"></slot>
|
13
|
+
</div>
|
14
|
+
<slot name="extraContent"></slot>
|
15
|
+
</div>
|
16
|
+
<slot name="nest" class="${(0,r.$)(t)}">
|
17
|
+
<div
|
18
|
+
class="endOfNest"
|
19
|
+
style="--indent:${this.indentLevel*this.indentMultiple+this.indentMultiple}px"
|
20
|
+
>
|
21
|
+
No results
|
22
|
+
</div>
|
23
|
+
</slot>
|
24
|
+
`}_handleClick(){this.isOpen=!this.isOpen;const t=new CustomEvent("select",{detail:{message:`Emitting an event from ${this}`},bubbles:!0,composed:!0});this.dispatchEvent(t)}};o.styles=[n],(0,t.gn)([(0,s.Cb)({type:Boolean}),(0,t.w6)("design:type",Object)],o.prototype,"isOpen",void 0),(0,t.gn)([(0,s.Cb)({type:String}),(0,t.w6)("design:type",Object)],o.prototype,"icon",void 0),(0,t.gn)([(0,s.Cb)({type:Number}),(0,t.w6)("design:type",Object)],o.prototype,"indentLevel",void 0),(0,t.gn)([(0,s.Cb)({type:Number}),(0,t.w6)("design:type",Object)],o.prototype,"indentMultiple",void 0),o=(0,t.gn)([(0,s.Mo)("td-tree-list-item")],o)})()})();
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* @license
|
3
|
+
* Copyright 2017 Google LLC
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
+
*/
|
6
|
+
|
7
|
+
/**
|
8
|
+
* @license
|
9
|
+
* Copyright 2018 Google LLC
|
10
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
11
|
+
*/
|
12
|
+
|
13
|
+
/**
|
14
|
+
* @license
|
15
|
+
* Copyright 2019 Google LLC
|
16
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
17
|
+
*/
|
18
|
+
|
19
|
+
/**
|
20
|
+
* @license
|
21
|
+
* Copyright 2021 Google LLC
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
23
|
+
*/
|
package/appDetail.js
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,function(e){return t[e]}.bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=88)}({10:function(t,e,i){"use strict";var n=i(15);i.d(e,"a",(function(){return n.a}));var s=i(8);i.d(e,"b",(function(){return s.a}));i(16),i(17);var r=i(18);i.d(e,"c",(function(){return r.a}));i(19),i(20),i(21)},14:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i(6);i.d(e,"b",(function(){return n.b}));var s,r,o=i(2);i.d(e,"c",(function(){return o.b}));n.a;class l extends n.a{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=Object(o.e)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return o.c}}l.finalized=!0,l._$litElement$=!0,null===(s=globalThis.litElementHydrateSupport)||void 0===s||s.call(globalThis,{LitElement:l});const a=globalThis.litElementPolyfillSupport;null==a||a({LitElement:l});(null!==(r=globalThis.litElementVersions)&&void 0!==r?r:globalThis.litElementVersions=[]).push("3.0.1")},15:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2017 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/
|
7
|
-
const n=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:n}=e;return{kind:i,elements:n,finisher(e){window.customElements.define(t,e)}}})(t,e)},16:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i(8);
|
8
|
-
/**
|
9
|
-
* @license
|
10
|
-
* Copyright 2017 Google LLC
|
11
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
12
|
-
*/function s(t){return Object(n.a)({...t,state:!0})}},17:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i(4);
|
13
|
-
/**
|
14
|
-
* @license
|
15
|
-
* Copyright 2017 Google LLC
|
16
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
17
|
-
*/function s(t){return Object(n.a)({finisher:(e,i)=>{Object.assign(e.prototype[i],t)}})}},18:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i(4);
|
18
|
-
/**
|
19
|
-
* @license
|
20
|
-
* Copyright 2017 Google LLC
|
21
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
22
|
-
*/function s(t,e){return Object(n.a)({descriptor:i=>{const n={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;n.get=function(){var i,n;return void 0===this[e]&&(this[e]=null!==(n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==n?n:null),this[e]}}return n}})}},19:function(t,e,i){"use strict";i(4);
|
23
|
-
/**
|
24
|
-
* @license
|
25
|
-
* Copyright 2017 Google LLC
|
26
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
27
|
-
*/},2:function(t,e,i){"use strict";
|
28
|
-
/**
|
29
|
-
* @license
|
30
|
-
* Copyright 2017 Google LLC
|
31
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
32
|
-
*/
|
33
|
-
var n;i.d(e,"a",(function(){return L})),i.d(e,"b",(function(){return b})),i.d(e,"c",(function(){return E})),i.d(e,"d",(function(){return S})),i.d(e,"e",(function(){return C}));const s=globalThis.trustedTypes,r=s?s.createPolicy("lit-html",{createHTML:t=>t}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,l="?"+o,a=`<${l}>`,c=document,h=(t="")=>c.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,p=t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},v=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,$=/>/g,_=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,m=/'/g,y=/"/g,g=/^(?:script|style|textarea)$/i,A=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),b=A(1),E=(A(2),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),w=new WeakMap,C=(t,e,i)=>{var n,s;const r=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:e;let o=r._$litPart$;if(void 0===o){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=o=new H(e.insertBefore(h(),t),t,void 0,null!=i?i:{})}return o._$AI(t),o},x=c.createTreeWalker(c,129,null,!1),P=(t,e)=>{const i=t.length-1,n=[];let s,l=2===e?"<svg>":"",c=v;for(let e=0;e<i;e++){const i=t[e];let r,h,u=-1,d=0;for(;d<i.length&&(c.lastIndex=d,h=c.exec(i),null!==h);)d=c.lastIndex,c===v?"!--"===h[1]?c=f:void 0!==h[1]?c=$:void 0!==h[2]?(g.test(h[2])&&(s=RegExp("</"+h[2],"g")),c=_):void 0!==h[3]&&(c=_):c===_?">"===h[0]?(c=null!=s?s:v,u=-1):void 0===h[1]?u=-2:(u=c.lastIndex-h[2].length,r=h[1],c=void 0===h[3]?_:'"'===h[3]?y:m):c===y||c===m?c=_:c===f||c===$?c=v:(c=_,s=void 0);const p=c===_&&t[e+1].startsWith("/>")?" ":"";l+=c===v?i+a:u>=0?(n.push(r),i.slice(0,u)+"$lit$"+i.slice(u)+o+p):i+o+(-2===u?(n.push(void 0),e):p)}const h=l+(t[i]||"<?>")+(2===e?"</svg>":"");return[void 0!==r?r.createHTML(h):h,n]};class O{constructor({strings:t,_$litType$:e},i){let n;this.parts=[];let r=0,a=0;const c=t.length-1,u=this.parts,[d,p]=P(t,e);if(this.el=O.createElement(d,i),x.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(n=x.nextNode())&&u.length<c;){if(1===n.nodeType){if(n.hasAttributes()){const t=[];for(const e of n.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(o)){const i=p[a++];if(t.push(e),void 0!==i){const t=n.getAttribute(i.toLowerCase()+"$lit$").split(o),e=/([.?@])?(.*)/.exec(i);u.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?R:"?"===e[1]?M:"@"===e[1]?k:N})}else u.push({type:6,index:r})}for(const e of t)n.removeAttribute(e)}if(g.test(n.tagName)){const t=n.textContent.split(o),e=t.length-1;if(e>0){n.textContent=s?s.emptyScript:"";for(let i=0;i<e;i++)n.append(t[i],h()),x.nextNode(),u.push({type:2,index:++r});n.append(t[e],h())}}}else if(8===n.nodeType)if(n.data===l)u.push({type:2,index:r});else{let t=-1;for(;-1!==(t=n.data.indexOf(o,t+1));)u.push({type:7,index:r}),t+=o.length-1}r++}}static createElement(t,e){const i=c.createElement("template");return i.innerHTML=t,i}}function U(t,e,i=t,n){var s,r,o,l;if(e===E)return e;let a=void 0!==n?null===(s=i._$Cl)||void 0===s?void 0:s[n]:i._$Cu;const c=u(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==c&&(null===(r=null==a?void 0:a._$AO)||void 0===r||r.call(a,!1),void 0===c?a=void 0:(a=new c(t),a._$AT(t,i,n)),void 0!==n?(null!==(o=(l=i)._$Cl)&&void 0!==o?o:l._$Cl=[])[n]=a:i._$Cu=a),void 0!==a&&(e=U(t,a._$AS(t,e.values),a,n)),e}class T{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:n}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:c).importNode(i,!0);x.currentNode=s;let r=x.nextNode(),o=0,l=0,a=n[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new H(r,r.nextSibling,this,t):1===a.type?e=new a.ctor(r,a.name,a.strings,this,t):6===a.type&&(e=new j(r,this,t)),this.v.push(e),a=n[++l]}o!==(null==a?void 0:a.index)&&(r=x.nextNode(),o++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class H{constructor(t,e,i,n){var s;this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=n,this._$Cg=null===(s=null==n?void 0:n.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}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=U(this,t,e),u(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):p(t)?this.M(t):this.$(t)}A(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.A(t))}$(t){this._$AH!==S&&u(this._$AH)?this._$AA.nextSibling.data=t:this.S(c.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:n}=t,s="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=O.createElement(n.h,this.options)),n);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new T(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=w.get(t.strings);return void 0===e&&w.set(t.strings,e=new O(t)),e}M(t){d(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,n=0;for(const s of t)n===e.length?e.push(i=new H(this.A(h()),this.A(h()),this,this.options)):i=e[n],i._$AI(s),n++;n<e.length&&(this._$AR(i&&i._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class N{constructor(t,e,i,n,s){this.type=1,this._$AH=S,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=S}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,n){const s=this.strings;let r=!1;if(void 0===s)t=U(this,t,e,0),r=!u(t)||t!==this._$AH&&t!==E,r&&(this._$AH=t);else{const n=t;let o,l;for(t=s[0],o=0;o<s.length-1;o++)l=U(this,n[i+o],e,o),l===E&&(l=this._$AH[o]),r||(r=!u(l)||l!==this._$AH[o]),l===S?t=S:t!==S&&(t+=(null!=l?l:"")+s[o+1]),this._$AH[o]=l}r&&!n&&this.k(t)}k(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class R extends N{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===S?void 0:t}}class M extends N{constructor(){super(...arguments),this.type=4}k(t){t&&t!==S?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name)}}class k extends N{constructor(t,e,i,n,s){super(t,e,i,n,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=U(this,t,e,0))&&void 0!==i?i:S)===E)return;const n=this._$AH,s=t===S&&n!==S||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,r=t!==S&&(n===S||s);s&&this.element.removeEventListener(this.name,this,n),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class j{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){U(this,t)}}const L={P:"$lit$",V:o,L:l,I:1,N:P,R:T,D:p,j:U,H:H,O:N,F:M,B:k,W:R,Z:j},z=window.litHtmlPolyfillSupport;null==z||z(O,H),(null!==(n=globalThis.litHtmlVersions)&&void 0!==n?n:globalThis.litHtmlVersions=[]).push("2.0.1")},20:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i(4);
|
34
|
-
/**
|
35
|
-
* @license
|
36
|
-
* Copyright 2017 Google LLC
|
37
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
38
|
-
*/function s(t){return Object(n.a)({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}},21:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var n=i(4);
|
39
|
-
/**
|
40
|
-
* @license
|
41
|
-
* Copyright 2017 Google LLC
|
42
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
-
*/function s(t="",e=!1,i=""){return Object(n.a)({descriptor:n=>({get(){var n,s,r;const o="slot"+(t?`[name=${t}]`:":not([name])");let l=null!==(r=null===(s=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(o))||void 0===s?void 0:s.assignedNodes({flatten:e}))&&void 0!==r?r:[];return i&&(l=l.filter(t=>t.nodeType===Node.ELEMENT_NODE&&t.matches(i))),l},enumerable:!0,configurable:!0})})}},27:function(t,e,i){"use strict";i(6),i(2);var n=i(14);i.d(e,"a",(function(){return n.a})),i.d(e,"b",(function(){return n.b})),i.d(e,"c",(function(){return n.c}))},4:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));
|
44
|
-
/**
|
45
|
-
* @license
|
46
|
-
* Copyright 2017 Google LLC
|
47
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
48
|
-
*/
|
49
|
-
const n=({finisher:t,descriptor:e})=>(i,n)=>{var s;if(void 0===n){const n=null!==(s=i.originalKey)&&void 0!==s?s:i.key,r=null!=e?{kind:"method",placement:"prototype",key:n,descriptor:e(i.key)}:{...i,key:n};return null!=t&&(r.finisher=function(e){t(e,n)}),r}{const s=i.constructor;void 0!==e&&Object.defineProperty(i,n,e(n)),null==t||t(s,n)}}},6:function(t,e,i){"use strict";i.d(e,"b",(function(){return l})),i.d(e,"a",(function(){return v}));
|
50
|
-
/**
|
51
|
-
* @license
|
52
|
-
* Copyright 2019 Google LLC
|
53
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
54
|
-
*/
|
55
|
-
const n=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),r=new Map;class o{constructor(t,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=r.get(this.cssText);return n&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,n)=>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[n+1],t[0]);return new o(i,s)},a=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new o("string"==typeof t?t:t+"",s))(e)})(t):t
|
56
|
-
/**
|
57
|
-
* @license
|
58
|
-
* Copyright 2017 Google LLC
|
59
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
60
|
-
*/;var c;const h=window.reactiveElementPolyfillSupport,u={toAttribute(t,e){switch(e){case Boolean:t=t?"":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}},d=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:d};class v extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,i)=>{const n=this._$Eh(i,e);void 0!==n&&(this._$Eu.set(n,i),t.push(n))}),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,n=this.getPropertyDescriptor(t,i,e);void 0!==n&&Object.defineProperty(this.prototype,t,n)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(n){const s=this[t];this[e]=n,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}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(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ev=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$Ep(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach(t=>t(this))}addController(t){var e,i;(null!==(e=this._$Em)&&void 0!==e?e:this._$Em=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Em)||void 0===e||e.splice(this._$Em.indexOf(t)>>>0,1)}_$Ep(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i=e,s=this.constructor.elementStyles,n?i.adoptedStyleSheets=s.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):s.forEach(t=>{const e=document.createElement("style"),n=window.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=t.cssText,i.appendChild(e)}),e;var i,s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$Eg(t,e,i=p){var n,s;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const o=(null!==(s=null===(n=i.converter)||void 0===n?void 0:n.toAttribute)&&void 0!==s?s:u.toAttribute)(e,i.type);this._$Ei=t,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Ei=null}}_$AK(t,e){var i,n,s;const r=this.constructor,o=r._$Eu.get(t);if(void 0!==o&&this._$Ei!==o){const t=r.getPropertyOptions(o),l=t.converter,a=null!==(s=null!==(n=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==n?n:"function"==typeof l?l:null)&&void 0!==s?s:u.fromAttribute;this._$Ei=o,this[o]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let n=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||d)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$ES&&(this._$ES=new Map),this._$ES.set(t,i))):n=!1),!this.isUpdatePending&&n&&(this._$Ev=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ev}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((t,e)=>this[e]=t),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Em)||void 0===t||t.forEach(t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)}),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Em)||void 0===e||e.forEach(t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)}),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._$Ev}shouldUpdate(t){return!0}update(t){void 0!==this._$ES&&(this._$ES.forEach((t,e)=>this._$Eg(e,this[e],t)),this._$ES=void 0),this._$EU()}updated(t){}firstUpdated(t){}}v.finalized=!0,v.elementProperties=new Map,v.elementStyles=[],v.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:v}),(null!==(c=globalThis.reactiveElementVersions)&&void 0!==c?c:globalThis.reactiveElementVersions=[]).push("1.0.1")},8:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));
|
61
|
-
/**
|
62
|
-
* @license
|
63
|
-
* Copyright 2017 Google LLC
|
64
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
65
|
-
*/
|
66
|
-
const n=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function s(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):n(t,e)}},88:function(t,e,i){"use strict";i.r(e),i.d(e,"CovalentAppDetailBase",(function(){return a}));var n=i(10),s=i(27);class r extends s.a{render(){return s.c`
|
67
|
-
<div class="mini-list"><slot name="mini-list"></slot></div>
|
68
|
-
<div class="main-content"><slot></slot></div>
|
69
|
-
`}}var o=s.b`:host{display:grid;grid-template-columns:auto 1fr;grid-template-rows:min-content;grid-template-areas:"mini-list main";min-height:100vh}.main-content{grid-area:main;overflow:auto;height:100vh;border-left:1px solid;border-color:var(--mdc-theme-border,rgba(0,0,0,.12))}.mini-list{grid-area:mini-list;width:320px;height:100vh;overflow-y:auto;border-left:1px solid;border-color:var(--mdc-theme-border,rgba(0,0,0,.12))}@media only screen and (max-width:1000px){.mini-list{display:none}}`,l=function(t,e,i,n){var s,r=arguments.length,o=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(o=(r<3?s(o):r>3?s(e,i,o):s(e,i))||o);return r>3&&o&&Object.defineProperty(e,i,o),o};let a=class extends r{};a.styles=[o],a=l([Object(n.a)("td-app-detail")],a)}});
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { BaseElement } from '@material/mwc-base/base-element';
|
2
|
-
import { MDCBannerAdapter } from '@material/banner/adapter';
|
3
|
-
import { CloseReason } from '@material/banner/constants';
|
4
|
-
import MDCBannerFoundation from './foundation';
|
5
|
-
import { TemplateResult } from 'lit';
|
6
|
-
export declare class ActionRibbonBase extends BaseElement {
|
7
|
-
protected mdcFoundation: MDCBannerFoundation;
|
8
|
-
protected readonly mdcFoundationClass: typeof MDCBannerFoundation;
|
9
|
-
protected mdcRoot: HTMLElement;
|
10
|
-
protected mdcContent: HTMLElement;
|
11
|
-
protected primaryActionEl: HTMLElement;
|
12
|
-
open: boolean;
|
13
|
-
labelText: string;
|
14
|
-
icon: string;
|
15
|
-
centered: boolean;
|
16
|
-
/**
|
17
|
-
* The state representation active|negative|positive|caution
|
18
|
-
*/
|
19
|
-
state?: 'active' | 'negative' | 'positive' | 'caution';
|
20
|
-
protected reason: CloseReason;
|
21
|
-
protected render(): TemplateResult<1>;
|
22
|
-
protected renderIcon(): TemplateResult;
|
23
|
-
protected createAdapter(): MDCBannerAdapter;
|
24
|
-
/** @export */
|
25
|
-
show(): void;
|
26
|
-
/** @export */
|
27
|
-
close(reason?: CloseReason): void;
|
28
|
-
protected firstUpdated(): void;
|
29
|
-
}
|
30
|
-
//# sourceMappingURL=action-ribbon-base.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"action-ribbon-base.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/action-ribbon/action-ribbon-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAG5E,OAAO,mBAAmB,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAI3C,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,SAAS,CAAC,aAAa,EAAG,mBAAmB,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,6BAAuB;IAEtC,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAC5B,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAC5B,SAAS,CAAC,eAAe,EAAG,WAAW,CAAC;IAazE,IAAI,UAAS;IAEa,SAAS,SAAM;IAEf,IAAI,SAAM;IAET,QAAQ,UAAQ;IAE3C;;OAEG;IAEH,KAAK,CAAC,EAAE,QAAQ,GAAC,UAAU,GAAC,UAAU,GAAC,SAAS,CAAC;IAEjD,SAAS,CAAC,MAAM,EAAE,WAAW,CAA2B;cAErC,MAAM;IA0BzB,SAAS,CAAC,UAAU,IAAI,cAAc;IAWtC,SAAS,CAAC,aAAa,IAAI,gBAAgB;IAc3C,cAAc;IACd,IAAI;IAIJ,cAAc;IACd,KAAK,CAAC,MAAM,cAA0B;cAKnB,YAAY;CAMhC"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { ActionRibbonBase } from './action-ribbon-base';
|
2
|
-
/**
|
3
|
-
* Action ribbon
|
4
|
-
*
|
5
|
-
* @slot - This element has a slot
|
6
|
-
*/
|
7
|
-
export declare class CovalentActionRibbon extends ActionRibbonBase {
|
8
|
-
static styles: import("lit-element").CSSResult[];
|
9
|
-
}
|
10
|
-
declare global {
|
11
|
-
interface HTMLElementTagNameMap {
|
12
|
-
'td-action-ribbon': CovalentActionRibbon;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=action-ribbon.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"action-ribbon.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/action-ribbon/action-ribbon.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD;;;;IAII;AACJ,qBACa,oBAAqB,SAAQ,gBAAgB;IACxD,OAAgB,MAAM,oCAAY;CACnC;AAED,OAAO,CAAC,MAAM,CAAC;IACZ,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,oBAAoB,CAAC;KACzC;CACH"}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2020 Google Inc.
|
4
|
-
*
|
5
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
* of this software and associated documentation files (the "Software"), to deal
|
7
|
-
* in the Software without restriction, including without limitation the rights
|
8
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
* copies of the Software, and to permit persons to whom the Software is
|
10
|
-
* furnished to do so, subject to the following conditions:
|
11
|
-
*
|
12
|
-
* The above copyright notice and this permission notice shall be included in
|
13
|
-
* all copies or substantial portions of the Software.
|
14
|
-
*
|
15
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
* THE SOFTWARE.
|
22
|
-
*/
|
23
|
-
import { MDCFoundation } from '@material/base/foundation';
|
24
|
-
import { MDCBannerAdapter } from '@material/banner/adapter';
|
25
|
-
import { CloseReason } from '@material/banner/constants';
|
26
|
-
/**
|
27
|
-
* Foundation class for banner. Responsibilities include opening and closing the
|
28
|
-
* banner.
|
29
|
-
*/
|
30
|
-
export declare class MDCBannerFoundation extends MDCFoundation<MDCBannerAdapter> {
|
31
|
-
static get defaultAdapter(): MDCBannerAdapter;
|
32
|
-
private isOpened;
|
33
|
-
private animationFrame;
|
34
|
-
private animationTimer;
|
35
|
-
constructor(adapter?: Partial<MDCBannerAdapter>);
|
36
|
-
destroy(): void;
|
37
|
-
open(): void;
|
38
|
-
/**
|
39
|
-
* @param reason Why the banner was closed. Value will be passed to
|
40
|
-
* events.CLOSING and events.CLOSED via the `event.detail.reason`
|
41
|
-
* property. Standard values are CloseReason.PRIMARY and
|
42
|
-
* CloseReason.SECONDARY, but CloseReason.UNSPECIFIED is provided for
|
43
|
-
* custom handling of programmatic closing of the banner.
|
44
|
-
*/
|
45
|
-
close(reason: CloseReason): void;
|
46
|
-
isOpen(): boolean;
|
47
|
-
handlePrimaryActionClick(): void;
|
48
|
-
handleSecondaryActionClick(): void;
|
49
|
-
layout(): void;
|
50
|
-
private handleAnimationTimerEnd;
|
51
|
-
}
|
52
|
-
export default MDCBannerFoundation;
|
53
|
-
//# sourceMappingURL=foundation.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"foundation.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/action-ribbon/foundation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEF,OAAO,EAAC,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,WAAW,EAAsB,MAAM,4BAA4B,CAAC;AAI5E;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,aAAa,CAAC,gBAAgB,CAAC;IACtE,WAAoB,cAAc,IAAI,gBAAgB,CAarD;IAED,OAAO,CAAC,QAAQ,CAAS;IAGzB,OAAO,CAAC,cAAc,CAAK;IAG3B,OAAO,CAAC,cAAc,CAAK;gBAEf,OAAO,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAItC,OAAO;IAOhB,IAAI;IAmBJ;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,EAAE,WAAW;IAyBzB,MAAM,IAAI,OAAO;IAIjB,wBAAwB;IAIxB,0BAA0B;IAI1B,MAAM;IAMN,OAAO,CAAC,uBAAuB;CAKhC;AAED,eAAe,mBAAmB,CAAA"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { BaseElement } from '@material/mwc-base/base-element';
|
2
|
-
import { MDCBannerAdapter } from '@material/banner/adapter';
|
3
|
-
import { CloseReason } from '@material/banner/constants';
|
4
|
-
import MDCBannerFoundation from '../action-ribbon/foundation';
|
5
|
-
import { TemplateResult } from 'lit';
|
6
|
-
export declare class AlertBase extends BaseElement {
|
7
|
-
protected mdcFoundation: MDCBannerFoundation;
|
8
|
-
protected readonly mdcFoundationClass: typeof MDCBannerFoundation;
|
9
|
-
protected mdcRoot: HTMLElement;
|
10
|
-
protected mdcContent: HTMLElement;
|
11
|
-
open: boolean;
|
12
|
-
titleText: string;
|
13
|
-
descriptionText: string;
|
14
|
-
icon: string;
|
15
|
-
inline: boolean;
|
16
|
-
/**
|
17
|
-
* The state representation active|negative|positive|caution
|
18
|
-
*/
|
19
|
-
state: string;
|
20
|
-
protected reason: CloseReason;
|
21
|
-
protected render(): TemplateResult<1>;
|
22
|
-
/** @soyTemplate */
|
23
|
-
protected renderIcon(): TemplateResult;
|
24
|
-
protected createAdapter(): MDCBannerAdapter;
|
25
|
-
/** @export */
|
26
|
-
show(): void;
|
27
|
-
/** @export */
|
28
|
-
close(reason?: CloseReason): void;
|
29
|
-
protected firstUpdated(): void;
|
30
|
-
}
|
31
|
-
//# sourceMappingURL=alert-base.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"alert-base.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/alert/alert-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGzD,OAAO,mBAAmB,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAI3C,qBAAa,SAAU,SAAQ,WAAW;IACxC,SAAS,CAAC,aAAa,EAAG,mBAAmB,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,6BAAuB;IAEtC,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IACvB,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAalE,IAAI,UAAQ;IAEc,SAAS,SAAM;IAEf,eAAe,SAAM;IAErB,IAAI,SAAM;IAET,MAAM,UAAS;IAC1C;;OAEG;IAEH,KAAK,SAAM;IAEX,SAAS,CAAC,MAAM,EAAE,WAAW,CAA2B;cAErC,MAAM;IAgCzB,mBAAmB;IACnB,SAAS,CAAC,UAAU,IAAI,cAAc;IAWtC,SAAS,CAAC,aAAa,IAAI,gBAAgB;IAoC3C,cAAc;IACd,IAAI;IAIJ,cAAc;IACd,KAAK,CAAC,MAAM,cAA0B;cAKnB,YAAY;CAMhC"}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { AlertBase } from './alert-base';
|
2
|
-
/**
|
3
|
-
* Action ribbon
|
4
|
-
*
|
5
|
-
* @slot - This element has a slot
|
6
|
-
*/
|
7
|
-
export declare class CovalentAlert extends AlertBase {
|
8
|
-
static styles: import("lit-element").CSSResult[];
|
9
|
-
}
|
10
|
-
declare global {
|
11
|
-
interface HTMLElementTagNameMap {
|
12
|
-
'td-alert': CovalentAlert;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
//# sourceMappingURL=alert.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/alert/alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC;;;;IAII;AACJ,qBACa,aAAc,SAAQ,SAAS;IAC1C,OAAgB,MAAM,oCAAY;CACnC;AAED,OAAO,CAAC,MAAM,CAAC;IACZ,UAAU,qBAAqB;QAC9B,UAAU,EAAE,aAAa,CAAC;KAC1B;CACH"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"app-detail-base.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/app-detail/app-detail-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAGvC,qBAAa,aAAc,SAAQ,UAAU;IAChC,MAAM;CAMlB"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { AppDetailBase } from './app-detail-base';
|
2
|
-
declare global {
|
3
|
-
interface HTMLElementTagNameMap {
|
4
|
-
'td-app-detail': CovalentAppDetailBase;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
export declare class CovalentAppDetailBase extends AppDetailBase {
|
8
|
-
static styles: import("lit-element").CSSResult[];
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=app-detail.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"app-detail.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/app-detail/app-detail.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,eAAe,EAAE,qBAAqB,CAAC;KAC1C;CACJ;AAED,qBACa,qBAAsB,SAAQ,aAAa;IAEtD,OAAgB,MAAM,oCAAY;CACnC"}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { DrawerBase } from '@material/mwc-drawer/mwc-drawer-base';
|
2
|
-
import '@material/mwc-icon-button';
|
3
|
-
import '@material/mwc-top-app-bar-fixed';
|
4
|
-
declare global {
|
5
|
-
interface HTMLElementTagNameMap {
|
6
|
-
'td-app-shell': CovalentAppShell;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* App Shell element.
|
11
|
-
*
|
12
|
-
* @slot - This element has a slot
|
13
|
-
*/
|
14
|
-
export declare class CovalentAppShell extends DrawerBase {
|
15
|
-
static styles: import("lit").CSSResult[];
|
16
|
-
/**
|
17
|
-
* The name of the application to show in the small app bar
|
18
|
-
*/
|
19
|
-
appName: string;
|
20
|
-
constructor();
|
21
|
-
private _toggleOpen;
|
22
|
-
resizeEvent(): void;
|
23
|
-
connectedCallback(): void;
|
24
|
-
disconnectedCallback(): void;
|
25
|
-
render(): import("lit-html").TemplateResult<1>;
|
26
|
-
}
|
27
|
-
//# sourceMappingURL=app-shell.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/app-shell/app-shell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOlE,OAAO,2BAA2B,CAAC;AACnC,OAAO,iCAAiC,CAAC;AAGzC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC9B,cAAc,EAAE,gBAAgB,CAAC;KACjC;CACF;AAGA;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAE/C,OAAgB,MAAM,4BAAY;IAEjC;;OAEG;IAEF,OAAO,SAAM;;IASf,OAAO,CAAC,WAAW;IAInB,WAAW;IAWD,iBAAiB;IAMjB,oBAAoB;IAKpB,MAAM;CAgChB"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { ButtonBase } from '@material/mwc-button/mwc-button-base';
|
2
|
-
declare global {
|
3
|
-
interface HTMLElementTagNameMap {
|
4
|
-
'td-button': CovalentButtonBase;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
export declare class CovalentButtonBase extends ButtonBase {
|
8
|
-
static styles: import("lit-element").CSSResult[];
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=button.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/button/button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAIlE,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,WAAW,EAAE,kBAAkB,CAAC;KACnC;CACJ;AAED,qBACa,kBAAmB,SAAQ,UAAU;IAEhD,OAAgB,MAAM,oCAAY;CACnC"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { LitElement, TemplateResult } from 'lit';
|
2
|
-
export declare class CardBase extends LitElement {
|
3
|
-
/**
|
4
|
-
* The title of the card
|
5
|
-
*/
|
6
|
-
cardTitle: string;
|
7
|
-
/**
|
8
|
-
* The sub-title of the card
|
9
|
-
*/
|
10
|
-
subTitle: string;
|
11
|
-
/**
|
12
|
-
* Style the card as an outline variant
|
13
|
-
*/
|
14
|
-
outlined: boolean;
|
15
|
-
render(): TemplateResult<1>;
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=card-base.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"card-base.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/card/card-base.ts"],"names":[],"mappings":"AAGA,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvD,qBAAa,QAAS,SAAQ,UAAU;IACtC;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IACwB,QAAQ,UAAS;IAEnC,MAAM;CAmBhB"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CardBase } from './card-base';
|
2
|
-
declare global {
|
3
|
-
interface HTMLElementTagNameMap {
|
4
|
-
'td-card': CovalentCardBase;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
export declare class CovalentCardBase extends CardBase {
|
8
|
-
static styles: import("lit-element").CSSResult[];
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=card.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/card/card.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,SAAS,EAAE,gBAAgB,CAAC;KAC/B;CACJ;AAED,qBACa,gBAAiB,SAAQ,QAAQ;IAE5C,OAAgB,MAAM,oCAAY;CACnC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { CheckboxBase } from '@material/mwc-checkbox/mwc-checkbox-base';
|
2
|
-
declare global {
|
3
|
-
interface HTMLElementTagNameMap {
|
4
|
-
'td-checkbox': CovalentCheckboxBase;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
export declare class CovalentCheckboxBase extends CheckboxBase {
|
8
|
-
static styles: import("lit-element").CSSResult[];
|
9
|
-
}
|
10
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/checkbox/checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAIxE,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,aAAa,EAAE,oBAAoB,CAAC;KACvC;CACJ;AAED,qBACa,oBAAqB,SAAQ,YAAY;IAEpD,OAAgB,MAAM,oCAAY;CACnC"}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { BaseElement } from '@material/mwc-base';
|
2
|
-
import { MDCChipFoundation } from './foundation';
|
3
|
-
import { MDCChipAnimation } from '@material/chips/chip/constants';
|
4
|
-
import { MDCChipAction } from '@material/chips/action';
|
5
|
-
import { MDCChipActionFocusBehavior, MDCChipActionType } from '@material/chips/action/constants';
|
6
|
-
import { MDCChipAdapter } from '@material/chips/chip/adapter';
|
7
|
-
export declare class ChipBase extends BaseElement {
|
8
|
-
protected mdcFoundation?: MDCChipFoundation;
|
9
|
-
protected readonly mdcFoundationClass: typeof MDCChipFoundation;
|
10
|
-
protected actions: Map<MDCChipActionType, MDCChipAction>;
|
11
|
-
protected chipId: number;
|
12
|
-
protected mdcRoot: HTMLElement;
|
13
|
-
/**
|
14
|
-
* The text label of the chip
|
15
|
-
*/
|
16
|
-
label: string;
|
17
|
-
/**
|
18
|
-
* The icon name to use for primary or leading chip
|
19
|
-
*/
|
20
|
-
icon: string;
|
21
|
-
trailingIcon: boolean;
|
22
|
-
avatar: boolean;
|
23
|
-
/**
|
24
|
-
* The text label of the chip
|
25
|
-
*/
|
26
|
-
disabled: boolean;
|
27
|
-
/**
|
28
|
-
* Set the filter chip varient
|
29
|
-
*/
|
30
|
-
filter: boolean;
|
31
|
-
/**
|
32
|
-
* The state representation secondary|negative|positive|caution
|
33
|
-
*/
|
34
|
-
state?: 'secondary' | 'negative' | 'positive' | 'caution';
|
35
|
-
constructor();
|
36
|
-
protected render(): import("lit-html").TemplateResult<1>;
|
37
|
-
protected firstUpdated(): void;
|
38
|
-
protected renderGraphic(): import("lit-html").TemplateResult<1>;
|
39
|
-
protected renderCheckMark(): import("lit-html").TemplateResult<1>;
|
40
|
-
protected renderIcon(trailing?: boolean): import("lit-html").TemplateResult<1>;
|
41
|
-
protected renderTrailing(): import("lit-html").TemplateResult<1>;
|
42
|
-
protected createAdapter(): MDCChipAdapter;
|
43
|
-
getActions(): MDCChipActionType[];
|
44
|
-
getElementID(): string;
|
45
|
-
isActionFocusable(action: MDCChipActionType): boolean;
|
46
|
-
isActionSelectable(action: MDCChipActionType): boolean;
|
47
|
-
isActionSelected(action: MDCChipActionType): boolean;
|
48
|
-
setActionFocus(action: MDCChipActionType, focus: MDCChipActionFocusBehavior): void | undefined;
|
49
|
-
setActionSelected(actionType: MDCChipActionType, isSelected: boolean): void | undefined;
|
50
|
-
startAnimation(animation: MDCChipAnimation): void | undefined;
|
51
|
-
}
|
52
|
-
//# sourceMappingURL=chip-base.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"chip-base.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/chips/chip-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAwD,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACxH,OAAO,EAAE,aAAa,EAAuB,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAO9D,qBAAa,QAAS,SAAQ,WAAW;IACrC,SAAS,CAAC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAC5C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,2BAAqB;IAC1D,SAAS,CAAC,OAAO,EAAG,GAAG,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;IAC1D,SAAS,CAAC,MAAM,EAAG,MAAM,CAAC;IAEI,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAE9D;;MAEE;IAEF,KAAK,SAAM;IAEX;;MAEE;IACwB,IAAI,SAAM;IAEM,YAAY,UAAS;IAErB,MAAM,UAAS;IAEzD;;MAEE;IACwC,QAAQ,UAAS;IAE3D;;MAEE;IACyC,MAAM,UAAS;IAE1D;;OAEG;IAEH,KAAK,CAAC,EAAE,WAAW,GAAC,UAAU,GAAC,UAAU,GAAC,SAAS,CAAC;;cAOjC,MAAM;cA6BN,YAAY;IAiB/B,SAAS,CAAC,aAAa;IAOvB,SAAS,CAAC,eAAe;IAUzB,SAAS,CAAC,UAAU,CAAE,QAAQ,UAAQ;IAOtC,SAAS,CAAC,cAAc;IAUxB,SAAS,CAAC,aAAa,IAAI,cAAc;IAyCzC,UAAU;IAIV,YAAY;IAIZ,iBAAiB,CAAC,MAAM,EAAE,iBAAiB;IAI3C,kBAAkB,CAAC,MAAM,EAAE,iBAAiB;IAI5C,gBAAgB,CAAC,MAAM,EAAE,iBAAiB;IAI1C,cAAc,CAAC,MAAM,EAAE,iBAAiB,EAAE,KAAK,EAAE,0BAA0B;IAI3E,iBAAiB,CAAC,UAAU,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO;IAIpE,cAAc,CAAC,SAAS,EAAE,gBAAgB;CAG7C"}
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { MDCChipSetAdapter } from '@material/chips/chip-set/adapter';
|
2
|
-
import { MDCChipSetFoundation } from '@material/chips/chip-set/foundation';
|
3
|
-
import { LitElement, PropertyValues } from 'lit';
|
4
|
-
import { CovalentChip } from './chip';
|
5
|
-
export declare class ChipSetBase extends LitElement {
|
6
|
-
protected mdcFoundation: MDCChipSetFoundation;
|
7
|
-
protected mdcRoot: HTMLElement;
|
8
|
-
/**
|
9
|
-
* Set if the chips are selectable/actionable
|
10
|
-
*/
|
11
|
-
selectable: boolean;
|
12
|
-
/**
|
13
|
-
* Set the chips are mulit-selectable
|
14
|
-
*/
|
15
|
-
multi: boolean;
|
16
|
-
/**
|
17
|
-
* The arial label for the the chip set
|
18
|
-
*/
|
19
|
-
label: string;
|
20
|
-
activeIndex: number;
|
21
|
-
protected _previousActiveIndex: number;
|
22
|
-
protected chips: CovalentChip[];
|
23
|
-
render(): import("lit-html").TemplateResult<1>;
|
24
|
-
protected updated(changedProps: PropertyValues): Promise<void>;
|
25
|
-
protected firstUpdated(changedProps: PropertyValues): void;
|
26
|
-
connectedCallback(): void;
|
27
|
-
disconnectedCallback(): void;
|
28
|
-
protected createAdapter(): MDCChipSetAdapter;
|
29
|
-
private _handleChipAnimation;
|
30
|
-
private _handleChipInteraction;
|
31
|
-
private _handleChipNavigation;
|
32
|
-
}
|
33
|
-
//# sourceMappingURL=chip-set-base.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"chip-set-base.d.ts","sourceRoot":"","sources":["../../../../lib/components/src/chips/chip-set-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAMrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAG3E,OAAO,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,qBAAa,WAAY,SAAQ,UAAU;IACvC,SAAS,CAAC,aAAa,EAAG,oBAAoB,CAAC;IAEb,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IAElE;;OAEG;IACuC,UAAU,UAAS;IAE7D;;OAEG;IACuC,KAAK,UAAS;IAExD;;MAEE;IAEF,KAAK,SAAM;IAEe,WAAW,SAAK;IAE1C,SAAS,CAAC,oBAAoB,SAAM;IAEpC,SAAS,CAAC,KAAK,EAAE,YAAY,EAAE,CAAM;IAE5B,MAAM;cAWU,OAAO,CAAC,YAAY,EAAE,cAAc;cAQ1C,YAAY,CAAC,YAAY,EAAE,cAAc;IAiBnD,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAOrC,SAAS,CAAC,aAAa,IAAI,iBAAiB;IAiC5C,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,qBAAqB;CAGhC"}
|