ts-glitter 20.6.8 → 20.6.9

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.
Files changed (160) hide show
  1. package/lowcode/Entry.js +2 -2
  2. package/lowcode/Entry.ts +2 -2
  3. package/lowcode/backend-manager/bg-blog.js +617 -621
  4. package/lowcode/backend-manager/bg-blog.ts +2323 -2325
  5. package/lowcode/backend-manager/bg-line.js +5 -4
  6. package/lowcode/backend-manager/bg-line.ts +5 -4
  7. package/lowcode/backend-manager/bg-list-component.js +9 -0
  8. package/lowcode/backend-manager/bg-list-component.ts +15 -1
  9. package/lowcode/backend-manager/bg-notify.js +6 -4
  10. package/lowcode/backend-manager/bg-notify.ts +6 -4
  11. package/lowcode/backend-manager/bg-product.js +145 -0
  12. package/lowcode/backend-manager/bg-product.ts +153 -0
  13. package/lowcode/backend-manager/bg-sns.js +5 -3
  14. package/lowcode/backend-manager/bg-sns.ts +5 -3
  15. package/lowcode/backend-manager/bg-widget.js +92 -4
  16. package/lowcode/backend-manager/bg-widget.ts +122 -6
  17. package/lowcode/backend-manager/splitPage.js +0 -39
  18. package/lowcode/backend-manager/splitPage.ts +0 -40
  19. package/lowcode/cms-plugin/auto-fcm-advertise.js +17 -5
  20. package/lowcode/cms-plugin/auto-fcm-advertise.ts +19 -6
  21. package/lowcode/cms-plugin/auto-fcm-history.js +2732 -0
  22. package/lowcode/cms-plugin/auto-fcm-history.ts +2995 -0
  23. package/lowcode/cms-plugin/cms-router.js +5 -0
  24. package/lowcode/cms-plugin/cms-router.ts +6 -0
  25. package/lowcode/cms-plugin/filter-options.js +80 -27
  26. package/lowcode/cms-plugin/filter-options.ts +83 -27
  27. package/lowcode/cms-plugin/language-backend.js +50 -39
  28. package/lowcode/cms-plugin/language-backend.ts +109 -95
  29. package/lowcode/cms-plugin/menus-setting.js +175 -151
  30. package/lowcode/cms-plugin/menus-setting.ts +620 -591
  31. package/lowcode/cms-plugin/model/order.d.ts +1 -0
  32. package/lowcode/cms-plugin/module/data.js +7 -7
  33. package/lowcode/cms-plugin/module/data.ts +262 -233
  34. package/lowcode/cms-plugin/module/delivery-html.js +18 -10
  35. package/lowcode/cms-plugin/module/delivery-html.ts +26 -10
  36. package/lowcode/cms-plugin/module/order-setting.js +458 -328
  37. package/lowcode/cms-plugin/module/order-setting.ts +622 -351
  38. package/lowcode/cms-plugin/module/product-excel.js +1 -1
  39. package/lowcode/cms-plugin/module/product-excel.ts +2 -1
  40. package/lowcode/cms-plugin/order/order-module.js +90 -1
  41. package/lowcode/cms-plugin/order/order-module.ts +106 -1
  42. package/lowcode/cms-plugin/pos-pages/payment-page.js +11 -8
  43. package/lowcode/cms-plugin/pos-pages/payment-page.ts +28 -15
  44. package/lowcode/cms-plugin/pos-pages/products-page.js +0 -39
  45. package/lowcode/cms-plugin/pos-pages/products-page.ts +0 -40
  46. package/lowcode/cms-plugin/shopping-collections.ts +1 -3
  47. package/lowcode/cms-plugin/shopping-finance-setting.js +19 -80
  48. package/lowcode/cms-plugin/shopping-finance-setting.ts +19 -87
  49. package/lowcode/cms-plugin/shopping-order-manager.js +122 -38
  50. package/lowcode/cms-plugin/shopping-order-manager.ts +160 -58
  51. package/lowcode/cms-plugin/shopping-product-setting.js +364 -376
  52. package/lowcode/cms-plugin/shopping-product-setting.ts +406 -415
  53. package/lowcode/cms-plugin/shopping-setting-advance.js +57 -16
  54. package/lowcode/cms-plugin/shopping-setting-advance.ts +69 -18
  55. package/lowcode/cms-plugin/user/user-module.js +2 -43
  56. package/lowcode/cms-plugin/user/user-module.ts +2 -46
  57. package/lowcode/cms-plugin/user-list.js +4 -6
  58. package/lowcode/cms-plugin/user-list.ts +35 -38
  59. package/lowcode/css/editor.css +42 -3
  60. package/lowcode/glitter-base/global/language.js +6 -1
  61. package/lowcode/glitter-base/global/language.ts +10 -4
  62. package/lowcode/glitter-base/global/payment-config.js +19 -16
  63. package/lowcode/glitter-base/global/payment-config.ts +22 -16
  64. package/lowcode/glitter-base/global/shipment-config.js +6 -5
  65. package/lowcode/glitter-base/global/shipment-config.ts +12 -10
  66. package/lowcode/glitter-base/route/fcm.js +21 -1
  67. package/lowcode/glitter-base/route/fcm.ts +22 -2
  68. package/lowcode/glitter-base/route/shopping.js +8 -32
  69. package/lowcode/glitter-base/route/shopping.ts +10 -33
  70. package/lowcode/glitter-base/route/user.js +11 -2
  71. package/lowcode/glitter-base/route/user.ts +23 -12
  72. package/lowcode/jspage/function-page/setting_editor.js +9 -0
  73. package/lowcode/jspage/function-page/setting_editor.ts +9 -0
  74. package/lowcode/public-components/blogs/list.js +223 -195
  75. package/lowcode/public-components/blogs/list.ts +383 -352
  76. package/lowcode/public-components/product/product-list.js +8 -4
  77. package/lowcode/public-components/product/product-list.ts +9 -4
  78. package/lowcode/public-components/terms-related/index.js +1 -1
  79. package/lowcode/public-components/terms-related/index.ts +1 -1
  80. package/lowcode/public-components/user-manager/um-login.js +1 -1
  81. package/lowcode/public-components/user-manager/um-login.ts +2 -2
  82. package/lowcode/public-components/user-manager/um-order.js +41 -5
  83. package/lowcode/public-components/user-manager/um-order.ts +58 -20
  84. package/lowcode/public-components/user-manager/um-voucher.ts +2 -2
  85. package/nhi4veq3gk.json +1 -0
  86. package/package.json +1 -1
  87. package/src/Language.d.ts +2 -0
  88. package/src/Language.js +66 -65
  89. package/src/Language.js.map +1 -1
  90. package/src/Language.ts +719 -715
  91. package/src/api-public/config/shipment-config.js +3 -2
  92. package/src/api-public/config/shipment-config.js.map +1 -1
  93. package/src/api-public/config/shipment-config.ts +3 -2
  94. package/src/api-public/controllers/ai-chat.js.map +1 -1
  95. package/src/api-public/controllers/ai-chat.ts +1 -2
  96. package/src/api-public/controllers/fcm.js +23 -58
  97. package/src/api-public/controllers/fcm.js.map +1 -1
  98. package/src/api-public/controllers/fcm.ts +28 -56
  99. package/src/api-public/controllers/shop.js +7 -1
  100. package/src/api-public/controllers/shop.js.map +1 -1
  101. package/src/api-public/controllers/shop.ts +17 -10
  102. package/src/api-public/controllers/user.js +1 -0
  103. package/src/api-public/controllers/user.js.map +1 -1
  104. package/src/api-public/controllers/user.ts +2 -0
  105. package/src/api-public/services/auto-send-email.js +247 -187
  106. package/src/api-public/services/auto-send-email.js.map +1 -1
  107. package/src/api-public/services/auto-send-email.ts +568 -505
  108. package/src/api-public/services/delivery.js +1 -1
  109. package/src/api-public/services/delivery.js.map +1 -1
  110. package/src/api-public/services/delivery.ts +6 -5
  111. package/src/api-public/services/financial-service.js +1 -2
  112. package/src/api-public/services/financial-service.js.map +1 -1
  113. package/src/api-public/services/financial-service.ts +4 -6
  114. package/src/api-public/services/manager.d.ts +4 -3
  115. package/src/api-public/services/manager.js +8 -12
  116. package/src/api-public/services/manager.js.map +1 -1
  117. package/src/api-public/services/manager.ts +57 -59
  118. package/src/api-public/services/model/handlePaymentTransaction.d.ts +1 -1
  119. package/src/api-public/services/model/handlePaymentTransaction.js +23 -3
  120. package/src/api-public/services/model/handlePaymentTransaction.js.map +1 -1
  121. package/src/api-public/services/model/handlePaymentTransaction.ts +25 -36
  122. package/src/api-public/services/schedule.d.ts +1 -0
  123. package/src/api-public/services/schedule.js +27 -0
  124. package/src/api-public/services/schedule.js.map +1 -1
  125. package/src/api-public/services/schedule.ts +30 -0
  126. package/src/api-public/services/shopping.d.ts +22 -2
  127. package/src/api-public/services/shopping.js +362 -90
  128. package/src/api-public/services/shopping.js.map +1 -1
  129. package/src/api-public/services/shopping.ts +481 -134
  130. package/src/api-public/services/user.d.ts +1 -0
  131. package/src/api-public/services/user.js +32 -12
  132. package/src/api-public/services/user.js.map +1 -1
  133. package/src/api-public/services/user.ts +38 -19
  134. package/src/api-public/services/workers.js +3 -3
  135. package/src/api-public/services/workers.js.map +1 -1
  136. package/src/api-public/services/workers.ts +103 -103
  137. package/src/app-project/serverless/src/modules/database.js +1 -1
  138. package/src/app-project/serverless/src/modules/database.js.map +1 -1
  139. package/src/app-project/serverless/src/modules/database.ts +171 -171
  140. package/src/controllers/template.d.ts +1 -1
  141. package/src/controllers/template.js +16 -16
  142. package/src/controllers/template.js.map +1 -1
  143. package/src/controllers/template.ts +98 -84
  144. package/src/modules/database.js +3 -1
  145. package/src/modules/database.js.map +1 -1
  146. package/src/modules/database.ts +185 -181
  147. package/src/modules/firebase.d.ts +17 -0
  148. package/src/modules/firebase.js +126 -0
  149. package/src/modules/firebase.js.map +1 -1
  150. package/src/modules/firebase.ts +169 -0
  151. package/src/public-config-initial/auto-fcm.js +8 -2
  152. package/src/public-config-initial/auto-fcm.js.map +1 -1
  153. package/src/public-config-initial/auto-fcm.ts +15 -6
  154. package/src/services/app.d.ts +2 -1
  155. package/src/services/app.js.map +1 -1
  156. package/src/services/app.ts +2 -1
  157. package/src/services/template.d.ts +3 -2
  158. package/src/services/template.js +2 -1
  159. package/src/services/template.js.map +1 -1
  160. package/src/services/template.ts +13 -20
