@designcrowd/fe-shared-lib 1.0.8-ml-82-5 → 1.0.8-ml-82-6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.0.8-ml-82-5",
3
+ "version": "1.0.8-ml-82-6",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -11,16 +11,16 @@
11
11
  </a>
12
12
  </span>
13
13
  <span v-if="isPartnerTheme"> and BrandCrowd's </span>
14
- <span v-else>{{ termsAndConditions.byProceeding ?? 'By proceeding you accept our' }} </span>
14
+ <span v-else>{{ termsAndConditionsContent?.byProceeding }} </span>
15
15
  <a :href="termsOfUseUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
16
- >{{ termsAndConditions.termsOfUse ?? 'Terms of Use' }} </a
16
+ >{{ termsAndConditionsContent?.termsOfUse }} </a
17
17
  >
18
- {{ termsAndConditions.and ?? 'and' }}
18
+ {{ termsAndConditionsContent?.and }}
19
19
  <a :href="privacyPolicyUrl" target="_blank" class="tw-text-info-500" :class="{ 'hover:tw-underline': isDesignCom }"
20
- >{{ termsAndConditions.privacyPolicy ?? 'Privacy Policy' }} </a
20
+ >{{ termsAndConditionsContent?.privacyPolicy }} </a
21
21
  >
22
22
  <span>
23
- {{ termsAndConditions.agreeToFutureUpdates ?? 'and agree to receive future updates from' }} {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
23
+ {{ termsAndConditionsContent?.agreeToFutureUpdates }} {{ isDesignCom ? 'Design.com' : 'BrandCrowd' }}.</span
24
24
  >
25
25
  </p>
26
26
  </template>
@@ -68,6 +68,15 @@ export default {
68
68
  }
69
69
  return this.privacyPolicyUrl;
70
70
  },
71
+ termsAndConditionsContent() {
72
+ return {
73
+ byProceeding: this.termsAndConditions?.byProceeding ?? 'By proceeding you accept our',
74
+ termsOfUse: this.termsAndConditions?.termsOfUse ?? 'Terms of Use',
75
+ and: this.termsAndConditions?.and ?? 'and',
76
+ privacyPolicy: this.termsAndConditions?.privacyPolicy ?? 'Privacy Policy',
77
+ agreeToFutureUpdates: this.termsAndConditions?.agreeToFutureUpdates ?? 'and agree to receive future updates from'
78
+ };
79
+ },
71
80
  },
72
81
  };
73
82
  </script>