@designcrowd/fe-shared-lib 1.5.7 → 1.5.9-dbc-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.
@@ -406,6 +406,8 @@ import IconClipboardCheck from './icons/clipboard-check.vue';
406
406
  import IconBadge from './icons/badge.vue';
407
407
  import IconCalculator from './icons/calculator.vue';
408
408
 
409
+ import IconGroup from './icons/group.vue';
410
+
409
411
  export default {
410
412
  components: {
411
413
  IconFile,
@@ -688,6 +690,8 @@ export default {
688
690
  IconBan,
689
691
  IconShape,
690
692
 
693
+ IconGroup,
694
+
691
695
  // Maker icons
692
696
  IconMakerAnimate,
693
697
  IconMakerCustomLandscape,
@@ -0,0 +1,8 @@
1
+ <template>
2
+ <svg width="14" height="10" viewBox="0 0 14 10" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path
4
+ d="M3.08437 3.86161C2.80729 4.14435 2.47917 4.28571 2.1 4.28571C1.72083 4.28571 1.39271 4.14435 1.11563 3.86161C0.838542 3.57887 0.7 3.24405 0.7 2.85714C0.7 2.47024 0.838542 2.13542 1.11563 1.85268C1.39271 1.56994 1.72083 1.42857 2.1 1.42857C2.47917 1.42857 2.80729 1.56994 3.08437 1.85268C3.36146 2.13542 3.5 2.47024 3.5 2.85714C3.5 3.24405 3.36146 3.57887 3.08437 3.86161ZM12.8844 3.86161C12.6073 4.14435 12.2792 4.28571 11.9 4.28571C11.5208 4.28571 11.1927 4.14435 10.9156 3.86161C10.6385 3.57887 10.5 3.24405 10.5 2.85714C10.5 2.47024 10.6385 2.13542 10.9156 1.85268C11.1927 1.56994 11.5208 1.42857 11.9 1.42857C12.2792 1.42857 12.6073 1.56994 12.8844 1.85268C13.1615 2.13542 13.3 2.47024 13.3 2.85714C13.3 3.24405 13.1615 3.57887 12.8844 3.86161ZM12.6 5C12.9792 5 13.3073 5.14137 13.5844 5.42411C13.8615 5.70685 14 6.04167 14 6.42857V7.14286C14 7.33631 13.9271 7.50744 13.7812 7.65625C13.65 7.79018 13.4896 7.85714 13.3 7.85714H11.8562C11.8125 7.51488 11.7177 7.1875 11.5719 6.875C11.426 6.5625 11.2365 6.2872 11.0031 6.04911C10.7698 5.79613 10.5073 5.5878 10.2156 5.42411C10.4927 5.14137 10.8208 5 11.2 5H12.6ZM8.72812 4.26339C8.24687 4.75446 7.67083 5 7 5C6.32917 5 5.75313 4.75446 5.27187 4.26339C4.79063 3.77232 4.55 3.18452 4.55 2.5C4.55 1.81548 4.79063 1.22768 5.27187 0.736607C5.75313 0.245536 6.32917 0 7 0C7.67083 0 8.24687 0.245536 8.72812 0.736607C9.20938 1.22768 9.45 1.81548 9.45 2.5C9.45 3.18452 9.20938 3.77232 8.72812 4.26339ZM8.68437 5.71429C9.38437 5.71429 9.975 5.96726 10.4563 6.47321C10.9521 6.96429 11.2 7.56696 11.2 8.28125V8.92857C11.2 9.22619 11.0979 9.47917 10.8938 9.6875C10.6896 9.89583 10.4417 10 10.15 10H3.85C3.55833 10 3.31042 9.89583 3.10625 9.6875C2.90208 9.47917 2.8 9.22619 2.8 8.92857V8.28125C2.8 7.56696 3.04063 6.96429 3.52187 6.47321C4.01771 5.96726 4.61562 5.71429 5.31563 5.71429H5.5125C5.99375 5.95238 6.48958 6.07143 7 6.07143C7.51042 6.07143 8.00625 5.95238 8.4875 5.71429H8.68437ZM3.78437 5.42411C3.34687 5.6622 2.98229 5.99702 2.69062 6.42857C2.39896 6.86012 2.21667 7.33631 2.14375 7.85714H0.7C0.510417 7.85714 0.342708 7.79018 0.196875 7.65625C0.065625 7.50744 0 7.33631 0 7.14286V6.42857C0 6.04167 0.138542 5.70685 0.415625 5.42411C0.692708 5.14137 1.02083 5 1.4 5H2.8C3.17917 5 3.50729 5.14137 3.78437 5.42411Z"
5
+ fill="#3D3D3D"
6
+ />
7
+ </svg>
8
+ </template>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <path
3
3
  d="M12.5837 4.81128C12.5837 4.21729 12.5719 4.11868 12.5456 4.04956C12.5119 3.96109 12.4564 3.88266 12.3854 3.82007C12.3299 3.77117 12.2424 3.72494 11.6862 3.51636L8.11101 2.17554C8.07578 2.16233 8.04852 2.15286 8.02507 2.14429C8.01522 2.14069 8.00685 2.13706 7.99968 2.13452C7.99266 2.13701 7.98481 2.1408 7.97527 2.14429C7.9517 2.1529 7.92384 2.16223 7.88835 2.17554L4.31413 3.51636C3.75767 3.72503 3.66943 3.77116 3.61394 3.82007C3.54313 3.88259 3.48839 3.96129 3.45476 4.04956C3.42846 4.11868 3.41668 4.21729 3.41667 4.81128V7.99976C3.41667 9.3566 4.16012 10.5923 5.15495 11.6287C6.14141 12.6563 7.29201 13.4003 7.91277 13.7625C7.95012 13.7842 7.97682 13.7994 7.99968 13.8123C8.0227 13.7993 8.04982 13.7845 8.08757 13.7625C8.70836 13.4003 9.8589 12.6564 10.8454 11.6287C11.8402 10.5923 12.5837 9.3566 12.5837 7.99976V4.81128ZM9.80339 5.46948C10.0963 5.17687 10.5711 5.17668 10.8639 5.46948C11.1567 5.76228 11.1565 6.23713 10.8639 6.53003L7.86394 9.53003C7.72336 9.6706 7.53246 9.74967 7.33366 9.74976C7.13477 9.74976 6.94404 9.67065 6.80339 9.53003L5.46941 8.19702C5.1767 7.90419 5.17676 7.42934 5.46941 7.13647C5.76226 6.84362 6.23705 6.8437 6.52995 7.13647L7.33269 7.93921L9.80339 5.46948ZM14.0837 7.99976C14.0837 9.91521 13.0419 11.5067 11.9274 12.6677C10.8048 13.8372 9.52137 14.6618 8.84343 15.0574C8.71957 15.1296 8.54012 15.2426 8.29753 15.2947C8.11304 15.3342 7.88729 15.3342 7.7028 15.2947C7.46005 15.2426 7.28081 15.1297 7.15691 15.0574C6.47906 14.6619 5.19566 13.8373 4.07292 12.6677C2.95843 11.5067 1.91667 9.91521 1.91667 7.99976V4.4646C1.9203 4.12537 1.94148 3.80797 2.05241 3.51636C2.17274 3.20015 2.3689 2.91779 2.62273 2.69409C2.93499 2.419 3.34627 2.27762 3.78777 2.11206L7.36198 0.77124C7.47044 0.73057 7.62746 0.667886 7.79753 0.643311L7.99968 0.628662L8.2028 0.643311L8.32683 0.667725C8.44787 0.697738 8.55694 0.740711 8.63835 0.77124L12.2126 2.11206C12.6541 2.27763 13.0654 2.41893 13.3776 2.69409C13.6314 2.91777 13.8266 3.20018 13.9469 3.51636C14.0949 3.90527 14.0837 4.33983 14.0837 4.81128V7.99976Z"
4
- fill="evenodd"
4
+ fill-rule="evenodd"
5
5
  />
6
6
  </template>
@@ -76,6 +76,7 @@ const searchDomainNamesByKeywordAsync = async ({
76
76
  domainNameSearchOrigin,
77
77
  userText,
78
78
  limit,
79
+ locale,
79
80
  }) => {
80
81
  try {
81
82
  let url = `${API.DOMAIN_NAME_SEARCH_API_URL}?keyword=${keyword}&userText=${encodeURIComponent(userText)}`;
@@ -100,6 +101,10 @@ const searchDomainNamesByKeywordAsync = async ({
100
101
  url = `${url}&limit=${limit}`;
101
102
  }
102
103
 
104
+ if (locale) {
105
+ url = `${url}&locale=${locale}`;
106
+ }
107
+
103
108
  const response = await getAxios()({
104
109
  method: 'get',
105
110
  url,
@@ -38,7 +38,7 @@ import SellDomainNameSearchResult from '../SellDomainNameSearchResult/SellDomain
38
38
 
39
39
  import brandCrowdApiClient from '../../clients/brand-crowd-api.client';
40
40
  import Events from '../../constants/event-constants';
41
- import { publishBrandPageModalTr } from '../../../useSharedLibTranslate';
41
+ import {getCurrentLocale, publishBrandPageModalTr} from '../../../useSharedLibTranslate';
42
42
  import Button from '../../../atoms/components/Button/Button.vue';
43
43
 
44
44
  const TEXT_CHANGED_PARAM = 'textChanged';
@@ -137,6 +137,11 @@ export default {
137
137
  this.searchDomainName(this.initialSearchTerm, true);
138
138
  },
139
139
  },
140
+ computed: {
141
+ currentLocale() {
142
+ return getCurrentLocale();
143
+ },
144
+ },
140
145
  mounted() {
141
146
  if (this.initialSearchTerm) {
142
147
  this.previousSearchText = this.initialSearchTerm;
@@ -174,6 +179,10 @@ export default {
174
179
  request.domainSearchLocation = this.domainSearchLocation;
175
180
  }
176
181
 
182
+ if (this.currentLocale) {
183
+ request.locale = this.currentLocale;
184
+ }
185
+
177
186
  window.dispatchEvent(new CustomEvent(Events.DomainSearchEvent, { detail: request }));
178
187
  const result = await brandCrowdApiClient.searchDomainNamesByKeywordAsync(request);
179
188
  if (!result) {