package/src/Language.js CHANGED
@@ -8,7 +8,7 @@ class Language {
8
8
  key: 'c_cancel_order',
9
9
  tw: '請問確定要取消此訂單嗎?',
10
10
  cn: '请问确定要取消此订单吗?',
11
- en: `Are you sure you want to cancel this order?`
11
+ en: `Are you sure you want to cancel this order?`,
12
12
  },
13
13
  { key: 's_cancel_order', tw: '取消訂單成功', cn: '取消订单成功', en: `Order canceled successfully` },
14
14
  { key: 'newWebPay', tw: '藍新金流', cn: '蓝新金流', en: `NewebPay` },
@@ -28,13 +28,13 @@ class Language {
28
28
  key: 'min_p_count_d',
29
29
  tw: '_p_ 最少購買數量為_c_件',
30
30
  cn: '_p_ 最少购买数量为_c_件',
31
- en: `_p_ Minimum purchase quantity is _c_ pieces.`
31
+ en: `_p_ Minimum purchase quantity is _c_ pieces.`,
32
32
  },
33
33
  {
34
34
  key: 'min_p_count',
35
35
  tw: '此商品最少購買數量為_c_件',
36
36
  cn: '此商品最少购买数量为_c_件',
37
- en: `Minimum purchase quantity is _c_ pieces.`
37
+ en: `Minimum purchase quantity is _c_ pieces.`,
38
38
  },
