@designcrowd/fe-shared-lib 1.1.12 → 1.2.0-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/main.ts +0 -3
- package/package.json +16 -15
- package/public/css/tailwind-brandCrowd.css +0 -21
- package/public/css/tailwind-brandPage.css +0 -21
- package/public/css/tailwind-crazyDomains.css +0 -21
- package/public/css/tailwind-designCom.css +0 -21
- package/public/css/tailwind-designCrowd.css +0 -21
- package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +6 -1
- package/src/experiences/components/SellDomainNameList/SellDomainNameList.vue +1 -0
- package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue +4 -0
- package/src/experiences/components/SellDomainNameSearchWithResults/SellDomainNameSearchWithResults.vue +4 -0
package/.storybook/main.ts
CHANGED
|
@@ -4,9 +4,6 @@ module.exports = {
|
|
|
4
4
|
stories: ['../src/**/components/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
5
5
|
addons: [
|
|
6
6
|
'@storybook/addon-a11y',
|
|
7
|
-
'@storybook/addon-actions',
|
|
8
|
-
'@storybook/addon-controls',
|
|
9
|
-
'@storybook/addon-essentials',
|
|
10
7
|
'@storybook/addon-links',
|
|
11
8
|
{
|
|
12
9
|
name: '@storybook/addon-themes',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.0-kp-1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "npm run storybook",
|
|
6
6
|
"build": "npm run build:css --production",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"docker:publish": "docker build . --build-arg NPM_TOKEN=$NPM_TOKEN"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@nuxtjs/i18n": "
|
|
20
|
+
"@nuxtjs/i18n": "9.5.4",
|
|
21
|
+
"@storybook/react": "^9.0.4",
|
|
21
22
|
"autoprefixer": "10.4.17",
|
|
22
23
|
"axios": "1.6.7",
|
|
23
24
|
"click-outside-vue3": "4.0.1",
|
|
@@ -29,26 +30,23 @@
|
|
|
29
30
|
"postcss-loader": "8.1.0",
|
|
30
31
|
"swiper": "11.0.6",
|
|
31
32
|
"tailwindcss": "3.4.1",
|
|
32
|
-
"vite": "
|
|
33
|
+
"vite": "6.3.5",
|
|
33
34
|
"vite-plugin-eslint": "1.8.1",
|
|
34
35
|
"vite-plugin-vue-devtools": "7.7.0",
|
|
35
|
-
"vue": "3.5.
|
|
36
|
-
"vue-color": "
|
|
36
|
+
"vue": "3.5.15",
|
|
37
|
+
"vue-color": "3.0.2",
|
|
37
38
|
"vue-cropperjs": "5.0.0",
|
|
38
39
|
"vue-observe-visibility": "1.0.0",
|
|
39
40
|
"vue-router": "4.5.0",
|
|
40
41
|
"yargs": "17.7.2"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@storybook/addon-a11y": "
|
|
44
|
-
"@storybook/addon-
|
|
45
|
-
"@storybook/addon-
|
|
46
|
-
"@storybook/
|
|
47
|
-
"@storybook/
|
|
48
|
-
"@
|
|
49
|
-
"@storybook/vue3": "8.6.11",
|
|
50
|
-
"@storybook/vue3-vite": "8.6.11",
|
|
51
|
-
"@vitejs/plugin-vue": "5.0.4",
|
|
44
|
+
"@storybook/addon-a11y": "9.0.4",
|
|
45
|
+
"@storybook/addon-links": "9.0.4",
|
|
46
|
+
"@storybook/addon-themes": "9.0.4",
|
|
47
|
+
"@storybook/vue3": "9.0.4",
|
|
48
|
+
"@storybook/vue3-vite": "9.0.4",
|
|
49
|
+
"@vitejs/plugin-vue": "5.2.4",
|
|
52
50
|
"@vue/cli-plugin-eslint": "5.0.8",
|
|
53
51
|
"@vue/cli-service": "5.0.8",
|
|
54
52
|
"@vue/eslint-config-airbnb": "8.0.0",
|
|
@@ -69,7 +67,7 @@
|
|
|
69
67
|
"postcss-import": "16.0.0",
|
|
70
68
|
"postcss-nested": "6.0.1",
|
|
71
69
|
"prettier": "3.2.4",
|
|
72
|
-
"storybook": "
|
|
70
|
+
"storybook": "9.0.4",
|
|
73
71
|
"stylelint": "16.2.1",
|
|
74
72
|
"stylelint-config-standard": "36.0.0",
|
|
75
73
|
"tailwindcss": "3.4.1",
|
|
@@ -106,5 +104,8 @@
|
|
|
106
104
|
"./src/*.js": {
|
|
107
105
|
"import": "./src/*.js"
|
|
108
106
|
}
|
|
107
|
+
},
|
|
108
|
+
"overrides": {
|
|
109
|
+
"storybook": "$storybook"
|
|
109
110
|
}
|
|
110
111
|
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-brandCrowd .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-brandCrowd .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-brandCrowd .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -1020,9 +1017,6 @@ video {
|
|
|
1020
1017
|
.theme-brandCrowd .tw-animate-spin {
|
|
1021
1018
|
animation: tw-spin 1s linear infinite;
|
|
1022
1019
|
}
|
|
1023
|
-
.\!tw-cursor-not-allowed {
|
|
1024
|
-
cursor: not-allowed !important;
|
|
1025
|
-
}
|
|
1026
1020
|
.theme-brandCrowd .tw-cursor-not-allowed {
|
|
1027
1021
|
cursor: not-allowed;
|
|
1028
1022
|
}
|
|
@@ -1456,17 +1450,6 @@ video {
|
|
|
1456
1450
|
.theme-brandCrowd .tw-bg-opacity-80 {
|
|
1457
1451
|
--tw-bg-opacity: 0.8;
|
|
1458
1452
|
}
|
|
1459
|
-
.theme-brandCrowd .tw-bg-gradient-to-t {
|
|
1460
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1461
|
-
}
|
|
1462
|
-
.theme-brandCrowd .tw-from-\[\#d946ef\] {
|
|
1463
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1464
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1465
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1466
|
-
}
|
|
1467
|
-
.theme-brandCrowd .tw-to-\[\#8b5cf6\] {
|
|
1468
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1469
|
-
}
|
|
1470
1453
|
.theme-brandCrowd .tw-bg-no-repeat {
|
|
1471
1454
|
background-repeat: no-repeat;
|
|
1472
1455
|
}
|
|
@@ -2108,10 +2091,6 @@ video {
|
|
|
2108
2091
|
--tw-shadow-color: #0097D7 !important;
|
|
2109
2092
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2110
2093
|
}
|
|
2111
|
-
.theme-brandCrowd .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2112
|
-
--tw-brightness: brightness(0.85);
|
|
2113
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2114
|
-
}
|
|
2115
2094
|
.theme-brandCrowd .focus\:tw-border-error-600:focus {
|
|
2116
2095
|
--tw-border-opacity: 1;
|
|
2117
2096
|
border-color: rgb(194 22 50 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-brandPage .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-brandPage .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-brandPage .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -1020,9 +1017,6 @@ video {
|
|
|
1020
1017
|
.theme-brandPage .tw-animate-spin {
|
|
1021
1018
|
animation: tw-spin 1s linear infinite;
|
|
1022
1019
|
}
|
|
1023
|
-
.\!tw-cursor-not-allowed {
|
|
1024
|
-
cursor: not-allowed !important;
|
|
1025
|
-
}
|
|
1026
1020
|
.theme-brandPage .tw-cursor-not-allowed {
|
|
1027
1021
|
cursor: not-allowed;
|
|
1028
1022
|
}
|
|
@@ -1304,17 +1298,6 @@ video {
|
|
|
1304
1298
|
.theme-brandPage .tw-bg-opacity-80 {
|
|
1305
1299
|
--tw-bg-opacity: 0.8;
|
|
1306
1300
|
}
|
|
1307
|
-
.theme-brandPage .tw-bg-gradient-to-t {
|
|
1308
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1309
|
-
}
|
|
1310
|
-
.theme-brandPage .tw-from-\[\#d946ef\] {
|
|
1311
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1312
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1313
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1314
|
-
}
|
|
1315
|
-
.theme-brandPage .tw-to-\[\#8b5cf6\] {
|
|
1316
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1317
|
-
}
|
|
1318
1301
|
.theme-brandPage .tw-bg-no-repeat {
|
|
1319
1302
|
background-repeat: no-repeat;
|
|
1320
1303
|
}
|
|
@@ -1812,10 +1795,6 @@ video {
|
|
|
1812
1795
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1813
1796
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1814
1797
|
}
|
|
1815
|
-
.theme-brandPage .hover\:tw-brightness-\[0\.85\]:hover {
|
|
1816
|
-
--tw-brightness: brightness(0.85);
|
|
1817
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1818
|
-
}
|
|
1819
1798
|
.theme-brandPage .focus\:tw-border-grayscale-600:focus {
|
|
1820
1799
|
--tw-border-opacity: 1;
|
|
1821
1800
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-crazyDomains .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-crazyDomains .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-crazyDomains .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -1020,9 +1017,6 @@ video {
|
|
|
1020
1017
|
.theme-crazyDomains .tw-animate-spin {
|
|
1021
1018
|
animation: tw-spin 1s linear infinite;
|
|
1022
1019
|
}
|
|
1023
|
-
.\!tw-cursor-not-allowed {
|
|
1024
|
-
cursor: not-allowed !important;
|
|
1025
|
-
}
|
|
1026
1020
|
.theme-crazyDomains .tw-cursor-not-allowed {
|
|
1027
1021
|
cursor: not-allowed;
|
|
1028
1022
|
}
|
|
@@ -1456,17 +1450,6 @@ video {
|
|
|
1456
1450
|
.theme-crazyDomains .tw-bg-opacity-80 {
|
|
1457
1451
|
--tw-bg-opacity: 0.8;
|
|
1458
1452
|
}
|
|
1459
|
-
.theme-crazyDomains .tw-bg-gradient-to-t {
|
|
1460
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1461
|
-
}
|
|
1462
|
-
.theme-crazyDomains .tw-from-\[\#d946ef\] {
|
|
1463
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1464
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1465
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1466
|
-
}
|
|
1467
|
-
.theme-crazyDomains .tw-to-\[\#8b5cf6\] {
|
|
1468
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1469
|
-
}
|
|
1470
1453
|
.theme-crazyDomains .tw-bg-no-repeat {
|
|
1471
1454
|
background-repeat: no-repeat;
|
|
1472
1455
|
}
|
|
@@ -2108,10 +2091,6 @@ video {
|
|
|
2108
2091
|
--tw-shadow-color: #00A1EF !important;
|
|
2109
2092
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2110
2093
|
}
|
|
2111
|
-
.theme-crazyDomains .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2112
|
-
--tw-brightness: brightness(0.85);
|
|
2113
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2114
|
-
}
|
|
2115
2094
|
.theme-crazyDomains .focus\:tw-border-error-600:focus {
|
|
2116
2095
|
--tw-border-opacity: 1;
|
|
2117
2096
|
border-color: rgb(186 24 79 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-designCom .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-designCom .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-designCom .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -1020,9 +1017,6 @@ video {
|
|
|
1020
1017
|
.theme-designCom .tw-animate-spin {
|
|
1021
1018
|
animation: tw-spin 1s linear infinite;
|
|
1022
1019
|
}
|
|
1023
|
-
.\!tw-cursor-not-allowed {
|
|
1024
|
-
cursor: not-allowed !important;
|
|
1025
|
-
}
|
|
1026
1020
|
.theme-designCom .tw-cursor-not-allowed {
|
|
1027
1021
|
cursor: not-allowed;
|
|
1028
1022
|
}
|
|
@@ -1456,17 +1450,6 @@ video {
|
|
|
1456
1450
|
.theme-designCom .tw-bg-opacity-80 {
|
|
1457
1451
|
--tw-bg-opacity: 0.8;
|
|
1458
1452
|
}
|
|
1459
|
-
.theme-designCom .tw-bg-gradient-to-t {
|
|
1460
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1461
|
-
}
|
|
1462
|
-
.theme-designCom .tw-from-\[\#d946ef\] {
|
|
1463
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1464
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1465
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1466
|
-
}
|
|
1467
|
-
.theme-designCom .tw-to-\[\#8b5cf6\] {
|
|
1468
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1469
|
-
}
|
|
1470
1453
|
.theme-designCom .tw-bg-no-repeat {
|
|
1471
1454
|
background-repeat: no-repeat;
|
|
1472
1455
|
}
|
|
@@ -2108,10 +2091,6 @@ video {
|
|
|
2108
2091
|
--tw-shadow-color: #3f59f6 !important;
|
|
2109
2092
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2110
2093
|
}
|
|
2111
|
-
.theme-designCom .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2112
|
-
--tw-brightness: brightness(0.85);
|
|
2113
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2114
|
-
}
|
|
2115
2094
|
.theme-designCom .focus\:tw-border-error-600:focus {
|
|
2116
2095
|
--tw-border-opacity: 1;
|
|
2117
2096
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-designCrowd .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-designCrowd .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-designCrowd .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -1020,9 +1017,6 @@ video {
|
|
|
1020
1017
|
.theme-designCrowd .tw-animate-spin {
|
|
1021
1018
|
animation: tw-spin 1s linear infinite;
|
|
1022
1019
|
}
|
|
1023
|
-
.\!tw-cursor-not-allowed {
|
|
1024
|
-
cursor: not-allowed !important;
|
|
1025
|
-
}
|
|
1026
1020
|
.theme-designCrowd .tw-cursor-not-allowed {
|
|
1027
1021
|
cursor: not-allowed;
|
|
1028
1022
|
}
|
|
@@ -1456,17 +1450,6 @@ video {
|
|
|
1456
1450
|
.theme-designCrowd .tw-bg-opacity-80 {
|
|
1457
1451
|
--tw-bg-opacity: 0.8;
|
|
1458
1452
|
}
|
|
1459
|
-
.theme-designCrowd .tw-bg-gradient-to-t {
|
|
1460
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1461
|
-
}
|
|
1462
|
-
.theme-designCrowd .tw-from-\[\#d946ef\] {
|
|
1463
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1464
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1465
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1466
|
-
}
|
|
1467
|
-
.theme-designCrowd .tw-to-\[\#8b5cf6\] {
|
|
1468
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1469
|
-
}
|
|
1470
1453
|
.theme-designCrowd .tw-bg-no-repeat {
|
|
1471
1454
|
background-repeat: no-repeat;
|
|
1472
1455
|
}
|
|
@@ -2108,10 +2091,6 @@ video {
|
|
|
2108
2091
|
--tw-shadow-color: #1197EB !important;
|
|
2109
2092
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2110
2093
|
}
|
|
2111
|
-
.theme-designCrowd .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2112
|
-
--tw-brightness: brightness(0.85);
|
|
2113
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2114
|
-
}
|
|
2115
2094
|
.theme-designCrowd .focus\:tw-border-error-600:focus {
|
|
2116
2095
|
--tw-border-opacity: 1;
|
|
2117
2096
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
@@ -196,6 +196,7 @@
|
|
|
196
196
|
:display-result-limit="4"
|
|
197
197
|
:domain-search-location="sitePublishedModal"
|
|
198
198
|
@on-change-search="onSearchTextChanged"
|
|
199
|
+
@on-buy-now-click="onBuyNowClick"
|
|
199
200
|
/>
|
|
200
201
|
</div>
|
|
201
202
|
<Button
|
|
@@ -489,7 +490,7 @@ export default {
|
|
|
489
490
|
this.$emit('on-hide-domain-modal');
|
|
490
491
|
},
|
|
491
492
|
onCopyUrlClick() {
|
|
492
|
-
this.$emit('copy-url-
|
|
493
|
+
this.$emit('copy-url-clicked');
|
|
493
494
|
},
|
|
494
495
|
onSlugChanged(e) {
|
|
495
496
|
this.searchText = e;
|
|
@@ -509,6 +510,7 @@ export default {
|
|
|
509
510
|
},
|
|
510
511
|
onSearchTextChanged(val) {
|
|
511
512
|
this.searchText = val;
|
|
513
|
+
this.$emit('on-change-search', val);
|
|
512
514
|
},
|
|
513
515
|
onSelectPurchasedDomain(newVal) {
|
|
514
516
|
this.selectedCustomDomain = newVal;
|
|
@@ -524,6 +526,9 @@ export default {
|
|
|
524
526
|
onSellDomainNameListCloseModal() {
|
|
525
527
|
this.$emit('on-hide-domain-modal');
|
|
526
528
|
},
|
|
529
|
+
onBuyNowClick() {
|
|
530
|
+
this.$emit('on-buy-now-clicked');
|
|
531
|
+
},
|
|
527
532
|
async searchDomainName(isUserTriggered) {
|
|
528
533
|
this.isLoading = true;
|
|
529
534
|
let searchSlug = '';
|
|
@@ -114,6 +114,7 @@ export default {
|
|
|
114
114
|
if (typeof this.domainSearchLocation !== 'undefined') {
|
|
115
115
|
request.domainSearchLocation = this.domainSearchLocation;
|
|
116
116
|
}
|
|
117
|
+
this.$emit('on-buy-now-click');
|
|
117
118
|
window.dispatchEvent(
|
|
118
119
|
new CustomEvent(Events.DomainSelectedEvent, {
|
|
119
120
|
detail: request,
|
package/src/experiences/components/SellDomainNameSearchResult/SellDomainNameListSearchResult.vue
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
:load-more-domains-button-text="loadMoreDomainsButtonText"
|
|
26
26
|
:domain-search-location="domainSearchLocation"
|
|
27
27
|
@load-more-domains="onLoadMoreDomains"
|
|
28
|
+
@on-buy-now-click="onBuyNowClick"
|
|
28
29
|
/>
|
|
29
30
|
<div v-else-if="shouldShowDomainNameNotFound" class="tw-flex tw-justify-center tw-text-center">
|
|
30
31
|
Sorry, we couldn't find any domain for "{{ previousSearchText }}".
|
|
@@ -145,6 +146,9 @@ export default {
|
|
|
145
146
|
window.dispatchEvent(new CustomEvent(Events.DomainLoadMoreEvent));
|
|
146
147
|
this.domainNameItemsInView += this.domainNameItemsPerPage;
|
|
147
148
|
},
|
|
149
|
+
onBuyNowClick() {
|
|
150
|
+
this.$emit('on-buy-now-click');
|
|
151
|
+
},
|
|
148
152
|
resetDomainNameItemsInView() {
|
|
149
153
|
this.domainNameItemsInView = this.domainNameItemsPerPage;
|
|
150
154
|
},
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
:domain-name-items-per-page="domainNameItemsPerPage"
|
|
21
21
|
:load-more-domains-button-text="loadMoreDomainsButtonText"
|
|
22
22
|
:domain-search-location="domainSearchLocation"
|
|
23
|
+
@on-buy-now-click="onBuyNowClick"
|
|
23
24
|
/>
|
|
24
25
|
</div>
|
|
25
26
|
</template>
|
|
@@ -170,6 +171,9 @@ export default {
|
|
|
170
171
|
this.isBusy = false;
|
|
171
172
|
}
|
|
172
173
|
},
|
|
174
|
+
onBuyNowClick() {
|
|
175
|
+
this.$emit('on-buy-now-click');
|
|
176
|
+
},
|
|
173
177
|
cleanText(inputText) {
|
|
174
178
|
// In this function, we use the Unicode property escapes \p{L} and \p{N} to match any Unicode letters (characters from various scripts) and Unicode numbers, respectively.
|
|
175
179
|
const cleanedText = inputText.replace(/[^\p{L}\p{N}\-.]+/gu, '');
|