pds-dev-kit-web 2.0.9-alpha.6 → 2.0.9-alpha.7
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/dist/src/common/services/i18n/resources/en.json +2 -1
- package/dist/src/common/services/i18n/resources/es.json +2 -1
- package/dist/src/common/services/i18n/resources/fil.json +2 -1
- package/dist/src/common/services/i18n/resources/index.d.ts +14 -7
- package/dist/src/common/services/i18n/resources/ja.json +2 -1
- package/dist/src/common/services/i18n/resources/ko.json +2 -1
- package/dist/src/common/services/i18n/resources/zh-cn.json +2 -1
- package/dist/src/common/services/i18n/resources/zh-tw.json +2 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +8 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +8 -1
- package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.js +2 -2
- package/package.json +1 -1
- package/release-note.md +1 -1
|
@@ -23,7 +23,8 @@ declare const locale: {
|
|
|
23
23
|
str_payment_option_one_time: string;
|
|
24
24
|
str_payment_option_subs_regularly: string;
|
|
25
25
|
str_5831: string;
|
|
26
|
-
|
|
26
|
+
str_start: string;
|
|
27
|
+
str_free: string;
|
|
27
28
|
};
|
|
28
29
|
};
|
|
29
30
|
readonly en: {
|
|
@@ -50,7 +51,8 @@ declare const locale: {
|
|
|
50
51
|
str_payment_option_one_time: string;
|
|
51
52
|
str_payment_option_subs_regularly: string;
|
|
52
53
|
str_5831: string;
|
|
53
|
-
|
|
54
|
+
str_start: string;
|
|
55
|
+
str_free: string;
|
|
54
56
|
};
|
|
55
57
|
};
|
|
56
58
|
readonly ja: {
|
|
@@ -77,7 +79,8 @@ declare const locale: {
|
|
|
77
79
|
str_payment_option_one_time: string;
|
|
78
80
|
str_payment_option_subs_regularly: string;
|
|
79
81
|
str_5831: string;
|
|
80
|
-
|
|
82
|
+
str_start: string;
|
|
83
|
+
str_free: string;
|
|
81
84
|
};
|
|
82
85
|
};
|
|
83
86
|
readonly es: {
|
|
@@ -104,7 +107,8 @@ declare const locale: {
|
|
|
104
107
|
str_payment_option_one_time: string;
|
|
105
108
|
str_payment_option_subs_regularly: string;
|
|
106
109
|
str_5831: string;
|
|
107
|
-
|
|
110
|
+
str_start: string;
|
|
111
|
+
str_free: string;
|
|
108
112
|
};
|
|
109
113
|
};
|
|
110
114
|
readonly 'zh-cn': {
|
|
@@ -131,7 +135,8 @@ declare const locale: {
|
|
|
131
135
|
str_payment_option_one_time: string;
|
|
132
136
|
str_payment_option_subs_regularly: string;
|
|
133
137
|
str_5831: string;
|
|
134
|
-
|
|
138
|
+
str_start: string;
|
|
139
|
+
str_free: string;
|
|
135
140
|
};
|
|
136
141
|
};
|
|
137
142
|
readonly 'zh-tw': {
|
|
@@ -158,7 +163,8 @@ declare const locale: {
|
|
|
158
163
|
str_payment_option_one_time: string;
|
|
159
164
|
str_payment_option_subs_regularly: string;
|
|
160
165
|
str_5831: string;
|
|
161
|
-
|
|
166
|
+
str_start: string;
|
|
167
|
+
str_free: string;
|
|
162
168
|
};
|
|
163
169
|
};
|
|
164
170
|
readonly fil: {
|
|
@@ -185,7 +191,8 @@ declare const locale: {
|
|
|
185
191
|
str_payment_option_one_time: string;
|
|
186
192
|
str_payment_option_subs_regularly: string;
|
|
187
193
|
str_5831: string;
|
|
188
|
-
|
|
194
|
+
str_start: string;
|
|
195
|
+
str_free: string;
|
|
189
196
|
};
|
|
190
197
|
};
|
|
191
198
|
};
|
|
@@ -36,6 +36,13 @@ function MembershipPlanSheet(_a) {
|
|
|
36
36
|
var productFeeText = (0, react_1.useMemo)(function () {
|
|
37
37
|
var amount = fee.amount, currency = fee.currency;
|
|
38
38
|
var price = (0, formatCurrency_1.default)(amount, currency);
|
|
39
|
+
switch (type) {
|
|
40
|
+
case 'COUPON_FREE_FINITE':
|
|
41
|
+
case 'COUPON_FREE_INFINITE':
|
|
42
|
+
case 'FREE_FINITE':
|
|
43
|
+
case 'FREE_INFINITE':
|
|
44
|
+
return t('str_free');
|
|
45
|
+
}
|
|
39
46
|
switch (currency) {
|
|
40
47
|
case 'KRW':
|
|
41
48
|
return t('str_5339', { price: price });
|
|
@@ -52,7 +59,7 @@ function MembershipPlanSheet(_a) {
|
|
|
52
59
|
case 'COUPON_FREE_INFINITE':
|
|
53
60
|
case 'FREE_FINITE':
|
|
54
61
|
case 'FREE_INFINITE':
|
|
55
|
-
return t('
|
|
62
|
+
return t('str_start');
|
|
56
63
|
default:
|
|
57
64
|
return itemActionButtonTextType;
|
|
58
65
|
}
|
|
@@ -35,6 +35,13 @@ function MembershipPlanSheet(_a) {
|
|
|
35
35
|
var productFeeText = (0, react_1.useMemo)(function () {
|
|
36
36
|
var amount = fee.amount, currency = fee.currency;
|
|
37
37
|
var price = (0, formatCurrency_1.default)(amount, currency);
|
|
38
|
+
switch (type) {
|
|
39
|
+
case 'COUPON_FREE_FINITE':
|
|
40
|
+
case 'COUPON_FREE_INFINITE':
|
|
41
|
+
case 'FREE_FINITE':
|
|
42
|
+
case 'FREE_INFINITE':
|
|
43
|
+
return t('str_free');
|
|
44
|
+
}
|
|
38
45
|
switch (currency) {
|
|
39
46
|
case 'KRW':
|
|
40
47
|
return t('str_5339', { price: price });
|
|
@@ -51,7 +58,7 @@ function MembershipPlanSheet(_a) {
|
|
|
51
58
|
case 'COUPON_FREE_INFINITE':
|
|
52
59
|
case 'FREE_FINITE':
|
|
53
60
|
case 'FREE_INFINITE':
|
|
54
|
-
return t('
|
|
61
|
+
return t('str_start');
|
|
55
62
|
default:
|
|
56
63
|
return itemActionButtonTextType;
|
|
57
64
|
}
|
|
@@ -4,7 +4,7 @@ exports.MEMBERSHIP_SECTION_SUBSCRIPTION_PRODUCT_TYPE_TEXT = exports.MEMBERSHIP_S
|
|
|
4
4
|
exports.COMMON_OVERLAY_IMAGE_SRC = 'https://static.publ.site/membership_card_deco.png';
|
|
5
5
|
exports.MEMBERSHIP_SECTION_TONE_COLOR = {
|
|
6
6
|
LIGHT: {
|
|
7
|
-
contentBackgroundDimColor: '#
|
|
7
|
+
contentBackgroundDimColor: '#F5F5F8CC',
|
|
8
8
|
iconButtonBackgroundColor: '#FFFFFFFF',
|
|
9
9
|
iconButtonBorderColor: '#E3E5E9FF',
|
|
10
10
|
iconButtonDisabledBackgroundColor: '#FFFFFFFF',
|
|
@@ -19,7 +19,7 @@ exports.MEMBERSHIP_SECTION_TONE_COLOR = {
|
|
|
19
19
|
emptyMembershipSheetTextLabelColor: '#68686BFF'
|
|
20
20
|
},
|
|
21
21
|
DARK: {
|
|
22
|
-
contentBackgroundDimColor: '#
|
|
22
|
+
contentBackgroundDimColor: '#252526B3',
|
|
23
23
|
iconButtonBackgroundColor: '#1E1E20FF',
|
|
24
24
|
iconButtonBorderColor: '#404042FF',
|
|
25
25
|
iconButtonDisabledBackgroundColor: '#151515FF',
|
package/package.json
CHANGED
package/release-note.md
CHANGED