uikit 3.15.11-dev.fd61e70ff → 3.15.12-dev.0c0d42cdf

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 (54) hide show
  1. package/CHANGELOG.md +21 -6
  2. package/build/util.js +26 -20
  3. package/dist/css/uikit-core-rtl.css +3 -3
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +1 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +3 -3
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +1 -1
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +14 -13
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +31 -32
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +165 -150
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +173 -158
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +19 -17
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +37 -36
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +38 -29
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +84 -73
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +38 -29
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +95 -78
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +39 -39
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +43 -39
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +12 -12
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +582 -530
  38. package/dist/js/uikit-core.min.js +1 -17
  39. package/dist/js/uikit-icons.js +3 -3
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +883 -805
  42. package/dist/js/uikit.min.js +1 -17
  43. package/package.json +14 -14
  44. package/src/js/api/boot.js +3 -1
  45. package/src/js/components/lightbox-panel.js +5 -2
  46. package/src/js/components/slider-parallax.js +9 -0
  47. package/src/js/core/drop.js +5 -1
  48. package/src/js/core/margin.js +2 -0
  49. package/src/js/core/sticky.js +6 -7
  50. package/src/js/core/video.js +4 -3
  51. package/src/js/mixin/internal/animate-slide.js +1 -4
  52. package/src/js/util/env.js +1 -3
  53. package/src/js/util/position.js +11 -6
  54. package/tests/navbar.html +1 -1
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.11-dev.fd61e70ff | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.15.12-dev.0c0d42cdf | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -9,7 +9,8 @@
9
9
  var Class = {
10
10
  connected() {
11
11
  uikitUtil.addClass(this.$el, this.$options.id);
12
- } };
12
+ }
13
+ };
13
14
 
14
15
  var Animations$1 = {
15
16
  slide: {
@@ -26,9 +27,9 @@
26
27
  { transform: translate(dir * -100 * percent) },
27
28
  { transform: translate(dir * 100 * (1 - percent)) }];
28
29
 
29
- } } };
30
-
31
-
30
+ }
31
+ }
32
+ };
32
33
 
33
34
  function translated(el) {
34
35
  return Math.abs(uikitUtil.css(el, 'transform').split(',')[4] / el.offsetWidth) || 0;
@@ -102,8 +103,8 @@
102
103
 
103
104
  getDistance() {
104
105
  return prev == null ? void 0 : prev.offsetWidth;
105
- } };
106
-
106
+ }
107
+ };
107
108
  }
108
109
 
109
110
  function triggerUpdate(el, type, data) {
@@ -117,20 +118,21 @@
117
118
  this.$emit('resize')));
118
119
 
119
120
 
120
- } };
121
+ }
122
+ };
121
123
 
122
124
  var SliderAutoplay = {
123
125
  props: {
124
126
  autoplay: Boolean,
125
127
  autoplayInterval: Number,
126
- pauseOnHover: Boolean },
127
-
128
+ pauseOnHover: Boolean
129
+ },
128
130
 
129
131
  data: {
130
132
  autoplay: false,
131
133
  autoplayInterval: 7000,
132
- pauseOnHover: true },
133
-
134
+ pauseOnHover: true
135
+ },
134
136
 
135
137
  connected() {
136
138
  this.autoplay && this.startAutoplay();
@@ -162,8 +164,8 @@
162
164
  } else {
163
165
  this.startAutoplay();
164
166
  }
165
- } }],
166
-
167
+ }
168
+ }],
167
169
 
168
170
 
169
171
  methods: {
@@ -182,7 +184,9 @@
182
184
 
183
185
  stopAutoplay() {
184
186
  this.interval && clearInterval(this.interval);
185
- } } };
187
+ }
188
+ }
189
+ };
186
190
 
187
191
  const pointerOptions = { passive: false, capture: true };
188
192
  const pointerUpOptions = { passive: true, capture: true };
@@ -192,13 +196,13 @@
192
196
 
193
197
  var SliderDrag = {
194
198
  props: {
195
- draggable: Boolean },
196
-
199
+ draggable: Boolean
200
+ },
197
201
 
198
202
  data: {
199
203
  draggable: true,
200
- threshold: 10 },
201
-
204
+ threshold: 10
205
+ },
202
206
 
203
207
  created() {
204
208
  for (const key of ['start', 'move', 'end']) {
@@ -236,16 +240,16 @@
236
240
  }
237
241
 
238
242
  this.start(e);
239
- } },
240
-
243
+ }
244
+ },
241
245
 
242
246
  {
243
247
  name: 'dragstart',
244
248
 
245
249
  handler(e) {
246
250
  e.preventDefault();
247
- } },
248
-
251
+ }
252
+ },
249
253
 
