@yext/visual-editor 2.0.0-beta.12 → 2.0.0-beta.13

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.
Files changed (69) hide show
  1. package/dist/{SectionLibraryVisualEditorProvider-DJezMczO.js → SectionLibraryVisualEditorProvider-64whofF8.js} +3128 -3105
  2. package/dist/cli/assets/directory-locator-source/components/sections/locator/Filters.test.tsx +1 -0
  3. package/dist/cli/assets/directory-locator-source/components/sections/locator/Filters.tsx +9 -8
  4. package/dist/cli/assets/directory-locator-source/components/sections/locator/Locator.tsx +61 -1
  5. package/dist/cli/assets/directory-locator-source/components/sections/locator/LocatorFields.test.ts +66 -0
  6. package/dist/cli/assets/directory-locator-source/components/sections/locator/LocatorRadius.test.ts +316 -34
  7. package/dist/cli/assets/directory-locator-source/components/sections/locator/LocatorResultCard.tsx +4 -1
  8. package/dist/cli/assets/directory-locator-source/components/sections/locator/LocatorWrapper.test.ts +370 -0
  9. package/dist/cli/assets/directory-locator-source/components/sections/locator/LocatorWrapper.tsx +223 -25
  10. package/dist/cli/assets/directory-locator-source/components/sections/locator/Map.tsx +91 -12
  11. package/dist/cli/assets/directory-locator-source/components/sections/locator/Results.tsx +11 -6
  12. package/dist/cli/assets/directory-locator-source/components/sections/locator/distanceUnits.ts +7 -0
  13. package/dist/cli/yextve.js +1 -1
  14. package/dist/{createYextFieldTransforms-B3f0jVg6.d.ts → createYextFieldTransforms-w-U4b5Zf.d.ts} +5 -2
  15. package/dist/index.d.ts +20 -4
  16. package/dist/locales/platform/cs/visual-editor.json +6 -0
  17. package/dist/locales/platform/da/visual-editor.json +6 -0
  18. package/dist/locales/platform/de/visual-editor.json +6 -0
  19. package/dist/locales/platform/en/visual-editor.json +6 -0
  20. package/dist/locales/platform/en-GB/visual-editor.json +6 -0
  21. package/dist/locales/platform/es/visual-editor.json +6 -0
  22. package/dist/locales/platform/et/visual-editor.json +6 -0
  23. package/dist/locales/platform/fi/visual-editor.json +6 -0
  24. package/dist/locales/platform/fr/visual-editor.json +6 -0
  25. package/dist/locales/platform/hr/visual-editor.json +6 -0
  26. package/dist/locales/platform/hu/visual-editor.json +6 -0
  27. package/dist/locales/platform/it/visual-editor.json +6 -0
  28. package/dist/locales/platform/ja/visual-editor.json +6 -0
  29. package/dist/locales/platform/lt/visual-editor.json +6 -0
  30. package/dist/locales/platform/lv/visual-editor.json +6 -0
  31. package/dist/locales/platform/nb/visual-editor.json +6 -0
  32. package/dist/locales/platform/nl/visual-editor.json +6 -0
  33. package/dist/locales/platform/pl/visual-editor.json +6 -0
  34. package/dist/locales/platform/pt/visual-editor.json +6 -0
  35. package/dist/locales/platform/ro/visual-editor.json +6 -0
  36. package/dist/locales/platform/sk/visual-editor.json +6 -0
  37. package/dist/locales/platform/sv/visual-editor.json +6 -0
  38. package/dist/locales/platform/tr/visual-editor.json +6 -0
  39. package/dist/locales/platform/zh/visual-editor.json +6 -0
  40. package/dist/locales/platform/zh-TW/visual-editor.json +6 -0
  41. package/dist/section-library-support.js +55 -55
  42. package/dist/sectionLibrarySupport.d.ts +2 -2
  43. package/dist/{visual-editor-DuxrpEsM.js → visual-editor-B84T0Hz5.js} +67 -61
  44. package/dist/{visual-editor-bjHpuHcP.js → visual-editor-B8eVGZjZ.js} +6 -0
  45. package/dist/{visual-editor-89bNoCOk.js → visual-editor-BTv1Bren.js} +58 -52
  46. package/dist/{visual-editor-BWDv00Sj.js → visual-editor-BWJvQ6QT.js} +100 -94
  47. package/dist/{visual-editor-BPOG2TRh.js → visual-editor-BWk-Ri1i.js} +69 -63
  48. package/dist/{visual-editor-DuH1uy-p.js → visual-editor-BdM7VUac.js} +57 -51
  49. package/dist/{visual-editor-D_Xqs07E.js → visual-editor-BmM2bYhg.js} +92 -86
  50. package/dist/{visual-editor-CiE_sZgp.js → visual-editor-BuRftlWt.js} +79 -73
  51. package/dist/{visual-editor-BEiQqs_Z.js → visual-editor-BxnbtD_z.js} +59 -53
  52. package/dist/{visual-editor-DVI-AF67.js → visual-editor-C4Nretnd.js} +34 -28
  53. package/dist/{visual-editor-BmfXE4Nt.js → visual-editor-CFE4ijeV.js} +36 -30
  54. package/dist/{visual-editor-CJMynoK2.js → visual-editor-CMfDvLU2.js} +49 -43
  55. package/dist/{visual-editor-DSYNp8sQ.js → visual-editor-CauX7_Ur.js} +23 -17
  56. package/dist/{visual-editor-C5aegP-t.js → visual-editor-D5d9meOo.js} +22 -16
  57. package/dist/{visual-editor-dWLAQOr6.js → visual-editor-D9U8TxD-.js} +47 -41
  58. package/dist/{visual-editor-C_SC4gLo.js → visual-editor-DBZwjDQd.js} +43 -37
  59. package/dist/{visual-editor-TsYZAz_J.js → visual-editor-DI6rS2dP.js} +112 -106
  60. package/dist/{visual-editor-8Okvw03s.js → visual-editor-DOioJ5CW.js} +62 -56
  61. package/dist/{visual-editor-BfzO6vuG.js → visual-editor-D_EvXM08.js} +48 -42
  62. package/dist/{visual-editor-yqgcCbY4.js → visual-editor-DguhAL12.js} +6 -0
  63. package/dist/{visual-editor-C7Ne5NW6.js → visual-editor-DmsRSmAI.js} +54 -48
  64. package/dist/{visual-editor-B-9-8VqT.js → visual-editor-DnNNHiLS.js} +49 -43
  65. package/dist/{visual-editor-Crc50YSl.js → visual-editor-DvksDrGT.js} +36 -30
  66. package/dist/{visual-editor-DcNe0Txh.js → visual-editor-XsBMHUSs.js} +62 -56
  67. package/dist/{visual-editor-d-SdfYpR.js → visual-editor-kiT3ocKi.js} +36 -30
  68. package/dist/visual-editor.js +6727 -6388
  69. package/package.json +1 -1
