@esportsplus/ui 0.47.2 → 0.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +2 -3
  2. package/build/components/accordion/index.d.ts +16 -16
  3. package/build/components/accordion/index.js +13 -23
  4. package/build/components/alert/index.js +33 -64
  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 +20 -36
  9. package/build/components/checkbox/index.js +19 -36
  10. package/build/components/clipboard/onclick.js +11 -21
  11. package/build/components/counter/index.js +28 -59
  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 +12 -22
  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 +16 -32
  19. package/build/components/loader/index.d.ts +16 -16
  20. package/build/components/loader/index.js +26 -48
  21. package/build/components/loading/index.js +5 -5
  22. package/build/components/range/index.js +19 -42
  23. package/build/components/scrollbar/index.d.ts +11 -11
  24. package/build/components/scrollbar/index.js +19 -35
  25. package/build/components/select/index.js +34 -63
  26. package/build/components/textarea/index.js +16 -32
  27. package/build/components/tooltip/menu.d.ts +11 -11
  28. package/build/components/tooltip/menu.js +20 -20
  29. package/build/components/tooltip/onclick.d.ts +1101 -1101
  30. package/build/components/tooltip/onclick.js +10 -22
  31. package/build/components/tooltip/onhover.d.ts +16 -16
  32. package/build/components/tooltip/onhover.js +11 -23
  33. package/build/components/typewriter/index.d.ts +11 -11
  34. package/build/components/typewriter/index.js +10 -22
  35. package/package.json +3 -4
  36. package/src/components/accordion/index.ts +1 -2
  37. package/src/components/alert/index.ts +1 -2
  38. package/src/components/button/index.ts +1 -2
  39. package/src/components/checkbox/index.ts +1 -2
  40. package/src/components/clipboard/onclick.ts +1 -2
  41. package/src/components/counter/index.ts +1 -2
  42. package/src/components/highlight/index.ts +1 -2
  43. package/src/components/input/index.ts +1 -2
  44. package/src/components/loader/index.ts +1 -2
  45. package/src/components/range/index.ts +1 -2
  46. package/src/components/scrollbar/index.ts +1 -2
  47. package/src/components/select/index.ts +1 -2
  48. package/src/components/textarea/index.ts +1 -2
  49. package/src/components/tooltip/onclick.ts +1 -2
  50. package/src/components/tooltip/onhover.ts +1 -2
  51. package/src/components/typewriter/index.ts +1 -2
@@ -1,28 +1,18 @@
1
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { reactive } from '@esportsplus/template';
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_a6aeaec5a75649bd8ec693d5230c500018 = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div><!--$--></div>`);
7
- class ReactiveObject_a6aeaec5a75649bd8ec693d5230c500016 extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
8
- #copied = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](false);
9
- constructor() {
10
- super(null);
11
- }
12
- get copied() {
13
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#copied);
14
- }
15
- set copied(_v0) {
16
- reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#copied, _v0);
17
- }
18
- }
6
+ const template_23a4f055a2904f1fa5d72b30cc2abc5013 = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div><!--$--></div>`);
19
7
  const OMIT = ['timeout', 'value'];
20
8
  export default template.factory(function (attributes, content) {
21
- let state = new ReactiveObject_a6aeaec5a75649bd8ec693d5230c500016(), timeout = attributes.timeout || 1000 * 2;
9
+ let state = reactive({
10
+ copied: false
11
+ }), timeout = attributes.timeout || 1000 * 2;
22
12
  return (() => {
23
- let root_a6aeaec5a75649bd8ec693d5230c500017 = template_a6aeaec5a75649bd8ec693d5230c500018(), element_a6aeaec5a75649bd8ec693d5230c500019 = root_a6aeaec5a75649bd8ec693d5230c500017.firstChild, element_a6aeaec5a75649bd8ec693d5230c50001a = element_a6aeaec5a75649bd8ec693d5230c500019.firstChild;
24
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c500019, omit(attributes, OMIT));
25
- template_a6aeaec5a75649bd8ec693d5230c50001.delegate(element_a6aeaec5a75649bd8ec693d5230c500019, 'click', (e) => {
13
+ let root_23a4f055a2904f1fa5d72b30cc2abc5012 = template_23a4f055a2904f1fa5d72b30cc2abc5013(), element_23a4f055a2904f1fa5d72b30cc2abc5014 = root_23a4f055a2904f1fa5d72b30cc2abc5012.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc5015 = element_23a4f055a2904f1fa5d72b30cc2abc5014.firstChild;
14
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc5014, omit(attributes, OMIT));
15
+ template_23a4f055a2904f1fa5d72b30cc2abc501.delegate(element_23a4f055a2904f1fa5d72b30cc2abc5014, 'click', (e) => {
26
16
  e.preventDefault();
27
17
  e.stopPropagation();
28
18
  write(attributes.value).then(() => {
@@ -32,7 +22,7 @@ export default template.factory(function (attributes, content) {
32
22
  }, timeout);
33
23
  });
34
24
  });
35
- new template_a6aeaec5a75649bd8ec693d5230c50001.EffectSlot(element_a6aeaec5a75649bd8ec693d5230c50001a, () => content(state));
36
- return root_a6aeaec5a75649bd8ec693d5230c500017;
25
+ new template_23a4f055a2904f1fa5d72b30cc2abc501.EffectSlot(element_23a4f055a2904f1fa5d72b30cc2abc5015, () => content(state));
26
+ return root_23a4f055a2904f1fa5d72b30cc2abc5012;
37
27
  })();
38
28
  });
