@genesislcap/foundation-header 14.409.0-FUI-2495.9 → 14.409.0-pbi.1

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.
@@ -33,161 +33,6 @@
33
33
  }
34
34
  ]
35
35
  },
36
- {
37
- "kind": "javascript-module",
38
- "path": "src/config/config.ts",
39
- "declarations": [
40
- {
41
- "kind": "variable",
42
- "name": "defaultHeaderConfig",
43
- "type": {
44
- "text": "HeaderConfig"
45
- },
46
- "default": "{\n name: 'foundation-header',\n templateOptions: defaultTemplateOptions,\n}",
47
- "description": "Default HeaderConfig DI implementation.",
48
- "privacy": "public"
49
- }
50
- ],
51
- "exports": [
52
- {
53
- "kind": "js",
54
- "name": "defaultHeaderConfig",
55
- "declaration": {
56
- "name": "defaultHeaderConfig",
57
- "module": "src/config/config.ts"
58
- }
59
- }
60
- ]
61
- },
62
- {
63
- "kind": "javascript-module",
64
- "path": "src/config/configure.ts",
65
- "declarations": [
66
- {
67
- "kind": "function",
68
- "name": "configure",
69
- "parameters": [
70
- {
71
- "name": "config",
72
- "type": {
73
- "text": "Partial<HeaderConfig>"
74
- },
75
- "description": "A partial HeaderConfig."
76
- }
77
- ],
78
- "description": "A function that allows configuring the header micro-frontend with name and templateOptions.",
79
- "privacy": "public"
80
- }
81
- ],
82
- "exports": [
83
- {
84
- "kind": "js",
85
- "name": "configure",
86
- "declaration": {
87
- "name": "configure",
88
- "module": "src/config/configure.ts"
89
- }
90
- }
91
- ]
92
- },
93
- {
94
- "kind": "javascript-module",
95
- "path": "src/config/index.ts",
96
- "declarations": [],
97
- "exports": [
98
- {
99
- "kind": "js",
100
- "name": "*",
101
- "declaration": {
102
- "name": "*",
103
- "package": "./config"
104
- }
105
- },
106
- {
107
- "kind": "js",
108
- "name": "*",
109
- "declaration": {
110
- "name": "*",
111
- "package": "./configure"
112
- }
113
- },
114
- {
115
- "kind": "js",
116
- "name": "*",
117
- "declaration": {
118
- "name": "*",
119
- "package": "./targetId"
120
- }
121
- }
122
- ]
123
- },
124
- {
125
- "kind": "javascript-module",
126
- "path": "src/config/targetId.ts",
127
- "declarations": [],
128
- "exports": []
129
- },
130
- {
131
- "kind": "javascript-module",
132
- "path": "src/config/templates.ts",
133
- "declarations": [
134
- {
135
- "kind": "variable",
136
- "name": "templateOptionsByDesiginSystemPrefix",
137
- "type": {
138
- "text": "Record<string, TemplateComponents>"
139
- },
140
- "default": "{\n zero: {\n icon: 'zero-icon',\n button: 'zero-button',\n connectionIndicator: 'zero-connection-indicator',\n aiIndicator: 'zero-ai-indicator',\n environmentIndicator: 'zero-environment-indicator',\n select: 'zero-select',\n option: 'zero-option',\n flyout: 'zero-flyout',\n provider: 'zero-design-system-provider',\n },\n rapid: {\n icon: 'rapid-icon',\n button: 'rapid-button',\n connectionIndicator: 'rapid-connection-indicator',\n aiIndicator: 'rapid-ai-indicator',\n environmentIndicator: 'rapid-environment-indicator',\n select: 'rapid-select',\n option: 'rapid-option',\n flyout: 'rapid-flyout',\n provider: 'rapid-design-system-provider',\n },\n}",
141
- "description": "templateOptionsByDesiginSystemPrefix.",
142
- "privacy": "public"
143
- },
144
- {
145
- "kind": "variable",
146
- "name": "defaultTemplateOptions",
147
- "type": {
148
- "text": "TemplateOptions"
149
- },
150
- "description": "defaultTemplateOptions.",
151
- "deprecated": "- Use `rapidTemplateOptions` instead.",
152
- "privacy": "public"
153
- },
154
- {
155
- "kind": "variable",
156
- "name": "rapidTemplateOptions",
157
- "type": {
158
- "text": "TemplateOptions"
159
- },
160
- "description": "rapidTemplateOptions.",
161
- "privacy": "public"
162
- }
163
- ],
164
- "exports": [
165
- {
166
- "kind": "js",
167
- "name": "templateOptionsByDesiginSystemPrefix",
168
- "declaration": {
169
- "name": "templateOptionsByDesiginSystemPrefix",
170
- "module": "src/config/templates.ts"
171
- }
172
- },
173
- {
174
- "kind": "js",
175
- "name": "defaultTemplateOptions",
176
- "declaration": {
177
- "name": "defaultTemplateOptions",
178
- "module": "src/config/templates.ts"
179
- }
180
- },
181
- {
182
- "kind": "js",
183
- "name": "rapidTemplateOptions",
184
- "declaration": {
185
- "name": "rapidTemplateOptions",
186
- "module": "src/config/templates.ts"
187
- }
188
- }
189
- ]
190
- },
191
36
  {
192
37
  "kind": "javascript-module",
193
38
  "path": "src/components/control-panel.ts",
@@ -410,6 +255,161 @@
410
255
  }
