@esportsplus/ui 0.51.5 → 0.51.6

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 (55) 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.d.ts +1 -1
  4. package/build/components/alert/index.js +42 -43
  5. package/build/components/back/index.d.ts +8 -8
  6. package/build/components/back/index.js +8 -8
  7. package/build/components/button/index.d.ts +21 -21
  8. package/build/components/button/index.js +23 -23
  9. package/build/components/checkbox/index.d.ts +2 -2
  10. package/build/components/checkbox/index.js +22 -23
  11. package/build/components/clipboard/index.d.ts +40 -30
  12. package/build/components/clipboard/onclick.js +13 -13
  13. package/build/components/counter/index.d.ts +1 -1
  14. package/build/components/counter/index.js +35 -35
  15. package/build/components/ellipsis/index.d.ts +1 -1
  16. package/build/components/ellipsis/index.js +5 -5
  17. package/build/components/form/action.d.ts +1 -1
  18. package/build/components/form/action.js +8 -8
  19. package/build/components/form/index.d.ts +1 -1
  20. package/build/components/highlight/index.d.ts +16 -16
  21. package/build/components/highlight/index.js +15 -15
  22. package/build/components/icon/index.d.ts +11 -11
  23. package/build/components/icon/index.js +10 -8
  24. package/build/components/input/index.d.ts +1 -1
  25. package/build/components/input/index.js +20 -20
  26. package/build/components/loader/index.d.ts +16 -16
  27. package/build/components/loader/index.js +34 -34
  28. package/build/components/loading/index.d.ts +1 -1
  29. package/build/components/loading/index.js +5 -5
  30. package/build/components/radio/index.d.ts +1 -1
  31. package/build/components/range/index.d.ts +1 -1
  32. package/build/components/range/index.js +25 -25
  33. package/build/components/scrollbar/index.d.ts +11 -11
  34. package/build/components/scrollbar/index.js +24 -24
  35. package/build/components/select/index.js +41 -41
  36. package/build/components/switch/index.d.ts +1 -1
  37. package/build/components/textarea/index.d.ts +1 -1
  38. package/build/components/textarea/index.js +20 -20
  39. package/build/components/tooltip/index.d.ts +80 -60
  40. package/build/components/tooltip/menu.d.ts +11 -11
  41. package/build/components/tooltip/menu.js +21 -21
  42. package/build/components/tooltip/onclick.d.ts +1131 -1121
  43. package/build/components/tooltip/onclick.js +14 -14
  44. package/build/components/tooltip/onhover.d.ts +16 -16
  45. package/build/components/tooltip/onhover.js +15 -15
  46. package/build/components/typewriter/index.d.ts +11 -11
  47. package/build/components/typewriter/index.js +14 -14
  48. package/build/themes/dark/alert.d.ts +1 -1
  49. package/build/themes/dark/input.d.ts +5 -4
  50. package/build/themes/dark/select.d.ts +40 -30
  51. package/build/themes/dark/textarea.d.ts +5 -4
  52. package/package.json +7 -7
  53. package/pnpm-workspace.yaml +17 -0
  54. package/src/components/alert/index.ts +2 -4
  55. package/src/components/icon/index.ts +7 -3
@@ -1,4 +1,4 @@
1
1
  import { Attributes } from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- declare const _default: (attributes?: Attributes) => DocumentFragment;
3
+ declare const _default: (attributes?: Attributes) => DocumentFragment | Text;
4
4
  export default _default;
