uikit 3.15.11-dev.fd61e70ff → 3.15.12-dev.0c0d42cdf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -6
- 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 +31 -32
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +165 -150
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +173 -158
- 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 +38 -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 +38 -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 +39 -39
- 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 +582 -530
- 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 +883 -805
- package/dist/js/uikit.min.js +1 -17
- package/package.json +14 -14
- package/src/js/api/boot.js +3 -1
- package/src/js/components/lightbox-panel.js +5 -2
- package/src/js/components/slider-parallax.js +9 -0
- package/src/js/core/drop.js +5 -1
- package/src/js/core/margin.js +2 -0
- package/src/js/core/sticky.js +6 -7
- package/src/js/core/video.js +4 -3
- package/src/js/mixin/internal/animate-slide.js +1 -4
- package/src/js/util/env.js +1 -3
- package/src/js/util/position.js +11 -6
- package/tests/navbar.html +1 -1
package/dist/js/uikit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.15.
|
|
1
|
+
/*! UIkit 3.15.12-dev.0c0d42cdf | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -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.0c0d42cdf';
|
|
2948
2954
|
|
|
2949
2955
|
globalAPI(UIkit);
|
|
2950
2956
|
hooksAPI(UIkit);
|
|
@@ -2960,6 +2966,8 @@
|
|
|
2960
2966
|
}
|
|
2961
2967
|
|
|
2962
2968
|
requestAnimationFrame(function () {
|
|
2969
|
+
trigger(document, 'uikit:init', UIkit);
|
|
2970
|
+
|
|
2963
2971
|
if (document.body) {
|
|
2964
2972
|
apply(document.body, connect);
|
|
2965
2973
|
}
|
|
@@ -2968,16 +2976,16 @@
|
|
|
2968
2976
|
document,
|
|
2969
2977
|
{
|
|
2970
2978
|
childList: true,
|
|
2971
|
-
subtree: true
|
|
2972
|
-
|
|
2979
|
+
subtree: true
|
|
2980
|
+
});
|
|
2973
2981
|
|
|
2974
2982
|
|
|
2975
2983
|
new MutationObserver((records) => records.forEach(applyAttributeMutation)).observe(
|
|
2976
2984
|
document,
|
|
2977
2985
|
{
|
|
2978
2986
|
attributes: true,
|
|
2979
|
-
subtree: true
|
|
2980
|
-
|
|
2987
|
+
subtree: true
|
|
2988
|
+
});
|
|
2981
2989
|
|
|
2982
2990
|
|
|
2983
2991
|
UIkit._initialized = true;
|
|
@@ -3010,12 +3018,13 @@
|
|
|
3010
3018
|
var Class = {
|
|
3011
3019
|
connected() {
|
|
3012
3020
|
addClass(this.$el, this.$options.id);
|
|
3013
|
-
}
|
|
3021
|
+
}
|
|
3022
|
+
};
|
|
3014
3023
|
|
|
3015
3024
|
var Lazyload = {
|
|
3016
3025
|
data: {
|
|
3017
|
-
preload: 5
|
|
3018
|
-
|
|
3026
|
+
preload: 5
|
|
3027
|
+
},
|
|
3019
3028
|
|
|
3020
3029
|
methods: {
|
|
3021
3030
|
lazyload(observeTargets, targets) {if (observeTargets === void 0) {observeTargets = this.$el;}if (targets === void 0) {targets = this.$el;}
|
|
@@ -3034,7 +3043,9 @@
|
|
|
3034
3043
|
}
|
|
3035
3044
|
}));
|
|
3036
3045
|
|
|
3037
|
-
}
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
3048
|
+
};
|
|
3038
3049
|
|
|
3039
3050
|
var Togglable = {
|
|
3040
3051
|
props: {
|
|
@@ -3043,8 +3054,8 @@
|
|
|
3043
3054
|
duration: Number,
|
|
3044
3055
|
velocity: Number,
|
|
3045
3056
|
origin: String,
|
|
3046
|
-
transition: String
|
|
3047
|
-
|
|
3057
|
+
transition: String
|
|
3058
|
+
},
|
|
3048
3059
|
|
|
3049
3060
|
data: {
|
|
3050
3061
|
cls: false,
|
|
@@ -3054,8 +3065,8 @@
|
|
|
3054
3065
|
origin: false,
|
|
3055
3066
|
transition: 'ease',
|
|
3056
3067
|
clsEnter: 'uk-togglabe-enter',
|
|
3057
|
-
clsLeave: 'uk-togglabe-leave'
|
|
3058
|
-
|
|
3068
|
+
clsLeave: 'uk-togglabe-leave'
|
|
3069
|
+
},
|
|
3059
3070
|
|
|
3060
3071
|
computed: {
|
|
3061
3072
|
hasAnimation(_ref) {let { animation } = _ref;
|
|
@@ -3064,8 +3075,8 @@
|
|
|
3064
3075
|
|
|
3065
3076
|
hasTransition(_ref2) {let { animation } = _ref2;
|
|
3066
3077
|
return ['slide', 'reveal'].some((transition) => startsWith(animation[0], transition));
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3069
3080
|
|
|
3070
3081
|
methods: {
|
|
3071
3082
|
toggleElement(targets, toggle, animate) {
|
|
@@ -3142,9 +3153,9 @@
|
|
|
3142
3153
|
if (changed) {
|
|
3143
3154
|
trigger(el, 'toggled', [toggled, this]);
|
|
3144
3155
|
}
|
|
3145
|
-
}
|
|
3146
|
-
|
|
3147
|
-
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
};
|
|
3148
3159
|
|
|
3149
3160
|
function toggleInstant(el, show, _ref3) {let { _toggle } = _ref3;
|
|
3150
3161
|
Animation.cancel(el);
|
|
@@ -3216,9 +3227,9 @@
|
|
|
3216
3227
|
'borderBottom',
|
|
3217
3228
|
'borderLeft',
|
|
3218
3229
|
'borderImage',
|
|
3219
|
-
marginStartProp])
|
|
3220
|
-
|
|
3230
|
+
marginStartProp])
|
|
3221
3231
|
|
|
3232
|
+
});
|
|
3222
3233
|
|
|
3223
3234
|
css(el, {
|
|
3224
3235
|
padding: 0,
|
|
@@ -3229,8 +3240,8 @@
|
|
|
3229
3240
|
width: dim.width,
|
|
3230
3241
|
height: dim.height,
|
|
3231
3242
|
overflow: 'hidden',
|
|
3232
|
-
[dimProp]: currentDim
|
|
3233
|
-
|
|
3243
|
+
[dimProp]: currentDim
|
|
3244
|
+
});
|
|
3234
3245
|
|
|
3235
3246
|
const percent = currentDim / endDim;
|
|
3236
3247
|
duration = (velocity * endDim + duration) * (show ? 1 - percent : percent);
|
|
@@ -3284,8 +3295,8 @@
|
|
|
3284
3295
|
multiple: Boolean,
|
|
3285
3296
|
toggle: String,
|
|
3286
3297
|
content: String,
|
|
3287
|
-
offset: Number
|
|
3288
|
-
|
|
3298
|
+
offset: Number
|
|
3299
|
+
},
|
|
3289
3300
|
|
|
3290
3301
|
data: {
|
|
3291
3302
|
targets: '> *',
|
|
@@ -3296,8 +3307,8 @@
|
|
|
3296
3307
|
clsOpen: 'uk-open',
|
|
3297
3308
|
toggle: '> .uk-accordion-title',
|
|
3298
3309
|
content: '> .uk-accordion-content',
|
|
3299
|
-
offset: 0
|
|
3300
|
-
|
|
3310
|
+
offset: 0
|
|
3311
|
+
},
|
|
3301
3312
|
|
|
3302
3313
|
computed: {
|
|
3303
3314
|
items: {
|
|
@@ -3319,8 +3330,8 @@
|
|
|
3319
3330
|
}
|
|
3320
3331
|
},
|
|
3321
3332
|
|
|
3322
|
-
immediate: true
|
|
3323
|
-
|
|
3333
|
+
immediate: true
|
|
3334
|
+
},
|
|
3324
3335
|
|
|
3325
3336
|
toggles(_ref2) {let { toggle } = _ref2;
|
|
3326
3337
|
return this.items.map((item) => $(toggle, item));
|
|
@@ -3343,9 +3354,9 @@
|
|
|
3343
3354
|
}
|
|
3344
3355
|
},
|
|
3345
3356
|
|
|
3346
|
-
immediate: true
|
|
3347
|
-
|
|
3348
|
-
|
|
3357
|
+
immediate: true
|
|
3358
|
+
}
|
|
3359
|
+
},
|
|
3349
3360
|
|
|
3350
3361
|
connected() {
|
|
3351
3362
|
this.lazyload();
|
|
@@ -3366,8 +3377,8 @@
|
|
|
3366
3377
|
this._off = keepScrollPosition(e.target);
|
|
3367
3378
|
await this.toggle(index(this.toggles, e.current));
|
|
3368
3379
|
this._off();
|
|
3369
|
-
}
|
|
3370
|
-
|
|
3380
|
+
}
|
|
3381
|
+
}],
|
|
3371
3382
|
|
|
3372
3383
|
|
|
3373
3384
|
methods: {
|
|
@@ -3399,9 +3410,9 @@
|
|
|
3399
3410
|
})));
|
|
3400
3411
|
|
|
3401
3412
|
|
|
3402
|
-
}
|
|
3403
|
-
|
|
3404
|
-
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
};
|
|
3405
3416
|
|
|
3406
3417
|
function hide(el, hide) {
|
|
3407
3418
|
el && (el.hidden = hide);
|
|
@@ -3462,14 +3473,14 @@
|
|
|
3462
3473
|
|
|
3463
3474
|
props: {
|
|
3464
3475
|
animation: Boolean,
|
|
3465
|
-
close: String
|
|
3466
|
-
|
|
3476
|
+
close: String
|
|
3477
|
+
},
|
|
3467
3478
|
|
|
3468
3479
|
data: {
|
|
3469
3480
|
animation: true,
|
|
3470
3481
|
selClose: '.uk-alert-close',
|
|
3471
|
-
duration: 150
|
|
3472
|
-
|
|
3482
|
+
duration: 150
|
|
3483
|
+
},
|
|
3473
3484
|
|
|
3474
3485
|
events: {
|
|
3475
3486
|
name: 'click',
|
|
@@ -3481,16 +3492,16 @@
|
|
|
3481
3492
|
handler(e) {
|
|
3482
3493
|
e.preventDefault();
|
|
3483
3494
|
this.close();
|
|
3484
|
-
}
|
|
3485
|
-
|
|
3495
|
+
}
|
|
3496
|
+
},
|
|
3486
3497
|
|
|
3487
3498
|
methods: {
|
|
3488
3499
|
async close() {
|
|
3489
3500
|
await this.toggleElement(this.$el, false, animate$1);
|
|
3490
3501
|
this.$destroy(true);
|
|
3491
|
-
}
|
|
3492
|
-
|
|
3493
|
-
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
};
|
|
3494
3505
|
|
|
3495
3506
|
function animate$1(el, show, _ref) {let { duration, transition, velocity } = _ref;
|
|
3496
3507
|
const height = toFloat(css(el, 'height'));
|
|
@@ -3505,8 +3516,8 @@
|
|
|
3505
3516
|
paddingBottom: 0,
|
|
3506
3517
|
borderTop: 0,
|
|
3507
3518
|
borderBottom: 0,
|
|
3508
|
-
opacity: 0
|
|
3509
|
-
|
|
3519
|
+
opacity: 0
|
|
3520
|
+
},
|
|
3510
3521
|
velocity * height + duration,
|
|
3511
3522
|
transition);
|
|
3512
3523
|
|
|
@@ -3517,13 +3528,13 @@
|
|
|
3517
3528
|
|
|
3518
3529
|
props: {
|
|
3519
3530
|
automute: Boolean,
|
|
3520
|
-
autoplay: Boolean
|
|
3521
|
-
|
|
3531
|
+
autoplay: Boolean
|
|
3532
|
+
},
|
|
3522
3533
|
|
|
3523
3534
|
data: {
|
|
3524
3535
|
automute: false,
|
|
3525
|
-
autoplay: true
|
|
3526
|
-
|
|
3536
|
+
autoplay: true
|
|
3537
|
+
},
|
|
3527
3538
|
|
|
3528
3539
|
connected() {
|
|
3529
3540
|
this.inView = this.autoplay === 'inview';
|
|
@@ -3544,24 +3555,27 @@
|
|
|
3544
3555
|
},
|
|
3545
3556
|
|
|
3546
3557
|
update: {
|
|
3547
|
-
read() {
|
|
3558
|
+
read(_ref) {let { visible } = _ref;
|
|
3548
3559
|
if (!isVideo(this.$el)) {
|
|
3549
3560
|
return false;
|
|
3550
3561
|
}
|
|
3551
3562
|
|
|
3552
3563
|
return {
|
|
3564
|
+
prev: visible,
|
|
3553
3565
|
visible: isVisible(this.$el) && css(this.$el, 'visibility') !== 'hidden',
|
|
3554
|
-
inView: this.inView && isInView(this.$el)
|
|
3555
|
-
|
|
3566
|
+
inView: this.inView && isInView(this.$el)
|
|
3567
|
+
};
|
|
3556
3568
|
},
|
|
3557
3569
|
|
|
3558
|
-
write(
|
|
3570
|
+
write(_ref2) {let { prev, visible, inView } = _ref2;
|
|
3559
3571
|
if (!visible || this.inView && !inView) {
|
|
3560
3572
|
pause(this.$el);
|
|
3561
|
-
} else if (this.autoplay === true || this.inView && inView) {
|
|
3573
|
+
} else if (this.autoplay === true && !prev || this.inView && inView) {
|
|
3562
3574
|
play(this.$el);
|
|
3563
3575
|
}
|
|
3564
|
-
}
|
|
3576
|
+
}
|
|
3577
|
+
}
|
|
3578
|
+
};
|
|
3565
3579
|
|
|
3566
3580
|
var Resize = {
|
|
3567
3581
|
connected() {var _this$$options$resize;
|
|
@@ -3570,25 +3584,26 @@
|
|
|
3570
3584
|
this.$emit('resize')));
|
|
3571
3585
|
|
|
3572
3586
|
|
|
3573
|
-
}
|
|
3587
|
+
}
|
|
3588
|
+
};
|
|
3574
3589
|
|
|
3575
3590
|
var cover = {
|
|
3576
3591
|
mixins: [Resize, Video],
|
|
3577
3592
|
|
|
3578
3593
|
props: {
|
|
3579
3594
|
width: Number,
|
|
3580
|
-
height: Number
|
|
3581
|
-
|
|
3595
|
+
height: Number
|
|
3596
|
+
},
|
|
3582
3597
|
|
|
3583
3598
|
data: {
|
|
3584
|
-
automute: true
|
|
3585
|
-
|
|
3599
|
+
automute: true
|
|
3600
|
+
},
|
|
3586
3601
|
|
|
3587
3602
|
events: {
|
|
3588
3603
|
'load loadedmetadata'() {
|
|
3589
3604
|
this.$emit('resize');
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3605
|
+
}
|
|
3606
|
+
},
|
|
3592
3607
|
|
|
3593
3608
|
resizeTargets() {
|
|
3594
3609
|
return [this.$el, getPositionedParent(this.$el) || parent(this.$el)];
|
|
@@ -3604,8 +3619,8 @@
|
|
|
3604
3619
|
if (!dim.width || !dim.height) {
|
|
3605
3620
|
const intrinsic = {
|
|
3606
3621
|
width: $el.naturalWidth || $el.videoWidth || $el.clientWidth,
|
|
3607
|
-
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3608
|
-
|
|
3622
|
+
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3623
|
+
};
|
|
3609
3624
|
|
|
3610
3625
|
if (dim.width) {
|
|
3611
3626
|
dim = ratio(intrinsic, 'width', dim.width);
|
|
@@ -3620,8 +3635,8 @@
|
|
|
3620
3635
|
getPositionedParent($el) || parent($el);
|
|
3621
3636
|
const coverDim = cover(dim, {
|
|
3622
3637
|
width: coverWidth + (coverWidth % 2 ? 1 : 0),
|
|
3623
|
-
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3624
|
-
|
|
3638
|
+
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3639
|
+
});
|
|
3625
3640
|
|
|
3626
3641
|
if (!coverDim.width || !coverDim.height) {
|
|
3627
3642
|
return false;
|
|
@@ -3634,9 +3649,9 @@
|
|
|
3634
3649
|
css(this.$el, { height, width });
|
|
3635
3650
|
},
|
|
3636
3651
|
|
|
3637
|
-
events: ['resize']
|
|
3638
|
-
|
|
3639
|
-
|
|
3652
|
+
events: ['resize']
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3640
3655
|
|
|
3641
3656
|
function getPositionedParent(el) {
|
|
3642
3657
|
while (el = parent(el)) {
|
|
@@ -3648,17 +3663,19 @@
|
|
|
3648
3663
|
|
|
3649
3664
|
var Container = {
|
|
3650
3665
|
props: {
|
|
3651
|
-
container: Boolean
|
|
3652
|
-
|
|
3666
|
+
container: Boolean
|
|
3667
|
+
},
|
|
3653
3668
|
|
|
3654
3669
|
data: {
|
|
3655
|
-
container: true
|
|
3656
|
-
|
|
3670
|
+
container: true
|
|
3671
|
+
},
|
|
3657
3672
|
|
|
3658
3673
|
computed: {
|
|
3659
3674
|
container(_ref) {let { container } = _ref;
|
|
3660
3675
|
return container === true && this.$container || container && $(container);
|
|
3661
|
-
}
|
|
3676
|
+
}
|
|
3677
|
+
}
|
|
3678
|
+
};
|
|
3662
3679
|
|
|
3663
3680
|
var Position = {
|
|
3664
3681
|
props: {
|
|
@@ -3666,16 +3683,16 @@
|
|
|
3666
3683
|
offset: null,
|
|
3667
3684
|
flip: Boolean,
|
|
3668
3685
|
shift: Boolean,
|
|
3669
|
-
inset: Boolean
|
|
3670
|
-
|
|
3686
|
+
inset: Boolean
|
|
3687
|
+
},
|
|
3671
3688
|
|
|
3672
3689
|
data: {
|
|
3673
3690
|
pos: "bottom-" + (isRtl ? 'right' : 'left'),
|
|
3674
3691
|
offset: false,
|
|
3675
3692
|
flip: true,
|
|
3676
3693
|
shift: true,
|
|
3677
|
-
inset: false
|
|
3678
|
-
|
|
3694
|
+
inset: false
|
|
3695
|
+
},
|
|
3679
3696
|
|
|
3680
3697
|
connected() {
|
|
3681
3698
|
this.pos = this.$props.pos.split('-').concat('center').slice(0, 2);
|
|
@@ -3690,8 +3707,8 @@
|
|
|
3690
3707
|
|
|
3691
3708
|
const attach = {
|
|
3692
3709
|
element: [this.inset ? this.dir : flipPosition(this.dir), this.align],
|
|
3693
|
-
target: [this.dir, this.align]
|
|
3694
|
-
|
|
3710
|
+
target: [this.dir, this.align]
|
|
3711
|
+
};
|
|
3695
3712
|
|
|
3696
3713
|
if (this.axis === 'y') {
|
|
3697
3714
|
for (const prop in attach) {
|
|
@@ -3713,8 +3730,8 @@
|
|
|
3713
3730
|
offset,
|
|
3714
3731
|
boundary,
|
|
3715
3732
|
placement,
|
|
3716
|
-
viewportOffset: this.getViewportOffset(element)
|
|
3717
|
-
|
|
3733
|
+
viewportOffset: this.getViewportOffset(element)
|
|
3734
|
+
});
|
|
3718
3735
|
|
|
3719
3736
|
// Restore scroll position
|
|
3720
3737
|
scrollElement.scrollTop = scrollTop;
|
|
@@ -3745,7 +3762,9 @@
|
|
|
3745
3762
|
|
|
3746
3763
|
getViewportOffset(element) {
|
|
3747
3764
|
return toPx(css(element, '--uk-position-viewport-offset'));
|
|
3748
|
-
}
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
};
|
|
3749
3768
|
|
|
3750
3769
|
var Style = {
|
|
3751
3770
|
beforeConnect() {
|
|
@@ -3754,7 +3773,8 @@
|
|
|
3754
3773
|
|
|
3755
3774
|
disconnected() {
|
|
3756
3775
|
attr(this.$el, 'style', this._style);
|
|
3757
|
-
}
|
|
3776
|
+
}
|
|
3777
|
+
};
|
|
3758
3778
|
|
|
3759
3779
|
const active$1 = [];
|
|
3760
3780
|
|
|
@@ -3766,16 +3786,16 @@
|
|
|
3766
3786
|
selClose: String,
|
|
3767
3787
|
escClose: Boolean,
|
|
3768
3788
|
bgClose: Boolean,
|
|
3769
|
-
stack: Boolean
|
|
3770
|
-
|
|
3789
|
+
stack: Boolean
|
|
3790
|
+
},
|
|
3771
3791
|
|
|
3772
3792
|
data: {
|
|
3773
3793
|
cls: 'uk-open',
|
|
3774
3794
|
escClose: true,
|
|
3775
3795
|
bgClose: true,
|
|
3776
3796
|
overlay: true,
|
|
3777
|
-
stack: false
|
|
3778
|
-
|
|
3797
|
+
stack: false
|
|
3798
|
+
},
|
|
3779
3799
|
|
|
3780
3800
|
computed: {
|
|
3781
3801
|
panel(_ref, $el) {let { selPanel } = _ref;
|
|
@@ -3788,8 +3808,8 @@
|
|
|
3788
3808
|
|
|
3789
3809
|
bgClose(_ref2) {let { bgClose } = _ref2;
|
|
3790
3810
|
return bgClose && this.panel;
|
|
3791
|
-
}
|
|
3792
|
-
|
|
3811
|
+
}
|
|
3812
|
+
},
|
|
3793
3813
|
|
|
3794
3814
|
beforeDisconnect() {
|
|
3795
3815
|
if (includes(active$1, this)) {
|
|
@@ -3808,8 +3828,8 @@
|
|
|
3808
3828
|
handler(e) {
|
|
3809
3829
|
e.preventDefault();
|
|
3810
3830
|
this.hide();
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3813
3833
|
|
|
3814
3834
|
{
|
|
3815
3835
|
name: 'click',
|
|
@@ -3829,8 +3849,8 @@
|
|
|
3829
3849
|
{
|
|
3830
3850
|
this.hide();
|
|
3831
3851
|
}
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3834
3854
|
|
|
3835
3855
|
{
|
|
3836
3856
|
name: 'toggle',
|
|
@@ -3847,8 +3867,8 @@
|
|
|
3847
3867
|
if (this.isToggled() === includes(active$1, this)) {
|
|
3848
3868
|
this.toggle();
|
|
3849
3869
|
}
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3870
|
+
}
|
|
3871
|
+
},
|
|
3852
3872
|
|
|
3853
3873
|
{
|
|
3854
3874
|
name: 'beforeshow',
|
|
@@ -3866,8 +3886,8 @@
|
|
|
3866
3886
|
} else {
|
|
3867
3887
|
active$1.push(this);
|
|
3868
3888
|
}
|
|
3869
|
-
}
|
|
3870
|
-
|
|
3889
|
+
}
|
|
3890
|
+
},
|
|
3871
3891
|
|
|
3872
3892
|
{
|
|
3873
3893
|
name: 'show',
|
|
@@ -3940,8 +3960,8 @@
|
|
|
3940
3960
|
{ self: true });
|
|
3941
3961
|
|
|
3942
3962
|
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3963
|
+
}
|
|
3964
|
+
},
|
|
3945
3965
|
|
|
3946
3966
|
{
|
|
3947
3967
|
name: 'shown',
|
|
@@ -3956,8 +3976,8 @@
|
|
|
3956
3976
|
if (!$(':focus', this.$el)) {
|
|
3957
3977
|
this.$el.focus();
|
|
3958
3978
|
}
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3961
3981
|
|
|
3962
3982
|
{
|
|
3963
3983
|
name: 'hidden',
|
|
@@ -3974,8 +3994,8 @@
|
|
|
3974
3994
|
if (!active$1.some((modal) => modal.clsPage === this.clsPage)) {
|
|
3975
3995
|
removeClass(document.documentElement, this.clsPage);
|
|
3976
3996
|
}
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3997
|
+
}
|
|
3998
|
+
}],
|
|
3979
3999
|
|
|
3980
4000
|
|
|
3981
4001
|
methods: {
|
|
@@ -3996,9 +4016,9 @@
|
|
|
3996
4016
|
|
|
3997
4017
|
hide() {
|
|
3998
4018
|
return this.toggleElement(this.$el, false, animate);
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
|
-
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
};
|
|
4002
4022
|
|
|
4003
4023
|
function animate(el, show, _ref6) {let { transitionElement, _toggle } = _ref6;
|
|
4004
4024
|
return new Promise((resolve, reject) =>
|
|
@@ -4013,8 +4033,8 @@
|
|
|
4013
4033
|
'transitionstart',
|
|
4014
4034
|
() => {
|
|
4015
4035
|
once(transitionElement, 'transitionend transitioncancel', resolve, {
|
|
4016
|
-
self: true
|
|
4017
|
-
|
|
4036
|
+
self: true
|
|
4037
|
+
});
|
|
4018
4038
|
clearTimeout(timer);
|
|
4019
4039
|
},
|
|
4020
4040
|
{ self: true });
|
|
@@ -4095,8 +4115,8 @@
|
|
|
4095
4115
|
css(scrollingElement, {
|
|
4096
4116
|
overflowY: 'hidden',
|
|
4097
4117
|
touchAction: 'none',
|
|
4098
|
-
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4099
|
-
|
|
4118
|
+
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4119
|
+
});
|
|
4100
4120
|
return () => {
|
|
4101
4121
|
prevented = false;
|
|
4102
4122
|
css(scrollingElement, { overflowY: '', touchAction: '', paddingRight: '' });
|
|
@@ -4139,8 +4159,8 @@
|
|
|
4139
4159
|
autoUpdate: Boolean,
|
|
4140
4160
|
clsDrop: String,
|
|
4141
4161
|
animateOut: Boolean,
|
|
4142
|
-
bgScroll: Boolean
|
|
4143
|
-
|
|
4162
|
+
bgScroll: Boolean
|
|
4163
|
+
},
|
|
4144
4164
|
|
|
4145
4165
|
data: {
|
|
4146
4166
|
mode: ['click', 'hover'],
|
|
@@ -4160,8 +4180,8 @@
|
|
|
4160
4180
|
bgScroll: true,
|
|
4161
4181
|
animation: ['uk-animation-fade'],
|
|
4162
4182
|
cls: 'uk-open',
|
|
4163
|
-
container: false
|
|
4164
|
-
|
|
4183
|
+
container: false
|
|
4184
|
+
},
|
|
4165
4185
|
|
|
4166
4186
|
computed: {
|
|
4167
4187
|
boundary(_ref, $el) {let { boundary, boundaryX, boundaryY } = _ref;
|
|
@@ -4179,8 +4199,8 @@
|
|
|
4179
4199
|
targetX === true ? window : query(targetX, $el),
|
|
4180
4200
|
targetY === true ? window : query(targetY, $el)];
|
|
4181
4201
|
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4184
4204
|
|
|
4185
4205
|
created() {
|
|
4186
4206
|
this.tracker = new MouseTracker();
|
|
@@ -4196,8 +4216,8 @@
|
|
|
4196
4216
|
if (this.toggle && !this.targetEl) {
|
|
4197
4217
|
this.targetEl = this.$create('toggle', query(this.toggle, this.$el), {
|
|
4198
4218
|
target: this.$el,
|
|
4199
|
-
mode: this.mode
|
|
4200
|
-
|
|
4219
|
+
mode: this.mode
|
|
4220
|
+
}).$el;
|
|
4201
4221
|
attr(this.targetEl, 'aria-haspopup', true);
|
|
4202
4222
|
this.lazyload(this.targetEl);
|
|
4203
4223
|
}
|
|
@@ -4221,8 +4241,8 @@
|
|
|
4221
4241
|
handler(e) {
|
|
4222
4242
|
e.preventDefault();
|
|
4223
4243
|
this.hide(false);
|
|
4224
|
-
}
|
|
4225
|
-
|
|
4244
|
+
}
|
|
4245
|
+
},
|
|
4226
4246
|
|
|
4227
4247
|
{
|
|
4228
4248
|
name: 'click',
|
|
@@ -4241,16 +4261,16 @@
|
|
|
4241
4261
|
{
|
|
4242
4262
|
this.hide(false);
|
|
4243
4263
|
}
|
|
4244
|
-
}
|
|
4245
|
-
|
|
4264
|
+
}
|
|
4265
|
+
},
|
|
4246
4266
|
|
|
4247
4267
|
{
|
|
4248
4268
|
name: 'beforescroll',
|
|
4249
4269
|
|
|
4250
4270
|
handler() {
|
|
4251
4271
|
this.hide(false);
|
|
4252
|
-
}
|
|
4253
|
-
|
|
4272
|
+
}
|
|
4273
|
+
},
|
|
4254
4274
|
|
|
4255
4275
|
{
|
|
4256
4276
|
name: 'toggle',
|
|
@@ -4265,8 +4285,8 @@
|
|
|
4265
4285
|
} else {
|
|
4266
4286
|
this.show(toggle == null ? void 0 : toggle.$el, false);
|
|
4267
4287
|
}
|
|
4268
|
-
}
|
|
4269
|
-
|
|
4288
|
+
}
|
|
4289
|
+
},
|
|
4270
4290
|
|
|
4271
4291
|
{
|
|
4272
4292
|
name: 'toggleshow',
|
|
@@ -4276,8 +4296,8 @@
|
|
|
4276
4296
|
handler(e, toggle) {
|
|
4277
4297
|
e.preventDefault();
|
|
4278
4298
|
this.show(toggle == null ? void 0 : toggle.$el);
|
|
4279
|
-
}
|
|
4280
|
-
|
|
4299
|
+
}
|
|
4300
|
+
},
|
|
4281
4301
|
|
|
4282
4302
|
{
|
|
4283
4303
|
name: 'togglehide',
|
|
@@ -4289,8 +4309,8 @@
|
|
|
4289
4309
|
if (!matches(this.$el, ':focus,:hover')) {
|
|
4290
4310
|
this.hide();
|
|
4291
4311
|
}
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4312
|
+
}
|
|
4313
|
+
},
|
|
4294
4314
|
|
|
4295
4315
|
{
|
|
4296
4316
|
name: pointerEnter + " focusin",
|
|
@@ -4303,8 +4323,8 @@
|
|
|
4303
4323
|
if (!isTouch(e)) {
|
|
4304
4324
|
this.clearTimers();
|
|
4305
4325
|
}
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4308
4328
|
|
|
4309
4329
|
{
|
|
4310
4330
|
name: pointerLeave + " focusout",
|
|
@@ -4317,8 +4337,8 @@
|
|
|
4317
4337
|
if (!isTouch(e) && e.relatedTarget) {
|
|
4318
4338
|
this.hide();
|
|
4319
4339
|
}
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4340
|
+
}
|
|
4341
|
+
},
|
|
4322
4342
|
|
|
4323
4343
|
{
|
|
4324
4344
|
name: 'toggled',
|
|
@@ -4332,8 +4352,8 @@
|
|
|
4332
4352
|
|
|
4333
4353
|
this.clearTimers();
|
|
4334
4354
|
this.position();
|
|
4335
|
-
}
|
|
4336
|
-
|
|
4355
|
+
}
|
|
4356
|
+
},
|
|
4337
4357
|
|
|
4338
4358
|
{
|
|
4339
4359
|
name: 'show',
|
|
@@ -4388,8 +4408,8 @@
|
|
|
4388
4408
|
...(this.autoUpdate ?
|
|
4389
4409
|
[
|
|
4390
4410
|
on([document, scrollParents(this.$el)], 'scroll', update, {
|
|
4391
|
-
passive: true
|
|
4392
|
-
|
|
4411
|
+
passive: true
|
|
4412
|
+
})] :
|
|
4393
4413
|
|
|
4394
4414
|
[]),
|
|
4395
4415
|
|
|
@@ -4399,10 +4419,10 @@
|
|
|
4399
4419
|
|
|
4400
4420
|
|
|
4401
4421
|
once(this.$el, 'hide', () => handlers.forEach((handler) => handler()), {
|
|
4402
|
-
self: true
|
|
4403
|
-
|
|
4404
|
-
}
|
|
4405
|
-
|
|
4422
|
+
self: true
|
|
4423
|
+
});
|
|
4424
|
+
}
|
|
4425
|
+
},
|
|
4406
4426
|
|
|
4407
4427
|
{
|
|
4408
4428
|
name: 'beforehide',
|
|
@@ -4411,8 +4431,8 @@
|
|
|
4411
4431
|
|
|
4412
4432
|
handler() {
|
|
4413
4433
|
this.clearTimers();
|
|
4414
|
-
}
|
|
4415
|
-
|
|
4434
|
+
}
|
|
4435
|
+
},
|
|
4416
4436
|
|
|
4417
4437
|
{
|
|
4418
4438
|
name: 'hide',
|
|
@@ -4428,8 +4448,8 @@
|
|
|
4428
4448
|
|
|
4429
4449
|
active = this.isActive() ? null : active;
|
|
4430
4450
|
this.tracker.cancel();
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4451
|
+
}
|
|
4452
|
+
}],
|
|
4433
4453
|
|
|
4434
4454
|
|
|
4435
4455
|
update: {
|
|
@@ -4437,8 +4457,8 @@
|
|
|
4437
4457
|
if (this.isToggled() && !hasClass(this.$el, this.clsEnter)) {
|
|
4438
4458
|
this.position();
|
|
4439
4459
|
}
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4460
|
+
}
|
|
4461
|
+
},
|
|
4442
4462
|
|
|
4443
4463
|
methods: {
|
|
4444
4464
|
show(target, delay) {if (target === void 0) {target = this.targetEl;}if (delay === void 0) {delay = true;}
|
|
@@ -4514,7 +4534,7 @@
|
|
|
4514
4534
|
// Ensure none positioned element does not generate scrollbars
|
|
4515
4535
|
this.$el.hidden = true;
|
|
4516
4536
|
|
|
4517
|
-
const viewports = this.target.map((target) =>
|
|
4537
|
+
const viewports = this.target.map((target) => getViewport$1(this.$el, target));
|
|
4518
4538
|
const viewportOffset = this.getViewportOffset(this.$el);
|
|
4519
4539
|
|
|
4520
4540
|
const dirs = [
|
|
@@ -4529,8 +4549,8 @@
|
|
|
4529
4549
|
offset(this.boundary[i])[prop],
|
|
4530
4550
|
viewports[i][prop] - 2 * viewportOffset),
|
|
4531
4551
|
|
|
4532
|
-
["overflow-" + axis]: 'auto'
|
|
4533
|
-
|
|
4552
|
+
["overflow-" + axis]: 'auto'
|
|
4553
|
+
});
|
|
4534
4554
|
}
|
|
4535
4555
|
}
|
|
4536
4556
|
|
|
@@ -4564,15 +4584,15 @@
|
|
|
4564
4584
|
offset(this.boundary[i])[end],
|
|
4565
4585
|
viewports[i][end] - viewportOffset) -
|
|
4566
4586
|
targetOffset[end]) - positionOffset,
|
|
4567
|
-
["overflow-" + axis]: 'auto'
|
|
4568
|
-
|
|
4587
|
+
["overflow-" + axis]: 'auto'
|
|
4588
|
+
});
|
|
4569
4589
|
|
|
4570
4590
|
this.positionAt(this.$el, this.target, this.boundary);
|
|
4571
4591
|
}
|
|
4572
4592
|
}
|
|
4573
|
-
}
|
|
4574
|
-
|
|
4575
|
-
|
|
4593
|
+
}
|
|
4594
|
+
}
|
|
4595
|
+
};
|
|
4576
4596
|
|
|
4577
4597
|
function getPositionedElements(el) {
|
|
4578
4598
|
const result = [];
|
|
@@ -4580,18 +4600,22 @@
|
|
|
4580
4600
|
return result;
|
|
4581
4601
|
}
|
|
4582
4602
|
|
|
4603
|
+
function getViewport$1(el, target) {
|
|
4604
|
+
return offsetViewport(scrollParents(target).find((parent) => within(el, parent)));
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4583
4607
|
var formCustom = {
|
|
4584
4608
|
mixins: [Class],
|
|
4585
4609
|
|
|
4586
4610
|
args: 'target',
|
|
4587
4611
|
|
|
4588
4612
|
props: {
|
|
4589
|
-
target: Boolean
|
|
4590
|
-
|
|
4613
|
+
target: Boolean
|
|
4614
|
+
},
|
|
4591
4615
|
|
|
4592
4616
|
data: {
|
|
4593
|
-
target: false
|
|
4594
|
-
|
|
4617
|
+
target: false
|
|
4618
|
+
},
|
|
4595
4619
|
|
|
4596
4620
|
computed: {
|
|
4597
4621
|
input(_, $el) {
|
|
@@ -4608,8 +4632,8 @@
|
|
|
4608
4632
|
target === true && parent(this.input) === $el && this.input.nextElementSibling ||
|
|
4609
4633
|
$(target, $el)));
|
|
4610
4634
|
|
|
4611
|
-
}
|
|
4612
|
-
|
|
4635
|
+
}
|
|
4636
|
+
},
|
|
4613
4637
|
|
|
4614
4638
|
update() {var _input$files;
|
|
4615
4639
|
const { target, input } = this;
|
|
@@ -4639,8 +4663,8 @@
|
|
|
4639
4663
|
|
|
4640
4664
|
handler() {
|
|
4641
4665
|
this.$emit();
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4666
|
+
}
|
|
4667
|
+
},
|
|
4644
4668
|
|
|
4645
4669
|
{
|
|
4646
4670
|
name: 'reset',
|
|
@@ -4651,20 +4675,23 @@
|
|
|
4651
4675
|
|
|
4652
4676
|
handler() {
|
|
4653
4677
|
this.$emit();
|
|
4654
|
-
}
|
|
4678
|
+
}
|
|
4679
|
+
}]
|
|
4680
|
+
|
|
4681
|
+
};
|
|
4655
4682
|
|
|
4656
4683
|
var Margin = {
|
|
4657
4684
|
mixins: [Resize],
|
|
4658
4685
|
|
|
4659
4686
|
props: {
|
|
4660
4687
|
margin: String,
|
|
4661
|
-
firstColumn: Boolean
|
|
4662
|
-
|
|
4688
|
+
firstColumn: Boolean
|
|
4689
|
+
},
|
|
4663
4690
|
|
|
4664
4691
|
data: {
|
|
4665
4692
|
margin: 'uk-margin-small-top',
|
|
4666
|
-
firstColumn: 'uk-first-column'
|
|
4667
|
-
|
|
4693
|
+
firstColumn: 'uk-first-column'
|
|
4694
|
+
},
|
|
4668
4695
|
|
|
4669
4696
|
resizeTargets() {
|
|
4670
4697
|
return [this.$el, ...toArray(this.$el.children)];
|
|
@@ -4673,8 +4700,10 @@
|
|
|
4673
4700
|
connected() {
|
|
4674
4701
|
this.registerObserver(
|
|
4675
4702
|
observeMutation(this.$el, () => this.$reset(), {
|
|
4676
|
-
childList: true
|
|
4677
|
-
|
|
4703
|
+
childList: true,
|
|
4704
|
+
attributes: true,
|
|
4705
|
+
attributeFilter: ['style']
|
|
4706
|
+
}));
|
|
4678
4707
|
|
|
4679
4708
|
},
|
|
4680
4709
|
|
|
@@ -4684,8 +4713,8 @@
|
|
|
4684
4713
|
|
|
4685
4714
|
return {
|
|
4686
4715
|
rows,
|
|
4687
|
-
columns: getColumns(rows)
|
|
4688
|
-
|
|
4716
|
+
columns: getColumns(rows)
|
|
4717
|
+
};
|
|
4689
4718
|
},
|
|
4690
4719
|
|
|
4691
4720
|
write(_ref) {let { columns, rows } = _ref;
|
|
@@ -4697,9 +4726,9 @@
|
|
|
4697
4726
|
}
|
|
4698
4727
|
},
|
|
4699
4728
|
|
|
4700
|
-
events: ['resize']
|
|
4701
|
-
|
|
4702
|
-
|
|
4729
|
+
events: ['resize']
|
|
4730
|
+
}
|
|
4731
|
+
};
|
|
4703
4732
|
|
|
4704
4733
|
function getRows(items) {
|
|
4705
4734
|
return sortBy(items, 'top', 'bottom');
|
|
@@ -4775,8 +4804,8 @@
|
|
|
4775
4804
|
top: offsetTop,
|
|
4776
4805
|
left: offsetLeft,
|
|
4777
4806
|
bottom: offsetTop + offsetHeight,
|
|
4778
|
-
right: offsetLeft + offsetWidth
|
|
4779
|
-
|
|
4807
|
+
right: offsetLeft + offsetWidth
|
|
4808
|
+
};
|
|
4780
4809
|
}
|
|
4781
4810
|
|
|
4782
4811
|
var Scroll = {
|
|
@@ -4786,8 +4815,8 @@
|
|
|
4786
4815
|
|
|
4787
4816
|
disconnected() {
|
|
4788
4817
|
unregisterScrollListener(this._uid);
|
|
4789
|
-
}
|
|
4790
|
-
|
|
4818
|
+
}
|
|
4819
|
+
};
|
|
4791
4820
|
|
|
4792
4821
|
const scrollListeners = new Map();
|
|
4793
4822
|
let unbindScrollListener;
|
|
@@ -4796,8 +4825,8 @@
|
|
|
4796
4825
|
unbindScrollListener ||
|
|
4797
4826
|
on(window, 'scroll', () => scrollListeners.forEach((listener) => listener()), {
|
|
4798
4827
|
passive: true,
|
|
4799
|
-
capture: true
|
|
4800
|
-
|
|
4828
|
+
capture: true
|
|
4829
|
+
});
|
|
4801
4830
|
|
|
4802
4831
|
scrollListeners.set(id, listener);
|
|
4803
4832
|
}
|
|
@@ -4819,15 +4848,15 @@
|
|
|
4819
4848
|
|
|
4820
4849
|
props: {
|
|
4821
4850
|
masonry: Boolean,
|
|
4822
|
-
parallax: Number
|
|
4823
|
-
|
|
4851
|
+
parallax: Number
|
|
4852
|
+
},
|
|
4824
4853
|
|
|
4825
4854
|
data: {
|
|
4826
4855
|
margin: 'uk-grid-margin',
|
|
4827
4856
|
clsStack: 'uk-grid-stack',
|
|
4828
4857
|
masonry: false,
|
|
4829
|
-
parallax: 0
|
|
4830
|
-
|
|
4858
|
+
parallax: 0
|
|
4859
|
+
},
|
|
4831
4860
|
|
|
4832
4861
|
connected() {
|
|
4833
4862
|
this.masonry && addClass(this.$el, 'uk-flex-top uk-flex-wrap-top');
|
|
@@ -4844,8 +4873,8 @@
|
|
|
4844
4873
|
toggleClass(this.$el, this.clsStack, columns.length < 2);
|
|
4845
4874
|
},
|
|
4846
4875
|
|
|
4847
|
-
events: ['resize']
|
|
4848
|
-
|
|
4876
|
+
events: ['resize']
|
|
4877
|
+
},
|
|
4849
4878
|
|
|
4850
4879
|
{
|
|
4851
4880
|
read(data) {
|
|
@@ -4893,8 +4922,8 @@
|
|
|
4893
4922
|
height !== false && css(this.$el, 'height', height);
|
|
4894
4923
|
},
|
|
4895
4924
|
|
|
4896
|
-
events: ['resize']
|
|
4897
|
-
|
|
4925
|
+
events: ['resize']
|
|
4926
|
+
},
|
|
4898
4927
|
|
|
4899
4928
|
{
|
|
4900
4929
|
read() {
|
|
@@ -4905,8 +4934,8 @@
|
|
|
4905
4934
|
return {
|
|
4906
4935
|
scrolled: this.parallax ?
|
|
4907
4936
|
scrolledOver(this.$el) * Math.abs(this.parallax) :
|
|
4908
|
-
false
|
|
4909
|
-
|
|
4937
|
+
false
|
|
4938
|
+
};
|
|
4910
4939
|
},
|
|
4911
4940
|
|
|
4912
4941
|
write(_ref3) {let { columns, scrolled, translates } = _ref3;
|
|
@@ -4930,10 +4959,10 @@
|
|
|
4930
4959
|
|
|
4931
4960
|
},
|
|
4932
4961
|
|
|
4933
|
-
events: ['scroll', 'resize']
|
|
4934
|
-
|
|
4935
|
-
|
|
4962
|
+
events: ['scroll', 'resize']
|
|
4963
|
+
}]
|
|
4936
4964
|
|
|
4965
|
+
};
|
|
4937
4966
|
|
|
4938
4967
|
function positionedAbsolute(el) {
|
|
4939
4968
|
return children(el).some((el) => css(el, 'position') === 'absolute');
|
|
@@ -4968,13 +4997,13 @@
|
|
|
4968
4997
|
|
|
4969
4998
|
props: {
|
|
4970
4999
|
target: String,
|
|
4971
|
-
row: Boolean
|
|
4972
|
-
|
|
5000
|
+
row: Boolean
|
|
5001
|
+
},
|
|
4973
5002
|
|
|
4974
5003
|
data: {
|
|
4975
5004
|
target: '> *',
|
|
4976
|
-
row: true
|
|
4977
|
-
|
|
5005
|
+
row: true
|
|
5006
|
+
},
|
|
4978
5007
|
|
|
4979
5008
|
computed: {
|
|
4980
5009
|
elements: {
|
|
@@ -4984,9 +5013,9 @@
|
|
|
4984
5013
|
|
|
4985
5014
|
watch() {
|
|
4986
5015
|
this.$reset();
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
|
|
5016
|
+
}
|
|
5017
|
+
}
|
|
5018
|
+
},
|
|
4990
5019
|
|
|
4991
5020
|
resizeTargets() {
|
|
4992
5021
|
return [this.$el, ...this.elements];
|
|
@@ -4995,8 +5024,8 @@
|
|
|
4995
5024
|
update: {
|
|
4996
5025
|
read() {
|
|
4997
5026
|
return {
|
|
4998
|
-
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match$1)
|
|
4999
|
-
|
|
5027
|
+
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match$1)
|
|
5028
|
+
};
|
|
5000
5029
|
},
|
|
5001
5030
|
|
|
5002
5031
|
write(_ref2) {let { rows } = _ref2;
|
|
@@ -5005,9 +5034,9 @@
|
|
|
5005
5034
|
}
|
|
5006
5035
|
},
|
|
5007
5036
|
|
|
5008
|
-
events: ['resize']
|
|
5009
|
-
|
|
5010
|
-
|
|
5037
|
+
events: ['resize']
|
|
5038
|
+
}
|
|
5039
|
+
};
|
|
5011
5040
|
|
|
5012
5041
|
function match$1(elements) {
|
|
5013
5042
|
if (elements.length < 2) {
|
|
@@ -5020,8 +5049,8 @@
|
|
|
5020
5049
|
|
|
5021
5050
|
return {
|
|
5022
5051
|
heights: elements.map((el, i) => heights[i].toFixed(2) === max.toFixed(2) ? '' : max),
|
|
5023
|
-
elements
|
|
5024
|
-
|
|
5052
|
+
elements
|
|
5053
|
+
};
|
|
5025
5054
|
}
|
|
5026
5055
|
|
|
5027
5056
|
function getHeight(element) {
|
|
@@ -5047,15 +5076,15 @@
|
|
|
5047
5076
|
expand: Boolean,
|
|
5048
5077
|
offsetTop: Boolean,
|
|
5049
5078
|
offsetBottom: Boolean,
|
|
5050
|
-
minHeight: Number
|
|
5051
|
-
|
|
5079
|
+
minHeight: Number
|
|
5080
|
+
},
|
|
5052
5081
|
|
|
5053
5082
|
data: {
|
|
5054
5083
|
expand: false,
|
|
5055
5084
|
offsetTop: false,
|
|
5056
5085
|
offsetBottom: false,
|
|
5057
|
-
minHeight: 0
|
|
5058
|
-
|
|
5086
|
+
minHeight: 0
|
|
5087
|
+
},
|
|
5059
5088
|
|
|
5060
5089
|
resizeTargets() {
|
|
5061
5090
|
// check for offsetTop change
|
|
@@ -5124,7 +5153,9 @@
|
|
|
5124
5153
|
}
|
|
5125
5154
|
},
|
|
5126
5155
|
|
|
5127
|
-
events: ['resize']
|
|
5156
|
+
events: ['resize']
|
|
5157
|
+
}
|
|
5158
|
+
};
|
|
5128
5159
|
|
|
5129
5160
|
var SVG = {
|
|
5130
5161
|
args: 'src',
|
|
@@ -5139,15 +5170,15 @@
|
|
|
5139
5170
|
ratio: Number,
|
|
5140
5171
|
class: String,
|
|
5141
5172
|
strokeAnimation: Boolean,
|
|
5142
|
-
attributes: 'list'
|
|
5143
|
-
|
|
5173
|
+
attributes: 'list'
|
|
5174
|
+
},
|
|
5144
5175
|
|
|
5145
5176
|
data: {
|
|
5146
5177
|
ratio: 1,
|
|
5147
5178
|
include: ['style', 'class'],
|
|
5148
5179
|
class: '',
|
|
5149
|
-
strokeAnimation: false
|
|
5150
|
-
|
|
5180
|
+
strokeAnimation: false
|
|
5181
|
+
},
|
|
5151
5182
|
|
|
5152
5183
|
beforeConnect() {
|
|
5153
5184
|
this.class += ' uk-svg';
|
|
@@ -5244,9 +5275,9 @@
|
|
|
5244
5275
|
}
|
|
5245
5276
|
|
|
5246
5277
|
dimensions.forEach((val, i) => attr(el, props[i], toFloat(val) * this.ratio || null));
|
|
5247
|
-
}
|
|
5248
|
-
|
|
5249
|
-
|
|
5278
|
+
}
|
|
5279
|
+
}
|
|
5280
|
+
};
|
|
5250
5281
|
|
|
5251
5282
|
const loadSVG = memoize(async (src) => {
|
|
5252
5283
|
if (src) {
|
|
@@ -5338,7 +5369,7 @@
|
|
|
5338
5369
|
|
|
5339
5370
|
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
5371
|
|
|
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
|
|
5372
|
+
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
5373
|
|
|
5343
5374
|
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
5375
|
|
|
@@ -5383,8 +5414,8 @@
|
|
|
5383
5414
|
'slidenav-next': slidenavNext,
|
|
5384
5415
|
'slidenav-next-large': slidenavNextLarge,
|
|
5385
5416
|
'slidenav-previous': slidenavPrevious,
|
|
5386
|
-
'slidenav-previous-large': slidenavPreviousLarge
|
|
5387
|
-
|
|
5417
|
+
'slidenav-previous-large': slidenavPreviousLarge
|
|
5418
|
+
};
|
|
5388
5419
|
|
|
5389
5420
|
const Icon = {
|
|
5390
5421
|
install: install$3,
|
|
@@ -5412,7 +5443,9 @@
|
|
|
5412
5443
|
}
|
|
5413
5444
|
|
|
5414
5445
|
return icon;
|
|
5415
|
-
}
|
|
5446
|
+
}
|
|
5447
|
+
}
|
|
5448
|
+
};
|
|
5416
5449
|
|
|
5417
5450
|
const IconComponent = {
|
|
5418
5451
|
args: false,
|
|
@@ -5420,13 +5453,13 @@
|
|
|
5420
5453
|
extends: Icon,
|
|
5421
5454
|
|
|
5422
5455
|
data: (vm) => ({
|
|
5423
|
-
icon: hyphenate(vm.constructor.options.name)
|
|
5424
|
-
|
|
5456
|
+
icon: hyphenate(vm.constructor.options.name)
|
|
5457
|
+
}),
|
|
5425
5458
|
|
|
5426
5459
|
beforeConnect() {
|
|
5427
5460
|
addClass(this.$el, this.$options.id);
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5461
|
+
}
|
|
5462
|
+
};
|
|
5430
5463
|
|
|
5431
5464
|
const NavParentIcon = {
|
|
5432
5465
|
extends: IconComponent,
|
|
@@ -5434,8 +5467,8 @@
|
|
|
5434
5467
|
beforeConnect() {
|
|
5435
5468
|
const icon = this.$props.icon;
|
|
5436
5469
|
this.icon = closest(this.$el, '.uk-nav-primary') ? icon + "-large" : icon;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5470
|
+
}
|
|
5471
|
+
};
|
|
5439
5472
|
|
|
5440
5473
|
const Slidenav = {
|
|
5441
5474
|
extends: IconComponent,
|
|
@@ -5444,8 +5477,8 @@
|
|
|
5444
5477
|
addClass(this.$el, 'uk-slidenav');
|
|
5445
5478
|
const icon = this.$props.icon;
|
|
5446
5479
|
this.icon = hasClass(this.$el, 'uk-slidenav-large') ? icon + "-large" : icon;
|
|
5447
|
-
}
|
|
5448
|
-
|
|
5480
|
+
}
|
|
5481
|
+
};
|
|
5449
5482
|
|
|
5450
5483
|
const Search = {
|
|
5451
5484
|
extends: IconComponent,
|
|
@@ -5457,16 +5490,16 @@
|
|
|
5457
5490
|
parents(this.$el, '.uk-search-navbar').length ?
|
|
5458
5491
|
'search-navbar' :
|
|
5459
5492
|
this.$props.icon;
|
|
5460
|
-
}
|
|
5461
|
-
|
|
5493
|
+
}
|
|
5494
|
+
};
|
|
5462
5495
|
|
|
5463
5496
|
const Close = {
|
|
5464
5497
|
extends: IconComponent,
|
|
5465
5498
|
|
|
5466
5499
|
beforeConnect() {
|
|
5467
5500
|
this.icon = "close-" + (hasClass(this.$el, 'uk-close-large') ? 'large' : 'icon');
|
|
5468
|
-
}
|
|
5469
|
-
|
|
5501
|
+
}
|
|
5502
|
+
};
|
|
5470
5503
|
|
|
5471
5504
|
const Spinner = {
|
|
5472
5505
|
extends: IconComponent,
|
|
@@ -5480,9 +5513,9 @@
|
|
|
5480
5513
|
}
|
|
5481
5514
|
|
|
5482
5515
|
return icon;
|
|
5483
|
-
}
|
|
5484
|
-
|
|
5485
|
-
|
|
5516
|
+
}
|
|
5517
|
+
}
|
|
5518
|
+
};
|
|
5486
5519
|
|
|
5487
5520
|
const parsed = {};
|
|
5488
5521
|
function install$3(UIkit) {
|
|
@@ -5530,8 +5563,8 @@
|
|
|
5530
5563
|
offsetTop: String,
|
|
5531
5564
|
offsetLeft: String,
|
|
5532
5565
|
target: String,
|
|
5533
|
-
loading: String
|
|
5534
|
-
|
|
5566
|
+
loading: String
|
|
5567
|
+
},
|
|
5535
5568
|
|
|
5536
5569
|
data: {
|
|
5537
5570
|
dataSrc: '',
|
|
@@ -5539,8 +5572,8 @@
|
|
|
5539
5572
|
offsetTop: '50vh',
|
|
5540
5573
|
offsetLeft: '50vw',
|
|
5541
5574
|
target: false,
|
|
5542
|
-
loading: 'lazy'
|
|
5543
|
-
|
|
5575
|
+
loading: 'lazy'
|
|
5576
|
+
},
|
|
5544
5577
|
|
|
5545
5578
|
connected() {
|
|
5546
5579
|
if (this.loading !== 'lazy') {
|
|
@@ -5571,9 +5604,9 @@
|
|
|
5571
5604
|
{
|
|
5572
5605
|
rootMargin: toPx(this.offsetTop, 'height') + "px " + toPx(
|
|
5573
5606
|
this.offsetLeft,
|
|
5574
|
-
'width') + "px"
|
|
5575
|
-
|
|
5607
|
+
'width') + "px"
|
|
5576
5608
|
|
|
5609
|
+
}));
|
|
5577
5610
|
|
|
5578
5611
|
|
|
5579
5612
|
},
|
|
@@ -5597,9 +5630,9 @@
|
|
|
5597
5630
|
removeAttr(image, 'loading');
|
|
5598
5631
|
setSrcAttrs(this.$el, image.currentSrc);
|
|
5599
5632
|
return this._data.image = image;
|
|
5600
|
-
}
|
|
5601
|
-
|
|
5602
|
-
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
};
|
|
5603
5636
|
|
|
5604
5637
|
function setSrcAttrs(el, src) {
|
|
5605
5638
|
if (isImg(el)) {
|
|
@@ -5689,12 +5722,12 @@
|
|
|
5689
5722
|
|
|
5690
5723
|
var Media = {
|
|
5691
5724
|
props: {
|
|
5692
|
-
media: Boolean
|
|
5693
|
-
|
|
5725
|
+
media: Boolean
|
|
5726
|
+
},
|
|
5694
5727
|
|
|
5695
5728
|
data: {
|
|
5696
|
-
media: false
|
|
5697
|
-
|
|
5729
|
+
media: false
|
|
5730
|
+
},
|
|
5698
5731
|
|
|
5699
5732
|
connected() {
|
|
5700
5733
|
const media = toMedia(this.media, this.$el);
|
|
@@ -5715,8 +5748,8 @@
|
|
|
5715
5748
|
|
|
5716
5749
|
disconnected() {var _this$offMediaObj;
|
|
5717
5750
|
(_this$offMediaObj = this.offMediaObj) == null ? void 0 : _this$offMediaObj.call(this);
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5751
|
+
}
|
|
5752
|
+
};
|
|
5720
5753
|
|
|
5721
5754
|
function toMedia(value, element) {
|
|
5722
5755
|
if (isString(value)) {
|
|
@@ -5734,21 +5767,21 @@
|
|
|
5734
5767
|
mixins: [Class, Media, Resize],
|
|
5735
5768
|
|
|
5736
5769
|
props: {
|
|
5737
|
-
fill: String
|
|
5738
|
-
|
|
5770
|
+
fill: String
|
|
5771
|
+
},
|
|
5739
5772
|
|
|
5740
5773
|
data: {
|
|
5741
5774
|
fill: '',
|
|
5742
5775
|
clsWrapper: 'uk-leader-fill',
|
|
5743
5776
|
clsHide: 'uk-leader-hide',
|
|
5744
|
-
attrFill: 'data-fill'
|
|
5745
|
-
|
|
5777
|
+
attrFill: 'data-fill'
|
|
5778
|
+
},
|
|
5746
5779
|
|
|
5747
5780
|
computed: {
|
|
5748
5781
|
fill(_ref) {let { fill } = _ref;
|
|
5749
5782
|
return fill || css(this.$el, '--uk-leader-fill-content');
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5783
|
+
}
|
|
5784
|
+
},
|
|
5752
5785
|
|
|
5753
5786
|
connected() {
|
|
5754
5787
|
[this.wrapper] = wrapInner(this.$el, "<span class=\"" + this.clsWrapper + "\">");
|
|
@@ -5765,8 +5798,8 @@
|
|
|
5765
5798
|
return {
|
|
5766
5799
|
width,
|
|
5767
5800
|
fill: this.fill,
|
|
5768
|
-
hide: !this.matchMedia
|
|
5769
|
-
|
|
5801
|
+
hide: !this.matchMedia
|
|
5802
|
+
};
|
|
5770
5803
|
},
|
|
5771
5804
|
|
|
5772
5805
|
write(_ref2) {let { width, fill, hide } = _ref2;
|
|
@@ -5774,7 +5807,9 @@
|
|
|
5774
5807
|
attr(this.wrapper, this.attrFill, new Array(width).join(fill));
|
|
5775
5808
|
},
|
|
5776
5809
|
|
|
5777
|
-
events: ['resize']
|
|
5810
|
+
events: ['resize']
|
|
5811
|
+
}
|
|
5812
|
+
};
|
|
5778
5813
|
|
|
5779
5814
|
var modal = {
|
|
5780
5815
|
install: install$2,
|
|
@@ -5785,8 +5820,8 @@
|
|
|
5785
5820
|
clsPage: 'uk-modal-page',
|
|
5786
5821
|
selPanel: '.uk-modal-dialog',
|
|
5787
5822
|
selClose:
|
|
5788
|
-
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5789
|
-
|
|
5823
|
+
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5824
|
+
},
|
|
5790
5825
|
|
|
5791
5826
|
events: [
|
|
5792
5827
|
{
|
|
@@ -5802,8 +5837,8 @@
|
|
|
5802
5837
|
}
|
|
5803
5838
|
|
|
5804
5839
|
height(this.$el); // force reflow
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5840
|
+
}
|
|
5841
|
+
},
|
|
5807
5842
|
|
|
5808
5843
|
{
|
|
5809
5844
|
name: 'hidden',
|
|
@@ -5813,10 +5848,10 @@
|
|
|
5813
5848
|
handler() {
|
|
5814
5849
|
css(this.$el, 'display', '');
|
|
5815
5850
|
removeClass(this.$el, 'uk-flex');
|
|
5816
|
-
}
|
|
5817
|
-
|
|
5818
|
-
|
|
5851
|
+
}
|
|
5852
|
+
}]
|
|
5819
5853
|
|
|
5854
|
+
};
|
|
5820
5855
|
|
|
5821
5856
|
function install$2(_ref) {let { modal } = _ref;
|
|
5822
5857
|
modal.dialog = function (content, options) {
|
|
@@ -5895,8 +5930,8 @@
|
|
|
5895
5930
|
|
|
5896
5931
|
modal.labels = {
|
|
5897
5932
|
ok: 'Ok',
|
|
5898
|
-
cancel: 'Cancel'
|
|
5899
|
-
|
|
5933
|
+
cancel: 'Cancel'
|
|
5934
|
+
};
|
|
5900
5935
|
|
|
5901
5936
|
function openDialog(tmpl, options, hideFn, submitFn) {
|
|
5902
5937
|
options = { bgClose: false, escClose: true, labels: modal.labels, ...options };
|
|
@@ -5927,7 +5962,9 @@
|
|
|
5927
5962
|
data: {
|
|
5928
5963
|
targets: '> .uk-parent',
|
|
5929
5964
|
toggle: '> a',
|
|
5930
|
-
content: '> ul'
|
|
5965
|
+
content: '> ul'
|
|
5966
|
+
}
|
|
5967
|
+
};
|
|
5931
5968
|
|
|
5932
5969
|
var navbar = {
|
|
5933
5970
|
mixins: [Class, Container],
|
|
@@ -5949,8 +5986,8 @@
|
|
|
5949
5986
|
targetX: Boolean,
|
|
5950
5987
|
targetY: Boolean,
|
|
5951
5988
|
animation: Boolean,
|
|
5952
|
-
animateOut: Boolean
|
|
5953
|
-
|
|
5989
|
+
animateOut: Boolean
|
|
5990
|
+
},
|
|
5954
5991
|
|
|
5955
5992
|
data: {
|
|
5956
5993
|
dropdown: '.uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle',
|
|
@@ -5960,8 +5997,8 @@
|
|
|
5960
5997
|
dropbar: false,
|
|
5961
5998
|
dropbarAnchor: false,
|
|
5962
5999
|
duration: 200,
|
|
5963
|
-
container: false
|
|
5964
|
-
|
|
6000
|
+
container: false
|
|
6001
|
+
},
|
|
5965
6002
|
|
|
5966
6003
|
computed: {
|
|
5967
6004
|
dropbarAnchor(_ref, $el) {let { dropbarAnchor } = _ref;
|
|
@@ -5986,8 +6023,8 @@
|
|
|
5986
6023
|
addClass(dropbar, 'uk-dropbar', 'uk-dropbar-top', 'uk-navbar-dropbar');
|
|
5987
6024
|
},
|
|
5988
6025
|
|
|
5989
|
-
immediate: true
|
|
5990
|
-
|
|
6026
|
+
immediate: true
|
|
6027
|
+
},
|
|
5991
6028
|
|
|
5992
6029
|
dropContainer(_, $el) {
|
|
5993
6030
|
return this.container || $el;
|
|
@@ -6018,13 +6055,13 @@
|
|
|
6018
6055
|
flip: false,
|
|
6019
6056
|
shift: true,
|
|
6020
6057
|
pos: "bottom-" + this.align,
|
|
6021
|
-
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6022
|
-
|
|
6058
|
+
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6059
|
+
});
|
|
6023
6060
|
|
|
6024
6061
|
},
|
|
6025
6062
|
|
|
6026
|
-
immediate: true
|
|
6027
|
-
|
|
6063
|
+
immediate: true
|
|
6064
|
+
},
|
|
6028
6065
|
|
|
6029
6066
|
toggles: {
|
|
6030
6067
|
get(_ref4, $el) {let { dropdown } = _ref4;
|
|
@@ -6041,9 +6078,9 @@
|
|
|
6041
6078
|
}
|
|
6042
6079
|
},
|
|
6043
6080
|
|
|
6044
|
-
immediate: true
|
|
6045
|
-
|
|
6046
|
-
|
|
6081
|
+
immediate: true
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6047
6084
|
|
|
6048
6085
|
disconnected() {
|
|
6049
6086
|
this.dropbar && remove$1(this.dropbar);
|
|
@@ -6069,8 +6106,8 @@
|
|
|
6069
6106
|
{
|
|
6070
6107
|
active.hide(false);
|
|
6071
6108
|
}
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6109
|
+
}
|
|
6110
|
+
},
|
|
6074
6111
|
|
|
6075
6112
|
{
|
|
6076
6113
|
name: 'keydown',
|
|
@@ -6097,8 +6134,8 @@
|
|
|
6097
6134
|
}
|
|
6098
6135
|
|
|
6099
6136
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6137
|
+
}
|
|
6138
|
+
},
|
|
6102
6139
|
|
|
6103
6140
|
{
|
|
6104
6141
|
name: 'keydown',
|
|
@@ -6141,8 +6178,8 @@
|
|
|
6141
6178
|
}
|
|
6142
6179
|
|
|
6143
6180
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6144
|
-
}
|
|
6145
|
-
|
|
6181
|
+
}
|
|
6182
|
+
},
|
|
6146
6183
|
|
|
6147
6184
|
{
|
|
6148
6185
|
name: 'mouseleave',
|
|
@@ -6165,8 +6202,8 @@
|
|
|
6165
6202
|
{
|
|
6166
6203
|
active.hide();
|
|
6167
6204
|
}
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6205
|
+
}
|
|
6206
|
+
},
|
|
6170
6207
|
|
|
6171
6208
|
{
|
|
6172
6209
|
name: 'beforeshow',
|
|
@@ -6189,8 +6226,8 @@
|
|
|
6189
6226
|
}
|
|
6190
6227
|
|
|
6191
6228
|
addClass(target, this.clsDrop + "-dropbar");
|
|
6192
|
-
}
|
|
6193
|
-
|
|
6229
|
+
}
|
|
6230
|
+
},
|
|
6194
6231
|
|
|
6195
6232
|
{
|
|
6196
6233
|
name: 'show',
|
|
@@ -6222,8 +6259,8 @@
|
|
|
6222
6259
|
target);
|
|
6223
6260
|
|
|
6224
6261
|
});
|
|
6225
|
-
}
|
|
6226
|
-
|
|
6262
|
+
}
|
|
6263
|
+
},
|
|
6227
6264
|
|
|
6228
6265
|
{
|
|
6229
6266
|
name: 'beforehide',
|
|
@@ -6246,8 +6283,8 @@
|
|
|
6246
6283
|
{
|
|
6247
6284
|
e.preventDefault();
|
|
6248
6285
|
}
|
|
6249
|
-
}
|
|
6250
|
-
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6251
6288
|
|
|
6252
6289
|
{
|
|
6253
6290
|
name: 'hide',
|
|
@@ -6272,8 +6309,8 @@
|
|
|
6272
6309
|
if (!active || (active == null ? void 0 : active.$el) === target) {
|
|
6273
6310
|
this.transitionTo(0);
|
|
6274
6311
|
}
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6312
|
+
}
|
|
6313
|
+
}],
|
|
6277
6314
|
|
|
6278
6315
|
|
|
6279
6316
|
methods: {
|
|
@@ -6297,8 +6334,8 @@
|
|
|
6297
6334
|
Transition.start(
|
|
6298
6335
|
el,
|
|
6299
6336
|
{
|
|
6300
|
-
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6301
|
-
|
|
6337
|
+
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6338
|
+
},
|
|
6302
6339
|
this.duration)]).
|
|
6303
6340
|
|
|
6304
6341
|
|
|
@@ -6312,9 +6349,9 @@
|
|
|
6312
6349
|
|
|
6313
6350
|
isDropbarDrop(el) {
|
|
6314
6351
|
return this.getDropdown(el) && hasClass(el, this.clsDrop);
|
|
6315
|
-
}
|
|
6316
|
-
|
|
6317
|
-
|
|
6352
|
+
}
|
|
6353
|
+
}
|
|
6354
|
+
};
|
|
6318
6355
|
|
|
6319
6356
|
function handleNavItemNavigation(e, toggles, active) {
|
|
6320
6357
|
const { current, keyCode } = e;
|
|
@@ -6351,22 +6388,23 @@
|
|
|
6351
6388
|
LEFT: 37,
|
|
6352
6389
|
UP: 38,
|
|
6353
6390
|
RIGHT: 39,
|
|
6354
|
-
DOWN: 40
|
|
6391
|
+
DOWN: 40
|
|
6392
|
+
};
|
|
6355
6393
|
|
|
6356
6394
|
var Swipe = {
|
|
6357
6395
|
props: {
|
|
6358
|
-
swiping: Boolean
|
|
6359
|
-
|
|
6396
|
+
swiping: Boolean
|
|
6397
|
+
},
|
|
6360
6398
|
|
|
6361
6399
|
data: {
|
|
6362
|
-
swiping: true
|
|
6363
|
-
|
|
6400
|
+
swiping: true
|
|
6401
|
+
},
|
|
6364
6402
|
|
|
6365
6403
|
computed: {
|
|
6366
6404
|
swipeTarget(props, $el) {
|
|
6367
6405
|
return $el;
|
|
6368
|
-
}
|
|
6369
|
-
|
|
6406
|
+
}
|
|
6407
|
+
},
|
|
6370
6408
|
|
|
6371
6409
|
connected() {
|
|
6372
6410
|
if (!this.swiping) {
|
|
@@ -6399,10 +6437,10 @@
|
|
|
6399
6437
|
});
|
|
6400
6438
|
}
|
|
6401
6439
|
});
|
|
6402
|
-
}
|
|
6403
|
-
|
|
6404
|
-
}
|
|
6405
|
-
|
|
6440
|
+
}
|
|
6441
|
+
});
|
|
6442
|
+
}
|
|
6443
|
+
};
|
|
6406
6444
|
|
|
6407
6445
|
function swipeDirection(x1, y1, x2, y2) {
|
|
6408
6446
|
return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ?
|
|
@@ -6422,8 +6460,8 @@
|
|
|
6422
6460
|
props: {
|
|
6423
6461
|
mode: String,
|
|
6424
6462
|
flip: Boolean,
|
|
6425
|
-
overlay: Boolean
|
|
6426
|
-
|
|
6463
|
+
overlay: Boolean
|
|
6464
|
+
},
|
|
6427
6465
|
|
|
6428
6466
|
data: {
|
|
6429
6467
|
mode: 'slide',
|
|
@@ -6438,8 +6476,8 @@
|
|
|
6438
6476
|
clsMode: 'uk-offcanvas',
|
|
6439
6477
|
clsOverlay: 'uk-offcanvas-overlay',
|
|
6440
6478
|
selClose: '.uk-offcanvas-close',
|
|
6441
|
-
container: false
|
|
6442
|
-
|
|
6479
|
+
container: false
|
|
6480
|
+
},
|
|
6443
6481
|
|
|
6444
6482
|
computed: {
|
|
6445
6483
|
clsFlip(_ref) {let { flip, clsFlip } = _ref;
|
|
@@ -6464,8 +6502,8 @@
|
|
|
6464
6502
|
|
|
6465
6503
|
transitionElement(_ref6) {let { mode } = _ref6;
|
|
6466
6504
|
return mode === 'reveal' ? parent(this.panel) : this.panel;
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6505
|
+
}
|
|
6506
|
+
},
|
|
6469
6507
|
|
|
6470
6508
|
update: {
|
|
6471
6509
|
read() {
|
|
@@ -6474,8 +6512,8 @@
|
|
|
6474
6512
|
}
|
|
6475
6513
|
},
|
|
6476
6514
|
|
|
6477
|
-
events: ['resize']
|
|
6478
|
-
|
|
6515
|
+
events: ['resize']
|
|
6516
|
+
},
|
|
6479
6517
|
|
|
6480
6518
|
events: [
|
|
6481
6519
|
{
|
|
@@ -6490,8 +6528,8 @@
|
|
|
6490
6528
|
|
|
6491
6529
|
handler(e) {
|
|
6492
6530
|
e.cancelable && e.preventDefault();
|
|
6493
|
-
}
|
|
6494
|
-
|
|
6531
|
+
}
|
|
6532
|
+
},
|
|
6495
6533
|
|
|
6496
6534
|
{
|
|
6497
6535
|
name: 'show',
|
|
@@ -6521,8 +6559,8 @@
|
|
|
6521
6559
|
addClass(body, this.clsContainerAnimation);
|
|
6522
6560
|
|
|
6523
6561
|
this.clsContainerAnimation && suppressUserScale();
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6562
|
+
}
|
|
6563
|
+
},
|
|
6526
6564
|
|
|
6527
6565
|
{
|
|
6528
6566
|
name: 'hide',
|
|
@@ -6532,8 +6570,8 @@
|
|
|
6532
6570
|
handler() {
|
|
6533
6571
|
removeClass(document.body, this.clsContainerAnimation);
|
|
6534
6572
|
css(document.body, 'touch-action', '');
|
|
6535
|
-
}
|
|
6536
|
-
|
|
6573
|
+
}
|
|
6574
|
+
},
|
|
6537
6575
|
|
|
6538
6576
|
{
|
|
6539
6577
|
name: 'hidden',
|
|
@@ -6552,8 +6590,8 @@
|
|
|
6552
6590
|
css(this.$el, 'display', '');
|
|
6553
6591
|
css(this.panel, 'maxWidth', '');
|
|
6554
6592
|
removeClass(document.body, this.clsContainer, this.clsFlip);
|
|
6555
|
-
}
|
|
6556
|
-
|
|
6593
|
+
}
|
|
6594
|
+
},
|
|
6557
6595
|
|
|
6558
6596
|
{
|
|
6559
6597
|
name: 'swipeLeft swipeRight',
|
|
@@ -6562,10 +6600,10 @@
|
|
|
6562
6600
|
if (this.isToggled() && endsWith(e.type, 'Left') ^ this.flip) {
|
|
6563
6601
|
this.hide();
|
|
6564
6602
|
}
|
|
6565
|
-
}
|
|
6566
|
-
|
|
6567
|
-
|
|
6603
|
+
}
|
|
6604
|
+
}]
|
|
6568
6605
|
|
|
6606
|
+
};
|
|
6569
6607
|
|
|
6570
6608
|
// Chrome in responsive mode zooms page upon opening offcanvas
|
|
6571
6609
|
function suppressUserScale() {
|
|
@@ -6589,14 +6627,14 @@
|
|
|
6589
6627
|
props: {
|
|
6590
6628
|
selContainer: String,
|
|
6591
6629
|
selContent: String,
|
|
6592
|
-
minHeight: Number
|
|
6593
|
-
|
|
6630
|
+
minHeight: Number
|
|
6631
|
+
},
|
|
6594
6632
|
|
|
6595
6633
|
data: {
|
|
6596
6634
|
selContainer: '.uk-modal',
|
|
6597
6635
|
selContent: '.uk-modal-dialog',
|
|
6598
|
-
minHeight: 150
|
|
6599
|
-
|
|
6636
|
+
minHeight: 150
|
|
6637
|
+
},
|
|
6600
6638
|
|
|
6601
6639
|
computed: {
|
|
6602
6640
|
container(_ref, $el) {let { selContainer } = _ref;
|
|
@@ -6605,8 +6643,8 @@
|
|
|
6605
6643
|
|
|
6606
6644
|
content(_ref2, $el) {let { selContent } = _ref2;
|
|
6607
6645
|
return closest($el, selContent);
|
|
6608
|
-
}
|
|
6609
|
-
|
|
6646
|
+
}
|
|
6647
|
+
},
|
|
6610
6648
|
|
|
6611
6649
|
resizeTargets() {
|
|
6612
6650
|
return [this.container, this.content];
|
|
@@ -6621,16 +6659,18 @@
|
|
|
6621
6659
|
return {
|
|
6622
6660
|
max: Math.max(
|
|
6623
6661
|
this.minHeight,
|
|
6624
|
-
height(this.container) - (dimensions$1(this.content).height - height(this.$el)))
|
|
6625
|
-
|
|
6662
|
+
height(this.container) - (dimensions$1(this.content).height - height(this.$el)))
|
|
6626
6663
|
|
|
6664
|
+
};
|
|
6627
6665
|
},
|
|
6628
6666
|
|
|
6629
6667
|
write(_ref3) {let { max } = _ref3;
|
|
6630
6668
|
css(this.$el, { minHeight: this.minHeight, maxHeight: max });
|
|
6631
6669
|
},
|
|
6632
6670
|
|
|
6633
|
-
events: ['resize']
|
|
6671
|
+
events: ['resize']
|
|
6672
|
+
}
|
|
6673
|
+
};
|
|
6634
6674
|
|
|
6635
6675
|
var responsive = {
|
|
6636
6676
|
mixins: [Resize],
|
|
@@ -6658,23 +6698,25 @@
|
|
|
6658
6698
|
Dimensions.contain(
|
|
6659
6699
|
{
|
|
6660
6700
|
height: this.height,
|
|
6661
|
-
width: this.width
|
|
6662
|
-
|
|
6701
|
+
width: this.width
|
|
6702
|
+
},
|
|
6663
6703
|
dim).
|
|
6664
6704
|
height);
|
|
6665
6705
|
|
|
6666
6706
|
},
|
|
6667
6707
|
|
|
6668
|
-
events: ['resize']
|
|
6708
|
+
events: ['resize']
|
|
6709
|
+
}
|
|
6710
|
+
};
|
|
6669
6711
|
|
|
6670
6712
|
var scroll = {
|
|
6671
6713
|
props: {
|
|
6672
|
-
offset: Number
|
|
6673
|
-
|
|
6714
|
+
offset: Number
|
|
6715
|
+
},
|
|
6674
6716
|
|
|
6675
6717
|
data: {
|
|
6676
|
-
offset: 0
|
|
6677
|
-
|
|
6718
|
+
offset: 0
|
|
6719
|
+
},
|
|
6678
6720
|
|
|
6679
6721
|
connected() {
|
|
6680
6722
|
registerClick(this);
|
|
@@ -6692,9 +6734,9 @@
|
|
|
6692
6734
|
await scrollIntoView(el, { offset: this.offset });
|
|
6693
6735
|
trigger(this.$el, 'scrolled', [this, el]);
|
|
6694
6736
|
}
|
|
6695
|
-
}
|
|
6696
|
-
|
|
6697
|
-
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
};
|
|
6698
6740
|
|
|
6699
6741
|
const components$2 = new Set();
|
|
6700
6742
|
function registerClick(cmp) {
|
|
@@ -6742,8 +6784,8 @@
|
|
|
6742
6784
|
offsetTop: Number,
|
|
6743
6785
|
offsetLeft: Number,
|
|
6744
6786
|
repeat: Boolean,
|
|
6745
|
-
delay: Number
|
|
6746
|
-
|
|
6787
|
+
delay: Number
|
|
6788
|
+
},
|
|
6747
6789
|
|
|
6748
6790
|
data: () => ({
|
|
6749
6791
|
cls: '',
|
|
@@ -6753,8 +6795,8 @@
|
|
|
6753
6795
|
offsetLeft: 0,
|
|
6754
6796
|
repeat: false,
|
|
6755
6797
|
delay: 0,
|
|
6756
|
-
inViewClass: 'uk-scrollspy-inview'
|
|
6757
|
-
|
|
6798
|
+
inViewClass: 'uk-scrollspy-inview'
|
|
6799
|
+
}),
|
|
6758
6800
|
|
|
6759
6801
|
computed: {
|
|
6760
6802
|
elements: {
|
|
@@ -6773,9 +6815,9 @@
|
|
|
6773
6815
|
}
|
|
6774
6816
|
},
|
|
6775
6817
|
|
|
6776
|
-
immediate: true
|
|
6777
|
-
|
|
6778
|
-
|
|
6818
|
+
immediate: true
|
|
6819
|
+
}
|
|
6820
|
+
},
|
|
6779
6821
|
|
|
6780
6822
|
connected() {
|
|
6781
6823
|
this._data.elements = new Map();
|
|
@@ -6787,8 +6829,8 @@
|
|
|
6787
6829
|
for (const { target: el, isIntersecting } of records) {
|
|
6788
6830
|
if (!elements.has(el)) {
|
|
6789
6831
|
elements.set(el, {
|
|
6790
|
-
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6791
|
-
|
|
6832
|
+
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6833
|
+
});
|
|
6792
6834
|
}
|
|
6793
6835
|
|
|
6794
6836
|
const state = elements.get(el);
|
|
@@ -6803,9 +6845,9 @@
|
|
|
6803
6845
|
},
|
|
6804
6846
|
{
|
|
6805
6847
|
rootMargin: toPx(this.offsetTop, 'height') - 1 + "px " + (
|
|
6806
|
-
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6807
|
-
|
|
6848
|
+
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6808
6849
|
|
|
6850
|
+
},
|
|
6809
6851
|
false));
|
|
6810
6852
|
|
|
6811
6853
|
|
|
@@ -6837,8 +6879,8 @@
|
|
|
6837
6879
|
this.toggle(el, false);
|
|
6838
6880
|
}
|
|
6839
6881
|
}
|
|
6840
|
-
}
|
|
6841
|
-
|
|
6882
|
+
}
|
|
6883
|
+
}],
|
|
6842
6884
|
|
|
6843
6885
|
|
|
6844
6886
|
methods: {
|
|
@@ -6871,7 +6913,9 @@
|
|
|
6871
6913
|
|
|
6872
6914
|
// change to `visibility: hidden` does not trigger observers
|
|
6873
6915
|
this.$update(el);
|
|
6874
|
-
}
|
|
6916
|
+
}
|
|
6917
|
+
}
|
|
6918
|
+
};
|
|
6875
6919
|
|
|
6876
6920
|
var scrollspyNav = {
|
|
6877
6921
|
mixins: [Scroll],
|
|
@@ -6881,16 +6925,16 @@
|
|
|
6881
6925
|
closest: String,
|
|
6882
6926
|
scroll: Boolean,
|
|
6883
6927
|
overflow: Boolean,
|
|
6884
|
-
offset: Number
|
|
6885
|
-
|
|
6928
|
+
offset: Number
|
|
6929
|
+
},
|
|
6886
6930
|
|
|
6887
6931
|
data: {
|
|
6888
6932
|
cls: 'uk-active',
|
|
6889
6933
|
closest: false,
|
|
6890
6934
|
scroll: false,
|
|
6891
6935
|
overflow: true,
|
|
6892
|
-
offset: 0
|
|
6893
|
-
|
|
6936
|
+
offset: 0
|
|
6937
|
+
},
|
|
6894
6938
|
|
|
6895
6939
|
computed: {
|
|
6896
6940
|
links: {
|
|
@@ -6904,13 +6948,13 @@
|
|
|
6904
6948
|
}
|
|
6905
6949
|
},
|
|
6906
6950
|
|
|
6907
|
-
immediate: true
|
|
6908
|
-
|
|
6951
|
+
immediate: true
|
|
6952
|
+
},
|
|
6909
6953
|
|
|
6910
6954
|
elements(_ref) {let { closest: selector } = _ref;
|
|
6911
6955
|
return closest(this.links, selector || '*');
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6956
|
+
}
|
|
6957
|
+
},
|
|
6914
6958
|
|
|
6915
6959
|
update: [
|
|
6916
6960
|
{
|
|
@@ -6960,7 +7004,10 @@
|
|
|
6960
7004
|
}
|
|
6961
7005
|
},
|
|
6962
7006
|
|
|
6963
|
-
events: ['scroll', 'resize']
|
|
7007
|
+
events: ['scroll', 'resize']
|
|
7008
|
+
}]
|
|
7009
|
+
|
|
7010
|
+
};
|
|
6964
7011
|
|
|
6965
7012
|
var sticky = {
|
|
6966
7013
|
mixins: [Class, Media, Resize, Scroll],
|
|
@@ -6980,8 +7027,8 @@
|
|
|
6980
7027
|
clsBelow: String,
|
|
6981
7028
|
selTarget: String,
|
|
6982
7029
|
showOnUp: Boolean,
|
|
6983
|
-
targetOffset: Number
|
|
6984
|
-
|
|
7030
|
+
targetOffset: Number
|
|
7031
|
+
},
|
|
6985
7032
|
|
|
6986
7033
|
data: {
|
|
6987
7034
|
position: 'top',
|
|
@@ -6998,14 +7045,14 @@
|
|
|
6998
7045
|
clsBelow: 'uk-sticky-below',
|
|
6999
7046
|
selTarget: '',
|
|
7000
7047
|
showOnUp: false,
|
|
7001
|
-
targetOffset: false
|
|
7002
|
-
|
|
7048
|
+
targetOffset: false
|
|
7049
|
+
},
|
|
7003
7050
|
|
|
7004
7051
|
computed: {
|
|
7005
7052
|
selTarget(_ref, $el) {let { selTarget } = _ref;
|
|
7006
7053
|
return selTarget && $(selTarget, $el) || $el;
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7054
|
+
}
|
|
7055
|
+
},
|
|
7009
7056
|
|
|
7010
7057
|
resizeTargets() {
|
|
7011
7058
|
return document.documentElement;
|
|
@@ -7042,8 +7089,8 @@
|
|
|
7042
7089
|
|
|
7043
7090
|
handler() {
|
|
7044
7091
|
this.$emit('resize');
|
|
7045
|
-
}
|
|
7046
|
-
|
|
7092
|
+
}
|
|
7093
|
+
},
|
|
7047
7094
|
{
|
|
7048
7095
|
name: 'load hashchange popstate',
|
|
7049
7096
|
|
|
@@ -7074,13 +7121,13 @@
|
|
|
7074
7121
|
toPx(this.offset, 'height', this.placeholder);
|
|
7075
7122
|
}
|
|
7076
7123
|
});
|
|
7077
|
-
}
|
|
7078
|
-
|
|
7124
|
+
}
|
|
7125
|
+
}],
|
|
7079
7126
|
|
|
7080
7127
|
|
|
7081
7128
|
update: [
|
|
7082
7129
|
{
|
|
7083
|
-
read(_ref2, types) {let { height: height$1, margin } = _ref2;
|
|
7130
|
+
read(_ref2, types) {let { height: height$1, width, margin } = _ref2;
|
|
7084
7131
|
this.inactive = !this.matchMedia || !isVisible(this.$el);
|
|
7085
7132
|
|
|
7086
7133
|
if (this.inactive) {
|
|
@@ -7094,7 +7141,7 @@
|
|
|
7094
7141
|
}
|
|
7095
7142
|
|
|
7096
7143
|
if (!this.active) {
|
|
7097
|
-
height$1 = offset(this.$el)
|
|
7144
|
+
({ height: height$1, width } = offset(this.$el));
|
|
7098
7145
|
margin = css(this.$el, 'margin');
|
|
7099
7146
|
}
|
|
7100
7147
|
|
|
@@ -7103,7 +7150,6 @@
|
|
|
7103
7150
|
requestAnimationFrame(() => css(this.selTarget, 'transition', ''));
|
|
7104
7151
|
}
|
|
7105
7152
|
|
|
7106
|
-
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7107
7153
|
const windowHeight = height(window);
|
|
7108
7154
|
|
|
7109
7155
|
let position = this.position;
|
|
@@ -7111,6 +7157,7 @@
|
|
|
7111
7157
|
position = position === 'top' ? 'bottom' : 'top';
|
|
7112
7158
|
}
|
|
7113
7159
|
|
|
7160
|
+
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7114
7161
|
let offset$1 = toPx(this.offset, 'height', referenceElement);
|
|
7115
7162
|
if (position === 'bottom' && (height$1 < windowHeight || this.overflowFlip)) {
|
|
7116
7163
|
offset$1 += windowHeight - height$1;
|
|
@@ -7140,16 +7187,16 @@
|
|
|
7140
7187
|
overflow,
|
|
7141
7188
|
topOffset,
|
|
7142
7189
|
height: height$1,
|
|
7190
|
+
width,
|
|
7143
7191
|
margin,
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7192
|
+
top: offsetPosition(referenceElement)[0]
|
|
7193
|
+
};
|
|
7147
7194
|
},
|
|
7148
7195
|
|
|
7149
|
-
write(_ref3) {let { height, margin } = _ref3;
|
|
7196
|
+
write(_ref3) {let { height, width, margin } = _ref3;
|
|
7150
7197
|
const { placeholder } = this;
|
|
7151
7198
|
|
|
7152
|
-
css(placeholder, { height, margin });
|
|
7199
|
+
css(placeholder, { height, width, margin });
|
|
7153
7200
|
|
|
7154
7201
|
if (!within(placeholder, document)) {
|
|
7155
7202
|
after(this.$el, placeholder);
|
|
@@ -7157,8 +7204,8 @@
|
|
|
7157
7204
|
}
|
|
7158
7205
|
},
|
|
7159
7206
|
|
|
7160
|
-
events: ['resize']
|
|
7161
|
-
|
|
7207
|
+
events: ['resize']
|
|
7208
|
+
},
|
|
7162
7209
|
|
|
7163
7210
|
{
|
|
7164
7211
|
read(_ref4)
|
|
@@ -7183,9 +7230,9 @@
|
|
|
7183
7230
|
overflowScroll: clamp(
|
|
7184
7231
|
overflowScroll + clamp(scroll, start, end) - clamp(prevScroll, start, end),
|
|
7185
7232
|
0,
|
|
7186
|
-
overflow)
|
|
7187
|
-
|
|
7233
|
+
overflow)
|
|
7188
7234
|
|
|
7235
|
+
};
|
|
7189
7236
|
},
|
|
7190
7237
|
|
|
7191
7238
|
write(data, types) {
|
|
@@ -7199,8 +7246,8 @@
|
|
|
7199
7246
|
top,
|
|
7200
7247
|
start,
|
|
7201
7248
|
topOffset,
|
|
7202
|
-
height
|
|
7203
|
-
data;
|
|
7249
|
+
height
|
|
7250
|
+
} = data;
|
|
7204
7251
|
|
|
7205
7252
|
if (
|
|
7206
7253
|
scroll < 0 ||
|
|
@@ -7261,8 +7308,8 @@
|
|
|
7261
7308
|
}
|
|
7262
7309
|
},
|
|
7263
7310
|
|
|
7264
|
-
events: ['resize', 'scroll']
|
|
7265
|
-
|
|
7311
|
+
events: ['resize', 'scroll']
|
|
7312
|
+
}],
|
|
7266
7313
|
|
|
7267
7314
|
|
|
7268
7315
|
methods: {
|
|
@@ -7290,8 +7337,8 @@
|
|
|
7290
7337
|
offset,
|
|
7291
7338
|
topOffset,
|
|
7292
7339
|
height,
|
|
7293
|
-
offsetParentTop
|
|
7294
|
-
this._data;
|
|
7340
|
+
offsetParentTop
|
|
7341
|
+
} = this._data;
|
|
7295
7342
|
const active = start !== 0 || scroll > start;
|
|
7296
7343
|
let position = 'fixed';
|
|
7297
7344
|
|
|
@@ -7307,8 +7354,8 @@
|
|
|
7307
7354
|
css(this.$el, {
|
|
7308
7355
|
position,
|
|
7309
7356
|
top: offset + "px",
|
|
7310
|
-
width
|
|
7311
|
-
|
|
7357
|
+
width
|
|
7358
|
+
});
|
|
7312
7359
|
|
|
7313
7360
|
this.setActive(active);
|
|
7314
7361
|
toggleClass(this.$el, this.clsBelow, scroll > topOffset + height);
|
|
@@ -7325,9 +7372,9 @@
|
|
|
7325
7372
|
replaceClass(this.selTarget, this.clsActive, this.clsInactive);
|
|
7326
7373
|
prev !== active && trigger(this.$el, 'inactive');
|
|
7327
7374
|
}
|
|
7328
|
-
}
|
|
7329
|
-
|
|
7330
|
-
|
|
7375
|
+
}
|
|
7376
|
+
}
|
|
7377
|
+
};
|
|
7331
7378
|
|
|
7332
7379
|
function parseProp(value, el, propOffset, padding) {
|
|
7333
7380
|
if (!value) {
|
|
@@ -7365,8 +7412,8 @@
|
|
|
7365
7412
|
connect: String,
|
|
7366
7413
|
toggle: String,
|
|
7367
7414
|
itemNav: String,
|
|
7368
|
-
active: Number
|
|
7369
|
-
|
|
7415
|
+
active: Number
|
|
7416
|
+
},
|
|
7370
7417
|
|
|
7371
7418
|
data: {
|
|
7372
7419
|
connect: '~.uk-switcher',
|
|
@@ -7374,8 +7421,8 @@
|
|
|
7374
7421
|
itemNav: false,
|
|
7375
7422
|
active: 0,
|
|
7376
7423
|
cls: 'uk-active',
|
|
7377
|
-
attrItem: 'uk-switcher-item'
|
|
7378
|
-
|
|
7424
|
+
attrItem: 'uk-switcher-item'
|
|
7425
|
+
},
|
|
7379
7426
|
|
|
7380
7427
|
computed: {
|
|
7381
7428
|
connects: {
|
|
@@ -7390,8 +7437,8 @@
|
|
|
7390
7437
|
},
|
|
7391
7438
|
|
|
7392
7439
|
document: true,
|
|
7393
|
-
immediate: true
|
|
7394
|
-
|
|
7440
|
+
immediate: true
|
|
7441
|
+
},
|
|
7395
7442
|
|
|
7396
7443
|
connectChildren: {
|
|
7397
7444
|
get() {
|
|
@@ -7406,8 +7453,8 @@
|
|
|
7406
7453
|
}
|
|
7407
7454
|
},
|
|
7408
7455
|
|
|
7409
|
-
immediate: true
|
|
7410
|
-
|
|
7456
|
+
immediate: true
|
|
7457
|
+
},
|
|
7411
7458
|
|
|
7412
7459
|
toggles: {
|
|
7413
7460
|
get(_ref2, $el) {let { toggle } = _ref2;
|
|
@@ -7421,8 +7468,8 @@
|
|
|
7421
7468
|
this.show(~active ? active : toggles[this.active] || toggles[0]);
|
|
7422
7469
|
},
|
|
7423
7470
|
|
|
7424
|
-
immediate: true
|
|
7425
|
-
|
|
7471
|
+
immediate: true
|
|
7472
|
+
},
|
|
7426
7473
|
|
|
7427
7474
|
children() {
|
|
7428
7475
|
return children(this.$el).filter((child) =>
|
|
@@ -7432,8 +7479,8 @@
|
|
|
7432
7479
|
|
|
7433
7480
|
swipeTarget() {
|
|
7434
7481
|
return this.connects;
|
|
7435
|
-
}
|
|
7436
|
-
|
|
7482
|
+
}
|
|
7483
|
+
},
|
|
7437
7484
|
|
|
7438
7485
|
events: [
|
|
7439
7486
|
{
|
|
@@ -7446,8 +7493,8 @@
|
|
|
7446
7493
|
handler(e) {
|
|
7447
7494
|
e.preventDefault();
|
|
7448
7495
|
this.show(e.current);
|
|
7449
|
-
}
|
|
7450
|
-
|
|
7496
|
+
}
|
|
7497
|
+
},
|
|
7451
7498
|
|
|
7452
7499
|
{
|
|
7453
7500
|
name: 'click',
|
|
@@ -7463,8 +7510,8 @@
|
|
|
7463
7510
|
handler(e) {
|
|
7464
7511
|
e.preventDefault();
|
|
7465
7512
|
this.show(data(e.current, this.attrItem));
|
|
7466
|
-
}
|
|
7467
|
-
|
|
7513
|
+
}
|
|
7514
|
+
},
|
|
7468
7515
|
|
|
7469
7516
|
{
|
|
7470
7517
|
name: 'swipeRight swipeLeft',
|
|
@@ -7479,8 +7526,8 @@
|
|
|
7479
7526
|
|
|
7480
7527
|
handler(_ref3) {let { type } = _ref3;
|
|
7481
7528
|
this.show(endsWith(type, 'Left') ? 'next' : 'previous');
|
|
7482
|
-
}
|
|
7483
|
-
|
|
7529
|
+
}
|
|
7530
|
+
}],
|
|
7484
7531
|
|
|
7485
7532
|
|
|
7486
7533
|
methods: {
|
|
@@ -7506,7 +7553,9 @@
|
|
|
7506
7553
|
|
|
7507
7554
|
await this.toggleElement(children[active], true, animate);
|
|
7508
7555
|
});
|
|
7509
|
-
}
|
|
7556
|
+
}
|
|
7557
|
+
}
|
|
7558
|
+
};
|
|
7510
7559
|
|
|
7511
7560
|
var tab = {
|
|
7512
7561
|
mixins: [Class],
|
|
@@ -7514,13 +7563,13 @@
|
|
|
7514
7563
|
extends: Switcher,
|
|
7515
7564
|
|
|
7516
7565
|
props: {
|
|
7517
|
-
media: Boolean
|
|
7518
|
-
|
|
7566
|
+
media: Boolean
|
|
7567
|
+
},
|
|
7519
7568
|
|
|
7520
7569
|
data: {
|
|
7521
7570
|
media: 960,
|
|
7522
|
-
attrItem: 'uk-tab-item'
|
|
7523
|
-
|
|
7571
|
+
attrItem: 'uk-tab-item'
|
|
7572
|
+
},
|
|
7524
7573
|
|
|
7525
7574
|
connected() {
|
|
7526
7575
|
const cls = hasClass(this.$el, 'uk-tab-left') ?
|
|
@@ -7532,7 +7581,8 @@
|
|
|
7532
7581
|
if (cls) {
|
|
7533
7582
|
this.$create('toggle', this.$el, { cls, mode: 'media', media: this.media });
|
|
7534
7583
|
}
|
|
7535
|
-
}
|
|
7584
|
+
}
|
|
7585
|
+
};
|
|
7536
7586
|
|
|
7537
7587
|
const KEY_SPACE = 32;
|
|
7538
7588
|
|
|
@@ -7545,15 +7595,15 @@
|
|
|
7545
7595
|
href: String,
|
|
7546
7596
|
target: null,
|
|
7547
7597
|
mode: 'list',
|
|
7548
|
-
queued: Boolean
|
|
7549
|
-
|
|
7598
|
+
queued: Boolean
|
|
7599
|
+
},
|
|
7550
7600
|
|
|
7551
7601
|
data: {
|
|
7552
7602
|
href: false,
|
|
7553
7603
|
target: false,
|
|
7554
7604
|
mode: 'click',
|
|
7555
|
-
queued: true
|
|
7556
|
-
|
|
7605
|
+
queued: true
|
|
7606
|
+
},
|
|
7557
7607
|
|
|
7558
7608
|
computed: {
|
|
7559
7609
|
target: {
|
|
@@ -7568,9 +7618,9 @@
|
|
|
7568
7618
|
},
|
|
7569
7619
|
|
|
7570
7620
|
document: true,
|
|
7571
|
-
immediate: true
|
|
7572
|
-
|
|
7573
|
-
|
|
7621
|
+
immediate: true
|
|
7622
|
+
}
|
|
7623
|
+
},
|
|
7574
7624
|
|
|
7575
7625
|
connected() {
|
|
7576
7626
|
if (!includes(this.mode, 'media') && !isFocusable(this.$el)) {
|
|
@@ -7608,8 +7658,8 @@
|
|
|
7608
7658
|
if (includes(this.mode, 'click')) {
|
|
7609
7659
|
this._preventClick = true;
|
|
7610
7660
|
}
|
|
7611
|
-
}
|
|
7612
|
-
|
|
7661
|
+
}
|
|
7662
|
+
},
|
|
7613
7663
|
|
|
7614
7664
|
{
|
|
7615
7665
|
name: pointerEnter + " " + pointerLeave + " focus blur",
|
|
@@ -7647,8 +7697,8 @@
|
|
|
7647
7697
|
this._showState = show ? expanded : null;
|
|
7648
7698
|
|
|
7649
7699
|
this.toggle("toggle" + (show ? 'show' : 'hide'));
|
|
7650
|
-
}
|
|
7651
|
-
|
|
7700
|
+
}
|
|
7701
|
+
},
|
|
7652
7702
|
|
|
7653
7703
|
{
|
|
7654
7704
|
name: 'keydown',
|
|
@@ -7662,8 +7712,8 @@
|
|
|
7662
7712
|
e.preventDefault();
|
|
7663
7713
|
this.$el.click();
|
|
7664
7714
|
}
|
|
7665
|
-
}
|
|
7666
|
-
|
|
7715
|
+
}
|
|
7716
|
+
},
|
|
7667
7717
|
|
|
7668
7718
|
{
|
|
7669
7719
|
name: 'click',
|
|
@@ -7687,8 +7737,8 @@
|
|
|
7687
7737
|
if (!this._preventClick && includes(this.mode, 'click')) {
|
|
7688
7738
|
this.toggle();
|
|
7689
7739
|
}
|
|
7690
|
-
}
|
|
7691
|
-
|
|
7740
|
+
}
|
|
7741
|
+
},
|
|
7692
7742
|
|
|
7693
7743
|
{
|
|
7694
7744
|
name: 'hide show',
|
|
@@ -7701,8 +7751,8 @@
|
|
|
7701
7751
|
|
|
7702
7752
|
handler(_ref2) {let { target, type } = _ref2;
|
|
7703
7753
|
this.updateAria(target === this.target[0] && type === 'show');
|
|
7704
|
-
}
|
|
7705
|
-
|
|
7754
|
+
}
|
|
7755
|
+
},
|
|
7706
7756
|
|
|
7707
7757
|
{
|
|
7708
7758
|
name: 'mediachange',
|
|
@@ -7719,8 +7769,8 @@
|
|
|
7719
7769
|
if (mediaObj.matches ^ this.isToggled(this.target)) {
|
|
7720
7770
|
this.toggle();
|
|
7721
7771
|
}
|
|
7722
|
-
}
|
|
7723
|
-
|
|
7772
|
+
}
|
|
7773
|
+
}],
|
|
7724
7774
|
|
|
7725
7775
|
|
|
7726
7776
|
methods: {
|
|
@@ -7761,7 +7811,9 @@
|
|
|
7761
7811
|
'aria-expanded',
|
|
7762
7812
|
isBoolean(toggled) ? toggled : this.isToggled(this.target));
|
|
7763
7813
|
|
|
7764
|
-
}
|
|
7814
|
+
}
|
|
7815
|
+
}
|
|
7816
|
+
};
|
|
7765
7817
|
|
|
7766
7818
|
var components$1 = /*#__PURE__*/Object.freeze({
|
|
7767
7819
|
__proto__: null,
|
|
@@ -7820,13 +7872,13 @@
|
|
|
7820
7872
|
|
|
7821
7873
|
props: {
|
|
7822
7874
|
date: String,
|
|
7823
|
-
clsWrapper: String
|
|
7824
|
-
|
|
7875
|
+
clsWrapper: String
|
|
7876
|
+
},
|
|
7825
7877
|
|
|
7826
7878
|
data: {
|
|
7827
7879
|
date: '',
|
|
7828
|
-
clsWrapper: '.uk-countdown-%unit%'
|
|
7829
|
-
|
|
7880
|
+
clsWrapper: '.uk-countdown-%unit%'
|
|
7881
|
+
},
|
|
7830
7882
|
|
|
7831
7883
|
connected() {
|
|
7832
7884
|
this.date = Date.parse(this.$props.date);
|
|
@@ -7851,8 +7903,8 @@
|
|
|
7851
7903
|
} else {
|
|
7852
7904
|
this.start();
|
|
7853
7905
|
}
|
|
7854
|
-
}
|
|
7855
|
-
|
|
7906
|
+
}
|
|
7907
|
+
}],
|
|
7856
7908
|
|
|
7857
7909
|
|
|
7858
7910
|
methods: {
|
|
@@ -7896,9 +7948,9 @@
|
|
|
7896
7948
|
digits.forEach((digit, i) => el.children[i].textContent = digit);
|
|
7897
7949
|
}
|
|
7898
7950
|
}
|
|
7899
|
-
}
|
|
7900
|
-
|
|
7901
|
-
|
|
7951
|
+
}
|
|
7952
|
+
}
|
|
7953
|
+
};
|
|
7902
7954
|
|
|
7903
7955
|
function getTimeSpan(date) {
|
|
7904
7956
|
const total = date - Date.now();
|
|
@@ -7908,8 +7960,8 @@
|
|
|
7908
7960
|
seconds: total / 1000 % 60,
|
|
7909
7961
|
minutes: total / 1000 / 60 % 60,
|
|
7910
7962
|
hours: total / 1000 / 60 / 60 % 24,
|
|
7911
|
-
days: total / 1000 / 60 / 60 / 24
|
|
7912
|
-
|
|
7963
|
+
days: total / 1000 / 60 / 60 / 24
|
|
7964
|
+
};
|
|
7913
7965
|
}
|
|
7914
7966
|
|
|
7915
7967
|
const clsLeave = 'uk-transition-leave';
|
|
@@ -8065,10 +8117,7 @@
|
|
|
8065
8117
|
const targetStyle = attr(target, 'style');
|
|
8066
8118
|
const targetPropsTo = css(target, ['height', 'padding']);
|
|
8067
8119
|
const [propsTo, propsFrom] = getTransitionProps(target, nodes, currentProps);
|
|
8068
|
-
const attrsTo = nodes.map((el) => ({
|
|
8069
|
-
class: attr(el, 'class'),
|
|
8070
|
-
style: attr(el, 'style') }));
|
|
8071
|
-
|
|
8120
|
+
const attrsTo = nodes.map((el) => ({ style: attr(el, 'style') }));
|
|
8072
8121
|
|
|
8073
8122
|
// Reset to previous state
|
|
8074
8123
|
nodes.forEach((el, i) => propsFrom[i] && css(el, propsFrom[i]));
|
|
@@ -8106,8 +8155,8 @@
|
|
|
8106
8155
|
pointerEvents: 'none',
|
|
8107
8156
|
position: 'absolute',
|
|
8108
8157
|
zIndex: zIndex === 'auto' ? index(el) : zIndex,
|
|
8109
|
-
...getPositionWithMargin(el)
|
|
8110
|
-
|
|
8158
|
+
...getPositionWithMargin(el)
|
|
8159
|
+
} :
|
|
8111
8160
|
false;
|
|
8112
8161
|
}
|
|
8113
8162
|
|
|
@@ -8161,8 +8210,8 @@
|
|
|
8161
8210
|
width,
|
|
8162
8211
|
transform: '',
|
|
8163
8212
|
...position(el),
|
|
8164
|
-
...css(el, ['marginTop', 'marginLeft'])
|
|
8165
|
-
|
|
8213
|
+
...css(el, ['marginTop', 'marginLeft'])
|
|
8214
|
+
};
|
|
8166
8215
|
}
|
|
8167
8216
|
|
|
8168
8217
|
function awaitFrame() {
|
|
@@ -8172,13 +8221,13 @@
|
|
|
8172
8221
|
var Animate = {
|
|
8173
8222
|
props: {
|
|
8174
8223
|
duration: Number,
|
|
8175
|
-
animation: Boolean
|
|
8176
|
-
|
|
8224
|
+
animation: Boolean
|
|
8225
|
+
},
|
|
8177
8226
|
|
|
8178
8227
|
data: {
|
|
8179
8228
|
duration: 150,
|
|
8180
|
-
animation: 'slide'
|
|
8181
|
-
|
|
8229
|
+
animation: 'slide'
|
|
8230
|
+
},
|
|
8182
8231
|
|
|
8183
8232
|
methods: {
|
|
8184
8233
|
animate(action, target) {if (target === void 0) {target = this.$el;}
|
|
@@ -8196,7 +8245,9 @@
|
|
|
8196
8245
|
};
|
|
8197
8246
|
|
|
8198
8247
|
return animationFn(action, target, this.duration).catch(noop);
|
|
8199
|
-
}
|
|
8248
|
+
}
|
|
8249
|
+
}
|
|
8250
|
+
};
|
|
8200
8251
|
|
|
8201
8252
|
var filter = {
|
|
8202
8253
|
mixins: [Animate],
|
|
@@ -8205,16 +8256,16 @@
|
|
|
8205
8256
|
|
|
8206
8257
|
props: {
|
|
8207
8258
|
target: Boolean,
|
|
8208
|
-
selActive: Boolean
|
|
8209
|
-
|
|
8259
|
+
selActive: Boolean
|
|
8260
|
+
},
|
|
8210
8261
|
|
|
8211
8262
|
data: {
|
|
8212
8263
|
target: null,
|
|
8213
8264
|
selActive: false,
|
|
8214
8265
|
attrItem: 'uk-filter-control',
|
|
8215
8266
|
cls: 'uk-active',
|
|
8216
|
-
duration: 250
|
|
8217
|
-
|
|
8267
|
+
duration: 250
|
|
8268
|
+
},
|
|
8218
8269
|
|
|
8219
8270
|
computed: {
|
|
8220
8271
|
toggles: {
|
|
@@ -8231,8 +8282,8 @@
|
|
|
8231
8282
|
}
|
|
8232
8283
|
},
|
|
8233
8284
|
|
|
8234
|
-
immediate: true
|
|
8235
|
-
|
|
8285
|
+
immediate: true
|
|
8286
|
+
},
|
|
8236
8287
|
|
|
8237
8288
|
children: {
|
|
8238
8289
|
get(_ref2, $el) {let { target } = _ref2;
|
|
@@ -8245,9 +8296,9 @@
|
|
|
8245
8296
|
}
|
|
8246
8297
|
},
|
|
8247
8298
|
|
|
8248
|
-
immediate: true
|
|
8249
|
-
|
|
8250
|
-
|
|
8299
|
+
immediate: true
|
|
8300
|
+
}
|
|
8301
|
+
},
|
|
8251
8302
|
|
|
8252
8303
|
events: [
|
|
8253
8304
|
{
|
|
@@ -8260,8 +8311,8 @@
|
|
|
8260
8311
|
handler(e) {
|
|
8261
8312
|
e.preventDefault();
|
|
8262
8313
|
this.apply(e.current);
|
|
8263
|
-
}
|
|
8264
|
-
|
|
8314
|
+
}
|
|
8315
|
+
}],
|
|
8265
8316
|
|
|
8266
8317
|
|
|
8267
8318
|
methods: {
|
|
@@ -8279,8 +8330,8 @@
|
|
|
8279
8330
|
filter((item) => hasClass(item, this.cls)).
|
|
8280
8331
|
reduce((state, el) => mergeState(el, this.attrItem, state), {
|
|
8281
8332
|
filter: { '': '' },
|
|
8282
|
-
sort: []
|
|
8283
|
-
|
|
8333
|
+
sort: []
|
|
8334
|
+
});
|
|
8284
8335
|
},
|
|
8285
8336
|
|
|
8286
8337
|
async setState(state, animate) {if (animate === void 0) {animate = true;}
|
|
@@ -8307,9 +8358,9 @@
|
|
|
8307
8358
|
|
|
8308
8359
|
updateState() {
|
|
8309
8360
|
fastdom.write(() => this.setState(this.getState(), false));
|
|
8310
|
-
}
|
|
8311
|
-
|
|
8312
|
-
|
|
8361
|
+
}
|
|
8362
|
+
}
|
|
8363
|
+
};
|
|
8313
8364
|
|
|
8314
8365
|
function getFilter(el, attr) {
|
|
8315
8366
|
return parseOptions(data(el, attr), ['filter']);
|
|
@@ -8407,9 +8458,9 @@
|
|
|
8407
8458
|
{ transform: translate(dir * -100 * percent) },
|
|
8408
8459
|
{ transform: translate(dir * 100 * (1 - percent)) }];
|
|
8409
8460
|
|
|
8410
|
-
}
|
|
8411
|
-
|
|
8412
|
-
|
|
8461
|
+
}
|
|
8462
|
+
}
|
|
8463
|
+
};
|
|
8413
8464
|
|
|
8414
8465
|
function translated(el) {
|
|
8415
8466
|
return Math.abs(css(el, 'transform').split(',')[4] / el.offsetWidth) || 0;
|
|
@@ -8437,8 +8488,8 @@
|
|
|
8437
8488
|
|
|
8438
8489
|
translate(percent) {
|
|
8439
8490
|
return [{ opacity: 1 - percent }, { opacity: percent }];
|
|
8440
|
-
}
|
|
8441
|
-
|
|
8491
|
+
}
|
|
8492
|
+
},
|
|
8442
8493
|
|
|
8443
8494
|
scale: {
|
|
8444
8495
|
show() {
|
|
@@ -8457,7 +8508,9 @@
|
|
|
8457
8508
|
{ opacity: 1 - percent, transform: scale3d(1 - 0.2 * percent) },
|
|
8458
8509
|
{ opacity: percent, transform: scale3d(1 - 0.2 + 0.2 * percent) }];
|
|
8459
8510
|
|
|
8460
|
-
}
|
|
8511
|
+
}
|
|
8512
|
+
}
|
|
8513
|
+
};
|
|
8461
8514
|
|
|
8462
8515
|
function Transitioner$1(prev, next, dir, _ref) {let { animation, easing } = _ref;
|
|
8463
8516
|
const { percent, translate, show = noop } = animation;
|
|
@@ -8518,8 +8571,8 @@
|
|
|
8518
8571
|
|
|
8519
8572
|
getDistance() {
|
|
8520
8573
|
return prev == null ? void 0 : prev.offsetWidth;
|
|
8521
|
-
}
|
|
8522
|
-
|
|
8574
|
+
}
|
|
8575
|
+
};
|
|
8523
8576
|
}
|
|
8524
8577
|
|
|
8525
8578
|
function triggerUpdate$1(el, type, data) {
|
|
@@ -8530,14 +8583,14 @@
|
|
|
8530
8583
|
props: {
|
|
8531
8584
|
autoplay: Boolean,
|
|
8532
8585
|
autoplayInterval: Number,
|
|
8533
|
-
pauseOnHover: Boolean
|
|
8534
|
-
|
|
8586
|
+
pauseOnHover: Boolean
|
|
8587
|
+
},
|
|
8535
8588
|
|
|
8536
8589
|
data: {
|
|
8537
8590
|
autoplay: false,
|
|
8538
8591
|
autoplayInterval: 7000,
|
|
8539
|
-
pauseOnHover: true
|
|
8540
|
-
|
|
8592
|
+
pauseOnHover: true
|
|
8593
|
+
},
|
|
8541
8594
|
|
|
8542
8595
|
connected() {
|
|
8543
8596
|
this.autoplay && this.startAutoplay();
|
|
@@ -8569,8 +8622,8 @@
|
|
|
8569
8622
|
} else {
|
|
8570
8623
|
this.startAutoplay();
|
|
8571
8624
|
}
|
|
8572
|
-
}
|
|
8573
|
-
|
|
8625
|
+
}
|
|
8626
|
+
}],
|
|
8574
8627
|
|
|
8575
8628
|
|
|
8576
8629
|
methods: {
|
|
@@ -8589,7 +8642,9 @@
|
|
|
8589
8642
|
|
|
8590
8643
|
stopAutoplay() {
|
|
8591
8644
|
this.interval && clearInterval(this.interval);
|
|
8592
|
-
}
|
|
8645
|
+
}
|
|
8646
|
+
}
|
|
8647
|
+
};
|
|
8593
8648
|
|
|
8594
8649
|
const pointerOptions = { passive: false, capture: true };
|
|
8595
8650
|
const pointerUpOptions = { passive: true, capture: true };
|
|
@@ -8599,13 +8654,13 @@
|
|
|
8599
8654
|
|
|
8600
8655
|
var SliderDrag = {
|
|
8601
8656
|
props: {
|
|
8602
|
-
draggable: Boolean
|
|
8603
|
-
|
|
8657
|
+
draggable: Boolean
|
|
8658
|
+
},
|
|
8604
8659
|
|
|
8605
8660
|
data: {
|
|
8606
8661
|
draggable: true,
|
|
8607
|
-
threshold: 10
|
|
8608
|
-
|
|
8662
|
+
threshold: 10
|
|
8663
|
+
},
|
|
8609
8664
|
|
|
8610
8665
|
created() {
|
|
8611
8666
|
for (const key of ['start', 'move', 'end']) {
|
|
@@ -8643,16 +8698,16 @@
|
|
|
8643
8698
|
}
|
|
8644
8699
|
|
|
8645
8700
|
this.start(e);
|
|
8646
|
-
}
|
|
8647
|
-
|
|
8701
|
+
}
|
|
8702
|
+
},
|
|
8648
8703
|
|
|
8649
8704
|
{
|
|
8650
8705
|
name: 'dragstart',
|
|
8651
8706
|
|
|
8652
8707
|
handler(e) {
|
|
8653
8708
|
e.preventDefault();
|
|
8654
|
-
}
|
|
8655
|
-
|
|
8709
|
+
}
|
|
8710
|
+
},
|
|
8656
8711
|
|
|
8657
8712
|
{
|
|
8658
8713
|
// iOS workaround for slider stopping if swiping fast
|
|
@@ -8661,8 +8716,8 @@
|
|
|
8661
8716
|
return this.list;
|
|
8662
8717
|
},
|
|
8663
8718
|
handler: noop,
|
|
8664
|
-
...pointerOptions
|
|
8665
|
-
|
|
8719
|
+
...pointerOptions
|
|
8720
|
+
}],
|
|
8666
8721
|
|
|
8667
8722
|
|
|
8668
8723
|
methods: {
|
|
@@ -8799,9 +8854,9 @@
|
|
|
8799
8854
|
css(this.list, { userSelect: '', pointerEvents: '' });
|
|
8800
8855
|
|
|
8801
8856
|
this.drag = this.percent = null;
|
|
8802
|
-
}
|
|
8803
|
-
|
|
8804
|
-
|
|
8857
|
+
}
|
|
8858
|
+
}
|
|
8859
|
+
};
|
|
8805
8860
|
|
|
8806
8861
|
function hasSelectableText(el) {
|
|
8807
8862
|
return (
|
|
@@ -8812,8 +8867,8 @@
|
|
|
8812
8867
|
|
|
8813
8868
|
var SliderNav = {
|
|
8814
8869
|
data: {
|
|
8815
|
-
selNav: false
|
|
8816
|
-
|
|
8870
|
+
selNav: false
|
|
8871
|
+
},
|
|
8817
8872
|
|
|
8818
8873
|
computed: {
|
|
8819
8874
|
nav(_ref, $el) {let { selNav } = _ref;
|
|
@@ -8826,8 +8881,8 @@
|
|
|
8826
8881
|
|
|
8827
8882
|
navItems(_, $el) {
|
|
8828
8883
|
return $$(this.selNavItem, $el);
|
|
8829
|
-
}
|
|
8830
|
-
|
|
8884
|
+
}
|
|
8885
|
+
},
|
|
8831
8886
|
|
|
8832
8887
|
update: {
|
|
8833
8888
|
write() {
|
|
@@ -8845,8 +8900,8 @@
|
|
|
8845
8900
|
this.updateNav();
|
|
8846
8901
|
},
|
|
8847
8902
|
|
|
8848
|
-
events: ['resize']
|
|
8849
|
-
|
|
8903
|
+
events: ['resize']
|
|
8904
|
+
},
|
|
8850
8905
|
|
|
8851
8906
|
events: [
|
|
8852
8907
|
{
|
|
@@ -8859,13 +8914,13 @@
|
|
|
8859
8914
|
handler(e) {
|
|
8860
8915
|
e.preventDefault();
|
|
8861
8916
|
this.show(data(e.current, this.attrItem));
|
|
8862
|
-
}
|
|
8863
|
-
|
|
8917
|
+
}
|
|
8918
|
+
},
|
|
8864
8919
|
|
|
8865
8920
|
{
|
|
8866
8921
|
name: 'itemshow',
|
|
8867
|
-
handler: 'updateNav'
|
|
8868
|
-
|
|
8922
|
+
handler: 'updateNav'
|
|
8923
|
+
}],
|
|
8869
8924
|
|
|
8870
8925
|
|
|
8871
8926
|
methods: {
|
|
@@ -8882,7 +8937,9 @@
|
|
|
8882
8937
|
cmd === 'previous' && i === 0 || cmd === 'next' && i >= this.maxIndex));
|
|
8883
8938
|
|
|
8884
8939
|
}
|
|
8885
|
-
}
|
|
8940
|
+
}
|
|
8941
|
+
}
|
|
8942
|
+
};
|
|
8886
8943
|
|
|
8887
8944
|
var Slider = {
|
|
8888
8945
|
mixins: [SliderAutoplay, SliderDrag, SliderNav, Resize],
|
|
@@ -8893,8 +8950,8 @@
|
|
|
8893
8950
|
index: Number,
|
|
8894
8951
|
finite: Boolean,
|
|
8895
8952
|
velocity: Number,
|
|
8896
|
-
selSlides: String
|
|
8897
|
-
|
|
8953
|
+
selSlides: String
|
|
8954
|
+
},
|
|
8898
8955
|
|
|
8899
8956
|
data: () => ({
|
|
8900
8957
|
easing: 'ease',
|
|
@@ -8907,8 +8964,8 @@
|
|
|
8907
8964
|
clsActive: 'uk-active',
|
|
8908
8965
|
clsActivated: false,
|
|
8909
8966
|
Transitioner: false,
|
|
8910
|
-
transitionOptions: {}
|
|
8911
|
-
|
|
8967
|
+
transitionOptions: {}
|
|
8968
|
+
}),
|
|
8912
8969
|
|
|
8913
8970
|
connected() {
|
|
8914
8971
|
this.prevIndex = -1;
|
|
@@ -8944,13 +9001,13 @@
|
|
|
8944
9001
|
|
|
8945
9002
|
watch() {
|
|
8946
9003
|
this.$emit('resize');
|
|
8947
|
-
}
|
|
8948
|
-
|
|
9004
|
+
}
|
|
9005
|
+
},
|
|
8949
9006
|
|
|
8950
9007
|
length() {
|
|
8951
9008
|
return this.slides.length;
|
|
8952
|
-
}
|
|
8953
|
-
|
|
9009
|
+
}
|
|
9010
|
+
},
|
|
8954
9011
|
|
|
8955
9012
|
methods: {
|
|
8956
9013
|
show(index, force) {if (force === void 0) {force = false;}
|
|
@@ -9039,8 +9096,8 @@
|
|
|
9039
9096
|
'cubic-bezier(0.25, 0.46, 0.45, 0.94)' /* easeOutQuad */ :
|
|
9040
9097
|
'cubic-bezier(0.165, 0.84, 0.44, 1)' /* easeOutQuart */ :
|
|
9041
9098
|
this.easing,
|
|
9042
|
-
...this.transitionOptions
|
|
9043
|
-
|
|
9099
|
+
...this.transitionOptions
|
|
9100
|
+
});
|
|
9044
9101
|
|
|
9045
9102
|
if (!force && !prev) {
|
|
9046
9103
|
this._translate(1);
|
|
@@ -9076,9 +9133,9 @@
|
|
|
9076
9133
|
dir * (isRtl ? -1 : 1),
|
|
9077
9134
|
options);
|
|
9078
9135
|
|
|
9079
|
-
}
|
|
9080
|
-
|
|
9081
|
-
|
|
9136
|
+
}
|
|
9137
|
+
}
|
|
9138
|
+
};
|
|
9082
9139
|
|
|
9083
9140
|
function getDirection(index, prevIndex) {
|
|
9084
9141
|
return index === 'next' ? 1 : index === 'previous' ? -1 : index < prevIndex ? -1 : 1;
|
|
@@ -9092,15 +9149,15 @@
|
|
|
9092
9149
|
mixins: [Slider],
|
|
9093
9150
|
|
|
9094
9151
|
props: {
|
|
9095
|
-
animation: String
|
|
9096
|
-
|
|
9152
|
+
animation: String
|
|
9153
|
+
},
|
|
9097
9154
|
|
|
9098
9155
|
data: {
|
|
9099
9156
|
animation: 'slide',
|
|
9100
9157
|
clsActivated: 'uk-transition-active',
|
|
9101
9158
|
Animations: Animations$2,
|
|
9102
|
-
Transitioner: Transitioner$1
|
|
9103
|
-
|
|
9159
|
+
Transitioner: Transitioner$1
|
|
9160
|
+
},
|
|
9104
9161
|
|
|
9105
9162
|
computed: {
|
|
9106
9163
|
animation(_ref) {let { animation, Animations } = _ref;
|
|
@@ -9109,8 +9166,8 @@
|
|
|
9109
9166
|
|
|
9110
9167
|
transitionOptions() {
|
|
9111
9168
|
return { animation: this.animation };
|
|
9112
|
-
}
|
|
9113
|
-
|
|
9169
|
+
}
|
|
9170
|
+
},
|
|
9114
9171
|
|
|
9115
9172
|
events: {
|
|
9116
9173
|
beforeitemshow(_ref2) {let { target } = _ref2;
|
|
@@ -9123,7 +9180,9 @@
|
|
|
9123
9180
|
|
|
9124
9181
|
itemhidden(_ref4) {let { target } = _ref4;
|
|
9125
9182
|
removeClass(target, this.clsActive, this.clsActivated);
|
|
9126
|
-
}
|
|
9183
|
+
}
|
|
9184
|
+
}
|
|
9185
|
+
};
|
|
9127
9186
|
|
|
9128
9187
|
var LightboxPanel = {
|
|
9129
9188
|
mixins: [Container, Modal, Togglable, Slideshow],
|
|
@@ -9134,8 +9193,8 @@
|
|
|
9134
9193
|
delayControls: Number,
|
|
9135
9194
|
preload: Number,
|
|
9136
9195
|
videoAutoplay: Boolean,
|
|
9137
|
-
template: String
|
|
9138
|
-
|
|
9196
|
+
template: String
|
|
9197
|
+
},
|
|
9139
9198
|
|
|
9140
9199
|
data: () => ({
|
|
9141
9200
|
preload: 1,
|
|
@@ -9151,8 +9210,7 @@
|
|
|
9151
9210
|
pauseOnHover: false,
|
|
9152
9211
|
velocity: 2,
|
|
9153
9212
|
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
|
-
|
|
9213
|
+
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
9214
|
|
|
9157
9215
|
|
|
9158
9216
|
|
|
@@ -9161,6 +9219,7 @@
|
|
|
9161
9219
|
|
|
9162
9220
|
|
|
9163
9221
|
|
|
9222
|
+
}),
|
|
9164
9223
|
|
|
9165
9224
|
created() {
|
|
9166
9225
|
const $el = $(this.template);
|
|
@@ -9173,15 +9232,15 @@
|
|
|
9173
9232
|
computed: {
|
|
9174
9233
|
caption(_ref, $el) {let { selCaption } = _ref;
|
|
9175
9234
|
return $(selCaption, $el);
|
|
9176
|
-
}
|
|
9177
|
-
|
|
9235
|
+
}
|
|
9236
|
+
},
|
|
9178
9237
|
|
|
9179
9238
|
events: [
|
|
9180
9239
|
{
|
|
9181
9240
|
name: pointerMove$1 + " " + pointerDown$1 + " keydown",
|
|
9182
9241
|
|
|
9183
|
-
handler: 'showControls'
|
|
9184
|
-
|
|
9242
|
+
handler: 'showControls'
|
|
9243
|
+
},
|
|
9185
9244
|
|
|
9186
9245
|
{
|
|
9187
9246
|
name: 'click',
|
|
@@ -9198,8 +9257,8 @@
|
|
|
9198
9257
|
}
|
|
9199
9258
|
|
|
9200
9259
|
this.hide();
|
|
9201
|
-
}
|
|
9202
|
-
|
|
9260
|
+
}
|
|
9261
|
+
},
|
|
9203
9262
|
|
|
9204
9263
|
{
|
|
9205
9264
|
name: 'shown',
|
|
@@ -9208,8 +9267,8 @@
|
|
|
9208
9267
|
|
|
9209
9268
|
handler() {
|
|
9210
9269
|
this.showControls();
|
|
9211
|
-
}
|
|
9212
|
-
|
|
9270
|
+
}
|
|
9271
|
+
},
|
|
9213
9272
|
|
|
9214
9273
|
{
|
|
9215
9274
|
name: 'hide',
|
|
@@ -9221,8 +9280,8 @@
|
|
|
9221
9280
|
|
|
9222
9281
|
removeClass(this.slides, this.clsActive);
|
|
9223
9282
|
Transition.stop(this.slides);
|
|
9224
|
-
}
|
|
9225
|
-
|
|
9283
|
+
}
|
|
9284
|
+
},
|
|
9226
9285
|
|
|
9227
9286
|
{
|
|
9228
9287
|
name: 'hidden',
|
|
@@ -9231,8 +9290,8 @@
|
|
|
9231
9290
|
|
|
9232
9291
|
handler() {
|
|
9233
9292
|
this.$destroy(true);
|
|
9234
|
-
}
|
|
9235
|
-
|
|
9293
|
+
}
|
|
9294
|
+
},
|
|
9236
9295
|
|
|
9237
9296
|
{
|
|
9238
9297
|
name: 'keyup',
|
|
@@ -9254,8 +9313,8 @@
|
|
|
9254
9313
|
this.show('next');
|
|
9255
9314
|
break;}
|
|
9256
9315
|
|
|
9257
|
-
}
|
|
9258
|
-
|
|
9316
|
+
}
|
|
9317
|
+
},
|
|
9259
9318
|
|
|
9260
9319
|
{
|
|
9261
9320
|
name: 'beforeitemshow',
|
|
@@ -9274,8 +9333,8 @@
|
|
|
9274
9333
|
this.animation = Animations$1['scale'];
|
|
9275
9334
|
removeClass(e.target, this.clsActive);
|
|
9276
9335
|
this.stack.splice(1, 0, this.index);
|
|
9277
|
-
}
|
|
9278
|
-
|
|
9336
|
+
}
|
|
9337
|
+
},
|
|
9279
9338
|
|
|
9280
9339
|
{
|
|
9281
9340
|
name: 'itemshow',
|
|
@@ -9286,16 +9345,16 @@
|
|
|
9286
9345
|
for (let j = -this.preload; j <= this.preload; j++) {
|
|
9287
9346
|
this.loadItem(this.index + j);
|
|
9288
9347
|
}
|
|
9289
|
-
}
|
|
9290
|
-
|
|
9348
|
+
}
|
|
9349
|
+
},
|
|
9291
9350
|
|
|
9292
9351
|
{
|
|
9293
9352
|
name: 'itemshown',
|
|
9294
9353
|
|
|
9295
9354
|
handler() {
|
|
9296
9355
|
this.draggable = this.$props.draggable;
|
|
9297
|
-
}
|
|
9298
|
-
|
|
9356
|
+
}
|
|
9357
|
+
},
|
|
9299
9358
|
|
|
9300
9359
|
{
|
|
9301
9360
|
name: 'itemload',
|
|
@@ -9314,8 +9373,8 @@
|
|
|
9314
9373
|
allowfullscreen: '',
|
|
9315
9374
|
style: 'max-width: 100%; box-sizing: border-box;',
|
|
9316
9375
|
'uk-responsive': '',
|
|
9317
|
-
'uk-video': "" + this.videoAutoplay
|
|
9318
|
-
|
|
9376
|
+
'uk-video': "" + this.videoAutoplay
|
|
9377
|
+
};
|
|
9319
9378
|
|
|
9320
9379
|
// Image
|
|
9321
9380
|
if (
|
|
@@ -9336,12 +9395,15 @@
|
|
|
9336
9395
|
poster,
|
|
9337
9396
|
controls: '',
|
|
9338
9397
|
playsinline: '',
|
|
9339
|
-
'uk-video': "" + this.videoAutoplay
|
|
9340
|
-
|
|
9341
|
-
|
|
9398
|
+
'uk-video': "" + this.videoAutoplay
|
|
9399
|
+
});
|
|
9342
9400
|
|
|
9343
9401
|
on(video, 'loadedmetadata', () => {
|
|
9344
|
-
attr(video, {
|
|
9402
|
+
attr(video, {
|
|
9403
|
+
width: video.videoWidth,
|
|
9404
|
+
height: video.videoHeight,
|
|
9405
|
+
...attrs
|
|
9406
|
+
});
|
|
9345
9407
|
this.setItem(item, video);
|
|
9346
9408
|
});
|
|
9347
9409
|
on(video, 'error', () => this.setError(item));
|
|
@@ -9354,8 +9416,8 @@
|
|
|
9354
9416
|
src,
|
|
9355
9417
|
allowfullscreen: '',
|
|
9356
9418
|
class: 'uk-lightbox-iframe',
|
|
9357
|
-
...attrs
|
|
9358
|
-
|
|
9419
|
+
...attrs
|
|
9420
|
+
}));
|
|
9359
9421
|
|
|
9360
9422
|
|
|
9361
9423
|
// YouTube
|
|
@@ -9373,8 +9435,8 @@
|
|
|
9373
9435
|
width: 1920,
|
|
9374
9436
|
height: 1080,
|
|
9375
9437
|
...iframeAttrs,
|
|
9376
|
-
...attrs
|
|
9377
|
-
|
|
9438
|
+
...attrs
|
|
9439
|
+
}));
|
|
9378
9440
|
|
|
9379
9441
|
|
|
9380
9442
|
// Vimeo
|
|
@@ -9386,8 +9448,8 @@
|
|
|
9386
9448
|
src),
|
|
9387
9449
|
|
|
9388
9450
|
{
|
|
9389
|
-
credentials: 'omit'
|
|
9390
|
-
|
|
9451
|
+
credentials: 'omit'
|
|
9452
|
+
})).
|
|
9391
9453
|
|
|
9392
9454
|
json();
|
|
9393
9455
|
|
|
@@ -9400,15 +9462,15 @@
|
|
|
9400
9462
|
width,
|
|
9401
9463
|
height,
|
|
9402
9464
|
...iframeAttrs,
|
|
9403
|
-
...attrs
|
|
9404
|
-
|
|
9465
|
+
...attrs
|
|
9466
|
+
}));
|
|
9405
9467
|
|
|
9406
9468
|
} catch (e) {
|
|
9407
9469
|
this.setError(item);
|
|
9408
9470
|
}
|
|
9409
9471
|
}
|
|
9410
|
-
}
|
|
9411
|
-
|
|
9472
|
+
}
|
|
9473
|
+
}],
|
|
9412
9474
|
|
|
9413
9475
|
|
|
9414
9476
|
methods: {
|
|
@@ -9445,9 +9507,9 @@
|
|
|
9445
9507
|
|
|
9446
9508
|
hideControls() {
|
|
9447
9509
|
removeClass(this.$el, 'uk-active', 'uk-transition-active');
|
|
9448
|
-
}
|
|
9449
|
-
|
|
9450
|
-
|
|
9510
|
+
}
|
|
9511
|
+
}
|
|
9512
|
+
};
|
|
9451
9513
|
|
|
9452
9514
|
function createEl(tag, attrs) {
|
|
9453
9515
|
const el = fragment("<" + tag + ">");
|
|
@@ -9470,9 +9532,9 @@
|
|
|
9470
9532
|
|
|
9471
9533
|
watch() {
|
|
9472
9534
|
this.hide();
|
|
9473
|
-
}
|
|
9474
|
-
|
|
9475
|
-
|
|
9535
|
+
}
|
|
9536
|
+
}
|
|
9537
|
+
},
|
|
9476
9538
|
|
|
9477
9539
|
disconnected() {
|
|
9478
9540
|
this.hide();
|
|
@@ -9489,8 +9551,8 @@
|
|
|
9489
9551
|
handler(e) {
|
|
9490
9552
|
e.preventDefault();
|
|
9491
9553
|
this.show(e.current);
|
|
9492
|
-
}
|
|
9493
|
-
|
|
9554
|
+
}
|
|
9555
|
+
}],
|
|
9494
9556
|
|
|
9495
9557
|
|
|
9496
9558
|
methods: {
|
|
@@ -9511,9 +9573,9 @@
|
|
|
9511
9573
|
|
|
9512
9574
|
hide() {var _this$panel;
|
|
9513
9575
|
return (_this$panel = this.panel) == null ? void 0 : _this$panel.hide();
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9576
|
+
}
|
|
9577
|
+
}
|
|
9578
|
+
};
|
|
9517
9579
|
|
|
9518
9580
|
function install$1(UIkit, Lightbox) {
|
|
9519
9581
|
if (!UIkit.lightboxPanel) {
|
|
@@ -9550,8 +9612,8 @@
|
|
|
9550
9612
|
pos: 'top-center',
|
|
9551
9613
|
clsContainer: 'uk-notification',
|
|
9552
9614
|
clsClose: 'uk-notification-close',
|
|
9553
|
-
clsMsg: 'uk-notification-message'
|
|
9554
|
-
|
|
9615
|
+
clsMsg: 'uk-notification-message'
|
|
9616
|
+
},
|
|
9555
9617
|
|
|
9556
9618
|
install,
|
|
9557
9619
|
|
|
@@ -9562,8 +9624,8 @@
|
|
|
9562
9624
|
|
|
9563
9625
|
startProps() {
|
|
9564
9626
|
return { opacity: 0, [this.marginProp]: -this.$el.offsetHeight };
|
|
9565
|
-
}
|
|
9566
|
-
|
|
9627
|
+
}
|
|
9628
|
+
},
|
|
9567
9629
|
|
|
9568
9630
|
created() {
|
|
9569
9631
|
const container =
|
|
@@ -9590,8 +9652,8 @@
|
|
|
9590
9652
|
const margin = toFloat(css(this.$el, this.marginProp));
|
|
9591
9653
|
await Transition.start(css(this.$el, this.startProps), {
|
|
9592
9654
|
opacity: 1,
|
|
9593
|
-
[this.marginProp]: margin
|
|
9594
|
-
|
|
9655
|
+
[this.marginProp]: margin
|
|
9656
|
+
});
|
|
9595
9657
|
|
|
9596
9658
|
if (this.timeout) {
|
|
9597
9659
|
this.timer = setTimeout(this.close, this.timeout);
|
|
@@ -9616,8 +9678,8 @@
|
|
|
9616
9678
|
if (this.timeout) {
|
|
9617
9679
|
this.timer = setTimeout(this.close, this.timeout);
|
|
9618
9680
|
}
|
|
9619
|
-
}
|
|
9620
|
-
|
|
9681
|
+
}
|
|
9682
|
+
},
|
|
9621
9683
|
|
|
9622
9684
|
methods: {
|
|
9623
9685
|
async close(immediate) {
|
|
@@ -9641,9 +9703,9 @@
|
|
|
9641
9703
|
}
|
|
9642
9704
|
|
|
9643
9705
|
removeFn(this.$el);
|
|
9644
|
-
}
|
|
9645
|
-
|
|
9646
|
-
|
|
9706
|
+
}
|
|
9707
|
+
}
|
|
9708
|
+
};
|
|
9647
9709
|
|
|
9648
9710
|
function install(UIkit) {
|
|
9649
9711
|
UIkit.notification.closeAll = function (group, immediate) {
|
|
@@ -9674,8 +9736,8 @@
|
|
|
9674
9736
|
opacity: cssPropFn,
|
|
9675
9737
|
stroke: strokeFn,
|
|
9676
9738
|
bgx: backgroundFn,
|
|
9677
|
-
bgy: backgroundFn
|
|
9678
|
-
|
|
9739
|
+
bgy: backgroundFn
|
|
9740
|
+
};
|
|
9679
9741
|
|
|
9680
9742
|
const { keys } = Object;
|
|
9681
9743
|
|
|
@@ -9699,14 +9761,14 @@
|
|
|
9699
9761
|
result[prop] = props[prop](prop, $el, stops[prop], stops);
|
|
9700
9762
|
}
|
|
9701
9763
|
return result;
|
|
9702
|
-
}
|
|
9703
|
-
|
|
9764
|
+
}
|
|
9765
|
+
},
|
|
9704
9766
|
|
|
9705
9767
|
events: {
|
|
9706
9768
|
load() {
|
|
9707
9769
|
this.$emit();
|
|
9708
|
-
}
|
|
9709
|
-
|
|
9770
|
+
}
|
|
9771
|
+
},
|
|
9710
9772
|
|
|
9711
9773
|
methods: {
|
|
9712
9774
|
reset() {
|
|
@@ -9721,9 +9783,9 @@
|
|
|
9721
9783
|
this.props[prop](css, percent);
|
|
9722
9784
|
}
|
|
9723
9785
|
return css;
|
|
9724
|
-
}
|
|
9725
|
-
|
|
9726
|
-
|
|
9786
|
+
}
|
|
9787
|
+
}
|
|
9788
|
+
};
|
|
9727
9789
|
|
|
9728
9790
|
function transformFn(prop, el, stops) {
|
|
9729
9791
|
let unit = getUnit(stops) || { x: 'px', y: 'px', rotate: 'deg' }[prop] || '';
|
|
@@ -9861,8 +9923,8 @@
|
|
|
9861
9923
|
|
|
9862
9924
|
const dimEl = {
|
|
9863
9925
|
width: el.offsetWidth,
|
|
9864
|
-
height: el.offsetHeight
|
|
9865
|
-
|
|
9926
|
+
height: el.offsetHeight
|
|
9927
|
+
};
|
|
9866
9928
|
|
|
9867
9929
|
const bgProps = ['bgx', 'bgy'].filter((prop) => prop in props);
|
|
9868
9930
|
|
|
@@ -9934,8 +9996,8 @@
|
|
|
9934
9996
|
function toDimensions(image) {
|
|
9935
9997
|
return {
|
|
9936
9998
|
width: image.naturalWidth,
|
|
9937
|
-
height: image.naturalHeight
|
|
9938
|
-
|
|
9999
|
+
height: image.naturalHeight
|
|
10000
|
+
};
|
|
9939
10001
|
}
|
|
9940
10002
|
|
|
9941
10003
|
function parseStops(stops, fn) {if (fn === void 0) {fn = toFloat;}
|
|
@@ -10027,16 +10089,16 @@
|
|
|
10027
10089
|
viewport: Number, // Deprecated
|
|
10028
10090
|
easing: Number,
|
|
10029
10091
|
start: String,
|
|
10030
|
-
end: String
|
|
10031
|
-
|
|
10092
|
+
end: String
|
|
10093
|
+
},
|
|
10032
10094
|
|
|
10033
10095
|
data: {
|
|
10034
10096
|
target: false,
|
|
10035
10097
|
viewport: 1,
|
|
10036
10098
|
easing: 1,
|
|
10037
10099
|
start: 0,
|
|
10038
|
-
end: 0
|
|
10039
|
-
|
|
10100
|
+
end: 0
|
|
10101
|
+
},
|
|
10040
10102
|
|
|
10041
10103
|
computed: {
|
|
10042
10104
|
target(_ref, $el) {let { target } = _ref;
|
|
@@ -10054,8 +10116,8 @@
|
|
|
10054
10116
|
this.target,
|
|
10055
10117
|
true);
|
|
10056
10118
|
|
|
10057
|
-
}
|
|
10058
|
-
|
|
10119
|
+
}
|
|
10120
|
+
},
|
|
10059
10121
|
|
|
10060
10122
|
update: {
|
|
10061
10123
|
read(_ref4, types) {let { percent } = _ref4;
|
|
@@ -10072,8 +10134,8 @@
|
|
|
10072
10134
|
|
|
10073
10135
|
return {
|
|
10074
10136
|
percent,
|
|
10075
|
-
style: prev === percent ? false : this.getCss(percent)
|
|
10076
|
-
|
|
10137
|
+
style: prev === percent ? false : this.getCss(percent)
|
|
10138
|
+
};
|
|
10077
10139
|
},
|
|
10078
10140
|
|
|
10079
10141
|
write(_ref5) {let { style } = _ref5;
|
|
@@ -10085,9 +10147,9 @@
|
|
|
10085
10147
|
style && css(this.$el, style);
|
|
10086
10148
|
},
|
|
10087
10149
|
|
|
10088
|
-
events: ['scroll', 'resize']
|
|
10089
|
-
|
|
10090
|
-
|
|
10150
|
+
events: ['scroll', 'resize']
|
|
10151
|
+
}
|
|
10152
|
+
};
|
|
10091
10153
|
|
|
10092
10154
|
/*
|
|
10093
10155
|
* Inspired by https://gist.github.com/gre/1650294?permalink_comment_id=3477425#gistcomment-3477425
|
|
@@ -10129,14 +10191,17 @@
|
|
|
10129
10191
|
}
|
|
10130
10192
|
},
|
|
10131
10193
|
|
|
10132
|
-
events: ['resize']
|
|
10194
|
+
events: ['resize']
|
|
10195
|
+
}
|
|
10196
|
+
};
|
|
10133
10197
|
|
|
10134
10198
|
var SliderPreload = {
|
|
10135
10199
|
mixins: [Lazyload],
|
|
10136
10200
|
|
|
10137
10201
|
connected() {
|
|
10138
10202
|
this.lazyload(this.slides, this.getAdjacentSlides);
|
|
10139
|
-
}
|
|
10203
|
+
}
|
|
10204
|
+
};
|
|
10140
10205
|
|
|
10141
10206
|
function Transitioner (prev, next, dir, _ref) {let { center, easing, list } = _ref;
|
|
10142
10207
|
const deferred = new Deferred();
|
|
@@ -10164,8 +10229,8 @@
|
|
|
10164
10229
|
percent: 1 - percent,
|
|
10165
10230
|
duration,
|
|
10166
10231
|
timing,
|
|
10167
|
-
dir
|
|
10168
|
-
|
|
10232
|
+
dir
|
|
10233
|
+
});
|
|
10169
10234
|
|
|
10170
10235
|
Transition.start(
|
|
10171
10236
|
list,
|
|
@@ -10225,8 +10290,8 @@
|
|
|
10225
10290
|
|
|
10226
10291
|
triggerUpdate(slide, "itemtranslate" + (translateIn ? 'in' : 'out'), {
|
|
10227
10292
|
dir,
|
|
10228
|
-
percent: isOut ? 1 - percent : isIn ? percent : isActive ? 1 : 0
|
|
10229
|
-
|
|
10293
|
+
percent: isOut ? 1 - percent : isIn ? percent : isActive ? 1 : 0
|
|
10294
|
+
});
|
|
10230
10295
|
}
|
|
10231
10296
|
},
|
|
10232
10297
|
|
|
@@ -10255,8 +10320,8 @@
|
|
|
10255
10320
|
|
|
10256
10321
|
getActives() {
|
|
10257
10322
|
return inView(list, getLeft(prev || next, list, center));
|
|
10258
|
-
}
|
|
10259
|
-
|
|
10323
|
+
}
|
|
10324
|
+
};
|
|
10260
10325
|
}
|
|
10261
10326
|
|
|
10262
10327
|
function getLeft(el, list, center) {
|
|
@@ -10308,8 +10373,8 @@
|
|
|
10308
10373
|
|
|
10309
10374
|
props: {
|
|
10310
10375
|
center: Boolean,
|
|
10311
|
-
sets: Boolean
|
|
10312
|
-
|
|
10376
|
+
sets: Boolean
|
|
10377
|
+
},
|
|
10313
10378
|
|
|
10314
10379
|
data: {
|
|
10315
10380
|
center: false,
|
|
@@ -10318,8 +10383,8 @@
|
|
|
10318
10383
|
selList: '.uk-slider-items',
|
|
10319
10384
|
selNav: '.uk-slider-nav',
|
|
10320
10385
|
clsContainer: 'uk-slider-container',
|
|
10321
|
-
Transitioner
|
|
10322
|
-
|
|
10386
|
+
Transitioner
|
|
10387
|
+
},
|
|
10323
10388
|
|
|
10324
10389
|
computed: {
|
|
10325
10390
|
avgWidth() {
|
|
@@ -10394,10 +10459,10 @@
|
|
|
10394
10459
|
transitionOptions() {
|
|
10395
10460
|
return {
|
|
10396
10461
|
center: this.center,
|
|
10397
|
-
list: this.list
|
|
10398
|
-
|
|
10399
|
-
}
|
|
10400
|
-
|
|
10462
|
+
list: this.list
|
|
10463
|
+
};
|
|
10464
|
+
}
|
|
10465
|
+
},
|
|
10401
10466
|
|
|
10402
10467
|
connected() {
|
|
10403
10468
|
toggleClass(this.$el, this.clsContainer, !$("." + this.clsContainer, this.$el));
|
|
@@ -10423,8 +10488,8 @@
|
|
|
10423
10488
|
this.updateActiveClasses();
|
|
10424
10489
|
},
|
|
10425
10490
|
|
|
10426
|
-
events: ['resize']
|
|
10427
|
-
|
|
10491
|
+
events: ['resize']
|
|
10492
|
+
},
|
|
10428
10493
|
|
|
10429
10494
|
events: {
|
|
10430
10495
|
beforeitemshow(e) {
|
|
@@ -10472,8 +10537,8 @@
|
|
|
10472
10537
|
|
|
10473
10538
|
itemshown() {
|
|
10474
10539
|
this.updateActiveClasses();
|
|
10475
|
-
}
|
|
10476
|
-
|
|
10540
|
+
}
|
|
10541
|
+
},
|
|
10477
10542
|
|
|
10478
10543
|
methods: {
|
|
10479
10544
|
reorder() {
|
|
@@ -10559,9 +10624,9 @@
|
|
|
10559
10624
|
} while (this.slides.length > j && currentLeft > left && currentLeft < right);
|
|
10560
10625
|
}
|
|
10561
10626
|
return Array.from(slides);
|
|
10562
|
-
}
|
|
10563
|
-
|
|
10564
|
-
|
|
10627
|
+
}
|
|
10628
|
+
}
|
|
10629
|
+
};
|
|
10565
10630
|
|
|
10566
10631
|
function getMaxElWidth(list) {
|
|
10567
10632
|
return Math.max(0, ...children(list).map((el) => dimensions$1(el).width));
|
|
@@ -10571,8 +10636,8 @@
|
|
|
10571
10636
|
mixins: [Parallax],
|
|
10572
10637
|
|
|
10573
10638
|
data: {
|
|
10574
|
-
selItem: '!li'
|
|
10575
|
-
|
|
10639
|
+
selItem: '!li'
|
|
10640
|
+
},
|
|
10576
10641
|
|
|
10577
10642
|
beforeConnect() {
|
|
10578
10643
|
this.item = query(this.selItem, this.$el);
|
|
@@ -10594,6 +10659,10 @@
|
|
|
10594
10659
|
|
|
10595
10660
|
handler(_ref) {let { type, detail: { percent, duration, timing, dir } } = _ref;
|
|
10596
10661
|
fastdom.read(() => {
|
|
10662
|
+
if (!this.matchMedia) {
|
|
10663
|
+
return;
|
|
10664
|
+
}
|
|
10665
|
+
|
|
10597
10666
|
const propsFrom = this.getCss(getCurrentPercent(type, dir, percent));
|
|
10598
10667
|
const propsTo = this.getCss(isIn(type) ? 0.5 : dir > 0 ? 1 : 0);
|
|
10599
10668
|
fastdom.write(() => {
|
|
@@ -10601,8 +10670,8 @@
|
|
|
10601
10670
|
Transition.start(this.$el, propsTo, duration, timing).catch(noop);
|
|
10602
10671
|
});
|
|
10603
10672
|
});
|
|
10604
|
-
}
|
|
10605
|
-
|
|
10673
|
+
}
|
|
10674
|
+
},
|
|
10606
10675
|
|
|
10607
10676
|
{
|
|
10608
10677
|
name: 'transitioncanceled transitionend',
|
|
@@ -10615,8 +10684,8 @@
|
|
|
10615
10684
|
|
|
10616
10685
|
handler() {
|
|
10617
10686
|
Transition.cancel(this.$el);
|
|
10618
|
-
}
|
|
10619
|
-
|
|
10687
|
+
}
|
|
10688
|
+
},
|
|
10620
10689
|
|
|
10621
10690
|
{
|
|
10622
10691
|
name: 'itemtranslatein itemtranslateout',
|
|
@@ -10629,13 +10698,18 @@
|
|
|
10629
10698
|
|
|
10630
10699
|
handler(_ref2) {let { type, detail: { percent, dir } } = _ref2;
|
|
10631
10700
|
fastdom.read(() => {
|
|
10701
|
+
if (!this.matchMedia) {
|
|
10702
|
+
this.reset();
|
|
10703
|
+
return;
|
|
10704
|
+
}
|
|
10705
|
+
|
|
10632
10706
|
const props = this.getCss(getCurrentPercent(type, dir, percent));
|
|
10633
10707
|
fastdom.write(() => css(this.$el, props));
|
|
10634
10708
|
});
|
|
10635
|
-
}
|
|
10636
|
-
|
|
10637
|
-
|
|
10709
|
+
}
|
|
10710
|
+
}]
|
|
10638
10711
|
|
|
10712
|
+
};
|
|
10639
10713
|
|
|
10640
10714
|
function isIn(type) {
|
|
10641
10715
|
return endsWith(type, 'in');
|
|
@@ -10660,8 +10734,8 @@
|
|
|
10660
10734
|
|
|
10661
10735
|
translate(percent) {
|
|
10662
10736
|
return [{ opacity: 1 - percent, zIndex: 0 }, { zIndex: -1 }];
|
|
10663
|
-
}
|
|
10664
|
-
|
|
10737
|
+
}
|
|
10738
|
+
},
|
|
10665
10739
|
|
|
10666
10740
|
scale: {
|
|
10667
10741
|
show() {
|
|
@@ -10677,8 +10751,8 @@
|
|
|
10677
10751
|
{ opacity: 1 - percent, transform: scale3d(1 + 0.5 * percent), zIndex: 0 },
|
|
10678
10752
|
{ zIndex: -1 }];
|
|
10679
10753
|
|
|
10680
|
-
}
|
|
10681
|
-
|
|
10754
|
+
}
|
|
10755
|
+
},
|
|
10682
10756
|
|
|
10683
10757
|
pull: {
|
|
10684
10758
|
show(dir) {
|
|
@@ -10707,8 +10781,8 @@
|
|
|
10707
10781
|
{ transform: translate(-percent * 100), zIndex: 0 },
|
|
10708
10782
|
{ transform: translate(30 * (1 - percent)), zIndex: -1 }];
|
|
10709
10783
|
|
|
10710
|
-
}
|
|
10711
|
-
|
|
10784
|
+
}
|
|
10785
|
+
},
|
|
10712
10786
|
|
|
10713
10787
|
push: {
|
|
10714
10788
|
show(dir) {
|
|
@@ -10737,7 +10811,9 @@
|
|
|
10737
10811
|
{ transform: translate(-30 * percent), zIndex: -1 },
|
|
10738
10812
|
{ transform: translate(100 * (1 - percent)), zIndex: 0 }];
|
|
10739
10813
|
|
|
10740
|
-
}
|
|
10814
|
+
}
|
|
10815
|
+
}
|
|
10816
|
+
};
|
|
10741
10817
|
|
|
10742
10818
|
var slideshow = {
|
|
10743
10819
|
mixins: [Class, Slideshow, SliderReactive, SliderPreload],
|
|
@@ -10745,8 +10821,8 @@
|
|
|
10745
10821
|
props: {
|
|
10746
10822
|
ratio: String,
|
|
10747
10823
|
minHeight: Number,
|
|
10748
|
-
maxHeight: Number
|
|
10749
|
-
|
|
10824
|
+
maxHeight: Number
|
|
10825
|
+
},
|
|
10750
10826
|
|
|
10751
10827
|
data: {
|
|
10752
10828
|
ratio: '16:9',
|
|
@@ -10755,8 +10831,8 @@
|
|
|
10755
10831
|
selList: '.uk-slideshow-items',
|
|
10756
10832
|
attrItem: 'uk-slideshow-item',
|
|
10757
10833
|
selNav: '.uk-slideshow-nav',
|
|
10758
|
-
Animations
|
|
10759
|
-
|
|
10834
|
+
Animations
|
|
10835
|
+
},
|
|
10760
10836
|
|
|
10761
10837
|
update: {
|
|
10762
10838
|
read() {
|
|
@@ -10783,13 +10859,15 @@
|
|
|
10783
10859
|
height > 0 && css(this.list, 'minHeight', height);
|
|
10784
10860
|
},
|
|
10785
10861
|
|
|
10786
|
-
events: ['resize']
|
|
10787
|
-
|
|
10862
|
+
events: ['resize']
|
|
10863
|
+
},
|
|
10788
10864
|
|
|
10789
10865
|
methods: {
|
|
10790
10866
|
getAdjacentSlides() {
|
|
10791
10867
|
return [1, -1].map((i) => this.slides[this.getIndex(this.index + i)]);
|
|
10792
|
-
}
|
|
10868
|
+
}
|
|
10869
|
+
}
|
|
10870
|
+
};
|
|
10793
10871
|
|
|
10794
10872
|
var sortable = {
|
|
10795
10873
|
mixins: [Class, Animate],
|
|
@@ -10805,8 +10883,8 @@
|
|
|
10805
10883
|
clsNoDrag: String,
|
|
10806
10884
|
clsEmpty: String,
|
|
10807
10885
|
clsCustom: String,
|
|
10808
|
-
handle: String
|
|
10809
|
-
|
|
10886
|
+
handle: String
|
|
10887
|
+
},
|
|
10810
10888
|
|
|
10811
10889
|
data: {
|
|
10812
10890
|
group: false,
|
|
@@ -10820,8 +10898,8 @@
|
|
|
10820
10898
|
clsEmpty: 'uk-sortable-empty',
|
|
10821
10899
|
clsCustom: '',
|
|
10822
10900
|
handle: false,
|
|
10823
|
-
pos: {}
|
|
10824
|
-
|
|
10901
|
+
pos: {}
|
|
10902
|
+
},
|
|
10825
10903
|
|
|
10826
10904
|
created() {
|
|
10827
10905
|
for (const key of ['init', 'start', 'move', 'end']) {
|
|
@@ -10836,8 +10914,8 @@
|
|
|
10836
10914
|
events: {
|
|
10837
10915
|
name: pointerDown$1,
|
|
10838
10916
|
passive: false,
|
|
10839
|
-
handler: 'init'
|
|
10840
|
-
|
|
10917
|
+
handler: 'init'
|
|
10918
|
+
},
|
|
10841
10919
|
|
|
10842
10920
|
computed: {
|
|
10843
10921
|
target() {
|
|
@@ -10857,8 +10935,8 @@
|
|
|
10857
10935
|
toggleClass(this.target, this.clsEmpty, empty);
|
|
10858
10936
|
},
|
|
10859
10937
|
|
|
10860
|
-
immediate: true
|
|
10861
|
-
|
|
10938
|
+
immediate: true
|
|
10939
|
+
},
|
|
10862
10940
|
|
|
10863
10941
|
handles: {
|
|
10864
10942
|
get(_ref, el) {let { handle } = _ref;
|
|
@@ -10870,9 +10948,9 @@
|
|
|
10870
10948
|
css(handles, { touchAction: hasTouch ? 'none' : '', userSelect: 'none' }); // touchAction set to 'none' causes a performance drop in Chrome 80
|
|
10871
10949
|
},
|
|
10872
10950
|
|
|
10873
|
-
immediate: true
|
|
10874
|
-
|
|
10875
|
-
|
|
10951
|
+
immediate: true
|
|
10952
|
+
}
|
|
10953
|
+
},
|
|
10876
10954
|
|
|
10877
10955
|
update: {
|
|
10878
10956
|
write(data) {
|
|
@@ -10883,13 +10961,13 @@
|
|
|
10883
10961
|
const {
|
|
10884
10962
|
pos: { x, y },
|
|
10885
10963
|
origin: { offsetTop, offsetLeft },
|
|
10886
|
-
placeholder
|
|
10887
|
-
this;
|
|
10964
|
+
placeholder
|
|
10965
|
+
} = this;
|
|
10888
10966
|
|
|
10889
10967
|
css(this.drag, {
|
|
10890
10968
|
top: y - offsetTop,
|
|
10891
|
-
left: x - offsetLeft
|
|
10892
|
-
|
|
10969
|
+
left: x - offsetLeft
|
|
10970
|
+
});
|
|
10893
10971
|
|
|
10894
10972
|
const sortable = this.getSortable(document.elementFromPoint(x, y));
|
|
10895
10973
|
|
|
@@ -10939,8 +11017,8 @@
|
|
|
10939
11017
|
this.touched.add(sortable);
|
|
10940
11018
|
},
|
|
10941
11019
|
|
|
10942
|
-
events: ['move']
|
|
10943
|
-
|
|
11020
|
+
events: ['move']
|
|
11021
|
+
},
|
|
10944
11022
|
|
|
10945
11023
|
methods: {
|
|
10946
11024
|
init(e) {
|
|
@@ -11062,9 +11140,9 @@
|
|
|
11062
11140
|
return sortable;
|
|
11063
11141
|
}
|
|
11064
11142
|
} while (element = parent(element));
|
|
11065
|
-
}
|
|
11066
|
-
|
|
11067
|
-
|
|
11143
|
+
}
|
|
11144
|
+
}
|
|
11145
|
+
};
|
|
11068
11146
|
|
|
11069
11147
|
let trackTimer;
|
|
11070
11148
|
function trackScroll(pos) {
|
|
@@ -11122,8 +11200,8 @@
|
|
|
11122
11200
|
boxSizing: 'border-box',
|
|
11123
11201
|
width: element.offsetWidth,
|
|
11124
11202
|
height: element.offsetHeight,
|
|
11125
|
-
padding: css(element, 'padding')
|
|
11126
|
-
|
|
11203
|
+
padding: css(element, 'padding')
|
|
11204
|
+
});
|
|
11127
11205
|
|
|
11128
11206
|
height(clone.firstElementChild, height(element.firstElementChild));
|
|
11129
11207
|
|
|
@@ -11213,8 +11291,8 @@
|
|
|
11213
11291
|
|
|
11214
11292
|
props: {
|
|
11215
11293
|
delay: Number,
|
|
11216
|
-
title: String
|
|
11217
|
-
|
|
11294
|
+
title: String
|
|
11295
|
+
},
|
|
11218
11296
|
|
|
11219
11297
|
data: {
|
|
11220
11298
|
pos: 'top',
|
|
@@ -11222,16 +11300,16 @@
|
|
|
11222
11300
|
delay: 0,
|
|
11223
11301
|
animation: ['uk-animation-scale-up'],
|
|
11224
11302
|
duration: 100,
|
|
11225
|
-
cls: 'uk-active'
|
|
11226
|
-
|
|
11303
|
+
cls: 'uk-active'
|
|
11304
|
+
},
|
|
11227
11305
|
|
|
11228
11306
|
beforeConnect() {
|
|
11229
11307
|
this.id = "uk-tooltip-" + this._uid;
|
|
11230
11308
|
this._hasTitle = hasAttr(this.$el, 'title');
|
|
11231
11309
|
attr(this.$el, {
|
|
11232
11310
|
title: '',
|
|
11233
|
-
'aria-describedby': this.id
|
|
11234
|
-
|
|
11311
|
+
'aria-describedby': this.id
|
|
11312
|
+
});
|
|
11235
11313
|
makeFocusable(this.$el);
|
|
11236
11314
|
},
|
|
11237
11315
|
|
|
@@ -11304,8 +11382,8 @@
|
|
|
11304
11382
|
});
|
|
11305
11383
|
|
|
11306
11384
|
this.toggleElement(this.tooltip, true);
|
|
11307
|
-
}
|
|
11308
|
-
|
|
11385
|
+
}
|
|
11386
|
+
},
|
|
11309
11387
|
|
|
11310
11388
|
events: {
|
|
11311
11389
|
focus: 'show',
|
|
@@ -11323,9 +11401,9 @@
|
|
|
11323
11401
|
if (isTouch(e)) {
|
|
11324
11402
|
this.show();
|
|
11325
11403
|
}
|
|
11326
|
-
}
|
|
11327
|
-
|
|
11328
|
-
|
|
11404
|
+
}
|
|
11405
|
+
}
|
|
11406
|
+
};
|
|
11329
11407
|
|
|
11330
11408
|
function makeFocusable(el) {
|
|
11331
11409
|
if (!isFocusable(el)) {
|
|
@@ -11379,8 +11457,8 @@
|
|
|
11379
11457
|
name: String,
|
|
11380
11458
|
params: Object,
|
|
11381
11459
|
type: String,
|
|
11382
|
-
url: String
|
|
11383
|
-
|
|
11460
|
+
url: String
|
|
11461
|
+
},
|
|
11384
11462
|
|
|
11385
11463
|
data: {
|
|
11386
11464
|
allow: false,
|
|
@@ -11407,8 +11485,8 @@
|
|
|
11407
11485
|
load: noop,
|
|
11408
11486
|
loadEnd: noop,
|
|
11409
11487
|
loadStart: noop,
|
|
11410
|
-
progress: noop
|
|
11411
|
-
|
|
11488
|
+
progress: noop
|
|
11489
|
+
},
|
|
11412
11490
|
|
|
11413
11491
|
events: {
|
|
11414
11492
|
change(e) {
|
|
@@ -11451,8 +11529,8 @@
|
|
|
11451
11529
|
dragleave(e) {
|
|
11452
11530
|
stop(e);
|
|
11453
11531
|
removeClass(this.$el, this.clsDragover);
|
|
11454
|
-
}
|
|
11455
|
-
|
|
11532
|
+
}
|
|
11533
|
+
},
|
|
11456
11534
|
|
|
11457
11535
|
methods: {
|
|
11458
11536
|
async upload(files) {
|
|
@@ -11510,8 +11588,8 @@
|
|
|
11510
11588
|
}
|
|
11511
11589
|
|
|
11512
11590
|
return this.beforeSend(env);
|
|
11513
|
-
}
|
|
11514
|
-
|
|
11591
|
+
}
|
|
11592
|
+
});
|
|
11515
11593
|
|
|
11516
11594
|
this.complete(xhr);
|
|
11517
11595
|
|
|
@@ -11526,9 +11604,9 @@
|
|
|
11526
11604
|
};
|
|
11527
11605
|
|
|
11528
11606
|
await upload(chunks.shift());
|
|
11529
|
-
}
|
|
11530
|
-
|
|
11531
|
-
|
|
11607
|
+
}
|
|
11608
|
+
}
|
|
11609
|
+
};
|
|
11532
11610
|
|
|
11533
11611
|
function match(pattern, path) {
|
|
11534
11612
|
return path.match(
|