@phila/phila-ui-app-header 0.3.0 → 1.0.0-beta.11
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 +7 -7
- package/dist/AppHeader.vue.d.ts +10 -4
- package/dist/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/NavBar/NavbarBrand.vue.d.ts +20 -0
- package/dist/components/NavBar/NavbarBrand.vue.d.ts.map +1 -0
- package/dist/components/NavBar/NavbarBurger.vue.d.ts.map +1 -1
- package/dist/components/NavBar/NavbarLinks.vue.d.ts +1 -1
- package/dist/components/NavBar/NavbarLinks.vue.d.ts.map +1 -1
- package/dist/components/NavBar/NavbarSearch.vue.d.ts +1 -1
- package/dist/components/NavBar/NavbarSearch.vue.d.ts.map +1 -1
- package/dist/components/NavBar/index.vue.d.ts +4 -6
- package/dist/components/NavBar/index.vue.d.ts.map +1 -1
- package/dist/components/TrustedSite.vue.d.ts +11 -2
- package/dist/components/TrustedSite.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +21 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +530 -492
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { FontAwesomeIcon as
|
|
3
|
-
import {
|
|
4
|
-
import { CollapsePanel as H } from "@phila/phila-ui-collapse-panel";
|
|
1
|
+
import { defineComponent as _, useSlots as me, useTemplateRef as E, computed as B, watch as Y, nextTick as Z, createElementBlock as c, openBlock as n, Fragment as T, createElementVNode as s, normalizeClass as S, createCommentVNode as y, unref as i, mergeProps as M, createTextVNode as A, createVNode as p, renderSlot as v, ref as z, onMounted as he, onUnmounted as J, normalizeStyle as ee, toDisplayString as w, onBeforeMount as ge, renderList as Q, createBlock as k, withModifiers as te, withCtx as h, resolveDynamicComponent as ie, createSlots as K, normalizeProps as I, useId as ye, guardReactiveProps as D } from "vue";
|
|
2
|
+
import { FontAwesomeIcon as L } from "@fortawesome/vue-fontawesome";
|
|
3
|
+
import { useVisibility as H, debounce as _e, Icon as $e, FocusTrap as ae, cn as R, BaseLink as se, ActionContent as P } from "@phila/phila-ui-core";
|
|
5
4
|
import { Logo as xe } from "@phila/phila-ui-logo";
|
|
6
|
-
import './index.css';var
|
|
5
|
+
import './index.css';var ke = {
|
|
7
6
|
prefix: "fas",
|
|
8
7
|
iconName: "magnifying-glass",
|
|
9
8
|
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
|
-
}, we =
|
|
9
|
+
}, we = ke, Be = {
|
|
11
10
|
prefix: "fas",
|
|
12
11
|
iconName: "circle-exclamation",
|
|
13
12
|
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
|
-
},
|
|
13
|
+
}, ne = {
|
|
15
14
|
prefix: "fas",
|
|
16
15
|
iconName: "xmark",
|
|
17
16
|
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
|
-
},
|
|
17
|
+
}, Me = ne, oe = ne, Ce = {
|
|
19
18
|
prefix: "fas",
|
|
20
19
|
iconName: "lock",
|
|
21
20
|
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
|
-
},
|
|
21
|
+
}, le = {
|
|
23
22
|
prefix: "fas",
|
|
24
23
|
iconName: "caret-up",
|
|
25
24
|
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
|
-
},
|
|
25
|
+
}, re = {
|
|
27
26
|
prefix: "fas",
|
|
28
27
|
iconName: "caret-down",
|
|
29
28
|
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
|
-
},
|
|
29
|
+
}, Ne = {
|
|
31
30
|
prefix: "fas",
|
|
32
31
|
iconName: "building-columns",
|
|
33
32
|
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"]
|
|
@@ -35,247 +34,335 @@ import './index.css';var $e = {
|
|
|
35
34
|
prefix: "fas",
|
|
36
35
|
iconName: "bars",
|
|
37
36
|
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
|
-
},
|
|
37
|
+
}, ze = {
|
|
39
38
|
prefix: "fas",
|
|
40
39
|
iconName: "circle-info",
|
|
41
40
|
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
|
|
44
|
-
id: "trusted-site",
|
|
45
|
-
class: "is-flex is-justify-space-between"
|
|
46
|
-
}, Se = { class: "trusted-wrap" }, Ee = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Ie = ["src"], Oe = ["aria-label", "aria-expanded"], De = {
|
|
41
|
+
}, ce = ze;
|
|
42
|
+
const Ae = "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", Te = { class: "trusted-wrap" }, Se = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Ee = ["src"], Ie = ["aria-label", "aria-expanded"], He = {
|
|
47
43
|
class: "icon",
|
|
48
44
|
"aria-hidden": "true"
|
|
49
|
-
},
|
|
45
|
+
}, Oe = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Ge = ["aria-label", "aria-expanded"], De = {
|
|
50
46
|
class: "icon",
|
|
51
47
|
"aria-hidden": "true"
|
|
52
|
-
},
|
|
48
|
+
}, Pe = {
|
|
53
49
|
key: 0,
|
|
54
50
|
class: "trusted-translation is-flex is-align-center"
|
|
55
|
-
},
|
|
51
|
+
}, Re = ["hidden"], Ve = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Ue = { class: "info-item-wrap is-flex" }, je = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Fe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Qe = { class: "icon circle-icon p-3 mb-2" }, Ke = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, We = { class: "trusted-icon is-flex is-flex-column has-text-center" }, qe = { class: "icon circle-icon p-3 mb-2" }, Xe = { class: "info-content-close mt-4" }, Ye = /* @__PURE__ */ _({
|
|
56
52
|
__name: "TrustedSite",
|
|
53
|
+
props: {
|
|
54
|
+
compactMobile: { type: Boolean }
|
|
55
|
+
},
|
|
57
56
|
setup(t) {
|
|
58
|
-
const e =
|
|
57
|
+
const e = me(), { isVisible: a, setVisibility: o, toggleProps: r } = H({
|
|
59
58
|
id: "trusted-site-info",
|
|
60
|
-
|
|
61
|
-
}),
|
|
62
|
-
return (
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
escapeKeyHide: !0
|
|
60
|
+
}), d = E("infoToggle"), l = E("closeInfoToggle"), $ = E("infoToggleMobile"), f = B(() => a());
|
|
61
|
+
return Y(
|
|
62
|
+
() => f.value,
|
|
63
|
+
(g) => {
|
|
64
|
+
g ? Z(() => {
|
|
65
|
+
l.value?.focus();
|
|
66
|
+
}) : (d.value?.focus(), $.value?.focus());
|
|
67
|
+
}
|
|
68
|
+
), (g, b) => (n(), c(T, null, [
|
|
69
|
+
s("div", {
|
|
70
|
+
id: "trusted-site",
|
|
71
|
+
class: S(["is-flex is-justify-space-between", { "is-compact-mobile": t.compactMobile }])
|
|
72
|
+
}, [
|
|
73
|
+
s("div", Te, [
|
|
74
|
+
s("div", Se, [
|
|
66
75
|
s("img", {
|
|
67
|
-
src:
|
|
76
|
+
src: i(Ae),
|
|
68
77
|
alt: "",
|
|
69
78
|
class: "icon"
|
|
70
|
-
}, null, 8,
|
|
71
|
-
|
|
72
|
-
s("button", {
|
|
79
|
+
}, null, 8, Ee),
|
|
80
|
+
b[2] || (b[2] = s("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
|
|
81
|
+
s("button", M({
|
|
82
|
+
ref_key: "infoToggle",
|
|
83
|
+
ref: d,
|
|
73
84
|
class: "phila-button is-extra-small",
|
|
74
|
-
"aria-label": `${
|
|
85
|
+
"aria-label": `${f.value ? "Close" : "Open"} Trusted Site information panel`,
|
|
75
86
|
"aria-controls": "trusted-site-info",
|
|
76
|
-
"aria-expanded":
|
|
77
|
-
|
|
78
|
-
(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
h(n(w), {
|
|
83
|
-
icon: c.value ? n(ae) : n(ie)
|
|
87
|
+
"aria-expanded": f.value
|
|
88
|
+
}, i(r)), [
|
|
89
|
+
b[1] || (b[1] = A(" Here's how you know ", -1)),
|
|
90
|
+
s("span", He, [
|
|
91
|
+
p(i(L), {
|
|
92
|
+
icon: f.value ? i(le) : i(re)
|
|
84
93
|
}, null, 8, ["icon"])
|
|
85
94
|
])
|
|
86
|
-
],
|
|
95
|
+
], 16, Ie)
|
|
87
96
|
]),
|
|
88
|
-
s("div",
|
|
89
|
-
s("button", {
|
|
97
|
+
s("div", Oe, [
|
|
98
|
+
s("button", M({
|
|
99
|
+
ref_key: "infoToggleMobile",
|
|
100
|
+
ref: $,
|
|
90
101
|
class: "phila-button is-extra-small",
|
|
91
|
-
"aria-label": `${
|
|
102
|
+
"aria-label": `${f.value ? "Close" : "Open"} Trusted Site information panel`,
|
|
92
103
|
"aria-controls": "trusted-site-info",
|
|
93
|
-
"aria-expanded":
|
|
94
|
-
|
|
95
|
-
(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
s("span", Ue, [
|
|
99
|
-
h(n(w), { icon: n(ne) }, null, 8, ["icon"])
|
|
104
|
+
"aria-expanded": f.value
|
|
105
|
+
}, i(r)), [
|
|
106
|
+
b[3] || (b[3] = A(" An official website ", -1)),
|
|
107
|
+
s("span", De, [
|
|
108
|
+
p(i(L), { icon: i(ce) }, null, 8, ["icon"])
|
|
100
109
|
])
|
|
101
|
-
],
|
|
110
|
+
], 16, Ge)
|
|
102
111
|
])
|
|
103
112
|
]),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
])) :
|
|
107
|
-
]),
|
|
113
|
+
i(e).translation ? (n(), c("div", Pe, [
|
|
114
|
+
v(g.$slots, "translation", {}, void 0, !0)
|
|
115
|
+
])) : y("", !0)
|
|
116
|
+
], 2),
|
|
108
117
|
s("div", {
|
|
109
118
|
id: "trusted-site-info",
|
|
110
119
|
class: "px-6",
|
|
111
|
-
hidden: !
|
|
120
|
+
hidden: !f.value
|
|
112
121
|
}, [
|
|
113
|
-
s("div",
|
|
114
|
-
s("div",
|
|
115
|
-
s("div",
|
|
116
|
-
s("div",
|
|
117
|
-
s("span",
|
|
118
|
-
|
|
122
|
+
s("div", Ve, [
|
|
123
|
+
s("div", Ue, [
|
|
124
|
+
s("div", je, [
|
|
125
|
+
s("div", Fe, [
|
|
126
|
+
s("span", Qe, [
|
|
127
|
+
p(i(L), { icon: i(Ne) }, null, 8, ["icon"])
|
|
119
128
|
]),
|
|
120
|
-
|
|
129
|
+
b[4] || (b[4] = s("span", { class: "has-text-bold" }, ".gov", -1))
|
|
121
130
|
]),
|
|
122
|
-
|
|
131
|
+
b[5] || (b[5] = s("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
|
|
123
132
|
]),
|
|
124
|
-
s("div",
|
|
125
|
-
s("div",
|
|
126
|
-
s("div",
|
|
127
|
-
|
|
133
|
+
s("div", Ke, [
|
|
134
|
+
s("div", We, [
|
|
135
|
+
s("div", qe, [
|
|
136
|
+
p(i(L), { icon: i(Ce) }, null, 8, ["icon"])
|
|
128
137
|
]),
|
|
129
|
-
|
|
138
|
+
b[6] || (b[6] = s("span", { class: "has-text-bold" }, "https://", -1))
|
|
130
139
|
]),
|
|
131
|
-
|
|
140
|
+
b[7] || (b[7] = s("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))
|
|
132
141
|
])
|
|
133
142
|
]),
|
|
134
|
-
s("div",
|
|
143
|
+
s("div", Xe, [
|
|
135
144
|
s("button", {
|
|
145
|
+
ref_key: "closeInfoToggle",
|
|
146
|
+
ref: l,
|
|
136
147
|
class: "phila-button phila-button--primary icon-button is-extra-small",
|
|
137
148
|
"aria-label": "Close Trusted Site information panel",
|
|
138
|
-
onClick:
|
|
139
|
-
(...r) => n(a) && n(a)(...r))
|
|
149
|
+
onClick: b[0] || (b[0] = (u) => i(o)(!1))
|
|
140
150
|
}, [
|
|
141
|
-
|
|
142
|
-
])
|
|
151
|
+
p(i(L), { icon: i(Me) }, null, 8, ["icon"])
|
|
152
|
+
], 512)
|
|
143
153
|
])
|
|
144
154
|
])
|
|
145
|
-
], 8,
|
|
155
|
+
], 8, Re)
|
|
146
156
|
], 64));
|
|
147
157
|
}
|
|
148
|
-
}),
|
|
149
|
-
const
|
|
150
|
-
for (const [
|
|
151
|
-
|
|
152
|
-
return
|
|
153
|
-
},
|
|
154
|
-
|
|
158
|
+
}), V = (t, e) => {
|
|
159
|
+
const a = t.__vccOpts || t;
|
|
160
|
+
for (const [o, r] of e)
|
|
161
|
+
a[o] = r;
|
|
162
|
+
return a;
|
|
163
|
+
}, Ze = /* @__PURE__ */ V(Ye, [["__scopeId", "data-v-7ba68309"]]), Je = {
|
|
164
|
+
key: 0,
|
|
165
|
+
class: "phila-navbar-end"
|
|
166
|
+
}, W = "5rem", et = /* @__PURE__ */ _({
|
|
167
|
+
__name: "index",
|
|
155
168
|
props: {
|
|
169
|
+
id: {},
|
|
170
|
+
sticky: { type: Boolean },
|
|
171
|
+
navbarBrand: {},
|
|
172
|
+
compactMobile: { type: Boolean, default: !1 },
|
|
156
173
|
mobileNav: {},
|
|
157
|
-
|
|
174
|
+
visibilityGroup: {},
|
|
175
|
+
search: {},
|
|
176
|
+
links: { default: () => [{ text: "Home", href: "#" }] }
|
|
158
177
|
},
|
|
159
178
|
setup(t) {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
]),
|
|
183
|
-
default: v((a) => [
|
|
184
|
-
s("div", {
|
|
185
|
-
id: a.id,
|
|
186
|
-
class: "phila-mobile-nav",
|
|
187
|
-
hidden: !a.open
|
|
188
|
-
}, [
|
|
189
|
-
f(e.$slots, "mobile-nav", {}, () => [
|
|
190
|
-
(o(), b(I(t.mobileNav)))
|
|
191
|
-
])
|
|
192
|
-
], 8, at)
|
|
193
|
-
]),
|
|
194
|
-
_: 3
|
|
195
|
-
}, 8, ["group"]));
|
|
179
|
+
const e = t, { visibilityState: a } = H({ group: "app-header" }), o = E("navBarElement"), r = z(W), d = z(0), l = _e(() => {
|
|
180
|
+
const f = (o.value?.offsetTop || 0) + (o.value?.offsetHeight || 0), g = typeof window < "u" ? window.innerWidth : 1024;
|
|
181
|
+
r.value = !e.sticky || g < 1024 ? f + "px" : W, d.value = f;
|
|
182
|
+
}, 100), $ = B(() => a.value?.appHeader);
|
|
183
|
+
return Y(() => $.value, l, { deep: !0, immediate: !0 }), he(() => {
|
|
184
|
+
window.addEventListener("resize", l);
|
|
185
|
+
}), J(() => {
|
|
186
|
+
window.removeEventListener("resize", l);
|
|
187
|
+
}), (f, g) => (n(), c("nav", {
|
|
188
|
+
ref_key: "navBarElement",
|
|
189
|
+
ref: o,
|
|
190
|
+
class: S(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky, "is-compact-mobile": t.compactMobile }]),
|
|
191
|
+
"aria-label": "Main navigation",
|
|
192
|
+
style: ee(`--nav-height:${r.value};--nav-bottom:${d.value}px`)
|
|
193
|
+
}, [
|
|
194
|
+
v(f.$slots, "navbar-toggle", {}, void 0, !0),
|
|
195
|
+
v(f.$slots, "navbar-left", {}, void 0, !0),
|
|
196
|
+
v(f.$slots, "navbar-right", {}, void 0, !0),
|
|
197
|
+
f.$slots["navbar-end"] ? (n(), c("div", Je, [
|
|
198
|
+
v(f.$slots, "navbar-end", {}, void 0, !0)
|
|
199
|
+
])) : y("", !0)
|
|
200
|
+
], 6));
|
|
196
201
|
}
|
|
197
|
-
}),
|
|
202
|
+
}), tt = /* @__PURE__ */ V(et, [["__scopeId", "data-v-8a07f1df"]]), it = { class: "site-wide-alert content" }, at = { class: "alert-content" }, st = { class: "content-text" }, nt = { class: "title" }, ot = { class: "body" }, lt = /* @__PURE__ */ _({
|
|
203
|
+
__name: "AlertBanner",
|
|
204
|
+
props: {
|
|
205
|
+
bannerTitle: {},
|
|
206
|
+
bannerMessage: {}
|
|
207
|
+
},
|
|
208
|
+
setup(t) {
|
|
209
|
+
const e = t;
|
|
210
|
+
return (a, o) => (n(), c("div", it, [
|
|
211
|
+
s("div", at, [
|
|
212
|
+
p(i($e), {
|
|
213
|
+
"icon-definition": i(Be),
|
|
214
|
+
size: "small",
|
|
215
|
+
decorative: !0
|
|
216
|
+
}, null, 8, ["icon-definition"]),
|
|
217
|
+
s("div", st, [
|
|
218
|
+
s("h6", nt, w(e.bannerTitle), 1),
|
|
219
|
+
s("div", ot, w(e.bannerMessage), 1)
|
|
220
|
+
])
|
|
221
|
+
])
|
|
222
|
+
]));
|
|
223
|
+
}
|
|
224
|
+
}), rt = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, ct = ["href"], dt = ["id", "onMouseenter", "onMouseleave"], ut = ["href", "aria-controls", "aria-expanded", "data-toggle", "onTouchend", "onClick"], vt = {
|
|
198
225
|
key: 0,
|
|
199
226
|
class: "content nav-flyout has-background-ghost-gray px-6 py-4",
|
|
200
227
|
tabindex: "-1"
|
|
201
|
-
},
|
|
228
|
+
}, ft = {
|
|
202
229
|
class: "is-flex is-flex-column is-flex-wrap-wrap",
|
|
203
230
|
style: { gap: "var(--spacing-4xl)" }
|
|
204
|
-
},
|
|
231
|
+
}, bt = ["href"], pt = /* @__PURE__ */ _({
|
|
205
232
|
__name: "NavbarLinks",
|
|
206
233
|
props: {
|
|
207
234
|
links: {},
|
|
208
|
-
|
|
235
|
+
visibilityGroup: {}
|
|
209
236
|
},
|
|
210
237
|
setup(t) {
|
|
211
|
-
const e = (
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
238
|
+
const e = (g) => !!(g.subLinks || g.subNav), a = (g) => `main-nav-${g.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`, o = t, { setVisibility: r, create: d, isVisible: l, onMouseEnter: $, onMouseLeave: f } = H({
|
|
239
|
+
group: o.visibilityGroup,
|
|
240
|
+
outsideClickHide: !0,
|
|
241
|
+
escapeKeyHide: !0,
|
|
242
|
+
mouseOverToggle: !0,
|
|
243
|
+
blurHide: !0,
|
|
244
|
+
showSingle: !0
|
|
245
|
+
});
|
|
246
|
+
return ge(() => {
|
|
247
|
+
o.links?.forEach((g) => {
|
|
248
|
+
if (e(g)) {
|
|
249
|
+
const b = a(g);
|
|
250
|
+
d(b);
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
}), (g, b) => (n(), c("div", rt, [
|
|
254
|
+
(n(!0), c(T, null, Q(t.links, (u, O) => (n(), c(T, null, [
|
|
255
|
+
e(u) ? (n(), c("div", {
|
|
256
|
+
id: `${o.visibilityGroup}-item-${a(u)}`,
|
|
257
|
+
key: `navbar-link-${O}`,
|
|
258
|
+
class: "phila-navbar-link-list-item",
|
|
259
|
+
onMouseenter: (x) => i($)(a(u)),
|
|
260
|
+
onMouseleave: (x) => i(f)(a(u))
|
|
261
|
+
}, [
|
|
225
262
|
s("a", {
|
|
226
|
-
href:
|
|
227
|
-
class:
|
|
228
|
-
"aria-controls":
|
|
229
|
-
"aria-expanded":
|
|
263
|
+
href: u.href,
|
|
264
|
+
class: S(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": i(l)(a(u)) }]),
|
|
265
|
+
"aria-controls": a(u),
|
|
266
|
+
"aria-expanded": i(l)(a(u)),
|
|
267
|
+
"data-toggle": `visibility-${a(u)}`,
|
|
230
268
|
tabindex: "0",
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
onClick: r.onClick
|
|
269
|
+
onTouchend: (x) => i(r)(!i(l)(a(u)), a(u)),
|
|
270
|
+
onClick: te((x) => i(r)(!i(l)(a(u)), a(u)), ["prevent"])
|
|
234
271
|
}, [
|
|
235
|
-
|
|
236
|
-
|
|
272
|
+
A(w(u.text) + " ", 1),
|
|
273
|
+
p(i(L), {
|
|
237
274
|
class: "ml-1",
|
|
238
|
-
icon:
|
|
275
|
+
icon: i(l)(a(u)) ? i(le) : i(re)
|
|
239
276
|
}, null, 8, ["icon"])
|
|
240
|
-
], 42,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
277
|
+
], 42, ut),
|
|
278
|
+
(n(), k(i(ae), {
|
|
279
|
+
id: a(u),
|
|
280
|
+
key: u.text,
|
|
281
|
+
"allow-escape": "",
|
|
282
|
+
hidden: !i(l)(a(u)),
|
|
283
|
+
onEscape: (x) => i(r)(!1, a(u))
|
|
284
|
+
}, {
|
|
285
|
+
default: h(() => [
|
|
286
|
+
u.subLinks ? (n(), c("div", vt, [
|
|
287
|
+
s("ul", ft, [
|
|
288
|
+
(n(!0), c(T, null, Q(u.subLinks, (x) => (n(), c("li", {
|
|
289
|
+
key: x.text,
|
|
290
|
+
class: "sub-nav-link is-flex is-align-center",
|
|
291
|
+
style: { width: "150px" }
|
|
292
|
+
}, [
|
|
293
|
+
s("a", {
|
|
294
|
+
href: x.href,
|
|
295
|
+
class: "has-text-link has-text-weight-medium",
|
|
296
|
+
tabindex: "0"
|
|
297
|
+
}, w(x.text), 9, bt)
|
|
298
|
+
]))), 128))
|
|
299
|
+
])
|
|
300
|
+
])) : (n(), k(ie(u.subNav), { key: 1 }))
|
|
301
|
+
]),
|
|
302
|
+
_: 2
|
|
303
|
+
}, 1032, ["id", "hidden", "onEscape"]))
|
|
304
|
+
], 40, dt)) : (n(), c("div", {
|
|
305
|
+
key: `link-${O}`,
|
|
306
|
+
class: "phila-navbar-link-list-item"
|
|
307
|
+
}, [
|
|
308
|
+
s("a", {
|
|
309
|
+
href: u.href,
|
|
310
|
+
class: "phila-navbar-link px-4",
|
|
311
|
+
tabindex: "0"
|
|
312
|
+
}, w(u.text), 9, ct)
|
|
313
|
+
]))
|
|
314
|
+
], 64))), 256))
|
|
315
|
+
]));
|
|
316
|
+
}
|
|
317
|
+
}), mt = { class: "phila-navbar-search is-flex" }, ht = { id: "navbar-search" }, gt = { class: "pr-4" }, yt = ["aria-controls", "data-toggle", "aria-expanded", "aria-label"], _t = { class: "icon" }, $t = /* @__PURE__ */ _({
|
|
318
|
+
__name: "NavbarSearch",
|
|
319
|
+
props: {
|
|
320
|
+
search: {},
|
|
321
|
+
visibilityGroup: {}
|
|
322
|
+
},
|
|
323
|
+
setup(t) {
|
|
324
|
+
const e = t, { setVisibility: a, isVisible: o } = H({
|
|
325
|
+
id: `${e.visibilityGroup}-flyout-navbar-search`,
|
|
326
|
+
group: e.visibilityGroup,
|
|
327
|
+
outsideClickHide: !0,
|
|
328
|
+
escapeKeyHide: !0,
|
|
329
|
+
blurHide: !0,
|
|
330
|
+
showSingle: !0
|
|
331
|
+
});
|
|
332
|
+
return (r, d) => (n(), c("div", mt, [
|
|
333
|
+
s("div", ht, [
|
|
334
|
+
s("div", gt, [
|
|
335
|
+
s("button", {
|
|
336
|
+
class: S(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": i(o)() }]),
|
|
337
|
+
"aria-controls": `${e.visibilityGroup}-flyout-navbar-search`,
|
|
338
|
+
"data-toggle": `visibility-${e.visibilityGroup}-flyout-navbar-search`,
|
|
339
|
+
"aria-expanded": i(o)(),
|
|
340
|
+
"aria-label": `${i(o)() ? "Close" : "Open"} search panel`,
|
|
341
|
+
onClick: d[0] || (d[0] = (l) => i(a)(!i(o)()))
|
|
247
342
|
}, [
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
(o(
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
343
|
+
s("span", _t, [
|
|
344
|
+
p(i(L), {
|
|
345
|
+
icon: i(o)() ? i(oe) : i(we)
|
|
346
|
+
}, null, 8, ["icon"])
|
|
347
|
+
])
|
|
348
|
+
], 10, yt)
|
|
349
|
+
])
|
|
350
|
+
]),
|
|
351
|
+
p(i(ae), {
|
|
352
|
+
id: `${e.visibilityGroup}-flyout-navbar-search`,
|
|
353
|
+
"allow-escape": "",
|
|
354
|
+
class: "nav-flyout is-12",
|
|
355
|
+
hidden: !i(o)(),
|
|
356
|
+
onEscape: d[1] || (d[1] = (l) => i(a)(!1, `${e.visibilityGroup}-flyout-navbar-search`))
|
|
357
|
+
}, {
|
|
358
|
+
default: h(() => [
|
|
359
|
+
v(r.$slots, "search-panel")
|
|
264
360
|
]),
|
|
265
|
-
_:
|
|
266
|
-
},
|
|
267
|
-
|
|
268
|
-
class: "phila-navbar-link-list-item"
|
|
269
|
-
}, [
|
|
270
|
-
s("a", {
|
|
271
|
-
href: d.href,
|
|
272
|
-
class: "phila-navbar-link px-4",
|
|
273
|
-
tabindex: "0"
|
|
274
|
-
}, y(d.text), 9, nt)
|
|
275
|
-
]))
|
|
276
|
-
], 64))), 256));
|
|
361
|
+
_: 3
|
|
362
|
+
}, 8, ["id", "hidden"])
|
|
363
|
+
]));
|
|
277
364
|
}
|
|
278
|
-
}),
|
|
365
|
+
}), xt = /* @__PURE__ */ _({
|
|
279
366
|
__name: "NavbarBrandLogo",
|
|
280
367
|
props: {
|
|
281
368
|
logo: {},
|
|
@@ -284,176 +371,84 @@ const Me = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
|
|
|
284
371
|
altText: {}
|
|
285
372
|
},
|
|
286
373
|
setup(t) {
|
|
287
|
-
const e = t,
|
|
374
|
+
const e = t, a = B(() => ({
|
|
288
375
|
variant: "city",
|
|
289
376
|
layout: "stacked",
|
|
290
377
|
colorScheme: "on-primary",
|
|
291
378
|
href: e.href,
|
|
292
379
|
...e.logo
|
|
293
380
|
}));
|
|
294
|
-
return (
|
|
295
|
-
}
|
|
296
|
-
}), ft = /* @__PURE__ */ D(ut, [["__scopeId", "data-v-3011c249"]]), vt = { class: "pr-4" }, mt = ["aria-controls", "aria-expanded", "aria-label", "onClick"], pt = { class: "icon" }, bt = ["id", "hidden"], ht = /* @__PURE__ */ g({
|
|
297
|
-
__name: "NavbarSearch",
|
|
298
|
-
props: {
|
|
299
|
-
search: {},
|
|
300
|
-
collapseGroup: {}
|
|
301
|
-
},
|
|
302
|
-
setup(t) {
|
|
303
|
-
return (e, l) => (o(), b(n(H), {
|
|
304
|
-
id: "navbar-search",
|
|
305
|
-
group: t.collapseGroup,
|
|
306
|
-
"outside-click-close": "",
|
|
307
|
-
"escape-key-close": "",
|
|
308
|
-
"blur-close": "",
|
|
309
|
-
"open-single": ""
|
|
310
|
-
}, {
|
|
311
|
-
toggle: v((a) => [
|
|
312
|
-
s("div", vt, [
|
|
313
|
-
s("button", {
|
|
314
|
-
class: L(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": a.open }]),
|
|
315
|
-
"aria-controls": a.ariaControls,
|
|
316
|
-
"aria-expanded": a.open,
|
|
317
|
-
"aria-label": `${a.open ? "Close" : "Open"} search panel`,
|
|
318
|
-
onClick: a.onClick
|
|
319
|
-
}, [
|
|
320
|
-
s("span", pt, [
|
|
321
|
-
h(n(w), {
|
|
322
|
-
icon: a.open ? n(te) : n(we)
|
|
323
|
-
}, null, 8, ["icon"])
|
|
324
|
-
])
|
|
325
|
-
], 10, mt)
|
|
326
|
-
])
|
|
327
|
-
]),
|
|
328
|
-
default: v((a) => [
|
|
329
|
-
s("div", {
|
|
330
|
-
id: a.id,
|
|
331
|
-
class: "nav-flyout is-12",
|
|
332
|
-
hidden: !a.open
|
|
333
|
-
}, [
|
|
334
|
-
f(e.$slots, "default", {}, () => [
|
|
335
|
-
t.search && a.open ? (o(), b(I(t.search), { key: 0 })) : p("", !0)
|
|
336
|
-
])
|
|
337
|
-
], 8, bt)
|
|
338
|
-
]),
|
|
339
|
-
_: 3
|
|
340
|
-
}, 8, ["group"]));
|
|
381
|
+
return (o, r) => (n(), k(i(xe), M(a.value, { class: "phila-navbar-logo" }), null, 16));
|
|
341
382
|
}
|
|
342
|
-
}),
|
|
383
|
+
}), kt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-3011c249"]]), wt = { class: "phila-navbar-brand is-flex" }, Bt = {
|
|
343
384
|
key: 0,
|
|
344
385
|
class: "phila-navbar-item phila-navbar-brand-link hidden-tablet"
|
|
345
|
-
},
|
|
386
|
+
}, Mt = {
|
|
346
387
|
key: 0,
|
|
347
388
|
class: "content"
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
class: "phila-navbar-end"
|
|
351
|
-
}, Q = "5rem", Ct = /* @__PURE__ */ g({
|
|
352
|
-
__name: "index",
|
|
389
|
+
}, Ct = ["href"], Nt = /* @__PURE__ */ _({
|
|
390
|
+
__name: "NavbarBrand",
|
|
353
391
|
props: {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
mobileNav: {},
|
|
358
|
-
collapseGroup: {},
|
|
359
|
-
search: {},
|
|
360
|
-
links: { default: () => [{ text: "Home", href: "#" }] }
|
|
392
|
+
brandingImage: {},
|
|
393
|
+
brandingLink: {},
|
|
394
|
+
logo: {}
|
|
361
395
|
},
|
|
362
396
|
setup(t) {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}, 100);
|
|
367
|
-
return pe(() => l.value, i, { deep: !0, immediate: !0 }), be(() => {
|
|
368
|
-
window.addEventListener("resize", i);
|
|
369
|
-
}), X(() => {
|
|
370
|
-
window.removeEventListener("resize", i);
|
|
371
|
-
}), (r, k) => (o(), u("nav", {
|
|
372
|
-
ref_key: "navBarElement",
|
|
373
|
-
ref: a,
|
|
374
|
-
class: L(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky }]),
|
|
375
|
-
"aria-label": "Main navigation",
|
|
376
|
-
style: Y(`--nav-height:${c.value};--nav-bottom:${d.value}px`)
|
|
377
|
-
}, [
|
|
378
|
-
f(r.$slots, "navbar-burger", {}, () => [
|
|
379
|
-
t.mobileNav || r.$slots["mobile-nav"] ? (o(), b(it, {
|
|
380
|
-
key: 0,
|
|
381
|
-
"mobile-nav": t.mobileNav,
|
|
382
|
-
"collapse-group": t.id
|
|
383
|
-
}, Z({ _: 2 }, [
|
|
384
|
-
r.$slots["mobile-nav"] ? {
|
|
385
|
-
name: "mobile-nav",
|
|
386
|
-
fn: v(() => [
|
|
387
|
-
f(r.$slots, "mobile-nav", {}, void 0, !0)
|
|
388
|
-
]),
|
|
389
|
-
key: "0"
|
|
390
|
-
} : void 0
|
|
391
|
-
]), 1032, ["mobile-nav", "collapse-group"])) : p("", !0)
|
|
392
|
-
], !0),
|
|
393
|
-
s("div", yt, [
|
|
394
|
-
f(r.$slots, "navbar-logo", {}, () => [
|
|
395
|
-
t.navbarBrand?.brandingImage ? (o(), b(ft, C({ key: 0 }, t.navbarBrand.brandingImage, {
|
|
396
|
-
logo: t.navbarBrand?.logo
|
|
397
|
-
}), null, 16, ["logo"])) : p("", !0)
|
|
398
|
-
], !0),
|
|
399
|
-
r.$slots["navbar-brand-link"] || t.navbarBrand?.brandingLink ? (o(), u("div", gt, [
|
|
400
|
-
f(r.$slots, "navbar-brand-link", {}, () => [
|
|
401
|
-
t.navbarBrand?.brandingLink ? (o(), u("div", kt, [
|
|
402
|
-
s("a", {
|
|
403
|
-
tabindex: "0",
|
|
404
|
-
href: t.navbarBrand.brandingLink.href,
|
|
405
|
-
class: "has-text-underline"
|
|
406
|
-
}, y(t.navbarBrand.brandingLink.text), 9, _t)
|
|
407
|
-
])) : p("", !0)
|
|
408
|
-
], !0)
|
|
409
|
-
])) : p("", !0)
|
|
410
|
-
]),
|
|
411
|
-
s("div", xt, [
|
|
412
|
-
f(r.$slots, "navbar-links", {}, () => [
|
|
413
|
-
t.links ? (o(), b(dt, {
|
|
414
|
-
key: 0,
|
|
415
|
-
links: t.links,
|
|
416
|
-
"collapse-group": t.id
|
|
417
|
-
}, null, 8, ["links", "collapse-group"])) : p("", !0)
|
|
418
|
-
], !0)
|
|
397
|
+
return (e, a) => (n(), c("div", wt, [
|
|
398
|
+
v(e.$slots, "navbar-logo", {}, () => [
|
|
399
|
+
t.brandingImage ? (n(), k(kt, M({ key: 0 }, t.brandingImage, { logo: t.logo }), null, 16, ["logo"])) : y("", !0)
|
|
419
400
|
]),
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
t.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
], 6));
|
|
401
|
+
e.$slots["navbar-brand-link"] || t.brandingLink ? (n(), c("div", Bt, [
|
|
402
|
+
v(e.$slots, "navbar-brand-link", {}, () => [
|
|
403
|
+
t.brandingLink ? (n(), c("div", Mt, [
|
|
404
|
+
s("a", {
|
|
405
|
+
tabindex: "0",
|
|
406
|
+
href: t.brandingLink.href,
|
|
407
|
+
class: "has-text-underline"
|
|
408
|
+
}, w(t.brandingLink.text), 9, Ct)
|
|
409
|
+
])) : y("", !0)
|
|
410
|
+
])
|
|
411
|
+
])) : y("", !0)
|
|
412
|
+
]));
|
|
433
413
|
}
|
|
434
|
-
}),
|
|
435
|
-
__name: "
|
|
414
|
+
}), Lt = { id: "mobile-nav" }, zt = ["aria-controls", "aria-expanded", "aria-label"], At = { class: "icon" }, Tt = ["id", "hidden"], St = /* @__PURE__ */ _({
|
|
415
|
+
__name: "NavbarBurger",
|
|
436
416
|
props: {
|
|
437
|
-
|
|
438
|
-
|
|
417
|
+
mobileNav: {},
|
|
418
|
+
visibilityGroup: {}
|
|
439
419
|
},
|
|
440
420
|
setup(t) {
|
|
441
|
-
const e = t
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
421
|
+
const e = t, { isVisible: a, toggleProps: o } = H({
|
|
422
|
+
id: "mobile-nav",
|
|
423
|
+
group: e.visibilityGroup,
|
|
424
|
+
outsideClickHide: !0,
|
|
425
|
+
escapeKeyHide: !0,
|
|
426
|
+
blurHide: !1,
|
|
427
|
+
showSingle: !0
|
|
428
|
+
}), r = B(() => a("mobile-nav"));
|
|
429
|
+
return (d, l) => (n(), c("div", Lt, [
|
|
430
|
+
s("button", M({
|
|
431
|
+
class: ["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": r.value }],
|
|
432
|
+
"aria-controls": `navbar-burger-flyout-${e.visibilityGroup}`,
|
|
433
|
+
"aria-expanded": r.value,
|
|
434
|
+
"aria-label": `${r.value ? "Close" : "Open"} mobile navigation panel`
|
|
435
|
+
}, i(o)), [
|
|
436
|
+
s("span", At, [
|
|
437
|
+
p(i(L), {
|
|
438
|
+
icon: r.value ? i(oe) : i(Le)
|
|
439
|
+
}, null, 8, ["icon"])
|
|
452
440
|
])
|
|
453
|
-
])
|
|
441
|
+
], 16, zt),
|
|
442
|
+
s("div", {
|
|
443
|
+
id: `navbar-burger-flyout-${e.visibilityGroup}`,
|
|
444
|
+
class: "phila-mobile-nav",
|
|
445
|
+
hidden: !r.value
|
|
446
|
+
}, [
|
|
447
|
+
v(d.$slots, "mobile-nav")
|
|
448
|
+
], 8, Tt)
|
|
454
449
|
]));
|
|
455
450
|
}
|
|
456
|
-
}),
|
|
451
|
+
}), ti = /* @__PURE__ */ _({
|
|
457
452
|
__name: "AppHeader",
|
|
458
453
|
props: {
|
|
459
454
|
showTrustedSite: { type: Boolean, default: !0 },
|
|
@@ -462,54 +457,89 @@ const Me = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
|
|
|
462
457
|
id: { default: "main-nav" },
|
|
463
458
|
sticky: { type: Boolean, default: !0 },
|
|
464
459
|
navbarBrand: { default: void 0 },
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
460
|
+
compactMobile: { type: Boolean, default: !1 },
|
|
461
|
+
mobileNav: {},
|
|
462
|
+
visibilityGroup: {},
|
|
463
|
+
search: {},
|
|
468
464
|
links: { default: void 0 },
|
|
469
465
|
bannerTitle: { default: void 0 },
|
|
470
466
|
bannerMessage: { default: void 0 }
|
|
471
467
|
},
|
|
472
468
|
setup(t) {
|
|
473
|
-
return (e,
|
|
474
|
-
t.showTrustedSite ? (
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
469
|
+
return (e, a) => (n(), c(T, null, [
|
|
470
|
+
t.showTrustedSite ? (n(), k(Ze, {
|
|
471
|
+
key: 0,
|
|
472
|
+
"compact-mobile": t.compactMobile
|
|
473
|
+
}, {
|
|
474
|
+
translation: h(() => [
|
|
475
|
+
v(e.$slots, "translations", {}, () => [
|
|
476
|
+
t.translations ? (n(), k(ie(t.translations), { key: 0 })) : y("", !0)
|
|
478
477
|
])
|
|
479
478
|
]),
|
|
480
479
|
_: 3
|
|
481
|
-
})) :
|
|
482
|
-
|
|
480
|
+
}, 8, ["compact-mobile"])) : y("", !0),
|
|
481
|
+
p(tt, {
|
|
483
482
|
id: t.id,
|
|
484
483
|
sticky: t.sticky,
|
|
485
|
-
"mobile
|
|
486
|
-
|
|
487
|
-
"navbar-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
484
|
+
"compact-mobile": t.compactMobile
|
|
485
|
+
}, K({
|
|
486
|
+
"navbar-toggle": h(() => [
|
|
487
|
+
v(e.$slots, "navbar-toggle", {}, () => [
|
|
488
|
+
p(St, { "visibility-group": t.id }, K({ _: 2 }, [
|
|
489
|
+
e.$slots["mobile-nav"] ? {
|
|
490
|
+
name: "mobile-nav",
|
|
491
|
+
fn: h(() => [
|
|
492
|
+
v(e.$slots, "mobile-nav")
|
|
493
|
+
]),
|
|
494
|
+
key: "0"
|
|
495
|
+
} : void 0
|
|
496
|
+
]), 1032, ["visibility-group"])
|
|
497
|
+
])
|
|
498
|
+
]),
|
|
499
|
+
"navbar-left": h(() => [
|
|
500
|
+
v(e.$slots, "navbar-left", {}, () => [
|
|
501
|
+
v(e.$slots, "navbar-brand", {}, () => [
|
|
502
|
+
t.navbarBrand ? (n(), k(Nt, I(M({ key: 0 }, t.navbarBrand)), null, 16)) : y("", !0)
|
|
503
|
+
])
|
|
504
|
+
])
|
|
505
|
+
]),
|
|
506
|
+
"navbar-right": h(() => [
|
|
507
|
+
v(e.$slots, "navbar-right", {}, () => [
|
|
508
|
+
v(e.$slots, "navbar-links", {}, () => [
|
|
509
|
+
t.links ? (n(), k(pt, {
|
|
510
|
+
key: 0,
|
|
511
|
+
links: t.links,
|
|
512
|
+
"visibility-group": t.id
|
|
513
|
+
}, null, 8, ["links", "visibility-group"])) : y("", !0)
|
|
514
|
+
]),
|
|
515
|
+
v(e.$slots, "navbar-search", {}, () => [
|
|
516
|
+
p($t, { "visibility-group": t.id }, {
|
|
517
|
+
"search-panel": h(() => [
|
|
518
|
+
v(e.$slots, "search-panel")
|
|
519
|
+
]),
|
|
520
|
+
_: 3
|
|
521
|
+
}, 8, ["visibility-group"])
|
|
522
|
+
])
|
|
523
|
+
])
|
|
524
|
+
]),
|
|
525
|
+
_: 2
|
|
526
|
+
}, [
|
|
497
527
|
e.$slots["navbar-end"] ? {
|
|
498
528
|
name: "navbar-end",
|
|
499
|
-
fn:
|
|
500
|
-
|
|
529
|
+
fn: h(() => [
|
|
530
|
+
v(e.$slots, "navbar-end")
|
|
501
531
|
]),
|
|
502
|
-
key: "
|
|
532
|
+
key: "0"
|
|
503
533
|
} : void 0
|
|
504
|
-
]), 1032, ["id", "sticky", "mobile
|
|
505
|
-
t.bannerTitle || t.bannerMessage ? (
|
|
534
|
+
]), 1032, ["id", "sticky", "compact-mobile"]),
|
|
535
|
+
t.bannerTitle || t.bannerMessage ? (n(), k(lt, {
|
|
506
536
|
key: 1,
|
|
507
537
|
"banner-title": t.bannerTitle,
|
|
508
538
|
"banner-message": t.bannerMessage
|
|
509
|
-
}, null, 8, ["banner-title", "banner-message"])) :
|
|
539
|
+
}, null, 8, ["banner-title", "banner-message"])) : y("", !0)
|
|
510
540
|
], 64));
|
|
511
541
|
}
|
|
512
|
-
}),
|
|
542
|
+
}), Et = ["disabled"], q = /* @__PURE__ */ _({
|
|
513
543
|
inheritAttrs: !1,
|
|
514
544
|
__name: "PhlButton",
|
|
515
545
|
props: {
|
|
@@ -531,24 +561,24 @@ const Me = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
|
|
|
531
561
|
svgRaw: {}
|
|
532
562
|
},
|
|
533
563
|
setup(t) {
|
|
534
|
-
const e = t,
|
|
564
|
+
const e = t, a = (l) => "href" in l && l.href !== void 0 || "to" in l && l.to !== void 0, o = B(() => R(
|
|
535
565
|
"phila-button",
|
|
536
566
|
`phila-button--${e.variant}`,
|
|
537
567
|
e.size && `is-${e.size}`,
|
|
538
568
|
e.iconOnly && "icon-button",
|
|
539
569
|
e.iconOnly && e.variant === "standard" && "icon-button--standard",
|
|
540
570
|
e.className
|
|
541
|
-
)),
|
|
571
|
+
)), r = B(() => a(e) ? "to" in e && e.to !== void 0 ? {
|
|
542
572
|
to: e.to,
|
|
543
573
|
disabled: e.disabled,
|
|
544
|
-
className:
|
|
574
|
+
className: o.value
|
|
545
575
|
} : {
|
|
546
576
|
href: e.href,
|
|
547
577
|
target: e.target,
|
|
548
578
|
rel: e.rel,
|
|
549
579
|
disabled: e.disabled,
|
|
550
|
-
className:
|
|
551
|
-
} : {}), d =
|
|
580
|
+
className: o.value
|
|
581
|
+
} : {}), d = B(
|
|
552
582
|
() => ({
|
|
553
583
|
iconDefinition: e.iconDefinition,
|
|
554
584
|
iconClass: e.iconClass,
|
|
@@ -559,51 +589,51 @@ const Me = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
|
|
|
559
589
|
size: e.size
|
|
560
590
|
})
|
|
561
591
|
);
|
|
562
|
-
return (
|
|
563
|
-
default:
|
|
564
|
-
|
|
565
|
-
default:
|
|
566
|
-
|
|
567
|
-
|
|
592
|
+
return (l, $) => a(e) ? (n(), k(i(se), M({ key: 0 }, { ...r.value, ...l.$attrs }, { role: "button" }), {
|
|
593
|
+
default: h(() => [
|
|
594
|
+
p(i(P), I(D(d.value)), {
|
|
595
|
+
default: h(() => [
|
|
596
|
+
v(l.$slots, "default", {}, () => [
|
|
597
|
+
A(w(e.text), 1)
|
|
568
598
|
])
|
|
569
599
|
]),
|
|
570
600
|
_: 3
|
|
571
601
|
}, 16)
|
|
572
602
|
]),
|
|
573
603
|
_: 3
|
|
574
|
-
}, 16)) : (
|
|
604
|
+
}, 16)) : (n(), c("button", M({
|
|
575
605
|
key: 1,
|
|
576
606
|
type: "button",
|
|
577
607
|
disabled: e.disabled,
|
|
578
|
-
class:
|
|
579
|
-
},
|
|
580
|
-
|
|
581
|
-
default:
|
|
582
|
-
|
|
583
|
-
|
|
608
|
+
class: o.value
|
|
609
|
+
}, l.$attrs), [
|
|
610
|
+
p(i(P), I(D(d.value)), {
|
|
611
|
+
default: h(() => [
|
|
612
|
+
v(l.$slots, "default", {}, () => [
|
|
613
|
+
A(w(e.text), 1)
|
|
584
614
|
])
|
|
585
615
|
]),
|
|
586
616
|
_: 3
|
|
587
617
|
}, 16)
|
|
588
|
-
], 16,
|
|
618
|
+
], 16, Et));
|
|
589
619
|
}
|
|
590
620
|
});
|
|
591
|
-
var
|
|
621
|
+
var X = {
|
|
592
622
|
prefix: "fas",
|
|
593
623
|
iconName: "xmark",
|
|
594
624
|
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"]
|
|
595
625
|
};
|
|
596
|
-
const
|
|
626
|
+
const It = ["id"], Ht = {
|
|
597
627
|
key: 0,
|
|
598
628
|
class: "tooltip__tail",
|
|
599
629
|
"aria-hidden": "true"
|
|
600
630
|
}, Ot = {
|
|
601
631
|
key: 1,
|
|
602
632
|
class: "tooltip__plain-row has-text-body-small"
|
|
603
|
-
},
|
|
633
|
+
}, Gt = {
|
|
604
634
|
key: 0,
|
|
605
635
|
class: "tooltip__title-row"
|
|
606
|
-
},
|
|
636
|
+
}, Dt = { key: 0 }, Pt = /* @__PURE__ */ _({
|
|
607
637
|
__name: "TooltipBubble",
|
|
608
638
|
props: {
|
|
609
639
|
id: {},
|
|
@@ -617,8 +647,8 @@ const Et = ["id"], It = {
|
|
|
617
647
|
},
|
|
618
648
|
emits: ["dismiss"],
|
|
619
649
|
setup(t) {
|
|
620
|
-
const e = t,
|
|
621
|
-
() =>
|
|
650
|
+
const e = t, a = B(
|
|
651
|
+
() => R(
|
|
622
652
|
"tooltip",
|
|
623
653
|
"content",
|
|
624
654
|
"resets-link-colors",
|
|
@@ -628,48 +658,48 @@ const Et = ["id"], It = {
|
|
|
628
658
|
e.className
|
|
629
659
|
)
|
|
630
660
|
);
|
|
631
|
-
return (
|
|
661
|
+
return (o, r) => (n(), c("div", {
|
|
632
662
|
id: t.id,
|
|
633
|
-
class:
|
|
663
|
+
class: S(a.value),
|
|
634
664
|
role: "tooltip"
|
|
635
665
|
}, [
|
|
636
|
-
t.tail ? (
|
|
637
|
-
t.type === "plain" ? (
|
|
638
|
-
|
|
639
|
-
t.dismissable ? (
|
|
666
|
+
t.tail ? (n(), c("div", Ht)) : y("", !0),
|
|
667
|
+
t.type === "plain" ? (n(), c("div", Ot, [
|
|
668
|
+
v(o.$slots, "default", {}, void 0, !0),
|
|
669
|
+
t.dismissable ? (n(), k(i(q), {
|
|
640
670
|
key: 0,
|
|
641
671
|
class: "tooltip__dismiss",
|
|
642
672
|
variant: "standard",
|
|
643
673
|
size: "extra-small",
|
|
644
674
|
"icon-only": !0,
|
|
645
|
-
"icon-definition":
|
|
675
|
+
"icon-definition": i(X),
|
|
646
676
|
"aria-label": "Dismiss tooltip",
|
|
647
|
-
onClick:
|
|
648
|
-
}, null, 8, ["icon-definition"])) :
|
|
649
|
-
])) : (
|
|
650
|
-
t.title || t.dismissable ? (
|
|
651
|
-
t.title ? (
|
|
652
|
-
t.dismissable ? (
|
|
677
|
+
onClick: r[0] || (r[0] = (d) => o.$emit("dismiss"))
|
|
678
|
+
}, null, 8, ["icon-definition"])) : y("", !0)
|
|
679
|
+
])) : (n(), c(T, { key: 2 }, [
|
|
680
|
+
t.title || t.dismissable ? (n(), c("div", Gt, [
|
|
681
|
+
t.title ? (n(), c("h6", Dt, w(t.title), 1)) : y("", !0),
|
|
682
|
+
t.dismissable ? (n(), k(i(q), {
|
|
653
683
|
key: 1,
|
|
654
684
|
class: "tooltip__dismiss",
|
|
655
685
|
variant: "standard",
|
|
656
686
|
size: "extra-small",
|
|
657
687
|
"icon-only": !0,
|
|
658
|
-
"icon-definition":
|
|
688
|
+
"icon-definition": i(X),
|
|
659
689
|
"aria-label": "Dismiss tooltip",
|
|
660
|
-
onClick:
|
|
661
|
-
}, null, 8, ["icon-definition"])) :
|
|
662
|
-
])) :
|
|
663
|
-
|
|
690
|
+
onClick: r[1] || (r[1] = (d) => o.$emit("dismiss"))
|
|
691
|
+
}, null, 8, ["icon-definition"])) : y("", !0)
|
|
692
|
+
])) : y("", !0),
|
|
693
|
+
v(o.$slots, "default", {}, void 0, !0)
|
|
664
694
|
], 64))
|
|
665
|
-
], 10,
|
|
695
|
+
], 10, It));
|
|
666
696
|
}
|
|
667
|
-
}),
|
|
668
|
-
const
|
|
669
|
-
for (const [
|
|
670
|
-
|
|
671
|
-
return
|
|
672
|
-
},
|
|
697
|
+
}), de = (t, e) => {
|
|
698
|
+
const a = t.__vccOpts || t;
|
|
699
|
+
for (const [o, r] of e)
|
|
700
|
+
a[o] = r;
|
|
701
|
+
return a;
|
|
702
|
+
}, Rt = /* @__PURE__ */ de(Pt, [["__scopeId", "data-v-7ccd7c7d"]]), Vt = /* @__PURE__ */ _({
|
|
673
703
|
__name: "Tooltip",
|
|
674
704
|
props: {
|
|
675
705
|
trigger: { default: "hover" },
|
|
@@ -682,75 +712,75 @@ const Et = ["id"], It = {
|
|
|
682
712
|
className: {}
|
|
683
713
|
},
|
|
684
714
|
setup(t, { expose: e }) {
|
|
685
|
-
const
|
|
715
|
+
const a = t, o = ye(), r = z(!1), d = z(null), l = z(null), $ = z("top-center"), f = z(0), g = () => {
|
|
686
716
|
const m = d.value?.getBoundingClientRect();
|
|
687
717
|
if (!m) return "top-center";
|
|
688
|
-
const { innerWidth:
|
|
689
|
-
return `${
|
|
690
|
-
},
|
|
691
|
-
m.key === "Escape" &&
|
|
692
|
-
},
|
|
693
|
-
d.value && !d.value.contains(m.target) &&
|
|
718
|
+
const { innerWidth: N, innerHeight: U } = window, G = m.top, fe = U - m.bottom, j = l.value?.firstElementChild?.getBoundingClientRect().height ?? 0, be = (j > 0 ? G >= j : G >= fe) ? "top" : "bottom", F = m.left + m.width / 2, pe = F < N / 3 ? "left" : F > N * 2 / 3 ? "right" : "center";
|
|
719
|
+
return `${be}-${pe}`;
|
|
720
|
+
}, b = (m) => {
|
|
721
|
+
m.key === "Escape" && C();
|
|
722
|
+
}, u = (m) => {
|
|
723
|
+
d.value && !d.value.contains(m.target) && C();
|
|
694
724
|
};
|
|
695
|
-
function
|
|
696
|
-
const m =
|
|
725
|
+
function O() {
|
|
726
|
+
const m = l.value?.firstElementChild?.getBoundingClientRect();
|
|
697
727
|
if (!m) return;
|
|
698
|
-
const
|
|
699
|
-
|
|
728
|
+
const N = 8, U = m.right - (window.innerWidth - N), G = N - m.left;
|
|
729
|
+
U <= 0 && G <= 0 || (f.value = window.innerWidth / 2 - (m.left + m.width / 2));
|
|
700
730
|
}
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
},
|
|
704
|
-
|
|
705
|
-
},
|
|
706
|
-
|
|
731
|
+
const x = async () => {
|
|
732
|
+
a.placement === "auto" ? $.value = g() : $.value = a.placement, f.value = 0, r.value = !0, document.addEventListener("keydown", b), a.trigger === "click" && document.addEventListener("click", u), await Z(), O();
|
|
733
|
+
}, C = () => {
|
|
734
|
+
r.value = !1, document.removeEventListener("keydown", b), document.removeEventListener("click", u);
|
|
735
|
+
}, ue = () => {
|
|
736
|
+
r.value ? C() : x();
|
|
707
737
|
};
|
|
708
|
-
|
|
709
|
-
const
|
|
710
|
-
type:
|
|
711
|
-
color:
|
|
712
|
-
tail:
|
|
713
|
-
placement:
|
|
714
|
-
title:
|
|
715
|
-
dismissable:
|
|
738
|
+
J(C), e({ show: x, hide: C });
|
|
739
|
+
const ve = B(() => ({
|
|
740
|
+
type: a.type,
|
|
741
|
+
color: a.color,
|
|
742
|
+
tail: a.tail,
|
|
743
|
+
placement: $.value,
|
|
744
|
+
title: a.title,
|
|
745
|
+
dismissable: a.dismissable
|
|
716
746
|
}));
|
|
717
|
-
return (m,
|
|
747
|
+
return (m, N) => (n(), c("span", M(
|
|
718
748
|
{
|
|
719
749
|
ref_key: "wrapperEl",
|
|
720
750
|
ref: d,
|
|
721
|
-
class:
|
|
751
|
+
class: i(R)("tooltip-trigger", a.className)
|
|
722
752
|
},
|
|
723
|
-
t.trigger === "click" ? { onClick:
|
|
753
|
+
t.trigger === "click" ? { onClick: ue } : { onMouseenter: x, onMouseleave: C, onFocusin: x, onFocusout: C }
|
|
724
754
|
), [
|
|
725
|
-
|
|
726
|
-
tooltipId:
|
|
727
|
-
isOpen:
|
|
755
|
+
v(m.$slots, "default", {
|
|
756
|
+
tooltipId: i(o),
|
|
757
|
+
isOpen: r.value
|
|
728
758
|
}, void 0, !0),
|
|
729
759
|
s("span", {
|
|
730
760
|
ref_key: "positionerEl",
|
|
731
|
-
ref:
|
|
732
|
-
class:
|
|
733
|
-
style:
|
|
734
|
-
visibility:
|
|
761
|
+
ref: l,
|
|
762
|
+
class: S(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${$.value}`]),
|
|
763
|
+
style: ee({
|
|
764
|
+
visibility: r.value ? "visible" : "hidden",
|
|
735
765
|
"--positioner-gap": t.tail ? "var(--spacing-l)" : "0.5rem",
|
|
736
|
-
"--adjust-x": `${
|
|
766
|
+
"--adjust-x": `${f.value}px`
|
|
737
767
|
}),
|
|
738
|
-
onClick:
|
|
768
|
+
onClick: N[0] || (N[0] = te(() => {
|
|
739
769
|
}, ["stop"]))
|
|
740
770
|
}, [
|
|
741
|
-
|
|
742
|
-
id:
|
|
743
|
-
onDismiss:
|
|
771
|
+
p(Rt, M(ve.value, {
|
|
772
|
+
id: i(o),
|
|
773
|
+
onDismiss: C
|
|
744
774
|
}), {
|
|
745
|
-
default:
|
|
746
|
-
|
|
775
|
+
default: h(() => [
|
|
776
|
+
v(m.$slots, "body", {}, void 0, !0)
|
|
747
777
|
]),
|
|
748
778
|
_: 3
|
|
749
779
|
}, 16, ["id"])
|
|
750
780
|
], 6)
|
|
751
781
|
], 16));
|
|
752
782
|
}
|
|
753
|
-
}),
|
|
783
|
+
}), Ut = /* @__PURE__ */ de(Vt, [["__scopeId", "data-v-b3f93b8c"]]), jt = ["disabled"], Ft = /* @__PURE__ */ _({
|
|
754
784
|
inheritAttrs: !1,
|
|
755
785
|
__name: "PhlButton",
|
|
756
786
|
props: {
|
|
@@ -772,24 +802,24 @@ const Et = ["id"], It = {
|
|
|
772
802
|
svgRaw: {}
|
|
773
803
|
},
|
|
774
804
|
setup(t) {
|
|
775
|
-
const e = t,
|
|
805
|
+
const e = t, a = (l) => "href" in l && l.href !== void 0 || "to" in l && l.to !== void 0, o = B(() => R(
|
|
776
806
|
"phila-button",
|
|
777
807
|
`phila-button--${e.variant}`,
|
|
778
808
|
e.size && `is-${e.size}`,
|
|
779
809
|
e.iconOnly && "icon-button",
|
|
780
810
|
e.iconOnly && e.variant === "standard" && "icon-button--standard",
|
|
781
811
|
e.className
|
|
782
|
-
)),
|
|
812
|
+
)), r = B(() => a(e) ? "to" in e && e.to !== void 0 ? {
|
|
783
813
|
to: e.to,
|
|
784
814
|
disabled: e.disabled,
|
|
785
|
-
className:
|
|
815
|
+
className: o.value
|
|
786
816
|
} : {
|
|
787
817
|
href: e.href,
|
|
788
818
|
target: e.target,
|
|
789
819
|
rel: e.rel,
|
|
790
820
|
disabled: e.disabled,
|
|
791
|
-
className:
|
|
792
|
-
} : {}), d =
|
|
821
|
+
className: o.value
|
|
822
|
+
} : {}), d = B(
|
|
793
823
|
() => ({
|
|
794
824
|
iconDefinition: e.iconDefinition,
|
|
795
825
|
iconClass: e.iconClass,
|
|
@@ -800,39 +830,39 @@ const Et = ["id"], It = {
|
|
|
800
830
|
size: e.size
|
|
801
831
|
})
|
|
802
832
|
);
|
|
803
|
-
return (
|
|
804
|
-
default:
|
|
805
|
-
|
|
806
|
-
default:
|
|
807
|
-
|
|
808
|
-
|
|
833
|
+
return (l, $) => a(e) ? (n(), k(i(se), M({ key: 0 }, { ...r.value, ...l.$attrs }, { role: "button" }), {
|
|
834
|
+
default: h(() => [
|
|
835
|
+
p(i(P), I(D(d.value)), {
|
|
836
|
+
default: h(() => [
|
|
837
|
+
v(l.$slots, "default", {}, () => [
|
|
838
|
+
A(w(e.text), 1)
|
|
809
839
|
])
|
|
810
840
|
]),
|
|
811
841
|
_: 3
|
|
812
842
|
}, 16)
|
|
813
843
|
]),
|
|
814
844
|
_: 3
|
|
815
|
-
}, 16)) : (
|
|
845
|
+
}, 16)) : (n(), c("button", M({
|
|
816
846
|
key: 1,
|
|
817
847
|
type: "button",
|
|
818
848
|
disabled: e.disabled,
|
|
819
|
-
class:
|
|
820
|
-
},
|
|
821
|
-
|
|
822
|
-
default:
|
|
823
|
-
|
|
824
|
-
|
|
849
|
+
class: o.value
|
|
850
|
+
}, l.$attrs), [
|
|
851
|
+
p(i(P), I(D(d.value)), {
|
|
852
|
+
default: h(() => [
|
|
853
|
+
v(l.$slots, "default", {}, () => [
|
|
854
|
+
A(w(e.text), 1)
|
|
825
855
|
])
|
|
826
856
|
]),
|
|
827
857
|
_: 3
|
|
828
858
|
}, 16)
|
|
829
|
-
], 16,
|
|
859
|
+
], 16, jt));
|
|
830
860
|
}
|
|
831
861
|
}), Qt = { class: "navbar-info" }, Kt = { class: "navbar-info__group" }, Wt = {
|
|
832
862
|
key: 0,
|
|
833
863
|
class: "navbar-info__label has-text-body-default hidden-tablet",
|
|
834
864
|
"aria-hidden": "true"
|
|
835
|
-
}, qt = { class: "has-text-body-small" }, Xt = /* @__PURE__ */
|
|
865
|
+
}, qt = { class: "has-text-body-small" }, Xt = /* @__PURE__ */ _({
|
|
836
866
|
__name: "NavbarInfo",
|
|
837
867
|
props: {
|
|
838
868
|
infoTitle: {},
|
|
@@ -840,45 +870,53 @@ const Et = ["id"], It = {
|
|
|
840
870
|
label: {}
|
|
841
871
|
},
|
|
842
872
|
setup(t, { expose: e }) {
|
|
843
|
-
const
|
|
873
|
+
const a = E("tooltip");
|
|
844
874
|
return e({
|
|
845
|
-
show: () =>
|
|
846
|
-
hide: () =>
|
|
847
|
-
}), (
|
|
848
|
-
|
|
875
|
+
show: () => a.value?.show(),
|
|
876
|
+
hide: () => a.value?.hide()
|
|
877
|
+
}), (o, r) => (n(), c("div", Qt, [
|
|
878
|
+
p(i(Ut), {
|
|
849
879
|
ref_key: "tooltip",
|
|
850
|
-
ref:
|
|
880
|
+
ref: a,
|
|
851
881
|
type: "rich",
|
|
852
882
|
title: t.infoTitle,
|
|
853
883
|
trigger: "click",
|
|
854
884
|
dismissable: !0
|
|
855
885
|
}, {
|
|
856
|
-
default:
|
|
886
|
+
default: h(({ tooltipId: d, isOpen: l }) => [
|
|
857
887
|
s("span", Kt, [
|
|
858
|
-
|
|
888
|
+
p(i(Ft), {
|
|
859
889
|
class: "navbar-info__trigger",
|
|
860
890
|
variant: "standard",
|
|
861
891
|
size: "small",
|
|
862
892
|
"icon-only": !0,
|
|
863
|
-
"icon-definition":
|
|
893
|
+
"icon-definition": i(ce),
|
|
864
894
|
"aria-label": "More information",
|
|
865
895
|
"aria-describedby": d,
|
|
866
|
-
"aria-pressed":
|
|
896
|
+
"aria-pressed": l
|
|
867
897
|
}, null, 8, ["icon-definition", "aria-describedby", "aria-pressed"]),
|
|
868
|
-
t.label ? (
|
|
898
|
+
t.label ? (n(), c("span", Wt, w(t.label), 1)) : y("", !0)
|
|
869
899
|
])
|
|
870
900
|
]),
|
|
871
|
-
body:
|
|
872
|
-
|
|
873
|
-
s("div", qt,
|
|
901
|
+
body: h(() => [
|
|
902
|
+
v(o.$slots, "default", {}, () => [
|
|
903
|
+
s("div", qt, w(t.infoMessage), 1)
|
|
874
904
|
], !0)
|
|
875
905
|
]),
|
|
876
906
|
_: 3
|
|
877
907
|
}, 8, ["title"])
|
|
878
908
|
]));
|
|
879
909
|
}
|
|
880
|
-
}),
|
|
910
|
+
}), ii = /* @__PURE__ */ V(Xt, [["__scopeId", "data-v-c3989251"]]);
|
|
881
911
|
export {
|
|
882
|
-
|
|
883
|
-
|
|
912
|
+
lt as AlertBanner,
|
|
913
|
+
ti as AppHeader,
|
|
914
|
+
tt as NavBar,
|
|
915
|
+
Nt as NavbarBrand,
|
|
916
|
+
kt as NavbarBrandLogo,
|
|
917
|
+
St as NavbarBurger,
|
|
918
|
+
ii as NavbarInfo,
|
|
919
|
+
pt as NavbarLinks,
|
|
920
|
+
$t as NavbarSearch,
|
|
921
|
+
Ze as TrustedSite
|
|
884
922
|
};
|