@designcrowd/fe-shared-lib 1.2.5-byo-2 → 1.2.5-ml-jj-2

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 (207) hide show
  1. package/.storybook-static/assets/Auth-CV5AmoX8.css +1 -0
  2. package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +490 -0
  3. package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +73 -0
  4. package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
  5. package/.storybook-static/assets/Button-DtVlr_q3.js +1 -0
  6. package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +1 -0
  7. package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +503 -0
  8. package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
  9. package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +1 -0
  10. package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +761 -0
  11. package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +199 -0
  12. package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
  13. package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +203 -0
  14. package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +88 -0
  15. package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +39 -0
  16. package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +73 -0
  17. package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +32 -0
  18. package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +159 -0
  19. package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +1 -0
  20. package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +1 -0
  21. package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +1 -0
  22. package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +64 -0
  23. package/.storybook-static/assets/HelloBar-z54fob0q.js +1 -0
  24. package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +342 -0
  25. package/.storybook-static/assets/Icon-8mZGP41G.js +144 -0
  26. package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +126 -0
  27. package/.storybook-static/assets/Icon.stories-D6ECVMta.js +751 -0
  28. package/.storybook-static/assets/Loader-D61Ki9P1.js +1 -0
  29. package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +1 -0
  30. package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +1 -0
  31. package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +36 -0
  32. package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
  33. package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +71 -0
  34. package/.storybook-static/assets/Modal-BQrpXSGA.js +1 -0
  35. package/.storybook-static/assets/Modal-BvVMN71n.css +1 -0
  36. package/.storybook-static/assets/Modal.stories-BycF7YL6.js +345 -0
  37. package/.storybook-static/assets/Notice.stories-BufkrC1b.js +222 -0
  38. package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
  39. package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +64 -0
  40. package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +1 -0
  41. package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +126 -0
  42. package/.storybook-static/assets/Picture-Cq76CaoK.js +1 -0
  43. package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +119 -0
  44. package/.storybook-static/assets/Pill-BsMeJhV9.js +1 -0
  45. package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +18 -0
  46. package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
  47. package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +41 -0
  48. package/.storybook-static/assets/Price-DKOwLeD0.js +1 -0
  49. package/.storybook-static/assets/Price.stories-DlqrNUWI.js +221 -0
  50. package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +1 -0
  51. package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +273 -0
  52. package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +12 -0
  53. package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
  54. package/.storybook-static/assets/Select.stories-BWINGxdY.js +108 -0
  55. package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
  56. package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +1 -0
  57. package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +1 -0
  58. package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +71 -0
  59. package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +1 -0
  60. package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +1 -0
  61. package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +1 -0
  62. package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +37 -0
  63. package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +36 -0
  64. package/.storybook-static/assets/SignIn-DNYeJu86.css +1 -0
  65. package/.storybook-static/assets/SignIn-Dt8OJr0J.js +1 -0
  66. package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
  67. package/.storybook-static/assets/Slider.stories-08DN2SFB.js +141 -0
  68. package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
  69. package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +45 -0
  70. package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +47 -0
  71. package/.storybook-static/assets/TextCopyField-B04vTGbG.js +1 -0
  72. package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +47 -0
  73. package/.storybook-static/assets/TextInput-JK1M0hv6.js +1 -0
  74. package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +233 -0
  75. package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +207 -0
  76. package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +161 -0
  77. package/.storybook-static/assets/Tooltip-DcSbUh5f.js +1 -0
  78. package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
  79. package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +953 -0
  80. package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +9 -0
  81. package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +194 -0
  82. package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
  83. package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +24 -0
  84. package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +55 -0
  85. package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +79 -0
  86. package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
  87. package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
  88. package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
  89. package/.storybook-static/assets/axe-nGVJxRof.js +30 -0
  90. package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +1 -0
  91. package/.storybook-static/assets/bundled-translations-BZ57czTo.js +1 -0
  92. package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +1 -0
  93. package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +1 -0
  94. package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +1 -0
  95. package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +1 -0
  96. package/.storybook-static/assets/carousel-CMMZ5MZ-.css +1 -0
  97. package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +374 -0
  98. package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
  99. package/.storybook-static/assets/iframe-C86bI_2U.js +1126 -0
  100. package/.storybook-static/assets/index-Bw-gCGc_.js +6 -0
  101. package/.storybook-static/assets/index-DhkYCT1V.js +29 -0
  102. package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
  103. package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
  104. package/.storybook-static/css/tailwind-brandCrowd.css +2404 -0
  105. package/.storybook-static/css/tailwind-brandPage.css +2088 -0
  106. package/.storybook-static/css/tailwind-crazyDomains.css +2404 -0
  107. package/.storybook-static/css/tailwind-designCom.css +2404 -0
  108. package/.storybook-static/css/tailwind-designCrowd.css +2404 -0
  109. package/.storybook-static/favicon.svg +1 -0
  110. package/.storybook-static/iframe.html +694 -0
  111. package/.storybook-static/index.html +156 -0
  112. package/.storybook-static/index.json +1 -0
  113. package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  114. package/.storybook-static/nunito-sans-bold.woff2 +0 -0
  115. package/.storybook-static/nunito-sans-italic.woff2 +0 -0
  116. package/.storybook-static/nunito-sans-regular.woff2 +0 -0
  117. package/.storybook-static/project.json +1 -0
  118. package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
  119. package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
  120. package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
  121. package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
  122. package/.storybook-static/sb-common-assets/favicon.svg +1 -0
  123. package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  124. package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  125. package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  126. package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  127. package/.storybook-static/sb-manager/globals-module-info.js +797 -0
  128. package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
  129. package/.storybook-static/sb-manager/globals.js +34 -0
  130. package/.storybook-static/sb-manager/runtime.js +13002 -0
  131. package/dist/css/tailwind-brandCrowd.css +2419 -0
  132. package/dist/css/tailwind-brandPage.css +2107 -0
  133. package/dist/css/tailwind-crazyDomains.css +2419 -0
  134. package/dist/css/tailwind-designCom.css +2419 -0
  135. package/dist/css/tailwind-designCrowd.css +2419 -0
  136. package/index.js +1 -1
  137. package/package.json +2 -2
  138. package/public/css/tailwind-brandCrowd.css +26 -0
  139. package/public/css/tailwind-brandPage.css +22 -0
  140. package/public/css/tailwind-crazyDomains.css +26 -0
  141. package/public/css/tailwind-designCom.css +26 -0
  142. package/public/css/tailwind-designCrowd.css +26 -0
  143. package/src/atoms/components/Price/Price.vue +1 -1
  144. package/src/bundles/bundled-translations.de-DE.json +49 -2
  145. package/src/bundles/bundled-translations.es-ES.json +49 -2
  146. package/src/bundles/bundled-translations.fr-FR.json +49 -2
  147. package/src/bundles/bundled-translations.json +48 -29
  148. package/src/bundles/bundled-translations.pt-PT.json +49 -2
  149. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +14 -10
  150. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +23 -0
  151. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +49 -20
  152. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +22 -0
  153. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +22 -0
  154. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +22 -0
  155. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +22 -0
  156. package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +22 -0
  157. package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +15 -7
  158. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +8 -0
  159. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +8 -0
  160. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +8 -0
  161. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +8 -0
  162. package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +8 -0
  163. package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +12 -8
  164. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +6 -0
  165. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +6 -0
  166. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +6 -0
  167. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +6 -0
  168. package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +6 -0
  169. package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +13 -9
  170. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +6 -0
  171. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +6 -0
  172. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +6 -0
  173. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +6 -0
  174. package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +6 -0
  175. package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +18 -13
  176. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +8 -0
  177. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +8 -0
  178. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +8 -0
  179. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +8 -0
  180. package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +8 -0
  181. package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +16 -5
  182. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +6 -0
  183. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +6 -0
  184. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +6 -0
  185. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +6 -0
  186. package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +6 -0
  187. package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +15 -12
  188. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +8 -0
  189. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +8 -0
  190. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +8 -0
  191. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +8 -0
  192. package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +8 -0
  193. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +12 -22
  194. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +5 -11
  195. package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +4 -10
  196. package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +5 -11
  197. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +4 -10
  198. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +5 -11
  199. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +1 -7
  200. package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +7 -13
  201. package/src/useSharedLibTranslate.js +1 -3
  202. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.de-DE.json +0 -5
  203. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.es-ES.json +0 -5
  204. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.fr-FR.json +0 -5
  205. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.json +0 -5
  206. package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.pt-PT.json +0 -5
  207. package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json +0 -30
