@esportsplus/ui 0.50.12 → 0.50.13

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 (38) hide show
  1. package/build/components/accordion/index.d.ts +16 -16
  2. package/build/components/accordion/index.js +17 -17
  3. package/build/components/alert/index.js +41 -41
  4. package/build/components/back/index.d.ts +8 -8
  5. package/build/components/back/index.js +8 -8
  6. package/build/components/button/index.d.ts +21 -21
  7. package/build/components/button/index.js +23 -23
  8. package/build/components/checkbox/index.js +23 -23
  9. package/build/components/checkbox/scss/index.scss +1 -1
  10. package/build/components/clipboard/onclick.js +13 -13
  11. package/build/components/counter/index.js +34 -34
  12. package/build/components/ellipsis/index.js +5 -5
  13. package/build/components/form/action.js +8 -8
  14. package/build/components/highlight/index.d.ts +16 -16
  15. package/build/components/highlight/index.js +15 -15
  16. package/build/components/icon/index.d.ts +11 -11
  17. package/build/components/icon/index.js +6 -6
  18. package/build/components/input/index.js +20 -20
  19. package/build/components/loader/index.d.ts +16 -16
  20. package/build/components/loader/index.js +33 -33
  21. package/build/components/loading/index.js +5 -5
  22. package/build/components/range/index.js +25 -25
  23. package/build/components/scrollbar/index.d.ts +11 -11
  24. package/build/components/scrollbar/index.js +24 -24
  25. package/build/components/select/index.js +40 -40
  26. package/build/components/switch/scss/index.scss +1 -1
  27. package/build/components/textarea/index.js +20 -20
  28. package/build/components/tooltip/menu.d.ts +11 -11
  29. package/build/components/tooltip/menu.js +20 -20
  30. package/build/components/tooltip/onclick.d.ts +1101 -1101
  31. package/build/components/tooltip/onclick.js +14 -14
  32. package/build/components/tooltip/onhover.d.ts +16 -16
  33. package/build/components/tooltip/onhover.js +15 -15
  34. package/build/components/typewriter/index.d.ts +11 -11
  35. package/build/components/typewriter/index.js +14 -14
  36. package/package.json +1 -1
  37. package/src/components/checkbox/scss/variables.scss +4 -6
  38. package/src/components/switch/scss/variables.scss +4 -6
