@fonixtree/magic-design 2.0.163 → 2.0.164
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/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/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/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/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
|
@@ -268,12 +268,8 @@ function (_super) {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
_this.clickJump = function (title) {
|
|
271
|
-
if (title
|
|
272
|
-
(0, _coreUtil.clickUrl)('/
|
|
273
|
-
} else if (title === 'Koin') {
|
|
274
|
-
(0, _coreUtil.clickUrl)('/my-points');
|
|
275
|
-
} else if (title === 'Voucher') {
|
|
276
|
-
(0, _coreUtil.clickUrl)('/my-coupon');
|
|
271
|
+
if (title !== 'Voucher') {
|
|
272
|
+
(0, _coreUtil.clickUrl)('/main/my-commission');
|
|
277
273
|
}
|
|
278
274
|
};
|
|
279
275
|
|
|
@@ -9,8 +9,13 @@ var _uuid = require("uuid");
|
|
|
9
9
|
|
|
10
10
|
var _base = require("../../../../assets/images/base64");
|
|
11
11
|
|
|
12
|
+
var _constants = require("../../../../constants");
|
|
13
|
+
|
|
12
14
|
var getDefaultJSON = function getDefaultJSON() {
|
|
15
|
+
var _a;
|
|
16
|
+
|
|
13
17
|
var contentId = (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: (0, _uuid.v4)(),
|
|
16
21
|
type: 'BARGAIN',
|
|
@@ -28,7 +33,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
28
33
|
text: 'Refer and Bargain',
|
|
29
34
|
content: {
|
|
30
35
|
sizeType: 'Customize font styles',
|
|
31
|
-
fontFamily:
|
|
36
|
+
fontFamily: defaultFontFamily,
|
|
32
37
|
fontWeight: 700,
|
|
33
38
|
fontSize: 14,
|
|
34
39
|
color: '#FFFFFF'
|
|
@@ -54,7 +59,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
54
59
|
},
|
|
55
60
|
buttonText: {
|
|
56
61
|
sizeType: 'Customize font styles',
|
|
57
|
-
fontFamily:
|
|
62
|
+
fontFamily: defaultFontFamily,
|
|
58
63
|
fontWeight: 600,
|
|
59
64
|
fontSize: 12,
|
|
60
65
|
fontStyle: 'normal',
|
|
@@ -102,7 +107,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
102
107
|
},
|
|
103
108
|
buttonText: {
|
|
104
109
|
sizeType: 'Customize font styles',
|
|
105
|
-
fontFamily:
|
|
110
|
+
fontFamily: defaultFontFamily,
|
|
106
111
|
fontWeight: 600,
|
|
107
112
|
fontSize: 8,
|
|
108
113
|
fontStyle: 'normal',
|
|
@@ -142,7 +147,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
142
147
|
text: '',
|
|
143
148
|
content: {
|
|
144
149
|
sizeType: 'Customize font styles',
|
|
145
|
-
fontFamily:
|
|
150
|
+
fontFamily: defaultFontFamily,
|
|
146
151
|
fontWeight: 500,
|
|
147
152
|
fontSize: 14,
|
|
148
153
|
color: '#2C2C2C'
|
|
@@ -166,7 +171,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
166
171
|
text: '',
|
|
167
172
|
content: {
|
|
168
173
|
sizeType: 'Customize font styles',
|
|
169
|
-
fontFamily:
|
|
174
|
+
fontFamily: defaultFontFamily,
|
|
170
175
|
fontWeight: 600,
|
|
171
176
|
fontSize: 14,
|
|
172
177
|
color: '#CE1126'
|
|
@@ -190,7 +195,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
190
195
|
text: '',
|
|
191
196
|
content: {
|
|
192
197
|
sizeType: 'Customize font styles',
|
|
193
|
-
fontFamily:
|
|
198
|
+
fontFamily: defaultFontFamily,
|
|
194
199
|
fontWeight: 500,
|
|
195
200
|
fontSize: 10,
|
|
196
201
|
color: '#929292'
|
|
@@ -7,8 +7,13 @@ exports.getDefaultJSON = exports.CommonFunctionsGroupSourceJSON = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
10
|
+
var _constants = require("../../../../constants");
|
|
11
|
+
|
|
10
12
|
var CommonFunctionsGroupSourceJSON = function CommonFunctionsGroupSourceJSON(text, url) {
|
|
13
|
+
var _a;
|
|
14
|
+
|
|
11
15
|
var groupId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: groupId,
|
|
14
19
|
title: {
|
|
@@ -20,7 +25,7 @@ var CommonFunctionsGroupSourceJSON = function CommonFunctionsGroupSourceJSON(tex
|
|
|
20
25
|
text: text || 'Chat With Us',
|
|
21
26
|
content: {
|
|
22
27
|
sizeType: 'Customize font styles',
|
|
23
|
-
fontFamily:
|
|
28
|
+
fontFamily: defaultFontFamily,
|
|
24
29
|
fontWeight: 600,
|
|
25
30
|
fontSize: 14,
|
|
26
31
|
color: '#2C2C2C',
|
|
@@ -9,8 +9,13 @@ var _uuid = require("uuid");
|
|
|
9
9
|
|
|
10
10
|
var _base = require("../../../../assets/images/base64");
|
|
11
11
|
|
|
12
|
+
var _constants = require("../../../../constants");
|
|
13
|
+
|
|
12
14
|
var getDefaultJSON = function getDefaultJSON() {
|
|
15
|
+
var _a;
|
|
16
|
+
|
|
13
17
|
var contentId = (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: (0, _uuid.v4)(),
|
|
16
21
|
type: 'FLASH_DEAL',
|
|
@@ -28,7 +33,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
28
33
|
text: 'Flash Deal',
|
|
29
34
|
content: {
|
|
30
35
|
sizeType: 'Customize font styles',
|
|
31
|
-
fontFamily:
|
|
36
|
+
fontFamily: defaultFontFamily,
|
|
32
37
|
fontWeight: 600,
|
|
33
38
|
fontSize: 14,
|
|
34
39
|
color: '#2C2C2C'
|
|
@@ -54,7 +59,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
54
59
|
},
|
|
55
60
|
buttonText: {
|
|
56
61
|
sizeType: 'Customize font styles',
|
|
57
|
-
fontFamily:
|
|
62
|
+
fontFamily: defaultFontFamily,
|
|
58
63
|
fontWeight: 600,
|
|
59
64
|
fontSize: 12,
|
|
60
65
|
fontStyle: 'normal',
|
|
@@ -106,7 +111,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
106
111
|
},
|
|
107
112
|
buttonText: {
|
|
108
113
|
sizeType: 'Customize font styles',
|
|
109
|
-
fontFamily:
|
|
114
|
+
fontFamily: defaultFontFamily,
|
|
110
115
|
fontWeight: 600,
|
|
111
116
|
fontSize: 8,
|
|
112
117
|
fontStyle: 'normal',
|
|
@@ -146,7 +151,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
146
151
|
text: 'Flash Deal',
|
|
147
152
|
content: {
|
|
148
153
|
sizeType: 'Customize font styles',
|
|
149
|
-
fontFamily:
|
|
154
|
+
fontFamily: defaultFontFamily,
|
|
150
155
|
fontWeight: 500,
|
|
151
156
|
fontSize: 14,
|
|
152
157
|
color: '#2C2C2C'
|
|
@@ -170,7 +175,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
170
175
|
text: 'Flash Deal',
|
|
171
176
|
content: {
|
|
172
177
|
sizeType: 'Customize font styles',
|
|
173
|
-
fontFamily:
|
|
178
|
+
fontFamily: defaultFontFamily,
|
|
174
179
|
fontWeight: 600,
|
|
175
180
|
fontSize: 14,
|
|
176
181
|
color: '#CE1126'
|
|
@@ -194,7 +199,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
194
199
|
text: 'Flash Deal',
|
|
195
200
|
content: {
|
|
196
201
|
sizeType: 'Customize font styles',
|
|
197
|
-
fontFamily:
|
|
202
|
+
fontFamily: defaultFontFamily,
|
|
198
203
|
fontWeight: 500,
|
|
199
204
|
fontSize: 10,
|
|
200
205
|
color: '#929292'
|
|
@@ -7,8 +7,13 @@ 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
|
+
|
|
11
15
|
var contentId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: (0, _uuid.v4)(),
|
|
14
19
|
type: 'GROUP_BUY',
|
|
@@ -21,7 +26,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
21
26
|
text: 'Group Buy',
|
|
22
27
|
content: {
|
|
23
28
|
sizeType: 'Customize font styles',
|
|
24
|
-
fontFamily:
|
|
29
|
+
fontFamily: defaultFontFamily,
|
|
25
30
|
fontWeight: 600,
|
|
26
31
|
fontSize: 16,
|
|
27
32
|
color: '#000'
|
|
@@ -47,7 +52,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
47
52
|
},
|
|
48
53
|
buttonText: {
|
|
49
54
|
sizeType: 'Customize font styles',
|
|
50
|
-
fontFamily:
|
|
55
|
+
fontFamily: defaultFontFamily,
|
|
51
56
|
fontWeight: 400,
|
|
52
57
|
fontSize: 13,
|
|
53
58
|
fontStyle: 'normal',
|
|
@@ -95,7 +100,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
95
100
|
},
|
|
96
101
|
buttonText: {
|
|
97
102
|
sizeType: 'Customize font styles',
|
|
98
|
-
fontFamily:
|
|
103
|
+
fontFamily: defaultFontFamily,
|
|
99
104
|
fontWeight: 700,
|
|
100
105
|
fontSize: 8,
|
|
101
106
|
fontStyle: 'normal',
|
|
@@ -129,7 +134,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
129
134
|
text: 'Group Buy',
|
|
130
135
|
content: {
|
|
131
136
|
sizeType: 'Customize font styles',
|
|
132
|
-
fontFamily:
|
|
137
|
+
fontFamily: defaultFontFamily,
|
|
133
138
|
fontWeight: 700,
|
|
134
139
|
fontSize: 13,
|
|
135
140
|
color: '#232F46'
|
|
@@ -153,7 +158,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
153
158
|
text: 'Group Buy',
|
|
154
159
|
content: {
|
|
155
160
|
sizeType: 'Customize font styles',
|
|
156
|
-
fontFamily:
|
|
161
|
+
fontFamily: defaultFontFamily,
|
|
157
162
|
fontWeight: 700,
|
|
158
163
|
fontSize: 13,
|
|
159
164
|
color: '#CE1126'
|
|
@@ -177,7 +182,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
177
182
|
text: 'Group Buy',
|
|
178
183
|
content: {
|
|
179
184
|
sizeType: 'Customize font styles',
|
|
180
|
-
fontFamily:
|
|
185
|
+
fontFamily: defaultFontFamily,
|
|
181
186
|
fontWeight: 500,
|
|
182
187
|
fontSize: 10,
|
|
183
188
|
color: '#8493AF'
|
|
@@ -7,8 +7,13 @@ exports.getDefaultJSON = exports.MobileNavGroupSourceJSON = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
10
|
+
var _constants = require("../../../../constants");
|
|
11
|
+
|
|
10
12
|
var MobileNavGroupSourceJSON = function MobileNavGroupSourceJSON() {
|
|
13
|
+
var _a;
|
|
14
|
+
|
|
11
15
|
var groupId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: groupId,
|
|
14
19
|
image: {
|
|
@@ -40,7 +45,7 @@ var MobileNavGroupSourceJSON = function MobileNavGroupSourceJSON() {
|
|
|
40
45
|
text: 'name',
|
|
41
46
|
content: {
|
|
42
47
|
sizeType: 'Customize font styles',
|
|
43
|
-
fontFamily:
|
|
48
|
+
fontFamily: defaultFontFamily,
|
|
44
49
|
fontWeight: 600,
|
|
45
50
|
fontSize: 12,
|
|
46
51
|
color: '#232F46',
|
|
@@ -7,8 +7,13 @@ exports.getDefaultJSON = exports.OrdersGroupSourceJSON = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
10
|
+
var _constants = require("../../../../constants");
|
|
11
|
+
|
|
10
12
|
var OrdersGroupSourceJSON = function OrdersGroupSourceJSON(text) {
|
|
13
|
+
var _a;
|
|
14
|
+
|
|
11
15
|
var groupId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: groupId,
|
|
14
19
|
title: {
|
|
@@ -20,7 +25,7 @@ var OrdersGroupSourceJSON = function OrdersGroupSourceJSON(text) {
|
|
|
20
25
|
text: text || 'Name',
|
|
21
26
|
content: {
|
|
22
27
|
sizeType: 'Customize font styles',
|
|
23
|
-
fontFamily:
|
|
28
|
+
fontFamily: defaultFontFamily,
|
|
24
29
|
fontWeight: 400,
|
|
25
30
|
fontSize: 12,
|
|
26
31
|
color: '#2C2C2C',
|
|
@@ -9,8 +9,13 @@ var _uuid = require("uuid");
|
|
|
9
9
|
|
|
10
10
|
var _base = require("../../../../assets/images/base64");
|
|
11
11
|
|
|
12
|
+
var _constants = require("../../../../constants");
|
|
13
|
+
|
|
12
14
|
var PcNavGroupSourceJSON = function PcNavGroupSourceJSON() {
|
|
15
|
+
var _a;
|
|
16
|
+
|
|
13
17
|
var groupId = (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
|
title: {
|
|
@@ -22,7 +27,7 @@ var PcNavGroupSourceJSON = function PcNavGroupSourceJSON() {
|
|
|
22
27
|
text: 'Navigation',
|
|
23
28
|
content: {
|
|
24
29
|
sizeType: 'Customize font styles',
|
|
25
|
-
fontFamily:
|
|
30
|
+
fontFamily: defaultFontFamily,
|
|
26
31
|
fontWeight: 400,
|
|
27
32
|
fontSize: 16,
|
|
28
33
|
pcFontSize: 16,
|
|
@@ -78,7 +83,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
78
83
|
iconUrl: _base.pcNavIcon,
|
|
79
84
|
content: {
|
|
80
85
|
sizeType: 'Customize font styles',
|
|
81
|
-
fontFamily:
|
|
86
|
+
fontFamily: defaultFontFamily,
|
|
82
87
|
fontWeight: 400,
|
|
83
88
|
fontSize: 16,
|
|
84
89
|
pcFontSize: 16,
|
|
@@ -91,7 +96,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
91
96
|
specialContent: [],
|
|
92
97
|
content: {
|
|
93
98
|
sizeType: 'Customize font styles',
|
|
94
|
-
fontFamily:
|
|
99
|
+
fontFamily: defaultFontFamily,
|
|
95
100
|
fontWeight: 400,
|
|
96
101
|
fontSize: 16,
|
|
97
102
|
pcFontSize: 16,
|
|
@@ -104,7 +109,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
104
109
|
specialContent: [],
|
|
105
110
|
content: {
|
|
106
111
|
sizeType: 'Customize font styles',
|
|
107
|
-
fontFamily:
|
|
112
|
+
fontFamily: defaultFontFamily,
|
|
108
113
|
fontWeight: 400,
|
|
109
114
|
fontSize: 16,
|
|
110
115
|
pcFontSize: 16,
|
|
@@ -117,7 +122,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
117
122
|
specialContent: [],
|
|
118
123
|
content: {
|
|
119
124
|
sizeType: 'Customize font styles',
|
|
120
|
-
fontFamily:
|
|
125
|
+
fontFamily: defaultFontFamily,
|
|
121
126
|
fontWeight: 400,
|
|
122
127
|
fontSize: 16,
|
|
123
128
|
pcFontSize: 16,
|
|
@@ -7,8 +7,13 @@ exports.getDefaultJSON = exports.PersonalInfoGroupSourceJSON = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
10
|
+
var _constants = require("../../../../constants");
|
|
11
|
+
|
|
10
12
|
var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
|
|
13
|
+
var _a;
|
|
14
|
+
|
|
11
15
|
var groupId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: groupId,
|
|
14
19
|
title: {
|
|
@@ -20,7 +25,7 @@ var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
|
|
|
20
25
|
text: text || 'Name',
|
|
21
26
|
content: {
|
|
22
27
|
sizeType: 'Customize font styles',
|
|
23
|
-
fontFamily:
|
|
28
|
+
fontFamily: defaultFontFamily,
|
|
24
29
|
fontWeight: 400,
|
|
25
30
|
fontSize: 12,
|
|
26
31
|
color: '#fff',
|
|
@@ -43,7 +48,7 @@ var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
|
|
|
43
48
|
text: 0,
|
|
44
49
|
content: {
|
|
45
50
|
sizeType: 'Customize font styles',
|
|
46
|
-
fontFamily:
|
|
51
|
+
fontFamily: defaultFontFamily,
|
|
47
52
|
fontWeight: 600,
|
|
48
53
|
fontSize: 18,
|
|
49
54
|
color: '#fff',
|
|
@@ -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',
|
|
@@ -134,7 +139,7 @@ var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo,
|
|
|
134
139
|
text: text,
|
|
135
140
|
content: {
|
|
136
141
|
sizeType: 'Customize font styles',
|
|
137
|
-
fontFamily:
|
|
142
|
+
fontFamily: defaultFontFamily,
|
|
138
143
|
fontWeight: 600,
|
|
139
144
|
fontSize: 14,
|
|
140
145
|
color: '#CE1126'
|
|
@@ -153,7 +158,10 @@ var recommendGroupSourceJSON = function recommendGroupSourceJSON(parentId, logo,
|
|
|
153
158
|
exports.recommendGroupSourceJSON = recommendGroupSourceJSON;
|
|
154
159
|
|
|
155
160
|
var getDefaultJSON = function getDefaultJSON() {
|
|
161
|
+
var _a;
|
|
162
|
+
|
|
156
163
|
var groupId = (0, _uuid.v4)();
|
|
164
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
157
165
|
return {
|
|
158
166
|
id: groupId,
|
|
159
167
|
type: 'RECOMMEND',
|
|
@@ -170,7 +178,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
170
178
|
},
|
|
171
179
|
buttonText: {
|
|
172
180
|
sizeType: 'Customize font styles',
|
|
173
|
-
fontFamily:
|
|
181
|
+
fontFamily: defaultFontFamily,
|
|
174
182
|
fontWeight: 600,
|
|
175
183
|
fontSize: 8,
|
|
176
184
|
fontStyle: 'normal',
|
|
@@ -209,7 +217,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
209
217
|
text: 'Flash Deal',
|
|
210
218
|
content: {
|
|
211
219
|
sizeType: 'Customize font styles',
|
|
212
|
-
fontFamily:
|
|
220
|
+
fontFamily: defaultFontFamily,
|
|
213
221
|
fontWeight: 700,
|
|
214
222
|
fontSize: 14,
|
|
215
223
|
color: '#232F46'
|
|
@@ -232,7 +240,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
232
240
|
text: 'Flash Deal',
|
|
233
241
|
content: {
|
|
234
242
|
sizeType: 'Customize font styles',
|
|
235
|
-
fontFamily:
|
|
243
|
+
fontFamily: defaultFontFamily,
|
|
236
244
|
fontWeight: 700,
|
|
237
245
|
fontSize: 14,
|
|
238
246
|
color: '#CE1126'
|
|
@@ -255,7 +263,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
255
263
|
text: 'Flash Deal',
|
|
256
264
|
content: {
|
|
257
265
|
sizeType: 'Customize font styles',
|
|
258
|
-
fontFamily:
|
|
266
|
+
fontFamily: defaultFontFamily,
|
|
259
267
|
fontWeight: 500,
|
|
260
268
|
fontSize: 10,
|
|
261
269
|
color: '#8493AF'
|
|
@@ -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: 'SEARCH',
|
|
@@ -50,7 +55,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
50
55
|
placeholder: 'Tshirt Woman',
|
|
51
56
|
content: {
|
|
52
57
|
sizeType: 'Customize font styles',
|
|
53
|
-
fontFamily:
|
|
58
|
+
fontFamily: defaultFontFamily,
|
|
54
59
|
fontWeight: 600,
|
|
55
60
|
fontSize: 12,
|
|
56
61
|
pcFontSize: 14,
|
|
@@ -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: 'SIGN_BOARD',
|
|
@@ -39,7 +44,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
39
44
|
text: 'Title',
|
|
40
45
|
content: {
|
|
41
46
|
sizeType: 'Customize font styles',
|
|
42
|
-
fontFamily:
|
|
47
|
+
fontFamily: defaultFontFamily,
|
|
43
48
|
fontWeight: 600,
|
|
44
49
|
fontSize: 16,
|
|
45
50
|
color: '#070707'
|
|
@@ -67,10 +72,6 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
67
72
|
marginBottom: window.magicDesign.compSpacing
|
|
68
73
|
}
|
|
69
74
|
},
|
|
70
|
-
// customize: {
|
|
71
|
-
// layout: 'left',
|
|
72
|
-
// align: 'left',
|
|
73
|
-
// },
|
|
74
75
|
background: {
|
|
75
76
|
opacity: 100,
|
|
76
77
|
color: '#fff',
|
|
@@ -7,8 +7,13 @@ 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
|
+
|
|
11
15
|
var contentId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: (0, _uuid.v4)(),
|
|
14
19
|
type: 'INTEREST_PRODUCTS',
|
|
@@ -21,7 +26,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
21
26
|
text: 'Nutrition & Wellness supplements',
|
|
22
27
|
content: {
|
|
23
28
|
sizeType: 'Customize font styles',
|
|
24
|
-
fontFamily:
|
|
29
|
+
fontFamily: defaultFontFamily,
|
|
25
30
|
fontWeight: 600,
|
|
26
31
|
fontSize: 15,
|
|
27
32
|
color: '#000'
|
|
@@ -7,8 +7,13 @@ 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
|
+
|
|
11
15
|
var contentId = (0, _uuid.v4)();
|
|
16
|
+
var defaultFontFamily = _constants.projectFontFamily[(_a = window.systemParams) === null || _a === void 0 ? void 0 : _a.projectCode] || 'Open Sans';
|
|
12
17
|
return {
|
|
13
18
|
id: (0, _uuid.v4)(),
|
|
14
19
|
type: 'MERCHANT_SALES',
|
|
@@ -44,7 +49,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
44
49
|
text: 'Name',
|
|
45
50
|
content: {
|
|
46
51
|
sizeType: 'Customize font styles',
|
|
47
|
-
fontFamily:
|
|
52
|
+
fontFamily: defaultFontFamily,
|
|
48
53
|
fontWeight: 400,
|
|
49
54
|
fontSize: 14,
|
|
50
55
|
color: '#000',
|
|
@@ -9,8 +9,13 @@ var _uuid = require("uuid");
|
|
|
9
9
|
|
|
10
10
|
var _base = require("../../../../assets/images/base64");
|
|
11
11
|
|
|
12
|
+
var _constants = require("../../../../constants");
|
|
13
|
+
|
|
12
14
|
var getDefaultJSON = function getDefaultJSON() {
|
|
15
|
+
var _a;
|
|
16
|
+
|
|
13
17
|
var contentId = (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: (0, _uuid.v4)(),
|
|
16
21
|
type: 'MONPAY_FLASH_DEAL',
|
|
@@ -28,7 +33,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
28
33
|
text: 'Flash Deal',
|
|
29
34
|
content: {
|
|
30
35
|
sizeType: 'Customize font styles',
|
|
31
|
-
fontFamily:
|
|
36
|
+
fontFamily: defaultFontFamily,
|
|
32
37
|
fontWeight: 600,
|
|
33
38
|
fontSize: 13,
|
|
34
39
|
color: '#232F46'
|
|
@@ -54,7 +59,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
54
59
|
text: '',
|
|
55
60
|
content: {
|
|
56
61
|
sizeType: 'Customize font styles',
|
|
57
|
-
fontFamily:
|
|
62
|
+
fontFamily: defaultFontFamily,
|
|
58
63
|
fontWeight: 400,
|
|
59
64
|
fontSize: 11,
|
|
60
65
|
color: '#8493AF'
|
|
@@ -82,7 +87,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
82
87
|
},
|
|
83
88
|
buttonText: {
|
|
84
89
|
sizeType: 'Customize font styles',
|
|
85
|
-
fontFamily:
|
|
90
|
+
fontFamily: defaultFontFamily,
|
|
86
91
|
fontWeight: 400,
|
|
87
92
|
fontSize: 14,
|
|
88
93
|
fontStyle: 'normal',
|
|
@@ -134,7 +139,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
134
139
|
},
|
|
135
140
|
buttonText: {
|
|
136
141
|
sizeType: 'Customize font styles',
|
|
137
|
-
fontFamily:
|
|
142
|
+
fontFamily: defaultFontFamily,
|
|
138
143
|
fontWeight: 600,
|
|
139
144
|
fontSize: 8,
|
|
140
145
|
fontStyle: 'normal',
|
|
@@ -177,7 +182,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
177
182
|
},
|
|
178
183
|
buttonText: {
|
|
179
184
|
sizeType: 'Customize font styles',
|
|
180
|
-
fontFamily:
|
|
185
|
+
fontFamily: defaultFontFamily,
|
|
181
186
|
fontWeight: 600,
|
|
182
187
|
fontSize: 8,
|
|
183
188
|
fontStyle: 'normal',
|
|
@@ -217,7 +222,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
217
222
|
text: '',
|
|
218
223
|
content: {
|
|
219
224
|
sizeType: 'Customize font styles',
|
|
220
|
-
fontFamily:
|
|
225
|
+
fontFamily: defaultFontFamily,
|
|
221
226
|
fontWeight: 500,
|
|
222
227
|
fontSize: 14,
|
|
223
228
|
color: '#2C2C2C'
|
|
@@ -241,7 +246,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
241
246
|
text: '',
|
|
242
247
|
content: {
|
|
243
248
|
sizeType: 'Customize font styles',
|
|
244
|
-
fontFamily:
|
|
249
|
+
fontFamily: defaultFontFamily,
|
|
245
250
|
fontWeight: 600,
|
|
246
251
|
fontSize: 14,
|
|
247
252
|
color: '#CE1126'
|
|
@@ -265,7 +270,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
265
270
|
text: '',
|
|
266
271
|
content: {
|
|
267
272
|
sizeType: 'Customize font styles',
|
|
268
|
-
fontFamily:
|
|
273
|
+
fontFamily: defaultFontFamily,
|
|
269
274
|
fontWeight: 500,
|
|
270
275
|
fontSize: 10,
|
|
271
276
|
color: '#929292'
|