@designcrowd/fe-shared-lib 1.2.24-ast-upsell-4 → 1.2.24-hide-page-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.
@@ -22,14 +22,6 @@
22
22
  :domain-search-location="domainSearchLocation"
23
23
  @on-buy-now-click="onBuyNowClick"
24
24
  />
25
- <Button
26
- v-if="showViewMoreButton"
27
- :label="viewMoreDomainLabel"
28
- variant="no-border"
29
- size="small-medium"
30
- class="tw-text-center tw-pt-6"
31
- @on-click="onViewMore"
32
- />
33
25
  </div>
34
26
  </template>
35
27
  <script>
@@ -38,8 +30,6 @@ import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomain
38
30
 
39
31
  import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
40
32
  import Events from '../../constants/event-constants';
41
- import { publishBrandPageModalTr } from '../../../useSharedLibTranslate';
42
- import Button from '../../../atoms/components/Button/Button.vue';
43
33
 
44
34
  const TEXT_CHANGED_PARAM = 'textChanged';
45
35
 
@@ -47,7 +37,6 @@ export default {
47
37
  components: {
48
38
  SellDomainNameSearch,
49
39
  SellDomainNameSearchResult,
50
- Button,
51
40
  },
52
41
  props: {
53
42
  currency: {
@@ -112,16 +101,6 @@ export default {
112
101
  type: Number,
113
102
  default: undefined,
114
103
  },
115
- showViewMoreButton: {
116
- type: Boolean,
117
- default: false,
118
- },
119
- },
120
- setup() {
121
- return {
122
- publishBrandPageModalTr,
123
- viewMoreDomainLabel: publishBrandPageModalTr('viewMoreDomainLabel'),
124
- };
125
104
  },
126
105
  data: () => ({
127
106
  domainNameItems: undefined,
@@ -147,7 +126,6 @@ export default {
147
126
  methods: {
148
127
  async onSearchDomainName(args) {
149
128
  this.$emit('on-change-search', args.searchText);
150
- this.$emit('on-domain-search');
151
129
  await this.searchDomainName(args.searchText, args.isUserTriggered);
152
130
  },
153
131
  async searchDomainName(searchText, isUserTriggered) {
@@ -206,9 +184,6 @@ export default {
206
184
  const urlParams = new URLSearchParams(window.location.search);
207
185
  return urlParams.get(TEXT_CHANGED_PARAM)?.toUpperCase() === 'TRUE' || false;
208
186
  },
209
- onViewMore() {
210
- this.$emit('on-view-more');
211
- },
212
187
  },
213
188
  };
214
189
  </script>
@@ -1,24 +0,0 @@
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
- "websiteFriendlyName" : "Website",
22
- "digitalBusinessCardFriendlyName" : "Digital Business Card"
23
- }
24
- }