@designcrowd/fe-shared-lib 1.4.5-eng-3440 → 1.4.5

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.
Files changed (55) hide show
  1. package/dist/css/tailwind-brandCrowd.css +3 -6
  2. package/dist/css/tailwind-brandPage.css +3 -6
  3. package/dist/css/tailwind-crazyDomains.css +3 -6
  4. package/dist/css/tailwind-designCom.css +3 -6
  5. package/dist/css/tailwind-designCrowd.css +3 -6
  6. package/package.json +2 -1
  7. package/src/atoms/components/Checkbox/Checkbox.stories.js +1 -134
  8. package/src/atoms/components/Checkbox/Checkbox.vue +8 -2
  9. package/src/atoms/components/Dropdown/DropdownItem.vue +1 -1
  10. package/src/atoms/components/Icon/Icon.stories.js +0 -2
  11. package/src/atoms/components/Icon/Icon.vue +97 -102
  12. package/src/atoms/components/TextInput/TextInput.vue +1 -2
  13. package/src/atoms/components/Textarea/Textarea.vue +1 -4
  14. package/src/experiences/clients/brand-crowd-api.client.js +1 -12
  15. package/src/experiences/clients/brand-page-api.client.js +0 -15
  16. package/src/experiences/components/AuthFlow/AuthModal.vue +1 -1
  17. package/src/experiences/components/AuthFlow/ForgotPassword.vue +1 -1
  18. package/src/experiences/components/AuthFlow/ResetPassword.vue +1 -1
  19. package/src/experiences/components/AuthFlow/ResetPasswordSuccessModal.vue +1 -1
  20. package/src/experiences/components/AuthFlow/SocialSignInButton.vue +1 -1
  21. package/src/experiences/components/AuthFlow/SubmissionButton.vue +1 -1
  22. package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +0 -20
  23. package/src/experiences/components/PaymentConfigList/PaymentConfigDeleteConfigModal.vue +5 -7
  24. package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +39 -77
  25. package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +0 -45
  26. package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +3 -3
  27. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.de-DE.json +1 -2
  28. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.es-ES.json +1 -2
  29. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-CA.json +1 -2
  30. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.fr-FR.json +1 -2
  31. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.json +1 -2
  32. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-BR.json +1 -2
  33. package/src/experiences/components/PaymentConfigList/i18n/shared-payment-config.pt-PT.json +1 -2
  34. package/src/experiences/components/PublishBrandPageModal/PublishBrandPageModal.vue +1 -1
  35. package/src/experiences/components/UploadYourLogoApplication/UploadYourLogoApplication.vue +0 -6
  36. package/src/experiences/components/UploadYourLogoOnBoarding/LogoBusinessBrandColours.vue +3 -3
  37. package/src/experiences/components/UploadYourLogoOnBoarding/LogoCropper.vue +1 -1
  38. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploadModal.vue +1 -1
  39. package/src/experiences/components/UploadYourLogoOnBoarding/LogoUploader.vue +1 -6
  40. package/src/experiences/components/UploadYourLogoOnBoarding/UploadYourLogoOnBoarding.vue +0 -6
  41. package/src/experiences/components/UploadedLogoSearchResultCard/UploadedLogoSearchResultCard.vue +1 -1
  42. package/src/atoms/components/Icon/icons/file.vue +0 -7
  43. package/src/atoms/components/Icon/icons/pen-tool.vue +0 -7
  44. package/src/atoms/components/SparkleIcon/SparkleIcon.stories.js +0 -182
  45. package/src/atoms/components/SparkleIcon/SparkleIcon.vue +0 -105
  46. package/src/atoms/components/SparkleIcon/assets/animations/state-01.svg +0 -5
  47. package/src/atoms/components/SparkleIcon/assets/animations/state-02.svg +0 -5
  48. package/src/atoms/components/SparkleIcon/assets/animations/state-03.svg +0 -5
  49. package/src/atoms/components/SparkleIcon/assets/animations/state-04.svg +0 -5
  50. package/src/atoms/components/SparkleIcon/assets/animations/state-05.svg +0 -5
  51. package/src/atoms/components/SparkleIcon/assets/animations/state-06.svg +0 -5
  52. package/src/atoms/components/SparkleIcon/assets/animations/state-07.svg +0 -5
  53. package/src/atoms/components/SparkleIcon/assets/animations/state-08.svg +0 -5
  54. package/src/atoms/components/SparkleIcon/assets/sparkle.svg +0 -3
  55. package/src/atoms/components/SparkleIcon/index.ts +0 -3