39
39
  { key: 'ship_global_express', tw: '國際快遞', cn: '国际快递', en: `International express` },
40
40
  { key: 'ship_HILIFEC2C', tw: '萊爾富店到店', cn: '莱尔富店到店', en: `Hi-Life Store-to-Store Delivery` },
@@ -43,7 +43,7 @@ class Language {
43
43
  key: 'ship_UNIMARTC2C',
44
44
  tw: '7-ELEVEN超商交貨便',
45
45
  cn: '7-ELEVEN便利店送货便',
46
- en: `7-ELEVEN Store Delivery Service`
46
+ en: `7-ELEVEN Store Delivery Service`,
47
47
  },
48
48
  { key: 'ship_shop', tw: '實體門市取貨', cn: '实体门市取货', en: `In-Store Pickup` },
49
49
  { key: 'ship_FAMIC2C', tw: '全家店到店', cn: '全家店到店', en: `FamilyMart Store-to-Store Delivery` },
@@ -74,7 +74,7 @@ class Language {
74
74
  key: 'max_discount_order',
75
75
  tw: '此份訂單最多可折抵',
76
76
  cn: '此份订单最多可折抵',
77
- en: 'Maximum discount for this order'
77
+ en: 'Maximum discount for this order',
78
78
  },
79
79
  { key: 'total_amount', tw: '總金額', cn: '总金额', en: 'Total amount' },
80
80
  { key: 'additional_purchase_items', tw: '可加購商品', cn: '可加购商品', en: 'Additional purchase items' },
@@ -82,7 +82,7 @@ class Language {
82
82
  key: 'payment_and_shipping_methods',
83
83
  tw: '付款及配送方式',
84
84
  cn: '付款及配送方式',
85
- en: 'Payment and shipping'
85
+ en: 'Payment and shipping',
86
86
  },
87
87
  { key: 'payment_method', tw: '付款方式', cn: '付款方式', en: 'Payment method' },
88
88
  { key: 'shipping_method', tw: '配送方式', cn: '配送方式', en: 'Shipping method' },
