@lilydesignsystem/angular-picker-bar 0.5.0 → 0.6.0
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 +13 -4
- package/fesm2022/lilydesignsystem-angular-picker-bar.mjs +36 -24
- package/fesm2022/lilydesignsystem-angular-picker-bar.mjs.map +1 -1
- package/package.json +7 -7
- package/types/lilydesignsystem-angular-picker-bar.d.ts +9 -5
- package/types/lilydesignsystem-angular-picker-bar.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -49,7 +49,13 @@ import { PickerBar } from "@lilydesignsystem/angular-picker-bar";
|
|
|
49
49
|
}"
|
|
50
50
|
themesUrl="/assets/themes/"
|
|
51
51
|
[locales]="['en', 'cy', 'gd', 'ga']"
|
|
52
|
-
[shareTargets]="[
|
|
52
|
+
[shareTargets]="[
|
|
53
|
+
{
|
|
54
|
+
id: 'email',
|
|
55
|
+
label: 'Email',
|
|
56
|
+
href: (url, title) => 'mailto:?subject=' + title + '&body=' + url,
|
|
57
|
+
},
|
|
58
|
+
]"
|
|
53
59
|
/>
|
|
54
60
|
`,
|
|
55
61
|
})
|
|
@@ -57,13 +63,13 @@ export class HeaderComponent {}
|
|
|
57
63
|
```
|
|
58
64
|
|
|
59
65
|
That's a complete, working header row: site search (a search for
|
|
60
|
-
`foo` goes to `/?foo`),
|
|
66
|
+
`foo` goes to `/?foo`), 63 themes, four locales, the
|
|
61
67
|
seven-step text-size scale, and one share destination plus copy-to-URL
|
|
62
68
|
if you add `[copyLabel]="'Copy link'"`.
|
|
63
69
|
|
|
64
70
|
## Defaults
|
|
65
71
|
|
|
66
|
-
- **`themes`** defaults to `DEFAULT_THEMES` — all
|
|
72
|
+
- **`themes`** defaults to `DEFAULT_THEMES` — all 63 Lily reference
|
|
67
73
|
theme slugs, alphabetical, with the 8 United Kingdom / United States
|
|
68
74
|
government themes moved to their own alphabetical group at the
|
|
69
75
|
bottom. Pass your own `[themes]` array to override.
|
|
@@ -111,7 +117,10 @@ Two-way bind a picker's current value with the matching `model()`
|
|
|
111
117
|
input:
|
|
112
118
|
|
|
113
119
|
```html
|
|
114
|
-
<lily-picker-bar
|
|
120
|
+
<lily-picker-bar
|
|
121
|
+
...
|
|
122
|
+
[(themeValue)]="currentTheme"
|
|
123
|
+
/>
|
|
115
124
|
```
|
|
116
125
|
|
|
117
126
|
For anything not flattened here (a custom icon template, for
|
|
@@ -14,10 +14,13 @@ const DEFAULT_THEMES = [
|
|
|
14
14
|
"ant-design",
|
|
15
15
|
"aqua",
|
|
16
16
|
"atlassian",
|
|
17
|
+
"australia-agriculture-design-system",
|
|
17
18
|
"autumn",
|
|
18
19
|
"black",
|
|
20
|
+
"brazil-padrao-digital-de-governo",
|
|
19
21
|
"bumblebee",
|
|
20
22
|
"business",
|
|
23
|
+
"canada-government-of-canada-design-system",
|
|
21
24
|
"cappuccino",
|
|
22
25
|
"caramellatte",
|
|
23
26
|
"cmyk",
|
|
@@ -29,6 +32,7 @@ const DEFAULT_THEMES = [
|
|
|
29
32
|
"dim",
|
|
30
33
|
"dracula",
|
|
31
34
|
"emerald",
|
|
35
|
+
"european-union-europa-component-library",
|
|
32
36
|
"excel",
|
|
33
37
|
"fantasy",
|
|
34
38
|
"fluent",
|
|
@@ -37,6 +41,7 @@ const DEFAULT_THEMES = [
|
|
|
37
41
|
"github-primer",
|
|
38
42
|
"halloween",
|
|
39
43
|
"ibm-carbon",
|
|
44
|
+
"japan-digital-agency-design-system",
|
|
40
45
|
"lemonade",
|
|
41
46
|
"light",
|
|
42
47
|
"linear",
|
|
@@ -51,6 +56,7 @@ const DEFAULT_THEMES = [
|
|
|
51
56
|
"salesforce",
|
|
52
57
|
"sap-fiori",
|
|
53
58
|
"silk",
|
|
59
|
+
"singapore-government-design-system",
|
|
54
60
|
"sunset",
|
|
55
61
|
"synthwave",
|
|
56
62
|
"valentine",
|
|
@@ -137,7 +143,7 @@ var PickerBar = class PickerBar {
|
|
|
137
143
|
static {
|
|
138
144
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
139
145
|
minVersion: "12.0.0",
|
|
140
|
-
version: "22.2.
|
|
146
|
+
version: "22.2.4",
|
|
141
147
|
ngImport: i0,
|
|
142
148
|
type: PickerBar,
|
|
143
149
|
deps: [],
|
|
@@ -147,7 +153,7 @@ var PickerBar = class PickerBar {
|
|
|
147
153
|
static {
|
|
148
154
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
149
155
|
minVersion: "17.0.0",
|
|
150
|
-
version: "22.2.
|
|
156
|
+
version: "22.2.4",
|
|
151
157
|
type: PickerBar,
|
|
152
158
|
isStandalone: true,
|
|
153
159
|
selector: "lily-picker-bar",
|
|
@@ -533,16 +539,18 @@ var PickerBar = class PickerBar {
|
|
|
533
539
|
(navigated)="linkNavigated.emit($event)"
|
|
534
540
|
/>
|
|
535
541
|
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
542
|
+
@if (labels().search) {
|
|
543
|
+
<lily-search-picker
|
|
544
|
+
[label]="labels().search ?? ''"
|
|
545
|
+
[inputLabel]="labels().searchInput ?? ''"
|
|
546
|
+
[submitLabel]="labels().searchSubmit ?? ''"
|
|
547
|
+
[placeholder]="searchPlaceholder()"
|
|
548
|
+
[(value)]="searchValue"
|
|
549
|
+
[action]="searchAction()"
|
|
550
|
+
[navigate]="searchNavigate()"
|
|
551
|
+
(searched)="searched.emit($event)"
|
|
552
|
+
/>
|
|
553
|
+
}
|
|
546
554
|
<lily-theme-picker
|
|
547
555
|
[label]="labels().theme"
|
|
548
556
|
[themesUrl]="themesUrl()"
|
|
@@ -658,13 +666,15 @@ var PickerBar = class PickerBar {
|
|
|
658
666
|
"defaultValue",
|
|
659
667
|
"storageKey",
|
|
660
668
|
"detectFromSystem",
|
|
669
|
+
"themeColor",
|
|
661
670
|
"name",
|
|
662
671
|
"extension",
|
|
663
672
|
"target",
|
|
664
673
|
"themeLabels",
|
|
665
674
|
"className",
|
|
666
675
|
"open",
|
|
667
|
-
"disabled"
|
|
676
|
+
"disabled",
|
|
677
|
+
"variant"
|
|
668
678
|
],
|
|
669
679
|
outputs: [
|
|
670
680
|
"valueChange",
|
|
@@ -778,7 +788,7 @@ var PickerBar = class PickerBar {
|
|
|
778
788
|
};
|
|
779
789
|
i0.ɵɵngDeclareClassMetadata({
|
|
780
790
|
minVersion: "12.0.0",
|
|
781
|
-
version: "22.2.
|
|
791
|
+
version: "22.2.4",
|
|
782
792
|
ngImport: i0,
|
|
783
793
|
type: PickerBar,
|
|
784
794
|
decorators: [{
|
|
@@ -806,16 +816,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
806
816
|
(navigated)="linkNavigated.emit($event)"
|
|
807
817
|
/>
|
|
808
818
|
}
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
+
@if (labels().search) {
|
|
820
|
+
<lily-search-picker
|
|
821
|
+
[label]="labels().search ?? ''"
|
|
822
|
+
[inputLabel]="labels().searchInput ?? ''"
|
|
823
|
+
[submitLabel]="labels().searchSubmit ?? ''"
|
|
824
|
+
[placeholder]="searchPlaceholder()"
|
|
825
|
+
[(value)]="searchValue"
|
|
826
|
+
[action]="searchAction()"
|
|
827
|
+
[navigate]="searchNavigate()"
|
|
828
|
+
(searched)="searched.emit($event)"
|
|
829
|
+
/>
|
|
830
|
+
}
|
|
819
831
|
<lily-theme-picker
|
|
820
832
|
[label]="labels().theme"
|
|
821
833
|
[themesUrl]="themesUrl()"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lilydesignsystem-angular-picker-bar.mjs","names":[],"sources":["../../picker-bar.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, model, output } from \"@angular/core\";\n\nimport {\n LinkPicker,\n type LinkItem,\n type LinkNavigatedEvent,\n} from \"@lilydesignsystem/angular-link-picker\";\nimport { ThemePicker } from \"@lilydesignsystem/angular-theme-picker\";\nimport { LocalePicker } from \"@lilydesignsystem/angular-locale-picker\";\nimport { TextSizePicker } from \"@lilydesignsystem/angular-text-size-picker\";\nimport {\n TimeZonePicker,\n DEFAULT_ZONES,\n type ZoneInfo,\n type ZoneNames,\n} from \"@lilydesignsystem/angular-time-zone-picker\";\nimport {\n SharePicker,\n type ShareEvent,\n type ShareStrategy,\n type ShareTarget,\n} from \"@lilydesignsystem/angular-share-picker\";\nimport {\n SearchPicker,\n type SearchEvent,\n} from \"@lilydesignsystem/angular-search-picker\";\n\n/**\n * All 57 Lily reference theme slugs (see `themes/` at the repo root),\n * sorted alphabetically except the United Kingdom and United States\n * government/public-sector themes, which sort last as one alphabetical\n * group of their own. Mirrors `theme-picker`'s own title-casing of each\n * slug, so no `themeLabels` override is needed for these to read well.\n */\nexport const DEFAULT_THEMES: string[] = [\n \"abyss\",\n \"acid\",\n \"adobe-spectrum\",\n \"ant-design\",\n \"aqua\",\n \"atlassian\",\n \"autumn\",\n \"black\",\n \"bumblebee\",\n \"business\",\n \"cappuccino\",\n \"caramellatte\",\n \"cmyk\",\n \"coffee\",\n \"corporate\",\n \"cupcake\",\n \"cyberpunk\",\n \"dark\",\n \"dim\",\n \"dracula\",\n \"emerald\",\n \"excel\",\n \"fantasy\",\n \"fluent\",\n \"forest\",\n \"garden\",\n \"github-primer\",\n \"halloween\",\n \"ibm-carbon\",\n \"lemonade\",\n \"light\",\n \"linear\",\n \"lofi\",\n \"luxury\",\n \"mozilla-protocol\",\n \"night\",\n \"nord\",\n \"notion\",\n \"pastel\",\n \"retro\",\n \"salesforce\",\n \"sap-fiori\",\n \"silk\",\n \"sunset\",\n \"synthwave\",\n \"valentine\",\n \"vercel\",\n \"winter\",\n \"wireframe\",\n \"united-kingdom-government-digital-service\",\n \"united-kingdom-national-health-service-england-for-patients\",\n \"united-kingdom-national-health-service-england-for-practitioners\",\n \"united-kingdom-national-health-service-scotland-for-patients\",\n \"united-kingdom-national-health-service-scotland-for-practitioners\",\n \"united-kingdom-national-health-service-wales-for-patients\",\n \"united-kingdom-national-health-service-wales-for-practitioners\",\n \"united-states-web-design-system\",\n];\n\n/**\n * The seven-step text-size scale. Each slug title-cases to exactly the\n * requested label (\"largest\" → \"Largest\", …) via `text-size-picker`'s\n * own default `labelFor`, so no `sizeLabels` override is needed either.\n */\nexport const DEFAULT_SIZES: string[] = [\n \"largest\",\n \"larger\",\n \"large\",\n \"normal\",\n \"small\",\n \"smaller\",\n \"smallest\",\n];\n\n/** Accessible names for the pickers. Required — no English default (`link` only when `links` is given). */\nexport type PickerBarLabels = {\n /**\n * Accessible name for the link picker's button and list. Needed only when `links` is\n * supplied; the link picker renders only when both are present.\n */\n link?: string;\n /** Accessible name for the search picker's button and search landmark. */\n search: string;\n /** Accessible name for the search picker's text field. */\n searchInput: string;\n /** Accessible name for the search picker's ⏎ submit button. */\n searchSubmit: string;\n /** Accessible name for the theme picker's button and listbox. */\n theme: string;\n /** Accessible name for the locale picker's button and listbox. */\n locale: string;\n /** Accessible name for the text-size picker's button and listbox. */\n textSize: string;\n /**\n * Accessible name for the time-zone picker's button and listbox. Needed only when\n * `timeZoneLocale` is supplied; the time-zone picker renders only when both are present.\n */\n timeZone?: string;\n /** Accessible name for the share picker's button and list. */\n share: string;\n};\n\n/**\n * PickerBar — composes search-picker, theme-picker, locale-picker,\n * text-size-picker, and share-picker into one page-header row.\n *\n * A thin wrapper: it renders the five picker components, each imported\n * as a real npm dependency from its own published package, unmodified.\n * It pre-wires two catalog-specific defaults (`DEFAULT_THEMES`,\n * `DEFAULT_SIZES`) and flattens each wrapped picker's most commonly\n * needed optional props onto its own inputs — Angular has no spread\n * binding for component inputs, so unlike the canonical Svelte\n * contract's `*Props` bag, overrides here are named inputs rather than\n * an object spread. `motion-picker` and `date-time-picker` are\n * deliberately not included — see `spec/index.md` §1.\n */\n@Component({\n selector: \"lily-picker-bar\",\n standalone: true,\n imports: [LinkPicker, SearchPicker, ThemePicker, LocalePicker, TextSizePicker, TimeZonePicker, SharePicker],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"picker-bar {{ className() }}\">\n @if (links().length > 0 && labels().link) {\n <lily-link-picker\n [label]=\"labels().link!\"\n [links]=\"links()\"\n [navigate]=\"linkNavigate()\"\n (navigated)=\"linkNavigated.emit($event)\"\n />\n }\n <lily-search-picker\n [label]=\"labels().search\"\n [inputLabel]=\"labels().searchInput\"\n [submitLabel]=\"labels().searchSubmit\"\n [placeholder]=\"searchPlaceholder()\"\n [(value)]=\"searchValue\"\n [action]=\"searchAction()\"\n [navigate]=\"searchNavigate()\"\n (searched)=\"searched.emit($event)\"\n />\n <lily-theme-picker\n [label]=\"labels().theme\"\n [themesUrl]=\"themesUrl()\"\n [themes]=\"themes()\"\n [(value)]=\"themeValue\"\n [defaultValue]=\"themeDefaultValue()\"\n [storageKey]=\"themeStorageKey()\"\n [detectFromSystem]=\"themeDetectFromSystem()\"\n [name]=\"themeName()\"\n [target]=\"themeTarget()\"\n [themeLabels]=\"themeLabels()\"\n />\n <lily-locale-picker\n [label]=\"labels().locale\"\n [locales]=\"locales()\"\n [(value)]=\"localeValue\"\n [defaultValue]=\"localeDefaultValue()\"\n [storageKey]=\"localeStorageKey()\"\n [detectFromNavigator]=\"localeDetectFromNavigator()\"\n [name]=\"localeName()\"\n [target]=\"localeTarget()\"\n [applyDir]=\"localeApplyDir()\"\n [localeLabels]=\"localeLabels()\"\n />\n @if (labels().timeZone && timeZoneLocale()) {\n <lily-time-zone-picker\n [label]=\"labels().timeZone!\"\n [locale]=\"timeZoneLocale()!\"\n [zones]=\"timeZones()\"\n [date]=\"timeZoneDate()\"\n [labelFor]=\"timeZoneLabelFor()\"\n [names]=\"timeZoneNames()\"\n [(value)]=\"timeZoneValue\"\n [defaultValue]=\"timeZoneDefaultValue()\"\n [storageKey]=\"timeZoneStorageKey()\"\n [name]=\"timeZoneName()\"\n [target]=\"timeZoneTarget()\"\n />\n }\n <lily-text-size-picker\n [label]=\"labels().textSize\"\n [sizes]=\"sizes()\"\n [(value)]=\"textSizeValue\"\n [defaultValue]=\"textSizeDefaultValue()\"\n [storageKey]=\"textSizeStorageKey()\"\n [name]=\"textSizeName()\"\n [target]=\"textSizeTarget()\"\n [sizeLabels]=\"textSizeLabels()\"\n />\n <lily-share-picker\n [label]=\"labels().share\"\n [targets]=\"shareTargets()\"\n [url]=\"shareUrl()\"\n [title]=\"shareTitle()\"\n [text]=\"shareText()\"\n [copyLabel]=\"copyLabel()\"\n [copiedLabel]=\"copiedLabel()\"\n [copyFailedLabel]=\"copyFailedLabel()\"\n [strategy]=\"shareStrategy()\"\n (share)=\"share.emit($event)\"\n (copy)=\"copy.emit($event)\"\n (nativeShare)=\"nativeShare.emit($event)\"\n />\n </div>\n `,\n})\nexport class PickerBar {\n /** Accessible names for each picker. */\n readonly labels = input.required<PickerBarLabels>();\n\n // --- link-picker ---\n /**\n * Page links for the link picker (a home icon), which renders FIRST — leftmost. Defined by the\n * app; omitted or empty means no link picker (and `labels().link` is then unused).\n */\n readonly links = input<LinkItem[]>([]);\n /** Client-side navigation hook for the links, e.g. a router's `navigateByUrl`. */\n readonly linkNavigate = input<((href: string) => void) | undefined>(undefined);\n /** Fires after a page link is chosen. */\n readonly linkNavigated = output<LinkNavigatedEvent>();\n\n // --- search-picker ---\n /** Placeholder for the search field. No default (it would be English). */\n readonly searchPlaceholder = input<string | undefined>(undefined);\n /** Two-way bindable search text. */\n readonly searchValue = model<string>(\"\");\n /** Path the query is appended to (`${searchAction}?${query}`). */\n readonly searchAction = input<string>(\"/\");\n /** Performs the search navigation. Defaults to `location.assign(href)`. */\n readonly searchNavigate = input<((href: string) => void) | undefined>(undefined);\n /** Fires with the trimmed query and destination, before navigating. */\n readonly searched = output<SearchEvent>();\n\n // --- theme-picker ---\n /** Base URL of the themes directory, forwarded to ThemePicker. */\n readonly themesUrl = input.required<string>();\n /** Available theme slugs. Defaults to {@link DEFAULT_THEMES}. */\n readonly themes = input<string[]>(DEFAULT_THEMES);\n /** Two-way bindable current theme slug. */\n readonly themeValue = model<string>(\"\");\n readonly themeDefaultValue = input<string>(\"\");\n readonly themeStorageKey = input<string>(\"\");\n readonly themeDetectFromSystem = input<boolean>(false);\n readonly themeName = input<string>(\"theme\");\n readonly themeTarget = input<HTMLElement | null>(null);\n readonly themeLabels = input<Record<string, string>>({});\n\n // --- locale-picker ---\n /** Available locale codes. No catalog default exists — supply the set you support. */\n readonly locales = input.required<string[]>();\n /** Two-way bindable current locale code. */\n readonly localeValue = model<string>(\"\");\n readonly localeDefaultValue = input<string>(\"\");\n readonly localeStorageKey = input<string>(\"\");\n readonly localeDetectFromNavigator = input<boolean>(false);\n readonly localeName = input<string>(\"locale\");\n readonly localeTarget = input<HTMLElement | null>(null);\n readonly localeApplyDir = input<boolean>(true);\n readonly localeLabels = input<Record<string, string>>({});\n\n // --- time-zone-picker ---\n /**\n * The language that names and sorts the zones (BCP 47, e.g. `fr`). The time-zone picker, which sits\n * after the locale picker, renders only when this and `labels().timeZone` are both given.\n */\n readonly timeZoneLocale = input<string | undefined>(undefined);\n /** IANA zone ids on offer. Defaults to the picker's own 55. */\n readonly timeZones = input<readonly string[]>(DEFAULT_ZONES);\n /** The date the offsets are computed for (daylight time). Defaults to now. */\n readonly timeZoneDate = input<Date | undefined>(undefined);\n readonly timeZoneLabelFor = input<((zone: ZoneInfo) => string) | undefined>(undefined);\n /** CLDR zone names, e.g. `zoneNamesFrom(pack)` from the locale-translations package. */\n readonly timeZoneNames = input<ZoneNames | undefined>(undefined);\n /** Two-way bindable current IANA zone id. */\n readonly timeZoneValue = model<string>(\"\");\n readonly timeZoneDefaultValue = input<string>(\"\");\n readonly timeZoneStorageKey = input<string>(\"\");\n readonly timeZoneName = input<string>(\"time-zone\");\n readonly timeZoneTarget = input<HTMLElement | null>(null);\n\n // --- text-size-picker ---\n /** Available size slugs. Defaults to {@link DEFAULT_SIZES}. */\n readonly sizes = input<string[]>(DEFAULT_SIZES);\n /** Two-way bindable current size slug. */\n readonly textSizeValue = model<string>(\"\");\n /**\n * `text-size-picker`'s own fallback (\"medium\", else `sizes[0]`) does\n * not fit the seven-slug scale — \"medium\" is not one of the seven,\n * and `sizes[0]` would silently start every consumer on \"Largest\".\n */\n readonly textSizeDefaultValue = input<string>(\"normal\");\n readonly textSizeStorageKey = input<string>(\"\");\n readonly textSizeName = input<string>(\"text-size\");\n readonly textSizeTarget = input<HTMLElement | null>(null);\n readonly textSizeLabels = input<Record<string, string>>({});\n\n // --- share-picker ---\n /** Destinations offered by the share picker. Empty is valid if `copyLabel` is set. */\n readonly shareTargets = input<ShareTarget[]>([]);\n readonly shareUrl = input<string>(\"\");\n readonly shareTitle = input<string>(\"\");\n readonly shareText = input<string>(\"\");\n readonly copyLabel = input<string>(\"\");\n readonly copiedLabel = input<string>(\"\");\n readonly copyFailedLabel = input<string>(\"\");\n readonly shareStrategy = input<ShareStrategy>(\"auto\");\n /** Fires after a share destination is chosen. */\n readonly share = output<ShareEvent>();\n /** Fires after the URL is copied. */\n readonly copy = output<string>();\n /** Fires when the native share sheet was used instead of the list. */\n readonly nativeShare = output<string>();\n\n /** Extra CSS class on the root. */\n readonly className = input<string>(\"\");\n}\n"],"mappings":";;;;;;;;;AAkCA,MAAa,iBAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAOD,MAAa,gBAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAuID,IAAa,YAAb,M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AAS;IAAC;IAAY;IAAc;IAAa;IAAc;IAAgB;IAAgB;GAAW;GAC1G,iBAAiB,wBAAwB;GACzC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFX,CAAA"}
|
|
1
|
+
{"version":3,"file":"lilydesignsystem-angular-picker-bar.mjs","names":[],"sources":["../../picker-bar.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, model, output } from \"@angular/core\";\n\nimport {\n LinkPicker,\n type LinkItem,\n type LinkNavigatedEvent,\n} from \"@lilydesignsystem/angular-link-picker\";\nimport { ThemePicker } from \"@lilydesignsystem/angular-theme-picker\";\nimport { LocalePicker } from \"@lilydesignsystem/angular-locale-picker\";\nimport { TextSizePicker } from \"@lilydesignsystem/angular-text-size-picker\";\nimport {\n TimeZonePicker,\n DEFAULT_ZONES,\n type ZoneInfo,\n type ZoneNames,\n} from \"@lilydesignsystem/angular-time-zone-picker\";\nimport {\n SharePicker,\n type ShareEvent,\n type ShareStrategy,\n type ShareTarget,\n} from \"@lilydesignsystem/angular-share-picker\";\nimport { SearchPicker, type SearchEvent } from \"@lilydesignsystem/angular-search-picker\";\n\n/**\n * All 63 Lily reference theme slugs (see `themes/` at the repo root),\n * sorted alphabetically except the United Kingdom and United States\n * government/public-sector themes, which sort last as one alphabetical\n * group of their own. Mirrors `theme-picker`'s own title-casing of each\n * slug, so no `themeLabels` override is needed for these to read well.\n */\nexport const DEFAULT_THEMES: string[] = [\n \"abyss\",\n \"acid\",\n \"adobe-spectrum\",\n \"ant-design\",\n \"aqua\",\n \"atlassian\",\n \"australia-agriculture-design-system\",\n \"autumn\",\n \"black\",\n \"brazil-padrao-digital-de-governo\",\n \"bumblebee\",\n \"business\",\n \"canada-government-of-canada-design-system\",\n \"cappuccino\",\n \"caramellatte\",\n \"cmyk\",\n \"coffee\",\n \"corporate\",\n \"cupcake\",\n \"cyberpunk\",\n \"dark\",\n \"dim\",\n \"dracula\",\n \"emerald\",\n \"european-union-europa-component-library\",\n \"excel\",\n \"fantasy\",\n \"fluent\",\n \"forest\",\n \"garden\",\n \"github-primer\",\n \"halloween\",\n \"ibm-carbon\",\n \"japan-digital-agency-design-system\",\n \"lemonade\",\n \"light\",\n \"linear\",\n \"lofi\",\n \"luxury\",\n \"mozilla-protocol\",\n \"night\",\n \"nord\",\n \"notion\",\n \"pastel\",\n \"retro\",\n \"salesforce\",\n \"sap-fiori\",\n \"silk\",\n \"singapore-government-design-system\",\n \"sunset\",\n \"synthwave\",\n \"valentine\",\n \"vercel\",\n \"winter\",\n \"wireframe\",\n \"united-kingdom-government-digital-service\",\n \"united-kingdom-national-health-service-england-for-patients\",\n \"united-kingdom-national-health-service-england-for-practitioners\",\n \"united-kingdom-national-health-service-scotland-for-patients\",\n \"united-kingdom-national-health-service-scotland-for-practitioners\",\n \"united-kingdom-national-health-service-wales-for-patients\",\n \"united-kingdom-national-health-service-wales-for-practitioners\",\n \"united-states-web-design-system\",\n];\n\n/**\n * The seven-step text-size scale. Each slug title-cases to exactly the\n * requested label (\"largest\" → \"Largest\", …) via `text-size-picker`'s\n * own default `labelFor`, so no `sizeLabels` override is needed either.\n */\nexport const DEFAULT_SIZES: string[] = [\n \"largest\",\n \"larger\",\n \"large\",\n \"normal\",\n \"small\",\n \"smaller\",\n \"smallest\",\n];\n\n/** Accessible names for the pickers. Required — no English default (`link` only when `links` is given). */\nexport type PickerBarLabels = {\n /**\n * Accessible name for the link picker's button and list. Needed only when `links` is\n * supplied; the link picker renders only when both are present.\n */\n link?: string;\n /**\n * Accessible name for the search picker's button and search landmark. Optional: omitted or empty, the bar has no search\n * picker (a client-side app whose search would navigate away from its state can leave it out). When given, `searchInput`\n * and `searchSubmit` are needed too.\n */\n search?: string;\n /** Accessible name for the search picker's text field. */\n searchInput?: string;\n /** Accessible name for the search picker's ⏎ submit button. */\n searchSubmit?: string;\n /** Accessible name for the theme picker's button and listbox. */\n theme: string;\n /** Accessible name for the locale picker's button and listbox. */\n locale: string;\n /** Accessible name for the text-size picker's button and listbox. */\n textSize: string;\n /**\n * Accessible name for the time-zone picker's button and listbox. Needed only when\n * `timeZoneLocale` is supplied; the time-zone picker renders only when both are present.\n */\n timeZone?: string;\n /** Accessible name for the share picker's button and list. */\n share: string;\n};\n\n/**\n * PickerBar — composes search-picker, theme-picker, locale-picker,\n * text-size-picker, and share-picker into one page-header row.\n *\n * A thin wrapper: it renders the five picker components, each imported\n * as a real npm dependency from its own published package, unmodified.\n * It pre-wires two catalog-specific defaults (`DEFAULT_THEMES`,\n * `DEFAULT_SIZES`) and flattens each wrapped picker's most commonly\n * needed optional props onto its own inputs — Angular has no spread\n * binding for component inputs, so unlike the canonical Svelte\n * contract's `*Props` bag, overrides here are named inputs rather than\n * an object spread. `motion-picker` and `date-time-picker` are\n * deliberately not included — see `spec/index.md` §1.\n */\n@Component({\n selector: \"lily-picker-bar\",\n standalone: true,\n imports: [\n LinkPicker,\n SearchPicker,\n ThemePicker,\n LocalePicker,\n TextSizePicker,\n TimeZonePicker,\n SharePicker,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"picker-bar {{ className() }}\">\n @if (links().length > 0 && labels().link) {\n <lily-link-picker\n [label]=\"labels().link!\"\n [links]=\"links()\"\n [navigate]=\"linkNavigate()\"\n (navigated)=\"linkNavigated.emit($event)\"\n />\n }\n @if (labels().search) {\n <lily-search-picker\n [label]=\"labels().search ?? ''\"\n [inputLabel]=\"labels().searchInput ?? ''\"\n [submitLabel]=\"labels().searchSubmit ?? ''\"\n [placeholder]=\"searchPlaceholder()\"\n [(value)]=\"searchValue\"\n [action]=\"searchAction()\"\n [navigate]=\"searchNavigate()\"\n (searched)=\"searched.emit($event)\"\n />\n }\n <lily-theme-picker\n [label]=\"labels().theme\"\n [themesUrl]=\"themesUrl()\"\n [themes]=\"themes()\"\n [(value)]=\"themeValue\"\n [defaultValue]=\"themeDefaultValue()\"\n [storageKey]=\"themeStorageKey()\"\n [detectFromSystem]=\"themeDetectFromSystem()\"\n [name]=\"themeName()\"\n [target]=\"themeTarget()\"\n [themeLabels]=\"themeLabels()\"\n />\n <lily-locale-picker\n [label]=\"labels().locale\"\n [locales]=\"locales()\"\n [(value)]=\"localeValue\"\n [defaultValue]=\"localeDefaultValue()\"\n [storageKey]=\"localeStorageKey()\"\n [detectFromNavigator]=\"localeDetectFromNavigator()\"\n [name]=\"localeName()\"\n [target]=\"localeTarget()\"\n [applyDir]=\"localeApplyDir()\"\n [localeLabels]=\"localeLabels()\"\n />\n @if (labels().timeZone && timeZoneLocale()) {\n <lily-time-zone-picker\n [label]=\"labels().timeZone!\"\n [locale]=\"timeZoneLocale()!\"\n [zones]=\"timeZones()\"\n [date]=\"timeZoneDate()\"\n [labelFor]=\"timeZoneLabelFor()\"\n [names]=\"timeZoneNames()\"\n [(value)]=\"timeZoneValue\"\n [defaultValue]=\"timeZoneDefaultValue()\"\n [storageKey]=\"timeZoneStorageKey()\"\n [name]=\"timeZoneName()\"\n [target]=\"timeZoneTarget()\"\n />\n }\n <lily-text-size-picker\n [label]=\"labels().textSize\"\n [sizes]=\"sizes()\"\n [(value)]=\"textSizeValue\"\n [defaultValue]=\"textSizeDefaultValue()\"\n [storageKey]=\"textSizeStorageKey()\"\n [name]=\"textSizeName()\"\n [target]=\"textSizeTarget()\"\n [sizeLabels]=\"textSizeLabels()\"\n />\n <lily-share-picker\n [label]=\"labels().share\"\n [targets]=\"shareTargets()\"\n [url]=\"shareUrl()\"\n [title]=\"shareTitle()\"\n [text]=\"shareText()\"\n [copyLabel]=\"copyLabel()\"\n [copiedLabel]=\"copiedLabel()\"\n [copyFailedLabel]=\"copyFailedLabel()\"\n [strategy]=\"shareStrategy()\"\n (share)=\"share.emit($event)\"\n (copy)=\"copy.emit($event)\"\n (nativeShare)=\"nativeShare.emit($event)\"\n />\n </div>\n `,\n})\nexport class PickerBar {\n /** Accessible names for each picker. */\n readonly labels = input.required<PickerBarLabels>();\n\n // --- link-picker ---\n /**\n * Page links for the link picker (a home icon), which renders FIRST — leftmost. Defined by the\n * app; omitted or empty means no link picker (and `labels().link` is then unused).\n */\n readonly links = input<LinkItem[]>([]);\n /** Client-side navigation hook for the links, e.g. a router's `navigateByUrl`. */\n readonly linkNavigate = input<((href: string) => void) | undefined>(undefined);\n /** Fires after a page link is chosen. */\n readonly linkNavigated = output<LinkNavigatedEvent>();\n\n // --- search-picker ---\n /** Placeholder for the search field. No default (it would be English). */\n readonly searchPlaceholder = input<string | undefined>(undefined);\n /** Two-way bindable search text. */\n readonly searchValue = model<string>(\"\");\n /** Path the query is appended to (`${searchAction}?${query}`). */\n readonly searchAction = input<string>(\"/\");\n /** Performs the search navigation. Defaults to `location.assign(href)`. */\n readonly searchNavigate = input<((href: string) => void) | undefined>(undefined);\n /** Fires with the trimmed query and destination, before navigating. */\n readonly searched = output<SearchEvent>();\n\n // --- theme-picker ---\n /** Base URL of the themes directory, forwarded to ThemePicker. */\n readonly themesUrl = input.required<string>();\n /** Available theme slugs. Defaults to {@link DEFAULT_THEMES}. */\n readonly themes = input<string[]>(DEFAULT_THEMES);\n /** Two-way bindable current theme slug. */\n readonly themeValue = model<string>(\"\");\n readonly themeDefaultValue = input<string>(\"\");\n readonly themeStorageKey = input<string>(\"\");\n readonly themeDetectFromSystem = input<boolean>(false);\n readonly themeName = input<string>(\"theme\");\n readonly themeTarget = input<HTMLElement | null>(null);\n readonly themeLabels = input<Record<string, string>>({});\n\n // --- locale-picker ---\n /** Available locale codes. No catalog default exists — supply the set you support. */\n readonly locales = input.required<string[]>();\n /** Two-way bindable current locale code. */\n readonly localeValue = model<string>(\"\");\n readonly localeDefaultValue = input<string>(\"\");\n readonly localeStorageKey = input<string>(\"\");\n readonly localeDetectFromNavigator = input<boolean>(false);\n readonly localeName = input<string>(\"locale\");\n readonly localeTarget = input<HTMLElement | null>(null);\n readonly localeApplyDir = input<boolean>(true);\n readonly localeLabels = input<Record<string, string>>({});\n\n // --- time-zone-picker ---\n /**\n * The language that names and sorts the zones (BCP 47, e.g. `fr`). The time-zone picker, which sits\n * after the locale picker, renders only when this and `labels().timeZone` are both given.\n */\n readonly timeZoneLocale = input<string | undefined>(undefined);\n /** IANA zone ids on offer. Defaults to the picker's own 55. */\n readonly timeZones = input<readonly string[]>(DEFAULT_ZONES);\n /** The date the offsets are computed for (daylight time). Defaults to now. */\n readonly timeZoneDate = input<Date | undefined>(undefined);\n readonly timeZoneLabelFor = input<((zone: ZoneInfo) => string) | undefined>(undefined);\n /** CLDR zone names, e.g. `zoneNamesFrom(pack)` from the locale-translations package. */\n readonly timeZoneNames = input<ZoneNames | undefined>(undefined);\n /** Two-way bindable current IANA zone id. */\n readonly timeZoneValue = model<string>(\"\");\n readonly timeZoneDefaultValue = input<string>(\"\");\n readonly timeZoneStorageKey = input<string>(\"\");\n readonly timeZoneName = input<string>(\"time-zone\");\n readonly timeZoneTarget = input<HTMLElement | null>(null);\n\n // --- text-size-picker ---\n /** Available size slugs. Defaults to {@link DEFAULT_SIZES}. */\n readonly sizes = input<string[]>(DEFAULT_SIZES);\n /** Two-way bindable current size slug. */\n readonly textSizeValue = model<string>(\"\");\n /**\n * `text-size-picker`'s own fallback (\"medium\", else `sizes[0]`) does\n * not fit the seven-slug scale — \"medium\" is not one of the seven,\n * and `sizes[0]` would silently start every consumer on \"Largest\".\n */\n readonly textSizeDefaultValue = input<string>(\"normal\");\n readonly textSizeStorageKey = input<string>(\"\");\n readonly textSizeName = input<string>(\"text-size\");\n readonly textSizeTarget = input<HTMLElement | null>(null);\n readonly textSizeLabels = input<Record<string, string>>({});\n\n // --- share-picker ---\n /** Destinations offered by the share picker. Empty is valid if `copyLabel` is set. */\n readonly shareTargets = input<ShareTarget[]>([]);\n readonly shareUrl = input<string>(\"\");\n readonly shareTitle = input<string>(\"\");\n readonly shareText = input<string>(\"\");\n readonly copyLabel = input<string>(\"\");\n readonly copiedLabel = input<string>(\"\");\n readonly copyFailedLabel = input<string>(\"\");\n readonly shareStrategy = input<ShareStrategy>(\"auto\");\n /** Fires after a share destination is chosen. */\n readonly share = output<ShareEvent>();\n /** Fires after the URL is copied. */\n readonly copy = output<string>();\n /** Fires when the native share sheet was used instead of the list. */\n readonly nativeShare = output<string>();\n\n /** Extra CSS class on the root. */\n readonly className = input<string>(\"\");\n}\n"],"mappings":";;;;;;;;;AA+BA,MAAa,iBAA2B;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACH;AAOD,MAAa,gBAA0B;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;AACH;AAqJD,IAAa,YAAb,MAAa,UAAS;CArGtB,cAAA;EAuGa,KAAA,SAAS,MAAM,SAA2B,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;EAO1C,KAAA,QAAQ,MAAkB,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAE7B,KAAA,eAAe,MAA4C,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;EAErE,KAAA,gBAAgB,OAAM;EAItB,KAAA,oBAAoB,MAA0B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,oBAAA,CAAA,+BAAA,CAAA,CAAA;EAExD,KAAA,cAAc,MAAc,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EAE/B,KAAA,eAAe,MAAc,KAAI,GAAA,YAAA,CAAA,EAAA,WAAA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AA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;KAAA,SAAA;MAAA;MAAA;MAAA;KAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MACd;KAAc,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;KAAA,SAAA;MAAA;MAAA;MAAA;KAAA;IAAA;IAAA;KAAA,MAAA;KAAA,MACd;KAAW,UAAA;KAAA,QAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;KAAA;KAAA,SAAA;MAAA;MAAA;MAAA;MAAA;KAAA;IAAA;GAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AA2FN,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAS,YAAA,CAAA;EArGrB,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,YAAY;GACZ,SAAS;IACL;IACA;IACA;IACA;IACA;IACA;IACA;GACH;GACD,iBAAiB,wBAAwB;GACzC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuFb,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lilydesignsystem/angular-picker-bar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=26"
|
|
6
6
|
},
|
|
7
7
|
"description": "Lily Design System Angular picker bar: composes link-picker (optional), search-picker, theme-picker, locale-picker, time-zone-picker (optional), text-size-picker, and share-picker into one page-header row. Headless, SSR-safe, no CSS.",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@lilydesignsystem/angular-link-picker": "^0.
|
|
10
|
-
"@lilydesignsystem/angular-locale-picker": "^0.
|
|
11
|
-
"@lilydesignsystem/angular-search-picker": "^0.
|
|
12
|
-
"@lilydesignsystem/angular-share-picker": "^0.
|
|
13
|
-
"@lilydesignsystem/angular-text-size-picker": "^0.
|
|
9
|
+
"@lilydesignsystem/angular-link-picker": "^0.2.0",
|
|
10
|
+
"@lilydesignsystem/angular-locale-picker": "^0.3.1",
|
|
11
|
+
"@lilydesignsystem/angular-search-picker": "^0.2.0",
|
|
12
|
+
"@lilydesignsystem/angular-share-picker": "^0.3.0",
|
|
13
|
+
"@lilydesignsystem/angular-text-size-picker": "^0.3.0",
|
|
14
|
+
"@lilydesignsystem/angular-theme-picker": "^0.3.0",
|
|
14
15
|
"@lilydesignsystem/angular-time-zone-picker": "^0.1.0",
|
|
15
|
-
"@lilydesignsystem/angular-theme-picker": "^0.2.0",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
@@ -4,7 +4,7 @@ import { ShareEvent, ShareStrategy, ShareTarget } from "@lilydesignsystem/angula
|
|
|
4
4
|
import { SearchEvent } from "@lilydesignsystem/angular-search-picker";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
|
-
* All
|
|
7
|
+
* All 63 Lily reference theme slugs (see `themes/` at the repo root),
|
|
8
8
|
* sorted alphabetically except the United Kingdom and United States
|
|
9
9
|
* government/public-sector themes, which sort last as one alphabetical
|
|
10
10
|
* group of their own. Mirrors `theme-picker`'s own title-casing of each
|
|
@@ -24,12 +24,16 @@ type PickerBarLabels = {
|
|
|
24
24
|
* supplied; the link picker renders only when both are present.
|
|
25
25
|
*/
|
|
26
26
|
link?: string;
|
|
27
|
-
/**
|
|
28
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Accessible name for the search picker's button and search landmark. Optional: omitted or empty, the bar has no search
|
|
29
|
+
* picker (a client-side app whose search would navigate away from its state can leave it out). When given, `searchInput`
|
|
30
|
+
* and `searchSubmit` are needed too.
|
|
31
|
+
*/
|
|
32
|
+
search?: string;
|
|
29
33
|
/** Accessible name for the search picker's text field. */
|
|
30
|
-
searchInput
|
|
34
|
+
searchInput?: string;
|
|
31
35
|
/** Accessible name for the search picker's ⏎ submit button. */
|
|
32
|
-
searchSubmit
|
|
36
|
+
searchSubmit?: string;
|
|
33
37
|
/** Accessible name for the theme picker's button and listbox. */
|
|
34
38
|
theme: string;
|
|
35
39
|
/** Accessible name for the locale picker's button and listbox. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lilydesignsystem-angular-picker-bar.d.ts","names":[],"sources":["../../picker-bar.component.ts"],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"lilydesignsystem-angular-picker-bar.d.ts","names":[],"sources":["../../picker-bar.component.ts"],"mappings":";;;;;;;;;;;;qBA+Ba;;;;;;qBAuEA;;KAWD;;;;;EAKR;;;;;;EAMA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;EAKA;;EAEA;;;;;;;;;;;;;;;;qBAsHS;;WAEA,2CAAM,YAAA;;;;;WAON,0CAAK,YAAA;;WAEL,iDAAY,cAAA;;WAEZ,wDAAa,iBAAA;;WAIb,sDAAiB;;WAEjB,gDAAW;;WAEX,iDAAY;;WAEZ,mDAAc,cAAA;;WAEd,mDAAQ,iBAAA;;WAIR,8CAAS;;WAET,2CAAM;;WAEN,+CAAU;WACV,sDAAiB;WACjB,oDAAe;WACf,0DAAqB;WACrB,8CAAS;WACT,gDAAW,YAAA;WACX,gDAAW,YAAA;;WAIX,4CAAO;;WAEP,gDAAW;WACX,uDAAkB;WAClB,qDAAgB;WAChB,8DAAyB;WACzB,+CAAU;WACV,iDAAY,YAAA;WACZ,mDAAc;WACd,iDAAY,YAAA;;;;;WAOZ,mDAAc;;WAEd,8CAAS;;WAET,iDAAY,YAAA;WACZ,qDAAgB,cAAA,MAAiB;;WAEjC,kDAAa,YAAA,SAAA;;WAEb,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