@@ -40,17 +40,17 @@
40
40
  </Modal>
41
41
  </template>
42
42
  <script>
43
- import Modal from '../../../atoms/components/Modal/Modal.vue';
44
- import Button from '../../../atoms/components/Button/Button.vue';
45
- import Loader from '../../../atoms/components/Loader/Loader.vue';
46
- import brandPageApiClient from '../../clients/brand-page-api.client';
47
-
43
+ import Modal from '../../../../src/atoms/components/Modal/Modal.vue';
44
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
45
+ import Loader from '../../../../src/atoms/components/Loader/Loader.vue';
46
+ import brandPageApiClient from './../../clients/brand-page-api.client';
48
47
  export default {
49
48
  components: {
50
49
  Modal,
51
50
  Button,
52
51
  Loader,
53
52
  },
53
+ emits: ['close-modal', 'on-delete'],
54
54
  props: {
55
55
  paymentConfig: {
56
56
  type: Object,
@@ -60,10 +60,8 @@ export default {
60
60
  brandPageToken: {
61
61
  type: String,
62
62
  required: false,
63
- default: () => undefined,
64
63
  },
65
64
  },
66
- emits: ['close-modal', 'on-delete'],
67
65
  data: () => ({
68
66
  isLoading: false,
69
67
  }),
@@ -10,84 +10,54 @@
10
10
  variant="outline"
11
11
  @on-click="onAddPaymentProviderButtonClick"
12
12
  ></Button>
13
- <div v-if="!isLoading && !isAddPaymentProviderButtonVisible">
14
- <Dropdown ref="dropdown">
15
- <template #title>
16
- <div
17
- v-if="selectedPaymentConfig"
18
- class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
19
- >
20
- <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
21
- <span>{{ selectedPaymentConfig.name }}</span>
22
- <small class="stripe-acct">({{ selectedPaymentConfig.paymentProviderExternalId }})</small>
23
- </span>
24
- <Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)">
25
- {{ getPaymentConfigStatusDisplayText(selectedPaymentConfig.status) }}
26
- </Pill>
27
- </div>
28
- </template>
29
-
30
- <DropdownItem
31
- v-for="paymentConfig in paymentConfigs"
32
- :key="`payment-config-${paymentConfig.id}`"
33
- @click="onPaymentConfigClick(paymentConfig)"
13
+ <Dropdown v-if="!isLoading && !isAddPaymentProviderButtonVisible" ref="dropdown">
14
+ <template #title>
15
+ <div
16
+ v-if="selectedPaymentConfig"
17
+ class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
34
18
  >
35
19
  <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
36
- <span>{{ paymentConfig.name }}</span>
37
- <small class="stripe-acct">({{ paymentConfig.paymentProviderExternalId }})</small>
20
+ <span>{{ selectedPaymentConfig.name }}</span>
21
+ <small class="stripe-acct">({{ selectedPaymentConfig.paymentProviderExternalId }})</small>
38
22
  </span>
39
- <Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)">
40
- {{ getPaymentConfigStatusDisplayText(paymentConfig.status) }}
23
+ <Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)">
24
+ {{ getPaymentConfigStatusDisplayText(selectedPaymentConfig.status) }}
41
25
  </Pill>
42
- </DropdownItem>
26
+ </div>
27
+ </template>
43
28
 
