@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
@@ -10,12 +10,12 @@ const e = {
10
10
  }, l = "{{serviceName}} で調べてみる", d = "{{serviceName}} でダウンロード", p = "{{serviceName}} で利用可能", u = "{{serviceName}} で入手", m = "ATM", h = "戻る", g = "ベース", y = "利用可能なオプションはありません", b = "体", f = "パンくずリスト", T = "{{presetImageType}}アイコン付きボタン", L = "行動喚起", C = "キャンセル", k = {
11
11
  other: "他の",
12
12
  standardSections: "標準セクション"
13
- }, S = "変化", v = "画像を選択します", A = "ビデオを選択してください", P = "すべてクリア", _ = "閉じる", F = "閉店", w = "{{time}}に閉まります", D = "{{time}} {{dayOfWeek}} に閉店", I = {
13
+ }, S = "変化", v = "画像を選択します", A = "ビデオを選択してください", P = "すべてクリア", _ = "閉じる", w = "閉店", F = "{{time}}に閉まります", D = "{{time}} {{dayOfWeek}} に閉店", I = {
14
14
  open: "カラーピッカーを開く"
15
- }, x = "近日公開", W = {
15
+ }, x = "近日公開", M = {
16
16
  error: "エラー",
17
17
  message: "このセクションをレンダリングできません。コンポーネント ライブラリを更新してみてください。"
18
- }, M = {
18
+ }, W = {
19
19
  address: "住所",
20
20
  breadcrumbs: "パン粉",
21
21
  components: "コンポーネント",
@@ -48,6 +48,7 @@ const e = {
48
48
  align: "整列",
49
49
  analytics: "分析",
50
50
  ariaLabel: "アリアレーベル",
51
+ autoSearchOnMapMove: "地図移動時に自動検索",
51
52
  backgroundColor: "背景色",
52
53
  buttonStyles: "ボタンのスタイル",
53
54
  buttonText: "ボタンのテキスト",
@@ -67,6 +68,7 @@ const e = {
67
68
  data: "データ",
68
69
  dataAttributes: "データの属性",
69
70
  dayOfWeekFormat: "曜日の形式",
71
+ defaultDistanceUnit: "既定の距離単位",
70
72
  defaultSearchRadius: "デフォルトの検索半径",
71
73
  directoryListBackgroundColor: "ディレクトリリストの背景色",
72
74
  directoryRootLinkLabel: "ディレクトリルートリンクラベル",
@@ -115,6 +117,7 @@ const e = {
115
117
  "base_text size": "ベース",
116
118
  bothDistances: "両方の距離",
117
119
  bottom_direction: "下",
120
+ browserLanguage: "ブラウザーの言語",
118
121
  button: "ボタン",
119
122
  center: "中心",
120
123
  center_direction: "センター",
@@ -182,6 +185,7 @@ const e = {
182
185
  international: "国際的",
183
186
  "international_phone number": "International",
184
187
  italic: "イタリック",
188
+ kilometers: "キロメートル(km)",
185
189
  "large_text size": "大",
186
190
  left: "左",
187
191
  left_direction: "左",
@@ -190,6 +194,7 @@ const e = {
190
194
  long: "長さ",
191
195
  mapStartingLocation: "場所の開始場所",
192
196
  matchOtherSections: "他のセクションを一致させる({{value}})",
197
+ miles: "マイル(mi)",
193
198
  monday: "月曜日",
194
199
  navigationDay: "ナビゲーション(日)",
195
200
  navigationNight: "ナビゲーション(夜)",
@@ -238,6 +243,7 @@ const e = {
238
243
  showCurrentPagesLinkLabel: "現在のページのリンクラベルを表示",
239
244
  showCurrentStatus: "現在のステータスを表示します",
240
245
  showDayNames: "日名を表示します",
246
+ showDistanceUnitToggle: "距離単位の切り替えを表示",
241
247
  showGetDirectionsLink: "表示する方向リンクを表示します",
242
248
  showHoursStatus: "営業時間のステータスを表示",
243
249
  showIcon: "アイコンを表示",
@@ -261,7 +267,7 @@ const e = {
261
267
  choose: "フォントを選択します",
262
268
  notFound: "フォントは見つかりません。",
263
269
  search: "フォントを検索..."
264
- }, me = "フォントサイズ", he = "金曜日", ge = "道順を取得します", ye = "{{address}} への行き方を調べる", be = "見出し", fe = "医療施設", Te = "医療従事者", Le = "ラベルを非表示にします", Ce = "ホテル", ke = "時間", Se = "時間テキスト", ve = "画像", Ae = "データは親セクションから継承されます。", Pe = "洞察力", _e = "アイテム", Fe = "リスト要素は、次のマッピング要件を満たせることが望まれます。", we = "キロメートル", De = "キロメートル", Ie = "キロメートル", xe = "ナレッジグラフコンテンツ", We = {
270
+ }, me = "フォントサイズ", he = "金曜日", ge = "道順を取得します", ye = "{{address}} への行き方を調べる", be = "見出し", fe = "医療施設", Te = "医療従事者", Le = "ラベルを非表示にします", Ce = "ホテル", ke = "時間", Se = "時間テキスト", ve = "画像", Ae = "データは親セクションから継承されます。", Pe = "洞察力", _e = "アイテム", we = "リスト要素は、次のマッピング要件を満たせることが望まれます。", Fe = "キロメートル", De = "キロメートル", Ie = "キロメートル", xe = "ナレッジグラフコンテンツ", Me = {
265
271
  applicationStopped: "変更が適用される前にキャンセルされました",
266
272
  appliedSuccessfully: "正常に適用されました。",
267
273
  applyingLayout: "レイアウトを適用中…",
@@ -366,7 +372,7 @@ const e = {
366
372
  updateSection: "このセクションを更新します。",
367
373
  waitingForDecision: "セクションの計画を待機中",
368
374
  you: "あなた"
369
- }, Me = "リンクされたエンティティフィールド", Ee = "{{linkedField}} には、複数のリンクされたエンティティが含まれています。最初のものを {{resolvedField}} に使用します。", Ne = "各カードのタイトル リンクにはカスタム URL パスを使用します。値が空の場合は、生成されたディレクトリ URL が使用されます。", Oe = {
375
+ }, We = "リンクされたエンティティフィールド", Ee = "{{linkedField}} には、複数のリンクされたエンティティが含まれています。最初のものを {{resolvedField}} に使用します。", Ne = "各カードのタイトル リンクにはカスタム URL パスを使用します。値が空の場合は、生成されたディレクトリ URL が使用されます。", Oe = {
370
376
  clickToWebsite: "Webサイトをクリックしてください",
371
377
  drivingDirections: "運転方向",
372
378
  email: "メール",
@@ -381,7 +387,7 @@ const e = {
381
387
  components: "エラーのあるセクションを削除または修正する",
382
388
  metaTitle: "最上位のページコンポーネントの設定に移動して、すべてのロケールのメタタイトルを入力します。",
383
389
  metaTitleWithLocales: "最上位のページ コンポーネントの設定に移動して、次のロケールのメタ タイトルを入力します: {{locales}}"
384
- }, Lt = "推奨", Ct = "おすすめカラー", kt = "推奨される色", St = "やり直します", vt = "検索を絞り込む", At = "日付を再開します", Pt = "公開するには、エディターで強調表示されたエラーを解決してください", _t = "レストラン", Ft = "土曜日", wt = "スキーママークアップ", Dt = "スキーマモード", It = "検索", xt = "ここで検索してください...", Wt = "このエリアを検索します", Mt = "セクション", Et = "オプションを選択します", Nt = "より短い距離を選択してください", Ot = "サービス", Rt = "ラベルを表示します", Ht = "さらに多くの場所を表示", Gt = "ピン {{number}} の詳細を表示", zt = "ピンの詳細を表示", Ut = "サイトの色", qt = {
390
+ }, Lt = "推奨", Ct = "おすすめカラー", kt = "推奨される色", St = "やり直します", vt = "検索を絞り込む", At = "日付を再開します", Pt = "公開するには、エディターで強調表示されたエラーを解決してください", _t = "レストラン", wt = "土曜日", Ft = "スキーママークアップ", Dt = "スキーマモード", It = "検索", xt = "ここで検索してください...", Mt = "このエリアを検索します", Wt = "セクション", Et = "オプションを選択します", Nt = "より短い距離を選択してください", Ot = "サービス", Rt = "ラベルを表示します", Ht = "さらに多くの場所を表示", Gt = "ピン {{number}} の詳細を表示", zt = "ピンの詳細を表示", Ut = "サイトの色", qt = {
385
391
  directoryCard: "ディレクトリカード"
386
392
  }, Bt = "デフォルト", Vt = "静的コンテンツ", Yt = "YEXT_MAPBOX_API_KEY のロードに失敗しました。サイトの詳細設定を確認してください。", Kt = "すべての場所で非表示のセクション", Xt = "日曜日", jt = "チームメンバー", Jt = "一時休業中", Qt = "お客様の声", Zt = "文章", $t = {
387
393
  bg: {
@@ -476,13 +482,13 @@ const e = {
476
482
  chooseVideo: A,
477
483
  clearAll: P,
478
484
  close: _,
479
- closed: F,
480
- closesAtTime: w,
485
+ closed: w,
486
+ closesAtTime: F,
481
487
  closesAtTimeWeek: D,
482
488
  colorPicker: I,
483
489
  comingSoon: x,
484
- componentErrorBoundary: W,
485
- components: M,
490
+ componentErrorBoundary: M,
491
+ components: W,
486
492
  confirm: E,
487
493
  coordinate: N,
488
494
  copyLayout: O,
@@ -532,13 +538,13 @@ const e = {
532
538
  inheritedDataMsg: Ae,
533
539
  insight: Pe,
534
540
  item: _e,
535
- itemSourceParentFieldTooltip: Fe,
536
- kilometer_zero: we,
541
+ itemSourceParentFieldTooltip: we,
542
+ kilometer_zero: Fe,
537
543
  kilometer_one: De,
538
544
  kilometer_other: Ie,
539
545
  knowledgeGraphContent: xe,
540
- layoutGenerationChat: We,
541
- linkedEntityFields: Me,
546
+ layoutGenerationChat: Me,
547
+ linkedEntityFields: We,
542
548
  linkedEntityMultiValueWarning: Ee,
543
549
  linkOverrideDirectoryTooltip: Ne,
544
550
  linkTypes: Oe,
@@ -586,13 +592,13 @@ const e = {
586
592
  reopenDate: At,
587
593
  resolveErrorsInEditor: Pt,
588
594
  restaurants: _t,
589
- saturday: Ft,
590
- schemaMarkup: wt,
595
+ saturday: wt,
596
+ schemaMarkup: Ft,
591
597
  schemaMode: Dt,
592
598
  search: It,
593
599
  searchHere: xt,
594
- searchThisArea: Wt,
595
- sections: Mt,
600
+ searchThisArea: Mt,
601
+ sections: Wt,
596
602
  selectAnOption: Et,
597
603
  selectDistanceLessThan: Nt,
598
604
  services: Ot,
@@ -656,13 +662,13 @@ export {
656
662
  A as chooseVideo,
657
663
  P as clearAll,
658
664
  _ as close,
659
- F as closed,
660
- w as closesAtTime,
665
+ w as closed,
666
+ F as closesAtTime,
661
667
  D as closesAtTimeWeek,
662
668
  I as colorPicker,
663
669
  x as comingSoon,
664
- W as componentErrorBoundary,
665
- M as components,
670
+ M as componentErrorBoundary,
671
+ W as components,
666
672
  E as confirm,
667
673
  N as coordinate,
668
674
  O as copyLayout,
@@ -711,15 +717,15 @@ export {
711
717
  Ae as inheritedDataMsg,
712
718
  Pe as insight,
713
719
  _e as item,
714
- Fe as itemSourceParentFieldTooltip,
720
+ we as itemSourceParentFieldTooltip,
715
721
  De as kilometer_one,
716
722
  Ie as kilometer_other,
717
- we as kilometer_zero,
723
+ Fe as kilometer_zero,
718
724
  xe as knowledgeGraphContent,
719
- We as layoutGenerationChat,
725
+ Me as layoutGenerationChat,
720
726
  Ne as linkOverrideDirectoryTooltip,
721
727
  Oe as linkTypes,
722
- Me as linkedEntityFields,
728
+ We as linkedEntityFields,
723
729
  Ee as linkedEntityMultiValueWarning,
724
730
  Re as loadingMap,
725
731
  He as loadingVE,
@@ -765,13 +771,13 @@ export {
765
771
  At as reopenDate,
766
772
  Pt as resolveErrorsInEditor,
767
773
  _t as restaurants,
768
- Ft as saturday,
769
- wt as schemaMarkup,
774
+ wt as saturday,
775
+ Ft as schemaMarkup,
770
776
  Dt as schemaMode,
771
777
  It as search,
772
778
  xt as searchHere,
773
- Wt as searchThisArea,
774
- Mt as sections,
779
+ Mt as searchThisArea,
780
+ Wt as sections,
775
781
  Et as selectAnOption,
776
782
  Nt as selectDistanceLessThan,
777
783
  Ot as services,