@@ -1,55 +1,24 @@
1
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
- import { effect } from '@esportsplus/reactivity';
3
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { effect, reactive } from '@esportsplus/template';
4
3
  import { omit } from '@esportsplus/utilities';
5
4
  import './scss/index.scss';
6
- const template_a6aeaec5a75649bd8ec693d5230c50001e = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<span class='counter-character counter-character--symbol'><!--$--></span>`);
7
- const template_a6aeaec5a75649bd8ec693d5230c50001h = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<span><!--$--></span>`);
8
- const template_a6aeaec5a75649bd8ec693d5230c50001k = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div class=' counter-character'><div class='counter-character-track'><span>9</span><!--$--><span>0</span></div></div>`);
9
- const template_a6aeaec5a75649bd8ec693d5230c50001o = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div class='counter'><!--$--></div>`);
10
- class ReactiveObject_a6aeaec5a75649bd8ec693d5230c50001b extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
11
- #value = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](-1);
12
- constructor() {
13
- super(null);
14
- }
15
- get value() {
16
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#value);
17
- }
18
- set value(_v0) {
19
- reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#value, _v0);
20
- }
21
- }
22
- class ReactiveObject_a6aeaec5a75649bd8ec693d5230c50001c extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
23
- #length = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](0);
24
- #test;
25
- #render;
26
- constructor(_p0, _p1) {
27
- super(null);
28
- this.#test = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.COMPUTED](_p0);
29
- this.#render = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.REACTIVE_ARRAY](_p1);
30
- }
31
- get length() {
32
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#length);
33
- }
34
- set length(_v0) {
35
- reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#length, _v0);
36
- }
37
- get test() {
38
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#test);
39
- }
40
- get render() {
41
- return this.#render;
42
- }
43
- }
5
+ const template_23a4f055a2904f1fa5d72b30cc2abc5017 = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<span class='counter-character counter-character--symbol'><!--$--></span>`);
6
+ const template_23a4f055a2904f1fa5d72b30cc2abc501a = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<span><!--$--></span>`);
7
+ const template_23a4f055a2904f1fa5d72b30cc2abc501d = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div class=' counter-character'><div class='counter-character-track'><span>9</span><!--$--><span>0</span></div></div>`);
8
+ const template_23a4f055a2904f1fa5d72b30cc2abc501h = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div class='counter'><!--$--></div>`);
44
9
  const OMIT = ['currency', 'decimals', 'delay', 'max', 'state', 'suffix', 'value'];
45
10
  let formatters = {};
46
11
  export default (attributes) => {
47
- let { currency, decimals, delay, max, suffix, value } = attributes, api = attributes.state || new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50001b(), formatter = currency === 'IGNORE'
12
+ let { currency, decimals, delay, max, suffix, value } = attributes, api = attributes.state || reactive({ value: -1 }), formatter = currency === 'IGNORE'
48
13
  ? undefined
49
14
  : formatters[currency || 'USD'] ??= new Intl.NumberFormat('en-US', {
50
15
  style: 'currency',
51
16
  currency: currency || 'USD'
52
- }), rendering = true, state = new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50001c(() => 'sds', []), render = new reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveArray();
17
+ }), rendering = true, state = reactive({
18
+ length: 0,
19
+ test: () => 'sds',
20
+ render: []
21
+ }), render = reactive([]);
53
22
  decimals ??= 2;