@@ -1,2 +1,2 @@
1
- @layer components {.checkbox{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default);--border-color:var(--border-color-default);--border-color-default:var(--background);--border-radius:var(--border-radius-300);--border-style:solid;--border-width:0px;--box-shadow:var(--box-shadow-default);--box-shadow-default:none;--height:var(--size);--margin-horizontal:calc(var(--width-switch) - var(--width));--opacity:var(--opacity-default);--opacity-active:var(--opacity-default);--opacity-default:1;--opacity-hover:var(--opacity-default);--opacity-pressed:var(--opacity-default);--rotate:45deg;--scale:var(--scale-default);--scale-active:1;--scale-default:0;--scale-hover:1.08;--scale-pressed:.98;--size:var(--size-600);--width:var(--height);--width-switch:40px}.checkbox:before{--border-width:5px;--box-shadow:1px 1px 0 #00000029;--height:110%;--translateX:108%;--translateY:8%;--width:50%}.checkbox:not(.--active):not(:hover):before{--translateY:100%}.checkbox:not(.--active):not(.--active):hover{--background:var(--background-hover);--border-color:var(--border-color-hover);--box-shadow:var(--box-shadow-hover);--opacity:var(--opacity-hover);--scale:var(--scale-hover)}.checkbox:not(.--active):not(.--active):active{--background:var(--background-pressed);--border-color:var(--border-color-pressed);--box-shadow:var(--box-shadow-pressed);--opacity:var(--opacity-pressed);--scale:var(--scale-pressed)}.checkbox.--active{--background:var(--background-active);--border-color:var(--border-color-active);--box-shadow:var(--box-shadow-active);--opacity:var(--opacity-active);--scale:var(--scale-active)}.checkbox{background:var(--background);border-color:var(--border-color);border-radius:var(--border-radius);border-style:var(--border-style);border-width:var(--border-width);flex:0 0 var(--width);height:var(--height);transition:background var(--transition-duration)ease-in-out,border-color var(--transition-duration)ease-in-out,box-shadow var(--transition-duration)ease-in-out,opacity var(--transition-duration)ease-in-out,transform var(--transition-duration)ease-in-out;width:var(--width);position:relative}.checkbox:invalid,.checkbox:required{box-shadow:none}.checkbox:before{border-bottom:var(--border-width)solid var(--accent);border-right:var(--border-width)solid var(--accent);box-shadow:var(--box-shadow);content:"";height:var(--height);opacity:var(--opacity);transform:translate(var(--translateX),var(--translateY))rotate(var(--rotate))scale(var(--scale));transform-origin:bottom;width:var(--width);position:absolute;bottom:50%;right:92%}.checkbox-tag{opacity:0;pointer-events:none;z-index:0;width:0;height:0;position:absolute;top:0;left:0}}
1
+ @layer components {.checkbox{--background:var(--background-default);--background-active:var(--background-default);--background-default:transparent;--background-hover:var(--background-default);--background-pressed:var(--background-default);--border-color:var(--border-color-default);--border-color-default:var(--background);--border-radius:var(--border-radius-300);--border-style:solid;--border-width:0px;--box-shadow:var(--box-shadow-default);--box-shadow-default:none;--height:var(--size);--margin-horizontal:calc(var(--width-switch) - var(--width));--opacity:var(--opacity-default);--opacity-active:var(--opacity-default);--opacity-default:1;--opacity-hover:var(--opacity-default);--opacity-pressed:var(--opacity-default);--rotate:45deg;--scale:var(--scale-default);--scale-active:1;--scale-default:0;--scale-hover:1.08;--scale-pressed:.98;--size:var(--size-600);--width:var(--height);--width-switch:40px}.checkbox:before{--border-width:5px;--box-shadow:1px 1px 0 #00000029;--height:110%;--translateX:108%;--translateY:8%;--width:50%}.checkbox:not(.--active):not(.--active):hover{--background:var(--background-hover);--border-color:var(--border-color-hover);--box-shadow:var(--box-shadow-hover);--opacity:var(--opacity-hover);--scale:var(--scale-hover)}.checkbox:not(.--active):not(.--active):active{--background:var(--background-pressed);--border-color:var(--border-color-pressed);--box-shadow:var(--box-shadow-pressed);--opacity:var(--opacity-pressed);--scale:var(--scale-pressed)}.checkbox.--active{--background:var(--background-active);--border-color:var(--border-color-active);--box-shadow:var(--box-shadow-active);--opacity:var(--opacity-active);--scale:var(--scale-active)}.checkbox.--active:before{--translateY:100%}.checkbox{background:var(--background);border-color:var(--border-color);border-radius:var(--border-radius);border-style:var(--border-style);border-width:var(--border-width);flex:0 0 var(--width);height:var(--height);transition:background var(--transition-duration)ease-in-out,border-color var(--transition-duration)ease-in-out,box-shadow var(--transition-duration)ease-in-out,opacity var(--transition-duration)ease-in-out,transform var(--transition-duration)ease-in-out;width:var(--width);position:relative}.checkbox:invalid,.checkbox:required{box-shadow:none}.checkbox:before{border-bottom:var(--border-width)solid var(--accent);border-right:var(--border-width)solid var(--accent);box-shadow:var(--box-shadow);content:"";height:var(--height);opacity:var(--opacity);transform:translate(var(--translateX),var(--translateY))rotate(var(--rotate))scale(var(--scale));transform-origin:bottom;width:var(--width);position:absolute;bottom:50%;right:92%}.checkbox-tag{opacity:0;pointer-events:none;z-index:0;width:0;height:0;position:absolute;top:0;left:0}}
2
2
  /*$vite$:1*/
@@ -1,28 +1,28 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
2
- import * as reactivity_31dfc3aae3354e00a148889c23732a6c0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 from '@esportsplus/reactivity';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import template from '../../components/template/index.js';
5
5
  import write from './write.js';
6
- const template_31dfc3aae3354e00a148889c23732a6c1i = template_31dfc3aae3354e00a148889c23732a6c1.template(`<div><!--$--></div>`);
7
- class ReactiveObject_31dfc3aae3354e00a148889c23732a6c1g extends reactivity_31dfc3aae3354e00a148889c23732a6c0.ReactiveObject {
8
- #copied = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.SIGNAL](false);
6
+ const template_8d320e78acc84a40aecd0d8b5125cc231i = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div><!--$--></div>`);
7
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc231g extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
8
+ #copied = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](false);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get copied() {
13
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#copied);
13
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#copied);
14
14
  }
15
15
  set copied(_v0) {
16
- reactivity_31dfc3aae3354e00a148889c23732a6c0.write(this.#copied, _v0);
16
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#copied, _v0);
17
17
  }
18
18
  }
19
19
  const OMIT = ['timeout', 'value'];
20
20
  export default template.factory(function (attributes, content) {
21
- let state = new ReactiveObject_31dfc3aae3354e00a148889c23732a6c1g(), timeout = attributes.timeout || 1000 * 2;
21
+ let state = new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc231g(), timeout = attributes.timeout || 1000 * 2;
22
22
  return (() => {
23
- let root_31dfc3aae3354e00a148889c23732a6c1h = template_31dfc3aae3354e00a148889c23732a6c1i(), element_31dfc3aae3354e00a148889c23732a6c1j = root_31dfc3aae3354e00a148889c23732a6c1h.firstChild, element_31dfc3aae3354e00a148889c23732a6c1k = element_31dfc3aae3354e00a148889c23732a6c1j.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c1l = {};
24
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c1j, omit(attributes, OMIT), attributes_31dfc3aae3354e00a148889c23732a6c1l);
25
- template_31dfc3aae3354e00a148889c23732a6c1.delegate(element_31dfc3aae3354e00a148889c23732a6c1j, 'click', (e) => {
23
+ let root_8d320e78acc84a40aecd0d8b5125cc231h = template_8d320e78acc84a40aecd0d8b5125cc231i(), element_8d320e78acc84a40aecd0d8b5125cc231j = root_8d320e78acc84a40aecd0d8b5125cc231h.firstChild, element_8d320e78acc84a40aecd0d8b5125cc231k = element_8d320e78acc84a40aecd0d8b5125cc231j.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc231l = {};
24
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc231j, omit(attributes, OMIT), attributes_8d320e78acc84a40aecd0d8b5125cc231l);
25
+ template_8d320e78acc84a40aecd0d8b5125cc231.delegate(element_8d320e78acc84a40aecd0d8b5125cc231j, 'click', (e) => {
26
26
  e.preventDefault();
27
27
  e.stopPropagation();
28
28
  write(attributes.value).then(() => {
@@ -32,7 +32,7 @@ export default template.factory(function (attributes, content) {
32
32
  }, timeout);
33
33
  });
34
34
  });
35
- new template_31dfc3aae3354e00a148889c23732a6c1.EffectSlot(element_31dfc3aae3354e00a148889c23732a6c1k, () => content(state));
36
- return root_31dfc3aae3354e00a148889c23732a6c1h;
35
+ new template_8d320e78acc84a40aecd0d8b5125cc231.EffectSlot(element_8d320e78acc84a40aecd0d8b5125cc231k, () => content(state));
36
+ return root_8d320e78acc84a40aecd0d8b5125cc231h;
37
37
  })();
38
38
  });
@@ -1,41 +1,41 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
2
- import * as reactivity_31dfc3aae3354e00a148889c23732a6c0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 from '@esportsplus/reactivity';
3
3
  import { effect } from '@esportsplus/reactivity';
4
4
  import { omit } from '@esportsplus/utilities';
5
5
  import './scss/index.scss';
6
- const template_31dfc3aae3354e00a148889c23732a6c1p = template_31dfc3aae3354e00a148889c23732a6c1.template(`<span class='counter-character counter-character--symbol'><!--$--></span>`);
7
- const template_31dfc3aae3354e00a148889c23732a6c1s = template_31dfc3aae3354e00a148889c23732a6c1.template(`<span><!--$--></span>`);
8
- const template_31dfc3aae3354e00a148889c23732a6c1v = template_31dfc3aae3354e00a148889c23732a6c1.template(`<div class=' counter-character'><div class='counter-character-track'><span>9</span><!--$--><span>0</span></div></div>`);
9
- const template_31dfc3aae3354e00a148889c23732a6c20 = template_31dfc3aae3354e00a148889c23732a6c1.template(`<div class='counter'><!--$--></div>`);
10
- class ReactiveObject_31dfc3aae3354e00a148889c23732a6c1m extends reactivity_31dfc3aae3354e00a148889c23732a6c0.ReactiveObject {
11
- #value = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.SIGNAL](-1);
6
+ const template_8d320e78acc84a40aecd0d8b5125cc231p = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<span class='counter-character counter-character--symbol'><!--$--></span>`);
7
+ const template_8d320e78acc84a40aecd0d8b5125cc231s = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<span><!--$--></span>`);
8
+ const template_8d320e78acc84a40aecd0d8b5125cc231v = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class=' counter-character'><div class='counter-character-track'><span>9</span><!--$--><span>0</span></div></div>`);
9
+ const template_8d320e78acc84a40aecd0d8b5125cc2320 = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='counter'><!--$--></div>`);
10
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc231m extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
11
+ #value = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](-1);
12
12
  constructor() {
13
13
  super(null);
14
14
  }
15
15
  get value() {
16
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#value);
16
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#value);
17
17
  }
18
18
  set value(_v0) {
19
- reactivity_31dfc3aae3354e00a148889c23732a6c0.write(this.#value, _v0);
19
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#value, _v0);
20
20
  }
21
21
  }
22
- class ReactiveObject_31dfc3aae3354e00a148889c23732a6c1n extends reactivity_31dfc3aae3354e00a148889c23732a6c0.ReactiveObject {
23
- #length = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.SIGNAL](0);
22
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc231n extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
23
+ #length = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](0);
24
24
  #test;
25
25
  #render;
26
26
  constructor(_p0, _p1) {
27
27
  super(null);
28
- this.#test = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.COMPUTED](_p0);
29
- this.#render = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.REACTIVE_ARRAY](_p1);
28
+ this.#test = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.COMPUTED](_p0);
29
+ this.#render = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.REACTIVE_ARRAY](_p1);
30
30
  }
31
31
  get length() {
32
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#length);
32
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#length);
33
33
  }
34
34
  set length(_v0) {
35
- reactivity_31dfc3aae3354e00a148889c23732a6c0.write(this.#length, _v0);
35
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#length, _v0);
36
36
  }
37
37
  get test() {
38
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#test);
38
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#test);
39
39
  }
40
40
  get render() {
41
41
  return this.#render;
@@ -44,12 +44,12 @@ class ReactiveObject_31dfc3aae3354e00a148889c23732a6c1n extends reactivity_31dfc
44
44
  const OMIT = ['currency', 'decimals', 'delay', 'max', 'state', 'suffix', 'value'];
45
45
  let formatters = {};
46
46
  export default (attributes) => {
47
- let { currency, decimals, delay, max, suffix, value } = attributes, api = attributes.state || new ReactiveObject_31dfc3aae3354e00a148889c23732a6c1m(), formatter = currency === 'IGNORE'
47
+ let { currency, decimals, delay, max, suffix, value } = attributes, api = attributes.state || new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc231m(), formatter = currency === 'IGNORE'
48
48
  ? undefined
49
49
  : formatters[currency || 'USD'] ??= new Intl.NumberFormat('en-US', {
50
50
  style: 'currency',
51
51
  currency: currency || 'USD'
52
- }), rendering = true, state = new ReactiveObject_31dfc3aae3354e00a148889c23732a6c1n(() => 'sds', []), render = new reactivity_31dfc3aae3354e00a148889c23732a6c0.ReactiveArray();
52
+ }), rendering = true, state = new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc231n(() => 'sds', []), render = new reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveArray();
53
53
  decimals ??= 2;
54
54
  effect(() => {
55
55
  if (api.value !== -1) {
@@ -84,33 +84,33 @@ export default (attributes) => {
84
84
  }
85
85
  });
86
86
  return (() => {
87
- let root_31dfc3aae3354e00a148889c23732a6c1z = template_31dfc3aae3354e00a148889c23732a6c20(), element_31dfc3aae3354e00a148889c23732a6c21 = root_31dfc3aae3354e00a148889c23732a6c1z.firstChild, element_31dfc3aae3354e00a148889c23732a6c22 = element_31dfc3aae3354e00a148889c23732a6c21.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c23 = { "class": "counter" };
88
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c21, omit(attributes, OMIT), attributes_31dfc3aae3354e00a148889c23732a6c23);
89
- new template_31dfc3aae3354e00a148889c23732a6c1.EffectSlot(element_31dfc3aae3354e00a148889c23732a6c22, () => {
87
+ let root_8d320e78acc84a40aecd0d8b5125cc231z = template_8d320e78acc84a40aecd0d8b5125cc2320(), element_8d320e78acc84a40aecd0d8b5125cc2321 = root_8d320e78acc84a40aecd0d8b5125cc231z.firstChild, element_8d320e78acc84a40aecd0d8b5125cc2322 = element_8d320e78acc84a40aecd0d8b5125cc2321.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc2323 = { "class": "counter" };
88
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc2321, omit(attributes, OMIT), attributes_8d320e78acc84a40aecd0d8b5125cc2323);
89
+ new template_8d320e78acc84a40aecd0d8b5125cc231.EffectSlot(element_8d320e78acc84a40aecd0d8b5125cc2322, () => {
90
90
  let n = state.length;
91
91
  if (n === 0) {
92
92
  return '';
93
93
  }
94
- return new template_31dfc3aae3354e00a148889c23732a6c1.ArraySlot(render, function (value) {
94
+ return new template_8d320e78acc84a40aecd0d8b5125cc231.ArraySlot(render, function (value) {
95
95
  if (isNaN(parseInt(value, 10))) {
96
96
  return (() => {
97
- let root_31dfc3aae3354e00a148889c23732a6c1o = template_31dfc3aae3354e00a148889c23732a6c1p(), element_31dfc3aae3354e00a148889c23732a6c1q = root_31dfc3aae3354e00a148889c23732a6c1o.firstChild.firstChild;
98
- template_31dfc3aae3354e00a148889c23732a6c1.slot(element_31dfc3aae3354e00a148889c23732a6c1q, value);
99
- return root_31dfc3aae3354e00a148889c23732a6c1o;
97
+ let root_8d320e78acc84a40aecd0d8b5125cc231o = template_8d320e78acc84a40aecd0d8b5125cc231p(), element_8d320e78acc84a40aecd0d8b5125cc231q = root_8d320e78acc84a40aecd0d8b5125cc231o.firstChild.firstChild;
98
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc231q, value);
99
+ return root_8d320e78acc84a40aecd0d8b5125cc231o;
100
100
  })();
101
101
  }
102
102
  return (() => {
103
- let root_31dfc3aae3354e00a148889c23732a6c1u = template_31dfc3aae3354e00a148889c23732a6c1v(), element_31dfc3aae3354e00a148889c23732a6c1w = root_31dfc3aae3354e00a148889c23732a6c1u.firstChild.firstElementChild, element_31dfc3aae3354e00a148889c23732a6c1x = element_31dfc3aae3354e00a148889c23732a6c1w.firstChild.nextSibling, attributes_31dfc3aae3354e00a148889c23732a6c1y = { "class": "counter-character-track", "style": "" };
104
- template_31dfc3aae3354e00a148889c23732a6c1.setList(element_31dfc3aae3354e00a148889c23732a6c1w, 'style', `--value: ${value}`, attributes_31dfc3aae3354e00a148889c23732a6c1y);
105
- template_31dfc3aae3354e00a148889c23732a6c1.slot(element_31dfc3aae3354e00a148889c23732a6c1x, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((value) => {
106
- let root_31dfc3aae3354e00a148889c23732a6c1r = template_31dfc3aae3354e00a148889c23732a6c1s(), element_31dfc3aae3354e00a148889c23732a6c1t = root_31dfc3aae3354e00a148889c23732a6c1r.firstChild.firstChild;
107
- template_31dfc3aae3354e00a148889c23732a6c1.slot(element_31dfc3aae3354e00a148889c23732a6c1t, value);
108
- return root_31dfc3aae3354e00a148889c23732a6c1r;
103
+ let root_8d320e78acc84a40aecd0d8b5125cc231u = template_8d320e78acc84a40aecd0d8b5125cc231v(), element_8d320e78acc84a40aecd0d8b5125cc231w = root_8d320e78acc84a40aecd0d8b5125cc231u.firstChild.firstElementChild, element_8d320e78acc84a40aecd0d8b5125cc231x = element_8d320e78acc84a40aecd0d8b5125cc231w.firstChild.nextSibling, attributes_8d320e78acc84a40aecd0d8b5125cc231y = { "class": "counter-character-track", "style": "" };
104
+ template_8d320e78acc84a40aecd0d8b5125cc231.setList(element_8d320e78acc84a40aecd0d8b5125cc231w, 'style', `--value: ${value}`, attributes_8d320e78acc84a40aecd0d8b5125cc231y);
105
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc231x, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((value) => {
106
+ let root_8d320e78acc84a40aecd0d8b5125cc231r = template_8d320e78acc84a40aecd0d8b5125cc231s(), element_8d320e78acc84a40aecd0d8b5125cc231t = root_8d320e78acc84a40aecd0d8b5125cc231r.firstChild.firstChild;
107
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc231t, value);
108
+ return root_8d320e78acc84a40aecd0d8b5125cc231r;
109
109
  }));
110
- return root_31dfc3aae3354e00a148889c23732a6c1u;
110
+ return root_8d320e78acc84a40aecd0d8b5125cc231u;
111
111
  })();
112
112
  });
113
113
  });
114
- return root_31dfc3aae3354e00a148889c23732a6c1z;
114
+ return root_8d320e78acc84a40aecd0d8b5125cc231z;
115
115
  })();
116
116
  };
@@ -1,8 +1,8 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- const template_31dfc3aae3354e00a148889c23732a6c25 = template_31dfc3aae3354e00a148889c23732a6c1.template(`<div class='ellipsis'><span></span><span></span><span></span></div>`);
3
+ const template_8d320e78acc84a40aecd0d8b5125cc2325 = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='ellipsis'><span></span><span></span><span></span></div>`);
4
4
  export default (attributes) => {
5
- let root_31dfc3aae3354e00a148889c23732a6c24 = template_31dfc3aae3354e00a148889c23732a6c25(), element_31dfc3aae3354e00a148889c23732a6c26 = root_31dfc3aae3354e00a148889c23732a6c24.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c27 = { "class": "ellipsis" };
6
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c26, attributes, attributes_31dfc3aae3354e00a148889c23732a6c27);
7
- return root_31dfc3aae3354e00a148889c23732a6c24;
5
+ let root_8d320e78acc84a40aecd0d8b5125cc2324 = template_8d320e78acc84a40aecd0d8b5125cc2325(), element_8d320e78acc84a40aecd0d8b5125cc2326 = root_8d320e78acc84a40aecd0d8b5125cc2324.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc2327 = { "class": "ellipsis" };
6
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc2326, attributes, attributes_8d320e78acc84a40aecd0d8b5125cc2327);
7
+ return root_8d320e78acc84a40aecd0d8b5125cc2324;
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import response from '@esportsplus/action';
2
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
2
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import input from './input.js';
5
- const template_31dfc3aae3354e00a148889c23732a6c29 = template_31dfc3aae3354e00a148889c23732a6c1.template(`<form class='form'><!--$--></form>`);
5
+ const template_8d320e78acc84a40aecd0d8b5125cc2329 = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<form class='form'><!--$--></form>`);
6
6
  const OMIT = ['action', 'state'];
7
7
  function parse(input) {
8
8
  let data = {};
@@ -29,9 +29,9 @@ function parse(input) {
29
29
  export default (attributes, content) => {
30
30
  let { action, state } = attributes;
31
31
  return (() => {
32
- let root_31dfc3aae3354e00a148889c23732a6c28 = template_31dfc3aae3354e00a148889c23732a6c29(), element_31dfc3aae3354e00a148889c23732a6c2a = root_31dfc3aae3354e00a148889c23732a6c28.firstChild, element_31dfc3aae3354e00a148889c23732a6c2b = element_31dfc3aae3354e00a148889c23732a6c2a.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c2c = { "class": "form" };
33
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c2a, omit(attributes, OMIT), attributes_31dfc3aae3354e00a148889c23732a6c2c);
34
- template_31dfc3aae3354e00a148889c23732a6c1.delegate(element_31dfc3aae3354e00a148889c23732a6c2a, 'click', function (event) {
32
+ let root_8d320e78acc84a40aecd0d8b5125cc2328 = template_8d320e78acc84a40aecd0d8b5125cc2329(), element_8d320e78acc84a40aecd0d8b5125cc232a = root_8d320e78acc84a40aecd0d8b5125cc2328.firstChild, element_8d320e78acc84a40aecd0d8b5125cc232b = element_8d320e78acc84a40aecd0d8b5125cc232a.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc232c = { "class": "form" };
33
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc232a, omit(attributes, OMIT), attributes_8d320e78acc84a40aecd0d8b5125cc232c);
34
+ template_8d320e78acc84a40aecd0d8b5125cc231.delegate(element_8d320e78acc84a40aecd0d8b5125cc232a, 'click', function (event) {
35
35
  let trigger = event.target;
36
36
  if (trigger?.type !== 'submit') {
37
37
  return;
@@ -39,7 +39,7 @@ export default (attributes, content) => {
39
39
  event.preventDefault();
40
40
  this.dispatchEvent(new SubmitEvent('submit', { cancelable: true, bubbles: true, submitter: trigger }));
41
41
  });
42
- template_31dfc3aae3354e00a148889c23732a6c1.on(element_31dfc3aae3354e00a148889c23732a6c2a, 'submit', async function (event) {
42
+ template_8d320e78acc84a40aecd0d8b5125cc231.on(element_8d320e78acc84a40aecd0d8b5125cc232a, 'submit', async function (event) {
43
43
  event.preventDefault();
44
44
  if (state) {
45
45
  state.processing = true;
@@ -59,7 +59,7 @@ export default (attributes, content) => {
59
59
  state.processing = false;
60
60
  }
61
61
  });
62
- template_31dfc3aae3354e00a148889c23732a6c1.slot(element_31dfc3aae3354e00a148889c23732a6c2b, content);
63
- return root_31dfc3aae3354e00a148889c23732a6c28;
62
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc232b, content);
63
+ return root_8d320e78acc84a40aecd0d8b5125cc2328;
64
64
  })();
65
65
  };
@@ -1,21 +1,21 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
6
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
7
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
8
- <T extends template_31dfc3aae3354e00a148889c23732a6c1.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
10
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
11
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
12
- <T extends template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>(content: T): ReturnType<(this: {
13
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
14
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
15
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
16
- (attributes: template_31dfc3aae3354e00a148889c23732a6c1.Attributes, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>): ReturnType<(this: {
17
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
18
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
19
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
5
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
6
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
7
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
8
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
10
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
11
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
12
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
14
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
15
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
16
+ (attributes: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
18
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
19
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,19 +1,19 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
2
- import * as reactivity_31dfc3aae3354e00a148889c23732a6c0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 from '@esportsplus/reactivity';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import template from '../../components/template/index.js';
5
5
  import './scss/index.scss';
6
- const template_31dfc3aae3354e00a148889c23732a6c2f = template_31dfc3aae3354e00a148889c23732a6c1.template(`<div class='highlight'><!--$--></div>`);
7
- class ReactiveObject_31dfc3aae3354e00a148889c23732a6c2d extends reactivity_31dfc3aae3354e00a148889c23732a6c0.ReactiveObject {
8
- #highlight = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.SIGNAL](0);
6
+ const template_8d320e78acc84a40aecd0d8b5125cc232f = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='highlight'><!--$--></div>`);
7
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc232d extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
8
+ #highlight = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](0);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get highlight() {
13
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#highlight);
13
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#highlight);
14
14
  }
