@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,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 { root } from '@esportsplus/ui';
5
5
  import template from '../../components/template/index.js';
6
- const template_eea410626b3047bfa8387f56255749634t = template_eea410626b3047bfa8387f56255749631.template(`<div class='tooltip'><!--$--></div>`);
7
- class ReactiveObject_eea410626b3047bfa8387f56255749634r extends reactivity_eea410626b3047bfa8387f56255749630.ReactiveObject {
8
- #active = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](false);
6
+ const template_0ff113fe0a6246fbbfe92857b2a0303c3c = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='tooltip'>`);
7
+ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c3a extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
8
+ #active = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
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
  }
19
19
  const OMIT = ['state', 'toggle'];
@@ -37,12 +37,12 @@ function frame() {
37
37
  running = false;
38
38
  }
39
39
  export default template.factory((attributes, content) => {
40
- let state = attributes.state || new ReactiveObject_eea410626b3047bfa8387f56255749634r(), toggle = attributes.toggle || false;
40
+ let state = attributes.state || new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c3a(), toggle = attributes.toggle || false;
41
41
  return (() => {
42
- let root_eea410626b3047bfa8387f56255749634s = template_eea410626b3047bfa8387f56255749634t(), element_eea410626b3047bfa8387f56255749634u = root_eea410626b3047bfa8387f56255749634s.firstChild, element_eea410626b3047bfa8387f56255749634v = element_eea410626b3047bfa8387f56255749634u.firstChild, attributes_eea410626b3047bfa8387f56255749634w = { "class": " tooltip" };
43
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f56255749634u, omit(attributes, OMIT), attributes_eea410626b3047bfa8387f56255749634w);
44
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f56255749634u, 'class', () => state.active && '--active', attributes_eea410626b3047bfa8387f56255749634w);
45
- template_eea410626b3047bfa8387f56255749631.delegate(element_eea410626b3047bfa8387f56255749634u, 'click', function (e) {
42
+ let root_0ff113fe0a6246fbbfe92857b2a0303c3b = template_0ff113fe0a6246fbbfe92857b2a0303c3c(), element_0ff113fe0a6246fbbfe92857b2a0303c3d = root_0ff113fe0a6246fbbfe92857b2a0303c3b.firstChild;
43
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c3d, omit(attributes, OMIT));
44
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c3d, 'class', () => state.active && '--active');
45
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c3d, 'click', function (e) {
46
46
  let active = true, node = e.target;
47
47
  if (this === node || (toggle && this.contains(node))) {
48
48
  active = !state.active;
@@ -70,7 +70,7 @@ export default template.factory((attributes, content) => {
70
70
  scheduled = true;
71
71
  }
72
72
  });
73
- template_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f56255749634v, content);
74
- return root_eea410626b3047bfa8387f56255749634s;
73
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c3d, content, 1);
74
+ return root_0ff113fe0a6246fbbfe92857b2a0303c3b;
75
75
  })();
76
76
  });
@@ -1,20 +1,20 @@
1
- import * as template_eea410626b3047bfa8387f56255749631 from '@esportsplus/template';
1
+ import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
2
  declare const _default: {
3
3
  (): ReturnType<(this: {
4
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
5
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
6
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
7
- <T extends template_eea410626b3047bfa8387f56255749631.Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
9
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
10
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
11
- <T extends template_eea410626b3047bfa8387f56255749631.Renderable<any>>(content: T): ReturnType<(this: {
12
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
13
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
14
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
15
- (attributes: template_eea410626b3047bfa8387f56255749631.Attributes, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>): ReturnType<(this: {
16
- attributes?: template_eea410626b3047bfa8387f56255749631.Attributes | undefined;
17
- content?: template_eea410626b3047bfa8387f56255749631.Renderable<any>;
18
- }, attributes: Readonly<template_eea410626b3047bfa8387f56255749631.Attributes>, content: template_eea410626b3047bfa8387f56255749631.Renderable<any>) => template_eea410626b3047bfa8387f56255749631.Renderable<any>>;
4
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
5
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
6
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
7
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>(attributes: T): ReturnType<(this: {
8
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
9
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
10
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
11
+ <T extends template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>(content: T): ReturnType<(this: {
12
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
13
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
14
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
15
+ (attributes: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>): ReturnType<(this: {
16
+ attributes?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes | undefined;
17
+ content?: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>;
18
+ }, attributes: Readonly<template_0ff113fe0a6246fbbfe92857b2a0303c1.Attributes>, content: template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>) => template_0ff113fe0a6246fbbfe92857b2a0303c1.Renderable<any>>;
19
19
  };
20
20
  export default _default;
@@ -1,34 +1,34 @@
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
- const template_eea410626b3047bfa8387f56255749634z = template_eea410626b3047bfa8387f56255749631.template(`<div class='tooltip'><!--$--></div>`);
6
- class ReactiveObject_eea410626b3047bfa8387f56255749634x extends reactivity_eea410626b3047bfa8387f56255749630.ReactiveObject {
7
- #active = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL](false);
5
+ const template_0ff113fe0a6246fbbfe92857b2a0303c3g = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='tooltip'>`);
6
+ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c3e extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
7
+ #active = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
8
8
  constructor() {
9
9
  super(null);
10
10
  }