54
23
  effect(() => {
55
24
  if (api.value !== -1) {
@@ -76,7 +45,7 @@ export default (attributes) => {
76
45
  padding--;
77
46
  value = '0';
78
47
  }
79
- render.$set(i, value);
48
+ render[i] = value;
80
49
  }
81
50
  if (rendering === true) {
82
51
  rendering = false;
@@ -84,33 +53,33 @@ export default (attributes) => {
84
53
  }
85
54
  });
86
55
  return (() => {
87
- let root_a6aeaec5a75649bd8ec693d5230c50001n = template_a6aeaec5a75649bd8ec693d5230c50001o(), element_a6aeaec5a75649bd8ec693d5230c50001p = root_a6aeaec5a75649bd8ec693d5230c50001n.firstChild, element_a6aeaec5a75649bd8ec693d5230c50001q = element_a6aeaec5a75649bd8ec693d5230c50001p.firstChild;
88
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c50001p, omit(attributes, OMIT));
89
- new template_a6aeaec5a75649bd8ec693d5230c50001.EffectSlot(element_a6aeaec5a75649bd8ec693d5230c50001q, () => {
56
+ let root_23a4f055a2904f1fa5d72b30cc2abc501g = template_23a4f055a2904f1fa5d72b30cc2abc501h(), element_23a4f055a2904f1fa5d72b30cc2abc501i = root_23a4f055a2904f1fa5d72b30cc2abc501g.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc501j = element_23a4f055a2904f1fa5d72b30cc2abc501i.firstChild;
57
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc501i, omit(attributes, OMIT));
58
+ new template_23a4f055a2904f1fa5d72b30cc2abc501.EffectSlot(element_23a4f055a2904f1fa5d72b30cc2abc501j, () => {
90
59
  let n = state.length;
91
60
  if (n === 0) {
92
61
  return '';
93
62
  }
94
- return new template_a6aeaec5a75649bd8ec693d5230c50001.ArraySlot(render, function (value) {
63
+ return new template_23a4f055a2904f1fa5d72b30cc2abc501.ArraySlot(render, function (value) {
95
64
  if (isNaN(parseInt(value, 10))) {
96
65
  return (() => {
97
- let root_a6aeaec5a75649bd8ec693d5230c50001d = template_a6aeaec5a75649bd8ec693d5230c50001e(), element_a6aeaec5a75649bd8ec693d5230c50001f = root_a6aeaec5a75649bd8ec693d5230c50001d.firstChild.firstChild;
98
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c50001f, value);
99
- return root_a6aeaec5a75649bd8ec693d5230c50001d;
66
+ let root_23a4f055a2904f1fa5d72b30cc2abc5016 = template_23a4f055a2904f1fa5d72b30cc2abc5017(), element_23a4f055a2904f1fa5d72b30cc2abc5018 = root_23a4f055a2904f1fa5d72b30cc2abc5016.firstChild.firstChild;
67
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc5018, value);
68
+ return root_23a4f055a2904f1fa5d72b30cc2abc5016;
100
69
  })();
101
70
  }
102
71
  return (() => {
103
- let root_a6aeaec5a75649bd8ec693d5230c50001j = template_a6aeaec5a75649bd8ec693d5230c50001k(), element_a6aeaec5a75649bd8ec693d5230c50001l = root_a6aeaec5a75649bd8ec693d5230c50001j.firstChild.firstElementChild, element_a6aeaec5a75649bd8ec693d5230c50001m = element_a6aeaec5a75649bd8ec693d5230c50001l.firstChild.nextSibling;
104
- template_a6aeaec5a75649bd8ec693d5230c50001.setStyle(element_a6aeaec5a75649bd8ec693d5230c50001l, ';', `--value: ${value}`);
105
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c50001m, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((value) => {
106
- let root_a6aeaec5a75649bd8ec693d5230c50001g = template_a6aeaec5a75649bd8ec693d5230c50001h(), element_a6aeaec5a75649bd8ec693d5230c50001i = root_a6aeaec5a75649bd8ec693d5230c50001g.firstChild.firstChild;
107
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c50001i, value);
108
- return root_a6aeaec5a75649bd8ec693d5230c50001g;
72
+ let root_23a4f055a2904f1fa5d72b30cc2abc501c = template_23a4f055a2904f1fa5d72b30cc2abc501d(), element_23a4f055a2904f1fa5d72b30cc2abc501e = root_23a4f055a2904f1fa5d72b30cc2abc501c.firstChild.firstElementChild, element_23a4f055a2904f1fa5d72b30cc2abc501f = element_23a4f055a2904f1fa5d72b30cc2abc501e.firstChild.nextSibling;
73
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setStyle(element_23a4f055a2904f1fa5d72b30cc2abc501e, ';', `--value: ${value}`);
74
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc501f, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((value) => {
75
+ let root_23a4f055a2904f1fa5d72b30cc2abc5019 = template_23a4f055a2904f1fa5d72b30cc2abc501a(), element_23a4f055a2904f1fa5d72b30cc2abc501b = root_23a4f055a2904f1fa5d72b30cc2abc5019.firstChild.firstChild;
76
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc501b, value);
77
+ return root_23a4f055a2904f1fa5d72b30cc2abc5019;
109
78
  }));
110
- return root_a6aeaec5a75649bd8ec693d5230c50001j;
79
+ return root_23a4f055a2904f1fa5d72b30cc2abc501c;
111
80
  })();
112
81
  });
113
82
  });
114
- return root_a6aeaec5a75649bd8ec693d5230c50001n;
83
+ return root_23a4f055a2904f1fa5d72b30cc2abc501g;
115
84
  })();