@@ -1,8 +1,8 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- const template_eea410626b3047bfa8387f562557496325 = template_eea410626b3047bfa8387f56255749631.template(`<div class='ellipsis'><span></span><span></span><span></span></div>`);
3
+ const template_0ff113fe0a6246fbbfe92857b2a0303c1j = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='ellipsis'><span></span><span></span><span>`);
4
4
  export default (attributes) => {
5
- let root_eea410626b3047bfa8387f562557496324 = template_eea410626b3047bfa8387f562557496325(), element_eea410626b3047bfa8387f562557496326 = root_eea410626b3047bfa8387f562557496324.firstChild, attributes_eea410626b3047bfa8387f562557496327 = { "class": " ellipsis" };
6
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f562557496326, attributes, attributes_eea410626b3047bfa8387f562557496327);
7
- return root_eea410626b3047bfa8387f562557496324;
5
+ let root_0ff113fe0a6246fbbfe92857b2a0303c1i = template_0ff113fe0a6246fbbfe92857b2a0303c1j(), element_0ff113fe0a6246fbbfe92857b2a0303c1k = root_0ff113fe0a6246fbbfe92857b2a0303c1i.firstChild;
6
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1k, attributes);
7
+ return root_0ff113fe0a6246fbbfe92857b2a0303c1i;
8
8
  };
@@ -11,5 +11,5 @@ declare const _default: <T extends Record<string, any>>(attributes: {
11
11
  state?: {
12
12
  processing: boolean;
13
13
  };
14
- } & Attributes, content: Renderable<any>) => DocumentFragment;
14
+ } & Attributes, content: Renderable<any>) => DocumentFragment | Text;
15
15
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import response from '@esportsplus/action';
2
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
2
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import input from './input.js';
5
- const template_eea410626b3047bfa8387f562557496329 = template_eea410626b3047bfa8387f56255749631.template(`<form class='form'><!--$--></form>`);
5
+ const template_0ff113fe0a6246fbbfe92857b2a0303c1m = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<form class='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_eea410626b3047bfa8387f562557496328 = template_eea410626b3047bfa8387f562557496329(), element_eea410626b3047bfa8387f56255749632a = root_eea410626b3047bfa8387f562557496328.firstChild, element_eea410626b3047bfa8387f56255749632b = element_eea410626b3047bfa8387f56255749632a.firstChild, attributes_eea410626b3047bfa8387f56255749632c = { "class": " form" };
33
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632a, omit(attributes, OMIT), attributes_eea410626b3047bfa8387f56255749632c);
34
- template_eea410626b3047bfa8387f56255749631.delegate(element_eea410626b3047bfa8387f56255749632a, 'click', function (event) {
32
+ let root_0ff113fe0a6246fbbfe92857b2a0303c1l = template_0ff113fe0a6246fbbfe92857b2a0303c1m(), element_0ff113fe0a6246fbbfe92857b2a0303c1n = root_0ff113fe0a6246fbbfe92857b2a0303c1l.firstChild;
33
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1n, omit(attributes, OMIT));
34
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c1n, '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_eea410626b3047bfa8387f56255749631.on(element_eea410626b3047bfa8387f56255749632a, 'submit', async function (event) {
42
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.on(element_0ff113fe0a6246fbbfe92857b2a0303c1n, '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_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f56255749632b, content);
63
- return root_eea410626b3047bfa8387f562557496328;
62
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c1n, content, 1);
63
+ return root_0ff113fe0a6246fbbfe92857b2a0303c1l;
64
64
  })();
65
65
  };
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  state?: {
13
13
  processing: boolean;
14
14
  };
15
- } & import("@esportsplus/template").Attributes, content: import("@esportsplus/template").Renderable<any>) => DocumentFragment;
15
+ } & import("@esportsplus/template").Attributes, content: import("@esportsplus/template").Renderable<any>) => DocumentFragment | Text;
16
16
  input: {
17
17
  get: (element?: import("@esportsplus/template").Element) => {
18
18
  error: string;
@@ -1,21 +1,21 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
6
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
7
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
8
- <T extends template_eea410626b3047bfa8387f56255749631.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
10
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
11
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
12
- <T extends template_eea410626b3047bfa8387f56255749631.Renderable<any>>(content: T): ReturnType<(this: {
13
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
14
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
15
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
16
- (attributes: template_eea410626b3047bfa8387f56255749631.Attributes, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>): ReturnType<(this: {
17
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
18
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
19
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
5
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
6
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
7
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
8
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
10
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
11
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
12
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
14
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
15
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
16
+ (attributes: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
18
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
19
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,19 +1,19 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
2
- import * as reactivity_eea410626b3047bfa8387f56255749630 from '@esportsplus/reactivity';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
+ import * as reactivity_0ff113fe0a6246fbbfe92857b2a0303c0 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_eea410626b3047bfa8387f56255749632f = template_eea410626b3047bfa8387f56255749631.template(`<div class='highlight'><!--$--></div>`);
7
- class ReactiveObject_eea410626b3047bfa8387f56255749632d extends reactivity_eea410626b3047bfa8387f56255749630.ReactiveObject {
8
- #highlight = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](0);
6
+ const template_0ff113fe0a6246fbbfe92857b2a0303c1q = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='highlight'>`);
7
+ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c1o extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
8
+ #highlight = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](0);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get highlight() {
13
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#highlight);
13
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#highlight);
14
14
  }
