@lukso/web-components 1.172.17 → 1.172.19

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 (51) hide show
  1. package/dist/chunks/index-BSaCYACP.js +38 -0
  2. package/dist/chunks/{index-DIHXzSqi.js → index-BdDs1GTr.js} +1 -1
  3. package/dist/chunks/{index-Chs3AjPK.js → index-BptDRJ4b.js} +3 -3
  4. package/dist/chunks/{index-DsmwLJjR.js → index-DNzK6-9T.js} +1 -1
  5. package/dist/chunks/{index-y7UFhQ9u.js → index-DfEZ5Urq.js} +3 -3
  6. package/dist/chunks/index-DvBRl_q4.js +41 -0
  7. package/dist/components/index.cjs +2 -2
  8. package/dist/components/index.js +2 -2
  9. package/dist/components/lukso-button/index.d.ts +1 -1
  10. package/dist/components/lukso-card/index.cjs +7 -7
  11. package/dist/components/lukso-card/index.js +7 -7
  12. package/dist/components/lukso-checkbox/index.cjs +1 -2
  13. package/dist/components/lukso-checkbox/index.js +1 -2
  14. package/dist/components/lukso-color-picker/index.cjs +2 -2
  15. package/dist/components/lukso-color-picker/index.js +2 -2
  16. package/dist/components/lukso-dropdown/index.cjs +1 -1
  17. package/dist/components/lukso-dropdown/index.js +1 -1
  18. package/dist/components/lukso-icon/index.cjs +252 -252
  19. package/dist/components/lukso-icon/index.js +252 -252
  20. package/dist/components/lukso-image/index.cjs +2 -2
  21. package/dist/components/lukso-image/index.js +2 -2
  22. package/dist/components/lukso-modal/index.d.ts +2 -1
  23. package/dist/components/lukso-modal/index.d.ts.map +1 -1
  24. package/dist/components/lukso-progress/index.cjs +3 -3
  25. package/dist/components/lukso-progress/index.js +3 -3
  26. package/dist/components/lukso-search/index.cjs +2 -2
  27. package/dist/components/lukso-search/index.js +2 -2
  28. package/dist/components/lukso-select/index.cjs +1 -1
  29. package/dist/components/lukso-select/index.js +1 -1
  30. package/dist/components/lukso-switch/index.cjs +3 -3
  31. package/dist/components/lukso-switch/index.js +3 -3
  32. package/dist/components/lukso-tag/index.cjs +1 -1
  33. package/dist/components/lukso-tag/index.js +1 -1
  34. package/dist/components/lukso-terms/index.cjs +1 -2
  35. package/dist/components/lukso-terms/index.js +1 -2
  36. package/dist/components/lukso-username/index.cjs +3 -3
  37. package/dist/components/lukso-username/index.js +3 -3
  38. package/dist/components/lukso-wizard/index.cjs +2 -15
  39. package/dist/components/lukso-wizard/index.js +2 -15
  40. package/dist/index.cjs +2 -2
  41. package/dist/index.js +2 -2
  42. package/dist/vite.full.config.d.ts.map +1 -1
  43. package/package.json +2 -2
  44. package/dist/chunks/directive-CY66atYi.js +0 -22
  45. package/dist/chunks/directive-DUHAbymA.js +0 -15
  46. package/dist/chunks/index-BOEPqh0N.js +0 -20
  47. package/dist/chunks/index-C5S-_QDF.js +0 -18
  48. package/dist/chunks/index-CqZm8OfY.js +0 -22
  49. package/dist/chunks/index-DvLZWpq9.js +0 -24
  50. package/dist/chunks/style-map-AEeBQfPb.js +0 -11
  51. package/dist/chunks/style-map-auscxO0L.js +0 -9
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const lit = require('lit');
6
6
  const decorators_js = require('lit/decorators.js');
7
- const styleMap = require('../../chunks/style-map-AEeBQfPb.js');
7
+ const styleMap_js = require('lit/directives/style-map.js');
8
8
  const tailwindVariants = require('tailwind-variants');
9
9
  const index = require('../../chunks/index-BBPgtFEP.js');
10
10
 