116
85
  };
@@ -1,8 +1,8 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- const template_a6aeaec5a75649bd8ec693d5230c50001s = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div class='ellipsis'><span></span><span></span><span></span></div>`);
3
+ const template_23a4f055a2904f1fa5d72b30cc2abc501l = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div class='ellipsis'><span></span><span></span><span></span></div>`);
4
4
  export default (attributes) => {
5
- let root_a6aeaec5a75649bd8ec693d5230c50001r = template_a6aeaec5a75649bd8ec693d5230c50001s(), element_a6aeaec5a75649bd8ec693d5230c50001t = root_a6aeaec5a75649bd8ec693d5230c50001r.firstChild;
6
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c50001t, attributes);
7
- return root_a6aeaec5a75649bd8ec693d5230c50001r;
5
+ let root_23a4f055a2904f1fa5d72b30cc2abc501k = template_23a4f055a2904f1fa5d72b30cc2abc501l(), element_23a4f055a2904f1fa5d72b30cc2abc501m = root_23a4f055a2904f1fa5d72b30cc2abc501k.firstChild;
6
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc501m, attributes);
7
+ return root_23a4f055a2904f1fa5d72b30cc2abc501k;
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import response from '@esportsplus/action';
2
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
2
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import input from './input.js';
5
- const template_a6aeaec5a75649bd8ec693d5230c50001v = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<form
5
+ const template_23a4f055a2904f1fa5d72b30cc2abc501o = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<form
6
6
  class='form'><!--$--></form>`);
7
7
  const OMIT = ['action', 'state'];
8
8
  function parse(input) {
@@ -30,9 +30,9 @@ function parse(input) {
30
30
  export default (attributes, content) => {
31
31
  let { action, state } = attributes;
32
32
  return (() => {
33
- let root_a6aeaec5a75649bd8ec693d5230c50001u = template_a6aeaec5a75649bd8ec693d5230c50001v(), element_a6aeaec5a75649bd8ec693d5230c50001w = root_a6aeaec5a75649bd8ec693d5230c50001u.firstChild, element_a6aeaec5a75649bd8ec693d5230c50001x = element_a6aeaec5a75649bd8ec693d5230c50001w.firstChild;
34
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c50001w, omit(attributes, OMIT));
35
- template_a6aeaec5a75649bd8ec693d5230c50001.delegate(element_a6aeaec5a75649bd8ec693d5230c50001w, 'click', function (event) {
33
+ let root_23a4f055a2904f1fa5d72b30cc2abc501n = template_23a4f055a2904f1fa5d72b30cc2abc501o(), element_23a4f055a2904f1fa5d72b30cc2abc501p = root_23a4f055a2904f1fa5d72b30cc2abc501n.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc501q = element_23a4f055a2904f1fa5d72b30cc2abc501p.firstChild;
34
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc501p, omit(attributes, OMIT));
35
+ template_23a4f055a2904f1fa5d72b30cc2abc501.delegate(element_23a4f055a2904f1fa5d72b30cc2abc501p, 'click', function (event) {
36
36
  let trigger = event.target;
37
37
  if (trigger?.type !== 'submit') {
38
38
  return;
@@ -40,7 +40,7 @@ export default (attributes, content) => {
40
40
  event.preventDefault();
41
41
  this.dispatchEvent(new SubmitEvent('submit', { cancelable: true, bubbles: true, submitter: trigger }));
42
42
  });
43
- template_a6aeaec5a75649bd8ec693d5230c50001.on(element_a6aeaec5a75649bd8ec693d5230c50001w, 'submit', async function (event) {
43
+ template_23a4f055a2904f1fa5d72b30cc2abc501.on(element_23a4f055a2904f1fa5d72b30cc2abc501p, 'submit', async function (event) {
44
44
  event.preventDefault();
45
45
  if (state) {
46
46
  state.processing = true;
@@ -60,7 +60,7 @@ export default (attributes, content) => {
60
60
  state.processing = false;
61
61
  }
62
62
  });
63
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c50001x, content);
64
- return root_a6aeaec5a75649bd8ec693d5230c50001u;
63
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc501q, content);
64
+ return root_23a4f055a2904f1fa5d72b30cc2abc501n;
65
65
  })();
66
66
  };
@@ -1,21 +1,21 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
6
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
7
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
8
- <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
10
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
11
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
12
- <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>(content: T): ReturnType<(this: {
13
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
14
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
15
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
16
- (attributes: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>): ReturnType<(this: {
17
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
18
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
19
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
5
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
6
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
7
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
8
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
10
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
11
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
12
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
14
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
15
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
16
+ (attributes: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
18
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
19
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,21 +1,9 @@
1
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { reactive } from '@esportsplus/template';
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_a6aeaec5a75649bd8ec693d5230c500020 = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div class='highlight'><!--$--></div>`);
7
- class ReactiveObject_a6aeaec5a75649bd8ec693d5230c50001y extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
8
- #highlight = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](0);
9
- constructor() {
10
- super(null);
11
- }
12
- get highlight() {
13
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#highlight);
14
- }
15
- set highlight(_v0) {
16
- reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#highlight, _v0);
17
- }
18
- }
6
+ const template_23a4f055a2904f1fa5d72b30cc2abc501s = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div class='highlight'><!--$--></div>`);
19
7
  const OMIT = ['background'];
20
8
  let key = Symbol(), observer = null;
21
9
  export default template.factory((attributes, content) => {
@@ -38,19 +26,21 @@ export default template.factory((attributes, content) => {
38
26
  }
39
27
  }, { threshold: 1 });
40
28
  }
41
- let state = new ReactiveObject_a6aeaec5a75649bd8ec693d5230c50001y();
29
+ let state = reactive({
30
+ highlight: 0
31
+ });
42
32
  return (() => {
43
- let root_a6aeaec5a75649bd8ec693d5230c50001z = template_a6aeaec5a75649bd8ec693d5230c500020(), element_a6aeaec5a75649bd8ec693d5230c500021 = root_a6aeaec5a75649bd8ec693d5230c50001z.firstChild, element_a6aeaec5a75649bd8ec693d5230c500022 = element_a6aeaec5a75649bd8ec693d5230c500021.firstChild;
44
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c500021, omit(attributes, OMIT));
45
- template_a6aeaec5a75649bd8ec693d5230c50001.onrender(element_a6aeaec5a75649bd8ec693d5230c500021, (element) => {
33
+ let root_23a4f055a2904f1fa5d72b30cc2abc501r = template_23a4f055a2904f1fa5d72b30cc2abc501s(), element_23a4f055a2904f1fa5d72b30cc2abc501t = root_23a4f055a2904f1fa5d72b30cc2abc501r.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc501u = element_23a4f055a2904f1fa5d72b30cc2abc501t.firstChild;
34
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc501t, omit(attributes, OMIT));
35
+ template_23a4f055a2904f1fa5d72b30cc2abc501.onrender(element_23a4f055a2904f1fa5d72b30cc2abc501t, (element) => {
46
36
  element[key] = state;
47
37
  observer.observe(element);
48
38
  });
49
- template_a6aeaec5a75649bd8ec693d5230c50001.setStyle(element_a6aeaec5a75649bd8ec693d5230c500021, '', [
39
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setStyle(element_23a4f055a2904f1fa5d72b30cc2abc501t, '', [
50
40
  () => `--highlight: ${state.highlight}`,
51
41
  `--background: ${attributes.background}`,
52
42
  ]);
53
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c500022, content);
54
- return root_a6aeaec5a75649bd8ec693d5230c50001z;
43
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc501u, content);
44
+ return root_23a4f055a2904f1fa5d72b30cc2abc501r;
55
45
  })();
56
46
  });
@@ -1,21 +1,21 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
5
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
6
6
  content?: string | undefined;
7
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
8
- <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
7
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
8
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
10
10
  content?: string | undefined;
11
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
11
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
12
12
  <T extends string>(content: T): ReturnType<(this: {
13
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
13
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
14
14
  content?: string | undefined;
15
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
16
- (attributes: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes, content: string): ReturnType<(this: {
17
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
15
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
16
+ (attributes: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes, content: string): ReturnType<(this: {
17
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
18
18
  content?: string | undefined;
19
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: string) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
19
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: string) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
20
20
  };
21
21
  export default _default;
@@ -1,13 +1,13 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 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_a6aeaec5a75649bd8ec693d5230c500024 = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<div class='icon'><!--$--></div>`);
5
+ const template_23a4f055a2904f1fa5d72b30cc2abc501w = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<div class='icon'><!--$--></div>`);
6
6
  export default template.factory((attributes, icon) => {
7
7
  return (() => {
8
- let root_a6aeaec5a75649bd8ec693d5230c500023 = template_a6aeaec5a75649bd8ec693d5230c500024(), element_a6aeaec5a75649bd8ec693d5230c500025 = root_a6aeaec5a75649bd8ec693d5230c500023.firstChild, element_a6aeaec5a75649bd8ec693d5230c500026 = element_a6aeaec5a75649bd8ec693d5230c500025.firstChild;
9
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c500025, attributes);
10
- template_a6aeaec5a75649bd8ec693d5230c50001.slot(element_a6aeaec5a75649bd8ec693d5230c500026, svg.sprite(icon));
11
- return root_a6aeaec5a75649bd8ec693d5230c500023;
8
+ let root_23a4f055a2904f1fa5d72b30cc2abc501v = template_23a4f055a2904f1fa5d72b30cc2abc501w(), element_23a4f055a2904f1fa5d72b30cc2abc501x = root_23a4f055a2904f1fa5d72b30cc2abc501v.firstChild, element_23a4f055a2904f1fa5d72b30cc2abc501y = element_23a4f055a2904f1fa5d72b30cc2abc501x.firstChild;
9
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc501x, attributes);
10
+ template_23a4f055a2904f1fa5d72b30cc2abc501.slot(element_23a4f055a2904f1fa5d72b30cc2abc501y, svg.sprite(icon));
11
+ return root_23a4f055a2904f1fa5d72b30cc2abc501v;
12
12
  })();
13
13
  });
@@ -1,45 +1,29 @@
1
- import * as reactivity_a6aeaec5a75649bd8ec693d5230c50000 from '@esportsplus/reactivity';
2
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
+ import { reactive } from '@esportsplus/template';
3
3
  import form from '../../components/form/index.js';
4
4
  import './scss/index.scss';
5
- const template_a6aeaec5a75649bd8ec693d5230c500029 = template_a6aeaec5a75649bd8ec693d5230c50001.template(`<input
5
+ const template_23a4f055a2904f1fa5d72b30cc2abc5020 = template_23a4f055a2904f1fa5d72b30cc2abc501.template(`<input
6
6
  class='input'
7
7
  />`);