15
15
  set highlight(_v0) {
16
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#highlight, _v0);
16
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.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_eea410626b3047bfa8387f56255749632d();
41
+ let state = new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c1o();
42
42
  return (() => {
43
- let root_eea410626b3047bfa8387f56255749632e = template_eea410626b3047bfa8387f56255749632f(), element_eea410626b3047bfa8387f56255749632g = root_eea410626b3047bfa8387f56255749632e.firstChild, element_eea410626b3047bfa8387f56255749632h = element_eea410626b3047bfa8387f56255749632g.firstChild, attributes_eea410626b3047bfa8387f56255749632i = { "class": " highlight" };
44
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632g, omit(attributes, OMIT), attributes_eea410626b3047bfa8387f56255749632i);
45
- template_eea410626b3047bfa8387f56255749631.onrender(element_eea410626b3047bfa8387f56255749632g, (element) => {
43
+ let root_0ff113fe0a6246fbbfe92857b2a0303c1p = template_0ff113fe0a6246fbbfe92857b2a0303c1q(), element_0ff113fe0a6246fbbfe92857b2a0303c1r = root_0ff113fe0a6246fbbfe92857b2a0303c1p.firstChild;
44
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1r, omit(attributes, OMIT));
45
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.onrender(element_0ff113fe0a6246fbbfe92857b2a0303c1r, (element) => {
46
46
  element[key] = state;
47
47
  observer.observe(element);
48
48
  });
49
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f56255749632g, 'style', [
49
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c1r, 'style', [
50
50
  () => `--highlight: ${state.highlight}`,
51
51
  `--background: ${attributes.background}`,
52
- ], attributes_eea410626b3047bfa8387f56255749632i);
53
- template_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f56255749632h, content);
54
- return root_eea410626b3047bfa8387f56255749632e;
52
+ ]);
53
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c1r, content, 1);
54
+ return root_0ff113fe0a6246fbbfe92857b2a0303c1p;
55
55
  })();
56
56
  });
@@ -1,21 +1,21 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
5
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
6
6
  content?: string | undefined;
7
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: string) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
8
- <T extends template_eea410626b3047bfa8387f56255749631.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
7
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: string) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
8
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
10
10
  content?: string | undefined;