411
256
  ]
412
257
  },
258
+ {
259
+ "kind": "javascript-module",
260
+ "path": "src/config/config.ts",
261
+ "declarations": [
262
+ {
263
+ "kind": "variable",
264
+ "name": "defaultHeaderConfig",
265
+ "type": {
266
+ "text": "HeaderConfig"
267
+ },
268
+ "default": "{\n name: 'foundation-header',\n templateOptions: defaultTemplateOptions,\n}",
269
+ "description": "Default HeaderConfig DI implementation.",
270
+ "privacy": "public"
271
+ }
272
+ ],
273
+ "exports": [
274
+ {
275
+ "kind": "js",
276
+ "name": "defaultHeaderConfig",
277
+ "declaration": {
278
+ "name": "defaultHeaderConfig",
279
+ "module": "src/config/config.ts"
280
+ }
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "kind": "javascript-module",
286
+ "path": "src/config/configure.ts",
287
+ "declarations": [
288
+ {
289
+ "kind": "function",
290
+ "name": "configure",
291
+ "parameters": [
292
+ {
293
+ "name": "config",
294
+ "type": {
295
+ "text": "Partial<HeaderConfig>"
296
+ },
297
+ "description": "A partial HeaderConfig."
298
+ }
299
+ ],
300
+ "description": "A function that allows configuring the header micro-frontend with name and templateOptions.",
301
+ "privacy": "public"
302
+ }
303
+ ],
304
+ "exports": [
305
+ {
306
+ "kind": "js",
307
+ "name": "configure",
308
+ "declaration": {
309
+ "name": "configure",
310
+ "module": "src/config/configure.ts"
311
+ }
312
+ }
313
+ ]
314
+ },
315
+ {
316
+ "kind": "javascript-module",
317
+ "path": "src/config/index.ts",
318
+ "declarations": [],
319
+ "exports": [
320
+ {
321
+ "kind": "js",
322
+ "name": "*",
323
+ "declaration": {
324
+ "name": "*",
325
+ "package": "./config"
326
+ }
327
+ },
328
+ {
329
+ "kind": "js",
330
+ "name": "*",
331
+ "declaration": {
332
+ "name": "*",
333
+ "package": "./configure"
334
+ }
335
+ },
336
+ {
337
+ "kind": "js",
338
+ "name": "*",
339
+ "declaration": {
340
+ "name": "*",
341
+ "package": "./targetId"
342
+ }
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "kind": "javascript-module",
348
+ "path": "src/config/targetId.ts",
349
+ "declarations": [],
350
+ "exports": []
351
+ },
352
+ {
353
+ "kind": "javascript-module",
354
+ "path": "src/config/templates.ts",
355
+ "declarations": [
356
+ {
357
+ "kind": "variable",
358
+ "name": "templateOptionsByDesiginSystemPrefix",
359
+ "type": {
360
+ "text": "Record<string, TemplateComponents>"
361
+ },
362
+ "default": "{\n zero: {\n icon: 'zero-icon',\n button: 'zero-button',\n connectionIndicator: 'zero-connection-indicator',\n aiIndicator: 'zero-ai-indicator',\n environmentIndicator: 'zero-environment-indicator',\n select: 'zero-select',\n option: 'zero-option',\n flyout: 'zero-flyout',\n provider: 'zero-design-system-provider',\n },\n rapid: {\n icon: 'rapid-icon',\n button: 'rapid-button',\n connectionIndicator: 'rapid-connection-indicator',\n aiIndicator: 'rapid-ai-indicator',\n environmentIndicator: 'rapid-environment-indicator',\n select: 'rapid-select',\n option: 'rapid-option',\n flyout: 'rapid-flyout',\n provider: 'rapid-design-system-provider',\n },\n}",
363
+ "description": "templateOptionsByDesiginSystemPrefix.",
364
+ "privacy": "public"
365
+ },
366
+ {
367
+ "kind": "variable",
368
+ "name": "defaultTemplateOptions",
369
+ "type": {
370
+ "text": "TemplateOptions"
371
+ },
372
+ "description": "defaultTemplateOptions.",
373
+ "deprecated": "- Use `rapidTemplateOptions` instead.",
374
+ "privacy": "public"
375
+ },
376
+ {
377
+ "kind": "variable",
378
+ "name": "rapidTemplateOptions",
379
+ "type": {
380
+ "text": "TemplateOptions"
381
+ },
382
+ "description": "rapidTemplateOptions.",
383
+ "privacy": "public"
384
+ }
385
+ ],
386
+ "exports": [
387
+ {
388
+ "kind": "js",
389
+ "name": "templateOptionsByDesiginSystemPrefix",
390
+ "declaration": {
391
+ "name": "templateOptionsByDesiginSystemPrefix",
392
+ "module": "src/config/templates.ts"
393
+ }
394
+ },
395
+ {
396
+ "kind": "js",
397
+ "name": "defaultTemplateOptions",
398
+ "declaration": {
399
+ "name": "defaultTemplateOptions",
400
+ "module": "src/config/templates.ts"
401
+ }
402
+ },
403
+ {
404
+ "kind": "js",
405
+ "name": "rapidTemplateOptions",
406
+ "declaration": {
407
+ "name": "rapidTemplateOptions",
408
+ "module": "src/config/templates.ts"
409
+ }
410
+ }
411
+ ]
412
+ },
413
413
  {
414
414
  "kind": "javascript-module",
415
415
  "path": "src/main/index.ts",
@@ -763,15 +763,6 @@
763
763
  },
764
764
  "description": "Callback function to check if a layout item is currently active in the layout.\nUsed with nav items that have `isLayoutItem: true` and `layoutRegistration` set."
765
765
  },
766
- {
767
- "kind": "field",
768
- "name": "onBeforeNavButtonClick",
769
- "type": {
770
- "text": "(detail: NavButtonClickDetail) => void | Promise<void> | undefined"
771
- },
772
- "description": "Callback invoked before navigation occurs when a nav button is clicked.\nAwaited before the route changes, so async cleanup is supported.",
773
- "privacy": "public"
774
- },
775
766
  {
776
767
  "kind": "method",
777
768
  "name": "isLayoutItemActive",
@@ -892,7 +883,7 @@
892
883
  "name": "handleNavButtonClick",
893
884
  "return": {
894
885
  "type": {
895
- "text": "Promise<void>"
886
+ "text": "void"
896
887
  }
897
888
  },
898
889
  "parameters": [
@@ -1532,19 +1523,6 @@
1532
1523
  "module": "src/main/main.ts"
1533
1524
  }
1534
1525
  },
1535
- {
1536
- "kind": "field",
1537
- "name": "onBeforeNavButtonClick",
1538
- "type": {
1539
- "text": "(detail: NavButtonClickDetail) => void | Promise<void> | undefined"
1540
- },
1541
- "description": "Callback invoked before navigation occurs when a nav button is clicked.\nAwaited before the route changes, so async cleanup is supported.",
1542
- "privacy": "public",
1543
- "inheritedFrom": {
1544
- "name": "Navigation",
1545
- "module": "src/main/main.ts"
1546
- }
1547
- },
1548
1526
  {
1549
1527
  "kind": "method",
1550
1528
  "name": "isLayoutItemActive",
@@ -1697,7 +1675,7 @@
1697
1675
  "name": "handleNavButtonClick",
1698
1676
  "return": {
1699
1677
  "type": {
1700
- "text": "Promise<void>"
1678
+ "text": "void"
1701
1679
  }
1702
1680
  },
1703
1681
  "parameters": [
@@ -2659,19 +2637,6 @@
2659
2637
  "module": "src/main/main.ts"
2660
2638
  }
2661
2639
  },
2662
- {
2663
- "kind": "field",
2664
- "name": "onBeforeNavButtonClick",
2665
- "type": {
2666
- "text": "(detail: NavButtonClickDetail) => void | Promise<void> | undefined"
2667
- },
2668
- "description": "Callback invoked before navigation occurs when a nav button is clicked.\nAwaited before the route changes, so async cleanup is supported.",
2669
- "privacy": "public",
2670
- "inheritedFrom": {
2671
- "name": "Navigation",
2672
- "module": "src/main/main.ts"
2673
- }
2674
- },
2675
2640
  {
2676
2641
  "kind": "method",
2677
2642
  "name": "isLayoutItemActive",
@@ -2824,7 +2789,7 @@
2824
2789
  "name": "handleNavButtonClick",
2825
2790
  "return": {
2826
2791
  "type": {
2827
- "text": "Promise<void>"
2792
+ "text": "void"
2828
2793
  }
2829
2794
  },
2830
2795
  "parameters": [
@@ -3333,19 +3298,6 @@
3333
3298
  "module": "src/main/main.ts"
3334
3299
  }
3335
3300
  },
3336
- {
3337
- "kind": "field",
3338
- "name": "onBeforeNavButtonClick",
3339
- "type": {
3340
- "text": "(detail: NavButtonClickDetail) => void | Promise<void> | undefined"
3341
- },
3342
- "description": "Callback invoked before navigation occurs when a nav button is clicked.\nAwaited before the route changes, so async cleanup is supported.",
3343
- "privacy": "public",
3344
- "inheritedFrom": {
3345
- "name": "Navigation",
3346
- "module": "src/main/main.ts"
3347
- }
3348
- },
3349
3301
  {
3350
3302
  "kind": "method",
3351
3303
  "name": "isLayoutItemActive",
@@ -3484,7 +3436,7 @@
3484
3436
  "name": "handleNavButtonClick",
3485
3437
  "return": {
3486
3438
  "type": {
3487
- "text": "Promise<void>"
3439
+ "text": "void"
3488
3440
  }
3489
3441
  },
3490
3442
  "parameters": [
@@ -3878,33 +3830,6 @@
3878
3830
  }
3879
3831
  ]
3880
3832
  },
3881
- {
3882
- "kind": "javascript-module",
3883
- "path": "src/tags/index.ts",
3884
- "declarations": [],
3885
- "exports": [
3886
- {
3887
- "kind": "js",
3888
- "name": "*",
3889
- "declaration": {
3890
- "name": "*",
3891
- "package": "./tags"
3892
- }
3893
- }
3894
- ]
3895
- },
3896
- {
3897
- "kind": "javascript-module",
3898
- "path": "src/tags/tags.ts",
3899
- "declarations": [],
3900
- "exports": []
3901
- },
3902
- {
3903
- "kind": "javascript-module",
3904
- "path": "src/templates/rapid.template.ts",
3905
- "declarations": [],
3906
- "exports": []
3907
- },
3908
3833
  {
3909
3834
  "kind": "javascript-module",
3910
3835
  "path": "src/styles/colors.ts",
@@ -4066,6 +3991,33 @@
4066
3991
  }
4067
3992
  ]
4068
3993
  },
