@esportsplus/ui 0.51.6 → 0.53.0

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 (183) hide show
  1. package/.github/workflows/bump.yml +4 -1
  2. package/.github/workflows/publish.yml +4 -0
  3. package/README.md +2 -3
  4. package/build/components/accordion/index.d.ts +22 -16
  5. package/build/components/accordion/index.js +10 -36
  6. package/build/components/accordion/scss/index.scss +1 -1
  7. package/build/components/back/index.d.ts +16 -13
  8. package/build/components/back/index.js +11 -11
  9. package/build/components/button/index.d.ts +22 -22
  10. package/build/components/button/index.js +25 -25
  11. package/build/components/checkbox/index.d.ts +1 -1
  12. package/build/components/checkbox/index.js +27 -23
  13. package/build/components/clipboard/index.d.ts +23 -20
  14. package/build/components/clipboard/index.js +1 -0
  15. package/build/components/clipboard/onclick.d.ts +1 -1
  16. package/build/components/clipboard/onclick.js +16 -16
  17. package/build/components/clipboard/write.d.ts +1 -1
  18. package/build/components/counter/index.d.ts +5 -5
  19. package/build/components/counter/index.js +34 -34
  20. package/build/components/ellipsis/index.d.ts +1 -1
  21. package/build/components/ellipsis/index.js +5 -5
  22. package/build/components/form/action.d.ts +3 -3
  23. package/build/components/form/action.js +8 -8
  24. package/build/components/form/index.d.ts +2 -2
  25. package/build/components/form/input.d.ts +8 -6
  26. package/build/components/form/input.js +3 -3
  27. package/build/components/frame/index.d.ts +16 -15
  28. package/build/components/frame/index.js +11 -5
  29. package/build/components/highlight/index.d.ts +17 -16
  30. package/build/components/highlight/index.js +16 -16
  31. package/build/components/icon/index.d.ts +11 -11
  32. package/build/components/icon/index.js +8 -8
  33. package/build/components/index.d.ts +1 -4
  34. package/build/components/index.js +1 -4
  35. package/build/components/input/index.d.ts +1 -1
  36. package/build/components/input/index.js +21 -21
  37. package/build/components/json/download.d.ts +1 -1
  38. package/build/components/loader/index.d.ts +17 -16
  39. package/build/components/loader/index.js +35 -35
  40. package/build/components/loader/scss/index.scss +1 -1
  41. package/build/components/loading/index.d.ts +1 -1
  42. package/build/components/loading/index.js +5 -5
  43. package/build/components/overlay/index.d.ts +16 -15
  44. package/build/components/overlay/index.js +11 -5
  45. package/build/components/overlay/scss/index.scss +1 -1
  46. package/build/components/page/scss/index.scss +1 -1
  47. package/build/components/radio/index.js +1 -1
  48. package/build/components/range/index.d.ts +1 -1
  49. package/build/components/range/index.js +26 -26
  50. package/build/components/root/index.d.ts +1 -4
  51. package/build/components/root/onclick.d.ts +4 -4
  52. package/build/components/root/scss/index.scss +1 -1
  53. package/build/components/select/index.d.ts +4 -7
  54. package/build/components/select/index.js +92 -98
  55. package/build/components/sidebar/index.d.ts +16 -15
  56. package/build/components/sidebar/index.js +11 -5
  57. package/build/components/sidebar/scss/index.scss +1 -1
  58. package/build/components/switch/index.js +1 -1
  59. package/build/components/textarea/index.d.ts +1 -1
  60. package/build/components/textarea/index.js +21 -21
  61. package/build/components/toast/index.d.ts +9 -0
  62. package/build/components/toast/index.js +157 -0
  63. package/build/components/toast/manager.d.ts +60 -0
  64. package/build/components/toast/manager.js +203 -0
  65. package/build/components/toast/scss/index.scss +2 -0
  66. package/build/components/toast/svg/check.svg +1 -0
  67. package/build/components/toast/svg/chevron.svg +1 -0
  68. package/build/components/toast/svg/close.svg +1 -0
  69. package/build/components/toast/svg/copy.svg +1 -0
  70. package/build/components/toast/svg/error.svg +1 -0
  71. package/build/components/toast/svg/info.svg +1 -0
  72. package/build/components/toast/svg/loading.svg +1 -0
  73. package/build/components/toast/svg/success.svg +1 -0
  74. package/build/components/toast/svg/warning.svg +1 -0
  75. package/build/components/tooltip/index.d.ts +40 -40
  76. package/build/components/tooltip/menu.d.ts +11 -12
  77. package/build/components/tooltip/menu.js +38 -24
  78. package/build/components/tooltip/onclick.d.ts +1151 -1151
  79. package/build/components/tooltip/onclick.js +17 -17
  80. package/build/components/tooltip/onhover.d.ts +17 -16
  81. package/build/components/tooltip/onhover.js +17 -17
  82. package/build/components/typewriter/index.d.ts +11 -11
  83. package/build/components/typewriter/index.js +16 -16
  84. package/build/css-utilities/index.scss +1 -1
  85. package/build/css-utilities/scroll-fade/scss/index.scss +2 -0
  86. package/build/css-utilities/scrollbar/scss/index.scss +2 -0
  87. package/build/themes/dark/back.d.ts +8 -4
  88. package/build/themes/dark/index.d.ts +0 -1
  89. package/build/themes/dark/index.js +0 -1
  90. package/build/themes/dark/input.d.ts +2 -2
  91. package/build/themes/dark/select.d.ts +60 -110
  92. package/build/themes/dark/textarea.d.ts +2 -2
  93. package/package.json +15 -15
  94. package/pnpm-workspace.yaml +11 -0
  95. package/src/components/accordion/index.ts +7 -30
  96. package/src/components/accordion/scss/index.scss +9 -12
  97. package/src/components/back/index.ts +4 -5
  98. package/src/components/button/index.ts +2 -3
  99. package/src/components/checkbox/index.ts +7 -2
  100. package/src/components/clipboard/index.ts +2 -1
  101. package/src/components/clipboard/onclick.ts +3 -4
  102. package/src/components/form/input.ts +4 -4
  103. package/src/components/frame/index.ts +9 -5
  104. package/src/components/highlight/index.ts +2 -3
  105. package/src/components/icon/index.ts +2 -3
  106. package/src/components/index.ts +1 -4
  107. package/src/components/loader/index.ts +5 -6
  108. package/src/components/loader/scss/index.scss +1 -1
  109. package/src/components/overlay/index.ts +9 -5
  110. package/src/components/overlay/scss/index.scss +0 -1
  111. package/src/components/page/scss/index.scss +1 -1
  112. package/src/components/root/scss/index.scss +35 -4
  113. package/src/components/root/scss/variables.scss +1 -2
  114. package/src/components/select/index.ts +71 -83
  115. package/src/components/sidebar/index.ts +9 -5
  116. package/src/components/sidebar/scss/index.scss +0 -1
  117. package/src/components/toast/index.ts +188 -0
  118. package/src/components/toast/manager.ts +312 -0
  119. package/src/components/toast/scss/index.scss +276 -0
  120. package/src/components/toast/scss/variables.scss +19 -0
  121. package/src/components/toast/svg/check.svg +1 -0
  122. package/src/components/toast/svg/chevron.svg +1 -0
  123. package/src/components/toast/svg/close.svg +1 -0
  124. package/src/components/toast/svg/copy.svg +1 -0
  125. package/src/components/toast/svg/error.svg +1 -0
  126. package/src/components/toast/svg/info.svg +1 -0
  127. package/src/components/toast/svg/loading.svg +1 -0
  128. package/src/components/toast/svg/success.svg +1 -0
  129. package/src/components/toast/svg/warning.svg +1 -0
  130. package/src/components/tooltip/menu.ts +8 -4
  131. package/src/components/tooltip/onclick.ts +3 -4
  132. package/src/components/tooltip/onhover.ts +2 -3
  133. package/src/components/typewriter/index.ts +2 -3
  134. package/src/css-utilities/index.scss +3 -2
  135. package/src/css-utilities/scroll-fade/scss/index.scss +47 -0
  136. package/src/css-utilities/scroll-fade/scss/variables.scss +3 -0
  137. package/src/css-utilities/scrollbar/scss/index.scss +53 -0
  138. package/src/css-utilities/scrollbar/scss/variables.scss +5 -0
  139. package/src/themes/dark/index.ts +0 -1
  140. package/src/tokens/scss/color.scss +14 -14
  141. package/src/tokens/scss/font-size.scss +12 -11
  142. package/src/tokens/scss/line-height.scss +7 -4
  143. package/src/tokens/scss/scale.scss +22 -0
  144. package/src/tokens/scss/size.scss +12 -9
  145. package/src/tokens/scss/spacer.scss +9 -9
  146. package/storage/svg/bolt.svg +1 -0
  147. package/storage/svg/star.svg +1 -0
  148. package/tsconfig.json +6 -2
  149. package/vite-env.d.ts +1 -0
  150. package/vite.config.ts +73 -72
  151. package/build/components/alert/index.d.ts +0 -19
  152. package/build/components/alert/index.js +0 -151
  153. package/build/components/alert/scss/index.scss +0 -2
  154. package/build/components/alert/svg/check.svg +0 -11
  155. package/build/components/alert/svg/close.svg +0 -12
  156. package/build/components/alert/svg/error.svg +0 -18
  157. package/build/components/scrollbar/index.d.ts +0 -27
  158. package/build/components/scrollbar/index.js +0 -56
  159. package/build/components/scrollbar/scss/index.scss +0 -2
  160. package/build/components/site/index.d.ts +0 -20
  161. package/build/components/site/index.js +0 -9
  162. package/build/components/site/scss/index.scss +0 -2
  163. package/build/components/template/index.d.ts +0 -13
  164. package/build/components/template/index.js +0 -21
  165. package/build/css-utilities/scroller/scss/index.scss +0 -2
  166. package/build/themes/dark/alert.d.ts +0 -11
  167. package/build/themes/dark/alert.js +0 -20
  168. package/src/components/accordion/scss/variables.scss +0 -9
  169. package/src/components/alert/index.ts +0 -165
  170. package/src/components/alert/scss/index.scss +0 -25
  171. package/src/components/alert/scss/variables.scss +0 -3
  172. package/src/components/alert/svg/check.svg +0 -11
  173. package/src/components/alert/svg/close.svg +0 -12
  174. package/src/components/alert/svg/error.svg +0 -18
  175. package/src/components/scrollbar/index.ts +0 -70
  176. package/src/components/scrollbar/scss/index.scss +0 -82
  177. package/src/components/scrollbar/scss/variables.scss +0 -6
  178. package/src/components/site/index.ts +0 -11
  179. package/src/components/site/scss/index.scss +0 -3
  180. package/src/components/template/index.ts +0 -40
  181. package/src/css-utilities/scroller/scss/index.scss +0 -8
  182. package/src/css-utilities/scroller/scss/variables.scss +0 -4
  183. package/src/themes/dark/alert.ts +0 -23
