@covalent/components 1.0.13 → 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.
Files changed (104) hide show
  1. package/actionRibbon.js +16 -0
  2. package/actionRibbon.js.LICENSE.txt +75 -0
  3. package/alert.js +19 -0
  4. package/alert.js.LICENSE.txt +75 -0
  5. package/appShell.js +94 -0
  6. package/appShell.js.LICENSE.txt +131 -0
  7. package/button.js +38 -0
  8. package/button.js.LICENSE.txt +91 -0
  9. package/checkbox.js +40 -0
  10. package/checkbox.js.LICENSE.txt +91 -0
  11. package/circularProgress.js +58 -0
  12. package/circularProgress.js.LICENSE.txt +41 -0
  13. package/dialog.js +28 -0
  14. package/dialog.js.LICENSE.txt +165 -0
  15. package/drawer.js +18 -0
  16. package/drawer.js.LICENSE.txt +90 -0
  17. package/emptyState.js +25 -0
  18. package/emptyState.js.LICENSE.txt +29 -0
  19. package/formField.js +7 -0
  20. package/formField.js.LICENSE.txt +61 -0
  21. package/icon.js +2 -0
  22. package/icon.js.LICENSE.txt +29 -0
  23. package/iconButton.js +26 -0
  24. package/iconButton.js.LICENSE.txt +85 -0
  25. package/iconCheckbox.js +51 -0
  26. package/iconCheckbox.js.LICENSE.txt +91 -0
  27. package/iconRadio.js +43 -0
  28. package/iconRadio.js.LICENSE.txt +85 -0
  29. package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.css +138 -114
  30. package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.eot +0 -0
  31. package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.svg +6 -1
  32. package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.ttf +0 -0
  33. package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.woff +0 -0
  34. package/icons/favicon.ico +0 -0
  35. package/index.js +851 -594
  36. package/index.js.LICENSE.txt +206 -0
  37. package/linearProgress.js +28 -0
  38. package/linearProgress.js.LICENSE.txt +41 -0
  39. package/list.js +44 -0
  40. package/list.js.LICENSE.txt +125 -0
  41. package/listExpansion.js +61 -0
  42. package/listExpansion.js.LICENSE.txt +125 -0
  43. package/listItem.js +27 -0
  44. package/listItem.js.LICENSE.txt +79 -0
  45. package/listRadioItem.js +70 -0
  46. package/listRadioItem.js.LICENSE.txt +85 -0
  47. package/menu.js +83 -0
  48. package/menu.js.LICENSE.txt +125 -0
  49. package/package.json +14 -5
  50. package/radio.js +33 -0
  51. package/radio.js.LICENSE.txt +85 -0
  52. package/select.js +176 -0
  53. package/select.js.LICENSE.txt +131 -0
  54. package/slider.js +63 -0
  55. package/slider.js.LICENSE.txt +108 -0
  56. package/sliderRange.js +113 -0
  57. package/sliderRange.js.LICENSE.txt +108 -0
  58. package/snackBar.js +12 -0
  59. package/snackBar.js.LICENSE.txt +85 -0
  60. package/styles.css +1 -0
  61. package/styles.js +1 -0
  62. package/switch.js +63 -0
  63. package/switch.js.LICENSE.txt +108 -0
  64. package/tab.js +35 -0
  65. package/tab.js.LICENSE.txt +79 -0
  66. package/tabBar.js +53 -0
  67. package/tabBar.js.LICENSE.txt +79 -0
  68. package/textArea.js +96 -0
  69. package/textArea.js.LICENSE.txt +85 -0
  70. package/textField.js +69 -0
  71. package/textField.js.LICENSE.txt +85 -0
  72. package/theme.css +1 -0
  73. package/theme.js +1 -0
  74. package/toolbar.js +39 -0
  75. package/toolbar.js.LICENSE.txt +96 -0
  76. package/topAppBar.js +19 -0
  77. package/topAppBar.js.LICENSE.txt +102 -0
  78. package/topAppBarFixed.js +19 -0
  79. package/topAppBarFixed.js.LICENSE.txt +102 -0
  80. package/treeList.js +8 -0
  81. package/treeList.js.LICENSE.txt +17 -0
  82. package/treeListItem.js +24 -0
  83. package/treeListItem.js.LICENSE.txt +23 -0
  84. package/components/action-ribbon/action-ribbon-base.d.ts +0 -30
  85. package/components/action-ribbon/action-ribbon-base.d.ts.map +0 -1
  86. package/components/action-ribbon/action-ribbon.component.d.ts +0 -15
  87. package/components/action-ribbon/action-ribbon.component.d.ts.map +0 -1
  88. package/components/action-ribbon/foundation.d.ts +0 -53
  89. package/components/action-ribbon/foundation.d.ts.map +0 -1
  90. package/components/app-shell/app-shell.component.d.ts +0 -27
  91. package/components/app-shell/app-shell.component.d.ts.map +0 -1
  92. package/components/button/button.component.d.ts +0 -10
  93. package/components/button/button.component.d.ts.map +0 -1
  94. package/components/index.d.ts +0 -6
  95. package/components/index.d.ts.map +0 -1
  96. package/components/list/td-list-expansion.component.d.ts +0 -14
  97. package/components/list/td-list-expansion.component.d.ts.map +0 -1
  98. package/components/list/td-list-item.component.d.ts +0 -12
  99. package/components/list/td-list-item.component.d.ts.map +0 -1
  100. package/teradata-icons/lib/icons/teradata-icons/teradata-icons.css +0 -338
  101. package/teradata-icons/lib/icons/teradata-icons/teradata-icons.eot +0 -0
  102. package/teradata-icons/lib/icons/teradata-icons/teradata-icons.svg +0 -217
  103. package/teradata-icons/lib/icons/teradata-icons/teradata-icons.ttf +0 -0
  104. package/teradata-icons/lib/icons/teradata-icons/teradata-icons.woff +0 -0
