@esportsplus/ui 0.48.4 → 0.48.5

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 (34) hide show
  1. package/build/components/accordion/index.d.ts +16 -16
  2. package/build/components/accordion/index.js +9 -9
  3. package/build/components/alert/index.js +26 -29
  4. package/build/components/back/index.d.ts +8 -8
  5. package/build/components/back/index.js +8 -9
  6. package/build/components/button/index.d.ts +21 -21
  7. package/build/components/button/index.js +15 -16
  8. package/build/components/checkbox/index.js +14 -14
  9. package/build/components/clipboard/onclick.js +7 -7
  10. package/build/components/counter/index.js +20 -20
  11. package/build/components/ellipsis/index.js +5 -5
  12. package/build/components/form/action.js +8 -9
  13. package/build/components/highlight/index.d.ts +16 -16
  14. package/build/components/highlight/index.js +8 -8
  15. package/build/components/icon/index.d.ts +11 -11
  16. package/build/components/icon/index.js +6 -6
  17. package/build/components/input/index.js +11 -13
  18. package/build/components/loader/index.d.ts +16 -16
  19. package/build/components/loader/index.js +21 -25
  20. package/build/components/loading/index.js +5 -7
  21. package/build/components/range/index.js +13 -16
  22. package/build/components/scrollbar/index.d.ts +11 -11
  23. package/build/components/scrollbar/index.js +14 -17
  24. package/build/components/select/index.js +24 -27
  25. package/build/components/textarea/index.js +11 -12
  26. package/build/components/tooltip/menu.d.ts +11 -11
  27. package/build/components/tooltip/menu.js +20 -24
  28. package/build/components/tooltip/onclick.d.ts +1101 -1101
  29. package/build/components/tooltip/onclick.js +8 -9
  30. package/build/components/tooltip/onhover.d.ts +16 -16
  31. package/build/components/tooltip/onhover.js +9 -10
  32. package/build/components/typewriter/index.d.ts +11 -11
  33. package/build/components/typewriter/index.js +8 -8
  34. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import * as template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1 from '@esportsplus/template';
1
+ import * as template_6f02f170823e4558bc9ed44ffd445e831 from '@esportsplus/template';
2
2
  import { reactive } from '@esportsplus/template';
3
3
  import { EMPTY_ARRAY, omit, toArray } from '@esportsplus/utilities';
4
4
  import form from '../../components/form/index.js';
@@ -6,11 +6,8 @@ import root from '../../components/root/index.js';
6
6
  import scrollbar from '../../components/scrollbar/index.js';
7
7
  import template from '../../components/template/index.js';
8
8
  import './scss/index.scss';