@@ -12,10 +12,10 @@
12
12
  {{ title }}
13
13
  </p>
14
14
  <span
15
- v-if="showLabel"
15
+ v-if="pillLabel"
16
16
  class="tw-text-xs tw-h-4 tw-w-fit tw-text-primary-500 tw-border tw-border-solid tw-border-primary-500 tw-rounded-full tw-px-2 tw-font-sans tw-uppercase"
17
17
  >
18
- Recommended
18
+ {{ pillLabel }}
19
19
  </span>
20
20
  </div>
21
21
  <p class="tw-mt-2 md:tw-mt-0 tw-text-grayscale-600 tw-text-sm">
@@ -27,15 +27,15 @@
27
27
  </div>
28
28
  <div v-if="hasSearchButton" class="tw-w-full md:tw-w-auto md:tw-justify-end md:tw-pl-4 desktop-cta">
29
29
  <Button
30
- label="Search"
30
+ :label="searchButtonLabel"
31
31
  class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
32
32
  data-test-brand-page-search-button
33
33
  variant="primary"
34
34
  size="small-medium"
35
- @on-click="onClick"
36
35
  :class="{
37
36
  'tw-uppercase': !isDesignCom,
38
37
  }"
38
+ @on-click="onClick"
39
39
  />
40
40
  </div>