11
11
  get active() {
12
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#active);
12
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#active);
13
13
  }
14
14
  set active(_v0) {
15
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#active, _v0);
15
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#active, _v0);
16
16
  }
17
17
  }
18
18
  const OMIT = ['state'];
19
19
  export default template.factory((attributes, content) => {
20
- let state = attributes.state || new ReactiveObject_eea410626b3047bfa8387f56255749634x();
20
+ let state = attributes.state || new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c3e();
21
21
  return (() => {
22
- let root_eea410626b3047bfa8387f56255749634y = template_eea410626b3047bfa8387f56255749634z(), element_eea410626b3047bfa8387f562557496350 = root_eea410626b3047bfa8387f56255749634y.firstChild, element_eea410626b3047bfa8387f562557496351 = element_eea410626b3047bfa8387f562557496350.firstChild, attributes_eea410626b3047bfa8387f562557496352 = { "class": " tooltip" };
23
- template_eea410626b3047bfa8387f56255749631.setProperties(element_eea410626b3047bfa8387f562557496350, omit(attributes, OMIT), attributes_eea410626b3047bfa8387f562557496352);
24
- template_eea410626b3047bfa8387f56255749631.setList(element_eea410626b3047bfa8387f562557496350, 'class', () => state.active && '--active', attributes_eea410626b3047bfa8387f562557496352);
25
- template_eea410626b3047bfa8387f56255749631.delegate(element_eea410626b3047bfa8387f562557496350, 'mouseover', () => {
22
+ let root_0ff113fe0a6246fbbfe92857b2a0303c3f = template_0ff113fe0a6246fbbfe92857b2a0303c3g(), element_0ff113fe0a6246fbbfe92857b2a0303c3h = root_0ff113fe0a6246fbbfe92857b2a0303c3f.firstChild;
23
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c3h, omit(attributes, OMIT));
24
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c3h, 'class', () => state.active && '--active');
25
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c3h, 'mouseover', () => {
26
26
  state.active = true;
27
27
  });
28
- template_eea410626b3047bfa8387f56255749631.delegate(element_eea410626b3047bfa8387f562557496350, 'mouseout', () => {
28
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c3h, 'mouseout', () => {
29
29
  state.active = false;
30
30
  });
31
- template_eea410626b3047bfa8387f56255749631.slot(element_eea410626b3047bfa8387f562557496351, content);
32
- return root_eea410626b3047bfa8387f56255749634y;
31
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c3h, content, 1);
32
+ return root_0ff113fe0a6246fbbfe92857b2a0303c3f;
33
33
  })();
34
34
  });
@@ -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,27 +1,27 @@
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 template from '../../components/template/index.js';
4
4
  import './scss/index.scss';
