@uoguelph/web-components 1.2.0-rc.6 → 1.2.0-rc.9
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/README.md +0 -63
- package/dist/uofg-web-components/index-CSn7dBx6.js +981 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +154 -0
- package/dist/uofg-web-components/uofg-footer.esm.js +403 -0
- package/dist/uofg-web-components/uofg-header.esm.js +2306 -0
- package/dist/uofg-web-components/uofg-modal.esm.js +329 -0
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/uofg-web-components.esm.js +8 -1
- package/package.json +21 -35
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/index-06b58d35.js +0 -32
- package/dist/cjs/index-cdb046b4.js +0 -2092
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -15
- package/dist/cjs/uofg-alert.cjs.entry.js +0 -21
- package/dist/cjs/uofg-back-to-top_5.cjs.entry.js +0 -1387
- package/dist/cjs/uofg-modal.cjs.entry.js +0 -172
- package/dist/cjs/uofg-web-components.cjs.js +0 -25
- package/dist/cjs/utils-3d4b7e2e.js +0 -16
- package/dist/collection/collection-manifest.json +0 -18
- package/dist/collection/components/uofg-alert/uofg-alert.css +0 -1
- package/dist/collection/components/uofg-alert/uofg-alert.js +0 -20
- package/dist/collection/components/uofg-back-to-top/uofg-back-to-top.css +0 -1
- package/dist/collection/components/uofg-back-to-top/uofg-back-to-top.js +0 -71
- package/dist/collection/components/uofg-card/uofg-card.css +0 -1
- package/dist/collection/components/uofg-card/uofg-card.js +0 -45
- package/dist/collection/components/uofg-footer/uofg-footer.css +0 -1
- package/dist/collection/components/uofg-footer/uofg-footer.js +0 -153
- package/dist/collection/components/uofg-header/uofg-header.css +0 -1
- package/dist/collection/components/uofg-header/uofg-header.js +0 -266
- package/dist/collection/components/uofg-menu/uofg-menu.js +0 -438
- package/dist/collection/components/uofg-modal/uofg-modal.css +0 -1
- package/dist/collection/components/uofg-modal/uofg-modal.js +0 -417
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/font-awesome-icon.js +0 -7
- package/dist/collection/utils/utils.js +0 -13
- package/dist/components/font-awesome-icon.js +0 -10
- package/dist/components/index.d.ts +0 -50
- package/dist/components/index.js +0 -8
- package/dist/components/index2.js +0 -18
- package/dist/components/uofg-alert.d.ts +0 -11
- package/dist/components/uofg-alert.js +0 -36
- package/dist/components/uofg-back-to-top.d.ts +0 -11
- package/dist/components/uofg-back-to-top.js +0 -52
- package/dist/components/uofg-card.d.ts +0 -11
- package/dist/components/uofg-card.js +0 -40
- package/dist/components/uofg-footer.d.ts +0 -11
- package/dist/components/uofg-footer.js +0 -751
- package/dist/components/uofg-header.d.ts +0 -11
- package/dist/components/uofg-header.js +0 -398
- package/dist/components/uofg-menu.d.ts +0 -11
- package/dist/components/uofg-menu.js +0 -6
- package/dist/components/uofg-menu2.js +0 -268
- package/dist/components/uofg-modal.d.ts +0 -11
- package/dist/components/uofg-modal.js +0 -201
- package/dist/components/utils.js +0 -12
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/index-0b0002d2.js +0 -2062
- package/dist/esm/index-e685921a.js +0 -27
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -11
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/uofg-alert.entry.js +0 -17
- package/dist/esm/uofg-back-to-top_5.entry.js +0 -1379
- package/dist/esm/uofg-modal.entry.js +0 -168
- package/dist/esm/uofg-web-components.js +0 -20
- package/dist/esm/utils-379bb71a.js +0 -12
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/uofg-alert/uofg-alert.d.ts +0 -3
- package/dist/types/components/uofg-back-to-top/uofg-back-to-top.d.ts +0 -10
- package/dist/types/components/uofg-card/uofg-card.d.ts +0 -7
- package/dist/types/components/uofg-footer/uofg-footer.d.ts +0 -8
- package/dist/types/components/uofg-header/uofg-header.d.ts +0 -37
- package/dist/types/components/uofg-menu/uofg-menu.d.ts +0 -68
- package/dist/types/components/uofg-modal/uofg-modal.d.ts +0 -77
- package/dist/types/components.d.ts +0 -303
- package/dist/types/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -1681
- package/dist/types/utils/font-awesome-icon.d.ts +0 -5
- package/dist/types/utils/utils.d.ts +0 -4
- package/dist/uofg-web-components/index.esm.js +0 -0
- package/dist/uofg-web-components/p-6fa0f8f6.js +0 -1
- package/dist/uofg-web-components/p-7569d8f2.entry.js +0 -1
- package/dist/uofg-web-components/p-976982f6.entry.js +0 -1
- package/dist/uofg-web-components/p-e1255160.js +0 -1
- package/dist/uofg-web-components/p-ee27db22.js +0 -2
- package/dist/uofg-web-components/p-fde6370b.entry.js +0 -1
- package/dist/uofg-web-components/p-fec87f9d.js +0 -1
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -21
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
- /package/dist/{collection/components/uofg-header/decoration.svg → uofg-web-components/decorative.svg} +0 -0
- /package/dist/{collection/components/uofg-footer → uofg-web-components}/improve-life.svg +0 -0
- /package/dist/{collection/components/uofg-header/logo-reduced.svg → uofg-web-components/logo-small.svg} +0 -0
- /package/dist/{collection/components/uofg-header/logo-full.svg → uofg-web-components/logo.svg} +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { c as A, S as B, i as D, a as G, s as H, F as I, f as J, b as $, e as v, d as K, g as h, h as w, j as L, k as m, m as M, u as x, l as q, n as y, t as p, o as d, p as N, q as O } from "./index-CSn7dBx6.js";
|
|
2
|
+
const P = (e) => ({}), R = (e) => ({}), Q = (e) => ({}), T = (e) => ({}), V = (e) => ({}), U = (e) => ({}), W = (e) => ({}), z = (e) => ({});
|
|
3
|
+
function X(e) {
|
|
4
|
+
let s, f, r, c, g, u, j, k, b, o;
|
|
5
|
+
r = new I({ props: { icon: J } });
|
|
6
|
+
const C = (
|
|
7
|
+
/*#slots*/
|
|
8
|
+
e[1].title
|
|
9
|
+
), l = $(
|
|
10
|
+
C,
|
|
11
|
+
e,
|
|
12
|
+
/*$$scope*/
|
|
13
|
+
e[0],
|
|
14
|
+
z
|
|
15
|
+
), E = (
|
|
16
|
+
/*#slots*/
|
|
17
|
+
e[1].subtitle
|
|
18
|
+
), n = $(
|
|
19
|
+
E,
|
|
20
|
+
e,
|
|
21
|
+
/*$$scope*/
|
|
22
|
+
e[0],
|
|
23
|
+
U
|
|
24
|
+
), F = (
|
|
25
|
+
/*#slots*/
|
|
26
|
+
e[1].message
|
|
27
|
+
), a = $(
|
|
28
|
+
F,
|
|
29
|
+
e,
|
|
30
|
+
/*$$scope*/
|
|
31
|
+
e[0],
|
|
32
|
+
T
|
|
33
|
+
), S = (
|
|
34
|
+
/*#slots*/
|
|
35
|
+
e[1].footer
|
|
36
|
+
), i = $(
|
|
37
|
+
S,
|
|
38
|
+
e,
|
|
39
|
+
/*$$scope*/
|
|
40
|
+
e[0],
|
|
41
|
+
R
|
|
42
|
+
);
|
|
43
|
+
return {
|
|
44
|
+
c() {
|
|
45
|
+
s = v("div"), f = v("div"), K(r.$$.fragment), c = h(), l && l.c(), g = h(), u = v("div"), n && n.c(), j = h(), a && a.c(), k = h(), b = v("div"), i && i.c(), w(f, "class", "flex items-center bg-uofg-red p-8 text-4xl text-white [&>svg]:mr-4 [&>svg]:h-[1.5em] [&>svg]:fill-current"), w(u, "class", 'flex flex-col bg-white px-8 py-6 [&>slot[name="message"]::slotted(*)]:text-2xl [&>slot[name="subtitle"]::slotted(*)]:mb-8 [&>slot[name="subtitle"]::slotted(*)]:text-4xl [&>slot[name="subtitle"]::slotted(*)]:font-bold'), w(b, "class", "flex bg-uofg-grey px-8 py-4 text-2xl"), w(s, "class", "flex flex-col text-3xl");
|
|
46
|
+
},
|
|
47
|
+
m(t, _) {
|
|
48
|
+
L(t, s, _), m(s, f), M(r, f, null), m(f, c), l && l.m(f, null), m(s, g), m(s, u), n && n.m(u, null), m(u, j), a && a.m(u, null), m(s, k), m(s, b), i && i.m(b, null), o = !0;
|
|
49
|
+
},
|
|
50
|
+
p(t, [_]) {
|
|
51
|
+
l && l.p && (!o || _ & /*$$scope*/
|
|
52
|
+
1) && x(
|
|
53
|
+
l,
|
|
54
|
+
C,
|
|
55
|
+
t,
|
|
56
|
+
/*$$scope*/
|
|
57
|
+
t[0],
|
|
58
|
+
o ? y(
|
|
59
|
+
C,
|
|
60
|
+
/*$$scope*/
|
|
61
|
+
t[0],
|
|
62
|
+
_,
|
|
63
|
+
W
|
|
64
|
+
) : q(
|
|
65
|
+
/*$$scope*/
|
|
66
|
+
t[0]
|
|
67
|
+
),
|
|
68
|
+
z
|
|
69
|
+
), n && n.p && (!o || _ & /*$$scope*/
|
|
70
|
+
1) && x(
|
|
71
|
+
n,
|
|
72
|
+
E,
|
|
73
|
+
t,
|
|
74
|
+
/*$$scope*/
|
|
75
|
+
t[0],
|
|
76
|
+
o ? y(
|
|
77
|
+
E,
|
|
78
|
+
/*$$scope*/
|
|
79
|
+
t[0],
|
|
80
|
+
_,
|
|
81
|
+
V
|
|
82
|
+
) : q(
|
|
83
|
+
/*$$scope*/
|
|
84
|
+
t[0]
|
|
85
|
+
),
|
|
86
|
+
U
|
|
87
|
+
), a && a.p && (!o || _ & /*$$scope*/
|
|
88
|
+
1) && x(
|
|
89
|
+
a,
|
|
90
|
+
F,
|
|
91
|
+
t,
|
|
92
|
+
/*$$scope*/
|
|
93
|
+
t[0],
|
|
94
|
+
o ? y(
|
|
95
|
+
F,
|
|
96
|
+
/*$$scope*/
|
|
97
|
+
t[0],
|
|
98
|
+
_,
|
|
99
|
+
Q
|
|
100
|
+
) : q(
|
|
101
|
+
/*$$scope*/
|
|
102
|
+
t[0]
|
|
103
|
+
),
|
|
104
|
+
T
|
|
105
|
+
), i && i.p && (!o || _ & /*$$scope*/
|
|
106
|
+
1) && x(
|
|
107
|
+
i,
|
|
108
|
+
S,
|
|
109
|
+
t,
|
|
110
|
+
/*$$scope*/
|
|
111
|
+
t[0],
|
|
112
|
+
o ? y(
|
|
113
|
+
S,
|
|
114
|
+
/*$$scope*/
|
|
115
|
+
t[0],
|
|
116
|
+
_,
|
|
117
|
+
P
|
|
118
|
+
) : q(
|
|
119
|
+
/*$$scope*/
|
|
120
|
+
t[0]
|
|
121
|
+
),
|
|
122
|
+
R
|
|
123
|
+
);
|
|
124
|
+
},
|
|
125
|
+
i(t) {
|
|
126
|
+
o || (p(r.$$.fragment, t), p(l, t), p(n, t), p(a, t), p(i, t), o = !0);
|
|
127
|
+
},
|
|
128
|
+
o(t) {
|
|
129
|
+
d(r.$$.fragment, t), d(l, t), d(n, t), d(a, t), d(i, t), o = !1;
|
|
130
|
+
},
|
|
131
|
+
d(t) {
|
|
132
|
+
t && N(s), O(r), l && l.d(t), n && n.d(t), a && a.d(t), i && i.d(t);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function Y(e, s, f) {
|
|
137
|
+
let { $$slots: r = {}, $$scope: c } = s;
|
|
138
|
+
return e.$$set = (g) => {
|
|
139
|
+
"$$scope" in g && f(0, c = g.$$scope);
|
|
140
|
+
}, [c, r];
|
|
141
|
+
}
|
|
142
|
+
class Z extends B {
|
|
143
|
+
constructor(s) {
|
|
144
|
+
super(), D(this, s, Y, X, H, {});
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
customElements.define("uofg-alert", A(Z, {}, ["title", "subtitle", "message", "footer"], [], !0, (e) => class extends e {
|
|
148
|
+
constructor() {
|
|
149
|
+
super(), G(this.shadowRoot);
|
|
150
|
+
}
|
|
151
|
+
}));
|
|
152
|
+
export {
|
|
153
|
+
Z as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { c as pe, S as de, i as ge, r as be, a as me, s as we, v as V, F as B, w as xe, e as h, g as m, d as D, h as f, j as H, k as n, m as E, t as v, x as ee, o as C, p as A, y as P, q as Y, z as ve, A as _e, B as fe, C as te, D as ke, E as ye, G as Ce, H as $e, I as Ve, J as Fe, K as re, L as Se, M as ze } from "./index-CSn7dBx6.js";
|
|
2
|
+
var Me = {
|
|
3
|
+
prefix: "fab",
|
|
4
|
+
iconName: "square-twitter",
|
|
5
|
+
icon: [448, 512, ["twitter-square"], "f081", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM351.3 199.3v0c0 86.7-66 186.6-186.6 186.6c-37.2 0-71.7-10.8-100.7-29.4c5.3 .6 10.4 .8 15.8 .8c30.7 0 58.9-10.4 81.4-28c-28.8-.6-53-19.5-61.3-45.5c10.1 1.5 19.2 1.5 29.6-1.2c-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3c-9-6-16.4-14.1-21.5-23.6s-7.8-20.2-7.7-31c0-12.2 3.2-23.4 8.9-33.1c32.3 39.8 80.8 65.8 135.2 68.6c-9.3-44.5 24-80.6 64-80.6c18.9 0 35.9 7.9 47.9 20.7c14.8-2.8 29-8.3 41.6-15.8c-4.9 15.2-15.2 28-28.8 36.1c13.2-1.4 26-5.1 37.8-10.2c-8.9 13.1-20.1 24.7-32.9 34c.2 2.8 .2 5.7 .2 8.5z"]
|
|
6
|
+
}, He = Me, Ae = {
|
|
7
|
+
prefix: "fab",
|
|
8
|
+
iconName: "tiktok",
|
|
9
|
+
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"]
|
|
10
|
+
}, qe = {
|
|
11
|
+
prefix: "fab",
|
|
12
|
+
iconName: "square-facebook",
|
|
13
|
+
icon: [448, 512, ["facebook-square"], "f082", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64h98.2V334.2H109.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H255V480H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
|
|
14
|
+
}, Te = qe, Ge = {
|
|
15
|
+
prefix: "fab",
|
|
16
|
+
iconName: "linkedin",
|
|
17
|
+
icon: [448, 512, [], "f08c", "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]
|
|
18
|
+
}, Le = {
|
|
19
|
+
prefix: "fab",
|
|
20
|
+
iconName: "instagram",
|
|
21
|
+
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"]
|
|
22
|
+
}, Ne = {
|
|
23
|
+
prefix: "fab",
|
|
24
|
+
iconName: "youtube",
|
|
25
|
+
icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
|
|
26
|
+
};
|
|
27
|
+
function oe(c, e, r) {
|
|
28
|
+
const t = c.slice();
|
|
29
|
+
return t[3] = e[r].href, t[4] = e[r].title, t[5] = e[r].icon, t[6] = e[r].text, t;
|
|
30
|
+
}
|
|
31
|
+
function ae(c, e, r) {
|
|
32
|
+
const t = c.slice();
|
|
33
|
+
return t[3] = e[r].href, t[6] = e[r].text, t[5] = e[r].icon, t[9] = e[r].classes, t;
|
|
34
|
+
}
|
|
35
|
+
function se(c, e, r) {
|
|
36
|
+
const t = c.slice();
|
|
37
|
+
return t[6] = e[r].text, t[3] = e[r].href, t;
|
|
38
|
+
}
|
|
39
|
+
function le(c) {
|
|
40
|
+
let e, r = V(
|
|
41
|
+
/*subFooter*/
|
|
42
|
+
c[0]
|
|
43
|
+
), t = [];
|
|
44
|
+
for (let l = 0; l < r.length; l += 1)
|
|
45
|
+
t[l] = ne(se(c, r, l));
|
|
46
|
+
return {
|
|
47
|
+
c() {
|
|
48
|
+
e = h("ul");
|
|
49
|
+
for (let l = 0; l < t.length; l += 1)
|
|
50
|
+
t[l].c();
|
|
51
|
+
f(e, "class", "flex flex-wrap items-center justify-center bg-uofg-blue-50 p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
52
|
+
},
|
|
53
|
+
m(l, i) {
|
|
54
|
+
H(l, e, i);
|
|
55
|
+
for (let o = 0; o < t.length; o += 1)
|
|
56
|
+
t[o] && t[o].m(e, null);
|
|
57
|
+
},
|
|
58
|
+
p(l, i) {
|
|
59
|
+
if (i & /*subFooter*/
|
|
60
|
+
1) {
|
|
61
|
+
r = V(
|
|
62
|
+
/*subFooter*/
|
|
63
|
+
l[0]
|
|
64
|
+
);
|
|
65
|
+
let o;
|
|
66
|
+
for (o = 0; o < r.length; o += 1) {
|
|
67
|
+
const g = se(l, r, o);
|
|
68
|
+
t[o] ? t[o].p(g, i) : (t[o] = ne(g), t[o].c(), t[o].m(e, null));
|
|
69
|
+
}
|
|
70
|
+
for (; o < t.length; o += 1)
|
|
71
|
+
t[o].d(1);
|
|
72
|
+
t.length = r.length;
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
d(l) {
|
|
76
|
+
l && A(e), P(t, l);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function ne(c) {
|
|
81
|
+
let e, r, t = (
|
|
82
|
+
/*text*/
|
|
83
|
+
c[6] + ""
|
|
84
|
+
), l, i, o;
|
|
85
|
+
return {
|
|
86
|
+
c() {
|
|
87
|
+
e = h("li"), r = h("a"), l = ve(t), o = m(), f(r, "class", "text-uofg-blue-500 transition-colors hover:text-uofg-blue-950 focus:text-uofg-blue-950"), f(r, "href", i = /*href*/
|
|
88
|
+
c[3]), f(e, "class", "border-0 border-r-2 border-solid border-uofg-blue-100 p-2 first:border-l-2");
|
|
89
|
+
},
|
|
90
|
+
m(g, b) {
|
|
91
|
+
H(g, e, b), n(e, r), n(r, l), n(e, o);
|
|
92
|
+
},
|
|
93
|
+
p(g, b) {
|
|
94
|
+
b & /*subFooter*/
|
|
95
|
+
1 && t !== (t = /*text*/
|
|
96
|
+
g[6] + "") && _e(l, t), b & /*subFooter*/
|
|
97
|
+
1 && i !== (i = /*href*/
|
|
98
|
+
g[3]) && f(r, "href", i);
|
|
99
|
+
},
|
|
100
|
+
d(g) {
|
|
101
|
+
g && A(e);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function ce(c) {
|
|
106
|
+
let e, r, t, l, i;
|
|
107
|
+
return t = new B({ props: { icon: (
|
|
108
|
+
/*icon*/
|
|
109
|
+
c[5]
|
|
110
|
+
) } }), {
|
|
111
|
+
c() {
|
|
112
|
+
e = h("li"), r = h("a"), D(t.$$.fragment), l = m(), f(
|
|
113
|
+
r,
|
|
114
|
+
"href",
|
|
115
|
+
/*href*/
|
|
116
|
+
c[3]
|
|
117
|
+
), f(
|
|
118
|
+
r,
|
|
119
|
+
"aria-label",
|
|
120
|
+
/*text*/
|
|
121
|
+
c[6]
|
|
122
|
+
), f(r, "class", `transition-colors ${/*classes*/
|
|
123
|
+
c[9]}`);
|
|
124
|
+
},
|
|
125
|
+
m(o, g) {
|
|
126
|
+
H(o, e, g), n(e, r), E(t, r, null), n(e, l), i = !0;
|
|
127
|
+
},
|
|
128
|
+
p: fe,
|
|
129
|
+
i(o) {
|
|
130
|
+
i || (v(t.$$.fragment, o), i = !0);
|
|
131
|
+
},
|
|
132
|
+
o(o) {
|
|
133
|
+
C(t.$$.fragment, o), i = !1;
|
|
134
|
+
},
|
|
135
|
+
d(o) {
|
|
136
|
+
o && A(e), Y(t);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function ie(c) {
|
|
141
|
+
let e, r, t, l, i, o, g;
|
|
142
|
+
return t = new B({ props: { icon: (
|
|
143
|
+
/*icon*/
|
|
144
|
+
c[5]
|
|
145
|
+
) } }), {
|
|
146
|
+
c() {
|
|
147
|
+
e = h("li"), r = h("a"), D(t.$$.fragment), l = m(), i = h("span"), i.textContent = `${/*text*/
|
|
148
|
+
c[6]}`, o = m(), f(
|
|
149
|
+
r,
|
|
150
|
+
"href",
|
|
151
|
+
/*href*/
|
|
152
|
+
c[3]
|
|
153
|
+
), f(
|
|
154
|
+
r,
|
|
155
|
+
"title",
|
|
156
|
+
/*title*/
|
|
157
|
+
c[4] ?? ""
|
|
158
|
+
), f(r, "class", "flex justify-center items-center w-fit gap-3 border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white [&>svg]:fill-uofg-yellow");
|
|
159
|
+
},
|
|
160
|
+
m(b, q) {
|
|
161
|
+
H(b, e, q), n(e, r), E(t, r, null), n(r, l), n(r, i), n(e, o), g = !0;
|
|
162
|
+
},
|
|
163
|
+
p: fe,
|
|
164
|
+
i(b) {
|
|
165
|
+
g || (v(t.$$.fragment, b), g = !0);
|
|
166
|
+
},
|
|
167
|
+
o(b) {
|
|
168
|
+
C(t.$$.fragment, b), g = !1;
|
|
169
|
+
},
|
|
170
|
+
d(b) {
|
|
171
|
+
b && A(e), Y(t);
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function je(c) {
|
|
176
|
+
let e, r = Array.isArray(
|
|
177
|
+
/*subFooter*/
|
|
178
|
+
c[0]
|
|
179
|
+
), t, l, i, o, g, b, q, F, K, S, O, T, z, R, x, L, W, N, J, j, Z, I, Q, _, $, X, U, G, w = r && le(c), k = V(
|
|
180
|
+
/*socials*/
|
|
181
|
+
c[1]
|
|
182
|
+
), p = [];
|
|
183
|
+
for (let a = 0; a < k.length; a += 1)
|
|
184
|
+
p[a] = ce(ae(c, k, a));
|
|
185
|
+
const ue = (a) => C(p[a], 1, 1, () => {
|
|
186
|
+
p[a] = null;
|
|
187
|
+
});
|
|
188
|
+
let y = V(
|
|
189
|
+
/*links*/
|
|
190
|
+
c[2]
|
|
191
|
+
), d = [];
|
|
192
|
+
for (let a = 0; a < y.length; a += 1)
|
|
193
|
+
d[a] = ie(oe(c, y, a));
|
|
194
|
+
const he = (a) => C(d[a], 1, 1, () => {
|
|
195
|
+
d[a] = null;
|
|
196
|
+
});
|
|
197
|
+
return $ = new B({ props: { icon: xe } }), {
|
|
198
|
+
c() {
|
|
199
|
+
e = h("footer"), w && w.c(), t = m(), l = h("div"), i = h("div"), o = h("a"), o.innerHTML = '<img class="block h-[1.6em] mb-4 ml-[-2px]" src="improve-life.svg" alt="Improve Life"/>', g = m(), b = h("ul");
|
|
200
|
+
for (let a = 0; a < p.length; a += 1)
|
|
201
|
+
p[a].c();
|
|
202
|
+
q = m(), F = h("a"), F.textContent = "Social Media Directory", K = m(), S = h("a"), S.textContent = `© ${(/* @__PURE__ */ new Date()).getFullYear()} University of Guelph`, O = m(), T = h("div"), z = h("ul");
|
|
203
|
+
for (let a = 0; a < d.length; a += 1)
|
|
204
|
+
d[a].c();
|
|
205
|
+
R = m(), x = h("address"), L = h("strong"), L.textContent = "University of Guelph", W = m(), N = h("span"), N.textContent = "50 Stone Road East,", J = m(), j = h("span"), j.textContent = "Guelph, Ontario, Canada", Z = m(), I = h("span"), I.textContent = "N1G 2W1", Q = m(), _ = h("a"), D($.$$.fragment), X = m(), U = h("span"), U.textContent = "519-824-4120", f(o, "href", "https://www.uoguelph.ca/improve-life"), f(o, "aria-label", "Improve Life"), f(o, "class", "flex transition-opacity focus:opacity-75 hover:opacity-75"), f(b, "class", "flex gap-3 text-4xl [&>li]:contents"), f(F, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), f(F, "href", "https://www.uoguelph.ca/web/socialmedia/"), f(S, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), f(S, "href", "https://www.uoguelph.ca/web/"), f(i, "class", "flex flex-col justify-between gap-2"), f(z, "class", "w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&>li]:contents"), f(T, "class", "flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"), f(_, "href", "tel:1-519-824-4120"), f(_, "class", "flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent text-uofg-blue transition-colors focus:border-current hover:border-current"), f(x, "class", "flex flex-col justify-between gap-4 not-italic"), f(l, "class", "flex flex-col content-center gap-8 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-8 text-white md:grid md:grid-cols-2 lg:grid-cols-4");
|
|
206
|
+
},
|
|
207
|
+
m(a, u) {
|
|
208
|
+
H(a, e, u), w && w.m(e, null), n(e, t), n(e, l), n(l, i), n(i, o), n(i, g), n(i, b);
|
|
209
|
+
for (let s = 0; s < p.length; s += 1)
|
|
210
|
+
p[s] && p[s].m(b, null);
|
|
211
|
+
n(i, q), n(i, F), n(i, K), n(i, S), n(l, O), n(l, T), n(T, z);
|
|
212
|
+
for (let s = 0; s < d.length; s += 1)
|
|
213
|
+
d[s] && d[s].m(z, null);
|
|
214
|
+
n(l, R), n(l, x), n(x, L), n(x, W), n(x, N), n(x, J), n(x, j), n(x, Z), n(x, I), n(x, Q), n(x, _), E($, _, null), n(_, X), n(_, U), G = !0;
|
|
215
|
+
},
|
|
216
|
+
p(a, [u]) {
|
|
217
|
+
if (u & /*subFooter*/
|
|
218
|
+
1 && (r = Array.isArray(
|
|
219
|
+
/*subFooter*/
|
|
220
|
+
a[0]
|
|
221
|
+
)), r ? w ? w.p(a, u) : (w = le(a), w.c(), w.m(e, t)) : w && (w.d(1), w = null), u & /*socials*/
|
|
222
|
+
2) {
|
|
223
|
+
k = V(
|
|
224
|
+
/*socials*/
|
|
225
|
+
a[1]
|
|
226
|
+
);
|
|
227
|
+
let s;
|
|
228
|
+
for (s = 0; s < k.length; s += 1) {
|
|
229
|
+
const M = ae(a, k, s);
|
|
230
|
+
p[s] ? (p[s].p(M, u), v(p[s], 1)) : (p[s] = ce(M), p[s].c(), v(p[s], 1), p[s].m(b, null));
|
|
231
|
+
}
|
|
232
|
+
for (te(), s = k.length; s < p.length; s += 1)
|
|
233
|
+
ue(s);
|
|
234
|
+
ee();
|
|
235
|
+
}
|
|
236
|
+
if (u & /*links*/
|
|
237
|
+
4) {
|
|
238
|
+
y = V(
|
|
239
|
+
/*links*/
|
|
240
|
+
a[2]
|
|
241
|
+
);
|
|
242
|
+
let s;
|
|
243
|
+
for (s = 0; s < y.length; s += 1) {
|
|
244
|
+
const M = oe(a, y, s);
|
|
245
|
+
d[s] ? (d[s].p(M, u), v(d[s], 1)) : (d[s] = ie(M), d[s].c(), v(d[s], 1), d[s].m(z, null));
|
|
246
|
+
}
|
|
247
|
+
for (te(), s = y.length; s < d.length; s += 1)
|
|
248
|
+
he(s);
|
|
249
|
+
ee();
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
i(a) {
|
|
253
|
+
if (!G) {
|
|
254
|
+
for (let u = 0; u < k.length; u += 1)
|
|
255
|
+
v(p[u]);
|
|
256
|
+
for (let u = 0; u < y.length; u += 1)
|
|
257
|
+
v(d[u]);
|
|
258
|
+
v($.$$.fragment, a), G = !0;
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
o(a) {
|
|
262
|
+
p = p.filter(Boolean);
|
|
263
|
+
for (let u = 0; u < p.length; u += 1)
|
|
264
|
+
C(p[u]);
|
|
265
|
+
d = d.filter(Boolean);
|
|
266
|
+
for (let u = 0; u < d.length; u += 1)
|
|
267
|
+
C(d[u]);
|
|
268
|
+
C($.$$.fragment, a), G = !1;
|
|
269
|
+
},
|
|
270
|
+
d(a) {
|
|
271
|
+
a && A(e), w && w.d(), P(p, a), P(d, a), Y($);
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function Ie(c, e, r) {
|
|
276
|
+
const t = [
|
|
277
|
+
{
|
|
278
|
+
text: "Twitter",
|
|
279
|
+
icon: He,
|
|
280
|
+
href: "https://twitter.com/uofg",
|
|
281
|
+
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
text: "Facebook",
|
|
285
|
+
icon: Te,
|
|
286
|
+
href: "https://www.facebook.com/uofguelph",
|
|
287
|
+
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
text: "Instagram",
|
|
291
|
+
icon: Le,
|
|
292
|
+
href: "https://www.instagram.com/uofguelph/",
|
|
293
|
+
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
text: "Youtube",
|
|
297
|
+
icon: Ne,
|
|
298
|
+
href: "https://www.youtube.com/user/uofguelph",
|
|
299
|
+
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
text: "LinkedIn",
|
|
303
|
+
icon: Ge,
|
|
304
|
+
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
305
|
+
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
text: "TikTok",
|
|
309
|
+
icon: Ae,
|
|
310
|
+
href: "https://www.tiktok.com/@uofguelph",
|
|
311
|
+
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
312
|
+
}
|
|
313
|
+
], l = [
|
|
314
|
+
{
|
|
315
|
+
text: "Accessibility",
|
|
316
|
+
icon: ke,
|
|
317
|
+
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
text: "Privacy",
|
|
321
|
+
icon: ye,
|
|
322
|
+
href: "https://www.uoguelph.ca/web/privacy/"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
text: "Site Map",
|
|
326
|
+
icon: Ce,
|
|
327
|
+
href: "https://www.uoguelph.ca/sitemap"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
text: "Status Page",
|
|
331
|
+
icon: $e,
|
|
332
|
+
href: "https://uoguelph.statuspage.io/"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
text: "Land Acknowledgement",
|
|
336
|
+
icon: Ve,
|
|
337
|
+
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
338
|
+
title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
text: "Careers",
|
|
342
|
+
icon: Fe,
|
|
343
|
+
href: "https://www.uoguelph.ca/hr/careers-guelph/current-opportunities"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
text: "Undergraduate Calendar",
|
|
347
|
+
icon: re,
|
|
348
|
+
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
text: "Graduate Calendar",
|
|
352
|
+
icon: re,
|
|
353
|
+
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
text: "Program Plans",
|
|
357
|
+
icon: Se,
|
|
358
|
+
href: "https://admission.uoguelph.ca/programs"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
text: "Give to U of G",
|
|
362
|
+
icon: ze,
|
|
363
|
+
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
364
|
+
}
|
|
365
|
+
];
|
|
366
|
+
let { subFooter: i } = e;
|
|
367
|
+
return c.$$set = (o) => {
|
|
368
|
+
"subFooter" in o && r(0, i = o.subFooter);
|
|
369
|
+
}, [i, t, l];
|
|
370
|
+
}
|
|
371
|
+
class Ue extends de {
|
|
372
|
+
constructor(e) {
|
|
373
|
+
super(), ge(this, e, Ie, je, we, { subFooter: 0 });
|
|
374
|
+
}
|
|
375
|
+
get subFooter() {
|
|
376
|
+
return this.$$.ctx[0];
|
|
377
|
+
}
|
|
378
|
+
set subFooter(e) {
|
|
379
|
+
this.$$set({ subFooter: e }), be();
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
customElements.define("uofg-footer", pe(Ue, { subFooter: {} }, [], [], !0, (c) => class extends c {
|
|
383
|
+
constructor() {
|
|
384
|
+
super(), me(this.shadowRoot);
|
|
385
|
+
}
|
|
386
|
+
connectedCallback() {
|
|
387
|
+
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
388
|
+
this.updateSubFooter();
|
|
389
|
+
})), this.observer.observe(this, { childList: !0, subtree: !0 });
|
|
390
|
+
}
|
|
391
|
+
disconnectedCallback() {
|
|
392
|
+
super.disconnectedCallback(), this.observer.disconnect();
|
|
393
|
+
}
|
|
394
|
+
updateSubFooter() {
|
|
395
|
+
this.subFooter = Array.from(this.children).filter((e) => e.tagName === "A").map((e) => ({
|
|
396
|
+
text: e.textContent,
|
|
397
|
+
href: e.getAttribute("href")
|
|
398
|
+
}));
|
|
399
|
+
}
|
|
400
|
+
}));
|
|
401
|
+
export {
|
|
402
|
+
Ue as default
|
|
403
|
+
};
|