8
- class ReactiveObject_a6aeaec5a75649bd8ec693d5230c500027 extends reactivity_a6aeaec5a75649bd8ec693d5230c50000.ReactiveObject {
9
- #active = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL](false);
10
- #error = this[reactivity_a6aeaec5a75649bd8ec693d5230c50000.SIGNAL]('');
11
- constructor() {
12
- super(null);
13
- }
14
- get active() {
15
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#active);
16
- }
17
- set active(_v0) {
18
- reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#active, _v0);
19
- }
20
- get error() {
21
- return reactivity_a6aeaec5a75649bd8ec693d5230c50000.read(this.#error);
22
- }
23
- set error(_v1) {
24
- reactivity_a6aeaec5a75649bd8ec693d5230c50000.write(this.#error, _v1);
25
- }
26
- }
27
8
  export default function (attributes) {
28
- let state = attributes.state || new ReactiveObject_a6aeaec5a75649bd8ec693d5230c500027();
9
+ let state = attributes.state || reactive({
10
+ active: false,
11
+ error: ''
12
+ });
29
13
  return (() => {
30
- let root_a6aeaec5a75649bd8ec693d5230c500028 = template_a6aeaec5a75649bd8ec693d5230c500029(), element_a6aeaec5a75649bd8ec693d5230c50002a = root_a6aeaec5a75649bd8ec693d5230c500028.firstChild;
31
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c50002a, this?.attributes);
32
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperties(element_a6aeaec5a75649bd8ec693d5230c50002a, attributes);
33
- template_a6aeaec5a75649bd8ec693d5230c50001.setClass(element_a6aeaec5a75649bd8ec693d5230c50002a, '', () => state.active && '--active');
34
- template_a6aeaec5a75649bd8ec693d5230c50001.on(element_a6aeaec5a75649bd8ec693d5230c50002a, 'focusin', () => {
14
+ let root_23a4f055a2904f1fa5d72b30cc2abc501z = template_23a4f055a2904f1fa5d72b30cc2abc5020(), element_23a4f055a2904f1fa5d72b30cc2abc5021 = root_23a4f055a2904f1fa5d72b30cc2abc501z.firstChild;
15
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc5021, this?.attributes);
16
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperties(element_23a4f055a2904f1fa5d72b30cc2abc5021, attributes);
17
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setClass(element_23a4f055a2904f1fa5d72b30cc2abc5021, '', () => state.active && '--active');
18
+ template_23a4f055a2904f1fa5d72b30cc2abc501.on(element_23a4f055a2904f1fa5d72b30cc2abc5021, 'focusin', () => {
35
19
  state.active = true;
36
20
  });
37
- template_a6aeaec5a75649bd8ec693d5230c50001.on(element_a6aeaec5a75649bd8ec693d5230c50002a, 'focusout', () => {
21
+ template_23a4f055a2904f1fa5d72b30cc2abc501.on(element_23a4f055a2904f1fa5d72b30cc2abc5021, 'focusout', () => {
38
22
  state.active = false;
39
23
  });
40
- template_a6aeaec5a75649bd8ec693d5230c50001.onrender(element_a6aeaec5a75649bd8ec693d5230c50002a, form.input.onrender(state));
41
- template_a6aeaec5a75649bd8ec693d5230c50001.setProperty(element_a6aeaec5a75649bd8ec693d5230c50002a, 'type', (attributes.type || 'text'));
42
- return root_a6aeaec5a75649bd8ec693d5230c500028;
24
+ template_23a4f055a2904f1fa5d72b30cc2abc501.onrender(element_23a4f055a2904f1fa5d72b30cc2abc5021, form.input.onrender(state));
25
+ template_23a4f055a2904f1fa5d72b30cc2abc501.setProperty(element_23a4f055a2904f1fa5d72b30cc2abc5021, 'type', (attributes.type || 'text'));
26
+ return root_23a4f055a2904f1fa5d72b30cc2abc501z;
43
27
  })();
44
28
  }
45
29
  ;
@@ -1,21 +1,21 @@
1
- import * as template_a6aeaec5a75649bd8ec693d5230c50001 from '@esportsplus/template';
1
+ import * as template_23a4f055a2904f1fa5d72b30cc2abc501 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
3
  declare const _default: {
4
4
  (): ReturnType<(this: {
5
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
6
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
7
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
8
- <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>(attributes: T): ReturnType<(this: {
9
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
10
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
11
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
12
- <T extends template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>(content: T): ReturnType<(this: {
13
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
14
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
15
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
16
- (attributes: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>): ReturnType<(this: {
17
- attributes?: template_a6aeaec5a75649bd8ec693d5230c50001.Attributes | undefined;
18
- content?: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>;
19
- }, attributes: Readonly<template_a6aeaec5a75649bd8ec693d5230c50001.Attributes>, content: template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>) => template_a6aeaec5a75649bd8ec693d5230c50001.Renderable<any>>;
5
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
6
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
7
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
8
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
10
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
11
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
12
+ <T extends template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
14
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
15
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
16
+ (attributes: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes | undefined;
18
+ content?: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>;
19
+ }, attributes: Readonly<template_23a4f055a2904f1fa5d72b30cc2abc501.Attributes>, content: template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>) => template_23a4f055a2904f1fa5d72b30cc2abc501.Renderable<any>>;
20
20
  };
21
21
  export default _default;