41
41
  </div>
@@ -47,23 +47,23 @@
47
47
  </div>
48
48
  <div v-if="hasSearchButton" class="tw-w-full md:tw-w-auto md:tw-justify-end md:tw-pl-4 mobile-cta tw-mt-2">
49
49
  <Button
50
- label="Search"
50
+ :label="searchButtonLabel"
51
51
  class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
52
52
  data-test-brand-page-search-button
53
53
  variant="primary"
54
54
  size="small-medium"
55
55
  :full-width="true"
56
- @on-click="onClick"
57
56
  :class="{
58
57
  'tw-uppercase': !isDesignCom,
59
58
  }"
59
+ @on-click="onClick"
60
60
  />
61
61
  </div>
62
62
  </div>
63
63
  </div>
64
64
  </template>
65
65
  <script setup lang="ts">
66
- import Button from '../../../../src/atoms/components/Button/Button.vue';
66
+ import Button from '../../../atoms/components/Button/Button.vue';
67
67
 
68
68
  const props = defineProps({
69
69
  title: {
@@ -86,9 +86,13 @@ const props = defineProps({
86
86
  type: Boolean,
87
87
  default: true,
88
88
  },
89
- showLabel: {
90
- type: Boolean,
91
- default: false,
89
+ searchButtonLabel: {
90
+ type: String,
91
+ default: () => 'Search',
92
+ },
93
+ pillLabel: {
94
+ type: String,
95
+ default: null,
92
96
  },
93
97
  });
94
98
 
@@ -1,12 +1,19 @@
1
1
  import Card from './PublishBrandPageCard.vue';
2
2
  import PublishBrandPageModal from './PublishBrandPageModal.vue';
3
3
  import { domains } from './__fixtures__/data';
4
+ import { setLocaleAsync } from '../../../useSharedLibTranslate';
4
5
 
5
6
  export default {
6
7
  title: 'Components/PublishBrandPageModal',
7
8
  component: PublishBrandPageModal,
8
9
  };
9
10
 
11
+ const locale = 'en-US';
12
+
13
+ const loadTranslationAsync = async () => {
14
+ await setLocaleAsync(locale);
15
+ };
16
+
10
17
  export const NotPublishedWithPurchasedDomains = () => {
11
18
  return {
12
19
  components: {
@@ -15,6 +22,7 @@ export const NotPublishedWithPurchasedDomains = () => {
15
22
  data() {
16
23
  return {
17
24
  domains,
25
+ show: false,
18
26
  };
19
27
  },
20
28
  methods: {},
@@ -34,6 +42,8 @@ export const NotPublishedWithPurchasedDomains = () => {
34
42
  };
35
43
  };
36
44
 
45
+ NotPublishedWithPurchasedDomains.loaders = [loadTranslationAsync];
46
+
37
47
  export const PublishWithSelectedDomain = () => {
38
48
  return {
39
49
  components: {
@@ -75,6 +85,8 @@ export const PublishWithSelectedDomain = () => {
75
85
  };
76
86
  };
77
87
 
88
+ PublishWithSelectedDomain.loaders = [loadTranslationAsync];
89
+
78
90
  export const SetSlug = () => {
79
91
  return {
80
92
  components: {
@@ -101,6 +113,9 @@ export const SetSlug = () => {
101
113
  `,
102
114
  };
103
115
  };
116
+
117
+ SetSlug.loaders = [loadTranslationAsync];
118
+
104
119
  export const Published = () => {
105
120
  return {
106
121
  components: {
@@ -126,6 +141,9 @@ export const Published = () => {
126
141
  `,
127
142
  };
128
143
  };
144
+
145
+ Published.loaders = [loadTranslationAsync];
146
+
129
147
  export const PublishedNoDomains = () => {
130
148
  return {
131
149
  components: {
@@ -153,6 +171,9 @@ export const PublishedNoDomains = () => {
153
171
  `,
154
172
  };
155
173
  };
174
+
175
+ PublishedNoDomains.loaders = [loadTranslationAsync];
176
+
156
177
  export const Free = () => {
157
178
  return {
158
179
  components: {
@@ -201,3 +222,5 @@ export const Free = () => {
201
222
  `,
202
223
  };
203
224
  };
225
+
226
+ Free.loaders = [loadTranslationAsync];
@@ -11,15 +11,15 @@
11
11
  >
12
12
  <template #header>
13
13
  <div v-if="isNotPublished || isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8 tw-text-4xl">
14
- <span>Set the URL for your {{ brandPageDisplayName }}</span>
14
+ <span>{{ firstTimePublishHeaderLabel }}</span>
15
15
  </div>
16
16
  <div v-if="isPublished && !isSlugEditMode" class="tw-text-center tw-font-bold tw-mb-8 tw-mt-8">
17
- <p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">Site published!</p>
17
+ <p class="tw-font-bold tw-text-black tw-mb-2 tw-text-4xl">{{ sitePublishedLabel }}</p>
18
18
  <p v-if="hasPurchasedDomains || isCustomDomainActive" class="tw-text-grayscale-600 tw-mb-8">
19
- Your {{ brandPageDisplayName }} is live! Start using your link:
19
+ {{ publishSuccessLabel }}
20
20
  </p>
21
21
  <p v-else class="tw-text-grayscale-600 tw-mb-8 tw-font-normal">
22
- {{ headerSubtitle }}
22
+ {{ publishedSuccessDescriptionLabel }}
23
23
  </p>
24
24
  </div>
25
25
  </template>
@@ -44,15 +44,15 @@
44
44
  for="domain-type"
45
45
  class="tw-font-sans tw-w-full tw-text-grayscale-600 tw-text-sm tw-cursor-pointer tw-ml-2"
46
46
  >
47
- <span class="tw-inline-block tw-rounded-full">Free domain</span>
47
+ <span class="tw-inline-block tw-rounded-full">{{ freeDomainLabel }}</span>
48
48
  </label>
49
49
  </div>
50
50
  <div v-if="isNotPublished || isSlugEditMode" class="tw-mt-4">
51
51
  <PublishBrandPageCard
52
52
  v-if="!hasPurchasedDomains"
53
53
  :img-url="iconUrl"
54
- title="Free Address"
55
- description="Choose a free address to publish now. You can always edit the URL later"
54
+ :title="freePublishCardTitleLabel"
55
+ :description="freePublishCardDescriptionLabel"
56
56
  :is-design-com="isDesignCom"
57
57
  :has-search-button="false"
58
58
  >
@@ -78,7 +78,7 @@
78
78
  </div>
79
79
  </div>
80
80
  <Button
81
- label="Publish"
81
+ :label="publishLabel"
82
82
  :disabled="isPublishingDisabled"
83
83
  class="tw-flex tw-items-center tw-justify-center md:tw-ml-2 tw-mt-2 md:tw-mt-0 tw-font-sans tw-font-bold tw-transition-colors tw-duration-300 tw-text-sm tw-w-full tw-rounded tw-cursor-pointer tw-w-full md:tw-w-24"
84
84
  data-test-brand-page-publish-button
@@ -128,7 +128,7 @@
128
128
  for="domain-type"
129
129
  class="tw-font-sans tw-w-full tw-text-grayscale-600 tw-text-sm tw-cursor-pointer tw-ml-2"
130
130
  >
131
- <span class="tw-inline-block tw-rounded-full">Purchased domain</span>
131
+ <span class="tw-inline-block tw-rounded-full">{{ purchasedDomainLabel }}</span>
132
132
  </label>
133
133
  </div>
134
134
  <div class="tw-mt-4 domain-dropdown">
@@ -143,7 +143,7 @@
143
143
  :class="{
144
144
  'tw-text-grayscale-600 tw-font-normal': !selectedCustomDomain,
145
145
  }"
146
- :title="(selectedCustomDomain && selectedCustomDomain.domainName) || 'Select domain name'"
146
+ :title="(selectedCustomDomain && selectedCustomDomain.domainName) || selectDomainDropdownPlaceholder"
147
147
  >
148
148
  <DropdownItem
149
149
  v-for="purchasedDomain of domains"
@@ -167,7 +167,7 @@
167
167
  :style="isMobile ? 'padding-left: 1.5rem; padding-right: 1.5rem;' : ''"
168
168
  >
169
169
  <Button
170
- :label="isSlugEditMode ? 'Set URL' : 'Publish'"
170
+ :label="isSlugEditMode ? setUrlLabel : publishLabel"
171
171
  :variant="isDesignCom ? 'primary' : 'primary-with-icon'"
172
172
  icon="chevron-right-wide"
173
173
  :disabled="isPublishingDisabled"
@@ -177,7 +177,7 @@
177
177
  @on-click="onPublish"
178
178
  />
179
179
  <Button
180
- label="No thanks, maybe later"
180
+ :label="hasAlreadyPurchasedDomainCloseButtonLabel"
181
181
  variant="no-border"
182
182
  size="large"
183
183
  class="tw-my-4"
@@ -200,7 +200,7 @@
200
200
  />
201
201
  </div>
202
202
  <Button
203
- label="VIEW MORE DOMAINS"
203
+ :label="viewMoreDomainLabel"
204
204
  variant="no-border"
205
205
  size="small-medium"
206
206
  class="tw-text-center"
@@ -211,11 +211,13 @@
211
211
  <TextCopyField
212
212
  button-variant="secondary"
213
213
  :text="brandPageUrl"
214
+ :default-copy-button-text="copyLabel"
215
+ :copied-button-text="copySuccessLabel"
214
216
  data-test-brand-page-copy-input
215
217
  @on-click="onCopyUrlClick"
216
218
  />
217
219
  <Button
218
- :label="`View ${brandPageDisplayName}`"
220
+ :label="viewMyWebsiteLabel"
219
221
  :variant="isDesignCom ? 'primary' : 'primary-with-icon'"
220
222
  icon="chevron-right-wide"
221
223
  size="medium"
@@ -246,7 +248,6 @@
246
248
  </div>
247
249
  </template>
248
250
  <script>
249
- import { computed } from 'vue';
250
251
  import Modal from '../../../atoms/components/Modal/Modal.vue';
251
252
  import PublishBrandPageCard from './PublishBrandPageCard.vue';
252
253
  import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
@@ -262,8 +263,6 @@ import Events, { sitePublishedModal } from '../../constants/event-constants';
262
263
  import mediaQueryMixin from '../../mixins/mediaQueryMixin';
263
264
  import { tr } from '../../../useSharedLibTranslate';
264
265
 
265
- const headerSubtitle = 'Buy matching domain name for your brand';
266
-
267
266
  const DOMAIN_TYPES = {
268
267
  slug: 'slug',
269
268
  purchased: 'purchased',
@@ -418,7 +417,21 @@ export default {
418
417
  setup() {
419
418
  return {
420
419
  tr,
421
- testMessage: computed(() => tr('publishModal.test')),
420
+ sitePublishedLabel: tr('publishBrandPageModal.sitePublishedLabel'),
421
+ freePublishCardTitleLabel: tr('publishBrandPageModal.freePublishCardTitleLabel'),
422
+ freePublishCardDescriptionLabel: tr('publishBrandPageModal.freePublishCardDescriptionLabel'),
423
+ slugInputPlaceholderYourNameLabel: tr('publishBrandPageModal.slugInputPlaceholderYourNameLabel'),
424
+ slugInputPlaceholderYourBusinessNameLabel: tr('publishBrandPageModal.slugInputPlaceholderYourBusinessNameLabel'),
425
+ freeDomainLabel: tr('publishBrandPageModal.freeDomainLabel'),
426
+ purchasedDomainLabel: tr('publishBrandPageModal.purchasedDomainLabel'),
427
+ setUrlLabel: tr('publishBrandPageModal.setUrlLabel'),
428
+ publishLabel: tr('publishBrandPageModal.publishLabel'),
429
+ viewMoreDomainLabel: tr('publishBrandPageModal.viewMoreDomainLabel'),
430
+ copyLabel: tr('publishBrandPageModal.copyLabel'),
431
+ copySuccessLabel: tr('publishBrandPageModal.copySuccessLabel'),
432
+ hasAlreadyPurchasedDomainCloseButtonLabel: tr('publishBrandPageModal.hasAlreadyPurchasedDomainCloseButtonLabel'),
433
+ publishedSuccessDescriptionLabel: tr('publishBrandPageModal.publishedSuccessDescriptionLabel'),
434
+ selectDomainDropdownPlaceholder: tr('publishBrandPageModal.selectDomainDropdownPlaceholder'),
422
435
  };
423
436
  },
424
437
  data() {
@@ -427,7 +440,6 @@ export default {
427
440
  domainTypeValue: this.radioValue,
428
441
  internalSlug: this.brandPageSlug,
429
442
  selectedCustomDomain: this.customDomain,
430
- headerSubtitle,
431
443
  userCurrency: undefined,
432
444
  isModalVisible: false,
433
445
  isLoading: false,
@@ -438,6 +450,21 @@ export default {
438
450
  };
439
451
  },
440
452
  computed: {
453
+ firstTimePublishHeaderLabel() {
454
+ return this.tr('publishBrandPageModal.firstTimePublishHeaderLabel', {
455
+ brandPageDisplayName: this.brandPageDisplayName,
456
+ });
457
+ },
458
+ publishSuccessLabel() {
459
+ return this.tr('publishBrandPageModal.publishSuccessLabel', {
460
+ brandPageDisplayName: this.brandPageDisplayName,
461
+ });
462
+ },
463
+ viewMyWebsiteLabel() {
464
+ return this.tr('publishBrandPageModal.viewMyWebsiteLabel', {
465
+ brandPageDisplayName: this.brandPageDisplayName,
466
+ });
467
+ },
441
468
  allowPublish() {
442
469
  if (this.domainTypeValue === DOMAIN_TYPES.slug) {
443
470
  return this.internalSlug && !this.slugValidationError;
@@ -466,7 +493,9 @@ export default {
466
493
  return !this.allowPublish || this.isPublishing;
467
494
  },
468
495
  getPlaceHolder() {
469
- return this.brandPageType === 'brandContact' ? 'your-name' : 'your-business-name';
496
+ return this.brandPageType === 'brandContact'
497
+ ? this.slugInputPlaceholderYourNameLabel
498
+ : this.slugInputPlaceholderYourBusinessNameLabel;
470
499
  },
471
500
  },
472
501
  watch: {
@@ -0,0 +1,22 @@
1
+ {
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Legen Sie die URL für {{brandPageDisplayName}} fest",
4
+ "sitePublishedLabel": "Seite veröffentlicht!",
5
+ "publishSuccessLabel": "Ihr {{brandPageDisplayName}} ist live! Beginnen Sie mit der Nutzung Ihres Links:",
6
+ "freePublishCardTitleLabel": "Freie Adresse",
7
+ "freePublishCardDescriptionLabel": "Wählen Sie jetzt eine kostenlose Adresse zur Veröffentlichung aus. Sie können die URL später jederzeit bearbeiten",
8
+ "slugInputPlaceholderYourNameLabel": "ihr-name",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "ihr-firmen-name",
10
+ "freeDomainLabel": "Kostenlose Domain",
11
+ "purchasedDomainLabel": "Erworbene Domain",
12
+ "setUrlLabel": "URL festlegen",
13
+ "publishLabel": "Veröffentlichen",
14
+ "viewMoreDomainLabel": "WEITERE DOMAINS ANZEIGEN",
15
+ "viewMyWebsiteLabel": "{{brandPageDisplayName}} anzeigen",
16
+ "copyLabel": "Kopieren",
17
+ "copySuccessLabel": "Kopiert!",
18
+ "publishedSuccessDescriptionLabel": "Kaufen Sie eine passende Domain für Ihre Marke",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "Nein, danke, vielleicht später",
20
+ "selectDomainDropdownPlaceholder": "Domain auswählen"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Establece la URL para {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "¡Sitio publicado!",
5
+ "publishSuccessLabel": "¡Tu {{brandPageDisplayName}} está activo! Comienza a usar tu enlace:",
6
+ "freePublishCardTitleLabel": "Dirección gratuita",
7
+ "freePublishCardDescriptionLabel": "Elige una dirección gratuita para publicar ahora. Siempre puedes editar la URL más tarde",
8
+ "slugInputPlaceholderYourNameLabel": "tu-nombre",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "nombre-de-tu-negocio",
10
+ "freeDomainLabel": "Dominio gratis",
11
+ "purchasedDomainLabel": "Dominio adquirido",
12
+ "setUrlLabel": "Establece URL",
13
+ "publishLabel": "Publicar",
14
+ "viewMoreDomainLabel": "VER MÁS DOMINIOS",
15
+ "viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
16
+ "copyLabel": "Copiar",
17
+ "copySuccessLabel": "¡Copiado!",
18
+ "publishedSuccessDescriptionLabel": "Compra un nombre de dominio que coincida con tu marca",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "No gracias, quizás más tarde",
20
+ "selectDomainDropdownPlaceholder": "Selecciona un nombre de dominio"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Définissez l'URL pour {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "Site publié !",
5
+ "publishSuccessLabel": "Votre {{brandPageDisplayName}} est en ligne ! Commencez à utiliser votre lien :",
6
+ "freePublishCardTitleLabel": "Adresse libre",
7
+ "freePublishCardDescriptionLabel": "Choisissez une adresse gratuite pour publier maintenant. Vous pouvez toujours modifier l'URL plus tard",
8
+ "slugInputPlaceholderYourNameLabel": "your-name",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "nom-de-votre-entreprise",
10
+ "freeDomainLabel": "Domaine gratuit",
11
+ "purchasedDomainLabel": "Domaine acheté",
12
+ "setUrlLabel": "Définir l'URL",
13
+ "publishLabel": "Publier",
14
+ "viewMoreDomainLabel": "VOIR PLUS DE NOMS DE DOMAINE",
15
+ "viewMyWebsiteLabel": "Voir {{brandPageDisplayName}}",
16
+ "copyLabel": "Copier",
17
+ "copySuccessLabel": "Copié !",
18
+ "publishedSuccessDescriptionLabel": "Achetez un nom de domaine correspondant à votre marque",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "Non merci, peut-être plus tard",
20
+ "selectDomainDropdownPlaceholder": "Sélectionner un nom de domaine"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Set the URL for {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "Site published!",
5
+ "publishSuccessLabel": "Your {{brandPageDisplayName}} is live! Start using your link:",
6
+ "freePublishCardTitleLabel": "Free Address",
7
+ "freePublishCardDescriptionLabel": "Choose a free address to publish now. You can always edit the URL later",
8
+ "slugInputPlaceholderYourNameLabel": "your-name",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "your-business-name",
10
+ "freeDomainLabel": "Free domain",
11
+ "purchasedDomainLabel": "Purchased domain",
12
+ "setUrlLabel": "Set URL",
13
+ "publishLabel": "Publish",
14
+ "viewMoreDomainLabel": "VIEW MORE DOMAINS",
15
+ "viewMyWebsiteLabel": "View {{brandPageDisplayName}}",
16
+ "copyLabel": "Copy",
17
+ "copySuccessLabel": "Copied!",
18
+ "publishedSuccessDescriptionLabel": "Buy matching domain name for your brand",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "No thanks, maybe later",
20
+ "selectDomainDropdownPlaceholder": "Select domain name"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "publishBrandPageModal": {
3
+ "firstTimePublishHeaderLabel": "Defina o URL para {{brandPageDisplayName}}",
4
+ "sitePublishedLabel": "Site publicado!",
5
+ "publishSuccessLabel": "A sua página {{brandPageDisplayName}} está ativa! Comece a utilizar o link:",
6
+ "freePublishCardTitleLabel": "Endereço gratuito",
7
+ "freePublishCardDescriptionLabel": "Escolha um endereço gratuito para publicar agora. Pode sempre editar o URL mais tarde",
8
+ "slugInputPlaceholderYourNameLabel": "o-seu-nome",
9
+ "slugInputPlaceholderYourBusinessNameLabel": "nome-da-sua-empresa",
10
+ "freeDomainLabel": "Domínio gratuito",
11
+ "purchasedDomainLabel": "Domínio comprado",
12
+ "setUrlLabel": "Definir URL",
13
+ "publishLabel": "Publicar",
14
+ "viewMoreDomainLabel": "VER MAIS DOMÍNIOS",
15
+ "viewMyWebsiteLabel": "Ver {{brandPageDisplayName}}",
16
+ "copyLabel": "Copiar",
17
+ "copySuccessLabel": "Copiado!",
18
+ "publishedSuccessDescriptionLabel": "Compre um nome de domínio que corresponda à sua marca",
19
+ "hasAlreadyPurchasedDomainCloseButtonLabel": "Não, obrigado, talvez mais tarde",
20
+ "selectDomainDropdownPlaceholder": "Selecionar nome de domínio"
21
+ }
22
+ }
@@ -22,7 +22,7 @@
22
22
  {{ item.domainName }}
23
23
  </div>
24
24
  <div v-if="item.costPrice" class="tw-text-xs tw-text-grayscale-600 tw-flex tw-items-center">
25
- <span class="tw-mr-2"> Cost Price: </span>
25
+ <span class="tw-mr-2"> {{ costPriceLabel }} </span>
26
26
  <Price
27
27
  class="tw-font-bold"
28
28
  :amount="getCostPrice(item)"
@@ -30,7 +30,7 @@
30
30
  :currency="currency"
31
31
  fraction="2"
32
32
  :show-abbreviation="false"
33
- suffix="/yr"
33
+ :suffix="pricePerYearLabel"
34
34
  />
35
35
  </div>
36
36
  <div v-if="!isFree(item) || item.costPrice" class="tw-px-0 tw-mt-4 sm:tw-px-4 sm:tw-mt-0">
@@ -41,7 +41,7 @@
41
41
  :currency="currency"
42
42
  fraction="2"
43
43
  :show-abbreviation="false"
44
- suffix="/yr"
44
+ :suffix="pricePerYearLabel"
45
45
  />
46
46
  </div>
47
47
  </div>
@@ -63,10 +63,10 @@
63
63
  </div>
64
64
  </template>
65
65
  <script>
66
- import Button from '../../../../src/atoms/components/Button/Button.vue';
67
- import Price from '../../../../src/atoms/components/Price/Price.vue';
68
-
66
+ import Button from '../../../atoms/components/Button/Button.vue';
67
+ import Price from '../../../atoms/components/Price/Price.vue';
69
68
  import Events from '../../constants/event-constants';
69
+ import { tr } from '../../../useSharedLibTranslate';
70
70
 
71
71
  export default {
72
72
  components: {
@@ -108,6 +108,14 @@ export default {
108
108
  },
109
109
  },
110
110
  emits: ['load-more-domains'],
111
+ setup() {
112
+ return {
113
+ freeDomainButtonLabel: tr('sellDomainNameList.freeDomainButtonLabel'),
114
+ buyNowButtonLabel: tr('sellDomainNameList.buyNowButtonLabel'),
115
+ pricePerYearLabel: tr('sellDomainNameList.pricePerYearLabel'),
116
+ costPriceLabel: tr('sellDomainNameList.costPriceLabel'),
117
+ };
118
+ },
111
119
  methods: {
112
120
  onBuyNowClick(domain) {
113
121
  const request = domain;
@@ -134,7 +142,7 @@ export default {
134
142
  return parseFloat(domain.price) === 0;
135
143
  },
136
144
  getPurchaseLabel(domain) {
137
- return this.isFree(domain) ? 'Free Domain' : 'Buy Now';
145
+ return this.isFree(domain) ? this.freeDomainButtonLabel : this.buyNowButtonLabel;
138
146
  },
139
147
  },
140
148
  };
@@ -0,0 +1,8 @@
1
+ {
2
+ "sellDomainNameList": {
3
+ "freeDomainButtonLabel": "Kostenlose Domain",
4
+ "buyNowButtonLabel": "Jetzt kaufen",
5
+ "pricePerYearLabel": "/Jahr",
6
+ "costPriceLabel": "Kostenpreis:"
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "sellDomainNameList": {
3
+ "freeDomainButtonLabel": "Dominio gratis",
4
+ "buyNowButtonLabel": "Comprar ahora",
5
+ "pricePerYearLabel": "/año",
6
+ "costPriceLabel": "Precio de coste:"
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "sellDomainNameList": {
3
+ "freeDomainButtonLabel": "Domaine gratuit",
4
+ "buyNowButtonLabel": "Acheter",
5
+ "pricePerYearLabel": "/an",
6
+ "costPriceLabel": "Prix de revient:"
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "sellDomainNameList": {
3
+ "freeDomainButtonLabel": "Free Domain",
4
+ "buyNowButtonLabel": "Buy Now",
5
+ "pricePerYearLabel": "/yr",
6
+ "costPriceLabel": "Cost Price:"
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "sellDomainNameList": {
3
+ "freeDomainButtonLabel": "Domínio gratuito",
4
+ "buyNowButtonLabel": "Comprar Agora",
5
+ "pricePerYearLabel": "/ano",
6
+ "costPriceLabel": "Preço de Custo:"
7
+ }
8
+ }
@@ -13,8 +13,8 @@
13
13
  <SellDomainNameSearch
14
14
  v-if="visible"
15
15
  :is-design-com="isDesignCom"
16
- :header-title="headerTitle"
17
- :header-subtitle="headerSubtitle"
16
+ :header-title="headerTitle || domainSearchHeaderTitle"
17
+ :header-subtitle="headerSubtitle || domainSearchHeaderSubtitle"
18
18
  :initial-search-term="modelValue"
19
19
  @onSearch="onSearch"
20
20
  @onSearchTextInputChange="onSearchTextInputChange"
@@ -34,14 +34,12 @@
34
34
  </Modal>
35
35
  </template>
36
36
  <script>
37
- import Modal from '../../../../src/atoms/components/Modal/Modal.vue';
37
+ import Modal from '../../../atoms/components/Modal/Modal.vue';
38
+ import { tr } from '../../../useSharedLibTranslate';
38
39
 
39
40
  import SellDomainNameSearch from '../SellDomainNameSearch/SellDomainNameSearch.vue';
40
41
  import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomainNameListSearchResult.vue';
41
42
 
42
- const headerSubtitle = 'Buy matching domain name for your brand';
43
- const headerTitle = 'Search a domain name';
44
-
45
43
  export default {
46
44
  components: {
47
45
  Modal,
@@ -60,11 +58,11 @@ export default {
60
58
  },
61
59
  headerSubtitle: {
62
60
  type: String,
63
- default: () => headerSubtitle,
61
+ default: null,
64
62
  },
65
63
  headerTitle: {
66
64
  type: String,
67
- default: () => headerTitle,
65
+ default: null,
68
66
  },
69
67
  isBusy: {
70
68
  type: Boolean,
@@ -94,6 +92,12 @@ export default {
94
92
  },
95
93
  },
96
94
  emits: ['close-modal', 'input', 'search'],
95
+ setup() {
96
+ return {
97
+ domainSearchHeaderTitle: tr('sellDomainNameListModal.domainSearchHeaderTitle'),
98
+ domainSearchHeaderSubtitle: tr('sellDomainNameListModal.domainSearchHeaderSubtitle'),
99
+ };
100
+ },
97
101
  methods: {
98
102
  onSearch() {
99
103
  this.$emit('search');
@@ -0,0 +1,6 @@
1
+ {
2
+ "sellDomainNameListModal": {
3
+ "domainSearchHeaderTitle": "Domainname suchen",
4
+ "domainSearchHeaderSubtitle": "Kaufen Sie eine passende Domain für Ihre Marke"
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "sellDomainNameListModal": {
3
+ "domainSearchHeaderTitle": "Busca un nombre de dominio",
4
+ "domainSearchHeaderSubtitle": "Compra un nombre de dominio que coincida con tu marca"
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "sellDomainNameListModal": {
3
+ "domainSearchHeaderTitle": "Rechercher un nom de domaine",
4
+ "domainSearchHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque"
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "sellDomainNameListModal": {
3
+ "domainSearchHeaderTitle": "Search a domain name",
4
+ "domainSearchHeaderSubtitle": "Buy matching domain name for your brand"
5
+ }
6
+ }