@designcrowd/fe-shared-lib 1.2.2-data-id-1 → 1.2.2-ml-jj-1
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/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/package.json +5 -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/Icon/Icon.vue +0 -1
- package/src/bundles/bundled-translations.de-DE.json +48 -2
- package/src/bundles/bundled-translations.es-ES.json +48 -2
- package/src/bundles/bundled-translations.fr-FR.json +48 -2
- package/src/bundles/bundled-translations.json +48 -2
- package/src/bundles/bundled-translations.pt-PT.json +48 -2
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageCard.vue +14 -10
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.stories.js +24 -0
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +49 -20
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +21 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +21 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +21 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.json +21 -0
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +21 -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/useSharedLibTranslate.js +2 -0
- 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
|
@@ -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
|
+
}
|
|
@@ -24,6 +24,8 @@ const setLocaleAsync = async (locale = 'en-US') => {
|
|
|
24
24
|
|
|
25
25
|
const languageFile = (await relativePathsToTranslationFiles[localeToUse]()).default;
|
|
26
26
|
|
|
27
|
+
console.log('ss', localeToUse, languageFile);
|
|
28
|
+
|
|
27
29
|
await i18next.addResourceBundle(localeToUse, 'fe-shared-lib', {
|
|
28
30
|
...languageFile,
|
|
29
31
|
});
|