44
- <DropdownItem v-if="showAddPaymentProvider" class="tw-border-t-2" @click="onAddPaymentProviderButtonClick">
45
- <Button
46
- :full-width="true"
47
- :label="sharedPaymentConfigTr('addPaymentProvider')"
48
- size="small"
49
- variant="outline"
50
- @on-click="onAddPaymentProviderButtonClick"
51
- />
52
- </DropdownItem>
53
- </Dropdown>
54
- <!-- Currency -->
55
- <template v-if="currencies && currencies.length > 0">
56
- <h4 class="tw-mt-6 tw-mb-2 tw-text-sm tw-font-bold">{{ sharedPaymentConfigTr('currencyLabel') }}</h4>
57
- <Dropdown ref="dropdownCurrency" :menu-element-classes="'tw-w-full'">
58
- <template #title>
59
- <div
60
- v-if="selectedCurrency"
61
- class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
62
- >
63
- <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
64
- <span>{{ selectedCurrency.iso4127Code }} ({{ selectedCurrency.symbol }})</span>
65
- </span>
66
- </div>
67
- </template>
29
+ <DropdownItem
30
+ v-for="paymentConfig in paymentConfigs"
31
+ :key="`payment-config-${paymentConfig.id}`"
32
+ @click="onPaymentConfigClick(paymentConfig)"
33
+ >
34
+ <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
35
+ <span>{{ paymentConfig.name }}</span>
36
+ <small class="stripe-acct">({{ paymentConfig.paymentProviderExternalId }})</small>
37
+ </span>
38
+ <Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)">
39
+ {{ getPaymentConfigStatusDisplayText(paymentConfig.status) }}
40
+ </Pill>
41
+ </DropdownItem>
68
42
 
69
- <DropdownItem
70
- v-for="currency in currencies"
71
- :key="`currency-${currency.id}`"
72
- @click="onCurrencyClick(currency)"
73
- >
74
- <span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
75
- <span>{{ currency.iso4127Code }} ({{ currency.symbol }})</span>
76
- </span>
77
- <Icon v-if="selectedCurrency?.id === currency.id" name="check-thin" />
78
- </DropdownItem>
79
- </Dropdown>
80
- </template>
81
- </div>
43
+ <DropdownItem v-if="showAddPaymentProvider" class="tw-border-t-2" @click="onAddPaymentProviderButtonClick">
44
+ <Button
45
+ :full-width="true"
46
+ :label="sharedPaymentConfigTr('addPaymentProvider')"
47
+ size="small"
48
+ variant="outline"
49
+ @on-click="onAddPaymentProviderButtonClick"
50
+ />
51
+ </DropdownItem>
52
+ </Dropdown>
82
53
  </div>
83
54
  </template>
84
55
  <script>
85
- import Button from '../../../atoms/components/Button/Button.vue';
86
- import Dropdown from '../../../atoms/components/Dropdown/Dropdown.vue';
87
- import DropdownItem from '../../../atoms/components/Dropdown/DropdownItem.vue';
88
- import Loader from '../../../atoms/components/Loader/Loader.vue';
89
- import Pill from '../../../atoms/components/Pill/Pill.vue';
90
- import Icon from '../../../atoms/components/Icon/Icon.vue';
56
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
57
+ import Dropdown from '../../../../src/atoms/components/Dropdown/Dropdown.vue';
58
+ import DropdownItem from '../../../../src/atoms/components/Dropdown/DropdownItem.vue';
59
+ import Loader from '../../../../src/atoms/components/Loader/Loader.vue';
60
+ import Pill from '../../../../src/atoms/components/Pill/Pill.vue';
91
61
 
92
62
  import PaymentConfigMixin, { paymentConfigStatuses } from './PaymentConfig.mixin';
93
63
  import { sharedPaymentConfigTr } from '../../../useSharedLibTranslate';
@@ -99,7 +69,6 @@ export default {
99
69
  DropdownItem,
100
70
  Loader,
101
71
  Pill,
102
- Icon,
103
72
  },
104
73
  mixins: [PaymentConfigMixin],
105
74
  props: {
@@ -120,8 +89,6 @@ export default {
120
89
  },
121
90
  },
122
91
  async mounted() {
123
- this.getCurrentListAsync();
124
-
125
92
  if (this.brandPageToken) {
126
93
  await this.updatePaymentConfigs();
127
94
  if (!this.selectedPaymentConfig && this.paymentConfigs.length === 0) {
@@ -158,11 +125,6 @@ export default {
158
125
  this.selectedPaymentConfig = paymentConfig;
159
126
  this.$emit('on-payment-config-selected', this.selectedPaymentConfig);
160
127
  },
161
-
162
- onCurrencyClick(currency) {
163
- this.$refs.dropdownCurrency.hideMenu();
164
- this.$emit('on-currency-selected', currency);
165
- },
166
128
  },
167
129
  };
168
130
  </script>
@@ -57,53 +57,11 @@ const PAYMENT_CONFIGS_RESPONSE = [
57
57
  },
58
58
  ];