5
- const template_eea410626b3047bfa8387f562557496355 = template_eea410626b3047bfa8387f56255749631.template(`<div class='typewriter'><!--$--></div>`);
6
- const template_eea410626b3047bfa8387f562557496358 = template_eea410626b3047bfa8387f56255749631.template(``);
7
- class ReactiveObject_eea410626b3047bfa8387f562557496353 extends reactivity_eea410626b3047bfa8387f56255749630.ReactiveObject {
8
- #text = this[reactivity_eea410626b3047bfa8387f56255749630.SIGNAL]('');
5
+ const template_0ff113fe0a6246fbbfe92857b2a0303c3k = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='typewriter'>`);
6
+ const template_0ff113fe0a6246fbbfe92857b2a0303c3m = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(``);
7
+ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c3i extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
8
+ #text = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL]('');
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get text() {
13
- return reactivity_eea410626b3047bfa8387f56255749630.read(this.#text);
13
+ return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#text);
14
14
  }
15
15
  set text(_v0) {
16
- reactivity_eea410626b3047bfa8387f56255749630.write(this.#text, _v0);
16
+ reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#text, _v0);
17
17
  }
18
18
  }
19
- const EMPTY_NODE = template_eea410626b3047bfa8387f562557496358();
19
+ const EMPTY_NODE = template_0ff113fe0a6246fbbfe92857b2a0303c3m();
20
20
  export default template.factory(function (_, content) {
21
- let state = new ReactiveObject_eea410626b3047bfa8387f562557496353();
21
+ let state = new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c3i();
22
22
  return (() => {
23
- let root_eea410626b3047bfa8387f562557496354 = template_eea410626b3047bfa8387f562557496355(), element_eea410626b3047bfa8387f562557496356 = root_eea410626b3047bfa8387f562557496354.firstChild, element_eea410626b3047bfa8387f562557496357 = element_eea410626b3047bfa8387f562557496356.firstChild;
24
- template_eea410626b3047bfa8387f56255749631.onconnect(element_eea410626b3047bfa8387f562557496356, () => {
23
+ let root_0ff113fe0a6246fbbfe92857b2a0303c3j = template_0ff113fe0a6246fbbfe92857b2a0303c3k(), element_0ff113fe0a6246fbbfe92857b2a0303c3l = root_0ff113fe0a6246fbbfe92857b2a0303c3j.firstChild;
24
+ template_0ff113fe0a6246fbbfe92857b2a0303c1.onconnect(element_0ff113fe0a6246fbbfe92857b2a0303c3l, () => {
25
25
  let character = 0, i = 0, isWriting = true, write = content[i];
26
26
  function play() {
27
27
  setTimeout(() => {
@@ -50,7 +50,7 @@ export default template.factory(function (_, content) {
50
50
  }
51
51
  play();
52
52
  });
53
- new template_eea410626b3047bfa8387f56255749631.EffectSlot(element_eea410626b3047bfa8387f562557496357, () => state.text || EMPTY_NODE);
54
- return root_eea410626b3047bfa8387f562557496354;
53
+ new template_0ff113fe0a6246fbbfe92857b2a0303c1.EffectSlot(element_0ff113fe0a6246fbbfe92857b2a0303c3l, () => state.text || EMPTY_NODE, 1);
54
+ return root_0ff113fe0a6246fbbfe92857b2a0303c3j;
55
55
  })();
56
56
  });
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- content: DocumentFragment;
2
+ content: DocumentFragment | Text;
3
3
  deactivate: () => void;
4
4
  error: {
5
5
  (messages: import("@esportsplus/template").Renderable<any>, seconds?: number): void;
@@ -1,12 +1,12 @@
1
1
  declare const _default: (attributes: {
2
2
  [key: `aria-${string}`]: string | number | boolean | undefined;
3
3
  [key: `data-${string}`]: string | undefined;
4
- class?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
4
+ class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
5
5
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
6
6
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
7
7
  onrender?: ((element: import("@esportsplus/template").Element) => void) | undefined;
8
8
  ontick?: ((dispose: VoidFunction, element: import("@esportsplus/template").Element) => void) | undefined;
9
- style?: import("node_modules/@esportsplus/template/build/types").Attribute | import("node_modules/@esportsplus/template/build/types").Attribute[];
9
+ style?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
10
10
  } & {
11
11
  onabort?: ((this: import("@esportsplus/template").Element, event: UIEvent) => void) | undefined;
12
12
  onanimationcancel?: ((this: import("@esportsplus/template").Element, event: AnimationEvent) => void) | undefined;
@@ -24,6 +24,7 @@ declare const _default: (attributes: {
24
24
  onchange?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
25
25
  onclick?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
26
26
  onclose?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
27
+ oncommand?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
27
28
  oncompositionend?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
28
29
  oncompositionstart?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
29
30
  oncompositionupdate?: ((this: import("@esportsplus/template").Element, event: CompositionEvent) => void) | undefined;
@@ -50,7 +51,7 @@ declare const _default: (attributes: {
50
51
  onfocusout?: ((this: import("@esportsplus/template").Element, event: FocusEvent) => void) | undefined;
51
52
  onformdata?: ((this: import("@esportsplus/template").Element, event: FormDataEvent) => void) | undefined;
52
53
  ongotpointercapture?: ((this: import("@esportsplus/template").Element, event: PointerEvent) => void) | undefined;
53
- oninput?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
54
+ oninput?: ((this: import("@esportsplus/template").Element, event: InputEvent) => void) | undefined;
54
55
  oninvalid?: ((this: import("@esportsplus/template").Element, event: Event) => void) | undefined;
55
56
  onkeydown?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
56
57
  onkeypress?: ((this: import("@esportsplus/template").Element, event: KeyboardEvent) => void) | undefined;
@@ -118,5 +119,5 @@ declare const _default: (attributes: {
118
119
  active: boolean;
119
120
  error: string;
120
121
  };
121
- }) => DocumentFragment;
122
+ }) => DocumentFragment | Text;
122
123
  export default _default;