@@ -1,3 +1,5 @@
1
+ import onclick from './onclick.js';
2
+ import write from './write.js';
1
3
  declare const _default: {
2
4
  onclick: {
3
5
  (): ReturnType<(this: {
@@ -5,8 +7,8 @@ declare const _default: {
5
7
  timeout?: number;
6
8
  value: string;
7
9
  } & {
8
- [key: `aria-${string}`]: string | number | boolean | undefined;
9
- [key: `data-${string}`]: string | undefined;
10
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
11
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
10
12
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
11
13
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
12
14
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -128,8 +130,8 @@ declare const _default: {
128
130
  timeout?: number;
129
131
  value: string;
130
132
  } & {
131
- [key: `aria-${string}`]: string | number | boolean | undefined;
132
- [key: `data-${string}`]: string | undefined;
133
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
134
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
133
135
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
134
136
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
135
137
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -250,8 +252,8 @@ declare const _default: {
250
252
  timeout?: number;
251
253
  value: string;
252
254
  } & {
253
- [key: `aria-${string}`]: string | number | boolean | undefined;
254
- [key: `data-${string}`]: string | undefined;
255
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
256
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
255
257
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
256
258
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
257
259
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -370,8 +372,8 @@ declare const _default: {
370
372
  timeout?: number;
371
373
  value: string;
372
374
  } & {
373
- [key: `aria-${string}`]: string | number | boolean | undefined;
374
- [key: `data-${string}`]: string | undefined;
375
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
376
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
375
377
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
376
378
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
377
379
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -493,8 +495,8 @@ declare const _default: {
493
495
  timeout?: number;
494
496
  value: string;
495
497
  } & {
496
- [key: `aria-${string}`]: string | number | boolean | undefined;
497
- [key: `data-${string}`]: string | undefined;
498
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
499
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
498
500
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
499
501
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
500
502
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -618,8 +620,8 @@ declare const _default: {
618
620
  timeout?: number;
619
621
  value: string;
620
622
  } & {
621
- [key: `aria-${string}`]: string | number | boolean | undefined;
622
- [key: `data-${string}`]: string | undefined;
623
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
624
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
623
625
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
624
626
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
625
627
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -741,8 +743,8 @@ declare const _default: {
741
743
  timeout?: number;
742
744
  value: string;
743
745
  } & {
744
- [key: `aria-${string}`]: string | number | boolean | undefined;
745
- [key: `data-${string}`]: string | undefined;
746
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
747
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
746
748
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
747
749
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
748
750
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -863,8 +865,8 @@ declare const _default: {
863
865
  timeout?: number;
864
866
  value: string;
865
867
  } & {
866
- [key: `aria-${string}`]: string | number | boolean | undefined;
867
- [key: `data-${string}`]: string | undefined;
868
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
869
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
868
870
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
869
871
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
870
872
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -985,8 +987,8 @@ declare const _default: {
985
987
  timeout?: number;
986
988
  value: string;
987
989
  } & {
988
- [key: `aria-${string}`]: string | number | boolean | undefined;
989
- [key: `data-${string}`]: string | undefined;
990
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
991
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
990
992
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
991
993
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
992
994
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -1108,8 +1110,8 @@ declare const _default: {
1108
1110
  timeout?: number;
1109
1111
  value: string;
1110
1112
  } & {
1111
- [key: `aria-${string}`]: string | number | boolean | undefined;
1112
- [key: `data-${string}`]: string | undefined;
1113
+ [key: `aria-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
1114
+ [key: `data-${string}`]: ((element: import("@esportsplus/template").Element) => string | number | bigint | boolean | null | undefined) | (string | number | bigint | boolean | null | undefined);
1113
1115
  class?: import("@esportsplus/template").Attribute | import("@esportsplus/template").Attribute[];
1114
1116
  onconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
1115
1117
  ondisconnect?: ((element: import("@esportsplus/template").Element) => void) | undefined;
@@ -1230,3 +1232,4 @@ declare const _default: {
1230
1232
  write: (value: string) => Promise<boolean>;
1231
1233
  };
1232
1234
  export default _default;
1235
+ export { onclick, write };
@@ -1,3 +1,4 @@
1
1
  import onclick from './onclick.js';
2
2
  import write from './write.js';
3
3
  export default { onclick, write };
4
+ export { onclick, write };
@@ -1,4 +1,4 @@
1
- import { Attributes, Renderable } from '@esportsplus/template';
1
+ import { type Attributes, type Renderable } from '@esportsplus/template';
2
2
  type A = {
3
3
  timeout?: number;
4
4
  value: string;
@@ -1,38 +1,38 @@
1
- import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
- import * as reactivity_0ff113fe0a6246fbbfe92857b2a0303c0 from '@esportsplus/reactivity';
1
+ import * as template_u1 from '@esportsplus/template';
2
+ import { component } from '@esportsplus/template';
3
+ import * as reactivity_u0 from '@esportsplus/reactivity';
3
4
  import { omit } from '@esportsplus/utilities';
4
- import template from '../../components/template/index.js';
5
5
  import write from './write.js';
6
- const template_0ff113fe0a6246fbbfe92857b2a0303c11 = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div>`);
7
- class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303cz extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
8
- #copied = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](false);
6
+ const template_0g8trzu2 = template_u1.template(`<div>`);
7
+ class ReactiveObject_0g8trzu0 extends reactivity_u0.ReactiveObject {
8
+ #copied = this[reactivity_u0.SIGNAL](false);
9
9
  constructor() {
10
10
  super(null);
11
11
  }
12
12
  get copied() {
13
- return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#copied);
13
+ return reactivity_u0.read(this.#copied);
14
14
  }
15
15
  set copied(_v0) {
16
- reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#copied, _v0);
16
+ reactivity_u0.write(this.#copied, _v0);
17
17
  }
18
18
  }
19
19
  const OMIT = ['timeout', 'value'];
20
- export default template.factory(function (attributes, content) {
21
- let state = new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303cz(), timeout = attributes.timeout || 1000 * 2;
20
+ export default component(function (attributes, content) {
21
+ let state = new ReactiveObject_0g8trzu0(), timeout = attributes.timeout || 1000 * 2;
22
22
  return (() => {
23
- let root_0ff113fe0a6246fbbfe92857b2a0303c10 = template_0ff113fe0a6246fbbfe92857b2a0303c11(), element_0ff113fe0a6246fbbfe92857b2a0303c12 = root_0ff113fe0a6246fbbfe92857b2a0303c10.firstChild;
24
- template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c12, omit(attributes, OMIT));
25
- template_0ff113fe0a6246fbbfe92857b2a0303c1.delegate(element_0ff113fe0a6246fbbfe92857b2a0303c12, 'click', (e) => {
23
+ let root_0g8trzu1 = template_0g8trzu2(), element_0g8trzu3 = root_0g8trzu1.firstChild;
24
+ template_u1.setProperties(element_0g8trzu3, omit(attributes, OMIT));
25
+ template_u1.delegate(element_0g8trzu3, 'click', (e) => {
26
26
  e.preventDefault();
27
27
  e.stopPropagation();
28
- write(attributes.value).then(() => {
28
+ void write(attributes.value).then(() => {
29
29
  state.copied = true;
30
30
  setTimeout(() => {
31
31
  state.copied = false;
32
32
  }, timeout);
33
33
  });
34
34
  });
35
- new template_0ff113fe0a6246fbbfe92857b2a0303c1.EffectSlot(element_0ff113fe0a6246fbbfe92857b2a0303c12, () => content(state), 1);
36
- return root_0ff113fe0a6246fbbfe92857b2a0303c10;
35
+ new template_u1.EffectSlot(element_0g8trzu3, () => content(state), 1);
36
+ return root_0g8trzu1;
37
37
  })();
38
38
  });
@@ -1,2 +1,2 @@
1
- declare const _default: (value: string) => Promise<boolean>;
2
1
  export default _default;
2
+ declare function _default(value: string): Promise<boolean>;
@@ -1,7 +1,8 @@
1
- import { Attributes } from '@esportsplus/template';
1
+ import { type Attributes } from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- declare const _default: (attributes: Attributes & {
4
- currency?: "IGNORE" | "EUR" | "GBP" | "USD";
3
+ export default _default;
4
+ declare function _default(attributes: Attributes & {
5
+ currency?: 'IGNORE' | 'EUR' | 'GBP' | 'USD';
5
6
  decimals?: number;
6
7
  delay?: number;
7
8
  max?: number;
@@ -10,5 +11,4 @@ declare const _default: (attributes: Attributes & {
10
11
  };
11
12
  suffix?: string;
12
13
  value: number;
13
- }) => DocumentFragment | Text;
14
- export default _default;
14
+ }): DocumentFragment | Text;
@@ -1,41 +1,41 @@
1
- import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
- import * as reactivity_0ff113fe0a6246fbbfe92857b2a0303c0 from '@esportsplus/reactivity';
1
+ import * as template_u1 from '@esportsplus/template';
2
+ import * as reactivity_u0 from '@esportsplus/reactivity';
3
3
  import { effect } from '@esportsplus/reactivity';
4
4
  import { omit } from '@esportsplus/utilities';
5
5
  import './scss/index.scss';
6
- const template_0ff113fe0a6246fbbfe92857b2a0303c16 = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<span class='counter-character counter-character--symbol'>`);
7
- const template_0ff113fe0a6246fbbfe92857b2a0303c19 = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<span>`);
8
- const template_0ff113fe0a6246fbbfe92857b2a0303c1c = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class=' counter-character'><div class='counter-character-track'><span>9</span><!--$--><span>0`);
9
- const template_0ff113fe0a6246fbbfe92857b2a0303c1g = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='counter'>`);
10
- class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c13 extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
11
- #value = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](-1);
6
+ const template_00nd5up3 = template_u1.template(`<span class='counter-character counter-character--symbol'>`);
7
+ const template_00nd5up6 = template_u1.template(`<span>`);
8
+ const template_00nd5up9 = template_u1.template(`<div class=' counter-character'><div class='counter-character-track'><span>9</span><!--$--><span>0`);
9
+ const template_00nd5upd = template_u1.template(`<div class='counter' >`);
10
+ class ReactiveObject_00nd5up0 extends reactivity_u0.ReactiveObject {
11
+ #value = this[reactivity_u0.SIGNAL](-1);
12
12
  constructor() {
13
13
  super(null);
14
14
  }
15
15
  get value() {
16
- return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#value);
16
+ return reactivity_u0.read(this.#value);
17
17
  }
18
18
  set value(_v0) {
19
- reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#value, _v0);
19
+ reactivity_u0.write(this.#value, _v0);
20
20
  }
21
21
  }
22
- class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c14 extends reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveObject {
23
- #length = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.SIGNAL](0);
22
+ class ReactiveObject_00nd5up1 extends reactivity_u0.ReactiveObject {
23
+ #length = this[reactivity_u0.SIGNAL](0);
24
24
  #test;
25
25
  #render;
26
26
  constructor(_p0, _p1) {
27
27
  super(null);
28
- this.#test = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.COMPUTED](_p0);
29
- this.#render = this[reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.REACTIVE_ARRAY](_p1);
28
+ this.#test = this[reactivity_u0.COMPUTED](_p0);
29
+ this.#render = this[reactivity_u0.REACTIVE_ARRAY](_p1);
30
30
  }
31
31
  get length() {
32
- return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#length);
32
+ return reactivity_u0.read(this.#length);
33
33
  }
34
34
  set length(_v0) {
35
- reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.write(this.#length, _v0);
35
+ reactivity_u0.write(this.#length, _v0);
36
36
  }
37
37
  get test() {
38
- return reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.read(this.#test);
38
+ return reactivity_u0.read(this.#test);
39
39
  }
40
40
  get render() {
41
41
  return this.#render;
@@ -44,12 +44,12 @@ class ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c14 extends reactivity_0ff11
44
44
  const OMIT = ['currency', 'decimals', 'delay', 'max', 'state', 'suffix', 'value'];
45
45
  let formatters = {};
46
46
  export default (attributes) => {
47
- let { currency, decimals, delay, max, suffix, value } = attributes, api = attributes.state || new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c13(), formatter = currency === 'IGNORE'
47
+ let { currency, decimals, delay, max, suffix, value } = attributes, api = attributes.state || new ReactiveObject_00nd5up0(), formatter = currency === 'IGNORE'
48
48
  ? undefined
49
49
  : formatters[currency || 'USD'] ??= new Intl.NumberFormat('en-US', {
50
50
  style: 'currency',
51
51
  currency: currency || 'USD'
52
- }), rendering = true, state = new ReactiveObject_0ff113fe0a6246fbbfe92857b2a0303c14(() => 'sds', []), render = new reactivity_0ff113fe0a6246fbbfe92857b2a0303c0.ReactiveArray();
52
+ }), rendering = true, state = new ReactiveObject_00nd5up1(() => 'sds', []), render = new reactivity_u0.ReactiveArray();
53
53
  decimals ??= 2;
54
54
  effect(() => {
55
55
  if (api.value !== -1) {
@@ -84,33 +84,33 @@ export default (attributes) => {
84
84
  }
85
85
  });
86
86
  return (() => {
87
- let root_0ff113fe0a6246fbbfe92857b2a0303c1f = template_0ff113fe0a6246fbbfe92857b2a0303c1g(), element_0ff113fe0a6246fbbfe92857b2a0303c1h = root_0ff113fe0a6246fbbfe92857b2a0303c1f.firstChild;
88
- template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1h, omit(attributes, OMIT));
89
- new template_0ff113fe0a6246fbbfe92857b2a0303c1.EffectSlot(element_0ff113fe0a6246fbbfe92857b2a0303c1h, () => {
87
+ let root_00nd5upc = template_00nd5upd(), element_00nd5upe = root_00nd5upc.firstChild;
88
+ template_u1.setProperties(element_00nd5upe, omit(attributes, OMIT));
89
+ new template_u1.EffectSlot(element_00nd5upe, () => {
90
90
  let n = state.length;
91
91
  if (n === 0) {
92
92
  return '';
93
93
  }
94
- return new template_0ff113fe0a6246fbbfe92857b2a0303c1.ArraySlot(render, function (value) {
94
+ return new template_u1.ArraySlot(render, function (value) {
95
95
  if (isNaN(parseInt(value, 10))) {
96
96
  return (() => {
97
- let root_0ff113fe0a6246fbbfe92857b2a0303c15 = template_0ff113fe0a6246fbbfe92857b2a0303c16(), element_0ff113fe0a6246fbbfe92857b2a0303c17 = root_0ff113fe0a6246fbbfe92857b2a0303c15.firstChild;
98
- template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c17, value, 1);
99
- return root_0ff113fe0a6246fbbfe92857b2a0303c15;
97
+ let root_00nd5up2 = template_00nd5up3(), element_00nd5up4 = root_00nd5up2.firstChild;
98
+ template_u1.slot(element_00nd5up4, value, 1);
99
+ return root_00nd5up2;
100
100
  })();
101
101
  }
102
102
  return (() => {
103
- let root_0ff113fe0a6246fbbfe92857b2a0303c1b = template_0ff113fe0a6246fbbfe92857b2a0303c1c(), element_0ff113fe0a6246fbbfe92857b2a0303c1d = root_0ff113fe0a6246fbbfe92857b2a0303c1b.firstChild.firstElementChild, element_0ff113fe0a6246fbbfe92857b2a0303c1e = element_0ff113fe0a6246fbbfe92857b2a0303c1d.firstChild.nextSibling;
104
- template_0ff113fe0a6246fbbfe92857b2a0303c1.setList(element_0ff113fe0a6246fbbfe92857b2a0303c1d, 'style', `--value: ${value}`);
105
- template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c1e, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((value) => {
106
- let root_0ff113fe0a6246fbbfe92857b2a0303c18 = template_0ff113fe0a6246fbbfe92857b2a0303c19(), element_0ff113fe0a6246fbbfe92857b2a0303c1a = root_0ff113fe0a6246fbbfe92857b2a0303c18.firstChild;
107
- template_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c1a, value, 1);
108
- return root_0ff113fe0a6246fbbfe92857b2a0303c18;
103
+ let root_00nd5up8 = template_00nd5up9(), element_00nd5upa = root_00nd5up8.firstChild.firstElementChild, element_00nd5upb = element_00nd5upa.firstChild.nextSibling;
104
+ template_u1.setList(element_00nd5upa, 'style', `--value: ${value}`);
105
+ template_u1.slot(element_00nd5upb, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((value) => {
106
+ let root_00nd5up5 = template_00nd5up6(), element_00nd5up7 = root_00nd5up5.firstChild;
107
+ template_u1.slot(element_00nd5up7, value, 1);
108
+ return root_00nd5up5;
109
109
  }));
110
- return root_0ff113fe0a6246fbbfe92857b2a0303c1b;
110
+ return root_00nd5up8;
111
111
  })();
112
112
  });
113
113
  }, 1);
114
- return root_0ff113fe0a6246fbbfe92857b2a0303c1f;
114
+ return root_00nd5upc;
115
115
  })();
116
116
  };
@@ -1,4 +1,4 @@
1
1
  import { Attributes } from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- declare const _default: (attributes?: Attributes) => DocumentFragment | Text;
4
3
  export default _default;
4
+ declare function _default(attributes?: Attributes): DocumentFragment | Text;
@@ -1,8 +1,8 @@
1
- import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
1
+ import * as template_u1 from '@esportsplus/template';
2
2
  import './scss/index.scss';
3
- const template_0ff113fe0a6246fbbfe92857b2a0303c1j = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<div class='ellipsis'><span></span><span></span><span>`);
3
+ const template_0bfeb8u1 = template_u1.template(`<div class='ellipsis' ><span></span><span></span><span>`);
4
4
  export default (attributes) => {
5
- let root_0ff113fe0a6246fbbfe92857b2a0303c1i = template_0ff113fe0a6246fbbfe92857b2a0303c1j(), element_0ff113fe0a6246fbbfe92857b2a0303c1k = root_0ff113fe0a6246fbbfe92857b2a0303c1i.firstChild;
6
- template_0ff113fe0a6246fbbfe92857b2a0303c1.setProperties(element_0ff113fe0a6246fbbfe92857b2a0303c1k, attributes);
7
- return root_0ff113fe0a6246fbbfe92857b2a0303c1i;
5
+ let root_0bfeb8u0 = template_0bfeb8u1(), element_0bfeb8u2 = root_0bfeb8u0.firstChild;
6
+ template_u1.setProperties(element_0bfeb8u2, attributes);
7
+ return root_0bfeb8u0;
8
8
  };
@@ -3,7 +3,8 @@ import { Attributes, Renderable } from '@esportsplus/template';
3
3
  type Errors = {
4
4
  errors: Response<unknown>['errors'];
5
5
  };
6
- declare const _default: <T extends Record<string, any>>(attributes: {
6
+ export default _default;
7
+ declare function _default<T extends Record<string, any>>(attributes: {
7
8
  action: (data: {
8
9
  input: T;
9
10
  response: typeof response;
@@ -11,5 +12,4 @@ declare const _default: <T extends Record<string, any>>(attributes: {
11
12
  state?: {
12
13
  processing: boolean;
13
14
  };
14
- } & Attributes, content: Renderable<any>) => DocumentFragment | Text;
15
- export default _default;
15
+ } & Attributes, content: Renderable<any>): DocumentFragment | Text;
@@ -1,8 +1,8 @@
1
1
  import response from '@esportsplus/action';
2
- import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
2
+ import * as template_u1 from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import input from './input.js';
5
- const template_0ff113fe0a6246fbbfe92857b2a0303c1m = template_0ff113fe0a6246fbbfe92857b2a0303c1.template(`<form class='form'>`);
5
+ const template_1ajnoyj1 = template_u1.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_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) {
32
+ let root_1ajnoyj0 = template_1ajnoyj1(), element_1ajnoyj2 = root_1ajnoyj0.firstChild;
33
+ template_u1.setProperties(element_1ajnoyj2, omit(attributes, OMIT));
34
+ template_u1.delegate(element_1ajnoyj2, '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_0ff113fe0a6246fbbfe92857b2a0303c1.on(element_0ff113fe0a6246fbbfe92857b2a0303c1n, 'submit', async function (event) {
42
+ template_u1.on(element_1ajnoyj2, '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_0ff113fe0a6246fbbfe92857b2a0303c1.slot(element_0ff113fe0a6246fbbfe92857b2a0303c1n, content, 1);
63
- return root_0ff113fe0a6246fbbfe92857b2a0303c1l;
62
+ template_u1.slot(element_1ajnoyj2, content, 1);
63
+ return root_1ajnoyj0;
64
64
  })();
65
65
  };
@@ -5,9 +5,9 @@ declare const _default: {
5
5
  input: T;
6
6
  response: typeof import("@esportsplus/action").default;
7
7
  }) => (Promise<{
8
- errors: import("@esportsplus/action").Response<unknown>["errors"];
8
+ errors: import("@esportsplus/action").Response<unknown>['errors'];
9
9
  }> | {
10
- errors: import("@esportsplus/action").Response<unknown>["errors"];
10
+ errors: import("@esportsplus/action").Response<unknown>['errors'];
11
11
  });
12
12
  state?: {
13
13
  processing: boolean;
@@ -1,10 +1,12 @@
1
1
  import { Element } from '@esportsplus/template';
2
+ declare const get: (element?: Element) => {
3
+ error: string;
4
+ } | undefined;
5
+ declare const onrender: (reactive: {
6
+ error: string;
7
+ }) => (element: Element) => void;
2
8
  declare const _default: {
3
- get: (element?: Element) => {
4
- error: string;
5
- } | undefined;
6
- onrender: (reactive: {
7
- error: string;
8
- }) => (element: Element) => void;
9
+ get: typeof get;
10
+ onrender: typeof onrender;
9
11
  };
10
12
  export default _default;
@@ -1,13 +1,13 @@
1
- let key = Symbol();
1
+ const KEY = Symbol();
2
2
  const get = (element) => {
3
3
  if (element) {
4
- return element[key];
4
+ return element[KEY];
5
5
  }
6
6
  return undefined;
7
7
  };
8
8
  const onrender = (reactive) => {
9
9
  return (element) => {
10
- element[key] = reactive;
10
+ element[KEY] = reactive;
11
11
  };
12
12
  };
13
13
  export default { get, onrender };
@@ -1,20 +1,21 @@
1
+ import * as template_u1 from '@esportsplus/template';
1
2
  import './scss/index.scss';
2
3
  declare const _default: {
3
4
  (): ReturnType<(this: {
4
- attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
5
- content?: import("@esportsplus/template").Renderable<any>;
6
- }, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
7
- <T extends import("../../components/scrollbar/index.js").Attributes>(attributes: T): ReturnType<(this: {
8
- attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
9
- content?: import("@esportsplus/template").Renderable<any>;
10
- }, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
11
- <T extends import("@esportsplus/template").Renderable<any>>(content: T): ReturnType<(this: {
12
- attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
13
- content?: import("@esportsplus/template").Renderable<any>;
14
- }, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
15
- (attributes: import("../../components/scrollbar/index.js").Attributes, content: import("@esportsplus/template").Renderable<any>): ReturnType<(this: {
16
- attributes?: import("../../components/scrollbar/index.js").Attributes | undefined;
17
- content?: import("@esportsplus/template").Renderable<any>;
18
- }, attributes: Readonly<import("../../components/scrollbar/index.js").Attributes>, content: import("@esportsplus/template").Renderable<any>) => import("@esportsplus/template").Renderable<any>>;
5
+ attributes?: template_u1.Attributes | undefined;
6
+ content?: template_u1.Renderable<any>;
7
+ }, attributes: Readonly<template_u1.Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
8
+ <T extends template_u1.Attributes>(attributes: T): ReturnType<(this: {
9
+ attributes?: template_u1.Attributes | undefined;
10
+ content?: template_u1.Renderable<any>;
11
+ }, attributes: Readonly<template_u1.Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
12
+ <T extends template_u1.Renderable<any>>(content: T): ReturnType<(this: {
13
+ attributes?: template_u1.Attributes | undefined;
14
+ content?: template_u1.Renderable<any>;
15
+ }, attributes: Readonly<template_u1.Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
16
+ (attributes: template_u1.Attributes, content: template_u1.Renderable<any>): ReturnType<(this: {
17
+ attributes?: template_u1.Attributes | undefined;
18
+ content?: template_u1.Renderable<any>;
19
+ }, attributes: Readonly<template_u1.Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
19
20
  };
20
21
  export default _default;
@@ -1,7 +1,13 @@
1
- import scrollbar from '../../components/scrollbar/index.js';
1
+ import * as template_u1 from '@esportsplus/template';
2
+ import { component } from '@esportsplus/template';
2
3
  import './scss/index.scss';
3
- export default scrollbar.bind({
4
- attributes: {
5
- class: 'frame'
6
- }
4
+ const template_0f2789a1 = template_u1.template(`<div class='frame --scrollbar' >`);
5
+ export default component(function (attributes, content) {
6
+ return (() => {
7
+ let root_0f2789a0 = template_0f2789a1(), element_0f2789a2 = root_0f2789a0.firstChild;
8
+ template_u1.setProperties(element_0f2789a2, this?.attributes);
9
+ template_u1.setProperties(element_0f2789a2, attributes);
10
+ template_u1.slot(element_0f2789a2, content, 1);
11
+ return root_0f2789a0;
12
+ })();
7
13
  });
@@ -1,21 +1,22 @@
1
- import * as template_0ff113fe0a6246fbbfe92857b2a0303c1 from '@esportsplus/template';
1
+ import * as template_u1 from '@esportsplus/template';
2
+ import { Attributes } from '@esportsplus/template';
2
3
  import './scss/index.scss';
3
4
  declare const _default: {
4
5
  (): ReturnType<(this: {
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>>;
6
+ attributes?: Attributes | undefined;
7
+ content?: template_u1.Renderable<any>;
8
+ }, attributes: Readonly<Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
9
+ <T extends Attributes>(attributes: T): ReturnType<(this: {
10
+ attributes?: Attributes | undefined;
11
+ content?: template_u1.Renderable<any>;
12
+ }, attributes: Readonly<Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
13
+ <T extends template_u1.Renderable<any>>(content: T): ReturnType<(this: {
14
+ attributes?: Attributes | undefined;
15
+ content?: template_u1.Renderable<any>;
16
+ }, attributes: Readonly<Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
17
+ (attributes: Attributes, content: template_u1.Renderable<any>): ReturnType<(this: {
18
+ attributes?: Attributes | undefined;
19
+ content?: template_u1.Renderable<any>;
20
+ }, attributes: Readonly<Attributes>, content: template_u1.Renderable<any>) => template_u1.Renderable<any>>;
20
21
  };
21
22
  export default _default;