59
59
 
60
- const PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE = {
61
- currencies: [
62
- {
63
- id: '9dce1a02-f415-433b-8ea8-0144c651e236',
64
- name: 'United State Dollar',
65
- iso4127Code: 'USD',
66
- iso31662Code: 'US',
67
- symbol: '$',
68
- isSymbolPlacedBeforePrice: true,
69
- created: '2023-06-21T01:04:12.961Z',
70
- },
71
- {
72
- id: '38dc53a9-a66f-4c6d-b14c-cf987d7f779b',
73
- name: 'Australian Dollar',
74
- iso4127Code: 'AUD',
75
- iso31662Code: 'AU',
76
- symbol: '$',
77
- isSymbolPlacedBeforePrice: true,
78
- created: '2023-06-21T01:04:12.961Z',
79
- },
80
- {
81
- id: '02c5a9f3-39f1-4764-bd91-a76982dd949a',
82
- name: 'British Pound Sterling',
83
- iso4127Code: 'GBP',
84
- iso31662Code: 'UK',
85
- symbol: '£',
86
- isSymbolPlacedBeforePrice: true,
87
- created: '2023-06-21T01:04:12.961Z',
88
- },
89
- {
90
- id: '2b26857d-0525-4bf0-b37c-e020847e0bd2',
91
- name: 'Euro',
92
- iso4127Code: 'EUR',
93
- iso31662Code: 'EU',
94
- symbol: '€',
95
- isSymbolPlacedBeforePrice: true,
96
- created: '2023-06-21T01:04:12.961Z',
97
- },
98
- ],
99
- };
100
-
101
60
  export const SampleStripe = () => {
102
61
  const mock = new MockAdapter(axios, { delayResponse: MOCK_RESPONSE_DELAY });
103
62
  const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
104
63
 
105
64
  mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
106
- mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
107
65
 
108
66
  return {
109
67
  components: {
@@ -127,7 +85,6 @@ export const SampleStripeHideExternalId = () => {
127
85
  const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
128
86
 
129
87
  mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
130
- mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
131
88
 
132
89
  return {
133
90
  components: {
@@ -155,7 +112,6 @@ export const SampleDropdownStripe = () => {
155
112
  const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
156
113
 
157
114
  mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
158
- mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
159
115
 
160
116
  return {
161
117
  components: {
@@ -183,7 +139,6 @@ export const SampleDropdownStripeWithFilter = () => {
183
139
  const brandPageToken = '6bc3885c-7e5c-4c9e-9b54-21dcd06ca647';
184
140
 
185
141
  mock.onGet(`/maker/api/brand-pages/${brandPageToken}/payment-configs`).reply(200, PAYMENT_CONFIGS_RESPONSE);
186
- mock.onGet(`/maker/api/brand-pages/payment-configs/currency-list`).reply(200, PAYMENT_CONFIGS_CURRENCY_LIST_RESPONSE);
187
142
 
188
143
  return {
189
144
  components: {
@@ -65,10 +65,10 @@
65
65
  </template>
66
66
 
67
67
  <script>
68
- import Loader from '../../../atoms/components/Loader/Loader.vue';
69
- import Button from '../../../atoms/components/Button/Button.vue';
68
+ import Loader from '../../../../src/atoms/components/Loader/Loader.vue';
69
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
70
70
  import PaymentConfigDeleteConfigModal from './PaymentConfigDeleteConfigModal.vue';
71
- import Icon from '../../../atoms/components/Icon/Icon.vue';
71
+ import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
72
72
 
73
73
  import PaymentConfigMixin from './PaymentConfig.mixin';
74
74
  import { sharedPaymentConfigTr } from '../../../useSharedLibTranslate';
@@ -5,7 +5,6 @@
5
5
  "connected" : "Verbunden",
6
6
  "inactive" : "Inaktiv",
7
7
  "addPaymentProvider" : "Zahlungsanbieter hinzufügen",
8
- "deletePaymentMethod" : "Zahlungsmethode löschen",
9
- "currencyLabel" : "Währung"
8
+ "deletePaymentMethod" : "Zahlungsmethode löschen"
10
9
  }
11
10
  }
@@ -5,7 +5,6 @@
5
5
  "connected" : "Conectado",
6
6
  "inactive" : "Inactivo",
7
7
  "addPaymentProvider" : "Añadir proveedor de pago",
8
- "deletePaymentMethod" : "Eliminar método de pago",
9
- "currencyLabel" : "Moneda"
8
+ "deletePaymentMethod" : "Eliminar método de pago"
10
9
  }
11
10
  }
@@ -5,7 +5,6 @@
5
5
  "connected" : "Connecté",
6
6
  "inactive" : "Inactif",
7
7
  "addPaymentProvider" : "Ajouter un fournisseur de paiement",
8
- "deletePaymentMethod" : "Supprimer le mode de paiement",
9
- "currencyLabel" : "Devise"
8
+ "deletePaymentMethod" : "Supprimer le mode de paiement"
10
9
  }
11
10
  }
@@ -5,7 +5,6 @@
5
5
  "connected" : "Connecté",
6
6
  "inactive" : "Inactif",
7
7
  "addPaymentProvider" : "Ajouter un fournisseur de paiement",
8
- "deletePaymentMethod" : "Supprimer le mode de paiement",
9
- "currencyLabel" : "Devise"
8
+ "deletePaymentMethod" : "Supprimer le mode de paiement"
10
9
  }
11
10
  }
@@ -5,7 +5,6 @@
5
5
  "connected": "Connected",
6
6
  "inactive": "Inactive",
7
7
  "addPaymentProvider": "Add Payment Provider",
8
- "deletePaymentMethod": "Delete payment method",
9
- "currencyLabel": "Currency"
8
+ "deletePaymentMethod": "Delete payment method"
10
9
  }
11
10
  }
@@ -5,7 +5,6 @@
5
5
  "connected" : "Conectado",
6
6
  "inactive" : "Inativo",
7
7
  "addPaymentProvider" : "Adicionar fornecedor de pagamentos",
8
- "deletePaymentMethod" : "Excluir método de pagamento",
9
- "currencyLabel" : "Moeda"
8
+ "deletePaymentMethod" : "Excluir método de pagamento"
10
9
  }
11
10
  }