3994
+ {
3995
+ "kind": "javascript-module",
3996
+ "path": "src/tags/index.ts",
3997
+ "declarations": [],
3998
+ "exports": [
3999
+ {
4000
+ "kind": "js",
4001
+ "name": "*",
4002
+ "declaration": {
4003
+ "name": "*",
4004
+ "package": "./tags"
4005
+ }
4006
+ }
4007
+ ]
4008
+ },
4009
+ {
4010
+ "kind": "javascript-module",
4011
+ "path": "src/tags/tags.ts",
4012
+ "declarations": [],
4013
+ "exports": []
4014
+ },
4015
+ {
4016
+ "kind": "javascript-module",
4017
+ "path": "src/templates/rapid.template.ts",
4018
+ "declarations": [],
4019
+ "exports": []
4020
+ },
4069
4021
  {
4070
4022
  "kind": "javascript-module",
4071
4023
  "path": "src/utils/index.ts",
@@ -7,20 +7,6 @@ import type { ViewTemplate } from '@genesislcap/web-core';
7
7
  import { Container } from '@genesislcap/web-core';
8
8
  import { ControlPanel } from '../components/control-panel';
9
9
  import { HeaderConfig } from '../config/config';
10
- /**
11
- * Detail payload for nav button click events and callbacks
12
- * @public
13
- */
14
- export type NavButtonClickDetail = {
15
- /** The navigation item that was clicked */
16
- item: FoundationRouteNavItem;
17
- /** The pathname before navigation */
18
- oldPath: string;
19
- /** The destination path (`routeNavItem.routePath`). Undefined for items with a custom `onClick` that don't navigate. */
20
- newPath: string | undefined;
21
- /** The header component instance */
22
- context: any;
23
- };
24
10
  /**
25
11
  * Events dispatched by the navigation control buttons
26
12
  * @public
@@ -31,7 +17,10 @@ export type NavEventDetailMap = {
31
17
  'misc-icon-clicked': void;
32
18
  'notification-icon-clicked': void;
33
19
  'language-changed': void;
34
- 'nav-button-clicked': NavButtonClickDetail;
20
+ 'nav-button-clicked': {
21
+ item: FoundationRouteNavItem;
22
+ context: any;
23
+ };
35
24
  };
36
25
  /**
37
26
  * Options for the language selector
@@ -651,28 +640,6 @@ export declare class Navigation extends Navigation_base {
651
640
  * @beta
652
641
  */
653
642
  layoutItemCheck?: (registration: string) => boolean;
654
- /**
655
- * Callback invoked before navigation occurs when a nav button is clicked.
656
- * Awaited before the route changes, so async cleanup is supported.
657
- *
658
- * @remarks
659
- * DOM events cannot be awaited, so this callback is the only way to guarantee
660
- * execution before the route changes. The `nav-button-clicked` event fires after
661
- * navigation and is suitable for informational use only.
662
- *
663
- * @example
664
- * ```ts
665
- * <foundation-header
666
- * :onBeforeNavButtonClick=${(x) => async (detail) => {
667
- * await x.cleanup();
668
- * console.log(`Navigating from ${detail.oldPath} to ${detail.newPath}`);
669
- * }}
670
- * />
671
- * ```
672
- *
673
- * @public
674
- */
675
- onBeforeNavButtonClick?: (detail: NavButtonClickDetail) => void | Promise<void>;
676
643
  /**
677
644
  * Check if a layout item is currently active in the layout
678
645
  * @param item - The navigation item to check
@@ -817,7 +784,7 @@ export declare class Navigation extends Navigation_base {
817
784
  * Handles the click event for a navigation button
818
785
  * @param routeNavItem - The navigation item that was clicked
819
786
  */
820
- handleNavButtonClick(routeNavItem: FoundationRouteNavItem): Promise<void>;
787
+ handleNavButtonClick(routeNavItem: FoundationRouteNavItem): void;
821
788
  /**
822
789
  * Current pathname for route highlighting
823
790
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAe,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,EAAsB,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACxF,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAEpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAQ,SAAS,EAA6C,MAAM,uBAAuB,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAUhD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,2CAA2C;IAC3C,IAAI,EAAE,sBAAsB,CAAC;IAC7B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,wHAAwH;IACxH,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,oCAAoC;IACpC,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,wBAAwB,EAAE,IAAI,CAAC;IAC/B,gBAAgB,EAAE,IAAI,CAAC;IACvB,mBAAmB,EAAE,IAAI,CAAC;IAC1B,2BAA2B,EAAE,IAAI,CAAC;IAClC,kBAAkB,EAAE,IAAI,CAAC;IACzB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;CA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,UAAW,SAAQ,UAAU;CAAG;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAKa,WAAY,SAAQ,UAAU;IACzC;;;;;;;;OAQG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAMlC,cAAc,IAAI,YAAY,CAAC,UAAU,CAAC;CAG3C"}
@@ -454,23 +454,13 @@ let Navigation = class Navigation extends EventEmitter(GenesisElement) {
454
454
  * @param routeNavItem - The navigation item that was clicked
455
455
  */
456
456
  handleNavButtonClick(routeNavItem) {
457
- return __awaiter(this, void 0, void 0, function* () {
458
- var _a;
459
- const detail = {
460
- item: routeNavItem,
461
- oldPath: this.pathName,
462
- newPath: routeNavItem.routePath,
463
- context: this,
464
- };
465
- yield ((_a = this.onBeforeNavButtonClick) === null || _a === void 0 ? void 0 : _a.call(this, detail));
466
- if (routeNavItem.onClick) {
467
- routeNavItem.onClick({ item: routeNavItem, context: this });
468
- }
469
- else if (routeNavItem.routePath) {
470
- this.navigateTo(routeNavItem.routePath);
471
- }
472
- this.$emit('nav-button-clicked', detail);
473
- });
457
+ if (routeNavItem.onClick) {
458
+ routeNavItem.onClick({ item: routeNavItem, context: this });
459
+ }
460
+ else if (routeNavItem.routePath) {
461
+ this.navigateTo(routeNavItem.routePath);
462
+ }
463
+ this.$emit('nav-button-clicked', { item: routeNavItem, context: this });
474
464
  }
475
465
  /**
476
466
  * Current pathname for route highlighting
@@ -588,9 +578,6 @@ __decorate([
588
578
  __decorate([
589
579
  observable
590
580
  ], Navigation.prototype, "layoutItemCheck", void 0);
591
- __decorate([
592
- observable
593
- ], Navigation.prototype, "onBeforeNavButtonClick", void 0);
594
581
  __decorate([
595
582
  attr({ mode: 'boolean', attribute: 'show-account-menu' })
596
583
  ], Navigation.prototype, "showAccountMenu", void 0);
@@ -534,41 +534,6 @@
534
534
  "endIndex": 3
535
535
  }
536
536
  },
537
- {
538
- "kind": "TypeAlias",
539
- "canonicalReference": "@genesislcap/foundation-header!NavButtonClickDetail:type",
540
- "docComment": "/**\n * Detail payload for nav button click events and callbacks\n *\n * @public\n */\n",
541
- "excerptTokens": [
542
- {
543
- "kind": "Content",
544
- "text": "export type NavButtonClickDetail = "
545
- },
546
- {
547
- "kind": "Content",
548
- "text": "{\n item: "
549
- },
550
- {
551
- "kind": "Reference",
552
- "text": "FoundationRouteNavItem",
553
- "canonicalReference": "@genesislcap/foundation-ui!FoundationRouteNavItem:type"
554
- },
555
- {
556
- "kind": "Content",
557
- "text": ";\n oldPath: string;\n newPath: string | undefined;\n context: any;\n}"
558
- },
559
- {
560
- "kind": "Content",
561
- "text": ";"
562
- }
563
- ],
564
- "fileUrlPath": "src/main/main.ts",
565
- "releaseTag": "Public",
566
- "name": "NavButtonClickDetail",
567
- "typeTokenRange": {
568
- "startIndex": 1,
569
- "endIndex": 4
570
- }
571
- },
572
537
  {
573
538
  "kind": "TypeAlias",
574
539
  "canonicalReference": "@genesislcap/foundation-header!NavEventDetailMap:type",
@@ -580,16 +545,16 @@
580
545
  },
