uikit 3.16.24-dev.d6158da87 → 3.16.25-dev.12f581d90

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 (136) hide show
  1. package/.eslintrc.json +0 -9
  2. package/.prettierrc.json +3 -4
  3. package/CHANGELOG.md +2 -1
  4. package/build/build.js +2 -2
  5. package/build/less.js +2 -2
  6. package/build/prefix.js +3 -3
  7. package/build/release.js +7 -7
  8. package/build/scope.js +3 -3
  9. package/build/scss.js +9 -9
  10. package/build/util.js +11 -11
  11. package/dist/css/uikit-core-rtl.css +1 -1
  12. package/dist/css/uikit-core-rtl.min.css +1 -1
  13. package/dist/css/uikit-core.css +1 -1
  14. package/dist/css/uikit-core.min.css +1 -1
  15. package/dist/css/uikit-rtl.css +1 -1
  16. package/dist/css/uikit-rtl.min.css +1 -1
  17. package/dist/css/uikit.css +1 -1
  18. package/dist/css/uikit.min.css +1 -1
  19. package/dist/js/components/countdown.js +2 -2
  20. package/dist/js/components/countdown.min.js +1 -1
  21. package/dist/js/components/filter.js +18 -18
  22. package/dist/js/components/filter.min.js +1 -1
  23. package/dist/js/components/lightbox-panel.js +351 -350
  24. package/dist/js/components/lightbox-panel.min.js +1 -1
  25. package/dist/js/components/lightbox.js +353 -352
  26. package/dist/js/components/lightbox.min.js +1 -1
  27. package/dist/js/components/notification.js +6 -6
  28. package/dist/js/components/notification.min.js +1 -1
  29. package/dist/js/components/parallax.js +69 -69
  30. package/dist/js/components/parallax.min.js +1 -1
  31. package/dist/js/components/slider-parallax.js +37 -37
  32. package/dist/js/components/slider-parallax.min.js +1 -1
  33. package/dist/js/components/slider.js +222 -224
  34. package/dist/js/components/slider.min.js +1 -1
  35. package/dist/js/components/slideshow-parallax.js +37 -37
  36. package/dist/js/components/slideshow-parallax.min.js +1 -1
  37. package/dist/js/components/slideshow.js +300 -302
  38. package/dist/js/components/slideshow.min.js +1 -1
  39. package/dist/js/components/sortable.js +2 -2
  40. package/dist/js/components/sortable.min.js +1 -1
  41. package/dist/js/components/tooltip.js +95 -95
  42. package/dist/js/components/tooltip.min.js +1 -1
  43. package/dist/js/components/upload.js +2 -2
  44. package/dist/js/components/upload.min.js +1 -1
  45. package/dist/js/uikit-core.js +452 -449
  46. package/dist/js/uikit-core.min.js +1 -1
  47. package/dist/js/uikit-icons.js +1 -1
  48. package/dist/js/uikit-icons.min.js +1 -1
  49. package/dist/js/uikit.js +6837 -6836
  50. package/dist/js/uikit.min.js +1 -1
  51. package/package.json +8 -7
  52. package/src/js/api/app.js +1 -1
  53. package/src/js/api/boot.js +2 -2
  54. package/src/js/api/component.js +1 -1
  55. package/src/js/api/computed.js +2 -2
  56. package/src/js/api/events.js +2 -2
  57. package/src/js/api/global.js +3 -3
  58. package/src/js/api/hooks.js +4 -4
  59. package/src/js/api/instance.js +3 -3
  60. package/src/js/api/log.js +1 -1
  61. package/src/js/api/observables.js +1 -1
  62. package/src/js/api/observer.js +2 -2
  63. package/src/js/api/options.js +2 -2
  64. package/src/js/api/props.js +2 -2
  65. package/src/js/api/state.js +2 -2
  66. package/src/js/components/countdown.js +1 -1
  67. package/src/js/components/filter.js +5 -5
  68. package/src/js/components/internal/lightbox-animations.js +1 -1
  69. package/src/js/components/internal/slider-transitioner.js +6 -6
  70. package/src/js/components/internal/slideshow-animations.js +1 -1
  71. package/src/js/components/lightbox-panel.js +10 -10
  72. package/src/js/components/lightbox.js +2 -2
  73. package/src/js/components/notification.js +4 -4
  74. package/src/js/components/parallax.js +3 -3
  75. package/src/js/components/slider-parallax.js +1 -1
  76. package/src/js/components/slider.js +12 -12
  77. package/src/js/components/slideshow.js +3 -3
  78. package/src/js/components/sortable.js +4 -4
  79. package/src/js/components/tooltip.js +6 -6
  80. package/src/js/components/upload.js +4 -4
  81. package/src/js/core/accordion.js +8 -8
  82. package/src/js/core/alert.js +2 -2
  83. package/src/js/core/cover.js +1 -1
  84. package/src/js/core/drop.js +12 -12
  85. package/src/js/core/dropnav.js +7 -7
  86. package/src/js/core/form-custom.js +1 -1
  87. package/src/js/core/grid.js +9 -9
  88. package/src/js/core/height-match.js +2 -2
  89. package/src/js/core/height-viewport.js +1 -1
  90. package/src/js/core/icon.js +23 -23
  91. package/src/js/core/img.js +2 -2
  92. package/src/js/core/index.js +16 -14
  93. package/src/js/core/leader.js +2 -2
  94. package/src/js/core/modal.js +7 -7
  95. package/src/js/core/navbar.js +4 -4
  96. package/src/js/core/offcanvas.js +3 -3
  97. package/src/js/core/overflow-auto.js +3 -3
  98. package/src/js/core/responsive.js +3 -3
  99. package/src/js/core/scrollspy-nav.js +1 -1
  100. package/src/js/core/scrollspy.js +1 -1
  101. package/src/js/core/sticky.js +12 -12
  102. package/src/js/core/svg.js +4 -4
  103. package/src/js/core/switcher.js +7 -7
  104. package/src/js/core/tab.js +2 -2
  105. package/src/js/core/toggle.js +5 -5
  106. package/src/js/core/video.js +1 -1
  107. package/src/js/mixin/animate.js +1 -1
  108. package/src/js/mixin/i18n.js +1 -1
  109. package/src/js/mixin/internal/animate-fade.js +14 -14
  110. package/src/js/mixin/internal/animate-slide.js +1 -1
  111. package/src/js/mixin/internal/scroll.js +1 -1
  112. package/src/js/mixin/modal.js +15 -12
  113. package/src/js/mixin/parallax.js +2 -2
  114. package/src/js/mixin/position.js +2 -2
  115. package/src/js/mixin/slider-drag.js +1 -1
  116. package/src/js/mixin/slider-nav.js +8 -9
  117. package/src/js/mixin/slider.js +9 -9
  118. package/src/js/mixin/slideshow.js +1 -1
  119. package/src/js/mixin/togglable.js +4 -4
  120. package/src/js/uikit-core.js +2 -2
  121. package/src/js/uikit.js +2 -2
  122. package/src/js/util/animation.js +8 -8
  123. package/src/js/util/class.js +1 -1
  124. package/src/js/util/dimensions.js +5 -5
  125. package/src/js/util/dom.js +3 -3
  126. package/src/js/util/event.js +3 -3
  127. package/src/js/util/filter.js +1 -1
  128. package/src/js/util/lang.js +4 -4
  129. package/src/js/util/observer.js +2 -2
  130. package/src/js/util/player.js +1 -1
  131. package/src/js/util/position.js +5 -5
  132. package/src/js/util/selector.js +1 -1
  133. package/src/js/util/style.js +1 -1
  134. package/src/js/util/svg.js +2 -2
  135. package/src/js/util/viewport.js +6 -6
  136. package/tests/js/index.js +7 -7
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.24-dev.d6158da87 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.25-dev.12f581d90 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -105,7 +105,7 @@
105
105
  return value === other || isObject(value) && isObject(other) && Object.keys(value).length === Object.keys(other).length && each(value, (val, key) => val === other[key]);
106
106
  }
107
107
  function swap(value, a, b) {
108
- return value.replace(new RegExp(`${a}|${b}`, "g"), (match) => match === a ? b : a);
108
+ return value.replace(new RegExp("".concat(a, "|").concat(b), "g"), (match) => match === a ? b : a);
109
109
  }
110
110
  function last(array) {
111
111
  return array[array.length - 1];
@@ -222,13 +222,55 @@
222
222
  toNodes(element).forEach((element2) => element2.removeAttribute(name));
223
223
  }
224
224
  function data(element, attribute) {
225
- for (const name of [attribute, `data-${attribute}`]) {
225
+ for (const name of [attribute, "data-".concat(attribute)]) {
226
226
  if (hasAttr(element, name)) {
227
227
  return attr(element, name);
228
228
  }
229
229
  }
230
230
  }
231
231
 
232
+ function addClass(element, ...args) {
233
+ apply$1(element, args, "add");
234
+ }
235
+ function removeClass(element, ...args) {
236
+ apply$1(element, args, "remove");
237
+ }
238
+ function removeClasses(element, cls) {
239
+ attr(
240
+ element,
241
+ "class",
242
+ (value) => (value || "").replace(new RegExp("\\b".concat(cls, "\\b\\s?"), "g"), "")
243
+ );
244
+ }
245
+ function replaceClass(element, ...args) {
246
+ args[0] && removeClass(element, args[0]);
247
+ args[1] && addClass(element, args[1]);
248
+ }
249
+ function hasClass(element, cls) {
250
+ [cls] = getClasses(cls);
251
+ return !!cls && toNodes(element).some((node) => node.classList.contains(cls));
252
+ }
253
+ function toggleClass(element, cls, force) {
254
+ const classes = getClasses(cls);
255
+ if (!isUndefined(force)) {
256
+ force = !!force;
257
+ }
258
+ for (const node of toNodes(element)) {
259
+ for (const cls2 of classes) {
260
+ node.classList.toggle(cls2, force);
261
+ }
262
+ }
263
+ }
264
+ function apply$1(element, args, fn) {
265
+ args = args.reduce((args2, arg) => args2.concat(getClasses(arg)), []);
266
+ for (const node of toNodes(element)) {
267
+ node.classList[fn](...args);
268
+ }
269
+ }
270
+ function getClasses(str) {
271
+ return String(str).split(/[ ,]/).filter(Boolean);
272
+ }
273
+
232
274
  const voidElements = {
233
275
  area: true,
234
276
  base: true,
@@ -258,7 +300,7 @@
258
300
  function isInput(element) {
259
301
  return toNodes(element).some((element2) => matches(element2, selInput));
260
302
  }
261
- const selFocusable = `${selInput},a[href],[tabindex]`;
303
+ const selFocusable = "".concat(selInput, ",a[href],[tabindex]");
262
304
  function isFocusable(element) {
263
305
  return matches(element, selFocusable);
264
306
  }
@@ -351,7 +393,7 @@
351
393
  sel = selectors.slice(1).join(" ");
352
394
  }
353
395
  if (ctx) {
354
- selector += `${selector ? "," : ""}${domPath(ctx)} ${sel}`;
396
+ selector += "".concat(selector ? "," : "").concat(domPath(ctx), " ").concat(sel);
355
397
  }
356
398
  }