@@ -5,7 +5,6 @@
5
5
  "connected" : "Ligado",
6
6
  "inactive" : "Inativo",
7
7
  "addPaymentProvider" : "Adicionar fornecedor de pagamentos",
8
- "deletePaymentMethod" : "Eliminar método de pagamento",
9
- "currencyLabel" : "Moeda"
8
+ "deletePaymentMethod" : "Eliminar método de pagamento"
10
9
  }
11
10
  }
@@ -521,7 +521,7 @@ export default {
521
521
  if (!this.isSubsequentPublish) {
522
522
  return false;
523
523
  }
524
- return this.showUpsellRotation;
524
+ return this.showUpsellRotation && !this.isCustomDomainActive && !this.hasPurchasedDomains;
525
525
  },
526
526
  },
527
527
  watch: {
@@ -3,7 +3,6 @@
3
3
  <UploadYourLogoOnBoarding
4
4
  v-if="active"
5
5
  :logo-file="logoData.logoFile"
6
- :custom-upload-data="customUploadData"
7
6
  :use-dropzone="useDropzone"
8
7
  :is-post-purchase-user-upload="isPostPurchaseUserUpload"
9
8
  @on-exit="onExit"
@@ -37,11 +36,6 @@ export default {
37
36
  required: false,
38
37
  default: false,
39
38
  },
40
- customUploadData: {
41
- type: Object,
42
- required: false,
43
- default: null,
44
- },
45
39
  },
