@uoguelph/web-components 2.0.5 → 2.0.6
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.
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { c as N, p as F, a as
|
|
1
|
+
import { c as N, p as F, a as G, f as V, G as B, t as y, g as L, h as z, i as u, j as I, k as P, r, e as v, B as U, m as h, H, I as O, J as n1, K as c1, L as h1, M as u1, N as f1, O as v1, P as E, Q as d1, R as p1, T as $, F as g1, U as e1, V as X, s as M, W as J, X as j, Y as K, v as Y, Z as q, q as m1, _ as w1, o as x1, b as b1 } from "./index-DjzKNneJ.js";
|
|
2
2
|
import { o as k1 } from "./index-client-BdwUgx1v.js";
|
|
3
3
|
import { c as R } from "./index-v9RZCFpF.js";
|
|
4
4
|
import { h as _1, i as D, s as y1 } from "./legacy-uvpI5ERd.js";
|
|
5
5
|
var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
|
|
6
|
-
function t1(d,
|
|
7
|
-
F(
|
|
8
|
-
let o =
|
|
6
|
+
function t1(d, s) {
|
|
7
|
+
F(s, !0);
|
|
8
|
+
let o = G(s, "links", 7);
|
|
9
9
|
const l = R({
|
|
10
10
|
slots: {
|
|
11
11
|
base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
|
|
12
12
|
item: "p-3",
|
|
13
13
|
links: "text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"
|
|
14
14
|
}
|
|
15
|
-
}), { base:
|
|
15
|
+
}), { base: m, item: i, links: n } = l();
|
|
16
16
|
var t = V1();
|
|
17
17
|
return B(t, 21, o, O, (c, e) => {
|
|
18
|
-
let
|
|
18
|
+
let w = () => h(e).text, _ = () => h(e).href;
|
|
19
19
|
var p = M1(), g = v(p), x = v(g, !0);
|
|
20
|
-
|
|
20
|
+
r(g), r(p), y(
|
|
21
21
|
(f, C) => {
|
|
22
|
-
z(p, 1, f), z(g, 1, C), U(g, "href", _()), H(x,
|
|
22
|
+
z(p, 1, f), z(g, 1, C), U(g, "href", _()), H(x, w());
|
|
23
23
|
},
|
|
24
24
|
[
|
|
25
25
|
() => L(i()),
|
|
26
26
|
() => L(n())
|
|
27
27
|
]
|
|
28
28
|
), u(c, p);
|
|
29
|
-
}),
|
|
29
|
+
}), r(t), y((c) => z(t, 1, c), [() => L(m())]), u(d, t), I({
|
|
30
30
|
get links() {
|
|
31
31
|
return o();
|
|
32
32
|
},
|
|
33
33
|
set links(c) {
|
|
34
|
-
o(c),
|
|
34
|
+
o(c), P();
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
N(t1, { links: {} }, [], [], !0);
|
|
39
39
|
const L1 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 718 78.64"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M0 77.58v-5.21l7.52-1.99V7.5L0 5.68V.47L26.03 0v5.22l-7.52 2.29V70.4l7.52 1.97v5.21zM90.52 77.58v-5.21l7.52-1.98V26.56l-.82-.2-17.14 33.59-7.08.45-16.46-34.03-.82.19v43.87l7.52 1.94v5.21H39.43v-5.21l7.52-1.96V18.26l-7.52-1.81v-5.21l21.36-.47L77.9 48.56l17.86-37.31 19.83-.47v5.21l-7.52 2.3v52.1l7.52 1.98v5.21zM128.98 77.58v-5.21l7.52-2V18.24l-7.52-1.79v-5.21l19.24-.47h9.44c5.11 0 9.35.88 12.62 2.6 3.25 1.72 5.7 4.11 7.29 7.1 1.6 3.01 2.41 6.51 2.41 10.4 0 4.21-.97 8.05-2.88 11.4-1.91 3.35-4.83 6-8.68 7.88-3.87 1.89-8.89 2.85-14.9 2.85h-6.02v17.43l9.64 1.96v5.19h-28.15Zm18.52-32.3h6.12c4.85 0 8.62-1.29 11.2-3.84 2.58-2.54 3.89-6.01 3.89-10.29 0-3.95-1.09-7.1-3.25-9.36s-5.4-3.41-9.62-3.41h-8.34v26.89ZM234 77.58l-8.66-18.45c-1.15-2.56-2.22-4.58-3.16-5.99-.98-1.45-2.21-2.47-3.67-3.05-1.29-.51-3.04-.76-5.22-.76-.25 0-.52 0-.78.01h-3.99v21.02l8.58 2.02v5.2h-27.09v-5.21l7.52-1.98V18.32l-7.52-1.86v-5.22l19.44-.47h10.02c7.38 0 13.03 1.56 16.79 4.63 3.73 3.05 5.63 7.51 5.63 13.25 0 5.26-1.63 9.63-4.85 13.01-2.5 2.62-6.15 4.46-10.86 5.46l-.03.84c.75.21 1.32.42 1.81.65 1.54.74 2.84 1.76 3.85 3.02 1.03 1.28 2.04 2.86 2.99 4.7l7.25 14.22 5.72 1.8v5.23h-13.75Zm-25.48-35.67h6.79c4.96 0 8.8-1.05 11.4-3.13 2.63-2.1 3.97-5.21 3.97-9.25 0-3.52-1.07-6.28-3.18-8.22-2.09-1.93-5.32-2.91-9.59-2.91h-9.4v23.52ZM287.04 78.64c-5.81 0-10.96-1.28-15.3-3.79-4.34-2.52-7.77-6.31-10.19-11.29-2.43-4.99-3.67-11.26-3.67-18.61 0-5.84.77-11.03 2.29-15.43 1.52-4.39 3.69-8.1 6.46-11.03 2.77-2.93 6.07-5.15 9.82-6.59 3.75-1.45 7.96-2.19 12.52-2.19s8.51.72 12.13 2.14c3.62 1.42 6.78 3.54 9.39 6.31 2.61 2.77 4.69 6.26 6.17 10.36 1.49 4.11 2.24 8.96 2.24 14.41 0 7.48-1.36 13.95-4.05 19.23-2.68 5.27-6.44 9.38-11.16 12.21-4.73 2.84-10.33 4.28-16.65 4.28ZM288.39 18c-3.47 0-6.67.86-9.52 2.57-2.87 1.71-5.13 4.56-6.73 8.45-1.59 3.85-2.4 9.08-2.4 15.54 0 6 .76 10.96 2.25 14.72 1.5 3.79 3.65 6.62 6.38 8.4 2.72 1.77 5.93 2.67 9.54 2.67s6.78-.9 9.63-2.67c2.86-1.77 5.18-4.66 6.92-8.58 1.72-3.9 2.59-9.15 2.59-15.6 0-6.01-.81-10.94-2.4-14.68-1.6-3.76-3.82-6.54-6.58-8.25-2.76-1.71-6.01-2.57-9.67-2.57ZM351.84 77.67l-20.08-59.58-6.6-1.63v-5.22l26.71-.46v5.2l-7.79 1.98 14.7 48.44 16.09-48.17-7.77-1.78v-5.21l24.29-.46v5.2l-6.5 1.77-21.13 59.92zM399.59 77.58v-5.21l7.51-1.98V18.28l-7.51-1.82v-5.22l18.76-.47h29.05v15.81h-6.34l-1.51-8.1H418.1v21.31h15.64l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21H418.1v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM482.44 77.58v-5.21l7.52-1.94V7.46l-7.52-1.78V.47L509.25 0v5.21l-8.29 2.23v62.42h24.01l1.8-10.8h6.24v18.52zM544.77 77.58v-5.21l7.51-1.99v-52.1l-7.51-1.83v-5.21l26.03-.46v5.21l-7.52 2.29v52.13l7.52 1.96v5.21zM584.19 77.58v-5.21l7.52-1.96V18.34l-7.52-1.88v-5.22l18.77-.47h28.38l.09 15.91h-6.34l-1.49-8.2h-20.89v21.79h15.13l1.35-5.06h4.9v17.82h-4.9l-1.33-5.05h-15.15V70.4l9.35 1.98v5.2zM641.17 77.58v-5.21l7.52-1.98V18.28l-7.52-1.82v-5.22l18.76-.47h29.06v15.81h-6.35l-1.51-8.1h-21.45v21.31h15.68l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21h-15.69v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM711.68 78.35c-1.93 0-3.5-.57-4.66-1.71-1.18-1.15-1.75-2.62-1.75-4.51s.63-3.35 1.93-4.5c1.31-1.16 2.78-1.72 4.49-1.72 1.93 0 3.48.57 4.61 1.7 1.13 1.13 1.71 2.65 1.71 4.52s-.62 3.35-1.88 4.5c-1.26 1.14-2.75 1.72-4.43 1.72Z" class="cls-1"/></svg>';
|
|
40
40
|
var z1 = V('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&>svg]:block [&>svg]:h-full [&>svg]:w-full [&>svg]:max-w-[25rem]"><!></a>');
|
|
41
|
-
function
|
|
42
|
-
var
|
|
43
|
-
_1(o, () => L1), s
|
|
41
|
+
function s1(d) {
|
|
42
|
+
var s = z1(), o = v(s);
|
|
43
|
+
_1(o, () => L1), r(s), u(d, s);
|
|
44
44
|
}
|
|
45
|
-
N(
|
|
45
|
+
N(s1, {}, [], [], !0);
|
|
46
46
|
/*!
|
|
47
47
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
48
48
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -60,11 +60,11 @@ const C1 = {
|
|
|
60
60
|
prefix: "fab",
|
|
61
61
|
iconName: "x-twitter",
|
|
62
62
|
icon: [512, 512, [], "e61b", "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]
|
|
63
|
-
},
|
|
63
|
+
}, A1 = {
|
|
64
64
|
prefix: "fab",
|
|
65
65
|
iconName: "tiktok",
|
|
66
66
|
icon: [448, 512, [], "e07b", "M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"]
|
|
67
|
-
},
|
|
67
|
+
}, $1 = {
|
|
68
68
|
prefix: "fab",
|
|
69
69
|
iconName: "instagram",
|
|
70
70
|
icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
|
|
@@ -89,7 +89,7 @@ const C1 = {
|
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
text: "Instagram",
|
|
92
|
-
icon:
|
|
92
|
+
icon: $1,
|
|
93
93
|
href: "https://www.instagram.com/uofguelph/",
|
|
94
94
|
classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
|
|
95
95
|
},
|
|
@@ -107,7 +107,7 @@ const C1 = {
|
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
text: "TikTok",
|
|
110
|
-
icon:
|
|
110
|
+
icon: A1,
|
|
111
111
|
href: "https://www.tiktok.com/@uofguelph",
|
|
112
112
|
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
113
113
|
}
|
|
@@ -129,7 +129,7 @@ const C1 = {
|
|
|
129
129
|
href: "https://www.uoguelph.ca/sitemap"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
|
-
text: "Status
|
|
132
|
+
text: "IT Status",
|
|
133
133
|
icon: u1,
|
|
134
134
|
href: "https://uoguelph.statuspage.io/"
|
|
135
135
|
},
|
|
@@ -147,14 +147,14 @@ const C1 = {
|
|
|
147
147
|
href: "https://careers.uoguelph.ca/"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
text: "
|
|
150
|
+
text: "Academic Calendar",
|
|
151
151
|
icon: E,
|
|
152
|
-
href: "https://
|
|
152
|
+
href: "https://calendar.uoguelph.ca/"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
text: "
|
|
155
|
+
text: "Campus Status",
|
|
156
156
|
icon: E,
|
|
157
|
-
href: "https://www.uoguelph.ca/
|
|
157
|
+
href: "https://www.uoguelph.ca/campus-status/"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
text: "Admission",
|
|
@@ -166,75 +166,75 @@ const C1 = {
|
|
|
166
166
|
icon: p1,
|
|
167
167
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
168
168
|
}
|
|
169
|
-
],
|
|
169
|
+
], A = {
|
|
170
170
|
title: "University of Guelph",
|
|
171
171
|
street: "50 Stone Road East",
|
|
172
172
|
city: "Guelph",
|
|
173
173
|
postalCode: "N1G 2W1",
|
|
174
174
|
phoneNumber: "519-824-4120"
|
|
175
175
|
};
|
|
176
|
-
var F1 = V("<li><a><!></a></li>"),
|
|
177
|
-
function
|
|
178
|
-
F(
|
|
176
|
+
var F1 = V("<li><a><!></a></li>"), I1 = V("<ul></ul>");
|
|
177
|
+
function r1(d, s) {
|
|
178
|
+
F(s, !1);
|
|
179
179
|
const o = R({
|
|
180
180
|
slots: {
|
|
181
181
|
base: "flex gap-2 text-lg [&>li]:contents",
|
|
182
182
|
links: "p-0.5 transition-colors [&>*]:aspect-square"
|
|
183
183
|
}
|
|
184
|
-
}), { base: l, links:
|
|
184
|
+
}), { base: l, links: m } = o();
|
|
185
185
|
D();
|
|
186
|
-
var i =
|
|
186
|
+
var i = I1();
|
|
187
187
|
B(i, 5, () => a1.links, O, (n, t, c, e) => {
|
|
188
|
-
let
|
|
188
|
+
let w = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
|
|
189
189
|
var x = F1(), f = v(x), C = v(f);
|
|
190
190
|
g1(C, {
|
|
191
191
|
get icon() {
|
|
192
192
|
return p();
|
|
193
193
|
}
|
|
194
|
-
}),
|
|
194
|
+
}), r(f), r(x), y(
|
|
195
195
|
(a) => {
|
|
196
|
-
U(f, "href",
|
|
196
|
+
U(f, "href", w()), U(f, "aria-label", _()), z(f, 1, a);
|
|
197
197
|
},
|
|
198
198
|
[
|
|
199
|
-
() => L(e1(
|
|
199
|
+
() => L(e1(m(), g()))
|
|
200
200
|
],
|
|
201
|
-
|
|
201
|
+
$
|
|
202
202
|
), u(n, x);
|
|
203
|
-
}),
|
|
203
|
+
}), r(i), y((n) => z(i, 1, n), [() => L(l())], $), u(d, i), I();
|
|
204
204
|
}
|
|
205
|
-
N(
|
|
206
|
-
var
|
|
207
|
-
function S(d,
|
|
208
|
-
F(
|
|
209
|
-
let o =
|
|
205
|
+
N(r1, {}, [], [], !0);
|
|
206
|
+
var T1 = V("<a><!></a>");
|
|
207
|
+
function S(d, s) {
|
|
208
|
+
F(s, !0);
|
|
209
|
+
let o = G(s, "href", 7), l = G(s, "label", 7), m = G(s, "children", 7), i = G(s, "class", 7);
|
|
210
210
|
const n = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
|
|
211
|
-
var t =
|
|
212
|
-
return y1(c,
|
|
211
|
+
var t = T1(), c = v(t);
|
|
212
|
+
return y1(c, m), r(t), y(() => {
|
|
213
213
|
z(t, 1, L(n)), U(t, "href", o()), U(t, "aria-label", l() ?? void 0);
|
|
214
|
-
}), u(d, t),
|
|
214
|
+
}), u(d, t), I({
|
|
215
215
|
get href() {
|
|
216
216
|
return o();
|
|
217
217
|
},
|
|
218
218
|
set href(e) {
|
|
219
|
-
o(e),
|
|
219
|
+
o(e), P();
|
|
220
220
|
},
|
|
221
221
|
get label() {
|
|
222
222
|
return l();
|
|
223
223
|
},
|
|
224
224
|
set label(e) {
|
|
225
|
-
l(e),
|
|
225
|
+
l(e), P();
|
|
226
226
|
},
|
|
227
227
|
get children() {
|
|
228
|
-
return
|
|
228
|
+
return m();
|
|
229
229
|
},
|
|
230
230
|
set children(e) {
|
|
231
|
-
|
|
231
|
+
m(e), P();
|
|
232
232
|
},
|
|
233
233
|
get class() {
|
|
234
234
|
return i();
|
|
235
235
|
},
|
|
236
236
|
set class(e) {
|
|
237
|
-
i(e),
|
|
237
|
+
i(e), P();
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
}
|
|
@@ -250,28 +250,28 @@ N(
|
|
|
250
250
|
[],
|
|
251
251
|
!0
|
|
252
252
|
);
|
|
253
|
-
var Z1 = V("<li><!></li>"),
|
|
254
|
-
function o1(d,
|
|
255
|
-
F(
|
|
253
|
+
var Z1 = V("<li><!></li>"), G1 = V("<li><!></li>"), P1 = V("<ul></ul> <ul></ul>", 1);
|
|
254
|
+
function o1(d, s) {
|
|
255
|
+
F(s, !1);
|
|
256
256
|
const o = R({
|
|
257
257
|
slots: {
|
|
258
258
|
list: "grid grid-rows-5 items-center gap-0 not-italic",
|
|
259
259
|
link: "flex h-full items-center"
|
|
260
260
|
}
|
|
261
|
-
}), { list: l, link:
|
|
261
|
+
}), { list: l, link: m } = o();
|
|
262
262
|
D();
|
|
263
|
-
var i =
|
|
264
|
-
B(n, 5, () => Q, O, (c, e,
|
|
263
|
+
var i = P1(), n = X(i);
|
|
264
|
+
B(n, 5, () => Q, O, (c, e, w) => {
|
|
265
265
|
let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
|
|
266
266
|
var x = J(), f = X(x);
|
|
267
267
|
{
|
|
268
268
|
var C = (a) => {
|
|
269
269
|
var b = Z1(), k = v(b);
|
|
270
|
-
const
|
|
270
|
+
const T = $(m);
|
|
271
271
|
S(k, K(
|
|
272
272
|
{
|
|
273
273
|
get class() {
|
|
274
|
-
return h(
|
|
274
|
+
return h(T);
|
|
275
275
|
},
|
|
276
276
|
get href() {
|
|
277
277
|
return _();
|
|
@@ -286,26 +286,26 @@ function o1(d, r) {
|
|
|
286
286
|
},
|
|
287
287
|
$$slots: { default: !0 }
|
|
288
288
|
}
|
|
289
|
-
)),
|
|
289
|
+
)), r(b), u(a, b);
|
|
290
290
|
};
|
|
291
291
|
j(f, (a) => {
|
|
292
|
-
|
|
292
|
+
w % 2 === 0 && a(C);
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
295
|
u(c, x);
|
|
296
|
-
}),
|
|
296
|
+
}), r(n);
|
|
297
297
|
var t = M(n, 2);
|
|
298
|
-
B(t, 5, () => Q, O, (c, e,
|
|
298
|
+
B(t, 5, () => Q, O, (c, e, w) => {
|
|
299
299
|
let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
|
|
300
300
|
var x = J(), f = X(x);
|
|
301
301
|
{
|
|
302
302
|
var C = (a) => {
|
|
303
|
-
var b =
|
|
304
|
-
const
|
|
303
|
+
var b = G1(), k = v(b);
|
|
304
|
+
const T = $(m);
|
|
305
305
|
S(k, K(
|
|
306
306
|
{
|
|
307
307
|
get class() {
|
|
308
|
-
return h(
|
|
308
|
+
return h(T);
|
|
309
309
|
},
|
|
310
310
|
get href() {
|
|
311
311
|
return _();
|
|
@@ -320,14 +320,14 @@ function o1(d, r) {
|
|
|
320
320
|
},
|
|
321
321
|
$$slots: { default: !0 }
|
|
322
322
|
}
|
|
323
|
-
)),
|
|
323
|
+
)), r(b), u(a, b);
|
|
324
324
|
};
|
|
325
325
|
j(f, (a) => {
|
|
326
|
-
|
|
326
|
+
w % 2 !== 0 && a(C);
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
329
|
u(c, x);
|
|
330
|
-
}),
|
|
330
|
+
}), r(t), y(
|
|
331
331
|
(c, e) => {
|
|
332
332
|
z(n, 1, c), z(t, 1, e);
|
|
333
333
|
},
|
|
@@ -335,23 +335,23 @@ function o1(d, r) {
|
|
|
335
335
|
() => L(l()),
|
|
336
336
|
() => L(l())
|
|
337
337
|
],
|
|
338
|
-
|
|
339
|
-
), u(d, i),
|
|
338
|
+
$
|
|
339
|
+
), u(d, i), I();
|
|
340
340
|
}
|
|
341
341
|
N(o1, {}, [], [], !0);
|
|
342
342
|
var U1 = V('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
|
|
343
|
-
function l1(d,
|
|
344
|
-
F(
|
|
345
|
-
var o = U1(), l = v(o),
|
|
346
|
-
|
|
343
|
+
function l1(d, s) {
|
|
344
|
+
F(s, !1), D();
|
|
345
|
+
var o = U1(), l = v(o), m = v(l, !0);
|
|
346
|
+
r(l);
|
|
347
347
|
var i = M(l, 2), n = v(i);
|
|
348
|
-
|
|
348
|
+
r(i);
|
|
349
349
|
var t = M(i, 2), c = v(t);
|
|
350
|
-
|
|
351
|
-
var e = M(t, 2),
|
|
352
|
-
|
|
350
|
+
r(t);
|
|
351
|
+
var e = M(t, 2), w = v(e, !0);
|
|
352
|
+
r(e);
|
|
353
353
|
var _ = M(e, 2);
|
|
354
|
-
const p =
|
|
354
|
+
const p = $(() => `tel:${A.phoneNumber}`);
|
|
355
355
|
S(_, {
|
|
356
356
|
get href() {
|
|
357
357
|
return h(p);
|
|
@@ -359,29 +359,29 @@ function l1(d, r) {
|
|
|
359
359
|
children: (g, x) => {
|
|
360
360
|
Y();
|
|
361
361
|
var f = q();
|
|
362
|
-
y(() => H(f,
|
|
362
|
+
y(() => H(f, A.phoneNumber)), u(g, f);
|
|
363
363
|
},
|
|
364
364
|
$$slots: { default: !0 }
|
|
365
|
-
}),
|
|
366
|
-
H(
|
|
367
|
-
}), u(d, o),
|
|
365
|
+
}), r(o), y(() => {
|
|
366
|
+
H(m, A.title), H(n, `${A.street},`), H(c, `${A.city}, Ontario, Canada`), H(w, A.postalCode);
|
|
367
|
+
}), u(d, o), I();
|
|
368
368
|
}
|
|
369
369
|
N(l1, {}, [], [], !0);
|
|
370
370
|
var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
|
|
371
|
-
function q1(d,
|
|
372
|
-
F(
|
|
371
|
+
function q1(d, s) {
|
|
372
|
+
F(s, !0);
|
|
373
373
|
const o = R({
|
|
374
374
|
slots: {
|
|
375
375
|
footer: "flex flex-col content-center gap-0 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 md:gap-6 lg:grid-cols-4",
|
|
376
376
|
wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
let l = w1(
|
|
379
|
+
let l = m1(w1([]));
|
|
380
380
|
k1(() => {
|
|
381
381
|
const a = () => {
|
|
382
382
|
x1(
|
|
383
383
|
l,
|
|
384
|
-
Array.from(
|
|
384
|
+
Array.from(s.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
|
|
385
385
|
text: k.textContent ?? "",
|
|
386
386
|
href: k.getAttribute("href") ?? ""
|
|
387
387
|
})),
|
|
@@ -390,11 +390,11 @@ function q1(d, r) {
|
|
|
390
390
|
};
|
|
391
391
|
a();
|
|
392
392
|
const b = new MutationObserver(a);
|
|
393
|
-
return b.observe(
|
|
393
|
+
return b.observe(s.$$host, { childList: !0, subtree: !0 }), () => {
|
|
394
394
|
b.disconnect();
|
|
395
395
|
};
|
|
396
396
|
});
|
|
397
|
-
const { footer:
|
|
397
|
+
const { footer: m, wrapper: i } = o();
|
|
398
398
|
var n = Y1(), t = v(n);
|
|
399
399
|
{
|
|
400
400
|
var c = (a) => {
|
|
@@ -408,10 +408,10 @@ function q1(d, r) {
|
|
|
408
408
|
Array.isArray(h(l)) && h(l).length > 0 && a(c);
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
|
-
var e = M(t, 2),
|
|
412
|
-
|
|
411
|
+
var e = M(t, 2), w = v(e), _ = v(w);
|
|
412
|
+
s1(_);
|
|
413
413
|
var p = M(_, 2);
|
|
414
|
-
|
|
414
|
+
r1(p, {});
|
|
415
415
|
var g = M(p, 2);
|
|
416
416
|
S(g, {
|
|
417
417
|
get href() {
|
|
@@ -430,22 +430,22 @@ function q1(d, r) {
|
|
|
430
430
|
children: (a, b) => {
|
|
431
431
|
Y();
|
|
432
432
|
var k = q();
|
|
433
|
-
y((
|
|
433
|
+
y((T) => H(k, `© ${T ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(a, k);
|
|
434
434
|
},
|
|
435
435
|
$$slots: { default: !0 }
|
|
436
|
-
}),
|
|
437
|
-
var f = M(
|
|
436
|
+
}), r(w);
|
|
437
|
+
var f = M(w, 2);
|
|
438
438
|
o1(f, {});
|
|
439
439
|
var C = M(f, 2);
|
|
440
|
-
l1(C, {}),
|
|
440
|
+
l1(C, {}), r(e), r(n), y(
|
|
441
441
|
(a, b) => {
|
|
442
|
-
z(e, 1, a), z(
|
|
442
|
+
z(e, 1, a), z(w, 1, b);
|
|
443
443
|
},
|
|
444
444
|
[
|
|
445
|
-
() => L(
|
|
445
|
+
() => L(m()),
|
|
446
446
|
() => L(i())
|
|
447
447
|
]
|
|
448
|
-
), u(d, n),
|
|
448
|
+
), u(d, n), I();
|
|
449
449
|
}
|
|
450
450
|
customElements.define("uofg-footer", N(q1, {}, [], [], !0, (d) => class extends d {
|
|
451
451
|
constructor() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uoguelph/web-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "University of Guelph Web Components Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"bugs": {
|
|
51
51
|
"url": "https://github.com/ccswbs/uofg-components/issues"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "9dda27bc8ada1388d930a8e46db3a85d441aee8a"
|
|
54
54
|
}
|