uikit 3.22.0 → 3.22.2

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 (48) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/css/uikit-core-rtl.css +66 -92
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +66 -92
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +66 -92
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +66 -92
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +2 -2
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +10 -10
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +11 -11
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +2 -2
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +10 -10
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +10 -10
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +13 -13
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +10 -10
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +17 -17
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +5 -5
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +3 -3
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +50 -50
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +65 -65
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/less/components/accordion.less +4 -3
  44. package/src/less/components/list.less +26 -49
  45. package/src/scss/components/accordion.scss +3 -2
  46. package/src/scss/components/list.scss +22 -45
  47. package/src/scss/mixins-theme.scss +4 -4
  48. package/src/scss/mixins.scss +5 -5
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.22.0 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.22.2 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -19,19 +19,19 @@
19
19
  const ucfirst = memoize((str) => str.charAt(0).toUpperCase() + str.slice(1));
20
20
  function startsWith(str, search) {
21
21
  var _a;
22
- return (_a = str == null ? void 0 : str.startsWith) == null ? void 0 : _a.call(str, search);
22
+ return (_a = str == null ? undefined : str.startsWith) == null ? undefined : _a.call(str, search);
23
23
  }
24
24
  function endsWith(str, search) {
25
25
  var _a;
26
- return (_a = str == null ? void 0 : str.endsWith) == null ? void 0 : _a.call(str, search);
26
+ return (_a = str == null ? undefined : str.endsWith) == null ? undefined : _a.call(str, search);
27
27
  }
28
28
  function includes(obj, search) {
29
29
  var _a;
30
- return (_a = obj == null ? void 0 : obj.includes) == null ? void 0 : _a.call(obj, search);
30
+ return (_a = obj == null ? undefined : obj.includes) == null ? undefined : _a.call(obj, search);
31
31
  }
32
32
  function findIndex(array, predicate) {
33
33
  var _a;
34
- return (_a = array == null ? void 0 : array.findIndex) == null ? void 0 : _a.call(array, predicate);
34
+ return (_a = array == null ? undefined : array.findIndex) == null ? undefined : _a.call(array, predicate);
35
35
  }
36
36
  const { isArray, from: toArray } = Array;
37
37
  const { assign } = Object;
@@ -75,7 +75,7 @@
75
75
  return !(isArray(obj) ? obj.length : isObject(obj) ? Object.keys(obj).length : false);
76
76
  }
77
77
  function isUndefined(value) {
78
- return value === void 0;
78
+ return value === undefined;
79
79
  }
80
80
  function toBoolean(value) {
81
81
  return isBoolean(value) ? value : value === "true" || value === "1" || value === "" ? true : value === "false" || value === "0" ? false : value;
@@ -98,8 +98,8 @@
98
98
  return element;
99
99
  }
100
100
  element = toNode(element);
101
- const document = isDocument(element) ? element : element == null ? void 0 : element.ownerDocument;
102
- return (document == null ? void 0 : document.defaultView) || window;
101
+ const document = isDocument(element) ? element : element == null ? undefined : element.ownerDocument;
102
+ return (document == null ? undefined : document.defaultView) || window;
103
103
  }
104
104
  function isEqual(value, other) {
105
105
  return value === other || isObject(value) && isObject(other) && Object.keys(value).length === Object.keys(other).length && each(value, (val, key) => val === other[key]);
@@ -242,7 +242,7 @@
242
242
  return;
243
243
  }