357
399
  context = document;
@@ -371,12 +413,12 @@
371
413
  while (element.parentNode) {
372
414
  const id = attr(element, "id");
373
415
  if (id) {
374
- names.unshift(`#${escape(id)}`);
416
+ names.unshift("#".concat(escape(id)));
375
417
  break;
376
418
  } else {
377
419
  let { tagName } = element;
378
420
  if (tagName !== "HTML") {
379
- tagName += `:nth-child(${index(element) + 1})`;
421
+ tagName += ":nth-child(".concat(index(element) + 1, ")");
380
422
  }
381
423
  names.unshift(tagName);
382
424
  element = element.parentNode;
@@ -517,7 +559,7 @@
517
559
  } else {
518
560
  element2.style.setProperty(
519
561
  property,
520
- isNumeric(value) && !cssNumber[property] ? `${value}px` : value || isNumber(value) ? value : "",
562
+ isNumeric(value) && !cssNumber[property] ? "".concat(value, "px") : value || isNumber(value) ? value : "",
521
563
  priority
522
564
  );
523
565
  }
@@ -545,55 +587,13 @@
545
587
  return name;
546
588
  }
547
589
  for (const prefix of ["webkit", "moz"]) {
548
- const prefixedName = `-${prefix}-${name}`;
590
+ const prefixedName = "-".concat(prefix, "-").concat(name);
549
591
  if (prefixedName in style) {
550
592
  return prefixedName;
551
593
  }
552
594
  }
553
595
  }
554
596
 
555
- function addClass(element, ...args) {
556
- apply$1(element, args, "add");
557
- }
558
- function removeClass(element, ...args) {
559
- apply$1(element, args, "remove");
560
- }
561
- function removeClasses(element, cls) {
562
- attr(
563
- element,
564
- "class",
565
- (value) => (value || "").replace(new RegExp(`\\b${cls}\\b\\s?`, "g"), "")
566
- );
567
- }
568
- function replaceClass(element, ...args) {
569
- args[0] && removeClass(element, args[0]);
570
- args[1] && addClass(element, args[1]);
571
- }
572
- function hasClass(element, cls) {
573
- [cls] = getClasses(cls);
574
- return !!cls && toNodes(element).some((node) => node.classList.contains(cls));
575
- }
576
- function toggleClass(element, cls, force) {
577
- const classes = getClasses(cls);
578
- if (!isUndefined(force)) {
579
- force = !!force;
580
- }
581
- for (const node of toNodes(element)) {
582
- for (const cls2 of classes) {
583
- node.classList.toggle(cls2, force);
584
- }
585
- }
586
- }
587
- function apply$1(element, args, fn) {
588
- args = args.reduce((args2, arg) => args2.concat(getClasses(arg)), []);
589
- for (const node of toNodes(element)) {
590
- node.classList[fn](...args);
591
- }
592
- }
593
- function getClasses(str) {
594
- return String(str).split(/[ ,]/).filter(Boolean);
595
- }
596
-
597
597
  function transition$1(element, props, duration = 400, timing = "linear") {
598
598
  duration = Math.round(duration);
599
599
  return Promise.all(
@@ -624,7 +624,7 @@
624
624
  addClass(element2, "uk-transition");
625
625
  css(element2, {
626
626
  transitionProperty: Object.keys(props).map(propName).join(","),
627
- transitionDuration: `${duration}ms`,
627
+ transitionDuration: "".concat(duration, "ms"),
628
628
  transitionTimingFunction: timing,
629
629
  ...props
630
630
  });
@@ -660,21 +660,21 @@
660
660
  clearTimeout(timer);
661
661
  type === "animationcanceled" ? reject() : resolve(element2);
662
662
  css(element2, "animationDuration", "");
663
- removeClasses(element2, `${animationPrefix}\\S*`);
663
+ removeClasses(element2, "".concat(animationPrefix, "\\S*"));
664
664
  },
665
665
  { self: true }
666
666
  );
667
- css(element2, "animationDuration", `${duration}ms`);
667
+ css(element2, "animationDuration", "".concat(duration, "ms"));
668
668
  addClass(element2, animation, animationPrefix + (out ? "leave" : "enter"));
669
669
  if (startsWith(animation, animationPrefix)) {
670
- origin && addClass(element2, `uk-transform-origin-${origin}`);
671
- out && addClass(element2, `${animationPrefix}reverse`);
670
+ origin && addClass(element2, "uk-transform-origin-".concat(origin));
671
+ out && addClass(element2, "".concat(animationPrefix, "reverse"));
672
672
  }
673
673
  })
674
674
  )
675
675
  );
676
676
  }
677
- const inProgressRe = new RegExp(`${animationPrefix}(enter|leave)`);
677
+ const inProgressRe = new RegExp("".concat(animationPrefix, "(enter|leave)"));
678
678
  const Animation = {
679
679
  in: animate$2,
680
680
  out(element, animation, duration, origin) {
@@ -842,8 +842,8 @@
842
842
  element = toNode(element);
843
843
  const offset2 = [element.offsetTop, element.offsetLeft];
844
844
  while (element = element.offsetParent) {
845
- offset2[0] += element.offsetTop + toFloat(css(element, `borderTopWidth`));
846
- offset2[1] += element.offsetLeft + toFloat(css(element, `borderLeftWidth`));
845
+ offset2[0] += element.offsetTop + toFloat(css(element, "borderTopWidth"));
846
+ offset2[1] += element.offsetLeft + toFloat(css(element, "borderLeftWidth"));
847
847
  if (css(element, "position") === "fixed") {
848
848
  const win = toWindow(element);
849
849
  offset2[0] += win.scrollY;
@@ -860,15 +860,15 @@
860
860
  return (element, value) => {
861
861
  if (isUndefined(value)) {
862
862
  if (isWindow(element)) {
863
- return element[`inner${propName}`];
863
+ return element["inner".concat(propName)];
864
864
  }
865
865
  if (isDocument(element)) {
866
866
  const doc = element.documentElement;
867
- return Math.max(doc[`offset${propName}`], doc[`scroll${propName}`]);
867
+ return Math.max(doc["offset".concat(propName)], doc["scroll".concat(propName)]);
868
868
  }
869
869
  element = toNode(element);
870
870
  value = css(element, prop);
871
- value = value === "auto" ? element[`offset${propName}`] : toFloat(value) || 0;
871
+ value = value === "auto" ? element["offset".concat(propName)] : toFloat(value) || 0;
872
872
  return value - boxModelAdjust(element, prop);
873
873
  } else {
874
874
  return css(
@@ -882,7 +882,7 @@
882
882
  function boxModelAdjust(element, prop, sizing = "border-box") {
883
883
  return css(element, "boxSizing") === sizing ? sumBy(
884
884
  dirs$1[prop].map(ucfirst),
885
- (prop2) => toFloat(css(element, `padding${prop2}`)) + toFloat(css(element, `border${prop2}Width`))
885
+ (prop2) => toFloat(css(element, "padding".concat(prop2))) + toFloat(css(element, "border".concat(prop2, "Width")))
886
886
  ) : 0;
887
887
  }
888
888
  function flipPosition(pos) {
@@ -902,7 +902,7 @@
902
902
  return sumBy(parseCalc(value), (value2) => {
903
903
  const unit = parseUnit(value2);
904
904
  return unit ? percent(
905
- unit === "vh" ? getViewportHeight() : unit === "vw" ? width(toWindow(element)) : offsetDim ? element[`offset${ucfirst(property)}`] : dimensions(element)[property],
905
+ unit === "vh" ? getViewportHeight() : unit === "vw" ? width(toWindow(element)) : offsetDim ? element["offset".concat(ucfirst(property))] : dimensions(element)[property],
906
906
  value2
907
907
  ) : value2;
908
908
  });
@@ -1175,7 +1175,7 @@
1175
1175
  } catch (e) {
1176
1176
  }
1177
1177
  });
1178
- el.src = `${el.src}${includes(el.src, "?") ? "&" : "?"}${youtube ? "enablejsapi=1" : `api=1&player_id=${id}`}`;
1178
+ el.src = "".concat(el.src).concat(includes(el.src, "?") ? "&" : "?").concat(youtube ? "enablejsapi=1" : "api=1&player_id=".concat(id));
1179
1179
  }).then(() => clearInterval(poller));
1180
1180
  }
1181
1181
 
@@ -1300,10 +1300,10 @@
1300
1300
  if (isWindow(viewportElement)) {
1301
1301
  viewportElement = documentElement;
1302
1302
  } else {
1303
- rect[start] += toFloat(css(viewportElement, `border-${start}-width`));
1303
+ rect[start] += toFloat(css(viewportElement, "border-".concat(start, "-width")));
1304
1304
  }
1305
1305
  const subpixel = rect[prop] % 1;
1306
- rect[prop] = rect[dir] = viewportElement[`client${ucfirst(prop)}`] - (subpixel ? subpixel < 0.5 ? -subpixel : 1 - subpixel : 0);
1306
+ rect[prop] = rect[dir] = viewportElement["client".concat(ucfirst(prop))] - (subpixel ? subpixel < 0.5 ? -subpixel : 1 - subpixel : 0);
1307
1307
  rect[end] = rect[prop] + rect[start];
1308
1308
  }
1309
1309
  return rect;
@@ -1424,9 +1424,9 @@
1424
1424
  const [prop, axis, start, end] = dirs[i];
1425
1425
  const [scrollElement] = commonScrollParents(element, target);
1426
1426
  const viewport = offsetViewport(scrollElement);
1427
- if (["auto", "scroll"].includes(css(scrollElement, `overflow-${axis}`))) {
1428
- viewport[start] -= scrollElement[`scroll${ucfirst(start)}`];
1429
- viewport[end] = viewport[start] + scrollElement[`scroll${ucfirst(prop)}`];
1427
+ if (["auto", "scroll"].includes(css(scrollElement, "overflow-".concat(axis)))) {
1428
+ viewport[start] -= scrollElement["scroll".concat(ucfirst(start))];
1429
+ viewport[end] = viewport[start] + scrollElement["scroll".concat(ucfirst(prop))];
1430
1430
  }
1431
1431
  viewport[start] += viewportOffset;
1432
1432
  viewport[end] -= viewportOffset;
@@ -1636,30 +1636,6 @@
1636
1636
  wrapInner: wrapInner
1637
1637
  });