11
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: string) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
11
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: string) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
12
12
  <T extends string>(content: T): ReturnType<(this: {
13
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
13
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
14
14
  content?: string | undefined;
15
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: string) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
16
- (attributes: template_eea410626b3047bfa8387f56255749631.Attributes, content: string): ReturnType<(this: {
17
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
15
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: string) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
16
+ (attributes: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes, content: string): ReturnType<(this: {
17
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
18
18
  content?: string | undefined;
19
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: string) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
19
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: string) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,13 +1,15 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
2
- import { svg } from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
3
2
  import template from '../../components/template/index.js';
4
3
  import './scss/index.scss';
5
- const template_eea410626b3047bfa8387f56255749632k = template_eea410626b3047bfa8387f56255749631.template(`<div class='icon'><!--$--></div>`);
6
- export default template.factory((attributes, icon) => {
4
+ const template_0ff113fe0a6246fbbfe92857b2a0303c1t = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='icon'><svg><use />`);
5
+ export default template.factory((attributes, href) => {
6
+ if (href[0] !== '#') {
7
+ href = '#' + href;
8
+ }
7
9
  return (() => {
8
- let root_eea410626b3047bfa8387f56255749632j = template_eea410626b3047bfa8387f56255749632k(), element_eea410626b3047bfa8387f56255749632l = root_eea410626b3047bfa8387f56255749632j.firstChild, element_eea410626b3047bfa8387f56255749632m = element_eea410626b3047bfa8387f56255749632l.firstChild, attributes_eea410626b3047bfa8387f56255749632n = { "class": " icon" };
9
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632l, attributes, attributes_eea410626b3047bfa8387f56255749632n);
10
- template_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f56255749632m, svg.sprite(icon));
11
- return root_eea410626b3047bfa8387f56255749632j;
10
+ let root_0ff113fe0a6246fbbfe92857b2a0303c1s = template_0ff113fe0a6246fbbfe92857b2a0303c1t(), element_0ff113fe0a6246fbbfe92857b2a0303c1u = root_0ff113fe0a6246fbbfe92857b2a0303c1s.firstChild, element_0ff113fe0a6246fbbfe92857b2a0303c1v = element_0ff113fe0a6246fbbfe92857b2a0303c1u.firstElementChild.firstElementChild;
11
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1u, attributes);
12
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperty(element_0ff113fe0a6246fbbfe92857b2a0303c1v, 'href', href);
13
+ return root_0ff113fe0a6246fbbfe92857b2a0303c1s;
12
14
  })();
13
15
  });
@@ -7,4 +7,4 @@ export default function (this: {
7
7
  active: boolean;
8
8
  error: string;
9
9
  };
10
- }): DocumentFragment;
10
+ }): DocumentFragment | Text;
@@ -1,43 +1,43 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
2
- import * as reactivity_eea410626b3047bfa8387f56255749630 from '@esportsplus/reactivity';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
+ import * as reactivity_0ff113fe0a6246fbbfe92857b2a0303c0 from '@esportsplus/reactivity';
3
3
  import form from '../../components/form/index.js';
4
4
  import './scss/index.scss';
5
- const template_eea410626b3047bfa8387f56255749632q = template_eea410626b3047bfa8387f56255749631.template(`<input class='input' />`);
6
- class ReactiveObject_eea410626b3047bfa8387f56255749632o extends reactivity_eea410626b3047bfa8387f56255749630.ReactiveObject {
7
- #active = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](false);
8
- #error = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL]('');
5
+ const template_0ff113fe0a6246fbbfe92857b2a0303c1y = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<input class='input' />`);
6
+ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c1w extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
7
+ #active = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
8
+ #error = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL]('');
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get active() {
13
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#active);
13
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#active);
14
14
  }
15
15
  set active(_v0) {
16
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#active, _v0);
16
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#active, _v0);
17
17
  }
18
18
  get error() {
19
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#error);
19
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#error);
20
20
  }
21
21
  set error(_v1) {
22
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#error, _v1);
22
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#error, _v1);
23
23
  }
24
24
  }
25
25
  export default function (attributes) {
26
- let state = attributes.state || new ReactiveObject_eea410626b3047bfa8387f56255749632o();
26
+ let state = attributes.state || new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c1w();
27
27
  return (() => {
28
- let root_eea410626b3047bfa8387f56255749632p = template_eea410626b3047bfa8387f56255749632q(), element_eea410626b3047bfa8387f56255749632r = root_eea410626b3047bfa8387f56255749632p.firstChild, attributes_eea410626b3047bfa8387f56255749632s = { "class": " input" };
29
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632r, this?.attributes, attributes_eea410626b3047bfa8387f56255749632s);
30
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632r, attributes, attributes_eea410626b3047bfa8387f56255749632s);
31
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f56255749632r, 'class', () => state.active && '--active', attributes_eea410626b3047bfa8387f56255749632s);
32
- template_eea410626b3047bfa8387f56255749631.on(element_eea410626b3047bfa8387f56255749632r, 'focusin', () => {
28
+ let root_0ff113fe0a6246fbbfe92857b2a0303c1x = template_0ff113fe0a6246fbbfe92857b2a0303c1y(), element_0ff113fe0a6246fbbfe92857b2a0303c1z = root_0ff113fe0a6246fbbfe92857b2a0303c1x.firstChild;
29
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1z, this?.attributes);
30
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1z, attributes);
31
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c1z, 'class', () => state.active && '--active');
32
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.on(element_0ff113fe0a6246fbbfe92857b2a0303c1z, 'focusin', () => {
33
33
  state.active = true;
34
34
  });
35
- template_eea410626b3047bfa8387f56255749631.on(element_eea410626b3047bfa8387f56255749632r, 'focusout', () => {
35
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.on(element_0ff113fe0a6246fbbfe92857b2a0303c1z, 'focusout', () => {
36
36
  state.active = false;
37
37
  });
38
- template_eea410626b3047bfa8387f56255749631.onrender(element_eea410626b3047bfa8387f56255749632r, form.input.onrender(state));
39
- template_eea410626b3047bfa8387f56255749631.setProperty(element_eea410626b3047bfa8387f56255749632r, 'type', (attributes.type || 'text'));
40
- return root_eea410626b3047bfa8387f56255749632p;
38
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.onrender(element_0ff113fe0a6246fbbfe92857b2a0303c1z, form.input.onrender(state));
39
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperty(element_0ff113fe0a6246fbbfe92857b2a0303c1z, 'type', (attributes.type || 'text'));
40
+ return root_0ff113fe0a6246fbbfe92857b2a0303c1x;
41
41
  })();
42
42
  }
