@telia-ace/alliance-ui 1.1.0-next.0 → 1.1.0
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/dist/chunk-AIATXCVP.js +1 -0
- package/dist/chunk-AZ6GENL6.js +1 -0
- package/dist/chunk-BDQXACZ6.js +1 -0
- package/dist/chunk-CNFJFZ6D.js +5 -0
- package/dist/chunk-DDZCFV2G.js +33 -0
- package/dist/chunk-H7ZWVNSK.js +1 -0
- package/dist/{chunk-7GNCIH46.js → chunk-HIRVP2II.js} +2 -2
- package/dist/chunk-IXSQVPWG.js +55 -0
- package/dist/chunk-IZII256B.js +116 -0
- package/dist/chunk-JZJUYJ7F.js +1 -0
- package/dist/chunk-QLXKAVKR.js +1 -0
- package/dist/{chunk-AV5TYPEK.js → chunk-T7HYVHI2.js} +30 -30
- package/dist/chunk-XLNQVDOQ.js +16 -0
- package/dist/components/alliance-link/index.js +1 -1
- package/dist/components/alliance-modal/index.js +1 -1
- package/dist/components/alliance-paginator/index.js +1 -1
- package/dist/components/alliance-pop-over/index.js +1 -1
- package/dist/components/alliance-table/index.js +1 -1
- package/dist/components/alliance-view/index.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/voca/component-library-styling.js +1 -2
- package/dist/voca/components/telia-accordion-item.js +1 -4
- package/dist/voca/components/telia-accordion.js +1 -1
- package/dist/voca/components/telia-badge.js +1 -1
- package/dist/voca/components/telia-button.js +1 -1
- package/dist/voca/components/telia-card-frame-link.js +1 -1
- package/dist/voca/components/telia-card-frame.js +1 -1
- package/dist/voca/components/telia-checkbox.js +1 -1
- package/dist/voca/components/telia-chip-choice.js +1 -3
- package/dist/voca/components/telia-chip-filter.js +1 -3
- package/dist/voca/components/telia-col.js +1 -1
- package/dist/voca/components/telia-color-dot.js +1 -1
- package/dist/voca/components/telia-counter-badge.js +1 -1
- package/dist/voca/components/telia-cta-link.js +1 -1
- package/dist/voca/components/telia-date-picker.js +1 -1
- package/dist/voca/components/telia-divider.js +1 -1
- package/dist/voca/components/telia-field-assistive-text.js +1 -1
- package/dist/voca/components/telia-field-error.js +1 -1
- package/dist/voca/components/telia-field-valid.js +1 -1
- package/dist/voca/components/telia-fieldset.js +1 -4
- package/dist/voca/components/telia-focus-trap.js +1 -1
- package/dist/voca/components/telia-form.js +1 -1
- package/dist/voca/components/telia-grid.js +1 -1
- package/dist/voca/components/telia-heading.js +1 -1
- package/dist/voca/components/telia-icon.js +1 -1
- package/dist/voca/components/telia-image.js +1 -1
- package/dist/voca/components/telia-label.js +1 -1
- package/dist/voca/components/telia-link-image.js +1 -1
- package/dist/voca/components/telia-link.js +1 -1
- package/dist/voca/components/telia-list.js +1 -1
- package/dist/voca/components/telia-logo.js +1 -1
- package/dist/voca/components/telia-notification.js +1 -1
- package/dist/voca/components/telia-overlay.js +1 -1
- package/dist/voca/components/telia-p.js +1 -7
- package/dist/voca/components/telia-pictogram.js +1 -1
- package/dist/voca/components/telia-radio-button.js +1 -1
- package/dist/voca/components/telia-row.js +1 -1
- package/dist/voca/components/telia-search-input.js +1 -1
- package/dist/voca/components/telia-select.js +1 -1
- package/dist/voca/components/telia-skeleton.js +1 -1
- package/dist/voca/components/telia-status-badge.js +1 -1
- package/dist/voca/components/telia-style-link.js +1 -1
- package/dist/voca/components/telia-tab-content.js +1 -1
- package/dist/voca/components/telia-tab-header.js +1 -1
- package/dist/voca/components/telia-tab.js +1 -1
- package/dist/voca/components/telia-text-input.js +1 -1
- package/dist/voca/components/telia-text-spacing.js +1 -1
- package/dist/voca/components/telia-textarea.js +1 -1
- package/dist/voca/components/telia-toggle.js +1 -1
- package/dist/voca/components/telia-visually-hidden.js +1 -1
- package/dist/voca/foundations.js +1 -1
- package/dist/voca/icons.js +1 -1
- package/package.json +6 -9
- package/dist/chunk-25DKARS5.js +0 -1
- package/dist/chunk-2CBI5DBV.js +0 -1
- package/dist/chunk-2INTPVP7.js +0 -1
- package/dist/chunk-2KYKMBE5.js +0 -1
- package/dist/chunk-3SNMRPVF.js +0 -33
- package/dist/chunk-3XBIT2QC.js +0 -1
- package/dist/chunk-4BBGHITO.js +0 -1
- package/dist/chunk-4RRWBCIH.js +0 -1
- package/dist/chunk-4YVRMZHU.js +0 -1
- package/dist/chunk-5ADT643J.js +0 -116
- package/dist/chunk-652ZEYLG.js +0 -1
- package/dist/chunk-7ADVKHKA.js +0 -1
- package/dist/chunk-BJCDB2UT.js +0 -23
- package/dist/chunk-CPNFJGZA.js +0 -5
- package/dist/chunk-CQXRGCL7.js +0 -0
- package/dist/chunk-DWTR6BZK.js +0 -1
- package/dist/chunk-EODFLZFI.js +0 -1
- package/dist/chunk-FTUVFYUS.js +0 -1
- package/dist/chunk-GXNVKBPH.js +0 -24
- package/dist/chunk-HY3DWO5A.js +0 -1
- package/dist/chunk-ILHJDXOE.js +0 -1
- package/dist/chunk-IP3GWZV5.js +0 -1
- package/dist/chunk-IRYZEKCA.js +0 -1
- package/dist/chunk-KIDSEE4D.js +0 -16
- package/dist/chunk-KTIWAGIV.js +0 -1
- package/dist/chunk-LU2NZ7PI.js +0 -55
- package/dist/chunk-NFNKJID6.js +0 -0
- package/dist/chunk-NXHOKNJ5.js +0 -10
- package/dist/chunk-R4RSRPKJ.js +0 -1
- package/dist/chunk-SX4ITYO2.js +0 -1
- package/dist/chunk-TCEWEAN6.js +0 -1
- package/dist/chunk-TNVJYLUC.js +0 -34
- package/dist/chunk-UFBH25JR.js +0 -1
- package/dist/chunk-W3X3OW6G.js +0 -118
- package/dist/chunk-WF2W45FP.js +0 -0
- package/dist/chunk-WOSOA5JK.js +0 -0
- package/dist/chunk-ZK2OOPE4.js +0 -1
- package/dist/shadow-css-3DZKVWAG.js +0 -17
package/dist/chunk-NXHOKNJ5.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
function p(r,o,n){return n={path:o,exports:{},require:function(s,e){return a()}},r(n,n.exports),n.exports}function a(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var f=p(function(r){(function(){var o={}.hasOwnProperty;function n(){for(var s=[],e=0;e<arguments.length;e++){var t=arguments[e];if(t){var i=typeof t;if(i==="string"||i==="number")s.push(t);else if(Array.isArray(t)){if(t.length){var c=n.apply(null,t);c&&s.push(c)}}else if(i==="object")if(t.toString===Object.prototype.toString)for(var u in t)o.call(t,u)&&t[u]&&s.push(u);else s.push(t.toString())}}return s.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n})()}),l=r=>f(r);export{l as a};
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
@teliads/components/dist/components/stringCombiner.js:
|
|
5
|
-
(*!
|
|
6
|
-
Copyright (c) 2018 Jed Watson.
|
|
7
|
-
Licensed under the MIT License (MIT), see
|
|
8
|
-
http://jedwatson.github.io/classnames
|
|
9
|
-
*)
|
|
10
|
-
*/
|
package/dist/chunk-R4RSRPKJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var j=Object.create;var h=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var o=b=>a=>{var d=b[a];if(d)return d();throw new Error("Module not found in bundle: "+a)};var p=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var n=(b,a,d,e)=>{if(a&&typeof a=="object"||typeof a=="function")for(let c of k(a))!m.call(b,c)&&c!==d&&h(b,c,{get:()=>a[c],enumerable:!(e=i(a,c))||e.enumerable});return b};var q=(b,a,d)=>(d=b!=null?j(l(b)):{},n(a||!b||!b.__esModule?h(d,"default",{value:b,enumerable:!0}):d,b));var r=(b,a,d,e)=>{for(var c=e>1?void 0:e?i(a,d):a,f=b.length-1,g;f>=0;f--)(g=b[f])&&(c=(e?g(a,d,c):g(c))||c);return e&&c&&h(a,d,c),c};export{o as a,p as b,q as c,r as d};
|
package/dist/chunk-SX4ITYO2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-IP3GWZV5.js";import{a as o}from"./chunk-25DKARS5.js";import{a as l}from"./chunk-ILHJDXOE.js";import{a as t,b as i,e as s}from"./chunk-BJCDB2UT.js";var c=":host{color:#008641;display:inline-block;height:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}",n=s(class extends t{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return i("telia-icon",{size:"md",svg:r.svg})}static get style(){return c}},[1,"telia-field-valid",{dataTestid:[1,"data-testid"]}]);function a(){if(typeof customElements>"u")return;["telia-field-valid","telia-icon","telia-vst"].forEach(e=>{switch(e){case"telia-field-valid":customElements.get(e)||customElements.define(e,n);break;case"telia-icon":customElements.get(e)||o();break;case"telia-vst":customElements.get(e)||l();break}})}a();export{a};
|
package/dist/chunk-TCEWEAN6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={name:"chevron-down",svg:'<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>'};export{e as a};
|
package/dist/chunk-TNVJYLUC.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk-ILHJDXOE.js";import{a as l,b as i,c as r,e as n}from"./chunk-BJCDB2UT.js";var m={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6"};Object.values(m);var s={TITLE100:"title-100",TITLE200:"title-200",TITLE300:"title-300",TITLE400:"title-400",TITLE500:"title-500",TITLE600:"title-600",TITLE700:"title-700",SUBSECTION100:"subsection-100"},o=`:host{display:block}h1,h2,h3,h4,h5,h6{hyphens:auto;margin:0;max-width:60ch}.subsection-100{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:500;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.25}.title-100{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.25}@media screen and (min-width: 37.5em){.title-100{font-size:calc(
|
|
2
|
-
calc(1.6rem * var(--voca-rem-multiplier)) + 0.4 *
|
|
3
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
4
|
-
)}}@media screen and (min-width: 90em){.title-100{font-size:calc(2rem * var(--voca-rem-multiplier))}}.title-200{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(2rem * var(--voca-rem-multiplier));line-height:1.25}@media screen and (min-width: 37.5em){.title-200{font-size:calc(
|
|
5
|
-
calc(2rem * var(--voca-rem-multiplier)) + 0.4 *
|
|
6
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
7
|
-
)}}@media screen and (min-width: 90em){.title-200{font-size:calc(2.4rem * var(--voca-rem-multiplier))}}.title-300{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(2.4rem * var(--voca-rem-multiplier));line-height:1.25}@media screen and (min-width: 37.5em){.title-300{font-size:calc(
|
|
8
|
-
calc(2.4rem * var(--voca-rem-multiplier)) + 0.8 *
|
|
9
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
10
|
-
)}}@media screen and (min-width: 90em){.title-300{font-size:calc(3.2rem * var(--voca-rem-multiplier))}}.title-400{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(2.8rem * var(--voca-rem-multiplier));line-height:1.25}@media screen and (min-width: 37.5em){.title-400{font-size:calc(
|
|
11
|
-
calc(2.8rem * var(--voca-rem-multiplier)) + 1.2 *
|
|
12
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
13
|
-
)}}@media screen and (min-width: 90em){.title-400{font-size:calc(4rem * var(--voca-rem-multiplier))}}.title-500{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(3.2rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.title-500{font-size:calc(
|
|
14
|
-
calc(3.2rem * var(--voca-rem-multiplier)) + 1.6 *
|
|
15
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
16
|
-
)}}@media screen and (min-width: 90em){.title-500{font-size:calc(4.8rem * var(--voca-rem-multiplier))}}.title-600{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(3.6rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.title-600{font-size:calc(
|
|
17
|
-
calc(3.6rem * var(--voca-rem-multiplier)) + 2 *
|
|
18
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
19
|
-
)}}@media screen and (min-width: 90em){.title-600{font-size:calc(5.6rem * var(--voca-rem-multiplier))}}.title-700{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:bold;font-size:calc(4rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.title-700{font-size:calc(
|
|
20
|
-
calc(4rem * var(--voca-rem-multiplier)) + 2.4 *
|
|
21
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
22
|
-
)}}@media screen and (min-width: 90em){.title-700{font-size:calc(6.4rem * var(--voca-rem-multiplier))}}.display-25{font-family:"TeliaSansHeading", "TeliaSans", "HelveticaNeue", Helvetica, Arial, sans-serif;font-weight:normal;font-size:calc(3.2rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.display-25{font-size:calc(
|
|
23
|
-
calc(3.2rem * var(--voca-rem-multiplier)) + 1.6 *
|
|
24
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
25
|
-
)}}@media screen and (min-width: 90em){.display-25{font-size:calc(4.8rem * var(--voca-rem-multiplier))}}.display-50{font-family:"TeliaSansHeading", "TeliaSans", "HelveticaNeue", Helvetica, Arial, sans-serif;font-weight:normal;font-size:calc(3.6rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.display-50{font-size:calc(
|
|
26
|
-
calc(3.6rem * var(--voca-rem-multiplier)) + 2 *
|
|
27
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
28
|
-
)}}@media screen and (min-width: 90em){.display-50{font-size:calc(5.6rem * var(--voca-rem-multiplier))}}.display-100{font-family:"TeliaSansHeading", "TeliaSans", "HelveticaNeue", Helvetica, Arial, sans-serif;font-weight:normal;font-size:calc(4rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.display-100{font-size:calc(
|
|
29
|
-
calc(4rem * var(--voca-rem-multiplier)) + 2.4 *
|
|
30
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
31
|
-
)}}@media screen and (min-width: 90em){.display-100{font-size:calc(6.4rem * var(--voca-rem-multiplier))}}.display-200{font-family:"TeliaSansHeading", "TeliaSans", "HelveticaNeue", Helvetica, Arial, sans-serif;font-weight:normal;font-size:calc(4.8rem * var(--voca-rem-multiplier));line-height:1}@media screen and (min-width: 37.5em){.display-200{font-size:calc(
|
|
32
|
-
calc(4.8rem * var(--voca-rem-multiplier)) + 3.2 *
|
|
33
|
-
(100vw - calc(60rem * var(--voca-rem-multiplier))) / 84
|
|
34
|
-
)}}@media screen and (min-width: 90em){.display-200{font-size:calc(8rem * var(--voca-rem-multiplier))}}`,t=n(class extends l{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.variant=s.TITLE100,this.dataTrackingId="telia-heading"}validateTag(e){this.validateHTag(e)}connectedCallback(){this.validateHTag(this.tag)}render(){let e=this.tag.toString();return i(r,{class:`telia-heading--${this.variant}`},i(e,{class:this.variant},i("slot",null)),i("telia-vst",{dataTrackingId:this.dataTrackingId}))}validateHTag(e){if(t.tags.indexOf(e)<0)throw new Error(`Illegal value for 'tag': ${e}. Please use ${t.tags.join(", ")}`)}static get watchers(){return{tag:["validateTag"]}}static get style(){return o}},[1,"telia-heading",{tag:[1],variant:[1]}]);t.tags=Object.values(m);function d(){if(typeof customElements>"u")return;["telia-heading","telia-vst"].forEach(a=>{switch(a){case"telia-heading":customElements.get(a)||customElements.define(a,t);break;case"telia-vst":customElements.get(a)||c();break}})}d();export{m as a,d as b};
|
package/dist/chunk-UFBH25JR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var o=(t={})=>{let{content:l="",title:e,attributes:a=[]}=t,n="",i=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},...a];return e&&(n=`<title>${e}</title>`),`<svg ${i.map(r=>`${r.name}="${r.value}"`).join(" ")}>${n}${l}</svg>`},g=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim();export{o as a,g as b};
|
package/dist/chunk-W3X3OW6G.js
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
var w=globalThis,L=w.ShadowRoot&&(w.ShadyCSS===void 0||w.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,K=Symbol(),G=new WeakMap,x=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==K)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(L&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=G.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&G.set(e,t))}return t}toString(){return this.cssText}},Q=r=>new x(typeof r=="string"?r:r+"",void 0,K),At=(r,...t)=>{let e=r.length===1?r[0]:t.reduce((s,i,o)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[o+1],r[0]);return new x(e,r,K)},Z=(r,t)=>{if(L)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),i=w.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},I=L||w.CSSStyleSheet===void 0?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Q(e)})(r):r;var tt=class{get shadowRoot(){return this.__host.__shadowRoot}constructor(t){this.ariaAtomic="",this.ariaAutoComplete="",this.ariaBraileLabel="",this.ariaBraileRoleDescription="",this.ariaBusy="",this.ariaChecked="",this.ariaColCount="",this.ariaColIndex="",this.ariaColSpan="",this.ariaCurrent="",this.ariaDescription="",this.ariaDisabled="",this.ariaExpanded="",this.ariaHasPopup="",this.ariaHidden="",this.ariaInvalid="",this.ariaKeyShortcuts="",this.ariaLabel="",this.ariaLevel="",this.ariaLive="",this.ariaModal="",this.ariaMultiLine="",this.ariaMultiSelectable="",this.ariaOrientation="",this.ariaPlaceholder="",this.ariaPosInSet="",this.ariaPressed="",this.ariaReadOnly="",this.ariaRequired="",this.ariaRoleDescription="",this.ariaRowCount="",this.ariaRowIndex="",this.ariaRowSpan="",this.ariaSelected="",this.ariaSetSize="",this.ariaSort="",this.ariaValueMax="",this.ariaValueMin="",this.ariaValueNow="",this.ariaValueText="",this.role="",this.form=null,this.labels=[],this.states=new Set,this.validationMessage="",this.validity={},this.willValidate=!0,this.__host=t}checkValidity(){return console.warn("`ElementInternals.checkValidity()` was called on the server.This method always returns true."),!0}reportValidity(){return!0}setFormValue(){}setValidity(){}};var et=new WeakMap,C=r=>{let t=et.get(r);return t===void 0&&et.set(r,t=new Map),t},vt=class{constructor(){this.__shadowRootMode=null,this.__shadowRoot=null,this.__internals=null}get attributes(){return Array.from(C(this)).map(([t,e])=>({name:t,value:e}))}get shadowRoot(){return this.__shadowRootMode==="closed"?null:this.__shadowRoot}setAttribute(t,e){C(this).set(t,String(e))}removeAttribute(t){C(this).delete(t)}hasAttribute(t){return C(this).has(t)}attachShadow(t){let e={host:this};return this.__shadowRootMode=t.mode,t&&t.mode==="open"&&(this.__shadowRoot=e),e}attachInternals(){if(this.__internals!==null)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");let t=new tt(this);return this.__internals=t,t}getAttribute(t){return C(this).get(t)??null}};var St=class extends vt{},st=St;var Et=class{constructor(){this.__definitions=new Map}define(t,e){if(this.__definitions.has(t))if(process.env.NODE_ENV==="development")console.warn(`'CustomElementRegistry' already has "${t}" defined. This may have been caused by live reload or hot module replacement in which case it can be safely ignored.
|
|
2
|
-
Make sure to test your application with a production build as repeat registrations will throw in production.`);else throw new Error(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);this.__definitions.set(t,{ctor:e,observedAttributes:e.observedAttributes??[]})}get(t){return this.__definitions.get(t)?.ctor}},bt=Et;var it=new bt;var{is:wt,defineProperty:xt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Rt,getOwnPropertySymbols:Pt,getPrototypeOf:Tt}=Object,T=globalThis;T.customElements??=it;var rt=T.trustedTypes,Mt=rt?rt.emptyScript:"",Ht=T.reactiveElementPolyfillSupport,R=(r,t)=>r,P={toAttribute(r,t){switch(t){case Boolean:r=r?Mt:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},k=(r,t)=>!wt(r,t),ot={attribute:!0,type:String,converter:P,reflect:!1,hasChanged:k};Symbol.metadata??=Symbol("metadata"),T.litPropertyMetadata??=new WeakMap;var m=class extends(globalThis.HTMLElement??st){static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ot){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&xt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){let{get:i,set:o}=Ct(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get(){return i?.call(this)},set(n){let h=i?.call(this);o.call(this,n),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ot}static _$Ei(){if(this.hasOwnProperty(R("elementProperties")))return;let t=Tt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(R("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(R("properties"))){let e=this.properties,s=[...Rt(e),...Pt(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(I(i))}else t!==void 0&&e.push(I(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Z(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EO(t,e){let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let o=(s.converter?.toAttribute!==void 0?s.converter:P).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let o=s.getPropertyOptions(i),n=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:P;this._$Em=i,this[i]=n.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s,i=!1,o){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??k)(i?o:this[t],e))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,o]of this._$Ep)this[i]=o;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[i,o]of s)o.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],o)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$ET()}catch(s){throw t=!1,this._$ET(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(e=>this._$EO(e,this[e])),this._$ET()}updated(t){}firstUpdated(t){}};m.elementStyles=[],m.shadowRootOptions={mode:"open"},m[R("elementProperties")]=new Map,m[R("finalized")]=new Map,Ht?.({ReactiveElement:m}),(T.reactiveElementVersions??=[]).push("2.0.2");var W=globalThis,D=W.trustedTypes,nt=D?D.createPolicy("lit-html",{createHTML:r=>r}):void 0,X="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,Y="?"+_,Ut=`<${Y}>`,g=W.document===void 0?{createTreeWalker:()=>({})}:document,H=()=>g.createComment(""),U=r=>r===null||typeof r!="object"&&typeof r!="function",pt=Array.isArray,ut=r=>pt(r)||typeof r?.[Symbol.iterator]=="function",J=`[
|
|
3
|
-
\f\r]`,M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,at=/-->/g,lt=/>/g,$=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ht=/'/g,ct=/"/g,mt=/^(?:script|style|textarea|title)$/i,_t=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),te=_t(1),ee=_t(2),A=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),dt=new WeakMap,y=g.createTreeWalker(g,129);function ft(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return nt!==void 0?nt.createHTML(t):t}var $t=(r,t)=>{let e=r.length-1,s=[],i,o=t===2?"<svg>":"",n=M;for(let h=0;h<e;h++){let a=r[h],c,p,l=-1,u=0;for(;u<a.length&&(n.lastIndex=u,p=n.exec(a),p!==null);)u=n.lastIndex,n===M?p[1]==="!--"?n=at:p[1]!==void 0?n=lt:p[2]!==void 0?(mt.test(p[2])&&(i=RegExp("</"+p[2],"g")),n=$):p[3]!==void 0&&(n=$):n===$?p[0]===">"?(n=i??M,l=-1):p[1]===void 0?l=-2:(l=n.lastIndex-p[2].length,c=p[1],n=p[3]===void 0?$:p[3]==='"'?ct:ht):n===ct||n===ht?n=$:n===at||n===lt?n=M:(n=$,i=void 0);let f=n===$&&r[h+1].startsWith("/>")?" ":"";o+=n===M?a+Ut:l>=0?(s.push(c),a.slice(0,l)+X+a.slice(l)+_+f):a+_+(l===-2?h:f)}return[ft(r,o+(r[e]||"<?>")+(t===2?"</svg>":"")),s]},N=class r{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,n=0,h=t.length-1,a=this.parts,[c,p]=$t(t,e);if(this.el=r.createElement(c,s),y.currentNode=this.el.content,e===2){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=y.nextNode())!==null&&a.length<h;){if(i.nodeType===1){if(i.hasAttributes())for(let l of i.getAttributeNames())if(l.endsWith(X)){let u=p[n++],f=i.getAttribute(l).split(_),O=/([.?@])?(.*)/.exec(u);a.push({type:1,index:o,name:O[2],strings:f,ctor:O[1]==="."?q:O[1]==="?"?z:O[1]==="@"?B:S}),i.removeAttribute(l)}else l.startsWith(_)&&(a.push({type:6,index:o}),i.removeAttribute(l));if(mt.test(i.tagName)){let l=i.textContent.split(_),u=l.length-1;if(u>0){i.textContent=D?D.emptyScript:"";for(let f=0;f<u;f++)i.append(l[f],H()),y.nextNode(),a.push({type:2,index:++o});i.append(l[u],H())}}}else if(i.nodeType===8)if(i.data===Y)a.push({type:2,index:o});else{let l=-1;for(;(l=i.data.indexOf(_,l+1))!==-1;)a.push({type:7,index:o}),l+=_.length-1}o++}}static createElement(t,e){let s=g.createElement("template");return s.innerHTML=t,s}};function v(r,t,e=r,s){if(t===A)return t;let i=s!==void 0?e._$Co?.[s]:e._$Cl,o=U(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),o===void 0?i=void 0:(i=new o(r),i._$AT(r,e,s)),s!==void 0?(e._$Co??=[])[s]=i:e._$Cl=i),i!==void 0&&(t=v(r,i._$AS(r,t.values),i,s)),t}var V=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??g).importNode(e,!0);y.currentNode=i;let o=y.nextNode(),n=0,h=0,a=s[0];for(;a!==void 0;){if(n===a.index){let c;a.type===2?c=new E(o,o.nextSibling,this,t):a.type===1?c=new a.ctor(o,a.name,a.strings,this,t):a.type===6&&(c=new j(o,this,t)),this._$AV.push(c),a=s[++h]}n!==a?.index&&(o=y.nextNode(),n++)}return y.currentNode=g,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},E=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=v(this,t,e),U(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==A&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ut(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==d&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(g.createTextNode(t)),this._$AH=t}g(t){let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=N.createElement(ft(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{let o=new V(i,this),n=o.u(this.options);o.p(e),this.$(n),this._$AH=o}}_$AC(t){let e=dt.get(t.strings);return e===void 0&&dt.set(t.strings,e=new N(t)),e}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let o of t)i===e.length?e.push(s=new r(this.k(H()),this.k(H()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},S=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,i){let o=this.strings,n=!1;if(o===void 0)t=v(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==A,n&&(this._$AH=t);else{let h=t,a,c;for(t=o[0],a=0;a<o.length-1;a++)c=v(this,h[s+a],e,a),c===A&&(c=this._$AH[a]),n||=!U(c)||c!==this._$AH[a],c===d?t=d:t!==d&&(t+=(c??"")+o[a+1]),this._$AH[a]=c}n&&!i&&this.O(t)}O(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},q=class extends S{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===d?void 0:t}},z=class extends S{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},B=class extends S{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=v(this,t,e,0)??d)===A)return;let s=this._$AH,i=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==d&&(s===d||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},j=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){v(this,t)}},se={j:X,P:_,A:Y,C:1,M:$t,L:V,R:ut,V:v,D:E,I:S,H:z,N:B,U:q,B:j},Nt=W.litHtmlPolyfillSupport;Nt?.(N,E),(W.litHtmlVersions??=[]).push("3.1.0");var yt=(r,t,e)=>{let s=e?.renderBefore??t,i=s._$litPart$;if(i===void 0){let o=e?.renderBefore??null;s._$litPart$=i=new E(t.insertBefore(H(),o),o,void 0,e??{})}return i._$AI(r),i};var b=class extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return A}};b._$litElement$=!0,b.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:b});var Ot=globalThis.litElementPolyfillSupport;Ot?.({LitElement:b});(globalThis.litElementVersions??=[]).push("4.0.2");var Lt={attribute:!0,type:String,converter:P,reflect:!1,hasChanged:k},It=(r=Lt,t,e)=>{let{kind:s,metadata:i}=e,o=globalThis.litPropertyMetadata.get(i);if(o===void 0&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(e.name,r),s==="accessor"){let{name:n}=e;return{set(h){let a=t.get.call(this);t.set.call(this,h),this.requestUpdate(n,a,r)},init(h){return h!==void 0&&this.C(n,void 0,r),h}}}if(s==="setter"){let{name:n}=e;return function(h){let a=this[n];t.call(this,h),this.requestUpdate(n,a,r)}}throw Error("Unsupported decorator location: "+s)};function gt(r){return(t,e)=>typeof e=="object"?It(r,t,e):((s,i,o)=>{let n=i.hasOwnProperty(o);return i.constructor.createProperty(o,n?{...s,wrapped:!0}:s),n?Object.getOwnPropertyDescriptor(i,o):void 0})(r,t,e)}function ye(r){return gt({...r,state:!0,attribute:!1})}export{Q as a,At as b,te as c,A as d,se as e,b as f,gt as g,ye as h};
|
|
5
|
-
/*! Bundled license information:
|
|
6
|
-
|
|
7
|
-
@lit/reactive-element/node/css-tag.js:
|
|
8
|
-
(**
|
|
9
|
-
* @license
|
|
10
|
-
* Copyright 2019 Google LLC
|
|
11
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
|
-
*)
|
|
13
|
-
|
|
14
|
-
@lit-labs/ssr-dom-shim/lib/element-internals.js:
|
|
15
|
-
(**
|
|
16
|
-
* @license
|
|
17
|
-
* Copyright 2023 Google LLC
|
|
18
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
-
*)
|
|
20
|
-
|
|
21
|
-
@lit-labs/ssr-dom-shim/index.js:
|
|
22
|
-
(**
|
|
23
|
-
* @license
|
|
24
|
-
* Copyright 2019 Google LLC
|
|
25
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
-
*)
|
|
27
|
-
|
|
28
|
-
lit-html/node/lit-html.js:
|
|
29
|
-
(**
|
|
30
|
-
* @license
|
|
31
|
-
* Copyright 2017 Google LLC
|
|
32
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
-
*)
|
|
34
|
-
|
|
35
|
-
lit-element/lit-element.js:
|
|
36
|
-
(**
|
|
37
|
-
* @license
|
|
38
|
-
* Copyright 2017 Google LLC
|
|
39
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
40
|
-
*)
|
|
41
|
-
|
|
42
|
-
lit-html/node/is-server.js:
|
|
43
|
-
(**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2022 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*)
|
|
48
|
-
|
|
49
|
-
@lit/reactive-element/node/decorators/property.js:
|
|
50
|
-
(**
|
|
51
|
-
* @license
|
|
52
|
-
* Copyright 2017 Google LLC
|
|
53
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*)
|
|
55
|
-
|
|
56
|
-
@lit/reactive-element/node/decorators/state.js:
|
|
57
|
-
(**
|
|
58
|
-
* @license
|
|
59
|
-
* Copyright 2017 Google LLC
|
|
60
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*)
|
|
62
|
-
|
|
63
|
-
@lit/reactive-element/node/decorators/custom-element.js:
|
|
64
|
-
(**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2017 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*)
|
|
69
|
-
|
|
70
|
-
@lit/reactive-element/node/decorators/event-options.js:
|
|
71
|
-
(**
|
|
72
|
-
* @license
|
|
73
|
-
* Copyright 2017 Google LLC
|
|
74
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
75
|
-
*)
|
|
76
|
-
|
|
77
|
-
@lit/reactive-element/node/decorators/base.js:
|
|
78
|
-
(**
|
|
79
|
-
* @license
|
|
80
|
-
* Copyright 2017 Google LLC
|
|
81
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
82
|
-
*)
|
|
83
|
-
|
|
84
|
-
@lit/reactive-element/node/decorators/query.js:
|
|
85
|
-
(**
|
|
86
|
-
* @license
|
|
87
|
-
* Copyright 2017 Google LLC
|
|
88
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*)
|
|
90
|
-
|
|
91
|
-
@lit/reactive-element/node/decorators/query-all.js:
|
|
92
|
-
(**
|
|
93
|
-
* @license
|
|
94
|
-
* Copyright 2017 Google LLC
|
|
95
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
96
|
-
*)
|
|
97
|
-
|
|
98
|
-
@lit/reactive-element/node/decorators/query-async.js:
|
|
99
|
-
(**
|
|
100
|
-
* @license
|
|
101
|
-
* Copyright 2017 Google LLC
|
|
102
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
|
-
*)
|
|
104
|
-
|
|
105
|
-
@lit/reactive-element/node/decorators/query-assigned-elements.js:
|
|
106
|
-
(**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2021 Google LLC
|
|
109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*)
|
|
111
|
-
|
|
112
|
-
@lit/reactive-element/node/decorators/query-assigned-nodes.js:
|
|
113
|
-
(**
|
|
114
|
-
* @license
|
|
115
|
-
* Copyright 2017 Google LLC
|
|
116
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
|
-
*)
|
|
118
|
-
*/
|
package/dist/chunk-WF2W45FP.js
DELETED
|
File without changes
|
package/dist/chunk-WOSOA5JK.js
DELETED
|
File without changes
|
package/dist/chunk-ZK2OOPE4.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var t=()=>Math.floor(Math.random()*1e6),n=o=>`${o?`${o}-`:""}${t()}-${t()}`;export{n as a};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import"./chunk-R4RSRPKJ.js";var b=t=>{let e=[],o=0,s;return t=t.replace(/(\[[^\]]*\])/g,(n,a)=>{let r=`__ph-${o}__`;return e.push(a),o++,r}),s=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(n,a,r)=>{let l=`__ph-${o}__`;return e.push(r),o++,a+l}),{content:s,placeholders:e}},w=(t,e)=>e.replace(/__ph-(\d+)__/g,(o,s)=>t[+s]),g="-shadowcsshost",O="-shadowcssslotted",k="-shadowcsscontext",H=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",L=new RegExp("("+g+H,"gim"),P=new RegExp("("+k+H,"gim"),j=new RegExp("("+O+H,"gim"),_=g+"-no-combinator",x=/-shadowcsshost-no-combinator([^\s]*)/,v=[/::shadow/g,/::content/g],N="([>\\s~+[.,{:][\\s\\S]*)?$",S=/-shadowcsshost/gim,M=/:host/gim,D=/::slotted/gim,I=/:host-context/gim,K=/\/\*\s*[\s\S]*?\*\//g,U=t=>t.replace(K,""),Y=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,A=t=>t.match(Y)||[],G=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,q=/([{}])/g,z=/(^.*?[^\\])??((:+)(.*)|$)/,F="{",J="}",R="%BLOCK%",$=(t,e)=>{let o=Q(t),s=0;return o.escapedString.replace(G,(...c)=>{let n=c[2],a="",r=c[4],l="";r&&r.startsWith("{"+R)&&(a=o.blocks[s++],r=r.substring(R.length+1),l="{");let p=e({selector:n,content:a});return`${c[1]}${p.selector}${c[3]}${l}${p.content}${r}`})},Q=t=>{let e=t.split(q),o=[],s=[],c=0,n=[];for(let r=0;r<e.length;r++){let l=e[r];l===J&&c--,c>0?n.push(l):(n.length>0&&(s.push(n.join("")),o.push(R),n=[]),o.push(l)),l===F&&c++}return n.length>0&&(s.push(n.join("")),o.push(R)),{escapedString:o.join(""),blocks:s}},V=t=>(t=t.replace(I,k).replace(M,g).replace(D,O),t),y=(t,e,o)=>t.replace(e,(...s)=>{if(s[2]){let c=s[2].split(","),n=[];for(let a=0;a<c.length;a++){let r=c[a].trim();if(!r)break;n.push(o(_,r,s[3]))}return n.join(",")}else return _+s[3]}),B=(t,e,o)=>t+e.replace(g,"")+o,X=t=>y(t,L,B),Z=(t,e,o)=>e.indexOf(g)>-1?B(t,e,o):t+e+o+", "+e+" "+t+o,T=(t,e)=>{let o="."+e+" > ",s=[];return t=t.replace(j,(...c)=>{if(c[2]){let n=c[2].trim(),a=c[3],r=o+n+a,l="";for(let d=c[4]-1;d>=0;d--){let u=c[5][d];if(u==="}"||u===",")break;l=u+l}let i=l+r,p=`${l.trimRight()}${r.trim()}`;if(i.trim()!==p.trim()){let d=`${p}, ${i}`;s.push({orgSelector:i,updatedSelector:d})}return r}else return _+c[3]}),{selectors:s,cssText:t}},tt=t=>y(t,P,Z),et=t=>v.reduce((e,o)=>e.replace(o," "),t),ot=t=>{let e=/\[/g,o=/\]/g;return t=t.replace(e,"\\[").replace(o,"\\]"),new RegExp("^("+t+")"+N,"m")},nt=(t,e)=>!ot(e).test(t),E=(t,e)=>t.replace(z,(o,s="",c,n="",a="")=>s+e+n+a),st=(t,e,o)=>{if(S.lastIndex=0,S.test(t)){let s=`.${o}`;return t.replace(x,(c,n)=>E(n,s)).replace(S,s+" ")}return e+" "+t},ct=(t,e,o)=>{let s=/\[is=([^\]]*)\]/g;e=e.replace(s,(f,...h)=>h[0]);let c="."+e,n=f=>{let h=f.trim();if(!h)return"";if(f.indexOf(_)>-1)h=st(f,e,o);else{let m=f.replace(S,"");m.length>0&&(h=E(m,c))}return h},a=b(t);t=a.content;let r="",l=0,i,p=/( |>|\+|~(?!=))\s*/g,u=!(t.indexOf(_)>-1);for(;(i=p.exec(t))!==null;){let f=i[1],h=t.slice(l,i.index).trim();u=u||h.indexOf(_)>-1;let m=u?n(h):h;r+=`${m} ${f} `,l=p.lastIndex}let C=t.substring(l);return u=u||C.indexOf(_)>-1,r+=u?n(C):C,w(a.placeholders,r)},rt=(t,e,o,s)=>t.split(",").map(c=>s&&c.indexOf("."+s)>-1?c.trim():nt(c,e)?ct(c,e,o).trim():c.trim()).join(", "),W=(t,e,o,s,c)=>$(t,n=>{let a=n.selector,r=n.content;return n.selector[0]!=="@"?a=rt(n.selector,e,o,s):(n.selector.startsWith("@media")||n.selector.startsWith("@supports")||n.selector.startsWith("@page")||n.selector.startsWith("@document"))&&(r=W(n.content,e,o,s)),{selector:a.replace(/\s{2,}/g," ").trim(),content:r}}),lt=(t,e,o,s,c)=>{t=V(t),t=X(t),t=tt(t);let n=T(t,s);return t=n.cssText,t=et(t),e&&(t=W(t,e,o,s)),t=t.replace(/-shadowcsshost-no-combinator/g,`.${o}`),t=t.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:t.trim(),slottedSelectors:n.selectors}},it=(t,e,o)=>{let s=e+"-h",c=e+"-s",n=A(t);t=U(t);let a=[];if(o){let l=i=>{let p=`/*!@___${a.length}___*/`,d=`/*!@${i.selector}*/`;return a.push({placeholder:p,comment:d}),i.selector=p+i.selector,i};t=$(t,i=>i.selector[0]!=="@"?l(i):((i.selector.startsWith("@media")||i.selector.startsWith("@supports")||i.selector.startsWith("@page")||i.selector.startsWith("@document"))&&(i.content=$(i.content,l)),i))}let r=lt(t,e,s,c);return t=[r.cssText,...n].join(`
|
|
2
|
-
`),o&&a.forEach(({placeholder:l,comment:i})=>{t=t.replace(l,i)}),r.slottedSelectors.forEach(l=>{t=t.replace(l.orgSelector,l.updatedSelector)}),t};export{it as scopeCss};
|
|
3
|
-
/*! Bundled license information:
|
|
4
|
-
|
|
5
|
-
@stencil/core/internal/client/shadow-css.js:
|
|
6
|
-
(**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
9
|
-
*
|
|
10
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
11
|
-
* found in the LICENSE file at https://angular.io/license
|
|
12
|
-
*
|
|
13
|
-
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
|
|
14
|
-
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
15
|
-
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
16
|
-
*)
|
|
17
|
-
*/
|