@govflanders/vl-widget-global-header-types 1.0.34 → 1.0.36
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/access-menu.d.ts +22 -0
- package/dist/alert.d.ts +12 -0
- package/dist/client.d.ts +78 -0
- package/docs/assets/typedoc-github-style.css +435 -0
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AccessMenuConfig.html +2 -2
- package/docs/interfaces/AlertConfig.html +6 -2
- package/docs/interfaces/Application.html +2 -2
- package/docs/interfaces/ApplicationLink.html +2 -2
- package/docs/interfaces/BaseConfig.html +2 -2
- package/docs/interfaces/BrandingConfig.html +2 -2
- package/docs/interfaces/BrandingConfigColors.html +3 -3
- package/docs/interfaces/BrandingConfigHost.html +2 -2
- package/docs/interfaces/BrandingConfigUmbrella.html +3 -3
- package/docs/interfaces/Channel.html +2 -2
- package/docs/interfaces/CobrowseConfig.html +2 -2
- package/docs/interfaces/CobrowseConsentConfig.html +2 -2
- package/docs/interfaces/Config.html +2 -2
- package/docs/interfaces/ContactConfig.html +2 -2
- package/docs/interfaces/ContactOption.html +2 -2
- package/docs/interfaces/ContactOptionRef.html +2 -2
- package/docs/interfaces/EnrichedServicePoints.html +2 -2
- package/docs/interfaces/GlobalHeaderClient.html +9 -9
- package/docs/interfaces/I18n.html +2 -2
- package/docs/interfaces/IDPData.html +2 -2
- package/docs/interfaces/Image.html +2 -2
- package/docs/interfaces/Link.html +2 -2
- package/docs/interfaces/LinkWithTarget.html +2 -2
- package/docs/interfaces/MainLink.html +2 -2
- package/docs/interfaces/ProfileConfig.html +11 -3
- package/docs/interfaces/RecursiveRecord.html +1 -1
- package/docs/interfaces/ResolveOptions.html +2 -2
- package/docs/interfaces/ServicePoints.html +2 -2
- package/docs/interfaces/Session.html +2 -2
- package/docs/interfaces/Translations.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AlertModifier.html +1 -1
- package/docs/types/ApplicationMenuLink.html +1 -1
- package/docs/types/BrandingConfigLevel.html +2 -2
- package/docs/types/CapacityCode.html +1 -1
- package/docs/types/ChannelIcon.html +1 -1
- package/docs/types/ChannelType.html +1 -1
- package/docs/types/CobrowseChannel.html +1 -1
- package/docs/types/ContactOptionSocialPlatform.html +1 -1
- package/docs/types/ContactServiceEndpoints.html +1 -1
- package/docs/types/EnrichedServicePoint.html +1 -1
- package/docs/types/Language.html +1 -1
- package/docs/types/PluginTypeId.html +1 -1
- package/docs/types/ServicePoint.html +1 -1
- package/docs/types/Translatable.html +1 -1
- package/docs/variables/languages.html +1 -1
- package/package.json +2 -2
package/dist/access-menu.d.ts
CHANGED
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
import { Translatable } from './i18n';
|
|
2
2
|
import { IDPData } from './idp';
|
|
3
3
|
export type CapacityCode = 'BUR' | 'EA' | 'VER';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the configuration for user profile and authentication settings.
|
|
6
|
+
*/
|
|
4
7
|
export interface ProfileConfig {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates whether the website is logged in with the Identity Provider (IdP).
|
|
10
|
+
* Should be true when logged in, and false otherwise.
|
|
11
|
+
*/
|
|
5
12
|
active: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The URL where the sign-in button points to when clicked.
|
|
15
|
+
*/
|
|
6
16
|
loginUrl: string;
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated This property is deprecated and should not be used anymore.
|
|
19
|
+
*/
|
|
7
20
|
loginRedirectUrl: string;
|
|
21
|
+
/**
|
|
22
|
+
* The URL where the sign-out button points to.
|
|
23
|
+
*/
|
|
8
24
|
logoutUrl: string;
|
|
25
|
+
/**
|
|
26
|
+
* The URL where the 'switch capacity' link points to.
|
|
27
|
+
*/
|
|
9
28
|
switchCapacityUrl: string;
|
|
29
|
+
/**
|
|
30
|
+
* Extra data from the Identity Provider (IdP) to enrich the header.
|
|
31
|
+
*/
|
|
10
32
|
idpData: IDPData;
|
|
11
33
|
}
|
|
12
34
|
export interface Session {
|
package/dist/alert.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
export type AlertModifier = 'success' | 'warning' | 'error';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the configuration for the alert bar displayed on top of the header widget.
|
|
4
|
+
*/
|
|
2
5
|
export interface AlertConfig {
|
|
6
|
+
/**
|
|
7
|
+
* Shows or hides the alert bar on top of the header widget.
|
|
8
|
+
*/
|
|
3
9
|
enabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The content of the alert. This can be an HTML string.
|
|
12
|
+
*/
|
|
4
13
|
message: string;
|
|
14
|
+
/**
|
|
15
|
+
* Changes the icon and color of the alert.
|
|
16
|
+
*/
|
|
5
17
|
modifier: AlertModifier;
|
|
6
18
|
}
|
package/dist/client.d.ts
CHANGED
|
@@ -1,3 +1,80 @@
|
|
|
1
|
+
import { Translatable } from './i18n';
|
|
2
|
+
import { MainLink, ProfileConfig } from './access-menu';
|
|
3
|
+
import { EnrichedServicePoints, ServicePoints } from './contact';
|
|
4
|
+
import { BrandingConfigColors, BrandingConfigHost, BrandingConfigUmbrella, Config } from './config';
|
|
5
|
+
import { ApplicationMenuLink } from './access-menu';
|
|
6
|
+
/**
|
|
7
|
+
* @ignore
|
|
8
|
+
*/
|
|
9
|
+
export type Handlers = {
|
|
10
|
+
getConfig: Handler<undefined, Config>;
|
|
11
|
+
setServicePoints: Handler<Translatable<ServicePoints>, Translatable<ServicePoints>>;
|
|
12
|
+
getServicePoints: Handler<undefined, EnrichedServicePoints>;
|
|
13
|
+
resetServicePoints: Handler<undefined, boolean>;
|
|
14
|
+
setProfile: Handler<Partial<ProfileConfig>, boolean>;
|
|
15
|
+
getProfile: Handler<undefined, Partial<ProfileConfig>>;
|
|
16
|
+
setMainLinks: Handler<Translatable<MainLink>[], boolean>;
|
|
17
|
+
addApplicationMenuLink: Handler<ApplicationMenuLink, ApplicationMenuLink[]>;
|
|
18
|
+
addApplicationMenuLinks: Handler<ApplicationMenuLink[], ApplicationMenuLink[]>;
|
|
19
|
+
setApplicationMenuLinks: Handler<ApplicationMenuLink[], ApplicationMenuLink[]>;
|
|
20
|
+
setNavigationEnabled: Handler<boolean, boolean>;
|
|
21
|
+
getBrandingLevel: Handler<undefined, number>;
|
|
22
|
+
setBrandingLevel: Handler<number, boolean>;
|
|
23
|
+
getBrandingColors: Handler<undefined, BrandingConfigColors>;
|
|
24
|
+
getBrandingColor: Handler<keyof BrandingConfigColors, string>;
|
|
25
|
+
setBrandingColors: Handler<BrandingConfigColors, boolean>;
|
|
26
|
+
setBrandingColor: Handler<{
|
|
27
|
+
type: keyof BrandingConfigColors;
|
|
28
|
+
value: string;
|
|
29
|
+
}, boolean>;
|
|
30
|
+
getBrandingHost: Handler<undefined, Partial<BrandingConfigHost>>;
|
|
31
|
+
setBrandingHost: Handler<Partial<BrandingConfigHost>, boolean>;
|
|
32
|
+
getBrandingUmbrella: Handler<undefined, Partial<BrandingConfigUmbrella>>;
|
|
33
|
+
setBrandingUmbrella: Handler<Partial<BrandingConfigUmbrella>, boolean>;
|
|
34
|
+
getBrandingVariables: Handler<undefined, Record<string, string>>;
|
|
35
|
+
mount: Handler<HTMLElement | void, boolean>;
|
|
36
|
+
unmount: Handler<undefined, boolean>;
|
|
37
|
+
openContact: Handler<undefined, boolean>;
|
|
38
|
+
closeContact: Handler<undefined, boolean>;
|
|
39
|
+
toggleContact: Handler<undefined, boolean>;
|
|
40
|
+
isContactOpen: Handler<undefined, boolean>;
|
|
41
|
+
};
|
|
42
|
+
type PromiseResolver<T> = (value: T | PromiseLike<T>) => void;
|
|
43
|
+
type PromiseRejecter = (reason?: any) => void;
|
|
44
|
+
/**
|
|
45
|
+
* @ignore
|
|
46
|
+
*/
|
|
47
|
+
export type Handler<Args, Return> = (args: Args, resolve: PromiseResolver<Return>, reject: PromiseRejecter) => void;
|
|
48
|
+
type ArgumentTypes = {
|
|
49
|
+
[HandlersKey in keyof Handlers]: Handlers[HandlersKey] extends Handler<infer Args, any> ? Args : never;
|
|
50
|
+
};
|
|
51
|
+
type ReturnTypes = {
|
|
52
|
+
[HandlersKey in keyof Handlers]: Handlers[HandlersKey] extends Handler<any, infer Return> ? Return : never;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @ignore
|
|
56
|
+
*/
|
|
57
|
+
export type ClientMethods = {
|
|
58
|
+
[K in keyof Handlers]: ArgumentTypes[K] extends undefined ? () => Promise<ReturnTypes[K]> : (args: ArgumentTypes[K]) => Promise<ReturnTypes[K]>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
63
|
+
export type QueueItem<Key extends keyof Handlers> = {
|
|
64
|
+
[K in keyof Handlers]: {
|
|
65
|
+
key: K;
|
|
66
|
+
args: ArgumentTypes[K];
|
|
67
|
+
resolve: PromiseResolver<ReturnTypes[K]>;
|
|
68
|
+
reject: PromiseRejecter;
|
|
69
|
+
};
|
|
70
|
+
}[Key];
|
|
71
|
+
/**
|
|
72
|
+
* @ignore
|
|
73
|
+
*/
|
|
74
|
+
export interface GlobalHeaderLinker {
|
|
75
|
+
queue: QueueItem<keyof Handlers>[];
|
|
76
|
+
update: () => void;
|
|
77
|
+
}
|
|
1
78
|
/**
|
|
2
79
|
* The `window.globalHeaderClient` object offers several methods for interacting with the widget.
|
|
3
80
|
* Each method is typed and returns promises, making asynchronous operations easier to handle.
|
|
@@ -209,3 +286,4 @@ declare global {
|
|
|
209
286
|
globalHeaderLinker: GlobalHeaderLinker;
|
|
210
287
|
}
|
|
211
288
|
}
|
|
289
|
+
export {};
|
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Define colors
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
/* GitHub "Light default" */
|
|
7
|
+
--light-color-background: #ffffff;
|
|
8
|
+
--light-color-background-secondary: #f6f8fa;
|
|
9
|
+
--light-color-background-navbar: #f6f8fa;
|
|
10
|
+
|
|
11
|
+
--light-color-accent: #d0d7de;
|
|
12
|
+
|
|
13
|
+
--light-color-text: #1f2328;
|
|
14
|
+
--light-color-text-aside: #636c76;
|
|
15
|
+
|
|
16
|
+
--light-color-link: #0969da;
|
|
17
|
+
|
|
18
|
+
--light-color-warning-border: #f7ebba;
|
|
19
|
+
--light-color-background-warning: #fff8c5;
|
|
20
|
+
|
|
21
|
+
/* GitHub "Dark default" */
|
|
22
|
+
--dark-color-background: #0d1117;
|
|
23
|
+
--dark-color-background-secondary: #161b22;
|
|
24
|
+
--dark-color-background-navbar: #000000;
|
|
25
|
+
|
|
26
|
+
--dark-color-accent: #30363d;
|
|
27
|
+
|
|
28
|
+
--dark-color-text: #e6edf3;
|
|
29
|
+
--dark-color-text-aside: #8d96a0;
|
|
30
|
+
|
|
31
|
+
--dark-color-link: #4493f8;
|
|
32
|
+
|
|
33
|
+
--dark-color-warning-border: #3a2d12;
|
|
34
|
+
--dark-color-background-warning: #282215;
|
|
35
|
+
|
|
36
|
+
/* Link colors */
|
|
37
|
+
--color-warning-text: var(--color-text);
|
|
38
|
+
--color-icon-background: var(--color-background);
|
|
39
|
+
--color-focus-outline: var(--color-accent);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (prefers-color-scheme: light) {
|
|
43
|
+
:root {
|
|
44
|
+
--color-background-navbar: var(--light-color-background-navbar);
|
|
45
|
+
--color-warning-border: var(--light-color-warning-border);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (prefers-color-scheme: dark) {
|
|
50
|
+
:root {
|
|
51
|
+
--color-background-navbar: var(--dark-color-background-navbar);
|
|
52
|
+
--color-warning-border: var(--dark-color-warning-border);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:root[data-theme='light'] {
|
|
57
|
+
--color-background-navbar: var(--light-color-background-navbar);
|
|
58
|
+
--color-warning-border: var(--light-color-warning-border);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:root[data-theme='dark'] {
|
|
62
|
+
--color-background-navbar: var(--dark-color-background-navbar);
|
|
63
|
+
--color-warning-border: var(--dark-color-warning-border);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/*
|
|
67
|
+
* Define fonts
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
:root {
|
|
71
|
+
--font-family-text: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
72
|
+
'Segoe UI Emoji';
|
|
73
|
+
--font-family-code: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
body {
|
|
77
|
+
font-family: var(--font-family-text);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/*
|
|
81
|
+
* Headlines
|
|
82
|
+
*/
|
|
83
|
+
|
|
84
|
+
h1,
|
|
85
|
+
h2,
|
|
86
|
+
h3,
|
|
87
|
+
h4,
|
|
88
|
+
h5,
|
|
89
|
+
h6 {
|
|
90
|
+
margin-top: 1em;
|
|
91
|
+
margin-bottom: 0.5em;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/*
|
|
95
|
+
* Links
|
|
96
|
+
*/
|
|
97
|
+
|
|
98
|
+
a,
|
|
99
|
+
.tsd-kind-class {
|
|
100
|
+
color: var(--color-link);
|
|
101
|
+
text-decoration: underline;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tsd-index-link {
|
|
105
|
+
text-decoration: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.tsd-index-link:hover {
|
|
109
|
+
text-decoration: underline;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.tsd-sources a {
|
|
113
|
+
color: var(--color-link);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/*
|
|
117
|
+
* Lists
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
ul,
|
|
121
|
+
ol {
|
|
122
|
+
margin-left: 20px;
|
|
123
|
+
list-style: disc;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
li::marker {
|
|
127
|
+
color: var(--color-accent);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/*
|
|
131
|
+
* Input fields
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
input {
|
|
135
|
+
background-color: var(--color-background-secondary);
|
|
136
|
+
color: var(--color-text);
|
|
137
|
+
border: 1px solid var(--color-accent);
|
|
138
|
+
border-radius: 6px;
|
|
139
|
+
padding: 8px;
|
|
140
|
+
width: 100%;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/*
|
|
144
|
+
* Tables
|
|
145
|
+
*/
|
|
146
|
+
|
|
147
|
+
table {
|
|
148
|
+
margin: 1em 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.tsd-typography th,
|
|
152
|
+
.tsd-typography td {
|
|
153
|
+
padding: 8px;
|
|
154
|
+
text-align: left;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.tsd-typography th {
|
|
158
|
+
background-color: var(--color-background);
|
|
159
|
+
color: var(--color-text);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.tsd-typography tr:nth-child(2n) {
|
|
163
|
+
background-color: var(--color-background-code);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/*
|
|
167
|
+
* Horizontal line
|
|
168
|
+
*/
|
|
169
|
+
|
|
170
|
+
.tsd-typography hr {
|
|
171
|
+
color: var(--color-accent);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/*
|
|
175
|
+
* Buttons
|
|
176
|
+
*/
|
|
177
|
+
|
|
178
|
+
button {
|
|
179
|
+
background-color: var(--color-background-navbar);
|
|
180
|
+
color: var(--color-text);
|
|
181
|
+
border: 1px solid var(--color-accent);
|
|
182
|
+
border-radius: 6px;
|
|
183
|
+
padding: 8px 16px;
|
|
184
|
+
cursor: pointer;
|
|
185
|
+
transition: background-color 0.1s ease-in-out;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
button:hover {
|
|
189
|
+
background-color: var(--color-accent);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
pre > button {
|
|
193
|
+
background-color: transparent;
|
|
194
|
+
transition: background-color 0.1s ease-in-out;
|
|
195
|
+
border: none;
|
|
196
|
+
opacity: 1;
|
|
197
|
+
top: 8px;
|
|
198
|
+
padding: 4px 8px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/*
|
|
202
|
+
* Checkbox
|
|
203
|
+
*/
|
|
204
|
+
|
|
205
|
+
.tsd-filter-input input[type='checkbox'],
|
|
206
|
+
.tsd-filter-input svg {
|
|
207
|
+
width: 1em;
|
|
208
|
+
height: 1em;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.tsd-filter-input svg {
|
|
212
|
+
border-radius: 2px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.tsd-checkbox-background {
|
|
216
|
+
fill: var(--color-background);
|
|
217
|
+
stroke: var(--color-accent);
|
|
218
|
+
stroke-width: 6px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
input[type='checkbox']:checked ~ svg .tsd-checkbox-background {
|
|
222
|
+
fill: var(--color-accent);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.tsd-checkbox-checkmark {
|
|
226
|
+
color: var(--color-text);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/*
|
|
230
|
+
* Select
|
|
231
|
+
*/
|
|
232
|
+
|
|
233
|
+
select {
|
|
234
|
+
background-color: var(--color-background);
|
|
235
|
+
border: 1px solid var(--color-accent);
|
|
236
|
+
border-radius: 6px;
|
|
237
|
+
padding: 8px;
|
|
238
|
+
font-family: inherit;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/*
|
|
242
|
+
* Code blocks
|
|
243
|
+
*/
|
|
244
|
+
|
|
245
|
+
code,
|
|
246
|
+
pre {
|
|
247
|
+
border: none;
|
|
248
|
+
border-radius: 6px;
|
|
249
|
+
margin: 1em 0;
|
|
250
|
+
background-color: var(--color-background-secondary);
|
|
251
|
+
color: var(--color-text);
|
|
252
|
+
font-family: var(--font-family-code);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
code.tsd-tag {
|
|
256
|
+
background-color: var(--color-accent);
|
|
257
|
+
border: unset;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/*
|
|
261
|
+
* Warnings
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
.warning {
|
|
265
|
+
border-style: solid;
|
|
266
|
+
border-width: 1px;
|
|
267
|
+
border-color: var(--color-warning-border);
|
|
268
|
+
border-radius: 6px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/*
|
|
272
|
+
* Topbar
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
.tsd-page-toolbar {
|
|
276
|
+
background-color: var(--color-background-navbar);
|
|
277
|
+
border-bottom-color: var(--color-accent);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.tsd-page-toolbar a.title:hover {
|
|
281
|
+
text-decoration: none;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
#tsd-search.has-focus {
|
|
285
|
+
background-color: var(--color-background-navbar);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
#tsd-search .results,
|
|
289
|
+
#tsd-search .results li,
|
|
290
|
+
#tsd-search .results li:nth-child(2n) {
|
|
291
|
+
background-color: var(--color-background-navbar);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
#tsd-search .results li {
|
|
295
|
+
margin-bottom: 0px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
#tsd-search .results li:hover:not(.no-results) {
|
|
299
|
+
background-color: var(--color-accent);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
#tsd-search .results {
|
|
303
|
+
border-style: solid;
|
|
304
|
+
border-width: 1px;
|
|
305
|
+
border-color: var(--color-accent);
|
|
306
|
+
border-radius: 0px 0px 6px 6px;
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
#tsd-search .results .no-results {
|
|
311
|
+
padding: calc(4px + 0.25rem);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/*
|
|
315
|
+
* Baseboard
|
|
316
|
+
*/
|
|
317
|
+
|
|
318
|
+
footer {
|
|
319
|
+
border-top-color: var(--color-accent);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/*
|
|
323
|
+
* Side navigations
|
|
324
|
+
*/
|
|
325
|
+
|
|
326
|
+
.site-menu {
|
|
327
|
+
padding: 1rem 0;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.tsd-navigation a {
|
|
331
|
+
color: var(--color-text);
|
|
332
|
+
border-radius: 6px;
|
|
333
|
+
padding: 6px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.tsd-navigation a,
|
|
337
|
+
.tsd-navigation a:hover {
|
|
338
|
+
text-decoration: none;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tsd-navigation a:hover:not(.current) {
|
|
342
|
+
background-color: color-mix(in srgb, var(--color-text-aside), #0000 88%);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.tsd-navigation a.current {
|
|
346
|
+
background-color: color-mix(in srgb, var(--color-text-aside), #0000 92%);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/*
|
|
350
|
+
* Type definition groups
|
|
351
|
+
*/
|
|
352
|
+
|
|
353
|
+
.tsd-index-panel,
|
|
354
|
+
.tsd-member-group {
|
|
355
|
+
background-color: var(--color-background);
|
|
356
|
+
padding: 16px;
|
|
357
|
+
border: 1px var(--color-accent) solid;
|
|
358
|
+
border-radius: 6px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.tsd-panel > h1,
|
|
362
|
+
.tsd-panel > h2,
|
|
363
|
+
.tsd-panel > h3 {
|
|
364
|
+
margin-top: 0px;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.tsd-panel-group.tsd-index-group details {
|
|
368
|
+
margin: 0px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.tsd-member-group .tsd-member:last-child {
|
|
372
|
+
margin-bottom: 0px;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.tsd-signature {
|
|
376
|
+
border: 1px solid var(--color-accent);
|
|
377
|
+
border-radius: 6px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.tsd-signatures .tsd-signature {
|
|
381
|
+
border-color: var(--color-accent);
|
|
382
|
+
border-radius: 0px;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.tsd-description .tsd-signatures .tsd-signature {
|
|
386
|
+
border-radius: 6px;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.tsd-full-hierarchy:not(:last-child) {
|
|
390
|
+
border-bottom: var(--color-accent);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/*
|
|
394
|
+
* Footer
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
footer p {
|
|
398
|
+
font-size: 1rem;
|
|
399
|
+
text-align: center;
|
|
400
|
+
color: var(--color-text-aside);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/*
|
|
404
|
+
* Fix collapsed margin
|
|
405
|
+
*/
|
|
406
|
+
|
|
407
|
+
.tsd-accordion-summary.tsd-index-summary > h5 {
|
|
408
|
+
margin-top: 0px;
|
|
409
|
+
margin-bottom: 0px;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.tsd-panel-group:not([open]) > .tsd-accordion-summary {
|
|
413
|
+
margin-bottom: 0px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/*
|
|
417
|
+
* Fix collapse arrow position
|
|
418
|
+
*/
|
|
419
|
+
|
|
420
|
+
.tsd-accordion-summary:has(svg) > * {
|
|
421
|
+
display: inline-flex;
|
|
422
|
+
align-items: center;
|
|
423
|
+
line-height: normal;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.tsd-accordion-summary > * > svg {
|
|
427
|
+
padding-top: 0px;
|
|
428
|
+
position: relative;
|
|
429
|
+
left: 0px;
|
|
430
|
+
top: 50%;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.tsd-accordion-summary svg {
|
|
434
|
+
transition: transform 0.1s ease-in-out;
|
|
435
|
+
}
|
package/docs/hierarchy.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Global Header Client</title><meta name="description" content="Documentation for Global Header Client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Global Header Client</title><meta name="description" content="Documentation for Global Header Client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script><link rel="stylesheet" href="assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Global Header Client</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>Global Header Client</h1></div><h2>Class Hierarchy</h2><ul class="tsd-full-hierarchy"><li><a id="Link" class="tsd-anchor"></a><a href="interfaces/Link.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-256"></use></svg>Link</a><ul><li><a id="LinkWithTarget" class="tsd-anchor"></a><a href="interfaces/LinkWithTarget.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-256"></use></svg>LinkWithTarget</a><ul><li><a id="BrandingConfigUmbrella" class="tsd-anchor"></a><a href="interfaces/BrandingConfigUmbrella.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-256"></use></svg>BrandingConfigUmbrella</a><ul></ul></li><li><a id="BrandingConfigHost" class="tsd-anchor"></a><a href="interfaces/BrandingConfigHost.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-256"></use></svg>BrandingConfigHost</a><ul></ul></li></ul></li></ul></li></ul><ul class="tsd-full-hierarchy"><li><a id="ServicePoints" class="tsd-anchor"></a><a href="interfaces/ServicePoints.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-256"></use></svg>ServicePoints</a><ul><li><a id="EnrichedServicePoints" class="tsd-anchor"></a><a href="interfaces/EnrichedServicePoints.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-256"></use></svg>EnrichedServicePoints</a><ul></ul></li></ul></li></ul></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>Global Header Client</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base="."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with <a href="https://github.com/KillerJulian/typedoc-github-theme" target="_blank">typedoc-github-theme</a></p></footer><div class="overlay"></div></body></html>
|
package/docs/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Global Header Client</title><meta name="description" content="Documentation for Global Header Client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Global Header Client</title><meta name="description" content="Documentation for Global Header Client"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script><link rel="stylesheet" href="assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">Global Header Client</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h1>Global Header Client</h1></div><div class="tsd-panel tsd-typography"><p>The <strong><code>@govflanders/vl-widget-global-header-types</code></strong> package provides TypeScript types and interfaces for interacting with the <strong>Global Header Widget</strong>. This widget is embedded in customer web pages and exposes a client object (<code>window.globalHeaderClient</code>) that allows for dynamic configuration and interaction with the global header.</p>
|
|
2
2
|
<p>By using the types defined in this package, developers can ensure type-safe interactions with the widget while improving their development experience (DX) by utilizing autocompletion and built-in documentation.</p>
|
|
3
3
|
<a id="md:adding-a-flanders-global-header-to-your-website" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Adding a Flanders Global Header to Your Website<a href="#md:adding-a-flanders-global-header-to-your-website" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>You can integrate the <strong>Flanders Global Header</strong> into your website using one of two methods: the <strong>entry script</strong> or the <strong>embed script</strong>. Each serves a different purpose:</p>
|
|
4
4
|
<a id="md:1-using-the-entry-script" class="tsd-anchor"></a><h3 class="tsd-anchor-link">1. Using the Entry Script<a href="#md:1-using-the-entry-script" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3><p>The entry script should be placed in the <code><head></code> section of your HTML, preferably at the top. This is essential because the <code>globalHeaderClient</code> object is only available after this script has loaded. With the entry script, the header does not render automatically, so you'll need to call the <code>mount</code> method to display it.</p>
|
|
@@ -115,4 +115,4 @@ Action Required:</p>
|
|
|
115
115
|
<a id="md:maintainers" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Maintainers<a href="#md:maintainers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
|
|
116
116
|
<li><a href="https://github.com/m44rten1" target="_blank" class="external">Maarten Van Steenkiste</a></li>
|
|
117
117
|
</ul>
|
|
118
|
-
</div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#md:adding-a-flanders-global-header-to-your-website"><span>Adding a <wbr/>Flanders <wbr/>Global <wbr/>Header to <wbr/>Your <wbr/>Website</span></a><ul><li><a href="#md:1-using-the-entry-script"><span>1. <wbr/>Using the <wbr/>Entry <wbr/>Script</span></a></li><li><a href="#md:2-using-the-embed-script"><span>2. <wbr/>Using the <wbr/>Embed <wbr/>Script</span></a></li><li><a href="#md:summary"><span>Summary</span></a></li></ul><a href="#md:installation"><span>Installation</span></a><a href="#md:usage"><span>Usage</span></a><a href="#md:api"><span>API</span></a><a href="#md:migration-guide-upgrading-from-v4-to-v5"><span>Migration guide: <wbr/>Upgrading from v4 to v5</span></a><ul><li><a href="#md:1-remove-client-library-script-links"><span>1. <wbr/>Remove client library script links</span></a></li><li><a href="#md:2-eliminate-installable-packages"><span>2. <wbr/>Eliminate installable packages</span></a></li><li><a href="#md:3-update-embed-script-links"><span>3. <wbr/>Update <wbr/>Embed script links</span></a></li><li><a href="#md:4-update-api-usage"><span>4. <wbr/>Update API usage</span></a></li><li><a href="#md:5-accessing-windowglobalheaderclient"><span>5. <wbr/>Accessing window.global<wbr/>Header<wbr/>Client</span></a></li><li><a href="#md:6-verify-styling-and-rendering"><span>6. <wbr/>Verify <wbr/>Styling and <wbr/>Rendering</span></a></li></ul><a href="#md:notes"><span>Notes</span></a><ul><li><a href="#md:language-switching"><span>Language <wbr/>Switching</span></a></li><li><a href="#md:translatable-type"><span>Translatable <wbr/>Type</span></a></li><li><ul><li><a href="#md:example"><span>Example</span></a></li></ul></li></ul><a href="#md:browser-support"><span>Browser <wbr/>Support</span></a><a href="#md:contact-information"><span>Contact <wbr/>Information</span></a><a href="#md:maintainers"><span>Maintainers</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>Global Header Client</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base="."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
118
|
+
</div></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><a href="#md:adding-a-flanders-global-header-to-your-website"><span>Adding a <wbr/>Flanders <wbr/>Global <wbr/>Header to <wbr/>Your <wbr/>Website</span></a><ul><li><a href="#md:1-using-the-entry-script"><span>1. <wbr/>Using the <wbr/>Entry <wbr/>Script</span></a></li><li><a href="#md:2-using-the-embed-script"><span>2. <wbr/>Using the <wbr/>Embed <wbr/>Script</span></a></li><li><a href="#md:summary"><span>Summary</span></a></li></ul><a href="#md:installation"><span>Installation</span></a><a href="#md:usage"><span>Usage</span></a><a href="#md:api"><span>API</span></a><a href="#md:migration-guide-upgrading-from-v4-to-v5"><span>Migration guide: <wbr/>Upgrading from v4 to v5</span></a><ul><li><a href="#md:1-remove-client-library-script-links"><span>1. <wbr/>Remove client library script links</span></a></li><li><a href="#md:2-eliminate-installable-packages"><span>2. <wbr/>Eliminate installable packages</span></a></li><li><a href="#md:3-update-embed-script-links"><span>3. <wbr/>Update <wbr/>Embed script links</span></a></li><li><a href="#md:4-update-api-usage"><span>4. <wbr/>Update API usage</span></a></li><li><a href="#md:5-accessing-windowglobalheaderclient"><span>5. <wbr/>Accessing window.global<wbr/>Header<wbr/>Client</span></a></li><li><a href="#md:6-verify-styling-and-rendering"><span>6. <wbr/>Verify <wbr/>Styling and <wbr/>Rendering</span></a></li></ul><a href="#md:notes"><span>Notes</span></a><ul><li><a href="#md:language-switching"><span>Language <wbr/>Switching</span></a></li><li><a href="#md:translatable-type"><span>Translatable <wbr/>Type</span></a></li><li><ul><li><a href="#md:example"><span>Example</span></a></li></ul></li></ul><a href="#md:browser-support"><span>Browser <wbr/>Support</span></a><a href="#md:contact-information"><span>Contact <wbr/>Information</span></a><a href="#md:maintainers"><span>Maintainers</span></a></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="assets/icons.svg#icon-1"></use></svg><span>Global Header Client</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base="."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with <a href="https://github.com/KillerJulian/typedoc-github-theme" target="_blank">typedoc-github-theme</a></p></footer><div class="overlay"></div></body></html>
|