@designcrowd/fe-shared-lib 1.5.12 → 1.5.14-kp-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/.storybook-static/css/tailwind-brandCrowd.css +2472 -0
- package/.storybook-static/css/tailwind-brandPage.css +2156 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2472 -0
- package/.storybook-static/css/tailwind-designCom.css +2472 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2472 -0
- package/.storybook-static/favicon.svg +1 -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/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +2504 -0
- package/public/css/tailwind-brandPage.css +2184 -0
- package/public/css/tailwind-crazyDomains.css +2504 -0
- package/public/css/tailwind-designCom.css +2504 -0
- package/public/css/tailwind-designCrowd.css +2504 -0
- package/src/atoms/components/Icon/Icon.stories.js +1 -0
- package/src/atoms/components/Icon/Icon.vue +2 -0
- package/src/atoms/components/Icon/icons/page-blank.vue +6 -0
- package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue +15 -2
|
@@ -39,6 +39,7 @@ import IconAspectRatio9_16 from './icons/ratio-9-16.vue';
|
|
|
39
39
|
/* eslint-enable camelcase */
|
|
40
40
|
import IconAbout from './icons/about.vue';
|
|
41
41
|
import IconAddPage from './icons/add-page.vue';
|
|
42
|
+
import IconPageBlank from './icons/page-blank.vue';
|
|
42
43
|
import IconAi from './icons/ai.vue';
|
|
43
44
|
import IconArrowDown from './icons/arrow-down.vue';
|
|
44
45
|
import IconArrowLeft from './icons/arrow-left.vue';
|
|
@@ -423,6 +424,7 @@ export default {
|
|
|
423
424
|
IconCalculator,
|
|
424
425
|
IconAbout,
|
|
425
426
|
IconAddPage,
|
|
427
|
+
IconPageBlank,
|
|
426
428
|
IconAi,
|
|
427
429
|
IconArrowDown,
|
|
428
430
|
IconArrowLeft,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<path
|
|
3
|
+
d="M12.8172 3.67969C13.0724 3.9349 13.2 4.24479 13.2 4.60938V13.6875C13.2 14.0521 13.0724 14.362 12.8172 14.6172C12.562 14.8724 12.2521 15 11.8875 15H4.0125C3.64792 15 3.33802 14.8724 3.08281 14.6172C2.8276 14.362 2.7 14.0521 2.7 13.6875V2.3125C2.7 1.94792 2.8276 1.63802 3.08281 1.38281C3.33802 1.1276 3.64792 1 4.0125 1H9.59063C9.95521 1 10.2651 1.1276 10.5203 1.38281L12.8172 3.67969ZM9.7 2.42188V4.5H11.7781L9.7 2.42188ZM11.8875 13.6875V5.8125H9.04375C8.86146 5.8125 8.70651 5.7487 8.57891 5.62109C8.4513 5.49349 8.3875 5.33854 8.3875 5.15625V2.3125H4.0125V13.6875H11.8875Z"
|
|
4
|
+
fill-rule="nonzero"
|
|
5
|
+
/>
|
|
6
|
+
</template>
|
package/src/experiences/components/SellDomainNameModalApplication/SellDomainNameModalApplication.vue
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
:domain-name-items="domainNameItems"
|
|
32
32
|
:currency="userCurrency"
|
|
33
33
|
:model-value="modelValue"
|
|
34
|
+
@on-buy-now-click="onBuyNowClick"
|
|
34
35
|
/>
|
|
35
36
|
</template>
|
|
36
37
|
</Modal>
|
|
@@ -76,7 +77,7 @@ import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
|
|
|
76
77
|
import SellDomainNameSearch from '../SellDomainNameSearch/SellDomainNameSearch.vue';
|
|
77
78
|
import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomainNameListSearchResult.vue';
|
|
78
79
|
import Events from '../../constants/event-constants';
|
|
79
|
-
import { sellDomainNameModalApplicationTr } from '../../../useSharedLibTranslate';
|
|
80
|
+
import { getCurrentLocale, sellDomainNameModalApplicationTr } from '../../../useSharedLibTranslate';
|
|
80
81
|
|
|
81
82
|
export default {
|
|
82
83
|
components: {
|
|
@@ -123,7 +124,7 @@ export default {
|
|
|
123
124
|
setup() {
|
|
124
125
|
return {
|
|
125
126
|
domainSearchHeaderTitle: sellDomainNameModalApplicationTr('domainSearchHeaderTitle'),
|
|
126
|
-
domainSearchHeaderSubtitle: sellDomainNameModalApplicationTr('
|
|
127
|
+
domainSearchHeaderSubtitle: sellDomainNameModalApplicationTr('domainSearchHeaderSubtitle'),
|
|
127
128
|
};
|
|
128
129
|
},
|
|
129
130
|
data: () => ({
|
|
@@ -139,6 +140,11 @@ export default {
|
|
|
139
140
|
this.searchDomainName(false);
|
|
140
141
|
}
|
|
141
142
|
},
|
|
143
|
+
computed: {
|
|
144
|
+
currentLocale() {
|
|
145
|
+
return getCurrentLocale();
|
|
146
|
+
},
|
|
147
|
+
},
|
|
142
148
|
methods: {
|
|
143
149
|
async onSearchDomainName(event) {
|
|
144
150
|
this.searchText = event.searchText;
|
|
@@ -159,6 +165,10 @@ export default {
|
|
|
159
165
|
request.logoDraftToken = this.logoDraftToken;
|
|
160
166
|
}
|
|
161
167
|
|
|
168
|
+
if (this.currentLocale) {
|
|
169
|
+
request.locale = this.currentLocale;
|
|
170
|
+
}
|
|
171
|
+
|
|
162
172
|
window.dispatchEvent(new CustomEvent(Events.DomainSearchEvent, { detail: request }));
|
|
163
173
|
const result = await brandCrowdApiClient.searchDomainNamesByKeywordAsync(request);
|
|
164
174
|
if (!result) {
|
|
@@ -182,6 +192,9 @@ export default {
|
|
|
182
192
|
onCloseModal() {
|
|
183
193
|
this.$emit('close-modal');
|
|
184
194
|
},
|
|
195
|
+
onBuyNowClick() {
|
|
196
|
+
this.$emit('on-buy-now-click');
|
|
197
|
+
},
|
|
185
198
|
onSearchTextInputChange(newVal) {
|
|
186
199
|
this.searchText = newVal;
|
|
187
200
|
},
|