@@ -99,7 +99,7 @@ class Language {
99
99
  key: 'enter_delivery_notes',
100
100
  tw: '請輸入送貨備註',
101
101
  cn: '请输入送货备注',
102
- en: 'Please enter delivery notes'
102
+ en: 'Please enter delivery notes',
103
103
  },
104
104
  { key: 'send_to_user_email', tw: '傳送至用戶信箱', cn: '传送至用户邮箱', en: 'Send to user email' },
105
105
  { key: 'mobile_barcode_device', tw: '手機條碼載具', cn: '手机条码载具', en: 'Mobile barcode device' },
@@ -115,7 +115,7 @@ class Language {
115
115
  key: 'same_as_buyer_info',
116
116
  tw: '收件人同購買人資料',
117
117
  cn: '收件人同购买人资料',
118
- en: 'Recipient same as buyer information'
118
+ en: 'Recipient same as buyer information',
119
119
  },
120
120
  { key: 'personal', tw: '個人', cn: '个人', en: 'Personal' },
121
121
  { key: 'company', tw: '公司', cn: '公司', en: 'Company' },
@@ -136,7 +136,7 @@ class Language {
136
136
  key: 'not_meet_usage_criteria',
137
137
  tw: '未達使用標準',
138
138
  cn: '未达使用标准',
139
- en: 'Does not meet usage criteria'
139
+ en: 'Does not meet usage criteria',
140
140
  },
141
141
  { key: 'code_unusable', tw: '此代碼無法使用', cn: '此代码无法使用', en: 'This code cannot be used' },
142
142
  { key: 'enter_promo_code', tw: '請輸入優惠代碼', cn: '请输入优惠代码', en: 'Please enter coupon code' },
@@ -151,37 +151,37 @@ class Language {
151
151
  key: 'city',
152
152
  tw: '城市',
153
153
  cn: '城市',
154
- en: 'City'
154
+ en: 'City',
155
155
  },
156
156
  {
157
157
  key: 'state',
158
158
  tw: '州/省',
159
159
  cn: '州/省',
160
- en: 'State/Province'
160
+ en: 'State/Province',
161
161
  },
162
162
  {
163
163
  key: 'postal_code',
164
164
  tw: '郵遞區號',
165
165
  cn: '邮政编码',
166
- en: 'Postal code'
166
+ en: 'Postal code',
167
167
  },
168
168
  {
169
169
  key: 'please_enter_delivery_address',
170
170
  tw: '請輸入配送地址',
171
171
  cn: '请输入配送地址',
172
- en: 'Please enter delivery address'
172
+ en: 'Please enter delivery address',
173
173
  },
174
174
  {
175
175
  key: 'please_enter_street_location',
176
176
  tw: '請輸入街道與門牌位置',
177
177
  cn: '請輸入街道與門牌位置',
178
- en: 'Please enter the street and house number location'
178
+ en: 'Please enter the street and house number location',
179
179
  },
180
180
  {
181
181
  key: 'please_enter_contact_number',
182
182
  tw: '請輸入聯絡電話',
183
183
  cn: '请输入联系电话',
184
- en: 'Please enter contact number'
184
+ en: 'Please enter contact number',
185
185
  },
186
186
  { key: 'please_enter_name', tw: '請輸入姓名', cn: '请输入姓名', en: 'Please enter name' },
187
187
  { key: 'please_enter_email', tw: '請輸入電子信箱', cn: '请输入电子邮箱', en: 'Please enter email' },
@@ -191,25 +191,25 @@ class Language {
191
191
  key: 'please_enter_carrier_number',
192
192
  tw: '請輸入載具號碼',
193
193
  cn: '请输入载具号码',
194
- en: 'Please enter carrier number'
194
+ en: 'Please enter carrier number',
195
195
  },
196
196
  {
197
197
  key: 'please_enter_company_name',
198
198
  tw: '請輸入公司名稱',
199
199
  cn: '请输入公司名称',
200
- en: 'Please enter company name'
200
+ en: 'Please enter company name',
201
201
  },
202
202
  {
203
203
  key: 'please_enter_company_tax_id',
204
204
  tw: '請輸入公司統一編號',
205
205
  cn: '请输入公司统一编码',
206
- en: 'Please enter company tax ID'
206
+ en: 'Please enter company tax ID',
207
207
  },
208
208
  {
209
209
  key: 'please_enter_donation_code',
210
210
  tw: '請輸入捐贈碼',
211
211
  cn: '请输入捐赠码',
212
- en: 'Please enter donation code'
212
+ en: 'Please enter donation code',
213
213
  },
