@phila/phila-ui-app-header 0.3.0-beta.5 → 0.3.0-beta.7
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/AppHeader.vue.d.ts +1 -3
- package/dist/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/NavBar/index.vue.d.ts +1 -1
- package/dist/components/NavBar/index.vue.d.ts.map +1 -1
- package/dist/components/TrustedSite.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +273 -629
- package/package.json +6 -6
- package/dist/components/NavBar/NavbarInfo.vue.d.ts +0 -19
- package/dist/components/NavBar/NavbarInfo.vue.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,223 +1,219 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { FontAwesomeIcon as
|
|
3
|
-
import { useCollapse as
|
|
4
|
-
import { CollapsePanel as
|
|
5
|
-
import { Logo as
|
|
6
|
-
import './index.css';var
|
|
1
|
+
import { defineComponent as k, useSlots as H, computed as M, createElementBlock as c, openBlock as s, Fragment as y, createElementVNode as a, createCommentVNode as h, unref as t, createTextVNode as C, createVNode as b, renderSlot as f, createBlock as u, withCtx as m, resolveDynamicComponent as _, normalizeClass as $, renderList as A, toDisplayString as x, withKeys as O, mergeProps as z, useTemplateRef as j, ref as N, watch as D, onMounted as V, onUnmounted as Q, normalizeStyle as K, createSlots as S } from "vue";
|
|
2
|
+
import { FontAwesomeIcon as p } from "@fortawesome/vue-fontawesome";
|
|
3
|
+
import { useCollapse as T, debounce as F, Icon as R } from "@phila/phila-ui-core";
|
|
4
|
+
import { CollapsePanel as w } from "@phila/phila-ui-collapse-panel";
|
|
5
|
+
import { Logo as q } from "@phila/phila-ui-logo";
|
|
6
|
+
import './index.css';var W = {
|
|
7
7
|
prefix: "fas",
|
|
8
8
|
iconName: "magnifying-glass",
|
|
9
9
|
icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
|
|
10
|
-
},
|
|
10
|
+
}, X = W, Y = {
|
|
11
11
|
prefix: "fas",
|
|
12
12
|
iconName: "circle-exclamation",
|
|
13
13
|
icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]
|
|
14
|
-
},
|
|
14
|
+
}, E = {
|
|
15
15
|
prefix: "fas",
|
|
16
16
|
iconName: "xmark",
|
|
17
17
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
|
|
18
|
-
},
|
|
18
|
+
}, Z = E, I = E, J = {
|
|
19
19
|
prefix: "fas",
|
|
20
20
|
iconName: "lock",
|
|
21
21
|
icon: [384, 512, [128274], "f023", "M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]
|
|
22
|
-
},
|
|
22
|
+
}, U = {
|
|
23
23
|
prefix: "fas",
|
|
24
24
|
iconName: "caret-up",
|
|
25
25
|
icon: [320, 512, [], "f0d8", "M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z"]
|
|
26
|
-
},
|
|
26
|
+
}, G = {
|
|
27
27
|
prefix: "fas",
|
|
28
28
|
iconName: "caret-down",
|
|
29
29
|
icon: [320, 512, [], "f0d7", "M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"]
|
|
30
|
-
},
|
|
30
|
+
}, P = {
|
|
31
31
|
prefix: "fas",
|
|
32
32
|
iconName: "building-columns",
|
|
33
33
|
icon: [512, 512, ["bank", "institution", "museum", "university"], "f19c", "M271.9 20.2c-9.8-5.6-21.9-5.6-31.8 0l-224 128c-12.6 7.2-18.8 22-15.1 36S17.5 208 32 208l32 0 0 208 0 0-51.2 38.4C4.7 460.4 0 469.9 0 480 0 497.7 14.3 512 32 512l448 0c17.7 0 32-14.3 32-32 0-10.1-4.7-19.6-12.8-25.6l-51.2-38.4 0-208 32 0c14.5 0 27.2-9.8 30.9-23.8s-2.5-28.8-15.1-36l-224-128zM400 208l0 208-64 0 0-208 64 0zm-112 0l0 208-64 0 0-208 64 0zm-112 0l0 208-64 0 0-208 64 0zM256 96a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
|
|
34
|
-
},
|
|
34
|
+
}, ee = {
|
|
35
35
|
prefix: "fas",
|
|
36
36
|
iconName: "bars",
|
|
37
37
|
icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
|
|
38
|
-
},
|
|
38
|
+
}, ae = {
|
|
39
39
|
prefix: "fas",
|
|
40
40
|
iconName: "circle-info",
|
|
41
41
|
icon: [512, 512, ["info-circle"], "f05a", "M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
|
|
42
|
-
},
|
|
43
|
-
const
|
|
42
|
+
}, ne = ae;
|
|
43
|
+
const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%200%2016%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='16'%20height='11'%20fill='url(%23pattern0_61022_1867)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_61022_1867'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_61022_1867'%20transform='scale(0.0625%200.0909091)'/%3e%3c/pattern%3e%3cimage%20id='image0_61022_1867'%20width='16'%20height='11'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAMAAABBPP0LAAAAG1BMVEUdM7EeNLIeM7HgQCDaPh/bPh/bPx/////bPyBEby41AAAAUElEQVQI123MNw4CABDEwD3jC/9/MQ1BQrgeOSkIqYe2o2FZtthXgQLgbHVMZdlsfUQFQnHtjP1+8BUhBDKOqtmfot6ojqPzR7TjdU+f6vkED+IDPhTBcMAAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", ie = {
|
|
44
44
|
id: "trusted-site",
|
|
45
|
-
class: "
|
|
46
|
-
},
|
|
45
|
+
class: "is-flex is-justify-space-between"
|
|
46
|
+
}, se = { class: "trusted-wrap" }, oe = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, le = ["src"], re = ["aria-label", "aria-expanded"], ce = {
|
|
47
47
|
class: "icon",
|
|
48
48
|
"aria-hidden": "true"
|
|
49
|
-
},
|
|
49
|
+
}, de = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, ue = ["aria-label", "aria-expanded"], ve = {
|
|
50
50
|
class: "icon",
|
|
51
51
|
"aria-hidden": "true"
|
|
52
|
-
},
|
|
52
|
+
}, fe = {
|
|
53
53
|
key: 0,
|
|
54
54
|
class: "trusted-translation is-flex is-align-center"
|
|
55
|
-
},
|
|
55
|
+
}, he = ["hidden"], be = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, me = { class: "info-item-wrap is-flex" }, pe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, ke = { class: "trusted-icon is-flex is-flex-column has-text-center" }, ge = { class: "icon circle-icon p-3 mb-2" }, xe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, ye = { class: "trusted-icon is-flex is-flex-column has-text-center" }, _e = { class: "icon circle-icon p-3 mb-2" }, $e = { class: "info-content-close mt-4" }, Ce = /* @__PURE__ */ k({
|
|
56
56
|
__name: "TrustedSite",
|
|
57
|
-
setup(
|
|
58
|
-
const
|
|
57
|
+
setup(e) {
|
|
58
|
+
const l = H(), { isCollapsed: d, onClickToggle: n } = T({
|
|
59
59
|
id: "trusted-site-info",
|
|
60
60
|
escapeKeyClose: !0
|
|
61
|
-
}),
|
|
62
|
-
return (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
src:
|
|
61
|
+
}), v = M(() => d("trusted-site-info"));
|
|
62
|
+
return (r, o) => (s(), c(y, null, [
|
|
63
|
+
a("div", ie, [
|
|
64
|
+
a("div", se, [
|
|
65
|
+
a("div", oe, [
|
|
66
|
+
a("img", {
|
|
67
|
+
src: t(te),
|
|
68
68
|
alt: "",
|
|
69
69
|
class: "icon"
|
|
70
|
-
}, null, 8,
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
}, null, 8, le),
|
|
71
|
+
o[4] || (o[4] = a("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
|
|
72
|
+
a("button", {
|
|
73
73
|
class: "phila-button is-extra-small",
|
|
74
|
-
"aria-label": `${
|
|
74
|
+
"aria-label": `${v.value ? "Close" : "Open"} Trusted Site information panel`,
|
|
75
75
|
"aria-controls": "trusted-site-info",
|
|
76
|
-
"aria-expanded":
|
|
77
|
-
onClick:
|
|
78
|
-
(...
|
|
76
|
+
"aria-expanded": v.value,
|
|
77
|
+
onClick: o[0] || (o[0] = //@ts-ignore
|
|
78
|
+
(...i) => t(n) && t(n)(...i))
|
|
79
79
|
}, [
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
icon:
|
|
80
|
+
o[3] || (o[3] = C(" Here's how you know ", -1)),
|
|
81
|
+
a("span", ce, [
|
|
82
|
+
b(t(p), {
|
|
83
|
+
icon: v.value ? t(U) : t(G)
|
|
84
84
|
}, null, 8, ["icon"])
|
|
85
85
|
])
|
|
86
|
-
], 8,
|
|
86
|
+
], 8, re)
|
|
87
87
|
]),
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
a("div", de, [
|
|
89
|
+
a("button", {
|
|
90
90
|
class: "phila-button is-extra-small",
|
|
91
|
-
"aria-label": `${
|
|
91
|
+
"aria-label": `${v.value ? "Close" : "Open"} Trusted Site information panel`,
|
|
92
92
|
"aria-controls": "trusted-site-info",
|
|
93
|
-
"aria-expanded":
|
|
94
|
-
onClick:
|
|
95
|
-
(...
|
|
93
|
+
"aria-expanded": v.value,
|
|
94
|
+
onClick: o[1] || (o[1] = //@ts-ignore
|
|
95
|
+
(...i) => t(n) && t(n)(...i))
|
|
96
96
|
}, [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
o[5] || (o[5] = C(" An official website ", -1)),
|
|
98
|
+
a("span", ve, [
|
|
99
|
+
b(t(p), { icon: t(ne) }, null, 8, ["icon"])
|
|
100
100
|
])
|
|
101
|
-
], 8,
|
|
101
|
+
], 8, ue)
|
|
102
102
|
])
|
|
103
103
|
]),
|
|
104
|
-
|
|
105
|
-
f(
|
|
106
|
-
])) :
|
|
104
|
+
t(l).translation ? (s(), c("div", fe, [
|
|
105
|
+
f(r.$slots, "translation", {}, void 0, !0)
|
|
106
|
+
])) : h("", !0)
|
|
107
107
|
]),
|
|
108
|
-
|
|
108
|
+
a("div", {
|
|
109
109
|
id: "trusted-site-info",
|
|
110
|
-
class: "
|
|
111
|
-
hidden: !
|
|
110
|
+
class: "px-6",
|
|
111
|
+
hidden: !v.value
|
|
112
112
|
}, [
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
a("div", be, [
|
|
114
|
+
a("div", me, [
|
|
115
|
+
a("div", pe, [
|
|
116
|
+
a("div", ke, [
|
|
117
|
+
a("span", ge, [
|
|
118
|
+
b(t(p), { icon: t(P) }, null, 8, ["icon"])
|
|
119
119
|
]),
|
|
120
|
-
|
|
120
|
+
o[6] || (o[6] = a("span", { class: "has-text-bold" }, ".gov", -1))
|
|
121
121
|
]),
|
|
122
|
-
|
|
123
|
-
_(" The "),
|
|
124
|
-
s("strong", null, "https://"),
|
|
125
|
-
_(" in the address bar means your information is encrypted and can not be accessed by anyone else ")
|
|
126
|
-
], -1))
|
|
122
|
+
o[7] || (o[7] = a("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
|
|
127
123
|
]),
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
124
|
+
a("div", xe, [
|
|
125
|
+
a("div", ye, [
|
|
126
|
+
a("div", _e, [
|
|
127
|
+
b(t(p), { icon: t(J) }, null, 8, ["icon"])
|
|
132
128
|
]),
|
|
133
|
-
|
|
129
|
+
o[8] || (o[8] = a("span", { class: "has-text-bold" }, "https://", -1))
|
|
134
130
|
]),
|
|
135
|
-
|
|
131
|
+
o[9] || (o[9] = a("div", { class: "trusted-text m-4" }, " The https:// in the address bar means your information is encrypted and can not be accessed by anyone else ", -1))
|
|
136
132
|
])
|
|
137
133
|
]),
|
|
138
|
-
|
|
139
|
-
|
|
134
|
+
a("div", $e, [
|
|
135
|
+
a("button", {
|
|
140
136
|
class: "phila-button phila-button--primary icon-button is-extra-small",
|
|
141
137
|
"aria-label": "Close Trusted Site information panel",
|
|
142
|
-
onClick:
|
|
143
|
-
(...
|
|
138
|
+
onClick: o[2] || (o[2] = //@ts-ignore
|
|
139
|
+
(...i) => t(n) && t(n)(...i))
|
|
144
140
|
}, [
|
|
145
|
-
|
|
141
|
+
b(t(p), { icon: t(Z) }, null, 8, ["icon"])
|
|
146
142
|
])
|
|
147
143
|
])
|
|
148
144
|
])
|
|
149
|
-
], 8,
|
|
145
|
+
], 8, he)
|
|
150
146
|
], 64));
|
|
151
147
|
}
|
|
152
|
-
}),
|
|
153
|
-
const
|
|
154
|
-
for (const [
|
|
155
|
-
|
|
156
|
-
return
|
|
157
|
-
},
|
|
148
|
+
}), B = (e, l) => {
|
|
149
|
+
const d = e.__vccOpts || e;
|
|
150
|
+
for (const [n, v] of l)
|
|
151
|
+
d[n] = v;
|
|
152
|
+
return d;
|
|
153
|
+
}, we = /* @__PURE__ */ B(Ce, [["__scopeId", "data-v-3fc90bb2"]]), Be = ["aria-controls", "aria-expanded", "aria-label", "onClick"], Ae = { class: "icon" }, Ne = ["id", "hidden"], Le = /* @__PURE__ */ k({
|
|
158
154
|
__name: "NavbarBurger",
|
|
159
155
|
props: {
|
|
160
156
|
mobileNav: {},
|
|
161
157
|
collapseGroup: {}
|
|
162
158
|
},
|
|
163
|
-
setup(
|
|
164
|
-
return (
|
|
159
|
+
setup(e) {
|
|
160
|
+
return (l, d) => (s(), u(t(w), {
|
|
165
161
|
id: "mobile-nav",
|
|
166
|
-
group:
|
|
162
|
+
group: e.collapseGroup,
|
|
167
163
|
"outside-click-close": "",
|
|
168
164
|
"escape-key-close": "",
|
|
169
165
|
"blur-close": "",
|
|
170
166
|
"open-single": ""
|
|
171
167
|
}, {
|
|
172
|
-
toggle:
|
|
173
|
-
|
|
174
|
-
class:
|
|
175
|
-
"aria-controls":
|
|
176
|
-
"aria-expanded":
|
|
177
|
-
"aria-label": `${
|
|
178
|
-
onClick:
|
|
168
|
+
toggle: m((n) => [
|
|
169
|
+
a("button", {
|
|
170
|
+
class: $(["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": n.open }]),
|
|
171
|
+
"aria-controls": n.ariaControls,
|
|
172
|
+
"aria-expanded": n.open,
|
|
173
|
+
"aria-label": `${n.open ? "Close" : "Open"} mobile navigation panel`,
|
|
174
|
+
onClick: n.onClick
|
|
179
175
|
}, [
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
icon:
|
|
176
|
+
a("span", Ae, [
|
|
177
|
+
b(t(p), {
|
|
178
|
+
icon: n.open ? t(I) : t(ee)
|
|
183
179
|
}, null, 8, ["icon"])
|
|
184
180
|
])
|
|
185
|
-
], 10,
|
|
181
|
+
], 10, Be)
|
|
186
182
|
]),
|
|
187
|
-
default:
|
|
188
|
-
|
|
189
|
-
id:
|
|
183
|
+
default: m((n) => [
|
|
184
|
+
a("div", {
|
|
185
|
+
id: n.id,
|
|
190
186
|
class: "phila-mobile-nav",
|
|
191
|
-
hidden: !
|
|
187
|
+
hidden: !n.open
|
|
192
188
|
}, [
|
|
193
|
-
f(
|
|
194
|
-
(
|
|
189
|
+
f(l.$slots, "mobile-nav", {}, () => [
|
|
190
|
+
(s(), u(_(e.mobileNav)))
|
|
195
191
|
])
|
|
196
|
-
], 8,
|
|
192
|
+
], 8, Ne)
|
|
197
193
|
]),
|
|
198
194
|
_: 3
|
|
199
195
|
}, 8, ["group"]));
|
|
200
196
|
}
|
|
201
|
-
}),
|
|
197
|
+
}), Me = ["href"], ze = ["href", "aria-controls", "aria-expanded", "onKeypress", "onTouchend", "onClick"], Se = ["id", "hidden"], Te = {
|
|
202
198
|
key: 0,
|
|
203
199
|
class: "content nav-flyout has-background-ghost-gray px-6 py-4",
|
|
204
200
|
tabindex: "-1"
|
|
205
|
-
},
|
|
201
|
+
}, Ee = {
|
|
206
202
|
class: "is-flex is-flex-column is-flex-wrap-wrap",
|
|
207
203
|
style: { gap: "var(--spacing-4xl)" }
|
|
208
|
-
},
|
|
204
|
+
}, Ie = ["href"], Ue = /* @__PURE__ */ k({
|
|
209
205
|
__name: "NavbarLinks",
|
|
210
206
|
props: {
|
|
211
207
|
links: {},
|
|
212
208
|
collapseGroup: {}
|
|
213
209
|
},
|
|
214
|
-
setup(
|
|
215
|
-
const
|
|
216
|
-
return (
|
|
217
|
-
|
|
218
|
-
id: r
|
|
219
|
-
key: `collapse-${
|
|
220
|
-
group:
|
|
210
|
+
setup(e) {
|
|
211
|
+
const l = (n) => !!(n.subLinks || n.subNav), d = (n) => `main-nav-${n.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`;
|
|
212
|
+
return (n, v) => (s(!0), c(y, null, A(e.links, (r, o) => (s(), c(y, null, [
|
|
213
|
+
l(r) ? (s(), u(t(w), {
|
|
214
|
+
id: d(r),
|
|
215
|
+
key: `collapse-${o}`,
|
|
216
|
+
group: e.collapseGroup,
|
|
221
217
|
"outside-click-close": "",
|
|
222
218
|
"escape-key-close": "",
|
|
223
219
|
"blur-close": "",
|
|
@@ -225,61 +221,61 @@ const Ne = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
|
|
|
225
221
|
"open-single": "",
|
|
226
222
|
class: "phila-navbar-link-list-item"
|
|
227
223
|
}, {
|
|
228
|
-
toggle:
|
|
229
|
-
|
|
230
|
-
href:
|
|
231
|
-
class:
|
|
232
|
-
"aria-controls":
|
|
233
|
-
"aria-expanded":
|
|
224
|
+
toggle: m((i) => [
|
|
225
|
+
a("a", {
|
|
226
|
+
href: r.href,
|
|
227
|
+
class: $(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": i.open }]),
|
|
228
|
+
"aria-controls": i.ariaControls,
|
|
229
|
+
"aria-expanded": i.open,
|
|
234
230
|
tabindex: "0",
|
|
235
|
-
onKeypress:
|
|
236
|
-
onTouchend:
|
|
237
|
-
onClick:
|
|
231
|
+
onKeypress: O(i.onClick, ["enter"]),
|
|
232
|
+
onTouchend: i.onClick,
|
|
233
|
+
onClick: i.onClick
|
|
238
234
|
}, [
|
|
239
|
-
|
|
240
|
-
|
|
235
|
+
C(x(r.text) + " ", 1),
|
|
236
|
+
b(t(p), {
|
|
241
237
|
class: "ml-1",
|
|
242
|
-
icon:
|
|
238
|
+
icon: i.open ? t(U) : t(G)
|
|
243
239
|
}, null, 8, ["icon"])
|
|
244
|
-
], 42,
|
|
240
|
+
], 42, ze)
|
|
245
241
|
]),
|
|
246
|
-
default:
|
|
247
|
-
(
|
|
248
|
-
id:
|
|
249
|
-
key:
|
|
250
|
-
hidden: !
|
|
242
|
+
default: m((i) => [
|
|
243
|
+
(s(), c("div", {
|
|
244
|
+
id: i.id,
|
|
245
|
+
key: r.text,
|
|
246
|
+
hidden: !i.open
|
|
251
247
|
}, [
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
(
|
|
255
|
-
key:
|
|
248
|
+
r.subLinks ? (s(), c("div", Te, [
|
|
249
|
+
a("ul", Ee, [
|
|
250
|
+
(s(!0), c(y, null, A(r.subLinks, (g) => (s(), c("li", {
|
|
251
|
+
key: g.text,
|
|
256
252
|
class: "sub-nav-link is-flex is-align-center",
|
|
257
253
|
style: { width: "150px" }
|
|
258
254
|
}, [
|
|
259
|
-
|
|
260
|
-
href:
|
|
255
|
+
a("a", {
|
|
256
|
+
href: g.href,
|
|
261
257
|
class: "has-text-link has-text-weight-medium",
|
|
262
258
|
tabindex: "0"
|
|
263
|
-
}, g
|
|
259
|
+
}, x(g.text), 9, Ie)
|
|
264
260
|
]))), 128))
|
|
265
261
|
])
|
|
266
|
-
])) : (
|
|
267
|
-
], 8,
|
|
262
|
+
])) : (s(), u(_(r.subNav), { key: 1 }))
|
|
263
|
+
], 8, Se))
|
|
268
264
|
]),
|
|
269
265
|
_: 2
|
|
270
|
-
}, 1032, ["id", "group"])) : (
|
|
271
|
-
key: `link-${
|
|
266
|
+
}, 1032, ["id", "group"])) : (s(), c("div", {
|
|
267
|
+
key: `link-${o}`,
|
|
272
268
|
class: "phila-navbar-link-list-item"
|
|
273
269
|
}, [
|
|
274
|
-
|
|
275
|
-
href:
|
|
270
|
+
a("a", {
|
|
271
|
+
href: r.href,
|
|
276
272
|
class: "phila-navbar-link px-4",
|
|
277
273
|
tabindex: "0"
|
|
278
|
-
},
|
|
274
|
+
}, x(r.text), 9, Me)
|
|
279
275
|
]))
|
|
280
276
|
], 64))), 256));
|
|
281
277
|
}
|
|
282
|
-
}),
|
|
278
|
+
}), Ge = /* @__PURE__ */ k({
|
|
283
279
|
__name: "NavbarBrandLogo",
|
|
284
280
|
props: {
|
|
285
281
|
logo: {},
|
|
@@ -287,411 +283,72 @@ const Ne = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
|
|
|
287
283
|
href: {},
|
|
288
284
|
altText: {}
|
|
289
285
|
},
|
|
290
|
-
setup(
|
|
291
|
-
const
|
|
286
|
+
setup(e) {
|
|
287
|
+
const l = e, d = M(() => ({
|
|
292
288
|
variant: "city",
|
|
293
289
|
layout: "stacked",
|
|
294
290
|
colorScheme: "on-primary",
|
|
295
|
-
href:
|
|
296
|
-
...
|
|
291
|
+
href: l.href,
|
|
292
|
+
...l.logo
|
|
297
293
|
}));
|
|
298
|
-
return (
|
|
294
|
+
return (n, v) => (s(), u(t(q), z(d.value, { class: "phila-navbar-logo" }), null, 16));
|
|
299
295
|
}
|
|
300
|
-
}),
|
|
296
|
+
}), He = /* @__PURE__ */ B(Ge, [["__scopeId", "data-v-3011c249"]]), Oe = { class: "pr-4" }, je = ["aria-controls", "aria-expanded", "aria-label", "onClick"], De = { class: "icon" }, Ve = ["id", "hidden"], Qe = /* @__PURE__ */ k({
|
|
301
297
|
__name: "NavbarSearch",
|
|
302
298
|
props: {
|
|
303
299
|
search: {},
|
|
304
300
|
collapseGroup: {}
|
|
305
301
|
},
|
|
306
|
-
setup(
|
|
307
|
-
return (
|
|
302
|
+
setup(e) {
|
|
303
|
+
return (l, d) => (s(), u(t(w), {
|
|
308
304
|
id: "navbar-search",
|
|
309
|
-
group:
|
|
305
|
+
group: e.collapseGroup,
|
|
310
306
|
"outside-click-close": "",
|
|
311
307
|
"escape-key-close": "",
|
|
312
308
|
"blur-close": "",
|
|
313
309
|
"open-single": ""
|
|
314
310
|
}, {
|
|
315
|
-
toggle:
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
class:
|
|
319
|
-
"aria-controls":
|
|
320
|
-
"aria-expanded":
|
|
321
|
-
"aria-label": `${
|
|
322
|
-
onClick:
|
|
311
|
+
toggle: m((n) => [
|
|
312
|
+
a("div", Oe, [
|
|
313
|
+
a("button", {
|
|
314
|
+
class: $(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": n.open }]),
|
|
315
|
+
"aria-controls": n.ariaControls,
|
|
316
|
+
"aria-expanded": n.open,
|
|
317
|
+
"aria-label": `${n.open ? "Close" : "Open"} search panel`,
|
|
318
|
+
onClick: n.onClick
|
|
323
319
|
}, [
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
icon:
|
|
320
|
+
a("span", De, [
|
|
321
|
+
b(t(p), {
|
|
322
|
+
icon: n.open ? t(I) : t(X)
|
|
327
323
|
}, null, 8, ["icon"])
|
|
328
324
|
])
|
|
329
|
-
], 10,
|
|
325
|
+
], 10, je)
|
|
330
326
|
])
|
|
331
327
|
]),
|
|
332
|
-
default:
|
|
333
|
-
|
|
334
|
-
id:
|
|
328
|
+
default: m((n) => [
|
|
329
|
+
a("div", {
|
|
330
|
+
id: n.id,
|
|
335
331
|
class: "nav-flyout is-12",
|
|
336
|
-
hidden: !
|
|
332
|
+
hidden: !n.open
|
|
337
333
|
}, [
|
|
338
|
-
f(
|
|
339
|
-
|
|
334
|
+
f(l.$slots, "default", {}, () => [
|
|
335
|
+
e.search && n.open ? (s(), u(_(e.search), { key: 0 })) : h("", !0)
|
|
340
336
|
])
|
|
341
|
-
], 8,
|
|
337
|
+
], 8, Ve)
|
|
342
338
|
]),
|
|
343
339
|
_: 3
|
|
344
340
|
}, 8, ["group"]));
|
|
345
341
|
}
|
|
346
|
-
}),
|
|
347
|
-
inheritAttrs: !1,
|
|
348
|
-
__name: "PhlButton",
|
|
349
|
-
props: {
|
|
350
|
-
href: {},
|
|
351
|
-
to: {},
|
|
352
|
-
target: {},
|
|
353
|
-
rel: {},
|
|
354
|
-
disabled: { type: Boolean, default: !1 },
|
|
355
|
-
clickTarget: {},
|
|
356
|
-
variant: { default: "primary" },
|
|
357
|
-
size: { default: "medium" },
|
|
358
|
-
iconOnly: { type: Boolean, default: !1 },
|
|
359
|
-
iconRight: { type: Boolean },
|
|
360
|
-
text: {},
|
|
361
|
-
className: {},
|
|
362
|
-
iconDefinition: {},
|
|
363
|
-
iconClass: {},
|
|
364
|
-
src: {},
|
|
365
|
-
svgRaw: {}
|
|
366
|
-
},
|
|
367
|
-
setup(t) {
|
|
368
|
-
const e = t, r = (i) => "href" in i && i.href !== void 0 || "to" in i && i.to !== void 0, a = k(() => E(
|
|
369
|
-
"phila-button",
|
|
370
|
-
`phila-button--${e.variant}`,
|
|
371
|
-
e.size && `is-${e.size}`,
|
|
372
|
-
e.iconOnly && "icon-button",
|
|
373
|
-
e.iconOnly && e.variant === "standard" && "icon-button--standard",
|
|
374
|
-
e.className
|
|
375
|
-
)), c = k(() => r(e) ? "to" in e && e.to !== void 0 ? {
|
|
376
|
-
to: e.to,
|
|
377
|
-
disabled: e.disabled,
|
|
378
|
-
className: a.value
|
|
379
|
-
} : {
|
|
380
|
-
href: e.href,
|
|
381
|
-
target: e.target,
|
|
382
|
-
rel: e.rel,
|
|
383
|
-
disabled: e.disabled,
|
|
384
|
-
className: a.value
|
|
385
|
-
} : {}), d = k(
|
|
386
|
-
() => ({
|
|
387
|
-
iconDefinition: e.iconDefinition,
|
|
388
|
-
iconClass: e.iconClass,
|
|
389
|
-
src: e.src,
|
|
390
|
-
iconRight: e.iconRight,
|
|
391
|
-
iconOnly: e.iconOnly,
|
|
392
|
-
text: e.text,
|
|
393
|
-
size: e.size
|
|
394
|
-
})
|
|
395
|
-
);
|
|
396
|
-
return (i, l) => r(e) ? (o(), m(n(Z), C({ key: 0 }, { ...c.value, ...i.$attrs }, { role: "button" }), {
|
|
397
|
-
default: v(() => [
|
|
398
|
-
p(n(T), A(L(d.value)), {
|
|
399
|
-
default: v(() => [
|
|
400
|
-
f(i.$slots, "default", {}, () => [
|
|
401
|
-
_(g(e.text), 1)
|
|
402
|
-
])
|
|
403
|
-
]),
|
|
404
|
-
_: 3
|
|
405
|
-
}, 16)
|
|
406
|
-
]),
|
|
407
|
-
_: 3
|
|
408
|
-
}, 16)) : (o(), u("button", C({
|
|
409
|
-
key: 1,
|
|
410
|
-
type: "button",
|
|
411
|
-
disabled: e.disabled,
|
|
412
|
-
class: a.value
|
|
413
|
-
}, i.$attrs), [
|
|
414
|
-
p(n(T), A(L(d.value)), {
|
|
415
|
-
default: v(() => [
|
|
416
|
-
f(i.$slots, "default", {}, () => [
|
|
417
|
-
_(g(e.text), 1)
|
|
418
|
-
])
|
|
419
|
-
]),
|
|
420
|
-
_: 3
|
|
421
|
-
}, 16)
|
|
422
|
-
], 16, mt));
|
|
423
|
-
}
|
|
424
|
-
});
|
|
425
|
-
var V = {
|
|
426
|
-
prefix: "fas",
|
|
427
|
-
iconName: "xmark",
|
|
428
|
-
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
|
|
429
|
-
};
|
|
430
|
-
const bt = ["id"], pt = {
|
|
431
|
-
key: 0,
|
|
432
|
-
class: "tooltip__tail",
|
|
433
|
-
"aria-hidden": "true"
|
|
434
|
-
}, ht = {
|
|
435
|
-
key: 1,
|
|
436
|
-
class: "tooltip__plain-row has-text-body-small"
|
|
437
|
-
}, yt = {
|
|
438
|
-
key: 0,
|
|
439
|
-
class: "tooltip__title-row"
|
|
440
|
-
}, gt = { key: 0 }, kt = /* @__PURE__ */ h({
|
|
441
|
-
__name: "TooltipBubble",
|
|
442
|
-
props: {
|
|
443
|
-
id: {},
|
|
444
|
-
type: { default: "plain" },
|
|
445
|
-
color: { default: "default" },
|
|
446
|
-
tail: { type: Boolean, default: !1 },
|
|
447
|
-
placement: { default: "top-center" },
|
|
448
|
-
title: {},
|
|
449
|
-
dismissable: { type: Boolean, default: !1 },
|
|
450
|
-
className: {}
|
|
451
|
-
},
|
|
452
|
-
emits: ["dismiss"],
|
|
453
|
-
setup(t) {
|
|
454
|
-
const e = t, r = k(
|
|
455
|
-
() => E(
|
|
456
|
-
"tooltip",
|
|
457
|
-
"content",
|
|
458
|
-
"resets-link-colors",
|
|
459
|
-
`tooltip--${e.type}`,
|
|
460
|
-
`tooltip--${e.color}`,
|
|
461
|
-
e.tail && `tooltip--${e.placement}`,
|
|
462
|
-
e.className
|
|
463
|
-
)
|
|
464
|
-
);
|
|
465
|
-
return (a, c) => (o(), u("div", {
|
|
466
|
-
id: t.id,
|
|
467
|
-
class: z(r.value),
|
|
468
|
-
role: "tooltip"
|
|
469
|
-
}, [
|
|
470
|
-
t.tail ? (o(), u("div", pt)) : b("", !0),
|
|
471
|
-
t.type === "plain" ? (o(), u("div", ht, [
|
|
472
|
-
f(a.$slots, "default", {}, void 0, !0),
|
|
473
|
-
t.dismissable ? (o(), m(n(F), {
|
|
474
|
-
key: 0,
|
|
475
|
-
class: "tooltip__dismiss",
|
|
476
|
-
variant: "standard",
|
|
477
|
-
size: "extra-small",
|
|
478
|
-
"icon-only": !0,
|
|
479
|
-
"icon-definition": n(V),
|
|
480
|
-
"aria-label": "Dismiss tooltip",
|
|
481
|
-
onClick: c[0] || (c[0] = (d) => a.$emit("dismiss"))
|
|
482
|
-
}, null, 8, ["icon-definition"])) : b("", !0)
|
|
483
|
-
])) : (o(), u(N, { key: 2 }, [
|
|
484
|
-
t.title || t.dismissable ? (o(), u("div", yt, [
|
|
485
|
-
t.title ? (o(), u("h6", gt, g(t.title), 1)) : b("", !0),
|
|
486
|
-
t.dismissable ? (o(), m(n(F), {
|
|
487
|
-
key: 1,
|
|
488
|
-
class: "tooltip__dismiss",
|
|
489
|
-
variant: "standard",
|
|
490
|
-
size: "extra-small",
|
|
491
|
-
"icon-only": !0,
|
|
492
|
-
"icon-definition": n(V),
|
|
493
|
-
"aria-label": "Dismiss tooltip",
|
|
494
|
-
onClick: c[1] || (c[1] = (d) => a.$emit("dismiss"))
|
|
495
|
-
}, null, 8, ["icon-definition"])) : b("", !0)
|
|
496
|
-
])) : b("", !0),
|
|
497
|
-
f(a.$slots, "default", {}, void 0, !0)
|
|
498
|
-
], 64))
|
|
499
|
-
], 10, bt));
|
|
500
|
-
}
|
|
501
|
-
}), ae = (t, e) => {
|
|
502
|
-
const r = t.__vccOpts || t;
|
|
503
|
-
for (const [a, c] of e)
|
|
504
|
-
r[a] = c;
|
|
505
|
-
return r;
|
|
506
|
-
}, xt = /* @__PURE__ */ ae(kt, [["__scopeId", "data-v-0155bbdd"]]), _t = /* @__PURE__ */ h({
|
|
507
|
-
__name: "Tooltip",
|
|
508
|
-
props: {
|
|
509
|
-
trigger: { default: "hover" },
|
|
510
|
-
type: { default: "plain" },
|
|
511
|
-
color: { default: "default" },
|
|
512
|
-
tail: { type: Boolean, default: !1 },
|
|
513
|
-
placement: { default: "auto" },
|
|
514
|
-
title: {},
|
|
515
|
-
dismissable: { type: Boolean },
|
|
516
|
-
className: {}
|
|
517
|
-
},
|
|
518
|
-
setup(t) {
|
|
519
|
-
const e = t, r = ue(), a = B(!1), c = B(null), d = B(null), i = B("top-center"), l = () => {
|
|
520
|
-
const y = c.value?.getBoundingClientRect();
|
|
521
|
-
if (!y) return "top-center";
|
|
522
|
-
const { innerWidth: M, innerHeight: se } = window, H = y.top, oe = se - y.bottom, U = d.value?.firstElementChild?.getBoundingClientRect().height ?? 0, le = (U > 0 ? H >= U : H >= oe) ? "top" : "bottom", G = y.left + y.width / 2, re = G < M / 3 ? "left" : G > M * 2 / 3 ? "right" : "center";
|
|
523
|
-
return `${le}-${re}`;
|
|
524
|
-
}, x = (y) => {
|
|
525
|
-
y.key === "Escape" && w();
|
|
526
|
-
}, R = (y) => {
|
|
527
|
-
c.value && !c.value.contains(y.target) && w();
|
|
528
|
-
}, O = () => {
|
|
529
|
-
e.placement === "auto" ? i.value = l() : i.value = e.placement, a.value = !0, document.addEventListener("keydown", x), e.trigger === "click" && document.addEventListener("click", R);
|
|
530
|
-
}, w = () => {
|
|
531
|
-
a.value = !1, document.removeEventListener("keydown", x), document.removeEventListener("click", R);
|
|
532
|
-
}, ie = () => {
|
|
533
|
-
a.value ? w() : O();
|
|
534
|
-
};
|
|
535
|
-
K(w);
|
|
536
|
-
const ne = k(() => ({
|
|
537
|
-
type: e.type,
|
|
538
|
-
color: e.color,
|
|
539
|
-
tail: e.tail,
|
|
540
|
-
placement: i.value,
|
|
541
|
-
title: e.title,
|
|
542
|
-
dismissable: e.dismissable
|
|
543
|
-
}));
|
|
544
|
-
return (y, M) => (o(), u("span", C(
|
|
545
|
-
{
|
|
546
|
-
ref_key: "wrapperEl",
|
|
547
|
-
ref: c,
|
|
548
|
-
class: n(E)("tooltip-trigger", e.className)
|
|
549
|
-
},
|
|
550
|
-
t.trigger === "click" ? { onClick: ie } : { onMouseenter: O, onMouseleave: w, onFocusin: O, onFocusout: w }
|
|
551
|
-
), [
|
|
552
|
-
f(y.$slots, "default", { tooltipId: n(r) }, void 0, !0),
|
|
553
|
-
s("span", {
|
|
554
|
-
ref_key: "positionerEl",
|
|
555
|
-
ref: d,
|
|
556
|
-
class: z(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${i.value}`]),
|
|
557
|
-
style: W({
|
|
558
|
-
visibility: a.value ? "visible" : "hidden",
|
|
559
|
-
"--positioner-gap": t.tail ? "var(--spacing-l)" : "0.5rem"
|
|
560
|
-
}),
|
|
561
|
-
onClick: M[0] || (M[0] = fe(() => {
|
|
562
|
-
}, ["stop"]))
|
|
563
|
-
}, [
|
|
564
|
-
p(xt, C(ne.value, {
|
|
565
|
-
id: n(r),
|
|
566
|
-
onDismiss: w
|
|
567
|
-
}), {
|
|
568
|
-
default: v(() => [
|
|
569
|
-
f(y.$slots, "body", {}, void 0, !0)
|
|
570
|
-
]),
|
|
571
|
-
_: 3
|
|
572
|
-
}, 16, ["id"])
|
|
573
|
-
], 6)
|
|
574
|
-
], 16));
|
|
575
|
-
}
|
|
576
|
-
}), $t = /* @__PURE__ */ ae(_t, [["__scopeId", "data-v-5dcd06cf"]]), Ct = ["disabled"], wt = /* @__PURE__ */ h({
|
|
577
|
-
inheritAttrs: !1,
|
|
578
|
-
__name: "PhlButton",
|
|
579
|
-
props: {
|
|
580
|
-
href: {},
|
|
581
|
-
to: {},
|
|
582
|
-
target: {},
|
|
583
|
-
rel: {},
|
|
584
|
-
disabled: { type: Boolean, default: !1 },
|
|
585
|
-
clickTarget: {},
|
|
586
|
-
variant: { default: "primary" },
|
|
587
|
-
size: { default: "medium" },
|
|
588
|
-
iconOnly: { type: Boolean, default: !1 },
|
|
589
|
-
iconRight: { type: Boolean },
|
|
590
|
-
text: {},
|
|
591
|
-
className: {},
|
|
592
|
-
iconDefinition: {},
|
|
593
|
-
iconClass: {},
|
|
594
|
-
src: {},
|
|
595
|
-
svgRaw: {}
|
|
596
|
-
},
|
|
597
|
-
setup(t) {
|
|
598
|
-
const e = t, r = (i) => "href" in i && i.href !== void 0 || "to" in i && i.to !== void 0, a = k(() => E(
|
|
599
|
-
"phila-button",
|
|
600
|
-
`phila-button--${e.variant}`,
|
|
601
|
-
e.size && `is-${e.size}`,
|
|
602
|
-
e.iconOnly && "icon-button",
|
|
603
|
-
e.iconOnly && e.variant === "standard" && "icon-button--standard",
|
|
604
|
-
e.className
|
|
605
|
-
)), c = k(() => r(e) ? "to" in e && e.to !== void 0 ? {
|
|
606
|
-
to: e.to,
|
|
607
|
-
disabled: e.disabled,
|
|
608
|
-
className: a.value
|
|
609
|
-
} : {
|
|
610
|
-
href: e.href,
|
|
611
|
-
target: e.target,
|
|
612
|
-
rel: e.rel,
|
|
613
|
-
disabled: e.disabled,
|
|
614
|
-
className: a.value
|
|
615
|
-
} : {}), d = k(
|
|
616
|
-
() => ({
|
|
617
|
-
iconDefinition: e.iconDefinition,
|
|
618
|
-
iconClass: e.iconClass,
|
|
619
|
-
src: e.src,
|
|
620
|
-
iconRight: e.iconRight,
|
|
621
|
-
iconOnly: e.iconOnly,
|
|
622
|
-
text: e.text,
|
|
623
|
-
size: e.size
|
|
624
|
-
})
|
|
625
|
-
);
|
|
626
|
-
return (i, l) => r(e) ? (o(), m(n(Z), C({ key: 0 }, { ...c.value, ...i.$attrs }, { role: "button" }), {
|
|
627
|
-
default: v(() => [
|
|
628
|
-
p(n(T), A(L(d.value)), {
|
|
629
|
-
default: v(() => [
|
|
630
|
-
f(i.$slots, "default", {}, () => [
|
|
631
|
-
_(g(e.text), 1)
|
|
632
|
-
])
|
|
633
|
-
]),
|
|
634
|
-
_: 3
|
|
635
|
-
}, 16)
|
|
636
|
-
]),
|
|
637
|
-
_: 3
|
|
638
|
-
}, 16)) : (o(), u("button", C({
|
|
639
|
-
key: 1,
|
|
640
|
-
type: "button",
|
|
641
|
-
disabled: e.disabled,
|
|
642
|
-
class: a.value
|
|
643
|
-
}, i.$attrs), [
|
|
644
|
-
p(n(T), A(L(d.value)), {
|
|
645
|
-
default: v(() => [
|
|
646
|
-
f(i.$slots, "default", {}, () => [
|
|
647
|
-
_(g(e.text), 1)
|
|
648
|
-
])
|
|
649
|
-
]),
|
|
650
|
-
_: 3
|
|
651
|
-
}, 16)
|
|
652
|
-
], 16, Ct));
|
|
653
|
-
}
|
|
654
|
-
}), Bt = { class: "navbar-info" }, Nt = { class: "has-text-body-small" }, zt = /* @__PURE__ */ h({
|
|
655
|
-
__name: "NavbarInfo",
|
|
656
|
-
props: {
|
|
657
|
-
infoTitle: {},
|
|
658
|
-
infoMessage: {}
|
|
659
|
-
},
|
|
660
|
-
setup(t) {
|
|
661
|
-
return (e, r) => (o(), u("div", Bt, [
|
|
662
|
-
p(n($t), {
|
|
663
|
-
type: "rich",
|
|
664
|
-
title: t.infoTitle,
|
|
665
|
-
trigger: "click",
|
|
666
|
-
dismissable: !0
|
|
667
|
-
}, {
|
|
668
|
-
default: v(({ tooltipId: a }) => [
|
|
669
|
-
p(n(wt), {
|
|
670
|
-
class: "navbar-info__trigger",
|
|
671
|
-
variant: "standard",
|
|
672
|
-
size: "small",
|
|
673
|
-
"icon-only": !0,
|
|
674
|
-
"icon-definition": n(te),
|
|
675
|
-
"aria-label": "More information",
|
|
676
|
-
"aria-describedby": a
|
|
677
|
-
}, null, 8, ["icon-definition", "aria-describedby"])
|
|
678
|
-
]),
|
|
679
|
-
body: v(() => [
|
|
680
|
-
f(e.$slots, "default", {}, () => [
|
|
681
|
-
s("div", Nt, g(t.infoMessage), 1)
|
|
682
|
-
], !0)
|
|
683
|
-
]),
|
|
684
|
-
_: 3
|
|
685
|
-
}, 8, ["title"])
|
|
686
|
-
]));
|
|
687
|
-
}
|
|
688
|
-
}), Mt = /* @__PURE__ */ I(zt, [["__scopeId", "data-v-56b79838"]]), At = { class: "phila-navbar-brand" }, Lt = {
|
|
342
|
+
}), Ke = { class: "phila-navbar-brand" }, Fe = {
|
|
689
343
|
key: 0,
|
|
690
344
|
class: "phila-navbar-item phila-navbar-brand-link hidden-tablet"
|
|
691
|
-
},
|
|
345
|
+
}, Re = {
|
|
692
346
|
key: 0,
|
|
693
347
|
class: "content"
|
|
694
|
-
},
|
|
348
|
+
}, qe = ["href"], We = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, Xe = { class: "phila-navbar-search" }, Ye = {
|
|
349
|
+
key: 0,
|
|
350
|
+
class: "phila-navbar-end"
|
|
351
|
+
}, L = "5rem", Ze = /* @__PURE__ */ k({
|
|
695
352
|
__name: "index",
|
|
696
353
|
props: {
|
|
697
354
|
id: {},
|
|
@@ -700,112 +357,103 @@ const bt = ["id"], pt = {
|
|
|
700
357
|
mobileNav: {},
|
|
701
358
|
collapseGroup: {},
|
|
702
359
|
search: {},
|
|
703
|
-
links: { default: () => [{ text: "Home", href: "#" }] }
|
|
704
|
-
infoTitle: {},
|
|
705
|
-
infoMessage: {}
|
|
360
|
+
links: { default: () => [{ text: "Home", href: "#" }] }
|
|
706
361
|
},
|
|
707
|
-
setup(
|
|
708
|
-
const
|
|
709
|
-
const
|
|
710
|
-
|
|
362
|
+
setup(e) {
|
|
363
|
+
const l = e, { state: d } = T(), n = j("navBarElement"), v = N(L), r = N(0), o = F(() => {
|
|
364
|
+
const i = (n.value?.offsetTop || 0) + (n.value?.offsetHeight || 0), g = typeof window < "u" ? window.innerWidth : 1024;
|
|
365
|
+
v.value = !l.sticky || g < 1024 ? i + "px" : L, r.value = i;
|
|
711
366
|
}, 100);
|
|
712
|
-
return
|
|
713
|
-
window.addEventListener("resize",
|
|
714
|
-
}),
|
|
715
|
-
window.removeEventListener("resize",
|
|
716
|
-
}), (
|
|
367
|
+
return D(() => d.value, o, { deep: !0, immediate: !0 }), V(() => {
|
|
368
|
+
window.addEventListener("resize", o);
|
|
369
|
+
}), Q(() => {
|
|
370
|
+
window.removeEventListener("resize", o);
|
|
371
|
+
}), (i, g) => (s(), c("nav", {
|
|
717
372
|
ref_key: "navBarElement",
|
|
718
|
-
ref:
|
|
719
|
-
class:
|
|
373
|
+
ref: n,
|
|
374
|
+
class: $(["phila-navbar has-links-on-primary", { "is-sticky-desktop": e.sticky }]),
|
|
720
375
|
"aria-label": "Main navigation",
|
|
721
|
-
style:
|
|
376
|
+
style: K(`--nav-height:${v.value};--nav-bottom:${r.value}px`)
|
|
722
377
|
}, [
|
|
723
|
-
f(
|
|
724
|
-
|
|
378
|
+
f(i.$slots, "navbar-burger", {}, () => [
|
|
379
|
+
e.mobileNav || i.$slots["mobile-nav"] ? (s(), u(Le, {
|
|
725
380
|
key: 0,
|
|
726
|
-
"mobile-nav":
|
|
727
|
-
"collapse-group":
|
|
728
|
-
},
|
|
729
|
-
|
|
381
|
+
"mobile-nav": e.mobileNav,
|
|
382
|
+
"collapse-group": e.id
|
|
383
|
+
}, S({ _: 2 }, [
|
|
384
|
+
i.$slots["mobile-nav"] ? {
|
|
730
385
|
name: "mobile-nav",
|
|
731
|
-
fn:
|
|
732
|
-
f(
|
|
386
|
+
fn: m(() => [
|
|
387
|
+
f(i.$slots, "mobile-nav", {}, void 0, !0)
|
|
733
388
|
]),
|
|
734
389
|
key: "0"
|
|
735
390
|
} : void 0
|
|
736
|
-
]), 1032, ["mobile-nav", "collapse-group"])) :
|
|
391
|
+
]), 1032, ["mobile-nav", "collapse-group"])) : h("", !0)
|
|
737
392
|
], !0),
|
|
738
|
-
|
|
739
|
-
f(
|
|
740
|
-
|
|
741
|
-
logo:
|
|
742
|
-
}), null, 16, ["logo"])) :
|
|
393
|
+
a("div", Ke, [
|
|
394
|
+
f(i.$slots, "navbar-logo", {}, () => [
|
|
395
|
+
e.navbarBrand?.brandingImage ? (s(), u(He, z({ key: 0 }, e.navbarBrand.brandingImage, {
|
|
396
|
+
logo: e.navbarBrand?.logo
|
|
397
|
+
}), null, 16, ["logo"])) : h("", !0)
|
|
743
398
|
], !0),
|
|
744
|
-
|
|
745
|
-
f(
|
|
746
|
-
|
|
747
|
-
|
|
399
|
+
i.$slots["navbar-brand-link"] || e.navbarBrand?.brandingLink ? (s(), c("div", Fe, [
|
|
400
|
+
f(i.$slots, "navbar-brand-link", {}, () => [
|
|
401
|
+
e.navbarBrand?.brandingLink ? (s(), c("div", Re, [
|
|
402
|
+
a("a", {
|
|
748
403
|
tabindex: "0",
|
|
749
|
-
href:
|
|
404
|
+
href: e.navbarBrand.brandingLink.href,
|
|
750
405
|
class: "has-text-underline"
|
|
751
|
-
},
|
|
752
|
-
])) :
|
|
406
|
+
}, x(e.navbarBrand.brandingLink.text), 9, qe)
|
|
407
|
+
])) : h("", !0)
|
|
753
408
|
], !0)
|
|
754
|
-
])) :
|
|
755
|
-
t.infoTitle || t.infoMessage || l.$slots["info-body"] ? (o(), m(Mt, {
|
|
756
|
-
key: 1,
|
|
757
|
-
"info-title": t.infoTitle,
|
|
758
|
-
"info-message": t.infoMessage
|
|
759
|
-
}, {
|
|
760
|
-
default: v(() => [
|
|
761
|
-
l.$slots["info-body"] ? f(l.$slots, "info-body", { key: 0 }, void 0, !0) : b("", !0)
|
|
762
|
-
]),
|
|
763
|
-
_: 3
|
|
764
|
-
}, 8, ["info-title", "info-message"])) : b("", !0)
|
|
409
|
+
])) : h("", !0)
|
|
765
410
|
]),
|
|
766
|
-
|
|
767
|
-
f(
|
|
768
|
-
|
|
411
|
+
a("div", We, [
|
|
412
|
+
f(i.$slots, "navbar-links", {}, () => [
|
|
413
|
+
e.links ? (s(), u(Ue, {
|
|
769
414
|
key: 0,
|
|
770
|
-
links:
|
|
771
|
-
"collapse-group":
|
|
772
|
-
}, null, 8, ["links", "collapse-group"])) :
|
|
415
|
+
links: e.links,
|
|
416
|
+
"collapse-group": e.id
|
|
417
|
+
}, null, 8, ["links", "collapse-group"])) : h("", !0)
|
|
773
418
|
], !0)
|
|
774
419
|
]),
|
|
775
|
-
|
|
776
|
-
f(
|
|
777
|
-
|
|
420
|
+
a("div", Xe, [
|
|
421
|
+
f(i.$slots, "navbar-search", {}, () => [
|
|
422
|
+
e.search ? (s(), u(Qe, {
|
|
778
423
|
key: 0,
|
|
779
|
-
search:
|
|
780
|
-
"collapse-group":
|
|
781
|
-
}, null, 8, ["search", "collapse-group"])) :
|
|
424
|
+
search: e.search,
|
|
425
|
+
"collapse-group": e.id
|
|
426
|
+
}, null, 8, ["search", "collapse-group"])) : h("", !0)
|
|
782
427
|
], !0)
|
|
783
|
-
])
|
|
428
|
+
]),
|
|
429
|
+
i.$slots["navbar-end"] ? (s(), c("div", Ye, [
|
|
430
|
+
f(i.$slots, "navbar-end", {}, void 0, !0)
|
|
431
|
+
])) : h("", !0)
|
|
784
432
|
], 6));
|
|
785
433
|
}
|
|
786
|
-
}),
|
|
434
|
+
}), Je = /* @__PURE__ */ B(Ze, [["__scopeId", "data-v-caf52a6d"]]), Pe = { class: "site-wide-alert content" }, ea = { class: "alert-content" }, aa = { class: "content-text" }, na = { class: "title" }, ta = { class: "body" }, ia = /* @__PURE__ */ k({
|
|
787
435
|
__name: "AlertBanner",
|
|
788
436
|
props: {
|
|
789
437
|
bannerTitle: {},
|
|
790
438
|
bannerMessage: {}
|
|
791
439
|
},
|
|
792
|
-
setup(
|
|
793
|
-
const
|
|
794
|
-
return (
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
"icon-definition":
|
|
440
|
+
setup(e) {
|
|
441
|
+
const l = e;
|
|
442
|
+
return (d, n) => (s(), c("div", Pe, [
|
|
443
|
+
a("div", ea, [
|
|
444
|
+
b(t(R), {
|
|
445
|
+
"icon-definition": t(Y),
|
|
798
446
|
size: "small",
|
|
799
447
|
decorative: !0
|
|
800
448
|
}, null, 8, ["icon-definition"]),
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
449
|
+
a("div", aa, [
|
|
450
|
+
a("h6", na, x(l.bannerTitle), 1),
|
|
451
|
+
a("div", ta, x(l.bannerMessage), 1)
|
|
804
452
|
])
|
|
805
453
|
])
|
|
806
454
|
]));
|
|
807
455
|
}
|
|
808
|
-
}),
|
|
456
|
+
}), da = /* @__PURE__ */ k({
|
|
809
457
|
__name: "AppHeader",
|
|
810
458
|
props: {
|
|
811
459
|
showTrustedSite: { type: Boolean, default: !0 },
|
|
@@ -818,54 +466,50 @@ const bt = ["id"], pt = {
|
|
|
818
466
|
collapseGroup: {},
|
|
819
467
|
search: { default: void 0 },
|
|
820
468
|
links: { default: void 0 },
|
|
821
|
-
infoTitle: { default: void 0 },
|
|
822
|
-
infoMessage: { default: void 0 },
|
|
823
469
|
bannerTitle: { default: void 0 },
|
|
824
470
|
bannerMessage: { default: void 0 }
|
|
825
471
|
},
|
|
826
|
-
setup(
|
|
827
|
-
return (
|
|
828
|
-
|
|
829
|
-
translation:
|
|
830
|
-
f(
|
|
831
|
-
|
|
472
|
+
setup(e) {
|
|
473
|
+
return (l, d) => (s(), c(y, null, [
|
|
474
|
+
e.showTrustedSite ? (s(), u(we, { key: 0 }, {
|
|
475
|
+
translation: m(() => [
|
|
476
|
+
f(l.$slots, "translations", {}, () => [
|
|
477
|
+
e.translations ? (s(), u(_(e.translations), { key: 0 })) : h("", !0)
|
|
832
478
|
])
|
|
833
479
|
]),
|
|
834
480
|
_: 3
|
|
835
|
-
})) :
|
|
836
|
-
|
|
837
|
-
id:
|
|
838
|
-
sticky:
|
|
839
|
-
"mobile-nav":
|
|
840
|
-
links:
|
|
841
|
-
"navbar-brand":
|
|
842
|
-
search:
|
|
843
|
-
|
|
844
|
-
"
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
fn: v(() => [
|
|
849
|
-
f(e.$slots, "info-body")
|
|
481
|
+
})) : h("", !0),
|
|
482
|
+
b(Je, {
|
|
483
|
+
id: e.id,
|
|
484
|
+
sticky: e.sticky,
|
|
485
|
+
"mobile-nav": e.mobileNav,
|
|
486
|
+
links: e.links,
|
|
487
|
+
"navbar-brand": e.navbarBrand,
|
|
488
|
+
search: e.search
|
|
489
|
+
}, S({ _: 2 }, [
|
|
490
|
+
l.$slots["mobile-nav"] ? {
|
|
491
|
+
name: "mobile-nav",
|
|
492
|
+
fn: m(() => [
|
|
493
|
+
f(l.$slots, "mobile-nav")
|
|
850
494
|
]),
|
|
851
495
|
key: "0"
|
|
852
496
|
} : void 0,
|
|
853
|
-
|
|
854
|
-
name: "
|
|
855
|
-
fn:
|
|
856
|
-
f(
|
|
497
|
+
l.$slots["navbar-end"] ? {
|
|
498
|
+
name: "navbar-end",
|
|
499
|
+
fn: m(() => [
|
|
500
|
+
f(l.$slots, "navbar-end")
|
|
857
501
|
]),
|
|
858
502
|
key: "1"
|
|
859
503
|
} : void 0
|
|
860
|
-
]), 1032, ["id", "sticky", "mobile-nav", "links", "navbar-brand", "search"
|
|
861
|
-
|
|
504
|
+
]), 1032, ["id", "sticky", "mobile-nav", "links", "navbar-brand", "search"]),
|
|
505
|
+
e.bannerTitle || e.bannerMessage ? (s(), u(ia, {
|
|
862
506
|
key: 1,
|
|
863
|
-
"banner-title":
|
|
864
|
-
"banner-message":
|
|
865
|
-
}, null, 8, ["banner-title", "banner-message"])) :
|
|
507
|
+
"banner-title": e.bannerTitle,
|
|
508
|
+
"banner-message": e.bannerMessage
|
|
509
|
+
}, null, 8, ["banner-title", "banner-message"])) : h("", !0)
|
|
866
510
|
], 64));
|
|
867
511
|
}
|
|
868
512
|
});
|
|
869
513
|
export {
|
|
870
|
-
|
|
514
|
+
da as AppHeader
|
|
871
515
|
};
|