250
254
  {
251
255
  // iOS workaround for slider stopping if swiping fast
@@ -254,8 +258,8 @@
254
258
  return this.list;
255
259
  },
256
260
  handler: uikitUtil.noop,
257
- ...pointerOptions }],
258
-
261
+ ...pointerOptions
262
+ }],
259
263
 
260
264
 
261
265
  methods: {
@@ -392,9 +396,9 @@
392
396
  uikitUtil.css(this.list, { userSelect: '', pointerEvents: '' });
393
397
 
394
398
  this.drag = this.percent = null;
395
- } } };
396
-
397
-
399
+ }
400
+ }
401
+ };
398
402
 
399
403
  function hasSelectableText(el) {
400
404
  return (
@@ -405,8 +409,8 @@
405
409
 
406
410
  var SliderNav = {
407
411
  data: {
408
- selNav: false },
409
-
412
+ selNav: false
413
+ },
410
414
 
411
415
  computed: {
412
416
  nav(_ref, $el) {let { selNav } = _ref;
@@ -419,8 +423,8 @@
419
423
 
420
424
  navItems(_, $el) {
421
425
  return uikitUtil.$$(this.selNavItem, $el);
422
- } },
423
-
426
+ }
427
+ },
424
428
 
425
429
  update: {
426
430
  write() {
@@ -438,8 +442,8 @@
438
442
  this.updateNav();
439
443
  },
440
444
 
441
- events: ['resize'] },
442
-
445
+ events: ['resize']
446
+ },
443
447
 
444
448
  events: [
445
449
  {
@@ -452,13 +456,13 @@
452
456
  handler(e) {
453
457
  e.preventDefault();
454
458
  this.show(uikitUtil.data(e.current, this.attrItem));
455
- } },
456
-
459
+ }
460
+ },
457
461
 
458
462
  {
459
463
  name: 'itemshow',
460
- handler: 'updateNav' }],
461
-
464
+ handler: 'updateNav'
465
+ }],
462
466
 
463
467
 
464
468
  methods: {
@@ -475,7 +479,9 @@
475
479
  cmd === 'previous' && i === 0 || cmd === 'next' && i >= this.maxIndex));
476
480
 
477
481
  }
478
- } } };
482
+ }
483
+ }
484
+ };
479
485
 
480
486
  var Slider = {
481
487
  mixins: [SliderAutoplay, SliderDrag, SliderNav, Resize],
@@ -486,8 +492,8 @@
486
492
  index: Number,
487
493
  finite: Boolean,
488
494
  velocity: Number,
489
- selSlides: String },
490
-
495
+ selSlides: String
496
+ },
491
497
 
492
498
  data: () => ({
493
499
  easing: 'ease',
@@ -500,8 +506,8 @@
500
506
  clsActive: 'uk-active',
501
507
  clsActivated: false,
502
508
  Transitioner: false,
503
- transitionOptions: {} }),
504
-
509
+ transitionOptions: {}
510
+ }),
505
511
 
506
512
  connected() {
507
513
  this.prevIndex = -1;
@@ -537,13 +543,13 @@
537
543
 
538
544
  watch() {
539
545
  this.$emit('resize');
540
- } },
541
-
546
+ }
547
+ },
542
548
 
543
549
  length() {
544
550
  return this.slides.length;
545
- } },
546
-
551
+ }
552
+ },
547
553
 
548
554
  methods: {
549
555
  show(index, force) {if (force === void 0) {force = false;}
@@ -632,8 +638,8 @@
632
638
  'cubic-bezier(0.25, 0.46, 0.45, 0.94)' /* easeOutQuad */ :
633
639
  'cubic-bezier(0.165, 0.84, 0.44, 1)' /* easeOutQuart */ :
634
640
  this.easing,
635
- ...this.transitionOptions });
636
-
641
+ ...this.transitionOptions
642
+ });
637
643
 
638
644
  if (!force && !prev) {
639
645
  this._translate(1);
@@ -669,9 +675,9 @@
669
675
  dir * (uikitUtil.isRtl ? -1 : 1),
670
676
  options);
671
677
 
672
- } } };
673
-
674
-
678
+ }
679
+ }
680
+ };
675
681
 
676
682
  function getDirection(index, prevIndex) {
677
683
  return index === 'next' ? 1 : index === 'previous' ? -1 : index < prevIndex ? -1 : 1;
@@ -685,15 +691,15 @@
685
691
  mixins: [Slider],
686
692
 
687
693
  props: {
688
- animation: String },
689
-
694
+ animation: String
695
+ },
690
696
 