46
40
  data() {
47
41
  return {
@@ -121,9 +121,9 @@
121
121
  </template>
122
122
  <script>
123
123
  /* eslint-disable no-param-reassign */
124
- import Button from '../../../atoms/components/Button/Button.vue';
125
- import Icon from '../../../atoms/components/Icon/Icon.vue';
126
- import HelloBar from '../../../atoms/components/HelloBar/HelloBar.vue';
124
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
125
+ import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
126
+ import HelloBar from '../../../../src/atoms/components/HelloBar/HelloBar.vue';
127
127
  import trackEvent from '../../helpers/tracking';
128
128
  import hexDiff from '../../helpers/hex-diff';
129
129
  import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
@@ -47,8 +47,8 @@
47
47
  </div>
48
48
  </template>
49
49
  <script>
50
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
50
51
  import VueCropper from 'vue-cropperjs';
51
- import Button from '../../../atoms/components/Button/Button.vue';
52
52
 
53
53
  import trackEvent from '../../helpers/tracking';
54
54
  import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
  </template>
18
18
  <script>
19
- import Icon from '../../../atoms/components/Icon/Icon.vue';
19
+ import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
20
20
 
21
21
  export default {
22
22
  components: {
@@ -19,11 +19,6 @@ export default {
19
19
  required: true,
20
20
  default: undefined,
21
21
  },
22
- customUploadData: {
23
- type: Object,
24
- required: false,
25
- default: null,
26
- },
27
22
  eventCategory: {
28
23
  type: String,
29
24
  required: true,
@@ -55,7 +50,7 @@ export default {
55
50
  duration = Date.now() - start;
56
51
  }, 1);
57
52
 
58
- const result = await brandCrowdClient.uploadLogoAndGetDetails(this.logoFile, this.customUploadData);
53
+ const result = await brandCrowdClient.uploadLogoAndGetDetails(this.logoFile);
59
54
 
60
55
  clearInterval(intervalTimer);
61
56
  this.isRunning = false;
@@ -20,7 +20,6 @@
20
20
  <LogoUploader
21
21
  v-if="logoFile && !isAttemptingToExit && !hasError && currentStep === 1"
22
22
  :logo-file="logoFile"
23
- :custom-upload-data="customUploadData"
24
23
  :event-category="eventCategory"
25
24
  @on-upload-success="onUploadSuccess"
26
25
  @on-upload-error="onUploadError"
@@ -128,11 +127,6 @@ export default {
128
127
  required: false,
129
128
  default: false,
130
129
  },
131
- customUploadData: {
132
- type: Object,
133
- required: false,
134
- default: undefined,
135
- },
136
130
  },
137
131
  setup() {
138
132
  return {
@@ -98,7 +98,7 @@
98
98
  </template>
99
99
  <script>
100
100
  import axios from 'axios';
101
- import Button from '../../../atoms/components/Button/Button.vue';
101
+ import Button from '../../../../src/atoms/components/Button/Button.vue';
102
102
  import Events from '../../constants/event-constants';
103
103
  import API from '../../constants/api';
104
104
  import trackEvent from '../../helpers/tracking';
@@ -1,7 +0,0 @@
1
- <template>
2
- <path
3
- fill-rule="evenodd"
4
- clip-rule="evenodd"
5
- d="M8.58335 2.09094C8.46619 2.0848 8.29431 2.08337 8.00787 2.08337H5.86669C5.29426 2.08337 4.91004 2.08395 4.61417 2.10813C4.32704 2.13158 4.18976 2.17347 4.0992 2.21961C3.864 2.33945 3.67277 2.53068 3.55293 2.76588C3.50679 2.85644 3.4649 2.99372 3.44145 3.28085C3.41727 3.57672 3.41669 3.96094 3.41669 4.53337V11.4667C3.41669 12.0391 3.41727 12.4233 3.44145 12.7192C3.4649 13.0063 3.50679 13.1436 3.55293 13.2342C3.67277 13.4694 3.864 13.6606 4.0992 13.7805C4.18976 13.8266 4.32704 13.8685 4.61417 13.8919C4.91004 13.9161 5.29426 13.9167 5.86669 13.9167H10.1334C10.7058 13.9167 11.09 13.9161 11.3859 13.8919C11.673 13.8685 11.8103 13.8266 11.9008 13.7805C12.136 13.6606 12.3273 13.4694 12.4471 13.2342C12.4933 13.1436 12.5351 13.0063 12.5586 12.7192C12.5828 12.4233 12.5834 12.0391 12.5834 11.4667V6.65885C12.5834 6.37245 12.5819 6.20058 12.5758 6.08342L10.3771 6.08342C10.2104 6.08344 10.0434 6.08347 9.90108 6.07184C9.74353 6.05897 9.55152 6.02819 9.35687 5.92901C9.0903 5.79319 8.87358 5.57646 8.73776 5.3099C8.63858 5.11525 8.6078 4.92324 8.59493 4.76569C8.5833 4.62341 8.58333 4.4564 8.58335 4.28964L8.58335 2.09094ZM9.628 0.823148C9.47327 0.753919 9.31223 0.699042 9.1469 0.65935C8.82849 0.582906 8.49896 0.583097 8.08035 0.58334C8.05648 0.583354 8.03233 0.583368 8.00787 0.583368L5.83625 0.583367C5.3021 0.583357 4.85625 0.583348 4.49202 0.613107C4.11213 0.644145 3.75548 0.711256 3.41821 0.8831C2.90077 1.14675 2.48007 1.56745 2.21642 2.08489C2.04458 2.42216 1.97746 2.77881 1.94643 3.1587C1.91667 3.52293 1.91668 3.96878 1.91669 4.50293V11.4971C1.91668 12.0313 1.91667 12.4771 1.94643 12.8414C1.97746 13.2213 2.04458 13.5779 2.21642 13.9152C2.48007 14.4326 2.90077 14.8533 3.41821 15.117C3.75548 15.2888 4.11213 15.3559 4.49202 15.387C4.85626 15.4167 5.30212 15.4167 5.83628 15.4167H10.1638C10.6979 15.4167 11.1438 15.4167 11.508 15.387C11.8879 15.3559 12.2446 15.2888 12.5818 15.117C13.0993 14.8533 13.52 14.4326 13.7836 13.9152C13.9555 13.5779 14.0226 13.2213 14.0536 12.8414C14.0834 12.4771 14.0834 12.0313 14.0834 11.4972V6.65885C14.0834 6.63439 14.0834 6.61024 14.0834 6.58638C14.0836 6.16776 14.0838 5.83824 14.0074 5.51982C13.9678 5.35495 13.9131 5.19435 13.8441 5.04C13.8394 5.02876 13.8343 5.01765 13.829 5.00669C13.7843 4.91006 13.7339 4.81597 13.6781 4.72492C13.507 4.44571 13.2739 4.21284 12.9777 3.917C12.9608 3.90014 12.9437 3.88307 12.9264 3.86578L10.8009 1.7403C10.7836 1.723 10.7666 1.70591 10.7497 1.68903C10.4539 1.39285 10.221 1.15971 9.9418 0.988607C9.8504 0.932596 9.75593 0.882059 9.65891 0.837205C9.64873 0.832294 9.63843 0.827606 9.628 0.823148ZM10.0834 3.14403V4.26675C10.0834 4.41519 10.0837 4.51087 10.0863 4.58043C10.1559 4.58309 10.2516 4.58342 10.4 4.58342H11.5227L10.0834 3.14403ZM4.58335 8.6667C4.58335 8.25249 4.91914 7.9167 5.33335 7.9167H10.6667C11.0809 7.9167 11.4167 8.25249 11.4167 8.6667C11.4167 9.08092 11.0809 9.4167 10.6667 9.4167H5.33335C4.91914 9.4167 4.58335 9.08092 4.58335 8.6667ZM4.58335 11.3334C4.58335 10.9192 4.91914 10.5834 5.33335 10.5834H9.33335C9.74757 10.5834 10.0834 10.9192 10.0834 11.3334C10.0834 11.7476 9.74757 12.0834 9.33335 12.0834H5.33335C4.91914 12.0834 4.58335 11.7476 4.58335 11.3334Z"
6
- />
7
- </template>
@@ -1,7 +0,0 @@
1
- <template>
2
- <path
3
- fill-rule="evenodd"
4
- clip-rule="evenodd"
5
- d="M0.803006 0.803044C0.987755 0.618295 1.25534 0.543007 1.50932 0.604312L10.5139 2.77783C10.5303 2.78179 10.5474 2.78583 10.5651 2.79002C10.7473 2.83312 10.9937 2.8914 11.2035 3.0282C11.3842 3.14596 11.5355 3.3034 11.646 3.48851C11.7745 3.70354 11.823 3.95208 11.8589 4.13585C11.8623 4.15371 11.8657 4.17096 11.869 4.1875L12.5379 7.53204C12.728 7.5147 12.9208 7.53586 13.1044 7.59552C13.3122 7.66303 13.4698 7.77704 13.5903 7.87934C13.6991 7.97173 13.8172 8.08985 13.9351 8.20778L14.4589 8.73165C14.5769 8.84955 14.695 8.96762 14.7874 9.07645C14.8897 9.19696 15.0037 9.35449 15.0712 9.56227C15.1636 9.8468 15.1636 10.1533 15.0712 10.4378C15.0037 10.6456 14.8897 10.8031 14.7874 10.9236C14.695 11.0325 14.5769 11.1505 14.4589 11.2684L11.2684 14.459C11.1505 14.5769 11.0324 14.695 10.9236 14.7874C10.8031 14.8897 10.6456 15.0037 10.4378 15.0712C10.1532 15.1637 9.84676 15.1637 9.56223 15.0712C9.35445 15.0037 9.19692 14.8897 9.07641 14.7874C8.96759 14.695 8.84952 14.5769 8.73163 14.459L8.20773 13.9351C8.0898 13.8172 7.97169 13.6991 7.8793 13.5903C7.777 13.4698 7.66299 13.3123 7.59548 13.1045C7.53582 12.9209 7.51466 12.7281 7.53201 12.538L4.18747 11.8691C4.17092 11.8657 4.15367 11.8624 4.13581 11.8589C3.95204 11.823 3.7035 11.7745 3.48847 11.6461C3.30336 11.5355 3.14592 11.3842 3.02816 11.2036C2.89136 10.9938 2.83308 10.7474 2.78998 10.5651C2.7858 10.5474 2.78175 10.5303 2.77779 10.5139L0.604274 1.50935C0.542969 1.25537 0.618257 0.987793 0.803006 0.803044ZM9.06488 12.6667C9.11219 12.7178 9.17962 12.7857 9.28458 12.8906L9.77609 13.3821C9.88105 13.4871 9.94894 13.5545 10 13.6018C10.0511 13.5545 10.119 13.4871 10.2239 13.3821L13.3821 10.224C13.4871 10.119 13.5545 10.0511 13.6018 10C13.5545 9.94897 13.4871 9.88109 13.3821 9.77612L12.8906 9.28462C12.7856 9.17966 12.7177 9.11223 12.6667 9.06492C12.6156 9.11223 12.5477 9.17966 12.4428 9.28462L9.28458 12.4428C9.17962 12.5478 9.11219 12.6156 9.06488 12.6667ZM11.1858 8.4202L8.42016 11.1859L4.48164 10.3982C4.41982 10.3858 4.37186 10.3762 4.33047 10.3674C4.31265 10.3636 4.29752 10.3603 4.28456 10.3573C4.28107 10.3444 4.27713 10.3295 4.27264 10.3118C4.26219 10.2708 4.25071 10.2233 4.23592 10.162L2.68785 3.74855L5.42824 6.48894C5.31367 6.74705 5.25 7.03278 5.25 7.33337C5.25 8.48397 6.18274 9.41671 7.33334 9.41671C8.48393 9.41671 9.41667 8.48397 9.41667 7.33337C9.41667 6.18278 8.48393 5.25004 7.33334 5.25004C7.03274 5.25004 6.74701 5.3137 6.4889 5.42828L3.74851 2.68789L10.1619 4.23595C10.2232 4.25075 10.2708 4.26223 10.3118 4.27268C10.3294 4.27717 10.3444 4.28111 10.3572 4.2846C10.3602 4.29755 10.3636 4.31269 10.3674 4.33051C10.3762 4.3719 10.3858 4.41985 10.3981 4.48167L11.1858 8.4202ZM6.91276 6.92916C6.91552 6.92648 6.91827 6.92377 6.921 6.92104C6.92373 6.91831 6.92644 6.91556 6.92912 6.9128C7.03396 6.812 7.17641 6.75004 7.33334 6.75004C7.6555 6.75004 7.91667 7.01121 7.91667 7.33337C7.91667 7.65554 7.6555 7.91671 7.33334 7.91671C7.01117 7.91671 6.75 7.65554 6.75 7.33337C6.75 7.17645 6.81196 7.034 6.91276 6.92916Z"
6
- />
7
- </template>