@designcrowd/library.brand-page 5.13.4 → 5.13.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@designcrowd/library.brand-page",
3
3
  "description": "A collection of Maker/Designer applications",
4
- "version": "5.13.4",
4
+ "version": "5.13.5",
5
5
  "author": "Design.com Eng",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -86,7 +86,7 @@
86
86
  "fs-extra": "11.2.0",
87
87
  "http-errors": "2.0.0",
88
88
  "http-proxy-middleware": "2.0.6",
89
- "i18next": "25.4.0",
89
+ "i18next": "25.2.1",
90
90
  "jquery": "3.7.1",
91
91
  "lodash.clonedeep": "4.5.0",
92
92
  "lodash.debounce": "4.0.8",
@@ -0,0 +1,17 @@
1
+ import axios from 'axios';
2
+
3
+ const makeLocaleAwarePostRequest = async (
4
+ requestUrl,
5
+ data,
6
+ locale = 'en-US',
7
+ ) => {
8
+ const response = await axios.post(`${requestUrl}`, data, {
9
+ headers: {
10
+ 'Accept-Language': locale,
11
+ },
12
+ });
13
+
14
+ return response;
15
+ };
16
+
17
+ export { makeLocaleAwarePostRequest };
@@ -16,6 +16,11 @@
16
16
  class="tw-text-black tw-break-all"
17
17
  @click="onSelectPage(value)"
18
18
  >
19
+ <Icon
20
+ v-if="value.isHidden"
21
+ name="eye-crossed"
22
+ class="tw-mr-2 tw-pt-1"
23
+ />
19
24
  {{ value.title }}
20
25
  </DropdownItem>
21
26
  <DropdownItem v-if="showUpgradeBtn" class="tw-text-black tw-break-all">
@@ -33,7 +38,7 @@
33
38
  </template>
34
39
 
35
40
  <script>
36
- import { Dropdown, DropdownItem } from '@designcrowd/fe-shared-lib';
41
+ import { Dropdown, DropdownItem, Icon } from '@designcrowd/fe-shared-lib';
37
42
  import PageDropdownFieldMixin from './PageDropdownField.mixin.ts';
38
43
  import { Button } from '@designcrowd/fe-shared-lib';
39
44
 
@@ -42,6 +47,7 @@ export default {
42
47
  Dropdown,
43
48
  DropdownItem,
44
49
  Button,
50
+ Icon,
45
51
  },
46
52
  mixins: [PageDropdownFieldMixin],
47
53
  setup(props, context) {