214
214
  {
215
215
  key: 'name_length_restrictions',
@@ -227,7 +227,7 @@ class Language {
227
227
  key: 'select_delivery_store',
228
228
  tw: '請選擇「配送門市」',
229
229
  cn: '请选择「配送门市」',
230
- en: 'Please select "Delivery Store"'
230
+ en: 'Please select "Delivery Store"',
231
231
  },
232
232
  { key: 'please_select_gift', tw: '請選擇「贈品」', cn: '请选择「赠品」', en: 'Please select "Gift"' },
233
233
  { key: 'customer_name', tw: '顧客姓名', cn: '顾客姓名', en: 'Customer name' },
@@ -242,7 +242,7 @@ class Language {
242
242
  key: 'phone_format_starting_with_09',
243
243
  tw: '09 開頭的手機格式',
244
244
  cn: '以 09 開头的手机格式',
245
- en: 'Phone format starting with 09'
245
+ en: 'Phone format starting with 09',
246
246
  },
247
247
  { key: 'addon', tw: '加購品', cn: '加购品', en: 'Addon' },
248
248
  { key: 'gift', tw: '贈品', cn: '赠品', en: 'Gift' },
@@ -255,7 +255,7 @@ class Language {
255
255
  key: 'distance_from_target_amount',
256
256
  tw: '距離目標金額還差',
257
257
  cn: '距离目标金额还差',
258
- en: 'Amount remaining to target'
258
+ en: 'Amount remaining to target',
259
259
  },
260
260
  { key: 'member_login', tw: '會員登入', cn: '会员登录', en: 'Login' },
261
261
  { key: 'member_register', tw: '會員註冊', cn: '会员注册', en: 'Register' },
@@ -295,13 +295,13 @@ class Language {
295
295
  key: 'please_enter_password_again',
296
296
  tw: '請再次輸入密碼',
297
297
  cn: '请再次输入密码',
298
- en: 'Please enter password again'
298
+ en: 'Please enter password again',
299
299
  },
300
300
  {
301
301
  key: 'email_phone_placeholder',
302
302
  tw: '請輸入信箱或電話',
303
303
  cn: '请输入邮箱或电话',
304
- en: 'Please enter email or phone number'
304
+ en: 'Please enter email or phone number',
305
305
  },
306
306
  { key: 'email_phone', tw: '信箱或電話', cn: '邮箱或电话', en: 'Email or Phone Number' },
307
307
  { key: 'email_placeholder', tw: '請輸入信箱', cn: '请输入邮箱', en: 'Please enter email' },
@@ -309,37 +309,37 @@ class Language {
309
309
  key: 'please_enter_verification_code',
310
310
  tw: '請輸入驗證碼',
311
311
  cn: '请输入验证码',
312
- en: 'Please enter verification code'
312
+ en: 'Please enter verification code',
313
313
  },
314
314
  {
315
315
  key: 'please_enter_email_verification_code',
316
316
  tw: '請輸入信箱驗證碼',
317
317
  cn: '请输入邮箱验证码',
318
- en: 'Please enter email verification code'
318
+ en: 'Please enter email verification code',
319
319
  },
320
320
  {
321
321
  key: 'please_enter_sms_verification_code',
322
322
  tw: '請輸入簡訊驗證碼',
323
323
  cn: '请输入短信验证码',
324
- en: 'Please enter sms verification code'
324
+ en: 'Please enter sms verification code',
325
325
  },
326
326
  {
327
327
  key: 'enter_website_password',
328
328
  tw: '請輸入網站密碼',
329
329
  cn: '请输入网站密码',
330
- en: 'Please enter website password'
330
+ en: 'Please enter website password',
331
331
  },
332
332
  {
333
333
  key: 'enter_your_bank_name',
334
334
  tw: '請輸入您的銀行名稱',
335
335
  cn: '请输入您的银行名称',
336
- en: 'Please enter your bank name'
336
+ en: 'Please enter your bank name',
337
337
  },
338
338
  {
339
339
  key: 'enter_your_bank_account_name',
340
340
  tw: '請輸入您的銀行戶名',
341
341
  cn: '请输入您的银行户名',
342
- en: 'Please enter your bank account name'
342
+ en: 'Please enter your bank account name',
343
343
  },
344
344
  { key: 'enter_five_digits', tw: '請輸入五位數字', cn: '请输入五位数字', en: 'Please enter five digits' },
345
345
  { key: 'new_password_placeholder', tw: '請輸入新密碼', cn: '请输入新密码', en: 'Please enter New Password' },
@@ -347,62 +347,62 @@ class Language {
347
347
  key: 'enter_phone_number',
348
348
  tw: '請輸入手機號碼',
349
349
  cn: '请输入手机号码',
350
- en: 'Please enter your phone number'
350
+ en: 'Please enter your phone number',
351
351
  },
352
352
  {
353
353
  key: 'enter_valid_email',
354
354
  tw: '請輸入有效電子信箱',
355
355
  cn: '请输入有效电子邮箱',
356
- en: 'Please enter a valid email address'
356
+ en: 'Please enter a valid email address',
357
357
  },
358
358
  {
359
359
  key: 'enter_valid_phone_number',
360
360
  tw: '請輸入有效手機號碼',
361
361
  cn: '请输入有效手机号码',
362
- en: 'Please enter a valid phone number'
362
+ en: 'Please enter a valid phone number',
363
363
  },
364
364
  { key: 'enter_verification_code', tw: '輸入驗證碼', cn: '输入验证码', en: 'Enter Verification Code' },
365
365
  {
366
366
  key: 'reset_password_verification_code',
367
367
  tw: '重設密碼驗證碼',
368
368
  cn: '重设密码验证码',
369
- en: 'Reset Password Verification Code'
369
+ en: 'Reset Password Verification Code',
370
370
  },
371
371
  {
372
372
  key: 'verification_code_sent_to',
373
373
  tw: '驗證碼已發送至',
374
374
  cn: '验证码已发送至',
375
- en: 'Verification Code Sent to'
375
+ en: 'Verification Code Sent to',
376
376
  },
377
377
  {
378
378
  key: 'password_min_length',
379
379
  tw: '密碼必須大於8位數',
380
380
  cn: '密码必须大于8位数',
381
- en: 'Password must be greater than 8 characters'
381
+ en: 'Password must be greater than 8 characters',
382
382
  },
383
383
  {
384
384
  key: 'please_confirm_password_again',
385
385
  tw: '請再次輸入確認密碼',
386
386
  cn: '请再次输入确认密码',
387
- en: 'Please enter confirm password again'
387
+ en: 'Please enter confirm password again',
388
388
  },
389
389
  {
390
390
  key: 'email_verification_code_incorrect',
391
391
  tw: '信箱驗證碼輸入錯誤',
392
392
  cn: '邮箱验证码输入错误',
393
- en: 'Email verification code entered incorrectly'
393
+ en: 'Email verification code entered incorrectly',
394
394
  },
395
395
  {
396
396
  key: 'sms_verification_code_incorrect',
397
397
  tw: '簡訊驗證碼輸入錯誤',
398
398
  cn: '短信验证码输入错误',
399
- en: 'SMS verification code entered incorrectly'
399
+ en: 'SMS verification code entered incorrectly',
400
400
  },
401
401
  {
402
402
  key: 'phone_number_already_exists',
403
403
  tw: '此電話號碼已存在',
404
404
  cn: '此电话号码已存在',
405
- en: 'This phone number already exists'
405
+ en: 'This phone number already exists',
406
406
  },
407
407
  { key: 'email_already_exists', tw: '此信箱已存在', cn: '此邮箱已存在', en: 'This email already exists' },
408
408
  { key: 'update_exception', tw: '更新異常', cn: '更新异常', en: 'Update Exception' },
@@ -420,14 +420,14 @@ class Language {
420
420
  key: 'can_meet_renewal_criteria',
421
421
  tw: '即可達成續會條件',
422
422
  cn: '即可达成续会条件',
423
- en: 'Can Meet Renewal Criteria'
423
+ en: 'Can Meet Renewal Criteria',
424
424
  },
425
425
  { key: 'single_purchase_reaches', tw: '單筆消費達', cn: '单笔消费达', en: 'Single Purchase Reaches' },
426
426
  {
427
427
  key: 'accumulated_spending_reaches',
428
428
  tw: '累積消費額達',
429
429
  cn: '累积消费额达',
430
- en: 'Accumulated Spending Reaches'
430
+ en: 'Accumulated Spending Reaches',
431
431
  },
432
432
  { key: 'upgrade_to', tw: '即可升級至', cn: '即可升级至', en: 'Upgrade To' },
433
433
  { key: 'days', tw: '天', cn: '天', en: 'Days' },
@@ -443,20 +443,20 @@ class Language {
443
443
  key: 'view_membership_level_rules',
444
444
  tw: '查看會員級數規則',
445
445
  cn: '查看会员级数规则',
446
- en: 'View Membership Level Rules'
446
+ en: 'View Membership Level Rules',
447
447
  },
448
448
  { key: 'membership_barcode', tw: '會員條碼', cn: '会员条码', en: 'Membership Barcode' },
449
449
  {
450
450
  key: 'present_membership_barcode',
451
451
  tw: '出示會員條碼',
452
452
  cn: '出示会员条码',
453
- en: 'Present Membership Barcode'
453
+ en: 'Present Membership Barcode',
454
454
  },
455
455
  {
456
456
  key: 'current_accumulated_spending_amount',
457
457
  tw: '目前累積消費金額',
458
458
  cn: '当前累积消费金额',
459
- en: 'Current Accumulated Spending Amount'
459
+ en: 'Current Accumulated Spending Amount',
460
460
  },
461
461
  { key: 'can_upgrade', tw: '即可升級', cn: '即可升级', en: 'Can Upgrade' },
462
462
  { key: 'edit_profile', tw: '編輯個人資料', cn: '编辑个人资料', en: 'Edit Profile' },
@@ -489,7 +489,7 @@ class Language {
489
489
  key: 'no_coupons_available',
490
490
  tw: '目前沒有任何優惠券',
491
491
  cn: '目前没有任何优惠券',
492
- en: 'Currently no coupons available'
492
+ en: 'Currently no coupons available',
493
493
  },
494
494
  { key: 'show_qr_code', tw: '顯示 QR code', cn: '显示 QR code', en: 'Show QR Code' },
495
495
  { key: 'coupon_qr_code', tw: '優惠券 QR code', cn: '优惠券 QR code', en: 'Coupon QR Code' },
@@ -499,14 +499,14 @@ class Language {
499
499
  key: 'no_items_added',
500
500
  tw: '目前沒有加入任何商品',
501
501
  cn: '目前没有添加任何商品',
502
- en: 'Currently there are no items added'
502
+ en: 'Currently there are no items added',
503
503
  },
504
504
  { key: 'error', tw: '發生錯誤', cn: '發生錯誤', en: 'Error' },
505
505
  {
506
506
  key: 'ai_assisted_shopping',
507
507
  tw: '透過 AI 可以協助你快速找到喜歡的商品',
508
508
  cn: '通过AI可以帮助您快速找到喜欢的商品',
509
- en: 'AI can assist you in quickly finding products you like.'
509
+ en: 'AI can assist you in quickly finding products you like.',
510
510
  },
511
511
  { key: 'product_list', tw: '產品列表', cn: '产品列表', en: 'Product List' },
512
512
  { key: 'save', tw: '儲存', cn: '保存', en: 'Save' },
@@ -514,7 +514,7 @@ class Language {
514
514
  key: 'incorrect_website_password',
515
515
  tw: '網站密碼輸入錯誤',
516
516
  cn: '网站密码输入错误',
517
- en: 'Incorrect website password entered'
517
+ en: 'Incorrect website password entered',
518
518
  },
519
519
  { key: 'no_access_permission', tw: '無訪問權限', cn: '无访问权限', en: 'No access permission' },
520
520
  { key: 'payment_time', tw: '付款時間', cn: '付款时间', en: 'Payment Time' },
@@ -524,7 +524,7 @@ class Language {
524
524
  key: 'last_five_digits_of_bank_account',
525
525
  tw: '銀行帳號後五碼',
526
526
  cn: '银行账号后五码',
527
- en: 'Last Five Digits of Bank Account'
527
+ en: 'Last Five Digits of Bank Account',
528
528
  },
529
529
  { key: 'bank_name', tw: '銀行名稱', cn: '银行名称', en: 'Bank Name' },
530
530
  { key: 'bank_code', tw: '銀行代碼', cn: '银行代码', en: 'Bank Code' },
@@ -538,13 +538,13 @@ class Language {
538
538
  key: 'bank_account_name_not_filled',
539
539
  tw: '銀行戶名未填寫',
540
540
  cn: '银行户名未填写',
541
- en: 'Bank account name not filled'
541
+ en: 'Bank account name not filled',
542
542
  },
543
543
  {
544
544
  key: 'last_five_digits_five_digits',
545
545
  tw: '銀行帳號後五碼需為五位數字',
546
546
  cn: '银行账号后五码需为五位数字',
547
- en: 'Last five digits of bank account must be five digits'
547
+ en: 'Last five digits of bank account must be five digits',
548
548
  },
549
549
  { key: 'file_upload', tw: '檔案上傳', cn: '文件上传', en: 'File Upload' },
550
550
  { key: 'payment_info', tw: '付款資訊', cn: '付款信息', en: 'Payment Information' },
@@ -559,7 +559,7 @@ class Language {
559
559
  key: 'upload_screenshot_for_verification',
560
560
  tw: '請上傳截圖,以便我們進行核款',
561
561
  cn: '请上传截图,以便我们进行核款',
562
- en: 'Please upload a screenshot for verification'
562
+ en: 'Please upload a screenshot for verification',
563
563
  },
564
564
  {
565
565
  key: 'upload_screenshot_or_transfer_proof',
@@ -580,7 +580,7 @@ class Language {
580
580
  key: 'reupload_checkout_proof',
581
581
  tw: '重新上傳結帳證明',
582
582
  cn: '重新上传结账证明',
583
- en: 'Reupload checkout proof'
583
+ en: 'Reupload checkout proof',
584
584
  },
585
585
  { key: 'upload_checkout_proof', tw: '上傳結帳證明', cn: '上传结账证明', en: 'Upload checkout proof' },
586
586
  { key: 'order_information', tw: '訂單資訊', cn: '订单信息', en: 'OrderEvent Information' },
@@ -621,19 +621,19 @@ class Language {
621
621
  key: 'member_exists_prompt',
622
622
  tw: '已經有會員了?前往',
623
623
  cn: '已经有会员了?前往',
624
- en: 'Already have an account? Go to'
624
+ en: 'Already have an account? Go to',
625
625
  },
626
626
  {
627
627
  key: 'member_not_exists_prompt',
628
628
  tw: '還沒有成為會員?前往',
629
629
  cn: '还没有成为会员?前往',
630
- en: 'Not a member yet? Go to'
630
+ en: 'Not a member yet? Go to',
631
631
  },
632
632
  {
633
633
  key: 'registration_terms_agreement',
634
634
  tw: '註冊完成時,即代表您同意我們的',
635
635
  cn: '注册完成时,即代表您同意我们的',
636
- en: 'By completing the registration, you agree to our'
636
+ en: 'By completing the registration, you agree to our',
637
637
  },
638
638
  { key: 'terms_of_service', tw: '服務條款', cn: '服务条款', en: 'Terms of Service' },
639
639
  { key: 'privacy_policy', tw: '隱私條款', cn: '隐私政策', en: 'Privacy Policy' },
@@ -641,7 +641,7 @@ class Language {
641
641
  key: 'login_terms_agreement',
642
642
  tw: '登入完成時,即代表您同意我們的',
643
643
  cn: '登录完成时,即代表您同意我们的',
644
- en: 'By completing the login, you agree to our'
644
+ en: 'By completing the login, you agree to our',
645
645
  },
646
646
  { key: 'and', tw: '和', cn: '和', en: 'and' },
647
647
  { key: 'or', tw: '或', cn: '或', en: 'or' },
@@ -653,7 +653,7 @@ class Language {
653
653
  key: 'password_mismatch',
654
654
  tw: '密碼與確認密碼不符',
655
655
  cn: '密码与确认密码不符',
656
- en: 'Passwords do not match'
656
+ en: 'Passwords do not match',
657
657
  },
658
658
  { key: 'registration_success', tw: '註冊成功', cn: '注册成功', en: 'Registration successful' },
659
659
  { key: 'registration_failure', tw: '註冊失敗', cn: '注册失败', en: 'Registration failed' },
@@ -661,19 +661,19 @@ class Language {
661
661
  key: 'existing_user',
662
662
  tw: '此為已註冊的使用者',
663
663
  cn: '此为已注册的用户',
664
- en: 'This user is already registered'
664
+ en: 'This user is already registered',
665
665
  },
666
666
  {
667
667
  key: 'incorrect_credentials',
668
668
  tw: '帳號或密碼錯誤',
669
669
  cn: '帐号或密码错误',
670
- en: 'Incorrect account or password'
670
+ en: 'Incorrect account or password',
671
671
  },
672
672
  {
673
673
  key: 'verification_code_sent',
674
674
  tw: '成功寄送驗證碼',
675
675
  cn: '成功发送验证码',
676
- en: 'Verification code sent successfully'
676
+ en: 'Verification code sent successfully',
677
677
  },
678
678
  { key: 'system_error', tw: '系統錯誤', cn: '系统错误', en: 'System error' },
679
679
  { key: 'password_change_success', tw: '更換密碼成功', cn: '更换密码成功', en: 'Password change successful' },
@@ -682,7 +682,7 @@ class Language {
682
682
  key: 'resend_code_timer',
683
683
  tw: 'xxx秒後可重新取得驗證碼',
684
684
  cn: 'xxx秒后可重新获取验证码',
685
- en: 'Resend the verification code in xxx seconds'
685
+ en: 'Resend the verification code in xxx seconds',
686
686
  },
687
687
  { key: 'form_name', tw: '姓名', cn: '名字', en: 'Name' },
688
688
  { key: 'form_email', tw: '信箱 / 帳號', cn: '邮箱 / 账号', en: 'Email' },
@@ -691,11 +691,11 @@ class Language {
691
691
  { key: 'privacy', tw: '隱私權政策', cn: '隐私权政策', en: 'Privacy policy' },
692
692
  { key: 'term', tw: '服務條款', cn: '服务条款', en: 'Terms of Service' },
693
693
  { key: 'refund', tw: '退換貨政策', cn: '退換貨政策', en: 'Refund policy' },
694
- { key: 'delivery', tw: '購買與配送須知', cn: '配送须知', en: 'Shipping instructions' }
694
+ { key: 'delivery', tw: '購買與配送須知', cn: '配送须知', en: 'Shipping instructions' },
695
695
  ];
696
696
  }
697
697
  static text(key, lan) {
698
- const find_ = this.languageDataList().find((dd) => {
698
+ const find_ = this.languageDataList().find(dd => {
699
699
  return dd.key === key;
700
700
  });
701
701
  if (!find_) {
@@ -716,4 +716,5 @@ class Language {
716
716
  }
717
717
  }
718
718
  exports.Language = Language;
719
+ Language.locationList = ['en-US', 'zh-CN', 'zh-TW'];
719
720
  //# sourceMappingURL=Language.js.map