uikit 3.15.11-dev.fd61e70ff → 3.15.12-dev.e4023717f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/build/util.js +26 -20
- package/dist/css/uikit-core-rtl.css +3 -3
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +3 -3
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +14 -13
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +32 -30
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +160 -148
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +168 -156
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +19 -17
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +37 -36
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +29 -29
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +84 -73
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +29 -29
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +95 -78
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +40 -37
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +43 -39
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +12 -12
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +574 -527
- package/dist/js/uikit-core.min.js +1 -17
- package/dist/js/uikit-icons.js +3 -3
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +862 -798
- package/dist/js/uikit.min.js +1 -17
- package/package.json +14 -14
- package/src/js/core/drop.js +5 -1
- package/src/js/core/sticky.js +6 -7
- package/src/js/util/env.js +1 -3
- package/src/js/util/position.js +11 -6
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.15.
|
|
1
|
+
/*! UIkit 3.15.12-dev.e4023717f | https://www.getuikit.com | (c) 2014 - 2022 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
[aProp]: dimensions[prop] ?
|
|
216
216
|
Math.round(value * dimensions[aProp] / dimensions[prop]) :
|
|
217
217
|
dimensions[aProp],
|
|
218
|
-
[prop]: value
|
|
219
|
-
|
|
218
|
+
[prop]: value
|
|
219
|
+
};
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
function contain(dimensions, maxDimensions) {
|
|
@@ -284,7 +284,8 @@
|
|
|
284
284
|
this.reject = reject;
|
|
285
285
|
this.resolve = resolve;
|
|
286
286
|
});
|
|
287
|
-
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
288
289
|
|
|
289
290
|
function attr(element, name, value) {
|
|
290
291
|
if (isObject(name)) {
|
|
@@ -348,8 +349,8 @@
|
|
|
348
349
|
param: true,
|
|
349
350
|
source: true,
|
|
350
351
|
track: true,
|
|
351
|
-
wbr: true
|
|
352
|
-
|
|
352
|
+
wbr: true
|
|
353
|
+
};
|
|
353
354
|
function isVoidElement(element) {
|
|
354
355
|
return toNodes(element).some((element) => voidElements[element.tagName.toLowerCase()]);
|
|
355
356
|
}
|
|
@@ -666,8 +667,8 @@
|
|
|
666
667
|
xhr: new XMLHttpRequest(),
|
|
667
668
|
beforeSend: noop,
|
|
668
669
|
responseType: '',
|
|
669
|
-
...options
|
|
670
|
-
|
|
670
|
+
...options
|
|
671
|
+
};
|
|
671
672
|
return Promise.resolve().
|
|
672
673
|
then(() => env.beforeSend(env)).
|
|
673
674
|
then(() => send(url, env));
|
|
@@ -700,8 +701,8 @@
|
|
|
700
701
|
reject(
|
|
701
702
|
assign(Error(xhr.statusText), {
|
|
702
703
|
xhr,
|
|
703
|
-
status: xhr.status
|
|
704
|
-
|
|
704
|
+
status: xhr.status
|
|
705
|
+
}));
|
|
705
706
|
|
|
706
707
|
}
|
|
707
708
|
});
|
|
@@ -745,8 +746,8 @@
|
|
|
745
746
|
'stroke-dashoffset': true,
|
|
746
747
|
widows: true,
|
|
747
748
|
'z-index': true,
|
|
748
|
-
zoom: true
|
|
749
|
-
|
|
749
|
+
zoom: true
|
|
750
|
+
};
|
|
750
751
|
|
|
751
752
|
function css(element, property, value, priority) {if (priority === void 0) {priority = '';}
|
|
752
753
|
const elements = toNodes(element);
|
|
@@ -879,8 +880,8 @@
|
|
|
879
880
|
css(element, {
|
|
880
881
|
transitionProperty: '',
|
|
881
882
|
transitionDuration: '',
|
|
882
|
-
transitionTimingFunction: ''
|
|
883
|
-
|
|
883
|
+
transitionTimingFunction: ''
|
|
884
|
+
});
|
|
884
885
|
type === 'transitioncanceled' ? reject() : resolve(element);
|
|
885
886
|
},
|
|
886
887
|
{ self: true });
|
|
@@ -891,8 +892,8 @@
|
|
|
891
892
|
transitionProperty: Object.keys(props).map(propName).join(','),
|
|
892
893
|
transitionDuration: duration + "ms",
|
|
893
894
|
transitionTimingFunction: timing,
|
|
894
|
-
...props
|
|
895
|
-
|
|
895
|
+
...props
|
|
896
|
+
});
|
|
896
897
|
})));
|
|
897
898
|
|
|
898
899
|
|
|
@@ -913,8 +914,8 @@
|
|
|
913
914
|
|
|
914
915
|
inProgress(element) {
|
|
915
916
|
return hasClass(element, 'uk-transition');
|
|
916
|
-
}
|
|
917
|
-
|
|
917
|
+
}
|
|
918
|
+
};
|
|
918
919
|
|
|
919
920
|
const animationPrefix = 'uk-animation-';
|
|
920
921
|
|
|
@@ -967,12 +968,13 @@
|
|
|
967
968
|
|
|
968
969
|
cancel(element) {
|
|
969
970
|
trigger(element, 'animationcanceled');
|
|
970
|
-
}
|
|
971
|
+
}
|
|
972
|
+
};
|
|
971
973
|
|
|
972
974
|
const dirs$1 = {
|
|
973
975
|
width: ['left', 'right'],
|
|
974
|
-
height: ['top', 'bottom']
|
|
975
|
-
|
|
976
|
+
height: ['top', 'bottom']
|
|
977
|
+
};
|
|
976
978
|
|
|
977
979
|
function dimensions(element) {
|
|
978
980
|
const rect = isElement(element) ?
|
|
@@ -985,8 +987,8 @@
|
|
|
985
987
|
top: rect.top,
|
|
986
988
|
left: rect.left,
|
|
987
989
|
bottom: rect.top + rect.height,
|
|
988
|
-
right: rect.left + rect.width
|
|
989
|
-
|
|
990
|
+
right: rect.left + rect.width
|
|
991
|
+
};
|
|
990
992
|
}
|
|
991
993
|
|
|
992
994
|
function offset(element, coordinates) {
|
|
@@ -1025,8 +1027,8 @@
|
|
|
1025
1027
|
|
|
1026
1028
|
const {
|
|
1027
1029
|
ownerDocument: { body, documentElement },
|
|
1028
|
-
offsetParent
|
|
1029
|
-
toNode(element);
|
|
1030
|
+
offsetParent
|
|
1031
|
+
} = toNode(element);
|
|
1030
1032
|
let parent = offsetParent || documentElement;
|
|
1031
1033
|
|
|
1032
1034
|
while (
|
|
@@ -1045,8 +1047,8 @@
|
|
|
1045
1047
|
|
|
1046
1048
|
return {
|
|
1047
1049
|
top: top - toFloat(css(element, 'marginTop')),
|
|
1048
|
-
left: left - toFloat(css(element, 'marginLeft'))
|
|
1049
|
-
|
|
1050
|
+
left: left - toFloat(css(element, 'marginLeft'))
|
|
1051
|
+
};
|
|
1050
1052
|
}
|
|
1051
1053
|
|
|
1052
1054
|
function offsetPosition(element) {
|
|
@@ -1278,7 +1280,7 @@
|
|
|
1278
1280
|
}
|
|
1279
1281
|
|
|
1280
1282
|
const inBrowser = typeof window !== 'undefined';
|
|
1281
|
-
const isRtl = inBrowser &&
|
|
1283
|
+
const isRtl = inBrowser && document.dir === 'rtl';
|
|
1282
1284
|
|
|
1283
1285
|
const hasTouch = inBrowser && 'ontouchstart' in window;
|
|
1284
1286
|
const hasPointerEvents = inBrowser && window.PointerEvent;
|
|
@@ -1317,8 +1319,8 @@
|
|
|
1317
1319
|
remove(this.writes, task);
|
|
1318
1320
|
},
|
|
1319
1321
|
|
|
1320
|
-
flush
|
|
1321
|
-
|
|
1322
|
+
flush
|
|
1323
|
+
};
|
|
1322
1324
|
|
|
1323
1325
|
function flush(recursion) {
|
|
1324
1326
|
runTasks(fastdom.reads);
|
|
@@ -1420,8 +1422,8 @@
|
|
|
1420
1422
|
const intersection = intersect(path, diagonal);
|
|
1421
1423
|
return intersection && pointInRect(intersection, p);
|
|
1422
1424
|
});
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1425
1427
|
|
|
1426
1428
|
// Inspired by http://paulbourke.net/geometry/pointlineplane/
|
|
1427
1429
|
function intersect(_ref, _ref2) {let [{ x: x1, y: y1 }, { x: x2, y: y2 }] = _ref;let [{ x: x3, y: y3 }, { x: x4, y: y4 }] = _ref2;
|
|
@@ -1473,8 +1475,8 @@
|
|
|
1473
1475
|
return {
|
|
1474
1476
|
disconnect() {
|
|
1475
1477
|
listeners.delete(cb);
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
+
}
|
|
1479
|
+
};
|
|
1478
1480
|
}
|
|
1479
1481
|
|
|
1480
1482
|
let listeners;
|
|
@@ -1778,8 +1780,8 @@
|
|
|
1778
1780
|
top: top - offsetTop,
|
|
1779
1781
|
left: left - offsetLeft,
|
|
1780
1782
|
bottom: bottom + offsetTop,
|
|
1781
|
-
right: right + offsetLeft
|
|
1782
|
-
|
|
1783
|
+
right: right + offsetLeft
|
|
1784
|
+
};
|
|
1783
1785
|
}).
|
|
1784
1786
|
concat(offset(element)));
|
|
1785
1787
|
|
|
@@ -1889,8 +1891,8 @@
|
|
|
1889
1891
|
function offsetViewport(scrollElement) {
|
|
1890
1892
|
const window = toWindow(scrollElement);
|
|
1891
1893
|
const {
|
|
1892
|
-
document: { documentElement }
|
|
1893
|
-
window;
|
|
1894
|
+
document: { documentElement }
|
|
1895
|
+
} = window;
|
|
1894
1896
|
let viewportElement =
|
|
1895
1897
|
scrollElement === scrollingElement(scrollElement) ? window : scrollElement;
|
|
1896
1898
|
|
|
@@ -1933,12 +1935,12 @@
|
|
|
1933
1935
|
attach: {
|
|
1934
1936
|
element: ['left', 'top'],
|
|
1935
1937
|
target: ['left', 'top'],
|
|
1936
|
-
...options.attach
|
|
1937
|
-
|
|
1938
|
+
...options.attach
|
|
1939
|
+
},
|
|
1938
1940
|
offset: [0, 0],
|
|
1939
1941
|
placement: [],
|
|
1940
|
-
...options
|
|
1941
|
-
|
|
1942
|
+
...options
|
|
1943
|
+
};
|
|
1942
1944
|
|
|
1943
1945
|
if (!isArray(target)) {
|
|
1944
1946
|
target = [target, target];
|
|
@@ -1953,7 +1955,7 @@
|
|
|
1953
1955
|
|
|
1954
1956
|
let offsetPosition = position;
|
|
1955
1957
|
for (const [i, [prop,, start, end]] of Object.entries(dirs)) {
|
|
1956
|
-
const viewport = getViewport$
|
|
1958
|
+
const viewport = getViewport$2(element, target[i], viewportOffset, boundary, i);
|
|
1957
1959
|
|
|
1958
1960
|
if (isWithin(position, viewport, i)) {
|
|
1959
1961
|
continue;
|
|
@@ -1973,7 +1975,7 @@
|
|
|
1973
1975
|
|
|
1974
1976
|
offsetBy = flip(element, target, options, i)[start] - position[start];
|
|
1975
1977
|
|
|
1976
|
-
const scrollArea = getScrollArea(target[i], viewportOffset, i);
|
|
1978
|
+
const scrollArea = getScrollArea(element, target[i], viewportOffset, i);
|
|
1977
1979
|
|
|
1978
1980
|
if (!isWithin(applyOffset(position, offsetBy, i), scrollArea, i)) {
|
|
1979
1981
|
if (isWithin(position, scrollArea, i)) {
|
|
@@ -2016,11 +2018,11 @@
|
|
|
2016
2018
|
attach: {
|
|
2017
2019
|
element: ['left', 'top'],
|
|
2018
2020
|
target: ['left', 'top'],
|
|
2019
|
-
...options.attach
|
|
2020
|
-
|
|
2021
|
+
...options.attach
|
|
2022
|
+
},
|
|
2021
2023
|
offset: [0, 0],
|
|
2022
|
-
...options
|
|
2023
|
-
|
|
2024
|
+
...options
|
|
2025
|
+
};
|
|
2024
2026
|
|
|
2025
2027
|
let elOffset = offset(element);
|
|
2026
2028
|
|
|
@@ -2053,8 +2055,8 @@
|
|
|
2053
2055
|
return attach === 'center' ? dim / 2 : attach === end ? dim : 0;
|
|
2054
2056
|
}
|
|
2055
2057
|
|
|
2056
|
-
function getViewport$
|
|
2057
|
-
let viewport = getIntersectionArea(...
|
|
2058
|
+
function getViewport$2(element, target, viewportOffset, boundary, i) {
|
|
2059
|
+
let viewport = getIntersectionArea(...commonScrollParents(element, target).map(offsetViewport));
|
|
2058
2060
|
|
|
2059
2061
|
if (viewportOffset) {
|
|
2060
2062
|
viewport[dirs[i][2]] += viewportOffset;
|
|
@@ -2071,15 +2073,19 @@
|
|
|
2071
2073
|
return viewport;
|
|
2072
2074
|
}
|
|
2073
2075
|
|
|
2074
|
-
function getScrollArea(element, viewportOffset, i) {
|
|
2076
|
+
function getScrollArea(element, target, viewportOffset, i) {
|
|
2075
2077
|
const [prop,, start, end] = dirs[i];
|
|
2076
|
-
const [scrollElement] =
|
|
2078
|
+
const [scrollElement] = commonScrollParents(element, target);
|
|
2077
2079
|
const viewport = offsetViewport(scrollElement);
|
|
2078
2080
|
viewport[start] -= scrollElement["scroll" + ucfirst(start)] - viewportOffset;
|
|
2079
2081
|
viewport[end] = viewport[start] + scrollElement["scroll" + ucfirst(prop)] - viewportOffset;
|
|
2080
2082
|
return viewport;
|
|
2081
2083
|
}
|
|
2082
2084
|
|
|
2085
|
+
function commonScrollParents(element, target) {
|
|
2086
|
+
return scrollParents(target).filter((parent) => within(element, parent));
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2083
2089
|
function getIntersectionArea() {
|
|
2084
2090
|
let area = {};for (var _len = arguments.length, rects = new Array(_len), _key = 0; _key < _len; _key++) {rects[_key] = arguments[_key];}
|
|
2085
2091
|
for (const rect of rects) {
|
|
@@ -2100,10 +2106,10 @@
|
|
|
2100
2106
|
return attachTo(element, target, {
|
|
2101
2107
|
attach: {
|
|
2102
2108
|
element: flipAttach(attach.element, i),
|
|
2103
|
-
target: flipAttach(attach.target, i)
|
|
2104
|
-
|
|
2105
|
-
offset: flipOffset(offset, i)
|
|
2106
|
-
|
|
2109
|
+
target: flipAttach(attach.target, i)
|
|
2110
|
+
},
|
|
2111
|
+
offset: flipOffset(offset, i)
|
|
2112
|
+
});
|
|
2107
2113
|
}
|
|
2108
2114
|
|
|
2109
2115
|
function flipAxis(element, target, options) {
|
|
@@ -2111,12 +2117,12 @@
|
|
|
2111
2117
|
...options,
|
|
2112
2118
|
attach: {
|
|
2113
2119
|
element: options.attach.element.map(flipAttachAxis).reverse(),
|
|
2114
|
-
target: options.attach.target.map(flipAttachAxis).reverse()
|
|
2115
|
-
|
|
2120
|
+
target: options.attach.target.map(flipAttachAxis).reverse()
|
|
2121
|
+
},
|
|
2116
2122
|
offset: options.offset.reverse(),
|
|
2117
2123
|
placement: options.placement.reverse(),
|
|
2118
|
-
recursion: true
|
|
2119
|
-
|
|
2124
|
+
recursion: true
|
|
2125
|
+
});
|
|
2120
2126
|
}
|
|
2121
2127
|
|
|
2122
2128
|
function flipAttach(attach, i) {
|
|
@@ -2340,8 +2346,8 @@
|
|
|
2340
2346
|
|
|
2341
2347
|
set(element) {
|
|
2342
2348
|
container = $(element);
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2349
|
+
}
|
|
2350
|
+
});
|
|
2345
2351
|
|
|
2346
2352
|
function update(data, e) {
|
|
2347
2353
|
if (!data) {
|
|
@@ -2463,8 +2469,8 @@
|
|
|
2463
2469
|
|
|
2464
2470
|
function runWatches(initial) {
|
|
2465
2471
|
const {
|
|
2466
|
-
$options: { computed }
|
|
2467
|
-
this;
|
|
2472
|
+
$options: { computed }
|
|
2473
|
+
} = this;
|
|
2468
2474
|
const values = { ...this._computed };
|
|
2469
2475
|
this._computed = {};
|
|
2470
2476
|
|
|
@@ -2642,8 +2648,8 @@
|
|
|
2642
2648
|
if (isUndefined(_computed[key])) {
|
|
2643
2649
|
delete _computed[key];
|
|
2644
2650
|
}
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2651
|
+
}
|
|
2652
|
+
});
|
|
2647
2653
|
}
|
|
2648
2654
|
|
|
2649
2655
|
function registerEvent(component, event, key) {
|
|
@@ -2740,8 +2746,8 @@
|
|
|
2740
2746
|
const observer = new MutationObserver(() => component._callWatches());
|
|
2741
2747
|
observer.observe(el, {
|
|
2742
2748
|
childList: true,
|
|
2743
|
-
subtree: true
|
|
2744
|
-
|
|
2749
|
+
subtree: true
|
|
2750
|
+
});
|
|
2745
2751
|
|
|
2746
2752
|
return observer;
|
|
2747
2753
|
}
|
|
@@ -2773,8 +2779,8 @@
|
|
|
2773
2779
|
|
|
2774
2780
|
observer.observe(el, {
|
|
2775
2781
|
attributes: true,
|
|
2776
|
-
attributeFilter: filter.concat(filter.map((key) => "data-" + key))
|
|
2777
|
-
|
|
2782
|
+
attributeFilter: filter.concat(filter.map((key) => "data-" + key))
|
|
2783
|
+
});
|
|
2778
2784
|
|
|
2779
2785
|
return observer;
|
|
2780
2786
|
}
|
|
@@ -2944,7 +2950,7 @@
|
|
|
2944
2950
|
UIkit.data = '__uikit__';
|
|
2945
2951
|
UIkit.prefix = 'uk-';
|
|
2946
2952
|
UIkit.options = {};
|
|
2947
|
-
UIkit.version = '3.15.
|
|
2953
|
+
UIkit.version = '3.15.12-dev.e4023717f';
|
|
2948
2954
|
|
|
2949
2955
|
globalAPI(UIkit);
|
|
2950
2956
|
hooksAPI(UIkit);
|
|
@@ -2968,16 +2974,16 @@
|
|
|
2968
2974
|
document,
|
|
2969
2975
|
{
|
|
2970
2976
|
childList: true,
|
|
2971
|
-
subtree: true
|
|
2972
|
-
|
|
2977
|
+
subtree: true
|
|
2978
|
+
});
|
|
2973
2979
|
|
|
2974
2980
|
|
|
2975
2981
|
new MutationObserver((records) => records.forEach(applyAttributeMutation)).observe(
|
|
2976
2982
|
document,
|
|
2977
2983
|
{
|
|
2978
2984
|
attributes: true,
|
|
2979
|
-
subtree: true
|
|
2980
|
-
|
|
2985
|
+
subtree: true
|
|
2986
|
+
});
|
|
2981
2987
|
|
|
2982
2988
|
|
|
2983
2989
|
UIkit._initialized = true;
|
|
@@ -3010,12 +3016,13 @@
|
|
|
3010
3016
|
var Class = {
|
|
3011
3017
|
connected() {
|
|
3012
3018
|
addClass(this.$el, this.$options.id);
|
|
3013
|
-
}
|
|
3019
|
+
}
|
|
3020
|
+
};
|
|
3014
3021
|
|
|
3015
3022
|
var Lazyload = {
|
|
3016
3023
|
data: {
|
|
3017
|
-
preload: 5
|
|
3018
|
-
|
|
3024
|
+
preload: 5
|
|
3025
|
+
},
|
|
3019
3026
|
|
|
3020
3027
|
methods: {
|
|
3021
3028
|
lazyload(observeTargets, targets) {if (observeTargets === void 0) {observeTargets = this.$el;}if (targets === void 0) {targets = this.$el;}
|
|
@@ -3034,7 +3041,9 @@
|
|
|
3034
3041
|
}
|
|
3035
3042
|
}));
|
|
3036
3043
|
|
|
3037
|
-
}
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
};
|
|
3038
3047
|
|
|
3039
3048
|
var Togglable = {
|
|
3040
3049
|
props: {
|
|
@@ -3043,8 +3052,8 @@
|
|
|
3043
3052
|
duration: Number,
|
|
3044
3053
|
velocity: Number,
|
|
3045
3054
|
origin: String,
|
|
3046
|
-
transition: String
|
|
3047
|
-
|
|
3055
|
+
transition: String
|
|
3056
|
+
},
|
|
3048
3057
|
|
|
3049
3058
|
data: {
|
|
3050
3059
|
cls: false,
|
|
@@ -3054,8 +3063,8 @@
|
|
|
3054
3063
|
origin: false,
|
|
3055
3064
|
transition: 'ease',
|
|
3056
3065
|
clsEnter: 'uk-togglabe-enter',
|
|
3057
|
-
clsLeave: 'uk-togglabe-leave'
|
|
3058
|
-
|
|
3066
|
+
clsLeave: 'uk-togglabe-leave'
|
|
3067
|
+
},
|
|
3059
3068
|
|
|
3060
3069
|
computed: {
|
|
3061
3070
|
hasAnimation(_ref) {let { animation } = _ref;
|
|
@@ -3064,8 +3073,8 @@
|
|
|
3064
3073
|
|
|
3065
3074
|
hasTransition(_ref2) {let { animation } = _ref2;
|
|
3066
3075
|
return ['slide', 'reveal'].some((transition) => startsWith(animation[0], transition));
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3069
3078
|
|
|
3070
3079
|
methods: {
|
|
3071
3080
|
toggleElement(targets, toggle, animate) {
|
|
@@ -3142,9 +3151,9 @@
|
|
|
3142
3151
|
if (changed) {
|
|
3143
3152
|
trigger(el, 'toggled', [toggled, this]);
|
|
3144
3153
|
}
|
|
3145
|
-
}
|
|
3146
|
-
|
|
3147
|
-
|
|
3154
|
+
}
|
|
3155
|
+
}
|
|
3156
|
+
};
|
|
3148
3157
|
|
|
3149
3158
|
function toggleInstant(el, show, _ref3) {let { _toggle } = _ref3;
|
|
3150
3159
|
Animation.cancel(el);
|
|
@@ -3216,9 +3225,9 @@
|
|
|
3216
3225
|
'borderBottom',
|
|
3217
3226
|
'borderLeft',
|
|
3218
3227
|
'borderImage',
|
|
3219
|
-
marginStartProp])
|
|
3220
|
-
|
|
3228
|
+
marginStartProp])
|
|
3221
3229
|
|
|
3230
|
+
});
|
|
3222
3231
|
|
|
3223
3232
|
css(el, {
|
|
3224
3233
|
padding: 0,
|
|
@@ -3229,8 +3238,8 @@
|
|
|
3229
3238
|
width: dim.width,
|
|
3230
3239
|
height: dim.height,
|
|
3231
3240
|
overflow: 'hidden',
|
|
3232
|
-
[dimProp]: currentDim
|
|
3233
|
-
|
|
3241
|
+
[dimProp]: currentDim
|
|
3242
|
+
});
|
|
3234
3243
|
|
|
3235
3244
|
const percent = currentDim / endDim;
|
|
3236
3245
|
duration = (velocity * endDim + duration) * (show ? 1 - percent : percent);
|
|
@@ -3284,8 +3293,8 @@
|
|
|
3284
3293
|
multiple: Boolean,
|
|
3285
3294
|
toggle: String,
|
|
3286
3295
|
content: String,
|
|
3287
|
-
offset: Number
|
|
3288
|
-
|
|
3296
|
+
offset: Number
|
|
3297
|
+
},
|
|
3289
3298
|
|
|
3290
3299
|
data: {
|
|
3291
3300
|
targets: '> *',
|
|
@@ -3296,8 +3305,8 @@
|
|
|
3296
3305
|
clsOpen: 'uk-open',
|
|
3297
3306
|
toggle: '> .uk-accordion-title',
|
|
3298
3307
|
content: '> .uk-accordion-content',
|
|
3299
|
-
offset: 0
|
|
3300
|
-
|
|
3308
|
+
offset: 0
|
|
3309
|
+
},
|
|
3301
3310
|
|
|
3302
3311
|
computed: {
|
|
3303
3312
|
items: {
|
|
@@ -3319,8 +3328,8 @@
|
|
|
3319
3328
|
}
|
|
3320
3329
|
},
|
|
3321
3330
|
|
|
3322
|
-
immediate: true
|
|
3323
|
-
|
|
3331
|
+
immediate: true
|
|
3332
|
+
},
|
|
3324
3333
|
|
|
3325
3334
|
toggles(_ref2) {let { toggle } = _ref2;
|
|
3326
3335
|
return this.items.map((item) => $(toggle, item));
|
|
@@ -3343,9 +3352,9 @@
|
|
|
3343
3352
|
}
|
|
3344
3353
|
},
|
|
3345
3354
|
|
|
3346
|
-
immediate: true
|
|
3347
|
-
|
|
3348
|
-
|
|
3355
|
+
immediate: true
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3349
3358
|
|
|
3350
3359
|
connected() {
|
|
3351
3360
|
this.lazyload();
|
|
@@ -3366,8 +3375,8 @@
|
|
|
3366
3375
|
this._off = keepScrollPosition(e.target);
|
|
3367
3376
|
await this.toggle(index(this.toggles, e.current));
|
|
3368
3377
|
this._off();
|
|
3369
|
-
}
|
|
3370
|
-
|
|
3378
|
+
}
|
|
3379
|
+
}],
|
|
3371
3380
|
|
|
3372
3381
|
|
|
3373
3382
|
methods: {
|
|
@@ -3399,9 +3408,9 @@
|
|
|
3399
3408
|
})));
|
|
3400
3409
|
|
|
3401
3410
|
|
|
3402
|
-
}
|
|
3403
|
-
|
|
3404
|
-
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
};
|
|
3405
3414
|
|
|
3406
3415
|
function hide(el, hide) {
|
|
3407
3416
|
el && (el.hidden = hide);
|
|
@@ -3462,14 +3471,14 @@
|
|
|
3462
3471
|
|
|
3463
3472
|
props: {
|
|
3464
3473
|
animation: Boolean,
|
|
3465
|
-
close: String
|
|
3466
|
-
|
|
3474
|
+
close: String
|
|
3475
|
+
},
|
|
3467
3476
|
|
|
3468
3477
|
data: {
|
|
3469
3478
|
animation: true,
|
|
3470
3479
|
selClose: '.uk-alert-close',
|
|
3471
|
-
duration: 150
|
|
3472
|
-
|
|
3480
|
+
duration: 150
|
|
3481
|
+
},
|
|
3473
3482
|
|
|
3474
3483
|
events: {
|
|
3475
3484
|
name: 'click',
|
|
@@ -3481,16 +3490,16 @@
|
|
|
3481
3490
|
handler(e) {
|
|
3482
3491
|
e.preventDefault();
|
|
3483
3492
|
this.close();
|
|
3484
|
-
}
|
|
3485
|
-
|
|
3493
|
+
}
|
|
3494
|
+
},
|
|
3486
3495
|
|
|
3487
3496
|
methods: {
|
|
3488
3497
|
async close() {
|
|
3489
3498
|
await this.toggleElement(this.$el, false, animate$1);
|
|
3490
3499
|
this.$destroy(true);
|
|
3491
|
-
}
|
|
3492
|
-
|
|
3493
|
-
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
};
|
|
3494
3503
|
|
|
3495
3504
|
function animate$1(el, show, _ref) {let { duration, transition, velocity } = _ref;
|
|
3496
3505
|
const height = toFloat(css(el, 'height'));
|
|
@@ -3505,8 +3514,8 @@
|
|
|
3505
3514
|
paddingBottom: 0,
|
|
3506
3515
|
borderTop: 0,
|
|
3507
3516
|
borderBottom: 0,
|
|
3508
|
-
opacity: 0
|
|
3509
|
-
|
|
3517
|
+
opacity: 0
|
|
3518
|
+
},
|
|
3510
3519
|
velocity * height + duration,
|
|
3511
3520
|
transition);
|
|
3512
3521
|
|
|
@@ -3517,13 +3526,13 @@
|
|
|
3517
3526
|
|
|
3518
3527
|
props: {
|
|
3519
3528
|
automute: Boolean,
|
|
3520
|
-
autoplay: Boolean
|
|
3521
|
-
|
|
3529
|
+
autoplay: Boolean
|
|
3530
|
+
},
|
|
3522
3531
|
|
|
3523
3532
|
data: {
|
|
3524
3533
|
automute: false,
|
|
3525
|
-
autoplay: true
|
|
3526
|
-
|
|
3534
|
+
autoplay: true
|
|
3535
|
+
},
|
|
3527
3536
|
|
|
3528
3537
|
connected() {
|
|
3529
3538
|
this.inView = this.autoplay === 'inview';
|
|
@@ -3551,8 +3560,8 @@
|
|
|
3551
3560
|
|
|
3552
3561
|
return {
|
|
3553
3562
|
visible: isVisible(this.$el) && css(this.$el, 'visibility') !== 'hidden',
|
|
3554
|
-
inView: this.inView && isInView(this.$el)
|
|
3555
|
-
|
|
3563
|
+
inView: this.inView && isInView(this.$el)
|
|
3564
|
+
};
|
|
3556
3565
|
},
|
|
3557
3566
|
|
|
3558
3567
|
write(_ref) {let { visible, inView } = _ref;
|
|
@@ -3561,7 +3570,9 @@
|
|
|
3561
3570
|
} else if (this.autoplay === true || this.inView && inView) {
|
|
3562
3571
|
play(this.$el);
|
|
3563
3572
|
}
|
|
3564
|
-
}
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
};
|
|
3565
3576
|
|
|
3566
3577
|
var Resize = {
|
|
3567
3578
|
connected() {var _this$$options$resize;
|
|
@@ -3570,25 +3581,26 @@
|
|
|
3570
3581
|
this.$emit('resize')));
|
|
3571
3582
|
|
|
3572
3583
|
|
|
3573
|
-
}
|
|
3584
|
+
}
|
|
3585
|
+
};
|
|
3574
3586
|
|
|
3575
3587
|
var cover = {
|
|
3576
3588
|
mixins: [Resize, Video],
|
|
3577
3589
|
|
|
3578
3590
|
props: {
|
|
3579
3591
|
width: Number,
|
|
3580
|
-
height: Number
|
|
3581
|
-
|
|
3592
|
+
height: Number
|
|
3593
|
+
},
|
|
3582
3594
|
|
|
3583
3595
|
data: {
|
|
3584
|
-
automute: true
|
|
3585
|
-
|
|
3596
|
+
automute: true
|
|
3597
|
+
},
|
|
3586
3598
|
|
|
3587
3599
|
events: {
|
|
3588
3600
|
'load loadedmetadata'() {
|
|
3589
3601
|
this.$emit('resize');
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3602
|
+
}
|
|
3603
|
+
},
|
|
3592
3604
|
|
|
3593
3605
|
resizeTargets() {
|
|
3594
3606
|
return [this.$el, getPositionedParent(this.$el) || parent(this.$el)];
|
|
@@ -3604,8 +3616,8 @@
|
|
|
3604
3616
|
if (!dim.width || !dim.height) {
|
|
3605
3617
|
const intrinsic = {
|
|
3606
3618
|
width: $el.naturalWidth || $el.videoWidth || $el.clientWidth,
|
|
3607
|
-
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3608
|
-
|
|
3619
|
+
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3620
|
+
};
|
|
3609
3621
|
|
|
3610
3622
|
if (dim.width) {
|
|
3611
3623
|
dim = ratio(intrinsic, 'width', dim.width);
|
|
@@ -3620,8 +3632,8 @@
|
|
|
3620
3632
|
getPositionedParent($el) || parent($el);
|
|
3621
3633
|
const coverDim = cover(dim, {
|
|
3622
3634
|
width: coverWidth + (coverWidth % 2 ? 1 : 0),
|
|
3623
|
-
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3624
|
-
|
|
3635
|
+
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3636
|
+
});
|
|
3625
3637
|
|
|
3626
3638
|
if (!coverDim.width || !coverDim.height) {
|
|
3627
3639
|
return false;
|
|
@@ -3634,9 +3646,9 @@
|
|
|
3634
3646
|
css(this.$el, { height, width });
|
|
3635
3647
|
},
|
|
3636
3648
|
|
|
3637
|
-
events: ['resize']
|
|
3638
|
-
|
|
3639
|
-
|
|
3649
|
+
events: ['resize']
|
|
3650
|
+
}
|
|
3651
|
+
};
|
|
3640
3652
|
|
|
3641
3653
|
function getPositionedParent(el) {
|
|
3642
3654
|
while (el = parent(el)) {
|
|
@@ -3648,17 +3660,19 @@
|
|
|
3648
3660
|
|
|
3649
3661
|
var Container = {
|
|
3650
3662
|
props: {
|
|
3651
|
-
container: Boolean
|
|
3652
|
-
|
|
3663
|
+
container: Boolean
|
|
3664
|
+
},
|
|
3653
3665
|
|
|
3654
3666
|
data: {
|
|
3655
|
-
container: true
|
|
3656
|
-
|
|
3667
|
+
container: true
|
|
3668
|
+
},
|
|
3657
3669
|
|
|
3658
3670
|
computed: {
|
|
3659
3671
|
container(_ref) {let { container } = _ref;
|
|
3660
3672
|
return container === true && this.$container || container && $(container);
|
|
3661
|
-
}
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
};
|
|
3662
3676
|
|
|
3663
3677
|
var Position = {
|
|
3664
3678
|
props: {
|
|
@@ -3666,16 +3680,16 @@
|
|
|
3666
3680
|
offset: null,
|
|
3667
3681
|
flip: Boolean,
|
|
3668
3682
|
shift: Boolean,
|
|
3669
|
-
inset: Boolean
|
|
3670
|
-
|
|
3683
|
+
inset: Boolean
|
|
3684
|
+
},
|
|
3671
3685
|
|
|
3672
3686
|
data: {
|
|
3673
3687
|
pos: "bottom-" + (isRtl ? 'right' : 'left'),
|
|
3674
3688
|
offset: false,
|
|
3675
3689
|
flip: true,
|
|
3676
3690
|
shift: true,
|
|
3677
|
-
inset: false
|
|
3678
|
-
|
|
3691
|
+
inset: false
|
|
3692
|
+
},
|
|
3679
3693
|
|
|
3680
3694
|
connected() {
|
|
3681
3695
|
this.pos = this.$props.pos.split('-').concat('center').slice(0, 2);
|
|
@@ -3690,8 +3704,8 @@
|
|
|
3690
3704
|
|
|
3691
3705
|
const attach = {
|
|
3692
3706
|
element: [this.inset ? this.dir : flipPosition(this.dir), this.align],
|
|
3693
|
-
target: [this.dir, this.align]
|
|
3694
|
-
|
|
3707
|
+
target: [this.dir, this.align]
|
|
3708
|
+
};
|
|
3695
3709
|
|
|
3696
3710
|
if (this.axis === 'y') {
|
|
3697
3711
|
for (const prop in attach) {
|
|
@@ -3713,8 +3727,8 @@
|
|
|
3713
3727
|
offset,
|
|
3714
3728
|
boundary,
|
|
3715
3729
|
placement,
|
|
3716
|
-
viewportOffset: this.getViewportOffset(element)
|
|
3717
|
-
|
|
3730
|
+
viewportOffset: this.getViewportOffset(element)
|
|
3731
|
+
});
|
|
3718
3732
|
|
|
3719
3733
|
// Restore scroll position
|
|
3720
3734
|
scrollElement.scrollTop = scrollTop;
|
|
@@ -3745,7 +3759,9 @@
|
|
|
3745
3759
|
|
|
3746
3760
|
getViewportOffset(element) {
|
|
3747
3761
|
return toPx(css(element, '--uk-position-viewport-offset'));
|
|
3748
|
-
}
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
};
|
|
3749
3765
|
|
|
3750
3766
|
var Style = {
|
|
3751
3767
|
beforeConnect() {
|
|
@@ -3754,7 +3770,8 @@
|
|
|
3754
3770
|
|
|
3755
3771
|
disconnected() {
|
|
3756
3772
|
attr(this.$el, 'style', this._style);
|
|
3757
|
-
}
|
|
3773
|
+
}
|
|
3774
|
+
};
|
|
3758
3775
|
|
|
3759
3776
|
const active$1 = [];
|
|
3760
3777
|
|
|
@@ -3766,16 +3783,16 @@
|
|
|
3766
3783
|
selClose: String,
|
|
3767
3784
|
escClose: Boolean,
|
|
3768
3785
|
bgClose: Boolean,
|
|
3769
|
-
stack: Boolean
|
|
3770
|
-
|
|
3786
|
+
stack: Boolean
|
|
3787
|
+
},
|
|
3771
3788
|
|
|
3772
3789
|
data: {
|
|
3773
3790
|
cls: 'uk-open',
|
|
3774
3791
|
escClose: true,
|
|
3775
3792
|
bgClose: true,
|
|
3776
3793
|
overlay: true,
|
|
3777
|
-
stack: false
|
|
3778
|
-
|
|
3794
|
+
stack: false
|
|
3795
|
+
},
|
|
3779
3796
|
|
|
3780
3797
|
computed: {
|
|
3781
3798
|
panel(_ref, $el) {let { selPanel } = _ref;
|
|
@@ -3788,8 +3805,8 @@
|
|
|
3788
3805
|
|
|
3789
3806
|
bgClose(_ref2) {let { bgClose } = _ref2;
|
|
3790
3807
|
return bgClose && this.panel;
|
|
3791
|
-
}
|
|
3792
|
-
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3793
3810
|
|
|
3794
3811
|
beforeDisconnect() {
|
|
3795
3812
|
if (includes(active$1, this)) {
|
|
@@ -3808,8 +3825,8 @@
|
|
|
3808
3825
|
handler(e) {
|
|
3809
3826
|
e.preventDefault();
|
|
3810
3827
|
this.hide();
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3828
|
+
}
|
|
3829
|
+
},
|
|
3813
3830
|
|
|
3814
3831
|
{
|
|
3815
3832
|
name: 'click',
|
|
@@ -3829,8 +3846,8 @@
|
|
|
3829
3846
|
{
|
|
3830
3847
|
this.hide();
|
|
3831
3848
|
}
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3834
3851
|
|
|
3835
3852
|
{
|
|
3836
3853
|
name: 'toggle',
|
|
@@ -3847,8 +3864,8 @@
|
|
|
3847
3864
|
if (this.isToggled() === includes(active$1, this)) {
|
|
3848
3865
|
this.toggle();
|
|
3849
3866
|
}
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3867
|
+
}
|
|
3868
|
+
},
|
|
3852
3869
|
|
|
3853
3870
|
{
|
|
3854
3871
|
name: 'beforeshow',
|
|
@@ -3866,8 +3883,8 @@
|
|
|
3866
3883
|
} else {
|
|
3867
3884
|
active$1.push(this);
|
|
3868
3885
|
}
|
|
3869
|
-
}
|
|
3870
|
-
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3871
3888
|
|
|
3872
3889
|
{
|
|
3873
3890
|
name: 'show',
|
|
@@ -3940,8 +3957,8 @@
|
|
|
3940
3957
|
{ self: true });
|
|
3941
3958
|
|
|
3942
3959
|
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3960
|
+
}
|
|
3961
|
+
},
|
|
3945
3962
|
|
|
3946
3963
|
{
|
|
3947
3964
|
name: 'shown',
|
|
@@ -3956,8 +3973,8 @@
|
|
|
3956
3973
|
if (!$(':focus', this.$el)) {
|
|
3957
3974
|
this.$el.focus();
|
|
3958
3975
|
}
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3976
|
+
}
|
|
3977
|
+
},
|
|
3961
3978
|
|
|
3962
3979
|
{
|
|
3963
3980
|
name: 'hidden',
|
|
@@ -3974,8 +3991,8 @@
|
|
|
3974
3991
|
if (!active$1.some((modal) => modal.clsPage === this.clsPage)) {
|
|
3975
3992
|
removeClass(document.documentElement, this.clsPage);
|
|
3976
3993
|
}
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3994
|
+
}
|
|
3995
|
+
}],
|
|
3979
3996
|
|
|
3980
3997
|
|
|
3981
3998
|
methods: {
|
|
@@ -3996,9 +4013,9 @@
|
|
|
3996
4013
|
|
|
3997
4014
|
hide() {
|
|
3998
4015
|
return this.toggleElement(this.$el, false, animate);
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
|
-
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
};
|
|
4002
4019
|
|
|
4003
4020
|
function animate(el, show, _ref6) {let { transitionElement, _toggle } = _ref6;
|
|
4004
4021
|
return new Promise((resolve, reject) =>
|
|
@@ -4013,8 +4030,8 @@
|
|
|
4013
4030
|
'transitionstart',
|
|
4014
4031
|
() => {
|
|
4015
4032
|
once(transitionElement, 'transitionend transitioncancel', resolve, {
|
|
4016
|
-
self: true
|
|
4017
|
-
|
|
4033
|
+
self: true
|
|
4034
|
+
});
|
|
4018
4035
|
clearTimeout(timer);
|
|
4019
4036
|
},
|
|
4020
4037
|
{ self: true });
|
|
@@ -4095,8 +4112,8 @@
|
|
|
4095
4112
|
css(scrollingElement, {
|
|
4096
4113
|
overflowY: 'hidden',
|
|
4097
4114
|
touchAction: 'none',
|
|
4098
|
-
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4099
|
-
|
|
4115
|
+
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4116
|
+
});
|
|
4100
4117
|
return () => {
|
|
4101
4118
|
prevented = false;
|
|
4102
4119
|
css(scrollingElement, { overflowY: '', touchAction: '', paddingRight: '' });
|
|
@@ -4139,8 +4156,8 @@
|
|
|
4139
4156
|
autoUpdate: Boolean,
|
|
4140
4157
|
clsDrop: String,
|
|
4141
4158
|
animateOut: Boolean,
|
|
4142
|
-
bgScroll: Boolean
|
|
4143
|
-
|
|
4159
|
+
bgScroll: Boolean
|
|
4160
|
+
},
|
|
4144
4161
|
|
|
4145
4162
|
data: {
|
|
4146
4163
|
mode: ['click', 'hover'],
|
|
@@ -4160,8 +4177,8 @@
|
|
|
4160
4177
|
bgScroll: true,
|
|
4161
4178
|
animation: ['uk-animation-fade'],
|
|
4162
4179
|
cls: 'uk-open',
|
|
4163
|
-
container: false
|
|
4164
|
-
|
|
4180
|
+
container: false
|
|
4181
|
+
},
|
|
4165
4182
|
|
|
4166
4183
|
computed: {
|
|
4167
4184
|
boundary(_ref, $el) {let { boundary, boundaryX, boundaryY } = _ref;
|
|
@@ -4179,8 +4196,8 @@
|
|
|
4179
4196
|
targetX === true ? window : query(targetX, $el),
|
|
4180
4197
|
targetY === true ? window : query(targetY, $el)];
|
|
4181
4198
|
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4199
|
+
}
|
|
4200
|
+
},
|
|
4184
4201
|
|
|
4185
4202
|
created() {
|
|
4186
4203
|
this.tracker = new MouseTracker();
|
|
@@ -4196,8 +4213,8 @@
|
|
|
4196
4213
|
if (this.toggle && !this.targetEl) {
|
|
4197
4214
|
this.targetEl = this.$create('toggle', query(this.toggle, this.$el), {
|
|
4198
4215
|
target: this.$el,
|
|
4199
|
-
mode: this.mode
|
|
4200
|
-
|
|
4216
|
+
mode: this.mode
|
|
4217
|
+
}).$el;
|
|
4201
4218
|
attr(this.targetEl, 'aria-haspopup', true);
|
|
4202
4219
|
this.lazyload(this.targetEl);
|
|
4203
4220
|
}
|
|
@@ -4221,8 +4238,8 @@
|
|
|
4221
4238
|
handler(e) {
|
|
4222
4239
|
e.preventDefault();
|
|
4223
4240
|
this.hide(false);
|
|
4224
|
-
}
|
|
4225
|
-
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4226
4243
|
|
|
4227
4244
|
{
|
|
4228
4245
|
name: 'click',
|
|
@@ -4241,16 +4258,16 @@
|
|
|
4241
4258
|
{
|
|
4242
4259
|
this.hide(false);
|
|
4243
4260
|
}
|
|
4244
|
-
}
|
|
4245
|
-
|
|
4261
|
+
}
|
|
4262
|
+
},
|
|
4246
4263
|
|
|
4247
4264
|
{
|
|
4248
4265
|
name: 'beforescroll',
|
|
4249
4266
|
|
|
4250
4267
|
handler() {
|
|
4251
4268
|
this.hide(false);
|
|
4252
|
-
}
|
|
4253
|
-
|
|
4269
|
+
}
|
|
4270
|
+
},
|
|
4254
4271
|
|
|
4255
4272
|
{
|
|
4256
4273
|
name: 'toggle',
|
|
@@ -4265,8 +4282,8 @@
|
|
|
4265
4282
|
} else {
|
|
4266
4283
|
this.show(toggle == null ? void 0 : toggle.$el, false);
|
|
4267
4284
|
}
|
|
4268
|
-
}
|
|
4269
|
-
|
|
4285
|
+
}
|
|
4286
|
+
},
|
|
4270
4287
|
|
|
4271
4288
|
{
|
|
4272
4289
|
name: 'toggleshow',
|
|
@@ -4276,8 +4293,8 @@
|
|
|
4276
4293
|
handler(e, toggle) {
|
|
4277
4294
|
e.preventDefault();
|
|
4278
4295
|
this.show(toggle == null ? void 0 : toggle.$el);
|
|
4279
|
-
}
|
|
4280
|
-
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4281
4298
|
|
|
4282
4299
|
{
|
|
4283
4300
|
name: 'togglehide',
|
|
@@ -4289,8 +4306,8 @@
|
|
|
4289
4306
|
if (!matches(this.$el, ':focus,:hover')) {
|
|
4290
4307
|
this.hide();
|
|
4291
4308
|
}
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4309
|
+
}
|
|
4310
|
+
},
|
|
4294
4311
|
|
|
4295
4312
|
{
|
|
4296
4313
|
name: pointerEnter + " focusin",
|
|
@@ -4303,8 +4320,8 @@
|
|
|
4303
4320
|
if (!isTouch(e)) {
|
|
4304
4321
|
this.clearTimers();
|
|
4305
4322
|
}
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4323
|
+
}
|
|
4324
|
+
},
|
|
4308
4325
|
|
|
4309
4326
|
{
|
|
4310
4327
|
name: pointerLeave + " focusout",
|
|
@@ -4317,8 +4334,8 @@
|
|
|
4317
4334
|
if (!isTouch(e) && e.relatedTarget) {
|
|
4318
4335
|
this.hide();
|
|
4319
4336
|
}
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4337
|
+
}
|
|
4338
|
+
},
|
|
4322
4339
|
|
|
4323
4340
|
{
|
|
4324
4341
|
name: 'toggled',
|
|
@@ -4332,8 +4349,8 @@
|
|
|
4332
4349
|
|
|
4333
4350
|
this.clearTimers();
|
|
4334
4351
|
this.position();
|
|
4335
|
-
}
|
|
4336
|
-
|
|
4352
|
+
}
|
|
4353
|
+
},
|
|
4337
4354
|
|
|
4338
4355
|
{
|
|
4339
4356
|
name: 'show',
|
|
@@ -4388,8 +4405,8 @@
|
|
|
4388
4405
|
...(this.autoUpdate ?
|
|
4389
4406
|
[
|
|
4390
4407
|
on([document, scrollParents(this.$el)], 'scroll', update, {
|
|
4391
|
-
passive: true
|
|
4392
|
-
|
|
4408
|
+
passive: true
|
|
4409
|
+
})] :
|
|
4393
4410
|
|
|
4394
4411
|
[]),
|
|
4395
4412
|
|
|
@@ -4399,10 +4416,10 @@
|
|
|
4399
4416
|
|
|
4400
4417
|
|
|
4401
4418
|
once(this.$el, 'hide', () => handlers.forEach((handler) => handler()), {
|
|
4402
|
-
self: true
|
|
4403
|
-
|
|
4404
|
-
}
|
|
4405
|
-
|
|
4419
|
+
self: true
|
|
4420
|
+
});
|
|
4421
|
+
}
|
|
4422
|
+
},
|
|
4406
4423
|
|
|
4407
4424
|
{
|
|
4408
4425
|
name: 'beforehide',
|
|
@@ -4411,8 +4428,8 @@
|
|
|
4411
4428
|
|
|
4412
4429
|
handler() {
|
|
4413
4430
|
this.clearTimers();
|
|
4414
|
-
}
|
|
4415
|
-
|
|
4431
|
+
}
|
|
4432
|
+
},
|
|
4416
4433
|
|
|
4417
4434
|
{
|
|
4418
4435
|
name: 'hide',
|
|
@@ -4428,8 +4445,8 @@
|
|
|
4428
4445
|
|
|
4429
4446
|
active = this.isActive() ? null : active;
|
|
4430
4447
|
this.tracker.cancel();
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4448
|
+
}
|
|
4449
|
+
}],
|
|
4433
4450
|
|
|
4434
4451
|
|
|
4435
4452
|
update: {
|
|
@@ -4437,8 +4454,8 @@
|
|
|
4437
4454
|
if (this.isToggled() && !hasClass(this.$el, this.clsEnter)) {
|
|
4438
4455
|
this.position();
|
|
4439
4456
|
}
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4457
|
+
}
|
|
4458
|
+
},
|
|
4442
4459
|
|
|
4443
4460
|
methods: {
|
|
4444
4461
|
show(target, delay) {if (target === void 0) {target = this.targetEl;}if (delay === void 0) {delay = true;}
|
|
@@ -4514,7 +4531,7 @@
|
|
|
4514
4531
|
// Ensure none positioned element does not generate scrollbars
|
|
4515
4532
|
this.$el.hidden = true;
|
|
4516
4533
|
|
|
4517
|
-
const viewports = this.target.map((target) =>
|
|
4534
|
+
const viewports = this.target.map((target) => getViewport$1(this.$el, target));
|
|
4518
4535
|
const viewportOffset = this.getViewportOffset(this.$el);
|
|
4519
4536
|
|
|
4520
4537
|
const dirs = [
|
|
@@ -4529,8 +4546,8 @@
|
|
|
4529
4546
|
offset(this.boundary[i])[prop],
|
|
4530
4547
|
viewports[i][prop] - 2 * viewportOffset),
|
|
4531
4548
|
|
|
4532
|
-
["overflow-" + axis]: 'auto'
|
|
4533
|
-
|
|
4549
|
+
["overflow-" + axis]: 'auto'
|
|
4550
|
+
});
|
|
4534
4551
|
}
|
|
4535
4552
|
}
|
|
4536
4553
|
|
|
@@ -4564,15 +4581,15 @@
|
|
|
4564
4581
|
offset(this.boundary[i])[end],
|
|
4565
4582
|
viewports[i][end] - viewportOffset) -
|
|
4566
4583
|
targetOffset[end]) - positionOffset,
|
|
4567
|
-
["overflow-" + axis]: 'auto'
|
|
4568
|
-
|
|
4584
|
+
["overflow-" + axis]: 'auto'
|
|
4585
|
+
});
|
|
4569
4586
|
|
|
4570
4587
|
this.positionAt(this.$el, this.target, this.boundary);
|
|
4571
4588
|
}
|
|
4572
4589
|
}
|
|
4573
|
-
}
|
|
4574
|
-
|
|
4575
|
-
|
|
4590
|
+
}
|
|
4591
|
+
}
|
|
4592
|
+
};
|
|
4576
4593
|
|
|
4577
4594
|
function getPositionedElements(el) {
|
|
4578
4595
|
const result = [];
|
|
@@ -4580,18 +4597,22 @@
|
|
|
4580
4597
|
return result;
|
|
4581
4598
|
}
|
|
4582
4599
|
|
|
4600
|
+
function getViewport$1(el, target) {
|
|
4601
|
+
return offsetViewport(scrollParents(target).find((parent) => within(el, parent)));
|
|
4602
|
+
}
|
|
4603
|
+
|
|
4583
4604
|
var formCustom = {
|
|
4584
4605
|
mixins: [Class],
|
|
4585
4606
|
|
|
4586
4607
|
args: 'target',
|
|
4587
4608
|
|
|
4588
4609
|
props: {
|
|
4589
|
-
target: Boolean
|
|
4590
|
-
|
|
4610
|
+
target: Boolean
|
|
4611
|
+
},
|
|
4591
4612
|
|
|
4592
4613
|
data: {
|
|
4593
|
-
target: false
|
|
4594
|
-
|
|
4614
|
+
target: false
|
|
4615
|
+
},
|
|
4595
4616
|
|
|
4596
4617
|
computed: {
|
|
4597
4618
|
input(_, $el) {
|
|
@@ -4608,8 +4629,8 @@
|
|
|
4608
4629
|
target === true && parent(this.input) === $el && this.input.nextElementSibling ||
|
|
4609
4630
|
$(target, $el)));
|
|
4610
4631
|
|
|
4611
|
-
}
|
|
4612
|
-
|
|
4632
|
+
}
|
|
4633
|
+
},
|
|
4613
4634
|
|
|
4614
4635
|
update() {var _input$files;
|
|
4615
4636
|
const { target, input } = this;
|
|
@@ -4639,8 +4660,8 @@
|
|
|
4639
4660
|
|
|
4640
4661
|
handler() {
|
|
4641
4662
|
this.$emit();
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4663
|
+
}
|
|
4664
|
+
},
|
|
4644
4665
|
|
|
4645
4666
|
{
|
|
4646
4667
|
name: 'reset',
|
|
@@ -4651,20 +4672,23 @@
|
|
|
4651
4672
|
|
|
4652
4673
|
handler() {
|
|
4653
4674
|
this.$emit();
|
|
4654
|
-
}
|
|
4675
|
+
}
|
|
4676
|
+
}]
|
|
4677
|
+
|
|
4678
|
+
};
|
|
4655
4679
|
|
|
4656
4680
|
var Margin = {
|
|
4657
4681
|
mixins: [Resize],
|
|
4658
4682
|
|
|
4659
4683
|
props: {
|
|
4660
4684
|
margin: String,
|
|
4661
|
-
firstColumn: Boolean
|
|
4662
|
-
|
|
4685
|
+
firstColumn: Boolean
|
|
4686
|
+
},
|
|
4663
4687
|
|
|
4664
4688
|
data: {
|
|
4665
4689
|
margin: 'uk-margin-small-top',
|
|
4666
|
-
firstColumn: 'uk-first-column'
|
|
4667
|
-
|
|
4690
|
+
firstColumn: 'uk-first-column'
|
|
4691
|
+
},
|
|
4668
4692
|
|
|
4669
4693
|
resizeTargets() {
|
|
4670
4694
|
return [this.$el, ...toArray(this.$el.children)];
|
|
@@ -4673,8 +4697,8 @@
|
|
|
4673
4697
|
connected() {
|
|
4674
4698
|
this.registerObserver(
|
|
4675
4699
|
observeMutation(this.$el, () => this.$reset(), {
|
|
4676
|
-
childList: true
|
|
4677
|
-
|
|
4700
|
+
childList: true
|
|
4701
|
+
}));
|
|
4678
4702
|
|
|
4679
4703
|
},
|
|
4680
4704
|
|
|
@@ -4684,8 +4708,8 @@
|
|
|
4684
4708
|
|
|
4685
4709
|
return {
|
|
4686
4710
|
rows,
|
|
4687
|
-
columns: getColumns(rows)
|
|
4688
|
-
|
|
4711
|
+
columns: getColumns(rows)
|
|
4712
|
+
};
|
|
4689
4713
|
},
|
|
4690
4714
|
|
|
4691
4715
|
write(_ref) {let { columns, rows } = _ref;
|
|
@@ -4697,9 +4721,9 @@
|
|
|
4697
4721
|
}
|
|
4698
4722
|
},
|
|
4699
4723
|
|
|
4700
|
-
events: ['resize']
|
|
4701
|
-
|
|
4702
|
-
|
|
4724
|
+
events: ['resize']
|
|
4725
|
+
}
|
|
4726
|
+
};
|
|
4703
4727
|
|
|
4704
4728
|
function getRows(items) {
|
|
4705
4729
|
return sortBy(items, 'top', 'bottom');
|
|
@@ -4775,8 +4799,8 @@
|
|
|
4775
4799
|
top: offsetTop,
|
|
4776
4800
|
left: offsetLeft,
|
|
4777
4801
|
bottom: offsetTop + offsetHeight,
|
|
4778
|
-
right: offsetLeft + offsetWidth
|
|
4779
|
-
|
|
4802
|
+
right: offsetLeft + offsetWidth
|
|
4803
|
+
};
|
|
4780
4804
|
}
|
|
4781
4805
|
|
|
4782
4806
|
var Scroll = {
|
|
@@ -4786,8 +4810,8 @@
|
|
|
4786
4810
|
|
|
4787
4811
|
disconnected() {
|
|
4788
4812
|
unregisterScrollListener(this._uid);
|
|
4789
|
-
}
|
|
4790
|
-
|
|
4813
|
+
}
|
|
4814
|
+
};
|
|
4791
4815
|
|
|
4792
4816
|
const scrollListeners = new Map();
|
|
4793
4817
|
let unbindScrollListener;
|
|
@@ -4796,8 +4820,8 @@
|
|
|
4796
4820
|
unbindScrollListener ||
|
|
4797
4821
|
on(window, 'scroll', () => scrollListeners.forEach((listener) => listener()), {
|
|
4798
4822
|
passive: true,
|
|
4799
|
-
capture: true
|
|
4800
|
-
|
|
4823
|
+
capture: true
|
|
4824
|
+
});
|
|
4801
4825
|
|
|
4802
4826
|
scrollListeners.set(id, listener);
|
|
4803
4827
|
}
|
|
@@ -4819,15 +4843,15 @@
|
|
|
4819
4843
|
|
|
4820
4844
|
props: {
|
|
4821
4845
|
masonry: Boolean,
|
|
4822
|
-
parallax: Number
|
|
4823
|
-
|
|
4846
|
+
parallax: Number
|
|
4847
|
+
},
|
|
4824
4848
|
|
|
4825
4849
|
data: {
|
|
4826
4850
|
margin: 'uk-grid-margin',
|
|
4827
4851
|
clsStack: 'uk-grid-stack',
|
|
4828
4852
|
masonry: false,
|
|
4829
|
-
parallax: 0
|
|
4830
|
-
|
|
4853
|
+
parallax: 0
|
|
4854
|
+
},
|
|
4831
4855
|
|
|
4832
4856
|
connected() {
|
|
4833
4857
|
this.masonry && addClass(this.$el, 'uk-flex-top uk-flex-wrap-top');
|
|
@@ -4844,8 +4868,8 @@
|
|
|
4844
4868
|
toggleClass(this.$el, this.clsStack, columns.length < 2);
|
|
4845
4869
|
},
|
|
4846
4870
|
|
|
4847
|
-
events: ['resize']
|
|
4848
|
-
|
|
4871
|
+
events: ['resize']
|
|
4872
|
+
},
|
|
4849
4873
|
|
|
4850
4874
|
{
|
|
4851
4875
|
read(data) {
|
|
@@ -4893,8 +4917,8 @@
|
|
|
4893
4917
|
height !== false && css(this.$el, 'height', height);
|
|
4894
4918
|
},
|
|
4895
4919
|
|
|
4896
|
-
events: ['resize']
|
|
4897
|
-
|
|
4920
|
+
events: ['resize']
|
|
4921
|
+
},
|
|
4898
4922
|
|
|
4899
4923
|
{
|
|
4900
4924
|
read() {
|
|
@@ -4905,8 +4929,8 @@
|
|
|
4905
4929
|
return {
|
|
4906
4930
|
scrolled: this.parallax ?
|
|
4907
4931
|
scrolledOver(this.$el) * Math.abs(this.parallax) :
|
|
4908
|
-
false
|
|
4909
|
-
|
|
4932
|
+
false
|
|
4933
|
+
};
|
|
4910
4934
|
},
|
|
4911
4935
|
|
|
4912
4936
|
write(_ref3) {let { columns, scrolled, translates } = _ref3;
|
|
@@ -4930,10 +4954,10 @@
|
|
|
4930
4954
|
|
|
4931
4955
|
},
|
|
4932
4956
|
|
|
4933
|
-
events: ['scroll', 'resize']
|
|
4934
|
-
|
|
4935
|
-
|
|
4957
|
+
events: ['scroll', 'resize']
|
|
4958
|
+
}]
|
|
4936
4959
|
|
|
4960
|
+
};
|
|
4937
4961
|
|
|
4938
4962
|
function positionedAbsolute(el) {
|
|
4939
4963
|
return children(el).some((el) => css(el, 'position') === 'absolute');
|
|
@@ -4968,13 +4992,13 @@
|
|
|
4968
4992
|
|
|
4969
4993
|
props: {
|
|
4970
4994
|
target: String,
|
|
4971
|
-
row: Boolean
|
|
4972
|
-
|
|
4995
|
+
row: Boolean
|
|
4996
|
+
},
|
|
4973
4997
|
|
|
4974
4998
|
data: {
|
|
4975
4999
|
target: '> *',
|
|
4976
|
-
row: true
|
|
4977
|
-
|
|
5000
|
+
row: true
|
|
5001
|
+
},
|
|
4978
5002
|
|
|
4979
5003
|
computed: {
|
|
4980
5004
|
elements: {
|
|
@@ -4984,9 +5008,9 @@
|
|
|
4984
5008
|
|
|
4985
5009
|
watch() {
|
|
4986
5010
|
this.$reset();
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
|
|
5011
|
+
}
|
|
5012
|
+
}
|
|
5013
|
+
},
|
|
4990
5014
|
|
|
4991
5015
|
resizeTargets() {
|
|
4992
5016
|
return [this.$el, ...this.elements];
|
|
@@ -4995,8 +5019,8 @@
|
|
|
4995
5019
|
update: {
|
|
4996
5020
|
read() {
|
|
4997
5021
|
return {
|
|
4998
|
-
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match)
|
|
4999
|
-
|
|
5022
|
+
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match)
|
|
5023
|
+
};
|
|
5000
5024
|
},
|
|
5001
5025
|
|
|
5002
5026
|
write(_ref2) {let { rows } = _ref2;
|
|
@@ -5005,9 +5029,9 @@
|
|
|
5005
5029
|
}
|
|
5006
5030
|
},
|
|
5007
5031
|
|
|
5008
|
-
events: ['resize']
|
|
5009
|
-
|
|
5010
|
-
|
|
5032
|
+
events: ['resize']
|
|
5033
|
+
}
|
|
5034
|
+
};
|
|
5011
5035
|
|
|
5012
5036
|
function match(elements) {
|
|
5013
5037
|
if (elements.length < 2) {
|
|
@@ -5020,8 +5044,8 @@
|
|
|
5020
5044
|
|
|
5021
5045
|
return {
|
|
5022
5046
|
heights: elements.map((el, i) => heights[i].toFixed(2) === max.toFixed(2) ? '' : max),
|
|
5023
|
-
elements
|
|
5024
|
-
|
|
5047
|
+
elements
|
|
5048
|
+
};
|
|
5025
5049
|
}
|
|
5026
5050
|
|
|
5027
5051
|
function getHeight(element) {
|
|
@@ -5047,15 +5071,15 @@
|
|
|
5047
5071
|
expand: Boolean,
|
|
5048
5072
|
offsetTop: Boolean,
|
|
5049
5073
|
offsetBottom: Boolean,
|
|
5050
|
-
minHeight: Number
|
|
5051
|
-
|
|
5074
|
+
minHeight: Number
|
|
5075
|
+
},
|
|
5052
5076
|
|
|
5053
5077
|
data: {
|
|
5054
5078
|
expand: false,
|
|
5055
5079
|
offsetTop: false,
|
|
5056
5080
|
offsetBottom: false,
|
|
5057
|
-
minHeight: 0
|
|
5058
|
-
|
|
5081
|
+
minHeight: 0
|
|
5082
|
+
},
|
|
5059
5083
|
|
|
5060
5084
|
resizeTargets() {
|
|
5061
5085
|
// check for offsetTop change
|
|
@@ -5124,7 +5148,9 @@
|
|
|
5124
5148
|
}
|
|
5125
5149
|
},
|
|
5126
5150
|
|
|
5127
|
-
events: ['resize']
|
|
5151
|
+
events: ['resize']
|
|
5152
|
+
}
|
|
5153
|
+
};
|
|
5128
5154
|
|
|
5129
5155
|
var SVG = {
|
|
5130
5156
|
args: 'src',
|
|
@@ -5139,15 +5165,15 @@
|
|
|
5139
5165
|
ratio: Number,
|
|
5140
5166
|
class: String,
|
|
5141
5167
|
strokeAnimation: Boolean,
|
|
5142
|
-
attributes: 'list'
|
|
5143
|
-
|
|
5168
|
+
attributes: 'list'
|
|
5169
|
+
},
|
|
5144
5170
|
|
|
5145
5171
|
data: {
|
|
5146
5172
|
ratio: 1,
|
|
5147
5173
|
include: ['style', 'class'],
|
|
5148
5174
|
class: '',
|
|
5149
|
-
strokeAnimation: false
|
|
5150
|
-
|
|
5175
|
+
strokeAnimation: false
|
|
5176
|
+
},
|
|
5151
5177
|
|
|
5152
5178
|
beforeConnect() {
|
|
5153
5179
|
this.class += ' uk-svg';
|
|
@@ -5244,9 +5270,9 @@
|
|
|
5244
5270
|
}
|
|
5245
5271
|
|
|
5246
5272
|
dimensions.forEach((val, i) => attr(el, props[i], toFloat(val) * this.ratio || null));
|
|
5247
|
-
}
|
|
5248
|
-
|
|
5249
|
-
|
|
5273
|
+
}
|
|
5274
|
+
}
|
|
5275
|
+
};
|
|
5250
5276
|
|
|
5251
5277
|
const loadSVG = memoize(async (src) => {
|
|
5252
5278
|
if (src) {
|
|
@@ -5338,7 +5364,7 @@
|
|
|
5338
5364
|
|
|
5339
5365
|
var navbarParentIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\"><polyline fill=\"none\" stroke=\"#000\" stroke-width=\"1.1\" points=\"1 3.5 6 8.5 11 3.5\"/></svg>";
|
|
5340
5366
|
|
|
5341
|
-
var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><style>.uk-navbar-toggle-animate svg
|
|
5367
|
+
var navbarToggleIcon = "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><style>.uk-navbar-toggle-animate svg>[class*=line-]{transition:.2s ease-in-out;transition-property:transform,opacity,;transform-origin:center;opacity:1}.uk-navbar-toggle svg>.line-3{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{opacity:1}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-2{transform:rotate(45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-3{transform:rotate(-45deg)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1,.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{opacity:0}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-1{transform:translateY(6px) scaleX(0)}.uk-navbar-toggle-animate[aria-expanded=true] svg>.line-4{transform:translateY(-6px) scaleX(0)}</style><rect class=\"line-1\" y=\"3\" width=\"20\" height=\"2\"/><rect class=\"line-2\" y=\"9\" width=\"20\" height=\"2\"/><rect class=\"line-3\" y=\"9\" width=\"20\" height=\"2\"/><rect class=\"line-4\" y=\"15\" width=\"20\" height=\"2\"/></svg>";
|
|
5342
5368
|
|
|
5343
5369
|
var overlayIcon = "<svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"19\" y=\"0\" width=\"1\" height=\"40\"/><rect x=\"0\" y=\"19\" width=\"40\" height=\"1\"/></svg>";
|
|
5344
5370
|
|
|
@@ -5383,8 +5409,8 @@
|
|
|
5383
5409
|
'slidenav-next': slidenavNext,
|
|
5384
5410
|
'slidenav-next-large': slidenavNextLarge,
|
|
5385
5411
|
'slidenav-previous': slidenavPrevious,
|
|
5386
|
-
'slidenav-previous-large': slidenavPreviousLarge
|
|
5387
|
-
|
|
5412
|
+
'slidenav-previous-large': slidenavPreviousLarge
|
|
5413
|
+
};
|
|
5388
5414
|
|
|
5389
5415
|
const Icon = {
|
|
5390
5416
|
install: install$1,
|
|
@@ -5412,7 +5438,9 @@
|
|
|
5412
5438
|
}
|
|
5413
5439
|
|
|
5414
5440
|
return icon;
|
|
5415
|
-
}
|
|
5441
|
+
}
|
|
5442
|
+
}
|
|
5443
|
+
};
|
|
5416
5444
|
|
|
5417
5445
|
const IconComponent = {
|
|
5418
5446
|
args: false,
|
|
@@ -5420,13 +5448,13 @@
|
|
|
5420
5448
|
extends: Icon,
|
|
5421
5449
|
|
|
5422
5450
|
data: (vm) => ({
|
|
5423
|
-
icon: hyphenate(vm.constructor.options.name)
|
|
5424
|
-
|
|
5451
|
+
icon: hyphenate(vm.constructor.options.name)
|
|
5452
|
+
}),
|
|
5425
5453
|
|
|
5426
5454
|
beforeConnect() {
|
|
5427
5455
|
addClass(this.$el, this.$options.id);
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5456
|
+
}
|
|
5457
|
+
};
|
|
5430
5458
|
|
|
5431
5459
|
const NavParentIcon = {
|
|
5432
5460
|
extends: IconComponent,
|
|
@@ -5434,8 +5462,8 @@
|
|
|
5434
5462
|
beforeConnect() {
|
|
5435
5463
|
const icon = this.$props.icon;
|
|
5436
5464
|
this.icon = closest(this.$el, '.uk-nav-primary') ? icon + "-large" : icon;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5465
|
+
}
|
|
5466
|
+
};
|
|
5439
5467
|
|
|
5440
5468
|
const Slidenav = {
|
|
5441
5469
|
extends: IconComponent,
|
|
@@ -5444,8 +5472,8 @@
|
|
|
5444
5472
|
addClass(this.$el, 'uk-slidenav');
|
|
5445
5473
|
const icon = this.$props.icon;
|
|
5446
5474
|
this.icon = hasClass(this.$el, 'uk-slidenav-large') ? icon + "-large" : icon;
|
|
5447
|
-
}
|
|
5448
|
-
|
|
5475
|
+
}
|
|
5476
|
+
};
|
|
5449
5477
|
|
|
5450
5478
|
const Search = {
|
|
5451
5479
|
extends: IconComponent,
|
|
@@ -5457,16 +5485,16 @@
|
|
|
5457
5485
|
parents(this.$el, '.uk-search-navbar').length ?
|
|
5458
5486
|
'search-navbar' :
|
|
5459
5487
|
this.$props.icon;
|
|
5460
|
-
}
|
|
5461
|
-
|
|
5488
|
+
}
|
|
5489
|
+
};
|
|
5462
5490
|
|
|
5463
5491
|
const Close = {
|
|
5464
5492
|
extends: IconComponent,
|
|
5465
5493
|
|
|
5466
5494
|
beforeConnect() {
|
|
5467
5495
|
this.icon = "close-" + (hasClass(this.$el, 'uk-close-large') ? 'large' : 'icon');
|
|
5468
|
-
}
|
|
5469
|
-
|
|
5496
|
+
}
|
|
5497
|
+
};
|
|
5470
5498
|
|
|
5471
5499
|
const Spinner = {
|
|
5472
5500
|
extends: IconComponent,
|
|
@@ -5480,9 +5508,9 @@
|
|
|
5480
5508
|
}
|
|
5481
5509
|
|
|
5482
5510
|
return icon;
|
|
5483
|
-
}
|
|
5484
|
-
|
|
5485
|
-
|
|
5511
|
+
}
|
|
5512
|
+
}
|
|
5513
|
+
};
|
|
5486
5514
|
|
|
5487
5515
|
const parsed = {};
|
|
5488
5516
|
function install$1(UIkit) {
|
|
@@ -5530,8 +5558,8 @@
|
|
|
5530
5558
|
offsetTop: String,
|
|
5531
5559
|
offsetLeft: String,
|
|
5532
5560
|
target: String,
|
|
5533
|
-
loading: String
|
|
5534
|
-
|
|
5561
|
+
loading: String
|
|
5562
|
+
},
|
|
5535
5563
|
|
|
5536
5564
|
data: {
|
|
5537
5565
|
dataSrc: '',
|
|
@@ -5539,8 +5567,8 @@
|
|
|
5539
5567
|
offsetTop: '50vh',
|
|
5540
5568
|
offsetLeft: '50vw',
|
|
5541
5569
|
target: false,
|
|
5542
|
-
loading: 'lazy'
|
|
5543
|
-
|
|
5570
|
+
loading: 'lazy'
|
|
5571
|
+
},
|
|
5544
5572
|
|
|
5545
5573
|
connected() {
|
|
5546
5574
|
if (this.loading !== 'lazy') {
|
|
@@ -5571,9 +5599,9 @@
|
|
|
5571
5599
|
{
|
|
5572
5600
|
rootMargin: toPx(this.offsetTop, 'height') + "px " + toPx(
|
|
5573
5601
|
this.offsetLeft,
|
|
5574
|
-
'width') + "px"
|
|
5575
|
-
|
|
5602
|
+
'width') + "px"
|
|
5576
5603
|
|
|
5604
|
+
}));
|
|
5577
5605
|
|
|
5578
5606
|
|
|
5579
5607
|
},
|
|
@@ -5597,9 +5625,9 @@
|
|
|
5597
5625
|
removeAttr(image, 'loading');
|
|
5598
5626
|
setSrcAttrs(this.$el, image.currentSrc);
|
|
5599
5627
|
return this._data.image = image;
|
|
5600
|
-
}
|
|
5601
|
-
|
|
5602
|
-
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
};
|
|
5603
5631
|
|
|
5604
5632
|
function setSrcAttrs(el, src) {
|
|
5605
5633
|
if (isImg(el)) {
|
|
@@ -5689,12 +5717,12 @@
|
|
|
5689
5717
|
|
|
5690
5718
|
var Media = {
|
|
5691
5719
|
props: {
|
|
5692
|
-
media: Boolean
|
|
5693
|
-
|
|
5720
|
+
media: Boolean
|
|
5721
|
+
},
|
|
5694
5722
|
|
|
5695
5723
|
data: {
|
|
5696
|
-
media: false
|
|
5697
|
-
|
|
5724
|
+
media: false
|
|
5725
|
+
},
|
|
5698
5726
|
|
|
5699
5727
|
connected() {
|
|
5700
5728
|
const media = toMedia(this.media, this.$el);
|
|
@@ -5715,8 +5743,8 @@
|
|
|
5715
5743
|
|
|
5716
5744
|
disconnected() {var _this$offMediaObj;
|
|
5717
5745
|
(_this$offMediaObj = this.offMediaObj) == null ? void 0 : _this$offMediaObj.call(this);
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5746
|
+
}
|
|
5747
|
+
};
|
|
5720
5748
|
|
|
5721
5749
|
function toMedia(value, element) {
|
|
5722
5750
|
if (isString(value)) {
|
|
@@ -5734,21 +5762,21 @@
|
|
|
5734
5762
|
mixins: [Class, Media, Resize],
|
|
5735
5763
|
|
|
5736
5764
|
props: {
|
|
5737
|
-
fill: String
|
|
5738
|
-
|
|
5765
|
+
fill: String
|
|
5766
|
+
},
|
|
5739
5767
|
|
|
5740
5768
|
data: {
|
|
5741
5769
|
fill: '',
|
|
5742
5770
|
clsWrapper: 'uk-leader-fill',
|
|
5743
5771
|
clsHide: 'uk-leader-hide',
|
|
5744
|
-
attrFill: 'data-fill'
|
|
5745
|
-
|
|
5772
|
+
attrFill: 'data-fill'
|
|
5773
|
+
},
|
|
5746
5774
|
|
|
5747
5775
|
computed: {
|
|
5748
5776
|
fill(_ref) {let { fill } = _ref;
|
|
5749
5777
|
return fill || css(this.$el, '--uk-leader-fill-content');
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5778
|
+
}
|
|
5779
|
+
},
|
|
5752
5780
|
|
|
5753
5781
|
connected() {
|
|
5754
5782
|
[this.wrapper] = wrapInner(this.$el, "<span class=\"" + this.clsWrapper + "\">");
|
|
@@ -5765,8 +5793,8 @@
|
|
|
5765
5793
|
return {
|
|
5766
5794
|
width,
|
|
5767
5795
|
fill: this.fill,
|
|
5768
|
-
hide: !this.matchMedia
|
|
5769
|
-
|
|
5796
|
+
hide: !this.matchMedia
|
|
5797
|
+
};
|
|
5770
5798
|
},
|
|
5771
5799
|
|
|
5772
5800
|
write(_ref2) {let { width, fill, hide } = _ref2;
|
|
@@ -5774,7 +5802,9 @@
|
|
|
5774
5802
|
attr(this.wrapper, this.attrFill, new Array(width).join(fill));
|
|
5775
5803
|
},
|
|
5776
5804
|
|
|
5777
|
-
events: ['resize']
|
|
5805
|
+
events: ['resize']
|
|
5806
|
+
}
|
|
5807
|
+
};
|
|
5778
5808
|
|
|
5779
5809
|
var modal = {
|
|
5780
5810
|
install,
|
|
@@ -5785,8 +5815,8 @@
|
|
|
5785
5815
|
clsPage: 'uk-modal-page',
|
|
5786
5816
|
selPanel: '.uk-modal-dialog',
|
|
5787
5817
|
selClose:
|
|
5788
|
-
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5789
|
-
|
|
5818
|
+
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5819
|
+
},
|
|
5790
5820
|
|
|
5791
5821
|
events: [
|
|
5792
5822
|
{
|
|
@@ -5802,8 +5832,8 @@
|
|
|
5802
5832
|
}
|
|
5803
5833
|
|
|
5804
5834
|
height(this.$el); // force reflow
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5835
|
+
}
|
|
5836
|
+
},
|
|
5807
5837
|
|
|
5808
5838
|
{
|
|
5809
5839
|
name: 'hidden',
|
|
@@ -5813,10 +5843,10 @@
|
|
|
5813
5843
|
handler() {
|
|
5814
5844
|
css(this.$el, 'display', '');
|
|
5815
5845
|
removeClass(this.$el, 'uk-flex');
|
|
5816
|
-
}
|
|
5817
|
-
|
|
5818
|
-
|
|
5846
|
+
}
|
|
5847
|
+
}]
|
|
5819
5848
|
|
|
5849
|
+
};
|
|
5820
5850
|
|
|
5821
5851
|
function install(_ref) {let { modal } = _ref;
|
|
5822
5852
|
modal.dialog = function (content, options) {
|
|
@@ -5895,8 +5925,8 @@
|
|
|
5895
5925
|
|
|
5896
5926
|
modal.labels = {
|
|
5897
5927
|
ok: 'Ok',
|
|
5898
|
-
cancel: 'Cancel'
|
|
5899
|
-
|
|
5928
|
+
cancel: 'Cancel'
|
|
5929
|
+
};
|
|
5900
5930
|
|
|
5901
5931
|
function openDialog(tmpl, options, hideFn, submitFn) {
|
|
5902
5932
|
options = { bgClose: false, escClose: true, labels: modal.labels, ...options };
|
|
@@ -5927,7 +5957,9 @@
|
|
|
5927
5957
|
data: {
|
|
5928
5958
|
targets: '> .uk-parent',
|
|
5929
5959
|
toggle: '> a',
|
|
5930
|
-
content: '> ul'
|
|
5960
|
+
content: '> ul'
|
|
5961
|
+
}
|
|
5962
|
+
};
|
|
5931
5963
|
|
|
5932
5964
|
var navbar = {
|
|
5933
5965
|
mixins: [Class, Container],
|
|
@@ -5949,8 +5981,8 @@
|
|
|
5949
5981
|
targetX: Boolean,
|
|
5950
5982
|
targetY: Boolean,
|
|
5951
5983
|
animation: Boolean,
|
|
5952
|
-
animateOut: Boolean
|
|
5953
|
-
|
|
5984
|
+
animateOut: Boolean
|
|
5985
|
+
},
|
|
5954
5986
|
|
|
5955
5987
|
data: {
|
|
5956
5988
|
dropdown: '.uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle',
|
|
@@ -5960,8 +5992,8 @@
|
|
|
5960
5992
|
dropbar: false,
|
|
5961
5993
|
dropbarAnchor: false,
|
|
5962
5994
|
duration: 200,
|
|
5963
|
-
container: false
|
|
5964
|
-
|
|
5995
|
+
container: false
|
|
5996
|
+
},
|
|
5965
5997
|
|
|
5966
5998
|
computed: {
|
|
5967
5999
|
dropbarAnchor(_ref, $el) {let { dropbarAnchor } = _ref;
|
|
@@ -5986,8 +6018,8 @@
|
|
|
5986
6018
|
addClass(dropbar, 'uk-dropbar', 'uk-dropbar-top', 'uk-navbar-dropbar');
|
|
5987
6019
|
},
|
|
5988
6020
|
|
|
5989
|
-
immediate: true
|
|
5990
|
-
|
|
6021
|
+
immediate: true
|
|
6022
|
+
},
|
|
5991
6023
|
|
|
5992
6024
|
dropContainer(_, $el) {
|
|
5993
6025
|
return this.container || $el;
|
|
@@ -6018,13 +6050,13 @@
|
|
|
6018
6050
|
flip: false,
|
|
6019
6051
|
shift: true,
|
|
6020
6052
|
pos: "bottom-" + this.align,
|
|
6021
|
-
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6022
|
-
|
|
6053
|
+
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6054
|
+
});
|
|
6023
6055
|
|
|
6024
6056
|
},
|
|
6025
6057
|
|
|
6026
|
-
immediate: true
|
|
6027
|
-
|
|
6058
|
+
immediate: true
|
|
6059
|
+
},
|
|
6028
6060
|
|
|
6029
6061
|
toggles: {
|
|
6030
6062
|
get(_ref4, $el) {let { dropdown } = _ref4;
|
|
@@ -6041,9 +6073,9 @@
|
|
|
6041
6073
|
}
|
|
6042
6074
|
},
|
|
6043
6075
|
|
|
6044
|
-
immediate: true
|
|
6045
|
-
|
|
6046
|
-
|
|
6076
|
+
immediate: true
|
|
6077
|
+
}
|
|
6078
|
+
},
|
|
6047
6079
|
|
|
6048
6080
|
disconnected() {
|
|
6049
6081
|
this.dropbar && remove$1(this.dropbar);
|
|
@@ -6069,8 +6101,8 @@
|
|
|
6069
6101
|
{
|
|
6070
6102
|
active.hide(false);
|
|
6071
6103
|
}
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6104
|
+
}
|
|
6105
|
+
},
|
|
6074
6106
|
|
|
6075
6107
|
{
|
|
6076
6108
|
name: 'keydown',
|
|
@@ -6097,8 +6129,8 @@
|
|
|
6097
6129
|
}
|
|
6098
6130
|
|
|
6099
6131
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6132
|
+
}
|
|
6133
|
+
},
|
|
6102
6134
|
|
|
6103
6135
|
{
|
|
6104
6136
|
name: 'keydown',
|
|
@@ -6141,8 +6173,8 @@
|
|
|
6141
6173
|
}
|
|
6142
6174
|
|
|
6143
6175
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6144
|
-
}
|
|
6145
|
-
|
|
6176
|
+
}
|
|
6177
|
+
},
|
|
6146
6178
|
|
|
6147
6179
|
{
|
|
6148
6180
|
name: 'mouseleave',
|
|
@@ -6165,8 +6197,8 @@
|
|
|
6165
6197
|
{
|
|
6166
6198
|
active.hide();
|
|
6167
6199
|
}
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6200
|
+
}
|
|
6201
|
+
},
|
|
6170
6202
|
|
|
6171
6203
|
{
|
|
6172
6204
|
name: 'beforeshow',
|
|
@@ -6189,8 +6221,8 @@
|
|
|
6189
6221
|
}
|
|
6190
6222
|
|
|
6191
6223
|
addClass(target, this.clsDrop + "-dropbar");
|
|
6192
|
-
}
|
|
6193
|
-
|
|
6224
|
+
}
|
|
6225
|
+
},
|
|
6194
6226
|
|
|
6195
6227
|
{
|
|
6196
6228
|
name: 'show',
|
|
@@ -6222,8 +6254,8 @@
|
|
|
6222
6254
|
target);
|
|
6223
6255
|
|
|
6224
6256
|
});
|
|
6225
|
-
}
|
|
6226
|
-
|
|
6257
|
+
}
|
|
6258
|
+
},
|
|
6227
6259
|
|
|
6228
6260
|
{
|
|
6229
6261
|
name: 'beforehide',
|
|
@@ -6246,8 +6278,8 @@
|
|
|
6246
6278
|
{
|
|
6247
6279
|
e.preventDefault();
|
|
6248
6280
|
}
|
|
6249
|
-
}
|
|
6250
|
-
|
|
6281
|
+
}
|
|
6282
|
+
},
|
|
6251
6283
|
|
|
6252
6284
|
{
|
|
6253
6285
|
name: 'hide',
|
|
@@ -6272,8 +6304,8 @@
|
|
|
6272
6304
|
if (!active || (active == null ? void 0 : active.$el) === target) {
|
|
6273
6305
|
this.transitionTo(0);
|
|
6274
6306
|
}
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6307
|
+
}
|
|
6308
|
+
}],
|
|
6277
6309
|
|
|
6278
6310
|
|
|
6279
6311
|
methods: {
|
|
@@ -6297,8 +6329,8 @@
|
|
|
6297
6329
|
Transition.start(
|
|
6298
6330
|
el,
|
|
6299
6331
|
{
|
|
6300
|
-
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6301
|
-
|
|
6332
|
+
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6333
|
+
},
|
|
6302
6334
|
this.duration)]).
|
|
6303
6335
|
|
|
6304
6336
|
|
|
@@ -6312,9 +6344,9 @@
|
|
|
6312
6344
|
|
|
6313
6345
|
isDropbarDrop(el) {
|
|
6314
6346
|
return this.getDropdown(el) && hasClass(el, this.clsDrop);
|
|
6315
|
-
}
|
|
6316
|
-
|
|
6317
|
-
|
|
6347
|
+
}
|
|
6348
|
+
}
|
|
6349
|
+
};
|
|
6318
6350
|
|
|
6319
6351
|
function handleNavItemNavigation(e, toggles, active) {
|
|
6320
6352
|
const { current, keyCode } = e;
|
|
@@ -6351,22 +6383,23 @@
|
|
|
6351
6383
|
LEFT: 37,
|
|
6352
6384
|
UP: 38,
|
|
6353
6385
|
RIGHT: 39,
|
|
6354
|
-
DOWN: 40
|
|
6386
|
+
DOWN: 40
|
|
6387
|
+
};
|
|
6355
6388
|
|
|
6356
6389
|
var Swipe = {
|
|
6357
6390
|
props: {
|
|
6358
|
-
swiping: Boolean
|
|
6359
|
-
|
|
6391
|
+
swiping: Boolean
|
|
6392
|
+
},
|
|
6360
6393
|
|
|
6361
6394
|
data: {
|
|
6362
|
-
swiping: true
|
|
6363
|
-
|
|
6395
|
+
swiping: true
|
|
6396
|
+
},
|
|
6364
6397
|
|
|
6365
6398
|
computed: {
|
|
6366
6399
|
swipeTarget(props, $el) {
|
|
6367
6400
|
return $el;
|
|
6368
|
-
}
|
|
6369
|
-
|
|
6401
|
+
}
|
|
6402
|
+
},
|
|
6370
6403
|
|
|
6371
6404
|
connected() {
|
|
6372
6405
|
if (!this.swiping) {
|
|
@@ -6399,10 +6432,10 @@
|
|
|
6399
6432
|
});
|
|
6400
6433
|
}
|
|
6401
6434
|
});
|
|
6402
|
-
}
|
|
6403
|
-
|
|
6404
|
-
}
|
|
6405
|
-
|
|
6435
|
+
}
|
|
6436
|
+
});
|
|
6437
|
+
}
|
|
6438
|
+
};
|
|
6406
6439
|
|
|
6407
6440
|
function swipeDirection(x1, y1, x2, y2) {
|
|
6408
6441
|
return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ?
|
|
@@ -6422,8 +6455,8 @@
|
|
|
6422
6455
|
props: {
|
|
6423
6456
|
mode: String,
|
|
6424
6457
|
flip: Boolean,
|
|
6425
|
-
overlay: Boolean
|
|
6426
|
-
|
|
6458
|
+
overlay: Boolean
|
|
6459
|
+
},
|
|
6427
6460
|
|
|
6428
6461
|
data: {
|
|
6429
6462
|
mode: 'slide',
|
|
@@ -6438,8 +6471,8 @@
|
|
|
6438
6471
|
clsMode: 'uk-offcanvas',
|
|
6439
6472
|
clsOverlay: 'uk-offcanvas-overlay',
|
|
6440
6473
|
selClose: '.uk-offcanvas-close',
|
|
6441
|
-
container: false
|
|
6442
|
-
|
|
6474
|
+
container: false
|
|
6475
|
+
},
|
|
6443
6476
|
|
|
6444
6477
|
computed: {
|
|
6445
6478
|
clsFlip(_ref) {let { flip, clsFlip } = _ref;
|
|
@@ -6464,8 +6497,8 @@
|
|
|
6464
6497
|
|
|
6465
6498
|
transitionElement(_ref6) {let { mode } = _ref6;
|
|
6466
6499
|
return mode === 'reveal' ? parent(this.panel) : this.panel;
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6500
|
+
}
|
|
6501
|
+
},
|
|
6469
6502
|
|
|
6470
6503
|
update: {
|
|
6471
6504
|
read() {
|
|
@@ -6474,8 +6507,8 @@
|
|
|
6474
6507
|
}
|
|
6475
6508
|
},
|
|
6476
6509
|
|
|
6477
|
-
events: ['resize']
|
|
6478
|
-
|
|
6510
|
+
events: ['resize']
|
|
6511
|
+
},
|
|
6479
6512
|
|
|
6480
6513
|
events: [
|
|
6481
6514
|
{
|
|
@@ -6490,8 +6523,8 @@
|
|
|
6490
6523
|
|
|
6491
6524
|
handler(e) {
|
|
6492
6525
|
e.cancelable && e.preventDefault();
|
|
6493
|
-
}
|
|
6494
|
-
|
|
6526
|
+
}
|
|
6527
|
+
},
|
|
6495
6528
|
|
|
6496
6529
|
{
|
|
6497
6530
|
name: 'show',
|
|
@@ -6521,8 +6554,8 @@
|
|
|
6521
6554
|
addClass(body, this.clsContainerAnimation);
|
|
6522
6555
|
|
|
6523
6556
|
this.clsContainerAnimation && suppressUserScale();
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6557
|
+
}
|
|
6558
|
+
},
|
|
6526
6559
|
|
|
6527
6560
|
{
|
|
6528
6561
|
name: 'hide',
|
|
@@ -6532,8 +6565,8 @@
|
|
|
6532
6565
|
handler() {
|
|
6533
6566
|
removeClass(document.body, this.clsContainerAnimation);
|
|
6534
6567
|
css(document.body, 'touch-action', '');
|
|
6535
|
-
}
|
|
6536
|
-
|
|
6568
|
+
}
|
|
6569
|
+
},
|
|
6537
6570
|
|
|
6538
6571
|
{
|
|
6539
6572
|
name: 'hidden',
|
|
@@ -6552,8 +6585,8 @@
|
|
|
6552
6585
|
css(this.$el, 'display', '');
|
|
6553
6586
|
css(this.panel, 'maxWidth', '');
|
|
6554
6587
|
removeClass(document.body, this.clsContainer, this.clsFlip);
|
|
6555
|
-
}
|
|
6556
|
-
|
|
6588
|
+
}
|
|
6589
|
+
},
|
|
6557
6590
|
|
|
6558
6591
|
{
|
|
6559
6592
|
name: 'swipeLeft swipeRight',
|
|
@@ -6562,10 +6595,10 @@
|
|
|
6562
6595
|
if (this.isToggled() && endsWith(e.type, 'Left') ^ this.flip) {
|
|
6563
6596
|
this.hide();
|
|
6564
6597
|
}
|
|
6565
|
-
}
|
|
6566
|
-
|
|
6567
|
-
|
|
6598
|
+
}
|
|
6599
|
+
}]
|
|
6568
6600
|
|
|
6601
|
+
};
|
|
6569
6602
|
|
|
6570
6603
|
// Chrome in responsive mode zooms page upon opening offcanvas
|
|
6571
6604
|
function suppressUserScale() {
|
|
@@ -6589,14 +6622,14 @@
|
|
|
6589
6622
|
props: {
|
|
6590
6623
|
selContainer: String,
|
|
6591
6624
|
selContent: String,
|
|
6592
|
-
minHeight: Number
|
|
6593
|
-
|
|
6625
|
+
minHeight: Number
|
|
6626
|
+
},
|
|
6594
6627
|
|
|
6595
6628
|
data: {
|
|
6596
6629
|
selContainer: '.uk-modal',
|
|
6597
6630
|
selContent: '.uk-modal-dialog',
|
|
6598
|
-
minHeight: 150
|
|
6599
|
-
|
|
6631
|
+
minHeight: 150
|
|
6632
|
+
},
|
|
6600
6633
|
|
|
6601
6634
|
computed: {
|
|
6602
6635
|
container(_ref, $el) {let { selContainer } = _ref;
|
|
@@ -6605,8 +6638,8 @@
|
|
|
6605
6638
|
|
|
6606
6639
|
content(_ref2, $el) {let { selContent } = _ref2;
|
|
6607
6640
|
return closest($el, selContent);
|
|
6608
|
-
}
|
|
6609
|
-
|
|
6641
|
+
}
|
|
6642
|
+
},
|
|
6610
6643
|
|
|
6611
6644
|
resizeTargets() {
|
|
6612
6645
|
return [this.container, this.content];
|
|
@@ -6621,16 +6654,18 @@
|
|
|
6621
6654
|
return {
|
|
6622
6655
|
max: Math.max(
|
|
6623
6656
|
this.minHeight,
|
|
6624
|
-
height(this.container) - (dimensions(this.content).height - height(this.$el)))
|
|
6625
|
-
|
|
6657
|
+
height(this.container) - (dimensions(this.content).height - height(this.$el)))
|
|
6626
6658
|
|
|
6659
|
+
};
|
|
6627
6660
|
},
|
|
6628
6661
|
|
|
6629
6662
|
write(_ref3) {let { max } = _ref3;
|
|
6630
6663
|
css(this.$el, { minHeight: this.minHeight, maxHeight: max });
|
|
6631
6664
|
},
|
|
6632
6665
|
|
|
6633
|
-
events: ['resize']
|
|
6666
|
+
events: ['resize']
|
|
6667
|
+
}
|
|
6668
|
+
};
|
|
6634
6669
|
|
|
6635
6670
|
var responsive = {
|
|
6636
6671
|
mixins: [Resize],
|
|
@@ -6658,23 +6693,25 @@
|
|
|
6658
6693
|
Dimensions.contain(
|
|
6659
6694
|
{
|
|
6660
6695
|
height: this.height,
|
|
6661
|
-
width: this.width
|
|
6662
|
-
|
|
6696
|
+
width: this.width
|
|
6697
|
+
},
|
|
6663
6698
|
dim).
|
|
6664
6699
|
height);
|
|
6665
6700
|
|
|
6666
6701
|
},
|
|
6667
6702
|
|
|
6668
|
-
events: ['resize']
|
|
6703
|
+
events: ['resize']
|
|
6704
|
+
}
|
|
6705
|
+
};
|
|
6669
6706
|
|
|
6670
6707
|
var scroll = {
|
|
6671
6708
|
props: {
|
|
6672
|
-
offset: Number
|
|
6673
|
-
|
|
6709
|
+
offset: Number
|
|
6710
|
+
},
|
|
6674
6711
|
|
|
6675
6712
|
data: {
|
|
6676
|
-
offset: 0
|
|
6677
|
-
|
|
6713
|
+
offset: 0
|
|
6714
|
+
},
|
|
6678
6715
|
|
|
6679
6716
|
connected() {
|
|
6680
6717
|
registerClick(this);
|
|
@@ -6692,9 +6729,9 @@
|
|
|
6692
6729
|
await scrollIntoView(el, { offset: this.offset });
|
|
6693
6730
|
trigger(this.$el, 'scrolled', [this, el]);
|
|
6694
6731
|
}
|
|
6695
|
-
}
|
|
6696
|
-
|
|
6697
|
-
|
|
6732
|
+
}
|
|
6733
|
+
}
|
|
6734
|
+
};
|
|
6698
6735
|
|
|
6699
6736
|
const components$1 = new Set();
|
|
6700
6737
|
function registerClick(cmp) {
|
|
@@ -6742,8 +6779,8 @@
|
|
|
6742
6779
|
offsetTop: Number,
|
|
6743
6780
|
offsetLeft: Number,
|
|
6744
6781
|
repeat: Boolean,
|
|
6745
|
-
delay: Number
|
|
6746
|
-
|
|
6782
|
+
delay: Number
|
|
6783
|
+
},
|
|
6747
6784
|
|
|
6748
6785
|
data: () => ({
|
|
6749
6786
|
cls: '',
|
|
@@ -6753,8 +6790,8 @@
|
|
|
6753
6790
|
offsetLeft: 0,
|
|
6754
6791
|
repeat: false,
|
|
6755
6792
|
delay: 0,
|
|
6756
|
-
inViewClass: 'uk-scrollspy-inview'
|
|
6757
|
-
|
|
6793
|
+
inViewClass: 'uk-scrollspy-inview'
|
|
6794
|
+
}),
|
|
6758
6795
|
|
|
6759
6796
|
computed: {
|
|
6760
6797
|
elements: {
|
|
@@ -6773,9 +6810,9 @@
|
|
|
6773
6810
|
}
|
|
6774
6811
|
},
|
|
6775
6812
|
|
|
6776
|
-
immediate: true
|
|
6777
|
-
|
|
6778
|
-
|
|
6813
|
+
immediate: true
|
|
6814
|
+
}
|
|
6815
|
+
},
|
|
6779
6816
|
|
|
6780
6817
|
connected() {
|
|
6781
6818
|
this._data.elements = new Map();
|
|
@@ -6787,8 +6824,8 @@
|
|
|
6787
6824
|
for (const { target: el, isIntersecting } of records) {
|
|
6788
6825
|
if (!elements.has(el)) {
|
|
6789
6826
|
elements.set(el, {
|
|
6790
|
-
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6791
|
-
|
|
6827
|
+
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6828
|
+
});
|
|
6792
6829
|
}
|
|
6793
6830
|
|
|
6794
6831
|
const state = elements.get(el);
|
|
@@ -6803,9 +6840,9 @@
|
|
|
6803
6840
|
},
|
|
6804
6841
|
{
|
|
6805
6842
|
rootMargin: toPx(this.offsetTop, 'height') - 1 + "px " + (
|
|
6806
|
-
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6807
|
-
|
|
6843
|
+
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6808
6844
|
|
|
6845
|
+
},
|
|
6809
6846
|
false));
|
|
6810
6847
|
|
|
6811
6848
|
|
|
@@ -6837,8 +6874,8 @@
|
|
|
6837
6874
|
this.toggle(el, false);
|
|
6838
6875
|
}
|
|
6839
6876
|
}
|
|
6840
|
-
}
|
|
6841
|
-
|
|
6877
|
+
}
|
|
6878
|
+
}],
|
|
6842
6879
|
|
|
6843
6880
|
|
|
6844
6881
|
methods: {
|
|
@@ -6871,7 +6908,9 @@
|
|
|
6871
6908
|
|
|
6872
6909
|
// change to `visibility: hidden` does not trigger observers
|
|
6873
6910
|
this.$update(el);
|
|
6874
|
-
}
|
|
6911
|
+
}
|
|
6912
|
+
}
|
|
6913
|
+
};
|
|
6875
6914
|
|
|
6876
6915
|
var scrollspyNav = {
|
|
6877
6916
|
mixins: [Scroll],
|
|
@@ -6881,16 +6920,16 @@
|
|
|
6881
6920
|
closest: String,
|
|
6882
6921
|
scroll: Boolean,
|
|
6883
6922
|
overflow: Boolean,
|
|
6884
|
-
offset: Number
|
|
6885
|
-
|
|
6923
|
+
offset: Number
|
|
6924
|
+
},
|
|
6886
6925
|
|
|
6887
6926
|
data: {
|
|
6888
6927
|
cls: 'uk-active',
|
|
6889
6928
|
closest: false,
|
|
6890
6929
|
scroll: false,
|
|
6891
6930
|
overflow: true,
|
|
6892
|
-
offset: 0
|
|
6893
|
-
|
|
6931
|
+
offset: 0
|
|
6932
|
+
},
|
|
6894
6933
|
|
|
6895
6934
|
computed: {
|
|
6896
6935
|
links: {
|
|
@@ -6904,13 +6943,13 @@
|
|
|
6904
6943
|
}
|
|
6905
6944
|
},
|
|
6906
6945
|
|
|
6907
|
-
immediate: true
|
|
6908
|
-
|
|
6946
|
+
immediate: true
|
|
6947
|
+
},
|
|
6909
6948
|
|
|
6910
6949
|
elements(_ref) {let { closest: selector } = _ref;
|
|
6911
6950
|
return closest(this.links, selector || '*');
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6951
|
+
}
|
|
6952
|
+
},
|
|
6914
6953
|
|
|
6915
6954
|
update: [
|
|
6916
6955
|
{
|
|
@@ -6960,7 +6999,10 @@
|
|
|
6960
6999
|
}
|
|
6961
7000
|
},
|
|
6962
7001
|
|
|
6963
|
-
events: ['scroll', 'resize']
|
|
7002
|
+
events: ['scroll', 'resize']
|
|
7003
|
+
}]
|
|
7004
|
+
|
|
7005
|
+
};
|
|
6964
7006
|
|
|
6965
7007
|
var sticky = {
|
|
6966
7008
|
mixins: [Class, Media, Resize, Scroll],
|
|
@@ -6980,8 +7022,8 @@
|
|
|
6980
7022
|
clsBelow: String,
|
|
6981
7023
|
selTarget: String,
|
|
6982
7024
|
showOnUp: Boolean,
|
|
6983
|
-
targetOffset: Number
|
|
6984
|
-
|
|
7025
|
+
targetOffset: Number
|
|
7026
|
+
},
|
|
6985
7027
|
|
|
6986
7028
|
data: {
|
|
6987
7029
|
position: 'top',
|
|
@@ -6998,14 +7040,14 @@
|
|
|
6998
7040
|
clsBelow: 'uk-sticky-below',
|
|
6999
7041
|
selTarget: '',
|
|
7000
7042
|
showOnUp: false,
|
|
7001
|
-
targetOffset: false
|
|
7002
|
-
|
|
7043
|
+
targetOffset: false
|
|
7044
|
+
},
|
|
7003
7045
|
|
|
7004
7046
|
computed: {
|
|
7005
7047
|
selTarget(_ref, $el) {let { selTarget } = _ref;
|
|
7006
7048
|
return selTarget && $(selTarget, $el) || $el;
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7049
|
+
}
|
|
7050
|
+
},
|
|
7009
7051
|
|
|
7010
7052
|
resizeTargets() {
|
|
7011
7053
|
return document.documentElement;
|
|
@@ -7042,8 +7084,8 @@
|
|
|
7042
7084
|
|
|
7043
7085
|
handler() {
|
|
7044
7086
|
this.$emit('resize');
|
|
7045
|
-
}
|
|
7046
|
-
|
|
7087
|
+
}
|
|
7088
|
+
},
|
|
7047
7089
|
{
|
|
7048
7090
|
name: 'load hashchange popstate',
|
|
7049
7091
|
|
|
@@ -7074,13 +7116,13 @@
|
|
|
7074
7116
|
toPx(this.offset, 'height', this.placeholder);
|
|
7075
7117
|
}
|
|
7076
7118
|
});
|
|
7077
|
-
}
|
|
7078
|
-
|
|
7119
|
+
}
|
|
7120
|
+
}],
|
|
7079
7121
|
|
|
7080
7122
|
|
|
7081
7123
|
update: [
|
|
7082
7124
|
{
|
|
7083
|
-
read(_ref2, types) {let { height: height$1, margin } = _ref2;
|
|
7125
|
+
read(_ref2, types) {let { height: height$1, width, margin } = _ref2;
|
|
7084
7126
|
this.inactive = !this.matchMedia || !isVisible(this.$el);
|
|
7085
7127
|
|
|
7086
7128
|
if (this.inactive) {
|
|
@@ -7094,7 +7136,7 @@
|
|
|
7094
7136
|
}
|
|
7095
7137
|
|
|
7096
7138
|
if (!this.active) {
|
|
7097
|
-
height$1 = offset(this.$el)
|
|
7139
|
+
({ height: height$1, width } = offset(this.$el));
|
|
7098
7140
|
margin = css(this.$el, 'margin');
|
|
7099
7141
|
}
|
|
7100
7142
|
|
|
@@ -7103,7 +7145,6 @@
|
|
|
7103
7145
|
requestAnimationFrame(() => css(this.selTarget, 'transition', ''));
|
|
7104
7146
|
}
|
|
7105
7147
|
|
|
7106
|
-
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7107
7148
|
const windowHeight = height(window);
|
|
7108
7149
|
|
|
7109
7150
|
let position = this.position;
|
|
@@ -7111,6 +7152,7 @@
|
|
|
7111
7152
|
position = position === 'top' ? 'bottom' : 'top';
|
|
7112
7153
|
}
|
|
7113
7154
|
|
|
7155
|
+
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7114
7156
|
let offset$1 = toPx(this.offset, 'height', referenceElement);
|
|
7115
7157
|
if (position === 'bottom' && (height$1 < windowHeight || this.overflowFlip)) {
|
|
7116
7158
|
offset$1 += windowHeight - height$1;
|
|
@@ -7140,16 +7182,16 @@
|
|
|
7140
7182
|
overflow,
|
|
7141
7183
|
topOffset,
|
|
7142
7184
|
height: height$1,
|
|
7185
|
+
width,
|
|
7143
7186
|
margin,
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7187
|
+
top: offsetPosition(referenceElement)[0]
|
|
7188
|
+
};
|
|
7147
7189
|
},
|
|
7148
7190
|
|
|
7149
|
-
write(_ref3) {let { height, margin } = _ref3;
|
|
7191
|
+
write(_ref3) {let { height, width, margin } = _ref3;
|
|
7150
7192
|
const { placeholder } = this;
|
|
7151
7193
|
|
|
7152
|
-
css(placeholder, { height, margin });
|
|
7194
|
+
css(placeholder, { height, width, margin });
|
|
7153
7195
|
|
|
7154
7196
|
if (!within(placeholder, document)) {
|
|
7155
7197
|
after(this.$el, placeholder);
|
|
@@ -7157,8 +7199,8 @@
|
|
|
7157
7199
|
}
|
|
7158
7200
|
},
|
|
7159
7201
|
|
|
7160
|
-
events: ['resize']
|
|
7161
|
-
|
|
7202
|
+
events: ['resize']
|
|
7203
|
+
},
|
|
7162
7204
|
|
|
7163
7205
|
{
|
|
7164
7206
|
read(_ref4)
|
|
@@ -7183,9 +7225,9 @@
|
|
|
7183
7225
|
overflowScroll: clamp(
|
|
7184
7226
|
overflowScroll + clamp(scroll, start, end) - clamp(prevScroll, start, end),
|
|
7185
7227
|
0,
|
|
7186
|
-
overflow)
|
|
7187
|
-
|
|
7228
|
+
overflow)
|
|
7188
7229
|
|
|
7230
|
+
};
|
|
7189
7231
|
},
|
|
7190
7232
|
|
|
7191
7233
|
write(data, types) {
|
|
@@ -7199,8 +7241,8 @@
|
|
|
7199
7241
|
top,
|
|
7200
7242
|
start,
|
|
7201
7243
|
topOffset,
|
|
7202
|
-
height
|
|
7203
|
-
data;
|
|
7244
|
+
height
|
|
7245
|
+
} = data;
|
|
7204
7246
|
|
|
7205
7247
|
if (
|
|
7206
7248
|
scroll < 0 ||
|
|
@@ -7261,8 +7303,8 @@
|
|
|
7261
7303
|
}
|
|
7262
7304
|
},
|
|
7263
7305
|
|
|
7264
|
-
events: ['resize', 'scroll']
|
|
7265
|
-
|
|
7306
|
+
events: ['resize', 'scroll']
|
|
7307
|
+
}],
|
|
7266
7308
|
|
|
7267
7309
|
|
|
7268
7310
|
methods: {
|
|
@@ -7290,8 +7332,8 @@
|
|
|
7290
7332
|
offset,
|
|
7291
7333
|
topOffset,
|
|
7292
7334
|
height,
|
|
7293
|
-
offsetParentTop
|
|
7294
|
-
this._data;
|
|
7335
|
+
offsetParentTop
|
|
7336
|
+
} = this._data;
|
|
7295
7337
|
const active = start !== 0 || scroll > start;
|
|
7296
7338
|
let position = 'fixed';
|
|
7297
7339
|
|
|
@@ -7307,8 +7349,8 @@
|
|
|
7307
7349
|
css(this.$el, {
|
|
7308
7350
|
position,
|
|
7309
7351
|
top: offset + "px",
|
|
7310
|
-
width
|
|
7311
|
-
|
|
7352
|
+
width
|
|
7353
|
+
});
|
|
7312
7354
|
|
|
7313
7355
|
this.setActive(active);
|
|
7314
7356
|
toggleClass(this.$el, this.clsBelow, scroll > topOffset + height);
|
|
@@ -7325,9 +7367,9 @@
|
|
|
7325
7367
|
replaceClass(this.selTarget, this.clsActive, this.clsInactive);
|
|
7326
7368
|
prev !== active && trigger(this.$el, 'inactive');
|
|
7327
7369
|
}
|
|
7328
|
-
}
|
|
7329
|
-
|
|
7330
|
-
|
|
7370
|
+
}
|
|
7371
|
+
}
|
|
7372
|
+
};
|
|
7331
7373
|
|
|
7332
7374
|
function parseProp(value, el, propOffset, padding) {
|
|
7333
7375
|
if (!value) {
|
|
@@ -7365,8 +7407,8 @@
|
|
|
7365
7407
|
connect: String,
|
|
7366
7408
|
toggle: String,
|
|
7367
7409
|
itemNav: String,
|
|
7368
|
-
active: Number
|
|
7369
|
-
|
|
7410
|
+
active: Number
|
|
7411
|
+
},
|
|
7370
7412
|
|
|
7371
7413
|
data: {
|
|
7372
7414
|
connect: '~.uk-switcher',
|
|
@@ -7374,8 +7416,8 @@
|
|
|
7374
7416
|
itemNav: false,
|
|
7375
7417
|
active: 0,
|
|
7376
7418
|
cls: 'uk-active',
|
|
7377
|
-
attrItem: 'uk-switcher-item'
|
|
7378
|
-
|
|
7419
|
+
attrItem: 'uk-switcher-item'
|
|
7420
|
+
},
|
|
7379
7421
|
|
|
7380
7422
|
computed: {
|
|
7381
7423
|
connects: {
|
|
@@ -7390,8 +7432,8 @@
|
|
|
7390
7432
|
},
|
|
7391
7433
|
|
|
7392
7434
|
document: true,
|
|
7393
|
-
immediate: true
|
|
7394
|
-
|
|
7435
|
+
immediate: true
|
|
7436
|
+
},
|
|
7395
7437
|
|
|
7396
7438
|
connectChildren: {
|
|
7397
7439
|
get() {
|
|
@@ -7406,8 +7448,8 @@
|
|
|
7406
7448
|
}
|
|
7407
7449
|
},
|
|
7408
7450
|
|
|
7409
|
-
immediate: true
|
|
7410
|
-
|
|
7451
|
+
immediate: true
|
|
7452
|
+
},
|
|
7411
7453
|
|
|
7412
7454
|
toggles: {
|
|
7413
7455
|
get(_ref2, $el) {let { toggle } = _ref2;
|
|
@@ -7421,8 +7463,8 @@
|
|
|
7421
7463
|
this.show(~active ? active : toggles[this.active] || toggles[0]);
|
|
7422
7464
|
},
|
|
7423
7465
|
|
|
7424
|
-
immediate: true
|
|
7425
|
-
|
|
7466
|
+
immediate: true
|
|
7467
|
+
},
|
|
7426
7468
|
|
|
7427
7469
|
children() {
|
|
7428
7470
|
return children(this.$el).filter((child) =>
|
|
@@ -7432,8 +7474,8 @@
|
|
|
7432
7474
|
|
|
7433
7475
|
swipeTarget() {
|
|
7434
7476
|
return this.connects;
|
|
7435
|
-
}
|
|
7436
|
-
|
|
7477
|
+
}
|
|
7478
|
+
},
|
|
7437
7479
|
|
|
7438
7480
|
events: [
|
|
7439
7481
|
{
|
|
@@ -7446,8 +7488,8 @@
|
|
|
7446
7488
|
handler(e) {
|
|
7447
7489
|
e.preventDefault();
|
|
7448
7490
|
this.show(e.current);
|
|
7449
|
-
}
|
|
7450
|
-
|
|
7491
|
+
}
|
|
7492
|
+
},
|
|
7451
7493
|
|
|
7452
7494
|
{
|
|
7453
7495
|
name: 'click',
|
|
@@ -7463,8 +7505,8 @@
|
|
|
7463
7505
|
handler(e) {
|
|
7464
7506
|
e.preventDefault();
|
|
7465
7507
|
this.show(data(e.current, this.attrItem));
|
|
7466
|
-
}
|
|
7467
|
-
|
|
7508
|
+
}
|
|
7509
|
+
},
|
|
7468
7510
|
|
|
7469
7511
|
{
|
|
7470
7512
|
name: 'swipeRight swipeLeft',
|
|
@@ -7479,8 +7521,8 @@
|
|
|
7479
7521
|
|
|
7480
7522
|
handler(_ref3) {let { type } = _ref3;
|
|
7481
7523
|
this.show(endsWith(type, 'Left') ? 'next' : 'previous');
|
|
7482
|
-
}
|
|
7483
|
-
|
|
7524
|
+
}
|
|
7525
|
+
}],
|
|
7484
7526
|
|
|
7485
7527
|
|
|
7486
7528
|
methods: {
|
|
@@ -7506,7 +7548,9 @@
|
|
|
7506
7548
|
|
|
7507
7549
|
await this.toggleElement(children[active], true, animate);
|
|
7508
7550
|
});
|
|
7509
|
-
}
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7553
|
+
};
|
|
7510
7554
|
|
|
7511
7555
|
var tab = {
|
|
7512
7556
|
mixins: [Class],
|
|
@@ -7514,13 +7558,13 @@
|
|
|
7514
7558
|
extends: Switcher,
|
|
7515
7559
|
|
|
7516
7560
|
props: {
|
|
7517
|
-
media: Boolean
|
|
7518
|
-
|
|
7561
|
+
media: Boolean
|
|
7562
|
+
},
|
|
7519
7563
|
|
|
7520
7564
|
data: {
|
|
7521
7565
|
media: 960,
|
|
7522
|
-
attrItem: 'uk-tab-item'
|
|
7523
|
-
|
|
7566
|
+
attrItem: 'uk-tab-item'
|
|
7567
|
+
},
|
|
7524
7568
|
|
|
7525
7569
|
connected() {
|
|
7526
7570
|
const cls = hasClass(this.$el, 'uk-tab-left') ?
|
|
@@ -7532,7 +7576,8 @@
|
|
|
7532
7576
|
if (cls) {
|
|
7533
7577
|
this.$create('toggle', this.$el, { cls, mode: 'media', media: this.media });
|
|
7534
7578
|
}
|
|
7535
|
-
}
|
|
7579
|
+
}
|
|
7580
|
+
};
|
|
7536
7581
|
|
|
7537
7582
|
const KEY_SPACE = 32;
|
|
7538
7583
|
|
|
@@ -7545,15 +7590,15 @@
|
|
|
7545
7590
|
href: String,
|
|
7546
7591
|
target: null,
|
|
7547
7592
|
mode: 'list',
|
|
7548
|
-
queued: Boolean
|
|
7549
|
-
|
|
7593
|
+
queued: Boolean
|
|
7594
|
+
},
|
|
7550
7595
|
|
|
7551
7596
|
data: {
|
|
7552
7597
|
href: false,
|
|
7553
7598
|
target: false,
|
|
7554
7599
|
mode: 'click',
|
|
7555
|
-
queued: true
|
|
7556
|
-
|
|
7600
|
+
queued: true
|
|
7601
|
+
},
|
|
7557
7602
|
|
|
7558
7603
|
computed: {
|
|
7559
7604
|
target: {
|
|
@@ -7568,9 +7613,9 @@
|
|
|
7568
7613
|
},
|
|
7569
7614
|
|
|
7570
7615
|
document: true,
|
|
7571
|
-
immediate: true
|
|
7572
|
-
|
|
7573
|
-
|
|
7616
|
+
immediate: true
|
|
7617
|
+
}
|
|
7618
|
+
},
|
|
7574
7619
|
|
|
7575
7620
|
connected() {
|
|
7576
7621
|
if (!includes(this.mode, 'media') && !isFocusable(this.$el)) {
|
|
@@ -7608,8 +7653,8 @@
|
|
|
7608
7653
|
if (includes(this.mode, 'click')) {
|
|
7609
7654
|
this._preventClick = true;
|
|
7610
7655
|
}
|
|
7611
|
-
}
|
|
7612
|
-
|
|
7656
|
+
}
|
|
7657
|
+
},
|
|
7613
7658
|
|
|
7614
7659
|
{
|
|
7615
7660
|
name: pointerEnter + " " + pointerLeave + " focus blur",
|
|
@@ -7647,8 +7692,8 @@
|
|
|
7647
7692
|
this._showState = show ? expanded : null;
|
|
7648
7693
|
|
|
7649
7694
|
this.toggle("toggle" + (show ? 'show' : 'hide'));
|
|
7650
|
-
}
|
|
7651
|
-
|
|
7695
|
+
}
|
|
7696
|
+
},
|
|
7652
7697
|
|
|
7653
7698
|
{
|
|
7654
7699
|
name: 'keydown',
|
|
@@ -7662,8 +7707,8 @@
|
|
|
7662
7707
|
e.preventDefault();
|
|
7663
7708
|
this.$el.click();
|
|
7664
7709
|
}
|
|
7665
|
-
}
|
|
7666
|
-
|
|
7710
|
+
}
|
|
7711
|
+
},
|
|
7667
7712
|
|
|
7668
7713
|
{
|
|
7669
7714
|
name: 'click',
|
|
@@ -7687,8 +7732,8 @@
|
|
|
7687
7732
|
if (!this._preventClick && includes(this.mode, 'click')) {
|
|
7688
7733
|
this.toggle();
|
|
7689
7734
|
}
|
|
7690
|
-
}
|
|
7691
|
-
|
|
7735
|
+
}
|
|
7736
|
+
},
|
|
7692
7737
|
|
|
7693
7738
|
{
|
|
7694
7739
|
name: 'hide show',
|
|
@@ -7701,8 +7746,8 @@
|
|
|
7701
7746
|
|
|
7702
7747
|
handler(_ref2) {let { target, type } = _ref2;
|
|
7703
7748
|
this.updateAria(target === this.target[0] && type === 'show');
|
|
7704
|
-
}
|
|
7705
|
-
|
|
7749
|
+
}
|
|
7750
|
+
},
|
|
7706
7751
|
|
|
7707
7752
|
{
|
|
7708
7753
|
name: 'mediachange',
|
|
@@ -7719,8 +7764,8 @@
|
|
|
7719
7764
|
if (mediaObj.matches ^ this.isToggled(this.target)) {
|
|
7720
7765
|
this.toggle();
|
|
7721
7766
|
}
|
|
7722
|
-
}
|
|
7723
|
-
|
|
7767
|
+
}
|
|
7768
|
+
}],
|
|
7724
7769
|
|
|
7725
7770
|
|
|
7726
7771
|
methods: {
|
|
@@ -7761,7 +7806,9 @@
|
|
|
7761
7806
|
'aria-expanded',
|
|
7762
7807
|
isBoolean(toggled) ? toggled : this.isToggled(this.target));
|
|
7763
7808
|
|
|
7764
|
-
}
|
|
7809
|
+
}
|
|
7810
|
+
}
|
|
7811
|
+
};
|
|
7765
7812
|
|
|
7766
7813
|
var components = /*#__PURE__*/Object.freeze({
|
|
7767
7814
|
__proto__: null,
|