uikit 3.15.11-dev.fd61e70ff → 3.15.12-dev.2299ba0d4
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 +12 -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 +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 +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 +576 -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 +873 -798
- 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/slider-parallax.js +9 -0
- 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/tests/navbar.html +1 -1
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.15.
|
|
1
|
+
/*! UIkit 3.15.12-dev.2299ba0d4 | 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.2299ba0d4';
|
|
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';
|
|
@@ -3551,8 +3562,8 @@
|
|
|
3551
3562
|
|
|
3552
3563
|
return {
|
|
3553
3564
|
visible: isVisible(this.$el) && css(this.$el, 'visibility') !== 'hidden',
|
|
3554
|
-
inView: this.inView && isInView(this.$el)
|
|
3555
|
-
|
|
3565
|
+
inView: this.inView && isInView(this.$el)
|
|
3566
|
+
};
|
|
3556
3567
|
},
|
|
3557
3568
|
|
|
3558
3569
|
write(_ref) {let { visible, inView } = _ref;
|
|
@@ -3561,7 +3572,9 @@
|
|
|
3561
3572
|
} else if (this.autoplay === true || this.inView && inView) {
|
|
3562
3573
|
play(this.$el);
|
|
3563
3574
|
}
|
|
3564
|
-
}
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
};
|
|
3565
3578
|
|
|
3566
3579
|
var Resize = {
|
|
3567
3580
|
connected() {var _this$$options$resize;
|
|
@@ -3570,25 +3583,26 @@
|
|
|
3570
3583
|
this.$emit('resize')));
|
|
3571
3584
|
|
|
3572
3585
|
|
|
3573
|
-
}
|
|
3586
|
+
}
|
|
3587
|
+
};
|
|
3574
3588
|
|
|
3575
3589
|
var cover = {
|
|
3576
3590
|
mixins: [Resize, Video],
|
|
3577
3591
|
|
|
3578
3592
|
props: {
|
|
3579
3593
|
width: Number,
|
|
3580
|
-
height: Number
|
|
3581
|
-
|
|
3594
|
+
height: Number
|
|
3595
|
+
},
|
|
3582
3596
|
|
|
3583
3597
|
data: {
|
|
3584
|
-
automute: true
|
|
3585
|
-
|
|
3598
|
+
automute: true
|
|
3599
|
+
},
|
|
3586
3600
|
|
|
3587
3601
|
events: {
|
|
3588
3602
|
'load loadedmetadata'() {
|
|
3589
3603
|
this.$emit('resize');
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3592
3606
|
|
|
3593
3607
|
resizeTargets() {
|
|
3594
3608
|
return [this.$el, getPositionedParent(this.$el) || parent(this.$el)];
|
|
@@ -3604,8 +3618,8 @@
|
|
|
3604
3618
|
if (!dim.width || !dim.height) {
|
|
3605
3619
|
const intrinsic = {
|
|
3606
3620
|
width: $el.naturalWidth || $el.videoWidth || $el.clientWidth,
|
|
3607
|
-
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3608
|
-
|
|
3621
|
+
height: $el.naturalHeight || $el.videoHeight || $el.clientHeight
|
|
3622
|
+
};
|
|
3609
3623
|
|
|
3610
3624
|
if (dim.width) {
|
|
3611
3625
|
dim = ratio(intrinsic, 'width', dim.width);
|
|
@@ -3620,8 +3634,8 @@
|
|
|
3620
3634
|
getPositionedParent($el) || parent($el);
|
|
3621
3635
|
const coverDim = cover(dim, {
|
|
3622
3636
|
width: coverWidth + (coverWidth % 2 ? 1 : 0),
|
|
3623
|
-
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3624
|
-
|
|
3637
|
+
height: coverHeight + (coverHeight % 2 ? 1 : 0)
|
|
3638
|
+
});
|
|
3625
3639
|
|
|
3626
3640
|
if (!coverDim.width || !coverDim.height) {
|
|
3627
3641
|
return false;
|
|
@@ -3634,9 +3648,9 @@
|
|
|
3634
3648
|
css(this.$el, { height, width });
|
|
3635
3649
|
},
|
|
3636
3650
|
|
|
3637
|
-
events: ['resize']
|
|
3638
|
-
|
|
3639
|
-
|
|
3651
|
+
events: ['resize']
|
|
3652
|
+
}
|
|
3653
|
+
};
|
|
3640
3654
|
|
|
3641
3655
|
function getPositionedParent(el) {
|
|
3642
3656
|
while (el = parent(el)) {
|
|
@@ -3648,17 +3662,19 @@
|
|
|
3648
3662
|
|
|
3649
3663
|
var Container = {
|
|
3650
3664
|
props: {
|
|
3651
|
-
container: Boolean
|
|
3652
|
-
|
|
3665
|
+
container: Boolean
|
|
3666
|
+
},
|
|
3653
3667
|
|
|
3654
3668
|
data: {
|
|
3655
|
-
container: true
|
|
3656
|
-
|
|
3669
|
+
container: true
|
|
3670
|
+
},
|
|
3657
3671
|
|
|
3658
3672
|
computed: {
|
|
3659
3673
|
container(_ref) {let { container } = _ref;
|
|
3660
3674
|
return container === true && this.$container || container && $(container);
|
|
3661
|
-
}
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
};
|
|
3662
3678
|
|
|
3663
3679
|
var Position = {
|
|
3664
3680
|
props: {
|
|
@@ -3666,16 +3682,16 @@
|
|
|
3666
3682
|
offset: null,
|
|
3667
3683
|
flip: Boolean,
|
|
3668
3684
|
shift: Boolean,
|
|
3669
|
-
inset: Boolean
|
|
3670
|
-
|
|
3685
|
+
inset: Boolean
|
|
3686
|
+
},
|
|
3671
3687
|
|
|
3672
3688
|
data: {
|
|
3673
3689
|
pos: "bottom-" + (isRtl ? 'right' : 'left'),
|
|
3674
3690
|
offset: false,
|
|
3675
3691
|
flip: true,
|
|
3676
3692
|
shift: true,
|
|
3677
|
-
inset: false
|
|
3678
|
-
|
|
3693
|
+
inset: false
|
|
3694
|
+
},
|
|
3679
3695
|
|
|
3680
3696
|
connected() {
|
|
3681
3697
|
this.pos = this.$props.pos.split('-').concat('center').slice(0, 2);
|
|
@@ -3690,8 +3706,8 @@
|
|
|
3690
3706
|
|
|
3691
3707
|
const attach = {
|
|
3692
3708
|
element: [this.inset ? this.dir : flipPosition(this.dir), this.align],
|
|
3693
|
-
target: [this.dir, this.align]
|
|
3694
|
-
|
|
3709
|
+
target: [this.dir, this.align]
|
|
3710
|
+
};
|
|
3695
3711
|
|
|
3696
3712
|
if (this.axis === 'y') {
|
|
3697
3713
|
for (const prop in attach) {
|
|
@@ -3713,8 +3729,8 @@
|
|
|
3713
3729
|
offset,
|
|
3714
3730
|
boundary,
|
|
3715
3731
|
placement,
|
|
3716
|
-
viewportOffset: this.getViewportOffset(element)
|
|
3717
|
-
|
|
3732
|
+
viewportOffset: this.getViewportOffset(element)
|
|
3733
|
+
});
|
|
3718
3734
|
|
|
3719
3735
|
// Restore scroll position
|
|
3720
3736
|
scrollElement.scrollTop = scrollTop;
|
|
@@ -3745,7 +3761,9 @@
|
|
|
3745
3761
|
|
|
3746
3762
|
getViewportOffset(element) {
|
|
3747
3763
|
return toPx(css(element, '--uk-position-viewport-offset'));
|
|
3748
|
-
}
|
|
3764
|
+
}
|
|
3765
|
+
}
|
|
3766
|
+
};
|
|
3749
3767
|
|
|
3750
3768
|
var Style = {
|
|
3751
3769
|
beforeConnect() {
|
|
@@ -3754,7 +3772,8 @@
|
|
|
3754
3772
|
|
|
3755
3773
|
disconnected() {
|
|
3756
3774
|
attr(this.$el, 'style', this._style);
|
|
3757
|
-
}
|
|
3775
|
+
}
|
|
3776
|
+
};
|
|
3758
3777
|
|
|
3759
3778
|
const active$1 = [];
|
|
3760
3779
|
|
|
@@ -3766,16 +3785,16 @@
|
|
|
3766
3785
|
selClose: String,
|
|
3767
3786
|
escClose: Boolean,
|
|
3768
3787
|
bgClose: Boolean,
|
|
3769
|
-
stack: Boolean
|
|
3770
|
-
|
|
3788
|
+
stack: Boolean
|
|
3789
|
+
},
|
|
3771
3790
|
|
|
3772
3791
|
data: {
|
|
3773
3792
|
cls: 'uk-open',
|
|
3774
3793
|
escClose: true,
|
|
3775
3794
|
bgClose: true,
|
|
3776
3795
|
overlay: true,
|
|
3777
|
-
stack: false
|
|
3778
|
-
|
|
3796
|
+
stack: false
|
|
3797
|
+
},
|
|
3779
3798
|
|
|
3780
3799
|
computed: {
|
|
3781
3800
|
panel(_ref, $el) {let { selPanel } = _ref;
|
|
@@ -3788,8 +3807,8 @@
|
|
|
3788
3807
|
|
|
3789
3808
|
bgClose(_ref2) {let { bgClose } = _ref2;
|
|
3790
3809
|
return bgClose && this.panel;
|
|
3791
|
-
}
|
|
3792
|
-
|
|
3810
|
+
}
|
|
3811
|
+
},
|
|
3793
3812
|
|
|
3794
3813
|
beforeDisconnect() {
|
|
3795
3814
|
if (includes(active$1, this)) {
|
|
@@ -3808,8 +3827,8 @@
|
|
|
3808
3827
|
handler(e) {
|
|
3809
3828
|
e.preventDefault();
|
|
3810
3829
|
this.hide();
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3830
|
+
}
|
|
3831
|
+
},
|
|
3813
3832
|
|
|
3814
3833
|
{
|
|
3815
3834
|
name: 'click',
|
|
@@ -3829,8 +3848,8 @@
|
|
|
3829
3848
|
{
|
|
3830
3849
|
this.hide();
|
|
3831
3850
|
}
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3834
3853
|
|
|
3835
3854
|
{
|
|
3836
3855
|
name: 'toggle',
|
|
@@ -3847,8 +3866,8 @@
|
|
|
3847
3866
|
if (this.isToggled() === includes(active$1, this)) {
|
|
3848
3867
|
this.toggle();
|
|
3849
3868
|
}
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3869
|
+
}
|
|
3870
|
+
},
|
|
3852
3871
|
|
|
3853
3872
|
{
|
|
3854
3873
|
name: 'beforeshow',
|
|
@@ -3866,8 +3885,8 @@
|
|
|
3866
3885
|
} else {
|
|
3867
3886
|
active$1.push(this);
|
|
3868
3887
|
}
|
|
3869
|
-
}
|
|
3870
|
-
|
|
3888
|
+
}
|
|
3889
|
+
},
|
|
3871
3890
|
|
|
3872
3891
|
{
|
|
3873
3892
|
name: 'show',
|
|
@@ -3940,8 +3959,8 @@
|
|
|
3940
3959
|
{ self: true });
|
|
3941
3960
|
|
|
3942
3961
|
}
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3945
3964
|
|
|
3946
3965
|
{
|
|
3947
3966
|
name: 'shown',
|
|
@@ -3956,8 +3975,8 @@
|
|
|
3956
3975
|
if (!$(':focus', this.$el)) {
|
|
3957
3976
|
this.$el.focus();
|
|
3958
3977
|
}
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3978
|
+
}
|
|
3979
|
+
},
|
|
3961
3980
|
|
|
3962
3981
|
{
|
|
3963
3982
|
name: 'hidden',
|
|
@@ -3974,8 +3993,8 @@
|
|
|
3974
3993
|
if (!active$1.some((modal) => modal.clsPage === this.clsPage)) {
|
|
3975
3994
|
removeClass(document.documentElement, this.clsPage);
|
|
3976
3995
|
}
|
|
3977
|
-
}
|
|
3978
|
-
|
|
3996
|
+
}
|
|
3997
|
+
}],
|
|
3979
3998
|
|
|
3980
3999
|
|
|
3981
4000
|
methods: {
|
|
@@ -3996,9 +4015,9 @@
|
|
|
3996
4015
|
|
|
3997
4016
|
hide() {
|
|
3998
4017
|
return this.toggleElement(this.$el, false, animate);
|
|
3999
|
-
}
|
|
4000
|
-
|
|
4001
|
-
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
};
|
|
4002
4021
|
|
|
4003
4022
|
function animate(el, show, _ref6) {let { transitionElement, _toggle } = _ref6;
|
|
4004
4023
|
return new Promise((resolve, reject) =>
|
|
@@ -4013,8 +4032,8 @@
|
|
|
4013
4032
|
'transitionstart',
|
|
4014
4033
|
() => {
|
|
4015
4034
|
once(transitionElement, 'transitionend transitioncancel', resolve, {
|
|
4016
|
-
self: true
|
|
4017
|
-
|
|
4035
|
+
self: true
|
|
4036
|
+
});
|
|
4018
4037
|
clearTimeout(timer);
|
|
4019
4038
|
},
|
|
4020
4039
|
{ self: true });
|
|
@@ -4095,8 +4114,8 @@
|
|
|
4095
4114
|
css(scrollingElement, {
|
|
4096
4115
|
overflowY: 'hidden',
|
|
4097
4116
|
touchAction: 'none',
|
|
4098
|
-
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4099
|
-
|
|
4117
|
+
paddingRight: width(window) - scrollingElement.clientWidth
|
|
4118
|
+
});
|
|
4100
4119
|
return () => {
|
|
4101
4120
|
prevented = false;
|
|
4102
4121
|
css(scrollingElement, { overflowY: '', touchAction: '', paddingRight: '' });
|
|
@@ -4139,8 +4158,8 @@
|
|
|
4139
4158
|
autoUpdate: Boolean,
|
|
4140
4159
|
clsDrop: String,
|
|
4141
4160
|
animateOut: Boolean,
|
|
4142
|
-
bgScroll: Boolean
|
|
4143
|
-
|
|
4161
|
+
bgScroll: Boolean
|
|
4162
|
+
},
|
|
4144
4163
|
|
|
4145
4164
|
data: {
|
|
4146
4165
|
mode: ['click', 'hover'],
|
|
@@ -4160,8 +4179,8 @@
|
|
|
4160
4179
|
bgScroll: true,
|
|
4161
4180
|
animation: ['uk-animation-fade'],
|
|
4162
4181
|
cls: 'uk-open',
|
|
4163
|
-
container: false
|
|
4164
|
-
|
|
4182
|
+
container: false
|
|
4183
|
+
},
|
|
4165
4184
|
|
|
4166
4185
|
computed: {
|
|
4167
4186
|
boundary(_ref, $el) {let { boundary, boundaryX, boundaryY } = _ref;
|
|
@@ -4179,8 +4198,8 @@
|
|
|
4179
4198
|
targetX === true ? window : query(targetX, $el),
|
|
4180
4199
|
targetY === true ? window : query(targetY, $el)];
|
|
4181
4200
|
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4201
|
+
}
|
|
4202
|
+
},
|
|
4184
4203
|
|
|
4185
4204
|
created() {
|
|
4186
4205
|
this.tracker = new MouseTracker();
|
|
@@ -4196,8 +4215,8 @@
|
|
|
4196
4215
|
if (this.toggle && !this.targetEl) {
|
|
4197
4216
|
this.targetEl = this.$create('toggle', query(this.toggle, this.$el), {
|
|
4198
4217
|
target: this.$el,
|
|
4199
|
-
mode: this.mode
|
|
4200
|
-
|
|
4218
|
+
mode: this.mode
|
|
4219
|
+
}).$el;
|
|
4201
4220
|
attr(this.targetEl, 'aria-haspopup', true);
|
|
4202
4221
|
this.lazyload(this.targetEl);
|
|
4203
4222
|
}
|
|
@@ -4221,8 +4240,8 @@
|
|
|
4221
4240
|
handler(e) {
|
|
4222
4241
|
e.preventDefault();
|
|
4223
4242
|
this.hide(false);
|
|
4224
|
-
}
|
|
4225
|
-
|
|
4243
|
+
}
|
|
4244
|
+
},
|
|
4226
4245
|
|
|
4227
4246
|
{
|
|
4228
4247
|
name: 'click',
|
|
@@ -4241,16 +4260,16 @@
|
|
|
4241
4260
|
{
|
|
4242
4261
|
this.hide(false);
|
|
4243
4262
|
}
|
|
4244
|
-
}
|
|
4245
|
-
|
|
4263
|
+
}
|
|
4264
|
+
},
|
|
4246
4265
|
|
|
4247
4266
|
{
|
|
4248
4267
|
name: 'beforescroll',
|
|
4249
4268
|
|
|
4250
4269
|
handler() {
|
|
4251
4270
|
this.hide(false);
|
|
4252
|
-
}
|
|
4253
|
-
|
|
4271
|
+
}
|
|
4272
|
+
},
|
|
4254
4273
|
|
|
4255
4274
|
{
|
|
4256
4275
|
name: 'toggle',
|
|
@@ -4265,8 +4284,8 @@
|
|
|
4265
4284
|
} else {
|
|
4266
4285
|
this.show(toggle == null ? void 0 : toggle.$el, false);
|
|
4267
4286
|
}
|
|
4268
|
-
}
|
|
4269
|
-
|
|
4287
|
+
}
|
|
4288
|
+
},
|
|
4270
4289
|
|
|
4271
4290
|
{
|
|
4272
4291
|
name: 'toggleshow',
|
|
@@ -4276,8 +4295,8 @@
|
|
|
4276
4295
|
handler(e, toggle) {
|
|
4277
4296
|
e.preventDefault();
|
|
4278
4297
|
this.show(toggle == null ? void 0 : toggle.$el);
|
|
4279
|
-
}
|
|
4280
|
-
|
|
4298
|
+
}
|
|
4299
|
+
},
|
|
4281
4300
|
|
|
4282
4301
|
{
|
|
4283
4302
|
name: 'togglehide',
|
|
@@ -4289,8 +4308,8 @@
|
|
|
4289
4308
|
if (!matches(this.$el, ':focus,:hover')) {
|
|
4290
4309
|
this.hide();
|
|
4291
4310
|
}
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4311
|
+
}
|
|
4312
|
+
},
|
|
4294
4313
|
|
|
4295
4314
|
{
|
|
4296
4315
|
name: pointerEnter + " focusin",
|
|
@@ -4303,8 +4322,8 @@
|
|
|
4303
4322
|
if (!isTouch(e)) {
|
|
4304
4323
|
this.clearTimers();
|
|
4305
4324
|
}
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4325
|
+
}
|
|
4326
|
+
},
|
|
4308
4327
|
|
|
4309
4328
|
{
|
|
4310
4329
|
name: pointerLeave + " focusout",
|
|
@@ -4317,8 +4336,8 @@
|
|
|
4317
4336
|
if (!isTouch(e) && e.relatedTarget) {
|
|
4318
4337
|
this.hide();
|
|
4319
4338
|
}
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4339
|
+
}
|
|
4340
|
+
},
|
|
4322
4341
|
|
|
4323
4342
|
{
|
|
4324
4343
|
name: 'toggled',
|
|
@@ -4332,8 +4351,8 @@
|
|
|
4332
4351
|
|
|
4333
4352
|
this.clearTimers();
|
|
4334
4353
|
this.position();
|
|
4335
|
-
}
|
|
4336
|
-
|
|
4354
|
+
}
|
|
4355
|
+
},
|
|
4337
4356
|
|
|
4338
4357
|
{
|
|
4339
4358
|
name: 'show',
|
|
@@ -4388,8 +4407,8 @@
|
|
|
4388
4407
|
...(this.autoUpdate ?
|
|
4389
4408
|
[
|
|
4390
4409
|
on([document, scrollParents(this.$el)], 'scroll', update, {
|
|
4391
|
-
passive: true
|
|
4392
|
-
|
|
4410
|
+
passive: true
|
|
4411
|
+
})] :
|
|
4393
4412
|
|
|
4394
4413
|
[]),
|
|
4395
4414
|
|
|
@@ -4399,10 +4418,10 @@
|
|
|
4399
4418
|
|
|
4400
4419
|
|
|
4401
4420
|
once(this.$el, 'hide', () => handlers.forEach((handler) => handler()), {
|
|
4402
|
-
self: true
|
|
4403
|
-
|
|
4404
|
-
}
|
|
4405
|
-
|
|
4421
|
+
self: true
|
|
4422
|
+
});
|
|
4423
|
+
}
|
|
4424
|
+
},
|
|
4406
4425
|
|
|
4407
4426
|
{
|
|
4408
4427
|
name: 'beforehide',
|
|
@@ -4411,8 +4430,8 @@
|
|
|
4411
4430
|
|
|
4412
4431
|
handler() {
|
|
4413
4432
|
this.clearTimers();
|
|
4414
|
-
}
|
|
4415
|
-
|
|
4433
|
+
}
|
|
4434
|
+
},
|
|
4416
4435
|
|
|
4417
4436
|
{
|
|
4418
4437
|
name: 'hide',
|
|
@@ -4428,8 +4447,8 @@
|
|
|
4428
4447
|
|
|
4429
4448
|
active = this.isActive() ? null : active;
|
|
4430
4449
|
this.tracker.cancel();
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4450
|
+
}
|
|
4451
|
+
}],
|
|
4433
4452
|
|
|
4434
4453
|
|
|
4435
4454
|
update: {
|
|
@@ -4437,8 +4456,8 @@
|
|
|
4437
4456
|
if (this.isToggled() && !hasClass(this.$el, this.clsEnter)) {
|
|
4438
4457
|
this.position();
|
|
4439
4458
|
}
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4459
|
+
}
|
|
4460
|
+
},
|
|
4442
4461
|
|
|
4443
4462
|
methods: {
|
|
4444
4463
|
show(target, delay) {if (target === void 0) {target = this.targetEl;}if (delay === void 0) {delay = true;}
|
|
@@ -4514,7 +4533,7 @@
|
|
|
4514
4533
|
// Ensure none positioned element does not generate scrollbars
|
|
4515
4534
|
this.$el.hidden = true;
|
|
4516
4535
|
|
|
4517
|
-
const viewports = this.target.map((target) =>
|
|
4536
|
+
const viewports = this.target.map((target) => getViewport$1(this.$el, target));
|
|
4518
4537
|
const viewportOffset = this.getViewportOffset(this.$el);
|
|
4519
4538
|
|
|
4520
4539
|
const dirs = [
|
|
@@ -4529,8 +4548,8 @@
|
|
|
4529
4548
|
offset(this.boundary[i])[prop],
|
|
4530
4549
|
viewports[i][prop] - 2 * viewportOffset),
|
|
4531
4550
|
|
|
4532
|
-
["overflow-" + axis]: 'auto'
|
|
4533
|
-
|
|
4551
|
+
["overflow-" + axis]: 'auto'
|
|
4552
|
+
});
|
|
4534
4553
|
}
|
|
4535
4554
|
}
|
|
4536
4555
|
|
|
@@ -4564,15 +4583,15 @@
|
|
|
4564
4583
|
offset(this.boundary[i])[end],
|
|
4565
4584
|
viewports[i][end] - viewportOffset) -
|
|
4566
4585
|
targetOffset[end]) - positionOffset,
|
|
4567
|
-
["overflow-" + axis]: 'auto'
|
|
4568
|
-
|
|
4586
|
+
["overflow-" + axis]: 'auto'
|
|
4587
|
+
});
|
|
4569
4588
|
|
|
4570
4589
|
this.positionAt(this.$el, this.target, this.boundary);
|
|
4571
4590
|
}
|
|
4572
4591
|
}
|
|
4573
|
-
}
|
|
4574
|
-
|
|
4575
|
-
|
|
4592
|
+
}
|
|
4593
|
+
}
|
|
4594
|
+
};
|
|
4576
4595
|
|
|
4577
4596
|
function getPositionedElements(el) {
|
|
4578
4597
|
const result = [];
|
|
@@ -4580,18 +4599,22 @@
|
|
|
4580
4599
|
return result;
|
|
4581
4600
|
}
|
|
4582
4601
|
|
|
4602
|
+
function getViewport$1(el, target) {
|
|
4603
|
+
return offsetViewport(scrollParents(target).find((parent) => within(el, parent)));
|
|
4604
|
+
}
|
|
4605
|
+
|
|
4583
4606
|
var formCustom = {
|
|
4584
4607
|
mixins: [Class],
|
|
4585
4608
|
|
|
4586
4609
|
args: 'target',
|
|
4587
4610
|
|
|
4588
4611
|
props: {
|
|
4589
|
-
target: Boolean
|
|
4590
|
-
|
|
4612
|
+
target: Boolean
|
|
4613
|
+
},
|
|
4591
4614
|
|
|
4592
4615
|
data: {
|
|
4593
|
-
target: false
|
|
4594
|
-
|
|
4616
|
+
target: false
|
|
4617
|
+
},
|
|
4595
4618
|
|
|
4596
4619
|
computed: {
|
|
4597
4620
|
input(_, $el) {
|
|
@@ -4608,8 +4631,8 @@
|
|
|
4608
4631
|
target === true && parent(this.input) === $el && this.input.nextElementSibling ||
|
|
4609
4632
|
$(target, $el)));
|
|
4610
4633
|
|
|
4611
|
-
}
|
|
4612
|
-
|
|
4634
|
+
}
|
|
4635
|
+
},
|
|
4613
4636
|
|
|
4614
4637
|
update() {var _input$files;
|
|
4615
4638
|
const { target, input } = this;
|
|
@@ -4639,8 +4662,8 @@
|
|
|
4639
4662
|
|
|
4640
4663
|
handler() {
|
|
4641
4664
|
this.$emit();
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4644
4667
|
|
|
4645
4668
|
{
|
|
4646
4669
|
name: 'reset',
|
|
@@ -4651,20 +4674,23 @@
|
|
|
4651
4674
|
|
|
4652
4675
|
handler() {
|
|
4653
4676
|
this.$emit();
|
|
4654
|
-
}
|
|
4677
|
+
}
|
|
4678
|
+
}]
|
|
4679
|
+
|
|
4680
|
+
};
|
|
4655
4681
|
|
|
4656
4682
|
var Margin = {
|
|
4657
4683
|
mixins: [Resize],
|
|
4658
4684
|
|
|
4659
4685
|
props: {
|
|
4660
4686
|
margin: String,
|
|
4661
|
-
firstColumn: Boolean
|
|
4662
|
-
|
|
4687
|
+
firstColumn: Boolean
|
|
4688
|
+
},
|
|
4663
4689
|
|
|
4664
4690
|
data: {
|
|
4665
4691
|
margin: 'uk-margin-small-top',
|
|
4666
|
-
firstColumn: 'uk-first-column'
|
|
4667
|
-
|
|
4692
|
+
firstColumn: 'uk-first-column'
|
|
4693
|
+
},
|
|
4668
4694
|
|
|
4669
4695
|
resizeTargets() {
|
|
4670
4696
|
return [this.$el, ...toArray(this.$el.children)];
|
|
@@ -4673,8 +4699,8 @@
|
|
|
4673
4699
|
connected() {
|
|
4674
4700
|
this.registerObserver(
|
|
4675
4701
|
observeMutation(this.$el, () => this.$reset(), {
|
|
4676
|
-
childList: true
|
|
4677
|
-
|
|
4702
|
+
childList: true
|
|
4703
|
+
}));
|
|
4678
4704
|
|
|
4679
4705
|
},
|
|
4680
4706
|
|
|
@@ -4684,8 +4710,8 @@
|
|
|
4684
4710
|
|
|
4685
4711
|
return {
|
|
4686
4712
|
rows,
|
|
4687
|
-
columns: getColumns(rows)
|
|
4688
|
-
|
|
4713
|
+
columns: getColumns(rows)
|
|
4714
|
+
};
|
|
4689
4715
|
},
|
|
4690
4716
|
|
|
4691
4717
|
write(_ref) {let { columns, rows } = _ref;
|
|
@@ -4697,9 +4723,9 @@
|
|
|
4697
4723
|
}
|
|
4698
4724
|
},
|
|
4699
4725
|
|
|
4700
|
-
events: ['resize']
|
|
4701
|
-
|
|
4702
|
-
|
|
4726
|
+
events: ['resize']
|
|
4727
|
+
}
|
|
4728
|
+
};
|
|
4703
4729
|
|
|
4704
4730
|
function getRows(items) {
|
|
4705
4731
|
return sortBy(items, 'top', 'bottom');
|
|
@@ -4775,8 +4801,8 @@
|
|
|
4775
4801
|
top: offsetTop,
|
|
4776
4802
|
left: offsetLeft,
|
|
4777
4803
|
bottom: offsetTop + offsetHeight,
|
|
4778
|
-
right: offsetLeft + offsetWidth
|
|
4779
|
-
|
|
4804
|
+
right: offsetLeft + offsetWidth
|
|
4805
|
+
};
|
|
4780
4806
|
}
|
|
4781
4807
|
|
|
4782
4808
|
var Scroll = {
|
|
@@ -4786,8 +4812,8 @@
|
|
|
4786
4812
|
|
|
4787
4813
|
disconnected() {
|
|
4788
4814
|
unregisterScrollListener(this._uid);
|
|
4789
|
-
}
|
|
4790
|
-
|
|
4815
|
+
}
|
|
4816
|
+
};
|
|
4791
4817
|
|
|
4792
4818
|
const scrollListeners = new Map();
|
|
4793
4819
|
let unbindScrollListener;
|
|
@@ -4796,8 +4822,8 @@
|
|
|
4796
4822
|
unbindScrollListener ||
|
|
4797
4823
|
on(window, 'scroll', () => scrollListeners.forEach((listener) => listener()), {
|
|
4798
4824
|
passive: true,
|
|
4799
|
-
capture: true
|
|
4800
|
-
|
|
4825
|
+
capture: true
|
|
4826
|
+
});
|
|
4801
4827
|
|
|
4802
4828
|
scrollListeners.set(id, listener);
|
|
4803
4829
|
}
|
|
@@ -4819,15 +4845,15 @@
|
|
|
4819
4845
|
|
|
4820
4846
|
props: {
|
|
4821
4847
|
masonry: Boolean,
|
|
4822
|
-
parallax: Number
|
|
4823
|
-
|
|
4848
|
+
parallax: Number
|
|
4849
|
+
},
|
|
4824
4850
|
|
|
4825
4851
|
data: {
|
|
4826
4852
|
margin: 'uk-grid-margin',
|
|
4827
4853
|
clsStack: 'uk-grid-stack',
|
|
4828
4854
|
masonry: false,
|
|
4829
|
-
parallax: 0
|
|
4830
|
-
|
|
4855
|
+
parallax: 0
|
|
4856
|
+
},
|
|
4831
4857
|
|
|
4832
4858
|
connected() {
|
|
4833
4859
|
this.masonry && addClass(this.$el, 'uk-flex-top uk-flex-wrap-top');
|
|
@@ -4844,8 +4870,8 @@
|
|
|
4844
4870
|
toggleClass(this.$el, this.clsStack, columns.length < 2);
|
|
4845
4871
|
},
|
|
4846
4872
|
|
|
4847
|
-
events: ['resize']
|
|
4848
|
-
|
|
4873
|
+
events: ['resize']
|
|
4874
|
+
},
|
|
4849
4875
|
|
|
4850
4876
|
{
|
|
4851
4877
|
read(data) {
|
|
@@ -4893,8 +4919,8 @@
|
|
|
4893
4919
|
height !== false && css(this.$el, 'height', height);
|
|
4894
4920
|
},
|
|
4895
4921
|
|
|
4896
|
-
events: ['resize']
|
|
4897
|
-
|
|
4922
|
+
events: ['resize']
|
|
4923
|
+
},
|
|
4898
4924
|
|
|
4899
4925
|
{
|
|
4900
4926
|
read() {
|
|
@@ -4905,8 +4931,8 @@
|
|
|
4905
4931
|
return {
|
|
4906
4932
|
scrolled: this.parallax ?
|
|
4907
4933
|
scrolledOver(this.$el) * Math.abs(this.parallax) :
|
|
4908
|
-
false
|
|
4909
|
-
|
|
4934
|
+
false
|
|
4935
|
+
};
|
|
4910
4936
|
},
|
|
4911
4937
|
|
|
4912
4938
|
write(_ref3) {let { columns, scrolled, translates } = _ref3;
|
|
@@ -4930,10 +4956,10 @@
|
|
|
4930
4956
|
|
|
4931
4957
|
},
|
|
4932
4958
|
|
|
4933
|
-
events: ['scroll', 'resize']
|
|
4934
|
-
|
|
4935
|
-
|
|
4959
|
+
events: ['scroll', 'resize']
|
|
4960
|
+
}]
|
|
4936
4961
|
|
|
4962
|
+
};
|
|
4937
4963
|
|
|
4938
4964
|
function positionedAbsolute(el) {
|
|
4939
4965
|
return children(el).some((el) => css(el, 'position') === 'absolute');
|
|
@@ -4968,13 +4994,13 @@
|
|
|
4968
4994
|
|
|
4969
4995
|
props: {
|
|
4970
4996
|
target: String,
|
|
4971
|
-
row: Boolean
|
|
4972
|
-
|
|
4997
|
+
row: Boolean
|
|
4998
|
+
},
|
|
4973
4999
|
|
|
4974
5000
|
data: {
|
|
4975
5001
|
target: '> *',
|
|
4976
|
-
row: true
|
|
4977
|
-
|
|
5002
|
+
row: true
|
|
5003
|
+
},
|
|
4978
5004
|
|
|
4979
5005
|
computed: {
|
|
4980
5006
|
elements: {
|
|
@@ -4984,9 +5010,9 @@
|
|
|
4984
5010
|
|
|
4985
5011
|
watch() {
|
|
4986
5012
|
this.$reset();
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
|
|
5013
|
+
}
|
|
5014
|
+
}
|
|
5015
|
+
},
|
|
4990
5016
|
|
|
4991
5017
|
resizeTargets() {
|
|
4992
5018
|
return [this.$el, ...this.elements];
|
|
@@ -4995,8 +5021,8 @@
|
|
|
4995
5021
|
update: {
|
|
4996
5022
|
read() {
|
|
4997
5023
|
return {
|
|
4998
|
-
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match)
|
|
4999
|
-
|
|
5024
|
+
rows: (this.row ? getRows(this.elements) : [this.elements]).map(match)
|
|
5025
|
+
};
|
|
5000
5026
|
},
|
|
5001
5027
|
|
|
5002
5028
|
write(_ref2) {let { rows } = _ref2;
|
|
@@ -5005,9 +5031,9 @@
|
|
|
5005
5031
|
}
|
|
5006
5032
|
},
|
|
5007
5033
|
|
|
5008
|
-
events: ['resize']
|
|
5009
|
-
|
|
5010
|
-
|
|
5034
|
+
events: ['resize']
|
|
5035
|
+
}
|
|
5036
|
+
};
|
|
5011
5037
|
|
|
5012
5038
|
function match(elements) {
|
|
5013
5039
|
if (elements.length < 2) {
|
|
@@ -5020,8 +5046,8 @@
|
|
|
5020
5046
|
|
|
5021
5047
|
return {
|
|
5022
5048
|
heights: elements.map((el, i) => heights[i].toFixed(2) === max.toFixed(2) ? '' : max),
|
|
5023
|
-
elements
|
|
5024
|
-
|
|
5049
|
+
elements
|
|
5050
|
+
};
|
|
5025
5051
|
}
|
|
5026
5052
|
|
|
5027
5053
|
function getHeight(element) {
|
|
@@ -5047,15 +5073,15 @@
|
|
|
5047
5073
|
expand: Boolean,
|
|
5048
5074
|
offsetTop: Boolean,
|
|
5049
5075
|
offsetBottom: Boolean,
|
|
5050
|
-
minHeight: Number
|
|
5051
|
-
|
|
5076
|
+
minHeight: Number
|
|
5077
|
+
},
|
|
5052
5078
|
|
|
5053
5079
|
data: {
|
|
5054
5080
|
expand: false,
|
|
5055
5081
|
offsetTop: false,
|
|
5056
5082
|
offsetBottom: false,
|
|
5057
|
-
minHeight: 0
|
|
5058
|
-
|
|
5083
|
+
minHeight: 0
|
|
5084
|
+
},
|
|
5059
5085
|
|
|
5060
5086
|
resizeTargets() {
|
|
5061
5087
|
// check for offsetTop change
|
|
@@ -5124,7 +5150,9 @@
|
|
|
5124
5150
|
}
|
|
5125
5151
|
},
|
|
5126
5152
|
|
|
5127
|
-
events: ['resize']
|
|
5153
|
+
events: ['resize']
|
|
5154
|
+
}
|
|
5155
|
+
};
|
|
5128
5156
|
|
|
5129
5157
|
var SVG = {
|
|
5130
5158
|
args: 'src',
|
|
@@ -5139,15 +5167,15 @@
|
|
|
5139
5167
|
ratio: Number,
|
|
5140
5168
|
class: String,
|
|
5141
5169
|
strokeAnimation: Boolean,
|
|
5142
|
-
attributes: 'list'
|
|
5143
|
-
|
|
5170
|
+
attributes: 'list'
|
|
5171
|
+
},
|
|
5144
5172
|
|
|
5145
5173
|
data: {
|
|
5146
5174
|
ratio: 1,
|
|
5147
5175
|
include: ['style', 'class'],
|
|
5148
5176
|
class: '',
|
|
5149
|
-
strokeAnimation: false
|
|
5150
|
-
|
|
5177
|
+
strokeAnimation: false
|
|
5178
|
+
},
|
|
5151
5179
|
|
|
5152
5180
|
beforeConnect() {
|
|
5153
5181
|
this.class += ' uk-svg';
|
|
@@ -5244,9 +5272,9 @@
|
|
|
5244
5272
|
}
|
|
5245
5273
|
|
|
5246
5274
|
dimensions.forEach((val, i) => attr(el, props[i], toFloat(val) * this.ratio || null));
|
|
5247
|
-
}
|
|
5248
|
-
|
|
5249
|
-
|
|
5275
|
+
}
|
|
5276
|
+
}
|
|
5277
|
+
};
|
|
5250
5278
|
|
|
5251
5279
|
const loadSVG = memoize(async (src) => {
|
|
5252
5280
|
if (src) {
|
|
@@ -5338,7 +5366,7 @@
|
|
|
5338
5366
|
|
|
5339
5367
|
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
5368
|
|
|
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
|
|
5369
|
+
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
5370
|
|
|
5343
5371
|
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
5372
|
|
|
@@ -5383,8 +5411,8 @@
|
|
|
5383
5411
|
'slidenav-next': slidenavNext,
|
|
5384
5412
|
'slidenav-next-large': slidenavNextLarge,
|
|
5385
5413
|
'slidenav-previous': slidenavPrevious,
|
|
5386
|
-
'slidenav-previous-large': slidenavPreviousLarge
|
|
5387
|
-
|
|
5414
|
+
'slidenav-previous-large': slidenavPreviousLarge
|
|
5415
|
+
};
|
|
5388
5416
|
|
|
5389
5417
|
const Icon = {
|
|
5390
5418
|
install: install$1,
|
|
@@ -5412,7 +5440,9 @@
|
|
|
5412
5440
|
}
|
|
5413
5441
|
|
|
5414
5442
|
return icon;
|
|
5415
|
-
}
|
|
5443
|
+
}
|
|
5444
|
+
}
|
|
5445
|
+
};
|
|
5416
5446
|
|
|
5417
5447
|
const IconComponent = {
|
|
5418
5448
|
args: false,
|
|
@@ -5420,13 +5450,13 @@
|
|
|
5420
5450
|
extends: Icon,
|
|
5421
5451
|
|
|
5422
5452
|
data: (vm) => ({
|
|
5423
|
-
icon: hyphenate(vm.constructor.options.name)
|
|
5424
|
-
|
|
5453
|
+
icon: hyphenate(vm.constructor.options.name)
|
|
5454
|
+
}),
|
|
5425
5455
|
|
|
5426
5456
|
beforeConnect() {
|
|
5427
5457
|
addClass(this.$el, this.$options.id);
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5458
|
+
}
|
|
5459
|
+
};
|
|
5430
5460
|
|
|
5431
5461
|
const NavParentIcon = {
|
|
5432
5462
|
extends: IconComponent,
|
|
@@ -5434,8 +5464,8 @@
|
|
|
5434
5464
|
beforeConnect() {
|
|
5435
5465
|
const icon = this.$props.icon;
|
|
5436
5466
|
this.icon = closest(this.$el, '.uk-nav-primary') ? icon + "-large" : icon;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5467
|
+
}
|
|
5468
|
+
};
|
|
5439
5469
|
|
|
5440
5470
|
const Slidenav = {
|
|
5441
5471
|
extends: IconComponent,
|
|
@@ -5444,8 +5474,8 @@
|
|
|
5444
5474
|
addClass(this.$el, 'uk-slidenav');
|
|
5445
5475
|
const icon = this.$props.icon;
|
|
5446
5476
|
this.icon = hasClass(this.$el, 'uk-slidenav-large') ? icon + "-large" : icon;
|
|
5447
|
-
}
|
|
5448
|
-
|
|
5477
|
+
}
|
|
5478
|
+
};
|
|
5449
5479
|
|
|
5450
5480
|
const Search = {
|
|
5451
5481
|
extends: IconComponent,
|
|
@@ -5457,16 +5487,16 @@
|
|
|
5457
5487
|
parents(this.$el, '.uk-search-navbar').length ?
|
|
5458
5488
|
'search-navbar' :
|
|
5459
5489
|
this.$props.icon;
|
|
5460
|
-
}
|
|
5461
|
-
|
|
5490
|
+
}
|
|
5491
|
+
};
|
|
5462
5492
|
|
|
5463
5493
|
const Close = {
|
|
5464
5494
|
extends: IconComponent,
|
|
5465
5495
|
|
|
5466
5496
|
beforeConnect() {
|
|
5467
5497
|
this.icon = "close-" + (hasClass(this.$el, 'uk-close-large') ? 'large' : 'icon');
|
|
5468
|
-
}
|
|
5469
|
-
|
|
5498
|
+
}
|
|
5499
|
+
};
|
|
5470
5500
|
|
|
5471
5501
|
const Spinner = {
|
|
5472
5502
|
extends: IconComponent,
|
|
@@ -5480,9 +5510,9 @@
|
|
|
5480
5510
|
}
|
|
5481
5511
|
|
|
5482
5512
|
return icon;
|
|
5483
|
-
}
|
|
5484
|
-
|
|
5485
|
-
|
|
5513
|
+
}
|
|
5514
|
+
}
|
|
5515
|
+
};
|
|
5486
5516
|
|
|
5487
5517
|
const parsed = {};
|
|
5488
5518
|
function install$1(UIkit) {
|
|
@@ -5530,8 +5560,8 @@
|
|
|
5530
5560
|
offsetTop: String,
|
|
5531
5561
|
offsetLeft: String,
|
|
5532
5562
|
target: String,
|
|
5533
|
-
loading: String
|
|
5534
|
-
|
|
5563
|
+
loading: String
|
|
5564
|
+
},
|
|
5535
5565
|
|
|
5536
5566
|
data: {
|
|
5537
5567
|
dataSrc: '',
|
|
@@ -5539,8 +5569,8 @@
|
|
|
5539
5569
|
offsetTop: '50vh',
|
|
5540
5570
|
offsetLeft: '50vw',
|
|
5541
5571
|
target: false,
|
|
5542
|
-
loading: 'lazy'
|
|
5543
|
-
|
|
5572
|
+
loading: 'lazy'
|
|
5573
|
+
},
|
|
5544
5574
|
|
|
5545
5575
|
connected() {
|
|
5546
5576
|
if (this.loading !== 'lazy') {
|
|
@@ -5571,9 +5601,9 @@
|
|
|
5571
5601
|
{
|
|
5572
5602
|
rootMargin: toPx(this.offsetTop, 'height') + "px " + toPx(
|
|
5573
5603
|
this.offsetLeft,
|
|
5574
|
-
'width') + "px"
|
|
5575
|
-
|
|
5604
|
+
'width') + "px"
|
|
5576
5605
|
|
|
5606
|
+
}));
|
|
5577
5607
|
|
|
5578
5608
|
|
|
5579
5609
|
},
|
|
@@ -5597,9 +5627,9 @@
|
|
|
5597
5627
|
removeAttr(image, 'loading');
|
|
5598
5628
|
setSrcAttrs(this.$el, image.currentSrc);
|
|
5599
5629
|
return this._data.image = image;
|
|
5600
|
-
}
|
|
5601
|
-
|
|
5602
|
-
|
|
5630
|
+
}
|
|
5631
|
+
}
|
|
5632
|
+
};
|
|
5603
5633
|
|
|
5604
5634
|
function setSrcAttrs(el, src) {
|
|
5605
5635
|
if (isImg(el)) {
|
|
@@ -5689,12 +5719,12 @@
|
|
|
5689
5719
|
|
|
5690
5720
|
var Media = {
|
|
5691
5721
|
props: {
|
|
5692
|
-
media: Boolean
|
|
5693
|
-
|
|
5722
|
+
media: Boolean
|
|
5723
|
+
},
|
|
5694
5724
|
|
|
5695
5725
|
data: {
|
|
5696
|
-
media: false
|
|
5697
|
-
|
|
5726
|
+
media: false
|
|
5727
|
+
},
|
|
5698
5728
|
|
|
5699
5729
|
connected() {
|
|
5700
5730
|
const media = toMedia(this.media, this.$el);
|
|
@@ -5715,8 +5745,8 @@
|
|
|
5715
5745
|
|
|
5716
5746
|
disconnected() {var _this$offMediaObj;
|
|
5717
5747
|
(_this$offMediaObj = this.offMediaObj) == null ? void 0 : _this$offMediaObj.call(this);
|
|
5718
|
-
}
|
|
5719
|
-
|
|
5748
|
+
}
|
|
5749
|
+
};
|
|
5720
5750
|
|
|
5721
5751
|
function toMedia(value, element) {
|
|
5722
5752
|
if (isString(value)) {
|
|
@@ -5734,21 +5764,21 @@
|
|
|
5734
5764
|
mixins: [Class, Media, Resize],
|
|
5735
5765
|
|
|
5736
5766
|
props: {
|
|
5737
|
-
fill: String
|
|
5738
|
-
|
|
5767
|
+
fill: String
|
|
5768
|
+
},
|
|
5739
5769
|
|
|
5740
5770
|
data: {
|
|
5741
5771
|
fill: '',
|
|
5742
5772
|
clsWrapper: 'uk-leader-fill',
|
|
5743
5773
|
clsHide: 'uk-leader-hide',
|
|
5744
|
-
attrFill: 'data-fill'
|
|
5745
|
-
|
|
5774
|
+
attrFill: 'data-fill'
|
|
5775
|
+
},
|
|
5746
5776
|
|
|
5747
5777
|
computed: {
|
|
5748
5778
|
fill(_ref) {let { fill } = _ref;
|
|
5749
5779
|
return fill || css(this.$el, '--uk-leader-fill-content');
|
|
5750
|
-
}
|
|
5751
|
-
|
|
5780
|
+
}
|
|
5781
|
+
},
|
|
5752
5782
|
|
|
5753
5783
|
connected() {
|
|
5754
5784
|
[this.wrapper] = wrapInner(this.$el, "<span class=\"" + this.clsWrapper + "\">");
|
|
@@ -5765,8 +5795,8 @@
|
|
|
5765
5795
|
return {
|
|
5766
5796
|
width,
|
|
5767
5797
|
fill: this.fill,
|
|
5768
|
-
hide: !this.matchMedia
|
|
5769
|
-
|
|
5798
|
+
hide: !this.matchMedia
|
|
5799
|
+
};
|
|
5770
5800
|
},
|
|
5771
5801
|
|
|
5772
5802
|
write(_ref2) {let { width, fill, hide } = _ref2;
|
|
@@ -5774,7 +5804,9 @@
|
|
|
5774
5804
|
attr(this.wrapper, this.attrFill, new Array(width).join(fill));
|
|
5775
5805
|
},
|
|
5776
5806
|
|
|
5777
|
-
events: ['resize']
|
|
5807
|
+
events: ['resize']
|
|
5808
|
+
}
|
|
5809
|
+
};
|
|
5778
5810
|
|
|
5779
5811
|
var modal = {
|
|
5780
5812
|
install,
|
|
@@ -5785,8 +5817,8 @@
|
|
|
5785
5817
|
clsPage: 'uk-modal-page',
|
|
5786
5818
|
selPanel: '.uk-modal-dialog',
|
|
5787
5819
|
selClose:
|
|
5788
|
-
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5789
|
-
|
|
5820
|
+
'.uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full'
|
|
5821
|
+
},
|
|
5790
5822
|
|
|
5791
5823
|
events: [
|
|
5792
5824
|
{
|
|
@@ -5802,8 +5834,8 @@
|
|
|
5802
5834
|
}
|
|
5803
5835
|
|
|
5804
5836
|
height(this.$el); // force reflow
|
|
5805
|
-
}
|
|
5806
|
-
|
|
5837
|
+
}
|
|
5838
|
+
},
|
|
5807
5839
|
|
|
5808
5840
|
{
|
|
5809
5841
|
name: 'hidden',
|
|
@@ -5813,10 +5845,10 @@
|
|
|
5813
5845
|
handler() {
|
|
5814
5846
|
css(this.$el, 'display', '');
|
|
5815
5847
|
removeClass(this.$el, 'uk-flex');
|
|
5816
|
-
}
|
|
5817
|
-
|
|
5818
|
-
|
|
5848
|
+
}
|
|
5849
|
+
}]
|
|
5819
5850
|
|
|
5851
|
+
};
|
|
5820
5852
|
|
|
5821
5853
|
function install(_ref) {let { modal } = _ref;
|
|
5822
5854
|
modal.dialog = function (content, options) {
|
|
@@ -5895,8 +5927,8 @@
|
|
|
5895
5927
|
|
|
5896
5928
|
modal.labels = {
|
|
5897
5929
|
ok: 'Ok',
|
|
5898
|
-
cancel: 'Cancel'
|
|
5899
|
-
|
|
5930
|
+
cancel: 'Cancel'
|
|
5931
|
+
};
|
|
5900
5932
|
|
|
5901
5933
|
function openDialog(tmpl, options, hideFn, submitFn) {
|
|
5902
5934
|
options = { bgClose: false, escClose: true, labels: modal.labels, ...options };
|
|
@@ -5927,7 +5959,9 @@
|
|
|
5927
5959
|
data: {
|
|
5928
5960
|
targets: '> .uk-parent',
|
|
5929
5961
|
toggle: '> a',
|
|
5930
|
-
content: '> ul'
|
|
5962
|
+
content: '> ul'
|
|
5963
|
+
}
|
|
5964
|
+
};
|
|
5931
5965
|
|
|
5932
5966
|
var navbar = {
|
|
5933
5967
|
mixins: [Class, Container],
|
|
@@ -5949,8 +5983,8 @@
|
|
|
5949
5983
|
targetX: Boolean,
|
|
5950
5984
|
targetY: Boolean,
|
|
5951
5985
|
animation: Boolean,
|
|
5952
|
-
animateOut: Boolean
|
|
5953
|
-
|
|
5986
|
+
animateOut: Boolean
|
|
5987
|
+
},
|
|
5954
5988
|
|
|
5955
5989
|
data: {
|
|
5956
5990
|
dropdown: '.uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle',
|
|
@@ -5960,8 +5994,8 @@
|
|
|
5960
5994
|
dropbar: false,
|
|
5961
5995
|
dropbarAnchor: false,
|
|
5962
5996
|
duration: 200,
|
|
5963
|
-
container: false
|
|
5964
|
-
|
|
5997
|
+
container: false
|
|
5998
|
+
},
|
|
5965
5999
|
|
|
5966
6000
|
computed: {
|
|
5967
6001
|
dropbarAnchor(_ref, $el) {let { dropbarAnchor } = _ref;
|
|
@@ -5986,8 +6020,8 @@
|
|
|
5986
6020
|
addClass(dropbar, 'uk-dropbar', 'uk-dropbar-top', 'uk-navbar-dropbar');
|
|
5987
6021
|
},
|
|
5988
6022
|
|
|
5989
|
-
immediate: true
|
|
5990
|
-
|
|
6023
|
+
immediate: true
|
|
6024
|
+
},
|
|
5991
6025
|
|
|
5992
6026
|
dropContainer(_, $el) {
|
|
5993
6027
|
return this.container || $el;
|
|
@@ -6018,13 +6052,13 @@
|
|
|
6018
6052
|
flip: false,
|
|
6019
6053
|
shift: true,
|
|
6020
6054
|
pos: "bottom-" + this.align,
|
|
6021
|
-
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6022
|
-
|
|
6055
|
+
boundary: this.boundary === true ? this.$el : this.boundary
|
|
6056
|
+
});
|
|
6023
6057
|
|
|
6024
6058
|
},
|
|
6025
6059
|
|
|
6026
|
-
immediate: true
|
|
6027
|
-
|
|
6060
|
+
immediate: true
|
|
6061
|
+
},
|
|
6028
6062
|
|
|
6029
6063
|
toggles: {
|
|
6030
6064
|
get(_ref4, $el) {let { dropdown } = _ref4;
|
|
@@ -6041,9 +6075,9 @@
|
|
|
6041
6075
|
}
|
|
6042
6076
|
},
|
|
6043
6077
|
|
|
6044
|
-
immediate: true
|
|
6045
|
-
|
|
6046
|
-
|
|
6078
|
+
immediate: true
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6047
6081
|
|
|
6048
6082
|
disconnected() {
|
|
6049
6083
|
this.dropbar && remove$1(this.dropbar);
|
|
@@ -6069,8 +6103,8 @@
|
|
|
6069
6103
|
{
|
|
6070
6104
|
active.hide(false);
|
|
6071
6105
|
}
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6106
|
+
}
|
|
6107
|
+
},
|
|
6074
6108
|
|
|
6075
6109
|
{
|
|
6076
6110
|
name: 'keydown',
|
|
@@ -6097,8 +6131,8 @@
|
|
|
6097
6131
|
}
|
|
6098
6132
|
|
|
6099
6133
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6134
|
+
}
|
|
6135
|
+
},
|
|
6102
6136
|
|
|
6103
6137
|
{
|
|
6104
6138
|
name: 'keydown',
|
|
@@ -6141,8 +6175,8 @@
|
|
|
6141
6175
|
}
|
|
6142
6176
|
|
|
6143
6177
|
handleNavItemNavigation(e, this.toggles, active);
|
|
6144
|
-
}
|
|
6145
|
-
|
|
6178
|
+
}
|
|
6179
|
+
},
|
|
6146
6180
|
|
|
6147
6181
|
{
|
|
6148
6182
|
name: 'mouseleave',
|
|
@@ -6165,8 +6199,8 @@
|
|
|
6165
6199
|
{
|
|
6166
6200
|
active.hide();
|
|
6167
6201
|
}
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6202
|
+
}
|
|
6203
|
+
},
|
|
6170
6204
|
|
|
6171
6205
|
{
|
|
6172
6206
|
name: 'beforeshow',
|
|
@@ -6189,8 +6223,8 @@
|
|
|
6189
6223
|
}
|
|
6190
6224
|
|
|
6191
6225
|
addClass(target, this.clsDrop + "-dropbar");
|
|
6192
|
-
}
|
|
6193
|
-
|
|
6226
|
+
}
|
|
6227
|
+
},
|
|
6194
6228
|
|
|
6195
6229
|
{
|
|
6196
6230
|
name: 'show',
|
|
@@ -6222,8 +6256,8 @@
|
|
|
6222
6256
|
target);
|
|
6223
6257
|
|
|
6224
6258
|
});
|
|
6225
|
-
}
|
|
6226
|
-
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6227
6261
|
|
|
6228
6262
|
{
|
|
6229
6263
|
name: 'beforehide',
|
|
@@ -6246,8 +6280,8 @@
|
|
|
6246
6280
|
{
|
|
6247
6281
|
e.preventDefault();
|
|
6248
6282
|
}
|
|
6249
|
-
}
|
|
6250
|
-
|
|
6283
|
+
}
|
|
6284
|
+
},
|
|
6251
6285
|
|
|
6252
6286
|
{
|
|
6253
6287
|
name: 'hide',
|
|
@@ -6272,8 +6306,8 @@
|
|
|
6272
6306
|
if (!active || (active == null ? void 0 : active.$el) === target) {
|
|
6273
6307
|
this.transitionTo(0);
|
|
6274
6308
|
}
|
|
6275
|
-
}
|
|
6276
|
-
|
|
6309
|
+
}
|
|
6310
|
+
}],
|
|
6277
6311
|
|
|
6278
6312
|
|
|
6279
6313
|
methods: {
|
|
@@ -6297,8 +6331,8 @@
|
|
|
6297
6331
|
Transition.start(
|
|
6298
6332
|
el,
|
|
6299
6333
|
{
|
|
6300
|
-
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6301
|
-
|
|
6334
|
+
clipPath: "polygon(0 0,100% 0,100% " + newHeight + "px,0 " + newHeight + "px)"
|
|
6335
|
+
},
|
|
6302
6336
|
this.duration)]).
|
|
6303
6337
|
|
|
6304
6338
|
|
|
@@ -6312,9 +6346,9 @@
|
|
|
6312
6346
|
|
|
6313
6347
|
isDropbarDrop(el) {
|
|
6314
6348
|
return this.getDropdown(el) && hasClass(el, this.clsDrop);
|
|
6315
|
-
}
|
|
6316
|
-
|
|
6317
|
-
|
|
6349
|
+
}
|
|
6350
|
+
}
|
|
6351
|
+
};
|
|
6318
6352
|
|
|
6319
6353
|
function handleNavItemNavigation(e, toggles, active) {
|
|
6320
6354
|
const { current, keyCode } = e;
|
|
@@ -6351,22 +6385,23 @@
|
|
|
6351
6385
|
LEFT: 37,
|
|
6352
6386
|
UP: 38,
|
|
6353
6387
|
RIGHT: 39,
|
|
6354
|
-
DOWN: 40
|
|
6388
|
+
DOWN: 40
|
|
6389
|
+
};
|
|
6355
6390
|
|
|
6356
6391
|
var Swipe = {
|
|
6357
6392
|
props: {
|
|
6358
|
-
swiping: Boolean
|
|
6359
|
-
|
|
6393
|
+
swiping: Boolean
|
|
6394
|
+
},
|
|
6360
6395
|
|
|
6361
6396
|
data: {
|
|
6362
|
-
swiping: true
|
|
6363
|
-
|
|
6397
|
+
swiping: true
|
|
6398
|
+
},
|
|
6364
6399
|
|
|
6365
6400
|
computed: {
|
|
6366
6401
|
swipeTarget(props, $el) {
|
|
6367
6402
|
return $el;
|
|
6368
|
-
}
|
|
6369
|
-
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6370
6405
|
|
|
6371
6406
|
connected() {
|
|
6372
6407
|
if (!this.swiping) {
|
|
@@ -6399,10 +6434,10 @@
|
|
|
6399
6434
|
});
|
|
6400
6435
|
}
|
|
6401
6436
|
});
|
|
6402
|
-
}
|
|
6403
|
-
|
|
6404
|
-
}
|
|
6405
|
-
|
|
6437
|
+
}
|
|
6438
|
+
});
|
|
6439
|
+
}
|
|
6440
|
+
};
|
|
6406
6441
|
|
|
6407
6442
|
function swipeDirection(x1, y1, x2, y2) {
|
|
6408
6443
|
return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ?
|
|
@@ -6422,8 +6457,8 @@
|
|
|
6422
6457
|
props: {
|
|
6423
6458
|
mode: String,
|
|
6424
6459
|
flip: Boolean,
|
|
6425
|
-
overlay: Boolean
|
|
6426
|
-
|
|
6460
|
+
overlay: Boolean
|
|
6461
|
+
},
|
|
6427
6462
|
|
|
6428
6463
|
data: {
|
|
6429
6464
|
mode: 'slide',
|
|
@@ -6438,8 +6473,8 @@
|
|
|
6438
6473
|
clsMode: 'uk-offcanvas',
|
|
6439
6474
|
clsOverlay: 'uk-offcanvas-overlay',
|
|
6440
6475
|
selClose: '.uk-offcanvas-close',
|
|
6441
|
-
container: false
|
|
6442
|
-
|
|
6476
|
+
container: false
|
|
6477
|
+
},
|
|
6443
6478
|
|
|
6444
6479
|
computed: {
|
|
6445
6480
|
clsFlip(_ref) {let { flip, clsFlip } = _ref;
|
|
@@ -6464,8 +6499,8 @@
|
|
|
6464
6499
|
|
|
6465
6500
|
transitionElement(_ref6) {let { mode } = _ref6;
|
|
6466
6501
|
return mode === 'reveal' ? parent(this.panel) : this.panel;
|
|
6467
|
-
}
|
|
6468
|
-
|
|
6502
|
+
}
|
|
6503
|
+
},
|
|
6469
6504
|
|
|
6470
6505
|
update: {
|
|
6471
6506
|
read() {
|
|
@@ -6474,8 +6509,8 @@
|
|
|
6474
6509
|
}
|
|
6475
6510
|
},
|
|
6476
6511
|
|
|
6477
|
-
events: ['resize']
|
|
6478
|
-
|
|
6512
|
+
events: ['resize']
|
|
6513
|
+
},
|
|
6479
6514
|
|
|
6480
6515
|
events: [
|
|
6481
6516
|
{
|
|
@@ -6490,8 +6525,8 @@
|
|
|
6490
6525
|
|
|
6491
6526
|
handler(e) {
|
|
6492
6527
|
e.cancelable && e.preventDefault();
|
|
6493
|
-
}
|
|
6494
|
-
|
|
6528
|
+
}
|
|
6529
|
+
},
|
|
6495
6530
|
|
|
6496
6531
|
{
|
|
6497
6532
|
name: 'show',
|
|
@@ -6521,8 +6556,8 @@
|
|
|
6521
6556
|
addClass(body, this.clsContainerAnimation);
|
|
6522
6557
|
|
|
6523
6558
|
this.clsContainerAnimation && suppressUserScale();
|
|
6524
|
-
}
|
|
6525
|
-
|
|
6559
|
+
}
|
|
6560
|
+
},
|
|
6526
6561
|
|
|
6527
6562
|
{
|
|
6528
6563
|
name: 'hide',
|
|
@@ -6532,8 +6567,8 @@
|
|
|
6532
6567
|
handler() {
|
|
6533
6568
|
removeClass(document.body, this.clsContainerAnimation);
|
|
6534
6569
|
css(document.body, 'touch-action', '');
|
|
6535
|
-
}
|
|
6536
|
-
|
|
6570
|
+
}
|
|
6571
|
+
},
|
|
6537
6572
|
|
|
6538
6573
|
{
|
|
6539
6574
|
name: 'hidden',
|
|
@@ -6552,8 +6587,8 @@
|
|
|
6552
6587
|
css(this.$el, 'display', '');
|
|
6553
6588
|
css(this.panel, 'maxWidth', '');
|
|
6554
6589
|
removeClass(document.body, this.clsContainer, this.clsFlip);
|
|
6555
|
-
}
|
|
6556
|
-
|
|
6590
|
+
}
|
|
6591
|
+
},
|
|
6557
6592
|
|
|
6558
6593
|
{
|
|
6559
6594
|
name: 'swipeLeft swipeRight',
|
|
@@ -6562,10 +6597,10 @@
|
|
|
6562
6597
|
if (this.isToggled() && endsWith(e.type, 'Left') ^ this.flip) {
|
|
6563
6598
|
this.hide();
|
|
6564
6599
|
}
|
|
6565
|
-
}
|
|
6566
|
-
|
|
6567
|
-
|
|
6600
|
+
}
|
|
6601
|
+
}]
|
|
6568
6602
|
|
|
6603
|
+
};
|
|
6569
6604
|
|
|
6570
6605
|
// Chrome in responsive mode zooms page upon opening offcanvas
|
|
6571
6606
|
function suppressUserScale() {
|
|
@@ -6589,14 +6624,14 @@
|
|
|
6589
6624
|
props: {
|
|
6590
6625
|
selContainer: String,
|
|
6591
6626
|
selContent: String,
|
|
6592
|
-
minHeight: Number
|
|
6593
|
-
|
|
6627
|
+
minHeight: Number
|
|
6628
|
+
},
|
|
6594
6629
|
|
|
6595
6630
|
data: {
|
|
6596
6631
|
selContainer: '.uk-modal',
|
|
6597
6632
|
selContent: '.uk-modal-dialog',
|
|
6598
|
-
minHeight: 150
|
|
6599
|
-
|
|
6633
|
+
minHeight: 150
|
|
6634
|
+
},
|
|
6600
6635
|
|
|
6601
6636
|
computed: {
|
|
6602
6637
|
container(_ref, $el) {let { selContainer } = _ref;
|
|
@@ -6605,8 +6640,8 @@
|
|
|
6605
6640
|
|
|
6606
6641
|
content(_ref2, $el) {let { selContent } = _ref2;
|
|
6607
6642
|
return closest($el, selContent);
|
|
6608
|
-
}
|
|
6609
|
-
|
|
6643
|
+
}
|
|
6644
|
+
},
|
|
6610
6645
|
|
|
6611
6646
|
resizeTargets() {
|
|
6612
6647
|
return [this.container, this.content];
|
|
@@ -6621,16 +6656,18 @@
|
|
|
6621
6656
|
return {
|
|
6622
6657
|
max: Math.max(
|
|
6623
6658
|
this.minHeight,
|
|
6624
|
-
height(this.container) - (dimensions(this.content).height - height(this.$el)))
|
|
6625
|
-
|
|
6659
|
+
height(this.container) - (dimensions(this.content).height - height(this.$el)))
|
|
6626
6660
|
|
|
6661
|
+
};
|
|
6627
6662
|
},
|
|
6628
6663
|
|
|
6629
6664
|
write(_ref3) {let { max } = _ref3;
|
|
6630
6665
|
css(this.$el, { minHeight: this.minHeight, maxHeight: max });
|
|
6631
6666
|
},
|
|
6632
6667
|
|
|
6633
|
-
events: ['resize']
|
|
6668
|
+
events: ['resize']
|
|
6669
|
+
}
|
|
6670
|
+
};
|
|
6634
6671
|
|
|
6635
6672
|
var responsive = {
|
|
6636
6673
|
mixins: [Resize],
|
|
@@ -6658,23 +6695,25 @@
|
|
|
6658
6695
|
Dimensions.contain(
|
|
6659
6696
|
{
|
|
6660
6697
|
height: this.height,
|
|
6661
|
-
width: this.width
|
|
6662
|
-
|
|
6698
|
+
width: this.width
|
|
6699
|
+
},
|
|
6663
6700
|
dim).
|
|
6664
6701
|
height);
|
|
6665
6702
|
|
|
6666
6703
|
},
|
|
6667
6704
|
|
|
6668
|
-
events: ['resize']
|
|
6705
|
+
events: ['resize']
|
|
6706
|
+
}
|
|
6707
|
+
};
|
|
6669
6708
|
|
|
6670
6709
|
var scroll = {
|
|
6671
6710
|
props: {
|
|
6672
|
-
offset: Number
|
|
6673
|
-
|
|
6711
|
+
offset: Number
|
|
6712
|
+
},
|
|
6674
6713
|
|
|
6675
6714
|
data: {
|
|
6676
|
-
offset: 0
|
|
6677
|
-
|
|
6715
|
+
offset: 0
|
|
6716
|
+
},
|
|
6678
6717
|
|
|
6679
6718
|
connected() {
|
|
6680
6719
|
registerClick(this);
|
|
@@ -6692,9 +6731,9 @@
|
|
|
6692
6731
|
await scrollIntoView(el, { offset: this.offset });
|
|
6693
6732
|
trigger(this.$el, 'scrolled', [this, el]);
|
|
6694
6733
|
}
|
|
6695
|
-
}
|
|
6696
|
-
|
|
6697
|
-
|
|
6734
|
+
}
|
|
6735
|
+
}
|
|
6736
|
+
};
|
|
6698
6737
|
|
|
6699
6738
|
const components$1 = new Set();
|
|
6700
6739
|
function registerClick(cmp) {
|
|
@@ -6742,8 +6781,8 @@
|
|
|
6742
6781
|
offsetTop: Number,
|
|
6743
6782
|
offsetLeft: Number,
|
|
6744
6783
|
repeat: Boolean,
|
|
6745
|
-
delay: Number
|
|
6746
|
-
|
|
6784
|
+
delay: Number
|
|
6785
|
+
},
|
|
6747
6786
|
|
|
6748
6787
|
data: () => ({
|
|
6749
6788
|
cls: '',
|
|
@@ -6753,8 +6792,8 @@
|
|
|
6753
6792
|
offsetLeft: 0,
|
|
6754
6793
|
repeat: false,
|
|
6755
6794
|
delay: 0,
|
|
6756
|
-
inViewClass: 'uk-scrollspy-inview'
|
|
6757
|
-
|
|
6795
|
+
inViewClass: 'uk-scrollspy-inview'
|
|
6796
|
+
}),
|
|
6758
6797
|
|
|
6759
6798
|
computed: {
|
|
6760
6799
|
elements: {
|
|
@@ -6773,9 +6812,9 @@
|
|
|
6773
6812
|
}
|
|
6774
6813
|
},
|
|
6775
6814
|
|
|
6776
|
-
immediate: true
|
|
6777
|
-
|
|
6778
|
-
|
|
6815
|
+
immediate: true
|
|
6816
|
+
}
|
|
6817
|
+
},
|
|
6779
6818
|
|
|
6780
6819
|
connected() {
|
|
6781
6820
|
this._data.elements = new Map();
|
|
@@ -6787,8 +6826,8 @@
|
|
|
6787
6826
|
for (const { target: el, isIntersecting } of records) {
|
|
6788
6827
|
if (!elements.has(el)) {
|
|
6789
6828
|
elements.set(el, {
|
|
6790
|
-
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6791
|
-
|
|
6829
|
+
cls: data(el, 'uk-scrollspy-class') || this.cls
|
|
6830
|
+
});
|
|
6792
6831
|
}
|
|
6793
6832
|
|
|
6794
6833
|
const state = elements.get(el);
|
|
@@ -6803,9 +6842,9 @@
|
|
|
6803
6842
|
},
|
|
6804
6843
|
{
|
|
6805
6844
|
rootMargin: toPx(this.offsetTop, 'height') - 1 + "px " + (
|
|
6806
|
-
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6807
|
-
|
|
6845
|
+
toPx(this.offsetLeft, 'width') - 1) + "px"
|
|
6808
6846
|
|
|
6847
|
+
},
|
|
6809
6848
|
false));
|
|
6810
6849
|
|
|
6811
6850
|
|
|
@@ -6837,8 +6876,8 @@
|
|
|
6837
6876
|
this.toggle(el, false);
|
|
6838
6877
|
}
|
|
6839
6878
|
}
|
|
6840
|
-
}
|
|
6841
|
-
|
|
6879
|
+
}
|
|
6880
|
+
}],
|
|
6842
6881
|
|
|
6843
6882
|
|
|
6844
6883
|
methods: {
|
|
@@ -6871,7 +6910,9 @@
|
|
|
6871
6910
|
|
|
6872
6911
|
// change to `visibility: hidden` does not trigger observers
|
|
6873
6912
|
this.$update(el);
|
|
6874
|
-
}
|
|
6913
|
+
}
|
|
6914
|
+
}
|
|
6915
|
+
};
|
|
6875
6916
|
|
|
6876
6917
|
var scrollspyNav = {
|
|
6877
6918
|
mixins: [Scroll],
|
|
@@ -6881,16 +6922,16 @@
|
|
|
6881
6922
|
closest: String,
|
|
6882
6923
|
scroll: Boolean,
|
|
6883
6924
|
overflow: Boolean,
|
|
6884
|
-
offset: Number
|
|
6885
|
-
|
|
6925
|
+
offset: Number
|
|
6926
|
+
},
|
|
6886
6927
|
|
|
6887
6928
|
data: {
|
|
6888
6929
|
cls: 'uk-active',
|
|
6889
6930
|
closest: false,
|
|
6890
6931
|
scroll: false,
|
|
6891
6932
|
overflow: true,
|
|
6892
|
-
offset: 0
|
|
6893
|
-
|
|
6933
|
+
offset: 0
|
|
6934
|
+
},
|
|
6894
6935
|
|
|
6895
6936
|
computed: {
|
|
6896
6937
|
links: {
|
|
@@ -6904,13 +6945,13 @@
|
|
|
6904
6945
|
}
|
|
6905
6946
|
},
|
|
6906
6947
|
|
|
6907
|
-
immediate: true
|
|
6908
|
-
|
|
6948
|
+
immediate: true
|
|
6949
|
+
},
|
|
6909
6950
|
|
|
6910
6951
|
elements(_ref) {let { closest: selector } = _ref;
|
|
6911
6952
|
return closest(this.links, selector || '*');
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6953
|
+
}
|
|
6954
|
+
},
|
|
6914
6955
|
|
|
6915
6956
|
update: [
|
|
6916
6957
|
{
|
|
@@ -6960,7 +7001,10 @@
|
|
|
6960
7001
|
}
|
|
6961
7002
|
},
|
|
6962
7003
|
|
|
6963
|
-
events: ['scroll', 'resize']
|
|
7004
|
+
events: ['scroll', 'resize']
|
|
7005
|
+
}]
|
|
7006
|
+
|
|
7007
|
+
};
|
|
6964
7008
|
|
|
6965
7009
|
var sticky = {
|
|
6966
7010
|
mixins: [Class, Media, Resize, Scroll],
|
|
@@ -6980,8 +7024,8 @@
|
|
|
6980
7024
|
clsBelow: String,
|
|
6981
7025
|
selTarget: String,
|
|
6982
7026
|
showOnUp: Boolean,
|
|
6983
|
-
targetOffset: Number
|
|
6984
|
-
|
|
7027
|
+
targetOffset: Number
|
|
7028
|
+
},
|
|
6985
7029
|
|
|
6986
7030
|
data: {
|
|
6987
7031
|
position: 'top',
|
|
@@ -6998,14 +7042,14 @@
|
|
|
6998
7042
|
clsBelow: 'uk-sticky-below',
|
|
6999
7043
|
selTarget: '',
|
|
7000
7044
|
showOnUp: false,
|
|
7001
|
-
targetOffset: false
|
|
7002
|
-
|
|
7045
|
+
targetOffset: false
|
|
7046
|
+
},
|
|
7003
7047
|
|
|
7004
7048
|
computed: {
|
|
7005
7049
|
selTarget(_ref, $el) {let { selTarget } = _ref;
|
|
7006
7050
|
return selTarget && $(selTarget, $el) || $el;
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7051
|
+
}
|
|
7052
|
+
},
|
|
7009
7053
|
|
|
7010
7054
|
resizeTargets() {
|
|
7011
7055
|
return document.documentElement;
|
|
@@ -7042,8 +7086,8 @@
|
|
|
7042
7086
|
|
|
7043
7087
|
handler() {
|
|
7044
7088
|
this.$emit('resize');
|
|
7045
|
-
}
|
|
7046
|
-
|
|
7089
|
+
}
|
|
7090
|
+
},
|
|
7047
7091
|
{
|
|
7048
7092
|
name: 'load hashchange popstate',
|
|
7049
7093
|
|
|
@@ -7074,13 +7118,13 @@
|
|
|
7074
7118
|
toPx(this.offset, 'height', this.placeholder);
|
|
7075
7119
|
}
|
|
7076
7120
|
});
|
|
7077
|
-
}
|
|
7078
|
-
|
|
7121
|
+
}
|
|
7122
|
+
}],
|
|
7079
7123
|
|
|
7080
7124
|
|
|
7081
7125
|
update: [
|
|
7082
7126
|
{
|
|
7083
|
-
read(_ref2, types) {let { height: height$1, margin } = _ref2;
|
|
7127
|
+
read(_ref2, types) {let { height: height$1, width, margin } = _ref2;
|
|
7084
7128
|
this.inactive = !this.matchMedia || !isVisible(this.$el);
|
|
7085
7129
|
|
|
7086
7130
|
if (this.inactive) {
|
|
@@ -7094,7 +7138,7 @@
|
|
|
7094
7138
|
}
|
|
7095
7139
|
|
|
7096
7140
|
if (!this.active) {
|
|
7097
|
-
height$1 = offset(this.$el)
|
|
7141
|
+
({ height: height$1, width } = offset(this.$el));
|
|
7098
7142
|
margin = css(this.$el, 'margin');
|
|
7099
7143
|
}
|
|
7100
7144
|
|
|
@@ -7103,7 +7147,6 @@
|
|
|
7103
7147
|
requestAnimationFrame(() => css(this.selTarget, 'transition', ''));
|
|
7104
7148
|
}
|
|
7105
7149
|
|
|
7106
|
-
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7107
7150
|
const windowHeight = height(window);
|
|
7108
7151
|
|
|
7109
7152
|
let position = this.position;
|
|
@@ -7111,6 +7154,7 @@
|
|
|
7111
7154
|
position = position === 'top' ? 'bottom' : 'top';
|
|
7112
7155
|
}
|
|
7113
7156
|
|
|
7157
|
+
const referenceElement = this.isFixed ? this.placeholder : this.$el;
|
|
7114
7158
|
let offset$1 = toPx(this.offset, 'height', referenceElement);
|
|
7115
7159
|
if (position === 'bottom' && (height$1 < windowHeight || this.overflowFlip)) {
|
|
7116
7160
|
offset$1 += windowHeight - height$1;
|
|
@@ -7140,16 +7184,16 @@
|
|
|
7140
7184
|
overflow,
|
|
7141
7185
|
topOffset,
|
|
7142
7186
|
height: height$1,
|
|
7187
|
+
width,
|
|
7143
7188
|
margin,
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7189
|
+
top: offsetPosition(referenceElement)[0]
|
|
7190
|
+
};
|
|
7147
7191
|
},
|
|
7148
7192
|
|
|
7149
|
-
write(_ref3) {let { height, margin } = _ref3;
|
|
7193
|
+
write(_ref3) {let { height, width, margin } = _ref3;
|
|
7150
7194
|
const { placeholder } = this;
|
|
7151
7195
|
|
|
7152
|
-
css(placeholder, { height, margin });
|
|
7196
|
+
css(placeholder, { height, width, margin });
|
|
7153
7197
|
|
|
7154
7198
|
if (!within(placeholder, document)) {
|
|
7155
7199
|
after(this.$el, placeholder);
|
|
@@ -7157,8 +7201,8 @@
|
|
|
7157
7201
|
}
|
|
7158
7202
|
},
|
|
7159
7203
|
|
|
7160
|
-
events: ['resize']
|
|
7161
|
-
|
|
7204
|
+
events: ['resize']
|
|
7205
|
+
},
|
|
7162
7206
|
|
|
7163
7207
|
{
|
|
7164
7208
|
read(_ref4)
|
|
@@ -7183,9 +7227,9 @@
|
|
|
7183
7227
|
overflowScroll: clamp(
|
|
7184
7228
|
overflowScroll + clamp(scroll, start, end) - clamp(prevScroll, start, end),
|
|
7185
7229
|
0,
|
|
7186
|
-
overflow)
|
|
7187
|
-
|
|
7230
|
+
overflow)
|
|
7188
7231
|
|
|
7232
|
+
};
|
|
7189
7233
|
},
|
|
7190
7234
|
|
|
7191
7235
|
write(data, types) {
|
|
@@ -7199,8 +7243,8 @@
|
|
|
7199
7243
|
top,
|
|
7200
7244
|
start,
|
|
7201
7245
|
topOffset,
|
|
7202
|
-
height
|
|
7203
|
-
data;
|
|
7246
|
+
height
|
|
7247
|
+
} = data;
|
|
7204
7248
|
|
|
7205
7249
|
if (
|
|
7206
7250
|
scroll < 0 ||
|
|
@@ -7261,8 +7305,8 @@
|
|
|
7261
7305
|
}
|
|
7262
7306
|
},
|
|
7263
7307
|
|
|
7264
|
-
events: ['resize', 'scroll']
|
|
7265
|
-
|
|
7308
|
+
events: ['resize', 'scroll']
|
|
7309
|
+
}],
|
|
7266
7310
|
|
|
7267
7311
|
|
|
7268
7312
|
methods: {
|
|
@@ -7290,8 +7334,8 @@
|
|
|
7290
7334
|
offset,
|
|
7291
7335
|
topOffset,
|
|
7292
7336
|
height,
|
|
7293
|
-
offsetParentTop
|
|
7294
|
-
this._data;
|
|
7337
|
+
offsetParentTop
|
|
7338
|
+
} = this._data;
|
|
7295
7339
|
const active = start !== 0 || scroll > start;
|
|
7296
7340
|
let position = 'fixed';
|
|
7297
7341
|
|
|
@@ -7307,8 +7351,8 @@
|
|
|
7307
7351
|
css(this.$el, {
|
|
7308
7352
|
position,
|
|
7309
7353
|
top: offset + "px",
|
|
7310
|
-
width
|
|
7311
|
-
|
|
7354
|
+
width
|
|
7355
|
+
});
|
|
7312
7356
|
|
|
7313
7357
|
this.setActive(active);
|
|
7314
7358
|
toggleClass(this.$el, this.clsBelow, scroll > topOffset + height);
|
|
@@ -7325,9 +7369,9 @@
|
|
|
7325
7369
|
replaceClass(this.selTarget, this.clsActive, this.clsInactive);
|
|
7326
7370
|
prev !== active && trigger(this.$el, 'inactive');
|
|
7327
7371
|
}
|
|
7328
|
-
}
|
|
7329
|
-
|
|
7330
|
-
|
|
7372
|
+
}
|
|
7373
|
+
}
|
|
7374
|
+
};
|
|
7331
7375
|
|
|
7332
7376
|
function parseProp(value, el, propOffset, padding) {
|
|
7333
7377
|
if (!value) {
|
|
@@ -7365,8 +7409,8 @@
|
|
|
7365
7409
|
connect: String,
|
|
7366
7410
|
toggle: String,
|
|
7367
7411
|
itemNav: String,
|
|
7368
|
-
active: Number
|
|
7369
|
-
|
|
7412
|
+
active: Number
|
|
7413
|
+
},
|
|
7370
7414
|
|
|
7371
7415
|
data: {
|
|
7372
7416
|
connect: '~.uk-switcher',
|
|
@@ -7374,8 +7418,8 @@
|
|
|
7374
7418
|
itemNav: false,
|
|
7375
7419
|
active: 0,
|
|
7376
7420
|
cls: 'uk-active',
|
|
7377
|
-
attrItem: 'uk-switcher-item'
|
|
7378
|
-
|
|
7421
|
+
attrItem: 'uk-switcher-item'
|
|
7422
|
+
},
|
|
7379
7423
|
|
|
7380
7424
|
computed: {
|
|
7381
7425
|
connects: {
|
|
@@ -7390,8 +7434,8 @@
|
|
|
7390
7434
|
},
|
|
7391
7435
|
|
|
7392
7436
|
document: true,
|
|
7393
|
-
immediate: true
|
|
7394
|
-
|
|
7437
|
+
immediate: true
|
|
7438
|
+
},
|
|
7395
7439
|
|
|
7396
7440
|
connectChildren: {
|
|
7397
7441
|
get() {
|
|
@@ -7406,8 +7450,8 @@
|
|
|
7406
7450
|
}
|
|
7407
7451
|
},
|
|
7408
7452
|
|
|
7409
|
-
immediate: true
|
|
7410
|
-
|
|
7453
|
+
immediate: true
|
|
7454
|
+
},
|
|
7411
7455
|
|
|
7412
7456
|
toggles: {
|
|
7413
7457
|
get(_ref2, $el) {let { toggle } = _ref2;
|
|
@@ -7421,8 +7465,8 @@
|
|
|
7421
7465
|
this.show(~active ? active : toggles[this.active] || toggles[0]);
|
|
7422
7466
|
},
|
|
7423
7467
|
|
|
7424
|
-
immediate: true
|
|
7425
|
-
|
|
7468
|
+
immediate: true
|
|
7469
|
+
},
|
|
7426
7470
|
|
|
7427
7471
|
children() {
|
|
7428
7472
|
return children(this.$el).filter((child) =>
|
|
@@ -7432,8 +7476,8 @@
|
|
|
7432
7476
|
|
|
7433
7477
|
swipeTarget() {
|
|
7434
7478
|
return this.connects;
|
|
7435
|
-
}
|
|
7436
|
-
|
|
7479
|
+
}
|
|
7480
|
+
},
|
|
7437
7481
|
|
|
7438
7482
|
events: [
|
|
7439
7483
|
{
|
|
@@ -7446,8 +7490,8 @@
|
|
|
7446
7490
|
handler(e) {
|
|
7447
7491
|
e.preventDefault();
|
|
7448
7492
|
this.show(e.current);
|
|
7449
|
-
}
|
|
7450
|
-
|
|
7493
|
+
}
|
|
7494
|
+
},
|
|
7451
7495
|
|
|
7452
7496
|
{
|
|
7453
7497
|
name: 'click',
|
|
@@ -7463,8 +7507,8 @@
|
|
|
7463
7507
|
handler(e) {
|
|
7464
7508
|
e.preventDefault();
|
|
7465
7509
|
this.show(data(e.current, this.attrItem));
|
|
7466
|
-
}
|
|
7467
|
-
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7468
7512
|
|
|
7469
7513
|
{
|
|
7470
7514
|
name: 'swipeRight swipeLeft',
|
|
@@ -7479,8 +7523,8 @@
|
|
|
7479
7523
|
|
|
7480
7524
|
handler(_ref3) {let { type } = _ref3;
|
|
7481
7525
|
this.show(endsWith(type, 'Left') ? 'next' : 'previous');
|
|
7482
|
-
}
|
|
7483
|
-
|
|
7526
|
+
}
|
|
7527
|
+
}],
|
|
7484
7528
|
|
|
7485
7529
|
|
|
7486
7530
|
methods: {
|
|
@@ -7506,7 +7550,9 @@
|
|
|
7506
7550
|
|
|
7507
7551
|
await this.toggleElement(children[active], true, animate);
|
|
7508
7552
|
});
|
|
7509
|
-
}
|
|
7553
|
+
}
|
|
7554
|
+
}
|
|
7555
|
+
};
|
|
7510
7556
|
|
|
7511
7557
|
var tab = {
|
|
7512
7558
|
mixins: [Class],
|
|
@@ -7514,13 +7560,13 @@
|
|
|
7514
7560
|
extends: Switcher,
|
|
7515
7561
|
|
|
7516
7562
|
props: {
|
|
7517
|
-
media: Boolean
|
|
7518
|
-
|
|
7563
|
+
media: Boolean
|
|
7564
|
+
},
|
|
7519
7565
|
|
|
7520
7566
|
data: {
|
|
7521
7567
|
media: 960,
|
|
7522
|
-
attrItem: 'uk-tab-item'
|
|
7523
|
-
|
|
7568
|
+
attrItem: 'uk-tab-item'
|
|
7569
|
+
},
|
|
7524
7570
|
|
|
7525
7571
|
connected() {
|
|
7526
7572
|
const cls = hasClass(this.$el, 'uk-tab-left') ?
|
|
@@ -7532,7 +7578,8 @@
|
|
|
7532
7578
|
if (cls) {
|
|
7533
7579
|
this.$create('toggle', this.$el, { cls, mode: 'media', media: this.media });
|
|
7534
7580
|
}
|
|
7535
|
-
}
|
|
7581
|
+
}
|
|
7582
|
+
};
|
|
7536
7583
|
|
|
7537
7584
|
const KEY_SPACE = 32;
|
|
7538
7585
|
|
|
@@ -7545,15 +7592,15 @@
|
|
|
7545
7592
|
href: String,
|
|
7546
7593
|
target: null,
|
|
7547
7594
|
mode: 'list',
|
|
7548
|
-
queued: Boolean
|
|
7549
|
-
|
|
7595
|
+
queued: Boolean
|
|
7596
|
+
},
|
|
7550
7597
|
|
|
7551
7598
|
data: {
|
|
7552
7599
|
href: false,
|
|
7553
7600
|
target: false,
|
|
7554
7601
|
mode: 'click',
|
|
7555
|
-
queued: true
|
|
7556
|
-
|
|
7602
|
+
queued: true
|
|
7603
|
+
},
|
|
7557
7604
|
|
|
7558
7605
|
computed: {
|
|
7559
7606
|
target: {
|
|
@@ -7568,9 +7615,9 @@
|
|
|
7568
7615
|
},
|
|
7569
7616
|
|
|
7570
7617
|
document: true,
|
|
7571
|
-
immediate: true
|
|
7572
|
-
|
|
7573
|
-
|
|
7618
|
+
immediate: true
|
|
7619
|
+
}
|
|
7620
|
+
},
|
|
7574
7621
|
|
|
7575
7622
|
connected() {
|
|
7576
7623
|
if (!includes(this.mode, 'media') && !isFocusable(this.$el)) {
|
|
@@ -7608,8 +7655,8 @@
|
|
|
7608
7655
|
if (includes(this.mode, 'click')) {
|
|
7609
7656
|
this._preventClick = true;
|
|
7610
7657
|
}
|
|
7611
|
-
}
|
|
7612
|
-
|
|
7658
|
+
}
|
|
7659
|
+
},
|
|
7613
7660
|
|
|
7614
7661
|
{
|
|
7615
7662
|
name: pointerEnter + " " + pointerLeave + " focus blur",
|
|
@@ -7647,8 +7694,8 @@
|
|
|
7647
7694
|
this._showState = show ? expanded : null;
|
|
7648
7695
|
|
|
7649
7696
|
this.toggle("toggle" + (show ? 'show' : 'hide'));
|
|
7650
|
-
}
|
|
7651
|
-
|
|
7697
|
+
}
|
|
7698
|
+
},
|
|
7652
7699
|
|
|
7653
7700
|
{
|
|
7654
7701
|
name: 'keydown',
|
|
@@ -7662,8 +7709,8 @@
|
|
|
7662
7709
|
e.preventDefault();
|
|
7663
7710
|
this.$el.click();
|
|
7664
7711
|
}
|
|
7665
|
-
}
|
|
7666
|
-
|
|
7712
|
+
}
|
|
7713
|
+
},
|
|
7667
7714
|
|
|
7668
7715
|
{
|
|
7669
7716
|
name: 'click',
|
|
@@ -7687,8 +7734,8 @@
|
|
|
7687
7734
|
if (!this._preventClick && includes(this.mode, 'click')) {
|
|
7688
7735
|
this.toggle();
|
|
7689
7736
|
}
|
|
7690
|
-
}
|
|
7691
|
-
|
|
7737
|
+
}
|
|
7738
|
+
},
|
|
7692
7739
|
|
|
7693
7740
|
{
|
|
7694
7741
|
name: 'hide show',
|
|
@@ -7701,8 +7748,8 @@
|
|
|
7701
7748
|
|
|
7702
7749
|
handler(_ref2) {let { target, type } = _ref2;
|
|
7703
7750
|
this.updateAria(target === this.target[0] && type === 'show');
|
|
7704
|
-
}
|
|
7705
|
-
|
|
7751
|
+
}
|
|
7752
|
+
},
|
|
7706
7753
|
|
|
7707
7754
|
{
|
|
7708
7755
|
name: 'mediachange',
|
|
@@ -7719,8 +7766,8 @@
|
|
|
7719
7766
|
if (mediaObj.matches ^ this.isToggled(this.target)) {
|
|
7720
7767
|
this.toggle();
|
|
7721
7768
|
}
|
|
7722
|
-
}
|
|
7723
|
-
|
|
7769
|
+
}
|
|
7770
|
+
}],
|
|
7724
7771
|
|
|
7725
7772
|
|
|
7726
7773
|
methods: {
|
|
@@ -7761,7 +7808,9 @@
|
|
|
7761
7808
|
'aria-expanded',
|
|
7762
7809
|
isBoolean(toggled) ? toggled : this.isToggled(this.target));
|
|
7763
7810
|
|
|
7764
|
-
}
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
};
|
|
7765
7814
|
|
|
7766
7815
|
var components = /*#__PURE__*/Object.freeze({
|
|
7767
7816
|
__proto__: null,
|