@@ -92,7 +92,7 @@ exports.LuksoImage = class LuksoImage extends index.TailwindElement {
92
92
  <div class=${wrapper()}>
93
93
  <div
94
94
  class=${placeholder()}
95
- style=${styleMap.o({
95
+ style=${styleMap_js.styleMap({
96
96
  backgroundImage: `url('${this.resolvedPlaceholder}')`
97
97
  })}
98
98
  >
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { property, state } from 'lit/decorators.js';
3
- import { o } from '../../chunks/style-map-auscxO0L.js';
3
+ import { styleMap } from 'lit/directives/style-map.js';
4
4
  import { tv } from 'tailwind-variants';
5
5
  import { T as TailwindElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
6
6
 
@@ -88,7 +88,7 @@ let LuksoImage = class extends TailwindElement {
88
88
  <div class=${wrapper()}>
89
89
  <div
90
90
  class=${placeholder()}
91
- style=${o({
91
+ style=${styleMap({
92
92
  backgroundImage: `url('${this.resolvedPlaceholder}')`
93
93
  })}
94
94
  >
@@ -1,5 +1,6 @@
1
+ import { TailwindElement } from '../../shared/tailwind-element';
1
2
  export type ModalSizes = 'small' | 'medium' | 'full' | 'auto';
2
- declare const LuksoModal_base: any;
3
+ declare const LuksoModal_base: import('@lukso/core').ThemeMixinConstructor<typeof TailwindElement>;
3
4
  export declare class LuksoModal extends LuksoModal_base {
4
5
  isOpen: boolean;
5
6
  disableAnimations: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-modal/index.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;;AAE7D,qBACa,UAAW,SAAQ,eAA0B;IAExD,MAAM,UAAQ;IAGd,iBAAiB,UAAQ;IAGzB,IAAI,EAAE,UAAU,CAAU;IAG1B,gBAAgB,UAAQ;IAExB,OAAO,CAAC,MAAM,CAwDZ;IAEF,OAAO,CAAC,KAAK;YAIC,mBAAmB;IASjC,MAAM;CAmBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-modal/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;;AAE7D,qBACa,UAAW,SAAQ,eAA0B;IAExD,MAAM,UAAQ;IAGd,iBAAiB,UAAQ;IAGzB,IAAI,EAAE,UAAU,CAAU;IAG1B,gBAAgB,UAAQ;IAExB,OAAO,CAAC,MAAM,CAwDZ;IAEF,OAAO,CAAC,KAAK;YAIC,mBAAmB;IASjC,MAAM;CAmBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const lit = require('lit');
6
6
  const decorators_js = require('lit/decorators.js');
7
- const styleMap = require('../../chunks/style-map-AEeBQfPb.js');
7
+ const styleMap_js = require('lit-html/directives/style-map.js');
8
8
  const index = require('../../chunks/index-BBPgtFEP.js');
9
9
  require('../../tailwind-config.cjs');
10
10
  require('../../chunks/index-oDo-wiUs.js');
@@ -38,13 +38,13 @@ exports.LuksoProgress = class LuksoProgress extends index.TailwindElement {
38
38
  return lit.html`
39
39
  <div
40
40
  data-testid="progress"
41
- style=${styleMap.o({
41
+ style=${styleMap_js.styleMap({
42
42
  height: this.height > 16 ? `${this.height}px` : "16px"
43
43
  })}
44
44
  class=${cn.cn("w-full rounded-24 bg-neutral-95 relative")}
45
45
  >
46
46
  <div
47
- style=${styleMap.o({
47
+ style=${styleMap_js.styleMap({
48
48
  width: `${this.progressWidth()}%`
49
49
  })}
50
50
  class=${cn.cn(
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { property } from 'lit/decorators.js';
3
- import { o } from '../../chunks/style-map-auscxO0L.js';
3
+ import { styleMap } from 'lit-html/directives/style-map.js';
4
4
  import { T as TailwindElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
5
5
  import '../../tailwind-config.js';
6
6
  import '../../chunks/index-CSnDkMHN.js';
@@ -34,13 +34,13 @@ let LuksoProgress = class extends TailwindElement {
34
34
  return html`
35
35
  <div
36
36
  data-testid="progress"
37
- style=${o({
37
+ style=${styleMap({
38
38
  height: this.height > 16 ? `${this.height}px` : "16px"
39
39
  })}
40
40
  class=${cn("w-full rounded-24 bg-neutral-95 relative")}
41
41
  >
42
42
  <div
43
- style=${o({
43
+ style=${styleMap({
44
44
  width: `${this.progressWidth()}%`
45
45
  })}
46
46
  class=${cn(
@@ -13,14 +13,14 @@ require('../lukso-icon/index.cjs');
13
13
  require('../lukso-input/index.cjs');
14
14
  require('../lukso-profile/index.cjs');
15
15
  require('../lukso-tag/index.cjs');
16
- require('../../chunks/index-y7UFhQ9u.js');
16
+ require('../../chunks/index-DfEZ5Urq.js');
17
17
  require('../lukso-tooltip/index.cjs');
18
18
  require('../../tailwind-config.cjs');
19
19
  require('../../chunks/index-oDo-wiUs.js');
20
20
  require('../../chunks/cn-JMx_imgS.js');
21
21
  require('viem');
22
22
  require('axe-core');
23
- const components_luksoSearch_index = require('../../chunks/index-DIHXzSqi.js');
23
+ const components_luksoSearch_index = require('../../chunks/index-BdDs1GTr.js');
24
24
  require('../../chunks/uniq-id-Cszs24DQ.js');
25
25
 
26
26
 
@@ -9,12 +9,12 @@ import '../lukso-icon/index.js';
9
9
  import '../lukso-input/index.js';
10
10
  import '../lukso-profile/index.js';
11
11
  import '../lukso-tag/index.js';
12
- import '../../chunks/index-Chs3AjPK.js';
12
+ import '../../chunks/index-BptDRJ4b.js';
13
13
  import '../lukso-tooltip/index.js';
14
14
  import '../../tailwind-config.js';
15
15
  import '../../chunks/index-CSnDkMHN.js';
16
16
  import '../../chunks/cn-Df_5FiGi.js';
17
17
  import 'viem';
18
18
  import 'axe-core';
19
- export { L as LuksoSearch } from '../../chunks/index-DsmwLJjR.js';
19
+ export { L as LuksoSearch } from '../../chunks/index-DNzK6-9T.js';
20
20
  import '../../chunks/uniq-id-CGUN-pJV.js';
@@ -9,7 +9,7 @@ const makeBlockie = require('ethereum-blockies-base64');
9
9
  const index = require('../../chunks/index-BBPgtFEP.js');
10
10
  require('../lukso-icon/index.cjs');
11
11
  require('../lukso-profile/index.cjs');
12
- require('../../chunks/index-y7UFhQ9u.js');
12
+ require('../../chunks/index-DfEZ5Urq.js');
13
13
  require('../lukso-dropdown/index.cjs');
14
14
  require('../lukso-dropdown-option/index.cjs');
15
15
  require('../../chunks/index-Dh7fuono.js');
@@ -5,7 +5,7 @@ import makeBlockie from 'ethereum-blockies-base64';
5
5
  import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
6
6
  import '../lukso-icon/index.js';
7
7
  import '../lukso-profile/index.js';
8
- import '../../chunks/index-Chs3AjPK.js';
8
+ import '../../chunks/index-BptDRJ4b.js';
9
9
  import '../lukso-dropdown/index.js';
10
10
  import '../lukso-dropdown-option/index.js';
11
11
  import '../../chunks/index-CA_aKopU.js';
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const lit = require('lit');
6
6
  const decorators_js = require('lit/decorators.js');
7
- const styleMap = require('../../chunks/style-map-AEeBQfPb.js');
7
+ const styleMap_js = require('lit/directives/style-map.js');
8
8
  const tailwindVariants = require('tailwind-variants');
9
9
  const index = require('../../chunks/index-BBPgtFEP.js');
10
10
  const uniqId = require('../../chunks/uniq-id-Cszs24DQ.js');
@@ -107,7 +107,7 @@ exports.LuksoSwitch = class LuksoSwitch extends index.TailwindElement {
107
107
  <div class="flex">
108
108
  <div
109
109
  class=${label()}
110
- style=${styleMap.o({
110
+ style=${styleMap_js.styleMap({
111
111
  backgroundColor: `var(--${this.isChecked ? this.color : "neutral-90"})`
112
112
  })}
113
113
  >
@@ -118,7 +118,7 @@ exports.LuksoSwitch = class LuksoSwitch extends index.TailwindElement {
118
118
  ?checked=${this.isChecked}
119
119
  ?disabled=${this.isDisabled}
120
120
  class=${input()}
121
- style=${styleMap.o({
121
+ style=${styleMap_js.styleMap({
122
122
  borderColor: `var(--${this.isChecked ? this.color : "neutral-90"})`
123
123
  })}
124
124
  @change=${this.handleChange}
@@ -1,6 +1,6 @@
1
1
  import { html } from 'lit';
2
2
  import { property } from 'lit/decorators.js';
3
- import { o } from '../../chunks/style-map-auscxO0L.js';
3
+ import { styleMap } from 'lit/directives/style-map.js';
4
4
  import { tv } from 'tailwind-variants';
5
5
  import { T as TailwindElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
6
6
  import { u as uniqId } from '../../chunks/uniq-id-CGUN-pJV.js';
@@ -103,7 +103,7 @@ let LuksoSwitch = class extends TailwindElement {
103
103
  <div class="flex">
104
104
  <div
105
105
  class=${label()}
106
- style=${o({
106
+ style=${styleMap({
107
107
  backgroundColor: `var(--${this.isChecked ? this.color : "neutral-90"})`
108
108
  })}
109
109
  >
@@ -114,7 +114,7 @@ let LuksoSwitch = class extends TailwindElement {
114
114
  ?checked=${this.isChecked}
115
115
  ?disabled=${this.isDisabled}
116
116
  class=${input()}
117
- style=${o({
117
+ style=${styleMap({
118
118
  borderColor: `var(--${this.isChecked ? this.color : "neutral-90"})`
119
119
  })}
120
120
  @change=${this.handleChange}
@@ -6,7 +6,7 @@ const lit = require('lit');
6
6
  const decorators_js = require('lit/decorators.js');
7
7
  const tailwindVariants = require('tailwind-variants');
8
8
  const index = require('../../chunks/index-BBPgtFEP.js');
9
- const index$1 = require('../../chunks/index-DvLZWpq9.js');
9
+ const index$1 = require('../../chunks/index-DvBRl_q4.js');
10
10
 
11
11
  const style = ":host {\n display: inline-flex\n}";
12
12
 
@@ -2,7 +2,7 @@ import { html } from 'lit';
2
2
  import { property } from 'lit/decorators.js';
3
3
  import { tv } from 'tailwind-variants';
4
4
  import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
5
- import { c as customStyleMap } from '../../chunks/index-CqZm8OfY.js';
5
+ import { a as customStyleMap } from '../../chunks/index-BSaCYACP.js';
6
6
 
7
7
  const style = ":host {\n display: inline-flex\n}";
8
8
 
@@ -5,8 +5,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
5
  const lit = require('lit');
6
6
  const decorators_js = require('lit/decorators.js');
7
7
  const index = require('../../chunks/index-BBPgtFEP.js');
8
- const index$1 = require('../../chunks/index-BOEPqh0N.js');
9
- require('../../chunks/directive-CY66atYi.js');
8
+ const index$1 = require('../../chunks/index-DvBRl_q4.js');
10
9
  require('../lukso-icon/index.cjs');
11
10
  require('../../chunks/index-Dh7fuono.js');
12
11
 
@@ -1,8 +1,7 @@
1
1
  import { html } from 'lit';
2
2
  import { property, state } from 'lit/decorators.js';
3
3
  import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
4
- import { c as customClassMap } from '../../chunks/index-C5S-_QDF.js';
5
- import '../../chunks/directive-DUHAbymA.js';
4
+ import { c as customClassMap } from '../../chunks/index-BSaCYACP.js';
6
5
  import '../lukso-icon/index.js';
7
6
  import '../../chunks/index-CA_aKopU.js';
8
7
 
@@ -4,13 +4,13 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  require('lit');
6
6
  require('lit/decorators.js');
7
- require('../../chunks/directive-CY66atYi.js');
7
+ require('lit-html');
8
8
  require('tailwind-variants');
9
9
  require('web3-utils');
10
10
  require('viem');
11
11
  require('../../chunks/index-BBPgtFEP.js');
12
- const components_luksoUsername_index = require('../../chunks/index-y7UFhQ9u.js');
13
- require('../../chunks/index-DvLZWpq9.js');
12
+ const components_luksoUsername_index = require('../../chunks/index-DfEZ5Urq.js');
13
+ require('../../chunks/index-DvBRl_q4.js');
14
14
  require('../../tailwind-config.cjs');
15
15
  require('../../chunks/index-oDo-wiUs.js');
16
16
  require('../../chunks/cn-JMx_imgS.js');
@@ -1,12 +1,12 @@
1
1
  import 'lit';
2
2
  import 'lit/decorators.js';
3
- import '../../chunks/directive-DUHAbymA.js';
3
+ import 'lit-html';
4
4
  import 'tailwind-variants';
5
5
  import 'web3-utils';
6
6
  import 'viem';
7
7
  import '../../chunks/index-DluTRl1F.js';
8
- export { L as LuksoUsername } from '../../chunks/index-Chs3AjPK.js';
9
- import '../../chunks/index-CqZm8OfY.js';
8
+ export { L as LuksoUsername } from '../../chunks/index-BptDRJ4b.js';
9
+ import '../../chunks/index-BSaCYACP.js';
10
10
  import '../../tailwind-config.js';
11
11
  import '../../chunks/index-CSnDkMHN.js';
12
12
  import '../../chunks/cn-Df_5FiGi.js';
@@ -4,23 +4,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const lit = require('lit');
6
6
  const decorators_js = require('lit/decorators.js');
7
- const directive = require('../../chunks/directive-CY66atYi.js');
7
+ const repeat_js = require('lit/directives/repeat.js');
8
8
  const tailwindVariants = require('tailwind-variants');
9
9
  const index = require('../../chunks/index-BBPgtFEP.js');
10
10
 
11
- /**
12
- * @license
13
- * Copyright 2020 Google LLC
14
- * SPDX-License-Identifier: BSD-3-Clause
15
- */const {I:t}=directive.Z,r=()=>document.createComment(""),s=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(r(),l),d=e.insertBefore(r(),l);n=new t(i,d,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,d=i!==o;if(d){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||d){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AR(),o._$AA.remove();};
16
-
17
- /**
18
- * @license
19
- * Copyright 2017 Google LLC
20
- * SPDX-License-Identifier: BSD-3-Clause
21
- */
22
- const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=directive.e(class extends directive.i{constructor(e){if(super(e),e.type!==directive.t.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s$1,[t,r,c]){const d=p(s$1),{values:p$1,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),s(s$1,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),s(s$1,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=s(s$1,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),s(s$1,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=s(s$1,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s$1,v$1),directive.T}});
23
-
24
11
  const style = ".lukso-wizard-circle::after {\n width: 0;\n}\n.lukso-wizard-circle.completed::after {\n width: calc(100% - 16px);\n}\n.lukso-wizard-circle.current::after {\n width: 0;\n}\n.lukso-wizard-circle.current.animated-step::after {\n width: calc(100% - 16px);\n}";
25
12
 
26
13
  var __defProp = Object.defineProperty;
@@ -111,7 +98,7 @@ exports.LuksoWizard = class LuksoWizard extends index.TailwindStyledElement(styl
111
98
  const steps = JSON.parse(this.steps);
112
99
  return lit.html`
113
100
  <ul class="flex justify-center" data-testid="wizard">
114
- ${c(
101
+ ${repeat_js.repeat(
115
102
  steps || [],
116
103
  (step) => steps.indexOf(step),
117
104
  (step, index) => this.stepTemplate(step, index)
@@ -1,22 +1,9 @@
1
1
  import { html } from 'lit';
2
2
  import { property } from 'lit/decorators.js';
3
- import { Z, e, i, t as t$1, T } from '../../chunks/directive-DUHAbymA.js';
3
+ import { repeat } from 'lit/directives/repeat.js';
4
4
  import { tv } from 'tailwind-variants';
5
5
  import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
6
6
 
7
- /**
8
- * @license
9
- * Copyright 2020 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- */const {I:t}=Z,r=()=>document.createComment(""),s=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(r(),l),d=e.insertBefore(r(),l);n=new t(i,d,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,d=i!==o;if(d){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||d){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AR(),o._$AA.remove();};
12
-
13
- /**
14
- * @license
15
- * Copyright 2017 Google LLC
16
- * SPDX-License-Identifier: BSD-3-Clause
17
- */
18
- const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e(class extends i{constructor(e){if(super(e),e.type!==t$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s$1,[t,r,c]){const d=p(s$1),{values:p$1,keys:a}=this.dt(t,r,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),s(s$1,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),s(s$1,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=s(s$1,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),s(s$1,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=s(s$1,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s$1,v$1),T}});
19
-
20
7
  const style = ".lukso-wizard-circle::after {\n width: 0;\n}\n.lukso-wizard-circle.completed::after {\n width: calc(100% - 16px);\n}\n.lukso-wizard-circle.current::after {\n width: 0;\n}\n.lukso-wizard-circle.current.animated-step::after {\n width: calc(100% - 16px);\n}";
21
8
 
22
9
  var __defProp = Object.defineProperty;
@@ -107,7 +94,7 @@ let LuksoWizard = class extends TailwindStyledElement(style) {
107
94
  const steps = JSON.parse(this.steps);
108
95
  return html`
109
96
  <ul class="flex justify-center" data-testid="wizard">
110
- ${c(
97
+ ${repeat(
111
98
  steps || [],
112
99
  (step) => steps.indexOf(step),
113
100
  (step, index) => this.stepTemplate(step, index)
package/dist/index.cjs CHANGED
@@ -28,7 +28,7 @@ const components_luksoQrCode_index = require('./components/lukso-qr-code/index.c
28
28
  const components_luksoRadio_index = require('./components/lukso-radio/index.cjs');
29
29
  const components_luksoRadioGroup_index = require('./components/lukso-radio-group/index.cjs');
30
30
  const components_luksoSanitize_index = require('./chunks/index-Dh7fuono.js');
31
- const components_luksoSearch_index = require('./chunks/index-DIHXzSqi.js');
31
+ const components_luksoSearch_index = require('./chunks/index-BdDs1GTr.js');
32
32
  const components_luksoSelect_index = require('./components/lukso-select/index.cjs');
33
33
  const components_luksoShare_index = require('./components/lukso-share/index.cjs');
34
34
  const components_luksoSwitch_index = require('./components/lukso-switch/index.cjs');
@@ -36,7 +36,7 @@ const components_luksoTag_index = require('./components/lukso-tag/index.cjs');
36
36
  const components_luksoTerms_index = require('./components/lukso-terms/index.cjs');
37
37
  const components_luksoTextarea_index = require('./components/lukso-textarea/index.cjs');
38
38
  const components_luksoTooltip_index = require('./components/lukso-tooltip/index.cjs');
39
- const components_luksoUsername_index = require('./chunks/index-y7UFhQ9u.js');
39
+ const components_luksoUsername_index = require('./chunks/index-DfEZ5Urq.js');
40
40
  const components_luksoWizard_index = require('./components/lukso-wizard/index.cjs');
41
41
  const cn = require('./chunks/cn-JMx_imgS.js');
42
42
 
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ export { LuksoQrCode } from './components/lukso-qr-code/index.js';
24
24
  export { LuksoRadio } from './components/lukso-radio/index.js';
25
25
  export { LuksoRadioGroup } from './components/lukso-radio-group/index.js';
26
26
  export { D as DEFAULT_OPTIONS, L as LuksoSanitize, N as NO_HTML_TAGS_OPTIONS } from './chunks/index-CA_aKopU.js';
27
- export { L as LuksoSearch, a as SEARCH_RESULT_TYPES, S as STANDARDS } from './chunks/index-DsmwLJjR.js';
27
+ export { L as LuksoSearch, a as SEARCH_RESULT_TYPES, S as STANDARDS } from './chunks/index-DNzK6-9T.js';
28
28
  export { LuksoSelect } from './components/lukso-select/index.js';
29
29
  export { LuksoShare } from './components/lukso-share/index.js';
30
30
  export { LuksoSwitch } from './components/lukso-switch/index.js';
@@ -32,6 +32,6 @@ export { LuksoTag } from './components/lukso-tag/index.js';
32
32
  export { LuksoTerms } from './components/lukso-terms/index.js';
33
33
  export { LuksoTextarea } from './components/lukso-textarea/index.js';
34
34
  export { LuksoTooltip } from './components/lukso-tooltip/index.js';
35
- export { L as LuksoUsername } from './chunks/index-Chs3AjPK.js';
35
+ export { L as LuksoUsername } from './chunks/index-BptDRJ4b.js';
36
36
  export { LuksoWizard } from './components/lukso-wizard/index.js';
37
37
  export { c as cn } from './chunks/cn-Df_5FiGi.js';
@@ -1 +1 @@
1
- {"version":3,"file":"vite.full.config.d.ts","sourceRoot":"","sources":["../../vite.full.config.ts"],"names":[],"mappings":"AAcA,wBAAsB,QAAQ,CAAC,GAAG,KAAA,EAAE,MAAM,GAAE,MAAM,EAAO;;;;;;;;KA8ExD;AA2KD,wBAAsB,GAAG,CAAC,IAAI,KAAA,iBAgI7B"}
1
+ {"version":3,"file":"vite.full.config.d.ts","sourceRoot":"","sources":["../../vite.full.config.ts"],"names":[],"mappings":"AAcA,wBAAsB,QAAQ,CAAC,GAAG,KAAA,EAAE,MAAM,GAAE,MAAM,EAAO;;;;;;;;KA8ExD;AA2KD,wBAAsB,GAAG,CAAC,IAAI,KAAA,iBA6H7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukso/web-components",
3
- "version": "1.172.17",
3
+ "version": "1.172.19",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -264,7 +264,7 @@
264
264
  }
265
265
  },
266
266
  "dependencies": {
267
- "@lukso/core": "^1.2.0",
267
+ "@lukso/core": "^1.2.6",
268
268
  "@tailwindcss/typography": "^0.5.19",
269
269
  "axe-core": "4.10.3",
270
270
  "clsx": "^2.1.1",
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const t$1=globalThis,i$1=t$1.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$1="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r=document,l=()=>r.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e$1+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$1)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const Z={I:R},j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.3.1");
9
-
10
- /**
11
- * @license
12
- * Copyright 2017 Google LLC
13
- * SPDX-License-Identifier: BSD-3-Clause
14
- */
15
- const t={ATTRIBUTE:1,CHILD:2},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{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)}}
16
-
17
- exports.E = E;
18
- exports.T = T;
19
- exports.Z = Z;
20
- exports.e = e;
21
- exports.i = i;
22
- exports.t = t;
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const t$1=globalThis,i$1=t$1.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$1="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r=document,l=()=>r.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e$1+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$1)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV) void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const Z={I:R},j=t$1.litHtmlPolyfillSupport;j?.(N,R),(t$1.litHtmlVersions??=[]).push("3.3.1");
7
-
8
- /**
9
- * @license
10
- * Copyright 2017 Google LLC
11
- * SPDX-License-Identifier: BSD-3-Clause
12
- */
13
- const t={ATTRIBUTE:1,CHILD:2},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{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)}}
14
-
15
- export { E, T, Z, e, i, t };
@@ -1,20 +0,0 @@
1
- 'use strict';
2
-
3
- const directive = require('./directive-CY66atYi.js');
4
-
5
- class CustomClassMapDirective extends directive.i {
6
- constructor(partInfo) {
7
- super(partInfo);
8
- if (partInfo.type !== directive.t.ATTRIBUTE || partInfo.name !== "class" || partInfo.strings?.length > 2) {
9
- throw new Error(
10
- "`customClassMap()` can only be used in the `class` attribute and must be the only part in the attribute."
11
- );
12
- }
13
- }
14
- render(classInfoList) {
15
- return " " + Object.keys(classInfoList).filter((key) => classInfoList[key]).join(" ") + " ";
16
- }
17
- }
18
- const customClassMap = directive.e(CustomClassMapDirective);
19
-
20
- exports.customClassMap = customClassMap;
@@ -1,18 +0,0 @@
1
- import { e, i, t } from './directive-DUHAbymA.js';
2
-
3
- class CustomClassMapDirective extends i {
4
- constructor(partInfo) {
5
- super(partInfo);
6
- if (partInfo.type !== t.ATTRIBUTE || partInfo.name !== "class" || partInfo.strings?.length > 2) {
7
- throw new Error(
8
- "`customClassMap()` can only be used in the `class` attribute and must be the only part in the attribute."
9
- );
10
- }
11
- }
12
- render(classInfoList) {
13
- return " " + Object.keys(classInfoList).filter((key) => classInfoList[key]).join(" ") + " ";
14
- }
15
- }
16
- const customClassMap = e(CustomClassMapDirective);
17
-
18
- export { customClassMap as c };
@@ -1,22 +0,0 @@
1
- import { e, i, t, E } from './directive-DUHAbymA.js';
2
-
3
- class CustomStyleMapDirective extends i {
4
- constructor(partInfo) {
5
- super(partInfo);
6
- if (partInfo.type !== t.ATTRIBUTE || partInfo.name !== "style" || partInfo.strings?.length > 2) {
7
- throw new Error(
8
- "`customStyleMap()` can only be used in the `style` attribute and must be the only part in the attribute."
9
- );
10
- }
11
- }
12
- render(styleInfoList) {
13
- const styles = Object.keys(styleInfoList).filter((key) => styleInfoList[key]);
14
- if (styles.length === 0) {
15
- return E;
16
- }
17
- return ` ${styles.join("; ")} `;
18
- }
19
- }
20
- const customStyleMap = e(CustomStyleMapDirective);
21
-
22
- export { customStyleMap as c };
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- const directive = require('./directive-CY66atYi.js');
4
-
5
- class CustomStyleMapDirective extends directive.i {
6
- constructor(partInfo) {
7
- super(partInfo);
8
- if (partInfo.type !== directive.t.ATTRIBUTE || partInfo.name !== "style" || partInfo.strings?.length > 2) {
9
- throw new Error(
10
- "`customStyleMap()` can only be used in the `style` attribute and must be the only part in the attribute."
11
- );
12
- }
13
- }
14
- render(styleInfoList) {
15
- const styles = Object.keys(styleInfoList).filter((key) => styleInfoList[key]);
16
- if (styles.length === 0) {
17
- return directive.E;
18
- }
19
- return ` ${styles.join("; ")} `;
20
- }
21
- }
22
- const customStyleMap = directive.e(CustomStyleMapDirective);
23
-
24
- exports.customStyleMap = customStyleMap;
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- const directive = require('./directive-CY66atYi.js');
4
-
5
- /**
6
- * @license
7
- * Copyright 2018 Google LLC
8
- * SPDX-License-Identifier: BSD-3-Clause
9
- */const n="important",i=" !"+n,o=directive.e(class extends directive.i{constructor(t){if(super(t),t.type!==directive.t.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(const t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in r){const e=r[t];if(null!=e){this.ft.add(t);const r="string"==typeof e&&e.endsWith(i);t.includes("-")||r?s.setProperty(t,r?e.slice(0,-11):e,r?n:""):s[t]=e;}}return directive.T}});
10
-
11
- exports.o = o;
@@ -1,9 +0,0 @@
1
- import { e, i as i$1, t, T } from './directive-DUHAbymA.js';
2
-
3
- /**
4
- * @license
5
- * Copyright 2018 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */const n="important",i=" !"+n,o=e(class extends i$1{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"style"!==t$1.name||t$1.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(const t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in r){const e=r[t];if(null!=e){this.ft.add(t);const r="string"==typeof e&&e.endsWith(i);t.includes("-")||r?s.setProperty(t,r?e.slice(0,-11):e,r?n:""):s[t]=e;}}return T}});
8
-
9
- export { o };