@@ -6,11 +6,11 @@ import { useTranslation } from "react-i18next";
6
6
  import { YextAutoField } from "../../../fields/YextAutoField.tsx";
7
7
  import { useDocument } from "../../../hooks/useDocument.tsx";
8
8
  import { useTemplateMetadata } from "../../../internal/hooks/useMessageReceivers.ts";
9
- import { getPreferredDistanceUnit } from "../../../utils/i18n/distance.ts";
10
9
  import { getLocatorEntityTypeSourceMap } from "../../../utils/locatorEntityTypes.ts";
11
10
  import { LocatorConfig } from "../../../utils/types/StreamDocument.ts";
12
11
  import { Body } from "../../atoms/body.tsx";
13
12
  import { Button } from "../../atoms/button.tsx";
13
+ import { MILE, type DistanceUnit } from "./distanceUnits.ts";
14
14
  import {
15
15
  DEFAULT_LOCATOR_RESULT_CARD_PROPS,
16
16
  Location,
@@ -42,10 +42,10 @@ const getLocatorConfigFromPageSet = (pageSet?: string): LocatorConfig => {
42
42
 
43
43
  export const translateDistanceUnit = (
44
44
  t: (key: string, options?: Record<string, unknown>) => string,
45
- unit: "mile" | "kilometer",
45
+ unit: DistanceUnit,
46
46
  count: number
47
47
  ) => {
48
- if (unit === "mile") {
48
+ if (unit === MILE) {
49
49
  return t("mile", { count, defaultValue: "mile" });
50
50
  }
51
51
 
@@ -198,6 +198,7 @@ interface ResultsCountSummaryProps {
198
198
  searchState: SearchState;
199
199
  resultCount: number;
200
200
  selectedDistanceOption: number | null;
201
+ distanceUnit: DistanceUnit;
201
202
  filterDisplayName?: string;
202
203
  }
203
204
 
@@ -205,9 +206,10 @@ export const ResultsCountSummary = ({
205
206
  searchState,
206
207
  resultCount,
207
208
  selectedDistanceOption,
209
+ distanceUnit,
208
210
  filterDisplayName,
209
211
  }: ResultsCountSummaryProps) => {
210
- const { t, i18n } = useTranslation();
212
+ const { t } = useTranslation();
211
213
 
212
214
  if (resultCount === 0) {
213
215
  if (searchState === "not started") {
@@ -234,13 +236,16 @@ export const ResultsCountSummary = ({
234
236
 
235
237
  if (filterDisplayName) {
236
238
  if (selectedDistanceOption) {
237
- const unit = getPreferredDistanceUnit(i18n.language);
238
239
  return (
239
240
  <Body>
240
241
  {t("locationsWithinDistanceOf", {
241
242
  count: resultCount,
242
243
  distance: selectedDistanceOption,
243
- unit: translateDistanceUnit(t, unit, selectedDistanceOption),
244
+ unit: translateDistanceUnit(
245
+ t,
246
+ distanceUnit,
247
+ selectedDistanceOption
248
+ ),
244
249
  name: filterDisplayName,
245
250
  })}
246
251
  </Body>
@@ -0,0 +1,7 @@
1
+ export const MILE = "mile";
2
+ export const KILOMETER = "kilometer";
3
+ export const BROWSER_LANGUAGE = "browserLanguage";
4
+
5
+ export const DISTANCE_UNITS = [MILE, KILOMETER] as const;
6
+ export type DistanceUnit = (typeof DISTANCE_UNITS)[number];
7
+ export type DefaultDistanceUnit = DistanceUnit | typeof BROWSER_LANGUAGE;
@@ -12231,7 +12231,7 @@ import { fileURLToPath as fileURLToPath3 } from "url";
12231
12231
  var package_default = {
12232
12232
  name: "@yext/visual-editor",
12233
12233
  description: "Component library for Yext Pages Visual Editor",
12234
- version: "2.0.0-beta.12",
12234
+ version: "2.0.0-beta.13",
12235
12235
  author: "sprumo@yext.com",
12236
12236
  repository: {
12237
12237
  type: "git",
@@ -2138,10 +2138,13 @@ declare const wrapperVariants: (props?: ({
2138
2138
  } & class_variance_authority_types.ClassProp) | undefined) => string;
2139
2139
  declare const VisibilityWrapper: React.FC<VisibilityWrapperProps>;
2140
2140
 
2141
+ /** Built-in locator entity types. Locators can also use custom entity types. */
2141
2142
  declare const LOCATOR_ENTITY_TYPES: readonly ["location", "healthcareProfessional", "healthcareFacility", "event", "atm", "restaurant", "hotel", "providerFacility", "financialProfessional"];
2142
- type LocatorEntityType = (typeof LOCATOR_ENTITY_TYPES)[number];
2143
+ /** Entity type API name, including custom types configured for the locator. */
2144
+ type LocatorEntityType = string;
2143
2145
  declare const DEFAULT_ENTITY_TYPE: LocatorEntityType;
2144
- declare function isLocatorEntityType(value: string): value is LocatorEntityType;
2146
+ /** Eligibility (including address support) is validated by the backend. */
2147
+ declare function isLocatorEntityType(value: unknown): value is LocatorEntityType;
2145
2148
  declare const getLocatorEntityTypeSourceMap: (streamDocument?: StreamDocument) => Partial<Record<LocatorEntityType, string | undefined>>;
2146
2149
  declare const getEntityTypeLabel: (entityType: LocatorEntityType) => string;
2147
2150
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StreamFields, a as StreamDocument, T as TranslationDictionary, b as ThemeConfig, P as ProductPrice, A as AiPageGeneration, Y as YextFieldMap, C as CreateItemSourceOptions, I as ItemSourceInstance, c as TailwindConfig, E as EntityFieldTypes, d as ComponentRegistry, e as TranslatableRichText, M as MsgString, R as RichText, f as ThemeOptions, g as ThemeColor, h as YextComponentConfig, i as YextEntityField, j as CTAVariant, k as TranslatableString, H as HeadingProps, l as HeadingLevel, m as ImageFillType, n as TranslatableAssetImage, o as ImgSizesByBreakpoint, B as BasicSelectorField, p as SlottedItemSourceInstance, L as LocatorEntityType, q as BodyProps, r as MultiSelectorValue, s as StyledTextValue, t as ComprehensiveCTAValue, u as ResolvedComprehensiveCTAValue, v as CTAProps, F as FontRegistry, w as ThemeColorField, x as CTASelectorFieldOverride, y as CodeField, z as ComprehensiveCTAFieldOverride, D as DateTimeSelectorField, G as EntityFieldSelectorFieldOverride, J as MultiSelectorFieldOverride, K as FontSizeSelectorField, N as ImageFieldOverride, O as OptionalField, Q as StyledButtonField, U as StyledButtonValue, V as StyledImageField, W as StyledImageValue, X as StyledLinkField, Z as StyledLinkValue, _ as StyledPageSectionField, $ as StyledPageSectionValue, a0 as StyledTextField, a1 as TranslatableStringField, a2 as VideoField, a3 as AssetVideo, a4 as SectionLibraryTranslationLoaders } from './createYextFieldTransforms-B3f0jVg6.js';
2
- export { a5 as Accordion, a6 as AccordionContent, a7 as AccordionItem, a8 as AccordionTrigger, a9 as AssetImageType, aa as Background, ab as BackgroundProps, ac as BackgroundProvider, ad as BasicSelectorFieldOverride, ae as Body, af as BreadcrumbLink, ag as Button, ah as ButtonProps, ai as CTA, aj as CTASelectorField, ak as CodeFieldOverride, al as ComprehensiveCTAField, am as CreateSlottedItemSourceOptions, an as DateTimeSelectorFieldOverride, ao as DropdownMenu, ap as DropdownMenuContent, aq as DropdownMenuItem, ar as DropdownMenuTrigger, as as EmbeddedFieldStringInputFromEntity, at as EmbeddedFieldStringInputFromOptions, au as EnhancedTranslatableCTA, av as EntityField, aw as EntityFieldSelectorField, ax as EventSectionType, ay as EventStruct, az as FAQSectionType, aA as FAQStruct, aB as FOOD_DELIVERY_SERVICES, aC as FieldGenerationMetadata, aD as Font, aE as FontSizeSelectorFieldOverride, aF as FoodDeliveryServiceType, aG as GenerationPromptBundle, aH as GenerationSettings, aI as Heading, aJ as HeroSectionType, aK as HoursStatusAtom, aL as HoursStatusAtomProps, aM as HoursTableAtom, aN as HoursTableAtomProps, aO as Image, aP as ImageContentData, aQ as ImageField, aR as ImageProps, aS as InsightSectionType, aT as InsightStruct, aU as LayoutGenerationMetadata, aV as LocalizedAssetImage, aW as MaybeLink, aX as MaybeLinkProps, aY as MaybeRTF, aZ as MaybeRTFProps, a_ as MultiSelectorField, a$ as MultiSelectorOption, b0 as MultiSelectorOptionValue, b1 as MultiSelectorOptions, b2 as OptionalFieldContext, b3 as PageSection, b4 as PageSectionProps, b5 as PersonStruct, b6 as PhoneAtom, b7 as PhoneAtomProps, b8 as PresetImageType, b9 as ProductSectionType, ba as ProductStruct, bb as PromoSectionType, bc as RenderYextEntityFieldSelectorProps, bd as ResolvedThemeColor, be as RichTextStyleOverrides, bf as SlottedItemSourceGenerationMetadata, bg as StyledButtonFieldOverride, bh as StyledImageFieldOverride, bi as StyledLinkFieldOverride, bj as StyledPageSectionFieldOverride, bk as StyledTextFieldOverride, bl as TeamSectionType, bm as TemplatePropsContext, bn as TestimonialSectionType, bo as TestimonialStruct, bp as ThemeColorFieldOverride, bq as TimestampAtom, br as TimestampAtomProps, bs as TimestampOption, bt as TranslatableCTA, bu as TranslatableStringFieldOverride, bv as TranslationLoader, bw as TranslationLoaders, bx as VideoAtom, by as VideoAtomProps, bz as VideoFieldOverride, bA as VisibilityWrapper, bB as VisualEditorComponentsContentPath, bC as VisualEditorThemeClassSafelist, bD as YextArrayField, bE as YextAutoField, bF as YextCTAField, bG as YextCustomFieldRenderProps, bH as YextEntityFieldSelector, bI as YextFieldDefinition, bJ as YextFields, bK as YextObjectField, bL as YextPuckField, bM as YextSchemaField, bN as YextSchemaFieldDefinition, bO as YextTransformedProps, bP as backgroundColors, bQ as bindSlots, bR as bodyVariants, bS as buttonVariants, bT as constructFontSelectOptions, bU as createSearchAnalyticsConfig, bV as createSearchHeadlessConfig, bW as createSlottedItemSource, bX as createYextFieldTransforms, bY as deepMerge, bZ as defaultFonts, b_ as defaultThemeTailwindExtensions, b$ as fetchLocalesToPathsForEntity, c0 as generationPromptBundleSchema, c1 as generationSettingsSchema, c2 as getDefaultForegroundColor, c3 as getFontWeightOptions, c4 as getFontWeightOverrideOptions, c5 as getPageMetadata, c6 as getPreferredDistanceUnit, c7 as getSurfaceColorStyle, c8 as getThemeColorCssValue, c9 as getThemeColorHexValue, ca as headingVariants, cb as imgSizesHelper, cc as isDarkColor, cd as isLocalizedAssetImage, ce as mergeMeta, cf as msg, cg as normalizeLink, ch as normalizeSlug, ci as normalizeThemeColorToken, cj as pt, ck as resolveBreadcrumbs, cl as resolveComponentData, cm as resolveDataFromParent, cn as resolveLocalizedAssetImage, co as resolveUrlTemplate, cp as resolveUrlTemplateOfChild, cq as resolveYextEntityField, cr as themeManagerCn, cs as themeManagerTwMergeConfiguration, ct as themeResolver, cu as toKilometers, cv as toPuckFields, cw as useBackground, cx as useDocument, cy as usePlatformTranslation, cz as useTemplateProps } from './createYextFieldTransforms-B3f0jVg6.js';
1
+ import { S as StreamFields, a as StreamDocument, T as TranslationDictionary, b as ThemeConfig, P as ProductPrice, A as AiPageGeneration, Y as YextFieldMap, C as CreateItemSourceOptions, I as ItemSourceInstance, c as TailwindConfig, E as EntityFieldTypes, d as ComponentRegistry, e as TranslatableRichText, M as MsgString, R as RichText, f as ThemeOptions, g as ThemeColor, h as YextComponentConfig, i as YextEntityField, j as CTAVariant, k as TranslatableString, H as HeadingProps, l as HeadingLevel, m as ImageFillType, n as TranslatableAssetImage, o as ImgSizesByBreakpoint, B as BasicSelectorField, p as SlottedItemSourceInstance, L as LocatorEntityType, q as BodyProps, r as MultiSelectorValue, s as StyledTextValue, t as ComprehensiveCTAValue, u as ResolvedComprehensiveCTAValue, v as CTAProps, F as FontRegistry, w as ThemeColorField, x as CTASelectorFieldOverride, y as CodeField, z as ComprehensiveCTAFieldOverride, D as DateTimeSelectorField, G as EntityFieldSelectorFieldOverride, J as MultiSelectorFieldOverride, K as FontSizeSelectorField, N as ImageFieldOverride, O as OptionalField, Q as StyledButtonField, U as StyledButtonValue, V as StyledImageField, W as StyledImageValue, X as StyledLinkField, Z as StyledLinkValue, _ as StyledPageSectionField, $ as StyledPageSectionValue, a0 as StyledTextField, a1 as TranslatableStringField, a2 as VideoField, a3 as AssetVideo, a4 as SectionLibraryTranslationLoaders } from './createYextFieldTransforms-w-U4b5Zf.js';
2
+ export { a5 as Accordion, a6 as AccordionContent, a7 as AccordionItem, a8 as AccordionTrigger, a9 as AssetImageType, aa as Background, ab as BackgroundProps, ac as BackgroundProvider, ad as BasicSelectorFieldOverride, ae as Body, af as BreadcrumbLink, ag as Button, ah as ButtonProps, ai as CTA, aj as CTASelectorField, ak as CodeFieldOverride, al as ComprehensiveCTAField, am as CreateSlottedItemSourceOptions, an as DateTimeSelectorFieldOverride, ao as DropdownMenu, ap as DropdownMenuContent, aq as DropdownMenuItem, ar as DropdownMenuTrigger, as as EmbeddedFieldStringInputFromEntity, at as EmbeddedFieldStringInputFromOptions, au as EnhancedTranslatableCTA, av as EntityField, aw as EntityFieldSelectorField, ax as EventSectionType, ay as EventStruct, az as FAQSectionType, aA as FAQStruct, aB as FOOD_DELIVERY_SERVICES, aC as FieldGenerationMetadata, aD as Font, aE as FontSizeSelectorFieldOverride, aF as FoodDeliveryServiceType, aG as GenerationPromptBundle, aH as GenerationSettings, aI as Heading, aJ as HeroSectionType, aK as HoursStatusAtom, aL as HoursStatusAtomProps, aM as HoursTableAtom, aN as HoursTableAtomProps, aO as Image, aP as ImageContentData, aQ as ImageField, aR as ImageProps, aS as InsightSectionType, aT as InsightStruct, aU as LayoutGenerationMetadata, aV as LocalizedAssetImage, aW as MaybeLink, aX as MaybeLinkProps, aY as MaybeRTF, aZ as MaybeRTFProps, a_ as MultiSelectorField, a$ as MultiSelectorOption, b0 as MultiSelectorOptionValue, b1 as MultiSelectorOptions, b2 as OptionalFieldContext, b3 as PageSection, b4 as PageSectionProps, b5 as PersonStruct, b6 as PhoneAtom, b7 as PhoneAtomProps, b8 as PresetImageType, b9 as ProductSectionType, ba as ProductStruct, bb as PromoSectionType, bc as RenderYextEntityFieldSelectorProps, bd as ResolvedThemeColor, be as RichTextStyleOverrides, bf as SlottedItemSourceGenerationMetadata, bg as StyledButtonFieldOverride, bh as StyledImageFieldOverride, bi as StyledLinkFieldOverride, bj as StyledPageSectionFieldOverride, bk as StyledTextFieldOverride, bl as TeamSectionType, bm as TemplatePropsContext, bn as TestimonialSectionType, bo as TestimonialStruct, bp as ThemeColorFieldOverride, bq as TimestampAtom, br as TimestampAtomProps, bs as TimestampOption, bt as TranslatableCTA, bu as TranslatableStringFieldOverride, bv as TranslationLoader, bw as TranslationLoaders, bx as VideoAtom, by as VideoAtomProps, bz as VideoFieldOverride, bA as VisibilityWrapper, bB as VisualEditorComponentsContentPath, bC as VisualEditorThemeClassSafelist, bD as YextArrayField, bE as YextAutoField, bF as YextCTAField, bG as YextCustomFieldRenderProps, bH as YextEntityFieldSelector, bI as YextFieldDefinition, bJ as YextFields, bK as YextObjectField, bL as YextPuckField, bM as YextSchemaField, bN as YextSchemaFieldDefinition, bO as YextTransformedProps, bP as backgroundColors, bQ as bindSlots, bR as bodyVariants, bS as buttonVariants, bT as constructFontSelectOptions, bU as createSearchAnalyticsConfig, bV as createSearchHeadlessConfig, bW as createSlottedItemSource, bX as createYextFieldTransforms, bY as deepMerge, bZ as defaultFonts, b_ as defaultThemeTailwindExtensions, b$ as fetchLocalesToPathsForEntity, c0 as generationPromptBundleSchema, c1 as generationSettingsSchema, c2 as getDefaultForegroundColor, c3 as getFontWeightOptions, c4 as getFontWeightOverrideOptions, c5 as getPageMetadata, c6 as getPreferredDistanceUnit, c7 as getSurfaceColorStyle, c8 as getThemeColorCssValue, c9 as getThemeColorHexValue, ca as headingVariants, cb as imgSizesHelper, cc as isDarkColor, cd as isLocalizedAssetImage, ce as mergeMeta, cf as msg, cg as normalizeLink, ch as normalizeSlug, ci as normalizeThemeColorToken, cj as pt, ck as resolveBreadcrumbs, cl as resolveComponentData, cm as resolveDataFromParent, cn as resolveLocalizedAssetImage, co as resolveUrlTemplate, cp as resolveUrlTemplateOfChild, cq as resolveYextEntityField, cr as themeManagerCn, cs as themeManagerTwMergeConfiguration, ct as themeResolver, cu as toKilometers, cv as toPuckFields, cw as useBackground, cx as useDocument, cy as usePlatformTranslation, cz as useTemplateProps } from './createYextFieldTransforms-w-U4b5Zf.js';
3
3
  import * as React$1 from 'react';
4
4
  import React__default from 'react';
5
5
  import * as _puckeditor_core from '@puckeditor/core';
@@ -651,6 +651,11 @@ declare const DirectoryList: ({ streamDocument, directoryChildren, relativePrefi
651
651
  }) => React__default.JSX.Element;
652
652
  declare const DirectoryGrid: YextComponentConfig<DirectoryGridProps>;
653
653
 
654
+ declare const BROWSER_LANGUAGE = "browserLanguage";
655
+ declare const DISTANCE_UNITS: readonly ["mile", "kilometer"];
656
+ type DistanceUnit = (typeof DISTANCE_UNITS)[number];
657
+ type DefaultDistanceUnit = DistanceUnit | typeof BROWSER_LANGUAGE;
658
+
654
659
  interface LocatorResultCardProps {
655
660
  /** The entity type this result card applies to. */
656
661
  entityType: LocatorEntityType;
@@ -835,15 +840,22 @@ interface Location {
835
840
  ref_listings?: ListingType[];
836
841
  [key: string]: any;
837
842
  }
838
- declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, distanceDisplay, searchLocationName, isSelected, }: {
843
+ declare const LocatorResultCard: React__default.MemoExoticComponent<({ result, resultCardProps: props, distanceDisplay, distanceUnit, searchLocationName, isSelected, }: {
839
844
  result: CardProps<Location>["result"];
840
845
  resultCardProps: LocatorResultCardProps;
841
846
  distanceDisplay?: DistanceDisplayOption;
847
+ distanceUnit?: DistanceUnit;
842
848
  searchLocationName?: string;
843
849
  isSelected?: boolean;
844
850
  }) => React__default.JSX.Element>;
845
851
 
846
852
  interface LocatorProps {
853
+ /**
854
+ * Search the visible map area 500 ms after the user stops a pan or zoom.
855
+ * If enabled, hide the Search This Area button.
856
+ * @defaultValue false
857
+ */
858
+ autoSearchOnMapMove?: boolean;
847
859
  /**
848
860
  * The visual theme for the map tiles, chosen from a predefined list of Mapbox styles.
849
861
  * @defaultValue 'mapbox://styles/mapbox/streets-v12'
@@ -899,7 +911,7 @@ interface LocatorProps {
899
911
  };
900
912
  /**
901
913
  * The default radius for nearby-location searches. Leave unset to use Search's
902
- * suggested radius, or 25 in the locale's preferred unit for coordinate searches.
914
+ * suggested radius, or 25 in the configured default distance unit for coordinate searches.
903
915
  * Visitor-selected distances and explicit map/URL search areas take precedence.
904
916
  * Geographic boundary filters are unaffected.
905
917
  */
@@ -936,6 +948,10 @@ interface LocatorProps {
936
948
  /** Props to customize the locator result card component. */
937
949
  props: LocatorResultCardProps;
938
950
  }>;
951
+ /** Whether visitors can switch the locator between miles and kilometers. */
952
+ showDistanceUnitToggle?: boolean;
953
+ /** Unit used before a visitor selects one. Defaults to the page language. */
954
+ defaultDistanceUnit?: DefaultDistanceUnit;
939
955
  /** Controls which distance value to display on each locator result card. */
940
956
  distanceDisplay?: DistanceDisplayOption;
941
957
  }
@@ -113,6 +113,7 @@
113
113
  "align": "Zarovnat",
114
114
  "analytics": "Analytika",
115
115
  "ariaLabel": "Značka Aria",
116
+ "autoSearchOnMapMove": "Automaticky hledat při pohybu na mapě",
116
117
  "backgroundColor": "Barva pozadí",
117
118
  "buttonStyles": "Styly tlačítek",
118
119
  "buttonText": "Text tlačítka",
@@ -132,6 +133,7 @@
132
133
  "data": "Data",
133
134
  "dataAttributes": "Atributy dat",
134
135
  "dayOfWeekFormat": "Formát dne týdne",
136
+ "defaultDistanceUnit": "Výchozí jednotka vzdálenosti",
135
137
  "defaultSearchRadius": "Výchozí poloměr vyhledávání",
136
138
  "directoryListBackgroundColor": "Barva pozadí seznamu adresářů",
137
139
  "directoryRootLinkLabel": "Štítek kořenového odkazu na adresář",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Báze",
181
183
  "bothDistances": "Obě vzdálenosti",
182
184
  "bottom_direction": "Dole",
185
+ "browserLanguage": "Jazyk prohlížeče",
183
186
  "button": "Tlačítko",
184
187
  "center": "Centrum",
185
188
  "center_direction": "Centrum",
@@ -247,6 +250,7 @@
247
250
  "international": "Mezinárodní",
248
251
  "international_phone number": "Mezinárodní",
249
252
  "italic": "Kurzíva",
253
+ "kilometers": "Kilometry (km)",
250
254
  "large_text size": "Velká",
251
255
  "left": "Vlevo",
252
256
  "left_direction": "Vlevo",
@@ -255,6 +259,7 @@
255
259
  "long": "Dlouho",
256
260
  "mapStartingLocation": "Počáteční umístění mapy",
257
261
  "matchOtherSections": "Porovnejte jiné sekce ({{value}})",
262
+ "miles": "Míle (mi)",
258
263
  "monday": "pondělí",
259
264
  "navigationDay": "Navigace (den)",
260
265
  "navigationNight": "Navigace (noc)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Zobrazit štítek odkazu aktuální stránky",
304
309
  "showCurrentStatus": "Zobrazit aktuální stav",
305
310
  "showDayNames": "Zobrazit jména denních",
311
+ "showDistanceUnitToggle": "Zobrazit přepínač jednotek vzdálenosti",
306
312
  "showGetDirectionsLink": "Zobrazit odkaz",
307
313
  "showHoursStatus": "Zobrazit stav hodin",
308
314
  "showIcon": "Zobrazit ikonu",
@@ -113,6 +113,7 @@
113
113
  "align": "Juster",
114
114
  "analytics": "Analyser",
115
115
  "ariaLabel": "Aria Label",
116
+ "autoSearchOnMapMove": "Søg automatisk på kortbevægelse",
116
117
  "backgroundColor": "Baggrundsfarve",
117
118
  "buttonStyles": "Knapstile",
118
119
  "buttonText": "Knaptekst",
@@ -132,6 +133,7 @@
132
133
  "data": "Data",
133
134
  "dataAttributes": "Dataattributter",
134
135
  "dayOfWeekFormat": "Ugeformat",
136
+ "defaultDistanceUnit": "Standardenhed for afstand",
135
137
  "defaultSearchRadius": "Standardradius for søgning",
136
138
  "directoryListBackgroundColor": "Directory List Baggrundsfarve",
137
139
  "directoryRootLinkLabel": "Directory Root Link Label",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Basis",
181
183
  "bothDistances": "Begge afstande",
182
184
  "bottom_direction": "Nederst",
185
+ "browserLanguage": "Browsersprog",
183
186
  "button": "Knap",
184
187
  "center": "Centrum",
185
188
  "center_direction": "Center",
@@ -247,6 +250,7 @@
247
250
  "international": "International",
248
251
  "international_phone number": "International",
249
252
  "italic": "Kursiv",
253
+ "kilometers": "Kilometer (km)",
250
254
  "large_text size": "Stor",
251
255
  "left": "Venstre",
252
256
  "left_direction": "Venstre",
@@ -255,6 +259,7 @@
255
259
  "long": "Lang",
256
260
  "mapStartingLocation": "Kortstartplacering",
257
261
  "matchOtherSections": "Match andre sektioner ({{value}})",
262
+ "miles": "Mil (mi)",
258
263
  "monday": "mandag",
259
264
  "navigationDay": "Navigation (dag)",
260
265
  "navigationNight": "Navigation (nat)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Vis den aktuelle sides linketiket",
304
309
  "showCurrentStatus": "Vis den aktuelle status",
305
310
  "showDayNames": "Vis dagnavne",
311
+ "showDistanceUnitToggle": "Vis knap til skift af afstandsenhed",
306
312
  "showGetDirectionsLink": "Vis Get Reties Link",
307
313
  "showHoursStatus": "Vis åbningstidsstatus",
308
314
  "showIcon": "Vis ikon",
@@ -113,6 +113,7 @@
113
113
  "align": "Ausrichten",
114
114
  "analytics": "Analytics",
115
115
  "ariaLabel": "Aria-Label",
116
+ "autoSearchOnMapMove": "Automatische Suche nach Kartenbewegung",
116
117
  "backgroundColor": "Hintergrundfarbe",
117
118
  "buttonStyles": "Schaltflächenstile",
118
119
  "buttonText": "Schaltflächentext",
@@ -132,6 +133,7 @@
132
133
  "data": "Daten",
133
134
  "dataAttributes": "Datenattribute",
134
135
  "dayOfWeekFormat": "Wochentagsformat",
136
+ "defaultDistanceUnit": "Standardentfernungseinheit",
135
137
  "defaultSearchRadius": "Standardsuchradius",
136
138
  "directoryListBackgroundColor": "Hintergrundfarbe der Verzeichnisliste",
137
139
  "directoryRootLinkLabel": "Link-Label für Directory-Root",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Base",
181
183
  "bothDistances": "Beide Entfernungen",
182
184
  "bottom_direction": "Unten",
185
+ "browserLanguage": "Browsersprache",
183
186
  "button": "Taste",
184
187
  "center": "Mittig",
185
188
  "center_direction": "Mittig",
@@ -247,6 +250,7 @@
247
250
  "international": "International",
248
251
  "international_phone number": "Internationale Rufnummer",
249
252
  "italic": "Kursiv",
253
+ "kilometers": "Kilometer (km)",
250
254
  "large_text size": "Groß",
251
255
  "left": "Links",
252
256
  "left_direction": "Links",
@@ -255,6 +259,7 @@
255
259
  "long": "Lang",
256
260
  "mapStartingLocation": "Karten-Startpunkt",
257
261
  "matchOtherSections": "An andere Module anpassen ({{value}})",
262
+ "miles": "Meilen (mi)",
258
263
  "monday": "Montag",
259
264
  "navigationDay": "Navigation (Tag)",
260
265
  "navigationNight": "Navigation (Nacht)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Linkbezeichnung der aktuellen Seite anzeigen",
304
309
  "showCurrentStatus": "Aktuellen Status anzeigen",
305
310
  "showDayNames": "Wochentage zeigen",
311
+ "showDistanceUnitToggle": "Umschalter für Entfernungseinheiten anzeigen",
306
312
  "showGetDirectionsLink": "Routenplaner-Link anzeigen",
307
313
  "showHoursStatus": "Stundenstatus anzeigen",
308
314
  "showIcon": "Symbol anzeigen",
@@ -113,6 +113,7 @@
113
113
  "align": "Align",
114
114
  "analytics": "Analytics",
115
115
  "ariaLabel": "Aria Label",
116
+ "autoSearchOnMapMove": "Automatically Search on Map Movement",
116
117
  "backgroundColor": "Background Color",
117
118
  "buttonStyles": "Button Styles",
118
119
  "buttonText": "Button Text",
@@ -132,6 +133,7 @@
132
133
  "data": "Data",
133
134
  "dataAttributes": "Data Attributes",
134
135
  "dayOfWeekFormat": "Day of Week Format",
136
+ "defaultDistanceUnit": "Default Distance Unit",
135
137
  "defaultSearchRadius": "Default Search Radius",
136
138
  "directoryListBackgroundColor": "Directory List Background Color",
137
139
  "directoryRootLinkLabel": "Directory Root Link Label",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Base",
181
183
  "bothDistances": "Both Distances",
182
184
  "bottom_direction": "Bottom",
185
+ "browserLanguage": "Browser language",
183
186
  "button": "Button",
184
187
  "center": "Center",
185
188
  "center_direction": "Center",
@@ -247,6 +250,7 @@
247
250
  "international": "International",
248
251
  "international_phone number": "International",
249
252
  "italic": "Italic",
253
+ "kilometers": "Kilometers (km)",
250
254
  "large_text size": "Large",
251
255
  "left": "Left",
252
256
  "left_direction": "Left",
@@ -255,6 +259,7 @@
255
259
  "long": "Long",
256
260
  "mapStartingLocation": "Map Starting Location",
257
261
  "matchOtherSections": "Match Other Sections ({{value}})",
262
+ "miles": "Miles (mi)",
258
263
  "monday": "Monday",
259
264
  "navigationDay": "Navigation (Day)",
260
265
  "navigationNight": "Navigation (Night)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Show Current Page's Link Label",
304
309
  "showCurrentStatus": "Show Current Status",
305
310
  "showDayNames": "Show Day Names",
311
+ "showDistanceUnitToggle": "Show Distance Unit Toggle",
306
312
  "showGetDirectionsLink": "Show Get Directions Link",
307
313
  "showHoursStatus": "Show Hours Status",
308
314
  "showIcon": "Show Icon",
@@ -113,6 +113,7 @@
113
113
  "align": "Align",
114
114
  "analytics": "Analytics",
115
115
  "ariaLabel": "Aria Label",
116
+ "autoSearchOnMapMove": "Automatically Search on Map Movement",
116
117
  "backgroundColor": "Background Color",
117
118
  "buttonStyles": "Button Styles",
118
119
  "buttonText": "Button Text",
@@ -132,6 +133,7 @@
132
133
  "data": "Data",
133
134
  "dataAttributes": "Data Attributes",
134
135
  "dayOfWeekFormat": "Day of Week Format",
136
+ "defaultDistanceUnit": "Default Distance Unit",
135
137
  "defaultSearchRadius": "Default Search Radius",
136
138
  "directoryListBackgroundColor": "Directory List Background Color",
137
139
  "directoryRootLinkLabel": "Directory Root Link Label",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Base",
181
183
  "bothDistances": "Both Distances",
182
184
  "bottom_direction": "Bottom",
185
+ "browserLanguage": "Browser language",
183
186
  "button": "Button",
184
187
  "center": "Center",
185
188
  "center_direction": "Center",
@@ -247,6 +250,7 @@
247
250
  "international": "International",
248
251
  "international_phone number": "International",
249
252
  "italic": "Italic",
253
+ "kilometers": "Kilometres (km)",
250
254
  "large_text size": "Large",
251
255
  "left": "Left",
252
256
  "left_direction": "Left",
@@ -255,6 +259,7 @@
255
259
  "long": "Long",
256
260
  "mapStartingLocation": "Map Starting Location",
257
261
  "matchOtherSections": "Match Other Sections ({{value}})",
262
+ "miles": "Miles (mi)",
258
263
  "monday": "Monday",
259
264
  "navigationDay": "Navigation (Day)",
260
265
  "navigationNight": "Navigation (Night)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Show Current Page's Link Label",
304
309
  "showCurrentStatus": "Show Current Status",
305
310
  "showDayNames": "Show Day Names",
311
+ "showDistanceUnitToggle": "Show Distance Unit Toggle",
306
312
  "showGetDirectionsLink": "Show Get Directions Link",
307
313
  "showHoursStatus": "Show Hours Status",
308
314
  "showIcon": "Show Icon",
@@ -113,6 +113,7 @@
113
113
  "align": "Alinear",
114
114
  "analytics": "Analítica",
115
115
  "ariaLabel": "Etiqueta Aria",
116
+ "autoSearchOnMapMove": "Buscar automáticamente en el movimiento del mapa",
116
117
  "backgroundColor": "Color de fondo",
117
118
  "buttonStyles": "Estilos de botones",
118
119
  "buttonText": "Texto del botón",
@@ -132,6 +133,7 @@
132
133
  "data": "Datos",
133
134
  "dataAttributes": "Atributos de datos",
134
135
  "dayOfWeekFormat": "Formato de día de semana",
136
+ "defaultDistanceUnit": "Unidad de distancia predeterminada",
135
137
  "defaultSearchRadius": "Radio de búsqueda predeterminado",
136
138
  "directoryListBackgroundColor": "Color de fondo de la lista de directorios",
137
139
  "directoryRootLinkLabel": "Etiqueta de enlace de raíz del directorio",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Base",
181
183
  "bothDistances": "Ambas distancias",
182
184
  "bottom_direction": "Abajo",
185
+ "browserLanguage": "Idioma del navegador",
183
186
  "button": "Botón",
184
187
  "center": "Centro",
185
188
  "center_direction": "Centro",
@@ -247,6 +250,7 @@
247
250
  "international": "Internacional",
248
251
  "international_phone number": "Internacional",
249
252
  "italic": "Cursiva",
253
+ "kilometers": "Kilómetros (km)",
250
254
  "large_text size": "Grande",
251
255
  "left": "Izquierda",
252
256
  "left_direction": "Izquierda",
@@ -255,6 +259,7 @@
255
259
  "long": "Largo",
256
260
  "mapStartingLocation": "Ubicación de inicio del mapa",
257
261
  "matchOtherSections": "Haga coincidir otras secciones ({{value}})",
262
+ "miles": "Millas (mi)",
258
263
  "monday": "Lunes",
259
264
  "navigationDay": "Navegación (día)",
260
265
  "navigationNight": "Navegación (noche)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Mostrar la etiqueta del enlace de la página actual",
304
309
  "showCurrentStatus": "Mostrar el estado actual",
305
310
  "showDayNames": "Mostrar nombres de día",
311
+ "showDistanceUnitToggle": "Mostrar selector de unidades de distancia",
306
312
  "showGetDirectionsLink": "Mostrar enlace de instrucciones",
307
313
  "showHoursStatus": "Mostrar estado de horas",
308
314
  "showIcon": "Mostrar icono",
@@ -113,6 +113,7 @@
113
113
  "align": "Joonda",
114
114
  "analytics": "Analüütika",
115
115
  "ariaLabel": "Aria silt",
116
+ "autoSearchOnMapMove": "Otsige automaatselt kaardil liikumist",
116
117
  "backgroundColor": "Taustvärv",
117
118
  "buttonStyles": "Nuppude stiilid",
118
119
  "buttonText": "Nupu tekst",
@@ -132,6 +133,7 @@
132
133
  "data": "Andmed",
133
134
  "dataAttributes": "Andmete atribuudid",
134
135
  "dayOfWeekFormat": "Nädalapäeva vorming",
136
+ "defaultDistanceUnit": "Vaikimisi kaugusühik",
135
137
  "defaultSearchRadius": "Otsingu vaikeraadius",
136
138
  "directoryListBackgroundColor": "Kataloogiloendi taustavärv",
137
139
  "directoryRootLinkLabel": "Kataloogi juurte lingi silt",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Alus",
181
183
  "bothDistances": "Mõlemad vahemaad",
182
184
  "bottom_direction": "Alumine",
185
+ "browserLanguage": "Brauseri keel",
183
186
  "button": "Nupp",
184
187
  "center": "Keskpunkt",
185
188
  "center_direction": "Keskus",
@@ -247,6 +250,7 @@
247
250
  "international": "Rahvusvaheline",
248
251
  "international_phone number": "Rahvusvaheline",
249
252
  "italic": "Kursiiv",
253
+ "kilometers": "Kilomeetrid (km)",
250
254
  "large_text size": "Suur",
251
255
  "left": "Vasakul",
252
256
  "left_direction": "Vasakule",
@@ -255,6 +259,7 @@
255
259
  "long": "Pikk",
256
260
  "mapStartingLocation": "Kaardi algusasukoht",
257
261
  "matchOtherSections": "Sobitada teisi sektsioone ({{value}})",
262
+ "miles": "Miilid (mi)",
258
263
  "monday": "Esmaspäev",
259
264
  "navigationDay": "Navigeerimine (päev)",
260
265
  "navigationNight": "Navigeerimine (öö)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Näita praeguse lehe lingi silti",
304
309
  "showCurrentStatus": "Kuva praegune olek",
305
310
  "showDayNames": "Näita päevanimesid",
311
+ "showDistanceUnitToggle": "Kuva kaugusühiku lüliti",
306
312
  "showGetDirectionsLink": "Näita hankige juhiseid link",
307
313
  "showHoursStatus": "Näita lahtiolekuaegade olekut",
308
314
  "showIcon": "Näita ikooni",
@@ -113,6 +113,7 @@
113
113
  "align": "Kohdista",
114
114
  "analytics": "Analytiikka",
115
115
  "ariaLabel": "Aria-merkki",
116
+ "autoSearchOnMapMove": "Hae automaattisesti kartan liikkeestä",
116
117
  "backgroundColor": "Taustaväri",
117
118
  "buttonStyles": "Painikkeiden tyylit",
118
119
  "buttonText": "Painikkeen teksti",
@@ -132,6 +133,7 @@
132
133
  "data": "Tiedot",
133
134
  "dataAttributes": "Tietojen attribuutit",
134
135
  "dayOfWeekFormat": "Viikonpäivän muoto",
136
+ "defaultDistanceUnit": "Oletusetäisyysyksikkö",
135
137
  "defaultSearchRadius": "Haun oletussäde",
136
138
  "directoryListBackgroundColor": "Hakemistoluettelon taustaväri",
137
139
  "directoryRootLinkLabel": "Hakemistojuurilinkin tarra",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Pohja",
181
183
  "bothDistances": "Molemmat etäisyydet",
182
184
  "bottom_direction": "Pohja",
185
+ "browserLanguage": "Selaimen kieli",
183
186
  "button": "Painike",
184
187
  "center": "Keskusta",
185
188
  "center_direction": "Keskusta",
@@ -247,6 +250,7 @@
247
250
  "international": "Kansainvälinen",
248
251
  "international_phone number": "Kansainvälinen",
249
252
  "italic": "Kursiivi",
253
+ "kilometers": "Kilometrit (km)",
250
254
  "large_text size": "Suuri",
251
255
  "left": "Vasen",
252
256
  "left_direction": "Vasen",
@@ -255,6 +259,7 @@
255
259
  "long": "Pitkä",
256
260
  "mapStartingLocation": "Kartan lähtöpaikka",
257
261
  "matchOtherSections": "Vastaa muita osia ({{value}})",
262
+ "miles": "Mailit (mi)",
258
263
  "monday": "maanantai",
259
264
  "navigationDay": "Navigointi (päivä)",
260
265
  "navigationNight": "Navigointi (yö)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Näytä nykyisen sivun linkkitunniste",
304
309
  "showCurrentStatus": "Näytä nykyinen tila",
305
310
  "showDayNames": "Näytä päivänimet",
311
+ "showDistanceUnitToggle": "Näytä etäisyysyksikön vaihtokytkin",
306
312
  "showGetDirectionsLink": "Näytä get directions -linkki",
307
313
  "showHoursStatus": "Näytä aukioloaikojen tila",
308
314
  "showIcon": "Näytä kuvake",
@@ -113,6 +113,7 @@
113
113
  "align": "Aligner",
114
114
  "analytics": "Analytique",
115
115
  "ariaLabel": "Étiquette Aria",
116
+ "autoSearchOnMapMove": "Recherche automatique sur le mouvement de la carte",
116
117
  "backgroundColor": "Couleur de fond",
117
118
  "buttonStyles": "Styles de boutons",
118
119
  "buttonText": "Texte du bouton",
@@ -132,6 +133,7 @@
132
133
  "data": "Données",
133
134
  "dataAttributes": "Attributs des données",
134
135
  "dayOfWeekFormat": "Format du jour de la semaine",
136
+ "defaultDistanceUnit": "Unité de distance par défaut",
135
137
  "defaultSearchRadius": "Rayon de recherche par défaut",
136
138
  "directoryListBackgroundColor": "Couleur d’arrière-plan de la liste des répertoires",
137
139
  "directoryRootLinkLabel": "Étiquette du lien racine du répertoire",
@@ -180,6 +182,7 @@
180
182
  "base_text size": "Base",
181
183
  "bothDistances": "Les deux distances",
182
184
  "bottom_direction": "Bas",
185
+ "browserLanguage": "Langue du navigateur",
183
186
  "button": "Bouton",
184
187
  "center": "Centre",
185
188
  "center_direction": "Centre",
@@ -247,6 +250,7 @@
247
250
  "international": "International",
248
251
  "international_phone number": "International",
249
252
  "italic": "Italique",
253
+ "kilometers": "Kilomètres (km)",
250
254
  "large_text size": "Grand",
251
255
  "left": "Gauche",
252
256
  "left_direction": "Gauche",
@@ -255,6 +259,7 @@
255
259
  "long": "Long",
256
260
  "mapStartingLocation": "Emplacement de départ de la carte",
257
261
  "matchOtherSections": "Faire correspondre d'autres sections ({{value}})",
262
+ "miles": "Miles (mi)",
258
263
  "monday": "Lundi",
259
264
  "navigationDay": "Navigation (jour)",
260
265
  "navigationNight": "Navigation (nuit)",
@@ -303,6 +308,7 @@
303
308
  "showCurrentPagesLinkLabel": "Afficher l'étiquette du lien de la page actuelle",
304
309
  "showCurrentStatus": "Afficher l'état actuel",
305
310
  "showDayNames": "Noms de la journée de show",
311
+ "showDistanceUnitToggle": "Afficher le sélecteur d’unité de distance",
306
312
  "showGetDirectionsLink": "Afficher le lien des instructions",
307
313
  "showHoursStatus": "Afficher le statut des heures",
308
314
  "showIcon": "Afficher l'icône",