@fonixtree/magic-design 2.0.163 → 2.0.165
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/es/composite-comp/bol/components/Banner/defaultJSON.js +3 -5
- package/es/composite-comp/bol/components/Button/defaultJSON.js +6 -1
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +11 -6
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +17 -12
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +14 -3
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +6 -1
- package/es/composite-comp/bol/components/Text/defaultJSON.js +16 -5
- package/es/composite-comp/bol/components/Video/defaultJSON.js +9 -4
- package/es/composite-comp/bol/components/Wallet/defaultJSON.js +14 -6
- package/es/composite-comp/bol/components/WalletNuri/defaultJSON.js +8 -3
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +2 -6
- package/es/composite-comp/common/components/MonpayProductItem/index.js +25 -47
- package/es/composite-comp/dito/components/Bargain/defaultJSON.js +11 -6
- package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +11 -6
- package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +11 -6
- package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/Orders/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +10 -5
- package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +7 -2
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +15 -7
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +6 -1
- package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +6 -5
- package/es/composite-comp/monpay/components/InterestProducts/defaultJSON.js +6 -1
- package/es/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +6 -28
- package/es/composite-comp/monpay/components/MerchantSales/defaultJSON.js +6 -1
- package/es/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +13 -8
- package/es/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +17 -9
- package/es/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +7 -2
- package/es/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +13 -5
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +3 -5
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +6 -1
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +11 -6
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +17 -12
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +14 -3
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +6 -1
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +16 -5
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +9 -4
- package/lib/composite-comp/bol/components/Wallet/defaultJSON.js +14 -6
- package/lib/composite-comp/bol/components/WalletNuri/defaultJSON.js +8 -3
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +2 -6
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +25 -47
- package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +11 -6
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +6 -1
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +11 -6
- package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +11 -6
- package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +6 -1
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +6 -1
- package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +10 -5
- package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +7 -2
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +15 -7
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +6 -1
- package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +6 -5
- package/lib/composite-comp/monpay/components/InterestProducts/defaultJSON.js +6 -1
- package/lib/composite-comp/monpay/components/InterestProducts/mobile/ProductItem/index.js +6 -28
- package/lib/composite-comp/monpay/components/MerchantSales/defaultJSON.js +6 -1
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/defaultJSON.js +13 -8
- package/lib/composite-comp/monpay/components/MonpayRecommend/defaultJSON.js +17 -9
- package/lib/composite-comp/monpay/components/MonpaySignBoard/defaultJSON.js +7 -2
- package/lib/composite-comp/nuri/components/AffiliateRecommend/defaultJSON.js +13 -5
- package/package.json +1 -1
|
@@ -7,7 +7,12 @@ exports.getDefaultJSON = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
10
|
+
var _constants = require("../../../../constants");
|
|
11
|
+
|
|
10
12
|
var getDefaultJSON = function getDefaultJSON() {
|
|
13
|
+
var _a;
|
|
14
|
+
|
|
15
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
11
16
|
return {
|
|
12
17
|
id: (0, _uuid.v4)(),
|
|
13
18
|
type: 'MONPAY_SIGN_BOARD',
|
|
@@ -26,7 +31,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
26
31
|
text: 'Store Name',
|
|
27
32
|
content: {
|
|
28
33
|
sizeType: 'Customize font styles',
|
|
29
|
-
fontFamily:
|
|
34
|
+
fontFamily: defaultFontFamily,
|
|
30
35
|
fontWeight: 600,
|
|
31
36
|
fontSize: 16,
|
|
32
37
|
color: '#000',
|
|
@@ -51,7 +56,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
51
56
|
},
|
|
52
57
|
buttonText: {
|
|
53
58
|
sizeType: 'Customize font styles',
|
|
54
|
-
fontFamily:
|
|
59
|
+
fontFamily: defaultFontFamily,
|
|
55
60
|
fontWeight: 400,
|
|
56
61
|
fontSize: 12,
|
|
57
62
|
fontStyle: 'normal',
|
|
@@ -7,10 +7,15 @@ exports.recommendGroupSourceJSON = exports.getDefaultJSON = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
10
|
+
var _constants = require("../../../../constants");
|
|
11
|
+
|
|
10
12
|
var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo, text) {
|
|
13
|
+
var _a;
|
|
14
|
+
|
|
11
15
|
var groupId = (0, _uuid.v4)();
|
|
12
16
|
var imageId = (0, _uuid.v4)();
|
|
13
17
|
var groupNameId = (0, _uuid.v4)();
|
|
18
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
14
19
|
return {
|
|
15
20
|
id: groupId,
|
|
16
21
|
parentId: parentId,
|
|
@@ -43,7 +48,7 @@ var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo,
|
|
|
43
48
|
text: text,
|
|
44
49
|
content: {
|
|
45
50
|
sizeType: 'Customize font styles',
|
|
46
|
-
fontFamily:
|
|
51
|
+
fontFamily: defaultFontFamily,
|
|
47
52
|
fontWeight: 400,
|
|
48
53
|
fontSize: 14,
|
|
49
54
|
color: '#8493AF'
|
|
@@ -67,7 +72,7 @@ var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo,
|
|
|
67
72
|
},
|
|
68
73
|
buttonText: {
|
|
69
74
|
sizeType: 'Customize font styles',
|
|
70
|
-
fontFamily:
|
|
75
|
+
fontFamily: defaultFontFamily,
|
|
71
76
|
fontWeight: 400,
|
|
72
77
|
fontSize: 12,
|
|
73
78
|
fontStyle: 'normal',
|
|
@@ -133,7 +138,7 @@ var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo,
|
|
|
133
138
|
text: text,
|
|
134
139
|
content: {
|
|
135
140
|
sizeType: 'Customize font styles',
|
|
136
|
-
fontFamily:
|
|
141
|
+
fontFamily: defaultFontFamily,
|
|
137
142
|
fontWeight: 600,
|
|
138
143
|
fontSize: 14,
|
|
139
144
|
color: '#CE1126'
|
|
@@ -152,7 +157,10 @@ var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo,
|
|
|
152
157
|
exports.recommendGroupSourceJSON = recommendGroupSourceJSON;
|
|
153
158
|
|
|
154
159
|
var getDefaultJSON = function getDefaultJSON() {
|
|
160
|
+
var _a;
|
|
161
|
+
|
|
155
162
|
var groupId = (0, _uuid.v4)();
|
|
163
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
156
164
|
return {
|
|
157
165
|
id: groupId,
|
|
158
166
|
type: 'AFFILIATE_RECOMMEND',
|
|
@@ -166,7 +174,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
166
174
|
text: 'Flash Deal',
|
|
167
175
|
content: {
|
|
168
176
|
sizeType: 'Customize font styles',
|
|
169
|
-
fontFamily:
|
|
177
|
+
fontFamily: defaultFontFamily,
|
|
170
178
|
fontWeight: 400,
|
|
171
179
|
fontSize: 10,
|
|
172
180
|
color: '#282828'
|
|
@@ -189,7 +197,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
189
197
|
text: 'Flash Deal',
|
|
190
198
|
content: {
|
|
191
199
|
sizeType: 'Customize font styles',
|
|
192
|
-
fontFamily:
|
|
200
|
+
fontFamily: defaultFontFamily,
|
|
193
201
|
fontWeight: 800,
|
|
194
202
|
fontSize: 18,
|
|
195
203
|
color: '#333'
|