@uoguelph/web-components 2.0.8-rc.0 → 2.0.9-rc.0
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/dist/uofg-web-components/index-BxiW26Pq.js +8728 -0
- package/dist/uofg-web-components/{index-C6ZIYhZ_.js → index-CsiSOAU0.js} +25 -25
- package/dist/uofg-web-components/{index-client-Cf3Y5mtB.js → index-client-DG7fHzcC.js} +1 -1
- package/dist/uofg-web-components/legacy-Bte-v9mf.js +98 -0
- package/dist/uofg-web-components/{slot-DaIvQlrl.js → slot-DAai__2s.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +36 -52
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +17 -23
- package/dist/uofg-web-components/uofg-footer.esm.js +217 -232
- package/dist/uofg-web-components/uofg-header.esm.js +783 -840
- package/dist/uofg-web-components/uofg-modal.esm.js +106 -142
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/window-Br-wveUj.js +25 -0
- package/package.json +1 -1
- package/dist/uofg-web-components/index-CEFM1xyC.js +0 -7830
- package/dist/uofg-web-components/legacy-eE7eSuBp.js +0 -101
- package/dist/uofg-web-components/window-BAHesVQ-.js +0 -25
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ap as E, a0 as R, aq as k, a6 as w, ar as A, D as u, as as p, t as T, E as h, $ as C, at as D, au as F, av as N, aw as $, ax as v, ay as H, az as O, aA as d, aB as q, aC as z, A as m, y as B, aD as G, aE as g, m as b, aF as I, aG as P, aH as S } from "./index-CEFM1xyC.js";
|
|
2
|
-
function j(f, t, ...a) {
|
|
3
|
-
var n = f, r = w, e;
|
|
4
|
-
E(() => {
|
|
5
|
-
r !== (r = t()) && (e && (A(e), e = null), e = k(() => (
|
|
6
|
-
/** @type {SnippetFn} */
|
|
7
|
-
r(n, ...a)
|
|
8
|
-
)));
|
|
9
|
-
}, R), u && (n = p);
|
|
10
|
-
}
|
|
11
|
-
function J(f, t, a = !1, n = !1, r = !1) {
|
|
12
|
-
var e = f, _ = "";
|
|
13
|
-
T(() => {
|
|
14
|
-
var o = (
|
|
15
|
-
/** @type {Effect} */
|
|
16
|
-
C
|
|
17
|
-
);
|
|
18
|
-
if (_ === (_ = t() ?? "")) {
|
|
19
|
-
u && h();
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
if (o.nodes_start !== null && (D(
|
|
23
|
-
o.nodes_start,
|
|
24
|
-
/** @type {TemplateNode} */
|
|
25
|
-
o.nodes_end
|
|
26
|
-
), o.nodes_start = o.nodes_end = null), _ !== "") {
|
|
27
|
-
if (u) {
|
|
28
|
-
p.data;
|
|
29
|
-
for (var s = h(), i = s; s !== null && (s.nodeType !== 8 || /** @type {Comment} */
|
|
30
|
-
s.data !== ""); )
|
|
31
|
-
i = s, s = /** @type {TemplateNode} */
|
|
32
|
-
F(s);
|
|
33
|
-
if (s === null)
|
|
34
|
-
throw N(), $;
|
|
35
|
-
v(p, i), e = H(s);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
var c = _ + "";
|
|
39
|
-
a ? c = `<svg>${c}</svg>` : n && (c = `<math>${c}</math>`);
|
|
40
|
-
var l = O(c);
|
|
41
|
-
if ((a || n) && (l = /** @type {Element} */
|
|
42
|
-
d(l)), v(
|
|
43
|
-
/** @type {TemplateNode} */
|
|
44
|
-
d(l),
|
|
45
|
-
/** @type {TemplateNode} */
|
|
46
|
-
l.lastChild
|
|
47
|
-
), a || n)
|
|
48
|
-
for (; d(l); )
|
|
49
|
-
e.before(
|
|
50
|
-
/** @type {Node} */
|
|
51
|
-
d(l)
|
|
52
|
-
);
|
|
53
|
-
else
|
|
54
|
-
e.before(l);
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function K(f = !1) {
|
|
59
|
-
const t = (
|
|
60
|
-
/** @type {ComponentContextLegacy} */
|
|
61
|
-
q
|
|
62
|
-
), a = t.l.u;
|
|
63
|
-
if (!a) return;
|
|
64
|
-
let n = () => I(t.s);
|
|
65
|
-
if (f) {
|
|
66
|
-
let r = 0, e = (
|
|
67
|
-
/** @type {Record<string, any>} */
|
|
68
|
-
{}
|
|
69
|
-
);
|
|
70
|
-
const _ = P(() => {
|
|
71
|
-
let o = !1;
|
|
72
|
-
const s = t.s;
|
|
73
|
-
for (const i in s)
|
|
74
|
-
s[i] !== e[i] && (e[i] = s[i], o = !0);
|
|
75
|
-
return o && r++, r;
|
|
76
|
-
});
|
|
77
|
-
n = () => b(_);
|
|
78
|
-
}
|
|
79
|
-
a.b.length && z(() => {
|
|
80
|
-
y(t, n), g(a.b);
|
|
81
|
-
}), m(() => {
|
|
82
|
-
const r = B(() => a.m.map(G));
|
|
83
|
-
return () => {
|
|
84
|
-
for (const e of r)
|
|
85
|
-
typeof e == "function" && e();
|
|
86
|
-
};
|
|
87
|
-
}), a.a.length && m(() => {
|
|
88
|
-
y(t, n), g(a.a);
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
function y(f, t) {
|
|
92
|
-
if (f.l.s)
|
|
93
|
-
for (const a of f.l.s) b(a);
|
|
94
|
-
t();
|
|
95
|
-
}
|
|
96
|
-
S();
|
|
97
|
-
export {
|
|
98
|
-
J as h,
|
|
99
|
-
K as i,
|
|
100
|
-
j as s
|
|
101
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { a4 as n, x as u, w as d, an as f, ao as v } from "./index-CEFM1xyC.js";
|
|
2
|
-
function m(a, e, c = e) {
|
|
3
|
-
var w = a === "x", s = () => n(() => {
|
|
4
|
-
r = !0, clearTimeout(t), t = setTimeout(l, 100), c(window[w ? "scrollX" : "scrollY"]);
|
|
5
|
-
});
|
|
6
|
-
addEventListener("scroll", s, {
|
|
7
|
-
passive: !0
|
|
8
|
-
});
|
|
9
|
-
var r = !1, t, l = () => {
|
|
10
|
-
r = !1;
|
|
11
|
-
}, o = !0;
|
|
12
|
-
u(() => {
|
|
13
|
-
var i = e();
|
|
14
|
-
o ? o = !1 : !r && i != null && (r = !0, clearTimeout(t), scrollTo(window.scrollX, i), t = setTimeout(l, 100));
|
|
15
|
-
}), d(s), f(() => {
|
|
16
|
-
removeEventListener("scroll", s);
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function x(a, e) {
|
|
20
|
-
v(window, ["resize"], () => n(() => e(window[a])));
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
x as a,
|
|
24
|
-
m as b
|
|
25
|
-
};
|