244
244
  if (isUndefined(value)) {
245
- return (_a = toNode(element)) == null ? void 0 : _a.getAttribute(name);
245
+ return (_a = toNode(element)) == null ? undefined : _a.getAttribute(name);
246
246
  } else {
247
247
  for (const el of toNodes(element)) {
248
248
  if (isFunction(value)) {
@@ -317,7 +317,7 @@
317
317
  }
318
318
  function parent(element) {
319
319
  var _a;
320
- return (_a = toNode(element)) == null ? void 0 : _a.parentElement;
320
+ return (_a = toNode(element)) == null ? undefined : _a.parentElement;
321
321
  }
322
322
  function filter(element, selector) {
323
323
  return toNodes(element).filter((element2) => matches(element2, selector));
@@ -472,7 +472,7 @@
472
472
  if (listener.length > 1) {
473
473
  listener = detail(listener);
474
474
  }
475
- if (useCapture == null ? void 0 : useCapture.self) {
475
+ if (useCapture == null ? undefined : useCapture.self) {
476
476
  listener = selfFilter(listener);
477
477
  }
478
478
  if (selector) {
@@ -565,7 +565,7 @@
565
565
  }
566
566
  function getEventPos(e) {
567
567
  var _a, _b;
568
- const { clientX: x, clientY: y } = ((_a = e.touches) == null ? void 0 : _a[0]) || ((_b = e.changedTouches) == null ? void 0 : _b[0]) || e;
568
+ const { clientX: x, clientY: y } = ((_a = e.touches) == null ? undefined : _a[0]) || ((_b = e.changedTouches) == null ? undefined : _b[0]) || e;
569
569
  return { x, y };
570
570
  }
571
571
 
@@ -741,7 +741,7 @@
741
741
  function isTag(element, ...tagNames) {
742
742
  return tagNames.some((tagName) => {
743
743
  var _a;
744
- return ((_a = element == null ? void 0 : element.tagName) == null ? void 0 : _a.toLowerCase()) === tagName.toLowerCase();
744
+ return ((_a = element == null ? undefined : element.tagName) == null ? undefined : _a.toLowerCase()) === tagName.toLowerCase();
745
745
  });
746
746
  }
747
747
  function empty(element) {
@@ -762,7 +762,7 @@
762
762
  return function(ref, element) {
763
763
  var _a;
764
764
  const nodes = toNodes(isString(element) ? fragment(element) : element);
765
- (_a = $(ref)) == null ? void 0 : _a[fn](...nodes);
765
+ (_a = $(ref)) == null ? undefined : _a[fn](...nodes);
766
766
  return unwrapSingle(nodes);
767
767
  };
768
768
  }
@@ -1037,7 +1037,7 @@
1037
1037
  }
1038
1038
  cancel() {
1039
1039
  var _a;
1040
- (_a = this.unbind) == null ? void 0 : _a.call(this);
1040
+ (_a = this.unbind) == null ? undefined : _a.call(this);
1041
1041
  clearInterval(this.interval);
1042
1042
  }
1043
1043
  movesTo(target) {
@@ -1829,7 +1829,7 @@
1829
1829
  on(
1830
1830
  el ? el.call(instance, instance) : instance.$el,
1831
1831
  name,
1832
- delegate == null ? void 0 : delegate.call(instance, instance),
1832
+ delegate == null ? undefined : delegate.call(instance, instance),
1833
1833
  handler.bind(instance),
1834
1834
  {
1835
1835
  passive,
@@ -2068,7 +2068,7 @@
2068
2068
 
2069
2069
  function callHook(instance, hook) {
2070
2070
  var _a;
2071
- (_a = instance.$options[hook]) == null ? void 0 : _a.forEach((handler) => handler.call(instance));
2071
+ (_a = instance.$options[hook]) == null ? undefined : _a.forEach((handler) => handler.call(instance));
2072
2072
  }
2073
2073
  function callConnected(instance) {
2074
2074
  if (instance._connected) {
@@ -2152,7 +2152,7 @@
2152
2152
  };
2153
2153
  App.util = util;
2154
2154
  App.options = {};
2155
- App.version = "3.22.0";
2155
+ App.version = "3.22.2";
2156
2156
 
2157
2157
  const PREFIX = "uk-";
2158
2158
  const DATA = "__uikit__";
@@ -2171,7 +2171,7 @@
2171
2171
  const opt = (_a = options.options) != null ? _a : { ...options };
2172
2172
  opt.id = id;
2173
2173
  opt.name = name;
2174
- (_b = opt.install) == null ? void 0 : _b.call(opt, App, opt, name);
2174
+ (_b = opt.install) == null ? undefined : _b.call(opt, App, opt, name);
2175
2175
  if (App._initialized && !opt.functional) {
2176
2176
  requestAnimationFrame(() => createComponent(name, `[${id}],[data-${id}]`));
2177
2177
  }
@@ -2193,7 +2193,7 @@
2193
2193
  }
2194
2194
  }
2195
2195
  function getComponents(element) {
2196
- return (element == null ? void 0 : element[DATA]) || {};
2196
+ return (element == null ? undefined : element[DATA]) || {};
2197
2197
  }
2198
2198
  function getComponent(element, name) {
2199
2199
  return getComponents(element)[name];
@@ -2252,7 +2252,7 @@
2252
2252
  if (hasAttr(target, attributeName)) {
2253
2253
  createComponent(name, target);
2254
2254
  } else {
2255
- (_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
2255
+ (_a = getComponent(target, name)) == null ? undefined : _a.$destroy();
2256
2256
  }
2257
2257
  }
2258
2258
  }
@@ -2379,7 +2379,7 @@
2379
2379
  }
2380
2380
  let id = 1;
2381
2381
  function generateId(instance, el = null) {
2382
- return (el == null ? void 0 : el.id) || `${instance.$options.id}-${id++}`;
2382
+ return (el == null ? undefined : el.id) || `${instance.$options.id}-${id++}`;
2383
2383
  }
2384
2384
 
2385
2385
  globalApi(App);
@@ -2619,7 +2619,7 @@
2619
2619
  let changed;
2620
2620
  if (this.cls) {
2621
2621
  changed = includes(this.cls, " ") || toggled !== hasClass(el, this.cls);
2622
- changed && toggleClass(el, this.cls, includes(this.cls, " ") ? void 0 : toggled);
2622
+ changed && toggleClass(el, this.cls, includes(this.cls, " ") ? undefined : toggled);
2623
2623
  } else {
2624
2624
  changed = toggled === el.hidden;
2625
2625
  changed && (el.hidden = !toggled);
@@ -2637,7 +2637,7 @@
2637
2637
  }
2638
2638
  async function toggleTransition(el, show, { animation, duration, velocity, transition, _toggle }) {
2639
2639
  var _a;
2640
- const [mode = "reveal", startProp = "top"] = ((_a = animation[0]) == null ? void 0 : _a.split("-")) || [];
2640
+ const [mode = "reveal", startProp = "top"] = ((_a = animation[0]) == null ? undefined : _a.split("-")) || [];
2641
2641
  const dirs = [
2642
2642
  ["left", "right"],
2643
2643
  ["top", "bottom"]
@@ -2777,7 +2777,7 @@
2777
2777
  contents({ content }) {
2778
2778
  return this.items.map((item) => {
2779
2779
  var _a;
2780
- return ((_a = item._wrapper) == null ? void 0 : _a.firstElementChild) || $(content, item);
2780
+ return ((_a = item._wrapper) == null ? undefined : _a.firstElementChild) || $(content, item);
2781
2781
  });
2782
2782
  }
2783
2783
  },
@@ -2816,7 +2816,7 @@
2816
2816
  return;
2817
2817
  }
2818
2818
  e.preventDefault();
2819
- (_a = this._off) == null ? void 0 : _a.call(this);
2819
+ (_a = this._off) == null ? undefined : _a.call(this);
2820
2820
  this._off = keepScrollPosition(e.target);
2821
2821
  await this.toggle(index(this.toggles, e.current));
2822
2822
  this._off();
@@ -2885,7 +2885,7 @@
2885
2885
  }
2886
2886
  async function transition(el, show, { content, duration, velocity, transition: transition2 }) {
2887
2887
  var _a;
2888
- content = ((_a = el._wrapper) == null ? void 0 : _a.firstElementChild) || $(content, el);
2888
+ content = ((_a = el._wrapper) == null ? undefined : _a.firstElementChild) || $(content, el);
2889
2889
  if (!el._wrapper) {
2890
2890
  el._wrapper = wrapAll(content, "<div>");
2891
2891
  }
@@ -3278,7 +3278,7 @@
3278
3278
  if (this.isToggled()) {
3279
3279
  this.hide(false);
3280
3280
  } else {
3281
- this.show(toggle == null ? void 0 : toggle.$el, false);
3281
+ this.show(toggle == null ? undefined : toggle.$el, false);
3282
3282
  }
3283
3283
  }
3284
3284
  },
@@ -3287,7 +3287,7 @@
3287
3287
  self: true,
3288
3288
  handler(e, toggle) {
3289
3289
  e.preventDefault();
3290
- this.show(toggle == null ? void 0 : toggle.$el);
3290
+ this.show(toggle == null ? undefined : toggle.$el);
3291
3291
  }
3292
3292
  },
3293
3293
  {
@@ -3526,7 +3526,7 @@
3526
3526
  `${pointerUp} ${pointerCancel} scroll`,
3527
3527
  ({ defaultPrevented, type, target: newTarget }) => {
3528
3528
  var _a;
3529
- if (!defaultPrevented && type === pointerUp && target === newTarget && !((_a = drop.targetEl) == null ? void 0 : _a.contains(target))) {
3529
+ if (!defaultPrevented && type === pointerUp && target === newTarget && !((_a = drop.targetEl) == null ? undefined : _a.contains(target))) {
3530
3530
  drop.hide(false);
3531
3531
  }
3532
3532
  },
@@ -3584,7 +3584,7 @@
3584
3584
  const dropdowns = $$(`.${clsDrop}`, $el);
3585
3585
  if (this.dropContainer !== $el) {
3586
3586
  for (const el of $$(`.${clsDrop}`, this.dropContainer)) {
3587
- const target = (_a = this.getDropdown(el)) == null ? void 0 : _a.targetEl;
3587
+ const target = (_a = this.getDropdown(el)) == null ? undefined : _a.targetEl;
3588
3588
  if (!includes(dropdowns, el) && target && this.$el.contains(target)) {
3589
3589
  dropdowns.push(el);
3590
3590
  }
@@ -3636,9 +3636,9 @@
3636
3636
  var _a;
3637
3637
  const { current, keyCode } = e;
3638
3638
  const active2 = this.getActive();
3639
- if (keyCode === keyMap.DOWN && (active2 == null ? void 0 : active2.targetEl) === current) {
3639
+ if (keyCode === keyMap.DOWN && (active2 == null ? undefined : active2.targetEl) === current) {
3640
3640
  e.preventDefault();
3641
- (_a = $(selFocusable, active2.$el)) == null ? void 0 : _a.focus();
3641
+ (_a = $(selFocusable, active2.$el)) == null ? undefined : _a.focus();
3642
3642
  }
3643
3643
  handleNavItemNavigation(e, this.items, active2);
3644
3644
  }
@@ -3664,7 +3664,7 @@
3664
3664
  } else if (keyCode === keyMap.DOWN) {
3665
3665
  next = "next";
3666
3666
  } else if (keyCode === keyMap.ESC) {
3667
- (_a = active2.targetEl) == null ? void 0 : _a.focus();
3667
+ (_a = active2.targetEl) == null ? undefined : _a.focus();
3668
3668
  }
3669
3669
  if (~next) {
3670
3670
  e.preventDefault();
@@ -3749,7 +3749,7 @@
3749
3749
  if (!this.isDropbarDrop(target)) {
3750
3750
  return;
3751
3751
  }
3752
- (_a = this._observer) == null ? void 0 : _a.disconnect();
3752
+ (_a = this._observer) == null ? undefined : _a.disconnect();
3753
3753
  const active2 = this.getActive();
3754
3754
  if (!active2 || active2.$el === target) {
3755
3755
  this.transitionTo(0);
@@ -3760,7 +3760,7 @@
3760
3760
  methods: {
3761
3761
  getActive() {
3762
3762
  var _a;
3763
- return includes(this.dropdowns, (_a = active$1) == null ? void 0 : _a.$el) && active$1;
3763
+ return includes(this.dropdowns, (_a = active$1) == null ? undefined : _a.$el) && active$1;
3764
3764
  },
3765
3765
  async transitionTo(newHeight, el) {
3766
3766
  const { dropbar } = this;
@@ -3823,12 +3823,12 @@
3823
3823
  } else if (keyCode === keyMap.RIGHT) {
3824
3824
  next = "next";
3825
3825
  } else if (keyCode === keyMap.TAB) {
3826
- (_a = active2.targetEl) == null ? void 0 : _a.focus();
3827
- (_b = active2.hide) == null ? void 0 : _b.call(active2, false);
3826
+ (_a = active2.targetEl) == null ? undefined : _a.focus();
3827
+ (_b = active2.hide) == null ? undefined : _b.call(active2, false);
3828
3828
  }
3829
3829
  if (~next) {
3830
3830
  e.preventDefault();
3831
- (_c = active2.hide) == null ? void 0 : _c.call(active2, false);
3831
+ (_c = active2.hide) == null ? undefined : _c.call(active2, false);
3832
3832
  toggles[getIndex(next, toggles, toggles.indexOf(active2.targetEl || current))].focus();
3833
3833
  }
3834
3834
  }
@@ -3860,7 +3860,7 @@
3860
3860
  let option;
3861
3861
  const prop = isInput(target) ? "value" : "textContent";
3862
3862
  const prev = target[prop];
3863
- const value = ((_a = input.files) == null ? void 0 : _a[0]) ? input.files[0].name : matches(input, "select") && (option = $$("option", input).filter((el) => el.selected)[0]) ? option.textContent : input.value;
3863
+ const value = ((_a = input.files) == null ? undefined : _a[0]) ? input.files[0].name : matches(input, "select") && (option = $$("option", input).filter((el) => el.selected)[0]) ? option.textContent : input.value;
3864
3864
  if (prev !== value) {
3865
3865
  target[prop] = value;
3866
3866
  }
@@ -4336,7 +4336,7 @@
4336
4336
  t(key, ...params) {
4337
4337
  var _a, _b, _c;
4338
4338
  let i = 0;
4339
- return ((_c = ((_a = this.i18n) == null ? void 0 : _a[key]) || ((_b = this.$options.i18n) == null ? void 0 : _b[key])) == null ? void 0 : _c.replace(
4339
+ return ((_c = ((_a = this.i18n) == null ? undefined : _a[key]) || ((_b = this.$options.i18n) == null ? undefined : _b[key])) == null ? undefined : _c.replace(
4340
4340
  /%s/g,
4341
4341
  () => params[i++] || ""
4342
4342
  )) || "";
@@ -4860,7 +4860,7 @@
4860
4860
  },
4861
4861
  disconnected() {
4862
4862
  var _a;
4863
- (_a = this.offMediaObj) == null ? void 0 : _a.call(this);
4863
+ (_a = this.offMediaObj) == null ? undefined : _a.call(this);
4864
4864
  }
4865
4865
  };
4866
4866
  function toMedia(value, element) {
@@ -5061,7 +5061,7 @@
5061
5061
  return new Promise(
5062
5062
  (resolve, reject) => once(el, "show hide", () => {
5063
5063
  var _a;
5064
- (_a = el._reject) == null ? void 0 : _a.call(el);
5064
+ (_a = el._reject) == null ? undefined : _a.call(el);
5065
5065
  el._reject = reject;
5066
5066
  _toggle(el, show);
5067
5067
  const off = once(
@@ -5214,7 +5214,7 @@
5214
5214
  bgClose: false,
5215
5215
  escClose: true,
5216
5216
  ...options,
5217
- i18n: { ...modal.i18n, ...options == null ? void 0 : options.i18n }
5217
+ i18n: { ...modal.i18n, ...options == null ? undefined : options.i18n }
5218
5218
  };
5219
5219
  const dialog = modal.dialog(tmpl(options), options);
5220
5220
  return assign(
@@ -5564,7 +5564,7 @@
5564
5564
  },
5565
5565
  disconnected() {
5566
5566
  for (const [el, state] of this.elementData.entries()) {
5567
- removeClass(el, clsInView, (state == null ? void 0 : state.cls) || "");
5567
+ removeClass(el, clsInView, (state == null ? undefined : state.cls) || "");
5568
5568
  }
5569
5569
  delete this.elementData;
5570
5570
  },
@@ -5612,11 +5612,11 @@
5612
5612
  methods: {
5613
5613
  toggle(el, inview) {
5614
5614
  var _a, _b;
5615
- const state = (_a = this.elementData) == null ? void 0 : _a.get(el);
5615
+ const state = (_a = this.elementData) == null ? undefined : _a.get(el);
5616
5616
  if (!state) {
5617
5617
  return;
5618
5618
  }
5619
- (_b = state.off) == null ? void 0 : _b.call(state);
5619
+ (_b = state.off) == null ? undefined : _b.call(state);
5620
5620
  css(el, "opacity", !inview && this.hidden ? 0 : "");
5621
5621
  toggleClass(el, clsInView, inview);
5622
5622
  toggleClass(el, state.cls);
@@ -6044,7 +6044,7 @@
6044
6044
  return propOffset + toPx(value, "height", el, true);
6045
6045
  } else {
6046
6046
  const refElement = value === true ? getVisibleParent(el) : query(value, el);
6047
- return offset(refElement).bottom - (padding && (refElement == null ? void 0 : refElement.contains(el)) ? toFloat(css(refElement, "paddingBottom")) + toFloat(css(refElement, "borderBottomWidth")) : 0);
6047
+ return offset(refElement).bottom - (padding && (refElement == null ? undefined : refElement.contains(el)) ? toFloat(css(refElement, "paddingBottom")) + toFloat(css(refElement, "borderBottomWidth")) : 0);
6048
6048
  }
6049
6049
  }
6050
6050
  function coerce(value) {
@@ -6077,7 +6077,7 @@
6077
6077
  return isVisible(el) ? Math.ceil(
6078
6078
  Math.max(0, ...$$("[stroke]", el).map((stroke) => {
6079
6079
  var _a;
6080
- return ((_a = stroke.getTotalLength) == null ? void 0 : _a.call(stroke)) || 0;
6080
+ return ((_a = stroke.getTotalLength) == null ? undefined : _a.call(stroke)) || 0;
6081
6081
  }))
6082
6082
  ) : 0;
6083
6083
  }
@@ -6288,7 +6288,7 @@
6288
6288
  attr(children(this.$el), "role", "presentation");
6289
6289
  for (const index in this.toggles) {
6290
6290
  const toggle = this.toggles[index];
6291
- const item = (_a = this.connects[0]) == null ? void 0 : _a.children[index];
6291
+ const item = (_a = this.connects[0]) == null ? undefined : _a.children[index];
6292
6292
  attr(toggle, "role", "tab");
6293
6293
  if (!item) {
6294
6294
  continue;