uikit 3.15.11-dev.fd61e70ff → 3.15.12-dev.e4023717f
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.
- package/CHANGELOG.md +7 -0
- package/build/util.js +26 -20
- package/dist/css/uikit-core-rtl.css +3 -3
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +3 -3
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +14 -13
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +32 -30
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +160 -148
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +168 -156
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +19 -17
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +37 -36
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +29 -29
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +84 -73
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +29 -29
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +95 -78
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +40 -37
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +43 -39
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +12 -12
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +574 -527
- package/dist/js/uikit-core.min.js +1 -17
- package/dist/js/uikit-icons.js +3 -3
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +862 -798
- package/dist/js/uikit.min.js +1 -17
- package/package.json +14 -14
- package/src/js/core/drop.js +5 -1
- package/src/js/core/sticky.js +6 -7
- package/src/js/util/env.js +1 -3
- package/src/js/util/position.js +11 -6
package/dist/js/uikit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.15.
|
|
1
|
+
/*! UIkit 3.15.12-dev.e4023717f | 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() :
|
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
[aProp]: dimensions[prop] ?
|
|
216
216
|
Math.round(value * dimensions[aProp] / dimensions[prop]) :
|
|
217
217
|
dimensions[aProp],
|
|
218
|
-
[prop]: value
|
|
219
|
-
|
|
218
|
+
[prop]: value
|
|
219
|
+
};
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
function contain(dimensions, maxDimensions) {
|
|
@@ -284,7 +284,8 @@
|
|
|
284
284
|
this.reject = reject;
|
|
285
285
|
this.resolve = resolve;
|
|
286
286
|
});
|
|
287
|
-
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
288
289
|
|
|
289
290
|
function attr(element, name, value) {
|
|
290
291
|
if (isObject(name)) {
|
|
@@ -348,8 +349,8 @@
|
|
|
348
349
|
param: true,
|
|
349
350
|
source: true,
|
|
350
351
|
track: true,
|
|
351
|
-
wbr: true
|
|
352
|
-
|
|
352
|
+
wbr: true
|
|
353
|
+
};
|
|
353
354
|
function isVoidElement(element) {
|
|
354
355
|
return toNodes(element).some((element) => voidElements[element.tagName.toLowerCase()]);
|
|
355
356
|
}
|
|
@@ -666,8 +667,8 @@
|
|
|
666
667
|
xhr: new XMLHttpRequest(),
|
|
667
668
|
beforeSend: noop,
|
|
668
669
|
responseType: '',
|
|
669
|
-
...options
|
|
670
|
-
|
|
670
|
+
...options
|
|
671
|
+
};
|
|
671
672
|
return Promise.resolve().
|
|
672
673
|
then(() => env.beforeSend(env)).
|
|
673
674
|
then(() => send(url, env));
|
|
@@ -700,8 +701,8 @@
|
|
|
700
701
|
reject(
|
|
701
702
|
assign(Error(xhr.statusText), {
|
|
702
703
|
xhr,
|
|
703
|
-
status: xhr.status
|
|
704
|
-
|
|
704
|
+
status: xhr.status
|
|
705
|
+
}));
|
|
705
706
|
|
|
706
707
|
}
|
|
707
708
|
});
|
|
@@ -745,8 +746,8 @@
|
|
|
745
746
|
'stroke-dashoffset': true,
|
|
746
747
|
widows: true,
|
|
747
748
|
'z-index': true,
|
|
748
|
-
zoom: true
|
|
749
|
-
|
|
749
|
+
zoom: true
|
|
750
|
+
};
|
|
750
751
|
|
|
751
752
|
function css(element, property, value, priority) {if (priority === void 0) {priority = '';}
|
|
752
753
|
const elements = toNodes(element);
|
|
@@ -879,8 +880,8 @@
|
|
|
879
880
|
css(element, {
|
|
880
881
|
transitionProperty: '',
|
|
881
882
|
transitionDuration: '',
|
|
882
|
-
transitionTimingFunction: ''
|
|
883
|
-
|
|
883
|
+
transitionTimingFunction: ''
|
|
884
|
+
});
|
|
884
885
|
type === 'transitioncanceled' ? reject() : resolve(element);
|
|
885
886
|
},
|
|
886
887
|
{ self: true });
|
|
@@ -891,8 +892,8 @@
|
|
|
891
892
|
transitionProperty: Object.keys(props).map(propName).join(','),
|
|
892
893
|
transitionDuration: duration + "ms",
|
|
893
894
|
transitionTimingFunction: timing,
|
|
894
|
-
...props
|
|
895
|
-
|
|
895
|
+
...props
|
|
896
|
+
});
|
|
896
897
|
})));
|
|
897
898
|
|
|
898
899
|
|
|
@@ -913,8 +914,8 @@
|
|
|
913
914
|
|
|
914
915
|
inProgress(element) {
|
|
915
916
|
return hasClass(element, 'uk-transition');
|
|
916
|
-
}
|
|
917
|
-
|
|
917
|
+
}
|
|
918
|
+
};
|
|
918
919
|
|
|
919
920
|
const animationPrefix = 'uk-animation-';
|
|
920
921
|
|
|
@@ -967,12 +968,13 @@
|
|
|
967
968
|
|
|
968
969
|
cancel(element) {
|
|
969
970
|
trigger(element, 'animationcanceled');
|
|
970
|
-
}
|
|
971
|
+
}
|
|
972
|
+
};
|
|
971
973
|
|
|
972
974
|
const dirs$1 = {
|
|
973
975
|
width: ['left', 'right'],
|
|
974
|
-
height: ['top', 'bottom']
|
|
975
|
-
|
|
976
|
+
height: ['top', 'bottom']
|
|
977
|
+
};
|
|
976
978
|
|
|
977
979
|
function dimensions$1(element) {
|
|
978
980
|
const rect = isElement(element) ?
|
|
@@ -985,8 +987,8 @@
|
|
|
985
987
|
top: rect.top,
|
|
986
988
|
left: rect.left,
|
|
987
989
|
bottom: rect.top + rect.height,
|
|
988
|
-
right: rect.left + rect.width
|
|
989
|
-
|
|
990
|
+
right: rect.left + rect.width
|
|
991
|
+
};
|
|
990
992
|
}
|
|
991
993
|
|
|
992
994
|
function offset(element, coordinates) {
|
|
@@ -1025,8 +1027,8 @@
|
|
|
1025
1027
|
|
|
1026
1028
|
const {
|
|
1027
1029
|
ownerDocument: { body, documentElement },
|
|
1028
|
-
offsetParent
|
|
1029
|
-
toNode(element);
|
|
1030
|
+
offsetParent
|
|
1031
|
+
} = toNode(element);
|
|
1030
1032
|
let parent = offsetParent || documentElement;
|
|
1031
1033
|
|
|
1032
1034
|
while (
|
|
@@ -1045,8 +1047,8 @@
|
|
|
1045
1047
|
|
|
1046
1048
|
return {
|
|
1047
1049
|
top: top - toFloat(css(element, 'marginTop')),
|
|
1048
|
-
left: left - toFloat(css(element, 'marginLeft'))
|
|
1049
|
-
|
|
1050
|
+
left: left - toFloat(css(element, 'marginLeft'))
|
|
1051
|
+
};
|
|
1050
1052
|
}
|
|
1051
1053
|
|
|
1052
1054
|
function offsetPosition(element) {
|
|
@@ -1278,7 +1280,7 @@
|
|
|
1278
1280
|
}
|
|
1279
1281
|
|
|
1280
1282
|
const inBrowser = typeof window !== 'undefined';
|
|
1281
|
-
const isRtl = inBrowser &&
|
|
1283
|
+
const isRtl = inBrowser && document.dir === 'rtl';
|
|
1282
1284
|
|
|
1283
1285
|
const hasTouch = inBrowser && 'ontouchstart' in window;
|
|
1284
1286
|
const hasPointerEvents = inBrowser && window.PointerEvent;
|
|
@@ -1317,8 +1319,8 @@
|
|
|
1317
1319
|
remove(this.writes, task);
|
|
1318
1320
|
},
|
|
1319
1321
|
|
|
1320
|
-
flush
|
|
1321
|
-
|
|
1322
|
+
flush
|
|
1323
|
+
};
|
|
1322
1324
|
|
|
1323
1325
|
function flush(recursion) {
|
|
1324
1326
|
runTasks(fastdom.reads);
|
|
@@ -1420,8 +1422,8 @@
|
|
|
1420
1422
|
const intersection = intersect(path, diagonal);
|
|
1421
1423
|
return intersection && pointInRect(intersection, p);
|
|
1422
1424
|
});
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1425
1427
|
|
|
1426
1428
|
// Inspired by http://paulbourke.net/geometry/pointlineplane/
|
|
1427
1429
|
function intersect(_ref, _ref2) {let [{ x: x1, y: y1 }, { x: x2, y: y2 }] = _ref;let [{ x: x3, y: y3 }, { x: x4, y: y4 }] = _ref2;
|
|
@@ -1473,8 +1475,8 @@
|
|
|
1473
1475
|
return {
|
|
1474
1476
|
disconnect() {
|
|
1475
1477
|
listeners.delete(cb);
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
+
}
|
|
1479
|
+
};
|
|
1478
1480
|
}
|
|
1479
1481
|
|
|
1480
1482
|
let listeners;
|
|
@@ -1778,8 +1780,8 @@
|
|
|
1778
1780
|
top: top - offsetTop,
|
|
1779
1781
|
left: left - offsetLeft,
|
|
1780
1782
|
bottom: bottom + offsetTop,
|
|
1781
|
-
right: right + offsetLeft
|
|
1782
|
-
|
|
1783
|
+
right: right + offsetLeft
|
|
1784
|
+
};
|
|
1783
1785
|
}).
|
|
1784
1786
|
concat(offset(element)));
|
|
1785
1787
|
|
|
@@ -1889,8 +1891,8 @@
|
|
|
1889
1891
|
function offsetViewport(scrollElement) {
|
|
1890
1892
|
const window = toWindow(scrollElement);
|
|
1891
1893
|
const {
|
|
1892
|
-
document: { documentElement }
|
|
1893
|
-
window;
|
|
1894
|
+
document: { documentElement }
|
|
1895
|
+
} = window;
|
|
1894
1896
|
let viewportElement =
|
|
1895
1897
|
scrollElement === scrollingElement(scrollElement) ? window : scrollElement;
|
|
1896
1898
|
|
|
@@ -1933,12 +1935,12 @@
|
|
|
1933
1935
|
attach: {
|
|
1934
1936
|
element: ['left', 'top'],
|
|
1935
1937
|
target: ['left', 'top'],
|
|
1936
|
-
...options.attach
|
|
1937
|
-
|
|
1938
|
+
...options.attach
|
|
1939
|
+
},
|
|
1938
1940
|
offset: [0, 0],
|
|
1939
1941
|
placement: [],
|
|
1940
|
-
...options
|
|
1941
|
-
|
|
1942
|
+
...options
|
|
1943
|
+
};
|
|
1942
1944
|
|
|
1943
1945
|
if (!isArray(target)) {
|
|
1944
1946
|
target = [target, target];
|
|
@@ -1953,7 +1955,7 @@
|
|
|
1953
1955
|
|
|
1954
1956
|
let offsetPosition = position;
|
|
1955
1957
|
for (const [i, [prop,, start, end]] of Object.entries(dirs)) {
|
|
1956
|
-
const viewport = getViewport$
|
|
1958
|
+
const viewport = getViewport$2(element, target[i], viewportOffset, boundary, i);
|
|
1957
1959
|
|
|
1958
1960
|
if (isWithin(position, viewport, i)) {
|
|
1959
1961
|
continue;
|
|
@@ -1973,7 +1975,7 @@
|
|
|
1973
1975
|
|
|
1974
1976
|
offsetBy = flip(element, target, options, i)[start] - position[start];
|
|
1975
1977
|
|
|
1976
|
-
const scrollArea = getScrollArea(target[i], viewportOffset, i);
|
|
1978
|
+
const scrollArea = getScrollArea(element, target[i], viewportOffset, i);
|
|
1977
1979
|
|
|
1978
1980
|
if (!isWithin(applyOffset(position, offsetBy, i), scrollArea, i)) {
|
|
1979
1981
|
if (isWithin(position, scrollArea, i)) {
|
|
@@ -2016,11 +2018,11 @@
|
|
|
2016
2018
|
attach: {
|
|
2017
2019
|
element: ['left', 'top'],
|
|
2018
2020
|
target: ['left', 'top'],
|
|
2019
|
-
...options.attach
|
|
2020
|
-
|
|
2021
|
+
...options.attach
|
|
2022
|
+
},
|
|
2021
2023
|
offset: [0, 0],
|
|
2022
|
-
...options
|
|
2023
|
-
|
|
2024
|
+
...options
|
|
2025
|
+
};
|
|
2024
2026
|
|
|
2025
2027
|
let elOffset = offset(element);
|
|
2026
2028
|
|
|
@@ -2053,8 +2055,8 @@
|
|
|
2053
2055
|
return attach === 'center' ? dim / 2 : attach === end ? dim : 0;
|
|
2054
2056
|
}
|
|
2055
2057
|
|
|
2056
|
-
function getViewport$
|
|
2057
|
-
let viewport = getIntersectionArea(...
|
|
2058
|
+
function getViewport$2(element, target, viewportOffset, boundary, i) {
|
|
2059
|
+
let viewport = getIntersectionArea(...commonScrollParents(element, target).map(offsetViewport));
|
|
2058
2060
|
|
|
2059
2061
|
if (viewportOffset) {
|
|
2060
2062
|
viewport[dirs[i][2]] += viewportOffset;
|
|
@@ -2071,15 +2073,19 @@
|
|
|
2071
2073
|
return viewport;
|
|
2072
2074
|
}
|
|
2073
2075
|
|
|
2074
|
-
function getScrollArea(element, viewportOffset, i) {
|
|
2076
|
+
function getScrollArea(element, target, viewportOffset, i) {
|
|
2075
2077
|
const [prop,, start, end] = dirs[i];
|
|
2076
|
-
const [scrollElement] =
|
|
2078
|
+
const [scrollElement] = commonScrollParents(element, target);
|
|
2077
2079
|
const viewport = offsetViewport(scrollElement);
|
|
2078
2080
|
viewport[start] -= scrollElement["scroll" + ucfirst(start)] - viewportOffset;
|
|
2079
2081
|
viewport[end] = viewport[start] + scrollElement["scroll" + ucfirst(prop)] - viewportOffset;
|
|
2080
2082
|
return viewport;
|
|
2081
2083
|
}
|
|
2082
2084
|
|
|
2085
|
+
function commonScrollParents(element, target) {
|
|
2086
|
+
return scrollParents(target).filter((parent) => within(element, parent));
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2083
2089
|
function getIntersectionArea() {
|
|
2084
2090
|
let area = {};for (var _len = arguments.length, rects = new Array(_len), _key = 0; _key < _len; _key++) {rects[_key] = arguments[_key];}
|
|
2085
2091
|
for (const rect of rects) {
|
|
@@ -2100,10 +2106,10 @@
|
|
|
2100
2106
|
return attachTo(element, target, {
|
|
2101
2107
|
attach: {
|
|
2102
2108
|
element: flipAttach(attach.element, i),
|
|
2103
|
-
target: flipAttach(attach.target, i)
|
|
2104
|
-
|
|
2105
|
-
offset: flipOffset(offset, i)
|
|
2106
|
-
|
|
2109
|
+
target: flipAttach(attach.target, i)
|
|
2110
|
+
},
|
|
2111
|
+
offset: flipOffset(offset, i)
|
|
2112
|
+
});
|
|
2107
2113
|
}
|
|
2108
2114
|
|
|
2109
2115
|
function flipAxis(element, target, options) {
|
|
@@ -2111,12 +2117,12 @@
|
|
|
2111
2117
|
...options,
|
|
2112
2118
|
attach: {
|
|
2113
2119
|
element: options.attach.element.map(flipAttachAxis).reverse(),
|
|
2114
|
-
target: options.attach.target.map(flipAttachAxis).reverse()
|
|
2115
|
-
|
|
2120
|
+
target: options.attach.target.map(flipAttachAxis).reverse()
|
|
2121
|
+
},
|
|
2116
2122
|
offset: options.offset.reverse(),
|
|
2117
2123
|
placement: options.placement.reverse(),
|
|
2118
|
-
recursion: true
|
|
2119
|
-
|
|
2124
|
+
recursion: true
|
|
2125
|
+
});
|
|
2120
2126
|
}
|
|
2121
2127
|
|
|
2122
2128
|
function flipAttach(attach, i) {
|
|
@@ -2340,8 +2346,8 @@
|
|
|
2340
2346
|
|
|
2341
2347
|
set(element) {
|
|
2342
2348
|
container = $(element);
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2349
|
+
}
|
|
2350
|
+
});
|
|
2345
2351
|
|
|
2346
2352
|
function update(data, e) {
|
|
2347
2353
|
if (!data) {
|
|
@@ -2463,8 +2469,8 @@
|
|
|
2463
2469
|
|
|
2464
2470
|
function runWatches(initial) {
|
|
2465
2471
|
const {
|
|
2466
|
-
$options: { computed }
|
|
2467
|
-
this;
|
|
2472
|
+
$options: { computed }
|
|
2473
|
+
} = this;
|
|
2468
2474
|
const values = { ...this._computed };
|
|
2469
2475
|
this._computed = {};
|
|
2470
2476
|
|
|
@@ -2642,8 +2648,8 @@
|
|
|
2642
2648
|
if (isUndefined(_computed[key])) {
|
|
2643
2649
|
delete _computed[key];
|
|
2644
2650
|
}
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2651
|
+
}
|
|
2652
|
+
});
|
|
2647
2653
|
}
|
|
2648
2654
|
|
|
2649
2655
|
function registerEvent(component, event, key) {
|
|
@@ -2740,8 +2746,8 @@
|
|
|
2740
2746
|
const observer = new MutationObserver(() => component._callWatches());
|
|
2741
2747
|
observer.observe(el, {
|
|
2742
2748
|
childList: true,
|
|
2743
|
-
subtree: true
|
|
2744
|
-
|
|
2749
|
+
subtree: true
|
|
2750
|
+
});
|
|
2745
2751
|
|
|
2746
2752
|
return observer;
|
|
2747
2753
|
}
|
|
@@ -2773,8 +2779,8 @@
|
|
|
2773
2779
|
|
|
2774
2780
|
observer.observe(el, {
|
|
2775
2781
|
attributes: true,
|
|
2776
|
-
attributeFilter: filter.concat(filter.map((key) => "data-" + key))
|
|
2777
|
-
|
|
2782
|
+
attributeFilter: filter.concat(filter.map((key) => "data-" + key))
|
|
2783
|
+
});
|
|
2778
2784
|
|
|
2779
2785
|
return observer;
|
|
2780
2786
|
}
|
|
@@ -2944,7 +2950,7 @@
|
|
|
2944
2950
|
UIkit.data = '__uikit__';
|
|
2945
2951
|
UIkit.prefix = 'uk-';
|
|
2946
2952
|
UIkit.options = {};
|
|
2947
|
-
UIkit.version = '3.15.
|
|
2953
|
+
UIkit.version = '3.15.12-dev.e4023717f';
|
|
2948
2954
|
|
|
2949
2955
|
globalAPI(UIkit);
|
|
2950
2956
|
hooksAPI(UIkit);
|
|
@@ -2968,16 +2974,16 @@
|
|
|
2968
2974
|
document,
|
|
2969
2975
|
{
|
|
2970
2976
|
childList: true,
|
|
2971
|
-
subtree: true
|
|
2972
|
-
|
|
2977
|
+
subtree: true
|
|
2978
|
+
});
|
|
2973
2979
|
|
|
2974
2980
|
|
|
2975
2981
|
new MutationObserver((records) => records.forEach(applyAttributeMutation)).observe(
|
|
2976
2982
|
document,
|
|
2977
2983
|
{
|
|
2978
2984
|
attributes: true,
|
|
2979
|
-
subtree: true
|
|
2980
|
-
|
|
2985
|
+
subtree: true
|
|
2986
|
+
});
|
|
2981
2987
|
|
|
2982
2988
|
|
|
2983
2989
|
UIkit._initialized = true;
|
|
@@ -3010,12 +3016,13 @@
|
|
|
3010
3016
|
var Class = {
|
|
3011
3017
|
connected() {
|
|
3012
3018
|
addClass(this.$el, this.$options.id);
|
|
3013
|
-
}
|
|
3019
|
+
}
|
|
3020
|
+
};
|
|
3014
3021
|
|
|
3015
3022
|
var Lazyload = {
|
|
3016
3023
|
data: {
|
|
3017
|
-
preload: 5
|
|
3018
|
-
|
|
3024
|
+
preload: 5
|
|
3025
|
+
},
|
|
3019
3026
|
|
|
3020
3027
|
methods: {
|
|
3021
3028
|
lazyload(observeTargets, targets) {if (observeTargets === void 0) {observeTargets = this.$el;}if (targets === void 0) {targets = this.$el;}
|
|
@@ -3034,7 +3041,9 @@
|
|
|
3034
3041
|
}
|
|
3035
3042
|
}));
|
|
3036
3043
|
|
|
3037
|
-
}
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
};
|
|
3038
3047
|
|
|
3039
3048
|
var Togglable = {
|
|
3040
3049
|
props: {
|
|
@@ -3043,8 +3052,8 @@
|
|
|
3043
3052
|
duration: Number,
|
|
3044
3053
|
velocity: Number,
|
|
3045
3054
|
origin: String,
|
|
3046
|
-
transition: String
|
|
3047
|
-
|
|
3055
|
+
transition: String
|
|
3056
|
+
},
|
|
3048
3057
|
|
|
3049
3058
|
data: {
|
|
3050
3059
|
cls: false,
|
|
@@ -3054,8 +3063,8 @@
|
|
|
3054
3063
|
origin: false,
|
|
3055
3064
|
transition: 'ease',
|
|
3056
3065
|
clsEnter: 'uk-togglabe-enter',
|
|
3057
|
-
clsLeave: 'uk-togglabe-leave'
|
|
3058
|
-
|
|
3066
|
+
clsLeave: 'uk-togglabe-leave'
|
|
3067
|
+
},
|
|
3059
3068
|
|
|
3060
3069
|
computed: {
|
|
3061
3070
|
hasAnimation(_ref) {let { animation } = _ref;
|
|
@@ -3064,8 +3073,8 @@
|
|
|
3064
3073
|
|
|
3065
3074
|
hasTransition(_ref2) {let { animation } = _ref2;
|
|
3066
3075
|
return ['slide', 'reveal'].some((transition) => startsWith(animation[0], transition));
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3069
3078
|
|
|
3070
3079
|
methods: {
|
|
3071
3080
|
toggleElement(targets, toggle, animate) {
|
|
@@ -3142,9 +3151,9 @@
|
|
|
3142
3151
|
if (changed) {
|
|
3143
3152
|
trigger(el, 'toggled', [toggled, this]);
|
|
3144
3153
|
}
|
|
3145
|
-
}
|
|
3146
|
-
|
|
3147
|
-
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
};
|
|
3148
3157
|
|
|
3149
3158
|
function toggleInstant(el, show, _ref3) {let { _toggle } = _ref3;
|
|
3150
3159
|
Animation.cancel(el);
|
|
@@ -3216,9 +3225,9 @@
|
|
|
3216
3225
|
'borderBottom',
|
|
3217
3226
|
'borderLeft',
|
|
3218
3227
|
'borderImage',
|
|
3219
|
-
marginStartProp])
|
|
3220
|
-
|
|
3228
|
+
marginStartProp])
|
|
3221
3229
|
|
|
3230
|
+
});
|
|
3222
3231
|
|
|
3223
3232
|
css(el, {
|
|
3224
3233
|
padding: 0,
|
|
@@ -3229,8 +3238,8 @@
|
|
|
3229
3238
|
width: dim.width,
|
|
3230
3239
|
height: dim.height,
|
|
3231
3240
|
overflow: 'hidden',
|
|
3232
|
-
[dimProp]: currentDim
|
|
3233
|
-
|
|
3241
|
+
[dimProp]: currentDim
|
|
3242
|
+
});
|
|
3234
3243
|
|
|
3235
3244
|
const percent = currentDim / endDim;
|
|
3236
3245
|
duration = (velocity * endDim + duration) * (show ? 1 - percent : percent);
|
|
@@ -3284,8 +3293,8 @@
|
|
|
3284
3293
|
multiple: Boolean,
|
|
3285
3294
|
toggle: String,
|
|
3286
3295
|
content: String,
|
|
3287
|
-
offset: Number
|
|
3288
|
-
|
|
3296
|
+
offset: Number
|
|
3297
|
+
},
|
|
3289
3298
|
|
|
3290
3299
|
data: {
|
|
3291
3300
|
targets: '> *',
|
|
@@ -3296,8 +3305,8 @@
|
|
|
3296
3305
|
clsOpen: 'uk-open',
|
|
3297
3306
|
toggle: '> .uk-accordion-title',
|
|
3298
3307
|
content: '> .uk-accordion-content',
|
|
3299
|
-
offset: 0
|
|
3300
|
-
|
|
3308
|
+
offset: 0
|
|
3309
|
+
},
|
|
3301
3310
|
|
|
3302
3311
|
computed: {
|
|
3303
3312
|
items: {
|
|
@@ -3319,8 +3328,8 @@
|
|
|
3319
3328
|
}
|
|
3320
3329
|
},
|
|
3321
3330
|
|
|
3322
|
-
immediate: true
|
|
3323
|
-
|
|
3331
|
+
immediate: true
|
|
3332
|
+
},
|
|
3324
3333
|
|
|
3325
3334
|
toggles(_ref2) {let { toggle } = _ref2;
|
|
3326
3335
|
return this.items.map((item) => $(toggle, item));
|
|
@@ -3343,9 +3352,9 @@
|
|
|
3343
3352
|
}
|
|
3344
3353
|
},
|
|
3345
3354
|
|
|
3346
|
-
immediate: true
|
|
3347
|
-
|
|
3348
|
-
|
|
3355
|
+
immediate: true
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3349
3358
|
|
|
3350
3359
|
connected() {
|
|
3351
3360
|
this.lazyload();
|
|
@@ -3366,8 +3375,8 @@
|
|
|
3366
3375
|
this._off = keepScrollPosition(e.target);
|
|
3367
3376
|
await this.toggle(index(this.toggles, e.current));
|
|
3368
3377
|
this._off();
|
|
3369
|
-
}
|
|
3370
|
-
|
|
3378
|
+
}
|
|
3379
|
+
}],
|
|
3371
3380
|
|
|
3372
3381
|
|
|
3373
3382
|
methods: {
|
|
@@ -3399,9 +3408,9 @@
|
|
|
3399
3408
|
})));
|
|
3400
3409
|
|
|
3401
3410
|
|
|
3402
|
-
}
|
|
3403
|
-
|
|
3404
|
-
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
};
|
|
3405
3414
|
|
|
3406
3415
|
function hide(el, hide) {
|
|
3407
3416
|
el && (el.hidden = hide);
|
|
@@ -3462,14 +3471,14 @@
|
|
|
3462
3471
|
|
|
3463
3472
|
props: {
|
|
3464
3473
|
animation: Boolean,
|
|
3465
|
-
close: String
|
|
3466
|
-
|
|
3474
|
+
close: String
|
|
3475
|
+
},
|
|
3467
3476
|
|
|
3468
3477
|
data: {
|
|
3469
3478
|
animation: true,
|
|
3470
3479
|
selClose: '.uk-alert-close',
|
|
3471
|
-
duration: 150
|
|
3472
|
-
|
|
3480
|
+
duration: 150
|
|
3481
|
+
},
|
|
3473
3482
|
|
|
3474
3483
|
events: {
|
|
3475
3484
|
name: 'click',
|
|
@@ -3481,16 +3490,16 @@
|
|
|
3481
3490
|
handler(e) {
|
|
3482
3491
|
e.preventDefault();
|
|
3483
3492
|
this.close();
|
|
3484
|
-
}
|
|
3485
|
-
|
|
3493
|
+
}
|
|
3494
|
+
},
|
|
3486
3495
|
|
|
3487
3496
|
methods: {
|
|
3488
3497
|
async close() {
|
|
3489
3498
|
await this.toggleElement(this.$el, false, animate$1);
|
|
3490
3499
|
this.$destroy(true);
|
|
3491
|
-
}
|
|
3492
|
-
|
|
3493
|
-
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
};
|
|
3494
3503
|
|
|
3495
3504
|
function animate$1(el, show, _ref) {let { duration, transition, velocity } = _ref;
|
|
3496
3505
|
const height = toFloat(css(el, 'height'));
|
|
@@ -3505,8 +3514,8 @@
|
|
|
3505
3514
|
paddingBottom: 0,
|
|
3506
3515
|
borderTop: 0,
|
|
3507
3516
|
borderBottom: 0,
|
|
3508
|
-
opacity: 0
|
|
3509
|
-
|
|
3517
|
+
opacity: 0
|
|
3518
|
+
},
|
|
3510
3519
|
velocity * height + duration,
|
|
3511
3520
|
transition);
|
|
3512
3521
|
|
|
@@ -3517,13 +3526,13 @@
|
|
|
3517
3526
|
|
|
3518
3527
|
props: {
|
|
3519
3528
|
automute: Boolean,
|
|
3520
|
-
autoplay: Boolean
|
|
3521
|
-
|
|
3529
|
+
autoplay: Boolean
|
|
3530
|
+
},
|
|
3522
3531
|
|
|
3523
3532
|
data: {
|
|
3524
3533
|
automute: false,
|
|
3525
|
-
autoplay: true
|
|
3526
|
-
|
|
3534
|
+
autoplay: true
|
|
3535
|
+
},
|
|
3527
3536
|
|
|
3528
3537
|
connected() {
|
|
3529
3538
|
this.inView = this.autoplay === 'inview';
|
|
@@ -3551,8 +3560,8 @@
|
|
|
3551
3560
|
|
|
3552
3561
|
return {
|
|
3553
3562
|
visible: isVisible(this.$el) && css(this.$el, 'visibility') !== 'hidden',
|
|
3554
|
-
inView: this.inView && isInView(this.$el)
|
|
3555
|
-
|
|
3563
|
+
inView: this.inView && isInView(this.$el)
|
|
3564
|
+
};
|
|
3556
3565
|
},
|
|
3557
3566
|
|
|
3558
3567
|
write(_ref) {let { visible, inView } = _ref;
|
|
@@ -3561,7 +3570,9 @@
|
|
|
3561
3570
|
} else if (this.autoplay === true || this.inView && inView) {
|
|
3562
3571
|
play(this.$el);
|
|
3563
3572
|
}
|
|
3564
|
-
}
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
};
|
|
3565
3576
|
|
|
3566
3577
|
var Resize = {
|
|
3567
3578
|
connected() {var _this$$options$resize;
|
|
@@ -3570,25 +3581,26 @@
|
|
|
3570
3581
|
this.$emit('resize')));
|
|
3571
3582
|
|
|
3572
3583
|
|
|
3573
|
-
}
|
|
3584
|
+
}
|
|
3585
|
+
};
|
|
3574
3586
|
|
|
3575
3587
|
var cover = {
|
|
3576
3588
|
mixins: [Resize, Video],
|
|
3577
3589
|
|
|
3578
3590
|
props: {
|
|
3579
3591
|
width: Number,
|
|
3580
|
-
height: Number
|
|
3581
|
-
|
|
3592
|
+
height: Number
|
|
3593
|
+
},
|
|
3582
3594
|
|
|
3583
3595
|
data: {
|
|
3584
|
-
automute: true
|
|
3585
|
-
|
|
3596
|
+
automute: true
|
|
3597
|
+
},
|
|
3586
3598
|
|
|
3587
3599
|
events: {
|
|
3588
3600
|
'load loadedmetadata'() {
|
|
3589
3601
|
this.$emit('resize');
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3602
|
+
}
|
|
3603
|
+
},
|
|
3592
3604
|
|
|
3593
3605
|
resizeTargets() {
|
|
3594
3606
|
return [this.$el, getPositionedParent(this.$el) || parent(this.$el)];
|
|
@@ -3604,8 +3616,8 @@
|
|
|
3604
3616
|
if (!dim.width || !dim.height) {
|
|
3605
3617
|
const intrinsic = {
|
|
3606
3618
|
width: $el.naturalWidth || $el.videoWidth || $el.clientWidth,
|
|
3607
|
-
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3608
|
-
|
|
3619
|
+
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3620
|
+
};
|
|
3609
3621
|
|
|
3610
3622
|
if (dim.width) {
|
|
3611
3623
|
dim = ratio(intrinsic, 'width', dim.width);
|
|
@@ -3620,8 +3632,8 @@
|
|
|
3620
3632
|
getPositionedParent($el) || parent($el);
|
|
3621
3633
|
const coverDim = cover(dim, {
|
|
3622
3634
|
width: coverWidth + (coverWidth % 2 ? 1 : 0),
|
|
3623
|
-
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3624
|
-
|
|
3635
|
+
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3636
|
+
});
|
|
3625
3637
|
|
|
3626
3638
|
if (!coverDim.width || !coverDim.height) {
|
|
3627
3639
|
return false;
|
|
@@ -3634,9 +3646,9 @@
|
|
|
3634
3646
|
css(this.$el, { height, width });
|
|
3635
3647
|
},
|
|
3636
3648
|
|
|
3637
|
-
events: ['resize']
|
|
3638
|
-
|
|
3639
|
-
|
|
3649
|
+
events: ['resize']
|
|
3650
|
+
}
|
|
3651
|
+
};
|
|
3640
3652
|
|
|
3641
3653
|
function getPositionedParent(el) {
|
|
3642
3654
|
while (el = parent(el)) {
|
|
@@ -3648,17 +3660,19 @@
|
|
|
3648
3660
|
|
|
3649
3661
|
var Container = {
|
|
3650
3662
|
props: {
|
|
3651
|
-
container: Boolean
|
|
3652
|
-
|
|
3663
|
+
container: Boolean
|
|
3664
|
+
},
|
|
3653
3665
|
|
|
3654
3666
|
data: {
|
|
3655
|
-
container: true
|
|
3656
|
-
|
|
3667
|
+
container: true
|
|
3668
|
+
},
|
|
3657
3669
|
|
|
3658
3670
|
computed: {
|
|
3659
3671
|
container(_ref) {let { container } = _ref;
|
|
3660
3672
|
return container === true && this.$container || container && $(container);
|
|
3661
|
-
}
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
};
|
|
3662
3676
|
|
|
3663
3677
|
var Position = {
|
|
3664
3678
|
props: {
|
|
@@ -3666,16 +3680,16 @@
|
|
|
3666
3680
|
offset: null,
|
|
3667
3681
|
flip: Boolean,
|
|
3668
3682
|
shift: Boolean,
|
|
3669
|
-
inset: Boolean
|
|
3670
|
-
|
|
3683
|
+
inset: Boolean
|
|
3684
|
+
},
|
|
3671
3685
|
|
|
3672
3686
|
data: {
|
|
3673
3687
|
pos: "bottom-" + (isRtl ? 'right' : 'left'),
|
|
3674
3688
|
offset: false,
|
|
3675
3689
|
flip: true,
|
|
3676
3690
|
shift: true,
|
|
3677
|
-
inset: false
|
|
3678
|
-
|
|
3691
|
+
inset: false
|
|
3692
|
+
},
|
|
3679
3693
|
|
|
3680
3694
|
connected() {
|
|
3681
3695
|
this.pos = this.$props.pos.split('-').concat('center').slice(0, 2);
|
|
@@ -3690,8 +3704,8 @@
|
|
|
3690
3704
|
|
|
3691
3705
|
const attach = {
|
|
3692
3706
|
element: [this.inset ? this.dir : flipPosition(this.dir), this.align],
|
|
3693
|
-
target: [this.dir, this.align]
|
|
3694
|
-
|
|
3707
|
+
target: [this.dir, this.align]
|
|
3708
|
+
};
|
|
3695
3709
|
|
|
3696
3710
|
if (this.axis === 'y') {
|
|
3697
3711
|
for (const prop in attach) {
|
|
@@ -3713,8 +3727,8 @@
|
|
|
3713
3727
|
offset,
|
|
3714
3728
|
boundary,
|
|
3715
3729
|
placement,
|
|
3716
|
-
viewportOffset: this.getViewportOffset(element)
|
|
3717
|
-
|
|
3730
|
+
viewportOffset: this.getViewportOffset(element)
|
|
3731
|
+
});
|
|
3718
3732
|
|
|
3719
3733
|
// Restore scroll position
|
|
3720
3734
|
scrollElement.scrollTop = scrollTop;
|
|
@@ -3745,7 +3759,9 @@
|
|
|
3745
3759
|
|
|
3746
3760
|
getViewportOffset(element) {
|
|
3747
3761
|
return toPx(css(element, '--uk-position-viewport-offset'));
|
|
3748
|
-
}
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
};
|
|
3749
3765
|
|
|
3750
3766
|
var Style = {
|
|
3751
3767
|
beforeConnect() {
|
|
@@ -3754,7 +3770,8 @@
|
|
|
3754
3770
|
|
|
3755
3771
|
disconnected() {
|
|
3756
3772
|
attr(this.$el, 'style', this._style);
|
|
3757
|
-
}
|
|
3773
|
+
}
|
|
3774
|
+
};
|
|
3758
3775
|
|
|
3759
3776
|
const active$1 = [];
|
|
3760
3777
|
|
|
@@ -3766,16 +3783,16 @@
|
|
|
3766
3783
|
selClose: String,
|
|
3767
3784
|
escClose: Boolean,
|
|
3768
3785
|
bgClose: Boolean,
|
|
3769
|
-
stack: Boolean
|
|
3770
|
-
|
|
3786
|
+
stack: Boolean
|
|
3787
|
+
},
|
|
3771
3788
|
|
|
3772
3789
|
data: {
|
|
3773
3790
|
cls: 'uk-open',
|
|
3774
3791
|
escClose: true,
|
|
3775
3792
|
bgClose: true,
|
|
3776
3793
|
overlay: true,
|
|
3777
|
-
stack: false
|
|
3778
|
-
|
|
3794
|
+
stack: false
|
|
3795
|
+
},
|
|
3779
3796
|
|
|
3780
3797
|
computed: {
|
|
3781
3798
|
panel(_ref, $el) {let { selPanel } = _ref;
|
|
@@ -3788,8 +3805,8 @@
|
|
|
3788
3805
|
|
|
3789
3806
|
bgClose(_ref2) {let { bgClose } = _ref2;
|
|
3790
3807
|
return bgClose && this.panel;
|
|
3791
|
-
}
|
|
3792
|
-
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3793
3810
|
|
|
3794
3811
|
beforeDisconnect() {
|
|
3795
3812
|
if (includes(active$1, this)) {
|
|
@@ -3808,8 +3825,8 @@
|
|
|
3808
3825
|
handler(e) {
|
|
3809
3826
|
e.preventDefault();
|
|
3810
3827
|
this.hide();
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3813
3830
|
|
|
3814
3831
|
{
|
|
3815
3832
|
name: 'click',
|
|
@@ -3829,8 +3846,8 @@
|
|
|
3829
3846
|
{
|
|
3830
3847
|
this.hide();
|
|
3831
3848
|
}
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3834
3851
|
|
|
3835
3852
|
{
|
|
3836
3853
|
name: 'toggle',
|
|
@@ -3847,8 +3864,8 @@
|
|
|
3847
3864
|
if (this.isToggled() === includes(active$1, this)) {
|
|
3848
3865
|
this.toggle();
|
|
3849
3866
|
}
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3852
3869
|
|
|
3853
3870
|
{
|
|
3854
3871
|
name: 'beforeshow',
|
|
@@ -3866,8 +3883,8 @@
|
|
|
3866
3883
|
} else {
|
|
3867
3884
|
active$1.push(this);
|
|
3868
3885
|
}
|
|
3869
|
-
}
|
|
3870
|
-
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3871
3888
|
|
|
3872
3889
|
{
|
|
3873
3890
|
name: 'show',
|
|
@@ -3940,8 +3957,8 @@
|
|
|
3940
3957
|
{ self: true });
|
|
3941
3958
|
|
|
3942
3959
|
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3960
|
+
}
|
|
3961
|
+
},
|
|
3945
3962
|
|
|
3946
3963
|
{
|
|
3947
3964
|
name: 'shown',
|
|
@@ -3956,8 +3973,8 @@
|
|
|
3956
3973
|
if (!$(':focus', this.$el)) {
|
|
3957
3974
|
this.$el.focus();
|
|
3958
3975
|
}
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3976
|
+
}
|
|
3977
|
+
},
|
|
3961
3978
|
|
|
3962
3979
|
{
|
|
3963
3980
|
name: 'hidden',
|
|
@@ -3974,8 +3991,8 @@
|
|
|
3974
3991
|
if (!active$1.some((modal) => modal.clsPage === this.clsPage)) {
|
|
3975
3992
|
removeClass(document.documentElement, this.clsPage);
|
|
3976
3993
|
}
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3994
|
+
}
|
|
3995
|
+
}],
|
|
3979
3996
|
|
|
3980
3997
|
|
|
3981
3998
|
methods: {
|
|
@@ -3996,9 +4013,9 @@
|
|
|
3996
4013
|
|
|
3997
4014
|
hide() {
|
|
3998
4015
|
return this.toggleElement(this.$el, false, animate);
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
|
-
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
};
|
|
4002
4019
|
|
|
4003
4020
|
function animate(el, show, _ref6) {let { transitionElement, _toggle } = _ref6;
|
|
4004
4021
|
return new Promise((resolve, reject) =>
|
|
@@ -4013,8 +4030,8 @@
|
|
|
4013
4030
|
'transitionstart',
|
|
4014
4031
|
() => {
|
|
4015
4032
|
once(transitionElement, 'transitionend transitioncancel', resolve, {
|
|
4016
|
-
self: true
|
|
4017
|
-
|
|
4033
|
+
self: true
|
|
4034
|
+
});
|
|
4018
4035
|
clearTimeout(timer);
|
|
4019
4036
|
},
|
|
4020
4037
|
{ self: true });
|
|
@@ -4095,8 +4112,8 @@
|
|
|
4095
4112
|
css(scrollingElement, {
|
|
4096
4113
|
overflowY: 'hidden',
|
|
4097
4114
|
touchAction: 'none',
|
|
4098
|
-
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4099
|
-
|
|
4115
|
+
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4116
|
+
});
|
|
4100
4117
|
return () => {
|
|
4101
4118
|
prevented = false;
|
|
4102
4119
|
css(scrollingElement, { overflowY: '', touchAction: '', paddingRight: '' });
|
|
@@ -4139,8 +4156,8 @@
|
|
|
4139
4156
|
autoUpdate: Boolean,
|
|
4140
4157
|
clsDrop: String,
|
|
4141
4158
|
animateOut: Boolean,
|
|
4142
|
-
bgScroll: Boolean
|
|
4143
|
-
|
|
4159
|
+
bgScroll: Boolean
|
|
4160
|
+
},
|
|
4144
4161
|
|
|
4145
4162
|
data: {
|
|
4146
4163
|
mode: ['click', 'hover'],
|
|
@@ -4160,8 +4177,8 @@
|
|
|
4160
4177
|
bgScroll: true,
|
|
4161
4178
|
animation: ['uk-animation-fade'],
|
|
4162
4179
|
cls: 'uk-open',
|
|
4163
|
-
container: false
|
|
4164
|
-
|
|
4180
|
+
container: false
|
|
4181
|
+
},
|
|
4165
4182
|
|
|
4166
4183
|
computed: {
|
|
4167
4184
|
boundary(_ref, $el) {let { boundary, boundaryX, boundaryY } = _ref;
|
|
@@ -4179,8 +4196,8 @@
|
|
|
4179
4196
|
targetX === true ? window : query(targetX, $el),
|
|
4180
4197
|
targetY === true ? window : query(targetY, $el)];
|
|
4181
4198
|
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4199
|
+
}
|
|
4200
|
+
},
|
|
4184
4201
|
|
|
4185
4202
|
created() {
|
|
4186
4203
|
this.tracker = new MouseTracker();
|
|
@@ -4196,8 +4213,8 @@
|
|
|
4196
4213
|
if (this.toggle && !this.targetEl) {
|
|
4197
4214
|
this.targetEl = this.$create('toggle', query(this.toggle, this.$el), {
|
|
4198
4215
|
target: this.$el,
|
|
4199
|
-
mode: this.mode
|
|
4200
|
-
|
|
4216
|
+
mode: this.mode
|
|
4217
|
+
}).$el;
|
|
4201
4218
|
attr(this.targetEl, 'aria-haspopup', true);
|
|
4202
4219
|
this.lazyload(this.targetEl);
|
|
4203
4220
|
}
|
|
@@ -4221,8 +4238,8 @@
|
|
|
4221
4238
|
handler(e) {
|
|
4222
4239
|
e.preventDefault();
|
|
4223
4240
|
this.hide(false);
|
|
4224
|
-
}
|
|
4225
|
-
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4226
4243
|
|
|
4227
4244
|
{
|
|
4228
4245
|
name: 'click',
|
|
@@ -4241,16 +4258,16 @@
|
|
|
4241
4258
|
{
|
|
4242
4259
|
this.hide(false);
|
|
4243
4260
|
}
|
|
4244
|
-
}
|
|
4245
|
-
|
|
4261
|
+
}
|
|
4262
|
+
},
|
|
4246
4263
|
|
|
4247
4264
|
{
|
|
4248
4265
|
name: 'beforescroll',
|
|
4249
4266
|
|
|
4250
4267
|
handler() {
|
|
4251
4268
|
this.hide(false);
|
|
4252
|
-
}
|
|
4253
|
-
|
|
4269
|
+
}
|
|
4270
|
+
},
|
|
4254
4271
|
|
|
4255
4272
|
{
|
|
4256
4273
|
name: 'toggle',
|
|
@@ -4265,8 +4282,8 @@
|
|
|
4265
4282
|
} else {
|
|
4266
4283
|
this.show(toggle == null ? void 0 : toggle.$el, false);
|
|
4267
4284
|
}
|
|
4268
|
-
}
|
|
4269
|
-
|
|
4285
|
+
}
|
|
4286
|
+
},
|
|
4270
4287
|
|
|
4271
4288
|
{
|
|
4272
4289
|
name: 'toggleshow',
|
|
@@ -4276,8 +4293,8 @@
|
|
|
4276
4293
|
handler(e, toggle) {
|
|
4277
4294
|
e.preventDefault();
|
|
4278
4295
|
this.show(toggle == null ? void 0 : toggle.$el);
|
|
4279
|
-
}
|
|
4280
|
-
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4281
4298
|
|
|
4282
4299
|
{
|
|
4283
4300
|
name: 'togglehide',
|
|
@@ -4289,8 +4306,8 @@
|
|
|
4289
4306
|
if (!matches(this.$el, ':focus,:hover')) {
|
|
4290
4307
|
this.hide();
|
|
4291
4308
|
}
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4309
|
+
}
|
|
4310
|
+
},
|
|
4294
4311
|
|
|
4295
4312
|
{
|
|
4296
4313
|
name: pointerEnter + " focusin",
|
|
@@ -4303,8 +4320,8 @@
|
|
|
4303
4320
|
if (!isTouch(e)) {
|
|
4304
4321
|
this.clearTimers();
|
|
4305
4322
|
}
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4323
|
+
}
|
|
4324
|
+
},
|
|
4308
4325
|
|
|
4309
4326
|
{
|
|
4310
4327
|
name: pointerLeave + " focusout",
|
|
@@ -4317,8 +4334,8 @@
|
|
|
4317
4334
|
if (!isTouch(e) && e.relatedTarget) {
|
|
4318
4335
|
this.hide();
|
|
4319
4336
|
}
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4337
|
+
}
|
|
4338
|
+
},
|
|
4322
4339
|
|
|
4323
4340
|
{
|
|
4324
4341
|
name: 'toggled',
|
|
@@ -4332,8 +4349,8 @@
|
|
|
4332
4349
|
|
|
4333
4350
|
this.clearTimers();
|
|
4334
4351
|
this.position();
|
|
4335
|
-
}
|
|
4336
|
-
|
|
4352
|
+
}
|
|
4353
|
+
},
|
|
4337
4354
|
|
|
4338
4355
|
{
|
|
4339
4356
|
name: 'show',
|
|
@@ -4388,8 +4405,8 @@
|
|
|
4388
4405
|
...(this.autoUpdate ?
|
|
4389
4406
|
[
|
|
4390
4407
|
on([document, scrollParents(this.$el)], 'scroll', update, {
|
|
4391
|
-
passive: true
|
|
4392
|
-
|
|
4408
|
+
passive: true
|
|
4409
|
+
})] :
|
|
4393
4410
|
|
|
4394
4411
|
[]),
|
|
4395
4412
|
|
|
@@ -4399,10 +4416,10 @@
|
|
|
4399
4416
|
|
|
4400
4417
|
|
|
4401
4418
|
once(this.$el, 'hide', () => handlers.forEach((handler) => handler()), {
|
|
4402
|
-
self: true
|
|
4403
|
-
|
|
4404
|
-
}
|
|
4405
|
-
|
|
4419
|
+
self: true
|
|
4420
|
+
});
|
|
4421
|
+
}
|
|
4422
|
+
},
|
|
4406
4423
|
|
|
4407
4424
|
{
|
|
4408
4425
|
name: 'beforehide',
|
|
@@ -4411,8 +4428,8 @@
|
|
|
4411
4428
|
|
|
4412
4429
|
handler() {
|
|
4413
4430
|
this.clearTimers();
|
|
4414
|
-
}
|
|
4415
|
-
|
|
4431
|
+
}
|
|
4432
|
+
},
|
|
4416
4433
|
|
|
4417
4434
|
{
|
|
4418
4435
|
name: 'hide',
|
|
@@ -4428,8 +4445,8 @@
|
|
|
4428
4445
|
|
|
4429
4446
|
active = this.isActive() ? null : active;
|
|
4430
4447
|
this.tracker.cancel();
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4448
|
+
}
|
|
4449
|
+
}],
|
|
4433
4450
|
|
|
4434
4451
|
|
|
4435
4452
|
update: {
|
|
@@ -4437,8 +4454,8 @@
|
|
|
4437
4454
|
if (this.isToggled() && !hasClass(this.$el, this.clsEnter)) {
|
|
4438
4455
|
this.position();
|
|
4439
4456
|
}
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4457
|
+
}
|
|
4458
|
+
},
|
|
4442
4459
|
|
|
4443
4460
|
methods: {
|
|
4444
4461
|
show(target, delay) {if (target === void 0) {target = this.targetEl;}if (delay === void 0) {delay = true;}
|
|
@@ -4514,7 +4531,7 @@
|
|
|
4514
4531
|
// Ensure none positioned element does not generate scrollbars
|
|
4515
4532
|
this.$el.hidden = true;
|
|
4516
4533
|
|
|
4517
|
-
const viewports = this.target.map((target) =>
|
|
4534
|
+
const viewports = this.target.map((target) => getViewport$1(this.$el, target));
|
|
4518
4535
|
const viewportOffset = this.getViewportOffset(this.$el);
|
|
4519
4536
|
|
|
4520
4537
|
const dirs = [
|
|
@@ -4529,8 +4546,8 @@
|
|
|
4529
4546
|
offset(this.boundary[i])[prop],
|
|
4530
4547
|
viewports[i][prop] - 2 * viewportOffset),
|
|
4531
4548
|
|
|
4532
|
-
["overflow-" + axis]: 'auto'
|
|
4533
|
-
|
|
4549
|
+
["overflow-" + axis]: 'auto'
|
|
4550
|
+
});
|
|
4534
4551
|
}
|
|
4535
4552
|
}
|
|
4536
4553
|
|
|
@@ -4564,15 +4581,15 @@
|
|
|
4564
4581
|
offset(this.boundary[i])[end],
|
|
4565
4582
|
viewports[i][end] - viewportOffset) -
|
|
4566
4583
|
targetOffset[end]) - positionOffset,
|
|
4567
|
-
["overflow-" + axis]: 'auto'
|
|
4568
|
-
|
|
4584
|
+
["overflow-" + axis]: 'auto'
|
|
4585
|
+
});
|
|
4569
4586
|
|
|
4570
4587
|
this.positionAt(this.$el, this.target, this.boundary);
|
|
4571
4588
|
}
|
|
4572
4589
|
}
|
|
4573
|
-
}
|
|
4574
|
-
|
|
4575
|
-
|
|
4590
|
+
}
|
|
4591
|
+
}
|
|
4592
|
+
};
|
|
4576
4593
|
|
|
4577
4594
|
function getPositionedElements(el) {
|
|
4578
4595
|
const result = [];
|
|
@@ -4580,18 +4597,22 @@
|
|
|
4580
4597
|
return result;
|
|
4581
4598
|
}
|
|
4582
4599
|
|
|
4600
|
+
function getViewport$1(el, target) {
|
|
4601
|
+
return offsetViewport(scrollParents(target).find((parent) => within(el, parent)));
|
|
4602
|
+
}
|
|
4603
|
+
|
|
4583
4604
|
var formCustom = {
|
|
4584
4605
|
mixins: [Class],
|
|
4585
4606
|
|
|
4586
4607
|
args: 'target',
|
|
4587
4608
|
|
|
4588
4609
|
props: {
|
|
4589
|
-
target: Boolean
|
|
4590
|
-
|
|
4610
|
+
target: Boolean
|
|
4611
|
+
},
|
|
4591
4612
|
|
|
4592
4613
|
data: {
|
|
4593
|
-
target: false
|
|
4594
|
-
|
|
4614
|
+
target: false
|
|
4615
|
+
},
|
|
4595
4616
|
|
|
4596
4617
|
computed: {
|
|
4597
4618
|
input(_, $el) {
|
|
@@ -4608,8 +4629,8 @@
|
|
|
4608
4629
|
target === true && parent(this.input) === $el && this.input.nextElementSibling ||
|
|
4609
4630
|
$(target, $el)));
|
|
4610
4631
|
|
|
4611
|
-
}
|
|
4612
|
-
|
|
4632
|
+
}
|
|
4633
|
+
},
|
|
4613
4634
|
|
|
4614
4635
|
update() {var _input$files;
|
|
4615
4636
|
const { target, input } = this;
|
|
@@ -4639,8 +4660,8 @@
|
|
|
4639
4660
|
|
|
4640
4661
|
handler() {
|
|
4641
4662
|
this.$emit();
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4663
|
+
}
|
|
4664
|
+
},
|
|
4644
4665
|
|
|
4645
4666
|
{
|
|
4646
4667
|
name: 'reset',
|
|
@@ -4651,20 +4672,23 @@
|
|
|
4651
4672
|
|
|
4652
4673
|
handler() {
|
|
4653
4674
|
this.$emit();
|
|
4654
|
-
}
|
|
4675
|
+
}
|
|
4676
|
+
}]
|
|
4677
|
+
|
|
4678
|
+
};
|
|
4655
4679
|
|
|
4656
4680
|
var Margin = {
|
|
4657
4681
|
mixins: [Resize],
|
|
4658
4682
|
|
|
4659
4683
|
props: {
|
|
4660
4684
|
margin: String,
|
|
4661
|
-
firstColumn: Boolean
|
|
4662
|
-
|
|
4685
|
+
firstColumn: Boolean
|
|
4686
|
+
},
|
|
4663
4687
|
|
|
4664
4688
|
data: {
|
|
4665
4689
|
margin: 'uk-margin-small-top',
|
|
4666
|
-
firstColumn: 'uk-first-column'
|
|
4667
|
-
|
|
4690
|
+
firstColumn: 'uk-first-column'
|
|
4691
|
+
},
|
|
4668
4692
|
|
|
4669
4693
|
resizeTargets() {
|
|
4670
4694
|
return [this.$el, ...toArray(this.$el.children)];
|
|
@@ -4673,8 +4697,8 @@
|
|
|
4673
4697
|
connected() {
|
|
4674
4698
|
this.registerObserver(
|
|
4675
4699
|
observeMutation(this.$el, () => this.$reset(), {
|
|
4676
|
-
childList: true
|
|
4677
|
-
|
|
4700
|
+
childList: true
|
|
4701
|
+
}));
|
|
4678
4702
|
|
|
4679
4703
|
},
|
|
4680
4704
|
|
|
@@ -4684,8 +4708,8 @@
|
|
|
4684
4708
|
|
|
4685
4709
|
return {
|
|
4686
4710
|
rows,
|
|
4687
|
-
columns: getColumns(rows)
|
|
4688
|
-
|
|
4711
|
+
columns: getColumns(rows)
|
|
4712
|
+
};
|
|
4689
4713
|
},
|
|
4690
4714
|
|
|
4691
4715
|
write(_ref) {let { columns, rows } = _ref;
|
|
@@ -4697,9 +4721,9 @@
|
|
|
4697
4721
|
}
|
|
4698
4722
|
},
|
|
4699
4723
|
|
|
4700
|
-
events: ['resize']
|
|
4701
|
-
|
|
4702
|
-
|
|
4724
|
+
events: ['resize']
|
|
4725
|
+
}
|
|
4726
|
+
};
|
|
4703
4727
|
|
|
4704
4728
|
function getRows(items) {
|
|
4705
4729
|
return sortBy(items, 'top', 'bottom');
|
|
@@ -4775,8 +4799,8 @@
|
|
|
4775
4799
|
top: offsetTop,
|
|
4776
4800
|
left: offsetLeft,
|
|
4777
4801
|
bottom: offsetTop + offsetHeight,
|
|
4778
|
-
right: offsetLeft + offsetWidth
|
|
4779
|
-
|
|
4802
|
+
right: offsetLeft + offsetWidth
|
|
4803
|
+
};
|
|
4780
4804
|
}
|
|
4781
4805
|
|
|
4782
4806
|
var Scroll = {
|
|
@@ -4786,8 +4810,8 @@
|
|
|
4786
4810
|
|
|
4787
4811
|
disconnected() {
|
|
4788
4812
|
unregisterScrollListener(this._uid);
|
|
4789
|
-
}
|
|
4790
|
-
|
|
4813
|
+
}
|
|
4814
|
+
};
|
|
4791
4815
|
|
|
4792
4816
|
const scrollListeners = new Map();
|
|
4793
4817
|
let unbindScrollListener;
|
|
@@ -4796,8 +4820,8 @@
|
|
|
4796
4820
|
unbindScrollListener ||
|
|
4797
4821
|
on(window, 'scroll', () => scrollListeners.forEach((listener) => listener()), {
|
|
4798
4822
|
passive: true,
|
|
4799
|
-
capture: true
|
|
4800
|
-
|
|
4823
|
+
capture: true
|
|
4824
|
+
});
|
|
4801
4825
|
|
|
4802
4826
|
scrollListeners.set(id, listener);
|
|
4803
4827
|
}
|
|
@@ -4819,15 +4843,15 @@
|
|
|
4819
4843
|
|
|
4820
4844
|
props: {
|
|
4821
4845
|
masonry: Boolean,
|
|
4822
|
-
parallax: Number
|
|
4823
|
-
|
|
4846
|
+
parallax: Number
|
|
4847
|
+
},
|
|
4824
4848
|
|
|
4825
4849
|
data: {
|
|
4826
4850
|
margin: 'uk-grid-margin',
|
|
4827
4851
|
clsStack: 'uk-grid-stack',
|
|
4828
4852
|
masonry: false,
|
|
4829
|
-
parallax: 0
|
|
4830
|
-
|
|
4853
|
+
parallax: 0
|
|
4854
|
+
},
|
|
4831
4855
|
|
|
4832
4856
|
connected() {
|
|
4833
4857
|
this.masonry && addClass(this.$el, 'uk-flex-top uk-flex-wrap-top');
|
|
@@ -4844,8 +4868,8 @@
|
|
|
4844
4868
|
toggleClass(this.$el, this.clsStack, columns.length < 2);
|
|
4845
4869
|
},
|
|
4846
4870
|
|
|
4847
|
-
events: ['resize']
|
|
4848
|
-
|
|
4871
|
+
events: ['resize']
|
|
4872
|
+
},
|
|
4849
4873
|
|
|
4850
4874
|
{
|
|
4851
4875
|
read(data) {
|
|
@@ -4893,8 +4917,8 @@
|
|
|
4893
4917
|
height !== false && css(this.$el, 'height', height);
|
|
4894
4918
|
},
|
|
4895
4919
|
|
|
4896
|
-
events: ['resize']
|
|
4897
|
-
|
|
4920
|
+
events: ['resize']
|
|
4921
|
+
},
|
|
4898
4922
|
|
|
4899
4923
|
{
|
|
4900
4924
|
read() {
|
|
@@ -4905,8 +4929,8 @@
|
|
|
4905
4929
|
return {
|
|
4906
4930
|
scrolled: this.parallax ?
|
|
4907
4931
|
scrolledOver(this.$el) * Math.abs(this.parallax) :
|
|
4908
|
-
false
|
|
4909
|
-
|
|
4932
|
+
false
|
|
4933
|
+
};
|
|
4910
4934
|
},
|
|
4911
4935
|
|
|
4912
4936
|
write(_ref3) {let { columns, scrolled, translates } = _ref3;
|
|
@@ -4930,10 +4954,10 @@
|
|
|
4930
4954
|
|
|
4931
4955
|
},
|
|
4932
4956
|
|
|
4933
|
-
events: ['scroll', 'resize']
|
|
4934
|
-
|
|
4935
|
-
|
|
4957
|
+
events: ['scroll', 'resize']
|
|
4958
|
+
}]
|
|
4936
4959
|
|
|
4960
|
+
};
|
|
4937
4961
|
|
|
4938
4962
|
function positionedAbsolute(el) {
|
|
4939
4963
|
return children(el).some((el) => css(el, 'position') === 'absolute');
|
|
@@ -4968,13 +4992,13 @@
|
|
|
4968
4992
|
|
|
4969
4993
|
props: {
|
|
4970
4994
|
target: String,
|
|
4971
|
-
row: Boolean
|
|
4972
|
-
|
|
4995
|
+
row: Boolean
|
|
4996
|
+
},
|
|
4973
4997
|
|
|
4974
4998
|
data: {
|
|
4975
4999
|
target: '> *',
|
|
4976
|
-
row: true
|
|
4977
|
-
|
|
5000
|
+
row: true
|
|
5001
|
+
},
|
|
4978
5002
|
|
|
4979
5003
|
computed: {
|
|
4980
5004
|
elements: {
|
|
@@ -4984,9 +5008,9 @@
|
|
|
4984
5008
|
|
|
4985
5009
|
watch() {
|
|
4986
5010
|
this.$reset();
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
},
|
|
4990
5014
|
|
|
4991
5015
|
resizeTargets() {
|
|
4992
5016
|
return [this.$el, ...this.elements];
|
|
@@ -4995,8 +5019,8 @@
|
|
|
4995
5019
|
update: {
|
|
4996
5020
|
read() {
|
|
4997
5021
|
return {
|
|
4998
|
-
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match$1)
|
|
4999
|
-
|
|
5022
|
+
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match$1)
|
|
5023
|
+
};
|
|
5000
5024
|
},
|
|
5001
5025
|
|
|
5002
5026
|
write(_ref2) {let { rows } = _ref2;
|
|
@@ -5005,9 +5029,9 @@
|
|
|
5005
5029
|
}
|
|
5006
5030
|
},
|
|
5007
5031
|
|
|
5008
|
-
events: ['resize']
|
|
5009
|
-
|
|
5010
|
-
|
|
5032
|
+
events: ['resize']
|
|
5033
|
+
}
|
|
5034
|
+
};
|
|
5011
5035
|
|
|
5012
5036
|
function match$1(elements) {
|
|
5013
5037
|
if (elements.length < 2) {
|
|
@@ -5020,8 +5044,8 @@
|
|
|
5020
5044
|
|
|
5021
5045
|
return {
|
|
5022
5046
|
heights: elements.map((el, i) => heights[i].toFixed(2) === max.toFixed(2) ? '' : max),
|
|
5023
|
-
elements
|
|
5024
|
-
|
|
5047
|
+
elements
|
|
5048
|
+
};
|
|
5025
5049
|
}
|
|
5026
5050
|
|
|
5027
5051
|
function getHeight(element) {
|
|
@@ -5047,15 +5071,15 @@
|
|
|
5047
5071
|
expand: Boolean,
|
|
5048
5072
|
offsetTop: Boolean,
|
|
5049
5073
|
offsetBottom: Boolean,
|
|
5050
|
-
minHeight: Number
|
|
5051
|
-
|
|
5074
|
+
minHeight: Number
|
|
5075
|
+
},
|
|
5052
5076
|
|
|
5053
5077
|
data: {
|
|
5054
5078
|
expand: false,
|
|
5055
5079
|
offsetTop: false,
|
|
5056
5080
|
offsetBottom: false,
|
|
5057
|
-
minHeight: 0
|
|
5058
|
-
|
|
5081
|
+
minHeight: 0
|
|
5082
|
+
},
|
|
5059
5083
|
|
|
5060
5084
|
resizeTargets() {
|
|
5061
5085
|
// check for offsetTop change
|
|
@@ -5124,7 +5148,9 @@
|
|
|
5124
5148
|
}
|
|
5125
5149
|
},
|
|
5126
5150
|
|
|
5127
|
-
events: ['resize']
|
|
5151
|
+
events: ['resize']
|
|
5152
|
+
}
|
|
5153
|
+
};
|
|
5128
5154
|
|
|
5129
5155
|
var SVG = {
|
|
5130
5156
|
args: 'src',
|
|
@@ -5139,15 +5165,15 @@
|
|
|
5139
5165
|
ratio: Number,
|
|
5140
5166
|
class: String,
|
|
5141
5167
|
strokeAnimation: Boolean,
|
|
5142
|
-
attributes: 'list'
|
|
5143
|
-
|
|
5168
|
+
attributes: 'list'
|
|
5169
|
+
},
|
|
5144
5170
|
|
|
5145
5171
|
data: {
|
|
5146
5172
|
ratio: 1,
|
|
5147
5173
|
include: ['style', 'class'],
|
|
5148
5174
|
class: '',
|
|
5149
|
-
strokeAnimation: false
|
|
5150
|
-
|
|
5175
|
+
strokeAnimation: false
|
|
5176
|
+
},
|
|
5151
5177
|
|
|
5152
5178
|
beforeConnect() {
|
|
5153
5179
|
this.class += ' uk-svg';
|
|
@@ -5244,9 +5270,9 @@
|
|
|
5244
5270
|
}
|
|
5245
5271
|
|
|
5246
5272
|
dimensions.forEach((val, i) => attr(el, props[i], toFloat(val) * this.ratio || null));
|
|
5247
|
-
}
|
|
5248
|
-
|
|
5249
|
-
|
|
5273
|
+
}
|
|
5274
|
+
}
|
|
5275
|
+
};
|
|
5250
5276
|
|
|
5251
5277
|
const loadSVG = memoize(async (src) => {
|
|
5252
5278
|
if (src) {
|
|
@@ -5338,7 +5364,7 @@
|
|
|
5338
5364
|
|
|
5339
5365
|
var navbarParentIcon = "<svg xmlns=\"http://www.w3.org/2000/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>";
|
|
5340
5366
|
|
|
5341
|
-
var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><style>.uk-navbar-toggle-animate svg
|
|
5367
|
+
var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><style>.uk-navbar-toggle-animate svg>[class*=line-]{transition:.2s ease-in-out;transition-property:transform,opacity,;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.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>";
|
|
5342
5368
|
|
|
5343
5369
|
var overlayIcon = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"19\" y=\"0\" width=\"1\" height=\"40\"/><rect x=\"0\" y=\"19\" width=\"40\" height=\"1\"/></svg>";
|
|
5344
5370
|
|
|
@@ -5383,8 +5409,8 @@
|
|
|
5383
5409
|
'slidenav-next': slidenavNext,
|
|
5384
5410
|
'slidenav-next-large': slidenavNextLarge,
|
|
5385
5411
|
'slidenav-previous': slidenavPrevious,
|
|
5386
|
-
'slidenav-previous-large': slidenavPreviousLarge
|
|
5387
|
-
|
|
5412
|
+
'slidenav-previous-large': slidenavPreviousLarge
|
|
5413
|
+
};
|
|
5388
5414
|
|
|
5389
5415
|
const Icon = {
|
|
5390
5416
|
install: install$3,
|
|
@@ -5412,7 +5438,9 @@
|
|
|
5412
5438
|
}
|
|
5413
5439
|
|
|
5414
5440
|
return icon;
|
|
5415
|
-
}
|
|
5441
|
+
}
|
|
5442
|
+
}
|
|
5443
|
+
};
|
|
5416
5444
|
|
|
5417
5445
|
const IconComponent = {
|
|
5418
5446
|
args: false,
|
|
@@ -5420,13 +5448,13 @@
|
|
|
5420
5448
|
extends: Icon,
|
|
5421
5449
|
|
|
5422
5450
|
data: (vm) => ({
|
|
5423
|
-
icon: hyphenate(vm.constructor.options.name)
|
|
5424
|
-
|
|
5451
|
+
icon: hyphenate(vm.constructor.options.name)
|
|
5452
|
+
}),
|
|
5425
5453
|
|
|
5426
5454
|
beforeConnect() {
|
|
5427
5455
|
addClass(this.$el, this.$options.id);
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5456
|
+
}
|
|
5457
|
+
};
|
|
5430
5458
|
|
|
5431
5459
|
const NavParentIcon = {
|
|
5432
5460
|
extends: IconComponent,
|
|
@@ -5434,8 +5462,8 @@
|
|
|
5434
5462
|
beforeConnect() {
|
|
5435
5463
|
const icon = this.$props.icon;
|
|
5436
5464
|
this.icon = closest(this.$el, '.uk-nav-primary') ? icon + "-large" : icon;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5465
|
+
}
|
|
5466
|
+
};
|
|
5439
5467
|
|
|
5440
5468
|
const Slidenav = {
|
|
5441
5469
|
extends: IconComponent,
|
|
@@ -5444,8 +5472,8 @@
|
|
|
5444
5472
|
addClass(this.$el, 'uk-slidenav');
|
|
5445
5473
|
const icon = this.$props.icon;
|
|
5446
5474
|
this.icon = hasClass(this.$el, 'uk-slidenav-large') ? icon + "-large" : icon;
|
|
5447
|
-
}
|
|
5448
|
-
|
|
5475
|
+
}
|
|
5476
|
+
};
|
|
5449
5477
|
|
|
5450
5478
|
const Search = {
|
|
5451
5479
|
extends: IconComponent,
|
|
@@ -5457,16 +5485,16 @@
|
|
|
5457
5485
|
parents(this.$el, '.uk-search-navbar').length ?
|
|
5458
5486
|
'search-navbar' :
|
|
5459
5487
|
this.$props.icon;
|
|
5460
|
-
}
|
|
5461
|
-
|
|
5488
|
+
}
|
|
5489
|
+
};
|
|
5462
5490
|
|
|
5463
5491
|
const Close = {
|
|
5464
5492
|
extends: IconComponent,
|
|
5465
5493
|
|
|
5466
5494
|
beforeConnect() {
|
|
5467
5495
|
this.icon = "close-" + (hasClass(this.$el, 'uk-close-large') ? 'large' : 'icon');
|
|
5468
|
-
}
|
|
5469
|
-
|
|
5496
|
+
}
|
|
5497
|
+
};
|
|
5470
5498
|
|
|
5471
5499
|
const Spinner = {
|
|
5472
5500
|
extends: IconComponent,
|
|
@@ -5480,9 +5508,9 @@
|
|
|
5480
5508
|
}
|
|
5481
5509
|
|
|
5482
5510
|
return icon;
|
|
5483
|
-
}
|
|
5484
|
-
|
|
5485
|
-
|
|
5511
|
+
}
|
|
5512
|
+
}
|
|
5513
|
+
};
|
|
5486
5514
|
|
|
5487
5515
|
const parsed = {};
|
|
5488
5516
|
function install$3(UIkit) {
|
|
@@ -5530,8 +5558,8 @@
|
|
|
5530
5558
|
offsetTop: String,
|
|
5531
5559
|
offsetLeft: String,
|
|
5532
5560
|
target: String,
|
|
5533
|
-
loading: String
|
|
5534
|
-
|
|
5561
|
+
loading: String
|
|
5562
|
+
},
|
|
5535
5563
|
|
|
5536
5564
|
data: {
|
|
5537
5565
|
dataSrc: '',
|
|
@@ -5539,8 +5567,8 @@
|
|
|
5539
5567
|
offsetTop: '50vh',
|
|
5540
5568
|
offsetLeft: '50vw',
|
|
5541
5569
|
target: false,
|
|
5542
|
-
loading: 'lazy'
|
|
5543
|
-
|
|
5570
|
+
loading: 'lazy'
|
|
5571
|
+
},
|
|
5544
5572
|
|
|
5545
5573
|
connected() {
|
|
5546
5574
|
if (this.loading !== 'lazy') {
|
|
@@ -5571,9 +5599,9 @@
|
|
|
5571
5599
|
{
|
|
5572
5600
|
rootMargin: toPx(this.offsetTop, 'height') + "px " + toPx(
|
|
5573
5601
|
this.offsetLeft,
|
|
5574
|
-
'width') + "px"
|
|
5575
|
-
|
|
5602
|
+
'width') + "px"
|
|
5576
5603
|
|
|
5604
|
+
}));
|
|
5577
5605
|
|
|
5578
5606
|
|
|
5579
5607
|
},
|
|
@@ -5597,9 +5625,9 @@
|
|
|
5597
5625
|
removeAttr(image, 'loading');
|
|
5598
5626
|
setSrcAttrs(this.$el, image.currentSrc);
|
|
5599
5627
|
return this._data.image = image;
|
|
5600
|
-
}
|
|
5601
|
-
|
|
5602
|
-
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
};
|
|
5603
5631
|
|
|
5604
5632
|
function setSrcAttrs(el, src) {
|
|
5605
5633
|
if (isImg(el)) {
|
|
@@ -5689,12 +5717,12 @@
|
|
|
5689
5717
|
|
|
5690
5718
|
var Media = {
|
|
5691
5719
|
props: {
|
|
5692
|
-
media: Boolean
|
|
5693
|
-
|
|
5720
|
+
media: Boolean
|
|
5721
|
+
},
|
|
5694
5722
|
|
|
5695
5723
|
data: {
|
|
5696
|
-
media: false
|
|
5697
|
-
|
|
5724
|
+
media: false
|
|
5725
|
+
},
|
|
5698
5726
|
|
|
5699
5727
|
connected() {
|
|
5700
5728
|
const media = toMedia(this.media, this.$el);
|
|
@@ -5715,8 +5743,8 @@
|
|
|
5715
5743
|
|
|
5716
5744
|
disconnected() {var _this$offMediaObj;
|
|
5717
5745
|
(_this$offMediaObj = this.offMediaObj) == null ? void 0 : _this$offMediaObj.call(this);
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5746
|
+
}
|
|
5747
|
+
};
|
|
5720
5748
|
|
|
5721
5749
|
function toMedia(value, element) {
|
|
5722
5750
|
if (isString(value)) {
|
|
@@ -5734,21 +5762,21 @@
|
|
|
5734
5762
|
mixins: [Class, Media, Resize],
|
|
5735
5763
|
|
|
5736
5764
|
props: {
|
|
5737
|
-
fill: String
|
|
5738
|
-
|
|
5765
|
+
fill: String
|
|
5766
|
+
},
|
|
5739
5767
|
|
|
5740
5768
|
data: {
|
|
5741
5769
|
fill: '',
|
|
5742
5770
|
clsWrapper: 'uk-leader-fill',
|
|
5743
5771
|
clsHide: 'uk-leader-hide',
|
|
5744
|
-
attrFill: 'data-fill'
|
|
5745
|
-
|
|
5772
|
+
attrFill: 'data-fill'
|
|
5773
|
+
},
|
|
5746
5774
|
|
|
5747
5775
|
computed: {
|
|
5748
5776
|
fill(_ref) {let { fill } = _ref;
|
|
5749
5777
|
return fill || css(this.$el, '--uk-leader-fill-content');
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5778
|
+
}
|
|
5779
|
+
},
|
|
5752
5780
|
|
|
5753
5781
|
connected() {
|
|
5754
5782
|
[this.wrapper] = wrapInner(this.$el, "<span class=\"" + this.clsWrapper + "\">");
|
|
@@ -5765,8 +5793,8 @@
|
|
|
5765
5793
|
return {
|
|
5766
5794
|
width,
|
|
5767
5795
|
fill: this.fill,
|
|
5768
|
-
hide: !this.matchMedia
|
|
5769
|
-
|
|
5796
|
+
hide: !this.matchMedia
|
|
5797
|
+
};
|
|
5770
5798
|
},
|
|
5771
5799
|
|
|
5772
5800
|
write(_ref2) {let { width, fill, hide } = _ref2;
|
|
@@ -5774,7 +5802,9 @@
|
|
|
5774
5802
|
attr(this.wrapper, this.attrFill, new Array(width).join(fill));
|
|
5775
5803
|
},
|
|
5776
5804
|
|
|
5777
|
-
events: ['resize']
|
|
5805
|
+
events: ['resize']
|
|
5806
|
+
}
|
|
5807
|
+
};
|
|
5778
5808
|
|
|
5779
5809
|
var modal = {
|
|
5780
5810
|
install: install$2,
|
|
@@ -5785,8 +5815,8 @@
|
|
|
5785
5815
|
clsPage: 'uk-modal-page',
|
|
5786
5816
|
selPanel: '.uk-modal-dialog',
|
|
5787
5817
|
selClose:
|
|
5788
|
-
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5789
|
-
|
|
5818
|
+
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5819
|
+
},
|
|
5790
5820
|
|
|
5791
5821
|
events: [
|
|
5792
5822
|
{
|
|
@@ -5802,8 +5832,8 @@
|
|
|
5802
5832
|
}
|
|
5803
5833
|
|
|
5804
5834
|
height(this.$el); // force reflow
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5835
|
+
}
|
|
5836
|
+
},
|
|
5807
5837
|
|
|
5808
5838
|
{
|
|
5809
5839
|
name: 'hidden',
|
|
@@ -5813,10 +5843,10 @@
|
|
|
5813
5843
|
handler() {
|
|
5814
5844
|
css(this.$el, 'display', '');
|
|
5815
5845
|
removeClass(this.$el, 'uk-flex');
|
|
5816
|
-
}
|
|
5817
|
-
|
|
5818
|
-
|
|
5846
|
+
}
|
|
5847
|
+
}]
|
|
5819
5848
|
|
|
5849
|
+
};
|
|
5820
5850
|
|
|
5821
5851
|
function install$2(_ref) {let { modal } = _ref;
|
|
5822
5852
|
modal.dialog = function (content, options) {
|
|
@@ -5895,8 +5925,8 @@
|
|
|
5895
5925
|
|
|
5896
5926
|
modal.labels = {
|
|
5897
5927
|
ok: 'Ok',
|
|
5898
|
-
cancel: 'Cancel'
|
|
5899
|
-
|
|
5928
|
+
cancel: 'Cancel'
|
|
5929
|
+
};
|
|
5900
5930
|
|
|
5901
5931
|
function openDialog(tmpl, options, hideFn, submitFn) {
|
|
5902
5932
|
options = { bgClose: false, escClose: true, labels: modal.labels, ...options };
|
|
@@ -5927,7 +5957,9 @@
|
|
|
5927
5957
|
data: {
|
|
5928
5958
|
targets: '> .uk-parent',
|
|
5929
5959
|
toggle: '> a',
|
|
5930
|
-
content: '> ul'
|
|
5960
|
+
content: '> ul'
|
|
5961
|
+
}
|
|
5962
|
+
};
|
|
5931
5963
|
|
|
5932
5964
|
var navbar = {
|
|
5933
5965
|
mixins: [Class, Container],
|
|
@@ -5949,8 +5981,8 @@
|
|
|
5949
5981
|
targetX: Boolean,
|
|
5950
5982
|
targetY: Boolean,
|
|
5951
5983
|
animation: Boolean,
|
|
5952
|
-
animateOut: Boolean
|
|
5953
|
-
|
|
5984
|
+
animateOut: Boolean
|
|
5985
|
+
},
|
|
5954
5986
|
|
|
5955
5987
|
data: {
|
|
5956
5988
|
dropdown: '.uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle',
|
|
@@ -5960,8 +5992,8 @@
|
|
|
5960
5992
|
dropbar: false,
|
|
5961
5993
|
dropbarAnchor: false,
|
|
5962
5994
|
duration: 200,
|
|
5963
|
-
container: false
|
|
5964
|
-
|
|
5995
|
+
container: false
|
|
5996
|
+
},
|
|
5965
5997
|
|
|
5966
5998
|
computed: {
|
|
5967
5999
|
dropbarAnchor(_ref, $el) {let { dropbarAnchor } = _ref;
|
|
@@ -5986,8 +6018,8 @@
|
|
|
5986
6018
|
addClass(dropbar, 'uk-dropbar', 'uk-dropbar-top', 'uk-navbar-dropbar');
|
|
5987
6019
|
},
|
|
5988
6020
|
|
|
5989
|
-
immediate: true
|
|
5990
|
-
|
|
6021
|
+
immediate: true
|
|
6022
|
+
},
|
|
5991
6023
|
|
|
5992
6024
|
dropContainer(_, $el) {
|
|
5993
6025
|
return this.container || $el;
|
|
@@ -6018,13 +6050,13 @@
|
|
|
6018
6050
|
flip: false,
|
|
6019
6051
|
shift: true,
|
|
6020
6052
|
pos: "bottom-" + this.align,
|
|
6021
|
-
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6022
|
-
|
|
6053
|
+
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6054
|
+
});
|
|
6023
6055
|
|
|
6024
6056
|
},
|
|
6025
6057
|
|
|
6026
|
-
immediate: true
|
|
6027
|
-
|
|
6058
|
+
immediate: true
|
|
6059
|
+
},
|
|
6028
6060
|
|
|
6029
6061
|
toggles: {
|
|
6030
6062
|
get(_ref4, $el) {let { dropdown } = _ref4;
|
|
@@ -6041,9 +6073,9 @@
|
|
|
6041
6073
|
}
|
|
6042
6074
|
},
|
|
6043
6075
|
|
|
6044
|
-
immediate: true
|
|
6045
|
-
|
|
6046
|
-
|
|
6076
|
+
immediate: true
|
|
6077
|
+
}
|
|
6078
|
+
},
|
|
6047
6079
|
|
|
6048
6080
|
disconnected() {
|
|
6049
6081
|
this.dropbar && remove$1(this.dropbar);
|
|
@@ -6069,8 +6101,8 @@
|
|
|
6069
6101
|
{
|
|
6070
6102
|
active.hide(false);
|
|
6071
6103
|
}
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6104
|
+
}
|
|
6105
|
+
},
|
|
6074
6106
|
|
|
6075
6107
|
{
|
|
6076
6108
|
name: 'keydown',
|
|
@@ -6097,8 +6129,8 @@
|
|
|
6097
6129
|
}
|
|
6098
6130
|
|
|
6099
6131
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6132
|
+
}
|
|
6133
|
+
},
|
|
6102
6134
|
|
|
6103
6135
|
{
|
|
6104
6136
|
name: 'keydown',
|
|
@@ -6141,8 +6173,8 @@
|
|
|
6141
6173
|
}
|
|
6142
6174
|
|
|
6143
6175
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6144
|
-
}
|
|
6145
|
-
|
|
6176
|
+
}
|
|
6177
|
+
},
|
|
6146
6178
|
|
|
6147
6179
|
{
|
|
6148
6180
|
name: 'mouseleave',
|
|
@@ -6165,8 +6197,8 @@
|
|
|
6165
6197
|
{
|
|
6166
6198
|
active.hide();
|
|
6167
6199
|
}
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6200
|
+
}
|
|
6201
|
+
},
|
|
6170
6202
|
|
|
6171
6203
|
{
|
|
6172
6204
|
name: 'beforeshow',
|
|
@@ -6189,8 +6221,8 @@
|
|
|
6189
6221
|
}
|
|
6190
6222
|
|
|
6191
6223
|
addClass(target, this.clsDrop + "-dropbar");
|
|
6192
|
-
}
|
|
6193
|
-
|
|
6224
|
+
}
|
|
6225
|
+
},
|
|
6194
6226
|
|
|
6195
6227
|
{
|
|
6196
6228
|
name: 'show',
|
|
@@ -6222,8 +6254,8 @@
|
|
|
6222
6254
|
target);
|
|
6223
6255
|
|
|
6224
6256
|
});
|
|
6225
|
-
}
|
|
6226
|
-
|
|
6257
|
+
}
|
|
6258
|
+
},
|
|
6227
6259
|
|
|
6228
6260
|
{
|
|
6229
6261
|
name: 'beforehide',
|
|
@@ -6246,8 +6278,8 @@
|
|
|
6246
6278
|
{
|
|
6247
6279
|
e.preventDefault();
|
|
6248
6280
|
}
|
|
6249
|
-
}
|
|
6250
|
-
|
|
6281
|
+
}
|
|
6282
|
+
},
|
|
6251
6283
|
|
|
6252
6284
|
{
|
|
6253
6285
|
name: 'hide',
|
|
@@ -6272,8 +6304,8 @@
|
|
|
6272
6304
|
if (!active || (active == null ? void 0 : active.$el) === target) {
|
|
6273
6305
|
this.transitionTo(0);
|
|
6274
6306
|
}
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6307
|
+
}
|
|
6308
|
+
}],
|
|
6277
6309
|
|
|
6278
6310
|
|
|
6279
6311
|
methods: {
|
|
@@ -6297,8 +6329,8 @@
|
|
|
6297
6329
|
Transition.start(
|
|
6298
6330
|
el,
|
|
6299
6331
|
{
|
|
6300
|
-
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6301
|
-
|
|
6332
|
+
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6333
|
+
},
|
|
6302
6334
|
this.duration)]).
|
|
6303
6335
|
|
|
6304
6336
|
|
|
@@ -6312,9 +6344,9 @@
|
|
|
6312
6344
|
|
|
6313
6345
|
isDropbarDrop(el) {
|
|
6314
6346
|
return this.getDropdown(el) && hasClass(el, this.clsDrop);
|
|
6315
|
-
}
|
|
6316
|
-
|
|
6317
|
-
|
|
6347
|
+
}
|
|
6348
|
+
}
|
|
6349
|
+
};
|
|
6318
6350
|
|
|
6319
6351
|
function handleNavItemNavigation(e, toggles, active) {
|
|
6320
6352
|
const { current, keyCode } = e;
|
|
@@ -6351,22 +6383,23 @@
|
|
|
6351
6383
|
LEFT: 37,
|
|
6352
6384
|
UP: 38,
|
|
6353
6385
|
RIGHT: 39,
|
|
6354
|
-
DOWN: 40
|
|
6386
|
+
DOWN: 40
|
|
6387
|
+
};
|
|
6355
6388
|
|
|
6356
6389
|
var Swipe = {
|
|
6357
6390
|
props: {
|
|
6358
|
-
swiping: Boolean
|
|
6359
|
-
|
|
6391
|
+
swiping: Boolean
|
|
6392
|
+
},
|
|
6360
6393
|
|
|
6361
6394
|
data: {
|
|
6362
|
-
swiping: true
|
|
6363
|
-
|
|
6395
|
+
swiping: true
|
|
6396
|
+
},
|
|
6364
6397
|
|
|
6365
6398
|
computed: {
|
|
6366
6399
|
swipeTarget(props, $el) {
|
|
6367
6400
|
return $el;
|
|
6368
|
-
}
|
|
6369
|
-
|
|
6401
|
+
}
|
|
6402
|
+
},
|
|
6370
6403
|
|
|
6371
6404
|
connected() {
|
|
6372
6405
|
if (!this.swiping) {
|
|
@@ -6399,10 +6432,10 @@
|
|
|
6399
6432
|
});
|
|
6400
6433
|
}
|
|
6401
6434
|
});
|
|
6402
|
-
}
|
|
6403
|
-
|
|
6404
|
-
}
|
|
6405
|
-
|
|
6435
|
+
}
|
|
6436
|
+
});
|
|
6437
|
+
}
|
|
6438
|
+
};
|
|
6406
6439
|
|
|
6407
6440
|
function swipeDirection(x1, y1, x2, y2) {
|
|
6408
6441
|
return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ?
|
|
@@ -6422,8 +6455,8 @@
|
|
|
6422
6455
|
props: {
|
|
6423
6456
|
mode: String,
|
|
6424
6457
|
flip: Boolean,
|
|
6425
|
-
overlay: Boolean
|
|
6426
|
-
|
|
6458
|
+
overlay: Boolean
|
|
6459
|
+
},
|
|
6427
6460
|
|
|
6428
6461
|
data: {
|
|
6429
6462
|
mode: 'slide',
|
|
@@ -6438,8 +6471,8 @@
|
|
|
6438
6471
|
clsMode: 'uk-offcanvas',
|
|
6439
6472
|
clsOverlay: 'uk-offcanvas-overlay',
|
|
6440
6473
|
selClose: '.uk-offcanvas-close',
|
|
6441
|
-
container: false
|
|
6442
|
-
|
|
6474
|
+
container: false
|
|
6475
|
+
},
|
|
6443
6476
|
|
|
6444
6477
|
computed: {
|
|
6445
6478
|
clsFlip(_ref) {let { flip, clsFlip } = _ref;
|
|
@@ -6464,8 +6497,8 @@
|
|
|
6464
6497
|
|
|
6465
6498
|
transitionElement(_ref6) {let { mode } = _ref6;
|
|
6466
6499
|
return mode === 'reveal' ? parent(this.panel) : this.panel;
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6500
|
+
}
|
|
6501
|
+
},
|
|
6469
6502
|
|
|
6470
6503
|
update: {
|
|
6471
6504
|
read() {
|
|
@@ -6474,8 +6507,8 @@
|
|
|
6474
6507
|
}
|
|
6475
6508
|
},
|
|
6476
6509
|
|
|
6477
|
-
events: ['resize']
|
|
6478
|
-
|
|
6510
|
+
events: ['resize']
|
|
6511
|
+
},
|
|
6479
6512
|
|
|
6480
6513
|
events: [
|
|
6481
6514
|
{
|
|
@@ -6490,8 +6523,8 @@
|
|
|
6490
6523
|
|
|
6491
6524
|
handler(e) {
|
|
6492
6525
|
e.cancelable && e.preventDefault();
|
|
6493
|
-
}
|
|
6494
|
-
|
|
6526
|
+
}
|
|
6527
|
+
},
|
|
6495
6528
|
|
|
6496
6529
|
{
|
|
6497
6530
|
name: 'show',
|
|
@@ -6521,8 +6554,8 @@
|
|
|
6521
6554
|
addClass(body, this.clsContainerAnimation);
|
|
6522
6555
|
|
|
6523
6556
|
this.clsContainerAnimation && suppressUserScale();
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6557
|
+
}
|
|
6558
|
+
},
|
|
6526
6559
|
|
|
6527
6560
|
{
|
|
6528
6561
|
name: 'hide',
|
|
@@ -6532,8 +6565,8 @@
|
|
|
6532
6565
|
handler() {
|
|
6533
6566
|
removeClass(document.body, this.clsContainerAnimation);
|
|
6534
6567
|
css(document.body, 'touch-action', '');
|
|
6535
|
-
}
|
|
6536
|
-
|
|
6568
|
+
}
|
|
6569
|
+
},
|
|
6537
6570
|
|
|
6538
6571
|
{
|
|
6539
6572
|
name: 'hidden',
|
|
@@ -6552,8 +6585,8 @@
|
|
|
6552
6585
|
css(this.$el, 'display', '');
|
|
6553
6586
|
css(this.panel, 'maxWidth', '');
|
|
6554
6587
|
removeClass(document.body, this.clsContainer, this.clsFlip);
|
|
6555
|
-
}
|
|
6556
|
-
|
|
6588
|
+
}
|
|
6589
|
+
},
|
|
6557
6590
|
|
|
6558
6591
|
{
|
|
6559
6592
|
name: 'swipeLeft swipeRight',
|
|
@@ -6562,10 +6595,10 @@
|
|
|
6562
6595
|
if (this.isToggled() && endsWith(e.type, 'Left') ^ this.flip) {
|
|
6563
6596
|
this.hide();
|
|
6564
6597
|
}
|
|
6565
|
-
}
|
|
6566
|
-
|
|
6567
|
-
|
|
6598
|
+
}
|
|
6599
|
+
}]
|
|
6568
6600
|
|
|
6601
|
+
};
|
|
6569
6602
|
|
|
6570
6603
|
// Chrome in responsive mode zooms page upon opening offcanvas
|
|
6571
6604
|
function suppressUserScale() {
|
|
@@ -6589,14 +6622,14 @@
|
|
|
6589
6622
|
props: {
|
|
6590
6623
|
selContainer: String,
|
|
6591
6624
|
selContent: String,
|
|
6592
|
-
minHeight: Number
|
|
6593
|
-
|
|
6625
|
+
minHeight: Number
|
|
6626
|
+
},
|
|
6594
6627
|
|
|
6595
6628
|
data: {
|
|
6596
6629
|
selContainer: '.uk-modal',
|
|
6597
6630
|
selContent: '.uk-modal-dialog',
|
|
6598
|
-
minHeight: 150
|
|
6599
|
-
|
|
6631
|
+
minHeight: 150
|
|
6632
|
+
},
|
|
6600
6633
|
|
|
6601
6634
|
computed: {
|
|
6602
6635
|
container(_ref, $el) {let { selContainer } = _ref;
|
|
@@ -6605,8 +6638,8 @@
|
|
|
6605
6638
|
|
|
6606
6639
|
content(_ref2, $el) {let { selContent } = _ref2;
|
|
6607
6640
|
return closest($el, selContent);
|
|
6608
|
-
}
|
|
6609
|
-
|
|
6641
|
+
}
|
|
6642
|
+
},
|
|
6610
6643
|
|
|
6611
6644
|
resizeTargets() {
|
|
6612
6645
|
return [this.container, this.content];
|
|
@@ -6621,16 +6654,18 @@
|
|
|
6621
6654
|
return {
|
|
6622
6655
|
max: Math.max(
|
|
6623
6656
|
this.minHeight,
|
|
6624
|
-
height(this.container) - (dimensions$1(this.content).height - height(this.$el)))
|
|
6625
|
-
|
|
6657
|
+
height(this.container) - (dimensions$1(this.content).height - height(this.$el)))
|
|
6626
6658
|
|
|
6659
|
+
};
|
|
6627
6660
|
},
|
|
6628
6661
|
|
|
6629
6662
|
write(_ref3) {let { max } = _ref3;
|
|
6630
6663
|
css(this.$el, { minHeight: this.minHeight, maxHeight: max });
|
|
6631
6664
|
},
|
|
6632
6665
|
|
|
6633
|
-
events: ['resize']
|
|
6666
|
+
events: ['resize']
|
|
6667
|
+
}
|
|
6668
|
+
};
|
|
6634
6669
|
|
|
6635
6670
|
var responsive = {
|
|
6636
6671
|
mixins: [Resize],
|
|
@@ -6658,23 +6693,25 @@
|
|
|
6658
6693
|
Dimensions.contain(
|
|
6659
6694
|
{
|
|
6660
6695
|
height: this.height,
|
|
6661
|
-
width: this.width
|
|
6662
|
-
|
|
6696
|
+
width: this.width
|
|
6697
|
+
},
|
|
6663
6698
|
dim).
|
|
6664
6699
|
height);
|
|
6665
6700
|
|
|
6666
6701
|
},
|
|
6667
6702
|
|
|
6668
|
-
events: ['resize']
|
|
6703
|
+
events: ['resize']
|
|
6704
|
+
}
|
|
6705
|
+
};
|
|
6669
6706
|
|
|
6670
6707
|
var scroll = {
|
|
6671
6708
|
props: {
|
|
6672
|
-
offset: Number
|
|
6673
|
-
|
|
6709
|
+
offset: Number
|
|
6710
|
+
},
|
|
6674
6711
|
|
|
6675
6712
|
data: {
|
|
6676
|
-
offset: 0
|
|
6677
|
-
|
|
6713
|
+
offset: 0
|
|
6714
|
+
},
|
|
6678
6715
|
|
|
6679
6716
|
connected() {
|
|
6680
6717
|
registerClick(this);
|
|
@@ -6692,9 +6729,9 @@
|
|
|
6692
6729
|
await scrollIntoView(el, { offset: this.offset });
|
|
6693
6730
|
trigger(this.$el, 'scrolled', [this, el]);
|
|
6694
6731
|
}
|
|
6695
|
-
}
|
|
6696
|
-
|
|
6697
|
-
|
|
6732
|
+
}
|
|
6733
|
+
}
|
|
6734
|
+
};
|
|
6698
6735
|
|
|
6699
6736
|
const components$2 = new Set();
|
|
6700
6737
|
function registerClick(cmp) {
|
|
@@ -6742,8 +6779,8 @@
|
|
|
6742
6779
|
offsetTop: Number,
|
|
6743
6780
|
offsetLeft: Number,
|
|
6744
6781
|
repeat: Boolean,
|
|
6745
|
-
delay: Number
|
|
6746
|
-
|
|
6782
|
+
delay: Number
|
|
6783
|
+
},
|
|
6747
6784
|
|
|
6748
6785
|
data: () => ({
|
|
6749
6786
|
cls: '',
|
|
@@ -6753,8 +6790,8 @@
|
|
|
6753
6790
|
offsetLeft: 0,
|
|
6754
6791
|
repeat: false,
|
|
6755
6792
|
delay: 0,
|
|
6756
|
-
inViewClass: 'uk-scrollspy-inview'
|
|
6757
|
-
|
|
6793
|
+
inViewClass: 'uk-scrollspy-inview'
|
|
6794
|
+
}),
|
|
6758
6795
|
|
|
6759
6796
|
computed: {
|
|
6760
6797
|
elements: {
|
|
@@ -6773,9 +6810,9 @@
|
|
|
6773
6810
|
}
|
|
6774
6811
|
},
|
|
6775
6812
|
|
|
6776
|
-
immediate: true
|
|
6777
|
-
|
|
6778
|
-
|
|
6813
|
+
immediate: true
|
|
6814
|
+
}
|
|
6815
|
+
},
|
|
6779
6816
|
|
|
6780
6817
|
connected() {
|
|
6781
6818
|
this._data.elements = new Map();
|
|
@@ -6787,8 +6824,8 @@
|
|
|
6787
6824
|
for (const { target: el, isIntersecting } of records) {
|
|
6788
6825
|
if (!elements.has(el)) {
|
|
6789
6826
|
elements.set(el, {
|
|
6790
|
-
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6791
|
-
|
|
6827
|
+
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6828
|
+
});
|
|
6792
6829
|
}
|
|
6793
6830
|
|
|
6794
6831
|
const state = elements.get(el);
|
|
@@ -6803,9 +6840,9 @@
|
|
|
6803
6840
|
},
|
|
6804
6841
|
{
|
|
6805
6842
|
rootMargin: toPx(this.offsetTop, 'height') - 1 + "px " + (
|
|
6806
|
-
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6807
|
-
|
|
6843
|
+
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6808
6844
|
|
|
6845
|
+
},
|
|
6809
6846
|
false));
|
|
6810
6847
|
|
|
6811
6848
|
|
|
@@ -6837,8 +6874,8 @@
|
|
|
6837
6874
|
this.toggle(el, false);
|
|
6838
6875
|
}
|
|
6839
6876
|
}
|
|
6840
|
-
}
|
|
6841
|
-
|
|
6877
|
+
}
|
|
6878
|
+
}],
|
|
6842
6879
|
|
|
6843
6880
|
|
|
6844
6881
|
methods: {
|
|
@@ -6871,7 +6908,9 @@
|
|
|
6871
6908
|
|
|
6872
6909
|
// change to `visibility: hidden` does not trigger observers
|
|
6873
6910
|
this.$update(el);
|
|
6874
|
-
}
|
|
6911
|
+
}
|
|
6912
|
+
}
|
|
6913
|
+
};
|
|
6875
6914
|
|
|
6876
6915
|
var scrollspyNav = {
|
|
6877
6916
|
mixins: [Scroll],
|
|
@@ -6881,16 +6920,16 @@
|
|
|
6881
6920
|
closest: String,
|
|
6882
6921
|
scroll: Boolean,
|
|
6883
6922
|
overflow: Boolean,
|
|
6884
|
-
offset: Number
|
|
6885
|
-
|
|
6923
|
+
offset: Number
|
|
6924
|
+
},
|
|
6886
6925
|
|
|
6887
6926
|
data: {
|
|
6888
6927
|
cls: 'uk-active',
|
|
6889
6928
|
closest: false,
|
|
6890
6929
|
scroll: false,
|
|
6891
6930
|
overflow: true,
|
|
6892
|
-
offset: 0
|
|
6893
|
-
|
|
6931
|
+
offset: 0
|
|
6932
|
+
},
|
|
6894
6933
|
|
|
6895
6934
|
computed: {
|
|
6896
6935
|
links: {
|
|
@@ -6904,13 +6943,13 @@
|
|
|
6904
6943
|
}
|
|
6905
6944
|
},
|
|
6906
6945
|
|
|
6907
|
-
immediate: true
|
|
6908
|
-
|
|
6946
|
+
immediate: true
|
|
6947
|
+
},
|
|
6909
6948
|
|
|
6910
6949
|
elements(_ref) {let { closest: selector } = _ref;
|
|
6911
6950
|
return closest(this.links, selector || '*');
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6951
|
+
}
|
|
6952
|
+
},
|
|
6914
6953
|
|
|
6915
6954
|
update: [
|
|
6916
6955
|
{
|
|
@@ -6960,7 +6999,10 @@
|
|
|
6960
6999
|
}
|
|
6961
7000
|
},
|
|
6962
7001
|
|
|
6963
|
-
events: ['scroll', 'resize']
|
|
7002
|
+
events: ['scroll', 'resize']
|
|
7003
|
+
}]
|
|
7004
|
+
|
|
7005
|
+
};
|
|
6964
7006
|
|
|
6965
7007
|
var sticky = {
|
|
6966
7008
|
mixins: [Class, Media, Resize, Scroll],
|
|
@@ -6980,8 +7022,8 @@
|
|
|
6980
7022
|
clsBelow: String,
|
|
6981
7023
|
selTarget: String,
|
|
6982
7024
|
showOnUp: Boolean,
|
|
6983
|
-
targetOffset: Number
|
|
6984
|
-
|
|
7025
|
+
targetOffset: Number
|
|
7026
|
+
},
|
|
6985
7027
|
|
|
6986
7028
|
data: {
|
|
6987
7029
|
position: 'top',
|
|
@@ -6998,14 +7040,14 @@
|
|
|
6998
7040
|
clsBelow: 'uk-sticky-below',
|
|
6999
7041
|
selTarget: '',
|
|
7000
7042
|
showOnUp: false,
|
|
7001
|
-
targetOffset: false
|
|
7002
|
-
|
|
7043
|
+
targetOffset: false
|
|
7044
|
+
},
|
|
7003
7045
|
|
|
7004
7046
|
computed: {
|
|
7005
7047
|
selTarget(_ref, $el) {let { selTarget } = _ref;
|
|
7006
7048
|
return selTarget && $(selTarget, $el) || $el;
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7049
|
+
}
|
|
7050
|
+
},
|
|
7009
7051
|
|
|
7010
7052
|
resizeTargets() {
|
|
7011
7053
|
return document.documentElement;
|
|
@@ -7042,8 +7084,8 @@
|
|
|
7042
7084
|
|
|
7043
7085
|
handler() {
|
|
7044
7086
|
this.$emit('resize');
|
|
7045
|
-
}
|
|
7046
|
-
|
|
7087
|
+
}
|
|
7088
|
+
},
|
|
7047
7089
|
{
|
|
7048
7090
|
name: 'load hashchange popstate',
|
|
7049
7091
|
|
|
@@ -7074,13 +7116,13 @@
|
|
|
7074
7116
|
toPx(this.offset, 'height', this.placeholder);
|
|
7075
7117
|
}
|
|
7076
7118
|
});
|
|
7077
|
-
}
|
|
7078
|
-
|
|
7119
|
+
}
|
|
7120
|
+
}],
|
|
7079
7121
|
|
|
7080
7122
|
|
|
7081
7123
|
update: [
|
|
7082
7124
|
{
|
|
7083
|
-
read(_ref2, types) {let { height: height$1, margin } = _ref2;
|
|
7125
|
+
read(_ref2, types) {let { height: height$1, width, margin } = _ref2;
|
|
7084
7126
|
this.inactive = !this.matchMedia || !isVisible(this.$el);
|
|
7085
7127
|
|
|
7086
7128
|
if (this.inactive) {
|
|
@@ -7094,7 +7136,7 @@
|
|
|
7094
7136
|
}
|
|
7095
7137
|
|
|
7096
7138
|
if (!this.active) {
|
|
7097
|
-
height$1 = offset(this.$el)
|
|
7139
|
+
({ height: height$1, width } = offset(this.$el));
|
|
7098
7140
|
margin = css(this.$el, 'margin');
|
|
7099
7141
|
}
|
|
7100
7142
|
|
|
@@ -7103,7 +7145,6 @@
|
|
|
7103
7145
|
requestAnimationFrame(() => css(this.selTarget, 'transition', ''));
|
|
7104
7146
|
}
|
|
7105
7147
|
|
|
7106
|
-
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7107
7148
|
const windowHeight = height(window);
|
|
7108
7149
|
|
|
7109
7150
|
let position = this.position;
|
|
@@ -7111,6 +7152,7 @@
|
|
|
7111
7152
|
position = position === 'top' ? 'bottom' : 'top';
|
|
7112
7153
|
}
|
|
7113
7154
|
|
|
7155
|
+
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7114
7156
|
let offset$1 = toPx(this.offset, 'height', referenceElement);
|
|
7115
7157
|
if (position === 'bottom' && (height$1 < windowHeight || this.overflowFlip)) {
|
|
7116
7158
|
offset$1 += windowHeight - height$1;
|
|
@@ -7140,16 +7182,16 @@
|
|
|
7140
7182
|
overflow,
|
|
7141
7183
|
topOffset,
|
|
7142
7184
|
height: height$1,
|
|
7185
|
+
width,
|
|
7143
7186
|
margin,
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7187
|
+
top: offsetPosition(referenceElement)[0]
|
|
7188
|
+
};
|
|
7147
7189
|
},
|
|
7148
7190
|
|
|
7149
|
-
write(_ref3) {let { height, margin } = _ref3;
|
|
7191
|
+
write(_ref3) {let { height, width, margin } = _ref3;
|
|
7150
7192
|
const { placeholder } = this;
|
|
7151
7193
|
|
|
7152
|
-
css(placeholder, { height, margin });
|
|
7194
|
+
css(placeholder, { height, width, margin });
|
|
7153
7195
|
|
|
7154
7196
|
if (!within(placeholder, document)) {
|
|
7155
7197
|
after(this.$el, placeholder);
|
|
@@ -7157,8 +7199,8 @@
|
|
|
7157
7199
|
}
|
|
7158
7200
|
},
|
|
7159
7201
|
|
|
7160
|
-
events: ['resize']
|
|
7161
|
-
|
|
7202
|
+
events: ['resize']
|
|
7203
|
+
},
|
|
7162
7204
|
|
|
7163
7205
|
{
|
|
7164
7206
|
read(_ref4)
|
|
@@ -7183,9 +7225,9 @@
|
|
|
7183
7225
|
overflowScroll: clamp(
|
|
7184
7226
|
overflowScroll + clamp(scroll, start, end) - clamp(prevScroll, start, end),
|
|
7185
7227
|
0,
|
|
7186
|
-
overflow)
|
|
7187
|
-
|
|
7228
|
+
overflow)
|
|
7188
7229
|
|
|
7230
|
+
};
|
|
7189
7231
|
},
|
|
7190
7232
|
|
|
7191
7233
|
write(data, types) {
|
|
@@ -7199,8 +7241,8 @@
|
|
|
7199
7241
|
top,
|
|
7200
7242
|
start,
|
|
7201
7243
|
topOffset,
|
|
7202
|
-
height
|
|
7203
|
-
data;
|
|
7244
|
+
height
|
|
7245
|
+
} = data;
|
|
7204
7246
|
|
|
7205
7247
|
if (
|
|
7206
7248
|
scroll < 0 ||
|
|
@@ -7261,8 +7303,8 @@
|
|
|
7261
7303
|
}
|
|
7262
7304
|
},
|
|
7263
7305
|
|
|
7264
|
-
events: ['resize', 'scroll']
|
|
7265
|
-
|
|
7306
|
+
events: ['resize', 'scroll']
|
|
7307
|
+
}],
|
|
7266
7308
|
|
|
7267
7309
|
|
|
7268
7310
|
methods: {
|
|
@@ -7290,8 +7332,8 @@
|
|
|
7290
7332
|
offset,
|
|
7291
7333
|
topOffset,
|
|
7292
7334
|
height,
|
|
7293
|
-
offsetParentTop
|
|
7294
|
-
this._data;
|
|
7335
|
+
offsetParentTop
|
|
7336
|
+
} = this._data;
|
|
7295
7337
|
const active = start !== 0 || scroll > start;
|
|
7296
7338
|
let position = 'fixed';
|
|
7297
7339
|
|
|
@@ -7307,8 +7349,8 @@
|
|
|
7307
7349
|
css(this.$el, {
|
|
7308
7350
|
position,
|
|
7309
7351
|
top: offset + "px",
|
|
7310
|
-
width
|
|
7311
|
-
|
|
7352
|
+
width
|
|
7353
|
+
});
|
|
7312
7354
|
|
|
7313
7355
|
this.setActive(active);
|
|
7314
7356
|
toggleClass(this.$el, this.clsBelow, scroll > topOffset + height);
|
|
@@ -7325,9 +7367,9 @@
|
|
|
7325
7367
|
replaceClass(this.selTarget, this.clsActive, this.clsInactive);
|
|
7326
7368
|
prev !== active && trigger(this.$el, 'inactive');
|
|
7327
7369
|
}
|
|
7328
|
-
}
|
|
7329
|
-
|
|
7330
|
-
|
|
7370
|
+
}
|
|
7371
|
+
}
|
|
7372
|
+
};
|
|
7331
7373
|
|
|
7332
7374
|
function parseProp(value, el, propOffset, padding) {
|
|
7333
7375
|
if (!value) {
|
|
@@ -7365,8 +7407,8 @@
|
|
|
7365
7407
|
connect: String,
|
|
7366
7408
|
toggle: String,
|
|
7367
7409
|
itemNav: String,
|
|
7368
|
-
active: Number
|
|
7369
|
-
|
|
7410
|
+
active: Number
|
|
7411
|
+
},
|
|
7370
7412
|
|
|
7371
7413
|
data: {
|
|
7372
7414
|
connect: '~.uk-switcher',
|
|
@@ -7374,8 +7416,8 @@
|
|
|
7374
7416
|
itemNav: false,
|
|
7375
7417
|
active: 0,
|
|
7376
7418
|
cls: 'uk-active',
|
|
7377
|
-
attrItem: 'uk-switcher-item'
|
|
7378
|
-
|
|
7419
|
+
attrItem: 'uk-switcher-item'
|
|
7420
|
+
},
|
|
7379
7421
|
|
|
7380
7422
|
computed: {
|
|
7381
7423
|
connects: {
|
|
@@ -7390,8 +7432,8 @@
|
|
|
7390
7432
|
},
|
|
7391
7433
|
|
|
7392
7434
|
document: true,
|
|
7393
|
-
immediate: true
|
|
7394
|
-
|
|
7435
|
+
immediate: true
|
|
7436
|
+
},
|
|
7395
7437
|
|
|
7396
7438
|
connectChildren: {
|
|
7397
7439
|
get() {
|
|
@@ -7406,8 +7448,8 @@
|
|
|
7406
7448
|
}
|
|
7407
7449
|
},
|
|
7408
7450
|
|
|
7409
|
-
immediate: true
|
|
7410
|
-
|
|
7451
|
+
immediate: true
|
|
7452
|
+
},
|
|
7411
7453
|
|
|
7412
7454
|
toggles: {
|
|
7413
7455
|
get(_ref2, $el) {let { toggle } = _ref2;
|
|
@@ -7421,8 +7463,8 @@
|
|
|
7421
7463
|
this.show(~active ? active : toggles[this.active] || toggles[0]);
|
|
7422
7464
|
},
|
|
7423
7465
|
|
|
7424
|
-
immediate: true
|
|
7425
|
-
|
|
7466
|
+
immediate: true
|
|
7467
|
+
},
|
|
7426
7468
|
|
|
7427
7469
|
children() {
|
|
7428
7470
|
return children(this.$el).filter((child) =>
|
|
@@ -7432,8 +7474,8 @@
|
|
|
7432
7474
|
|
|
7433
7475
|
swipeTarget() {
|
|
7434
7476
|
return this.connects;
|
|
7435
|
-
}
|
|
7436
|
-
|
|
7477
|
+
}
|
|
7478
|
+
},
|
|
7437
7479
|
|
|
7438
7480
|
events: [
|
|
7439
7481
|
{
|
|
@@ -7446,8 +7488,8 @@
|
|
|
7446
7488
|
handler(e) {
|
|
7447
7489
|
e.preventDefault();
|
|
7448
7490
|
this.show(e.current);
|
|
7449
|
-
}
|
|
7450
|
-
|
|
7491
|
+
}
|
|
7492
|
+
},
|
|
7451
7493
|
|
|
7452
7494
|
{
|
|
7453
7495
|
name: 'click',
|
|
@@ -7463,8 +7505,8 @@
|
|
|
7463
7505
|
handler(e) {
|
|
7464
7506
|
e.preventDefault();
|
|
7465
7507
|
this.show(data(e.current, this.attrItem));
|
|
7466
|
-
}
|
|
7467
|
-
|
|
7508
|
+
}
|
|
7509
|
+
},
|
|
7468
7510
|
|
|
7469
7511
|
{
|
|
7470
7512
|
name: 'swipeRight swipeLeft',
|
|
@@ -7479,8 +7521,8 @@
|
|
|
7479
7521
|
|
|
7480
7522
|
handler(_ref3) {let { type } = _ref3;
|
|
7481
7523
|
this.show(endsWith(type, 'Left') ? 'next' : 'previous');
|
|
7482
|
-
}
|
|
7483
|
-
|
|
7524
|
+
}
|
|
7525
|
+
}],
|
|
7484
7526
|
|
|
7485
7527
|
|
|
7486
7528
|
methods: {
|
|
@@ -7506,7 +7548,9 @@
|
|
|
7506
7548
|
|
|
7507
7549
|
await this.toggleElement(children[active], true, animate);
|
|
7508
7550
|
});
|
|
7509
|
-
}
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7553
|
+
};
|
|
7510
7554
|
|
|
7511
7555
|
var tab = {
|
|
7512
7556
|
mixins: [Class],
|
|
@@ -7514,13 +7558,13 @@
|
|
|
7514
7558
|
extends: Switcher,
|
|
7515
7559
|
|
|
7516
7560
|
props: {
|
|
7517
|
-
media: Boolean
|
|
7518
|
-
|
|
7561
|
+
media: Boolean
|
|
7562
|
+
},
|
|
7519
7563
|
|
|
7520
7564
|
data: {
|
|
7521
7565
|
media: 960,
|
|
7522
|
-
attrItem: 'uk-tab-item'
|
|
7523
|
-
|
|
7566
|
+
attrItem: 'uk-tab-item'
|
|
7567
|
+
},
|
|
7524
7568
|
|
|
7525
7569
|
connected() {
|
|
7526
7570
|
const cls = hasClass(this.$el, 'uk-tab-left') ?
|
|
@@ -7532,7 +7576,8 @@
|
|
|
7532
7576
|
if (cls) {
|
|
7533
7577
|
this.$create('toggle', this.$el, { cls, mode: 'media', media: this.media });
|
|
7534
7578
|
}
|
|
7535
|
-
}
|
|
7579
|
+
}
|
|
7580
|
+
};
|
|
7536
7581
|
|
|
7537
7582
|
const KEY_SPACE = 32;
|
|
7538
7583
|
|
|
@@ -7545,15 +7590,15 @@
|
|
|
7545
7590
|
href: String,
|
|
7546
7591
|
target: null,
|
|
7547
7592
|
mode: 'list',
|
|
7548
|
-
queued: Boolean
|
|
7549
|
-
|
|
7593
|
+
queued: Boolean
|
|
7594
|
+
},
|
|
7550
7595
|
|
|
7551
7596
|
data: {
|
|
7552
7597
|
href: false,
|
|
7553
7598
|
target: false,
|
|
7554
7599
|
mode: 'click',
|
|
7555
|
-
queued: true
|
|
7556
|
-
|
|
7600
|
+
queued: true
|
|
7601
|
+
},
|
|
7557
7602
|
|
|
7558
7603
|
computed: {
|
|
7559
7604
|
target: {
|
|
@@ -7568,9 +7613,9 @@
|
|
|
7568
7613
|
},
|
|
7569
7614
|
|
|
7570
7615
|
document: true,
|
|
7571
|
-
immediate: true
|
|
7572
|
-
|
|
7573
|
-
|
|
7616
|
+
immediate: true
|
|
7617
|
+
}
|
|
7618
|
+
},
|
|
7574
7619
|
|
|
7575
7620
|
connected() {
|
|
7576
7621
|
if (!includes(this.mode, 'media') && !isFocusable(this.$el)) {
|
|
@@ -7608,8 +7653,8 @@
|
|
|
7608
7653
|
if (includes(this.mode, 'click')) {
|
|
7609
7654
|
this._preventClick = true;
|
|
7610
7655
|
}
|
|
7611
|
-
}
|
|
7612
|
-
|
|
7656
|
+
}
|
|
7657
|
+
},
|
|
7613
7658
|
|
|
7614
7659
|
{
|
|
7615
7660
|
name: pointerEnter + " " + pointerLeave + " focus blur",
|
|
@@ -7647,8 +7692,8 @@
|
|
|
7647
7692
|
this._showState = show ? expanded : null;
|
|
7648
7693
|
|
|
7649
7694
|
this.toggle("toggle" + (show ? 'show' : 'hide'));
|
|
7650
|
-
}
|
|
7651
|
-
|
|
7695
|
+
}
|
|
7696
|
+
},
|
|
7652
7697
|
|
|
7653
7698
|
{
|
|
7654
7699
|
name: 'keydown',
|
|
@@ -7662,8 +7707,8 @@
|
|
|
7662
7707
|
e.preventDefault();
|
|
7663
7708
|
this.$el.click();
|
|
7664
7709
|
}
|
|
7665
|
-
}
|
|
7666
|
-
|
|
7710
|
+
}
|
|
7711
|
+
},
|
|
7667
7712
|
|
|
7668
7713
|
{
|
|
7669
7714
|
name: 'click',
|
|
@@ -7687,8 +7732,8 @@
|
|
|
7687
7732
|
if (!this._preventClick && includes(this.mode, 'click')) {
|
|
7688
7733
|
this.toggle();
|
|
7689
7734
|
}
|
|
7690
|
-
}
|
|
7691
|
-
|
|
7735
|
+
}
|
|
7736
|
+
},
|
|
7692
7737
|
|
|
7693
7738
|
{
|
|
7694
7739
|
name: 'hide show',
|
|
@@ -7701,8 +7746,8 @@
|
|
|
7701
7746
|
|
|
7702
7747
|
handler(_ref2) {let { target, type } = _ref2;
|
|
7703
7748
|
this.updateAria(target === this.target[0] && type === 'show');
|
|
7704
|
-
}
|
|
7705
|
-
|
|
7749
|
+
}
|
|
7750
|
+
},
|
|
7706
7751
|
|
|
7707
7752
|
{
|
|
7708
7753
|
name: 'mediachange',
|
|
@@ -7719,8 +7764,8 @@
|
|
|
7719
7764
|
if (mediaObj.matches ^ this.isToggled(this.target)) {
|
|
7720
7765
|
this.toggle();
|
|
7721
7766
|
}
|
|
7722
|
-
}
|
|
7723
|
-
|
|
7767
|
+
}
|
|
7768
|
+
}],
|
|
7724
7769
|
|
|
7725
7770
|
|
|
7726
7771
|
methods: {
|
|
@@ -7761,7 +7806,9 @@
|
|
|
7761
7806
|
'aria-expanded',
|
|
7762
7807
|
isBoolean(toggled) ? toggled : this.isToggled(this.target));
|
|
7763
7808
|
|
|
7764
|
-
}
|
|
7809
|
+
}
|
|
7810
|
+
}
|
|
7811
|
+
};
|
|
7765
7812
|
|
|
7766
7813
|
var components$1 = /*#__PURE__*/Object.freeze({
|
|
7767
7814
|
__proto__: null,
|
|
@@ -7820,13 +7867,13 @@
|
|
|
7820
7867
|
|
|
7821
7868
|
props: {
|
|
7822
7869
|
date: String,
|
|
7823
|
-
clsWrapper: String
|
|
7824
|
-
|
|
7870
|
+
clsWrapper: String
|
|
7871
|
+
},
|
|
7825
7872
|
|
|
7826
7873
|
data: {
|
|
7827
7874
|
date: '',
|
|
7828
|
-
clsWrapper: '.uk-countdown-%unit%'
|
|
7829
|
-
|
|
7875
|
+
clsWrapper: '.uk-countdown-%unit%'
|
|
7876
|
+
},
|
|
7830
7877
|
|
|
7831
7878
|
connected() {
|
|
7832
7879
|
this.date = Date.parse(this.$props.date);
|
|
@@ -7851,8 +7898,8 @@
|
|
|
7851
7898
|
} else {
|
|
7852
7899
|
this.start();
|
|
7853
7900
|
}
|
|
7854
|
-
}
|
|
7855
|
-
|
|
7901
|
+
}
|
|
7902
|
+
}],
|
|
7856
7903
|
|
|
7857
7904
|
|
|
7858
7905
|
methods: {
|
|
@@ -7896,9 +7943,9 @@
|
|
|
7896
7943
|
digits.forEach((digit, i) => el.children[i].textContent = digit);
|
|
7897
7944
|
}
|
|
7898
7945
|
}
|
|
7899
|
-
}
|
|
7900
|
-
|
|
7901
|
-
|
|
7946
|
+
}
|
|
7947
|
+
}
|
|
7948
|
+
};
|
|
7902
7949
|
|
|
7903
7950
|
function getTimeSpan(date) {
|
|
7904
7951
|
const total = date - Date.now();
|
|
@@ -7908,8 +7955,8 @@
|
|
|
7908
7955
|
seconds: total / 1000 % 60,
|
|
7909
7956
|
minutes: total / 1000 / 60 % 60,
|
|
7910
7957
|
hours: total / 1000 / 60 / 60 % 24,
|
|
7911
|
-
days: total / 1000 / 60 / 60 / 24
|
|
7912
|
-
|
|
7958
|
+
days: total / 1000 / 60 / 60 / 24
|
|
7959
|
+
};
|
|
7913
7960
|
}
|
|
7914
7961
|
|
|
7915
7962
|
const clsLeave = 'uk-transition-leave';
|
|
@@ -8067,8 +8114,8 @@
|
|
|
8067
8114
|
const [propsTo, propsFrom] = getTransitionProps(target, nodes, currentProps);
|
|
8068
8115
|
const attrsTo = nodes.map((el) => ({
|
|
8069
8116
|
class: attr(el, 'class'),
|
|
8070
|
-
style: attr(el, 'style')
|
|
8071
|
-
|
|
8117
|
+
style: attr(el, 'style')
|
|
8118
|
+
}));
|
|
8072
8119
|
|
|
8073
8120
|
// Reset to previous state
|
|
8074
8121
|
nodes.forEach((el, i) => propsFrom[i] && css(el, propsFrom[i]));
|
|
@@ -8106,8 +8153,8 @@
|
|
|
8106
8153
|
pointerEvents: 'none',
|
|
8107
8154
|
position: 'absolute',
|
|
8108
8155
|
zIndex: zIndex === 'auto' ? index(el) : zIndex,
|
|
8109
|
-
...getPositionWithMargin(el)
|
|
8110
|
-
|
|
8156
|
+
...getPositionWithMargin(el)
|
|
8157
|
+
} :
|
|
8111
8158
|
false;
|
|
8112
8159
|
}
|
|
8113
8160
|
|
|
@@ -8161,8 +8208,8 @@
|
|
|
8161
8208
|
width,
|
|
8162
8209
|
transform: '',
|
|
8163
8210
|
...position(el),
|
|
8164
|
-
...css(el, ['marginTop', 'marginLeft'])
|
|
8165
|
-
|
|
8211
|
+
...css(el, ['marginTop', 'marginLeft'])
|
|
8212
|
+
};
|
|
8166
8213
|
}
|
|
8167
8214
|
|
|
8168
8215
|
function awaitFrame() {
|
|
@@ -8172,13 +8219,13 @@
|
|
|
8172
8219
|
var Animate = {
|
|
8173
8220
|
props: {
|
|
8174
8221
|
duration: Number,
|
|
8175
|
-
animation: Boolean
|
|
8176
|
-
|
|
8222
|
+
animation: Boolean
|
|
8223
|
+
},
|
|
8177
8224
|
|
|
8178
8225
|
data: {
|
|
8179
8226
|
duration: 150,
|
|
8180
|
-
animation: 'slide'
|
|
8181
|
-
|
|
8227
|
+
animation: 'slide'
|
|
8228
|
+
},
|
|
8182
8229
|
|
|
8183
8230
|
methods: {
|
|
8184
8231
|
animate(action, target) {if (target === void 0) {target = this.$el;}
|
|
@@ -8196,7 +8243,9 @@
|
|
|
8196
8243
|
};
|
|
8197
8244
|
|
|
8198
8245
|
return animationFn(action, target, this.duration).catch(noop);
|
|
8199
|
-
}
|
|
8246
|
+
}
|
|
8247
|
+
}
|
|
8248
|
+
};
|
|
8200
8249
|
|
|
8201
8250
|
var filter = {
|
|
8202
8251
|
mixins: [Animate],
|
|
@@ -8205,16 +8254,16 @@
|
|
|
8205
8254
|
|
|
8206
8255
|
props: {
|
|
8207
8256
|
target: Boolean,
|
|
8208
|
-
selActive: Boolean
|
|
8209
|
-
|
|
8257
|
+
selActive: Boolean
|
|
8258
|
+
},
|
|
8210
8259
|
|
|
8211
8260
|
data: {
|
|
8212
8261
|
target: null,
|
|
8213
8262
|
selActive: false,
|
|
8214
8263
|
attrItem: 'uk-filter-control',
|
|
8215
8264
|
cls: 'uk-active',
|
|
8216
|
-
duration: 250
|
|
8217
|
-
|
|
8265
|
+
duration: 250
|
|
8266
|
+
},
|
|
8218
8267
|
|
|
8219
8268
|
computed: {
|
|
8220
8269
|
toggles: {
|
|
@@ -8231,8 +8280,8 @@
|
|
|
8231
8280
|
}
|
|
8232
8281
|
},
|
|
8233
8282
|
|
|
8234
|
-
immediate: true
|
|
8235
|
-
|
|
8283
|
+
immediate: true
|
|
8284
|
+
},
|
|
8236
8285
|
|
|
8237
8286
|
children: {
|
|
8238
8287
|
get(_ref2, $el) {let { target } = _ref2;
|
|
@@ -8245,9 +8294,9 @@
|
|
|
8245
8294
|
}
|
|
8246
8295
|
},
|
|
8247
8296
|
|
|
8248
|
-
immediate: true
|
|
8249
|
-
|
|
8250
|
-
|
|
8297
|
+
immediate: true
|
|
8298
|
+
}
|
|
8299
|
+
},
|
|
8251
8300
|
|
|
8252
8301
|
events: [
|
|
8253
8302
|
{
|
|
@@ -8260,8 +8309,8 @@
|
|
|
8260
8309
|
handler(e) {
|
|
8261
8310
|
e.preventDefault();
|
|
8262
8311
|
this.apply(e.current);
|
|
8263
|
-
}
|
|
8264
|
-
|
|
8312
|
+
}
|
|
8313
|
+
}],
|
|
8265
8314
|
|
|
8266
8315
|
|
|
8267
8316
|
methods: {
|
|
@@ -8279,8 +8328,8 @@
|
|
|
8279
8328
|
filter((item) => hasClass(item, this.cls)).
|
|
8280
8329
|
reduce((state, el) => mergeState(el, this.attrItem, state), {
|
|
8281
8330
|
filter: { '': '' },
|
|
8282
|
-
sort: []
|
|
8283
|
-
|
|
8331
|
+
sort: []
|
|
8332
|
+
});
|
|
8284
8333
|
},
|
|
8285
8334
|
|
|
8286
8335
|
async setState(state, animate) {if (animate === void 0) {animate = true;}
|
|
@@ -8307,9 +8356,9 @@
|
|
|
8307
8356
|
|
|
8308
8357
|
updateState() {
|
|
8309
8358
|
fastdom.write(() => this.setState(this.getState(), false));
|
|
8310
|
-
}
|
|
8311
|
-
|
|
8312
|
-
|
|
8359
|
+
}
|
|
8360
|
+
}
|
|
8361
|
+
};
|
|
8313
8362
|
|
|
8314
8363
|
function getFilter(el, attr) {
|
|
8315
8364
|
return parseOptions(data(el, attr), ['filter']);
|
|
@@ -8407,9 +8456,9 @@
|
|
|
8407
8456
|
{ transform: translate(dir * -100 * percent) },
|
|
8408
8457
|
{ transform: translate(dir * 100 * (1 - percent)) }];
|
|
8409
8458
|
|
|
8410
|
-
}
|
|
8411
|
-
|
|
8412
|
-
|
|
8459
|
+
}
|
|
8460
|
+
}
|
|
8461
|
+
};
|
|
8413
8462
|
|
|
8414
8463
|
function translated(el) {
|
|
8415
8464
|
return Math.abs(css(el, 'transform').split(',')[4] / el.offsetWidth) || 0;
|
|
@@ -8437,8 +8486,8 @@
|
|
|
8437
8486
|
|
|
8438
8487
|
translate(percent) {
|
|
8439
8488
|
return [{ opacity: 1 - percent }, { opacity: percent }];
|
|
8440
|
-
}
|
|
8441
|
-
|
|
8489
|
+
}
|
|
8490
|
+
},
|
|
8442
8491
|
|
|
8443
8492
|
scale: {
|
|
8444
8493
|
show() {
|
|
@@ -8457,7 +8506,9 @@
|
|
|
8457
8506
|
{ opacity: 1 - percent, transform: scale3d(1 - 0.2 * percent) },
|
|
8458
8507
|
{ opacity: percent, transform: scale3d(1 - 0.2 + 0.2 * percent) }];
|
|
8459
8508
|
|
|
8460
|
-
}
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8511
|
+
};
|
|
8461
8512
|
|
|
8462
8513
|
function Transitioner$1(prev, next, dir, _ref) {let { animation, easing } = _ref;
|
|
8463
8514
|
const { percent, translate, show = noop } = animation;
|
|
@@ -8518,8 +8569,8 @@
|
|
|
8518
8569
|
|
|
8519
8570
|
getDistance() {
|
|
8520
8571
|
return prev == null ? void 0 : prev.offsetWidth;
|
|
8521
|
-
}
|
|
8522
|
-
|
|
8572
|
+
}
|
|
8573
|
+
};
|
|
8523
8574
|
}
|
|
8524
8575
|
|
|
8525
8576
|
function triggerUpdate$1(el, type, data) {
|
|
@@ -8530,14 +8581,14 @@
|
|
|
8530
8581
|
props: {
|
|
8531
8582
|
autoplay: Boolean,
|
|
8532
8583
|
autoplayInterval: Number,
|
|
8533
|
-
pauseOnHover: Boolean
|
|
8534
|
-
|
|
8584
|
+
pauseOnHover: Boolean
|
|
8585
|
+
},
|
|
8535
8586
|
|
|
8536
8587
|
data: {
|
|
8537
8588
|
autoplay: false,
|
|
8538
8589
|
autoplayInterval: 7000,
|
|
8539
|
-
pauseOnHover: true
|
|
8540
|
-
|
|
8590
|
+
pauseOnHover: true
|
|
8591
|
+
},
|
|
8541
8592
|
|
|
8542
8593
|
connected() {
|
|
8543
8594
|
this.autoplay && this.startAutoplay();
|
|
@@ -8569,8 +8620,8 @@
|
|
|
8569
8620
|
} else {
|
|
8570
8621
|
this.startAutoplay();
|
|
8571
8622
|
}
|
|
8572
|
-
}
|
|
8573
|
-
|
|
8623
|
+
}
|
|
8624
|
+
}],
|
|
8574
8625
|
|
|
8575
8626
|
|
|
8576
8627
|
methods: {
|
|
@@ -8589,7 +8640,9 @@
|
|
|
8589
8640
|
|
|
8590
8641
|
stopAutoplay() {
|
|
8591
8642
|
this.interval && clearInterval(this.interval);
|
|
8592
|
-
}
|
|
8643
|
+
}
|
|
8644
|
+
}
|
|
8645
|
+
};
|
|
8593
8646
|
|
|
8594
8647
|
const pointerOptions = { passive: false, capture: true };
|
|
8595
8648
|
const pointerUpOptions = { passive: true, capture: true };
|
|
@@ -8599,13 +8652,13 @@
|
|
|
8599
8652
|
|
|
8600
8653
|
var SliderDrag = {
|
|
8601
8654
|
props: {
|
|
8602
|
-
draggable: Boolean
|
|
8603
|
-
|
|
8655
|
+
draggable: Boolean
|
|
8656
|
+
},
|
|
8604
8657
|
|
|
8605
8658
|
data: {
|
|
8606
8659
|
draggable: true,
|
|
8607
|
-
threshold: 10
|
|
8608
|
-
|
|
8660
|
+
threshold: 10
|
|
8661
|
+
},
|
|
8609
8662
|
|
|
8610
8663
|
created() {
|
|
8611
8664
|
for (const key of ['start', 'move', 'end']) {
|
|
@@ -8643,16 +8696,16 @@
|
|
|
8643
8696
|
}
|
|
8644
8697
|
|
|
8645
8698
|
this.start(e);
|
|
8646
|
-
}
|
|
8647
|
-
|
|
8699
|
+
}
|
|
8700
|
+
},
|
|
8648
8701
|
|
|
8649
8702
|
{
|
|
8650
8703
|
name: 'dragstart',
|
|
8651
8704
|
|
|
8652
8705
|
handler(e) {
|
|
8653
8706
|
e.preventDefault();
|
|
8654
|
-
}
|
|
8655
|
-
|
|
8707
|
+
}
|
|
8708
|
+
},
|
|
8656
8709
|
|
|
8657
8710
|
{
|
|
8658
8711
|
// iOS workaround for slider stopping if swiping fast
|
|
@@ -8661,8 +8714,8 @@
|
|
|
8661
8714
|
return this.list;
|
|
8662
8715
|
},
|
|
8663
8716
|
handler: noop,
|
|
8664
|
-
...pointerOptions
|
|
8665
|
-
|
|
8717
|
+
...pointerOptions
|
|
8718
|
+
}],
|
|
8666
8719
|
|
|
8667
8720
|
|
|
8668
8721
|
methods: {
|
|
@@ -8799,9 +8852,9 @@
|
|
|
8799
8852
|
css(this.list, { userSelect: '', pointerEvents: '' });
|
|
8800
8853
|
|
|
8801
8854
|
this.drag = this.percent = null;
|
|
8802
|
-
}
|
|
8803
|
-
|
|
8804
|
-
|
|
8855
|
+
}
|
|
8856
|
+
}
|
|
8857
|
+
};
|
|
8805
8858
|
|
|
8806
8859
|
function hasSelectableText(el) {
|
|
8807
8860
|
return (
|
|
@@ -8812,8 +8865,8 @@
|
|
|
8812
8865
|
|
|
8813
8866
|
var SliderNav = {
|
|
8814
8867
|
data: {
|
|
8815
|
-
selNav: false
|
|
8816
|
-
|
|
8868
|
+
selNav: false
|
|
8869
|
+
},
|
|
8817
8870
|
|
|
8818
8871
|
computed: {
|
|
8819
8872
|
nav(_ref, $el) {let { selNav } = _ref;
|
|
@@ -8826,8 +8879,8 @@
|
|
|
8826
8879
|
|
|
8827
8880
|
navItems(_, $el) {
|
|
8828
8881
|
return $$(this.selNavItem, $el);
|
|
8829
|
-
}
|
|
8830
|
-
|
|
8882
|
+
}
|
|
8883
|
+
},
|
|
8831
8884
|
|
|
8832
8885
|
update: {
|
|
8833
8886
|
write() {
|
|
@@ -8845,8 +8898,8 @@
|
|
|
8845
8898
|
this.updateNav();
|
|
8846
8899
|
},
|
|
8847
8900
|
|
|
8848
|
-
events: ['resize']
|
|
8849
|
-
|
|
8901
|
+
events: ['resize']
|
|
8902
|
+
},
|
|
8850
8903
|
|
|
8851
8904
|
events: [
|
|
8852
8905
|
{
|
|
@@ -8859,13 +8912,13 @@
|
|
|
8859
8912
|
handler(e) {
|
|
8860
8913
|
e.preventDefault();
|
|
8861
8914
|
this.show(data(e.current, this.attrItem));
|
|
8862
|
-
}
|
|
8863
|
-
|
|
8915
|
+
}
|
|
8916
|
+
},
|
|
8864
8917
|
|
|
8865
8918
|
{
|
|
8866
8919
|
name: 'itemshow',
|
|
8867
|
-
handler: 'updateNav'
|
|
8868
|
-
|
|
8920
|
+
handler: 'updateNav'
|
|
8921
|
+
}],
|
|
8869
8922
|
|
|
8870
8923
|
|
|
8871
8924
|
methods: {
|
|
@@ -8882,7 +8935,9 @@
|
|
|
8882
8935
|
cmd === 'previous' && i === 0 || cmd === 'next' && i >= this.maxIndex));
|
|
8883
8936
|
|
|
8884
8937
|
}
|
|
8885
|
-
}
|
|
8938
|
+
}
|
|
8939
|
+
}
|
|
8940
|
+
};
|
|
8886
8941
|
|
|
8887
8942
|
var Slider = {
|
|
8888
8943
|
mixins: [SliderAutoplay, SliderDrag, SliderNav, Resize],
|
|
@@ -8893,8 +8948,8 @@
|
|
|
8893
8948
|
index: Number,
|
|
8894
8949
|
finite: Boolean,
|
|
8895
8950
|
velocity: Number,
|
|
8896
|
-
selSlides: String
|
|
8897
|
-
|
|
8951
|
+
selSlides: String
|
|
8952
|
+
},
|
|
8898
8953
|
|
|
8899
8954
|
data: () => ({
|
|
8900
8955
|
easing: 'ease',
|
|
@@ -8907,8 +8962,8 @@
|
|
|
8907
8962
|
clsActive: 'uk-active',
|
|
8908
8963
|
clsActivated: false,
|
|
8909
8964
|
Transitioner: false,
|
|
8910
|
-
transitionOptions: {}
|
|
8911
|
-
|
|
8965
|
+
transitionOptions: {}
|
|
8966
|
+
}),
|
|
8912
8967
|
|
|
8913
8968
|
connected() {
|
|
8914
8969
|
this.prevIndex = -1;
|
|
@@ -8944,13 +8999,13 @@
|
|
|
8944
8999
|
|
|
8945
9000
|
watch() {
|
|
8946
9001
|
this.$emit('resize');
|
|
8947
|
-
}
|
|
8948
|
-
|
|
9002
|
+
}
|
|
9003
|
+
},
|
|
8949
9004
|
|
|
8950
9005
|
length() {
|
|
8951
9006
|
return this.slides.length;
|
|
8952
|
-
}
|
|
8953
|
-
|
|
9007
|
+
}
|
|
9008
|
+
},
|
|
8954
9009
|
|
|
8955
9010
|
methods: {
|
|
8956
9011
|
show(index, force) {if (force === void 0) {force = false;}
|
|
@@ -9039,8 +9094,8 @@
|
|
|
9039
9094
|
'cubic-bezier(0.25, 0.46, 0.45, 0.94)' /* easeOutQuad */ :
|
|
9040
9095
|
'cubic-bezier(0.165, 0.84, 0.44, 1)' /* easeOutQuart */ :
|
|
9041
9096
|
this.easing,
|
|
9042
|
-
...this.transitionOptions
|
|
9043
|
-
|
|
9097
|
+
...this.transitionOptions
|
|
9098
|
+
});
|
|
9044
9099
|
|
|
9045
9100
|
if (!force && !prev) {
|
|
9046
9101
|
this._translate(1);
|
|
@@ -9076,9 +9131,9 @@
|
|
|
9076
9131
|
dir * (isRtl ? -1 : 1),
|
|
9077
9132
|
options);
|
|
9078
9133
|
|
|
9079
|
-
}
|
|
9080
|
-
|
|
9081
|
-
|
|
9134
|
+
}
|
|
9135
|
+
}
|
|
9136
|
+
};
|
|
9082
9137
|
|
|
9083
9138
|
function getDirection(index, prevIndex) {
|
|
9084
9139
|
return index === 'next' ? 1 : index === 'previous' ? -1 : index < prevIndex ? -1 : 1;
|
|
@@ -9092,15 +9147,15 @@
|
|
|
9092
9147
|
mixins: [Slider],
|
|
9093
9148
|
|
|
9094
9149
|
props: {
|
|
9095
|
-
animation: String
|
|
9096
|
-
|
|
9150
|
+
animation: String
|
|
9151
|
+
},
|
|
9097
9152
|
|
|
9098
9153
|
data: {
|
|
9099
9154
|
animation: 'slide',
|
|
9100
9155
|
clsActivated: 'uk-transition-active',
|
|
9101
9156
|
Animations: Animations$2,
|
|
9102
|
-
Transitioner: Transitioner$1
|
|
9103
|
-
|
|
9157
|
+
Transitioner: Transitioner$1
|
|
9158
|
+
},
|
|
9104
9159
|
|
|
9105
9160
|
computed: {
|
|
9106
9161
|
animation(_ref) {let { animation, Animations } = _ref;
|
|
@@ -9109,8 +9164,8 @@
|
|
|
9109
9164
|
|
|
9110
9165
|
transitionOptions() {
|
|
9111
9166
|
return { animation: this.animation };
|
|
9112
|
-
}
|
|
9113
|
-
|
|
9167
|
+
}
|
|
9168
|
+
},
|
|
9114
9169
|
|
|
9115
9170
|
events: {
|
|
9116
9171
|
beforeitemshow(_ref2) {let { target } = _ref2;
|
|
@@ -9123,7 +9178,9 @@
|
|
|
9123
9178
|
|
|
9124
9179
|
itemhidden(_ref4) {let { target } = _ref4;
|
|
9125
9180
|
removeClass(target, this.clsActive, this.clsActivated);
|
|
9126
|
-
}
|
|
9181
|
+
}
|
|
9182
|
+
}
|
|
9183
|
+
};
|
|
9127
9184
|
|
|
9128
9185
|
var LightboxPanel = {
|
|
9129
9186
|
mixins: [Container, Modal, Togglable, Slideshow],
|
|
@@ -9134,8 +9191,8 @@
|
|
|
9134
9191
|
delayControls: Number,
|
|
9135
9192
|
preload: Number,
|
|
9136
9193
|
videoAutoplay: Boolean,
|
|
9137
|
-
template: String
|
|
9138
|
-
|
|
9194
|
+
template: String
|
|
9195
|
+
},
|
|
9139
9196
|
|
|
9140
9197
|
data: () => ({
|
|
9141
9198
|
preload: 1,
|
|
@@ -9151,8 +9208,7 @@
|
|
|
9151
9208
|
pauseOnHover: false,
|
|
9152
9209
|
velocity: 2,
|
|
9153
9210
|
Animations: Animations$1,
|
|
9154
|
-
template: "<div class=\"uk-lightbox uk-overflow-hidden\"> <ul class=\"uk-lightbox-items\"></ul> <div class=\"uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque\"> <button class=\"uk-lightbox-toolbar-icon uk-close-large\" type=\"button\" uk-close></button> </div> <a class=\"uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade\" href uk-slidenav-previous uk-lightbox-item=\"previous\"></a> <a class=\"uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade\" href uk-slidenav-next uk-lightbox-item=\"next\"></a> <div class=\"uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque\"></div> </div>"
|
|
9155
|
-
|
|
9211
|
+
template: "<div class=\"uk-lightbox uk-overflow-hidden\"> <ul class=\"uk-lightbox-items\"></ul> <div class=\"uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque\"> <button class=\"uk-lightbox-toolbar-icon uk-close-large\" type=\"button\" uk-close></button> </div> <a class=\"uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade\" href uk-slidenav-previous uk-lightbox-item=\"previous\"></a> <a class=\"uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade\" href uk-slidenav-next uk-lightbox-item=\"next\"></a> <div class=\"uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque\"></div> </div>"
|
|
9156
9212
|
|
|
9157
9213
|
|
|
9158
9214
|
|
|
@@ -9161,6 +9217,7 @@
|
|
|
9161
9217
|
|
|
9162
9218
|
|
|
9163
9219
|
|
|
9220
|
+
}),
|
|
9164
9221
|
|
|
9165
9222
|
created() {
|
|
9166
9223
|
const $el = $(this.template);
|
|
@@ -9173,15 +9230,15 @@
|
|
|
9173
9230
|
computed: {
|
|
9174
9231
|
caption(_ref, $el) {let { selCaption } = _ref;
|
|
9175
9232
|
return $(selCaption, $el);
|
|
9176
|
-
}
|
|
9177
|
-
|
|
9233
|
+
}
|
|
9234
|
+
},
|
|
9178
9235
|
|
|
9179
9236
|
events: [
|
|
9180
9237
|
{
|
|
9181
9238
|
name: pointerMove$1 + " " + pointerDown$1 + " keydown",
|
|
9182
9239
|
|
|
9183
|
-
handler: 'showControls'
|
|
9184
|
-
|
|
9240
|
+
handler: 'showControls'
|
|
9241
|
+
},
|
|
9185
9242
|
|
|
9186
9243
|
{
|
|
9187
9244
|
name: 'click',
|
|
@@ -9198,8 +9255,8 @@
|
|
|
9198
9255
|
}
|
|
9199
9256
|
|
|
9200
9257
|
this.hide();
|
|
9201
|
-
}
|
|
9202
|
-
|
|
9258
|
+
}
|
|
9259
|
+
},
|
|
9203
9260
|
|
|
9204
9261
|
{
|
|
9205
9262
|
name: 'shown',
|
|
@@ -9208,8 +9265,8 @@
|
|
|
9208
9265
|
|
|
9209
9266
|
handler() {
|
|
9210
9267
|
this.showControls();
|
|
9211
|
-
}
|
|
9212
|
-
|
|
9268
|
+
}
|
|
9269
|
+
},
|
|
9213
9270
|
|
|
9214
9271
|
{
|
|
9215
9272
|
name: 'hide',
|
|
@@ -9221,8 +9278,8 @@
|
|
|
9221
9278
|
|
|
9222
9279
|
removeClass(this.slides, this.clsActive);
|
|
9223
9280
|
Transition.stop(this.slides);
|
|
9224
|
-
}
|
|
9225
|
-
|
|
9281
|
+
}
|
|
9282
|
+
},
|
|
9226
9283
|
|
|
9227
9284
|
{
|
|
9228
9285
|
name: 'hidden',
|
|
@@ -9231,8 +9288,8 @@
|
|
|
9231
9288
|
|
|
9232
9289
|
handler() {
|
|
9233
9290
|
this.$destroy(true);
|
|
9234
|
-
}
|
|
9235
|
-
|
|
9291
|
+
}
|
|
9292
|
+
},
|
|
9236
9293
|
|
|
9237
9294
|
{
|
|
9238
9295
|
name: 'keyup',
|
|
@@ -9254,8 +9311,8 @@
|
|
|
9254
9311
|
this.show('next');
|
|
9255
9312
|
break;}
|
|
9256
9313
|
|
|
9257
|
-
}
|
|
9258
|
-
|
|
9314
|
+
}
|
|
9315
|
+
},
|
|
9259
9316
|
|
|
9260
9317
|
{
|
|
9261
9318
|
name: 'beforeitemshow',
|
|
@@ -9274,8 +9331,8 @@
|
|
|
9274
9331
|
this.animation = Animations$1['scale'];
|
|
9275
9332
|
removeClass(e.target, this.clsActive);
|
|
9276
9333
|
this.stack.splice(1, 0, this.index);
|
|
9277
|
-
}
|
|
9278
|
-
|
|
9334
|
+
}
|
|
9335
|
+
},
|
|
9279
9336
|
|
|
9280
9337
|
{
|
|
9281
9338
|
name: 'itemshow',
|
|
@@ -9286,16 +9343,16 @@
|
|
|
9286
9343
|
for (let j = -this.preload; j <= this.preload; j++) {
|
|
9287
9344
|
this.loadItem(this.index + j);
|
|
9288
9345
|
}
|
|
9289
|
-
}
|
|
9290
|
-
|
|
9346
|
+
}
|
|
9347
|
+
},
|
|
9291
9348
|
|
|
9292
9349
|
{
|
|
9293
9350
|
name: 'itemshown',
|
|
9294
9351
|
|
|
9295
9352
|
handler() {
|
|
9296
9353
|
this.draggable = this.$props.draggable;
|
|
9297
|
-
}
|
|
9298
|
-
|
|
9354
|
+
}
|
|
9355
|
+
},
|
|
9299
9356
|
|
|
9300
9357
|
{
|
|
9301
9358
|
name: 'itemload',
|
|
@@ -9314,8 +9371,8 @@
|
|
|
9314
9371
|
allowfullscreen: '',
|
|
9315
9372
|
style: 'max-width: 100%; box-sizing: border-box;',
|
|
9316
9373
|
'uk-responsive': '',
|
|
9317
|
-
'uk-video': "" + this.videoAutoplay
|
|
9318
|
-
|
|
9374
|
+
'uk-video': "" + this.videoAutoplay
|
|
9375
|
+
};
|
|
9319
9376
|
|
|
9320
9377
|
// Image
|
|
9321
9378
|
if (
|
|
@@ -9337,8 +9394,8 @@
|
|
|
9337
9394
|
controls: '',
|
|
9338
9395
|
playsinline: '',
|
|
9339
9396
|
'uk-video': "" + this.videoAutoplay,
|
|
9340
|
-
...attrs
|
|
9341
|
-
|
|
9397
|
+
...attrs
|
|
9398
|
+
});
|
|
9342
9399
|
|
|
9343
9400
|
on(video, 'loadedmetadata', () => {
|
|
9344
9401
|
attr(video, { width: video.videoWidth, height: video.videoHeight });
|
|
@@ -9354,8 +9411,8 @@
|
|
|
9354
9411
|
src,
|
|
9355
9412
|
allowfullscreen: '',
|
|
9356
9413
|
class: 'uk-lightbox-iframe',
|
|
9357
|
-
...attrs
|
|
9358
|
-
|
|
9414
|
+
...attrs
|
|
9415
|
+
}));
|
|
9359
9416
|
|
|
9360
9417
|
|
|
9361
9418
|
// YouTube
|
|
@@ -9373,8 +9430,8 @@
|
|
|
9373
9430
|
width: 1920,
|
|
9374
9431
|
height: 1080,
|
|
9375
9432
|
...iframeAttrs,
|
|
9376
|
-
...attrs
|
|
9377
|
-
|
|
9433
|
+
...attrs
|
|
9434
|
+
}));
|
|
9378
9435
|
|
|
9379
9436
|
|
|
9380
9437
|
// Vimeo
|
|
@@ -9386,8 +9443,8 @@
|
|
|
9386
9443
|
src),
|
|
9387
9444
|
|
|
9388
9445
|
{
|
|
9389
|
-
credentials: 'omit'
|
|
9390
|
-
|
|
9446
|
+
credentials: 'omit'
|
|
9447
|
+
})).
|
|
9391
9448
|
|
|
9392
9449
|
json();
|
|
9393
9450
|
|
|
@@ -9400,15 +9457,15 @@
|
|
|
9400
9457
|
width,
|
|
9401
9458
|
height,
|
|
9402
9459
|
...iframeAttrs,
|
|
9403
|
-
...attrs
|
|
9404
|
-
|
|
9460
|
+
...attrs
|
|
9461
|
+
}));
|
|
9405
9462
|
|
|
9406
9463
|
} catch (e) {
|
|
9407
9464
|
this.setError(item);
|
|
9408
9465
|
}
|
|
9409
9466
|
}
|
|
9410
|
-
}
|
|
9411
|
-
|
|
9467
|
+
}
|
|
9468
|
+
}],
|
|
9412
9469
|
|
|
9413
9470
|
|
|
9414
9471
|
methods: {
|
|
@@ -9445,9 +9502,9 @@
|
|
|
9445
9502
|
|
|
9446
9503
|
hideControls() {
|
|
9447
9504
|
removeClass(this.$el, 'uk-active', 'uk-transition-active');
|
|
9448
|
-
}
|
|
9449
|
-
|
|
9450
|
-
|
|
9505
|
+
}
|
|
9506
|
+
}
|
|
9507
|
+
};
|
|
9451
9508
|
|
|
9452
9509
|
function createEl(tag, attrs) {
|
|
9453
9510
|
const el = fragment("<" + tag + ">");
|
|
@@ -9470,9 +9527,9 @@
|
|
|
9470
9527
|
|
|
9471
9528
|
watch() {
|
|
9472
9529
|
this.hide();
|
|
9473
|
-
}
|
|
9474
|
-
|
|
9475
|
-
|
|
9530
|
+
}
|
|
9531
|
+
}
|
|
9532
|
+
},
|
|
9476
9533
|
|
|
9477
9534
|
disconnected() {
|
|
9478
9535
|
this.hide();
|
|
@@ -9489,8 +9546,8 @@
|
|
|
9489
9546
|
handler(e) {
|
|
9490
9547
|
e.preventDefault();
|
|
9491
9548
|
this.show(e.current);
|
|
9492
|
-
}
|
|
9493
|
-
|
|
9549
|
+
}
|
|
9550
|
+
}],
|
|
9494
9551
|
|
|
9495
9552
|
|
|
9496
9553
|
methods: {
|
|
@@ -9511,9 +9568,9 @@
|
|
|
9511
9568
|
|
|
9512
9569
|
hide() {var _this$panel;
|
|
9513
9570
|
return (_this$panel = this.panel) == null ? void 0 : _this$panel.hide();
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9571
|
+
}
|
|
9572
|
+
}
|
|
9573
|
+
};
|
|
9517
9574
|
|
|
9518
9575
|
function install$1(UIkit, Lightbox) {
|
|
9519
9576
|
if (!UIkit.lightboxPanel) {
|
|
@@ -9550,8 +9607,8 @@
|
|
|
9550
9607
|
pos: 'top-center',
|
|
9551
9608
|
clsContainer: 'uk-notification',
|
|
9552
9609
|
clsClose: 'uk-notification-close',
|
|
9553
|
-
clsMsg: 'uk-notification-message'
|
|
9554
|
-
|
|
9610
|
+
clsMsg: 'uk-notification-message'
|
|
9611
|
+
},
|
|
9555
9612
|
|
|
9556
9613
|
install,
|
|
9557
9614
|
|
|
@@ -9562,8 +9619,8 @@
|
|
|
9562
9619
|
|
|
9563
9620
|
startProps() {
|
|
9564
9621
|
return { opacity: 0, [this.marginProp]: -this.$el.offsetHeight };
|
|
9565
|
-
}
|
|
9566
|
-
|
|
9622
|
+
}
|
|
9623
|
+
},
|
|
9567
9624
|
|
|
9568
9625
|
created() {
|
|
9569
9626
|
const container =
|
|
@@ -9590,8 +9647,8 @@
|
|
|
9590
9647
|
const margin = toFloat(css(this.$el, this.marginProp));
|
|
9591
9648
|
await Transition.start(css(this.$el, this.startProps), {
|
|
9592
9649
|
opacity: 1,
|
|
9593
|
-
[this.marginProp]: margin
|
|
9594
|
-
|
|
9650
|
+
[this.marginProp]: margin
|
|
9651
|
+
});
|
|
9595
9652
|
|
|
9596
9653
|
if (this.timeout) {
|
|
9597
9654
|
this.timer = setTimeout(this.close, this.timeout);
|
|
@@ -9616,8 +9673,8 @@
|
|
|
9616
9673
|
if (this.timeout) {
|
|
9617
9674
|
this.timer = setTimeout(this.close, this.timeout);
|
|
9618
9675
|
}
|
|
9619
|
-
}
|
|
9620
|
-
|
|
9676
|
+
}
|
|
9677
|
+
},
|
|
9621
9678
|
|
|
9622
9679
|
methods: {
|
|
9623
9680
|
async close(immediate) {
|
|
@@ -9641,9 +9698,9 @@
|
|
|
9641
9698
|
}
|
|
9642
9699
|
|
|
9643
9700
|
removeFn(this.$el);
|
|
9644
|
-
}
|
|
9645
|
-
|
|
9646
|
-
|
|
9701
|
+
}
|
|
9702
|
+
}
|
|
9703
|
+
};
|
|
9647
9704
|
|
|
9648
9705
|
function install(UIkit) {
|
|
9649
9706
|
UIkit.notification.closeAll = function (group, immediate) {
|
|
@@ -9674,8 +9731,8 @@
|
|
|
9674
9731
|
opacity: cssPropFn,
|
|
9675
9732
|
stroke: strokeFn,
|
|
9676
9733
|
bgx: backgroundFn,
|
|
9677
|
-
bgy: backgroundFn
|
|
9678
|
-
|
|
9734
|
+
bgy: backgroundFn
|
|
9735
|
+
};
|
|
9679
9736
|
|
|
9680
9737
|
const { keys } = Object;
|
|
9681
9738
|
|
|
@@ -9699,14 +9756,14 @@
|
|
|
9699
9756
|
result[prop] = props[prop](prop, $el, stops[prop], stops);
|
|
9700
9757
|
}
|
|
9701
9758
|
return result;
|
|
9702
|
-
}
|
|
9703
|
-
|
|
9759
|
+
}
|
|
9760
|
+
},
|
|
9704
9761
|
|
|
9705
9762
|
events: {
|
|
9706
9763
|
load() {
|
|
9707
9764
|
this.$emit();
|
|
9708
|
-
}
|
|
9709
|
-
|
|
9765
|
+
}
|
|
9766
|
+
},
|
|
9710
9767
|
|
|
9711
9768
|
methods: {
|
|
9712
9769
|
reset() {
|
|
@@ -9721,9 +9778,9 @@
|
|
|
9721
9778
|
this.props[prop](css, percent);
|
|
9722
9779
|
}
|
|
9723
9780
|
return css;
|
|
9724
|
-
}
|
|
9725
|
-
|
|
9726
|
-
|
|
9781
|
+
}
|
|
9782
|
+
}
|
|
9783
|
+
};
|
|
9727
9784
|
|
|
9728
9785
|
function transformFn(prop, el, stops) {
|
|
9729
9786
|
let unit = getUnit(stops) || { x: 'px', y: 'px', rotate: 'deg' }[prop] || '';
|
|
@@ -9861,8 +9918,8 @@
|
|
|
9861
9918
|
|
|
9862
9919
|
const dimEl = {
|
|
9863
9920
|
width: el.offsetWidth,
|
|
9864
|
-
height: el.offsetHeight
|
|
9865
|
-
|
|
9921
|
+
height: el.offsetHeight
|
|
9922
|
+
};
|
|
9866
9923
|
|
|
9867
9924
|
const bgProps = ['bgx', 'bgy'].filter((prop) => prop in props);
|
|
9868
9925
|
|
|
@@ -9934,8 +9991,8 @@
|
|
|
9934
9991
|
function toDimensions(image) {
|
|
9935
9992
|
return {
|
|
9936
9993
|
width: image.naturalWidth,
|
|
9937
|
-
height: image.naturalHeight
|
|
9938
|
-
|
|
9994
|
+
height: image.naturalHeight
|
|
9995
|
+
};
|
|
9939
9996
|
}
|
|
9940
9997
|
|
|
9941
9998
|
function parseStops(stops, fn) {if (fn === void 0) {fn = toFloat;}
|
|
@@ -10027,16 +10084,16 @@
|
|
|
10027
10084
|
viewport: Number, // Deprecated
|
|
10028
10085
|
easing: Number,
|
|
10029
10086
|
start: String,
|
|
10030
|
-
end: String
|
|
10031
|
-
|
|
10087
|
+
end: String
|
|
10088
|
+
},
|
|
10032
10089
|
|
|
10033
10090
|
data: {
|
|
10034
10091
|
target: false,
|
|
10035
10092
|
viewport: 1,
|
|
10036
10093
|
easing: 1,
|
|
10037
10094
|
start: 0,
|
|
10038
|
-
end: 0
|
|
10039
|
-
|
|
10095
|
+
end: 0
|
|
10096
|
+
},
|
|
10040
10097
|
|
|
10041
10098
|
computed: {
|
|
10042
10099
|
target(_ref, $el) {let { target } = _ref;
|
|
@@ -10054,8 +10111,8 @@
|
|
|
10054
10111
|
this.target,
|
|
10055
10112
|
true);
|
|
10056
10113
|
|
|
10057
|
-
}
|
|
10058
|
-
|
|
10114
|
+
}
|
|
10115
|
+
},
|
|
10059
10116
|
|
|
10060
10117
|
update: {
|
|
10061
10118
|
read(_ref4, types) {let { percent } = _ref4;
|
|
@@ -10072,8 +10129,8 @@
|
|
|
10072
10129
|
|
|
10073
10130
|
return {
|
|
10074
10131
|
percent,
|
|
10075
|
-
style: prev === percent ? false : this.getCss(percent)
|
|
10076
|
-
|
|
10132
|
+
style: prev === percent ? false : this.getCss(percent)
|
|
10133
|
+
};
|
|
10077
10134
|
},
|
|
10078
10135
|
|
|
10079
10136
|
write(_ref5) {let { style } = _ref5;
|
|
@@ -10085,9 +10142,9 @@
|
|
|
10085
10142
|
style && css(this.$el, style);
|
|
10086
10143
|
},
|
|
10087
10144
|
|
|
10088
|
-
events: ['scroll', 'resize']
|
|
10089
|
-
|
|
10090
|
-
|
|
10145
|
+
events: ['scroll', 'resize']
|
|
10146
|
+
}
|
|
10147
|
+
};
|
|
10091
10148
|
|
|
10092
10149
|
/*
|
|
10093
10150
|
* Inspired by https://gist.github.com/gre/1650294?permalink_comment_id=3477425#gistcomment-3477425
|
|
@@ -10129,14 +10186,17 @@
|
|
|
10129
10186
|
}
|
|
10130
10187
|
},
|
|
10131
10188
|
|
|
10132
|
-
events: ['resize']
|
|
10189
|
+
events: ['resize']
|
|
10190
|
+
}
|
|
10191
|
+
};
|
|
10133
10192
|
|
|
10134
10193
|
var SliderPreload = {
|
|
10135
10194
|
mixins: [Lazyload],
|
|
10136
10195
|
|
|
10137
10196
|
connected() {
|
|
10138
10197
|
this.lazyload(this.slides, this.getAdjacentSlides);
|
|
10139
|
-
}
|
|
10198
|
+
}
|
|
10199
|
+
};
|
|
10140
10200
|
|
|
10141
10201
|
function Transitioner (prev, next, dir, _ref) {let { center, easing, list } = _ref;
|
|
10142
10202
|
const deferred = new Deferred();
|
|
@@ -10164,8 +10224,8 @@
|
|
|
10164
10224
|
percent: 1 - percent,
|
|
10165
10225
|
duration,
|
|
10166
10226
|
timing,
|
|
10167
|
-
dir
|
|
10168
|
-
|
|
10227
|
+
dir
|
|
10228
|
+
});
|
|
10169
10229
|
|
|
10170
10230
|
Transition.start(
|
|
10171
10231
|
list,
|
|
@@ -10225,8 +10285,8 @@
|
|
|
10225
10285
|
|
|
10226
10286
|
triggerUpdate(slide, "itemtranslate" + (translateIn ? 'in' : 'out'), {
|
|
10227
10287
|
dir,
|
|
10228
|
-
percent: isOut ? 1 - percent : isIn ? percent : isActive ? 1 : 0
|
|
10229
|
-
|
|
10288
|
+
percent: isOut ? 1 - percent : isIn ? percent : isActive ? 1 : 0
|
|
10289
|
+
});
|
|
10230
10290
|
}
|
|
10231
10291
|
},
|
|
10232
10292
|
|
|
@@ -10255,8 +10315,8 @@
|
|
|
10255
10315
|
|
|
10256
10316
|
getActives() {
|
|
10257
10317
|
return inView(list, getLeft(prev || next, list, center));
|
|
10258
|
-
}
|
|
10259
|
-
|
|
10318
|
+
}
|
|
10319
|
+
};
|
|
10260
10320
|
}
|
|
10261
10321
|
|
|
10262
10322
|
function getLeft(el, list, center) {
|
|
@@ -10308,8 +10368,8 @@
|
|
|
10308
10368
|
|
|
10309
10369
|
props: {
|
|
10310
10370
|
center: Boolean,
|
|
10311
|
-
sets: Boolean
|
|
10312
|
-
|
|
10371
|
+
sets: Boolean
|
|
10372
|
+
},
|
|
10313
10373
|
|
|
10314
10374
|
data: {
|
|
10315
10375
|
center: false,
|
|
@@ -10318,8 +10378,8 @@
|
|
|
10318
10378
|
selList: '.uk-slider-items',
|
|
10319
10379
|
selNav: '.uk-slider-nav',
|
|
10320
10380
|
clsContainer: 'uk-slider-container',
|
|
10321
|
-
Transitioner
|
|
10322
|
-
|
|
10381
|
+
Transitioner
|
|
10382
|
+
},
|
|
10323
10383
|
|
|
10324
10384
|
computed: {
|
|
10325
10385
|
avgWidth() {
|
|
@@ -10394,10 +10454,10 @@
|
|
|
10394
10454
|
transitionOptions() {
|
|
10395
10455
|
return {
|
|
10396
10456
|
center: this.center,
|
|
10397
|
-
list: this.list
|
|
10398
|
-
|
|
10399
|
-
}
|
|
10400
|
-
|
|
10457
|
+
list: this.list
|
|
10458
|
+
};
|
|
10459
|
+
}
|
|
10460
|
+
},
|
|
10401
10461
|
|
|
10402
10462
|
connected() {
|
|
10403
10463
|
toggleClass(this.$el, this.clsContainer, !$("." + this.clsContainer, this.$el));
|
|
@@ -10423,8 +10483,8 @@
|
|
|
10423
10483
|
this.updateActiveClasses();
|
|
10424
10484
|
},
|
|
10425
10485
|
|
|
10426
|
-
events: ['resize']
|
|
10427
|
-
|
|
10486
|
+
events: ['resize']
|
|
10487
|
+
},
|
|
10428
10488
|
|
|
10429
10489
|
events: {
|
|
10430
10490
|
beforeitemshow(e) {
|
|
@@ -10472,8 +10532,8 @@
|
|
|
10472
10532
|
|
|
10473
10533
|
itemshown() {
|
|
10474
10534
|
this.updateActiveClasses();
|
|
10475
|
-
}
|
|
10476
|
-
|
|
10535
|
+
}
|
|
10536
|
+
},
|
|
10477
10537
|
|
|
10478
10538
|
methods: {
|
|
10479
10539
|
reorder() {
|
|
@@ -10559,9 +10619,9 @@
|
|
|
10559
10619
|
} while (this.slides.length > j && currentLeft > left && currentLeft < right);
|
|
10560
10620
|
}
|
|
10561
10621
|
return Array.from(slides);
|
|
10562
|
-
}
|
|
10563
|
-
|
|
10564
|
-
|
|
10622
|
+
}
|
|
10623
|
+
}
|
|
10624
|
+
};
|
|
10565
10625
|
|
|
10566
10626
|
function getMaxElWidth(list) {
|
|
10567
10627
|
return Math.max(0, ...children(list).map((el) => dimensions$1(el).width));
|
|
@@ -10571,8 +10631,8 @@
|
|
|
10571
10631
|
mixins: [Parallax],
|
|
10572
10632
|
|
|
10573
10633
|
data: {
|
|
10574
|
-
selItem: '!li'
|
|
10575
|
-
|
|
10634
|
+
selItem: '!li'
|
|
10635
|
+
},
|
|
10576
10636
|
|
|
10577
10637
|
beforeConnect() {
|
|
10578
10638
|
this.item = query(this.selItem, this.$el);
|
|
@@ -10601,8 +10661,8 @@
|
|
|
10601
10661
|
Transition.start(this.$el, propsTo, duration, timing).catch(noop);
|
|
10602
10662
|
});
|
|
10603
10663
|
});
|
|
10604
|
-
}
|
|
10605
|
-
|
|
10664
|
+
}
|
|
10665
|
+
},
|
|
10606
10666
|
|
|
10607
10667
|
{
|
|
10608
10668
|
name: 'transitioncanceled transitionend',
|
|
@@ -10615,8 +10675,8 @@
|
|
|
10615
10675
|
|
|
10616
10676
|
handler() {
|
|
10617
10677
|
Transition.cancel(this.$el);
|
|
10618
|
-
}
|
|
10619
|
-
|
|
10678
|
+
}
|
|
10679
|
+
},
|
|
10620
10680
|
|
|
10621
10681
|
{
|
|
10622
10682
|
name: 'itemtranslatein itemtranslateout',
|
|
@@ -10632,10 +10692,10 @@
|
|
|
10632
10692
|
const props = this.getCss(getCurrentPercent(type, dir, percent));
|
|
10633
10693
|
fastdom.write(() => css(this.$el, props));
|
|
10634
10694
|
});
|
|
10635
|
-
}
|
|
10636
|
-
|
|
10637
|
-
|
|
10695
|
+
}
|
|
10696
|
+
}]
|
|
10638
10697
|
|
|
10698
|
+
};
|
|
10639
10699
|
|
|
10640
10700
|
function isIn(type) {
|
|
10641
10701
|
return endsWith(type, 'in');
|
|
@@ -10660,8 +10720,8 @@
|
|
|
10660
10720
|
|
|
10661
10721
|
translate(percent) {
|
|
10662
10722
|
return [{ opacity: 1 - percent, zIndex: 0 }, { zIndex: -1 }];
|
|
10663
|
-
}
|
|
10664
|
-
|
|
10723
|
+
}
|
|
10724
|
+
},
|
|
10665
10725
|
|
|
10666
10726
|
scale: {
|
|
10667
10727
|
show() {
|
|
@@ -10677,8 +10737,8 @@
|
|
|
10677
10737
|
{ opacity: 1 - percent, transform: scale3d(1 + 0.5 * percent), zIndex: 0 },
|
|
10678
10738
|
{ zIndex: -1 }];
|
|
10679
10739
|
|
|
10680
|
-
}
|
|
10681
|
-
|
|
10740
|
+
}
|
|
10741
|
+
},
|
|
10682
10742
|
|
|
10683
10743
|
pull: {
|
|
10684
10744
|
show(dir) {
|
|
@@ -10707,8 +10767,8 @@
|
|
|
10707
10767
|
{ transform: translate(-percent * 100), zIndex: 0 },
|
|
10708
10768
|
{ transform: translate(30 * (1 - percent)), zIndex: -1 }];
|
|
10709
10769
|
|
|
10710
|
-
}
|
|
10711
|
-
|
|
10770
|
+
}
|
|
10771
|
+
},
|
|
10712
10772
|
|
|
10713
10773
|
push: {
|
|
10714
10774
|
show(dir) {
|
|
@@ -10737,7 +10797,9 @@
|
|
|
10737
10797
|
{ transform: translate(-30 * percent), zIndex: -1 },
|
|
10738
10798
|
{ transform: translate(100 * (1 - percent)), zIndex: 0 }];
|
|
10739
10799
|
|
|
10740
|
-
}
|
|
10800
|
+
}
|
|
10801
|
+
}
|
|
10802
|
+
};
|
|
10741
10803
|
|
|
10742
10804
|
var slideshow = {
|
|
10743
10805
|
mixins: [Class, Slideshow, SliderReactive, SliderPreload],
|
|
@@ -10745,8 +10807,8 @@
|
|
|
10745
10807
|
props: {
|
|
10746
10808
|
ratio: String,
|
|
10747
10809
|
minHeight: Number,
|
|
10748
|
-
maxHeight: Number
|
|
10749
|
-
|
|
10810
|
+
maxHeight: Number
|
|
10811
|
+
},
|
|
10750
10812
|
|
|
10751
10813
|
data: {
|
|
10752
10814
|
ratio: '16:9',
|
|
@@ -10755,8 +10817,8 @@
|
|
|
10755
10817
|
selList: '.uk-slideshow-items',
|
|
10756
10818
|
attrItem: 'uk-slideshow-item',
|
|
10757
10819
|
selNav: '.uk-slideshow-nav',
|
|
10758
|
-
Animations
|
|
10759
|
-
|
|
10820
|
+
Animations
|
|
10821
|
+
},
|
|
10760
10822
|
|
|
10761
10823
|
update: {
|
|
10762
10824
|
read() {
|
|
@@ -10783,13 +10845,15 @@
|
|
|
10783
10845
|
height > 0 && css(this.list, 'minHeight', height);
|
|
10784
10846
|
},
|
|
10785
10847
|
|
|
10786
|
-
events: ['resize']
|
|
10787
|
-
|
|
10848
|
+
events: ['resize']
|
|
10849
|
+
},
|
|
10788
10850
|
|
|
10789
10851
|
methods: {
|
|
10790
10852
|
getAdjacentSlides() {
|
|
10791
10853
|
return [1, -1].map((i) => this.slides[this.getIndex(this.index + i)]);
|
|
10792
|
-
}
|
|
10854
|
+
}
|
|
10855
|
+
}
|
|
10856
|
+
};
|
|
10793
10857
|
|
|
10794
10858
|
var sortable = {
|
|
10795
10859
|
mixins: [Class, Animate],
|
|
@@ -10805,8 +10869,8 @@
|
|
|
10805
10869
|
clsNoDrag: String,
|
|
10806
10870
|
clsEmpty: String,
|
|
10807
10871
|
clsCustom: String,
|
|
10808
|
-
handle: String
|
|
10809
|
-
|
|
10872
|
+
handle: String
|
|
10873
|
+
},
|
|
10810
10874
|
|
|
10811
10875
|
data: {
|
|
10812
10876
|
group: false,
|
|
@@ -10820,8 +10884,8 @@
|
|
|
10820
10884
|
clsEmpty: 'uk-sortable-empty',
|
|
10821
10885
|
clsCustom: '',
|
|
10822
10886
|
handle: false,
|
|
10823
|
-
pos: {}
|
|
10824
|
-
|
|
10887
|
+
pos: {}
|
|
10888
|
+
},
|
|
10825
10889
|
|
|
10826
10890
|
created() {
|
|
10827
10891
|
for (const key of ['init', 'start', 'move', 'end']) {
|
|
@@ -10836,8 +10900,8 @@
|
|
|
10836
10900
|
events: {
|
|
10837
10901
|
name: pointerDown$1,
|
|
10838
10902
|
passive: false,
|
|
10839
|
-
handler: 'init'
|
|
10840
|
-
|
|
10903
|
+
handler: 'init'
|
|
10904
|
+
},
|
|
10841
10905
|
|
|
10842
10906
|
computed: {
|
|
10843
10907
|
target() {
|
|
@@ -10857,8 +10921,8 @@
|
|
|
10857
10921
|
toggleClass(this.target, this.clsEmpty, empty);
|
|
10858
10922
|
},
|
|
10859
10923
|
|
|
10860
|
-
immediate: true
|
|
10861
|
-
|
|
10924
|
+
immediate: true
|
|
10925
|
+
},
|
|
10862
10926
|
|
|
10863
10927
|
handles: {
|
|
10864
10928
|
get(_ref, el) {let { handle } = _ref;
|
|
@@ -10870,9 +10934,9 @@
|
|
|
10870
10934
|
css(handles, { touchAction: hasTouch ? 'none' : '', userSelect: 'none' }); // touchAction set to 'none' causes a performance drop in Chrome 80
|
|
10871
10935
|
},
|
|
10872
10936
|
|
|
10873
|
-
immediate: true
|
|
10874
|
-
|
|
10875
|
-
|
|
10937
|
+
immediate: true
|
|
10938
|
+
}
|
|
10939
|
+
},
|
|
10876
10940
|
|
|
10877
10941
|
update: {
|
|
10878
10942
|
write(data) {
|
|
@@ -10883,13 +10947,13 @@
|
|
|
10883
10947
|
const {
|
|
10884
10948
|
pos: { x, y },
|
|
10885
10949
|
origin: { offsetTop, offsetLeft },
|
|
10886
|
-
placeholder
|
|
10887
|
-
this;
|
|
10950
|
+
placeholder
|
|
10951
|
+
} = this;
|
|
10888
10952
|
|
|
10889
10953
|
css(this.drag, {
|
|
10890
10954
|
top: y - offsetTop,
|
|
10891
|
-
left: x - offsetLeft
|
|
10892
|
-
|
|
10955
|
+
left: x - offsetLeft
|
|
10956
|
+
});
|
|
10893
10957
|
|
|
10894
10958
|
const sortable = this.getSortable(document.elementFromPoint(x, y));
|
|
10895
10959
|
|
|
@@ -10939,8 +11003,8 @@
|
|
|
10939
11003
|
this.touched.add(sortable);
|
|
10940
11004
|
},
|
|
10941
11005
|
|
|
10942
|
-
events: ['move']
|
|
10943
|
-
|
|
11006
|
+
events: ['move']
|
|
11007
|
+
},
|
|
10944
11008
|
|
|
10945
11009
|
methods: {
|
|
10946
11010
|
init(e) {
|
|
@@ -11062,9 +11126,9 @@
|
|
|
11062
11126
|
return sortable;
|
|
11063
11127
|
}
|
|
11064
11128
|
} while (element = parent(element));
|
|
11065
|
-
}
|
|
11066
|
-
|
|
11067
|
-
|
|
11129
|
+
}
|
|
11130
|
+
}
|
|
11131
|
+
};
|
|
11068
11132
|
|
|
11069
11133
|
let trackTimer;
|
|
11070
11134
|
function trackScroll(pos) {
|
|
@@ -11122,8 +11186,8 @@
|
|
|
11122
11186
|
boxSizing: 'border-box',
|
|
11123
11187
|
width: element.offsetWidth,
|
|
11124
11188
|
height: element.offsetHeight,
|
|
11125
|
-
padding: css(element, 'padding')
|
|
11126
|
-
|
|
11189
|
+
padding: css(element, 'padding')
|
|
11190
|
+
});
|
|
11127
11191
|
|
|
11128
11192
|
height(clone.firstElementChild, height(element.firstElementChild));
|
|
11129
11193
|
|
|
@@ -11213,8 +11277,8 @@
|
|
|
11213
11277
|
|
|
11214
11278
|
props: {
|
|
11215
11279
|
delay: Number,
|
|
11216
|
-
title: String
|
|
11217
|
-
|
|
11280
|
+
title: String
|
|
11281
|
+
},
|
|
11218
11282
|
|
|
11219
11283
|
data: {
|
|
11220
11284
|
pos: 'top',
|
|
@@ -11222,16 +11286,16 @@
|
|
|
11222
11286
|
delay: 0,
|
|
11223
11287
|
animation: ['uk-animation-scale-up'],
|
|
11224
11288
|
duration: 100,
|
|
11225
|
-
cls: 'uk-active'
|
|
11226
|
-
|
|
11289
|
+
cls: 'uk-active'
|
|
11290
|
+
},
|
|
11227
11291
|
|
|
11228
11292
|
beforeConnect() {
|
|
11229
11293
|
this.id = "uk-tooltip-" + this._uid;
|
|
11230
11294
|
this._hasTitle = hasAttr(this.$el, 'title');
|
|
11231
11295
|
attr(this.$el, {
|
|
11232
11296
|
title: '',
|
|
11233
|
-
'aria-describedby': this.id
|
|
11234
|
-
|
|
11297
|
+
'aria-describedby': this.id
|
|
11298
|
+
});
|
|
11235
11299
|
makeFocusable(this.$el);
|
|
11236
11300
|
},
|
|
11237
11301
|
|
|
@@ -11304,8 +11368,8 @@
|
|
|
11304
11368
|
});
|
|
11305
11369
|
|
|
11306
11370
|
this.toggleElement(this.tooltip, true);
|
|
11307
|
-
}
|
|
11308
|
-
|
|
11371
|
+
}
|
|
11372
|
+
},
|
|
11309
11373
|
|
|
11310
11374
|
events: {
|
|
11311
11375
|
focus: 'show',
|
|
@@ -11323,9 +11387,9 @@
|
|
|
11323
11387
|
if (isTouch(e)) {
|
|
11324
11388
|
this.show();
|
|
11325
11389
|
}
|
|
11326
|
-
}
|
|
11327
|
-
|
|
11328
|
-
|
|
11390
|
+
}
|
|
11391
|
+
}
|
|
11392
|
+
};
|
|
11329
11393
|
|
|
11330
11394
|
function makeFocusable(el) {
|
|
11331
11395
|
if (!isFocusable(el)) {
|
|
@@ -11379,8 +11443,8 @@
|
|
|
11379
11443
|
name: String,
|
|
11380
11444
|
params: Object,
|
|
11381
11445
|
type: String,
|
|
11382
|
-
url: String
|
|
11383
|
-
|
|
11446
|
+
url: String
|
|
11447
|
+
},
|
|
11384
11448
|
|
|
11385
11449
|
data: {
|
|
11386
11450
|
allow: false,
|
|
@@ -11407,8 +11471,8 @@
|
|
|
11407
11471
|
load: noop,
|
|
11408
11472
|
loadEnd: noop,
|
|
11409
11473
|
loadStart: noop,
|
|
11410
|
-
progress: noop
|
|
11411
|
-
|
|
11474
|
+
progress: noop
|
|
11475
|
+
},
|
|
11412
11476
|
|
|
11413
11477
|
events: {
|
|
11414
11478
|
change(e) {
|
|
@@ -11451,8 +11515,8 @@
|
|
|
11451
11515
|
dragleave(e) {
|
|
11452
11516
|
stop(e);
|
|
11453
11517
|
removeClass(this.$el, this.clsDragover);
|
|
11454
|
-
}
|
|
11455
|
-
|
|
11518
|
+
}
|
|
11519
|
+
},
|
|
11456
11520
|
|
|
11457
11521
|
methods: {
|
|
11458
11522
|
async upload(files) {
|
|
@@ -11510,8 +11574,8 @@
|
|
|
11510
11574
|
}
|
|
11511
11575
|
|
|
11512
11576
|
return this.beforeSend(env);
|
|
11513
|
-
}
|
|
11514
|
-
|
|
11577
|
+
}
|
|
11578
|
+
});
|
|
11515
11579
|
|
|
11516
11580
|
this.complete(xhr);
|
|
11517
11581
|
|
|
@@ -11526,9 +11590,9 @@
|
|
|
11526
11590
|
};
|
|
11527
11591
|
|
|
11528
11592
|
await upload(chunks.shift());
|
|
11529
|
-
}
|
|
11530
|
-
|
|
11531
|
-
|
|
11593
|
+
}
|
|
11594
|
+
}
|
|
11595
|
+
};
|
|
11532
11596
|
|
|
11533
11597
|
function match(pattern, path) {
|
|
11534
11598
|
return path.match(
|