1638
1638
 
1639
- function initWatches(instance) {
1640
- instance._watches = [];
1641
- for (const watches of instance.$options.watch || []) {
1642
- for (const [name, watch] of Object.entries(watches)) {
1643
- registerWatch(instance, watch, name);
1644
- }
1645
- }
1646
- instance._initial = true;
1647
- }
1648
- function registerWatch(instance, watch, name) {
1649
- instance._watches.push({
1650
- name,
1651
- ...isPlainObject(watch) ? watch : { handler: watch }
1652
- });
1653
- }
1654
- function runWatches(instance, values) {
1655
- for (const { name, handler, immediate = true } of instance._watches) {
1656
- if (instance._initial && immediate || hasOwn(values, name) && !isEqual(values[name], instance[name])) {
1657
- handler.call(instance, instance[name], values[name]);
1658
- }
1659
- }
1660
- instance._initial = false;
1661
- }
1662
-
1663
1639
  function initUpdates(instance) {
1664
1640
  instance._data = {};
1665
1641
  instance._updates = [...instance.$options.update || []];
@@ -1710,6 +1686,30 @@
1710
1686
  }
1711
1687
  }
1712
1688
 
1689
+ function initWatches(instance) {
1690
+ instance._watches = [];
1691
+ for (const watches of instance.$options.watch || []) {
1692
+ for (const [name, watch] of Object.entries(watches)) {
1693
+ registerWatch(instance, watch, name);
1694
+ }
1695
+ }
1696
+ instance._initial = true;
1697
+ }
1698
+ function registerWatch(instance, watch, name) {
1699
+ instance._watches.push({
1700
+ name,
1701
+ ...isPlainObject(watch) ? watch : { handler: watch }
1702
+ });
1703
+ }
1704
+ function runWatches(instance, values) {
1705
+ for (const { name, handler, immediate = true } of instance._watches) {
1706
+ if (instance._initial && immediate || hasOwn(values, name) && !isEqual(values[name], instance[name])) {
1707
+ handler.call(instance, instance[name], values[name]);
1708
+ }
1709
+ }
1710
+ instance._initial = false;
1711
+ }
1712
+
1713
1713
  function initComputed(instance) {
1714
1714
  const { computed } = instance.$options;
1715
1715
  instance._computed = {};
@@ -1839,7 +1839,7 @@
1839
1839
  if (filter && !filter.call(instance, instance)) {
1840
1840
  return;
1841
1841
  }
1842
- const key = `_observe${instance._observers.length}`;
1842
+ const key = "_observe".concat(instance._observers.length);
1843
1843
  if (isFunction(target) && !hasOwn(instance, key)) {
1844
1844
  registerComputed(instance, key, () => target.call(instance, instance));
1845
1845
  }
@@ -2036,7 +2036,7 @@
2036
2036
  });
2037
2037
  observer.observe(el, {
2038
2038
  attributes: true,
2039
- attributeFilter: filter.concat(filter.map((key) => `data-${key}`))
2039
+ attributeFilter: filter.concat(filter.map((key) => "data-".concat(key)))
2040
2040
  });
2041
2041
  registerObserver(instance, observer);
2042
2042
  }
@@ -2128,7 +2128,7 @@
2128
2128
  };
2129
2129
  App.util = util;
2130
2130
  App.options = {};
2131
- App.version = "3.16.24-dev.d6158da87";
2131
+ App.version = "3.16.25-dev.12f581d90";
2132
2132
 
2133
2133
  const PREFIX = "uk-";
2134
2134
  const DATA = "__uikit__";
@@ -2149,7 +2149,7 @@
2149
2149
  opt.name = name;
2150
2150
  (_a = opt.install) == null ? void 0 : _a.call(opt, App, opt, name);
2151
2151
  if (App._initialized && !opt.functional) {
2152
- requestAnimationFrame(() => createComponent(name, `[${id}],[data-${id}]`));
2152
+ requestAnimationFrame(() => createComponent(name, "[".concat(id, "],[data-").concat(id, "]")));
2153
2153
  }
2154
2154
  return components$1[id] = opt;
2155
2155
  }
@@ -2188,6 +2188,78 @@
2188
2188
  }
2189
2189
  }
2190
2190
 