581
546
  {
582
547
  "kind": "Content",
583
- "text": "{\n 'luminance-icon-clicked': void;\n 'logout-clicked': void;\n 'misc-icon-clicked': void;\n 'notification-icon-clicked': void;\n 'language-changed': void;\n 'nav-button-clicked': "
548
+ "text": "{\n 'luminance-icon-clicked': void;\n 'logout-clicked': void;\n 'misc-icon-clicked': void;\n 'notification-icon-clicked': void;\n 'language-changed': void;\n 'nav-button-clicked': {\n item: "
584
549
  },
585
550
  {
586
551
  "kind": "Reference",
587
- "text": "NavButtonClickDetail",
588
- "canonicalReference": "@genesislcap/foundation-header!NavButtonClickDetail:type"
552
+ "text": "FoundationRouteNavItem",
553
+ "canonicalReference": "@genesislcap/foundation-ui!FoundationRouteNavItem:type"
589
554
  },
590
555
  {
591
556
  "kind": "Content",
592
- "text": ";\n}"
557
+ "text": ";\n context: any;\n };\n}"
593
558
  },
594
559
  {
595
560
  "kind": "Content",
@@ -886,14 +851,9 @@
886
851
  "kind": "Content",
887
852
  "text": "): "
888
853
  },
889
- {
890
- "kind": "Reference",
891
- "text": "Promise",
892
- "canonicalReference": "!Promise:interface"
893
- },
894
854
  {
895
855
  "kind": "Content",
896
- "text": "<void>"
856
+ "text": "void"
897
857
  },