9
- const template_9940f1ff6ffb4f4abe1c7b9b2fa7085d2p = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.template(`<div
10
- class='link select-option '><!--$--></div>`);
11
- const template_9940f1ff6ffb4f4abe1c7b9b2fa7085d2t = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.template(`<div
12
- class='select tooltip '><!--$--><div class='select-arrow'></div><input class='select-tag'
13
- /><!--$--></div>`);
9
+ const template_6f02f170823e4558bc9ed44ffd445e832p = template_6f02f170823e4558bc9ed44ffd445e831.template(`<div class='link select-option '><!--$--></div>`);
10
+ const template_6f02f170823e4558bc9ed44ffd445e832t = template_6f02f170823e4558bc9ed44ffd445e831.template(`<div class='select tooltip '><!--$--><div class='select-arrow'></div><input class='select-tag' /><!--$--></div>`);
14
11
  const OMIT = [
15
12
  'arrow',
16
13
  'options',
@@ -54,17 +51,17 @@ const select = template.factory(function (attributes, content) {
54
51
  selected: attributes.selected || Object.keys(options)[0]
55
52
  });
56
53
  return (() => {
57
- let root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2s = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d2t(), element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u = root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2s.firstChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2v = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u.firstChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2w = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u.firstElementChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2x = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2w.nextElementSibling, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2y = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2v.nextSibling.nextSibling.nextSibling;
58
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setClass(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u, ' ', () => state.active && '--active');
59
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u, this?.attributes && omit(this.attributes, OMIT));
60
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u, omit(attributes, OMIT));
61
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.delegate(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2u, 'click', () => {
54
+ let root_6f02f170823e4558bc9ed44ffd445e832s = template_6f02f170823e4558bc9ed44ffd445e832t(), element_6f02f170823e4558bc9ed44ffd445e832u = root_6f02f170823e4558bc9ed44ffd445e832s.firstChild, element_6f02f170823e4558bc9ed44ffd445e832v = element_6f02f170823e4558bc9ed44ffd445e832u.firstChild, element_6f02f170823e4558bc9ed44ffd445e832w = element_6f02f170823e4558bc9ed44ffd445e832u.firstElementChild, element_6f02f170823e4558bc9ed44ffd445e832x = element_6f02f170823e4558bc9ed44ffd445e832w.nextElementSibling, element_6f02f170823e4558bc9ed44ffd445e832y = element_6f02f170823e4558bc9ed44ffd445e832v.nextSibling.nextSibling.nextSibling;
55
+ template_6f02f170823e4558bc9ed44ffd445e831.setClass(element_6f02f170823e4558bc9ed44ffd445e832u, '', () => state.active && '--active');
56
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e832u, this?.attributes && omit(this.attributes, OMIT), { "class": "" });
57
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e832u, omit(attributes, OMIT), { "class": "" });
58
+ template_6f02f170823e4558bc9ed44ffd445e831.delegate(element_6f02f170823e4558bc9ed44ffd445e832u, 'click', () => {
62
59
  if (state.render) {
63
60
  set(state, !state.active);
64
61
  }
65
62
  state.render = true;
66
63
  });
67
- new template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.EffectSlot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2v, content ? (() => content(state)) : (() => {
64
+ new template_6f02f170823e4558bc9ed44ffd445e831.EffectSlot(element_6f02f170823e4558bc9ed44ffd445e832v, content ? (() => content(state)) : (() => {
68
65
  let selected = options[state.selected];
69
66
  if (!selected) {
70
67
  return '-';
@@ -74,13 +71,13 @@ const select = template.factory(function (attributes, content) {
74
71
  }
75
72
  return selected;
76
73
  }));
77
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2w, this?.attributes?.arrow);
78
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2w, attributes.arrow);
79
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperty(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2x, 'name', attributes.name);
80
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.delegate(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2x, 'click', () => { });
81
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.onrender(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2x, form.input.onrender(state));
82
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperty(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2x, 'value', () => state.selected);
83
- new template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.EffectSlot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2y, () => {
74
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e832w, this?.attributes?.arrow, { "class": "select-arrow" });
75
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e832w, attributes.arrow, { "class": "select-arrow" });
76
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperty(element_6f02f170823e4558bc9ed44ffd445e832x, 'name', attributes.name);
77
+ template_6f02f170823e4558bc9ed44ffd445e831.delegate(element_6f02f170823e4558bc9ed44ffd445e832x, 'click', () => { });
78
+ template_6f02f170823e4558bc9ed44ffd445e831.onrender(element_6f02f170823e4558bc9ed44ffd445e832x, form.input.onrender(state));
79
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperty(element_6f02f170823e4558bc9ed44ffd445e832x, 'value', () => state.selected);
80
+ new template_6f02f170823e4558bc9ed44ffd445e831.EffectSlot(element_6f02f170823e4558bc9ed44ffd445e832y, () => {
84
81
  if (!state.render) {
85
82
  return;
86
83
  }
@@ -123,17 +120,17 @@ const select = template.factory(function (attributes, content) {
123
120
  content = content.content;
124
121
  }
125
122
  return (() => {
126
- let root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2o = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d2p(), element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2q = root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2o.firstChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2r = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2q.firstChild;
127
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setClass(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2q, ' ', () => selected[key] && '--active');
128
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2q, this?.attributes?.option);
129
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2q, option);
130
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperty(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2q, 'data-key', key);
131
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.slot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d2r, content);
132
- return root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2o;
123
+ let root_6f02f170823e4558bc9ed44ffd445e832o = template_6f02f170823e4558bc9ed44ffd445e832p(), element_6f02f170823e4558bc9ed44ffd445e832q = root_6f02f170823e4558bc9ed44ffd445e832o.firstChild, element_6f02f170823e4558bc9ed44ffd445e832r = element_6f02f170823e4558bc9ed44ffd445e832q.firstChild;
124
+ template_6f02f170823e4558bc9ed44ffd445e831.setClass(element_6f02f170823e4558bc9ed44ffd445e832q, '', () => selected[key] && '--active');
125
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e832q, this?.attributes?.option, { "class": "" });
126
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e832q, option, { "class": "" });
127
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperty(element_6f02f170823e4558bc9ed44ffd445e832q, 'data-key', key);
128
+ template_6f02f170823e4558bc9ed44ffd445e831.slot(element_6f02f170823e4558bc9ed44ffd445e832r, content);
129
+ return root_6f02f170823e4558bc9ed44ffd445e832o;
133
130
  })();