2191
+ function boot(App) {
2192
+ if (inBrowser && window.MutationObserver) {
2193
+ if (document.body) {
2194
+ requestAnimationFrame(() => init(App));
2195
+ } else {
2196
+ new MutationObserver((records, observer) => {
2197
+ if (document.body) {
2198
+ init(App);
2199
+ observer.disconnect();
2200
+ }
2201
+ }).observe(document.documentElement, { childList: true });
2202
+ }
2203
+ }
2204
+ }
2205
+ function init(App) {
2206
+ trigger(document, "uikit:init", App);
2207
+ if (document.body) {
2208
+ apply(document.body, connect);
2209
+ }
2210
+ new MutationObserver((records) => records.forEach(applyChildListMutation)).observe(document, {
2211
+ childList: true,
2212
+ subtree: true
2213
+ });
2214
+ new MutationObserver((records) => records.forEach(applyAttributeMutation)).observe(document, {
2215
+ attributes: true,
2216
+ subtree: true
2217
+ });
2218
+ App._initialized = true;
2219
+ }
2220
+ function applyChildListMutation({ addedNodes, removedNodes }) {
2221
+ for (const node of addedNodes) {
2222
+ apply(node, connect);
2223
+ }
2224
+ for (const node of removedNodes) {
2225
+ apply(node, disconnect);
2226
+ }
2227
+ }
2228
+ function applyAttributeMutation({ target, attributeName }) {
2229
+ var _a;
2230
+ const name = getComponentName(attributeName);
2231
+ if (name) {
2232
+ if (hasAttr(target, attributeName)) {
2233
+ createComponent(name, target);
2234
+ return;
2235
+ }
2236
+ (_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
2237
+ }
2238
+ }
2239
+ function connect(node) {
2240
+ const components2 = getComponents(node);
2241
+ for (const name in getComponents(node)) {
2242
+ callConnected(components2[name]);
2243
+ }
2244
+ for (const attributeName of node.getAttributeNames()) {
2245
+ const name = getComponentName(attributeName);
2246
+ name && createComponent(name, node);
2247
+ }
2248
+ }
2249
+ function disconnect(node) {
2250
+ const components2 = getComponents(node);
2251
+ for (const name in getComponents(node)) {
2252
+ callDisconnected(components2[name]);
2253
+ }
2254
+ }
2255
+ function getComponentName(attribute) {
2256
+ if (startsWith(attribute, "data-")) {
2257
+ attribute = attribute.slice(5);
2258
+ }
2259
+ const cmp = components$1[attribute];
2260
+ return cmp && (isPlainObject(cmp) ? cmp : cmp.options).name;
2261
+ }
2262
+
2191
2263
  function globalApi(App) {
2192
2264
  App.component = component;
2193
2265
  App.getComponents = getComponents;
@@ -2288,9 +2360,9 @@
2288
2360
  if (el.id) {
2289
2361
  return el.id;
2290
2362
  }
2291
- let id = `${instance.$options.id}-${instance._uid}${postfix}`;
2292
- if ($(`#${id}`)) {
2293
- id = generateId(instance, el, `${postfix}-2`);
2363
+ let id = "".concat(instance.$options.id, "-").concat(instance._uid).concat(postfix);
2364
+ if ($("#".concat(id))) {
2365
+ id = generateId(instance, el, "".concat(postfix, "-2"));
2294
2366
  }
2295
2367
  return id;
2296
2368
  }
@@ -2298,76 +2370,86 @@
2298
2370
  globalApi(App);
2299
2371
  instanceApi(App);
2300
2372
 
2301
- function boot(App) {
2302
- if (inBrowser && window.MutationObserver) {
2303
- if (document.body) {
2304
- requestAnimationFrame(() => init(App));
2305
- } else {
2306
- new MutationObserver((records, observer) => {
2307
- if (document.body) {
2308
- init(App);
2309
- observer.disconnect();
2310
- }
2311
- }).observe(document.documentElement, { childList: true });
2312
- }
2313
- }
2373
+ function resize(options) {
2374
+ return observe(observeResize, options, "resize");
2314
2375
  }
2315
- function init(App) {
2316
- trigger(document, "uikit:init", App);
2317
- if (document.body) {
2318
- apply(document.body, connect);
2319
- }
2320
- new MutationObserver((records) => records.forEach(applyChildListMutation)).observe(document, {
2321
- childList: true,
2322
- subtree: true
2323
- });
2324
- new MutationObserver((records) => records.forEach(applyAttributeMutation)).observe(document, {
2325
- attributes: true,
2326
- subtree: true
2376
+ function intersection(options) {
2377
+ return observe(observeIntersection, options);
2378
+ }
2379
+ function mutation(options) {
2380
+ return observe(observeMutation, options);
2381
+ }
2382
+ function lazyload(options = {}) {
2383
+ return intersection({
2384
+ handler: function(entries, observer) {
2385
+ const { targets = this.$el, preload = 5 } = options;
2386
+ for (const el of toNodes(isFunction(targets) ? targets(this) : targets)) {
2387
+ $$('[loading="lazy"]', el).slice(0, preload - 1).forEach((el2) => removeAttr(el2, "loading"));
2388
+ }
2389
+ for (const el of entries.filter(({ isIntersecting }) => isIntersecting).map(({ target }) => target)) {
2390
+ observer.unobserve(el);
2391
+ }
2392
+ },
2393
+ ...options
2327
2394
  });
2328
- App._initialized = true;
2329
2395
  }
2330
- function applyChildListMutation({ addedNodes, removedNodes }) {
2331
- for (const node of addedNodes) {
2332
- apply(node, connect);
2333
- }
2334
- for (const node of removedNodes) {
2335
- apply(node, disconnect);
2336
- }
2396
+ function viewport() {
2397
+ return observe((target, handler) => observeViewportResize(handler));
2337
2398
  }
2338
- function applyAttributeMutation({ target, attributeName }) {
2339
- var _a;
2340
- const name = getComponentName(attributeName);
2341
- if (name) {
2342
- if (hasAttr(target, attributeName)) {
2343
- createComponent(name, target);
2344
- return;
2345
- }
2346
- (_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
2347
- }
2399
+ function scroll$1(options) {
2400
+ return observe(
2401
+ (target, handler) => ({
2402
+ disconnect: on(target, "scroll", handler, {
2403
+ passive: true,
2404
+ capture: true
2405
+ })
2406
+ }),
2407
+ {
2408
+ target: () => document,
2409
+ ...options
2410
+ },
2411
+ "scroll"
2412
+ );
2348
2413
  }
2349
- function connect(node) {
2350
- const components2 = getComponents(node);
2351
- for (const name in getComponents(node)) {
2352
- callConnected(components2[name]);
2353
- }
2354
- for (const attributeName of node.getAttributeNames()) {
2355
- const name = getComponentName(attributeName);
2356
- name && createComponent(name, node);
2357
- }
2414
+ function swipe(options) {
2415
+ return {
2416
+ observe(target, handler) {
2417
+ return {
2418
+ observe: noop,
2419
+ unobserve: noop,
2420
+ disconnect: on(target, pointerDown, handler, { passive: true })
2421
+ };
2422
+ },
2423
+ handler(e) {
2424
+ if (!isTouch(e)) {
2425
+ return;
2426
+ }
2427
+ const pos = getEventPos(e);
2428
+ const target = "tagName" in e.target ? e.target : parent(e.target);
2429
+ once(document, "".concat(pointerUp, " ").concat(pointerCancel, " scroll"), (e2) => {
2430
+ const { x, y } = getEventPos(e2);
2431
+ if (e2.type !== "scroll" && target && x && Math.abs(pos.x - x) > 100 || y && Math.abs(pos.y - y) > 100) {
2432
+ setTimeout(() => {
2433
+ trigger(target, "swipe");
2434
+ trigger(target, "swipe".concat(swipeDirection(pos.x, pos.y, x, y)));
2435
+ });
2436
+ }
2437
+ });
2438
+ },
2439
+ ...options
2440
+ };
2358
2441
  }
2359
- function disconnect(node) {
2360
- const components2 = getComponents(node);
2361
- for (const name in getComponents(node)) {
2362
- callDisconnected(components2[name]);
2363
- }
2442
+ function observe(observe2, options, emit) {
2443
+ return {
2444
+ observe: observe2,
2445
+ handler() {
2446
+ this.$emit(emit);
2447
+ },
2448
+ ...options
2449
+ };
2364
2450
  }
2365
- function getComponentName(attribute) {
2366
- if (startsWith(attribute, "data-")) {
2367
- attribute = attribute.slice(5);
2368
- }
2369
- const cmp = components$1[attribute];
2370
- return cmp && (isPlainObject(cmp) ? cmp : cmp.options).name;
2451
+ function swipeDirection(x1, y1, x2, y2) {
2452
+ return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? x1 - x2 > 0 ? "Left" : "Right" : y1 - y2 > 0 ? "Up" : "Down";
2371
2453
  }
2372
2454
 
2373
2455
  var Class = {
@@ -2409,7 +2491,7 @@
2409
2491
  await Promise.all(
2410
2492
  toNodes(targets).map((el) => {
2411
2493
  const show = isBoolean(toggle) ? toggle : !this.isToggled(el);
2412
- if (!trigger(el, `before${show ? "show" : "hide"}`, [this])) {
2494
+ if (!trigger(el, "before".concat(show ? "show" : "hide"), [this])) {
2413
2495
  return Promise.reject();
2414
2496
  }
2415
2497
  const promise = (isFunction(animate) ? animate : animate === false || !this.hasAnimation ? toggleInstant : this.hasTransition ? toggleTransition : toggleAnimation)(el, show, this);
@@ -2471,8 +2553,8 @@
2471
2553
  const end = dir[1] === startProp;
2472
2554
  const props = ["width", "height"];
2473
2555
  const dimProp = props[dirs.indexOf(dir)];
2474
- const marginProp = `margin-${dir[0]}`;
2475
- const marginStartProp = `margin-${startProp}`;
2556
+ const marginProp = "margin-".concat(dir[0]);
2557
+ const marginStartProp = "margin-".concat(startProp);
2476
2558
  let currentDim = dimensions(el)[dimProp];
2477
2559
  const inProgress = Transition.inProgress(el);
2478
2560
  await Transition.cancel(el);
@@ -2534,126 +2616,44 @@
2534
2616
  css(el, marginProp, endDim - currentDim + currentMargin);
2535
2617
  endProps[marginProp] = show ? currentMargin : endDim + currentMargin;
2536
2618
  }
2537
- if (!end ^ mode === "reveal") {
2538
- css(wrapper, marginProp, -endDim + currentDim);
2539
- Transition.start(wrapper, { [marginProp]: show ? 0 : -endDim }, duration, transition);
2540
- }
2541
- try {
2542
- await Transition.start(el, endProps, duration, transition);
2543
- } finally {
2544
- css(el, prevProps);
2545
- unwrap(wrapper.firstChild);
2546
- if (!show) {
2547
- _toggle(el, false);
2548
- }
2549
- }
2550
- }
2551
- function toggleAnimation(el, show, cmp) {
2552
- Animation.cancel(el);
2553
- const { animation, duration, _toggle } = cmp;
2554
- if (show) {
2555
- _toggle(el, true);
2556
- return Animation.in(el, animation[0], duration, cmp.origin);
2557
- }
2558
- return Animation.out(el, animation[1] || animation[0], duration, cmp.origin).then(
2559
- () => _toggle(el, false)
2560
- );
2561
- }
2562
-
2563
- const keyMap = {
2564
- TAB: 9,
2565
- ESC: 27,
2566
- SPACE: 32,
2567
- END: 35,
2568
- HOME: 36,
2569
- LEFT: 37,
2570
- UP: 38,
2571
- RIGHT: 39,
2572
- DOWN: 40
2573
- };
2574
-
2575
- function resize(options) {
2576
- return observe(observeResize, options, "resize");
2577
- }
2578
- function intersection(options) {
2579
- return observe(observeIntersection, options);
2580
- }
2581
- function mutation(options) {
2582
- return observe(observeMutation, options);
2583
- }
2584
- function lazyload(options = {}) {
2585
- return intersection({
2586
- handler: function(entries, observer) {
2587
- const { targets = this.$el, preload = 5 } = options;
2588
- for (const el of toNodes(isFunction(targets) ? targets(this) : targets)) {
2589
- $$('[loading="lazy"]', el).slice(0, preload - 1).forEach((el2) => removeAttr(el2, "loading"));
2590
- }
2591
- for (const el of entries.filter(({ isIntersecting }) => isIntersecting).map(({ target }) => target)) {
2592
- observer.unobserve(el);
2593
- }
2594
- },
2595
- ...options
2596
- });
2597
- }
2598
- function viewport() {
2599
- return observe((target, handler) => observeViewportResize(handler));
2600
- }
2601
- function scroll$1(options) {
2602
- return observe(
2603
- (target, handler) => ({
2604
- disconnect: on(target, "scroll", handler, {
2605
- passive: true,
2606
- capture: true
2607
- })
2608
- }),
2609
- {
2610
- target: () => document,
2611
- ...options
2612
- },
2613
- "scroll"
2614
- );
2615
- }
2616
- function swipe(options) {
2617
- return {
2618
- observe(target, handler) {
2619
- return {
2620
- observe: noop,
2621
- unobserve: noop,
2622
- disconnect: on(target, pointerDown, handler, { passive: true })
2623
- };
2624
- },
2625
- handler(e) {
2626
- if (!isTouch(e)) {
2627
- return;
2628
- }
2629
- const pos = getEventPos(e);
2630
- const target = "tagName" in e.target ? e.target : parent(e.target);
2631
- once(document, `${pointerUp} ${pointerCancel} scroll`, (e2) => {
2632
- const { x, y } = getEventPos(e2);
2633
- if (e2.type !== "scroll" && target && x && Math.abs(pos.x - x) > 100 || y && Math.abs(pos.y - y) > 100) {
2634
- setTimeout(() => {
2635
- trigger(target, "swipe");
2636
- trigger(target, `swipe${swipeDirection(pos.x, pos.y, x, y)}`);
2637
- });
2638
- }
2639
- });
2640
- },
2641
- ...options
2642
- };
2643
- }
2644
- function observe(observe2, options, emit) {
2645
- return {
2646
- observe: observe2,
2647
- handler() {
2648
- this.$emit(emit);
2649
- },
2650
- ...options
2651
- };
2619
+ if (!end ^ mode === "reveal") {
2620
+ css(wrapper, marginProp, -endDim + currentDim);
2621
+ Transition.start(wrapper, { [marginProp]: show ? 0 : -endDim }, duration, transition);
2622
+ }
2623
+ try {
2624
+ await Transition.start(el, endProps, duration, transition);
2625
+ } finally {
2626
+ css(el, prevProps);
2627
+ unwrap(wrapper.firstChild);
2628
+ if (!show) {
2629
+ _toggle(el, false);
2630
+ }
2631
+ }
2652
2632
  }
2653
- function swipeDirection(x1, y1, x2, y2) {
2654
- return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? x1 - x2 > 0 ? "Left" : "Right" : y1 - y2 > 0 ? "Up" : "Down";
2633
+ function toggleAnimation(el, show, cmp) {
2634
+ Animation.cancel(el);
2635
+ const { animation, duration, _toggle } = cmp;
2636
+ if (show) {
2637
+ _toggle(el, true);
2638
+ return Animation.in(el, animation[0], duration, cmp.origin);
2639
+ }
2640
+ return Animation.out(el, animation[1] || animation[0], duration, cmp.origin).then(
2641
+ () => _toggle(el, false)
2642
+ );
2655
2643
  }
2656
2644
 
2645
+ const keyMap = {
2646
+ TAB: 9,
2647
+ ESC: 27,
2648
+ SPACE: 32,
2649
+ END: 35,
2650
+ HOME: 36,
2651
+ LEFT: 37,
2652
+ UP: 38,
2653
+ RIGHT: 39,
2654
+ DOWN: 40
2655
+ };
2656
+
2657
2657
  var Accordion = {
2658
2658
  mixins: [Class, Togglable],
2659
2659
  props: {
@@ -2720,7 +2720,7 @@
2720
2720
  {
2721
2721
  name: "click keydown",
2722
2722
  delegate() {
2723
- return `${this.targets} ${this.$props.toggle}`;
2723
+ return "".concat(this.targets, " ").concat(this.$props.toggle);
2724
2724
  },
2725
2725
  async handler(e) {
2726
2726
  var _a;
@@ -2746,15 +2746,15 @@
2746
2746
  }
2747
2747
  ],
2748
2748
  update() {
2749
- const activeItems = filter(this.items, `.${this.clsOpen}`);
2749
+ const activeItems = filter(this.items, ".".concat(this.clsOpen));
2750
2750
  for (const index2 in this.items) {
2751
2751
  const toggle = this.toggles[index2];
2752
2752
  const content = this.contents[index2];
2753
2753
  if (!toggle || !content) {
2754
2754
  continue;
2755
2755
  }
2756
- toggle.id = generateId(this, toggle, `-title-${index2}`);
2757
- content.id = generateId(this, content, `-content-${index2}`);
2756
+ toggle.id = generateId(this, toggle, "-title-".concat(index2));
2757
+ content.id = generateId(this, content, "-content-".concat(index2));
2758
2758
  const active = includes(activeItems, this.items[index2]);
2759
2759
  attr(toggle, {
2760
2760
  role: isTag(toggle, "a") ? "button" : null,
@@ -2772,7 +2772,7 @@
2772
2772
  toggle(item, animate) {
2773
2773
  item = this.items[getIndex(item, this.items)];
2774
2774
  let items = [item];
2775
- const activeItems = filter(this.items, `.${this.clsOpen}`);
2775
+ const activeItems = filter(this.items, ".".concat(this.clsOpen));
2776
2776
  if (!this.multiple && !includes(activeItems, items[0])) {
2777
2777
  items = items.concat(activeItems);
2778
2778
  }
@@ -2987,6 +2987,53 @@
2987
2987
  }
2988
2988
  }
2989
2989
 
2990
+ var Container = {
2991
+ props: {
2992
+ container: Boolean
2993
+ },
2994
+ data: {
2995
+ container: true
2996
+ },
2997
+ computed: {
2998
+ container({ container }) {
2999
+ return container === true && this.$container || container && $(container);
3000
+ }
3001
+ }
3002
+ };
3003
+
3004
+ let prevented;
3005
+ function preventBackgroundScroll(el) {
3006
+ const off = on(
3007
+ el,
3008
+ "touchmove",
3009
+ (e) => {
3010
+ if (e.targetTouches.length !== 1 || matches(e.target, 'input[type="range"')) {
3011
+ return;
3012
+ }
3013
+ let { scrollHeight, clientHeight } = scrollParent(e.target);
3014
+ if (clientHeight >= scrollHeight && e.cancelable) {
3015
+ e.preventDefault();
3016
+ }
3017
+ },
3018
+ { passive: false }
3019
+ );
3020
+ if (prevented) {
3021
+ return off;
3022
+ }
3023
+ prevented = true;
3024
+ const { scrollingElement } = document;
3025
+ css(scrollingElement, {
3026
+ overflowY: CSS.supports("overflow", "clip") ? "clip" : "hidden",
3027
+ touchAction: "none",
3028
+ paddingRight: width(window) - scrollingElement.clientWidth || ""
3029
+ });
3030
+ return () => {
3031
+ prevented = false;
3032
+ off();
3033
+ css(scrollingElement, { overflowY: "", touchAction: "", paddingRight: "" });
3034
+ };
3035
+ }
3036
+
2990
3037
  var Position = {
2991
3038
  props: {
2992
3039
  pos: String,
@@ -2996,7 +3043,7 @@
2996
3043
  inset: Boolean
2997
3044
  },
2998
3045
  data: {
2999
- pos: `bottom-${isRtl ? "right" : "left"}`,
3046
+ pos: "bottom-".concat(isRtl ? "right" : "left"),
3000
3047
  offset: false,
3001
3048
  flip: true,
3002
3049
  shift: true,
@@ -3063,53 +3110,6 @@
3063
3110
  };
3064
3111
  }
3065
3112
 
3066
- var Container = {
3067
- props: {
3068
- container: Boolean
3069
- },
3070
- data: {
3071
- container: true
3072
- },
3073
- computed: {
3074
- container({ container }) {
3075
- return container === true && this.$container || container && $(container);
3076
- }
3077
- }
3078
- };
3079
-
3080
- let prevented;
3081
- function preventBackgroundScroll(el) {
3082
- const off = on(
3083
- el,
3084
- "touchmove",
3085
- (e) => {
3086
- if (e.targetTouches.length !== 1 || matches(e.target, 'input[type="range"')) {
3087
- return;
3088
- }
3089
- let { scrollHeight, clientHeight } = scrollParent(e.target);
3090
- if (clientHeight >= scrollHeight && e.cancelable) {
3091
- e.preventDefault();
3092
- }
3093
- },
3094
- { passive: false }
3095
- );
3096
- if (prevented) {
3097
- return off;
3098
- }
3099
- prevented = true;
3100
- const { scrollingElement } = document;
3101
- css(scrollingElement, {
3102
- overflowY: CSS.supports("overflow", "clip") ? "clip" : "hidden",
3103
- touchAction: "none",
3104
- paddingRight: width(window) - scrollingElement.clientWidth || ""
3105
- });
3106
- return () => {
3107
- prevented = false;
3108
- off();
3109
- css(scrollingElement, { overflowY: "", touchAction: "", paddingRight: "" });
3110
- };
3111
- }
3112
-
3113
3113
  let active$1;
3114
3114
  var drop = {
3115
3115
  mixins: [Container, Position, Togglable],
@@ -3171,7 +3171,7 @@
3171
3171
  this.tracker = new MouseTracker();
3172
3172
  },
3173
3173
  beforeConnect() {
3174
- this.clsDrop = this.$props.clsDrop || `uk-${this.$options.name}`;
3174
+ this.clsDrop = this.$props.clsDrop || "uk-".concat(this.$options.name);
3175
3175
  },
3176
3176
  connected() {
3177
3177
  addClass(this.$el, "uk-drop", this.clsDrop);
@@ -3251,7 +3251,7 @@
3251
3251
  }
3252
3252
  },
3253
3253
  {
3254
- name: `${pointerEnter} focusin`,
3254
+ name: "".concat(pointerEnter, " focusin"),
3255
3255
  filter() {
3256
3256
  return includes(this.mode, "hover");
3257
3257
  },
@@ -3262,7 +3262,7 @@
3262
3262
  }
3263
3263
  },
3264
3264
  {
3265
- name: `${pointerLeave} focusout`,
3265
+ name: "".concat(pointerLeave, " focusout"),
3266
3266
  filter() {
3267
3267
  return includes(this.mode, "hover");
3268
3268
  },
@@ -3398,7 +3398,7 @@
3398
3398
  offset(this.boundary[i])[prop],
3399
3399
  viewports[i][prop] - 2 * viewportOffset
3400
3400
  ),
3401
- [`overflow-${axis}`]: "auto"
3401
+ ["overflow-".concat(axis)]: "auto"
3402
3402
  });
3403
3403
  }
3404
3404
  }
@@ -3423,7 +3423,7 @@
3423
3423
  offset(this.boundary[i])[end],
3424
3424
  viewports[i][end] - viewportOffset
3425
3425
  ) - targetOffset[this.inset ? start : end]) - positionOffset,
3426
- [`overflow-${axis}`]: "auto"
3426
+ ["overflow-".concat(axis)]: "auto"
3427
3427
  });
3428
3428
  this.positionAt(this.$el, this.target, this.boundary);
3429
3429
  }
@@ -3472,7 +3472,7 @@
3472
3472
  if (!within(target, drop.$el)) {
3473
3473
  once(
3474
3474
  document,
3475
- `${pointerUp} ${pointerCancel} scroll`,
3475
+ "".concat(pointerUp, " ").concat(pointerCancel, " scroll"),
3476
3476
  ({ defaultPrevented, type, target: newTarget }) => {
3477
3477
  if (!defaultPrevented && type === pointerUp && target === newTarget && !(drop.targetEl && within(target, drop.targetEl))) {
3478
3478
  drop.hide(false);
@@ -3523,7 +3523,7 @@
3523
3523
  if (!dropbar) {
3524
3524
  return null;
3525
3525
  }
3526
- dropbar = this._dropbar || query(dropbar, this.$el) || $(`+ .${this.clsDropbar}`, this.$el);
3526
+ dropbar = this._dropbar || query(dropbar, this.$el) || $("+ .".concat(this.clsDropbar), this.$el);
3527
3527
  return dropbar ? dropbar : this._dropbar = $("<div></div>");
3528
3528
  },
3529
3529
  dropContainer(_, $el) {
@@ -3531,9 +3531,9 @@
3531
3531
  },
3532
3532
  dropdowns({ clsDrop }, $el) {
3533
3533
  var _a;
3534
- const dropdowns = $$(`.${clsDrop}`, $el);
3534
+ const dropdowns = $$(".".concat(clsDrop), $el);
3535
3535
  if (this.dropContainer !== $el) {
3536
- for (const el of $$(`.${clsDrop}`, this.dropContainer)) {
3536
+ for (const el of $$(".".concat(clsDrop), this.dropContainer)) {
3537
3537
  const target = (_a = this.getDropdown(el)) == null ? void 0 : _a.targetEl;
3538
3538
  if (!includes(dropdowns, el) && target && within(target, this.$el)) {
3539
3539
  dropdowns.push(el);
@@ -3553,7 +3553,7 @@
3553
3553
  "uk-dropbar",
3554
3554
  "uk-dropbar-top",
3555
3555
  this.clsDropbar,
3556
- `uk-${this.$options.name}-dropbar`
3556
+ "uk-".concat(this.$options.name, "-dropbar")
3557
3557
  );
3558
3558
  },
3559
3559
  dropdowns() {
@@ -3603,7 +3603,7 @@
3603
3603
  return this.dropContainer;
3604
3604
  },
3605
3605
  delegate() {
3606
- return `.${this.clsDrop}`;
3606
+ return ".".concat(this.clsDrop);
3607
3607
  },
3608
3608
  handler(e) {
3609
3609
  var _a;
@@ -3666,7 +3666,7 @@
3666
3666
  if (this.dropbar.previousElementSibling !== this.dropbarAnchor) {
3667
3667
  after(this.dropbarAnchor, this.dropbar);
3668
3668
  }
3669
- addClass(target, `${this.clsDrop}-dropbar`);
3669
+ addClass(target, "".concat(this.clsDrop, "-dropbar"));
3670
3670
  }
3671
3671
  },
3672
3672
  {
@@ -3683,7 +3683,7 @@
3683
3683
  }
3684
3684
  const drop = this.getDropdown(target);
3685
3685
  const adjustHeight = () => {
3686
- const targetOffsets = parents(target, `.${this.clsDrop}`).concat(target).map((el) => offset(el));
3686
+ const targetOffsets = parents(target, ".".concat(this.clsDrop)).concat(target).map((el) => offset(el));
3687
3687
  const minTop = Math.min(...targetOffsets.map(({ top }) => top));
3688
3688
  const maxBottom = Math.max(...targetOffsets.map(({ bottom }) => bottom));
3689
3689
  const dropbarOffset = offset(this.dropbar);
@@ -3743,14 +3743,14 @@
3743
3743
  const oldHeight = height(dropbar);
3744
3744
  el = oldHeight < newHeight && el;
3745
3745
  await Transition.cancel([el, dropbar]);
3746
- css(el, "clipPath", `polygon(0 0,100% 0,100% ${oldHeight}px,0 ${oldHeight}px)`);
3746
+ css(el, "clipPath", "polygon(0 0,100% 0,100% ".concat(oldHeight, "px,0 ").concat(oldHeight, "px)"));
3747
3747
  height(dropbar, oldHeight);
3748
3748
  await Promise.all([
3749
3749
  Transition.start(dropbar, { height: newHeight }, this.duration),
3750
3750
  Transition.start(
3751
3751
  el,
3752
3752
  {
3753
- clipPath: `polygon(0 0,100% 0,100% ${newHeight}px,0 ${newHeight}px)`
3753
+ clipPath: "polygon(0 0,100% 0,100% ".concat(newHeight, "px,0 ").concat(newHeight, "px)")
3754
3754
  },
3755
3755
  this.duration
3756
3756
  ).finally(() => css(el, { clipPath: "" }))
@@ -3770,7 +3770,7 @@
3770
3770
  ...this.$props,
3771
3771
  flip: false,
3772
3772
  shift: true,
3773
- pos: `bottom-${this.align}`,
3773
+ pos: "bottom-".concat(this.align),
3774
3774
  boundary: this.boundary === true ? this.$el : this.boundary
3775
3775
  }
3776
3776
  );
@@ -4032,7 +4032,7 @@
4032
4032
  (el, j) => css(
4033
4033
  el,
4034
4034
  "transform",
4035
- !scrolled && !translates ? "" : `translateY(${(translates && -translates[i][j]) + (scrolled ? i % 2 ? scrolled : scrolled / 8 : 0)}px)`
4035
+ !scrolled && !translates ? "" : "translateY(".concat((translates && -translates[i][j]) + (scrolled ? i % 2 ? scrolled : scrolled / 8 : 0), "px)")
4036
4036
  )
4037
4037
  )
4038
4038
  );
@@ -4142,38 +4142,97 @@
4142
4142
  scrollElement === body ? scrollingElement : scrollElement
4143
4143
  );
4144
4144
  if (this.expand) {
4145
- minHeight = `${viewportHeight - (dimensions(scrollElement).height - dimensions(this.$el).height) - box}px`;
4145
+ minHeight = "".concat(viewportHeight - (dimensions(scrollElement).height - dimensions(this.$el).height) - box, "px");
4146
4146
  } else {
4147
4147
  const isScrollingElement = scrollingElement === scrollElement || body === scrollElement;
4148
- minHeight = `calc(${isScrollingElement ? "100vh" : `${viewportHeight}px`}`;
4148
+ minHeight = "calc(".concat(isScrollingElement ? "100vh" : "".concat(viewportHeight, "px"));
4149
4149
  if (this.offsetTop) {
4150
4150
  if (isScrollingElement) {
4151
4151
  const top = offsetPosition(this.$el)[0] - offsetPosition(scrollElement)[0];
4152
- minHeight += top > 0 && top < viewportHeight / 2 ? ` - ${top}px` : "";
4152
+ minHeight += top > 0 && top < viewportHeight / 2 ? " - ".concat(top, "px") : "";
4153
4153
  } else {
4154
- minHeight += ` - ${css(scrollElement, "paddingTop")}`;
4154
+ minHeight += " - ".concat(css(scrollElement, "paddingTop"));
4155
4155
  }
4156
4156
  }
4157
4157
  if (this.offsetBottom === true) {
4158
- minHeight += ` - ${dimensions(this.$el.nextElementSibling).height}px`;
4158
+ minHeight += " - ".concat(dimensions(this.$el.nextElementSibling).height, "px");
4159
4159
  } else if (isNumeric(this.offsetBottom)) {
4160
- minHeight += ` - ${this.offsetBottom}vh`;
4160
+ minHeight += " - ".concat(this.offsetBottom, "vh");
4161
4161
  } else if (this.offsetBottom && endsWith(this.offsetBottom, "px")) {
4162
- minHeight += ` - ${toFloat(this.offsetBottom)}px`;
4162
+ minHeight += " - ".concat(toFloat(this.offsetBottom), "px");
4163
4163
  } else if (isString(this.offsetBottom)) {
4164
- minHeight += ` - ${dimensions(query(this.offsetBottom, this.$el)).height}px`;
4164
+ minHeight += " - ".concat(dimensions(query(this.offsetBottom, this.$el)).height, "px");
4165
4165
  }
4166
- minHeight += `${box ? ` - ${box}px` : ""})`;
4166
+ minHeight += "".concat(box ? " - ".concat(box, "px") : "", ")");
4167
4167
  }
4168
4168
  return { minHeight };
4169
4169
  },
4170
4170
  write({ minHeight }) {
4171
- css(this.$el, "minHeight", `max(${this.minHeight || 0}px, ${minHeight})`);
4171
+ css(this.$el, "minHeight", "max(".concat(this.minHeight || 0, "px, ").concat(minHeight, ")"));
4172
4172
  },
4173
4173
  events: ["resize"]
4174
4174
  }
4175
4175
  };
4176
4176
 
4177
+ var closeIcon = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"1\" y1=\"1\" x2=\"13\" y2=\"13\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13\" y1=\"1\" x2=\"1\" y2=\"13\"/></svg>";
4178
+
4179
+ var closeLarge = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" x1=\"1\" y1=\"1\" x2=\"19\" y2=\"19\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" x1=\"19\" y1=\"1\" x2=\"1\" y2=\"19\"/></svg>";
4180
+
4181
+ var dropParentIcon = "<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
4182
+
4183
+ var marker = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><rect x=\"9\" y=\"4\" width=\"1\" height=\"11\"/><rect x=\"4\" y=\"9\" width=\"11\" height=\"1\"/></svg>";
4184
+
4185
+ var navParentIconLarge = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 4 7 10 13 4\"/></svg>";
4186
+
4187
+ var navParentIcon = "<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
4188
+
4189
+ var navbarParentIcon = "<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
4190
+
4191
+ var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><style>.uk-navbar-toggle-animate svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg&gt;.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class=\"line-1\" y=\"3\" width=\"20\" height=\"2\"/><rect class=\"line-2\" y=\"9\" width=\"20\" height=\"2\"/><rect class=\"line-3\" y=\"9\" width=\"20\" height=\"2\"/><rect class=\"line-4\" y=\"15\" width=\"20\" height=\"2\"/></svg>";
4192
+
4193
+ var overlayIcon = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\"><rect x=\"19\" y=\"0\" width=\"1\" height=\"40\"/><rect x=\"0\" y=\"19\" width=\"40\" height=\"1\"/></svg>";
4194
+
4195
+ var paginationNext = "<svg width=\"7\" height=\"12\" viewBox=\"0 0 7 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"1 1 6 6 1 11\"/></svg>";
4196
+
4197
+ var paginationPrevious = "<svg width=\"7\" height=\"12\" viewBox=\"0 0 7 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"6 1 1 6 6 11\"/></svg>";
4198
+
4199
+ var searchIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9\" cy=\"9\" r=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M14,14 L18,18 L14,14 Z\"/></svg>";
4200
+
4201
+ var searchLarge = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.8\" cx=\"17.5\" cy=\"17.5\" r=\"16.5\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.8\" x1=\"38\" y1=\"39\" x2=\"29\" y2=\"30\"/></svg>";
4202
+
4203
+ var searchNavbar = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10.5\" cy=\"10.5\" r=\"9.5\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"23\" y1=\"23\" x2=\"17\" y2=\"17\"/></svg>";
4204
+
4205
+ var slidenavNextLarge = "<svg width=\"25\" height=\"40\" viewBox=\"0 0 25 40\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"2\" points=\"4.002,38.547 22.527,20.024 4,1.5\"/></svg>";
4206
+
4207
+ var slidenavNext = "<svg width=\"14\" height=\"24\" viewBox=\"0 0 14 24\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" points=\"1.225,23 12.775,12 1.225,1\"/></svg>";
4208
+
4209
+ var slidenavPreviousLarge = "<svg width=\"25\" height=\"40\" viewBox=\"0 0 25 40\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"2\" points=\"20.527,1.5 2,20.024 20.525,38.547\"/></svg>";
4210
+
4211
+ var slidenavPrevious = "<svg width=\"14\" height=\"24\" viewBox=\"0 0 14 24\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" points=\"12.775,1 1.225,12 12.775,23\"/></svg>";
4212
+
4213
+ var spinner = "<svg width=\"30\" height=\"30\" viewBox=\"0 0 30 30\"><circle fill=\"none\" stroke=\"#000\" cx=\"15\" cy=\"15\" r=\"14\"/></svg>";
4214
+
4215
+ var totop = "<svg width=\"18\" height=\"10\" viewBox=\"0 0 18 10\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"1 9 9 1 17 9\"/></svg>";
4216
+
4217
+ var I18n = {
4218
+ props: {
4219
+ i18n: Object
4220
+ },
4221
+ data: {
4222
+ i18n: null
4223
+ },
4224
+ methods: {
4225
+ t(key, ...params) {
4226
+ var _a, _b, _c;
4227
+ let i = 0;
4228
+ return ((_c = ((_a = this.i18n) == null ? void 0 : _a[key]) || ((_b = this.$options.i18n) == null ? void 0 : _b[key])) == null ? void 0 : _c.replace(
4229
+ /%s/g,
4230
+ () => params[i++] || ""
4231
+ )) || "";
4232
+ }
4233
+ }
4234
+ };
4235
+
4177
4236
  var Svg = {
4178
4237
  args: "src",
4179
4238
  props: {
@@ -4240,65 +4299,6 @@
4240
4299
  dimensions.forEach((val, i) => attr(el, props[i], toFloat(val) * this.ratio || null));
4241
4300
  }
4242
4301
 
4243
- var I18n = {
4244
- props: {
4245
- i18n: Object
4246
- },
4247
- data: {
4248
- i18n: null
4249
- },
4250
- methods: {
4251
- t(key, ...params) {
4252
- var _a, _b, _c;
4253
- let i = 0;
4254
- return ((_c = ((_a = this.i18n) == null ? void 0 : _a[key]) || ((_b = this.$options.i18n) == null ? void 0 : _b[key])) == null ? void 0 : _c.replace(
4255
- /%s/g,
4256
- () => params[i++] || ""
4257
- )) || "";
4258
- }
4259
- }
4260
- };
4261
-
4262
- var closeIcon = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"1\" y1=\"1\" x2=\"13\" y2=\"13\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"13\" y1=\"1\" x2=\"1\" y2=\"13\"/></svg>";
4263
-
4264
- var closeLarge = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" x1=\"1\" y1=\"1\" x2=\"19\" y2=\"19\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" x1=\"19\" y1=\"1\" x2=\"1\" y2=\"19\"/></svg>";
4265
-
4266
- var dropParentIcon = "<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
4267
-
4268
- var marker = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><rect x=\"9\" y=\"4\" width=\"1\" height=\"11\"/><rect x=\"4\" y=\"9\" width=\"11\" height=\"1\"/></svg>";
4269
-
4270
- var navParentIcon = "<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
4271
-
4272
- var navParentIconLarge = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 4 7 10 13 4\"/></svg>";
4273
-
4274
- var navbarParentIcon = "<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
4275
-
4276
- var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><style>.uk-navbar-toggle-animate svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.uk-navbar-toggle svg&gt;.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class=\"line-1\" y=\"3\" width=\"20\" height=\"2\"/><rect class=\"line-2\" y=\"9\" width=\"20\" height=\"2\"/><rect class=\"line-3\" y=\"9\" width=\"20\" height=\"2\"/><rect class=\"line-4\" y=\"15\" width=\"20\" height=\"2\"/></svg>";
4277
-
4278
- var overlayIcon = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\"><rect x=\"19\" y=\"0\" width=\"1\" height=\"40\"/><rect x=\"0\" y=\"19\" width=\"40\" height=\"1\"/></svg>";
4279
-
4280
- var paginationNext = "<svg width=\"7\" height=\"12\" viewBox=\"0 0 7 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"1 1 6 6 1 11\"/></svg>";
4281
-
4282
- var paginationPrevious = "<svg width=\"7\" height=\"12\" viewBox=\"0 0 7 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"6 1 1 6 6 11\"/></svg>";
4283
-
4284
- var searchIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"9\" cy=\"9\" r=\"7\"/><path fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" d=\"M14,14 L18,18 L14,14 Z\"/></svg>";
4285
-
4286
- var searchLarge = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.8\" cx=\"17.5\" cy=\"17.5\" r=\"16.5\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.8\" x1=\"38\" y1=\"39\" x2=\"29\" y2=\"30\"/></svg>";
4287
-
4288
- var searchNavbar = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><circle fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" cx=\"10.5\" cy=\"10.5\" r=\"9.5\"/><line fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" x1=\"23\" y1=\"23\" x2=\"17\" y2=\"17\"/></svg>";
4289
-
4290
- var slidenavNext = "<svg width=\"14\" height=\"24\" viewBox=\"0 0 14 24\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" points=\"1.225,23 12.775,12 1.225,1\"/></svg>";
4291
-
4292
- var slidenavNextLarge = "<svg width=\"25\" height=\"40\" viewBox=\"0 0 25 40\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"2\" points=\"4.002,38.547 22.527,20.024 4,1.5\"/></svg>";
4293
-
4294
- var slidenavPrevious = "<svg width=\"14\" height=\"24\" viewBox=\"0 0 14 24\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.4\" points=\"12.775,1 1.225,12 12.775,23\"/></svg>";
4295
-
4296
- var slidenavPreviousLarge = "<svg width=\"25\" height=\"40\" viewBox=\"0 0 25 40\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"2\" points=\"20.527,1.5 2,20.024 20.525,38.547\"/></svg>";
4297
-
4298
- var spinner = "<svg width=\"30\" height=\"30\" viewBox=\"0 0 30 30\"><circle fill=\"none\" stroke=\"#000\" cx=\"15\" cy=\"15\" r=\"14\"/></svg>";
4299
-
4300
- var totop = "<svg width=\"18\" height=\"10\" viewBox=\"0 0 18 10\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.2\" points=\"1 9 9 1 17 9\"/></svg>";
4301
-
4302
4302
  const icons = {
4303
4303
  spinner,
4304
4304
  totop,
@@ -4354,7 +4354,7 @@
4354
4354
  extends: IconComponent,
4355
4355
  beforeConnect() {
4356
4356
  const icon = this.$props.icon;
4357
- this.icon = closest(this.$el, ".uk-nav-primary") ? `${icon}-large` : icon;
4357
+ this.icon = closest(this.$el, ".uk-nav-primary") ? "".concat(icon, "-large") : icon;
4358
4358
  }
4359
4359
  };
4360
4360
  const Search = {
@@ -4410,7 +4410,7 @@
4410
4410
  beforeConnect() {
4411
4411
  addClass(this.$el, "uk-slidenav");
4412
4412
  const icon = this.$props.icon;
4413
- this.icon = hasClass(this.$el, "uk-slidenav-large") ? `${icon}-large` : icon;
4413
+ this.icon = hasClass(this.$el, "uk-slidenav-large") ? "".concat(icon, "-large") : icon;
4414
4414
  }
4415
4415
  };
4416
4416
  const NavbarToggleIcon = {
@@ -4421,7 +4421,7 @@
4421
4421
  extends: ButtonComponent,
4422
4422
  i18n: { label: "Close" },
4423
4423
  beforeConnect() {
4424
- this.icon = `close-${hasClass(this.$el, "uk-close-large") ? "large" : "icon"}`;
4424
+ this.icon = "close-".concat(hasClass(this.$el, "uk-close-large") ? "large" : "icon");
4425
4425
  }
4426
4426
  };
4427
4427
  const Marker = {
@@ -4536,7 +4536,7 @@
4536
4536
  } else if (src) {
4537
4537
  const change = !includes(el.style.backgroundImage, src);
4538
4538
  if (change) {
4539
- css(el, "backgroundImage", `url(${escape(src)})`);
4539
+ css(el, "backgroundImage", "url(".concat(escape(src), ")"));
4540
4540
  trigger(el, createEvent("load", false));
4541
4541
  }
4542
4542
  }
@@ -4630,12 +4630,12 @@
4630
4630
  function toMedia(value, element) {
4631
4631
  if (isString(value)) {
4632
4632
  if (startsWith(value, "@")) {
4633
- value = toFloat(css(element, `--uk-breakpoint-${value.substr(1)}`));
4633
+ value = toFloat(css(element, "--uk-breakpoint-".concat(value.substr(1))));
4634
4634
  } else if (isNaN(value)) {
4635
4635
  return value;
4636
4636
  }
4637
4637
  }
4638
- return value && isNumeric(value) ? `(min-width: ${value}px)` : "";
4638
+ return value && isNumeric(value) ? "(min-width: ".concat(value, "px)") : "";
4639
4639
  }
4640
4640
 
4641
4641
  var leader = {
@@ -4655,7 +4655,7 @@
4655
4655
  }
4656
4656
  },
4657
4657
  connected() {
4658
- [this.wrapper] = wrapInner(this.$el, `<span class="${this.clsWrapper}">`);
4658
+ [this.wrapper] = wrapInner(this.$el, '<span class="'.concat(this.clsWrapper, '">'));
4659
4659
  },
4660
4660
  disconnected() {
4661
4661
  unwrap(this.wrapper.childNodes);
@@ -4723,7 +4723,7 @@
4723
4723
  {
4724
4724
  name: "click",
4725
4725
  delegate() {
4726
- return `${this.selClose},a[href*="#"]`;
4726
+ return "".concat(this.selClose, ',a[href*="#"]');
4727
4727
  },
4728
4728
  handler(e) {
4729
4729
  const { current, defaultPrevented } = e;
@@ -4848,10 +4848,13 @@
4848
4848
  },
4849
4849
  { self: true }
4850
4850
  );
4851
- const timer = setTimeout(() => {
4852
- off();
4853
- resolve();
4854
- }, toMs(css(transitionElement, "transitionDuration")));
4851
+ const timer = setTimeout(
4852
+ () => {
4853
+ off();
4854
+ resolve();
4855
+ },
4856
+ toMs(css(transitionElement, "transitionDuration"))
4857
+ );
4855
4858
  })
4856
4859
  ).then(() => delete el._reject);
4857
4860
  }
@@ -4872,7 +4875,7 @@
4872
4875
  }
4873
4876
  once(
4874
4877
  document,
4875
- `${pointerUp} ${pointerCancel} scroll`,
4878
+ "".concat(pointerUp, " ").concat(pointerCancel, " scroll"),
4876
4879
  ({ defaultPrevented, type, target: newTarget }) => {
4877
4880
  if (!defaultPrevented && type === pointerUp && target === newTarget) {
4878
4881
  modal.hide();
@@ -4924,7 +4927,7 @@
4924
4927
  function install({ modal }) {
4925
4928
  modal.dialog = function(content, options) {
4926
4929
  const dialog = modal(
4927
- `<div class="uk-modal"> <div class="uk-modal-dialog">${content}</div> </div>`,
4930
+ '<div class="uk-modal">\n <div class="uk-modal-dialog">'.concat(content, "</div>\n </div>"),
4928
4931
  { stack: true, role: "alertdialog", ...options }
4929
4932
  );
4930
4933
  dialog.show();
@@ -4941,20 +4944,20 @@
4941
4944
  };
4942
4945
  modal.alert = function(message, options) {
4943
4946
  return openDialog(
4944
- ({ i18n }) => `<div class="uk-modal-body">${isString(message) ? message : html(message)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>${i18n.ok}</button> </div>`,
4947
+ ({ i18n }) => '<div class="uk-modal-body">'.concat(isString(message) ? message : html(message), '</div>\n <div class="uk-modal-footer uk-text-right">\n <button class="uk-button uk-button-primary uk-modal-close" autofocus>').concat(i18n.ok, "</button>\n </div>"),
4945
4948
  options
4946
4949
  );
4947
4950
  };
4948
4951
  modal.confirm = function(message, options) {
4949
4952
  return openDialog(
4950
- ({ i18n }) => `<form> <div class="uk-modal-body">${isString(message) ? message : html(message)}</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${i18n.cancel}</button> <button class="uk-button uk-button-primary" autofocus>${i18n.ok}</button> </div> </form>`,
4953
+ ({ i18n }) => '<form>\n <div class="uk-modal-body">'.concat(isString(message) ? message : html(message), '</div>\n <div class="uk-modal-footer uk-text-right">\n <button class="uk-button uk-button-default uk-modal-close" type="button">').concat(i18n.cancel, '</button>\n <button class="uk-button uk-button-primary" autofocus>').concat(i18n.ok, "</button>\n </div>\n </form>"),
4951
4954
  options,
4952
4955
  () => Promise.reject()
4953
4956
  );
4954
4957
  };
4955
4958
  modal.prompt = function(message, value, options) {
4956
4959
  const promise = openDialog(
4957
- ({ i18n }) => `<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>${isString(message) ? message : html(message)}</label> <input class="uk-input" value="${value || ""}" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">${i18n.cancel}</button> <button class="uk-button uk-button-primary">${i18n.ok}</button> </div> </form>`,
4960
+ ({ i18n }) => '<form class="uk-form-stacked">\n <div class="uk-modal-body">\n <label>'.concat(isString(message) ? message : html(message), '</label>\n <input class="uk-input" value="').concat(value || "", '" autofocus>\n </div>\n <div class="uk-modal-footer uk-text-right">\n <button class="uk-button uk-button-default uk-modal-close" type="button">').concat(i18n.cancel, '</button>\n <button class="uk-button uk-button-primary">').concat(i18n.ok, "</button>\n </div>\n </form>"),
4958
4961
  options,
4959
4962
  () => null,
4960
4963
  () => input.value
@@ -5060,7 +5063,7 @@
5060
5063
  return overlay ? clsOverlay : "";
5061
5064
  },
5062
5065
  clsMode({ mode, clsMode }) {
5063
- return `${clsMode}-${mode}`;
5066
+ return "".concat(clsMode, "-").concat(mode);
5064
5067
  },
5065
5068
  clsSidebarAnimation({ mode, clsSidebarAnimation }) {
5066
5069
  return mode === "none" || mode === "reveal" ? "" : clsSidebarAnimation;
@@ -5309,7 +5312,7 @@
5309
5312
  watch: {
5310
5313
  elements(elements) {
5311
5314
  if (this.hidden) {
5312
- css(filter(elements, `:not(.${this.inViewClass})`), "opacity", 0);
5315
+ css(filter(elements, ":not(.".concat(this.inViewClass, ")")), "opacity", 0);
5313
5316
  }
5314
5317
  }
5315
5318
  },
@@ -5511,7 +5514,7 @@
5511
5514
  this.isFixed = false;
5512
5515
  this.setActive(false);
5513
5516
  },
5514
- disconnected() {
5517
+ beforeDisconnect() {
5515
5518
  if (this.isFixed) {
5516
5519
  this.hide();
5517
5520
  removeClass(this.selTarget, this.clsInactive);
@@ -5917,7 +5920,7 @@
5917
5920
  symbolRe.lastIndex = 0;
5918
5921
  let match;
5919
5922
  while (match = symbolRe.exec(svg)) {
5920
- symbols[match[3]] = `<svg ${match[1]}svg>`;
5923
+ symbols[match[3]] = "<svg ".concat(match[1], "svg>");
5921
5924
  }
5922
5925
  return symbols;
5923
5926
  });
@@ -6033,7 +6036,7 @@
6033
6036
  return this.connects.concat(this.itemNav ? queryAll(this.itemNav, this.$el) : []);
6034
6037
  },
6035
6038
  delegate() {
6036
- return `[${this.attrItem}],[data-${this.attrItem}]`;
6039
+ return "[".concat(this.attrItem, "],[data-").concat(this.attrItem, "]");
6037
6040
  },
6038
6041
  handler(e) {
6039
6042
  if (closest(e.target, "a,button")) {
@@ -6066,8 +6069,8 @@
6066
6069
  if (!item) {
6067
6070
  continue;
6068
6071
  }
6069
- toggle.id = generateId(this, toggle, `-tab-${index}`);
6070
- item.id = generateId(this, item, `-tabpanel-${index}`);
6072
+ toggle.id = generateId(this, toggle, "-tab-".concat(index));
6073
+ item.id = generateId(this, item, "-tabpanel-".concat(index));
6071
6074
  attr(toggle, "aria-controls", item.id);
6072
6075
  attr(item, { role: "tabpanel", "aria-labelledby": toggle.id });
6073
6076
  }
@@ -6182,7 +6185,7 @@
6182
6185
  }
6183
6186
  },
6184
6187
  {
6185
- name: `${pointerEnter} ${pointerLeave} focus blur`,
6188
+ name: "".concat(pointerEnter, " ").concat(pointerLeave, " focus blur"),
6186
6189
  filter() {
6187
6190
  return includes(this.mode, "hover");
6188
6191
  },
@@ -6202,7 +6205,7 @@
6202
6205
  return;
6203
6206
  }
6204
6207
  this._showState = show ? expanded : null;
6205
- this.toggle(`toggle${show ? "show" : "hide"}`);
6208
+ this.toggle("toggle".concat(show ? "show" : "hide"));
6206
6209
  }
6207
6210
  },
6208
6211
  {