15
15
  set highlight(_v0) {
16
- reactivity_31dfc3aae3354e00a148889c23732a6c0.write(this.#highlight, _v0);
16
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#highlight, _v0);
17
17
  }
18
18
  }
19
19
  const OMIT = ['background'];
@@ -38,19 +38,19 @@ export default template.factory((attributes, content) => {
38
38
  }
39
39
  }, { threshold: 1 });
40
40
  }
41
- let state = new ReactiveObject_31dfc3aae3354e00a148889c23732a6c2d();
41
+ let state = new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc232d();
42
42
  return (() => {
43
- let root_31dfc3aae3354e00a148889c23732a6c2e = template_31dfc3aae3354e00a148889c23732a6c2f(), element_31dfc3aae3354e00a148889c23732a6c2g = root_31dfc3aae3354e00a148889c23732a6c2e.firstChild, element_31dfc3aae3354e00a148889c23732a6c2h = element_31dfc3aae3354e00a148889c23732a6c2g.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c2i = { "class": "highlight" };
44
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c2g, omit(attributes, OMIT), attributes_31dfc3aae3354e00a148889c23732a6c2i);
45
- template_31dfc3aae3354e00a148889c23732a6c1.onrender(element_31dfc3aae3354e00a148889c23732a6c2g, (element) => {
43
+ let root_8d320e78acc84a40aecd0d8b5125cc232e = template_8d320e78acc84a40aecd0d8b5125cc232f(), element_8d320e78acc84a40aecd0d8b5125cc232g = root_8d320e78acc84a40aecd0d8b5125cc232e.firstChild, element_8d320e78acc84a40aecd0d8b5125cc232h = element_8d320e78acc84a40aecd0d8b5125cc232g.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc232i = { "class": "highlight" };
44
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc232g, omit(attributes, OMIT), attributes_8d320e78acc84a40aecd0d8b5125cc232i);
45
+ template_8d320e78acc84a40aecd0d8b5125cc231.onrender(element_8d320e78acc84a40aecd0d8b5125cc232g, (element) => {
46
46
  element[key] = state;
47
47
  observer.observe(element);
48
48
  });
49
- template_31dfc3aae3354e00a148889c23732a6c1.setList(element_31dfc3aae3354e00a148889c23732a6c2g, 'style', [
49
+ template_8d320e78acc84a40aecd0d8b5125cc231.setList(element_8d320e78acc84a40aecd0d8b5125cc232g, 'style', [
50
50
  () => `--highlight: ${state.highlight}`,
51
51
  `--background: ${attributes.background}`,
52
- ], attributes_31dfc3aae3354e00a148889c23732a6c2i);
53
- template_31dfc3aae3354e00a148889c23732a6c1.slot(element_31dfc3aae3354e00a148889c23732a6c2h, content);
54
- return root_31dfc3aae3354e00a148889c23732a6c2e;
52
+ ], attributes_8d320e78acc84a40aecd0d8b5125cc232i);
53
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc232h, content);
54
+ return root_8d320e78acc84a40aecd0d8b5125cc232e;
55
55
  })();