134
131
  }));
135
132
  });
136
- return root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2s;
133
+ return root_6f02f170823e4558bc9ed44ffd445e832s;
137
134
  })();
138
135
  });
139
136
  export default select;
@@ -1,10 +1,9 @@
1
- import * as template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1 from '@esportsplus/template';
1
+ import * as template_6f02f170823e4558bc9ed44ffd445e831 from '@esportsplus/template';
2
2
  import { reactive } from '@esportsplus/template';
3
3
  import { omit } from '@esportsplus/utilities';
4
4
  import form from '../../components/form/index.js';
5
5
  import './scss/index.scss';
6
- const template_9940f1ff6ffb4f4abe1c7b9b2fa7085d30 = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.template(`<textarea
7
- class='textarea'></textarea>`);
6
+ const template_6f02f170823e4558bc9ed44ffd445e8330 = template_6f02f170823e4558bc9ed44ffd445e831.template(`<textarea class='textarea'></textarea>`);
8
7
  const OMIT = ['state'];
9
8
  export default function (attributes) {
10
9
  let state = attributes.state || reactive({
@@ -12,19 +11,19 @@ export default function (attributes) {
12
11
  error: ''
13
12
  });
14
13
  return (() => {
15
- let root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2z = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d30(), element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31 = root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2z.firstChild;
16
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, this?.attributes && omit(this.attributes, OMIT));
17
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, omit(attributes, OMIT));
18
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setClass(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, '', () => state.active && '--active');
19
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.on(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, 'focusin', () => {
14
+ let root_6f02f170823e4558bc9ed44ffd445e832z = template_6f02f170823e4558bc9ed44ffd445e8330(), element_6f02f170823e4558bc9ed44ffd445e8331 = root_6f02f170823e4558bc9ed44ffd445e832z.firstChild;
15
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e8331, this?.attributes && omit(this.attributes, OMIT), { "class": "textarea" });
16
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e8331, omit(attributes, OMIT), { "class": "textarea" });
17
+ template_6f02f170823e4558bc9ed44ffd445e831.setClass(element_6f02f170823e4558bc9ed44ffd445e8331, '', () => state.active && '--active');
18
+ template_6f02f170823e4558bc9ed44ffd445e831.on(element_6f02f170823e4558bc9ed44ffd445e8331, 'focusin', () => {
20
19
  state.active = true;
21
20
  });
22
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.on(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, 'focusout', () => {
21
+ template_6f02f170823e4558bc9ed44ffd445e831.on(element_6f02f170823e4558bc9ed44ffd445e8331, 'focusout', () => {
23
22
  state.active = false;
24
23
  });
25
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.onrender(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, form.input.onrender(state));
26
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperty(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d31, 'value', attributes?.value || '');
27
- return root_9940f1ff6ffb4f4abe1c7b9b2fa7085d2z;
24
+ template_6f02f170823e4558bc9ed44ffd445e831.onrender(element_6f02f170823e4558bc9ed44ffd445e8331, form.input.onrender(state));
25
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperty(element_6f02f170823e4558bc9ed44ffd445e8331, 'value', attributes?.value || '');
26
+ return root_6f02f170823e4558bc9ed44ffd445e832z;
28
27
  })();
29
28
  }
30
29
  ;
@@ -1,4 +1,4 @@
1
- import * as template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1 from '@esportsplus/template';
1
+ import * as template_6f02f170823e4558bc9ed44ffd445e831 from '@esportsplus/template';
2
2
  import { Attributes, Renderable } from '@esportsplus/template';
3
3
  type A = Attributes & {
4
4
  options: (Attributes & {
@@ -16,19 +16,19 @@ type A = Attributes & {
16
16
  declare const _default: {
17
17
  (): ReturnType<(this: {
18
18
  attributes?: A | undefined;
19
- content?: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>;
20
- }, attributes: Readonly<A>, content: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>) => Renderable<any>>;
19
+ content?: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>;
20
+ }, attributes: Readonly<A>, content: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>) => Renderable<any>>;
21
21
  <T extends A>(attributes: T): ReturnType<(this: {
22
22
  attributes?: A | undefined;
23
- content?: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>;
24
- }, attributes: Readonly<A>, content: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>) => Renderable<any>>;
25
- <T extends template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>>(content: T): ReturnType<(this: {
23
+ content?: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>;
24
+ }, attributes: Readonly<A>, content: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>) => Renderable<any>>;
25
+ <T extends template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>>(content: T): ReturnType<(this: {
26
26
  attributes?: A | undefined;
27
- content?: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>;
28
- }, attributes: Readonly<A>, content: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>) => Renderable<any>>;
29
- (attributes: A, content: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>): ReturnType<(this: {
27
+ content?: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>;
28
+ }, attributes: Readonly<A>, content: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>) => Renderable<any>>;
29
+ (attributes: A, content: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>): ReturnType<(this: {
30
30
  attributes?: A | undefined;
31
- content?: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>;
32
- }, attributes: Readonly<A>, content: template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.Renderable<any>) => Renderable<any>>;
31
+ content?: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>;
32
+ }, attributes: Readonly<A>, content: template_6f02f170823e4558bc9ed44ffd445e831.Renderable<any>) => Renderable<any>>;
33
33
  };
34
34
  export default _default;
@@ -1,42 +1,38 @@
1
- import * as template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1 from '@esportsplus/template';
1
+ import * as template_6f02f170823e4558bc9ed44ffd445e831 from '@esportsplus/template';
2
2
  import { omit } from '@esportsplus/utilities';
3
3
  import template from '../../components/template/index.js';
4
4
  import onclick from './onclick.js';
5
- const template_9940f1ff6ffb4f4abe1c7b9b2fa7085d33 = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.template(`<a
6
- class='link --width-full'
7
- target='_blank'><!--$--></a>`);
8
- const template_9940f1ff6ffb4f4abe1c7b9b2fa7085d37 = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.template(`<div
9
- class='link --width-full'><!--$--></div>`);
10
- const template_9940f1ff6ffb4f4abe1c7b9b2fa7085d3b = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.template(`<!--$--><div
11
- class='tooltip-content '><!--$--></div>`);
5
+ const template_6f02f170823e4558bc9ed44ffd445e8333 = template_6f02f170823e4558bc9ed44ffd445e831.template(`<a class='link --width-full' target='_blank'><!--$--></a>`);
6
+ const template_6f02f170823e4558bc9ed44ffd445e8337 = template_6f02f170823e4558bc9ed44ffd445e831.template(`<div class='link --width-full'><!--$--></div>`);
7
+ const template_6f02f170823e4558bc9ed44ffd445e833b = template_6f02f170823e4558bc9ed44ffd445e831.template(`<!--$--><div class='tooltip-content '><!--$--></div>`);
12
8
  const OMIT = ['options', 'option', 'tooltip-content'];
13
9
  const OMIT_OPTION = ['content'];
14
10
  const OMIT_TOOLTIP_CONTENT = ['direction'];
15
11
  export default template.factory((attributes, content) => {
16
12
  let options = attributes.options, option = attributes.option, tooltipContent = attributes?.['tooltip-content'], tooltipContentDirection = tooltipContent?.direction || 'nw';
17
13
  return onclick(omit(attributes, OMIT), (() => {
18
- let root_9940f1ff6ffb4f4abe1c7b9b2fa7085d3a = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d3b(), element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3c = root_9940f1ff6ffb4f4abe1c7b9b2fa7085d3a.firstChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3d = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3c.nextSibling, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3e = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3d.firstChild;
19
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.slot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3c, content);
20
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setClass(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3d, ' ', `tooltip-content--${tooltipContentDirection}`);
21
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3d, tooltipContent && omit(tooltipContent, OMIT_TOOLTIP_CONTENT));
22
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.slot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d3e, options.map((o) => {
14
+ let root_6f02f170823e4558bc9ed44ffd445e833a = template_6f02f170823e4558bc9ed44ffd445e833b(), element_6f02f170823e4558bc9ed44ffd445e833c = root_6f02f170823e4558bc9ed44ffd445e833a.firstChild, element_6f02f170823e4558bc9ed44ffd445e833d = element_6f02f170823e4558bc9ed44ffd445e833c.nextSibling, element_6f02f170823e4558bc9ed44ffd445e833e = element_6f02f170823e4558bc9ed44ffd445e833d.firstChild;
15
+ template_6f02f170823e4558bc9ed44ffd445e831.slot(element_6f02f170823e4558bc9ed44ffd445e833c, content);
16
+ template_6f02f170823e4558bc9ed44ffd445e831.setClass(element_6f02f170823e4558bc9ed44ffd445e833d, '', `tooltip-content--${tooltipContentDirection}`);
17
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e833d, tooltipContent && omit(tooltipContent, OMIT_TOOLTIP_CONTENT), { "class": "" });
18
+ template_6f02f170823e4558bc9ed44ffd445e831.slot(element_6f02f170823e4558bc9ed44ffd445e833e, options.map((o) => {
23
19
  if (o.href) {
24
20
  return (() => {
25
- let root_9940f1ff6ffb4f4abe1c7b9b2fa7085d32 = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d33(), element_9940f1ff6ffb4f4abe1c7b9b2fa7085d34 = root_9940f1ff6ffb4f4abe1c7b9b2fa7085d32.firstChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d35 = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d34.firstChild;
26
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d34, omit(o, OMIT_OPTION));
27
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d34, option);
28
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.slot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d35, o.content);
29
- return root_9940f1ff6ffb4f4abe1c7b9b2fa7085d32;
21
+ let root_6f02f170823e4558bc9ed44ffd445e8332 = template_6f02f170823e4558bc9ed44ffd445e8333(), element_6f02f170823e4558bc9ed44ffd445e8334 = root_6f02f170823e4558bc9ed44ffd445e8332.firstChild, element_6f02f170823e4558bc9ed44ffd445e8335 = element_6f02f170823e4558bc9ed44ffd445e8334.firstChild;
22
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e8334, omit(o, OMIT_OPTION), { "class": "--width-full" });
23
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e8334, option, { "class": "--width-full" });
24
+ template_6f02f170823e4558bc9ed44ffd445e831.slot(element_6f02f170823e4558bc9ed44ffd445e8335, o.content);
25
+ return root_6f02f170823e4558bc9ed44ffd445e8332;
30
26
  })();
31
27
  }
32
28
  return (() => {
33
- let root_9940f1ff6ffb4f4abe1c7b9b2fa7085d36 = template_9940f1ff6ffb4f4abe1c7b9b2fa7085d37(), element_9940f1ff6ffb4f4abe1c7b9b2fa7085d38 = root_9940f1ff6ffb4f4abe1c7b9b2fa7085d36.firstChild, element_9940f1ff6ffb4f4abe1c7b9b2fa7085d39 = element_9940f1ff6ffb4f4abe1c7b9b2fa7085d38.firstChild;
34
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d38, omit(o, OMIT_OPTION));
35
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.setProperties(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d38, option);
36
- template_9940f1ff6ffb4f4abe1c7b9b2fa7085d1.slot(element_9940f1ff6ffb4f4abe1c7b9b2fa7085d39, o.content);
37
- return root_9940f1ff6ffb4f4abe1c7b9b2fa7085d36;
29
+ let root_6f02f170823e4558bc9ed44ffd445e8336 = template_6f02f170823e4558bc9ed44ffd445e8337(), element_6f02f170823e4558bc9ed44ffd445e8338 = root_6f02f170823e4558bc9ed44ffd445e8336.firstChild, element_6f02f170823e4558bc9ed44ffd445e8339 = element_6f02f170823e4558bc9ed44ffd445e8338.firstChild;
30
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e8338, omit(o, OMIT_OPTION), { "class": "--width-full" });
31
+ template_6f02f170823e4558bc9ed44ffd445e831.setProperties(element_6f02f170823e4558bc9ed44ffd445e8338, option, { "class": "--width-full" });
32
+ template_6f02f170823e4558bc9ed44ffd445e831.slot(element_6f02f170823e4558bc9ed44ffd445e8339, o.content);
33
+ return root_6f02f170823e4558bc9ed44ffd445e8336;
38
34
  })();
39
35
  }));
40
- return root_9940f1ff6ffb4f4abe1c7b9b2fa7085d3a;
36
+ return root_6f02f170823e4558bc9ed44ffd445e833a;
41
37
  })());
42
38
  });