@phila/phila-ui-app-header 0.3.0-beta.6 → 0.3.0-beta.8
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/NavbarInfo.vue.d.ts +161 -2
- package/dist/components/NavBar/NavbarInfo.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/index.css +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +397 -388
- package/package.json +2 -2
package/dist/AppHeader.vue.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ declare function __VLS_template(): {
|
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
5
|
translations?(_: {}): any;
|
|
6
|
-
'info-body'?(_: {}): any;
|
|
7
6
|
'mobile-nav'?(_: {}): any;
|
|
7
|
+
'navbar-end'?(_: {}): any;
|
|
8
8
|
};
|
|
9
9
|
refs: {};
|
|
10
10
|
rootEl: any;
|
|
@@ -15,8 +15,6 @@ declare const __VLS_component: import('vue').DefineComponent<AppHeaderProps, {},
|
|
|
15
15
|
mobileNav: import('vue').Component;
|
|
16
16
|
links: import('./index').NavLink[];
|
|
17
17
|
search: import('vue').Component;
|
|
18
|
-
infoTitle: string;
|
|
19
|
-
infoMessage: string;
|
|
20
18
|
sticky: boolean;
|
|
21
19
|
navbarBrand: import('./index').NavbarBrand;
|
|
22
20
|
bannerTitle: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHeader.vue.d.ts","sourceRoot":"","sources":["../src/AppHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppHeader.vue.d.ts","sourceRoot":"","sources":["../src/AppHeader.vue"],"names":[],"mappings":"AAwCA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAiC9C,iBAAS,cAAc;WAiGT,OAAO,IAA6B;;8BAZhB,GAAG;8BACF,GAAG;8BACH,GAAG;;;;EAerC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;6EAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -4,11 +4,170 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
refs: {
|
|
7
|
+
refs: {
|
|
8
|
+
tooltip: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly trigger?: import('@phila/phila-ui-tooltip').TooltipTrigger | undefined;
|
|
13
|
+
readonly type?: import('@phila/phila-ui-tooltip').TooltipType | undefined;
|
|
14
|
+
readonly color?: import('@phila/phila-ui-tooltip').TooltipColor | undefined;
|
|
15
|
+
readonly tail?: boolean | undefined;
|
|
16
|
+
readonly placement?: import('@phila/phila-ui-tooltip').TooltipPlacement | undefined;
|
|
17
|
+
readonly title?: string | undefined;
|
|
18
|
+
readonly dismissable?: boolean | undefined;
|
|
19
|
+
readonly className?: string | undefined;
|
|
20
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
21
|
+
$attrs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$refs: {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
} & {
|
|
27
|
+
wrapperEl: HTMLSpanElement;
|
|
28
|
+
positionerEl: HTMLSpanElement;
|
|
29
|
+
};
|
|
30
|
+
$slots: Readonly<{
|
|
31
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
34
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
35
|
+
$host: Element | null;
|
|
36
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
37
|
+
$el: any;
|
|
38
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@phila/phila-ui-tooltip').TooltipProps> & Readonly<{}>, {
|
|
39
|
+
show: () => void;
|
|
40
|
+
hide: () => void;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
42
|
+
type: import('@phila/phila-ui-tooltip').TooltipType;
|
|
43
|
+
color: import('@phila/phila-ui-tooltip').TooltipColor;
|
|
44
|
+
tail: boolean;
|
|
45
|
+
placement: import('@phila/phila-ui-tooltip').TooltipPlacement;
|
|
46
|
+
trigger: import('@phila/phila-ui-tooltip').TooltipTrigger;
|
|
47
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
48
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
49
|
+
created?: (() => void) | (() => void)[];
|
|
50
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
51
|
+
mounted?: (() => void) | (() => void)[];
|
|
52
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
53
|
+
updated?: (() => void) | (() => void)[];
|
|
54
|
+
activated?: (() => void) | (() => void)[];
|
|
55
|
+
deactivated?: (() => void) | (() => void)[];
|
|
56
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
57
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
58
|
+
destroyed?: (() => void) | (() => void)[];
|
|
59
|
+
unmounted?: (() => void) | (() => void)[];
|
|
60
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
61
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
62
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
63
|
+
};
|
|
64
|
+
$forceUpdate: () => void;
|
|
65
|
+
$nextTick: typeof import('vue').nextTick;
|
|
66
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
67
|
+
} & Readonly<{
|
|
68
|
+
type: import('@phila/phila-ui-tooltip').TooltipType;
|
|
69
|
+
color: import('@phila/phila-ui-tooltip').TooltipColor;
|
|
70
|
+
tail: boolean;
|
|
71
|
+
placement: import('@phila/phila-ui-tooltip').TooltipPlacement;
|
|
72
|
+
trigger: import('@phila/phila-ui-tooltip').TooltipTrigger;
|
|
73
|
+
}> & Omit<Readonly<import('@phila/phila-ui-tooltip').TooltipProps> & Readonly<{}>, "type" | "trigger" | "color" | "tail" | "placement" | "show" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
74
|
+
show: () => void;
|
|
75
|
+
hide: () => void;
|
|
76
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
77
|
+
$slots: {
|
|
78
|
+
default?(_: {
|
|
79
|
+
tooltipId: string;
|
|
80
|
+
isOpen: boolean;
|
|
81
|
+
}): any;
|
|
82
|
+
body?(_: {}): any;
|
|
83
|
+
};
|
|
84
|
+
}) | null;
|
|
85
|
+
};
|
|
8
86
|
rootEl: HTMLDivElement;
|
|
9
87
|
};
|
|
10
88
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<NavbarInfoProps, {
|
|
89
|
+
declare const __VLS_component: import('vue').DefineComponent<NavbarInfoProps, {
|
|
90
|
+
show: () => void | undefined;
|
|
91
|
+
hide: () => void | undefined;
|
|
92
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NavbarInfoProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
93
|
+
tooltip: ({
|
|
94
|
+
$: import('vue').ComponentInternalInstance;
|
|
95
|
+
$data: {};
|
|
96
|
+
$props: {
|
|
97
|
+
readonly trigger?: import('@phila/phila-ui-tooltip').TooltipTrigger | undefined;
|
|
98
|
+
readonly type?: import('@phila/phila-ui-tooltip').TooltipType | undefined;
|
|
99
|
+
readonly color?: import('@phila/phila-ui-tooltip').TooltipColor | undefined;
|
|
100
|
+
readonly tail?: boolean | undefined;
|
|
101
|
+
readonly placement?: import('@phila/phila-ui-tooltip').TooltipPlacement | undefined;
|
|
102
|
+
readonly title?: string | undefined;
|
|
103
|
+
readonly dismissable?: boolean | undefined;
|
|
104
|
+
readonly className?: string | undefined;
|
|
105
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
106
|
+
$attrs: {
|
|
107
|
+
[x: string]: unknown;
|
|
108
|
+
};
|
|
109
|
+
$refs: {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
} & {
|
|
112
|
+
wrapperEl: HTMLSpanElement;
|
|
113
|
+
positionerEl: HTMLSpanElement;
|
|
114
|
+
};
|
|
115
|
+
$slots: Readonly<{
|
|
116
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
119
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
120
|
+
$host: Element | null;
|
|
121
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
122
|
+
$el: any;
|
|
123
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@phila/phila-ui-tooltip').TooltipProps> & Readonly<{}>, {
|
|
124
|
+
show: () => void;
|
|
125
|
+
hide: () => void;
|
|
126
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
127
|
+
type: import('@phila/phila-ui-tooltip').TooltipType;
|
|
128
|
+
color: import('@phila/phila-ui-tooltip').TooltipColor;
|
|
129
|
+
tail: boolean;
|
|
130
|
+
placement: import('@phila/phila-ui-tooltip').TooltipPlacement;
|
|
131
|
+
trigger: import('@phila/phila-ui-tooltip').TooltipTrigger;
|
|
132
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
133
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
134
|
+
created?: (() => void) | (() => void)[];
|
|
135
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
136
|
+
mounted?: (() => void) | (() => void)[];
|
|
137
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
138
|
+
updated?: (() => void) | (() => void)[];
|
|
139
|
+
activated?: (() => void) | (() => void)[];
|
|
140
|
+
deactivated?: (() => void) | (() => void)[];
|
|
141
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
142
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
143
|
+
destroyed?: (() => void) | (() => void)[];
|
|
144
|
+
unmounted?: (() => void) | (() => void)[];
|
|
145
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
146
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
147
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
148
|
+
};
|
|
149
|
+
$forceUpdate: () => void;
|
|
150
|
+
$nextTick: typeof import('vue').nextTick;
|
|
151
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
152
|
+
} & Readonly<{
|
|
153
|
+
type: import('@phila/phila-ui-tooltip').TooltipType;
|
|
154
|
+
color: import('@phila/phila-ui-tooltip').TooltipColor;
|
|
155
|
+
tail: boolean;
|
|
156
|
+
placement: import('@phila/phila-ui-tooltip').TooltipPlacement;
|
|
157
|
+
trigger: import('@phila/phila-ui-tooltip').TooltipTrigger;
|
|
158
|
+
}> & Omit<Readonly<import('@phila/phila-ui-tooltip').TooltipProps> & Readonly<{}>, "type" | "trigger" | "color" | "tail" | "placement" | "show" | "hide"> & import('vue').ShallowUnwrapRef<{
|
|
159
|
+
show: () => void;
|
|
160
|
+
hide: () => void;
|
|
161
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
162
|
+
$slots: {
|
|
163
|
+
default?(_: {
|
|
164
|
+
tooltipId: string;
|
|
165
|
+
isOpen: boolean;
|
|
166
|
+
}): any;
|
|
167
|
+
body?(_: {}): any;
|
|
168
|
+
};
|
|
169
|
+
}) | null;
|
|
170
|
+
}, HTMLDivElement>;
|
|
12
171
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
172
|
export default _default;
|
|
14
173
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarInfo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarInfo.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavbarInfo.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarInfo.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAkBnD,iBAAS,cAAc;WAyGT,OAAO,IAA6B;;yBAXpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqD0kiB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;EArChuiB;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwBsliB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;kBAf/tiB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -6,9 +6,9 @@ declare function __VLS_template(): {
|
|
|
6
6
|
'mobile-nav'?(_: {}): any;
|
|
7
7
|
'navbar-logo'?(_: {}): any;
|
|
8
8
|
'navbar-brand-link'?(_: {}): any;
|
|
9
|
-
'info-body'?(_: {}): any;
|
|
10
9
|
'navbar-links'?(_: {}): any;
|
|
11
10
|
'navbar-search'?(_: {}): any;
|
|
11
|
+
'navbar-end'?(_: {}): any;
|
|
12
12
|
};
|
|
13
13
|
refs: {
|
|
14
14
|
navBarElement: HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.vue"],"names":[],"mappings":"AAsNA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAkC1C,iBAAS,cAAc;WA0JT,OAAO,IAA6B;;iCAjBb,GAAG;8BACN,GAAG;+BACF,GAAG;qCACI,GAAG;gCACR,GAAG;iCACF,GAAG;8BACN,GAAG;;;;;;EAgBrC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;eASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
#trusted-site[data-v-3fc90bb2]{width:100%;height:3rem;padding:0 var(--spacing-l);box-sizing:border-box;background-color:var(--ghost-grey-500-ghost-grey)}#trusted-site .content[data-v-3fc90bb2]{color:var(--Schemes-On-Surface);font-size:var(--Body-ExtraSmall-font-body-xs-size)}#trusted-site button[data-v-3fc90bb2]{--Schemes-Surface-Container-Lowest: transparent;font-size:var(--Body-ExtraSmall-font-body-xs-size)!important}#trusted-site .trusted-toggle[data-v-3fc90bb2]{height:100%}#trusted-site-info[data-v-3fc90bb2]{background-color:var(--ghost-grey-500-ghost-grey)}#trusted-site-info .circle-icon[data-v-3fc90bb2]{border:solid 1px currentColor;border-radius:100%;font-size:var(--scale-250);aspect-ratio:1;display:inline-flex;justify-content:center;align-content:center}#trusted-site-info .info-item:first-child .trusted-icon[data-v-3fc90bb2]{color:var(--Schemes-Secondary)}#trusted-site-info .info-item:last-child .trusted-icon[data-v-3fc90bb2]{color:var(--Palettes-Success-Success-400)}.phila-navbar-logo[data-v-3011c249]{font-size:1.2rem}.phila-navbar-logo.logo--single-line[data-v-3011c249]{font-size:1.6rem}
|
|
1
|
+
#trusted-site[data-v-3fc90bb2]{width:100%;height:3rem;padding:0 var(--spacing-l);box-sizing:border-box;background-color:var(--ghost-grey-500-ghost-grey)}#trusted-site .content[data-v-3fc90bb2]{color:var(--Schemes-On-Surface);font-size:var(--Body-ExtraSmall-font-body-xs-size)}#trusted-site button[data-v-3fc90bb2]{--Schemes-Surface-Container-Lowest: transparent;font-size:var(--Body-ExtraSmall-font-body-xs-size)!important}#trusted-site .trusted-toggle[data-v-3fc90bb2]{height:100%}#trusted-site-info[data-v-3fc90bb2]{background-color:var(--ghost-grey-500-ghost-grey)}#trusted-site-info .circle-icon[data-v-3fc90bb2]{border:solid 1px currentColor;border-radius:100%;font-size:var(--scale-250);aspect-ratio:1;display:inline-flex;justify-content:center;align-content:center}#trusted-site-info .info-item:first-child .trusted-icon[data-v-3fc90bb2]{color:var(--Schemes-Secondary)}#trusted-site-info .info-item:last-child .trusted-icon[data-v-3fc90bb2]{color:var(--Palettes-Success-Success-400)}.phila-navbar-logo[data-v-3011c249]{font-size:1.2rem}.phila-navbar-logo.logo--single-line[data-v-3011c249]{font-size:1.6rem}body:has(.phila-navbar .phila-navbar-item-flyout-active){overflow:hidden}.phila-navbar[data-v-caf52a6d]{display:flex;justify-content:space-between;background-color:var(--union-blue-500-union-blue);column-gap:var(--spacing-3xl);height:5rem;overflow-x:clip;overflow-y:visible}.phila-navbar .phila-navbar-brand[data-v-caf52a6d],.phila-navbar .phila-navbar-list[data-v-caf52a6d],.phila-navbar .phila-navbar-search[data-v-caf52a6d],.phila-navbar .phila-navbar-end[data-v-caf52a6d],.phila-navbar .phila-navbar-item[data-v-caf52a6d],.phila-navbar .phila-navbar-burger[data-v-caf52a6d]{display:flex}[data-v-caf52a6d] a.phila-navbar-link,.phila-navbar a.phila-navbar-link[data-v-caf52a6d]{text-decoration:none;color:var(--Schemes-On-Inverse-Surface-Bright)}[data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]{list-style:none;padding:0;margin:0;column-gap:var(--spacing-l)}:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item{height:100%;display:flex;align-items:center}:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link{display:flex;align-items:center;height:100%}:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link:hover,:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link:active,:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link.phila-navbar-item-flyout-active{color:var(--union-blue-200-union-blue);background-color:var(--Palettes-Secondary-Secondary-650)}:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link:active,:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link.phila-navbar-item-flyout-active{outline-offset:0!important}:is([data-v-caf52a6d] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-caf52a6d]) .phila-navbar-link-list-item .phila-navbar-link:focus{outline:2px solid var(--Focus-Ring-Color);outline-offset:2px}[data-v-caf52a6d] .phila-navbar-burger,.phila-navbar .phila-navbar-burger[data-v-caf52a6d]{flex:0 0 auto;aspect-ratio:1;height:5rem!important;width:5rem!important;align-items:center;justify-content:center;background-color:var(--flyers-orange-450-flyers-orange);border-radius:0!important;font-size:var(--scale-400);color:var(--Schemes-On-Surface);box-shadow:none}:is([data-v-caf52a6d] .phila-navbar-burger,.phila-navbar .phila-navbar-burger[data-v-caf52a6d]).phila-navbar-item-flyout-active{color:var(--Schemes-Primary, #2176d2);background-color:var(--Schemes-Surface-Container-Low)}[data-v-caf52a6d] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-caf52a6d]{flex:1 1 auto;align-items:center}:is([data-v-caf52a6d] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-caf52a6d]) a{font-weight:400}:is([data-v-caf52a6d] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-caf52a6d]) img:hover{opacity:.8}:is([data-v-caf52a6d] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-caf52a6d]) .phila-navbar-brand-link{margin-left:var(--spacing-xl)}[data-v-caf52a6d] .nav-flyout,.phila-navbar .nav-flyout[data-v-caf52a6d]{position:absolute;top:var(--nav-height);left:0;width:100%;z-index:9999;overflow-y:auto;max-height:calc(100vh - var(--nav-bottom))}[data-v-caf52a6d] .phila-navbar-search,.phila-navbar .phila-navbar-search[data-v-caf52a6d]{flex:0 0 auto;align-items:center}:is([data-v-caf52a6d] .phila-navbar-search,.phila-navbar .phila-navbar-search[data-v-caf52a6d]) button{background-color:var(--Schemes-Primary);box-shadow:none}[data-v-caf52a6d] .phila-navbar-end,.phila-navbar .phila-navbar-end[data-v-caf52a6d]{flex:0 0 auto;align-items:center;padding-right:var(--spacing-l)}.site-wide-alert{display:flex;align-items:center;gap:var(--spacing-m, 1rem);align-self:stretch;background:var(--Schemes-Alert-Container, #ffe9b0)}.alert-content{display:flex;max-width:60rem;padding:var(--spacing-m, 1rem) var(--spacing-l, 1.5rem);align-items:flex-start;gap:var(--spacing-m, 1rem);flex:1 0 0}.tooltip[data-v-0155bbdd]{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;border-radius:var(--border-radius-xs);filter:drop-shadow(0px 1px 2px rgba(0,0,0,.3)) drop-shadow(0px 1px 3px rgba(0,0,0,.15));--tooltip-bg: var(--Schemes-On-Primary);background-color:var(--tooltip-bg);color:var(--Schemes-On-Background)}.tooltip.tooltip--grey[data-v-0155bbdd]{--tooltip-bg: var(--Schemes-Surface-Container-Lowest);color:var(--Schemes-On-Surface)}.tooltip.tooltip--plain[data-v-0155bbdd]{--tail-height: 10px;padding:var(--spacing-2xs) var(--spacing-xs);justify-content:center}.tooltip.tooltip--rich[data-v-0155bbdd]{--tail-height: 12px;padding:var(--spacing-s) var(--spacing-m);width:max-content;min-width:11.25rem;max-width:25rem;gap:var(--spacing-xs)}.tooltip .tooltip__tail[data-v-0155bbdd]{position:absolute;width:20px;height:var(--tail-height);background-color:var(--tooltip-bg)}.tooltip.tooltip--top-left .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--top-right .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--top-center .tooltip__tail[data-v-0155bbdd]{clip-path:polygon(0 0,100% 0,50% 100%);bottom:calc(-1 * var(--tail-height) + 1px)}.tooltip.tooltip--bottom-left .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--bottom-right .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--bottom-center .tooltip__tail[data-v-0155bbdd]{clip-path:polygon(50% 0,0 100%,100% 100%);top:calc(-1 * var(--tail-height) + 1px)}.tooltip.tooltip--top-left .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--bottom-left .tooltip__tail[data-v-0155bbdd]{left:8px}.tooltip.tooltip--top-right .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--bottom-right .tooltip__tail[data-v-0155bbdd]{right:8px}.tooltip.tooltip--top-center .tooltip__tail[data-v-0155bbdd],.tooltip.tooltip--bottom-center .tooltip__tail[data-v-0155bbdd]{left:50%;transform:translate(-50%)}.tooltip__plain-row[data-v-0155bbdd],.tooltip__title-row[data-v-0155bbdd]{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--spacing-xs);width:100%}.tooltip__title-row h6[data-v-0155bbdd]{flex:1}.tooltip__dismiss[data-v-0155bbdd]{margin-left:auto;flex-shrink:0}.tooltip-trigger[data-v-bea2f168]{position:relative;display:inline-block}.tooltip-trigger__positioner[data-v-bea2f168]{position:absolute;z-index:1000}.tooltip-trigger__positioner.tooltip-trigger__positioner--top-left[data-v-bea2f168]{bottom:100%;left:-8px;padding-bottom:var(--positioner-gap)}.tooltip-trigger__positioner.tooltip-trigger__positioner--top-right[data-v-bea2f168]{bottom:100%;right:-8px;padding-bottom:var(--positioner-gap)}.tooltip-trigger__positioner.tooltip-trigger__positioner--top-center[data-v-bea2f168]{bottom:100%;left:50%;transform:translate(-50%);padding-bottom:var(--positioner-gap)}.tooltip-trigger__positioner.tooltip-trigger__positioner--bottom-left[data-v-bea2f168]{top:100%;left:-8px;padding-top:var(--positioner-gap)}.tooltip-trigger__positioner.tooltip-trigger__positioner--bottom-right[data-v-bea2f168]{top:100%;right:-8px;padding-top:var(--positioner-gap)}.tooltip-trigger__positioner.tooltip-trigger__positioner--bottom-center[data-v-bea2f168]{top:100%;left:50%;transform:translate(-50%);padding-top:var(--positioner-gap)}.navbar-info[data-v-c3989251]{display:flex;align-items:center;cursor:pointer}.navbar-info [data-v-c3989251] .navbar-info__trigger.icon-button--standard{color:var(--Schemes-On-Primary)}.navbar-info .navbar-info__group[data-v-c3989251]:not(:hover) .navbar-info__trigger.icon-button--standard{color:#fff}.navbar-info .navbar-info__group[data-v-c3989251]:hover .navbar-info__trigger.icon-button--standard{background:var(--Schemes-Surface-Container)}.navbar-info .navbar-info__group[data-v-c3989251] .navbar-info__trigger.icon-button--standard[aria-pressed=true]{color:#fff;background:transparent}.navbar-info__group[data-v-c3989251]{display:flex;align-items:center}.navbar-info__label[data-v-c3989251]{color:var(--Extended-Colors-link-default);text-decoration:underline;font-weight:400;margin-left:var(--spacing-xs);-webkit-user-select:none;user-select:none}.navbar-info__group:hover .navbar-info__label[data-v-c3989251]{color:var(--Extended-Colors-link-hover);text-decoration-color:var(--Extended-Colors-link-hover)}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { BaseProps } from '@phila/phila-ui-core';
|
|
|
2
2
|
import { LogoProps } from '@phila/phila-ui-logo';
|
|
3
3
|
import { Component } from 'vue';
|
|
4
4
|
export { default as AppHeader } from './AppHeader.vue';
|
|
5
|
+
export { default as NavbarInfo } from './components/NavBar/NavbarInfo.vue';
|
|
5
6
|
export interface CollapseProps {
|
|
6
7
|
collapseGroup?: string;
|
|
7
8
|
}
|
|
@@ -38,10 +39,12 @@ export interface NavLink {
|
|
|
38
39
|
export interface NavbarInfoProps {
|
|
39
40
|
/** Title shown in the info tooltip. */
|
|
40
41
|
infoTitle?: string;
|
|
41
|
-
/** Default body message shown in the info tooltip. Replaced by the
|
|
42
|
+
/** Default body message shown in the info tooltip. Replaced by the slot default when provided. */
|
|
42
43
|
infoMessage?: string;
|
|
44
|
+
/** Optional text label rendered alongside the info icon. Clicking it also opens the tooltip. */
|
|
45
|
+
label?: string;
|
|
43
46
|
}
|
|
44
|
-
export interface NavBarProps extends NavbarBurgerProps, NavbarSearchProps, NavbarLinksProps
|
|
47
|
+
export interface NavBarProps extends NavbarBurgerProps, NavbarSearchProps, NavbarLinksProps {
|
|
45
48
|
id: string;
|
|
46
49
|
sticky?: boolean;
|
|
47
50
|
navbarBrand?: NavbarBrand;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AACD,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AACD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;CACnB;AACD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,uGAAuG;IACvG,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,aAAa;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AACD,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AACD,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;CACnB;AACD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,WAAW;IAC1B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,uGAAuG;IACvG,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kGAAkG;IAClG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAY,SAAQ,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB;IACzF,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,WAAW,EAAE,gBAAgB;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B"}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const e=require("vue"),m=require("@fortawesome/vue-fontawesome"),c=require("@phila/phila-ui-core"),h=require("@phila/phila-ui-collapse-panel"),I=require("@phila/phila-ui-logo");var F={prefix:"fas",iconName:"magnifying-glass",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"]},O=F,R={prefix:"fas",iconName:"circle-exclamation",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"]},_={prefix:"fas",iconName:"xmark",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"]},U=_,E=_,P={prefix:"fas",iconName:"lock",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"]},V={prefix:"fas",iconName:"caret-up",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"]},w={prefix:"fas",iconName:"caret-down",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"]},H={prefix:"fas",iconName:"building-columns",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"]},G={prefix:"fas",iconName:"bars",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"]},j={prefix:"fas",iconName:"circle-info",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"]},$=j;const q="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",Q={id:"trusted-site",class:"is-flex is-justify-space-between"},K={class:"trusted-wrap"},W={class:"hidden-tablet trusted-toggle is-flex is-align-center"},Y=["src"],Z=["aria-label","aria-expanded"],X={class:"icon","aria-hidden":"true"},J={class:"hidden-desktop trusted-toggle is-flex is-align-center"},ee=["aria-label","aria-expanded"],te={class:"icon","aria-hidden":"true"},ne={key:0,class:"trusted-translation is-flex is-align-center"},oe=["hidden"],ae={class:"trusted-site-info-content content has-text-body-small is-flex is-justify-space-between"},ie={class:"info-item-wrap is-flex"},le={class:"info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4"},se={class:"trusted-icon is-flex is-flex-column has-text-center"},re={class:"icon circle-icon p-3 mb-2"},ce={class:"info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4"},de={class:"trusted-icon is-flex is-flex-column has-text-center"},ue={class:"icon circle-icon p-3 mb-2"},me={class:"info-content-close mt-4"},fe=e.defineComponent({__name:"TrustedSite",setup(n){const t=e.useSlots(),{isCollapsed:l,onClickToggle:o}=c.useCollapse({id:"trusted-site-info",escapeKeyClose:!0}),s=e.computed(()=>l("trusted-site-info"));return(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",Q,[e.createElementVNode("div",K,[e.createElementVNode("div",W,[e.createElementVNode("img",{src:e.unref(q),alt:"",class:"icon"},null,8,Y),a[4]||(a[4]=e.createElementVNode("div",{class:"content mx-2"},"An official website of the City of Philadelphia government",-1)),e.createElementVNode("button",{class:"phila-button is-extra-small","aria-label":`${s.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":s.value,onClick:a[0]||(a[0]=(...i)=>e.unref(o)&&e.unref(o)(...i))},[a[3]||(a[3]=e.createTextVNode(" Here's how you know ",-1)),e.createElementVNode("span",X,[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:s.value?e.unref(V):e.unref(w)},null,8,["icon"])])],8,Z)]),e.createElementVNode("div",J,[e.createElementVNode("button",{class:"phila-button is-extra-small","aria-label":`${s.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":s.value,onClick:a[1]||(a[1]=(...i)=>e.unref(o)&&e.unref(o)(...i))},[a[5]||(a[5]=e.createTextVNode(" An official website ",-1)),e.createElementVNode("span",te,[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:e.unref($)},null,8,["icon"])])],8,ee)])]),e.unref(t).translation?(e.openBlock(),e.createElementBlock("div",ne,[e.renderSlot(r.$slots,"translation",{},void 0,!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{id:"trusted-site-info",class:"px-6",hidden:!s.value},[e.createElementVNode("div",ae,[e.createElementVNode("div",ie,[e.createElementVNode("div",le,[e.createElementVNode("div",se,[e.createElementVNode("span",re,[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:e.unref(H)},null,8,["icon"])]),a[6]||(a[6]=e.createElementVNode("span",{class:"has-text-bold"},".gov",-1))]),a[7]||(a[7]=e.createElementVNode("div",{class:"trusted-text m-4"},"Only government entities in the U.S. can end in .gov",-1))]),e.createElementVNode("div",ce,[e.createElementVNode("div",de,[e.createElementVNode("div",ue,[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:e.unref(P)},null,8,["icon"])]),a[8]||(a[8]=e.createElementVNode("span",{class:"has-text-bold"},"https://",-1))]),a[9]||(a[9]=e.createElementVNode("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))])]),e.createElementVNode("div",me,[e.createElementVNode("button",{class:"phila-button phila-button--primary icon-button is-extra-small","aria-label":"Close Trusted Site information panel",onClick:a[2]||(a[2]=(...i)=>e.unref(o)&&e.unref(o)(...i))},[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:e.unref(U)},null,8,["icon"])])])])],8,oe)],64))}}),v=(n,t)=>{const l=n.__vccOpts||n;for(const[o,s]of t)l[o]=s;return l},pe=v(fe,[["__scopeId","data-v-3fc90bb2"]]),ve=["aria-controls","aria-expanded","aria-label","onClick"],be={class:"icon"},he=["id","hidden"],ke=e.defineComponent({__name:"NavbarBurger",props:{mobileNav:{},collapseGroup:{}},setup(n){return(t,l)=>(e.openBlock(),e.createBlock(e.unref(h.CollapsePanel),{id:"mobile-nav",group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","open-single":""},{toggle:e.withCtx(o=>[e.createElementVNode("button",{class:e.normalizeClass(["phila-navbar-burger phila-button icon-button",{"phila-navbar-item-flyout-active":o.open}]),"aria-controls":o.ariaControls,"aria-expanded":o.open,"aria-label":`${o.open?"Close":"Open"} mobile navigation panel`,onClick:o.onClick},[e.createElementVNode("span",be,[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:o.open?e.unref(E):e.unref(G)},null,8,["icon"])])],10,ve)]),default:e.withCtx(o=>[e.createElementVNode("div",{id:o.id,class:"phila-mobile-nav",hidden:!o.open},[e.renderSlot(t.$slots,"mobile-nav",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.mobileNav)))])],8,he)]),_:3},8,["group"]))}}),ge=["href"],ye=["href","aria-controls","aria-expanded","onKeypress","onTouchend","onClick"],Be=["id","hidden"],Ne={key:0,class:"content nav-flyout has-background-ghost-gray px-6 py-4",tabindex:"-1"},Ce={class:"is-flex is-flex-column is-flex-wrap-wrap",style:{gap:"var(--spacing-4xl)"}},xe=["href"],_e=e.defineComponent({__name:"NavbarLinks",props:{links:{},collapseGroup:{}},setup(n){const t=o=>!!(o.subLinks||o.subNav),l=o=>`main-nav-${o.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g,"")}`;return(o,s)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.links,(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t(r)?(e.openBlock(),e.createBlock(e.unref(h.CollapsePanel),{id:l(r),key:`collapse-${a}`,group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","mouse-over-toggle":"","open-single":"",class:"phila-navbar-link-list-item"},{toggle:e.withCtx(i=>[e.createElementVNode("a",{href:r.href,class:e.normalizeClass(["phila-navbar-link px-4",{"phila-navbar-item-flyout-active":i.open}]),"aria-controls":i.ariaControls,"aria-expanded":i.open,tabindex:"0",onKeypress:e.withKeys(i.onClick,["enter"]),onTouchend:i.onClick,onClick:i.onClick},[e.createTextVNode(e.toDisplayString(r.text)+" ",1),e.createVNode(e.unref(m.FontAwesomeIcon),{class:"ml-1",icon:i.open?e.unref(V):e.unref(w)},null,8,["icon"])],42,ye)]),default:e.withCtx(i=>[(e.openBlock(),e.createElementBlock("div",{id:i.id,key:r.text,hidden:!i.open},[r.subLinks?(e.openBlock(),e.createElementBlock("div",Ne,[e.createElementVNode("ul",Ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.subLinks,u=>(e.openBlock(),e.createElementBlock("li",{key:u.text,class:"sub-nav-link is-flex is-align-center",style:{width:"150px"}},[e.createElementVNode("a",{href:u.href,class:"has-text-link has-text-weight-medium",tabindex:"0"},e.toDisplayString(u.text),9,xe)]))),128))])])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.subNav),{key:1}))],8,Be))]),_:2},1032,["id","group"])):(e.openBlock(),e.createElementBlock("div",{key:`link-${a}`,class:"phila-navbar-link-list-item"},[e.createElementVNode("a",{href:r.href,class:"phila-navbar-link px-4",tabindex:"0"},e.toDisplayString(r.text),9,ge)]))],64))),256))}}),Ee=e.defineComponent({__name:"NavbarBrandLogo",props:{logo:{},src:{},href:{},altText:{}},setup(n){const t=n,l=e.computed(()=>({variant:"city",layout:"stacked",colorScheme:"on-primary",href:t.href,...t.logo}));return(o,s)=>(e.openBlock(),e.createBlock(e.unref(I.Logo),e.mergeProps(l.value,{class:"phila-navbar-logo"}),null,16))}}),Ve=v(Ee,[["__scopeId","data-v-3011c249"]]),we={class:"pr-4"},$e=["aria-controls","aria-expanded","aria-label","onClick"],Se={class:"icon"},ze=["id","hidden"],Ae=e.defineComponent({__name:"NavbarSearch",props:{search:{},collapseGroup:{}},setup(n){return(t,l)=>(e.openBlock(),e.createBlock(e.unref(h.CollapsePanel),{id:"navbar-search",group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","open-single":""},{toggle:e.withCtx(o=>[e.createElementVNode("div",we,[e.createElementVNode("button",{class:e.normalizeClass(["phila-button phila-button--primary icon-button is-small",{"phila-navbar-item-flyout-active":o.open}]),"aria-controls":o.ariaControls,"aria-expanded":o.open,"aria-label":`${o.open?"Close":"Open"} search panel`,onClick:o.onClick},[e.createElementVNode("span",Se,[e.createVNode(e.unref(m.FontAwesomeIcon),{icon:o.open?e.unref(E):e.unref(O)},null,8,["icon"])])],10,$e)])]),default:e.withCtx(o=>[e.createElementVNode("div",{id:o.id,class:"nav-flyout is-12",hidden:!o.open},[e.renderSlot(t.$slots,"default",{},()=>[n.search&&o.open?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.search),{key:0})):e.createCommentVNode("",!0)])],8,ze)]),_:3},8,["group"]))}}),Me=["disabled"],N=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,l=a=>"href"in a&&a.href!==void 0||"to"in a&&a.to!==void 0,o=e.computed(()=>c.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),s=e.computed(()=>l(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:o.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:o.value}:{}),r=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(a,i)=>l(t)?(e.openBlock(),e.createBlock(e.unref(c.BaseLink),e.mergeProps({key:0},{...s.value,...a.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:o.value},a.$attrs),[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,Me))}});var C={prefix:"fas",iconName:"xmark",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"]};const Le=["id"],Te={key:0,class:"tooltip__tail","aria-hidden":"true"},De={key:1,class:"tooltip__plain-row has-text-body-small"},Ie={key:0,class:"tooltip__title-row"},Fe={key:0},Oe=e.defineComponent({__name:"TooltipBubble",props:{id:{},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"top-center"},title:{},dismissable:{type:Boolean,default:!1},className:{}},emits:["dismiss"],setup(n){const t=n,l=e.computed(()=>c.cn("tooltip","content","resets-link-colors",`tooltip--${t.type}`,`tooltip--${t.color}`,t.tail&&`tooltip--${t.placement}`,t.className));return(o,s)=>(e.openBlock(),e.createElementBlock("div",{id:n.id,class:e.normalizeClass(l.value),role:"tooltip"},[n.tail?(e.openBlock(),e.createElementBlock("div",Te)):e.createCommentVNode("",!0),n.type==="plain"?(e.openBlock(),e.createElementBlock("div",De,[e.renderSlot(o.$slots,"default",{},void 0,!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(N),{key:0,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(C),"aria-label":"Dismiss tooltip",onClick:s[0]||(s[0]=r=>o.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[n.title||n.dismissable?(e.openBlock(),e.createElementBlock("div",Ie,[n.title?(e.openBlock(),e.createElementBlock("h6",Fe,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(N),{key:1,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(C),"aria-label":"Dismiss tooltip",onClick:s[1]||(s[1]=r=>o.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},void 0,!0)],64))],10,Le))}}),S=(n,t)=>{const l=n.__vccOpts||n;for(const[o,s]of t)l[o]=s;return l},Re=S(Oe,[["__scopeId","data-v-0155bbdd"]]),Ue=e.defineComponent({__name:"Tooltip",props:{trigger:{default:"hover"},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"auto"},title:{},dismissable:{type:Boolean},className:{}},setup(n){const t=n,l=e.useId(),o=e.ref(!1),s=e.ref(null),r=e.ref(null),a=e.ref("top-center"),i=()=>{const d=s.value?.getBoundingClientRect();if(!d)return"top-center";const{innerWidth:p,innerHeight:M}=window,g=d.top,L=M-d.bottom,y=r.value?.firstElementChild?.getBoundingClientRect().height??0,T=(y>0?g>=y:g>=L)?"top":"bottom",B=d.left+d.width/2,D=B<p/3?"left":B>p*2/3?"right":"center";return`${T}-${D}`},u=d=>{d.key==="Escape"&&f()},k=d=>{s.value&&!s.value.contains(d.target)&&f()},b=()=>{t.placement==="auto"?a.value=i():a.value=t.placement,o.value=!0,document.addEventListener("keydown",u),t.trigger==="click"&&document.addEventListener("click",k)},f=()=>{o.value=!1,document.removeEventListener("keydown",u),document.removeEventListener("click",k)},z=()=>{o.value?f():b()};e.onUnmounted(f);const A=e.computed(()=>({type:t.type,color:t.color,tail:t.tail,placement:a.value,title:t.title,dismissable:t.dismissable}));return(d,p)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps({ref_key:"wrapperEl",ref:s,class:e.unref(c.cn)("tooltip-trigger",t.className)},n.trigger==="click"?{onClick:z}:{onMouseenter:b,onMouseleave:f,onFocusin:b,onFocusout:f}),[e.renderSlot(d.$slots,"default",{tooltipId:e.unref(l)},void 0,!0),e.createElementVNode("span",{ref_key:"positionerEl",ref:r,class:e.normalizeClass(["tooltip-trigger__positioner",`tooltip-trigger__positioner--${a.value}`]),style:e.normalizeStyle({visibility:o.value?"visible":"hidden","--positioner-gap":n.tail?"var(--spacing-l)":"0.5rem"}),onClick:p[0]||(p[0]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(Re,e.mergeProps(A.value,{id:e.unref(l),onDismiss:f}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"body",{},void 0,!0)]),_:3},16,["id"])],6)],16))}}),Pe=S(Ue,[["__scopeId","data-v-5dcd06cf"]]),He=["disabled"],Ge=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,l=a=>"href"in a&&a.href!==void 0||"to"in a&&a.to!==void 0,o=e.computed(()=>c.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),s=e.computed(()=>l(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:o.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:o.value}:{}),r=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(a,i)=>l(t)?(e.openBlock(),e.createBlock(e.unref(c.BaseLink),e.mergeProps({key:0},{...s.value,...a.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:o.value},a.$attrs),[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,He))}}),je={class:"navbar-info"},qe={class:"has-text-body-small"},Qe=e.defineComponent({__name:"NavbarInfo",props:{infoTitle:{},infoMessage:{}},setup(n){return(t,l)=>(e.openBlock(),e.createElementBlock("div",je,[e.createVNode(e.unref(Pe),{type:"rich",title:n.infoTitle,trigger:"click",dismissable:!0},{default:e.withCtx(({tooltipId:o})=>[e.createVNode(e.unref(Ge),{class:"navbar-info__trigger",variant:"standard",size:"small","icon-only":!0,"icon-definition":e.unref($),"aria-label":"More information","aria-describedby":o},null,8,["icon-definition","aria-describedby"])]),body:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createElementVNode("div",qe,e.toDisplayString(n.infoMessage),1)],!0)]),_:3},8,["title"])]))}}),Ke=v(Qe,[["__scopeId","data-v-56b79838"]]),We={class:"phila-navbar-brand"},Ye={key:0,class:"phila-navbar-item phila-navbar-brand-link hidden-tablet"},Ze={key:0,class:"content"},Xe=["href"],Je={class:"phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet"},et={class:"phila-navbar-search"},x="5rem",tt=e.defineComponent({__name:"index",props:{id:{},sticky:{type:Boolean},navbarBrand:{},mobileNav:{},collapseGroup:{},search:{},links:{default:()=>[{text:"Home",href:"#"}]},infoTitle:{},infoMessage:{}},setup(n){const t=n,{state:l}=c.useCollapse(),o=e.useTemplateRef("navBarElement"),s=e.ref(x),r=e.ref(0),a=c.debounce(()=>{const i=(o.value?.offsetTop||0)+(o.value?.offsetHeight||0),u=typeof window<"u"?window.innerWidth:1024;s.value=!t.sticky||u<1024?i+"px":x,r.value=i},100);return e.watch(()=>l.value,a,{deep:!0,immediate:!0}),e.onMounted(()=>{window.addEventListener("resize",a)}),e.onUnmounted(()=>{window.removeEventListener("resize",a)}),(i,u)=>(e.openBlock(),e.createElementBlock("nav",{ref_key:"navBarElement",ref:o,class:e.normalizeClass(["phila-navbar has-links-on-primary",{"is-sticky-desktop":n.sticky}]),"aria-label":"Main navigation",style:e.normalizeStyle(`--nav-height:${s.value};--nav-bottom:${r.value}px`)},[e.renderSlot(i.$slots,"navbar-burger",{},()=>[n.mobileNav||i.$slots["mobile-nav"]?(e.openBlock(),e.createBlock(ke,{key:0,"mobile-nav":n.mobileNav,"collapse-group":n.id},e.createSlots({_:2},[i.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"mobile-nav",{},void 0,!0)]),key:"0"}:void 0]),1032,["mobile-nav","collapse-group"])):e.createCommentVNode("",!0)],!0),e.createElementVNode("div",We,[e.renderSlot(i.$slots,"navbar-logo",{},()=>[n.navbarBrand?.brandingImage?(e.openBlock(),e.createBlock(Ve,e.mergeProps({key:0},n.navbarBrand.brandingImage,{logo:n.navbarBrand?.logo}),null,16,["logo"])):e.createCommentVNode("",!0)],!0),i.$slots["navbar-brand-link"]||n.navbarBrand?.brandingLink?(e.openBlock(),e.createElementBlock("div",Ye,[e.renderSlot(i.$slots,"navbar-brand-link",{},()=>[n.navbarBrand?.brandingLink?(e.openBlock(),e.createElementBlock("div",Ze,[e.createElementVNode("a",{tabindex:"0",href:n.navbarBrand.brandingLink.href,class:"has-text-underline"},e.toDisplayString(n.navbarBrand.brandingLink.text),9,Xe)])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0),n.infoTitle||n.infoMessage||i.$slots["info-body"]?(e.openBlock(),e.createBlock(Ke,{key:1,"info-title":n.infoTitle,"info-message":n.infoMessage},{default:e.withCtx(()=>[i.$slots["info-body"]?e.renderSlot(i.$slots,"info-body",{key:0},void 0,!0):e.createCommentVNode("",!0)]),_:3},8,["info-title","info-message"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Je,[e.renderSlot(i.$slots,"navbar-links",{},()=>[n.links?(e.openBlock(),e.createBlock(_e,{key:0,links:n.links,"collapse-group":n.id},null,8,["links","collapse-group"])):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("div",et,[e.renderSlot(i.$slots,"navbar-search",{},()=>[n.search?(e.openBlock(),e.createBlock(Ae,{key:0,search:n.search,"collapse-group":n.id},null,8,["search","collapse-group"])):e.createCommentVNode("",!0)],!0)])],6))}}),nt=v(tt,[["__scopeId","data-v-9e862e20"]]),ot={class:"site-wide-alert content"},at={class:"alert-content"},it={class:"content-text"},lt={class:"title"},st={class:"body"},rt=e.defineComponent({__name:"AlertBanner",props:{bannerTitle:{},bannerMessage:{}},setup(n){const t=n;return(l,o)=>(e.openBlock(),e.createElementBlock("div",ot,[e.createElementVNode("div",at,[e.createVNode(e.unref(c.Icon),{"icon-definition":e.unref(R),size:"small",decorative:!0},null,8,["icon-definition"]),e.createElementVNode("div",it,[e.createElementVNode("h6",lt,e.toDisplayString(t.bannerTitle),1),e.createElementVNode("div",st,e.toDisplayString(t.bannerMessage),1)])])]))}}),ct=e.defineComponent({__name:"AppHeader",props:{showTrustedSite:{type:Boolean,default:!0},translations:{default:void 0},className:{},id:{default:"main-nav"},sticky:{type:Boolean,default:!0},navbarBrand:{default:void 0},mobileNav:{default:void 0},collapseGroup:{},search:{default:void 0},links:{default:void 0},infoTitle:{default:void 0},infoMessage:{default:void 0},bannerTitle:{default:void 0},bannerMessage:{default:void 0}},setup(n){return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.showTrustedSite?(e.openBlock(),e.createBlock(pe,{key:0},{translation:e.withCtx(()=>[e.renderSlot(t.$slots,"translations",{},()=>[n.translations?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.translations),{key:0})):e.createCommentVNode("",!0)])]),_:3})):e.createCommentVNode("",!0),e.createVNode(nt,{id:n.id,sticky:n.sticky,"mobile-nav":n.mobileNav,links:n.links,"navbar-brand":n.navbarBrand,search:n.search,"info-title":n.infoTitle,"info-message":n.infoMessage},e.createSlots({_:2},[t.$slots["info-body"]?{name:"info-body",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"info-body")]),key:"0"}:void 0,t.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"mobile-nav")]),key:"1"}:void 0]),1032,["id","sticky","mobile-nav","links","navbar-brand","search","info-title","info-message"]),n.bannerTitle||n.bannerMessage?(e.openBlock(),e.createBlock(rt,{key:1,"banner-title":n.bannerTitle,"banner-message":n.bannerMessage},null,8,["banner-title","banner-message"])):e.createCommentVNode("",!0)],64))}});exports.AppHeader=ct;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const e=require("vue"),f=require("@fortawesome/vue-fontawesome"),c=require("@phila/phila-ui-core"),b=require("@phila/phila-ui-collapse-panel"),O=require("@phila/phila-ui-logo");var F={prefix:"fas",iconName:"magnifying-glass",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"]},R=F,U={prefix:"fas",iconName:"circle-exclamation",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"]},E={prefix:"fas",iconName:"xmark",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"]},P=E,V=E,H={prefix:"fas",iconName:"lock",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"]},$={prefix:"fas",iconName:"caret-up",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"]},w={prefix:"fas",iconName:"caret-down",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"]},G={prefix:"fas",iconName:"building-columns",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"]},j={prefix:"fas",iconName:"bars",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"]},q={prefix:"fas",iconName:"circle-info",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"]},S=q;const Q="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",K={id:"trusted-site",class:"is-flex is-justify-space-between"},W={class:"trusted-wrap"},X={class:"hidden-tablet trusted-toggle is-flex is-align-center"},Z=["src"],Y=["aria-label","aria-expanded"],J={class:"icon","aria-hidden":"true"},ee={class:"hidden-desktop trusted-toggle is-flex is-align-center"},te=["aria-label","aria-expanded"],ne={class:"icon","aria-hidden":"true"},ae={key:0,class:"trusted-translation is-flex is-align-center"},oe=["hidden"],le={class:"trusted-site-info-content content has-text-body-small is-flex is-justify-space-between"},ie={class:"info-item-wrap is-flex"},se={class:"info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4"},re={class:"trusted-icon is-flex is-flex-column has-text-center"},ce={class:"icon circle-icon p-3 mb-2"},de={class:"info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4"},ue={class:"trusted-icon is-flex is-flex-column has-text-center"},me={class:"icon circle-icon p-3 mb-2"},fe={class:"info-content-close mt-4"},pe=e.defineComponent({__name:"TrustedSite",setup(n){const t=e.useSlots(),{isCollapsed:l,onClickToggle:a}=c.useCollapse({id:"trusted-site-info",escapeKeyClose:!0}),s=e.computed(()=>l("trusted-site-info"));return(r,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",K,[e.createElementVNode("div",W,[e.createElementVNode("div",X,[e.createElementVNode("img",{src:e.unref(Q),alt:"",class:"icon"},null,8,Z),o[4]||(o[4]=e.createElementVNode("div",{class:"content mx-2"},"An official website of the City of Philadelphia government",-1)),e.createElementVNode("button",{class:"phila-button is-extra-small","aria-label":`${s.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":s.value,onClick:o[0]||(o[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))},[o[3]||(o[3]=e.createTextVNode(" Here's how you know ",-1)),e.createElementVNode("span",J,[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:s.value?e.unref($):e.unref(w)},null,8,["icon"])])],8,Y)]),e.createElementVNode("div",ee,[e.createElementVNode("button",{class:"phila-button is-extra-small","aria-label":`${s.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":s.value,onClick:o[1]||(o[1]=(...i)=>e.unref(a)&&e.unref(a)(...i))},[o[5]||(o[5]=e.createTextVNode(" An official website ",-1)),e.createElementVNode("span",ne,[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:e.unref(S)},null,8,["icon"])])],8,te)])]),e.unref(t).translation?(e.openBlock(),e.createElementBlock("div",ae,[e.renderSlot(r.$slots,"translation",{},void 0,!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{id:"trusted-site-info",class:"px-6",hidden:!s.value},[e.createElementVNode("div",le,[e.createElementVNode("div",ie,[e.createElementVNode("div",se,[e.createElementVNode("div",re,[e.createElementVNode("span",ce,[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:e.unref(G)},null,8,["icon"])]),o[6]||(o[6]=e.createElementVNode("span",{class:"has-text-bold"},".gov",-1))]),o[7]||(o[7]=e.createElementVNode("div",{class:"trusted-text m-4"},"Only government entities in the U.S. can end in .gov",-1))]),e.createElementVNode("div",de,[e.createElementVNode("div",ue,[e.createElementVNode("div",me,[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:e.unref(H)},null,8,["icon"])]),o[8]||(o[8]=e.createElementVNode("span",{class:"has-text-bold"},"https://",-1))]),o[9]||(o[9]=e.createElementVNode("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))])]),e.createElementVNode("div",fe,[e.createElementVNode("button",{class:"phila-button phila-button--primary icon-button is-extra-small","aria-label":"Close Trusted Site information panel",onClick:o[2]||(o[2]=(...i)=>e.unref(a)&&e.unref(a)(...i))},[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:e.unref(P)},null,8,["icon"])])])])],8,oe)],64))}}),h=(n,t)=>{const l=n.__vccOpts||n;for(const[a,s]of t)l[a]=s;return l},ve=h(pe,[["__scopeId","data-v-3fc90bb2"]]),he=["aria-controls","aria-expanded","aria-label","onClick"],be={class:"icon"},ke=["id","hidden"],ye=e.defineComponent({__name:"NavbarBurger",props:{mobileNav:{},collapseGroup:{}},setup(n){return(t,l)=>(e.openBlock(),e.createBlock(e.unref(b.CollapsePanel),{id:"mobile-nav",group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","open-single":""},{toggle:e.withCtx(a=>[e.createElementVNode("button",{class:e.normalizeClass(["phila-navbar-burger phila-button icon-button",{"phila-navbar-item-flyout-active":a.open}]),"aria-controls":a.ariaControls,"aria-expanded":a.open,"aria-label":`${a.open?"Close":"Open"} mobile navigation panel`,onClick:a.onClick},[e.createElementVNode("span",be,[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:a.open?e.unref(V):e.unref(j)},null,8,["icon"])])],10,he)]),default:e.withCtx(a=>[e.createElementVNode("div",{id:a.id,class:"phila-mobile-nav",hidden:!a.open},[e.renderSlot(t.$slots,"mobile-nav",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.mobileNav)))])],8,ke)]),_:3},8,["group"]))}}),ge=["href"],Be=["href","aria-controls","aria-expanded","onKeypress","onTouchend","onClick"],Ne=["id","hidden"],xe={key:0,class:"content nav-flyout has-background-ghost-gray px-6 py-4",tabindex:"-1"},Ce={class:"is-flex is-flex-column is-flex-wrap-wrap",style:{gap:"var(--spacing-4xl)"}},_e=["href"],Ee=e.defineComponent({__name:"NavbarLinks",props:{links:{},collapseGroup:{}},setup(n){const t=a=>!!(a.subLinks||a.subNav),l=a=>`main-nav-${a.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g,"")}`;return(a,s)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.links,(r,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t(r)?(e.openBlock(),e.createBlock(e.unref(b.CollapsePanel),{id:l(r),key:`collapse-${o}`,group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","mouse-over-toggle":"","open-single":"",class:"phila-navbar-link-list-item"},{toggle:e.withCtx(i=>[e.createElementVNode("a",{href:r.href,class:e.normalizeClass(["phila-navbar-link px-4",{"phila-navbar-item-flyout-active":i.open}]),"aria-controls":i.ariaControls,"aria-expanded":i.open,tabindex:"0",onKeypress:e.withKeys(i.onClick,["enter"]),onTouchend:i.onClick,onClick:i.onClick},[e.createTextVNode(e.toDisplayString(r.text)+" ",1),e.createVNode(e.unref(f.FontAwesomeIcon),{class:"ml-1",icon:i.open?e.unref($):e.unref(w)},null,8,["icon"])],42,Be)]),default:e.withCtx(i=>[(e.openBlock(),e.createElementBlock("div",{id:i.id,key:r.text,hidden:!i.open},[r.subLinks?(e.openBlock(),e.createElementBlock("div",xe,[e.createElementVNode("ul",Ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.subLinks,u=>(e.openBlock(),e.createElementBlock("li",{key:u.text,class:"sub-nav-link is-flex is-align-center",style:{width:"150px"}},[e.createElementVNode("a",{href:u.href,class:"has-text-link has-text-weight-medium",tabindex:"0"},e.toDisplayString(u.text),9,_e)]))),128))])])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.subNav),{key:1}))],8,Ne))]),_:2},1032,["id","group"])):(e.openBlock(),e.createElementBlock("div",{key:`link-${o}`,class:"phila-navbar-link-list-item"},[e.createElementVNode("a",{href:r.href,class:"phila-navbar-link px-4",tabindex:"0"},e.toDisplayString(r.text),9,ge)]))],64))),256))}}),Ve=e.defineComponent({__name:"NavbarBrandLogo",props:{logo:{},src:{},href:{},altText:{}},setup(n){const t=n,l=e.computed(()=>({variant:"city",layout:"stacked",colorScheme:"on-primary",href:t.href,...t.logo}));return(a,s)=>(e.openBlock(),e.createBlock(e.unref(O.Logo),e.mergeProps(l.value,{class:"phila-navbar-logo"}),null,16))}}),$e=h(Ve,[["__scopeId","data-v-3011c249"]]),we={class:"pr-4"},Se=["aria-controls","aria-expanded","aria-label","onClick"],ze={class:"icon"},Ae=["id","hidden"],Le=e.defineComponent({__name:"NavbarSearch",props:{search:{},collapseGroup:{}},setup(n){return(t,l)=>(e.openBlock(),e.createBlock(e.unref(b.CollapsePanel),{id:"navbar-search",group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","open-single":""},{toggle:e.withCtx(a=>[e.createElementVNode("div",we,[e.createElementVNode("button",{class:e.normalizeClass(["phila-button phila-button--primary icon-button is-small",{"phila-navbar-item-flyout-active":a.open}]),"aria-controls":a.ariaControls,"aria-expanded":a.open,"aria-label":`${a.open?"Close":"Open"} search panel`,onClick:a.onClick},[e.createElementVNode("span",ze,[e.createVNode(e.unref(f.FontAwesomeIcon),{icon:a.open?e.unref(V):e.unref(R)},null,8,["icon"])])],10,Se)])]),default:e.withCtx(a=>[e.createElementVNode("div",{id:a.id,class:"nav-flyout is-12",hidden:!a.open},[e.renderSlot(t.$slots,"default",{},()=>[n.search&&a.open?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.search),{key:0})):e.createCommentVNode("",!0)])],8,Ae)]),_:3},8,["group"]))}}),Me={class:"phila-navbar-brand"},Te={key:0,class:"phila-navbar-item phila-navbar-brand-link hidden-tablet"},De={key:0,class:"content"},Ie=["href"],Oe={class:"phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet"},Fe={class:"phila-navbar-search"},Re={key:0,class:"phila-navbar-end"},x="5rem",Ue=e.defineComponent({__name:"index",props:{id:{},sticky:{type:Boolean},navbarBrand:{},mobileNav:{},collapseGroup:{},search:{},links:{default:()=>[{text:"Home",href:"#"}]}},setup(n){const t=n,{state:l}=c.useCollapse(),a=e.useTemplateRef("navBarElement"),s=e.ref(x),r=e.ref(0),o=c.debounce(()=>{const i=(a.value?.offsetTop||0)+(a.value?.offsetHeight||0),u=typeof window<"u"?window.innerWidth:1024;s.value=!t.sticky||u<1024?i+"px":x,r.value=i},100);return e.watch(()=>l.value,o,{deep:!0,immediate:!0}),e.onMounted(()=>{window.addEventListener("resize",o)}),e.onUnmounted(()=>{window.removeEventListener("resize",o)}),(i,u)=>(e.openBlock(),e.createElementBlock("nav",{ref_key:"navBarElement",ref:a,class:e.normalizeClass(["phila-navbar has-links-on-primary",{"is-sticky-desktop":n.sticky}]),"aria-label":"Main navigation",style:e.normalizeStyle(`--nav-height:${s.value};--nav-bottom:${r.value}px`)},[e.renderSlot(i.$slots,"navbar-burger",{},()=>[n.mobileNav||i.$slots["mobile-nav"]?(e.openBlock(),e.createBlock(ye,{key:0,"mobile-nav":n.mobileNav,"collapse-group":n.id},e.createSlots({_:2},[i.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"mobile-nav",{},void 0,!0)]),key:"0"}:void 0]),1032,["mobile-nav","collapse-group"])):e.createCommentVNode("",!0)],!0),e.createElementVNode("div",Me,[e.renderSlot(i.$slots,"navbar-logo",{},()=>[n.navbarBrand?.brandingImage?(e.openBlock(),e.createBlock($e,e.mergeProps({key:0},n.navbarBrand.brandingImage,{logo:n.navbarBrand?.logo}),null,16,["logo"])):e.createCommentVNode("",!0)],!0),i.$slots["navbar-brand-link"]||n.navbarBrand?.brandingLink?(e.openBlock(),e.createElementBlock("div",Te,[e.renderSlot(i.$slots,"navbar-brand-link",{},()=>[n.navbarBrand?.brandingLink?(e.openBlock(),e.createElementBlock("div",De,[e.createElementVNode("a",{tabindex:"0",href:n.navbarBrand.brandingLink.href,class:"has-text-underline"},e.toDisplayString(n.navbarBrand.brandingLink.text),9,Ie)])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Oe,[e.renderSlot(i.$slots,"navbar-links",{},()=>[n.links?(e.openBlock(),e.createBlock(Ee,{key:0,links:n.links,"collapse-group":n.id},null,8,["links","collapse-group"])):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("div",Fe,[e.renderSlot(i.$slots,"navbar-search",{},()=>[n.search?(e.openBlock(),e.createBlock(Le,{key:0,search:n.search,"collapse-group":n.id},null,8,["search","collapse-group"])):e.createCommentVNode("",!0)],!0)]),i.$slots["navbar-end"]?(e.openBlock(),e.createElementBlock("div",Re,[e.renderSlot(i.$slots,"navbar-end",{},void 0,!0)])):e.createCommentVNode("",!0)],6))}}),Pe=h(Ue,[["__scopeId","data-v-caf52a6d"]]),He={class:"site-wide-alert content"},Ge={class:"alert-content"},je={class:"content-text"},qe={class:"title"},Qe={class:"body"},Ke=e.defineComponent({__name:"AlertBanner",props:{bannerTitle:{},bannerMessage:{}},setup(n){const t=n;return(l,a)=>(e.openBlock(),e.createElementBlock("div",He,[e.createElementVNode("div",Ge,[e.createVNode(e.unref(c.Icon),{"icon-definition":e.unref(U),size:"small",decorative:!0},null,8,["icon-definition"]),e.createElementVNode("div",je,[e.createElementVNode("h6",qe,e.toDisplayString(t.bannerTitle),1),e.createElementVNode("div",Qe,e.toDisplayString(t.bannerMessage),1)])])]))}}),We=e.defineComponent({__name:"AppHeader",props:{showTrustedSite:{type:Boolean,default:!0},translations:{default:void 0},className:{},id:{default:"main-nav"},sticky:{type:Boolean,default:!0},navbarBrand:{default:void 0},mobileNav:{default:void 0},collapseGroup:{},search:{default:void 0},links:{default:void 0},bannerTitle:{default:void 0},bannerMessage:{default:void 0}},setup(n){return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.showTrustedSite?(e.openBlock(),e.createBlock(ve,{key:0},{translation:e.withCtx(()=>[e.renderSlot(t.$slots,"translations",{},()=>[n.translations?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.translations),{key:0})):e.createCommentVNode("",!0)])]),_:3})):e.createCommentVNode("",!0),e.createVNode(Pe,{id:n.id,sticky:n.sticky,"mobile-nav":n.mobileNav,links:n.links,"navbar-brand":n.navbarBrand,search:n.search},e.createSlots({_:2},[t.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"mobile-nav")]),key:"0"}:void 0,t.$slots["navbar-end"]?{name:"navbar-end",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"navbar-end")]),key:"1"}:void 0]),1032,["id","sticky","mobile-nav","links","navbar-brand","search"]),n.bannerTitle||n.bannerMessage?(e.openBlock(),e.createBlock(Ke,{key:1,"banner-title":n.bannerTitle,"banner-message":n.bannerMessage},null,8,["banner-title","banner-message"])):e.createCommentVNode("",!0)],64))}}),Xe=["disabled"],C=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,l=o=>"href"in o&&o.href!==void 0||"to"in o&&o.to!==void 0,a=e.computed(()=>c.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),s=e.computed(()=>l(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:a.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:a.value}:{}),r=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(o,i)=>l(t)?(e.openBlock(),e.createBlock(e.unref(c.BaseLink),e.mergeProps({key:0},{...s.value,...o.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:a.value},o.$attrs),[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,Xe))}});var _={prefix:"fas",iconName:"xmark",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"]};const Ze=["id"],Ye={key:0,class:"tooltip__tail","aria-hidden":"true"},Je={key:1,class:"tooltip__plain-row has-text-body-small"},et={key:0,class:"tooltip__title-row"},tt={key:0},nt=e.defineComponent({__name:"TooltipBubble",props:{id:{},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"top-center"},title:{},dismissable:{type:Boolean,default:!1},className:{}},emits:["dismiss"],setup(n){const t=n,l=e.computed(()=>c.cn("tooltip","content","resets-link-colors",`tooltip--${t.type}`,`tooltip--${t.color}`,t.tail&&`tooltip--${t.placement}`,t.className));return(a,s)=>(e.openBlock(),e.createElementBlock("div",{id:n.id,class:e.normalizeClass(l.value),role:"tooltip"},[n.tail?(e.openBlock(),e.createElementBlock("div",Ye)):e.createCommentVNode("",!0),n.type==="plain"?(e.openBlock(),e.createElementBlock("div",Je,[e.renderSlot(a.$slots,"default",{},void 0,!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(C),{key:0,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(_),"aria-label":"Dismiss tooltip",onClick:s[0]||(s[0]=r=>a.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[n.title||n.dismissable?(e.openBlock(),e.createElementBlock("div",et,[n.title?(e.openBlock(),e.createElementBlock("h6",tt,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(C),{key:1,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(_),"aria-label":"Dismiss tooltip",onClick:s[1]||(s[1]=r=>a.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default",{},void 0,!0)],64))],10,Ze))}}),z=(n,t)=>{const l=n.__vccOpts||n;for(const[a,s]of t)l[a]=s;return l},at=z(nt,[["__scopeId","data-v-0155bbdd"]]),ot=e.defineComponent({__name:"Tooltip",props:{trigger:{default:"hover"},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"auto"},title:{},dismissable:{type:Boolean},className:{}},setup(n,{expose:t}){const l=n,a=e.useId(),s=e.ref(!1),r=e.ref(null),o=e.ref(null),i=e.ref("top-center"),u=()=>{const d=r.value?.getBoundingClientRect();if(!d)return"top-center";const{innerWidth:p,innerHeight:M}=window,g=d.top,T=M-d.bottom,B=o.value?.firstElementChild?.getBoundingClientRect().height??0,D=(B>0?g>=B:g>=T)?"top":"bottom",N=d.left+d.width/2,I=N<p/3?"left":N>p*2/3?"right":"center";return`${D}-${I}`},k=d=>{d.key==="Escape"&&m()},y=d=>{r.value&&!r.value.contains(d.target)&&m()},v=()=>{l.placement==="auto"?i.value=u():i.value=l.placement,s.value=!0,document.addEventListener("keydown",k),l.trigger==="click"&&document.addEventListener("click",y)},m=()=>{s.value=!1,document.removeEventListener("keydown",k),document.removeEventListener("click",y)},A=()=>{s.value?m():v()};e.onUnmounted(m),t({show:v,hide:m});const L=e.computed(()=>({type:l.type,color:l.color,tail:l.tail,placement:i.value,title:l.title,dismissable:l.dismissable}));return(d,p)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps({ref_key:"wrapperEl",ref:r,class:e.unref(c.cn)("tooltip-trigger",l.className)},n.trigger==="click"?{onClick:A}:{onMouseenter:v,onMouseleave:m,onFocusin:v,onFocusout:m}),[e.renderSlot(d.$slots,"default",{tooltipId:e.unref(a),isOpen:s.value},void 0,!0),e.createElementVNode("span",{ref_key:"positionerEl",ref:o,class:e.normalizeClass(["tooltip-trigger__positioner",`tooltip-trigger__positioner--${i.value}`]),style:e.normalizeStyle({visibility:s.value?"visible":"hidden","--positioner-gap":n.tail?"var(--spacing-l)":"0.5rem"}),onClick:p[0]||(p[0]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(at,e.mergeProps(L.value,{id:e.unref(a),onDismiss:m}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"body",{},void 0,!0)]),_:3},16,["id"])],6)],16))}}),lt=z(ot,[["__scopeId","data-v-bea2f168"]]),it=["disabled"],st=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,l=o=>"href"in o&&o.href!==void 0||"to"in o&&o.to!==void 0,a=e.computed(()=>c.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),s=e.computed(()=>l(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:a.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:a.value}:{}),r=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(o,i)=>l(t)?(e.openBlock(),e.createBlock(e.unref(c.BaseLink),e.mergeProps({key:0},{...s.value,...o.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:a.value},o.$attrs),[e.createVNode(e.unref(c.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,it))}}),rt={class:"navbar-info"},ct={class:"navbar-info__group"},dt={key:0,class:"navbar-info__label has-text-body-default hidden-tablet","aria-hidden":"true"},ut={class:"has-text-body-small"},mt=e.defineComponent({__name:"NavbarInfo",props:{infoTitle:{},infoMessage:{},label:{}},setup(n,{expose:t}){const l=e.useTemplateRef("tooltip");return t({show:()=>l.value?.show(),hide:()=>l.value?.hide()}),(a,s)=>(e.openBlock(),e.createElementBlock("div",rt,[e.createVNode(e.unref(lt),{ref_key:"tooltip",ref:l,type:"rich",title:n.infoTitle,trigger:"click",dismissable:!0},{default:e.withCtx(({tooltipId:r,isOpen:o})=>[e.createElementVNode("span",ct,[e.createVNode(e.unref(st),{class:"navbar-info__trigger",variant:"standard",size:"small","icon-only":!0,"icon-definition":e.unref(S),"aria-label":"More information","aria-describedby":r,"aria-pressed":o},null,8,["icon-definition","aria-describedby","aria-pressed"]),n.label?(e.openBlock(),e.createElementBlock("span",dt,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)])]),body:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createElementVNode("div",ut,e.toDisplayString(n.infoMessage),1)],!0)]),_:3},8,["title"])]))}}),ft=h(mt,[["__scopeId","data-v-c3989251"]]);exports.AppHeader=We;exports.NavbarInfo=ft;
|