691
697
  data: {
692
698
  animation: 'slide',
693
699
  clsActivated: 'uk-transition-active',
694
700
  Animations: Animations$1,
695
- Transitioner },
696
-
701
+ Transitioner
702
+ },
697
703
 
698
704
  computed: {
699
705
  animation(_ref) {let { animation, Animations } = _ref;
@@ -702,8 +708,8 @@
702
708
 
703
709
  transitionOptions() {
704
710
  return { animation: this.animation };
705
- } },
706
-
711
+ }
712
+ },
707
713
 
708
714
  events: {
709
715
  beforeitemshow(_ref2) {let { target } = _ref2;
@@ -716,7 +722,9 @@
716
722
 
717
723
  itemhidden(_ref4) {let { target } = _ref4;
718
724
  uikitUtil.removeClass(target, this.clsActive, this.clsActivated);
719
- } } };
725
+ }
726
+ }
727
+ };
720
728
 
721
729
  var Animations = {
722
730
  ...Animations$1,
@@ -731,8 +739,8 @@
731
739
 
732
740
  translate(percent) {
733
741
  return [{ opacity: 1 - percent, zIndex: 0 }, { zIndex: -1 }];
734
- } },
735
-
742
+ }
743
+ },
736
744
 
737
745
  scale: {
738
746
  show() {
@@ -748,8 +756,8 @@
748
756
  { opacity: 1 - percent, transform: scale3d(1 + 0.5 * percent), zIndex: 0 },
749
757
  { zIndex: -1 }];
750
758
 
751
- } },
752
-
759
+ }
760
+ },
753
761
 
754
762
  pull: {
755
763
  show(dir) {
@@ -778,8 +786,8 @@
778
786
  { transform: translate(-percent * 100), zIndex: 0 },
779
787
  { transform: translate(30 * (1 - percent)), zIndex: -1 }];
780
788
 
781
- } },
782
-
789
+ }
790
+ },
783
791
 
784
792
  push: {
785
793
  show(dir) {
@@ -808,7 +816,9 @@
808
816
  { transform: translate(-30 * percent), zIndex: -1 },
809
817
  { transform: translate(100 * (1 - percent)), zIndex: 0 }];
810
818
 
811
- } } };
819
+ }
820
+ }
821
+ };
812
822
 
813
823
  var SliderReactive = {
814
824
  update: {
@@ -826,12 +836,14 @@
826
836
  }
827
837
  },
828
838
 
829
- events: ['resize'] } };
839
+ events: ['resize']
840
+ }
841
+ };
830
842
 
831
843
  var Lazyload = {
832
844
  data: {
833
- preload: 5 },
834
-
845
+ preload: 5
846
+ },
835
847
 
836
848
  methods: {
837
849
  lazyload(observeTargets, targets) {if (observeTargets === void 0) {observeTargets = this.$el;}if (targets === void 0) {targets = this.$el;}
@@ -850,14 +862,17 @@
850
862
  }
851
863
  }));
852
864
 
853
- } } };
865
+ }
866
+ }
867
+ };
854
868
 
855
869
  var SliderPreload = {
856
870
  mixins: [Lazyload],
857
871
 
858
872
  connected() {
859
873
  this.lazyload(this.slides, this.getAdjacentSlides);
860
- } };
874
+ }
875
+ };
861
876
 
862
877
  var Component = {
863
878
  mixins: [Class, Slideshow, SliderReactive, SliderPreload],
@@ -865,8 +880,8 @@
865
880
  props: {
866
881
  ratio: String,
867
882
  minHeight: Number,
868
- maxHeight: Number },
869
-
883
+ maxHeight: Number
884
+ },
870
885
 
871
886
  data: {
872
887
  ratio: '16:9',
@@ -875,8 +890,8 @@
875
890
  selList: '.uk-slideshow-items',
876
891
  attrItem: 'uk-slideshow-item',
877
892
  selNav: '.uk-slideshow-nav',
878
- Animations },
879
-
893
+ Animations
894
+ },
880
895
 
881
896
  update: {
882
897
  read() {
@@ -903,13 +918,15 @@
903
918
  height > 0 && uikitUtil.css(this.list, 'minHeight', height);
904
919
  },
905
920
 
906
- events: ['resize'] },
907
-
921
+ events: ['resize']
922
+ },
908
923
 
909
924
  methods: {
910
925
  getAdjacentSlides() {
911
926
  return [1, -1].map((i) => this.slides[this.getIndex(this.index + i)]);
912
- } } };
927
+ }
928
+ }
929
+ };
913
930
 