@@ -0,0 +1,102 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */
15
+
16
+ /**
17
+ * @license
18
+ * Copyright 2016 Google Inc.
19
+ *
20
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
21
+ * of this software and associated documentation files (the "Software"), to deal
22
+ * in the Software without restriction, including without limitation the rights
23
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24
+ * copies of the Software, and to permit persons to whom the Software is
25
+ * furnished to do so, subject to the following conditions:
26
+ *
27
+ * The above copyright notice and this permission notice shall be included in
28
+ * all copies or substantial portions of the Software.
29
+ *
30
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
36
+ * THE SOFTWARE.
37
+ */
38
+
39
+ /**
40
+ * @license
41
+ * Copyright 2017 Google LLC
42
+ * SPDX-License-Identifier: BSD-3-Clause
43
+ */
44
+
45
+ /**
46
+ * @license
47
+ * Copyright 2018 Google Inc.
48
+ *
49
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
50
+ * of this software and associated documentation files (the "Software"), to deal
51
+ * in the Software without restriction, including without limitation the rights
52
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
53
+ * copies of the Software, and to permit persons to whom the Software is
54
+ * furnished to do so, subject to the following conditions:
55
+ *
56
+ * The above copyright notice and this permission notice shall be included in
57
+ * all copies or substantial portions of the Software.
58
+ *
59
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
62
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
63
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
64
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
65
+ * THE SOFTWARE.
66
+ */
67
+
68
+ /**
69
+ * @license
70
+ * Copyright 2018 Google LLC
71
+ * SPDX-License-Identifier: Apache-2.0
72
+ */
73
+
74
+ /**
75
+ * @license
76
+ * Copyright 2018 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ */
79
+
80
+ /**
81
+ * @license
82
+ * Copyright 2019 Google LLC
83
+ * SPDX-License-Identifier: Apache-2.0
84
+ */
85
+
86
+ /**
87
+ * @license
88
+ * Copyright 2019 Google LLC
89
+ * SPDX-License-Identifier: BSD-3-Clause
90
+ */
91
+
92
+ /**
93
+ * @license
94
+ * Copyright 2021 Google LLC
95
+ * SPDX-LIcense-Identifier: Apache-2.0
96
+ */
97
+
98
+ /**
99
+ * @license
100
+ * Copyright 2021 Google LLC
101
+ * SPDX-License-Identifier: BSD-3-Clause
102
+ */
package/treeList.js ADDED
@@ -0,0 +1,8 @@
1
+ /*! For license information please see treeList.js.LICENSE.txt */
2
+ (()=>{"use strict";var t={655:(t,e,i)=>{function o(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s}i.d(e,{gn:()=>o}),Object.create,Object.create},8701:(t,e,i)=>{i.d(e,{ec:()=>l,i1:()=>d,iv:()=>h});const o=window,n=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),s=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==r)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(n&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=s.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&s.set(e,t))}return t}toString(){return this.cssText}}const h=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>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[o+1]),t[0]);return new a(i,t,r)},l=(t,e)=>{n?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),n=o.litNonce;void 0!==n&&i.setAttribute("nonce",n),i.textContent=e.cssText,t.appendChild(i)}))},d=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,r))(e)})(t):t},5713:(t,e,i)=>{i.d(e,{M:()=>o});const o=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:o}=e;return{kind:i,elements:o,finisher(e){customElements.define(t,e)}}})(t,e)},7935:(t,e,i)=>{var o;null===(o=window.HTMLSlotElement)||void 0===o||o.prototype.assignedElements},43:(t,e,i)=>{i(7935)},8732:(t,e,i)=>{i.d(e,{fl:()=>p,iv:()=>n.iv});var o,n=i(8701);const r=window,s=r.trustedTypes,a=s?s.emptyScript:"",h=r.reactiveElementPolyfillSupport,l={toAttribute(t,e){switch(e){case Boolean:t=t?a: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),c={attribute:!0,type:String,converter:l,reflect:!1,hasChanged:d};class p 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 o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=c){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,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||c}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,n.i1)(t))}else void 0!==t&&e.push((0,n.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,n.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=c){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const r=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:l).toAttribute(e,i.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:l;this._$El=n,this[n]=r.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!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._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(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){}}p.finalized=!0,p.elementProperties=new Map,p.elementStyles=[],p.shadowRootOptions={mode:"open"},null==h||h({ReactiveElement:p}),(null!==(o=r.reactiveElementVersions)&&void 0!==o?o:r.reactiveElementVersions=[]).push("1.4.0")},8922:(t,e,i)=>{i.d(e,{dy:()=>s.dy,iv:()=>r.iv,oi:()=>a});var o,n,r=i(8732),s=i(3692);class a extends r.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,s.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 s.Jb}}a.finalized=!0,a._$litElement$=!0,null===(o=globalThis.litElementHydrateSupport)||void 0===o||o.call(globalThis,{LitElement:a});const h=globalThis.litElementPolyfillSupport;null==h||h({LitElement:a}),(null!==(n=globalThis.litElementVersions)&&void 0!==n?n:globalThis.litElementVersions=[]).push("3.2.2")},3692:(t,e,i)=>{var o;i.d(e,{Jb:()=>A,dy:()=>x,sY:()=>S});const n=window,r=n.trustedTypes,s=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,h="?"+a,l=`<${h}>`,d=document,c=(t="")=>d.createComment(t),p=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,g=/>/g,v=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),u=/'/g,$=/"/g,_=/^(?:script|style|textarea|title)$/i,b=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),x=b(1),A=(b(2),Symbol.for("lit-noChange")),w=Symbol.for("lit-nothing"),E=new WeakMap,S=(t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new k(e.insertBefore(c(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s},z=d.createTreeWalker(d,129,null,!1),C=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",h=y;for(let e=0;e<i;e++){const i=t[e];let s,d,c=-1,p=0;for(;p<i.length&&(h.lastIndex=p,d=h.exec(i),null!==d);)p=h.lastIndex,h===y?"!--"===d[1]?h=f:void 0!==d[1]?h=g:void 0!==d[2]?(_.test(d[2])&&(n=RegExp("</"+d[2],"g")),h=v):void 0!==d[3]&&(h=v):h===v?">"===d[0]?(h=null!=n?n:y,c=-1):void 0===d[1]?c=-2:(c=h.lastIndex-d[2].length,s=d[1],h=void 0===d[3]?v:'"'===d[3]?$:u):h===$||h===u?h=v:h===f||h===g?h=y:(h=v,n=void 0);const m=h===v&&t[e+1].startsWith("/>")?" ":"";r+=h===y?i+l:c>=0?(o.push(s),i.slice(0,c)+"$lit$"+i.slice(c)+a+m):i+a+(-2===c?(o.push(void 0),e):m)}const d=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(d):d,o]};class R{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const l=t.length-1,d=this.parts,[p,m]=C(t,e);if(this.el=R.createElement(p,i),z.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=z.nextNode())&&d.length<l;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(a)){const i=m[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(a),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?H:"?"===e[1]?T:"@"===e[1]?M:O})}else d.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(_.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=r?r.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],c()),z.nextNode(),d.push({type:2,index:++n});o.append(t[e],c())}}}else if(8===o.nodeType)if(o.data===h)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)d.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function P(t,e,i=t,o){var n,r,s,a;if(e===A)return e;let h=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const l=p(e)?void 0:e._$litDirective$;return(null==h?void 0:h.constructor)!==l&&(null===(r=null==h?void 0:h._$AO)||void 0===r||r.call(h,!1),void 0===l?h=void 0:(h=new l(t),h._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=h:i._$Cu=h),void 0!==h&&(e=P(t,h._$AS(t,e.values),h,o)),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:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:d).importNode(i,!0);z.currentNode=n;let r=z.nextNode(),s=0,a=0,h=o[0];for(;void 0!==h;){if(s===h.index){let e;2===h.type?e=new k(r,r.nextSibling,this,t):1===h.type?e=new h.ctor(r,h.name,h.strings,this,t):6===h.type&&(e=new L(r,this,t)),this.v.push(e),h=o[++a]}s!==(null==h?void 0:h.index)&&(r=z.nextNode(),s++)}return n}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 k{constructor(t,e,i,o){var n;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}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=P(this,t,e),p(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==A&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>m(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!==w&&p(this._$AH)?this._$AA.nextSibling.data=t:this.k(d.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=R.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new U(n,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new R(t)),e}O(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new k(this.S(c()),this.S(c()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$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 O{constructor(t,e,i,o,n){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=P(this,t,e,0),r=!p(t)||t!==this._$AH&&t!==A,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=P(this,o[i+s],e,s),a===A&&(a=this._$AH[s]),r||(r=!p(a)||a!==this._$AH[s]),a===w?t=w:t!==w&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.P(t)}P(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends O{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===w?void 0:t}}const N=r?r.emptyScript:"";class T extends O{constructor(){super(...arguments),this.type=4}P(t){t&&t!==w?this.element.setAttribute(this.name,N):this.element.removeAttribute(this.name)}}class M extends O{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=P(this,t,e,0))&&void 0!==i?i:w)===A)return;const o=this._$AH,n=t===w&&o!==w||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==w&&(o===w||n);n&&this.element.removeEventListener(this.name,this,o),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 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){P(this,t)}}const j=n.litHtmlPolyfillSupport;null==j||j(R,k),(null!==(o=n.litHtmlVersions)&&void 0!==o?o:n.litHtmlVersions=[]).push("2.3.0")},9662:(t,e,i)=>{i.d(e,{Mo:()=>o.M});var o=i(5713);i(7935),i(43)},5862:(t,e,i)=>{i.d(e,{dy:()=>o.dy,iv:()=>o.iv,oi:()=>o.oi}),i(8732),i(3692);var o=i(8922)}},e={};function i(o){var n=e[o];if(void 0!==n)return n.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,i),r.exports}i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=i(655),e=i(5862),o=i(9662);const n=e.iv`.mdc-typography{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-font-family,Roboto,sans-serif)}.mdc-typography--headline1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline1-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:6rem;font-size:var(--mdc-typography-headline1-font-size,6rem);line-height:6rem;line-height:var(--mdc-typography-headline1-line-height,6rem);font-weight:300;font-weight:var(--mdc-typography-headline1-font-weight,300);letter-spacing:-.015625em;letter-spacing:var(--mdc-typography-headline1-letter-spacing,-.015625em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline1-text-transform,inherit)}.mdc-typography--headline2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline2-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:3.75rem;font-size:var(--mdc-typography-headline2-font-size,3.75rem);line-height:3.75rem;line-height:var(--mdc-typography-headline2-line-height,3.75rem);font-weight:300;font-weight:var(--mdc-typography-headline2-font-weight,300);letter-spacing:-.0083333333em;letter-spacing:var(--mdc-typography-headline2-letter-spacing,-.0083333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline2-text-transform,inherit)}.mdc-typography--headline3{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline3-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:3rem;font-size:var(--mdc-typography-headline3-font-size,3rem);line-height:3.125rem;line-height:var(--mdc-typography-headline3-line-height,3.125rem);font-weight:400;font-weight:var(--mdc-typography-headline3-font-weight,400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline3-letter-spacing,normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline3-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline3-text-transform,inherit)}.mdc-typography--headline4{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline4-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:2.125rem;font-size:var(--mdc-typography-headline4-font-size,2.125rem);line-height:2.5rem;line-height:var(--mdc-typography-headline4-line-height,2.5rem);font-weight:400;font-weight:var(--mdc-typography-headline4-font-weight,400);letter-spacing:.0073529412em;letter-spacing:var(--mdc-typography-headline4-letter-spacing,.0073529412em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline4-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline4-text-transform,inherit)}.mdc-typography--headline5{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline5-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:1.5rem;font-size:var(--mdc-typography-headline5-font-size,1.5rem);line-height:2rem;line-height:var(--mdc-typography-headline5-line-height,2rem);font-weight:400;font-weight:var(--mdc-typography-headline5-font-weight,400);letter-spacing:normal;letter-spacing:var(--mdc-typography-headline5-letter-spacing,normal);text-decoration:inherit;text-decoration:var(--mdc-typography-headline5-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline5-text-transform,inherit)}.mdc-typography--headline6{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline6-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size,1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height,2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight,500);letter-spacing:.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing,.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform,inherit)}.mdc-typography--subtitle1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle1-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size,1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height,1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight,400);letter-spacing:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing,.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform,inherit)}.mdc-typography--subtitle2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size,.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height,1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight,500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing,.0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform,inherit)}.mdc-typography--body1{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body1-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size,1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height,1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight,400);letter-spacing:.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing,.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform,inherit)}.mdc-typography--body2{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size,.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height,1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing,.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit)}.mdc-typography--caption{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size,.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height,1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing,.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit)}.mdc-typography--button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.875rem;font-size:var(--mdc-typography-button-font-size,.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height,2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing,.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:uppercase;text-transform:var(--mdc-typography-button-text-transform,uppercase)}.mdc-typography--overline{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-overline-font-family,var(--mdc-typography-font-family,Roboto,sans-serif));font-size:.75rem;font-size:var(--mdc-typography-overline-font-size,.75rem);line-height:2rem;line-height:var(--mdc-typography-overline-line-height,2rem);font-weight:500;font-weight:var(--mdc-typography-overline-font-weight,500);letter-spacing:.1666666667em;letter-spacing:var(--mdc-typography-overline-letter-spacing,.1666666667em);text-decoration:none;text-decoration:var(--mdc-typography-overline-text-decoration,none);text-transform:uppercase;text-transform:var(--mdc-typography-overline-text-transform,uppercase)}.container{overflow-x:auto}.content{color:var(--mdc-theme-text-primary-on-background);display:inline-block;min-width:100%}`;let r=class extends e.oi{render(){return e.dy`
3
+ <div class="container">
4
+ <div class="content">
5
+ <slot></slot>
6
+ </div>
7
+ </div>
8
+ `}};r.styles=[n],r=(0,t.gn)([(0,o.Mo)("td-tree-list")],r),document.addEventListener("select",(t=>{s(t)}));const s=t=>{const e=Array.from(document.querySelectorAll("td-tree-list-item")),i=t.target.shadowRoot.querySelector("div.itemContent");e.forEach((t=>{var e;null===(e=t.shadowRoot.querySelector("div.itemContent"))||void 0===e||e.classList.remove("selected")})),i.classList.add("selected")}})()})();
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright 2019 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
12
+
13
+ /**
14
+ * @license
15
+ * Copyright 2021 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */
@@ -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
+ */
@@ -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
- open: boolean;
12
- labelText: string;
13
- icon: string;
14
- centered: boolean;
15
- /**
16
- * The state representation active|negative|positive|caution
17
- */
18
- state: string;
19
- protected reason: CloseReason;
20
- protected render(): TemplateResult<1>;
21
- /** @soyTemplate */
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/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,EAAE,MAAM,4BAA4B,CAAC;AAGzD,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;IAE9C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,6BAAuB;IAEtC,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IACvB,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAalE,IAAI,UAAS;IAEa,SAAS,SAAM;IAEf,IAAI,SAAM;IAET,QAAQ,UAAQ;IAE3C;;OAEG;IAEH,KAAK,SAAM;IAEX,SAAS,CAAC,MAAM,EAAE,WAAW,CAA2B;cAErC,MAAM;IA4BzB,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 { 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.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-ribbon.component.d.ts","sourceRoot":"","sources":["../../../lib/components/action-ribbon/action-ribbon.component.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/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,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.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-shell.component.d.ts","sourceRoot":"","sources":["../../../lib/components/app-shell/app-shell.component.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.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.component.d.ts","sourceRoot":"","sources":["../../../lib/components/button/button.component.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,6 +0,0 @@
1
- export * from './action-ribbon/action-ribbon.component';
2
- export * from './app-shell/app-shell.component';
3
- export * from './list/td-list-expansion.component';
4
- export * from './list/td-list-item.component';
5
- export * from './button/button.component';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/components/index.ts"],"names":[],"mappings":"AAEA,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC"}
@@ -1,14 +0,0 @@
1
- import { ListBase } from '@material/mwc-list/mwc-list-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-expansion-list': CovalentExpansionList;
5
- }
6
- }
7
- export declare class CovalentExpansionList extends ListBase {
8
- static styles: import("lit").CSSResult[];
9
- open: boolean;
10
- constructor();
11
- private _toggleOpen;
12
- render(): import("lit-html").TemplateResult<1>;
13
- }
14
- //# sourceMappingURL=td-list-expansion.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"td-list-expansion.component.d.ts","sourceRoot":"","sources":["../../../lib/components/list/td-list-expansion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAU5D,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,mBAAmB,EAAE,qBAAqB,CAAC;KAC9C;CACJ;AAED,qBACa,qBAAsB,SAAQ,QAAQ;IAEjD,OAAgB,MAAM,4BAA4B;IAUlD,IAAI,UAAS;;IAOb,OAAO,CAAC,WAAW;IAMV,MAAM;CA2BhB"}
@@ -1,12 +0,0 @@
1
- import { ListItemBase } from '@material/mwc-list/mwc-list-item-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'td-list-item': CovalentListItemBase;
5
- }
6
- }
7
- export declare class CovalentListItemBase extends ListItemBase {
8
- static styles: import("lit").CSSResult[];
9
- hasChildren: boolean;
10
- render(): import("lit-html").TemplateResult<1>;
11
- }
12
- //# sourceMappingURL=td-list-item.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"td-list-item.component.d.ts","sourceRoot":"","sources":["../../../lib/components/list/td-list-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,cAAc,EAAE,oBAAoB,CAAC;KACxC;CACJ;AAED,qBACa,oBAAqB,SAAQ,YAAY;IAEpD,OAAgB,MAAM,4BAAyC;IAErB,WAAW,UAAS;IAErD,MAAM;CAehB"}