898
858
  {
899
859
  "kind": "Content",
@@ -903,7 +863,7 @@
903
863
  "isStatic": false,
904
864
  "returnTypeTokenRange": {
905
865
  "startIndex": 3,
906
- "endIndex": 5
866
+ "endIndex": 4
907
867
  },
908
868
  "releaseTag": "Public",
909
869
  "isProtected": false,
@@ -1468,54 +1428,6 @@
1468
1428
  "isAbstract": false,
1469
1429
  "name": "navigateTo"
1470
1430
  },
1471
- {
1472
- "kind": "Property",
1473
- "canonicalReference": "@genesislcap/foundation-header!Navigation#onBeforeNavButtonClick:member",
1474
- "docComment": "/**\n * Callback invoked before navigation occurs when a nav button is clicked. Awaited before the route changes, so async cleanup is supported.\n *\n * @remarks\n *\n * DOM events cannot be awaited, so this callback is the only way to guarantee execution before the route changes. The `nav-button-clicked` event fires after navigation and is suitable for informational use only.\n *\n * @example\n * ```ts\n * <foundation-header\n * :onBeforeNavButtonClick=${(x) => async (detail) => {\n * await x.cleanup();\n * console.log(`Navigating from ${detail.oldPath} to ${detail.newPath}`);\n * }}\n * />\n * ```\n *\n * @public\n */\n",
1475
- "excerptTokens": [
1476
- {
1477
- "kind": "Content",
1478
- "text": "onBeforeNavButtonClick?: "
1479
- },
1480
- {
1481
- "kind": "Content",
1482
- "text": "(detail: "
1483
- },
1484
- {
1485
- "kind": "Reference",
1486
- "text": "NavButtonClickDetail",
1487
- "canonicalReference": "@genesislcap/foundation-header!NavButtonClickDetail:type"
1488
- },
1489
- {
1490
- "kind": "Content",
1491
- "text": ") => void | "
1492
- },
1493
- {
1494
- "kind": "Reference",
1495
- "text": "Promise",
1496
- "canonicalReference": "!Promise:interface"
1497
- },
1498
- {
1499
- "kind": "Content",
1500
- "text": "<void>"
1501
- },
1502
- {
1503
- "kind": "Content",
1504
- "text": ";"
1505
- }
1506
- ],
1507
- "isReadonly": false,
1508
- "isOptional": true,
1509
- "releaseTag": "Public",
1510
- "name": "onBeforeNavButtonClick",
1511
- "propertyTypeTokenRange": {
1512
- "startIndex": 1,
1513
- "endIndex": 6
1514
- },
1515
- "isStatic": false,
1516
- "isProtected": false,
1517
- "isAbstract": false
1518
- },
1519
1431
  {
1520
1432
  "kind": "Property",
1521
1433
  "canonicalReference": "@genesislcap/foundation-header!Navigation#pathName:member",
@@ -287,21 +287,6 @@ export declare const MainStyles: ElementStyles;
287
287
  */
288
288
  export declare const mainTemplate: ViewTemplate<Navigation, any>;
289
289
 
290
- /**
291
- * Detail payload for nav button click events and callbacks
292
- * @public
293
- */
294
- export declare type NavButtonClickDetail = {
295
- /** The navigation item that was clicked */
296
- item: FoundationRouteNavItem;
297
- /** The pathname before navigation */
298
- oldPath: string;
299
- /** The destination path (`routeNavItem.routePath`). Undefined for items with a custom `onClick` that don't navigate. */
300
- newPath: string | undefined;
301
- /** The header component instance */
302
- context: any;
303
- };
304
-
305
290
  /**
306
291
  * Events dispatched by the navigation control buttons
307
292
  * @public
@@ -312,7 +297,10 @@ export declare type NavEventDetailMap = {
312
297
  'misc-icon-clicked': void;
313
298
  'notification-icon-clicked': void;
314
299
  'language-changed': void;
315
- 'nav-button-clicked': NavButtonClickDetail;
300
+ 'nav-button-clicked': {
301
+ item: FoundationRouteNavItem;
302
+ context: any;
303
+ };
316
304
  };
317
305
 
318
306
  /**
@@ -569,28 +557,6 @@ export declare class Navigation extends Navigation_base {
569
557
  * @beta
570
558
  */
571
559
  layoutItemCheck?: (registration: string) => boolean;
572
- /**
573
- * Callback invoked before navigation occurs when a nav button is clicked.
574
- * Awaited before the route changes, so async cleanup is supported.
575
- *
576
- * @remarks
577
- * DOM events cannot be awaited, so this callback is the only way to guarantee
578
- * execution before the route changes. The `nav-button-clicked` event fires after
579
- * navigation and is suitable for informational use only.
580
- *
581
- * @example
582
- * ```ts
583
- * <foundation-header
584
- * :onBeforeNavButtonClick=${(x) => async (detail) => {
585
- * await x.cleanup();
586
- * console.log(`Navigating from ${detail.oldPath} to ${detail.newPath}`);
587
- * }}
588
- * />
589
- * ```
590
- *
591
- * @public
592
- */
593
- onBeforeNavButtonClick?: (detail: NavButtonClickDetail) => void | Promise<void>;
594
560
  /**
595
561
  * Check if a layout item is currently active in the layout
596
562
  * @param item - The navigation item to check
@@ -735,7 +701,7 @@ export declare class Navigation extends Navigation_base {
735
701
  * Handles the click event for a navigation button
736
702
  * @param routeNavItem - The navigation item that was clicked
737
703
  */
738
- handleNavButtonClick(routeNavItem: FoundationRouteNavItem): Promise<void>;
704
+ handleNavButtonClick(routeNavItem: FoundationRouteNavItem): void;
739
705
  /**
740
706
  * Current pathname for route highlighting
741
707
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-header",
3
3
  "description": "Genesis Foundation Header",
4
- "version": "14.409.0-FUI-2495.9",
4
+ "version": "14.409.0-pbi.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-header.d.ts",
@@ -79,29 +79,29 @@
79
79
  }
80
80
  },
81
81
  "devDependencies": {
82
- "@genesislcap/foundation-testing": "14.409.0-FUI-2495.9",
83
- "@genesislcap/genx": "14.409.0-FUI-2495.9",
84
- "@genesislcap/rollup-builder": "14.409.0-FUI-2495.9",
85
- "@genesislcap/ts-builder": "14.409.0-FUI-2495.9",
86
- "@genesislcap/uvu-playwright-builder": "14.409.0-FUI-2495.9",
87
- "@genesislcap/vite-builder": "14.409.0-FUI-2495.9",
88
- "@genesislcap/webpack-builder": "14.409.0-FUI-2495.9"
82
+ "@genesislcap/foundation-testing": "14.409.0-pbi.1",
83
+ "@genesislcap/genx": "14.409.0-pbi.1",
84
+ "@genesislcap/rollup-builder": "14.409.0-pbi.1",
85
+ "@genesislcap/ts-builder": "14.409.0-pbi.1",
86
+ "@genesislcap/uvu-playwright-builder": "14.409.0-pbi.1",
87
+ "@genesislcap/vite-builder": "14.409.0-pbi.1",
88
+ "@genesislcap/webpack-builder": "14.409.0-pbi.1"
89
89
  },
90
90
  "dependencies": {
91
- "@genesislcap/foundation-ai": "14.409.0-FUI-2495.9",
92
- "@genesislcap/foundation-auth": "14.409.0-FUI-2495.9",
93
- "@genesislcap/foundation-comms": "14.409.0-FUI-2495.9",
94
- "@genesislcap/foundation-events": "14.409.0-FUI-2495.9",
95
- "@genesislcap/foundation-i18n": "14.409.0-FUI-2495.9",
96
- "@genesislcap/foundation-logger": "14.409.0-FUI-2495.9",
97
- "@genesislcap/foundation-login": "14.409.0-FUI-2495.9",
98
- "@genesislcap/foundation-shell": "14.409.0-FUI-2495.9",
99
- "@genesislcap/foundation-ui": "14.409.0-FUI-2495.9",
100
- "@genesislcap/foundation-user": "14.409.0-FUI-2495.9",
101
- "@genesislcap/foundation-utils": "14.409.0-FUI-2495.9",
102
- "@genesislcap/foundation-zero": "14.409.0-FUI-2495.9",
103
- "@genesislcap/rapid-design-system": "14.409.0-FUI-2495.9",
104
- "@genesislcap/web-core": "14.409.0-FUI-2495.9"
91
+ "@genesislcap/foundation-ai": "14.409.0-pbi.1",
92
+ "@genesislcap/foundation-auth": "14.409.0-pbi.1",
93
+ "@genesislcap/foundation-comms": "14.409.0-pbi.1",
94
+ "@genesislcap/foundation-events": "14.409.0-pbi.1",
95
+ "@genesislcap/foundation-i18n": "14.409.0-pbi.1",
96
+ "@genesislcap/foundation-logger": "14.409.0-pbi.1",
97
+ "@genesislcap/foundation-login": "14.409.0-pbi.1",
98
+ "@genesislcap/foundation-shell": "14.409.0-pbi.1",
99
+ "@genesislcap/foundation-ui": "14.409.0-pbi.1",
100
+ "@genesislcap/foundation-user": "14.409.0-pbi.1",
101
+ "@genesislcap/foundation-utils": "14.409.0-pbi.1",
102
+ "@genesislcap/foundation-zero": "14.409.0-pbi.1",
103
+ "@genesislcap/rapid-design-system": "14.409.0-pbi.1",
104
+ "@genesislcap/web-core": "14.409.0-pbi.1"
105
105
  },
106
106
  "repository": {
107
107
  "type": "git",
@@ -112,5 +112,5 @@
112
112
  "access": "public"
113
113
  },
114
114
  "customElements": "dist/custom-elements.json",
115
- "gitHead": "79df39dc559df3b11085a61b02c0bb2457c98d13"
115
+ "gitHead": "7102efe86261b7b2c88af437ef35ff6a04ff0dd2"
116
116
  }