914
931
  if (typeof window !== 'undefined' && window.UIkit) {
915
932
  window.UIkit.component('slideshow', Component);
@@ -1 +1 @@
1
- /*! UIkit 3.15.11-dev.fd61e70ff | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(s,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],p):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow=p(s.UIkit.util))})(this,function(s){"use strict";var p={connected(){s.addClass(this.$el,this.$options.id)}},z={slide:{show(t){return[{transform:h(t*-100)},{transform:h()}]},percent(t){return v(t)},translate(t,e){return[{transform:h(e*-100*t)},{transform:h(e*100*(1-t))}]}}};function v(t){return Math.abs(s.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function h(t,e){return t===void 0&&(t=0),e===void 0&&(e="%"),t+=t?e:"","translate3d("+t+", 0, 0)"}function b(t){return"scale3d("+t+", "+t+", 1)"}function $(t,e,n,i){let{animation:l,easing:r}=i;const{percent:a,translate:f,show:c=s.noop}=l,g=c(n),m=new s.Deferred;return{dir:n,show(o,d,L){d===void 0&&(d=0);const x=L?"linear":r;return o-=Math.round(o*s.clamp(d,-1,1)),this.translate(d),u(e,"itemin",{percent:d,duration:o,timing:x,dir:n}),u(t,"itemout",{percent:1-d,duration:o,timing:x,dir:n}),Promise.all([s.Transition.start(e,g[1],o,x),s.Transition.start(t,g[0],o,x)]).then(()=>{this.reset(),m.resolve()},s.noop),m.promise},cancel(){s.Transition.cancel([e,t])},reset(){for(const o in g[0])s.css([e,t],o,"")},forward(o,d){return d===void 0&&(d=this.percent()),s.Transition.cancel([e,t]),this.show(o,d,!0)},translate(o){this.reset();const d=f(o,n);s.css(e,d[1]),s.css(t,d[0]),u(e,"itemtranslatein",{percent:o,dir:n}),u(t,"itemtranslateout",{percent:1-o,dir:n})},percent(){return a(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function u(t,e,n){s.trigger(t,s.createEvent(e,!1,!1,n))}var S={connected(){var t;this.registerObserver(s.observeResize(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},N={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!s.$(":focus",this.$el))&&(!this.pauseOnHover||!s.matches(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const I={passive:!1,capture:!0},y={passive:!0,capture:!0},T="touchstart mousedown",w="touchmove mousemove",A="touchend touchcancel mouseup click input scroll";var D={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const i=s.getEventPos(n).x*(s.isRtl?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(n)}}},events:[{name:T,passive:!0,delegate(){return this.selSlides},handler(t){!this.draggable||!s.isTouch(t)&&C(t.target)||s.closest(t.target,s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:w,el(){return this.list},handler:s.noop,...I}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,w,this.move,I),s.on(document,A,this.end,y),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;s.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:i}=this,l=Math.abs(e),r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;for(;r!==i&&l>a;)this.drag-=a*this.dir,i=r,l-=a,r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;this.percent=l/a;const f=n[i],c=n[r],g=this.index!==r,m=i===r;let o;[this.index,this.prevIndex].filter(d=>!s.includes([r,i],d)).forEach(d=>{s.trigger(n[d],"itemhidden",[this]),m&&(o=!0,this.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||o)&&s.trigger(n[this.index],"itemshown",[this]),g&&(this.prevIndex=i,this.index=r,!m&&s.trigger(f,"beforeitemhide",[this]),s.trigger(c,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),f,!m&&c),g&&(!m&&s.trigger(f,"itemhide",[this]),s.trigger(c,"itemshow",[this]))},end(){if(s.off(document,w,this.move,I),s.off(document,A,this.end,y),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function C(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var H={data:{selNav:!1},computed:{nav(t,e){let{selNav:n}=t;return s.$(n,e)},selNavItem(t){let{attrItem:e}=t;return"["+e+"],[data-"+e+"]"},navItems(t,e){return s.$$(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>"<li "+this.attrItem+'="'+e+'"><a href></a></li>').join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(s.data(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=s.data(e,this.attrItem);s.toggleClass(e,this.clsActive,s.toNumber(n)===t),s.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}}}},M={mixins:[N,D,H,S],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:n}=t;return P(e.offsetWidth/n)},list(t,e){let{selList:n}=t;return s.$(n,e)},maxIndex(){return this.length-1},selSlides(t){let{selList:e,selSlides:n}=t;return e+" "+(n||"> *")},slides:{get(){return s.$$(this.selSlides,this.$el)},watch(){this.$emit("resize")}},length(){return this.slides.length}},methods:{show(t,e){if(e===void 0&&(e=!1),this.dragging||!this.length)return;const{stack:n}=this,i=e?0:n.length,l=()=>{n.splice(i,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const r=this.getIndex(this.index),a=s.hasClass(this.slides,this.clsActive)&&this.slides[r],f=this.getIndex(t,this.index),c=this.slides[f];if(a===c){l();return}if(this.dir=O(t,r),this.prevIndex=r,this.index=f,a&&!s.trigger(a,"beforeitemhide",[this])||!s.trigger(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,l();return}const g=this._show(a,c,e).then(()=>(a&&s.trigger(a,"itemhidden",[this]),s.trigger(c,"itemshown",[this]),new Promise(m=>{requestAnimationFrame(()=>{n.shift(),n.length?this.show(n.shift(),!0):this._transitioner=null,m()})})));return a&&s.trigger(a,"itemhide",[this]),s.trigger(c,"itemshow",[this]),g},getIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.index),s.clamp(s.getIndex(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),this.getIndex(t,e)},_show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!t)return this._translate(1),Promise.resolve();const{length:i}=this.stack;return this._transitioner[i>1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e,n){e===void 0&&(e=this.prevIndex),n===void 0&&(n=this.index);const i=this._getTransitioner(e!==n?e:!1,n);return i.translate(t),i},_getTransitioner(t,e,n,i){return t===void 0&&(t=this.prevIndex),e===void 0&&(e=this.index),n===void 0&&(n=this.dir||1),i===void 0&&(i=this.transitionOptions),new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,n*(s.isRtl?-1:1),i)}}};function O(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function P(t){return .5*t+300}var E={mixins:[M],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:z,Transitioner:$},computed:{animation(t){let{animation:e,Animations:n}=t;return{...n[e]||n.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;s.addClass(e,this.clsActive)},itemshown(t){let{target:e}=t;s.addClass(e,this.clsActivated)},itemhidden(t){let{target:e}=t;s.removeClass(e,this.clsActive,this.clsActivated)}}},R={...z,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:b(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:b(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:h(30),zIndex:-1},{transform:h(),zIndex:0}]:[{transform:h(-100),zIndex:0},{transform:h(),zIndex:-1}]},percent(t,e,n){return n<0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(30*t),zIndex:-1},{transform:h(-100*(1-t)),zIndex:0}]:[{transform:h(-t*100),zIndex:0},{transform:h(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:h(100),zIndex:0},{transform:h(),zIndex:-1}]:[{transform:h(-30),zIndex:-1},{transform:h(),zIndex:0}]},percent(t,e,n){return n>0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(t*100),zIndex:0},{transform:h(-30*(1-t)),zIndex:-1}]:[{transform:h(-30*t),zIndex:-1},{transform:h(100*(1-t)),zIndex:0}]}}},W={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},j={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(s.observeIntersection(t,(n,i)=>{for(const l of s.toNodes(s.isFunction(e)?e():e))s.$$('[loading="lazy"]',l).slice(0,this.preload-1).forEach(r=>s.removeAttr(r,"loading"));for(const l of n.filter(r=>{let{isIntersecting:a}=r;return a}).map(r=>{let{target:a}=r;return a}))i.unobserve(l)}))}}},B={mixins:[j],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}},_={mixins:[p,E,W,B],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:R},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-s.boxModelAdjust(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&s.css(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",_),_});
1
+ /*! UIkit 3.15.12-dev.0c0d42cdf | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */(function(s,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],p):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow=p(s.UIkit.util))})(this,function(s){"use strict";var p={connected(){s.addClass(this.$el,this.$options.id)}},z={slide:{show(t){return[{transform:h(t*-100)},{transform:h()}]},percent(t){return v(t)},translate(t,e){return[{transform:h(e*-100*t)},{transform:h(e*100*(1-t))}]}}};function v(t){return Math.abs(s.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function h(t,e){return t===void 0&&(t=0),e===void 0&&(e="%"),t+=t?e:"","translate3d("+t+", 0, 0)"}function b(t){return"scale3d("+t+", "+t+", 1)"}function $(t,e,n,i){let{animation:l,easing:r}=i;const{percent:a,translate:f,show:c=s.noop}=l,g=c(n),m=new s.Deferred;return{dir:n,show(o,d,L){d===void 0&&(d=0);const x=L?"linear":r;return o-=Math.round(o*s.clamp(d,-1,1)),this.translate(d),u(e,"itemin",{percent:d,duration:o,timing:x,dir:n}),u(t,"itemout",{percent:1-d,duration:o,timing:x,dir:n}),Promise.all([s.Transition.start(e,g[1],o,x),s.Transition.start(t,g[0],o,x)]).then(()=>{this.reset(),m.resolve()},s.noop),m.promise},cancel(){s.Transition.cancel([e,t])},reset(){for(const o in g[0])s.css([e,t],o,"")},forward(o,d){return d===void 0&&(d=this.percent()),s.Transition.cancel([e,t]),this.show(o,d,!0)},translate(o){this.reset();const d=f(o,n);s.css(e,d[1]),s.css(t,d[0]),u(e,"itemtranslatein",{percent:o,dir:n}),u(t,"itemtranslateout",{percent:1-o,dir:n})},percent(){return a(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function u(t,e,n){s.trigger(t,s.createEvent(e,!1,!1,n))}var S={connected(){var t;this.registerObserver(s.observeResize(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},N={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>(!this.draggable||!s.$(":focus",this.$el))&&(!this.pauseOnHover||!s.matches(this.$el,":hover"))&&!this.stack.length&&this.show("next"),this.autoplayInterval)},stopAutoplay(){this.interval&&clearInterval(this.interval)}}};const I={passive:!1,capture:!0},y={passive:!0,capture:!0},T="touchstart mousedown",w="touchmove mousemove",A="touchend touchcancel mouseup click input scroll";var D={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const i=s.getEventPos(n).x*(s.isRtl?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(n)}}},events:[{name:T,passive:!0,delegate(){return this.selSlides},handler(t){!this.draggable||!s.isTouch(t)&&C(t.target)||s.closest(t.target,s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:w,el(){return this.list},handler:s.noop,...I}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,w,this.move,I),s.on(document,A,this.end,y),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;s.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:n}=this;let{prevIndex:i}=this,l=Math.abs(e),r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;for(;r!==i&&l>a;)this.drag-=a*this.dir,i=r,l-=a,r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;this.percent=l/a;const f=n[i],c=n[r],g=this.index!==r,m=i===r;let o;[this.index,this.prevIndex].filter(d=>!s.includes([r,i],d)).forEach(d=>{s.trigger(n[d],"itemhidden",[this]),m&&(o=!0,this.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||o)&&s.trigger(n[this.index],"itemshown",[this]),g&&(this.prevIndex=i,this.index=r,!m&&s.trigger(f,"beforeitemhide",[this]),s.trigger(c,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),f,!m&&c),g&&(!m&&s.trigger(f,"itemhide",[this]),s.trigger(c,"itemshow",[this]))},end(){if(s.off(document,w,this.move,I),s.off(document,A,this.end,y),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function C(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var H={data:{selNav:!1},computed:{nav(t,e){let{selNav:n}=t;return s.$(n,e)},selNavItem(t){let{attrItem:e}=t;return"["+e+"],[data-"+e+"]"},navItems(t,e){return s.$$(this.selNavItem,e)}},update:{write(){this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>"<li "+this.attrItem+'="'+e+'"><a href></a></li>').join("")),this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]},events:[{name:"click",delegate(){return this.selNavItem},handler(t){t.preventDefault(),this.show(s.data(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=s.data(e,this.attrItem);s.toggleClass(e,this.clsActive,s.toNumber(n)===t),s.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}}}},M={mixins:[N,D,H,S],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration(t,e){let{velocity:n}=t;return P(e.offsetWidth/n)},list(t,e){let{selList:n}=t;return s.$(n,e)},maxIndex(){return this.length-1},selSlides(t){let{selList:e,selSlides:n}=t;return e+" "+(n||"> *")},slides:{get(){return s.$$(this.selSlides,this.$el)},watch(){this.$emit("resize")}},length(){return this.slides.length}},methods:{show(t,e){if(e===void 0&&(e=!1),this.dragging||!this.length)return;const{stack:n}=this,i=e?0:n.length,l=()=>{n.splice(i,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&this._transitioner.forward(Math.min(this.duration,200));return}const r=this.getIndex(this.index),a=s.hasClass(this.slides,this.clsActive)&&this.slides[r],f=this.getIndex(t,this.index),c=this.slides[f];if(a===c){l();return}if(this.dir=O(t,r),this.prevIndex=r,this.index=f,a&&!s.trigger(a,"beforeitemhide",[this])||!s.trigger(c,"beforeitemshow",[this,a])){this.index=this.prevIndex,l();return}const g=this._show(a,c,e).then(()=>(a&&s.trigger(a,"itemhidden",[this]),s.trigger(c,"itemshown",[this]),new Promise(m=>{requestAnimationFrame(()=>{n.shift(),n.length?this.show(n.shift(),!0):this._transitioner=null,m()})})));return a&&s.trigger(a,"itemhide",[this]),s.trigger(c,"itemshow",[this]),g},getIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.index),s.clamp(s.getIndex(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex(t,e){return t===void 0&&(t=this.index),e===void 0&&(e=this.prevIndex),this.getIndex(t,e)},_show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!t)return this._translate(1),Promise.resolve();const{length:i}=this.stack;return this._transitioner[i>1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate(t,e,n){e===void 0&&(e=this.prevIndex),n===void 0&&(n=this.index);const i=this._getTransitioner(e!==n?e:!1,n);return i.translate(t),i},_getTransitioner(t,e,n,i){return t===void 0&&(t=this.prevIndex),e===void 0&&(e=this.index),n===void 0&&(n=this.dir||1),i===void 0&&(i=this.transitionOptions),new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,n*(s.isRtl?-1:1),i)}}};function O(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function P(t){return .5*t+300}var E={mixins:[M],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:z,Transitioner:$},computed:{animation(t){let{animation:e,Animations:n}=t;return{...n[e]||n.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow(t){let{target:e}=t;s.addClass(e,this.clsActive)},itemshown(t){let{target:e}=t;s.addClass(e,this.clsActivated)},itemhidden(t){let{target:e}=t;s.removeClass(e,this.clsActive,this.clsActivated)}}},R={...z,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:b(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:b(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:h(30),zIndex:-1},{transform:h(),zIndex:0}]:[{transform:h(-100),zIndex:0},{transform:h(),zIndex:-1}]},percent(t,e,n){return n<0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(30*t),zIndex:-1},{transform:h(-100*(1-t)),zIndex:0}]:[{transform:h(-t*100),zIndex:0},{transform:h(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:h(100),zIndex:0},{transform:h(),zIndex:-1}]:[{transform:h(-30),zIndex:-1},{transform:h(),zIndex:0}]},percent(t,e,n){return n>0?1-v(e):v(t)},translate(t,e){return e<0?[{transform:h(t*100),zIndex:0},{transform:h(-30*(1-t)),zIndex:-1}]:[{transform:h(-30*t),zIndex:-1},{transform:h(100*(1-t)),zIndex:0}]}}},W={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},j={data:{preload:5},methods:{lazyload(t,e){t===void 0&&(t=this.$el),e===void 0&&(e=this.$el),this.registerObserver(s.observeIntersection(t,(n,i)=>{for(const l of s.toNodes(s.isFunction(e)?e():e))s.$$('[loading="lazy"]',l).slice(0,this.preload-1).forEach(r=>s.removeAttr(r,"loading"));for(const l of n.filter(r=>{let{isIntersecting:a}=r;return a}).map(r=>{let{target:a}=r;return a}))i.unobserve(l)}))}}},B={mixins:[j],connected(){this.lazyload(this.slides,this.getAdjacentSlides)}},_={mixins:[p,E,W,B],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:R},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-s.boxModelAdjust(this.list,"height","content-box")}},write(t){let{height:e}=t;e>0&&s.css(this.list,"minHeight",e)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",_),_});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.15.11-dev.fd61e70ff | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
1
+ /*! UIkit 3.15.12-dev.0c0d42cdf | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -67,8 +67,8 @@
67
67
  top: offsetTop,
68
68
  left: offsetLeft,
69
69
  bottom: offsetTop + offsetHeight,
70
- right: offsetLeft + offsetWidth };
71
-
70
+ right: offsetLeft + offsetWidth
71
+ };
72
72
  }
73
73
 
74
74
  const clsLeave = 'uk-transition-leave';
@@ -224,10 +224,7 @@
224
224
  const targetStyle = uikitUtil.attr(target, 'style');
225
225
  const targetPropsTo = uikitUtil.css(target, ['height', 'padding']);
226
226
  const [propsTo, propsFrom] = getTransitionProps(target, nodes, currentProps);
227
- const attrsTo = nodes.map((el) => ({
228
- class: uikitUtil.attr(el, 'class'),
229
- style: uikitUtil.attr(el, 'style') }));
230
-
227
+ const attrsTo = nodes.map((el) => ({ style: uikitUtil.attr(el, 'style') }));
231
228
 
232
229
  // Reset to previous state
233
230
  nodes.forEach((el, i) => propsFrom[i] && uikitUtil.css(el, propsFrom[i]));
@@ -265,8 +262,8 @@
265
262
  pointerEvents: 'none',
266
263
  position: 'absolute',
267
264
  zIndex: zIndex === 'auto' ? uikitUtil.index(el) : zIndex,
268
- ...getPositionWithMargin(el) } :
269
-
265
+ ...getPositionWithMargin(el)
266
+ } :
270
267
  false;
271
268
  }
272
269
 
@@ -320,8 +317,8 @@
320
317
  width,
321
318
  transform: '',
322
319
  ...uikitUtil.position(el),
323
- ...uikitUtil.css(el, ['marginTop', 'marginLeft']) };
324
-
320
+ ...uikitUtil.css(el, ['marginTop', 'marginLeft'])
321
+ };
325
322
  }
326
323
 
327
324
  function awaitFrame() {
@@ -331,13 +328,13 @@
331
328
  var Animate = {
332
329
  props: {
333
330
  duration: Number,
334
- animation: Boolean },
335
-
331
+ animation: Boolean
332
+ },
336
333
 
337
334
  data: {
338
335
  duration: 150,
339
- animation: 'slide' },
340
-
336
+ animation: 'slide'
337
+ },
341
338
 
342
339
  methods: {
343
340
  animate(action, target) {if (target === void 0) {target = this.$el;}
@@ -355,12 +352,15 @@
355
352
  };
356
353
 
357
354
  return animationFn(action, target, this.duration).catch(uikitUtil.noop);
358
- } } };
355
+ }
356
+ }
357
+ };
359
358
 
360
359
  var Class = {
361
360
  connected() {
362
361
  uikitUtil.addClass(this.$el, this.$options.id);
363
- } };
362
+ }
363
+ };
364
364
 
365
365
  var Component = {
366
366
  mixins: [Class, Animate],
@@ -376,8 +376,8 @@
376
376
  clsNoDrag: String,
377
377
  clsEmpty: String,
378
378
  clsCustom: String,
379
- handle: String },
380
-
379
+ handle: String
380
+ },
381
381
 
382
382
  data: {
383
383
  group: false,
@@ -391,8 +391,8 @@
391
391
  clsEmpty: 'uk-sortable-empty',
392
392
  clsCustom: '',
393
393
  handle: false,
394
- pos: {} },
395
-
394
+ pos: {}
395
+ },
396
396
 
397
397
  created() {
398
398
  for (const key of ['init', 'start', 'move', 'end']) {
@@ -407,8 +407,8 @@
407
407
  events: {
408
408
  name: uikitUtil.pointerDown,
409
409
  passive: false,
410
- handler: 'init' },
411
-
410
+ handler: 'init'
411
+ },
412
412
 
413
413
  computed: {
414
414
  target() {
@@ -428,8 +428,8 @@
428
428
  uikitUtil.toggleClass(this.target, this.clsEmpty, empty);
429
429
  },
430
430
 
431
- immediate: true },
432
-
431
+ immediate: true
432
+ },
433
433
 
434
434
  handles: {
435
435
  get(_ref, el) {let { handle } = _ref;
@@ -441,9 +441,9 @@
441
441
  uikitUtil.css(handles, { touchAction: uikitUtil.hasTouch ? 'none' : '', userSelect: 'none' }); // touchAction set to 'none' causes a performance drop in Chrome 80
442
442
  },
443
443
 
444
- immediate: true } },
445
-
446
-
444
+ immediate: true
445
+ }
446
+ },
447
447
 
448
448
  update: {
449
449
  write(data) {
@@ -454,13 +454,13 @@
454
454
  const {
455
455
  pos: { x, y },
456
456
  origin: { offsetTop, offsetLeft },
457
- placeholder } =
458
- this;
457
+ placeholder
458
+ } = this;
459
459
 
460
460
  uikitUtil.css(this.drag, {
461
461
  top: y - offsetTop,
462
- left: x - offsetLeft });
463
-
462
+ left: x - offsetLeft
463
+ });
464
464
 
465
465
  const sortable = this.getSortable(document.elementFromPoint(x, y));
466
466
 
@@ -510,8 +510,8 @@
510
510
  this.touched.add(sortable);
511
511
  },
512
512
 
513
- events: ['move'] },
514
-
513
+ events: ['move']
514
+ },
515
515
 
516
516
  methods: {
517
517
  init(e) {
@@ -633,9 +633,9 @@
633
633
  return sortable;
634
634
  }
635
635
  } while (element = uikitUtil.parent(element));
636
- } } };
637
-
638
-
636
+ }
637
+ }
638
+ };
639
639
 
640
640
  let trackTimer;
641
641
  function trackScroll(pos) {
@@ -693,8 +693,8 @@
693
693
  boxSizing: 'border-box',
694
694
  width: element.offsetWidth,
695
695
  height: element.offsetHeight,
696
- padding: uikitUtil.css(element, 'padding') });
697
-
696
+ padding: uikitUtil.css(element, 'padding')
697
+ });
698
698
 
699
699
  uikitUtil.height(clone.firstElementChild, uikitUtil.height(element.firstElementChild));
700
700