@genesislcap/foundation-header 14.408.0 → 14.409.0-FUI-2495.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -633
- package/dist/custom-elements.json +280 -232
- package/dist/dts/main/main.d.ts +38 -5
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/esm/main/main.js +20 -7
- package/dist/foundation-header.api.json +94 -6
- package/dist/foundation-header.d.ts +39 -5
- package/package.json +23 -23
- package/docs/api/foundation-header.configure.md +0 -75
- package/docs/api/foundation-header.defaultheaderconfig.md +0 -13
- package/docs/api/foundation-header.elementtargetid.md +0 -15
- package/docs/api/foundation-header.foundationheader.loadremotes.md +0 -15
- package/docs/api/foundation-header.foundationheader.md +0 -53
- package/docs/api/foundation-header.headerconfig.md +0 -59
- package/docs/api/foundation-header.headerconfig.templateoptions.md +0 -18
- package/docs/api/foundation-header.headertargetid.md +0 -13
- package/docs/api/foundation-header.languageoptions.md +0 -16
- package/docs/api/foundation-header.mainstyles.md +0 -13
- package/docs/api/foundation-header.md +0 -246
- package/docs/api/foundation-header.naveventdetailmap.md +0 -23
- package/docs/api/foundation-header.navigation.authrouting.md +0 -11
- package/docs/api/foundation-header.navigation.changelanguage.md +0 -56
- package/docs/api/foundation-header.navigation.connectedcallback.md +0 -17
- package/docs/api/foundation-header.navigation.container.md +0 -11
- package/docs/api/foundation-header.navigation.controlpanel.md +0 -11
- package/docs/api/foundation-header.navigation.disconnectedcallback.md +0 -17
- package/docs/api/foundation-header.navigation.enableinactivitymonitoring.md +0 -18
- package/docs/api/foundation-header.navigation.handlenavbuttonclick.md +0 -54
- package/docs/api/foundation-header.navigation.hasactivechild.md +0 -56
- package/docs/api/foundation-header.navigation.headerconfig.md +0 -11
- package/docs/api/foundation-header.navigation.hidesidebar.md +0 -13
- package/docs/api/foundation-header.navigation.i18next.md +0 -11
- package/docs/api/foundation-header.navigation.inactivitytimeoutminutes.md +0 -18
- package/docs/api/foundation-header.navigation.inactivitywarningminutes.md +0 -18
- package/docs/api/foundation-header.navigation.islayoutitemactive.md +0 -56
- package/docs/api/foundation-header.navigation.languageoptions.md +0 -13
- package/docs/api/foundation-header.navigation.layoutitemcheck.md +0 -30
- package/docs/api/foundation-header.navigation.loginrouting.md +0 -11
- package/docs/api/foundation-header.navigation.logoalttext.md +0 -18
- package/docs/api/foundation-header.navigation.logosrc.md +0 -18
- package/docs/api/foundation-header.navigation.logout.md +0 -17
- package/docs/api/foundation-header.navigation.logoutbuttonposition.md +0 -18
- package/docs/api/foundation-header.navigation.luminancetoggle.md +0 -11
- package/docs/api/foundation-header.navigation.md +0 -793
- package/docs/api/foundation-header.navigation.navigateto.md +0 -58
- package/docs/api/foundation-header.navigation.pathname.md +0 -13
- package/docs/api/foundation-header.navigation.routebuttons.md +0 -24
- package/docs/api/foundation-header.navigation.routenavitems.md +0 -13
- package/docs/api/foundation-header.navigation.selecttemplate.md +0 -19
- package/docs/api/foundation-header.navigation.setluminance.md +0 -15
- package/docs/api/foundation-header.navigation.shouldshowaccountmenu.md +0 -18
- package/docs/api/foundation-header.navigation.showaccountmenu.md +0 -18
- package/docs/api/foundation-header.navigation.showaiindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showconnectionindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showcontrolpanel.md +0 -13
- package/docs/api/foundation-header.navigation.showenvironmentindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showlanguageselector.md +0 -18
- package/docs/api/foundation-header.navigation.showluminancetogglebutton.md +0 -18
- package/docs/api/foundation-header.navigation.showmisctogglebutton.md +0 -18
- package/docs/api/foundation-header.navigation.shownotificationsbutton.md +0 -23
- package/docs/api/foundation-header.navigation.tolocalisedtext.md +0 -56
- package/docs/api/foundation-header.navigation.user.md +0 -11
- package/docs/api/foundation-header.navigation.username.md +0 -18
- package/docs/api/foundation-header.navtargetid.md +0 -13
- package/docs/api/foundation-header.navtemplate.md +0 -18
- package/docs/api/foundation-header.rapidheader.md +0 -69
- package/docs/api/foundation-header.rapidheader.selecttemplate.md +0 -15
- package/docs/api/foundation-header.sidenavtargetid.md +0 -13
- package/docs/api/foundation-header.styletargetid.md +0 -13
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -260
|
@@ -33,6 +33,228 @@
|
|
|
33
33
|
}
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
|
+
{
|
|
37
|
+
"kind": "javascript-module",
|
|
38
|
+
"path": "src/components/control-panel.ts",
|
|
39
|
+
"declarations": [
|
|
40
|
+
{
|
|
41
|
+
"kind": "class",
|
|
42
|
+
"description": "control-panel",
|
|
43
|
+
"name": "ControlPanel",
|
|
44
|
+
"members": [
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "handleKeyDown",
|
|
48
|
+
"privacy": "private"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "handleKeyDownBound",
|
|
53
|
+
"privacy": "private"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"kind": "method",
|
|
57
|
+
"name": "toggleSelection",
|
|
58
|
+
"privacy": "private",
|
|
59
|
+
"return": {
|
|
60
|
+
"type": {
|
|
61
|
+
"text": "SelectableKey[]"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"parameters": [
|
|
65
|
+
{
|
|
66
|
+
"name": "key",
|
|
67
|
+
"type": {
|
|
68
|
+
"text": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "keys",
|
|
73
|
+
"type": {
|
|
74
|
+
"text": "SelectableKey[]"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "method",
|
|
81
|
+
"name": "deleteKeysFromSessionStorage",
|
|
82
|
+
"privacy": "private",
|
|
83
|
+
"parameters": [
|
|
84
|
+
{
|
|
85
|
+
"name": "storageKey",
|
|
86
|
+
"type": {
|
|
87
|
+
"text": "string"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "keysToDelete",
|
|
92
|
+
"type": {
|
|
93
|
+
"text": "string[]"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "method",
|
|
100
|
+
"name": "deleteKeysFromLocalStorage",
|
|
101
|
+
"privacy": "private",
|
|
102
|
+
"parameters": [
|
|
103
|
+
{
|
|
104
|
+
"name": "storageKey",
|
|
105
|
+
"type": {
|
|
106
|
+
"text": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "keys",
|
|
111
|
+
"type": {
|
|
112
|
+
"text": "SelectableKey[]"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "method",
|
|
119
|
+
"name": "getKeysForSessionStorageItem",
|
|
120
|
+
"privacy": "private",
|
|
121
|
+
"return": {
|
|
122
|
+
"type": {
|
|
123
|
+
"text": "SelectableKey[]"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"parameters": [
|
|
127
|
+
{
|
|
128
|
+
"name": "storageKey",
|
|
129
|
+
"type": {
|
|
130
|
+
"text": "string"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"kind": "method",
|
|
137
|
+
"name": "getKeysForStorageItem",
|
|
138
|
+
"privacy": "private",
|
|
139
|
+
"return": {
|
|
140
|
+
"type": {
|
|
141
|
+
"text": "SelectableKey[]"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"parameters": [
|
|
145
|
+
{
|
|
146
|
+
"name": "storageKey",
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "string"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "method",
|
|
155
|
+
"name": "getKeysForKVStorage",
|
|
156
|
+
"privacy": "private",
|
|
157
|
+
"return": {
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "Promise<SelectableKey[]>"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"kind": "method",
|
|
165
|
+
"name": "deleteKeysFromKVStorage",
|
|
166
|
+
"privacy": "private",
|
|
167
|
+
"return": {
|
|
168
|
+
"type": {
|
|
169
|
+
"text": "Promise<void>"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"parameters": [
|
|
173
|
+
{
|
|
174
|
+
"name": "keysToDelete",
|
|
175
|
+
"type": {
|
|
176
|
+
"text": "string[]"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"superclass": {
|
|
183
|
+
"name": "GenesisElement",
|
|
184
|
+
"package": "@genesislcap/web-core"
|
|
185
|
+
},
|
|
186
|
+
"tagName": "control-panel",
|
|
187
|
+
"customElement": true
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"exports": [
|
|
191
|
+
{
|
|
192
|
+
"kind": "custom-element-definition",
|
|
193
|
+
"name": "control-panel",
|
|
194
|
+
"declaration": {
|
|
195
|
+
"name": "ControlPanel",
|
|
196
|
+
"module": "src/components/control-panel.ts"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "javascript-module",
|
|
203
|
+
"path": "src/components/index.ts",
|
|
204
|
+
"declarations": [],
|
|
205
|
+
"exports": [
|
|
206
|
+
{
|
|
207
|
+
"kind": "js",
|
|
208
|
+
"name": "*",
|
|
209
|
+
"declaration": {
|
|
210
|
+
"name": "*",
|
|
211
|
+
"package": "./control-panel"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "javascript-module",
|
|
218
|
+
"path": "src/components/rapid-components.ts",
|
|
219
|
+
"declarations": [
|
|
220
|
+
{
|
|
221
|
+
"kind": "function",
|
|
222
|
+
"name": "registerCommonRapidComponents",
|
|
223
|
+
"privacy": "public"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"exports": [
|
|
227
|
+
{
|
|
228
|
+
"kind": "js",
|
|
229
|
+
"name": "registerCommonRapidComponents",
|
|
230
|
+
"declaration": {
|
|
231
|
+
"name": "registerCommonRapidComponents",
|
|
232
|
+
"module": "src/components/rapid-components.ts"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "javascript-module",
|
|
239
|
+
"path": "src/components/zero-components.ts",
|
|
240
|
+
"declarations": [
|
|
241
|
+
{
|
|
242
|
+
"kind": "function",
|
|
243
|
+
"name": "registerCommonZeroComponents",
|
|
244
|
+
"privacy": "public"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"exports": [
|
|
248
|
+
{
|
|
249
|
+
"kind": "js",
|
|
250
|
+
"name": "registerCommonZeroComponents",
|
|
251
|
+
"declaration": {
|
|
252
|
+
"name": "registerCommonZeroComponents",
|
|
253
|
+
"module": "src/components/zero-components.ts"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
36
258
|
{
|
|
37
259
|
"kind": "javascript-module",
|
|
38
260
|
"path": "src/config/config.ts",
|
|
@@ -541,6 +763,15 @@
|
|
|
541
763
|
},
|
|
542
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."
|
|
543
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
|
+
},
|
|
544
775
|
{
|
|
545
776
|
"kind": "method",
|
|
546
777
|
"name": "isLayoutItemActive",
|
|
@@ -661,7 +892,7 @@
|
|
|
661
892
|
"name": "handleNavButtonClick",
|
|
662
893
|
"return": {
|
|
663
894
|
"type": {
|
|
664
|
-
"text": "void"
|
|
895
|
+
"text": "Promise<void>"
|
|
665
896
|
}
|
|
666
897
|
},
|
|
667
898
|
"parameters": [
|
|
@@ -1301,6 +1532,19 @@
|
|
|
1301
1532
|
"module": "src/main/main.ts"
|
|
1302
1533
|
}
|
|
1303
1534
|
},
|
|
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
|
+
},
|
|
1304
1548
|
{
|
|
1305
1549
|
"kind": "method",
|
|
1306
1550
|
"name": "isLayoutItemActive",
|
|
@@ -1453,7 +1697,7 @@
|
|
|
1453
1697
|
"name": "handleNavButtonClick",
|
|
1454
1698
|
"return": {
|
|
1455
1699
|
"type": {
|
|
1456
|
-
"text": "void"
|
|
1700
|
+
"text": "Promise<void>"
|
|
1457
1701
|
}
|
|
1458
1702
|
},
|
|
1459
1703
|
"parameters": [
|
|
@@ -2415,6 +2659,19 @@
|
|
|
2415
2659
|
"module": "src/main/main.ts"
|
|
2416
2660
|
}
|
|
2417
2661
|
},
|
|
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
|
+
},
|
|
2418
2675
|
{
|
|
2419
2676
|
"kind": "method",
|
|
2420
2677
|
"name": "isLayoutItemActive",
|
|
@@ -2567,7 +2824,7 @@
|
|
|
2567
2824
|
"name": "handleNavButtonClick",
|
|
2568
2825
|
"return": {
|
|
2569
2826
|
"type": {
|
|
2570
|
-
"text": "void"
|
|
2827
|
+
"text": "Promise<void>"
|
|
2571
2828
|
}
|
|
2572
2829
|
},
|
|
2573
2830
|
"parameters": [
|
|
@@ -3076,6 +3333,19 @@
|
|
|
3076
3333
|
"module": "src/main/main.ts"
|
|
3077
3334
|
}
|
|
3078
3335
|
},
|
|
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
|
+
},
|
|
3079
3349
|
{
|
|
3080
3350
|
"kind": "method",
|
|
3081
3351
|
"name": "isLayoutItemActive",
|
|
@@ -3214,7 +3484,7 @@
|
|
|
3214
3484
|
"name": "handleNavButtonClick",
|
|
3215
3485
|
"return": {
|
|
3216
3486
|
"type": {
|
|
3217
|
-
"text": "void"
|
|
3487
|
+
"text": "Promise<void>"
|
|
3218
3488
|
}
|
|
3219
3489
|
},
|
|
3220
3490
|
"parameters": [
|
|
@@ -3608,234 +3878,6 @@
|
|
|
3608
3878
|
}
|
|
3609
3879
|
]
|
|
3610
3880
|
},
|
|
3611
|
-
{
|
|
3612
|
-
"kind": "javascript-module",
|
|
3613
|
-
"path": "src/templates/rapid.template.ts",
|
|
3614
|
-
"declarations": [],
|
|
3615
|
-
"exports": []
|
|
3616
|
-
},
|
|
3617
|
-
{
|
|
3618
|
-
"kind": "javascript-module",
|
|
3619
|
-
"path": "src/components/control-panel.ts",
|
|
3620
|
-
"declarations": [
|
|
3621
|
-
{
|
|
3622
|
-
"kind": "class",
|
|
3623
|
-
"description": "control-panel",
|
|
3624
|
-
"name": "ControlPanel",
|
|
3625
|
-
"members": [
|
|
3626
|
-
{
|
|
3627
|
-
"kind": "field",
|
|
3628
|
-
"name": "handleKeyDown",
|
|
3629
|
-
"privacy": "private"
|
|
3630
|
-
},
|
|
3631
|
-
{
|
|
3632
|
-
"kind": "field",
|
|
3633
|
-
"name": "handleKeyDownBound",
|
|
3634
|
-
"privacy": "private"
|
|
3635
|
-
},
|
|
3636
|
-
{
|
|
3637
|
-
"kind": "method",
|
|
3638
|
-
"name": "toggleSelection",
|
|
3639
|
-
"privacy": "private",
|
|
3640
|
-
"return": {
|
|
3641
|
-
"type": {
|
|
3642
|
-
"text": "SelectableKey[]"
|
|
3643
|
-
}
|
|
3644
|
-
},
|
|
3645
|
-
"parameters": [
|
|
3646
|
-
{
|
|
3647
|
-
"name": "key",
|
|
3648
|
-
"type": {
|
|
3649
|
-
"text": "string"
|
|
3650
|
-
}
|
|
3651
|
-
},
|
|
3652
|
-
{
|
|
3653
|
-
"name": "keys",
|
|
3654
|
-
"type": {
|
|
3655
|
-
"text": "SelectableKey[]"
|
|
3656
|
-
}
|
|
3657
|
-
}
|
|
3658
|
-
]
|
|
3659
|
-
},
|
|
3660
|
-
{
|
|
3661
|
-
"kind": "method",
|
|
3662
|
-
"name": "deleteKeysFromSessionStorage",
|
|
3663
|
-
"privacy": "private",
|
|
3664
|
-
"parameters": [
|
|
3665
|
-
{
|
|
3666
|
-
"name": "storageKey",
|
|
3667
|
-
"type": {
|
|
3668
|
-
"text": "string"
|
|
3669
|
-
}
|
|
3670
|
-
},
|
|
3671
|
-
{
|
|
3672
|
-
"name": "keysToDelete",
|
|
3673
|
-
"type": {
|
|
3674
|
-
"text": "string[]"
|
|
3675
|
-
}
|
|
3676
|
-
}
|
|
3677
|
-
]
|
|
3678
|
-
},
|
|
3679
|
-
{
|
|
3680
|
-
"kind": "method",
|
|
3681
|
-
"name": "deleteKeysFromLocalStorage",
|
|
3682
|
-
"privacy": "private",
|
|
3683
|
-
"parameters": [
|
|
3684
|
-
{
|
|
3685
|
-
"name": "storageKey",
|
|
3686
|
-
"type": {
|
|
3687
|
-
"text": "string"
|
|
3688
|
-
}
|
|
3689
|
-
},
|
|
3690
|
-
{
|
|
3691
|
-
"name": "keys",
|
|
3692
|
-
"type": {
|
|
3693
|
-
"text": "SelectableKey[]"
|
|
3694
|
-
}
|
|
3695
|
-
}
|
|
3696
|
-
]
|
|
3697
|
-
},
|
|
3698
|
-
{
|
|
3699
|
-
"kind": "method",
|
|
3700
|
-
"name": "getKeysForSessionStorageItem",
|
|
3701
|
-
"privacy": "private",
|
|
3702
|
-
"return": {
|
|
3703
|
-
"type": {
|
|
3704
|
-
"text": "SelectableKey[]"
|
|
3705
|
-
}
|
|
3706
|
-
},
|
|
3707
|
-
"parameters": [
|
|
3708
|
-
{
|
|
3709
|
-
"name": "storageKey",
|
|
3710
|
-
"type": {
|
|
3711
|
-
"text": "string"
|
|
3712
|
-
}
|
|
3713
|
-
}
|
|
3714
|
-
]
|
|
3715
|
-
},
|
|
3716
|
-
{
|
|
3717
|
-
"kind": "method",
|
|
3718
|
-
"name": "getKeysForStorageItem",
|
|
3719
|
-
"privacy": "private",
|
|
3720
|
-
"return": {
|
|
3721
|
-
"type": {
|
|
3722
|
-
"text": "SelectableKey[]"
|
|
3723
|
-
}
|
|
3724
|
-
},
|
|
3725
|
-
"parameters": [
|
|
3726
|
-
{
|
|
3727
|
-
"name": "storageKey",
|
|
3728
|
-
"type": {
|
|
3729
|
-
"text": "string"
|
|
3730
|
-
}
|
|
3731
|
-
}
|
|
3732
|
-
]
|
|
3733
|
-
},
|
|
3734
|
-
{
|
|
3735
|
-
"kind": "method",
|
|
3736
|
-
"name": "getKeysForKVStorage",
|
|
3737
|
-
"privacy": "private",
|
|
3738
|
-
"return": {
|
|
3739
|
-
"type": {
|
|
3740
|
-
"text": "Promise<SelectableKey[]>"
|
|
3741
|
-
}
|
|
3742
|
-
}
|
|
3743
|
-
},
|
|
3744
|
-
{
|
|
3745
|
-
"kind": "method",
|
|
3746
|
-
"name": "deleteKeysFromKVStorage",
|
|
3747
|
-
"privacy": "private",
|
|
3748
|
-
"return": {
|
|
3749
|
-
"type": {
|
|
3750
|
-
"text": "Promise<void>"
|
|
3751
|
-
}
|
|
3752
|
-
},
|
|
3753
|
-
"parameters": [
|
|
3754
|
-
{
|
|
3755
|
-
"name": "keysToDelete",
|
|
3756
|
-
"type": {
|
|
3757
|
-
"text": "string[]"
|
|
3758
|
-
}
|
|
3759
|
-
}
|
|
3760
|
-
]
|
|
3761
|
-
}
|
|
3762
|
-
],
|
|
3763
|
-
"superclass": {
|
|
3764
|
-
"name": "GenesisElement",
|
|
3765
|
-
"package": "@genesislcap/web-core"
|
|
3766
|
-
},
|
|
3767
|
-
"tagName": "control-panel",
|
|
3768
|
-
"customElement": true
|
|
3769
|
-
}
|
|
3770
|
-
],
|
|
3771
|
-
"exports": [
|
|
3772
|
-
{
|
|
3773
|
-
"kind": "custom-element-definition",
|
|
3774
|
-
"name": "control-panel",
|
|
3775
|
-
"declaration": {
|
|
3776
|
-
"name": "ControlPanel",
|
|
3777
|
-
"module": "src/components/control-panel.ts"
|
|
3778
|
-
}
|
|
3779
|
-
}
|
|
3780
|
-
]
|
|
3781
|
-
},
|
|
3782
|
-
{
|
|
3783
|
-
"kind": "javascript-module",
|
|
3784
|
-
"path": "src/components/index.ts",
|
|
3785
|
-
"declarations": [],
|
|
3786
|
-
"exports": [
|
|
3787
|
-
{
|
|
3788
|
-
"kind": "js",
|
|
3789
|
-
"name": "*",
|
|
3790
|
-
"declaration": {
|
|
3791
|
-
"name": "*",
|
|
3792
|
-
"package": "./control-panel"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
]
|
|
3796
|
-
},
|
|
3797
|
-
{
|
|
3798
|
-
"kind": "javascript-module",
|
|
3799
|
-
"path": "src/components/rapid-components.ts",
|
|
3800
|
-
"declarations": [
|
|
3801
|
-
{
|
|
3802
|
-
"kind": "function",
|
|
3803
|
-
"name": "registerCommonRapidComponents",
|
|
3804
|
-
"privacy": "public"
|
|
3805
|
-
}
|
|
3806
|
-
],
|
|
3807
|
-
"exports": [
|
|
3808
|
-
{
|
|
3809
|
-
"kind": "js",
|
|
3810
|
-
"name": "registerCommonRapidComponents",
|
|
3811
|
-
"declaration": {
|
|
3812
|
-
"name": "registerCommonRapidComponents",
|
|
3813
|
-
"module": "src/components/rapid-components.ts"
|
|
3814
|
-
}
|
|
3815
|
-
}
|
|
3816
|
-
]
|
|
3817
|
-
},
|
|
3818
|
-
{
|
|
3819
|
-
"kind": "javascript-module",
|
|
3820
|
-
"path": "src/components/zero-components.ts",
|
|
3821
|
-
"declarations": [
|
|
3822
|
-
{
|
|
3823
|
-
"kind": "function",
|
|
3824
|
-
"name": "registerCommonZeroComponents",
|
|
3825
|
-
"privacy": "public"
|
|
3826
|
-
}
|
|
3827
|
-
],
|
|
3828
|
-
"exports": [
|
|
3829
|
-
{
|
|
3830
|
-
"kind": "js",
|
|
3831
|
-
"name": "registerCommonZeroComponents",
|
|
3832
|
-
"declaration": {
|
|
3833
|
-
"name": "registerCommonZeroComponents",
|
|
3834
|
-
"module": "src/components/zero-components.ts"
|
|
3835
|
-
}
|
|
3836
|
-
}
|
|
3837
|
-
]
|
|
3838
|
-
},
|
|
3839
3881
|
{
|
|
3840
3882
|
"kind": "javascript-module",
|
|
3841
3883
|
"path": "src/styles/colors.ts",
|
|
@@ -4018,6 +4060,12 @@
|
|
|
4018
4060
|
"declarations": [],
|
|
4019
4061
|
"exports": []
|
|
4020
4062
|
},
|
|
4063
|
+
{
|
|
4064
|
+
"kind": "javascript-module",
|
|
4065
|
+
"path": "src/templates/rapid.template.ts",
|
|
4066
|
+
"declarations": [],
|
|
4067
|
+
"exports": []
|
|
4068
|
+
},
|
|
4021
4069
|
{
|
|
4022
4070
|
"kind": "javascript-module",
|
|
4023
4071
|
"path": "src/utils/index.ts",
|
package/dist/dts/main/main.d.ts
CHANGED
|
@@ -7,6 +7,20 @@ 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
|
+
};
|
|
10
24
|
/**
|
|
11
25
|
* Events dispatched by the navigation control buttons
|
|
12
26
|
* @public
|
|
@@ -17,10 +31,7 @@ export type NavEventDetailMap = {
|
|
|
17
31
|
'misc-icon-clicked': void;
|
|
18
32
|
'notification-icon-clicked': void;
|
|
19
33
|
'language-changed': void;
|
|
20
|
-
'nav-button-clicked':
|
|
21
|
-
item: FoundationRouteNavItem;
|
|
22
|
-
context: any;
|
|
23
|
-
};
|
|
34
|
+
'nav-button-clicked': NavButtonClickDetail;
|
|
24
35
|
};
|
|
25
36
|
/**
|
|
26
37
|
* Options for the language selector
|
|
@@ -640,6 +651,28 @@ export declare class Navigation extends Navigation_base {
|
|
|
640
651
|
* @beta
|
|
641
652
|
*/
|
|
642
653
|
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>;
|
|
643
676
|
/**
|
|
644
677
|
* Check if a layout item is currently active in the layout
|
|
645
678
|
* @param item - The navigation item to check
|
|
@@ -784,7 +817,7 @@ export declare class Navigation extends Navigation_base {
|
|
|
784
817
|
* Handles the click event for a navigation button
|
|
785
818
|
* @param routeNavItem - The navigation item that was clicked
|
|
786
819
|
*/
|
|
787
|
-
handleNavButtonClick(routeNavItem: FoundationRouteNavItem): void
|
|
820
|
+
handleNavButtonClick(routeNavItem: FoundationRouteNavItem): Promise<void>;
|
|
788
821
|
/**
|
|
789
822
|
* Current pathname for route highlighting
|
|
790
823
|
* @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,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
|
|
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,CA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