@lilydesignsystem/angular-picker-bar 0.3.0 → 0.4.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.
|
@@ -10,11 +10,14 @@ const DEFAULT_THEMES = [
|
|
|
10
10
|
"abyss",
|
|
11
11
|
"acid",
|
|
12
12
|
"adobe-spectrum",
|
|
13
|
+
"ant-design",
|
|
13
14
|
"aqua",
|
|
15
|
+
"atlassian",
|
|
14
16
|
"autumn",
|
|
15
17
|
"black",
|
|
16
18
|
"bumblebee",
|
|
17
19
|
"business",
|
|
20
|
+
"cappuccino",
|
|
18
21
|
"caramellatte",
|
|
19
22
|
"cmyk",
|
|
20
23
|
"coffee",
|
|
@@ -25,23 +28,32 @@ const DEFAULT_THEMES = [
|
|
|
25
28
|
"dim",
|
|
26
29
|
"dracula",
|
|
27
30
|
"emerald",
|
|
31
|
+
"excel",
|
|
28
32
|
"fantasy",
|
|
33
|
+
"fluent",
|
|
29
34
|
"forest",
|
|
30
35
|
"garden",
|
|
36
|
+
"github-primer",
|
|
31
37
|
"halloween",
|
|
38
|
+
"ibm-carbon",
|
|
32
39
|
"lemonade",
|
|
33
40
|
"light",
|
|
41
|
+
"linear",
|
|
34
42
|
"lofi",
|
|
35
43
|
"luxury",
|
|
36
44
|
"mozilla-protocol",
|
|
37
45
|
"night",
|
|
38
46
|
"nord",
|
|
47
|
+
"notion",
|
|
39
48
|
"pastel",
|
|
40
49
|
"retro",
|
|
50
|
+
"salesforce",
|
|
51
|
+
"sap-fiori",
|
|
41
52
|
"silk",
|
|
42
53
|
"sunset",
|
|
43
54
|
"synthwave",
|
|
44
55
|
"valentine",
|
|
56
|
+
"vercel",
|
|
45
57
|
"winter",
|
|
46
58
|
"wireframe",
|
|
47
59
|
"united-kingdom-government-digital-service",
|
|
@@ -509,9 +521,11 @@ var PickerBar = class PickerBar {
|
|
|
509
521
|
"label",
|
|
510
522
|
"links",
|
|
511
523
|
"navigate",
|
|
512
|
-
"className"
|
|
524
|
+
"className",
|
|
525
|
+
"open",
|
|
526
|
+
"disabled"
|
|
513
527
|
],
|
|
514
|
-
outputs: ["navigated"]
|
|
528
|
+
outputs: ["navigated", "openChange"]
|
|
515
529
|
},
|
|
516
530
|
{
|
|
517
531
|
kind: "component",
|
|
@@ -525,9 +539,15 @@ var PickerBar = class PickerBar {
|
|
|
525
539
|
"value",
|
|
526
540
|
"action",
|
|
527
541
|
"navigate",
|
|
528
|
-
"className"
|
|
542
|
+
"className",
|
|
543
|
+
"open",
|
|
544
|
+
"disabled"
|
|
529
545
|
],
|
|
530
|
-
outputs: [
|
|
546
|
+
outputs: [
|
|
547
|
+
"valueChange",
|
|
548
|
+
"searched",
|
|
549
|
+
"openChange"
|
|
550
|
+
]
|
|
531
551
|
},
|
|
532
552
|
{
|
|
533
553
|
kind: "component",
|
|
@@ -545,9 +565,15 @@ var PickerBar = class PickerBar {
|
|
|
545
565
|
"extension",
|
|
546
566
|
"target",
|
|
547
567
|
"themeLabels",
|
|
548
|
-
"className"
|
|
568
|
+
"className",
|
|
569
|
+
"open",
|
|
570
|
+
"disabled"
|
|
549
571
|
],
|
|
550
|
-
outputs: [
|
|
572
|
+
outputs: [
|
|
573
|
+
"valueChange",
|
|
574
|
+
"themeChange",
|
|
575
|
+
"openChange"
|
|
576
|
+
]
|
|
551
577
|
},
|
|
552
578
|
{
|
|
553
579
|
kind: "component",
|
|
@@ -564,9 +590,15 @@ var PickerBar = class PickerBar {
|
|
|
564
590
|
"target",
|
|
565
591
|
"applyDir",
|
|
566
592
|
"localeLabels",
|
|
567
|
-
"className"
|
|
593
|
+
"className",
|
|
594
|
+
"open",
|
|
595
|
+
"disabled"
|
|
568
596
|
],
|
|
569
|
-
outputs: [
|
|
597
|
+
outputs: [
|
|
598
|
+
"valueChange",
|
|
599
|
+
"localeChange",
|
|
600
|
+
"openChange"
|
|
601
|
+
]
|
|
570
602
|
},
|
|
571
603
|
{
|
|
572
604
|
kind: "component",
|
|
@@ -581,9 +613,15 @@ var PickerBar = class PickerBar {
|
|
|
581
613
|
"name",
|
|
582
614
|
"target",
|
|
583
615
|
"sizeLabels",
|
|
584
|
-
"className"
|
|
616
|
+
"className",
|
|
617
|
+
"open",
|
|
618
|
+
"disabled"
|
|
585
619
|
],
|
|
586
|
-
outputs: [
|
|
620
|
+
outputs: [
|
|
621
|
+
"valueChange",
|
|
622
|
+
"sizeChange",
|
|
623
|
+
"openChange"
|
|
624
|
+
]
|
|
587
625
|
},
|
|
588
626
|
{
|
|
589
627
|
kind: "component",
|
|
@@ -599,12 +637,15 @@ var PickerBar = class PickerBar {
|
|
|
599
637
|
"copiedLabel",
|
|
600
638
|
"copyFailedLabel",
|
|
601
639
|
"strategy",
|
|
602
|
-
"className"
|
|
640
|
+
"className",
|
|
641
|
+
"open",
|
|
642
|
+
"disabled"
|
|
603
643
|
],
|
|
604
644
|
outputs: [
|
|
605
645
|
"share",
|
|
606
646
|
"copy",
|
|
607
|
-
"nativeShare"
|
|
647
|
+
"nativeShare",
|
|
648
|
+
"openChange"
|
|
608
649
|
]
|
|
609
650
|
}
|
|
610
651
|
],
|
|
@@ -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 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 45 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 \"aqua\",\n \"autumn\",\n \"black\",\n \"bumblebee\",\n \"business\",\n \"caramellatte\",\n \"cmyk\",\n \"coffee\",\n \"corporate\",\n \"cupcake\",\n \"cyberpunk\",\n \"dark\",\n \"dim\",\n \"dracula\",\n \"emerald\",\n \"fantasy\",\n \"forest\",\n \"garden\",\n \"halloween\",\n \"lemonade\",\n \"light\",\n \"lofi\",\n \"luxury\",\n \"mozilla-protocol\",\n \"night\",\n \"nord\",\n \"pastel\",\n \"retro\",\n \"silk\",\n \"sunset\",\n \"synthwave\",\n \"valentine\",\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 /** 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, 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 <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 // --- 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":";;;;;;;;AA4BA,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;AACD;AAOD,MAAa,gBAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAmHD,IAAa,YAAb,MAAa,UAAS;CA5EtB,cAAA;EA8EW,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,IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsEX,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 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 /** 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, 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 <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 // --- 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":";;;;;;;;AA4BA,MAAa,iBAA2B;CACtC;CACA;CACA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Angular picker bar: composes link-picker (optional), search-picker, theme-picker, locale-picker, text-size-picker, and share-picker into one page-header row. Headless, SSR-safe, no CSS.",
|
|
8
|
-
"peerDependencies": {
|
|
9
|
-
"@angular/core": ">=20.0.0 <23.0.0",
|
|
10
|
-
"@angular/common": ">=20.0.0 <23.0.0"
|
|
11
|
-
},
|
|
12
8
|
"dependencies": {
|
|
13
9
|
"@lilydesignsystem/angular-link-picker": "^0.1.0",
|
|
14
10
|
"@lilydesignsystem/angular-search-picker": "^0.1.0",
|
|
@@ -18,6 +14,10 @@
|
|
|
18
14
|
"@lilydesignsystem/angular-share-picker": "^0.2.0",
|
|
19
15
|
"tslib": "^2.3.0"
|
|
20
16
|
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"@angular/core": ">=20.0.0 <23.0.0",
|
|
19
|
+
"@angular/common": ">=20.0.0 <23.0.0"
|
|
20
|
+
},
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"keywords": [
|
|
23
23
|
"lily",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"license": "MIT OR Apache-2.0 OR GPL-2.0-only OR GPL-3.0-only OR BSD-3-Clause",
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "git+https://github.com/LilyDesignSystem/lily-design-system
|
|
39
|
+
"url": "git+https://github.com/LilyDesignSystem/lily-design-system.git",
|
|
40
40
|
"directory": "lily-design-system-angular-picker-bar"
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://lilydesignsystem.com/",
|
|
@@ -3,7 +3,7 @@ import { ShareEvent, ShareStrategy, ShareTarget } from "@lilydesignsystem/angula
|
|
|
3
3
|
import { SearchEvent } from "@lilydesignsystem/angular-search-picker";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
* All
|
|
6
|
+
* All 57 Lily reference theme slugs (see `themes/` at the repo root),
|
|
7
7
|
* sorted alphabetically except the United Kingdom and United States
|
|
8
8
|
* government/public-sector themes, which sort last as one alphabetical
|
|
9
9
|
* group of their own. Mirrors `theme-picker`'s own title-casing of each
|
|
@@ -54,80 +54,80 @@ type PickerBarLabels = {
|
|
|
54
54
|
*/
|
|
55
55
|
export declare class PickerBar {
|
|
56
56
|
/** Accessible names for each picker. */
|
|
57
|
-
readonly labels: import("@angular/core").InputSignal<PickerBarLabels>;
|
|
57
|
+
readonly labels: import("@angular/core/types/core").InputSignal<PickerBarLabels>;
|
|
58
58
|
/**
|
|
59
59
|
* Page links for the link picker (a home icon), which renders FIRST — leftmost. Defined by the
|
|
60
60
|
* app; omitted or empty means no link picker (and `labels().link` is then unused).
|
|
61
61
|
*/
|
|
62
|
-
readonly links: import("@angular/core").InputSignal<LinkItem[]>;
|
|
62
|
+
readonly links: import("@angular/core/types/core").InputSignal<LinkItem[]>;
|
|
63
63
|
/** Client-side navigation hook for the links, e.g. a router's `navigateByUrl`. */
|
|
64
|
-
readonly linkNavigate: import("@angular/core").InputSignal<((href: string) => void) | undefined>;
|
|
64
|
+
readonly linkNavigate: import("@angular/core/types/core").InputSignal<((href: string) => void) | undefined>;
|
|
65
65
|
/** Fires after a page link is chosen. */
|
|
66
|
-
readonly linkNavigated: import("@angular/core").OutputEmitterRef<LinkNavigatedEvent>;
|
|
66
|
+
readonly linkNavigated: import("@angular/core/types/_api-chunk").OutputEmitterRef<LinkNavigatedEvent>;
|
|
67
67
|
/** Placeholder for the search field. No default (it would be English). */
|
|
68
|
-
readonly searchPlaceholder: import("@angular/core").InputSignal<string | undefined>;
|
|
68
|
+
readonly searchPlaceholder: import("@angular/core/types/core").InputSignal<string | undefined>;
|
|
69
69
|
/** Two-way bindable search text. */
|
|
70
|
-
readonly searchValue: import("@angular/core").ModelSignal<string>;
|
|
70
|
+
readonly searchValue: import("@angular/core/types/core").ModelSignal<string>;
|
|
71
71
|
/** Path the query is appended to (`${searchAction}?${query}`). */
|
|
72
|
-
readonly searchAction: import("@angular/core").InputSignal<string>;
|
|
72
|
+
readonly searchAction: import("@angular/core/types/core").InputSignal<string>;
|
|
73
73
|
/** Performs the search navigation. Defaults to `location.assign(href)`. */
|
|
74
|
-
readonly searchNavigate: import("@angular/core").InputSignal<((href: string) => void) | undefined>;
|
|
74
|
+
readonly searchNavigate: import("@angular/core/types/core").InputSignal<((href: string) => void) | undefined>;
|
|
75
75
|
/** Fires with the trimmed query and destination, before navigating. */
|
|
76
|
-
readonly searched: import("@angular/core").OutputEmitterRef<SearchEvent>;
|
|
76
|
+
readonly searched: import("@angular/core/types/_api-chunk").OutputEmitterRef<SearchEvent>;
|
|
77
77
|
/** Base URL of the themes directory, forwarded to ThemePicker. */
|
|
78
|
-
readonly themesUrl: import("@angular/core").InputSignal<string>;
|
|
78
|
+
readonly themesUrl: import("@angular/core/types/core").InputSignal<string>;
|
|
79
79
|
/** Available theme slugs. Defaults to {@link DEFAULT_THEMES}. */
|
|
80
|
-
readonly themes: import("@angular/core").InputSignal<string[]>;
|
|
80
|
+
readonly themes: import("@angular/core/types/core").InputSignal<string[]>;
|
|
81
81
|
/** Two-way bindable current theme slug. */
|
|
82
|
-
readonly themeValue: import("@angular/core").ModelSignal<string>;
|
|
83
|
-
readonly themeDefaultValue: import("@angular/core").InputSignal<string>;
|
|
84
|
-
readonly themeStorageKey: import("@angular/core").InputSignal<string>;
|
|
85
|
-
readonly themeDetectFromSystem: import("@angular/core").InputSignal<boolean>;
|
|
86
|
-
readonly themeName: import("@angular/core").InputSignal<string>;
|
|
87
|
-
readonly themeTarget: import("@angular/core").InputSignal<HTMLElement | null>;
|
|
88
|
-
readonly themeLabels: import("@angular/core").InputSignal<Record<string, string>>;
|
|
82
|
+
readonly themeValue: import("@angular/core/types/core").ModelSignal<string>;
|
|
83
|
+
readonly themeDefaultValue: import("@angular/core/types/core").InputSignal<string>;
|
|
84
|
+
readonly themeStorageKey: import("@angular/core/types/core").InputSignal<string>;
|
|
85
|
+
readonly themeDetectFromSystem: import("@angular/core/types/core").InputSignal<boolean>;
|
|
86
|
+
readonly themeName: import("@angular/core/types/core").InputSignal<string>;
|
|
87
|
+
readonly themeTarget: import("@angular/core/types/core").InputSignal<HTMLElement | null>;
|
|
88
|
+
readonly themeLabels: import("@angular/core/types/core").InputSignal<Record<string, string>>;
|
|
89
89
|
/** Available locale codes. No catalog default exists — supply the set you support. */
|
|
90
|
-
readonly locales: import("@angular/core").InputSignal<string[]>;
|
|
90
|
+
readonly locales: import("@angular/core/types/core").InputSignal<string[]>;
|
|
91
91
|
/** Two-way bindable current locale code. */
|
|
92
|
-
readonly localeValue: import("@angular/core").ModelSignal<string>;
|
|
93
|
-
readonly localeDefaultValue: import("@angular/core").InputSignal<string>;
|
|
94
|
-
readonly localeStorageKey: import("@angular/core").InputSignal<string>;
|
|
95
|
-
readonly localeDetectFromNavigator: import("@angular/core").InputSignal<boolean>;
|
|
96
|
-
readonly localeName: import("@angular/core").InputSignal<string>;
|
|
97
|
-
readonly localeTarget: import("@angular/core").InputSignal<HTMLElement | null>;
|
|
98
|
-
readonly localeApplyDir: import("@angular/core").InputSignal<boolean>;
|
|
99
|
-
readonly localeLabels: import("@angular/core").InputSignal<Record<string, string>>;
|
|
92
|
+
readonly localeValue: import("@angular/core/types/core").ModelSignal<string>;
|
|
93
|
+
readonly localeDefaultValue: import("@angular/core/types/core").InputSignal<string>;
|
|
94
|
+
readonly localeStorageKey: import("@angular/core/types/core").InputSignal<string>;
|
|
95
|
+
readonly localeDetectFromNavigator: import("@angular/core/types/core").InputSignal<boolean>;
|
|
96
|
+
readonly localeName: import("@angular/core/types/core").InputSignal<string>;
|
|
97
|
+
readonly localeTarget: import("@angular/core/types/core").InputSignal<HTMLElement | null>;
|
|
98
|
+
readonly localeApplyDir: import("@angular/core/types/core").InputSignal<boolean>;
|
|
99
|
+
readonly localeLabels: import("@angular/core/types/core").InputSignal<Record<string, string>>;
|
|
100
100
|
/** Available size slugs. Defaults to {@link DEFAULT_SIZES}. */
|
|
101
|
-
readonly sizes: import("@angular/core").InputSignal<string[]>;
|
|
101
|
+
readonly sizes: import("@angular/core/types/core").InputSignal<string[]>;
|
|
102
102
|
/** Two-way bindable current size slug. */
|
|
103
|
-
readonly textSizeValue: import("@angular/core").ModelSignal<string>;
|
|
103
|
+
readonly textSizeValue: import("@angular/core/types/core").ModelSignal<string>;
|
|
104
104
|
/**
|
|
105
105
|
* `text-size-picker`'s own fallback ("medium", else `sizes[0]`) does
|
|
106
106
|
* not fit the seven-slug scale — "medium" is not one of the seven,
|
|
107
107
|
* and `sizes[0]` would silently start every consumer on "Largest".
|
|
108
108
|
*/
|
|
109
|
-
readonly textSizeDefaultValue: import("@angular/core").InputSignal<string>;
|
|
110
|
-
readonly textSizeStorageKey: import("@angular/core").InputSignal<string>;
|
|
111
|
-
readonly textSizeName: import("@angular/core").InputSignal<string>;
|
|
112
|
-
readonly textSizeTarget: import("@angular/core").InputSignal<HTMLElement | null>;
|
|
113
|
-
readonly textSizeLabels: import("@angular/core").InputSignal<Record<string, string>>;
|
|
109
|
+
readonly textSizeDefaultValue: import("@angular/core/types/core").InputSignal<string>;
|
|
110
|
+
readonly textSizeStorageKey: import("@angular/core/types/core").InputSignal<string>;
|
|
111
|
+
readonly textSizeName: import("@angular/core/types/core").InputSignal<string>;
|
|
112
|
+
readonly textSizeTarget: import("@angular/core/types/core").InputSignal<HTMLElement | null>;
|
|
113
|
+
readonly textSizeLabels: import("@angular/core/types/core").InputSignal<Record<string, string>>;
|
|
114
114
|
/** Destinations offered by the share picker. Empty is valid if `copyLabel` is set. */
|
|
115
|
-
readonly shareTargets: import("@angular/core").InputSignal<ShareTarget[]>;
|
|
116
|
-
readonly shareUrl: import("@angular/core").InputSignal<string>;
|
|
117
|
-
readonly shareTitle: import("@angular/core").InputSignal<string>;
|
|
118
|
-
readonly shareText: import("@angular/core").InputSignal<string>;
|
|
119
|
-
readonly copyLabel: import("@angular/core").InputSignal<string>;
|
|
120
|
-
readonly copiedLabel: import("@angular/core").InputSignal<string>;
|
|
121
|
-
readonly copyFailedLabel: import("@angular/core").InputSignal<string>;
|
|
122
|
-
readonly shareStrategy: import("@angular/core").InputSignal<ShareStrategy>;
|
|
115
|
+
readonly shareTargets: import("@angular/core/types/core").InputSignal<ShareTarget[]>;
|
|
116
|
+
readonly shareUrl: import("@angular/core/types/core").InputSignal<string>;
|
|
117
|
+
readonly shareTitle: import("@angular/core/types/core").InputSignal<string>;
|
|
118
|
+
readonly shareText: import("@angular/core/types/core").InputSignal<string>;
|
|
119
|
+
readonly copyLabel: import("@angular/core/types/core").InputSignal<string>;
|
|
120
|
+
readonly copiedLabel: import("@angular/core/types/core").InputSignal<string>;
|
|
121
|
+
readonly copyFailedLabel: import("@angular/core/types/core").InputSignal<string>;
|
|
122
|
+
readonly shareStrategy: import("@angular/core/types/core").InputSignal<ShareStrategy>;
|
|
123
123
|
/** Fires after a share destination is chosen. */
|
|
124
|
-
readonly share: import("@angular/core").OutputEmitterRef<ShareEvent>;
|
|
124
|
+
readonly share: import("@angular/core/types/_api-chunk").OutputEmitterRef<ShareEvent>;
|
|
125
125
|
/** Fires after the URL is copied. */
|
|
126
|
-
readonly copy: import("@angular/core").OutputEmitterRef<string>;
|
|
126
|
+
readonly copy: import("@angular/core/types/_api-chunk").OutputEmitterRef<string>;
|
|
127
127
|
/** Fires when the native share sheet was used instead of the list. */
|
|
128
|
-
readonly nativeShare: import("@angular/core").OutputEmitterRef<string>;
|
|
128
|
+
readonly nativeShare: import("@angular/core/types/_api-chunk").OutputEmitterRef<string>;
|
|
129
129
|
/** Extra CSS class on the root. */
|
|
130
|
-
readonly className: import("@angular/core").InputSignal<string>;
|
|
130
|
+
readonly className: import("@angular/core/types/core").InputSignal<string>;
|
|
131
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<PickerBar, never>;
|
|
132
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<PickerBar, "lily-picker-bar", never, {
|
|
133
133
|
"labels": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lilydesignsystem-angular-picker-bar.d.ts","names":[],"sources":["../../picker-bar.component.ts"],"mappings":";;;;;;;;;;;qBA4Ba;;;;;;
|
|
1
|
+
{"version":3,"file":"lilydesignsystem-angular-picker-bar.d.ts","names":[],"sources":["../../picker-bar.component.ts"],"mappings":";;;;;;;;;;;qBA4Ba;;;;;;qBAiEA;;KAWD;;;;;EAKV;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;;;;qBA6FW;;WAEF,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;;WAIZ,0CAAK;;WAEL,kDAAa;;;;;;WAMb,yDAAoB;WACpB,uDAAkB;WAClB,iDAAY;WACZ,mDAAc,YAAA;WACd,mDAAc,YAAA;;WAId,iDAAY,YAAA;WACZ,6CAAQ;WACR,+CAAU;WACV,8CAAS;WACT,8CAAS;WACT,gDAAW;WACX,oDAAe;WACf,kDAAa,YAAA;;WAEb,gDAAK,iBAAA;;WAEL,+CAAI;;WAEJ,sDAAW;;WAGX,8CAAS;SAxFP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MA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