uikit 3.19.5-dev.c75dd5d38 → 3.19.5-dev.e37e46798
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 +7 -6
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +8 -7
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +8 -8
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +8 -7
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +8 -7
- 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 +78 -64
- 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 -67
- 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/img.js +1 -1
- package/src/js/core/inverse.js +13 -6
- 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/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 +5 -5
- package/src/less/components/utility.less +1 -1
- package/src/scss/components/utility.scss +1 -1
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.19.5-dev.
|
|
1
|
+
/*! UIkit 3.19.5-dev.e37e46798 | 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;
|
|
@@ -421,9 +415,9 @@
|
|
|
421
415
|
}
|
|
422
416
|
} else if (sel[0] === "~" || sel[0] === "+" && isSingle) {
|
|
423
417
|
return _doQuery(
|
|
424
|
-
|
|
418
|
+
ctx.parentElement,
|
|
425
419
|
queryFn,
|
|
426
|
-
`:scope :nth-child(${index(
|
|
420
|
+
`:scope :nth-child(${index(ctx) + 1}) ${sel}`
|
|
427
421
|
);
|
|
428
422
|
}
|
|
429
423
|
if (ctx) {
|
|
@@ -1566,7 +1560,6 @@
|
|
|
1566
1560
|
camelize: camelize,
|
|
1567
1561
|
children: children,
|
|
1568
1562
|
clamp: clamp,
|
|
1569
|
-
closest: closest,
|
|
1570
1563
|
createEvent: createEvent,
|
|
1571
1564
|
css: css,
|
|
1572
1565
|
data: data,
|
|
@@ -1687,7 +1680,6 @@
|
|
|
1687
1680
|
uniqueBy: uniqueBy,
|
|
1688
1681
|
unwrap: unwrap,
|
|
1689
1682
|
width: width,
|
|
1690
|
-
within: within,
|
|
1691
1683
|
wrapAll: wrapAll,
|
|
1692
1684
|
wrapInner: wrapInner
|
|
1693
1685
|
});
|
|
@@ -1775,6 +1767,7 @@
|
|
|
1775
1767
|
}
|
|
1776
1768
|
}
|
|
1777
1769
|
}
|
|
1770
|
+
const mutationOptions = { subtree: true, childList: true };
|
|
1778
1771
|
function registerComputed(instance, key, cb) {
|
|
1779
1772
|
instance._hasComputed = true;
|
|
1780
1773
|
Object.defineProperty(instance, key, {
|
|
@@ -1783,6 +1776,15 @@
|
|
|
1783
1776
|
const { _computed, $props, $el } = instance;
|
|
1784
1777
|
if (!hasOwn(_computed, key)) {
|
|
1785
1778
|
_computed[key] = (cb.get || cb).call(instance, $props, $el);
|
|
1779
|
+
if (cb.observe && instance._computedObserver) {
|
|
1780
|
+
const observeEl = cb.observe.call(instance, _computed[key]);
|
|
1781
|
+
if (observeEl && observeEl !== $el) {
|
|
1782
|
+
instance._computedObserver.observe(
|
|
1783
|
+
findClosestCommonParent(observeEl, $el),
|
|
1784
|
+
mutationOptions
|
|
1785
|
+
);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1786
1788
|
}
|
|
1787
1789
|
return _computed[key];
|
|
1788
1790
|
},
|
|
@@ -1803,11 +1805,16 @@
|
|
|
1803
1805
|
read: () => runWatches(instance, resetComputed(instance)),
|
|
1804
1806
|
events: ["resize", "computed"]
|
|
1805
1807
|
});
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
+
instance._computedObserver = observeMutation(
|
|
1809
|
+
instance.$el,
|
|
1810
|
+
() => callUpdate(instance, "computed"),
|
|
1811
|
+
mutationOptions
|
|
1812
|
+
);
|
|
1808
1813
|
}
|
|
1809
1814
|
function disconnectComputedUpdates(instance) {
|
|
1810
|
-
|
|
1815
|
+
var _a;
|
|
1816
|
+
(_a = instance._computedObserver) == null ? void 0 : _a.disconnect();
|
|
1817
|
+
delete instance._computedObserver;
|
|
1811
1818
|
resetComputed(instance);
|
|
1812
1819
|
}
|
|
1813
1820
|
function resetComputed(instance) {
|
|
@@ -1815,22 +1822,11 @@
|
|
|
1815
1822
|
instance._computed = {};
|
|
1816
1823
|
return values;
|
|
1817
1824
|
}
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
if (observer) {
|
|
1822
|
-
return;
|
|
1825
|
+
function findClosestCommonParent(el1, el2) {
|
|
1826
|
+
while (el1 && !el1.contains(el2)) {
|
|
1827
|
+
el1 = el1.parentNode;
|
|
1823
1828
|
}
|
|
1824
|
-
|
|
1825
|
-
observer = new MutationObserver(() => {
|
|
1826
|
-
for (const instance of instances$1) {
|
|
1827
|
-
callUpdate(instance, "computed");
|
|
1828
|
-
}
|
|
1829
|
-
});
|
|
1830
|
-
observer.observe(document, {
|
|
1831
|
-
subtree: true,
|
|
1832
|
-
childList: true
|
|
1833
|
-
});
|
|
1829
|
+
return el1;
|
|
1834
1830
|
}
|
|
1835
1831
|
|
|
1836
1832
|
function initEvents(instance) {
|
|
@@ -1916,7 +1912,7 @@
|
|
|
1916
1912
|
if (!includes(targets, target)) {
|
|
1917
1913
|
if (observer.unobserve) {
|
|
1918
1914
|
observer.unobserve(target);
|
|
1919
|
-
} else {
|
|
1915
|
+
} else if (observer.observe) {
|
|
1920
1916
|
observer.disconnect();
|
|
1921
1917
|
}
|
|
1922
1918
|
}
|
|
@@ -2191,26 +2187,26 @@
|
|
|
2191
2187
|
};
|
|
2192
2188
|
App.util = util;
|
|
2193
2189
|
App.options = {};
|
|
2194
|
-
App.version = "3.19.5-dev.
|
|
2190
|
+
App.version = "3.19.5-dev.e37e46798";
|
|
2195
2191
|
|
|
2196
2192
|
const PREFIX = "uk-";
|
|
2197
2193
|
const DATA = "__uikit__";
|
|
2198
2194
|
const components$1 = {};
|
|
2199
2195
|
function component(name, options) {
|
|
2200
|
-
var _a;
|
|
2196
|
+
var _a, _b;
|
|
2201
2197
|
const id = PREFIX + hyphenate(name);
|
|
2202
2198
|
if (!options) {
|
|
2203
|
-
if (
|
|
2199
|
+
if (!components$1[id].options) {
|
|
2204
2200
|
components$1[id] = App.extend(components$1[id]);
|
|
2205
2201
|
}
|
|
2206
2202
|
return components$1[id];
|
|
2207
2203
|
}
|
|
2208
2204
|
name = camelize(name);
|
|
2209
2205
|
App[name] = (element, data) => createComponent(name, element, data);
|
|
2210
|
-
const opt =
|
|
2206
|
+
const opt = (_a = options.options) != null ? _a : { ...options };
|
|
2211
2207
|
opt.id = id;
|
|
2212
2208
|
opt.name = name;
|
|
2213
|
-
(
|
|
2209
|
+
(_b = opt.install) == null ? void 0 : _b.call(opt, App, opt, name);
|
|
2214
2210
|
if (App._initialized && !opt.functional) {
|
|
2215
2211
|
requestAnimationFrame(() => createComponent(name, `[${id}],[data-${id}]`));
|
|
2216
2212
|
}
|
|
@@ -2218,7 +2214,7 @@
|
|
|
2218
2214
|
}
|
|
2219
2215
|
function createComponent(name, element, data, ...args) {
|
|
2220
2216
|
const Component = component(name);
|
|
2221
|
-
return Component.options.functional ? new Component({ data: isPlainObject(element) ? element : [element, data, ...args] }) : element ?
|
|
2217
|
+
return Component.options.functional ? new Component({ data: isPlainObject(element) ? element : [element, data, ...args] }) : element ? findAll(element).map(init)[0] : init();
|
|
2222
2218
|
function init(element2) {
|
|
2223
2219
|
const instance = getComponent(element2, name);
|
|
2224
2220
|
if (instance) {
|
|
@@ -2294,14 +2290,14 @@
|
|
|
2294
2290
|
if (name) {
|
|
2295
2291
|
if (hasAttr(target, attributeName)) {
|
|
2296
2292
|
createComponent(name, target);
|
|
2297
|
-
|
|
2293
|
+
} else {
|
|
2294
|
+
(_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
|
|
2298
2295
|
}
|
|
2299
|
-
(_a = getComponent(target, name)) == null ? void 0 : _a.$destroy();
|
|
2300
2296
|
}
|
|
2301
2297
|
}
|
|
2302
2298
|
function connect(node) {
|
|
2303
2299
|
const components2 = getComponents(node);
|
|
2304
|
-
for (const name in
|
|
2300
|
+
for (const name in components2) {
|
|
2305
2301
|
callConnected(components2[name]);
|
|
2306
2302
|
}
|
|
2307
2303
|
for (const attributeName of node.getAttributeNames()) {
|
|
@@ -2311,7 +2307,7 @@
|
|
|
2311
2307
|
}
|
|
2312
2308
|
function disconnect(node) {
|
|
2313
2309
|
const components2 = getComponents(node);
|
|
2314
|
-
for (const name in
|
|
2310
|
+
for (const name in components2) {
|
|
2315
2311
|
callDisconnected(components2[name]);
|
|
2316
2312
|
}
|
|
2317
2313
|
}
|
|
@@ -2320,7 +2316,7 @@
|
|
|
2320
2316
|
attribute = attribute.slice(5);
|
|
2321
2317
|
}
|
|
2322
2318
|
const cmp = components$1[attribute];
|
|
2323
|
-
return cmp && (
|
|
2319
|
+
return cmp && (cmp.options || cmp).name;
|
|
2324
2320
|
}
|
|
2325
2321
|
|
|
2326
2322
|
function globalApi(App) {
|
|
@@ -3581,7 +3577,8 @@
|
|
|
3581
3577
|
document,
|
|
3582
3578
|
`${pointerUp} ${pointerCancel} scroll`,
|
|
3583
3579
|
({ defaultPrevented, type, target: newTarget }) => {
|
|
3584
|
-
|
|
3580
|
+
var _a;
|
|
3581
|
+
if (!defaultPrevented && type === pointerUp && target === newTarget && !((_a = drop.targetEl) == null ? void 0 : _a.contains(target))) {
|
|
3585
3582
|
drop.hide(false);
|
|
3586
3583
|
}
|
|
3587
3584
|
},
|
|
@@ -4288,7 +4285,10 @@
|
|
|
4288
4285
|
target: ""
|
|
4289
4286
|
},
|
|
4290
4287
|
computed: {
|
|
4291
|
-
target:
|
|
4288
|
+
target: {
|
|
4289
|
+
get: ({ target }, $el) => query(target, $el),
|
|
4290
|
+
observe: (target) => parent(target)
|
|
4291
|
+
}
|
|
4292
4292
|
},
|
|
4293
4293
|
observe: resize({ target: ({ target }) => target }),
|
|
4294
4294
|
update: {
|
|
@@ -4344,7 +4344,7 @@
|
|
|
4344
4344
|
const top = offsetPosition(offsetTopEl)[0] - offsetPosition(scrollElement)[0];
|
|
4345
4345
|
minHeight += top > 0 && top < viewportHeight / 2 ? ` - ${top}px` : "";
|
|
4346
4346
|
} else {
|
|
4347
|
-
minHeight += ` - ${css(scrollElement, "
|
|
4347
|
+
minHeight += ` - ${boxModelAdjust(scrollElement, "height", css(scrollElement, "boxSizing"))}px`;
|
|
4348
4348
|
}
|
|
4349
4349
|
}
|
|
4350
4350
|
if (this.offsetBottom === true) {
|
|
@@ -4557,7 +4557,7 @@
|
|
|
4557
4557
|
i18n: { toggle: "Open Search", submit: "Submit Search" },
|
|
4558
4558
|
beforeConnect() {
|
|
4559
4559
|
const isToggle = hasClass(this.$el, "uk-search-toggle") || hasClass(this.$el, "uk-navbar-toggle");
|
|
4560
|
-
this.icon = isToggle ? "search-toggle-icon" : hasClass(this.$el, "uk-search-icon") &&
|
|
4560
|
+
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;
|
|
4561
4561
|
if (hasAttr(this.$el, "aria-label")) {
|
|
4562
4562
|
return;
|
|
4563
4563
|
}
|
|
@@ -4701,13 +4701,13 @@
|
|
|
4701
4701
|
delete this.img;
|
|
4702
4702
|
},
|
|
4703
4703
|
observe: intersection({
|
|
4704
|
-
target: ({ $el, $props }) => [$el, ...queryAll($props.target, $el)],
|
|
4705
4704
|
handler(entries, observer) {
|
|
4706
4705
|
this.load();
|
|
4707
4706
|
observer.disconnect();
|
|
4708
4707
|
},
|
|
4709
4708
|
options: ({ margin }) => ({ rootMargin: margin }),
|
|
4710
|
-
filter: ({ loading }) => loading === "lazy"
|
|
4709
|
+
filter: ({ loading }) => loading === "lazy",
|
|
4710
|
+
target: ({ $el, $props }) => $props.target ? [$el, ...queryAll($props.target, $el)] : $el
|
|
4711
4711
|
}),
|
|
4712
4712
|
methods: {
|
|
4713
4713
|
load() {
|
|
@@ -4797,13 +4797,15 @@
|
|
|
4797
4797
|
selActive: false
|
|
4798
4798
|
},
|
|
4799
4799
|
computed: {
|
|
4800
|
-
target: ({ target }, $el) => target ? $$(target, $el) :
|
|
4800
|
+
target: ({ target }, $el) => target ? $$(target, $el) : $el
|
|
4801
4801
|
},
|
|
4802
4802
|
observe: [
|
|
4803
4803
|
intersection({
|
|
4804
|
-
handler(
|
|
4805
|
-
this.isIntersecting = isIntersecting;
|
|
4804
|
+
handler(entries) {
|
|
4805
|
+
this.isIntersecting = entries.some(({ isIntersecting }) => isIntersecting);
|
|
4806
|
+
this.$emit();
|
|
4806
4807
|
},
|
|
4808
|
+
target: ({ target }) => target,
|
|
4807
4809
|
args: { intersecting: false }
|
|
4808
4810
|
}),
|
|
4809
4811
|
mutation({
|
|
@@ -4813,7 +4815,10 @@
|
|
|
4813
4815
|
{
|
|
4814
4816
|
target: ({ target }) => target,
|
|
4815
4817
|
observe: (target, handler) => {
|
|
4816
|
-
const observer = observeResize(
|
|
4818
|
+
const observer = observeResize(
|
|
4819
|
+
[...toNodes(target), document.documentElement],
|
|
4820
|
+
handler
|
|
4821
|
+
);
|
|
4817
4822
|
const listener = [
|
|
4818
4823
|
on(document, "scroll itemshown itemhidden", handler, {
|
|
4819
4824
|
passive: true,
|
|
@@ -4829,6 +4834,8 @@
|
|
|
4829
4834
|
})
|
|
4830
4835
|
];
|
|
4831
4836
|
return {
|
|
4837
|
+
observe: observer.observe.bind(observer),
|
|
4838
|
+
unobserve: observer.unobserve.bind(observer),
|
|
4832
4839
|
disconnect() {
|
|
4833
4840
|
observer.disconnect();
|
|
4834
4841
|
listener.map((off) => off());
|
|
@@ -4845,7 +4852,7 @@
|
|
|
4845
4852
|
if (!this.isIntersecting) {
|
|
4846
4853
|
return false;
|
|
4847
4854
|
}
|
|
4848
|
-
for (const target of this.target) {
|
|
4855
|
+
for (const target of toNodes(this.target)) {
|
|
4849
4856
|
replaceClass(
|
|
4850
4857
|
target,
|
|
4851
4858
|
"uk-light,uk-dark",
|
|
@@ -5212,10 +5219,11 @@
|
|
|
5212
5219
|
};
|
|
5213
5220
|
function install({ modal }) {
|
|
5214
5221
|
modal.dialog = function(content, options) {
|
|
5215
|
-
const dialog = modal(
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5222
|
+
const dialog = modal($(`<div><div class="uk-modal-dialog">${content}</div></div>`), {
|
|
5223
|
+
stack: true,
|
|
5224
|
+
role: "alertdialog",
|
|
5225
|
+
...options
|
|
5226
|
+
});
|
|
5219
5227
|
dialog.show();
|
|
5220
5228
|
on(
|
|
5221
5229
|
dialog.$el,
|
|
@@ -6254,7 +6262,10 @@
|
|
|
6254
6262
|
swiping: true
|
|
6255
6263
|
},
|
|
6256
6264
|
computed: {
|
|
6257
|
-
connects:
|
|
6265
|
+
connects: {
|
|
6266
|
+
get: ({ connect }, $el) => queryAll(connect, $el),
|
|
6267
|
+
observe: (connects) => parent(connects[0])
|
|
6268
|
+
},
|
|
6258
6269
|
connectChildren() {
|
|
6259
6270
|
return this.connects.map((el) => children(el)).flat();
|
|
6260
6271
|
},
|
|
@@ -6443,9 +6454,12 @@
|
|
|
6443
6454
|
queued: true
|
|
6444
6455
|
},
|
|
6445
6456
|
computed: {
|
|
6446
|
-
target
|
|
6447
|
-
|
|
6448
|
-
|
|
6457
|
+
target: {
|
|
6458
|
+
get: ({ target }, $el) => {
|
|
6459
|
+
target = queryAll(target || $el.hash, $el);
|
|
6460
|
+
return target.length ? target : [$el];
|
|
6461
|
+
},
|
|
6462
|
+
observe: (target) => parent(target[0])
|
|
6449
6463
|
}
|
|
6450
6464
|
},
|
|
6451
6465
|
connected() {
|