43
43
  ;
@@ -1,21 +1,21 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
6
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
7
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
8
- <T extends template_eea410626b3047bfa8387f56255749631.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
10
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
11
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
12
- <T extends template_eea410626b3047bfa8387f56255749631.Renderable<any>>(content: T): ReturnType<(this: {
13
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
14
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
15
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
16
- (attributes: template_eea410626b3047bfa8387f56255749631.Attributes, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>): ReturnType<(this: {
17
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
18
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
19
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
5
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
6
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
7
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
8
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
10
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
11
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
12
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
14
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
15
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
16
+ (attributes: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
18
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
19
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,78 +1,78 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
2
- import * as reactivity_eea410626b3047bfa8387f56255749630 from '@esportsplus/reactivity';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
+ import * as reactivity_0ff113fe0a6246fbbfe92857b2a0303c0 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_eea410626b3047bfa8387f56255749632v = template_eea410626b3047bfa8387f56255749631.template(`<div class='loader-content'><div class='loader-logo text --flex-center --text-uppercase --text-600' style='color: var(--color-grey-500);'><!--$--></div></div>`);
7
- const template_eea410626b3047bfa8387f562557496332 = template_eea410626b3047bfa8387f56255749631.template(`<div class='loader '><div class='loader '><!--$--></div></div>`);
8
- class ReactiveObject_eea410626b3047bfa8387f56255749632t extends reactivity_eea410626b3047bfa8387f56255749630.ReactiveObject {
9
- #load = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](false);
10
- #remove = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](false);
11
- #scale = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](false);
6
+ const template_0ff113fe0a6246fbbfe92857b2a0303c22 = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='loader-content'><div class='loader-logo text --flex-center --text-uppercase --text-600' style='color: var(--color-grey-500);'>`);
7
+ const template_0ff113fe0a6246fbbfe92857b2a0303c26 = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='loader '><div class='loader '>`);
8
+ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c20 extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
9
+ #load = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
10
+ #remove = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
11
+ #scale = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
12
12
  constructor() {
13
13
  super(null);
14
14
  }
15
15
  get load() {
16
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#load);
16
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#load);
17
17
  }
18
18
  set load(_v0) {
19
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#load, _v0);
19
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#load, _v0);
20
20
  }
21
21
  get remove() {
22
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#remove);
22
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#remove);
23
23
  }
24
24
  set remove(_v1) {
25
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#remove, _v1);
25
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#remove, _v1);
26
26
  }
27
27
  get scale() {
28
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#scale);
28
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#scale);
29
29
  }
30
30
  set scale(_v2) {
31
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#scale, _v2);
31
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#scale, _v2);
32
32
  }
33
33
  }
34
34
  const OMIT = ['loader-content', 'loader-logo'];
35
35
  export default template.factory((attributes, content) => {
36
- let state = new ReactiveObject_eea410626b3047bfa8387f56255749632t();
36
+ let state = new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c20();
37
37
  return () => {
38
38
  if (state.remove) {
39
39
  return;
40
40
  }
41
41
  let i = 0;
42
42
  return (() => {
43
- let root_eea410626b3047bfa8387f562557496331 = template_eea410626b3047bfa8387f562557496332(), element_eea410626b3047bfa8387f562557496333 = root_eea410626b3047bfa8387f562557496331.firstChild, element_eea410626b3047bfa8387f562557496334 = element_eea410626b3047bfa8387f562557496333.firstElementChild, element_eea410626b3047bfa8387f562557496335 = element_eea410626b3047bfa8387f562557496334.firstChild, attributes_eea410626b3047bfa8387f562557496336 = { "class": " loader " }, attributes_eea410626b3047bfa8387f562557496337 = { "class": " loader " };
44
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f562557496333, 'class', () => state.load && 'loader--load', attributes_eea410626b3047bfa8387f562557496336);
45
- template_eea410626b3047bfa8387f56255749631.delegate(element_eea410626b3047bfa8387f562557496333, 'animationend', (e) => {
43
+ let root_0ff113fe0a6246fbbfe92857b2a0303c25 = template_0ff113fe0a6246fbbfe92857b2a0303c26(), element_0ff113fe0a6246fbbfe92857b2a0303c27 = root_0ff113fe0a6246fbbfe92857b2a0303c25.firstChild, element_0ff113fe0a6246fbbfe92857b2a0303c28 = element_0ff113fe0a6246fbbfe92857b2a0303c27.firstElementChild;
44
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c27, 'class', () => state.load && 'loader--load');
45
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c27, 'animationend', (e) => {
46
46
  i++;
47
47
  if (e.animationName === 'move' && i > 1) {
48
48
  state.remove = true;
49
49
  }
50
50
  });
51
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f562557496333, omit(attributes, OMIT), attributes_eea410626b3047bfa8387f562557496336);
52
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f562557496334, 'class', () => state.load && 'loader--load', attributes_eea410626b3047bfa8387f562557496337);
53
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f562557496334, !content && {
51
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c27, omit(attributes, OMIT));
52
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c28, 'class', () => state.load && 'loader--load');
53
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c28, !content && {
54
54
  onconnect: () => {
55
55
  state.load = true;
56
56
  }
57
- }, attributes_eea410626b3047bfa8387f562557496337);
58
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f562557496334, attributes.loader, attributes_eea410626b3047bfa8387f562557496337);
59
- template_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f562557496335, content && (() => {
60
- let root_eea410626b3047bfa8387f56255749632u = template_eea410626b3047bfa8387f56255749632v(), element_eea410626b3047bfa8387f56255749632w = root_eea410626b3047bfa8387f56255749632u.firstChild, element_eea410626b3047bfa8387f56255749632x = element_eea410626b3047bfa8387f56255749632w.firstElementChild, element_eea410626b3047bfa8387f56255749632y = element_eea410626b3047bfa8387f56255749632x.firstChild, attributes_eea410626b3047bfa8387f56255749632z = { "class": " loader-content" }, attributes_eea410626b3047bfa8387f562557496330 = { "class": " loader-logo text --flex-center --text-uppercase --text-600", "style": " color: var(--color-grey-500);" };
61
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632w, attributes['loader-content'], attributes_eea410626b3047bfa8387f56255749632z);
62
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749632x, attributes['loader-logo'], attributes_eea410626b3047bfa8387f562557496330);
63
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f56255749632x, 'class', () => state.scale && 'loader-logo--scale', attributes_eea410626b3047bfa8387f562557496330);
64
- template_eea410626b3047bfa8387f56255749631.delegate(element_eea410626b3047bfa8387f56255749632x, 'animationend', ({ animationName: name }) => {
57
+ });
58
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c28, attributes.loader);
59
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c28, content && (() => {
60
+ let root_0ff113fe0a6246fbbfe92857b2a0303c21 = template_0ff113fe0a6246fbbfe92857b2a0303c22(), element_0ff113fe0a6246fbbfe92857b2a0303c23 = root_0ff113fe0a6246fbbfe92857b2a0303c21.firstChild, element_0ff113fe0a6246fbbfe92857b2a0303c24 = element_0ff113fe0a6246fbbfe92857b2a0303c23.firstElementChild;
61
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c23, attributes['loader-content']);
62
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c24, attributes['loader-logo']);
63
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c24, 'class', () => state.scale && 'loader-logo--scale');
64
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c24, 'animationend', ({ animationName: name }) => {
65
65
  if (name === 'scale') {
66
66
  state.load = true;
67
67
  }
68
68
  });
