@enyxs/wikex-components 0.11.27 → 0.11.29

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.
@@ -425,6 +425,98 @@
425
425
  "type": "link",
426
426
  "group": "Liên kết",
427
427
  "hidden": true
428
+ },
429
+ {
430
+ "key": "vi.header.loginLinkType",
431
+ "label": "Đăng nhập — loại liên kết",
432
+ "type": "select",
433
+ "group": "Tiếng Việt",
434
+ "options": [
435
+ {
436
+ "value": "internal",
437
+ "label": "Internal — trong website"
438
+ },
439
+ {
440
+ "value": "external",
441
+ "label": "External — website khác (tab mới)"
442
+ }
443
+ ]
444
+ },
445
+ {
446
+ "key": "vi.header.loginHref",
447
+ "label": "Đăng nhập — đường dẫn",
448
+ "type": "link",
449
+ "group": "Tiếng Việt",
450
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
451
+ },
452
+ {
453
+ "key": "vi.header.registerLinkType",
454
+ "label": "Mở Tài khoản — loại liên kết",
455
+ "type": "select",
456
+ "group": "Tiếng Việt",
457
+ "options": [
458
+ {
459
+ "value": "internal",
460
+ "label": "Internal — trong website"
461
+ },
462
+ {
463
+ "value": "external",
464
+ "label": "External — website khác (tab mới)"
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "key": "vi.header.registerHref",
470
+ "label": "Mở Tài khoản — đường dẫn",
471
+ "type": "link",
472
+ "group": "Tiếng Việt",
473
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
474
+ },
475
+ {
476
+ "key": "en.header.loginLinkType",
477
+ "label": "Đăng nhập — loại liên kết",
478
+ "type": "select",
479
+ "group": "English",
480
+ "options": [
481
+ {
482
+ "value": "internal",
483
+ "label": "Internal — trong website"
484
+ },
485
+ {
486
+ "value": "external",
487
+ "label": "External — website khác (tab mới)"
488
+ }
489
+ ]
490
+ },
491
+ {
492
+ "key": "en.header.loginHref",
493
+ "label": "Đăng nhập — đường dẫn",
494
+ "type": "link",
495
+ "group": "English",
496
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
497
+ },
498
+ {
499
+ "key": "en.header.registerLinkType",
500
+ "label": "Mở Tài khoản — loại liên kết",
501
+ "type": "select",
502
+ "group": "English",
503
+ "options": [
504
+ {
505
+ "value": "internal",
506
+ "label": "Internal — trong website"
507
+ },
508
+ {
509
+ "value": "external",
510
+ "label": "External — website khác (tab mới)"
511
+ }
512
+ ]
513
+ },
514
+ {
515
+ "key": "en.header.registerHref",
516
+ "label": "Mở Tài khoản — đường dẫn",
517
+ "type": "link",
518
+ "group": "English",
519
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
428
520
  }
429
521
  ],
430
522
  "defaults": {
@@ -480,6 +572,14 @@
480
572
  "headerBlogsUrl": "/thong-tin-wikex/",
481
573
  "headerNewsUrl": "/noti-mxv/",
482
574
  "headerComplaintsUrl": "/khieu-nai/",
575
+ "vi.header.loginLinkType": "internal",
576
+ "vi.header.loginHref": "",
577
+ "vi.header.registerLinkType": "internal",
578
+ "vi.header.registerHref": "/#register",
579
+ "en.header.loginLinkType": "internal",
580
+ "en.header.loginHref": "",
581
+ "en.header.registerLinkType": "internal",
582
+ "en.header.registerHref": "/#register",
483
583
  "vi.header.menuItems": "[{\"label\":\"Về chúng tôi\",\"href\":\"/about-us/\"},{\"label\":\"Sản phẩm\",\"href\":\"/products/\",\"children\":\"[{\\\"label\\\":\\\"Kim loại\\\",\\\"href\\\":\\\"/products/?category=metal\\\"},{\\\"label\\\":\\\"Nông sản\\\",\\\"href\\\":\\\"/products/?category=agriculture\\\"},{\\\"label\\\":\\\"Công nghiệp\\\",\\\"href\\\":\\\"/products/?category=industrial\\\"}]\"},{\"label\":\"Bảng phí & Ký quỹ\",\"href\":\"/bang-phi-ky-quy/\"},{\"label\":\"Thông tin từ Wikex\",\"href\":\"/thong-tin-wikex/\"},{\"label\":\"Thông báo từ MXV\",\"href\":\"/noti-mxv/\"},{\"label\":\"Giải quyết khiếu nại\",\"href\":\"/khieu-nai/\"}]",
484
584
  "en.header.menuItems": "[{\"label\":\"About us\",\"href\":\"/about-us/\"},{\"label\":\"Product\",\"href\":\"/products/\",\"children\":\"[{\\\"label\\\":\\\"Metal\\\",\\\"href\\\":\\\"/products/?category=metal\\\"},{\\\"label\\\":\\\"Agricultural products\\\",\\\"href\\\":\\\"/products/?category=agriculture\\\"},{\\\"label\\\":\\\"Industrial\\\",\\\"href\\\":\\\"/products/?category=industrial\\\"}]\"},{\"label\":\"Fees & Deposit Table\",\"href\":\"/bang-phi-ky-quy/\"},{\"label\":\"Information from Wikex\",\"href\":\"/thong-tin-wikex/\"},{\"label\":\"Announcement from MXV\",\"href\":\"/noti-mxv/\"},{\"label\":\"Complaint resolution\",\"href\":\"/khieu-nai/\"}]",
485
585
  "headerLogoImage": "/Logo/logo.png",
@@ -2994,6 +3094,144 @@
2994
3094
  "label": "Mockup điện thoại",
2995
3095
  "type": "image",
2996
3096
  "group": "Hình ảnh"
3097
+ },
3098
+ {
3099
+ "key": "vi.landing.download.appStoreLinkType",
3100
+ "label": "App Store — loại liên kết",
3101
+ "type": "select",
3102
+ "group": "Tiếng Việt",
3103
+ "options": [
3104
+ {
3105
+ "value": "internal",
3106
+ "label": "Internal — trong website"
3107
+ },
3108
+ {
3109
+ "value": "external",
3110
+ "label": "External — website khác (tab mới)"
3111
+ }
3112
+ ]
3113
+ },
3114
+ {
3115
+ "key": "vi.landing.download.appStoreHref",
3116
+ "label": "App Store — đường dẫn",
3117
+ "type": "link",
3118
+ "group": "Tiếng Việt",
3119
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
3120
+ },
3121
+ {
3122
+ "key": "vi.landing.download.googlePlayLinkType",
3123
+ "label": "Google Play — loại liên kết",
3124
+ "type": "select",
3125
+ "group": "Tiếng Việt",
3126
+ "options": [
3127
+ {
3128
+ "value": "internal",
3129
+ "label": "Internal — trong website"
3130
+ },
3131
+ {
3132
+ "value": "external",
3133
+ "label": "External — website khác (tab mới)"
3134
+ }
3135
+ ]
3136
+ },
3137
+ {
3138
+ "key": "vi.landing.download.googlePlayHref",
3139
+ "label": "Google Play — đường dẫn",
3140
+ "type": "link",
3141
+ "group": "Tiếng Việt",
3142
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
3143
+ },
3144
+ {
3145
+ "key": "vi.landing.download.webLinkType",
3146
+ "label": "Web Trading — loại liên kết",
3147
+ "type": "select",
3148
+ "group": "Tiếng Việt",
3149
+ "options": [
3150
+ {
3151
+ "value": "internal",
3152
+ "label": "Internal — trong website"
3153
+ },
3154
+ {
3155
+ "value": "external",
3156
+ "label": "External — website khác (tab mới)"
3157
+ }
3158
+ ]
3159
+ },
3160
+ {
3161
+ "key": "vi.landing.download.webHref",
3162
+ "label": "Web Trading — đường dẫn",
3163
+ "type": "link",
3164
+ "group": "Tiếng Việt",
3165
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
3166
+ },
3167
+ {
3168
+ "key": "en.landing.download.appStoreLinkType",
3169
+ "label": "App Store — loại liên kết",
3170
+ "type": "select",
3171
+ "group": "English",
3172
+ "options": [
3173
+ {
3174
+ "value": "internal",
3175
+ "label": "Internal — trong website"
3176
+ },
3177
+ {
3178
+ "value": "external",
3179
+ "label": "External — website khác (tab mới)"
3180
+ }
3181
+ ]
3182
+ },
3183
+ {
3184
+ "key": "en.landing.download.appStoreHref",
3185
+ "label": "App Store — đường dẫn",
3186
+ "type": "link",
3187
+ "group": "English",
3188
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
3189
+ },
3190
+ {
3191
+ "key": "en.landing.download.googlePlayLinkType",
3192
+ "label": "Google Play — loại liên kết",
3193
+ "type": "select",
3194
+ "group": "English",
3195
+ "options": [
3196
+ {
3197
+ "value": "internal",
3198
+ "label": "Internal — trong website"
3199
+ },
3200
+ {
3201
+ "value": "external",
3202
+ "label": "External — website khác (tab mới)"
3203
+ }
3204
+ ]
3205
+ },
3206
+ {
3207
+ "key": "en.landing.download.googlePlayHref",
3208
+ "label": "Google Play — đường dẫn",
3209
+ "type": "link",
3210
+ "group": "English",
3211
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
3212
+ },
3213
+ {
3214
+ "key": "en.landing.download.webLinkType",
3215
+ "label": "Web Trading — loại liên kết",
3216
+ "type": "select",
3217
+ "group": "English",
3218
+ "options": [
3219
+ {
3220
+ "value": "internal",
3221
+ "label": "Internal — trong website"
3222
+ },
3223
+ {
3224
+ "value": "external",
3225
+ "label": "External — website khác (tab mới)"
3226
+ }
3227
+ ]
3228
+ },
3229
+ {
3230
+ "key": "en.landing.download.webHref",
3231
+ "label": "Web Trading — đường dẫn",
3232
+ "type": "link",
3233
+ "group": "English",
3234
+ "helperText": "Internal: /duong-dan/ hoặc #muc. External: https://… Mở trong tab mới."
2997
3235
  }
2998
3236
  ],
