@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.
- package/.storybook-static/assets/Auth-CV5AmoX8.css +1 -0
- package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +73 -0
- package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
- package/.storybook-static/assets/Button-DtVlr_q3.js +1 -0
- package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +503 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +1 -0
- package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +203 -0
- package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +39 -0
- package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +159 -0
- package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +1 -0
- package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +1 -0
- package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +64 -0
- package/.storybook-static/assets/HelloBar-z54fob0q.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +342 -0
- package/.storybook-static/assets/Icon-8mZGP41G.js +144 -0
- package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +126 -0
- package/.storybook-static/assets/Icon.stories-D6ECVMta.js +751 -0
- package/.storybook-static/assets/Loader-D61Ki9P1.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +71 -0
- package/.storybook-static/assets/Modal-BQrpXSGA.js +1 -0
- package/.storybook-static/assets/Modal-BvVMN71n.css +1 -0
- package/.storybook-static/assets/Modal.stories-BycF7YL6.js +345 -0
- package/.storybook-static/assets/Notice.stories-BufkrC1b.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +126 -0
- package/.storybook-static/assets/Picture-Cq76CaoK.js +1 -0
- package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +119 -0
- package/.storybook-static/assets/Pill-BsMeJhV9.js +1 -0
- package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +41 -0
- package/.storybook-static/assets/Price-DKOwLeD0.js +1 -0
- package/.storybook-static/assets/Price.stories-DlqrNUWI.js +221 -0
- package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +273 -0
- package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +12 -0
- package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
- package/.storybook-static/assets/Select.stories-BWINGxdY.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +36 -0
- package/.storybook-static/assets/SignIn-DNYeJu86.css +1 -0
- package/.storybook-static/assets/SignIn-Dt8OJr0J.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-08DN2SFB.js +141 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +47 -0
- package/.storybook-static/assets/TextCopyField-B04vTGbG.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +47 -0
- package/.storybook-static/assets/TextInput-JK1M0hv6.js +1 -0
- package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +233 -0
- package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +207 -0
- package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +161 -0
- package/.storybook-static/assets/Tooltip-DcSbUh5f.js +1 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +79 -0
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-nGVJxRof.js +30 -0
- package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +1 -0
- package/.storybook-static/assets/bundled-translations-BZ57czTo.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +1 -0
- package/.storybook-static/assets/carousel-CMMZ5MZ-.css +1 -0
- package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +374 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-C86bI_2U.js +1126 -0
- package/.storybook-static/assets/index-Bw-gCGc_.js +6 -0
- package/.storybook-static/assets/index-DhkYCT1V.js +29 -0
- package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2404 -0
- package/.storybook-static/css/tailwind-brandPage.css +2088 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2404 -0
- package/.storybook-static/css/tailwind-designCom.css +2404 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2404 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/iframe.html +694 -0
- package/.storybook-static/index.html +156 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +797 -0
- package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
- package/.storybook-static/sb-manager/globals.js +34 -0
- package/.storybook-static/sb-manager/runtime.js +13002 -0
- package/dist/css/tailwind-brandCrowd.css +2419 -0
- package/dist/css/tailwind-brandPage.css +2107 -0
- package/dist/css/tailwind-crazyDomains.css +2419 -0
- package/dist/css/tailwind-designCom.css +2419 -0
- package/dist/css/tailwind-designCrowd.css +2419 -0
- package/index.js +1 -1
- package/package.json +2 -2
- package/public/css/tailwind-brandCrowd.css +26 -0
- package/public/css/tailwind-brandPage.css +22 -0
- package/public/css/tailwind-crazyDomains.css +26 -0
- package/public/css/tailwind-designCom.css +26 -0
- package/public/css/tailwind-designCrowd.css +26 -0
- package/src/atoms/components/Price/Price.vue +1 -1
- package/src/bundles/bundled-translations.de-DE.json +49 -2
- package/src/bundles/bundled-translations.es-ES.json +49 -2
- package/src/bundles/bundled-translations.fr-FR.json +49 -2
- package/src/bundles/bundled-translations.json +48 -29
- package/src/bundles/bundled-translations.pt-PT.json +49 -2
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +14 -10
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +23 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +49 -20
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +22 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +22 -0
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +15 -7
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.json +8 -0
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +8 -0
- package/src/experiences/components/SellDomainNameListModal/SellDomainNameListModal.vue +12 -8
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.json +6 -0
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +13 -9
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.json +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +6 -0
- package/src/experiences/components/SellDomainNameSearch/SellDomainNameSearch.vue +18 -13
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.json +8 -0
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +8 -0
- package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +16 -5
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.json +6 -0
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +6 -0
- package/src/experiences/components/SellDomainNameWidget/SellDomainNameWidget.vue +15 -12
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.json +8 -0
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +8 -0
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +12 -22
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessText.vue +5 -11
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +4 -10
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoPreview.vue +5 -11
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadError.vue +4 -10
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadExitConfirmation.vue +5 -11
- package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +1 -7
- package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +7 -13
- package/src/useSharedLibTranslate.js +1 -3
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.de-DE.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.es-ES.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.fr-FR.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.json +0 -5
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-modal.pt-PT.json +0 -5
- package/src/experiences/components/UploadYourLogoOnBoarding/i18n/upload-your-logo.json +0 -30
package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<template v-if="
|
|
2
|
+
<template v-if="!!$slots.header">
|
|
3
3
|
<Modal
|
|
4
4
|
classes="sell-domain-name-list-modal--modal tw-text-black"
|
|
5
5
|
close-on-esc
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
<SellDomainNameSearch
|
|
50
50
|
v-if="visible"
|
|
51
51
|
:is-design-com="isDesignCom"
|
|
52
|
-
:header-title="headerTitle"
|
|
53
|
-
:header-subtitle="headerSubtitle"
|
|
52
|
+
:header-title="headerTitle || domainSearchHeaderTitle"
|
|
53
|
+
:header-subtitle="headerSubtitle || domainSearchHeaderSubtitle"
|
|
54
54
|
:initial-search-term="initialSearchTerm"
|
|
55
55
|
@onSearch="onSearchDomainName"
|
|
56
56
|
@onSearchTextInputChange="onSearchTextInputChange"
|
|
@@ -71,14 +71,12 @@
|
|
|
71
71
|
</template>
|
|
72
72
|
</template>
|
|
73
73
|
<script>
|
|
74
|
-
import Modal from '
|
|
74
|
+
import Modal from '../../../atoms/components/Modal/Modal.vue';
|
|
75
75
|
import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
|
|
76
76
|
import SellDomainNameSearch from '../SellDomainNameSearch/SellDomainNameSearch.vue';
|
|
77
77
|
import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomainNameListSearchResult.vue';
|
|
78
78
|
import Events from '../../constants/event-constants';
|
|
79
|
-
|
|
80
|
-
const headerSubtitle = 'Buy matching domain name for your brand';
|
|
81
|
-
const headerTitle = 'Search a domain name';
|
|
79
|
+
import { tr } from '../../../useSharedLibTranslate';
|
|
82
80
|
|
|
83
81
|
export default {
|
|
84
82
|
components: {
|
|
@@ -89,11 +87,11 @@ export default {
|
|
|
89
87
|
props: {
|
|
90
88
|
headerSubtitle: {
|
|
91
89
|
type: String,
|
|
92
|
-
default:
|
|
90
|
+
default: null,
|
|
93
91
|
},
|
|
94
92
|
headerTitle: {
|
|
95
93
|
type: String,
|
|
96
|
-
default:
|
|
94
|
+
default: null,
|
|
97
95
|
},
|
|
98
96
|
modelValue: {
|
|
99
97
|
type: String,
|
|
@@ -122,6 +120,12 @@ export default {
|
|
|
122
120
|
default: undefined,
|
|
123
121
|
},
|
|
124
122
|
},
|
|
123
|
+
setup() {
|
|
124
|
+
return {
|
|
125
|
+
domainSearchHeaderTitle: tr('sellDomainNameModalApplication.domainSearchHeaderTitle'),
|
|
126
|
+
domainSearchHeaderSubtitle: tr('sellDomainNameModalApplication.domainSearchHeaderTitle'),
|
|
127
|
+
};
|
|
128
|
+
},
|
|
125
129
|
data: () => ({
|
|
126
130
|
domainNameItems: [],
|
|
127
131
|
userCurrency: {},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<Button
|
|
33
33
|
:classes="searchButtonClasses"
|
|
34
34
|
variant="primary"
|
|
35
|
-
label="
|
|
35
|
+
:label="searchButtonLabel"
|
|
36
36
|
:disabled="false"
|
|
37
37
|
@on-click="onSearchBarClick"
|
|
38
38
|
/>
|
|
@@ -41,15 +41,10 @@
|
|
|
41
41
|
</div>
|
|
42
42
|
</template>
|
|
43
43
|
<script>
|
|
44
|
-
import Button from '
|
|
45
|
-
import TextInput from '
|
|
46
|
-
|
|
47
|
-
import {
|
|
48
|
-
sellDomainNameMinSearchTextLength,
|
|
49
|
-
sellDomainNameSearchBarLabel,
|
|
50
|
-
sellDomainNameSearchBarPlaceholder,
|
|
51
|
-
sellDomainNameSearchBarPreText,
|
|
52
|
-
} from '../../constants/sell-domain-name-constants';
|
|
44
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
45
|
+
import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
|
|
46
|
+
import { sellDomainNameMinSearchTextLength } from '../../constants/sell-domain-name-constants';
|
|
47
|
+
import { tr } from '../../../useSharedLibTranslate';
|
|
53
48
|
|
|
54
49
|
export default {
|
|
55
50
|
components: {
|
|
@@ -79,14 +74,24 @@ export default {
|
|
|
79
74
|
type: Boolean,
|
|
80
75
|
required: false,
|
|
81
76
|
},
|
|
77
|
+
contentOverride: {
|
|
78
|
+
type: Object,
|
|
79
|
+
required: false,
|
|
80
|
+
default: null,
|
|
81
|
+
},
|
|
82
82
|
},
|
|
83
83
|
emits: ['onSearch', 'onSearchTextInputChange'],
|
|
84
|
+
setup() {
|
|
85
|
+
return {
|
|
86
|
+
searchButtonLabel: tr('sellDomainNameSearch.searchButtonLabel'),
|
|
87
|
+
searchBarLabel: tr('sellDomainNameSearch.searchBarLabel'),
|
|
88
|
+
searchBarPlaceholder: tr('sellDomainNameSearch.searchBarPlaceholder'),
|
|
89
|
+
searchBarPreText: tr('sellDomainNameSearch.searchBarPreText'),
|
|
90
|
+
};
|
|
91
|
+
},
|
|
84
92
|
data() {
|
|
85
93
|
return {
|
|
86
|
-
searchBarLabel: sellDomainNameSearchBarLabel,
|
|
87
|
-
searchBarPlaceholder: sellDomainNameSearchBarPlaceholder,
|
|
88
94
|
searchText: this.initialSearchTerm ?? '',
|
|
89
|
-
searchBarPreText: sellDomainNameSearchBarPreText,
|
|
90
95
|
};
|
|
91
96
|
},
|
|
92
97
|
computed: {
|
package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue
CHANGED
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
@on-buy-now-click="onBuyNowClick"
|
|
29
29
|
/>
|
|
30
30
|
<div v-else-if="shouldShowDomainNameNotFound" class="tw-flex tw-justify-center tw-text-center">
|
|
31
|
-
|
|
31
|
+
{{ domainSearchEmptyMessageWithUserDomainName }}
|
|
32
32
|
<br />
|
|
33
|
-
|
|
33
|
+
{{ searchAnotherDomainMessage }}
|
|
34
34
|
</div>
|
|
35
35
|
<div v-else></div>
|
|
36
36
|
</div>
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script>
|
|
40
|
-
import Loader from '
|
|
41
|
-
import Picture from '
|
|
42
|
-
|
|
40
|
+
import Loader from '../../../atoms/components/Loader/Loader.vue';
|
|
41
|
+
import Picture from '../../../atoms/components/Picture/Picture.vue';
|
|
43
42
|
import SellDomainNameList from '../SellDomainNameList/SellDomainNameList.vue';
|
|
44
43
|
import Events from '../../constants/event-constants';
|
|
44
|
+
import { tr } from '../../../useSharedLibTranslate';
|
|
45
45
|
|
|
46
46
|
export default {
|
|
47
47
|
components: {
|
|
@@ -101,12 +101,23 @@ export default {
|
|
|
101
101
|
default: undefined,
|
|
102
102
|
},
|
|
103
103
|
},
|
|
104
|
+
setup() {
|
|
105
|
+
return {
|
|
106
|
+
tr,
|
|
107
|
+
searchAnotherDomainMessage: tr('sellDomainNameListSearchResult.searchAnotherDomainMessage'),
|
|
108
|
+
};
|
|
109
|
+
},
|
|
104
110
|
data() {
|
|
105
111
|
return {
|
|
106
112
|
domainNameItemsInView: undefined,
|
|
107
113
|
};
|
|
108
114
|
},
|
|
109
115
|
computed: {
|
|
116
|
+
domainSearchEmptyMessageWithUserDomainName() {
|
|
117
|
+
return tr('sellDomainNameListSearchResult.domainSearchEmptyMessage', {
|
|
118
|
+
domainNameSearchTerm: this.previousSearchText,
|
|
119
|
+
});
|
|
120
|
+
},
|
|
110
121
|
shouldShowDomainNameNotFound() {
|
|
111
122
|
return (
|
|
112
123
|
!this.isBusy &&
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
|
|
3
|
+
{{ domainSearchOrConnectHeaderSubtitle }}
|
|
4
4
|
<div class="tw-flex tw-flex-col md:tw-flex-row tw-mt-4 tw-mb-4">
|
|
5
5
|
<TextInput
|
|
6
6
|
v-model="searchText"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<Button
|
|
19
19
|
classes="tw-w-full tw-mt-2 md:tw-rounded-l-none md:tw-mt-0"
|
|
20
20
|
variant="primary"
|
|
21
|
-
label="
|
|
21
|
+
:label="searchButtonLabel"
|
|
22
22
|
:disabled="false"
|
|
23
23
|
@on-click="onSearchBarClick"
|
|
24
24
|
/>
|
|
@@ -31,21 +31,18 @@
|
|
|
31
31
|
:domain-name-items="domainNameItems"
|
|
32
32
|
:previous-search-text="previousSearchText"
|
|
33
33
|
:visible="isSearchDomainListModalVisible"
|
|
34
|
+
:search-button-label="searchButtonLabel"
|
|
34
35
|
@close-modal="onSellDomainNameListCloseModal"
|
|
35
36
|
@search="onSearchDomainName(true)"
|
|
36
37
|
/>
|
|
37
38
|
</div>
|
|
38
39
|
</template>
|
|
39
40
|
<script>
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
|
|
41
|
+
import { tr } from '../../../useSharedLibTranslate';
|
|
42
|
+
import Button from '../../../atoms/components/Button/Button.vue';
|
|
43
|
+
import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
|
|
43
44
|
import SellDomainNameListModal from '../SellDomainNameListModal/SellDomainNameListModal.vue';
|
|
44
|
-
import {
|
|
45
|
-
sellDomainNameMinSearchTextLength,
|
|
46
|
-
sellDomainNameSearchBarLabel,
|
|
47
|
-
sellDomainNameSearchBarPlaceholder,
|
|
48
|
-
} from '../../constants/sell-domain-name-constants';
|
|
45
|
+
import { sellDomainNameMinSearchTextLength } from '../../constants/sell-domain-name-constants';
|
|
49
46
|
import Events from '../../constants/event-constants';
|
|
50
47
|
import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
|
|
51
48
|
|
|
@@ -76,13 +73,19 @@ export default {
|
|
|
76
73
|
default: false,
|
|
77
74
|
},
|
|
78
75
|
},
|
|
76
|
+
setup() {
|
|
77
|
+
return {
|
|
78
|
+
searchButtonLabel: tr('sellDomainNameWidget.searchButtonLabel'),
|
|
79
|
+
searchBarLabel: tr('sellDomainNameWidget.searchBarLabel'),
|
|
80
|
+
searchBarPlaceholder: tr('sellDomainNameWidget.searchBarPlaceholder'),
|
|
81
|
+
domainSearchOrConnectHeaderSubtitle: tr('sellDomainNameWidget.domainSearchOrConnectHeaderSubtitle'),
|
|
82
|
+
};
|
|
83
|
+
},
|
|
79
84
|
data: () => ({
|
|
80
85
|
domainNameItems: undefined,
|
|
81
86
|
userCurrency: undefined,
|
|
82
87
|
isBusy: false,
|
|
83
88
|
isSearchDomainListModalVisible: false,
|
|
84
|
-
searchBarLabel: sellDomainNameSearchBarLabel,
|
|
85
|
-
searchBarPlaceholder: sellDomainNameSearchBarPlaceholder,
|
|
86
89
|
searchText: '',
|
|
87
90
|
previousSearchText: '',
|
|
88
91
|
}),
|
package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sellDomainNameWidget": {
|
|
3
|
+
"searchButtonLabel": "Suche",
|
|
4
|
+
"searchBarLabel": "Suche",
|
|
5
|
+
"searchBarPlaceholder": "Domainnamen suchen",
|
|
6
|
+
"domainSearchOrConnectHeaderSubtitle": "Kaufen Sie passende Domains für Ihre Marke oder verknüpfen Sie Ihre bestehende Domain"
|
|
7
|
+
}
|
|
8
|
+
}
|
package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sellDomainNameWidget": {
|
|
3
|
+
"searchButtonLabel": "Buscar",
|
|
4
|
+
"searchBarLabel": "Buscar",
|
|
5
|
+
"searchBarPlaceholder": "Busca nombres de dominio",
|
|
6
|
+
"domainSearchOrConnectHeaderSubtitle": "Compra un nombre de dominio que coincida con tu marca o conecta tu dominio existente"
|
|
7
|
+
}
|
|
8
|
+
}
|
package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sellDomainNameWidget": {
|
|
3
|
+
"searchButtonLabel": "Rechercher",
|
|
4
|
+
"searchBarLabel": "Rechercher",
|
|
5
|
+
"searchBarPlaceholder": "Rechercher des noms de domaine",
|
|
6
|
+
"domainSearchOrConnectHeaderSubtitle": "Achetez un nom de domaine correspondant à votre marque ou connectez votre domaine existant"
|
|
7
|
+
}
|
|
8
|
+
}
|
package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sellDomainNameWidget": {
|
|
3
|
+
"searchButtonLabel": "Pesquisar",
|
|
4
|
+
"searchBarLabel": "Pesquisar",
|
|
5
|
+
"searchBarPlaceholder": "Pesquisar nomes de domínio",
|
|
6
|
+
"domainSearchOrConnectHeaderSubtitle": "Compre um nome de domínio que corresponda à sua marca ou associe ao domínio que já tem"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
<HelloBar
|
|
5
5
|
v-if="areColorsTooClose"
|
|
6
6
|
label=""
|
|
7
|
-
|
|
7
|
+
description="Your text and background colors are too similar. Please choose a more distinct pairing to ensure they create quality designs."
|
|
8
8
|
variant="warning"
|
|
9
9
|
class="tw-m-5 tw-mt-3"
|
|
10
10
|
/>
|
|
11
11
|
<div class="tw-pb-8 tw-px-8 tw-text-center">
|
|
12
12
|
<p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
|
|
13
|
-
{{
|
|
13
|
+
Step {{ activeStep.number }} of {{ totalNumSteps }}
|
|
14
14
|
</p>
|
|
15
15
|
<h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">
|
|
16
16
|
{{ activeStep.title }}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
>
|
|
81
81
|
<Button
|
|
82
82
|
v-if="activeStep.index === 1"
|
|
83
|
-
|
|
83
|
+
label="Back"
|
|
84
84
|
size="large"
|
|
85
85
|
variant="outline"
|
|
86
86
|
container-classes="tw-mx-2"
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
/>
|
|
90
90
|
<Button
|
|
91
91
|
v-if="activeStep.index === 2"
|
|
92
|
-
|
|
92
|
+
label="Back"
|
|
93
93
|
size="large"
|
|
94
94
|
variant="outline"
|
|
95
95
|
container-classes="tw-mx-2"
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
/>
|
|
99
99
|
<Button
|
|
100
100
|
v-if="activeStep.index === 1"
|
|
101
|
-
|
|
101
|
+
label="Continue"
|
|
102
102
|
size="large"
|
|
103
103
|
variant="primary-with-icon"
|
|
104
104
|
icon="chevron-right-wide"
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
/>
|
|
109
109
|
<Button
|
|
110
110
|
v-if="activeStep.index === 2"
|
|
111
|
-
|
|
111
|
+
label="Continue"
|
|
112
112
|
size="large"
|
|
113
113
|
variant="primary-with-icon"
|
|
114
114
|
icon="chevron-right-wide"
|
|
@@ -126,7 +126,6 @@ import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
|
|
|
126
126
|
import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
|
|
127
127
|
import trackEvent from '../../helpers/tracking';
|
|
128
128
|
import hexDiff from '../../helpers/hex-diff';
|
|
129
|
-
import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
|
|
130
129
|
|
|
131
130
|
export default {
|
|
132
131
|
components: {
|
|
@@ -154,11 +153,6 @@ export default {
|
|
|
154
153
|
required: true,
|
|
155
154
|
},
|
|
156
155
|
},
|
|
157
|
-
setup() {
|
|
158
|
-
return {
|
|
159
|
-
uploadYourLogoTr,
|
|
160
|
-
};
|
|
161
|
-
},
|
|
162
156
|
data() {
|
|
163
157
|
return {
|
|
164
158
|
currentStep: null,
|
|
@@ -177,8 +171,9 @@ export default {
|
|
|
177
171
|
index: 1,
|
|
178
172
|
number: this.totalNumSteps - 1,
|
|
179
173
|
active: false,
|
|
180
|
-
title:
|
|
181
|
-
description:
|
|
174
|
+
title: 'Primary text color',
|
|
175
|
+
description:
|
|
176
|
+
'Help us setup your logo by confirming the primary text color. Choose from the available colors or click the plus icon to add another.',
|
|
182
177
|
colourData: this.logoData.logoImageDetails.textColors,
|
|
183
178
|
colours: [],
|
|
184
179
|
},
|
|
@@ -186,8 +181,9 @@ export default {
|
|
|
186
181
|
index: 2,
|
|
187
182
|
number: this.totalNumSteps,
|
|
188
183
|
active: false,
|
|
189
|
-
title:
|
|
190
|
-
description:
|
|
184
|
+
title: 'Background color',
|
|
185
|
+
description:
|
|
186
|
+
'Help us setup your logo by confirming the background color. Choose from the available colors or click the plus icon to add another.',
|
|
191
187
|
colourData: this.logoData.logoImageDetails.backgroundColors,
|
|
192
188
|
colours: [],
|
|
193
189
|
},
|
|
@@ -206,12 +202,6 @@ export default {
|
|
|
206
202
|
this.activeStep.index === 2 && hexDiff(selectedTextColour.hex, selectedBackgroundColour.hex) !== 'Different'
|
|
207
203
|
);
|
|
208
204
|
},
|
|
209
|
-
stepCounter() {
|
|
210
|
-
return this.uploadYourLogoTr('stepOf', {
|
|
211
|
-
current: this.activeStep.number,
|
|
212
|
-
total: this.totalNumSteps,
|
|
213
|
-
});
|
|
214
|
-
},
|
|
215
205
|
},
|
|
216
206
|
mounted() {
|
|
217
207
|
const keys = Object.keys(this.steps);
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
|
|
6
6
|
{{ progressLabel }}
|
|
7
7
|
</p>
|
|
8
|
-
<h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">
|
|
9
|
-
<p class="tw-mt-0">
|
|
8
|
+
<h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Business Name</h2>
|
|
9
|
+
<p class="tw-mt-0">Enter your logo text or business name</p>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<div class="tw-pb-8 tw-px-8">
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
class="tw-fixed tw-rounded-b tw-bottom-0 tw-left-0 tw-z-10 tw-bg-grayscale-200 lg:tw-static tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8 tw-box-border"
|
|
38
38
|
>
|
|
39
39
|
<Button
|
|
40
|
-
|
|
40
|
+
label="Back"
|
|
41
41
|
size="large"
|
|
42
42
|
variant="outline"
|
|
43
43
|
container-classes="tw-mx-2"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
@on-click="back"
|
|
46
46
|
/>
|
|
47
47
|
<Button
|
|
48
|
-
|
|
48
|
+
label="Continue"
|
|
49
49
|
size="large"
|
|
50
50
|
variant="primary-with-icon"
|
|
51
51
|
icon="chevron-right-wide"
|
|
@@ -57,9 +57,8 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
</template>
|
|
59
59
|
<script>
|
|
60
|
-
import Button from '
|
|
60
|
+
import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
61
61
|
import trackEvent from '../../helpers/tracking';
|
|
62
|
-
import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
|
|
63
62
|
|
|
64
63
|
export default {
|
|
65
64
|
components: {
|
|
@@ -85,11 +84,6 @@ export default {
|
|
|
85
84
|
required: true,
|
|
86
85
|
},
|
|
87
86
|
},
|
|
88
|
-
setup() {
|
|
89
|
-
return {
|
|
90
|
-
uploadYourLogoTr,
|
|
91
|
-
};
|
|
92
|
-
},
|
|
93
87
|
data() {
|
|
94
88
|
return {
|
|
95
89
|
businessText: null,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<p class="tw-text-grayscale-600 tw-font-bold tw-text-xs tw-mb-2 tw-uppercase">
|
|
6
6
|
{{ progressLabel }}
|
|
7
7
|
</p>
|
|
8
|
-
<h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">
|
|
9
|
-
<p class="tw-mt-0">
|
|
8
|
+
<h2 class="tw-mb-4 tw-text-4xl tw-text-black tw-font-bold">Crop your logo</h2>
|
|
9
|
+
<p class="tw-mt-0">Crop your logo design to fit our logo maker canvas</p>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<div class="c-byo-cropper__container lg:tw-pb-8 tw-mx-auto" :class="{ 'tw-opacity-0': !cropperToolReady }">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
class="tw-fixed tw-rounded-b tw-bottom-0 tw-left-0 tw-z-10 tw-bg-grayscale-200 lg:tw-static tw-flex tw-w-full tw-items-center tw-justify-center tw-border-0 tw-border-t tw-border-black/10 tw-border-solid tw-py-4 tw-px-8 tw-box-border"
|
|
28
28
|
>
|
|
29
29
|
<Button
|
|
30
|
-
|
|
30
|
+
label="Cancel"
|
|
31
31
|
size="large"
|
|
32
32
|
variant="outline"
|
|
33
33
|
container-classes="tw-mx-2"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@on-click="cancel"
|
|
36
36
|
/>
|
|
37
37
|
<Button
|
|
38
|
-
|
|
38
|
+
label="Continue"
|
|
39
39
|
size="large"
|
|
40
40
|
variant="primary-with-icon"
|
|
41
41
|
icon="chevron-right-wide"
|
|
@@ -51,7 +51,6 @@ import Button from '../../../../src/atoms/components/Button/Button.vue';
|
|
|
51
51
|
import VueCropper from 'vue-cropperjs';
|
|
52
52
|
|
|
53
53
|
import trackEvent from '../../helpers/tracking';
|
|
54
|
-
import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
|
|
55
54
|
|
|
56
55
|
export default {
|
|
57
56
|
components: {
|
|
@@ -73,11 +72,6 @@ export default {
|
|
|
73
72
|
required: true,
|
|
74
73
|
},
|
|
75
74
|
},
|
|
76
|
-
setup() {
|
|
77
|
-
return {
|
|
78
|
-
uploadYourLogoTr,
|
|
79
|
-
};
|
|
80
|
-
},
|
|
81
75
|
data() {
|
|
82
76
|
return {
|
|
83
77
|
cropperToolReady: false,
|