uikit 3.19.5-dev.21fa5c45d → 3.19.5-dev.3a146179f
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 +4 -0
- package/dist/css/uikit-core-rtl.css +2 -2
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +2 -2
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +2 -2
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +2 -2
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +55 -55
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +55 -55
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +15 -8
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +16 -9
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +16 -10
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +16 -9
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +16 -9
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +1 -1
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +73 -58
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +81 -64
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/boot.js +6 -7
- package/src/js/api/component.js +4 -4
- package/src/js/api/computed.js +24 -23
- package/src/js/api/observer.js +1 -1
- package/src/js/components/slider-parallax.js +2 -2
- package/src/js/components/slider.js +1 -1
- package/src/js/core/drop.js +1 -2
- package/src/js/core/height-placeholder.js +5 -2
- package/src/js/core/height-viewport.js +1 -1
- package/src/js/core/icon.js +2 -3
- package/src/js/core/inverse.js +6 -2
- package/src/js/core/modal.js +5 -6
- package/src/js/core/switcher.js +5 -1
- package/src/js/core/toggle.js +7 -3
- package/src/js/mixin/parallax.js +7 -3
- package/src/js/mixin/slider.js +0 -3
- package/src/js/mixin/slideshow.js +3 -0
- package/src/js/util/filter.js +1 -11
- package/src/js/util/lang.js +1 -1
- package/src/js/util/selector.js +8 -4
- package/src/less/components/utility.less +1 -1
- package/src/scss/components/utility.scss +1 -1
package/dist/js/uikit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.19.5-dev.
|
|
1
|
+
/*! UIkit 3.19.5-dev.3a146179f | https://www.getuikit.com | (c) 2014 - 2024 YOOtheme | MIT License */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
return parseFloat(value) || 0;
|
|
89
89
|
}
|
|
90
90
|
function toNode(element) {
|
|
91
|
-
return toNodes(element)[0];
|
|
91
|
+
return element && toNodes(element)[0];
|
|
92
92
|
}
|
|
93
93
|
function toNodes(element) {
|
|
94
94
|
return isNode(element) ? [element] : Array.from(element || []).filter(isNode);
|
|
@@ -319,13 +319,6 @@
|
|
|
319
319
|
function matches(element, selector) {
|
|
320
320
|
return toNodes(element).some((element2) => element2.matches(selector));
|
|
321
321
|
}
|
|
322
|
-
function closest(element, selector) {
|
|
323
|
-
var _a;
|
|
324
|
-
return (_a = toNode(element)) == null ? void 0 : _a.closest(startsWith(selector, ">") ? selector.slice(1) : selector);
|
|
325
|
-
}
|
|
326
|
-
function within(element, selector) {
|
|
327
|
-
return isString(selector) ? !!closest(element, selector) : toNode(selector).contains(toNode(element));
|
|
328
|
-
}
|
|
329
322
|
function parents(element, selector) {
|
|
330
323
|
const elements = [];
|
|
331
324
|
while (element = parent(element)) {
|
|
@@ -374,10 +367,11 @@
|
|
|
374
367
|
const splitSelectorRe = /.*?[^\\](?![^(]*\))(?:,|$)/g;
|
|
375
368
|
const trailingCommaRe = /\s*,$/;
|
|
376
369
|
const parseSelector = memoize((selector) => {
|
|
370
|
+
var _a;
|
|
377
371
|
selector = selector.replace(addStarRe, "$1 *");
|
|
378
372
|
let isContextSelector = false;
|
|
379
373
|
const selectors = [];
|
|
380
|
-
for (let sel of selector.match(splitSelectorRe)) {
|
|
374
|
+
for (let sel of (_a = selector.match(splitSelectorRe)) != null ? _a : []) {
|
|
381
375
|
sel = sel.replace(trailingCommaRe, "").trim();
|
|
382
376
|
if (sel[0] === ">") {
|
|
383
377
|
sel = `:scope ${sel}`;
|
|
@@ -405,7 +399,7 @@
|
|
|
405
399
|
let ctx = context;
|
|
406
400
|
if (sel[0] === "!") {
|
|
407
401
|
const selectors = sel.substr(1).trim().split(" ");
|
|
408
|
-
ctx =
|
|
402
|
+
ctx = context.parentElement.closest(selectors[0]);
|
|
409
403
|
sel = selectors.slice(1).join(" ").trim();
|
|
410
404
|
if (!sel.length && isSingle) {
|
|
411
405
|
return ctx;
|
|
@@ -420,7 +414,11 @@
|
|
|
420
414
|
return ctx;
|
|
421
415
|
}
|
|
422
416
|
} else if (sel[0] === "~" || sel[0] === "+" && isSingle) {
|
|
423
|
-
return _doQuery(
|
|
417
|
+
return _doQuery(
|
|
418
|
+
ctx.parentElement,
|
|
419
|
+
queryFn,
|
|
420
|
+
`:scope :nth-child(${index(ctx) + 1}) ${sel}`
|
|
421
|
+
);
|
|
424
422
|
}
|
|
425
423
|
if (ctx) {
|
|
426
424
|
selector += `${selector ? "," : ""}${domPath(ctx)} ${sel}`;
|
|
@@ -1562,7 +1560,6 @@
|
|
|
1562
1560
|
camelize: camelize,
|
|
1563
1561
|
children: children,
|
|
1564
1562
|
clamp: clamp,
|
|
1565
|
-
closest: closest,
|
|
1566
1563
|
createEvent: createEvent,
|
|
1567
1564
|
css: css,
|
|
1568
1565
|
data: data,
|
|
@@ -1683,7 +1680,6 @@
|
|
|
1683
1680
|
uniqueBy: uniqueBy,
|
|
1684
1681
|
unwrap: unwrap,
|
|
1685
1682
|
width: width,
|
|
1686
|
-
within: within,
|
|
1687
1683
|
wrapAll: wrapAll,
|
|
1688
1684
|
wrapInner: wrapInner
|
|
1689
1685
|
});
|
|
@@ -3258,6 +3254,7 @@
|
|
|
3258
3254
|
}
|
|
3259
3255
|
}
|
|
3260
3256
|
}
|
|
3257
|
+
const mutationOptions = { subtree: true, childList: true };
|
|
3261
3258
|
function registerComputed(instance, key, cb) {
|
|
3262
3259
|
instance._hasComputed = true;
|
|
3263
3260
|
Object.defineProperty(instance, key, {
|
|
@@ -3266,6 +3263,15 @@
|
|
|
3266
3263
|
const { _computed, $props, $el } = instance;
|
|
3267
3264
|
if (!hasOwn(_computed, key)) {
|
|
3268
3265
|
_computed[key] = (cb.get || cb).call(instance, $props, $el);
|
|
3266
|
+
if (cb.observe && instance._computedObserver) {
|
|
3267
|
+
const observeEl = cb.observe.call(instance, _computed[key]);
|
|
3268
|
+
if (observeEl && observeEl !== $el) {
|
|
3269
|
+
instance._computedObserver.observe(
|
|
3270
|
+
findClosestCommonParent(observeEl, $el),
|
|
3271
|
+
mutationOptions
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3269
3275
|
}
|
|
3270
3276
|
return _computed[key];
|
|
3271
3277
|
},
|
|
@@ -3286,11 +3292,16 @@
|
|
|
3286
3292
|
read: () => runWatches(instance, resetComputed(instance)),
|
|
3287
3293
|
events: ["resize", "computed"]
|
|
3288
3294
|
});
|
|
3289
|
-
|
|
3290
|
-
|
|
3295
|
+
instance._computedObserver = observeMutation(
|
|
3296
|
+
instance.$el,
|
|
3297
|
+
() => callUpdate(instance, "computed"),
|
|
3298
|
+
mutationOptions
|
|
3299
|
+
);
|
|
3291
3300
|
}
|
|
3292
3301
|
function disconnectComputedUpdates(instance) {
|
|
3293
|
-
|
|
3302
|
+
var _a;
|
|
3303
|
+
(_a = instance._computedObserver) == null ? void 0 : _a.disconnect();
|
|
3304
|
+
delete instance._computedObserver;
|
|
3294
3305
|
resetComputed(instance);
|
|
3295
3306
|
}
|
|
3296
3307
|
function resetComputed(instance) {
|
|
@@ -3298,22 +3309,11 @@
|
|
|
3298
3309
|
instance._computed = {};
|
|
3299
3310
|
return values;
|
|
3300
3311
|
}
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
if (observer) {
|
|
3305
|
-
return;
|
|
3312
|
+
function findClosestCommonParent(el1, el2) {
|
|
3313
|
+
while (el1 && !el1.contains(el2)) {
|
|
3314
|
+
el1 = el1.parentNode;
|
|
3306
3315
|
}
|
|
3307
|
-
|
|
3308
|
-
observer = new MutationObserver(() => {
|
|
3309
|
-
for (const instance of instances$1) {
|
|
3310
|
-
callUpdate(instance, "computed");
|
|
3311
|
-
}
|
|
3312
|
-
});
|
|
3313
|
-
observer.observe(document, {
|
|
3314
|
-
subtree: true,
|
|
3315
|
-
childList: true
|
|
3316
|
-
});
|
|
3316
|
+
return el1;
|
|
3317
3317
|
}
|
|
3318
3318
|
|
|
3319
3319
|
function initEvents(instance) {
|
|
@@ -3399,7 +3399,7 @@
|
|
|
3399
3399
|
if (!includes(targets, target)) {
|
|
3400
3400
|
if (observer.unobserve) {
|
|
3401
3401
|
observer.unobserve(target);
|
|
3402
|
-
} else {
|
|
3402
|
+
} else if (observer.observe) {
|
|
3403
3403
|
observer.disconnect();
|
|
3404
3404
|
}
|
|
3405
3405
|
}
|
|
@@ -3567,26 +3567,26 @@
|
|
|
3567
3567
|
};
|
|
3568
3568
|
App.util = util;
|
|
3569
3569
|
App.options = {};
|
|
3570
|
-
App.version = "3.19.5-dev.
|
|
3570
|
+
App.version = "3.19.5-dev.3a146179f";
|
|
3571
3571
|
|
|
3572
3572
|
const PREFIX = "uk-";
|
|
3573
3573
|
const DATA = "__uikit__";
|
|
3574
3574
|
const components$2 = {};
|
|
3575
3575
|
function component(name, options) {
|
|
3576
|
-
var _a;
|
|
3576
|
+
var _a, _b;
|
|
3577
3577
|
const id = PREFIX + hyphenate(name);
|
|
3578
3578
|
if (!options) {
|
|
3579
|
-
if (
|
|
3579
|
+
if (!components$2[id].options) {
|
|
3580
3580
|
components$2[id] = App.extend(components$2[id]);
|
|
3581
3581
|
}
|
|
3582
3582
|
return components$2[id];
|
|
3583
3583
|
}
|
|
3584
3584
|
name = camelize(name);
|
|
3585
3585
|
App[name] = (element, data) => createComponent(name, element, data);
|
|
3586
|
-
const opt =
|
|
3586
|
+
const opt = (_a = options.options) != null ? _a : { ...options };
|
|
3587
3587
|
opt.id = id;
|
|
3588
3588
|
opt.name = name;
|
|
3589
|
-
(
|
|
3589
|
+
(_b = opt.install) == null ? void 0 : _b.call(opt, App, opt, name);
|
|
3590
3590
|
if (App._initialized && !opt.functional) {
|
|
3591
3591
|
requestAnimationFrame(() => createComponent(name, `[${id}],[data-${id}]`));
|
|
3592
3592
|
}
|
|
@@ -3594,7 +3594,7 @@
|
|
|
3594
3594
|
}
|
|
3595
3595
|
function createComponent(name, element, data, ...args) {
|
|
3596
3596
|
const Component = component(name);
|
|
3597
|
-
return Component.options.functional ? new Component({ data: isPlainObject(element) ? element : [element, data, ...args] }) : element ?
|
|
3597
|
+
return Component.options.functional ? new Component({ data: isPlainObject(element) ? element : [element, data, ...args] }) : element ? findAll(element).map(init)[0] : init();
|
|
3598
3598
|
function init(element2) {
|
|
3599
3599
|
const instance = getComponent(element2, name);
|
|
3600
3600
|
if (instance) {
|
|
@@ -3956,7 +3956,6 @@
|
|
|
3956
3956
|
}
|
|
3957
3957
|
}
|
|
3958
3958
|
},
|
|
3959
|
-
observe: resize(),
|
|
3960
3959
|
events: {
|
|
3961
3960
|
itemshow({ target }) {
|
|
3962
3961
|
addClass(target, this.clsEnter, this.clsSlideActive);
|
|
@@ -4085,6 +4084,7 @@
|
|
|
4085
4084
|
return { animation: this.animation };
|
|
4086
4085
|
}
|
|
4087
4086
|
},
|
|
4087
|
+
observe: resize(),
|
|
4088
4088
|
events: {
|
|
4089
4089
|
beforeitemshow({ target }) {
|
|
4090
4090
|
addClass(target, this.clsActive);
|
|
@@ -4774,6 +4774,7 @@
|
|
|
4774
4774
|
}
|
|
4775
4775
|
};
|
|
4776
4776
|
}
|
|
4777
|
+
const loading = {};
|
|
4777
4778
|
const dimensions = {};
|
|
4778
4779
|
function getBackgroundImageDimensions(el) {
|
|
4779
4780
|
const src = css(el, "backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/, "$1");
|
|
@@ -4783,11 +4784,12 @@
|
|
|
4783
4784
|
const image = new Image();
|
|
4784
4785
|
if (src) {
|
|
4785
4786
|
image.src = src;
|
|
4786
|
-
if (!image.naturalWidth) {
|
|
4787
|
-
image
|
|
4787
|
+
if (!image.naturalWidth && !loading[src]) {
|
|
4788
|
+
once(image, "error load", () => {
|
|
4788
4789
|
dimensions[src] = toDimensions(image);
|
|
4789
4790
|
trigger(el, createEvent("load", false));
|
|
4790
|
-
};
|
|
4791
|
+
});
|
|
4792
|
+
loading[src] = true;
|
|
4791
4793
|
return toDimensions(image);
|
|
4792
4794
|
}
|
|
4793
4795
|
}
|
|
@@ -5277,7 +5279,7 @@
|
|
|
5277
5279
|
toggleClass(this.$el, this.clsContainer, !$(`.${this.clsContainer}`, this.$el));
|
|
5278
5280
|
},
|
|
5279
5281
|
observe: resize({
|
|
5280
|
-
target: ({ slides }) => slides
|
|
5282
|
+
target: ({ slides, $el }) => [$el, ...slides]
|
|
5281
5283
|
}),
|
|
5282
5284
|
update: {
|
|
5283
5285
|
write() {
|
|
@@ -5465,7 +5467,7 @@
|
|
|
5465
5467
|
var sliderParallax = {
|
|
5466
5468
|
mixins: [Parallax],
|
|
5467
5469
|
beforeConnect() {
|
|
5468
|
-
this.item =
|
|
5470
|
+
this.item = this.$el.closest(`.${this.$options.id.replace("parallax", "items")} > *`);
|
|
5469
5471
|
},
|
|
5470
5472
|
disconnected() {
|
|
5471
5473
|
this.item = null;
|
|
@@ -6402,14 +6404,14 @@
|
|
|
6402
6404
|
if (name) {
|
|
6403
6405
|
if (hasAttr(target, attributeName)) {
|
|
6404
6406
|
createComponent(name, target);
|
|
6405
|
-
|
|
6407
|
+
} else {
|
|
6408
|
+
(_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
|
|
6406
6409
|
}
|
|
6407
|
-
(_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
|
|
6408
6410
|
}
|
|
6409
6411
|
}
|
|
6410
6412
|
function connect(node) {
|
|
6411
6413
|
const components2 = getComponents(node);
|
|
6412
|
-
for (const name in
|
|
6414
|
+
for (const name in components2) {
|
|
6413
6415
|
callConnected(components2[name]);
|
|
6414
6416
|
}
|
|
6415
6417
|
for (const attributeName of node.getAttributeNames()) {
|
|
@@ -6419,7 +6421,7 @@
|
|
|
6419
6421
|
}
|
|
6420
6422
|
function disconnect(node) {
|
|
6421
6423
|
const components2 = getComponents(node);
|
|
6422
|
-
for (const name in
|
|
6424
|
+
for (const name in components2) {
|
|
6423
6425
|
callDisconnected(components2[name]);
|
|
6424
6426
|
}
|
|
6425
6427
|
}
|
|
@@ -6428,7 +6430,7 @@
|
|
|
6428
6430
|
attribute = attribute.slice(5);
|
|
6429
6431
|
}
|
|
6430
6432
|
const cmp = components$2[attribute];
|
|
6431
|
-
return cmp && (
|
|
6433
|
+
return cmp && (cmp.options || cmp).name;
|
|
6432
6434
|
}
|
|
6433
6435
|
|
|
6434
6436
|
globalApi(App);
|
|
@@ -7171,7 +7173,8 @@
|
|
|
7171
7173
|
document,
|
|
7172
7174
|
`${pointerUp$1} ${pointerCancel} scroll`,
|
|
7173
7175
|
({ defaultPrevented, type, target: newTarget }) => {
|
|
7174
|
-
|
|
7176
|
+
var _a;
|
|
7177
|
+
if (!defaultPrevented && type === pointerUp$1 && target === newTarget && !((_a = drop.targetEl) == null ? void 0 : _a.contains(target))) {
|
|
7175
7178
|
drop.hide(false);
|
|
7176
7179
|
}
|
|
7177
7180
|
},
|
|
@@ -7787,7 +7790,10 @@
|
|
|
7787
7790
|
target: ""
|
|
7788
7791
|
},
|
|
7789
7792
|
computed: {
|
|
7790
|
-
target:
|
|
7793
|
+
target: {
|
|
7794
|
+
get: ({ target }, $el) => query(target, $el),
|
|
7795
|
+
observe: (target) => parent(target)
|
|
7796
|
+
}
|
|
7791
7797
|
},
|
|
7792
7798
|
observe: resize({ target: ({ target }) => target }),
|
|
7793
7799
|
update: {
|
|
@@ -7843,7 +7849,7 @@
|
|
|
7843
7849
|
const top = offsetPosition(offsetTopEl)[0] - offsetPosition(scrollElement)[0];
|
|
7844
7850
|
minHeight += top > 0 && top < viewportHeight / 2 ? ` - ${top}px` : "";
|
|
7845
7851
|
} else {
|
|
7846
|
-
minHeight += ` - ${css(scrollElement, "
|
|
7852
|
+
minHeight += ` - ${boxModelAdjust(scrollElement, "height", css(scrollElement, "boxSizing"))}px`;
|
|
7847
7853
|
}
|
|
7848
7854
|
}
|
|
7849
7855
|
if (this.offsetBottom === true) {
|
|
@@ -8037,7 +8043,7 @@
|
|
|
8037
8043
|
i18n: { toggle: "Open Search", submit: "Submit Search" },
|
|
8038
8044
|
beforeConnect() {
|
|
8039
8045
|
const isToggle = hasClass(this.$el, "uk-search-toggle") || hasClass(this.$el, "uk-navbar-toggle");
|
|
8040
|
-
this.icon = isToggle ? "search-toggle-icon" : hasClass(this.$el, "uk-search-icon") &&
|
|
8046
|
+
this.icon = isToggle ? "search-toggle-icon" : hasClass(this.$el, "uk-search-icon") && this.$el.closest(".uk-search-large") ? "search-large" : this.$el.closest(".uk-search-navbar") ? "search-navbar" : this.$props.icon;
|
|
8041
8047
|
if (hasAttr(this.$el, "aria-label")) {
|
|
8042
8048
|
return;
|
|
8043
8049
|
}
|
|
@@ -8281,9 +8287,11 @@
|
|
|
8281
8287
|
},
|
|
8282
8288
|
observe: [
|
|
8283
8289
|
intersection({
|
|
8284
|
-
handler(
|
|
8285
|
-
this.isIntersecting = isIntersecting;
|
|
8290
|
+
handler(entries) {
|
|
8291
|
+
this.isIntersecting = entries.some(({ isIntersecting }) => isIntersecting);
|
|
8292
|
+
this.$emit();
|
|
8286
8293
|
},
|
|
8294
|
+
target: ({ target }) => target,
|
|
8287
8295
|
args: { intersecting: false }
|
|
8288
8296
|
}),
|
|
8289
8297
|
mutation({
|
|
@@ -8312,6 +8320,8 @@
|
|
|
8312
8320
|
})
|
|
8313
8321
|
];
|
|
8314
8322
|
return {
|
|
8323
|
+
observe: observer.observe.bind(observer),
|
|
8324
|
+
unobserve: observer.unobserve.bind(observer),
|
|
8315
8325
|
disconnect() {
|
|
8316
8326
|
observer.disconnect();
|
|
8317
8327
|
listener.map((off) => off());
|
|
@@ -8443,10 +8453,11 @@
|
|
|
8443
8453
|
};
|
|
8444
8454
|
function install({ modal }) {
|
|
8445
8455
|
modal.dialog = function(content, options) {
|
|
8446
|
-
const dialog = modal(
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8456
|
+
const dialog = modal($(`<div><div class="uk-modal-dialog">${content}</div></div>`), {
|
|
8457
|
+
stack: true,
|
|
8458
|
+
role: "alertdialog",
|
|
8459
|
+
...options
|
|
8460
|
+
});
|
|
8450
8461
|
dialog.show();
|
|
8451
8462
|
on(
|
|
8452
8463
|
dialog.$el,
|
|
@@ -9478,7 +9489,10 @@
|
|
|
9478
9489
|
swiping: true
|
|
9479
9490
|
},
|
|
9480
9491
|
computed: {
|
|
9481
|
-
connects:
|
|
9492
|
+
connects: {
|
|
9493
|
+
get: ({ connect }, $el) => queryAll(connect, $el),
|
|
9494
|
+
observe: (connects) => parent(connects[0])
|
|
9495
|
+
},
|
|
9482
9496
|
connectChildren() {
|
|
9483
9497
|
return this.connects.map((el) => children(el)).flat();
|
|
9484
9498
|
},
|
|
@@ -9667,9 +9681,12 @@
|
|
|
9667
9681
|
queued: true
|
|
9668
9682
|
},
|
|
9669
9683
|
computed: {
|
|
9670
|
-
target
|
|
9671
|
-
|
|
9672
|
-
|
|
9684
|
+
target: {
|
|
9685
|
+
get: ({ target }, $el) => {
|
|
9686
|
+
target = queryAll(target || $el.hash, $el);
|
|
9687
|
+
return target.length ? target : [$el];
|
|
9688
|
+
},
|
|
9689
|
+
observe: (target) => parent(target[0])
|
|
9673
9690
|
}
|
|
9674
9691
|
},
|
|
9675
9692
|
connected() {
|