@posiwise/shared-components 0.0.228 → 0.0.229
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/package.json
CHANGED
|
@@ -346,10 +346,12 @@ export interface PaletteItem {
|
|
|
346
346
|
/** Stable within a render pass; used for trackBy and active-row identity. */
|
|
347
347
|
id: string;
|
|
348
348
|
kind: PaletteItemKind;
|
|
349
|
-
/**
|
|
349
|
+
/** Raw display text, used for ranking; rendered unless `labelKey` is set. */
|
|
350
350
|
label: string;
|
|
351
351
|
/** Secondary context line — breadcrumb section, or a person's email. */
|
|
352
352
|
detail: string;
|
|
353
|
+
/** i18n key for `detail` when the section is chrome (account entries). */
|
|
354
|
+
detailKey?: string;
|
|
353
355
|
icon: string;
|
|
354
356
|
/** Present for `page` and `person`; absent for `ask-ai`. */
|
|
355
357
|
path?: string;
|
|
@@ -359,7 +361,8 @@ export interface PaletteItem {
|
|
|
359
361
|
*/
|
|
360
362
|
entry?: NavEntry;
|
|
361
363
|
/**
|
|
362
|
-
* i18n key for rows whose label is chrome rather than data (actions
|
|
364
|
+
* i18n key for rows whose label is chrome rather than data (actions, and
|
|
365
|
+
* page rows whose menu item or account entry carries a key).
|
|
363
366
|
*
|
|
364
367
|
* `label` still holds the resolved text so ranking can match what the user
|
|
365
368
|
* reads; the key is kept so the template renders the translation rather than
|
|
@@ -2468,10 +2471,11 @@ declare namespace pw_cookie_banner_component_d_exports {
|
|
|
2468
2471
|
}
|
|
2469
2472
|
export declare class PwCookieBannerComponent implements OnInit {
|
|
2470
2473
|
private readonly document;
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2474
|
+
private readonly translation;
|
|
2475
|
+
title: string | null;
|
|
2476
|
+
message: string | null;
|
|
2477
|
+
acceptLabel: string | null;
|
|
2478
|
+
privacyLinkLabel: string | null;
|
|
2475
2479
|
privacyLinkUrl: string | null;
|
|
2476
2480
|
tosId: number | string | null;
|
|
2477
2481
|
privacyFallbackUrl: string;
|
|
@@ -2480,8 +2484,8 @@ export declare class PwCookieBannerComponent implements OnInit {
|
|
|
2480
2484
|
visible: boolean;
|
|
2481
2485
|
leaving: boolean;
|
|
2482
2486
|
readonly role = "region";
|
|
2483
|
-
|
|
2484
|
-
constructor(document: Document);
|
|
2487
|
+
get ariaLabel(): string;
|
|
2488
|
+
constructor(document: Document, translation: TranslocoService);
|
|
2485
2489
|
ngOnInit(): void;
|
|
2486
2490
|
get resolvedPrivacyUrl(): string;
|
|
2487
2491
|
accept(): void;
|