56
56
  });
@@ -1,21 +1,21 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
5
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
6
6
  content?: string | undefined;
7
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: string) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
8
- <T extends template_31dfc3aae3354e00a148889c23732a6c1.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
7
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
8
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
10
10
  content?: string | undefined;
11
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: string) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
11
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
12
12
  <T extends string>(content: T): ReturnType<(this: {
13
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
13
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
14
14
  content?: string | undefined;
15
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: string) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
16
- (attributes: template_31dfc3aae3354e00a148889c23732a6c1.Attributes, content: string): ReturnType<(this: {
17
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
15
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
16
+ (attributes: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes, content: string): ReturnType<(this: {
17
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
18
18
  content?: string | undefined;
19
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: string) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
19
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: string) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,13 +1,13 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  import { svg } from '@esportsplus/template';
3
3
  import template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
5
- const template_31dfc3aae3354e00a148889c23732a6c2k = template_31dfc3aae3354e00a148889c23732a6c1.template(`<div class='icon'><!--$--></div>`);
5
+ const template_8d320e78acc84a40aecd0d8b5125cc232k = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<div class='icon'><!--$--></div>`);
6
6
  export default template.factory((attributes, icon) => {
7
7
  return (() => {
8
- let root_31dfc3aae3354e00a148889c23732a6c2j = template_31dfc3aae3354e00a148889c23732a6c2k(), element_31dfc3aae3354e00a148889c23732a6c2l = root_31dfc3aae3354e00a148889c23732a6c2j.firstChild, element_31dfc3aae3354e00a148889c23732a6c2m = element_31dfc3aae3354e00a148889c23732a6c2l.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c2n = { "class": "icon" };
9
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c2l, attributes, attributes_31dfc3aae3354e00a148889c23732a6c2n);
10
- template_31dfc3aae3354e00a148889c23732a6c1.slot(element_31dfc3aae3354e00a148889c23732a6c2m, svg.sprite(icon));
11
- return root_31dfc3aae3354e00a148889c23732a6c2j;
8
+ let root_8d320e78acc84a40aecd0d8b5125cc232j = template_8d320e78acc84a40aecd0d8b5125cc232k(), element_8d320e78acc84a40aecd0d8b5125cc232l = root_8d320e78acc84a40aecd0d8b5125cc232j.firstChild, element_8d320e78acc84a40aecd0d8b5125cc232m = element_8d320e78acc84a40aecd0d8b5125cc232l.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc232n = { "class": "icon" };
9
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc232l, attributes, attributes_8d320e78acc84a40aecd0d8b5125cc232n);
10
+ template_8d320e78acc84a40aecd0d8b5125cc231.slot(element_8d320e78acc84a40aecd0d8b5125cc232m, svg.sprite(icon));
11
+ return root_8d320e78acc84a40aecd0d8b5125cc232j;
12
12
  })();
13
13
  });
@@ -1,43 +1,43 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
2
- import * as reactivity_31dfc3aae3354e00a148889c23732a6c0 from '@esportsplus/reactivity';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
+ import * as reactivity_8d320e78acc84a40aecd0d8b5125cc230 from '@esportsplus/reactivity';
3
3
  import form from '../../components/form/index.js';
4
4
  import './scss/index.scss';
5
- const template_31dfc3aae3354e00a148889c23732a6c2q = template_31dfc3aae3354e00a148889c23732a6c1.template(`<input class='input' />`);
6
- class ReactiveObject_31dfc3aae3354e00a148889c23732a6c2o extends reactivity_31dfc3aae3354e00a148889c23732a6c0.ReactiveObject {
7
- #active = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.SIGNAL](false);
8
- #error = this[reactivity_31dfc3aae3354e00a148889c23732a6c0.SIGNAL]('');
5
+ const template_8d320e78acc84a40aecd0d8b5125cc232q = template_8d320e78acc84a40aecd0d8b5125cc231.template(`<input class='input' />`);
6
+ class ReactiveObject_8d320e78acc84a40aecd0d8b5125cc232o extends reactivity_8d320e78acc84a40aecd0d8b5125cc230.ReactiveObject {
7
+ #active = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL](false);
8
+ #error = this[reactivity_8d320e78acc84a40aecd0d8b5125cc230.SIGNAL]('');
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get active() {
13
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#active);
13
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#active);
14
14
  }
15
15
  set active(_v0) {
16
- reactivity_31dfc3aae3354e00a148889c23732a6c0.write(this.#active, _v0);
16
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#active, _v0);
17
17
  }
18
18
  get error() {
19
- return reactivity_31dfc3aae3354e00a148889c23732a6c0.read(this.#error);
19
+ return reactivity_8d320e78acc84a40aecd0d8b5125cc230.read(this.#error);
20
20
  }
21
21
  set error(_v1) {
22
- reactivity_31dfc3aae3354e00a148889c23732a6c0.write(this.#error, _v1);
22
+ reactivity_8d320e78acc84a40aecd0d8b5125cc230.write(this.#error, _v1);
23
23
  }
24
24
  }
25
25
  export default function (attributes) {
26
- let state = attributes.state || new ReactiveObject_31dfc3aae3354e00a148889c23732a6c2o();
26
+ let state = attributes.state || new ReactiveObject_8d320e78acc84a40aecd0d8b5125cc232o();
27
27
  return (() => {
28
- let root_31dfc3aae3354e00a148889c23732a6c2p = template_31dfc3aae3354e00a148889c23732a6c2q(), element_31dfc3aae3354e00a148889c23732a6c2r = root_31dfc3aae3354e00a148889c23732a6c2p.firstChild, attributes_31dfc3aae3354e00a148889c23732a6c2s = { "class": "input" };
29
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c2r, this?.attributes, attributes_31dfc3aae3354e00a148889c23732a6c2s);
30
- template_31dfc3aae3354e00a148889c23732a6c1.setProperties(element_31dfc3aae3354e00a148889c23732a6c2r, attributes, attributes_31dfc3aae3354e00a148889c23732a6c2s);
31
- template_31dfc3aae3354e00a148889c23732a6c1.setList(element_31dfc3aae3354e00a148889c23732a6c2r, 'class', () => state.active && '--active', attributes_31dfc3aae3354e00a148889c23732a6c2s);
32
- template_31dfc3aae3354e00a148889c23732a6c1.on(element_31dfc3aae3354e00a148889c23732a6c2r, 'focusin', () => {
28
+ let root_8d320e78acc84a40aecd0d8b5125cc232p = template_8d320e78acc84a40aecd0d8b5125cc232q(), element_8d320e78acc84a40aecd0d8b5125cc232r = root_8d320e78acc84a40aecd0d8b5125cc232p.firstChild, attributes_8d320e78acc84a40aecd0d8b5125cc232s = { "class": "input" };
29
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc232r, this?.attributes, attributes_8d320e78acc84a40aecd0d8b5125cc232s);
30
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperties(element_8d320e78acc84a40aecd0d8b5125cc232r, attributes, attributes_8d320e78acc84a40aecd0d8b5125cc232s);
31
+ template_8d320e78acc84a40aecd0d8b5125cc231.setList(element_8d320e78acc84a40aecd0d8b5125cc232r, 'class', () => state.active && '--active', attributes_8d320e78acc84a40aecd0d8b5125cc232s);
32
+ template_8d320e78acc84a40aecd0d8b5125cc231.on(element_8d320e78acc84a40aecd0d8b5125cc232r, 'focusin', () => {
33
33
  state.active = true;
34
34
  });
35
- template_31dfc3aae3354e00a148889c23732a6c1.on(element_31dfc3aae3354e00a148889c23732a6c2r, 'focusout', () => {
35
+ template_8d320e78acc84a40aecd0d8b5125cc231.on(element_8d320e78acc84a40aecd0d8b5125cc232r, 'focusout', () => {
36
36
  state.active = false;
37
37
  });
38
- template_31dfc3aae3354e00a148889c23732a6c1.onrender(element_31dfc3aae3354e00a148889c23732a6c2r, form.input.onrender(state));
39
- template_31dfc3aae3354e00a148889c23732a6c1.setProperty(element_31dfc3aae3354e00a148889c23732a6c2r, 'type', (attributes.type || 'text'));
40
- return root_31dfc3aae3354e00a148889c23732a6c2p;
38
+ template_8d320e78acc84a40aecd0d8b5125cc231.onrender(element_8d320e78acc84a40aecd0d8b5125cc232r, form.input.onrender(state));
39
+ template_8d320e78acc84a40aecd0d8b5125cc231.setProperty(element_8d320e78acc84a40aecd0d8b5125cc232r, 'type', (attributes.type || 'text'));
40
+ return root_8d320e78acc84a40aecd0d8b5125cc232p;
41
41
  })();
42
42
  }
43
43
  ;
@@ -1,21 +1,21 @@
1
- import * as template_31dfc3aae3354e00a148889c23732a6c1 from '@esportsplus/template';
1
+ import * as template_8d320e78acc84a40aecd0d8b5125cc231 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
6
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
7
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
8
- <T extends template_31dfc3aae3354e00a148889c23732a6c1.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
10
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
11
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
12
- <T extends template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>(content: T): ReturnType<(this: {
13
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
14
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
15
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
16
- (attributes: template_31dfc3aae3354e00a148889c23732a6c1.Attributes, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>): ReturnType<(this: {
17
- attributes?: template_31dfc3aae3354e00a148889c23732a6c1.Attributes | undefined;
18
- content?: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>;
19
- }, attributes: Readonly<template_31dfc3aae3354e00a148889c23732a6c1.Attributes>, content: template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>) => template_31dfc3aae3354e00a148889c23732a6c1.Renderable<any>>;
5
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
6
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
7
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
8
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
10
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
11
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
12
+ <T extends template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
14
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
15
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
16
+ (attributes: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_8d320e78acc84a40aecd0d8b5125cc231.Attributes | undefined;
18
+ content?: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>;
19
+ }, attributes: Readonly<template_8d320e78acc84a40aecd0d8b5125cc231.Attributes>, content: template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>) => template_8d320e78acc84a40aecd0d8b5125cc231.Renderable<any>>;
20
20
  };
21
21
  export default _default;