2999
3237
  "defaults": {
@@ -3023,6 +3261,18 @@
3023
3261
  "en.landing.download.googlePlayPrefix": "Download on",
3024
3262
  "vi.landing.download.webPrefix": "Hoặc truy cập",
3025
3263
  "en.landing.download.webPrefix": "Or access",
3264
+ "vi.landing.download.appStoreLinkType": "internal",
3265
+ "vi.landing.download.appStoreHref": "",
3266
+ "vi.landing.download.googlePlayLinkType": "internal",
3267
+ "vi.landing.download.googlePlayHref": "",
3268
+ "vi.landing.download.webLinkType": "internal",
3269
+ "vi.landing.download.webHref": "",
3270
+ "en.landing.download.appStoreLinkType": "internal",
3271
+ "en.landing.download.appStoreHref": "",
3272
+ "en.landing.download.googlePlayLinkType": "internal",
3273
+ "en.landing.download.googlePlayHref": "",
3274
+ "en.landing.download.webLinkType": "internal",
3275
+ "en.landing.download.webHref": "",
3026
3276
  "downloadQrImage": "/landing-assets/download-qr.png",
3027
3277
  "downloadLaptopImage": "/landing-assets/download-laptop.webp",
3028
3278
  "downloadPhoneImage": "/landing-assets/download-phone.webp"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enyxs/wikex-components",
3
- "version": "0.11.27",
3
+ "version": "0.11.29",
4
4
  "description": "Reusable CMS blocks, including the original Wikex Commodity UI.",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -66,7 +66,8 @@
66
66
  "check": "tsc --noEmit",
67
67
  "test:fees": "node scripts/check-fees-table.cjs",
68
68
  "prepare": "npm run build",
69
- "test:products": "node scripts/check-product-ui.cjs"
69
+ "test:products": "node scripts/check-product-ui.cjs",
70
+ "test:header-links": "node scripts/check-header-button-links.cjs"
70
71
  },
71
72
  "peerDependencies": {
72
73
  "@emotion/react": "^11.0.0",