69
- template_eea410626b3047bfa8387f56255749631.onconnect(element_eea410626b3047bfa8387f56255749632x, () => {
69
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.onconnect(element_0ff113fe0a6246fbbfe92857b2a0303c24, () => {
70
70
  state.scale = true;
71
71
  });
72
- template_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f56255749632y, content);
73
- return root_eea410626b3047bfa8387f56255749632u;
74
- })());
75
- return root_eea410626b3047bfa8387f562557496331;
72
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c24, content, 1);
73
+ return root_0ff113fe0a6246fbbfe92857b2a0303c21;
74
+ })(), 1);
75
+ return root_0ff113fe0a6246fbbfe92857b2a0303c25;
76
76
  })();
77
77
  };
78
78
  });
@@ -1,4 +1,4 @@
1
1
  import { Attributes } from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- declare const _default: (attributes?: Attributes) => DocumentFragment;
3
+ declare const _default: (attributes?: Attributes) => DocumentFragment | Text;
4
4
  export default _default;
@@ -1,10 +1,10 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- const template_eea410626b3047bfa8387f562557496339 = template_eea410626b3047bfa8387f56255749631.template(`<div class='loading --border-width-700 --size-800' style='--border-color: var(--color-border-500);'></div>`);
3
+ const template_0ff113fe0a6246fbbfe92857b2a0303c2a = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='loading --border-width-700 --size-800' style='--border-color: var(--color-border-500);'>`);
4
4
  export default (attributes) => {
5
5
  return (() => {
6
- let root_eea410626b3047bfa8387f562557496338 = template_eea410626b3047bfa8387f562557496339(), element_eea410626b3047bfa8387f56255749633a = root_eea410626b3047bfa8387f562557496338.firstChild, attributes_eea410626b3047bfa8387f56255749633b = { "class": " loading --border-width-700 --size-800", "style": " --border-color: var(--color-border-500);" };
7
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749633a, attributes, attributes_eea410626b3047bfa8387f56255749633b);
8
- return root_eea410626b3047bfa8387f562557496338;
6
+ let root_0ff113fe0a6246fbbfe92857b2a0303c29 = template_0ff113fe0a6246fbbfe92857b2a0303c2a(), element_0ff113fe0a6246fbbfe92857b2a0303c2b = root_0ff113fe0a6246fbbfe92857b2a0303c29.firstChild;
7
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c2b, attributes);
8
+ return root_0ff113fe0a6246fbbfe92857b2a0303c29;
9
9
  })();
10
10
  };
@@ -6,5 +6,5 @@ declare const _default: (this: {
6
6
  active: boolean;
7
7
  error: string;
8
8
  };
9
- }) => DocumentFragment;
9
+ }) => DocumentFragment | Text;
10
10
  export default _default;
@@ -10,4 +10,4 @@ export default function (this: {
10
10
  error: string;
11
11
  value: number;
12
12
  };
13
- }): DocumentFragment;
13
+ }): DocumentFragment | Text;